Файловый менеджер - Редактировать - /home/bean7936/perfect-community.com/442aa3/js.tar
Назад
customize-nav-menus.js 0000644 00000336727 15174671433 0011070 0 ustar 00 /** * @output wp-admin/js/customize-nav-menus.js */ /* global menus, _wpCustomizeNavMenusSettings, wpNavMenu, console */ ( function( api, wp, $ ) { 'use strict'; /** * Set up wpNavMenu for drag and drop. */ wpNavMenu.originalInit = wpNavMenu.init; wpNavMenu.options.menuItemDepthPerLevel = 20; wpNavMenu.options.sortableItems = '> .customize-control-nav_menu_item'; wpNavMenu.options.targetTolerance = 10; wpNavMenu.init = function() { this.jQueryExtensions(); }; /** * @namespace wp.customize.Menus */ api.Menus = api.Menus || {}; // Link settings. api.Menus.data = { itemTypes: [], l10n: {}, settingTransport: 'refresh', phpIntMax: 0, defaultSettingValues: { nav_menu: {}, nav_menu_item: {} }, locationSlugMappedToName: {} }; if ( 'undefined' !== typeof _wpCustomizeNavMenusSettings ) { $.extend( api.Menus.data, _wpCustomizeNavMenusSettings ); } /** * Newly-created Nav Menus and Nav Menu Items have negative integer IDs which * serve as placeholders until Save & Publish happens. * * @alias wp.customize.Menus.generatePlaceholderAutoIncrementId * * @return {number} */ api.Menus.generatePlaceholderAutoIncrementId = function() { return -Math.ceil( api.Menus.data.phpIntMax * Math.random() ); }; /** * wp.customize.Menus.AvailableItemModel * * A single available menu item model. See PHP's WP_Customize_Nav_Menu_Item_Setting class. * * @class wp.customize.Menus.AvailableItemModel * @augments Backbone.Model */ api.Menus.AvailableItemModel = Backbone.Model.extend( $.extend( { id: null // This is only used by Backbone. }, api.Menus.data.defaultSettingValues.nav_menu_item ) ); /** * wp.customize.Menus.AvailableItemCollection * * Collection for available menu item models. * * @class wp.customize.Menus.AvailableItemCollection * @augments Backbone.Collection */ api.Menus.AvailableItemCollection = Backbone.Collection.extend(/** @lends wp.customize.Menus.AvailableItemCollection.prototype */{ model: api.Menus.AvailableItemModel, sort_key: 'order', comparator: function( item ) { return -item.get( this.sort_key ); }, sortByField: function( fieldName ) { this.sort_key = fieldName; this.sort(); } }); api.Menus.availableMenuItems = new api.Menus.AvailableItemCollection( api.Menus.data.availableMenuItems ); /** * Insert a new `auto-draft` post. * * @since 4.7.0 * @alias wp.customize.Menus.insertAutoDraftPost * * @param {Object} params - Parameters for the draft post to create. * @param {string} params.post_type - Post type to add. * @param {string} params.post_title - Post title to use. * @return {jQuery.promise} Promise resolved with the added post. */ api.Menus.insertAutoDraftPost = function insertAutoDraftPost( params ) { var request, deferred = $.Deferred(); request = wp.ajax.post( 'customize-nav-menus-insert-auto-draft', { 'customize-menus-nonce': api.settings.nonce['customize-menus'], 'wp_customize': 'on', 'customize_changeset_uuid': api.settings.changeset.uuid, 'params': params } ); request.done( function( response ) { if ( response.post_id ) { api( 'nav_menus_created_posts' ).set( api( 'nav_menus_created_posts' ).get().concat( [ response.post_id ] ) ); if ( 'page' === params.post_type ) { // Activate static front page controls as this could be the first page created. if ( api.section.has( 'static_front_page' ) ) { api.section( 'static_front_page' ).activate(); } // Add new page to dropdown-pages controls. api.control.each( function( control ) { var select; if ( 'dropdown-pages' === control.params.type ) { select = control.container.find( 'select[name^="_customize-dropdown-pages-"]' ); select.append( new Option( params.post_title, response.post_id ) ); } } ); } deferred.resolve( response ); } } ); request.fail( function( response ) { var error = response || ''; if ( 'undefined' !== typeof response.message ) { error = response.message; } console.error( error ); deferred.rejectWith( error ); } ); return deferred.promise(); }; api.Menus.AvailableMenuItemsPanelView = wp.Backbone.View.extend(/** @lends wp.customize.Menus.AvailableMenuItemsPanelView.prototype */{ el: '#available-menu-items', events: { 'input #menu-items-search': 'debounceSearch', 'focus .menu-item-tpl': 'focus', 'click .menu-item-tpl': '_submit', 'click #custom-menu-item-submit': '_submitLink', 'keypress #custom-menu-item-name': '_submitLink', 'click .new-content-item .add-content': '_submitNew', 'keypress .create-item-input': '_submitNew', 'keydown': 'keyboardAccessible' }, // Cache current selected menu item. selected: null, // Cache menu control that opened the panel. currentMenuControl: null, debounceSearch: null, $search: null, $clearResults: null, searchTerm: '', rendered: false, pages: {}, sectionContent: '', loading: false, addingNew: false, /** * wp.customize.Menus.AvailableMenuItemsPanelView * * View class for the available menu items panel. * * @constructs wp.customize.Menus.AvailableMenuItemsPanelView * @augments wp.Backbone.View */ initialize: function() { var self = this; if ( ! api.panel.has( 'nav_menus' ) ) { return; } this.$search = $( '#menu-items-search' ); this.$clearResults = this.$el.find( '.clear-results' ); this.sectionContent = this.$el.find( '.available-menu-items-list' ); this.debounceSearch = _.debounce( self.search, 500 ); _.bindAll( this, 'close' ); /* * If the available menu items panel is open and the customize controls * are interacted with (other than an item being deleted), then close * the available menu items panel. Also close on back button click. */ $( '#customize-controls, .customize-section-back' ).on( 'click keydown', function( e ) { var isDeleteBtn = $( e.target ).is( '.item-delete, .item-delete *' ), isAddNewBtn = $( e.target ).is( '.add-new-menu-item, .add-new-menu-item *' ); if ( $( 'body' ).hasClass( 'adding-menu-items' ) && ! isDeleteBtn && ! isAddNewBtn ) { self.close(); } } ); // Clear the search results and trigger an `input` event to fire a new search. this.$clearResults.on( 'click', function() { self.$search.val( '' ).trigger( 'focus' ).trigger( 'input' ); } ); this.$el.on( 'input', '#custom-menu-item-name.invalid, #custom-menu-item-url.invalid', function() { $( this ).removeClass( 'invalid' ); var errorMessageId = $( this ).attr( 'aria-describedby' ); $( '#' + errorMessageId ).hide(); $( this ).removeAttr( 'aria-invalid' ).removeAttr( 'aria-describedby' ); }); // Load available items if it looks like we'll need them. api.panel( 'nav_menus' ).container.on( 'expanded', function() { if ( ! self.rendered ) { self.initList(); self.rendered = true; } }); // Load more items. this.sectionContent.on( 'scroll', function() { var totalHeight = self.$el.find( '.accordion-section.open .available-menu-items-list' ).prop( 'scrollHeight' ), visibleHeight = self.$el.find( '.accordion-section.open' ).height(); if ( ! self.loading && $( this ).scrollTop() > 3 / 4 * totalHeight - visibleHeight ) { var type = $( this ).data( 'type' ), object = $( this ).data( 'object' ); if ( 'search' === type ) { if ( self.searchTerm ) { self.doSearch( self.pages.search ); } } else { self.loadItems( [ { type: type, object: object } ] ); } } }); // Close the panel if the URL in the preview changes. api.previewer.bind( 'url', this.close ); self.delegateEvents(); }, // Search input change handler. search: function( event ) { var $searchSection = $( '#available-menu-items-search' ), $otherSections = $( '#available-menu-items .accordion-section' ).not( $searchSection ); if ( ! event ) { return; } if ( this.searchTerm === event.target.value ) { return; } if ( '' !== event.target.value && ! $searchSection.hasClass( 'open' ) ) { $otherSections.fadeOut( 100 ); $searchSection.find( '.accordion-section-content' ).slideDown( 'fast' ); $searchSection.addClass( 'open' ); this.$clearResults.addClass( 'is-visible' ); } else if ( '' === event.target.value ) { $searchSection.removeClass( 'open' ); $otherSections.show(); this.$clearResults.removeClass( 'is-visible' ); } this.searchTerm = event.target.value; this.pages.search = 1; this.doSearch( 1 ); }, // Get search results. doSearch: function( page ) { var self = this, params, $section = $( '#available-menu-items-search' ), $content = $section.find( '.accordion-section-content' ), itemTemplate = wp.template( 'available-menu-item' ); if ( self.currentRequest ) { self.currentRequest.abort(); } if ( page < 0 ) { return; } else if ( page > 1 ) { $section.addClass( 'loading-more' ); $content.attr( 'aria-busy', 'true' ); wp.a11y.speak( api.Menus.data.l10n.itemsLoadingMore ); } else if ( '' === self.searchTerm ) { $content.html( '' ); wp.a11y.speak( '' ); return; } $section.addClass( 'loading' ); self.loading = true; params = api.previewer.query( { excludeCustomizedSaved: true } ); _.extend( params, { 'customize-menus-nonce': api.settings.nonce['customize-menus'], 'wp_customize': 'on', 'search': self.searchTerm, 'page': page } ); self.currentRequest = wp.ajax.post( 'search-available-menu-items-customizer', params ); self.currentRequest.done(function( data ) { var items; if ( 1 === page ) { // Clear previous results as it's a new search. $content.empty(); } $section.removeClass( 'loading loading-more' ); $content.attr( 'aria-busy', 'false' ); $section.addClass( 'open' ); self.loading = false; items = new api.Menus.AvailableItemCollection( data.items ); self.collection.add( items.models ); items.each( function( menuItem ) { $content.append( itemTemplate( menuItem.attributes ) ); } ); if ( 20 > items.length ) { self.pages.search = -1; // Up to 20 posts and 20 terms in results, if <20, no more results for either. } else { self.pages.search = self.pages.search + 1; } if ( items && page > 1 ) { wp.a11y.speak( api.Menus.data.l10n.itemsFoundMore.replace( '%d', items.length ) ); } else if ( items && page === 1 ) { wp.a11y.speak( api.Menus.data.l10n.itemsFound.replace( '%d', items.length ) ); } }); self.currentRequest.fail(function( data ) { // data.message may be undefined, for example when typing slow and the request is aborted. if ( data.message ) { $content.empty().append( $( '<li class="nothing-found"></li>' ).text( data.message ) ); wp.a11y.speak( data.message ); } self.pages.search = -1; }); self.currentRequest.always(function() { $section.removeClass( 'loading loading-more' ); $content.attr( 'aria-busy', 'false' ); self.loading = false; self.currentRequest = null; }); }, // Render the individual items. initList: function() { var self = this; // Render the template for each item by type. _.each( api.Menus.data.itemTypes, function( itemType ) { self.pages[ itemType.type + ':' + itemType.object ] = 0; } ); self.loadItems( api.Menus.data.itemTypes ); }, /** * Load available nav menu items. * * @since 4.3.0 * @since 4.7.0 Changed function signature to take list of item types instead of single type/object. * @access private * * @param {Array.<Object>} itemTypes List of objects containing type and key. * @param {string} deprecated Formerly the object parameter. * @return {void} */ loadItems: function( itemTypes, deprecated ) { var self = this, _itemTypes, requestItemTypes = [], params, request, itemTemplate, availableMenuItemContainers = {}; itemTemplate = wp.template( 'available-menu-item' ); if ( _.isString( itemTypes ) && _.isString( deprecated ) ) { _itemTypes = [ { type: itemTypes, object: deprecated } ]; } else { _itemTypes = itemTypes; } _.each( _itemTypes, function( itemType ) { var container, name = itemType.type + ':' + itemType.object; if ( -1 === self.pages[ name ] ) { return; // Skip types for which there are no more results. } container = $( '#available-menu-items-' + itemType.type + '-' + itemType.object ); container.find( '.accordion-section-title' ).addClass( 'loading' ); availableMenuItemContainers[ name ] = container; requestItemTypes.push( { object: itemType.object, type: itemType.type, page: self.pages[ name ] } ); } ); if ( 0 === requestItemTypes.length ) { return; } self.loading = true; params = api.previewer.query( { excludeCustomizedSaved: true } ); _.extend( params, { 'customize-menus-nonce': api.settings.nonce['customize-menus'], 'wp_customize': 'on', 'item_types': requestItemTypes } ); request = wp.ajax.post( 'load-available-menu-items-customizer', params ); request.done(function( data ) { var typeInner; _.each( data.items, function( typeItems, name ) { if ( 0 === typeItems.length ) { if ( 0 === self.pages[ name ] ) { availableMenuItemContainers[ name ].find( '.accordion-section-title' ) .addClass( 'cannot-expand' ) .removeClass( 'loading' ) .find( '.accordion-section-title > button' ) .prop( 'tabIndex', -1 ); } self.pages[ name ] = -1; return; } else if ( ( 'post_type:page' === name ) && ( ! availableMenuItemContainers[ name ].hasClass( 'open' ) ) ) { availableMenuItemContainers[ name ].find( '.accordion-section-title > button' ).trigger( 'click' ); } typeItems = new api.Menus.AvailableItemCollection( typeItems ); // @todo Why is this collection created and then thrown away? self.collection.add( typeItems.models ); typeInner = availableMenuItemContainers[ name ].find( '.available-menu-items-list' ); typeItems.each( function( menuItem ) { typeInner.append( itemTemplate( menuItem.attributes ) ); } ); self.pages[ name ] += 1; }); }); request.fail(function( data ) { if ( typeof console !== 'undefined' && console.error ) { console.error( data ); } }); request.always(function() { _.each( availableMenuItemContainers, function( container ) { container.find( '.accordion-section-title' ).removeClass( 'loading' ); } ); self.loading = false; }); }, // Adjust the height of each section of items to fit the screen. itemSectionHeight: function() { var sections, lists, totalHeight, accordionHeight, diff; totalHeight = window.innerHeight; sections = this.$el.find( '.accordion-section:not( #available-menu-items-search ) .accordion-section-content' ); lists = this.$el.find( '.accordion-section:not( #available-menu-items-search ) .available-menu-items-list:not(":only-child")' ); accordionHeight = 46 * ( 1 + sections.length ) + 14; // Magic numbers. diff = totalHeight - accordionHeight; if ( 120 < diff && 290 > diff ) { sections.css( 'max-height', diff ); lists.css( 'max-height', ( diff - 60 ) ); } }, // Highlights a menu item. select: function( menuitemTpl ) { this.selected = $( menuitemTpl ); this.selected.siblings( '.menu-item-tpl' ).removeClass( 'selected' ); this.selected.addClass( 'selected' ); }, // Highlights a menu item on focus. focus: function( event ) { this.select( $( event.currentTarget ) ); }, // Submit handler for keypress and click on menu item. _submit: function( event ) { // Only proceed with keypress if it is Enter or Spacebar. if ( 'keypress' === event.type && ( 13 !== event.which && 32 !== event.which ) ) { return; } this.submit( $( event.currentTarget ) ); }, // Adds a selected menu item to the menu. submit: function( menuitemTpl ) { var menuitemId, menu_item; if ( ! menuitemTpl ) { menuitemTpl = this.selected; } if ( ! menuitemTpl || ! this.currentMenuControl ) { return; } this.select( menuitemTpl ); menuitemId = $( this.selected ).data( 'menu-item-id' ); menu_item = this.collection.findWhere( { id: menuitemId } ); if ( ! menu_item ) { return; } // Leave the title as empty to reuse the original title as a placeholder if set. var nav_menu_item = Object.assign( {}, menu_item.attributes ); if ( nav_menu_item.title === nav_menu_item.original_title ) { nav_menu_item.title = ''; } this.currentMenuControl.addItemToMenu( nav_menu_item ); $( menuitemTpl ).find( '.menu-item-handle' ).addClass( 'item-added' ); }, // Submit handler for keypress and click on custom menu item. _submitLink: function( event ) { // Only proceed with keypress if it is Enter. if ( 'keypress' === event.type && 13 !== event.which ) { return; } this.submitLink(); }, // Adds the custom menu item to the menu. submitLink: function() { var menuItem, itemName = $( '#custom-menu-item-name' ), itemUrl = $( '#custom-menu-item-url' ), urlErrorMessage = $( '#custom-url-error' ), nameErrorMessage = $( '#custom-name-error' ), url = itemUrl.val().trim(), urlRegex, errorText; if ( ! this.currentMenuControl ) { return; } /* * Allow URLs including: * - http://example.com/ * - //example.com * - /directory/ * - ?query-param * - #target * - mailto:foo@example.com * * Any further validation will be handled on the server when the setting is attempted to be saved, * so this pattern does not need to be complete. */ urlRegex = /^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/; if ( ! urlRegex.test( url ) || '' === itemName.val() ) { if ( ! urlRegex.test( url ) ) { itemUrl.addClass( 'invalid' ) .attr( 'aria-invalid', 'true' ) .attr( 'aria-describedby', 'custom-url-error' ); urlErrorMessage.show(); errorText = urlErrorMessage.text(); // Announce error message via screen reader wp.a11y.speak( errorText, 'assertive' ); } if ( '' === itemName.val() ) { itemName.addClass( 'invalid' ) .attr( 'aria-invalid', 'true' ) .attr( 'aria-describedby', 'custom-name-error' ); nameErrorMessage.show(); errorText = ( '' === errorText ) ? nameErrorMessage.text() : errorText + nameErrorMessage.text(); // Announce error message via screen reader wp.a11y.speak( errorText, 'assertive' ); } return; } urlErrorMessage.hide(); nameErrorMessage.hide(); itemName.removeClass( 'invalid' ) .removeAttr( 'aria-invalid', 'true' ) .removeAttr( 'aria-describedby', 'custom-name-error' ); itemUrl.removeClass( 'invalid' ) .removeAttr( 'aria-invalid', 'true' ) .removeAttr( 'aria-describedby', 'custom-name-error' ); menuItem = { 'title': itemName.val(), 'url': url, 'type': 'custom', 'type_label': api.Menus.data.l10n.custom_label, 'object': 'custom' }; this.currentMenuControl.addItemToMenu( menuItem ); // Reset the custom link form. itemUrl.val( '' ).attr( 'placeholder', 'https://' ); itemName.val( '' ); }, /** * Submit handler for keypress (enter) on field and click on button. * * @since 4.7.0 * @private * * @param {jQuery.Event} event Event. * @return {void} */ _submitNew: function( event ) { var container; // Only proceed with keypress if it is Enter. if ( 'keypress' === event.type && 13 !== event.which ) { return; } if ( this.addingNew ) { return; } container = $( event.target ).closest( '.accordion-section' ); this.submitNew( container ); }, /** * Creates a new object and adds an associated menu item to the menu. * * @since 4.7.0 * @private * * @param {jQuery} container * @return {void} */ submitNew: function( container ) { var panel = this, itemName = container.find( '.create-item-input' ), title = itemName.val(), dataContainer = container.find( '.available-menu-items-list' ), itemType = dataContainer.data( 'type' ), itemObject = dataContainer.data( 'object' ), itemTypeLabel = dataContainer.data( 'type_label' ), inputError = container.find('.create-item-error'), promise; if ( ! this.currentMenuControl ) { return; } // Only posts are supported currently. if ( 'post_type' !== itemType ) { return; } if ( '' === itemName.val().trim() ) { container.addClass( 'form-invalid' ); itemName.attr('aria-invalid', 'true'); itemName.attr('aria-describedby', inputError.attr('id')); inputError.slideDown( 'fast' ); wp.a11y.speak( inputError.text() ); return; } else { container.removeClass( 'form-invalid' ); itemName.attr('aria-invalid', 'false'); itemName.removeAttr('aria-describedby'); inputError.hide(); container.find( '.accordion-section-title' ).addClass( 'loading' ); } panel.addingNew = true; itemName.attr( 'disabled', 'disabled' ); promise = api.Menus.insertAutoDraftPost( { post_title: title, post_type: itemObject } ); promise.done( function( data ) { var availableItem, $content, itemElement; availableItem = new api.Menus.AvailableItemModel( { 'id': 'post-' + data.post_id, // Used for available menu item Backbone models. 'title': itemName.val(), 'type': itemType, 'type_label': itemTypeLabel, 'object': itemObject, 'object_id': data.post_id, 'url': data.url } ); // Add new item to menu. panel.currentMenuControl.addItemToMenu( availableItem.attributes ); // Add the new item to the list of available items. api.Menus.availableMenuItemsPanel.collection.add( availableItem ); $content = container.find( '.available-menu-items-list' ); itemElement = $( wp.template( 'available-menu-item' )( availableItem.attributes ) ); itemElement.find( '.menu-item-handle:first' ).addClass( 'item-added' ); $content.prepend( itemElement ); $content.scrollTop(); // Reset the create content form. itemName.val( '' ).removeAttr( 'disabled' ); panel.addingNew = false; container.find( '.accordion-section-title' ).removeClass( 'loading' ); } ); }, // Opens the panel. open: function( menuControl ) { var panel = this, close; this.currentMenuControl = menuControl; this.itemSectionHeight(); if ( api.section.has( 'publish_settings' ) ) { api.section( 'publish_settings' ).collapse(); } $( 'body' ).addClass( 'adding-menu-items' ); close = function() { panel.close(); $( this ).off( 'click', close ); }; $( '#customize-preview' ).on( 'click', close ); // Collapse all controls. _( this.currentMenuControl.getMenuItemControls() ).each( function( control ) { control.collapseForm(); } ); this.$el.find( '.selected' ).removeClass( 'selected' ); this.$search.trigger( 'focus' ); }, // Closes the panel. close: function( options ) { options = options || {}; if ( options.returnFocus && this.currentMenuControl ) { this.currentMenuControl.container.find( '.add-new-menu-item' ).focus(); } this.currentMenuControl = null; this.selected = null; $( 'body' ).removeClass( 'adding-menu-items' ); $( '#available-menu-items .menu-item-handle.item-added' ).removeClass( 'item-added' ); this.$search.val( '' ).trigger( 'input' ); }, // Add a few keyboard enhancements to the panel. keyboardAccessible: function( event ) { var isEnter = ( 13 === event.which ), isEsc = ( 27 === event.which ), isBackTab = ( 9 === event.which && event.shiftKey ), isSearchFocused = $( event.target ).is( this.$search ); // If enter pressed but nothing entered, don't do anything. if ( isEnter && ! this.$search.val() ) { return; } if ( isSearchFocused && isBackTab ) { this.currentMenuControl.container.find( '.add-new-menu-item' ).focus(); event.preventDefault(); // Avoid additional back-tab. } else if ( isEsc ) { this.close( { returnFocus: true } ); } } }); /** * wp.customize.Menus.MenusPanel * * Customizer panel for menus. This is used only for screen options management. * Note that 'menus' must match the WP_Customize_Menu_Panel::$type. * * @class wp.customize.Menus.MenusPanel * @augments wp.customize.Panel */ api.Menus.MenusPanel = api.Panel.extend(/** @lends wp.customize.Menus.MenusPanel.prototype */{ attachEvents: function() { api.Panel.prototype.attachEvents.call( this ); var panel = this, panelMeta = panel.container.find( '.panel-meta' ), help = panelMeta.find( '.customize-help-toggle' ), content = panelMeta.find( '.customize-panel-description' ), options = $( '#screen-options-wrap' ), button = panelMeta.find( '.customize-screen-options-toggle' ); button.on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); // Hide description. if ( content.not( ':hidden' ) ) { content.slideUp( 'fast' ); help.attr( 'aria-expanded', 'false' ); } if ( 'true' === button.attr( 'aria-expanded' ) ) { button.attr( 'aria-expanded', 'false' ); panelMeta.removeClass( 'open' ); panelMeta.removeClass( 'active-menu-screen-options' ); options.slideUp( 'fast' ); } else { button.attr( 'aria-expanded', 'true' ); panelMeta.addClass( 'open' ); panelMeta.addClass( 'active-menu-screen-options' ); options.slideDown( 'fast' ); } return false; } ); // Help toggle. help.on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); if ( 'true' === button.attr( 'aria-expanded' ) ) { button.attr( 'aria-expanded', 'false' ); help.attr( 'aria-expanded', 'true' ); panelMeta.addClass( 'open' ); panelMeta.removeClass( 'active-menu-screen-options' ); options.slideUp( 'fast' ); content.slideDown( 'fast' ); } } ); }, /** * Update field visibility when clicking on the field toggles. */ ready: function() { var panel = this; panel.container.find( '.hide-column-tog' ).on( 'click', function() { panel.saveManageColumnsState(); }); // Inject additional heading into the menu locations section's head container. api.section( 'menu_locations', function( section ) { section.headContainer.prepend( wp.template( 'nav-menu-locations-header' )( api.Menus.data ) ); } ); }, /** * Save hidden column states. * * @since 4.3.0 * @private * * @return {void} */ saveManageColumnsState: _.debounce( function() { var panel = this; if ( panel._updateHiddenColumnsRequest ) { panel._updateHiddenColumnsRequest.abort(); } panel._updateHiddenColumnsRequest = wp.ajax.post( 'hidden-columns', { hidden: panel.hidden(), screenoptionnonce: $( '#screenoptionnonce' ).val(), page: 'nav-menus' } ); panel._updateHiddenColumnsRequest.always( function() { panel._updateHiddenColumnsRequest = null; } ); }, 2000 ), /** * @deprecated Since 4.7.0 now that the nav_menu sections are responsible for toggling the classes on their own containers. */ checked: function() {}, /** * @deprecated Since 4.7.0 now that the nav_menu sections are responsible for toggling the classes on their own containers. */ unchecked: function() {}, /** * Get hidden fields. * * @since 4.3.0 * @private * * @return {Array} Fields (columns) that are hidden. */ hidden: function() { return $( '.hide-column-tog' ).not( ':checked' ).map( function() { var id = this.id; return id.substring( 0, id.length - 5 ); }).get().join( ',' ); } } ); /** * wp.customize.Menus.MenuSection * * Customizer section for menus. This is used only for lazy-loading child controls. * Note that 'nav_menu' must match the WP_Customize_Menu_Section::$type. * * @class wp.customize.Menus.MenuSection * @augments wp.customize.Section */ api.Menus.MenuSection = api.Section.extend(/** @lends wp.customize.Menus.MenuSection.prototype */{ /** * Initialize. * * @since 4.3.0 * * @param {string} id * @param {Object} options */ initialize: function( id, options ) { var section = this; api.Section.prototype.initialize.call( section, id, options ); section.deferred.initSortables = $.Deferred(); }, /** * Ready. */ ready: function() { var section = this, fieldActiveToggles, handleFieldActiveToggle; if ( 'undefined' === typeof section.params.menu_id ) { throw new Error( 'params.menu_id was not defined' ); } /* * Since newly created sections won't be registered in PHP, we need to prevent the * preview's sending of the activeSections to result in this control * being deactivated when the preview refreshes. So we can hook onto * the setting that has the same ID and its presence can dictate * whether the section is active. */ section.active.validate = function() { if ( ! api.has( section.id ) ) { return false; } return !! api( section.id ).get(); }; section.populateControls(); section.navMenuLocationSettings = {}; section.assignedLocations = new api.Value( [] ); api.each(function( setting, id ) { var matches = id.match( /^nav_menu_locations\[(.+?)]/ ); if ( matches ) { section.navMenuLocationSettings[ matches[1] ] = setting; setting.bind( function() { section.refreshAssignedLocations(); }); } }); section.assignedLocations.bind(function( to ) { section.updateAssignedLocationsInSectionTitle( to ); }); section.refreshAssignedLocations(); api.bind( 'pane-contents-reflowed', function() { // Skip menus that have been removed. if ( ! section.contentContainer.parent().length ) { return; } section.container.find( '.menu-item .menu-item-reorder-nav button' ).attr({ 'tabindex': '0', 'aria-hidden': 'false' }); section.container.find( '.menu-item.move-up-disabled .menus-move-up' ).attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); section.container.find( '.menu-item.move-down-disabled .menus-move-down' ).attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); section.container.find( '.menu-item.move-left-disabled .menus-move-left' ).attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); section.container.find( '.menu-item.move-right-disabled .menus-move-right' ).attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); } ); /** * Update the active field class for the content container for a given checkbox toggle. * * @this {jQuery} * @return {void} */ handleFieldActiveToggle = function() { var className = 'field-' + $( this ).val() + '-active'; section.contentContainer.toggleClass( className, $( this ).prop( 'checked' ) ); }; fieldActiveToggles = api.panel( 'nav_menus' ).contentContainer.find( '.metabox-prefs:first' ).find( '.hide-column-tog' ); fieldActiveToggles.each( handleFieldActiveToggle ); fieldActiveToggles.on( 'click', handleFieldActiveToggle ); }, populateControls: function() { var section = this, menuNameControlId, menuLocationsControlId, menuAutoAddControlId, menuDeleteControlId, menuControl, menuNameControl, menuLocationsControl, menuAutoAddControl, menuDeleteControl; // Add the control for managing the menu name. menuNameControlId = section.id + '[name]'; menuNameControl = api.control( menuNameControlId ); if ( ! menuNameControl ) { menuNameControl = new api.controlConstructor.nav_menu_name( menuNameControlId, { type: 'nav_menu_name', label: api.Menus.data.l10n.menuNameLabel, section: section.id, priority: 0, settings: { 'default': section.id } } ); api.control.add( menuNameControl ); menuNameControl.active.set( true ); } // Add the menu control. menuControl = api.control( section.id ); if ( ! menuControl ) { menuControl = new api.controlConstructor.nav_menu( section.id, { type: 'nav_menu', section: section.id, priority: 998, settings: { 'default': section.id }, menu_id: section.params.menu_id } ); api.control.add( menuControl ); menuControl.active.set( true ); } // Add the menu locations control. menuLocationsControlId = section.id + '[locations]'; menuLocationsControl = api.control( menuLocationsControlId ); if ( ! menuLocationsControl ) { menuLocationsControl = new api.controlConstructor.nav_menu_locations( menuLocationsControlId, { section: section.id, priority: 999, settings: { 'default': section.id }, menu_id: section.params.menu_id } ); api.control.add( menuLocationsControl.id, menuLocationsControl ); menuControl.active.set( true ); } // Add the control for managing the menu auto_add. menuAutoAddControlId = section.id + '[auto_add]'; menuAutoAddControl = api.control( menuAutoAddControlId ); if ( ! menuAutoAddControl ) { menuAutoAddControl = new api.controlConstructor.nav_menu_auto_add( menuAutoAddControlId, { type: 'nav_menu_auto_add', label: '', section: section.id, priority: 1000, settings: { 'default': section.id } } ); api.control.add( menuAutoAddControl ); menuAutoAddControl.active.set( true ); } // Add the control for deleting the menu. menuDeleteControlId = section.id + '[delete]'; menuDeleteControl = api.control( menuDeleteControlId ); if ( ! menuDeleteControl ) { menuDeleteControl = new api.Control( menuDeleteControlId, { section: section.id, priority: 1001, templateId: 'nav-menu-delete-button' } ); api.control.add( menuDeleteControl.id, menuDeleteControl ); menuDeleteControl.active.set( true ); menuDeleteControl.deferred.embedded.done( function () { menuDeleteControl.container.find( 'button' ).on( 'click', function() { var menuId = section.params.menu_id; var menuControl = api.Menus.getMenuControl( menuId ); menuControl.setting.set( false ); }); } ); } }, /** * */ refreshAssignedLocations: function() { var section = this, menuTermId = section.params.menu_id, currentAssignedLocations = []; _.each( section.navMenuLocationSettings, function( setting, themeLocation ) { if ( setting() === menuTermId ) { currentAssignedLocations.push( themeLocation ); } }); section.assignedLocations.set( currentAssignedLocations ); }, /** * @param {Array} themeLocationSlugs Theme location slugs. */ updateAssignedLocationsInSectionTitle: function( themeLocationSlugs ) { var section = this, $title; $title = section.container.find( '.accordion-section-title button:first' ); $title.find( '.menu-in-location' ).remove(); _.each( themeLocationSlugs, function( themeLocationSlug ) { var $label, locationName; $label = $( '<span class="menu-in-location"></span>' ); locationName = api.Menus.data.locationSlugMappedToName[ themeLocationSlug ]; $label.text( api.Menus.data.l10n.menuLocation.replace( '%s', locationName ) ); $title.append( $label ); }); section.container.toggleClass( 'assigned-to-menu-location', 0 !== themeLocationSlugs.length ); }, onChangeExpanded: function( expanded, args ) { var section = this, completeCallback; if ( expanded ) { wpNavMenu.menuList = section.contentContainer; wpNavMenu.targetList = wpNavMenu.menuList; // Add attributes needed by wpNavMenu. $( '#menu-to-edit' ).removeAttr( 'id' ); wpNavMenu.menuList.attr( 'id', 'menu-to-edit' ).addClass( 'menu' ); api.Menus.MenuItemControl.prototype.initAccessibility(); _.each( api.section( section.id ).controls(), function( control ) { if ( 'nav_menu_item' === control.params.type ) { control.actuallyEmbed(); } } ); // Make sure Sortables is initialized after the section has been expanded to prevent `offset` issues. if ( args.completeCallback ) { completeCallback = args.completeCallback; } args.completeCallback = function() { if ( 'resolved' !== section.deferred.initSortables.state() ) { wpNavMenu.initSortables(); // Depends on menu-to-edit ID being set above. section.deferred.initSortables.resolve( wpNavMenu.menuList ); // Now MenuControl can extend the sortable. // @todo Note that wp.customize.reflowPaneContents() is debounced, // so this immediate change will show a slight flicker while priorities get updated. api.control( 'nav_menu[' + String( section.params.menu_id ) + ']' ).reflowMenuItems(); } if ( _.isFunction( completeCallback ) ) { completeCallback(); } }; } api.Section.prototype.onChangeExpanded.call( section, expanded, args ); }, /** * Highlight how a user may create new menu items. * * This method reminds the user to create new menu items and how. * It's exposed this way because this class knows best which UI needs * highlighted but those expanding this section know more about why and * when the affordance should be highlighted. * * @since 4.9.0 * * @return {void} */ highlightNewItemButton: function() { api.utils.highlightButton( this.contentContainer.find( '.add-new-menu-item' ), { delay: 2000 } ); } }); /** * Create a nav menu setting and section. * * @since 4.9.0 * * @param {string} [name=''] Nav menu name. * @return {wp.customize.Menus.MenuSection} Added nav menu. */ api.Menus.createNavMenu = function createNavMenu( name ) { var customizeId, placeholderId, setting; placeholderId = api.Menus.generatePlaceholderAutoIncrementId(); customizeId = 'nav_menu[' + String( placeholderId ) + ']'; // Register the menu control setting. setting = api.create( customizeId, customizeId, {}, { type: 'nav_menu', transport: api.Menus.data.settingTransport, previewer: api.previewer } ); setting.set( $.extend( {}, api.Menus.data.defaultSettingValues.nav_menu, { name: name || '' } ) ); /* * Add the menu section (and its controls). * Note that this will automatically create the required controls * inside via the Section's ready method. */ return api.section.add( new api.Menus.MenuSection( customizeId, { panel: 'nav_menus', title: displayNavMenuName( name ), customizeAction: api.Menus.data.l10n.customizingMenus, priority: 10, menu_id: placeholderId } ) ); }; /** * wp.customize.Menus.NewMenuSection * * Customizer section for new menus. * * @class wp.customize.Menus.NewMenuSection * @augments wp.customize.Section */ api.Menus.NewMenuSection = api.Section.extend(/** @lends wp.customize.Menus.NewMenuSection.prototype */{ /** * Add behaviors for the accordion section. * * @since 4.3.0 */ attachEvents: function() { var section = this, container = section.container, contentContainer = section.contentContainer, navMenuSettingPattern = /^nav_menu\[/; section.headContainer.find( '.accordion-section-title' ).replaceWith( wp.template( 'nav-menu-create-menu-section-title' ) ); /* * We have to manually handle section expanded because we do not * apply the `accordion-section-title` class to this button-driven section. */ container.on( 'click', '.customize-add-menu-button', function() { section.expand(); }); contentContainer.on( 'keydown', '.menu-name-field', function( event ) { if ( 13 === event.which ) { // Enter. section.submit(); } } ); contentContainer.on( 'click', '#customize-new-menu-submit', function( event ) { section.submit(); event.stopPropagation(); event.preventDefault(); } ); /** * Get number of non-deleted nav menus. * * @since 4.9.0 * @return {number} Count. */ function getNavMenuCount() { var count = 0; api.each( function( setting ) { if ( navMenuSettingPattern.test( setting.id ) && false !== setting.get() ) { count += 1; } } ); return count; } /** * Update visibility of notice to prompt users to create menus. * * @since 4.9.0 * @return {void} */ function updateNoticeVisibility() { container.find( '.add-new-menu-notice' ).prop( 'hidden', getNavMenuCount() > 0 ); } /** * Handle setting addition. * * @since 4.9.0 * @param {wp.customize.Setting} setting - Added setting. * @return {void} */ function addChangeEventListener( setting ) { if ( navMenuSettingPattern.test( setting.id ) ) { setting.bind( updateNoticeVisibility ); updateNoticeVisibility(); } } /** * Handle setting removal. * * @since 4.9.0 * @param {wp.customize.Setting} setting - Removed setting. * @return {void} */ function removeChangeEventListener( setting ) { if ( navMenuSettingPattern.test( setting.id ) ) { setting.unbind( updateNoticeVisibility ); updateNoticeVisibility(); } } api.each( addChangeEventListener ); api.bind( 'add', addChangeEventListener ); api.bind( 'removed', removeChangeEventListener ); updateNoticeVisibility(); api.Section.prototype.attachEvents.apply( section, arguments ); }, /** * Set up the control. * * @since 4.9.0 */ ready: function() { this.populateControls(); }, /** * Create the controls for this section. * * @since 4.9.0 */ populateControls: function() { var section = this, menuNameControlId, menuLocationsControlId, newMenuSubmitControlId, menuNameControl, menuLocationsControl, newMenuSubmitControl; menuNameControlId = section.id + '[name]'; menuNameControl = api.control( menuNameControlId ); if ( ! menuNameControl ) { menuNameControl = new api.controlConstructor.nav_menu_name( menuNameControlId, { label: api.Menus.data.l10n.menuNameLabel, description: api.Menus.data.l10n.newMenuNameDescription, section: section.id, priority: 0 } ); api.control.add( menuNameControl.id, menuNameControl ); menuNameControl.active.set( true ); } menuLocationsControlId = section.id + '[locations]'; menuLocationsControl = api.control( menuLocationsControlId ); if ( ! menuLocationsControl ) { menuLocationsControl = new api.controlConstructor.nav_menu_locations( menuLocationsControlId, { section: section.id, priority: 1, menu_id: '', isCreating: true } ); api.control.add( menuLocationsControlId, menuLocationsControl ); menuLocationsControl.active.set( true ); } newMenuSubmitControlId = section.id + '[submit]'; newMenuSubmitControl = api.control( newMenuSubmitControlId ); if ( !newMenuSubmitControl ) { newMenuSubmitControl = new api.Control( newMenuSubmitControlId, { section: section.id, priority: 1, templateId: 'nav-menu-submit-new-button' } ); api.control.add( newMenuSubmitControlId, newMenuSubmitControl ); newMenuSubmitControl.active.set( true ); } }, /** * Create the new menu with name and location supplied by the user. * * @since 4.9.0 */ submit: function() { var section = this, contentContainer = section.contentContainer, nameInput = contentContainer.find( '.menu-name-field' ).first(), name = nameInput.val(), menuSection; if ( ! name ) { nameInput.addClass( 'invalid' ); nameInput.focus(); return; } menuSection = api.Menus.createNavMenu( name ); // Clear name field. nameInput.val( '' ); nameInput.removeClass( 'invalid' ); contentContainer.find( '.assigned-menu-location input[type=checkbox]' ).each( function() { var checkbox = $( this ), navMenuLocationSetting; if ( checkbox.prop( 'checked' ) ) { navMenuLocationSetting = api( 'nav_menu_locations[' + checkbox.data( 'location-id' ) + ']' ); navMenuLocationSetting.set( menuSection.params.menu_id ); // Reset state for next new menu. checkbox.prop( 'checked', false ); } } ); wp.a11y.speak( api.Menus.data.l10n.menuAdded ); // Focus on the new menu section. menuSection.focus( { completeCallback: function() { menuSection.highlightNewItemButton(); } } ); }, /** * Select a default location. * * This method selects a single location by default so we can support * creating a menu for a specific menu location. * * @since 4.9.0 * * @param {string|null} locationId - The ID of the location to select. `null` clears all selections. * @return {void} */ selectDefaultLocation: function( locationId ) { var locationControl = api.control( this.id + '[locations]' ), locationSelections = {}; if ( locationId !== null ) { locationSelections[ locationId ] = true; } locationControl.setSelections( locationSelections ); } }); /** * wp.customize.Menus.MenuLocationControl * * Customizer control for menu locations (rendered as a <select>). * Note that 'nav_menu_location' must match the WP_Customize_Nav_Menu_Location_Control::$type. * * @class wp.customize.Menus.MenuLocationControl * @augments wp.customize.Control */ api.Menus.MenuLocationControl = api.Control.extend(/** @lends wp.customize.Menus.MenuLocationControl.prototype */{ initialize: function( id, options ) { var control = this, matches = id.match( /^nav_menu_locations\[(.+?)]/ ); control.themeLocation = matches[1]; api.Control.prototype.initialize.call( control, id, options ); }, ready: function() { var control = this, navMenuIdRegex = /^nav_menu\[(-?\d+)]/; // @todo It would be better if this was added directly on the setting itself, as opposed to the control. control.setting.validate = function( value ) { if ( '' === value ) { return 0; } else { return parseInt( value, 10 ); } }; // Create and Edit menu buttons. control.container.find( '.create-menu' ).on( 'click', function() { var addMenuSection = api.section( 'add_menu' ); addMenuSection.selectDefaultLocation( this.dataset.locationId ); addMenuSection.focus(); } ); control.container.find( '.edit-menu' ).on( 'click', function() { var menuId = control.setting(); api.section( 'nav_menu[' + menuId + ']' ).focus(); }); control.setting.bind( 'change', function() { var menuIsSelected = 0 !== control.setting(); control.container.find( '.create-menu' ).toggleClass( 'hidden', menuIsSelected ); control.container.find( '.edit-menu' ).toggleClass( 'hidden', ! menuIsSelected ); }); // Add/remove menus from the available options when they are added and removed. api.bind( 'add', function( setting ) { var option, menuId, matches = setting.id.match( navMenuIdRegex ); if ( ! matches || false === setting() ) { return; } menuId = matches[1]; option = new Option( displayNavMenuName( setting().name ), menuId ); control.container.find( 'select' ).append( option ); }); api.bind( 'remove', function( setting ) { var menuId, matches = setting.id.match( navMenuIdRegex ); if ( ! matches ) { return; } menuId = parseInt( matches[1], 10 ); if ( control.setting() === menuId ) { control.setting.set( '' ); } control.container.find( 'option[value=' + menuId + ']' ).remove(); }); api.bind( 'change', function( setting ) { var menuId, matches = setting.id.match( navMenuIdRegex ); if ( ! matches ) { return; } menuId = parseInt( matches[1], 10 ); if ( false === setting() ) { if ( control.setting() === menuId ) { control.setting.set( '' ); } control.container.find( 'option[value=' + menuId + ']' ).remove(); } else { control.container.find( 'option[value=' + menuId + ']' ).text( displayNavMenuName( setting().name ) ); } }); } }); api.Menus.MenuItemControl = api.Control.extend(/** @lends wp.customize.Menus.MenuItemControl.prototype */{ /** * wp.customize.Menus.MenuItemControl * * Customizer control for menu items. * Note that 'menu_item' must match the WP_Customize_Menu_Item_Control::$type. * * @constructs wp.customize.Menus.MenuItemControl * @augments wp.customize.Control * * @inheritDoc */ initialize: function( id, options ) { var control = this; control.expanded = new api.Value( false ); control.expandedArgumentsQueue = []; control.expanded.bind( function( expanded ) { var args = control.expandedArgumentsQueue.shift(); args = $.extend( {}, control.defaultExpandedArguments, args ); control.onChangeExpanded( expanded, args ); }); api.Control.prototype.initialize.call( control, id, options ); control.active.validate = function() { var value, section = api.section( control.section() ); if ( section ) { value = section.active(); } else { value = false; } return value; }; }, /** * Set up the initial state of the screen reader accessibility information for menu items. * * @since 6.6.0 */ initAccessibility: function() { var control = this, menu = $( '#menu-to-edit' ); // Refresh the accessibility when the user comes close to the item in any way. menu.on( 'mouseenter.refreshAccessibility focus.refreshAccessibility touchstart.refreshAccessibility', '.menu-item', function(){ control.refreshAdvancedAccessibilityOfItem( $( this ).find( 'button.item-edit' ) ); } ); // We have to update on click as well because we might hover first, change the item, and then click. menu.on( 'click', 'button.item-edit', function() { control.refreshAdvancedAccessibilityOfItem( $( this ) ); } ); }, /** * refreshAdvancedAccessibilityOfItem( [itemToRefresh] ) * * Refreshes advanced accessibility buttons for one menu item. * Shows or hides buttons based on the location of the menu item. * * @param {Object} itemToRefresh The menu item that might need its advanced accessibility buttons refreshed * * @since 6.6.0 */ refreshAdvancedAccessibilityOfItem: function( itemToRefresh ) { // Only refresh accessibility when necessary. if ( true !== $( itemToRefresh ).data( 'needs_accessibility_refresh' ) ) { return; } var primaryItems, itemPosition, title, parentItem, parentItemId, parentItemName, subItems, totalSubItems, $this = $( itemToRefresh ), menuItem = $this.closest( 'li.menu-item' ).first(), depth = menuItem.menuItemDepth(), isPrimaryMenuItem = ( 0 === depth ), itemName = $this.closest( '.menu-item-handle' ).find( '.menu-item-title' ).text(), menuItemType = $this.closest( '.menu-item-handle' ).find( '.item-type' ).text(), totalMenuItems = $( '#menu-to-edit li' ).length; if ( isPrimaryMenuItem ) { primaryItems = $( '.menu-item-depth-0' ), itemPosition = primaryItems.index( menuItem ) + 1, totalMenuItems = primaryItems.length, // String together help text for primary menu items. title = menus.menuFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalMenuItems ); } else { parentItem = menuItem.prevAll( '.menu-item-depth-' + parseInt( depth - 1, 10 ) ).first(), parentItemId = parentItem.find( '.menu-item-data-db-id' ).val(), parentItemName = parentItem.find( '.menu-item-title' ).text(), subItems = $( '.menu-item .menu-item-data-parent-id[value="' + parentItemId + '"]' ), totalSubItems = subItems.length, itemPosition = $( subItems.parents( '.menu-item' ).get().reverse() ).index( menuItem ) + 1; // String together help text for sub menu items. if ( depth < 2 ) { title = menus.subMenuFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalSubItems ).replace( '%5$s', parentItemName ); } else { title = menus.subMenuMoreDepthFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalSubItems ).replace( '%5$s', parentItemName ).replace( '%6$d', depth ); } } $this.find( '.screen-reader-text' ).text( title ); // Mark this item's accessibility as refreshed. $this.data( 'needs_accessibility_refresh', false ); }, /** * Override the embed() method to do nothing, * so that the control isn't embedded on load, * unless the containing section is already expanded. * * @since 4.3.0 */ embed: function() { var control = this, sectionId = control.section(), section; if ( ! sectionId ) { return; } section = api.section( sectionId ); if ( ( section && section.expanded() ) || api.settings.autofocus.control === control.id ) { control.actuallyEmbed(); } }, /** * This function is called in Section.onChangeExpanded() so the control * will only get embedded when the Section is first expanded. * * @since 4.3.0 */ actuallyEmbed: function() { var control = this; if ( 'resolved' === control.deferred.embedded.state() ) { return; } control.renderContent(); control.deferred.embedded.resolve(); // This triggers control.ready(). // Mark all menu items as unprocessed. $( 'button.item-edit' ).data( 'needs_accessibility_refresh', true ); }, /** * Set up the control. */ ready: function() { if ( 'undefined' === typeof this.params.menu_item_id ) { throw new Error( 'params.menu_item_id was not defined' ); } this._setupControlToggle(); this._setupReorderUI(); this._setupUpdateUI(); this._setupRemoveUI(); this._setupLinksUI(); this._setupTitleUI(); }, /** * Show/hide the settings when clicking on the menu item handle. */ _setupControlToggle: function() { var control = this; this.container.find( '.menu-item-handle' ).on( 'click', function( e ) { e.preventDefault(); e.stopPropagation(); var menuControl = control.getMenuControl(), isDeleteBtn = $( e.target ).is( '.item-delete, .item-delete *' ), isAddNewBtn = $( e.target ).is( '.add-new-menu-item, .add-new-menu-item *' ); if ( $( 'body' ).hasClass( 'adding-menu-items' ) && ! isDeleteBtn && ! isAddNewBtn ) { api.Menus.availableMenuItemsPanel.close(); } if ( menuControl.isReordering || menuControl.isSorting ) { return; } control.toggleForm(); } ); }, /** * Set up the menu-item-reorder-nav */ _setupReorderUI: function() { var control = this, template, $reorderNav; template = wp.template( 'menu-item-reorder-nav' ); // Add the menu item reordering elements to the menu item control. control.container.find( '.item-controls' ).after( template ); // Handle clicks for up/down/left-right on the reorder nav. $reorderNav = control.container.find( '.menu-item-reorder-nav' ); $reorderNav.find( '.menus-move-up, .menus-move-down, .menus-move-left, .menus-move-right' ).on( 'click', function() { var moveBtn = $( this ); control.params.depth = control.getDepth(); moveBtn.focus(); var isMoveUp = moveBtn.is( '.menus-move-up' ), isMoveDown = moveBtn.is( '.menus-move-down' ), isMoveLeft = moveBtn.is( '.menus-move-left' ), isMoveRight = moveBtn.is( '.menus-move-right' ); if ( isMoveUp ) { control.moveUp(); } else if ( isMoveDown ) { control.moveDown(); } else if ( isMoveLeft ) { control.moveLeft(); } else if ( isMoveRight ) { control.moveRight(); control.params.depth += 1; } moveBtn.focus(); // Re-focus after the container was moved. // Mark all menu items as unprocessed. $( 'button.item-edit' ).data( 'needs_accessibility_refresh', true ); } ); }, /** * Set up event handlers for menu item updating. */ _setupUpdateUI: function() { var control = this, settingValue = control.setting(), updateNotifications; control.elements = {}; control.elements.url = new api.Element( control.container.find( '.edit-menu-item-url' ) ); control.elements.title = new api.Element( control.container.find( '.edit-menu-item-title' ) ); control.elements.attr_title = new api.Element( control.container.find( '.edit-menu-item-attr-title' ) ); control.elements.target = new api.Element( control.container.find( '.edit-menu-item-target' ) ); control.elements.classes = new api.Element( control.container.find( '.edit-menu-item-classes' ) ); control.elements.xfn = new api.Element( control.container.find( '.edit-menu-item-xfn' ) ); control.elements.description = new api.Element( control.container.find( '.edit-menu-item-description' ) ); // @todo Allow other elements, added by plugins, to be automatically picked up here; // allow additional values to be added to setting array. _.each( control.elements, function( element, property ) { element.bind(function( value ) { if ( element.element.is( 'input[type=checkbox]' ) ) { value = ( value ) ? element.element.val() : ''; } var settingValue = control.setting(); if ( settingValue && settingValue[ property ] !== value ) { settingValue = _.clone( settingValue ); settingValue[ property ] = value; control.setting.set( settingValue ); } }); if ( settingValue ) { if ( ( property === 'classes' || property === 'xfn' ) && _.isArray( settingValue[ property ] ) ) { element.set( settingValue[ property ].join( ' ' ) ); } else { element.set( settingValue[ property ] ); } } }); control.setting.bind(function( to, from ) { var itemId = control.params.menu_item_id, followingSiblingItemControls = [], childrenItemControls = [], menuControl; if ( false === to ) { menuControl = api.control( 'nav_menu[' + String( from.nav_menu_term_id ) + ']' ); control.container.remove(); _.each( menuControl.getMenuItemControls(), function( otherControl ) { if ( from.menu_item_parent === otherControl.setting().menu_item_parent && otherControl.setting().position > from.position ) { followingSiblingItemControls.push( otherControl ); } else if ( otherControl.setting().menu_item_parent === itemId ) { childrenItemControls.push( otherControl ); } }); // Shift all following siblings by the number of children this item has. _.each( followingSiblingItemControls, function( followingSiblingItemControl ) { var value = _.clone( followingSiblingItemControl.setting() ); value.position += childrenItemControls.length; followingSiblingItemControl.setting.set( value ); }); // Now move the children up to be the new subsequent siblings. _.each( childrenItemControls, function( childrenItemControl, i ) { var value = _.clone( childrenItemControl.setting() ); value.position = from.position + i; value.menu_item_parent = from.menu_item_parent; childrenItemControl.setting.set( value ); }); menuControl.debouncedReflowMenuItems(); } else { // Update the elements' values to match the new setting properties. _.each( to, function( value, key ) { if ( control.elements[ key] ) { control.elements[ key ].set( to[ key ] ); } } ); control.container.find( '.menu-item-data-parent-id' ).val( to.menu_item_parent ); // Handle UI updates when the position or depth (parent) change. if ( to.position !== from.position || to.menu_item_parent !== from.menu_item_parent ) { control.getMenuControl().debouncedReflowMenuItems(); } } }); // Style the URL field as invalid when there is an invalid_url notification. updateNotifications = function() { control.elements.url.element.toggleClass( 'invalid', control.setting.notifications.has( 'invalid_url' ) ); }; control.setting.notifications.bind( 'add', updateNotifications ); control.setting.notifications.bind( 'removed', updateNotifications ); }, /** * Set up event handlers for menu item deletion. */ _setupRemoveUI: function() { var control = this, $removeBtn; // Configure delete button. $removeBtn = control.container.find( '.item-delete' ); $removeBtn.on( 'click', function() { // Find an adjacent element to add focus to when this menu item goes away. var addingItems = true, $adjacentFocusTarget, $next, $prev, instanceCounter = 0, // Instance count of the menu item deleted. deleteItemOriginalItemId = control.params.original_item_id, addedItems = control.getMenuControl().$sectionContent.find( '.menu-item' ), availableMenuItem; if ( ! $( 'body' ).hasClass( 'adding-menu-items' ) ) { addingItems = false; } $next = control.container.nextAll( '.customize-control-nav_menu_item:visible' ).first(); $prev = control.container.prevAll( '.customize-control-nav_menu_item:visible' ).first(); if ( $next.length ) { $adjacentFocusTarget = $next.find( false === addingItems ? '.item-edit' : '.item-delete' ).first(); } else if ( $prev.length ) { $adjacentFocusTarget = $prev.find( false === addingItems ? '.item-edit' : '.item-delete' ).first(); } else { $adjacentFocusTarget = control.container.nextAll( '.customize-control-nav_menu' ).find( '.add-new-menu-item' ).first(); } /* * If the menu item deleted is the only of its instance left, * remove the check icon of this menu item in the right panel. */ _.each( addedItems, function( addedItem ) { var menuItemId, menuItemControl, matches; // This is because menu item that's deleted is just hidden. if ( ! $( addedItem ).is( ':visible' ) ) { return; } matches = addedItem.getAttribute( 'id' ).match( /^customize-control-nav_menu_item-(-?\d+)$/, '' ); if ( ! matches ) { return; } menuItemId = parseInt( matches[1], 10 ); menuItemControl = api.control( 'nav_menu_item[' + String( menuItemId ) + ']' ); // Check for duplicate menu items. if ( menuItemControl && deleteItemOriginalItemId == menuItemControl.params.original_item_id ) { instanceCounter++; } } ); if ( instanceCounter <= 1 ) { // Revert the check icon to add icon. availableMenuItem = $( '#menu-item-tpl-' + control.params.original_item_id ); availableMenuItem.removeClass( 'selected' ); availableMenuItem.find( '.menu-item-handle' ).removeClass( 'item-added' ); } control.container.slideUp( function() { control.setting.set( false ); wp.a11y.speak( api.Menus.data.l10n.itemDeleted ); $adjacentFocusTarget.focus(); // Keyboard accessibility. } ); control.setting.set( false ); } ); }, _setupLinksUI: function() { var $origBtn; // Configure original link. $origBtn = this.container.find( 'a.original-link' ); $origBtn.on( 'click', function( e ) { e.preventDefault(); api.previewer.previewUrl( e.target.toString() ); } ); }, /** * Update item handle title when changed. */ _setupTitleUI: function() { var control = this, titleEl; // Ensure that whitespace is trimmed on blur so placeholder can be shown. control.container.find( '.edit-menu-item-title' ).on( 'blur', function() { $( this ).val( $( this ).val().trim() ); } ); titleEl = control.container.find( '.menu-item-title' ); control.setting.bind( function( item ) { var trimmedTitle, titleText; if ( ! item ) { return; } item.title = item.title || ''; trimmedTitle = item.title.trim(); titleText = trimmedTitle || item.original_title || api.Menus.data.l10n.untitled; if ( item._invalid ) { titleText = api.Menus.data.l10n.invalidTitleTpl.replace( '%s', titleText ); } // Don't update to an empty title. if ( trimmedTitle || item.original_title ) { titleEl .text( titleText ) .removeClass( 'no-title' ); } else { titleEl .text( titleText ) .addClass( 'no-title' ); } } ); }, /** * * @return {number} */ getDepth: function() { var control = this, setting = control.setting(), depth = 0; if ( ! setting ) { return 0; } while ( setting && setting.menu_item_parent ) { depth += 1; control = api.control( 'nav_menu_item[' + setting.menu_item_parent + ']' ); if ( ! control ) { break; } setting = control.setting(); } return depth; }, /** * Amend the control's params with the data necessary for the JS template just in time. */ renderContent: function() { var control = this, settingValue = control.setting(), containerClasses; control.params.title = settingValue.title || ''; control.params.depth = control.getDepth(); control.container.data( 'item-depth', control.params.depth ); containerClasses = [ 'menu-item', 'menu-item-depth-' + String( control.params.depth ), 'menu-item-' + settingValue.object, 'menu-item-edit-inactive' ]; if ( settingValue._invalid ) { containerClasses.push( 'menu-item-invalid' ); control.params.title = api.Menus.data.l10n.invalidTitleTpl.replace( '%s', control.params.title ); } else if ( 'draft' === settingValue.status ) { containerClasses.push( 'pending' ); control.params.title = api.Menus.data.pendingTitleTpl.replace( '%s', control.params.title ); } control.params.el_classes = containerClasses.join( ' ' ); control.params.item_type_label = settingValue.type_label; control.params.item_type = settingValue.type; control.params.url = settingValue.url; control.params.target = settingValue.target; control.params.attr_title = settingValue.attr_title; control.params.classes = _.isArray( settingValue.classes ) ? settingValue.classes.join( ' ' ) : settingValue.classes; control.params.xfn = settingValue.xfn; control.params.description = settingValue.description; control.params.parent = settingValue.menu_item_parent; control.params.original_title = settingValue.original_title || ''; control.container.addClass( control.params.el_classes ); api.Control.prototype.renderContent.call( control ); }, /*********************************************************************** * Begin public API methods **********************************************************************/ /** * @return {wp.customize.controlConstructor.nav_menu|null} */ getMenuControl: function() { var control = this, settingValue = control.setting(); if ( settingValue && settingValue.nav_menu_term_id ) { return api.control( 'nav_menu[' + settingValue.nav_menu_term_id + ']' ); } else { return null; } }, /** * Expand the accordion section containing a control */ expandControlSection: function() { var $section = this.container.closest( '.accordion-section' ); if ( ! $section.hasClass( 'open' ) ) { $section.find( '.accordion-section-title:first' ).trigger( 'click' ); } }, /** * @since 4.6.0 * * @param {Boolean} expanded * @param {Object} [params] * @return {Boolean} False if state already applied. */ _toggleExpanded: api.Section.prototype._toggleExpanded, /** * @since 4.6.0 * * @param {Object} [params] * @return {Boolean} False if already expanded. */ expand: api.Section.prototype.expand, /** * Expand the menu item form control. * * @since 4.5.0 Added params.completeCallback. * * @param {Object} [params] - Optional params. * @param {Function} [params.completeCallback] - Function to call when the form toggle has finished animating. */ expandForm: function( params ) { this.expand( params ); }, /** * @since 4.6.0 * * @param {Object} [params] * @return {Boolean} False if already collapsed. */ collapse: api.Section.prototype.collapse, /** * Collapse the menu item form control. * * @since 4.5.0 Added params.completeCallback. * * @param {Object} [params] - Optional params. * @param {Function} [params.completeCallback] - Function to call when the form toggle has finished animating. */ collapseForm: function( params ) { this.collapse( params ); }, /** * Expand or collapse the menu item control. * * @deprecated this is poor naming, and it is better to directly set control.expanded( showOrHide ) * @since 4.5.0 Added params.completeCallback. * * @param {boolean} [showOrHide] - If not supplied, will be inverse of current visibility * @param {Object} [params] - Optional params. * @param {Function} [params.completeCallback] - Function to call when the form toggle has finished animating. */ toggleForm: function( showOrHide, params ) { if ( typeof showOrHide === 'undefined' ) { showOrHide = ! this.expanded(); } if ( showOrHide ) { this.expand( params ); } else { this.collapse( params ); } }, /** * Expand or collapse the menu item control. * * @since 4.6.0 * @param {boolean} [showOrHide] - If not supplied, will be inverse of current visibility * @param {Object} [params] - Optional params. * @param {Function} [params.completeCallback] - Function to call when the form toggle has finished animating. */ onChangeExpanded: function( showOrHide, params ) { var self = this, $menuitem, $inside, complete; $menuitem = this.container; $inside = $menuitem.find( '.menu-item-settings:first' ); if ( 'undefined' === typeof showOrHide ) { showOrHide = ! $inside.is( ':visible' ); } // Already expanded or collapsed. if ( $inside.is( ':visible' ) === showOrHide ) { if ( params && params.completeCallback ) { params.completeCallback(); } return; } if ( showOrHide ) { // Close all other menu item controls before expanding this one. api.control.each( function( otherControl ) { if ( self.params.type === otherControl.params.type && self !== otherControl ) { otherControl.collapseForm(); } } ); complete = function() { $menuitem .removeClass( 'menu-item-edit-inactive' ) .addClass( 'menu-item-edit-active' ); self.container.trigger( 'expanded' ); if ( params && params.completeCallback ) { params.completeCallback(); } }; $menuitem.find( '.item-edit' ).attr( 'aria-expanded', 'true' ); $inside.slideDown( 'fast', complete ); self.container.trigger( 'expand' ); } else { complete = function() { $menuitem .addClass( 'menu-item-edit-inactive' ) .removeClass( 'menu-item-edit-active' ); self.container.trigger( 'collapsed' ); if ( params && params.completeCallback ) { params.completeCallback(); } }; self.container.trigger( 'collapse' ); $menuitem.find( '.item-edit' ).attr( 'aria-expanded', 'false' ); $inside.slideUp( 'fast', complete ); } }, /** * Expand the containing menu section, expand the form, and focus on * the first input in the control. * * @since 4.5.0 Added params.completeCallback. * * @param {Object} [params] - Params object. * @param {Function} [params.completeCallback] - Optional callback function when focus has completed. */ focus: function( params ) { params = params || {}; var control = this, originalCompleteCallback = params.completeCallback, focusControl; focusControl = function() { control.expandControlSection(); params.completeCallback = function() { var focusable; // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 focusable = control.container.find( '.menu-item-settings' ).find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ); focusable.first().focus(); if ( originalCompleteCallback ) { originalCompleteCallback(); } }; control.expandForm( params ); }; if ( api.section.has( control.section() ) ) { api.section( control.section() ).expand( { completeCallback: focusControl } ); } else { focusControl(); } }, /** * Move menu item up one in the menu. */ moveUp: function() { this._changePosition( -1 ); wp.a11y.speak( api.Menus.data.l10n.movedUp ); }, /** * Move menu item up one in the menu. */ moveDown: function() { this._changePosition( 1 ); wp.a11y.speak( api.Menus.data.l10n.movedDown ); }, /** * Move menu item and all children up one level of depth. */ moveLeft: function() { this._changeDepth( -1 ); wp.a11y.speak( api.Menus.data.l10n.movedLeft ); }, /** * Move menu item and children one level deeper, as a submenu of the previous item. */ moveRight: function() { this._changeDepth( 1 ); wp.a11y.speak( api.Menus.data.l10n.movedRight ); }, /** * Note that this will trigger a UI update, causing child items to * move as well and cardinal order class names to be updated. * * @private * * @param {number} offset 1|-1 */ _changePosition: function( offset ) { var control = this, adjacentSetting, settingValue = _.clone( control.setting() ), siblingSettings = [], realPosition; if ( 1 !== offset && -1 !== offset ) { throw new Error( 'Offset changes by 1 are only supported.' ); } // Skip moving deleted items. if ( ! control.setting() ) { return; } // Locate the other items under the same parent (siblings). _( control.getMenuControl().getMenuItemControls() ).each(function( otherControl ) { if ( otherControl.setting().menu_item_parent === settingValue.menu_item_parent ) { siblingSettings.push( otherControl.setting ); } }); siblingSettings.sort(function( a, b ) { return a().position - b().position; }); realPosition = _.indexOf( siblingSettings, control.setting ); if ( -1 === realPosition ) { throw new Error( 'Expected setting to be among siblings.' ); } // Skip doing anything if the item is already at the edge in the desired direction. if ( ( realPosition === 0 && offset < 0 ) || ( realPosition === siblingSettings.length - 1 && offset > 0 ) ) { // @todo Should we allow a menu item to be moved up to break it out of a parent? Adopt with previous or following parent? return; } // Update any adjacent menu item setting to take on this item's position. adjacentSetting = siblingSettings[ realPosition + offset ]; if ( adjacentSetting ) { adjacentSetting.set( $.extend( _.clone( adjacentSetting() ), { position: settingValue.position } ) ); } settingValue.position += offset; control.setting.set( settingValue ); }, /** * Note that this will trigger a UI update, causing child items to * move as well and cardinal order class names to be updated. * * @private * * @param {number} offset 1|-1 */ _changeDepth: function( offset ) { if ( 1 !== offset && -1 !== offset ) { throw new Error( 'Offset changes by 1 are only supported.' ); } var control = this, settingValue = _.clone( control.setting() ), siblingControls = [], realPosition, siblingControl, parentControl; // Locate the other items under the same parent (siblings). _( control.getMenuControl().getMenuItemControls() ).each(function( otherControl ) { if ( otherControl.setting().menu_item_parent === settingValue.menu_item_parent ) { siblingControls.push( otherControl ); } }); siblingControls.sort(function( a, b ) { return a.setting().position - b.setting().position; }); realPosition = _.indexOf( siblingControls, control ); if ( -1 === realPosition ) { throw new Error( 'Expected control to be among siblings.' ); } if ( -1 === offset ) { // Skip moving left an item that is already at the top level. if ( ! settingValue.menu_item_parent ) { return; } parentControl = api.control( 'nav_menu_item[' + settingValue.menu_item_parent + ']' ); // Make this control the parent of all the following siblings. _( siblingControls ).chain().slice( realPosition ).each(function( siblingControl, i ) { siblingControl.setting.set( $.extend( {}, siblingControl.setting(), { menu_item_parent: control.params.menu_item_id, position: i } ) ); }); // Increase the positions of the parent item's subsequent children to make room for this one. _( control.getMenuControl().getMenuItemControls() ).each(function( otherControl ) { var otherControlSettingValue, isControlToBeShifted; isControlToBeShifted = ( otherControl.setting().menu_item_parent === parentControl.setting().menu_item_parent && otherControl.setting().position > parentControl.setting().position ); if ( isControlToBeShifted ) { otherControlSettingValue = _.clone( otherControl.setting() ); otherControl.setting.set( $.extend( otherControlSettingValue, { position: otherControlSettingValue.position + 1 } ) ); } }); // Make this control the following sibling of its parent item. settingValue.position = parentControl.setting().position + 1; settingValue.menu_item_parent = parentControl.setting().menu_item_parent; control.setting.set( settingValue ); } else if ( 1 === offset ) { // Skip moving right an item that doesn't have a previous sibling. if ( realPosition === 0 ) { return; } // Make the control the last child of the previous sibling. siblingControl = siblingControls[ realPosition - 1 ]; settingValue.menu_item_parent = siblingControl.params.menu_item_id; settingValue.position = 0; _( control.getMenuControl().getMenuItemControls() ).each(function( otherControl ) { if ( otherControl.setting().menu_item_parent === settingValue.menu_item_parent ) { settingValue.position = Math.max( settingValue.position, otherControl.setting().position ); } }); settingValue.position += 1; control.setting.set( settingValue ); } } } ); /** * wp.customize.Menus.MenuNameControl * * Customizer control for a nav menu's name. * * @class wp.customize.Menus.MenuNameControl * @augments wp.customize.Control */ api.Menus.MenuNameControl = api.Control.extend(/** @lends wp.customize.Menus.MenuNameControl.prototype */{ ready: function() { var control = this; if ( control.setting ) { var settingValue = control.setting(); control.nameElement = new api.Element( control.container.find( '.menu-name-field' ) ); control.nameElement.bind(function( value ) { var settingValue = control.setting(); if ( settingValue && settingValue.name !== value ) { settingValue = _.clone( settingValue ); settingValue.name = value; control.setting.set( settingValue ); } }); if ( settingValue ) { control.nameElement.set( settingValue.name ); } control.setting.bind(function( object ) { if ( object ) { control.nameElement.set( object.name ); } }); } } }); /** * wp.customize.Menus.MenuLocationsControl * * Customizer control for a nav menu's locations. * * @since 4.9.0 * @class wp.customize.Menus.MenuLocationsControl * @augments wp.customize.Control */ api.Menus.MenuLocationsControl = api.Control.extend(/** @lends wp.customize.Menus.MenuLocationsControl.prototype */{ /** * Set up the control. * * @since 4.9.0 */ ready: function () { var control = this; control.container.find( '.assigned-menu-location' ).each(function() { var container = $( this ), checkbox = container.find( 'input[type=checkbox]' ), element = new api.Element( checkbox ), navMenuLocationSetting = api( 'nav_menu_locations[' + checkbox.data( 'location-id' ) + ']' ), isNewMenu = control.params.menu_id === '', updateCheckbox = isNewMenu ? _.noop : function( checked ) { element.set( checked ); }, updateSetting = isNewMenu ? _.noop : function( checked ) { navMenuLocationSetting.set( checked ? control.params.menu_id : 0 ); }, updateSelectedMenuLabel = function( selectedMenuId ) { var menuSetting = api( 'nav_menu[' + String( selectedMenuId ) + ']' ); if ( ! selectedMenuId || ! menuSetting || ! menuSetting() ) { container.find( '.theme-location-set' ).hide(); } else { container.find( '.theme-location-set' ).show().find( 'span' ).text( displayNavMenuName( menuSetting().name ) ); } }; updateCheckbox( navMenuLocationSetting.get() === control.params.menu_id ); checkbox.on( 'change', function() { // Note: We can't use element.bind( function( checked ){ ... } ) here because it will trigger a change as well. updateSetting( this.checked ); } ); navMenuLocationSetting.bind( function( selectedMenuId ) { updateCheckbox( selectedMenuId === control.params.menu_id ); updateSelectedMenuLabel( selectedMenuId ); } ); updateSelectedMenuLabel( navMenuLocationSetting.get() ); }); }, /** * Set the selected locations. * * This method sets the selected locations and allows us to do things like * set the default location for a new menu. * * @since 4.9.0 * * @param {Object.<string,boolean>} selections - A map of location selections. * @return {void} */ setSelections: function( selections ) { this.container.find( '.menu-location' ).each( function( i, checkboxNode ) { var locationId = checkboxNode.dataset.locationId; checkboxNode.checked = locationId in selections ? selections[ locationId ] : false; } ); } }); /** * wp.customize.Menus.MenuAutoAddControl * * Customizer control for a nav menu's auto add. * * @class wp.customize.Menus.MenuAutoAddControl * @augments wp.customize.Control */ api.Menus.MenuAutoAddControl = api.Control.extend(/** @lends wp.customize.Menus.MenuAutoAddControl.prototype */{ ready: function() { var control = this, settingValue = control.setting(); /* * Since the control is not registered in PHP, we need to prevent the * preview's sending of the activeControls to result in this control * being deactivated. */ control.active.validate = function() { var value, section = api.section( control.section() ); if ( section ) { value = section.active(); } else { value = false; } return value; }; control.autoAddElement = new api.Element( control.container.find( 'input[type=checkbox].auto_add' ) ); control.autoAddElement.bind(function( value ) { var settingValue = control.setting(); if ( settingValue && settingValue.name !== value ) { settingValue = _.clone( settingValue ); settingValue.auto_add = value; control.setting.set( settingValue ); } }); if ( settingValue ) { control.autoAddElement.set( settingValue.auto_add ); } control.setting.bind(function( object ) { if ( object ) { control.autoAddElement.set( object.auto_add ); } }); } }); /** * wp.customize.Menus.MenuControl * * Customizer control for menus. * Note that 'nav_menu' must match the WP_Menu_Customize_Control::$type * * @class wp.customize.Menus.MenuControl * @augments wp.customize.Control */ api.Menus.MenuControl = api.Control.extend(/** @lends wp.customize.Menus.MenuControl.prototype */{ /** * Set up the control. */ ready: function() { var control = this, section = api.section( control.section() ), menuId = control.params.menu_id, menu = control.setting(), name, widgetTemplate, select; if ( 'undefined' === typeof this.params.menu_id ) { throw new Error( 'params.menu_id was not defined' ); } /* * Since the control is not registered in PHP, we need to prevent the * preview's sending of the activeControls to result in this control * being deactivated. */ control.active.validate = function() { var value; if ( section ) { value = section.active(); } else { value = false; } return value; }; control.$controlSection = section.headContainer; control.$sectionContent = control.container.closest( '.accordion-section-content' ); this._setupModel(); api.section( control.section(), function( section ) { section.deferred.initSortables.done(function( menuList ) { control._setupSortable( menuList ); }); } ); this._setupAddition(); this._setupTitle(); // Add menu to Navigation Menu widgets. if ( menu ) { name = displayNavMenuName( menu.name ); // Add the menu to the existing controls. api.control.each( function( widgetControl ) { if ( ! widgetControl.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== widgetControl.params.widget_id_base ) { return; } widgetControl.container.find( '.nav-menu-widget-form-controls:first' ).show(); widgetControl.container.find( '.nav-menu-widget-no-menus-message:first' ).hide(); select = widgetControl.container.find( 'select' ); if ( 0 === select.find( 'option[value=' + String( menuId ) + ']' ).length ) { select.append( new Option( name, menuId ) ); } } ); // Add the menu to the widget template. widgetTemplate = $( '#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )' ); widgetTemplate.find( '.nav-menu-widget-form-controls:first' ).show(); widgetTemplate.find( '.nav-menu-widget-no-menus-message:first' ).hide(); select = widgetTemplate.find( '.widget-inside select:first' ); if ( 0 === select.find( 'option[value=' + String( menuId ) + ']' ).length ) { select.append( new Option( name, menuId ) ); } } /* * Wait for menu items to be added. * Ideally, we'd bind to an event indicating construction is complete, * but deferring appears to be the best option today. */ _.defer( function () { control.updateInvitationVisibility(); } ); }, /** * Update ordering of menu item controls when the setting is updated. */ _setupModel: function() { var control = this, menuId = control.params.menu_id; control.setting.bind( function( to ) { var name; if ( false === to ) { control._handleDeletion(); } else { // Update names in the Navigation Menu widgets. name = displayNavMenuName( to.name ); api.control.each( function( widgetControl ) { if ( ! widgetControl.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== widgetControl.params.widget_id_base ) { return; } var select = widgetControl.container.find( 'select' ); select.find( 'option[value=' + String( menuId ) + ']' ).text( name ); }); } } ); }, /** * Allow items in each menu to be re-ordered, and for the order to be previewed. * * Notice that the UI aspects here are handled by wpNavMenu.initSortables() * which is called in MenuSection.onChangeExpanded() * * @param {Object} menuList - The element that has sortable(). */ _setupSortable: function( menuList ) { var control = this; if ( ! menuList.is( control.$sectionContent ) ) { throw new Error( 'Unexpected menuList.' ); } menuList.on( 'sortstart', function() { control.isSorting = true; }); menuList.on( 'sortstop', function() { setTimeout( function() { // Next tick. var menuItemContainerIds = control.$sectionContent.sortable( 'toArray' ), menuItemControls = [], position = 0, priority = 10; control.isSorting = false; // Reset horizontal scroll position when done dragging. control.$sectionContent.scrollLeft( 0 ); _.each( menuItemContainerIds, function( menuItemContainerId ) { var menuItemId, menuItemControl, matches; matches = menuItemContainerId.match( /^customize-control-nav_menu_item-(-?\d+)$/, '' ); if ( ! matches ) { return; } menuItemId = parseInt( matches[1], 10 ); menuItemControl = api.control( 'nav_menu_item[' + String( menuItemId ) + ']' ); if ( menuItemControl ) { menuItemControls.push( menuItemControl ); } } ); _.each( menuItemControls, function( menuItemControl ) { if ( false === menuItemControl.setting() ) { // Skip deleted items. return; } var setting = _.clone( menuItemControl.setting() ); position += 1; priority += 1; setting.position = position; menuItemControl.priority( priority ); // Note that wpNavMenu will be setting this .menu-item-data-parent-id input's value. setting.menu_item_parent = parseInt( menuItemControl.container.find( '.menu-item-data-parent-id' ).val(), 10 ); if ( ! setting.menu_item_parent ) { setting.menu_item_parent = 0; } menuItemControl.setting.set( setting ); }); // Mark all menu items as unprocessed. $( 'button.item-edit' ).data( 'needs_accessibility_refresh', true ); }); }); control.isReordering = false; /** * Keyboard-accessible reordering. */ this.container.find( '.reorder-toggle' ).on( 'click', function() { control.toggleReordering( ! control.isReordering ); } ); }, /** * Set up UI for adding a new menu item. */ _setupAddition: function() { var self = this; this.container.find( '.add-new-menu-item' ).on( 'click', function( event ) { if ( self.$sectionContent.hasClass( 'reordering' ) ) { return; } if ( ! $( 'body' ).hasClass( 'adding-menu-items' ) ) { $( this ).attr( 'aria-expanded', 'true' ); api.Menus.availableMenuItemsPanel.open( self ); } else { $( this ).attr( 'aria-expanded', 'false' ); api.Menus.availableMenuItemsPanel.close(); event.stopPropagation(); } } ); }, _handleDeletion: function() { var control = this, section, menuId = control.params.menu_id, removeSection, widgetTemplate, navMenuCount = 0; section = api.section( control.section() ); removeSection = function() { section.container.remove(); api.section.remove( section.id ); }; if ( section && section.expanded() ) { section.collapse({ completeCallback: function() { removeSection(); wp.a11y.speak( api.Menus.data.l10n.menuDeleted ); api.panel( 'nav_menus' ).focus(); } }); } else { removeSection(); } api.each(function( setting ) { if ( /^nav_menu\[/.test( setting.id ) && false !== setting() ) { navMenuCount += 1; } }); // Remove the menu from any Navigation Menu widgets. api.control.each(function( widgetControl ) { if ( ! widgetControl.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== widgetControl.params.widget_id_base ) { return; } var select = widgetControl.container.find( 'select' ); if ( select.val() === String( menuId ) ) { select.prop( 'selectedIndex', 0 ).trigger( 'change' ); } widgetControl.container.find( '.nav-menu-widget-form-controls:first' ).toggle( 0 !== navMenuCount ); widgetControl.container.find( '.nav-menu-widget-no-menus-message:first' ).toggle( 0 === navMenuCount ); widgetControl.container.find( 'option[value=' + String( menuId ) + ']' ).remove(); }); // Remove the menu to the nav menu widget template. widgetTemplate = $( '#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )' ); widgetTemplate.find( '.nav-menu-widget-form-controls:first' ).toggle( 0 !== navMenuCount ); widgetTemplate.find( '.nav-menu-widget-no-menus-message:first' ).toggle( 0 === navMenuCount ); widgetTemplate.find( 'option[value=' + String( menuId ) + ']' ).remove(); }, /** * Update Section Title as menu name is changed. */ _setupTitle: function() { var control = this; control.setting.bind( function( menu ) { if ( ! menu ) { return; } var section = api.section( control.section() ), menuId = control.params.menu_id, controlTitle = section.headContainer.find( '.accordion-section-title' ), sectionTitle = section.contentContainer.find( '.customize-section-title h3' ), location = section.headContainer.find( '.menu-in-location' ), action = sectionTitle.find( '.customize-action' ), name = displayNavMenuName( menu.name ); // Update the control title. controlTitle.text( name ); if ( location.length ) { location.appendTo( controlTitle ); } // Update the section title. sectionTitle.text( name ); if ( action.length ) { action.prependTo( sectionTitle ); } // Update the nav menu name in location selects. api.control.each( function( control ) { if ( /^nav_menu_locations\[/.test( control.id ) ) { control.container.find( 'option[value=' + menuId + ']' ).text( name ); } } ); // Update the nav menu name in all location checkboxes. section.contentContainer.find( '.customize-control-checkbox input' ).each( function() { if ( $( this ).prop( 'checked' ) ) { $( '.current-menu-location-name-' + $( this ).data( 'location-id' ) ).text( name ); } } ); } ); }, /*********************************************************************** * Begin public API methods **********************************************************************/ /** * Enable/disable the reordering UI * * @param {boolean} showOrHide to enable/disable reordering */ toggleReordering: function( showOrHide ) { var addNewItemBtn = this.container.find( '.add-new-menu-item' ), reorderBtn = this.container.find( '.reorder-toggle' ), itemsTitle = this.$sectionContent.find( '.item-title' ); showOrHide = Boolean( showOrHide ); if ( showOrHide === this.$sectionContent.hasClass( 'reordering' ) ) { return; } this.isReordering = showOrHide; this.$sectionContent.toggleClass( 'reordering', showOrHide ); this.$sectionContent.sortable( this.isReordering ? 'disable' : 'enable' ); if ( this.isReordering ) { addNewItemBtn.attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); reorderBtn.attr( 'aria-label', api.Menus.data.l10n.reorderLabelOff ); wp.a11y.speak( api.Menus.data.l10n.reorderModeOn ); itemsTitle.attr( 'aria-hidden', 'false' ); } else { addNewItemBtn.removeAttr( 'tabindex aria-hidden' ); reorderBtn.attr( 'aria-label', api.Menus.data.l10n.reorderLabelOn ); wp.a11y.speak( api.Menus.data.l10n.reorderModeOff ); itemsTitle.attr( 'aria-hidden', 'true' ); } if ( showOrHide ) { _( this.getMenuItemControls() ).each( function( formControl ) { formControl.collapseForm(); } ); } }, /** * @return {wp.customize.controlConstructor.nav_menu_item[]} */ getMenuItemControls: function() { var menuControl = this, menuItemControls = [], menuTermId = menuControl.params.menu_id; api.control.each(function( control ) { if ( 'nav_menu_item' === control.params.type && control.setting() && menuTermId === control.setting().nav_menu_term_id ) { menuItemControls.push( control ); } }); return menuItemControls; }, /** * Make sure that each menu item control has the proper depth. */ reflowMenuItems: function() { var menuControl = this, menuItemControls = menuControl.getMenuItemControls(), reflowRecursively; reflowRecursively = function( context ) { var currentMenuItemControls = [], thisParent = context.currentParent; _.each( context.menuItemControls, function( menuItemControl ) { if ( thisParent === menuItemControl.setting().menu_item_parent ) { currentMenuItemControls.push( menuItemControl ); // @todo We could remove this item from menuItemControls now, for efficiency. } }); currentMenuItemControls.sort( function( a, b ) { return a.setting().position - b.setting().position; }); _.each( currentMenuItemControls, function( menuItemControl ) { // Update position. context.currentAbsolutePosition += 1; menuItemControl.priority.set( context.currentAbsolutePosition ); // This will change the sort order. // Update depth. if ( ! menuItemControl.container.hasClass( 'menu-item-depth-' + String( context.currentDepth ) ) ) { _.each( menuItemControl.container.prop( 'className' ).match( /menu-item-depth-\d+/g ), function( className ) { menuItemControl.container.removeClass( className ); }); menuItemControl.container.addClass( 'menu-item-depth-' + String( context.currentDepth ) ); } menuItemControl.container.data( 'item-depth', context.currentDepth ); // Process any children items. context.currentDepth += 1; context.currentParent = menuItemControl.params.menu_item_id; reflowRecursively( context ); context.currentDepth -= 1; context.currentParent = thisParent; }); // Update class names for reordering controls. if ( currentMenuItemControls.length ) { _( currentMenuItemControls ).each(function( menuItemControl ) { menuItemControl.container.removeClass( 'move-up-disabled move-down-disabled move-left-disabled move-right-disabled' ); if ( 0 === context.currentDepth ) { menuItemControl.container.addClass( 'move-left-disabled' ); } else if ( 10 === context.currentDepth ) { menuItemControl.container.addClass( 'move-right-disabled' ); } }); currentMenuItemControls[0].container .addClass( 'move-up-disabled' ) .addClass( 'move-right-disabled' ) .toggleClass( 'move-down-disabled', 1 === currentMenuItemControls.length ); currentMenuItemControls[ currentMenuItemControls.length - 1 ].container .addClass( 'move-down-disabled' ) .toggleClass( 'move-up-disabled', 1 === currentMenuItemControls.length ); } }; reflowRecursively( { menuItemControls: menuItemControls, currentParent: 0, currentDepth: 0, currentAbsolutePosition: 0 } ); menuControl.updateInvitationVisibility( menuItemControls ); menuControl.container.find( '.reorder-toggle' ).toggle( menuItemControls.length > 1 ); }, /** * Note that this function gets debounced so that when a lot of setting * changes are made at once, for instance when moving a menu item that * has child items, this function will only be called once all of the * settings have been updated. */ debouncedReflowMenuItems: _.debounce( function() { this.reflowMenuItems.apply( this, arguments ); }, 0 ), /** * Add a new item to this menu. * * @param {Object} item - Value for the nav_menu_item setting to be created. * @return {wp.customize.Menus.controlConstructor.nav_menu_item} The newly-created nav_menu_item control instance. */ addItemToMenu: function( item ) { var menuControl = this, customizeId, settingArgs, setting, menuItemControl, placeholderId, position = 0, priority = 10, originalItemId = item.id || ''; _.each( menuControl.getMenuItemControls(), function( control ) { if ( false === control.setting() ) { return; } priority = Math.max( priority, control.priority() ); if ( 0 === control.setting().menu_item_parent ) { position = Math.max( position, control.setting().position ); } }); position += 1; priority += 1; item = $.extend( {}, api.Menus.data.defaultSettingValues.nav_menu_item, item, { nav_menu_term_id: menuControl.params.menu_id, position: position } ); delete item.id; // Only used by Backbone. placeholderId = api.Menus.generatePlaceholderAutoIncrementId(); customizeId = 'nav_menu_item[' + String( placeholderId ) + ']'; settingArgs = { type: 'nav_menu_item', transport: api.Menus.data.settingTransport, previewer: api.previewer }; setting = api.create( customizeId, customizeId, {}, settingArgs ); setting.set( item ); // Change from initial empty object to actual item to mark as dirty. // Add the menu item control. menuItemControl = new api.controlConstructor.nav_menu_item( customizeId, { type: 'nav_menu_item', section: menuControl.id, priority: priority, settings: { 'default': customizeId }, menu_item_id: placeholderId, original_item_id: originalItemId } ); api.control.add( menuItemControl ); setting.preview(); menuControl.debouncedReflowMenuItems(); wp.a11y.speak( api.Menus.data.l10n.itemAdded ); return menuItemControl; }, /** * Show an invitation to add new menu items when there are no menu items. * * @since 4.9.0 * * @param {wp.customize.controlConstructor.nav_menu_item[]} optionalMenuItemControls */ updateInvitationVisibility: function ( optionalMenuItemControls ) { var menuItemControls = optionalMenuItemControls || this.getMenuItemControls(); this.container.find( '.new-menu-item-invitation' ).toggle( menuItemControls.length === 0 ); } } ); /** * Extends wp.customize.controlConstructor with control constructor for * menu_location, menu_item, nav_menu, and new_menu. */ $.extend( api.controlConstructor, { nav_menu_location: api.Menus.MenuLocationControl, nav_menu_item: api.Menus.MenuItemControl, nav_menu: api.Menus.MenuControl, nav_menu_name: api.Menus.MenuNameControl, nav_menu_locations: api.Menus.MenuLocationsControl, nav_menu_auto_add: api.Menus.MenuAutoAddControl }); /** * Extends wp.customize.panelConstructor with section constructor for menus. */ $.extend( api.panelConstructor, { nav_menus: api.Menus.MenusPanel }); /** * Extends wp.customize.sectionConstructor with section constructor for menu. */ $.extend( api.sectionConstructor, { nav_menu: api.Menus.MenuSection, new_menu: api.Menus.NewMenuSection }); /** * Init Customizer for menus. */ api.bind( 'ready', function() { // Set up the menu items panel. api.Menus.availableMenuItemsPanel = new api.Menus.AvailableMenuItemsPanelView({ collection: api.Menus.availableMenuItems }); api.bind( 'saved', function( data ) { if ( data.nav_menu_updates || data.nav_menu_item_updates ) { api.Menus.applySavedData( data ); } } ); /* * Reset the list of posts created in the customizer once published. * The setting is updated quietly (bypassing events being triggered) * so that the customized state doesn't become immediately dirty. */ api.state( 'changesetStatus' ).bind( function( status ) { if ( 'publish' === status ) { api( 'nav_menus_created_posts' )._value = []; } } ); // Open and focus menu control. api.previewer.bind( 'focus-nav-menu-item-control', api.Menus.focusMenuItemControl ); } ); /** * When customize_save comes back with a success, make sure any inserted * nav menus and items are properly re-added with their newly-assigned IDs. * * @alias wp.customize.Menus.applySavedData * * @param {Object} data * @param {Array} data.nav_menu_updates * @param {Array} data.nav_menu_item_updates */ api.Menus.applySavedData = function( data ) { var insertedMenuIdMapping = {}, insertedMenuItemIdMapping = {}; _( data.nav_menu_updates ).each(function( update ) { var oldCustomizeId, newCustomizeId, customizeId, oldSetting, newSetting, setting, settingValue, oldSection, newSection, wasSaved, widgetTemplate, navMenuCount, shouldExpandNewSection; if ( 'inserted' === update.status ) { if ( ! update.previous_term_id ) { throw new Error( 'Expected previous_term_id' ); } if ( ! update.term_id ) { throw new Error( 'Expected term_id' ); } oldCustomizeId = 'nav_menu[' + String( update.previous_term_id ) + ']'; if ( ! api.has( oldCustomizeId ) ) { throw new Error( 'Expected setting to exist: ' + oldCustomizeId ); } oldSetting = api( oldCustomizeId ); if ( ! api.section.has( oldCustomizeId ) ) { throw new Error( 'Expected control to exist: ' + oldCustomizeId ); } oldSection = api.section( oldCustomizeId ); settingValue = oldSetting.get(); if ( ! settingValue ) { throw new Error( 'Did not expect setting to be empty (deleted).' ); } settingValue = $.extend( _.clone( settingValue ), update.saved_value ); insertedMenuIdMapping[ update.previous_term_id ] = update.term_id; newCustomizeId = 'nav_menu[' + String( update.term_id ) + ']'; newSetting = api.create( newCustomizeId, newCustomizeId, settingValue, { type: 'nav_menu', transport: api.Menus.data.settingTransport, previewer: api.previewer } ); shouldExpandNewSection = oldSection.expanded(); if ( shouldExpandNewSection ) { oldSection.collapse(); } // Add the menu section. newSection = new api.Menus.MenuSection( newCustomizeId, { panel: 'nav_menus', title: settingValue.name, customizeAction: api.Menus.data.l10n.customizingMenus, type: 'nav_menu', priority: oldSection.priority.get(), menu_id: update.term_id } ); // Add new control for the new menu. api.section.add( newSection ); // Update the values for nav menus in Navigation Menu controls. api.control.each( function( setting ) { if ( ! setting.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== setting.params.widget_id_base ) { return; } var select, oldMenuOption, newMenuOption; select = setting.container.find( 'select' ); oldMenuOption = select.find( 'option[value=' + String( update.previous_term_id ) + ']' ); newMenuOption = select.find( 'option[value=' + String( update.term_id ) + ']' ); newMenuOption.prop( 'selected', oldMenuOption.prop( 'selected' ) ); oldMenuOption.remove(); } ); // Delete the old placeholder nav_menu. oldSetting.callbacks.disable(); // Prevent setting triggering Customizer dirty state when set. oldSetting.set( false ); oldSetting.preview(); newSetting.preview(); oldSetting._dirty = false; // Remove nav_menu section. oldSection.container.remove(); api.section.remove( oldCustomizeId ); // Update the nav_menu widget to reflect removed placeholder menu. navMenuCount = 0; api.each(function( setting ) { if ( /^nav_menu\[/.test( setting.id ) && false !== setting() ) { navMenuCount += 1; } }); widgetTemplate = $( '#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )' ); widgetTemplate.find( '.nav-menu-widget-form-controls:first' ).toggle( 0 !== navMenuCount ); widgetTemplate.find( '.nav-menu-widget-no-menus-message:first' ).toggle( 0 === navMenuCount ); widgetTemplate.find( 'option[value=' + String( update.previous_term_id ) + ']' ).remove(); // Update the nav_menu_locations[...] controls to remove the placeholder menus from the dropdown options. wp.customize.control.each(function( control ){ if ( /^nav_menu_locations\[/.test( control.id ) ) { control.container.find( 'option[value=' + String( update.previous_term_id ) + ']' ).remove(); } }); // Update nav_menu_locations to reference the new ID. api.each( function( setting ) { var wasSaved = api.state( 'saved' ).get(); if ( /^nav_menu_locations\[/.test( setting.id ) && setting.get() === update.previous_term_id ) { setting.set( update.term_id ); setting._dirty = false; // Not dirty because this is has also just been done on server in WP_Customize_Nav_Menu_Setting::update(). api.state( 'saved' ).set( wasSaved ); setting.preview(); } } ); if ( shouldExpandNewSection ) { newSection.expand(); } } else if ( 'updated' === update.status ) { customizeId = 'nav_menu[' + String( update.term_id ) + ']'; if ( ! api.has( customizeId ) ) { throw new Error( 'Expected setting to exist: ' + customizeId ); } // Make sure the setting gets updated with its sanitized server value (specifically the conflict-resolved name). setting = api( customizeId ); if ( ! _.isEqual( update.saved_value, setting.get() ) ) { wasSaved = api.state( 'saved' ).get(); setting.set( update.saved_value ); setting._dirty = false; api.state( 'saved' ).set( wasSaved ); } } } ); // Build up mapping of nav_menu_item placeholder IDs to inserted IDs. _( data.nav_menu_item_updates ).each(function( update ) { if ( update.previous_post_id ) { insertedMenuItemIdMapping[ update.previous_post_id ] = update.post_id; } }); _( data.nav_menu_item_updates ).each(function( update ) { var oldCustomizeId, newCustomizeId, oldSetting, newSetting, settingValue, oldControl, newControl; if ( 'inserted' === update.status ) { if ( ! update.previous_post_id ) { throw new Error( 'Expected previous_post_id' ); } if ( ! update.post_id ) { throw new Error( 'Expected post_id' ); } oldCustomizeId = 'nav_menu_item[' + String( update.previous_post_id ) + ']'; if ( ! api.has( oldCustomizeId ) ) { throw new Error( 'Expected setting to exist: ' + oldCustomizeId ); } oldSetting = api( oldCustomizeId ); if ( ! api.control.has( oldCustomizeId ) ) { throw new Error( 'Expected control to exist: ' + oldCustomizeId ); } oldControl = api.control( oldCustomizeId ); settingValue = oldSetting.get(); if ( ! settingValue ) { throw new Error( 'Did not expect setting to be empty (deleted).' ); } settingValue = _.clone( settingValue ); // If the parent menu item was also inserted, update the menu_item_parent to the new ID. if ( settingValue.menu_item_parent < 0 ) { if ( ! insertedMenuItemIdMapping[ settingValue.menu_item_parent ] ) { throw new Error( 'inserted ID for menu_item_parent not available' ); } settingValue.menu_item_parent = insertedMenuItemIdMapping[ settingValue.menu_item_parent ]; } // If the menu was also inserted, then make sure it uses the new menu ID for nav_menu_term_id. if ( insertedMenuIdMapping[ settingValue.nav_menu_term_id ] ) { settingValue.nav_menu_term_id = insertedMenuIdMapping[ settingValue.nav_menu_term_id ]; } newCustomizeId = 'nav_menu_item[' + String( update.post_id ) + ']'; newSetting = api.create( newCustomizeId, newCustomizeId, settingValue, { type: 'nav_menu_item', transport: api.Menus.data.settingTransport, previewer: api.previewer } ); // Add the menu control. newControl = new api.controlConstructor.nav_menu_item( newCustomizeId, { type: 'nav_menu_item', menu_id: update.post_id, section: 'nav_menu[' + String( settingValue.nav_menu_term_id ) + ']', priority: oldControl.priority.get(), settings: { 'default': newCustomizeId }, menu_item_id: update.post_id } ); // Remove old control. oldControl.container.remove(); api.control.remove( oldCustomizeId ); // Add new control to take its place. api.control.add( newControl ); // Delete the placeholder and preview the new setting. oldSetting.callbacks.disable(); // Prevent setting triggering Customizer dirty state when set. oldSetting.set( false ); oldSetting.preview(); newSetting.preview(); oldSetting._dirty = false; newControl.container.toggleClass( 'menu-item-edit-inactive', oldControl.container.hasClass( 'menu-item-edit-inactive' ) ); } }); /* * Update the settings for any nav_menu widgets that had selected a placeholder ID. */ _.each( data.widget_nav_menu_updates, function( widgetSettingValue, widgetSettingId ) { var setting = api( widgetSettingId ); if ( setting ) { setting._value = widgetSettingValue; setting.preview(); // Send to the preview now so that menu refresh will use the inserted menu. } }); }; /** * Focus a menu item control. * * @alias wp.customize.Menus.focusMenuItemControl * * @param {string} menuItemId */ api.Menus.focusMenuItemControl = function( menuItemId ) { var control = api.Menus.getMenuItemControl( menuItemId ); if ( control ) { control.focus(); } }; /** * Get the control for a given menu. * * @alias wp.customize.Menus.getMenuControl * * @param menuId * @return {wp.customize.controlConstructor.menus[]} */ api.Menus.getMenuControl = function( menuId ) { return api.control( 'nav_menu[' + menuId + ']' ); }; /** * Given a menu item ID, get the control associated with it. * * @alias wp.customize.Menus.getMenuItemControl * * @param {string} menuItemId * @return {Object|null} */ api.Menus.getMenuItemControl = function( menuItemId ) { return api.control( menuItemIdToSettingId( menuItemId ) ); }; /** * @alias wp.customize.Menus~menuItemIdToSettingId * * @param {string} menuItemId */ function menuItemIdToSettingId( menuItemId ) { return 'nav_menu_item[' + menuItemId + ']'; } /** * Apply sanitize_text_field()-like logic to the supplied name, returning a * "unnammed" fallback string if the name is then empty. * * @alias wp.customize.Menus~displayNavMenuName * * @param {string} name * @return {string} */ function displayNavMenuName( name ) { name = name || ''; name = wp.sanitize.stripTagsAndEncodeText( name ); // Remove any potential tags from name. name = name.toString().trim(); return name || api.Menus.data.l10n.unnamed; } })( wp.customize, wp, jQuery ); link.js 0000644 00000007623 15174671433 0006062 0 ustar 00 /** * @output wp-admin/js/link.js */ /* global postboxes, deleteUserSetting, setUserSetting, getUserSetting */ jQuery( function($) { var newCat, noSyncChecks = false, syncChecks, catAddAfter; $('#link_name').trigger( 'focus' ); // Postboxes. postboxes.add_postbox_toggles('link'); /** * Adds event that opens a particular category tab. * * @ignore * * @return {boolean} Always returns false to prevent the default behavior. */ $('#category-tabs a').on( 'click', function(){ var t = $(this).attr('href'); $(this).parent().addClass('tabs').siblings('li').removeClass('tabs'); $('.tabs-panel').hide(); $(t).show(); if ( '#categories-all' == t ) deleteUserSetting('cats'); else setUserSetting('cats','pop'); return false; }); if ( getUserSetting('cats') ) $('#category-tabs a[href="#categories-pop"]').trigger( 'click' ); // Ajax Cat. newCat = $('#newcat').one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ); } ); /** * After adding a new category, focus on the category add input field. * * @return {void} */ $('#link-category-add-submit').on( 'click', function() { newCat.focus(); } ); /** * Synchronize category checkboxes. * * This function makes sure that the checkboxes are synced between the all * categories tab and the most used categories tab. * * @since 2.5.0 * * @return {void} */ syncChecks = function() { if ( noSyncChecks ) return; noSyncChecks = true; var th = $(this), c = th.is(':checked'), id = th.val().toString(); $('#in-link-category-' + id + ', #in-popular-link_category-' + id).prop( 'checked', c ); noSyncChecks = false; }; /** * Adds event listeners to an added category. * * This is run on the addAfter event to make sure the correct event listeners * are bound to the DOM elements. * * @since 2.5.0 * * @param {string} r Raw XML response returned from the server after adding a * category. * @param {Object} s List manager configuration object; settings for the Ajax * request. * * @return {void} */ catAddAfter = function( r, s ) { $(s.what + ' response_data', r).each( function() { var t = $($(this).text()); t.find( 'label' ).each( function() { var th = $(this), val = th.find('input').val(), id = th.find('input')[0].id, name = th.text().trim(), o; $('#' + id).on( 'change', syncChecks ); o = $( '<option value="' + parseInt( val, 10 ) + '"></option>' ).text( name ); } ); } ); }; /* * Instantiates the list manager. * * @see js/_enqueues/lib/lists.js */ $('#categorychecklist').wpList( { // CSS class name for alternate styling. alt: '', // The type of list. what: 'link-category', // ID of the element the parsed Ajax response will be stored in. response: 'category-ajax-response', // Callback that's run after an item got added to the list. addAfter: catAddAfter } ); // All categories is the default tab, so we delete the user setting. $('a[href="#categories-all"]').on( 'click', function(){deleteUserSetting('cats');}); // Set a preference for the popular categories to cookies. $('a[href="#categories-pop"]').on( 'click', function(){setUserSetting('cats','pop');}); if ( 'pop' == getUserSetting('cats') ) $('a[href="#categories-pop"]').trigger( 'click' ); /** * Adds event handler that shows the interface controls to add a new category. * * @ignore * * @param {Event} event The event object. * @return {boolean} Always returns false to prevent regular link * functionality. */ $('#category-add-toggle').on( 'click', function() { $(this).parents('div:first').toggleClass( 'wp-hidden-children' ); $('#category-tabs a[href="#categories-all"]').trigger( 'click' ); $('#newcategory').trigger( 'focus' ); return false; } ); $('.categorychecklist :checkbox').on( 'change', syncChecks ).filter( ':checked' ).trigger( 'change' ); }); postbox.js 0000644 00000044771 15174671433 0006630 0 ustar 00 /** * Contains the postboxes logic, opening and closing postboxes, reordering and saving * the state and ordering to the database. * * @since 2.5.0 * @requires jQuery * @output wp-admin/js/postbox.js */ /* global ajaxurl, postboxes */ (function($) { var $document = $( document ), __ = wp.i18n.__; /** * This object contains all function to handle the behavior of the post boxes. The post boxes are the boxes you see * around the content on the edit page. * * @since 2.7.0 * * @namespace postboxes * * @type {Object} */ window.postboxes = { /** * Handles a click on either the postbox heading or the postbox open/close icon. * * Opens or closes the postbox. Expects `this` to equal the clicked element. * Calls postboxes.pbshow if the postbox has been opened, calls postboxes.pbhide * if the postbox has been closed. * * @since 4.4.0 * * @memberof postboxes * * @fires postboxes#postbox-toggled * * @return {void} */ handle_click : function () { var $el = $( this ), p = $el.closest( '.postbox' ), id = p.attr( 'id' ), ariaExpandedValue; if ( 'dashboard_browser_nag' === id ) { return; } p.toggleClass( 'closed' ); ariaExpandedValue = ! p.hasClass( 'closed' ); if ( $el.hasClass( 'handlediv' ) ) { // The handle button was clicked. $el.attr( 'aria-expanded', ariaExpandedValue ); } else { // The handle heading was clicked. $el.closest( '.postbox' ).find( 'button.handlediv' ) .attr( 'aria-expanded', ariaExpandedValue ); } if ( postboxes.page !== 'press-this' ) { postboxes.save_state( postboxes.page ); } if ( id ) { if ( !p.hasClass('closed') && typeof postboxes.pbshow === 'function' ) { postboxes.pbshow( id ); } else if ( p.hasClass('closed') && typeof postboxes.pbhide === 'function' ) { postboxes.pbhide( id ); } } /** * Fires when a postbox has been opened or closed. * * Contains a jQuery object with the relevant postbox element. * * @since 4.0.0 * @ignore * * @event postboxes#postbox-toggled * @type {Object} */ $document.trigger( 'postbox-toggled', p ); }, /** * Handles clicks on the move up/down buttons. * * @since 5.5.0 * * @return {void} */ handleOrder: function() { var button = $( this ), postbox = button.closest( '.postbox' ), postboxId = postbox.attr( 'id' ), postboxesWithinSortables = postbox.closest( '.meta-box-sortables' ).find( '.postbox:visible' ), postboxesWithinSortablesCount = postboxesWithinSortables.length, postboxWithinSortablesIndex = postboxesWithinSortables.index( postbox ), firstOrLastPositionMessage; if ( 'dashboard_browser_nag' === postboxId ) { return; } // If on the first or last position, do nothing and send an audible message to screen reader users. if ( 'true' === button.attr( 'aria-disabled' ) ) { firstOrLastPositionMessage = button.hasClass( 'handle-order-higher' ) ? __( 'The box is on the first position' ) : __( 'The box is on the last position' ); wp.a11y.speak( firstOrLastPositionMessage ); return; } // Move a postbox up. if ( button.hasClass( 'handle-order-higher' ) ) { // If the box is first within a sortable area, move it to the previous sortable area. if ( 0 === postboxWithinSortablesIndex ) { postboxes.handleOrderBetweenSortables( 'previous', button, postbox ); return; } postbox.prevAll( '.postbox:visible' ).eq( 0 ).before( postbox ); button.trigger( 'focus' ); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); } // Move a postbox down. if ( button.hasClass( 'handle-order-lower' ) ) { // If the box is last within a sortable area, move it to the next sortable area. if ( postboxWithinSortablesIndex + 1 === postboxesWithinSortablesCount ) { postboxes.handleOrderBetweenSortables( 'next', button, postbox ); return; } postbox.nextAll( '.postbox:visible' ).eq( 0 ).after( postbox ); button.trigger( 'focus' ); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); } }, /** * Moves postboxes between the sortables areas. * * @since 5.5.0 * * @param {string} position The "previous" or "next" sortables area. * @param {Object} button The jQuery object representing the button that was clicked. * @param {Object} postbox The jQuery object representing the postbox to be moved. * * @return {void} */ handleOrderBetweenSortables: function( position, button, postbox ) { var closestSortablesId = button.closest( '.meta-box-sortables' ).attr( 'id' ), sortablesIds = [], sortablesIndex, detachedPostbox; // Get the list of sortables within the page. $( '.meta-box-sortables:visible' ).each( function() { sortablesIds.push( $( this ).attr( 'id' ) ); }); // Return if there's only one visible sortables area, e.g. in the block editor page. if ( 1 === sortablesIds.length ) { return; } // Find the index of the current sortables area within all the sortable areas. sortablesIndex = $.inArray( closestSortablesId, sortablesIds ); // Detach the postbox to be moved. detachedPostbox = postbox.detach(); // Move the detached postbox to its new position. if ( 'previous' === position ) { $( detachedPostbox ).appendTo( '#' + sortablesIds[ sortablesIndex - 1 ] ); } if ( 'next' === position ) { $( detachedPostbox ).prependTo( '#' + sortablesIds[ sortablesIndex + 1 ] ); } postboxes._mark_area(); button.focus(); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); }, /** * Update the move buttons properties depending on the postbox position. * * @since 5.5.0 * * @return {void} */ updateOrderButtonsProperties: function() { var firstSortablesId = $( '.meta-box-sortables:visible:first' ).attr( 'id' ), lastSortablesId = $( '.meta-box-sortables:visible:last' ).attr( 'id' ), firstPostbox = $( '.postbox:visible:first' ), lastPostbox = $( '.postbox:visible:last' ), firstPostboxId = firstPostbox.attr( 'id' ), lastPostboxId = lastPostbox.attr( 'id' ), firstPostboxSortablesId = firstPostbox.closest( '.meta-box-sortables' ).attr( 'id' ), lastPostboxSortablesId = lastPostbox.closest( '.meta-box-sortables' ).attr( 'id' ), moveUpButtons = $( '.handle-order-higher' ), moveDownButtons = $( '.handle-order-lower' ); // Enable all buttons as a reset first. moveUpButtons .attr( 'aria-disabled', 'false' ) .removeClass( 'hidden' ); moveDownButtons .attr( 'aria-disabled', 'false' ) .removeClass( 'hidden' ); // When there's only one "sortables" area (e.g. in the block editor) and only one visible postbox, hide the buttons. if ( firstSortablesId === lastSortablesId && firstPostboxId === lastPostboxId ) { moveUpButtons.addClass( 'hidden' ); moveDownButtons.addClass( 'hidden' ); } // Set an aria-disabled=true attribute on the first visible "move" buttons. if ( firstSortablesId === firstPostboxSortablesId ) { $( firstPostbox ).find( '.handle-order-higher' ).attr( 'aria-disabled', 'true' ); } // Set an aria-disabled=true attribute on the last visible "move" buttons. if ( lastSortablesId === lastPostboxSortablesId ) { $( '.postbox:visible .handle-order-lower' ).last().attr( 'aria-disabled', 'true' ); } }, /** * Adds event handlers to all postboxes and screen option on the current page. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @param {Object} [args] * @param {Function} args.pbshow A callback that is called when a postbox opens. * @param {Function} args.pbhide A callback that is called when a postbox closes. * @return {void} */ add_postbox_toggles : function (page, args) { var $handles = $( '.postbox .hndle, .postbox .handlediv' ), $orderButtons = $( '.postbox .handle-order-higher, .postbox .handle-order-lower' ); this.page = page; this.init( page, args ); $handles.on( 'click.postboxes', this.handle_click ); // Handle the order of the postboxes. $orderButtons.on( 'click.postboxes', this.handleOrder ); /** * @since 2.7.0 */ $('.postbox .hndle a').on( 'click', function(e) { e.stopPropagation(); }); /** * Hides a postbox. * * Event handler for the postbox dismiss button. After clicking the button * the postbox will be hidden. * * As of WordPress 5.5, this is only used for the browser update nag. * * @since 3.2.0 * * @return {void} */ $( '.postbox a.dismiss' ).on( 'click.postboxes', function( e ) { var hide_id = $(this).parents('.postbox').attr('id') + '-hide'; e.preventDefault(); $( '#' + hide_id ).prop('checked', false).triggerHandler('click'); }); /** * Hides the postbox element * * Event handler for the screen options checkboxes. When a checkbox is * clicked this function will hide or show the relevant postboxes. * * @since 2.7.0 * @ignore * * @fires postboxes#postbox-toggled * * @return {void} */ $('.hide-postbox-tog').on('click.postboxes', function() { var $el = $(this), boxId = $el.val(), $postbox = $( '#' + boxId ); if ( $el.prop( 'checked' ) ) { $postbox.show(); if ( typeof postboxes.pbshow === 'function' ) { postboxes.pbshow( boxId ); } } else { $postbox.hide(); if ( typeof postboxes.pbhide === 'function' ) { postboxes.pbhide( boxId ); } } postboxes.save_state( page ); postboxes._mark_area(); /** * @since 4.0.0 * @see postboxes.handle_click */ $document.trigger( 'postbox-toggled', $postbox ); }); /** * Changes the amount of columns based on the layout preferences. * * @since 2.8.0 * * @return {void} */ $('.columns-prefs input[type="radio"]').on('click.postboxes', function(){ var n = parseInt($(this).val(), 10); if ( n ) { postboxes._pb_edit(n); postboxes.save_order( page ); } }); }, /** * Initializes all the postboxes, mainly their sortable behavior. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @param {Object} [args={}] The arguments for the postbox initializer. * @param {Function} args.pbshow A callback that is called when a postbox opens. * @param {Function} args.pbhide A callback that is called when a postbox * closes. * * @return {void} */ init : function(page, args) { var isMobile = $( document.body ).hasClass( 'mobile' ), $handleButtons = $( '.postbox .handlediv' ); $.extend( this, args || {} ); $('.meta-box-sortables').sortable({ placeholder: 'sortable-placeholder', connectWith: '.meta-box-sortables', items: '.postbox', handle: '.hndle', cursor: 'move', delay: ( isMobile ? 200 : 0 ), distance: 2, tolerance: 'pointer', forcePlaceholderSize: true, helper: function( event, element ) { /* `helper: 'clone'` is equivalent to `return element.clone();` * Cloning a checked radio and then inserting that clone next to the original * radio unchecks the original radio (since only one of the two can be checked). * We get around this by renaming the helper's inputs' name attributes so that, * when the helper is inserted into the DOM for the sortable, no radios are * duplicated, and no original radio gets unchecked. */ return element.clone() .find( ':input' ) .attr( 'name', function( i, currentName ) { return 'sort_' + parseInt( Math.random() * 100000, 10 ).toString() + '_' + currentName; } ) .end(); }, opacity: 0.65, start: function() { $( 'body' ).addClass( 'is-dragging-metaboxes' ); // Refresh the cached positions of all the sortable items so that the min-height set while dragging works. $( '.meta-box-sortables' ).sortable( 'refreshPositions' ); }, stop: function() { var $el = $( this ); $( 'body' ).removeClass( 'is-dragging-metaboxes' ); if ( $el.find( '#dashboard_browser_nag' ).is( ':visible' ) && 'dashboard_browser_nag' != this.firstChild.id ) { $el.sortable('cancel'); return; } postboxes.updateOrderButtonsProperties(); postboxes.save_order(page); }, receive: function(e,ui) { if ( 'dashboard_browser_nag' == ui.item[0].id ) $(ui.sender).sortable('cancel'); postboxes._mark_area(); $document.trigger( 'postbox-moved', ui.item ); } }); if ( isMobile ) { $(document.body).on('orientationchange.postboxes', function(){ postboxes._pb_change(); }); this._pb_change(); } this._mark_area(); // Update the "move" buttons properties. this.updateOrderButtonsProperties(); $document.on( 'postbox-toggled', this.updateOrderButtonsProperties ); // Set the handle buttons `aria-expanded` attribute initial value on page load. $handleButtons.each( function () { var $el = $( this ); $el.attr( 'aria-expanded', ! $el.closest( '.postbox' ).hasClass( 'closed' ) ); }); }, /** * Saves the state of the postboxes to the server. * * It sends two lists, one with all the closed postboxes, one with all the * hidden postboxes. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @return {void} */ save_state : function(page) { var closed, hidden; // Return on the nav-menus.php screen, see #35112. if ( 'nav-menus' === page ) { return; } closed = $( '.postbox' ).filter( '.closed' ).map( function() { return this.id; } ).get().join( ',' ); hidden = $( '.postbox' ).filter( ':hidden' ).map( function() { return this.id; } ).get().join( ',' ); $.post( ajaxurl, { action: 'closed-postboxes', closed: closed, hidden: hidden, closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(), page: page }, function() { wp.a11y.speak( __( 'Screen Options updated.' ) ); } ); }, /** * Saves the order of the postboxes to the server. * * Sends a list of all postboxes inside a sortable area to the server. * * @since 2.8.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @return {void} */ save_order : function(page) { var postVars, page_columns = $('.columns-prefs input:checked').val() || 0; postVars = { action: 'meta-box-order', _ajax_nonce: $('#meta-box-order-nonce').val(), page_columns: page_columns, page: page }; $('.meta-box-sortables').each( function() { postVars[ 'order[' + this.id.split( '-' )[0] + ']' ] = $( this ).sortable( 'toArray' ).join( ',' ); } ); $.post( ajaxurl, postVars, function( response ) { if ( response.success ) { wp.a11y.speak( __( 'The boxes order has been saved.' ) ); } } ); }, /** * Marks empty postbox areas. * * Adds a message to empty sortable areas on the dashboard page. Also adds a * border around the side area on the post edit screen if there are no postboxes * present. * * @since 3.3.0 * @access private * * @memberof postboxes * * @return {void} */ _mark_area : function() { var visible = $( 'div.postbox:visible' ).length, visibleSortables = $( '#dashboard-widgets .meta-box-sortables:visible, #post-body .meta-box-sortables:visible' ), areAllVisibleSortablesEmpty = true; visibleSortables.each( function() { var t = $(this); if ( visible == 1 || t.children( '.postbox:visible' ).length ) { t.removeClass('empty-container'); areAllVisibleSortablesEmpty = false; } else { t.addClass('empty-container'); } }); postboxes.updateEmptySortablesText( visibleSortables, areAllVisibleSortablesEmpty ); }, /** * Updates the text for the empty sortable areas on the Dashboard. * * @since 5.5.0 * * @param {Object} visibleSortables The jQuery object representing the visible sortable areas. * @param {boolean} areAllVisibleSortablesEmpty Whether all the visible sortable areas are "empty". * * @return {void} */ updateEmptySortablesText: function( visibleSortables, areAllVisibleSortablesEmpty ) { var isDashboard = $( '#dashboard-widgets' ).length, emptySortableText = areAllVisibleSortablesEmpty ? __( 'Add boxes from the Screen Options menu' ) : __( 'Drag boxes here' ); if ( ! isDashboard ) { return; } visibleSortables.each( function() { if ( $( this ).hasClass( 'empty-container' ) ) { $( this ).attr( 'data-emptyString', emptySortableText ); } } ); }, /** * Changes the amount of columns on the post edit page. * * @since 3.3.0 * @access private * * @memberof postboxes * * @fires postboxes#postboxes-columnchange * * @param {number} n The amount of columns to divide the post edit page in. * @return {void} */ _pb_edit : function(n) { var el = $('.metabox-holder').get(0); if ( el ) { el.className = el.className.replace(/columns-\d+/, 'columns-' + n); } /** * Fires when the amount of columns on the post edit page has been changed. * * @since 4.0.0 * @ignore * * @event postboxes#postboxes-columnchange */ $( document ).trigger( 'postboxes-columnchange' ); }, /** * Changes the amount of columns the postboxes are in based on the current * orientation of the browser. * * @since 3.3.0 * @access private * * @memberof postboxes * * @return {void} */ _pb_change : function() { var check = $( 'label.columns-prefs-1 input[type="radio"]' ); switch ( window.orientation ) { case 90: case -90: if ( !check.length || !check.is(':checked') ) this._pb_edit(2); break; case 0: case 180: if ( $( '#poststuff' ).length ) { this._pb_edit(1); } else { if ( !check.length || !check.is(':checked') ) this._pb_edit(2); } break; } }, /* Callbacks */ /** * @since 2.7.0 * @access public * * @property {Function|boolean} pbshow A callback that is called when a postbox * is opened. * @memberof postboxes */ pbshow : false, /** * @since 2.7.0 * @access public * @property {Function|boolean} pbhide A callback that is called when a postbox * is closed. * @memberof postboxes */ pbhide : false }; }(jQuery)); media.min.js 0000644 00000004607 15174671433 0006765 0 ustar 00 /*! This file is auto-generated */ !function(t){window.findPosts={open:function(n,e){var i=t(".ui-find-overlay");return 0===i.length&&(t("body").append('<div class="ui-find-overlay"></div>'),findPosts.overlay()),i.show(),n&&e&&t("#affected").attr("name",n).val(e),t("#find-posts").show(),t("#find-posts-input").trigger("focus").on("keyup",function(n){27==n.which&&findPosts.close()}),findPosts.send(),!1},close:function(){t("#find-posts-response").empty(),t("#find-posts").hide(),t(".ui-find-overlay").hide()},overlay:function(){t(".ui-find-overlay").on("click",function(){findPosts.close()})},send:function(){var n={ps:t("#find-posts-input").val(),action:"find_posts",_ajax_nonce:t("#_ajax_nonce").val()},e=t(".find-box-search .spinner");e.addClass("is-active"),t.ajax(ajaxurl,{type:"POST",data:n,dataType:"json"}).always(function(){e.removeClass("is-active")}).done(function(n){n.success||t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again.")),t("#find-posts-response").html(n.data)}).fail(function(){t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again."))})}},t(function(){var o,n,e=t("#wp-media-grid"),i=new ClipboardJS(".copy-attachment-url.media-library"),s=null;e.length&&window.wp&&window.wp.media&&(n=_wpMediaGridSettings,n=window.wp.media({frame:"manage",container:e,library:n.queryVars}).open(),e.trigger("wp-media-grid-ready",n)),t("#find-posts-submit").on("click",function(n){t('#find-posts-response input[type="radio"]:checked').length||n.preventDefault()}),t("#find-posts .find-box-search :input").on("keypress",function(n){if(13==n.which)return findPosts.send(),!1}),t("#find-posts-search").on("click",findPosts.send),t("#find-posts-close").on("click",findPosts.close),t("#doaction").on("click",function(e){t('select[name="action"]').each(function(){var n=t(this).val();"attach"===n?(e.preventDefault(),findPosts.open()):"delete"!==n||showNotice.warn()||e.preventDefault()})}),t(".find-box-inside").on("click","tr",function(){t(this).find(".found-radio input").prop("checked",!0)}),i.on("success",function(n){var e=t(n.trigger),i=t(".success",e.closest(".copy-to-clipboard-container"));n.clearSelection(),s&&s.addClass("hidden"),clearTimeout(o),i.removeClass("hidden"),o=setTimeout(function(){i.addClass("hidden"),s=null},3e3),s=i,wp.a11y.speak(wp.i18n.__("The file URL has been copied to your clipboard"))})})}(jQuery); application-passwords.js 0000644 00000014372 15174671433 0011452 0 ustar 00 /** * @output wp-admin/js/application-passwords.js */ ( function( $ ) { var $appPassSection = $( '#application-passwords-section' ), $newAppPassForm = $appPassSection.find( '.create-application-password' ), $newAppPassField = $newAppPassForm.find( '.input' ), $newAppPassButton = $newAppPassForm.find( '.button' ), $appPassTwrapper = $appPassSection.find( '.application-passwords-list-table-wrapper' ), $appPassTbody = $appPassSection.find( 'tbody' ), $appPassTrNoItems = $appPassTbody.find( '.no-items' ), $removeAllBtn = $( '#revoke-all-application-passwords' ), tmplNewAppPass = wp.template( 'new-application-password' ), tmplAppPassRow = wp.template( 'application-password-row' ), userId = $( '#user_id' ).val(); $newAppPassButton.on( 'click', function( e ) { e.preventDefault(); if ( $newAppPassButton.prop( 'aria-disabled' ) ) { return; } var name = $newAppPassField.val(); if ( 0 === name.length ) { $newAppPassField.trigger( 'focus' ); return; } clearNotices(); $newAppPassButton.prop( 'aria-disabled', true ).addClass( 'disabled' ); var request = { name: name }; /** * Filters the request data used to create a new Application Password. * * @since 5.6.0 * * @param {Object} request The request data. * @param {number} userId The id of the user the password is added for. */ request = wp.hooks.applyFilters( 'wp_application_passwords_new_password_request', request, userId ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', method: 'POST', data: request } ).always( function() { $newAppPassButton.removeProp( 'aria-disabled' ).removeClass( 'disabled' ); } ).done( function( response ) { $newAppPassField.val( '' ); $newAppPassButton.prop( 'disabled', false ); $newAppPassForm.after( tmplNewAppPass( { name: response.name, password: response.password } ) ); $( '.new-application-password-notice' ).attr( 'tabindex', '-1' ).trigger( 'focus' ); $appPassTbody.prepend( tmplAppPassRow( response ) ); $appPassTwrapper.show(); $appPassTrNoItems.remove(); /** * Fires after an application password has been successfully created. * * @since 5.6.0 * * @param {Object} response The response data from the REST API. * @param {Object} request The request data used to create the password. */ wp.hooks.doAction( 'wp_application_passwords_created_password', response, request ); } ).fail( handleErrorResponse ); } ); $appPassTbody.on( 'click', '.delete', function( e ) { e.preventDefault(); if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke this password? This action cannot be undone.' ) ) ) { return; } var $submitButton = $( this ), $tr = $submitButton.closest( 'tr' ), uuid = $tr.data( 'uuid' ); clearNotices(); $submitButton.prop( 'disabled', true ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords/' + uuid + '?_locale=user', method: 'DELETE' } ).always( function() { $submitButton.prop( 'disabled', false ); } ).done( function( response ) { if ( response.deleted ) { if ( 0 === $tr.siblings().length ) { $appPassTwrapper.hide(); } $tr.remove(); addNotice( wp.i18n.__( 'Application password revoked.' ), 'success' ).trigger( 'focus' ); } } ).fail( handleErrorResponse ); } ); $removeAllBtn.on( 'click', function( e ) { e.preventDefault(); if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke all passwords? This action cannot be undone.' ) ) ) { return; } var $submitButton = $( this ); clearNotices(); $submitButton.prop( 'disabled', true ); wp.apiRequest( { path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', method: 'DELETE' } ).always( function() { $submitButton.prop( 'disabled', false ); } ).done( function( response ) { if ( response.deleted ) { $appPassTbody.children().remove(); $appPassSection.children( '.new-application-password' ).remove(); $appPassTwrapper.hide(); addNotice( wp.i18n.__( 'All application passwords revoked.' ), 'success' ).trigger( 'focus' ); } } ).fail( handleErrorResponse ); } ); $appPassSection.on( 'click', '.notice-dismiss', function( e ) { e.preventDefault(); var $el = $( this ).parent(); $el.removeAttr( 'role' ); $el.fadeTo( 100, 0, function () { $el.slideUp( 100, function () { $el.remove(); $newAppPassField.trigger( 'focus' ); } ); } ); } ); $newAppPassField.on( 'keypress', function ( e ) { if ( 13 === e.which ) { e.preventDefault(); $newAppPassButton.trigger( 'click' ); } } ); // If there are no items, don't display the table yet. If there are, show it. if ( 0 === $appPassTbody.children( 'tr' ).not( $appPassTrNoItems ).length ) { $appPassTwrapper.hide(); } /** * Handles an error response from the REST API. * * @since 5.6.0 * * @param {jqXHR} xhr The XHR object from the ajax call. * @param {string} textStatus The string categorizing the ajax request's status. * @param {string} errorThrown The HTTP status error text. */ function handleErrorResponse( xhr, textStatus, errorThrown ) { var errorMessage = errorThrown; if ( xhr.responseJSON && xhr.responseJSON.message ) { errorMessage = xhr.responseJSON.message; } addNotice( errorMessage, 'error' ); } /** * Displays a message in the Application Passwords section. * * @since 5.6.0 * * @param {string} message The message to display. * @param {string} type The notice type. Either 'success' or 'error'. * @returns {jQuery} The notice element. */ function addNotice( message, type ) { var $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .attr( 'tabindex', '-1' ) .addClass( 'is-dismissible notice notice-' + type ) .append( $( '<p></p>' ).text( message ) ) .append( $( '<button></button>' ) .attr( 'type', 'button' ) .addClass( 'notice-dismiss' ) .append( $( '<span></span>' ).addClass( 'screen-reader-text' ).text( wp.i18n.__( 'Dismiss this notice.' ) ) ) ); $newAppPassForm.after( $notice ); return $notice; } /** * Clears notice messages from the Application Passwords section. * * @since 5.6.0 */ function clearNotices() { $( '.notice', $appPassSection ).remove(); } }( jQuery ) ); media.js 0000644 00000015155 15174671433 0006203 0 ustar 00 /** * Creates a dialog containing posts that can have a particular media attached * to it. * * @since 2.7.0 * @output wp-admin/js/media.js * * @namespace findPosts * * @requires jQuery */ /* global ajaxurl, _wpMediaGridSettings, showNotice, findPosts, ClipboardJS */ ( function( $ ){ window.findPosts = { /** * Opens a dialog to attach media to a post. * * Adds an overlay prior to retrieving a list of posts to attach the media to. * * @since 2.7.0 * * @memberOf findPosts * * @param {string} af_name The name of the affected element. * @param {string} af_val The value of the affected post element. * * @return {boolean} Always returns false. */ open: function( af_name, af_val ) { var overlay = $( '.ui-find-overlay' ); if ( overlay.length === 0 ) { $( 'body' ).append( '<div class="ui-find-overlay"></div>' ); findPosts.overlay(); } overlay.show(); if ( af_name && af_val ) { // #affected is a hidden input field in the dialog that keeps track of which media should be attached. $( '#affected' ).attr( 'name', af_name ).val( af_val ); } $( '#find-posts' ).show(); // Close the dialog when the escape key is pressed. $('#find-posts-input').trigger( 'focus' ).on( 'keyup', function( event ){ if ( event.which == 27 ) { findPosts.close(); } }); // Retrieves a list of applicable posts for media attachment and shows them. findPosts.send(); return false; }, /** * Clears the found posts lists before hiding the attach media dialog. * * @since 2.7.0 * * @memberOf findPosts * * @return {void} */ close: function() { $('#find-posts-response').empty(); $('#find-posts').hide(); $( '.ui-find-overlay' ).hide(); }, /** * Binds a click event listener to the overlay which closes the attach media * dialog. * * @since 3.5.0 * * @memberOf findPosts * * @return {void} */ overlay: function() { $( '.ui-find-overlay' ).on( 'click', function () { findPosts.close(); }); }, /** * Retrieves and displays posts based on the search term. * * Sends a post request to the admin_ajax.php, requesting posts based on the * search term provided by the user. Defaults to all posts if no search term is * provided. * * @since 2.7.0 * * @memberOf findPosts * * @return {void} */ send: function() { var post = { ps: $( '#find-posts-input' ).val(), action: 'find_posts', _ajax_nonce: $('#_ajax_nonce').val() }, spinner = $( '.find-box-search .spinner' ); spinner.addClass( 'is-active' ); /** * Send a POST request to admin_ajax.php, hide the spinner and replace the list * of posts with the response data. If an error occurs, display it. */ $.ajax( ajaxurl, { type: 'POST', data: post, dataType: 'json' }).always( function() { spinner.removeClass( 'is-active' ); }).done( function( x ) { if ( ! x.success ) { $( '#find-posts-response' ).text( wp.i18n.__( 'An error has occurred. Please reload the page and try again.' ) ); } $( '#find-posts-response' ).html( x.data ); }).fail( function() { $( '#find-posts-response' ).text( wp.i18n.__( 'An error has occurred. Please reload the page and try again.' ) ); }); } }; /** * Initializes the file once the DOM is fully loaded and attaches events to the * various form elements. * * @return {void} */ $( function() { var settings, $mediaGridWrap = $( '#wp-media-grid' ), copyAttachmentURLClipboard = new ClipboardJS( '.copy-attachment-url.media-library' ), copyAttachmentURLSuccessTimeout, previousSuccessElement = null; // Opens a manage media frame into the grid. if ( $mediaGridWrap.length && window.wp && window.wp.media ) { settings = _wpMediaGridSettings; var frame = window.wp.media({ frame: 'manage', container: $mediaGridWrap, library: settings.queryVars }).open(); // Fire a global ready event. $mediaGridWrap.trigger( 'wp-media-grid-ready', frame ); } // Prevents form submission if no post has been selected. $( '#find-posts-submit' ).on( 'click', function( event ) { if ( ! $( '#find-posts-response input[type="radio"]:checked' ).length ) event.preventDefault(); }); // Submits the search query when hitting the enter key in the search input. $( '#find-posts .find-box-search :input' ).on( 'keypress', function( event ) { if ( 13 == event.which ) { findPosts.send(); return false; } }); // Binds the click event to the search button. $( '#find-posts-search' ).on( 'click', findPosts.send ); // Binds the close dialog click event. $( '#find-posts-close' ).on( 'click', findPosts.close ); // Binds the bulk action events to the submit buttons. $( '#doaction' ).on( 'click', function( event ) { /* * Handle the bulk action based on its value. */ $( 'select[name="action"]' ).each( function() { var optionValue = $( this ).val(); if ( 'attach' === optionValue ) { event.preventDefault(); findPosts.open(); } else if ( 'delete' === optionValue ) { if ( ! showNotice.warn() ) { event.preventDefault(); } } }); }); /** * Enables clicking on the entire table row. * * @return {void} */ $( '.find-box-inside' ).on( 'click', 'tr', function() { $( this ).find( '.found-radio input' ).prop( 'checked', true ); }); /** * Handles media list copy media URL button. * * @since 6.0.0 * * @param {MouseEvent} event A click event. * @return {void} */ copyAttachmentURLClipboard.on( 'success', function( event ) { var triggerElement = $( event.trigger ), successElement = $( '.success', triggerElement.closest( '.copy-to-clipboard-container' ) ); // Clear the selection and move focus back to the trigger. event.clearSelection(); // Checking if the previousSuccessElement is present, adding the hidden class to it. if ( previousSuccessElement ) { previousSuccessElement.addClass( 'hidden' ); } // Show success visual feedback. clearTimeout( copyAttachmentURLSuccessTimeout ); successElement.removeClass( 'hidden' ); // Hide success visual feedback after 3 seconds since last success and unfocus the trigger. copyAttachmentURLSuccessTimeout = setTimeout( function() { successElement.addClass( 'hidden' ); // No need to store the previous success element further. previousSuccessElement = null; }, 3000 ); previousSuccessElement = successElement; // Handle success audible feedback. wp.a11y.speak( wp.i18n.__( 'The file URL has been copied to your clipboard' ) ); } ); }); })( jQuery ); gallery.js 0000644 00000012647 15174671433 0006566 0 ustar 00 /** * @output wp-admin/js/gallery.js */ /* global unescape, getUserSetting, setUserSetting, wpgallery, tinymce */ jQuery( function($) { var gallerySortable, gallerySortableInit, sortIt, clearAll, w, desc = false; gallerySortableInit = function() { gallerySortable = $('#media-items').sortable( { items: 'div.media-item', placeholder: 'sorthelper', axis: 'y', distance: 2, handle: 'div.filename', stop: function() { // When an update has occurred, adjust the order for each item. var all = $('#media-items').sortable('toArray'), len = all.length; $.each(all, function(i, id) { var order = desc ? (len - i) : (1 + i); $('#' + id + ' .menu_order input').val(order); }); } } ); }; sortIt = function() { var all = $('.menu_order_input'), len = all.length; all.each(function(i){ var order = desc ? (len - i) : (1 + i); $(this).val(order); }); }; clearAll = function(c) { c = c || 0; $('.menu_order_input').each( function() { if ( this.value === '0' || c ) { this.value = ''; } }); }; $('#asc').on( 'click', function( e ) { e.preventDefault(); desc = false; sortIt(); }); $('#desc').on( 'click', function( e ) { e.preventDefault(); desc = true; sortIt(); }); $('#clear').on( 'click', function( e ) { e.preventDefault(); clearAll(1); }); $('#showall').on( 'click', function( e ) { e.preventDefault(); $('#sort-buttons span a').toggle(); $('a.describe-toggle-on').hide(); $('a.describe-toggle-off, table.slidetoggle').show(); $('img.pinkynail').toggle(false); }); $('#hideall').on( 'click', function( e ) { e.preventDefault(); $('#sort-buttons span a').toggle(); $('a.describe-toggle-on').show(); $('a.describe-toggle-off, table.slidetoggle').hide(); $('img.pinkynail').toggle(true); }); // Initialize sortable. gallerySortableInit(); clearAll(); if ( $('#media-items>*').length > 1 ) { w = wpgallery.getWin(); $('#save-all, #gallery-settings').show(); if ( typeof w.tinyMCE !== 'undefined' && w.tinyMCE.activeEditor && ! w.tinyMCE.activeEditor.isHidden() ) { wpgallery.mcemode = true; wpgallery.init(); } else { $('#insert-gallery').show(); } } }); /* gallery settings */ window.tinymce = null; window.wpgallery = { mcemode : false, editor : {}, dom : {}, is_update : false, el : {}, I : function(e) { return document.getElementById(e); }, init: function() { var t = this, li, q, i, it, w = t.getWin(); if ( ! t.mcemode ) { return; } li = ('' + document.location.search).replace(/^\?/, '').split('&'); q = {}; for (i=0; i<li.length; i++) { it = li[i].split('='); q[unescape(it[0])] = unescape(it[1]); } if ( q.mce_rdomain ) { document.domain = q.mce_rdomain; } // Find window & API. window.tinymce = w.tinymce; window.tinyMCE = w.tinyMCE; t.editor = tinymce.EditorManager.activeEditor; t.setup(); }, getWin : function() { return window.dialogArguments || opener || parent || top; }, setup : function() { var t = this, a, ed = t.editor, g, columns, link, order, orderby; if ( ! t.mcemode ) { return; } t.el = ed.selection.getNode(); if ( t.el.nodeName !== 'IMG' || ! ed.dom.hasClass(t.el, 'wpGallery') ) { if ( ( g = ed.dom.select('img.wpGallery') ) && g[0] ) { t.el = g[0]; } else { if ( getUserSetting('galfile') === '1' ) { t.I('linkto-file').checked = 'checked'; } if ( getUserSetting('galdesc') === '1' ) { t.I('order-desc').checked = 'checked'; } if ( getUserSetting('galcols') ) { t.I('columns').value = getUserSetting('galcols'); } if ( getUserSetting('galord') ) { t.I('orderby').value = getUserSetting('galord'); } jQuery('#insert-gallery').show(); return; } } a = ed.dom.getAttrib(t.el, 'title'); a = ed.dom.decode(a); if ( a ) { jQuery('#update-gallery').show(); t.is_update = true; columns = a.match(/columns=['"]([0-9]+)['"]/); link = a.match(/link=['"]([^'"]+)['"]/i); order = a.match(/order=['"]([^'"]+)['"]/i); orderby = a.match(/orderby=['"]([^'"]+)['"]/i); if ( link && link[1] ) { t.I('linkto-file').checked = 'checked'; } if ( order && order[1] ) { t.I('order-desc').checked = 'checked'; } if ( columns && columns[1] ) { t.I('columns').value = '' + columns[1]; } if ( orderby && orderby[1] ) { t.I('orderby').value = orderby[1]; } } else { jQuery('#insert-gallery').show(); } }, update : function() { var t = this, ed = t.editor, all = '', s; if ( ! t.mcemode || ! t.is_update ) { s = '[gallery' + t.getSettings() + ']'; t.getWin().send_to_editor(s); return; } if ( t.el.nodeName !== 'IMG' ) { return; } all = ed.dom.decode( ed.dom.getAttrib( t.el, 'title' ) ); all = all.replace(/\s*(order|link|columns|orderby)=['"]([^'"]+)['"]/gi, ''); all += t.getSettings(); ed.dom.setAttrib(t.el, 'title', all); t.getWin().tb_remove(); }, getSettings : function() { var I = this.I, s = ''; if ( I('linkto-file').checked ) { s += ' link="file"'; setUserSetting('galfile', '1'); } if ( I('order-desc').checked ) { s += ' order="DESC"'; setUserSetting('galdesc', '1'); } if ( I('columns').value !== 3 ) { s += ' columns="' + I('columns').value + '"'; setUserSetting('galcols', I('columns').value); } if ( I('orderby').value !== 'menu_order' ) { s += ' orderby="' + I('orderby').value + '"'; setUserSetting('galord', I('orderby').value); } return s; } }; inline-edit-tax.js 0000644 00000017165 15174671433 0010122 0 ustar 00 /** * This file is used on the term overview page to power quick-editing terms. * * @output wp-admin/js/inline-edit-tax.js */ /* global ajaxurl, inlineEditTax */ window.wp = window.wp || {}; /** * Consists of functions relevant to the inline taxonomy editor. * * @namespace inlineEditTax * * @property {string} type The type of inline edit we are currently on. * @property {string} what The type property with a hash prefixed and a dash * suffixed. */ ( function( $, wp ) { window.inlineEditTax = { /** * Initializes the inline taxonomy editor by adding event handlers to be able to * quick edit. * * @since 2.7.0 * * @this inlineEditTax * @memberof inlineEditTax * @return {void} */ init : function() { var t = this, row = $('#inline-edit'); t.type = $('#the-list').attr('data-wp-lists').substr(5); t.what = '#'+t.type+'-'; $( '#the-list' ).on( 'click', '.editinline', function() { $( this ).attr( 'aria-expanded', 'true' ); inlineEditTax.edit( this ); }); /** * Cancels inline editing when pressing Escape inside the inline editor. * * @param {Object} e The keyup event that has been triggered. */ row.on( 'keyup', function( e ) { // 27 = [Escape]. if ( e.which === 27 ) { return inlineEditTax.revert(); } }); /** * Cancels inline editing when clicking the cancel button. */ $( '.cancel', row ).on( 'click', function() { return inlineEditTax.revert(); }); /** * Saves the inline edits when clicking the save button. */ $( '.save', row ).on( 'click', function() { return inlineEditTax.save(this); }); /** * Saves the inline edits when pressing Enter inside the inline editor. */ $( 'input, select', row ).on( 'keydown', function( e ) { // 13 = [Enter]. if ( e.which === 13 ) { return inlineEditTax.save( this ); } }); /** * Saves the inline edits on submitting the inline edit form. */ $( '#posts-filter input[type="submit"]' ).on( 'mousedown', function() { t.revert(); }); }, /** * Toggles the quick edit based on if it is currently shown or hidden. * * @since 2.7.0 * * @this inlineEditTax * @memberof inlineEditTax * * @param {HTMLElement} el An element within the table row or the table row * itself that we want to quick edit. * @return {void} */ toggle : function(el) { var t = this; $(t.what+t.getId(el)).css('display') === 'none' ? t.revert() : t.edit(el); }, /** * Shows the quick editor * * @since 2.7.0 * * @this inlineEditTax * @memberof inlineEditTax * * @param {string|HTMLElement} id The ID of the term we want to quick edit or an * element within the table row or the * table row itself. * @return {boolean} Always returns false. */ edit : function(id) { var editRow, rowData, val, t = this; t.revert(); // Makes sure we can pass an HTMLElement as the ID. if ( typeof(id) === 'object' ) { id = t.getId(id); } editRow = $('#inline-edit').clone(true), rowData = $('#inline_'+id); $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.wp-list-table.widefat:first thead' ).length ); $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>'); val = $('.name', rowData); val.find( 'img' ).replaceWith( function() { return this.alt; } ); val = val.text(); $(':input[name="name"]', editRow).val( val ); val = $('.slug', rowData); val.find( 'img' ).replaceWith( function() { return this.alt; } ); val = val.text(); $(':input[name="slug"]', editRow).val( val ); $(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show(); $('.ptitle', editRow).eq(0).trigger( 'focus' ); return false; }, /** * Saves the quick edit data. * * Saves the quick edit data to the server and replaces the table row with the * HTML retrieved from the server. * * @since 2.7.0 * * @this inlineEditTax * @memberof inlineEditTax * * @param {string|HTMLElement} id The ID of the term we want to quick edit or an * element within the table row or the * table row itself. * @return {boolean} Always returns false. */ save : function(id) { var params, fields, tax = $('input[name="taxonomy"]').val() || ''; // Makes sure we can pass an HTMLElement as the ID. if( typeof(id) === 'object' ) { id = this.getId(id); } $( 'table.widefat .spinner' ).addClass( 'is-active' ); params = { action: 'inline-save-tax', tax_type: this.type, tax_ID: id, taxonomy: tax }; fields = $('#edit-'+id).find(':input').serialize(); params = fields + '&' + $.param(params); // Do the Ajax request to save the data to the server. $.post( ajaxurl, params, /** * Handles the response from the server * * Handles the response from the server, replaces the table row with the response * from the server. * * @param {string} r The string with which to replace the table row. */ function(r) { var row, new_id, option_value, $errorNotice = $( '#edit-' + id + ' .inline-edit-save .notice-error' ), $error = $errorNotice.find( '.error' ); $( 'table.widefat .spinner' ).removeClass( 'is-active' ); if (r) { if ( -1 !== r.indexOf( '<tr' ) ) { $(inlineEditTax.what+id).siblings('tr.hidden').addBack().remove(); new_id = $(r).attr('id'); $('#edit-'+id).before(r).remove(); if ( new_id ) { option_value = new_id.replace( inlineEditTax.type + '-', '' ); row = $( '#' + new_id ); } else { option_value = id; row = $( inlineEditTax.what + id ); } // Update the value in the Parent dropdown. $( '#parent' ).find( 'option[value=' + option_value + ']' ).text( row.find( '.row-title' ).text() ); row.hide().fadeIn( 400, function() { // Move focus back to the Quick Edit button. row.find( '.editinline' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); wp.a11y.speak( wp.i18n.__( 'Changes saved.' ) ); }); } else { $errorNotice.removeClass( 'hidden' ); $error.html( r ); /* * Some error strings may contain HTML entities (e.g. `“`), let's use * the HTML element's text. */ wp.a11y.speak( $error.text() ); } } else { $errorNotice.removeClass( 'hidden' ); $error.text( wp.i18n.__( 'Error while saving the changes.' ) ); wp.a11y.speak( wp.i18n.__( 'Error while saving the changes.' ) ); } } ); // Prevent submitting the form when pressing Enter on a focused field. return false; }, /** * Closes the quick edit form. * * @since 2.7.0 * * @this inlineEditTax * @memberof inlineEditTax * @return {void} */ revert : function() { var id = $('table.widefat tr.inline-editor').attr('id'); if ( id ) { $( 'table.widefat .spinner' ).removeClass( 'is-active' ); $('#'+id).siblings('tr.hidden').addBack().remove(); id = id.substr( id.lastIndexOf('-') + 1 ); // Show the taxonomy row and move focus back to the Quick Edit button. $( this.what + id ).show().find( '.editinline' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); } }, /** * Retrieves the ID of the term of the element inside the table row. * * @since 2.7.0 * * @memberof inlineEditTax * * @param {HTMLElement} o An element within the table row or the table row itself. * @return {string} The ID of the term based on the element. */ getId : function(o) { var id = o.tagName === 'TR' ? o.id : $(o).parents('tr').attr('id'), parts = id.split('-'); return parts[parts.length - 1]; } }; $( function() { inlineEditTax.init(); } ); })( jQuery, window.wp ); site-health.min.js 0000644 00000014212 15174671433 0010106 0 ustar 00 /*! This file is auto-generated */ jQuery(function(o){var a,l=wp.i18n.__,n=wp.i18n._n,r=wp.i18n.sprintf,e=new ClipboardJS(".site-health-copy-buttons .copy-button"),c=o(".health-check-body.health-check-status-tab").length,t=o(".health-check-body.health-check-debug-tab").length,i=o("#health-check-accordion-block-wp-paths-sizes"),h=o("#adminmenu .site-health-counter"),u=o("#adminmenu .site-health-counter .count");function d(e){var t,s,a=wp.template("health-check-issue"),i=o("#health-check-issues-"+e.status);!function(e){var t,s,a,i,n={test:"string",label:"string",description:"string"},o=!0;if("object"==typeof e){for(t in n)if("object"==typeof(s=n[t]))for(a in s)i=s[a],void 0!==e[t]&&void 0!==e[t][a]&&i===typeof e[t][a]||(o=!1);else void 0!==e[t]&&s===typeof e[t]||(o=!1);return o}}(e)||(SiteHealth.site_status.issues[e.status]++,s=SiteHealth.site_status.issues[e.status],void 0===e.test&&(e.test=e.status+s),"critical"===e.status?t=r(n("%s critical issue","%s critical issues",s),'<span class="issue-count">'+s+"</span>"):"recommended"===e.status?t=r(n("%s recommended improvement","%s recommended improvements",s),'<span class="issue-count">'+s+"</span>"):"good"===e.status&&(t=r(n("%s item with no issues detected","%s items with no issues detected",s),'<span class="issue-count">'+s+"</span>")),t&&o(".site-health-issue-count-title",i).html(t),u.text(SiteHealth.site_status.issues.critical),0<parseInt(SiteHealth.site_status.issues.critical,0)?(o("#health-check-issues-critical").removeClass("hidden"),h.removeClass("count-0")):h.addClass("count-0"),0<parseInt(SiteHealth.site_status.issues.recommended,0)&&o("#health-check-issues-recommended").removeClass("hidden"),o(".issues","#health-check-issues-"+e.status).append(a(e)))}function p(){var e=o(".site-health-progress"),t=e.closest(".site-health-progress-wrapper"),s=o(".site-health-progress-label",t),a=o(".site-health-progress svg #bar"),i=parseInt(SiteHealth.site_status.issues.good,0)+parseInt(SiteHealth.site_status.issues.recommended,0)+1.5*parseInt(SiteHealth.site_status.issues.critical,0),n=.5*parseInt(SiteHealth.site_status.issues.recommended,0)+1.5*parseInt(SiteHealth.site_status.issues.critical,0),n=100-Math.ceil(n/i*100);0===i?e.addClass("hidden"):(t.removeClass("loading"),i=a.attr("r"),e=Math.PI*(2*i),a.css({strokeDashoffset:(100-(n=100<(n=n<0?0:n)?100:n))/100*e+"px"}),80<=n&&0===parseInt(SiteHealth.site_status.issues.critical,0)?(t.addClass("green").removeClass("orange"),s.text(l("Good")),g("good")):(t.addClass("orange").removeClass("green"),s.text(l("Should be improved")),g("improvable")),c&&(o.post(ajaxurl,{action:"health-check-site-status-result",_wpnonce:SiteHealth.nonce.site_status_result,counts:SiteHealth.site_status.issues}),100===n)&&(o(".site-status-all-clear").removeClass("hide"),o(".site-status-has-issues").addClass("hide")))}function m(e,t){e={status:"recommended",label:l("A test is unavailable"),badge:{color:"red",label:l("Unavailable")},description:"<p>"+e+"</p><p>"+t+"</p>",actions:""};d(wp.hooks.applyFilters("site_status_test_result",e))}function s(){var t=(new Date).getTime(),s=window.setTimeout(function(){g("waiting-for-directory-sizes")},3e3);wp.apiRequest({path:"/wp-site-health/v1/directory-sizes"}).done(function(e){var a,s;a=e||{},e=o("button.button.copy-button"),s=e.attr("data-clipboard-text"),o.each(a,function(e,t){t=t.debug||t.size;void 0!==t&&(s=s.replace(e+": loading...",e+": "+t))}),e.attr("data-clipboard-text",s),i.find("td[class]").each(function(e,t){var t=o(t),s=t.attr("class");a.hasOwnProperty(s)&&a[s].size&&t.text(a[s].size)})}).always(function(){var e=(new Date).getTime()-t;o(".health-check-wp-paths-sizes.spinner").css("visibility","hidden"),3e3<e?(e=6e3<e?0:6500-e,window.setTimeout(function(){p()},e)):window.clearTimeout(s),o(document).trigger("site-health-info-dirsizes-done")})}function g(e){if("site-health"===SiteHealth.screen)switch(e){case"good":wp.a11y.speak(l("All site health tests have finished running. Your site is looking good."));break;case"improvable":wp.a11y.speak(l("All site health tests have finished running. There are items that should be addressed."));break;case"waiting-for-directory-sizes":wp.a11y.speak(l("Running additional tests... please wait."))}}e.on("success",function(e){var t=o(e.trigger),s=o(".success",t.closest("div"));e.clearSelection(),clearTimeout(a),s.removeClass("hidden"),a=setTimeout(function(){s.addClass("hidden")},3e3),wp.a11y.speak(l("Site information has been copied to your clipboard."))}),o(".health-check-accordion").on("click",".health-check-accordion-trigger",function(){"true"===o(this).attr("aria-expanded")?(o(this).attr("aria-expanded","false"),o("#"+o(this).attr("aria-controls")).attr("hidden",!0)):(o(this).attr("aria-expanded","true"),o("#"+o(this).attr("aria-controls")).attr("hidden",!1))}),o(".site-health-view-passed").on("click",function(){var e=o("#health-check-issues-good");e.toggleClass("hidden"),o(this).attr("aria-expanded",!e.hasClass("hidden"))}),"undefined"!=typeof SiteHealth&&(0===SiteHealth.site_status.direct.length&&0===SiteHealth.site_status.async.length?p():SiteHealth.site_status.issues={good:0,recommended:0,critical:0},0<SiteHealth.site_status.direct.length&&o.each(SiteHealth.site_status.direct,function(){d(this)}),(0<SiteHealth.site_status.async.length?function t(){var s=!0;1<=SiteHealth.site_status.async.length&&o.each(SiteHealth.site_status.async,function(){var e={action:"health-check-"+this.test.replace("_","-"),_wpnonce:SiteHealth.nonce.site_status};return!!this.completed||(s=!1,this.completed=!0,(void 0!==this.has_rest&&this.has_rest?wp.apiRequest({url:wp.url.addQueryArgs(this.test,{_locale:"user"}),headers:this.headers}).done(function(e){d(wp.hooks.applyFilters("site_status_test_result",e))}).fail(function(e){e=void 0!==e.responseJSON&&void 0!==e.responseJSON.message?e.responseJSON.message:l("No details available"),m(this.url,e)}):o.post(ajaxurl,e).done(function(e){d(wp.hooks.applyFilters("site_status_test_result",e.data))}).fail(function(e){e=void 0!==e.responseJSON&&void 0!==e.responseJSON.message?e.responseJSON.message:l("No details available"),m(this.url,e)})).always(function(){t()}),!1)}),s&&p()}:p)()),t&&(i.length?s:p)(),o(".health-check-offscreen-nav-wrapper").on("click",function(){o(this).toggleClass("visible")})}); widgets.js 0000644 00000055072 15174671433 0006574 0 ustar 00 /** * @output wp-admin/js/widgets.js */ /* global ajaxurl, isRtl, wpWidgets */ (function($) { var $document = $( document ); window.wpWidgets = { /** * A closed Sidebar that gets a Widget dragged over it. * * @var {element|null} */ hoveredSidebar: null, /** * Lookup of which widgets have had change events triggered. * * @var {object} */ dirtyWidgets: {}, init : function() { var rem, the_id, self = this, chooser = $('.widgets-chooser'), selectSidebar = chooser.find('.widgets-chooser-sidebars'), sidebars = $('div.widgets-sortables'), isRTL = !! ( 'undefined' !== typeof isRtl && isRtl ); // Handle the widgets containers in the right column. $( '#widgets-right .sidebar-name' ) /* * Toggle the widgets containers when clicked and update the toggle * button `aria-expanded` attribute value. */ .on( 'click', function() { var $this = $( this ), $wrap = $this.closest( '.widgets-holder-wrap '), $toggle = $this.find( '.handlediv' ); if ( $wrap.hasClass( 'closed' ) ) { $wrap.removeClass( 'closed' ); $toggle.attr( 'aria-expanded', 'true' ); // Refresh the jQuery UI sortable items. $this.parent().sortable( 'refresh' ); } else { $wrap.addClass( 'closed' ); $toggle.attr( 'aria-expanded', 'false' ); } // Update the admin menu "sticky" state. $document.triggerHandler( 'wp-pin-menu' ); }) /* * Set the initial `aria-expanded` attribute value on the widgets * containers toggle button. The first one is expanded by default. */ .find( '.handlediv' ).each( function( index ) { if ( 0 === index ) { // jQuery equivalent of `continue` within an `each()` loop. return; } $( this ).attr( 'aria-expanded', 'false' ); }); // Show AYS dialog when there are unsaved widget changes. $( window ).on( 'beforeunload.widgets', function( event ) { var dirtyWidgetIds = [], unsavedWidgetsElements; $.each( self.dirtyWidgets, function( widgetId, dirty ) { if ( dirty ) { dirtyWidgetIds.push( widgetId ); } }); if ( 0 !== dirtyWidgetIds.length ) { unsavedWidgetsElements = $( '#widgets-right' ).find( '.widget' ).filter( function() { return -1 !== dirtyWidgetIds.indexOf( $( this ).prop( 'id' ).replace( /^widget-\d+_/, '' ) ); }); unsavedWidgetsElements.each( function() { if ( ! $( this ).hasClass( 'open' ) ) { $( this ).find( '.widget-title-action:first' ).trigger( 'click' ); } }); // Bring the first unsaved widget into view and focus on the first tabbable field. unsavedWidgetsElements.first().each( function() { if ( this.scrollIntoViewIfNeeded ) { this.scrollIntoViewIfNeeded(); } else { this.scrollIntoView(); } $( this ).find( '.widget-inside :tabbable:first' ).trigger( 'focus' ); } ); event.returnValue = wp.i18n.__( 'The changes you made will be lost if you navigate away from this page.' ); return event.returnValue; } }); // Handle the widgets containers in the left column. $( '#widgets-left .sidebar-name' ).on( 'click', function() { var $wrap = $( this ).closest( '.widgets-holder-wrap' ); $wrap .toggleClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', ! $wrap.hasClass( 'closed' ) ); // Update the admin menu "sticky" state. $document.triggerHandler( 'wp-pin-menu' ); }); $(document.body).on('click.widgets-toggle', function(e) { var target = $(e.target), css = {}, widget, inside, targetWidth, widgetWidth, margin, saveButton, widgetId, toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); if ( target.parents('.widget-top').length && ! target.parents('#available-widgets').length ) { widget = target.closest('div.widget'); inside = widget.children('.widget-inside'); targetWidth = parseInt( widget.find('input.widget-width').val(), 10 ); widgetWidth = widget.parent().width(); widgetId = inside.find( '.widget-id' ).val(); // Save button is initially disabled, but is enabled when a field is changed. if ( ! widget.data( 'dirty-state-initialized' ) ) { saveButton = inside.find( '.widget-control-save' ); saveButton.prop( 'disabled', true ).val( wp.i18n.__( 'Saved' ) ); inside.on( 'input change', function() { self.dirtyWidgets[ widgetId ] = true; widget.addClass( 'widget-dirty' ); saveButton.prop( 'disabled', false ).val( wp.i18n.__( 'Save' ) ); }); widget.data( 'dirty-state-initialized', true ); } if ( inside.is(':hidden') ) { if ( targetWidth > 250 && ( targetWidth + 30 > widgetWidth ) && widget.closest('div.widgets-sortables').length ) { if ( widget.closest('div.widget-liquid-right').length ) { margin = isRTL ? 'margin-right' : 'margin-left'; } else { margin = isRTL ? 'margin-left' : 'margin-right'; } css[ margin ] = widgetWidth - ( targetWidth + 30 ) + 'px'; widget.css( css ); } /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'true' ); inside.slideDown( 'fast', function() { widget.addClass( 'open' ); }); } else { /* * Don't change the order of attributes changes and animation: * it's important for screen readers, see ticket #31476. */ toggleBtn.attr( 'aria-expanded', 'false' ); inside.slideUp( 'fast', function() { widget.attr( 'style', '' ); widget.removeClass( 'open' ); }); } } else if ( target.hasClass('widget-control-save') ) { wpWidgets.save( target.closest('div.widget'), 0, 1, 0 ); e.preventDefault(); } else if ( target.hasClass('widget-control-remove') ) { wpWidgets.save( target.closest('div.widget'), 1, 1, 0 ); } else if ( target.hasClass('widget-control-close') ) { widget = target.closest('div.widget'); widget.removeClass( 'open' ); toggleBtn.attr( 'aria-expanded', 'false' ); wpWidgets.close( widget ); } else if ( target.attr( 'id' ) === 'inactive-widgets-control-remove' ) { wpWidgets.removeInactiveWidgets(); e.preventDefault(); } }); sidebars.children('.widget').each( function() { var $this = $(this); wpWidgets.appendTitle( this ); if ( $this.find( 'p.widget-error' ).length ) { $this.find( '.widget-action' ).trigger( 'click' ).attr( 'aria-expanded', 'true' ); } }); $('#widget-list').children('.widget').draggable({ connectToSortable: 'div.widgets-sortables', handle: '> .widget-top > .widget-title', distance: 2, helper: 'clone', zIndex: 101, containment: '#wpwrap', refreshPositions: true, start: function( event, ui ) { var chooser = $(this).find('.widgets-chooser'); ui.helper.find('div.widget-description').hide(); the_id = this.id; if ( chooser.length ) { // Hide the chooser and move it out of the widget. $( '#wpbody-content' ).append( chooser.hide() ); // Delete the cloned chooser from the drag helper. ui.helper.find('.widgets-chooser').remove(); self.clearWidgetSelection(); } }, stop: function() { if ( rem ) { $(rem).hide(); } rem = ''; } }); /** * Opens and closes previously closed Sidebars when Widgets are dragged over/out of them. */ sidebars.droppable( { tolerance: 'intersect', /** * Open Sidebar when a Widget gets dragged over it. * * @ignore * * @param {Object} event jQuery event object. */ over: function( event ) { var $wrap = $( event.target ).parent(); if ( wpWidgets.hoveredSidebar && ! $wrap.is( wpWidgets.hoveredSidebar ) ) { // Close the previous Sidebar as the Widget has been dragged onto another Sidebar. wpWidgets.closeSidebar( event ); } if ( $wrap.hasClass( 'closed' ) ) { wpWidgets.hoveredSidebar = $wrap; $wrap .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); } $( this ).sortable( 'refresh' ); }, /** * Close Sidebar when the Widget gets dragged out of it. * * @ignore * * @param {Object} event jQuery event object. */ out: function( event ) { if ( wpWidgets.hoveredSidebar ) { wpWidgets.closeSidebar( event ); } } } ); sidebars.sortable({ placeholder: 'widget-placeholder', items: '> .widget', handle: '> .widget-top > .widget-title', cursor: 'move', distance: 2, containment: '#wpwrap', tolerance: 'pointer', refreshPositions: true, start: function( event, ui ) { var height, $this = $(this), $wrap = $this.parent(), inside = ui.item.children('.widget-inside'); if ( inside.css('display') === 'block' ) { ui.item.removeClass('open'); ui.item.find( '.widget-top button.widget-action' ).attr( 'aria-expanded', 'false' ); inside.hide(); $(this).sortable('refreshPositions'); } if ( ! $wrap.hasClass('closed') ) { // Lock all open sidebars min-height when starting to drag. // Prevents jumping when dragging a widget from an open sidebar to a closed sidebar below. height = ui.item.hasClass('ui-draggable') ? $this.height() : 1 + $this.height(); $this.css( 'min-height', height + 'px' ); } }, stop: function( event, ui ) { var addNew, widgetNumber, $sidebar, $children, child, item, $widget = ui.item, id = the_id; // Reset the var to hold a previously closed sidebar. wpWidgets.hoveredSidebar = null; if ( $widget.hasClass('deleting') ) { wpWidgets.save( $widget, 1, 0, 1 ); // Delete widget. $widget.remove(); return; } addNew = $widget.find('input.add_new').val(); widgetNumber = $widget.find('input.multi_number').val(); $widget.attr( 'style', '' ).removeClass('ui-draggable'); the_id = ''; if ( addNew ) { if ( 'multi' === addNew ) { $widget.html( $widget.html().replace( /<[^<>]+>/g, function( tag ) { return tag.replace( /__i__|%i%/g, widgetNumber ); }) ); $widget.attr( 'id', id.replace( '__i__', widgetNumber ) ); widgetNumber++; $( 'div#' + id ).find( 'input.multi_number' ).val( widgetNumber ); } else if ( 'single' === addNew ) { $widget.attr( 'id', 'new-' + id ); rem = 'div#' + id; } wpWidgets.save( $widget, 0, 0, 1 ); $widget.find('input.add_new').val(''); $document.trigger( 'widget-added', [ $widget ] ); } $sidebar = $widget.parent(); if ( $sidebar.parent().hasClass('closed') ) { $sidebar.parent() .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); $children = $sidebar.children('.widget'); // Make sure the dropped widget is at the top. if ( $children.length > 1 ) { child = $children.get(0); item = $widget.get(0); if ( child.id && item.id && child.id !== item.id ) { $( child ).before( $widget ); } } } if ( addNew ) { $widget.find( '.widget-action' ).trigger( 'click' ); } else { wpWidgets.saveOrder( $sidebar.attr('id') ); } }, activate: function() { $(this).parent().addClass( 'widget-hover' ); }, deactivate: function() { // Remove all min-height added on "start". $(this).css( 'min-height', '' ).parent().removeClass( 'widget-hover' ); }, receive: function( event, ui ) { var $sender = $( ui.sender ); // Don't add more widgets to orphaned sidebars. if ( this.id.indexOf('orphaned_widgets') > -1 ) { $sender.sortable('cancel'); return; } // If the last widget was moved out of an orphaned sidebar, close and remove it. if ( $sender.attr('id').indexOf('orphaned_widgets') > -1 && ! $sender.children('.widget').length ) { $sender.parents('.orphan-sidebar').slideUp( 400, function(){ $(this).remove(); } ); } } }).sortable( 'option', 'connectWith', 'div.widgets-sortables' ); $('#available-widgets').droppable({ tolerance: 'pointer', accept: function(o){ return $(o).parent().attr('id') !== 'widget-list'; }, drop: function(e,ui) { ui.draggable.addClass('deleting'); $('#removing-widget').hide().children('span').empty(); }, over: function(e,ui) { ui.draggable.addClass('deleting'); $('div.widget-placeholder').hide(); if ( ui.draggable.hasClass('ui-sortable-helper') ) { $('#removing-widget').show().children('span') .html( ui.draggable.find( 'div.widget-title' ).children( 'h3' ).html() ); } }, out: function(e,ui) { ui.draggable.removeClass('deleting'); $('div.widget-placeholder').show(); $('#removing-widget').hide().children('span').empty(); } }); // Area Chooser. $( '#widgets-right .widgets-holder-wrap' ).each( function( index, element ) { var $element = $( element ), name = $element.find( '.sidebar-name h2' ).text() || '', ariaLabel = $element.find( '.sidebar-name' ).data( 'add-to' ), id = $element.find( '.widgets-sortables' ).attr( 'id' ), li = $( '<li>' ), button = $( '<button>', { type: 'button', 'aria-pressed': 'false', 'class': 'widgets-chooser-button', 'aria-label': ariaLabel } ).text( name.toString().trim() ); li.append( button ); if ( index === 0 ) { li.addClass( 'widgets-chooser-selected' ); button.attr( 'aria-pressed', 'true' ); } selectSidebar.append( li ); li.data( 'sidebarId', id ); }); $( '#available-widgets .widget .widget-top' ).on( 'click.widgets-chooser', function() { var $widget = $( this ).closest( '.widget' ), toggleButton = $( this ).find( '.widget-action' ), chooserButtons = selectSidebar.find( '.widgets-chooser-button' ); if ( $widget.hasClass( 'widget-in-question' ) || $( '#widgets-left' ).hasClass( 'chooser' ) ) { toggleButton.attr( 'aria-expanded', 'false' ); self.closeChooser(); } else { // Open the chooser. self.clearWidgetSelection(); $( '#widgets-left' ).addClass( 'chooser' ); // Add CSS class and insert the chooser after the widget description. $widget.addClass( 'widget-in-question' ).children( '.widget-description' ).after( chooser ); // Open the chooser with a slide down animation. chooser.slideDown( 300, function() { // Update the toggle button aria-expanded attribute after previous DOM manipulations. toggleButton.attr( 'aria-expanded', 'true' ); }); chooserButtons.on( 'click.widgets-chooser', function() { selectSidebar.find( '.widgets-chooser-selected' ).removeClass( 'widgets-chooser-selected' ); chooserButtons.attr( 'aria-pressed', 'false' ); $( this ) .attr( 'aria-pressed', 'true' ) .closest( 'li' ).addClass( 'widgets-chooser-selected' ); } ); } }); // Add event handlers. chooser.on( 'click.widgets-chooser', function( event ) { var $target = $( event.target ); if ( $target.hasClass('button-primary') ) { self.addWidget( chooser ); self.closeChooser(); } else if ( $target.hasClass( 'widgets-chooser-cancel' ) ) { self.closeChooser(); } }).on( 'keyup.widgets-chooser', function( event ) { if ( event.which === $.ui.keyCode.ESCAPE ) { self.closeChooser(); } }); }, saveOrder : function( sidebarId ) { var data = { action: 'widgets-order', savewidgets: $('#_wpnonce_widgets').val(), sidebars: [] }; if ( sidebarId ) { $( '#' + sidebarId ).find( '.spinner:first' ).addClass( 'is-active' ); } $('div.widgets-sortables').each( function() { if ( $(this).sortable ) { data['sidebars[' + $(this).attr('id') + ']'] = $(this).sortable('toArray').join(','); } }); $.post( ajaxurl, data, function() { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); $( '.spinner' ).removeClass( 'is-active' ); }); }, save : function( widget, del, animate, order ) { var self = this, data, a, sidebarId = widget.closest( 'div.widgets-sortables' ).attr( 'id' ), form = widget.find( 'form' ), isAdd = widget.find( 'input.add_new' ).val(); if ( ! del && ! isAdd && form.prop( 'checkValidity' ) && ! form[0].checkValidity() ) { return; } data = form.serialize(); widget = $(widget); $( '.spinner', widget ).addClass( 'is-active' ); a = { action: 'save-widget', savewidgets: $('#_wpnonce_widgets').val(), sidebar: sidebarId }; if ( del ) { a.delete_widget = 1; } data += '&' + $.param(a); $.post( ajaxurl, data, function(r) { var id = $('input.widget-id', widget).val(); if ( del ) { if ( ! $('input.widget_number', widget).val() ) { $('#available-widgets').find('input.widget-id').each(function(){ if ( $(this).val() === id ) { $(this).closest('div.widget').show(); } }); } if ( animate ) { order = 0; widget.slideUp( 'fast', function() { $( this ).remove(); wpWidgets.saveOrder(); delete self.dirtyWidgets[ id ]; }); } else { widget.remove(); delete self.dirtyWidgets[ id ]; if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } else { $( '.spinner' ).removeClass( 'is-active' ); if ( r && r.length > 2 ) { $( 'div.widget-content', widget ).html( r ); wpWidgets.appendTitle( widget ); // Re-disable the save button. widget.find( '.widget-control-save' ).prop( 'disabled', true ).val( wp.i18n.__( 'Saved' ) ); widget.removeClass( 'widget-dirty' ); // Clear the dirty flag from the widget. delete self.dirtyWidgets[ id ]; $document.trigger( 'widget-updated', [ widget ] ); if ( sidebarId === 'wp_inactive_widgets' ) { $( '#inactive-widgets-control-remove' ).prop( 'disabled' , ! $( '#wp_inactive_widgets .widget' ).length ); } } } if ( order ) { wpWidgets.saveOrder(); } }); }, removeInactiveWidgets : function() { var $element = $( '.remove-inactive-widgets' ), self = this, a, data; $( '.spinner', $element ).addClass( 'is-active' ); a = { action : 'delete-inactive-widgets', removeinactivewidgets : $( '#_wpnonce_remove_inactive_widgets' ).val() }; data = $.param( a ); $.post( ajaxurl, data, function() { $( '#wp_inactive_widgets .widget' ).each(function() { var $widget = $( this ); delete self.dirtyWidgets[ $widget.find( 'input.widget-id' ).val() ]; $widget.remove(); }); $( '#inactive-widgets-control-remove' ).prop( 'disabled', true ); $( '.spinner', $element ).removeClass( 'is-active' ); } ); }, appendTitle : function(widget) { var title = $('input[id*="-title"]', widget).val() || ''; if ( title ) { title = ': ' + title.replace(/<[^<>]+>/g, '').replace(/</g, '<').replace(/>/g, '>'); } $(widget).children('.widget-top').children('.widget-title').children() .children('.in-widget-title').html(title); }, close : function(widget) { widget.children('.widget-inside').slideUp('fast', function() { widget.attr( 'style', '' ) .find( '.widget-top button.widget-action' ) .attr( 'aria-expanded', 'false' ) .focus(); }); }, addWidget: function( chooser ) { var widget, widgetId, add, n, viewportTop, viewportBottom, sidebarBounds, sidebarId = chooser.find( '.widgets-chooser-selected' ).data('sidebarId'), sidebar = $( '#' + sidebarId ); widget = $('#available-widgets').find('.widget-in-question').clone(); widgetId = widget.attr('id'); add = widget.find( 'input.add_new' ).val(); n = widget.find( 'input.multi_number' ).val(); // Remove the cloned chooser from the widget. widget.find('.widgets-chooser').remove(); if ( 'multi' === add ) { widget.html( widget.html().replace( /<[^<>]+>/g, function(m) { return m.replace( /__i__|%i%/g, n ); }) ); widget.attr( 'id', widgetId.replace( '__i__', n ) ); n++; $( '#' + widgetId ).find('input.multi_number').val(n); } else if ( 'single' === add ) { widget.attr( 'id', 'new-' + widgetId ); $( '#' + widgetId ).hide(); } // Open the widgets container. sidebar.closest( '.widgets-holder-wrap' ) .removeClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'true' ); sidebar.append( widget ); sidebar.sortable('refresh'); wpWidgets.save( widget, 0, 0, 1 ); // No longer "new" widget. widget.find( 'input.add_new' ).val(''); $document.trigger( 'widget-added', [ widget ] ); /* * Check if any part of the sidebar is visible in the viewport. If it is, don't scroll. * Otherwise, scroll up to so the sidebar is in view. * * We do this by comparing the top and bottom, of the sidebar so see if they are within * the bounds of the viewport. */ viewportTop = $(window).scrollTop(); viewportBottom = viewportTop + $(window).height(); sidebarBounds = sidebar.offset(); sidebarBounds.bottom = sidebarBounds.top + sidebar.outerHeight(); if ( viewportTop > sidebarBounds.bottom || viewportBottom < sidebarBounds.top ) { $( 'html, body' ).animate({ scrollTop: sidebarBounds.top - 130 }, 200 ); } window.setTimeout( function() { // Cannot use a callback in the animation above as it fires twice, // have to queue this "by hand". widget.find( '.widget-title' ).trigger('click'); // At the end of the animation, announce the widget has been added. window.wp.a11y.speak( wp.i18n.__( 'Widget has been added to the selected sidebar' ), 'assertive' ); }, 250 ); }, closeChooser: function() { var self = this, widgetInQuestion = $( '#available-widgets .widget-in-question' ); $( '.widgets-chooser' ).slideUp( 200, function() { $( '#wpbody-content' ).append( this ); self.clearWidgetSelection(); // Move focus back to the toggle button. widgetInQuestion.find( '.widget-action' ).attr( 'aria-expanded', 'false' ).focus(); }); }, clearWidgetSelection: function() { $( '#widgets-left' ).removeClass( 'chooser' ); $( '.widget-in-question' ).removeClass( 'widget-in-question' ); }, /** * Closes a Sidebar that was previously closed, but opened by dragging a Widget over it. * * Used when a Widget gets dragged in/out of the Sidebar and never dropped. * * @param {Object} event jQuery event object. */ closeSidebar: function( event ) { this.hoveredSidebar .addClass( 'closed' ) .find( '.handlediv' ).attr( 'aria-expanded', 'false' ); $( event.target ).css( 'min-height', '' ); this.hoveredSidebar = null; } }; $( function(){ wpWidgets.init(); } ); })(jQuery); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.9.0 * @deprecated 5.5.0 * * @type {object} */ wpWidgets.l10n = wpWidgets.l10n || { save: '', saved: '', saveAlert: '', widgetAdded: '' }; wpWidgets.l10n = window.wp.deprecateL10nObject( 'wpWidgets.l10n', wpWidgets.l10n, '5.5.0' ); nav-menu.js 0000644 00000172231 15174671433 0006651 0 ustar 00 /** * WordPress Administration Navigation Menu * Interface JS functions * * @version 2.0.0 * * @package WordPress * @subpackage Administration * @output wp-admin/js/nav-menu.js */ /* global menus, postboxes, columns, isRtl, ajaxurl, wpNavMenu */ (function($) { var api; /** * Contains all the functions to handle WordPress navigation menus administration. * * @namespace wpNavMenu */ api = window.wpNavMenu = { options : { menuItemDepthPerLevel : 30, // Do not use directly. Use depthToPx and pxToDepth instead. globalMaxDepth: 11, sortableItems: '> *', targetTolerance: 0 }, menuList : undefined, // Set in init. targetList : undefined, // Set in init. menusChanged : false, isRTL: !! ( 'undefined' != typeof isRtl && isRtl ), negateIfRTL: ( 'undefined' != typeof isRtl && isRtl ) ? -1 : 1, lastSearch: '', // Functions that run on init. init : function() { api.menuList = $('#menu-to-edit'); api.targetList = api.menuList; this.jQueryExtensions(); this.attachMenuEditListeners(); this.attachBulkSelectButtonListeners(); this.attachMenuCheckBoxListeners(); this.attachMenuItemDeleteButton(); this.attachPendingMenuItemsListForDeletion(); this.attachQuickSearchListeners(); this.attachThemeLocationsListeners(); this.attachMenuSaveSubmitListeners(); this.attachTabsPanelListeners(); this.attachUnsavedChangesListener(); if ( api.menuList.length ) this.initSortables(); if ( menus.oneThemeLocationNoMenus ) $( '#posttype-page' ).addSelectedToMenu( api.addMenuItemToBottom ); this.initManageLocations(); this.initAccessibility(); this.initToggles(); this.initPreviewing(); }, jQueryExtensions : function() { // jQuery extensions. $.fn.extend({ menuItemDepth : function() { var margin = api.isRTL ? this.eq(0).css('margin-right') : this.eq(0).css('margin-left'); return api.pxToDepth( margin && -1 != margin.indexOf('px') ? margin.slice(0, -2) : 0 ); }, updateDepthClass : function(current, prev) { return this.each(function(){ var t = $(this); prev = prev || t.menuItemDepth(); $(this).removeClass('menu-item-depth-'+ prev ) .addClass('menu-item-depth-'+ current ); }); }, shiftDepthClass : function(change) { return this.each(function(){ var t = $(this), depth = t.menuItemDepth(), newDepth = depth + change; t.removeClass( 'menu-item-depth-'+ depth ) .addClass( 'menu-item-depth-'+ ( newDepth ) ); if ( 0 === newDepth ) { t.find( '.is-submenu' ).hide(); } }); }, childMenuItems : function() { var result = $(); this.each(function(){ var t = $(this), depth = t.menuItemDepth(), next = t.next( '.menu-item' ); while( next.length && next.menuItemDepth() > depth ) { result = result.add( next ); next = next.next( '.menu-item' ); } }); return result; }, shiftHorizontally : function( dir ) { return this.each(function(){ var t = $(this), depth = t.menuItemDepth(), newDepth = depth + dir; // Change .menu-item-depth-n class. t.moveHorizontally( newDepth, depth ); }); }, moveHorizontally : function( newDepth, depth ) { return this.each(function(){ var t = $(this), children = t.childMenuItems(), diff = newDepth - depth, subItemText = t.find('.is-submenu'); // Change .menu-item-depth-n class. t.updateDepthClass( newDepth, depth ).updateParentMenuItemDBId(); // If it has children, move those too. if ( children ) { children.each(function() { var t = $(this), thisDepth = t.menuItemDepth(), newDepth = thisDepth + diff; t.updateDepthClass(newDepth, thisDepth).updateParentMenuItemDBId(); }); } // Show "Sub item" helper text. if (0 === newDepth) subItemText.hide(); else subItemText.show(); }); }, updateParentMenuItemDBId : function() { return this.each(function(){ var item = $(this), input = item.find( '.menu-item-data-parent-id' ), depth = parseInt( item.menuItemDepth(), 10 ), parentDepth = depth - 1, parent = item.prevAll( '.menu-item-depth-' + parentDepth ).first(); if ( 0 === depth ) { // Item is on the top level, has no parent. input.val(0); } else { // Find the parent item, and retrieve its object id. input.val( parent.find( '.menu-item-data-db-id' ).val() ); } }); }, hideAdvancedMenuItemFields : function() { return this.each(function(){ var that = $(this); $('.hide-column-tog').not(':checked').each(function(){ that.find('.field-' + $(this).val() ).addClass('hidden-field'); }); }); }, /** * Adds selected menu items to the menu. * * @ignore * * @param jQuery metabox The metabox jQuery object. */ addSelectedToMenu : function(processMethod) { if ( 0 === $('#menu-to-edit').length ) { return false; } return this.each(function() { var t = $(this), menuItems = {}, checkboxes = ( menus.oneThemeLocationNoMenus && 0 === t.find( '.tabs-panel-active .categorychecklist li input:checked' ).length ) ? t.find( '#page-all li input[type="checkbox"]' ) : t.find( '.tabs-panel-active .categorychecklist li input:checked' ), re = /menu-item\[([^\]]*)/; processMethod = processMethod || api.addMenuItemToBottom; // If no items are checked, bail. if ( !checkboxes.length ) return false; // Show the Ajax spinner. t.find( '.button-controls .spinner' ).addClass( 'is-active' ); // Retrieve menu item data. $(checkboxes).each(function(){ var t = $(this), listItemDBIDMatch = re.exec( t.attr('name') ), listItemDBID = 'undefined' == typeof listItemDBIDMatch[1] ? 0 : parseInt(listItemDBIDMatch[1], 10); if ( this.className && -1 != this.className.indexOf('add-to-top') ) processMethod = api.addMenuItemToTop; menuItems[listItemDBID] = t.closest('li').getItemData( 'add-menu-item', listItemDBID ); }); // Add the items. api.addItemToMenu(menuItems, processMethod, function(){ // Deselect the items and hide the Ajax spinner. checkboxes.prop( 'checked', false ); t.find( '.button-controls .select-all' ).prop( 'checked', false ); t.find( '.button-controls .spinner' ).removeClass( 'is-active' ); t.updateParentDropdown(); t.updateOrderDropdown(); }); }); }, getItemData : function( itemType, id ) { itemType = itemType || 'menu-item'; var itemData = {}, i, fields = [ 'menu-item-db-id', 'menu-item-object-id', 'menu-item-object', 'menu-item-parent-id', 'menu-item-position', 'menu-item-type', 'menu-item-title', 'menu-item-url', 'menu-item-description', 'menu-item-attr-title', 'menu-item-target', 'menu-item-classes', 'menu-item-xfn' ]; if( !id && itemType == 'menu-item' ) { id = this.find('.menu-item-data-db-id').val(); } if( !id ) return itemData; this.find('input').each(function() { var field; i = fields.length; while ( i-- ) { if( itemType == 'menu-item' ) field = fields[i] + '[' + id + ']'; else if( itemType == 'add-menu-item' ) field = 'menu-item[' + id + '][' + fields[i] + ']'; if ( this.name && field == this.name ) { itemData[fields[i]] = this.value; } } }); return itemData; }, setItemData : function( itemData, itemType, id ) { // Can take a type, such as 'menu-item', or an id. itemType = itemType || 'menu-item'; if( !id && itemType == 'menu-item' ) { id = $('.menu-item-data-db-id', this).val(); } if( !id ) return this; this.find('input').each(function() { var t = $(this), field; $.each( itemData, function( attr, val ) { if( itemType == 'menu-item' ) field = attr + '[' + id + ']'; else if( itemType == 'add-menu-item' ) field = 'menu-item[' + id + '][' + attr + ']'; if ( field == t.attr('name') ) { t.val( val ); } }); }); return this; }, updateParentDropdown : function() { return this.each(function(){ var menuItems = $( '#menu-to-edit li' ), parentDropdowns = $( '.edit-menu-item-parent' ); $.each( parentDropdowns, function() { var parentDropdown = $( this ), currentItemID = parseInt( parentDropdown.closest( 'li.menu-item' ).find( '.menu-item-data-db-id' ).val() ), currentParentID = parseInt( parentDropdown.closest( 'li.menu-item' ).find( '.menu-item-data-parent-id' ).val() ), currentItem = parentDropdown.closest( 'li.menu-item' ), currentMenuItemChild = currentItem.childMenuItems(), excludeMenuItem = /** @type {number[]} */ [ currentItemID ]; parentDropdown.empty(); if ( currentMenuItemChild.length > 0 ) { $.each( currentMenuItemChild, function(){ var childItem = $(this), childID = parseInt( childItem.find( '.menu-item-data-db-id' ).val() ); excludeMenuItem.push( childID ); }); } parentDropdown.append( $( '<option>', { value: '0', selected: currentParentID === 0, text: wp.i18n._x( 'No Parent', 'menu item without a parent in navigation menu' ), } ) ); $.each( menuItems, function() { var menuItem = $(this), menuID = parseInt( menuItem.find( '.menu-item-data-db-id' ).val() ), menuTitle = menuItem.find( '.edit-menu-item-title' ).val(); if ( ! excludeMenuItem.includes( menuID ) ) { parentDropdown.append( $( '<option>', { value: menuID.toString(), selected: currentParentID === menuID, text: menuTitle, } ) ); } }); }); }); }, updateOrderDropdown : function() { return this.each( function() { var itemPosition, orderDropdowns = $( '.edit-menu-item-order' ); $.each( orderDropdowns, function() { var orderDropdown = $( this ), menuItem = orderDropdown.closest( 'li.menu-item' ).first(), depth = menuItem.menuItemDepth(), isPrimaryMenuItem = ( 0 === depth ); orderDropdown.empty(); if ( isPrimaryMenuItem ) { var primaryItems = $( '.menu-item-depth-0' ), totalMenuItems = primaryItems.length; itemPosition = primaryItems.index( menuItem ) + 1; for ( let i = 1; i < totalMenuItems + 1; i++ ) { var itemString = wp.i18n.sprintf( /* translators: 1: The current menu item number, 2: The total number of menu items. */ wp.i18n._x( '%1$s of %2$s', 'part of a total number of menu items' ), i, totalMenuItems ); orderDropdown.append( $( '<option>', { selected: i === itemPosition, value: i.toString(), text: itemString, } ) ); } } else { var parentItem = menuItem.prevAll( '.menu-item-depth-' + parseInt( depth - 1, 10 ) ).first(), parentItemId = parentItem.find( '.menu-item-data-db-id' ).val(), subItems = $( '.menu-item .menu-item-data-parent-id[value="' + parentItemId + '"]' ), totalSubMenuItems = subItems.length; itemPosition = $( subItems.parents('.menu-item').get().reverse() ).index( menuItem ) + 1; for ( let i = 1; i < totalSubMenuItems + 1; i++ ) { var submenuString = wp.i18n.sprintf( /* translators: 1: The current submenu item number, 2: The total number of submenu items. */ wp.i18n._x( '%1$s of %2$s', 'part of a total number of menu items' ), i, totalSubMenuItems ); orderDropdown.append( $( '<option>', { selected: i === itemPosition, value: i.toString(), text: submenuString, } ) ); } } }); }); } }); }, countMenuItems : function( depth ) { return $( '.menu-item-depth-' + depth ).length; }, moveMenuItem : function( $this, dir ) { var items, newItemPosition, newDepth, menuItems = $( '#menu-to-edit li' ), menuItemsCount = menuItems.length, thisItem = $this.parents( 'li.menu-item' ), thisItemChildren = thisItem.childMenuItems(), thisItemData = thisItem.getItemData(), thisItemDepth = parseInt( thisItem.menuItemDepth(), 10 ), thisItemPosition = parseInt( thisItem.index(), 10 ), nextItem = thisItem.next(), nextItemChildren = nextItem.childMenuItems(), nextItemDepth = parseInt( nextItem.menuItemDepth(), 10 ) + 1, prevItem = thisItem.prev(), prevItemDepth = parseInt( prevItem.menuItemDepth(), 10 ), prevItemId = prevItem.getItemData()['menu-item-db-id'], a11ySpeech = menus[ 'moved' + dir.charAt(0).toUpperCase() + dir.slice(1) ]; switch ( dir ) { case 'up': newItemPosition = thisItemPosition - 1; // Already at top. if ( 0 === thisItemPosition ) break; // If a sub item is moved to top, shift it to 0 depth. if ( 0 === newItemPosition && 0 !== thisItemDepth ) thisItem.moveHorizontally( 0, thisItemDepth ); // If prev item is sub item, shift to match depth. if ( 0 !== prevItemDepth ) thisItem.moveHorizontally( prevItemDepth, thisItemDepth ); // Does this item have sub items? if ( thisItemChildren ) { items = thisItem.add( thisItemChildren ); // Move the entire block. items.detach().insertBefore( menuItems.eq( newItemPosition ) ).updateParentMenuItemDBId(); } else { thisItem.detach().insertBefore( menuItems.eq( newItemPosition ) ).updateParentMenuItemDBId(); } break; case 'down': // Does this item have sub items? if ( thisItemChildren ) { items = thisItem.add( thisItemChildren ), nextItem = menuItems.eq( items.length + thisItemPosition ), nextItemChildren = 0 !== nextItem.childMenuItems().length; if ( nextItemChildren ) { newDepth = parseInt( nextItem.menuItemDepth(), 10 ) + 1; thisItem.moveHorizontally( newDepth, thisItemDepth ); } // Have we reached the bottom? if ( menuItemsCount === thisItemPosition + items.length ) break; items.detach().insertAfter( menuItems.eq( thisItemPosition + items.length ) ).updateParentMenuItemDBId(); } else { // If next item has sub items, shift depth. if ( 0 !== nextItemChildren.length ) thisItem.moveHorizontally( nextItemDepth, thisItemDepth ); // Have we reached the bottom? if ( menuItemsCount === thisItemPosition + 1 ) break; thisItem.detach().insertAfter( menuItems.eq( thisItemPosition + 1 ) ).updateParentMenuItemDBId(); } break; case 'top': // Already at top. if ( 0 === thisItemPosition ) break; // Does this item have sub items? if ( thisItemChildren ) { items = thisItem.add( thisItemChildren ); // Move the entire block. items.detach().insertBefore( menuItems.eq( 0 ) ).updateParentMenuItemDBId(); } else { thisItem.detach().insertBefore( menuItems.eq( 0 ) ).updateParentMenuItemDBId(); } break; case 'left': // As far left as possible. if ( 0 === thisItemDepth ) break; thisItem.shiftHorizontally( -1 ); break; case 'right': // Can't be sub item at top. if ( 0 === thisItemPosition ) break; // Already sub item of prevItem. if ( thisItemData['menu-item-parent-id'] === prevItemId ) break; thisItem.shiftHorizontally( 1 ); break; } $this.trigger( 'focus' ); api.registerChange(); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); thisItem.updateParentDropdown(); thisItem.updateOrderDropdown(); if ( a11ySpeech ) { wp.a11y.speak( a11ySpeech ); } }, initAccessibility : function() { var menu = $( '#menu-to-edit' ); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); // Refresh the accessibility when the user comes close to the item in any way. menu.on( 'mouseenter.refreshAccessibility focus.refreshAccessibility touchstart.refreshAccessibility' , '.menu-item' , function(){ api.refreshAdvancedAccessibilityOfItem( $( this ).find( 'a.item-edit' ) ); } ); // We have to update on click as well because we might hover first, change the item, and then click. menu.on( 'click', 'a.item-edit', function() { api.refreshAdvancedAccessibilityOfItem( $( this ) ); } ); // Links for moving items. menu.on( 'click', '.menus-move', function () { var $this = $( this ), dir = $this.data( 'dir' ); if ( 'undefined' !== typeof dir ) { api.moveMenuItem( $( this ).parents( 'li.menu-item' ).find( 'a.item-edit' ), dir ); } }); // Set menu parents data for all menu items. menu.updateParentDropdown(); // Set menu order data for all menu items. menu.updateOrderDropdown(); // Update menu item parent when value is changed. menu.on( 'change', '.edit-menu-item-parent', function() { api.changeMenuParent( $( this ) ); }); // Update menu item order when value is changed. menu.on( 'change', '.edit-menu-item-order', function() { api.changeMenuOrder( $( this ) ); }); }, /** * changeMenuParent( [parentDropdown] ) * * @since 6.7.0 * * @param {object} parentDropdown select field */ changeMenuParent : function( parentDropdown ) { var menuItemNewPosition, menuItems = $( '#menu-to-edit li' ), $this = $( parentDropdown ), newParentID = $this.val(), menuItem = $this.closest( 'li.menu-item' ).first(), menuItemOldDepth = menuItem.menuItemDepth(), menuItemChildren = menuItem.childMenuItems(), menuItemNoChildren = parseInt( menuItem.childMenuItems().length, 10 ), parentItem = $( '#menu-item-' + newParentID ), parentItemDepth = parentItem.menuItemDepth(), menuItemNewDepth = parseInt( parentItemDepth ) + 1; if ( newParentID == 0 ) { menuItemNewDepth = 0; } menuItem.find( '.menu-item-data-parent-id' ).val( newParentID ); menuItem.moveHorizontally( menuItemNewDepth, menuItemOldDepth ); if ( menuItemNoChildren > 0 ) { menuItem = menuItem.add( menuItemChildren ); } menuItem.detach(); menuItems = $( '#menu-to-edit li' ); var parentItemPosition = parseInt( parentItem.index(), 10 ), parentItemNoChild = parseInt( parentItem.childMenuItems().length, 10 ); if ( parentItemNoChild > 0 ){ menuItemNewPosition = parentItemPosition + parentItemNoChild; } else { menuItemNewPosition = parentItemPosition; } if ( newParentID == 0 ) { menuItemNewPosition = menuItems.length - 1; } menuItem.insertAfter( menuItems.eq( menuItemNewPosition ) ).updateParentMenuItemDBId().updateParentDropdown().updateOrderDropdown(); api.registerChange(); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); $this.trigger( 'focus' ); wp.a11y.speak( menus.parentUpdated, 'polite' ); }, /** * changeMenuOrder( [OrderDropdown] ) * * @since 6.7.0 * * @param {object} orderDropdown select field */ changeMenuOrder : function( orderDropdown ) { var menuItems = $( '#menu-to-edit li' ), $this = $( orderDropdown ), newOrderID = parseInt( $this.val(), 10), menuItem = $this.closest( 'li.menu-item' ).first(), menuItemChildren = menuItem.childMenuItems(), menuItemNoChildren = menuItemChildren.length, menuItemCurrentPosition = parseInt( menuItem.index(), 10 ), parentItemID = menuItem.find( '.menu-item-data-parent-id' ).val(), subItems = $( '.menu-item .menu-item-data-parent-id[value="' + parentItemID + '"]' ), currentItemAtPosition = $(subItems[newOrderID - 1]).closest( 'li.menu-item' ); if ( menuItemNoChildren > 0 ) { menuItem = menuItem.add( menuItemChildren ); } var currentItemNoChildren = currentItemAtPosition.childMenuItems().length, currentItemPosition = parseInt( currentItemAtPosition.index(), 10 ); menuItems = $( '#menu-to-edit li' ); var menuItemNewPosition = currentItemPosition; if(menuItemCurrentPosition > menuItemNewPosition){ menuItemNewPosition = currentItemPosition; menuItem.detach().insertBefore( menuItems.eq( menuItemNewPosition ) ).updateOrderDropdown(); } else { menuItemNewPosition = menuItemNewPosition + currentItemNoChildren; menuItem.detach().insertAfter( menuItems.eq( menuItemNewPosition ) ).updateOrderDropdown(); } api.registerChange(); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); $this.trigger( 'focus' ); wp.a11y.speak( menus.orderUpdated, 'polite' ); }, /** * refreshAdvancedAccessibilityOfItem( [itemToRefresh] ) * * Refreshes advanced accessibility buttons for one menu item. * Shows or hides buttons based on the location of the menu item. * * @param {Object} itemToRefresh The menu item that might need its advanced accessibility buttons refreshed */ refreshAdvancedAccessibilityOfItem : function( itemToRefresh ) { // Only refresh accessibility when necessary. if ( true !== $( itemToRefresh ).data( 'needs_accessibility_refresh' ) ) { return; } var thisLink, thisLinkText, primaryItems, itemPosition, title, parentItem, parentItemId, parentItemName, subItems, totalSubItems, $this = $( itemToRefresh ), menuItem = $this.closest( 'li.menu-item' ).first(), depth = menuItem.menuItemDepth(), isPrimaryMenuItem = ( 0 === depth ), itemName = $this.closest( '.menu-item-handle' ).find( '.menu-item-title' ).text(), menuItemType = $this.closest( '.menu-item-handle' ).find( '.item-controls' ).find( '.item-type' ).text(), position = parseInt( menuItem.index(), 10 ), prevItemDepth = ( isPrimaryMenuItem ) ? depth : parseInt( depth - 1, 10 ), prevItemNameLeft = menuItem.prevAll('.menu-item-depth-' + prevItemDepth).first().find( '.menu-item-title' ).text(), prevItemNameRight = menuItem.prevAll('.menu-item-depth-' + depth).first().find( '.menu-item-title' ).text(), totalMenuItems = $('#menu-to-edit li').length, hasSameDepthSibling = menuItem.nextAll( '.menu-item-depth-' + depth ).length; menuItem.find( '.field-move' ).toggle( totalMenuItems > 1 ); // Where can they move this menu item? if ( 0 !== position ) { thisLink = menuItem.find( '.menus-move-up' ); thisLink.attr( 'aria-label', menus.moveUp ).css( 'display', 'inline' ); } if ( 0 !== position && isPrimaryMenuItem ) { thisLink = menuItem.find( '.menus-move-top' ); thisLink.attr( 'aria-label', menus.moveToTop ).css( 'display', 'inline' ); } if ( position + 1 !== totalMenuItems && 0 !== position ) { thisLink = menuItem.find( '.menus-move-down' ); thisLink.attr( 'aria-label', menus.moveDown ).css( 'display', 'inline' ); } if ( 0 === position && 0 !== hasSameDepthSibling ) { thisLink = menuItem.find( '.menus-move-down' ); thisLink.attr( 'aria-label', menus.moveDown ).css( 'display', 'inline' ); } if ( ! isPrimaryMenuItem ) { thisLink = menuItem.find( '.menus-move-left' ), thisLinkText = menus.outFrom.replace( '%s', prevItemNameLeft ); thisLink.attr( 'aria-label', menus.moveOutFrom.replace( '%s', prevItemNameLeft ) ).text( thisLinkText ).css( 'display', 'inline' ); } if ( 0 !== position ) { if ( menuItem.find( '.menu-item-data-parent-id' ).val() !== menuItem.prev().find( '.menu-item-data-db-id' ).val() ) { thisLink = menuItem.find( '.menus-move-right' ), thisLinkText = menus.under.replace( '%s', prevItemNameRight ); thisLink.attr( 'aria-label', menus.moveUnder.replace( '%s', prevItemNameRight ) ).text( thisLinkText ).css( 'display', 'inline' ); } } if ( isPrimaryMenuItem ) { primaryItems = $( '.menu-item-depth-0' ), itemPosition = primaryItems.index( menuItem ) + 1, totalMenuItems = primaryItems.length, // String together help text for primary menu items. title = menus.menuFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalMenuItems ); } else { parentItem = menuItem.prevAll( '.menu-item-depth-' + parseInt( depth - 1, 10 ) ).first(), parentItemId = parentItem.find( '.menu-item-data-db-id' ).val(), parentItemName = parentItem.find( '.menu-item-title' ).text(), subItems = $( '.menu-item .menu-item-data-parent-id[value="' + parentItemId + '"]' ), totalSubItems = subItems.length, itemPosition = $( subItems.parents('.menu-item').get().reverse() ).index( menuItem ) + 1; // String together help text for sub menu items. if ( depth < 2 ) { title = menus.subMenuFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalSubItems ).replace( '%5$s', parentItemName ); } else { title = menus.subMenuMoreDepthFocus.replace( '%1$s', itemName ).replace( '%2$s', menuItemType ).replace( '%3$d', itemPosition ).replace( '%4$d', totalSubItems ).replace( '%5$s', parentItemName ).replace( '%6$d', depth ); } } $this.attr( 'aria-label', title ); // Mark this item's accessibility as refreshed. $this.data( 'needs_accessibility_refresh', false ); }, /** * refreshAdvancedAccessibility * * Hides all advanced accessibility buttons and marks them for refreshing. */ refreshAdvancedAccessibility : function() { // Hide all the move buttons by default. $( '.menu-item-settings .field-move .menus-move' ).hide(); // Mark all menu items as unprocessed. $( 'a.item-edit' ).data( 'needs_accessibility_refresh', true ); // All open items have to be refreshed or they will show no links. $( '.menu-item-edit-active a.item-edit' ).each( function() { api.refreshAdvancedAccessibilityOfItem( this ); } ); }, refreshKeyboardAccessibility : function() { $( 'a.item-edit' ).off( 'focus' ).on( 'focus', function(){ $(this).off( 'keydown' ).on( 'keydown', function(e){ var arrows, $this = $( this ), thisItem = $this.parents( 'li.menu-item' ), thisItemData = thisItem.getItemData(); // Bail if it's not an arrow key. if ( 37 != e.which && 38 != e.which && 39 != e.which && 40 != e.which ) return; // Avoid multiple keydown events. $this.off('keydown'); // Bail if there is only one menu item. if ( 1 === $('#menu-to-edit li').length ) return; // If RTL, swap left/right arrows. arrows = { '38': 'up', '40': 'down', '37': 'left', '39': 'right' }; if ( $('body').hasClass('rtl') ) arrows = { '38' : 'up', '40' : 'down', '39' : 'left', '37' : 'right' }; switch ( arrows[e.which] ) { case 'up': api.moveMenuItem( $this, 'up' ); break; case 'down': api.moveMenuItem( $this, 'down' ); break; case 'left': api.moveMenuItem( $this, 'left' ); break; case 'right': api.moveMenuItem( $this, 'right' ); break; } // Put focus back on same menu item. $( '#edit-' + thisItemData['menu-item-db-id'] ).trigger( 'focus' ); return false; }); }); }, initPreviewing : function() { // Update the item handle title when the navigation label is changed. $( '#menu-to-edit' ).on( 'change input', '.edit-menu-item-title', function(e) { var input = $( e.currentTarget ), title, titleEl; title = input.val(); titleEl = input.closest( '.menu-item' ).find( '.menu-item-title' ); // Don't update to empty title. if ( title ) { titleEl.text( title ).removeClass( 'no-title' ); } else { titleEl.text( wp.i18n._x( '(no label)', 'missing menu item navigation label' ) ).addClass( 'no-title' ); } } ); }, initToggles : function() { // Init postboxes. postboxes.add_postbox_toggles('nav-menus'); // Adjust columns functions for menus UI. columns.useCheckboxesForHidden(); columns.checked = function(field) { $('.field-' + field).removeClass('hidden-field'); }; columns.unchecked = function(field) { $('.field-' + field).addClass('hidden-field'); }; // Hide fields. api.menuList.hideAdvancedMenuItemFields(); $('.hide-postbox-tog').on( 'click', function () { var hidden = $( '.accordion-container li.accordion-section' ).filter(':hidden').map(function() { return this.id; }).get().join(','); $.post(ajaxurl, { action: 'closed-postboxes', hidden: hidden, closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(), page: 'nav-menus' }); }); }, initSortables : function() { var currentDepth = 0, originalDepth, minDepth, maxDepth, prev, next, prevBottom, nextThreshold, helperHeight, transport, menuEdge = api.menuList.offset().left, body = $('body'), maxChildDepth, menuMaxDepth = initialMenuMaxDepth(); if( 0 !== $( '#menu-to-edit li' ).length ) $( '.drag-instructions' ).show(); // Use the right edge if RTL. menuEdge += api.isRTL ? api.menuList.width() : 0; api.menuList.sortable({ handle: '.menu-item-handle', placeholder: 'sortable-placeholder', items: api.options.sortableItems, start: function(e, ui) { var height, width, parent, children, tempHolder; // Handle placement for RTL orientation. if ( api.isRTL ) ui.item[0].style.right = 'auto'; transport = ui.item.children('.menu-item-transport'); // Set depths. currentDepth must be set before children are located. originalDepth = ui.item.menuItemDepth(); updateCurrentDepth(ui, originalDepth); // Attach child elements to parent. // Skip the placeholder. parent = ( ui.item.next()[0] == ui.placeholder[0] ) ? ui.item.next() : ui.item; children = parent.childMenuItems(); transport.append( children ); // Update the height of the placeholder to match the moving item. height = transport.outerHeight(); // If there are children, account for distance between top of children and parent. height += ( height > 0 ) ? (ui.placeholder.css('margin-top').slice(0, -2) * 1) : 0; height += ui.helper.outerHeight(); helperHeight = height; height -= 2; // Subtract 2 for borders. ui.placeholder.height(height); // Update the width of the placeholder to match the moving item. maxChildDepth = originalDepth; children.each(function(){ var depth = $(this).menuItemDepth(); maxChildDepth = (depth > maxChildDepth) ? depth : maxChildDepth; }); width = ui.helper.find('.menu-item-handle').outerWidth(); // Get original width. width += api.depthToPx(maxChildDepth - originalDepth); // Account for children. width -= 2; // Subtract 2 for borders. ui.placeholder.width(width); // Update the list of menu items. tempHolder = ui.placeholder.next( '.menu-item' ); tempHolder.css( 'margin-top', helperHeight + 'px' ); // Set the margin to absorb the placeholder. ui.placeholder.detach(); // Detach or jQuery UI will think the placeholder is a menu item. $(this).sortable( 'refresh' ); // The children aren't sortable. We should let jQuery UI know. ui.item.after( ui.placeholder ); // Reattach the placeholder. tempHolder.css('margin-top', 0); // Reset the margin. // Now that the element is complete, we can update... updateSharedVars(ui); }, stop: function(e, ui) { var children, subMenuTitle, depthChange = currentDepth - originalDepth; // Return child elements to the list. children = transport.children().insertAfter(ui.item); // Add "sub menu" description. subMenuTitle = ui.item.find( '.item-title .is-submenu' ); if ( 0 < currentDepth ) subMenuTitle.show(); else subMenuTitle.hide(); // Update depth classes. if ( 0 !== depthChange ) { ui.item.updateDepthClass( currentDepth ); children.shiftDepthClass( depthChange ); updateMenuMaxDepth( depthChange ); } // Register a change. api.registerChange(); // Update the item data. ui.item.updateParentMenuItemDBId(); // Address sortable's incorrectly-calculated top in Opera. ui.item[0].style.top = 0; // Handle drop placement for rtl orientation. if ( api.isRTL ) { ui.item[0].style.left = 'auto'; ui.item[0].style.right = 0; } api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); ui.item.updateParentDropdown(); ui.item.updateOrderDropdown(); api.refreshAdvancedAccessibilityOfItem( ui.item.find( 'a.item-edit' ) ); }, change: function(e, ui) { // Make sure the placeholder is inside the menu. // Otherwise fix it, or we're in trouble. if( ! ui.placeholder.parent().hasClass('menu') ) (prev.length) ? prev.after( ui.placeholder ) : api.menuList.prepend( ui.placeholder ); updateSharedVars(ui); }, sort: function(e, ui) { var offset = ui.helper.offset(), edge = api.isRTL ? offset.left + ui.helper.width() : offset.left, depth = api.negateIfRTL * api.pxToDepth( edge - menuEdge ); /* * Check and correct if depth is not within range. * Also, if the dragged element is dragged upwards over an item, * shift the placeholder to a child position. */ if ( depth > maxDepth || offset.top < ( prevBottom - api.options.targetTolerance ) ) { depth = maxDepth; } else if ( depth < minDepth ) { depth = minDepth; } if( depth != currentDepth ) updateCurrentDepth(ui, depth); // If we overlap the next element, manually shift downwards. if( nextThreshold && offset.top + helperHeight > nextThreshold ) { next.after( ui.placeholder ); updateSharedVars( ui ); $( this ).sortable( 'refreshPositions' ); } } }); function updateSharedVars(ui) { var depth; prev = ui.placeholder.prev( '.menu-item' ); next = ui.placeholder.next( '.menu-item' ); // Make sure we don't select the moving item. if( prev[0] == ui.item[0] ) prev = prev.prev( '.menu-item' ); if( next[0] == ui.item[0] ) next = next.next( '.menu-item' ); prevBottom = (prev.length) ? prev.offset().top + prev.height() : 0; nextThreshold = (next.length) ? next.offset().top + next.height() / 3 : 0; minDepth = (next.length) ? next.menuItemDepth() : 0; if( prev.length ) maxDepth = ( (depth = prev.menuItemDepth() + 1) > api.options.globalMaxDepth ) ? api.options.globalMaxDepth : depth; else maxDepth = 0; } function updateCurrentDepth(ui, depth) { ui.placeholder.updateDepthClass( depth, currentDepth ); currentDepth = depth; } function initialMenuMaxDepth() { if( ! body[0].className ) return 0; var match = body[0].className.match(/menu-max-depth-(\d+)/); return match && match[1] ? parseInt( match[1], 10 ) : 0; } function updateMenuMaxDepth( depthChange ) { var depth, newDepth = menuMaxDepth; if ( depthChange === 0 ) { return; } else if ( depthChange > 0 ) { depth = maxChildDepth + depthChange; if( depth > menuMaxDepth ) newDepth = depth; } else if ( depthChange < 0 && maxChildDepth == menuMaxDepth ) { while( ! $('.menu-item-depth-' + newDepth, api.menuList).length && newDepth > 0 ) newDepth--; } // Update the depth class. body.removeClass( 'menu-max-depth-' + menuMaxDepth ).addClass( 'menu-max-depth-' + newDepth ); menuMaxDepth = newDepth; } }, initManageLocations : function () { $('#menu-locations-wrap form').on( 'submit', function(){ window.onbeforeunload = null; }); $('.menu-location-menus select').on('change', function () { var editLink = $(this).closest('tr').find('.locations-edit-menu-link'); if ($(this).find('option:selected').data('orig')) editLink.show(); else editLink.hide(); }); }, attachMenuEditListeners : function() { var that = this; $('#update-nav-menu').on('click', function(e) { if ( e.target && e.target.className ) { if ( -1 != e.target.className.indexOf('item-edit') ) { return that.eventOnClickEditLink(e.target); } else if ( -1 != e.target.className.indexOf('menu-save') ) { return that.eventOnClickMenuSave(e.target); } else if ( -1 != e.target.className.indexOf('menu-delete') ) { return that.eventOnClickMenuDelete(e.target); } else if ( -1 != e.target.className.indexOf('item-delete') ) { return that.eventOnClickMenuItemDelete(e.target); } else if ( -1 != e.target.className.indexOf('item-cancel') ) { return that.eventOnClickCancelLink(e.target); } } }); $( '#menu-name' ).on( 'input', _.debounce( function () { var menuName = $( document.getElementById( 'menu-name' ) ), menuNameVal = menuName.val(); if ( ! menuNameVal || ! menuNameVal.replace( /\s+/, '' ) ) { // Add warning for invalid menu name. menuName.parent().addClass( 'form-invalid' ); } else { // Remove warning for valid menu name. menuName.parent().removeClass( 'form-invalid' ); } }, 500 ) ); $('#add-custom-links input[type="text"]').on( 'keypress', function(e){ $( '#customlinkdiv' ).removeClass( 'form-invalid' ); $( '#custom-menu-item-url' ).removeAttr( 'aria-invalid' ).removeAttr( 'aria-describedby' ); $( '#custom-url-error' ).hide(); if ( e.keyCode === 13 ) { e.preventDefault(); $( '#submit-customlinkdiv' ).trigger( 'click' ); } }); $( '#submit-customlinkdiv' ).on( 'click', function (e) { var urlInput = $( '#custom-menu-item-url' ), url = urlInput.val().trim(), errorMessage = $( '#custom-url-error' ), urlWrap = $( '#menu-item-url-wrap' ), urlRegex; // Hide the error message initially errorMessage.hide(); urlWrap.removeClass( 'has-error' ); /* * Allow URLs including: * - http://example.com/ * - //example.com * - /directory/ * - ?query-param * - #target * - mailto:foo@example.com * * Any further validation will be handled on the server when the setting is attempted to be saved, * so this pattern does not need to be complete. */ urlRegex = /^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/; if ( ! urlRegex.test( url ) ) { e.preventDefault(); urlInput.addClass( 'form-invalid' ) .attr( 'aria-invalid', 'true' ) .attr( 'aria-describedby', 'custom-url-error' ); errorMessage.show(); var errorText = errorMessage.text(); urlWrap.addClass( 'has-error' ); // Announce error message via screen reader wp.a11y.speak( errorText, 'assertive' ); } }); }, /** * Handle toggling bulk selection checkboxes for menu items. * * @since 5.8.0 */ attachBulkSelectButtonListeners : function() { var that = this; $( '.bulk-select-switcher' ).on( 'change', function() { if ( this.checked ) { $( '.bulk-select-switcher' ).prop( 'checked', true ); that.enableBulkSelection(); } else { $( '.bulk-select-switcher' ).prop( 'checked', false ); that.disableBulkSelection(); } }); }, /** * Enable bulk selection checkboxes for menu items. * * @since 5.8.0 */ enableBulkSelection : function() { var checkbox = $( '#menu-to-edit .menu-item-checkbox' ); $( '#menu-to-edit' ).addClass( 'bulk-selection' ); $( '#nav-menu-bulk-actions-top' ).addClass( 'bulk-selection' ); $( '#nav-menu-bulk-actions-bottom' ).addClass( 'bulk-selection' ); $.each( checkbox, function() { $(this).prop( 'disabled', false ); }); }, /** * Disable bulk selection checkboxes for menu items. * * @since 5.8.0 */ disableBulkSelection : function() { var checkbox = $( '#menu-to-edit .menu-item-checkbox' ); $( '#menu-to-edit' ).removeClass( 'bulk-selection' ); $( '#nav-menu-bulk-actions-top' ).removeClass( 'bulk-selection' ); $( '#nav-menu-bulk-actions-bottom' ).removeClass( 'bulk-selection' ); if ( $( '.menu-items-delete' ).is( '[aria-describedby="pending-menu-items-to-delete"]' ) ) { $( '.menu-items-delete' ).removeAttr( 'aria-describedby' ); } $.each( checkbox, function() { $(this).prop( 'disabled', true ).prop( 'checked', false ); }); $( '.menu-items-delete' ).addClass( 'disabled' ); $( '#pending-menu-items-to-delete ul' ).empty(); }, /** * Listen for state changes on bulk action checkboxes. * * @since 5.8.0 */ attachMenuCheckBoxListeners : function() { var that = this; $( '#menu-to-edit' ).on( 'change', '.menu-item-checkbox', function() { that.setRemoveSelectedButtonStatus(); }); }, /** * Create delete button to remove menu items from collection. * * @since 5.8.0 */ attachMenuItemDeleteButton : function() { var that = this; $( document ).on( 'click', '.menu-items-delete', function( e ) { var itemsPendingDeletion, itemsPendingDeletionList, deletionSpeech; e.preventDefault(); if ( ! $(this).hasClass( 'disabled' ) ) { $.each( $( '.menu-item-checkbox:checked' ), function( index, element ) { $( element ).parents( 'li' ).find( 'a.item-delete' ).trigger( 'click' ); }); $( '.menu-items-delete' ).addClass( 'disabled' ); $( '.bulk-select-switcher' ).prop( 'checked', false ); itemsPendingDeletion = ''; itemsPendingDeletionList = $( '#pending-menu-items-to-delete ul li' ); $.each( itemsPendingDeletionList, function( index, element ) { var itemName = $( element ).find( '.pending-menu-item-name' ).text(); var itemSpeech = menus.menuItemDeletion.replace( '%s', itemName ); itemsPendingDeletion += itemSpeech; if ( ( index + 1 ) < itemsPendingDeletionList.length ) { itemsPendingDeletion += ', '; } }); deletionSpeech = menus.itemsDeleted.replace( '%s', itemsPendingDeletion ); wp.a11y.speak( deletionSpeech, 'polite' ); that.disableBulkSelection(); $( '#menu-to-edit' ).updateParentDropdown(); $( '#menu-to-edit' ).updateOrderDropdown(); } }); }, /** * List menu items awaiting deletion. * * @since 5.8.0 */ attachPendingMenuItemsListForDeletion : function() { $( '#post-body-content' ).on( 'change', '.menu-item-checkbox', function() { var menuItemName, menuItemType, menuItemID, listedMenuItem; if ( ! $( '.menu-items-delete' ).is( '[aria-describedby="pending-menu-items-to-delete"]' ) ) { $( '.menu-items-delete' ).attr( 'aria-describedby', 'pending-menu-items-to-delete' ); } menuItemName = $(this).next().text(); menuItemType = $(this).parent().next( '.item-controls' ).find( '.item-type' ).text(); menuItemID = $(this).attr( 'data-menu-item-id' ); listedMenuItem = $( '#pending-menu-items-to-delete ul' ).find( '[data-menu-item-id=' + menuItemID + ']' ); if ( listedMenuItem.length > 0 ) { listedMenuItem.remove(); } if ( this.checked === true ) { const $li = $( '<li>', { 'data-menu-item-id': menuItemID } ); $li.append( $( '<span>', { 'class': 'pending-menu-item-name', text: menuItemName } ) ); $li.append( ' ' ); $li.append( $( '<span>', { 'class': 'pending-menu-item-type', text: '(' + menuItemType + ')', } ) ); $li.append( $( '<span>', { 'class': 'separator' } ) ); $( '#pending-menu-items-to-delete ul' ).append( $li ); } $( '#pending-menu-items-to-delete li .separator' ).html( ', ' ); $( '#pending-menu-items-to-delete li .separator' ).last().html( '.' ); }); }, /** * Set status of bulk delete checkbox. * * @since 5.8.0 */ setBulkDeleteCheckboxStatus : function() { var that = this; var checkbox = $( '#menu-to-edit .menu-item-checkbox' ); $.each( checkbox, function() { if ( $(this).prop( 'disabled' ) ) { $(this).prop( 'disabled', false ); } else { $(this).prop( 'disabled', true ); } if ( $(this).is( ':checked' ) ) { $(this).prop( 'checked', false ); } }); that.setRemoveSelectedButtonStatus(); }, /** * Set status of menu items removal button. * * @since 5.8.0 */ setRemoveSelectedButtonStatus : function() { var button = $( '.menu-items-delete' ); if ( $( '.menu-item-checkbox:checked' ).length > 0 ) { button.removeClass( 'disabled' ); } else { button.addClass( 'disabled' ); } }, attachMenuSaveSubmitListeners : function() { /* * When a navigation menu is saved, store a JSON representation of all form data * in a single input to avoid PHP `max_input_vars` limitations. See #14134. */ $( '#update-nav-menu' ).on( 'submit', function() { var navMenuData = $( '#update-nav-menu' ).serializeArray(); $( '[name="nav-menu-data"]' ).val( JSON.stringify( navMenuData ) ); }); }, attachThemeLocationsListeners : function() { var loc = $('#nav-menu-theme-locations'), params = {}; params.action = 'menu-locations-save'; params['menu-settings-column-nonce'] = $('#menu-settings-column-nonce').val(); loc.find('input[type="submit"]').on( 'click', function() { loc.find('select').each(function() { params[this.name] = $(this).val(); }); loc.find( '.spinner' ).addClass( 'is-active' ); $.post( ajaxurl, params, function() { loc.find( '.spinner' ).removeClass( 'is-active' ); }); return false; }); }, attachQuickSearchListeners : function() { var searchTimer; // Prevent form submission. $( '#nav-menu-meta' ).on( 'submit', function( event ) { event.preventDefault(); }); $( '#nav-menu-meta' ).on( 'input', '.quick-search', function() { var $this = $( this ); $this.attr( 'autocomplete', 'off' ); if ( searchTimer ) { clearTimeout( searchTimer ); } searchTimer = setTimeout( function() { api.updateQuickSearchResults( $this ); }, 500 ); }).on( 'blur', '.quick-search', function() { api.lastSearch = ''; }); }, updateQuickSearchResults : function(input) { var panel, params, minSearchLength = 1, q = input.val(), pageSearchChecklist = $( '#page-search-checklist' ); /* * Avoid a new Ajax search when the pressed key (e.g. arrows) * doesn't change the searched term. */ if ( api.lastSearch == q ) { return; } /* * Reset results when search is less than or equal to * minimum characters for searched term. */ if ( q.length <= minSearchLength ) { pageSearchChecklist.empty(); wp.a11y.speak( wp.i18n.__( 'Search results cleared' ) ); return; } api.lastSearch = q; panel = input.parents('.tabs-panel'); params = { 'action': 'menu-quick-search', 'response-format': 'markup', 'menu': $('#menu').val(), 'menu-settings-column-nonce': $('#menu-settings-column-nonce').val(), 'q': q, 'type': input.attr('name') }; $( '.spinner', panel ).addClass( 'is-active' ); $.post( ajaxurl, params, function(menuMarkup) { api.processQuickSearchQueryResponse(menuMarkup, params, panel); }); }, addCustomLink : function( processMethod ) { var url = $('#custom-menu-item-url').val().toString(), label = $('#custom-menu-item-name').val(), urlRegex; if ( '' !== url ) { url = url.trim(); } processMethod = processMethod || api.addMenuItemToBottom; /* * Allow URLs including: * - http://example.com/ * - //example.com * - /directory/ * - ?query-param * - #target * - mailto:foo@example.com * * Any further validation will be handled on the server when the setting is attempted to be saved, * so this pattern does not need to be complete. */ urlRegex = /^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/; if ( ! urlRegex.test( url ) ) { $('#customlinkdiv').addClass('form-invalid'); return false; } // Show the Ajax spinner. $( '.customlinkdiv .spinner' ).addClass( 'is-active' ); this.addLinkToMenu( url, label, processMethod, function() { // Remove the Ajax spinner. $( '.customlinkdiv .spinner' ).removeClass( 'is-active' ); // Set custom link form back to defaults. $('#custom-menu-item-name').val('').trigger( 'blur' ); $( '#custom-menu-item-url' ).val( '' ).attr( 'placeholder', 'https://' ); }); }, addLinkToMenu : function(url, label, processMethod, callback) { processMethod = processMethod || api.addMenuItemToBottom; callback = callback || function(){}; api.addItemToMenu({ '-1': { 'menu-item-type': 'custom', 'menu-item-url': url, 'menu-item-title': label } }, processMethod, callback); }, addItemToMenu : function(menuItem, processMethod, callback) { var menu = $('#menu').val(), nonce = $('#menu-settings-column-nonce').val(), params; processMethod = processMethod || function(){}; callback = callback || function(){}; params = { 'action': 'add-menu-item', 'menu': menu, 'menu-settings-column-nonce': nonce, 'menu-item': menuItem }; $.post( ajaxurl, params, function(menuMarkup) { var ins = $('#menu-instructions'); menuMarkup = menuMarkup || ''; menuMarkup = menuMarkup.toString().trim(); // Trim leading whitespaces. processMethod(menuMarkup, params); // Make it stand out a bit more visually, by adding a fadeIn. $( 'li.pending' ).hide().fadeIn('slow'); $( '.drag-instructions' ).show(); if( ! ins.hasClass( 'menu-instructions-inactive' ) && ins.siblings().length ) ins.addClass( 'menu-instructions-inactive' ); callback(); }); }, /** * Process the add menu item request response into menu list item. Appends to menu. * * @param {string} menuMarkup The text server response of menu item markup. * * @fires document#menu-item-added Passes menuMarkup as a jQuery object. */ addMenuItemToBottom : function( menuMarkup ) { var $menuMarkup = $( menuMarkup ); $menuMarkup.hideAdvancedMenuItemFields().appendTo( api.targetList ); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); wp.a11y.speak( menus.itemAdded ); $( document ).trigger( 'menu-item-added', [ $menuMarkup ] ); }, /** * Process the add menu item request response into menu list item. Prepends to menu. * * @param {string} menuMarkup The text server response of menu item markup. * * @fires document#menu-item-added Passes menuMarkup as a jQuery object. */ addMenuItemToTop : function( menuMarkup ) { var $menuMarkup = $( menuMarkup ); $menuMarkup.hideAdvancedMenuItemFields().prependTo( api.targetList ); api.refreshKeyboardAccessibility(); api.refreshAdvancedAccessibility(); wp.a11y.speak( menus.itemAdded ); $( document ).trigger( 'menu-item-added', [ $menuMarkup ] ); }, attachUnsavedChangesListener : function() { $('#menu-management input, #menu-management select, #menu-management, #menu-management textarea, .menu-location-menus select').on( 'change', function(){ api.registerChange(); }); if ( 0 !== $('#menu-to-edit').length || 0 !== $('.menu-location-menus select').length ) { window.onbeforeunload = function(){ if ( api.menusChanged ) return wp.i18n.__( 'The changes you made will be lost if you navigate away from this page.' ); }; } else { // Make the post boxes read-only, as they can't be used yet. $( '#menu-settings-column' ).find( 'input,select' ).end().find( 'a' ).attr( 'href', '#' ).off( 'click' ); } }, registerChange : function() { api.menusChanged = true; }, attachTabsPanelListeners : function() { $('#menu-settings-column').on('click', function(e) { var selectAreaMatch, selectAll, panelId, wrapper, items, target = $(e.target); if ( target.hasClass('nav-tab-link') ) { panelId = target.data( 'type' ); wrapper = target.parents('.accordion-section-content').first(); // Upon changing tabs, we want to uncheck all checkboxes. $( 'input', wrapper ).prop( 'checked', false ); $('.tabs-panel-active', wrapper).removeClass('tabs-panel-active').addClass('tabs-panel-inactive'); $('#' + panelId, wrapper).removeClass('tabs-panel-inactive').addClass('tabs-panel-active'); $('.tabs', wrapper).removeClass('tabs'); target.parent().addClass('tabs'); // Select the search bar. $('.quick-search', wrapper).trigger( 'focus' ); // Hide controls in the search tab if no items found. if ( ! wrapper.find( '.tabs-panel-active .menu-item-title' ).length ) { wrapper.addClass( 'has-no-menu-item' ); } else { wrapper.removeClass( 'has-no-menu-item' ); } e.preventDefault(); } else if ( target.hasClass( 'select-all' ) ) { selectAreaMatch = target.closest( '.button-controls' ).data( 'items-type' ); if ( selectAreaMatch ) { items = $( '#' + selectAreaMatch + ' .tabs-panel-active .menu-item-title input' ); if ( items.length === items.filter( ':checked' ).length && ! target.is( ':checked' ) ) { items.prop( 'checked', false ); } else if ( target.is( ':checked' ) ) { items.prop( 'checked', true ); } } } else if ( target.hasClass( 'menu-item-checkbox' ) ) { selectAreaMatch = target.closest( '.tabs-panel-active' ).parent().attr( 'id' ); if ( selectAreaMatch ) { items = $( '#' + selectAreaMatch + ' .tabs-panel-active .menu-item-title input' ); selectAll = $( '.button-controls[data-items-type="' + selectAreaMatch + '"] .select-all' ); if ( items.length === items.filter( ':checked' ).length && ! selectAll.is( ':checked' ) ) { selectAll.prop( 'checked', true ); } else if ( selectAll.is( ':checked' ) ) { selectAll.prop( 'checked', false ); } } } else if ( target.hasClass('submit-add-to-menu') ) { api.registerChange(); if ( e.target.id && 'submit-customlinkdiv' == e.target.id ) api.addCustomLink( api.addMenuItemToBottom ); else if ( e.target.id && -1 != e.target.id.indexOf('submit-') ) $('#' + e.target.id.replace(/submit-/, '')).addSelectedToMenu( api.addMenuItemToBottom ); return false; } }); /* * Delegate the `click` event and attach it just to the pagination * links thus excluding the current page `<span>`. See ticket #35577. */ $( '#nav-menu-meta' ).on( 'click', 'a.page-numbers', function() { var $container = $( this ).closest( '.inside' ); $.post( ajaxurl, this.href.replace( /.*\?/, '' ).replace( /action=([^&]*)/, '' ) + '&action=menu-get-metabox', function( resp ) { var metaBoxData = JSON.parse( resp ), toReplace; if ( -1 === resp.indexOf( 'replace-id' ) ) { return; } // Get the post type menu meta box to update. toReplace = document.getElementById( metaBoxData['replace-id'] ); if ( ! metaBoxData.markup || ! toReplace ) { return; } // Update the post type menu meta box with new content from the response. $container.html( metaBoxData.markup ); } ); return false; }); }, eventOnClickEditLink : function(clickedEl) { var settings, item, matchedSection = /#(.*)$/.exec(clickedEl.href); if ( matchedSection && matchedSection[1] ) { settings = $('#'+matchedSection[1]); item = settings.parent(); if( 0 !== item.length ) { if( item.hasClass('menu-item-edit-inactive') ) { if( ! settings.data('menu-item-data') ) { settings.data( 'menu-item-data', settings.getItemData() ); } settings.slideDown('fast'); item.removeClass('menu-item-edit-inactive') .addClass('menu-item-edit-active'); } else { settings.slideUp('fast'); item.removeClass('menu-item-edit-active') .addClass('menu-item-edit-inactive'); } return false; } } }, eventOnClickCancelLink : function(clickedEl) { var settings = $( clickedEl ).closest( '.menu-item-settings' ), thisMenuItem = $( clickedEl ).closest( '.menu-item' ); thisMenuItem.removeClass( 'menu-item-edit-active' ).addClass( 'menu-item-edit-inactive' ); settings.setItemData( settings.data( 'menu-item-data' ) ).hide(); // Restore the title of the currently active/expanded menu item. thisMenuItem.find( '.menu-item-title' ).text( settings.data( 'menu-item-data' )['menu-item-title'] ); return false; }, eventOnClickMenuSave : function() { var menuName = $('#menu-name'), menuNameVal = menuName.val(); // Cancel and warn if invalid menu name. if ( ! menuNameVal || ! menuNameVal.replace( /\s+/, '' ) ) { menuName.parent().addClass( 'form-invalid' ); return false; } // Copy menu theme locations. // Note: This appears to be dead code since #nav-menu-theme-locations no longer exists, perhaps removed in r32842. var $updateNavMenu = $('#update-nav-menu'); $('#nav-menu-theme-locations select').each(function() { $updateNavMenu.append( $( '<input>', { type: 'hidden', name: this.name, value: $( this ).val(), } ) ); }); // Update menu item position data. api.menuList.find('.menu-item-data-position').val( function(index) { return index + 1; } ); window.onbeforeunload = null; return true; }, eventOnClickMenuDelete : function() { // Delete warning AYS. if ( window.confirm( wp.i18n.__( 'You are about to permanently delete this menu.\n\'Cancel\' to stop, \'OK\' to delete.' ) ) ) { window.onbeforeunload = null; return true; } return false; }, eventOnClickMenuItemDelete : function(clickedEl) { var itemID = parseInt(clickedEl.id.replace('delete-', ''), 10); api.removeMenuItem( $('#menu-item-' + itemID) ); api.registerChange(); return false; }, /** * Process the quick search response into a search result * * @param string resp The server response to the query. * @param object req The request arguments. * @param jQuery panel The tabs panel we're searching in. */ processQuickSearchQueryResponse : function(resp, req, panel) { var matched, newID, takenIDs = {}, form = document.getElementById('nav-menu-meta'), pattern = /menu-item[(\[^]\]*/, $items = $('<div>').html(resp).find('li'), wrapper = panel.closest( '.accordion-section-content' ), selectAll = wrapper.find( '.button-controls .select-all' ), $item; if( ! $items.length ) { let noResults = wp.i18n.__( 'No results found.' ); const li = $( '<li>' ); const p = $( '<p>', { text: noResults } ); li.append( p ); $('.categorychecklist', panel).empty().append( li ); $( '.spinner', panel ).removeClass( 'is-active' ); wrapper.addClass( 'has-no-menu-item' ); wp.a11y.speak( noResults, 'assertive' ); return; } $items.each(function(){ $item = $(this); // Make a unique DB ID number. matched = pattern.exec($item.html()); if ( matched && matched[1] ) { newID = matched[1]; while( form.elements['menu-item[' + newID + '][menu-item-type]'] || takenIDs[ newID ] ) { newID--; } takenIDs[newID] = true; if ( newID != matched[1] ) { $item.html( $item.html().replace(new RegExp( 'menu-item\\[' + matched[1] + '\\]', 'g'), 'menu-item[' + newID + ']' ) ); } } }); $('.categorychecklist', panel).html( $items ); wp.a11y.speak( wp.i18n.sprintf( wp.i18n.__( '%d Search Results Found' ), $items.length ), 'assertive' ); $( '.spinner', panel ).removeClass( 'is-active' ); wrapper.removeClass( 'has-no-menu-item' ); if ( selectAll.is( ':checked' ) ) { selectAll.prop( 'checked', false ); } }, /** * Remove a menu item. * * @param {Object} el The element to be removed as a jQuery object. * * @fires document#menu-removing-item Passes the element to be removed. */ removeMenuItem : function(el) { var children = el.childMenuItems(); $( document ).trigger( 'menu-removing-item', [ el ] ); el.addClass('deleting').animate({ opacity : 0, height: 0 }, 350, function() { var ins = $('#menu-instructions'); el.remove(); children.shiftDepthClass( -1 ).updateParentMenuItemDBId(); if ( 0 === $( '#menu-to-edit li' ).length ) { $( '.drag-instructions' ).hide(); ins.removeClass( 'menu-instructions-inactive' ); } api.refreshAdvancedAccessibility(); wp.a11y.speak( menus.itemRemoved ); $( '#menu-to-edit' ).updateParentDropdown(); $( '#menu-to-edit' ).updateOrderDropdown(); }); }, depthToPx : function(depth) { return depth * api.options.menuItemDepthPerLevel; }, pxToDepth : function(px) { return Math.floor(px / api.options.menuItemDepthPerLevel); } }; $( function() { wpNavMenu.init(); // Prevent focused element from being hidden by the sticky footer. $( '.menu-edit a, .menu-edit button, .menu-edit input, .menu-edit textarea, .menu-edit select' ).on('focus', function() { if ( window.innerWidth >= 783 ) { var navMenuHeight = $( '#nav-menu-footer' ).height() + 20; var bottomOffset = $(this).offset().top - ( $(window).scrollTop() + $(window).height() - $(this).height() ); if ( bottomOffset > 0 ) { bottomOffset = 0; } bottomOffset = bottomOffset * -1; if( bottomOffset < navMenuHeight ) { var scrollTop = $(document).scrollTop(); $(document).scrollTop( scrollTop + ( navMenuHeight - bottomOffset ) ); } } }); }); // Show bulk action. $( document ).on( 'menu-item-added', function() { if ( ! $( '.bulk-actions' ).is( ':visible' ) ) { $( '.bulk-actions' ).show(); } } ); // Hide bulk action. $( document ).on( 'menu-removing-item', function( e, el ) { var menuElement = $( el ).parents( '#menu-to-edit' ); if ( menuElement.find( 'li' ).length === 1 && $( '.bulk-actions' ).is( ':visible' ) ) { $( '.bulk-actions' ).hide(); } } ); })(jQuery); tags-box.min.js 0000644 00000006005 15174671433 0007424 0 ustar 00 /*! This file is auto-generated */ !function(o){var r=wp.i18n._x(",","tag delimiter")||",";window.array_unique_noempty=function(t){var a=[];return o.each(t,function(t,e){(e=(e=e||"").trim())&&-1===o.inArray(e,a)&&a.push(e)}),a},window.tagBox={clean:function(t){return t=(t=","!==r?t.replace(new RegExp(r,"g"),","):t).replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,""),t=","!==r?t.replace(/,/g,r):t},parseTags:function(t){var e=t.id.split("-check-num-")[1],t=o(t).closest(".tagsdiv"),a=t.find(".the-tags"),i=a.val().split(r),n=[];return delete i[e],o.each(i,function(t,e){(e=(e=e||"").trim())&&n.push(e)}),a.val(this.clean(n.join(r))),this.quickClicks(t),!1},quickClicks:function(t){var a,e=o(".the-tags",t),i=o(".tagchecklist",t),n=o(t).attr("id");e.length&&(a=e.prop("disabled"),t=e.val().split(r),i.empty(),o.each(t,function(t,e){(e=(e=e||"").trim())&&(e=o("<li />").text(e),a||((t=o('<button type="button" id="'+n+"-check-num-"+t+'" class="ntdelbutton"><span class="remove-tag-icon" aria-hidden="true"></span><span class="screen-reader-text">'+wp.i18n.__("Remove term:")+" "+e.html()+"</span></button>")).on("click keypress",function(t){"click"!==t.type&&13!==t.keyCode&&32!==t.keyCode||(13!==t.keyCode&&32!==t.keyCode||o(this).closest(".tagsdiv").find("input.newtag").trigger("focus"),tagBox.userAction="remove",tagBox.parseTags(this))}),e.prepend(" ").prepend(t)),i.append(e))}),tagBox.screenReadersMessage())},flushTags:function(t,e,a){var i,n,s=o(".the-tags",t),c=o("input.newtag",t);return void 0!==(n=(e=e||!1)?o(e).text():c.val())&&""!==n&&(i=s.val(),i=this.clean(i=i?i+r+n:n),i=array_unique_noempty(i.split(r)).join(r),s.val(i),this.quickClicks(t),e||c.val(""),void 0===a)&&c.trigger("focus"),!1},get:function(a){var i=a.substr(a.indexOf("-")+1);o.post(ajaxurl,{action:"get-tagcloud",tax:i},function(t,e){0!==t&&"success"==e&&(t=o('<div id="tagcloud-'+i+'" class="the-tagcloud">'+t+"</div>"),o("a",t).on("click",function(){return tagBox.userAction="add",tagBox.flushTags(o("#"+i),this),!1}),o("#"+a).after(t))})},userAction:"",screenReadersMessage:function(){var t;switch(this.userAction){case"remove":t=wp.i18n.__("Term removed.");break;case"add":t=wp.i18n.__("Term added.");break;default:return}window.wp.a11y.speak(t,"assertive")},init:function(){var t=o("div.ajaxtag");o(".tagsdiv").each(function(){tagBox.quickClicks(this)}),o(".tagadd",t).on("click",function(){tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv"))}),o("input.newtag",t).on("keypress",function(t){13==t.which&&(tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv")),t.preventDefault(),t.stopPropagation())}).each(function(t,e){o(e).wpTagsSuggest()}),o("#post").on("submit",function(){o("div.tagsdiv").each(function(){tagBox.flushTags(this,!1,1)})}),o(".tagcloud-link").on("click",function(){tagBox.get(o(this).attr("id")),o(this).attr("aria-expanded","true").off().on("click",function(){o(this).attr("aria-expanded","false"===o(this).attr("aria-expanded")?"true":"false").siblings(".the-tagcloud").toggle()})})}}}(jQuery); tags-suggest.min.js 0000644 00000004335 15174671433 0010321 0 ustar 00 /*! This file is auto-generated */ !function(s){var u=0,n=wp.i18n._x(",","tag delimiter")||",",t=wp.i18n.__,d=wp.i18n._n,l=wp.i18n.sprintf;function p(e){return e.split(new RegExp(n+"\\s*"))}s.fn.wpTagsSuggest=function(e){var i,o,a,r=s(this);return r.length&&(a=(e=e||{}).taxonomy||r.attr("data-wp-taxonomy")||"post_tag",delete e.taxonomy,e=s.extend({source:function(e,n){var t;o===e.term?n(i):(t=p(e.term).pop(),s.get(window.ajaxurl,{action:"ajax-tag-search",tax:a,q:t,number:20}).always(function(){r.removeClass("ui-autocomplete-loading")}).done(function(e){var t,o=[];if(e){for(t in e=e.split("\n")){var a=++u;o.push({id:a,name:e[t]})}n(i=o)}else n(o)}),o=e.term)},focus:function(e,t){r.attr("aria-activedescendant","wp-tags-autocomplete-"+t.item.id),e.preventDefault()},select:function(e,t){var o=p(r.val());return o.pop(),o.push(t.item.name,""),r.val(o.join(n+" ")),s.ui.keyCode.TAB===e.keyCode?(window.wp.a11y.speak(wp.i18n.__("Term selected."),"assertive"),e.preventDefault()):s.ui.keyCode.ENTER===e.keyCode&&(window.tagBox&&(window.tagBox.userAction="add",window.tagBox.flushTags(s(this).closest(".tagsdiv"))),e.preventDefault(),e.stopPropagation()),!1},open:function(){r.attr("aria-expanded","true")},close:function(){r.attr("aria-expanded","false")},minLength:2,position:{my:"left top+2",at:"left bottom",collision:"none"},messages:{noResults:t("No results found."),results:function(e){return l(d("%d result found. Use up and down arrow keys to navigate.","%d results found. Use up and down arrow keys to navigate.",e),e)}}},e),r.on("keydown",function(){r.removeAttr("aria-activedescendant")}),r.autocomplete(e),r.autocomplete("instance"))&&(r.autocomplete("instance")._renderItem=function(e,t){return s('<li role="option" id="wp-tags-autocomplete-'+t.id+'">').text(t.name).appendTo(e)},r.attr({role:"combobox","aria-autocomplete":"list","aria-expanded":"false","aria-owns":r.autocomplete("widget").attr("id")}).on("focus",function(){p(r.val()).pop()&&r.autocomplete("search")}),r.autocomplete("widget").addClass("wp-tags-autocomplete").attr("role","listbox").removeAttr("tabindex").on("menufocus",function(e,t){t.item.attr("aria-selected","true")}).on("menublur",function(){s(this).find('[aria-selected="true"]').removeAttr("aria-selected")})),this}}(jQuery); xfn.js 0000644 00000001344 15174671433 0005712 0 ustar 00 /** * Generates the XHTML Friends Network 'rel' string from the inputs. * * @deprecated 3.5.0 * @output wp-admin/js/xfn.js */ jQuery( function( $ ) { $( '#link_rel' ).prop( 'readonly', true ); $( '#linkxfndiv input' ).on( 'click keyup', function() { var isMe = $( '#me' ).is( ':checked' ), inputs = ''; $( 'input.valinp' ).each( function() { if ( isMe ) { $( this ).prop( 'disabled', true ).parent().addClass( 'disabled' ); } else { $( this ).removeAttr( 'disabled' ).parent().removeClass( 'disabled' ); if ( $( this ).is( ':checked' ) && $( this ).val() !== '') { inputs += $( this ).val() + ' '; } } }); $( '#link_rel' ).val( ( isMe ) ? 'me' : inputs.substr( 0,inputs.length - 1 ) ); }); }); media-upload.js 0000644 00000006611 15174671433 0007462 0 ustar 00 /** * Contains global functions for the media upload within the post edit screen. * * Updates the ThickBox anchor href and the ThickBox's own properties in order * to set the size and position on every resize event. Also adds a function to * send HTML or text to the currently active editor. * * @file * @since 2.5.0 * @output wp-admin/js/media-upload.js * * @requires jQuery */ /* global tinymce, QTags, wpActiveEditor, tb_position */ /** * Sends the HTML passed in the parameters to TinyMCE. * * @since 2.5.0 * * @global * * @param {string} html The HTML to be sent to the editor. * @return {void|boolean} Returns false when both TinyMCE and QTags instances * are unavailable. This means that the HTML was not * sent to the editor. */ window.send_to_editor = function( html ) { var editor, hasTinymce = typeof tinymce !== 'undefined', hasQuicktags = typeof QTags !== 'undefined'; // If no active editor is set, try to set it. if ( ! wpActiveEditor ) { if ( hasTinymce && tinymce.activeEditor ) { editor = tinymce.activeEditor; window.wpActiveEditor = editor.id; } else if ( ! hasQuicktags ) { return false; } } else if ( hasTinymce ) { editor = tinymce.get( wpActiveEditor ); } // If the editor is set and not hidden, // insert the HTML into the content of the editor. if ( editor && ! editor.isHidden() ) { editor.execCommand( 'mceInsertContent', false, html ); } else if ( hasQuicktags ) { // If quick tags are available, insert the HTML into its content. QTags.insertContent( html ); } else { // If neither the TinyMCE editor and the quick tags are available, // add the HTML to the current active editor. document.getElementById( wpActiveEditor ).value += html; } // If the old thickbox remove function exists, call it. if ( window.tb_remove ) { try { window.tb_remove(); } catch( e ) {} } }; (function($) { /** * Recalculates and applies the new ThickBox position based on the current * window size. * * @since 2.6.0 * * @global * * @return {Object[]} Array containing jQuery objects for all the found * ThickBox anchors. */ window.tb_position = function() { var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 833 < width ) ? 833 : width, adminbar_height = 0; if ( $('#wpadminbar').length ) { adminbar_height = parseInt( $('#wpadminbar').css('height'), 10 ); } if ( tbWindow.length ) { tbWindow.width( W - 50 ).height( H - 45 - adminbar_height ); $('#TB_iframeContent').width( W - 50 ).height( H - 75 - adminbar_height ); tbWindow.css({'margin-left': '-' + parseInt( ( ( W - 50 ) / 2 ), 10 ) + 'px'}); if ( typeof document.body.style.maxWidth !== 'undefined' ) tbWindow.css({'top': 20 + adminbar_height + 'px', 'margin-top': '0'}); } /** * Recalculates the new height and width for all links with a ThickBox class. * * @since 2.6.0 */ return $('a.thickbox').each( function() { var href = $(this).attr('href'); if ( ! href ) return; href = href.replace(/&width=[0-9]+/g, ''); href = href.replace(/&height=[0-9]+/g, ''); $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 - adminbar_height ) ); }); }; // Add handler to recalculates the ThickBox position when the window is resized. $(window).on( 'resize', function(){ tb_position(); }); })(jQuery); password-toggle.min.js 0000644 00000001517 15174671433 0011024 0 ustar 00 /*! This file is auto-generated */ !function(){var t,e,s,i,a=wp.i18n.__;function d(){t=this.getAttribute("data-toggle"),e=this.parentElement.children.namedItem("pwd"),s=this.getElementsByClassName("dashicons")[0],i=this.getElementsByClassName("text")[0],0===parseInt(t,10)?(this.setAttribute("data-toggle",1),this.setAttribute("aria-label",a("Hide password")),e.setAttribute("type","text"),i.innerHTML=a("Hide"),s.classList.remove("dashicons-visibility"),s.classList.add("dashicons-hidden")):(this.setAttribute("data-toggle",0),this.setAttribute("aria-label",a("Show password")),e.setAttribute("type","password"),i.innerHTML=a("Show"),s.classList.remove("dashicons-hidden"),s.classList.add("dashicons-visibility"))}document.querySelectorAll(".pwd-toggle").forEach(function(t){t.classList.remove("hide-if-no-js"),t.addEventListener("click",d)})}(); comment.js 0000644 00000005547 15174671433 0006572 0 ustar 00 /** * @output wp-admin/js/comment.js */ /* global postboxes */ /** * Binds to the document ready event. * * @since 2.5.0 * * @param {jQuery} $ The jQuery object. */ jQuery( function($) { postboxes.add_postbox_toggles('comment'); var $timestampdiv = $('#timestampdiv'), $timestamp = $( '#timestamp' ), stamp = $timestamp.html(), $timestampwrap = $timestampdiv.find( '.timestamp-wrap' ), $edittimestamp = $timestampdiv.siblings( 'a.edit-timestamp' ); /** * Adds event that opens the time stamp form if the form is hidden. * * @listens $edittimestamp:click * * @param {Event} event The event object. * @return {void} */ $edittimestamp.on( 'click', function( event ) { if ( $timestampdiv.is( ':hidden' ) ) { // Slide down the form and set focus on the first field. $timestampdiv.slideDown( 'fast', function() { $( 'input, select', $timestampwrap ).first().trigger( 'focus' ); } ); $(this).hide(); } event.preventDefault(); }); /** * Resets the time stamp values when the cancel button is clicked. * * @listens .cancel-timestamp:click * * @param {Event} event The event object. * @return {void} */ $timestampdiv.find('.cancel-timestamp').on( 'click', function( event ) { // Move focus back to the Edit link. $edittimestamp.show().trigger( 'focus' ); $timestampdiv.slideUp( 'fast' ); $('#mm').val($('#hidden_mm').val()); $('#jj').val($('#hidden_jj').val()); $('#aa').val($('#hidden_aa').val()); $('#hh').val($('#hidden_hh').val()); $('#mn').val($('#hidden_mn').val()); $timestamp.html( stamp ); event.preventDefault(); }); /** * Sets the time stamp values when the ok button is clicked. * * @listens .save-timestamp:click * * @param {Event} event The event object. * @return {void} */ $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse branch - multiple OK cancels. var aa = $('#aa').val(), mm = $('#mm').val(), jj = $('#jj').val(), hh = $('#hh').val(), mn = $('#mn').val(), newD = new Date( aa, mm - 1, jj, hh, mn ); event.preventDefault(); if ( newD.getFullYear() != aa || (1 + newD.getMonth()) != mm || newD.getDate() != jj || newD.getMinutes() != mn ) { $timestampwrap.addClass( 'form-invalid' ); return; } else { $timestampwrap.removeClass( 'form-invalid' ); } $timestamp.html( wp.i18n.__( 'Submitted on:' ) + ' <b>' + /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ wp.i18n.__( '%1$s %2$s, %3$s at %4$s:%5$s' ) .replace( '%1$s', $( 'option[value="' + mm + '"]', '#mm' ).attr( 'data-text' ) ) .replace( '%2$s', parseInt( jj, 10 ) ) .replace( '%3$s', aa ) .replace( '%4$s', ( '00' + hh ).slice( -2 ) ) .replace( '%5$s', ( '00' + mn ).slice( -2 ) ) + '</b> ' ); // Move focus back to the Edit link. $edittimestamp.show().trigger( 'focus' ); $timestampdiv.slideUp( 'fast' ); }); }); code-editor.min.js 0000644 00000006013 15174671433 0010075 0 ustar 00 /*! This file is auto-generated */ void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint)&&(t.options.rules.csslint=s.csslint),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,e,n){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,e,n),!_.isEqual(o,a)&&(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,e,n),!r.state.focused||0===a.length||0<d.length)&&c()}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,e){var n,o="CodeMirror-lint-markers";"lint"===e&&(e=r.getOption("gutters")||[],!0===(n=r.getOption("lint"))?(_.contains(e,o)||r.setOption("gutters",[o].concat(e)),r.setOption("lint",i())):n||r.setOption("gutters",_.without(e,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,e){var a,n,o,i,t=u("string"==typeof t?"#"+t:t),r=u.extend({},d.codeEditor.defaultSettings,e);return r.codemirror=u.extend({},r.codemirror),s(a=d.CodeMirror.fromTextArea(t[0],r.codemirror),r),t={settings:r,codemirror:a},a.showHint&&a.on("keyup",function(t,e){var n,o,i,r,s=/^[a-zA-Z]$/.test(e.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?n="<"===e.key||"/"===e.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?n=s||":"===e.key||" "===e.key&&/:\s+$/.test(o):"javascript"===i?n=s||"."===e.key:"clike"===i&&"php"===a.options.mode&&(n="keyword"===r.type||"variable"===r.type),n)&&a.showHint({completeSingle:!1})}),o=e,i=u((n=a).getTextArea()),n.on("blur",function(){i.data("next-tab-blurs",!1)}),n.on("keydown",function(t,e){27===e.keyCode?i.data("next-tab-blurs",!0):9===e.keyCode&&i.data("next-tab-blurs")&&(e.shiftKey?o.onTabPrevious(n,e):o.onTabNext(n,e),i.data("next-tab-blurs",!1),e.preventDefault())}),t}}(window.jQuery,window.wp); custom-header.js 0000644 00000003747 15174671433 0007670 0 ustar 00 /** * @output wp-admin/js/custom-header.js */ /* global isRtl */ /** * Initializes the custom header selection page. * * @since 3.5.0 * * @deprecated 4.1.0 The page this is used on is never linked to from the UI. * Setting a custom header is completely handled by the Customizer. */ (function($) { var frame; $( function() { // Fetch available headers. var $headers = $('.available-headers'); // Apply jQuery.masonry once the images have loaded. $headers.imagesLoaded( function() { $headers.masonry({ itemSelector: '.default-header', isRTL: !! ( 'undefined' != typeof isRtl && isRtl ) }); }); /** * Opens the 'choose from library' frame and creates it if it doesn't exist. * * @since 3.5.0 * @deprecated 4.1.0 * * @return {void} */ $('#choose-from-library-link').on( 'click', function( event ) { var $el = $(this); event.preventDefault(); // If the media frame already exists, reopen it. if ( frame ) { frame.open(); return; } // Create the media frame. frame = wp.media.frames.customHeader = wp.media({ // Set the title of the modal. title: $el.data('choose'), // Tell the modal to show only images. library: { type: 'image' }, // Customize the submit button. button: { // Set the text of the button. text: $el.data('update'), // Tell the button not to close the modal, since we're // going to refresh the page when the image is selected. close: false } }); /** * Updates the window location to include the selected attachment. * * @since 3.5.0 * @deprecated 4.1.0 * * @return {void} */ frame.on( 'select', function() { // Grab the selected attachment. var attachment = frame.state().get('selection').first(), link = $el.data('updateLink'); // Tell the browser to navigate to the crop step. window.location = link + '&file=' + attachment.id; }); frame.open(); }); }); }(jQuery)); customize-widgets.js 0000644 00000214057 15174671433 0010614 0 ustar 00 /** * @output wp-admin/js/customize-widgets.js */ /* global _wpCustomizeWidgetsSettings */ (function( wp, $ ){ if ( ! wp || ! wp.customize ) { return; } // Set up our namespace... var api = wp.customize, l10n; /** * @namespace wp.customize.Widgets */ api.Widgets = api.Widgets || {}; api.Widgets.savedWidgetIds = {}; // Link settings. api.Widgets.data = _wpCustomizeWidgetsSettings || {}; l10n = api.Widgets.data.l10n; /** * wp.customize.Widgets.WidgetModel * * A single widget model. * * @class wp.customize.Widgets.WidgetModel * @augments Backbone.Model */ api.Widgets.WidgetModel = Backbone.Model.extend(/** @lends wp.customize.Widgets.WidgetModel.prototype */{ id: null, temp_id: null, classname: null, control_tpl: null, description: null, is_disabled: null, is_multi: null, multi_number: null, name: null, id_base: null, transport: null, params: [], width: null, height: null, search_matched: true }); /** * wp.customize.Widgets.WidgetCollection * * Collection for widget models. * * @class wp.customize.Widgets.WidgetCollection * @augments Backbone.Collection */ api.Widgets.WidgetCollection = Backbone.Collection.extend(/** @lends wp.customize.Widgets.WidgetCollection.prototype */{ model: api.Widgets.WidgetModel, // Controls searching on the current widget collection // and triggers an update event. doSearch: function( value ) { // Don't do anything if we've already done this search. // Useful because the search handler fires multiple times per keystroke. if ( this.terms === value ) { return; } // Updates terms with the value passed. this.terms = value; // If we have terms, run a search... if ( this.terms.length > 0 ) { this.search( this.terms ); } // If search is blank, set all the widgets as they matched the search to reset the views. if ( this.terms === '' ) { this.each( function ( widget ) { widget.set( 'search_matched', true ); } ); } }, // Performs a search within the collection. // @uses RegExp search: function( term ) { var match, haystack; // Escape the term string for RegExp meta characters. term = term.replace( /[-\/\\^$*+?.()|[\]{}]/g, '\\$&' ); // Consider spaces as word delimiters and match the whole string // so matching terms can be combined. term = term.replace( / /g, ')(?=.*' ); match = new RegExp( '^(?=.*' + term + ').+', 'i' ); this.each( function ( data ) { haystack = [ data.get( 'name' ), data.get( 'description' ) ].join( ' ' ); data.set( 'search_matched', match.test( haystack ) ); } ); } }); api.Widgets.availableWidgets = new api.Widgets.WidgetCollection( api.Widgets.data.availableWidgets ); /** * wp.customize.Widgets.SidebarModel * * A single sidebar model. * * @class wp.customize.Widgets.SidebarModel * @augments Backbone.Model */ api.Widgets.SidebarModel = Backbone.Model.extend(/** @lends wp.customize.Widgets.SidebarModel.prototype */{ after_title: null, after_widget: null, before_title: null, before_widget: null, 'class': null, description: null, id: null, name: null, is_rendered: false }); /** * wp.customize.Widgets.SidebarCollection * * Collection for sidebar models. * * @class wp.customize.Widgets.SidebarCollection * @augments Backbone.Collection */ api.Widgets.SidebarCollection = Backbone.Collection.extend(/** @lends wp.customize.Widgets.SidebarCollection.prototype */{ model: api.Widgets.SidebarModel }); api.Widgets.registeredSidebars = new api.Widgets.SidebarCollection( api.Widgets.data.registeredSidebars ); api.Widgets.AvailableWidgetsPanelView = wp.Backbone.View.extend(/** @lends wp.customize.Widgets.AvailableWidgetsPanelView.prototype */{ el: '#available-widgets', events: { 'input #widgets-search': 'search', 'focus .widget-tpl' : 'focus', 'click .widget-tpl' : '_submit', 'keypress .widget-tpl' : '_submit', 'keydown' : 'keyboardAccessible' }, // Cache current selected widget. selected: null, // Cache sidebar control which has opened panel. currentSidebarControl: null, $search: null, $clearResults: null, searchMatchesCount: null, /** * View class for the available widgets panel. * * @constructs wp.customize.Widgets.AvailableWidgetsPanelView * @augments wp.Backbone.View */ initialize: function() { var self = this; this.$search = $( '#widgets-search' ); this.$clearResults = this.$el.find( '.clear-results' ); _.bindAll( this, 'close' ); this.listenTo( this.collection, 'change', this.updateList ); this.updateList(); // Set the initial search count to the number of available widgets. this.searchMatchesCount = this.collection.length; /* * If the available widgets panel is open and the customize controls * are interacted with (i.e. available widgets panel is blurred) then * close the available widgets panel. Also close on back button click. */ $( '#customize-controls, #available-widgets .customize-section-title' ).on( 'click keydown', function( e ) { var isAddNewBtn = $( e.target ).is( '.add-new-widget, .add-new-widget *' ); if ( $( 'body' ).hasClass( 'adding-widget' ) && ! isAddNewBtn ) { self.close(); } } ); // Clear the search results and trigger an `input` event to fire a new search. this.$clearResults.on( 'click', function() { self.$search.val( '' ).trigger( 'focus' ).trigger( 'input' ); } ); // Close the panel if the URL in the preview changes. api.previewer.bind( 'url', this.close ); }, /** * Performs a search and handles selected widget. */ search: _.debounce( function( event ) { var firstVisible; this.collection.doSearch( event.target.value ); // Update the search matches count. this.updateSearchMatchesCount(); // Announce how many search results. this.announceSearchMatches(); // Remove a widget from being selected if it is no longer visible. if ( this.selected && ! this.selected.is( ':visible' ) ) { this.selected.removeClass( 'selected' ); this.selected = null; } // If a widget was selected but the filter value has been cleared out, clear selection. if ( this.selected && ! event.target.value ) { this.selected.removeClass( 'selected' ); this.selected = null; } // If a filter has been entered and a widget hasn't been selected, select the first one shown. if ( ! this.selected && event.target.value ) { firstVisible = this.$el.find( '> .widget-tpl:visible:first' ); if ( firstVisible.length ) { this.select( firstVisible ); } } // Toggle the clear search results button. if ( '' !== event.target.value ) { this.$clearResults.addClass( 'is-visible' ); } else if ( '' === event.target.value ) { this.$clearResults.removeClass( 'is-visible' ); } // Set a CSS class on the search container when there are no search results. if ( ! this.searchMatchesCount ) { this.$el.addClass( 'no-widgets-found' ); } else { this.$el.removeClass( 'no-widgets-found' ); } }, 500 ), /** * Updates the count of the available widgets that have the `search_matched` attribute. */ updateSearchMatchesCount: function() { this.searchMatchesCount = this.collection.where({ search_matched: true }).length; }, /** * Sends a message to the aria-live region to announce how many search results. */ announceSearchMatches: function() { var message = l10n.widgetsFound.replace( '%d', this.searchMatchesCount ) ; if ( ! this.searchMatchesCount ) { message = l10n.noWidgetsFound; } wp.a11y.speak( message ); }, /** * Changes visibility of available widgets. */ updateList: function() { this.collection.each( function( widget ) { var widgetTpl = $( '#widget-tpl-' + widget.id ); widgetTpl.toggle( widget.get( 'search_matched' ) && ! widget.get( 'is_disabled' ) ); if ( widget.get( 'is_disabled' ) && widgetTpl.is( this.selected ) ) { this.selected = null; } } ); }, /** * Highlights a widget. */ select: function( widgetTpl ) { this.selected = $( widgetTpl ); this.selected.siblings( '.widget-tpl' ).removeClass( 'selected' ); this.selected.addClass( 'selected' ); }, /** * Highlights a widget on focus. */ focus: function( event ) { this.select( $( event.currentTarget ) ); }, /** * Handles submit for keypress and click on widget. */ _submit: function( event ) { // Only proceed with keypress if it is Enter or Spacebar. if ( event.type === 'keypress' && ( event.which !== 13 && event.which !== 32 ) ) { return; } this.submit( $( event.currentTarget ) ); }, /** * Adds a selected widget to the sidebar. */ submit: function( widgetTpl ) { var widgetId, widget, widgetFormControl; if ( ! widgetTpl ) { widgetTpl = this.selected; } if ( ! widgetTpl || ! this.currentSidebarControl ) { return; } this.select( widgetTpl ); widgetId = $( this.selected ).data( 'widget-id' ); widget = this.collection.findWhere( { id: widgetId } ); if ( ! widget ) { return; } widgetFormControl = this.currentSidebarControl.addWidget( widget.get( 'id_base' ) ); if ( widgetFormControl ) { widgetFormControl.focus(); } this.close(); }, /** * Opens the panel. */ open: function( sidebarControl ) { this.currentSidebarControl = sidebarControl; // Wide widget controls appear over the preview, and so they need to be collapsed when the panel opens. _( this.currentSidebarControl.getWidgetFormControls() ).each( function( control ) { if ( control.params.is_wide ) { control.collapseForm(); } } ); if ( api.section.has( 'publish_settings' ) ) { api.section( 'publish_settings' ).collapse(); } $( 'body' ).addClass( 'adding-widget' ); this.$el.find( '.selected' ).removeClass( 'selected' ); // Reset search. this.collection.doSearch( '' ); if ( ! api.settings.browser.mobile ) { this.$search.trigger( 'focus' ); } }, /** * Closes the panel. */ close: function( options ) { options = options || {}; if ( options.returnFocus && this.currentSidebarControl ) { this.currentSidebarControl.container.find( '.add-new-widget' ).focus(); } this.currentSidebarControl = null; this.selected = null; $( 'body' ).removeClass( 'adding-widget' ); this.$search.val( '' ).trigger( 'input' ); }, /** * Adds keyboard accessibility to the panel. */ keyboardAccessible: function( event ) { var isEnter = ( event.which === 13 ), isEsc = ( event.which === 27 ), isDown = ( event.which === 40 ), isUp = ( event.which === 38 ), isTab = ( event.which === 9 ), isShift = ( event.shiftKey ), selected = null, firstVisible = this.$el.find( '> .widget-tpl:visible:first' ), lastVisible = this.$el.find( '> .widget-tpl:visible:last' ), isSearchFocused = $( event.target ).is( this.$search ), isLastWidgetFocused = $( event.target ).is( '.widget-tpl:visible:last' ); if ( isDown || isUp ) { if ( isDown ) { if ( isSearchFocused ) { selected = firstVisible; } else if ( this.selected && this.selected.nextAll( '.widget-tpl:visible' ).length !== 0 ) { selected = this.selected.nextAll( '.widget-tpl:visible:first' ); } } else if ( isUp ) { if ( isSearchFocused ) { selected = lastVisible; } else if ( this.selected && this.selected.prevAll( '.widget-tpl:visible' ).length !== 0 ) { selected = this.selected.prevAll( '.widget-tpl:visible:first' ); } } this.select( selected ); if ( selected ) { selected.trigger( 'focus' ); } else { this.$search.trigger( 'focus' ); } return; } // If enter pressed but nothing entered, don't do anything. if ( isEnter && ! this.$search.val() ) { return; } if ( isEnter ) { this.submit(); } else if ( isEsc ) { this.close( { returnFocus: true } ); } if ( this.currentSidebarControl && isTab && ( isShift && isSearchFocused || ! isShift && isLastWidgetFocused ) ) { this.currentSidebarControl.container.find( '.add-new-widget' ).focus(); event.preventDefault(); } } }); /** * Handlers for the widget-synced event, organized by widget ID base. * Other widgets may provide their own update handlers by adding * listeners for the widget-synced event. * * @alias wp.customize.Widgets.formSyncHandlers */ api.Widgets.formSyncHandlers = { /** * @param {jQuery.Event} e * @param {jQuery} widget * @param {string} newForm */ rss: function( e, widget, newForm ) { var oldWidgetError = widget.find( '.widget-error:first' ), newWidgetError = $( '<div>' + newForm + '</div>' ).find( '.widget-error:first' ); if ( oldWidgetError.length && newWidgetError.length ) { oldWidgetError.replaceWith( newWidgetError ); } else if ( oldWidgetError.length ) { oldWidgetError.remove(); } else if ( newWidgetError.length ) { widget.find( '.widget-content:first' ).prepend( newWidgetError ); } } }; api.Widgets.WidgetControl = api.Control.extend(/** @lends wp.customize.Widgets.WidgetControl.prototype */{ defaultExpandedArguments: { duration: 'fast', completeCallback: $.noop }, /** * wp.customize.Widgets.WidgetControl * * Customizer control for widgets. * Note that 'widget_form' must match the WP_Widget_Form_Customize_Control::$type * * @since 4.1.0 * * @constructs wp.customize.Widgets.WidgetControl * @augments wp.customize.Control */ initialize: function( id, options ) { var control = this; control.widgetControlEmbedded = false; control.widgetContentEmbedded = false; control.expanded = new api.Value( false ); control.expandedArgumentsQueue = []; control.expanded.bind( function( expanded ) { var args = control.expandedArgumentsQueue.shift(); args = $.extend( {}, control.defaultExpandedArguments, args ); control.onChangeExpanded( expanded, args ); }); control.altNotice = true; api.Control.prototype.initialize.call( control, id, options ); }, /** * Set up the control. * * @since 3.9.0 */ ready: function() { var control = this; /* * Embed a placeholder once the section is expanded. The full widget * form content will be embedded once the control itself is expanded, * and at this point the widget-added event will be triggered. */ if ( ! control.section() ) { control.embedWidgetControl(); } else { api.section( control.section(), function( section ) { var onExpanded = function( isExpanded ) { if ( isExpanded ) { control.embedWidgetControl(); section.expanded.unbind( onExpanded ); } }; if ( section.expanded() ) { onExpanded( true ); } else { section.expanded.bind( onExpanded ); } } ); } }, /** * Embed the .widget element inside the li container. * * @since 4.4.0 */ embedWidgetControl: function() { var control = this, widgetControl; if ( control.widgetControlEmbedded ) { return; } control.widgetControlEmbedded = true; widgetControl = $( control.params.widget_control ); control.container.append( widgetControl ); control._setupModel(); control._setupWideWidget(); control._setupControlToggle(); control._setupWidgetTitle(); control._setupReorderUI(); control._setupHighlightEffects(); control._setupUpdateUI(); control._setupRemoveUI(); }, /** * Embed the actual widget form inside of .widget-content and finally trigger the widget-added event. * * @since 4.4.0 */ embedWidgetContent: function() { var control = this, widgetContent; control.embedWidgetControl(); if ( control.widgetContentEmbedded ) { return; } control.widgetContentEmbedded = true; // Update the notification container element now that the widget content has been embedded. control.notifications.container = control.getNotificationsContainerElement(); control.notifications.render(); widgetContent = $( control.params.widget_content ); control.container.find( '.widget-content:first' ).append( widgetContent ); /* * Trigger widget-added event so that plugins can attach any event * listeners and dynamic UI elements. */ $( document ).trigger( 'widget-added', [ control.container.find( '.widget:first' ) ] ); }, /** * Handle changes to the setting */ _setupModel: function() { var self = this, rememberSavedWidgetId; // Remember saved widgets so we know which to trash (move to inactive widgets sidebar). rememberSavedWidgetId = function() { api.Widgets.savedWidgetIds[self.params.widget_id] = true; }; api.bind( 'ready', rememberSavedWidgetId ); api.bind( 'saved', rememberSavedWidgetId ); this._updateCount = 0; this.isWidgetUpdating = false; this.liveUpdateMode = true; // Update widget whenever model changes. this.setting.bind( function( to, from ) { if ( ! _( from ).isEqual( to ) && ! self.isWidgetUpdating ) { self.updateWidget( { instance: to } ); } } ); }, /** * Add special behaviors for wide widget controls */ _setupWideWidget: function() { var self = this, $widgetInside, $widgetForm, $customizeSidebar, $themeControlsContainer, positionWidget; if ( ! this.params.is_wide || $( window ).width() <= 640 /* max-width breakpoint in customize-controls.css */ ) { return; } $widgetInside = this.container.find( '.widget-inside' ); $widgetForm = $widgetInside.find( '> .form' ); $customizeSidebar = $( '.wp-full-overlay-sidebar-content:first' ); this.container.addClass( 'wide-widget-control' ); this.container.find( '.form:first' ).css( { 'max-width': this.params.width, 'min-height': this.params.height } ); /** * Keep the widget-inside positioned so the top of fixed-positioned * element is at the same top position as the widget-top. When the * widget-top is scrolled out of view, keep the widget-top in view; * likewise, don't allow the widget to drop off the bottom of the window. * If a widget is too tall to fit in the window, don't let the height * exceed the window height so that the contents of the widget control * will become scrollable (overflow:auto). */ positionWidget = function() { var offsetTop = self.container.offset().top, windowHeight = $( window ).height(), formHeight = $widgetForm.outerHeight(), top; $widgetInside.css( 'max-height', windowHeight ); top = Math.max( 0, // Prevent top from going off screen. Math.min( Math.max( offsetTop, 0 ), // Distance widget in panel is from top of screen. windowHeight - formHeight // Flush up against bottom of screen. ) ); $widgetInside.css( 'top', top ); }; $themeControlsContainer = $( '#customize-theme-controls' ); this.container.on( 'expand', function() { positionWidget(); $customizeSidebar.on( 'scroll', positionWidget ); $( window ).on( 'resize', positionWidget ); $themeControlsContainer.on( 'expanded collapsed', positionWidget ); } ); this.container.on( 'collapsed', function() { $customizeSidebar.off( 'scroll', positionWidget ); $( window ).off( 'resize', positionWidget ); $themeControlsContainer.off( 'expanded collapsed', positionWidget ); } ); // Reposition whenever a sidebar's widgets are changed. api.each( function( setting ) { if ( 0 === setting.id.indexOf( 'sidebars_widgets[' ) ) { setting.bind( function() { if ( self.container.hasClass( 'expanded' ) ) { positionWidget(); } } ); } } ); }, /** * Show/hide the control when clicking on the form title, when clicking * the close button */ _setupControlToggle: function() { var self = this, $closeBtn; this.container.find( '.widget-top' ).on( 'click', function( e ) { e.preventDefault(); var sidebarWidgetsControl = self.getSidebarWidgetsControl(); if ( sidebarWidgetsControl.isReordering ) { return; } self.expanded( ! self.expanded() ); } ); $closeBtn = this.container.find( '.widget-control-close' ); $closeBtn.on( 'click', function() { self.collapse(); self.container.find( '.widget-top .widget-action:first' ).focus(); // Keyboard accessibility. } ); }, /** * Update the title of the form if a title field is entered */ _setupWidgetTitle: function() { var self = this, updateTitle; updateTitle = function() { var title = self.setting().title, inWidgetTitle = self.container.find( '.in-widget-title' ); if ( title ) { inWidgetTitle.text( ': ' + title ); } else { inWidgetTitle.text( '' ); } }; this.setting.bind( updateTitle ); updateTitle(); }, /** * Set up the widget-reorder-nav */ _setupReorderUI: function() { var self = this, selectSidebarItem, $moveWidgetArea, $reorderNav, updateAvailableSidebars, template; /** * select the provided sidebar list item in the move widget area * * @param {jQuery} li */ selectSidebarItem = function( li ) { li.siblings( '.selected' ).removeClass( 'selected' ); li.addClass( 'selected' ); var isSelfSidebar = ( li.data( 'id' ) === self.params.sidebar_id ); self.container.find( '.move-widget-btn' ).prop( 'disabled', isSelfSidebar ); }; /** * Add the widget reordering elements to the widget control */ this.container.find( '.widget-title-action' ).after( $( api.Widgets.data.tpl.widgetReorderNav ) ); template = _.template( api.Widgets.data.tpl.moveWidgetArea ); $moveWidgetArea = $( template( { sidebars: _( api.Widgets.registeredSidebars.toArray() ).pluck( 'attributes' ) } ) ); this.container.find( '.widget-top' ).after( $moveWidgetArea ); /** * Update available sidebars when their rendered state changes */ updateAvailableSidebars = function() { var $sidebarItems = $moveWidgetArea.find( 'li' ), selfSidebarItem, renderedSidebarCount = 0; selfSidebarItem = $sidebarItems.filter( function(){ return $( this ).data( 'id' ) === self.params.sidebar_id; } ); $sidebarItems.each( function() { var li = $( this ), sidebarId, sidebar, sidebarIsRendered; sidebarId = li.data( 'id' ); sidebar = api.Widgets.registeredSidebars.get( sidebarId ); sidebarIsRendered = sidebar.get( 'is_rendered' ); li.toggle( sidebarIsRendered ); if ( sidebarIsRendered ) { renderedSidebarCount += 1; } if ( li.hasClass( 'selected' ) && ! sidebarIsRendered ) { selectSidebarItem( selfSidebarItem ); } } ); if ( renderedSidebarCount > 1 ) { self.container.find( '.move-widget' ).show(); } else { self.container.find( '.move-widget' ).hide(); } }; updateAvailableSidebars(); api.Widgets.registeredSidebars.on( 'change:is_rendered', updateAvailableSidebars ); /** * Handle clicks for up/down/move on the reorder nav */ $reorderNav = this.container.find( '.widget-reorder-nav' ); $reorderNav.find( '.move-widget, .move-widget-down, .move-widget-up' ).each( function() { $( this ).prepend( self.container.find( '.widget-title' ).text() + ': ' ); } ).on( 'click keypress', function( event ) { if ( event.type === 'keypress' && ( event.which !== 13 && event.which !== 32 ) ) { return; } $( this ).trigger( 'focus' ); if ( $( this ).is( '.move-widget' ) ) { self.toggleWidgetMoveArea(); } else { var isMoveDown = $( this ).is( '.move-widget-down' ), isMoveUp = $( this ).is( '.move-widget-up' ), i = self.getWidgetSidebarPosition(); if ( ( isMoveUp && i === 0 ) || ( isMoveDown && i === self.getSidebarWidgetsControl().setting().length - 1 ) ) { return; } if ( isMoveUp ) { self.moveUp(); wp.a11y.speak( l10n.widgetMovedUp ); } else { self.moveDown(); wp.a11y.speak( l10n.widgetMovedDown ); } $( this ).trigger( 'focus' ); // Re-focus after the container was moved. } } ); /** * Handle selecting a sidebar to move to */ this.container.find( '.widget-area-select' ).on( 'click keypress', 'li', function( event ) { if ( event.type === 'keypress' && ( event.which !== 13 && event.which !== 32 ) ) { return; } event.preventDefault(); selectSidebarItem( $( this ) ); } ); /** * Move widget to another sidebar */ this.container.find( '.move-widget-btn' ).click( function() { self.getSidebarWidgetsControl().toggleReordering( false ); var oldSidebarId = self.params.sidebar_id, newSidebarId = self.container.find( '.widget-area-select li.selected' ).data( 'id' ), oldSidebarWidgetsSetting, newSidebarWidgetsSetting, oldSidebarWidgetIds, newSidebarWidgetIds, i; oldSidebarWidgetsSetting = api( 'sidebars_widgets[' + oldSidebarId + ']' ); newSidebarWidgetsSetting = api( 'sidebars_widgets[' + newSidebarId + ']' ); oldSidebarWidgetIds = Array.prototype.slice.call( oldSidebarWidgetsSetting() ); newSidebarWidgetIds = Array.prototype.slice.call( newSidebarWidgetsSetting() ); i = self.getWidgetSidebarPosition(); oldSidebarWidgetIds.splice( i, 1 ); newSidebarWidgetIds.push( self.params.widget_id ); oldSidebarWidgetsSetting( oldSidebarWidgetIds ); newSidebarWidgetsSetting( newSidebarWidgetIds ); self.focus(); } ); }, /** * Highlight widgets in preview when interacted with in the Customizer */ _setupHighlightEffects: function() { var self = this; // Highlight whenever hovering or clicking over the form. this.container.on( 'mouseenter click', function() { self.setting.previewer.send( 'highlight-widget', self.params.widget_id ); } ); // Highlight when the setting is updated. this.setting.bind( function() { self.setting.previewer.send( 'highlight-widget', self.params.widget_id ); } ); }, /** * Set up event handlers for widget updating */ _setupUpdateUI: function() { var self = this, $widgetRoot, $widgetContent, $saveBtn, updateWidgetDebounced, formSyncHandler; $widgetRoot = this.container.find( '.widget:first' ); $widgetContent = $widgetRoot.find( '.widget-content:first' ); // Configure update button. $saveBtn = this.container.find( '.widget-control-save' ); $saveBtn.val( l10n.saveBtnLabel ); $saveBtn.attr( 'title', l10n.saveBtnTooltip ); $saveBtn.removeClass( 'button-primary' ); $saveBtn.on( 'click', function( e ) { e.preventDefault(); self.updateWidget( { disable_form: true } ); // @todo disable_form is unused? } ); updateWidgetDebounced = _.debounce( function() { self.updateWidget(); }, 250 ); // Trigger widget form update when hitting Enter within an input. $widgetContent.on( 'keydown', 'input', function( e ) { if ( 13 === e.which ) { // Enter. e.preventDefault(); self.updateWidget( { ignoreActiveElement: true } ); } } ); // Handle widgets that support live previews. $widgetContent.on( 'change input propertychange', ':input', function( e ) { if ( ! self.liveUpdateMode ) { return; } if ( e.type === 'change' || ( this.checkValidity && this.checkValidity() ) ) { updateWidgetDebounced(); } } ); // Remove loading indicators when the setting is saved and the preview updates. this.setting.previewer.channel.bind( 'synced', function() { self.container.removeClass( 'previewer-loading' ); } ); api.previewer.bind( 'widget-updated', function( updatedWidgetId ) { if ( updatedWidgetId === self.params.widget_id ) { self.container.removeClass( 'previewer-loading' ); } } ); formSyncHandler = api.Widgets.formSyncHandlers[ this.params.widget_id_base ]; if ( formSyncHandler ) { $( document ).on( 'widget-synced', function( e, widget ) { if ( $widgetRoot.is( widget ) ) { formSyncHandler.apply( document, arguments ); } } ); } }, /** * Update widget control to indicate whether it is currently rendered. * * Overrides api.Control.toggle() * * @since 4.1.0 * * @param {boolean} active * @param {Object} args * @param {function} args.completeCallback */ onChangeActive: function ( active, args ) { // Note: there is a second 'args' parameter being passed, merged on top of this.defaultActiveArguments. this.container.toggleClass( 'widget-rendered', active ); if ( args.completeCallback ) { args.completeCallback(); } }, /** * Set up event handlers for widget removal */ _setupRemoveUI: function() { var self = this, $removeBtn, replaceDeleteWithRemove; // Configure remove button. $removeBtn = this.container.find( '.widget-control-remove' ); $removeBtn.on( 'click', function() { // Find an adjacent element to add focus to when this widget goes away. var $adjacentFocusTarget; if ( self.container.next().is( '.customize-control-widget_form' ) ) { $adjacentFocusTarget = self.container.next().find( '.widget-action:first' ); } else if ( self.container.prev().is( '.customize-control-widget_form' ) ) { $adjacentFocusTarget = self.container.prev().find( '.widget-action:first' ); } else { $adjacentFocusTarget = self.container.next( '.customize-control-sidebar_widgets' ).find( '.add-new-widget:first' ); } self.container.slideUp( function() { var sidebarsWidgetsControl = api.Widgets.getSidebarWidgetControlContainingWidget( self.params.widget_id ), sidebarWidgetIds, i; if ( ! sidebarsWidgetsControl ) { return; } sidebarWidgetIds = sidebarsWidgetsControl.setting().slice(); i = _.indexOf( sidebarWidgetIds, self.params.widget_id ); if ( -1 === i ) { return; } sidebarWidgetIds.splice( i, 1 ); sidebarsWidgetsControl.setting( sidebarWidgetIds ); $adjacentFocusTarget.focus(); // Keyboard accessibility. } ); } ); replaceDeleteWithRemove = function() { $removeBtn.text( l10n.removeBtnLabel ); // wp_widget_control() outputs the button as "Delete". $removeBtn.attr( 'title', l10n.removeBtnTooltip ); }; if ( this.params.is_new ) { api.bind( 'saved', replaceDeleteWithRemove ); } else { replaceDeleteWithRemove(); } }, /** * Find all inputs in a widget container that should be considered when * comparing the loaded form with the sanitized form, whose fields will * be aligned to copy the sanitized over. The elements returned by this * are passed into this._getInputsSignature(), and they are iterated * over when copying sanitized values over to the form loaded. * * @param {jQuery} container element in which to look for inputs * @return {jQuery} inputs * @private */ _getInputs: function( container ) { return $( container ).find( ':input[name]' ); }, /** * Iterate over supplied inputs and create a signature string for all of them together. * This string can be used to compare whether or not the form has all of the same fields. * * @param {jQuery} inputs * @return {string} * @private */ _getInputsSignature: function( inputs ) { var inputsSignatures = _( inputs ).map( function( input ) { var $input = $( input ), signatureParts; if ( $input.is( ':checkbox, :radio' ) ) { signatureParts = [ $input.attr( 'id' ), $input.attr( 'name' ), $input.prop( 'value' ) ]; } else { signatureParts = [ $input.attr( 'id' ), $input.attr( 'name' ) ]; } return signatureParts.join( ',' ); } ); return inputsSignatures.join( ';' ); }, /** * Get the state for an input depending on its type. * * @param {jQuery|Element} input * @return {string|boolean|Array|*} * @private */ _getInputState: function( input ) { input = $( input ); if ( input.is( ':radio, :checkbox' ) ) { return input.prop( 'checked' ); } else if ( input.is( 'select[multiple]' ) ) { return input.find( 'option:selected' ).map( function () { return $( this ).val(); } ).get(); } else { return input.val(); } }, /** * Update an input's state based on its type. * * @param {jQuery|Element} input * @param {string|boolean|Array|*} state * @private */ _setInputState: function ( input, state ) { input = $( input ); if ( input.is( ':radio, :checkbox' ) ) { input.prop( 'checked', state ); } else if ( input.is( 'select[multiple]' ) ) { if ( ! Array.isArray( state ) ) { state = []; } else { // Make sure all state items are strings since the DOM value is a string. state = _.map( state, function ( value ) { return String( value ); } ); } input.find( 'option' ).each( function () { $( this ).prop( 'selected', -1 !== _.indexOf( state, String( this.value ) ) ); } ); } else { input.val( state ); } }, /*********************************************************************** * Begin public API methods **********************************************************************/ /** * @return {wp.customize.controlConstructor.sidebar_widgets[]} */ getSidebarWidgetsControl: function() { var settingId, sidebarWidgetsControl; settingId = 'sidebars_widgets[' + this.params.sidebar_id + ']'; sidebarWidgetsControl = api.control( settingId ); if ( ! sidebarWidgetsControl ) { return; } return sidebarWidgetsControl; }, /** * Submit the widget form via Ajax and get back the updated instance, * along with the new widget control form to render. * * @param {Object} [args] * @param {Object|null} [args.instance=null] When the model changes, the instance is sent here; otherwise, the inputs from the form are used * @param {Function|null} [args.complete=null] Function which is called when the request finishes. Context is bound to the control. First argument is any error. Following arguments are for success. * @param {boolean} [args.ignoreActiveElement=false] Whether or not updating a field will be deferred if focus is still on the element. */ updateWidget: function( args ) { var self = this, instanceOverride, completeCallback, $widgetRoot, $widgetContent, updateNumber, params, data, $inputs, processing, jqxhr, isChanged; // The updateWidget logic requires that the form fields to be fully present. self.embedWidgetContent(); args = $.extend( { instance: null, complete: null, ignoreActiveElement: false }, args ); instanceOverride = args.instance; completeCallback = args.complete; this._updateCount += 1; updateNumber = this._updateCount; $widgetRoot = this.container.find( '.widget:first' ); $widgetContent = $widgetRoot.find( '.widget-content:first' ); // Remove a previous error message. $widgetContent.find( '.widget-error' ).remove(); this.container.addClass( 'widget-form-loading' ); this.container.addClass( 'previewer-loading' ); processing = api.state( 'processing' ); processing( processing() + 1 ); if ( ! this.liveUpdateMode ) { this.container.addClass( 'widget-form-disabled' ); } params = {}; params.action = 'update-widget'; params.wp_customize = 'on'; params.nonce = api.settings.nonce['update-widget']; params.customize_theme = api.settings.theme.stylesheet; params.customized = wp.customize.previewer.query().customized; data = $.param( params ); $inputs = this._getInputs( $widgetContent ); /* * Store the value we're submitting in data so that when the response comes back, * we know if it got sanitized; if there is no difference in the sanitized value, * then we do not need to touch the UI and mess up the user's ongoing editing. */ $inputs.each( function() { $( this ).data( 'state' + updateNumber, self._getInputState( this ) ); } ); if ( instanceOverride ) { data += '&' + $.param( { 'sanitized_widget_setting': JSON.stringify( instanceOverride ) } ); } else { data += '&' + $inputs.serialize(); } data += '&' + $widgetContent.find( '~ :input' ).serialize(); if ( this._previousUpdateRequest ) { this._previousUpdateRequest.abort(); } jqxhr = $.post( wp.ajax.settings.url, data ); this._previousUpdateRequest = jqxhr; jqxhr.done( function( r ) { var message, sanitizedForm, $sanitizedInputs, hasSameInputsInResponse, isLiveUpdateAborted = false; // Check if the user is logged out. if ( '0' === r ) { api.previewer.preview.iframe.hide(); api.previewer.login().done( function() { self.updateWidget( args ); api.previewer.preview.iframe.show(); } ); return; } // Check for cheaters. if ( '-1' === r ) { api.previewer.cheatin(); return; } if ( r.success ) { sanitizedForm = $( '<div>' + r.data.form + '</div>' ); $sanitizedInputs = self._getInputs( sanitizedForm ); hasSameInputsInResponse = self._getInputsSignature( $inputs ) === self._getInputsSignature( $sanitizedInputs ); // Restore live update mode if sanitized fields are now aligned with the existing fields. if ( hasSameInputsInResponse && ! self.liveUpdateMode ) { self.liveUpdateMode = true; self.container.removeClass( 'widget-form-disabled' ); self.container.find( 'input[name="savewidget"]' ).hide(); } // Sync sanitized field states to existing fields if they are aligned. if ( hasSameInputsInResponse && self.liveUpdateMode ) { $inputs.each( function( i ) { var $input = $( this ), $sanitizedInput = $( $sanitizedInputs[i] ), submittedState, sanitizedState, canUpdateState; submittedState = $input.data( 'state' + updateNumber ); sanitizedState = self._getInputState( $sanitizedInput ); $input.data( 'sanitized', sanitizedState ); canUpdateState = ( ! _.isEqual( submittedState, sanitizedState ) && ( args.ignoreActiveElement || ! $input.is( document.activeElement ) ) ); if ( canUpdateState ) { self._setInputState( $input, sanitizedState ); } } ); $( document ).trigger( 'widget-synced', [ $widgetRoot, r.data.form ] ); // Otherwise, if sanitized fields are not aligned with existing fields, disable live update mode if enabled. } else if ( self.liveUpdateMode ) { self.liveUpdateMode = false; self.container.find( 'input[name="savewidget"]' ).show(); isLiveUpdateAborted = true; // Otherwise, replace existing form with the sanitized form. } else { $widgetContent.html( r.data.form ); self.container.removeClass( 'widget-form-disabled' ); $( document ).trigger( 'widget-updated', [ $widgetRoot ] ); } /** * If the old instance is identical to the new one, there is nothing new * needing to be rendered, and so we can preempt the event for the * preview finishing loading. */ isChanged = ! isLiveUpdateAborted && ! _( self.setting() ).isEqual( r.data.instance ); if ( isChanged ) { self.isWidgetUpdating = true; // Suppress triggering another updateWidget. self.setting( r.data.instance ); self.isWidgetUpdating = false; } else { // No change was made, so stop the spinner now instead of when the preview would updates. self.container.removeClass( 'previewer-loading' ); } if ( completeCallback ) { completeCallback.call( self, null, { noChange: ! isChanged, ajaxFinished: true } ); } } else { // General error message. message = l10n.error; if ( r.data && r.data.message ) { message = r.data.message; } if ( completeCallback ) { completeCallback.call( self, message ); } else { $widgetContent.prepend( '<p class="widget-error"><strong>' + message + '</strong></p>' ); } } } ); jqxhr.fail( function( jqXHR, textStatus ) { if ( completeCallback ) { completeCallback.call( self, textStatus ); } } ); jqxhr.always( function() { self.container.removeClass( 'widget-form-loading' ); $inputs.each( function() { $( this ).removeData( 'state' + updateNumber ); } ); processing( processing() - 1 ); } ); }, /** * Expand the accordion section containing a control */ expandControlSection: function() { api.Control.prototype.expand.call( this ); }, /** * @since 4.1.0 * * @param {Boolean} expanded * @param {Object} [params] * @return {Boolean} False if state already applied. */ _toggleExpanded: api.Section.prototype._toggleExpanded, /** * @since 4.1.0 * * @param {Object} [params] * @return {Boolean} False if already expanded. */ expand: api.Section.prototype.expand, /** * Expand the widget form control * * @deprecated 4.1.0 Use this.expand() instead. */ expandForm: function() { this.expand(); }, /** * @since 4.1.0 * * @param {Object} [params] * @return {Boolean} False if already collapsed. */ collapse: api.Section.prototype.collapse, /** * Collapse the widget form control * * @deprecated 4.1.0 Use this.collapse() instead. */ collapseForm: function() { this.collapse(); }, /** * Expand or collapse the widget control * * @deprecated this is poor naming, and it is better to directly set control.expanded( showOrHide ) * * @param {boolean|undefined} [showOrHide] If not supplied, will be inverse of current visibility */ toggleForm: function( showOrHide ) { if ( typeof showOrHide === 'undefined' ) { showOrHide = ! this.expanded(); } this.expanded( showOrHide ); }, /** * Respond to change in the expanded state. * * @param {boolean} expanded * @param {Object} args merged on top of this.defaultActiveArguments */ onChangeExpanded: function ( expanded, args ) { var self = this, $widget, $inside, complete, prevComplete, expandControl, $toggleBtn; self.embedWidgetControl(); // Make sure the outer form is embedded so that the expanded state can be set in the UI. if ( expanded ) { self.embedWidgetContent(); } // If the expanded state is unchanged only manipulate container expanded states. if ( args.unchanged ) { if ( expanded ) { api.Control.prototype.expand.call( self, { completeCallback: args.completeCallback }); } return; } $widget = this.container.find( 'div.widget:first' ); $inside = $widget.find( '.widget-inside:first' ); $toggleBtn = this.container.find( '.widget-top button.widget-action' ); expandControl = function() { // Close all other widget controls before expanding this one. api.control.each( function( otherControl ) { if ( self.params.type === otherControl.params.type && self !== otherControl ) { otherControl.collapse(); } } ); complete = function() { self.container.removeClass( 'expanding' ); self.container.addClass( 'expanded' ); $widget.addClass( 'open' ); $toggleBtn.attr( 'aria-expanded', 'true' ); self.container.trigger( 'expanded' ); }; if ( args.completeCallback ) { prevComplete = complete; complete = function () { prevComplete(); args.completeCallback(); }; } if ( self.params.is_wide ) { $inside.fadeIn( args.duration, complete ); } else { $inside.slideDown( args.duration, complete ); } self.container.trigger( 'expand' ); self.container.addClass( 'expanding' ); }; if ( $toggleBtn.attr( 'aria-expanded' ) === 'false' ) { if ( api.section.has( self.section() ) ) { api.section( self.section() ).expand( { completeCallback: expandControl } ); } else { expandControl(); } } else { complete = function() { self.container.removeClass( 'collapsing' ); self.container.removeClass( 'expanded' ); $widget.removeClass( 'open' ); $toggleBtn.attr( 'aria-expanded', 'false' ); self.container.trigger( 'collapsed' ); }; if ( args.completeCallback ) { prevComplete = complete; complete = function () { prevComplete(); args.completeCallback(); }; } self.container.trigger( 'collapse' ); self.container.addClass( 'collapsing' ); if ( self.params.is_wide ) { $inside.fadeOut( args.duration, complete ); } else { $inside.slideUp( args.duration, function() { $widget.css( { width:'', margin:'' } ); complete(); } ); } } }, /** * Get the position (index) of the widget in the containing sidebar * * @return {number} */ getWidgetSidebarPosition: function() { var sidebarWidgetIds, position; sidebarWidgetIds = this.getSidebarWidgetsControl().setting(); position = _.indexOf( sidebarWidgetIds, this.params.widget_id ); if ( position === -1 ) { return; } return position; }, /** * Move widget up one in the sidebar */ moveUp: function() { this._moveWidgetByOne( -1 ); }, /** * Move widget up one in the sidebar */ moveDown: function() { this._moveWidgetByOne( 1 ); }, /** * @private * * @param {number} offset 1|-1 */ _moveWidgetByOne: function( offset ) { var i, sidebarWidgetsSetting, sidebarWidgetIds, adjacentWidgetId; i = this.getWidgetSidebarPosition(); sidebarWidgetsSetting = this.getSidebarWidgetsControl().setting; sidebarWidgetIds = Array.prototype.slice.call( sidebarWidgetsSetting() ); // Clone. adjacentWidgetId = sidebarWidgetIds[i + offset]; sidebarWidgetIds[i + offset] = this.params.widget_id; sidebarWidgetIds[i] = adjacentWidgetId; sidebarWidgetsSetting( sidebarWidgetIds ); }, /** * Toggle visibility of the widget move area * * @param {boolean} [showOrHide] */ toggleWidgetMoveArea: function( showOrHide ) { var self = this, $moveWidgetArea; $moveWidgetArea = this.container.find( '.move-widget-area' ); if ( typeof showOrHide === 'undefined' ) { showOrHide = ! $moveWidgetArea.hasClass( 'active' ); } if ( showOrHide ) { // Reset the selected sidebar. $moveWidgetArea.find( '.selected' ).removeClass( 'selected' ); $moveWidgetArea.find( 'li' ).filter( function() { return $( this ).data( 'id' ) === self.params.sidebar_id; } ).addClass( 'selected' ); this.container.find( '.move-widget-btn' ).prop( 'disabled', true ); } $moveWidgetArea.toggleClass( 'active', showOrHide ); }, /** * Highlight the widget control and section */ highlightSectionAndControl: function() { var $target; if ( this.container.is( ':hidden' ) ) { $target = this.container.closest( '.control-section' ); } else { $target = this.container; } $( '.highlighted' ).removeClass( 'highlighted' ); $target.addClass( 'highlighted' ); setTimeout( function() { $target.removeClass( 'highlighted' ); }, 500 ); } } ); /** * wp.customize.Widgets.WidgetsPanel * * Customizer panel containing the widget area sections. * * @since 4.4.0 * * @class wp.customize.Widgets.WidgetsPanel * @augments wp.customize.Panel */ api.Widgets.WidgetsPanel = api.Panel.extend(/** @lends wp.customize.Widgets.WigetsPanel.prototype */{ /** * Add and manage the display of the no-rendered-areas notice. * * @since 4.4.0 */ ready: function () { var panel = this; api.Panel.prototype.ready.call( panel ); panel.deferred.embedded.done(function() { var panelMetaContainer, noticeContainer, updateNotice, getActiveSectionCount, shouldShowNotice; panelMetaContainer = panel.container.find( '.panel-meta' ); // @todo This should use the Notifications API introduced to panels. See <https://core.trac.wordpress.org/ticket/38794>. noticeContainer = $( '<div></div>', { 'class': 'no-widget-areas-rendered-notice', 'role': 'alert' }); panelMetaContainer.append( noticeContainer ); /** * Get the number of active sections in the panel. * * @return {number} Number of active sidebar sections. */ getActiveSectionCount = function() { return _.filter( panel.sections(), function( section ) { return 'sidebar' === section.params.type && section.active(); } ).length; }; /** * Determine whether or not the notice should be displayed. * * @return {boolean} */ shouldShowNotice = function() { var activeSectionCount = getActiveSectionCount(); if ( 0 === activeSectionCount ) { return true; } else { return activeSectionCount !== api.Widgets.data.registeredSidebars.length; } }; /** * Update the notice. * * @return {void} */ updateNotice = function() { var activeSectionCount = getActiveSectionCount(), someRenderedMessage, nonRenderedAreaCount, registeredAreaCount; noticeContainer.empty(); registeredAreaCount = api.Widgets.data.registeredSidebars.length; if ( activeSectionCount !== registeredAreaCount ) { if ( 0 !== activeSectionCount ) { nonRenderedAreaCount = registeredAreaCount - activeSectionCount; someRenderedMessage = l10n.someAreasShown[ nonRenderedAreaCount ]; } else { someRenderedMessage = l10n.noAreasShown; } if ( someRenderedMessage ) { noticeContainer.append( $( '<p></p>', { text: someRenderedMessage } ) ); } noticeContainer.append( $( '<p></p>', { text: l10n.navigatePreview } ) ); } }; updateNotice(); /* * Set the initial visibility state for rendered notice. * Update the visibility of the notice whenever a reflow happens. */ noticeContainer.toggle( shouldShowNotice() ); api.previewer.deferred.active.done( function () { noticeContainer.toggle( shouldShowNotice() ); }); api.bind( 'pane-contents-reflowed', function() { var duration = ( 'resolved' === api.previewer.deferred.active.state() ) ? 'fast' : 0; updateNotice(); if ( shouldShowNotice() ) { noticeContainer.slideDown( duration ); } else { noticeContainer.slideUp( duration ); } }); }); }, /** * Allow an active widgets panel to be contextually active even when it has no active sections (widget areas). * * This ensures that the widgets panel appears even when there are no * sidebars displayed on the URL currently being previewed. * * @since 4.4.0 * * @return {boolean} */ isContextuallyActive: function() { var panel = this; return panel.active(); } }); /** * wp.customize.Widgets.SidebarSection * * Customizer section representing a widget area widget * * @since 4.1.0 * * @class wp.customize.Widgets.SidebarSection * @augments wp.customize.Section */ api.Widgets.SidebarSection = api.Section.extend(/** @lends wp.customize.Widgets.SidebarSection.prototype */{ /** * Sync the section's active state back to the Backbone model's is_rendered attribute * * @since 4.1.0 */ ready: function () { var section = this, registeredSidebar; api.Section.prototype.ready.call( this ); registeredSidebar = api.Widgets.registeredSidebars.get( section.params.sidebarId ); section.active.bind( function ( active ) { registeredSidebar.set( 'is_rendered', active ); }); registeredSidebar.set( 'is_rendered', section.active() ); } }); /** * wp.customize.Widgets.SidebarControl * * Customizer control for widgets. * Note that 'sidebar_widgets' must match the WP_Widget_Area_Customize_Control::$type * * @since 3.9.0 * * @class wp.customize.Widgets.SidebarControl * @augments wp.customize.Control */ api.Widgets.SidebarControl = api.Control.extend(/** @lends wp.customize.Widgets.SidebarControl.prototype */{ /** * Set up the control */ ready: function() { this.$controlSection = this.container.closest( '.control-section' ); this.$sectionContent = this.container.closest( '.accordion-section-content' ); this._setupModel(); this._setupSortable(); this._setupAddition(); this._applyCardinalOrderClassNames(); }, /** * Update ordering of widget control forms when the setting is updated */ _setupModel: function() { var self = this; this.setting.bind( function( newWidgetIds, oldWidgetIds ) { var widgetFormControls, removedWidgetIds, priority; removedWidgetIds = _( oldWidgetIds ).difference( newWidgetIds ); // Filter out any persistent widget IDs for widgets which have been deactivated. newWidgetIds = _( newWidgetIds ).filter( function( newWidgetId ) { var parsedWidgetId = parseWidgetId( newWidgetId ); return !! api.Widgets.availableWidgets.findWhere( { id_base: parsedWidgetId.id_base } ); } ); widgetFormControls = _( newWidgetIds ).map( function( widgetId ) { var widgetFormControl = api.Widgets.getWidgetFormControlForWidget( widgetId ); if ( ! widgetFormControl ) { widgetFormControl = self.addWidget( widgetId ); } return widgetFormControl; } ); // Sort widget controls to their new positions. widgetFormControls.sort( function( a, b ) { var aIndex = _.indexOf( newWidgetIds, a.params.widget_id ), bIndex = _.indexOf( newWidgetIds, b.params.widget_id ); return aIndex - bIndex; }); priority = 0; _( widgetFormControls ).each( function ( control ) { control.priority( priority ); control.section( self.section() ); priority += 1; }); self.priority( priority ); // Make sure sidebar control remains at end. // Re-sort widget form controls (including widgets form other sidebars newly moved here). self._applyCardinalOrderClassNames(); // If the widget was dragged into the sidebar, make sure the sidebar_id param is updated. _( widgetFormControls ).each( function( widgetFormControl ) { widgetFormControl.params.sidebar_id = self.params.sidebar_id; } ); // Cleanup after widget removal. _( removedWidgetIds ).each( function( removedWidgetId ) { // Using setTimeout so that when moving a widget to another sidebar, // the other sidebars_widgets settings get a chance to update. setTimeout( function() { var removedControl, wasDraggedToAnotherSidebar, inactiveWidgets, removedIdBase, widget, isPresentInAnotherSidebar = false; // Check if the widget is in another sidebar. api.each( function( otherSetting ) { if ( otherSetting.id === self.setting.id || 0 !== otherSetting.id.indexOf( 'sidebars_widgets[' ) || otherSetting.id === 'sidebars_widgets[wp_inactive_widgets]' ) { return; } var otherSidebarWidgets = otherSetting(), i; i = _.indexOf( otherSidebarWidgets, removedWidgetId ); if ( -1 !== i ) { isPresentInAnotherSidebar = true; } } ); // If the widget is present in another sidebar, abort! if ( isPresentInAnotherSidebar ) { return; } removedControl = api.Widgets.getWidgetFormControlForWidget( removedWidgetId ); // Detect if widget control was dragged to another sidebar. wasDraggedToAnotherSidebar = removedControl && $.contains( document, removedControl.container[0] ) && ! $.contains( self.$sectionContent[0], removedControl.container[0] ); // Delete any widget form controls for removed widgets. if ( removedControl && ! wasDraggedToAnotherSidebar ) { api.control.remove( removedControl.id ); removedControl.container.remove(); } // Move widget to inactive widgets sidebar (move it to Trash) if has been previously saved. // This prevents the inactive widgets sidebar from overflowing with throwaway widgets. if ( api.Widgets.savedWidgetIds[removedWidgetId] ) { inactiveWidgets = api.value( 'sidebars_widgets[wp_inactive_widgets]' )().slice(); inactiveWidgets.push( removedWidgetId ); api.value( 'sidebars_widgets[wp_inactive_widgets]' )( _( inactiveWidgets ).unique() ); } // Make old single widget available for adding again. removedIdBase = parseWidgetId( removedWidgetId ).id_base; widget = api.Widgets.availableWidgets.findWhere( { id_base: removedIdBase } ); if ( widget && ! widget.get( 'is_multi' ) ) { widget.set( 'is_disabled', false ); } } ); } ); } ); }, /** * Allow widgets in sidebar to be re-ordered, and for the order to be previewed */ _setupSortable: function() { var self = this; this.isReordering = false; /** * Update widget order setting when controls are re-ordered */ this.$sectionContent.sortable( { items: '> .customize-control-widget_form', handle: '.widget-top', axis: 'y', tolerance: 'pointer', connectWith: '.accordion-section-content:has(.customize-control-sidebar_widgets)', update: function() { var widgetContainerIds = self.$sectionContent.sortable( 'toArray' ), widgetIds; widgetIds = $.map( widgetContainerIds, function( widgetContainerId ) { return $( '#' + widgetContainerId ).find( ':input[name=widget-id]' ).val(); } ); self.setting( widgetIds ); } } ); /** * Expand other Customizer sidebar section when dragging a control widget over it, * allowing the control to be dropped into another section */ this.$controlSection.find( '.accordion-section-title' ).droppable({ accept: '.customize-control-widget_form', over: function() { var section = api.section( self.section.get() ); section.expand({ allowMultiple: true, // Prevent the section being dragged from to be collapsed. completeCallback: function () { // @todo It is not clear when refreshPositions should be called on which sections, or if it is even needed. api.section.each( function ( otherSection ) { if ( otherSection.container.find( '.customize-control-sidebar_widgets' ).length ) { otherSection.container.find( '.accordion-section-content:first' ).sortable( 'refreshPositions' ); } } ); } }); } }); /** * Keyboard-accessible reordering */ this.container.find( '.reorder-toggle' ).on( 'click', function() { self.toggleReordering( ! self.isReordering ); } ); }, /** * Set up UI for adding a new widget */ _setupAddition: function() { var self = this; this.container.find( '.add-new-widget' ).on( 'click', function() { var addNewWidgetBtn = $( this ); if ( self.$sectionContent.hasClass( 'reordering' ) ) { return; } if ( ! $( 'body' ).hasClass( 'adding-widget' ) ) { addNewWidgetBtn.attr( 'aria-expanded', 'true' ); api.Widgets.availableWidgetsPanel.open( self ); } else { addNewWidgetBtn.attr( 'aria-expanded', 'false' ); api.Widgets.availableWidgetsPanel.close(); } } ); }, /** * Add classes to the widget_form controls to assist with styling */ _applyCardinalOrderClassNames: function() { var widgetControls = []; _.each( this.setting(), function ( widgetId ) { var widgetControl = api.Widgets.getWidgetFormControlForWidget( widgetId ); if ( widgetControl ) { widgetControls.push( widgetControl ); } }); if ( 0 === widgetControls.length || ( 1 === api.Widgets.registeredSidebars.length && widgetControls.length <= 1 ) ) { this.container.find( '.reorder-toggle' ).hide(); return; } else { this.container.find( '.reorder-toggle' ).show(); } $( widgetControls ).each( function () { $( this.container ) .removeClass( 'first-widget' ) .removeClass( 'last-widget' ) .find( '.move-widget-down, .move-widget-up' ).prop( 'tabIndex', 0 ); }); _.first( widgetControls ).container .addClass( 'first-widget' ) .find( '.move-widget-up' ).prop( 'tabIndex', -1 ); _.last( widgetControls ).container .addClass( 'last-widget' ) .find( '.move-widget-down' ).prop( 'tabIndex', -1 ); }, /*********************************************************************** * Begin public API methods **********************************************************************/ /** * Enable/disable the reordering UI * * @param {boolean} showOrHide to enable/disable reordering * * @todo We should have a reordering state instead and rename this to onChangeReordering */ toggleReordering: function( showOrHide ) { var addNewWidgetBtn = this.$sectionContent.find( '.add-new-widget' ), reorderBtn = this.container.find( '.reorder-toggle' ), widgetsTitle = this.$sectionContent.find( '.widget-title' ); showOrHide = Boolean( showOrHide ); if ( showOrHide === this.$sectionContent.hasClass( 'reordering' ) ) { return; } this.isReordering = showOrHide; this.$sectionContent.toggleClass( 'reordering', showOrHide ); if ( showOrHide ) { _( this.getWidgetFormControls() ).each( function( formControl ) { formControl.collapse(); } ); addNewWidgetBtn.attr({ 'tabindex': '-1', 'aria-hidden': 'true' }); reorderBtn.attr( 'aria-label', l10n.reorderLabelOff ); wp.a11y.speak( l10n.reorderModeOn ); // Hide widget titles while reordering: title is already in the reorder controls. widgetsTitle.attr( 'aria-hidden', 'true' ); } else { addNewWidgetBtn.removeAttr( 'tabindex aria-hidden' ); reorderBtn.attr( 'aria-label', l10n.reorderLabelOn ); wp.a11y.speak( l10n.reorderModeOff ); widgetsTitle.attr( 'aria-hidden', 'false' ); } }, /** * Get the widget_form Customize controls associated with the current sidebar. * * @since 3.9.0 * @return {wp.customize.controlConstructor.widget_form[]} */ getWidgetFormControls: function() { var formControls = []; _( this.setting() ).each( function( widgetId ) { var settingId = widgetIdToSettingId( widgetId ), formControl = api.control( settingId ); if ( formControl ) { formControls.push( formControl ); } } ); return formControls; }, /** * @param {string} widgetId or an id_base for adding a previously non-existing widget. * @return {Object|false} widget_form control instance, or false on error. */ addWidget: function( widgetId ) { var self = this, controlHtml, $widget, controlType = 'widget_form', controlContainer, controlConstructor, parsedWidgetId = parseWidgetId( widgetId ), widgetNumber = parsedWidgetId.number, widgetIdBase = parsedWidgetId.id_base, widget = api.Widgets.availableWidgets.findWhere( {id_base: widgetIdBase} ), settingId, isExistingWidget, widgetFormControl, sidebarWidgets, settingArgs, setting; if ( ! widget ) { return false; } if ( widgetNumber && ! widget.get( 'is_multi' ) ) { return false; } // Set up new multi widget. if ( widget.get( 'is_multi' ) && ! widgetNumber ) { widget.set( 'multi_number', widget.get( 'multi_number' ) + 1 ); widgetNumber = widget.get( 'multi_number' ); } controlHtml = $( '#widget-tpl-' + widget.get( 'id' ) ).html().trim(); if ( widget.get( 'is_multi' ) ) { controlHtml = controlHtml.replace( /<[^<>]+>/g, function( m ) { return m.replace( /__i__|%i%/g, widgetNumber ); } ); } else { widget.set( 'is_disabled', true ); // Prevent single widget from being added again now. } $widget = $( controlHtml ); controlContainer = $( '<li/>' ) .addClass( 'customize-control' ) .addClass( 'customize-control-' + controlType ) .append( $widget ); // Remove icon which is visible inside the panel. controlContainer.find( '> .widget-icon' ).remove(); if ( widget.get( 'is_multi' ) ) { controlContainer.find( 'input[name="widget_number"]' ).val( widgetNumber ); controlContainer.find( 'input[name="multi_number"]' ).val( widgetNumber ); } widgetId = controlContainer.find( '[name="widget-id"]' ).val(); controlContainer.hide(); // To be slid-down below. settingId = 'widget_' + widget.get( 'id_base' ); if ( widget.get( 'is_multi' ) ) { settingId += '[' + widgetNumber + ']'; } controlContainer.attr( 'id', 'customize-control-' + settingId.replace( /\]/g, '' ).replace( /\[/g, '-' ) ); // Only create setting if it doesn't already exist (if we're adding a pre-existing inactive widget). isExistingWidget = api.has( settingId ); if ( ! isExistingWidget ) { settingArgs = { transport: api.Widgets.data.selectiveRefreshableWidgets[ widget.get( 'id_base' ) ] ? 'postMessage' : 'refresh', previewer: this.setting.previewer }; setting = api.create( settingId, settingId, '', settingArgs ); setting.set( {} ); // Mark dirty, changing from '' to {}. } controlConstructor = api.controlConstructor[controlType]; widgetFormControl = new controlConstructor( settingId, { settings: { 'default': settingId }, content: controlContainer, sidebar_id: self.params.sidebar_id, widget_id: widgetId, widget_id_base: widget.get( 'id_base' ), type: controlType, is_new: ! isExistingWidget, width: widget.get( 'width' ), height: widget.get( 'height' ), is_wide: widget.get( 'is_wide' ) } ); api.control.add( widgetFormControl ); // Make sure widget is removed from the other sidebars. api.each( function( otherSetting ) { if ( otherSetting.id === self.setting.id ) { return; } if ( 0 !== otherSetting.id.indexOf( 'sidebars_widgets[' ) ) { return; } var otherSidebarWidgets = otherSetting().slice(), i = _.indexOf( otherSidebarWidgets, widgetId ); if ( -1 !== i ) { otherSidebarWidgets.splice( i ); otherSetting( otherSidebarWidgets ); } } ); // Add widget to this sidebar. sidebarWidgets = this.setting().slice(); if ( -1 === _.indexOf( sidebarWidgets, widgetId ) ) { sidebarWidgets.push( widgetId ); this.setting( sidebarWidgets ); } controlContainer.slideDown( function() { if ( isExistingWidget ) { widgetFormControl.updateWidget( { instance: widgetFormControl.setting() } ); } } ); return widgetFormControl; } } ); // Register models for custom panel, section, and control types. $.extend( api.panelConstructor, { widgets: api.Widgets.WidgetsPanel }); $.extend( api.sectionConstructor, { sidebar: api.Widgets.SidebarSection }); $.extend( api.controlConstructor, { widget_form: api.Widgets.WidgetControl, sidebar_widgets: api.Widgets.SidebarControl }); /** * Init Customizer for widgets. */ api.bind( 'ready', function() { // Set up the widgets panel. api.Widgets.availableWidgetsPanel = new api.Widgets.AvailableWidgetsPanelView({ collection: api.Widgets.availableWidgets }); // Highlight widget control. api.previewer.bind( 'highlight-widget-control', api.Widgets.highlightWidgetFormControl ); // Open and focus widget control. api.previewer.bind( 'focus-widget-control', api.Widgets.focusWidgetFormControl ); } ); /** * Highlight a widget control. * * @param {string} widgetId */ api.Widgets.highlightWidgetFormControl = function( widgetId ) { var control = api.Widgets.getWidgetFormControlForWidget( widgetId ); if ( control ) { control.highlightSectionAndControl(); } }, /** * Focus a widget control. * * @param {string} widgetId */ api.Widgets.focusWidgetFormControl = function( widgetId ) { var control = api.Widgets.getWidgetFormControlForWidget( widgetId ); if ( control ) { control.focus(); } }, /** * Given a widget control, find the sidebar widgets control that contains it. * @param {string} widgetId * @return {Object|null} */ api.Widgets.getSidebarWidgetControlContainingWidget = function( widgetId ) { var foundControl = null; // @todo This can use widgetIdToSettingId(), then pass into wp.customize.control( x ).getSidebarWidgetsControl(). api.control.each( function( control ) { if ( control.params.type === 'sidebar_widgets' && -1 !== _.indexOf( control.setting(), widgetId ) ) { foundControl = control; } } ); return foundControl; }; /** * Given a widget ID for a widget appearing in the preview, get the widget form control associated with it. * * @param {string} widgetId * @return {Object|null} */ api.Widgets.getWidgetFormControlForWidget = function( widgetId ) { var foundControl = null; // @todo We can just use widgetIdToSettingId() here. api.control.each( function( control ) { if ( control.params.type === 'widget_form' && control.params.widget_id === widgetId ) { foundControl = control; } } ); return foundControl; }; /** * Initialize Edit Menu button in Nav Menu widget. */ $( document ).on( 'widget-added', function( event, widgetContainer ) { var parsedWidgetId, widgetControl, navMenuSelect, editMenuButton; parsedWidgetId = parseWidgetId( widgetContainer.find( '> .widget-inside > .form > .widget-id' ).val() ); if ( 'nav_menu' !== parsedWidgetId.id_base ) { return; } widgetControl = api.control( 'widget_nav_menu[' + String( parsedWidgetId.number ) + ']' ); if ( ! widgetControl ) { return; } navMenuSelect = widgetContainer.find( 'select[name*="nav_menu"]' ); editMenuButton = widgetContainer.find( '.edit-selected-nav-menu > button' ); if ( 0 === navMenuSelect.length || 0 === editMenuButton.length ) { return; } navMenuSelect.on( 'change', function() { if ( api.section.has( 'nav_menu[' + navMenuSelect.val() + ']' ) ) { editMenuButton.parent().show(); } else { editMenuButton.parent().hide(); } }); editMenuButton.on( 'click', function() { var section = api.section( 'nav_menu[' + navMenuSelect.val() + ']' ); if ( section ) { focusConstructWithBreadcrumb( section, widgetControl ); } } ); } ); /** * Focus (expand) one construct and then focus on another construct after the first is collapsed. * * This overrides the back button to serve the purpose of breadcrumb navigation. * * @param {wp.customize.Section|wp.customize.Panel|wp.customize.Control} focusConstruct - The object to initially focus. * @param {wp.customize.Section|wp.customize.Panel|wp.customize.Control} returnConstruct - The object to return focus. */ function focusConstructWithBreadcrumb( focusConstruct, returnConstruct ) { focusConstruct.focus(); function onceCollapsed( isExpanded ) { if ( ! isExpanded ) { focusConstruct.expanded.unbind( onceCollapsed ); returnConstruct.focus(); } } focusConstruct.expanded.bind( onceCollapsed ); } /** * @param {string} widgetId * @return {Object} */ function parseWidgetId( widgetId ) { var matches, parsed = { number: null, id_base: null }; matches = widgetId.match( /^(.+)-(\d+)$/ ); if ( matches ) { parsed.id_base = matches[1]; parsed.number = parseInt( matches[2], 10 ); } else { // Likely an old single widget. parsed.id_base = widgetId; } return parsed; } /** * @param {string} widgetId * @return {string} settingId */ function widgetIdToSettingId( widgetId ) { var parsed = parseWidgetId( widgetId ), settingId; settingId = 'widget_' + parsed.id_base; if ( parsed.number ) { settingId += '[' + parsed.number + ']'; } return settingId; } })( window.wp, jQuery ); color-picker.js 0000644 00000023050 15174671433 0007506 0 ustar 00 /** * @output wp-admin/js/color-picker.js */ ( function( $, undef ) { var ColorPicker, _before = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>', _after = '<div class="wp-picker-holder" />', _wrap = '<div class="wp-picker-container" />', _button = '<input type="button" class="button button-small" />', _wrappingLabel = '<label></label>', _wrappingLabelText = '<span class="screen-reader-text"></span>', __ = wp.i18n.__; /** * Creates a jQuery UI color picker that is used in the theme customizer. * * @class $.widget.wp.wpColorPicker * * @since 3.5.0 */ ColorPicker = /** @lends $.widget.wp.wpColorPicker.prototype */{ options: { defaultColor: false, change: false, clear: false, hide: true, palettes: true, width: 255, mode: 'hsv', type: 'full', slider: 'horizontal' }, /** * Creates a color picker that only allows you to adjust the hue. * * @since 3.5.0 * @access private * * @return {void} */ _createHueOnly: function() { var self = this, el = self.element, color; el.hide(); // Set the saturation to the maximum level. color = 'hsl(' + el.val() + ', 100, 50)'; // Create an instance of the color picker, using the hsl mode. el.iris( { mode: 'hsl', type: 'hue', hide: false, color: color, /** * Handles the onChange event if one has been defined in the options. * * @ignore * * @param {Event} event The event that's being called. * @param {HTMLElement} ui The HTMLElement containing the color picker. * * @return {void} */ change: function( event, ui ) { if ( typeof self.options.change === 'function' ) { self.options.change.call( this, event, ui ); } }, width: self.options.width, slider: self.options.slider } ); }, /** * Creates the color picker, sets default values, css classes and wraps it all in HTML. * * @since 3.5.0 * @access private * * @return {void} */ _create: function() { // Return early if Iris support is missing. if ( ! $.support.iris ) { return; } var self = this, el = self.element; // Override default options with options bound to the element. $.extend( self.options, el.data() ); // Create a color picker which only allows adjustments to the hue. if ( self.options.type === 'hue' ) { return self._createHueOnly(); } // Bind the close event. self.close = self.close.bind( self ); self.initialValue = el.val(); // Add a CSS class to the input field. el.addClass( 'wp-color-picker' ); /* * Check if there's already a wrapping label, e.g. in the Customizer. * If there's no label, add a default one to match the Customizer template. */ if ( ! el.parent( 'label' ).length ) { // Wrap the input field in the default label. el.wrap( _wrappingLabel ); // Insert the default label text. self.wrappingLabelText = $( _wrappingLabelText ) .insertBefore( el ) .text( __( 'Color value' ) ); } /* * At this point, either it's the standalone version or the Customizer * one, we have a wrapping label to use as hook in the DOM, let's store it. */ self.wrappingLabel = el.parent(); // Wrap the label in the main wrapper. self.wrappingLabel.wrap( _wrap ); // Store a reference to the main wrapper. self.wrap = self.wrappingLabel.parent(); // Set up the toggle button and insert it before the wrapping label. self.toggler = $( _before ) .insertBefore( self.wrappingLabel ) .css( { backgroundColor: self.initialValue } ); // Set the toggle button span element text. self.toggler.find( '.wp-color-result-text' ).text( __( 'Select Color' ) ); // Set up the Iris container and insert it after the wrapping label. self.pickerContainer = $( _after ).insertAfter( self.wrappingLabel ); // Store a reference to the Clear/Default button. self.button = $( _button ); // Set up the Clear/Default button. if ( self.options.defaultColor ) { self.button .addClass( 'wp-picker-default' ) .val( __( 'Default' ) ) .attr( 'aria-label', __( 'Select default color' ) ); } else { self.button .addClass( 'wp-picker-clear' ) .val( __( 'Clear' ) ) .attr( 'aria-label', __( 'Clear color' ) ); } // Wrap the wrapping label in its wrapper and append the Clear/Default button. self.wrappingLabel .wrap( '<span class="wp-picker-input-wrap hidden" />' ) .after( self.button ); /* * The input wrapper now contains the label+input+Clear/Default button. * Store a reference to the input wrapper: we'll use this to toggle * the controls visibility. */ self.inputWrapper = el.closest( '.wp-picker-input-wrap' ); el.iris( { target: self.pickerContainer, hide: self.options.hide, width: self.options.width, mode: self.options.mode, palettes: self.options.palettes, /** * Handles the onChange event if one has been defined in the options and additionally * sets the background color for the toggler element. * * @since 3.5.0 * * @ignore * * @param {Event} event The event that's being called. * @param {HTMLElement} ui The HTMLElement containing the color picker. * * @return {void} */ change: function( event, ui ) { self.toggler.css( { backgroundColor: ui.color.toString() } ); if ( typeof self.options.change === 'function' ) { self.options.change.call( this, event, ui ); } } } ); el.val( self.initialValue ); self._addListeners(); // Force the color picker to always be closed on initial load. if ( ! self.options.hide ) { self.toggler.click(); } }, /** * Binds event listeners to the color picker. * * @since 3.5.0 * @access private * * @return {void} */ _addListeners: function() { var self = this; /** * Prevent any clicks inside this widget from leaking to the top and closing it. * * @since 3.5.0 * * @param {Event} event The event that's being called. * * @return {void} */ self.wrap.on( 'click.wpcolorpicker', function( event ) { event.stopPropagation(); }); /** * Open or close the color picker depending on the class. * * @since 3.5.0 */ self.toggler.on( 'click', function(){ if ( self.toggler.hasClass( 'wp-picker-open' ) ) { self.close(); } else { self.open(); } }); /** * Checks if value is empty when changing the color in the color picker. * If so, the background color is cleared. * * @since 3.5.0 * * @param {Event} event The event that's being called. * * @return {void} */ self.element.on( 'change', function( event ) { var me = $( this ), val = me.val(); if ( val === '' || val === '#' ) { self.toggler.css( 'backgroundColor', '' ); // Fire clear callback if we have one. if ( typeof self.options.clear === 'function' ) { self.options.clear.call( this, event ); } } }); /** * Enables the user to either clear the color in the color picker or revert back to the default color. * * @since 3.5.0 * * @param {Event} event The event that's being called. * * @return {void} */ self.button.on( 'click', function( event ) { var me = $( this ); if ( me.hasClass( 'wp-picker-clear' ) ) { self.element.val( '' ); self.toggler.css( 'backgroundColor', '' ); if ( typeof self.options.clear === 'function' ) { self.options.clear.call( this, event ); } } else if ( me.hasClass( 'wp-picker-default' ) ) { self.element.val( self.options.defaultColor ).change(); } }); }, /** * Opens the color picker dialog. * * @since 3.5.0 * * @return {void} */ open: function() { this.element.iris( 'toggle' ); this.inputWrapper.removeClass( 'hidden' ); this.wrap.addClass( 'wp-picker-active' ); this.toggler .addClass( 'wp-picker-open' ) .attr( 'aria-expanded', 'true' ); $( 'body' ).trigger( 'click.wpcolorpicker' ).on( 'click.wpcolorpicker', this.close ); }, /** * Closes the color picker dialog. * * @since 3.5.0 * * @return {void} */ close: function() { this.element.iris( 'toggle' ); this.inputWrapper.addClass( 'hidden' ); this.wrap.removeClass( 'wp-picker-active' ); this.toggler .removeClass( 'wp-picker-open' ) .attr( 'aria-expanded', 'false' ); $( 'body' ).off( 'click.wpcolorpicker', this.close ); }, /** * Returns the iris object if no new color is provided. If a new color is provided, it sets the new color. * * @param newColor {string|*} The new color to use. Can be undefined. * * @since 3.5.0 * * @return {string} The element's color. */ color: function( newColor ) { if ( newColor === undef ) { return this.element.iris( 'option', 'color' ); } this.element.iris( 'option', 'color', newColor ); }, /** * Returns the iris object if no new default color is provided. * If a new default color is provided, it sets the new default color. * * @param newDefaultColor {string|*} The new default color to use. Can be undefined. * * @since 3.5.0 * * @return {boolean|string} The element's color. */ defaultColor: function( newDefaultColor ) { if ( newDefaultColor === undef ) { return this.options.defaultColor; } this.options.defaultColor = newDefaultColor; } }; // Register the color picker as a widget. $.widget( 'wp.wpColorPicker', ColorPicker ); }( jQuery ) ); customize-nav-menus.min.js 0000644 00000136220 15174671433 0011634 0 ustar 00 /*! This file is auto-generated */ !function(u,l,m){"use strict";function c(e){return(e=(e=l.sanitize.stripTagsAndEncodeText(e=e||"")).toString().trim())||u.Menus.data.l10n.unnamed}wpNavMenu.originalInit=wpNavMenu.init,wpNavMenu.options.menuItemDepthPerLevel=20,wpNavMenu.options.sortableItems="> .customize-control-nav_menu_item",wpNavMenu.options.targetTolerance=10,wpNavMenu.init=function(){this.jQueryExtensions()},u.Menus=u.Menus||{},u.Menus.data={itemTypes:[],l10n:{},settingTransport:"refresh",phpIntMax:0,defaultSettingValues:{nav_menu:{},nav_menu_item:{}},locationSlugMappedToName:{}},"undefined"!=typeof _wpCustomizeNavMenusSettings&&m.extend(u.Menus.data,_wpCustomizeNavMenusSettings),u.Menus.generatePlaceholderAutoIncrementId=function(){return-Math.ceil(u.Menus.data.phpIntMax*Math.random())},u.Menus.AvailableItemModel=Backbone.Model.extend(m.extend({id:null},u.Menus.data.defaultSettingValues.nav_menu_item)),u.Menus.AvailableItemCollection=Backbone.Collection.extend({model:u.Menus.AvailableItemModel,sort_key:"order",comparator:function(e){return-e.get(this.sort_key)},sortByField:function(e){this.sort_key=e,this.sort()}}),u.Menus.availableMenuItems=new u.Menus.AvailableItemCollection(u.Menus.data.availableMenuItems),u.Menus.insertAutoDraftPost=function(n){var i=m.Deferred(),e=l.ajax.post("customize-nav-menus-insert-auto-draft",{"customize-menus-nonce":u.settings.nonce["customize-menus"],wp_customize:"on",customize_changeset_uuid:u.settings.changeset.uuid,params:n});return e.done(function(t){t.post_id&&(u("nav_menus_created_posts").set(u("nav_menus_created_posts").get().concat([t.post_id])),"page"===n.post_type&&(u.section.has("static_front_page")&&u.section("static_front_page").activate(),u.control.each(function(e){"dropdown-pages"===e.params.type&&e.container.find('select[name^="_customize-dropdown-pages-"]').append(new Option(n.post_title,t.post_id))})),i.resolve(t))}),e.fail(function(e){var t=e||"";void 0!==e.message&&(t=e.message),console.error(t),i.rejectWith(t)}),i.promise()},u.Menus.AvailableMenuItemsPanelView=l.Backbone.View.extend({el:"#available-menu-items",events:{"input #menu-items-search":"debounceSearch","focus .menu-item-tpl":"focus","click .menu-item-tpl":"_submit","click #custom-menu-item-submit":"_submitLink","keypress #custom-menu-item-name":"_submitLink","click .new-content-item .add-content":"_submitNew","keypress .create-item-input":"_submitNew",keydown:"keyboardAccessible"},selected:null,currentMenuControl:null,debounceSearch:null,$search:null,$clearResults:null,searchTerm:"",rendered:!1,pages:{},sectionContent:"",loading:!1,addingNew:!1,initialize:function(){var n=this;u.panel.has("nav_menus")&&(this.$search=m("#menu-items-search"),this.$clearResults=this.$el.find(".clear-results"),this.sectionContent=this.$el.find(".available-menu-items-list"),this.debounceSearch=_.debounce(n.search,500),_.bindAll(this,"close"),m("#customize-controls, .customize-section-back").on("click keydown",function(e){var t=m(e.target).is(".item-delete, .item-delete *"),e=m(e.target).is(".add-new-menu-item, .add-new-menu-item *");!m("body").hasClass("adding-menu-items")||t||e||n.close()}),this.$clearResults.on("click",function(){n.$search.val("").trigger("focus").trigger("input")}),this.$el.on("input","#custom-menu-item-name.invalid, #custom-menu-item-url.invalid",function(){m(this).removeClass("invalid");var e=m(this).attr("aria-describedby");m("#"+e).hide(),m(this).removeAttr("aria-invalid").removeAttr("aria-describedby")}),u.panel("nav_menus").container.on("expanded",function(){n.rendered||(n.initList(),n.rendered=!0)}),this.sectionContent.on("scroll",function(){var e=n.$el.find(".accordion-section.open .available-menu-items-list").prop("scrollHeight"),t=n.$el.find(".accordion-section.open").height();!n.loading&&m(this).scrollTop()>.75*e-t&&(e=m(this).data("type"),t=m(this).data("object"),"search"===e?n.searchTerm&&n.doSearch(n.pages.search):n.loadItems([{type:e,object:t}]))}),u.previewer.bind("url",this.close),n.delegateEvents())},search:function(e){var t=m("#available-menu-items-search"),n=m("#available-menu-items .accordion-section").not(t);e&&this.searchTerm!==e.target.value&&(""===e.target.value||t.hasClass("open")?""===e.target.value&&(t.removeClass("open"),n.show(),this.$clearResults.removeClass("is-visible")):(n.fadeOut(100),t.find(".accordion-section-content").slideDown("fast"),t.addClass("open"),this.$clearResults.addClass("is-visible")),this.searchTerm=e.target.value,this.pages.search=1,this.doSearch(1))},doSearch:function(t){var e,n=this,i=m("#available-menu-items-search"),a=i.find(".accordion-section-content"),o=l.template("available-menu-item");if(n.currentRequest&&n.currentRequest.abort(),!(t<0)){if(1<t)i.addClass("loading-more"),a.attr("aria-busy","true"),l.a11y.speak(u.Menus.data.l10n.itemsLoadingMore);else if(""===n.searchTerm)return a.html(""),void l.a11y.speak("");i.addClass("loading"),n.loading=!0,e=u.previewer.query({excludeCustomizedSaved:!0}),_.extend(e,{"customize-menus-nonce":u.settings.nonce["customize-menus"],wp_customize:"on",search:n.searchTerm,page:t}),n.currentRequest=l.ajax.post("search-available-menu-items-customizer",e),n.currentRequest.done(function(e){1===t&&a.empty(),i.removeClass("loading loading-more"),a.attr("aria-busy","false"),i.addClass("open"),n.loading=!1,e=new u.Menus.AvailableItemCollection(e.items),n.collection.add(e.models),e.each(function(e){a.append(o(e.attributes))}),e.length<20?n.pages.search=-1:n.pages.search=n.pages.search+1,e&&1<t?l.a11y.speak(u.Menus.data.l10n.itemsFoundMore.replace("%d",e.length)):e&&1===t&&l.a11y.speak(u.Menus.data.l10n.itemsFound.replace("%d",e.length))}),n.currentRequest.fail(function(e){e.message&&(a.empty().append(m('<li class="nothing-found"></li>').text(e.message)),l.a11y.speak(e.message)),n.pages.search=-1}),n.currentRequest.always(function(){i.removeClass("loading loading-more"),a.attr("aria-busy","false"),n.loading=!1,n.currentRequest=null})}},initList:function(){var t=this;_.each(u.Menus.data.itemTypes,function(e){t.pages[e.type+":"+e.object]=0}),t.loadItems(u.Menus.data.itemTypes)},loadItems:function(e,t){var i=this,a=[],o={},s=l.template("available-menu-item"),t=_.isString(e)&&_.isString(t)?[{type:e,object:t}]:e;_.each(t,function(e){var t,n=e.type+":"+e.object;-1!==i.pages[n]&&((t=m("#available-menu-items-"+e.type+"-"+e.object)).find(".accordion-section-title").addClass("loading"),o[n]=t,a.push({object:e.object,type:e.type,page:i.pages[n]}))}),0!==a.length&&(i.loading=!0,e=u.previewer.query({excludeCustomizedSaved:!0}),_.extend(e,{"customize-menus-nonce":u.settings.nonce["customize-menus"],wp_customize:"on",item_types:a}),(t=l.ajax.post("load-available-menu-items-customizer",e)).done(function(e){var n;_.each(e.items,function(e,t){0===e.length?(0===i.pages[t]&&o[t].find(".accordion-section-title").addClass("cannot-expand").removeClass("loading").find(".accordion-section-title > button").prop("tabIndex",-1),i.pages[t]=-1):("post_type:page"!==t||o[t].hasClass("open")||o[t].find(".accordion-section-title > button").trigger("click"),e=new u.Menus.AvailableItemCollection(e),i.collection.add(e.models),n=o[t].find(".available-menu-items-list"),e.each(function(e){n.append(s(e.attributes))}),i.pages[t]+=1)})}),t.fail(function(e){"undefined"!=typeof console&&console.error&&console.error(e)}),t.always(function(){_.each(o,function(e){e.find(".accordion-section-title").removeClass("loading")}),i.loading=!1}))},itemSectionHeight:function(){var e=window.innerHeight,t=this.$el.find(".accordion-section:not( #available-menu-items-search ) .accordion-section-content"),n=this.$el.find('.accordion-section:not( #available-menu-items-search ) .available-menu-items-list:not(":only-child")'),e=e-(46*(1+t.length)+14);120<e&&e<290&&(t.css("max-height",e),n.css("max-height",e-60))},select:function(e){this.selected=m(e),this.selected.siblings(".menu-item-tpl").removeClass("selected"),this.selected.addClass("selected")},focus:function(e){this.select(m(e.currentTarget))},_submit:function(e){"keypress"===e.type&&13!==e.which&&32!==e.which||this.submit(m(e.currentTarget))},submit:function(e){var t;(e=e||this.selected)&&this.currentMenuControl&&(this.select(e),t=m(this.selected).data("menu-item-id"),t=this.collection.findWhere({id:t}))&&((t=Object.assign({},t.attributes)).title===t.original_title&&(t.title=""),this.currentMenuControl.addItemToMenu(t),m(e).find(".menu-item-handle").addClass("item-added"))},_submitLink:function(e){"keypress"===e.type&&13!==e.which||this.submitLink()},submitLink:function(){var e,t,n,i=m("#custom-menu-item-name"),a=m("#custom-menu-item-url"),o=m("#custom-url-error"),s=m("#custom-name-error"),r=a.val().trim();this.currentMenuControl&&((t=/^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/).test(r)&&""!==i.val()?(o.hide(),s.hide(),i.removeClass("invalid").removeAttr("aria-invalid","true").removeAttr("aria-describedby","custom-name-error"),a.removeClass("invalid").removeAttr("aria-invalid","true").removeAttr("aria-describedby","custom-name-error"),e={title:i.val(),url:r,type:"custom",type_label:u.Menus.data.l10n.custom_label,object:"custom"},this.currentMenuControl.addItemToMenu(e),a.val("").attr("placeholder","https://"),i.val("")):(t.test(r)||(a.addClass("invalid").attr("aria-invalid","true").attr("aria-describedby","custom-url-error"),o.show(),n=o.text(),l.a11y.speak(n,"assertive")),""===i.val()&&(i.addClass("invalid").attr("aria-invalid","true").attr("aria-describedby","custom-name-error"),s.show(),n=""===n?s.text():n+s.text(),l.a11y.speak(n,"assertive"))))},_submitNew:function(e){"keypress"===e.type&&13!==e.which||this.addingNew||(e=m(e.target).closest(".accordion-section"),this.submitNew(e))},submitNew:function(n){var i=this,a=n.find(".create-item-input"),e=a.val(),t=n.find(".available-menu-items-list"),o=t.data("type"),s=t.data("object"),r=t.data("type_label"),t=n.find(".create-item-error");this.currentMenuControl&&"post_type"===o&&(""===a.val().trim()?(n.addClass("form-invalid"),a.attr("aria-invalid","true"),a.attr("aria-describedby",t.attr("id")),t.slideDown("fast"),l.a11y.speak(t.text())):(n.removeClass("form-invalid"),a.attr("aria-invalid","false"),a.removeAttr("aria-describedby"),t.hide(),n.find(".accordion-section-title").addClass("loading"),i.addingNew=!0,a.attr("disabled","disabled"),u.Menus.insertAutoDraftPost({post_title:e,post_type:s}).done(function(e){var t,e=new u.Menus.AvailableItemModel({id:"post-"+e.post_id,title:a.val(),type:o,type_label:r,object:s,object_id:e.post_id,url:e.url});i.currentMenuControl.addItemToMenu(e.attributes),u.Menus.availableMenuItemsPanel.collection.add(e),t=n.find(".available-menu-items-list"),(e=m(l.template("available-menu-item")(e.attributes))).find(".menu-item-handle:first").addClass("item-added"),t.prepend(e),t.scrollTop(),a.val("").removeAttr("disabled"),i.addingNew=!1,n.find(".accordion-section-title").removeClass("loading")})))},open:function(e){var t,n=this;this.currentMenuControl=e,this.itemSectionHeight(),u.section.has("publish_settings")&&u.section("publish_settings").collapse(),m("body").addClass("adding-menu-items"),t=function(){n.close(),m(this).off("click",t)},m("#customize-preview").on("click",t),_(this.currentMenuControl.getMenuItemControls()).each(function(e){e.collapseForm()}),this.$el.find(".selected").removeClass("selected"),this.$search.trigger("focus")},close:function(e){(e=e||{}).returnFocus&&this.currentMenuControl&&this.currentMenuControl.container.find(".add-new-menu-item").focus(),this.currentMenuControl=null,this.selected=null,m("body").removeClass("adding-menu-items"),m("#available-menu-items .menu-item-handle.item-added").removeClass("item-added"),this.$search.val("").trigger("input")},keyboardAccessible:function(e){var t=13===e.which,n=27===e.which,i=9===e.which&&e.shiftKey,a=m(e.target).is(this.$search);t&&!this.$search.val()||(a&&i?(this.currentMenuControl.container.find(".add-new-menu-item").focus(),e.preventDefault()):n&&this.close({returnFocus:!0}))}}),u.Menus.MenusPanel=u.Panel.extend({attachEvents:function(){u.Panel.prototype.attachEvents.call(this);var t=this.container.find(".panel-meta"),n=t.find(".customize-help-toggle"),i=t.find(".customize-panel-description"),a=m("#screen-options-wrap"),o=t.find(".customize-screen-options-toggle");o.on("click keydown",function(e){if(!u.utils.isKeydownButNotEnterEvent(e))return e.preventDefault(),i.not(":hidden")&&(i.slideUp("fast"),n.attr("aria-expanded","false")),"true"===o.attr("aria-expanded")?(o.attr("aria-expanded","false"),t.removeClass("open"),t.removeClass("active-menu-screen-options"),a.slideUp("fast")):(o.attr("aria-expanded","true"),t.addClass("open"),t.addClass("active-menu-screen-options"),a.slideDown("fast")),!1}),n.on("click keydown",function(e){u.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),"true"===o.attr("aria-expanded")&&(o.attr("aria-expanded","false"),n.attr("aria-expanded","true"),t.addClass("open"),t.removeClass("active-menu-screen-options"),a.slideUp("fast"),i.slideDown("fast")))})},ready:function(){var e=this;e.container.find(".hide-column-tog").on("click",function(){e.saveManageColumnsState()}),u.section("menu_locations",function(e){e.headContainer.prepend(l.template("nav-menu-locations-header")(u.Menus.data))})},saveManageColumnsState:_.debounce(function(){var e=this;e._updateHiddenColumnsRequest&&e._updateHiddenColumnsRequest.abort(),e._updateHiddenColumnsRequest=l.ajax.post("hidden-columns",{hidden:e.hidden(),screenoptionnonce:m("#screenoptionnonce").val(),page:"nav-menus"}),e._updateHiddenColumnsRequest.always(function(){e._updateHiddenColumnsRequest=null})},2e3),checked:function(){},unchecked:function(){},hidden:function(){return m(".hide-column-tog").not(":checked").map(function(){var e=this.id;return e.substring(0,e.length-5)}).get().join(",")}}),u.Menus.MenuSection=u.Section.extend({initialize:function(e,t){u.Section.prototype.initialize.call(this,e,t),this.deferred.initSortables=m.Deferred()},ready:function(){var e,t,n=this;if(void 0===n.params.menu_id)throw new Error("params.menu_id was not defined");n.active.validate=function(){return!!u.has(n.id)&&!!u(n.id).get()},n.populateControls(),n.navMenuLocationSettings={},n.assignedLocations=new u.Value([]),u.each(function(e,t){t=t.match(/^nav_menu_locations\[(.+?)]/);t&&(n.navMenuLocationSettings[t[1]]=e).bind(function(){n.refreshAssignedLocations()})}),n.assignedLocations.bind(function(e){n.updateAssignedLocationsInSectionTitle(e)}),n.refreshAssignedLocations(),u.bind("pane-contents-reflowed",function(){n.contentContainer.parent().length&&(n.container.find(".menu-item .menu-item-reorder-nav button").attr({tabindex:"0","aria-hidden":"false"}),n.container.find(".menu-item.move-up-disabled .menus-move-up").attr({tabindex:"-1","aria-hidden":"true"}),n.container.find(".menu-item.move-down-disabled .menus-move-down").attr({tabindex:"-1","aria-hidden":"true"}),n.container.find(".menu-item.move-left-disabled .menus-move-left").attr({tabindex:"-1","aria-hidden":"true"}),n.container.find(".menu-item.move-right-disabled .menus-move-right").attr({tabindex:"-1","aria-hidden":"true"}))}),t=function(){var e="field-"+m(this).val()+"-active";n.contentContainer.toggleClass(e,m(this).prop("checked"))},(e=u.panel("nav_menus").contentContainer.find(".metabox-prefs:first").find(".hide-column-tog")).each(t),e.on("click",t)},populateControls:function(){var e,t=this,n=t.id+"[name]",i=u.control(n);i||(i=new u.controlConstructor.nav_menu_name(n,{type:"nav_menu_name",label:u.Menus.data.l10n.menuNameLabel,section:t.id,priority:0,settings:{default:t.id}}),u.control.add(i),i.active.set(!0)),(n=u.control(t.id))||(n=new u.controlConstructor.nav_menu(t.id,{type:"nav_menu",section:t.id,priority:998,settings:{default:t.id},menu_id:t.params.menu_id}),u.control.add(n),n.active.set(!0)),i=t.id+"[locations]",u.control(i)||(i=new u.controlConstructor.nav_menu_locations(i,{section:t.id,priority:999,settings:{default:t.id},menu_id:t.params.menu_id}),u.control.add(i.id,i),n.active.set(!0)),i=t.id+"[auto_add]",(n=u.control(i))||(n=new u.controlConstructor.nav_menu_auto_add(i,{type:"nav_menu_auto_add",label:"",section:t.id,priority:1e3,settings:{default:t.id}}),u.control.add(n),n.active.set(!0)),i=t.id+"[delete]",(e=u.control(i))||(e=new u.Control(i,{section:t.id,priority:1001,templateId:"nav-menu-delete-button"}),u.control.add(e.id,e),e.active.set(!0),e.deferred.embedded.done(function(){e.container.find("button").on("click",function(){var e=t.params.menu_id;u.Menus.getMenuControl(e).setting.set(!1)})}))},refreshAssignedLocations:function(){var n=this.params.menu_id,i=[];_.each(this.navMenuLocationSettings,function(e,t){e()===n&&i.push(t)}),this.assignedLocations.set(i)},updateAssignedLocationsInSectionTitle:function(e){var n=this.container.find(".accordion-section-title button:first");n.find(".menu-in-location").remove(),_.each(e,function(e){var t=m('<span class="menu-in-location"></span>'),e=u.Menus.data.locationSlugMappedToName[e];t.text(u.Menus.data.l10n.menuLocation.replace("%s",e)),n.append(t)}),this.container.toggleClass("assigned-to-menu-location",0!==e.length)},onChangeExpanded:function(e,t){var n,i=this;e&&(wpNavMenu.menuList=i.contentContainer,wpNavMenu.targetList=wpNavMenu.menuList,m("#menu-to-edit").removeAttr("id"),wpNavMenu.menuList.attr("id","menu-to-edit").addClass("menu"),u.Menus.MenuItemControl.prototype.initAccessibility(),_.each(u.section(i.id).controls(),function(e){"nav_menu_item"===e.params.type&&e.actuallyEmbed()}),t.completeCallback&&(n=t.completeCallback),t.completeCallback=function(){"resolved"!==i.deferred.initSortables.state()&&(wpNavMenu.initSortables(),i.deferred.initSortables.resolve(wpNavMenu.menuList),u.control("nav_menu["+String(i.params.menu_id)+"]").reflowMenuItems()),_.isFunction(n)&&n()}),u.Section.prototype.onChangeExpanded.call(i,e,t)},highlightNewItemButton:function(){u.utils.highlightButton(this.contentContainer.find(".add-new-menu-item"),{delay:2e3})}}),u.Menus.createNavMenu=function(e){var t=u.Menus.generatePlaceholderAutoIncrementId(),n="nav_menu["+String(t)+"]";return u.create(n,n,{},{type:"nav_menu",transport:u.Menus.data.settingTransport,previewer:u.previewer}).set(m.extend({},u.Menus.data.defaultSettingValues.nav_menu,{name:e||""})),u.section.add(new u.Menus.MenuSection(n,{panel:"nav_menus",title:c(e),customizeAction:u.Menus.data.l10n.customizingMenus,priority:10,menu_id:t}))},u.Menus.NewMenuSection=u.Section.extend({attachEvents:function(){var t=this,e=t.container,n=t.contentContainer,i=/^nav_menu\[/;function a(){var t;e.find(".add-new-menu-notice").prop("hidden",(t=0,u.each(function(e){i.test(e.id)&&!1!==e.get()&&(t+=1)}),0<t))}function o(e){i.test(e.id)&&(e.bind(a),a())}t.headContainer.find(".accordion-section-title").replaceWith(l.template("nav-menu-create-menu-section-title")),e.on("click",".customize-add-menu-button",function(){t.expand()}),n.on("keydown",".menu-name-field",function(e){13===e.which&&t.submit()}),n.on("click","#customize-new-menu-submit",function(e){t.submit(),e.stopPropagation(),e.preventDefault()}),u.each(o),u.bind("add",o),u.bind("removed",function(e){i.test(e.id)&&(e.unbind(a),a())}),a(),u.Section.prototype.attachEvents.apply(t,arguments)},ready:function(){this.populateControls()},populateControls:function(){var e=this,t=e.id+"[name]",n=u.control(t);n||(n=new u.controlConstructor.nav_menu_name(t,{label:u.Menus.data.l10n.menuNameLabel,description:u.Menus.data.l10n.newMenuNameDescription,section:e.id,priority:0}),u.control.add(n.id,n),n.active.set(!0)),t=e.id+"[locations]",(n=u.control(t))||(n=new u.controlConstructor.nav_menu_locations(t,{section:e.id,priority:1,menu_id:"",isCreating:!0}),u.control.add(t,n),n.active.set(!0)),t=e.id+"[submit]",(n=u.control(t))||(n=new u.Control(t,{section:e.id,priority:1,templateId:"nav-menu-submit-new-button"}),u.control.add(t,n),n.active.set(!0))},submit:function(){var t,e=this.contentContainer,n=e.find(".menu-name-field").first(),i=n.val();i?(t=u.Menus.createNavMenu(i),n.val(""),n.removeClass("invalid"),e.find(".assigned-menu-location input[type=checkbox]").each(function(){var e=m(this);e.prop("checked")&&(u("nav_menu_locations["+e.data("location-id")+"]").set(t.params.menu_id),e.prop("checked",!1))}),l.a11y.speak(u.Menus.data.l10n.menuAdded),t.focus({completeCallback:function(){t.highlightNewItemButton()}})):(n.addClass("invalid"),n.focus())},selectDefaultLocation:function(e){var t=u.control(this.id+"[locations]"),n={};null!==e&&(n[e]=!0),t.setSelections(n)}}),u.Menus.MenuLocationControl=u.Control.extend({initialize:function(e,t){var n=e.match(/^nav_menu_locations\[(.+?)]/);this.themeLocation=n[1],u.Control.prototype.initialize.call(this,e,t)},ready:function(){var n=this,i=/^nav_menu\[(-?\d+)]/;n.setting.validate=function(e){return""===e?0:parseInt(e,10)},n.container.find(".create-menu").on("click",function(){var e=u.section("add_menu");e.selectDefaultLocation(this.dataset.locationId),e.focus()}),n.container.find(".edit-menu").on("click",function(){var e=n.setting();u.section("nav_menu["+e+"]").focus()}),n.setting.bind("change",function(){var e=0!==n.setting();n.container.find(".create-menu").toggleClass("hidden",e),n.container.find(".edit-menu").toggleClass("hidden",!e)}),u.bind("add",function(e){var t=e.id.match(i);t&&!1!==e()&&(t=t[1],e=new Option(c(e().name),t),n.container.find("select").append(e))}),u.bind("remove",function(e){var e=e.id.match(i);e&&(e=parseInt(e[1],10),n.setting()===e&&n.setting.set(""),n.container.find("option[value="+e+"]").remove())}),u.bind("change",function(e){var t=e.id.match(i);t&&(t=parseInt(t[1],10),!1===e()?(n.setting()===t&&n.setting.set(""),n.container.find("option[value="+t+"]").remove()):n.container.find("option[value="+t+"]").text(c(e().name)))})}}),u.Menus.MenuItemControl=u.Control.extend({initialize:function(e,t){var n=this;n.expanded=new u.Value(!1),n.expandedArgumentsQueue=[],n.expanded.bind(function(e){var t=n.expandedArgumentsQueue.shift(),t=m.extend({},n.defaultExpandedArguments,t);n.onChangeExpanded(e,t)}),u.Control.prototype.initialize.call(n,e,t),n.active.validate=function(){var e=u.section(n.section()),e=!!e&&e.active();return e}},initAccessibility:function(){var e=this,t=m("#menu-to-edit");t.on("mouseenter.refreshAccessibility focus.refreshAccessibility touchstart.refreshAccessibility",".menu-item",function(){e.refreshAdvancedAccessibilityOfItem(m(this).find("button.item-edit"))}),t.on("click","button.item-edit",function(){e.refreshAdvancedAccessibilityOfItem(m(this))})},refreshAdvancedAccessibilityOfItem:function(e){var t,n,i,a,o,s,r,d;!0===m(e).data("needs_accessibility_refresh")&&(o=0===(a=(i=(e=m(e)).closest("li.menu-item").first()).menuItemDepth()),s=e.closest(".menu-item-handle").find(".menu-item-title").text(),r=e.closest(".menu-item-handle").find(".item-type").text(),d=m("#menu-to-edit li").length,d=o?(t=(o=m(".menu-item-depth-0")).index(i)+1,d=o.length,menus.menuFocus.replace("%1$s",s).replace("%2$s",r).replace("%3$d",t).replace("%4$d",d)):(d=(o=i.prevAll(".menu-item-depth-"+parseInt(a-1,10)).first()).find(".menu-item-data-db-id").val(),o=o.find(".menu-item-title").text(),n=(d=m('.menu-item .menu-item-data-parent-id[value="'+d+'"]')).length,t=m(d.parents(".menu-item").get().reverse()).index(i)+1,a<2?menus.subMenuFocus.replace("%1$s",s).replace("%2$s",r).replace("%3$d",t).replace("%4$d",n).replace("%5$s",o):menus.subMenuMoreDepthFocus.replace("%1$s",s).replace("%2$s",r).replace("%3$d",t).replace("%4$d",n).replace("%5$s",o).replace("%6$d",a)),e.find(".screen-reader-text").text(d),e.data("needs_accessibility_refresh",!1))},embed:function(){var e=this.section();e&&((e=u.section(e))&&e.expanded()||u.settings.autofocus.control===this.id)&&this.actuallyEmbed()},actuallyEmbed:function(){"resolved"!==this.deferred.embedded.state()&&(this.renderContent(),this.deferred.embedded.resolve(),m("button.item-edit").data("needs_accessibility_refresh",!0))},ready:function(){if(void 0===this.params.menu_item_id)throw new Error("params.menu_item_id was not defined");this._setupControlToggle(),this._setupReorderUI(),this._setupUpdateUI(),this._setupRemoveUI(),this._setupLinksUI(),this._setupTitleUI()},_setupControlToggle:function(){var i=this;this.container.find(".menu-item-handle").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=i.getMenuControl(),n=m(e.target).is(".item-delete, .item-delete *"),e=m(e.target).is(".add-new-menu-item, .add-new-menu-item *");!m("body").hasClass("adding-menu-items")||n||e||u.Menus.availableMenuItemsPanel.close(),t.isReordering||t.isSorting||i.toggleForm()})},_setupReorderUI:function(){var o=this,e=l.template("menu-item-reorder-nav");o.container.find(".item-controls").after(e),o.container.find(".menu-item-reorder-nav").find(".menus-move-up, .menus-move-down, .menus-move-left, .menus-move-right").on("click",function(){var e=m(this),t=(o.params.depth=o.getDepth(),e.focus(),e.is(".menus-move-up")),n=e.is(".menus-move-down"),i=e.is(".menus-move-left"),a=e.is(".menus-move-right");t?o.moveUp():n?o.moveDown():i?o.moveLeft():a&&(o.moveRight(),o.params.depth+=1),e.focus(),m("button.item-edit").data("needs_accessibility_refresh",!0)})},_setupUpdateUI:function(){var e,s=this,t=s.setting();s.elements={},s.elements.url=new u.Element(s.container.find(".edit-menu-item-url")),s.elements.title=new u.Element(s.container.find(".edit-menu-item-title")),s.elements.attr_title=new u.Element(s.container.find(".edit-menu-item-attr-title")),s.elements.target=new u.Element(s.container.find(".edit-menu-item-target")),s.elements.classes=new u.Element(s.container.find(".edit-menu-item-classes")),s.elements.xfn=new u.Element(s.container.find(".edit-menu-item-xfn")),s.elements.description=new u.Element(s.container.find(".edit-menu-item-description")),_.each(s.elements,function(n,i){n.bind(function(e){n.element.is("input[type=checkbox]")&&(e=e?n.element.val():"");var t=s.setting();t&&t[i]!==e&&((t=_.clone(t))[i]=e,s.setting.set(t))}),t&&("classes"!==i&&"xfn"!==i||!_.isArray(t[i])?n.set(t[i]):n.set(t[i].join(" ")))}),s.setting.bind(function(n,i){var e,t=s.params.menu_item_id,a=[],o=[];!1===n?(e=u.control("nav_menu["+String(i.nav_menu_term_id)+"]"),s.container.remove(),_.each(e.getMenuItemControls(),function(e){i.menu_item_parent===e.setting().menu_item_parent&&e.setting().position>i.position?a.push(e):e.setting().menu_item_parent===t&&o.push(e)}),_.each(a,function(e){var t=_.clone(e.setting());t.position+=o.length,e.setting.set(t)}),_.each(o,function(e,t){var n=_.clone(e.setting());n.position=i.position+t,n.menu_item_parent=i.menu_item_parent,e.setting.set(n)}),e.debouncedReflowMenuItems()):(_.each(n,function(e,t){s.elements[t]&&s.elements[t].set(n[t])}),s.container.find(".menu-item-data-parent-id").val(n.menu_item_parent),n.position===i.position&&n.menu_item_parent===i.menu_item_parent||s.getMenuControl().debouncedReflowMenuItems())}),s.setting.notifications.bind("add",e=function(){s.elements.url.element.toggleClass("invalid",s.setting.notifications.has("invalid_url"))}),s.setting.notifications.bind("removed",e)},_setupRemoveUI:function(){var r=this;r.container.find(".item-delete").on("click",function(){var e,t,n,i=!0,a=0,o=r.params.original_item_id,s=r.getMenuControl().$sectionContent.find(".menu-item");m("body").hasClass("adding-menu-items")||(i=!1),n=r.container.nextAll(".customize-control-nav_menu_item:visible").first(),t=r.container.prevAll(".customize-control-nav_menu_item:visible").first(),e=(n.length?n.find(!1===i?".item-edit":".item-delete"):t.length?t.find(!1===i?".item-edit":".item-delete"):r.container.nextAll(".customize-control-nav_menu").find(".add-new-menu-item")).first(),_.each(s,function(e){m(e).is(":visible")&&(e=e.getAttribute("id").match(/^customize-control-nav_menu_item-(-?\d+)$/,""))&&(e=parseInt(e[1],10),e=u.control("nav_menu_item["+String(e)+"]"))&&o==e.params.original_item_id&&a++}),a<=1&&((n=m("#menu-item-tpl-"+r.params.original_item_id)).removeClass("selected"),n.find(".menu-item-handle").removeClass("item-added")),r.container.slideUp(function(){r.setting.set(!1),l.a11y.speak(u.Menus.data.l10n.itemDeleted),e.focus()}),r.setting.set(!1)})},_setupLinksUI:function(){this.container.find("a.original-link").on("click",function(e){e.preventDefault(),u.previewer.previewUrl(e.target.toString())})},_setupTitleUI:function(){var i;this.container.find(".edit-menu-item-title").on("blur",function(){m(this).val(m(this).val().trim())}),i=this.container.find(".menu-item-title"),this.setting.bind(function(e){var t,n;e&&(e.title=e.title||"",n=(t=e.title.trim())||e.original_title||u.Menus.data.l10n.untitled,e._invalid&&(n=u.Menus.data.l10n.invalidTitleTpl.replace("%s",n)),t||e.original_title?i.text(n).removeClass("no-title"):i.text(n).addClass("no-title"))})},getDepth:function(){var e=this,t=e.setting(),n=0;if(!t)return 0;for(;t&&t.menu_item_parent&&(n+=1,e=u.control("nav_menu_item["+t.menu_item_parent+"]"));)t=e.setting();return n},renderContent:function(){var e,t=this,n=t.setting();t.params.title=n.title||"",t.params.depth=t.getDepth(),t.container.data("item-depth",t.params.depth),e=["menu-item","menu-item-depth-"+String(t.params.depth),"menu-item-"+n.object,"menu-item-edit-inactive"],n._invalid?(e.push("menu-item-invalid"),t.params.title=u.Menus.data.l10n.invalidTitleTpl.replace("%s",t.params.title)):"draft"===n.status&&(e.push("pending"),t.params.title=u.Menus.data.pendingTitleTpl.replace("%s",t.params.title)),t.params.el_classes=e.join(" "),t.params.item_type_label=n.type_label,t.params.item_type=n.type,t.params.url=n.url,t.params.target=n.target,t.params.attr_title=n.attr_title,t.params.classes=_.isArray(n.classes)?n.classes.join(" "):n.classes,t.params.xfn=n.xfn,t.params.description=n.description,t.params.parent=n.menu_item_parent,t.params.original_title=n.original_title||"",t.container.addClass(t.params.el_classes),u.Control.prototype.renderContent.call(t)},getMenuControl:function(){var e=this.setting();return e&&e.nav_menu_term_id?u.control("nav_menu["+e.nav_menu_term_id+"]"):null},expandControlSection:function(){var e=this.container.closest(".accordion-section");e.hasClass("open")||e.find(".accordion-section-title:first").trigger("click")},_toggleExpanded:u.Section.prototype._toggleExpanded,expand:u.Section.prototype.expand,expandForm:function(e){this.expand(e)},collapse:u.Section.prototype.collapse,collapseForm:function(e){this.collapse(e)},toggleForm:function(e,t){(e=void 0===e?!this.expanded():e)?this.expand(t):this.collapse(t)},onChangeExpanded:function(e,t){var n,i=this,a=this.container,o=a.find(".menu-item-settings:first");void 0===e&&(e=!o.is(":visible")),o.is(":visible")===e?t&&t.completeCallback&&t.completeCallback():e?(u.control.each(function(e){i.params.type===e.params.type&&i!==e&&e.collapseForm()}),n=function(){a.removeClass("menu-item-edit-inactive").addClass("menu-item-edit-active"),i.container.trigger("expanded"),t&&t.completeCallback&&t.completeCallback()},a.find(".item-edit").attr("aria-expanded","true"),o.slideDown("fast",n),i.container.trigger("expand")):(n=function(){a.addClass("menu-item-edit-inactive").removeClass("menu-item-edit-active"),i.container.trigger("collapsed"),t&&t.completeCallback&&t.completeCallback()},i.container.trigger("collapse"),a.find(".item-edit").attr("aria-expanded","false"),o.slideUp("fast",n))},focus:function(e){var t=this,n=(e=e||{}).completeCallback,i=function(){t.expandControlSection(),e.completeCallback=function(){t.container.find(".menu-item-settings").find("input, select, textarea, button, object, a[href], [tabindex]").filter(":visible").first().focus(),n&&n()},t.expandForm(e)};u.section.has(t.section())?u.section(t.section()).expand({completeCallback:i}):i()},moveUp:function(){this._changePosition(-1),l.a11y.speak(u.Menus.data.l10n.movedUp)},moveDown:function(){this._changePosition(1),l.a11y.speak(u.Menus.data.l10n.movedDown)},moveLeft:function(){this._changeDepth(-1),l.a11y.speak(u.Menus.data.l10n.movedLeft)},moveRight:function(){this._changeDepth(1),l.a11y.speak(u.Menus.data.l10n.movedRight)},_changePosition:function(e){var t,n=this,i=_.clone(n.setting()),a=[];if(1!==e&&-1!==e)throw new Error("Offset changes by 1 are only supported.");if(n.setting()){if(_(n.getMenuControl().getMenuItemControls()).each(function(e){e.setting().menu_item_parent===i.menu_item_parent&&a.push(e.setting)}),a.sort(function(e,t){return e().position-t().position}),-1===(t=_.indexOf(a,n.setting)))throw new Error("Expected setting to be among siblings.");0===t&&e<0||t===a.length-1&&0<e||((t=a[t+e])&&t.set(m.extend(_.clone(t()),{position:i.position})),i.position+=e,n.setting.set(i))}},_changeDepth:function(e){if(1!==e&&-1!==e)throw new Error("Offset changes by 1 are only supported.");var t,n,i=this,a=_.clone(i.setting()),o=[];if(_(i.getMenuControl().getMenuItemControls()).each(function(e){e.setting().menu_item_parent===a.menu_item_parent&&o.push(e)}),o.sort(function(e,t){return e.setting().position-t.setting().position}),-1===(t=_.indexOf(o,i)))throw new Error("Expected control to be among siblings.");-1===e?a.menu_item_parent&&(n=u.control("nav_menu_item["+a.menu_item_parent+"]"),_(o).chain().slice(t).each(function(e,t){e.setting.set(m.extend({},e.setting(),{menu_item_parent:i.params.menu_item_id,position:t}))}),_(i.getMenuControl().getMenuItemControls()).each(function(e){var t;e.setting().menu_item_parent===n.setting().menu_item_parent&&e.setting().position>n.setting().position&&(t=_.clone(e.setting()),e.setting.set(m.extend(t,{position:t.position+1})))}),a.position=n.setting().position+1,a.menu_item_parent=n.setting().menu_item_parent,i.setting.set(a)):1===e&&0!==t&&(a.menu_item_parent=o[t-1].params.menu_item_id,a.position=0,_(i.getMenuControl().getMenuItemControls()).each(function(e){e.setting().menu_item_parent===a.menu_item_parent&&(a.position=Math.max(a.position,e.setting().position))}),a.position+=1,i.setting.set(a))}}),u.Menus.MenuNameControl=u.Control.extend({ready:function(){var e,n=this;n.setting&&(e=n.setting(),n.nameElement=new u.Element(n.container.find(".menu-name-field")),n.nameElement.bind(function(e){var t=n.setting();t&&t.name!==e&&((t=_.clone(t)).name=e,n.setting.set(t))}),e&&n.nameElement.set(e.name),n.setting.bind(function(e){e&&n.nameElement.set(e.name)}))}}),u.Menus.MenuLocationsControl=u.Control.extend({ready:function(){var d=this;d.container.find(".assigned-menu-location").each(function(){function t(e){var t=u("nav_menu["+String(e)+"]");e&&t&&t()?n.find(".theme-location-set").show().find("span").text(c(t().name)):n.find(".theme-location-set").hide()}var n=m(this),e=n.find("input[type=checkbox]"),i=new u.Element(e),a=u("nav_menu_locations["+e.data("location-id")+"]"),o=""===d.params.menu_id,s=o?_.noop:function(e){i.set(e)},r=o?_.noop:function(e){a.set(e?d.params.menu_id:0)};s(a.get()===d.params.menu_id),e.on("change",function(){r(this.checked)}),a.bind(function(e){s(e===d.params.menu_id),t(e)}),t(a.get())})},setSelections:function(i){this.container.find(".menu-location").each(function(e,t){var n=t.dataset.locationId;t.checked=n in i&&i[n]})}}),u.Menus.MenuAutoAddControl=u.Control.extend({ready:function(){var n=this,e=n.setting();n.active.validate=function(){var e=u.section(n.section()),e=!!e&&e.active();return e},n.autoAddElement=new u.Element(n.container.find("input[type=checkbox].auto_add")),n.autoAddElement.bind(function(e){var t=n.setting();t&&t.name!==e&&((t=_.clone(t)).auto_add=e,n.setting.set(t))}),e&&n.autoAddElement.set(e.auto_add),n.setting.bind(function(e){e&&n.autoAddElement.set(e.auto_add)})}}),u.Menus.MenuControl=u.Control.extend({ready:function(){var t,n,i=this,a=u.section(i.section()),o=i.params.menu_id,e=i.setting();if(void 0===this.params.menu_id)throw new Error("params.menu_id was not defined");i.active.validate=function(){var e=!!a&&a.active();return e},i.$controlSection=a.headContainer,i.$sectionContent=i.container.closest(".accordion-section-content"),this._setupModel(),u.section(i.section(),function(e){e.deferred.initSortables.done(function(e){i._setupSortable(e)})}),this._setupAddition(),this._setupTitle(),e&&(t=c(e.name),u.control.each(function(e){e.extended(u.controlConstructor.widget_form)&&"nav_menu"===e.params.widget_id_base&&(e.container.find(".nav-menu-widget-form-controls:first").show(),e.container.find(".nav-menu-widget-no-menus-message:first").hide(),0===(n=e.container.find("select")).find("option[value="+String(o)+"]").length)&&n.append(new Option(t,o))}),(e=m("#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )")).find(".nav-menu-widget-form-controls:first").show(),e.find(".nav-menu-widget-no-menus-message:first").hide(),0===(n=e.find(".widget-inside select:first")).find("option[value="+String(o)+"]").length)&&n.append(new Option(t,o)),_.defer(function(){i.updateInvitationVisibility()})},_setupModel:function(){var n=this,i=n.params.menu_id;n.setting.bind(function(e){var t;!1===e?n._handleDeletion():(t=c(e.name),u.control.each(function(e){e.extended(u.controlConstructor.widget_form)&&"nav_menu"===e.params.widget_id_base&&e.container.find("select").find("option[value="+String(i)+"]").text(t)}))})},_setupSortable:function(e){var a=this;if(!e.is(a.$sectionContent))throw new Error("Unexpected menuList.");e.on("sortstart",function(){a.isSorting=!0}),e.on("sortstop",function(){setTimeout(function(){var e=a.$sectionContent.sortable("toArray"),t=[],n=0,i=10;a.isSorting=!1,a.$sectionContent.scrollLeft(0),_.each(e,function(e){var e=e.match(/^customize-control-nav_menu_item-(-?\d+)$/,"");e&&(e=parseInt(e[1],10),e=u.control("nav_menu_item["+String(e)+"]"))&&t.push(e)}),_.each(t,function(e){var t;!1!==e.setting()&&(t=_.clone(e.setting()),n+=1,i+=1,t.position=n,e.priority(i),t.menu_item_parent=parseInt(e.container.find(".menu-item-data-parent-id").val(),10),t.menu_item_parent||(t.menu_item_parent=0),e.setting.set(t))}),m("button.item-edit").data("needs_accessibility_refresh",!0)})}),a.isReordering=!1,this.container.find(".reorder-toggle").on("click",function(){a.toggleReordering(!a.isReordering)})},_setupAddition:function(){var t=this;this.container.find(".add-new-menu-item").on("click",function(e){t.$sectionContent.hasClass("reordering")||(m("body").hasClass("adding-menu-items")?(m(this).attr("aria-expanded","false"),u.Menus.availableMenuItemsPanel.close(),e.stopPropagation()):(m(this).attr("aria-expanded","true"),u.Menus.availableMenuItemsPanel.open(t)))})},_handleDeletion:function(){var e,n=this.params.menu_id,i=0,t=u.section(this.section()),a=function(){t.container.remove(),u.section.remove(t.id)};t&&t.expanded()?t.collapse({completeCallback:function(){a(),l.a11y.speak(u.Menus.data.l10n.menuDeleted),u.panel("nav_menus").focus()}}):a(),u.each(function(e){/^nav_menu\[/.test(e.id)&&!1!==e()&&(i+=1)}),u.control.each(function(e){var t;e.extended(u.controlConstructor.widget_form)&&"nav_menu"===e.params.widget_id_base&&((t=e.container.find("select")).val()===String(n)&&t.prop("selectedIndex",0).trigger("change"),e.container.find(".nav-menu-widget-form-controls:first").toggle(0!==i),e.container.find(".nav-menu-widget-no-menus-message:first").toggle(0===i),e.container.find("option[value="+String(n)+"]").remove())}),(e=m("#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )")).find(".nav-menu-widget-form-controls:first").toggle(0!==i),e.find(".nav-menu-widget-no-menus-message:first").toggle(0===i),e.find("option[value="+String(n)+"]").remove()},_setupTitle:function(){var d=this;d.setting.bind(function(e){var t,n,i,a,o,s,r;e&&(t=u.section(d.section()),n=d.params.menu_id,i=t.headContainer.find(".accordion-section-title"),a=t.contentContainer.find(".customize-section-title h3"),o=t.headContainer.find(".menu-in-location"),s=a.find(".customize-action"),r=c(e.name),i.text(r),o.length&&o.appendTo(i),a.text(r),s.length&&s.prependTo(a),u.control.each(function(e){/^nav_menu_locations\[/.test(e.id)&&e.container.find("option[value="+n+"]").text(r)}),t.contentContainer.find(".customize-control-checkbox input").each(function(){m(this).prop("checked")&&m(".current-menu-location-name-"+m(this).data("location-id")).text(r)}))})},toggleReordering:function(e){var t=this.container.find(".add-new-menu-item"),n=this.container.find(".reorder-toggle"),i=this.$sectionContent.find(".item-title");(e=Boolean(e))!==this.$sectionContent.hasClass("reordering")&&(this.isReordering=e,this.$sectionContent.toggleClass("reordering",e),this.$sectionContent.sortable(this.isReordering?"disable":"enable"),this.isReordering?(t.attr({tabindex:"-1","aria-hidden":"true"}),n.attr("aria-label",u.Menus.data.l10n.reorderLabelOff),l.a11y.speak(u.Menus.data.l10n.reorderModeOn),i.attr("aria-hidden","false")):(t.removeAttr("tabindex aria-hidden"),n.attr("aria-label",u.Menus.data.l10n.reorderLabelOn),l.a11y.speak(u.Menus.data.l10n.reorderModeOff),i.attr("aria-hidden","true")),e)&&_(this.getMenuItemControls()).each(function(e){e.collapseForm()})},getMenuItemControls:function(){var t=[],n=this.params.menu_id;return u.control.each(function(e){"nav_menu_item"===e.params.type&&e.setting()&&n===e.setting().nav_menu_term_id&&t.push(e)}),t},reflowMenuItems:function(){var e=this.getMenuItemControls(),a=function(n){var t=[],i=n.currentParent;_.each(n.menuItemControls,function(e){i===e.setting().menu_item_parent&&t.push(e)}),t.sort(function(e,t){return e.setting().position-t.setting().position}),_.each(t,function(t){n.currentAbsolutePosition+=1,t.priority.set(n.currentAbsolutePosition),t.container.hasClass("menu-item-depth-"+String(n.currentDepth))||(_.each(t.container.prop("className").match(/menu-item-depth-\d+/g),function(e){t.container.removeClass(e)}),t.container.addClass("menu-item-depth-"+String(n.currentDepth))),t.container.data("item-depth",n.currentDepth),n.currentDepth+=1,n.currentParent=t.params.menu_item_id,a(n),--n.currentDepth,n.currentParent=i}),t.length&&(_(t).each(function(e){e.container.removeClass("move-up-disabled move-down-disabled move-left-disabled move-right-disabled"),0===n.currentDepth?e.container.addClass("move-left-disabled"):10===n.currentDepth&&e.container.addClass("move-right-disabled")}),t[0].container.addClass("move-up-disabled").addClass("move-right-disabled").toggleClass("move-down-disabled",1===t.length),t[t.length-1].container.addClass("move-down-disabled").toggleClass("move-up-disabled",1===t.length))};a({menuItemControls:e,currentParent:0,currentDepth:0,currentAbsolutePosition:0}),this.updateInvitationVisibility(e),this.container.find(".reorder-toggle").toggle(1<e.length)},debouncedReflowMenuItems:_.debounce(function(){this.reflowMenuItems.apply(this,arguments)},0),addItemToMenu:function(e){var t,n,i,a=0,o=10,s=e.id||"";return _.each(this.getMenuItemControls(),function(e){!1!==e.setting()&&(o=Math.max(o,e.priority()),0===e.setting().menu_item_parent)&&(a=Math.max(a,e.setting().position))}),a+=1,o+=1,delete(e=m.extend({},u.Menus.data.defaultSettingValues.nav_menu_item,e,{nav_menu_term_id:this.params.menu_id,position:a})).id,i=u.Menus.generatePlaceholderAutoIncrementId(),t="nav_menu_item["+String(i)+"]",n={type:"nav_menu_item",transport:u.Menus.data.settingTransport,previewer:u.previewer},(n=u.create(t,t,{},n)).set(e),e=new u.controlConstructor.nav_menu_item(t,{type:"nav_menu_item",section:this.id,priority:o,settings:{default:t},menu_item_id:i,original_item_id:s}),u.control.add(e),n.preview(),this.debouncedReflowMenuItems(),l.a11y.speak(u.Menus.data.l10n.itemAdded),e},updateInvitationVisibility:function(e){e=e||this.getMenuItemControls();this.container.find(".new-menu-item-invitation").toggle(0===e.length)}}),m.extend(u.controlConstructor,{nav_menu_location:u.Menus.MenuLocationControl,nav_menu_item:u.Menus.MenuItemControl,nav_menu:u.Menus.MenuControl,nav_menu_name:u.Menus.MenuNameControl,nav_menu_locations:u.Menus.MenuLocationsControl,nav_menu_auto_add:u.Menus.MenuAutoAddControl}),m.extend(u.panelConstructor,{nav_menus:u.Menus.MenusPanel}),m.extend(u.sectionConstructor,{nav_menu:u.Menus.MenuSection,new_menu:u.Menus.NewMenuSection}),u.bind("ready",function(){u.Menus.availableMenuItemsPanel=new u.Menus.AvailableMenuItemsPanelView({collection:u.Menus.availableMenuItems}),u.bind("saved",function(e){(e.nav_menu_updates||e.nav_menu_item_updates)&&u.Menus.applySavedData(e)}),u.state("changesetStatus").bind(function(e){"publish"===e&&(u("nav_menus_created_posts")._value=[])}),u.previewer.bind("focus-nav-menu-item-control",u.Menus.focusMenuItemControl)}),u.Menus.applySavedData=function(e){var c={},r={};_(e.nav_menu_updates).each(function(n){var e,t,i,a,o,s,r,d;if("inserted"===n.status){if(!n.previous_term_id)throw new Error("Expected previous_term_id");if(!n.term_id)throw new Error("Expected term_id");if(e="nav_menu["+String(n.previous_term_id)+"]",!u.has(e))throw new Error("Expected setting to exist: "+e);if(i=u(e),!u.section.has(e))throw new Error("Expected control to exist: "+e);if(o=u.section(e),!(s=i.get()))throw new Error("Did not expect setting to be empty (deleted).");s=m.extend(_.clone(s),n.saved_value),c[n.previous_term_id]=n.term_id,a="nav_menu["+String(n.term_id)+"]",t=u.create(a,a,s,{type:"nav_menu",transport:u.Menus.data.settingTransport,previewer:u.previewer}),(d=o.expanded())&&o.collapse(),a=new u.Menus.MenuSection(a,{panel:"nav_menus",title:s.name,customizeAction:u.Menus.data.l10n.customizingMenus,type:"nav_menu",priority:o.priority.get(),menu_id:n.term_id}),u.section.add(a),u.control.each(function(e){var t;e.extended(u.controlConstructor.widget_form)&&"nav_menu"===e.params.widget_id_base&&(t=(e=e.container.find("select")).find("option[value="+String(n.previous_term_id)+"]"),e.find("option[value="+String(n.term_id)+"]").prop("selected",t.prop("selected")),t.remove())}),i.callbacks.disable(),i.set(!1),i.preview(),t.preview(),i._dirty=!1,o.container.remove(),u.section.remove(e),r=0,u.each(function(e){/^nav_menu\[/.test(e.id)&&!1!==e()&&(r+=1)}),(s=m("#available-widgets-list .widget-tpl:has( input.id_base[ value=nav_menu ] )")).find(".nav-menu-widget-form-controls:first").toggle(0!==r),s.find(".nav-menu-widget-no-menus-message:first").toggle(0===r),s.find("option[value="+String(n.previous_term_id)+"]").remove(),l.customize.control.each(function(e){/^nav_menu_locations\[/.test(e.id)&&e.container.find("option[value="+String(n.previous_term_id)+"]").remove()}),u.each(function(e){var t=u.state("saved").get();/^nav_menu_locations\[/.test(e.id)&&e.get()===n.previous_term_id&&(e.set(n.term_id),e._dirty=!1,u.state("saved").set(t),e.preview())}),d&&a.expand()}else if("updated"===n.status){if(t="nav_menu["+String(n.term_id)+"]",!u.has(t))throw new Error("Expected setting to exist: "+t);i=u(t),_.isEqual(n.saved_value,i.get())||(o=u.state("saved").get(),i.set(n.saved_value),i._dirty=!1,u.state("saved").set(o))}}),_(e.nav_menu_item_updates).each(function(e){e.previous_post_id&&(r[e.previous_post_id]=e.post_id)}),_(e.nav_menu_item_updates).each(function(e){var t,n,i,a,o,s;if("inserted"===e.status){if(!e.previous_post_id)throw new Error("Expected previous_post_id");if(!e.post_id)throw new Error("Expected post_id");if(t="nav_menu_item["+String(e.previous_post_id)+"]",!u.has(t))throw new Error("Expected setting to exist: "+t);if(i=u(t),!u.control.has(t))throw new Error("Expected control to exist: "+t);if(o=u.control(t),!(s=i.get()))throw new Error("Did not expect setting to be empty (deleted).");if((s=_.clone(s)).menu_item_parent<0){if(!r[s.menu_item_parent])throw new Error("inserted ID for menu_item_parent not available");s.menu_item_parent=r[s.menu_item_parent]}c[s.nav_menu_term_id]&&(s.nav_menu_term_id=c[s.nav_menu_term_id]),n="nav_menu_item["+String(e.post_id)+"]",a=u.create(n,n,s,{type:"nav_menu_item",transport:u.Menus.data.settingTransport,previewer:u.previewer}),s=new u.controlConstructor.nav_menu_item(n,{type:"nav_menu_item",menu_id:e.post_id,section:"nav_menu["+String(s.nav_menu_term_id)+"]",priority:o.priority.get(),settings:{default:n},menu_item_id:e.post_id}),o.container.remove(),u.control.remove(t),u.control.add(s),i.callbacks.disable(),i.set(!1),i.preview(),a.preview(),i._dirty=!1,s.container.toggleClass("menu-item-edit-inactive",o.container.hasClass("menu-item-edit-inactive"))}}),_.each(e.widget_nav_menu_updates,function(e,t){t=u(t);t&&(t._value=e,t.preview())})},u.Menus.focusMenuItemControl=function(e){e=u.Menus.getMenuItemControl(e);e&&e.focus()},u.Menus.getMenuControl=function(e){return u.control("nav_menu["+e+"]")},u.Menus.getMenuItemControl=function(e){return u.control("nav_menu_item["+e+"]")}}(wp.customize,wp,jQuery); media-gallery.min.js 0000644 00000001143 15174671433 0010412 0 ustar 00 /*! This file is auto-generated */ jQuery(function(o){o("body").on("click.wp-gallery",function(a){var e,t,n=o(a.target);n.hasClass("wp-set-header")?((window.dialogArguments||opener||parent||top).location.href=n.data("location"),a.preventDefault()):n.hasClass("wp-set-background")&&(n=n.data("attachment-id"),e=o('input[name="attachments['+n+'][image-size]"]:checked').val(),t=o("#_wpnonce").val()&&"",jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:n,_ajax_nonce:t,size:e},function(){var a=window.dialogArguments||opener||parent||top;a.tb_remove(),a.location.reload()}),a.preventDefault())})}); customize-controls.js 0000644 00001100647 15174671433 0011011 0 ustar 00 /** * @output wp-admin/js/customize-controls.js */ /* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer, console, confirm */ (function( exports, $ ){ var Container, focus, normalizedTransitionendEventName, api = wp.customize; var reducedMotionMediaQuery = window.matchMedia( '(prefers-reduced-motion: reduce)' ); var isReducedMotion = reducedMotionMediaQuery.matches; reducedMotionMediaQuery.addEventListener( 'change' , function handleReducedMotionChange( event ) { isReducedMotion = event.matches; }); api.OverlayNotification = api.Notification.extend(/** @lends wp.customize.OverlayNotification.prototype */{ /** * Whether the notification should show a loading spinner. * * @since 4.9.0 * @var {boolean} */ loading: false, /** * A notification that is displayed in a full-screen overlay. * * @constructs wp.customize.OverlayNotification * @augments wp.customize.Notification * * @since 4.9.0 * * @param {string} code - Code. * @param {Object} params - Params. */ initialize: function( code, params ) { var notification = this; api.Notification.prototype.initialize.call( notification, code, params ); notification.containerClasses += ' notification-overlay'; if ( notification.loading ) { notification.containerClasses += ' notification-loading'; } }, /** * Render notification. * * @since 4.9.0 * * @return {jQuery} Notification container. */ render: function() { var li = api.Notification.prototype.render.call( this ); li.on( 'keydown', _.bind( this.handleEscape, this ) ); return li; }, /** * Stop propagation on escape key presses, but also dismiss notification if it is dismissible. * * @since 4.9.0 * * @param {jQuery.Event} event - Event. * @return {void} */ handleEscape: function( event ) { var notification = this; if ( 27 === event.which ) { event.stopPropagation(); if ( notification.dismissible && notification.parent ) { notification.parent.remove( notification.code ); } } } }); api.Notifications = api.Values.extend(/** @lends wp.customize.Notifications.prototype */{ /** * Whether the alternative style should be used. * * @since 4.9.0 * @type {boolean} */ alt: false, /** * The default constructor for items of the collection. * * @since 4.9.0 * @type {object} */ defaultConstructor: api.Notification, /** * A collection of observable notifications. * * @since 4.9.0 * * @constructs wp.customize.Notifications * @augments wp.customize.Values * * @param {Object} options - Options. * @param {jQuery} [options.container] - Container element for notifications. This can be injected later. * @param {boolean} [options.alt] - Whether alternative style should be used when rendering notifications. * * @return {void} */ initialize: function( options ) { var collection = this; api.Values.prototype.initialize.call( collection, options ); _.bindAll( collection, 'constrainFocus' ); // Keep track of the order in which the notifications were added for sorting purposes. collection._addedIncrement = 0; collection._addedOrder = {}; // Trigger change event when notification is added or removed. collection.bind( 'add', function( notification ) { collection.trigger( 'change', notification ); }); collection.bind( 'removed', function( notification ) { collection.trigger( 'change', notification ); }); }, /** * Get the number of notifications added. * * @since 4.9.0 * @return {number} Count of notifications. */ count: function() { return _.size( this._value ); }, /** * Add notification to the collection. * * @since 4.9.0 * * @param {string|wp.customize.Notification} notification - Notification object to add. Alternatively code may be supplied, and in that case the second notificationObject argument must be supplied. * @param {wp.customize.Notification} [notificationObject] - Notification to add when first argument is the code string. * @return {wp.customize.Notification} Added notification (or existing instance if it was already added). */ add: function( notification, notificationObject ) { var collection = this, code, instance; if ( 'string' === typeof notification ) { code = notification; instance = notificationObject; } else { code = notification.code; instance = notification; } if ( ! collection.has( code ) ) { collection._addedIncrement += 1; collection._addedOrder[ code ] = collection._addedIncrement; } return api.Values.prototype.add.call( collection, code, instance ); }, /** * Add notification to the collection. * * @since 4.9.0 * @param {string} code - Notification code to remove. * @return {api.Notification} Added instance (or existing instance if it was already added). */ remove: function( code ) { var collection = this; delete collection._addedOrder[ code ]; return api.Values.prototype.remove.call( this, code ); }, /** * Get list of notifications. * * Notifications may be sorted by type followed by added time. * * @since 4.9.0 * @param {Object} args - Args. * @param {boolean} [args.sort=false] - Whether to return the notifications sorted. * @return {Array.<wp.customize.Notification>} Notifications. */ get: function( args ) { var collection = this, notifications, errorTypePriorities, params; notifications = _.values( collection._value ); params = _.extend( { sort: false }, args ); if ( params.sort ) { errorTypePriorities = { error: 4, warning: 3, success: 2, info: 1 }; notifications.sort( function( a, b ) { var aPriority = 0, bPriority = 0; if ( ! _.isUndefined( errorTypePriorities[ a.type ] ) ) { aPriority = errorTypePriorities[ a.type ]; } if ( ! _.isUndefined( errorTypePriorities[ b.type ] ) ) { bPriority = errorTypePriorities[ b.type ]; } if ( aPriority !== bPriority ) { return bPriority - aPriority; // Show errors first. } return collection._addedOrder[ b.code ] - collection._addedOrder[ a.code ]; // Show newer notifications higher. }); } return notifications; }, /** * Render notifications area. * * @since 4.9.0 * @return {void} */ render: function() { var collection = this, notifications, hadOverlayNotification = false, hasOverlayNotification, overlayNotifications = [], previousNotificationsByCode = {}, listElement, focusableElements; // Short-circuit if there are no container to render into. if ( ! collection.container || ! collection.container.length ) { return; } notifications = collection.get( { sort: true } ); collection.container.toggle( 0 !== notifications.length ); // Short-circuit if there are no changes to the notifications. if ( collection.container.is( collection.previousContainer ) && _.isEqual( notifications, collection.previousNotifications ) ) { return; } // Make sure list is part of the container. listElement = collection.container.children( 'ul' ).first(); if ( ! listElement.length ) { listElement = $( '<ul></ul>' ); collection.container.append( listElement ); } // Remove all notifications prior to re-rendering. listElement.find( '> [data-code]' ).remove(); _.each( collection.previousNotifications, function( notification ) { previousNotificationsByCode[ notification.code ] = notification; }); // Add all notifications in the sorted order. _.each( notifications, function( notification ) { var notificationContainer; if ( wp.a11y && ( ! previousNotificationsByCode[ notification.code ] || ! _.isEqual( notification.message, previousNotificationsByCode[ notification.code ].message ) ) ) { wp.a11y.speak( notification.message, 'assertive' ); } notificationContainer = $( notification.render() ); notification.container = notificationContainer; listElement.append( notificationContainer ); // @todo Consider slideDown() as enhancement. if ( notification.extended( api.OverlayNotification ) ) { overlayNotifications.push( notification ); } }); hasOverlayNotification = Boolean( overlayNotifications.length ); if ( collection.previousNotifications ) { hadOverlayNotification = Boolean( _.find( collection.previousNotifications, function( notification ) { return notification.extended( api.OverlayNotification ); } ) ); } if ( hasOverlayNotification !== hadOverlayNotification ) { $( document.body ).toggleClass( 'customize-loading', hasOverlayNotification ); collection.container.toggleClass( 'has-overlay-notifications', hasOverlayNotification ); if ( hasOverlayNotification ) { collection.previousActiveElement = document.activeElement; $( document ).on( 'keydown', collection.constrainFocus ); } else { $( document ).off( 'keydown', collection.constrainFocus ); } } if ( hasOverlayNotification ) { collection.focusContainer = overlayNotifications[ overlayNotifications.length - 1 ].container; collection.focusContainer.prop( 'tabIndex', -1 ); focusableElements = collection.focusContainer.find( ':focusable' ); if ( focusableElements.length ) { focusableElements.first().focus(); } else { collection.focusContainer.focus(); } } else if ( collection.previousActiveElement ) { $( collection.previousActiveElement ).trigger( 'focus' ); collection.previousActiveElement = null; } collection.previousNotifications = notifications; collection.previousContainer = collection.container; collection.trigger( 'rendered' ); }, /** * Constrain focus on focus container. * * @since 4.9.0 * * @param {jQuery.Event} event - Event. * @return {void} */ constrainFocus: function constrainFocus( event ) { var collection = this, focusableElements; // Prevent keys from escaping. event.stopPropagation(); if ( 9 !== event.which ) { // Tab key. return; } focusableElements = collection.focusContainer.find( ':focusable' ); if ( 0 === focusableElements.length ) { focusableElements = collection.focusContainer; } if ( ! $.contains( collection.focusContainer[0], event.target ) || ! $.contains( collection.focusContainer[0], document.activeElement ) ) { event.preventDefault(); focusableElements.first().focus(); } else if ( focusableElements.last().is( event.target ) && ! event.shiftKey ) { event.preventDefault(); focusableElements.first().focus(); } else if ( focusableElements.first().is( event.target ) && event.shiftKey ) { event.preventDefault(); focusableElements.last().focus(); } } }); api.Setting = api.Value.extend(/** @lends wp.customize.Setting.prototype */{ /** * Default params. * * @since 4.9.0 * @var {object} */ defaults: { transport: 'refresh', dirty: false }, /** * A Customizer Setting. * * A setting is WordPress data (theme mod, option, menu, etc.) that the user can * draft changes to in the Customizer. * * @see PHP class WP_Customize_Setting. * * @constructs wp.customize.Setting * @augments wp.customize.Value * * @since 3.4.0 * * @param {string} id - The setting ID. * @param {*} value - The initial value of the setting. * @param {Object} [options={}] - Options. * @param {string} [options.transport=refresh] - The transport to use for previewing. Supports 'refresh' and 'postMessage'. * @param {boolean} [options.dirty=false] - Whether the setting should be considered initially dirty. * @param {Object} [options.previewer] - The Previewer instance to sync with. Defaults to wp.customize.previewer. */ initialize: function( id, value, options ) { var setting = this, params; params = _.extend( { previewer: api.previewer }, setting.defaults, options || {} ); api.Value.prototype.initialize.call( setting, value, params ); setting.id = id; setting._dirty = params.dirty; // The _dirty property is what the Customizer reads from. setting.notifications = new api.Notifications(); // Whenever the setting's value changes, refresh the preview. setting.bind( setting.preview ); }, /** * Refresh the preview, respective of the setting's refresh policy. * * If the preview hasn't sent a keep-alive message and is likely * disconnected by having navigated to a non-allowed URL, then the * refresh transport will be forced when postMessage is the transport. * Note that postMessage does not throw an error when the recipient window * fails to match the origin window, so using try/catch around the * previewer.send() call to then fallback to refresh will not work. * * @since 3.4.0 * @access public * * @return {void} */ preview: function() { var setting = this, transport; transport = setting.transport; if ( 'postMessage' === transport && ! api.state( 'previewerAlive' ).get() ) { transport = 'refresh'; } if ( 'postMessage' === transport ) { setting.previewer.send( 'setting', [ setting.id, setting() ] ); } else if ( 'refresh' === transport ) { setting.previewer.refresh(); } }, /** * Find controls associated with this setting. * * @since 4.6.0 * @return {wp.customize.Control[]} Controls associated with setting. */ findControls: function() { var setting = this, controls = []; api.control.each( function( control ) { _.each( control.settings, function( controlSetting ) { if ( controlSetting.id === setting.id ) { controls.push( control ); } } ); } ); return controls; } }); /** * Current change count. * * @alias wp.customize._latestRevision * * @since 4.7.0 * @type {number} * @protected */ api._latestRevision = 0; /** * Last revision that was saved. * * @alias wp.customize._lastSavedRevision * * @since 4.7.0 * @type {number} * @protected */ api._lastSavedRevision = 0; /** * Latest revisions associated with the updated setting. * * @alias wp.customize._latestSettingRevisions * * @since 4.7.0 * @type {object} * @protected */ api._latestSettingRevisions = {}; /* * Keep track of the revision associated with each updated setting so that * requestChangesetUpdate knows which dirty settings to include. Also, once * ready is triggered and all initial settings have been added, increment * revision for each newly-created initially-dirty setting so that it will * also be included in changeset update requests. */ api.bind( 'change', function incrementChangedSettingRevision( setting ) { api._latestRevision += 1; api._latestSettingRevisions[ setting.id ] = api._latestRevision; } ); api.bind( 'ready', function() { api.bind( 'add', function incrementCreatedSettingRevision( setting ) { if ( setting._dirty ) { api._latestRevision += 1; api._latestSettingRevisions[ setting.id ] = api._latestRevision; } } ); } ); /** * Get the dirty setting values. * * @alias wp.customize.dirtyValues * * @since 4.7.0 * @access public * * @param {Object} [options] Options. * @param {boolean} [options.unsaved=false] Whether only values not saved yet into a changeset will be returned (differential changes). * @return {Object} Dirty setting values. */ api.dirtyValues = function dirtyValues( options ) { var values = {}; api.each( function( setting ) { var settingRevision; if ( ! setting._dirty ) { return; } settingRevision = api._latestSettingRevisions[ setting.id ]; // Skip including settings that have already been included in the changeset, if only requesting unsaved. if ( api.state( 'changesetStatus' ).get() && ( options && options.unsaved ) && ( _.isUndefined( settingRevision ) || settingRevision <= api._lastSavedRevision ) ) { return; } values[ setting.id ] = setting.get(); } ); return values; }; /** * Request updates to the changeset. * * @alias wp.customize.requestChangesetUpdate * * @since 4.7.0 * @access public * * @param {Object} [changes] - Mapping of setting IDs to setting params each normally including a value property, or mapping to null. * If not provided, then the changes will still be obtained from unsaved dirty settings. * @param {Object} [args] - Additional options for the save request. * @param {boolean} [args.autosave=false] - Whether changes will be stored in autosave revision if the changeset has been promoted from an auto-draft. * @param {boolean} [args.force=false] - Send request to update even when there are no changes to submit. This can be used to request the latest status of the changeset on the server. * @param {string} [args.title] - Title to update in the changeset. Optional. * @param {string} [args.date] - Date to update in the changeset. Optional. * @return {jQuery.Promise} Promise resolving with the response data. */ api.requestChangesetUpdate = function requestChangesetUpdate( changes, args ) { var deferred, request, submittedChanges = {}, data, submittedArgs; deferred = new $.Deferred(); // Prevent attempting changeset update while request is being made. if ( 0 !== api.state( 'processing' ).get() ) { deferred.reject( 'already_processing' ); return deferred.promise(); } submittedArgs = _.extend( { title: null, date: null, autosave: false, force: false }, args ); if ( changes ) { _.extend( submittedChanges, changes ); } // Ensure all revised settings (changes pending save) are also included, but not if marked for deletion in changes. _.each( api.dirtyValues( { unsaved: true } ), function( dirtyValue, settingId ) { if ( ! changes || null !== changes[ settingId ] ) { submittedChanges[ settingId ] = _.extend( {}, submittedChanges[ settingId ] || {}, { value: dirtyValue } ); } } ); // Allow plugins to attach additional params to the settings. api.trigger( 'changeset-save', submittedChanges, submittedArgs ); // Short-circuit when there are no pending changes. if ( ! submittedArgs.force && _.isEmpty( submittedChanges ) && null === submittedArgs.title && null === submittedArgs.date ) { deferred.resolve( {} ); return deferred.promise(); } // A status would cause a revision to be made, and for this wp.customize.previewer.save() should be used. // Status is also disallowed for revisions regardless. if ( submittedArgs.status ) { return deferred.reject( { code: 'illegal_status_in_changeset_update' } ).promise(); } // Dates not beung allowed for revisions are is a technical limitation of post revisions. if ( submittedArgs.date && submittedArgs.autosave ) { return deferred.reject( { code: 'illegal_autosave_with_date_gmt' } ).promise(); } // Make sure that publishing a changeset waits for all changeset update requests to complete. api.state( 'processing' ).set( api.state( 'processing' ).get() + 1 ); deferred.always( function() { api.state( 'processing' ).set( api.state( 'processing' ).get() - 1 ); } ); // Ensure that if any plugins add data to save requests by extending query() that they get included here. data = api.previewer.query( { excludeCustomizedSaved: true } ); delete data.customized; // Being sent in customize_changeset_data instead. _.extend( data, { nonce: api.settings.nonce.save, customize_theme: api.settings.theme.stylesheet, customize_changeset_data: JSON.stringify( submittedChanges ) } ); if ( null !== submittedArgs.title ) { data.customize_changeset_title = submittedArgs.title; } if ( null !== submittedArgs.date ) { data.customize_changeset_date = submittedArgs.date; } if ( false !== submittedArgs.autosave ) { data.customize_changeset_autosave = 'true'; } // Allow plugins to modify the params included with the save request. api.trigger( 'save-request-params', data ); request = wp.ajax.post( 'customize_save', data ); request.done( function requestChangesetUpdateDone( data ) { var savedChangesetValues = {}; // Ensure that all settings updated subsequently will be included in the next changeset update request. api._lastSavedRevision = Math.max( api._latestRevision, api._lastSavedRevision ); api.state( 'changesetStatus' ).set( data.changeset_status ); if ( data.changeset_date ) { api.state( 'changesetDate' ).set( data.changeset_date ); } deferred.resolve( data ); api.trigger( 'changeset-saved', data ); if ( data.setting_validities ) { _.each( data.setting_validities, function( validity, settingId ) { if ( true === validity && _.isObject( submittedChanges[ settingId ] ) && ! _.isUndefined( submittedChanges[ settingId ].value ) ) { savedChangesetValues[ settingId ] = submittedChanges[ settingId ].value; } } ); } api.previewer.send( 'changeset-saved', _.extend( {}, data, { saved_changeset_values: savedChangesetValues } ) ); } ); request.fail( function requestChangesetUpdateFail( data ) { deferred.reject( data ); api.trigger( 'changeset-error', data ); } ); request.always( function( data ) { if ( data.setting_validities ) { api._handleSettingValidities( { settingValidities: data.setting_validities } ); } } ); return deferred.promise(); }; /** * Watch all changes to Value properties, and bubble changes to parent Values instance * * @alias wp.customize.utils.bubbleChildValueChanges * * @since 4.1.0 * * @param {wp.customize.Class} instance * @param {Array} properties The names of the Value instances to watch. */ api.utils.bubbleChildValueChanges = function ( instance, properties ) { $.each( properties, function ( i, key ) { instance[ key ].bind( function ( to, from ) { if ( instance.parent && to !== from ) { instance.parent.trigger( 'change', instance ); } } ); } ); }; /** * Expand a panel, section, or control and focus on the first focusable element. * * @alias wp.customize~focus * * @since 4.1.0 * * @param {Object} [params] * @param {Function} [params.completeCallback] */ focus = function ( params ) { var construct, completeCallback, focus, focusElement, sections; construct = this; params = params || {}; focus = function () { // If a child section is currently expanded, collapse it. if ( construct.extended( api.Panel ) ) { sections = construct.sections(); if ( 1 < sections.length ) { sections.forEach( function ( section ) { if ( section.expanded() ) { section.collapse(); } } ); } } var focusContainer; if ( ( construct.extended( api.Panel ) || construct.extended( api.Section ) ) && construct.expanded && construct.expanded() ) { focusContainer = construct.contentContainer; } else { focusContainer = construct.container; } focusElement = focusContainer.find( '.control-focus:first' ); if ( 0 === focusElement.length ) { // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 focusElement = focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first(); } focusElement.focus(); }; if ( params.completeCallback ) { completeCallback = params.completeCallback; params.completeCallback = function () { focus(); completeCallback(); }; } else { params.completeCallback = focus; } api.state( 'paneVisible' ).set( true ); if ( construct.expand ) { construct.expand( params ); } else { params.completeCallback(); } }; /** * Stable sort for Panels, Sections, and Controls. * * If a.priority() === b.priority(), then sort by their respective params.instanceNumber. * * @alias wp.customize.utils.prioritySort * * @since 4.1.0 * * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} a * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} b * @return {number} */ api.utils.prioritySort = function ( a, b ) { if ( a.priority() === b.priority() && typeof a.params.instanceNumber === 'number' && typeof b.params.instanceNumber === 'number' ) { return a.params.instanceNumber - b.params.instanceNumber; } else { return a.priority() - b.priority(); } }; /** * Return whether the supplied Event object is for a keydown event but not the Enter key. * * @alias wp.customize.utils.isKeydownButNotEnterEvent * * @since 4.1.0 * * @param {jQuery.Event} event * @return {boolean} */ api.utils.isKeydownButNotEnterEvent = function ( event ) { return ( 'keydown' === event.type && 13 !== event.which ); }; /** * Return whether the two lists of elements are the same and are in the same order. * * @alias wp.customize.utils.areElementListsEqual * * @since 4.1.0 * * @param {Array|jQuery} listA * @param {Array|jQuery} listB * @return {boolean} */ api.utils.areElementListsEqual = function ( listA, listB ) { var equal = ( listA.length === listB.length && // If lists are different lengths, then naturally they are not equal. -1 === _.indexOf( _.map( // Are there any false values in the list returned by map? _.zip( listA, listB ), // Pair up each element between the two lists. function ( pair ) { return $( pair[0] ).is( pair[1] ); // Compare to see if each pair is equal. } ), false ) // Check for presence of false in map's return value. ); return equal; }; /** * Highlight the existence of a button. * * This function reminds the user of a button represented by the specified * UI element, after an optional delay. If the user focuses the element * before the delay passes, the reminder is canceled. * * @alias wp.customize.utils.highlightButton * * @since 4.9.0 * * @param {jQuery} button - The element to highlight. * @param {Object} [options] - Options. * @param {number} [options.delay=0] - Delay in milliseconds. * @param {jQuery} [options.focusTarget] - A target for user focus that defaults to the highlighted element. * If the user focuses the target before the delay passes, the reminder * is canceled. This option exists to accommodate compound buttons * containing auxiliary UI, such as the Publish button augmented with a * Settings button. * @return {Function} An idempotent function that cancels the reminder. */ api.utils.highlightButton = function highlightButton( button, options ) { var animationClass = 'button-see-me', canceled = false, params; params = _.extend( { delay: 0, focusTarget: button }, options ); function cancelReminder() { canceled = true; } params.focusTarget.on( 'focusin', cancelReminder ); setTimeout( function() { params.focusTarget.off( 'focusin', cancelReminder ); if ( ! canceled ) { button.addClass( animationClass ); button.one( 'animationend', function() { /* * Remove animation class to avoid situations in Customizer where * DOM nodes are moved (re-inserted) and the animation repeats. */ button.removeClass( animationClass ); } ); } }, params.delay ); return cancelReminder; }; /** * Get current timestamp adjusted for server clock time. * * Same functionality as the `current_time( 'mysql', false )` function in PHP. * * @alias wp.customize.utils.getCurrentTimestamp * * @since 4.9.0 * * @return {number} Current timestamp. */ api.utils.getCurrentTimestamp = function getCurrentTimestamp() { var currentDate, currentClientTimestamp, timestampDifferential; currentClientTimestamp = _.now(); currentDate = new Date( api.settings.initialServerDate.replace( /-/g, '/' ) ); timestampDifferential = currentClientTimestamp - api.settings.initialClientTimestamp; timestampDifferential += api.settings.initialClientTimestamp - api.settings.initialServerTimestamp; currentDate.setTime( currentDate.getTime() + timestampDifferential ); return currentDate.getTime(); }; /** * Get remaining time of when the date is set. * * @alias wp.customize.utils.getRemainingTime * * @since 4.9.0 * * @param {string|number|Date} datetime - Date time or timestamp of the future date. * @return {number} remainingTime - Remaining time in milliseconds. */ api.utils.getRemainingTime = function getRemainingTime( datetime ) { var millisecondsDivider = 1000, remainingTime, timestamp; if ( datetime instanceof Date ) { timestamp = datetime.getTime(); } else if ( 'string' === typeof datetime ) { timestamp = ( new Date( datetime.replace( /-/g, '/' ) ) ).getTime(); } else { timestamp = datetime; } remainingTime = timestamp - api.utils.getCurrentTimestamp(); remainingTime = Math.ceil( remainingTime / millisecondsDivider ); return remainingTime; }; /** * Return browser supported `transitionend` event name. * * @since 4.7.0 * * @ignore * * @return {string|null} Normalized `transitionend` event name or null if CSS transitions are not supported. */ normalizedTransitionendEventName = (function () { var el, transitions, prop; el = document.createElement( 'div' ); transitions = { 'transition' : 'transitionend', 'OTransition' : 'oTransitionEnd', 'MozTransition' : 'transitionend', 'WebkitTransition': 'webkitTransitionEnd' }; prop = _.find( _.keys( transitions ), function( prop ) { return ! _.isUndefined( el.style[ prop ] ); } ); if ( prop ) { return transitions[ prop ]; } else { return null; } })(); Container = api.Class.extend(/** @lends wp.customize~Container.prototype */{ defaultActiveArguments: { duration: 'fast', completeCallback: $.noop }, defaultExpandedArguments: { duration: 'fast', completeCallback: $.noop }, containerType: 'container', defaults: { title: '', description: '', priority: 100, type: 'default', content: null, active: true, instanceNumber: null }, /** * Base class for Panel and Section. * * @constructs wp.customize~Container * @augments wp.customize.Class * * @since 4.1.0 * * @borrows wp.customize~focus as focus * * @param {string} id - The ID for the container. * @param {Object} options - Object containing one property: params. * @param {string} options.title - Title shown when panel is collapsed and expanded. * @param {string} [options.description] - Description shown at the top of the panel. * @param {number} [options.priority=100] - The sort priority for the panel. * @param {string} [options.templateId] - Template selector for container. * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. * @param {boolean} [options.active=true] - Whether the panel is active or not. * @param {Object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var container = this; container.id = id; if ( ! Container.instanceCounter ) { Container.instanceCounter = 0; } Container.instanceCounter++; $.extend( container, { params: _.defaults( options.params || options, // Passing the params is deprecated. container.defaults ) } ); if ( ! container.params.instanceNumber ) { container.params.instanceNumber = Container.instanceCounter; } container.notifications = new api.Notifications(); container.templateSelector = container.params.templateId || 'customize-' + container.containerType + '-' + container.params.type; container.container = $( container.params.content ); if ( 0 === container.container.length ) { container.container = $( container.getContainer() ); } container.headContainer = container.container; container.contentContainer = container.getContent(); container.container = container.container.add( container.contentContainer ); container.deferred = { embedded: new $.Deferred() }; container.priority = new api.Value(); container.active = new api.Value(); container.activeArgumentsQueue = []; container.expanded = new api.Value(); container.expandedArgumentsQueue = []; container.active.bind( function ( active ) { var args = container.activeArgumentsQueue.shift(); args = $.extend( {}, container.defaultActiveArguments, args ); active = ( active && container.isContextuallyActive() ); container.onChangeActive( active, args ); }); container.expanded.bind( function ( expanded ) { var args = container.expandedArgumentsQueue.shift(); args = $.extend( {}, container.defaultExpandedArguments, args ); container.onChangeExpanded( expanded, args ); }); container.deferred.embedded.done( function () { container.setupNotifications(); container.attachEvents(); }); api.utils.bubbleChildValueChanges( container, [ 'priority', 'active' ] ); container.priority.set( container.params.priority ); container.active.set( container.params.active ); container.expanded.set( false ); }, /** * Get the element that will contain the notifications. * * @since 4.9.0 * @return {jQuery} Notification container element. */ getNotificationsContainerElement: function() { var container = this; return container.contentContainer.find( '.customize-control-notifications-container:first' ); }, /** * Set up notifications. * * @since 4.9.0 * @return {void} */ setupNotifications: function() { var container = this, renderNotifications; container.notifications.container = container.getNotificationsContainerElement(); // Render notifications when they change and when the construct is expanded. renderNotifications = function() { if ( container.expanded.get() ) { container.notifications.render(); } }; container.expanded.bind( renderNotifications ); renderNotifications(); container.notifications.bind( 'change', _.debounce( renderNotifications ) ); }, /** * @since 4.1.0 * * @abstract */ ready: function() {}, /** * Get the child models associated with this parent, sorting them by their priority Value. * * @since 4.1.0 * * @param {string} parentType * @param {string} childType * @return {Array} */ _children: function ( parentType, childType ) { var parent = this, children = []; api[ childType ].each( function ( child ) { if ( child[ parentType ].get() === parent.id ) { children.push( child ); } } ); children.sort( api.utils.prioritySort ); return children; }, /** * To override by subclass, to return whether the container has active children. * * @since 4.1.0 * * @abstract */ isContextuallyActive: function () { throw new Error( 'Container.isContextuallyActive() must be overridden in a subclass.' ); }, /** * Active state change handler. * * Shows the container if it is active, hides it if not. * * To override by subclass, update the container's UI to reflect the provided active state. * * @since 4.1.0 * * @param {boolean} active - The active state to transiution to. * @param {Object} [args] - Args. * @param {Object} [args.duration] - The duration for the slideUp/slideDown animation. * @param {boolean} [args.unchanged] - Whether the state is already known to not be changed, and so short-circuit with calling completeCallback early. * @param {Function} [args.completeCallback] - Function to call when the slideUp/slideDown has completed. */ onChangeActive: function( active, args ) { var construct = this, headContainer = construct.headContainer, duration, expandedOtherPanel; if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); } return; } duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); if ( construct.extended( api.Panel ) ) { // If this is a panel is not currently expanded but another panel is expanded, do not animate. api.panel.each(function ( panel ) { if ( panel !== construct && panel.expanded() ) { expandedOtherPanel = panel; duration = 0; } }); // Collapse any expanded sections inside of this panel first before deactivating. if ( ! active ) { _.each( construct.sections(), function( section ) { section.collapse( { duration: 0 } ); } ); } } if ( ! $.contains( document, headContainer.get( 0 ) ) ) { // If the element is not in the DOM, then jQuery.fn.slideUp() does nothing. // In this case, a hard toggle is required instead. headContainer.toggle( active ); if ( args.completeCallback ) { args.completeCallback(); } } else if ( active ) { headContainer.slideDown( duration, args.completeCallback ); } else { if ( construct.expanded() ) { construct.collapse({ duration: duration, completeCallback: function() { headContainer.slideUp( duration, args.completeCallback ); } }); } else { headContainer.slideUp( duration, args.completeCallback ); } } }, /** * @since 4.1.0 * * @param {boolean} active * @param {Object} [params] * @return {boolean} False if state already applied. */ _toggleActive: function ( active, params ) { var self = this; params = params || {}; if ( ( active && this.active.get() ) || ( ! active && ! this.active.get() ) ) { params.unchanged = true; self.onChangeActive( self.active.get(), params ); return false; } else { params.unchanged = false; this.activeArgumentsQueue.push( params ); this.active.set( active ); return true; } }, /** * @param {Object} [params] * @return {boolean} False if already active. */ activate: function ( params ) { return this._toggleActive( true, params ); }, /** * @param {Object} [params] * @return {boolean} False if already inactive. */ deactivate: function ( params ) { return this._toggleActive( false, params ); }, /** * To override by subclass, update the container's UI to reflect the provided active state. * @abstract */ onChangeExpanded: function () { throw new Error( 'Must override with subclass.' ); }, /** * Handle the toggle logic for expand/collapse. * * @param {boolean} expanded - The new state to apply. * @param {Object} [params] - Object containing options for expand/collapse. * @param {Function} [params.completeCallback] - Function to call when expansion/collapse is complete. * @return {boolean} False if state already applied or active state is false. */ _toggleExpanded: function( expanded, params ) { var instance = this, previousCompleteCallback; params = params || {}; previousCompleteCallback = params.completeCallback; // Short-circuit expand() if the instance is not active. if ( expanded && ! instance.active() ) { return false; } api.state( 'paneVisible' ).set( true ); params.completeCallback = function() { if ( previousCompleteCallback ) { previousCompleteCallback.apply( instance, arguments ); } if ( expanded ) { instance.container.trigger( 'expanded' ); } else { instance.container.trigger( 'collapsed' ); } }; if ( ( expanded && instance.expanded.get() ) || ( ! expanded && ! instance.expanded.get() ) ) { params.unchanged = true; instance.onChangeExpanded( instance.expanded.get(), params ); return false; } else { params.unchanged = false; instance.expandedArgumentsQueue.push( params ); instance.expanded.set( expanded ); return true; } }, /** * @param {Object} [params] * @return {boolean} False if already expanded or if inactive. */ expand: function ( params ) { return this._toggleExpanded( true, params ); }, /** * @param {Object} [params] * @return {boolean} False if already collapsed. */ collapse: function ( params ) { return this._toggleExpanded( false, params ); }, /** * Animate container state change if transitions are supported by the browser. * * @since 4.7.0 * @private * * @param {function} completeCallback Function to be called after transition is completed. * @return {void} */ _animateChangeExpanded: function( completeCallback ) { // Return if CSS transitions are not supported or if reduced motion is enabled. if ( ! normalizedTransitionendEventName || isReducedMotion ) { // Schedule the callback until the next tick to prevent focus loss. _.defer( function () { if ( completeCallback ) { completeCallback(); } } ); return; } var construct = this, content = construct.contentContainer, overlay = content.closest( '.wp-full-overlay' ), elements, transitionEndCallback, transitionParentPane; // Determine set of elements that are affected by the animation. elements = overlay.add( content ); if ( ! construct.panel || '' === construct.panel() ) { transitionParentPane = true; } else if ( api.panel( construct.panel() ).contentContainer.hasClass( 'skip-transition' ) ) { transitionParentPane = true; } else { transitionParentPane = false; } if ( transitionParentPane ) { elements = elements.add( '#customize-info, .customize-pane-parent' ); } // Handle `transitionEnd` event. transitionEndCallback = function( e ) { if ( 2 !== e.eventPhase || ! $( e.target ).is( content ) ) { return; } content.off( normalizedTransitionendEventName, transitionEndCallback ); elements.removeClass( 'busy' ); if ( completeCallback ) { completeCallback(); } }; content.on( normalizedTransitionendEventName, transitionEndCallback ); elements.addClass( 'busy' ); // Prevent screen flicker when pane has been scrolled before expanding. _.defer( function() { var container = content.closest( '.wp-full-overlay-sidebar-content' ), currentScrollTop = container.scrollTop(), previousScrollTop = content.data( 'previous-scrollTop' ) || 0, expanded = construct.expanded(); if ( expanded && 0 < currentScrollTop ) { content.css( 'top', currentScrollTop + 'px' ); content.data( 'previous-scrollTop', currentScrollTop ); } else if ( ! expanded && 0 < currentScrollTop + previousScrollTop ) { content.css( 'top', previousScrollTop - currentScrollTop + 'px' ); container.scrollTop( previousScrollTop ); } } ); }, /* * is documented using @borrows in the constructor. */ focus: focus, /** * Return the container html, generated from its JS template, if it exists. * * @since 4.3.0 */ getContainer: function () { var template, container = this; if ( 0 !== $( '#tmpl-' + container.templateSelector ).length ) { template = wp.template( container.templateSelector ); } else { template = wp.template( 'customize-' + container.containerType + '-default' ); } if ( template && container.container ) { return template( _.extend( { id: container.id }, container.params ) ).toString().trim(); } return '<li></li>'; }, /** * Find content element which is displayed when the section is expanded. * * After a construct is initialized, the return value will be available via the `contentContainer` property. * By default the element will be related it to the parent container with `aria-owns` and detached. * Custom panels and sections (such as the `NewMenuSection`) that do not have a sliding pane should * just return the content element without needing to add the `aria-owns` element or detach it from * the container. Such non-sliding pane custom sections also need to override the `onChangeExpanded` * method to handle animating the panel/section into and out of view. * * @since 4.7.0 * @access public * * @return {jQuery} Detached content element. */ getContent: function() { var construct = this, container = construct.container, content = container.find( '.accordion-section-content, .control-panel-content' ).first(), contentId = 'sub-' + container.attr( 'id' ), ownedElements = contentId, alreadyOwnedElements = container.attr( 'aria-owns' ); if ( alreadyOwnedElements ) { ownedElements = ownedElements + ' ' + alreadyOwnedElements; } container.attr( 'aria-owns', ownedElements ); return content.detach().attr( { 'id': contentId, 'class': 'customize-pane-child ' + content.attr( 'class' ) + ' ' + container.attr( 'class' ) } ); } }); api.Section = Container.extend(/** @lends wp.customize.Section.prototype */{ containerType: 'section', containerParent: '#customize-theme-controls', containerPaneParent: '.customize-pane-parent', defaults: { title: '', description: '', priority: 100, type: 'default', content: null, active: true, instanceNumber: null, panel: null, customizeAction: '' }, /** * @constructs wp.customize.Section * @augments wp.customize~Container * * @since 4.1.0 * * @param {string} id - The ID for the section. * @param {Object} options - Options. * @param {string} options.title - Title shown when section is collapsed and expanded. * @param {string} [options.description] - Description shown at the top of the section. * @param {number} [options.priority=100] - The sort priority for the section. * @param {string} [options.type=default] - The type of the section. See wp.customize.sectionConstructor. * @param {string} [options.content] - The markup to be used for the section container. If empty, a JS template is used. * @param {boolean} [options.active=true] - Whether the section is active or not. * @param {string} options.panel - The ID for the panel this section is associated with. * @param {string} [options.customizeAction] - Additional context information shown before the section title when expanded. * @param {Object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var section = this, params; params = options.params || options; // Look up the type if one was not supplied. if ( ! params.type ) { _.find( api.sectionConstructor, function( Constructor, type ) { if ( Constructor === section.constructor ) { params.type = type; return true; } return false; } ); } Container.prototype.initialize.call( section, id, params ); section.id = id; section.panel = new api.Value(); section.panel.bind( function ( id ) { $( section.headContainer ).toggleClass( 'control-subsection', !! id ); }); section.panel.set( section.params.panel || '' ); api.utils.bubbleChildValueChanges( section, [ 'panel' ] ); section.embed(); section.deferred.embedded.done( function () { section.ready(); }); }, /** * Embed the container in the DOM when any parent panel is ready. * * @since 4.1.0 */ embed: function () { var inject, section = this; section.containerParent = api.ensure( section.containerParent ); // Watch for changes to the panel state. inject = function ( panelId ) { var parentContainer; if ( panelId ) { // The panel has been supplied, so wait until the panel object is registered. api.panel( panelId, function ( panel ) { // The panel has been registered, wait for it to become ready/initialized. panel.deferred.embedded.done( function () { parentContainer = panel.contentContainer; if ( ! section.headContainer.parent().is( parentContainer ) ) { parentContainer.append( section.headContainer ); } if ( ! section.contentContainer.parent().is( section.headContainer ) ) { section.containerParent.append( section.contentContainer ); } section.deferred.embedded.resolve(); }); } ); } else { // There is no panel, so embed the section in the root of the customizer. parentContainer = api.ensure( section.containerPaneParent ); if ( ! section.headContainer.parent().is( parentContainer ) ) { parentContainer.append( section.headContainer ); } if ( ! section.contentContainer.parent().is( section.headContainer ) ) { section.containerParent.append( section.contentContainer ); } section.deferred.embedded.resolve(); } }; section.panel.bind( inject ); inject( section.panel.get() ); // Since a section may never get a panel, assume that it won't ever get one. }, /** * Add behaviors for the accordion section. * * @since 4.1.0 */ attachEvents: function () { var meta, content, section = this; if ( section.container.hasClass( 'cannot-expand' ) ) { return; } // Expand/Collapse accordion sections on click. section.container.find( '.accordion-section-title button, .customize-section-back, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); // Keep this AFTER the key filter above. if ( section.expanded() ) { section.collapse(); } else { section.expand(); } }); // This is very similar to what is found for api.Panel.attachEvents(). section.container.find( '.customize-section-title .customize-help-toggle' ).on( 'click', function() { meta = section.container.find( '.section-meta' ); if ( meta.hasClass( 'cannot-expand' ) ) { return; } content = meta.find( '.customize-section-description:first' ); content.toggleClass( 'open' ); content.slideToggle( section.defaultExpandedArguments.duration, function() { content.trigger( 'toggled' ); } ); $( this ).attr( 'aria-expanded', function( i, attr ) { return 'true' === attr ? 'false' : 'true'; }); }); }, /** * Return whether this section has any active controls. * * @since 4.1.0 * * @return {boolean} */ isContextuallyActive: function () { var section = this, controls = section.controls(), activeCount = 0; _( controls ).each( function ( control ) { if ( control.active() ) { activeCount += 1; } } ); return ( activeCount !== 0 ); }, /** * Get the controls that are associated with this section, sorted by their priority Value. * * @since 4.1.0 * * @return {Array} */ controls: function () { return this._children( 'section', 'control' ); }, /** * Update UI to reflect expanded state. * * @since 4.1.0 * * @param {boolean} expanded * @param {Object} args */ onChangeExpanded: function ( expanded, args ) { var section = this, container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ), content = section.contentContainer, overlay = section.headContainer.closest( '.wp-full-overlay' ), backBtn = content.find( '.customize-section-back' ), sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(), expand, panel; if ( expanded && ! content.hasClass( 'open' ) ) { if ( args.unchanged ) { expand = args.completeCallback; } else { expand = function() { section._animateChangeExpanded( function() { backBtn.attr( 'tabindex', '0' ); backBtn.trigger( 'focus' ); content.css( 'top', '' ); container.scrollTop( 0 ); if ( args.completeCallback ) { args.completeCallback(); } } ); content.addClass( 'open' ); overlay.addClass( 'section-open' ); api.state( 'expandedSection' ).set( section ); }.bind( this ); } if ( ! args.allowMultiple ) { api.section.each( function ( otherSection ) { if ( otherSection !== section ) { otherSection.collapse( { duration: args.duration } ); } }); } if ( section.panel() ) { api.panel( section.panel() ).expand({ duration: args.duration, completeCallback: expand }); } else { if ( ! args.allowMultiple ) { api.panel.each( function( panel ) { panel.collapse(); }); } expand(); } } else if ( ! expanded && content.hasClass( 'open' ) ) { if ( section.panel() ) { panel = api.panel( section.panel() ); if ( panel.contentContainer.hasClass( 'skip-transition' ) ) { panel.collapse(); } } section._animateChangeExpanded( function() { backBtn.attr( 'tabindex', '-1' ); sectionTitle.trigger( 'focus' ); content.css( 'top', '' ); if ( args.completeCallback ) { args.completeCallback(); } } ); content.removeClass( 'open' ); overlay.removeClass( 'section-open' ); if ( section === api.state( 'expandedSection' ).get() ) { api.state( 'expandedSection' ).set( false ); } } else { if ( args.completeCallback ) { args.completeCallback(); } } } }); api.ThemesSection = api.Section.extend(/** @lends wp.customize.ThemesSection.prototype */{ currentTheme: '', overlay: '', template: '', screenshotQueue: null, $window: null, $body: null, loaded: 0, loading: false, fullyLoaded: false, term: '', tags: '', nextTerm: '', nextTags: '', filtersHeight: 0, headerContainer: null, updateCountDebounced: null, /** * wp.customize.ThemesSection * * Custom section for themes that loads themes by category, and also * handles the theme-details view rendering and navigation. * * @constructs wp.customize.ThemesSection * @augments wp.customize.Section * * @since 4.9.0 * * @param {string} id - ID. * @param {Object} options - Options. * @return {void} */ initialize: function( id, options ) { var section = this; section.headerContainer = $(); section.$window = $( window ); section.$body = $( document.body ); api.Section.prototype.initialize.call( section, id, options ); section.updateCountDebounced = _.debounce( section.updateCount, 500 ); }, /** * Embed the section in the DOM when the themes panel is ready. * * Insert the section before the themes container. Assume that a themes section is within a panel, but not necessarily the themes panel. * * @since 4.9.0 */ embed: function() { var inject, section = this; // Watch for changes to the panel state. inject = function( panelId ) { var parentContainer; api.panel( panelId, function( panel ) { // The panel has been registered, wait for it to become ready/initialized. panel.deferred.embedded.done( function() { parentContainer = panel.contentContainer; if ( ! section.headContainer.parent().is( parentContainer ) ) { parentContainer.find( '.customize-themes-full-container-container' ).before( section.headContainer ); } if ( ! section.contentContainer.parent().is( section.headContainer ) ) { section.containerParent.append( section.contentContainer ); } section.deferred.embedded.resolve(); }); } ); }; section.panel.bind( inject ); inject( section.panel.get() ); // Since a section may never get a panel, assume that it won't ever get one. }, /** * Set up. * * @since 4.2.0 * * @return {void} */ ready: function() { var section = this; section.overlay = section.container.find( '.theme-overlay' ); section.template = wp.template( 'customize-themes-details-view' ); // Bind global keyboard events. section.container.on( 'keydown', function( event ) { if ( ! section.overlay.find( '.theme-wrap' ).is( ':visible' ) ) { return; } // Pressing the right arrow key fires a theme:next event. if ( 39 === event.keyCode ) { section.nextTheme(); } // Pressing the left arrow key fires a theme:previous event. if ( 37 === event.keyCode ) { section.previousTheme(); } // Pressing the escape key fires a theme:collapse event. if ( 27 === event.keyCode ) { if ( section.$body.hasClass( 'modal-open' ) ) { // Escape from the details modal. section.closeDetails(); } else { // Escape from the infinite scroll list. section.headerContainer.find( '.customize-themes-section-title' ).focus(); } event.stopPropagation(); // Prevent section from being collapsed. } }); section.renderScreenshots = _.throttle( section.renderScreenshots, 100 ); _.bindAll( section, 'renderScreenshots', 'loadMore', 'checkTerm', 'filtersChecked' ); }, /** * Override Section.isContextuallyActive method. * * Ignore the active states' of the contained theme controls, and just * use the section's own active state instead. This prevents empty search * results for theme sections from causing the section to become inactive. * * @since 4.2.0 * * @return {boolean} */ isContextuallyActive: function () { return this.active(); }, /** * Attach events. * * @since 4.2.0 * * @return {void} */ attachEvents: function () { var section = this, debounced; // Expand/Collapse accordion sections on click. section.container.find( '.customize-section-back' ).on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); // Keep this AFTER the key filter above. section.collapse(); }); section.headerContainer = $( '#accordion-section-' + section.id ); // Expand section/panel. Only collapse when opening another section. section.headerContainer.on( 'click', '.customize-themes-section-title', function() { // Toggle accordion filters under section headers. if ( section.headerContainer.find( '.filter-details' ).length ) { section.headerContainer.find( '.customize-themes-section-title' ) .toggleClass( 'details-open' ) .attr( 'aria-expanded', function( i, attr ) { return 'true' === attr ? 'false' : 'true'; }); section.headerContainer.find( '.filter-details' ).slideToggle( 180 ); } // Open the section. if ( ! section.expanded() ) { section.expand(); } }); // Preview installed themes. section.container.on( 'click', '.theme-actions .preview-theme', function() { api.panel( 'themes' ).loadThemePreview( $( this ).data( 'slug' ) ); }); // Theme navigation in details view. section.container.on( 'click', '.left', function() { section.previousTheme(); }); section.container.on( 'click', '.right', function() { section.nextTheme(); }); section.container.on( 'click', '.theme-backdrop, .close', function() { section.closeDetails(); }); if ( 'local' === section.params.filter_type ) { // Filter-search all theme objects loaded in the section. section.container.on( 'input', '.wp-filter-search-themes', function( event ) { section.filterSearch( event.currentTarget.value ); }); } else if ( 'remote' === section.params.filter_type ) { // Event listeners for remote queries with user-entered terms. // Search terms. debounced = _.debounce( section.checkTerm, 500 ); // Wait until there is no input for 500 milliseconds to initiate a search. section.contentContainer.on( 'input', '.wp-filter-search', function() { if ( ! api.panel( 'themes' ).expanded() ) { return; } debounced( section ); if ( ! section.expanded() ) { section.expand(); } }); // Feature filters. section.contentContainer.on( 'click', '.filter-group input', function() { section.filtersChecked(); section.checkTerm( section ); }); } // Toggle feature filters. section.contentContainer.on( 'click', '.feature-filter-toggle', function( e ) { var $themeContainer = $( '.customize-themes-full-container' ), $filterToggle = $( e.currentTarget ); section.filtersHeight = $filterToggle.parents( '.themes-filter-bar' ).next( '.filter-drawer' ).height(); if ( 0 < $themeContainer.scrollTop() ) { $themeContainer.animate( { scrollTop: 0 }, 400 ); if ( $filterToggle.hasClass( 'open' ) ) { return; } } $filterToggle .toggleClass( 'open' ) .attr( 'aria-expanded', function( i, attr ) { return 'true' === attr ? 'false' : 'true'; }) .parents( '.themes-filter-bar' ).next( '.filter-drawer' ).slideToggle( 180, 'linear' ); if ( $filterToggle.hasClass( 'open' ) ) { var marginOffset = 1018 < window.innerWidth ? 50 : 76; section.contentContainer.find( '.themes' ).css( 'margin-top', section.filtersHeight + marginOffset ); } else { section.contentContainer.find( '.themes' ).css( 'margin-top', 0 ); } }); // Setup section cross-linking. section.contentContainer.on( 'click', '.no-themes-local .search-dotorg-themes', function() { api.section( 'wporg_themes' ).focus(); }); function updateSelectedState() { var el = section.headerContainer.find( '.customize-themes-section-title' ); el.toggleClass( 'selected', section.expanded() ); el.attr( 'aria-expanded', section.expanded() ? 'true' : 'false' ); if ( ! section.expanded() ) { el.removeClass( 'details-open' ); } } section.expanded.bind( updateSelectedState ); updateSelectedState(); // Move section controls to the themes area. api.bind( 'ready', function () { section.contentContainer = section.container.find( '.customize-themes-section' ); section.contentContainer.appendTo( $( '.customize-themes-full-container' ) ); section.container.add( section.headerContainer ); }); }, /** * Update UI to reflect expanded state * * @since 4.2.0 * * @param {boolean} expanded * @param {Object} args * @param {boolean} args.unchanged * @param {Function} args.completeCallback * @return {void} */ onChangeExpanded: function ( expanded, args ) { // Note: there is a second argument 'args' passed. var section = this, container = section.contentContainer.closest( '.customize-themes-full-container' ); // Immediately call the complete callback if there were no changes. if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); } return; } function expand() { // Try to load controls if none are loaded yet. if ( 0 === section.loaded ) { section.loadThemes(); } // Collapse any sibling sections/panels. api.section.each( function ( otherSection ) { var searchTerm; if ( otherSection !== section ) { // Try to sync the current search term to the new section. if ( 'themes' === otherSection.params.type ) { searchTerm = otherSection.contentContainer.find( '.wp-filter-search' ).val(); section.contentContainer.find( '.wp-filter-search' ).val( searchTerm ); // Directly initialize an empty remote search to avoid a race condition. if ( '' === searchTerm && '' !== section.term && 'local' !== section.params.filter_type ) { section.term = ''; section.initializeNewQuery( section.term, section.tags ); } else { if ( 'remote' === section.params.filter_type ) { section.checkTerm( section ); } else if ( 'local' === section.params.filter_type ) { section.filterSearch( searchTerm ); } } otherSection.collapse( { duration: args.duration } ); } } }); section.contentContainer.addClass( 'current-section' ); container.scrollTop(); container.on( 'scroll', _.throttle( section.renderScreenshots, 300 ) ); container.on( 'scroll', _.throttle( section.loadMore, 300 ) ); if ( args.completeCallback ) { args.completeCallback(); } section.updateCount(); // Show this section's count. } if ( expanded ) { if ( section.panel() && api.panel.has( section.panel() ) ) { api.panel( section.panel() ).expand({ duration: args.duration, completeCallback: expand }); } else { expand(); } } else { section.contentContainer.removeClass( 'current-section' ); // Always hide, even if they don't exist or are already hidden. section.headerContainer.find( '.filter-details' ).slideUp( 180 ); container.off( 'scroll' ); if ( args.completeCallback ) { args.completeCallback(); } } }, /** * Return the section's content element without detaching from the parent. * * @since 4.9.0 * * @return {jQuery} */ getContent: function() { return this.container.find( '.control-section-content' ); }, /** * Load theme data via Ajax and add themes to the section as controls. * * @since 4.9.0 * * @return {void} */ loadThemes: function() { var section = this, params, page, request; if ( section.loading ) { return; // We're already loading a batch of themes. } // Parameters for every API query. Additional params are set in PHP. page = Math.ceil( section.loaded / 100 ) + 1; params = { 'nonce': api.settings.nonce.switch_themes, 'wp_customize': 'on', 'theme_action': section.params.action, 'customized_theme': api.settings.theme.stylesheet, 'page': page }; // Add fields for remote filtering. if ( 'remote' === section.params.filter_type ) { params.search = section.term; params.tags = section.tags; } // Load themes. section.headContainer.closest( '.wp-full-overlay' ).addClass( 'loading' ); section.loading = true; section.container.find( '.no-themes' ).hide(); request = wp.ajax.post( 'customize_load_themes', params ); request.done(function( data ) { var themes = data.themes; // Stop and try again if the term changed while loading. if ( '' !== section.nextTerm || '' !== section.nextTags ) { if ( section.nextTerm ) { section.term = section.nextTerm; } if ( section.nextTags ) { section.tags = section.nextTags; } section.nextTerm = ''; section.nextTags = ''; section.loading = false; section.loadThemes(); return; } if ( 0 !== themes.length ) { section.loadControls( themes, page ); if ( 1 === page ) { // Pre-load the first 3 theme screenshots. _.each( section.controls().slice( 0, 3 ), function( control ) { var img, src = control.params.theme.screenshot[0]; if ( src ) { img = new Image(); img.src = src; } }); if ( 'local' !== section.params.filter_type ) { wp.a11y.speak( api.settings.l10n.themeSearchResults.replace( '%d', data.info.results ) ); } } _.delay( section.renderScreenshots, 100 ); // Wait for the controls to become visible. if ( 'local' === section.params.filter_type || 100 > themes.length ) { // If we have less than the requested 100 themes, it's the end of the list. section.fullyLoaded = true; } } else { if ( 0 === section.loaded ) { section.container.find( '.no-themes' ).show(); wp.a11y.speak( section.container.find( '.no-themes' ).text() ); } else { section.fullyLoaded = true; } } if ( 'local' === section.params.filter_type ) { section.updateCount(); // Count of visible theme controls. } else { section.updateCount( data.info.results ); // Total number of results including pages not yet loaded. } section.container.find( '.unexpected-error' ).hide(); // Hide error notice in case it was previously shown. // This cannot run on request.always, as section.loading may turn false before the new controls load in the success case. section.headContainer.closest( '.wp-full-overlay' ).removeClass( 'loading' ); section.loading = false; }); request.fail(function( data ) { if ( 'undefined' === typeof data ) { section.container.find( '.unexpected-error' ).show(); wp.a11y.speak( section.container.find( '.unexpected-error' ).text() ); } else if ( 'undefined' !== typeof console && console.error ) { console.error( data ); } // This cannot run on request.always, as section.loading may turn false before the new controls load in the success case. section.headContainer.closest( '.wp-full-overlay' ).removeClass( 'loading' ); section.loading = false; }); }, /** * Loads controls into the section from data received from loadThemes(). * * @since 4.9.0 * @param {Array} themes - Array of theme data to create controls with. * @param {number} page - Page of results being loaded. * @return {void} */ loadControls: function( themes, page ) { var newThemeControls = [], section = this; // Add controls for each theme. _.each( themes, function( theme ) { var themeControl = new api.controlConstructor.theme( section.params.action + '_theme_' + theme.id, { type: 'theme', section: section.params.id, theme: theme, priority: section.loaded + 1 } ); api.control.add( themeControl ); newThemeControls.push( themeControl ); section.loaded = section.loaded + 1; }); if ( 1 !== page ) { Array.prototype.push.apply( section.screenshotQueue, newThemeControls ); // Add new themes to the screenshot queue. } }, /** * Determines whether more themes should be loaded, and loads them. * * @since 4.9.0 * @return {void} */ loadMore: function() { var section = this, container, bottom, threshold; if ( ! section.fullyLoaded && ! section.loading ) { container = section.container.closest( '.customize-themes-full-container' ); bottom = container.scrollTop() + container.height(); // Use a fixed distance to the bottom of loaded results to avoid unnecessarily // loading results sooner when using a percentage of scroll distance. threshold = container.prop( 'scrollHeight' ) - 3000; if ( bottom > threshold ) { section.loadThemes(); } } }, /** * Event handler for search input that filters visible controls. * * @since 4.9.0 * * @param {string} term - The raw search input value. * @return {void} */ filterSearch: function( term ) { var count = 0, visible = false, section = this, noFilter = ( api.section.has( 'wporg_themes' ) && 'remote' !== section.params.filter_type ) ? '.no-themes-local' : '.no-themes', controls = section.controls(), terms; if ( section.loading ) { return; } // Standardize search term format and split into an array of individual words. terms = term.toLowerCase().trim().replace( /-/g, ' ' ).split( ' ' ); _.each( controls, function( control ) { visible = control.filter( terms ); // Shows/hides and sorts control based on the applicability of the search term. if ( visible ) { count = count + 1; } }); if ( 0 === count ) { section.container.find( noFilter ).show(); wp.a11y.speak( section.container.find( noFilter ).text() ); } else { section.container.find( noFilter ).hide(); } section.renderScreenshots(); api.reflowPaneContents(); // Update theme count. section.updateCountDebounced( count ); }, /** * Event handler for search input that determines if the terms have changed and loads new controls as needed. * * @since 4.9.0 * * @param {wp.customize.ThemesSection} section - The current theme section, passed through the debouncer. * @return {void} */ checkTerm: function( section ) { var newTerm; if ( 'remote' === section.params.filter_type ) { newTerm = section.contentContainer.find( '.wp-filter-search' ).val(); if ( section.term !== newTerm.trim() ) { section.initializeNewQuery( newTerm, section.tags ); } } }, /** * Check for filters checked in the feature filter list and initialize a new query. * * @since 4.9.0 * * @return {void} */ filtersChecked: function() { var section = this, items = section.container.find( '.filter-group' ).find( ':checkbox' ), tags = []; _.each( items.filter( ':checked' ), function( item ) { tags.push( $( item ).prop( 'value' ) ); }); // When no filters are checked, restore initial state. Update filter count. if ( 0 === tags.length ) { tags = ''; section.contentContainer.find( '.feature-filter-toggle .filter-count-0' ).show(); section.contentContainer.find( '.feature-filter-toggle .filter-count-filters' ).hide(); } else { section.contentContainer.find( '.feature-filter-toggle .theme-filter-count' ).text( tags.length ); section.contentContainer.find( '.feature-filter-toggle .filter-count-0' ).hide(); section.contentContainer.find( '.feature-filter-toggle .filter-count-filters' ).show(); } // Check whether tags have changed, and either load or queue them. if ( ! _.isEqual( section.tags, tags ) ) { if ( section.loading ) { section.nextTags = tags; } else { if ( 'remote' === section.params.filter_type ) { section.initializeNewQuery( section.term, tags ); } else if ( 'local' === section.params.filter_type ) { section.filterSearch( tags.join( ' ' ) ); } } } }, /** * Reset the current query and load new results. * * @since 4.9.0 * * @param {string} newTerm - New term. * @param {Array} newTags - New tags. * @return {void} */ initializeNewQuery: function( newTerm, newTags ) { var section = this; // Clear the controls in the section. _.each( section.controls(), function( control ) { control.container.remove(); api.control.remove( control.id ); }); section.loaded = 0; section.fullyLoaded = false; section.screenshotQueue = null; // Run a new query, with loadThemes handling paging, etc. if ( ! section.loading ) { section.term = newTerm; section.tags = newTags; section.loadThemes(); } else { section.nextTerm = newTerm; // This will reload from loadThemes() with the newest term once the current batch is loaded. section.nextTags = newTags; // This will reload from loadThemes() with the newest tags once the current batch is loaded. } if ( ! section.expanded() ) { section.expand(); // Expand the section if it isn't expanded. } }, /** * Render control's screenshot if the control comes into view. * * @since 4.2.0 * * @return {void} */ renderScreenshots: function() { var section = this; // Fill queue initially, or check for more if empty. if ( null === section.screenshotQueue || 0 === section.screenshotQueue.length ) { // Add controls that haven't had their screenshots rendered. section.screenshotQueue = _.filter( section.controls(), function( control ) { return ! control.screenshotRendered; }); } // Are all screenshots rendered (for now)? if ( ! section.screenshotQueue.length ) { return; } section.screenshotQueue = _.filter( section.screenshotQueue, function( control ) { var $imageWrapper = control.container.find( '.theme-screenshot' ), $image = $imageWrapper.find( 'img' ); if ( ! $image.length ) { return false; } if ( $image.is( ':hidden' ) ) { return true; } // Based on unveil.js. var wt = section.$window.scrollTop(), wb = wt + section.$window.height(), et = $image.offset().top, ih = $imageWrapper.height(), eb = et + ih, threshold = ih * 3, inView = eb >= wt - threshold && et <= wb + threshold; if ( inView ) { control.container.trigger( 'render-screenshot' ); } // If the image is in view return false so it's cleared from the queue. return ! inView; } ); }, /** * Get visible count. * * @since 4.9.0 * * @return {number} Visible count. */ getVisibleCount: function() { return this.contentContainer.find( 'li.customize-control:visible' ).length; }, /** * Update the number of themes in the section. * * @since 4.9.0 * * @return {void} */ updateCount: function( count ) { var section = this, countEl, displayed; if ( ! count && 0 !== count ) { count = section.getVisibleCount(); } displayed = section.contentContainer.find( '.themes-displayed' ); countEl = section.contentContainer.find( '.theme-count' ); if ( 0 === count ) { countEl.text( '0' ); } else { // Animate the count change for emphasis. displayed.fadeOut( 180, function() { countEl.text( count ); displayed.fadeIn( 180 ); } ); wp.a11y.speak( api.settings.l10n.announceThemeCount.replace( '%d', count ) ); } }, /** * Advance the modal to the next theme. * * @since 4.2.0 * * @return {void} */ nextTheme: function () { var section = this; if ( section.getNextTheme() ) { section.showDetails( section.getNextTheme(), function() { section.overlay.find( '.right' ).focus(); } ); } }, /** * Get the next theme model. * * @since 4.2.0 * * @return {wp.customize.ThemeControl|boolean} Next theme. */ getNextTheme: function () { var section = this, control, nextControl, sectionControls, i; control = api.control( section.params.action + '_theme_' + section.currentTheme ); sectionControls = section.controls(); i = _.indexOf( sectionControls, control ); if ( -1 === i ) { return false; } nextControl = sectionControls[ i + 1 ]; if ( ! nextControl ) { return false; } return nextControl.params.theme; }, /** * Advance the modal to the previous theme. * * @since 4.2.0 * @return {void} */ previousTheme: function () { var section = this; if ( section.getPreviousTheme() ) { section.showDetails( section.getPreviousTheme(), function() { section.overlay.find( '.left' ).focus(); } ); } }, /** * Get the previous theme model. * * @since 4.2.0 * @return {wp.customize.ThemeControl|boolean} Previous theme. */ getPreviousTheme: function () { var section = this, control, nextControl, sectionControls, i; control = api.control( section.params.action + '_theme_' + section.currentTheme ); sectionControls = section.controls(); i = _.indexOf( sectionControls, control ); if ( -1 === i ) { return false; } nextControl = sectionControls[ i - 1 ]; if ( ! nextControl ) { return false; } return nextControl.params.theme; }, /** * Disable buttons when we're viewing the first or last theme. * * @since 4.2.0 * * @return {void} */ updateLimits: function () { if ( ! this.getNextTheme() ) { this.overlay.find( '.right' ).addClass( 'disabled' ); } if ( ! this.getPreviousTheme() ) { this.overlay.find( '.left' ).addClass( 'disabled' ); } }, /** * Load theme preview. * * @since 4.7.0 * @access public * * @deprecated * @param {string} themeId Theme ID. * @return {jQuery.promise} Promise. */ loadThemePreview: function( themeId ) { return api.ThemesPanel.prototype.loadThemePreview.call( this, themeId ); }, /** * Render & show the theme details for a given theme model. * * @since 4.2.0 * * @param {Object} theme - Theme. * @param {Function} [callback] - Callback once the details have been shown. * @return {void} */ showDetails: function ( theme, callback ) { var section = this, panel = api.panel( 'themes' ); section.currentTheme = theme.id; section.overlay.html( section.template( theme ) ) .fadeIn( 'fast' ) .focus(); function disableSwitchButtons() { return ! panel.canSwitchTheme( theme.id ); } // Temporary special function since supplying SFTP credentials does not work yet. See #42184. function disableInstallButtons() { return disableSwitchButtons() || false === api.settings.theme._canInstall || true === api.settings.theme._filesystemCredentialsNeeded; } section.overlay.find( 'button.preview, button.preview-theme' ).toggleClass( 'disabled', disableSwitchButtons() ); section.overlay.find( 'button.theme-install' ).toggleClass( 'disabled', disableInstallButtons() ); section.$body.addClass( 'modal-open' ); section.containFocus( section.overlay ); section.updateLimits(); wp.a11y.speak( api.settings.l10n.announceThemeDetails.replace( '%s', theme.name ) ); if ( callback ) { callback(); } }, /** * Close the theme details modal. * * @since 4.2.0 * * @return {void} */ closeDetails: function () { var section = this; section.$body.removeClass( 'modal-open' ); section.overlay.fadeOut( 'fast' ); api.control( section.params.action + '_theme_' + section.currentTheme ).container.find( '.theme' ).focus(); }, /** * Keep tab focus within the theme details modal. * * @since 4.2.0 * * @param {jQuery} el - Element to contain focus. * @return {void} */ containFocus: function( el ) { var tabbables; el.on( 'keydown', function( event ) { // Return if it's not the tab key // When navigating with prev/next focus is already handled. if ( 9 !== event.keyCode ) { return; } // Uses jQuery UI to get the tabbable elements. tabbables = $( ':tabbable', el ); // Keep focus within the overlay. if ( tabbables.last()[0] === event.target && ! event.shiftKey ) { tabbables.first().focus(); return false; } else if ( tabbables.first()[0] === event.target && event.shiftKey ) { tabbables.last().focus(); return false; } }); } }); api.OuterSection = api.Section.extend(/** @lends wp.customize.OuterSection.prototype */{ /** * Class wp.customize.OuterSection. * * Creates section outside of the sidebar, there is no ui to trigger collapse/expand so * it would require custom handling. * * @constructs wp.customize.OuterSection * @augments wp.customize.Section * * @since 4.9.0 * * @return {void} */ initialize: function() { var section = this; section.containerParent = '#customize-outer-theme-controls'; section.containerPaneParent = '.customize-outer-pane-parent'; api.Section.prototype.initialize.apply( section, arguments ); }, /** * Overrides api.Section.prototype.onChangeExpanded to prevent collapse/expand effect * on other sections and panels. * * @since 4.9.0 * * @param {boolean} expanded - The expanded state to transition to. * @param {Object} [args] - Args. * @param {boolean} [args.unchanged] - Whether the state is already known to not be changed, and so short-circuit with calling completeCallback early. * @param {Function} [args.completeCallback] - Function to call when the slideUp/slideDown has completed. * @param {Object} [args.duration] - The duration for the animation. */ onChangeExpanded: function( expanded, args ) { var section = this, container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ), content = section.contentContainer, backBtn = content.find( '.customize-section-back' ), sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(), body = $( document.body ), expand, panel; body.toggleClass( 'outer-section-open', expanded ); section.container.toggleClass( 'open', expanded ); section.container.removeClass( 'busy' ); api.section.each( function( _section ) { if ( 'outer' === _section.params.type && _section.id !== section.id ) { _section.container.removeClass( 'open' ); } } ); if ( expanded && ! content.hasClass( 'open' ) ) { if ( args.unchanged ) { expand = args.completeCallback; } else { expand = function() { section._animateChangeExpanded( function() { backBtn.attr( 'tabindex', '0' ); backBtn.trigger( 'focus' ); content.css( 'top', '' ); container.scrollTop( 0 ); if ( args.completeCallback ) { args.completeCallback(); } } ); content.addClass( 'open' ); }.bind( this ); } if ( section.panel() ) { api.panel( section.panel() ).expand({ duration: args.duration, completeCallback: expand }); } else { expand(); } } else if ( ! expanded && content.hasClass( 'open' ) ) { if ( section.panel() ) { panel = api.panel( section.panel() ); if ( panel.contentContainer.hasClass( 'skip-transition' ) ) { panel.collapse(); } } section._animateChangeExpanded( function() { backBtn.attr( 'tabindex', '-1' ); sectionTitle.trigger( 'focus' ); content.css( 'top', '' ); if ( args.completeCallback ) { args.completeCallback(); } } ); content.removeClass( 'open' ); } else { if ( args.completeCallback ) { args.completeCallback(); } } } }); api.Panel = Container.extend(/** @lends wp.customize.Panel.prototype */{ containerType: 'panel', /** * @constructs wp.customize.Panel * @augments wp.customize~Container * * @since 4.1.0 * * @param {string} id - The ID for the panel. * @param {Object} options - Object containing one property: params. * @param {string} options.title - Title shown when panel is collapsed and expanded. * @param {string} [options.description] - Description shown at the top of the panel. * @param {number} [options.priority=100] - The sort priority for the panel. * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. * @param {boolean} [options.active=true] - Whether the panel is active or not. * @param {Object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var panel = this, params; params = options.params || options; // Look up the type if one was not supplied. if ( ! params.type ) { _.find( api.panelConstructor, function( Constructor, type ) { if ( Constructor === panel.constructor ) { params.type = type; return true; } return false; } ); } Container.prototype.initialize.call( panel, id, params ); panel.embed(); panel.deferred.embedded.done( function () { panel.ready(); }); }, /** * Embed the container in the DOM when any parent panel is ready. * * @since 4.1.0 */ embed: function () { var panel = this, container = $( '#customize-theme-controls' ), parentContainer = $( '.customize-pane-parent' ); // @todo This should be defined elsewhere, and to be configurable. if ( ! panel.headContainer.parent().is( parentContainer ) ) { parentContainer.append( panel.headContainer ); } if ( ! panel.contentContainer.parent().is( panel.headContainer ) ) { container.append( panel.contentContainer ); } panel.renderContent(); panel.deferred.embedded.resolve(); }, /** * @since 4.1.0 */ attachEvents: function () { var meta, panel = this; // Expand/Collapse accordion sections on click. panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); // Keep this AFTER the key filter above. if ( ! panel.expanded() ) { panel.expand(); } }); // Close panel. panel.container.find( '.customize-panel-back' ).on( 'click keydown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); // Keep this AFTER the key filter above. if ( panel.expanded() ) { panel.collapse(); } }); meta = panel.container.find( '.panel-meta:first' ); meta.find( '> .accordion-section-title .customize-help-toggle' ).on( 'click', function() { if ( meta.hasClass( 'cannot-expand' ) ) { return; } var content = meta.find( '.customize-panel-description:first' ); if ( meta.hasClass( 'open' ) ) { meta.toggleClass( 'open' ); content.slideUp( panel.defaultExpandedArguments.duration, function() { content.trigger( 'toggled' ); } ); $( this ).attr( 'aria-expanded', false ); } else { content.slideDown( panel.defaultExpandedArguments.duration, function() { content.trigger( 'toggled' ); } ); meta.toggleClass( 'open' ); $( this ).attr( 'aria-expanded', true ); } }); }, /** * Get the sections that are associated with this panel, sorted by their priority Value. * * @since 4.1.0 * * @return {Array} */ sections: function () { return this._children( 'panel', 'section' ); }, /** * Return whether this panel has any active sections. * * @since 4.1.0 * * @return {boolean} Whether contextually active. */ isContextuallyActive: function () { var panel = this, sections = panel.sections(), activeCount = 0; _( sections ).each( function ( section ) { if ( section.active() && section.isContextuallyActive() ) { activeCount += 1; } } ); return ( activeCount !== 0 ); }, /** * Update UI to reflect expanded state. * * @since 4.1.0 * * @param {boolean} expanded * @param {Object} args * @param {boolean} args.unchanged * @param {Function} args.completeCallback * @return {void} */ onChangeExpanded: function ( expanded, args ) { // Immediately call the complete callback if there were no changes. if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); } return; } // Note: there is a second argument 'args' passed. var panel = this, accordionSection = panel.contentContainer, overlay = accordionSection.closest( '.wp-full-overlay' ), container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ), topPanel = panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ), backBtn = accordionSection.find( '.customize-panel-back' ), childSections = panel.sections(), skipTransition; if ( expanded && ! accordionSection.hasClass( 'current-panel' ) ) { // Collapse any sibling sections/panels. api.section.each( function ( section ) { if ( panel.id !== section.panel() ) { section.collapse( { duration: 0 } ); } }); api.panel.each( function ( otherPanel ) { if ( panel !== otherPanel ) { otherPanel.collapse( { duration: 0 } ); } }); if ( panel.params.autoExpandSoleSection && 1 === childSections.length && childSections[0].active.get() ) { accordionSection.addClass( 'current-panel skip-transition' ); overlay.addClass( 'in-sub-panel' ); childSections[0].expand( { completeCallback: args.completeCallback } ); } else { panel._animateChangeExpanded( function() { backBtn.attr( 'tabindex', '0' ); backBtn.trigger( 'focus' ); accordionSection.css( 'top', '' ); container.scrollTop( 0 ); if ( args.completeCallback ) { args.completeCallback(); } } ); accordionSection.addClass( 'current-panel' ); overlay.addClass( 'in-sub-panel' ); } api.state( 'expandedPanel' ).set( panel ); } else if ( ! expanded && accordionSection.hasClass( 'current-panel' ) ) { skipTransition = accordionSection.hasClass( 'skip-transition' ); if ( ! skipTransition ) { panel._animateChangeExpanded( function() { topPanel.focus(); accordionSection.css( 'top', '' ); if ( args.completeCallback ) { args.completeCallback(); } } ); } else { accordionSection.removeClass( 'skip-transition' ); } overlay.removeClass( 'in-sub-panel' ); accordionSection.removeClass( 'current-panel' ); if ( panel === api.state( 'expandedPanel' ).get() ) { api.state( 'expandedPanel' ).set( false ); } } }, /** * Render the panel from its JS template, if it exists. * * The panel's container must already exist in the DOM. * * @since 4.3.0 */ renderContent: function () { var template, panel = this; // Add the content to the container. if ( 0 !== $( '#tmpl-' + panel.templateSelector + '-content' ).length ) { template = wp.template( panel.templateSelector + '-content' ); } else { template = wp.template( 'customize-panel-default-content' ); } if ( template && panel.headContainer ) { panel.contentContainer.html( template( _.extend( { id: panel.id }, panel.params ) ) ); } } }); api.ThemesPanel = api.Panel.extend(/** @lends wp.customize.ThemsPanel.prototype */{ /** * Class wp.customize.ThemesPanel. * * Custom section for themes that displays without the customize preview. * * @constructs wp.customize.ThemesPanel * @augments wp.customize.Panel * * @since 4.9.0 * * @param {string} id - The ID for the panel. * @param {Object} options - Options. * @return {void} */ initialize: function( id, options ) { var panel = this; panel.installingThemes = []; api.Panel.prototype.initialize.call( panel, id, options ); }, /** * Determine whether a given theme can be switched to, or in general. * * @since 4.9.0 * * @param {string} [slug] - Theme slug. * @return {boolean} Whether the theme can be switched to. */ canSwitchTheme: function canSwitchTheme( slug ) { if ( slug && slug === api.settings.theme.stylesheet ) { return true; } return 'publish' === api.state( 'selectedChangesetStatus' ).get() && ( '' === api.state( 'changesetStatus' ).get() || 'auto-draft' === api.state( 'changesetStatus' ).get() ); }, /** * Attach events. * * @since 4.9.0 * @return {void} */ attachEvents: function() { var panel = this; // Attach regular panel events. api.Panel.prototype.attachEvents.apply( panel ); // Temporary since supplying SFTP credentials does not work yet. See #42184. if ( api.settings.theme._canInstall && api.settings.theme._filesystemCredentialsNeeded ) { panel.notifications.add( new api.Notification( 'theme_install_unavailable', { message: api.l10n.themeInstallUnavailable, type: 'info', dismissible: true } ) ); } function toggleDisabledNotifications() { if ( panel.canSwitchTheme() ) { panel.notifications.remove( 'theme_switch_unavailable' ); } else { panel.notifications.add( new api.Notification( 'theme_switch_unavailable', { message: api.l10n.themePreviewUnavailable, type: 'warning' } ) ); } } toggleDisabledNotifications(); api.state( 'selectedChangesetStatus' ).bind( toggleDisabledNotifications ); api.state( 'changesetStatus' ).bind( toggleDisabledNotifications ); // Collapse panel to customize the current theme. panel.contentContainer.on( 'click', '.customize-theme', function() { panel.collapse(); }); // Toggle between filtering and browsing themes on mobile. panel.contentContainer.on( 'click', '.customize-themes-section-title, .customize-themes-mobile-back', function() { $( '.wp-full-overlay' ).toggleClass( 'showing-themes' ); }); // Install (and maybe preview) a theme. panel.contentContainer.on( 'click', '.theme-install', function( event ) { panel.installTheme( event ); }); // Update a theme. Theme cards have the class, the details modal has the id. panel.contentContainer.on( 'click', '.update-theme, #update-theme', function( event ) { // #update-theme is a link. event.preventDefault(); event.stopPropagation(); panel.updateTheme( event ); }); // Delete a theme. panel.contentContainer.on( 'click', '.delete-theme', function( event ) { panel.deleteTheme( event ); }); _.bindAll( panel, 'installTheme', 'updateTheme' ); }, /** * Update UI to reflect expanded state * * @since 4.9.0 * * @param {boolean} expanded - Expanded state. * @param {Object} args - Args. * @param {boolean} args.unchanged - Whether or not the state changed. * @param {Function} args.completeCallback - Callback to execute when the animation completes. * @return {void} */ onChangeExpanded: function( expanded, args ) { var panel = this, overlay, sections, hasExpandedSection = false; // Expand/collapse the panel normally. api.Panel.prototype.onChangeExpanded.apply( this, [ expanded, args ] ); // Immediately call the complete callback if there were no changes. if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); } return; } overlay = panel.headContainer.closest( '.wp-full-overlay' ); if ( expanded ) { overlay .addClass( 'in-themes-panel' ) .delay( 200 ).find( '.customize-themes-full-container' ).addClass( 'animate' ); _.delay( function() { overlay.addClass( 'themes-panel-expanded' ); }, 200 ); // Automatically open the first section (except on small screens), if one isn't already expanded. if ( 600 < window.innerWidth ) { sections = panel.sections(); _.each( sections, function( section ) { if ( section.expanded() ) { hasExpandedSection = true; } } ); if ( ! hasExpandedSection && sections.length > 0 ) { sections[0].expand(); } } } else { overlay .removeClass( 'in-themes-panel themes-panel-expanded' ) .find( '.customize-themes-full-container' ).removeClass( 'animate' ); } }, /** * Install a theme via wp.updates. * * @since 4.9.0 * * @param {jQuery.Event} event - Event. * @return {jQuery.promise} Promise. */ installTheme: function( event ) { var panel = this, preview, onInstallSuccess, slug = $( event.target ).data( 'slug' ), deferred = $.Deferred(), request; preview = $( event.target ).hasClass( 'preview' ); // Temporary since supplying SFTP credentials does not work yet. See #42184. if ( api.settings.theme._filesystemCredentialsNeeded ) { deferred.reject({ errorCode: 'theme_install_unavailable' }); return deferred.promise(); } // Prevent loading a non-active theme preview when there is a drafted/scheduled changeset. if ( ! panel.canSwitchTheme( slug ) ) { deferred.reject({ errorCode: 'theme_switch_unavailable' }); return deferred.promise(); } // Theme is already being installed. if ( _.contains( panel.installingThemes, slug ) ) { deferred.reject({ errorCode: 'theme_already_installing' }); return deferred.promise(); } wp.updates.maybeRequestFilesystemCredentials( event ); onInstallSuccess = function( response ) { var theme = false, themeControl; if ( preview ) { api.notifications.remove( 'theme_installing' ); panel.loadThemePreview( slug ); } else { api.control.each( function( control ) { if ( 'theme' === control.params.type && control.params.theme.id === response.slug ) { theme = control.params.theme; // Used below to add theme control. control.rerenderAsInstalled( true ); } }); // Don't add the same theme more than once. if ( ! theme || api.control.has( 'installed_theme_' + theme.id ) ) { deferred.resolve( response ); return; } // Add theme control to installed section. theme.type = 'installed'; themeControl = new api.controlConstructor.theme( 'installed_theme_' + theme.id, { type: 'theme', section: 'installed_themes', theme: theme, priority: 0 // Add all newly-installed themes to the top. } ); api.control.add( themeControl ); api.control( themeControl.id ).container.trigger( 'render-screenshot' ); // Close the details modal if it's open to the installed theme. api.section.each( function( section ) { if ( 'themes' === section.params.type ) { if ( theme.id === section.currentTheme ) { // Don't close the modal if the user has navigated elsewhere. section.closeDetails(); } } }); } deferred.resolve( response ); }; panel.installingThemes.push( slug ); // Note: we don't remove elements from installingThemes, since they shouldn't be installed again. request = wp.updates.installTheme( { slug: slug } ); // Also preview the theme as the event is triggered on Install & Preview. if ( preview ) { api.notifications.add( new api.OverlayNotification( 'theme_installing', { message: api.l10n.themeDownloading, type: 'info', loading: true } ) ); } request.done( onInstallSuccess ); request.fail( function() { api.notifications.remove( 'theme_installing' ); } ); return deferred.promise(); }, /** * Load theme preview. * * @since 4.9.0 * * @param {string} themeId Theme ID. * @return {jQuery.promise} Promise. */ loadThemePreview: function( themeId ) { var panel = this, deferred = $.Deferred(), onceProcessingComplete, urlParser, queryParams; // Prevent loading a non-active theme preview when there is a drafted/scheduled changeset. if ( ! panel.canSwitchTheme( themeId ) ) { deferred.reject({ errorCode: 'theme_switch_unavailable' }); return deferred.promise(); } urlParser = document.createElement( 'a' ); urlParser.href = location.href; queryParams = _.extend( api.utils.parseQueryString( urlParser.search.substr( 1 ) ), { theme: themeId, changeset_uuid: api.settings.changeset.uuid, 'return': api.settings.url['return'] } ); // Include autosaved param to load autosave revision without prompting user to restore it. if ( ! api.state( 'saved' ).get() ) { queryParams.customize_autosaved = 'on'; } urlParser.search = $.param( queryParams ); // Update loading message. Everything else is handled by reloading the page. api.notifications.add( new api.OverlayNotification( 'theme_previewing', { message: api.l10n.themePreviewWait, type: 'info', loading: true } ) ); onceProcessingComplete = function() { var request; if ( api.state( 'processing' ).get() > 0 ) { return; } api.state( 'processing' ).unbind( onceProcessingComplete ); request = api.requestChangesetUpdate( {}, { autosave: true } ); request.done( function() { deferred.resolve(); $( window ).off( 'beforeunload.customize-confirm' ); location.replace( urlParser.href ); } ); request.fail( function() { // @todo Show notification regarding failure. api.notifications.remove( 'theme_previewing' ); deferred.reject(); } ); }; if ( 0 === api.state( 'processing' ).get() ) { onceProcessingComplete(); } else { api.state( 'processing' ).bind( onceProcessingComplete ); } return deferred.promise(); }, /** * Update a theme via wp.updates. * * @since 4.9.0 * * @param {jQuery.Event} event - Event. * @return {void} */ updateTheme: function( event ) { wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).one( 'wp-theme-update-success', function( e, response ) { // Rerender the control to reflect the update. api.control.each( function( control ) { if ( 'theme' === control.params.type && control.params.theme.id === response.slug ) { control.params.theme.hasUpdate = false; control.params.theme.version = response.newVersion; setTimeout( function() { control.rerenderAsInstalled( true ); }, 2000 ); } }); } ); wp.updates.updateTheme( { slug: $( event.target ).closest( '.notice' ).data( 'slug' ) } ); }, /** * Delete a theme via wp.updates. * * @since 4.9.0 * * @param {jQuery.Event} event - Event. * @return {void} */ deleteTheme: function( event ) { var theme, section; theme = $( event.target ).data( 'slug' ); section = api.section( 'installed_themes' ); event.preventDefault(); // Temporary since supplying SFTP credentials does not work yet. See #42184. if ( api.settings.theme._filesystemCredentialsNeeded ) { return; } // Confirmation dialog for deleting a theme. if ( ! window.confirm( api.settings.l10n.confirmDeleteTheme ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).one( 'wp-theme-delete-success', function() { var control = api.control( 'installed_theme_' + theme ); // Remove theme control. control.container.remove(); api.control.remove( control.id ); // Update installed count. section.loaded = section.loaded - 1; section.updateCount(); // Rerender any other theme controls as uninstalled. api.control.each( function( control ) { if ( 'theme' === control.params.type && control.params.theme.id === theme ) { control.rerenderAsInstalled( false ); } }); } ); wp.updates.deleteTheme( { slug: theme } ); // Close modal and focus the section. section.closeDetails(); section.focus(); } }); api.Control = api.Class.extend(/** @lends wp.customize.Control.prototype */{ defaultActiveArguments: { duration: 'fast', completeCallback: $.noop }, /** * Default params. * * @since 4.9.0 * @var {object} */ defaults: { label: '', description: '', active: true, priority: 10 }, /** * A Customizer Control. * * A control provides a UI element that allows a user to modify a Customizer Setting. * * @see PHP class WP_Customize_Control. * * @constructs wp.customize.Control * @augments wp.customize.Class * * @borrows wp.customize~focus as this#focus * @borrows wp.customize~Container#activate as this#activate * @borrows wp.customize~Container#deactivate as this#deactivate * @borrows wp.customize~Container#_toggleActive as this#_toggleActive * * @param {string} id - Unique identifier for the control instance. * @param {Object} options - Options hash for the control instance. * @param {Object} options.type - Type of control (e.g. text, radio, dropdown-pages, etc.) * @param {string} [options.content] - The HTML content for the control or at least its container. This should normally be left blank and instead supplying a templateId. * @param {string} [options.templateId] - Template ID for control's content. * @param {string} [options.priority=10] - Order of priority to show the control within the section. * @param {string} [options.active=true] - Whether the control is active. * @param {string} options.section - The ID of the section the control belongs to. * @param {mixed} [options.setting] - The ID of the main setting or an instance of this setting. * @param {mixed} options.settings - An object with keys (e.g. default) that maps to setting IDs or Setting/Value objects, or an array of setting IDs or Setting/Value objects. * @param {mixed} options.settings.default - The ID of the setting the control relates to. * @param {string} options.settings.data - @todo Is this used? * @param {string} options.label - Label. * @param {string} options.description - Description. * @param {number} [options.instanceNumber] - Order in which this instance was created in relation to other instances. * @param {Object} [options.params] - Deprecated wrapper for the above properties. * @return {void} */ initialize: function( id, options ) { var control = this, deferredSettingIds = [], settings, gatherSettings; control.params = _.extend( {}, control.defaults, control.params || {}, // In case subclass already defines. options.params || options || {} // The options.params property is deprecated, but it is checked first for back-compat. ); if ( ! api.Control.instanceCounter ) { api.Control.instanceCounter = 0; } api.Control.instanceCounter++; if ( ! control.params.instanceNumber ) { control.params.instanceNumber = api.Control.instanceCounter; } // Look up the type if one was not supplied. if ( ! control.params.type ) { _.find( api.controlConstructor, function( Constructor, type ) { if ( Constructor === control.constructor ) { control.params.type = type; return true; } return false; } ); } if ( ! control.params.content ) { control.params.content = $( '<li></li>', { id: 'customize-control-' + id.replace( /]/g, '' ).replace( /\[/g, '-' ), 'class': 'customize-control customize-control-' + control.params.type } ); } control.id = id; control.selector = '#customize-control-' + id.replace( /\]/g, '' ).replace( /\[/g, '-' ); // Deprecated, likely dead code from time before #28709. if ( control.params.content ) { control.container = $( control.params.content ); } else { control.container = $( control.selector ); // Likely dead, per above. See #28709. } if ( control.params.templateId ) { control.templateSelector = control.params.templateId; } else { control.templateSelector = 'customize-control-' + control.params.type + '-content'; } control.deferred = _.extend( control.deferred || {}, { embedded: new $.Deferred() } ); control.section = new api.Value(); control.priority = new api.Value(); control.active = new api.Value(); control.activeArgumentsQueue = []; control.notifications = new api.Notifications({ alt: control.altNotice }); control.elements = []; control.active.bind( function ( active ) { var args = control.activeArgumentsQueue.shift(); args = $.extend( {}, control.defaultActiveArguments, args ); control.onChangeActive( active, args ); } ); control.section.set( control.params.section ); control.priority.set( isNaN( control.params.priority ) ? 10 : control.params.priority ); control.active.set( control.params.active ); api.utils.bubbleChildValueChanges( control, [ 'section', 'priority', 'active' ] ); control.settings = {}; settings = {}; if ( control.params.setting ) { settings['default'] = control.params.setting; } _.extend( settings, control.params.settings ); // Note: Settings can be an array or an object, with values being either setting IDs or Setting (or Value) objects. _.each( settings, function( value, key ) { var setting; if ( _.isObject( value ) && _.isFunction( value.extended ) && value.extended( api.Value ) ) { control.settings[ key ] = value; } else if ( _.isString( value ) ) { setting = api( value ); if ( setting ) { control.settings[ key ] = setting; } else { deferredSettingIds.push( value ); } } } ); gatherSettings = function() { // Fill-in all resolved settings. _.each( settings, function ( settingId, key ) { if ( ! control.settings[ key ] && _.isString( settingId ) ) { control.settings[ key ] = api( settingId ); } } ); // Make sure settings passed as array gets associated with default. if ( control.settings[0] && ! control.settings['default'] ) { control.settings['default'] = control.settings[0]; } // Identify the main setting. control.setting = control.settings['default'] || null; control.linkElements(); // Link initial elements present in server-rendered content. control.embed(); }; if ( 0 === deferredSettingIds.length ) { gatherSettings(); } else { api.apply( api, deferredSettingIds.concat( gatherSettings ) ); } // After the control is embedded on the page, invoke the "ready" method. control.deferred.embedded.done( function () { control.linkElements(); // Link any additional elements after template is rendered by renderContent(). control.setupNotifications(); control.ready(); }); }, /** * Link elements between settings and inputs. * * @since 4.7.0 * @access public * * @return {void} */ linkElements: function () { var control = this, nodes, radios, element; nodes = control.container.find( '[data-customize-setting-link], [data-customize-setting-key-link]' ); radios = {}; nodes.each( function () { var node = $( this ), name, setting; if ( node.data( 'customizeSettingLinked' ) ) { return; } node.data( 'customizeSettingLinked', true ); // Prevent re-linking element. if ( node.is( ':radio' ) ) { name = node.prop( 'name' ); if ( radios[name] ) { return; } radios[name] = true; node = nodes.filter( '[name="' + name + '"]' ); } // Let link by default refer to setting ID. If it doesn't exist, fallback to looking up by setting key. if ( node.data( 'customizeSettingLink' ) ) { setting = api( node.data( 'customizeSettingLink' ) ); } else if ( node.data( 'customizeSettingKeyLink' ) ) { setting = control.settings[ node.data( 'customizeSettingKeyLink' ) ]; } if ( setting ) { element = new api.Element( node ); control.elements.push( element ); element.sync( setting ); element.set( setting() ); } } ); }, /** * Embed the control into the page. */ embed: function () { var control = this, inject; // Watch for changes to the section state. inject = function ( sectionId ) { var parentContainer; if ( ! sectionId ) { // @todo Allow a control to be embedded without a section, for instance a control embedded in the front end. return; } // Wait for the section to be registered. api.section( sectionId, function ( section ) { // Wait for the section to be ready/initialized. section.deferred.embedded.done( function () { parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' ); if ( ! control.container.parent().is( parentContainer ) ) { parentContainer.append( control.container ); } control.renderContent(); control.deferred.embedded.resolve(); }); }); }; control.section.bind( inject ); inject( control.section.get() ); }, /** * Triggered when the control's markup has been injected into the DOM. * * @return {void} */ ready: function() { var control = this, newItem; if ( 'dropdown-pages' === control.params.type && control.params.allow_addition ) { newItem = control.container.find( '.new-content-item-wrapper' ); newItem.hide(); // Hide in JS to preserve flex display when showing. control.container.on( 'click', '.add-new-toggle', function( e ) { $( e.currentTarget ).slideUp( 180 ); newItem.slideDown( 180 ); newItem.find( '.create-item-input' ).focus(); }); control.container.on( 'click', '.add-content', function() { control.addNewPage(); }); control.container.on( 'keydown', '.create-item-input', function( e ) { if ( 13 === e.which ) { // Enter. control.addNewPage(); } }); } }, /** * Get the element inside of a control's container that contains the validation error message. * * Control subclasses may override this to return the proper container to render notifications into. * Injects the notification container for existing controls that lack the necessary container, * including special handling for nav menu items and widgets. * * @since 4.6.0 * @return {jQuery} Setting validation message element. */ getNotificationsContainerElement: function() { var control = this, controlTitle, notificationsContainer; notificationsContainer = control.container.find( '.customize-control-notifications-container:first' ); if ( notificationsContainer.length ) { return notificationsContainer; } notificationsContainer = $( '<div class="customize-control-notifications-container"></div>' ); if ( control.container.hasClass( 'customize-control-nav_menu_item' ) ) { control.container.find( '.menu-item-settings:first' ).prepend( notificationsContainer ); } else if ( control.container.hasClass( 'customize-control-widget_form' ) ) { control.container.find( '.widget-inside:first' ).prepend( notificationsContainer ); } else { controlTitle = control.container.find( '.customize-control-title' ); if ( controlTitle.length ) { controlTitle.after( notificationsContainer ); } else { control.container.prepend( notificationsContainer ); } } return notificationsContainer; }, /** * Set up notifications. * * @since 4.9.0 * @return {void} */ setupNotifications: function() { var control = this, renderNotificationsIfVisible, onSectionAssigned; // Add setting notifications to the control notification. _.each( control.settings, function( setting ) { if ( ! setting.notifications ) { return; } setting.notifications.bind( 'add', function( settingNotification ) { var params = _.extend( {}, settingNotification, { setting: setting.id } ); control.notifications.add( new api.Notification( setting.id + ':' + settingNotification.code, params ) ); } ); setting.notifications.bind( 'remove', function( settingNotification ) { control.notifications.remove( setting.id + ':' + settingNotification.code ); } ); } ); renderNotificationsIfVisible = function() { var sectionId = control.section(); if ( ! sectionId || ( api.section.has( sectionId ) && api.section( sectionId ).expanded() ) ) { control.notifications.render(); } }; control.notifications.bind( 'rendered', function() { var notifications = control.notifications.get(); control.container.toggleClass( 'has-notifications', 0 !== notifications.length ); control.container.toggleClass( 'has-error', 0 !== _.where( notifications, { type: 'error' } ).length ); } ); onSectionAssigned = function( newSectionId, oldSectionId ) { if ( oldSectionId && api.section.has( oldSectionId ) ) { api.section( oldSectionId ).expanded.unbind( renderNotificationsIfVisible ); } if ( newSectionId ) { api.section( newSectionId, function( section ) { section.expanded.bind( renderNotificationsIfVisible ); renderNotificationsIfVisible(); }); } }; control.section.bind( onSectionAssigned ); onSectionAssigned( control.section.get() ); control.notifications.bind( 'change', _.debounce( renderNotificationsIfVisible ) ); }, /** * Render notifications. * * Renders the `control.notifications` into the control's container. * Control subclasses may override this method to do their own handling * of rendering notifications. * * @deprecated in favor of `control.notifications.render()` * @since 4.6.0 * @this {wp.customize.Control} */ renderNotifications: function() { var control = this, container, notifications, hasError = false; if ( 'undefined' !== typeof console && console.warn ) { console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantiating a wp.customize.Notifications and calling its render() method.' ); } container = control.getNotificationsContainerElement(); if ( ! container || ! container.length ) { return; } notifications = []; control.notifications.each( function( notification ) { notifications.push( notification ); if ( 'error' === notification.type ) { hasError = true; } } ); if ( 0 === notifications.length ) { container.stop().slideUp( 'fast' ); } else { container.stop().slideDown( 'fast', null, function() { $( this ).css( 'height', 'auto' ); } ); } if ( ! control.notificationsTemplate ) { control.notificationsTemplate = wp.template( 'customize-control-notifications' ); } control.container.toggleClass( 'has-notifications', 0 !== notifications.length ); control.container.toggleClass( 'has-error', hasError ); container.empty().append( control.notificationsTemplate( { notifications: notifications, altNotice: Boolean( control.altNotice ) } ).trim() ); }, /** * Normal controls do not expand, so just expand its parent * * @param {Object} [params] */ expand: function ( params ) { api.section( this.section() ).expand( params ); }, /* * Documented using @borrows in the constructor. */ focus: focus, /** * Update UI in response to a change in the control's active state. * This does not change the active state, it merely handles the behavior * for when it does change. * * @since 4.1.0 * * @param {boolean} active * @param {Object} args * @param {number} args.duration * @param {Function} args.completeCallback */ onChangeActive: function ( active, args ) { if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); } return; } if ( ! $.contains( document, this.container[0] ) ) { // jQuery.fn.slideUp is not hiding an element if it is not in the DOM. this.container.toggle( active ); if ( args.completeCallback ) { args.completeCallback(); } } else if ( active ) { this.container.slideDown( args.duration, args.completeCallback ); } else { this.container.slideUp( args.duration, args.completeCallback ); } }, /** * @deprecated 4.1.0 Use this.onChangeActive() instead. */ toggle: function ( active ) { return this.onChangeActive( active, this.defaultActiveArguments ); }, /* * Documented using @borrows in the constructor */ activate: Container.prototype.activate, /* * Documented using @borrows in the constructor */ deactivate: Container.prototype.deactivate, /* * Documented using @borrows in the constructor */ _toggleActive: Container.prototype._toggleActive, // @todo This function appears to be dead code and can be removed. dropdownInit: function() { var control = this, statuses = this.container.find('.dropdown-status'), params = this.params, toggleFreeze = false, update = function( to ) { if ( 'string' === typeof to && params.statuses && params.statuses[ to ] ) { statuses.html( params.statuses[ to ] ).show(); } else { statuses.hide(); } }; // Support the .dropdown class to open/close complex elements. this.container.on( 'click keydown', '.dropdown', function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); if ( ! toggleFreeze ) { control.container.toggleClass( 'open' ); } if ( control.container.hasClass( 'open' ) ) { control.container.parent().parent().find( 'li.library-selected' ).focus(); } // Don't want to fire focus and click at same time. toggleFreeze = true; setTimeout(function () { toggleFreeze = false; }, 400); }); this.setting.bind( update ); update( this.setting() ); }, /** * Render the control from its JS template, if it exists. * * The control's container must already exist in the DOM. * * @since 4.1.0 */ renderContent: function () { var control = this, template, standardTypes, templateId, sectionId; standardTypes = [ 'button', 'checkbox', 'date', 'datetime-local', 'email', 'month', 'number', 'password', 'radio', 'range', 'search', 'select', 'tel', 'time', 'text', 'textarea', 'week', 'url' ]; templateId = control.templateSelector; // Use default content template when a standard HTML type is used, // there isn't a more specific template existing, and the control container is empty. if ( templateId === 'customize-control-' + control.params.type + '-content' && _.contains( standardTypes, control.params.type ) && ! document.getElementById( 'tmpl-' + templateId ) && 0 === control.container.children().length ) { templateId = 'customize-control-default-content'; } // Replace the container element's content with the control. if ( document.getElementById( 'tmpl-' + templateId ) ) { template = wp.template( templateId ); if ( template && control.container ) { control.container.html( template( control.params ) ); } } // Re-render notifications after content has been re-rendered. control.notifications.container = control.getNotificationsContainerElement(); sectionId = control.section(); if ( ! sectionId || ( api.section.has( sectionId ) && api.section( sectionId ).expanded() ) ) { control.notifications.render(); } }, /** * Add a new page to a dropdown-pages control reusing menus code for this. * * @since 4.7.0 * @access private * * @return {void} */ addNewPage: function () { var control = this, promise, toggle, container, input, inputError, title, select; if ( 'dropdown-pages' !== control.params.type || ! control.params.allow_addition || ! api.Menus ) { return; } toggle = control.container.find( '.add-new-toggle' ); container = control.container.find( '.new-content-item-wrapper' ); input = control.container.find( '.create-item-input' ); inputError = control.container.find('.create-item-error'); title = input.val(); select = control.container.find( 'select' ); if ( ! title ) { container.addClass( 'form-invalid' ); input.attr('aria-invalid', 'true'); input.attr('aria-describedby', inputError.attr('id')); inputError.slideDown( 'fast' ); wp.a11y.speak( inputError.text() ); return; } container.removeClass( 'form-invalid' ); input.attr('aria-invalid', 'false'); input.removeAttr('aria-describedby'); inputError.hide(); input.attr( 'disabled', 'disabled' ); // The menus functions add the page, publish when appropriate, // and also add the new page to the dropdown-pages controls. promise = api.Menus.insertAutoDraftPost( { post_title: title, post_type: 'page' } ); promise.done( function( data ) { var availableItem, $content, itemTemplate; // Prepare the new page as an available menu item. // See api.Menus.submitNew(). availableItem = new api.Menus.AvailableItemModel( { 'id': 'post-' + data.post_id, // Used for available menu item Backbone models. 'title': title, 'type': 'post_type', 'type_label': api.Menus.data.l10n.page_label, 'object': 'page', 'object_id': data.post_id, 'url': data.url } ); // Add the new item to the list of available menu items. api.Menus.availableMenuItemsPanel.collection.add( availableItem ); $content = $( '#available-menu-items-post_type-page' ).find( '.available-menu-items-list' ); itemTemplate = wp.template( 'available-menu-item' ); $content.prepend( itemTemplate( availableItem.attributes ) ); // Focus the select control. select.focus(); control.setting.set( String( data.post_id ) ); // Triggers a preview refresh and updates the setting. // Reset the create page form. container.slideUp( 180 ); toggle.slideDown( 180 ); } ); promise.always( function() { input.val( '' ).removeAttr( 'disabled' ); } ); } }); /** * A colorpicker control. * * @class wp.customize.ColorControl * @augments wp.customize.Control */ api.ColorControl = api.Control.extend(/** @lends wp.customize.ColorControl.prototype */{ ready: function() { var control = this, isHueSlider = this.params.mode === 'hue', updating = false, picker; if ( isHueSlider ) { picker = this.container.find( '.color-picker-hue' ); picker.val( control.setting() ).wpColorPicker({ change: function( event, ui ) { updating = true; control.setting( ui.color.h() ); updating = false; } }); } else { picker = this.container.find( '.color-picker-hex' ); picker.val( control.setting() ).wpColorPicker({ change: function() { updating = true; control.setting.set( picker.wpColorPicker( 'color' ) ); updating = false; }, clear: function() { updating = true; control.setting.set( '' ); updating = false; } }); } control.setting.bind( function ( value ) { // Bail if the update came from the control itself. if ( updating ) { return; } picker.val( value ); picker.wpColorPicker( 'color', value ); } ); // Collapse color picker when hitting Esc instead of collapsing the current section. control.container.on( 'keydown', function( event ) { var pickerContainer; if ( 27 !== event.which ) { // Esc. return; } pickerContainer = control.container.find( '.wp-picker-container' ); if ( pickerContainer.hasClass( 'wp-picker-active' ) ) { picker.wpColorPicker( 'close' ); control.container.find( '.wp-color-result' ).focus(); event.stopPropagation(); // Prevent section from being collapsed. } } ); } }); /** * A control that implements the media modal. * * @class wp.customize.MediaControl * @augments wp.customize.Control */ api.MediaControl = api.Control.extend(/** @lends wp.customize.MediaControl.prototype */{ /** * When the control's DOM structure is ready, * set up internal event bindings. */ ready: function() { var control = this; // Shortcut so that we don't have to use _.bind every time we add a callback. _.bindAll( control, 'restoreDefault', 'removeFile', 'openFrame', 'select', 'pausePlayer' ); // Bind events, with delegation to facilitate re-rendering. control.container.on( 'click keydown', '.upload-button', control.openFrame ); control.container.on( 'click keydown', '.upload-button', control.pausePlayer ); control.container.on( 'click keydown', '.thumbnail-image img', control.openFrame ); control.container.on( 'click keydown', '.default-button', control.restoreDefault ); control.container.on( 'click keydown', '.remove-button', control.pausePlayer ); control.container.on( 'click keydown', '.remove-button', control.removeFile ); control.container.on( 'click keydown', '.remove-button', control.cleanupPlayer ); // Resize the player controls when it becomes visible (ie when section is expanded). api.section( control.section() ).container .on( 'expanded', function() { if ( control.player ) { control.player.setControlsSize(); } }) .on( 'collapsed', function() { control.pausePlayer(); }); /** * Set attachment data and render content. * * Note that BackgroundImage.prototype.ready applies this ready method * to itself. Since BackgroundImage is an UploadControl, the value * is the attachment URL instead of the attachment ID. In this case * we skip fetching the attachment data because we have no ID available, * and it is the responsibility of the UploadControl to set the control's * attachmentData before calling the renderContent method. * * @param {number|string} value Attachment */ function setAttachmentDataAndRenderContent( value ) { var hasAttachmentData = $.Deferred(); if ( control.extended( api.UploadControl ) ) { hasAttachmentData.resolve(); } else { value = parseInt( value, 10 ); if ( _.isNaN( value ) || value <= 0 ) { delete control.params.attachment; hasAttachmentData.resolve(); } else if ( control.params.attachment && control.params.attachment.id === value ) { hasAttachmentData.resolve(); } } // Fetch the attachment data. if ( 'pending' === hasAttachmentData.state() ) { wp.media.attachment( value ).fetch().done( function() { control.params.attachment = this.attributes; hasAttachmentData.resolve(); // Send attachment information to the preview for possible use in `postMessage` transport. wp.customize.previewer.send( control.setting.id + '-attachment-data', this.attributes ); } ); } hasAttachmentData.done( function() { control.renderContent(); } ); } // Ensure attachment data is initially set (for dynamically-instantiated controls). setAttachmentDataAndRenderContent( control.setting() ); // Update the attachment data and re-render the control when the setting changes. control.setting.bind( setAttachmentDataAndRenderContent ); }, pausePlayer: function () { this.player && this.player.pause(); }, cleanupPlayer: function () { this.player && wp.media.mixin.removePlayer( this.player ); }, /** * Open the media modal. */ openFrame: function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); if ( ! this.frame ) { this.initFrame(); } this.frame.open(); }, /** * Create a media modal select frame, and store it so the instance can be reused when needed. */ initFrame: function() { this.frame = wp.media({ button: { text: this.params.button_labels.frame_button }, states: [ new wp.media.controller.Library({ title: this.params.button_labels.frame_title, library: wp.media.query({ type: this.params.mime_type }), multiple: false, date: false }) ] }); // When a file is selected, run a callback. this.frame.on( 'select', this.select ); }, /** * Callback handler for when an attachment is selected in the media modal. * Gets the selected image information, and sets it within the control. */ select: function() { // Get the attachment from the modal frame. var node, attachment = this.frame.state().get( 'selection' ).first().toJSON(), mejsSettings = window._wpmejsSettings || {}; this.params.attachment = attachment; // Set the Customizer setting; the callback takes care of rendering. this.setting( attachment.id ); node = this.container.find( 'audio, video' ).get(0); // Initialize audio/video previews. if ( node ) { this.player = new MediaElementPlayer( node, mejsSettings ); } else { this.cleanupPlayer(); } }, /** * Reset the setting to the default value. */ restoreDefault: function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); this.params.attachment = this.params.defaultAttachment; this.setting( this.params.defaultAttachment.url ); }, /** * Called when the "Remove" link is clicked. Empties the setting. * * @param {Object} event jQuery Event object */ removeFile: function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); this.params.attachment = {}; this.setting( '' ); this.renderContent(); // Not bound to setting change when emptying. } }); /** * An upload control, which utilizes the media modal. * * @class wp.customize.UploadControl * @augments wp.customize.MediaControl */ api.UploadControl = api.MediaControl.extend(/** @lends wp.customize.UploadControl.prototype */{ /** * Callback handler for when an attachment is selected in the media modal. * Gets the selected image information, and sets it within the control. */ select: function() { // Get the attachment from the modal frame. var node, attachment = this.frame.state().get( 'selection' ).first().toJSON(), mejsSettings = window._wpmejsSettings || {}; this.params.attachment = attachment; // Set the Customizer setting; the callback takes care of rendering. this.setting( attachment.url ); node = this.container.find( 'audio, video' ).get(0); // Initialize audio/video previews. if ( node ) { this.player = new MediaElementPlayer( node, mejsSettings ); } else { this.cleanupPlayer(); } }, // @deprecated success: function() {}, // @deprecated removerVisibility: function() {} }); /** * A control for uploading images. * * This control no longer needs to do anything more * than what the upload control does in JS. * * @class wp.customize.ImageControl * @augments wp.customize.UploadControl */ api.ImageControl = api.UploadControl.extend(/** @lends wp.customize.ImageControl.prototype */{ // @deprecated thumbnailSrc: function() {} }); /** * A control for uploading background images. * * @class wp.customize.BackgroundControl * @augments wp.customize.UploadControl */ api.BackgroundControl = api.UploadControl.extend(/** @lends wp.customize.BackgroundControl.prototype */{ /** * When the control's DOM structure is ready, * set up internal event bindings. */ ready: function() { api.UploadControl.prototype.ready.apply( this, arguments ); }, /** * Callback handler for when an attachment is selected in the media modal. * Does an additional Ajax request for setting the background context. */ select: function() { api.UploadControl.prototype.select.apply( this, arguments ); wp.ajax.post( 'custom-background-add', { nonce: _wpCustomizeBackground.nonces.add, wp_customize: 'on', customize_theme: api.settings.theme.stylesheet, attachment_id: this.params.attachment.id } ); } }); /** * A control for positioning a background image. * * @since 4.7.0 * * @class wp.customize.BackgroundPositionControl * @augments wp.customize.Control */ api.BackgroundPositionControl = api.Control.extend(/** @lends wp.customize.BackgroundPositionControl.prototype */{ /** * Set up control UI once embedded in DOM and settings are created. * * @since 4.7.0 * @access public */ ready: function() { var control = this, updateRadios; control.container.on( 'change', 'input[name="background-position"]', function() { var position = $( this ).val().split( ' ' ); control.settings.x( position[0] ); control.settings.y( position[1] ); } ); updateRadios = _.debounce( function() { var x, y, radioInput, inputValue; x = control.settings.x.get(); y = control.settings.y.get(); inputValue = String( x ) + ' ' + String( y ); radioInput = control.container.find( 'input[name="background-position"][value="' + inputValue + '"]' ); radioInput.trigger( 'click' ); } ); control.settings.x.bind( updateRadios ); control.settings.y.bind( updateRadios ); updateRadios(); // Set initial UI. } } ); /** * A control for selecting and cropping an image. * * @class wp.customize.CroppedImageControl * @augments wp.customize.MediaControl */ api.CroppedImageControl = api.MediaControl.extend(/** @lends wp.customize.CroppedImageControl.prototype */{ /** * Open the media modal to the library state. */ openFrame: function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } this.initFrame(); this.frame.setState( 'library' ).open(); }, /** * Create a media modal select frame, and store it so the instance can be reused when needed. */ initFrame: function() { var l10n = _wpMediaViewsL10n; this.frame = wp.media({ button: { text: l10n.select, close: false }, states: [ new wp.media.controller.Library({ title: this.params.button_labels.frame_title, library: wp.media.query({ type: 'image' }), multiple: false, date: false, priority: 20, suggestedWidth: this.params.width, suggestedHeight: this.params.height }), new wp.media.controller.CustomizeImageCropper({ imgSelectOptions: this.calculateImageSelectOptions, control: this }) ] }); this.frame.on( 'select', this.onSelect, this ); this.frame.on( 'cropped', this.onCropped, this ); this.frame.on( 'skippedcrop', this.onSkippedCrop, this ); }, /** * After an image is selected in the media modal, switch to the cropper * state if the image isn't the right size. */ onSelect: function() { var attachment = this.frame.state().get( 'selection' ).first().toJSON(); if ( this.params.width === attachment.width && this.params.height === attachment.height && ! this.params.flex_width && ! this.params.flex_height ) { this.setImageFromAttachment( attachment ); this.frame.close(); } else { this.frame.setState( 'cropper' ); } }, /** * After the image has been cropped, apply the cropped image data to the setting. * * @param {Object} croppedImage Cropped attachment data. */ onCropped: function( croppedImage ) { this.setImageFromAttachment( croppedImage ); }, /** * Returns a set of options, computed from the attached image data and * control-specific data, to be fed to the imgAreaSelect plugin in * wp.media.view.Cropper. * * @param {wp.media.model.Attachment} attachment * @param {wp.media.controller.Cropper} controller * @return {Object} Options */ calculateImageSelectOptions: function( attachment, controller ) { var control = controller.get( 'control' ), flexWidth = !! parseInt( control.params.flex_width, 10 ), flexHeight = !! parseInt( control.params.flex_height, 10 ), realWidth = attachment.get( 'width' ), realHeight = attachment.get( 'height' ), xInit = parseInt( control.params.width, 10 ), yInit = parseInt( control.params.height, 10 ), requiredRatio = xInit / yInit, realRatio = realWidth / realHeight, xImg = xInit, yImg = yInit, x1, y1, imgSelectOptions; controller.set( 'hasRequiredAspectRatio', control.hasRequiredAspectRatio( requiredRatio, realRatio ) ); controller.set( 'suggestedCropSize', { width: realWidth, height: realHeight, x1: 0, y1: 0, x2: xInit, y2: yInit } ); controller.set( 'canSkipCrop', ! control.mustBeCropped( flexWidth, flexHeight, xInit, yInit, realWidth, realHeight ) ); if ( realRatio > requiredRatio ) { yInit = realHeight; xInit = yInit * requiredRatio; } else { xInit = realWidth; yInit = xInit / requiredRatio; } x1 = ( realWidth - xInit ) / 2; y1 = ( realHeight - yInit ) / 2; imgSelectOptions = { handles: true, keys: true, instance: true, persistent: true, imageWidth: realWidth, imageHeight: realHeight, minWidth: xImg > xInit ? xInit : xImg, minHeight: yImg > yInit ? yInit : yImg, x1: x1, y1: y1, x2: xInit + x1, y2: yInit + y1 }; if ( flexHeight === false && flexWidth === false ) { imgSelectOptions.aspectRatio = xInit + ':' + yInit; } if ( true === flexHeight ) { delete imgSelectOptions.minHeight; imgSelectOptions.maxWidth = realWidth; } if ( true === flexWidth ) { delete imgSelectOptions.minWidth; imgSelectOptions.maxHeight = realHeight; } return imgSelectOptions; }, /** * Return whether the image must be cropped, based on required dimensions. * * @param {boolean} flexW Width is flexible. * @param {boolean} flexH Height is flexible. * @param {number} dstW Required width. * @param {number} dstH Required height. * @param {number} imgW Provided image's width. * @param {number} imgH Provided image's height. * @return {boolean} Whether cropping is required. */ mustBeCropped: function( flexW, flexH, dstW, dstH, imgW, imgH ) { if ( true === flexW && true === flexH ) { return false; } if ( true === flexW && dstH === imgH ) { return false; } if ( true === flexH && dstW === imgW ) { return false; } if ( dstW === imgW && dstH === imgH ) { return false; } if ( imgW <= dstW ) { return false; } return true; }, /** * Check if the image's aspect ratio essentially matches the required aspect ratio. * * Floating point precision is low, so this allows a small tolerance. This * tolerance allows for images over 100,000 px on either side to still trigger * the cropping flow. * * @param {number} requiredRatio Required image ratio. * @param {number} realRatio Provided image ratio. * @return {boolean} Whether the image has the required aspect ratio. */ hasRequiredAspectRatio: function ( requiredRatio, realRatio ) { if ( Math.abs( requiredRatio - realRatio ) < 0.000001 ) { return true; } return false; }, /** * If cropping was skipped, apply the image data directly to the setting. */ onSkippedCrop: function() { var attachment = this.frame.state().get( 'selection' ).first().toJSON(); this.setImageFromAttachment( attachment ); }, /** * Updates the setting and re-renders the control UI. * * @param {Object} attachment */ setImageFromAttachment: function( attachment ) { var control = this; this.params.attachment = attachment; // Set the Customizer setting; the callback takes care of rendering. this.setting( attachment.id ); // Set focus to the first relevant button after the icon. _.defer( function() { var firstButton = control.container.find( '.actions .button' ).first(); if ( firstButton.length ) { firstButton.focus(); } } ); } }); /** * A control for selecting and cropping Site Icons. * * @class wp.customize.SiteIconControl * @augments wp.customize.CroppedImageControl */ api.SiteIconControl = api.CroppedImageControl.extend(/** @lends wp.customize.SiteIconControl.prototype */{ /** * Create a media modal select frame, and store it so the instance can be reused when needed. */ initFrame: function() { var l10n = _wpMediaViewsL10n; this.frame = wp.media({ button: { text: l10n.select, close: false }, states: [ new wp.media.controller.Library({ title: this.params.button_labels.frame_title, library: wp.media.query({ type: 'image' }), multiple: false, date: false, priority: 20, suggestedWidth: this.params.width, suggestedHeight: this.params.height }), new wp.media.controller.SiteIconCropper({ imgSelectOptions: this.calculateImageSelectOptions, control: this }) ] }); this.frame.on( 'select', this.onSelect, this ); this.frame.on( 'cropped', this.onCropped, this ); this.frame.on( 'skippedcrop', this.onSkippedCrop, this ); }, /** * After an image is selected in the media modal, switch to the cropper * state if the image isn't the right size. */ onSelect: function() { var attachment = this.frame.state().get( 'selection' ).first().toJSON(), controller = this; if ( this.params.width === attachment.width && this.params.height === attachment.height && ! this.params.flex_width && ! this.params.flex_height ) { wp.ajax.post( 'crop-image', { nonce: attachment.nonces.edit, id: attachment.id, context: 'site-icon', cropDetails: { x1: 0, y1: 0, width: this.params.width, height: this.params.height, dst_width: this.params.width, dst_height: this.params.height } } ).done( function( croppedImage ) { controller.setImageFromAttachment( croppedImage ); controller.frame.close(); } ).fail( function() { controller.frame.trigger('content:error:crop'); } ); } else { this.frame.setState( 'cropper' ); } }, /** * Updates the setting and re-renders the control UI. * * @param {Object} attachment */ setImageFromAttachment: function( attachment ) { var control = this, sizes = [ 'site_icon-32', 'thumbnail', 'full' ], link, icon; _.each( sizes, function( size ) { if ( ! icon && ! _.isUndefined ( attachment.sizes[ size ] ) ) { icon = attachment.sizes[ size ]; } } ); this.params.attachment = attachment; // Set the Customizer setting; the callback takes care of rendering. this.setting( attachment.id ); if ( ! icon ) { return; } // Update the icon in-browser. link = $( 'link[rel="icon"][sizes="32x32"]' ); link.attr( 'href', icon.url ); // Set focus to the first relevant button after the icon. _.defer( function() { var firstButton = control.container.find( '.actions .button' ).first(); if ( firstButton.length ) { firstButton.focus(); } } ); }, /** * Called when the "Remove" link is clicked. Empties the setting. * * @param {Object} event jQuery Event object */ removeFile: function( event ) { if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } event.preventDefault(); this.params.attachment = {}; this.setting( '' ); this.renderContent(); // Not bound to setting change when emptying. $( 'link[rel="icon"][sizes="32x32"]' ).attr( 'href', '/favicon.ico' ); // Set to default. } }); /** * @class wp.customize.HeaderControl * @augments wp.customize.Control */ api.HeaderControl = api.Control.extend(/** @lends wp.customize.HeaderControl.prototype */{ ready: function() { this.btnRemove = $('#customize-control-header_image .actions .remove'); this.btnNew = $('#customize-control-header_image .actions .new'); _.bindAll(this, 'openMedia', 'removeImage'); this.btnNew.on( 'click', this.openMedia ); this.btnRemove.on( 'click', this.removeImage ); api.HeaderTool.currentHeader = this.getInitialHeaderImage(); new api.HeaderTool.CurrentView({ model: api.HeaderTool.currentHeader, el: '#customize-control-header_image .current .container' }); new api.HeaderTool.ChoiceListView({ collection: api.HeaderTool.UploadsList = new api.HeaderTool.ChoiceList(), el: '#customize-control-header_image .choices .uploaded .list' }); new api.HeaderTool.ChoiceListView({ collection: api.HeaderTool.DefaultsList = new api.HeaderTool.DefaultsList(), el: '#customize-control-header_image .choices .default .list' }); api.HeaderTool.combinedList = api.HeaderTool.CombinedList = new api.HeaderTool.CombinedList([ api.HeaderTool.UploadsList, api.HeaderTool.DefaultsList ]); // Ensure custom-header-crop Ajax requests bootstrap the Customizer to activate the previewed theme. wp.media.controller.Cropper.prototype.defaults.doCropArgs.wp_customize = 'on'; wp.media.controller.Cropper.prototype.defaults.doCropArgs.customize_theme = api.settings.theme.stylesheet; }, /** * Returns a new instance of api.HeaderTool.ImageModel based on the currently * saved header image (if any). * * @since 4.2.0 * * @return {Object} Options */ getInitialHeaderImage: function() { if ( ! api.get().header_image || ! api.get().header_image_data || _.contains( [ 'remove-header', 'random-default-image', 'random-uploaded-image' ], api.get().header_image ) ) { return new api.HeaderTool.ImageModel(); } // Get the matching uploaded image object. var currentHeaderObject = _.find( _wpCustomizeHeader.uploads, function( imageObj ) { return ( imageObj.attachment_id === api.get().header_image_data.attachment_id ); } ); // Fall back to raw current header image. if ( ! currentHeaderObject ) { currentHeaderObject = { url: api.get().header_image, thumbnail_url: api.get().header_image, attachment_id: api.get().header_image_data.attachment_id }; } return new api.HeaderTool.ImageModel({ header: currentHeaderObject, choice: currentHeaderObject.url.split( '/' ).pop() }); }, /** * Returns a set of options, computed from the attached image data and * theme-specific data, to be fed to the imgAreaSelect plugin in * wp.media.view.Cropper. * * @param {wp.media.model.Attachment} attachment * @param {wp.media.controller.Cropper} controller * @return {Object} Options */ calculateImageSelectOptions: function(attachment, controller) { var xInit = parseInt(_wpCustomizeHeader.data.width, 10), yInit = parseInt(_wpCustomizeHeader.data.height, 10), flexWidth = !! parseInt(_wpCustomizeHeader.data['flex-width'], 10), flexHeight = !! parseInt(_wpCustomizeHeader.data['flex-height'], 10), ratio, xImg, yImg, realHeight, realWidth, imgSelectOptions; realWidth = attachment.get('width'); realHeight = attachment.get('height'); this.headerImage = new api.HeaderTool.ImageModel(); this.headerImage.set({ themeWidth: xInit, themeHeight: yInit, themeFlexWidth: flexWidth, themeFlexHeight: flexHeight, imageWidth: realWidth, imageHeight: realHeight }); controller.set( 'canSkipCrop', ! this.headerImage.shouldBeCropped() ); ratio = xInit / yInit; xImg = realWidth; yImg = realHeight; if ( xImg / yImg > ratio ) { yInit = yImg; xInit = yInit * ratio; } else { xInit = xImg; yInit = xInit / ratio; } imgSelectOptions = { handles: true, keys: true, instance: true, persistent: true, imageWidth: realWidth, imageHeight: realHeight, x1: 0, y1: 0, x2: xInit, y2: yInit }; if (flexHeight === false && flexWidth === false) { imgSelectOptions.aspectRatio = xInit + ':' + yInit; } if (flexHeight === false ) { imgSelectOptions.maxHeight = yInit; } if (flexWidth === false ) { imgSelectOptions.maxWidth = xInit; } return imgSelectOptions; }, /** * Sets up and opens the Media Manager in order to select an image. * Depending on both the size of the image and the properties of the * current theme, a cropping step after selection may be required or * skippable. * * @param {event} event */ openMedia: function(event) { var l10n = _wpMediaViewsL10n; event.preventDefault(); this.frame = wp.media({ button: { text: l10n.selectAndCrop, close: false }, states: [ new wp.media.controller.Library({ title: l10n.chooseImage, library: wp.media.query({ type: 'image' }), multiple: false, date: false, priority: 20, suggestedWidth: _wpCustomizeHeader.data.width, suggestedHeight: _wpCustomizeHeader.data.height }), new wp.media.controller.Cropper({ imgSelectOptions: this.calculateImageSelectOptions }) ] }); this.frame.on('select', this.onSelect, this); this.frame.on('cropped', this.onCropped, this); this.frame.on('skippedcrop', this.onSkippedCrop, this); this.frame.open(); }, /** * After an image is selected in the media modal, * switch to the cropper state. */ onSelect: function() { this.frame.setState('cropper'); }, /** * After the image has been cropped, apply the cropped image data to the setting. * * @param {Object} croppedImage Cropped attachment data. */ onCropped: function(croppedImage) { var url = croppedImage.url, attachmentId = croppedImage.attachment_id, w = croppedImage.width, h = croppedImage.height; this.setImageFromURL(url, attachmentId, w, h); }, /** * If cropping was skipped, apply the image data directly to the setting. * * @param {Object} selection */ onSkippedCrop: function(selection) { var url = selection.get('url'), w = selection.get('width'), h = selection.get('height'); this.setImageFromURL(url, selection.id, w, h); }, /** * Creates a new wp.customize.HeaderTool.ImageModel from provided * header image data and inserts it into the user-uploaded headers * collection. * * @param {string} url * @param {number} attachmentId * @param {number} width * @param {number} height */ setImageFromURL: function(url, attachmentId, width, height) { var choice, data = {}; data.url = url; data.thumbnail_url = url; data.timestamp = _.now(); if (attachmentId) { data.attachment_id = attachmentId; } if (width) { data.width = width; } if (height) { data.height = height; } choice = new api.HeaderTool.ImageModel({ header: data, choice: url.split('/').pop() }); api.HeaderTool.UploadsList.add(choice); api.HeaderTool.currentHeader.set(choice.toJSON()); choice.save(); choice.importImage(); }, /** * Triggers the necessary events to deselect an image which was set as * the currently selected one. */ removeImage: function() { api.HeaderTool.currentHeader.trigger('hide'); api.HeaderTool.CombinedList.trigger('control:removeImage'); } }); /** * wp.customize.ThemeControl * * @class wp.customize.ThemeControl * @augments wp.customize.Control */ api.ThemeControl = api.Control.extend(/** @lends wp.customize.ThemeControl.prototype */{ touchDrag: false, screenshotRendered: false, /** * @since 4.2.0 */ ready: function() { var control = this, panel = api.panel( 'themes' ); function disableSwitchButtons() { return ! panel.canSwitchTheme( control.params.theme.id ); } // Temporary special function since supplying SFTP credentials does not work yet. See #42184. function disableInstallButtons() { return disableSwitchButtons() || false === api.settings.theme._canInstall || true === api.settings.theme._filesystemCredentialsNeeded; } function updateButtons() { control.container.find( 'button.preview, button.preview-theme' ).toggleClass( 'disabled', disableSwitchButtons() ); control.container.find( 'button.theme-install' ).toggleClass( 'disabled', disableInstallButtons() ); } api.state( 'selectedChangesetStatus' ).bind( updateButtons ); api.state( 'changesetStatus' ).bind( updateButtons ); updateButtons(); control.container.on( 'touchmove', '.theme', function() { control.touchDrag = true; }); // Bind details view trigger. control.container.on( 'click keydown touchend', '.theme', function( event ) { var section; if ( api.utils.isKeydownButNotEnterEvent( event ) ) { return; } // Bail if the user scrolled on a touch device. if ( control.touchDrag === true ) { return control.touchDrag = false; } // Prevent the modal from showing when the user clicks the action button. if ( $( event.target ).is( '.theme-actions .button, .update-theme' ) ) { return; } event.preventDefault(); // Keep this AFTER the key filter above. section = api.section( control.section() ); section.showDetails( control.params.theme, function() { // Temporary special function since supplying SFTP credentials does not work yet. See #42184. if ( api.settings.theme._filesystemCredentialsNeeded ) { section.overlay.find( '.theme-actions .delete-theme' ).remove(); } } ); }); control.container.on( 'render-screenshot', function() { var $screenshot = $( this ).find( 'img' ), source = $screenshot.data( 'src' ); if ( source ) { $screenshot.attr( 'src', source ); } control.screenshotRendered = true; }); }, /** * Show or hide the theme based on the presence of the term in the title, description, tags, and author. * * @since 4.2.0 * @param {Array} terms - An array of terms to search for. * @return {boolean} Whether a theme control was activated or not. */ filter: function( terms ) { var control = this, matchCount = 0, haystack = control.params.theme.name + ' ' + control.params.theme.description + ' ' + control.params.theme.tags + ' ' + control.params.theme.author + ' '; haystack = haystack.toLowerCase().replace( '-', ' ' ); // Back-compat for behavior in WordPress 4.2.0 to 4.8.X. if ( ! _.isArray( terms ) ) { terms = [ terms ]; } // Always give exact name matches highest ranking. if ( control.params.theme.name.toLowerCase() === terms.join( ' ' ) ) { matchCount = 100; } else { // Search for and weight (by 10) complete term matches. matchCount = matchCount + 10 * ( haystack.split( terms.join( ' ' ) ).length - 1 ); // Search for each term individually (as whole-word and partial match) and sum weighted match counts. _.each( terms, function( term ) { matchCount = matchCount + 2 * ( haystack.split( term + ' ' ).length - 1 ); // Whole-word, double-weighted. matchCount = matchCount + haystack.split( term ).length - 1; // Partial word, to minimize empty intermediate searches while typing. }); // Upper limit on match ranking. if ( matchCount > 99 ) { matchCount = 99; } } if ( 0 !== matchCount ) { control.activate(); control.params.priority = 101 - matchCount; // Sort results by match count. return true; } else { control.deactivate(); // Hide control. control.params.priority = 101; return false; } }, /** * Rerender the theme from its JS template with the installed type. * * @since 4.9.0 * * @return {void} */ rerenderAsInstalled: function( installed ) { var control = this, section; if ( installed ) { control.params.theme.type = 'installed'; } else { section = api.section( control.params.section ); control.params.theme.type = section.params.action; } control.renderContent(); // Replaces existing content. control.container.trigger( 'render-screenshot' ); } }); /** * Class wp.customize.CodeEditorControl * * @since 4.9.0 * * @class wp.customize.CodeEditorControl * @augments wp.customize.Control */ api.CodeEditorControl = api.Control.extend(/** @lends wp.customize.CodeEditorControl.prototype */{ /** * Initialize. * * @since 4.9.0 * @param {string} id - Unique identifier for the control instance. * @param {Object} options - Options hash for the control instance. * @return {void} */ initialize: function( id, options ) { var control = this; control.deferred = _.extend( control.deferred || {}, { codemirror: $.Deferred() } ); api.Control.prototype.initialize.call( control, id, options ); // Note that rendering is debounced so the props will be used when rendering happens after add event. control.notifications.bind( 'add', function( notification ) { // Skip if control notification is not from setting csslint_error notification. if ( notification.code !== control.setting.id + ':csslint_error' ) { return; } // Customize the template and behavior of csslint_error notifications. notification.templateId = 'customize-code-editor-lint-error-notification'; notification.render = (function( render ) { return function() { var li = render.call( this ); li.find( 'input[type=checkbox]' ).on( 'click', function() { control.setting.notifications.remove( 'csslint_error' ); } ); return li; }; })( notification.render ); } ); }, /** * Initialize the editor when the containing section is ready and expanded. * * @since 4.9.0 * @return {void} */ ready: function() { var control = this; if ( ! control.section() ) { control.initEditor(); return; } // Wait to initialize editor until section is embedded and expanded. api.section( control.section(), function( section ) { section.deferred.embedded.done( function() { var onceExpanded; if ( section.expanded() ) { control.initEditor(); } else { onceExpanded = function( isExpanded ) { if ( isExpanded ) { control.initEditor(); section.expanded.unbind( onceExpanded ); } }; section.expanded.bind( onceExpanded ); } } ); } ); }, /** * Initialize editor. * * @since 4.9.0 * @return {void} */ initEditor: function() { var control = this, element, editorSettings = false; // Obtain editorSettings for instantiation. if ( wp.codeEditor && ( _.isUndefined( control.params.editor_settings ) || false !== control.params.editor_settings ) ) { // Obtain default editor settings. editorSettings = wp.codeEditor.defaultSettings ? _.clone( wp.codeEditor.defaultSettings ) : {}; editorSettings.codemirror = _.extend( {}, editorSettings.codemirror, { indentUnit: 2, tabSize: 2 } ); // Merge editor_settings param on top of defaults. if ( _.isObject( control.params.editor_settings ) ) { _.each( control.params.editor_settings, function( value, key ) { if ( _.isObject( value ) ) { editorSettings[ key ] = _.extend( {}, editorSettings[ key ], value ); } } ); } } element = new api.Element( control.container.find( 'textarea' ) ); control.elements.push( element ); element.sync( control.setting ); element.set( control.setting() ); if ( editorSettings ) { control.initSyntaxHighlightingEditor( editorSettings ); } else { control.initPlainTextareaEditor(); } }, /** * Make sure editor gets focused when control is focused. * * @since 4.9.0 * @param {Object} [params] - Focus params. * @param {Function} [params.completeCallback] - Function to call when expansion is complete. * @return {void} */ focus: function( params ) { var control = this, extendedParams = _.extend( {}, params ), originalCompleteCallback; originalCompleteCallback = extendedParams.completeCallback; extendedParams.completeCallback = function() { if ( originalCompleteCallback ) { originalCompleteCallback(); } if ( control.editor ) { control.editor.codemirror.focus(); } }; api.Control.prototype.focus.call( control, extendedParams ); }, /** * Initialize syntax-highlighting editor. * * @since 4.9.0 * @param {Object} codeEditorSettings - Code editor settings. * @return {void} */ initSyntaxHighlightingEditor: function( codeEditorSettings ) { var control = this, $textarea = control.container.find( 'textarea' ), settings, suspendEditorUpdate = false; settings = _.extend( {}, codeEditorSettings, { onTabNext: _.bind( control.onTabNext, control ), onTabPrevious: _.bind( control.onTabPrevious, control ), onUpdateErrorNotice: _.bind( control.onUpdateErrorNotice, control ) }); control.editor = wp.codeEditor.initialize( $textarea, settings ); // Improve the editor accessibility. $( control.editor.codemirror.display.lineDiv ) .attr({ role: 'textbox', 'aria-multiline': 'true', 'aria-label': control.params.label, 'aria-describedby': 'editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4' }); // Focus the editor when clicking on its label. control.container.find( 'label' ).on( 'click', function() { control.editor.codemirror.focus(); }); /* * When the CodeMirror instance changes, mirror to the textarea, * where we have our "true" change event handler bound. */ control.editor.codemirror.on( 'change', function( codemirror ) { suspendEditorUpdate = true; $textarea.val( codemirror.getValue() ).trigger( 'change' ); suspendEditorUpdate = false; }); // Update CodeMirror when the setting is changed by another plugin. control.setting.bind( function( value ) { if ( ! suspendEditorUpdate ) { control.editor.codemirror.setValue( value ); } }); // Prevent collapsing section when hitting Esc to tab out of editor. control.editor.codemirror.on( 'keydown', function onKeydown( codemirror, event ) { var escKeyCode = 27; if ( escKeyCode === event.keyCode ) { event.stopPropagation(); } }); control.deferred.codemirror.resolveWith( control, [ control.editor.codemirror ] ); }, /** * Handle tabbing to the field after the editor. * * @since 4.9.0 * @return {void} */ onTabNext: function onTabNext() { var control = this, controls, controlIndex, section; section = api.section( control.section() ); controls = section.controls(); controlIndex = controls.indexOf( control ); if ( controls.length === controlIndex + 1 ) { $( '#customize-footer-actions .collapse-sidebar' ).trigger( 'focus' ); } else { controls[ controlIndex + 1 ].container.find( ':focusable:first' ).focus(); } }, /** * Handle tabbing to the field before the editor. * * @since 4.9.0 * @return {void} */ onTabPrevious: function onTabPrevious() { var control = this, controls, controlIndex, section; section = api.section( control.section() ); controls = section.controls(); controlIndex = controls.indexOf( control ); if ( 0 === controlIndex ) { section.contentContainer.find( '.customize-section-title .customize-help-toggle, .customize-section-title .customize-section-description.open .section-description-close' ).last().focus(); } else { controls[ controlIndex - 1 ].contentContainer.find( ':focusable:first' ).focus(); } }, /** * Update error notice. * * @since 4.9.0 * @param {Array} errorAnnotations - Error annotations. * @return {void} */ onUpdateErrorNotice: function onUpdateErrorNotice( errorAnnotations ) { var control = this, message; control.setting.notifications.remove( 'csslint_error' ); if ( 0 !== errorAnnotations.length ) { if ( 1 === errorAnnotations.length ) { message = api.l10n.customCssError.singular.replace( '%d', '1' ); } else { message = api.l10n.customCssError.plural.replace( '%d', String( errorAnnotations.length ) ); } control.setting.notifications.add( new api.Notification( 'csslint_error', { message: message, type: 'error' } ) ); } }, /** * Initialize plain-textarea editor when syntax highlighting is disabled. * * @since 4.9.0 * @return {void} */ initPlainTextareaEditor: function() { var control = this, $textarea = control.container.find( 'textarea' ), textarea = $textarea[0]; $textarea.on( 'blur', function onBlur() { $textarea.data( 'next-tab-blurs', false ); } ); $textarea.on( 'keydown', function onKeydown( event ) { var selectionStart, selectionEnd, value, tabKeyCode = 9, escKeyCode = 27; if ( escKeyCode === event.keyCode ) { if ( ! $textarea.data( 'next-tab-blurs' ) ) { $textarea.data( 'next-tab-blurs', true ); event.stopPropagation(); // Prevent collapsing the section. } return; } // Short-circuit if tab key is not being pressed or if a modifier key *is* being pressed. if ( tabKeyCode !== event.keyCode || event.ctrlKey || event.altKey || event.shiftKey ) { return; } // Prevent capturing Tab characters if Esc was pressed. if ( $textarea.data( 'next-tab-blurs' ) ) { return; } selectionStart = textarea.selectionStart; selectionEnd = textarea.selectionEnd; value = textarea.value; if ( selectionStart >= 0 ) { textarea.value = value.substring( 0, selectionStart ).concat( '\t', value.substring( selectionEnd ) ); $textarea.selectionStart = textarea.selectionEnd = selectionStart + 1; } event.stopPropagation(); event.preventDefault(); }); control.deferred.codemirror.rejectWith( control ); } }); /** * Class wp.customize.DateTimeControl. * * @since 4.9.0 * @class wp.customize.DateTimeControl * @augments wp.customize.Control */ api.DateTimeControl = api.Control.extend(/** @lends wp.customize.DateTimeControl.prototype */{ /** * Initialize behaviors. * * @since 4.9.0 * @return {void} */ ready: function ready() { var control = this; control.inputElements = {}; control.invalidDate = false; _.bindAll( control, 'populateSetting', 'updateDaysForMonth', 'populateDateInputs' ); if ( ! control.setting ) { throw new Error( 'Missing setting' ); } control.container.find( '.date-input' ).each( function() { var input = $( this ), component, element; component = input.data( 'component' ); element = new api.Element( input ); control.inputElements[ component ] = element; control.elements.push( element ); // Add invalid date error once user changes (and has blurred the input). input.on( 'change', function() { if ( control.invalidDate ) { control.notifications.add( new api.Notification( 'invalid_date', { message: api.l10n.invalidDate } ) ); } } ); // Remove the error immediately after validity change. input.on( 'input', _.debounce( function() { if ( ! control.invalidDate ) { control.notifications.remove( 'invalid_date' ); } } ) ); // Add zero-padding when blurring field. input.on( 'blur', _.debounce( function() { if ( ! control.invalidDate ) { control.populateDateInputs(); } } ) ); } ); control.inputElements.month.bind( control.updateDaysForMonth ); control.inputElements.year.bind( control.updateDaysForMonth ); control.populateDateInputs(); control.setting.bind( control.populateDateInputs ); // Start populating setting after inputs have been populated. _.each( control.inputElements, function( element ) { element.bind( control.populateSetting ); } ); }, /** * Parse datetime string. * * @since 4.9.0 * * @param {string} datetime - Date/Time string. Accepts Y-m-d[ H:i[:s]] format. * @return {Object|null} Returns object containing date components or null if parse error. */ parseDateTime: function parseDateTime( datetime ) { var control = this, matches, date, midDayHour = 12; if ( datetime ) { matches = datetime.match( /^(\d\d\d\d)-(\d\d)-(\d\d)(?: (\d\d):(\d\d)(?::(\d\d))?)?$/ ); } if ( ! matches ) { return null; } matches.shift(); date = { year: matches.shift(), month: matches.shift(), day: matches.shift(), hour: matches.shift() || '00', minute: matches.shift() || '00', second: matches.shift() || '00' }; if ( control.params.includeTime && control.params.twelveHourFormat ) { date.hour = parseInt( date.hour, 10 ); date.meridian = date.hour >= midDayHour ? 'pm' : 'am'; date.hour = date.hour % midDayHour ? String( date.hour % midDayHour ) : String( midDayHour ); delete date.second; // @todo Why only if twelveHourFormat? } return date; }, /** * Validates if input components have valid date and time. * * @since 4.9.0 * @return {boolean} If date input fields has error. */ validateInputs: function validateInputs() { var control = this, components, validityInput; control.invalidDate = false; components = [ 'year', 'day' ]; if ( control.params.includeTime ) { components.push( 'hour', 'minute' ); } _.find( components, function( component ) { var element, max, min, value; element = control.inputElements[ component ]; validityInput = element.element.get( 0 ); max = parseInt( element.element.attr( 'max' ), 10 ); min = parseInt( element.element.attr( 'min' ), 10 ); value = parseInt( element(), 10 ); control.invalidDate = isNaN( value ) || value > max || value < min; if ( ! control.invalidDate ) { validityInput.setCustomValidity( '' ); } return control.invalidDate; } ); if ( control.inputElements.meridian && ! control.invalidDate ) { validityInput = control.inputElements.meridian.element.get( 0 ); if ( 'am' !== control.inputElements.meridian.get() && 'pm' !== control.inputElements.meridian.get() ) { control.invalidDate = true; } else { validityInput.setCustomValidity( '' ); } } if ( control.invalidDate ) { validityInput.setCustomValidity( api.l10n.invalidValue ); } else { validityInput.setCustomValidity( '' ); } if ( ! control.section() || api.section.has( control.section() ) && api.section( control.section() ).expanded() ) { _.result( validityInput, 'reportValidity' ); } return control.invalidDate; }, /** * Updates number of days according to the month and year selected. * * @since 4.9.0 * @return {void} */ updateDaysForMonth: function updateDaysForMonth() { var control = this, daysInMonth, year, month, day; month = parseInt( control.inputElements.month(), 10 ); year = parseInt( control.inputElements.year(), 10 ); day = parseInt( control.inputElements.day(), 10 ); if ( month && year ) { daysInMonth = new Date( year, month, 0 ).getDate(); control.inputElements.day.element.attr( 'max', daysInMonth ); if ( day > daysInMonth ) { control.inputElements.day( String( daysInMonth ) ); } } }, /** * Populate setting value from the inputs. * * @since 4.9.0 * @return {boolean} If setting updated. */ populateSetting: function populateSetting() { var control = this, date; if ( control.validateInputs() || ! control.params.allowPastDate && ! control.isFutureDate() ) { return false; } date = control.convertInputDateToString(); control.setting.set( date ); return true; }, /** * Converts input values to string in Y-m-d H:i:s format. * * @since 4.9.0 * @return {string} Date string. */ convertInputDateToString: function convertInputDateToString() { var control = this, date = '', dateFormat, hourInTwentyFourHourFormat, getElementValue, pad; pad = function( number, padding ) { var zeros; if ( String( number ).length < padding ) { zeros = padding - String( number ).length; number = Math.pow( 10, zeros ).toString().substr( 1 ) + String( number ); } return number; }; getElementValue = function( component ) { var value = parseInt( control.inputElements[ component ].get(), 10 ); if ( _.contains( [ 'month', 'day', 'hour', 'minute' ], component ) ) { value = pad( value, 2 ); } else if ( 'year' === component ) { value = pad( value, 4 ); } return value; }; dateFormat = [ 'year', '-', 'month', '-', 'day' ]; if ( control.params.includeTime ) { hourInTwentyFourHourFormat = control.inputElements.meridian ? control.convertHourToTwentyFourHourFormat( control.inputElements.hour(), control.inputElements.meridian() ) : control.inputElements.hour(); dateFormat = dateFormat.concat( [ ' ', pad( hourInTwentyFourHourFormat, 2 ), ':', 'minute', ':', '00' ] ); } _.each( dateFormat, function( component ) { date += control.inputElements[ component ] ? getElementValue( component ) : component; } ); return date; }, /** * Check if the date is in the future. * * @since 4.9.0 * @return {boolean} True if future date. */ isFutureDate: function isFutureDate() { var control = this; return 0 < api.utils.getRemainingTime( control.convertInputDateToString() ); }, /** * Convert hour in twelve hour format to twenty four hour format. * * @since 4.9.0 * @param {string} hourInTwelveHourFormat - Hour in twelve hour format. * @param {string} meridian - Either 'am' or 'pm'. * @return {string} Hour in twenty four hour format. */ convertHourToTwentyFourHourFormat: function convertHour( hourInTwelveHourFormat, meridian ) { var hourInTwentyFourHourFormat, hour, midDayHour = 12; hour = parseInt( hourInTwelveHourFormat, 10 ); if ( isNaN( hour ) ) { return ''; } if ( 'pm' === meridian && hour < midDayHour ) { hourInTwentyFourHourFormat = hour + midDayHour; } else if ( 'am' === meridian && midDayHour === hour ) { hourInTwentyFourHourFormat = hour - midDayHour; } else { hourInTwentyFourHourFormat = hour; } return String( hourInTwentyFourHourFormat ); }, /** * Populates date inputs in date fields. * * @since 4.9.0 * @return {boolean} Whether the inputs were populated. */ populateDateInputs: function populateDateInputs() { var control = this, parsed; parsed = control.parseDateTime( control.setting.get() ); if ( ! parsed ) { return false; } _.each( control.inputElements, function( element, component ) { var value = parsed[ component ]; // This will be zero-padded string. // Set month and meridian regardless of focused state since they are dropdowns. if ( 'month' === component || 'meridian' === component ) { // Options in dropdowns are not zero-padded. value = value.replace( /^0/, '' ); element.set( value ); } else { value = parseInt( value, 10 ); if ( ! element.element.is( document.activeElement ) ) { // Populate element with zero-padded value if not focused. element.set( parsed[ component ] ); } else if ( value !== parseInt( element(), 10 ) ) { // Forcibly update the value if its underlying value changed, regardless of zero-padding. element.set( String( value ) ); } } } ); return true; }, /** * Toggle future date notification for date control. * * @since 4.9.0 * @param {boolean} notify Add or remove the notification. * @return {wp.customize.DateTimeControl} */ toggleFutureDateNotification: function toggleFutureDateNotification( notify ) { var control = this, notificationCode, notification; notificationCode = 'not_future_date'; if ( notify ) { notification = new api.Notification( notificationCode, { type: 'error', message: api.l10n.futureDateError } ); control.notifications.add( notification ); } else { control.notifications.remove( notificationCode ); } return control; } }); /** * Class PreviewLinkControl. * * @since 4.9.0 * @class wp.customize.PreviewLinkControl * @augments wp.customize.Control */ api.PreviewLinkControl = api.Control.extend(/** @lends wp.customize.PreviewLinkControl.prototype */{ defaults: _.extend( {}, api.Control.prototype.defaults, { templateId: 'customize-preview-link-control' } ), /** * Initialize behaviors. * * @since 4.9.0 * @return {void} */ ready: function ready() { var control = this, element, component, node, url, input, button; _.bindAll( control, 'updatePreviewLink' ); if ( ! control.setting ) { control.setting = new api.Value(); } control.previewElements = {}; control.container.find( '.preview-control-element' ).each( function() { node = $( this ); component = node.data( 'component' ); element = new api.Element( node ); control.previewElements[ component ] = element; control.elements.push( element ); } ); url = control.previewElements.url; input = control.previewElements.input; button = control.previewElements.button; input.link( control.setting ); url.link( control.setting ); url.bind( function( value ) { url.element.parent().attr( { href: value, target: api.settings.changeset.uuid } ); } ); api.bind( 'ready', control.updatePreviewLink ); api.state( 'saved' ).bind( control.updatePreviewLink ); api.state( 'changesetStatus' ).bind( control.updatePreviewLink ); api.state( 'activated' ).bind( control.updatePreviewLink ); api.previewer.previewUrl.bind( control.updatePreviewLink ); button.element.on( 'click', function( event ) { event.preventDefault(); if ( control.setting() ) { input.element.select(); document.execCommand( 'copy' ); button( button.element.data( 'copied-text' ) ); } } ); url.element.parent().on( 'click', function( event ) { if ( $( this ).hasClass( 'disabled' ) ) { event.preventDefault(); } } ); button.element.on( 'mouseenter', function() { if ( control.setting() ) { button( button.element.data( 'copy-text' ) ); } } ); }, /** * Updates Preview Link * * @since 4.9.0 * @return {void} */ updatePreviewLink: function updatePreviewLink() { var control = this, unsavedDirtyValues; unsavedDirtyValues = ! api.state( 'saved' ).get() || '' === api.state( 'changesetStatus' ).get() || 'auto-draft' === api.state( 'changesetStatus' ).get(); control.toggleSaveNotification( unsavedDirtyValues ); control.previewElements.url.element.parent().toggleClass( 'disabled', unsavedDirtyValues ); control.previewElements.button.element.prop( 'disabled', unsavedDirtyValues ); control.setting.set( api.previewer.getFrontendPreviewUrl() ); }, /** * Toggles save notification. * * @since 4.9.0 * @param {boolean} notify Add or remove notification. * @return {void} */ toggleSaveNotification: function toggleSaveNotification( notify ) { var control = this, notificationCode, notification; notificationCode = 'changes_not_saved'; if ( notify ) { notification = new api.Notification( notificationCode, { type: 'info', message: api.l10n.saveBeforeShare } ); control.notifications.add( notification ); } else { control.notifications.remove( notificationCode ); } } }); /** * Change objects contained within the main customize object to Settings. * * @alias wp.customize.defaultConstructor */ api.defaultConstructor = api.Setting; /** * Callback for resolved controls. * * @callback wp.customize.deferredControlsCallback * @param {wp.customize.Control[]} controls Resolved controls. */ /** * Collection of all registered controls. * * @alias wp.customize.control * * @since 3.4.0 * * @type {Function} * @param {...string} ids - One or more ids for controls to obtain. * @param {deferredControlsCallback} [callback] - Function called when all supplied controls exist. * @return {wp.customize.Control|undefined|jQuery.promise} Control instance or undefined (if function called with one id param), * or promise resolving to requested controls. * * @example <caption>Loop over all registered controls.</caption> * wp.customize.control.each( function( control ) { ... } ); * * @example <caption>Getting `background_color` control instance.</caption> * control = wp.customize.control( 'background_color' ); * * @example <caption>Check if control exists.</caption> * hasControl = wp.customize.control.has( 'background_color' ); * * @example <caption>Deferred getting of `background_color` control until it exists, using callback.</caption> * wp.customize.control( 'background_color', function( control ) { ... } ); * * @example <caption>Get title and tagline controls when they both exist, using promise (only available when multiple IDs are present).</caption> * promise = wp.customize.control( 'blogname', 'blogdescription' ); * promise.done( function( titleControl, taglineControl ) { ... } ); * * @example <caption>Get title and tagline controls when they both exist, using callback.</caption> * wp.customize.control( 'blogname', 'blogdescription', function( titleControl, taglineControl ) { ... } ); * * @example <caption>Getting setting value for `background_color` control.</caption> * value = wp.customize.control( 'background_color ').setting.get(); * value = wp.customize( 'background_color' ).get(); // Same as above, since setting ID and control ID are the same. * * @example <caption>Add new control for site title.</caption> * wp.customize.control.add( new wp.customize.Control( 'other_blogname', { * setting: 'blogname', * type: 'text', * label: 'Site title', * section: 'other_site_identify' * } ) ); * * @example <caption>Remove control.</caption> * wp.customize.control.remove( 'other_blogname' ); * * @example <caption>Listen for control being added.</caption> * wp.customize.control.bind( 'add', function( addedControl ) { ... } ) * * @example <caption>Listen for control being removed.</caption> * wp.customize.control.bind( 'removed', function( removedControl ) { ... } ) */ api.control = new api.Values({ defaultConstructor: api.Control }); /** * Callback for resolved sections. * * @callback wp.customize.deferredSectionsCallback * @param {wp.customize.Section[]} sections Resolved sections. */ /** * Collection of all registered sections. * * @alias wp.customize.section * * @since 3.4.0 * * @type {Function} * @param {...string} ids - One or more ids for sections to obtain. * @param {deferredSectionsCallback} [callback] - Function called when all supplied sections exist. * @return {wp.customize.Section|undefined|jQuery.promise} Section instance or undefined (if function called with one id param), * or promise resolving to requested sections. * * @example <caption>Loop over all registered sections.</caption> * wp.customize.section.each( function( section ) { ... } ) * * @example <caption>Getting `title_tagline` section instance.</caption> * section = wp.customize.section( 'title_tagline' ) * * @example <caption>Expand dynamically-created section when it exists.</caption> * wp.customize.section( 'dynamically_created', function( section ) { * section.expand(); * } ); * * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. */ api.section = new api.Values({ defaultConstructor: api.Section }); /** * Callback for resolved panels. * * @callback wp.customize.deferredPanelsCallback * @param {wp.customize.Panel[]} panels Resolved panels. */ /** * Collection of all registered panels. * * @alias wp.customize.panel * * @since 4.0.0 * * @type {Function} * @param {...string} ids - One or more ids for panels to obtain. * @param {deferredPanelsCallback} [callback] - Function called when all supplied panels exist. * @return {wp.customize.Panel|undefined|jQuery.promise} Panel instance or undefined (if function called with one id param), * or promise resolving to requested panels. * * @example <caption>Loop over all registered panels.</caption> * wp.customize.panel.each( function( panel ) { ... } ) * * @example <caption>Getting nav_menus panel instance.</caption> * panel = wp.customize.panel( 'nav_menus' ); * * @example <caption>Expand dynamically-created panel when it exists.</caption> * wp.customize.panel( 'dynamically_created', function( panel ) { * panel.expand(); * } ); * * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. */ api.panel = new api.Values({ defaultConstructor: api.Panel }); /** * Callback for resolved notifications. * * @callback wp.customize.deferredNotificationsCallback * @param {wp.customize.Notification[]} notifications Resolved notifications. */ /** * Collection of all global notifications. * * @alias wp.customize.notifications * * @since 4.9.0 * * @type {Function} * @param {...string} codes - One or more codes for notifications to obtain. * @param {deferredNotificationsCallback} [callback] - Function called when all supplied notifications exist. * @return {wp.customize.Notification|undefined|jQuery.promise} Notification instance or undefined (if function called with one code param), * or promise resolving to requested notifications. * * @example <caption>Check if existing notification</caption> * exists = wp.customize.notifications.has( 'a_new_day_arrived' ); * * @example <caption>Obtain existing notification</caption> * notification = wp.customize.notifications( 'a_new_day_arrived' ); * * @example <caption>Obtain notification that may not exist yet.</caption> * wp.customize.notifications( 'a_new_day_arrived', function( notification ) { ... } ); * * @example <caption>Add a warning notification.</caption> * wp.customize.notifications.add( new wp.customize.Notification( 'midnight_almost_here', { * type: 'warning', * message: 'Midnight has almost arrived!', * dismissible: true * } ) ); * * @example <caption>Remove a notification.</caption> * wp.customize.notifications.remove( 'a_new_day_arrived' ); * * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. */ api.notifications = new api.Notifications(); api.PreviewFrame = api.Messenger.extend(/** @lends wp.customize.PreviewFrame.prototype */{ sensitivity: null, // Will get set to api.settings.timeouts.previewFrameSensitivity. /** * An object that fetches a preview in the background of the document, which * allows for seamless replacement of an existing preview. * * @constructs wp.customize.PreviewFrame * @augments wp.customize.Messenger * * @param {Object} params.container * @param {Object} params.previewUrl * @param {Object} params.query * @param {Object} options */ initialize: function( params, options ) { var deferred = $.Deferred(); /* * Make the instance of the PreviewFrame the promise object * so other objects can easily interact with it. */ deferred.promise( this ); this.container = params.container; $.extend( params, { channel: api.PreviewFrame.uuid() }); api.Messenger.prototype.initialize.call( this, params, options ); this.add( 'previewUrl', params.previewUrl ); this.query = $.extend( params.query || {}, { customize_messenger_channel: this.channel() }); this.run( deferred ); }, /** * Run the preview request. * * @param {Object} deferred jQuery Deferred object to be resolved with * the request. */ run: function( deferred ) { var previewFrame = this, loaded = false, ready = false, readyData = null, hasPendingChangesetUpdate = '{}' !== previewFrame.query.customized, urlParser, params, form; if ( previewFrame._ready ) { previewFrame.unbind( 'ready', previewFrame._ready ); } previewFrame._ready = function( data ) { ready = true; readyData = data; previewFrame.container.addClass( 'iframe-ready' ); if ( ! data ) { return; } if ( loaded ) { deferred.resolveWith( previewFrame, [ data ] ); } }; previewFrame.bind( 'ready', previewFrame._ready ); urlParser = document.createElement( 'a' ); urlParser.href = previewFrame.previewUrl(); params = _.extend( api.utils.parseQueryString( urlParser.search.substr( 1 ) ), { customize_changeset_uuid: previewFrame.query.customize_changeset_uuid, customize_theme: previewFrame.query.customize_theme, customize_messenger_channel: previewFrame.query.customize_messenger_channel } ); if ( api.settings.changeset.autosaved || ! api.state( 'saved' ).get() ) { params.customize_autosaved = 'on'; } urlParser.search = $.param( params ); previewFrame.iframe = $( '<iframe />', { title: api.l10n.previewIframeTitle, name: 'customize-' + previewFrame.channel() } ); previewFrame.iframe.attr( 'onmousewheel', '' ); // Workaround for Safari bug. See WP Trac #38149. previewFrame.iframe.attr( 'sandbox', 'allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts' ); if ( ! hasPendingChangesetUpdate ) { previewFrame.iframe.attr( 'src', urlParser.href ); } else { previewFrame.iframe.attr( 'data-src', urlParser.href ); // For debugging purposes. } previewFrame.iframe.appendTo( previewFrame.container ); previewFrame.targetWindow( previewFrame.iframe[0].contentWindow ); /* * Submit customized data in POST request to preview frame window since * there are setting value changes not yet written to changeset. */ if ( hasPendingChangesetUpdate ) { form = $( '<form>', { action: urlParser.href, target: previewFrame.iframe.attr( 'name' ), method: 'post', hidden: 'hidden' } ); form.append( $( '<input>', { type: 'hidden', name: '_method', value: 'GET' } ) ); _.each( previewFrame.query, function( value, key ) { form.append( $( '<input>', { type: 'hidden', name: key, value: value } ) ); } ); previewFrame.container.append( form ); form.trigger( 'submit' ); form.remove(); // No need to keep the form around after submitted. } previewFrame.bind( 'iframe-loading-error', function( error ) { previewFrame.iframe.remove(); // Check if the user is not logged in. if ( 0 === error ) { previewFrame.login( deferred ); return; } // Check for cheaters. if ( -1 === error ) { deferred.rejectWith( previewFrame, [ 'cheatin' ] ); return; } deferred.rejectWith( previewFrame, [ 'request failure' ] ); } ); previewFrame.iframe.one( 'load', function() { loaded = true; if ( ready ) { deferred.resolveWith( previewFrame, [ readyData ] ); } else { setTimeout( function() { deferred.rejectWith( previewFrame, [ 'ready timeout' ] ); }, previewFrame.sensitivity ); } }); }, login: function( deferred ) { var self = this, reject; reject = function() { deferred.rejectWith( self, [ 'logged out' ] ); }; if ( this.triedLogin ) { return reject(); } // Check if we have an admin cookie. $.get( api.settings.url.ajax, { action: 'logged-in' }).fail( reject ).done( function( response ) { var iframe; if ( '1' !== response ) { reject(); } iframe = $( '<iframe />', { 'src': self.previewUrl(), 'title': api.l10n.previewIframeTitle } ).hide(); iframe.appendTo( self.container ); iframe.on( 'load', function() { self.triedLogin = true; iframe.remove(); self.run( deferred ); }); }); }, destroy: function() { api.Messenger.prototype.destroy.call( this ); if ( this.iframe ) { this.iframe.remove(); } delete this.iframe; delete this.targetWindow; } }); (function(){ var id = 0; /** * Return an incremented ID for a preview messenger channel. * * This function is named "uuid" for historical reasons, but it is a * misnomer as it is not an actual UUID, and it is not universally unique. * This is not to be confused with `api.settings.changeset.uuid`. * * @return {string} */ api.PreviewFrame.uuid = function() { return 'preview-' + String( id++ ); }; }()); /** * Set the document title of the customizer. * * @alias wp.customize.setDocumentTitle * * @since 4.1.0 * * @param {string} documentTitle */ api.setDocumentTitle = function ( documentTitle ) { var tmpl, title; tmpl = api.settings.documentTitleTmpl; title = tmpl.replace( '%s', documentTitle ); document.title = title; api.trigger( 'title', title ); }; api.Previewer = api.Messenger.extend(/** @lends wp.customize.Previewer.prototype */{ refreshBuffer: null, // Will get set to api.settings.timeouts.windowRefresh. /** * @constructs wp.customize.Previewer * @augments wp.customize.Messenger * * @param {Array} params.allowedUrls * @param {string} params.container A selector or jQuery element for the preview * frame to be placed. * @param {string} params.form * @param {string} params.previewUrl The URL to preview. * @param {Object} options */ initialize: function( params, options ) { var previewer = this, urlParser = document.createElement( 'a' ); $.extend( previewer, options || {} ); previewer.deferred = { active: $.Deferred() }; // Debounce to prevent hammering server and then wait for any pending update requests. previewer.refresh = _.debounce( ( function( originalRefresh ) { return function() { var isProcessingComplete, refreshOnceProcessingComplete; isProcessingComplete = function() { return 0 === api.state( 'processing' ).get(); }; if ( isProcessingComplete() ) { originalRefresh.call( previewer ); } else { refreshOnceProcessingComplete = function() { if ( isProcessingComplete() ) { originalRefresh.call( previewer ); api.state( 'processing' ).unbind( refreshOnceProcessingComplete ); } }; api.state( 'processing' ).bind( refreshOnceProcessingComplete ); } }; }( previewer.refresh ) ), previewer.refreshBuffer ); previewer.container = api.ensure( params.container ); previewer.allowedUrls = params.allowedUrls; params.url = window.location.href; api.Messenger.prototype.initialize.call( previewer, params ); urlParser.href = previewer.origin(); previewer.add( 'scheme', urlParser.protocol.replace( /:$/, '' ) ); /* * Limit the URL to internal, front-end links. * * If the front end and the admin are served from the same domain, load the * preview over ssl if the Customizer is being loaded over ssl. This avoids * insecure content warnings. This is not attempted if the admin and front end * are on different domains to avoid the case where the front end doesn't have * ssl certs. */ previewer.add( 'previewUrl', params.previewUrl ).setter( function( to ) { var result = null, urlParser, queryParams, parsedAllowedUrl, parsedCandidateUrls = []; urlParser = document.createElement( 'a' ); urlParser.href = to; // Abort if URL is for admin or (static) files in wp-includes or wp-content. if ( /\/wp-(admin|includes|content)(\/|$)/.test( urlParser.pathname ) ) { return null; } // Remove state query params. if ( urlParser.search.length > 1 ) { queryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); delete queryParams.customize_changeset_uuid; delete queryParams.customize_theme; delete queryParams.customize_messenger_channel; delete queryParams.customize_autosaved; if ( _.isEmpty( queryParams ) ) { urlParser.search = ''; } else { urlParser.search = $.param( queryParams ); } } parsedCandidateUrls.push( urlParser ); // Prepend list with URL that matches the scheme/protocol of the iframe. if ( previewer.scheme.get() + ':' !== urlParser.protocol ) { urlParser = document.createElement( 'a' ); urlParser.href = parsedCandidateUrls[0].href; urlParser.protocol = previewer.scheme.get() + ':'; parsedCandidateUrls.unshift( urlParser ); } // Attempt to match the URL to the control frame's scheme and check if it's allowed. If not, try the original URL. parsedAllowedUrl = document.createElement( 'a' ); _.find( parsedCandidateUrls, function( parsedCandidateUrl ) { return ! _.isUndefined( _.find( previewer.allowedUrls, function( allowedUrl ) { parsedAllowedUrl.href = allowedUrl; if ( urlParser.protocol === parsedAllowedUrl.protocol && urlParser.host === parsedAllowedUrl.host && 0 === urlParser.pathname.indexOf( parsedAllowedUrl.pathname.replace( /\/$/, '' ) ) ) { result = parsedCandidateUrl.href; return true; } } ) ); } ); return result; }); previewer.bind( 'ready', previewer.ready ); // Start listening for keep-alive messages when iframe first loads. previewer.deferred.active.done( _.bind( previewer.keepPreviewAlive, previewer ) ); previewer.bind( 'synced', function() { previewer.send( 'active' ); } ); // Refresh the preview when the URL is changed (but not yet). previewer.previewUrl.bind( previewer.refresh ); previewer.scroll = 0; previewer.bind( 'scroll', function( distance ) { previewer.scroll = distance; }); // Update the URL when the iframe sends a URL message, resetting scroll position. If URL is unchanged, then refresh. previewer.bind( 'url', function( url ) { var onUrlChange, urlChanged = false; previewer.scroll = 0; onUrlChange = function() { urlChanged = true; }; previewer.previewUrl.bind( onUrlChange ); previewer.previewUrl.set( url ); previewer.previewUrl.unbind( onUrlChange ); if ( ! urlChanged ) { previewer.refresh(); } } ); // Update the document title when the preview changes. previewer.bind( 'documentTitle', function ( title ) { api.setDocumentTitle( title ); } ); }, /** * Handle the preview receiving the ready message. * * @since 4.7.0 * @access public * * @param {Object} data - Data from preview. * @param {string} data.currentUrl - Current URL. * @param {Object} data.activePanels - Active panels. * @param {Object} data.activeSections Active sections. * @param {Object} data.activeControls Active controls. * @return {void} */ ready: function( data ) { var previewer = this, synced = {}, constructs; synced.settings = api.get(); synced['settings-modified-while-loading'] = previewer.settingsModifiedWhileLoading; if ( 'resolved' !== previewer.deferred.active.state() || previewer.loading ) { synced.scroll = previewer.scroll; } synced['edit-shortcut-visibility'] = api.state( 'editShortcutVisibility' ).get(); previewer.send( 'sync', synced ); // Set the previewUrl without causing the url to set the iframe. if ( data.currentUrl ) { previewer.previewUrl.unbind( previewer.refresh ); previewer.previewUrl.set( data.currentUrl ); previewer.previewUrl.bind( previewer.refresh ); } /* * Walk over all panels, sections, and controls and set their * respective active states to true if the preview explicitly * indicates as such. */ constructs = { panel: data.activePanels, section: data.activeSections, control: data.activeControls }; _( constructs ).each( function ( activeConstructs, type ) { api[ type ].each( function ( construct, id ) { var isDynamicallyCreated = _.isUndefined( api.settings[ type + 's' ][ id ] ); /* * If the construct was created statically in PHP (not dynamically in JS) * then consider a missing (undefined) value in the activeConstructs to * mean it should be deactivated (since it is gone). But if it is * dynamically created then only toggle activation if the value is defined, * as this means that the construct was also then correspondingly * created statically in PHP and the active callback is available. * Otherwise, dynamically-created constructs should normally have * their active states toggled in JS rather than from PHP. */ if ( ! isDynamicallyCreated || ! _.isUndefined( activeConstructs[ id ] ) ) { if ( activeConstructs[ id ] ) { construct.activate(); } else { construct.deactivate(); } } } ); } ); if ( data.settingValidities ) { api._handleSettingValidities( { settingValidities: data.settingValidities, focusInvalidControl: false } ); } }, /** * Keep the preview alive by listening for ready and keep-alive messages. * * If a message is not received in the allotted time then the iframe will be set back to the last known valid URL. * * @since 4.7.0 * @access public * * @return {void} */ keepPreviewAlive: function keepPreviewAlive() { var previewer = this, keepAliveTick, timeoutId, handleMissingKeepAlive, scheduleKeepAliveCheck; /** * Schedule a preview keep-alive check. * * Note that if a page load takes longer than keepAliveCheck milliseconds, * the keep-alive messages will still be getting sent from the previous * URL. */ scheduleKeepAliveCheck = function() { timeoutId = setTimeout( handleMissingKeepAlive, api.settings.timeouts.keepAliveCheck ); }; /** * Set the previewerAlive state to true when receiving a message from the preview. */ keepAliveTick = function() { api.state( 'previewerAlive' ).set( true ); clearTimeout( timeoutId ); scheduleKeepAliveCheck(); }; /** * Set the previewerAlive state to false if keepAliveCheck milliseconds have transpired without a message. * * This is most likely to happen in the case of a connectivity error, or if the theme causes the browser * to navigate to a non-allowed URL. Setting this state to false will force settings with a postMessage * transport to use refresh instead, causing the preview frame also to be replaced with the current * allowed preview URL. */ handleMissingKeepAlive = function() { api.state( 'previewerAlive' ).set( false ); }; scheduleKeepAliveCheck(); previewer.bind( 'ready', keepAliveTick ); previewer.bind( 'keep-alive', keepAliveTick ); }, /** * Query string data sent with each preview request. * * @abstract */ query: function() {}, abort: function() { if ( this.loading ) { this.loading.destroy(); delete this.loading; } }, /** * Refresh the preview seamlessly. * * @since 3.4.0 * @access public * * @return {void} */ refresh: function() { var previewer = this, onSettingChange; // Display loading indicator. previewer.send( 'loading-initiated' ); previewer.abort(); previewer.loading = new api.PreviewFrame({ url: previewer.url(), previewUrl: previewer.previewUrl(), query: previewer.query( { excludeCustomizedSaved: true } ) || {}, container: previewer.container }); previewer.settingsModifiedWhileLoading = {}; onSettingChange = function( setting ) { previewer.settingsModifiedWhileLoading[ setting.id ] = true; }; api.bind( 'change', onSettingChange ); previewer.loading.always( function() { api.unbind( 'change', onSettingChange ); } ); previewer.loading.done( function( readyData ) { var loadingFrame = this, onceSynced; previewer.preview = loadingFrame; previewer.targetWindow( loadingFrame.targetWindow() ); previewer.channel( loadingFrame.channel() ); onceSynced = function() { loadingFrame.unbind( 'synced', onceSynced ); if ( previewer._previousPreview ) { previewer._previousPreview.destroy(); } previewer._previousPreview = previewer.preview; previewer.deferred.active.resolve(); delete previewer.loading; }; loadingFrame.bind( 'synced', onceSynced ); // This event will be received directly by the previewer in normal navigation; this is only needed for seamless refresh. previewer.trigger( 'ready', readyData ); }); previewer.loading.fail( function( reason ) { previewer.send( 'loading-failed' ); if ( 'logged out' === reason ) { if ( previewer.preview ) { previewer.preview.destroy(); delete previewer.preview; } previewer.login().done( previewer.refresh ); } if ( 'cheatin' === reason ) { previewer.cheatin(); } }); }, login: function() { var previewer = this, deferred, messenger, iframe; if ( this._login ) { return this._login; } deferred = $.Deferred(); this._login = deferred.promise(); messenger = new api.Messenger({ channel: 'login', url: api.settings.url.login }); iframe = $( '<iframe />', { 'src': api.settings.url.login, 'title': api.l10n.loginIframeTitle } ).appendTo( this.container ); messenger.targetWindow( iframe[0].contentWindow ); messenger.bind( 'login', function () { var refreshNonces = previewer.refreshNonces(); refreshNonces.always( function() { iframe.remove(); messenger.destroy(); delete previewer._login; }); refreshNonces.done( function() { deferred.resolve(); }); refreshNonces.fail( function() { previewer.cheatin(); deferred.reject(); }); }); return this._login; }, cheatin: function() { $( document.body ).empty().addClass( 'cheatin' ).append( '<h1>' + api.l10n.notAllowedHeading + '</h1>' + '<p>' + api.l10n.notAllowed + '</p>' ); }, refreshNonces: function() { var request, deferred = $.Deferred(); deferred.promise(); request = wp.ajax.post( 'customize_refresh_nonces', { wp_customize: 'on', customize_theme: api.settings.theme.stylesheet }); request.done( function( response ) { api.trigger( 'nonce-refresh', response ); deferred.resolve(); }); request.fail( function() { deferred.reject(); }); return deferred; } }); api.settingConstructor = {}; api.controlConstructor = { color: api.ColorControl, media: api.MediaControl, upload: api.UploadControl, image: api.ImageControl, cropped_image: api.CroppedImageControl, site_icon: api.SiteIconControl, header: api.HeaderControl, background: api.BackgroundControl, background_position: api.BackgroundPositionControl, theme: api.ThemeControl, date_time: api.DateTimeControl, code_editor: api.CodeEditorControl }; api.panelConstructor = { themes: api.ThemesPanel }; api.sectionConstructor = { themes: api.ThemesSection, outer: api.OuterSection }; /** * Handle setting_validities in an error response for the customize-save request. * * Add notifications to the settings and focus on the first control that has an invalid setting. * * @alias wp.customize._handleSettingValidities * * @since 4.6.0 * @private * * @param {Object} args * @param {Object} args.settingValidities * @param {boolean} [args.focusInvalidControl=false] * @return {void} */ api._handleSettingValidities = function handleSettingValidities( args ) { var invalidSettingControls, invalidSettings = [], wasFocused = false; // Find the controls that correspond to each invalid setting. _.each( args.settingValidities, function( validity, settingId ) { var setting = api( settingId ); if ( setting ) { // Add notifications for invalidities. if ( _.isObject( validity ) ) { _.each( validity, function( params, code ) { var notification, existingNotification, needsReplacement = false; notification = new api.Notification( code, _.extend( { fromServer: true }, params ) ); // Remove existing notification if already exists for code but differs in parameters. existingNotification = setting.notifications( notification.code ); if ( existingNotification ) { needsReplacement = notification.type !== existingNotification.type || notification.message !== existingNotification.message || ! _.isEqual( notification.data, existingNotification.data ); } if ( needsReplacement ) { setting.notifications.remove( code ); } if ( ! setting.notifications.has( notification.code ) ) { setting.notifications.add( notification ); } invalidSettings.push( setting.id ); } ); } // Remove notification errors that are no longer valid. setting.notifications.each( function( notification ) { if ( notification.fromServer && 'error' === notification.type && ( true === validity || ! validity[ notification.code ] ) ) { setting.notifications.remove( notification.code ); } } ); } } ); if ( args.focusInvalidControl ) { invalidSettingControls = api.findControlsForSettings( invalidSettings ); // Focus on the first control that is inside of an expanded section (one that is visible). _( _.values( invalidSettingControls ) ).find( function( controls ) { return _( controls ).find( function( control ) { var isExpanded = control.section() && api.section.has( control.section() ) && api.section( control.section() ).expanded(); if ( isExpanded && control.expanded ) { isExpanded = control.expanded(); } if ( isExpanded ) { control.focus(); wasFocused = true; } return wasFocused; } ); } ); // Focus on the first invalid control. if ( ! wasFocused && ! _.isEmpty( invalidSettingControls ) ) { _.values( invalidSettingControls )[0][0].focus(); } } }; /** * Find all controls associated with the given settings. * * @alias wp.customize.findControlsForSettings * * @since 4.6.0 * @param {string[]} settingIds Setting IDs. * @return {Object<string, wp.customize.Control>} Mapping setting ids to arrays of controls. */ api.findControlsForSettings = function findControlsForSettings( settingIds ) { var controls = {}, settingControls; _.each( _.unique( settingIds ), function( settingId ) { var setting = api( settingId ); if ( setting ) { settingControls = setting.findControls(); if ( settingControls && settingControls.length > 0 ) { controls[ settingId ] = settingControls; } } } ); return controls; }; /** * Sort panels, sections, controls by priorities. Hide empty sections and panels. * * @alias wp.customize.reflowPaneContents * * @since 4.1.0 */ api.reflowPaneContents = _.bind( function () { var appendContainer, activeElement, rootHeadContainers, rootNodes = [], wasReflowed = false; if ( document.activeElement ) { activeElement = $( document.activeElement ); } // Sort the sections within each panel. api.panel.each( function ( panel ) { if ( 'themes' === panel.id ) { return; // Don't reflow theme sections, as doing so moves them after the themes container. } var sections = panel.sections(), sectionHeadContainers = _.pluck( sections, 'headContainer' ); rootNodes.push( panel ); appendContainer = ( panel.contentContainer.is( 'ul' ) ) ? panel.contentContainer : panel.contentContainer.find( 'ul:first' ); if ( ! api.utils.areElementListsEqual( sectionHeadContainers, appendContainer.children( '[id]' ) ) ) { _( sections ).each( function ( section ) { appendContainer.append( section.headContainer ); } ); wasReflowed = true; } } ); // Sort the controls within each section. api.section.each( function ( section ) { var controls = section.controls(), controlContainers = _.pluck( controls, 'container' ); if ( ! section.panel() ) { rootNodes.push( section ); } appendContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' ); if ( ! api.utils.areElementListsEqual( controlContainers, appendContainer.children( '[id]' ) ) ) { _( controls ).each( function ( control ) { appendContainer.append( control.container ); } ); wasReflowed = true; } } ); // Sort the root panels and sections. rootNodes.sort( api.utils.prioritySort ); rootHeadContainers = _.pluck( rootNodes, 'headContainer' ); appendContainer = $( '#customize-theme-controls .customize-pane-parent' ); // @todo This should be defined elsewhere, and to be configurable. if ( ! api.utils.areElementListsEqual( rootHeadContainers, appendContainer.children() ) ) { _( rootNodes ).each( function ( rootNode ) { appendContainer.append( rootNode.headContainer ); } ); wasReflowed = true; } // Now re-trigger the active Value callbacks so that the panels and sections can decide whether they can be rendered. api.panel.each( function ( panel ) { var value = panel.active(); panel.active.callbacks.fireWith( panel.active, [ value, value ] ); } ); api.section.each( function ( section ) { var value = section.active(); section.active.callbacks.fireWith( section.active, [ value, value ] ); } ); // Restore focus if there was a reflow and there was an active (focused) element. if ( wasReflowed && activeElement ) { activeElement.trigger( 'focus' ); } api.trigger( 'pane-contents-reflowed' ); }, api ); // Define state values. api.state = new api.Values(); _.each( [ 'saved', 'saving', 'trashing', 'activated', 'processing', 'paneVisible', 'expandedPanel', 'expandedSection', 'changesetDate', 'selectedChangesetDate', 'changesetStatus', 'selectedChangesetStatus', 'remainingTimeToPublish', 'previewerAlive', 'editShortcutVisibility', 'changesetLocked', 'previewedDevice' ], function( name ) { api.state.create( name ); }); $( function() { api.settings = window._wpCustomizeSettings; api.l10n = window._wpCustomizeControlsL10n; // Check if we can run the Customizer. if ( ! api.settings ) { return; } // Bail if any incompatibilities are found. if ( ! $.support.postMessage || ( ! $.support.cors && api.settings.isCrossDomain ) ) { return; } if ( null === api.PreviewFrame.prototype.sensitivity ) { api.PreviewFrame.prototype.sensitivity = api.settings.timeouts.previewFrameSensitivity; } if ( null === api.Previewer.prototype.refreshBuffer ) { api.Previewer.prototype.refreshBuffer = api.settings.timeouts.windowRefresh; } var parent, body = $( document.body ), overlay = body.children( '.wp-full-overlay' ), title = $( '#customize-info .panel-title.site-title' ), closeBtn = $( '.customize-controls-close' ), saveBtn = $( '#save' ), btnWrapper = $( '#customize-save-button-wrapper' ), publishSettingsBtn = $( '#publish-settings' ), footerActions = $( '#customize-footer-actions' ); // Add publish settings section in JS instead of PHP since the Customizer depends on it to function. api.bind( 'ready', function() { api.section.add( new api.OuterSection( 'publish_settings', { title: api.l10n.publishSettings, priority: 0, active: api.settings.theme.active } ) ); } ); // Set up publish settings section and its controls. api.section( 'publish_settings', function( section ) { var updateButtonsState, trashControl, updateSectionActive, isSectionActive, statusControl, dateControl, toggleDateControl, publishWhenTime, pollInterval, updateTimeArrivedPoller, cancelScheduleButtonReminder, timeArrivedPollingInterval = 1000; trashControl = new api.Control( 'trash_changeset', { type: 'button', section: section.id, priority: 30, input_attrs: { 'class': 'button-link button-link-delete', value: api.l10n.discardChanges } } ); api.control.add( trashControl ); trashControl.deferred.embedded.done( function() { trashControl.container.find( '.button-link' ).on( 'click', function() { if ( confirm( api.l10n.trashConfirm ) ) { wp.customize.previewer.trash(); } } ); } ); api.control.add( new api.PreviewLinkControl( 'changeset_preview_link', { section: section.id, priority: 100 } ) ); /** * Return whether the publish settings section should be active. * * @return {boolean} Is section active. */ isSectionActive = function() { if ( ! api.state( 'activated' ).get() ) { return false; } if ( api.state( 'trashing' ).get() || 'trash' === api.state( 'changesetStatus' ).get() ) { return false; } if ( '' === api.state( 'changesetStatus' ).get() && api.state( 'saved' ).get() ) { return false; } return true; }; // Make sure publish settings are not available while the theme is not active and the customizer is in a published state. section.active.validate = isSectionActive; updateSectionActive = function() { section.active.set( isSectionActive() ); }; api.state( 'activated' ).bind( updateSectionActive ); api.state( 'trashing' ).bind( updateSectionActive ); api.state( 'saved' ).bind( updateSectionActive ); api.state( 'changesetStatus' ).bind( updateSectionActive ); updateSectionActive(); // Bind visibility of the publish settings button to whether the section is active. updateButtonsState = function() { publishSettingsBtn.toggle( section.active.get() ); saveBtn.toggleClass( 'has-next-sibling', section.active.get() ); }; updateButtonsState(); section.active.bind( updateButtonsState ); function highlightScheduleButton() { if ( ! cancelScheduleButtonReminder ) { cancelScheduleButtonReminder = api.utils.highlightButton( btnWrapper, { delay: 1000, /* * Only abort the reminder when the save button is focused. * If the user clicks the settings button to toggle the * settings closed, we'll still remind them. */ focusTarget: saveBtn } ); } } function cancelHighlightScheduleButton() { if ( cancelScheduleButtonReminder ) { cancelScheduleButtonReminder(); cancelScheduleButtonReminder = null; } } api.state( 'selectedChangesetStatus' ).bind( cancelHighlightScheduleButton ); section.contentContainer.find( '.customize-action' ).text( api.l10n.updating ); section.contentContainer.find( '.customize-section-back' ).removeAttr( 'tabindex' ); publishSettingsBtn.prop( 'disabled', false ); publishSettingsBtn.on( 'click', function( event ) { event.preventDefault(); section.expanded.set( ! section.expanded.get() ); } ); section.expanded.bind( function( isExpanded ) { var defaultChangesetStatus; publishSettingsBtn.attr( 'aria-expanded', String( isExpanded ) ); publishSettingsBtn.toggleClass( 'active', isExpanded ); if ( isExpanded ) { cancelHighlightScheduleButton(); return; } defaultChangesetStatus = api.state( 'changesetStatus' ).get(); if ( '' === defaultChangesetStatus || 'auto-draft' === defaultChangesetStatus ) { defaultChangesetStatus = 'publish'; } if ( api.state( 'selectedChangesetStatus' ).get() !== defaultChangesetStatus ) { highlightScheduleButton(); } else if ( 'future' === api.state( 'selectedChangesetStatus' ).get() && api.state( 'selectedChangesetDate' ).get() !== api.state( 'changesetDate' ).get() ) { highlightScheduleButton(); } } ); statusControl = new api.Control( 'changeset_status', { priority: 10, type: 'radio', section: 'publish_settings', setting: api.state( 'selectedChangesetStatus' ), templateId: 'customize-selected-changeset-status-control', label: api.l10n.action, choices: api.settings.changeset.statusChoices } ); api.control.add( statusControl ); dateControl = new api.DateTimeControl( 'changeset_scheduled_date', { priority: 20, section: 'publish_settings', setting: api.state( 'selectedChangesetDate' ), minYear: ( new Date() ).getFullYear(), allowPastDate: false, includeTime: true, twelveHourFormat: /a/i.test( api.settings.timeFormat ), description: api.l10n.scheduleDescription } ); dateControl.notifications.alt = true; api.control.add( dateControl ); publishWhenTime = function() { api.state( 'selectedChangesetStatus' ).set( 'publish' ); api.previewer.save(); }; // Start countdown for when the dateTime arrives, or clear interval when it is . updateTimeArrivedPoller = function() { var shouldPoll = ( 'future' === api.state( 'changesetStatus' ).get() && 'future' === api.state( 'selectedChangesetStatus' ).get() && api.state( 'changesetDate' ).get() && api.state( 'selectedChangesetDate' ).get() === api.state( 'changesetDate' ).get() && api.utils.getRemainingTime( api.state( 'changesetDate' ).get() ) >= 0 ); if ( shouldPoll && ! pollInterval ) { pollInterval = setInterval( function() { var remainingTime = api.utils.getRemainingTime( api.state( 'changesetDate' ).get() ); api.state( 'remainingTimeToPublish' ).set( remainingTime ); if ( remainingTime <= 0 ) { clearInterval( pollInterval ); pollInterval = 0; publishWhenTime(); } }, timeArrivedPollingInterval ); } else if ( ! shouldPoll && pollInterval ) { clearInterval( pollInterval ); pollInterval = 0; } }; api.state( 'changesetDate' ).bind( updateTimeArrivedPoller ); api.state( 'selectedChangesetDate' ).bind( updateTimeArrivedPoller ); api.state( 'changesetStatus' ).bind( updateTimeArrivedPoller ); api.state( 'selectedChangesetStatus' ).bind( updateTimeArrivedPoller ); updateTimeArrivedPoller(); // Ensure dateControl only appears when selected status is future. dateControl.active.validate = function() { return 'future' === api.state( 'selectedChangesetStatus' ).get(); }; toggleDateControl = function( value ) { dateControl.active.set( 'future' === value ); }; toggleDateControl( api.state( 'selectedChangesetStatus' ).get() ); api.state( 'selectedChangesetStatus' ).bind( toggleDateControl ); // Show notification on date control when status is future but it isn't a future date. api.state( 'saving' ).bind( function( isSaving ) { if ( isSaving && 'future' === api.state( 'selectedChangesetStatus' ).get() ) { dateControl.toggleFutureDateNotification( ! dateControl.isFutureDate() ); } } ); } ); // Prevent the form from saving when enter is pressed on an input or select element. $('#customize-controls').on( 'keydown', function( e ) { var isEnter = ( 13 === e.which ), $el = $( e.target ); if ( isEnter && ( $el.is( 'input:not([type=button])' ) || $el.is( 'select' ) ) ) { e.preventDefault(); } }); // Expand/Collapse the main customizer customize info. $( '.customize-info' ).find( '> .accordion-section-title .customize-help-toggle' ).on( 'click', function() { var section = $( this ).closest( '.accordion-section' ), content = section.find( '.customize-panel-description:first' ); if ( section.hasClass( 'cannot-expand' ) ) { return; } if ( section.hasClass( 'open' ) ) { section.toggleClass( 'open' ); content.slideUp( api.Panel.prototype.defaultExpandedArguments.duration, function() { content.trigger( 'toggled' ); } ); $( this ).attr( 'aria-expanded', false ); } else { content.slideDown( api.Panel.prototype.defaultExpandedArguments.duration, function() { content.trigger( 'toggled' ); } ); section.toggleClass( 'open' ); $( this ).attr( 'aria-expanded', true ); } }); /** * Initialize Previewer * * @alias wp.customize.previewer */ api.previewer = new api.Previewer({ container: '#customize-preview', form: '#customize-controls', previewUrl: api.settings.url.preview, allowedUrls: api.settings.url.allowed },/** @lends wp.customize.previewer */{ nonce: api.settings.nonce, /** * Build the query to send along with the Preview request. * * @since 3.4.0 * @since 4.7.0 Added options param. * @access public * * @param {Object} [options] Options. * @param {boolean} [options.excludeCustomizedSaved=false] Exclude saved settings in customized response (values pending writing to changeset). * @return {Object} Query vars. */ query: function( options ) { var queryVars = { wp_customize: 'on', customize_theme: api.settings.theme.stylesheet, nonce: this.nonce.preview, customize_changeset_uuid: api.settings.changeset.uuid }; if ( api.settings.changeset.autosaved || ! api.state( 'saved' ).get() ) { queryVars.customize_autosaved = 'on'; } /* * Exclude customized data if requested especially for calls to requestChangesetUpdate. * Changeset updates are differential and so it is a performance waste to send all of * the dirty settings with each update. */ queryVars.customized = JSON.stringify( api.dirtyValues( { unsaved: options && options.excludeCustomizedSaved } ) ); return queryVars; }, /** * Save (and publish) the customizer changeset. * * Updates to the changeset are transactional. If any of the settings * are invalid then none of them will be written into the changeset. * A revision will be made for the changeset post if revisions support * has been added to the post type. * * @since 3.4.0 * @since 4.7.0 Added args param and return value. * * @param {Object} [args] Args. * @param {string} [args.status=publish] Status. * @param {string} [args.date] Date, in local time in MySQL format. * @param {string} [args.title] Title * @return {jQuery.promise} Promise. */ save: function( args ) { var previewer = this, deferred = $.Deferred(), changesetStatus = api.state( 'selectedChangesetStatus' ).get(), selectedChangesetDate = api.state( 'selectedChangesetDate' ).get(), processing = api.state( 'processing' ), submitWhenDoneProcessing, submit, modifiedWhileSaving = {}, invalidSettings = [], invalidControls = [], invalidSettingLessControls = []; if ( args && args.status ) { changesetStatus = args.status; } if ( api.state( 'saving' ).get() ) { deferred.reject( 'already_saving' ); deferred.promise(); } api.state( 'saving' ).set( true ); function captureSettingModifiedDuringSave( setting ) { modifiedWhileSaving[ setting.id ] = true; } submit = function () { var request, query, settingInvalidities = {}, latestRevision = api._latestRevision, errorCode = 'client_side_error'; api.bind( 'change', captureSettingModifiedDuringSave ); api.notifications.remove( errorCode ); /* * Block saving if there are any settings that are marked as * invalid from the client (not from the server). Focus on * the control. */ api.each( function( setting ) { setting.notifications.each( function( notification ) { if ( 'error' === notification.type && ! notification.fromServer ) { invalidSettings.push( setting.id ); if ( ! settingInvalidities[ setting.id ] ) { settingInvalidities[ setting.id ] = {}; } settingInvalidities[ setting.id ][ notification.code ] = notification; } } ); } ); // Find all invalid setting less controls with notification type error. api.control.each( function( control ) { if ( ! control.setting || ! control.setting.id && control.active.get() ) { control.notifications.each( function( notification ) { if ( 'error' === notification.type ) { invalidSettingLessControls.push( [ control ] ); } } ); } } ); invalidControls = _.union( invalidSettingLessControls, _.values( api.findControlsForSettings( invalidSettings ) ) ); if ( ! _.isEmpty( invalidControls ) ) { invalidControls[0][0].focus(); api.unbind( 'change', captureSettingModifiedDuringSave ); if ( invalidSettings.length ) { api.notifications.add( new api.Notification( errorCode, { message: ( 1 === invalidSettings.length ? api.l10n.saveBlockedError.singular : api.l10n.saveBlockedError.plural ).replace( /%s/g, String( invalidSettings.length ) ), type: 'error', dismissible: true, saveFailure: true } ) ); } deferred.rejectWith( previewer, [ { setting_invalidities: settingInvalidities } ] ); api.state( 'saving' ).set( false ); return deferred.promise(); } /* * Note that excludeCustomizedSaved is intentionally false so that the entire * set of customized data will be included if bypassed changeset update. */ query = $.extend( previewer.query( { excludeCustomizedSaved: false } ), { nonce: previewer.nonce.save, customize_changeset_status: changesetStatus } ); if ( args && args.date ) { query.customize_changeset_date = args.date; } else if ( 'future' === changesetStatus && selectedChangesetDate ) { query.customize_changeset_date = selectedChangesetDate; } if ( args && args.title ) { query.customize_changeset_title = args.title; } // Allow plugins to modify the params included with the save request. api.trigger( 'save-request-params', query ); /* * Note that the dirty customized values will have already been set in the * changeset and so technically query.customized could be deleted. However, * it is remaining here to make sure that any settings that got updated * quietly which may have not triggered an update request will also get * included in the values that get saved to the changeset. This will ensure * that values that get injected via the saved event will be included in * the changeset. This also ensures that setting values that were invalid * will get re-validated, perhaps in the case of settings that are invalid * due to dependencies on other settings. */ request = wp.ajax.post( 'customize_save', query ); api.state( 'processing' ).set( api.state( 'processing' ).get() + 1 ); api.trigger( 'save', request ); request.always( function () { api.state( 'processing' ).set( api.state( 'processing' ).get() - 1 ); api.state( 'saving' ).set( false ); api.unbind( 'change', captureSettingModifiedDuringSave ); } ); // Remove notifications that were added due to save failures. api.notifications.each( function( notification ) { if ( notification.saveFailure ) { api.notifications.remove( notification.code ); } }); request.fail( function ( response ) { var notification, notificationArgs; notificationArgs = { type: 'error', dismissible: true, fromServer: true, saveFailure: true }; if ( '0' === response ) { response = 'not_logged_in'; } else if ( '-1' === response ) { // Back-compat in case any other check_ajax_referer() call is dying. response = 'invalid_nonce'; } if ( 'invalid_nonce' === response ) { previewer.cheatin(); } else if ( 'not_logged_in' === response ) { previewer.preview.iframe.hide(); previewer.login().done( function() { previewer.save(); previewer.preview.iframe.show(); } ); } else if ( response.code ) { if ( 'not_future_date' === response.code && api.section.has( 'publish_settings' ) && api.section( 'publish_settings' ).active.get() && api.control.has( 'changeset_scheduled_date' ) ) { api.control( 'changeset_scheduled_date' ).toggleFutureDateNotification( true ).focus(); } else if ( 'changeset_locked' !== response.code ) { notification = new api.Notification( response.code, _.extend( notificationArgs, { message: response.message } ) ); } } else { notification = new api.Notification( 'unknown_error', _.extend( notificationArgs, { message: api.l10n.unknownRequestFail } ) ); } if ( notification ) { api.notifications.add( notification ); } if ( response.setting_validities ) { api._handleSettingValidities( { settingValidities: response.setting_validities, focusInvalidControl: true } ); } deferred.rejectWith( previewer, [ response ] ); api.trigger( 'error', response ); // Start a new changeset if the underlying changeset was published. if ( 'changeset_already_published' === response.code && response.next_changeset_uuid ) { api.settings.changeset.uuid = response.next_changeset_uuid; api.state( 'changesetStatus' ).set( '' ); if ( api.settings.changeset.branching ) { parent.send( 'changeset-uuid', api.settings.changeset.uuid ); } api.previewer.send( 'changeset-uuid', api.settings.changeset.uuid ); } } ); request.done( function( response ) { previewer.send( 'saved', response ); api.state( 'changesetStatus' ).set( response.changeset_status ); if ( response.changeset_date ) { api.state( 'changesetDate' ).set( response.changeset_date ); } if ( 'publish' === response.changeset_status ) { // Mark all published as clean if they haven't been modified during the request. api.each( function( setting ) { /* * Note that the setting revision will be undefined in the case of setting * values that are marked as dirty when the customizer is loaded, such as * when applying starter content. All other dirty settings will have an * associated revision due to their modification triggering a change event. */ if ( setting._dirty && ( _.isUndefined( api._latestSettingRevisions[ setting.id ] ) || api._latestSettingRevisions[ setting.id ] <= latestRevision ) ) { setting._dirty = false; } } ); api.state( 'changesetStatus' ).set( '' ); api.settings.changeset.uuid = response.next_changeset_uuid; if ( api.settings.changeset.branching ) { parent.send( 'changeset-uuid', api.settings.changeset.uuid ); } } // Prevent subsequent requestChangesetUpdate() calls from including the settings that have been saved. api._lastSavedRevision = Math.max( latestRevision, api._lastSavedRevision ); if ( response.setting_validities ) { api._handleSettingValidities( { settingValidities: response.setting_validities, focusInvalidControl: true } ); } deferred.resolveWith( previewer, [ response ] ); api.trigger( 'saved', response ); // Restore the global dirty state if any settings were modified during save. if ( ! _.isEmpty( modifiedWhileSaving ) ) { api.state( 'saved' ).set( false ); } } ); }; if ( 0 === processing() ) { submit(); } else { submitWhenDoneProcessing = function () { if ( 0 === processing() ) { api.state.unbind( 'change', submitWhenDoneProcessing ); submit(); } }; api.state.bind( 'change', submitWhenDoneProcessing ); } return deferred.promise(); }, /** * Trash the current changes. * * Revert the Customizer to its previously-published state. * * @since 4.9.0 * * @return {jQuery.promise} Promise. */ trash: function trash() { var request, success, fail; api.state( 'trashing' ).set( true ); api.state( 'processing' ).set( api.state( 'processing' ).get() + 1 ); request = wp.ajax.post( 'customize_trash', { customize_changeset_uuid: api.settings.changeset.uuid, nonce: api.settings.nonce.trash } ); api.notifications.add( new api.OverlayNotification( 'changeset_trashing', { type: 'info', message: api.l10n.revertingChanges, loading: true } ) ); success = function() { var urlParser = document.createElement( 'a' ), queryParams; api.state( 'changesetStatus' ).set( 'trash' ); api.each( function( setting ) { setting._dirty = false; } ); api.state( 'saved' ).set( true ); // Go back to Customizer without changeset. urlParser.href = location.href; queryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); delete queryParams.changeset_uuid; queryParams['return'] = api.settings.url['return']; urlParser.search = $.param( queryParams ); location.replace( urlParser.href ); }; fail = function( code, message ) { var notificationCode = code || 'unknown_error'; api.state( 'processing' ).set( api.state( 'processing' ).get() - 1 ); api.state( 'trashing' ).set( false ); api.notifications.remove( 'changeset_trashing' ); api.notifications.add( new api.Notification( notificationCode, { message: message || api.l10n.unknownError, dismissible: true, type: 'error' } ) ); }; request.done( function( response ) { success( response.message ); } ); request.fail( function( response ) { var code = response.code || 'trashing_failed'; if ( response.success || 'non_existent_changeset' === code || 'changeset_already_trashed' === code ) { success( response.message ); } else { fail( code, response.message ); } } ); }, /** * Builds the front preview URL with the current state of customizer. * * @since 4.9.0 * * @return {string} Preview URL. */ getFrontendPreviewUrl: function() { var previewer = this, params, urlParser; urlParser = document.createElement( 'a' ); urlParser.href = previewer.previewUrl.get(); params = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); if ( api.state( 'changesetStatus' ).get() && 'publish' !== api.state( 'changesetStatus' ).get() ) { params.customize_changeset_uuid = api.settings.changeset.uuid; } if ( ! api.state( 'activated' ).get() ) { params.customize_theme = api.settings.theme.stylesheet; } urlParser.search = $.param( params ); return urlParser.href; } }); // Ensure preview nonce is included with every customized request, to allow post data to be read. $.ajaxPrefilter( function injectPreviewNonce( options ) { if ( ! /wp_customize=on/.test( options.data ) ) { return; } options.data += '&' + $.param({ customize_preview_nonce: api.settings.nonce.preview }); }); // Refresh the nonces if the preview sends updated nonces over. api.previewer.bind( 'nonce', function( nonce ) { $.extend( this.nonce, nonce ); }); // Refresh the nonces if login sends updated nonces over. api.bind( 'nonce-refresh', function( nonce ) { $.extend( api.settings.nonce, nonce ); $.extend( api.previewer.nonce, nonce ); api.previewer.send( 'nonce-refresh', nonce ); }); // Create Settings. $.each( api.settings.settings, function( id, data ) { var Constructor = api.settingConstructor[ data.type ] || api.Setting; api.add( new Constructor( id, data.value, { transport: data.transport, previewer: api.previewer, dirty: !! data.dirty } ) ); }); // Create Panels. $.each( api.settings.panels, function ( id, data ) { var Constructor = api.panelConstructor[ data.type ] || api.Panel, options; // Inclusion of params alias is for back-compat for custom panels that expect to augment this property. options = _.extend( { params: data }, data ); api.panel.add( new Constructor( id, options ) ); }); // Create Sections. $.each( api.settings.sections, function ( id, data ) { var Constructor = api.sectionConstructor[ data.type ] || api.Section, options; // Inclusion of params alias is for back-compat for custom sections that expect to augment this property. options = _.extend( { params: data }, data ); api.section.add( new Constructor( id, options ) ); }); // Create Controls. $.each( api.settings.controls, function( id, data ) { var Constructor = api.controlConstructor[ data.type ] || api.Control, options; // Inclusion of params alias is for back-compat for custom controls that expect to augment this property. options = _.extend( { params: data }, data ); api.control.add( new Constructor( id, options ) ); }); // Focus the autofocused element. _.each( [ 'panel', 'section', 'control' ], function( type ) { var id = api.settings.autofocus[ type ]; if ( ! id ) { return; } /* * Defer focus until: * 1. The panel, section, or control exists (especially for dynamically-created ones). * 2. The instance is embedded in the document (and so is focusable). * 3. The preview has finished loading so that the active states have been set. */ api[ type ]( id, function( instance ) { instance.deferred.embedded.done( function() { api.previewer.deferred.active.done( function() { instance.focus(); }); }); }); }); api.bind( 'ready', api.reflowPaneContents ); $( [ api.panel, api.section, api.control ] ).each( function ( i, values ) { var debouncedReflowPaneContents = _.debounce( api.reflowPaneContents, api.settings.timeouts.reflowPaneContents ); values.bind( 'add', debouncedReflowPaneContents ); values.bind( 'change', debouncedReflowPaneContents ); values.bind( 'remove', debouncedReflowPaneContents ); } ); // Set up global notifications area. api.bind( 'ready', function setUpGlobalNotificationsArea() { var sidebar, containerHeight, containerInitialTop; api.notifications.container = $( '#customize-notifications-area' ); api.notifications.bind( 'change', _.debounce( function() { api.notifications.render(); } ) ); sidebar = $( '.wp-full-overlay-sidebar-content' ); api.notifications.bind( 'rendered', function updateSidebarTop() { sidebar.css( 'top', '' ); if ( 0 !== api.notifications.count() ) { containerHeight = api.notifications.container.outerHeight() + 1; containerInitialTop = parseInt( sidebar.css( 'top' ), 10 ); sidebar.css( 'top', containerInitialTop + containerHeight + 'px' ); } api.notifications.trigger( 'sidebarTopUpdated' ); }); api.notifications.render(); }); // Save and activated states. (function( state ) { var saved = state.instance( 'saved' ), saving = state.instance( 'saving' ), trashing = state.instance( 'trashing' ), activated = state.instance( 'activated' ), processing = state.instance( 'processing' ), paneVisible = state.instance( 'paneVisible' ), expandedPanel = state.instance( 'expandedPanel' ), expandedSection = state.instance( 'expandedSection' ), changesetStatus = state.instance( 'changesetStatus' ), selectedChangesetStatus = state.instance( 'selectedChangesetStatus' ), changesetDate = state.instance( 'changesetDate' ), selectedChangesetDate = state.instance( 'selectedChangesetDate' ), previewerAlive = state.instance( 'previewerAlive' ), editShortcutVisibility = state.instance( 'editShortcutVisibility' ), changesetLocked = state.instance( 'changesetLocked' ), populateChangesetUuidParam, defaultSelectedChangesetStatus; state.bind( 'change', function() { var canSave; if ( ! activated() ) { saveBtn.val( api.l10n.activate ); closeBtn.find( '.screen-reader-text' ).text( api.l10n.cancel ); } else if ( '' === changesetStatus.get() && saved() ) { if ( api.settings.changeset.currentUserCanPublish ) { saveBtn.val( api.l10n.published ); } else { saveBtn.val( api.l10n.saved ); } closeBtn.find( '.screen-reader-text' ).text( api.l10n.close ); } else { if ( 'draft' === selectedChangesetStatus() ) { if ( saved() && selectedChangesetStatus() === changesetStatus() ) { saveBtn.val( api.l10n.draftSaved ); } else { saveBtn.val( api.l10n.saveDraft ); } } else if ( 'future' === selectedChangesetStatus() ) { if ( saved() && selectedChangesetStatus() === changesetStatus() ) { if ( changesetDate.get() !== selectedChangesetDate.get() ) { saveBtn.val( api.l10n.schedule ); } else { saveBtn.val( api.l10n.scheduled ); } } else { saveBtn.val( api.l10n.schedule ); } } else if ( api.settings.changeset.currentUserCanPublish ) { saveBtn.val( api.l10n.publish ); } closeBtn.find( '.screen-reader-text' ).text( api.l10n.cancel ); } /* * Save (publish) button should be enabled if saving is not currently happening, * and if the theme is not active or the changeset exists but is not published. */ canSave = ! saving() && ! trashing() && ! changesetLocked() && ( ! activated() || ! saved() || ( changesetStatus() !== selectedChangesetStatus() && '' !== changesetStatus() ) || ( 'future' === selectedChangesetStatus() && changesetDate.get() !== selectedChangesetDate.get() ) ); saveBtn.prop( 'disabled', ! canSave ); }); selectedChangesetStatus.validate = function( status ) { if ( '' === status || 'auto-draft' === status ) { return null; } return status; }; defaultSelectedChangesetStatus = api.settings.changeset.currentUserCanPublish ? 'publish' : 'draft'; // Set default states. changesetStatus( api.settings.changeset.status ); changesetLocked( Boolean( api.settings.changeset.lockUser ) ); changesetDate( api.settings.changeset.publishDate ); selectedChangesetDate( api.settings.changeset.publishDate ); selectedChangesetStatus( '' === api.settings.changeset.status || 'auto-draft' === api.settings.changeset.status ? defaultSelectedChangesetStatus : api.settings.changeset.status ); selectedChangesetStatus.link( changesetStatus ); // Ensure that direct updates to status on server via wp.customizer.previewer.save() will update selection. saved( true ); if ( '' === changesetStatus() ) { // Handle case for loading starter content. api.each( function( setting ) { if ( setting._dirty ) { saved( false ); } } ); } saving( false ); activated( api.settings.theme.active ); processing( 0 ); paneVisible( true ); expandedPanel( false ); expandedSection( false ); previewerAlive( true ); editShortcutVisibility( 'visible' ); api.bind( 'change', function() { if ( state( 'saved' ).get() ) { state( 'saved' ).set( false ); } }); // Populate changeset UUID param when state becomes dirty. if ( api.settings.changeset.branching ) { saved.bind( function( isSaved ) { if ( ! isSaved ) { populateChangesetUuidParam( true ); } }); } saving.bind( function( isSaving ) { body.toggleClass( 'saving', isSaving ); } ); trashing.bind( function( isTrashing ) { body.toggleClass( 'trashing', isTrashing ); } ); api.bind( 'saved', function( response ) { state('saved').set( true ); if ( 'publish' === response.changeset_status ) { state( 'activated' ).set( true ); } }); activated.bind( function( to ) { if ( to ) { api.trigger( 'activated' ); } }); /** * Populate URL with UUID via `history.replaceState()`. * * @since 4.7.0 * @access private * * @param {boolean} isIncluded Is UUID included. * @return {void} */ populateChangesetUuidParam = function( isIncluded ) { var urlParser, queryParams; // Abort on IE9 which doesn't support history management. if ( ! history.replaceState ) { return; } urlParser = document.createElement( 'a' ); urlParser.href = location.href; queryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); if ( isIncluded ) { if ( queryParams.changeset_uuid === api.settings.changeset.uuid ) { return; } queryParams.changeset_uuid = api.settings.changeset.uuid; } else { if ( ! queryParams.changeset_uuid ) { return; } delete queryParams.changeset_uuid; } urlParser.search = $.param( queryParams ); history.replaceState( {}, document.title, urlParser.href ); }; // Show changeset UUID in URL when in branching mode and there is a saved changeset. if ( api.settings.changeset.branching ) { changesetStatus.bind( function( newStatus ) { populateChangesetUuidParam( '' !== newStatus && 'publish' !== newStatus && 'trash' !== newStatus ); } ); } }( api.state ) ); /** * Handles lock notice and take over request. * * @since 4.9.0 */ ( function checkAndDisplayLockNotice() { var LockedNotification = api.OverlayNotification.extend(/** @lends wp.customize~LockedNotification.prototype */{ /** * Template ID. * * @type {string} */ templateId: 'customize-changeset-locked-notification', /** * Lock user. * * @type {object} */ lockUser: null, /** * A notification that is displayed in a full-screen overlay with information about the locked changeset. * * @constructs wp.customize~LockedNotification * @augments wp.customize.OverlayNotification * * @since 4.9.0 * * @param {string} [code] - Code. * @param {Object} [params] - Params. */ initialize: function( code, params ) { var notification = this, _code, _params; _code = code || 'changeset_locked'; _params = _.extend( { message: '', type: 'warning', containerClasses: '', lockUser: {} }, params ); _params.containerClasses += ' notification-changeset-locked'; api.OverlayNotification.prototype.initialize.call( notification, _code, _params ); }, /** * Render notification. * * @since 4.9.0 * * @return {jQuery} Notification container. */ render: function() { var notification = this, li, data, takeOverButton, request; data = _.extend( { allowOverride: false, returnUrl: api.settings.url['return'], previewUrl: api.previewer.previewUrl.get(), frontendPreviewUrl: api.previewer.getFrontendPreviewUrl() }, this ); li = api.OverlayNotification.prototype.render.call( data ); // Try to autosave the changeset now. api.requestChangesetUpdate( {}, { autosave: true } ).fail( function( response ) { if ( ! response.autosaved ) { li.find( '.notice-error' ).prop( 'hidden', false ).text( response.message || api.l10n.unknownRequestFail ); } } ); takeOverButton = li.find( '.customize-notice-take-over-button' ); takeOverButton.on( 'click', function( event ) { event.preventDefault(); if ( request ) { return; } takeOverButton.addClass( 'disabled' ); request = wp.ajax.post( 'customize_override_changeset_lock', { wp_customize: 'on', customize_theme: api.settings.theme.stylesheet, customize_changeset_uuid: api.settings.changeset.uuid, nonce: api.settings.nonce.override_lock } ); request.done( function() { api.notifications.remove( notification.code ); // Remove self. api.state( 'changesetLocked' ).set( false ); } ); request.fail( function( response ) { var message = response.message || api.l10n.unknownRequestFail; li.find( '.notice-error' ).prop( 'hidden', false ).text( message ); request.always( function() { takeOverButton.removeClass( 'disabled' ); } ); } ); request.always( function() { request = null; } ); } ); return li; } }); /** * Start lock. * * @since 4.9.0 * * @param {Object} [args] - Args. * @param {Object} [args.lockUser] - Lock user data. * @param {boolean} [args.allowOverride=false] - Whether override is allowed. * @return {void} */ function startLock( args ) { if ( args && args.lockUser ) { api.settings.changeset.lockUser = args.lockUser; } api.state( 'changesetLocked' ).set( true ); api.notifications.add( new LockedNotification( 'changeset_locked', { lockUser: api.settings.changeset.lockUser, allowOverride: Boolean( args && args.allowOverride ) } ) ); } // Show initial notification. if ( api.settings.changeset.lockUser ) { startLock( { allowOverride: true } ); } // Check for lock when sending heartbeat requests. $( document ).on( 'heartbeat-send.update_lock_notice', function( event, data ) { data.check_changeset_lock = true; data.changeset_uuid = api.settings.changeset.uuid; } ); // Handle heartbeat ticks. $( document ).on( 'heartbeat-tick.update_lock_notice', function( event, data ) { var notification, code = 'changeset_locked'; if ( ! data.customize_changeset_lock_user ) { return; } // Update notification when a different user takes over. notification = api.notifications( code ); if ( notification && notification.lockUser.id !== api.settings.changeset.lockUser.id ) { api.notifications.remove( code ); } startLock( { lockUser: data.customize_changeset_lock_user } ); } ); // Handle locking in response to changeset save errors. api.bind( 'error', function( response ) { if ( 'changeset_locked' === response.code && response.lock_user ) { startLock( { lockUser: response.lock_user } ); } } ); } )(); // Set up initial notifications. (function() { var removedQueryParams = [], autosaveDismissed = false; /** * Obtain the URL to restore the autosave. * * @return {string} Customizer URL. */ function getAutosaveRestorationUrl() { var urlParser, queryParams; urlParser = document.createElement( 'a' ); urlParser.href = location.href; queryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); if ( api.settings.changeset.latestAutoDraftUuid ) { queryParams.changeset_uuid = api.settings.changeset.latestAutoDraftUuid; } else { queryParams.customize_autosaved = 'on'; } queryParams['return'] = api.settings.url['return']; urlParser.search = $.param( queryParams ); return urlParser.href; } /** * Remove parameter from the URL. * * @param {Array} params - Parameter names to remove. * @return {void} */ function stripParamsFromLocation( params ) { var urlParser = document.createElement( 'a' ), queryParams, strippedParams = 0; urlParser.href = location.href; queryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); _.each( params, function( param ) { if ( 'undefined' !== typeof queryParams[ param ] ) { strippedParams += 1; delete queryParams[ param ]; } } ); if ( 0 === strippedParams ) { return; } urlParser.search = $.param( queryParams ); history.replaceState( {}, document.title, urlParser.href ); } /** * Displays a Site Editor notification when a block theme is activated. * * @since 4.9.0 * * @param {string} [notification] - A notification to display. * @return {void} */ function addSiteEditorNotification( notification ) { api.notifications.add( new api.Notification( 'site_editor_block_theme_notice', { message: notification, type: 'info', dismissible: false, render: function() { var notification = api.Notification.prototype.render.call( this ), button = notification.find( 'button.switch-to-editor' ); button.on( 'click', function( event ) { event.preventDefault(); location.assign( button.data( 'action' ) ); } ); return notification; } } ) ); } /** * Dismiss autosave. * * @return {void} */ function dismissAutosave() { if ( autosaveDismissed ) { return; } wp.ajax.post( 'customize_dismiss_autosave_or_lock', { wp_customize: 'on', customize_theme: api.settings.theme.stylesheet, customize_changeset_uuid: api.settings.changeset.uuid, nonce: api.settings.nonce.dismiss_autosave_or_lock, dismiss_autosave: true } ); autosaveDismissed = true; } /** * Add notification regarding the availability of an autosave to restore. * * @return {void} */ function addAutosaveRestoreNotification() { var code = 'autosave_available', onStateChange; // Since there is an autosave revision and the user hasn't loaded with autosaved, add notification to prompt to load autosaved version. api.notifications.add( new api.Notification( code, { message: api.l10n.autosaveNotice, type: 'warning', dismissible: true, render: function() { var li = api.Notification.prototype.render.call( this ), link; // Handle clicking on restoration link. link = li.find( 'a' ); link.prop( 'href', getAutosaveRestorationUrl() ); link.on( 'click', function( event ) { event.preventDefault(); location.replace( getAutosaveRestorationUrl() ); } ); // Handle dismissal of notice. li.find( '.notice-dismiss' ).on( 'click', dismissAutosave ); return li; } } ) ); // Remove the notification once the user starts making changes. onStateChange = function() { dismissAutosave(); api.notifications.remove( code ); api.unbind( 'change', onStateChange ); api.state( 'changesetStatus' ).unbind( onStateChange ); }; api.bind( 'change', onStateChange ); api.state( 'changesetStatus' ).bind( onStateChange ); } if ( api.settings.changeset.autosaved ) { api.state( 'saved' ).set( false ); removedQueryParams.push( 'customize_autosaved' ); } if ( ! api.settings.changeset.branching && ( ! api.settings.changeset.status || 'auto-draft' === api.settings.changeset.status ) ) { removedQueryParams.push( 'changeset_uuid' ); // Remove UUID when restoring autosave auto-draft. } if ( removedQueryParams.length > 0 ) { stripParamsFromLocation( removedQueryParams ); } if ( api.settings.changeset.latestAutoDraftUuid || api.settings.changeset.hasAutosaveRevision ) { addAutosaveRestoreNotification(); } var shouldDisplayBlockThemeNotification = !! parseInt( $( '#customize-info' ).data( 'block-theme' ), 10 ); if (shouldDisplayBlockThemeNotification) { addSiteEditorNotification( api.l10n.blockThemeNotification ); } })(); // Check if preview url is valid and load the preview frame. if ( api.previewer.previewUrl() ) { api.previewer.refresh(); } else { api.previewer.previewUrl( api.settings.url.home ); } // Button bindings. saveBtn.on( 'click', function( event ) { api.previewer.save(); event.preventDefault(); }).on( 'keydown', function( event ) { if ( 9 === event.which ) { // Tab. return; } if ( 13 === event.which ) { // Enter. api.previewer.save(); } event.preventDefault(); }); closeBtn.on( 'keydown', function( event ) { if ( 9 === event.which ) { // Tab. return; } if ( 13 === event.which ) { // Enter. this.click(); } event.preventDefault(); }); $( '.collapse-sidebar' ).on( 'click', function() { api.state( 'paneVisible' ).set( ! api.state( 'paneVisible' ).get() ); }); api.state( 'paneVisible' ).bind( function( paneVisible ) { overlay.toggleClass( 'preview-only', ! paneVisible ); overlay.toggleClass( 'expanded', paneVisible ); overlay.toggleClass( 'collapsed', ! paneVisible ); if ( ! paneVisible ) { $( '.collapse-sidebar' ).attr({ 'aria-expanded': 'false', 'aria-label': api.l10n.expandSidebar }); } else { $( '.collapse-sidebar' ).attr({ 'aria-expanded': 'true', 'aria-label': api.l10n.collapseSidebar }); } }); // Keyboard shortcuts - esc to exit section/panel. body.on( 'keydown', function( event ) { var collapsedObject, expandedControls = [], expandedSections = [], expandedPanels = []; if ( 27 !== event.which ) { // Esc. return; } /* * Abort if the event target is not the body (the default) and not inside of #customize-controls. * This ensures that ESC meant to collapse a modal dialog or a TinyMCE toolbar won't collapse something else. */ if ( ! $( event.target ).is( 'body' ) && ! $.contains( $( '#customize-controls' )[0], event.target ) ) { return; } // Abort if we're inside of a block editor instance. if ( event.target.closest( '.block-editor-writing-flow' ) !== null || event.target.closest( '.block-editor-block-list__block-popover' ) !== null ) { return; } // Check for expanded expandable controls (e.g. widgets and nav menus items), sections, and panels. api.control.each( function( control ) { if ( control.expanded && control.expanded() && _.isFunction( control.collapse ) ) { expandedControls.push( control ); } }); api.section.each( function( section ) { if ( section.expanded() ) { expandedSections.push( section ); } }); api.panel.each( function( panel ) { if ( panel.expanded() ) { expandedPanels.push( panel ); } }); // Skip collapsing expanded controls if there are no expanded sections. if ( expandedControls.length > 0 && 0 === expandedSections.length ) { expandedControls.length = 0; } // Collapse the most granular expanded object. collapsedObject = expandedControls[0] || expandedSections[0] || expandedPanels[0]; if ( collapsedObject ) { if ( 'themes' === collapsedObject.params.type ) { // Themes panel or section. if ( body.hasClass( 'modal-open' ) ) { collapsedObject.closeDetails(); } else if ( api.panel.has( 'themes' ) ) { // If we're collapsing a section, collapse the panel also. api.panel( 'themes' ).collapse(); } return; } collapsedObject.collapse(); event.preventDefault(); } }); $( '.customize-controls-preview-toggle' ).on( 'click', function() { api.state( 'paneVisible' ).set( ! api.state( 'paneVisible' ).get() ); }); /* * Sticky header feature. */ (function initStickyHeaders() { var parentContainer = $( '.wp-full-overlay-sidebar-content' ), changeContainer, updateHeaderHeight, releaseStickyHeader, resetStickyHeader, positionStickyHeader, activeHeader, lastScrollTop; /** * Determine which panel or section is currently expanded. * * @since 4.7.0 * @access private * * @param {wp.customize.Panel|wp.customize.Section} container Construct. * @return {void} */ changeContainer = function( container ) { var newInstance = container, expandedSection = api.state( 'expandedSection' ).get(), expandedPanel = api.state( 'expandedPanel' ).get(), headerElement; if ( activeHeader && activeHeader.element ) { // Release previously active header element. releaseStickyHeader( activeHeader.element ); // Remove event listener in the previous panel or section. activeHeader.element.find( '.description' ).off( 'toggled', updateHeaderHeight ); } if ( ! newInstance ) { if ( ! expandedSection && expandedPanel && expandedPanel.contentContainer ) { newInstance = expandedPanel; } else if ( ! expandedPanel && expandedSection && expandedSection.contentContainer ) { newInstance = expandedSection; } else { activeHeader = false; return; } } headerElement = newInstance.contentContainer.find( '.customize-section-title, .panel-meta' ).first(); if ( headerElement.length ) { activeHeader = { instance: newInstance, element: headerElement, parent: headerElement.closest( '.customize-pane-child' ), height: headerElement.outerHeight() }; // Update header height whenever help text is expanded or collapsed. activeHeader.element.find( '.description' ).on( 'toggled', updateHeaderHeight ); if ( expandedSection ) { resetStickyHeader( activeHeader.element, activeHeader.parent ); } } else { activeHeader = false; } }; api.state( 'expandedSection' ).bind( changeContainer ); api.state( 'expandedPanel' ).bind( changeContainer ); // Throttled scroll event handler. parentContainer.on( 'scroll', _.throttle( function() { if ( ! activeHeader ) { return; } var scrollTop = parentContainer.scrollTop(), scrollDirection; if ( ! lastScrollTop ) { scrollDirection = 1; } else { if ( scrollTop === lastScrollTop ) { scrollDirection = 0; } else if ( scrollTop > lastScrollTop ) { scrollDirection = 1; } else { scrollDirection = -1; } } lastScrollTop = scrollTop; if ( 0 !== scrollDirection ) { positionStickyHeader( activeHeader, scrollTop, scrollDirection ); } }, 8 ) ); // Update header position on sidebar layout change. api.notifications.bind( 'sidebarTopUpdated', function() { if ( activeHeader && activeHeader.element.hasClass( 'is-sticky' ) ) { activeHeader.element.css( 'top', parentContainer.css( 'top' ) ); } }); // Release header element if it is sticky. releaseStickyHeader = function( headerElement ) { if ( ! headerElement.hasClass( 'is-sticky' ) ) { return; } headerElement .removeClass( 'is-sticky' ) .addClass( 'maybe-sticky is-in-view' ) .css( 'top', parentContainer.scrollTop() + 'px' ); }; // Reset position of the sticky header. resetStickyHeader = function( headerElement, headerParent ) { if ( headerElement.hasClass( 'is-in-view' ) ) { headerElement .removeClass( 'maybe-sticky is-in-view' ) .css( { width: '', top: '' } ); headerParent.css( 'padding-top', '' ); } }; /** * Update active header height. * * @since 4.7.0 * @access private * * @return {void} */ updateHeaderHeight = function() { activeHeader.height = activeHeader.element.outerHeight(); }; /** * Reposition header on throttled `scroll` event. * * @since 4.7.0 * @access private * * @param {Object} header - Header. * @param {number} scrollTop - Scroll top. * @param {number} scrollDirection - Scroll direction, negative number being up and positive being down. * @return {void} */ positionStickyHeader = function( header, scrollTop, scrollDirection ) { var headerElement = header.element, headerParent = header.parent, headerHeight = header.height, headerTop = parseInt( headerElement.css( 'top' ), 10 ), maybeSticky = headerElement.hasClass( 'maybe-sticky' ), isSticky = headerElement.hasClass( 'is-sticky' ), isInView = headerElement.hasClass( 'is-in-view' ), isScrollingUp = ( -1 === scrollDirection ); // When scrolling down, gradually hide sticky header. if ( ! isScrollingUp ) { if ( isSticky ) { headerTop = scrollTop; headerElement .removeClass( 'is-sticky' ) .css( { top: headerTop + 'px', width: '' } ); } if ( isInView && scrollTop > headerTop + headerHeight ) { headerElement.removeClass( 'is-in-view' ); headerParent.css( 'padding-top', '' ); } return; } // Scrolling up. if ( ! maybeSticky && scrollTop >= headerHeight ) { maybeSticky = true; headerElement.addClass( 'maybe-sticky' ); } else if ( 0 === scrollTop ) { // Reset header in base position. headerElement .removeClass( 'maybe-sticky is-in-view is-sticky' ) .css( { top: '', width: '' } ); headerParent.css( 'padding-top', '' ); return; } if ( isInView && ! isSticky ) { // Header is in the view but is not yet sticky. if ( headerTop >= scrollTop ) { // Header is fully visible. headerElement .addClass( 'is-sticky' ) .css( { top: parentContainer.css( 'top' ), width: headerParent.outerWidth() + 'px' } ); } } else if ( maybeSticky && ! isInView ) { // Header is out of the view. headerElement .addClass( 'is-in-view' ) .css( 'top', ( scrollTop - headerHeight ) + 'px' ); headerParent.css( 'padding-top', headerHeight + 'px' ); } }; }()); // Previewed device bindings. (The api.previewedDevice property // is how this Value was first introduced, but since it has moved to api.state.) api.previewedDevice = api.state( 'previewedDevice' ); // Set the default device. api.bind( 'ready', function() { _.find( api.settings.previewableDevices, function( value, key ) { if ( true === value['default'] ) { api.previewedDevice.set( key ); return true; } } ); } ); // Set the toggled device. footerActions.find( '.devices button' ).on( 'click', function( event ) { api.previewedDevice.set( $( event.currentTarget ).data( 'device' ) ); }); // Bind device changes. api.previewedDevice.bind( function( newDevice ) { var overlay = $( '.wp-full-overlay' ), devices = ''; footerActions.find( '.devices button' ) .removeClass( 'active' ) .attr( 'aria-pressed', false ); footerActions.find( '.devices .preview-' + newDevice ) .addClass( 'active' ) .attr( 'aria-pressed', true ); $.each( api.settings.previewableDevices, function( device ) { devices += ' preview-' + device; } ); overlay .removeClass( devices ) .addClass( 'preview-' + newDevice ); } ); // Bind site title display to the corresponding field. if ( title.length ) { api( 'blogname', function( setting ) { var updateTitle = function() { var blogTitle = setting() || ''; title.text( blogTitle.toString().trim() || api.l10n.untitledBlogName ); }; setting.bind( updateTitle ); updateTitle(); } ); } /* * Create a postMessage connection with a parent frame, * in case the Customizer frame was opened with the Customize loader. * * @see wp.customize.Loader */ parent = new api.Messenger({ url: api.settings.url.parent, channel: 'loader' }); // Handle exiting of Customizer. (function() { var isInsideIframe = false; function isCleanState() { var defaultChangesetStatus; /* * Handle special case of previewing theme switch since some settings (for nav menus and widgets) * are pre-dirty and non-active themes can only ever be auto-drafts. */ if ( ! api.state( 'activated' ).get() ) { return 0 === api._latestRevision; } // Dirty if the changeset status has been changed but not saved yet. defaultChangesetStatus = api.state( 'changesetStatus' ).get(); if ( '' === defaultChangesetStatus || 'auto-draft' === defaultChangesetStatus ) { defaultChangesetStatus = 'publish'; } if ( api.state( 'selectedChangesetStatus' ).get() !== defaultChangesetStatus ) { return false; } // Dirty if scheduled but the changeset date hasn't been saved yet. if ( 'future' === api.state( 'selectedChangesetStatus' ).get() && api.state( 'selectedChangesetDate' ).get() !== api.state( 'changesetDate' ).get() ) { return false; } return api.state( 'saved' ).get() && 'auto-draft' !== api.state( 'changesetStatus' ).get(); } /* * If we receive a 'back' event, we're inside an iframe. * Send any clicks to the 'Return' link to the parent page. */ parent.bind( 'back', function() { isInsideIframe = true; }); function startPromptingBeforeUnload() { api.unbind( 'change', startPromptingBeforeUnload ); api.state( 'selectedChangesetStatus' ).unbind( startPromptingBeforeUnload ); api.state( 'selectedChangesetDate' ).unbind( startPromptingBeforeUnload ); // Prompt user with AYS dialog if leaving the Customizer with unsaved changes. $( window ).on( 'beforeunload.customize-confirm', function() { if ( ! isCleanState() && ! api.state( 'changesetLocked' ).get() ) { setTimeout( function() { overlay.removeClass( 'customize-loading' ); }, 1 ); return api.l10n.saveAlert; } }); } api.bind( 'change', startPromptingBeforeUnload ); api.state( 'selectedChangesetStatus' ).bind( startPromptingBeforeUnload ); api.state( 'selectedChangesetDate' ).bind( startPromptingBeforeUnload ); function requestClose() { var clearedToClose = $.Deferred(), dismissAutoSave = false, dismissLock = false; if ( isCleanState() ) { dismissLock = true; } else if ( confirm( api.l10n.saveAlert ) ) { dismissLock = true; // Mark all settings as clean to prevent another call to requestChangesetUpdate. api.each( function( setting ) { setting._dirty = false; }); $( document ).off( 'visibilitychange.wp-customize-changeset-update' ); $( window ).off( 'beforeunload.wp-customize-changeset-update' ); closeBtn.css( 'cursor', 'progress' ); if ( '' !== api.state( 'changesetStatus' ).get() ) { dismissAutoSave = true; } } else { clearedToClose.reject(); } if ( dismissLock || dismissAutoSave ) { wp.ajax.send( 'customize_dismiss_autosave_or_lock', { timeout: 500, // Don't wait too long. data: { wp_customize: 'on', customize_theme: api.settings.theme.stylesheet, customize_changeset_uuid: api.settings.changeset.uuid, nonce: api.settings.nonce.dismiss_autosave_or_lock, dismiss_autosave: dismissAutoSave, dismiss_lock: dismissLock } } ).always( function() { clearedToClose.resolve(); } ); } return clearedToClose.promise(); } parent.bind( 'confirm-close', function() { requestClose().done( function() { parent.send( 'confirmed-close', true ); } ).fail( function() { parent.send( 'confirmed-close', false ); } ); } ); closeBtn.on( 'click.customize-controls-close', function( event ) { event.preventDefault(); if ( isInsideIframe ) { parent.send( 'close' ); // See confirm-close logic above. } else { requestClose().done( function() { $( window ).off( 'beforeunload.customize-confirm' ); window.location.href = closeBtn.prop( 'href' ); } ); } }); })(); // Pass events through to the parent. $.each( [ 'saved', 'change' ], function ( i, event ) { api.bind( event, function() { parent.send( event ); }); } ); // Pass titles to the parent. api.bind( 'title', function( newTitle ) { parent.send( 'title', newTitle ); }); if ( api.settings.changeset.branching ) { parent.send( 'changeset-uuid', api.settings.changeset.uuid ); } // Initialize the connection with the parent frame. parent.send( 'ready' ); // Control visibility for default controls. $.each({ 'background_image': { controls: [ 'background_preset', 'background_position', 'background_size', 'background_repeat', 'background_attachment' ], callback: function( to ) { return !! to; } }, 'show_on_front': { controls: [ 'page_on_front', 'page_for_posts' ], callback: function( to ) { return 'page' === to; } }, 'header_textcolor': { controls: [ 'header_textcolor' ], callback: function( to ) { return 'blank' !== to; } } }, function( settingId, o ) { api( settingId, function( setting ) { $.each( o.controls, function( i, controlId ) { api.control( controlId, function( control ) { var visibility = function( to ) { control.container.toggle( o.callback( to ) ); }; visibility( setting.get() ); setting.bind( visibility ); }); }); }); }); api.control( 'background_preset', function( control ) { var visibility, defaultValues, values, toggleVisibility, updateSettings, preset; visibility = { // position, size, repeat, attachment. 'default': [ false, false, false, false ], 'fill': [ true, false, false, false ], 'fit': [ true, false, true, false ], 'repeat': [ true, false, false, true ], 'custom': [ true, true, true, true ] }; defaultValues = [ _wpCustomizeBackground.defaults['default-position-x'], _wpCustomizeBackground.defaults['default-position-y'], _wpCustomizeBackground.defaults['default-size'], _wpCustomizeBackground.defaults['default-repeat'], _wpCustomizeBackground.defaults['default-attachment'] ]; values = { // position_x, position_y, size, repeat, attachment. 'default': defaultValues, 'fill': [ 'left', 'top', 'cover', 'no-repeat', 'fixed' ], 'fit': [ 'left', 'top', 'contain', 'no-repeat', 'fixed' ], 'repeat': [ 'left', 'top', 'auto', 'repeat', 'scroll' ] }; // @todo These should actually toggle the active state, // but without the preview overriding the state in data.activeControls. toggleVisibility = function( preset ) { _.each( [ 'background_position', 'background_size', 'background_repeat', 'background_attachment' ], function( controlId, i ) { var control = api.control( controlId ); if ( control ) { control.container.toggle( visibility[ preset ][ i ] ); } } ); }; updateSettings = function( preset ) { _.each( [ 'background_position_x', 'background_position_y', 'background_size', 'background_repeat', 'background_attachment' ], function( settingId, i ) { var setting = api( settingId ); if ( setting ) { setting.set( values[ preset ][ i ] ); } } ); }; preset = control.setting.get(); toggleVisibility( preset ); control.setting.bind( 'change', function( preset ) { toggleVisibility( preset ); if ( 'custom' !== preset ) { updateSettings( preset ); } } ); } ); api.control( 'background_repeat', function( control ) { control.elements[0].unsync( api( 'background_repeat' ) ); control.element = new api.Element( control.container.find( 'input' ) ); control.element.set( 'no-repeat' !== control.setting() ); control.element.bind( function( to ) { control.setting.set( to ? 'repeat' : 'no-repeat' ); } ); control.setting.bind( function( to ) { control.element.set( 'no-repeat' !== to ); } ); } ); api.control( 'background_attachment', function( control ) { control.elements[0].unsync( api( 'background_attachment' ) ); control.element = new api.Element( control.container.find( 'input' ) ); control.element.set( 'fixed' !== control.setting() ); control.element.bind( function( to ) { control.setting.set( to ? 'scroll' : 'fixed' ); } ); control.setting.bind( function( to ) { control.element.set( 'fixed' !== to ); } ); } ); // Juggle the two controls that use header_textcolor. api.control( 'display_header_text', function( control ) { var last = ''; control.elements[0].unsync( api( 'header_textcolor' ) ); control.element = new api.Element( control.container.find('input') ); control.element.set( 'blank' !== control.setting() ); control.element.bind( function( to ) { if ( ! to ) { last = api( 'header_textcolor' ).get(); } control.setting.set( to ? last : 'blank' ); }); control.setting.bind( function( to ) { control.element.set( 'blank' !== to ); }); }); // Add behaviors to the static front page controls. api( 'show_on_front', 'page_on_front', 'page_for_posts', function( showOnFront, pageOnFront, pageForPosts ) { var handleChange = function() { var setting = this, pageOnFrontId, pageForPostsId, errorCode = 'show_on_front_page_collision'; pageOnFrontId = parseInt( pageOnFront(), 10 ); pageForPostsId = parseInt( pageForPosts(), 10 ); if ( 'page' === showOnFront() ) { // Change previewed URL to the homepage when changing the page_on_front. if ( setting === pageOnFront && pageOnFrontId > 0 ) { api.previewer.previewUrl.set( api.settings.url.home ); } // Change the previewed URL to the selected page when changing the page_for_posts. if ( setting === pageForPosts && pageForPostsId > 0 ) { api.previewer.previewUrl.set( api.settings.url.home + '?page_id=' + pageForPostsId ); } } // Toggle notification when the homepage and posts page are both set and the same. if ( 'page' === showOnFront() && pageOnFrontId && pageForPostsId && pageOnFrontId === pageForPostsId ) { showOnFront.notifications.add( new api.Notification( errorCode, { type: 'error', message: api.l10n.pageOnFrontError } ) ); } else { showOnFront.notifications.remove( errorCode ); } }; showOnFront.bind( handleChange ); pageOnFront.bind( handleChange ); pageForPosts.bind( handleChange ); handleChange.call( showOnFront, showOnFront() ); // Make sure initial notification is added after loading existing changeset. // Move notifications container to the bottom. api.control( 'show_on_front', function( showOnFrontControl ) { showOnFrontControl.deferred.embedded.done( function() { showOnFrontControl.container.append( showOnFrontControl.getNotificationsContainerElement() ); }); }); }); // Add code editor for Custom CSS. (function() { var sectionReady = $.Deferred(); api.section( 'custom_css', function( section ) { section.deferred.embedded.done( function() { if ( section.expanded() ) { sectionReady.resolve( section ); } else { section.expanded.bind( function( isExpanded ) { if ( isExpanded ) { sectionReady.resolve( section ); } } ); } }); }); // Set up the section description behaviors. sectionReady.done( function setupSectionDescription( section ) { var control = api.control( 'custom_css' ); // Hide redundant label for visual users. control.container.find( '.customize-control-title:first' ).addClass( 'screen-reader-text' ); // Close the section description when clicking the close button. section.container.find( '.section-description-buttons .section-description-close' ).on( 'click', function() { section.container.find( '.section-meta .customize-section-description:first' ) .removeClass( 'open' ) .slideUp(); section.container.find( '.customize-help-toggle' ) .attr( 'aria-expanded', 'false' ) .focus(); // Avoid focus loss. }); // Reveal help text if setting is empty. if ( control && ! control.setting.get() ) { section.container.find( '.section-meta .customize-section-description:first' ) .addClass( 'open' ) .show() .trigger( 'toggled' ); section.container.find( '.customize-help-toggle' ).attr( 'aria-expanded', 'true' ); } }); })(); // Toggle visibility of Header Video notice when active state change. api.control( 'header_video', function( headerVideoControl ) { headerVideoControl.deferred.embedded.done( function() { var toggleNotice = function() { var section = api.section( headerVideoControl.section() ), noticeCode = 'video_header_not_available'; if ( ! section ) { return; } if ( headerVideoControl.active.get() ) { section.notifications.remove( noticeCode ); } else { section.notifications.add( new api.Notification( noticeCode, { type: 'info', message: api.l10n.videoHeaderNotice } ) ); } }; toggleNotice(); headerVideoControl.active.bind( toggleNotice ); } ); } ); // Update the setting validities. api.previewer.bind( 'selective-refresh-setting-validities', function handleSelectiveRefreshedSettingValidities( settingValidities ) { api._handleSettingValidities( { settingValidities: settingValidities, focusInvalidControl: false } ); } ); // Focus on the control that is associated with the given setting. api.previewer.bind( 'focus-control-for-setting', function( settingId ) { var matchedControls = []; api.control.each( function( control ) { var settingIds = _.pluck( control.settings, 'id' ); if ( -1 !== _.indexOf( settingIds, settingId ) ) { matchedControls.push( control ); } } ); // Focus on the matched control with the lowest priority (appearing higher). if ( matchedControls.length ) { matchedControls.sort( function( a, b ) { return a.priority() - b.priority(); } ); matchedControls[0].focus(); } } ); // Refresh the preview when it requests. api.previewer.bind( 'refresh', function() { api.previewer.refresh(); }); // Update the edit shortcut visibility state. api.state( 'paneVisible' ).bind( function( isPaneVisible ) { var isMobileScreen; if ( window.matchMedia ) { isMobileScreen = window.matchMedia( 'screen and ( max-width: 640px )' ).matches; } else { isMobileScreen = $( window ).width() <= 640; } api.state( 'editShortcutVisibility' ).set( isPaneVisible || isMobileScreen ? 'visible' : 'hidden' ); } ); if ( window.matchMedia ) { window.matchMedia( 'screen and ( max-width: 640px )' ).addListener( function() { var state = api.state( 'paneVisible' ); state.callbacks.fireWith( state, [ state.get(), state.get() ] ); } ); } api.previewer.bind( 'edit-shortcut-visibility', function( visibility ) { api.state( 'editShortcutVisibility' ).set( visibility ); } ); api.state( 'editShortcutVisibility' ).bind( function( visibility ) { api.previewer.send( 'edit-shortcut-visibility', visibility ); } ); // Autosave changeset. function startAutosaving() { var timeoutId, updateChangesetWithReschedule, scheduleChangesetUpdate, updatePending = false; api.unbind( 'change', startAutosaving ); // Ensure startAutosaving only fires once. function onChangeSaved( isSaved ) { if ( ! isSaved && ! api.settings.changeset.autosaved ) { api.settings.changeset.autosaved = true; // Once a change is made then autosaving kicks in. api.previewer.send( 'autosaving' ); } } api.state( 'saved' ).bind( onChangeSaved ); onChangeSaved( api.state( 'saved' ).get() ); /** * Request changeset update and then re-schedule the next changeset update time. * * @since 4.7.0 * @private */ updateChangesetWithReschedule = function() { if ( ! updatePending ) { updatePending = true; api.requestChangesetUpdate( {}, { autosave: true } ).always( function() { updatePending = false; } ); } scheduleChangesetUpdate(); }; /** * Schedule changeset update. * * @since 4.7.0 * @private */ scheduleChangesetUpdate = function() { clearTimeout( timeoutId ); timeoutId = setTimeout( function() { updateChangesetWithReschedule(); }, api.settings.timeouts.changesetAutoSave ); }; // Start auto-save interval for updating changeset. scheduleChangesetUpdate(); // Save changeset when focus removed from window. $( document ).on( 'visibilitychange.wp-customize-changeset-update', function() { if ( document.hidden ) { updateChangesetWithReschedule(); } } ); // Save changeset before unloading window. $( window ).on( 'beforeunload.wp-customize-changeset-update', function() { updateChangesetWithReschedule(); } ); } api.bind( 'change', startAutosaving ); // Make sure TinyMCE dialogs appear above Customizer UI. $( document ).one( 'tinymce-editor-setup', function() { if ( window.tinymce.ui.FloatPanel && ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) ) { window.tinymce.ui.FloatPanel.zIndex = 500001; } } ); body.addClass( 'ready' ); api.trigger( 'ready' ); }); })( wp, jQuery ); tags-suggest.js 0000644 00000013213 15174671433 0007532 0 ustar 00 /** * Default settings for jQuery UI Autocomplete for use with non-hierarchical taxonomies. * * @output wp-admin/js/tags-suggest.js */ ( function( $ ) { var tempID = 0; var separator = wp.i18n._x( ',', 'tag delimiter' ) || ','; var __ = wp.i18n.__, _n = wp.i18n._n, sprintf = wp.i18n.sprintf; function split( val ) { return val.split( new RegExp( separator + '\\s*' ) ); } function getLast( term ) { return split( term ).pop(); } /** * Add UI Autocomplete to an input or textarea element with presets for use * with non-hierarchical taxonomies. * * Example: `$( element ).wpTagsSuggest( options )`. * * The taxonomy can be passed in a `data-wp-taxonomy` attribute on the element or * can be in `options.taxonomy`. * * @since 4.7.0 * * @param {Object} options Options that are passed to UI Autocomplete. Can be used to override the default settings. * @return {Object} jQuery instance. */ $.fn.wpTagsSuggest = function( options ) { var cache; var last; var $element = $( this ); // Do not initialize if the element doesn't exist. if ( ! $element.length ) { return this; } options = options || {}; var taxonomy = options.taxonomy || $element.attr( 'data-wp-taxonomy' ) || 'post_tag'; delete( options.taxonomy ); options = $.extend( { source: function( request, response ) { var term; if ( last === request.term ) { response( cache ); return; } term = getLast( request.term ); $.get( window.ajaxurl, { action: 'ajax-tag-search', tax: taxonomy, q: term, number: 20 } ).always( function() { $element.removeClass( 'ui-autocomplete-loading' ); // UI fails to remove this sometimes? } ).done( function( data ) { var tagName; var tags = []; if ( data ) { data = data.split( '\n' ); for ( tagName in data ) { var id = ++tempID; tags.push({ id: id, name: data[tagName] }); } cache = tags; response( tags ); } else { response( tags ); } } ); last = request.term; }, focus: function( event, ui ) { $element.attr( 'aria-activedescendant', 'wp-tags-autocomplete-' + ui.item.id ); // Don't empty the input field when using the arrow keys // to highlight items. See api.jqueryui.com/autocomplete/#event-focus event.preventDefault(); }, select: function( event, ui ) { var tags = split( $element.val() ); // Remove the last user input. tags.pop(); // Append the new tag and an empty element to get one more separator at the end. tags.push( ui.item.name, '' ); $element.val( tags.join( separator + ' ' ) ); if ( $.ui.keyCode.TAB === event.keyCode ) { // Audible confirmation message when a tag has been selected. window.wp.a11y.speak( wp.i18n.__( 'Term selected.' ), 'assertive' ); event.preventDefault(); } else if ( $.ui.keyCode.ENTER === event.keyCode ) { // If we're in the edit post Tags meta box, add the tag. if ( window.tagBox ) { window.tagBox.userAction = 'add'; window.tagBox.flushTags( $( this ).closest( '.tagsdiv' ) ); } // Do not close Quick Edit / Bulk Edit. event.preventDefault(); event.stopPropagation(); } return false; }, open: function() { $element.attr( 'aria-expanded', 'true' ); }, close: function() { $element.attr( 'aria-expanded', 'false' ); }, minLength: 2, position: { my: 'left top+2', at: 'left bottom', collision: 'none' }, messages: { noResults: __( 'No results found.' ), results: function( number ) { return sprintf( /* translators: %d: Number of search results found. */ _n( '%d result found. Use up and down arrow keys to navigate.', '%d results found. Use up and down arrow keys to navigate.', number ), number ); } } }, options ); $element.on( 'keydown', function() { $element.removeAttr( 'aria-activedescendant' ); } ); $element.autocomplete( options ); // Ensure the autocomplete instance exists. if ( ! $element.autocomplete( 'instance' ) ) { return this; } $element.autocomplete( 'instance' )._renderItem = function( ul, item ) { return $( '<li role="option" id="wp-tags-autocomplete-' + item.id + '">' ) .text( item.name ) .appendTo( ul ); }; $element.attr( { 'role': 'combobox', 'aria-autocomplete': 'list', 'aria-expanded': 'false', 'aria-owns': $element.autocomplete( 'widget' ).attr( 'id' ) } ) .on( 'focus', function() { var inputValue = split( $element.val() ).pop(); // Don't trigger a search if the field is empty. // Also, avoids screen readers announce `No search results`. if ( inputValue ) { $element.autocomplete( 'search' ); } } ); // Returns a jQuery object containing the menu element. $element.autocomplete( 'widget' ) .addClass( 'wp-tags-autocomplete' ) .attr( 'role', 'listbox' ) .removeAttr( 'tabindex' ) // Remove the `tabindex=0` attribute added by jQuery UI. /* * Looks like Safari and VoiceOver need an `aria-selected` attribute. See ticket #33301. * The `menufocus` and `menublur` events are the same events used to add and remove * the `ui-state-focus` CSS class on the menu items. See jQuery UI Menu Widget. */ .on( 'menufocus', function( event, ui ) { ui.item.attr( 'aria-selected', 'true' ); }) .on( 'menublur', function() { // The `menublur` event returns an object where the item is `null`, // so we need to find the active item with other means. $( this ).find( '[aria-selected="true"]' ).removeAttr( 'aria-selected' ); }); return this; }; }( jQuery ) ); xfn.min.js 0000644 00000000712 15174671433 0006472 0 ustar 00 /*! This file is auto-generated */ jQuery(function(l){l("#link_rel").prop("readonly",!0),l("#linkxfndiv input").on("click keyup",function(){var e=l("#me").is(":checked"),i="";l("input.valinp").each(function(){e?l(this).prop("disabled",!0).parent().addClass("disabled"):(l(this).removeAttr("disabled").parent().removeClass("disabled"),l(this).is(":checked")&&""!==l(this).val()&&(i+=l(this).val()+" "))}),l("#link_rel").val(e?"me":i.substr(0,i.length-1))})}); common.js 0000644 00000172232 15174671433 0006414 0 ustar 00 /** * @output wp-admin/js/common.js */ /* global setUserSetting, ajaxurl, alert, confirm, pagenow */ /* global columns, screenMeta */ /** * Adds common WordPress functionality to the window. * * @param {jQuery} $ jQuery object. * @param {Object} window The window object. * @param {mixed} undefined Unused. */ ( function( $, window, undefined ) { var $document = $( document ), $window = $( window ), $body = $( document.body ), __ = wp.i18n.__, sprintf = wp.i18n.sprintf; /** * Throws an error for a deprecated property. * * @since 5.5.1 * * @param {string} propName The property that was used. * @param {string} version The version of WordPress that deprecated the property. * @param {string} replacement The property that should have been used. */ function deprecatedProperty( propName, version, replacement ) { var message; if ( 'undefined' !== typeof replacement ) { message = sprintf( /* translators: 1: Deprecated property name, 2: Version number, 3: Alternative property name. */ __( '%1$s is deprecated since version %2$s! Use %3$s instead.' ), propName, version, replacement ); } else { message = sprintf( /* translators: 1: Deprecated property name, 2: Version number. */ __( '%1$s is deprecated since version %2$s with no alternative available.' ), propName, version ); } window.console.warn( message ); } /** * Deprecate all properties on an object. * * @since 5.5.1 * @since 5.6.0 Added the `version` parameter. * * @param {string} name The name of the object, i.e. commonL10n. * @param {object} l10nObject The object to deprecate the properties on. * @param {string} version The version of WordPress that deprecated the property. * * @return {object} The object with all its properties deprecated. */ function deprecateL10nObject( name, l10nObject, version ) { var deprecatedObject = {}; Object.keys( l10nObject ).forEach( function( key ) { var prop = l10nObject[ key ]; var propName = name + '.' + key; if ( 'object' === typeof prop ) { Object.defineProperty( deprecatedObject, key, { get: function() { deprecatedProperty( propName, version, prop.alternative ); return prop.func(); } } ); } else { Object.defineProperty( deprecatedObject, key, { get: function() { deprecatedProperty( propName, version, 'wp.i18n' ); return prop; } } ); } } ); return deprecatedObject; } window.wp.deprecateL10nObject = deprecateL10nObject; /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.6.0 * @deprecated 5.5.0 */ window.commonL10n = window.commonL10n || { warnDelete: '', dismiss: '', collapseMenu: '', expandMenu: '' }; window.commonL10n = deprecateL10nObject( 'commonL10n', window.commonL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 3.3.0 * @deprecated 5.5.0 */ window.wpPointerL10n = window.wpPointerL10n || { dismiss: '' }; window.wpPointerL10n = deprecateL10nObject( 'wpPointerL10n', window.wpPointerL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.3.0 * @deprecated 5.5.0 */ window.userProfileL10n = window.userProfileL10n || { warn: '', warnWeak: '', show: '', hide: '', cancel: '', ariaShow: '', ariaHide: '' }; window.userProfileL10n = deprecateL10nObject( 'userProfileL10n', window.userProfileL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.9.6 * @deprecated 5.5.0 */ window.privacyToolsL10n = window.privacyToolsL10n || { noDataFound: '', foundAndRemoved: '', noneRemoved: '', someNotRemoved: '', removalError: '', emailSent: '', noExportFile: '', exportError: '' }; window.privacyToolsL10n = deprecateL10nObject( 'privacyToolsL10n', window.privacyToolsL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 3.6.0 * @deprecated 5.5.0 */ window.authcheckL10n = { beforeunload: '' }; window.authcheckL10n = window.authcheckL10n || deprecateL10nObject( 'authcheckL10n', window.authcheckL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.8.0 * @deprecated 5.5.0 */ window.tagsl10n = { noPerm: '', broken: '' }; window.tagsl10n = window.tagsl10n || deprecateL10nObject( 'tagsl10n', window.tagsl10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.5.0 * @deprecated 5.5.0 */ window.adminCommentsL10n = window.adminCommentsL10n || { hotkeys_highlight_first: { alternative: 'window.adminCommentsSettings.hotkeys_highlight_first', func: function() { return window.adminCommentsSettings.hotkeys_highlight_first; } }, hotkeys_highlight_last: { alternative: 'window.adminCommentsSettings.hotkeys_highlight_last', func: function() { return window.adminCommentsSettings.hotkeys_highlight_last; } }, replyApprove: '', reply: '', warnQuickEdit: '', warnCommentChanges: '', docTitleComments: '', docTitleCommentsCount: '' }; window.adminCommentsL10n = deprecateL10nObject( 'adminCommentsL10n', window.adminCommentsL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.5.0 * @deprecated 5.5.0 */ window.tagsSuggestL10n = window.tagsSuggestL10n || { tagDelimiter: '', removeTerm: '', termSelected: '', termAdded: '', termRemoved: '' }; window.tagsSuggestL10n = deprecateL10nObject( 'tagsSuggestL10n', window.tagsSuggestL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 3.5.0 * @deprecated 5.5.0 */ window.wpColorPickerL10n = window.wpColorPickerL10n || { clear: '', clearAriaLabel: '', defaultString: '', defaultAriaLabel: '', pick: '', defaultLabel: '' }; window.wpColorPickerL10n = deprecateL10nObject( 'wpColorPickerL10n', window.wpColorPickerL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.7.0 * @deprecated 5.5.0 */ window.attachMediaBoxL10n = window.attachMediaBoxL10n || { error: '' }; window.attachMediaBoxL10n = deprecateL10nObject( 'attachMediaBoxL10n', window.attachMediaBoxL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.5.0 * @deprecated 5.5.0 */ window.postL10n = window.postL10n || { ok: '', cancel: '', publishOn: '', publishOnFuture: '', publishOnPast: '', dateFormat: '', showcomm: '', endcomm: '', publish: '', schedule: '', update: '', savePending: '', saveDraft: '', 'private': '', 'public': '', publicSticky: '', password: '', privatelyPublished: '', published: '', saveAlert: '', savingText: '', permalinkSaved: '' }; window.postL10n = deprecateL10nObject( 'postL10n', window.postL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.7.0 * @deprecated 5.5.0 */ window.inlineEditL10n = window.inlineEditL10n || { error: '', ntdeltitle: '', notitle: '', comma: '', saved: '' }; window.inlineEditL10n = deprecateL10nObject( 'inlineEditL10n', window.inlineEditL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.7.0 * @deprecated 5.5.0 */ window.plugininstallL10n = window.plugininstallL10n || { plugin_information: '', plugin_modal_label: '', ays: '' }; window.plugininstallL10n = deprecateL10nObject( 'plugininstallL10n', window.plugininstallL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 3.0.0 * @deprecated 5.5.0 */ window.navMenuL10n = window.navMenuL10n || { noResultsFound: '', warnDeleteMenu: '', saveAlert: '', untitled: '' }; window.navMenuL10n = deprecateL10nObject( 'navMenuL10n', window.navMenuL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.5.0 * @deprecated 5.5.0 */ window.commentL10n = window.commentL10n || { submittedOn: '', dateFormat: '' }; window.commentL10n = deprecateL10nObject( 'commentL10n', window.commentL10n, '5.5.0' ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 2.9.0 * @deprecated 5.5.0 */ window.setPostThumbnailL10n = window.setPostThumbnailL10n || { setThumbnail: '', saving: '', error: '', done: '' }; window.setPostThumbnailL10n = deprecateL10nObject( 'setPostThumbnailL10n', window.setPostThumbnailL10n, '5.5.0' ); /** * Removed in 6.5.0, needed for back-compatibility. * * @since 4.5.0 * @deprecated 6.5.0 */ window.uiAutocompleteL10n = window.uiAutocompleteL10n || { noResults: '', oneResult: '', manyResults: '', itemSelected: '' }; window.uiAutocompleteL10n = deprecateL10nObject( 'uiAutocompleteL10n', window.uiAutocompleteL10n, '6.5.0' ); /** * Removed in 3.3.0, needed for back-compatibility. * * @since 2.7.0 * @deprecated 3.3.0 */ window.adminMenu = { init : function() {}, fold : function() {}, restoreMenuState : function() {}, toggle : function() {}, favorites : function() {} }; // Show/hide/save table columns. window.columns = { /** * Initializes the column toggles in the screen options. * * Binds an onClick event to the checkboxes to show or hide the table columns * based on their toggled state. And persists the toggled state. * * @since 2.7.0 * * @return {void} */ init : function() { var that = this; $('.hide-column-tog', '#adv-settings').on( 'click', function() { var $t = $(this), column = $t.val(); if ( $t.prop('checked') ) that.checked(column); else that.unchecked(column); columns.saveManageColumnsState(); }); }, /** * Saves the toggled state for the columns. * * Saves whether the columns should be shown or hidden on a page. * * @since 3.0.0 * * @return {void} */ saveManageColumnsState : function() { var hidden = this.hidden(); $.post( ajaxurl, { action: 'hidden-columns', hidden: hidden, screenoptionnonce: $('#screenoptionnonce').val(), page: pagenow }, function() { wp.a11y.speak( __( 'Screen Options updated.' ) ); } ); }, /** * Makes a column visible and adjusts the column span for the table. * * @since 3.0.0 * @param {string} column The column name. * * @return {void} */ checked : function(column) { $('.column-' + column).removeClass( 'hidden' ); this.colSpanChange(+1); }, /** * Hides a column and adjusts the column span for the table. * * @since 3.0.0 * @param {string} column The column name. * * @return {void} */ unchecked : function(column) { $('.column-' + column).addClass( 'hidden' ); this.colSpanChange(-1); }, /** * Gets all hidden columns. * * @since 3.0.0 * * @return {string} The hidden column names separated by a comma. */ hidden : function() { return $( '.manage-column[id]' ).filter( '.hidden' ).map(function() { return this.id; }).get().join( ',' ); }, /** * Gets the checked column toggles from the screen options. * * @since 3.0.0 * * @return {string} String containing the checked column names. */ useCheckboxesForHidden : function() { this.hidden = function(){ return $('.hide-column-tog').not(':checked').map(function() { var id = this.id; return id.substring( id, id.length - 5 ); }).get().join(','); }; }, /** * Adjusts the column span for the table. * * @since 3.1.0 * * @param {number} diff The modifier for the column span. */ colSpanChange : function(diff) { var $t = $('table').find('.colspanchange'), n; if ( !$t.length ) return; n = parseInt( $t.attr('colspan'), 10 ) + diff; $t.attr('colspan', n.toString()); } }; $( function() { columns.init(); } ); /** * Validates that the required form fields are not empty. * * @since 2.9.0 * * @param {jQuery} form The form to validate. * * @return {boolean} Returns true if all required fields are not an empty string. */ window.validateForm = function( form ) { return !$( form ) .find( '.form-required' ) .filter( function() { return $( ':input:visible', this ).val() === ''; } ) .addClass( 'form-invalid' ) .find( ':input:visible' ) .on( 'change', function() { $( this ).closest( '.form-invalid' ).removeClass( 'form-invalid' ); } ) .length; }; // Stub for doing better warnings. /** * Shows message pop-up notice or confirmation message. * * @since 2.7.0 * * @type {{warn: showNotice.warn, note: showNotice.note}} * * @return {void} */ window.showNotice = { /** * Shows a delete confirmation pop-up message. * * @since 2.7.0 * * @return {boolean} Returns true if the message is confirmed. */ warn : function() { if ( confirm( __( 'You are about to permanently delete these items from your site.\nThis action cannot be undone.\n\'Cancel\' to stop, \'OK\' to delete.' ) ) ) { return true; } return false; }, /** * Shows an alert message. * * @since 2.7.0 * * @param text The text to display in the message. */ note : function(text) { alert(text); } }; /** * Represents the functions for the meta screen options panel. * * @since 3.2.0 * * @type {{element: null, toggles: null, page: null, init: screenMeta.init, * toggleEvent: screenMeta.toggleEvent, open: screenMeta.open, * close: screenMeta.close}} * * @return {void} */ window.screenMeta = { element: null, // #screen-meta toggles: null, // .screen-meta-toggle page: null, // #wpcontent /** * Initializes the screen meta options panel. * * @since 3.2.0 * * @return {void} */ init: function() { this.element = $('#screen-meta'); this.toggles = $( '#screen-meta-links' ).find( '.show-settings' ); this.page = $('#wpcontent'); this.toggles.on( 'click', this.toggleEvent ); }, /** * Toggles the screen meta options panel. * * @since 3.2.0 * * @return {void} */ toggleEvent: function() { var panel = $( '#' + $( this ).attr( 'aria-controls' ) ); if ( !panel.length ) return; if ( panel.is(':visible') ) screenMeta.close( panel, $(this) ); else screenMeta.open( panel, $(this) ); }, /** * Opens the screen meta options panel. * * @since 3.2.0 * * @param {jQuery} panel The screen meta options panel div. * @param {jQuery} button The toggle button. * * @return {void} */ open: function( panel, button ) { $( '#screen-meta-links' ).find( '.screen-meta-toggle' ).not( button.parent() ).css( 'visibility', 'hidden' ); panel.parent().show(); /** * Sets the focus to the meta options panel and adds the necessary CSS classes. * * @since 3.2.0 * * @return {void} */ panel.slideDown( 'fast', function() { panel.removeClass( 'hidden' ).trigger( 'focus' ); button.addClass( 'screen-meta-active' ).attr( 'aria-expanded', true ); }); $document.trigger( 'screen:options:open' ); }, /** * Closes the screen meta options panel. * * @since 3.2.0 * * @param {jQuery} panel The screen meta options panel div. * @param {jQuery} button The toggle button. * * @return {void} */ close: function( panel, button ) { /** * Hides the screen meta options panel. * * @since 3.2.0 * * @return {void} */ panel.slideUp( 'fast', function() { button.removeClass( 'screen-meta-active' ).attr( 'aria-expanded', false ); $('.screen-meta-toggle').css('visibility', ''); panel.parent().hide(); panel.addClass( 'hidden' ); }); $document.trigger( 'screen:options:close' ); } }; /** * Initializes the help tabs in the help panel. * * @param {Event} e The event object. * * @return {void} */ $('.contextual-help-tabs').on( 'click', 'a', function(e) { var link = $(this), panel; e.preventDefault(); // Don't do anything if the click is for the tab already showing. if ( link.is('.active a') ) return false; // Links. $('.contextual-help-tabs .active').removeClass('active'); link.parent('li').addClass('active'); panel = $( link.attr('href') ); // Panels. $('.help-tab-content').not( panel ).removeClass('active').hide(); panel.addClass('active').show(); }); /** * Update custom permalink structure via buttons. */ var permalinkStructureFocused = false, $permalinkStructure = $( '#permalink_structure' ), $permalinkStructureInputs = $( '.permalink-structure input:radio' ), $permalinkCustomSelection = $( '#custom_selection' ), $availableStructureTags = $( '.form-table.permalink-structure .available-structure-tags button' ); // Change permalink structure input when selecting one of the common structures. $permalinkStructureInputs.on( 'change', function() { if ( 'custom' === this.value ) { return; } $permalinkStructure.val( this.value ); // Update button states after selection. $availableStructureTags.each( function() { changeStructureTagButtonState( $( this ) ); } ); } ); $permalinkStructure.on( 'click input', function() { $permalinkCustomSelection.prop( 'checked', true ); } ); // Check if the permalink structure input field has had focus at least once. $permalinkStructure.on( 'focus', function( event ) { permalinkStructureFocused = true; $( this ).off( event ); } ); /** * Enables or disables a structure tag button depending on its usage. * * If the structure is already used in the custom permalink structure, * it will be disabled. * * @param {Object} button Button jQuery object. */ function changeStructureTagButtonState( button ) { if ( -1 !== $permalinkStructure.val().indexOf( button.text().trim() ) ) { button.attr( 'data-label', button.attr( 'aria-label' ) ); button.attr( 'aria-label', button.attr( 'data-used' ) ); button.attr( 'aria-pressed', true ); button.addClass( 'active' ); } else if ( button.attr( 'data-label' ) ) { button.attr( 'aria-label', button.attr( 'data-label' ) ); button.attr( 'aria-pressed', false ); button.removeClass( 'active' ); } } // Check initial button state. $availableStructureTags.each( function() { changeStructureTagButtonState( $( this ) ); } ); // Observe permalink structure field and disable buttons of tags that are already present. $permalinkStructure.on( 'change', function() { $availableStructureTags.each( function() { changeStructureTagButtonState( $( this ) ); } ); } ); $availableStructureTags.on( 'click', function() { var permalinkStructureValue = $permalinkStructure.val(), selectionStart = $permalinkStructure[ 0 ].selectionStart, selectionEnd = $permalinkStructure[ 0 ].selectionEnd, textToAppend = $( this ).text().trim(), textToAnnounce, newSelectionStart; if ( $( this ).hasClass( 'active' ) ) { textToAnnounce = $( this ).attr( 'data-removed' ); } else { textToAnnounce = $( this ).attr( 'data-added' ); } // Remove structure tag if already part of the structure. if ( -1 !== permalinkStructureValue.indexOf( textToAppend ) ) { permalinkStructureValue = permalinkStructureValue.replace( textToAppend + '/', '' ); $permalinkStructure.val( '/' === permalinkStructureValue ? '' : permalinkStructureValue ); // Announce change to screen readers. $( '#custom_selection_updated' ).text( textToAnnounce ); // Disable button. changeStructureTagButtonState( $( this ) ); return; } // Input field never had focus, move selection to end of input. if ( ! permalinkStructureFocused && 0 === selectionStart && 0 === selectionEnd ) { selectionStart = selectionEnd = permalinkStructureValue.length; } $permalinkCustomSelection.prop( 'checked', true ); // Prepend and append slashes if necessary. if ( '/' !== permalinkStructureValue.substr( 0, selectionStart ).substr( -1 ) ) { textToAppend = '/' + textToAppend; } if ( '/' !== permalinkStructureValue.substr( selectionEnd, 1 ) ) { textToAppend = textToAppend + '/'; } // Insert structure tag at the specified position. $permalinkStructure.val( permalinkStructureValue.substr( 0, selectionStart ) + textToAppend + permalinkStructureValue.substr( selectionEnd ) ); // Announce change to screen readers. $( '#custom_selection_updated' ).text( textToAnnounce ); // Disable button. changeStructureTagButtonState( $( this ) ); // If input had focus give it back with cursor right after appended text. if ( permalinkStructureFocused && $permalinkStructure[0].setSelectionRange ) { newSelectionStart = ( permalinkStructureValue.substr( 0, selectionStart ) + textToAppend ).length; $permalinkStructure[0].setSelectionRange( newSelectionStart, newSelectionStart ); $permalinkStructure.trigger( 'focus' ); } } ); $( function() { var checks, first, last, checked, sliced, mobileEvent, transitionTimeout, focusedRowActions, lastClicked = false, pageInput = $('input.current-page'), currentPage = pageInput.val(), isIOS = /iPhone|iPad|iPod/.test( navigator.userAgent ), isAndroid = navigator.userAgent.indexOf( 'Android' ) !== -1, $adminMenuWrap = $( '#adminmenuwrap' ), $wpwrap = $( '#wpwrap' ), $adminmenu = $( '#adminmenu' ), $overlay = $( '#wp-responsive-overlay' ), $toolbar = $( '#wp-toolbar' ), $toolbarPopups = $toolbar.find( 'a[aria-haspopup="true"]' ), $sortables = $('.meta-box-sortables'), wpResponsiveActive = false, $adminbar = $( '#wpadminbar' ), lastScrollPosition = 0, pinnedMenuTop = false, pinnedMenuBottom = false, menuTop = 0, menuState, menuIsPinned = false, height = { window: $window.height(), wpwrap: $wpwrap.height(), adminbar: $adminbar.height(), menu: $adminMenuWrap.height() }, $headerEnd = $( '.wp-header-end' ); /** * Makes the fly-out submenu header clickable, when the menu is folded. * * @param {Event} e The event object. * * @return {void} */ $adminmenu.on('click.wp-submenu-head', '.wp-submenu-head', function(e){ $(e.target).parent().siblings('a').get(0).click(); }); /** * Collapses the admin menu. * * @return {void} */ $( '#collapse-button' ).on( 'click.collapse-menu', function() { var viewportWidth = getViewportWidth() || 961; // Reset any compensation for submenus near the bottom of the screen. $('#adminmenu div.wp-submenu').css('margin-top', ''); if ( viewportWidth <= 960 ) { if ( $body.hasClass('auto-fold') ) { $body.removeClass('auto-fold').removeClass('folded'); setUserSetting('unfold', 1); setUserSetting('mfold', 'o'); menuState = 'open'; } else { $body.addClass('auto-fold'); setUserSetting('unfold', 0); menuState = 'folded'; } } else { if ( $body.hasClass('folded') ) { $body.removeClass('folded'); setUserSetting('mfold', 'o'); menuState = 'open'; } else { $body.addClass('folded'); setUserSetting('mfold', 'f'); menuState = 'folded'; } } $document.trigger( 'wp-collapse-menu', { state: menuState } ); }); /** * Ensures an admin submenu is within the visual viewport. * * @since 4.1.0 * * @param {jQuery} $menuItem The parent menu item containing the submenu. * * @return {void} */ function adjustSubmenu( $menuItem ) { var bottomOffset, pageHeight, adjustment, theFold, menutop, wintop, maxtop, $submenu = $menuItem.find( '.wp-submenu' ); menutop = $menuItem.offset().top; wintop = $window.scrollTop(); maxtop = menutop - wintop - 30; // max = make the top of the sub almost touch admin bar. bottomOffset = menutop + $submenu.height() + 1; // Bottom offset of the menu. pageHeight = $wpwrap.height(); // Height of the entire page. adjustment = 60 + bottomOffset - pageHeight; theFold = $window.height() + wintop - 50; // The fold. if ( theFold < ( bottomOffset - adjustment ) ) { adjustment = bottomOffset - theFold; } if ( adjustment > maxtop ) { adjustment = maxtop; } if ( adjustment > 1 && $('#wp-admin-bar-menu-toggle').is(':hidden') ) { $submenu.css( 'margin-top', '-' + adjustment + 'px' ); } else { $submenu.css( 'margin-top', '' ); } } if ( 'ontouchstart' in window || /IEMobile\/[1-9]/.test(navigator.userAgent) ) { // Touch screen device. // iOS Safari works with touchstart, the rest work with click. mobileEvent = isIOS ? 'touchstart' : 'click'; /** * Closes any open submenus when touch/click is not on the menu. * * @param {Event} e The event object. * * @return {void} */ $body.on( mobileEvent+'.wp-mobile-hover', function(e) { if ( $adminmenu.data('wp-responsive') ) { return; } if ( ! $( e.target ).closest( '#adminmenu' ).length ) { $adminmenu.find( 'li.opensub' ).removeClass( 'opensub' ); } }); /** * Handles the opening or closing the submenu based on the mobile click|touch event. * * @param {Event} event The event object. * * @return {void} */ $adminmenu.find( 'a.wp-has-submenu' ).on( mobileEvent + '.wp-mobile-hover', function( event ) { var $menuItem = $(this).parent(); if ( $adminmenu.data( 'wp-responsive' ) ) { return; } /* * Show the sub instead of following the link if: * - the submenu is not open. * - the submenu is not shown inline or the menu is not folded. */ if ( ! $menuItem.hasClass( 'opensub' ) && ( ! $menuItem.hasClass( 'wp-menu-open' ) || $menuItem.width() < 40 ) ) { event.preventDefault(); adjustSubmenu( $menuItem ); $adminmenu.find( 'li.opensub' ).removeClass( 'opensub' ); $menuItem.addClass('opensub'); } }); } if ( ! isIOS && ! isAndroid ) { $adminmenu.find( 'li.wp-has-submenu' ).hoverIntent({ /** * Opens the submenu when hovered over the menu item for desktops. * * @return {void} */ over: function() { var $menuItem = $( this ), $submenu = $menuItem.find( '.wp-submenu' ), top = parseInt( $submenu.css( 'top' ), 10 ); if ( isNaN( top ) || top > -5 ) { // The submenu is visible. return; } if ( $adminmenu.data( 'wp-responsive' ) ) { // The menu is in responsive mode, bail. return; } adjustSubmenu( $menuItem ); $adminmenu.find( 'li.opensub' ).removeClass( 'opensub' ); $menuItem.addClass( 'opensub' ); }, /** * Closes the submenu when no longer hovering the menu item. * * @return {void} */ out: function(){ if ( $adminmenu.data( 'wp-responsive' ) ) { // The menu is in responsive mode, bail. return; } $( this ).removeClass( 'opensub' ).find( '.wp-submenu' ).css( 'margin-top', '' ); }, timeout: 200, sensitivity: 7, interval: 90 }); /** * Opens the submenu on when focused on the menu item. * * @param {Event} event The event object. * * @return {void} */ $adminmenu.on( 'focus.adminmenu', '.wp-submenu a', function( event ) { if ( $adminmenu.data( 'wp-responsive' ) ) { // The menu is in responsive mode, bail. return; } $( event.target ).closest( 'li.menu-top' ).addClass( 'opensub' ); /** * Closes the submenu on blur from the menu item. * * @param {Event} event The event object. * * @return {void} */ }).on( 'blur.adminmenu', '.wp-submenu a', function( event ) { if ( $adminmenu.data( 'wp-responsive' ) ) { return; } $( event.target ).closest( 'li.menu-top' ).removeClass( 'opensub' ); /** * Adjusts the size for the submenu. * * @return {void} */ }).find( 'li.wp-has-submenu.wp-not-current-submenu' ).on( 'focusin.adminmenu', function() { adjustSubmenu( $( this ) ); }); } /* * The `.below-h2` class is here just for backward compatibility with plugins * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570. * If '.wp-header-end' is found, append the notices after it otherwise * after the first h1 or h2 heading found within the main content. */ if ( ! $headerEnd.length ) { $headerEnd = $( '.wrap h1, .wrap h2' ).first(); } $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $headerEnd ); /** * Makes notices dismissible. * * @since 4.4.0 * * @return {void} */ function makeNoticesDismissible() { $( '.notice.is-dismissible' ).each( function() { var $el = $( this ), $button = $( '<button type="button" class="notice-dismiss"><span class="screen-reader-text"></span></button>' ); if ( $el.find( '.notice-dismiss' ).length ) { return; } // Ensure plain text. $button.find( '.screen-reader-text' ).text( __( 'Dismiss this notice.' ) ); $button.on( 'click.wp-dismiss-notice', function( event ) { event.preventDefault(); $el.fadeTo( 100, 0, function() { $el.slideUp( 100, function() { $el.remove(); }); }); }); $el.append( $button ); }); } $document.on( 'wp-updates-notice-added wp-plugin-install-error wp-plugin-update-error wp-plugin-delete-error wp-theme-install-error wp-theme-delete-error wp-notice-added', makeNoticesDismissible ); // Init screen meta. screenMeta.init(); /** * Checks a checkbox. * * This event needs to be delegated. Ticket #37973. * * @return {boolean} Returns whether a checkbox is checked or not. */ $body.on( 'click', 'tbody > tr > .check-column :checkbox', function( event ) { // Shift click to select a range of checkboxes. if ( 'undefined' == event.shiftKey ) { return true; } if ( event.shiftKey ) { if ( !lastClicked ) { return true; } checks = $( lastClicked ).closest( 'form' ).find( ':checkbox' ).filter( ':visible:enabled' ); first = checks.index( lastClicked ); last = checks.index( this ); checked = $(this).prop('checked'); if ( 0 < first && 0 < last && first != last ) { sliced = ( last > first ) ? checks.slice( first, last ) : checks.slice( last, first ); sliced.prop( 'checked', function() { if ( $(this).closest('tr').is(':visible') ) return checked; return false; }); } } lastClicked = this; // Toggle the "Select all" checkboxes depending if the other ones are all checked or not. var unchecked = $(this).closest('tbody').find('tr').find(':checkbox').filter(':visible:enabled').not(':checked'); /** * Determines if all checkboxes are checked. * * @return {boolean} Returns true if there are no unchecked checkboxes. */ $(this).closest('table').children('thead, tfoot').find(':checkbox').prop('checked', function() { return ( 0 === unchecked.length ); }); return true; }); /** * Controls all the toggles on bulk toggle change. * * When the bulk checkbox is changed, all the checkboxes in the tables are changed accordingly. * When the shift-button is pressed while changing the bulk checkbox the checkboxes in the table are inverted. * * This event needs to be delegated. Ticket #37973. * * @param {Event} event The event object. * * @return {boolean} */ $body.on( 'click.wp-toggle-checkboxes', 'thead .check-column :checkbox, tfoot .check-column :checkbox', function( event ) { var $this = $(this), $table = $this.closest( 'table' ), controlChecked = $this.prop('checked'), toggle = event.shiftKey || $this.data('wp-toggle'); $table.children( 'tbody' ).filter(':visible') .children().children('.check-column').find(':checkbox') /** * Updates the checked state on the checkbox in the table. * * @return {boolean} True checks the checkbox, False unchecks the checkbox. */ .prop('checked', function() { if ( $(this).is(':hidden,:disabled') ) { return false; } if ( toggle ) { return ! $(this).prop( 'checked' ); } else if ( controlChecked ) { return true; } return false; }); $table.children('thead, tfoot').filter(':visible') .children().children('.check-column').find(':checkbox') /** * Syncs the bulk checkboxes on the top and bottom of the table. * * @return {boolean} True checks the checkbox, False unchecks the checkbox. */ .prop('checked', function() { if ( toggle ) { return false; } else if ( controlChecked ) { return true; } return false; }); }); /** * Marries a secondary control to its primary control. * * @param {jQuery} topSelector The top selector element. * @param {jQuery} topSubmit The top submit element. * @param {jQuery} bottomSelector The bottom selector element. * @param {jQuery} bottomSubmit The bottom submit element. * @return {void} */ function marryControls( topSelector, topSubmit, bottomSelector, bottomSubmit ) { /** * Updates the primary selector when the secondary selector is changed. * * @since 5.7.0 * * @return {void} */ function updateTopSelector() { topSelector.val($(this).val()); } bottomSelector.on('change', updateTopSelector); /** * Updates the secondary selector when the primary selector is changed. * * @since 5.7.0 * * @return {void} */ function updateBottomSelector() { bottomSelector.val($(this).val()); } topSelector.on('change', updateBottomSelector); /** * Triggers the primary submit when then secondary submit is clicked. * * @since 5.7.0 * * @return {void} */ function triggerSubmitClick(e) { e.preventDefault(); e.stopPropagation(); topSubmit.trigger('click'); } bottomSubmit.on('click', triggerSubmitClick); } // Marry the secondary "Bulk actions" controls to the primary controls: marryControls( $('#bulk-action-selector-top'), $('#doaction'), $('#bulk-action-selector-bottom'), $('#doaction2') ); // Marry the secondary "Change role to" controls to the primary controls: marryControls( $('#new_role'), $('#changeit'), $('#new_role2'), $('#changeit2') ); var addAdminNotice = function( data ) { var $notice = $( data.selector ), $headerEnd = $( '.wp-header-end' ), type, dismissible, $adminNotice; delete data.selector; dismissible = ( data.dismissible && data.dismissible === true ) ? ' is-dismissible' : ''; type = ( data.type ) ? data.type : 'info'; $adminNotice = '<div id="' + data.id + '" class="notice notice-' + data.type + dismissible + '"><p>' + data.message + '</p></div>'; // Check if this admin notice already exists. if ( ! $notice.length ) { $notice = $( '#' + data.id ); } if ( $notice.length ) { $notice.replaceWith( $adminNotice ); } else if ( $headerEnd.length ) { $headerEnd.after( $adminNotice ); } else { if ( 'customize' === pagenow ) { $( '.customize-themes-notifications' ).append( $adminNotice ); } else { $( '.wrap' ).find( '> h1' ).after( $adminNotice ); } } $document.trigger( 'wp-notice-added' ); }; $( '.bulkactions' ).parents( 'form' ).on( 'submit', function( event ) { var form = this, submitterName = event.originalEvent && event.originalEvent.submitter ? event.originalEvent.submitter.name : false, currentPageSelector = form.querySelector( '#current-page-selector' ); if ( currentPageSelector && currentPageSelector.defaultValue !== currentPageSelector.value ) { return; // Pagination form submission. } // Observe submissions from posts lists for 'bulk_action' or users lists for 'new_role'. var bulkFieldRelations = { 'bulk_action' : window.bulkActionObserverIds.bulk_action, 'changeit' : window.bulkActionObserverIds.changeit }; if ( ! Object.keys( bulkFieldRelations ).includes( submitterName ) ) { return; } var values = new FormData(form); var value = values.get( bulkFieldRelations[ submitterName ] ) || '-1'; // Check that the action is not the default one. if ( value !== '-1' ) { // Check that at least one item is selected. var itemsSelected = form.querySelectorAll( '.wp-list-table tbody .check-column input[type="checkbox"]:checked' ); if ( itemsSelected.length > 0 ) { return; } } event.preventDefault(); event.stopPropagation(); $( 'html, body' ).animate( { scrollTop: 0 } ); var errorMessage = __( 'Please select at least one item to perform this action on.' ); addAdminNotice( { id: 'no-items-selected', type: 'error', message: errorMessage, dismissible: true, } ); wp.a11y.speak( errorMessage ); }); /** * Shows row actions on focus of its parent container element or any other elements contained within. * * @return {void} */ $( '#wpbody-content' ).on({ focusin: function() { clearTimeout( transitionTimeout ); focusedRowActions = $( this ).find( '.row-actions' ); // transitionTimeout is necessary for Firefox, but Chrome won't remove the CSS class without a little help. $( '.row-actions' ).not( this ).removeClass( 'visible' ); focusedRowActions.addClass( 'visible' ); }, focusout: function() { // Tabbing between post title and .row-actions links needs a brief pause, otherwise // the .row-actions div gets hidden in transit in some browsers (ahem, Firefox). transitionTimeout = setTimeout( function() { focusedRowActions.removeClass( 'visible' ); }, 30 ); } }, '.table-view-list .has-row-actions' ); // Toggle list table rows on small screens. $( 'tbody' ).on( 'click', '.toggle-row', function() { $( this ).closest( 'tr' ).toggleClass( 'is-expanded' ); }); $('#default-password-nag-no').on( 'click', function() { setUserSetting('default_password_nag', 'hide'); $('div.default-password-nag').hide(); return false; }); /** * Handles tab keypresses in theme and plugin file editor textareas. * * @param {Event} e The event object. * * @return {void} */ $('#newcontent').on('keydown.wpevent_InsertTab', function(e) { var el = e.target, selStart, selEnd, val, scroll, sel; // After pressing escape key (keyCode: 27), the tab key should tab out of the textarea. if ( e.keyCode == 27 ) { // When pressing Escape: Opera 12 and 27 blur form fields, IE 8 clears them. e.preventDefault(); $(el).data('tab-out', true); return; } // Only listen for plain tab key (keyCode: 9) without any modifiers. if ( e.keyCode != 9 || e.ctrlKey || e.altKey || e.shiftKey ) return; // After tabbing out, reset it so next time the tab key can be used again. if ( $(el).data('tab-out') ) { $(el).data('tab-out', false); return; } selStart = el.selectionStart; selEnd = el.selectionEnd; val = el.value; // If any text is selected, replace the selection with a tab character. if ( document.selection ) { el.focus(); sel = document.selection.createRange(); sel.text = '\t'; } else if ( selStart >= 0 ) { scroll = this.scrollTop; el.value = val.substring(0, selStart).concat('\t', val.substring(selEnd) ); el.selectionStart = el.selectionEnd = selStart + 1; this.scrollTop = scroll; } // Cancel the regular tab functionality, to prevent losing focus of the textarea. if ( e.stopPropagation ) e.stopPropagation(); if ( e.preventDefault ) e.preventDefault(); }); // Reset page number variable for new filters/searches but not for bulk actions. See #17685. if ( pageInput.length ) { /** * Handles pagination variable when filtering the list table. * * Set the pagination argument to the first page when the post-filter form is submitted. * This happens when pressing the 'filter' button on the list table page. * * The pagination argument should not be touched when the bulk action dropdowns are set to do anything. * * The form closest to the pageInput is the post-filter form. * * @return {void} */ pageInput.closest('form').on( 'submit', function() { /* * action = bulk action dropdown at the top of the table */ if ( $('select[name="action"]').val() == -1 && pageInput.val() == currentPage ) pageInput.val('1'); }); } /** * Resets the bulk actions when the search button is clicked. * * @return {void} */ $('.search-box input[type="search"], .search-box input[type="submit"]').on( 'mousedown', function () { $('select[name^="action"]').val('-1'); }); /** * Scrolls into view when focus.scroll-into-view is triggered. * * @param {Event} e The event object. * * @return {void} */ $('#contextual-help-link, #show-settings-link').on( 'focus.scroll-into-view', function(e){ if ( e.target.scrollIntoViewIfNeeded ) e.target.scrollIntoViewIfNeeded(false); }); /** * Disables the submit upload buttons when no data is entered. * * @return {void} */ (function(){ var button, input, form = $('form.wp-upload-form'); // Exit when no upload form is found. if ( ! form.length ) return; button = form.find('input[type="submit"]'); input = form.find('input[type="file"]'); /** * Determines if any data is entered in any file upload input. * * @since 3.5.0 * * @return {void} */ function toggleUploadButton() { // When no inputs have a value, disable the upload buttons. button.prop('disabled', '' === input.map( function() { return $(this).val(); }).get().join('')); } // Update the status initially. toggleUploadButton(); // Update the status when any file input changes. input.on('change', toggleUploadButton); })(); /** * Pins the menu while distraction-free writing is enabled. * * @param {Event} event Event data. * * @since 4.1.0 * * @return {void} */ function pinMenu( event ) { var windowPos = $window.scrollTop(), resizing = ! event || event.type !== 'scroll'; if ( isIOS || $adminmenu.data( 'wp-responsive' ) ) { return; } /* * When the menu is higher than the window and smaller than the entire page. * It should be adjusted to be able to see the entire menu. * * Otherwise it can be accessed normally. */ if ( height.menu + height.adminbar < height.window || height.menu + height.adminbar + 20 > height.wpwrap ) { unpinMenu(); return; } menuIsPinned = true; // If the menu is higher than the window, compensate on scroll. if ( height.menu + height.adminbar > height.window ) { // Check for overscrolling, this happens when swiping up at the top of the document in modern browsers. if ( windowPos < 0 ) { // Stick the menu to the top. if ( ! pinnedMenuTop ) { pinnedMenuTop = true; pinnedMenuBottom = false; $adminMenuWrap.css({ position: 'fixed', top: '', bottom: '' }); } return; } else if ( windowPos + height.window > $document.height() - 1 ) { // When overscrolling at the bottom, stick the menu to the bottom. if ( ! pinnedMenuBottom ) { pinnedMenuBottom = true; pinnedMenuTop = false; $adminMenuWrap.css({ position: 'fixed', top: '', bottom: 0 }); } return; } if ( windowPos > lastScrollPosition ) { // When a down scroll has been detected. // If it was pinned to the top, unpin and calculate relative scroll. if ( pinnedMenuTop ) { pinnedMenuTop = false; // Calculate new offset position. menuTop = $adminMenuWrap.offset().top - height.adminbar - ( windowPos - lastScrollPosition ); if ( menuTop + height.menu + height.adminbar < windowPos + height.window ) { menuTop = windowPos + height.window - height.menu - height.adminbar; } $adminMenuWrap.css({ position: 'absolute', top: menuTop, bottom: '' }); } else if ( ! pinnedMenuBottom && $adminMenuWrap.offset().top + height.menu < windowPos + height.window ) { // Pin it to the bottom. pinnedMenuBottom = true; $adminMenuWrap.css({ position: 'fixed', top: '', bottom: 0 }); } } else if ( windowPos < lastScrollPosition ) { // When a scroll up is detected. // If it was pinned to the bottom, unpin and calculate relative scroll. if ( pinnedMenuBottom ) { pinnedMenuBottom = false; // Calculate new offset position. menuTop = $adminMenuWrap.offset().top - height.adminbar + ( lastScrollPosition - windowPos ); if ( menuTop + height.menu > windowPos + height.window ) { menuTop = windowPos; } $adminMenuWrap.css({ position: 'absolute', top: menuTop, bottom: '' }); } else if ( ! pinnedMenuTop && $adminMenuWrap.offset().top >= windowPos + height.adminbar ) { // Pin it to the top. pinnedMenuTop = true; $adminMenuWrap.css({ position: 'fixed', top: '', bottom: '' }); } } else if ( resizing ) { // Window is being resized. pinnedMenuTop = pinnedMenuBottom = false; // Calculate the new offset. menuTop = windowPos + height.window - height.menu - height.adminbar - 1; if ( menuTop > 0 ) { $adminMenuWrap.css({ position: 'absolute', top: menuTop, bottom: '' }); } else { unpinMenu(); } } } lastScrollPosition = windowPos; } /** * Determines the height of certain elements. * * @since 4.1.0 * * @return {void} */ function resetHeights() { height = { window: $window.height(), wpwrap: $wpwrap.height(), adminbar: $adminbar.height(), menu: $adminMenuWrap.height() }; } /** * Unpins the menu. * * @since 4.1.0 * * @return {void} */ function unpinMenu() { if ( isIOS || ! menuIsPinned ) { return; } pinnedMenuTop = pinnedMenuBottom = menuIsPinned = false; $adminMenuWrap.css({ position: '', top: '', bottom: '' }); } /** * Pins and unpins the menu when applicable. * * @since 4.1.0 * * @return {void} */ function setPinMenu() { resetHeights(); if ( $adminmenu.data('wp-responsive') ) { $body.removeClass( 'sticky-menu' ); unpinMenu(); } else if ( height.menu + height.adminbar > height.window ) { pinMenu(); $body.removeClass( 'sticky-menu' ); } else { $body.addClass( 'sticky-menu' ); unpinMenu(); } } if ( ! isIOS ) { $window.on( 'scroll.pin-menu', pinMenu ); $document.on( 'tinymce-editor-init.pin-menu', function( event, editor ) { editor.on( 'wp-autoresize', resetHeights ); }); } /** * Changes the sortables and responsiveness of metaboxes. * * @since 3.8.0 * * @return {void} */ window.wpResponsive = { /** * Initializes the wpResponsive object. * * @since 3.8.0 * * @return {void} */ init: function() { var self = this; this.maybeDisableSortables = this.maybeDisableSortables.bind( this ); // Modify functionality based on custom activate/deactivate event. $document.on( 'wp-responsive-activate.wp-responsive', function() { self.activate(); self.toggleAriaHasPopup( 'add' ); }).on( 'wp-responsive-deactivate.wp-responsive', function() { self.deactivate(); self.toggleAriaHasPopup( 'remove' ); }); $( '#wp-admin-bar-menu-toggle a' ).attr( 'aria-expanded', 'false' ); // Toggle sidebar when toggle is clicked. $( '#wp-admin-bar-menu-toggle' ).on( 'click.wp-responsive', function( event ) { event.preventDefault(); // Close any open toolbar submenus. $adminbar.find( '.hover' ).removeClass( 'hover' ); $wpwrap.toggleClass( 'wp-responsive-open' ); if ( $wpwrap.hasClass( 'wp-responsive-open' ) ) { $(this).find('a').attr( 'aria-expanded', 'true' ); $( '#adminmenu a:first' ).trigger( 'focus' ); } else { $(this).find('a').attr( 'aria-expanded', 'false' ); } } ); // Close sidebar when target moves outside of toggle and sidebar. $( document ).on( 'click', function( event ) { if ( ! $wpwrap.hasClass( 'wp-responsive-open' ) || ! document.hasFocus() ) { return; } var focusIsInToggle = $.contains( $( '#wp-admin-bar-menu-toggle' )[0], event.target ); var focusIsInSidebar = $.contains( $( '#adminmenuwrap' )[0], event.target ); if ( ! focusIsInToggle && ! focusIsInSidebar ) { $( '#wp-admin-bar-menu-toggle' ).trigger( 'click.wp-responsive' ); } } ); // Close sidebar when a keypress completes outside of toggle and sidebar. $( document ).on( 'keyup', function( event ) { var toggleButton = $( '#wp-admin-bar-menu-toggle' )[0]; if ( ! $wpwrap.hasClass( 'wp-responsive-open' ) ) { return; } if ( 27 === event.keyCode ) { $( toggleButton ).trigger( 'click.wp-responsive' ); $( toggleButton ).find( 'a' ).trigger( 'focus' ); } else { if ( 9 === event.keyCode ) { var sidebar = $( '#adminmenuwrap' )[0]; var focusedElement = event.relatedTarget || document.activeElement; // A brief delay is required to allow focus to switch to another element. setTimeout( function() { var focusIsInToggle = $.contains( toggleButton, focusedElement ); var focusIsInSidebar = $.contains( sidebar, focusedElement ); if ( ! focusIsInToggle && ! focusIsInSidebar ) { $( toggleButton ).trigger( 'click.wp-responsive' ); } }, 10 ); } } }); // Add menu events. $adminmenu.on( 'click.wp-responsive', 'li.wp-has-submenu > a', function( event ) { if ( ! $adminmenu.data('wp-responsive') ) { return; } let state = ( 'false' === $( this ).attr( 'aria-expanded' ) ) ? 'true' : 'false'; $( this ).parent( 'li' ).toggleClass( 'selected' ); $( this ).attr( 'aria-expanded', state ); $( this ).trigger( 'focus' ); event.preventDefault(); }); self.trigger(); $document.on( 'wp-window-resized.wp-responsive', this.trigger.bind( this ) ); // This needs to run later as UI Sortable may be initialized when the document is ready. $window.on( 'load.wp-responsive', this.maybeDisableSortables ); $document.on( 'postbox-toggled', this.maybeDisableSortables ); // When the screen columns are changed, potentially disable sortables. $( '#screen-options-wrap input' ).on( 'click', this.maybeDisableSortables ); }, /** * Disable sortables if there is only one metabox, or the screen is in one column mode. Otherwise, enable sortables. * * @since 5.3.0 * * @return {void} */ maybeDisableSortables: function() { var width = navigator.userAgent.indexOf('AppleWebKit/') > -1 ? $window.width() : window.innerWidth; if ( ( width <= 782 ) || ( 1 >= $sortables.find( '.ui-sortable-handle:visible' ).length && jQuery( '.columns-prefs-1 input' ).prop( 'checked' ) ) ) { this.disableSortables(); } else { this.enableSortables(); } }, /** * Changes properties of body and admin menu. * * Pins and unpins the menu and adds the auto-fold class to the body. * Makes the admin menu responsive and disables the metabox sortables. * * @since 3.8.0 * * @return {void} */ activate: function() { setPinMenu(); if ( ! $body.hasClass( 'auto-fold' ) ) { $body.addClass( 'auto-fold' ); } $adminmenu.data( 'wp-responsive', 1 ); this.disableSortables(); }, /** * Changes properties of admin menu and enables metabox sortables. * * Pin and unpin the menu. * Removes the responsiveness of the admin menu and enables the metabox sortables. * * @since 3.8.0 * * @return {void} */ deactivate: function() { setPinMenu(); $adminmenu.removeData('wp-responsive'); this.maybeDisableSortables(); }, /** * Toggles the aria-haspopup attribute for the responsive admin menu. * * The aria-haspopup attribute is only necessary for the responsive menu. * See ticket https://core.trac.wordpress.org/ticket/43095 * * @since 6.6.0 * * @param {string} action Whether to add or remove the aria-haspopup attribute. * * @return {void} */ toggleAriaHasPopup: function( action ) { var elements = $adminmenu.find( '[data-ariahaspopup]' ); if ( action === 'add' ) { elements.each( function() { $( this ).attr( 'aria-haspopup', 'menu' ).attr( 'aria-expanded', 'false' ); } ); return; } elements.each( function() { $( this ).removeAttr( 'aria-haspopup' ).removeAttr( 'aria-expanded' ); } ); }, /** * Sets the responsiveness and enables the overlay based on the viewport width. * * @since 3.8.0 * * @return {void} */ trigger: function() { var viewportWidth = getViewportWidth(); // Exclude IE < 9, it doesn't support @media CSS rules. if ( ! viewportWidth ) { return; } if ( viewportWidth <= 782 ) { if ( ! wpResponsiveActive ) { $document.trigger( 'wp-responsive-activate' ); wpResponsiveActive = true; } } else { if ( wpResponsiveActive ) { $document.trigger( 'wp-responsive-deactivate' ); wpResponsiveActive = false; } } if ( viewportWidth <= 480 ) { this.enableOverlay(); } else { this.disableOverlay(); } this.maybeDisableSortables(); }, /** * Inserts a responsive overlay and toggles the window. * * @since 3.8.0 * * @return {void} */ enableOverlay: function() { if ( $overlay.length === 0 ) { $overlay = $( '<div id="wp-responsive-overlay"></div>' ) .insertAfter( '#wpcontent' ) .hide() .on( 'click.wp-responsive', function() { $toolbar.find( '.menupop.hover' ).removeClass( 'hover' ); $( this ).hide(); }); } $toolbarPopups.on( 'click.wp-responsive', function() { $overlay.show(); }); }, /** * Disables the responsive overlay and removes the overlay. * * @since 3.8.0 * * @return {void} */ disableOverlay: function() { $toolbarPopups.off( 'click.wp-responsive' ); $overlay.hide(); }, /** * Disables sortables. * * @since 3.8.0 * * @return {void} */ disableSortables: function() { if ( $sortables.length ) { try { $sortables.sortable( 'disable' ); $sortables.find( '.ui-sortable-handle' ).addClass( 'is-non-sortable' ); } catch ( e ) {} } }, /** * Enables sortables. * * @since 3.8.0 * * @return {void} */ enableSortables: function() { if ( $sortables.length ) { try { $sortables.sortable( 'enable' ); $sortables.find( '.ui-sortable-handle' ).removeClass( 'is-non-sortable' ); } catch ( e ) {} } } }; /** * Add an ARIA role `button` to elements that behave like UI controls when JavaScript is on. * * @since 4.5.0 * * @return {void} */ function aria_button_if_js() { $( '.aria-button-if-js' ).attr( 'role', 'button' ); } $( document ).on( 'ajaxComplete', function() { aria_button_if_js(); }); /** * Get the viewport width. * * @since 4.7.0 * * @return {number|boolean} The current viewport width or false if the * browser doesn't support innerWidth (IE < 9). */ function getViewportWidth() { var viewportWidth = false; if ( window.innerWidth ) { // On phones, window.innerWidth is affected by zooming. viewportWidth = Math.max( window.innerWidth, document.documentElement.clientWidth ); } return viewportWidth; } /** * Sets the admin menu collapsed/expanded state. * * Sets the global variable `menuState` and triggers a custom event passing * the current menu state. * * @since 4.7.0 * * @return {void} */ function setMenuState() { var viewportWidth = getViewportWidth() || 961; if ( viewportWidth <= 782 ) { menuState = 'responsive'; } else if ( $body.hasClass( 'folded' ) || ( $body.hasClass( 'auto-fold' ) && viewportWidth <= 960 && viewportWidth > 782 ) ) { menuState = 'folded'; } else { menuState = 'open'; } $document.trigger( 'wp-menu-state-set', { state: menuState } ); } // Set the menu state when the window gets resized. $document.on( 'wp-window-resized.set-menu-state', setMenuState ); /** * Sets ARIA attributes on the collapse/expand menu button. * * When the admin menu is open or folded, updates the `aria-expanded` and * `aria-label` attributes of the button to give feedback to assistive * technologies. In the responsive view, the button is always hidden. * * @since 4.7.0 * * @return {void} */ $document.on( 'wp-menu-state-set wp-collapse-menu', function( event, eventData ) { var $collapseButton = $( '#collapse-button' ), ariaExpanded, ariaLabelText; if ( 'folded' === eventData.state ) { ariaExpanded = 'false'; ariaLabelText = __( 'Expand Main menu' ); } else { ariaExpanded = 'true'; ariaLabelText = __( 'Collapse Main menu' ); } $collapseButton.attr({ 'aria-expanded': ariaExpanded, 'aria-label': ariaLabelText }); }); window.wpResponsive.init(); setPinMenu(); setMenuState(); makeNoticesDismissible(); aria_button_if_js(); $document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', setPinMenu ); // Set initial focus on a specific element. $( '.wp-initial-focus' ).trigger( 'focus' ); // Toggle update details on update-core.php. $body.on( 'click', '.js-update-details-toggle', function() { var $updateNotice = $( this ).closest( '.js-update-details' ), $progressDiv = $( '#' + $updateNotice.data( 'update-details' ) ); /* * When clicking on "Show details" move the progress div below the update * notice. Make sure it gets moved just the first time. */ if ( ! $progressDiv.hasClass( 'update-details-moved' ) ) { $progressDiv.insertAfter( $updateNotice ).addClass( 'update-details-moved' ); } // Toggle the progress div visibility. $progressDiv.toggle(); // Toggle the Show Details button expanded state. $( this ).attr( 'aria-expanded', $progressDiv.is( ':visible' ) ); }); }); /** * Hides the update button for expired plugin or theme uploads. * * On the "Update plugin/theme from uploaded zip" screen, once the upload has expired, * hides the "Replace current with uploaded" button and displays a warning. * * @since 5.5.0 */ $( function( $ ) { var $overwrite, $warning; if ( ! $body.hasClass( 'update-php' ) ) { return; } $overwrite = $( 'a.update-from-upload-overwrite' ); $warning = $( '.update-from-upload-expired' ); if ( ! $overwrite.length || ! $warning.length ) { return; } window.setTimeout( function() { $overwrite.hide(); $warning.removeClass( 'hidden' ); if ( window.wp && window.wp.a11y ) { window.wp.a11y.speak( $warning.text() ); } }, 7140000 // 119 minutes. The uploaded file is deleted after 2 hours. ); } ); // Fire a custom jQuery event at the end of window resize. ( function() { var timeout; /** * Triggers the WP window-resize event. * * @since 3.8.0 * * @return {void} */ function triggerEvent() { $document.trigger( 'wp-window-resized' ); } /** * Fires the trigger event again after 200 ms. * * @since 3.8.0 * * @return {void} */ function fireOnce() { window.clearTimeout( timeout ); timeout = window.setTimeout( triggerEvent, 200 ); } $window.on( 'resize.wp-fire-once', fireOnce ); }()); // Make Windows 8 devices play along nicely. (function(){ if ( '-ms-user-select' in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/) ) { var msViewportStyle = document.createElement( 'style' ); msViewportStyle.appendChild( document.createTextNode( '@-ms-viewport{width:auto!important}' ) ); document.getElementsByTagName( 'head' )[0].appendChild( msViewportStyle ); } })(); }( jQuery, window )); /** * Freeze animated plugin icons when reduced motion is enabled. * * When the user has enabled the 'prefers-reduced-motion' setting, this module * stops animations for all GIFs on the page with the class 'plugin-icon' or * plugin icon images in the update plugins table. * * @since 6.4.0 */ (function() { // Private variables and methods. var priv = {}, pub = {}, mediaQuery; // Initialize pauseAll to false; it will be set to true if reduced motion is preferred. priv.pauseAll = false; if ( window.matchMedia ) { mediaQuery = window.matchMedia( '(prefers-reduced-motion: reduce)' ); if ( ! mediaQuery || mediaQuery.matches ) { priv.pauseAll = true; } } // Method to replace animated GIFs with a static frame. priv.freezeAnimatedPluginIcons = function( img ) { var coverImage = function() { var width = img.width; var height = img.height; var canvas = document.createElement( 'canvas' ); // Set canvas dimensions. canvas.width = width; canvas.height = height; // Copy classes from the image to the canvas. canvas.className = img.className; // Check if the image is inside a specific table. var isInsideUpdateTable = img.closest( '#update-plugins-table' ); if ( isInsideUpdateTable ) { // Transfer computed styles from image to canvas. var computedStyles = window.getComputedStyle( img ), i, max; for ( i = 0, max = computedStyles.length; i < max; i++ ) { var propName = computedStyles[ i ]; var propValue = computedStyles.getPropertyValue( propName ); canvas.style[ propName ] = propValue; } } // Draw the image onto the canvas. canvas.getContext( '2d' ).drawImage( img, 0, 0, width, height ); // Set accessibility attributes on canvas. canvas.setAttribute( 'aria-hidden', 'true' ); canvas.setAttribute( 'role', 'presentation' ); // Insert canvas before the image and set the image to be near-invisible. var parent = img.parentNode; parent.insertBefore( canvas, img ); img.style.opacity = 0.01; img.style.width = '0px'; img.style.height = '0px'; }; // If the image is already loaded, apply the coverImage function. if ( img.complete ) { coverImage(); } else { // Otherwise, wait for the image to load. img.addEventListener( 'load', coverImage, true ); } }; // Public method to freeze all relevant GIFs on the page. pub.freezeAll = function() { var images = document.querySelectorAll( '.plugin-icon, #update-plugins-table img' ); for ( var x = 0; x < images.length; x++ ) { if ( /\.gif(?:\?|$)/i.test( images[ x ].src ) ) { priv.freezeAnimatedPluginIcons( images[ x ] ); } } }; // Only run the freezeAll method if the user prefers reduced motion. if ( true === priv.pauseAll ) { pub.freezeAll(); } // Listen for jQuery AJAX events. ( function( $ ) { if ( window.pagenow === 'plugin-install' ) { // Only listen for ajaxComplete if this is the plugin-install.php page. $( document ).ajaxComplete( function( event, xhr, settings ) { // Check if this is the 'search-install-plugins' request. if ( settings.data && typeof settings.data === 'string' && settings.data.includes( 'action=search-install-plugins' ) ) { // Recheck if the user prefers reduced motion. if ( window.matchMedia ) { var mediaQuery = window.matchMedia( '(prefers-reduced-motion: reduce)' ); if ( mediaQuery.matches ) { pub.freezeAll(); } } else { // Fallback for browsers that don't support matchMedia. if ( true === priv.pauseAll ) { pub.freezeAll(); } } } } ); } } )( jQuery ); // Expose public methods. return pub; })(); site-icon.js 0000644 00000014143 15174671433 0007012 0 ustar 00 /** * Handle the site icon setting in options-general.php. * * @since 6.5.0 * @output wp-admin/js/site-icon.js */ /* global jQuery, wp */ ( function ( $ ) { var $chooseButton = $( '#choose-from-library-button' ), $iconPreview = $( '#site-icon-preview' ), $browserIconPreview = $( '#browser-icon-preview' ), $appIconPreview = $( '#app-icon-preview' ), $hiddenDataField = $( '#site_icon_hidden_field' ), $removeButton = $( '#js-remove-site-icon' ), frame; /** * Calculate image selection options based on the attachment dimensions. * * @since 6.5.0 * * @param {Object} attachment The attachment object representing the image. * @return {Object} The image selection options. */ function calculateImageSelectOptions( attachment ) { var realWidth = attachment.get( 'width' ), realHeight = attachment.get( 'height' ), xInit = 512, yInit = 512, ratio = xInit / yInit, xImg = xInit, yImg = yInit, x1, y1, imgSelectOptions; if ( realWidth / realHeight > ratio ) { yInit = realHeight; xInit = yInit * ratio; } else { xInit = realWidth; yInit = xInit / ratio; } x1 = ( realWidth - xInit ) / 2; y1 = ( realHeight - yInit ) / 2; imgSelectOptions = { aspectRatio: xInit + ':' + yInit, handles: true, keys: true, instance: true, persistent: true, imageWidth: realWidth, imageHeight: realHeight, minWidth: xImg > xInit ? xInit : xImg, minHeight: yImg > yInit ? yInit : yImg, x1: x1, y1: y1, x2: xInit + x1, y2: yInit + y1, }; return imgSelectOptions; } /** * Initializes the media frame for selecting or cropping an image. * * @since 6.5.0 */ $chooseButton.on( 'click', function () { var $el = $( this ); // Create the media frame. frame = wp.media( { button: { // Set the text of the button. text: $el.data( 'update' ), // Don't close, we might need to crop. close: false, }, states: [ new wp.media.controller.Library( { title: $el.data( 'choose-text' ), library: wp.media.query( { type: 'image' } ), date: false, suggestedWidth: $el.data( 'size' ), suggestedHeight: $el.data( 'size' ), } ), new wp.media.controller.SiteIconCropper( { control: { params: { width: $el.data( 'size' ), height: $el.data( 'size' ), }, }, imgSelectOptions: calculateImageSelectOptions, } ), ], } ); frame.on( 'cropped', function ( attachment ) { $hiddenDataField.val( attachment.id ); switchToUpdate( attachment ); frame.close(); // Start over with a frame that is so fresh and so clean clean. frame = null; } ); // When an image is selected, run a callback. frame.on( 'select', function () { // Grab the selected attachment. var attachment = frame.state().get( 'selection' ).first(); if ( attachment.attributes.height === $el.data( 'size' ) && $el.data( 'size' ) === attachment.attributes.width ) { switchToUpdate( attachment.attributes ); frame.close(); // Set the value of the hidden input to the attachment id. $hiddenDataField.val( attachment.id ); } else { frame.setState( 'cropper' ); } } ); frame.open(); } ); /** * Update the UI when a site icon is selected. * * @since 6.5.0 * * @param {array} attributes The attributes for the attachment. */ function switchToUpdate( attributes ) { var i18nAppAlternativeString, i18nBrowserAlternativeString; if ( attributes.alt ) { i18nAppAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image alt text. */ wp.i18n.__( 'App icon preview: Current image: %s' ), attributes.alt ); i18nBrowserAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image alt text. */ wp.i18n.__( 'Browser icon preview: Current image: %s' ), attributes.alt ); } else { i18nAppAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image filename. */ wp.i18n.__( 'App icon preview: The current image has no alternative text. The file name is: %s' ), attributes.filename ); i18nBrowserAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image filename. */ wp.i18n.__( 'Browser icon preview: The current image has no alternative text. The file name is: %s' ), attributes.filename ); } // Set site-icon-img src and alternative text to app icon preview. $appIconPreview.attr( { src: attributes.url, alt: i18nAppAlternativeString, } ); // Set site-icon-img src and alternative text to browser preview. $browserIconPreview.attr( { src: attributes.url, alt: i18nBrowserAlternativeString, } ); // Remove hidden class from icon preview div and remove button. $iconPreview.removeClass( 'hidden' ); $removeButton.removeClass( 'hidden' ); // Set the global CSS variable for --site-icon-url to the selected image URL. document.documentElement.style.setProperty( '--site-icon-url', 'url(' + attributes.url + ')' ); // If the choose button is not in the update state, swap the classes. if ( $chooseButton.attr( 'data-state' ) !== '1' ) { $chooseButton.attr( { class: $chooseButton.attr( 'data-alt-classes' ), 'data-alt-classes': $chooseButton.attr( 'class' ), 'data-state': '1', } ); } // Swap the text of the choose button. $chooseButton.text( $chooseButton.attr( 'data-update-text' ) ); } /** * Handles the click event of the remove button. * * @since 6.5.0 */ $removeButton.on( 'click', function () { $hiddenDataField.val( 'false' ); $( this ).toggleClass( 'hidden' ); $iconPreview.toggleClass( 'hidden' ); $browserIconPreview.attr( { src: '', alt: '', } ); $appIconPreview.attr( { src: '', alt: '', } ); /** * Resets state to the button, for correct visual style and state. * Updates the text of the button. * Sets focus state to the button. */ $chooseButton .attr( { class: $chooseButton.attr( 'data-alt-classes' ), 'data-alt-classes': $chooseButton.attr( 'class' ), 'data-state': '', } ) .text( $chooseButton.attr( 'data-choose-text' ) ) .trigger( 'focus' ); } ); } )( jQuery ); editor-expand.js 0000644 00000123156 15174671433 0007670 0 ustar 00 /** * @output wp-admin/js/editor-expand.js */ ( function( window, $, undefined ) { 'use strict'; var $window = $( window ), $document = $( document ), $adminBar = $( '#wpadminbar' ), $footer = $( '#wpfooter' ); /** * Handles the resizing of the editor. * * @since 4.0.0 * * @return {void} */ $( function() { var $wrap = $( '#postdivrich' ), $contentWrap = $( '#wp-content-wrap' ), $tools = $( '#wp-content-editor-tools' ), $visualTop = $(), $visualEditor = $(), $textTop = $( '#ed_toolbar' ), $textEditor = $( '#content' ), textEditor = $textEditor[0], oldTextLength = 0, $bottom = $( '#post-status-info' ), $menuBar = $(), $statusBar = $(), $sideSortables = $( '#side-sortables' ), $postboxContainer = $( '#postbox-container-1' ), $postBody = $('#post-body'), fullscreen = window.wp.editor && window.wp.editor.fullscreen, mceEditor, mceBind = function(){}, mceUnbind = function(){}, fixedTop = false, fixedBottom = false, fixedSideTop = false, fixedSideBottom = false, scrollTimer, lastScrollPosition = 0, pageYOffsetAtTop = 130, pinnedToolsTop = 56, sidebarBottom = 20, autoresizeMinHeight = 300, initialMode = $contentWrap.hasClass( 'tmce-active' ) ? 'tinymce' : 'html', advanced = !! parseInt( window.getUserSetting( 'hidetb' ), 10 ), // These are corrected when adjust() runs, except on scrolling if already set. heights = { windowHeight: 0, windowWidth: 0, adminBarHeight: 0, toolsHeight: 0, menuBarHeight: 0, visualTopHeight: 0, textTopHeight: 0, bottomHeight: 0, statusBarHeight: 0, sideSortablesHeight: 0 }; /** * Resizes textarea based on scroll height and width. * * Doesn't shrink the editor size below the 300px auto resize minimum height. * * @since 4.6.1 * * @return {void} */ var shrinkTextarea = window._.throttle( function() { var x = window.scrollX || document.documentElement.scrollLeft; var y = window.scrollY || document.documentElement.scrollTop; var height = parseInt( textEditor.style.height, 10 ); textEditor.style.height = autoresizeMinHeight + 'px'; if ( textEditor.scrollHeight > autoresizeMinHeight ) { textEditor.style.height = textEditor.scrollHeight + 'px'; } if ( typeof x !== 'undefined' ) { window.scrollTo( x, y ); } if ( textEditor.scrollHeight < height ) { adjust(); } }, 300 ); /** * Resizes the text editor depending on the old text length. * * If there is an mceEditor and it is hidden, it resizes the editor depending * on the old text length. If the current length of the text is smaller than * the old text length, it shrinks the text area. Otherwise it resizes the editor to * the scroll height. * * @since 4.6.1 * * @return {void} */ function textEditorResize() { var length = textEditor.value.length; if ( mceEditor && ! mceEditor.isHidden() ) { return; } if ( ! mceEditor && initialMode === 'tinymce' ) { return; } if ( length < oldTextLength ) { shrinkTextarea(); } else if ( parseInt( textEditor.style.height, 10 ) < textEditor.scrollHeight ) { textEditor.style.height = Math.ceil( textEditor.scrollHeight ) + 'px'; adjust(); } oldTextLength = length; } /** * Gets the height and widths of elements. * * Gets the heights of the window, the adminbar, the tools, the menu, * the visualTop, the textTop, the bottom, the statusbar and sideSortables * and stores these in the heights object. Defaults to 0. * Gets the width of the window and stores this in the heights object. * * @since 4.0.0 * * @return {void} */ function getHeights() { var windowWidth = $window.width(); heights = { windowHeight: $window.height(), windowWidth: windowWidth, adminBarHeight: ( windowWidth > 600 ? $adminBar.outerHeight() : 0 ), toolsHeight: $tools.outerHeight() || 0, menuBarHeight: $menuBar.outerHeight() || 0, visualTopHeight: $visualTop.outerHeight() || 0, textTopHeight: $textTop.outerHeight() || 0, bottomHeight: $bottom.outerHeight() || 0, statusBarHeight: $statusBar.outerHeight() || 0, sideSortablesHeight: $sideSortables.height() || 0 }; // Adjust for hidden menubar. if ( heights.menuBarHeight < 3 ) { heights.menuBarHeight = 0; } } // We need to wait for TinyMCE to initialize. /** * Binds all necessary functions for editor expand to the editor when the editor * is initialized. * * @since 4.0.0 * * @param {event} event The TinyMCE editor init event. * @param {object} editor The editor to bind the vents on. * * @return {void} */ $document.on( 'tinymce-editor-init.editor-expand', function( event, editor ) { // VK contains the type of key pressed. VK = virtual keyboard. var VK = window.tinymce.util.VK, /** * Hides any float panel with a hover state. Additionally hides tooltips. * * @return {void} */ hideFloatPanels = _.debounce( function() { ! $( '.mce-floatpanel:hover' ).length && window.tinymce.ui.FloatPanel.hideAll(); $( '.mce-tooltip' ).hide(); }, 1000, true ); // Make sure it's the main editor. if ( editor.id !== 'content' ) { return; } // Copy the editor instance. mceEditor = editor; // Set the minimum height to the initial viewport height. editor.settings.autoresize_min_height = autoresizeMinHeight; // Get the necessary UI elements. $visualTop = $contentWrap.find( '.mce-toolbar-grp' ); $visualEditor = $contentWrap.find( '.mce-edit-area' ); $statusBar = $contentWrap.find( '.mce-statusbar' ); $menuBar = $contentWrap.find( '.mce-menubar' ); /** * Gets the offset of the editor. * * @return {number|boolean} Returns the offset of the editor * or false if there is no offset height. */ function mceGetCursorOffset() { var node = editor.selection.getNode(), range, view, offset; /* * If editor.wp.getView and the selection node from the editor selection * are defined, use this as a view for the offset. */ if ( editor.wp && editor.wp.getView && ( view = editor.wp.getView( node ) ) ) { offset = view.getBoundingClientRect(); } else { range = editor.selection.getRng(); // Try to get the offset from a range. try { offset = range.getClientRects()[0]; } catch( er ) {} // Get the offset from the bounding client rectangle of the node. if ( ! offset ) { offset = node.getBoundingClientRect(); } } return offset.height ? offset : false; } /** * Filters the special keys that should not be used for scrolling. * * @since 4.0.0 * * @param {event} event The event to get the key code from. * * @return {void} */ function mceKeyup( event ) { var key = event.keyCode; // Bail on special keys. Key code 47 is a '/'. if ( key <= 47 && ! ( key === VK.SPACEBAR || key === VK.ENTER || key === VK.DELETE || key === VK.BACKSPACE || key === VK.UP || key === VK.LEFT || key === VK.DOWN || key === VK.UP ) ) { return; // OS keys, function keys, num lock, scroll lock. Key code 91-93 are OS keys. // Key code 112-123 are F1 to F12. Key code 144 is num lock. Key code 145 is scroll lock. } else if ( ( key >= 91 && key <= 93 ) || ( key >= 112 && key <= 123 ) || key === 144 || key === 145 ) { return; } mceScroll( key ); } /** * Makes sure the cursor is always visible in the editor. * * Makes sure the cursor is kept between the toolbars of the editor and scrolls * the window when the cursor moves out of the viewport to a wpview. * Setting a buffer > 0 will prevent the browser default. * Some browsers will scroll to the middle, * others to the top/bottom of the *window* when moving the cursor out of the viewport. * * @since 4.1.0 * * @param {string} key The key code of the pressed key. * * @return {void} */ function mceScroll( key ) { var offset = mceGetCursorOffset(), buffer = 50, cursorTop, cursorBottom, editorTop, editorBottom; // Don't scroll if there is no offset. if ( ! offset ) { return; } // Determine the cursorTop based on the offset and the top of the editor iframe. cursorTop = offset.top + editor.iframeElement.getBoundingClientRect().top; // Determine the cursorBottom based on the cursorTop and offset height. cursorBottom = cursorTop + offset.height; // Subtract the buffer from the cursorTop. cursorTop = cursorTop - buffer; // Add the buffer to the cursorBottom. cursorBottom = cursorBottom + buffer; editorTop = heights.adminBarHeight + heights.toolsHeight + heights.menuBarHeight + heights.visualTopHeight; /* * Set the editorBottom based on the window Height, and add the bottomHeight and statusBarHeight if the * advanced editor is enabled. */ editorBottom = heights.windowHeight - ( advanced ? heights.bottomHeight + heights.statusBarHeight : 0 ); // Don't scroll if the node is taller than the visible part of the editor. if ( editorBottom - editorTop < offset.height ) { return; } /* * If the cursorTop is smaller than the editorTop and the up, left * or backspace key is pressed, scroll the editor to the position defined * by the cursorTop, pageYOffset and editorTop. */ if ( cursorTop < editorTop && ( key === VK.UP || key === VK.LEFT || key === VK.BACKSPACE ) ) { window.scrollTo( window.pageXOffset, cursorTop + window.pageYOffset - editorTop ); /* * If any other key is pressed or the cursorTop is bigger than the editorTop, * scroll the editor to the position defined by the cursorBottom, * pageYOffset and editorBottom. */ } else if ( cursorBottom > editorBottom ) { window.scrollTo( window.pageXOffset, cursorBottom + window.pageYOffset - editorBottom ); } } /** * If the editor is fullscreen, calls adjust. * * @since 4.1.0 * * @param {event} event The FullscreenStateChanged event. * * @return {void} */ function mceFullscreenToggled( event ) { // event.state is true if the editor is fullscreen. if ( ! event.state ) { adjust(); } } /** * Shows the editor when scrolled. * * Binds the hideFloatPanels function on the window scroll.mce-float-panels event. * Executes the wpAutoResize on the active editor. * * @since 4.0.0 * * @return {void} */ function mceShow() { $window.on( 'scroll.mce-float-panels', hideFloatPanels ); setTimeout( function() { editor.execCommand( 'wpAutoResize' ); adjust(); }, 300 ); } /** * Resizes the editor. * * Removes all functions from the window scroll.mce-float-panels event. * Resizes the text editor and scrolls to a position based on the pageXOffset and adminBarHeight. * * @since 4.0.0 * * @return {void} */ function mceHide() { $window.off( 'scroll.mce-float-panels' ); setTimeout( function() { var top = $contentWrap.offset().top; if ( window.pageYOffset > top ) { window.scrollTo( window.pageXOffset, top - heights.adminBarHeight ); } textEditorResize(); adjust(); }, 100 ); adjust(); } /** * Toggles advanced states. * * @since 4.1.0 * * @return {void} */ function toggleAdvanced() { advanced = ! advanced; } /** * Binds events of the editor and window. * * @since 4.0.0 * * @return {void} */ mceBind = function() { editor.on( 'keyup', mceKeyup ); editor.on( 'show', mceShow ); editor.on( 'hide', mceHide ); editor.on( 'wp-toolbar-toggle', toggleAdvanced ); // Adjust when the editor resizes. editor.on( 'setcontent wp-autoresize wp-toolbar-toggle', adjust ); // Don't hide the caret after undo/redo. editor.on( 'undo redo', mceScroll ); // Adjust when exiting TinyMCE's fullscreen mode. editor.on( 'FullscreenStateChanged', mceFullscreenToggled ); $window.off( 'scroll.mce-float-panels' ).on( 'scroll.mce-float-panels', hideFloatPanels ); }; /** * Unbinds the events of the editor and window. * * @since 4.0.0 * * @return {void} */ mceUnbind = function() { editor.off( 'keyup', mceKeyup ); editor.off( 'show', mceShow ); editor.off( 'hide', mceHide ); editor.off( 'wp-toolbar-toggle', toggleAdvanced ); editor.off( 'setcontent wp-autoresize wp-toolbar-toggle', adjust ); editor.off( 'undo redo', mceScroll ); editor.off( 'FullscreenStateChanged', mceFullscreenToggled ); $window.off( 'scroll.mce-float-panels' ); }; if ( $wrap.hasClass( 'wp-editor-expand' ) ) { // Adjust "immediately". mceBind(); initialResize( adjust ); } } ); /** * Adjusts the toolbars heights and positions. * * Adjusts the toolbars heights and positions based on the scroll position on * the page, the active editor mode and the heights of the editor, admin bar and * side bar. * * @since 4.0.0 * * @param {event} event The event that calls this function. * * @return {void} */ function adjust( event ) { // Makes sure we're not in fullscreen mode. if ( fullscreen && fullscreen.settings.visible ) { return; } var windowPos = $window.scrollTop(), type = event && event.type, resize = type !== 'scroll', visual = mceEditor && ! mceEditor.isHidden(), buffer = autoresizeMinHeight, postBodyTop = $postBody.offset().top, borderWidth = 1, contentWrapWidth = $contentWrap.width(), $top, $editor, sidebarTop, footerTop, canPin, topPos, topHeight, editorPos, editorHeight; /* * Refresh the heights if type isn't 'scroll' * or heights.windowHeight isn't set. */ if ( resize || ! heights.windowHeight ) { getHeights(); } // Resize on resize event when the editor is in text mode. if ( ! visual && type === 'resize' ) { textEditorResize(); } if ( visual ) { $top = $visualTop; $editor = $visualEditor; topHeight = heights.visualTopHeight; } else { $top = $textTop; $editor = $textEditor; topHeight = heights.textTopHeight; } // Return if TinyMCE is still initializing. if ( ! visual && ! $top.length ) { return; } topPos = $top.parent().offset().top; editorPos = $editor.offset().top; editorHeight = $editor.outerHeight(); /* * If in visual mode, checks if the editorHeight is greater than the autoresizeMinHeight + topHeight. * If not in visual mode, checks if the editorHeight is greater than the autoresizeMinHeight + 20. */ canPin = visual ? autoresizeMinHeight + topHeight : autoresizeMinHeight + 20; // 20px from textarea padding. canPin = editorHeight > ( canPin + 5 ); if ( ! canPin ) { if ( resize ) { $tools.css( { position: 'absolute', top: 0, width: contentWrapWidth } ); if ( visual && $menuBar.length ) { $menuBar.css( { position: 'absolute', top: 0, width: contentWrapWidth - ( borderWidth * 2 ) } ); } $top.css( { position: 'absolute', top: heights.menuBarHeight, width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); $statusBar.attr( 'style', advanced ? '' : 'visibility: hidden;' ); $bottom.attr( 'style', '' ); } } else { // Check if the top is not already in a fixed position. if ( ( ! fixedTop || resize ) && ( windowPos >= ( topPos - heights.toolsHeight - heights.adminBarHeight ) && windowPos <= ( topPos - heights.toolsHeight - heights.adminBarHeight + editorHeight - buffer ) ) ) { fixedTop = true; $tools.css( { position: 'fixed', top: heights.adminBarHeight, width: contentWrapWidth } ); if ( visual && $menuBar.length ) { $menuBar.css( { position: 'fixed', top: heights.adminBarHeight + heights.toolsHeight, width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); } $top.css( { position: 'fixed', top: heights.adminBarHeight + heights.toolsHeight + heights.menuBarHeight, width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); // Check if the top is already in a fixed position. } else if ( fixedTop || resize ) { if ( windowPos <= ( topPos - heights.toolsHeight - heights.adminBarHeight ) ) { fixedTop = false; $tools.css( { position: 'absolute', top: 0, width: contentWrapWidth } ); if ( visual && $menuBar.length ) { $menuBar.css( { position: 'absolute', top: 0, width: contentWrapWidth - ( borderWidth * 2 ) } ); } $top.css( { position: 'absolute', top: heights.menuBarHeight, width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); } else if ( windowPos >= ( topPos - heights.toolsHeight - heights.adminBarHeight + editorHeight - buffer ) ) { fixedTop = false; $tools.css( { position: 'absolute', top: editorHeight - buffer, width: contentWrapWidth } ); if ( visual && $menuBar.length ) { $menuBar.css( { position: 'absolute', top: editorHeight - buffer, width: contentWrapWidth - ( borderWidth * 2 ) } ); } $top.css( { position: 'absolute', top: editorHeight - buffer + heights.menuBarHeight, width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); } } // Check if the bottom is not already in a fixed position. if ( ( ! fixedBottom || ( resize && advanced ) ) && // Add borderWidth for the border around the .wp-editor-container. ( windowPos + heights.windowHeight ) <= ( editorPos + editorHeight + heights.bottomHeight + heights.statusBarHeight + borderWidth ) ) { if ( event && event.deltaHeight > 0 && event.deltaHeight < 100 ) { window.scrollBy( 0, event.deltaHeight ); } else if ( visual && advanced ) { fixedBottom = true; $statusBar.css( { position: 'fixed', bottom: heights.bottomHeight, visibility: '', width: contentWrapWidth - ( borderWidth * 2 ) } ); $bottom.css( { position: 'fixed', bottom: 0, width: contentWrapWidth } ); } } else if ( ( ! advanced && fixedBottom ) || ( ( fixedBottom || resize ) && ( windowPos + heights.windowHeight ) > ( editorPos + editorHeight + heights.bottomHeight + heights.statusBarHeight - borderWidth ) ) ) { fixedBottom = false; $statusBar.attr( 'style', advanced ? '' : 'visibility: hidden;' ); $bottom.attr( 'style', '' ); } } // The postbox container is positioned with @media from CSS. Ensure it is pinned on the side. if ( $postboxContainer.width() < 300 && heights.windowWidth > 600 && // Check if the sidebar is not taller than the document height. $document.height() > ( $sideSortables.height() + postBodyTop + 120 ) && // Check if the editor is taller than the viewport. heights.windowHeight < editorHeight ) { if ( ( heights.sideSortablesHeight + pinnedToolsTop + sidebarBottom ) > heights.windowHeight || fixedSideTop || fixedSideBottom ) { // Reset the sideSortables style when scrolling to the top. if ( windowPos + pinnedToolsTop <= postBodyTop ) { $sideSortables.attr( 'style', '' ); fixedSideTop = fixedSideBottom = false; } else { // When scrolling down. if ( windowPos > lastScrollPosition ) { if ( fixedSideTop ) { // Let it scroll. fixedSideTop = false; sidebarTop = $sideSortables.offset().top - heights.adminBarHeight; footerTop = $footer.offset().top; // Don't get over the footer. if ( footerTop < sidebarTop + heights.sideSortablesHeight + sidebarBottom ) { sidebarTop = footerTop - heights.sideSortablesHeight - 12; } $sideSortables.css({ position: 'absolute', top: sidebarTop, bottom: '' }); } else if ( ! fixedSideBottom && heights.sideSortablesHeight + $sideSortables.offset().top + sidebarBottom < windowPos + heights.windowHeight ) { // Pin the bottom. fixedSideBottom = true; $sideSortables.css({ position: 'fixed', top: 'auto', bottom: sidebarBottom }); } // When scrolling up. } else if ( windowPos < lastScrollPosition ) { if ( fixedSideBottom ) { // Let it scroll. fixedSideBottom = false; sidebarTop = $sideSortables.offset().top - sidebarBottom; footerTop = $footer.offset().top; // Don't get over the footer. if ( footerTop < sidebarTop + heights.sideSortablesHeight + sidebarBottom ) { sidebarTop = footerTop - heights.sideSortablesHeight - 12; } $sideSortables.css({ position: 'absolute', top: sidebarTop, bottom: '' }); } else if ( ! fixedSideTop && $sideSortables.offset().top >= windowPos + pinnedToolsTop ) { // Pin the top. fixedSideTop = true; $sideSortables.css({ position: 'fixed', top: pinnedToolsTop, bottom: '' }); } } } } else { // If the sidebar container is smaller than the viewport, then pin/unpin the top when scrolling. if ( windowPos >= ( postBodyTop - pinnedToolsTop ) ) { $sideSortables.css( { position: 'fixed', top: pinnedToolsTop } ); } else { $sideSortables.attr( 'style', '' ); } fixedSideTop = fixedSideBottom = false; } lastScrollPosition = windowPos; } else { $sideSortables.attr( 'style', '' ); fixedSideTop = fixedSideBottom = false; } if ( resize ) { $contentWrap.css( { paddingTop: heights.toolsHeight } ); if ( visual ) { $visualEditor.css( { paddingTop: heights.visualTopHeight + heights.menuBarHeight } ); } else { $textEditor.css( { marginTop: heights.textTopHeight } ); } } } /** * Resizes the editor and adjusts the toolbars. * * @since 4.0.0 * * @return {void} */ function fullscreenHide() { textEditorResize(); adjust(); } /** * Runs the passed function with 500ms intervals. * * @since 4.0.0 * * @param {function} callback The function to run in the timeout. * * @return {void} */ function initialResize( callback ) { for ( var i = 1; i < 6; i++ ) { setTimeout( callback, 500 * i ); } } /** * Runs adjust after 100ms. * * @since 4.0.0 * * @return {void} */ function afterScroll() { clearTimeout( scrollTimer ); scrollTimer = setTimeout( adjust, 100 ); } /** * Binds editor expand events on elements. * * @since 4.0.0 * * @return {void} */ function on() { /* * Scroll to the top when triggering this from JS. * Ensure the toolbars are pinned properly. */ if ( window.pageYOffset && window.pageYOffset > pageYOffsetAtTop ) { window.scrollTo( window.pageXOffset, 0 ); } $wrap.addClass( 'wp-editor-expand' ); // Adjust when the window is scrolled or resized. $window.on( 'scroll.editor-expand resize.editor-expand', function( event ) { adjust( event.type ); afterScroll(); } ); /* * Adjust when collapsing the menu, changing the columns * or changing the body class. */ $document.on( 'wp-collapse-menu.editor-expand postboxes-columnchange.editor-expand editor-classchange.editor-expand', adjust ) .on( 'postbox-toggled.editor-expand postbox-moved.editor-expand', function() { if ( ! fixedSideTop && ! fixedSideBottom && window.pageYOffset > pinnedToolsTop ) { fixedSideBottom = true; window.scrollBy( 0, -1 ); adjust(); window.scrollBy( 0, 1 ); } adjust(); }).on( 'wp-window-resized.editor-expand', function() { if ( mceEditor && ! mceEditor.isHidden() ) { mceEditor.execCommand( 'wpAutoResize' ); } else { textEditorResize(); } }); $textEditor.on( 'focus.editor-expand input.editor-expand propertychange.editor-expand', textEditorResize ); mceBind(); // Adjust when entering or exiting fullscreen mode. fullscreen && fullscreen.pubsub.subscribe( 'hidden', fullscreenHide ); if ( mceEditor ) { mceEditor.settings.wp_autoresize_on = true; mceEditor.execCommand( 'wpAutoResizeOn' ); if ( ! mceEditor.isHidden() ) { mceEditor.execCommand( 'wpAutoResize' ); } } if ( ! mceEditor || mceEditor.isHidden() ) { textEditorResize(); } adjust(); $document.trigger( 'editor-expand-on' ); } /** * Unbinds editor expand events. * * @since 4.0.0 * * @return {void} */ function off() { var height = parseInt( window.getUserSetting( 'ed_size', 300 ), 10 ); if ( height < 50 ) { height = 50; } else if ( height > 5000 ) { height = 5000; } /* * Scroll to the top when triggering this from JS. * Ensure the toolbars are reset properly. */ if ( window.pageYOffset && window.pageYOffset > pageYOffsetAtTop ) { window.scrollTo( window.pageXOffset, 0 ); } $wrap.removeClass( 'wp-editor-expand' ); $window.off( '.editor-expand' ); $document.off( '.editor-expand' ); $textEditor.off( '.editor-expand' ); mceUnbind(); // Adjust when entering or exiting fullscreen mode. fullscreen && fullscreen.pubsub.unsubscribe( 'hidden', fullscreenHide ); // Reset all CSS. $.each( [ $visualTop, $textTop, $tools, $menuBar, $bottom, $statusBar, $contentWrap, $visualEditor, $textEditor, $sideSortables ], function( i, element ) { element && element.attr( 'style', '' ); }); fixedTop = fixedBottom = fixedSideTop = fixedSideBottom = false; if ( mceEditor ) { mceEditor.settings.wp_autoresize_on = false; mceEditor.execCommand( 'wpAutoResizeOff' ); if ( ! mceEditor.isHidden() ) { $textEditor.hide(); if ( height ) { mceEditor.theme.resizeTo( null, height ); } } } // If there is a height found in the user setting. if ( height ) { $textEditor.height( height ); } $document.trigger( 'editor-expand-off' ); } // Start on load. if ( $wrap.hasClass( 'wp-editor-expand' ) ) { on(); // Resize just after CSS has fully loaded and QuickTags is ready. if ( $contentWrap.hasClass( 'html-active' ) ) { initialResize( function() { adjust(); textEditorResize(); } ); } } // Show the on/off checkbox. $( '#adv-settings .editor-expand' ).show(); $( '#editor-expand-toggle' ).on( 'change.editor-expand', function() { if ( $(this).prop( 'checked' ) ) { on(); window.setUserSetting( 'editor_expand', 'on' ); } else { off(); window.setUserSetting( 'editor_expand', 'off' ); } }); // Expose on() and off(). window.editorExpand = { on: on, off: off }; } ); /** * Handles the distraction free writing of TinyMCE. * * @since 4.1.0 * * @return {void} */ $( function() { var $body = $( document.body ), $wrap = $( '#wpcontent' ), $editor = $( '#post-body-content' ), $title = $( '#title' ), $content = $( '#content' ), $overlay = $( document.createElement( 'DIV' ) ), $slug = $( '#edit-slug-box' ), $slugFocusEl = $slug.find( 'a' ) .add( $slug.find( 'button' ) ) .add( $slug.find( 'input' ) ), $menuWrap = $( '#adminmenuwrap' ), $editorWindow = $(), $editorIframe = $(), _isActive = window.getUserSetting( 'editor_expand', 'on' ) === 'on', _isOn = _isActive ? window.getUserSetting( 'post_dfw' ) === 'on' : false, traveledX = 0, traveledY = 0, buffer = 20, faded, fadedAdminBar, fadedSlug, editorRect, x, y, mouseY, scrollY, focusLostTimer, overlayTimer, editorHasFocus; $body.append( $overlay ); $overlay.css( { display: 'none', position: 'fixed', top: $adminBar.height(), right: 0, bottom: 0, left: 0, 'z-index': 9997 } ); $editor.css( { position: 'relative' } ); $window.on( 'mousemove.focus', function( event ) { mouseY = event.pageY; } ); /** * Recalculates the bottom and right position of the editor in the DOM. * * @since 4.1.0 * * @return {void} */ function recalcEditorRect() { editorRect = $editor.offset(); editorRect.right = editorRect.left + $editor.outerWidth(); editorRect.bottom = editorRect.top + $editor.outerHeight(); } /** * Activates the distraction free writing mode. * * @since 4.1.0 * * @return {void} */ function activate() { if ( ! _isActive ) { _isActive = true; $document.trigger( 'dfw-activate' ); $content.on( 'keydown.focus-shortcut', toggleViaKeyboard ); } } /** * Deactivates the distraction free writing mode. * * @since 4.1.0 * * @return {void} */ function deactivate() { if ( _isActive ) { off(); _isActive = false; $document.trigger( 'dfw-deactivate' ); $content.off( 'keydown.focus-shortcut' ); } } /** * Returns _isActive. * * @since 4.1.0 * * @return {boolean} Returns true is _isActive is true. */ function isActive() { return _isActive; } /** * Binds events on the editor for distraction free writing. * * @since 4.1.0 * * @return {void} */ function on() { if ( ! _isOn && _isActive ) { _isOn = true; $content.on( 'keydown.focus', fadeOut ); $title.add( $content ).on( 'blur.focus', maybeFadeIn ); fadeOut(); window.setUserSetting( 'post_dfw', 'on' ); $document.trigger( 'dfw-on' ); } } /** * Unbinds events on the editor for distraction free writing. * * @since 4.1.0 * * @return {void} */ function off() { if ( _isOn ) { _isOn = false; $title.add( $content ).off( '.focus' ); fadeIn(); $editor.off( '.focus' ); window.setUserSetting( 'post_dfw', 'off' ); $document.trigger( 'dfw-off' ); } } /** * Binds or unbinds the editor expand events. * * @since 4.1.0 * * @return {void} */ function toggle() { if ( _isOn ) { off(); } else { on(); } } /** * Returns the value of _isOn. * * @since 4.1.0 * * @return {boolean} Returns true if _isOn is true. */ function isOn() { return _isOn; } /** * Fades out all elements except for the editor. * * The fading is done based on key presses and mouse movements. * Also calls the fadeIn on certain key presses * or if the mouse leaves the editor. * * @since 4.1.0 * * @param event The event that triggers this function. * * @return {void} */ function fadeOut( event ) { var isMac, key = event && event.keyCode; if ( window.navigator.platform ) { isMac = ( window.navigator.platform.indexOf( 'Mac' ) > -1 ); } // Fade in and returns on Escape and keyboard shortcut Alt+Shift+W and Ctrl+Opt+W. if ( key === 27 || ( key === 87 && event.altKey && ( ( ! isMac && event.shiftKey ) || ( isMac && event.ctrlKey ) ) ) ) { fadeIn( event ); return; } // Return if any of the following keys or combinations of keys is pressed. if ( event && ( event.metaKey || ( event.ctrlKey && ! event.altKey ) || ( event.altKey && event.shiftKey ) || ( key && ( // Special keys ( tab, ctrl, alt, esc, arrow keys... ). ( key <= 47 && key !== 8 && key !== 13 && key !== 32 && key !== 46 ) || // Windows keys. ( key >= 91 && key <= 93 ) || // F keys. ( key >= 112 && key <= 135 ) || // Num Lock, Scroll Lock, OEM. ( key >= 144 && key <= 150 ) || // OEM or non-printable. key >= 224 ) ) ) ) { return; } if ( ! faded ) { faded = true; clearTimeout( overlayTimer ); overlayTimer = setTimeout( function() { $overlay.show(); }, 600 ); $editor.css( 'z-index', 9998 ); $overlay // Always recalculate the editor area when entering the overlay with the mouse. .on( 'mouseenter.focus', function() { recalcEditorRect(); $window.on( 'scroll.focus', function() { var nScrollY = window.pageYOffset; if ( ( scrollY && mouseY && scrollY !== nScrollY ) && ( mouseY < editorRect.top - buffer || mouseY > editorRect.bottom + buffer ) ) { fadeIn(); } scrollY = nScrollY; } ); } ) .on( 'mouseleave.focus', function() { x = y = null; traveledX = traveledY = 0; $window.off( 'scroll.focus' ); } ) // Fade in when the mouse moves away form the editor area. .on( 'mousemove.focus', function( event ) { var nx = event.clientX, ny = event.clientY, pageYOffset = window.pageYOffset, pageXOffset = window.pageXOffset; if ( x && y && ( nx !== x || ny !== y ) ) { if ( ( ny <= y && ny < editorRect.top - pageYOffset ) || ( ny >= y && ny > editorRect.bottom - pageYOffset ) || ( nx <= x && nx < editorRect.left - pageXOffset ) || ( nx >= x && nx > editorRect.right - pageXOffset ) ) { traveledX += Math.abs( x - nx ); traveledY += Math.abs( y - ny ); if ( ( ny <= editorRect.top - buffer - pageYOffset || ny >= editorRect.bottom + buffer - pageYOffset || nx <= editorRect.left - buffer - pageXOffset || nx >= editorRect.right + buffer - pageXOffset ) && ( traveledX > 10 || traveledY > 10 ) ) { fadeIn(); x = y = null; traveledX = traveledY = 0; return; } } else { traveledX = traveledY = 0; } } x = nx; y = ny; } ) // When the overlay is touched, fade in and cancel the event. .on( 'touchstart.focus', function( event ) { event.preventDefault(); fadeIn(); } ); $editor.off( 'mouseenter.focus' ); if ( focusLostTimer ) { clearTimeout( focusLostTimer ); focusLostTimer = null; } $body.addClass( 'focus-on' ).removeClass( 'focus-off' ); } fadeOutAdminBar(); fadeOutSlug(); } /** * Fades all elements back in. * * @since 4.1.0 * * @param event The event that triggers this function. * * @return {void} */ function fadeIn( event ) { if ( faded ) { faded = false; clearTimeout( overlayTimer ); overlayTimer = setTimeout( function() { $overlay.hide(); }, 200 ); $editor.css( 'z-index', '' ); $overlay.off( 'mouseenter.focus mouseleave.focus mousemove.focus touchstart.focus' ); /* * When fading in, temporarily watch for refocus and fade back out - helps * with 'accidental' editor exits with the mouse. When fading in and the event * is a key event (Escape or Alt+Shift+W) don't watch for refocus. */ if ( 'undefined' === typeof event ) { $editor.on( 'mouseenter.focus', function() { if ( $.contains( $editor.get( 0 ), document.activeElement ) || editorHasFocus ) { fadeOut(); } } ); } focusLostTimer = setTimeout( function() { focusLostTimer = null; $editor.off( 'mouseenter.focus' ); }, 1000 ); $body.addClass( 'focus-off' ).removeClass( 'focus-on' ); } fadeInAdminBar(); fadeInSlug(); } /** * Fades in if the focused element based on it position. * * @since 4.1.0 * * @return {void} */ function maybeFadeIn() { setTimeout( function() { var position = document.activeElement.compareDocumentPosition( $editor.get( 0 ) ); function hasFocus( $el ) { return $.contains( $el.get( 0 ), document.activeElement ); } // The focused node is before or behind the editor area, and not outside the wrap. if ( ( position === 2 || position === 4 ) && ( hasFocus( $menuWrap ) || hasFocus( $wrap ) || hasFocus( $footer ) ) ) { fadeIn(); } }, 0 ); } /** * Fades out the admin bar based on focus on the admin bar. * * @since 4.1.0 * * @return {void} */ function fadeOutAdminBar() { if ( ! fadedAdminBar && faded ) { fadedAdminBar = true; $adminBar .on( 'mouseenter.focus', function() { $adminBar.addClass( 'focus-off' ); } ) .on( 'mouseleave.focus', function() { $adminBar.removeClass( 'focus-off' ); } ); } } /** * Fades in the admin bar. * * @since 4.1.0 * * @return {void} */ function fadeInAdminBar() { if ( fadedAdminBar ) { fadedAdminBar = false; $adminBar.off( '.focus' ); } } /** * Fades out the edit slug box. * * @since 4.1.0 * * @return {void} */ function fadeOutSlug() { if ( ! fadedSlug && faded && ! $slug.find( ':focus').length ) { fadedSlug = true; $slug.stop().fadeTo( 'fast', 0.3 ).on( 'mouseenter.focus', fadeInSlug ).off( 'mouseleave.focus' ); $slugFocusEl.on( 'focus.focus', fadeInSlug ).off( 'blur.focus' ); } } /** * Fades in the edit slug box. * * @since 4.1.0 * * @return {void} */ function fadeInSlug() { if ( fadedSlug ) { fadedSlug = false; $slug.stop().fadeTo( 'fast', 1 ).on( 'mouseleave.focus', fadeOutSlug ).off( 'mouseenter.focus' ); $slugFocusEl.on( 'blur.focus', fadeOutSlug ).off( 'focus.focus' ); } } /** * Triggers the toggle on Alt + Shift + W. * * Keycode 87 = w. * * @since 4.1.0 * * @param {event} event The event to trigger the toggle. * * @return {void} */ function toggleViaKeyboard( event ) { if ( event.altKey && event.shiftKey && 87 === event.keyCode ) { toggle(); } } if ( $( '#postdivrich' ).hasClass( 'wp-editor-expand' ) ) { $content.on( 'keydown.focus-shortcut', toggleViaKeyboard ); } /** * Adds the distraction free writing button when setting up TinyMCE. * * @since 4.1.0 * * @param {event} event The TinyMCE editor setup event. * @param {object} editor The editor to add the button to. * * @return {void} */ $document.on( 'tinymce-editor-setup.focus', function( event, editor ) { editor.addButton( 'dfw', { active: _isOn, classes: 'wp-dfw btn widget', disabled: ! _isActive, onclick: toggle, onPostRender: function() { var button = this; editor.on( 'init', function() { if ( button.disabled() ) { button.hide(); } } ); $document .on( 'dfw-activate.focus', function() { button.disabled( false ); button.show(); } ) .on( 'dfw-deactivate.focus', function() { button.disabled( true ); button.hide(); } ) .on( 'dfw-on.focus', function() { button.active( true ); } ) .on( 'dfw-off.focus', function() { button.active( false ); } ); }, tooltip: 'Distraction-free writing mode', shortcut: 'Alt+Shift+W' } ); editor.addCommand( 'wpToggleDFW', toggle ); editor.addShortcut( 'access+w', '', 'wpToggleDFW' ); } ); /** * Binds and unbinds events on the editor. * * @since 4.1.0 * * @param {event} event The TinyMCE editor init event. * @param {object} editor The editor to bind events on. * * @return {void} */ $document.on( 'tinymce-editor-init.focus', function( event, editor ) { var mceBind, mceUnbind; function focus() { editorHasFocus = true; } function blur() { editorHasFocus = false; } if ( editor.id === 'content' ) { $editorWindow = $( editor.getWin() ); $editorIframe = $( editor.getContentAreaContainer() ).find( 'iframe' ); mceBind = function() { editor.on( 'keydown', fadeOut ); editor.on( 'blur', maybeFadeIn ); editor.on( 'focus', focus ); editor.on( 'blur', blur ); editor.on( 'wp-autoresize', recalcEditorRect ); }; mceUnbind = function() { editor.off( 'keydown', fadeOut ); editor.off( 'blur', maybeFadeIn ); editor.off( 'focus', focus ); editor.off( 'blur', blur ); editor.off( 'wp-autoresize', recalcEditorRect ); }; if ( _isOn ) { mceBind(); } // Bind and unbind based on the distraction free writing focus. $document.on( 'dfw-on.focus', mceBind ).on( 'dfw-off.focus', mceUnbind ); // Focus the editor when it is the target of the click event. editor.on( 'click', function( event ) { if ( event.target === editor.getDoc().documentElement ) { editor.focus(); } } ); } } ); /** * Binds events on quicktags init. * * @since 4.1.0 * * @param {event} event The quicktags init event. * @param {object} editor The editor to bind events on. * * @return {void} */ $document.on( 'quicktags-init', function( event, editor ) { var $button; // Bind the distraction free writing events if the distraction free writing button is available. if ( editor.settings.buttons && ( ',' + editor.settings.buttons + ',' ).indexOf( ',dfw,' ) !== -1 ) { $button = $( '#' + editor.name + '_dfw' ); $( document ) .on( 'dfw-activate', function() { $button.prop( 'disabled', false ); } ) .on( 'dfw-deactivate', function() { $button.prop( 'disabled', true ); } ) .on( 'dfw-on', function() { $button.addClass( 'active' ); } ) .on( 'dfw-off', function() { $button.removeClass( 'active' ); } ); } } ); $document.on( 'editor-expand-on.focus', activate ).on( 'editor-expand-off.focus', deactivate ); if ( _isOn ) { $content.on( 'keydown.focus', fadeOut ); $title.add( $content ).on( 'blur.focus', maybeFadeIn ); } window.wp = window.wp || {}; window.wp.editor = window.wp.editor || {}; window.wp.editor.dfw = { activate: activate, deactivate: deactivate, isActive: isActive, on: on, off: off, toggle: toggle, isOn: isOn }; } ); } )( window, window.jQuery ); edit-comments.js 0000644 00000112166 15174671433 0007674 0 ustar 00 /** * Handles updating and editing comments. * * @file This file contains functionality for the admin comments page. * @since 2.1.0 * @output wp-admin/js/edit-comments.js */ /* global adminCommentsSettings, thousandsSeparator, list_args, QTags, ajaxurl, wpAjax */ /* global commentReply, theExtraList, theList, setCommentsList */ (function($) { var getCount, updateCount, updateCountText, updatePending, updateApproved, updateHtmlTitle, updateDashboardText, updateInModerationText, adminTitle = document.title, isDashboard = $('#dashboard_right_now').length, titleDiv, titleRegEx, __ = wp.i18n.__; /** * Extracts a number from the content of a jQuery element. * * @since 2.9.0 * @access private * * @param {jQuery} el jQuery element. * * @return {number} The number found in the given element. */ getCount = function(el) { var n = parseInt( el.html().replace(/[^0-9]+/g, ''), 10 ); if ( isNaN(n) ) { return 0; } return n; }; /** * Updates an html element with a localized number string. * * @since 2.9.0 * @access private * * @param {jQuery} el The jQuery element to update. * @param {number} n Number to be put in the element. * * @return {void} */ updateCount = function(el, n) { var n1 = ''; if ( isNaN(n) ) { return; } n = n < 1 ? '0' : n.toString(); if ( n.length > 3 ) { while ( n.length > 3 ) { n1 = thousandsSeparator + n.substr(n.length - 3) + n1; n = n.substr(0, n.length - 3); } n = n + n1; } el.html(n); }; /** * Updates the number of approved comments on a specific post and the filter bar. * * @since 4.4.0 * @access private * * @param {number} diff The amount to lower or raise the approved count with. * @param {number} commentPostId The ID of the post to be updated. * * @return {void} */ updateApproved = function( diff, commentPostId ) { var postSelector = '.post-com-count-' + commentPostId, noClass = 'comment-count-no-comments', approvedClass = 'comment-count-approved', approved, noComments; updateCountText( 'span.approved-count', diff ); if ( ! commentPostId ) { return; } // Cache selectors to not get duplicates. approved = $( 'span.' + approvedClass, postSelector ); noComments = $( 'span.' + noClass, postSelector ); approved.each(function() { var a = $(this), n = getCount(a) + diff; if ( n < 1 ) n = 0; if ( 0 === n ) { a.removeClass( approvedClass ).addClass( noClass ); } else { a.addClass( approvedClass ).removeClass( noClass ); } updateCount( a, n ); }); noComments.each(function() { var a = $(this); if ( diff > 0 ) { a.removeClass( noClass ).addClass( approvedClass ); } else { a.addClass( noClass ).removeClass( approvedClass ); } updateCount( a, diff ); }); }; /** * Updates a number count in all matched HTML elements * * @since 4.4.0 * @access private * * @param {string} selector The jQuery selector for elements to update a count * for. * @param {number} diff The amount to lower or raise the count with. * * @return {void} */ updateCountText = function( selector, diff ) { $( selector ).each(function() { var a = $(this), n = getCount(a) + diff; if ( n < 1 ) { n = 0; } updateCount( a, n ); }); }; /** * Updates a text about comment count on the dashboard. * * @since 4.4.0 * @access private * * @param {Object} response Ajax response from the server that includes a * translated "comment count" message. * * @return {void} */ updateDashboardText = function( response ) { if ( ! isDashboard || ! response || ! response.i18n_comments_text ) { return; } $( '.comment-count a', '#dashboard_right_now' ).text( response.i18n_comments_text ); }; /** * Updates the "comments in moderation" text across the UI. * * @since 5.2.0 * * @param {Object} response Ajax response from the server that includes a * translated "comments in moderation" message. * * @return {void} */ updateInModerationText = function( response ) { if ( ! response || ! response.i18n_moderation_text ) { return; } // Update the "comment in moderation" text across the UI. $( '.comments-in-moderation-text' ).text( response.i18n_moderation_text ); // Hide the "comment in moderation" text in the Dashboard "At a Glance" widget. if ( isDashboard && response.in_moderation ) { $( '.comment-mod-count', '#dashboard_right_now' ) [ response.in_moderation > 0 ? 'removeClass' : 'addClass' ]( 'hidden' ); } }; /** * Updates the title of the document with the number comments to be approved. * * @since 4.4.0 * @access private * * @param {number} diff The amount to lower or raise the number of to be * approved comments with. * * @return {void} */ updateHtmlTitle = function( diff ) { var newTitle, regExMatch, titleCount, commentFrag; /* translators: %s: Comments count. */ titleRegEx = titleRegEx || new RegExp( __( 'Comments (%s)' ).replace( '%s', '\\([0-9' + thousandsSeparator + ']+\\)' ) + '?' ); // Count funcs operate on a $'d element. titleDiv = titleDiv || $( '<div />' ); newTitle = adminTitle; commentFrag = titleRegEx.exec( document.title ); if ( commentFrag ) { commentFrag = commentFrag[0]; titleDiv.html( commentFrag ); titleCount = getCount( titleDiv ) + diff; } else { titleDiv.html( 0 ); titleCount = diff; } if ( titleCount >= 1 ) { updateCount( titleDiv, titleCount ); regExMatch = titleRegEx.exec( document.title ); if ( regExMatch ) { /* translators: %s: Comments count. */ newTitle = document.title.replace( regExMatch[0], __( 'Comments (%s)' ).replace( '%s', titleDiv.text() ) + ' ' ); } } else { regExMatch = titleRegEx.exec( newTitle ); if ( regExMatch ) { newTitle = newTitle.replace( regExMatch[0], __( 'Comments' ) ); } } document.title = newTitle; }; /** * Updates the number of pending comments on a specific post and the filter bar. * * @since 3.2.0 * @access private * * @param {number} diff The amount to lower or raise the pending count with. * @param {number} commentPostId The ID of the post to be updated. * * @return {void} */ updatePending = function( diff, commentPostId ) { var postSelector = '.post-com-count-' + commentPostId, noClass = 'comment-count-no-pending', noParentClass = 'post-com-count-no-pending', pendingClass = 'comment-count-pending', pending, noPending; if ( ! isDashboard ) { updateHtmlTitle( diff ); } $( 'span.pending-count' ).each(function() { var a = $(this), n = getCount(a) + diff; if ( n < 1 ) n = 0; a.closest('.awaiting-mod')[ 0 === n ? 'addClass' : 'removeClass' ]('count-0'); updateCount( a, n ); }); if ( ! commentPostId ) { return; } // Cache selectors to not get dupes. pending = $( 'span.' + pendingClass, postSelector ); noPending = $( 'span.' + noClass, postSelector ); pending.each(function() { var a = $(this), n = getCount(a) + diff; if ( n < 1 ) n = 0; if ( 0 === n ) { a.parent().addClass( noParentClass ); a.removeClass( pendingClass ).addClass( noClass ); } else { a.parent().removeClass( noParentClass ); a.addClass( pendingClass ).removeClass( noClass ); } updateCount( a, n ); }); noPending.each(function() { var a = $(this); if ( diff > 0 ) { a.parent().removeClass( noParentClass ); a.removeClass( noClass ).addClass( pendingClass ); } else { a.parent().addClass( noParentClass ); a.addClass( noClass ).removeClass( pendingClass ); } updateCount( a, diff ); }); }; /** * Initializes the comments list. * * @since 4.4.0 * * @global * * @return {void} */ window.setCommentsList = function() { var totalInput, perPageInput, pageInput, dimAfter, delBefore, updateTotalCount, delAfter, refillTheExtraList, diff, lastConfidentTime = 0; totalInput = $('input[name="_total"]', '#comments-form'); perPageInput = $('input[name="_per_page"]', '#comments-form'); pageInput = $('input[name="_page"]', '#comments-form'); /** * Updates the total with the latest count. * * The time parameter makes sure that we only update the total if this value is * a newer value than we previously received. * * The time and setConfidentTime parameters make sure that we only update the * total when necessary. So a value that has been generated earlier will not * update the total. * * @since 2.8.0 * @access private * * @param {number} total Total number of comments. * @param {number} time Unix timestamp of response. * @param {boolean} setConfidentTime Whether to update the last confident time * with the given time. * * @return {void} */ updateTotalCount = function( total, time, setConfidentTime ) { if ( time < lastConfidentTime ) return; if ( setConfidentTime ) lastConfidentTime = time; totalInput.val( total.toString() ); }; /** * Changes DOM that need to be changed after a list item has been dimmed. * * @since 2.5.0 * @access private * * @param {Object} r Ajax response object. * @param {Object} settings Settings for the wpList object. * * @return {void} */ dimAfter = function( r, settings ) { var editRow, replyID, replyButton, response, c = $( '#' + settings.element ); if ( true !== settings.parsed ) { response = settings.parsed.responses[0]; } editRow = $('#replyrow'); replyID = $('#comment_ID', editRow).val(); replyButton = $('#replybtn', editRow); if ( c.is('.unapproved') ) { if ( settings.data.id == replyID ) replyButton.text( __( 'Approve and Reply' ) ); c.find( '.row-actions span.view' ).addClass( 'hidden' ).end() .find( 'div.comment_status' ).html( '0' ); } else { if ( settings.data.id == replyID ) replyButton.text( __( 'Reply' ) ); c.find( '.row-actions span.view' ).removeClass( 'hidden' ).end() .find( 'div.comment_status' ).html( '1' ); } diff = $('#' + settings.element).is('.' + settings.dimClass) ? 1 : -1; if ( response ) { updateDashboardText( response.supplemental ); updateInModerationText( response.supplemental ); updatePending( diff, response.supplemental.postId ); updateApproved( -1 * diff, response.supplemental.postId ); } else { updatePending( diff ); updateApproved( -1 * diff ); } }; /** * Handles marking a comment as spam or trashing the comment. * * Is executed in the list delBefore hook. * * @since 2.8.0 * @access private * * @param {Object} settings Settings for the wpList object. * @param {HTMLElement} list Comments table element. * * @return {Object} The settings object. */ delBefore = function( settings, list ) { var note, id, el, n, h, a, author, action = false, wpListsData = $( settings.target ).attr( 'data-wp-lists' ); settings.data._total = totalInput.val() || 0; settings.data._per_page = perPageInput.val() || 0; settings.data._page = pageInput.val() || 0; settings.data._url = document.location.href; settings.data.comment_status = $('input[name="comment_status"]', '#comments-form').val(); if ( wpListsData.indexOf(':trash=1') != -1 ) action = 'trash'; else if ( wpListsData.indexOf(':spam=1') != -1 ) action = 'spam'; if ( action ) { id = wpListsData.replace(/.*?comment-([0-9]+).*/, '$1'); el = $('#comment-' + id); note = $('#' + action + '-undo-holder').html(); el.find('.check-column :checkbox').prop('checked', false); // Uncheck the row so as not to be affected by Bulk Edits. if ( el.siblings('#replyrow').length && commentReply.cid == id ) commentReply.close(); if ( el.is('tr') ) { n = el.children(':visible').length; author = $('.author strong', el).text(); h = $('<tr id="undo-' + id + '" class="undo un' + action + '" style="display:none;"><td colspan="' + n + '">' + note + '</td></tr>'); } else { author = $('.comment-author', el).text(); h = $('<div id="undo-' + id + '" style="display:none;" class="undo un' + action + '">' + note + '</div>'); } el.before(h); $('strong', '#undo-' + id).text(author); a = $('.undo a', '#undo-' + id); a.attr('href', 'comment.php?action=un' + action + 'comment&c=' + id + '&_wpnonce=' + settings.data._ajax_nonce); a.attr('data-wp-lists', 'delete:the-comment-list:comment-' + id + '::un' + action + '=1'); a.attr('class', 'vim-z vim-destructive aria-button-if-js'); $('.avatar', el).first().clone().prependTo('#undo-' + id + ' .' + action + '-undo-inside'); a.on( 'click', function( e ){ e.preventDefault(); e.stopPropagation(); // Ticket #35904. list.wpList.del(this); $('#undo-' + id).css( {backgroundColor:'#ceb'} ).fadeOut(350, function(){ $(this).remove(); $('#comment-' + id).css('backgroundColor', '').fadeIn(300, function(){ $(this).show(); }); }); }); } return settings; }; /** * Handles actions that need to be done after marking as spam or thrashing a * comment. * * The ajax requests return the unix time stamp a comment was marked as spam or * trashed. We use this to have a correct total amount of comments. * * @since 2.5.0 * @access private * * @param {Object} r Ajax response object. * @param {Object} settings Settings for the wpList object. * * @return {void} */ delAfter = function( r, settings ) { var total_items_i18n, total, animated, animatedCallback, response = true === settings.parsed ? {} : settings.parsed.responses[0], commentStatus = true === settings.parsed ? '' : response.supplemental.status, commentPostId = true === settings.parsed ? '' : response.supplemental.postId, newTotal = true === settings.parsed ? '' : response.supplemental, targetParent = $( settings.target ).parent(), commentRow = $('#' + settings.element), spamDiff, trashDiff, pendingDiff, approvedDiff, /* * As `wpList` toggles only the `unapproved` class, the approved comment * rows can have both the `approved` and `unapproved` classes. */ approved = commentRow.hasClass( 'approved' ) && ! commentRow.hasClass( 'unapproved' ), unapproved = commentRow.hasClass( 'unapproved' ), spammed = commentRow.hasClass( 'spam' ), trashed = commentRow.hasClass( 'trash' ), undoing = false; // Ticket #35904. updateDashboardText( newTotal ); updateInModerationText( newTotal ); /* * The order of these checks is important. * .unspam can also have .approve or .unapprove. * .untrash can also have .approve or .unapprove. */ if ( targetParent.is( 'span.undo' ) ) { // The comment was spammed. if ( targetParent.hasClass( 'unspam' ) ) { spamDiff = -1; if ( 'trash' === commentStatus ) { trashDiff = 1; } else if ( '1' === commentStatus ) { approvedDiff = 1; } else if ( '0' === commentStatus ) { pendingDiff = 1; } // The comment was trashed. } else if ( targetParent.hasClass( 'untrash' ) ) { trashDiff = -1; if ( 'spam' === commentStatus ) { spamDiff = 1; } else if ( '1' === commentStatus ) { approvedDiff = 1; } else if ( '0' === commentStatus ) { pendingDiff = 1; } } undoing = true; // User clicked "Spam". } else if ( targetParent.is( 'span.spam' ) ) { // The comment is currently approved. if ( approved ) { approvedDiff = -1; // The comment is currently pending. } else if ( unapproved ) { pendingDiff = -1; // The comment was in the Trash. } else if ( trashed ) { trashDiff = -1; } // You can't spam an item on the Spam screen. spamDiff = 1; // User clicked "Unspam". } else if ( targetParent.is( 'span.unspam' ) ) { if ( approved ) { pendingDiff = 1; } else if ( unapproved ) { approvedDiff = 1; } else if ( trashed ) { // The comment was previously approved. if ( targetParent.hasClass( 'approve' ) ) { approvedDiff = 1; // The comment was previously pending. } else if ( targetParent.hasClass( 'unapprove' ) ) { pendingDiff = 1; } } else if ( spammed ) { if ( targetParent.hasClass( 'approve' ) ) { approvedDiff = 1; } else if ( targetParent.hasClass( 'unapprove' ) ) { pendingDiff = 1; } } // You can unspam an item on the Spam screen. spamDiff = -1; // User clicked "Trash". } else if ( targetParent.is( 'span.trash' ) ) { if ( approved ) { approvedDiff = -1; } else if ( unapproved ) { pendingDiff = -1; // The comment was in the spam queue. } else if ( spammed ) { spamDiff = -1; } // You can't trash an item on the Trash screen. trashDiff = 1; // User clicked "Restore". } else if ( targetParent.is( 'span.untrash' ) ) { if ( approved ) { pendingDiff = 1; } else if ( unapproved ) { approvedDiff = 1; } else if ( trashed ) { if ( targetParent.hasClass( 'approve' ) ) { approvedDiff = 1; } else if ( targetParent.hasClass( 'unapprove' ) ) { pendingDiff = 1; } } // You can't go from Trash to Spam. // You can untrash on the Trash screen. trashDiff = -1; // User clicked "Approve". } else if ( targetParent.is( 'span.approve:not(.unspam):not(.untrash)' ) ) { approvedDiff = 1; pendingDiff = -1; // User clicked "Unapprove". } else if ( targetParent.is( 'span.unapprove:not(.unspam):not(.untrash)' ) ) { approvedDiff = -1; pendingDiff = 1; // User clicked "Delete Permanently". } else if ( targetParent.is( 'span.delete' ) ) { if ( spammed ) { spamDiff = -1; } else if ( trashed ) { trashDiff = -1; } } if ( pendingDiff ) { updatePending( pendingDiff, commentPostId ); updateCountText( 'span.all-count', pendingDiff ); } if ( approvedDiff ) { updateApproved( approvedDiff, commentPostId ); updateCountText( 'span.all-count', approvedDiff ); } if ( spamDiff ) { updateCountText( 'span.spam-count', spamDiff ); } if ( trashDiff ) { updateCountText( 'span.trash-count', trashDiff ); } if ( ( ( 'trash' === settings.data.comment_status ) && !getCount( $( 'span.trash-count' ) ) ) || ( ( 'spam' === settings.data.comment_status ) && !getCount( $( 'span.spam-count' ) ) ) ) { $( '#delete_all' ).hide(); } if ( ! isDashboard ) { total = totalInput.val() ? parseInt( totalInput.val(), 10 ) : 0; if ( $(settings.target).parent().is('span.undo') ) total++; else total--; if ( total < 0 ) total = 0; if ( 'object' === typeof r ) { if ( response.supplemental.total_items_i18n && lastConfidentTime < response.supplemental.time ) { total_items_i18n = response.supplemental.total_items_i18n || ''; if ( total_items_i18n ) { $('.displaying-num').text( total_items_i18n.replace( ' ', String.fromCharCode( 160 ) ) ); $('.total-pages').text( response.supplemental.total_pages_i18n.replace( ' ', String.fromCharCode( 160 ) ) ); $('.tablenav-pages').find('.next-page, .last-page').toggleClass('disabled', response.supplemental.total_pages == $('.current-page').val()); } updateTotalCount( total, response.supplemental.time, true ); } else if ( response.supplemental.time ) { updateTotalCount( total, response.supplemental.time, false ); } } else { updateTotalCount( total, r, false ); } } if ( ! theExtraList || theExtraList.length === 0 || theExtraList.children().length === 0 || undoing ) { return; } theList.get(0).wpList.add( theExtraList.children( ':eq(0):not(.no-items)' ).remove().clone() ); refillTheExtraList(); animated = $( ':animated', '#the-comment-list' ); animatedCallback = function() { if ( ! $( '#the-comment-list tr:visible' ).length ) { theList.get(0).wpList.add( theExtraList.find( '.no-items' ).clone() ); } }; if ( animated.length ) { animated.promise().done( animatedCallback ); } else { animatedCallback(); } }; /** * Retrieves additional comments to populate the extra list. * * @since 3.1.0 * @access private * * @param {boolean} [ev] Repopulate the extra comments list if true. * * @return {void} */ refillTheExtraList = function(ev) { var args = $.query.get(), total_pages = $('.total-pages').text(), per_page = $('input[name="_per_page"]', '#comments-form').val(); if (! args.paged) args.paged = 1; if (args.paged > total_pages) { return; } if (ev) { theExtraList.empty(); args.number = Math.min(8, per_page); // See WP_Comments_List_Table::prepare_items() in class-wp-comments-list-table.php. } else { args.number = 1; args.offset = Math.min(8, per_page) - 1; // Fetch only the next item on the extra list. } args.no_placeholder = true; args.paged ++; // $.query.get() needs some correction to be sent into an Ajax request. if ( true === args.comment_type ) args.comment_type = ''; args = $.extend(args, { 'action': 'fetch-list', 'list_args': list_args, '_ajax_fetch_list_nonce': $('#_ajax_fetch_list_nonce').val() }); $.ajax({ url: ajaxurl, global: false, dataType: 'json', data: args, success: function(response) { theExtraList.get(0).wpList.add( response.rows ); } }); }; /** * Globally available jQuery object referring to the extra comments list. * * @global */ window.theExtraList = $('#the-extra-comment-list').wpList( { alt: '', delColor: 'none', addColor: 'none' } ); /** * Globally available jQuery object referring to the comments list. * * @global */ window.theList = $('#the-comment-list').wpList( { alt: '', delBefore: delBefore, dimAfter: dimAfter, delAfter: delAfter, addColor: 'none' } ) .on('wpListDelEnd', function(e, s){ var wpListsData = $(s.target).attr('data-wp-lists'), id = s.element.replace(/[^0-9]+/g, ''); if ( wpListsData.indexOf(':trash=1') != -1 || wpListsData.indexOf(':spam=1') != -1 ) $('#undo-' + id).fadeIn(300, function(){ $(this).show(); }); }); }; /** * Object containing functionality regarding the comment quick editor and reply * editor. * * @since 2.7.0 * * @global */ window.commentReply = { cid : '', act : '', originalContent : '', /** * Initializes the comment reply functionality. * * @since 2.7.0 * * @memberof commentReply */ init : function() { var row = $('#replyrow'); $( '.cancel', row ).on( 'click', function() { return commentReply.revert(); } ); $( '.save', row ).on( 'click', function() { return commentReply.send(); } ); $( 'input#author-name, input#author-email, input#author-url', row ).on( 'keypress', function( e ) { if ( e.which == 13 ) { commentReply.send(); e.preventDefault(); return false; } }); // Add events. $('#the-comment-list .column-comment > p').on( 'dblclick', function(){ commentReply.toggle($(this).parent()); }); $('#doaction, #post-query-submit').on( 'click', function(){ if ( $('#the-comment-list #replyrow').length > 0 ) commentReply.close(); }); this.comments_listing = $('#comments-form > input[name="comment_status"]').val() || ''; }, /** * Adds doubleclick event handler to the given comment list row. * * The double-click event will toggle the comment edit or reply form. * * @since 2.7.0 * * @memberof commentReply * * @param {Object} r The row to add double click handlers to. * * @return {void} */ addEvents : function(r) { r.each(function() { $(this).find('.column-comment > p').on( 'dblclick', function(){ commentReply.toggle($(this).parent()); }); }); }, /** * Opens the quick edit for the given element. * * @since 2.7.0 * * @memberof commentReply * * @param {HTMLElement} el The element you want to open the quick editor for. * * @return {void} */ toggle : function(el) { if ( 'none' !== $( el ).css( 'display' ) && ( $( '#replyrow' ).parent().is('#com-reply') || window.confirm( __( 'Are you sure you want to edit this comment?\nThe changes you made will be lost.' ) ) ) ) { $( el ).find( 'button.vim-q' ).trigger( 'click' ); } }, /** * Closes the comment quick edit or reply form and undoes any changes. * * @since 2.7.0 * * @memberof commentReply * * @return {void} */ revert : function() { if ( $('#the-comment-list #replyrow').length < 1 ) return false; $('#replyrow').fadeOut('fast', function(){ commentReply.close(); }); }, /** * Closes the comment quick edit or reply form and undoes any changes. * * @since 2.7.0 * * @memberof commentReply * * @return {void} */ close : function() { var commentRow = $(), replyRow = $( '#replyrow' ); // Return if the replyrow is not showing. if ( replyRow.parent().is( '#com-reply' ) ) { return; } if ( this.cid ) { commentRow = $( '#comment-' + this.cid ); } /* * When closing the Quick Edit form, show the comment row and move focus * back to the Quick Edit button. */ if ( 'edit-comment' === this.act ) { commentRow.fadeIn( 300, function() { commentRow .show() .find( '.vim-q' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); } ).css( 'backgroundColor', '' ); } // When closing the Reply form, move focus back to the Reply button. if ( 'replyto-comment' === this.act ) { commentRow.find( '.vim-r' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); } // Reset the Quicktags buttons. if ( typeof QTags != 'undefined' ) QTags.closeAllTags('replycontent'); $('#add-new-comment').css('display', ''); replyRow.hide(); $( '#com-reply' ).append( replyRow ); $('#replycontent').css('height', '').val(''); $('#edithead input').val(''); $( '.notice-error', replyRow ) .addClass( 'hidden' ) .find( '.error' ).empty(); $( '.spinner', replyRow ).removeClass( 'is-active' ); this.cid = ''; this.originalContent = ''; }, /** * Opens the comment quick edit or reply form. * * @since 2.7.0 * * @memberof commentReply * * @param {number} comment_id The comment ID to open an editor for. * @param {number} post_id The post ID to open an editor for. * @param {string} action The action to perform. Either 'edit' or 'replyto'. * * @return {boolean} Always false. */ open : function(comment_id, post_id, action) { var editRow, rowData, act, replyButton, editHeight, t = this, c = $('#comment-' + comment_id), h = c.height(), colspanVal = 0; if ( ! this.discardCommentChanges() ) { return false; } t.close(); t.cid = comment_id; editRow = $('#replyrow'); rowData = $('#inline-'+comment_id); action = action || 'replyto'; act = 'edit' == action ? 'edit' : 'replyto'; act = t.act = act + '-comment'; t.originalContent = $('textarea.comment', rowData).val(); colspanVal = $( '> th:visible, > td:visible', c ).length; // Make sure it's actually a table and there's a `colspan` value to apply. if ( editRow.hasClass( 'inline-edit-row' ) && 0 !== colspanVal ) { $( 'td', editRow ).attr( 'colspan', colspanVal ); } $('#action', editRow).val(act); $('#comment_post_ID', editRow).val(post_id); $('#comment_ID', editRow).val(comment_id); if ( action == 'edit' ) { $( '#author-name', editRow ).val( $( 'div.author', rowData ).text() ); $('#author-email', editRow).val( $('div.author-email', rowData).text() ); $('#author-url', editRow).val( $('div.author-url', rowData).text() ); $('#status', editRow).val( $('div.comment_status', rowData).text() ); $('#replycontent', editRow).val( $('textarea.comment', rowData).val() ); $( '#edithead, #editlegend, #savebtn', editRow ).show(); $('#replyhead, #replybtn, #addhead, #addbtn', editRow).hide(); if ( h > 120 ) { // Limit the maximum height when editing very long comments to make it more manageable. // The textarea is resizable in most browsers, so the user can adjust it if needed. editHeight = h > 500 ? 500 : h; $('#replycontent', editRow).css('height', editHeight + 'px'); } c.after( editRow ).fadeOut('fast', function(){ $('#replyrow').fadeIn(300, function(){ $(this).show(); }); }); } else if ( action == 'add' ) { $('#addhead, #addbtn', editRow).show(); $( '#replyhead, #replybtn, #edithead, #editlegend, #savebtn', editRow ) .hide(); $('#the-comment-list').prepend(editRow); $('#replyrow').fadeIn(300); } else { replyButton = $('#replybtn', editRow); $( '#edithead, #editlegend, #savebtn, #addhead, #addbtn', editRow ).hide(); $('#replyhead, #replybtn', editRow).show(); c.after(editRow); if ( c.hasClass('unapproved') ) { replyButton.text( __( 'Approve and Reply' ) ); } else { replyButton.text( __( 'Reply' ) ); } $('#replyrow').fadeIn(300, function(){ $(this).show(); }); } setTimeout(function() { var rtop, rbottom, scrollTop, vp, scrollBottom, isComposing = false, isContextMenuOpen = false; rtop = $('#replyrow').offset().top; rbottom = rtop + $('#replyrow').height(); scrollTop = window.pageYOffset || document.documentElement.scrollTop; vp = document.documentElement.clientHeight || window.innerHeight || 0; scrollBottom = scrollTop + vp; if ( scrollBottom - 20 < rbottom ) window.scroll(0, rbottom - vp + 35); else if ( rtop - 20 < scrollTop ) window.scroll(0, rtop - 35); $( '#replycontent' ) .trigger( 'focus' ) .on( 'contextmenu keydown', function ( e ) { // Check if the context menu is open and set state. if ( e.type === 'contextmenu' ) { isContextMenuOpen = true; } // Update the context menu state if the Escape key is pressed. if ( e.type === 'keydown' && e.which === 27 && isContextMenuOpen ) { isContextMenuOpen = false; } } ) .on( 'keyup', function( e ) { // Close on Escape unless Input Method Editors (IMEs) are in use or the context menu is open. if ( e.which === 27 && ! isComposing && ! isContextMenuOpen ) { commentReply.revert(); } } ) .on( 'compositionstart', function() { isComposing = true; } ); }, 600); return false; }, /** * Submits the comment quick edit or reply form. * * @since 2.7.0 * * @memberof commentReply * * @return {void} */ send : function() { var post = {}, $errorNotice = $( '#replysubmit .error-notice' ); $errorNotice.addClass( 'hidden' ); $( '#replysubmit .spinner' ).addClass( 'is-active' ); $('#replyrow input').not(':button').each(function() { var t = $(this); post[ t.attr('name') ] = t.val(); }); post.content = $('#replycontent').val(); post.id = post.comment_post_ID; post.comments_listing = this.comments_listing; post.p = $('[name="p"]').val(); if ( $('#comment-' + $('#comment_ID').val()).hasClass('unapproved') ) post.approve_parent = 1; $.ajax({ type : 'POST', url : ajaxurl, data : post, success : function(x) { commentReply.show(x); }, error : function(r) { commentReply.error(r); } }); }, /** * Shows the new or updated comment or reply. * * This function needs to be passed the ajax result as received from the server. * It will handle the response and show the comment that has just been saved to * the server. * * @since 2.7.0 * * @memberof commentReply * * @param {Object} xml Ajax response object. * * @return {void} */ show : function(xml) { var t = this, r, c, id, bg, pid; if ( typeof(xml) == 'string' ) { t.error({'responseText': xml}); return false; } r = wpAjax.parseAjaxResponse(xml); if ( r.errors ) { t.error({'responseText': wpAjax.broken}); return false; } t.revert(); r = r.responses[0]; id = '#comment-' + r.id; if ( 'edit-comment' == t.act ) $(id).remove(); if ( r.supplemental.parent_approved ) { pid = $('#comment-' + r.supplemental.parent_approved); updatePending( -1, r.supplemental.parent_post_id ); if ( this.comments_listing == 'moderated' ) { pid.animate( { 'backgroundColor':'#CCEEBB' }, 400, function(){ pid.fadeOut(); }); return; } } if ( r.supplemental.i18n_comments_text ) { updateDashboardText( r.supplemental ); updateInModerationText( r.supplemental ); updateApproved( 1, r.supplemental.parent_post_id ); updateCountText( 'span.all-count', 1 ); } r.data = r.data || ''; c = r.data.toString().trim(); // Trim leading whitespaces. $(c).hide(); $('#replyrow').after(c); id = $(id); t.addEvents(id); bg = id.hasClass('unapproved') ? '#FFFFE0' : id.closest('.widefat, .postbox').css('backgroundColor'); id.animate( { 'backgroundColor':'#CCEEBB' }, 300 ) .animate( { 'backgroundColor': bg }, 300, function() { if ( pid && pid.length ) { pid.animate( { 'backgroundColor':'#CCEEBB' }, 300 ) .animate( { 'backgroundColor': bg }, 300 ) .removeClass('unapproved').addClass('approved') .find('div.comment_status').html('1'); } }); }, /** * Shows an error for the failed comment update or reply. * * @since 2.7.0 * * @memberof commentReply * * @param {string} r The Ajax response. * * @return {void} */ error : function(r) { var er = r.statusText, $errorNotice = $( '#replysubmit .notice-error' ), $error = $errorNotice.find( '.error' ); $( '#replysubmit .spinner' ).removeClass( 'is-active' ); if ( r.responseText ) er = r.responseText.replace( /<.[^<>]*?>/g, '' ); if ( er ) { $errorNotice.removeClass( 'hidden' ); $error.html( er ); wp.a11y.speak( er ); } }, /** * Opens the add comments form in the comments metabox on the post edit page. * * @since 3.4.0 * * @memberof commentReply * * @param {number} post_id The post ID. * * @return {void} */ addcomment: function(post_id) { var t = this; $('#add-new-comment').fadeOut(200, function(){ t.open(0, post_id, 'add'); $('table.comments-box').css('display', ''); $('#no-comments').remove(); }); }, /** * Alert the user if they have unsaved changes on a comment that will be lost if * they proceed with the intended action. * * @since 4.6.0 * * @memberof commentReply * * @return {boolean} Whether it is safe the continue with the intended action. */ discardCommentChanges: function() { var editRow = $( '#replyrow' ); if ( '' === $( '#replycontent', editRow ).val() || this.originalContent === $( '#replycontent', editRow ).val() ) { return true; } return window.confirm( __( 'Are you sure you want to do this?\nThe comment changes you made will be lost.' ) ); } }; $( function(){ var make_hotkeys_redirect, edit_comment, toggle_all, make_bulk; setCommentsList(); commentReply.init(); $(document).on( 'click', 'span.delete a.delete', function( e ) { e.preventDefault(); }); if ( typeof $.table_hotkeys != 'undefined' ) { /** * Creates a function that navigates to a previous or next page. * * @since 2.7.0 * @access private * * @param {string} which What page to navigate to: either next or prev. * * @return {Function} The function that executes the navigation. */ make_hotkeys_redirect = function(which) { return function() { var first_last, l; first_last = 'next' == which? 'first' : 'last'; l = $('.tablenav-pages .'+which+'-page:not(.disabled)'); if (l.length) window.location = l[0].href.replace(/\&hotkeys_highlight_(first|last)=1/g, '')+'&hotkeys_highlight_'+first_last+'=1'; }; }; /** * Navigates to the edit page for the selected comment. * * @since 2.7.0 * @access private * * @param {Object} event The event that triggered this action. * @param {Object} current_row A jQuery object of the selected row. * * @return {void} */ edit_comment = function(event, current_row) { window.location = $('span.edit a', current_row).attr('href'); }; /** * Toggles all comments on the screen, for bulk actions. * * @since 2.7.0 * @access private * * @return {void} */ toggle_all = function() { $('#cb-select-all-1').data( 'wp-toggle', 1 ).trigger( 'click' ).removeData( 'wp-toggle' ); }; /** * Creates a bulk action function that is executed on all selected comments. * * @since 2.7.0 * @access private * * @param {string} value The name of the action to execute. * * @return {Function} The function that executes the bulk action. */ make_bulk = function(value) { return function() { var scope = $('select[name="action"]'); $('option[value="' + value + '"]', scope).prop('selected', true); $('#doaction').trigger( 'click' ); }; }; $.table_hotkeys( $('table.widefat'), [ 'a', 'u', 's', 'd', 'r', 'q', 'z', ['e', edit_comment], ['shift+x', toggle_all], ['shift+a', make_bulk('approve')], ['shift+s', make_bulk('spam')], ['shift+d', make_bulk('delete')], ['shift+t', make_bulk('trash')], ['shift+z', make_bulk('untrash')], ['shift+u', make_bulk('unapprove')] ], { highlight_first: adminCommentsSettings.hotkeys_highlight_first, highlight_last: adminCommentsSettings.hotkeys_highlight_last, prev_page_link_cb: make_hotkeys_redirect('prev'), next_page_link_cb: make_hotkeys_redirect('next'), hotkeys_opts: { disableInInput: true, type: 'keypress', noDisable: '.check-column input[type="checkbox"]' }, cycle_expr: '#the-comment-list tr', start_row_index: 0 } ); } // Quick Edit and Reply have an inline comment editor. $( '#the-comment-list' ).on( 'click', '.comment-inline', function() { var $el = $( this ), action = 'replyto'; if ( 'undefined' !== typeof $el.data( 'action' ) ) { action = $el.data( 'action' ); } $( this ).attr( 'aria-expanded', 'true' ); commentReply.open( $el.data( 'commentId' ), $el.data( 'postId' ), action ); } ); }); })(jQuery); user-suggest.min.js 0000644 00000001244 15174671433 0010335 0 ustar 00 /*! This file is auto-generated */ !function(a){var n="undefined"!=typeof current_site_id?"&site_id="+current_site_id:"";a(function(){var i={offset:"0, -1"};"undefined"!=typeof isRtl&&isRtl&&(i.my="right top",i.at="right bottom"),a(".wp-suggest-user").each(function(){var e=a(this),t=void 0!==e.data("autocompleteType")?e.data("autocompleteType"):"add",o=void 0!==e.data("autocompleteField")?e.data("autocompleteField"):"user_login";e.autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type="+t+"&autocomplete_field="+o+n,delay:500,minLength:2,position:i,open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open")}})})})}(jQuery); site-health.js 0000644 00000032231 15174671433 0007325 0 ustar 00 /** * Interactions used by the Site Health modules in WordPress. * * @output wp-admin/js/site-health.js */ /* global ajaxurl, ClipboardJS, SiteHealth, wp */ jQuery( function( $ ) { var __ = wp.i18n.__, _n = wp.i18n._n, sprintf = wp.i18n.sprintf, clipboard = new ClipboardJS( '.site-health-copy-buttons .copy-button' ), isStatusTab = $( '.health-check-body.health-check-status-tab' ).length, isDebugTab = $( '.health-check-body.health-check-debug-tab' ).length, pathsSizesSection = $( '#health-check-accordion-block-wp-paths-sizes' ), menuCounterWrapper = $( '#adminmenu .site-health-counter' ), menuCounter = $( '#adminmenu .site-health-counter .count' ), successTimeout; // Debug information copy section. clipboard.on( 'success', function( e ) { var triggerElement = $( e.trigger ), successElement = $( '.success', triggerElement.closest( 'div' ) ); // Clear the selection and move focus back to the trigger. e.clearSelection(); // Show success visual feedback. clearTimeout( successTimeout ); successElement.removeClass( 'hidden' ); // Hide success visual feedback after 3 seconds since last success. successTimeout = setTimeout( function() { successElement.addClass( 'hidden' ); }, 3000 ); // Handle success audible feedback. wp.a11y.speak( __( 'Site information has been copied to your clipboard.' ) ); } ); // Accordion handling in various areas. $( '.health-check-accordion' ).on( 'click', '.health-check-accordion-trigger', function() { var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) ); if ( isExpanded ) { $( this ).attr( 'aria-expanded', 'false' ); $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', true ); } else { $( this ).attr( 'aria-expanded', 'true' ); $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false ); } } ); // Site Health test handling. $( '.site-health-view-passed' ).on( 'click', function() { var goodIssuesWrapper = $( '#health-check-issues-good' ); goodIssuesWrapper.toggleClass( 'hidden' ); $( this ).attr( 'aria-expanded', ! goodIssuesWrapper.hasClass( 'hidden' ) ); } ); /** * Validates the Site Health test result format. * * @since 5.6.0 * * @param {Object} issue * * @return {boolean} */ function validateIssueData( issue ) { // Expected minimum format of a valid SiteHealth test response. var minimumExpected = { test: 'string', label: 'string', description: 'string' }, passed = true, key, value, subKey, subValue; // If the issue passed is not an object, return a `false` state early. if ( 'object' !== typeof( issue ) ) { return false; } // Loop over expected data and match the data types. for ( key in minimumExpected ) { value = minimumExpected[ key ]; if ( 'object' === typeof( value ) ) { for ( subKey in value ) { subValue = value[ subKey ]; if ( 'undefined' === typeof( issue[ key ] ) || 'undefined' === typeof( issue[ key ][ subKey ] ) || subValue !== typeof( issue[ key ][ subKey ] ) ) { passed = false; } } } else { if ( 'undefined' === typeof( issue[ key ] ) || value !== typeof( issue[ key ] ) ) { passed = false; } } } return passed; } /** * Appends a new issue to the issue list. * * @since 5.2.0 * * @param {Object} issue The issue data. */ function appendIssue( issue ) { var template = wp.template( 'health-check-issue' ), issueWrapper = $( '#health-check-issues-' + issue.status ), heading, count; /* * Validate the issue data format before using it. * If the output is invalid, discard it. */ if ( ! validateIssueData( issue ) ) { return false; } SiteHealth.site_status.issues[ issue.status ]++; count = SiteHealth.site_status.issues[ issue.status ]; // If no test name is supplied, append a placeholder for markup references. if ( typeof issue.test === 'undefined' ) { issue.test = issue.status + count; } if ( 'critical' === issue.status ) { heading = sprintf( _n( '%s critical issue', '%s critical issues', count ), '<span class="issue-count">' + count + '</span>' ); } else if ( 'recommended' === issue.status ) { heading = sprintf( _n( '%s recommended improvement', '%s recommended improvements', count ), '<span class="issue-count">' + count + '</span>' ); } else if ( 'good' === issue.status ) { heading = sprintf( _n( '%s item with no issues detected', '%s items with no issues detected', count ), '<span class="issue-count">' + count + '</span>' ); } if ( heading ) { $( '.site-health-issue-count-title', issueWrapper ).html( heading ); } menuCounter.text( SiteHealth.site_status.issues.critical ); if ( 0 < parseInt( SiteHealth.site_status.issues.critical, 0 ) ) { $( '#health-check-issues-critical' ).removeClass( 'hidden' ); menuCounterWrapper.removeClass( 'count-0' ); } else { menuCounterWrapper.addClass( 'count-0' ); } if ( 0 < parseInt( SiteHealth.site_status.issues.recommended, 0 ) ) { $( '#health-check-issues-recommended' ).removeClass( 'hidden' ); } $( '.issues', '#health-check-issues-' + issue.status ).append( template( issue ) ); } /** * Updates site health status indicator as asynchronous tests are run and returned. * * @since 5.2.0 */ function recalculateProgression() { var r, c, pct; var $progress = $( '.site-health-progress' ); var $wrapper = $progress.closest( '.site-health-progress-wrapper' ); var $progressLabel = $( '.site-health-progress-label', $wrapper ); var $circle = $( '.site-health-progress svg #bar' ); var totalTests = parseInt( SiteHealth.site_status.issues.good, 0 ) + parseInt( SiteHealth.site_status.issues.recommended, 0 ) + ( parseInt( SiteHealth.site_status.issues.critical, 0 ) * 1.5 ); var failedTests = ( parseInt( SiteHealth.site_status.issues.recommended, 0 ) * 0.5 ) + ( parseInt( SiteHealth.site_status.issues.critical, 0 ) * 1.5 ); var val = 100 - Math.ceil( ( failedTests / totalTests ) * 100 ); if ( 0 === totalTests ) { $progress.addClass( 'hidden' ); return; } $wrapper.removeClass( 'loading' ); r = $circle.attr( 'r' ); c = Math.PI * ( r * 2 ); if ( 0 > val ) { val = 0; } if ( 100 < val ) { val = 100; } pct = ( ( 100 - val ) / 100 ) * c + 'px'; $circle.css( { strokeDashoffset: pct } ); if ( 80 <= val && 0 === parseInt( SiteHealth.site_status.issues.critical, 0 ) ) { $wrapper.addClass( 'green' ).removeClass( 'orange' ); $progressLabel.text( __( 'Good' ) ); announceTestsProgression( 'good' ); } else { $wrapper.addClass( 'orange' ).removeClass( 'green' ); $progressLabel.text( __( 'Should be improved' ) ); announceTestsProgression( 'improvable' ); } if ( isStatusTab ) { $.post( ajaxurl, { 'action': 'health-check-site-status-result', '_wpnonce': SiteHealth.nonce.site_status_result, 'counts': SiteHealth.site_status.issues } ); if ( 100 === val ) { $( '.site-status-all-clear' ).removeClass( 'hide' ); $( '.site-status-has-issues' ).addClass( 'hide' ); } } } /** * Queues the next asynchronous test when we're ready to run it. * * @since 5.2.0 */ function maybeRunNextAsyncTest() { var doCalculation = true; if ( 1 <= SiteHealth.site_status.async.length ) { $.each( SiteHealth.site_status.async, function() { var data = { 'action': 'health-check-' + this.test.replace( '_', '-' ), '_wpnonce': SiteHealth.nonce.site_status }; if ( this.completed ) { return true; } doCalculation = false; this.completed = true; if ( 'undefined' !== typeof( this.has_rest ) && this.has_rest ) { wp.apiRequest( { url: wp.url.addQueryArgs( this.test, { _locale: 'user' } ), headers: this.headers } ) .done( function( response ) { /** This filter is documented in wp-admin/includes/class-wp-site-health.php */ appendIssue( wp.hooks.applyFilters( 'site_status_test_result', response ) ); } ) .fail( function( response ) { var description; if ( 'undefined' !== typeof( response.responseJSON ) && 'undefined' !== typeof( response.responseJSON.message ) ) { description = response.responseJSON.message; } else { description = __( 'No details available' ); } addFailedSiteHealthCheckNotice( this.url, description ); } ) .always( function() { maybeRunNextAsyncTest(); } ); } else { $.post( ajaxurl, data ).done( function( response ) { /** This filter is documented in wp-admin/includes/class-wp-site-health.php */ appendIssue( wp.hooks.applyFilters( 'site_status_test_result', response.data ) ); } ).fail( function( response ) { var description; if ( 'undefined' !== typeof( response.responseJSON ) && 'undefined' !== typeof( response.responseJSON.message ) ) { description = response.responseJSON.message; } else { description = __( 'No details available' ); } addFailedSiteHealthCheckNotice( this.url, description ); } ).always( function() { maybeRunNextAsyncTest(); } ); } return false; } ); } if ( doCalculation ) { recalculateProgression(); } } /** * Add the details of a failed asynchronous test to the list of test results. * * @since 5.6.0 */ function addFailedSiteHealthCheckNotice( url, description ) { var issue; issue = { 'status': 'recommended', 'label': __( 'A test is unavailable' ), 'badge': { 'color': 'red', 'label': __( 'Unavailable' ) }, 'description': '<p>' + url + '</p><p>' + description + '</p>', 'actions': '' }; /** This filter is documented in wp-admin/includes/class-wp-site-health.php */ appendIssue( wp.hooks.applyFilters( 'site_status_test_result', issue ) ); } if ( 'undefined' !== typeof SiteHealth ) { if ( 0 === SiteHealth.site_status.direct.length && 0 === SiteHealth.site_status.async.length ) { recalculateProgression(); } else { SiteHealth.site_status.issues = { 'good': 0, 'recommended': 0, 'critical': 0 }; } if ( 0 < SiteHealth.site_status.direct.length ) { $.each( SiteHealth.site_status.direct, function() { appendIssue( this ); } ); } if ( 0 < SiteHealth.site_status.async.length ) { maybeRunNextAsyncTest(); } else { recalculateProgression(); } } function getDirectorySizes() { var timestamp = ( new Date().getTime() ); // After 3 seconds announce that we're still waiting for directory sizes. var timeout = window.setTimeout( function() { announceTestsProgression( 'waiting-for-directory-sizes' ); }, 3000 ); wp.apiRequest( { path: '/wp-site-health/v1/directory-sizes' } ).done( function( response ) { updateDirSizes( response || {} ); } ).always( function() { var delay = ( new Date().getTime() ) - timestamp; $( '.health-check-wp-paths-sizes.spinner' ).css( 'visibility', 'hidden' ); if ( delay > 3000 ) { /* * We have announced that we're waiting. * Announce that we're ready after giving at least 3 seconds * for the first announcement to be read out, or the two may collide. */ if ( delay > 6000 ) { delay = 0; } else { delay = 6500 - delay; } window.setTimeout( function() { recalculateProgression(); }, delay ); } else { // Cancel the announcement. window.clearTimeout( timeout ); } $( document ).trigger( 'site-health-info-dirsizes-done' ); } ); } function updateDirSizes( data ) { var copyButton = $( 'button.button.copy-button' ); var clipboardText = copyButton.attr( 'data-clipboard-text' ); $.each( data, function( name, value ) { var text = value.debug || value.size; if ( typeof text !== 'undefined' ) { clipboardText = clipboardText.replace( name + ': loading...', name + ': ' + text ); } } ); copyButton.attr( 'data-clipboard-text', clipboardText ); pathsSizesSection.find( 'td[class]' ).each( function( i, element ) { var td = $( element ); var name = td.attr( 'class' ); if ( data.hasOwnProperty( name ) && data[ name ].size ) { td.text( data[ name ].size ); } } ); } if ( isDebugTab ) { if ( pathsSizesSection.length ) { getDirectorySizes(); } else { recalculateProgression(); } } // Trigger a class toggle when the extended menu button is clicked. $( '.health-check-offscreen-nav-wrapper' ).on( 'click', function() { $( this ).toggleClass( 'visible' ); } ); /** * Announces to assistive technologies the tests progression status. * * @since 6.4.0 * * @param {string} type The type of message to be announced. * * @return {void} */ function announceTestsProgression( type ) { // Only announce the messages in the Site Health pages. if ( 'site-health' !== SiteHealth.screen ) { return; } switch ( type ) { case 'good': wp.a11y.speak( __( 'All site health tests have finished running. Your site is looking good.' ) ); break; case 'improvable': wp.a11y.speak( __( 'All site health tests have finished running. There are items that should be addressed.' ) ); break; case 'waiting-for-directory-sizes': wp.a11y.speak( __( 'Running additional tests... please wait.' ) ); break; default: return; } } } ); dashboard.min.js 0000644 00000021236 15174671433 0007632 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},window.communityEventsData=window.communityEventsData||{},jQuery(function(s){var t,n=s("#welcome-panel"),e=s("#wp_welcome_panel-hide");t=function(e){s.post(ajaxurl,{action:"update-welcome-panel",visible:e,welcomepanelnonce:s("#welcomepanelnonce").val()},function(){wp.a11y.speak(wp.i18n.__("Screen Options updated."))})},n.hasClass("hidden")&&e.prop("checked")&&n.removeClass("hidden"),s(".welcome-panel-close, .welcome-panel-dismiss a",n).on("click",function(e){e.preventDefault(),n.addClass("hidden"),t(0),s("#wp_welcome_panel-hide").prop("checked",!1)}),e.on("click",function(){n.toggleClass("hidden",!this.checked),t(this.checked?1:0)}),window.ajaxWidgets=["dashboard_primary"],window.ajaxPopulateWidgets=function(e){function t(e,t){var n,o=s("#"+t+" div.inside:visible").find(".widget-loading");o.length&&(n=o.parent(),setTimeout(function(){n.load(ajaxurl+"?action=dashboard-widgets&widget="+t+"&pagenow="+pagenow,"",function(){n.hide().slideDown("normal",function(){s(this).css("display","")})})},500*e))}e?(e=e.toString(),-1!==s.inArray(e,ajaxWidgets)&&t(0,e)):s.each(ajaxWidgets,t)},ajaxPopulateWidgets(),postboxes.add_postbox_toggles(pagenow,{pbshow:ajaxPopulateWidgets}),window.quickPressLoad=function(){var t,n,o,i,a,e=s("#quickpost-action");s('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop("disabled",!1),t=s("#quick-press").on("submit",function(e){e.preventDefault(),s("#dashboard_quick_press #publishing-action .spinner").show(),s('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop("disabled",!0),s.post(t.attr("action"),t.serializeArray(),function(e){var t;s("#dashboard_quick_press .inside").html(e),s("#quick-press").removeClass("initial-form"),quickPressLoad(),(t=s(".drafts ul li").first()).css("background","#fffbe5"),setTimeout(function(){t.css("background","none")},1e3),s("#title").trigger("focus")})}),s("#publish").on("click",function(){e.val("post-quickpress-publish")}),s("#quick-press").on("click focusin",function(){wpActiveEditor="content"}),document.documentMode&&document.documentMode<9||(s("body").append('<div class="quick-draft-textarea-clone" style="display: none;"></div>'),n=s(".quick-draft-textarea-clone"),o=s("#content"),i=o.height(),a=s(window).height()-100,n.css({"font-family":o.css("font-family"),"font-size":o.css("font-size"),"line-height":o.css("line-height"),"padding-bottom":o.css("paddingBottom"),"padding-left":o.css("paddingLeft"),"padding-right":o.css("paddingRight"),"padding-top":o.css("paddingTop"),"white-space":"pre-wrap","word-wrap":"break-word",display:"none"}),o.on("focus input propertychange",function(){var e=s(this),t=e.val()+" ",t=n.css("width",e.css("width")).text(t).outerHeight()+2;o.css("overflow-y","auto"),t===i||a<=t&&a<=i||(i=a<t?a:t,o.css("overflow","hidden"),e.css("height",i+"px"))}))},window.quickPressLoad(),s(".meta-box-sortables").sortable("option","containment","#wpwrap")}),jQuery(function(c){"use strict";var r=window.communityEventsData,s=wp.date.dateI18n,m=wp.date.format,d=wp.i18n.sprintf,u=wp.i18n.__,l=wp.i18n._x,p=window.wp.communityEvents={initialized:!1,model:null,init:function(){var e;p.initialized||(e=c("#community-events"),c(".community-events-errors").attr("aria-hidden","true").removeClass("hide-if-js"),e.on("click",".community-events-toggle-location, .community-events-cancel",p.toggleLocationForm),e.on("submit",".community-events-form",function(e){var t=c("#community-events-location").val().trim();e.preventDefault(),t&&p.getEvents({location:t})}),r&&r.cache&&r.cache.location&&r.cache.events?p.renderEventsTemplate(r.cache,"app"):p.getEvents(),p.initialized=!0)},toggleLocationForm:function(e){var t=c(".community-events-toggle-location"),n=c(".community-events-cancel"),o=c(".community-events-form"),i=c();"object"==typeof e&&(i=c(e.target),e="true"==t.attr("aria-expanded")?"hide":"show"),"hide"===e?(t.attr("aria-expanded","false"),n.attr("aria-expanded","false"),o.attr("aria-hidden","true"),i.hasClass("community-events-cancel")&&t.trigger("focus")):(t.attr("aria-expanded","true"),n.attr("aria-expanded","true"),o.attr("aria-hidden","false"))},getEvents:function(t){var n,o=this,e=c(".community-events-form").children(".spinner");(t=t||{})._wpnonce=r.nonce,t.timezone=window.Intl?window.Intl.DateTimeFormat().resolvedOptions().timeZone:"",n=t.location?"user":"app",e.addClass("is-active"),wp.ajax.post("get-community-events",t).always(function(){e.removeClass("is-active")}).done(function(e){"no_location_available"===e.error&&(t.location?e.unknownCity=t.location:delete e.error),o.renderEventsTemplate(e,n)}).fail(function(){o.renderEventsTemplate({location:!1,events:[],error:!0},n)})},renderEventsTemplate:function(e,t){var n,o,i=c(".community-events-toggle-location"),a=c("#community-events-location-message"),s=c(".community-events-results");e.events=p.populateDynamicEventFields(e.events,r.time_format),o={".community-events":!0,".community-events-loading":!1,".community-events-errors":!1,".community-events-error-occurred":!1,".community-events-could-not-locate":!1,"#community-events-location-message":!1,".community-events-toggle-location":!1,".community-events-results":!1},e.location.ip?(a.text(u("Attend an upcoming event near you.")),n=e.events.length?wp.template("community-events-event-list"):wp.template("community-events-no-upcoming-events"),s.html(n(e)),o["#community-events-location-message"]=!0,o[".community-events-toggle-location"]=!0,o[".community-events-results"]=!0):e.location.description?(n=wp.template("community-events-attend-event-near"),a.html(n(e)),n=e.events.length?wp.template("community-events-event-list"):wp.template("community-events-no-upcoming-events"),s.html(n(e)),"user"===t&&wp.a11y.speak(d(u("City updated. Listing events near %s."),e.location.description),"assertive"),o["#community-events-location-message"]=!0,o[".community-events-toggle-location"]=!0,o[".community-events-results"]=!0):e.unknownCity?(n=wp.template("community-events-could-not-locate"),c(".community-events-could-not-locate").html(n(e)),wp.a11y.speak(d(u("We couldn\u2019t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland."),e.unknownCity)),o[".community-events-errors"]=!0,o[".community-events-could-not-locate"]=!0):e.error&&"user"===t?(wp.a11y.speak(u("An error occurred. Please try again.")),o[".community-events-errors"]=!0,o[".community-events-error-occurred"]=!0):(a.text(u("Enter your closest city to find nearby events.")),o["#community-events-location-message"]=!0,o[".community-events-toggle-location"]=!0),_.each(o,function(e,t){c(t).attr("aria-hidden",!e)}),i.attr("aria-expanded",o[".community-events-toggle-location"]),e.location&&(e.location.ip||e.location.latitude)?(p.toggleLocationForm("hide"),"user"===t&&i.trigger("focus")):p.toggleLocationForm("show")},populateDynamicEventFields:function(e,o){e=JSON.parse(JSON.stringify(e));return c.each(e,function(e,t){var n=p.getTimeZone(1e3*t.start_unix_timestamp);t.user_formatted_date=p.getFormattedDate(1e3*t.start_unix_timestamp,1e3*t.end_unix_timestamp,n),t.user_formatted_time=s(o,1e3*t.start_unix_timestamp,n),t.timeZoneAbbreviation=p.getTimeZoneAbbreviation(1e3*t.start_unix_timestamp)}),e},getTimeZone:function(e){var t=Intl.DateTimeFormat().resolvedOptions().timeZone;return t=void 0===t?p.getFlippedTimeZoneOffset(e):t},getFlippedTimeZoneOffset:function(e){return-1*new Date(e).getTimezoneOffset()},getTimeZoneAbbreviation:function(e){var t,n=new Date(e).toLocaleTimeString(void 0,{timeZoneName:"short"}).split(" ");return void 0===(t=3===n.length?n[2]:t)&&(n=p.getFlippedTimeZoneOffset(e),e=-1===Math.sign(n)?"":"+",t=l("GMT","Events widget offset prefix")+e+n/60),t},getFormattedDate:function(e,t,n){var o=u("l, M j, Y"),i=u("%1$s %2$d\u2013%3$d, %4$d"),a=u("%1$s %2$d \u2013 %3$s %4$d, %5$d"),i=t&&m("Y-m-d",e)!==m("Y-m-d",t)?m("Y-m",e)===m("Y-m",t)?d(i,s(l("F","upcoming events month format"),e,n),s(l("j","upcoming events day format"),e,n),s(l("j","upcoming events day format"),t,n),s(l("Y","upcoming events year format"),t,n)):d(a,s(l("F","upcoming events month format"),e,n),s(l("j","upcoming events day format"),e,n),s(l("F","upcoming events month format"),t,n),s(l("j","upcoming events day format"),t,n),s(l("Y","upcoming events year format"),t,n)):s(o,e,n);return i}};c("#dashboard_primary").is(":visible")?p.init():c(document).on("postbox-toggled",function(e,t){t=c(t);"dashboard_primary"===t.attr("id")&&t.is(":visible")&&p.init()})}),window.communityEventsData.l10n=window.communityEventsData.l10n||{enter_closest_city:"",error_occurred_please_try_again:"",attend_event_near_generic:"",could_not_locate_city:"",city_updated:""},window.communityEventsData.l10n=window.wp.deprecateL10nObject("communityEventsData.l10n",window.communityEventsData.l10n,"5.6.0"); custom-background.min.js 0000644 00000002266 15174671433 0011334 0 ustar 00 /*! This file is auto-generated */ !function(e){e(function(){var c,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,o){a.css("background-color",o.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').on("change",function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').on("change",function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').on("change",function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').on("change",function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").on("click",function(n){var o=e(this);n.preventDefault(),c||(c=wp.media.frames.customBackground=wp.media({title:o.data("choose"),library:{type:"image"},button:{text:o.data("update"),close:!1}})).on("select",function(){var n=c.state().get("selection").first(),o=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:o,size:"full"}).done(function(){window.location.reload()})}),c.open()})})}(jQuery); dashboard.js 0000644 00000066022 15174671433 0007052 0 ustar 00 /** * @output wp-admin/js/dashboard.js */ /* global pagenow, ajaxurl, postboxes, wpActiveEditor:true, ajaxWidgets */ /* global ajaxPopulateWidgets, quickPressLoad, */ window.wp = window.wp || {}; window.communityEventsData = window.communityEventsData || {}; /** * Initializes the dashboard widget functionality. * * @since 2.7.0 */ jQuery( function($) { var welcomePanel = $( '#welcome-panel' ), welcomePanelHide = $('#wp_welcome_panel-hide'), updateWelcomePanel; /** * Saves the visibility of the welcome panel. * * @since 3.3.0 * * @param {boolean} visible Should it be visible or not. * * @return {void} */ updateWelcomePanel = function( visible ) { $.post( ajaxurl, { action: 'update-welcome-panel', visible: visible, welcomepanelnonce: $( '#welcomepanelnonce' ).val() }, function() { wp.a11y.speak( wp.i18n.__( 'Screen Options updated.' ) ); } ); }; // Unhide the welcome panel if the Welcome Option checkbox is checked. if ( welcomePanel.hasClass('hidden') && welcomePanelHide.prop('checked') ) { welcomePanel.removeClass('hidden'); } // Hide the welcome panel when the dismiss button or close button is clicked. $('.welcome-panel-close, .welcome-panel-dismiss a', welcomePanel).on( 'click', function(e) { e.preventDefault(); welcomePanel.addClass('hidden'); updateWelcomePanel( 0 ); $('#wp_welcome_panel-hide').prop('checked', false); }); // Set welcome panel visibility based on Welcome Option checkbox value. welcomePanelHide.on( 'click', function() { welcomePanel.toggleClass('hidden', ! this.checked ); updateWelcomePanel( this.checked ? 1 : 0 ); }); /** * These widgets can be populated via ajax. * * @since 2.7.0 * * @type {string[]} * * @global */ window.ajaxWidgets = ['dashboard_primary']; /** * Triggers widget updates via Ajax. * * @since 2.7.0 * * @global * * @param {string} el Optional. Widget to fetch or none to update all. * * @return {void} */ window.ajaxPopulateWidgets = function(el) { /** * Fetch the latest representation of the widget via Ajax and show it. * * @param {number} i Number of half-seconds to use as the timeout. * @param {string} id ID of the element which is going to be checked for changes. * * @return {void} */ function show(i, id) { var p, e = $('#' + id + ' div.inside:visible').find('.widget-loading'); // If the element is found in the dom, queue to load latest representation. if ( e.length ) { p = e.parent(); setTimeout( function(){ // Request the widget content. p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id + '&pagenow=' + pagenow, '', function() { // Hide the parent and slide it out for visual fanciness. p.hide().slideDown('normal', function(){ $(this).css('display', ''); }); }); }, i * 500 ); } } // If we have received a specific element to fetch, check if it is valid. if ( el ) { el = el.toString(); // If the element is available as Ajax widget, show it. if ( $.inArray(el, ajaxWidgets) !== -1 ) { // Show element without any delay. show(0, el); } } else { // Walk through all ajaxWidgets, loading them after each other. $.each( ajaxWidgets, show ); } }; // Initially populate ajax widgets. ajaxPopulateWidgets(); // Register ajax widgets as postbox toggles. postboxes.add_postbox_toggles(pagenow, { pbshow: ajaxPopulateWidgets } ); /** * Control the Quick Press (Quick Draft) widget. * * @since 2.7.0 * * @global * * @return {void} */ window.quickPressLoad = function() { var act = $('#quickpost-action'), t; // Enable the submit buttons. $( '#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]' ).prop( 'disabled' , false ); t = $('#quick-press').on( 'submit', function( e ) { e.preventDefault(); // Show a spinner. $('#dashboard_quick_press #publishing-action .spinner').show(); // Disable the submit button to prevent duplicate submissions. $('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop('disabled', true); // Post the entered data to save it. $.post( t.attr( 'action' ), t.serializeArray(), function( data ) { // Replace the form, and prepend the published post. $('#dashboard_quick_press .inside').html( data ); $('#quick-press').removeClass('initial-form'); quickPressLoad(); highlightLatestPost(); // Focus the title to allow for quickly drafting another post. $('#title').trigger( 'focus' ); }); /** * Highlights the latest post for one second. * * @return {void} */ function highlightLatestPost () { var latestPost = $('.drafts ul li').first(); latestPost.css('background', '#fffbe5'); setTimeout(function () { latestPost.css('background', 'none'); }, 1000); } } ); // Change the QuickPost action to the publish value. $('#publish').on( 'click', function() { act.val( 'post-quickpress-publish' ); } ); $('#quick-press').on( 'click focusin', function() { wpActiveEditor = 'content'; }); autoResizeTextarea(); }; window.quickPressLoad(); // Enable the dragging functionality of the widgets. $( '.meta-box-sortables' ).sortable( 'option', 'containment', '#wpwrap' ); /** * Adjust the height of the textarea based on the content. * * @since 3.6.0 * * @return {void} */ function autoResizeTextarea() { // When IE8 or older is used to render this document, exit. if ( document.documentMode && document.documentMode < 9 ) { return; } // Add a hidden div. We'll copy over the text from the textarea to measure its height. $('body').append( '<div class="quick-draft-textarea-clone" style="display: none;"></div>' ); var clone = $('.quick-draft-textarea-clone'), editor = $('#content'), editorHeight = editor.height(), /* * 100px roughly accounts for browser chrome and allows the * save draft button to show on-screen at the same time. */ editorMaxHeight = $(window).height() - 100; /* * Match up textarea and clone div as much as possible. * Padding cannot be reliably retrieved using shorthand in all browsers. */ clone.css({ 'font-family': editor.css('font-family'), 'font-size': editor.css('font-size'), 'line-height': editor.css('line-height'), 'padding-bottom': editor.css('paddingBottom'), 'padding-left': editor.css('paddingLeft'), 'padding-right': editor.css('paddingRight'), 'padding-top': editor.css('paddingTop'), 'white-space': 'pre-wrap', 'word-wrap': 'break-word', 'display': 'none' }); // The 'propertychange' is used in IE < 9. editor.on('focus input propertychange', function() { var $this = $(this), // Add a non-breaking space to ensure that the height of a trailing newline is // included. textareaContent = $this.val() + ' ', // Add 2px to compensate for border-top & border-bottom. cloneHeight = clone.css('width', $this.css('width')).text(textareaContent).outerHeight() + 2; // Default to show a vertical scrollbar, if needed. editor.css('overflow-y', 'auto'); // Only change the height if it has changed and both heights are below the max. if ( cloneHeight === editorHeight || ( cloneHeight >= editorMaxHeight && editorHeight >= editorMaxHeight ) ) { return; } /* * Don't allow editor to exceed the height of the window. * This is also bound in CSS to a max-height of 1300px to be extra safe. */ if ( cloneHeight > editorMaxHeight ) { editorHeight = editorMaxHeight; } else { editorHeight = cloneHeight; } // Disable scrollbars because we adjust the height to the content. editor.css('overflow', 'hidden'); $this.css('height', editorHeight + 'px'); }); } } ); jQuery( function( $ ) { 'use strict'; var communityEventsData = window.communityEventsData, dateI18n = wp.date.dateI18n, format = wp.date.format, sprintf = wp.i18n.sprintf, __ = wp.i18n.__, _x = wp.i18n._x, app; /** * Global Community Events namespace. * * @since 4.8.0 * * @memberOf wp * @namespace wp.communityEvents */ app = window.wp.communityEvents = /** @lends wp.communityEvents */{ initialized: false, model: null, /** * Initializes the wp.communityEvents object. * * @since 4.8.0 * * @return {void} */ init: function() { if ( app.initialized ) { return; } var $container = $( '#community-events' ); /* * When JavaScript is disabled, the errors container is shown, so * that "This widget requires JavaScript" message can be seen. * * When JS is enabled, the container is hidden at first, and then * revealed during the template rendering, if there actually are * errors to show. * * The display indicator switches from `hide-if-js` to `aria-hidden` * here in order to maintain consistency with all the other fields * that key off of `aria-hidden` to determine their visibility. * `aria-hidden` can't be used initially, because there would be no * way to set it to false when JavaScript is disabled, which would * prevent people from seeing the "This widget requires JavaScript" * message. */ $( '.community-events-errors' ) .attr( 'aria-hidden', 'true' ) .removeClass( 'hide-if-js' ); $container.on( 'click', '.community-events-toggle-location, .community-events-cancel', app.toggleLocationForm ); /** * Filters events based on entered location. * * @return {void} */ $container.on( 'submit', '.community-events-form', function( event ) { var location = $( '#community-events-location' ).val().trim(); event.preventDefault(); /* * Don't trigger a search if the search field is empty or the * search term was made of only spaces before being trimmed. */ if ( ! location ) { return; } app.getEvents({ location: location }); }); if ( communityEventsData && communityEventsData.cache && communityEventsData.cache.location && communityEventsData.cache.events ) { app.renderEventsTemplate( communityEventsData.cache, 'app' ); } else { app.getEvents(); } app.initialized = true; }, /** * Toggles the visibility of the Edit Location form. * * @since 4.8.0 * * @param {event|string} action 'show' or 'hide' to specify a state; * or an event object to flip between states. * * @return {void} */ toggleLocationForm: function( action ) { var $toggleButton = $( '.community-events-toggle-location' ), $cancelButton = $( '.community-events-cancel' ), $form = $( '.community-events-form' ), $target = $(); if ( 'object' === typeof action ) { // The action is the event object: get the clicked element. $target = $( action.target ); /* * Strict comparison doesn't work in this case because sometimes * we explicitly pass a string as value of aria-expanded and * sometimes a boolean as the result of an evaluation. */ action = 'true' == $toggleButton.attr( 'aria-expanded' ) ? 'hide' : 'show'; } if ( 'hide' === action ) { $toggleButton.attr( 'aria-expanded', 'false' ); $cancelButton.attr( 'aria-expanded', 'false' ); $form.attr( 'aria-hidden', 'true' ); /* * If the Cancel button has been clicked, bring the focus back * to the toggle button so users relying on screen readers don't * lose their place. */ if ( $target.hasClass( 'community-events-cancel' ) ) { $toggleButton.trigger( 'focus' ); } } else { $toggleButton.attr( 'aria-expanded', 'true' ); $cancelButton.attr( 'aria-expanded', 'true' ); $form.attr( 'aria-hidden', 'false' ); } }, /** * Sends REST API requests to fetch events for the widget. * * @since 4.8.0 * * @param {Object} requestParams REST API Request parameters object. * * @return {void} */ getEvents: function( requestParams ) { var initiatedBy, app = this, $spinner = $( '.community-events-form' ).children( '.spinner' ); requestParams = requestParams || {}; requestParams._wpnonce = communityEventsData.nonce; requestParams.timezone = window.Intl ? window.Intl.DateTimeFormat().resolvedOptions().timeZone : ''; initiatedBy = requestParams.location ? 'user' : 'app'; $spinner.addClass( 'is-active' ); wp.ajax.post( 'get-community-events', requestParams ) .always( function() { $spinner.removeClass( 'is-active' ); }) .done( function( response ) { if ( 'no_location_available' === response.error ) { if ( requestParams.location ) { response.unknownCity = requestParams.location; } else { /* * No location was passed, which means that this was an automatic query * based on IP, locale, and timezone. Since the user didn't initiate it, * it should fail silently. Otherwise, the error could confuse and/or * annoy them. */ delete response.error; } } app.renderEventsTemplate( response, initiatedBy ); }) .fail( function() { app.renderEventsTemplate({ 'location' : false, 'events' : [], 'error' : true }, initiatedBy ); }); }, /** * Renders the template for the Events section of the Events & News widget. * * @since 4.8.0 * * @param {Object} templateParams The various parameters that will get passed to wp.template. * @param {string} initiatedBy 'user' to indicate that this was triggered manually by the user; * 'app' to indicate it was triggered automatically by the app itself. * * @return {void} */ renderEventsTemplate: function( templateParams, initiatedBy ) { var template, elementVisibility, $toggleButton = $( '.community-events-toggle-location' ), $locationMessage = $( '#community-events-location-message' ), $results = $( '.community-events-results' ); templateParams.events = app.populateDynamicEventFields( templateParams.events, communityEventsData.time_format ); /* * Hide all toggleable elements by default, to keep the logic simple. * Otherwise, each block below would have to turn hide everything that * could have been shown at an earlier point. * * The exception to that is that the .community-events container is hidden * when the page is first loaded, because the content isn't ready yet, * but once we've reached this point, it should always be shown. */ elementVisibility = { '.community-events' : true, '.community-events-loading' : false, '.community-events-errors' : false, '.community-events-error-occurred' : false, '.community-events-could-not-locate' : false, '#community-events-location-message' : false, '.community-events-toggle-location' : false, '.community-events-results' : false }; /* * Determine which templates should be rendered and which elements * should be displayed. */ if ( templateParams.location.ip ) { /* * If the API determined the location by geolocating an IP, it will * provide events, but not a specific location. */ $locationMessage.text( __( 'Attend an upcoming event near you.' ) ); if ( templateParams.events.length ) { template = wp.template( 'community-events-event-list' ); $results.html( template( templateParams ) ); } else { template = wp.template( 'community-events-no-upcoming-events' ); $results.html( template( templateParams ) ); } elementVisibility['#community-events-location-message'] = true; elementVisibility['.community-events-toggle-location'] = true; elementVisibility['.community-events-results'] = true; } else if ( templateParams.location.description ) { template = wp.template( 'community-events-attend-event-near' ); $locationMessage.html( template( templateParams ) ); if ( templateParams.events.length ) { template = wp.template( 'community-events-event-list' ); $results.html( template( templateParams ) ); } else { template = wp.template( 'community-events-no-upcoming-events' ); $results.html( template( templateParams ) ); } if ( 'user' === initiatedBy ) { wp.a11y.speak( sprintf( /* translators: %s: The name of a city. */ __( 'City updated. Listing events near %s.' ), templateParams.location.description ), 'assertive' ); } elementVisibility['#community-events-location-message'] = true; elementVisibility['.community-events-toggle-location'] = true; elementVisibility['.community-events-results'] = true; } else if ( templateParams.unknownCity ) { template = wp.template( 'community-events-could-not-locate' ); $( '.community-events-could-not-locate' ).html( template( templateParams ) ); wp.a11y.speak( sprintf( /* * These specific examples were chosen to highlight the fact that a * state is not needed, even for cities whose name is not unique. * It would be too cumbersome to include that in the instructions * to the user, so it's left as an implication. */ /* * translators: %s is the name of the city we couldn't locate. * Replace the examples with cities related to your locale. Test that * they match the expected location and have upcoming events before * including them. If no cities related to your locale have events, * then use cities related to your locale that would be recognizable * to most users. Use only the city name itself, without any region * or country. Use the endonym (native locale name) instead of the * English name if possible. */ __( 'We couldn’t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ), templateParams.unknownCity ) ); elementVisibility['.community-events-errors'] = true; elementVisibility['.community-events-could-not-locate'] = true; } else if ( templateParams.error && 'user' === initiatedBy ) { /* * Errors messages are only shown for requests that were initiated * by the user, not for ones that were initiated by the app itself. * Showing error messages for an event that user isn't aware of * could be confusing or unnecessarily distracting. */ wp.a11y.speak( __( 'An error occurred. Please try again.' ) ); elementVisibility['.community-events-errors'] = true; elementVisibility['.community-events-error-occurred'] = true; } else { $locationMessage.text( __( 'Enter your closest city to find nearby events.' ) ); elementVisibility['#community-events-location-message'] = true; elementVisibility['.community-events-toggle-location'] = true; } // Set the visibility of toggleable elements. _.each( elementVisibility, function( isVisible, element ) { $( element ).attr( 'aria-hidden', ! isVisible ); }); $toggleButton.attr( 'aria-expanded', elementVisibility['.community-events-toggle-location'] ); if ( templateParams.location && ( templateParams.location.ip || templateParams.location.latitude ) ) { // Hide the form when there's a valid location. app.toggleLocationForm( 'hide' ); if ( 'user' === initiatedBy ) { /* * When the form is programmatically hidden after a user search, * bring the focus back to the toggle button so users relying * on screen readers don't lose their place. */ $toggleButton.trigger( 'focus' ); } } else { app.toggleLocationForm( 'show' ); } }, /** * Populate event fields that have to be calculated on the fly. * * These can't be stored in the database, because they're dependent on * the user's current time zone, locale, etc. * * @since 5.5.2 * * @param {Array} rawEvents The events that should have dynamic fields added to them. * @param {string} timeFormat A time format acceptable by `wp.date.dateI18n()`. * * @returns {Array} */ populateDynamicEventFields: function( rawEvents, timeFormat ) { // Clone the parameter to avoid mutating it, so that this can remain a pure function. var populatedEvents = JSON.parse( JSON.stringify( rawEvents ) ); $.each( populatedEvents, function( index, event ) { var timeZone = app.getTimeZone( event.start_unix_timestamp * 1000 ); event.user_formatted_date = app.getFormattedDate( event.start_unix_timestamp * 1000, event.end_unix_timestamp * 1000, timeZone ); event.user_formatted_time = dateI18n( timeFormat, event.start_unix_timestamp * 1000, timeZone ); event.timeZoneAbbreviation = app.getTimeZoneAbbreviation( event.start_unix_timestamp * 1000 ); } ); return populatedEvents; }, /** * Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`. * * @since 5.5.2 * * @param startTimestamp * * @returns {string|number} */ getTimeZone: function( startTimestamp ) { /* * Prefer a name like `Europe/Helsinki`, since that automatically tracks daylight savings. This * doesn't need to take `startTimestamp` into account for that reason. */ var timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; /* * Fall back to an offset for IE11, which declares the property but doesn't assign a value. */ if ( 'undefined' === typeof timeZone ) { /* * It's important to use the _event_ time, not the _current_ * time, so that daylight savings time is accounted for. */ timeZone = app.getFlippedTimeZoneOffset( startTimestamp ); } return timeZone; }, /** * Get intuitive time zone offset. * * `Data.prototype.getTimezoneOffset()` returns a positive value for time zones * that are _behind_ UTC, and a _negative_ value for ones that are ahead. * * See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off. * * @since 5.5.2 * * @param {number} startTimestamp * * @returns {number} */ getFlippedTimeZoneOffset: function( startTimestamp ) { return new Date( startTimestamp ).getTimezoneOffset() * -1; }, /** * Get a short time zone name, like `PST`. * * @since 5.5.2 * * @param {number} startTimestamp * * @returns {string} */ getTimeZoneAbbreviation: function( startTimestamp ) { var timeZoneAbbreviation, eventDateTime = new Date( startTimestamp ); /* * Leaving the `locales` argument undefined is important, so that the browser * displays the abbreviation that's most appropriate for the current locale. For * some that will be `UTC{+|-}{n}`, and for others it will be a code like `PST`. * * This doesn't need to take `startTimestamp` into account, because a name like * `America/Chicago` automatically tracks daylight savings. */ var shortTimeStringParts = eventDateTime.toLocaleTimeString( undefined, { timeZoneName : 'short' } ).split( ' ' ); if ( 3 === shortTimeStringParts.length ) { timeZoneAbbreviation = shortTimeStringParts[2]; } if ( 'undefined' === typeof timeZoneAbbreviation ) { /* * It's important to use the _event_ time, not the _current_ * time, so that daylight savings time is accounted for. */ var timeZoneOffset = app.getFlippedTimeZoneOffset( startTimestamp ), sign = -1 === Math.sign( timeZoneOffset ) ? '' : '+'; // translators: Used as part of a string like `GMT+5` in the Events Widget. timeZoneAbbreviation = _x( 'GMT', 'Events widget offset prefix' ) + sign + ( timeZoneOffset / 60 ); } return timeZoneAbbreviation; }, /** * Format a start/end date in the user's local time zone and locale. * * @since 5.5.2 * * @param {int} startDate The Unix timestamp in milliseconds when the the event starts. * @param {int} endDate The Unix timestamp in milliseconds when the the event ends. * @param {string} timeZone A time zone string or offset which is parsable by `wp.date.i18n()`. * * @returns {string} */ getFormattedDate: function( startDate, endDate, timeZone ) { var formattedDate; /* * The `date_format` option is not used because it's important * in this context to keep the day of the week in the displayed date, * so that users can tell at a glance if the event is on a day they * are available, without having to open the link. * * The case of crossing a year boundary is intentionally not handled. * It's so rare in practice that it's not worth the complexity * tradeoff. The _ending_ year should be passed to * `multiple_month_event`, though, just in case. */ /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */ var singleDayEvent = __( 'l, M j, Y' ), /* translators: Date string for upcoming events. 1: Month, 2: Starting day, 3: Ending day, 4: Year. */ multipleDayEvent = __( '%1$s %2$d–%3$d, %4$d' ), /* translators: Date string for upcoming events. 1: Starting month, 2: Starting day, 3: Ending month, 4: Ending day, 5: Ending year. */ multipleMonthEvent = __( '%1$s %2$d – %3$s %4$d, %5$d' ); // Detect single-day events. if ( ! endDate || format( 'Y-m-d', startDate ) === format( 'Y-m-d', endDate ) ) { formattedDate = dateI18n( singleDayEvent, startDate, timeZone ); // Multiple day events. } else if ( format( 'Y-m', startDate ) === format( 'Y-m', endDate ) ) { formattedDate = sprintf( multipleDayEvent, dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ), dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ), dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ), dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone ) ); // Multi-day events that cross a month boundary. } else { formattedDate = sprintf( multipleMonthEvent, dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ), dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ), dateI18n( _x( 'F', 'upcoming events month format' ), endDate, timeZone ), dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ), dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone ) ); } return formattedDate; } }; if ( $( '#dashboard_primary' ).is( ':visible' ) ) { app.init(); } else { $( document ).on( 'postbox-toggled', function( event, postbox ) { var $postbox = $( postbox ); if ( 'dashboard_primary' === $postbox.attr( 'id' ) && $postbox.is( ':visible' ) ) { app.init(); } }); } }); /** * Removed in 5.6.0, needed for back-compatibility. * * @since 4.8.0 * @deprecated 5.6.0 * * @type {object} */ window.communityEventsData.l10n = window.communityEventsData.l10n || { enter_closest_city: '', error_occurred_please_try_again: '', attend_event_near_generic: '', could_not_locate_city: '', city_updated: '' }; window.communityEventsData.l10n = window.wp.deprecateL10nObject( 'communityEventsData.l10n', window.communityEventsData.l10n, '5.6.0' ); theme-plugin-editor.min.js 0000644 00000026675 15174671433 0011601 0 ustar 00 /*! This file is auto-generated */ window.wp||(window.wp={}),wp.themePluginEditor=function(i){"use strict";var t,o=wp.i18n.__,s=wp.i18n._n,r=wp.i18n.sprintf,n={codeEditor:{},instance:null,noticeElements:{},dirty:!1,lintErrors:[],init:function(e,t){n.form=e,t&&i.extend(n,t),n.noticeTemplate=wp.template("wp-file-editor-notice"),n.noticesContainer=n.form.find(".editor-notices"),n.submitButton=n.form.find(":input[name=submit]"),n.spinner=n.form.find(".submit .spinner"),n.form.on("submit",n.submit),n.textarea=n.form.find("#newcontent"),n.textarea.on("change",n.onChange),n.warning=i(".file-editor-warning"),n.docsLookUpButton=n.form.find("#docs-lookup"),n.docsLookUpList=n.form.find("#docs-list"),0<n.warning.length&&n.showWarning(),!1!==n.codeEditor&&_.defer(function(){n.initCodeEditor()}),i(n.initFileBrowser),i(window).on("beforeunload",function(){if(n.dirty)return o("The changes you made will be lost if you navigate away from this page.")}),n.docsLookUpList.on("change",function(){""===i(this).val()?n.docsLookUpButton.prop("disabled",!0):n.docsLookUpButton.prop("disabled",!1)})},showWarning:function(){var e=n.warning.find(".file-editor-warning-message").text();i("#wpwrap").attr("aria-hidden","true"),i(document.body).addClass("modal-open").append(n.warning.detach()),n.warning.removeClass("hidden").find(".file-editor-warning-go-back").trigger("focus"),n.warningTabbables=n.warning.find("a, button"),n.warningTabbables.on("keydown",n.constrainTabbing),n.warning.on("click",".file-editor-warning-dismiss",n.dismissWarning),setTimeout(function(){wp.a11y.speak(wp.sanitize.stripTags(e.replace(/\s+/g," ")),"assertive")},1e3)},constrainTabbing:function(e){var t,i;9===e.which&&(t=n.warningTabbables.first()[0],(i=n.warningTabbables.last()[0])!==e.target||e.shiftKey?t===e.target&&e.shiftKey&&(i.focus(),e.preventDefault()):(t.focus(),e.preventDefault()))},dismissWarning:function(){wp.ajax.post("dismiss-wp-pointer",{pointer:n.themeOrPlugin+"_editor_notice"}),n.warning.remove(),i("#wpwrap").removeAttr("aria-hidden"),i("body").removeClass("modal-open")},onChange:function(){n.dirty=!0,n.removeNotice("file_saved")},submit:function(e){var t={};e.preventDefault(),i.each(n.form.serializeArray(),function(){t[this.name]=this.value}),n.instance&&(t.newcontent=n.instance.codemirror.getValue()),n.isSaving||(n.lintErrors.length?n.instance.codemirror.setCursor(n.lintErrors[0].from.line):(n.isSaving=!0,n.textarea.prop("readonly",!0),n.instance&&n.instance.codemirror.setOption("readOnly",!0),n.spinner.addClass("is-active"),e=wp.ajax.post("edit-theme-plugin-file",t),n.lastSaveNoticeCode&&n.removeNotice(n.lastSaveNoticeCode),e.done(function(e){n.lastSaveNoticeCode="file_saved",n.addNotice({code:n.lastSaveNoticeCode,type:"success",message:e.message,dismissible:!0}),n.dirty=!1}),e.fail(function(e){e=i.extend({code:"save_error",message:o("An error occurred while saving your changes. Please try again. If the problem persists, you may need to manually update the file via FTP.")},e,{type:"error",dismissible:!0});n.lastSaveNoticeCode=e.code,n.addNotice(e)}),e.always(function(){n.spinner.removeClass("is-active"),n.isSaving=!1,n.textarea.prop("readonly",!1),n.instance&&n.instance.codemirror.setOption("readOnly",!1)})))},addNotice:function(e){var t;if(e.code)return n.removeNotice(e.code),(t=i(n.noticeTemplate(e))).hide(),t.find(".notice-dismiss").on("click",function(){n.removeNotice(e.code),e.onDismiss&&e.onDismiss(e)}),wp.a11y.speak(e.message),n.noticesContainer.append(t),t.slideDown("fast"),n.noticeElements[e.code]=t;throw new Error("Missing code.")},removeNotice:function(e){return!!n.noticeElements[e]&&(n.noticeElements[e].slideUp("fast",function(){i(this).remove()}),delete n.noticeElements[e],!0)},initCodeEditor:function(){var e,t=i.extend({},n.codeEditor);t.onTabPrevious=function(){i("#templateside").find(":tabbable").last().trigger("focus")},t.onTabNext=function(){i("#template").find(":tabbable:not(.CodeMirror-code)").first().trigger("focus")},t.onChangeLintingErrors=function(e){0===(n.lintErrors=e).length&&n.submitButton.toggleClass("disabled",!1)},t.onUpdateErrorNotice=function(e){n.submitButton.toggleClass("disabled",0<e.length),0!==e.length?n.addNotice({code:"lint_errors",type:"error",message:r(s("There is %s error which must be fixed before you can update this file.","There are %s errors which must be fixed before you can update this file.",e.length),String(e.length)),dismissible:!1}).find("input[type=checkbox]").on("click",function(){t.onChangeLintingErrors([]),n.removeNotice("lint_errors")}):n.removeNotice("lint_errors")},(e=wp.codeEditor.initialize(i("#newcontent"),t)).codemirror.on("change",n.onChange),i(e.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-labelledby":"theme-plugin-editor-label","aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),i("#theme-plugin-editor-label").on("click",function(){e.codemirror.focus()}),n.instance=e},initFileBrowser:function(){var e=i("#templateside");e.find('[role="group"]').parent().attr("aria-expanded",!1),e.find(".notice").parents("[aria-expanded]").attr("aria-expanded",!0),e.find('[role="tree"]').each(function(){new t(this).init()}),e.find(".current-file:first").each(function(){this.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded():this.scrollIntoView(!1)})}},a=(e.prototype.init=function(){this.domNode.tabIndex=-1,this.domNode.getAttribute("role")||this.domNode.setAttribute("role","treeitem"),this.domNode.addEventListener("keydown",this.handleKeydown.bind(this)),this.domNode.addEventListener("click",this.handleClick.bind(this)),this.domNode.addEventListener("focus",this.handleFocus.bind(this)),this.domNode.addEventListener("blur",this.handleBlur.bind(this)),(this.isExpandable?(this.domNode.firstElementChild.addEventListener("mouseover",this.handleMouseOver.bind(this)),this.domNode.firstElementChild):(this.domNode.addEventListener("mouseover",this.handleMouseOver.bind(this)),this.domNode)).addEventListener("mouseout",this.handleMouseOut.bind(this))},e.prototype.isExpanded=function(){return!!this.isExpandable&&"true"===this.domNode.getAttribute("aria-expanded")},e.prototype.handleKeydown=function(e){e.currentTarget;var t=!1,i=e.key;function o(e){return 1===e.length&&e.match(/\S/)}function s(e){"*"==i?(e.tree.expandAllSiblingItems(e),t=!0):o(i)&&(e.tree.setFocusByFirstCharacter(e,i),t=!0)}if(this.stopDefaultClick=!1,!(e.altKey||e.ctrlKey||e.metaKey)){if(e.shift)e.keyCode==this.keyCode.SPACE||e.keyCode==this.keyCode.RETURN?(e.stopPropagation(),this.stopDefaultClick=!0):o(i)&&s(this);else switch(e.keyCode){case this.keyCode.SPACE:case this.keyCode.RETURN:this.isExpandable?(this.isExpanded()?this.tree.collapseTreeitem(this):this.tree.expandTreeitem(this),t=!0):(e.stopPropagation(),this.stopDefaultClick=!0);break;case this.keyCode.UP:this.tree.setFocusToPreviousItem(this),t=!0;break;case this.keyCode.DOWN:this.tree.setFocusToNextItem(this),t=!0;break;case this.keyCode.RIGHT:this.isExpandable&&(this.isExpanded()?this.tree.setFocusToNextItem(this):this.tree.expandTreeitem(this)),t=!0;break;case this.keyCode.LEFT:this.isExpandable&&this.isExpanded()?(this.tree.collapseTreeitem(this),t=!0):this.inGroup&&(this.tree.setFocusToParentItem(this),t=!0);break;case this.keyCode.HOME:this.tree.setFocusToFirstItem(),t=!0;break;case this.keyCode.END:this.tree.setFocusToLastItem(),t=!0;break;default:o(i)&&s(this)}t&&(e.stopPropagation(),e.preventDefault())}},e.prototype.handleClick=function(e){e.target!==this.domNode&&e.target!==this.domNode.firstElementChild||this.isExpandable&&(this.isExpanded()?this.tree.collapseTreeitem(this):this.tree.expandTreeitem(this),e.stopPropagation())},e.prototype.handleFocus=function(e){var t=this.domNode;(t=this.isExpandable?t.firstElementChild:t).classList.add("focus")},e.prototype.handleBlur=function(e){var t=this.domNode;(t=this.isExpandable?t.firstElementChild:t).classList.remove("focus")},e.prototype.handleMouseOver=function(e){e.currentTarget.classList.add("hover")},e.prototype.handleMouseOut=function(e){e.currentTarget.classList.remove("hover")},e);function e(e,t,i){if("object"==typeof e){e.tabIndex=-1,this.tree=t,this.groupTreeitem=i,this.domNode=e,this.label=e.textContent.trim(),this.stopDefaultClick=!1,e.getAttribute("aria-label")&&(this.label=e.getAttribute("aria-label").trim()),this.isExpandable=!1,this.isVisible=!1,this.inGroup=!1,i&&(this.inGroup=!0);for(var o=e.firstElementChild;o;){if("ul"==o.tagName.toLowerCase()){o.setAttribute("role","group"),this.isExpandable=!0;break}o=o.nextElementSibling}this.keyCode=Object.freeze({RETURN:13,SPACE:32,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40})}}function d(e){"object"==typeof e&&(this.domNode=e,this.treeitems=[],this.firstChars=[],this.firstTreeitem=null,this.lastTreeitem=null)}return d.prototype.init=function(){this.domNode.getAttribute("role")||this.domNode.setAttribute("role","tree"),function e(t,i,o){for(var s=t.firstElementChild,r=o;s;)("li"===s.tagName.toLowerCase()&&"span"===s.firstElementChild.tagName.toLowerCase()||"a"===s.tagName.toLowerCase())&&((r=new a(s,i,o)).init(),i.treeitems.push(r),i.firstChars.push(r.label.substring(0,1).toLowerCase())),s.firstElementChild&&e(s,i,r),s=s.nextElementSibling}(this.domNode,this,!1),this.updateVisibleTreeitems(),this.firstTreeitem.domNode.tabIndex=0},d.prototype.setFocusToItem=function(e){for(var t=0;t<this.treeitems.length;t++){var i=this.treeitems[t];i===e?(i.domNode.tabIndex=0,i.domNode.focus()):i.domNode.tabIndex=-1}},d.prototype.setFocusToNextItem=function(e){for(var t=!1,i=this.treeitems.length-1;0<=i;i--){var o=this.treeitems[i];if(o===e)break;o.isVisible&&(t=o)}t&&this.setFocusToItem(t)},d.prototype.setFocusToPreviousItem=function(e){for(var t=!1,i=0;i<this.treeitems.length;i++){var o=this.treeitems[i];if(o===e)break;o.isVisible&&(t=o)}t&&this.setFocusToItem(t)},d.prototype.setFocusToParentItem=function(e){e.groupTreeitem&&this.setFocusToItem(e.groupTreeitem)},d.prototype.setFocusToFirstItem=function(){this.setFocusToItem(this.firstTreeitem)},d.prototype.setFocusToLastItem=function(){this.setFocusToItem(this.lastTreeitem)},d.prototype.expandTreeitem=function(e){e.isExpandable&&(e.domNode.setAttribute("aria-expanded",!0),this.updateVisibleTreeitems())},d.prototype.expandAllSiblingItems=function(e){for(var t=0;t<this.treeitems.length;t++){var i=this.treeitems[t];i.groupTreeitem===e.groupTreeitem&&i.isExpandable&&this.expandTreeitem(i)}},d.prototype.collapseTreeitem=function(e){var t=!1;(t=e.isExpanded()?e:e.groupTreeitem)&&(t.domNode.setAttribute("aria-expanded",!1),this.updateVisibleTreeitems(),this.setFocusToItem(t))},d.prototype.updateVisibleTreeitems=function(){this.firstTreeitem=this.treeitems[0];for(var e=0;e<this.treeitems.length;e++){var t=this.treeitems[e],i=t.domNode.parentNode;for(t.isVisible=!0;i&&i!==this.domNode;)"false"==i.getAttribute("aria-expanded")&&(t.isVisible=!1),i=i.parentNode;t.isVisible&&(this.lastTreeitem=t)}},d.prototype.setFocusByFirstCharacter=function(e,t){t=t.toLowerCase(),(e=this.treeitems.indexOf(e)+1)===this.treeitems.length&&(e=0),-1<(e=-1===(e=this.getIndexFirstChars(e,t))?this.getIndexFirstChars(0,t):e)&&this.setFocusToItem(this.treeitems[e])},d.prototype.getIndexFirstChars=function(e,t){for(var i=e;i<this.firstChars.length;i++)if(this.treeitems[i].isVisible&&t===this.firstChars[i])return i;return-1},t=d,n}(jQuery),wp.themePluginEditor.l10n=wp.themePluginEditor.l10n||{saveAlert:"",saveError:"",lintError:{alternative:"wp.i18n",func:function(){return{singular:"",plural:""}}}},wp.themePluginEditor.l10n=window.wp.deprecateL10nObject("wp.themePluginEditor.l10n",wp.themePluginEditor.l10n,"5.5.0"); set-post-thumbnail.min.js 0000644 00000001154 15174671433 0011437 0 ustar 00 /*! This file is auto-generated */ window.WPSetAsThumbnail=function(n,t){var a=jQuery("a#wp-post-thumbnail-"+n);a.text(wp.i18n.__("Saving\u2026")),jQuery.post(ajaxurl,{action:"set-post-thumbnail",post_id:post_id,thumbnail_id:n,_ajax_nonce:t,cookie:encodeURIComponent(document.cookie)},function(t){var e=window.dialogArguments||opener||parent||top;a.text(wp.i18n.__("Use as featured image")),"0"==t?alert(wp.i18n.__("Could not set that as the thumbnail image. Try a different attachment.")):(jQuery("a.wp-post-thumbnail").show(),a.text(wp.i18n.__("Done")),a.fadeOut(2e3),e.WPSetThumbnailID(n),e.WPSetThumbnailHTML(t))})}; svg-painter.min.js 0000644 00000003037 15174671433 0010141 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},wp.svgPainter=function(a,i){"use strict";var n,t,s={},o=[];return a(function(){wp.svgPainter.init()}),{init:function(){t=this,n=a("#adminmenu .wp-menu-image, #wpadminbar .ab-item"),t.setColors(),t.findElements(),t.paint()},setColors:function(n){(n=void 0===n&&void 0!==i._wpColorScheme?i._wpColorScheme:n)&&n.icons&&n.icons.base&&n.icons.current&&n.icons.focus&&(s=n.icons)},findElements:function(){n.each(function(){var n=a(this),e=n.css("background-image");e&&-1!=e.indexOf("data:image/svg+xml;base64")&&o.push(n)})},paint:function(){a.each(o,function(n,e){var a=e.parent().parent();a.hasClass("current")||a.hasClass("wp-has-current-submenu")?t.paintElement(e,"current"):(t.paintElement(e,"base"),a.on("mouseenter",function(){t.paintElement(e,"focus")}).on("mouseleave",function(){i.setTimeout(function(){t.paintElement(e,"base")},100)}))})},paintElement:function(n,e){var a,t;if(e&&s.hasOwnProperty(e)&&(e=s[e]).match(/^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i)&&"none"!==(a=n.data("wp-ui-svg-"+e))){if(!a){if(!(t=n.css("background-image").match(/.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/))||!t[1])return void n.data("wp-ui-svg-"+e,"none");try{a=i.atob(t[1])}catch(n){}if(!a)return void n.data("wp-ui-svg-"+e,"none");a=(a=(a=a.replace(/fill="(.+?)"/g,'fill="'+e+'"')).replace(/style="(.+?)"/g,'style="fill:'+e+'"')).replace(/fill:.*?;/g,"fill: "+e+";"),a=i.btoa(a),n.data("wp-ui-svg-"+e,a)}n.attr("style",'background-image: url("data:image/svg+xml;base64,'+a+'") !important;')}}}}(jQuery,window,document); user-profile.min.js 0000644 00000017475 15174671433 0010331 0 ustar 00 /*! This file is auto-generated */ !function(r){var s,a,t,n,i,o,p,l,d,c,u,h,w,f=!1,v=!1,m=wp.i18n.__,e=new ClipboardJS(".application-password-display .copy-button"),g=!!window.navigator.platform&&-1!==window.navigator.platform.indexOf("Mac"),b=navigator.userAgent.toLowerCase(),y="undefined"!==window.safari&&"object"==typeof window.safari,k=-1!==b.indexOf("firefox");function _(){"function"!=typeof zxcvbn?setTimeout(_,50):(!a.val()||h.hasClass("is-open")?(a.val(a.data("pw")),a.trigger("pwupdate")):T(),H(),x(),1!==parseInt(o.data("start-masked"),10)?a.attr("type","text"):o.trigger("click"),r("#pw-weak-text-label").text(m("Confirm use of weak password")),"mailserver_pass"===a.prop("id")||r("#weblog_title").length||r(a).trigger("focus"))}function C(e){o.attr({"aria-label":m(e?"Show password":"Hide password")}).find(".text").text(m(e?"Show":"Hide")).end().find(".dashicons").removeClass(e?"dashicons-hidden":"dashicons-visibility").addClass(e?"dashicons-visibility":"dashicons-hidden")}function x(){o||((o=s.find(".wp-hide-pw")).show().on("click",function(){"password"===a.attr("type")?(a.attr("type","text"),C(!1)):(a.attr("type","password"),C(!0))}),s.closest("form").on("submit",function(){"text"===a.attr("type")&&(a.attr("type","password"),C(!0))}))}function L(e,s,a){var t=r("<div />",{role:"alert"});t.addClass("notice inline"),t.addClass("notice-"+(s?"success":"error")),t.text(r(r.parseHTML(a)).text()).wrapInner("<p />"),e.prop("disabled",s),e.siblings(".notice").remove(),e.before(t)}function S(){var e;s=r(".user-pass1-wrap, .user-pass-wrap, .mailserver-pass-wrap, .reset-pass-submit"),r(".user-pass2-wrap").hide(),l=r("#submit, #wp-submit").on("click",function(){f=!1}),p=l.add(" #createusersub"),n=r(".pw-weak"),(i=n.find(".pw-checkbox")).on("change",function(){p.prop("disabled",!i.prop("checked"))}),(a=r("#pass1, #mailserver_pass")).length?(d=a.val(),1===parseInt(a.data("reveal"),10)&&_(),a.on("input pwupdate",function(){a.val()!==d&&(d=a.val(),a.removeClass("short bad good strong"),H())}),j(a)):j(a=r("#user_pass")),t=r("#pass2").on("input",function(){0<t.val().length&&(a.val(t.val()),t.val(""),d="",a.trigger("pwupdate"))}),a.is(":hidden")&&(a.prop("disabled",!0),t.prop("disabled",!0)),h=s.find(".wp-pwd"),e=s.find("button.wp-generate-pw"),x(),e.show(),e.on("click",function(){f=!0,e.not(".skip-aria-expanded").attr("aria-expanded","true"),h.show().addClass("is-open"),a.attr("disabled",!1),t.attr("disabled",!1),_(),C(!1),wp.ajax.post("generate-password").done(function(e){a.data("pw",e)})}),s.find("button.wp-cancel-pw").on("click",function(){f=!1,a.prop("disabled",!0),t.prop("disabled",!0),a.val("").trigger("pwupdate"),C(!1),h.hide().removeClass("is-open"),p.prop("disabled",!1),e.attr("aria-expanded","false")}),s.closest("form").on("submit",function(){f=!1,a.prop("disabled",!1),t.prop("disabled",!1),t.val(a.val())})}function T(){var e=r("#pass1").val();if(r("#pass-strength-result").removeClass("short bad good strong empty"),e&&""!==e.trim())switch(wp.passwordStrength.meter(e,wp.passwordStrength.userInputDisallowedList(),e)){case-1:r("#pass-strength-result").addClass("bad").html(pwsL10n.unknown);break;case 2:r("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:r("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:r("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:r("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:r("#pass-strength-result").addClass("short").html(pwsL10n.short)}else r("#pass-strength-result").addClass("empty").html(" ")}function j(e){var a,s,t,n=!1;g&&(y||k)||(a=r('<div id="caps-warning" class="caps-warning"></div>'),s=r('<span class="caps-icon" aria-hidden="true"><svg viewBox="0 0 24 26" xmlns="http://www.w3.org/2000/svg" fill="#3c434a" stroke="#3c434a" stroke-width="0.5"><path d="M12 5L19 15H16V19H8V15H5L12 5Z"/><rect x="8" y="21" width="8" height="1.5" rx="0.75"/></svg></span>'),t=r("<span>",{class:"caps-warning-text",text:m("Caps lock is on.")}),a.append(s,t),e.parent("div").append(a),e.on("keydown",function(e){var s,e=e.originalEvent;e.ctrlKey||e.metaKey||e.altKey||!e.key||1!==e.key.length||(s=e.getModifierState("CapsLock"))!==n&&((n=s)?(a.show(),"CapsLock"!==e.key&&wp.a11y.speak(m("Caps lock is on."),"assertive")):a.hide())}),e.on("blur",function(){document.hasFocus()&&(n=!1,a.hide())}))}function H(){var e=r("#pass-strength-result");e.length&&(e=e[0]).className&&(a.addClass(e.className),r(e).is(".short, .bad")?(i.prop("checked")||p.prop("disabled",!0),n.show()):(r(e).is(".empty")?(p.prop("disabled",!0),i.prop("checked",!1)):p.prop("disabled",!1),n.hide()))}e.on("success",function(e){var s=r(e.trigger),a=r(".success",s.closest(".application-password-display"));e.clearSelection(),clearTimeout(w),a.removeClass("hidden"),w=setTimeout(function(){a.addClass("hidden")},3e3),wp.a11y.speak(m("Application password has been copied to your clipboard."))}),r(function(){var e,a,t,n,i=r("#display_name"),s=i.val(),o=r("#wp-admin-bar-my-account").find(".display-name");r("#pass1").val("").on("input pwupdate",T),r("#pass-strength-result").show(),r(".color-palette").on("click",function(){r(this).siblings('input[name="admin_color"]').prop("checked",!0)}),i.length&&(r("#first_name, #last_name, #nickname").on("blur.user_profile",function(){var a=[],t={display_nickname:r("#nickname").val()||"",display_username:r("#user_login").val()||"",display_firstname:r("#first_name").val()||"",display_lastname:r("#last_name").val()||""};t.display_firstname&&t.display_lastname&&(t.display_firstlast=t.display_firstname+" "+t.display_lastname,t.display_lastfirst=t.display_lastname+" "+t.display_firstname),r.each(r("option",i),function(e,s){a.push(s.value)}),r.each(t,function(e,s){s&&(s=s.replace(/<\/?[a-z][^>]*>/gi,""),t[e].length)&&-1===r.inArray(s,a)&&(a.push(s),r("<option />",{text:s}).appendTo(i))})}),i.on("change",function(){var e;t===n&&(e=this.value.trim()||s,o.text(e))})),e=r("#color-picker"),a=r("#colors-css"),t=r("input#user_id").val(),n=r('input[name="checkuser_id"]').val(),e.on("click.colorpicker",".color-option",function(){var e,s=r(this);if(!s.hasClass("selected")&&(s.siblings(".selected").removeClass("selected"),s.addClass("selected").find('input[type="radio"]').prop("checked",!0),t===n)){if((a=0===a.length?r('<link rel="stylesheet" />').appendTo("head"):a).attr("href",s.children(".css_url").val()),"undefined"!=typeof wp&&wp.svgPainter){try{e=JSON.parse(s.children(".icon_colors").val())}catch(e){}e&&(wp.svgPainter.setColors(e),wp.svgPainter.paint())}r.post(ajaxurl,{action:"save-user-color-scheme",color_scheme:s.children('input[name="admin_color"]').val(),nonce:r("#color-nonce").val()}).done(function(e){e.success&&r("body").removeClass(e.data.previousScheme).addClass(e.data.currentScheme)})}}),S(),r("#generate-reset-link").on("click",function(){var s=r(this),e={user_id:userProfileL10n.user_id,nonce:userProfileL10n.nonce},e=(s.parent().find(".notice-error").remove(),wp.ajax.post("send-password-reset",e));e.done(function(e){L(s,!0,e)}),e.fail(function(e){L(s,!1,e)})}),p.on("click",function(){v=!0}),c=r("#your-profile, #createuser"),u=c.serialize()}),r("#destroy-sessions").on("click",function(e){var s=r(this);wp.ajax.post("destroy-sessions",{nonce:r("#_wpnonce").val(),user_id:r("#user_id").val()}).done(function(e){s.prop("disabled",!0),s.siblings(".notice").remove(),s.before('<div class="notice notice-success inline" role="alert"><p>'+e.message+"</p></div>")}).fail(function(e){s.siblings(".notice").remove(),s.before('<div class="notice notice-error inline" role="alert"><p>'+e.message+"</p></div>")}),e.preventDefault()}),window.generatePassword=_,r(window).on("beforeunload",function(){return!0===f?m("Your new password has not been saved."):u===c.serialize()||v?void 0:m("The changes you made will be lost if you navigate away from this page.")}),r(function(){r(".reset-pass-submit").length&&r(".reset-pass-submit button.wp-generate-pw").trigger("click")})}(jQuery); edit-comments.min.js 0000644 00000036200 15174671433 0010450 0 ustar 00 /*! This file is auto-generated */ !function(w){var o,s,i=document.title,C=w("#dashboard_right_now").length,c=wp.i18n.__,x=function(t){t=parseInt(t.html().replace(/[^0-9]+/g,""),10);return isNaN(t)?0:t},r=function(t,e){var n="";if(!isNaN(e)){if(3<(e=e<1?"0":e.toString()).length){for(;3<e.length;)n=thousandsSeparator+e.substr(e.length-3)+n,e=e.substr(0,e.length-3);e+=n}t.html(e)}},b=function(n,t){var e=".post-com-count-"+t,a="comment-count-no-comments",o="comment-count-approved";k("span.approved-count",n),t&&(t=w("span."+o,e),e=w("span."+a,e),t.each(function(){var t=w(this),e=x(t)+n;0===(e=e<1?0:e)?t.removeClass(o).addClass(a):t.addClass(o).removeClass(a),r(t,e)}),e.each(function(){var t=w(this);0<n?t.removeClass(a).addClass(o):t.addClass(a).removeClass(o),r(t,n)}))},k=function(t,n){w(t).each(function(){var t=w(this),e=x(t)+n;r(t,e=e<1?0:e)})},E=function(t){C&&t&&t.i18n_comments_text&&w(".comment-count a","#dashboard_right_now").text(t.i18n_comments_text)},R=function(t){t&&t.i18n_moderation_text&&(w(".comments-in-moderation-text").text(t.i18n_moderation_text),C)&&t.in_moderation&&w(".comment-mod-count","#dashboard_right_now")[0<t.in_moderation?"removeClass":"addClass"]("hidden")},l=function(t){var e,n,a;s=s||new RegExp(c("Comments (%s)").replace("%s","\\([0-9"+thousandsSeparator+"]+\\)")+"?"),o=o||w("<div />"),e=i,1<=(a=(a=s.exec(document.title))?(a=a[0],o.html(a),x(o)+t):(o.html(0),t))?(r(o,a),(n=s.exec(document.title))&&(e=document.title.replace(n[0],c("Comments (%s)").replace("%s",o.text())+" "))):(n=s.exec(e))&&(e=e.replace(n[0],c("Comments"))),document.title=e},I=function(n,t){var e=".post-com-count-"+t,a="comment-count-no-pending",o="post-com-count-no-pending",s="comment-count-pending";C||l(n),w("span.pending-count").each(function(){var t=w(this),e=x(t)+n;e<1&&(e=0),t.closest(".awaiting-mod")[0===e?"addClass":"removeClass"]("count-0"),r(t,e)}),t&&(t=w("span."+s,e),e=w("span."+a,e),t.each(function(){var t=w(this),e=x(t)+n;0===(e=e<1?0:e)?(t.parent().addClass(o),t.removeClass(s).addClass(a)):(t.parent().removeClass(o),t.addClass(s).removeClass(a)),r(t,e)}),e.each(function(){var t=w(this);0<n?(t.parent().removeClass(o),t.removeClass(a).addClass(s)):(t.parent().addClass(o),t.addClass(a).removeClass(s)),r(t,n)}))};window.setCommentsList=function(){var i,v=0,g=w('input[name="_total"]',"#comments-form"),l=w('input[name="_per_page"]',"#comments-form"),p=w('input[name="_page"]',"#comments-form"),y=function(t,e,n){e<v||(n&&(v=e),g.val(t.toString()))},t=function(t,e){var n,a,o,s=w("#"+e.element);!0!==e.parsed&&(o=e.parsed.responses[0]),a=w("#replyrow"),n=w("#comment_ID",a).val(),a=w("#replybtn",a),s.is(".unapproved")?(e.data.id==n&&a.text(c("Approve and Reply")),s.find(".row-actions span.view").addClass("hidden").end().find("div.comment_status").html("0")):(e.data.id==n&&a.text(c("Reply")),s.find(".row-actions span.view").removeClass("hidden").end().find("div.comment_status").html("1")),i=w("#"+e.element).is("."+e.dimClass)?1:-1,o?(E(o.supplemental),R(o.supplemental),I(i,o.supplemental.postId),b(-1*i,o.supplemental.postId)):(I(i),b(-1*i))},e=function(t,e){var n,a,o,s,i=!1,r=w(t.target).attr("data-wp-lists");return t.data._total=g.val()||0,t.data._per_page=l.val()||0,t.data._page=p.val()||0,t.data._url=document.location.href,t.data.comment_status=w('input[name="comment_status"]',"#comments-form").val(),-1!=r.indexOf(":trash=1")?i="trash":-1!=r.indexOf(":spam=1")&&(i="spam"),i&&(n=r.replace(/.*?comment-([0-9]+).*/,"$1"),r=w("#comment-"+n),o=w("#"+i+"-undo-holder").html(),r.find(".check-column :checkbox").prop("checked",!1),r.siblings("#replyrow").length&&commentReply.cid==n&&commentReply.close(),a=r.is("tr")?(a=r.children(":visible").length,s=w(".author strong",r).text(),w('<tr id="undo-'+n+'" class="undo un'+i+'" style="display:none;"><td colspan="'+a+'">'+o+"</td></tr>")):(s=w(".comment-author",r).text(),w('<div id="undo-'+n+'" style="display:none;" class="undo un'+i+'">'+o+"</div>")),r.before(a),w("strong","#undo-"+n).text(s),(o=w(".undo a","#undo-"+n)).attr("href","comment.php?action=un"+i+"comment&c="+n+"&_wpnonce="+t.data._ajax_nonce),o.attr("data-wp-lists","delete:the-comment-list:comment-"+n+"::un"+i+"=1"),o.attr("class","vim-z vim-destructive aria-button-if-js"),w(".avatar",r).first().clone().prependTo("#undo-"+n+" ."+i+"-undo-inside"),o.on("click",function(t){t.preventDefault(),t.stopPropagation(),e.wpList.del(this),w("#undo-"+n).css({backgroundColor:"#ceb"}).fadeOut(350,function(){w(this).remove(),w("#comment-"+n).css("backgroundColor","").fadeIn(300,function(){w(this).show()})})})),t},n=function(t,e){var n,a,o,s,i=!0===e.parsed?{}:e.parsed.responses[0],r=!0===e.parsed?"":i.supplemental.status,l=!0===e.parsed?"":i.supplemental.postId,p=!0===e.parsed?"":i.supplemental,c=w(e.target).parent(),d=w("#"+e.element),m=d.hasClass("approved")&&!d.hasClass("unapproved"),u=d.hasClass("unapproved"),h=d.hasClass("spam"),d=d.hasClass("trash"),f=!1;E(p),R(p),c.is("span.undo")?(c.hasClass("unspam")?(n=-1,"trash"===r?a=1:"1"===r?s=1:"0"===r&&(o=1)):c.hasClass("untrash")&&(a=-1,"spam"===r?n=1:"1"===r?s=1:"0"===r&&(o=1)),f=!0):c.is("span.spam")?(m?s=-1:u?o=-1:d&&(a=-1),n=1):c.is("span.unspam")?(m?o=1:u?s=1:(d||h)&&(c.hasClass("approve")?s=1:c.hasClass("unapprove")&&(o=1)),n=-1):c.is("span.trash")?(m?s=-1:u?o=-1:h&&(n=-1),a=1):c.is("span.untrash")?(m?o=1:u?s=1:d&&(c.hasClass("approve")?s=1:c.hasClass("unapprove")&&(o=1)),a=-1):c.is("span.approve:not(.unspam):not(.untrash)")?o=-(s=1):c.is("span.unapprove:not(.unspam):not(.untrash)")?(s=-1,o=1):c.is("span.delete")&&(h?n=-1:d&&(a=-1)),o&&(I(o,l),k("span.all-count",o)),s&&(b(s,l),k("span.all-count",s)),n&&k("span.spam-count",n),a&&k("span.trash-count",a),("trash"===e.data.comment_status&&!x(w("span.trash-count"))||"spam"===e.data.comment_status&&!x(w("span.spam-count")))&&w("#delete_all").hide(),C||(p=g.val()?parseInt(g.val(),10):0,w(e.target).parent().is("span.undo")?p++:p--,p<0&&(p=0),"object"==typeof t?i.supplemental.total_items_i18n&&v<i.supplemental.time?((r=i.supplemental.total_items_i18n||"")&&(w(".displaying-num").text(r.replace(" ",String.fromCharCode(160))),w(".total-pages").text(i.supplemental.total_pages_i18n.replace(" ",String.fromCharCode(160))),w(".tablenav-pages").find(".next-page, .last-page").toggleClass("disabled",i.supplemental.total_pages==w(".current-page").val())),y(p,i.supplemental.time,!0)):i.supplemental.time&&y(p,i.supplemental.time,!1):y(p,t,!1)),theExtraList&&0!==theExtraList.length&&0!==theExtraList.children().length&&!f&&(theList.get(0).wpList.add(theExtraList.children(":eq(0):not(.no-items)").remove().clone()),_(),m=function(){w("#the-comment-list tr:visible").length||theList.get(0).wpList.add(theExtraList.find(".no-items").clone())},(u=w(":animated","#the-comment-list")).length?u.promise().done(m):m())},_=function(t){var e=w.query.get(),n=w(".total-pages").text(),a=w('input[name="_per_page"]',"#comments-form").val();e.paged||(e.paged=1),e.paged>n||(t?(theExtraList.empty(),e.number=Math.min(8,a)):(e.number=1,e.offset=Math.min(8,a)-1),e.no_placeholder=!0,e.paged++,!0===e.comment_type&&(e.comment_type=""),e=w.extend(e,{action:"fetch-list",list_args:list_args,_ajax_fetch_list_nonce:w("#_ajax_fetch_list_nonce").val()}),w.ajax({url:ajaxurl,global:!1,dataType:"json",data:e,success:function(t){theExtraList.get(0).wpList.add(t.rows)}}))};window.theExtraList=w("#the-extra-comment-list").wpList({alt:"",delColor:"none",addColor:"none"}),window.theList=w("#the-comment-list").wpList({alt:"",delBefore:e,dimAfter:t,delAfter:n,addColor:"none"}).on("wpListDelEnd",function(t,e){var n=w(e.target).attr("data-wp-lists"),e=e.element.replace(/[^0-9]+/g,"");-1==n.indexOf(":trash=1")&&-1==n.indexOf(":spam=1")||w("#undo-"+e).fadeIn(300,function(){w(this).show()})})},window.commentReply={cid:"",act:"",originalContent:"",init:function(){var t=w("#replyrow");w(".cancel",t).on("click",function(){return commentReply.revert()}),w(".save",t).on("click",function(){return commentReply.send()}),w("input#author-name, input#author-email, input#author-url",t).on("keypress",function(t){if(13==t.which)return commentReply.send(),t.preventDefault(),!1}),w("#the-comment-list .column-comment > p").on("dblclick",function(){commentReply.toggle(w(this).parent())}),w("#doaction, #post-query-submit").on("click",function(){0<w("#the-comment-list #replyrow").length&&commentReply.close()}),this.comments_listing=w('#comments-form > input[name="comment_status"]').val()||""},addEvents:function(t){t.each(function(){w(this).find(".column-comment > p").on("dblclick",function(){commentReply.toggle(w(this).parent())})})},toggle:function(t){"none"!==w(t).css("display")&&(w("#replyrow").parent().is("#com-reply")||window.confirm(c("Are you sure you want to edit this comment?\nThe changes you made will be lost.")))&&w(t).find("button.vim-q").trigger("click")},revert:function(){if(w("#the-comment-list #replyrow").length<1)return!1;w("#replyrow").fadeOut("fast",function(){commentReply.close()})},close:function(){var t=w(),e=w("#replyrow");e.parent().is("#com-reply")||(this.cid&&(t=w("#comment-"+this.cid)),"edit-comment"===this.act&&t.fadeIn(300,function(){t.show().find(".vim-q").attr("aria-expanded","false").trigger("focus")}).css("backgroundColor",""),"replyto-comment"===this.act&&t.find(".vim-r").attr("aria-expanded","false").trigger("focus"),"undefined"!=typeof QTags&&QTags.closeAllTags("replycontent"),w("#add-new-comment").css("display",""),e.hide(),w("#com-reply").append(e),w("#replycontent").css("height","").val(""),w("#edithead input").val(""),w(".notice-error",e).addClass("hidden").find(".error").empty(),w(".spinner",e).removeClass("is-active"),this.cid="",this.originalContent="")},open:function(t,e,n){var a,o,s,i,r=w("#comment-"+t),l=r.height();return this.discardCommentChanges()&&(this.close(),this.cid=t,a=w("#replyrow"),o=w("#inline-"+t),s=this.act=("edit"==(n=n||"replyto")?"edit":"replyto")+"-comment",this.originalContent=w("textarea.comment",o).val(),i=w("> th:visible, > td:visible",r).length,a.hasClass("inline-edit-row")&&0!==i&&w("td",a).attr("colspan",i),w("#action",a).val(s),w("#comment_post_ID",a).val(e),w("#comment_ID",a).val(t),"edit"==n?(w("#author-name",a).val(w("div.author",o).text()),w("#author-email",a).val(w("div.author-email",o).text()),w("#author-url",a).val(w("div.author-url",o).text()),w("#status",a).val(w("div.comment_status",o).text()),w("#replycontent",a).val(w("textarea.comment",o).val()),w("#edithead, #editlegend, #savebtn",a).show(),w("#replyhead, #replybtn, #addhead, #addbtn",a).hide(),120<l&&(i=500<l?500:l,w("#replycontent",a).css("height",i+"px")),r.after(a).fadeOut("fast",function(){w("#replyrow").fadeIn(300,function(){w(this).show()})})):"add"==n?(w("#addhead, #addbtn",a).show(),w("#replyhead, #replybtn, #edithead, #editlegend, #savebtn",a).hide(),w("#the-comment-list").prepend(a),w("#replyrow").fadeIn(300)):(s=w("#replybtn",a),w("#edithead, #editlegend, #savebtn, #addhead, #addbtn",a).hide(),w("#replyhead, #replybtn",a).show(),r.after(a),r.hasClass("unapproved")?s.text(c("Approve and Reply")):s.text(c("Reply")),w("#replyrow").fadeIn(300,function(){w(this).show()})),setTimeout(function(){var e=!1,n=!1,t=w("#replyrow").offset().top,a=t+w("#replyrow").height(),o=window.pageYOffset||document.documentElement.scrollTop,s=document.documentElement.clientHeight||window.innerHeight||0;o+s-20<a?window.scroll(0,a-s+35):t-20<o&&window.scroll(0,t-35),w("#replycontent").trigger("focus").on("contextmenu keydown",function(t){"contextmenu"===t.type&&(n=!0),"keydown"===t.type&&27===t.which&&(n=n&&!1)}).on("keyup",function(t){27!==t.which||e||n||commentReply.revert()}).on("compositionstart",function(){e=!0})},600)),!1},send:function(){var e={};w("#replysubmit .error-notice").addClass("hidden"),w("#replysubmit .spinner").addClass("is-active"),w("#replyrow input").not(":button").each(function(){var t=w(this);e[t.attr("name")]=t.val()}),e.content=w("#replycontent").val(),e.id=e.comment_post_ID,e.comments_listing=this.comments_listing,e.p=w('[name="p"]').val(),w("#comment-"+w("#comment_ID").val()).hasClass("unapproved")&&(e.approve_parent=1),w.ajax({type:"POST",url:ajaxurl,data:e,success:function(t){commentReply.show(t)},error:function(t){commentReply.error(t)}})},show:function(t){var e,n,a,o=this;return"string"==typeof t?(o.error({responseText:t}),!1):(t=wpAjax.parseAjaxResponse(t)).errors?(o.error({responseText:wpAjax.broken}),!1):(o.revert(),e="#comment-"+(t=t.responses[0]).id,"edit-comment"==o.act&&w(e).remove(),void(t.supplemental.parent_approved&&(a=w("#comment-"+t.supplemental.parent_approved),I(-1,t.supplemental.parent_post_id),"moderated"==this.comments_listing)?a.animate({backgroundColor:"#CCEEBB"},400,function(){a.fadeOut()}):(t.supplemental.i18n_comments_text&&(E(t.supplemental),R(t.supplemental),b(1,t.supplemental.parent_post_id),k("span.all-count",1)),t.data=t.data||"",t=t.data.toString().trim(),w(t).hide(),w("#replyrow").after(t),e=w(e),o.addEvents(e),n=e.hasClass("unapproved")?"#FFFFE0":e.closest(".widefat, .postbox").css("backgroundColor"),e.animate({backgroundColor:"#CCEEBB"},300).animate({backgroundColor:n},300,function(){a&&a.length&&a.animate({backgroundColor:"#CCEEBB"},300).animate({backgroundColor:n},300).removeClass("unapproved").addClass("approved").find("div.comment_status").html("1")}))))},error:function(t){var e=t.statusText,n=w("#replysubmit .notice-error"),a=n.find(".error");w("#replysubmit .spinner").removeClass("is-active"),(e=t.responseText?t.responseText.replace(/<.[^<>]*?>/g,""):e)&&(n.removeClass("hidden"),a.html(e),wp.a11y.speak(e))},addcomment:function(t){var e=this;w("#add-new-comment").fadeOut(200,function(){e.open(0,t,"add"),w("table.comments-box").css("display",""),w("#no-comments").remove()})},discardCommentChanges:function(){var t=w("#replyrow");return""===w("#replycontent",t).val()||this.originalContent===w("#replycontent",t).val()||window.confirm(c("Are you sure you want to do this?\nThe comment changes you made will be lost."))}},w(function(){var t,e,n,a;setCommentsList(),commentReply.init(),w(document).on("click","span.delete a.delete",function(t){t.preventDefault()}),void 0!==w.table_hotkeys&&(t=function(n){return function(){var t="next"==n?"first":"last",e=w(".tablenav-pages ."+n+"-page:not(.disabled)");e.length&&(window.location=e[0].href.replace(/\&hotkeys_highlight_(first|last)=1/g,"")+"&hotkeys_highlight_"+t+"=1")}},e=function(t,e){window.location=w("span.edit a",e).attr("href")},n=function(){w("#cb-select-all-1").data("wp-toggle",1).trigger("click").removeData("wp-toggle")},a=function(e){return function(){var t=w('select[name="action"]');w('option[value="'+e+'"]',t).prop("selected",!0),w("#doaction").trigger("click")}},w.table_hotkeys(w("table.widefat"),["a","u","s","d","r","q","z",["e",e],["shift+x",n],["shift+a",a("approve")],["shift+s",a("spam")],["shift+d",a("delete")],["shift+t",a("trash")],["shift+z",a("untrash")],["shift+u",a("unapprove")]],{highlight_first:adminCommentsSettings.hotkeys_highlight_first,highlight_last:adminCommentsSettings.hotkeys_highlight_last,prev_page_link_cb:t("prev"),next_page_link_cb:t("next"),hotkeys_opts:{disableInInput:!0,type:"keypress",noDisable:'.check-column input[type="checkbox"]'},cycle_expr:"#the-comment-list tr",start_row_index:0})),w("#the-comment-list").on("click",".comment-inline",function(){var t=w(this),e="replyto";void 0!==t.data("action")&&(e=t.data("action")),w(this).attr("aria-expanded","true"),commentReply.open(t.data("commentId"),t.data("postId"),e)})})}(jQuery); editor-expand.min.js 0000644 00000032213 15174671433 0010443 0 ustar 00 /*! This file is auto-generated */ !function(F,I){"use strict";var L=I(F),M=I(document),V=I("#wpadminbar"),N=I("#wpfooter");I(function(){var g,e,u=I("#postdivrich"),h=I("#wp-content-wrap"),m=I("#wp-content-editor-tools"),w=I(),H=I(),b=I("#ed_toolbar"),v=I("#content"),i=v[0],o=0,x=I("#post-status-info"),y=I(),T=I(),B=I("#side-sortables"),C=I("#postbox-container-1"),S=I("#post-body"),O=F.wp.editor&&F.wp.editor.fullscreen,r=function(){},l=function(){},z=!1,E=!1,k=!1,A=!1,W=0,K=56,R=20,Y=300,f=h.hasClass("tmce-active")?"tinymce":"html",U=!!parseInt(F.getUserSetting("hidetb"),10),D={windowHeight:0,windowWidth:0,adminBarHeight:0,toolsHeight:0,menuBarHeight:0,visualTopHeight:0,textTopHeight:0,bottomHeight:0,statusBarHeight:0,sideSortablesHeight:0},a=F._.throttle(function(){var t=F.scrollX||document.documentElement.scrollLeft,e=F.scrollY||document.documentElement.scrollTop,o=parseInt(i.style.height,10);i.style.height=Y+"px",i.scrollHeight>Y&&(i.style.height=i.scrollHeight+"px"),void 0!==t&&F.scrollTo(t,e),i.scrollHeight<o&&p()},300);function P(){var t=i.value.length;g&&!g.isHidden()||!g&&"tinymce"===f||(t<o?a():parseInt(i.style.height,10)<i.scrollHeight&&(i.style.height=Math.ceil(i.scrollHeight)+"px",p()),o=t)}function p(t){var e,o,i,n,s,f,a,d,c,u,r,l,p;O&&O.settings.visible||(e=L.scrollTop(),o="scroll"!==(u=t&&t.type),i=g&&!g.isHidden(),n=Y,s=S.offset().top,f=h.width(),!o&&D.windowHeight||(p=L.width(),(D={windowHeight:L.height(),windowWidth:p,adminBarHeight:600<p?V.outerHeight():0,toolsHeight:m.outerHeight()||0,menuBarHeight:y.outerHeight()||0,visualTopHeight:w.outerHeight()||0,textTopHeight:b.outerHeight()||0,bottomHeight:x.outerHeight()||0,statusBarHeight:T.outerHeight()||0,sideSortablesHeight:B.height()||0}).menuBarHeight<3&&(D.menuBarHeight=0)),i||"resize"!==u||P(),p=i?(a=w,l=H,D.visualTopHeight):(a=b,l=v,D.textTopHeight),(i||a.length)&&(u=a.parent().offset().top,r=l.offset().top,l=l.outerHeight(),(i?Y+p:Y+20)+5<l?((!z||o)&&e>=u-D.toolsHeight-D.adminBarHeight&&e<=u-D.toolsHeight-D.adminBarHeight+l-n?(z=!0,m.css({position:"fixed",top:D.adminBarHeight,width:f}),i&&y.length&&y.css({position:"fixed",top:D.adminBarHeight+D.toolsHeight,width:f-2-(i?0:a.outerWidth()-a.width())}),a.css({position:"fixed",top:D.adminBarHeight+D.toolsHeight+D.menuBarHeight,width:f-2-(i?0:a.outerWidth()-a.width())})):(z||o)&&(e<=u-D.toolsHeight-D.adminBarHeight?(z=!1,m.css({position:"absolute",top:0,width:f}),i&&y.length&&y.css({position:"absolute",top:0,width:f-2}),a.css({position:"absolute",top:D.menuBarHeight,width:f-2-(i?0:a.outerWidth()-a.width())})):e>=u-D.toolsHeight-D.adminBarHeight+l-n&&(z=!1,m.css({position:"absolute",top:l-n,width:f}),i&&y.length&&y.css({position:"absolute",top:l-n,width:f-2}),a.css({position:"absolute",top:l-n+D.menuBarHeight,width:f-2-(i?0:a.outerWidth()-a.width())}))),(!E||o&&U)&&e+D.windowHeight<=r+l+D.bottomHeight+D.statusBarHeight+1?t&&0<t.deltaHeight&&t.deltaHeight<100?F.scrollBy(0,t.deltaHeight):i&&U&&(E=!0,T.css({position:"fixed",bottom:D.bottomHeight,visibility:"",width:f-2}),x.css({position:"fixed",bottom:0,width:f})):(!U&&E||(E||o)&&e+D.windowHeight>r+l+D.bottomHeight+D.statusBarHeight-1)&&(E=!1,T.attr("style",U?"":"visibility: hidden;"),x.attr("style",""))):o&&(m.css({position:"absolute",top:0,width:f}),i&&y.length&&y.css({position:"absolute",top:0,width:f-2}),a.css({position:"absolute",top:D.menuBarHeight,width:f-2-(i?0:a.outerWidth()-a.width())}),T.attr("style",U?"":"visibility: hidden;"),x.attr("style","")),C.width()<300&&600<D.windowWidth&&M.height()>B.height()+s+120&&D.windowHeight<l?(D.sideSortablesHeight+K+R>D.windowHeight||k||A?e+K<=s?(B.attr("style",""),k=A=!1):W<e?k?(k=!1,d=B.offset().top-D.adminBarHeight,(c=N.offset().top)<d+D.sideSortablesHeight+R&&(d=c-D.sideSortablesHeight-12),B.css({position:"absolute",top:d,bottom:""})):!A&&D.sideSortablesHeight+B.offset().top+R<e+D.windowHeight&&(A=!0,B.css({position:"fixed",top:"auto",bottom:R})):e<W&&(A?(A=!1,d=B.offset().top-R,(c=N.offset().top)<d+D.sideSortablesHeight+R&&(d=c-D.sideSortablesHeight-12),B.css({position:"absolute",top:d,bottom:""})):!k&&B.offset().top>=e+K&&(k=!0,B.css({position:"fixed",top:K,bottom:""}))):(s-K<=e?B.css({position:"fixed",top:K}):B.attr("style",""),k=A=!1),W=e):(B.attr("style",""),k=A=!1),o)&&(h.css({paddingTop:D.toolsHeight}),i?H.css({paddingTop:D.visualTopHeight+D.menuBarHeight}):v.css({marginTop:D.textTopHeight})))}function n(){P(),p()}function X(t){for(var e=1;e<6;e++)setTimeout(t,500*e)}function t(){F.pageYOffset&&130<F.pageYOffset&&F.scrollTo(F.pageXOffset,0),u.addClass("wp-editor-expand"),L.on("scroll.editor-expand resize.editor-expand",function(t){p(t.type),clearTimeout(e),e=setTimeout(p,100)}),M.on("wp-collapse-menu.editor-expand postboxes-columnchange.editor-expand editor-classchange.editor-expand",p).on("postbox-toggled.editor-expand postbox-moved.editor-expand",function(){!k&&!A&&F.pageYOffset>K&&(A=!0,F.scrollBy(0,-1),p(),F.scrollBy(0,1)),p()}).on("wp-window-resized.editor-expand",function(){g&&!g.isHidden()?g.execCommand("wpAutoResize"):P()}),v.on("focus.editor-expand input.editor-expand propertychange.editor-expand",P),r(),O&&O.pubsub.subscribe("hidden",n),g&&(g.settings.wp_autoresize_on=!0,g.execCommand("wpAutoResizeOn"),g.isHidden()||g.execCommand("wpAutoResize")),g&&!g.isHidden()||P(),p(),M.trigger("editor-expand-on")}function s(){var t=parseInt(F.getUserSetting("ed_size",300),10);t<50?t=50:5e3<t&&(t=5e3),F.pageYOffset&&130<F.pageYOffset&&F.scrollTo(F.pageXOffset,0),u.removeClass("wp-editor-expand"),L.off(".editor-expand"),M.off(".editor-expand"),v.off(".editor-expand"),l(),O&&O.pubsub.unsubscribe("hidden",n),I.each([w,b,m,y,x,T,h,H,v,B],function(t,e){e&&e.attr("style","")}),z=E=k=A=!1,g&&(g.settings.wp_autoresize_on=!1,g.execCommand("wpAutoResizeOff"),g.isHidden()||(v.hide(),t&&g.theme.resizeTo(null,t))),t&&v.height(t),M.trigger("editor-expand-off")}M.on("tinymce-editor-init.editor-expand",function(t,f){var a=F.tinymce.util.VK,e=_.debounce(function(){I(".mce-floatpanel:hover").length||F.tinymce.ui.FloatPanel.hideAll(),I(".mce-tooltip").hide()},1e3,!0);function o(t){t=t.keyCode;t<=47&&t!==a.SPACEBAR&&t!==a.ENTER&&t!==a.DELETE&&t!==a.BACKSPACE&&t!==a.UP&&t!==a.LEFT&&t!==a.DOWN&&t!==a.UP||91<=t&&t<=93||112<=t&&t<=123||144===t||145===t||i(t)}function i(t){var e,o,i,n,s=function(){var t,e,o=f.selection.getNode();if(f.wp&&f.wp.getView&&(t=f.wp.getView(o)))e=t.getBoundingClientRect();else{t=f.selection.getRng();try{e=t.getClientRects()[0]}catch(t){}e=e||o.getBoundingClientRect()}return!!e.height&&e}();s&&(o=(e=s.top+f.iframeElement.getBoundingClientRect().top)+s.height,e-=50,o+=50,i=D.adminBarHeight+D.toolsHeight+D.menuBarHeight+D.visualTopHeight,(n=D.windowHeight-(U?D.bottomHeight+D.statusBarHeight:0))-i<s.height||(e<i&&(t===a.UP||t===a.LEFT||t===a.BACKSPACE)?F.scrollTo(F.pageXOffset,e+F.pageYOffset-i):n<o&&F.scrollTo(F.pageXOffset,o+F.pageYOffset-n)))}function n(t){t.state||p()}function s(){L.on("scroll.mce-float-panels",e),setTimeout(function(){f.execCommand("wpAutoResize"),p()},300)}function d(){L.off("scroll.mce-float-panels"),setTimeout(function(){var t=h.offset().top;F.pageYOffset>t&&F.scrollTo(F.pageXOffset,t-D.adminBarHeight),P(),p()},100),p()}function c(){U=!U}"content"===f.id&&((g=f).settings.autoresize_min_height=Y,w=h.find(".mce-toolbar-grp"),H=h.find(".mce-edit-area"),T=h.find(".mce-statusbar"),y=h.find(".mce-menubar"),r=function(){f.on("keyup",o),f.on("show",s),f.on("hide",d),f.on("wp-toolbar-toggle",c),f.on("setcontent wp-autoresize wp-toolbar-toggle",p),f.on("undo redo",i),f.on("FullscreenStateChanged",n),L.off("scroll.mce-float-panels").on("scroll.mce-float-panels",e)},l=function(){f.off("keyup",o),f.off("show",s),f.off("hide",d),f.off("wp-toolbar-toggle",c),f.off("setcontent wp-autoresize wp-toolbar-toggle",p),f.off("undo redo",i),f.off("FullscreenStateChanged",n),L.off("scroll.mce-float-panels")},u.hasClass("wp-editor-expand"))&&(r(),X(p))}),u.hasClass("wp-editor-expand")&&(t(),h.hasClass("html-active"))&&X(function(){p(),P()}),I("#adv-settings .editor-expand").show(),I("#editor-expand-toggle").on("change.editor-expand",function(){I(this).prop("checked")?(t(),F.setUserSetting("editor_expand","on")):(s(),F.setUserSetting("editor_expand","off"))}),F.editorExpand={on:t,off:s}}),I(function(){var i,n,t,s,f,a,d,c,u,r,l,p=I(document.body),o=I("#wpcontent"),g=I("#post-body-content"),e=I("#title"),h=I("#content"),m=I(document.createElement("DIV")),w=I("#edit-slug-box"),H=w.find("a").add(w.find("button")).add(w.find("input")),Y=I("#adminmenuwrap"),b=(I(),I(),"on"===F.getUserSetting("editor_expand","on")),v=!!b&&"on"===F.getUserSetting("post_dfw"),x=0,y=0,T=20;function B(){(s=g.offset()).right=s.left+g.outerWidth(),s.bottom=s.top+g.outerHeight()}function C(){b||(b=!0,M.trigger("dfw-activate"),h.on("keydown.focus-shortcut",R))}function S(){b&&(z(),b=!1,M.trigger("dfw-deactivate"),h.off("keydown.focus-shortcut"))}function O(){!v&&b&&(v=!0,h.on("keydown.focus",_),e.add(h).on("blur.focus",A),_(),F.setUserSetting("post_dfw","on"),M.trigger("dfw-on"))}function z(){v&&(v=!1,e.add(h).off(".focus"),k(),g.off(".focus"),F.setUserSetting("post_dfw","off"),M.trigger("dfw-off"))}function E(){(v?z:O)()}function _(t){var e,o=t&&t.keyCode;F.navigator.platform&&(e=-1<F.navigator.platform.indexOf("Mac")),27===o||87===o&&t.altKey&&(!e&&t.shiftKey||e&&t.ctrlKey)?k(t):t&&(t.metaKey||t.ctrlKey&&!t.altKey||t.altKey&&t.shiftKey||o&&(o<=47&&8!==o&&13!==o&&32!==o&&46!==o||91<=o&&o<=93||112<=o&&o<=135||144<=o&&o<=150||224<=o))||(i||(i=!0,clearTimeout(r),r=setTimeout(function(){m.show()},600),g.css("z-index",9998),m.on("mouseenter.focus",function(){B(),L.on("scroll.focus",function(){var t=F.pageYOffset;c&&d&&c!==t&&(d<s.top-T||d>s.bottom+T)&&k(),c=t})}).on("mouseleave.focus",function(){f=a=null,x=y=0,L.off("scroll.focus")}).on("mousemove.focus",function(t){var e=t.clientX,t=t.clientY,o=F.pageYOffset,i=F.pageXOffset;if(f&&a&&(e!==f||t!==a))if(t<=a&&t<s.top-o||a<=t&&t>s.bottom-o||e<=f&&e<s.left-i||f<=e&&e>s.right-i){if(x+=Math.abs(f-e),y+=Math.abs(a-t),(t<=s.top-T-o||t>=s.bottom+T-o||e<=s.left-T-i||e>=s.right+T-i)&&(10<x||10<y))return k(),f=a=null,void(x=y=0)}else x=y=0;f=e,a=t}).on("touchstart.focus",function(t){t.preventDefault(),k()}),g.off("mouseenter.focus"),u&&(clearTimeout(u),u=null),p.addClass("focus-on").removeClass("focus-off")),!n&&i&&(n=!0,V.on("mouseenter.focus",function(){V.addClass("focus-off")}).on("mouseleave.focus",function(){V.removeClass("focus-off")})),W())}function k(t){i&&(i=!1,clearTimeout(r),r=setTimeout(function(){m.hide()},200),g.css("z-index",""),m.off("mouseenter.focus mouseleave.focus mousemove.focus touchstart.focus"),void 0===t&&g.on("mouseenter.focus",function(){(I.contains(g.get(0),document.activeElement)||l)&&_()}),u=setTimeout(function(){u=null,g.off("mouseenter.focus")},1e3),p.addClass("focus-off").removeClass("focus-on")),n&&(n=!1,V.off(".focus")),K()}function A(){setTimeout(function(){var t=document.activeElement.compareDocumentPosition(g.get(0));function e(t){return I.contains(t.get(0),document.activeElement)}2!==t&&4!==t||!(e(Y)||e(o)||e(N))||k()},0)}function W(){t||!i||w.find(":focus").length||(t=!0,w.stop().fadeTo("fast",.3).on("mouseenter.focus",K).off("mouseleave.focus"),H.on("focus.focus",K).off("blur.focus"))}function K(){t&&(t=!1,w.stop().fadeTo("fast",1).on("mouseleave.focus",W).off("mouseenter.focus"),H.on("blur.focus",W).off("focus.focus"))}function R(t){t.altKey&&t.shiftKey&&87===t.keyCode&&E()}p.append(m),m.css({display:"none",position:"fixed",top:V.height(),right:0,bottom:0,left:0,"z-index":9997}),g.css({position:"relative"}),L.on("mousemove.focus",function(t){d=t.pageY}),I("#postdivrich").hasClass("wp-editor-expand")&&h.on("keydown.focus-shortcut",R),M.on("tinymce-editor-setup.focus",function(t,e){e.addButton("dfw",{active:v,classes:"wp-dfw btn widget",disabled:!b,onclick:E,onPostRender:function(){var t=this;e.on("init",function(){t.disabled()&&t.hide()}),M.on("dfw-activate.focus",function(){t.disabled(!1),t.show()}).on("dfw-deactivate.focus",function(){t.disabled(!0),t.hide()}).on("dfw-on.focus",function(){t.active(!0)}).on("dfw-off.focus",function(){t.active(!1)})},tooltip:"Distraction-free writing mode",shortcut:"Alt+Shift+W"}),e.addCommand("wpToggleDFW",E),e.addShortcut("access+w","","wpToggleDFW")}),M.on("tinymce-editor-init.focus",function(t,e){var o,i;function n(){l=!0}function s(){l=!1}"content"===e.id&&(I(e.getWin()),I(e.getContentAreaContainer()).find("iframe"),o=function(){e.on("keydown",_),e.on("blur",A),e.on("focus",n),e.on("blur",s),e.on("wp-autoresize",B)},i=function(){e.off("keydown",_),e.off("blur",A),e.off("focus",n),e.off("blur",s),e.off("wp-autoresize",B)},v&&o(),M.on("dfw-on.focus",o).on("dfw-off.focus",i),e.on("click",function(t){t.target===e.getDoc().documentElement&&e.focus()}))}),M.on("quicktags-init",function(t,e){var o;e.settings.buttons&&-1!==(","+e.settings.buttons+",").indexOf(",dfw,")&&(o=I("#"+e.name+"_dfw"),I(document).on("dfw-activate",function(){o.prop("disabled",!1)}).on("dfw-deactivate",function(){o.prop("disabled",!0)}).on("dfw-on",function(){o.addClass("active")}).on("dfw-off",function(){o.removeClass("active")}))}),M.on("editor-expand-on.focus",C).on("editor-expand-off.focus",S),v&&(h.on("keydown.focus",_),e.add(h).on("blur.focus",A)),F.wp=F.wp||{},F.wp.editor=F.wp.editor||{},F.wp.editor.dfw={activate:C,deactivate:S,isActive:function(){return b},on:O,off:z,toggle:E,isOn:function(){return v}}})}(window,window.jQuery); password-toggle.js 0000644 00000002473 15174671433 0010244 0 ustar 00 /** * Adds functionality for password visibility buttons to toggle between text and password input types. * * @since 6.3.0 * @output wp-admin/js/password-toggle.js */ ( function () { var toggleElements, status, input, icon, label, __ = wp.i18n.__; toggleElements = document.querySelectorAll( '.pwd-toggle' ); toggleElements.forEach( function (toggle) { toggle.classList.remove( 'hide-if-no-js' ); toggle.addEventListener( 'click', togglePassword ); } ); function togglePassword() { status = this.getAttribute( 'data-toggle' ); input = this.parentElement.children.namedItem( 'pwd' ); icon = this.getElementsByClassName( 'dashicons' )[ 0 ]; label = this.getElementsByClassName( 'text' )[ 0 ]; if ( 0 === parseInt( status, 10 ) ) { this.setAttribute( 'data-toggle', 1 ); this.setAttribute( 'aria-label', __( 'Hide password' ) ); input.setAttribute( 'type', 'text' ); label.innerHTML = __( 'Hide' ); icon.classList.remove( 'dashicons-visibility' ); icon.classList.add( 'dashicons-hidden' ); } else { this.setAttribute( 'data-toggle', 0 ); this.setAttribute( 'aria-label', __( 'Show password' ) ); input.setAttribute( 'type', 'password' ); label.innerHTML = __( 'Show' ); icon.classList.remove( 'dashicons-hidden' ); icon.classList.add( 'dashicons-visibility' ); } } } )(); privacy-tools.min.js 0000644 00000012042 15174671433 0010511 0 ustar 00 /*! This file is auto-generated */ jQuery(function(v){var r,h=wp.i18n.__;function w(e,t){e.children().addClass("hidden"),e.children("."+t).removeClass("hidden")}function x(e){e.removeClass("has-request-results"),e.next().hasClass("request-results")&&e.next().remove()}function T(e,t,a,o){var s="",n="request-results";x(e),o.length&&(v.each(o,function(e,t){s=s+"<li>"+t+"</li>"}),s="<ul>"+s+"</ul>"),e.addClass("has-request-results"),e.hasClass("status-request-confirmed")&&(n+=" status-request-confirmed"),e.hasClass("status-request-failed")&&(n+=" status-request-failed"),e.after(function(){return'<tr class="'+n+'"><th colspan="5"><div class="notice inline notice-alt '+t+'" role="alert"><p>'+a+"</p>"+s+"</div></td></tr>"})}v(".export-personal-data-handle").on("click",function(e){var t=v(this),n=t.parents(".export-personal-data"),r=t.parents("tr"),a=r.find(".export-progress"),i=t.parents(".row-actions"),c=n.data("request-id"),d=n.data("nonce"),l=n.data("exporters-count"),u=!!n.data("send-as-email");function p(e){var t=h("An error occurred while attempting to export personal data.");w(n,"export-personal-data-failed"),e&&T(r,"notice-error",t,[e]),setTimeout(function(){i.removeClass("processing")},500)}function m(e){e=Math.round(100*(0<l?e/l:0)).toString()+"%";a.html(e)}e.preventDefault(),e.stopPropagation(),i.addClass("processing"),n.trigger("blur"),x(r),m(0),w(n,"export-personal-data-processing"),function t(o,s){v.ajax({url:window.ajaxurl,data:{action:"wp-privacy-export-personal-data",exporter:o,id:c,page:s,security:d,sendAsEmail:u},method:"post"}).done(function(e){var a=e.data;e.success?a.done?(m(o),o<l?setTimeout(t(o+1,1)):setTimeout(function(){var e,t;e=a.url,t=h("This user’s personal data export link was sent."),void 0!==e&&(t=h("This user’s personal data export file was downloaded.")),w(n,"export-personal-data-success"),T(r,"notice-success",t,[]),void 0!==e?window.location=e:u||p(h("No personal data export file was generated.")),setTimeout(function(){i.removeClass("processing")},500)},500)):setTimeout(t(o,s+1)):setTimeout(function(){p(e.data)},500)}).fail(function(e,t,a){setTimeout(function(){p(a)},500)})}(1,1)}),v(".remove-personal-data-handle").on("click",function(e){var t=v(this),n=t.parents(".remove-personal-data"),r=t.parents("tr"),a=r.find(".erasure-progress"),i=t.parents(".row-actions"),c=n.data("request-id"),d=n.data("nonce"),l=n.data("erasers-count"),u=!1,p=!1,m=[];function f(){var e=h("An error occurred while attempting to find and erase personal data.");w(n,"remove-personal-data-failed"),T(r,"notice-error",e,[]),setTimeout(function(){i.removeClass("processing")},500)}function g(e){e=Math.round(100*(0<l?e/l:0)).toString()+"%";a.html(e)}e.preventDefault(),e.stopPropagation(),i.addClass("processing"),n.trigger("blur"),x(r),g(0),w(n,"remove-personal-data-processing"),function a(o,s){v.ajax({url:window.ajaxurl,data:{action:"wp-privacy-erase-personal-data",eraser:o,id:c,page:s,security:d},method:"post"}).done(function(e){var t=e.data;e.success?(t.items_removed&&(u=u||t.items_removed),t.items_retained&&(p=p||t.items_retained),t.messages&&(m=m.concat(t.messages)),t.done?(g(o),o<l?setTimeout(a(o+1,1)):setTimeout(function(){var e,t;e=h("No personal data was found for this user."),t="notice-success",w(n,"remove-personal-data-success"),!1===u?!1===p?e=h("No personal data was found for this user."):(e=h("Personal data was found for this user but was not erased."),t="notice-warning"):!1===p?e=h("All of the personal data found for this user was erased."):(e=h("Personal data was found for this user but some of the personal data found was not erased."),t="notice-warning"),T(r,t,e,m),setTimeout(function(){i.removeClass("processing")},500)},500)):setTimeout(a(o,s+1))):setTimeout(function(){f()},500)}).fail(function(){setTimeout(function(){f()},500)})}(1,1)}),v(document).on("click",function(e){var t,a,e=v(e.target),o=e.siblings(".success");if(clearTimeout(r),e.is("button.privacy-text-copy")&&(t=e.closest(".privacy-settings-accordion-panel")).length)try{var s=document.documentElement.scrollTop,n=document.body.scrollTop;window.getSelection().removeAllRanges(),a=document.createRange(),t.addClass("hide-privacy-policy-tutorial"),a.selectNodeContents(t[0]),window.getSelection().addRange(a),document.execCommand("copy"),t.removeClass("hide-privacy-policy-tutorial"),window.getSelection().removeAllRanges(),0<s&&s!==document.documentElement.scrollTop?document.documentElement.scrollTop=s:0<n&&n!==document.body.scrollTop&&(document.body.scrollTop=n),o.addClass("visible"),wp.a11y.speak(h("The suggested policy text has been copied to your clipboard.")),r=setTimeout(function(){o.removeClass("visible")},3e3)}catch(e){}}),v("body.options-privacy-php label[for=create-page]").on("click",function(e){e.preventDefault(),v("input#create-page").trigger("focus")}),v(".privacy-settings-accordion").on("click",".privacy-settings-accordion-trigger",function(){"true"===v(this).attr("aria-expanded")?(v(this).attr("aria-expanded","false"),v("#"+v(this).attr("aria-controls")).attr("hidden",!0)):(v(this).attr("aria-expanded","true"),v("#"+v(this).attr("aria-controls")).attr("hidden",!1))})}); tags-box.js 0000644 00000025604 15174671433 0006650 0 ustar 00 /** * @output wp-admin/js/tags-box.js */ /* jshint curly: false, eqeqeq: false */ /* global ajaxurl, tagBox, array_unique_noempty */ ( function( $ ) { var tagDelimiter = wp.i18n._x( ',', 'tag delimiter' ) || ','; /** * Filters unique items and returns a new array. * * Filters all items from an array into a new array containing only the unique * items. This also excludes whitespace or empty values. * * @since 2.8.0 * * @global * * @param {Array} array The array to filter through. * * @return {Array} A new array containing only the unique items. */ window.array_unique_noempty = function( array ) { var out = []; // Trim the values and ensure they are unique. $.each( array, function( key, val ) { val = val || ''; val = val.trim(); if ( val && $.inArray( val, out ) === -1 ) { out.push( val ); } } ); return out; }; /** * The TagBox object. * * Contains functions to create and manage tags that can be associated with a * post. * * @since 2.9.0 * * @global */ window.tagBox = { /** * Cleans up tags by removing redundant characters. * * @since 2.9.0 * * @memberOf tagBox * * @param {string} tags Comma separated tags that need to be cleaned up. * * @return {string} The cleaned up tags. */ clean : function( tags ) { if ( ',' !== tagDelimiter ) { tags = tags.replace( new RegExp( tagDelimiter, 'g' ), ',' ); } tags = tags.replace(/\s*,\s*/g, ',').replace(/,+/g, ',').replace(/[,\s]+$/, '').replace(/^[,\s]+/, ''); if ( ',' !== tagDelimiter ) { tags = tags.replace( /,/g, tagDelimiter ); } return tags; }, /** * Parses tags and makes them editable. * * @since 2.9.0 * * @memberOf tagBox * * @param {Object} el The tag element to retrieve the ID from. * * @return {boolean} Always returns false. */ parseTags : function(el) { var id = el.id, num = id.split('-check-num-')[1], taxbox = $(el).closest('.tagsdiv'), thetags = taxbox.find('.the-tags'), current_tags = thetags.val().split( tagDelimiter ), new_tags = []; delete current_tags[num]; // Sanitize the current tags and push them as if they're new tags. $.each( current_tags, function( key, val ) { val = val || ''; val = val.trim(); if ( val ) { new_tags.push( val ); } }); thetags.val( this.clean( new_tags.join( tagDelimiter ) ) ); this.quickClicks( taxbox ); return false; }, /** * Creates clickable links, buttons and fields for adding or editing tags. * * @since 2.9.0 * * @memberOf tagBox * * @param {Object} el The container HTML element. * * @return {void} */ quickClicks : function( el ) { var thetags = $('.the-tags', el), tagchecklist = $('.tagchecklist', el), id = $(el).attr('id'), current_tags, disabled; if ( ! thetags.length ) return; disabled = thetags.prop('disabled'); current_tags = thetags.val().split( tagDelimiter ); tagchecklist.empty(); /** * Creates a delete button if tag editing is enabled, before adding it to the tag list. * * @since 2.5.0 * * @memberOf tagBox * * @param {string} key The index of the current tag. * @param {string} val The value of the current tag. * * @return {void} */ $.each( current_tags, function( key, val ) { var listItem, xbutton; val = val || ''; val = val.trim(); if ( ! val ) return; // Create a new list item, and ensure the text is properly escaped. listItem = $( '<li />' ).text( val ); // If tags editing isn't disabled, create the X button. if ( ! disabled ) { /* * Build the X buttons, hide the X icon with aria-hidden and * use visually hidden text for screen readers. */ xbutton = $( '<button type="button" id="' + id + '-check-num-' + key + '" class="ntdelbutton">' + '<span class="remove-tag-icon" aria-hidden="true"></span>' + '<span class="screen-reader-text">' + wp.i18n.__( 'Remove term:' ) + ' ' + listItem.html() + '</span>' + '</button>' ); /** * Handles the click and keypress event of the tag remove button. * * Makes sure the focus ends up in the tag input field when using * the keyboard to delete the tag. * * @since 4.2.0 * * @param {Event} e The click or keypress event to handle. * * @return {void} */ xbutton.on( 'click keypress', function( e ) { // On click or when using the Enter/Spacebar keys. if ( 'click' === e.type || 13 === e.keyCode || 32 === e.keyCode ) { /* * When using the keyboard, move focus back to the * add new tag field. Note: when releasing the pressed * key this will fire the `keyup` event on the input. */ if ( 13 === e.keyCode || 32 === e.keyCode ) { $( this ).closest( '.tagsdiv' ).find( 'input.newtag' ).trigger( 'focus' ); } tagBox.userAction = 'remove'; tagBox.parseTags( this ); } }); listItem.prepend( ' ' ).prepend( xbutton ); } // Append the list item to the tag list. tagchecklist.append( listItem ); }); // The buttons list is built now, give feedback to screen reader users. tagBox.screenReadersMessage(); }, /** * Adds a new tag. * * Also ensures that the quick links are properly generated. * * @since 2.9.0 * * @memberOf tagBox * * @param {Object} el The container HTML element. * @param {Object|boolean} a When this is an HTML element the text of that * element will be used for the new tag. * @param {number|boolean} f If this value is not passed then the tag input * field is focused. * * @return {boolean} Always returns false. */ flushTags : function( el, a, f ) { var tagsval, newtags, text, tags = $( '.the-tags', el ), newtag = $( 'input.newtag', el ); a = a || false; text = a ? $(a).text() : newtag.val(); /* * Return if there's no new tag or if the input field is empty. * Note: when using the keyboard to add tags, focus is moved back to * the input field and the `keyup` event attached on this field will * fire when releasing the pressed key. Checking also for the field * emptiness avoids to set the tags and call quickClicks() again. */ if ( 'undefined' == typeof( text ) || '' === text ) { return false; } tagsval = tags.val(); newtags = tagsval ? tagsval + tagDelimiter + text : text; newtags = this.clean( newtags ); newtags = array_unique_noempty( newtags.split( tagDelimiter ) ).join( tagDelimiter ); tags.val( newtags ); this.quickClicks( el ); if ( ! a ) newtag.val(''); if ( 'undefined' == typeof( f ) ) newtag.trigger( 'focus' ); return false; }, /** * Retrieves the available tags and creates a tagcloud. * * Retrieves the available tags from the database and creates an interactive * tagcloud. Clicking a tag will add it. * * @since 2.9.0 * * @memberOf tagBox * * @param {string} id The ID to extract the taxonomy from. * * @return {void} */ get : function( id ) { var tax = id.substr( id.indexOf('-') + 1 ); /** * Puts a received tag cloud into a DOM element. * * The tag cloud HTML is generated on the server. * * @since 2.9.0 * * @param {number|string} r The response message from the Ajax call. * @param {string} stat The status of the Ajax request. * * @return {void} */ $.post( ajaxurl, { 'action': 'get-tagcloud', 'tax': tax }, function( r, stat ) { if ( 0 === r || 'success' != stat ) { return; } r = $( '<div id="tagcloud-' + tax + '" class="the-tagcloud">' + r + '</div>' ); /** * Adds a new tag when a tag in the tagcloud is clicked. * * @since 2.9.0 * * @return {boolean} Returns false to prevent the default action. */ $( 'a', r ).on( 'click', function() { tagBox.userAction = 'add'; tagBox.flushTags( $( '#' + tax ), this ); return false; }); $( '#' + id ).after( r ); }); }, /** * Track the user's last action. * * @since 4.7.0 */ userAction: '', /** * Dispatches an audible message to screen readers. * * This will inform the user when a tag has been added or removed. * * @since 4.7.0 * * @return {void} */ screenReadersMessage: function() { var message; switch ( this.userAction ) { case 'remove': message = wp.i18n.__( 'Term removed.' ); break; case 'add': message = wp.i18n.__( 'Term added.' ); break; default: return; } window.wp.a11y.speak( message, 'assertive' ); }, /** * Initializes the tags box by setting up the links, buttons. Sets up event * handling. * * This includes handling of pressing the enter key in the input field and the * retrieval of tag suggestions. * * @since 2.9.0 * * @memberOf tagBox * * @return {void} */ init : function() { var ajaxtag = $('div.ajaxtag'); $('.tagsdiv').each( function() { tagBox.quickClicks( this ); }); $( '.tagadd', ajaxtag ).on( 'click', function() { tagBox.userAction = 'add'; tagBox.flushTags( $( this ).closest( '.tagsdiv' ) ); }); /** * Handles pressing enter on the new tag input field. * * Prevents submitting the post edit form. Uses `keypress` to take * into account Input Method Editor (IME) converters. * * @since 2.9.0 * * @param {Event} event The keypress event that occurred. * * @return {void} */ $( 'input.newtag', ajaxtag ).on( 'keypress', function( event ) { if ( 13 == event.which ) { tagBox.userAction = 'add'; tagBox.flushTags( $( this ).closest( '.tagsdiv' ) ); event.preventDefault(); event.stopPropagation(); } }).each( function( i, element ) { $( element ).wpTagsSuggest(); }); /** * Before a post is saved the value currently in the new tag input field will be * added as a tag. * * @since 2.9.0 * * @return {void} */ $('#post').on( 'submit', function(){ $('div.tagsdiv').each( function() { tagBox.flushTags(this, false, 1); }); }); /** * Handles clicking on the tag cloud link. * * Makes sure the ARIA attributes are set correctly. * * @since 2.9.0 * * @return {void} */ $('.tagcloud-link').on( 'click', function(){ // On the first click, fetch the tag cloud and insert it in the DOM. tagBox.get( $( this ).attr( 'id' ) ); // Update button state, remove previous click event and attach a new one to toggle the cloud. $( this ) .attr( 'aria-expanded', 'true' ) .off() .on( 'click', function() { $( this ) .attr( 'aria-expanded', 'false' === $( this ).attr( 'aria-expanded' ) ? 'true' : 'false' ) .siblings( '.the-tagcloud' ).toggle(); }); }); } }; }( jQuery )); gallery.min.js 0000644 00000007235 15174671433 0007345 0 ustar 00 /*! This file is auto-generated */ jQuery(function(n){var o=!1,e=function(){n("#media-items").sortable({items:"div.media-item",placeholder:"sorthelper",axis:"y",distance:2,handle:"div.filename",stop:function(){var e=n("#media-items").sortable("toArray"),i=e.length;n.each(e,function(e,t){e=o?i-e:1+e;n("#"+t+" .menu_order input").val(e)})}})},t=function(){var e=n(".menu_order_input"),t=e.length;e.each(function(e){e=o?t-e:1+e;n(this).val(e)})},i=function(e){e=e||0,n(".menu_order_input").each(function(){"0"!==this.value&&!e||(this.value="")})};n("#asc").on("click",function(e){e.preventDefault(),o=!1,t()}),n("#desc").on("click",function(e){e.preventDefault(),o=!0,t()}),n("#clear").on("click",function(e){e.preventDefault(),i(1)}),n("#showall").on("click",function(e){e.preventDefault(),n("#sort-buttons span a").toggle(),n("a.describe-toggle-on").hide(),n("a.describe-toggle-off, table.slidetoggle").show(),n("img.pinkynail").toggle(!1)}),n("#hideall").on("click",function(e){e.preventDefault(),n("#sort-buttons span a").toggle(),n("a.describe-toggle-on").show(),n("a.describe-toggle-off, table.slidetoggle").hide(),n("img.pinkynail").toggle(!0)}),e(),i(),1<n("#media-items>*").length&&(e=wpgallery.getWin(),n("#save-all, #gallery-settings").show(),void 0!==e.tinyMCE&&e.tinyMCE.activeEditor&&!e.tinyMCE.activeEditor.isHidden()?(wpgallery.mcemode=!0,wpgallery.init()):n("#insert-gallery").show())}),window.tinymce=null,window.wpgallery={mcemode:!1,editor:{},dom:{},is_update:!1,el:{},I:function(e){return document.getElementById(e)},init:function(){var e,t,i,n,o=this,l=o.getWin();if(o.mcemode){for(e=(""+document.location.search).replace(/^\?/,"").split("&"),t={},i=0;i<e.length;i++)n=e[i].split("="),t[unescape(n[0])]=unescape(n[1]);t.mce_rdomain&&(document.domain=t.mce_rdomain),window.tinymce=l.tinymce,window.tinyMCE=l.tinyMCE,o.editor=tinymce.EditorManager.activeEditor,o.setup()}},getWin:function(){return window.dialogArguments||opener||parent||top},setup:function(){var e,t,i,n=this,o=n.editor;if(n.mcemode){if(n.el=o.selection.getNode(),"IMG"!==n.el.nodeName||!o.dom.hasClass(n.el,"wpGallery")){if(!(i=o.dom.select("img.wpGallery"))||!i[0])return"1"===getUserSetting("galfile")&&(n.I("linkto-file").checked="checked"),"1"===getUserSetting("galdesc")&&(n.I("order-desc").checked="checked"),getUserSetting("galcols")&&(n.I("columns").value=getUserSetting("galcols")),getUserSetting("galord")&&(n.I("orderby").value=getUserSetting("galord")),void jQuery("#insert-gallery").show();n.el=i[0]}i=o.dom.getAttrib(n.el,"title"),(i=o.dom.decode(i))?(jQuery("#update-gallery").show(),n.is_update=!0,o=i.match(/columns=['"]([0-9]+)['"]/),e=i.match(/link=['"]([^'"]+)['"]/i),t=i.match(/order=['"]([^'"]+)['"]/i),i=i.match(/orderby=['"]([^'"]+)['"]/i),e&&e[1]&&(n.I("linkto-file").checked="checked"),t&&t[1]&&(n.I("order-desc").checked="checked"),o&&o[1]&&(n.I("columns").value=""+o[1]),i&&i[1]&&(n.I("orderby").value=i[1])):jQuery("#insert-gallery").show()}},update:function(){var e=this,t=e.editor,i="";e.mcemode&&e.is_update?"IMG"===e.el.nodeName&&(i=(i=t.dom.decode(t.dom.getAttrib(e.el,"title"))).replace(/\s*(order|link|columns|orderby)=['"]([^'"]+)['"]/gi,""),i+=e.getSettings(),t.dom.setAttrib(e.el,"title",i),e.getWin().tb_remove()):(t="[gallery"+e.getSettings()+"]",e.getWin().send_to_editor(t))},getSettings:function(){var e=this.I,t="";return e("linkto-file").checked&&(t+=' link="file"',setUserSetting("galfile","1")),e("order-desc").checked&&(t+=' order="DESC"',setUserSetting("galdesc","1")),3!==e("columns").value&&(t+=' columns="'+e("columns").value+'"',setUserSetting("galcols",e("columns").value)),"menu_order"!==e("orderby").value&&(t+=' orderby="'+e("orderby").value+'"',setUserSetting("galord",e("orderby").value)),t}}; widgets.min.js 0000644 00000030501 15174671433 0007344 0 ustar 00 /*! This file is auto-generated */ !function(w){var l=w(document);window.wpWidgets={hoveredSidebar:null,dirtyWidgets:{},init:function(){var r,o,g=this,d=w(".widgets-chooser"),s=d.find(".widgets-chooser-sidebars"),e=w("div.widgets-sortables"),c=!("undefined"==typeof isRtl||!isRtl);w("#widgets-right .sidebar-name").on("click",function(){var e=w(this),i=e.closest(".widgets-holder-wrap "),t=e.find(".handlediv");i.hasClass("closed")?(i.removeClass("closed"),t.attr("aria-expanded","true"),e.parent().sortable("refresh")):(i.addClass("closed"),t.attr("aria-expanded","false")),l.triggerHandler("wp-pin-menu")}).find(".handlediv").each(function(e){0!==e&&w(this).attr("aria-expanded","false")}),w(window).on("beforeunload.widgets",function(e){var i,t=[];if(w.each(g.dirtyWidgets,function(e,i){i&&t.push(e)}),0!==t.length)return(i=w("#widgets-right").find(".widget").filter(function(){return-1!==t.indexOf(w(this).prop("id").replace(/^widget-\d+_/,""))})).each(function(){w(this).hasClass("open")||w(this).find(".widget-title-action:first").trigger("click")}),i.first().each(function(){this.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded():this.scrollIntoView(),w(this).find(".widget-inside :tabbable:first").trigger("focus")}),e.returnValue=wp.i18n.__("The changes you made will be lost if you navigate away from this page."),e.returnValue}),w("#widgets-left .sidebar-name").on("click",function(){var e=w(this).closest(".widgets-holder-wrap");e.toggleClass("closed").find(".handlediv").attr("aria-expanded",!e.hasClass("closed")),l.triggerHandler("wp-pin-menu")}),w(document.body).on("click.widgets-toggle",function(e){var i,t,d,a,s,n,r=w(e.target),o={},l=r.closest(".widget").find(".widget-top button.widget-action");r.parents(".widget-top").length&&!r.parents("#available-widgets").length?(t=(i=r.closest("div.widget")).children(".widget-inside"),d=parseInt(i.find("input.widget-width").val(),10),a=i.parent().width(),n=t.find(".widget-id").val(),i.data("dirty-state-initialized")||((s=t.find(".widget-control-save")).prop("disabled",!0).val(wp.i18n.__("Saved")),t.on("input change",function(){g.dirtyWidgets[n]=!0,i.addClass("widget-dirty"),s.prop("disabled",!1).val(wp.i18n.__("Save"))}),i.data("dirty-state-initialized",!0)),t.is(":hidden")?(250<d&&a<d+30&&i.closest("div.widgets-sortables").length&&(o[i.closest("div.widget-liquid-right").length?c?"margin-right":"margin-left":c?"margin-left":"margin-right"]=a-(d+30)+"px",i.css(o)),l.attr("aria-expanded","true"),t.slideDown("fast",function(){i.addClass("open")})):(l.attr("aria-expanded","false"),t.slideUp("fast",function(){i.attr("style",""),i.removeClass("open")}))):r.hasClass("widget-control-save")?(wpWidgets.save(r.closest("div.widget"),0,1,0),e.preventDefault()):r.hasClass("widget-control-remove")?wpWidgets.save(r.closest("div.widget"),1,1,0):r.hasClass("widget-control-close")?((i=r.closest("div.widget")).removeClass("open"),l.attr("aria-expanded","false"),wpWidgets.close(i)):"inactive-widgets-control-remove"===r.attr("id")&&(wpWidgets.removeInactiveWidgets(),e.preventDefault())}),e.children(".widget").each(function(){var e=w(this);wpWidgets.appendTitle(this),e.find("p.widget-error").length&&e.find(".widget-action").trigger("click").attr("aria-expanded","true")}),w("#widget-list").children(".widget").draggable({connectToSortable:"div.widgets-sortables",handle:"> .widget-top > .widget-title",distance:2,helper:"clone",zIndex:101,containment:"#wpwrap",refreshPositions:!0,start:function(e,i){var t=w(this).find(".widgets-chooser");i.helper.find("div.widget-description").hide(),o=this.id,t.length&&(w("#wpbody-content").append(t.hide()),i.helper.find(".widgets-chooser").remove(),g.clearWidgetSelection())},stop:function(){r&&w(r).hide(),r=""}}),e.droppable({tolerance:"intersect",over:function(e){var i=w(e.target).parent();wpWidgets.hoveredSidebar&&!i.is(wpWidgets.hoveredSidebar)&&wpWidgets.closeSidebar(e),i.hasClass("closed")&&(wpWidgets.hoveredSidebar=i).removeClass("closed").find(".handlediv").attr("aria-expanded","true"),w(this).sortable("refresh")},out:function(e){wpWidgets.hoveredSidebar&&wpWidgets.closeSidebar(e)}}),e.sortable({placeholder:"widget-placeholder",items:"> .widget",handle:"> .widget-top > .widget-title",cursor:"move",distance:2,containment:"#wpwrap",tolerance:"pointer",refreshPositions:!0,start:function(e,i){var t=w(this),d=t.parent(),a=i.item.children(".widget-inside");"block"===a.css("display")&&(i.item.removeClass("open"),i.item.find(".widget-top button.widget-action").attr("aria-expanded","false"),a.hide(),w(this).sortable("refreshPositions")),d.hasClass("closed")||(a=i.item.hasClass("ui-draggable")?t.height():1+t.height(),t.css("min-height",a+"px"))},stop:function(e,i){var t,d,a,s,i=i.item,n=o;wpWidgets.hoveredSidebar=null,i.hasClass("deleting")?(wpWidgets.save(i,1,0,1),i.remove()):(t=i.find("input.add_new").val(),d=i.find("input.multi_number").val(),i.attr("style","").removeClass("ui-draggable"),o="",t&&("multi"===t?(i.html(i.html().replace(/<[^<>]+>/g,function(e){return e.replace(/__i__|%i%/g,d)})),i.attr("id",n.replace("__i__",d)),d++,w("div#"+n).find("input.multi_number").val(d)):"single"===t&&(i.attr("id","new-"+n),r="div#"+n),wpWidgets.save(i,0,0,1),i.find("input.add_new").val(""),l.trigger("widget-added",[i])),(n=i.parent()).parent().hasClass("closed")&&(n.parent().removeClass("closed").find(".handlediv").attr("aria-expanded","true"),1<(a=n.children(".widget")).length)&&(a=a.get(0),s=i.get(0),a.id)&&s.id&&a.id!==s.id&&w(a).before(i),t?i.find(".widget-action").trigger("click"):wpWidgets.saveOrder(n.attr("id")))},activate:function(){w(this).parent().addClass("widget-hover")},deactivate:function(){w(this).css("min-height","").parent().removeClass("widget-hover")},receive:function(e,i){i=w(i.sender);-1<this.id.indexOf("orphaned_widgets")?i.sortable("cancel"):-1<i.attr("id").indexOf("orphaned_widgets")&&!i.children(".widget").length&&i.parents(".orphan-sidebar").slideUp(400,function(){w(this).remove()})}}).sortable("option","connectWith","div.widgets-sortables"),w("#available-widgets").droppable({tolerance:"pointer",accept:function(e){return"widget-list"!==w(e).parent().attr("id")},drop:function(e,i){i.draggable.addClass("deleting"),w("#removing-widget").hide().children("span").empty()},over:function(e,i){i.draggable.addClass("deleting"),w("div.widget-placeholder").hide(),i.draggable.hasClass("ui-sortable-helper")&&w("#removing-widget").show().children("span").html(i.draggable.find("div.widget-title").children("h3").html())},out:function(e,i){i.draggable.removeClass("deleting"),w("div.widget-placeholder").show(),w("#removing-widget").hide().children("span").empty()}}),w("#widgets-right .widgets-holder-wrap").each(function(e,i){var i=w(i),t=i.find(".sidebar-name h2").text()||"",d=i.find(".sidebar-name").data("add-to"),i=i.find(".widgets-sortables").attr("id"),a=w("<li>"),d=w("<button>",{type:"button","aria-pressed":"false",class:"widgets-chooser-button","aria-label":d}).text(t.toString().trim());a.append(d),0===e&&(a.addClass("widgets-chooser-selected"),d.attr("aria-pressed","true")),s.append(a),a.data("sidebarId",i)}),w("#available-widgets .widget .widget-top").on("click.widgets-chooser",function(){var e=w(this).closest(".widget"),i=w(this).find(".widget-action"),t=s.find(".widgets-chooser-button");e.hasClass("widget-in-question")||w("#widgets-left").hasClass("chooser")?(i.attr("aria-expanded","false"),g.closeChooser()):(g.clearWidgetSelection(),w("#widgets-left").addClass("chooser"),e.addClass("widget-in-question").children(".widget-description").after(d),d.slideDown(300,function(){i.attr("aria-expanded","true")}),t.on("click.widgets-chooser",function(){s.find(".widgets-chooser-selected").removeClass("widgets-chooser-selected"),t.attr("aria-pressed","false"),w(this).attr("aria-pressed","true").closest("li").addClass("widgets-chooser-selected")}))}),d.on("click.widgets-chooser",function(e){e=w(e.target);e.hasClass("button-primary")?(g.addWidget(d),g.closeChooser()):e.hasClass("widgets-chooser-cancel")&&g.closeChooser()}).on("keyup.widgets-chooser",function(e){e.which===w.ui.keyCode.ESCAPE&&g.closeChooser()})},saveOrder:function(e){var i={action:"widgets-order",savewidgets:w("#_wpnonce_widgets").val(),sidebars:[]};e&&w("#"+e).find(".spinner:first").addClass("is-active"),w("div.widgets-sortables").each(function(){w(this).sortable&&(i["sidebars["+w(this).attr("id")+"]"]=w(this).sortable("toArray").join(","))}),w.post(ajaxurl,i,function(){w("#inactive-widgets-control-remove").prop("disabled",!w("#wp_inactive_widgets .widget").length),w(".spinner").removeClass("is-active")})},save:function(t,d,a,s){var n=this,r=t.closest("div.widgets-sortables").attr("id"),e=t.find("form"),i=t.find("input.add_new").val();(d||i||!e.prop("checkValidity")||e[0].checkValidity())&&(i=e.serialize(),t=w(t),w(".spinner",t).addClass("is-active"),e={action:"save-widget",savewidgets:w("#_wpnonce_widgets").val(),sidebar:r},d&&(e.delete_widget=1),i+="&"+w.param(e),w.post(ajaxurl,i,function(e){var i=w("input.widget-id",t).val();d?(w("input.widget_number",t).val()||w("#available-widgets").find("input.widget-id").each(function(){w(this).val()===i&&w(this).closest("div.widget").show()}),a?(s=0,t.slideUp("fast",function(){w(this).remove(),wpWidgets.saveOrder(),delete n.dirtyWidgets[i]})):(t.remove(),delete n.dirtyWidgets[i],"wp_inactive_widgets"===r&&w("#inactive-widgets-control-remove").prop("disabled",!w("#wp_inactive_widgets .widget").length))):(w(".spinner").removeClass("is-active"),e&&2<e.length&&(w("div.widget-content",t).html(e),wpWidgets.appendTitle(t),t.find(".widget-control-save").prop("disabled",!0).val(wp.i18n.__("Saved")),t.removeClass("widget-dirty"),delete n.dirtyWidgets[i],l.trigger("widget-updated",[t]),"wp_inactive_widgets"===r)&&w("#inactive-widgets-control-remove").prop("disabled",!w("#wp_inactive_widgets .widget").length)),s&&wpWidgets.saveOrder()}))},removeInactiveWidgets:function(){var e,i=w(".remove-inactive-widgets"),t=this;w(".spinner",i).addClass("is-active"),e={action:"delete-inactive-widgets",removeinactivewidgets:w("#_wpnonce_remove_inactive_widgets").val()},e=w.param(e),w.post(ajaxurl,e,function(){w("#wp_inactive_widgets .widget").each(function(){var e=w(this);delete t.dirtyWidgets[e.find("input.widget-id").val()],e.remove()}),w("#inactive-widgets-control-remove").prop("disabled",!0),w(".spinner",i).removeClass("is-active")})},appendTitle:function(e){var i=(i=w('input[id*="-title"]',e).val()||"")&&": "+i.replace(/<[^<>]+>/g,"").replace(/</g,"<").replace(/>/g,">");w(e).children(".widget-top").children(".widget-title").children().children(".in-widget-title").html(i)},close:function(e){e.children(".widget-inside").slideUp("fast",function(){e.attr("style","").find(".widget-top button.widget-action").attr("aria-expanded","false").focus()})},addWidget:function(e){var i,e=e.find(".widgets-chooser-selected").data("sidebarId"),e=w("#"+e),t=w("#available-widgets").find(".widget-in-question").clone(),d=t.attr("id"),a=t.find("input.add_new").val(),s=t.find("input.multi_number").val();t.find(".widgets-chooser").remove(),"multi"===a?(t.html(t.html().replace(/<[^<>]+>/g,function(e){return e.replace(/__i__|%i%/g,s)})),t.attr("id",d.replace("__i__",s)),s++,w("#"+d).find("input.multi_number").val(s)):"single"===a&&(t.attr("id","new-"+d),w("#"+d).hide()),e.closest(".widgets-holder-wrap").removeClass("closed").find(".handlediv").attr("aria-expanded","true"),e.append(t),e.sortable("refresh"),wpWidgets.save(t,0,0,1),t.find("input.add_new").val(""),l.trigger("widget-added",[t]),d=(a=w(window).scrollTop())+w(window).height(),(i=e.offset()).bottom=i.top+e.outerHeight(),(a>i.bottom||d<i.top)&&w("html, body").animate({scrollTop:i.top-130},200),window.setTimeout(function(){t.find(".widget-title").trigger("click"),window.wp.a11y.speak(wp.i18n.__("Widget has been added to the selected sidebar"),"assertive")},250)},closeChooser:function(){var e=this,i=w("#available-widgets .widget-in-question");w(".widgets-chooser").slideUp(200,function(){w("#wpbody-content").append(this),e.clearWidgetSelection(),i.find(".widget-action").attr("aria-expanded","false").focus()})},clearWidgetSelection:function(){w("#widgets-left").removeClass("chooser"),w(".widget-in-question").removeClass("widget-in-question")},closeSidebar:function(e){this.hoveredSidebar.addClass("closed").find(".handlediv").attr("aria-expanded","false"),w(e.target).css("min-height",""),this.hoveredSidebar=null}},w(function(){wpWidgets.init()})}(jQuery),wpWidgets.l10n=wpWidgets.l10n||{save:"",saved:"",saveAlert:"",widgetAdded:""},wpWidgets.l10n=window.wp.deprecateL10nObject("wpWidgets.l10n",wpWidgets.l10n,"5.5.0"); custom-background.js 0000644 00000006553 15174671433 0010555 0 ustar 00 /** * @output wp-admin/js/custom-background.js */ /* global ajaxurl */ /** * Registers all events for customizing the background. * * @since 3.0.0 * * @requires jQuery */ (function($) { $( function() { var frame, bgImage = $( '#custom-background-image' ); /** * Instantiates the WordPress color picker and binds the change and clear events. * * @since 3.5.0 * * @return {void} */ $('#background-color').wpColorPicker({ change: function( event, ui ) { bgImage.css('background-color', ui.color.toString()); }, clear: function() { bgImage.css('background-color', ''); } }); /** * Alters the background size CSS property whenever the background size input has changed. * * @since 4.7.0 * * @return {void} */ $( 'select[name="background-size"]' ).on( 'change', function() { bgImage.css( 'background-size', $( this ).val() ); }); /** * Alters the background position CSS property whenever the background position input has changed. * * @since 4.7.0 * * @return {void} */ $( 'input[name="background-position"]' ).on( 'change', function() { bgImage.css( 'background-position', $( this ).val() ); }); /** * Alters the background repeat CSS property whenever the background repeat input has changed. * * @since 3.0.0 * * @return {void} */ $( 'input[name="background-repeat"]' ).on( 'change', function() { bgImage.css( 'background-repeat', $( this ).is( ':checked' ) ? 'repeat' : 'no-repeat' ); }); /** * Alters the background attachment CSS property whenever the background attachment input has changed. * * @since 4.7.0 * * @return {void} */ $( 'input[name="background-attachment"]' ).on( 'change', function() { bgImage.css( 'background-attachment', $( this ).is( ':checked' ) ? 'scroll' : 'fixed' ); }); /** * Binds the event for opening the WP Media dialog. * * @since 3.5.0 * * @return {void} */ $('#choose-from-library-link').on( 'click', function( event ) { var $el = $(this); event.preventDefault(); // If the media frame already exists, reopen it. if ( frame ) { frame.open(); return; } // Create the media frame. frame = wp.media.frames.customBackground = wp.media({ // Set the title of the modal. title: $el.data('choose'), // Tell the modal to show only images. library: { type: 'image' }, // Customize the submit button. button: { // Set the text of the button. text: $el.data('update'), /* * Tell the button not to close the modal, since we're * going to refresh the page when the image is selected. */ close: false } }); /** * When an image is selected, run a callback. * * @since 3.5.0 * * @return {void} */ frame.on( 'select', function() { // Grab the selected attachment. var attachment = frame.state().get('selection').first(); var nonceValue = $( '#_wpnonce' ).val() || ''; // Run an Ajax request to set the background image. $.post( ajaxurl, { action: 'set-background-image', attachment_id: attachment.id, _ajax_nonce: nonceValue, size: 'full' }).done( function() { // When the request completes, reload the window. window.location.reload(); }); }); // Finally, open the modal. frame.open(); }); }); })(jQuery); media-gallery.js 0000644 00000002427 15174671433 0007636 0 ustar 00 /** * This file is used on media-upload.php which has been replaced by media-new.php and upload.php * * @deprecated 3.5.0 * @output wp-admin/js/media-gallery.js */ /* global ajaxurl */ jQuery(function($) { /** * Adds a click event handler to the element with a 'wp-gallery' class. */ $( 'body' ).on( 'click.wp-gallery', function(e) { var target = $( e.target ), id, img_size, nonceValue; if ( target.hasClass( 'wp-set-header' ) ) { // Opens the image to preview it full size. ( window.dialogArguments || opener || parent || top ).location.href = target.data( 'location' ); e.preventDefault(); } else if ( target.hasClass( 'wp-set-background' ) ) { // Sets the image as background of the theme. id = target.data( 'attachment-id' ); img_size = $( 'input[name="attachments[' + id + '][image-size]"]:checked').val(); nonceValue = $( '#_wpnonce' ).val() && ''; /** * This Ajax action has been deprecated since 3.5.0, see custom-background.php */ jQuery.post(ajaxurl, { action: 'set-background-image', attachment_id: id, _ajax_nonce: nonceValue, size: img_size }, function() { var win = window.dialogArguments || opener || parent || top; win.tb_remove(); win.location.reload(); }); e.preventDefault(); } }); }); user-suggest.js 0000644 00000004375 15174671433 0007563 0 ustar 00 /** * Suggests users in a multisite environment. * * For input fields where the admin can select a user based on email or * username, this script shows an autocompletion menu for these inputs. Should * only be used in a multisite environment. Only users in the currently active * site are shown. * * @since 3.4.0 * @output wp-admin/js/user-suggest.js */ /* global ajaxurl, current_site_id, isRtl */ (function( $ ) { var id = ( typeof current_site_id !== 'undefined' ) ? '&site_id=' + current_site_id : ''; $( function() { var position = { offset: '0, -1' }; if ( typeof isRtl !== 'undefined' && isRtl ) { position.my = 'right top'; position.at = 'right bottom'; } /** * Adds an autocomplete function to input fields marked with the class * 'wp-suggest-user'. * * A minimum of two characters is required to trigger the suggestions. The * autocompletion menu is shown at the left bottom of the input field. On * RTL installations, it is shown at the right top. Adds the class 'open' to * the input field when the autocompletion menu is shown. * * Does a backend call to retrieve the users. * * Optional data-attributes: * - data-autocomplete-type (add, search) * The action that is going to be performed: search for existing users * or add a new one. Default: add * - data-autocomplete-field (user_login, user_email) * The field that is returned as the value for the suggestion. * Default: user_login * * @see wp-admin/includes/admin-actions.php:wp_ajax_autocomplete_user() */ $( '.wp-suggest-user' ).each( function(){ var $this = $( this ), autocompleteType = ( typeof $this.data( 'autocompleteType' ) !== 'undefined' ) ? $this.data( 'autocompleteType' ) : 'add', autocompleteField = ( typeof $this.data( 'autocompleteField' ) !== 'undefined' ) ? $this.data( 'autocompleteField' ) : 'user_login'; $this.autocomplete({ source: ajaxurl + '?action=autocomplete-user&autocomplete_type=' + autocompleteType + '&autocomplete_field=' + autocompleteField + id, delay: 500, minLength: 2, position: position, open: function() { $( this ).addClass( 'open' ); }, close: function() { $( this ).removeClass( 'open' ); } }); }); }); })( jQuery ); word-count.js 0000644 00000017020 15174671433 0007216 0 ustar 00 /** * Word or character counting functionality. Count words or characters in a * provided text string. * * @namespace wp.utils * * @since 2.6.0 * @output wp-admin/js/word-count.js */ ( function() { /** * Word counting utility * * @namespace wp.utils.wordcounter * @memberof wp.utils * * @class * * @param {Object} settings Optional. Key-value object containing overrides for * settings. * @param {RegExp} settings.HTMLRegExp Optional. Regular expression to find HTML elements. * @param {RegExp} settings.HTMLcommentRegExp Optional. Regular expression to find HTML comments. * @param {RegExp} settings.spaceRegExp Optional. Regular expression to find irregular space * characters. * @param {RegExp} settings.HTMLEntityRegExp Optional. Regular expression to find HTML entities. * @param {RegExp} settings.connectorRegExp Optional. Regular expression to find connectors that * split words. * @param {RegExp} settings.removeRegExp Optional. Regular expression to find remove unwanted * characters to reduce false-positives. * @param {RegExp} settings.astralRegExp Optional. Regular expression to find unwanted * characters when searching for non-words. * @param {RegExp} settings.wordsRegExp Optional. Regular expression to find words by spaces. * @param {RegExp} settings.characters_excluding_spacesRegExp Optional. Regular expression to find characters which * are non-spaces. * @param {RegExp} settings.characters_including_spacesRegExp Optional. Regular expression to find characters * including spaces. * @param {RegExp} settings.shortcodesRegExp Optional. Regular expression to find shortcodes. * @param {Object} settings.l10n Optional. Localization object containing specific * configuration for the current localization. * @param {string} settings.l10n.type Optional. Method of finding words to count. * @param {Array} settings.l10n.shortcodes Optional. Array of shortcodes that should be removed * from the text. * * @return {void} */ function WordCounter( settings ) { var key, shortcodes; // Apply provided settings to object settings. if ( settings ) { for ( key in settings ) { // Only apply valid settings. if ( settings.hasOwnProperty( key ) ) { this.settings[ key ] = settings[ key ]; } } } shortcodes = this.settings.l10n.shortcodes; // If there are any localization shortcodes, add this as type in the settings. if ( shortcodes && shortcodes.length ) { this.settings.shortcodesRegExp = new RegExp( '\\[\\/?(?:' + shortcodes.join( '|' ) + ')[^\\]]*?\\]', 'g' ); } } // Default settings. WordCounter.prototype.settings = { HTMLRegExp: /<\/?[a-z][^>]*?>/gi, HTMLcommentRegExp: /<!--[\s\S]*?-->/g, spaceRegExp: / | /gi, HTMLEntityRegExp: /&\S+?;/g, // \u2014 = em-dash. connectorRegExp: /--|\u2014/g, // Characters to be removed from input text. removeRegExp: new RegExp( [ '[', // Basic Latin (extract). '\u0021-\u0040\u005B-\u0060\u007B-\u007E', // Latin-1 Supplement (extract). '\u0080-\u00BF\u00D7\u00F7', /* * The following range consists of: * General Punctuation * Superscripts and Subscripts * Currency Symbols * Combining Diacritical Marks for Symbols * Letterlike Symbols * Number Forms * Arrows * Mathematical Operators * Miscellaneous Technical * Control Pictures * Optical Character Recognition * Enclosed Alphanumerics * Box Drawing * Block Elements * Geometric Shapes * Miscellaneous Symbols * Dingbats * Miscellaneous Mathematical Symbols-A * Supplemental Arrows-A * Braille Patterns * Supplemental Arrows-B * Miscellaneous Mathematical Symbols-B * Supplemental Mathematical Operators * Miscellaneous Symbols and Arrows */ '\u2000-\u2BFF', // Supplemental Punctuation. '\u2E00-\u2E7F', ']' ].join( '' ), 'g' ), // Remove UTF-16 surrogate points, see https://en.wikipedia.org/wiki/UTF-16#U.2BD800_to_U.2BDFFF astralRegExp: /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, wordsRegExp: /\S\s+/g, characters_excluding_spacesRegExp: /\S/g, /* * Match anything that is not a formatting character, excluding: * \f = form feed * \n = new line * \r = carriage return * \t = tab * \v = vertical tab * \u00AD = soft hyphen * \u2028 = line separator * \u2029 = paragraph separator */ characters_including_spacesRegExp: /[^\f\n\r\t\v\u00AD\u2028\u2029]/g, l10n: window.wordCountL10n || {} }; /** * Counts the number of words (or other specified type) in the specified text. * * @since 2.6.0 * * @memberof wp.utils.wordcounter * * @param {string} text Text to count elements in. * @param {string} type Optional. Specify type to use. * * @return {number} The number of items counted. */ WordCounter.prototype.count = function( text, type ) { var count = 0; // Use default type if none was provided. type = type || this.settings.l10n.type; // Sanitize type to one of three possibilities: 'words', 'characters_excluding_spaces' or 'characters_including_spaces'. if ( type !== 'characters_excluding_spaces' && type !== 'characters_including_spaces' ) { type = 'words'; } // If we have any text at all. if ( text ) { text = text + '\n'; // Replace all HTML with a new-line. text = text.replace( this.settings.HTMLRegExp, '\n' ); // Remove all HTML comments. text = text.replace( this.settings.HTMLcommentRegExp, '' ); // If a shortcode regular expression has been provided use it to remove shortcodes. if ( this.settings.shortcodesRegExp ) { text = text.replace( this.settings.shortcodesRegExp, '\n' ); } // Normalize non-breaking space to a normal space. text = text.replace( this.settings.spaceRegExp, ' ' ); if ( type === 'words' ) { // Remove HTML Entities. text = text.replace( this.settings.HTMLEntityRegExp, '' ); // Convert connectors to spaces to count attached text as words. text = text.replace( this.settings.connectorRegExp, ' ' ); // Remove unwanted characters. text = text.replace( this.settings.removeRegExp, '' ); } else { // Convert HTML Entities to "a". text = text.replace( this.settings.HTMLEntityRegExp, 'a' ); // Remove surrogate points. text = text.replace( this.settings.astralRegExp, 'a' ); } // Match with the selected type regular expression to count the items. text = text.match( this.settings[ type + 'RegExp' ] ); // If we have any matches, set the count to the number of items found. if ( text ) { count = text.length; } } return count; }; // Add the WordCounter to the WP Utils. window.wp = window.wp || {}; window.wp.utils = window.wp.utils || {}; window.wp.utils.WordCounter = WordCounter; } )(); customize-controls.min.js 0000644 00000333302 15174671433 0011566 0 ustar 00 /*! This file is auto-generated */ !function(J){var a,s,t,e,n,i,Y=wp.customize,o=window.matchMedia("(prefers-reduced-motion: reduce)"),r=o.matches;o.addEventListener("change",function(e){r=e.matches}),Y.OverlayNotification=Y.Notification.extend({loading:!1,initialize:function(e,t){var n=this;Y.Notification.prototype.initialize.call(n,e,t),n.containerClasses+=" notification-overlay",n.loading&&(n.containerClasses+=" notification-loading")},render:function(){var e=Y.Notification.prototype.render.call(this);return e.on("keydown",_.bind(this.handleEscape,this)),e},handleEscape:function(e){var t=this;27===e.which&&(e.stopPropagation(),t.dismissible)&&t.parent&&t.parent.remove(t.code)}}),Y.Notifications=Y.Values.extend({alt:!1,defaultConstructor:Y.Notification,initialize:function(e){var t=this;Y.Values.prototype.initialize.call(t,e),_.bindAll(t,"constrainFocus"),t._addedIncrement=0,t._addedOrder={},t.bind("add",function(e){t.trigger("change",e)}),t.bind("removed",function(e){t.trigger("change",e)})},count:function(){return _.size(this._value)},add:function(e,t){var n,i=this,t="string"==typeof e?(n=e,t):(n=e.code,e);return i.has(n)||(i._addedIncrement+=1,i._addedOrder[n]=i._addedIncrement),Y.Values.prototype.add.call(i,n,t)},remove:function(e){return delete this._addedOrder[e],Y.Values.prototype.remove.call(this,e)},get:function(e){var a,o=this,t=_.values(o._value);return _.extend({sort:!1},e).sort&&(a={error:4,warning:3,success:2,info:1},t.sort(function(e,t){var n=0,i=0;return(n=_.isUndefined(a[e.type])?n:a[e.type])!==(i=_.isUndefined(a[t.type])?i:a[t.type])?i-n:o._addedOrder[t.code]-o._addedOrder[e.code]})),t},render:function(){var e,t,n,i=this,a=!1,o=[],s={};i.container&&i.container.length&&(e=i.get({sort:!0}),i.container.toggle(0!==e.length),i.container.is(i.previousContainer)&&_.isEqual(e,i.previousNotifications)||((n=i.container.children("ul").first()).length||(n=J("<ul></ul>"),i.container.append(n)),n.find("> [data-code]").remove(),_.each(i.previousNotifications,function(e){s[e.code]=e}),_.each(e,function(e){var t;!wp.a11y||s[e.code]&&_.isEqual(e.message,s[e.code].message)||wp.a11y.speak(e.message,"assertive"),t=J(e.render()),e.container=t,n.append(t),e.extended(Y.OverlayNotification)&&o.push(e)}),(t=Boolean(o.length))!==(a=i.previousNotifications?Boolean(_.find(i.previousNotifications,function(e){return e.extended(Y.OverlayNotification)})):a)&&(J(document.body).toggleClass("customize-loading",t),i.container.toggleClass("has-overlay-notifications",t),t?(i.previousActiveElement=document.activeElement,J(document).on("keydown",i.constrainFocus)):J(document).off("keydown",i.constrainFocus)),t?(i.focusContainer=o[o.length-1].container,i.focusContainer.prop("tabIndex",-1),((a=i.focusContainer.find(":focusable")).length?a.first():i.focusContainer).focus()):i.previousActiveElement&&(J(i.previousActiveElement).trigger("focus"),i.previousActiveElement=null),i.previousNotifications=e,i.previousContainer=i.container,i.trigger("rendered")))},constrainFocus:function(e){var t,n=this;e.stopPropagation(),9===e.which&&(0===(t=n.focusContainer.find(":focusable")).length&&(t=n.focusContainer),!J.contains(n.focusContainer[0],e.target)||!J.contains(n.focusContainer[0],document.activeElement)||t.last().is(e.target)&&!e.shiftKey?(e.preventDefault(),t.first().focus()):t.first().is(e.target)&&e.shiftKey&&(e.preventDefault(),t.last().focus()))}}),Y.Setting=Y.Value.extend({defaults:{transport:"refresh",dirty:!1},initialize:function(e,t,n){var i=this,n=_.extend({previewer:Y.previewer},i.defaults,n||{});Y.Value.prototype.initialize.call(i,t,n),i.id=e,i._dirty=n.dirty,i.notifications=new Y.Notifications,i.bind(i.preview)},preview:function(){var e=this,t=e.transport;"postMessage"===(t="postMessage"!==t||Y.state("previewerAlive").get()?t:"refresh")?e.previewer.send("setting",[e.id,e()]):"refresh"===t&&e.previewer.refresh()},findControls:function(){var n=this,i=[];return Y.control.each(function(t){_.each(t.settings,function(e){e.id===n.id&&i.push(t)})}),i}}),Y._latestRevision=0,Y._lastSavedRevision=0,Y._latestSettingRevisions={},Y.bind("change",function(e){Y._latestRevision+=1,Y._latestSettingRevisions[e.id]=Y._latestRevision}),Y.bind("ready",function(){Y.bind("add",function(e){e._dirty&&(Y._latestRevision+=1,Y._latestSettingRevisions[e.id]=Y._latestRevision)})}),Y.dirtyValues=function(n){var i={};return Y.each(function(e){var t;e._dirty&&(t=Y._latestSettingRevisions[e.id],Y.state("changesetStatus").get()&&n&&n.unsaved&&(_.isUndefined(t)||t<=Y._lastSavedRevision)||(i[e.id]=e.get()))}),i},Y.requestChangesetUpdate=function(n,e){var t,i={},a=new J.Deferred;if(0!==Y.state("processing").get())a.reject("already_processing");else if(e=_.extend({title:null,date:null,autosave:!1,force:!1},e),n&&_.extend(i,n),_.each(Y.dirtyValues({unsaved:!0}),function(e,t){n&&null===n[t]||(i[t]=_.extend({},i[t]||{},{value:e}))}),Y.trigger("changeset-save",i,e),!e.force&&_.isEmpty(i)&&null===e.title&&null===e.date)a.resolve({});else{if(e.status)return a.reject({code:"illegal_status_in_changeset_update"}).promise();if(e.date&&e.autosave)return a.reject({code:"illegal_autosave_with_date_gmt"}).promise();Y.state("processing").set(Y.state("processing").get()+1),a.always(function(){Y.state("processing").set(Y.state("processing").get()-1)}),delete(t=Y.previewer.query({excludeCustomizedSaved:!0})).customized,_.extend(t,{nonce:Y.settings.nonce.save,customize_theme:Y.settings.theme.stylesheet,customize_changeset_data:JSON.stringify(i)}),null!==e.title&&(t.customize_changeset_title=e.title),null!==e.date&&(t.customize_changeset_date=e.date),!1!==e.autosave&&(t.customize_changeset_autosave="true"),Y.trigger("save-request-params",t),(e=wp.ajax.post("customize_save",t)).done(function(e){var n={};Y._lastSavedRevision=Math.max(Y._latestRevision,Y._lastSavedRevision),Y.state("changesetStatus").set(e.changeset_status),e.changeset_date&&Y.state("changesetDate").set(e.changeset_date),a.resolve(e),Y.trigger("changeset-saved",e),e.setting_validities&&_.each(e.setting_validities,function(e,t){!0===e&&_.isObject(i[t])&&!_.isUndefined(i[t].value)&&(n[t]=i[t].value)}),Y.previewer.send("changeset-saved",_.extend({},e,{saved_changeset_values:n}))}),e.fail(function(e){a.reject(e),Y.trigger("changeset-error",e)}),e.always(function(e){e.setting_validities&&Y._handleSettingValidities({settingValidities:e.setting_validities})})}return a.promise()},Y.utils.bubbleChildValueChanges=function(n,e){J.each(e,function(e,t){n[t].bind(function(e,t){n.parent&&e!==t&&n.parent.trigger("change",n)})})},o=function(e){var t,n,i=this,a=function(){var e;i.extended(Y.Panel)&&1<(n=i.sections()).length&&n.forEach(function(e){e.expanded()&&e.collapse()}),e=(i.extended(Y.Panel)||i.extended(Y.Section))&&i.expanded&&i.expanded()?i.contentContainer:i.container,(n=0===(n=e.find(".control-focus:first")).length?e.find("input, select, textarea, button, object, a[href], [tabindex]").filter(":visible").first():n).focus()};(e=e||{}).completeCallback?(t=e.completeCallback,e.completeCallback=function(){a(),t()}):e.completeCallback=a,Y.state("paneVisible").set(!0),i.expand?i.expand(e):e.completeCallback()},Y.utils.prioritySort=function(e,t){return e.priority()===t.priority()&&"number"==typeof e.params.instanceNumber&&"number"==typeof t.params.instanceNumber?e.params.instanceNumber-t.params.instanceNumber:e.priority()-t.priority()},Y.utils.isKeydownButNotEnterEvent=function(e){return"keydown"===e.type&&13!==e.which},Y.utils.areElementListsEqual=function(e,t){return e.length===t.length&&-1===_.indexOf(_.map(_.zip(e,t),function(e){return J(e[0]).is(e[1])}),!1)},Y.utils.highlightButton=function(e,t){var n,i="button-see-me",a=!1;function o(){a=!0}return(n=_.extend({delay:0,focusTarget:e},t)).focusTarget.on("focusin",o),setTimeout(function(){n.focusTarget.off("focusin",o),a||(e.addClass(i),e.one("animationend",function(){e.removeClass(i)}))},n.delay),o},Y.utils.getCurrentTimestamp=function(){var e=_.now(),t=new Date(Y.settings.initialServerDate.replace(/-/g,"/")),e=e-Y.settings.initialClientTimestamp;return e+=Y.settings.initialClientTimestamp-Y.settings.initialServerTimestamp,t.setTime(t.getTime()+e),t.getTime()},Y.utils.getRemainingTime=function(e){e=e instanceof Date?e.getTime():"string"==typeof e?new Date(e.replace(/-/g,"/")).getTime():e,e-=Y.utils.getCurrentTimestamp();return Math.ceil(e/1e3)},t=document.createElement("div"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},n=_.find(_.keys(e),function(e){return!_.isUndefined(t.style[e])}),s=n?e[n]:null,a=Y.Class.extend({defaultActiveArguments:{duration:"fast",completeCallback:J.noop},defaultExpandedArguments:{duration:"fast",completeCallback:J.noop},containerType:"container",defaults:{title:"",description:"",priority:100,type:"default",content:null,active:!0,instanceNumber:null},initialize:function(e,t){var n=this;n.id=e,a.instanceCounter||(a.instanceCounter=0),a.instanceCounter++,J.extend(n,{params:_.defaults(t.params||t,n.defaults)}),n.params.instanceNumber||(n.params.instanceNumber=a.instanceCounter),n.notifications=new Y.Notifications,n.templateSelector=n.params.templateId||"customize-"+n.containerType+"-"+n.params.type,n.container=J(n.params.content),0===n.container.length&&(n.container=J(n.getContainer())),n.headContainer=n.container,n.contentContainer=n.getContent(),n.container=n.container.add(n.contentContainer),n.deferred={embedded:new J.Deferred},n.priority=new Y.Value,n.active=new Y.Value,n.activeArgumentsQueue=[],n.expanded=new Y.Value,n.expandedArgumentsQueue=[],n.active.bind(function(e){var t=n.activeArgumentsQueue.shift(),t=J.extend({},n.defaultActiveArguments,t);e=e&&n.isContextuallyActive(),n.onChangeActive(e,t)}),n.expanded.bind(function(e){var t=n.expandedArgumentsQueue.shift(),t=J.extend({},n.defaultExpandedArguments,t);n.onChangeExpanded(e,t)}),n.deferred.embedded.done(function(){n.setupNotifications(),n.attachEvents()}),Y.utils.bubbleChildValueChanges(n,["priority","active"]),n.priority.set(n.params.priority),n.active.set(n.params.active),n.expanded.set(!1)},getNotificationsContainerElement:function(){return this.contentContainer.find(".customize-control-notifications-container:first")},setupNotifications:function(){var e,t=this;t.notifications.container=t.getNotificationsContainerElement(),t.expanded.bind(e=function(){t.expanded.get()&&t.notifications.render()}),e(),t.notifications.bind("change",_.debounce(e))},ready:function(){},_children:function(t,e){var n=this,i=[];return Y[e].each(function(e){e[t].get()===n.id&&i.push(e)}),i.sort(Y.utils.prioritySort),i},isContextuallyActive:function(){throw new Error("Container.isContextuallyActive() must be overridden in a subclass.")},onChangeActive:function(e,t){var n,i=this,a=i.headContainer;t.unchanged?t.completeCallback&&t.completeCallback():(n="resolved"===Y.previewer.deferred.active.state()?t.duration:0,i.extended(Y.Panel)&&(Y.panel.each(function(e){e!==i&&e.expanded()&&(n=0)}),e||_.each(i.sections(),function(e){e.collapse({duration:0})})),J.contains(document,a.get(0))?e?a.slideDown(n,t.completeCallback):i.expanded()?i.collapse({duration:n,completeCallback:function(){a.slideUp(n,t.completeCallback)}}):a.slideUp(n,t.completeCallback):(a.toggle(e),t.completeCallback&&t.completeCallback()))},_toggleActive:function(e,t){return t=t||{},e&&this.active.get()||!e&&!this.active.get()?(t.unchanged=!0,this.onChangeActive(this.active.get(),t),!1):(t.unchanged=!1,this.activeArgumentsQueue.push(t),this.active.set(e),!0)},activate:function(e){return this._toggleActive(!0,e)},deactivate:function(e){return this._toggleActive(!1,e)},onChangeExpanded:function(){throw new Error("Must override with subclass.")},_toggleExpanded:function(e,t){var n,i=this;return n=(t=t||{}).completeCallback,!(e&&!i.active()||(Y.state("paneVisible").set(!0),t.completeCallback=function(){n&&n.apply(i,arguments),e?i.container.trigger("expanded"):i.container.trigger("collapsed")},e&&i.expanded.get()||!e&&!i.expanded.get()?(t.unchanged=!0,i.onChangeExpanded(i.expanded.get(),t),1):(t.unchanged=!1,i.expandedArgumentsQueue.push(t),i.expanded.set(e),0)))},expand:function(e){return this._toggleExpanded(!0,e)},collapse:function(e){return this._toggleExpanded(!1,e)},_animateChangeExpanded:function(t){var a,o,n,i;!s||r?_.defer(function(){t&&t()}):(o=(a=this).contentContainer,i=o.closest(".wp-full-overlay").add(o),a.panel&&""!==a.panel()&&!Y.panel(a.panel()).contentContainer.hasClass("skip-transition")||(i=i.add("#customize-info, .customize-pane-parent")),n=function(e){2===e.eventPhase&&J(e.target).is(o)&&(o.off(s,n),i.removeClass("busy"),t)&&t()},o.on(s,n),i.addClass("busy"),_.defer(function(){var e=o.closest(".wp-full-overlay-sidebar-content"),t=e.scrollTop(),n=o.data("previous-scrollTop")||0,i=a.expanded();i&&0<t?(o.css("top",t+"px"),o.data("previous-scrollTop",t)):!i&&0<t+n&&(o.css("top",n-t+"px"),e.scrollTop(n))}))},focus:o,getContainer:function(){var e=this,t=0!==J("#tmpl-"+e.templateSelector).length?wp.template(e.templateSelector):wp.template("customize-"+e.containerType+"-default");return t&&e.container?t(_.extend({id:e.id},e.params)).toString().trim():"<li></li>"},getContent:function(){var e=this.container,t=e.find(".accordion-section-content, .control-panel-content").first(),n="sub-"+e.attr("id"),i=n,a=e.attr("aria-owns");return e.attr("aria-owns",i=a?i+" "+a:i),t.detach().attr({id:n,class:"customize-pane-child "+t.attr("class")+" "+e.attr("class")})}}),Y.Section=a.extend({containerType:"section",containerParent:"#customize-theme-controls",containerPaneParent:".customize-pane-parent",defaults:{title:"",description:"",priority:100,type:"default",content:null,active:!0,instanceNumber:null,panel:null,customizeAction:""},initialize:function(e,t){var n=this,i=t.params||t;i.type||_.find(Y.sectionConstructor,function(e,t){return e===n.constructor&&(i.type=t,!0)}),a.prototype.initialize.call(n,e,i),n.id=e,n.panel=new Y.Value,n.panel.bind(function(e){J(n.headContainer).toggleClass("control-subsection",!!e)}),n.panel.set(n.params.panel||""),Y.utils.bubbleChildValueChanges(n,["panel"]),n.embed(),n.deferred.embedded.done(function(){n.ready()})},embed:function(){var e,n=this;n.containerParent=Y.ensure(n.containerParent),n.panel.bind(e=function(e){var t;e?Y.panel(e,function(e){e.deferred.embedded.done(function(){t=e.contentContainer,n.headContainer.parent().is(t)||t.append(n.headContainer),n.contentContainer.parent().is(n.headContainer)||n.containerParent.append(n.contentContainer),n.deferred.embedded.resolve()})}):(t=Y.ensure(n.containerPaneParent),n.headContainer.parent().is(t)||t.append(n.headContainer),n.contentContainer.parent().is(n.headContainer)||n.containerParent.append(n.contentContainer),n.deferred.embedded.resolve())}),e(n.panel.get())},attachEvents:function(){var e,t,n=this;n.container.hasClass("cannot-expand")||(n.container.find(".accordion-section-title button, .customize-section-back, .accordion-section-title[tabindex]").on("click keydown",function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.expanded()?n.collapse():n.expand())}),n.container.find(".customize-section-title .customize-help-toggle").on("click",function(){(e=n.container.find(".section-meta")).hasClass("cannot-expand")||((t=e.find(".customize-section-description:first")).toggleClass("open"),t.slideToggle(n.defaultExpandedArguments.duration,function(){t.trigger("toggled")}),J(this).attr("aria-expanded",function(e,t){return"true"===t?"false":"true"}))}))},isContextuallyActive:function(){var e=this.controls(),t=0;return _(e).each(function(e){e.active()&&(t+=1)}),0!==t},controls:function(){return this._children("section","control")},onChangeExpanded:function(e,t){var n,i=this,a=i.headContainer.closest(".wp-full-overlay-sidebar-content"),o=i.contentContainer,s=i.headContainer.closest(".wp-full-overlay"),r=o.find(".customize-section-back"),c=i.headContainer.find(".accordion-section-title button, .accordion-section-title[tabindex]").first();e&&!o.hasClass("open")?(n=t.unchanged?t.completeCallback:function(){i._animateChangeExpanded(function(){r.attr("tabindex","0"),r.trigger("focus"),o.css("top",""),a.scrollTop(0),t.completeCallback&&t.completeCallback()}),o.addClass("open"),s.addClass("section-open"),Y.state("expandedSection").set(i)}.bind(this),t.allowMultiple||Y.section.each(function(e){e!==i&&e.collapse({duration:t.duration})}),i.panel()?Y.panel(i.panel()).expand({duration:t.duration,completeCallback:n}):(t.allowMultiple||Y.panel.each(function(e){e.collapse()}),n())):!e&&o.hasClass("open")?(i.panel()&&(n=Y.panel(i.panel())).contentContainer.hasClass("skip-transition")&&n.collapse(),i._animateChangeExpanded(function(){r.attr("tabindex","-1"),c.trigger("focus"),o.css("top",""),t.completeCallback&&t.completeCallback()}),o.removeClass("open"),s.removeClass("section-open"),i===Y.state("expandedSection").get()&&Y.state("expandedSection").set(!1)):t.completeCallback&&t.completeCallback()}}),Y.ThemesSection=Y.Section.extend({currentTheme:"",overlay:"",template:"",screenshotQueue:null,$window:null,$body:null,loaded:0,loading:!1,fullyLoaded:!1,term:"",tags:"",nextTerm:"",nextTags:"",filtersHeight:0,headerContainer:null,updateCountDebounced:null,initialize:function(e,t){var n=this;n.headerContainer=J(),n.$window=J(window),n.$body=J(document.body),Y.Section.prototype.initialize.call(n,e,t),n.updateCountDebounced=_.debounce(n.updateCount,500)},embed:function(){var n=this,e=function(e){var t;Y.panel(e,function(e){e.deferred.embedded.done(function(){t=e.contentContainer,n.headContainer.parent().is(t)||t.find(".customize-themes-full-container-container").before(n.headContainer),n.contentContainer.parent().is(n.headContainer)||n.containerParent.append(n.contentContainer),n.deferred.embedded.resolve()})})};n.panel.bind(e),e(n.panel.get())},ready:function(){var t=this;t.overlay=t.container.find(".theme-overlay"),t.template=wp.template("customize-themes-details-view"),t.container.on("keydown",function(e){t.overlay.find(".theme-wrap").is(":visible")&&(39===e.keyCode&&t.nextTheme(),37===e.keyCode&&t.previousTheme(),27===e.keyCode)&&(t.$body.hasClass("modal-open")?t.closeDetails():t.headerContainer.find(".customize-themes-section-title").focus(),e.stopPropagation())}),t.renderScreenshots=_.throttle(t.renderScreenshots,100),_.bindAll(t,"renderScreenshots","loadMore","checkTerm","filtersChecked")},isContextuallyActive:function(){return this.active()},attachEvents:function(){var e,n=this;function t(){var e=n.headerContainer.find(".customize-themes-section-title");e.toggleClass("selected",n.expanded()),e.attr("aria-expanded",n.expanded()?"true":"false"),n.expanded()||e.removeClass("details-open")}n.container.find(".customize-section-back").on("click keydown",function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.collapse())}),n.headerContainer=J("#accordion-section-"+n.id),n.headerContainer.on("click",".customize-themes-section-title",function(){n.headerContainer.find(".filter-details").length&&(n.headerContainer.find(".customize-themes-section-title").toggleClass("details-open").attr("aria-expanded",function(e,t){return"true"===t?"false":"true"}),n.headerContainer.find(".filter-details").slideToggle(180)),n.expanded()||n.expand()}),n.container.on("click",".theme-actions .preview-theme",function(){Y.panel("themes").loadThemePreview(J(this).data("slug"))}),n.container.on("click",".left",function(){n.previousTheme()}),n.container.on("click",".right",function(){n.nextTheme()}),n.container.on("click",".theme-backdrop, .close",function(){n.closeDetails()}),"local"===n.params.filter_type?n.container.on("input",".wp-filter-search-themes",function(e){n.filterSearch(e.currentTarget.value)}):"remote"===n.params.filter_type&&(e=_.debounce(n.checkTerm,500),n.contentContainer.on("input",".wp-filter-search",function(){Y.panel("themes").expanded()&&(e(n),n.expanded()||n.expand())}),n.contentContainer.on("click",".filter-group input",function(){n.filtersChecked(),n.checkTerm(n)})),n.contentContainer.on("click",".feature-filter-toggle",function(e){var t=J(".customize-themes-full-container"),e=J(e.currentTarget);n.filtersHeight=e.parents(".themes-filter-bar").next(".filter-drawer").height(),0<t.scrollTop()&&(t.animate({scrollTop:0},400),e.hasClass("open"))||(e.toggleClass("open").attr("aria-expanded",function(e,t){return"true"===t?"false":"true"}).parents(".themes-filter-bar").next(".filter-drawer").slideToggle(180,"linear"),e.hasClass("open")?(t=1018<window.innerWidth?50:76,n.contentContainer.find(".themes").css("margin-top",n.filtersHeight+t)):n.contentContainer.find(".themes").css("margin-top",0))}),n.contentContainer.on("click",".no-themes-local .search-dotorg-themes",function(){Y.section("wporg_themes").focus()}),n.expanded.bind(t),t(),Y.bind("ready",function(){n.contentContainer=n.container.find(".customize-themes-section"),n.contentContainer.appendTo(J(".customize-themes-full-container")),n.container.add(n.headerContainer)})},onChangeExpanded:function(e,n){var i=this,t=i.contentContainer.closest(".customize-themes-full-container");function a(){0===i.loaded&&i.loadThemes(),Y.section.each(function(e){var t;e!==i&&"themes"===e.params.type&&(t=e.contentContainer.find(".wp-filter-search").val(),i.contentContainer.find(".wp-filter-search").val(t),""===t&&""!==i.term&&"local"!==i.params.filter_type?(i.term="",i.initializeNewQuery(i.term,i.tags)):"remote"===i.params.filter_type?i.checkTerm(i):"local"===i.params.filter_type&&i.filterSearch(t),e.collapse({duration:n.duration}))}),i.contentContainer.addClass("current-section"),t.scrollTop(),t.on("scroll",_.throttle(i.renderScreenshots,300)),t.on("scroll",_.throttle(i.loadMore,300)),n.completeCallback&&n.completeCallback(),i.updateCount()}n.unchanged?n.completeCallback&&n.completeCallback():e?i.panel()&&Y.panel.has(i.panel())?Y.panel(i.panel()).expand({duration:n.duration,completeCallback:a}):a():(i.contentContainer.removeClass("current-section"),i.headerContainer.find(".filter-details").slideUp(180),t.off("scroll"),n.completeCallback&&n.completeCallback())},getContent:function(){return this.container.find(".control-section-content")},loadThemes:function(){var n,e,i=this;i.loading||(n=Math.ceil(i.loaded/100)+1,e={nonce:Y.settings.nonce.switch_themes,wp_customize:"on",theme_action:i.params.action,customized_theme:Y.settings.theme.stylesheet,page:n},"remote"===i.params.filter_type&&(e.search=i.term,e.tags=i.tags),i.headContainer.closest(".wp-full-overlay").addClass("loading"),i.loading=!0,i.container.find(".no-themes").hide(),(e=wp.ajax.post("customize_load_themes",e)).done(function(e){var t=e.themes;""!==i.nextTerm||""!==i.nextTags?(i.nextTerm&&(i.term=i.nextTerm),i.nextTags&&(i.tags=i.nextTags),i.nextTerm="",i.nextTags="",i.loading=!1,i.loadThemes()):(0!==t.length?(i.loadControls(t,n),1===n&&(_.each(i.controls().slice(0,3),function(e){e=e.params.theme.screenshot[0];e&&((new Image).src=e)}),"local"!==i.params.filter_type)&&wp.a11y.speak(Y.settings.l10n.themeSearchResults.replace("%d",e.info.results)),_.delay(i.renderScreenshots,100),("local"===i.params.filter_type||t.length<100)&&(i.fullyLoaded=!0)):0===i.loaded?(i.container.find(".no-themes").show(),wp.a11y.speak(i.container.find(".no-themes").text())):i.fullyLoaded=!0,"local"===i.params.filter_type?i.updateCount():i.updateCount(e.info.results),i.container.find(".unexpected-error").hide(),i.headContainer.closest(".wp-full-overlay").removeClass("loading"),i.loading=!1)}),e.fail(function(e){void 0===e?(i.container.find(".unexpected-error").show(),wp.a11y.speak(i.container.find(".unexpected-error").text())):"undefined"!=typeof console&&console.error&&console.error(e),i.headContainer.closest(".wp-full-overlay").removeClass("loading"),i.loading=!1}))},loadControls:function(e,t){var n=[],i=this;_.each(e,function(e){e=new Y.controlConstructor.theme(i.params.action+"_theme_"+e.id,{type:"theme",section:i.params.id,theme:e,priority:i.loaded+1});Y.control.add(e),n.push(e),i.loaded=i.loaded+1}),1!==t&&Array.prototype.push.apply(i.screenshotQueue,n)},loadMore:function(){var e,t;this.fullyLoaded||this.loading||(t=(e=this.container.closest(".customize-themes-full-container")).scrollTop()+e.height(),e.prop("scrollHeight")-3e3<t&&this.loadThemes())},filterSearch:function(e){var t,n=0,i=this,a=Y.section.has("wporg_themes")&&"remote"!==i.params.filter_type?".no-themes-local":".no-themes",o=i.controls();i.loading||(t=e.toLowerCase().trim().replace(/-/g," ").split(" "),_.each(o,function(e){e.filter(t)&&(n+=1)}),0===n?(i.container.find(a).show(),wp.a11y.speak(i.container.find(a).text())):i.container.find(a).hide(),i.renderScreenshots(),Y.reflowPaneContents(),i.updateCountDebounced(n))},checkTerm:function(e){var t;"remote"===e.params.filter_type&&(t=e.contentContainer.find(".wp-filter-search").val(),e.term!==t.trim())&&e.initializeNewQuery(t,e.tags)},filtersChecked:function(){var e=this,t=e.container.find(".filter-group").find(":checkbox"),n=[];_.each(t.filter(":checked"),function(e){n.push(J(e).prop("value"))}),0===n.length?(n="",e.contentContainer.find(".feature-filter-toggle .filter-count-0").show(),e.contentContainer.find(".feature-filter-toggle .filter-count-filters").hide()):(e.contentContainer.find(".feature-filter-toggle .theme-filter-count").text(n.length),e.contentContainer.find(".feature-filter-toggle .filter-count-0").hide(),e.contentContainer.find(".feature-filter-toggle .filter-count-filters").show()),_.isEqual(e.tags,n)||(e.loading?e.nextTags=n:"remote"===e.params.filter_type?e.initializeNewQuery(e.term,n):"local"===e.params.filter_type&&e.filterSearch(n.join(" ")))},initializeNewQuery:function(e,t){var n=this;_.each(n.controls(),function(e){e.container.remove(),Y.control.remove(e.id)}),n.loaded=0,n.fullyLoaded=!1,n.screenshotQueue=null,n.loading?(n.nextTerm=e,n.nextTags=t):(n.term=e,n.tags=t,n.loadThemes()),n.expanded()||n.expand()},renderScreenshots:function(){var o=this;null!==o.screenshotQueue&&0!==o.screenshotQueue.length||(o.screenshotQueue=_.filter(o.controls(),function(e){return!e.screenshotRendered})),o.screenshotQueue.length&&(o.screenshotQueue=_.filter(o.screenshotQueue,function(e){var t,n,i=e.container.find(".theme-screenshot"),a=i.find("img");return!(!a.length||!a.is(":hidden")&&(t=(n=o.$window.scrollTop())+o.$window.height(),a=a.offset().top,(n=n-(i=3*(n=i.height()))<=a+n&&a<=t+i)&&e.container.trigger("render-screenshot"),n))}))},getVisibleCount:function(){return this.contentContainer.find("li.customize-control:visible").length},updateCount:function(e){var t,n;e||0===e||(e=this.getVisibleCount()),n=this.contentContainer.find(".themes-displayed"),t=this.contentContainer.find(".theme-count"),0===e?t.text("0"):(n.fadeOut(180,function(){t.text(e),n.fadeIn(180)}),wp.a11y.speak(Y.settings.l10n.announceThemeCount.replace("%d",e)))},nextTheme:function(){var e=this;e.getNextTheme()&&e.showDetails(e.getNextTheme(),function(){e.overlay.find(".right").focus()})},getNextTheme:function(){var e=Y.control(this.params.action+"_theme_"+this.currentTheme),t=this.controls(),e=_.indexOf(t,e);return-1!==e&&!!(t=t[e+1])&&t.params.theme},previousTheme:function(){var e=this;e.getPreviousTheme()&&e.showDetails(e.getPreviousTheme(),function(){e.overlay.find(".left").focus()})},getPreviousTheme:function(){var e=Y.control(this.params.action+"_theme_"+this.currentTheme),t=this.controls(),e=_.indexOf(t,e);return-1!==e&&!!(t=t[e-1])&&t.params.theme},updateLimits:function(){this.getNextTheme()||this.overlay.find(".right").addClass("disabled"),this.getPreviousTheme()||this.overlay.find(".left").addClass("disabled")},loadThemePreview:function(e){return Y.ThemesPanel.prototype.loadThemePreview.call(this,e)},showDetails:function(e,t){var n=this,i=Y.panel("themes");function a(){return!i.canSwitchTheme(e.id)}n.currentTheme=e.id,n.overlay.html(n.template(e)).fadeIn("fast").focus(),n.overlay.find("button.preview, button.preview-theme").toggleClass("disabled",a()),n.overlay.find("button.theme-install").toggleClass("disabled",a()||!1===Y.settings.theme._canInstall||!0===Y.settings.theme._filesystemCredentialsNeeded),n.$body.addClass("modal-open"),n.containFocus(n.overlay),n.updateLimits(),wp.a11y.speak(Y.settings.l10n.announceThemeDetails.replace("%s",e.name)),t&&t()},closeDetails:function(){this.$body.removeClass("modal-open"),this.overlay.fadeOut("fast"),Y.control(this.params.action+"_theme_"+this.currentTheme).container.find(".theme").focus()},containFocus:function(t){var n;t.on("keydown",function(e){if(9===e.keyCode)return(n=J(":tabbable",t)).last()[0]!==e.target||e.shiftKey?n.first()[0]===e.target&&e.shiftKey?(n.last().focus(),!1):void 0:(n.first().focus(),!1)})}}),Y.OuterSection=Y.Section.extend({initialize:function(){this.containerParent="#customize-outer-theme-controls",this.containerPaneParent=".customize-outer-pane-parent",Y.Section.prototype.initialize.apply(this,arguments)},onChangeExpanded:function(e,t){var n,i=this,a=i.headContainer.closest(".wp-full-overlay-sidebar-content"),o=i.contentContainer,s=o.find(".customize-section-back"),r=i.headContainer.find(".accordion-section-title button, .accordion-section-title[tabindex]").first();J(document.body).toggleClass("outer-section-open",e),i.container.toggleClass("open",e),i.container.removeClass("busy"),Y.section.each(function(e){"outer"===e.params.type&&e.id!==i.id&&e.container.removeClass("open")}),e&&!o.hasClass("open")?(n=t.unchanged?t.completeCallback:function(){i._animateChangeExpanded(function(){s.attr("tabindex","0"),s.trigger("focus"),o.css("top",""),a.scrollTop(0),t.completeCallback&&t.completeCallback()}),o.addClass("open")}.bind(this),i.panel()?Y.panel(i.panel()).expand({duration:t.duration,completeCallback:n}):n()):!e&&o.hasClass("open")?(i.panel()&&(n=Y.panel(i.panel())).contentContainer.hasClass("skip-transition")&&n.collapse(),i._animateChangeExpanded(function(){s.attr("tabindex","-1"),r.trigger("focus"),o.css("top",""),t.completeCallback&&t.completeCallback()}),o.removeClass("open")):t.completeCallback&&t.completeCallback()}}),Y.Panel=a.extend({containerType:"panel",initialize:function(e,t){var n=this,i=t.params||t;i.type||_.find(Y.panelConstructor,function(e,t){return e===n.constructor&&(i.type=t,!0)}),a.prototype.initialize.call(n,e,i),n.embed(),n.deferred.embedded.done(function(){n.ready()})},embed:function(){var e=this,t=J("#customize-theme-controls"),n=J(".customize-pane-parent");e.headContainer.parent().is(n)||n.append(e.headContainer),e.contentContainer.parent().is(e.headContainer)||t.append(e.contentContainer),e.renderContent(),e.deferred.embedded.resolve()},attachEvents:function(){var t,n=this;n.headContainer.find(".accordion-section-title button, .accordion-section-title[tabindex]").on("click keydown",function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.expanded())||n.expand()}),n.container.find(".customize-panel-back").on("click keydown",function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.expanded()&&n.collapse())}),(t=n.container.find(".panel-meta:first")).find("> .accordion-section-title .customize-help-toggle").on("click",function(){var e;t.hasClass("cannot-expand")||(e=t.find(".customize-panel-description:first"),t.hasClass("open")?(t.toggleClass("open"),e.slideUp(n.defaultExpandedArguments.duration,function(){e.trigger("toggled")}),J(this).attr("aria-expanded",!1)):(e.slideDown(n.defaultExpandedArguments.duration,function(){e.trigger("toggled")}),t.toggleClass("open"),J(this).attr("aria-expanded",!0)))})},sections:function(){return this._children("panel","section")},isContextuallyActive:function(){var e=this.sections(),t=0;return _(e).each(function(e){e.active()&&e.isContextuallyActive()&&(t+=1)}),0!==t},onChangeExpanded:function(e,t){var n,i,a,o,s,r,c;t.unchanged?t.completeCallback&&t.completeCallback():(a=(i=(n=this).contentContainer).closest(".wp-full-overlay"),o=i.closest(".wp-full-overlay-sidebar-content"),s=n.headContainer.find(".accordion-section-title button, .accordion-section-title[tabindex]"),r=i.find(".customize-panel-back"),c=n.sections(),e&&!i.hasClass("current-panel")?(Y.section.each(function(e){n.id!==e.panel()&&e.collapse({duration:0})}),Y.panel.each(function(e){n!==e&&e.collapse({duration:0})}),n.params.autoExpandSoleSection&&1===c.length&&c[0].active.get()?(i.addClass("current-panel skip-transition"),a.addClass("in-sub-panel"),c[0].expand({completeCallback:t.completeCallback})):(n._animateChangeExpanded(function(){r.attr("tabindex","0"),r.trigger("focus"),i.css("top",""),o.scrollTop(0),t.completeCallback&&t.completeCallback()}),i.addClass("current-panel"),a.addClass("in-sub-panel")),Y.state("expandedPanel").set(n)):!e&&i.hasClass("current-panel")&&(i.hasClass("skip-transition")?i.removeClass("skip-transition"):n._animateChangeExpanded(function(){s.focus(),i.css("top",""),t.completeCallback&&t.completeCallback()}),a.removeClass("in-sub-panel"),i.removeClass("current-panel"),n===Y.state("expandedPanel").get())&&Y.state("expandedPanel").set(!1))},renderContent:function(){var e=this,t=0!==J("#tmpl-"+e.templateSelector+"-content").length?wp.template(e.templateSelector+"-content"):wp.template("customize-panel-default-content");t&&e.headContainer&&e.contentContainer.html(t(_.extend({id:e.id},e.params)))}}),Y.ThemesPanel=Y.Panel.extend({initialize:function(e,t){this.installingThemes=[],Y.Panel.prototype.initialize.call(this,e,t)},canSwitchTheme:function(e){return!(!e||e!==Y.settings.theme.stylesheet)||"publish"===Y.state("selectedChangesetStatus").get()&&(""===Y.state("changesetStatus").get()||"auto-draft"===Y.state("changesetStatus").get())},attachEvents:function(){var t=this;function e(){t.canSwitchTheme()?t.notifications.remove("theme_switch_unavailable"):t.notifications.add(new Y.Notification("theme_switch_unavailable",{message:Y.l10n.themePreviewUnavailable,type:"warning"}))}Y.Panel.prototype.attachEvents.apply(t),Y.settings.theme._canInstall&&Y.settings.theme._filesystemCredentialsNeeded&&t.notifications.add(new Y.Notification("theme_install_unavailable",{message:Y.l10n.themeInstallUnavailable,type:"info",dismissible:!0})),e(),Y.state("selectedChangesetStatus").bind(e),Y.state("changesetStatus").bind(e),t.contentContainer.on("click",".customize-theme",function(){t.collapse()}),t.contentContainer.on("click",".customize-themes-section-title, .customize-themes-mobile-back",function(){J(".wp-full-overlay").toggleClass("showing-themes")}),t.contentContainer.on("click",".theme-install",function(e){t.installTheme(e)}),t.contentContainer.on("click",".update-theme, #update-theme",function(e){e.preventDefault(),e.stopPropagation(),t.updateTheme(e)}),t.contentContainer.on("click",".delete-theme",function(e){t.deleteTheme(e)}),_.bindAll(t,"installTheme","updateTheme")},onChangeExpanded:function(e,t){var n,i=!1;Y.Panel.prototype.onChangeExpanded.apply(this,[e,t]),t.unchanged?t.completeCallback&&t.completeCallback():(n=this.headContainer.closest(".wp-full-overlay"),e?(n.addClass("in-themes-panel").delay(200).find(".customize-themes-full-container").addClass("animate"),_.delay(function(){n.addClass("themes-panel-expanded")},200),600<window.innerWidth&&(t=this.sections(),_.each(t,function(e){e.expanded()&&(i=!0)}),!i)&&0<t.length&&t[0].expand()):n.removeClass("in-themes-panel themes-panel-expanded").find(".customize-themes-full-container").removeClass("animate"))},installTheme:function(e){var t,i=this,a=J(e.target).data("slug"),o=J.Deferred(),s=J(e.target).hasClass("preview");return Y.settings.theme._filesystemCredentialsNeeded?o.reject({errorCode:"theme_install_unavailable"}):i.canSwitchTheme(a)?_.contains(i.installingThemes,a)?o.reject({errorCode:"theme_already_installing"}):(wp.updates.maybeRequestFilesystemCredentials(e),e=function(t){var e,n=!1;if(s)Y.notifications.remove("theme_installing"),i.loadThemePreview(a);else{if(Y.control.each(function(e){"theme"===e.params.type&&e.params.theme.id===t.slug&&(n=e.params.theme,e.rerenderAsInstalled(!0))}),!n||Y.control.has("installed_theme_"+n.id))return void o.resolve(t);n.type="installed",e=new Y.controlConstructor.theme("installed_theme_"+n.id,{type:"theme",section:"installed_themes",theme:n,priority:0}),Y.control.add(e),Y.control(e.id).container.trigger("render-screenshot"),Y.section.each(function(e){"themes"===e.params.type&&n.id===e.currentTheme&&e.closeDetails()})}o.resolve(t)},i.installingThemes.push(a),t=wp.updates.installTheme({slug:a}),s&&Y.notifications.add(new Y.OverlayNotification("theme_installing",{message:Y.l10n.themeDownloading,type:"info",loading:!0})),t.done(e),t.fail(function(){Y.notifications.remove("theme_installing")})):o.reject({errorCode:"theme_switch_unavailable"}),o.promise()},loadThemePreview:function(e){var t,n,i=J.Deferred();return this.canSwitchTheme(e)?((n=document.createElement("a")).href=location.href,e=_.extend(Y.utils.parseQueryString(n.search.substr(1)),{theme:e,changeset_uuid:Y.settings.changeset.uuid,return:Y.settings.url.return}),Y.state("saved").get()||(e.customize_autosaved="on"),n.search=J.param(e),Y.notifications.add(new Y.OverlayNotification("theme_previewing",{message:Y.l10n.themePreviewWait,type:"info",loading:!0})),t=function(){var e;0<Y.state("processing").get()||(Y.state("processing").unbind(t),(e=Y.requestChangesetUpdate({},{autosave:!0})).done(function(){i.resolve(),J(window).off("beforeunload.customize-confirm"),location.replace(n.href)}),e.fail(function(){Y.notifications.remove("theme_previewing"),i.reject()}))},0===Y.state("processing").get()?t():Y.state("processing").bind(t)):i.reject({errorCode:"theme_switch_unavailable"}),i.promise()},updateTheme:function(e){wp.updates.maybeRequestFilesystemCredentials(e),J(document).one("wp-theme-update-success",function(e,t){Y.control.each(function(e){"theme"===e.params.type&&e.params.theme.id===t.slug&&(e.params.theme.hasUpdate=!1,e.params.theme.version=t.newVersion,setTimeout(function(){e.rerenderAsInstalled(!0)},2e3))})}),wp.updates.updateTheme({slug:J(e.target).closest(".notice").data("slug")})},deleteTheme:function(e){var t=J(e.target).data("slug"),n=Y.section("installed_themes");e.preventDefault(),Y.settings.theme._filesystemCredentialsNeeded||window.confirm(Y.settings.l10n.confirmDeleteTheme)&&(wp.updates.maybeRequestFilesystemCredentials(e),J(document).one("wp-theme-delete-success",function(){var e=Y.control("installed_theme_"+t);e.container.remove(),Y.control.remove(e.id),n.loaded=n.loaded-1,n.updateCount(),Y.control.each(function(e){"theme"===e.params.type&&e.params.theme.id===t&&e.rerenderAsInstalled(!1)})}),wp.updates.deleteTheme({slug:t}),n.closeDetails(),n.focus())}}),Y.Control=Y.Class.extend({defaultActiveArguments:{duration:"fast",completeCallback:J.noop},defaults:{label:"",description:"",active:!0,priority:10},initialize:function(e,t){var n,i=this,a=[];i.params=_.extend({},i.defaults,i.params||{},t.params||t||{}),Y.Control.instanceCounter||(Y.Control.instanceCounter=0),Y.Control.instanceCounter++,i.params.instanceNumber||(i.params.instanceNumber=Y.Control.instanceCounter),i.params.type||_.find(Y.controlConstructor,function(e,t){return e===i.constructor&&(i.params.type=t,!0)}),i.params.content||(i.params.content=J("<li></li>",{id:"customize-control-"+e.replace(/]/g,"").replace(/\[/g,"-"),class:"customize-control customize-control-"+i.params.type})),i.id=e,i.selector="#customize-control-"+e.replace(/\]/g,"").replace(/\[/g,"-"),i.params.content?i.container=J(i.params.content):i.container=J(i.selector),i.params.templateId?i.templateSelector=i.params.templateId:i.templateSelector="customize-control-"+i.params.type+"-content",i.deferred=_.extend(i.deferred||{},{embedded:new J.Deferred}),i.section=new Y.Value,i.priority=new Y.Value,i.active=new Y.Value,i.activeArgumentsQueue=[],i.notifications=new Y.Notifications({alt:i.altNotice}),i.elements=[],i.active.bind(function(e){var t=i.activeArgumentsQueue.shift(),t=J.extend({},i.defaultActiveArguments,t);i.onChangeActive(e,t)}),i.section.set(i.params.section),i.priority.set(isNaN(i.params.priority)?10:i.params.priority),i.active.set(i.params.active),Y.utils.bubbleChildValueChanges(i,["section","priority","active"]),i.settings={},n={},i.params.setting&&(n.default=i.params.setting),_.extend(n,i.params.settings),_.each(n,function(e,t){var n;_.isObject(e)&&_.isFunction(e.extended)&&e.extended(Y.Value)?i.settings[t]=e:_.isString(e)&&((n=Y(e))?i.settings[t]=n:a.push(e))}),t=function(){_.each(n,function(e,t){!i.settings[t]&&_.isString(e)&&(i.settings[t]=Y(e))}),i.settings[0]&&!i.settings.default&&(i.settings.default=i.settings[0]),i.setting=i.settings.default||null,i.linkElements(),i.embed()},0===a.length?t():Y.apply(Y,a.concat(t)),i.deferred.embedded.done(function(){i.linkElements(),i.setupNotifications(),i.ready()})},linkElements:function(){var i,a=this,o=a.container.find("[data-customize-setting-link], [data-customize-setting-key-link]"),s={};o.each(function(){var e,t,n=J(this);if(!n.data("customizeSettingLinked")){if(n.data("customizeSettingLinked",!0),n.is(":radio")){if(e=n.prop("name"),s[e])return;s[e]=!0,n=o.filter('[name="'+e+'"]')}n.data("customizeSettingLink")?t=Y(n.data("customizeSettingLink")):n.data("customizeSettingKeyLink")&&(t=a.settings[n.data("customizeSettingKeyLink")]),t&&(i=new Y.Element(n),a.elements.push(i),i.sync(t),i.set(t()))}})},embed:function(){var n=this,e=function(e){var t;e&&Y.section(e,function(e){e.deferred.embedded.done(function(){t=e.contentContainer.is("ul")?e.contentContainer:e.contentContainer.find("ul:first"),n.container.parent().is(t)||t.append(n.container),n.renderContent(),n.deferred.embedded.resolve()})})};n.section.bind(e),e(n.section.get())},ready:function(){var t,n=this;"dropdown-pages"===n.params.type&&n.params.allow_addition&&((t=n.container.find(".new-content-item-wrapper")).hide(),n.container.on("click",".add-new-toggle",function(e){J(e.currentTarget).slideUp(180),t.slideDown(180),t.find(".create-item-input").focus()}),n.container.on("click",".add-content",function(){n.addNewPage()}),n.container.on("keydown",".create-item-input",function(e){13===e.which&&n.addNewPage()}))},getNotificationsContainerElement:function(){var e,t=this,n=t.container.find(".customize-control-notifications-container:first");return n.length||(n=J('<div class="customize-control-notifications-container"></div>'),t.container.hasClass("customize-control-nav_menu_item")?t.container.find(".menu-item-settings:first").prepend(n):t.container.hasClass("customize-control-widget_form")?t.container.find(".widget-inside:first").prepend(n):(e=t.container.find(".customize-control-title")).length?e.after(n):t.container.prepend(n)),n},setupNotifications:function(){var n,e,i=this;_.each(i.settings,function(n){n.notifications&&(n.notifications.bind("add",function(e){var t=_.extend({},e,{setting:n.id});i.notifications.add(new Y.Notification(n.id+":"+e.code,t))}),n.notifications.bind("remove",function(e){i.notifications.remove(n.id+":"+e.code)}))}),n=function(){var e=i.section();(!e||Y.section.has(e)&&Y.section(e).expanded())&&i.notifications.render()},i.notifications.bind("rendered",function(){var e=i.notifications.get();i.container.toggleClass("has-notifications",0!==e.length),i.container.toggleClass("has-error",0!==_.where(e,{type:"error"}).length)}),i.section.bind(e=function(e,t){t&&Y.section.has(t)&&Y.section(t).expanded.unbind(n),e&&Y.section(e,function(e){e.expanded.bind(n),n()})}),e(i.section.get()),i.notifications.bind("change",_.debounce(n))},renderNotifications:function(){var e,t,n=this,i=!1;"undefined"!=typeof console&&console.warn&&console.warn("[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantiating a wp.customize.Notifications and calling its render() method."),(e=n.getNotificationsContainerElement())&&e.length&&(t=[],n.notifications.each(function(e){t.push(e),"error"===e.type&&(i=!0)}),0===t.length?e.stop().slideUp("fast"):e.stop().slideDown("fast",null,function(){J(this).css("height","auto")}),n.notificationsTemplate||(n.notificationsTemplate=wp.template("customize-control-notifications")),n.container.toggleClass("has-notifications",0!==t.length),n.container.toggleClass("has-error",i),e.empty().append(n.notificationsTemplate({notifications:t,altNotice:Boolean(n.altNotice)}).trim()))},expand:function(e){Y.section(this.section()).expand(e)},focus:o,onChangeActive:function(e,t){t.unchanged?t.completeCallback&&t.completeCallback():J.contains(document,this.container[0])?e?this.container.slideDown(t.duration,t.completeCallback):this.container.slideUp(t.duration,t.completeCallback):(this.container.toggle(e),t.completeCallback&&t.completeCallback())},toggle:function(e){return this.onChangeActive(e,this.defaultActiveArguments)},activate:a.prototype.activate,deactivate:a.prototype.deactivate,_toggleActive:a.prototype._toggleActive,dropdownInit:function(){function e(e){"string"==typeof e&&i.statuses&&i.statuses[e]?n.html(i.statuses[e]).show():n.hide()}var t=this,n=this.container.find(".dropdown-status"),i=this.params,a=!1;this.container.on("click keydown",".dropdown",function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),a||t.container.toggleClass("open"),t.container.hasClass("open")&&t.container.parent().parent().find("li.library-selected").focus(),a=!0,setTimeout(function(){a=!1},400))}),this.setting.bind(e),e(this.setting())},renderContent:function(){var e=this,t=e.templateSelector;t==="customize-control-"+e.params.type+"-content"&&_.contains(["button","checkbox","date","datetime-local","email","month","number","password","radio","range","search","select","tel","time","text","textarea","week","url"],e.params.type)&&!document.getElementById("tmpl-"+t)&&0===e.container.children().length&&(t="customize-control-default-content"),document.getElementById("tmpl-"+t)&&(t=wp.template(t))&&e.container&&e.container.html(t(e.params)),e.notifications.container=e.getNotificationsContainerElement(),(!(t=e.section())||Y.section.has(t)&&Y.section(t).expanded())&&e.notifications.render()},addNewPage:function(){var e,a,o,t,n,s,r,c=this;"dropdown-pages"===c.params.type&&c.params.allow_addition&&Y.Menus&&(a=c.container.find(".add-new-toggle"),o=c.container.find(".new-content-item-wrapper"),t=c.container.find(".create-item-input"),n=c.container.find(".create-item-error"),s=t.val(),r=c.container.find("select"),s?(o.removeClass("form-invalid"),t.attr("aria-invalid","false"),t.removeAttr("aria-describedby"),n.hide(),t.attr("disabled","disabled"),(e=Y.Menus.insertAutoDraftPost({post_title:s,post_type:"page"})).done(function(e){var t,n,i=new Y.Menus.AvailableItemModel({id:"post-"+e.post_id,title:s,type:"post_type",type_label:Y.Menus.data.l10n.page_label,object:"page",object_id:e.post_id,url:e.url});Y.Menus.availableMenuItemsPanel.collection.add(i),t=J("#available-menu-items-post_type-page").find(".available-menu-items-list"),n=wp.template("available-menu-item"),t.prepend(n(i.attributes)),r.focus(),c.setting.set(String(e.post_id)),o.slideUp(180),a.slideDown(180)}),e.always(function(){t.val("").removeAttr("disabled")})):(o.addClass("form-invalid"),t.attr("aria-invalid","true"),t.attr("aria-describedby",n.attr("id")),n.slideDown("fast"),wp.a11y.speak(n.text())))}}),Y.ColorControl=Y.Control.extend({ready:function(){var t,n=this,e="hue"===this.params.mode,i=!1;e?(t=this.container.find(".color-picker-hue")).val(n.setting()).wpColorPicker({change:function(e,t){i=!0,n.setting(t.color.h()),i=!1}}):(t=this.container.find(".color-picker-hex")).val(n.setting()).wpColorPicker({change:function(){i=!0,n.setting.set(t.wpColorPicker("color")),i=!1},clear:function(){i=!0,n.setting.set(""),i=!1}}),n.setting.bind(function(e){i||(t.val(e),t.wpColorPicker("color",e))}),n.container.on("keydown",function(e){27===e.which&&n.container.find(".wp-picker-container").hasClass("wp-picker-active")&&(t.wpColorPicker("close"),n.container.find(".wp-color-result").focus(),e.stopPropagation())})}}),Y.MediaControl=Y.Control.extend({ready:function(){var n=this;function e(e){var t=J.Deferred();n.extended(Y.UploadControl)?t.resolve():(e=parseInt(e,10),_.isNaN(e)||e<=0?(delete n.params.attachment,t.resolve()):n.params.attachment&&n.params.attachment.id===e&&t.resolve()),"pending"===t.state()&&wp.media.attachment(e).fetch().done(function(){n.params.attachment=this.attributes,t.resolve(),wp.customize.previewer.send(n.setting.id+"-attachment-data",this.attributes)}),t.done(function(){n.renderContent()})}_.bindAll(n,"restoreDefault","removeFile","openFrame","select","pausePlayer"),n.container.on("click keydown",".upload-button",n.openFrame),n.container.on("click keydown",".upload-button",n.pausePlayer),n.container.on("click keydown",".thumbnail-image img",n.openFrame),n.container.on("click keydown",".default-button",n.restoreDefault),n.container.on("click keydown",".remove-button",n.pausePlayer),n.container.on("click keydown",".remove-button",n.removeFile),n.container.on("click keydown",".remove-button",n.cleanupPlayer),Y.section(n.section()).container.on("expanded",function(){n.player&&n.player.setControlsSize()}).on("collapsed",function(){n.pausePlayer()}),e(n.setting()),n.setting.bind(e)},pausePlayer:function(){this.player&&this.player.pause()},cleanupPlayer:function(){this.player&&wp.media.mixin.removePlayer(this.player)},openFrame:function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),this.frame||this.initFrame(),this.frame.open())},initFrame:function(){this.frame=wp.media({button:{text:this.params.button_labels.frame_button},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:this.params.mime_type}),multiple:!1,date:!1})]}),this.frame.on("select",this.select)},select:function(){var e=this.frame.state().get("selection").first().toJSON(),t=window._wpmejsSettings||{};this.params.attachment=e,this.setting(e.id),(e=this.container.find("audio, video").get(0))?this.player=new MediaElementPlayer(e,t):this.cleanupPlayer()},restoreDefault:function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),this.params.attachment=this.params.defaultAttachment,this.setting(this.params.defaultAttachment.url))},removeFile:function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),this.params.attachment={},this.setting(""),this.renderContent())}}),Y.UploadControl=Y.MediaControl.extend({select:function(){var e=this.frame.state().get("selection").first().toJSON(),t=window._wpmejsSettings||{};this.params.attachment=e,this.setting(e.url),(e=this.container.find("audio, video").get(0))?this.player=new MediaElementPlayer(e,t):this.cleanupPlayer()},success:function(){},removerVisibility:function(){}}),Y.ImageControl=Y.UploadControl.extend({thumbnailSrc:function(){}}),Y.BackgroundControl=Y.UploadControl.extend({ready:function(){Y.UploadControl.prototype.ready.apply(this,arguments)},select:function(){Y.UploadControl.prototype.select.apply(this,arguments),wp.ajax.post("custom-background-add",{nonce:_wpCustomizeBackground.nonces.add,wp_customize:"on",customize_theme:Y.settings.theme.stylesheet,attachment_id:this.params.attachment.id})}}),Y.BackgroundPositionControl=Y.Control.extend({ready:function(){var e,n=this;n.container.on("change",'input[name="background-position"]',function(){var e=J(this).val().split(" ");n.settings.x(e[0]),n.settings.y(e[1])}),e=_.debounce(function(){var e=n.settings.x.get(),t=n.settings.y.get(),e=String(e)+" "+String(t);n.container.find('input[name="background-position"][value="'+e+'"]').trigger("click")}),n.settings.x.bind(e),n.settings.y.bind(e),e()}}),Y.CroppedImageControl=Y.MediaControl.extend({openFrame:function(e){Y.utils.isKeydownButNotEnterEvent(e)||(this.initFrame(),this.frame.setState("library").open())},initFrame:function(){var e=_wpMediaViewsL10n;this.frame=wp.media({button:{text:e.select,close:!1},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var e=this.frame.state().get("selection").first().toJSON();this.params.width!==e.width||this.params.height!==e.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):(this.setImageFromAttachment(e),this.frame.close())},onCropped:function(e){this.setImageFromAttachment(e)},calculateImageSelectOptions:function(e,t){var n=t.get("control"),i=!!parseInt(n.params.flex_width,10),a=!!parseInt(n.params.flex_height,10),o=e.get("width"),e=e.get("height"),s=parseInt(n.params.width,10),r=parseInt(n.params.height,10),c=s/r,l=o/e,d=s,u=r;return t.set("hasRequiredAspectRatio",n.hasRequiredAspectRatio(c,l)),t.set("suggestedCropSize",{width:o,height:e,x1:0,y1:0,x2:s,y2:r}),t.set("canSkipCrop",!n.mustBeCropped(i,a,s,r,o,e)),c<l?s=(r=e)*c:r=(s=o)/c,!(l={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:e,minWidth:s<d?s:d,minHeight:r<u?r:u,x1:t=(o-s)/2,y1:n=(e-r)/2,x2:s+t,y2:r+n})==a&&!1==i&&(l.aspectRatio=s+":"+r),!0==a&&(delete l.minHeight,l.maxWidth=o),!0==i&&(delete l.minWidth,l.maxHeight=e),l},mustBeCropped:function(e,t,n,i,a,o){return(!0!==e||!0!==t)&&!(!0===e&&i===o||!0===t&&n===a||n===a&&i===o||a<=n)},hasRequiredAspectRatio:function(e,t){return Math.abs(e-t)<1e-6},onSkippedCrop:function(){var e=this.frame.state().get("selection").first().toJSON();this.setImageFromAttachment(e)},setImageFromAttachment:function(e){var t=this;this.params.attachment=e,this.setting(e.id),_.defer(function(){var e=t.container.find(".actions .button").first();e.length&&e.focus()})}}),Y.SiteIconControl=Y.CroppedImageControl.extend({initFrame:function(){var e=_wpMediaViewsL10n;this.frame=wp.media({button:{text:e.select,close:!1},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.SiteIconCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var e=this.frame.state().get("selection").first().toJSON(),t=this;this.params.width!==e.width||this.params.height!==e.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):wp.ajax.post("crop-image",{nonce:e.nonces.edit,id:e.id,context:"site-icon",cropDetails:{x1:0,y1:0,width:this.params.width,height:this.params.height,dst_width:this.params.width,dst_height:this.params.height}}).done(function(e){t.setImageFromAttachment(e),t.frame.close()}).fail(function(){t.frame.trigger("content:error:crop")})},setImageFromAttachment:function(t){var n,i=this;_.each(["site_icon-32","thumbnail","full"],function(e){n||_.isUndefined(t.sizes[e])||(n=t.sizes[e])}),this.params.attachment=t,this.setting(t.id),n&&(J('link[rel="icon"][sizes="32x32"]').attr("href",n.url),_.defer(function(){var e=i.container.find(".actions .button").first();e.length&&e.focus()}))},removeFile:function(e){Y.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),this.params.attachment={},this.setting(""),this.renderContent(),J('link[rel="icon"][sizes="32x32"]').attr("href","/favicon.ico"))}}),Y.HeaderControl=Y.Control.extend({ready:function(){this.btnRemove=J("#customize-control-header_image .actions .remove"),this.btnNew=J("#customize-control-header_image .actions .new"),_.bindAll(this,"openMedia","removeImage"),this.btnNew.on("click",this.openMedia),this.btnRemove.on("click",this.removeImage),Y.HeaderTool.currentHeader=this.getInitialHeaderImage(),new Y.HeaderTool.CurrentView({model:Y.HeaderTool.currentHeader,el:"#customize-control-header_image .current .container"}),new Y.HeaderTool.ChoiceListView({collection:Y.HeaderTool.UploadsList=new Y.HeaderTool.ChoiceList,el:"#customize-control-header_image .choices .uploaded .list"}),new Y.HeaderTool.ChoiceListView({collection:Y.HeaderTool.DefaultsList=new Y.HeaderTool.DefaultsList,el:"#customize-control-header_image .choices .default .list"}),Y.HeaderTool.combinedList=Y.HeaderTool.CombinedList=new Y.HeaderTool.CombinedList([Y.HeaderTool.UploadsList,Y.HeaderTool.DefaultsList]),wp.media.controller.Cropper.prototype.defaults.doCropArgs.wp_customize="on",wp.media.controller.Cropper.prototype.defaults.doCropArgs.customize_theme=Y.settings.theme.stylesheet},getInitialHeaderImage:function(){var e;return Y.get().header_image&&Y.get().header_image_data&&!_.contains(["remove-header","random-default-image","random-uploaded-image"],Y.get().header_image)?(e=(e=_.find(_wpCustomizeHeader.uploads,function(e){return e.attachment_id===Y.get().header_image_data.attachment_id}))||{url:Y.get().header_image,thumbnail_url:Y.get().header_image,attachment_id:Y.get().header_image_data.attachment_id},new Y.HeaderTool.ImageModel({header:e,choice:e.url.split("/").pop()})):new Y.HeaderTool.ImageModel},calculateImageSelectOptions:function(e,t){var n=parseInt(_wpCustomizeHeader.data.width,10),i=parseInt(_wpCustomizeHeader.data.height,10),a=!!parseInt(_wpCustomizeHeader.data["flex-width"],10),o=!!parseInt(_wpCustomizeHeader.data["flex-height"],10),s=e.get("width"),e=e.get("height");return this.headerImage=new Y.HeaderTool.ImageModel,this.headerImage.set({themeWidth:n,themeHeight:i,themeFlexWidth:a,themeFlexHeight:o,imageWidth:s,imageHeight:e}),t.set("canSkipCrop",!this.headerImage.shouldBeCropped()),(t=n/i)<s/e?n=(i=e)*t:i=(n=s)/t,!(t={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:s,imageHeight:e,x1:0,y1:0,x2:n,y2:i})==o&&!1==a&&(t.aspectRatio=n+":"+i),!1==o&&(t.maxHeight=i),!1==a&&(t.maxWidth=n),t},openMedia:function(e){var t=_wpMediaViewsL10n;e.preventDefault(),this.frame=wp.media({button:{text:t.selectAndCrop,close:!1},states:[new wp.media.controller.Library({title:t.chooseImage,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:_wpCustomizeHeader.data.width,suggestedHeight:_wpCustomizeHeader.data.height}),new wp.media.controller.Cropper({imgSelectOptions:this.calculateImageSelectOptions})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this),this.frame.open()},onSelect:function(){this.frame.setState("cropper")},onCropped:function(e){var t=e.url;this.setImageFromURL(t,e.attachment_id,e.width,e.height)},onSkippedCrop:function(e){var t=e.get("url"),n=e.get("width"),i=e.get("height");this.setImageFromURL(t,e.id,n,i)},setImageFromURL:function(e,t,n,i){var a={};a.url=e,a.thumbnail_url=e,a.timestamp=_.now(),t&&(a.attachment_id=t),n&&(a.width=n),i&&(a.height=i),t=new Y.HeaderTool.ImageModel({header:a,choice:e.split("/").pop()}),Y.HeaderTool.UploadsList.add(t),Y.HeaderTool.currentHeader.set(t.toJSON()),t.save(),t.importImage()},removeImage:function(){Y.HeaderTool.currentHeader.trigger("hide"),Y.HeaderTool.CombinedList.trigger("control:removeImage")}}),Y.ThemeControl=Y.Control.extend({touchDrag:!1,screenshotRendered:!1,ready:function(){var n=this,e=Y.panel("themes");function t(){return!e.canSwitchTheme(n.params.theme.id)}function i(){n.container.find("button.preview, button.preview-theme").toggleClass("disabled",t()),n.container.find("button.theme-install").toggleClass("disabled",t()||!1===Y.settings.theme._canInstall||!0===Y.settings.theme._filesystemCredentialsNeeded)}Y.state("selectedChangesetStatus").bind(i),Y.state("changesetStatus").bind(i),i(),n.container.on("touchmove",".theme",function(){n.touchDrag=!0}),n.container.on("click keydown touchend",".theme",function(e){var t;if(!Y.utils.isKeydownButNotEnterEvent(e))return!0===n.touchDrag?n.touchDrag=!1:void(J(e.target).is(".theme-actions .button, .update-theme")||(e.preventDefault(),(t=Y.section(n.section())).showDetails(n.params.theme,function(){Y.settings.theme._filesystemCredentialsNeeded&&t.overlay.find(".theme-actions .delete-theme").remove()})))}),n.container.on("render-screenshot",function(){var e=J(this).find("img"),t=e.data("src");t&&e.attr("src",t),n.screenshotRendered=!0})},filter:function(e){var t=this,n=0,i=(i=t.params.theme.name+" "+t.params.theme.description+" "+t.params.theme.tags+" "+t.params.theme.author+" ").toLowerCase().replace("-"," ");return _.isArray(e)||(e=[e]),t.params.theme.name.toLowerCase()===e.join(" ")?n=100:(n+=10*(i.split(e.join(" ")).length-1),_.each(e,function(e){n=(n+=2*(i.split(e+" ").length-1))+i.split(e).length-1}),99<n&&(n=99)),0!==n?(t.activate(),t.params.priority=101-n,!0):(t.deactivate(),!(t.params.priority=101))},rerenderAsInstalled:function(e){var t=this;e?t.params.theme.type="installed":(e=Y.section(t.params.section),t.params.theme.type=e.params.action),t.renderContent(),t.container.trigger("render-screenshot")}}),Y.CodeEditorControl=Y.Control.extend({initialize:function(e,t){var n=this;n.deferred=_.extend(n.deferred||{},{codemirror:J.Deferred()}),Y.Control.prototype.initialize.call(n,e,t),n.notifications.bind("add",function(e){var t;e.code===n.setting.id+":csslint_error"&&(e.templateId="customize-code-editor-lint-error-notification",e.render=(t=e.render,function(){var e=t.call(this);return e.find("input[type=checkbox]").on("click",function(){n.setting.notifications.remove("csslint_error")}),e}))})},ready:function(){var i=this;i.section()?Y.section(i.section(),function(n){n.deferred.embedded.done(function(){var t;n.expanded()?i.initEditor():n.expanded.bind(t=function(e){e&&(i.initEditor(),n.expanded.unbind(t))})})}):i.initEditor()},initEditor:function(){var e,t=this,n=!1;wp.codeEditor&&(_.isUndefined(t.params.editor_settings)||!1!==t.params.editor_settings)&&((n=wp.codeEditor.defaultSettings?_.clone(wp.codeEditor.defaultSettings):{}).codemirror=_.extend({},n.codemirror,{indentUnit:2,tabSize:2}),_.isObject(t.params.editor_settings))&&_.each(t.params.editor_settings,function(e,t){_.isObject(e)&&(n[t]=_.extend({},n[t],e))}),e=new Y.Element(t.container.find("textarea")),t.elements.push(e),e.sync(t.setting),e.set(t.setting()),n?t.initSyntaxHighlightingEditor(n):t.initPlainTextareaEditor()},focus:function(e){var t=this,e=_.extend({},e),n=e.completeCallback;e.completeCallback=function(){n&&n(),t.editor&&t.editor.codemirror.focus()},Y.Control.prototype.focus.call(t,e)},initSyntaxHighlightingEditor:function(e){var t=this,n=t.container.find("textarea"),i=!1,e=_.extend({},e,{onTabNext:_.bind(t.onTabNext,t),onTabPrevious:_.bind(t.onTabPrevious,t),onUpdateErrorNotice:_.bind(t.onUpdateErrorNotice,t)});t.editor=wp.codeEditor.initialize(n,e),J(t.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-label":t.params.label,"aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),t.container.find("label").on("click",function(){t.editor.codemirror.focus()}),t.editor.codemirror.on("change",function(e){i=!0,n.val(e.getValue()).trigger("change"),i=!1}),t.setting.bind(function(e){i||t.editor.codemirror.setValue(e)}),t.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()}),t.deferred.codemirror.resolveWith(t,[t.editor.codemirror])},onTabNext:function(){var e=Y.section(this.section()).controls(),t=e.indexOf(this);e.length===t+1?J("#customize-footer-actions .collapse-sidebar").trigger("focus"):e[t+1].container.find(":focusable:first").focus()},onTabPrevious:function(){var e=Y.section(this.section()),t=e.controls(),n=t.indexOf(this);(0===n?e.contentContainer.find(".customize-section-title .customize-help-toggle, .customize-section-title .customize-section-description.open .section-description-close").last():t[n-1].contentContainer.find(":focusable:first")).focus()},onUpdateErrorNotice:function(e){this.setting.notifications.remove("csslint_error"),0!==e.length&&(e=1===e.length?Y.l10n.customCssError.singular.replace("%d","1"):Y.l10n.customCssError.plural.replace("%d",String(e.length)),this.setting.notifications.add(new Y.Notification("csslint_error",{message:e,type:"error"})))},initPlainTextareaEditor:function(){var a=this.container.find("textarea"),o=a[0];a.on("blur",function(){a.data("next-tab-blurs",!1)}),a.on("keydown",function(e){var t,n,i;27===e.keyCode?a.data("next-tab-blurs")||(a.data("next-tab-blurs",!0),e.stopPropagation()):9!==e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||a.data("next-tab-blurs")||(t=o.selectionStart,n=o.selectionEnd,i=o.value,0<=t&&(o.value=i.substring(0,t).concat("\t",i.substring(n)),a.selectionStart=o.selectionEnd=t+1),e.stopPropagation(),e.preventDefault())}),this.deferred.codemirror.rejectWith(this)}}),Y.DateTimeControl=Y.Control.extend({ready:function(){var i=this;if(i.inputElements={},i.invalidDate=!1,_.bindAll(i,"populateSetting","updateDaysForMonth","populateDateInputs"),!i.setting)throw new Error("Missing setting");i.container.find(".date-input").each(function(){var e=J(this),t=e.data("component"),n=new Y.Element(e);i.inputElements[t]=n,i.elements.push(n),e.on("change",function(){i.invalidDate&&i.notifications.add(new Y.Notification("invalid_date",{message:Y.l10n.invalidDate}))}),e.on("input",_.debounce(function(){i.invalidDate||i.notifications.remove("invalid_date")})),e.on("blur",_.debounce(function(){i.invalidDate||i.populateDateInputs()}))}),i.inputElements.month.bind(i.updateDaysForMonth),i.inputElements.year.bind(i.updateDaysForMonth),i.populateDateInputs(),i.setting.bind(i.populateDateInputs),_.each(i.inputElements,function(e){e.bind(i.populateSetting)})},parseDateTime:function(e){var t;return(t=e?e.match(/^(\d\d\d\d)-(\d\d)-(\d\d)(?: (\d\d):(\d\d)(?::(\d\d))?)?$/):t)?(t.shift(),e={year:t.shift(),month:t.shift(),day:t.shift(),hour:t.shift()||"00",minute:t.shift()||"00",second:t.shift()||"00"},this.params.includeTime&&this.params.twelveHourFormat&&(e.hour=parseInt(e.hour,10),e.meridian=12<=e.hour?"pm":"am",e.hour=e.hour%12?String(e.hour%12):String(12),delete e.second),e):null},validateInputs:function(){var e,i,a=this;return a.invalidDate=!1,e=["year","day"],a.params.includeTime&&e.push("hour","minute"),_.find(e,function(e){var t,n,e=a.inputElements[e];return i=e.element.get(0),t=parseInt(e.element.attr("max"),10),n=parseInt(e.element.attr("min"),10),e=parseInt(e(),10),a.invalidDate=isNaN(e)||t<e||e<n,a.invalidDate||i.setCustomValidity(""),a.invalidDate}),a.inputElements.meridian&&!a.invalidDate&&(i=a.inputElements.meridian.element.get(0),"am"!==a.inputElements.meridian.get()&&"pm"!==a.inputElements.meridian.get()?a.invalidDate=!0:i.setCustomValidity("")),a.invalidDate?i.setCustomValidity(Y.l10n.invalidValue):i.setCustomValidity(""),(!a.section()||Y.section.has(a.section())&&Y.section(a.section()).expanded())&&_.result(i,"reportValidity"),a.invalidDate},updateDaysForMonth:function(){var e=this,t=parseInt(e.inputElements.month(),10),n=parseInt(e.inputElements.year(),10),i=parseInt(e.inputElements.day(),10);t&&n&&(n=new Date(n,t,0).getDate(),e.inputElements.day.element.attr("max",n),n<i)&&e.inputElements.day(String(n))},populateSetting:function(){var e,t=this;return!(t.validateInputs()||!t.params.allowPastDate&&!t.isFutureDate()||(e=t.convertInputDateToString(),t.setting.set(e),0))},convertInputDateToString:function(){var e,n=this,t="",i=function(e,t){return String(e).length<t&&(t=t-String(e).length,e=Math.pow(10,t).toString().substr(1)+String(e)),e},a=function(e){var t=parseInt(n.inputElements[e].get(),10);return _.contains(["month","day","hour","minute"],e)?t=i(t,2):"year"===e&&(t=i(t,4)),t},o=["year","-","month","-","day"];return n.params.includeTime&&(e=n.inputElements.meridian?n.convertHourToTwentyFourHourFormat(n.inputElements.hour(),n.inputElements.meridian()):n.inputElements.hour(),o=o.concat([" ",i(e,2),":","minute",":","00"])),_.each(o,function(e){t+=n.inputElements[e]?a(e):e}),t},isFutureDate:function(){return 0<Y.utils.getRemainingTime(this.convertInputDateToString())},convertHourToTwentyFourHourFormat:function(e,t){e=parseInt(e,10);return isNaN(e)?"":(t="pm"===t&&e<12?e+12:"am"===t&&12===e?e-12:e,String(t))},populateDateInputs:function(){var i=this.parseDateTime(this.setting.get());return!!i&&(_.each(this.inputElements,function(e,t){var n=i[t];"month"===t||"meridian"===t?(n=n.replace(/^0/,""),e.set(n)):(n=parseInt(n,10),e.element.is(document.activeElement)?n!==parseInt(e(),10)&&e.set(String(n)):e.set(i[t]))}),!0)},toggleFutureDateNotification:function(e){var t="not_future_date";return e?(e=new Y.Notification(t,{type:"error",message:Y.l10n.futureDateError}),this.notifications.add(e)):this.notifications.remove(t),this}}),Y.PreviewLinkControl=Y.Control.extend({defaults:_.extend({},Y.Control.prototype.defaults,{templateId:"customize-preview-link-control"}),ready:function(){var e,t,n,i,a,o=this;_.bindAll(o,"updatePreviewLink"),o.setting||(o.setting=new Y.Value),o.previewElements={},o.container.find(".preview-control-element").each(function(){t=J(this),e=t.data("component"),t=new Y.Element(t),o.previewElements[e]=t,o.elements.push(t)}),n=o.previewElements.url,i=o.previewElements.input,a=o.previewElements.button,i.link(o.setting),n.link(o.setting),n.bind(function(e){n.element.parent().attr({href:e,target:Y.settings.changeset.uuid})}),Y.bind("ready",o.updatePreviewLink),Y.state("saved").bind(o.updatePreviewLink),Y.state("changesetStatus").bind(o.updatePreviewLink),Y.state("activated").bind(o.updatePreviewLink),Y.previewer.previewUrl.bind(o.updatePreviewLink),a.element.on("click",function(e){e.preventDefault(),o.setting()&&(i.element.select(),document.execCommand("copy"),a(a.element.data("copied-text")))}),n.element.parent().on("click",function(e){J(this).hasClass("disabled")&&e.preventDefault()}),a.element.on("mouseenter",function(){o.setting()&&a(a.element.data("copy-text"))})},updatePreviewLink:function(){var e=!Y.state("saved").get()||""===Y.state("changesetStatus").get()||"auto-draft"===Y.state("changesetStatus").get();this.toggleSaveNotification(e),this.previewElements.url.element.parent().toggleClass("disabled",e),this.previewElements.button.element.prop("disabled",e),this.setting.set(Y.previewer.getFrontendPreviewUrl())},toggleSaveNotification:function(e){var t="changes_not_saved";e?(e=new Y.Notification(t,{type:"info",message:Y.l10n.saveBeforeShare}),this.notifications.add(e)):this.notifications.remove(t)}}),Y.defaultConstructor=Y.Setting,Y.control=new Y.Values({defaultConstructor:Y.Control}),Y.section=new Y.Values({defaultConstructor:Y.Section}),Y.panel=new Y.Values({defaultConstructor:Y.Panel}),Y.notifications=new Y.Notifications,Y.PreviewFrame=Y.Messenger.extend({sensitivity:null,initialize:function(e,t){var n=J.Deferred();n.promise(this),this.container=e.container,J.extend(e,{channel:Y.PreviewFrame.uuid()}),Y.Messenger.prototype.initialize.call(this,e,t),this.add("previewUrl",e.previewUrl),this.query=J.extend(e.query||{},{customize_messenger_channel:this.channel()}),this.run(n)},run:function(t){var e,n,i,a=this,o=!1,s=!1,r=null,c="{}"!==a.query.customized;a._ready&&a.unbind("ready",a._ready),a._ready=function(e){s=!0,r=e,a.container.addClass("iframe-ready"),e&&o&&t.resolveWith(a,[e])},a.bind("ready",a._ready),(e=document.createElement("a")).href=a.previewUrl(),n=_.extend(Y.utils.parseQueryString(e.search.substr(1)),{customize_changeset_uuid:a.query.customize_changeset_uuid,customize_theme:a.query.customize_theme,customize_messenger_channel:a.query.customize_messenger_channel}),!Y.settings.changeset.autosaved&&Y.state("saved").get()||(n.customize_autosaved="on"),e.search=J.param(n),a.iframe=J("<iframe />",{title:Y.l10n.previewIframeTitle,name:"customize-"+a.channel()}),a.iframe.attr("onmousewheel",""),a.iframe.attr("sandbox","allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts"),c?a.iframe.attr("data-src",e.href):a.iframe.attr("src",e.href),a.iframe.appendTo(a.container),a.targetWindow(a.iframe[0].contentWindow),c&&((i=J("<form>",{action:e.href,target:a.iframe.attr("name"),method:"post",hidden:"hidden"})).append(J("<input>",{type:"hidden",name:"_method",value:"GET"})),_.each(a.query,function(e,t){i.append(J("<input>",{type:"hidden",name:t,value:e}))}),a.container.append(i),i.trigger("submit"),i.remove()),a.bind("iframe-loading-error",function(e){a.iframe.remove(),0===e?a.login(t):-1===e?t.rejectWith(a,["cheatin"]):t.rejectWith(a,["request failure"])}),a.iframe.one("load",function(){o=!0,s?t.resolveWith(a,[r]):setTimeout(function(){t.rejectWith(a,["ready timeout"])},a.sensitivity)})},login:function(n){var i=this,a=function(){n.rejectWith(i,["logged out"])};if(this.triedLogin)return a();J.get(Y.settings.url.ajax,{action:"logged-in"}).fail(a).done(function(e){var t;"1"!==e&&a(),(t=J("<iframe />",{src:i.previewUrl(),title:Y.l10n.previewIframeTitle}).hide()).appendTo(i.container),t.on("load",function(){i.triedLogin=!0,t.remove(),i.run(n)})})},destroy:function(){Y.Messenger.prototype.destroy.call(this),this.iframe&&this.iframe.remove(),delete this.iframe,delete this.targetWindow}}),i=0,Y.PreviewFrame.uuid=function(){return"preview-"+String(i++)},Y.setDocumentTitle=function(e){e=Y.settings.documentTitleTmpl.replace("%s",e);document.title=e,Y.trigger("title",e)},Y.Previewer=Y.Messenger.extend({refreshBuffer:null,initialize:function(e,t){var n,o=this,i=document.createElement("a");J.extend(o,t||{}),o.deferred={active:J.Deferred()},o.refresh=_.debounce((n=o.refresh,function(){var e,t=function(){return 0===Y.state("processing").get()};t()?n.call(o):(e=function(){t()&&(n.call(o),Y.state("processing").unbind(e))},Y.state("processing").bind(e))}),o.refreshBuffer),o.container=Y.ensure(e.container),o.allowedUrls=e.allowedUrls,e.url=window.location.href,Y.Messenger.prototype.initialize.call(o,e),i.href=o.origin(),o.add("scheme",i.protocol.replace(/:$/,"")),o.add("previewUrl",e.previewUrl).setter(function(e){var n,i=null,t=[],a=document.createElement("a");return a.href=e,/\/wp-(admin|includes|content)(\/|$)/.test(a.pathname)?null:(1<a.search.length&&(delete(e=Y.utils.parseQueryString(a.search.substr(1))).customize_changeset_uuid,delete e.customize_theme,delete e.customize_messenger_channel,delete e.customize_autosaved,_.isEmpty(e)?a.search="":a.search=J.param(e)),t.push(a),o.scheme.get()+":"!==a.protocol&&((a=document.createElement("a")).href=t[0].href,a.protocol=o.scheme.get()+":",t.unshift(a)),n=document.createElement("a"),_.find(t,function(t){return!_.isUndefined(_.find(o.allowedUrls,function(e){if(n.href=e,a.protocol===n.protocol&&a.host===n.host&&0===a.pathname.indexOf(n.pathname.replace(/\/$/,"")))return i=t.href,!0}))}),i)}),o.bind("ready",o.ready),o.deferred.active.done(_.bind(o.keepPreviewAlive,o)),o.bind("synced",function(){o.send("active")}),o.previewUrl.bind(o.refresh),o.scroll=0,o.bind("scroll",function(e){o.scroll=e}),o.bind("url",function(e){var t,n=!1;o.scroll=0,o.previewUrl.bind(t=function(){n=!0}),o.previewUrl.set(e),o.previewUrl.unbind(t),n||o.refresh()}),o.bind("documentTitle",function(e){Y.setDocumentTitle(e)})},ready:function(e){var t=this,n={};n.settings=Y.get(),n["settings-modified-while-loading"]=t.settingsModifiedWhileLoading,"resolved"===t.deferred.active.state()&&!t.loading||(n.scroll=t.scroll),n["edit-shortcut-visibility"]=Y.state("editShortcutVisibility").get(),t.send("sync",n),e.currentUrl&&(t.previewUrl.unbind(t.refresh),t.previewUrl.set(e.currentUrl),t.previewUrl.bind(t.refresh)),_({panel:e.activePanels,section:e.activeSections,control:e.activeControls}).each(function(n,i){Y[i].each(function(e,t){_.isUndefined(Y.settings[i+"s"][t])&&_.isUndefined(n[t])||(n[t]?e.activate():e.deactivate())})}),e.settingValidities&&Y._handleSettingValidities({settingValidities:e.settingValidities,focusInvalidControl:!1})},keepPreviewAlive:function(){var e,t=function(){e=setTimeout(i,Y.settings.timeouts.keepAliveCheck)},n=function(){Y.state("previewerAlive").set(!0),clearTimeout(e),t()},i=function(){Y.state("previewerAlive").set(!1)};t(),this.bind("ready",n),this.bind("keep-alive",n)},query:function(){},abort:function(){this.loading&&(this.loading.destroy(),delete this.loading)},refresh:function(){var e,i=this;i.send("loading-initiated"),i.abort(),i.loading=new Y.PreviewFrame({url:i.url(),previewUrl:i.previewUrl(),query:i.query({excludeCustomizedSaved:!0})||{},container:i.container}),i.settingsModifiedWhileLoading={},Y.bind("change",e=function(e){i.settingsModifiedWhileLoading[e.id]=!0}),i.loading.always(function(){Y.unbind("change",e)}),i.loading.done(function(e){var t,n=this;i.preview=n,i.targetWindow(n.targetWindow()),i.channel(n.channel()),t=function(){n.unbind("synced",t),i._previousPreview&&i._previousPreview.destroy(),i._previousPreview=i.preview,i.deferred.active.resolve(),delete i.loading},n.bind("synced",t),i.trigger("ready",e)}),i.loading.fail(function(e){i.send("loading-failed"),"logged out"===e&&(i.preview&&(i.preview.destroy(),delete i.preview),i.login().done(i.refresh)),"cheatin"===e&&i.cheatin()})},login:function(){var t,n,i,a=this;return this._login||(t=J.Deferred(),this._login=t.promise(),n=new Y.Messenger({channel:"login",url:Y.settings.url.login}),i=J("<iframe />",{src:Y.settings.url.login,title:Y.l10n.loginIframeTitle}).appendTo(this.container),n.targetWindow(i[0].contentWindow),n.bind("login",function(){var e=a.refreshNonces();e.always(function(){i.remove(),n.destroy(),delete a._login}),e.done(function(){t.resolve()}),e.fail(function(){a.cheatin(),t.reject()})})),this._login},cheatin:function(){J(document.body).empty().addClass("cheatin").append("<h1>"+Y.l10n.notAllowedHeading+"</h1><p>"+Y.l10n.notAllowed+"</p>")},refreshNonces:function(){var e,t=J.Deferred();return t.promise(),(e=wp.ajax.post("customize_refresh_nonces",{wp_customize:"on",customize_theme:Y.settings.theme.stylesheet})).done(function(e){Y.trigger("nonce-refresh",e),t.resolve()}),e.fail(function(){t.reject()}),t}}),Y.settingConstructor={},Y.controlConstructor={color:Y.ColorControl,media:Y.MediaControl,upload:Y.UploadControl,image:Y.ImageControl,cropped_image:Y.CroppedImageControl,site_icon:Y.SiteIconControl,header:Y.HeaderControl,background:Y.BackgroundControl,background_position:Y.BackgroundPositionControl,theme:Y.ThemeControl,date_time:Y.DateTimeControl,code_editor:Y.CodeEditorControl},Y.panelConstructor={themes:Y.ThemesPanel},Y.sectionConstructor={themes:Y.ThemesSection,outer:Y.OuterSection},Y._handleSettingValidities=function(e){var o=[],n=!1;_.each(e.settingValidities,function(t,e){var a=Y(e);a&&(_.isObject(t)&&_.each(t,function(e,t){var n=!1,e=new Y.Notification(t,_.extend({fromServer:!0},e)),i=a.notifications(e.code);(n=i?e.type!==i.type||e.message!==i.message||!_.isEqual(e.data,i.data):n)&&a.notifications.remove(t),a.notifications.has(e.code)||a.notifications.add(e),o.push(a.id)}),a.notifications.each(function(e){!e.fromServer||"error"!==e.type||!0!==t&&t[e.code]||a.notifications.remove(e.code)}))}),e.focusInvalidControl&&(e=Y.findControlsForSettings(o),_(_.values(e)).find(function(e){return _(e).find(function(e){var t=e.section()&&Y.section.has(e.section())&&Y.section(e.section()).expanded();return(t=t&&e.expanded?e.expanded():t)&&(e.focus(),n=!0),n})}),n||_.isEmpty(e)||_.values(e)[0][0].focus())},Y.findControlsForSettings=function(e){var n,i={};return _.each(_.unique(e),function(e){var t=Y(e);t&&(n=t.findControls())&&0<n.length&&(i[e]=n)}),i},Y.reflowPaneContents=_.bind(function(){var i,e,t,a=[],o=!1;document.activeElement&&(e=J(document.activeElement)),Y.panel.each(function(e){var t,n;"themes"===e.id||(t=e.sections(),n=_.pluck(t,"headContainer"),a.push(e),i=e.contentContainer.is("ul")?e.contentContainer:e.contentContainer.find("ul:first"),Y.utils.areElementListsEqual(n,i.children("[id]")))||(_(t).each(function(e){i.append(e.headContainer)}),o=!0)}),Y.section.each(function(e){var t=e.controls(),n=_.pluck(t,"container");e.panel()||a.push(e),i=e.contentContainer.is("ul")?e.contentContainer:e.contentContainer.find("ul:first"),Y.utils.areElementListsEqual(n,i.children("[id]"))||(_(t).each(function(e){i.append(e.container)}),o=!0)}),a.sort(Y.utils.prioritySort),t=_.pluck(a,"headContainer"),i=J("#customize-theme-controls .customize-pane-parent"),Y.utils.areElementListsEqual(t,i.children())||(_(a).each(function(e){i.append(e.headContainer)}),o=!0),Y.panel.each(function(e){var t=e.active();e.active.callbacks.fireWith(e.active,[t,t])}),Y.section.each(function(e){var t=e.active();e.active.callbacks.fireWith(e.active,[t,t])}),o&&e&&e.trigger("focus"),Y.trigger("pane-contents-reflowed")},Y),Y.state=new Y.Values,_.each(["saved","saving","trashing","activated","processing","paneVisible","expandedPanel","expandedSection","changesetDate","selectedChangesetDate","changesetStatus","selectedChangesetStatus","remainingTimeToPublish","previewerAlive","editShortcutVisibility","changesetLocked","previewedDevice"],function(e){Y.state.create(e)}),J(function(){var h,o,t,n,i,d,u,p,a,s,r,c,l,f,m,H,L,g,v,w,b,M,O,C,R,y,e,x,k,z,S,T,E,j,q,B,D,N,P,I,U,A;function F(e){e&&e.lockUser&&(Y.settings.changeset.lockUser=e.lockUser),Y.state("changesetLocked").set(!0),Y.notifications.add(new R("changeset_locked",{lockUser:Y.settings.changeset.lockUser,allowOverride:Boolean(e&&e.allowOverride)}))}function W(){var e,t=document.createElement("a");return t.href=location.href,e=Y.utils.parseQueryString(t.search.substr(1)),Y.settings.changeset.latestAutoDraftUuid?e.changeset_uuid=Y.settings.changeset.latestAutoDraftUuid:e.customize_autosaved="on",e.return=Y.settings.url.return,t.search=J.param(e),t.href}function Q(){T||(wp.ajax.post("customize_dismiss_autosave_or_lock",{wp_customize:"on",customize_theme:Y.settings.theme.stylesheet,customize_changeset_uuid:Y.settings.changeset.uuid,nonce:Y.settings.nonce.dismiss_autosave_or_lock,dismiss_autosave:!0}),T=!0)}function K(){var e;return Y.state("activated").get()?(""!==(e=Y.state("changesetStatus").get())&&"auto-draft"!==e||(e="publish"),Y.state("selectedChangesetStatus").get()===e&&("future"!==Y.state("selectedChangesetStatus").get()||Y.state("selectedChangesetDate").get()===Y.state("changesetDate").get())&&Y.state("saved").get()&&"auto-draft"!==Y.state("changesetStatus").get()):0===Y._latestRevision}function V(){Y.unbind("change",V),Y.state("selectedChangesetStatus").unbind(V),Y.state("selectedChangesetDate").unbind(V),J(window).on("beforeunload.customize-confirm",function(){if(!K()&&!Y.state("changesetLocked").get())return setTimeout(function(){t.removeClass("customize-loading")},1),Y.l10n.saveAlert})}function $(){var e=J.Deferred(),t=!1,n=!1;return K()?n=!0:confirm(Y.l10n.saveAlert)?(n=!0,Y.each(function(e){e._dirty=!1}),J(document).off("visibilitychange.wp-customize-changeset-update"),J(window).off("beforeunload.wp-customize-changeset-update"),i.css("cursor","progress"),""!==Y.state("changesetStatus").get()&&(t=!0)):e.reject(),(n||t)&&wp.ajax.send("customize_dismiss_autosave_or_lock",{timeout:500,data:{wp_customize:"on",customize_theme:Y.settings.theme.stylesheet,customize_changeset_uuid:Y.settings.changeset.uuid,nonce:Y.settings.nonce.dismiss_autosave_or_lock,dismiss_autosave:t,dismiss_lock:n}}).always(function(){e.resolve()}),e.promise()}Y.settings=window._wpCustomizeSettings,Y.l10n=window._wpCustomizeControlsL10n,Y.settings&&J.support.postMessage&&(J.support.cors||!Y.settings.isCrossDomain)&&(null===Y.PreviewFrame.prototype.sensitivity&&(Y.PreviewFrame.prototype.sensitivity=Y.settings.timeouts.previewFrameSensitivity),null===Y.Previewer.prototype.refreshBuffer&&(Y.Previewer.prototype.refreshBuffer=Y.settings.timeouts.windowRefresh),o=J(document.body),t=o.children(".wp-full-overlay"),n=J("#customize-info .panel-title.site-title"),i=J(".customize-controls-close"),d=J("#save"),u=J("#customize-save-button-wrapper"),p=J("#publish-settings"),a=J("#customize-footer-actions"),Y.bind("ready",function(){Y.section.add(new Y.OuterSection("publish_settings",{title:Y.l10n.publishSettings,priority:0,active:Y.settings.theme.active}))}),Y.section("publish_settings",function(t){var e,n,i,a,o,s,r;function c(){r=r||Y.utils.highlightButton(u,{delay:1e3,focusTarget:d})}function l(){r&&(r(),r=null)}e=new Y.Control("trash_changeset",{type:"button",section:t.id,priority:30,input_attrs:{class:"button-link button-link-delete",value:Y.l10n.discardChanges}}),Y.control.add(e),e.deferred.embedded.done(function(){e.container.find(".button-link").on("click",function(){confirm(Y.l10n.trashConfirm)&&wp.customize.previewer.trash()})}),Y.control.add(new Y.PreviewLinkControl("changeset_preview_link",{section:t.id,priority:100})),t.active.validate=n=function(){return!!Y.state("activated").get()&&!(Y.state("trashing").get()||"trash"===Y.state("changesetStatus").get()||""===Y.state("changesetStatus").get()&&Y.state("saved").get())},s=function(){t.active.set(n())},Y.state("activated").bind(s),Y.state("trashing").bind(s),Y.state("saved").bind(s),Y.state("changesetStatus").bind(s),s(),(s=function(){p.toggle(t.active.get()),d.toggleClass("has-next-sibling",t.active.get())})(),t.active.bind(s),Y.state("selectedChangesetStatus").bind(l),t.contentContainer.find(".customize-action").text(Y.l10n.updating),t.contentContainer.find(".customize-section-back").removeAttr("tabindex"),p.prop("disabled",!1),p.on("click",function(e){e.preventDefault(),t.expanded.set(!t.expanded.get())}),t.expanded.bind(function(e){p.attr("aria-expanded",String(e)),p.toggleClass("active",e),e?l():(""!==(e=Y.state("changesetStatus").get())&&"auto-draft"!==e||(e="publish"),(Y.state("selectedChangesetStatus").get()!==e||"future"===Y.state("selectedChangesetStatus").get()&&Y.state("selectedChangesetDate").get()!==Y.state("changesetDate").get())&&c())}),s=new Y.Control("changeset_status",{priority:10,type:"radio",section:"publish_settings",setting:Y.state("selectedChangesetStatus"),templateId:"customize-selected-changeset-status-control",label:Y.l10n.action,choices:Y.settings.changeset.statusChoices}),Y.control.add(s),(i=new Y.DateTimeControl("changeset_scheduled_date",{priority:20,section:"publish_settings",setting:Y.state("selectedChangesetDate"),minYear:(new Date).getFullYear(),allowPastDate:!1,includeTime:!0,twelveHourFormat:/a/i.test(Y.settings.timeFormat),description:Y.l10n.scheduleDescription})).notifications.alt=!0,Y.control.add(i),a=function(){Y.state("selectedChangesetStatus").set("publish"),Y.previewer.save()},s=function(){var e="future"===Y.state("changesetStatus").get()&&"future"===Y.state("selectedChangesetStatus").get()&&Y.state("changesetDate").get()&&Y.state("selectedChangesetDate").get()===Y.state("changesetDate").get()&&0<=Y.utils.getRemainingTime(Y.state("changesetDate").get());e&&!o?o=setInterval(function(){var e=Y.utils.getRemainingTime(Y.state("changesetDate").get());Y.state("remainingTimeToPublish").set(e),e<=0&&(clearInterval(o),o=0,a())},1e3):!e&&o&&(clearInterval(o),o=0)},Y.state("changesetDate").bind(s),Y.state("selectedChangesetDate").bind(s),Y.state("changesetStatus").bind(s),Y.state("selectedChangesetStatus").bind(s),s(),i.active.validate=function(){return"future"===Y.state("selectedChangesetStatus").get()},(s=function(e){i.active.set("future"===e)})(Y.state("selectedChangesetStatus").get()),Y.state("selectedChangesetStatus").bind(s),Y.state("saving").bind(function(e){e&&"future"===Y.state("selectedChangesetStatus").get()&&i.toggleFutureDateNotification(!i.isFutureDate())})}),J("#customize-controls").on("keydown",function(e){var t=13===e.which,n=J(e.target);t&&(n.is("input:not([type=button])")||n.is("select"))&&e.preventDefault()}),J(".customize-info").find("> .accordion-section-title .customize-help-toggle").on("click",function(){var e=J(this).closest(".accordion-section"),t=e.find(".customize-panel-description:first");e.hasClass("cannot-expand")||(e.hasClass("open")?(e.toggleClass("open"),t.slideUp(Y.Panel.prototype.defaultExpandedArguments.duration,function(){t.trigger("toggled")}),J(this).attr("aria-expanded",!1)):(t.slideDown(Y.Panel.prototype.defaultExpandedArguments.duration,function(){t.trigger("toggled")}),e.toggleClass("open"),J(this).attr("aria-expanded",!0)))}),Y.previewer=new Y.Previewer({container:"#customize-preview",form:"#customize-controls",previewUrl:Y.settings.url.preview,allowedUrls:Y.settings.url.allowed},{nonce:Y.settings.nonce,query:function(e){var t={wp_customize:"on",customize_theme:Y.settings.theme.stylesheet,nonce:this.nonce.preview,customize_changeset_uuid:Y.settings.changeset.uuid};return!Y.settings.changeset.autosaved&&Y.state("saved").get()||(t.customize_autosaved="on"),t.customized=JSON.stringify(Y.dirtyValues({unsaved:e&&e.excludeCustomizedSaved})),t},save:function(i){var e,t,a=this,o=J.Deferred(),s=Y.state("selectedChangesetStatus").get(),r=Y.state("selectedChangesetDate").get(),n=Y.state("processing"),c={},l=[],d=[],u=[];function p(e){c[e.id]=!0}return i&&i.status&&(s=i.status),Y.state("saving").get()&&(o.reject("already_saving"),o.promise()),Y.state("saving").set(!0),t=function(){var n={},t=Y._latestRevision,e="client_side_error";if(Y.bind("change",p),Y.notifications.remove(e),Y.each(function(t){t.notifications.each(function(e){"error"!==e.type||e.fromServer||(l.push(t.id),n[t.id]||(n[t.id]={}),n[t.id][e.code]=e)})}),Y.control.each(function(t){t.setting&&(t.setting.id||!t.active.get())||t.notifications.each(function(e){"error"===e.type&&u.push([t])})}),d=_.union(u,_.values(Y.findControlsForSettings(l))),!_.isEmpty(d))return d[0][0].focus(),Y.unbind("change",p),l.length&&Y.notifications.add(new Y.Notification(e,{message:(1===l.length?Y.l10n.saveBlockedError.singular:Y.l10n.saveBlockedError.plural).replace(/%s/g,String(l.length)),type:"error",dismissible:!0,saveFailure:!0})),o.rejectWith(a,[{setting_invalidities:n}]),Y.state("saving").set(!1),o.promise();e=J.extend(a.query({excludeCustomizedSaved:!1}),{nonce:a.nonce.save,customize_changeset_status:s}),i&&i.date?e.customize_changeset_date=i.date:"future"===s&&r&&(e.customize_changeset_date=r),i&&i.title&&(e.customize_changeset_title=i.title),Y.trigger("save-request-params",e),e=wp.ajax.post("customize_save",e),Y.state("processing").set(Y.state("processing").get()+1),Y.trigger("save",e),e.always(function(){Y.state("processing").set(Y.state("processing").get()-1),Y.state("saving").set(!1),Y.unbind("change",p)}),Y.notifications.each(function(e){e.saveFailure&&Y.notifications.remove(e.code)}),e.fail(function(e){var t,n={type:"error",dismissible:!0,fromServer:!0,saveFailure:!0};"0"===e?e="not_logged_in":"-1"===e&&(e="invalid_nonce"),"invalid_nonce"===e?a.cheatin():"not_logged_in"===e?(a.preview.iframe.hide(),a.login().done(function(){a.save(),a.preview.iframe.show()})):e.code?"not_future_date"===e.code&&Y.section.has("publish_settings")&&Y.section("publish_settings").active.get()&&Y.control.has("changeset_scheduled_date")?Y.control("changeset_scheduled_date").toggleFutureDateNotification(!0).focus():"changeset_locked"!==e.code&&(t=new Y.Notification(e.code,_.extend(n,{message:e.message}))):t=new Y.Notification("unknown_error",_.extend(n,{message:Y.l10n.unknownRequestFail})),t&&Y.notifications.add(t),e.setting_validities&&Y._handleSettingValidities({settingValidities:e.setting_validities,focusInvalidControl:!0}),o.rejectWith(a,[e]),Y.trigger("error",e),"changeset_already_published"===e.code&&e.next_changeset_uuid&&(Y.settings.changeset.uuid=e.next_changeset_uuid,Y.state("changesetStatus").set(""),Y.settings.changeset.branching&&h.send("changeset-uuid",Y.settings.changeset.uuid),Y.previewer.send("changeset-uuid",Y.settings.changeset.uuid))}),e.done(function(e){a.send("saved",e),Y.state("changesetStatus").set(e.changeset_status),e.changeset_date&&Y.state("changesetDate").set(e.changeset_date),"publish"===e.changeset_status&&(Y.each(function(e){e._dirty&&(_.isUndefined(Y._latestSettingRevisions[e.id])||Y._latestSettingRevisions[e.id]<=t)&&(e._dirty=!1)}),Y.state("changesetStatus").set(""),Y.settings.changeset.uuid=e.next_changeset_uuid,Y.settings.changeset.branching)&&h.send("changeset-uuid",Y.settings.changeset.uuid),Y._lastSavedRevision=Math.max(t,Y._lastSavedRevision),e.setting_validities&&Y._handleSettingValidities({settingValidities:e.setting_validities,focusInvalidControl:!0}),o.resolveWith(a,[e]),Y.trigger("saved",e),_.isEmpty(c)||Y.state("saved").set(!1)})},0===n()?t():(e=function(){0===n()&&(Y.state.unbind("change",e),t())},Y.state.bind("change",e)),o.promise()},trash:function(){var e,n,i;Y.state("trashing").set(!0),Y.state("processing").set(Y.state("processing").get()+1),e=wp.ajax.post("customize_trash",{customize_changeset_uuid:Y.settings.changeset.uuid,nonce:Y.settings.nonce.trash}),Y.notifications.add(new Y.OverlayNotification("changeset_trashing",{type:"info",message:Y.l10n.revertingChanges,loading:!0})),n=function(){var e,t=document.createElement("a");Y.state("changesetStatus").set("trash"),Y.each(function(e){e._dirty=!1}),Y.state("saved").set(!0),t.href=location.href,delete(e=Y.utils.parseQueryString(t.search.substr(1))).changeset_uuid,e.return=Y.settings.url.return,t.search=J.param(e),location.replace(t.href)},i=function(e,t){e=e||"unknown_error";Y.state("processing").set(Y.state("processing").get()-1),Y.state("trashing").set(!1),Y.notifications.remove("changeset_trashing"),Y.notifications.add(new Y.Notification(e,{message:t||Y.l10n.unknownError,dismissible:!0,type:"error"}))},e.done(function(e){n(e.message)}),e.fail(function(e){var t=e.code||"trashing_failed";e.success||"non_existent_changeset"===t||"changeset_already_trashed"===t?n(e.message):i(t,e.message)})},getFrontendPreviewUrl:function(){var e,t=document.createElement("a");return t.href=this.previewUrl.get(),e=Y.utils.parseQueryString(t.search.substr(1)),Y.state("changesetStatus").get()&&"publish"!==Y.state("changesetStatus").get()&&(e.customize_changeset_uuid=Y.settings.changeset.uuid),Y.state("activated").get()||(e.customize_theme=Y.settings.theme.stylesheet),t.search=J.param(e),t.href}}),J.ajaxPrefilter(function(e){/wp_customize=on/.test(e.data)&&(e.data+="&"+J.param({customize_preview_nonce:Y.settings.nonce.preview}))}),Y.previewer.bind("nonce",function(e){J.extend(this.nonce,e)}),Y.bind("nonce-refresh",function(e){J.extend(Y.settings.nonce,e),J.extend(Y.previewer.nonce,e),Y.previewer.send("nonce-refresh",e)}),J.each(Y.settings.settings,function(e,t){var n=Y.settingConstructor[t.type]||Y.Setting;Y.add(new n(e,t.value,{transport:t.transport,previewer:Y.previewer,dirty:!!t.dirty}))}),J.each(Y.settings.panels,function(e,t){var n=Y.panelConstructor[t.type]||Y.Panel,t=_.extend({params:t},t);Y.panel.add(new n(e,t))}),J.each(Y.settings.sections,function(e,t){var n=Y.sectionConstructor[t.type]||Y.Section,t=_.extend({params:t},t);Y.section.add(new n(e,t))}),J.each(Y.settings.controls,function(e,t){var n=Y.controlConstructor[t.type]||Y.Control,t=_.extend({params:t},t);Y.control.add(new n(e,t))}),_.each(["panel","section","control"],function(e){var t=Y.settings.autofocus[e];t&&Y[e](t,function(e){e.deferred.embedded.done(function(){Y.previewer.deferred.active.done(function(){e.focus()})})})}),Y.bind("ready",Y.reflowPaneContents),J([Y.panel,Y.section,Y.control]).each(function(e,t){var n=_.debounce(Y.reflowPaneContents,Y.settings.timeouts.reflowPaneContents);t.bind("add",n),t.bind("change",n),t.bind("remove",n)}),Y.bind("ready",function(){var e,t,n;Y.notifications.container=J("#customize-notifications-area"),Y.notifications.bind("change",_.debounce(function(){Y.notifications.render()})),e=J(".wp-full-overlay-sidebar-content"),Y.notifications.bind("rendered",function(){e.css("top",""),0!==Y.notifications.count()&&(t=Y.notifications.container.outerHeight()+1,n=parseInt(e.css("top"),10),e.css("top",n+t+"px")),Y.notifications.trigger("sidebarTopUpdated")}),Y.notifications.render()}),s=Y.state,c=s.instance("saved"),l=s.instance("saving"),f=s.instance("trashing"),m=s.instance("activated"),e=s.instance("processing"),I=s.instance("paneVisible"),H=s.instance("expandedPanel"),L=s.instance("expandedSection"),g=s.instance("changesetStatus"),v=s.instance("selectedChangesetStatus"),w=s.instance("changesetDate"),b=s.instance("selectedChangesetDate"),M=s.instance("previewerAlive"),O=s.instance("editShortcutVisibility"),C=s.instance("changesetLocked"),s.bind("change",function(){var e;m()?""===g.get()&&c()?(Y.settings.changeset.currentUserCanPublish?d.val(Y.l10n.published):d.val(Y.l10n.saved),i.find(".screen-reader-text").text(Y.l10n.close)):("draft"===v()?c()&&v()===g()?d.val(Y.l10n.draftSaved):d.val(Y.l10n.saveDraft):"future"===v()?!c()||v()!==g()||w.get()!==b.get()?d.val(Y.l10n.schedule):d.val(Y.l10n.scheduled):Y.settings.changeset.currentUserCanPublish&&d.val(Y.l10n.publish),i.find(".screen-reader-text").text(Y.l10n.cancel)):(d.val(Y.l10n.activate),i.find(".screen-reader-text").text(Y.l10n.cancel)),e=!l()&&!f()&&!C()&&(!m()||!c()||g()!==v()&&""!==g()||"future"===v()&&w.get()!==b.get()),d.prop("disabled",!e)}),v.validate=function(e){return""===e||"auto-draft"===e?null:e},S=Y.settings.changeset.currentUserCanPublish?"publish":"draft",g(Y.settings.changeset.status),C(Boolean(Y.settings.changeset.lockUser)),w(Y.settings.changeset.publishDate),b(Y.settings.changeset.publishDate),v(""===Y.settings.changeset.status||"auto-draft"===Y.settings.changeset.status?S:Y.settings.changeset.status),v.link(g),c(!0),""===g()&&Y.each(function(e){e._dirty&&c(!1)}),l(!1),m(Y.settings.theme.active),e(0),I(!0),H(!1),L(!1),M(!0),O("visible"),Y.bind("change",function(){s("saved").get()&&s("saved").set(!1)}),Y.settings.changeset.branching&&c.bind(function(e){e||r(!0)}),l.bind(function(e){o.toggleClass("saving",e)}),f.bind(function(e){o.toggleClass("trashing",e)}),Y.bind("saved",function(e){s("saved").set(!0),"publish"===e.changeset_status&&s("activated").set(!0)}),m.bind(function(e){e&&Y.trigger("activated")}),r=function(e){var t,n;if(history.replaceState){if((t=document.createElement("a")).href=location.href,n=Y.utils.parseQueryString(t.search.substr(1)),e){if(n.changeset_uuid===Y.settings.changeset.uuid)return;n.changeset_uuid=Y.settings.changeset.uuid}else{if(!n.changeset_uuid)return;delete n.changeset_uuid}t.search=J.param(n),history.replaceState({},document.title,t.href)}},Y.settings.changeset.branching&&g.bind(function(e){r(""!==e&&"publish"!==e&&"trash"!==e)}),R=Y.OverlayNotification.extend({templateId:"customize-changeset-locked-notification",lockUser:null,initialize:function(e,t){e=e||"changeset_locked",t=_.extend({message:"",type:"warning",containerClasses:"",lockUser:{}},t);t.containerClasses+=" notification-changeset-locked",Y.OverlayNotification.prototype.initialize.call(this,e,t)},render:function(){var t,n,i=this,e=_.extend({allowOverride:!1,returnUrl:Y.settings.url.return,previewUrl:Y.previewer.previewUrl.get(),frontendPreviewUrl:Y.previewer.getFrontendPreviewUrl()},this),a=Y.OverlayNotification.prototype.render.call(e);return Y.requestChangesetUpdate({},{autosave:!0}).fail(function(e){e.autosaved||a.find(".notice-error").prop("hidden",!1).text(e.message||Y.l10n.unknownRequestFail)}),(t=a.find(".customize-notice-take-over-button")).on("click",function(e){e.preventDefault(),n||(t.addClass("disabled"),(n=wp.ajax.post("customize_override_changeset_lock",{wp_customize:"on",customize_theme:Y.settings.theme.stylesheet,customize_changeset_uuid:Y.settings.changeset.uuid,nonce:Y.settings.nonce.override_lock})).done(function(){Y.notifications.remove(i.code),Y.state("changesetLocked").set(!1)}),n.fail(function(e){e=e.message||Y.l10n.unknownRequestFail;a.find(".notice-error").prop("hidden",!1).text(e),n.always(function(){t.removeClass("disabled")})}),n.always(function(){n=null}))}),a}}),Y.settings.changeset.lockUser&&F({allowOverride:!0}),J(document).on("heartbeat-send.update_lock_notice",function(e,t){t.check_changeset_lock=!0,t.changeset_uuid=Y.settings.changeset.uuid}),J(document).on("heartbeat-tick.update_lock_notice",function(e,t){var n,i="changeset_locked";t.customize_changeset_lock_user&&((n=Y.notifications(i))&&n.lockUser.id!==Y.settings.changeset.lockUser.id&&Y.notifications.remove(i),F({lockUser:t.customize_changeset_lock_user}))}),Y.bind("error",function(e){"changeset_locked"===e.code&&e.lock_user&&F({lockUser:e.lock_user})}),T=!(S=[]),Y.settings.changeset.autosaved&&(Y.state("saved").set(!1),S.push("customize_autosaved")),Y.settings.changeset.branching||Y.settings.changeset.status&&"auto-draft"!==Y.settings.changeset.status||S.push("changeset_uuid"),0<S.length&&(S=S,e=document.createElement("a"),x=0,e.href=location.href,y=Y.utils.parseQueryString(e.search.substr(1)),_.each(S,function(e){void 0!==y[e]&&(x+=1,delete y[e])}),0!==x)&&(e.search=J.param(y),history.replaceState({},document.title,e.href)),(Y.settings.changeset.latestAutoDraftUuid||Y.settings.changeset.hasAutosaveRevision)&&(z="autosave_available",Y.notifications.add(new Y.Notification(z,{message:Y.l10n.autosaveNotice,type:"warning",dismissible:!0,render:function(){var e=Y.Notification.prototype.render.call(this),t=e.find("a");return t.prop("href",W()),t.on("click",function(e){e.preventDefault(),location.replace(W())}),e.find(".notice-dismiss").on("click",Q),e}})),Y.bind("change",k=function(){Q(),Y.notifications.remove(z),Y.unbind("change",k),Y.state("changesetStatus").unbind(k)}),Y.state("changesetStatus").bind(k)),parseInt(J("#customize-info").data("block-theme"),10)&&(S=Y.l10n.blockThemeNotification,Y.notifications.add(new Y.Notification("site_editor_block_theme_notice",{message:S,type:"info",dismissible:!1,render:function(){var e=Y.Notification.prototype.render.call(this),t=e.find("button.switch-to-editor");return t.on("click",function(e){e.preventDefault(),location.assign(t.data("action"))}),e}}))),Y.previewer.previewUrl()?Y.previewer.refresh():Y.previewer.previewUrl(Y.settings.url.home),d.on("click",function(e){Y.previewer.save(),e.preventDefault()}).on("keydown",function(e){9!==e.which&&(13===e.which&&Y.previewer.save(),e.preventDefault())}),i.on("keydown",function(e){9!==e.which&&(13===e.which&&this.click(),e.preventDefault())}),J(".collapse-sidebar").on("click",function(){Y.state("paneVisible").set(!Y.state("paneVisible").get())}),Y.state("paneVisible").bind(function(e){t.toggleClass("preview-only",!e),t.toggleClass("expanded",e),t.toggleClass("collapsed",!e),e?J(".collapse-sidebar").attr({"aria-expanded":"true","aria-label":Y.l10n.collapseSidebar}):J(".collapse-sidebar").attr({"aria-expanded":"false","aria-label":Y.l10n.expandSidebar})}),o.on("keydown",function(e){var t,n=[],i=[],a=[];27===e.which&&(J(e.target).is("body")||J.contains(J("#customize-controls")[0],e.target))&&null===e.target.closest(".block-editor-writing-flow")&&null===e.target.closest(".block-editor-block-list__block-popover")&&(Y.control.each(function(e){e.expanded&&e.expanded()&&_.isFunction(e.collapse)&&n.push(e)}),Y.section.each(function(e){e.expanded()&&i.push(e)}),Y.panel.each(function(e){e.expanded()&&a.push(e)}),0<n.length&&0===i.length&&(n.length=0),t=n[0]||i[0]||a[0])&&("themes"===t.params.type?o.hasClass("modal-open")?t.closeDetails():Y.panel.has("themes")&&Y.panel("themes").collapse():(t.collapse(),e.preventDefault()))}),J(".customize-controls-preview-toggle").on("click",function(){Y.state("paneVisible").set(!Y.state("paneVisible").get())}),P=J(".wp-full-overlay-sidebar-content"),I=function(e){var t=Y.state("expandedSection").get(),n=Y.state("expandedPanel").get();if(D&&D.element&&(j(D.element),D.element.find(".description").off("toggled",E)),!e)if(!t&&n&&n.contentContainer)e=n;else{if(n||!t||!t.contentContainer)return void(D=!1);e=t}(n=e.contentContainer.find(".customize-section-title, .panel-meta").first()).length?((D={instance:e,element:n,parent:n.closest(".customize-pane-child"),height:n.outerHeight()}).element.find(".description").on("toggled",E),t&&q(D.element,D.parent)):D=!1},Y.state("expandedSection").bind(I),Y.state("expandedPanel").bind(I),P.on("scroll",_.throttle(function(){var e,t;D&&(e=P.scrollTop(),t=N?e===N?0:N<e?1:-1:1,N=e,0!==t)&&B(D,e,t)},8)),Y.notifications.bind("sidebarTopUpdated",function(){D&&D.element.hasClass("is-sticky")&&D.element.css("top",P.css("top"))}),j=function(e){e.hasClass("is-sticky")&&e.removeClass("is-sticky").addClass("maybe-sticky is-in-view").css("top",P.scrollTop()+"px")},q=function(e,t){e.hasClass("is-in-view")&&(e.removeClass("maybe-sticky is-in-view").css({width:"",top:""}),t.css("padding-top",""))},E=function(){D.height=D.element.outerHeight()},B=function(e,t,n){var i=e.element,a=e.parent,e=e.height,o=parseInt(i.css("top"),10),s=i.hasClass("maybe-sticky"),r=i.hasClass("is-sticky"),c=i.hasClass("is-in-view");if(-1===n){if(!s&&e<=t)s=!0,i.addClass("maybe-sticky");else if(0===t)return i.removeClass("maybe-sticky is-in-view is-sticky").css({top:"",width:""}),void a.css("padding-top","");c&&!r?t<=o&&i.addClass("is-sticky").css({top:P.css("top"),width:a.outerWidth()+"px"}):s&&!c&&(i.addClass("is-in-view").css("top",t-e+"px"),a.css("padding-top",e+"px"))}else r&&(o=t,i.removeClass("is-sticky").css({top:o+"px",width:""})),c&&o+e<t&&(i.removeClass("is-in-view"),a.css("padding-top",""))},Y.previewedDevice=Y.state("previewedDevice"),Y.bind("ready",function(){_.find(Y.settings.previewableDevices,function(e,t){if(!0===e.default)return Y.previewedDevice.set(t),!0})}),a.find(".devices button").on("click",function(e){Y.previewedDevice.set(J(e.currentTarget).data("device"))}),Y.previewedDevice.bind(function(e){var t=J(".wp-full-overlay"),n="";a.find(".devices button").removeClass("active").attr("aria-pressed",!1),a.find(".devices .preview-"+e).addClass("active").attr("aria-pressed",!0),J.each(Y.settings.previewableDevices,function(e){n+=" preview-"+e}),t.removeClass(n).addClass("preview-"+e)}),n.length&&Y("blogname",function(t){function e(){var e=t()||"";n.text(e.toString().trim()||Y.l10n.untitledBlogName)}t.bind(e),e()}),h=new Y.Messenger({url:Y.settings.url.parent,channel:"loader"}),U=!1,h.bind("back",function(){U=!0}),Y.bind("change",V),Y.state("selectedChangesetStatus").bind(V),Y.state("selectedChangesetDate").bind(V),h.bind("confirm-close",function(){$().done(function(){h.send("confirmed-close",!0)}).fail(function(){h.send("confirmed-close",!1)})}),i.on("click.customize-controls-close",function(e){e.preventDefault(),U?h.send("close"):$().done(function(){J(window).off("beforeunload.customize-confirm"),window.location.href=i.prop("href")})}),J.each(["saved","change"],function(e,t){Y.bind(t,function(){h.send(t)})}),Y.bind("title",function(e){h.send("title",e)}),Y.settings.changeset.branching&&h.send("changeset-uuid",Y.settings.changeset.uuid),h.send("ready"),J.each({background_image:{controls:["background_preset","background_position","background_size","background_repeat","background_attachment"],callback:function(e){return!!e}},show_on_front:{controls:["page_on_front","page_for_posts"],callback:function(e){return"page"===e}},header_textcolor:{controls:["header_textcolor"],callback:function(e){return"blank"!==e}}},function(e,i){Y(e,function(n){J.each(i.controls,function(e,t){Y.control(t,function(t){function e(e){t.container.toggle(i.callback(e))}e(n.get()),n.bind(e)})})})}),Y.control("background_preset",function(e){var i={default:[!1,!1,!1,!1],fill:[!0,!1,!1,!1],fit:[!0,!1,!0,!1],repeat:[!0,!1,!1,!0],custom:[!0,!0,!0,!0]},a={default:[_wpCustomizeBackground.defaults["default-position-x"],_wpCustomizeBackground.defaults["default-position-y"],_wpCustomizeBackground.defaults["default-size"],_wpCustomizeBackground.defaults["default-repeat"],_wpCustomizeBackground.defaults["default-attachment"]],fill:["left","top","cover","no-repeat","fixed"],fit:["left","top","contain","no-repeat","fixed"],repeat:["left","top","auto","repeat","scroll"]},t=function(n){_.each(["background_position","background_size","background_repeat","background_attachment"],function(e,t){e=Y.control(e);e&&e.container.toggle(i[n][t])})},n=function(n){_.each(["background_position_x","background_position_y","background_size","background_repeat","background_attachment"],function(e,t){e=Y(e);e&&e.set(a[n][t])})},o=e.setting.get();t(o),e.setting.bind("change",function(e){t(e),"custom"!==e&&n(e)})}),Y.control("background_repeat",function(t){t.elements[0].unsync(Y("background_repeat")),t.element=new Y.Element(t.container.find("input")),t.element.set("no-repeat"!==t.setting()),t.element.bind(function(e){t.setting.set(e?"repeat":"no-repeat")}),t.setting.bind(function(e){t.element.set("no-repeat"!==e)})}),Y.control("background_attachment",function(t){t.elements[0].unsync(Y("background_attachment")),t.element=new Y.Element(t.container.find("input")),t.element.set("fixed"!==t.setting()),t.element.bind(function(e){t.setting.set(e?"scroll":"fixed")}),t.setting.bind(function(e){t.element.set("fixed"!==e)})}),Y.control("display_header_text",function(t){var n="";t.elements[0].unsync(Y("header_textcolor")),t.element=new Y.Element(t.container.find("input")),t.element.set("blank"!==t.setting()),t.element.bind(function(e){e||(n=Y("header_textcolor").get()),t.setting.set(e?n:"blank")}),t.setting.bind(function(e){t.element.set("blank"!==e)})}),Y("show_on_front","page_on_front","page_for_posts",function(i,a,o){function e(){var e="show_on_front_page_collision",t=parseInt(a(),10),n=parseInt(o(),10);"page"===i()&&(this===a&&0<t&&Y.previewer.previewUrl.set(Y.settings.url.home),this===o)&&0<n&&Y.previewer.previewUrl.set(Y.settings.url.home+"?page_id="+n),"page"===i()&&t&&n&&t===n?i.notifications.add(new Y.Notification(e,{type:"error",message:Y.l10n.pageOnFrontError})):i.notifications.remove(e)}i.bind(e),a.bind(e),o.bind(e),e.call(i,i()),Y.control("show_on_front",function(e){e.deferred.embedded.done(function(){e.container.append(e.getNotificationsContainerElement())})})}),A=J.Deferred(),Y.section("custom_css",function(t){t.deferred.embedded.done(function(){t.expanded()?A.resolve(t):t.expanded.bind(function(e){e&&A.resolve(t)})})}),A.done(function(e){var t=Y.control("custom_css");t.container.find(".customize-control-title:first").addClass("screen-reader-text"),e.container.find(".section-description-buttons .section-description-close").on("click",function(){e.container.find(".section-meta .customize-section-description:first").removeClass("open").slideUp(),e.container.find(".customize-help-toggle").attr("aria-expanded","false").focus()}),t&&!t.setting.get()&&(e.container.find(".section-meta .customize-section-description:first").addClass("open").show().trigger("toggled"),e.container.find(".customize-help-toggle").attr("aria-expanded","true"))}),Y.control("header_video",function(n){n.deferred.embedded.done(function(){function e(){var e=Y.section(n.section()),t="video_header_not_available";e&&(n.active.get()?e.notifications.remove(t):e.notifications.add(new Y.Notification(t,{type:"info",message:Y.l10n.videoHeaderNotice})))}e(),n.active.bind(e)})}),Y.previewer.bind("selective-refresh-setting-validities",function(e){Y._handleSettingValidities({settingValidities:e,focusInvalidControl:!1})}),Y.previewer.bind("focus-control-for-setting",function(n){var i=[];Y.control.each(function(e){var t=_.pluck(e.settings,"id");-1!==_.indexOf(t,n)&&i.push(e)}),i.length&&(i.sort(function(e,t){return e.priority()-t.priority()}),i[0].focus())}),Y.previewer.bind("refresh",function(){Y.previewer.refresh()}),Y.state("paneVisible").bind(function(e){var t=window.matchMedia?window.matchMedia("screen and ( max-width: 640px )").matches:J(window).width()<=640;Y.state("editShortcutVisibility").set(e||t?"visible":"hidden")}),window.matchMedia&&window.matchMedia("screen and ( max-width: 640px )").addListener(function(){var e=Y.state("paneVisible");e.callbacks.fireWith(e,[e.get(),e.get()])}),Y.previewer.bind("edit-shortcut-visibility",function(e){Y.state("editShortcutVisibility").set(e)}),Y.state("editShortcutVisibility").bind(function(e){Y.previewer.send("edit-shortcut-visibility",e)}),Y.bind("change",function e(){var t,n,i,a=!1;function o(e){e||Y.settings.changeset.autosaved||(Y.settings.changeset.autosaved=!0,Y.previewer.send("autosaving"))}Y.unbind("change",e),Y.state("saved").bind(o),o(Y.state("saved").get()),n=function(){a||(a=!0,Y.requestChangesetUpdate({},{autosave:!0}).always(function(){a=!1})),i()},(i=function(){clearTimeout(t),t=setTimeout(function(){n()},Y.settings.timeouts.changesetAutoSave)})(),J(document).on("visibilitychange.wp-customize-changeset-update",function(){document.hidden&&n()}),J(window).on("beforeunload.wp-customize-changeset-update",function(){n()})}),J(document).one("tinymce-editor-setup",function(){window.tinymce.ui.FloatPanel&&(!window.tinymce.ui.FloatPanel.zIndex||window.tinymce.ui.FloatPanel.zIndex<500001)&&(window.tinymce.ui.FloatPanel.zIndex=500001)}),o.addClass("ready"),Y.trigger("ready"))})}((wp,jQuery)); theme-plugin-editor.js 0000644 00000061420 15174671433 0011002 0 ustar 00 /** * @output wp-admin/js/theme-plugin-editor.js */ /* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1] }] */ if ( ! window.wp ) { window.wp = {}; } wp.themePluginEditor = (function( $ ) { 'use strict'; var component, TreeLinks, __ = wp.i18n.__, _n = wp.i18n._n, sprintf = wp.i18n.sprintf; component = { codeEditor: {}, instance: null, noticeElements: {}, dirty: false, lintErrors: [] }; /** * Initialize component. * * @since 4.9.0 * * @param {jQuery} form - Form element. * @param {Object} settings - Settings. * @param {Object|boolean} settings.codeEditor - Code editor settings (or `false` if syntax highlighting is disabled). * @return {void} */ component.init = function init( form, settings ) { component.form = form; if ( settings ) { $.extend( component, settings ); } component.noticeTemplate = wp.template( 'wp-file-editor-notice' ); component.noticesContainer = component.form.find( '.editor-notices' ); component.submitButton = component.form.find( ':input[name=submit]' ); component.spinner = component.form.find( '.submit .spinner' ); component.form.on( 'submit', component.submit ); component.textarea = component.form.find( '#newcontent' ); component.textarea.on( 'change', component.onChange ); component.warning = $( '.file-editor-warning' ); component.docsLookUpButton = component.form.find( '#docs-lookup' ); component.docsLookUpList = component.form.find( '#docs-list' ); if ( component.warning.length > 0 ) { component.showWarning(); } if ( false !== component.codeEditor ) { /* * Defer adding notices until after DOM ready as workaround for WP Admin injecting * its own managed dismiss buttons and also to prevent the editor from showing a notice * when the file had linting errors to begin with. */ _.defer( function() { component.initCodeEditor(); } ); } $( component.initFileBrowser ); $( window ).on( 'beforeunload', function() { if ( component.dirty ) { return __( 'The changes you made will be lost if you navigate away from this page.' ); } return undefined; } ); component.docsLookUpList.on( 'change', function() { var option = $( this ).val(); if ( '' === option ) { component.docsLookUpButton.prop( 'disabled', true ); } else { component.docsLookUpButton.prop( 'disabled', false ); } } ); }; /** * Set up and display the warning modal. * * @since 4.9.0 * @return {void} */ component.showWarning = function() { // Get the text within the modal. var rawMessage = component.warning.find( '.file-editor-warning-message' ).text(); // Hide all the #wpwrap content from assistive technologies. $( '#wpwrap' ).attr( 'aria-hidden', 'true' ); // Detach the warning modal from its position and append it to the body. $( document.body ) .addClass( 'modal-open' ) .append( component.warning.detach() ); // Reveal the modal and set focus on the go back button. component.warning .removeClass( 'hidden' ) .find( '.file-editor-warning-go-back' ).trigger( 'focus' ); // Get the links and buttons within the modal. component.warningTabbables = component.warning.find( 'a, button' ); // Attach event handlers. component.warningTabbables.on( 'keydown', component.constrainTabbing ); component.warning.on( 'click', '.file-editor-warning-dismiss', component.dismissWarning ); // Make screen readers announce the warning message after a short delay (necessary for some screen readers). setTimeout( function() { wp.a11y.speak( wp.sanitize.stripTags( rawMessage.replace( /\s+/g, ' ' ) ), 'assertive' ); }, 1000 ); }; /** * Constrain tabbing within the warning modal. * * @since 4.9.0 * @param {Object} event jQuery event object. * @return {void} */ component.constrainTabbing = function( event ) { var firstTabbable, lastTabbable; if ( 9 !== event.which ) { return; } firstTabbable = component.warningTabbables.first()[0]; lastTabbable = component.warningTabbables.last()[0]; if ( lastTabbable === event.target && ! event.shiftKey ) { firstTabbable.focus(); event.preventDefault(); } else if ( firstTabbable === event.target && event.shiftKey ) { lastTabbable.focus(); event.preventDefault(); } }; /** * Dismiss the warning modal. * * @since 4.9.0 * @return {void} */ component.dismissWarning = function() { wp.ajax.post( 'dismiss-wp-pointer', { pointer: component.themeOrPlugin + '_editor_notice' }); // Hide modal. component.warning.remove(); $( '#wpwrap' ).removeAttr( 'aria-hidden' ); $( 'body' ).removeClass( 'modal-open' ); }; /** * Callback for when a change happens. * * @since 4.9.0 * @return {void} */ component.onChange = function() { component.dirty = true; component.removeNotice( 'file_saved' ); }; /** * Submit file via Ajax. * * @since 4.9.0 * @param {jQuery.Event} event - Event. * @return {void} */ component.submit = function( event ) { var data = {}, request; event.preventDefault(); // Prevent form submission in favor of Ajax below. $.each( component.form.serializeArray(), function() { data[ this.name ] = this.value; } ); // Use value from codemirror if present. if ( component.instance ) { data.newcontent = component.instance.codemirror.getValue(); } if ( component.isSaving ) { return; } // Scroll to the line that has the error. if ( component.lintErrors.length ) { component.instance.codemirror.setCursor( component.lintErrors[0].from.line ); return; } component.isSaving = true; component.textarea.prop( 'readonly', true ); if ( component.instance ) { component.instance.codemirror.setOption( 'readOnly', true ); } component.spinner.addClass( 'is-active' ); request = wp.ajax.post( 'edit-theme-plugin-file', data ); // Remove previous save notice before saving. if ( component.lastSaveNoticeCode ) { component.removeNotice( component.lastSaveNoticeCode ); } request.done( function( response ) { component.lastSaveNoticeCode = 'file_saved'; component.addNotice({ code: component.lastSaveNoticeCode, type: 'success', message: response.message, dismissible: true }); component.dirty = false; } ); request.fail( function( response ) { var notice = $.extend( { code: 'save_error', message: __( 'An error occurred while saving your changes. Please try again. If the problem persists, you may need to manually update the file via FTP.' ) }, response, { type: 'error', dismissible: true } ); component.lastSaveNoticeCode = notice.code; component.addNotice( notice ); } ); request.always( function() { component.spinner.removeClass( 'is-active' ); component.isSaving = false; component.textarea.prop( 'readonly', false ); if ( component.instance ) { component.instance.codemirror.setOption( 'readOnly', false ); } } ); }; /** * Add notice. * * @since 4.9.0 * * @param {Object} notice - Notice. * @param {string} notice.code - Code. * @param {string} notice.type - Type. * @param {string} notice.message - Message. * @param {boolean} [notice.dismissible=false] - Dismissible. * @param {Function} [notice.onDismiss] - Callback for when a user dismisses the notice. * @return {jQuery} Notice element. */ component.addNotice = function( notice ) { var noticeElement; if ( ! notice.code ) { throw new Error( 'Missing code.' ); } // Only let one notice of a given type be displayed at a time. component.removeNotice( notice.code ); noticeElement = $( component.noticeTemplate( notice ) ); noticeElement.hide(); noticeElement.find( '.notice-dismiss' ).on( 'click', function() { component.removeNotice( notice.code ); if ( notice.onDismiss ) { notice.onDismiss( notice ); } } ); wp.a11y.speak( notice.message ); component.noticesContainer.append( noticeElement ); noticeElement.slideDown( 'fast' ); component.noticeElements[ notice.code ] = noticeElement; return noticeElement; }; /** * Remove notice. * * @since 4.9.0 * * @param {string} code - Notice code. * @return {boolean} Whether a notice was removed. */ component.removeNotice = function( code ) { if ( component.noticeElements[ code ] ) { component.noticeElements[ code ].slideUp( 'fast', function() { $( this ).remove(); } ); delete component.noticeElements[ code ]; return true; } return false; }; /** * Initialize code editor. * * @since 4.9.0 * @return {void} */ component.initCodeEditor = function initCodeEditor() { var codeEditorSettings, editor; codeEditorSettings = $.extend( {}, component.codeEditor ); /** * Handle tabbing to the field before the editor. * * @since 4.9.0 * * @return {void} */ codeEditorSettings.onTabPrevious = function() { $( '#templateside' ).find( ':tabbable' ).last().trigger( 'focus' ); }; /** * Handle tabbing to the field after the editor. * * @since 4.9.0 * * @return {void} */ codeEditorSettings.onTabNext = function() { $( '#template' ).find( ':tabbable:not(.CodeMirror-code)' ).first().trigger( 'focus' ); }; /** * Handle change to the linting errors. * * @since 4.9.0 * * @param {Array} errors - List of linting errors. * @return {void} */ codeEditorSettings.onChangeLintingErrors = function( errors ) { component.lintErrors = errors; // Only disable the button in onUpdateErrorNotice when there are errors so users can still feel they can click the button. if ( 0 === errors.length ) { component.submitButton.toggleClass( 'disabled', false ); } }; /** * Update error notice. * * @since 4.9.0 * * @param {Array} errorAnnotations - Error annotations. * @return {void} */ codeEditorSettings.onUpdateErrorNotice = function onUpdateErrorNotice( errorAnnotations ) { var noticeElement; component.submitButton.toggleClass( 'disabled', errorAnnotations.length > 0 ); if ( 0 !== errorAnnotations.length ) { noticeElement = component.addNotice({ code: 'lint_errors', type: 'error', message: sprintf( /* translators: %s: Error count. */ _n( 'There is %s error which must be fixed before you can update this file.', 'There are %s errors which must be fixed before you can update this file.', errorAnnotations.length ), String( errorAnnotations.length ) ), dismissible: false }); noticeElement.find( 'input[type=checkbox]' ).on( 'click', function() { codeEditorSettings.onChangeLintingErrors( [] ); component.removeNotice( 'lint_errors' ); } ); } else { component.removeNotice( 'lint_errors' ); } }; editor = wp.codeEditor.initialize( $( '#newcontent' ), codeEditorSettings ); editor.codemirror.on( 'change', component.onChange ); // Improve the editor accessibility. $( editor.codemirror.display.lineDiv ) .attr({ role: 'textbox', 'aria-multiline': 'true', 'aria-labelledby': 'theme-plugin-editor-label', 'aria-describedby': 'editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4' }); // Focus the editor when clicking on its label. $( '#theme-plugin-editor-label' ).on( 'click', function() { editor.codemirror.focus(); }); component.instance = editor; }; /** * Initialization of the file browser's folder states. * * @since 4.9.0 * @return {void} */ component.initFileBrowser = function initFileBrowser() { var $templateside = $( '#templateside' ); // Collapse all folders. $templateside.find( '[role="group"]' ).parent().attr( 'aria-expanded', false ); // Expand ancestors to the current file. $templateside.find( '.notice' ).parents( '[aria-expanded]' ).attr( 'aria-expanded', true ); // Find Tree elements and enhance them. $templateside.find( '[role="tree"]' ).each( function() { var treeLinks = new TreeLinks( this ); treeLinks.init(); } ); // Scroll the current file into view. $templateside.find( '.current-file:first' ).each( function() { if ( this.scrollIntoViewIfNeeded ) { this.scrollIntoViewIfNeeded(); } else { this.scrollIntoView( false ); } } ); }; /* jshint ignore:start */ /* jscs:disable */ /* eslint-disable */ /** * Creates a new TreeitemLink. * * @since 4.9.0 * @class * @private * @see {@link https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2b.html|W3C Treeview Example} * @license W3C-20150513 */ var TreeitemLink = (function () { /** * This content is licensed according to the W3C Software License at * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * * File: TreeitemLink.js * * Desc: Treeitem widget that implements ARIA Authoring Practices * for a tree being used as a file viewer * * Author: Jon Gunderson, Ku Ja Eun and Nicholas Hoyt */ /** * @constructor * * @desc * Treeitem object for representing the state and user interactions for a * treeItem widget * * @param node * An element with the role=tree attribute */ var TreeitemLink = function (node, treeObj, group) { // Check whether node is a DOM element. if (typeof node !== 'object') { return; } node.tabIndex = -1; this.tree = treeObj; this.groupTreeitem = group; this.domNode = node; this.label = node.textContent.trim(); this.stopDefaultClick = false; if (node.getAttribute('aria-label')) { this.label = node.getAttribute('aria-label').trim(); } this.isExpandable = false; this.isVisible = false; this.inGroup = false; if (group) { this.inGroup = true; } var elem = node.firstElementChild; while (elem) { if (elem.tagName.toLowerCase() == 'ul') { elem.setAttribute('role', 'group'); this.isExpandable = true; break; } elem = elem.nextElementSibling; } this.keyCode = Object.freeze({ RETURN: 13, SPACE: 32, PAGEUP: 33, PAGEDOWN: 34, END: 35, HOME: 36, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40 }); }; TreeitemLink.prototype.init = function () { this.domNode.tabIndex = -1; if (!this.domNode.getAttribute('role')) { this.domNode.setAttribute('role', 'treeitem'); } this.domNode.addEventListener('keydown', this.handleKeydown.bind(this)); this.domNode.addEventListener('click', this.handleClick.bind(this)); this.domNode.addEventListener('focus', this.handleFocus.bind(this)); this.domNode.addEventListener('blur', this.handleBlur.bind(this)); if (this.isExpandable) { this.domNode.firstElementChild.addEventListener('mouseover', this.handleMouseOver.bind(this)); this.domNode.firstElementChild.addEventListener('mouseout', this.handleMouseOut.bind(this)); } else { this.domNode.addEventListener('mouseover', this.handleMouseOver.bind(this)); this.domNode.addEventListener('mouseout', this.handleMouseOut.bind(this)); } }; TreeitemLink.prototype.isExpanded = function () { if (this.isExpandable) { return this.domNode.getAttribute('aria-expanded') === 'true'; } return false; }; /* EVENT HANDLERS */ TreeitemLink.prototype.handleKeydown = function (event) { var tgt = event.currentTarget, flag = false, _char = event.key, clickEvent; function isPrintableCharacter(str) { return str.length === 1 && str.match(/\S/); } function printableCharacter(item) { if (_char == '*') { item.tree.expandAllSiblingItems(item); flag = true; } else { if (isPrintableCharacter(_char)) { item.tree.setFocusByFirstCharacter(item, _char); flag = true; } } } this.stopDefaultClick = false; if (event.altKey || event.ctrlKey || event.metaKey) { return; } if (event.shift) { if (event.keyCode == this.keyCode.SPACE || event.keyCode == this.keyCode.RETURN) { event.stopPropagation(); this.stopDefaultClick = true; } else { if (isPrintableCharacter(_char)) { printableCharacter(this); } } } else { switch (event.keyCode) { case this.keyCode.SPACE: case this.keyCode.RETURN: if (this.isExpandable) { if (this.isExpanded()) { this.tree.collapseTreeitem(this); } else { this.tree.expandTreeitem(this); } flag = true; } else { event.stopPropagation(); this.stopDefaultClick = true; } break; case this.keyCode.UP: this.tree.setFocusToPreviousItem(this); flag = true; break; case this.keyCode.DOWN: this.tree.setFocusToNextItem(this); flag = true; break; case this.keyCode.RIGHT: if (this.isExpandable) { if (this.isExpanded()) { this.tree.setFocusToNextItem(this); } else { this.tree.expandTreeitem(this); } } flag = true; break; case this.keyCode.LEFT: if (this.isExpandable && this.isExpanded()) { this.tree.collapseTreeitem(this); flag = true; } else { if (this.inGroup) { this.tree.setFocusToParentItem(this); flag = true; } } break; case this.keyCode.HOME: this.tree.setFocusToFirstItem(); flag = true; break; case this.keyCode.END: this.tree.setFocusToLastItem(); flag = true; break; default: if (isPrintableCharacter(_char)) { printableCharacter(this); } break; } } if (flag) { event.stopPropagation(); event.preventDefault(); } }; TreeitemLink.prototype.handleClick = function (event) { // Only process click events that directly happened on this treeitem. if (event.target !== this.domNode && event.target !== this.domNode.firstElementChild) { return; } if (this.isExpandable) { if (this.isExpanded()) { this.tree.collapseTreeitem(this); } else { this.tree.expandTreeitem(this); } event.stopPropagation(); } }; TreeitemLink.prototype.handleFocus = function (event) { var node = this.domNode; if (this.isExpandable) { node = node.firstElementChild; } node.classList.add('focus'); }; TreeitemLink.prototype.handleBlur = function (event) { var node = this.domNode; if (this.isExpandable) { node = node.firstElementChild; } node.classList.remove('focus'); }; TreeitemLink.prototype.handleMouseOver = function (event) { event.currentTarget.classList.add('hover'); }; TreeitemLink.prototype.handleMouseOut = function (event) { event.currentTarget.classList.remove('hover'); }; return TreeitemLink; })(); /** * Creates a new TreeLinks. * * @since 4.9.0 * @class * @private * @see {@link https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2b.html|W3C Treeview Example} * @license W3C-20150513 */ TreeLinks = (function () { /* * This content is licensed according to the W3C Software License at * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * * File: TreeLinks.js * * Desc: Tree widget that implements ARIA Authoring Practices * for a tree being used as a file viewer * * Author: Jon Gunderson, Ku Ja Eun and Nicholas Hoyt */ /* * @constructor * * @desc * Tree item object for representing the state and user interactions for a * tree widget * * @param node * An element with the role=tree attribute */ var TreeLinks = function (node) { // Check whether node is a DOM element. if (typeof node !== 'object') { return; } this.domNode = node; this.treeitems = []; this.firstChars = []; this.firstTreeitem = null; this.lastTreeitem = null; }; TreeLinks.prototype.init = function () { function findTreeitems(node, tree, group) { var elem = node.firstElementChild; var ti = group; while (elem) { if ((elem.tagName.toLowerCase() === 'li' && elem.firstElementChild.tagName.toLowerCase() === 'span') || elem.tagName.toLowerCase() === 'a') { ti = new TreeitemLink(elem, tree, group); ti.init(); tree.treeitems.push(ti); tree.firstChars.push(ti.label.substring(0, 1).toLowerCase()); } if (elem.firstElementChild) { findTreeitems(elem, tree, ti); } elem = elem.nextElementSibling; } } // Initialize pop up menus. if (!this.domNode.getAttribute('role')) { this.domNode.setAttribute('role', 'tree'); } findTreeitems(this.domNode, this, false); this.updateVisibleTreeitems(); this.firstTreeitem.domNode.tabIndex = 0; }; TreeLinks.prototype.setFocusToItem = function (treeitem) { for (var i = 0; i < this.treeitems.length; i++) { var ti = this.treeitems[i]; if (ti === treeitem) { ti.domNode.tabIndex = 0; ti.domNode.focus(); } else { ti.domNode.tabIndex = -1; } } }; TreeLinks.prototype.setFocusToNextItem = function (currentItem) { var nextItem = false; for (var i = (this.treeitems.length - 1); i >= 0; i--) { var ti = this.treeitems[i]; if (ti === currentItem) { break; } if (ti.isVisible) { nextItem = ti; } } if (nextItem) { this.setFocusToItem(nextItem); } }; TreeLinks.prototype.setFocusToPreviousItem = function (currentItem) { var prevItem = false; for (var i = 0; i < this.treeitems.length; i++) { var ti = this.treeitems[i]; if (ti === currentItem) { break; } if (ti.isVisible) { prevItem = ti; } } if (prevItem) { this.setFocusToItem(prevItem); } }; TreeLinks.prototype.setFocusToParentItem = function (currentItem) { if (currentItem.groupTreeitem) { this.setFocusToItem(currentItem.groupTreeitem); } }; TreeLinks.prototype.setFocusToFirstItem = function () { this.setFocusToItem(this.firstTreeitem); }; TreeLinks.prototype.setFocusToLastItem = function () { this.setFocusToItem(this.lastTreeitem); }; TreeLinks.prototype.expandTreeitem = function (currentItem) { if (currentItem.isExpandable) { currentItem.domNode.setAttribute('aria-expanded', true); this.updateVisibleTreeitems(); } }; TreeLinks.prototype.expandAllSiblingItems = function (currentItem) { for (var i = 0; i < this.treeitems.length; i++) { var ti = this.treeitems[i]; if ((ti.groupTreeitem === currentItem.groupTreeitem) && ti.isExpandable) { this.expandTreeitem(ti); } } }; TreeLinks.prototype.collapseTreeitem = function (currentItem) { var groupTreeitem = false; if (currentItem.isExpanded()) { groupTreeitem = currentItem; } else { groupTreeitem = currentItem.groupTreeitem; } if (groupTreeitem) { groupTreeitem.domNode.setAttribute('aria-expanded', false); this.updateVisibleTreeitems(); this.setFocusToItem(groupTreeitem); } }; TreeLinks.prototype.updateVisibleTreeitems = function () { this.firstTreeitem = this.treeitems[0]; for (var i = 0; i < this.treeitems.length; i++) { var ti = this.treeitems[i]; var parent = ti.domNode.parentNode; ti.isVisible = true; while (parent && (parent !== this.domNode)) { if (parent.getAttribute('aria-expanded') == 'false') { ti.isVisible = false; } parent = parent.parentNode; } if (ti.isVisible) { this.lastTreeitem = ti; } } }; TreeLinks.prototype.setFocusByFirstCharacter = function (currentItem, _char) { var start, index; _char = _char.toLowerCase(); // Get start index for search based on position of currentItem. start = this.treeitems.indexOf(currentItem) + 1; if (start === this.treeitems.length) { start = 0; } // Check remaining slots in the menu. index = this.getIndexFirstChars(start, _char); // If not found in remaining slots, check from beginning. if (index === -1) { index = this.getIndexFirstChars(0, _char); } // If match was found... if (index > -1) { this.setFocusToItem(this.treeitems[index]); } }; TreeLinks.prototype.getIndexFirstChars = function (startIndex, _char) { for (var i = startIndex; i < this.firstChars.length; i++) { if (this.treeitems[i].isVisible) { if (_char === this.firstChars[i]) { return i; } } } return -1; }; return TreeLinks; })(); /* jshint ignore:end */ /* jscs:enable */ /* eslint-enable */ return component; })( jQuery ); /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.9.0 * @deprecated 5.5.0 * * @type {object} */ wp.themePluginEditor.l10n = wp.themePluginEditor.l10n || { saveAlert: '', saveError: '', lintError: { alternative: 'wp.i18n', func: function() { return { singular: '', plural: '' }; } } }; wp.themePluginEditor.l10n = window.wp.deprecateL10nObject( 'wp.themePluginEditor.l10n', wp.themePluginEditor.l10n, '5.5.0' ); user-profile.js 0000644 00000043647 15174671433 0007547 0 ustar 00 /** * @output wp-admin/js/user-profile.js */ /* global ajaxurl, pwsL10n, userProfileL10n, ClipboardJS */ (function($) { var updateLock = false, isSubmitting = false, __ = wp.i18n.__, clipboard = new ClipboardJS( '.application-password-display .copy-button' ), $pass1Row, $pass1, $pass2, $weakRow, $weakCheckbox, $toggleButton, $submitButtons, $submitButton, currentPass, $form, originalFormContent, $passwordWrapper, successTimeout, isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false, ua = navigator.userAgent.toLowerCase(), isSafari = window.safari !== 'undefined' && typeof window.safari === 'object', isFirefox = ua.indexOf( 'firefox' ) !== -1; function generatePassword() { if ( typeof zxcvbn !== 'function' ) { setTimeout( generatePassword, 50 ); return; } else if ( ! $pass1.val() || $passwordWrapper.hasClass( 'is-open' ) ) { // zxcvbn loaded before user entered password, or generating new password. $pass1.val( $pass1.data( 'pw' ) ); $pass1.trigger( 'pwupdate' ); showOrHideWeakPasswordCheckbox(); } else { // zxcvbn loaded after the user entered password, check strength. check_pass_strength(); showOrHideWeakPasswordCheckbox(); } /* * This works around a race condition when zxcvbn loads quickly and * causes `generatePassword()` to run prior to the toggle button being * bound. */ bindToggleButton(); // Install screen. if ( 1 !== parseInt( $toggleButton.data( 'start-masked' ), 10 ) ) { // Show the password not masked if admin_password hasn't been posted yet. $pass1.attr( 'type', 'text' ); } else { // Otherwise, mask the password. $toggleButton.trigger( 'click' ); } // Once zxcvbn loads, passwords strength is known. $( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) ); // Focus the password field if not the install screen. if ( 'mailserver_pass' !== $pass1.prop('id' ) && ! $('#weblog_title').length ) { $( $pass1 ).trigger( 'focus' ); } } function bindPass1() { currentPass = $pass1.val(); if ( 1 === parseInt( $pass1.data( 'reveal' ), 10 ) ) { generatePassword(); } $pass1.on( 'input' + ' pwupdate', function () { if ( $pass1.val() === currentPass ) { return; } currentPass = $pass1.val(); // Refresh password strength area. $pass1.removeClass( 'short bad good strong' ); showOrHideWeakPasswordCheckbox(); } ); bindCapsLockWarning( $pass1 ); } function resetToggle( show ) { $toggleButton .attr({ 'aria-label': show ? __( 'Show password' ) : __( 'Hide password' ) }) .find( '.text' ) .text( show ? __( 'Show' ) : __( 'Hide' ) ) .end() .find( '.dashicons' ) .removeClass( show ? 'dashicons-hidden' : 'dashicons-visibility' ) .addClass( show ? 'dashicons-visibility' : 'dashicons-hidden' ); } function bindToggleButton() { if ( !! $toggleButton ) { // Do not rebind. return; } $toggleButton = $pass1Row.find('.wp-hide-pw'); // Toggle between showing and hiding the password. $toggleButton.show().on( 'click', function () { if ( 'password' === $pass1.attr( 'type' ) ) { $pass1.attr( 'type', 'text' ); resetToggle( false ); } else { $pass1.attr( 'type', 'password' ); resetToggle( true ); } }); // Ensure the password input type is set to password when the form is submitted. $pass1Row.closest( 'form' ).on( 'submit', function() { if ( $pass1.attr( 'type' ) === 'text' ) { $pass1.attr( 'type', 'password' ); resetToggle( true ); } } ); } /** * Handle the password reset button. Sets up an ajax callback to trigger sending * a password reset email. */ function bindPasswordResetLink() { $( '#generate-reset-link' ).on( 'click', function() { var $this = $(this), data = { 'user_id': userProfileL10n.user_id, // The user to send a reset to. 'nonce': userProfileL10n.nonce // Nonce to validate the action. }; // Remove any previous error messages. $this.parent().find( '.notice-error' ).remove(); // Send the reset request. var resetAction = wp.ajax.post( 'send-password-reset', data ); // Handle reset success. resetAction.done( function( response ) { addInlineNotice( $this, true, response ); } ); // Handle reset failure. resetAction.fail( function( response ) { addInlineNotice( $this, false, response ); } ); }); } /** * Helper function to insert an inline notice of success or failure. * * @param {jQuery Object} $this The button element: the message will be inserted * above this button * @param {bool} success Whether the message is a success message. * @param {string} message The message to insert. */ function addInlineNotice( $this, success, message ) { var resultDiv = $( '<div />', { role: 'alert' } ); // Set up the notice div. resultDiv.addClass( 'notice inline' ); // Add a class indicating success or failure. resultDiv.addClass( 'notice-' + ( success ? 'success' : 'error' ) ); // Add the message, wrapping in a p tag, with a fadein to highlight each message. resultDiv.text( $( $.parseHTML( message ) ).text() ).wrapInner( '<p />'); // Disable the button when the callback has succeeded. $this.prop( 'disabled', success ); // Remove any previous notices. $this.siblings( '.notice' ).remove(); // Insert the notice. $this.before( resultDiv ); } function bindPasswordForm() { var $generateButton, $cancelButton; $pass1Row = $( '.user-pass1-wrap, .user-pass-wrap, .mailserver-pass-wrap, .reset-pass-submit' ); // Hide the confirm password field when JavaScript support is enabled. $('.user-pass2-wrap').hide(); $submitButton = $( '#submit, #wp-submit' ).on( 'click', function () { updateLock = false; }); $submitButtons = $submitButton.add( ' #createusersub' ); $weakRow = $( '.pw-weak' ); $weakCheckbox = $weakRow.find( '.pw-checkbox' ); $weakCheckbox.on( 'change', function() { $submitButtons.prop( 'disabled', ! $weakCheckbox.prop( 'checked' ) ); } ); $pass1 = $('#pass1, #mailserver_pass'); if ( $pass1.length ) { bindPass1(); } else { // Password field for the login form. $pass1 = $( '#user_pass' ); bindCapsLockWarning( $pass1 ); } /* * Fix a LastPass mismatch issue, LastPass only changes pass2. * * This fixes the issue by copying any changes from the hidden * pass2 field to the pass1 field, then running check_pass_strength. */ $pass2 = $( '#pass2' ).on( 'input', function () { if ( $pass2.val().length > 0 ) { $pass1.val( $pass2.val() ); $pass2.val(''); currentPass = ''; $pass1.trigger( 'pwupdate' ); } } ); // Disable hidden inputs to prevent autofill and submission. if ( $pass1.is( ':hidden' ) ) { $pass1.prop( 'disabled', true ); $pass2.prop( 'disabled', true ); } $passwordWrapper = $pass1Row.find( '.wp-pwd' ); $generateButton = $pass1Row.find( 'button.wp-generate-pw' ); bindToggleButton(); $generateButton.show(); $generateButton.on( 'click', function () { updateLock = true; // Make sure the password fields are shown. $generateButton.not( '.skip-aria-expanded' ).attr( 'aria-expanded', 'true' ); $passwordWrapper .show() .addClass( 'is-open' ); // Enable the inputs when showing. $pass1.attr( 'disabled', false ); $pass2.attr( 'disabled', false ); // Set the password to the generated value. generatePassword(); // Show generated password in plaintext by default. resetToggle ( false ); // Generate the next password and cache. wp.ajax.post( 'generate-password' ) .done( function( data ) { $pass1.data( 'pw', data ); } ); } ); $cancelButton = $pass1Row.find( 'button.wp-cancel-pw' ); $cancelButton.on( 'click', function () { updateLock = false; // Disable the inputs when hiding to prevent autofill and submission. $pass1.prop( 'disabled', true ); $pass2.prop( 'disabled', true ); // Clear password field and update the UI. $pass1.val( '' ).trigger( 'pwupdate' ); resetToggle( false ); // Hide password controls. $passwordWrapper .hide() .removeClass( 'is-open' ); // Stop an empty password from being submitted as a change. $submitButtons.prop( 'disabled', false ); $generateButton.attr( 'aria-expanded', 'false' ); } ); $pass1Row.closest( 'form' ).on( 'submit', function () { updateLock = false; $pass1.prop( 'disabled', false ); $pass2.prop( 'disabled', false ); $pass2.val( $pass1.val() ); }); } function check_pass_strength() { var pass1 = $('#pass1').val(), strength; $('#pass-strength-result').removeClass('short bad good strong empty'); if ( ! pass1 || '' === pass1.trim() ) { $( '#pass-strength-result' ).addClass( 'empty' ).html( ' ' ); return; } strength = wp.passwordStrength.meter( pass1, wp.passwordStrength.userInputDisallowedList(), pass1 ); switch ( strength ) { case -1: $( '#pass-strength-result' ).addClass( 'bad' ).html( pwsL10n.unknown ); break; case 2: $('#pass-strength-result').addClass('bad').html( pwsL10n.bad ); break; case 3: $('#pass-strength-result').addClass('good').html( pwsL10n.good ); break; case 4: $('#pass-strength-result').addClass('strong').html( pwsL10n.strong ); break; case 5: $('#pass-strength-result').addClass('short').html( pwsL10n.mismatch ); break; default: $('#pass-strength-result').addClass('short').html( pwsL10n.short ); } } /** * Bind Caps Lock detection to a password input field. * * @param {jQuery} $input The password input field. */ function bindCapsLockWarning( $input ) { var $capsWarning, $capsIcon, $capsText, capsLockOn = false; // Skip warning on macOS Safari + Firefox (they show native indicators). if ( isMac && ( isSafari || isFirefox ) ) { return; } $capsWarning = $( '<div id="caps-warning" class="caps-warning"></div>' ); $capsIcon = $( '<span class="caps-icon" aria-hidden="true"><svg viewBox="0 0 24 26" xmlns="http://www.w3.org/2000/svg" fill="#3c434a" stroke="#3c434a" stroke-width="0.5"><path d="M12 5L19 15H16V19H8V15H5L12 5Z"/><rect x="8" y="21" width="8" height="1.5" rx="0.75"/></svg></span>' ); $capsText = $( '<span>', { 'class': 'caps-warning-text', text: __( 'Caps lock is on.' ) } ); $capsWarning.append( $capsIcon, $capsText ); $input.parent( 'div' ).append( $capsWarning ); $input.on( 'keydown', function( jqEvent ) { var event = jqEvent.originalEvent; // Skip if key is not a printable character. // Key length > 1 usually means non-printable (e.g., "Enter", "Tab"). if ( event.ctrlKey || event.metaKey || event.altKey || ! event.key || event.key.length !== 1 ) { return; } var state = isCapsLockOn( event ); // React when the state changes or if caps lock is on when the user starts typing. if ( state !== capsLockOn ) { capsLockOn = state; if ( capsLockOn ) { $capsWarning.show(); // Don't duplicate existing screen reader Caps lock notifications. if ( event.key !== 'CapsLock' ) { wp.a11y.speak( __( 'Caps lock is on.' ), 'assertive' ); } } else { $capsWarning.hide(); } } } ); $input.on( 'blur', function() { if ( ! document.hasFocus() ) { return; } capsLockOn = false; $capsWarning.hide(); } ); } /** * Determines if Caps Lock is currently enabled. * * On macOS Safari and Firefox, the native warning is preferred, * so this function returns false to suppress custom warnings. * * @param {KeyboardEvent} e The keydown event object. * * @return {boolean} True if Caps Lock is on, false otherwise. */ function isCapsLockOn( event ) { return event.getModifierState( 'CapsLock' ); } function showOrHideWeakPasswordCheckbox() { var passStrengthResult = $('#pass-strength-result'); if ( passStrengthResult.length ) { var passStrength = passStrengthResult[0]; if ( passStrength.className ) { $pass1.addClass( passStrength.className ); if ( $( passStrength ).is( '.short, .bad' ) ) { if ( ! $weakCheckbox.prop( 'checked' ) ) { $submitButtons.prop( 'disabled', true ); } $weakRow.show(); } else { if ( $( passStrength ).is( '.empty' ) ) { $submitButtons.prop( 'disabled', true ); $weakCheckbox.prop( 'checked', false ); } else { $submitButtons.prop( 'disabled', false ); } $weakRow.hide(); } } } } // Debug information copy section. clipboard.on( 'success', function( e ) { var triggerElement = $( e.trigger ), successElement = $( '.success', triggerElement.closest( '.application-password-display' ) ); // Clear the selection and move focus back to the trigger. e.clearSelection(); // Show success visual feedback. clearTimeout( successTimeout ); successElement.removeClass( 'hidden' ); // Hide success visual feedback after 3 seconds since last success. successTimeout = setTimeout( function() { successElement.addClass( 'hidden' ); }, 3000 ); // Handle success audible feedback. wp.a11y.speak( __( 'Application password has been copied to your clipboard.' ) ); } ); $( function() { var $colorpicker, $stylesheet, user_id, current_user_id, select = $( '#display_name' ), current_name = select.val(), greeting = $( '#wp-admin-bar-my-account' ).find( '.display-name' ); $( '#pass1' ).val( '' ).on( 'input' + ' pwupdate', check_pass_strength ); $('#pass-strength-result').show(); $('.color-palette').on( 'click', function() { $(this).siblings('input[name="admin_color"]').prop('checked', true); }); if ( select.length ) { $('#first_name, #last_name, #nickname').on( 'blur.user_profile', function() { var dub = [], inputs = { display_nickname : $('#nickname').val() || '', display_username : $('#user_login').val() || '', display_firstname : $('#first_name').val() || '', display_lastname : $('#last_name').val() || '' }; if ( inputs.display_firstname && inputs.display_lastname ) { inputs.display_firstlast = inputs.display_firstname + ' ' + inputs.display_lastname; inputs.display_lastfirst = inputs.display_lastname + ' ' + inputs.display_firstname; } $.each( $('option', select), function( i, el ){ dub.push( el.value ); }); $.each(inputs, function( id, value ) { if ( ! value ) { return; } var val = value.replace(/<\/?[a-z][^>]*>/gi, ''); if ( inputs[id].length && $.inArray( val, dub ) === -1 ) { dub.push(val); $('<option />', { 'text': val }).appendTo( select ); } }); }); /** * Replaces "Howdy, *" in the admin toolbar whenever the display name dropdown is updated for one's own profile. */ select.on( 'change', function() { if ( user_id !== current_user_id ) { return; } var display_name = this.value.trim() || current_name; greeting.text( display_name ); } ); } $colorpicker = $( '#color-picker' ); $stylesheet = $( '#colors-css' ); user_id = $( 'input#user_id' ).val(); current_user_id = $( 'input[name="checkuser_id"]' ).val(); $colorpicker.on( 'click.colorpicker', '.color-option', function() { var colors, $this = $(this); if ( $this.hasClass( 'selected' ) ) { return; } $this.siblings( '.selected' ).removeClass( 'selected' ); $this.addClass( 'selected' ).find( 'input[type="radio"]' ).prop( 'checked', true ); // Set color scheme. if ( user_id === current_user_id ) { // Load the colors stylesheet. // The default color scheme won't have one, so we'll need to create an element. if ( 0 === $stylesheet.length ) { $stylesheet = $( '<link rel="stylesheet" />' ).appendTo( 'head' ); } $stylesheet.attr( 'href', $this.children( '.css_url' ).val() ); // Repaint icons. if ( typeof wp !== 'undefined' && wp.svgPainter ) { try { colors = JSON.parse( $this.children( '.icon_colors' ).val() ); } catch ( error ) {} if ( colors ) { wp.svgPainter.setColors( colors ); wp.svgPainter.paint(); } } // Update user option. $.post( ajaxurl, { action: 'save-user-color-scheme', color_scheme: $this.children( 'input[name="admin_color"]' ).val(), nonce: $('#color-nonce').val() }).done( function( response ) { if ( response.success ) { $( 'body' ).removeClass( response.data.previousScheme ).addClass( response.data.currentScheme ); } }); } }); bindPasswordForm(); bindPasswordResetLink(); $submitButtons.on( 'click', function() { isSubmitting = true; }); $form = $( '#your-profile, #createuser' ); originalFormContent = $form.serialize(); }); $( '#destroy-sessions' ).on( 'click', function( e ) { var $this = $(this); wp.ajax.post( 'destroy-sessions', { nonce: $( '#_wpnonce' ).val(), user_id: $( '#user_id' ).val() }).done( function( response ) { $this.prop( 'disabled', true ); $this.siblings( '.notice' ).remove(); $this.before( '<div class="notice notice-success inline" role="alert"><p>' + response.message + '</p></div>' ); }).fail( function( response ) { $this.siblings( '.notice' ).remove(); $this.before( '<div class="notice notice-error inline" role="alert"><p>' + response.message + '</p></div>' ); }); e.preventDefault(); }); window.generatePassword = generatePassword; // Warn the user if password was generated but not saved. $( window ).on( 'beforeunload', function () { if ( true === updateLock ) { return __( 'Your new password has not been saved.' ); } if ( originalFormContent !== $form.serialize() && ! isSubmitting ) { return __( 'The changes you made will be lost if you navigate away from this page.' ); } }); /* * We need to generate a password as soon as the Reset Password page is loaded, * to avoid double clicking the button to retrieve the first generated password. * See ticket #39638. */ $( function() { if ( $( '.reset-pass-submit' ).length ) { $( '.reset-pass-submit button.wp-generate-pw' ).trigger( 'click' ); } }); })(jQuery); post.min.js 0000644 00000044635 15174671433 0006700 0 ustar 00 /*! This file is auto-generated */ window.makeSlugeditClickable=window.editPermalink=function(){},window.wp=window.wp||{},function(s){var t=!1,a=wp.i18n.__;window.commentsBox={st:0,get:function(t,e){var i=this.st;return this.st+=e=e||20,this.total=t,s("#commentsdiv .spinner").addClass("is-active"),t={action:"get-comments",mode:"single",_ajax_nonce:s("#add_comment_nonce").val(),p:s("#post_ID").val(),start:i,number:e},s.post(ajaxurl,t,function(t){t=wpAjax.parseAjaxResponse(t),s("#commentsdiv .widefat").show(),s("#commentsdiv .spinner").removeClass("is-active"),"object"==typeof t&&t.responses[0]?(s("#the-comment-list").append(t.responses[0].data),theList=theExtraList=null,s("a[className*=':']").off(),commentsBox.st>commentsBox.total?s("#show-comments").hide():s("#show-comments").show().children("a").text(a("Show more comments"))):1==t?s("#show-comments").text(a("No more comments found.")):s("#the-comment-list").append('<tr><td colspan="2">'+wpAjax.broken+"</td></tr>")}),!1},load:function(t){this.st=jQuery("#the-comment-list tr.comment:visible").length,this.get(t)}},window.WPSetThumbnailHTML=function(t){s(".inside","#postimagediv").html(t)},window.WPSetThumbnailID=function(t){var e=s('input[value="_thumbnail_id"]',"#list-table");0<e.length&&s("#meta\\["+e.attr("id").match(/[0-9]+/)+"\\]\\[value\\]").text(t)},window.WPRemoveThumbnail=function(t){s.post(ajaxurl,{action:"set-post-thumbnail",post_id:s("#post_ID").val(),thumbnail_id:-1,_ajax_nonce:t,cookie:encodeURIComponent(document.cookie)},function(t){"0"==t?alert(a("Could not set that as the thumbnail image. Try a different attachment.")):WPSetThumbnailHTML(t)})},s(document).on("heartbeat-send.refresh-lock",function(t,e){var i=s("#active_post_lock").val(),a=s("#post_ID").val(),n={};a&&s("#post-lock-dialog").length&&(n.post_id=a,i&&(n.lock=i),e["wp-refresh-post-lock"]=n)}).on("heartbeat-tick.refresh-lock",function(t,e){var i,a;e["wp-refresh-post-lock"]&&((e=e["wp-refresh-post-lock"]).lock_error?(i=s("#post-lock-dialog")).length&&!i.is(":visible")&&(wp.autosave&&(s(document).one("heartbeat-tick",function(){wp.autosave.server.suspend(),i.removeClass("saving").addClass("saved"),s(window).off("beforeunload.edit-post")}),i.addClass("saving"),wp.autosave.server.triggerSave()),e.lock_error.avatar_src&&(a=s("<img />",{class:"avatar avatar-64 photo",width:64,height:64,alt:"",src:e.lock_error.avatar_src,srcset:e.lock_error.avatar_src_2x?e.lock_error.avatar_src_2x+" 2x":void 0}),i.find("div.post-locked-avatar").empty().append(a)),i.show().find(".currently-editing").text(e.lock_error.text),i.find(".wp-tab-first").trigger("focus")):e.new_lock&&s("#active_post_lock").val(e.new_lock))}).on("before-autosave.update-post-slug",function(){t=document.activeElement&&"title"===document.activeElement.id}).on("after-autosave.update-post-slug",function(){s("#edit-slug-box > *").length||t||s.post(ajaxurl,{action:"sample-permalink",post_id:s("#post_ID").val(),new_title:s("#title").val(),samplepermalinknonce:s("#samplepermalinknonce").val()},function(t){"-1"!=t&&s("#edit-slug-box").html(t)})})}(jQuery),function(a){var n,t;function i(){n=!1,window.clearTimeout(t),t=window.setTimeout(function(){n=!0},3e5)}a(function(){i()}).on("heartbeat-send.wp-refresh-nonces",function(t,e){var i=a("#wp-auth-check-wrap");(n||i.length&&!i.hasClass("hidden"))&&(i=a("#post_ID").val())&&a("#_wpnonce").val()&&(e["wp-refresh-post-nonces"]={post_id:i})}).on("heartbeat-tick.wp-refresh-nonces",function(t,e){e=e["wp-refresh-post-nonces"];e&&(i(),e.replace&&a.each(e.replace,function(t,e){a("#"+t).val(e)}),e.heartbeatNonce)&&(window.heartbeatSettings.nonce=e.heartbeatNonce)})}(jQuery),jQuery(function(h){var d,e,i,a,n,s,o,l,r,t,c,p,u=h("#content"),v=h(document),f=h("#post_ID").val()||0,m=h("#submitpost"),w=!0,g=h("#post-visibility-select"),b=h("#timestampdiv"),k=h("#post-status-select"),_=!!window.navigator.platform&&-1!==window.navigator.platform.indexOf("Mac"),y=new ClipboardJS(".copy-attachment-url.edit-media"),x=wp.i18n.__,C=wp.i18n._x;function D(t){c.hasClass("wp-editor-expand")||(r?o.theme.resizeTo(null,l+t.pageY):u.height(Math.max(50,l+t.pageY)),t.preventDefault())}function j(){var t;c.hasClass("wp-editor-expand")||(t=r?(o.focus(),((t=parseInt(h("#wp-content-editor-container .mce-toolbar-grp").height(),10))<10||200<t)&&(t=30),parseInt(h("#content_ifr").css("height"),10)+t-28):(u.trigger("focus"),parseInt(u.css("height"),10)),v.off(".wp-editor-resize"),t&&50<t&&t<5e3&&setUserSetting("ed_size",t))}postboxes.add_postbox_toggles(pagenow),window.name="",h("#post-lock-dialog .notification-dialog").on("keydown",function(t){var e;9==t.which&&((e=h(t.target)).hasClass("wp-tab-first")&&t.shiftKey?(h(this).find(".wp-tab-last").trigger("focus"),t.preventDefault()):e.hasClass("wp-tab-last")&&!t.shiftKey&&(h(this).find(".wp-tab-first").trigger("focus"),t.preventDefault()))}).filter(":visible").find(".wp-tab-first").trigger("focus"),wp.heartbeat&&h("#post-lock-dialog").length&&wp.heartbeat.interval(10),i=m.find(":submit, a.submitdelete, #post-preview").on("click.edit-post",function(t){var e=h(this);e.hasClass("disabled")?t.preventDefault():e.hasClass("submitdelete")||e.is("#post-preview")||h("form#post").off("submit.edit-post").on("submit.edit-post",function(t){if(!t.isDefaultPrevented()){if(wp.autosave&&wp.autosave.server.suspend(),"undefined"!=typeof commentReply){if(!commentReply.discardCommentChanges())return!1;commentReply.close()}w=!1,h(window).off("beforeunload.edit-post"),i.addClass("disabled"),("publish"===e.attr("id")?m.find("#major-publishing-actions .spinner"):m.find("#minor-publishing .spinner")).addClass("is-active")}})}),h("#post-preview").on("click.post-preview",function(t){var e=h(this),i=h("form#post"),a=h("input#wp-preview"),n=e.attr("target")||"wp-preview",s=navigator.userAgent.toLowerCase();t.preventDefault(),e.hasClass("disabled")||(wp.autosave&&wp.autosave.server.tempBlockSave(),a.val("dopreview"),i.attr("target",n).trigger("submit").attr("target",""),-1!==s.indexOf("safari")&&-1===s.indexOf("chrome")&&i.attr("action",function(t,e){return e+"?t="+(new Date).getTime()}),a.val(""))}),h("#auto_draft").val()&&h("#title").on("blur",function(){var t;this.value&&!h("#edit-slug-box > *").length&&(h("form#post").one("submit",function(){t=!0}),window.setTimeout(function(){!t&&wp.autosave&&wp.autosave.server.triggerSave()},200))}),v.on("autosave-disable-buttons.edit-post",function(){i.addClass("disabled")}).on("autosave-enable-buttons.edit-post",function(){wp.heartbeat&&wp.heartbeat.hasConnectionError()||i.removeClass("disabled")}).on("before-autosave.edit-post",function(){h(".autosave-message").text(x("Saving Draft\u2026"))}).on("after-autosave.edit-post",function(t,e){h(".autosave-message").text(e.message),h(document.body).hasClass("post-new-php")&&h(".submitbox .submitdelete").show()}),h(window).on("beforeunload.edit-post",function(t){var e=window.tinymce&&window.tinymce.get("content"),i=!1;if(wp.autosave?i=wp.autosave.server.postChanged():e&&(i=!e.isHidden()&&e.isDirty()),i)return t.preventDefault(),x("The changes you made will be lost if you navigate away from this page.")}).on("pagehide.edit-post",function(t){if(w&&(!t.target||"#document"==t.target.nodeName)){var t=h("#post_ID").val(),e=h("#active_post_lock").val();if(t&&e){t={action:"wp-remove-post-lock",_wpnonce:h("#_wpnonce").val(),post_ID:t,active_post_lock:e};if(window.FormData&&window.navigator.sendBeacon){var i=new window.FormData;if(h.each(t,function(t,e){i.append(t,e)}),window.navigator.sendBeacon(ajaxurl,i))return}h.post({async:!1,data:t,url:ajaxurl})}}}),h("#tagsdiv-post_tag").length?window.tagBox&&window.tagBox.init():h(".meta-box-sortables").children("div.postbox").each(function(){if(0===this.id.indexOf("tagsdiv-"))return window.tagBox&&window.tagBox.init(),!1}),h(".categorydiv").each(function(){var t,a,e,i=h(this).attr("id").split("-");i.shift(),a=i.join("-"),e="category"==a?"cats":a+"_tab",h("a","#"+a+"-tabs").on("click",function(t){t.preventDefault();t=h(this).attr("href");h(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),h("#"+a+"-tabs").siblings(".tabs-panel").hide(),h(t).show(),"#"+a+"-all"==t?deleteUserSetting(e):setUserSetting(e,"pop")}),getUserSetting(e)&&h('a[href="#'+a+'-pop"]',"#"+a+"-tabs").trigger("click"),h("#new"+a).one("focus",function(){h(this).val("").removeClass("form-input-tip")}),h("#new"+a).on("keypress",function(t){13===t.keyCode&&(t.preventDefault(),h("#"+a+"-add-submit").trigger("click"))}),h("#"+a+"-add-submit").on("click",function(){h("#new"+a).trigger("focus")}),i=function(t){return!!h("#new"+a).val()&&(t.data+="&"+h(":checked","#"+a+"checklist").serialize(),h("#"+a+"-add-submit").prop("disabled",!0),t)},t=function(t,e){var i=h("#new"+a+"_parent");h("#"+a+"-add-submit").prop("disabled",!1),"undefined"!=e.parsed.responses[0]&&(e=e.parsed.responses[0].supplemental.newcat_parent)&&(i.before(e),i.remove())},h("#"+a+"checklist").wpList({alt:"",response:a+"-ajax-response",addBefore:i,addAfter:t}),h("#"+a+"-add-toggle").on("click",function(t){t.preventDefault(),h("#"+a+"-adder").toggleClass("wp-hidden-children"),h('a[href="#'+a+'-all"]',"#"+a+"-tabs").trigger("click"),h("#new"+a).trigger("focus")}),h("#"+a+"checklist, #"+a+"checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var t=h(this),e=t.is(":checked"),i=t.val();i&&t.parents("#taxonomy-"+a).length&&(h("input#in-"+a+"-"+i+', input[id^="in-'+a+"-"+i+'-"]').prop("checked",e),h("input#in-popular-"+a+"-"+i).prop("checked",e))})}),h("#postcustom").length&&h("#the-list").wpList({addBefore:function(t){return t.data+="&post_id="+h("#post_ID").val(),t},addAfter:function(){h("table#list-table").show()}}),h("#submitdiv").length&&(d=h("#timestamp").html(),e=h("#post-visibility-display").html(),a=function(){"public"!=g.find("input:radio:checked").val()?(h("#sticky").prop("checked",!1),h("#sticky-span").hide()):h("#sticky-span").show(),"password"!=g.find("input:radio:checked").val()?h("#password-span").hide():h("#password-span").show()},n=function(){if(b.length){var t,e=h("#post_status"),i=h('option[value="publish"]',e),a=h("#aa").val(),n=h("#mm").val(),s=h("#jj").val(),o=h("#hh").val(),l=h("#mn").val(),r=new Date(a,n-1,s,o,l),c=new Date(h("#hidden_aa").val(),h("#hidden_mm").val()-1,h("#hidden_jj").val(),h("#hidden_hh").val(),h("#hidden_mn").val()),p=new Date(h("#cur_aa").val(),h("#cur_mm").val()-1,h("#cur_jj").val(),h("#cur_hh").val(),h("#cur_mn").val());if(r.getFullYear()!=a||1+r.getMonth()!=n||r.getDate()!=s||r.getMinutes()!=l)return b.find(".timestamp-wrap").addClass("form-invalid"),!1;b.find(".timestamp-wrap").removeClass("form-invalid"),p<r?(t=x("Schedule for:"),h("#publish").val(C("Schedule","post action/button label"))):r<=p&&"publish"!=h("#original_post_status").val()?(t=x("Publish on:"),h("#publish").val(x("Publish"))):(t=x("Published on:"),h("#publish").val(x("Update"))),c.toUTCString()==r.toUTCString()?h("#timestamp").html(d):h("#timestamp").html("\n"+t+" <b>"+x("%1$s %2$s, %3$s at %4$s:%5$s").replace("%1$s",h('option[value="'+n+'"]',"#mm").attr("data-text")).replace("%2$s",parseInt(s,10)).replace("%3$s",a).replace("%4$s",("00"+o).slice(-2)).replace("%5$s",("00"+l).slice(-2))+"</b> "),"private"==g.find("input:radio:checked").val()?(h("#publish").val(x("Update")),0===i.length?e.append('<option value="publish">'+x("Privately Published")+"</option>"):i.html(x("Privately Published")),h('option[value="publish"]',e).prop("selected",!0),h("#misc-publishing-actions .edit-post-status").hide()):("future"==h("#original_post_status").val()||"draft"==h("#original_post_status").val()?i.length&&(i.remove(),e.val(h("#hidden_post_status").val())):i.html(x("Published")),e.is(":hidden")&&h("#misc-publishing-actions .edit-post-status").show()),h("#post-status-display").text(wp.sanitize.stripTagsAndEncodeText(h("option:selected",e).text())),"private"==h("option:selected",e).val()||"publish"==h("option:selected",e).val()?h("#save-post").hide():(h("#save-post").show(),"pending"==h("option:selected",e).val()?h("#save-post").show().val(x("Save as Pending")):h("#save-post").show().val(x("Save Draft")))}return!0},h("#visibility .edit-visibility").on("click",function(t){t.preventDefault(),g.is(":hidden")&&(a(),g.slideDown("fast",function(){g.find('input[type="radio"]').first().trigger("focus")}),h(this).hide())}),g.find(".cancel-post-visibility").on("click",function(t){g.slideUp("fast"),h("#visibility-radio-"+h("#hidden-post-visibility").val()).prop("checked",!0),h("#post_password").val(h("#hidden-post-password").val()),h("#sticky").prop("checked",h("#hidden-post-sticky").prop("checked")),h("#post-visibility-display").html(e),h("#visibility .edit-visibility").show().trigger("focus"),n(),t.preventDefault()}),g.find(".save-post-visibility").on("click",function(t){var e="",i=g.find("input:radio:checked").val();switch(g.slideUp("fast"),h("#visibility .edit-visibility").show().trigger("focus"),n(),"public"!==i&&h("#sticky").prop("checked",!1),i){case"public":e=h("#sticky").prop("checked")?x("Public, Sticky"):x("Public");break;case"private":e=x("Private");break;case"password":e=x("Password Protected")}h("#post-visibility-display").text(e),t.preventDefault()}),g.find("input:radio").on("change",function(){a()}),b.siblings("a.edit-timestamp").on("click",function(t){b.is(":hidden")&&(b.slideDown("fast",function(){h("input, select",b.find(".timestamp-wrap")).first().trigger("focus")}),h(this).hide()),t.preventDefault()}),b.find(".cancel-timestamp").on("click",function(t){b.slideUp("fast").siblings("a.edit-timestamp").show().trigger("focus"),h("#mm").val(h("#hidden_mm").val()),h("#jj").val(h("#hidden_jj").val()),h("#aa").val(h("#hidden_aa").val()),h("#hh").val(h("#hidden_hh").val()),h("#mn").val(h("#hidden_mn").val()),n(),t.preventDefault()}),b.find(".save-timestamp").on("click",function(t){n()&&(b.slideUp("fast"),b.siblings("a.edit-timestamp").show().trigger("focus")),t.preventDefault()}),h("#post").on("submit",function(t){n()||(t.preventDefault(),b.show(),wp.autosave&&wp.autosave.enableButtons(),h("#publishing-action .spinner").removeClass("is-active"))}),k.siblings("a.edit-post-status").on("click",function(t){k.is(":hidden")&&(k.slideDown("fast",function(){k.find("select").trigger("focus")}),h(this).hide()),t.preventDefault()}),k.find(".save-post-status").on("click",function(t){k.slideUp("fast").siblings("a.edit-post-status").show().trigger("focus"),n(),t.preventDefault()}),k.find(".cancel-post-status").on("click",function(t){k.slideUp("fast").siblings("a.edit-post-status").show().trigger("focus"),h("#post_status").val(h("#hidden_post_status").val()),n(),t.preventDefault()})),h("#titlediv").on("click",".edit-slug",function(){var t,e,a,i,n=0,s=h("#post_name"),o=s.val(),l=h("#sample-permalink"),r=l.html(),c=h("#sample-permalink a").html(),p=h("#edit-slug-buttons"),d=p.html(),u=h("#editable-post-name-full");for(u.find("img").replaceWith(function(){return this.alt}),u=u.html(),l.html(c),a=h("#editable-post-name"),i=a.html(),p.html('<button type="button" class="save button button-small">'+x("OK")+'</button> <button type="button" class="cancel button-link">'+x("Cancel")+"</button>"),p.children(".save").on("click",function(){var i=a.children("input").val();i==h("#editable-post-name-full").text()?p.children(".cancel").trigger("click"):h.post(ajaxurl,{action:"sample-permalink",post_id:f,new_slug:i,new_title:h("#title").val(),samplepermalinknonce:h("#samplepermalinknonce").val()},function(t){var e=h("#edit-slug-box");e.html(t),e.hasClass("hidden")&&e.fadeIn("fast",function(){e.removeClass("hidden")}),p.html(d),l.html(r),s.val(i),h(".edit-slug").trigger("focus"),wp.a11y.speak(x("Permalink saved"))})}),p.children(".cancel").on("click",function(){h("#view-post-btn").show(),a.html(i),p.html(d),l.html(r),s.val(o),h(".edit-slug").trigger("focus")}),t=0;t<u.length;++t)"%"==u.charAt(t)&&n++;c=n>u.length/4?"":u,e=x("URL Slug"),a.html('<label for="new-post-slug" class="screen-reader-text">'+e+'</label><input type="text" id="new-post-slug" value="'+c+'" autocomplete="off" spellcheck="false" />').children("input").on("keydown",function(t){var e=t.which;13===e&&(t.preventDefault(),p.children(".save").trigger("click")),27===e&&p.children(".cancel").trigger("click")}).on("keyup",function(){s.val(this.value)}).trigger("focus")}),window.wptitlehint=function(t){var e=h("#"+(t=t||"title")),i=h("#"+t+"-prompt-text");""===e.val()&&i.removeClass("screen-reader-text"),e.on("input",function(){""===this.value?i.removeClass("screen-reader-text"):i.addClass("screen-reader-text")})},wptitlehint(),t=h("#post-status-info"),c=h("#postdivrich"),!u.length||"ontouchstart"in window?h("#content-resize-handle").hide():t.on("mousedown.wp-editor-resize",function(t){(o="undefined"!=typeof tinymce?tinymce.get("content"):o)&&!o.isHidden()?(r=!0,l=h("#content_ifr").height()-t.pageY):(r=!1,l=u.height()-t.pageY,u.trigger("blur")),v.on("mousemove.wp-editor-resize",D).on("mouseup.wp-editor-resize mouseleave.wp-editor-resize",j),t.preventDefault()}).on("mouseup.wp-editor-resize",j),"undefined"!=typeof tinymce&&(h("#post-formats-select input.post-format").on("change.set-editor-class",function(){var t,e,i=this.id;i&&h(this).prop("checked")&&(t=tinymce.get("content"))&&((e=t.getBody()).className=e.className.replace(/\bpost-format-[^ ]+/,""),t.dom.addClass(e,"post-format-0"==i?"post-format-standard":i),h(document).trigger("editor-classchange"))}),h("#page_template").on("change.set-editor-class",function(){var t,e,i=h(this).val()||"";(i=i.substr(i.lastIndexOf("/")+1,i.length).replace(/\.php$/,"").replace(/\./g,"-"))&&(t=tinymce.get("content"))&&((e=t.getBody()).className=e.className.replace(/\bpage-template-[^ ]+/,""),t.dom.addClass(e,"page-template-"+i),h(document).trigger("editor-classchange"))})),u.on("keydown.wp-autosave",function(t){83!==t.which||t.shiftKey||t.altKey||_&&(!t.metaKey||t.ctrlKey)||!_&&!t.ctrlKey||(wp.autosave&&wp.autosave.server.triggerSave(),t.preventDefault())}),"auto-draft"===h("#original_post_status").val()&&window.history.replaceState&&h("#publish").on("click",function(){p=(p=window.location.href)+(-1!==p.indexOf("?")?"&":"?")+"wp-post-new-reload=true",window.history.replaceState(null,null,p)}),y.on("success",function(t){var e=h(t.trigger),i=h(".success",e.closest(".copy-to-clipboard-container"));t.clearSelection(),clearTimeout(s),i.removeClass("hidden"),s=setTimeout(function(){i.addClass("hidden")},3e3),wp.a11y.speak(x("The file URL has been copied to your clipboard"))})}),function(t,o){t(function(){var i,e=t("#content"),a=t("#wp-word-count").find(".word-count"),n=0;function s(){var t=!i||i.isHidden()?e.val():i.getContent({format:"raw"}),t=o.count(t);t!==n&&a.text(t),n=t}t(document).on("tinymce-editor-init",function(t,e){"content"===e.id&&(i=e).on("nodechange keyup",_.debounce(s,1e3))}),e.on("input keyup",_.debounce(s,1e3)),s()})}(jQuery,new wp.utils.WordCounter); application-passwords.min.js 0000644 00000005720 15174671433 0012231 0 ustar 00 /*! This file is auto-generated */ !function(o){var a=o("#application-passwords-section"),i=a.find(".create-application-password"),t=i.find(".input"),n=i.find(".button"),p=a.find(".application-passwords-list-table-wrapper"),r=a.find("tbody"),d=r.find(".no-items"),e=o("#revoke-all-application-passwords"),l=wp.template("new-application-password"),c=wp.template("application-password-row"),u=o("#user_id").val();function w(e,s,a){f(a=e.responseJSON&&e.responseJSON.message?e.responseJSON.message:a,"error")}function f(e,s){s=o("<div></div>").attr("role","alert").attr("tabindex","-1").addClass("is-dismissible notice notice-"+s).append(o("<p></p>").text(e)).append(o("<button></button>").attr("type","button").addClass("notice-dismiss").append(o("<span></span>").addClass("screen-reader-text").text(wp.i18n.__("Dismiss this notice."))));return i.after(s),s}function v(){o(".notice",a).remove()}n.on("click",function(e){var s;e.preventDefault(),n.prop("aria-disabled")||(0===(e=t.val()).length?t.trigger("focus"):(v(),n.prop("aria-disabled",!0).addClass("disabled"),s={name:e},s=wp.hooks.applyFilters("wp_application_passwords_new_password_request",s,u),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"POST",data:s}).always(function(){n.removeProp("aria-disabled").removeClass("disabled")}).done(function(e){t.val(""),n.prop("disabled",!1),i.after(l({name:e.name,password:e.password})),o(".new-application-password-notice").attr("tabindex","-1").trigger("focus"),r.prepend(c(e)),p.show(),d.remove(),wp.hooks.doAction("wp_application_passwords_created_password",e,s)}).fail(w)))}),r.on("click",".delete",function(e){var s,a;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke this password? This action cannot be undone."))&&(s=o(this),e=(a=s.closest("tr")).data("uuid"),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords/"+e+"?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(0===a.siblings().length&&p.hide(),a.remove(),f(wp.i18n.__("Application password revoked."),"success").trigger("focus"))}).fail(w))}),e.on("click",function(e){var s;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke all passwords? This action cannot be undone."))&&(s=o(this),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(r.children().remove(),a.children(".new-application-password").remove(),p.hide(),f(wp.i18n.__("All application passwords revoked."),"success").trigger("focus"))}).fail(w))}),a.on("click",".notice-dismiss",function(e){e.preventDefault();var s=o(this).parent();s.removeAttr("role"),s.fadeTo(100,0,function(){s.slideUp(100,function(){s.remove(),t.trigger("focus")})})}),t.on("keypress",function(e){13===e.which&&(e.preventDefault(),n.trigger("click"))}),0===r.children("tr").not(d).length&&p.hide()}(jQuery); svg-painter.js 0000644 00000006320 15174671433 0007355 0 ustar 00 /** * Attempt to re-color SVG icons used in the admin menu or the toolbar * * @output wp-admin/js/svg-painter.js */ window.wp = window.wp || {}; wp.svgPainter = ( function( $, window, document, undefined ) { 'use strict'; var selector, painter, colorscheme = {}, elements = []; $( function() { wp.svgPainter.init(); }); return { init: function() { painter = this; selector = $( '#adminmenu .wp-menu-image, #wpadminbar .ab-item' ); painter.setColors(); painter.findElements(); painter.paint(); }, setColors: function( colors ) { if ( typeof colors === 'undefined' && typeof window._wpColorScheme !== 'undefined' ) { colors = window._wpColorScheme; } if ( colors && colors.icons && colors.icons.base && colors.icons.current && colors.icons.focus ) { colorscheme = colors.icons; } }, findElements: function() { selector.each( function() { var $this = $(this), bgImage = $this.css( 'background-image' ); if ( bgImage && bgImage.indexOf( 'data:image/svg+xml;base64' ) != -1 ) { elements.push( $this ); } }); }, paint: function() { // Loop through all elements. $.each( elements, function( index, $element ) { var $menuitem = $element.parent().parent(); if ( $menuitem.hasClass( 'current' ) || $menuitem.hasClass( 'wp-has-current-submenu' ) ) { // Paint icon in 'current' color. painter.paintElement( $element, 'current' ); } else { // Paint icon in base color. painter.paintElement( $element, 'base' ); // Set hover callbacks. $menuitem.on( 'mouseenter', function() { painter.paintElement( $element, 'focus' ); } ).on( 'mouseleave', function() { // Match the delay from hoverIntent. window.setTimeout( function() { painter.paintElement( $element, 'base' ); }, 100 ); } ); } }); }, paintElement: function( $element, colorType ) { var xml, encoded, color; if ( ! colorType || ! colorscheme.hasOwnProperty( colorType ) ) { return; } color = colorscheme[ colorType ]; // Only accept hex colors: #101 or #101010. if ( ! color.match( /^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i ) ) { return; } xml = $element.data( 'wp-ui-svg-' + color ); if ( xml === 'none' ) { return; } if ( ! xml ) { encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/ ); if ( ! encoded || ! encoded[1] ) { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } try { xml = window.atob( encoded[1] ); } catch ( error ) {} if ( xml ) { // Replace `fill` attributes. xml = xml.replace( /fill="(.+?)"/g, 'fill="' + color + '"'); // Replace `style` attributes. xml = xml.replace( /style="(.+?)"/g, 'style="fill:' + color + '"'); // Replace `fill` properties in `<style>` tags. xml = xml.replace( /fill:.*?;/g, 'fill: ' + color + ';'); xml = window.btoa( xml ); $element.data( 'wp-ui-svg-' + color, xml ); } else { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } } $element.attr( 'style', 'background-image: url("data:image/svg+xml;base64,' + xml + '") !important;' ); } }; })( jQuery, window, document ); revisions.js 0000644 00000103651 15174671433 0007144 0 ustar 00 /** * @file Revisions interface functions, Backbone classes and * the revisions.php document.ready bootstrap. * * @output wp-admin/js/revisions.js */ /* global isRtl */ window.wp = window.wp || {}; (function($) { var revisions; /** * Expose the module in window.wp.revisions. */ revisions = wp.revisions = { model: {}, view: {}, controller: {} }; // Link post revisions data served from the back end. revisions.settings = window._wpRevisionsSettings || {}; // For debugging. revisions.debug = false; /** * wp.revisions.log * * A debugging utility for revisions. Works only when a * debug flag is on and the browser supports it. */ revisions.log = function() { if ( window.console && revisions.debug ) { window.console.log.apply( window.console, arguments ); } }; // Handy functions to help with positioning. $.fn.allOffsets = function() { var offset = this.offset() || {top: 0, left: 0}, win = $(window); return _.extend( offset, { right: win.width() - offset.left - this.outerWidth(), bottom: win.height() - offset.top - this.outerHeight() }); }; $.fn.allPositions = function() { var position = this.position() || {top: 0, left: 0}, parent = this.parent(); return _.extend( position, { right: parent.outerWidth() - position.left - this.outerWidth(), bottom: parent.outerHeight() - position.top - this.outerHeight() }); }; /** * ======================================================================== * MODELS * ======================================================================== */ revisions.model.Slider = Backbone.Model.extend({ defaults: { value: null, values: null, min: 0, max: 1, step: 1, range: false, compareTwoMode: false }, initialize: function( options ) { this.frame = options.frame; this.revisions = options.revisions; // Listen for changes to the revisions or mode from outside. this.listenTo( this.frame, 'update:revisions', this.receiveRevisions ); this.listenTo( this.frame, 'change:compareTwoMode', this.updateMode ); // Listen for internal changes. this.on( 'change:from', this.handleLocalChanges ); this.on( 'change:to', this.handleLocalChanges ); this.on( 'change:compareTwoMode', this.updateSliderSettings ); this.on( 'update:revisions', this.updateSliderSettings ); // Listen for changes to the hovered revision. this.on( 'change:hoveredRevision', this.hoverRevision ); this.set({ max: this.revisions.length - 1, compareTwoMode: this.frame.get('compareTwoMode'), from: this.frame.get('from'), to: this.frame.get('to') }); this.updateSliderSettings(); }, getSliderValue: function( a, b ) { return isRtl ? this.revisions.length - this.revisions.indexOf( this.get(a) ) - 1 : this.revisions.indexOf( this.get(b) ); }, updateSliderSettings: function() { if ( this.get('compareTwoMode') ) { this.set({ values: [ this.getSliderValue( 'to', 'from' ), this.getSliderValue( 'from', 'to' ) ], value: null, range: true // Ensures handles cannot cross. }); } else { this.set({ value: this.getSliderValue( 'to', 'to' ), values: null, range: false }); } this.trigger( 'update:slider' ); }, // Called when a revision is hovered. hoverRevision: function( model, value ) { this.trigger( 'hovered:revision', value ); }, // Called when `compareTwoMode` changes. updateMode: function( model, value ) { this.set({ compareTwoMode: value }); }, // Called when `from` or `to` changes in the local model. handleLocalChanges: function() { this.frame.set({ from: this.get('from'), to: this.get('to') }); }, // Receives revisions changes from outside the model. receiveRevisions: function( from, to ) { // Bail if nothing changed. if ( this.get('from') === from && this.get('to') === to ) { return; } this.set({ from: from, to: to }, { silent: true }); this.trigger( 'update:revisions', from, to ); } }); revisions.model.Tooltip = Backbone.Model.extend({ defaults: { revision: null, offset: {}, hovering: false, // Whether the mouse is hovering. scrubbing: false // Whether the mouse is scrubbing. }, initialize: function( options ) { this.frame = options.frame; this.revisions = options.revisions; this.slider = options.slider; this.listenTo( this.slider, 'hovered:revision', this.updateRevision ); this.listenTo( this.slider, 'change:hovering', this.setHovering ); this.listenTo( this.slider, 'change:scrubbing', this.setScrubbing ); }, updateRevision: function( revision ) { this.set({ revision: revision }); }, setHovering: function( model, value ) { this.set({ hovering: value }); }, setScrubbing: function( model, value ) { this.set({ scrubbing: value }); } }); revisions.model.Revision = Backbone.Model.extend({}); /** * wp.revisions.model.Revisions * * A collection of post revisions. */ revisions.model.Revisions = Backbone.Collection.extend({ model: revisions.model.Revision, initialize: function() { _.bindAll( this, 'next', 'prev' ); }, next: function( revision ) { var index = this.indexOf( revision ); if ( index !== -1 && index !== this.length - 1 ) { return this.at( index + 1 ); } }, prev: function( revision ) { var index = this.indexOf( revision ); if ( index !== -1 && index !== 0 ) { return this.at( index - 1 ); } } }); revisions.model.Field = Backbone.Model.extend({}); revisions.model.Fields = Backbone.Collection.extend({ model: revisions.model.Field }); revisions.model.Diff = Backbone.Model.extend({ initialize: function() { var fields = this.get('fields'); this.unset('fields'); this.fields = new revisions.model.Fields( fields ); } }); revisions.model.Diffs = Backbone.Collection.extend({ initialize: function( models, options ) { _.bindAll( this, 'getClosestUnloaded' ); this.loadAll = _.once( this._loadAll ); this.revisions = options.revisions; this.postId = options.postId; this.requests = {}; }, model: revisions.model.Diff, ensure: function( id, context ) { var diff = this.get( id ), request = this.requests[ id ], deferred = $.Deferred(), ids = {}, from = id.split(':')[0], to = id.split(':')[1]; ids[id] = true; wp.revisions.log( 'ensure', id ); this.trigger( 'ensure', ids, from, to, deferred.promise() ); if ( diff ) { deferred.resolveWith( context, [ diff ] ); } else { this.trigger( 'ensure:load', ids, from, to, deferred.promise() ); _.each( ids, _.bind( function( id ) { // Remove anything that has an ongoing request. if ( this.requests[ id ] ) { delete ids[ id ]; } // Remove anything we already have. if ( this.get( id ) ) { delete ids[ id ]; } }, this ) ); if ( ! request ) { // Always include the ID that started this ensure. ids[ id ] = true; request = this.load( _.keys( ids ) ); } request.done( _.bind( function() { deferred.resolveWith( context, [ this.get( id ) ] ); }, this ) ).fail( _.bind( function() { deferred.reject(); }) ); } return deferred.promise(); }, // Returns an array of proximal diffs. getClosestUnloaded: function( ids, centerId ) { var self = this; return _.chain([0].concat( ids )).initial().zip( ids ).sortBy( function( pair ) { return Math.abs( centerId - pair[1] ); }).map( function( pair ) { return pair.join(':'); }).filter( function( diffId ) { return _.isUndefined( self.get( diffId ) ) && ! self.requests[ diffId ]; }).value(); }, _loadAll: function( allRevisionIds, centerId, num ) { var self = this, deferred = $.Deferred(), diffs = _.first( this.getClosestUnloaded( allRevisionIds, centerId ), num ); if ( _.size( diffs ) > 0 ) { this.load( diffs ).done( function() { self._loadAll( allRevisionIds, centerId, num ).done( function() { deferred.resolve(); }); }).fail( function() { if ( 1 === num ) { // Already tried 1. This just isn't working. Give up. deferred.reject(); } else { // Request fewer diffs this time. self._loadAll( allRevisionIds, centerId, Math.ceil( num / 2 ) ).done( function() { deferred.resolve(); }); } }); } else { deferred.resolve(); } return deferred; }, load: function( comparisons ) { wp.revisions.log( 'load', comparisons ); // Our collection should only ever grow, never shrink, so `remove: false`. return this.fetch({ data: { compare: comparisons }, remove: false }).done( function() { wp.revisions.log( 'load:complete', comparisons ); }); }, sync: function( method, model, options ) { if ( 'read' === method ) { options = options || {}; options.context = this; options.data = _.extend( options.data || {}, { action: 'get-revision-diffs', post_id: this.postId }); var deferred = wp.ajax.send( options ), requests = this.requests; // Record that we're requesting each diff. if ( options.data.compare ) { _.each( options.data.compare, function( id ) { requests[ id ] = deferred; }); } // When the request completes, clear the stored request. deferred.always( function() { if ( options.data.compare ) { _.each( options.data.compare, function( id ) { delete requests[ id ]; }); } }); return deferred; // Otherwise, fall back to `Backbone.sync()`. } else { return Backbone.Model.prototype.sync.apply( this, arguments ); } } }); /** * wp.revisions.model.FrameState * * The frame state. * * @see wp.revisions.view.Frame * * @param {object} attributes Model attributes - none are required. * @param {object} options Options for the model. * @param {revisions.model.Revisions} options.revisions A collection of revisions. */ revisions.model.FrameState = Backbone.Model.extend({ defaults: { loading: false, error: false, compareTwoMode: false }, initialize: function( attributes, options ) { var state = this.get( 'initialDiffState' ); _.bindAll( this, 'receiveDiff' ); this._debouncedEnsureDiff = _.debounce( this._ensureDiff, 200 ); this.revisions = options.revisions; this.diffs = new revisions.model.Diffs( [], { revisions: this.revisions, postId: this.get( 'postId' ) } ); // Set the initial diffs collection. this.diffs.set( this.get( 'diffData' ) ); // Set up internal listeners. this.listenTo( this, 'change:from', this.changeRevisionHandler ); this.listenTo( this, 'change:to', this.changeRevisionHandler ); this.listenTo( this, 'change:compareTwoMode', this.changeMode ); this.listenTo( this, 'update:revisions', this.updatedRevisions ); this.listenTo( this.diffs, 'ensure:load', this.updateLoadingStatus ); this.listenTo( this, 'update:diff', this.updateLoadingStatus ); // Set the initial revisions, baseUrl, and mode as provided through attributes. this.set( { to : this.revisions.get( state.to ), from : this.revisions.get( state.from ), compareTwoMode : state.compareTwoMode } ); // Start the router if browser supports History API. if ( window.history && window.history.pushState ) { this.router = new revisions.Router({ model: this }); if ( Backbone.History.started ) { Backbone.history.stop(); } Backbone.history.start({ pushState: true }); } }, updateLoadingStatus: function() { this.set( 'error', false ); this.set( 'loading', ! this.diff() ); }, changeMode: function( model, value ) { var toIndex = this.revisions.indexOf( this.get( 'to' ) ); // If we were on the first revision before switching to two-handled mode, // bump the 'to' position over one. if ( value && 0 === toIndex ) { this.set({ from: this.revisions.at( toIndex ), to: this.revisions.at( toIndex + 1 ) }); } // When switching back to single-handled mode, reset 'from' model to // one position before the 'to' model. if ( ! value && 0 !== toIndex ) { // '! value' means switching to single-handled mode. this.set({ from: this.revisions.at( toIndex - 1 ), to: this.revisions.at( toIndex ) }); } }, updatedRevisions: function( from, to ) { if ( this.get( 'compareTwoMode' ) ) { // @todo Compare-two loading strategy. } else { this.diffs.loadAll( this.revisions.pluck('id'), to.id, 40 ); } }, // Fetch the currently loaded diff. diff: function() { return this.diffs.get( this._diffId ); }, /* * So long as `from` and `to` are changed at the same time, the diff * will only be updated once. This is because Backbone updates all of * the changed attributes in `set`, and then fires the `change` events. */ updateDiff: function( options ) { var from, to, diffId, diff; options = options || {}; from = this.get('from'); to = this.get('to'); diffId = ( from ? from.id : 0 ) + ':' + to.id; // Check if we're actually changing the diff id. if ( this._diffId === diffId ) { return $.Deferred().reject().promise(); } this._diffId = diffId; this.trigger( 'update:revisions', from, to ); diff = this.diffs.get( diffId ); // If we already have the diff, then immediately trigger the update. if ( diff ) { this.receiveDiff( diff ); return $.Deferred().resolve().promise(); // Otherwise, fetch the diff. } else { if ( options.immediate ) { return this._ensureDiff(); } else { this._debouncedEnsureDiff(); return $.Deferred().reject().promise(); } } }, // A simple wrapper around `updateDiff` to prevent the change event's // parameters from being passed through. changeRevisionHandler: function() { this.updateDiff(); }, receiveDiff: function( diff ) { // Did we actually get a diff? if ( _.isUndefined( diff ) || _.isUndefined( diff.id ) ) { this.set({ loading: false, error: true }); } else if ( this._diffId === diff.id ) { // Make sure the current diff didn't change. this.trigger( 'update:diff', diff ); } }, _ensureDiff: function() { return this.diffs.ensure( this._diffId, this ).always( this.receiveDiff ); } }); /** * ======================================================================== * VIEWS * ======================================================================== */ /** * wp.revisions.view.Frame * * Top level frame that orchestrates the revisions experience. * * @param {object} options The options hash for the view. * @param {revisions.model.FrameState} options.model The frame state model. */ revisions.view.Frame = wp.Backbone.View.extend({ className: 'revisions', template: wp.template('revisions-frame'), initialize: function() { this.listenTo( this.model, 'update:diff', this.renderDiff ); this.listenTo( this.model, 'change:compareTwoMode', this.updateCompareTwoMode ); this.listenTo( this.model, 'change:loading', this.updateLoadingStatus ); this.listenTo( this.model, 'change:error', this.updateErrorStatus ); this.views.set( '.revisions-control-frame', new revisions.view.Controls({ model: this.model }) ); }, render: function() { wp.Backbone.View.prototype.render.apply( this, arguments ); $('html').css( 'overflow-y', 'scroll' ); $('#wpbody-content .wrap').append( this.el ); this.updateCompareTwoMode(); this.renderDiff( this.model.diff() ); this.views.ready(); return this; }, renderDiff: function( diff ) { this.views.set( '.revisions-diff-frame', new revisions.view.Diff({ model: diff }) ); }, updateLoadingStatus: function() { this.$el.toggleClass( 'loading', this.model.get('loading') ); }, updateErrorStatus: function() { this.$el.toggleClass( 'diff-error', this.model.get('error') ); }, updateCompareTwoMode: function() { this.$el.toggleClass( 'comparing-two-revisions', this.model.get('compareTwoMode') ); } }); /** * wp.revisions.view.Controls * * The controls view. * * Contains the revision slider, previous/next buttons, the meta info and the compare checkbox. */ revisions.view.Controls = wp.Backbone.View.extend({ className: 'revisions-controls', initialize: function() { _.bindAll( this, 'setWidth' ); // Add the checkbox view. this.views.add( new revisions.view.Checkbox({ model: this.model }) ); // Add the button view. this.views.add( new revisions.view.Buttons({ model: this.model }) ); // Prep the slider model. var slider = new revisions.model.Slider({ frame: this.model, revisions: this.model.revisions }), // Prep the tooltip model. tooltip = new revisions.model.Tooltip({ frame: this.model, revisions: this.model.revisions, slider: slider }); // Add the tooltip view. this.views.add( new revisions.view.Tooltip({ model: tooltip }) ); // Add the tickmarks view. this.views.add( new revisions.view.Tickmarks({ model: tooltip }) ); // Add the visually hidden slider help view. this.views.add( new revisions.view.SliderHelp() ); // Add the slider view. this.views.add( new revisions.view.Slider({ model: slider }) ); // Add the Metabox view. this.views.add( new revisions.view.Metabox({ model: this.model }) ); }, ready: function() { this.top = this.$el.offset().top; this.window = $(window); this.window.on( 'scroll.wp.revisions', {controls: this}, function(e) { var controls = e.data.controls, container = controls.$el.parent(), scrolled = controls.window.scrollTop(), frame = controls.views.parent; if ( scrolled >= controls.top ) { if ( ! frame.$el.hasClass('pinned') ) { controls.setWidth(); container.css('height', container.height() + 'px' ); controls.window.on('resize.wp.revisions.pinning click.wp.revisions.pinning', {controls: controls}, function(e) { e.data.controls.setWidth(); }); } frame.$el.addClass('pinned'); } else if ( frame.$el.hasClass('pinned') ) { controls.window.off('.wp.revisions.pinning'); controls.$el.css('width', 'auto'); frame.$el.removeClass('pinned'); container.css('height', 'auto'); controls.top = controls.$el.offset().top; } else { controls.top = controls.$el.offset().top; } }); }, setWidth: function() { this.$el.css('width', this.$el.parent().width() + 'px'); } }); // The tickmarks view. revisions.view.Tickmarks = wp.Backbone.View.extend({ className: 'revisions-tickmarks', direction: isRtl ? 'right' : 'left', initialize: function() { this.listenTo( this.model, 'change:revision', this.reportTickPosition ); }, reportTickPosition: function( model, revision ) { var offset, thisOffset, parentOffset, tick, index = this.model.revisions.indexOf( revision ); thisOffset = this.$el.allOffsets(); parentOffset = this.$el.parent().allOffsets(); if ( index === this.model.revisions.length - 1 ) { // Last one. offset = { rightPlusWidth: thisOffset.left - parentOffset.left + 1, leftPlusWidth: thisOffset.right - parentOffset.right + 1 }; } else { // Normal tick. tick = this.$('div:nth-of-type(' + (index + 1) + ')'); offset = tick.allPositions(); _.extend( offset, { left: offset.left + thisOffset.left - parentOffset.left, right: offset.right + thisOffset.right - parentOffset.right }); _.extend( offset, { leftPlusWidth: offset.left + tick.outerWidth(), rightPlusWidth: offset.right + tick.outerWidth() }); } this.model.set({ offset: offset }); }, ready: function() { var tickCount, tickWidth; tickCount = this.model.revisions.length - 1; tickWidth = 1 / tickCount; this.$el.css('width', ( this.model.revisions.length * 50 ) + 'px'); _(tickCount).times( function( index ){ this.$el.append( '<div style="' + this.direction + ': ' + ( 100 * tickWidth * index ) + '%"></div>' ); }, this ); } }); // The metabox view. revisions.view.Metabox = wp.Backbone.View.extend({ className: 'revisions-meta', initialize: function() { // Add the 'from' view. this.views.add( new revisions.view.MetaFrom({ model: this.model, className: 'diff-meta diff-meta-from' }) ); // Add the 'to' view. this.views.add( new revisions.view.MetaTo({ model: this.model }) ); } }); // The revision meta view (to be extended). revisions.view.Meta = wp.Backbone.View.extend({ template: wp.template('revisions-meta'), events: { 'click .restore-revision': 'restoreRevision' }, initialize: function() { this.listenTo( this.model, 'update:revisions', this.render ); }, prepare: function() { return _.extend( this.model.toJSON()[this.type] || {}, { type: this.type }); }, restoreRevision: function() { document.location = this.model.get('to').attributes.restoreUrl; } }); // The revision meta 'from' view. revisions.view.MetaFrom = revisions.view.Meta.extend({ className: 'diff-meta diff-meta-from', type: 'from' }); // The revision meta 'to' view. revisions.view.MetaTo = revisions.view.Meta.extend({ className: 'diff-meta diff-meta-to', type: 'to' }); // The checkbox view. revisions.view.Checkbox = wp.Backbone.View.extend({ className: 'revisions-checkbox', template: wp.template('revisions-checkbox'), events: { 'click .compare-two-revisions': 'compareTwoToggle' }, initialize: function() { this.listenTo( this.model, 'change:compareTwoMode', this.updateCompareTwoMode ); }, ready: function() { if ( this.model.revisions.length < 3 ) { $('.revision-toggle-compare-mode').hide(); } }, updateCompareTwoMode: function() { this.$('.compare-two-revisions').prop( 'checked', this.model.get('compareTwoMode') ); }, // Toggle the compare two mode feature when the compare two checkbox is checked. compareTwoToggle: function() { // Activate compare two mode? this.model.set({ compareTwoMode: $('.compare-two-revisions').prop('checked') }); } }); // The slider visually hidden help view. revisions.view.SliderHelp = wp.Backbone.View.extend({ className: 'revisions-slider-hidden-help', template: wp.template( 'revisions-slider-hidden-help' ) }); // The tooltip view. // Encapsulates the tooltip. revisions.view.Tooltip = wp.Backbone.View.extend({ className: 'revisions-tooltip', template: wp.template('revisions-meta'), initialize: function() { this.listenTo( this.model, 'change:offset', this.render ); this.listenTo( this.model, 'change:hovering', this.toggleVisibility ); this.listenTo( this.model, 'change:scrubbing', this.toggleVisibility ); }, prepare: function() { if ( _.isNull( this.model.get('revision') ) ) { return; } else { return _.extend( { type: 'tooltip' }, { attributes: this.model.get('revision').toJSON() }); } }, render: function() { var otherDirection, direction, directionVal, flipped, css = {}, position = this.model.revisions.indexOf( this.model.get('revision') ) + 1; flipped = ( position / this.model.revisions.length ) > 0.5; if ( isRtl ) { direction = flipped ? 'left' : 'right'; directionVal = flipped ? 'leftPlusWidth' : direction; } else { direction = flipped ? 'right' : 'left'; directionVal = flipped ? 'rightPlusWidth' : direction; } otherDirection = 'right' === direction ? 'left': 'right'; wp.Backbone.View.prototype.render.apply( this, arguments ); css[direction] = this.model.get('offset')[directionVal] + 'px'; css[otherDirection] = ''; this.$el.toggleClass( 'flipped', flipped ).css( css ); }, visible: function() { return this.model.get( 'scrubbing' ) || this.model.get( 'hovering' ); }, toggleVisibility: function() { if ( this.visible() ) { this.$el.stop().show().fadeTo( 100 - this.el.style.opacity * 100, 1 ); } else { this.$el.stop().fadeTo( this.el.style.opacity * 300, 0, function(){ $(this).hide(); } ); } return; } }); // The buttons view. // Encapsulates all of the configuration for the previous/next buttons. revisions.view.Buttons = wp.Backbone.View.extend({ className: 'revisions-buttons', template: wp.template('revisions-buttons'), events: { 'click .revisions-next .button': 'nextRevision', 'click .revisions-previous .button': 'previousRevision' }, initialize: function() { this.listenTo( this.model, 'update:revisions', this.disabledButtonCheck ); }, ready: function() { this.disabledButtonCheck(); }, // Go to a specific model index. gotoModel: function( toIndex ) { var attributes = { to: this.model.revisions.at( toIndex ) }; // If we're at the first revision, unset 'from'. if ( toIndex ) { attributes.from = this.model.revisions.at( toIndex - 1 ); } else { this.model.unset('from', { silent: true }); } this.model.set( attributes ); }, // Go to the 'next' revision. nextRevision: function() { var toIndex = this.model.revisions.indexOf( this.model.get('to') ) + 1; this.gotoModel( toIndex ); }, // Go to the 'previous' revision. previousRevision: function() { var toIndex = this.model.revisions.indexOf( this.model.get('to') ) - 1; this.gotoModel( toIndex ); }, // Check to see if the Previous or Next buttons need to be disabled or enabled. disabledButtonCheck: function() { var maxVal = this.model.revisions.length - 1, minVal = 0, next = $('.revisions-next .button'), previous = $('.revisions-previous .button'), val = this.model.revisions.indexOf( this.model.get('to') ); // Disable "Next" button if you're on the last node. next.prop( 'disabled', ( maxVal === val ) ); // Disable "Previous" button if you're on the first node. previous.prop( 'disabled', ( minVal === val ) ); } }); // The slider view. revisions.view.Slider = wp.Backbone.View.extend({ className: 'wp-slider', direction: isRtl ? 'right' : 'left', events: { 'mousemove' : 'mouseMove' }, initialize: function() { _.bindAll( this, 'start', 'slide', 'stop', 'mouseMove', 'mouseEnter', 'mouseLeave' ); this.listenTo( this.model, 'update:slider', this.applySliderSettings ); }, ready: function() { this.$el.css('width', ( this.model.revisions.length * 50 ) + 'px'); this.$el.slider( _.extend( this.model.toJSON(), { start: this.start, slide: this.slide, stop: this.stop }) ); this.$el.hoverIntent({ over: this.mouseEnter, out: this.mouseLeave, timeout: 800 }); this.applySliderSettings(); }, accessibilityHelper: function() { var handles = $( '.ui-slider-handle' ); handles.first().attr( { role: 'button', 'aria-labelledby': 'diff-title-from diff-title-author', 'aria-describedby': 'revisions-slider-hidden-help', } ); handles.last().attr( { role: 'button', 'aria-labelledby': 'diff-title-to diff-title-author', 'aria-describedby': 'revisions-slider-hidden-help', } ); }, mouseMove: function( e ) { var zoneCount = this.model.revisions.length - 1, // One fewer zone than models. sliderFrom = this.$el.allOffsets()[this.direction], // "From" edge of slider. sliderWidth = this.$el.width(), // Width of slider. tickWidth = sliderWidth / zoneCount, // Calculated width of zone. actualX = ( isRtl ? $(window).width() - e.pageX : e.pageX ) - sliderFrom, // Flipped for RTL - sliderFrom. currentModelIndex = Math.floor( ( actualX + ( tickWidth / 2 ) ) / tickWidth ); // Calculate the model index. // Ensure sane value for currentModelIndex. if ( currentModelIndex < 0 ) { currentModelIndex = 0; } else if ( currentModelIndex >= this.model.revisions.length ) { currentModelIndex = this.model.revisions.length - 1; } // Update the tooltip mode. this.model.set({ hoveredRevision: this.model.revisions.at( currentModelIndex ) }); }, mouseLeave: function() { this.model.set({ hovering: false }); }, mouseEnter: function() { this.model.set({ hovering: true }); }, applySliderSettings: function() { this.$el.slider( _.pick( this.model.toJSON(), 'value', 'values', 'range' ) ); var handles = this.$('a.ui-slider-handle'); if ( this.model.get('compareTwoMode') ) { // In RTL mode the 'left handle' is the second in the slider, 'right' is first. handles.first() .toggleClass( 'to-handle', !! isRtl ) .toggleClass( 'from-handle', ! isRtl ); handles.last() .toggleClass( 'from-handle', !! isRtl ) .toggleClass( 'to-handle', ! isRtl ); this.accessibilityHelper(); } else { handles.removeClass('from-handle to-handle'); this.accessibilityHelper(); } }, start: function( event, ui ) { this.model.set({ scrubbing: true }); // Track the mouse position to enable smooth dragging, // overrides default jQuery UI step behavior. $( window ).on( 'mousemove.wp.revisions', { view: this }, function( e ) { var handles, view = e.data.view, leftDragBoundary = view.$el.offset().left, sliderOffset = leftDragBoundary, sliderRightEdge = leftDragBoundary + view.$el.width(), rightDragBoundary = sliderRightEdge, leftDragReset = '0', rightDragReset = '100%', handle = $( ui.handle ); // In two handle mode, ensure handles can't be dragged past each other. // Adjust left/right boundaries and reset points. if ( view.model.get('compareTwoMode') ) { handles = handle.parent().find('.ui-slider-handle'); if ( handle.is( handles.first() ) ) { // We're the left handle. rightDragBoundary = handles.last().offset().left; rightDragReset = rightDragBoundary - sliderOffset; } else { // We're the right handle. leftDragBoundary = handles.first().offset().left + handles.first().width(); leftDragReset = leftDragBoundary - sliderOffset; } } // Follow mouse movements, as long as handle remains inside slider. if ( e.pageX < leftDragBoundary ) { handle.css( 'left', leftDragReset ); // Mouse to left of slider. } else if ( e.pageX > rightDragBoundary ) { handle.css( 'left', rightDragReset ); // Mouse to right of slider. } else { handle.css( 'left', e.pageX - sliderOffset ); // Mouse in slider. } } ); }, getPosition: function( position ) { return isRtl ? this.model.revisions.length - position - 1: position; }, // Responds to slide events. slide: function( event, ui ) { var attributes, movedRevision; // Compare two revisions mode. if ( this.model.get('compareTwoMode') ) { // Prevent sliders from occupying same spot. if ( ui.values[1] === ui.values[0] ) { return false; } if ( isRtl ) { ui.values.reverse(); } attributes = { from: this.model.revisions.at( this.getPosition( ui.values[0] ) ), to: this.model.revisions.at( this.getPosition( ui.values[1] ) ) }; } else { attributes = { to: this.model.revisions.at( this.getPosition( ui.value ) ) }; // If we're at the first revision, unset 'from'. if ( this.getPosition( ui.value ) > 0 ) { attributes.from = this.model.revisions.at( this.getPosition( ui.value ) - 1 ); } else { attributes.from = undefined; } } movedRevision = this.model.revisions.at( this.getPosition( ui.value ) ); // If we are scrubbing, a scrub to a revision is considered a hover. if ( this.model.get('scrubbing') ) { attributes.hoveredRevision = movedRevision; } this.model.set( attributes ); }, stop: function() { $( window ).off('mousemove.wp.revisions'); this.model.updateSliderSettings(); // To snap us back to a tick mark. this.model.set({ scrubbing: false }); } }); // The diff view. // This is the view for the current active diff. revisions.view.Diff = wp.Backbone.View.extend({ className: 'revisions-diff', template: wp.template('revisions-diff'), // Generate the options to be passed to the template. prepare: function() { return _.extend({ fields: this.model.fields.toJSON() }, this.options ); } }); // The revisions router. // Maintains the URL routes so browser URL matches state. revisions.Router = Backbone.Router.extend({ initialize: function( options ) { this.model = options.model; // Maintain state and history when navigating. this.listenTo( this.model, 'update:diff', _.debounce( this.updateUrl, 250 ) ); this.listenTo( this.model, 'change:compareTwoMode', this.updateUrl ); }, baseUrl: function( url ) { return this.model.get('baseUrl') + url; }, updateUrl: function() { var from = this.model.has('from') ? this.model.get('from').id : 0, to = this.model.get('to').id; if ( this.model.get('compareTwoMode' ) ) { this.navigate( this.baseUrl( '?from=' + from + '&to=' + to ), { replace: true } ); } else { this.navigate( this.baseUrl( '?revision=' + to ), { replace: true } ); } }, handleRoute: function( a, b ) { var compareTwo = _.isUndefined( b ); if ( ! compareTwo ) { b = this.model.revisions.get( a ); a = this.model.revisions.prev( b ); b = b ? b.id : 0; a = a ? a.id : 0; } } }); /** * Initialize the revisions UI for revision.php. */ revisions.init = function() { var state; // Bail if the current page is not revision.php. if ( ! window.adminpage || 'revision-php' !== window.adminpage ) { return; } state = new revisions.model.FrameState({ initialDiffState: { // wp_localize_script doesn't stringifies ints, so cast them. to: parseInt( revisions.settings.to, 10 ), from: parseInt( revisions.settings.from, 10 ), // wp_localize_script does not allow for top-level booleans so do a comparator here. compareTwoMode: ( revisions.settings.compareTwoMode === '1' ) }, diffData: revisions.settings.diffData, baseUrl: revisions.settings.baseUrl, postId: parseInt( revisions.settings.postId, 10 ) }, { revisions: new revisions.model.Revisions( revisions.settings.revisionData ) }); revisions.view.frame = new revisions.view.Frame({ model: state }).render(); }; $( revisions.init ); }(jQuery)); code-editor.js 0000644 00000026504 15174671433 0007322 0 ustar 00 /** * @output wp-admin/js/code-editor.js */ if ( 'undefined' === typeof window.wp ) { /** * @namespace wp */ window.wp = {}; } if ( 'undefined' === typeof window.wp.codeEditor ) { /** * @namespace wp.codeEditor */ window.wp.codeEditor = {}; } ( function( $, wp ) { 'use strict'; /** * Default settings for code editor. * * @since 4.9.0 * @type {object} */ wp.codeEditor.defaultSettings = { codemirror: {}, csslint: {}, htmlhint: {}, jshint: {}, onTabNext: function() {}, onTabPrevious: function() {}, onChangeLintingErrors: function() {}, onUpdateErrorNotice: function() {} }; /** * Configure linting. * * @param {CodeMirror} editor - Editor. * @param {Object} settings - Code editor settings. * @param {Object} settings.codeMirror - Settings for CodeMirror. * @param {Function} settings.onChangeLintingErrors - Callback for when there are changes to linting errors. * @param {Function} settings.onUpdateErrorNotice - Callback to update error notice. * * @return {void} */ function configureLinting( editor, settings ) { // eslint-disable-line complexity var currentErrorAnnotations = [], previouslyShownErrorAnnotations = []; /** * Call the onUpdateErrorNotice if there are new errors to show. * * @return {void} */ function updateErrorNotice() { if ( settings.onUpdateErrorNotice && ! _.isEqual( currentErrorAnnotations, previouslyShownErrorAnnotations ) ) { settings.onUpdateErrorNotice( currentErrorAnnotations, editor ); previouslyShownErrorAnnotations = currentErrorAnnotations; } } /** * Get lint options. * * @return {Object} Lint options. */ function getLintOptions() { // eslint-disable-line complexity var options = editor.getOption( 'lint' ); if ( ! options ) { return false; } if ( true === options ) { options = {}; } else if ( _.isObject( options ) ) { options = $.extend( {}, options ); } /* * Note that rules must be sent in the "deprecated" lint.options property * to prevent linter from complaining about unrecognized options. * See <https://github.com/codemirror/CodeMirror/pull/4944>. */ if ( ! options.options ) { options.options = {}; } // Configure JSHint. if ( 'javascript' === settings.codemirror.mode && settings.jshint ) { $.extend( options.options, settings.jshint ); } // Configure CSSLint. if ( 'css' === settings.codemirror.mode && settings.csslint ) { $.extend( options.options, settings.csslint ); } // Configure HTMLHint. if ( 'htmlmixed' === settings.codemirror.mode && settings.htmlhint ) { options.options.rules = $.extend( {}, settings.htmlhint ); if ( settings.jshint ) { options.options.rules.jshint = settings.jshint; } if ( settings.csslint ) { options.options.rules.csslint = settings.csslint; } } // Wrap the onUpdateLinting CodeMirror event to route to onChangeLintingErrors and onUpdateErrorNotice. options.onUpdateLinting = (function( onUpdateLintingOverridden ) { return function( annotations, annotationsSorted, cm ) { var errorAnnotations = _.filter( annotations, function( annotation ) { return 'error' === annotation.severity; } ); if ( onUpdateLintingOverridden ) { onUpdateLintingOverridden.apply( annotations, annotationsSorted, cm ); } // Skip if there are no changes to the errors. if ( _.isEqual( errorAnnotations, currentErrorAnnotations ) ) { return; } currentErrorAnnotations = errorAnnotations; if ( settings.onChangeLintingErrors ) { settings.onChangeLintingErrors( errorAnnotations, annotations, annotationsSorted, cm ); } /* * Update notifications when the editor is not focused to prevent error message * from overwhelming the user during input, unless there are now no errors or there * were previously errors shown. In these cases, update immediately so they can know * that they fixed the errors. */ if ( ! editor.state.focused || 0 === currentErrorAnnotations.length || previouslyShownErrorAnnotations.length > 0 ) { updateErrorNotice(); } }; })( options.onUpdateLinting ); return options; } editor.setOption( 'lint', getLintOptions() ); // Keep lint options populated. editor.on( 'optionChange', function( cm, option ) { var options, gutters, gutterName = 'CodeMirror-lint-markers'; if ( 'lint' !== option ) { return; } gutters = editor.getOption( 'gutters' ) || []; options = editor.getOption( 'lint' ); if ( true === options ) { if ( ! _.contains( gutters, gutterName ) ) { editor.setOption( 'gutters', [ gutterName ].concat( gutters ) ); } editor.setOption( 'lint', getLintOptions() ); // Expand to include linting options. } else if ( ! options ) { editor.setOption( 'gutters', _.without( gutters, gutterName ) ); } // Force update on error notice to show or hide. if ( editor.getOption( 'lint' ) ) { editor.performLint(); } else { currentErrorAnnotations = []; updateErrorNotice(); } } ); // Update error notice when leaving the editor. editor.on( 'blur', updateErrorNotice ); // Work around hint selection with mouse causing focus to leave editor. editor.on( 'startCompletion', function() { editor.off( 'blur', updateErrorNotice ); } ); editor.on( 'endCompletion', function() { var editorRefocusWait = 500; editor.on( 'blur', updateErrorNotice ); // Wait for editor to possibly get re-focused after selection. _.delay( function() { if ( ! editor.state.focused ) { updateErrorNotice(); } }, editorRefocusWait ); }); /* * Make sure setting validities are set if the user tries to click Publish * while an autocomplete dropdown is still open. The Customizer will block * saving when a setting has an error notifications on it. This is only * necessary for mouse interactions because keyboards will have already * blurred the field and cause onUpdateErrorNotice to have already been * called. */ $( document.body ).on( 'mousedown', function( event ) { if ( editor.state.focused && ! $.contains( editor.display.wrapper, event.target ) && ! $( event.target ).hasClass( 'CodeMirror-hint' ) ) { updateErrorNotice(); } }); } /** * Configure tabbing. * * @param {CodeMirror} codemirror - Editor. * @param {Object} settings - Code editor settings. * @param {Object} settings.codeMirror - Settings for CodeMirror. * @param {Function} settings.onTabNext - Callback to handle tabbing to the next tabbable element. * @param {Function} settings.onTabPrevious - Callback to handle tabbing to the previous tabbable element. * * @return {void} */ function configureTabbing( codemirror, settings ) { var $textarea = $( codemirror.getTextArea() ); codemirror.on( 'blur', function() { $textarea.data( 'next-tab-blurs', false ); }); codemirror.on( 'keydown', function onKeydown( editor, event ) { var tabKeyCode = 9, escKeyCode = 27; // Take note of the ESC keypress so that the next TAB can focus outside the editor. if ( escKeyCode === event.keyCode ) { $textarea.data( 'next-tab-blurs', true ); return; } // Short-circuit if tab key is not being pressed or the tab key press should move focus. if ( tabKeyCode !== event.keyCode || ! $textarea.data( 'next-tab-blurs' ) ) { return; } // Focus on previous or next focusable item. if ( event.shiftKey ) { settings.onTabPrevious( codemirror, event ); } else { settings.onTabNext( codemirror, event ); } // Reset tab state. $textarea.data( 'next-tab-blurs', false ); // Prevent tab character from being added. event.preventDefault(); }); } /** * @typedef {object} wp.codeEditor~CodeEditorInstance * @property {object} settings - The code editor settings. * @property {CodeMirror} codemirror - The CodeMirror instance. */ /** * Initialize Code Editor (CodeMirror) for an existing textarea. * * @since 4.9.0 * * @param {string|jQuery|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor. * @param {Object} [settings] - Settings to override defaults. * @param {Function} [settings.onChangeLintingErrors] - Callback for when the linting errors have changed. * @param {Function} [settings.onUpdateErrorNotice] - Callback for when error notice should be displayed. * @param {Function} [settings.onTabPrevious] - Callback to handle tabbing to the previous tabbable element. * @param {Function} [settings.onTabNext] - Callback to handle tabbing to the next tabbable element. * @param {Object} [settings.codemirror] - Options for CodeMirror. * @param {Object} [settings.csslint] - Rules for CSSLint. * @param {Object} [settings.htmlhint] - Rules for HTMLHint. * @param {Object} [settings.jshint] - Rules for JSHint. * * @return {CodeEditorInstance} Instance. */ wp.codeEditor.initialize = function initialize( textarea, settings ) { var $textarea, codemirror, instanceSettings, instance; if ( 'string' === typeof textarea ) { $textarea = $( '#' + textarea ); } else { $textarea = $( textarea ); } instanceSettings = $.extend( {}, wp.codeEditor.defaultSettings, settings ); instanceSettings.codemirror = $.extend( {}, instanceSettings.codemirror ); codemirror = wp.CodeMirror.fromTextArea( $textarea[0], instanceSettings.codemirror ); configureLinting( codemirror, instanceSettings ); instance = { settings: instanceSettings, codemirror: codemirror }; if ( codemirror.showHint ) { codemirror.on( 'keyup', function( editor, event ) { // eslint-disable-line complexity var shouldAutocomplete, isAlphaKey = /^[a-zA-Z]$/.test( event.key ), lineBeforeCursor, innerMode, token; if ( codemirror.state.completionActive && isAlphaKey ) { return; } // Prevent autocompletion in string literals or comments. token = codemirror.getTokenAt( codemirror.getCursor() ); if ( 'string' === token.type || 'comment' === token.type ) { return; } innerMode = wp.CodeMirror.innerMode( codemirror.getMode(), token.state ).mode.name; lineBeforeCursor = codemirror.doc.getLine( codemirror.doc.getCursor().line ).substr( 0, codemirror.doc.getCursor().ch ); if ( 'html' === innerMode || 'xml' === innerMode ) { shouldAutocomplete = '<' === event.key || '/' === event.key && 'tag' === token.type || isAlphaKey && 'tag' === token.type || isAlphaKey && 'attribute' === token.type || '=' === token.string && token.state.htmlState && token.state.htmlState.tagName; } else if ( 'css' === innerMode ) { shouldAutocomplete = isAlphaKey || ':' === event.key || ' ' === event.key && /:\s+$/.test( lineBeforeCursor ); } else if ( 'javascript' === innerMode ) { shouldAutocomplete = isAlphaKey || '.' === event.key; } else if ( 'clike' === innerMode && 'php' === codemirror.options.mode ) { shouldAutocomplete = 'keyword' === token.type || 'variable' === token.type; } if ( shouldAutocomplete ) { codemirror.showHint( { completeSingle: false } ); } }); } // Facilitate tabbing out of the editor. configureTabbing( codemirror, settings ); return instance; }; })( window.jQuery, window.wp ); plugin-install.js 0000644 00000015656 15174671433 0010074 0 ustar 00 /** * @file Functionality for the plugin install screens. * * @output wp-admin/js/plugin-install.js */ /* global tb_click, tb_remove, tb_position */ jQuery( function( $ ) { var tbWindow, $iframeBody, $tabbables, $firstTabbable, $lastTabbable, $focusedBefore = $(), $uploadViewToggle = $( '.upload-view-toggle' ), $wrap = $ ( '.wrap' ), $body = $( document.body ); window.tb_position = function() { var width = $( window ).width(), H = $( window ).height() - ( ( 792 < width ) ? 60 : 20 ), W = ( 792 < width ) ? 772 : width - 20; tbWindow = $( '#TB_window' ); if ( tbWindow.length ) { tbWindow.width( W ).height( H ); $( '#TB_iframeContent' ).width( W ).height( H ); tbWindow.css({ 'margin-left': '-' + parseInt( ( W / 2 ), 10 ) + 'px' }); if ( typeof document.body.style.maxWidth !== 'undefined' ) { tbWindow.css({ 'top': '30px', 'margin-top': '0' }); } } return $( 'a.thickbox' ).each( function() { var href = $( this ).attr( 'href' ); if ( ! href ) { return; } href = href.replace( /&width=[0-9]+/g, '' ); href = href.replace( /&height=[0-9]+/g, '' ); $(this).attr( 'href', href + '&width=' + W + '&height=' + ( H ) ); }); }; $( window ).on( 'resize', function() { tb_position(); }); /* * Custom events: when a Thickbox iframe has loaded and when the Thickbox * modal gets removed from the DOM. */ $body .on( 'thickbox:iframe:loaded', tbWindow, function() { /* * Return if it's not the modal with the plugin details iframe. Other * thickbox instances might want to load an iframe with content from * an external domain. Avoid to access the iframe contents when we're * not sure the iframe loads from the same domain. */ if ( ! tbWindow.hasClass( 'plugin-details-modal' ) ) { return; } iframeLoaded(); }) .on( 'thickbox:removed', function() { // Set focus back to the element that opened the modal dialog. // Note: IE 8 would need this wrapped in a fake setTimeout `0`. $focusedBefore.trigger( 'focus' ); }); function iframeLoaded() { var $iframe = tbWindow.find( '#TB_iframeContent' ); // Get the iframe body. $iframeBody = $iframe.contents().find( 'body' ); // Get the tabbable elements and handle the keydown event on first load. handleTabbables(); // Set initial focus on the "Close" button. $firstTabbable.trigger( 'focus' ); /* * When the "Install" button is disabled (e.g. the Plugin is already installed) * then we can't predict where the last focusable element is. We need to get * the tabbable elements and handle the keydown event again and again, * each time the active tab panel changes. */ $( '#plugin-information-tabs a', $iframeBody ).on( 'click', function() { handleTabbables(); }); // Close the modal when pressing Escape. $iframeBody.on( 'keydown', function( event ) { if ( 27 !== event.which ) { return; } tb_remove(); }); } /* * Get the tabbable elements and detach/attach the keydown event. * Called after the iframe has fully loaded so we have all the elements we need. * Called again each time a Tab gets clicked. * @todo Consider to implement a WordPress general utility for this and don't use jQuery UI. */ function handleTabbables() { var $firstAndLast; // Get all the tabbable elements. $tabbables = $( ':tabbable', $iframeBody ); // Our first tabbable element is always the "Close" button. $firstTabbable = tbWindow.find( '#TB_closeWindowButton' ); // Get the last tabbable element. $lastTabbable = $tabbables.last(); // Make a jQuery collection. $firstAndLast = $firstTabbable.add( $lastTabbable ); // Detach any previously attached keydown event. $firstAndLast.off( 'keydown.wp-plugin-details' ); // Attach again the keydown event on the first and last focusable elements. $firstAndLast.on( 'keydown.wp-plugin-details', function( event ) { constrainTabbing( event ); }); } // Constrain tabbing within the plugin modal dialog. function constrainTabbing( event ) { if ( 9 !== event.which ) { return; } if ( $lastTabbable[0] === event.target && ! event.shiftKey ) { event.preventDefault(); $firstTabbable.trigger( 'focus' ); } else if ( $firstTabbable[0] === event.target && event.shiftKey ) { event.preventDefault(); $lastTabbable.trigger( 'focus' ); } } /* * Open the Plugin details modal. The event is delegated to get also the links * in the plugins search tab, after the Ajax search rebuilds the HTML. It's * delegated on the closest ancestor and not on the body to avoid conflicts * with other handlers, see Trac ticket #43082. */ $( '.wrap' ).on( 'click', '.thickbox.open-plugin-details-modal', function( e ) { // The `data-title` attribute is used only in the Plugin screens. var title = $( this ).data( 'title' ) ? wp.i18n.sprintf( // translators: %s: Plugin name. wp.i18n.__( 'Plugin: %s' ), $( this ).data( 'title' ) ) : wp.i18n.__( 'Plugin details' ); e.preventDefault(); e.stopPropagation(); // Store the element that has focus before opening the modal dialog, i.e. the control which opens it. $focusedBefore = $( this ); tb_click.call(this); // Set ARIA role, ARIA label, and add a CSS class. tbWindow .attr({ 'role': 'dialog', 'aria-label': wp.i18n.__( 'Plugin details' ) }) .addClass( 'plugin-details-modal' ); // Set title attribute on the iframe. tbWindow.find( '#TB_iframeContent' ).attr( 'title', title ); }); /* Plugin install related JS */ $( '#plugin-information-tabs a' ).on( 'click', function( event ) { var tab = $( this ).attr( 'name' ); event.preventDefault(); // Flip the tab. $( '#plugin-information-tabs a.current' ).removeClass( 'current' ); $( this ).addClass( 'current' ); // Only show the fyi box in the description section, on smaller screen, // where it's otherwise always displayed at the top. if ( 'description' !== tab && $( window ).width() < 772 ) { $( '#plugin-information-content' ).find( '.fyi' ).hide(); } else { $( '#plugin-information-content' ).find( '.fyi' ).show(); } // Flip the content. $( '#section-holder div.section' ).hide(); // Hide 'em all. $( '#section-' + tab ).show(); }); /* * When a user presses the "Upload Plugin" button, show the upload form in place * rather than sending them to the devoted upload plugin page. * The `?tab=upload` page still exists for no-js support and for plugins that * might access it directly. When we're in this page, let the link behave * like a link. Otherwise we're in the normal plugin installer pages and the * link should behave like a toggle button. */ if ( ! $wrap.hasClass( 'plugin-install-tab-upload' ) ) { $uploadViewToggle .attr({ role: 'button', 'aria-expanded': 'false' }) .on( 'click', function( event ) { event.preventDefault(); $body.toggleClass( 'show-upload-view' ); $uploadViewToggle.attr( 'aria-expanded', $body.hasClass( 'show-upload-view' ) ); }); } }); farbtastic.js 0000644 00000017251 15174671433 0007245 0 ustar 00 /*! * Farbtastic: jQuery color picker plug-in v1.3u * https://github.com/mattfarina/farbtastic * * Licensed under the GPL license: * http://www.gnu.org/licenses/gpl.html */ /** * Modified for WordPress: replaced deprecated jQuery methods. * See https://core.trac.wordpress.org/ticket/57946. */ (function($) { $.fn.farbtastic = function (options) { $.farbtastic(this, options); return this; }; $.farbtastic = function (container, callback) { var container = $(container).get(0); return container.farbtastic || (container.farbtastic = new $._farbtastic(container, callback)); }; $._farbtastic = function (container, callback) { // Store farbtastic object var fb = this; // Insert markup $(container).html('<div class="farbtastic"><div class="color"></div><div class="wheel"></div><div class="overlay"></div><div class="h-marker marker"></div><div class="sl-marker marker"></div></div>'); var e = $('.farbtastic', container); fb.wheel = $('.wheel', container).get(0); // Dimensions fb.radius = 84; fb.square = 100; fb.width = 194; // Fix background PNGs in IE6 if (navigator.appVersion.match(/MSIE [0-6]\./)) { $('*', e).each(function () { if (this.currentStyle.backgroundImage != 'none') { var image = this.currentStyle.backgroundImage; image = this.currentStyle.backgroundImage.substring(5, image.length - 2); $(this).css({ 'backgroundImage': 'none', 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')" }); } }); } /** * Link to the given element(s) or callback. */ fb.linkTo = function (callback) { // Unbind previous nodes if (typeof fb.callback == 'object') { $(fb.callback).off('keyup', fb.updateValue); } // Reset color fb.color = null; // Bind callback or elements if (typeof callback == 'function') { fb.callback = callback; } else if (typeof callback == 'object' || typeof callback == 'string') { fb.callback = $(callback); fb.callback.on('keyup', fb.updateValue); if (fb.callback.get(0).value) { fb.setColor(fb.callback.get(0).value); } } return this; }; fb.updateValue = function (event) { if (this.value && this.value != fb.color) { fb.setColor(this.value); } }; /** * Change color with HTML syntax #123456 */ fb.setColor = function (color) { var unpack = fb.unpack(color); if (fb.color != color && unpack) { fb.color = color; fb.rgb = unpack; fb.hsl = fb.RGBToHSL(fb.rgb); fb.updateDisplay(); } return this; }; /** * Change color with HSL triplet [0..1, 0..1, 0..1] */ fb.setHSL = function (hsl) { fb.hsl = hsl; fb.rgb = fb.HSLToRGB(hsl); fb.color = fb.pack(fb.rgb); fb.updateDisplay(); return this; }; ///////////////////////////////////////////////////// /** * Retrieve the coordinates of the given event relative to the center * of the widget. */ fb.widgetCoords = function (event) { var offset = $(fb.wheel).offset(); return { x: (event.pageX - offset.left) - fb.width / 2, y: (event.pageY - offset.top) - fb.width / 2 }; }; /** * Mousedown handler */ fb.mousedown = function (event) { // Capture mouse if (!document.dragging) { $(document).on('mousemove', fb.mousemove).on('mouseup', fb.mouseup); document.dragging = true; } // Check which area is being dragged var pos = fb.widgetCoords(event); fb.circleDrag = Math.max(Math.abs(pos.x), Math.abs(pos.y)) * 2 > fb.square; // Process fb.mousemove(event); return false; }; /** * Mousemove handler */ fb.mousemove = function (event) { // Get coordinates relative to color picker center var pos = fb.widgetCoords(event); // Set new HSL parameters if (fb.circleDrag) { var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); } else { var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5)); var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5)); fb.setHSL([fb.hsl[0], sat, lum]); } return false; }; /** * Mouseup handler */ fb.mouseup = function () { // Uncapture mouse $(document).off('mousemove', fb.mousemove); $(document).off('mouseup', fb.mouseup); document.dragging = false; }; /** * Update the markers and styles */ fb.updateDisplay = function () { // Markers var angle = fb.hsl[0] * 6.28; $('.h-marker', e).css({ left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px', top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px' }); $('.sl-marker', e).css({ left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px', top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px' }); // Saturation/Luminance gradient $('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5]))); // Linked elements or callback if (typeof fb.callback == 'object') { // Set background/foreground color $(fb.callback).css({ backgroundColor: fb.color, color: fb.hsl[2] > 0.5 ? '#000' : '#fff' }); // Change linked value $(fb.callback).each(function() { if (this.value && this.value != fb.color) { this.value = fb.color; } }); } else if (typeof fb.callback == 'function') { fb.callback.call(fb, fb.color); } }; /* Various color utility functions */ fb.pack = function (rgb) { var r = Math.round(rgb[0] * 255); var g = Math.round(rgb[1] * 255); var b = Math.round(rgb[2] * 255); return '#' + (r < 16 ? '0' : '') + r.toString(16) + (g < 16 ? '0' : '') + g.toString(16) + (b < 16 ? '0' : '') + b.toString(16); }; fb.unpack = function (color) { if (color.length == 7) { return [parseInt('0x' + color.substring(1, 3)) / 255, parseInt('0x' + color.substring(3, 5)) / 255, parseInt('0x' + color.substring(5, 7)) / 255]; } else if (color.length == 4) { return [parseInt('0x' + color.substring(1, 2)) / 15, parseInt('0x' + color.substring(2, 3)) / 15, parseInt('0x' + color.substring(3, 4)) / 15]; } }; fb.HSLToRGB = function (hsl) { var m1, m2, r, g, b; var h = hsl[0], s = hsl[1], l = hsl[2]; m2 = (l <= 0.5) ? l * (s + 1) : l + s - l*s; m1 = l * 2 - m2; return [this.hueToRGB(m1, m2, h+0.33333), this.hueToRGB(m1, m2, h), this.hueToRGB(m1, m2, h-0.33333)]; }; fb.hueToRGB = function (m1, m2, h) { h = (h < 0) ? h + 1 : ((h > 1) ? h - 1 : h); if (h * 6 < 1) return m1 + (m2 - m1) * h * 6; if (h * 2 < 1) return m2; if (h * 3 < 2) return m1 + (m2 - m1) * (0.66666 - h) * 6; return m1; }; fb.RGBToHSL = function (rgb) { var min, max, delta, h, s, l; var r = rgb[0], g = rgb[1], b = rgb[2]; min = Math.min(r, Math.min(g, b)); max = Math.max(r, Math.max(g, b)); delta = max - min; l = (min + max) / 2; s = 0; if (l > 0 && l < 1) { s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); } h = 0; if (delta > 0) { if (max == r && max != g) h += (g - b) / delta; if (max == g && max != b) h += (2 + (b - r) / delta); if (max == b && max != r) h += (4 + (r - g) / delta); h /= 6; } return [h, s, l]; }; // Install mousedown handler (the others are set on the document on-demand) $('*', e).on('mousedown', fb.mousedown); // Init color fb.setColor('#000000'); // Set linked elements/callback if (callback) { fb.linkTo(callback); } }; })(jQuery); common.min.js 0000644 00000056174 15174671433 0007204 0 ustar 00 /*! This file is auto-generated */ !function(B,W){var $=B(document),H=B(W),q=B(document.body),Q=wp.i18n.__,i=wp.i18n.sprintf;function r(e,t,n){n=void 0!==n?i(Q("%1$s is deprecated since version %2$s! Use %3$s instead."),e,t,n):i(Q("%1$s is deprecated since version %2$s with no alternative available."),e,t);W.console.warn(n)}function e(i,o,a){var s={};return Object.keys(o).forEach(function(e){var t=o[e],n=i+"."+e;"object"==typeof t?Object.defineProperty(s,e,{get:function(){return r(n,a,t.alternative),t.func()}}):Object.defineProperty(s,e,{get:function(){return r(n,a,"wp.i18n"),t}})}),s}W.wp.deprecateL10nObject=e,W.commonL10n=W.commonL10n||{warnDelete:"",dismiss:"",collapseMenu:"",expandMenu:""},W.commonL10n=e("commonL10n",W.commonL10n,"5.5.0"),W.wpPointerL10n=W.wpPointerL10n||{dismiss:""},W.wpPointerL10n=e("wpPointerL10n",W.wpPointerL10n,"5.5.0"),W.userProfileL10n=W.userProfileL10n||{warn:"",warnWeak:"",show:"",hide:"",cancel:"",ariaShow:"",ariaHide:""},W.userProfileL10n=e("userProfileL10n",W.userProfileL10n,"5.5.0"),W.privacyToolsL10n=W.privacyToolsL10n||{noDataFound:"",foundAndRemoved:"",noneRemoved:"",someNotRemoved:"",removalError:"",emailSent:"",noExportFile:"",exportError:""},W.privacyToolsL10n=e("privacyToolsL10n",W.privacyToolsL10n,"5.5.0"),W.authcheckL10n={beforeunload:""},W.authcheckL10n=W.authcheckL10n||e("authcheckL10n",W.authcheckL10n,"5.5.0"),W.tagsl10n={noPerm:"",broken:""},W.tagsl10n=W.tagsl10n||e("tagsl10n",W.tagsl10n,"5.5.0"),W.adminCommentsL10n=W.adminCommentsL10n||{hotkeys_highlight_first:{alternative:"window.adminCommentsSettings.hotkeys_highlight_first",func:function(){return W.adminCommentsSettings.hotkeys_highlight_first}},hotkeys_highlight_last:{alternative:"window.adminCommentsSettings.hotkeys_highlight_last",func:function(){return W.adminCommentsSettings.hotkeys_highlight_last}},replyApprove:"",reply:"",warnQuickEdit:"",warnCommentChanges:"",docTitleComments:"",docTitleCommentsCount:""},W.adminCommentsL10n=e("adminCommentsL10n",W.adminCommentsL10n,"5.5.0"),W.tagsSuggestL10n=W.tagsSuggestL10n||{tagDelimiter:"",removeTerm:"",termSelected:"",termAdded:"",termRemoved:""},W.tagsSuggestL10n=e("tagsSuggestL10n",W.tagsSuggestL10n,"5.5.0"),W.wpColorPickerL10n=W.wpColorPickerL10n||{clear:"",clearAriaLabel:"",defaultString:"",defaultAriaLabel:"",pick:"",defaultLabel:""},W.wpColorPickerL10n=e("wpColorPickerL10n",W.wpColorPickerL10n,"5.5.0"),W.attachMediaBoxL10n=W.attachMediaBoxL10n||{error:""},W.attachMediaBoxL10n=e("attachMediaBoxL10n",W.attachMediaBoxL10n,"5.5.0"),W.postL10n=W.postL10n||{ok:"",cancel:"",publishOn:"",publishOnFuture:"",publishOnPast:"",dateFormat:"",showcomm:"",endcomm:"",publish:"",schedule:"",update:"",savePending:"",saveDraft:"",private:"",public:"",publicSticky:"",password:"",privatelyPublished:"",published:"",saveAlert:"",savingText:"",permalinkSaved:""},W.postL10n=e("postL10n",W.postL10n,"5.5.0"),W.inlineEditL10n=W.inlineEditL10n||{error:"",ntdeltitle:"",notitle:"",comma:"",saved:""},W.inlineEditL10n=e("inlineEditL10n",W.inlineEditL10n,"5.5.0"),W.plugininstallL10n=W.plugininstallL10n||{plugin_information:"",plugin_modal_label:"",ays:""},W.plugininstallL10n=e("plugininstallL10n",W.plugininstallL10n,"5.5.0"),W.navMenuL10n=W.navMenuL10n||{noResultsFound:"",warnDeleteMenu:"",saveAlert:"",untitled:""},W.navMenuL10n=e("navMenuL10n",W.navMenuL10n,"5.5.0"),W.commentL10n=W.commentL10n||{submittedOn:"",dateFormat:""},W.commentL10n=e("commentL10n",W.commentL10n,"5.5.0"),W.setPostThumbnailL10n=W.setPostThumbnailL10n||{setThumbnail:"",saving:"",error:"",done:""},W.setPostThumbnailL10n=e("setPostThumbnailL10n",W.setPostThumbnailL10n,"5.5.0"),W.uiAutocompleteL10n=W.uiAutocompleteL10n||{noResults:"",oneResult:"",manyResults:"",itemSelected:""},W.uiAutocompleteL10n=e("uiAutocompleteL10n",W.uiAutocompleteL10n,"6.5.0"),W.adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}},W.columns={init:function(){var n=this;B(".hide-column-tog","#adv-settings").on("click",function(){var e=B(this),t=e.val();e.prop("checked")?n.checked(t):n.unchecked(t),columns.saveManageColumnsState()})},saveManageColumnsState:function(){var e=this.hidden();B.post(ajaxurl,{action:"hidden-columns",hidden:e,screenoptionnonce:B("#screenoptionnonce").val(),page:pagenow},function(){wp.a11y.speak(Q("Screen Options updated."))})},checked:function(e){B(".column-"+e).removeClass("hidden"),this.colSpanChange(1)},unchecked:function(e){B(".column-"+e).addClass("hidden"),this.colSpanChange(-1)},hidden:function(){return B(".manage-column[id]").filter(".hidden").map(function(){return this.id}).get().join(",")},useCheckboxesForHidden:function(){this.hidden=function(){return B(".hide-column-tog").not(":checked").map(function(){var e=this.id;return e.substring(e,e.length-5)}).get().join(",")}},colSpanChange:function(e){var t=B("table").find(".colspanchange");t.length&&(e=parseInt(t.attr("colspan"),10)+e,t.attr("colspan",e.toString()))}},B(function(){columns.init()}),W.validateForm=function(e){return!B(e).find(".form-required").filter(function(){return""===B(":input:visible",this).val()}).addClass("form-invalid").find(":input:visible").on("change",function(){B(this).closest(".form-invalid").removeClass("form-invalid")}).length},W.showNotice={warn:function(){return!!confirm(Q("You are about to permanently delete these items from your site.\nThis action cannot be undone.\n'Cancel' to stop, 'OK' to delete."))},note:function(e){alert(e)}},W.screenMeta={element:null,toggles:null,page:null,init:function(){this.element=B("#screen-meta"),this.toggles=B("#screen-meta-links").find(".show-settings"),this.page=B("#wpcontent"),this.toggles.on("click",this.toggleEvent)},toggleEvent:function(){var e=B("#"+B(this).attr("aria-controls"));e.length&&(e.is(":visible")?screenMeta.close(e,B(this)):screenMeta.open(e,B(this)))},open:function(e,t){B("#screen-meta-links").find(".screen-meta-toggle").not(t.parent()).css("visibility","hidden"),e.parent().show(),e.slideDown("fast",function(){e.removeClass("hidden").trigger("focus"),t.addClass("screen-meta-active").attr("aria-expanded",!0)}),$.trigger("screen:options:open")},close:function(e,t){e.slideUp("fast",function(){t.removeClass("screen-meta-active").attr("aria-expanded",!1),B(".screen-meta-toggle").css("visibility",""),e.parent().hide(),e.addClass("hidden")}),$.trigger("screen:options:close")}},B(".contextual-help-tabs").on("click","a",function(e){var t=B(this);if(e.preventDefault(),t.is(".active a"))return!1;B(".contextual-help-tabs .active").removeClass("active"),t.parent("li").addClass("active"),e=B(t.attr("href")),B(".help-tab-content").not(e).removeClass("active").hide(),e.addClass("active").show()});var t,a=!1,s=B("#permalink_structure"),n=B(".permalink-structure input:radio"),l=B("#custom_selection"),o=B(".form-table.permalink-structure .available-structure-tags button");function c(e){-1!==s.val().indexOf(e.text().trim())?(e.attr("data-label",e.attr("aria-label")),e.attr("aria-label",e.attr("data-used")),e.attr("aria-pressed",!0),e.addClass("active")):e.attr("data-label")&&(e.attr("aria-label",e.attr("data-label")),e.attr("aria-pressed",!1),e.removeClass("active"))}function d(){$.trigger("wp-window-resized")}n.on("change",function(){"custom"!==this.value&&(s.val(this.value),o.each(function(){c(B(this))}))}),s.on("click input",function(){l.prop("checked",!0)}),s.on("focus",function(e){a=!0,B(this).off(e)}),o.each(function(){c(B(this))}),s.on("change",function(){o.each(function(){c(B(this))})}),o.on("click",function(){var e=s.val(),t=s[0].selectionStart,n=s[0].selectionEnd,i=B(this).text().trim(),o=B(this).hasClass("active")?B(this).attr("data-removed"):B(this).attr("data-added");-1!==e.indexOf(i)?(e=e.replace(i+"/",""),s.val("/"===e?"":e),B("#custom_selection_updated").text(o),c(B(this))):(a||0!==t||0!==n||(t=n=e.length),l.prop("checked",!0),"/"!==e.substr(0,t).substr(-1)&&(i="/"+i),"/"!==e.substr(n,1)&&(i+="/"),s.val(e.substr(0,t)+i+e.substr(n)),B("#custom_selection_updated").text(o),c(B(this)),a&&s[0].setSelectionRange&&(n=(e.substr(0,t)+i).length,s[0].setSelectionRange(n,n),s.trigger("focus")))}),B(function(){var n,i,o,a,e,t,s,r=!1,l=B("input.current-page"),z=l.val(),c=/iPhone|iPad|iPod/.test(navigator.userAgent),R=-1!==navigator.userAgent.indexOf("Android"),d=B("#adminmenuwrap"),u=B("#wpwrap"),p=B("#adminmenu"),m=B("#wp-responsive-overlay"),h=B("#wp-toolbar"),f=h.find('a[aria-haspopup="true"]'),g=B(".meta-box-sortables"),v=!1,b=B("#wpadminbar"),w=0,k=!1,y=!1,C=0,L=!1,x={window:H.height(),wpwrap:u.height(),adminbar:b.height(),menu:d.height()},S=B(".wp-header-end");function A(e){var t=e.find(".wp-submenu"),e=e.offset().top,n=H.scrollTop(),i=e-n-30,e=e+t.height()+1,o=60+e-u.height(),n=H.height()+n-50;1<(o=i<(o=n<e-o?e-n:o)?i:o)&&B("#wp-admin-bar-menu-toggle").is(":hidden")?t.css("margin-top","-"+o+"px"):t.css("margin-top","")}function P(){B(".notice.is-dismissible").each(function(){var t=B(this),e=B('<button type="button" class="notice-dismiss"><span class="screen-reader-text"></span></button>');t.find(".notice-dismiss").length||(e.find(".screen-reader-text").text(Q("Dismiss this notice.")),e.on("click.wp-dismiss-notice",function(e){e.preventDefault(),t.fadeTo(100,0,function(){t.slideUp(100,function(){t.remove()})})}),t.append(e))})}function T(e,t,n,i){n.on("change",function(){e.val(B(this).val())}),e.on("change",function(){n.val(B(this).val())}),i.on("click",function(e){e.preventDefault(),e.stopPropagation(),t.trigger("click")})}p.on("click.wp-submenu-head",".wp-submenu-head",function(e){B(e.target).parent().siblings("a").get(0).click()}),B("#collapse-button").on("click.collapse-menu",function(){var e=I()||961;B("#adminmenu div.wp-submenu").css("margin-top",""),s=e<=960?q.hasClass("auto-fold")?(q.removeClass("auto-fold").removeClass("folded"),setUserSetting("unfold",1),setUserSetting("mfold","o"),"open"):(q.addClass("auto-fold"),setUserSetting("unfold",0),"folded"):q.hasClass("folded")?(q.removeClass("folded"),setUserSetting("mfold","o"),"open"):(q.addClass("folded"),setUserSetting("mfold","f"),"folded"),$.trigger("wp-collapse-menu",{state:s})}),("ontouchstart"in W||/IEMobile\/[1-9]/.test(navigator.userAgent))&&(q.on((E=c?"touchstart":"click")+".wp-mobile-hover",function(e){p.data("wp-responsive")||B(e.target).closest("#adminmenu").length||p.find("li.opensub").removeClass("opensub")}),p.find("a.wp-has-submenu").on(E+".wp-mobile-hover",function(e){var t=B(this).parent();p.data("wp-responsive")||t.hasClass("opensub")||t.hasClass("wp-menu-open")&&!(t.width()<40)||(e.preventDefault(),A(t),p.find("li.opensub").removeClass("opensub"),t.addClass("opensub"))})),c||R||(p.find("li.wp-has-submenu").hoverIntent({over:function(){var e=B(this),t=e.find(".wp-submenu"),t=parseInt(t.css("top"),10);isNaN(t)||-5<t||p.data("wp-responsive")||(A(e),p.find("li.opensub").removeClass("opensub"),e.addClass("opensub"))},out:function(){p.data("wp-responsive")||B(this).removeClass("opensub").find(".wp-submenu").css("margin-top","")},timeout:200,sensitivity:7,interval:90}),p.on("focus.adminmenu",".wp-submenu a",function(e){p.data("wp-responsive")||B(e.target).closest("li.menu-top").addClass("opensub")}).on("blur.adminmenu",".wp-submenu a",function(e){p.data("wp-responsive")||B(e.target).closest("li.menu-top").removeClass("opensub")}).find("li.wp-has-submenu.wp-not-current-submenu").on("focusin.adminmenu",function(){A(B(this))})),S.length||(S=B(".wrap h1, .wrap h2").first()),B("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(S),$.on("wp-updates-notice-added wp-plugin-install-error wp-plugin-update-error wp-plugin-delete-error wp-theme-install-error wp-theme-delete-error wp-notice-added",P),screenMeta.init(),q.on("click","tbody > tr > .check-column :checkbox",function(e){if("undefined"!=e.shiftKey){if(e.shiftKey){if(!r)return!0;n=B(r).closest("form").find(":checkbox").filter(":visible:enabled"),i=n.index(r),o=n.index(this),a=B(this).prop("checked"),0<i&&0<o&&i!=o&&(i<o?n.slice(i,o):n.slice(o,i)).prop("checked",function(){return!!B(this).closest("tr").is(":visible")&&a})}var t=B(r=this).closest("tbody").find("tr").find(":checkbox").filter(":visible:enabled").not(":checked");B(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===t.length})}return!0}),q.on("click.wp-toggle-checkboxes","thead .check-column :checkbox, tfoot .check-column :checkbox",function(e){var t=B(this),n=t.closest("table"),i=t.prop("checked"),o=e.shiftKey||t.data("wp-toggle");n.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!B(this).is(":hidden,:disabled")&&(o?!B(this).prop("checked"):!!i)}),n.children("thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!o&&!!i})}),T(B("#bulk-action-selector-top"),B("#doaction"),B("#bulk-action-selector-bottom"),B("#doaction2")),T(B("#new_role"),B("#changeit"),B("#new_role2"),B("#changeit2"));var M,_,E;function D(){M.prop("disabled",""===_.map(function(){return B(this).val()}).get().join(""))}function N(e){var t=H.scrollTop(),e=!e||"scroll"!==e.type;if(!c&&!p.data("wp-responsive"))if(x.menu+x.adminbar<x.window||x.menu+x.adminbar+20>x.wpwrap)O();else{if(L=!0,x.menu+x.adminbar>x.window){if(t<0)return void(k||(y=!(k=!0),d.css({position:"fixed",top:"",bottom:""})));if(t+x.window>$.height()-1)return void(y||(k=!(y=!0),d.css({position:"fixed",top:"",bottom:0})));w<t?k?(k=!1,(C=d.offset().top-x.adminbar-(t-w))+x.menu+x.adminbar<t+x.window&&(C=t+x.window-x.menu-x.adminbar),d.css({position:"absolute",top:C,bottom:""})):!y&&d.offset().top+x.menu<t+x.window&&(y=!0,d.css({position:"fixed",top:"",bottom:0})):t<w?y?(y=!1,(C=d.offset().top-x.adminbar+(w-t))+x.menu>t+x.window&&(C=t),d.css({position:"absolute",top:C,bottom:""})):!k&&d.offset().top>=t+x.adminbar&&(k=!0,d.css({position:"fixed",top:"",bottom:""})):e&&(k=y=!1,0<(C=t+x.window-x.menu-x.adminbar-1)?d.css({position:"absolute",top:C,bottom:""}):O())}w=t}}function F(){x={window:H.height(),wpwrap:u.height(),adminbar:b.height(),menu:d.height()}}function O(){!c&&L&&(k=y=L=!1,d.css({position:"",top:"",bottom:""}))}function j(){F(),p.data("wp-responsive")?(q.removeClass("sticky-menu"),O()):x.menu+x.adminbar>x.window?(N(),q.removeClass("sticky-menu")):(q.addClass("sticky-menu"),O())}function U(){B(".aria-button-if-js").attr("role","button")}function I(){var e=!1;return e=W.innerWidth?Math.max(W.innerWidth,document.documentElement.clientWidth):e}function K(){var e=I()||961;s=e<=782?"responsive":q.hasClass("folded")||q.hasClass("auto-fold")&&e<=960&&782<e?"folded":"open",$.trigger("wp-menu-state-set",{state:s})}B(".bulkactions").parents("form").on("submit",function(e){var t=!(!e.originalEvent||!e.originalEvent.submitter)&&e.originalEvent.submitter.name,n=this.querySelector("#current-page-selector");if(!n||n.defaultValue===n.value){n={bulk_action:W.bulkActionObserverIds.bulk_action,changeit:W.bulkActionObserverIds.changeit};if(Object.keys(n).includes(t)){n=new FormData(this).get(n[t])||"-1";if("-1"!==n)if(0<this.querySelectorAll('.wp-list-table tbody .check-column input[type="checkbox"]:checked').length)return;e.preventDefault(),e.stopPropagation(),B("html, body").animate({scrollTop:0});var i,o,t=Q("Please select at least one item to perform this action on.");e=B((n={id:"no-items-selected",type:"error",message:t,dismissible:!0}).selector),o=B(".wp-header-end"),delete n.selector,i=n.dismissible&&!0===n.dismissible?" is-dismissible":"",i='<div id="'+n.id+'" class="notice notice-'+n.type+i+'"><p>'+n.message+"</p></div>",(e=e.length?e:B("#"+n.id)).length?e.replaceWith(i):o.length?o.after(i):"customize"===pagenow?B(".customize-themes-notifications").append(i):B(".wrap").find("> h1").after(i),$.trigger("wp-notice-added"),wp.a11y.speak(t)}}}),B("#wpbody-content").on({focusin:function(){clearTimeout(e),t=B(this).find(".row-actions"),B(".row-actions").not(this).removeClass("visible"),t.addClass("visible")},focusout:function(){e=setTimeout(function(){t.removeClass("visible")},30)}},".table-view-list .has-row-actions"),B("tbody").on("click",".toggle-row",function(){B(this).closest("tr").toggleClass("is-expanded")}),B("#default-password-nag-no").on("click",function(){return setUserSetting("default_password_nag","hide"),B("div.default-password-nag").hide(),!1}),B("#newcontent").on("keydown.wpevent_InsertTab",function(e){var t,n,i,o,a=e.target;27==e.keyCode?(e.preventDefault(),B(a).data("tab-out",!0)):9!=e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||(B(a).data("tab-out")?B(a).data("tab-out",!1):(t=a.selectionStart,n=a.selectionEnd,i=a.value,document.selection?(a.focus(),document.selection.createRange().text="\t"):0<=t&&(o=this.scrollTop,a.value=i.substring(0,t).concat("\t",i.substring(n)),a.selectionStart=a.selectionEnd=t+1,this.scrollTop=o),e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()))}),l.length&&l.closest("form").on("submit",function(){-1==B('select[name="action"]').val()&&l.val()==z&&l.val("1")}),B('.search-box input[type="search"], .search-box input[type="submit"]').on("mousedown",function(){B('select[name^="action"]').val("-1")}),B("#contextual-help-link, #show-settings-link").on("focus.scroll-into-view",function(e){e.target.scrollIntoViewIfNeeded&&e.target.scrollIntoViewIfNeeded(!1)}),(E=B("form.wp-upload-form")).length&&(M=E.find('input[type="submit"]'),_=E.find('input[type="file"]'),D(),_.on("change",D)),c||(H.on("scroll.pin-menu",N),$.on("tinymce-editor-init.pin-menu",function(e,t){t.on("wp-autoresize",F)})),W.wpResponsive={init:function(){var e=this;this.maybeDisableSortables=this.maybeDisableSortables.bind(this),$.on("wp-responsive-activate.wp-responsive",function(){e.activate(),e.toggleAriaHasPopup("add")}).on("wp-responsive-deactivate.wp-responsive",function(){e.deactivate(),e.toggleAriaHasPopup("remove")}),B("#wp-admin-bar-menu-toggle a").attr("aria-expanded","false"),B("#wp-admin-bar-menu-toggle").on("click.wp-responsive",function(e){e.preventDefault(),b.find(".hover").removeClass("hover"),u.toggleClass("wp-responsive-open"),u.hasClass("wp-responsive-open")?(B(this).find("a").attr("aria-expanded","true"),B("#adminmenu a:first").trigger("focus")):B(this).find("a").attr("aria-expanded","false")}),B(document).on("click",function(e){var t;u.hasClass("wp-responsive-open")&&document.hasFocus()&&(t=B.contains(B("#wp-admin-bar-menu-toggle")[0],e.target),e=B.contains(B("#adminmenuwrap")[0],e.target),t||e||B("#wp-admin-bar-menu-toggle").trigger("click.wp-responsive"))}),B(document).on("keyup",function(e){var n,i,o=B("#wp-admin-bar-menu-toggle")[0];u.hasClass("wp-responsive-open")&&(27===e.keyCode?(B(o).trigger("click.wp-responsive"),B(o).find("a").trigger("focus")):9===e.keyCode&&(n=B("#adminmenuwrap")[0],i=e.relatedTarget||document.activeElement,setTimeout(function(){var e=B.contains(o,i),t=B.contains(n,i);e||t||B(o).trigger("click.wp-responsive")},10)))}),p.on("click.wp-responsive","li.wp-has-submenu > a",function(e){var t;p.data("wp-responsive")&&(t="false"===B(this).attr("aria-expanded")?"true":"false",B(this).parent("li").toggleClass("selected"),B(this).attr("aria-expanded",t),B(this).trigger("focus"),e.preventDefault())}),e.trigger(),$.on("wp-window-resized.wp-responsive",this.trigger.bind(this)),H.on("load.wp-responsive",this.maybeDisableSortables),$.on("postbox-toggled",this.maybeDisableSortables),B("#screen-options-wrap input").on("click",this.maybeDisableSortables)},maybeDisableSortables:function(){(-1<navigator.userAgent.indexOf("AppleWebKit/")?H.width():W.innerWidth)<=782||g.find(".ui-sortable-handle:visible").length<=1&&jQuery(".columns-prefs-1 input").prop("checked")?this.disableSortables():this.enableSortables()},activate:function(){j(),q.hasClass("auto-fold")||q.addClass("auto-fold"),p.data("wp-responsive",1),this.disableSortables()},deactivate:function(){j(),p.removeData("wp-responsive"),this.maybeDisableSortables()},toggleAriaHasPopup:function(e){var t=p.find("[data-ariahaspopup]");"add"===e?t.each(function(){B(this).attr("aria-haspopup","menu").attr("aria-expanded","false")}):t.each(function(){B(this).removeAttr("aria-haspopup").removeAttr("aria-expanded")})},trigger:function(){var e=I();e&&(e<=782?v||($.trigger("wp-responsive-activate"),v=!0):v&&($.trigger("wp-responsive-deactivate"),v=!1),e<=480?this.enableOverlay():this.disableOverlay(),this.maybeDisableSortables())},enableOverlay:function(){0===m.length&&(m=B('<div id="wp-responsive-overlay"></div>').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){h.find(".menupop.hover").removeClass("hover"),B(this).hide()})),f.on("click.wp-responsive",function(){m.show()})},disableOverlay:function(){f.off("click.wp-responsive"),m.hide()},disableSortables:function(){if(g.length)try{g.sortable("disable"),g.find(".ui-sortable-handle").addClass("is-non-sortable")}catch(e){}},enableSortables:function(){if(g.length)try{g.sortable("enable"),g.find(".ui-sortable-handle").removeClass("is-non-sortable")}catch(e){}}},B(document).on("ajaxComplete",function(){U()}),$.on("wp-window-resized.set-menu-state",K),$.on("wp-menu-state-set wp-collapse-menu",function(e,t){var n,i=B("#collapse-button"),t="folded"===t.state?(n="false",Q("Expand Main menu")):(n="true",Q("Collapse Main menu"));i.attr({"aria-expanded":n,"aria-label":t})}),W.wpResponsive.init(),j(),K(),P(),U(),$.on("wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu",j),B(".wp-initial-focus").trigger("focus"),q.on("click",".js-update-details-toggle",function(){var e=B(this).closest(".js-update-details"),t=B("#"+e.data("update-details"));t.hasClass("update-details-moved")||t.insertAfter(e).addClass("update-details-moved"),t.toggle(),B(this).attr("aria-expanded",t.is(":visible"))})}),B(function(e){var t,n;q.hasClass("update-php")&&(t=e("a.update-from-upload-overwrite"),n=e(".update-from-upload-expired"),t.length)&&n.length&&W.setTimeout(function(){t.hide(),n.removeClass("hidden"),W.wp&&W.wp.a11y&&W.wp.a11y.speak(n.text())},714e4)}),H.on("resize.wp-fire-once",function(){W.clearTimeout(t),t=W.setTimeout(d,200)}),"-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)&&((n=document.createElement("style")).appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(n))}(jQuery,window),function(){var e,i={},o={};i.pauseAll=!1,!window.matchMedia||(e=window.matchMedia("(prefers-reduced-motion: reduce)"))&&!e.matches||(i.pauseAll=!0),i.freezeAnimatedPluginIcons=function(l){function e(){var e=l.width,t=l.height,n=document.createElement("canvas");if(n.width=e,n.height=t,n.className=l.className,l.closest("#update-plugins-table"))for(var i=window.getComputedStyle(l),o=0,a=i.length;o<a;o++){var s=i[o],r=i.getPropertyValue(s);n.style[s]=r}n.getContext("2d").drawImage(l,0,0,e,t),n.setAttribute("aria-hidden","true"),n.setAttribute("role","presentation"),l.parentNode.insertBefore(n,l),l.style.opacity=.01,l.style.width="0px",l.style.height="0px"}l.complete?e():l.addEventListener("load",e,!0)},o.freezeAll=function(){for(var e=document.querySelectorAll(".plugin-icon, #update-plugins-table img"),t=0;t<e.length;t++)/\.gif(?:\?|$)/i.test(e[t].src)&&i.freezeAnimatedPluginIcons(e[t])},!0===i.pauseAll&&o.freezeAll(),e=jQuery,"plugin-install"===window.pagenow&&e(document).ajaxComplete(function(e,t,n){n.data&&"string"==typeof n.data&&n.data.includes("action=search-install-plugins")&&(window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)").matches&&o.freezeAll():!0===i.pauseAll&&o.freezeAll())})}(); post.js 0000644 00000115267 15174671433 0006116 0 ustar 00 /** * @file Contains all dynamic functionality needed on post and term pages. * * @output wp-admin/js/post.js */ /* global ajaxurl, wpAjax, postboxes, pagenow, tinymce, alert, deleteUserSetting, ClipboardJS */ /* global theList:true, theExtraList:true, getUserSetting, setUserSetting, commentReply, commentsBox */ /* global WPSetThumbnailHTML, wptitlehint */ // Backward compatibility: prevent fatal errors. window.makeSlugeditClickable = window.editPermalink = function(){}; // Make sure the wp object exists. window.wp = window.wp || {}; ( function( $ ) { var titleHasFocus = false, __ = wp.i18n.__; /** * Control loading of comments on the post and term edit pages. * * @type {{st: number, get: commentsBox.get, load: commentsBox.load}} * * @namespace commentsBox */ window.commentsBox = { // Comment offset to use when fetching new comments. st : 0, /** * Fetch comments using Ajax and display them in the box. * * @memberof commentsBox * * @param {number} total Total number of comments for this post. * @param {number} num Optional. Number of comments to fetch, defaults to 20. * @return {boolean} Always returns false. */ get : function(total, num) { var st = this.st, data; if ( ! num ) num = 20; this.st += num; this.total = total; $( '#commentsdiv .spinner' ).addClass( 'is-active' ); data = { 'action' : 'get-comments', 'mode' : 'single', '_ajax_nonce' : $('#add_comment_nonce').val(), 'p' : $('#post_ID').val(), 'start' : st, 'number' : num }; $.post( ajaxurl, data, function(r) { r = wpAjax.parseAjaxResponse(r); $('#commentsdiv .widefat').show(); $( '#commentsdiv .spinner' ).removeClass( 'is-active' ); if ( 'object' == typeof r && r.responses[0] ) { $('#the-comment-list').append( r.responses[0].data ); theList = theExtraList = null; $( 'a[className*=\':\']' ).off(); // If the offset is over the total number of comments we cannot fetch any more, so hide the button. if ( commentsBox.st > commentsBox.total ) $('#show-comments').hide(); else $('#show-comments').show().children('a').text( __( 'Show more comments' ) ); return; } else if ( 1 == r ) { $('#show-comments').text( __( 'No more comments found.' ) ); return; } $('#the-comment-list').append('<tr><td colspan="2">'+wpAjax.broken+'</td></tr>'); } ); return false; }, /** * Load the next batch of comments. * * @memberof commentsBox * * @param {number} total Total number of comments to load. */ load: function(total){ this.st = jQuery('#the-comment-list tr.comment:visible').length; this.get(total); } }; /** * Overwrite the content of the Featured Image postbox * * @param {string} html New HTML to be displayed in the content area of the postbox. * * @global */ window.WPSetThumbnailHTML = function(html){ $('.inside', '#postimagediv').html(html); }; /** * Set the Image ID of the Featured Image * * @param {number} id The post_id of the image to use as Featured Image. * * @global */ window.WPSetThumbnailID = function(id){ var field = $('input[value="_thumbnail_id"]', '#list-table'); if ( field.length > 0 ) { $('#meta\\[' + field.attr('id').match(/[0-9]+/) + '\\]\\[value\\]').text(id); } }; /** * Remove the Featured Image * * @param {string} nonce Nonce to use in the request. * * @global */ window.WPRemoveThumbnail = function(nonce){ $.post( ajaxurl, { action: 'set-post-thumbnail', post_id: $( '#post_ID' ).val(), thumbnail_id: -1, _ajax_nonce: nonce, cookie: encodeURIComponent( document.cookie ) }, /** * Handle server response * * @param {string} str Response, will be '0' when an error occurred otherwise contains link to add Featured Image. */ function(str){ if ( str == '0' ) { alert( __( 'Could not set that as the thumbnail image. Try a different attachment.' ) ); } else { WPSetThumbnailHTML(str); } } ); }; /** * Heartbeat locks. * * Used to lock editing of an object by only one user at a time. * * When the user does not send a heartbeat in a heartbeat-time * the user is no longer editing and another user can start editing. */ $(document).on( 'heartbeat-send.refresh-lock', function( e, data ) { var lock = $('#active_post_lock').val(), post_id = $('#post_ID').val(), send = {}; if ( ! post_id || ! $('#post-lock-dialog').length ) return; send.post_id = post_id; if ( lock ) send.lock = lock; data['wp-refresh-post-lock'] = send; }).on( 'heartbeat-tick.refresh-lock', function( e, data ) { // Post locks: update the lock string or show the dialog if somebody has taken over editing. var received, wrap, avatar; if ( data['wp-refresh-post-lock'] ) { received = data['wp-refresh-post-lock']; if ( received.lock_error ) { // Show "editing taken over" message. wrap = $('#post-lock-dialog'); if ( wrap.length && ! wrap.is(':visible') ) { if ( wp.autosave ) { // Save the latest changes and disable. $(document).one( 'heartbeat-tick', function() { wp.autosave.server.suspend(); wrap.removeClass('saving').addClass('saved'); $(window).off( 'beforeunload.edit-post' ); }); wrap.addClass('saving'); wp.autosave.server.triggerSave(); } if ( received.lock_error.avatar_src ) { avatar = $( '<img />', { 'class': 'avatar avatar-64 photo', width: 64, height: 64, alt: '', src: received.lock_error.avatar_src, srcset: received.lock_error.avatar_src_2x ? received.lock_error.avatar_src_2x + ' 2x' : undefined } ); wrap.find('div.post-locked-avatar').empty().append( avatar ); } wrap.show().find('.currently-editing').text( received.lock_error.text ); wrap.find('.wp-tab-first').trigger( 'focus' ); } } else if ( received.new_lock ) { $('#active_post_lock').val( received.new_lock ); } } }).on( 'before-autosave.update-post-slug', function() { titleHasFocus = document.activeElement && document.activeElement.id === 'title'; }).on( 'after-autosave.update-post-slug', function() { /* * Create slug area only if not already there * and the title field was not focused (user was not typing a title) when autosave ran. */ if ( ! $('#edit-slug-box > *').length && ! titleHasFocus ) { $.post( ajaxurl, { action: 'sample-permalink', post_id: $('#post_ID').val(), new_title: $('#title').val(), samplepermalinknonce: $('#samplepermalinknonce').val() }, function( data ) { if ( data != '-1' ) { $('#edit-slug-box').html(data); } } ); } }); }(jQuery)); /** * Heartbeat refresh nonces. */ (function($) { var check, timeout; /** * Only allow to check for nonce refresh every 30 seconds. */ function schedule() { check = false; window.clearTimeout( timeout ); timeout = window.setTimeout( function(){ check = true; }, 300000 ); } $( function() { schedule(); }).on( 'heartbeat-send.wp-refresh-nonces', function( e, data ) { var post_id, $authCheck = $('#wp-auth-check-wrap'); if ( check || ( $authCheck.length && ! $authCheck.hasClass( 'hidden' ) ) ) { if ( ( post_id = $('#post_ID').val() ) && $('#_wpnonce').val() ) { data['wp-refresh-post-nonces'] = { post_id: post_id }; } } }).on( 'heartbeat-tick.wp-refresh-nonces', function( e, data ) { var nonces = data['wp-refresh-post-nonces']; if ( nonces ) { schedule(); if ( nonces.replace ) { $.each( nonces.replace, function( selector, value ) { $( '#' + selector ).val( value ); }); } if ( nonces.heartbeatNonce ) window.heartbeatSettings.nonce = nonces.heartbeatNonce; } }); }(jQuery)); /** * All post and postbox controls and functionality. */ jQuery( function($) { var stamp, visibility, $submitButtons, updateVisibility, updateText, $textarea = $('#content'), $document = $(document), postId = $('#post_ID').val() || 0, $submitpost = $('#submitpost'), releaseLock = true, $postVisibilitySelect = $('#post-visibility-select'), $timestampdiv = $('#timestampdiv'), $postStatusSelect = $('#post-status-select'), isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false, copyAttachmentURLClipboard = new ClipboardJS( '.copy-attachment-url.edit-media' ), copyAttachmentURLSuccessTimeout, __ = wp.i18n.__, _x = wp.i18n._x; postboxes.add_postbox_toggles(pagenow); /* * Clear the window name. Otherwise if this is a former preview window where the user navigated to edit another post, * and the first post is still being edited, clicking Preview there will use this window to show the preview. */ window.name = ''; // Post locks: contain focus inside the dialog. If the dialog is shown, focus the first item. $('#post-lock-dialog .notification-dialog').on( 'keydown', function(e) { // Don't do anything when [Tab] is pressed. if ( e.which != 9 ) return; var target = $(e.target); // [Shift] + [Tab] on first tab cycles back to last tab. if ( target.hasClass('wp-tab-first') && e.shiftKey ) { $(this).find('.wp-tab-last').trigger( 'focus' ); e.preventDefault(); // [Tab] on last tab cycles back to first tab. } else if ( target.hasClass('wp-tab-last') && ! e.shiftKey ) { $(this).find('.wp-tab-first').trigger( 'focus' ); e.preventDefault(); } }).filter(':visible').find('.wp-tab-first').trigger( 'focus' ); // Set the heartbeat interval to 10 seconds if post lock dialogs are enabled. if ( wp.heartbeat && $('#post-lock-dialog').length ) { wp.heartbeat.interval( 10 ); } // The form is being submitted by the user. $submitButtons = $submitpost.find( ':submit, a.submitdelete, #post-preview' ).on( 'click.edit-post', function( event ) { var $button = $(this); if ( $button.hasClass('disabled') ) { event.preventDefault(); return; } if ( $button.hasClass('submitdelete') || $button.is( '#post-preview' ) ) { return; } // The form submission can be blocked from JS or by using HTML 5.0 validation on some fields. // Run this only on an actual 'submit'. $('form#post').off( 'submit.edit-post' ).on( 'submit.edit-post', function( event ) { if ( event.isDefaultPrevented() ) { return; } // Stop auto save. if ( wp.autosave ) { wp.autosave.server.suspend(); } if ( typeof commentReply !== 'undefined' ) { /* * Warn the user they have an unsaved comment before submitting * the post data for update. */ if ( ! commentReply.discardCommentChanges() ) { return false; } /* * Close the comment edit/reply form if open to stop the form * action from interfering with the post's form action. */ commentReply.close(); } releaseLock = false; $(window).off( 'beforeunload.edit-post' ); $submitButtons.addClass( 'disabled' ); if ( $button.attr('id') === 'publish' ) { $submitpost.find( '#major-publishing-actions .spinner' ).addClass( 'is-active' ); } else { $submitpost.find( '#minor-publishing .spinner' ).addClass( 'is-active' ); } }); }); // Submit the form saving a draft or an autosave, and show a preview in a new tab. $('#post-preview').on( 'click.post-preview', function( event ) { var $this = $(this), $form = $('form#post'), $previewField = $('input#wp-preview'), target = $this.attr('target') || 'wp-preview', ua = navigator.userAgent.toLowerCase(); event.preventDefault(); if ( $this.hasClass('disabled') ) { return; } if ( wp.autosave ) { wp.autosave.server.tempBlockSave(); } $previewField.val('dopreview'); $form.attr( 'target', target ).trigger( 'submit' ).attr( 'target', '' ); // Workaround for WebKit bug preventing a form submitting twice to the same action. // https://bugs.webkit.org/show_bug.cgi?id=28633 if ( ua.indexOf('safari') !== -1 && ua.indexOf('chrome') === -1 ) { $form.attr( 'action', function( index, value ) { return value + '?t=' + ( new Date() ).getTime(); }); } $previewField.val(''); }); // Auto save new posts after a title is typed. if ( $( '#auto_draft' ).val() ) { $( '#title' ).on( 'blur', function() { var cancel; if ( ! this.value || $('#edit-slug-box > *').length ) { return; } // Cancel the auto save when the blur was triggered by the user submitting the form. $('form#post').one( 'submit', function() { cancel = true; }); window.setTimeout( function() { if ( ! cancel && wp.autosave ) { wp.autosave.server.triggerSave(); } }, 200 ); }); } $document.on( 'autosave-disable-buttons.edit-post', function() { $submitButtons.addClass( 'disabled' ); }).on( 'autosave-enable-buttons.edit-post', function() { if ( ! wp.heartbeat || ! wp.heartbeat.hasConnectionError() ) { $submitButtons.removeClass( 'disabled' ); } }).on( 'before-autosave.edit-post', function() { $( '.autosave-message' ).text( __( 'Saving Draft…' ) ); }).on( 'after-autosave.edit-post', function( event, data ) { $( '.autosave-message' ).text( data.message ); if ( $( document.body ).hasClass( 'post-new-php' ) ) { $( '.submitbox .submitdelete' ).show(); } }); /* * When the user is trying to load another page, or reloads current page * show a confirmation dialog when there are unsaved changes. */ $( window ).on( 'beforeunload.edit-post', function( event ) { var editor = window.tinymce && window.tinymce.get( 'content' ); var changed = false; if ( wp.autosave ) { changed = wp.autosave.server.postChanged(); } else if ( editor ) { changed = ( ! editor.isHidden() && editor.isDirty() ); } if ( changed ) { event.preventDefault(); // The return string is needed for browser compat. // See https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event. return __( 'The changes you made will be lost if you navigate away from this page.' ); } }).on( 'pagehide.edit-post', function( event ) { if ( ! releaseLock ) { return; } /* * Unload is triggered (by hand) on removing the Thickbox iframe. * Make sure we process only the main document unload. */ if ( event.target && event.target.nodeName != '#document' ) { return; } var postID = $('#post_ID').val(); var postLock = $('#active_post_lock').val(); if ( ! postID || ! postLock ) { return; } var data = { action: 'wp-remove-post-lock', _wpnonce: $('#_wpnonce').val(), post_ID: postID, active_post_lock: postLock }; if ( window.FormData && window.navigator.sendBeacon ) { var formData = new window.FormData(); $.each( data, function( key, value ) { formData.append( key, value ); }); if ( window.navigator.sendBeacon( ajaxurl, formData ) ) { return; } } // Fall back to a synchronous POST request. // See https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon $.post({ async: false, data: data, url: ajaxurl }); }); // Multiple taxonomies. if ( $('#tagsdiv-post_tag').length ) { window.tagBox && window.tagBox.init(); } else { $('.meta-box-sortables').children('div.postbox').each(function(){ if ( this.id.indexOf('tagsdiv-') === 0 ) { window.tagBox && window.tagBox.init(); return false; } }); } // Handle categories. $('.categorydiv').each( function(){ var this_id = $(this).attr('id'), catAddBefore, catAddAfter, taxonomyParts, taxonomy, settingName; taxonomyParts = this_id.split('-'); taxonomyParts.shift(); taxonomy = taxonomyParts.join('-'); settingName = taxonomy + '_tab'; if ( taxonomy == 'category' ) { settingName = 'cats'; } // @todo Move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.js. $('a', '#' + taxonomy + '-tabs').on( 'click', function( e ) { e.preventDefault(); var t = $(this).attr('href'); $(this).parent().addClass('tabs').siblings('li').removeClass('tabs'); $('#' + taxonomy + '-tabs').siblings('.tabs-panel').hide(); $(t).show(); if ( '#' + taxonomy + '-all' == t ) { deleteUserSetting( settingName ); } else { setUserSetting( settingName, 'pop' ); } }); if ( getUserSetting( settingName ) ) $('a[href="#' + taxonomy + '-pop"]', '#' + taxonomy + '-tabs').trigger( 'click' ); // Add category button controls. $('#new' + taxonomy).one( 'focus', function() { $( this ).val( '' ).removeClass( 'form-input-tip' ); }); // On [Enter] submit the taxonomy. $('#new' + taxonomy).on( 'keypress', function(event){ if( 13 === event.keyCode ) { event.preventDefault(); $('#' + taxonomy + '-add-submit').trigger( 'click' ); } }); // After submitting a new taxonomy, re-focus the input field. $('#' + taxonomy + '-add-submit').on( 'click', function() { $('#new' + taxonomy).trigger( 'focus' ); }); /** * Before adding a new taxonomy, disable submit button. * * @param {Object} s Taxonomy object which will be added. * * @return {Object} */ catAddBefore = function( s ) { if ( !$('#new'+taxonomy).val() ) { return false; } s.data += '&' + $( ':checked', '#'+taxonomy+'checklist' ).serialize(); $( '#' + taxonomy + '-add-submit' ).prop( 'disabled', true ); return s; }; /** * Re-enable submit button after a taxonomy has been added. * * Re-enable submit button. * If the taxonomy has a parent place the taxonomy underneath the parent. * * @param {Object} r Response. * @param {Object} s Taxonomy data. * * @return {void} */ catAddAfter = function( r, s ) { var sup, drop = $('#new'+taxonomy+'_parent'); $( '#' + taxonomy + '-add-submit' ).prop( 'disabled', false ); if ( 'undefined' != s.parsed.responses[0] && (sup = s.parsed.responses[0].supplemental.newcat_parent) ) { drop.before(sup); drop.remove(); } }; $('#' + taxonomy + 'checklist').wpList({ alt: '', response: taxonomy + '-ajax-response', addBefore: catAddBefore, addAfter: catAddAfter }); // Add new taxonomy button toggles input form visibility. $('#' + taxonomy + '-add-toggle').on( 'click', function( e ) { e.preventDefault(); $('#' + taxonomy + '-adder').toggleClass( 'wp-hidden-children' ); $('a[href="#' + taxonomy + '-all"]', '#' + taxonomy + '-tabs').trigger( 'click' ); $('#new'+taxonomy).trigger( 'focus' ); }); // Sync checked items between "All {taxonomy}" and "Most used" lists. $('#' + taxonomy + 'checklist, #' + taxonomy + 'checklist-pop').on( 'click', 'li.popular-category > label input[type="checkbox"]', function() { var t = $(this), c = t.is(':checked'), id = t.val(); if ( id && t.parents('#taxonomy-'+taxonomy).length ) { $('input#in-' + taxonomy + '-' + id + ', input[id^="in-' + taxonomy + '-' + id + '-"]').prop('checked', c); $('input#in-popular-' + taxonomy + '-' + id).prop('checked', c); } } ); }); // End cats. // Custom Fields postbox. if ( $('#postcustom').length ) { $( '#the-list' ).wpList( { /** * Add current post_ID to request to fetch custom fields * * @ignore * * @param {Object} s Request object. * * @return {Object} Data modified with post_ID attached. */ addBefore: function( s ) { s.data += '&post_id=' + $('#post_ID').val(); return s; }, /** * Show the listing of custom fields after fetching. * * @ignore */ addAfter: function() { $('table#list-table').show(); } }); } /* * Publish Post box (#submitdiv) */ if ( $('#submitdiv').length ) { stamp = $('#timestamp').html(); visibility = $('#post-visibility-display').html(); /** * When the visibility of a post changes sub-options should be shown or hidden. * * @ignore * * @return {void} */ updateVisibility = function() { // Show sticky for public posts. if ( $postVisibilitySelect.find('input:radio:checked').val() != 'public' ) { $('#sticky').prop('checked', false); $('#sticky-span').hide(); } else { $('#sticky-span').show(); } // Show password input field for password protected post. if ( $postVisibilitySelect.find('input:radio:checked').val() != 'password' ) { $('#password-span').hide(); } else { $('#password-span').show(); } }; /** * Make sure all labels represent the current settings. * * @ignore * * @return {boolean} False when an invalid timestamp has been selected, otherwise True. */ updateText = function() { if ( ! $timestampdiv.length ) return true; var attemptedDate, originalDate, currentDate, publishOn, postStatus = $('#post_status'), optPublish = $('option[value="publish"]', postStatus), aa = $('#aa').val(), mm = $('#mm').val(), jj = $('#jj').val(), hh = $('#hh').val(), mn = $('#mn').val(); attemptedDate = new Date( aa, mm - 1, jj, hh, mn ); originalDate = new Date( $('#hidden_aa').val(), $('#hidden_mm').val() -1, $('#hidden_jj').val(), $('#hidden_hh').val(), $('#hidden_mn').val() ); currentDate = new Date( $('#cur_aa').val(), $('#cur_mm').val() -1, $('#cur_jj').val(), $('#cur_hh').val(), $('#cur_mn').val() ); // Catch unexpected date problems. if ( attemptedDate.getFullYear() != aa || (1 + attemptedDate.getMonth()) != mm || attemptedDate.getDate() != jj || attemptedDate.getMinutes() != mn ) { $timestampdiv.find('.timestamp-wrap').addClass('form-invalid'); return false; } else { $timestampdiv.find('.timestamp-wrap').removeClass('form-invalid'); } // Determine what the publish should be depending on the date and post status. if ( attemptedDate > currentDate ) { publishOn = __( 'Schedule for:' ); $('#publish').val( _x( 'Schedule', 'post action/button label' ) ); } else if ( attemptedDate <= currentDate && $('#original_post_status').val() != 'publish' ) { publishOn = __( 'Publish on:' ); $('#publish').val( __( 'Publish' ) ); } else { publishOn = __( 'Published on:' ); $('#publish').val( __( 'Update' ) ); } // If the date is the same, set it to trigger update events. if ( originalDate.toUTCString() == attemptedDate.toUTCString() ) { // Re-set to the current value. $('#timestamp').html(stamp); } else { $('#timestamp').html( '\n' + publishOn + ' <b>' + // translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. __( '%1$s %2$s, %3$s at %4$s:%5$s' ) .replace( '%1$s', $( 'option[value="' + mm + '"]', '#mm' ).attr( 'data-text' ) ) .replace( '%2$s', parseInt( jj, 10 ) ) .replace( '%3$s', aa ) .replace( '%4$s', ( '00' + hh ).slice( -2 ) ) .replace( '%5$s', ( '00' + mn ).slice( -2 ) ) + '</b> ' ); } // Add "privately published" to post status when applies. if ( $postVisibilitySelect.find('input:radio:checked').val() == 'private' ) { $('#publish').val( __( 'Update' ) ); if ( 0 === optPublish.length ) { postStatus.append('<option value="publish">' + __( 'Privately Published' ) + '</option>'); } else { optPublish.html( __( 'Privately Published' ) ); } $('option[value="publish"]', postStatus).prop('selected', true); $('#misc-publishing-actions .edit-post-status').hide(); } else { if ( $('#original_post_status').val() == 'future' || $('#original_post_status').val() == 'draft' ) { if ( optPublish.length ) { optPublish.remove(); postStatus.val($('#hidden_post_status').val()); } } else { optPublish.html( __( 'Published' ) ); } if ( postStatus.is(':hidden') ) $('#misc-publishing-actions .edit-post-status').show(); } // Update "Status:" to currently selected status. $('#post-status-display').text( // Remove any potential tags from post status text. wp.sanitize.stripTagsAndEncodeText( $('option:selected', postStatus).text() ) ); // Show or hide the "Save Draft" button. if ( $('option:selected', postStatus).val() == 'private' || $('option:selected', postStatus).val() == 'publish' ) { $('#save-post').hide(); } else { $('#save-post').show(); if ( $('option:selected', postStatus).val() == 'pending' ) { $('#save-post').show().val( __( 'Save as Pending' ) ); } else { $('#save-post').show().val( __( 'Save Draft' ) ); } } return true; }; // Show the visibility options and hide the toggle button when opened. $( '#visibility .edit-visibility').on( 'click', function( e ) { e.preventDefault(); if ( $postVisibilitySelect.is(':hidden') ) { updateVisibility(); $postVisibilitySelect.slideDown( 'fast', function() { $postVisibilitySelect.find( 'input[type="radio"]' ).first().trigger( 'focus' ); } ); $(this).hide(); } }); // Cancel visibility selection area and hide it from view. $postVisibilitySelect.find('.cancel-post-visibility').on( 'click', function( event ) { $postVisibilitySelect.slideUp('fast'); $('#visibility-radio-' + $('#hidden-post-visibility').val()).prop('checked', true); $('#post_password').val($('#hidden-post-password').val()); $('#sticky').prop('checked', $('#hidden-post-sticky').prop('checked')); $('#post-visibility-display').html(visibility); $('#visibility .edit-visibility').show().trigger( 'focus' ); updateText(); event.preventDefault(); }); // Set the selected visibility as current. $postVisibilitySelect.find('.save-post-visibility').on( 'click', function( event ) { // Crazyhorse branch - multiple OK cancels. var visibilityLabel = '', selectedVisibility = $postVisibilitySelect.find('input:radio:checked').val(); $postVisibilitySelect.slideUp('fast'); $('#visibility .edit-visibility').show().trigger( 'focus' ); updateText(); if ( 'public' !== selectedVisibility ) { $('#sticky').prop('checked', false); } switch ( selectedVisibility ) { case 'public': visibilityLabel = $( '#sticky' ).prop( 'checked' ) ? __( 'Public, Sticky' ) : __( 'Public' ); break; case 'private': visibilityLabel = __( 'Private' ); break; case 'password': visibilityLabel = __( 'Password Protected' ); break; } $('#post-visibility-display').text( visibilityLabel ); event.preventDefault(); }); // When the selection changes, update labels. $postVisibilitySelect.find('input:radio').on( 'change', function() { updateVisibility(); }); // Edit publish time click. $timestampdiv.siblings('a.edit-timestamp').on( 'click', function( event ) { if ( $timestampdiv.is( ':hidden' ) ) { $timestampdiv.slideDown( 'fast', function() { $( 'input, select', $timestampdiv.find( '.timestamp-wrap' ) ).first().trigger( 'focus' ); } ); $(this).hide(); } event.preventDefault(); }); // Cancel editing the publish time and hide the settings. $timestampdiv.find('.cancel-timestamp').on( 'click', function( event ) { $timestampdiv.slideUp('fast').siblings('a.edit-timestamp').show().trigger( 'focus' ); $('#mm').val($('#hidden_mm').val()); $('#jj').val($('#hidden_jj').val()); $('#aa').val($('#hidden_aa').val()); $('#hh').val($('#hidden_hh').val()); $('#mn').val($('#hidden_mn').val()); updateText(); event.preventDefault(); }); // Save the changed timestamp. $timestampdiv.find('.save-timestamp').on( 'click', function( event ) { // Crazyhorse branch - multiple OK cancels. if ( updateText() ) { $timestampdiv.slideUp('fast'); $timestampdiv.siblings('a.edit-timestamp').show().trigger( 'focus' ); } event.preventDefault(); }); // Cancel submit when an invalid timestamp has been selected. $('#post').on( 'submit', function( event ) { if ( ! updateText() ) { event.preventDefault(); $timestampdiv.show(); if ( wp.autosave ) { wp.autosave.enableButtons(); } $( '#publishing-action .spinner' ).removeClass( 'is-active' ); } }); // Post Status edit click. $postStatusSelect.siblings('a.edit-post-status').on( 'click', function( event ) { if ( $postStatusSelect.is( ':hidden' ) ) { $postStatusSelect.slideDown( 'fast', function() { $postStatusSelect.find('select').trigger( 'focus' ); } ); $(this).hide(); } event.preventDefault(); }); // Save the Post Status changes and hide the options. $postStatusSelect.find('.save-post-status').on( 'click', function( event ) { $postStatusSelect.slideUp( 'fast' ).siblings( 'a.edit-post-status' ).show().trigger( 'focus' ); updateText(); event.preventDefault(); }); // Cancel Post Status editing and hide the options. $postStatusSelect.find('.cancel-post-status').on( 'click', function( event ) { $postStatusSelect.slideUp( 'fast' ).siblings( 'a.edit-post-status' ).show().trigger( 'focus' ); $('#post_status').val( $('#hidden_post_status').val() ); updateText(); event.preventDefault(); }); } /** * Handle the editing of the post_name. Create the required HTML elements and * update the changes via Ajax. * * @global * * @return {void} */ function editPermalink() { var i, slug_value, slug_label, $el, revert_e, c = 0, real_slug = $('#post_name'), revert_slug = real_slug.val(), permalink = $( '#sample-permalink' ), permalinkOrig = permalink.html(), permalinkInner = $( '#sample-permalink a' ).html(), buttons = $('#edit-slug-buttons'), buttonsOrig = buttons.html(), full = $('#editable-post-name-full'); // Deal with Twemoji in the post-name. full.find( 'img' ).replaceWith( function() { return this.alt; } ); full = full.html(); permalink.html( permalinkInner ); // Save current content to revert to when cancelling. $el = $( '#editable-post-name' ); revert_e = $el.html(); buttons.html( '<button type="button" class="save button button-small">' + __( 'OK' ) + '</button> ' + '<button type="button" class="cancel button-link">' + __( 'Cancel' ) + '</button>' ); // Save permalink changes. buttons.children( '.save' ).on( 'click', function() { var new_slug = $el.children( 'input' ).val(); if ( new_slug == $('#editable-post-name-full').text() ) { buttons.children('.cancel').trigger( 'click' ); return; } $.post( ajaxurl, { action: 'sample-permalink', post_id: postId, new_slug: new_slug, new_title: $('#title').val(), samplepermalinknonce: $('#samplepermalinknonce').val() }, function(data) { var box = $('#edit-slug-box'); box.html(data); if (box.hasClass('hidden')) { box.fadeIn('fast', function () { box.removeClass('hidden'); }); } buttons.html(buttonsOrig); permalink.html(permalinkOrig); real_slug.val(new_slug); $( '.edit-slug' ).trigger( 'focus' ); wp.a11y.speak( __( 'Permalink saved' ) ); } ); }); // Cancel editing of permalink. buttons.children( '.cancel' ).on( 'click', function() { $('#view-post-btn').show(); $el.html(revert_e); buttons.html(buttonsOrig); permalink.html(permalinkOrig); real_slug.val(revert_slug); $( '.edit-slug' ).trigger( 'focus' ); }); // If more than 1/4th of 'full' is '%', make it empty. for ( i = 0; i < full.length; ++i ) { if ( '%' == full.charAt(i) ) c++; } slug_value = ( c > full.length / 4 ) ? '' : full; slug_label = __( 'URL Slug' ); $el.html( '<label for="new-post-slug" class="screen-reader-text">' + slug_label + '</label>' + '<input type="text" id="new-post-slug" value="' + slug_value + '" autocomplete="off" spellcheck="false" />' ).children( 'input' ).on( 'keydown', function( e ) { var key = e.which; // On [Enter], just save the new slug, don't save the post. if ( 13 === key ) { e.preventDefault(); buttons.children( '.save' ).trigger( 'click' ); } // On [Esc] cancel the editing. if ( 27 === key ) { buttons.children( '.cancel' ).trigger( 'click' ); } } ).on( 'keyup', function() { real_slug.val( this.value ); }).trigger( 'focus' ); } $( '#titlediv' ).on( 'click', '.edit-slug', function() { editPermalink(); }); /** * Adds screen reader text to the title label when needed. * * Use the 'screen-reader-text' class to emulate a placeholder attribute * and hide the label when entering a value. * * @param {string} id Optional. HTML ID to add the screen reader helper text to. * * @global * * @return {void} */ window.wptitlehint = function( id ) { id = id || 'title'; var title = $( '#' + id ), titleprompt = $( '#' + id + '-prompt-text' ); if ( '' === title.val() ) { titleprompt.removeClass( 'screen-reader-text' ); } title.on( 'input', function() { if ( '' === this.value ) { titleprompt.removeClass( 'screen-reader-text' ); return; } titleprompt.addClass( 'screen-reader-text' ); } ); }; wptitlehint(); // Resize the WYSIWYG and plain text editors. ( function() { var editor, offset, mce, $handle = $('#post-status-info'), $postdivrich = $('#postdivrich'); // If there are no textareas or we are on a touch device, we can't do anything. if ( ! $textarea.length || 'ontouchstart' in window ) { // Hide the resize handle. $('#content-resize-handle').hide(); return; } /** * Handle drag event. * * @param {Object} event Event containing details about the drag. */ function dragging( event ) { if ( $postdivrich.hasClass( 'wp-editor-expand' ) ) { return; } if ( mce ) { editor.theme.resizeTo( null, offset + event.pageY ); } else { $textarea.height( Math.max( 50, offset + event.pageY ) ); } event.preventDefault(); } /** * When the dragging stopped make sure we return focus and do a confidence check on the height. */ function endDrag() { var height, toolbarHeight; if ( $postdivrich.hasClass( 'wp-editor-expand' ) ) { return; } if ( mce ) { editor.focus(); toolbarHeight = parseInt( $( '#wp-content-editor-container .mce-toolbar-grp' ).height(), 10 ); if ( toolbarHeight < 10 || toolbarHeight > 200 ) { toolbarHeight = 30; } height = parseInt( $('#content_ifr').css('height'), 10 ) + toolbarHeight - 28; } else { $textarea.trigger( 'focus' ); height = parseInt( $textarea.css('height'), 10 ); } $document.off( '.wp-editor-resize' ); // Confidence check: normalize height to stay within acceptable ranges. if ( height && height > 50 && height < 5000 ) { setUserSetting( 'ed_size', height ); } } $handle.on( 'mousedown.wp-editor-resize', function( event ) { if ( typeof tinymce !== 'undefined' ) { editor = tinymce.get('content'); } if ( editor && ! editor.isHidden() ) { mce = true; offset = $('#content_ifr').height() - event.pageY; } else { mce = false; offset = $textarea.height() - event.pageY; $textarea.trigger( 'blur' ); } $document.on( 'mousemove.wp-editor-resize', dragging ) .on( 'mouseup.wp-editor-resize mouseleave.wp-editor-resize', endDrag ); event.preventDefault(); }).on( 'mouseup.wp-editor-resize', endDrag ); })(); // TinyMCE specific handling of Post Format changes to reflect in the editor. if ( typeof tinymce !== 'undefined' ) { // When changing post formats, change the editor body class. $( '#post-formats-select input.post-format' ).on( 'change.set-editor-class', function() { var editor, body, format = this.id; if ( format && $( this ).prop( 'checked' ) && ( editor = tinymce.get( 'content' ) ) ) { body = editor.getBody(); body.className = body.className.replace( /\bpost-format-[^ ]+/, '' ); editor.dom.addClass( body, format == 'post-format-0' ? 'post-format-standard' : format ); $( document ).trigger( 'editor-classchange' ); } }); // When changing page template, change the editor body class. $( '#page_template' ).on( 'change.set-editor-class', function() { var editor, body, pageTemplate = $( this ).val() || ''; pageTemplate = pageTemplate.substr( pageTemplate.lastIndexOf( '/' ) + 1, pageTemplate.length ) .replace( /\.php$/, '' ) .replace( /\./g, '-' ); if ( pageTemplate && ( editor = tinymce.get( 'content' ) ) ) { body = editor.getBody(); body.className = body.className.replace( /\bpage-template-[^ ]+/, '' ); editor.dom.addClass( body, 'page-template-' + pageTemplate ); $( document ).trigger( 'editor-classchange' ); } }); } // Save on pressing [Ctrl]/[Command] + [S] in the Text editor. $textarea.on( 'keydown.wp-autosave', function( event ) { // Key [S] has code 83. if ( event.which === 83 ) { if ( event.shiftKey || event.altKey || ( isMac && ( ! event.metaKey || event.ctrlKey ) ) || ( ! isMac && ! event.ctrlKey ) ) { return; } wp.autosave && wp.autosave.server.triggerSave(); event.preventDefault(); } }); // If the last status was auto-draft and the save is triggered, edit the current URL. if ( $( '#original_post_status' ).val() === 'auto-draft' && window.history.replaceState ) { var location; $( '#publish' ).on( 'click', function() { location = window.location.href; location += ( location.indexOf( '?' ) !== -1 ) ? '&' : '?'; location += 'wp-post-new-reload=true'; window.history.replaceState( null, null, location ); }); } /** * Copies the attachment URL in the Edit Media page to the clipboard. * * @since 5.5.0 * * @param {MouseEvent} event A click event. * * @return {void} */ copyAttachmentURLClipboard.on( 'success', function( event ) { var triggerElement = $( event.trigger ), successElement = $( '.success', triggerElement.closest( '.copy-to-clipboard-container' ) ); // Clear the selection and move focus back to the trigger. event.clearSelection(); // Show success visual feedback. clearTimeout( copyAttachmentURLSuccessTimeout ); successElement.removeClass( 'hidden' ); // Hide success visual feedback after 3 seconds since last success. copyAttachmentURLSuccessTimeout = setTimeout( function() { successElement.addClass( 'hidden' ); }, 3000 ); // Handle success audible feedback. wp.a11y.speak( __( 'The file URL has been copied to your clipboard' ) ); } ); } ); /** * TinyMCE word count display */ ( function( $, counter ) { $( function() { var $content = $( '#content' ), $count = $( '#wp-word-count' ).find( '.word-count' ), prevCount = 0, contentEditor; /** * Get the word count from TinyMCE and display it */ function update() { var text, count; if ( ! contentEditor || contentEditor.isHidden() ) { text = $content.val(); } else { text = contentEditor.getContent( { format: 'raw' } ); } count = counter.count( text ); if ( count !== prevCount ) { $count.text( count ); } prevCount = count; } /** * Bind the word count update triggers. * * When a node change in the main TinyMCE editor has been triggered. * When a key has been released in the plain text content editor. */ $( document ).on( 'tinymce-editor-init', function( event, editor ) { if ( editor.id !== 'content' ) { return; } contentEditor = editor; editor.on( 'nodechange keyup', _.debounce( update, 1000 ) ); } ); $content.on( 'input keyup', _.debounce( update, 1000 ) ); update(); } ); } )( jQuery, new wp.utils.WordCounter() ); accordion.min.js 0000644 00000001366 15174671433 0007646 0 ustar 00 /*! This file is auto-generated */ !function(s){s(function(){s(".accordion-container").on("click",".accordion-section-title button",function(){var n,o,e,a,t,i;n=s(this),o=n.closest(".accordion-section"),e=o.closest(".accordion-container"),a=e.find(".open"),t=a.find("[aria-expanded]").first(),i=o.find(".accordion-section-content"),o.hasClass("cannot-expand")||(e.addClass("opening"),o.hasClass("open")?(o.toggleClass("open"),i.toggle(!0).slideToggle(150)):(t.attr("aria-expanded","false"),a.removeClass("open"),a.find(".accordion-section-content").show().slideUp(150),i.toggle(!1).slideToggle(150),o.toggleClass("open")),setTimeout(function(){e.removeClass("opening")},150),n&&n.attr("aria-expanded",String("false"===n.attr("aria-expanded"))))})})}(jQuery); auth-app.min.js 0000644 00000004044 15174671433 0007420 0 ustar 00 /*! This file is auto-generated */ !function(t,s){var p=t("#app_name"),r=t("#approve"),e=t("#reject"),n=p.closest("form"),i={userLogin:s.user_login,successUrl:s.success,rejectUrl:s.reject};r.on("click",function(e){var a=p.val(),o=t('input[name="app_id"]',n).val();e.preventDefault(),r.prop("aria-disabled")||(0===a.length?p.trigger("focus"):(r.prop("aria-disabled",!0).addClass("disabled"),e={name:a},0<o.length&&(e.app_id=o),e=wp.hooks.applyFilters("wp_application_passwords_approve_app_request",e,i),wp.apiRequest({path:"/wp/v2/users/me/application-passwords?_locale=user",method:"POST",data:e}).done(function(e,a,o){wp.hooks.doAction("wp_application_passwords_approve_app_request_success",e,a,o);var a=s.success;a?(o=a+(-1===a.indexOf("?")?"?":"&")+"site_url="+encodeURIComponent(s.site_url)+"&user_login="+encodeURIComponent(s.user_login)+"&password="+encodeURIComponent(e.password),window.location=o):(a=wp.i18n.sprintf('<label for="new-application-password-value">'+wp.i18n.__("Your new password for %s is:")+"</label>","<strong></strong>")+' <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="" />',o=t("<div></div>").attr("role","alert").attr("tabindex",-1).addClass("notice notice-success notice-alt").append(t("<p></p>").addClass("application-password-display").html(a)).append("<p>"+wp.i18n.__("Be sure to save this in a safe location. You will not be able to retrieve it.")+"</p>"),t("strong",o).text(e.name),t("input",o).val(e.password),n.replaceWith(o),o.trigger("focus"))}).fail(function(e,a,o){var s=o,p=null,s=(e.responseJSON&&(p=e.responseJSON).message&&(s=p.message),t("<div></div>").attr("role","alert").addClass("notice notice-error").append(t("<p></p>").text(s)));t("h1").after(s),r.removeProp("aria-disabled",!1).removeClass("disabled"),wp.hooks.doAction("wp_application_passwords_approve_app_request_error",p,a,o,e)})))}),e.on("click",function(e){e.preventDefault(),wp.hooks.doAction("wp_application_passwords_reject_app",i),window.location=s.reject}),n.on("submit",function(e){e.preventDefault()})}(jQuery,authApp); iris.min.js 0000644 00000056133 15174671433 0006655 0 ustar 00 /*! This file is auto-generated */ /*! Iris Color Picker - v1.1.1 - 2021-10-05 * https://github.com/Automattic/Iris * Copyright (c) 2021 Matt Wiebe; Licensed GPLv2 */ !function(a,b){function c(){var b,c,d="backgroundImage";j?k="filter":(b=a('<div id="iris-gradtest" />'),c="linear-gradient(top,#fff,#000)",a.each(l,function(a,e){if(b.css(d,e+c),b.css(d).match("gradient"))return k=a,!1}),!1===k&&(b.css("background","-webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#000))"),b.css(d).match("gradient")&&(k="webkit")),b.remove())}function d(a,b){return a="top"===a?"top":"left",b=Array.isArray(b)?b:Array.prototype.slice.call(arguments,1),"webkit"===k?f(a,b):l[k]+"linear-gradient("+a+", "+b.join(", ")+")"}function e(b,c){var d,e,f,h,i,j,k,l,m;b="top"===b?"top":"left",c=Array.isArray(c)?c:Array.prototype.slice.call(arguments,1),d="top"===b?0:1,e=a(this),f=c.length-1,h="filter",i=1===d?"left":"top",j=1===d?"right":"bottom",k=1===d?"height":"width",l='<div class="iris-ie-gradient-shim" style="position:absolute;'+k+":100%;"+i+":%start%;"+j+":%end%;"+h+':%filter%;" data-color:"%color%"></div>',m="","static"===e.css("position")&&e.css({position:"relative"}),c=g(c),a.each(c,function(a,b){var e,g,h;if(a===f)return!1;e=c[a+1],b.stop!==e.stop&&(g=100-parseFloat(e.stop)+"%",b.octoHex=new Color(b.color).toIEOctoHex(),e.octoHex=new Color(e.color).toIEOctoHex(),h="progid:DXImageTransform.Microsoft.Gradient(GradientType="+d+", StartColorStr='"+b.octoHex+"', EndColorStr='"+e.octoHex+"')",m+=l.replace("%start%",b.stop).replace("%end%",g).replace("%filter%",h))}),e.find(".iris-ie-gradient-shim").remove(),a(m).prependTo(e)}function f(b,c){var d=[];return b="top"===b?"0% 0%,0% 100%,":"0% 100%,100% 100%,",c=g(c),a.each(c,function(a,b){d.push("color-stop("+parseFloat(b.stop)/100+", "+b.color+")")}),"-webkit-gradient(linear,"+b+d.join(",")+")"}function g(b){var c=[],d=[],e=[],f=b.length-1;return a.each(b,function(a,b){var e=b,f=!1,g=b.match(/1?[0-9]{1,2}%$/);g&&(e=b.replace(/\s?1?[0-9]{1,2}%$/,""),f=g.shift()),c.push(e),d.push(f)}),!1===d[0]&&(d[0]="0%"),!1===d[f]&&(d[f]="100%"),d=h(d),a.each(d,function(a){e[a]={color:c[a],stop:d[a]}}),e}function h(b){var c,d,e,f,g=0,i=b.length-1,j=0,k=!1;if(b.length<=2||a.inArray(!1,b)<0)return b;for(;j<b.length-1;)k||!1!==b[j]?k&&!1!==b[j]&&(i=j,j=b.length):(g=j-1,k=!0),j++;for(d=i-g,f=parseInt(b[g].replace("%"),10),c=(parseFloat(b[i].replace("%"))-f)/d,j=g+1,e=1;j<i;)b[j]=f+e*c+"%",e++,j++;return h(b)}var i,j,k,l,m,n,o,p,q;if(i='<div class="iris-picker"><div class="iris-picker-inner"><div class="iris-square"><a class="iris-square-value" href="#"><span class="iris-square-handle ui-slider-handle"></span></a><div class="iris-square-inner iris-square-horiz"></div><div class="iris-square-inner iris-square-vert"></div></div><div class="iris-slider iris-strip"><div class="iris-slider-offset"></div></div></div></div>',m='.iris-picker{display:block;position:relative}.iris-picker,.iris-picker *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input+.iris-picker{margin-top:4px}.iris-error{background-color:#ffafaf}.iris-border{border-radius:3px;border:1px solid #aaa;width:200px;background-color:#fff}.iris-picker-inner{position:absolute;top:0;right:0;left:0;bottom:0}.iris-border .iris-picker-inner{top:10px;right:10px;left:10px;bottom:10px}.iris-picker .iris-square-inner{position:absolute;left:0;right:0;top:0;bottom:0}.iris-picker .iris-square,.iris-picker .iris-slider,.iris-picker .iris-square-inner,.iris-picker .iris-palette{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.4);height:100%;width:12.5%;float:left;margin-right:5%}.iris-only-strip .iris-slider{width:100%}.iris-picker .iris-square{width:76%;margin-right:10%;position:relative}.iris-only-strip .iris-square{display:none}.iris-picker .iris-square-inner{width:auto;margin:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-square-inner,.iris-ie-9 .iris-palette{box-shadow:none;border-radius:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-palette{outline:1px solid rgba(0,0,0,.1)}.iris-ie-lt9 .iris-square,.iris-ie-lt9 .iris-slider,.iris-ie-lt9 .iris-square-inner,.iris-ie-lt9 .iris-palette{outline:1px solid #aaa}.iris-ie-lt9 .iris-square .ui-slider-handle{outline:1px solid #aaa;background-color:#fff;-ms-filter:"alpha(Opacity=30)"}.iris-ie-lt9 .iris-square .iris-square-handle{background:0 0;border:3px solid #fff;-ms-filter:"alpha(Opacity=50)"}.iris-picker .iris-strip{margin-right:0;position:relative}.iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0 0;margin:0;right:-3px;left:-3px;border:4px solid #aaa;border-width:4px 3px;width:auto;height:6px;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.iris-strip-horiz .iris-strip .ui-slider-handle{right:auto;left:auto;bottom:-3px;top:-3px;height:auto;width:6px;cursor:ew-resize}.iris-strip .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.iris-picker .iris-slider-offset{position:absolute;top:11px;left:0;right:0;bottom:-3px;width:auto;height:auto;background:transparent;border:0;border-radius:0}.iris-strip-horiz .iris-slider-offset{top:0;bottom:0;right:11px;left:-3px}.iris-picker .iris-square-handle{background:transparent;border:5px solid #aaa;border-radius:50%;border-color:rgba(128,128,128,.5);box-shadow:none;width:12px;height:12px;position:absolute;left:-10px;top:-10px;cursor:move;opacity:1;z-index:10}.iris-picker .ui-state-focus .iris-square-handle{opacity:.8}.iris-picker .iris-square-handle:hover{border-color:#999}.iris-picker .iris-square-value:focus .iris-square-handle{box-shadow:0 0 2px rgba(0,0,0,.75);opacity:.8}.iris-picker .iris-square-handle:hover::after{border-color:#fff}.iris-picker .iris-square-handle::after{position:absolute;bottom:-4px;right:-4px;left:-4px;top:-4px;border:3px solid #f9f9f9;border-color:rgba(255,255,255,.8);border-radius:50%;content:" "}.iris-picker .iris-square-value{width:8px;height:8px;position:absolute}.iris-ie-lt9 .iris-square-value,.iris-mozilla .iris-square-value{width:1px;height:1px}.iris-palette-container{position:absolute;bottom:0;left:0;margin:0;padding:0}.iris-border .iris-palette-container{left:10px;bottom:10px}.iris-picker .iris-palette{margin:0;cursor:pointer}.iris-square-handle,.ui-slider-handle{border:0;outline:0}',o=navigator.userAgent.toLowerCase(),p="Microsoft Internet Explorer"===navigator.appName,q=p?parseFloat(o.match(/msie ([0-9]{1,}[\.0-9]{0,})/)[1]):0,j=p&&q<10,k=!1,l=["-moz-","-webkit-","-o-","-ms-"],j&&q<=7)return a.fn.iris=a.noop,void(a.support.iris=!1);a.support.iris=!0,a.fn.gradient=function(){var b=arguments;return this.each(function(){j?e.apply(this,b):a(this).css("backgroundImage",d.apply(this,b))})},a.fn.rainbowGradient=function(b,c){var d,e,f,g;for(b=b||"top",d=a.extend({},{s:100,l:50},c),e="hsl(%h%,"+d.s+"%,"+d.l+"%)",f=0,g=[];f<=360;)g.push(e.replace("%h%",f)),f+=30;return this.each(function(){a(this).gradient(b,g)})},n={options:{color:!1,mode:"hsl",controls:{horiz:"s",vert:"l",strip:"h"},hide:!0,border:!0,target:!1,width:200,palettes:!1,type:"full",slider:"horizontal"},_color:"",_palettes:["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"],_inited:!1,_defaultHSLControls:{horiz:"s",vert:"l",strip:"h"},_defaultHSVControls:{horiz:"h",vert:"v",strip:"s"},_scale:{h:360,s:100,l:100,v:100},_create:function(){var b=this,d=b.element,e=b.options.color||d.val();!1===k&&c(),d.is("input")?(b.options.target?b.picker=a(i).appendTo(b.options.target):b.picker=a(i).insertAfter(d),b._addInputListeners(d)):(d.append(i),b.picker=d.find(".iris-picker")),p?9===q?b.picker.addClass("iris-ie-9"):q<=8&&b.picker.addClass("iris-ie-lt9"):o.indexOf("compatible")<0&&o.indexOf("khtml")<0&&o.match(/mozilla/)&&b.picker.addClass("iris-mozilla"),b.options.palettes&&b._addPalettes(),b.onlySlider="hue"===b.options.type,b.horizontalSlider=b.onlySlider&&"horizontal"===b.options.slider,b.onlySlider&&(b.options.controls.strip="h",e||(e="hsl(10,100,50)")),b._color=new Color(e).setHSpace(b.options.mode),b.options.color=b._color.toString(),b.controls={square:b.picker.find(".iris-square"),squareDrag:b.picker.find(".iris-square-value"),horiz:b.picker.find(".iris-square-horiz"),vert:b.picker.find(".iris-square-vert"),strip:b.picker.find(".iris-strip"),stripSlider:b.picker.find(".iris-strip .iris-slider-offset")},"hsv"===b.options.mode&&b._has("l",b.options.controls)?b.options.controls=b._defaultHSVControls:"hsl"===b.options.mode&&b._has("v",b.options.controls)&&(b.options.controls=b._defaultHSLControls),b.hue=b._color.h(),b.options.hide&&b.picker.hide(),b.options.border&&!b.onlySlider&&b.picker.addClass("iris-border"),b._initControls(),b.active="external",b._dimensions(),b._change()},_has:function(b,c){var d=!1;return a.each(c,function(a,c){if(b===c)return d=!0,!1}),d},_addPalettes:function(){var b=a('<div class="iris-palette-container" />'),c=a('<a class="iris-palette" tabindex="0" />'),d=Array.isArray(this.options.palettes)?this.options.palettes:this._palettes;this.picker.find(".iris-palette-container").length&&(b=this.picker.find(".iris-palette-container").detach().html("")),a.each(d,function(a,d){c.clone().data("color",d).css("backgroundColor",d).appendTo(b).height(10).width(10)}),this.picker.append(b)},_paint:function(){var a=this;a.horizontalSlider?a._paintDimension("left","strip"):a._paintDimension("top","strip"),a._paintDimension("top","vert"),a._paintDimension("left","horiz")},_paintDimension:function(a,b){var c,d=this,e=d._color,f=d.options.mode,g=d._getHSpaceColor(),h=d.controls[b],i=d.options.controls;if(b!==d.active&&("square"!==d.active||"strip"===b))switch(i[b]){case"h":if("hsv"===f){switch(g=e.clone(),b){case"horiz":g[i.vert](100);break;case"vert":g[i.horiz](100);break;case"strip":g.setHSpace("hsl")}c=g.toHsl()}else c="strip"===b?{s:g.s,l:g.l}:{s:100,l:g.l};h.rainbowGradient(a,c);break;case"s":"hsv"===f?"vert"===b?c=[e.clone().a(0).s(0).toCSS("rgba"),e.clone().a(1).s(0).toCSS("rgba")]:"strip"===b?c=[e.clone().s(100).toCSS("hsl"),e.clone().s(0).toCSS("hsl")]:"horiz"===b&&(c=["#fff","hsl("+g.h+",100%,50%)"]):c="vert"===b&&"h"===d.options.controls.horiz?["hsla(0, 0%, "+g.l+"%, 0)","hsla(0, 0%, "+g.l+"%, 1)"]:["hsl("+g.h+",0%,50%)","hsl("+g.h+",100%,50%)"],h.gradient(a,c);break;case"l":c="strip"===b?["hsl("+g.h+",100%,100%)","hsl("+g.h+", "+g.s+"%,50%)","hsl("+g.h+",100%,0%)"]:["#fff","rgba(255,255,255,0) 50%","rgba(0,0,0,0) 50%","rgba(0,0,0,1)"],h.gradient(a,c);break;case"v":c="strip"===b?[e.clone().v(100).toCSS(),e.clone().v(0).toCSS()]:["rgba(0,0,0,0)","#000"],h.gradient(a,c)}},_getHSpaceColor:function(){return"hsv"===this.options.mode?this._color.toHsv():this._color.toHsl()},_stripOnlyDimensions:function(){var a=this,b=this.options.width,c=.12*b;a.horizontalSlider?a.picker.css({width:b,height:c}).addClass("iris-only-strip iris-strip-horiz"):a.picker.css({width:c,height:b}).addClass("iris-only-strip iris-strip-vert")},_dimensions:function(b){if("hue"===this.options.type)return this._stripOnlyDimensions();var c,d,e,f,g=this,h=g.options,i=g.controls,j=i.square,k=g.picker.find(".iris-strip"),l="77.5%",m="12%",n=20,o=h.border?h.width-n:h.width,p=Array.isArray(h.palettes)?h.palettes.length:g._palettes.length;if(b&&(j.css("width",""),k.css("width",""),g.picker.css({width:"",height:""})),l=o*(parseFloat(l)/100),m=o*(parseFloat(m)/100),c=h.border?l+n:l,j.width(l).height(l),k.height(l).width(m),g.picker.css({width:h.width,height:c}),!h.palettes)return g.picker.css("paddingBottom","");d=2*l/100,f=l-(p-1)*d,e=f/p,g.picker.find(".iris-palette").each(function(b){var c=0===b?0:d;a(this).css({width:e,height:e,marginLeft:c})}),g.picker.css("paddingBottom",e+d),k.height(e+d+l)},_addInputListeners:function(a){var b=this,c=function(c){var d=new Color(a.val()),e=a.val().replace(/^#/,"");a.removeClass("iris-error"),d.error?""!==e&&a.addClass("iris-error"):d.toString()!==b._color.toString()&&("keyup"===c.type&&e.match(/^[0-9a-fA-F]{3}$/)||b._setOption("color",d.toString()))};a.on("change",c).on("keyup",b._debounce(c,100)),b.options.hide&&a.one("focus",function(){b.show()})},_initControls:function(){var b=this,c=b.controls,d=c.square,e=b.options.controls,f=b._scale[e.strip],g=b.horizontalSlider?"horizontal":"vertical";c.stripSlider.slider({orientation:g,max:f,slide:function(a,c){b.active="strip","h"===e.strip&&"vertical"===g&&(c.value=f-c.value),b._color[e.strip](c.value),b._change.apply(b,arguments)}}),c.squareDrag.draggable({containment:c.square.find(".iris-square-inner"),zIndex:1e3,cursor:"move",drag:function(a,c){b._squareDrag(a,c)},start:function(){d.addClass("iris-dragging"),a(this).addClass("ui-state-focus")},stop:function(){d.removeClass("iris-dragging"),a(this).removeClass("ui-state-focus")}}).on("mousedown mouseup",function(c){var d="ui-state-focus";c.preventDefault(),"mousedown"===c.type?(b.picker.find("."+d).removeClass(d).trigger("blur"),a(this).addClass(d).trigger("focus")):a(this).removeClass(d)}).on("keydown",function(a){var d=c.square,e=c.squareDrag,f=e.position(),g=b.options.width/100;switch(a.altKey&&(g*=10),a.keyCode){case 37:f.left-=g;break;case 38:f.top-=g;break;case 39:f.left+=g;break;case 40:f.top+=g;break;default:return!0}f.left=Math.max(0,Math.min(f.left,d.width())),f.top=Math.max(0,Math.min(f.top,d.height())),e.css(f),b._squareDrag(a,{position:f}),a.preventDefault()}),d.on("mousedown",function(c){var d,e;1===c.which&&a(c.target).is("div")&&(d=b.controls.square.offset(),e={top:c.pageY-d.top,left:c.pageX-d.left},c.preventDefault(),b._squareDrag(c,{position:e}),c.target=b.controls.squareDrag.get(0),b.controls.squareDrag.css(e).trigger(c))}),b.options.palettes&&b._paletteListeners()},_paletteListeners:function(){var b=this;b.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){b._color.fromCSS(a(this).data("color")),b.active="external",b._change()}).on("keydown.palette",".iris-palette",function(b){if(13!==b.keyCode&&32!==b.keyCode)return!0;b.stopPropagation(),a(this).trigger("click")})},_squareDrag:function(a,b){var c=this,d=c.options.controls,e=c._squareDimensions(),f=Math.round((e.h-b.position.top)/e.h*c._scale[d.vert]),g=c._scale[d.horiz]-Math.round((e.w-b.position.left)/e.w*c._scale[d.horiz]);c._color[d.horiz](g)[d.vert](f),c.active="square",c._change.apply(c,arguments)},_setOption:function(b,c){var d,e,f=this,g=f.options[b],h=!1;switch(f.options[b]=c,b){case"color":f.onlySlider?(c=parseInt(c,10),c=isNaN(c)||c<0||c>359?g:"hsl("+c+",100,50)",f.options.color=f.options[b]=c,f._color=new Color(c).setHSpace(f.options.mode),f.active="external",f._change()):(c=""+c,c.replace(/^#/,""),d=new Color(c).setHSpace(f.options.mode),d.error?f.options[b]=g:(f._color=d,f.options.color=f.options[b]=f._color.toString(),f.active="external",f._change()));break;case"palettes":h=!0,c?f._addPalettes():f.picker.find(".iris-palette-container").remove(),g||f._paletteListeners();break;case"width":h=!0;break;case"border":h=!0,e=c?"addClass":"removeClass",f.picker[e]("iris-border");break;case"mode":case"controls":if(g===c)return;return e=f.element,g=f.options,g.hide=!f.picker.is(":visible"),f.destroy(),f.picker.remove(),a(f.element).iris(g)}h&&f._dimensions(!0)},_squareDimensions:function(a){var c,d=this.controls.square;return a!==b&&d.data("dimensions")?d.data("dimensions"):(this.controls.squareDrag,c={w:d.width(),h:d.height()},d.data("dimensions",c),c)},_isNonHueControl:function(a,b){return"square"===a&&"h"===this.options.controls.strip||"external"!==b&&("h"!==b||"strip"!==a)},_change:function(){var b=this,c=b.controls,d=b._getHSpaceColor(),e=["square","strip"],f=b.options.controls,g=f[b.active]||"external",h=b.hue;"strip"===b.active?e=[]:"external"!==b.active&&e.pop(),a.each(e,function(a,e){var g,h,i;if(e!==b.active)switch(e){case"strip":g="h"!==f.strip||b.horizontalSlider?d[f.strip]:b._scale[f.strip]-d[f.strip],c.stripSlider.slider("value",g);break;case"square":h=b._squareDimensions(),i={left:d[f.horiz]/b._scale[f.horiz]*h.w,top:h.h-d[f.vert]/b._scale[f.vert]*h.h},b.controls.squareDrag.css(i)}}),d.h!==h&&b._isNonHueControl(b.active,g)&&b._color.h(h),b.hue=b._color.h(),b.options.color=b._color.toString(),b._inited&&b._trigger("change",{type:b.active},{color:b._color}),b.element.is(":input")&&!b._color.error&&(b.element.removeClass("iris-error"),b.onlySlider?b.element.val()!==b.hue&&b.element.val(b.hue):b.element.val()!==b._color.toString()&&b.element.val(b._color.toString())),b._paint(),b._inited=!0,b.active=!1},_debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},show:function(){this.picker.show()},hide:function(){this.picker.hide()},toggle:function(){this.picker.toggle()},color:function(a){return!0===a?this._color.clone():a===b?this._color.toString():void this.option("color",a)}},a.widget("a8c.iris",n),a('<style id="iris-css">'+m+"</style>").appendTo("head")}(jQuery),function(a,b){var c=function(a,b){return this instanceof c?this._init(a,b):new c(a,b)};c.fn=c.prototype={_color:0,_alpha:1,error:!1,_hsl:{h:0,s:0,l:0},_hsv:{h:0,s:0,v:0},_hSpace:"hsl",_init:function(a){var c="noop";switch(typeof a){case"object":return a.a!==b&&this.a(a.a),c=a.r!==b?"fromRgb":a.l!==b?"fromHsl":a.v!==b?"fromHsv":c,this[c](a);case"string":return this.fromCSS(a);case"number":return this.fromInt(parseInt(a,10))}return this},_error:function(){return this.error=!0,this},clone:function(){for(var a=new c(this.toInt()),b=["_alpha","_hSpace","_hsl","_hsv","error"],d=b.length-1;d>=0;d--)a[b[d]]=this[b[d]];return a},setHSpace:function(a){return this._hSpace="hsv"===a?a:"hsl",this},noop:function(){return this},fromCSS:function(a){var b,c=/^(rgb|hs(l|v))a?\(/;if(this.error=!1,a=a.replace(/^\s+/,"").replace(/\s+$/,"").replace(/;$/,""),a.match(c)&&a.match(/\)$/)){if(b=a.replace(/(\s|%)/g,"").replace(c,"").replace(/,?\);?$/,"").split(","),b.length<3)return this._error();if(4===b.length&&(this.a(parseFloat(b.pop())),this.error))return this;for(var d=b.length-1;d>=0;d--)if(b[d]=parseInt(b[d],10),isNaN(b[d]))return this._error();return a.match(/^rgb/)?this.fromRgb({r:b[0],g:b[1],b:b[2]}):a.match(/^hsv/)?this.fromHsv({h:b[0],s:b[1],v:b[2]}):this.fromHsl({h:b[0],s:b[1],l:b[2]})}return this.fromHex(a)},fromRgb:function(a,c){return"object"!=typeof a||a.r===b||a.g===b||a.b===b?this._error():(this.error=!1,this.fromInt(parseInt((a.r<<16)+(a.g<<8)+a.b,10),c))},fromHex:function(a){return a=a.replace(/^#/,"").replace(/^0x/,""),3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),this.error=!/^[0-9A-F]{6}$/i.test(a),this.fromInt(parseInt(a,16))},fromHsl:function(a){var c,d,e,f,g,h,i,j;return"object"!=typeof a||a.h===b||a.s===b||a.l===b?this._error():(this._hsl=a,this._hSpace="hsl",h=a.h/360,i=a.s/100,j=a.l/100,0===i?c=d=e=j:(f=j<.5?j*(1+i):j+i-j*i,g=2*j-f,c=this.hue2rgb(g,f,h+1/3),d=this.hue2rgb(g,f,h),e=this.hue2rgb(g,f,h-1/3)),this.fromRgb({r:255*c,g:255*d,b:255*e},!0))},fromHsv:function(a){var c,d,e,f,g,h,i,j,k,l,m;if("object"!=typeof a||a.h===b||a.s===b||a.v===b)return this._error();switch(this._hsv=a,this._hSpace="hsv",c=a.h/360,d=a.s/100,e=a.v/100,i=Math.floor(6*c),j=6*c-i,k=e*(1-d),l=e*(1-j*d),m=e*(1-(1-j)*d),i%6){case 0:f=e,g=m,h=k;break;case 1:f=l,g=e,h=k;break;case 2:f=k,g=e,h=m;break;case 3:f=k,g=l,h=e;break;case 4:f=m,g=k,h=e;break;case 5:f=e,g=k,h=l}return this.fromRgb({r:255*f,g:255*g,b:255*h},!0)},fromInt:function(a,c){return this._color=parseInt(a,10),isNaN(this._color)&&(this._color=0),this._color>16777215?this._color=16777215:this._color<0&&(this._color=0),c===b&&(this._hsv.h=this._hsv.s=this._hsl.h=this._hsl.s=0),this},hue2rgb:function(a,b,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},toString:function(){var a=parseInt(this._color,10).toString(16);if(this.error)return"";if(a.length<6)for(var b=6-a.length-1;b>=0;b--)a="0"+a;return"#"+a},toCSS:function(a,b){switch(a=a||"hex",b=parseFloat(b||this._alpha),a){case"rgb":case"rgba":var c=this.toRgb();return b<1?"rgba( "+c.r+", "+c.g+", "+c.b+", "+b+" )":"rgb( "+c.r+", "+c.g+", "+c.b+" )";case"hsl":case"hsla":var d=this.toHsl();return b<1?"hsla( "+d.h+", "+d.s+"%, "+d.l+"%, "+b+" )":"hsl( "+d.h+", "+d.s+"%, "+d.l+"% )";default:return this.toString()}},toRgb:function(){return{r:255&this._color>>16,g:255&this._color>>8,b:255&this._color}},toHsl:function(){var a,b,c=this.toRgb(),d=c.r/255,e=c.g/255,f=c.b/255,g=Math.max(d,e,f),h=Math.min(d,e,f),i=(g+h)/2;if(g===h)a=b=0;else{var j=g-h;switch(b=i>.5?j/(2-g-h):j/(g+h),g){case d:a=(e-f)/j+(e<f?6:0);break;case e:a=(f-d)/j+2;break;case f:a=(d-e)/j+4}a/=6}return a=Math.round(360*a),0===a&&this._hsl.h!==a&&(a=this._hsl.h),b=Math.round(100*b),0===b&&this._hsl.s&&(b=this._hsl.s),{h:a,s:b,l:Math.round(100*i)}},toHsv:function(){var a,b,c=this.toRgb(),d=c.r/255,e=c.g/255,f=c.b/255,g=Math.max(d,e,f),h=Math.min(d,e,f),i=g,j=g-h;if(b=0===g?0:j/g,g===h)a=b=0;else{switch(g){case d:a=(e-f)/j+(e<f?6:0);break;case e:a=(f-d)/j+2;break;case f:a=(d-e)/j+4}a/=6}return a=Math.round(360*a),0===a&&this._hsv.h!==a&&(a=this._hsv.h),b=Math.round(100*b),0===b&&this._hsv.s&&(b=this._hsv.s),{h:a,s:b,v:Math.round(100*i)}},toInt:function(){return this._color},toIEOctoHex:function(){var a=this.toString(),b=parseInt(255*this._alpha,10).toString(16);return 1===b.length&&(b="0"+b),"#"+b+a.replace(/^#/,"")},toLuminosity:function(){var a=this.toRgb(),b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c]/255;b[c]=d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}return.2126*b.r+.7152*b.g+.0722*b.b},getDistanceLuminosityFrom:function(a){if(!(a instanceof c))throw"getDistanceLuminosityFrom requires a Color object";var b=this.toLuminosity(),d=a.toLuminosity();return b>d?(b+.05)/(d+.05):(d+.05)/(b+.05)},getMaxContrastColor:function(){var a=this.getDistanceLuminosityFrom(new c("#000")),b=this.getDistanceLuminosityFrom(new c("#fff"));return new c(a>=b?"#000":"#fff")},getReadableContrastingColor:function(a,d){if(!(a instanceof c))return this;var e,f,g=d===b?5:d,h=a.getDistanceLuminosityFrom(this);if(h>=g)return this;if(e=a.getMaxContrastColor(),e.getDistanceLuminosityFrom(a)<=g)return e;for(f=0===e.toInt()?-1:1;h<g&&(this.l(f,!0),h=this.getDistanceLuminosityFrom(a),0!==this._color&&16777215!==this._color););return this},a:function(a){if(a===b)return this._alpha;var c=parseFloat(a);return isNaN(c)?this._error():(this._alpha=c,this)},darken:function(a){return a=a||5,this.l(-a,!0)},lighten:function(a){return a=a||5,this.l(a,!0)},saturate:function(a){return a=a||15,this.s(a,!0)},desaturate:function(a){return a=a||15,this.s(-a,!0)},toGrayscale:function(){return this.setHSpace("hsl").s(0)},getComplement:function(){return this.h(180,!0)},getSplitComplement:function(a){a=a||1;var b=180+30*a;return this.h(b,!0)},getAnalog:function(a){a=a||1;var b=30*a;return this.h(b,!0)},getTetrad:function(a){a=a||1;var b=60*a;return this.h(b,!0)},getTriad:function(a){a=a||1;var b=120*a;return this.h(b,!0)},_partial:function(a){var c=d[a];return function(d,e){var f=this._spaceFunc("to",c.space);return d===b?f[a]:(!0===e&&(d=f[a]+d),c.mod&&(d%=c.mod),c.range&&(d=d<c.range[0]?c.range[0]:d>c.range[1]?c.range[1]:d),f[a]=d,this._spaceFunc("from",c.space,f))}},_spaceFunc:function(a,b,c){var d=b||this._hSpace;return this[a+d.charAt(0).toUpperCase()+d.substr(1)](c)}};var d={h:{mod:360},s:{range:[0,100]},l:{space:"hsl",range:[0,100]},v:{space:"hsv",range:[0,100]},r:{space:"rgb",range:[0,255]},g:{space:"rgb",range:[0,255]},b:{space:"rgb",range:[0,255]}};for(var e in d)d.hasOwnProperty(e)&&(c.fn[e]=c.fn._partial(e));"object"==typeof exports?module.exports=c:a.Color=c}(this); set-post-thumbnail.js 0000644 00000001554 15174671433 0010661 0 ustar 00 /** * @output wp-admin/js/set-post-thumbnail.js */ /* global ajaxurl, post_id, alert */ /* exported WPSetAsThumbnail */ window.WPSetAsThumbnail = function( id, nonce ) { var $link = jQuery('a#wp-post-thumbnail-' + id); $link.text( wp.i18n.__( 'Saving…' ) ); jQuery.post(ajaxurl, { action: 'set-post-thumbnail', post_id: post_id, thumbnail_id: id, _ajax_nonce: nonce, cookie: encodeURIComponent( document.cookie ) }, function(str){ var win = window.dialogArguments || opener || parent || top; $link.text( wp.i18n.__( 'Use as featured image' ) ); if ( str == '0' ) { alert( wp.i18n.__( 'Could not set that as the thumbnail image. Try a different attachment.' ) ); } else { jQuery('a.wp-post-thumbnail').show(); $link.text( wp.i18n.__( 'Done' ) ); $link.fadeOut( 2000 ); win.WPSetThumbnailID(id); win.WPSetThumbnailHTML(str); } } ); }; customize-widgets.min.js 0000644 00000066641 15174671433 0011402 0 ustar 00 /*! This file is auto-generated */ !function(u,h){var p,f;function c(e){var t={number:null,id_base:null},i=e.match(/^(.+)-(\d+)$/);return i?(t.id_base=i[1],t.number=parseInt(i[2],10)):t.id_base=e,t}u&&u.customize&&((p=u.customize).Widgets=p.Widgets||{},p.Widgets.savedWidgetIds={},p.Widgets.data=_wpCustomizeWidgetsSettings||{},f=p.Widgets.data.l10n,p.Widgets.WidgetModel=Backbone.Model.extend({id:null,temp_id:null,classname:null,control_tpl:null,description:null,is_disabled:null,is_multi:null,multi_number:null,name:null,id_base:null,transport:null,params:[],width:null,height:null,search_matched:!0}),p.Widgets.WidgetCollection=Backbone.Collection.extend({model:p.Widgets.WidgetModel,doSearch:function(e){this.terms!==e&&(this.terms=e,0<this.terms.length&&this.search(this.terms),""===this.terms)&&this.each(function(e){e.set("search_matched",!0)})},search:function(e){var t,i;e=(e=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/ /g,")(?=.*"),t=new RegExp("^(?=.*"+e+").+","i"),this.each(function(e){i=[e.get("name"),e.get("description")].join(" "),e.set("search_matched",t.test(i))})}}),p.Widgets.availableWidgets=new p.Widgets.WidgetCollection(p.Widgets.data.availableWidgets),p.Widgets.SidebarModel=Backbone.Model.extend({after_title:null,after_widget:null,before_title:null,before_widget:null,class:null,description:null,id:null,name:null,is_rendered:!1}),p.Widgets.SidebarCollection=Backbone.Collection.extend({model:p.Widgets.SidebarModel}),p.Widgets.registeredSidebars=new p.Widgets.SidebarCollection(p.Widgets.data.registeredSidebars),p.Widgets.AvailableWidgetsPanelView=u.Backbone.View.extend({el:"#available-widgets",events:{"input #widgets-search":"search","focus .widget-tpl":"focus","click .widget-tpl":"_submit","keypress .widget-tpl":"_submit",keydown:"keyboardAccessible"},selected:null,currentSidebarControl:null,$search:null,$clearResults:null,searchMatchesCount:null,initialize:function(){var t=this;this.$search=h("#widgets-search"),this.$clearResults=this.$el.find(".clear-results"),_.bindAll(this,"close"),this.listenTo(this.collection,"change",this.updateList),this.updateList(),this.searchMatchesCount=this.collection.length,h("#customize-controls, #available-widgets .customize-section-title").on("click keydown",function(e){e=h(e.target).is(".add-new-widget, .add-new-widget *");h("body").hasClass("adding-widget")&&!e&&t.close()}),this.$clearResults.on("click",function(){t.$search.val("").trigger("focus").trigger("input")}),p.previewer.bind("url",this.close)},search:_.debounce(function(e){var t;this.collection.doSearch(e.target.value),this.updateSearchMatchesCount(),this.announceSearchMatches(),this.selected&&!this.selected.is(":visible")&&(this.selected.removeClass("selected"),this.selected=null),this.selected&&!e.target.value&&(this.selected.removeClass("selected"),this.selected=null),!this.selected&&e.target.value&&(t=this.$el.find("> .widget-tpl:visible:first")).length&&this.select(t),""!==e.target.value?this.$clearResults.addClass("is-visible"):""===e.target.value&&this.$clearResults.removeClass("is-visible"),this.searchMatchesCount?this.$el.removeClass("no-widgets-found"):this.$el.addClass("no-widgets-found")},500),updateSearchMatchesCount:function(){this.searchMatchesCount=this.collection.where({search_matched:!0}).length},announceSearchMatches:function(){var e=f.widgetsFound.replace("%d",this.searchMatchesCount);this.searchMatchesCount||(e=f.noWidgetsFound),u.a11y.speak(e)},updateList:function(){this.collection.each(function(e){var t=h("#widget-tpl-"+e.id);t.toggle(e.get("search_matched")&&!e.get("is_disabled")),e.get("is_disabled")&&t.is(this.selected)&&(this.selected=null)})},select:function(e){this.selected=h(e),this.selected.siblings(".widget-tpl").removeClass("selected"),this.selected.addClass("selected")},focus:function(e){this.select(h(e.currentTarget))},_submit:function(e){"keypress"===e.type&&13!==e.which&&32!==e.which||this.submit(h(e.currentTarget))},submit:function(e){(e=e||this.selected)&&this.currentSidebarControl&&(this.select(e),e=h(this.selected).data("widget-id"),e=this.collection.findWhere({id:e}))&&((e=this.currentSidebarControl.addWidget(e.get("id_base")))&&e.focus(),this.close())},open:function(e){this.currentSidebarControl=e,_(this.currentSidebarControl.getWidgetFormControls()).each(function(e){e.params.is_wide&&e.collapseForm()}),p.section.has("publish_settings")&&p.section("publish_settings").collapse(),h("body").addClass("adding-widget"),this.$el.find(".selected").removeClass("selected"),this.collection.doSearch(""),p.settings.browser.mobile||this.$search.trigger("focus")},close:function(e){(e=e||{}).returnFocus&&this.currentSidebarControl&&this.currentSidebarControl.container.find(".add-new-widget").focus(),this.currentSidebarControl=null,this.selected=null,h("body").removeClass("adding-widget"),this.$search.val("").trigger("input")},keyboardAccessible:function(e){var t=13===e.which,i=27===e.which,n=40===e.which,s=38===e.which,d=9===e.which,a=e.shiftKey,o=null,r=this.$el.find("> .widget-tpl:visible:first"),l=this.$el.find("> .widget-tpl:visible:last"),c=h(e.target).is(this.$search),g=h(e.target).is(".widget-tpl:visible:last");n||s?(n?c?o=r:this.selected&&0!==this.selected.nextAll(".widget-tpl:visible").length&&(o=this.selected.nextAll(".widget-tpl:visible:first")):s&&(c?o=l:this.selected&&0!==this.selected.prevAll(".widget-tpl:visible").length&&(o=this.selected.prevAll(".widget-tpl:visible:first"))),this.select(o),(o||this.$search).trigger("focus")):t&&!this.$search.val()||(t?this.submit():i&&this.close({returnFocus:!0}),this.currentSidebarControl&&d&&(a&&c||!a&&g)&&(this.currentSidebarControl.container.find(".add-new-widget").focus(),e.preventDefault()))}}),p.Widgets.formSyncHandlers={rss:function(e,t,i){var n=t.find(".widget-error:first"),i=h("<div>"+i+"</div>").find(".widget-error:first");n.length&&i.length?n.replaceWith(i):n.length?n.remove():i.length&&t.find(".widget-content:first").prepend(i)}},p.Widgets.WidgetControl=p.Control.extend({defaultExpandedArguments:{duration:"fast",completeCallback:h.noop},initialize:function(e,t){var i=this;i.widgetControlEmbedded=!1,i.widgetContentEmbedded=!1,i.expanded=new p.Value(!1),i.expandedArgumentsQueue=[],i.expanded.bind(function(e){var t=i.expandedArgumentsQueue.shift(),t=h.extend({},i.defaultExpandedArguments,t);i.onChangeExpanded(e,t)}),i.altNotice=!0,p.Control.prototype.initialize.call(i,e,t)},ready:function(){var n=this;n.section()?p.section(n.section(),function(t){function i(e){e&&(n.embedWidgetControl(),t.expanded.unbind(i))}t.expanded()?i(!0):t.expanded.bind(i)}):n.embedWidgetControl()},embedWidgetControl:function(){var e,t=this;t.widgetControlEmbedded||(t.widgetControlEmbedded=!0,e=h(t.params.widget_control),t.container.append(e),t._setupModel(),t._setupWideWidget(),t._setupControlToggle(),t._setupWidgetTitle(),t._setupReorderUI(),t._setupHighlightEffects(),t._setupUpdateUI(),t._setupRemoveUI())},embedWidgetContent:function(){var e,t=this;t.embedWidgetControl(),t.widgetContentEmbedded||(t.widgetContentEmbedded=!0,t.notifications.container=t.getNotificationsContainerElement(),t.notifications.render(),e=h(t.params.widget_content),t.container.find(".widget-content:first").append(e),h(document).trigger("widget-added",[t.container.find(".widget:first")]))},_setupModel:function(){var i=this,e=function(){p.Widgets.savedWidgetIds[i.params.widget_id]=!0};p.bind("ready",e),p.bind("saved",e),this._updateCount=0,this.isWidgetUpdating=!1,this.liveUpdateMode=!0,this.setting.bind(function(e,t){_(t).isEqual(e)||i.isWidgetUpdating||i.updateWidget({instance:e})})},_setupWideWidget:function(){var n,s,e,t,i,d=this;!this.params.is_wide||h(window).width()<=640||(n=this.container.find(".widget-inside"),s=n.find("> .form"),e=h(".wp-full-overlay-sidebar-content:first"),this.container.addClass("wide-widget-control"),this.container.find(".form:first").css({"max-width":this.params.width,"min-height":this.params.height}),i=function(){var e=d.container.offset().top,t=h(window).height(),i=s.outerHeight();n.css("max-height",t),e=Math.max(0,Math.min(Math.max(e,0),t-i)),n.css("top",e)},t=h("#customize-theme-controls"),this.container.on("expand",function(){i(),e.on("scroll",i),h(window).on("resize",i),t.on("expanded collapsed",i)}),this.container.on("collapsed",function(){e.off("scroll",i),h(window).off("resize",i),t.off("expanded collapsed",i)}),p.each(function(e){0===e.id.indexOf("sidebars_widgets[")&&e.bind(function(){d.container.hasClass("expanded")&&i()})}))},_setupControlToggle:function(){var t=this;this.container.find(".widget-top").on("click",function(e){e.preventDefault(),t.getSidebarWidgetsControl().isReordering||t.expanded(!t.expanded())}),this.container.find(".widget-control-close").on("click",function(){t.collapse(),t.container.find(".widget-top .widget-action:first").focus()})},_setupWidgetTitle:function(){var i=this,e=function(){var e=i.setting().title,t=i.container.find(".in-widget-title");e?t.text(": "+e):t.text("")};this.setting.bind(e),e()},_setupReorderUI:function(){var t,e,d=this,s=function(e){e.siblings(".selected").removeClass("selected"),e.addClass("selected");e=e.data("id")===d.params.sidebar_id;d.container.find(".move-widget-btn").prop("disabled",e)};this.container.find(".widget-title-action").after(h(p.Widgets.data.tpl.widgetReorderNav)),e=_.template(p.Widgets.data.tpl.moveWidgetArea),t=h(e({sidebars:_(p.Widgets.registeredSidebars.toArray()).pluck("attributes")})),this.container.find(".widget-top").after(t),(e=function(){var e=t.find("li"),i=0,n=e.filter(function(){return h(this).data("id")===d.params.sidebar_id});e.each(function(){var e=h(this),t=e.data("id"),t=p.Widgets.registeredSidebars.get(t).get("is_rendered");e.toggle(t),t&&(i+=1),e.hasClass("selected")&&!t&&s(n)}),1<i?d.container.find(".move-widget").show():d.container.find(".move-widget").hide()})(),p.Widgets.registeredSidebars.on("change:is_rendered",e),this.container.find(".widget-reorder-nav").find(".move-widget, .move-widget-down, .move-widget-up").each(function(){h(this).prepend(d.container.find(".widget-title").text()+": ")}).on("click keypress",function(e){var t,i;"keypress"===e.type&&13!==e.which&&32!==e.which||(h(this).trigger("focus"),h(this).is(".move-widget")?d.toggleWidgetMoveArea():(e=h(this).is(".move-widget-down"),t=h(this).is(".move-widget-up"),i=d.getWidgetSidebarPosition(),t&&0===i||e&&i===d.getSidebarWidgetsControl().setting().length-1||(t?(d.moveUp(),u.a11y.speak(f.widgetMovedUp)):(d.moveDown(),u.a11y.speak(f.widgetMovedDown)),h(this).trigger("focus"))))}),this.container.find(".widget-area-select").on("click keypress","li",function(e){"keypress"===e.type&&13!==e.which&&32!==e.which||(e.preventDefault(),s(h(this)))}),this.container.find(".move-widget-btn").click(function(){d.getSidebarWidgetsControl().toggleReordering(!1);var e=d.params.sidebar_id,t=d.container.find(".widget-area-select li.selected").data("id"),e=p("sidebars_widgets["+e+"]"),t=p("sidebars_widgets["+t+"]"),i=Array.prototype.slice.call(e()),n=Array.prototype.slice.call(t()),s=d.getWidgetSidebarPosition();i.splice(s,1),n.push(d.params.widget_id),e(i),t(n),d.focus()})},_setupHighlightEffects:function(){var e=this;this.container.on("mouseenter click",function(){e.setting.previewer.send("highlight-widget",e.params.widget_id)}),this.setting.bind(function(){e.setting.previewer.send("highlight-widget",e.params.widget_id)})},_setupUpdateUI:function(){var t,i,n=this,s=this.container.find(".widget:first"),e=s.find(".widget-content:first"),d=this.container.find(".widget-control-save");d.val(f.saveBtnLabel),d.attr("title",f.saveBtnTooltip),d.removeClass("button-primary"),d.on("click",function(e){e.preventDefault(),n.updateWidget({disable_form:!0})}),t=_.debounce(function(){n.updateWidget()},250),e.on("keydown","input",function(e){13===e.which&&(e.preventDefault(),n.updateWidget({ignoreActiveElement:!0}))}),e.on("change input propertychange",":input",function(e){n.liveUpdateMode&&("change"===e.type||this.checkValidity&&this.checkValidity())&&t()}),this.setting.previewer.channel.bind("synced",function(){n.container.removeClass("previewer-loading")}),p.previewer.bind("widget-updated",function(e){e===n.params.widget_id&&n.container.removeClass("previewer-loading")}),(i=p.Widgets.formSyncHandlers[this.params.widget_id_base])&&h(document).on("widget-synced",function(e,t){s.is(t)&&i.apply(document,arguments)})},onChangeActive:function(e,t){this.container.toggleClass("widget-rendered",e),t.completeCallback&&t.completeCallback()},_setupRemoveUI:function(){var e,s=this,t=this.container.find(".widget-control-remove");t.on("click",function(){var n=s.container.next().is(".customize-control-widget_form")?s.container.next().find(".widget-action:first"):s.container.prev().is(".customize-control-widget_form")?s.container.prev().find(".widget-action:first"):s.container.next(".customize-control-sidebar_widgets").find(".add-new-widget:first");s.container.slideUp(function(){var e,t,i=p.Widgets.getSidebarWidgetControlContainingWidget(s.params.widget_id);i&&(e=i.setting().slice(),-1!==(t=_.indexOf(e,s.params.widget_id)))&&(e.splice(t,1),i.setting(e),n.focus())})}),e=function(){t.text(f.removeBtnLabel),t.attr("title",f.removeBtnTooltip)},this.params.is_new?p.bind("saved",e):e()},_getInputs:function(e){return h(e).find(":input[name]")},_getInputsSignature:function(e){return _(e).map(function(e){e=h(e),e=e.is(":checkbox, :radio")?[e.attr("id"),e.attr("name"),e.prop("value")]:[e.attr("id"),e.attr("name")];return e.join(",")}).join(";")},_getInputState:function(e){return(e=h(e)).is(":radio, :checkbox")?e.prop("checked"):e.is("select[multiple]")?e.find("option:selected").map(function(){return h(this).val()}).get():e.val()},_setInputState:function(e,t){(e=h(e)).is(":radio, :checkbox")?e.prop("checked",t):e.is("select[multiple]")?(t=Array.isArray(t)?_.map(t,function(e){return String(e)}):[],e.find("option").each(function(){h(this).prop("selected",-1!==_.indexOf(t,String(this.value)))})):e.val(t)},getSidebarWidgetsControl:function(){var e="sidebars_widgets["+this.params.sidebar_id+"]",e=p.control(e);if(e)return e},updateWidget:function(s){var d,a,o,r,e,l,t,i,c,g=this;g.embedWidgetContent(),i=(s=h.extend({instance:null,complete:null,ignoreActiveElement:!1},s)).instance,d=s.complete,this._updateCount+=1,r=this._updateCount,a=this.container.find(".widget:first"),(o=a.find(".widget-content:first")).find(".widget-error").remove(),this.container.addClass("widget-form-loading"),this.container.addClass("previewer-loading"),(t=p.state("processing"))(t()+1),this.liveUpdateMode||this.container.addClass("widget-form-disabled"),(e={action:"update-widget",wp_customize:"on"}).nonce=p.settings.nonce["update-widget"],e.customize_theme=p.settings.theme.stylesheet,e.customized=u.customize.previewer.query().customized,e=h.param(e),(l=this._getInputs(o)).each(function(){h(this).data("state"+r,g._getInputState(this))}),e=(e+=i?"&"+h.param({sanitized_widget_setting:JSON.stringify(i)}):"&"+l.serialize())+"&"+o.find("~ :input").serialize(),this._previousUpdateRequest&&this._previousUpdateRequest.abort(),i=h.post(u.ajax.settings.url,e),(this._previousUpdateRequest=i).done(function(e){var n,t,i=!1;"0"===e?(p.previewer.preview.iframe.hide(),p.previewer.login().done(function(){g.updateWidget(s),p.previewer.preview.iframe.show()})):"-1"===e?p.previewer.cheatin():e.success?(t=h("<div>"+e.data.form+"</div>"),n=g._getInputs(t),(t=g._getInputsSignature(l)===g._getInputsSignature(n))&&!g.liveUpdateMode&&(g.liveUpdateMode=!0,g.container.removeClass("widget-form-disabled"),g.container.find('input[name="savewidget"]').hide()),t&&g.liveUpdateMode?(l.each(function(e){var t=h(this),e=h(n[e]),i=t.data("state"+r),e=g._getInputState(e);t.data("sanitized",e),_.isEqual(i,e)||!s.ignoreActiveElement&&t.is(document.activeElement)||g._setInputState(t,e)}),h(document).trigger("widget-synced",[a,e.data.form])):g.liveUpdateMode?(g.liveUpdateMode=!1,g.container.find('input[name="savewidget"]').show(),i=!0):(o.html(e.data.form),g.container.removeClass("widget-form-disabled"),h(document).trigger("widget-updated",[a])),(c=!i&&!_(g.setting()).isEqual(e.data.instance))?(g.isWidgetUpdating=!0,g.setting(e.data.instance),g.isWidgetUpdating=!1):g.container.removeClass("previewer-loading"),d&&d.call(g,null,{noChange:!c,ajaxFinished:!0})):(t=f.error,e.data&&e.data.message&&(t=e.data.message),d?d.call(g,t):o.prepend('<p class="widget-error"><strong>'+t+"</strong></p>"))}),i.fail(function(e,t){d&&d.call(g,t)}),i.always(function(){g.container.removeClass("widget-form-loading"),l.each(function(){h(this).removeData("state"+r)}),t(t()-1)})},expandControlSection:function(){p.Control.prototype.expand.call(this)},_toggleExpanded:p.Section.prototype._toggleExpanded,expand:p.Section.prototype.expand,expandForm:function(){this.expand()},collapse:p.Section.prototype.collapse,collapseForm:function(){this.collapse()},toggleForm:function(e){void 0===e&&(e=!this.expanded()),this.expanded(e)},onChangeExpanded:function(e,t){var i,n,s,d,a,o=this;o.embedWidgetControl(),e&&o.embedWidgetContent(),t.unchanged?e&&p.Control.prototype.expand.call(o,{completeCallback:t.completeCallback}):(i=this.container.find("div.widget:first"),n=i.find(".widget-inside:first"),e=function(){p.control.each(function(e){o.params.type===e.params.type&&o!==e&&e.collapse()}),s=function(){o.container.removeClass("expanding"),o.container.addClass("expanded"),i.addClass("open"),a.attr("aria-expanded","true"),o.container.trigger("expanded")},t.completeCallback&&(d=s,s=function(){d(),t.completeCallback()}),o.params.is_wide?n.fadeIn(t.duration,s):n.slideDown(t.duration,s),o.container.trigger("expand"),o.container.addClass("expanding")},"false"===(a=this.container.find(".widget-top button.widget-action")).attr("aria-expanded")?p.section.has(o.section())?p.section(o.section()).expand({completeCallback:e}):e():(s=function(){o.container.removeClass("collapsing"),o.container.removeClass("expanded"),i.removeClass("open"),a.attr("aria-expanded","false"),o.container.trigger("collapsed")},t.completeCallback&&(d=s,s=function(){d(),t.completeCallback()}),o.container.trigger("collapse"),o.container.addClass("collapsing"),o.params.is_wide?n.fadeOut(t.duration,s):n.slideUp(t.duration,function(){i.css({width:"",margin:""}),s()})))},getWidgetSidebarPosition:function(){var e=this.getSidebarWidgetsControl().setting(),e=_.indexOf(e,this.params.widget_id);if(-1!==e)return e},moveUp:function(){this._moveWidgetByOne(-1)},moveDown:function(){this._moveWidgetByOne(1)},_moveWidgetByOne:function(e){var t=this.getWidgetSidebarPosition(),i=this.getSidebarWidgetsControl().setting,n=Array.prototype.slice.call(i()),s=n[t+e];n[t+e]=this.params.widget_id,n[t]=s,i(n)},toggleWidgetMoveArea:function(e){var t=this,i=this.container.find(".move-widget-area");(e=void 0===e?!i.hasClass("active"):e)&&(i.find(".selected").removeClass("selected"),i.find("li").filter(function(){return h(this).data("id")===t.params.sidebar_id}).addClass("selected"),this.container.find(".move-widget-btn").prop("disabled",!0)),i.toggleClass("active",e)},highlightSectionAndControl:function(){var e=this.container.is(":hidden")?this.container.closest(".control-section"):this.container;h(".highlighted").removeClass("highlighted"),e.addClass("highlighted"),setTimeout(function(){e.removeClass("highlighted")},500)}}),p.Widgets.WidgetsPanel=p.Panel.extend({ready:function(){var d=this;p.Panel.prototype.ready.call(d),d.deferred.embedded.done(function(){var t,i,n,e=d.container.find(".panel-meta"),s=h("<div></div>",{class:"no-widget-areas-rendered-notice",role:"alert"});e.append(s),i=function(){return _.filter(d.sections(),function(e){return"sidebar"===e.params.type&&e.active()}).length},n=function(){var e=i();return 0===e||e!==p.Widgets.data.registeredSidebars.length},(t=function(){var e,t=i();s.empty(),t!==(e=p.Widgets.data.registeredSidebars.length)&&((e=0!==t?f.someAreasShown[e-t]:f.noAreasShown)&&s.append(h("<p></p>",{text:e})),s.append(h("<p></p>",{text:f.navigatePreview})))})(),s.toggle(n()),p.previewer.deferred.active.done(function(){s.toggle(n())}),p.bind("pane-contents-reflowed",function(){var e="resolved"===p.previewer.deferred.active.state()?"fast":0;t(),n()?s.slideDown(e):s.slideUp(e)})})},isContextuallyActive:function(){return this.active()}}),p.Widgets.SidebarSection=p.Section.extend({ready:function(){var t;p.Section.prototype.ready.call(this),t=p.Widgets.registeredSidebars.get(this.params.sidebarId),this.active.bind(function(e){t.set("is_rendered",e)}),t.set("is_rendered",this.active())}}),p.Widgets.SidebarControl=p.Control.extend({ready:function(){this.$controlSection=this.container.closest(".control-section"),this.$sectionContent=this.container.closest(".accordion-section-content"),this._setupModel(),this._setupSortable(),this._setupAddition(),this._applyCardinalOrderClassNames()},_setupModel:function(){var s=this;this.setting.bind(function(i,e){var t,n,e=_(e).difference(i);i=_(i).filter(function(e){e=c(e);return!!p.Widgets.availableWidgets.findWhere({id_base:e.id_base})}),(t=_(i).map(function(e){return p.Widgets.getWidgetFormControlForWidget(e)||s.addWidget(e)})).sort(function(e,t){return _.indexOf(i,e.params.widget_id)-_.indexOf(i,t.params.widget_id)}),n=0,_(t).each(function(e){e.priority(n),e.section(s.section()),n+=1}),s.priority(n),s._applyCardinalOrderClassNames(),_(t).each(function(e){e.params.sidebar_id=s.params.sidebar_id}),_(e).each(function(n){setTimeout(function(){var e,t,i=!1;p.each(function(e){e.id!==s.setting.id&&0===e.id.indexOf("sidebars_widgets[")&&"sidebars_widgets[wp_inactive_widgets]"!==e.id&&(e=e(),-1!==_.indexOf(e,n))&&(i=!0)}),i||(t=(e=p.Widgets.getWidgetFormControlForWidget(n))&&h.contains(document,e.container[0])&&!h.contains(s.$sectionContent[0],e.container[0]),e&&!t&&(p.control.remove(e.id),e.container.remove()),p.Widgets.savedWidgetIds[n]&&((t=p.value("sidebars_widgets[wp_inactive_widgets]")().slice()).push(n),p.value("sidebars_widgets[wp_inactive_widgets]")(_(t).unique())),e=c(n).id_base,(t=p.Widgets.availableWidgets.findWhere({id_base:e}))&&!t.get("is_multi")&&t.set("is_disabled",!1))})})})},_setupSortable:function(){var t=this;this.isReordering=!1,this.$sectionContent.sortable({items:"> .customize-control-widget_form",handle:".widget-top",axis:"y",tolerance:"pointer",connectWith:".accordion-section-content:has(.customize-control-sidebar_widgets)",update:function(){var e=t.$sectionContent.sortable("toArray"),e=h.map(e,function(e){return h("#"+e).find(":input[name=widget-id]").val()});t.setting(e)}}),this.$controlSection.find(".accordion-section-title").droppable({accept:".customize-control-widget_form",over:function(){p.section(t.section.get()).expand({allowMultiple:!0,completeCallback:function(){p.section.each(function(e){e.container.find(".customize-control-sidebar_widgets").length&&e.container.find(".accordion-section-content:first").sortable("refreshPositions")})}})}}),this.container.find(".reorder-toggle").on("click",function(){t.toggleReordering(!t.isReordering)})},_setupAddition:function(){var t=this;this.container.find(".add-new-widget").on("click",function(){var e=h(this);t.$sectionContent.hasClass("reordering")||(h("body").hasClass("adding-widget")?(e.attr("aria-expanded","false"),p.Widgets.availableWidgetsPanel.close()):(e.attr("aria-expanded","true"),p.Widgets.availableWidgetsPanel.open(t)))})},_applyCardinalOrderClassNames:function(){var t=[];_.each(this.setting(),function(e){e=p.Widgets.getWidgetFormControlForWidget(e);e&&t.push(e)}),0===t.length||1===p.Widgets.registeredSidebars.length&&t.length<=1?this.container.find(".reorder-toggle").hide():(this.container.find(".reorder-toggle").show(),h(t).each(function(){h(this.container).removeClass("first-widget").removeClass("last-widget").find(".move-widget-down, .move-widget-up").prop("tabIndex",0)}),_.first(t).container.addClass("first-widget").find(".move-widget-up").prop("tabIndex",-1),_.last(t).container.addClass("last-widget").find(".move-widget-down").prop("tabIndex",-1))},toggleReordering:function(e){var t=this.$sectionContent.find(".add-new-widget"),i=this.container.find(".reorder-toggle"),n=this.$sectionContent.find(".widget-title");(e=Boolean(e))!==this.$sectionContent.hasClass("reordering")&&(this.isReordering=e,this.$sectionContent.toggleClass("reordering",e),e?(_(this.getWidgetFormControls()).each(function(e){e.collapse()}),t.attr({tabindex:"-1","aria-hidden":"true"}),i.attr("aria-label",f.reorderLabelOff),u.a11y.speak(f.reorderModeOn),n.attr("aria-hidden","true")):(t.removeAttr("tabindex aria-hidden"),i.attr("aria-label",f.reorderLabelOn),u.a11y.speak(f.reorderModeOff),n.attr("aria-hidden","false")))},getWidgetFormControls:function(){var t=[];return _(this.setting()).each(function(e){e=function(e){var t,e=c(e);t="widget_"+e.id_base,e.number&&(t+="["+e.number+"]");return t}(e),e=p.control(e);e&&t.push(e)}),t},addWidget:function(n){var e,t,i,s,d,a=this,o="widget_form",r=c(n),l=r.number,r=p.Widgets.availableWidgets.findWhere({id_base:r.id_base});return!(!r||l&&!r.get("is_multi"))&&(r.get("is_multi")&&!l&&(r.set("multi_number",r.get("multi_number")+1),l=r.get("multi_number")),e=h("#widget-tpl-"+r.get("id")).html().trim(),r.get("is_multi")?e=e.replace(/<[^<>]+>/g,function(e){return e.replace(/__i__|%i%/g,l)}):r.set("is_disabled",!0),e=h(e),(e=h("<li/>").addClass("customize-control").addClass("customize-control-"+o).append(e)).find("> .widget-icon").remove(),r.get("is_multi")&&(e.find('input[name="widget_number"]').val(l),e.find('input[name="multi_number"]').val(l)),n=e.find('[name="widget-id"]').val(),e.hide(),t="widget_"+r.get("id_base"),r.get("is_multi")&&(t+="["+l+"]"),e.attr("id","customize-control-"+t.replace(/\]/g,"").replace(/\[/g,"-")),(i=p.has(t))||(d={transport:p.Widgets.data.selectiveRefreshableWidgets[r.get("id_base")]?"postMessage":"refresh",previewer:this.setting.previewer},p.create(t,t,"",d).set({})),d=p.controlConstructor[o],s=new d(t,{settings:{default:t},content:e,sidebar_id:a.params.sidebar_id,widget_id:n,widget_id_base:r.get("id_base"),type:o,is_new:!i,width:r.get("width"),height:r.get("height"),is_wide:r.get("is_wide")}),p.control.add(s),p.each(function(e){var t,i;e.id!==a.setting.id&&0===e.id.indexOf("sidebars_widgets[")&&(t=e().slice(),-1!==(i=_.indexOf(t,n)))&&(t.splice(i),e(t))}),d=this.setting().slice(),-1===_.indexOf(d,n)&&(d.push(n),this.setting(d)),e.slideDown(function(){i&&s.updateWidget({instance:s.setting()})}),s)}}),h.extend(p.panelConstructor,{widgets:p.Widgets.WidgetsPanel}),h.extend(p.sectionConstructor,{sidebar:p.Widgets.SidebarSection}),h.extend(p.controlConstructor,{widget_form:p.Widgets.WidgetControl,sidebar_widgets:p.Widgets.SidebarControl}),p.bind("ready",function(){p.Widgets.availableWidgetsPanel=new p.Widgets.AvailableWidgetsPanelView({collection:p.Widgets.availableWidgets}),p.previewer.bind("highlight-widget-control",p.Widgets.highlightWidgetFormControl),p.previewer.bind("focus-widget-control",p.Widgets.focusWidgetFormControl)}),p.Widgets.highlightWidgetFormControl=function(e){e=p.Widgets.getWidgetFormControlForWidget(e);e&&e.highlightSectionAndControl()},p.Widgets.focusWidgetFormControl=function(e){e=p.Widgets.getWidgetFormControlForWidget(e);e&&e.focus()},p.Widgets.getSidebarWidgetControlContainingWidget=function(t){var i=null;return p.control.each(function(e){"sidebar_widgets"===e.params.type&&-1!==_.indexOf(e.setting(),t)&&(i=e)}),i},p.Widgets.getWidgetFormControlForWidget=function(t){var i=null;return p.control.each(function(e){"widget_form"===e.params.type&&e.params.widget_id===t&&(i=e)}),i},h(document).on("widget-added",function(e,t){var s,d,i,n=c(t.find("> .widget-inside > .form > .widget-id").val());"nav_menu"===n.id_base&&(s=p.control("widget_nav_menu["+String(n.number)+"]"))&&(d=t.find('select[name*="nav_menu"]'),i=t.find(".edit-selected-nav-menu > button"),0!==d.length)&&0!==i.length&&(d.on("change",function(){p.section.has("nav_menu["+d.val()+"]")?i.parent().show():i.parent().hide()}),i.on("click",function(){var i,n,e=p.section("nav_menu["+d.val()+"]");e&&(n=s,(i=e).focus(),i.expanded.bind(function e(t){t||(i.expanded.unbind(e),n.focus())}))}))}))}(window.wp,jQuery); revisions.min.js 0000644 00000043741 15174671433 0007731 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(a){var s=wp.revisions={model:{},view:{},controller:{}};s.settings=window._wpRevisionsSettings||{},s.debug=!1,s.log=function(){window.console&&s.debug&&window.console.log.apply(window.console,arguments)},a.fn.allOffsets=function(){var e=this.offset()||{top:0,left:0},i=a(window);return _.extend(e,{right:i.width()-e.left-this.outerWidth(),bottom:i.height()-e.top-this.outerHeight()})},a.fn.allPositions=function(){var e=this.position()||{top:0,left:0},i=this.parent();return _.extend(e,{right:i.outerWidth()-e.left-this.outerWidth(),bottom:i.outerHeight()-e.top-this.outerHeight()})},s.model.Slider=Backbone.Model.extend({defaults:{value:null,values:null,min:0,max:1,step:1,range:!1,compareTwoMode:!1},initialize:function(e){this.frame=e.frame,this.revisions=e.revisions,this.listenTo(this.frame,"update:revisions",this.receiveRevisions),this.listenTo(this.frame,"change:compareTwoMode",this.updateMode),this.on("change:from",this.handleLocalChanges),this.on("change:to",this.handleLocalChanges),this.on("change:compareTwoMode",this.updateSliderSettings),this.on("update:revisions",this.updateSliderSettings),this.on("change:hoveredRevision",this.hoverRevision),this.set({max:this.revisions.length-1,compareTwoMode:this.frame.get("compareTwoMode"),from:this.frame.get("from"),to:this.frame.get("to")}),this.updateSliderSettings()},getSliderValue:function(e,i){return isRtl?this.revisions.length-this.revisions.indexOf(this.get(e))-1:this.revisions.indexOf(this.get(i))},updateSliderSettings:function(){this.get("compareTwoMode")?this.set({values:[this.getSliderValue("to","from"),this.getSliderValue("from","to")],value:null,range:!0}):this.set({value:this.getSliderValue("to","to"),values:null,range:!1}),this.trigger("update:slider")},hoverRevision:function(e,i){this.trigger("hovered:revision",i)},updateMode:function(e,i){this.set({compareTwoMode:i})},handleLocalChanges:function(){this.frame.set({from:this.get("from"),to:this.get("to")})},receiveRevisions:function(e,i){this.get("from")===e&&this.get("to")===i||(this.set({from:e,to:i},{silent:!0}),this.trigger("update:revisions",e,i))}}),s.model.Tooltip=Backbone.Model.extend({defaults:{revision:null,offset:{},hovering:!1,scrubbing:!1},initialize:function(e){this.frame=e.frame,this.revisions=e.revisions,this.slider=e.slider,this.listenTo(this.slider,"hovered:revision",this.updateRevision),this.listenTo(this.slider,"change:hovering",this.setHovering),this.listenTo(this.slider,"change:scrubbing",this.setScrubbing)},updateRevision:function(e){this.set({revision:e})},setHovering:function(e,i){this.set({hovering:i})},setScrubbing:function(e,i){this.set({scrubbing:i})}}),s.model.Revision=Backbone.Model.extend({}),s.model.Revisions=Backbone.Collection.extend({model:s.model.Revision,initialize:function(){_.bindAll(this,"next","prev")},next:function(e){e=this.indexOf(e);if(-1!==e&&e!==this.length-1)return this.at(e+1)},prev:function(e){e=this.indexOf(e);if(-1!==e&&0!==e)return this.at(e-1)}}),s.model.Field=Backbone.Model.extend({}),s.model.Fields=Backbone.Collection.extend({model:s.model.Field}),s.model.Diff=Backbone.Model.extend({initialize:function(){var e=this.get("fields");this.unset("fields"),this.fields=new s.model.Fields(e)}}),s.model.Diffs=Backbone.Collection.extend({initialize:function(e,i){_.bindAll(this,"getClosestUnloaded"),this.loadAll=_.once(this._loadAll),this.revisions=i.revisions,this.postId=i.postId,this.requests={}},model:s.model.Diff,ensure:function(e,i){var t=this.get(e),s=this.requests[e],o=a.Deferred(),n={},r=e.split(":")[0],l=e.split(":")[1];return n[e]=!0,wp.revisions.log("ensure",e),this.trigger("ensure",n,r,l,o.promise()),t?o.resolveWith(i,[t]):(this.trigger("ensure:load",n,r,l,o.promise()),_.each(n,_.bind(function(e){this.requests[e]&&delete n[e],this.get(e)&&delete n[e]},this)),s||(n[e]=!0,s=this.load(_.keys(n))),s.done(_.bind(function(){o.resolveWith(i,[this.get(e)])},this)).fail(_.bind(function(){o.reject()}))),o.promise()},getClosestUnloaded:function(e,i){var t=this;return _.chain([0].concat(e)).initial().zip(e).sortBy(function(e){return Math.abs(i-e[1])}).map(function(e){return e.join(":")}).filter(function(e){return _.isUndefined(t.get(e))&&!t.requests[e]}).value()},_loadAll:function(e,i,t){var s=this,o=a.Deferred(),n=_.first(this.getClosestUnloaded(e,i),t);return 0<_.size(n)?this.load(n).done(function(){s._loadAll(e,i,t).done(function(){o.resolve()})}).fail(function(){1===t?o.reject():s._loadAll(e,i,Math.ceil(t/2)).done(function(){o.resolve()})}):o.resolve(),o},load:function(e){return wp.revisions.log("load",e),this.fetch({data:{compare:e},remove:!1}).done(function(){wp.revisions.log("load:complete",e)})},sync:function(e,i,t){var s,o;return"read"===e?((t=t||{}).context=this,t.data=_.extend(t.data||{},{action:"get-revision-diffs",post_id:this.postId}),s=wp.ajax.send(t),o=this.requests,t.data.compare&&_.each(t.data.compare,function(e){o[e]=s}),s.always(function(){t.data.compare&&_.each(t.data.compare,function(e){delete o[e]})}),s):Backbone.Model.prototype.sync.apply(this,arguments)}}),s.model.FrameState=Backbone.Model.extend({defaults:{loading:!1,error:!1,compareTwoMode:!1},initialize:function(e,i){var t=this.get("initialDiffState");_.bindAll(this,"receiveDiff"),this._debouncedEnsureDiff=_.debounce(this._ensureDiff,200),this.revisions=i.revisions,this.diffs=new s.model.Diffs([],{revisions:this.revisions,postId:this.get("postId")}),this.diffs.set(this.get("diffData")),this.listenTo(this,"change:from",this.changeRevisionHandler),this.listenTo(this,"change:to",this.changeRevisionHandler),this.listenTo(this,"change:compareTwoMode",this.changeMode),this.listenTo(this,"update:revisions",this.updatedRevisions),this.listenTo(this.diffs,"ensure:load",this.updateLoadingStatus),this.listenTo(this,"update:diff",this.updateLoadingStatus),this.set({to:this.revisions.get(t.to),from:this.revisions.get(t.from),compareTwoMode:t.compareTwoMode}),window.history&&window.history.pushState&&(this.router=new s.Router({model:this}),Backbone.History.started&&Backbone.history.stop(),Backbone.history.start({pushState:!0}))},updateLoadingStatus:function(){this.set("error",!1),this.set("loading",!this.diff())},changeMode:function(e,i){var t=this.revisions.indexOf(this.get("to"));i&&0===t&&this.set({from:this.revisions.at(t),to:this.revisions.at(t+1)}),i||0===t||this.set({from:this.revisions.at(t-1),to:this.revisions.at(t)})},updatedRevisions:function(e,i){this.get("compareTwoMode")||this.diffs.loadAll(this.revisions.pluck("id"),i.id,40)},diff:function(){return this.diffs.get(this._diffId)},updateDiff:function(e){var i,t,s;return e=e||{},s=this.get("from"),i=this.get("to"),t=(s?s.id:0)+":"+i.id,this._diffId===t?a.Deferred().reject().promise():(this._diffId=t,this.trigger("update:revisions",s,i),(s=this.diffs.get(t))?(this.receiveDiff(s),a.Deferred().resolve().promise()):e.immediate?this._ensureDiff():(this._debouncedEnsureDiff(),a.Deferred().reject().promise()))},changeRevisionHandler:function(){this.updateDiff()},receiveDiff:function(e){_.isUndefined(e)||_.isUndefined(e.id)?this.set({loading:!1,error:!0}):this._diffId===e.id&&this.trigger("update:diff",e)},_ensureDiff:function(){return this.diffs.ensure(this._diffId,this).always(this.receiveDiff)}}),s.view.Frame=wp.Backbone.View.extend({className:"revisions",template:wp.template("revisions-frame"),initialize:function(){this.listenTo(this.model,"update:diff",this.renderDiff),this.listenTo(this.model,"change:compareTwoMode",this.updateCompareTwoMode),this.listenTo(this.model,"change:loading",this.updateLoadingStatus),this.listenTo(this.model,"change:error",this.updateErrorStatus),this.views.set(".revisions-control-frame",new s.view.Controls({model:this.model}))},render:function(){return wp.Backbone.View.prototype.render.apply(this,arguments),a("html").css("overflow-y","scroll"),a("#wpbody-content .wrap").append(this.el),this.updateCompareTwoMode(),this.renderDiff(this.model.diff()),this.views.ready(),this},renderDiff:function(e){this.views.set(".revisions-diff-frame",new s.view.Diff({model:e}))},updateLoadingStatus:function(){this.$el.toggleClass("loading",this.model.get("loading"))},updateErrorStatus:function(){this.$el.toggleClass("diff-error",this.model.get("error"))},updateCompareTwoMode:function(){this.$el.toggleClass("comparing-two-revisions",this.model.get("compareTwoMode"))}}),s.view.Controls=wp.Backbone.View.extend({className:"revisions-controls",initialize:function(){_.bindAll(this,"setWidth"),this.views.add(new s.view.Checkbox({model:this.model})),this.views.add(new s.view.Buttons({model:this.model}));var e=new s.model.Slider({frame:this.model,revisions:this.model.revisions}),i=new s.model.Tooltip({frame:this.model,revisions:this.model.revisions,slider:e});this.views.add(new s.view.Tooltip({model:i})),this.views.add(new s.view.Tickmarks({model:i})),this.views.add(new s.view.SliderHelp),this.views.add(new s.view.Slider({model:e})),this.views.add(new s.view.Metabox({model:this.model}))},ready:function(){this.top=this.$el.offset().top,this.window=a(window),this.window.on("scroll.wp.revisions",{controls:this},function(e){var e=e.data.controls,i=e.$el.parent(),t=e.window.scrollTop(),s=e.views.parent;t>=e.top?(s.$el.hasClass("pinned")||(e.setWidth(),i.css("height",i.height()+"px"),e.window.on("resize.wp.revisions.pinning click.wp.revisions.pinning",{controls:e},function(e){e.data.controls.setWidth()})),s.$el.addClass("pinned")):(s.$el.hasClass("pinned")&&(e.window.off(".wp.revisions.pinning"),e.$el.css("width","auto"),s.$el.removeClass("pinned"),i.css("height","auto")),e.top=e.$el.offset().top)})},setWidth:function(){this.$el.css("width",this.$el.parent().width()+"px")}}),s.view.Tickmarks=wp.Backbone.View.extend({className:"revisions-tickmarks",direction:isRtl?"right":"left",initialize:function(){this.listenTo(this.model,"change:revision",this.reportTickPosition)},reportTickPosition:function(e,i){var t,i=this.model.revisions.indexOf(i),s=this.$el.allOffsets(),o=this.$el.parent().allOffsets();i===this.model.revisions.length-1?t={rightPlusWidth:s.left-o.left+1,leftPlusWidth:s.right-o.right+1}:(t=(i=this.$("div:nth-of-type("+(i+1)+")")).allPositions(),_.extend(t,{left:t.left+s.left-o.left,right:t.right+s.right-o.right}),_.extend(t,{leftPlusWidth:t.left+i.outerWidth(),rightPlusWidth:t.right+i.outerWidth()})),this.model.set({offset:t})},ready:function(){var e=this.model.revisions.length-1,i=1/e;this.$el.css("width",50*this.model.revisions.length+"px"),_(e).times(function(e){this.$el.append('<div style="'+this.direction+": "+100*i*e+'%"></div>')},this)}}),s.view.Metabox=wp.Backbone.View.extend({className:"revisions-meta",initialize:function(){this.views.add(new s.view.MetaFrom({model:this.model,className:"diff-meta diff-meta-from"})),this.views.add(new s.view.MetaTo({model:this.model}))}}),s.view.Meta=wp.Backbone.View.extend({template:wp.template("revisions-meta"),events:{"click .restore-revision":"restoreRevision"},initialize:function(){this.listenTo(this.model,"update:revisions",this.render)},prepare:function(){return _.extend(this.model.toJSON()[this.type]||{},{type:this.type})},restoreRevision:function(){document.location=this.model.get("to").attributes.restoreUrl}}),s.view.MetaFrom=s.view.Meta.extend({className:"diff-meta diff-meta-from",type:"from"}),s.view.MetaTo=s.view.Meta.extend({className:"diff-meta diff-meta-to",type:"to"}),s.view.Checkbox=wp.Backbone.View.extend({className:"revisions-checkbox",template:wp.template("revisions-checkbox"),events:{"click .compare-two-revisions":"compareTwoToggle"},initialize:function(){this.listenTo(this.model,"change:compareTwoMode",this.updateCompareTwoMode)},ready:function(){this.model.revisions.length<3&&a(".revision-toggle-compare-mode").hide()},updateCompareTwoMode:function(){this.$(".compare-two-revisions").prop("checked",this.model.get("compareTwoMode"))},compareTwoToggle:function(){this.model.set({compareTwoMode:a(".compare-two-revisions").prop("checked")})}}),s.view.SliderHelp=wp.Backbone.View.extend({className:"revisions-slider-hidden-help",template:wp.template("revisions-slider-hidden-help")}),s.view.Tooltip=wp.Backbone.View.extend({className:"revisions-tooltip",template:wp.template("revisions-meta"),initialize:function(){this.listenTo(this.model,"change:offset",this.render),this.listenTo(this.model,"change:hovering",this.toggleVisibility),this.listenTo(this.model,"change:scrubbing",this.toggleVisibility)},prepare:function(){if(!_.isNull(this.model.get("revision")))return _.extend({type:"tooltip"},{attributes:this.model.get("revision").toJSON()})},render:function(){var e,i={},t=.5<(this.model.revisions.indexOf(this.model.get("revision"))+1)/this.model.revisions.length,s=isRtl?(e=t?"left":"right",t?"leftPlusWidth":e):(e=t?"right":"left",t?"rightPlusWidth":e),o="right"===e?"left":"right";wp.Backbone.View.prototype.render.apply(this,arguments),i[e]=this.model.get("offset")[s]+"px",i[o]="",this.$el.toggleClass("flipped",t).css(i)},visible:function(){return this.model.get("scrubbing")||this.model.get("hovering")},toggleVisibility:function(){this.visible()?this.$el.stop().show().fadeTo(100-100*this.el.style.opacity,1):this.$el.stop().fadeTo(300*this.el.style.opacity,0,function(){a(this).hide()})}}),s.view.Buttons=wp.Backbone.View.extend({className:"revisions-buttons",template:wp.template("revisions-buttons"),events:{"click .revisions-next .button":"nextRevision","click .revisions-previous .button":"previousRevision"},initialize:function(){this.listenTo(this.model,"update:revisions",this.disabledButtonCheck)},ready:function(){this.disabledButtonCheck()},gotoModel:function(e){var i={to:this.model.revisions.at(e)};e?i.from=this.model.revisions.at(e-1):this.model.unset("from",{silent:!0}),this.model.set(i)},nextRevision:function(){var e=this.model.revisions.indexOf(this.model.get("to"))+1;this.gotoModel(e)},previousRevision:function(){var e=this.model.revisions.indexOf(this.model.get("to"))-1;this.gotoModel(e)},disabledButtonCheck:function(){var e=this.model.revisions.length-1,i=a(".revisions-next .button"),t=a(".revisions-previous .button"),s=this.model.revisions.indexOf(this.model.get("to"));i.prop("disabled",e===s),t.prop("disabled",0===s)}}),s.view.Slider=wp.Backbone.View.extend({className:"wp-slider",direction:isRtl?"right":"left",events:{mousemove:"mouseMove"},initialize:function(){_.bindAll(this,"start","slide","stop","mouseMove","mouseEnter","mouseLeave"),this.listenTo(this.model,"update:slider",this.applySliderSettings)},ready:function(){this.$el.css("width",50*this.model.revisions.length+"px"),this.$el.slider(_.extend(this.model.toJSON(),{start:this.start,slide:this.slide,stop:this.stop})),this.$el.hoverIntent({over:this.mouseEnter,out:this.mouseLeave,timeout:800}),this.applySliderSettings()},accessibilityHelper:function(){var e=a(".ui-slider-handle");e.first().attr({role:"button","aria-labelledby":"diff-title-from diff-title-author","aria-describedby":"revisions-slider-hidden-help"}),e.last().attr({role:"button","aria-labelledby":"diff-title-to diff-title-author","aria-describedby":"revisions-slider-hidden-help"})},mouseMove:function(e){var i=this.model.revisions.length-1,t=this.$el.allOffsets()[this.direction],i=this.$el.width()/i,e=(isRtl?a(window).width()-e.pageX:e.pageX)-t,t=Math.floor((e+i/2)/i);t<0?t=0:t>=this.model.revisions.length&&(t=this.model.revisions.length-1),this.model.set({hoveredRevision:this.model.revisions.at(t)})},mouseLeave:function(){this.model.set({hovering:!1})},mouseEnter:function(){this.model.set({hovering:!0})},applySliderSettings:function(){this.$el.slider(_.pick(this.model.toJSON(),"value","values","range"));var e=this.$("a.ui-slider-handle");this.model.get("compareTwoMode")?(e.first().toggleClass("to-handle",!!isRtl).toggleClass("from-handle",!isRtl),e.last().toggleClass("from-handle",!!isRtl).toggleClass("to-handle",!isRtl)):e.removeClass("from-handle to-handle"),this.accessibilityHelper()},start:function(e,d){this.model.set({scrubbing:!0}),a(window).on("mousemove.wp.revisions",{view:this},function(e){var i=e.data.view,t=i.$el.offset().left,s=t,o=t+i.$el.width(),n="0",r="100%",l=a(d.handle);i.model.get("compareTwoMode")&&(i=l.parent().find(".ui-slider-handle"),l.is(i.first())?r=(o=i.last().offset().left)-s:n=(t=i.first().offset().left+i.first().width())-s),e.pageX<t?l.css("left",n):e.pageX>o?l.css("left",r):l.css("left",e.pageX-s)})},getPosition:function(e){return isRtl?this.model.revisions.length-e-1:e},slide:function(e,i){var t;if(this.model.get("compareTwoMode")){if(i.values[1]===i.values[0])return!1;isRtl&&i.values.reverse(),t={from:this.model.revisions.at(this.getPosition(i.values[0])),to:this.model.revisions.at(this.getPosition(i.values[1]))}}else t={to:this.model.revisions.at(this.getPosition(i.value))},0<this.getPosition(i.value)?t.from=this.model.revisions.at(this.getPosition(i.value)-1):t.from=void 0;i=this.model.revisions.at(this.getPosition(i.value)),this.model.get("scrubbing")&&(t.hoveredRevision=i),this.model.set(t)},stop:function(){a(window).off("mousemove.wp.revisions"),this.model.updateSliderSettings(),this.model.set({scrubbing:!1})}}),s.view.Diff=wp.Backbone.View.extend({className:"revisions-diff",template:wp.template("revisions-diff"),prepare:function(){return _.extend({fields:this.model.fields.toJSON()},this.options)}}),s.Router=Backbone.Router.extend({initialize:function(e){this.model=e.model,this.listenTo(this.model,"update:diff",_.debounce(this.updateUrl,250)),this.listenTo(this.model,"change:compareTwoMode",this.updateUrl)},baseUrl:function(e){return this.model.get("baseUrl")+e},updateUrl:function(){var e=this.model.has("from")?this.model.get("from").id:0,i=this.model.get("to").id;this.model.get("compareTwoMode")?this.navigate(this.baseUrl("?from="+e+"&to="+i),{replace:!0}):this.navigate(this.baseUrl("?revision="+i),{replace:!0})},handleRoute:function(e,i){_.isUndefined(i)||(i=this.model.revisions.get(e),e=this.model.revisions.prev(i),i=i?i.id:0,e&&e.id)}}),s.init=function(){var e;window.adminpage&&"revision-php"===window.adminpage&&(e=new s.model.FrameState({initialDiffState:{to:parseInt(s.settings.to,10),from:parseInt(s.settings.from,10),compareTwoMode:"1"===s.settings.compareTwoMode},diffData:s.settings.diffData,baseUrl:s.settings.baseUrl,postId:parseInt(s.settings.postId,10)},{revisions:new s.model.Revisions(s.settings.revisionData)}),s.view.frame=new s.view.Frame({model:e}).render())},a(s.init)}(jQuery); editor.min.js 0000644 00000031435 15174671433 0007173 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(g,u){u.editor=u.editor||{},window.switchEditors=new function(){var v,x,t={};function e(){!v&&window.tinymce&&(v=window.tinymce,(x=v.$)(document).on("click",function(e){e=x(e.target);e.hasClass("wp-switch-editor")&&n(e.attr("data-wp-editor-id"),e.hasClass("switch-tmce")?"tmce":"html")}))}function E(e){e=x(".mce-toolbar-grp",e.getContainer())[0],e=e&&e.clientHeight;return e&&10<e&&e<200?parseInt(e,10):30}function n(e,t){t=t||"toggle";var n,r,i,a,o,c,s,d,p,l,g,u=v.get(e=e||"content"),w=x("#wp-"+e+"-wrap"),f=w.find(".switch-tmce"),m=w.find(".switch-html"),h=x("#"+e),b=h[0];if("tmce"===(t="toggle"===t?u&&!u.isHidden()?"html":"tmce":t)||"tinymce"===t){if(u&&!u.isHidden())return!1;void 0!==window.QTags&&window.QTags.closeAllTags(e),n=parseInt(b.style.height,10)||0,(o=h)&&o.length&&(o=o[0],s=function(e,t){var n=t.cursorStart,t=t.cursorEnd,r=y(e,n);r&&(n=-1!==["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(r.tagType)?r.ltPos:r.gtPos);r=y(e,t);r&&(t=r.gtPos);r=S(e,n);r&&!r.showAsPlainText&&(n=r.urlAtStartOfContent?r.endIndex:r.startIndex);r=S(e,t);r&&!r.showAsPlainText&&(t=r.urlAtEndOfContent?r.startIndex:r.endIndex);return{cursorStart:n,cursorEnd:t}}(o.value,{cursorStart:o.selectionStart,cursorEnd:o.selectionEnd}),c=s.cursorStart,l=c!==(s=s.cursorEnd)?"range":"single",d=null,p=$(x,"").attr("data-mce-type","bookmark"),"range"==l&&(l=o.value.slice(c,s),g=p.clone().addClass("mce_SELRES_end"),d=[l,g[0].outerHTML].join("")),o.value=[o.value.slice(0,c),p.clone().addClass("mce_SELRES_start")[0].outerHTML,d,o.value.slice(s)].join("")),u?(u.show(),!v.Env.iOS&&n&&50<(n=n-E(u)+14)&&n<5e3&&u.theme.resizeTo(null,n),_(u)):v.init(window.tinyMCEPreInit.mceInit[e]),w.removeClass("html-active").addClass("tmce-active"),m.attr("aria-pressed",!1),f.attr("aria-pressed",!0),h.attr("aria-hidden",!0),window.setUserSetting("editor","tinymce")}else if("html"===t){if(u&&u.isHidden())return!1;u?(v.Env.iOS||(n=(l=u.iframeElement)?parseInt(l.style.height,10):0)&&50<(n=n+E(u)-14)&&n<5e3&&(b.style.height=n+"px"),g=null,g=function(e){var t,n,r,i,a,o,c,s=e.getWin().getSelection();if(s&&!(s.rangeCount<1))return c="SELRES_"+Math.random(),o=$(e.$,c),a=o.clone().addClass("mce_SELRES_start"),o=o.clone().addClass("mce_SELRES_end"),i=s.getRangeAt(0),t=i.startContainer,n=i.startOffset,r=i.cloneRange(),0<e.$(t).parents(".mce-offscreen-selection").length?(t=e.$("[data-mce-selected]")[0],a.attr("data-mce-object-selection","true"),o.attr("data-mce-object-selection","true"),e.$(t).before(a[0]),e.$(t).after(o[0])):(r.collapse(!1),r.insertNode(o[0]),r.setStart(t,n),r.collapse(!0),r.insertNode(a[0]),i.setStartAfter(a[0]),i.setEndBefore(o[0]),s.removeAllRanges(),s.addRange(i)),e.on("GetContent",k),t=R(e.getContent()),e.off("GetContent",k),a.remove(),o.remove(),n=new RegExp('<span[^>]*\\s*class="mce_SELRES_start"[^>]+>\\s*'+c+"[^<]*<\\/span>(\\s*)"),r=new RegExp('(\\s*)<span[^>]*\\s*class="mce_SELRES_end"[^>]+>\\s*'+c+"[^<]*<\\/span>"),s=t.match(n),i=t.match(r),s?(e=s.index,a=s[0].length,o=null,i&&(-1!==s[0].indexOf("data-mce-object-selection")&&(a-=s[1].length),c=i.index,-1!==i[0].indexOf("data-mce-object-selection")&&(c-=i[1].length),o=c-a),{start:e,end:o}):null}(u),u.hide(),g&&(c=u,p=g)&&(r=c.getElement(),i=p.start,a=p.end||p.start,r.focus)&&setTimeout(function(){r.setSelectionRange(i,a),r.blur&&r.blur(),r.focus()},100)):h.css({display:"",visibility:""}),w.removeClass("tmce-active").addClass("html-active"),m.attr("aria-pressed",!0),f.attr("aria-pressed",!1),h.attr("aria-hidden",!1),window.setUserSetting("editor","html")}}function y(e,t){var n,r=e.lastIndexOf("<",t-1);return(e.lastIndexOf(">",t)<r||">"===e.substr(t,1))&&(e=(t=e.substr(r)).match(/<\s*(\/)?(\w+|\!-{2}.*-{2})/))?(n=e[2],{ltPos:r,gtPos:r+t.indexOf(">")+1,tagType:n,isClosingTag:!!e[1]}):null}function S(e,t){for(var n=function(e){var t,n=function(e){var t=e.match(/\[+([\w_-])+/g),n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].replace(/^\[+/g,"");-1===n.indexOf(i)&&n.push(i)}return n}(e);if(0===n.length)return[];var r,i=u.shortcode.regexp(n.join("|")),a=[];for(;r=i.exec(e);){var o="["===r[1];t={shortcodeName:r[2],showAsPlainText:o,startIndex:r.index,endIndex:r.index+r[0].length,length:r[0].length},a.push(t)}var c=new RegExp('(^|[\\n\\r][\\n\\r]|<p>)(https?:\\/\\/[^s"]+?)(<\\/p>s*|[\\n\\r][\\n\\r]|$)',"gi");for(;r=c.exec(e);)t={shortcodeName:"url",showAsPlainText:!1,startIndex:r.index,endIndex:r.index+r[0].length,length:r[0].length,urlAtStartOfContent:""===r[1],urlAtEndOfContent:""===r[3]},a.push(t);return a}(e),r=0;r<n.length;r++){var i=n[r];if(t>=i.startIndex&&t<=i.endIndex)return i}}function $(e,t){return e("<span>").css({display:"inline-block",width:0,overflow:"hidden","line-height":0}).html(t||"")}function _(e){var t,n=e.$(".mce_SELRES_start").attr("data-mce-bogus",1),r=e.$(".mce_SELRES_end").attr("data-mce-bogus",1),i=(n.length&&(e.focus(),r.length?((i=e.getDoc().createRange()).setStartAfter(n[0]),i.setEndBefore(r[0]),e.selection.setRng(i)):e.selection.select(n[0])),e),a=n,a=i.$(a).offset().top,o=i.$(i.getContentAreaContainer()).offset().top,c=E(i),s=g("#wp-content-editor-tools"),d=0,p=0;s.length&&(d=s.height(),p=s.offset().top),s=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,(o+=a)<(s-=d+c)||(c=i.settings.wp_autoresize_on?(t=g("html,body"),Math.max(o-s/2,p-d)):(t=g(i.contentDocument).find("html,body"),a),t.animate({scrollTop:parseInt(c,10)},100)),l(n),l(r),e.save()}function l(e){var t=e.parent();e.remove(),!t.is("p")||t.children().length||t.text()||t.remove()}function k(e){e.content=e.content.replace(/<p>(?:<br ?\/?>|\u00a0|\uFEFF| )*<\/p>/g,"<p> </p>")}function R(e){var t="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=t+"|div|p",t=t+"|pre",r=!1,i=!1,a=[];return e?(-1!==(e=-1===e.indexOf("<script")&&-1===e.indexOf("<style")?e:e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return a.push(e),"<wp-preserve>"})).indexOf("<pre")&&(r=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(i=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),e=(e=(e=(e=(e=-1!==(e=-1!==(e=-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,t){return t&&-1!==t.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+t+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")?(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>"):e).indexOf("<hr")?e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n"):e).indexOf("<object")?e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")}):e).replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),r&&(e=e.replace(/<wp-line-break>/g,"\n")),i&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),a.length?e.replace(/<wp-preserve>/g,function(){return a.shift()}):e):""}function r(e){var t=!1,n=!1,r="table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary";return-1===(e=(e=-1!==(e=e.replace(/\r\n|\r/g,"\n")).indexOf("<object")?e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/\n+/g,"")}):e).replace(/<[^<>]+>/g,function(e){return e.replace(/[\n\t ]+/g," ")})).indexOf("<pre")&&-1===e.indexOf("<script")||(t=!0,e=e.replace(/<(pre|script)[^>]*>[\s\S]*?<\/\1>/g,function(e){return e.replace(/\n/g,"<wp-line-break>")})),-1!==(e=-1!==e.indexOf("<figcaption")?(e=e.replace(/\s*(<figcaption[^>]*>)/g,"$1")).replace(/<\/figcaption>\s*/g,"</figcaption>"):e).indexOf("[caption")&&(n=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return(e=(e=e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>")).replace(/<[^<>]+>/g,function(e){return e.replace(/[\n\t ]+/," ")})).replace(/\s*\n\s*/g,"<wp-temp-br />")})),e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e+="\n\n").replace(/<br \/>\s*<br \/>/gi,"\n\n")).replace(new RegExp("(<(?:"+r+")(?: [^>]*)?>)","gi"),"\n\n$1")).replace(new RegExp("(</(?:"+r+")>)","gi"),"$1\n\n")).replace(/<hr( [^>]*)?>/gi,"<hr$1>\n\n")).replace(/\s*<option/gi,"<option")).replace(/<\/option>\s*/gi,"</option>")).replace(/\n\s*\n+/g,"\n\n")).replace(/([\s\S]+?)\n\n/g,"<p>$1</p>\n")).replace(/<p>\s*?<\/p>/gi,"")).replace(new RegExp("<p>\\s*(</?(?:"+r+")(?: [^>]*)?>)\\s*</p>","gi"),"$1")).replace(/<p>(<li.+?)<\/p>/gi,"$1")).replace(/<p>\s*<blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote>\s*<\/p>/gi,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?(?:"+r+")(?: [^>]*)?>)","gi"),"$1")).replace(new RegExp("(</?(?:"+r+")(?: [^>]*)?>)\\s*</p>","gi"),"$1")).replace(/(<br[^>]*>)\s*\n/gi,"$1")).replace(/\s*\n/g,"<br />\n")).replace(new RegExp("(</?(?:"+r+")[^>]*>)\\s*<br />","gi"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)>)/gi,"$1")).replace(/(?:<p>|<br ?\/?>)*\s*\[caption([^\[]+)\[\/caption\]\s*(?:<\/p>|<br ?\/?>)*/gi,"[caption$1[/caption]")).replace(/(<(?:div|th|td|form|fieldset|dd)[^>]*>)(.*?)<\/p>/g,function(e,t,n){return n.match(/<p( [^>]*)?>/)?e:t+"<p>"+n+"</p>"}),t&&(e=e.replace(/<wp-line-break>/g,"\n")),e=n?e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>"):e}function i(e){e={o:t,data:e,unfiltered:e};return g&&g("body").trigger("beforePreWpautop",[e]),e.data=R(e.data),g&&g("body").trigger("afterPreWpautop",[e]),e.data}function a(e){e={o:t,data:e,unfiltered:e};return g&&g("body").trigger("beforeWpautop",[e]),e.data=r(e.data),g&&g("body").trigger("afterWpautop",[e]),e.data}return g(document).on("tinymce-editor-init.keep-scroll-position",function(e,t){t.$(".mce_SELRES_start").length&&_(t)}),g?g(e):document.addEventListener?(document.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)):window.attachEvent&&(window.attachEvent("onload",e),document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&e()})),u.editor.autop=a,u.editor.removep=i,t={go:n,wpautop:a,pre_wpautop:i,_wp_Autop:r,_wp_Nop:R}},u.editor.initialize=function(e,t){var n,r,i,a,o,c,s,d,p;g&&e&&u.editor.getDefaultSettings&&(p=u.editor.getDefaultSettings(),(t=t||{tinymce:!0}).tinymce&&t.quicktags&&(r=g("#"+e),i=g("<div>").attr({class:"wp-core-ui wp-editor-wrap tmce-active",id:"wp-"+e+"-wrap"}),a=g('<div class="wp-editor-container">'),o=g("<button>").attr({type:"button","data-wp-editor-id":e}),c=g('<div class="wp-editor-tools">'),t.mediaButtons&&(s="Add Media",window._wpMediaViewsL10n&&window._wpMediaViewsL10n.addMedia&&(s=window._wpMediaViewsL10n.addMedia),(d=g('<button type="button" class="button insert-media add_media">')).append('<span class="wp-media-buttons-icon" aria-hidden="true"></span>'),d.append(document.createTextNode(" "+s)),d.data("editor",e),c.append(g('<div class="wp-media-buttons">').append(d))),i.append(c.append(g('<div class="wp-editor-tabs">').append(o.clone().attr({id:e+"-tmce",class:"wp-switch-editor switch-tmce"}).text(window.tinymce.translate("Visual"))).append(o.attr({id:e+"-html",class:"wp-switch-editor switch-html"}).text(window.tinymce.translate("Code|tab")))).append(a)),r.after(i),a.append(r)),window.tinymce&&t.tinymce&&("object"!=typeof t.tinymce&&(t.tinymce={}),(n=g.extend({},p.tinymce,t.tinymce)).selector="#"+e,g(document).trigger("wp-before-tinymce-init",n),window.tinymce.init(n),window.wpActiveEditor||(window.wpActiveEditor=e)),window.quicktags)&&t.quicktags&&("object"!=typeof t.quicktags&&(t.quicktags={}),(n=g.extend({},p.quicktags,t.quicktags)).id=e,g(document).trigger("wp-before-quicktags-init",n),window.quicktags(n),window.wpActiveEditor||(window.wpActiveEditor=n.id))},u.editor.remove=function(e){var t,n=g("#wp-"+e+"-wrap");window.tinymce&&(t=window.tinymce.get(e))&&(t.isHidden()||t.save(),t.remove()),window.quicktags&&(t=window.QTags.getInstance(e))&&t.remove(),n.length&&(n.after(g("#"+e)),n.remove())},u.editor.getContent=function(e){var t;if(g&&e)return window.tinymce&&(t=window.tinymce.get(e))&&!t.isHidden()&&t.save(),g("#"+e).val()}}(window.jQuery,window.wp); widgets/media-image-widget.min.js 0000644 00000003750 15174671433 0012772 0 ustar 00 /*! This file is auto-generated */ !function(a,o){"use strict";var e=a.MediaWidgetModel.extend({}),t=a.MediaWidgetControl.extend({events:_.extend({},a.MediaWidgetControl.prototype.events,{"click .media-widget-preview.populated":"editMedia"}),renderPreview:function(){var e,t,i=this;(i.model.get("attachment_id")||i.model.get("url"))&&(t=i.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-image-preview"),t.html(e(i.previewTemplateProps.toJSON())),t.addClass("populated"),i.$el.find(".link").is(document.activeElement)||(e=i.$el.find(".media-widget-fields"),t=wp.template("wp-media-widget-image-fields"),e.html(t(i.previewTemplateProps.toJSON()))))},editMedia:function(){var i,e,a=this,t=a.mapModelToMediaFrameProps(a.model.toJSON());"none"===t.link&&(t.linkUrl=""),(i=wp.media({frame:"image",state:"image-details",metadata:t})).$el.addClass("media-widget"),t=function(){var e=i.state().attributes.image.toJSON(),t=e.link;e.link=e.linkUrl,a.selectedAttachment.set(e),a.displaySettings.set("link",t),a.model.set(_.extend(a.mapMediaToModelProps(e),{error:!1}))},i.state("image-details").on("update",t),i.state("replace-image").on("replace",t),e=wp.media.model.Attachment.prototype.sync,wp.media.model.Attachment.prototype.sync=function(){return o.Deferred().rejectWith(this).promise()},i.on("close",function(){i.detach(),wp.media.model.Attachment.prototype.sync=e}),i.open()},getEmbedResetProps:function(){return _.extend(a.MediaWidgetControl.prototype.getEmbedResetProps.call(this),{size:"full",width:0,height:0})},getModelPropsFromMediaFrame:function(e){return _.omit(a.MediaWidgetControl.prototype.getModelPropsFromMediaFrame.call(this,e),"image_title")},mapModelToPreviewTemplateProps:function(){var e=this,t=e.model.get("url"),i=a.MediaWidgetControl.prototype.mapModelToPreviewTemplateProps.call(e);return i.currentFilename=t?t.replace(/\?.*$/,"").replace(/^.+\//,""):"",i.link_url=e.model.get("link_url"),i}});a.controlConstructors.media_image=t,a.modelConstructors.media_image=e}(wp.mediaWidgets,jQuery); widgets/media-gallery-widget.js 0000644 00000024162 15174671433 0012565 0 ustar 00 /** * @output wp-admin/js/widgets/media-gallery-widget.js */ /* eslint consistent-this: [ "error", "control" ] */ (function( component ) { 'use strict'; var GalleryWidgetModel, GalleryWidgetControl, GalleryDetailsMediaFrame; /** * Custom gallery details frame. * * @since 4.9.0 * @class wp.mediaWidgets~GalleryDetailsMediaFrame * @augments wp.media.view.MediaFrame.Post */ GalleryDetailsMediaFrame = wp.media.view.MediaFrame.Post.extend(/** @lends wp.mediaWidgets~GalleryDetailsMediaFrame.prototype */{ /** * Create the default states. * * @since 4.9.0 * @return {void} */ createStates: function createStates() { this.states.add([ new wp.media.controller.Library({ id: 'gallery', title: wp.media.view.l10n.createGalleryTitle, priority: 40, toolbar: 'main-gallery', filterable: 'uploaded', multiple: 'add', editable: true, library: wp.media.query( _.defaults({ type: 'image' }, this.options.library ) ) }), // Gallery states. new wp.media.controller.GalleryEdit({ library: this.options.selection, editing: this.options.editing, menu: 'gallery' }), new wp.media.controller.GalleryAdd() ]); } } ); /** * Gallery widget model. * * See WP_Widget_Gallery::enqueue_admin_scripts() for amending prototype from PHP exports. * * @since 4.9.0 * * @class wp.mediaWidgets.modelConstructors.media_gallery * @augments wp.mediaWidgets.MediaWidgetModel */ GalleryWidgetModel = component.MediaWidgetModel.extend(/** @lends wp.mediaWidgets.modelConstructors.media_gallery.prototype */{} ); GalleryWidgetControl = component.MediaWidgetControl.extend(/** @lends wp.mediaWidgets.controlConstructors.media_gallery.prototype */{ /** * View events. * * @since 4.9.0 * @type {object} */ events: _.extend( {}, component.MediaWidgetControl.prototype.events, { 'click .media-widget-gallery-preview': 'editMedia' } ), /** * Gallery widget control. * * See WP_Widget_Gallery::enqueue_admin_scripts() for amending prototype from PHP exports. * * @constructs wp.mediaWidgets.controlConstructors.media_gallery * @augments wp.mediaWidgets.MediaWidgetControl * * @since 4.9.0 * @param {Object} options - Options. * @param {Backbone.Model} options.model - Model. * @param {jQuery} options.el - Control field container element. * @param {jQuery} options.syncContainer - Container element where fields are synced for the server. * @return {void} */ initialize: function initialize( options ) { var control = this; component.MediaWidgetControl.prototype.initialize.call( control, options ); _.bindAll( control, 'updateSelectedAttachments', 'handleAttachmentDestroy' ); control.selectedAttachments = new wp.media.model.Attachments(); control.model.on( 'change:ids', control.updateSelectedAttachments ); control.selectedAttachments.on( 'change', control.renderPreview ); control.selectedAttachments.on( 'reset', control.renderPreview ); control.updateSelectedAttachments(); /* * Refresh a Gallery widget partial when the user modifies one of the selected attachments. * This ensures that when an attachment's caption is updated in the media modal the Gallery * widget in the preview will then be refreshed to show the change. Normally doing this * would not be necessary because all of the state should be contained inside the changeset, * as everything done in the Customizer should not make a change to the site unless the * changeset itself is published. Attachments are a current exception to this rule. * For a proposal to include attachments in the customized state, see #37887. */ if ( wp.customize && wp.customize.previewer ) { control.selectedAttachments.on( 'change', function() { wp.customize.previewer.send( 'refresh-widget-partial', control.model.get( 'widget_id' ) ); } ); } }, /** * Update the selected attachments if necessary. * * @since 4.9.0 * @return {void} */ updateSelectedAttachments: function updateSelectedAttachments() { var control = this, newIds, oldIds, removedIds, addedIds, addedQuery; newIds = control.model.get( 'ids' ); oldIds = _.pluck( control.selectedAttachments.models, 'id' ); removedIds = _.difference( oldIds, newIds ); _.each( removedIds, function( removedId ) { control.selectedAttachments.remove( control.selectedAttachments.get( removedId ) ); }); addedIds = _.difference( newIds, oldIds ); if ( addedIds.length ) { addedQuery = wp.media.query({ order: 'ASC', orderby: 'post__in', perPage: -1, post__in: newIds, query: true, type: 'image' }); addedQuery.more().done( function() { control.selectedAttachments.reset( addedQuery.models ); }); } }, /** * Render preview. * * @since 4.9.0 * @return {void} */ renderPreview: function renderPreview() { var control = this, previewContainer, previewTemplate, data; previewContainer = control.$el.find( '.media-widget-preview' ); previewTemplate = wp.template( 'wp-media-widget-gallery-preview' ); data = control.previewTemplateProps.toJSON(); data.attachments = {}; control.selectedAttachments.each( function( attachment ) { data.attachments[ attachment.id ] = attachment.toJSON(); } ); previewContainer.html( previewTemplate( data ) ); }, /** * Determine whether there are selected attachments. * * @since 4.9.0 * @return {boolean} Selected. */ isSelected: function isSelected() { var control = this; if ( control.model.get( 'error' ) ) { return false; } return control.model.get( 'ids' ).length > 0; }, /** * Open the media select frame to edit images. * * @since 4.9.0 * @return {void} */ editMedia: function editMedia() { var control = this, selection, mediaFrame, mediaFrameProps; selection = new wp.media.model.Selection( control.selectedAttachments.models, { multiple: true }); mediaFrameProps = control.mapModelToMediaFrameProps( control.model.toJSON() ); selection.gallery = new Backbone.Model( mediaFrameProps ); if ( mediaFrameProps.size ) { control.displaySettings.set( 'size', mediaFrameProps.size ); } mediaFrame = new GalleryDetailsMediaFrame({ frame: 'manage', text: control.l10n.add_to_widget, selection: selection, mimeType: control.mime_type, selectedDisplaySettings: control.displaySettings, showDisplaySettings: control.showDisplaySettings, metadata: mediaFrameProps, editing: true, multiple: true, state: 'gallery-edit' }); wp.media.frame = mediaFrame; // See wp.media(). // Handle selection of a media item. mediaFrame.on( 'update', function onUpdate( newSelection ) { var state = mediaFrame.state(), resultSelection; resultSelection = newSelection || state.get( 'selection' ); if ( ! resultSelection ) { return; } // Copy orderby_random from gallery state. if ( resultSelection.gallery ) { control.model.set( control.mapMediaToModelProps( resultSelection.gallery.toJSON() ) ); } // Directly update selectedAttachments to prevent needing to do additional request. control.selectedAttachments.reset( resultSelection.models ); // Update models in the widget instance. control.model.set( { ids: _.pluck( resultSelection.models, 'id' ) } ); } ); mediaFrame.$el.addClass( 'media-widget' ); mediaFrame.open(); if ( selection ) { selection.on( 'destroy', control.handleAttachmentDestroy ); } }, /** * Open the media select frame to chose an item. * * @since 4.9.0 * @return {void} */ selectMedia: function selectMedia() { var control = this, selection, mediaFrame, mediaFrameProps; selection = new wp.media.model.Selection( control.selectedAttachments.models, { multiple: true }); mediaFrameProps = control.mapModelToMediaFrameProps( control.model.toJSON() ); if ( mediaFrameProps.size ) { control.displaySettings.set( 'size', mediaFrameProps.size ); } mediaFrame = new GalleryDetailsMediaFrame({ frame: 'select', text: control.l10n.add_to_widget, selection: selection, mimeType: control.mime_type, selectedDisplaySettings: control.displaySettings, showDisplaySettings: control.showDisplaySettings, metadata: mediaFrameProps, state: 'gallery' }); wp.media.frame = mediaFrame; // See wp.media(). // Handle selection of a media item. mediaFrame.on( 'update', function onUpdate( newSelection ) { var state = mediaFrame.state(), resultSelection; resultSelection = newSelection || state.get( 'selection' ); if ( ! resultSelection ) { return; } // Copy orderby_random from gallery state. if ( resultSelection.gallery ) { control.model.set( control.mapMediaToModelProps( resultSelection.gallery.toJSON() ) ); } // Directly update selectedAttachments to prevent needing to do additional request. control.selectedAttachments.reset( resultSelection.models ); // Update widget instance. control.model.set( { ids: _.pluck( resultSelection.models, 'id' ) } ); } ); mediaFrame.$el.addClass( 'media-widget' ); mediaFrame.open(); if ( selection ) { selection.on( 'destroy', control.handleAttachmentDestroy ); } /* * Make sure focus is set inside of modal so that hitting Esc will close * the modal and not inadvertently cause the widget to collapse in the customizer. */ mediaFrame.$el.find( ':focusable:first' ).focus(); }, /** * Clear the selected attachment when it is deleted in the media select frame. * * @since 4.9.0 * @param {wp.media.models.Attachment} attachment - Attachment. * @return {void} */ handleAttachmentDestroy: function handleAttachmentDestroy( attachment ) { var control = this; control.model.set( { ids: _.difference( control.model.get( 'ids' ), [ attachment.id ] ) } ); } } ); // Exports. component.controlConstructors.media_gallery = GalleryWidgetControl; component.modelConstructors.media_gallery = GalleryWidgetModel; })( wp.mediaWidgets ); widgets/media-image-widget.js 0000644 00000012534 15174671433 0012210 0 ustar 00 /** * @output wp-admin/js/widgets/media-image-widget.js */ /* eslint consistent-this: [ "error", "control" ] */ (function( component, $ ) { 'use strict'; var ImageWidgetModel, ImageWidgetControl; /** * Image widget model. * * See WP_Widget_Media_Image::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.modelConstructors.media_image * @augments wp.mediaWidgets.MediaWidgetModel */ ImageWidgetModel = component.MediaWidgetModel.extend({}); /** * Image widget control. * * See WP_Widget_Media_Image::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.controlConstructors.media_audio * @augments wp.mediaWidgets.MediaWidgetControl */ ImageWidgetControl = component.MediaWidgetControl.extend(/** @lends wp.mediaWidgets.controlConstructors.media_image.prototype */{ /** * View events. * * @type {object} */ events: _.extend( {}, component.MediaWidgetControl.prototype.events, { 'click .media-widget-preview.populated': 'editMedia' } ), /** * Render preview. * * @return {void} */ renderPreview: function renderPreview() { var control = this, previewContainer, previewTemplate, fieldsContainer, fieldsTemplate, linkInput; if ( ! control.model.get( 'attachment_id' ) && ! control.model.get( 'url' ) ) { return; } previewContainer = control.$el.find( '.media-widget-preview' ); previewTemplate = wp.template( 'wp-media-widget-image-preview' ); previewContainer.html( previewTemplate( control.previewTemplateProps.toJSON() ) ); previewContainer.addClass( 'populated' ); linkInput = control.$el.find( '.link' ); if ( ! linkInput.is( document.activeElement ) ) { fieldsContainer = control.$el.find( '.media-widget-fields' ); fieldsTemplate = wp.template( 'wp-media-widget-image-fields' ); fieldsContainer.html( fieldsTemplate( control.previewTemplateProps.toJSON() ) ); } }, /** * Open the media image-edit frame to modify the selected item. * * @return {void} */ editMedia: function editMedia() { var control = this, mediaFrame, updateCallback, defaultSync, metadata; metadata = control.mapModelToMediaFrameProps( control.model.toJSON() ); // Needed or else none will not be selected if linkUrl is not also empty. if ( 'none' === metadata.link ) { metadata.linkUrl = ''; } // Set up the media frame. mediaFrame = wp.media({ frame: 'image', state: 'image-details', metadata: metadata }); mediaFrame.$el.addClass( 'media-widget' ); updateCallback = function() { var mediaProps, linkType; // Update cached attachment object to avoid having to re-fetch. This also triggers re-rendering of preview. mediaProps = mediaFrame.state().attributes.image.toJSON(); linkType = mediaProps.link; mediaProps.link = mediaProps.linkUrl; control.selectedAttachment.set( mediaProps ); control.displaySettings.set( 'link', linkType ); control.model.set( _.extend( control.mapMediaToModelProps( mediaProps ), { error: false } ) ); }; mediaFrame.state( 'image-details' ).on( 'update', updateCallback ); mediaFrame.state( 'replace-image' ).on( 'replace', updateCallback ); // Disable syncing of attachment changes back to server. See <https://core.trac.wordpress.org/ticket/40403>. defaultSync = wp.media.model.Attachment.prototype.sync; wp.media.model.Attachment.prototype.sync = function rejectedSync() { return $.Deferred().rejectWith( this ).promise(); }; mediaFrame.on( 'close', function onClose() { mediaFrame.detach(); wp.media.model.Attachment.prototype.sync = defaultSync; }); mediaFrame.open(); }, /** * Get props which are merged on top of the model when an embed is chosen (as opposed to an attachment). * * @return {Object} Reset/override props. */ getEmbedResetProps: function getEmbedResetProps() { return _.extend( component.MediaWidgetControl.prototype.getEmbedResetProps.call( this ), { size: 'full', width: 0, height: 0 } ); }, /** * Get the instance props from the media selection frame. * * Prevent the image_title attribute from being initially set when adding an image from the media library. * * @param {wp.media.view.MediaFrame.Select} mediaFrame - Select frame. * @return {Object} Props. */ getModelPropsFromMediaFrame: function getModelPropsFromMediaFrame( mediaFrame ) { var control = this; return _.omit( component.MediaWidgetControl.prototype.getModelPropsFromMediaFrame.call( control, mediaFrame ), 'image_title' ); }, /** * Map model props to preview template props. * * @return {Object} Preview template props. */ mapModelToPreviewTemplateProps: function mapModelToPreviewTemplateProps() { var control = this, previewTemplateProps, url; url = control.model.get( 'url' ); previewTemplateProps = component.MediaWidgetControl.prototype.mapModelToPreviewTemplateProps.call( control ); previewTemplateProps.currentFilename = url ? url.replace( /\?.*$/, '' ).replace( /^.+\//, '' ) : ''; previewTemplateProps.link_url = control.model.get( 'link_url' ); return previewTemplateProps; } }); // Exports. component.controlConstructors.media_image = ImageWidgetControl; component.modelConstructors.media_image = ImageWidgetModel; })( wp.mediaWidgets, jQuery ); widgets/media-video-widget.min.js 0000644 00000005216 15174671433 0013015 0 ustar 00 /*! This file is auto-generated */ !function(t){"use strict";var i=wp.media.view.MediaFrame.VideoDetails.extend({createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"video",id:"add-video-source",title:wp.media.view.l10n.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new wp.media.controller.MediaLibrary({type:"text",id:"add-track",title:wp.media.view.l10n.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])}}),e=t.MediaWidgetModel.extend({}),d=t.MediaWidgetControl.extend({showDisplaySettings:!1,oembedResponses:{},mapModelToMediaFrameProps:function(e){e=t.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},fetchEmbed:function(){var t=this,d=t.model.get("url");t.oembedResponses[d]||(t.fetchEmbedDfd&&"pending"===t.fetchEmbedDfd.state()&&t.fetchEmbedDfd.abort(),t.fetchEmbedDfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:t.model.get("url"),maxwidth:t.model.get("width"),maxheight:t.model.get("height"),discover:!1},type:"GET",dataType:"json",context:t}),t.fetchEmbedDfd.done(function(e){t.oembedResponses[d]=e,t.renderPreview()}),t.fetchEmbedDfd.fail(function(){t.oembedResponses[d]=null}))},isHostedVideo:function(){return!0},renderPreview:function(){var e,t,d=this,i="",o=!1,a=d.model.get("attachment_id"),s=d.model.get("url"),m=d.model.get("error");(a||s)&&((t=d.selectedAttachment.get("mime"))&&a?_.contains(_.values(wp.media.view.settings.embedMimes),t)||(m="unsupported_file_type"):a||((t=document.createElement("a")).href=s,(t=t.pathname.toLowerCase().match(/\.(\w+)$/))?_.contains(_.keys(wp.media.view.settings.embedMimes),t[1])||(m="unsupported_file_type"):o=!0),o&&(d.fetchEmbed(),d.oembedResponses[s])&&(e=d.oembedResponses[s].thumbnail_url,i=d.oembedResponses[s].html.replace(/\swidth="\d+"/,' width="100%"').replace(/\sheight="\d+"/,"")),t=d.$el.find(".media-widget-preview"),d=wp.template("wp-media-widget-video-preview"),t.html(d({model:{attachment_id:a,html:i,src:s,poster:e},is_oembed:o,error:m})),wp.mediaelement.initialize())},editMedia:function(){var t=this,e=t.mapModelToMediaFrameProps(t.model.toJSON()),d=new i({frame:"video",state:"video-details",metadata:e});(wp.media.frame=d).$el.addClass("media-widget"),e=function(e){t.selectedAttachment.set(e),t.model.set(_.extend(_.omit(t.model.defaults(),"title"),t.mapMediaToModelProps(e),{error:!1}))},d.state("video-details").on("update",e),d.state("replace-video").on("replace",e),d.on("close",function(){d.detach()}),d.open()}});t.controlConstructors.media_video=d,t.modelConstructors.media_video=e}(wp.mediaWidgets); widgets/media-widgets.min.js 0000644 00000033641 15174671433 0012077 0 ustar 00 /*! This file is auto-generated */ wp.mediaWidgets=function(c){"use strict";var m={controlConstructors:{},modelConstructors:{}};return m.PersistentDisplaySettingsLibrary=wp.media.controller.Library.extend({initialize:function(e){_.bindAll(this,"handleDisplaySettingChange"),wp.media.controller.Library.prototype.initialize.call(this,e)},handleDisplaySettingChange:function(e){this.get("selectedDisplaySettings").set(e.attributes)},display:function(e){var t=this.get("selectedDisplaySettings"),e=wp.media.controller.Library.prototype.display.call(this,e);return e.off("change",this.handleDisplaySettingChange),e.set(t.attributes),"custom"===t.get("link_type")&&(e.linkUrl=t.get("link_url")),e.on("change",this.handleDisplaySettingChange),e}}),m.MediaEmbedView=wp.media.view.Embed.extend({initialize:function(e){var t=this;wp.media.view.Embed.prototype.initialize.call(t,e),"image"!==t.controller.options.mimeType&&(e=t.controller.states.get("embed")).off("scan",e.scanImage,e)},refresh:function(){var e="image"===this.controller.options.mimeType?wp.media.view.EmbedImage:wp.media.view.EmbedLink.extend({setAddToWidgetButtonDisabled:function(e){this.views.parent.views.parent.views.get(".media-frame-toolbar")[0].$el.find(".media-button-select").prop("disabled",e)},setErrorNotice:function(e){var t=this.views.parent.$el.find("> .notice:first-child");e?(t.length||((t=c('<div class="media-widget-embed-notice notice notice-error notice-alt" role="alert"></div>')).hide(),this.views.parent.$el.prepend(t)),t.empty(),t.append(c("<p>",{html:e})),t.slideDown("fast")):t.length&&t.slideUp("fast")},updateoEmbed:function(){var e=this,t=e.model.get("url");t?(t.match(/^(http|https):\/\/.+\//)||(e.controller.$el.find("#embed-url-field").addClass("invalid"),e.setAddToWidgetButtonDisabled(!0)),wp.media.view.EmbedLink.prototype.updateoEmbed.call(e)):(e.setErrorNotice(""),e.setAddToWidgetButtonDisabled(!0))},fetch:function(){var t,e,i=this,n=i.model.get("url");i.dfd&&"pending"===i.dfd.state()&&i.dfd.abort(),t=function(e){i.renderoEmbed({data:{body:e}}),i.controller.$el.find("#embed-url-field").removeClass("invalid"),i.setErrorNotice(""),i.setAddToWidgetButtonDisabled(!1)},(e=document.createElement("a")).href=n,(e=e.pathname.toLowerCase().match(/\.(\w+)$/))?(e=e[1],!wp.media.view.settings.embedMimes[e]||0!==wp.media.view.settings.embedMimes[e].indexOf(i.controller.options.mimeType)?i.renderFail():t("\x3c!--success--\x3e")):((e=/https?:\/\/www\.youtube\.com\/embed\/([^/]+)/.exec(n))&&(n="https://www.youtube.com/watch?v="+e[1],i.model.attributes.url=n),i.dfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:n,maxwidth:i.model.get("width"),maxheight:i.model.get("height"),discover:!1},type:"GET",dataType:"json",context:i}),i.dfd.done(function(e){i.controller.options.mimeType!==e.type?i.renderFail():t(e.html)}),i.dfd.fail(_.bind(i.renderFail,i)))},renderFail:function(){var e=this;e.controller.$el.find("#embed-url-field").addClass("invalid"),e.setErrorNotice(e.controller.options.invalidEmbedTypeError||"ERROR"),e.setAddToWidgetButtonDisabled(!0)}});this.settings(new e({controller:this.controller,model:this.model.props,priority:40}))}}),m.MediaFrameSelect=wp.media.view.MediaFrame.Post.extend({createStates:function(){var t=this.options.mimeType,i=[];_.each(wp.media.view.settings.embedMimes,function(e){0===e.indexOf(t)&&i.push(e)}),0<i.length&&(t=i),this.states.add([new m.PersistentDisplaySettingsLibrary({id:"insert",title:this.options.title,selection:this.options.selection,priority:20,toolbar:"main-insert",filterable:"dates",library:wp.media.query({type:t}),multiple:!1,editable:!0,selectedDisplaySettings:this.options.selectedDisplaySettings,displaySettings:!!_.isUndefined(this.options.showDisplaySettings)||this.options.showDisplaySettings,displayUserSettings:!1}),new wp.media.controller.EditImage({model:this.options.editImage}),new wp.media.controller.Embed({metadata:this.options.metadata,type:"image"===this.options.mimeType?"image":"link",invalidEmbedTypeError:this.options.invalidEmbedTypeError})])},mainInsertToolbar:function(e){var i=this;e.set("insert",{style:"primary",priority:80,text:i.options.text,requires:{selection:!0},click:function(){var e=i.state(),t=e.get("selection");i.close(),e.trigger("insert",t).reset()}})},mainEmbedToolbar:function(e){e.view=new wp.media.view.Toolbar.Embed({controller:this,text:this.options.text,event:"insert"})},embedContent:function(){var e=new m.MediaEmbedView({controller:this,model:this.state()}).render();this.content.set(e)}}),m.MediaWidgetControl=Backbone.View.extend({l10n:{add_to_widget:"{{add_to_widget}}",add_media:"{{add_media}}"},id_base:"",mime_type:"",events:{"click .notice-missing-attachment a":"handleMediaLibraryLinkClick","click .select-media":"selectMedia","click .placeholder":"selectMedia","click .edit-media":"editMedia"},showDisplaySettings:!0,initialize:function(e){var i=this;if(Backbone.View.prototype.initialize.call(i,e),!(i.model instanceof m.MediaWidgetModel))throw new Error("Missing options.model");if(!e.el)throw new Error("Missing options.el");if(!e.syncContainer)throw new Error("Missing options.syncContainer");if(i.syncContainer=e.syncContainer,i.$el.addClass("media-widget-control"),_.bindAll(i,"syncModelToInputs","render","updateSelectedAttachment","renderPreview"),!i.id_base&&(_.find(m.controlConstructors,function(e,t){return i instanceof e&&(i.id_base=t,!0)}),!i.id_base))throw new Error("Missing id_base.");i.previewTemplateProps=new Backbone.Model(i.mapModelToPreviewTemplateProps()),i.selectedAttachment=new wp.media.model.Attachment,i.renderPreview=_.debounce(i.renderPreview),i.listenTo(i.previewTemplateProps,"change",i.renderPreview),i.model.on("change:attachment_id",i.updateSelectedAttachment),i.model.on("change:url",i.updateSelectedAttachment),i.updateSelectedAttachment(),i.listenTo(i.model,"change",i.syncModelToInputs),i.listenTo(i.model,"change",i.syncModelToPreviewProps),i.listenTo(i.model,"change",i.render),i.$el.on("input change",".title",function(){i.model.set({title:c(this).val().trim()})}),i.$el.on("input change",".link",function(){var e=c(this).val().trim(),t="custom";i.selectedAttachment.get("linkUrl")===e||i.selectedAttachment.get("link")===e?t="post":i.selectedAttachment.get("url")===e&&(t="file"),i.model.set({link_url:e,link_type:t}),i.displaySettings.set({link:t,linkUrl:e})}),i.displaySettings=new Backbone.Model(_.pick(i.mapModelToMediaFrameProps(_.extend(i.model.defaults(),i.model.toJSON())),_.keys(wp.media.view.settings.defaultProps)))},updateSelectedAttachment:function(){var e,t=this;0===t.model.get("attachment_id")?(t.selectedAttachment.clear(),t.model.set("error",!1)):t.model.get("attachment_id")!==t.selectedAttachment.get("id")&&(e=new wp.media.model.Attachment({id:t.model.get("attachment_id")})).fetch().done(function(){t.model.set("error",!1),t.selectedAttachment.set(e.toJSON())}).fail(function(){t.model.set("error","missing_attachment")})},syncModelToPreviewProps:function(){this.previewTemplateProps.set(this.mapModelToPreviewTemplateProps())},syncModelToInputs:function(){var n=this;n.syncContainer.find(".media-widget-instance-property").each(function(){var e=c(this),t=e.data("property"),i=n.model.get(t);_.isUndefined(i)||(i="array"===n.model.schema[t].type&&_.isArray(i)?i.join(","):"boolean"===n.model.schema[t].type?i?"1":"":String(i),e.val()!==i&&(e.val(i),e.trigger("change")))})},template:function(){if(c("#tmpl-widget-media-"+this.id_base+"-control").length)return wp.template("widget-media-"+this.id_base+"-control");throw new Error("Missing widget control template for "+this.id_base)},render:function(){var e,t=this;t.templateRendered||(t.$el.html(t.template()(t.model.toJSON())),t.renderPreview(),t.templateRendered=!0),(e=t.$el.find(".title")).is(document.activeElement)||e.val(t.model.get("title")),t.$el.toggleClass("selected",t.isSelected())},renderPreview:function(){throw new Error("renderPreview must be implemented")},isSelected:function(){return!this.model.get("error")&&Boolean(this.model.get("attachment_id")||this.model.get("url"))},handleMediaLibraryLinkClick:function(e){e.preventDefault(),this.selectMedia()},selectMedia:function(){var i,t,e,n=this,d=[];n.isSelected()&&0!==n.model.get("attachment_id")&&d.push(n.selectedAttachment),d=new wp.media.model.Selection(d,{multiple:!1}),(e=n.mapModelToMediaFrameProps(n.model.toJSON())).size&&n.displaySettings.set("size",e.size),i=new m.MediaFrameSelect({title:n.l10n.add_media,frame:"post",text:n.l10n.add_to_widget,selection:d,mimeType:n.mime_type,selectedDisplaySettings:n.displaySettings,showDisplaySettings:n.showDisplaySettings,metadata:e,state:n.isSelected()&&0===n.model.get("attachment_id")?"embed":"insert",invalidEmbedTypeError:n.l10n.unsupported_file_type}),(wp.media.frame=i).on("insert",function(){var e={},t=i.state();"embed"===t.get("id")?_.extend(e,{id:0},t.props.toJSON()):_.extend(e,t.get("selection").first().toJSON()),n.selectedAttachment.set(e),n.model.set("error",!1),n.model.set(n.getModelPropsFromMediaFrame(i))}),t=wp.media.model.Attachment.prototype.sync,wp.media.model.Attachment.prototype.sync=function(e){return"delete"===e?t.apply(this,arguments):c.Deferred().rejectWith(this).promise()},i.on("close",function(){wp.media.model.Attachment.prototype.sync=t}),i.$el.addClass("media-widget"),i.open(),d&&d.on("destroy",function(e){n.model.get("attachment_id")===e.get("id")&&n.model.set({attachment_id:0,url:""})}),i.$el.find(".media-frame-menu .media-menu-item.active").focus()},getModelPropsFromMediaFrame:function(e){var t,i,n=this,d=e.state();if("insert"===d.get("id"))(t=d.get("selection").first().toJSON()).postUrl=t.link,n.showDisplaySettings&&_.extend(t,e.content.get(".attachments-browser").sidebar.get("display").model.toJSON()),t.sizes&&t.size&&t.sizes[t.size]&&(t.url=t.sizes[t.size].url);else{if("embed"!==d.get("id"))throw new Error("Unexpected state: "+d.get("id"));t=_.extend(d.props.toJSON(),{attachment_id:0},n.model.getEmbedResetProps())}return t.id&&(t.attachment_id=t.id),i=n.mapMediaToModelProps(t),_.each(wp.media.view.settings.embedExts,function(e){e in n.model.schema&&i.url!==i[e]&&(i[e]="")}),i},mapMediaToModelProps:function(e){var t,i=this,n={},d={};return _.each(i.model.schema,function(e,t){"title"!==t&&(n[e.media_prop||t]=t)}),_.each(e,function(e,t){t=n[t]||t;i.model.schema[t]&&(d[t]=e)}),"custom"===e.size&&(d.width=e.customWidth,d.height=e.customHeight),"post"===e.link?d.link_url=e.postUrl||e.linkUrl:"file"===e.link&&(d.link_url=e.url),!e.attachment_id&&e.id&&(d.attachment_id=e.id),e.url&&(t=e.url.replace(/#.*$/,"").replace(/\?.*$/,"").split(".").pop().toLowerCase())in i.model.schema&&(d[t]=e.url),_.omit(d,"title")},mapModelToMediaFrameProps:function(e){var n=this,d={};return _.each(e,function(e,t){var i=n.model.schema[t]||{};d[i.media_prop||t]=e}),d.attachment_id=d.id,"custom"===d.size&&(d.customWidth=n.model.get("width"),d.customHeight=n.model.get("height")),d},mapModelToPreviewTemplateProps:function(){var i=this,n={};return _.each(i.model.schema,function(e,t){e.hasOwnProperty("should_preview_update")&&!e.should_preview_update||(n[t]=i.model.get(t))}),n.error=i.model.get("error"),n},editMedia:function(){throw new Error("editMedia not implemented")}}),m.MediaWidgetModel=Backbone.Model.extend({idAttribute:"widget_id",schema:{title:{type:"string",default:""},attachment_id:{type:"integer",default:0},url:{type:"string",default:""}},defaults:function(){var i={};return _.each(this.schema,function(e,t){i[t]=e.default}),i},set:function(e,t,i){var n,d,o=this;return null===e?o:(e="object"==typeof e?(n=e,t):((n={})[e]=t,i),d={},_.each(n,function(e,t){var i;o.schema[t]?"array"===(i=o.schema[t].type)?(d[t]=e,_.isArray(d[t])||(d[t]=d[t].split(/,/)),o.schema[t].items&&"integer"===o.schema[t].items.type&&(d[t]=_.filter(_.map(d[t],function(e){return parseInt(e,10)},function(e){return"number"==typeof e})))):d[t]="integer"===i?parseInt(e,10):"boolean"===i?!(!e||"0"===e||"false"===e):e:d[t]=e}),Backbone.Model.prototype.set.call(this,d,e))},getEmbedResetProps:function(){return{id:0}}}),m.modelCollection=new(Backbone.Collection.extend({model:m.MediaWidgetModel})),m.widgetControls={},m.handleWidgetAdded=function(e,t){var i,n,d,o,a,s,r=t.find("> .widget-inside > .form, > .widget-inside > form"),l=r.find("> .id_base").val(),r=r.find("> .widget-id").val();m.widgetControls[r]||(d=m.controlConstructors[l])&&(l=m.modelConstructors[l]||m.MediaWidgetModel,i=c("<div></div>"),(n=t.find(".widget-content:first")).before(i),o={},n.find(".media-widget-instance-property").each(function(){var e=c(this);o[e.data("property")]=e.val()}),o.widget_id=r,r=new l(o),a=new d({el:i,syncContainer:n,model:r}),(s=function(){t.hasClass("open")?a.render():setTimeout(s,50)})(),m.modelCollection.add([r]),m.widgetControls[r.get("widget_id")]=a)},m.setupAccessibleMode=function(){var e,t,i,n,d,o=c(".editwidget > form");0!==o.length&&(i=o.find(".id_base").val(),t=m.controlConstructors[i])&&(e=o.find("> .widget-control-actions > .widget-id").val(),i=m.modelConstructors[i]||m.MediaWidgetModel,d=c("<div></div>"),(o=o.find("> .widget-inside")).before(d),n={},o.find(".media-widget-instance-property").each(function(){var e=c(this);n[e.data("property")]=e.val()}),n.widget_id=e,e=new t({el:d,syncContainer:o,model:new i(n)}),m.modelCollection.add([e.model]),(m.widgetControls[e.model.get("widget_id")]=e).render())},m.handleWidgetUpdated=function(e,t){var i={},t=t.find("> .widget-inside > .form, > .widget-inside > form"),n=t.find("> .widget-id").val(),n=m.widgetControls[n];n&&(t.find("> .widget-content").find(".media-widget-instance-property").each(function(){var e=c(this).data("property");i[e]=c(this).val()}),n.stopListening(n.model,"change",n.syncModelToInputs),n.model.set(i),n.listenTo(n.model,"change",n.syncModelToInputs))},m.init=function(){var e=c(document);e.on("widget-added",m.handleWidgetAdded),e.on("widget-synced widget-updated",m.handleWidgetUpdated),c(function(){"widgets"===window.pagenow&&(c(".widgets-holder-wrap:not(#available-widgets)").find("div.widget").one("click.toggle-widget-expanded",function(){var e=c(this);m.handleWidgetAdded(new jQuery.Event("widget-added"),e)}),"complete"===document.readyState?m.setupAccessibleMode():c(window).on("load",function(){m.setupAccessibleMode()}))})},m}(jQuery); widgets/media-audio-widget.js 0000644 00000010274 15174671433 0012226 0 ustar 00 /** * @output wp-admin/js/widgets/media-audio-widget.js */ /* eslint consistent-this: [ "error", "control" ] */ (function( component ) { 'use strict'; var AudioWidgetModel, AudioWidgetControl, AudioDetailsMediaFrame; /** * Custom audio details frame that removes the replace-audio state. * * @class wp.mediaWidgets.controlConstructors~AudioDetailsMediaFrame * @augments wp.media.view.MediaFrame.AudioDetails */ AudioDetailsMediaFrame = wp.media.view.MediaFrame.AudioDetails.extend(/** @lends wp.mediaWidgets.controlConstructors~AudioDetailsMediaFrame.prototype */{ /** * Create the default states. * * @return {void} */ createStates: function createStates() { this.states.add([ new wp.media.controller.AudioDetails({ media: this.media }), new wp.media.controller.MediaLibrary({ type: 'audio', id: 'add-audio-source', title: wp.media.view.l10n.audioAddSourceTitle, toolbar: 'add-audio-source', media: this.media, menu: false }) ]); } }); /** * Audio widget model. * * See WP_Widget_Audio::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.modelConstructors.media_audio * @augments wp.mediaWidgets.MediaWidgetModel */ AudioWidgetModel = component.MediaWidgetModel.extend({}); /** * Audio widget control. * * See WP_Widget_Audio::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.controlConstructors.media_audio * @augments wp.mediaWidgets.MediaWidgetControl */ AudioWidgetControl = component.MediaWidgetControl.extend(/** @lends wp.mediaWidgets.controlConstructors.media_audio.prototype */{ /** * Show display settings. * * @type {boolean} */ showDisplaySettings: false, /** * Map model props to media frame props. * * @param {Object} modelProps - Model props. * @return {Object} Media frame props. */ mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) { var control = this, mediaFrameProps; mediaFrameProps = component.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call( control, modelProps ); mediaFrameProps.link = 'embed'; return mediaFrameProps; }, /** * Render preview. * * @return {void} */ renderPreview: function renderPreview() { var control = this, previewContainer, previewTemplate, attachmentId, attachmentUrl; attachmentId = control.model.get( 'attachment_id' ); attachmentUrl = control.model.get( 'url' ); if ( ! attachmentId && ! attachmentUrl ) { return; } previewContainer = control.$el.find( '.media-widget-preview' ); previewTemplate = wp.template( 'wp-media-widget-audio-preview' ); previewContainer.html( previewTemplate({ model: { attachment_id: control.model.get( 'attachment_id' ), src: attachmentUrl }, error: control.model.get( 'error' ) })); wp.mediaelement.initialize(); }, /** * Open the media audio-edit frame to modify the selected item. * * @return {void} */ editMedia: function editMedia() { var control = this, mediaFrame, metadata, updateCallback; metadata = control.mapModelToMediaFrameProps( control.model.toJSON() ); // Set up the media frame. mediaFrame = new AudioDetailsMediaFrame({ frame: 'audio', state: 'audio-details', metadata: metadata }); wp.media.frame = mediaFrame; mediaFrame.$el.addClass( 'media-widget' ); updateCallback = function( mediaFrameProps ) { // Update cached attachment object to avoid having to re-fetch. This also triggers re-rendering of preview. control.selectedAttachment.set( mediaFrameProps ); control.model.set( _.extend( control.model.defaults(), control.mapMediaToModelProps( mediaFrameProps ), { error: false } ) ); }; mediaFrame.state( 'audio-details' ).on( 'update', updateCallback ); mediaFrame.state( 'replace-audio' ).on( 'replace', updateCallback ); mediaFrame.on( 'close', function() { mediaFrame.detach(); }); mediaFrame.open(); } }); // Exports. component.controlConstructors.media_audio = AudioWidgetControl; component.modelConstructors.media_audio = AudioWidgetModel; })( wp.mediaWidgets ); widgets/custom-html-widgets.min.js 0000644 00000012716 15174671433 0013274 0 ustar 00 /*! This file is auto-generated */ wp.customHtmlWidgets=function(a){"use strict";var s={idBases:["custom_html"],codeEditorSettings:{},l10n:{errorNotice:{singular:"",plural:""}}};return s.CustomHtmlWidgetControl=Backbone.View.extend({events:{},initialize:function(e){var n=this;if(!e.el)throw new Error("Missing options.el");if(!e.syncContainer)throw new Error("Missing options.syncContainer");Backbone.View.prototype.initialize.call(n,e),n.syncContainer=e.syncContainer,n.widgetIdBase=n.syncContainer.parent().find(".id_base").val(),n.widgetNumber=n.syncContainer.parent().find(".widget_number").val(),n.customizeSettingId="widget_"+n.widgetIdBase+"["+String(n.widgetNumber)+"]",n.$el.addClass("custom-html-widget-fields"),n.$el.html(wp.template("widget-custom-html-control-fields")({codeEditorDisabled:s.codeEditorSettings.disabled})),n.errorNoticeContainer=n.$el.find(".code-editor-error-container"),n.currentErrorAnnotations=[],n.saveButton=n.syncContainer.add(n.syncContainer.parent().find(".widget-control-actions")).find(".widget-control-save, #savewidget"),n.saveButton.addClass("custom-html-widget-save-button"),n.fields={title:n.$el.find(".title"),content:n.$el.find(".content")},_.each(n.fields,function(t,i){t.on("input change",function(){var e=n.syncContainer.find(".sync-input."+i);e.val()!==t.val()&&(e.val(t.val()),e.trigger("change"))}),t.val(n.syncContainer.find(".sync-input."+i).val())})},updateFields:function(){var e,t=this;t.fields.title.is(document.activeElement)||(e=t.syncContainer.find(".sync-input.title"),t.fields.title.val(e.val())),t.contentUpdateBypassed=t.fields.content.is(document.activeElement)||t.editor&&t.editor.codemirror.state.focused||0!==t.currentErrorAnnotations.length,t.contentUpdateBypassed||(e=t.syncContainer.find(".sync-input.content"),t.fields.content.val(e.val()))},updateErrorNotice:function(e){var t,i=this,n="";1===e.length?n=s.l10n.errorNotice.singular.replace("%d","1"):1<e.length&&(n=s.l10n.errorNotice.plural.replace("%d",String(e.length))),i.fields.content[0].setCustomValidity&&i.fields.content[0].setCustomValidity(n),wp.customize&&wp.customize.has(i.customizeSettingId)?((t=wp.customize(i.customizeSettingId)).notifications.remove("htmlhint_error"),0!==e.length&&t.notifications.add("htmlhint_error",new wp.customize.Notification("htmlhint_error",{message:n,type:"error"}))):0!==e.length?((t=a('<div class="inline notice notice-error notice-alt" role="alert"></div>')).append(a("<p></p>",{text:n})),i.errorNoticeContainer.empty(),i.errorNoticeContainer.append(t),i.errorNoticeContainer.slideDown("fast"),wp.a11y.speak(n)):i.errorNoticeContainer.slideUp("fast")},initializeEditor:function(){var e,t=this;s.codeEditorSettings.disabled||(e=_.extend({},s.codeEditorSettings,{onTabPrevious:function(){t.fields.title.focus()},onTabNext:function(){t.syncContainer.add(t.syncContainer.parent().find(".widget-position, .widget-control-actions")).find(":tabbable").first().focus()},onChangeLintingErrors:function(e){t.currentErrorAnnotations=e},onUpdateErrorNotice:function(e){t.saveButton.toggleClass("validation-blocked disabled",0<e.length),t.updateErrorNotice(e)}}),t.editor=wp.codeEditor.initialize(t.fields.content,e),a(t.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-labelledby":t.fields.content[0].id+"-label","aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),a("#"+t.fields.content[0].id+"-label").on("click",function(){t.editor.codemirror.focus()}),t.fields.content.on("change",function(){this.value!==t.editor.codemirror.getValue()&&t.editor.codemirror.setValue(this.value)}),t.editor.codemirror.on("change",function(){var e=t.editor.codemirror.getValue();e!==t.fields.content.val()&&t.fields.content.val(e).trigger("change")}),t.editor.codemirror.on("blur",function(){t.contentUpdateBypassed&&t.syncContainer.find(".sync-input.content").trigger("change")}),wp.customize&&t.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()}))}}),s.widgetControls={},s.handleWidgetAdded=function(e,t){var i,n,o,d=t.find("> .widget-inside > .form, > .widget-inside > form"),r=d.find("> .id_base").val();-1===s.idBases.indexOf(r)||(r=d.find(".widget-id").val(),s.widgetControls[r])||(d=a("<div></div>"),(o=t.find(".widget-content:first")).before(d),i=new s.CustomHtmlWidgetControl({el:d,syncContainer:o}),s.widgetControls[r]=i,(n=function(){(wp.customize?t.parent().hasClass("expanded"):t.hasClass("open"))?i.initializeEditor():setTimeout(n,50)})())},s.setupAccessibleMode=function(){var e,t=a(".editwidget > form");0!==t.length&&(e=t.find(".id_base").val(),-1!==s.idBases.indexOf(e))&&(e=a("<div></div>"),(t=t.find("> .widget-inside")).before(e),new s.CustomHtmlWidgetControl({el:e,syncContainer:t}).initializeEditor())},s.handleWidgetUpdated=function(e,t){var t=t.find("> .widget-inside > .form, > .widget-inside > form"),i=t.find("> .id_base").val();-1!==s.idBases.indexOf(i)&&(i=t.find("> .widget-id").val(),t=s.widgetControls[i])&&t.updateFields()},s.init=function(e){var t=a(document);_.extend(s.codeEditorSettings,e),t.on("widget-added",s.handleWidgetAdded),t.on("widget-synced widget-updated",s.handleWidgetUpdated),a(function(){"widgets"===window.pagenow&&(a(".widgets-holder-wrap:not(#available-widgets)").find("div.widget").one("click.toggle-widget-expanded",function(){var e=a(this);s.handleWidgetAdded(new jQuery.Event("widget-added"),e)}),"complete"===document.readyState?s.setupAccessibleMode():a(window).on("load",function(){s.setupAccessibleMode()}))})},s}(jQuery); widgets/media-widgets.js 0000644 00000123560 15174671433 0011315 0 ustar 00 /** * @output wp-admin/js/widgets/media-widgets.js */ /* eslint consistent-this: [ "error", "control" ] */ /** * @namespace wp.mediaWidgets * @memberOf wp */ wp.mediaWidgets = ( function( $ ) { 'use strict'; var component = {}; /** * Widget control (view) constructors, mapping widget id_base to subclass of MediaWidgetControl. * * Media widgets register themselves by assigning subclasses of MediaWidgetControl onto this object by widget ID base. * * @memberOf wp.mediaWidgets * * @type {Object.<string, wp.mediaWidgets.MediaWidgetModel>} */ component.controlConstructors = {}; /** * Widget model constructors, mapping widget id_base to subclass of MediaWidgetModel. * * Media widgets register themselves by assigning subclasses of MediaWidgetControl onto this object by widget ID base. * * @memberOf wp.mediaWidgets * * @type {Object.<string, wp.mediaWidgets.MediaWidgetModel>} */ component.modelConstructors = {}; component.PersistentDisplaySettingsLibrary = wp.media.controller.Library.extend(/** @lends wp.mediaWidgets.PersistentDisplaySettingsLibrary.prototype */{ /** * Library which persists the customized display settings across selections. * * @constructs wp.mediaWidgets.PersistentDisplaySettingsLibrary * @augments wp.media.controller.Library * * @param {Object} options - Options. * * @return {void} */ initialize: function initialize( options ) { _.bindAll( this, 'handleDisplaySettingChange' ); wp.media.controller.Library.prototype.initialize.call( this, options ); }, /** * Sync changes to the current display settings back into the current customized. * * @param {Backbone.Model} displaySettings - Modified display settings. * @return {void} */ handleDisplaySettingChange: function handleDisplaySettingChange( displaySettings ) { this.get( 'selectedDisplaySettings' ).set( displaySettings.attributes ); }, /** * Get the display settings model. * * Model returned is updated with the current customized display settings, * and an event listener is added so that changes made to the settings * will sync back into the model storing the session's customized display * settings. * * @param {Backbone.Model} model - Display settings model. * @return {Backbone.Model} Display settings model. */ display: function getDisplaySettingsModel( model ) { var display, selectedDisplaySettings = this.get( 'selectedDisplaySettings' ); display = wp.media.controller.Library.prototype.display.call( this, model ); display.off( 'change', this.handleDisplaySettingChange ); // Prevent duplicated event handlers. display.set( selectedDisplaySettings.attributes ); if ( 'custom' === selectedDisplaySettings.get( 'link_type' ) ) { display.linkUrl = selectedDisplaySettings.get( 'link_url' ); } display.on( 'change', this.handleDisplaySettingChange ); return display; } }); /** * Extended view for managing the embed UI. * * @class wp.mediaWidgets.MediaEmbedView * @augments wp.media.view.Embed */ component.MediaEmbedView = wp.media.view.Embed.extend(/** @lends wp.mediaWidgets.MediaEmbedView.prototype */{ /** * Initialize. * * @since 4.9.0 * * @param {Object} options - Options. * @return {void} */ initialize: function( options ) { var view = this, embedController; // eslint-disable-line consistent-this wp.media.view.Embed.prototype.initialize.call( view, options ); if ( 'image' !== view.controller.options.mimeType ) { embedController = view.controller.states.get( 'embed' ); embedController.off( 'scan', embedController.scanImage, embedController ); } }, /** * Refresh embed view. * * Forked override of {wp.media.view.Embed#refresh()} to suppress irrelevant "link text" field. * * @return {void} */ refresh: function refresh() { /** * @class wp.mediaWidgets~Constructor */ var Constructor; if ( 'image' === this.controller.options.mimeType ) { Constructor = wp.media.view.EmbedImage; } else { // This should be eliminated once #40450 lands of when this is merged into core. Constructor = wp.media.view.EmbedLink.extend(/** @lends wp.mediaWidgets~Constructor.prototype */{ /** * Set the disabled state on the Add to Widget button. * * @param {boolean} disabled - Disabled. * @return {void} */ setAddToWidgetButtonDisabled: function setAddToWidgetButtonDisabled( disabled ) { this.views.parent.views.parent.views.get( '.media-frame-toolbar' )[0].$el.find( '.media-button-select' ).prop( 'disabled', disabled ); }, /** * Set or clear an error notice. * * @param {string} notice - Notice. * @return {void} */ setErrorNotice: function setErrorNotice( notice ) { var embedLinkView = this, noticeContainer; // eslint-disable-line consistent-this noticeContainer = embedLinkView.views.parent.$el.find( '> .notice:first-child' ); if ( ! notice ) { if ( noticeContainer.length ) { noticeContainer.slideUp( 'fast' ); } } else { if ( ! noticeContainer.length ) { noticeContainer = $( '<div class="media-widget-embed-notice notice notice-error notice-alt" role="alert"></div>' ); noticeContainer.hide(); embedLinkView.views.parent.$el.prepend( noticeContainer ); } noticeContainer.empty(); noticeContainer.append( $( '<p>', { html: notice })); noticeContainer.slideDown( 'fast' ); } }, /** * Update oEmbed. * * @since 4.9.0 * * @return {void} */ updateoEmbed: function() { var embedLinkView = this, url; // eslint-disable-line consistent-this url = embedLinkView.model.get( 'url' ); // Abort if the URL field was emptied out. if ( ! url ) { embedLinkView.setErrorNotice( '' ); embedLinkView.setAddToWidgetButtonDisabled( true ); return; } if ( ! url.match( /^(http|https):\/\/.+\// ) ) { embedLinkView.controller.$el.find( '#embed-url-field' ).addClass( 'invalid' ); embedLinkView.setAddToWidgetButtonDisabled( true ); } wp.media.view.EmbedLink.prototype.updateoEmbed.call( embedLinkView ); }, /** * Fetch media. * * @return {void} */ fetch: function() { var embedLinkView = this, fetchSuccess, matches, fileExt, urlParser, url, re, youTubeEmbedMatch; // eslint-disable-line consistent-this url = embedLinkView.model.get( 'url' ); if ( embedLinkView.dfd && 'pending' === embedLinkView.dfd.state() ) { embedLinkView.dfd.abort(); } fetchSuccess = function( response ) { embedLinkView.renderoEmbed({ data: { body: response } }); embedLinkView.controller.$el.find( '#embed-url-field' ).removeClass( 'invalid' ); embedLinkView.setErrorNotice( '' ); embedLinkView.setAddToWidgetButtonDisabled( false ); }; urlParser = document.createElement( 'a' ); urlParser.href = url; matches = urlParser.pathname.toLowerCase().match( /\.(\w+)$/ ); if ( matches ) { fileExt = matches[1]; if ( ! wp.media.view.settings.embedMimes[ fileExt ] ) { embedLinkView.renderFail(); } else if ( 0 !== wp.media.view.settings.embedMimes[ fileExt ].indexOf( embedLinkView.controller.options.mimeType ) ) { embedLinkView.renderFail(); } else { fetchSuccess( '<!--success-->' ); } return; } // Support YouTube embed links. re = /https?:\/\/www\.youtube\.com\/embed\/([^/]+)/; youTubeEmbedMatch = re.exec( url ); if ( youTubeEmbedMatch ) { url = 'https://www.youtube.com/watch?v=' + youTubeEmbedMatch[ 1 ]; // silently change url to proper oembed-able version. embedLinkView.model.attributes.url = url; } embedLinkView.dfd = wp.apiRequest({ url: wp.media.view.settings.oEmbedProxyUrl, data: { url: url, maxwidth: embedLinkView.model.get( 'width' ), maxheight: embedLinkView.model.get( 'height' ), discover: false }, type: 'GET', dataType: 'json', context: embedLinkView }); embedLinkView.dfd.done( function( response ) { if ( embedLinkView.controller.options.mimeType !== response.type ) { embedLinkView.renderFail(); return; } fetchSuccess( response.html ); }); embedLinkView.dfd.fail( _.bind( embedLinkView.renderFail, embedLinkView ) ); }, /** * Handle render failure. * * Overrides the {EmbedLink#renderFail()} method to prevent showing the "Link Text" field. * The element is getting display:none in the stylesheet, but the underlying method uses * uses {jQuery.fn.show()} which adds an inline style. This avoids the need for !important. * * @return {void} */ renderFail: function renderFail() { var embedLinkView = this; // eslint-disable-line consistent-this embedLinkView.controller.$el.find( '#embed-url-field' ).addClass( 'invalid' ); embedLinkView.setErrorNotice( embedLinkView.controller.options.invalidEmbedTypeError || 'ERROR' ); embedLinkView.setAddToWidgetButtonDisabled( true ); } }); } this.settings( new Constructor({ controller: this.controller, model: this.model.props, priority: 40 })); } }); /** * Custom media frame for selecting uploaded media or providing media by URL. * * @class wp.mediaWidgets.MediaFrameSelect * @augments wp.media.view.MediaFrame.Post */ component.MediaFrameSelect = wp.media.view.MediaFrame.Post.extend(/** @lends wp.mediaWidgets.MediaFrameSelect.prototype */{ /** * Create the default states. * * @return {void} */ createStates: function createStates() { var mime = this.options.mimeType, specificMimes = []; _.each( wp.media.view.settings.embedMimes, function( embedMime ) { if ( 0 === embedMime.indexOf( mime ) ) { specificMimes.push( embedMime ); } }); if ( specificMimes.length > 0 ) { mime = specificMimes; } this.states.add([ // Main states. new component.PersistentDisplaySettingsLibrary({ id: 'insert', title: this.options.title, selection: this.options.selection, priority: 20, toolbar: 'main-insert', filterable: 'dates', library: wp.media.query({ type: mime }), multiple: false, editable: true, selectedDisplaySettings: this.options.selectedDisplaySettings, displaySettings: _.isUndefined( this.options.showDisplaySettings ) ? true : this.options.showDisplaySettings, displayUserSettings: false // We use the display settings from the current/default widget instance props. }), new wp.media.controller.EditImage({ model: this.options.editImage }), // Embed states. new wp.media.controller.Embed({ metadata: this.options.metadata, type: 'image' === this.options.mimeType ? 'image' : 'link', invalidEmbedTypeError: this.options.invalidEmbedTypeError }) ]); }, /** * Main insert toolbar. * * Forked override of {wp.media.view.MediaFrame.Post#mainInsertToolbar()} to override text. * * @param {wp.Backbone.View} view - Toolbar view. * @this {wp.media.controller.Library} * @return {void} */ mainInsertToolbar: function mainInsertToolbar( view ) { var controller = this; // eslint-disable-line consistent-this view.set( 'insert', { style: 'primary', priority: 80, text: controller.options.text, // The whole reason for the fork. requires: { selection: true }, /** * Handle click. * * @ignore * * @fires wp.media.controller.State#insert() * @return {void} */ click: function onClick() { var state = controller.state(), selection = state.get( 'selection' ); controller.close(); state.trigger( 'insert', selection ).reset(); } }); }, /** * Main embed toolbar. * * Forked override of {wp.media.view.MediaFrame.Post#mainEmbedToolbar()} to override text. * * @param {wp.Backbone.View} toolbar - Toolbar view. * @this {wp.media.controller.Library} * @return {void} */ mainEmbedToolbar: function mainEmbedToolbar( toolbar ) { toolbar.view = new wp.media.view.Toolbar.Embed({ controller: this, text: this.options.text, event: 'insert' }); }, /** * Embed content. * * Forked override of {wp.media.view.MediaFrame.Post#embedContent()} to suppress irrelevant "link text" field. * * @return {void} */ embedContent: function embedContent() { var view = new component.MediaEmbedView({ controller: this, model: this.state() }).render(); this.content.set( view ); } }); component.MediaWidgetControl = Backbone.View.extend(/** @lends wp.mediaWidgets.MediaWidgetControl.prototype */{ /** * Translation strings. * * The mapping of translation strings is handled by media widget subclasses, * exported from PHP to JS such as is done in WP_Widget_Media_Image::enqueue_admin_scripts(). * * @type {Object} */ l10n: { add_to_widget: '{{add_to_widget}}', add_media: '{{add_media}}' }, /** * Widget ID base. * * This may be defined by the subclass. It may be exported from PHP to JS * such as is done in WP_Widget_Media_Image::enqueue_admin_scripts(). If not, * it will attempt to be discovered by looking to see if this control * instance extends each member of component.controlConstructors, and if * it does extend one, will use the key as the id_base. * * @type {string} */ id_base: '', /** * Mime type. * * This must be defined by the subclass. It may be exported from PHP to JS * such as is done in WP_Widget_Media_Image::enqueue_admin_scripts(). * * @type {string} */ mime_type: '', /** * View events. * * @type {Object} */ events: { 'click .notice-missing-attachment a': 'handleMediaLibraryLinkClick', 'click .select-media': 'selectMedia', 'click .placeholder': 'selectMedia', 'click .edit-media': 'editMedia' }, /** * Show display settings. * * @type {boolean} */ showDisplaySettings: true, /** * Media Widget Control. * * @constructs wp.mediaWidgets.MediaWidgetControl * @augments Backbone.View * @abstract * * @param {Object} options - Options. * @param {Backbone.Model} options.model - Model. * @param {jQuery} options.el - Control field container element. * @param {jQuery} options.syncContainer - Container element where fields are synced for the server. * * @return {void} */ initialize: function initialize( options ) { var control = this; Backbone.View.prototype.initialize.call( control, options ); if ( ! ( control.model instanceof component.MediaWidgetModel ) ) { throw new Error( 'Missing options.model' ); } if ( ! options.el ) { throw new Error( 'Missing options.el' ); } if ( ! options.syncContainer ) { throw new Error( 'Missing options.syncContainer' ); } control.syncContainer = options.syncContainer; control.$el.addClass( 'media-widget-control' ); // Allow methods to be passed in with control context preserved. _.bindAll( control, 'syncModelToInputs', 'render', 'updateSelectedAttachment', 'renderPreview' ); if ( ! control.id_base ) { _.find( component.controlConstructors, function( Constructor, idBase ) { if ( control instanceof Constructor ) { control.id_base = idBase; return true; } return false; }); if ( ! control.id_base ) { throw new Error( 'Missing id_base.' ); } } // Track attributes needed to renderPreview in it's own model. control.previewTemplateProps = new Backbone.Model( control.mapModelToPreviewTemplateProps() ); // Re-render the preview when the attachment changes. control.selectedAttachment = new wp.media.model.Attachment(); control.renderPreview = _.debounce( control.renderPreview ); control.listenTo( control.previewTemplateProps, 'change', control.renderPreview ); // Make sure a copy of the selected attachment is always fetched. control.model.on( 'change:attachment_id', control.updateSelectedAttachment ); control.model.on( 'change:url', control.updateSelectedAttachment ); control.updateSelectedAttachment(); /* * Sync the widget instance model attributes onto the hidden inputs that widgets currently use to store the state. * In the future, when widgets are JS-driven, the underlying widget instance data should be exposed as a model * from the start, without having to sync with hidden fields. See <https://core.trac.wordpress.org/ticket/33507>. */ control.listenTo( control.model, 'change', control.syncModelToInputs ); control.listenTo( control.model, 'change', control.syncModelToPreviewProps ); control.listenTo( control.model, 'change', control.render ); // Update the title. control.$el.on( 'input change', '.title', function updateTitle() { control.model.set({ title: $( this ).val().trim() }); }); // Update link_url attribute. control.$el.on( 'input change', '.link', function updateLinkUrl() { var linkUrl = $( this ).val().trim(), linkType = 'custom'; if ( control.selectedAttachment.get( 'linkUrl' ) === linkUrl || control.selectedAttachment.get( 'link' ) === linkUrl ) { linkType = 'post'; } else if ( control.selectedAttachment.get( 'url' ) === linkUrl ) { linkType = 'file'; } control.model.set( { link_url: linkUrl, link_type: linkType }); // Update display settings for the next time the user opens to select from the media library. control.displaySettings.set( { link: linkType, linkUrl: linkUrl }); }); /* * Copy current display settings from the widget model to serve as basis * of customized display settings for the current media frame session. * Changes to display settings will be synced into this model, and * when a new selection is made, the settings from this will be synced * into that AttachmentDisplay's model to persist the setting changes. */ control.displaySettings = new Backbone.Model( _.pick( control.mapModelToMediaFrameProps( _.extend( control.model.defaults(), control.model.toJSON() ) ), _.keys( wp.media.view.settings.defaultProps ) ) ); }, /** * Update the selected attachment if necessary. * * @return {void} */ updateSelectedAttachment: function updateSelectedAttachment() { var control = this, attachment; if ( 0 === control.model.get( 'attachment_id' ) ) { control.selectedAttachment.clear(); control.model.set( 'error', false ); } else if ( control.model.get( 'attachment_id' ) !== control.selectedAttachment.get( 'id' ) ) { attachment = new wp.media.model.Attachment({ id: control.model.get( 'attachment_id' ) }); attachment.fetch() .done( function done() { control.model.set( 'error', false ); control.selectedAttachment.set( attachment.toJSON() ); }) .fail( function fail() { control.model.set( 'error', 'missing_attachment' ); }); } }, /** * Sync the model attributes to the hidden inputs, and update previewTemplateProps. * * @return {void} */ syncModelToPreviewProps: function syncModelToPreviewProps() { var control = this; control.previewTemplateProps.set( control.mapModelToPreviewTemplateProps() ); }, /** * Sync the model attributes to the hidden inputs, and update previewTemplateProps. * * @return {void} */ syncModelToInputs: function syncModelToInputs() { var control = this; control.syncContainer.find( '.media-widget-instance-property' ).each( function() { var input = $( this ), value, propertyName; propertyName = input.data( 'property' ); value = control.model.get( propertyName ); if ( _.isUndefined( value ) ) { return; } if ( 'array' === control.model.schema[ propertyName ].type && _.isArray( value ) ) { value = value.join( ',' ); } else if ( 'boolean' === control.model.schema[ propertyName ].type ) { value = value ? '1' : ''; // Because in PHP, strval( true ) === '1' && strval( false ) === ''. } else { value = String( value ); } if ( input.val() !== value ) { input.val( value ); input.trigger( 'change' ); } }); }, /** * Get template. * * @return {Function} Template. */ template: function template() { var control = this; if ( ! $( '#tmpl-widget-media-' + control.id_base + '-control' ).length ) { throw new Error( 'Missing widget control template for ' + control.id_base ); } return wp.template( 'widget-media-' + control.id_base + '-control' ); }, /** * Render template. * * @return {void} */ render: function render() { var control = this, titleInput; if ( ! control.templateRendered ) { control.$el.html( control.template()( control.model.toJSON() ) ); control.renderPreview(); // Hereafter it will re-render when control.selectedAttachment changes. control.templateRendered = true; } titleInput = control.$el.find( '.title' ); if ( ! titleInput.is( document.activeElement ) ) { titleInput.val( control.model.get( 'title' ) ); } control.$el.toggleClass( 'selected', control.isSelected() ); }, /** * Render media preview. * * @abstract * @return {void} */ renderPreview: function renderPreview() { throw new Error( 'renderPreview must be implemented' ); }, /** * Whether a media item is selected. * * @return {boolean} Whether selected and no error. */ isSelected: function isSelected() { var control = this; if ( control.model.get( 'error' ) ) { return false; } return Boolean( control.model.get( 'attachment_id' ) || control.model.get( 'url' ) ); }, /** * Handle click on link to Media Library to open modal, such as the link that appears when in the missing attachment error notice. * * @param {jQuery.Event} event - Event. * @return {void} */ handleMediaLibraryLinkClick: function handleMediaLibraryLinkClick( event ) { var control = this; event.preventDefault(); control.selectMedia(); }, /** * Open the media select frame to chose an item. * * @return {void} */ selectMedia: function selectMedia() { var control = this, selection, mediaFrame, defaultSync, mediaFrameProps, selectionModels = []; if ( control.isSelected() && 0 !== control.model.get( 'attachment_id' ) ) { selectionModels.push( control.selectedAttachment ); } selection = new wp.media.model.Selection( selectionModels, { multiple: false } ); mediaFrameProps = control.mapModelToMediaFrameProps( control.model.toJSON() ); if ( mediaFrameProps.size ) { control.displaySettings.set( 'size', mediaFrameProps.size ); } mediaFrame = new component.MediaFrameSelect({ title: control.l10n.add_media, frame: 'post', text: control.l10n.add_to_widget, selection: selection, mimeType: control.mime_type, selectedDisplaySettings: control.displaySettings, showDisplaySettings: control.showDisplaySettings, metadata: mediaFrameProps, state: control.isSelected() && 0 === control.model.get( 'attachment_id' ) ? 'embed' : 'insert', invalidEmbedTypeError: control.l10n.unsupported_file_type }); wp.media.frame = mediaFrame; // See wp.media(). // Handle selection of a media item. mediaFrame.on( 'insert', function onInsert() { var attachment = {}, state = mediaFrame.state(); // Update cached attachment object to avoid having to re-fetch. This also triggers re-rendering of preview. if ( 'embed' === state.get( 'id' ) ) { _.extend( attachment, { id: 0 }, state.props.toJSON() ); } else { _.extend( attachment, state.get( 'selection' ).first().toJSON() ); } control.selectedAttachment.set( attachment ); control.model.set( 'error', false ); // Update widget instance. control.model.set( control.getModelPropsFromMediaFrame( mediaFrame ) ); }); // Disable syncing of attachment changes back to server (except for deletions). See <https://core.trac.wordpress.org/ticket/40403>. defaultSync = wp.media.model.Attachment.prototype.sync; wp.media.model.Attachment.prototype.sync = function( method ) { if ( 'delete' === method ) { return defaultSync.apply( this, arguments ); } else { return $.Deferred().rejectWith( this ).promise(); } }; mediaFrame.on( 'close', function onClose() { wp.media.model.Attachment.prototype.sync = defaultSync; }); mediaFrame.$el.addClass( 'media-widget' ); mediaFrame.open(); // Clear the selected attachment when it is deleted in the media select frame. if ( selection ) { selection.on( 'destroy', function onDestroy( attachment ) { if ( control.model.get( 'attachment_id' ) === attachment.get( 'id' ) ) { control.model.set({ attachment_id: 0, url: '' }); } }); } /* * Make sure focus is set inside of modal so that hitting Esc will close * the modal and not inadvertently cause the widget to collapse in the customizer. */ mediaFrame.$el.find( '.media-frame-menu .media-menu-item.active' ).focus(); }, /** * Get the instance props from the media selection frame. * * @param {wp.media.view.MediaFrame.Select} mediaFrame - Select frame. * @return {Object} Props. */ getModelPropsFromMediaFrame: function getModelPropsFromMediaFrame( mediaFrame ) { var control = this, state, mediaFrameProps, modelProps; state = mediaFrame.state(); if ( 'insert' === state.get( 'id' ) ) { mediaFrameProps = state.get( 'selection' ).first().toJSON(); mediaFrameProps.postUrl = mediaFrameProps.link; if ( control.showDisplaySettings ) { _.extend( mediaFrameProps, mediaFrame.content.get( '.attachments-browser' ).sidebar.get( 'display' ).model.toJSON() ); } if ( mediaFrameProps.sizes && mediaFrameProps.size && mediaFrameProps.sizes[ mediaFrameProps.size ] ) { mediaFrameProps.url = mediaFrameProps.sizes[ mediaFrameProps.size ].url; } } else if ( 'embed' === state.get( 'id' ) ) { mediaFrameProps = _.extend( state.props.toJSON(), { attachment_id: 0 }, // Because some media frames use `attachment_id` not `id`. control.model.getEmbedResetProps() ); } else { throw new Error( 'Unexpected state: ' + state.get( 'id' ) ); } if ( mediaFrameProps.id ) { mediaFrameProps.attachment_id = mediaFrameProps.id; } modelProps = control.mapMediaToModelProps( mediaFrameProps ); // Clear the extension prop so sources will be reset for video and audio media. _.each( wp.media.view.settings.embedExts, function( ext ) { if ( ext in control.model.schema && modelProps.url !== modelProps[ ext ] ) { modelProps[ ext ] = ''; } }); return modelProps; }, /** * Map media frame props to model props. * * @param {Object} mediaFrameProps - Media frame props. * @return {Object} Model props. */ mapMediaToModelProps: function mapMediaToModelProps( mediaFrameProps ) { var control = this, mediaFramePropToModelPropMap = {}, modelProps = {}, extension; _.each( control.model.schema, function( fieldSchema, modelProp ) { // Ignore widget title attribute. if ( 'title' === modelProp ) { return; } mediaFramePropToModelPropMap[ fieldSchema.media_prop || modelProp ] = modelProp; }); _.each( mediaFrameProps, function( value, mediaProp ) { var propName = mediaFramePropToModelPropMap[ mediaProp ] || mediaProp; if ( control.model.schema[ propName ] ) { modelProps[ propName ] = value; } }); if ( 'custom' === mediaFrameProps.size ) { modelProps.width = mediaFrameProps.customWidth; modelProps.height = mediaFrameProps.customHeight; } if ( 'post' === mediaFrameProps.link ) { modelProps.link_url = mediaFrameProps.postUrl || mediaFrameProps.linkUrl; } else if ( 'file' === mediaFrameProps.link ) { modelProps.link_url = mediaFrameProps.url; } // Because some media frames use `id` instead of `attachment_id`. if ( ! mediaFrameProps.attachment_id && mediaFrameProps.id ) { modelProps.attachment_id = mediaFrameProps.id; } if ( mediaFrameProps.url ) { extension = mediaFrameProps.url.replace( /#.*$/, '' ).replace( /\?.*$/, '' ).split( '.' ).pop().toLowerCase(); if ( extension in control.model.schema ) { modelProps[ extension ] = mediaFrameProps.url; } } // Always omit the titles derived from mediaFrameProps. return _.omit( modelProps, 'title' ); }, /** * Map model props to media frame props. * * @param {Object} modelProps - Model props. * @return {Object} Media frame props. */ mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) { var control = this, mediaFrameProps = {}; _.each( modelProps, function( value, modelProp ) { var fieldSchema = control.model.schema[ modelProp ] || {}; mediaFrameProps[ fieldSchema.media_prop || modelProp ] = value; }); // Some media frames use attachment_id. mediaFrameProps.attachment_id = mediaFrameProps.id; if ( 'custom' === mediaFrameProps.size ) { mediaFrameProps.customWidth = control.model.get( 'width' ); mediaFrameProps.customHeight = control.model.get( 'height' ); } return mediaFrameProps; }, /** * Map model props to previewTemplateProps. * * @return {Object} Preview Template Props. */ mapModelToPreviewTemplateProps: function mapModelToPreviewTemplateProps() { var control = this, previewTemplateProps = {}; _.each( control.model.schema, function( value, prop ) { if ( ! value.hasOwnProperty( 'should_preview_update' ) || value.should_preview_update ) { previewTemplateProps[ prop ] = control.model.get( prop ); } }); // Templates need to be aware of the error. previewTemplateProps.error = control.model.get( 'error' ); return previewTemplateProps; }, /** * Open the media frame to modify the selected item. * * @abstract * @return {void} */ editMedia: function editMedia() { throw new Error( 'editMedia not implemented' ); } }); /** * Media widget model. * * @class wp.mediaWidgets.MediaWidgetModel * @augments Backbone.Model */ component.MediaWidgetModel = Backbone.Model.extend(/** @lends wp.mediaWidgets.MediaWidgetModel.prototype */{ /** * Id attribute. * * @type {string} */ idAttribute: 'widget_id', /** * Instance schema. * * This adheres to JSON Schema and subclasses should have their schema * exported from PHP to JS such as is done in WP_Widget_Media_Image::enqueue_admin_scripts(). * * @type {Object.<string, Object>} */ schema: { title: { type: 'string', 'default': '' }, attachment_id: { type: 'integer', 'default': 0 }, url: { type: 'string', 'default': '' } }, /** * Get default attribute values. * * @return {Object} Mapping of property names to their default values. */ defaults: function() { var defaults = {}; _.each( this.schema, function( fieldSchema, field ) { defaults[ field ] = fieldSchema['default']; }); return defaults; }, /** * Set attribute value(s). * * This is a wrapped version of Backbone.Model#set() which allows us to * cast the attribute values from the hidden inputs' string values into * the appropriate data types (integers or booleans). * * @param {string|Object} key - Attribute name or attribute pairs. * @param {mixed|Object} [val] - Attribute value or options object. * @param {Object} [options] - Options when attribute name and value are passed separately. * @return {wp.mediaWidgets.MediaWidgetModel} This model. */ set: function set( key, val, options ) { var model = this, attrs, opts, castedAttrs; // eslint-disable-line consistent-this if ( null === key ) { return model; } if ( 'object' === typeof key ) { attrs = key; opts = val; } else { attrs = {}; attrs[ key ] = val; opts = options; } castedAttrs = {}; _.each( attrs, function( value, name ) { var type; if ( ! model.schema[ name ] ) { castedAttrs[ name ] = value; return; } type = model.schema[ name ].type; if ( 'array' === type ) { castedAttrs[ name ] = value; if ( ! _.isArray( castedAttrs[ name ] ) ) { castedAttrs[ name ] = castedAttrs[ name ].split( /,/ ); // Good enough for parsing an ID list. } if ( model.schema[ name ].items && 'integer' === model.schema[ name ].items.type ) { castedAttrs[ name ] = _.filter( _.map( castedAttrs[ name ], function( id ) { return parseInt( id, 10 ); }, function( id ) { return 'number' === typeof id; } ) ); } } else if ( 'integer' === type ) { castedAttrs[ name ] = parseInt( value, 10 ); } else if ( 'boolean' === type ) { castedAttrs[ name ] = ! ( ! value || '0' === value || 'false' === value ); } else { castedAttrs[ name ] = value; } }); return Backbone.Model.prototype.set.call( this, castedAttrs, opts ); }, /** * Get props which are merged on top of the model when an embed is chosen (as opposed to an attachment). * * @return {Object} Reset/override props. */ getEmbedResetProps: function getEmbedResetProps() { return { id: 0 }; } }); /** * Collection of all widget model instances. * * @memberOf wp.mediaWidgets * * @type {Backbone.Collection} */ component.modelCollection = new ( Backbone.Collection.extend( { model: component.MediaWidgetModel }) )(); /** * Mapping of widget ID to instances of MediaWidgetControl subclasses. * * @memberOf wp.mediaWidgets * * @type {Object.<string, wp.mediaWidgets.MediaWidgetControl>} */ component.widgetControls = {}; /** * Handle widget being added or initialized for the first time at the widget-added event. * * @memberOf wp.mediaWidgets * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * * @return {void} */ component.handleWidgetAdded = function handleWidgetAdded( event, widgetContainer ) { var fieldContainer, syncContainer, widgetForm, idBase, ControlConstructor, ModelConstructor, modelAttributes, widgetControl, widgetModel, widgetId, animatedCheckDelay = 50, renderWhenAnimationDone; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); // Note: '.form' appears in the customizer, whereas 'form' on the widgets admin screen. idBase = widgetForm.find( '> .id_base' ).val(); widgetId = widgetForm.find( '> .widget-id' ).val(); // Prevent initializing already-added widgets. if ( component.widgetControls[ widgetId ] ) { return; } ControlConstructor = component.controlConstructors[ idBase ]; if ( ! ControlConstructor ) { return; } ModelConstructor = component.modelConstructors[ idBase ] || component.MediaWidgetModel; /* * Create a container element for the widget control (Backbone.View). * This is inserted into the DOM immediately before the .widget-content * element because the contents of this element are essentially "managed" * by PHP, where each widget update cause the entire element to be emptied * and replaced with the rendered output of WP_Widget::form() which is * sent back in Ajax request made to save/update the widget instance. * To prevent a "flash of replaced DOM elements and re-initialized JS * components", the JS template is rendered outside of the normal form * container. */ fieldContainer = $( '<div></div>' ); syncContainer = widgetContainer.find( '.widget-content:first' ); syncContainer.before( fieldContainer ); /* * Sync the widget instance model attributes onto the hidden inputs that widgets currently use to store the state. * In the future, when widgets are JS-driven, the underlying widget instance data should be exposed as a model * from the start, without having to sync with hidden fields. See <https://core.trac.wordpress.org/ticket/33507>. */ modelAttributes = {}; syncContainer.find( '.media-widget-instance-property' ).each( function() { var input = $( this ); modelAttributes[ input.data( 'property' ) ] = input.val(); }); modelAttributes.widget_id = widgetId; widgetModel = new ModelConstructor( modelAttributes ); widgetControl = new ControlConstructor({ el: fieldContainer, syncContainer: syncContainer, model: widgetModel }); /* * Render the widget once the widget parent's container finishes animating, * as the widget-added event fires with a slideDown of the container. * This ensures that the container's dimensions are fixed so that ME.js * can initialize with the proper dimensions. */ renderWhenAnimationDone = function() { if ( ! widgetContainer.hasClass( 'open' ) ) { setTimeout( renderWhenAnimationDone, animatedCheckDelay ); } else { widgetControl.render(); } }; renderWhenAnimationDone(); /* * Note that the model and control currently won't ever get garbage-collected * when a widget gets removed/deleted because there is no widget-removed event. */ component.modelCollection.add( [ widgetModel ] ); component.widgetControls[ widgetModel.get( 'widget_id' ) ] = widgetControl; }; /** * Setup widget in accessibility mode. * * @memberOf wp.mediaWidgets * * @return {void} */ component.setupAccessibleMode = function setupAccessibleMode() { var widgetForm, widgetId, idBase, widgetControl, ControlConstructor, ModelConstructor, modelAttributes, fieldContainer, syncContainer; widgetForm = $( '.editwidget > form' ); if ( 0 === widgetForm.length ) { return; } idBase = widgetForm.find( '.id_base' ).val(); ControlConstructor = component.controlConstructors[ idBase ]; if ( ! ControlConstructor ) { return; } widgetId = widgetForm.find( '> .widget-control-actions > .widget-id' ).val(); ModelConstructor = component.modelConstructors[ idBase ] || component.MediaWidgetModel; fieldContainer = $( '<div></div>' ); syncContainer = widgetForm.find( '> .widget-inside' ); syncContainer.before( fieldContainer ); modelAttributes = {}; syncContainer.find( '.media-widget-instance-property' ).each( function() { var input = $( this ); modelAttributes[ input.data( 'property' ) ] = input.val(); }); modelAttributes.widget_id = widgetId; widgetControl = new ControlConstructor({ el: fieldContainer, syncContainer: syncContainer, model: new ModelConstructor( modelAttributes ) }); component.modelCollection.add( [ widgetControl.model ] ); component.widgetControls[ widgetControl.model.get( 'widget_id' ) ] = widgetControl; widgetControl.render(); }; /** * Sync widget instance data sanitized from server back onto widget model. * * This gets called via the 'widget-updated' event when saving a widget from * the widgets admin screen and also via the 'widget-synced' event when making * a change to a widget in the customizer. * * @memberOf wp.mediaWidgets * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * * @return {void} */ component.handleWidgetUpdated = function handleWidgetUpdated( event, widgetContainer ) { var widgetForm, widgetContent, widgetId, widgetControl, attributes = {}; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); widgetId = widgetForm.find( '> .widget-id' ).val(); widgetControl = component.widgetControls[ widgetId ]; if ( ! widgetControl ) { return; } // Make sure the server-sanitized values get synced back into the model. widgetContent = widgetForm.find( '> .widget-content' ); widgetContent.find( '.media-widget-instance-property' ).each( function() { var property = $( this ).data( 'property' ); attributes[ property ] = $( this ).val(); }); // Suspend syncing model back to inputs when syncing from inputs to model, preventing infinite loop. widgetControl.stopListening( widgetControl.model, 'change', widgetControl.syncModelToInputs ); widgetControl.model.set( attributes ); widgetControl.listenTo( widgetControl.model, 'change', widgetControl.syncModelToInputs ); }; /** * Initialize functionality. * * This function exists to prevent the JS file from having to boot itself. * When WordPress enqueues this script, it should have an inline script * attached which calls wp.mediaWidgets.init(). * * @memberOf wp.mediaWidgets * * @return {void} */ component.init = function init() { var $document = $( document ); $document.on( 'widget-added', component.handleWidgetAdded ); $document.on( 'widget-synced widget-updated', component.handleWidgetUpdated ); /* * Manually trigger widget-added events for media widgets on the admin * screen once they are expanded. The widget-added event is not triggered * for each pre-existing widget on the widgets admin screen like it is * on the customizer. Likewise, the customizer only triggers widget-added * when the widget is expanded to just-in-time construct the widget form * when it is actually going to be displayed. So the following implements * the same for the widgets admin screen, to invoke the widget-added * handler when a pre-existing media widget is expanded. */ $( function initializeExistingWidgetContainers() { var widgetContainers; if ( 'widgets' !== window.pagenow ) { return; } widgetContainers = $( '.widgets-holder-wrap:not(#available-widgets)' ).find( 'div.widget' ); widgetContainers.one( 'click.toggle-widget-expanded', function toggleWidgetExpanded() { var widgetContainer = $( this ); component.handleWidgetAdded( new jQuery.Event( 'widget-added' ), widgetContainer ); }); // Accessibility mode. if ( document.readyState === 'complete' ) { // Page is fully loaded. component.setupAccessibleMode(); } else { // Page is still loading. $( window ).on( 'load', function() { component.setupAccessibleMode(); }); } }); }; return component; })( jQuery ); widgets/media-video-widget.js 0000644 00000015554 15174671433 0012241 0 ustar 00 /** * @output wp-admin/js/widgets/media-video-widget.js */ /* eslint consistent-this: [ "error", "control" ] */ (function( component ) { 'use strict'; var VideoWidgetModel, VideoWidgetControl, VideoDetailsMediaFrame; /** * Custom video details frame that removes the replace-video state. * * @class wp.mediaWidgets.controlConstructors~VideoDetailsMediaFrame * @augments wp.media.view.MediaFrame.VideoDetails * * @private */ VideoDetailsMediaFrame = wp.media.view.MediaFrame.VideoDetails.extend(/** @lends wp.mediaWidgets.controlConstructors~VideoDetailsMediaFrame.prototype */{ /** * Create the default states. * * @return {void} */ createStates: function createStates() { this.states.add([ new wp.media.controller.VideoDetails({ media: this.media }), new wp.media.controller.MediaLibrary({ type: 'video', id: 'add-video-source', title: wp.media.view.l10n.videoAddSourceTitle, toolbar: 'add-video-source', media: this.media, menu: false }), new wp.media.controller.MediaLibrary({ type: 'text', id: 'add-track', title: wp.media.view.l10n.videoAddTrackTitle, toolbar: 'add-track', media: this.media, menu: 'video-details' }) ]); } }); /** * Video widget model. * * See WP_Widget_Video::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.modelConstructors.media_video * @augments wp.mediaWidgets.MediaWidgetModel */ VideoWidgetModel = component.MediaWidgetModel.extend({}); /** * Video widget control. * * See WP_Widget_Video::enqueue_admin_scripts() for amending prototype from PHP exports. * * @class wp.mediaWidgets.controlConstructors.media_video * @augments wp.mediaWidgets.MediaWidgetControl */ VideoWidgetControl = component.MediaWidgetControl.extend(/** @lends wp.mediaWidgets.controlConstructors.media_video.prototype */{ /** * Show display settings. * * @type {boolean} */ showDisplaySettings: false, /** * Cache of oembed responses. * * @type {Object} */ oembedResponses: {}, /** * Map model props to media frame props. * * @param {Object} modelProps - Model props. * @return {Object} Media frame props. */ mapModelToMediaFrameProps: function mapModelToMediaFrameProps( modelProps ) { var control = this, mediaFrameProps; mediaFrameProps = component.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call( control, modelProps ); mediaFrameProps.link = 'embed'; return mediaFrameProps; }, /** * Fetches embed data for external videos. * * @return {void} */ fetchEmbed: function fetchEmbed() { var control = this, url; url = control.model.get( 'url' ); // If we already have a local cache of the embed response, return. if ( control.oembedResponses[ url ] ) { return; } // If there is an in-flight embed request, abort it. if ( control.fetchEmbedDfd && 'pending' === control.fetchEmbedDfd.state() ) { control.fetchEmbedDfd.abort(); } control.fetchEmbedDfd = wp.apiRequest({ url: wp.media.view.settings.oEmbedProxyUrl, data: { url: control.model.get( 'url' ), maxwidth: control.model.get( 'width' ), maxheight: control.model.get( 'height' ), discover: false }, type: 'GET', dataType: 'json', context: control }); control.fetchEmbedDfd.done( function( response ) { control.oembedResponses[ url ] = response; control.renderPreview(); }); control.fetchEmbedDfd.fail( function() { control.oembedResponses[ url ] = null; }); }, /** * Whether a url is a supported external host. * * @deprecated since 4.9. * * @return {boolean} Whether url is a supported video host. */ isHostedVideo: function isHostedVideo() { return true; }, /** * Render preview. * * @return {void} */ renderPreview: function renderPreview() { var control = this, previewContainer, previewTemplate, attachmentId, attachmentUrl, poster, html = '', isOEmbed = false, mime, error, urlParser, matches; attachmentId = control.model.get( 'attachment_id' ); attachmentUrl = control.model.get( 'url' ); error = control.model.get( 'error' ); if ( ! attachmentId && ! attachmentUrl ) { return; } // Verify the selected attachment mime is supported. mime = control.selectedAttachment.get( 'mime' ); if ( mime && attachmentId ) { if ( ! _.contains( _.values( wp.media.view.settings.embedMimes ), mime ) ) { error = 'unsupported_file_type'; } } else if ( ! attachmentId ) { urlParser = document.createElement( 'a' ); urlParser.href = attachmentUrl; matches = urlParser.pathname.toLowerCase().match( /\.(\w+)$/ ); if ( matches ) { if ( ! _.contains( _.keys( wp.media.view.settings.embedMimes ), matches[1] ) ) { error = 'unsupported_file_type'; } } else { isOEmbed = true; } } if ( isOEmbed ) { control.fetchEmbed(); if ( control.oembedResponses[ attachmentUrl ] ) { poster = control.oembedResponses[ attachmentUrl ].thumbnail_url; html = control.oembedResponses[ attachmentUrl ].html.replace( /\swidth="\d+"/, ' width="100%"' ).replace( /\sheight="\d+"/, '' ); } } previewContainer = control.$el.find( '.media-widget-preview' ); previewTemplate = wp.template( 'wp-media-widget-video-preview' ); previewContainer.html( previewTemplate({ model: { attachment_id: attachmentId, html: html, src: attachmentUrl, poster: poster }, is_oembed: isOEmbed, error: error })); wp.mediaelement.initialize(); }, /** * Open the media image-edit frame to modify the selected item. * * @return {void} */ editMedia: function editMedia() { var control = this, mediaFrame, metadata, updateCallback; metadata = control.mapModelToMediaFrameProps( control.model.toJSON() ); // Set up the media frame. mediaFrame = new VideoDetailsMediaFrame({ frame: 'video', state: 'video-details', metadata: metadata }); wp.media.frame = mediaFrame; mediaFrame.$el.addClass( 'media-widget' ); updateCallback = function( mediaFrameProps ) { // Update cached attachment object to avoid having to re-fetch. This also triggers re-rendering of preview. control.selectedAttachment.set( mediaFrameProps ); control.model.set( _.extend( _.omit( control.model.defaults(), 'title' ), control.mapMediaToModelProps( mediaFrameProps ), { error: false } ) ); }; mediaFrame.state( 'video-details' ).on( 'update', updateCallback ); mediaFrame.state( 'replace-video' ).on( 'replace', updateCallback ); mediaFrame.on( 'close', function() { mediaFrame.detach(); }); mediaFrame.open(); } }); // Exports. component.controlConstructors.media_video = VideoWidgetControl; component.modelConstructors.media_video = VideoWidgetModel; })( wp.mediaWidgets ); widgets/text-widgets.js 0000644 00000043201 15174671433 0011213 0 ustar 00 /** * @output wp-admin/js/widgets/text-widgets.js */ /* global tinymce, switchEditors */ /* eslint consistent-this: [ "error", "control" ] */ /** * @namespace wp.textWidgets */ wp.textWidgets = ( function( $ ) { 'use strict'; var component = { dismissedPointers: [], idBases: [ 'text' ] }; component.TextWidgetControl = Backbone.View.extend(/** @lends wp.textWidgets.TextWidgetControl.prototype */{ /** * View events. * * @type {Object} */ events: {}, /** * Text widget control. * * @constructs wp.textWidgets.TextWidgetControl * @augments Backbone.View * @abstract * * @param {Object} options - Options. * @param {jQuery} options.el - Control field container element. * @param {jQuery} options.syncContainer - Container element where fields are synced for the server. * * @return {void} */ initialize: function initialize( options ) { var control = this; if ( ! options.el ) { throw new Error( 'Missing options.el' ); } if ( ! options.syncContainer ) { throw new Error( 'Missing options.syncContainer' ); } Backbone.View.prototype.initialize.call( control, options ); control.syncContainer = options.syncContainer; control.$el.addClass( 'text-widget-fields' ); control.$el.html( wp.template( 'widget-text-control-fields' ) ); control.customHtmlWidgetPointer = control.$el.find( '.wp-pointer.custom-html-widget-pointer' ); if ( control.customHtmlWidgetPointer.length ) { control.customHtmlWidgetPointer.find( '.close' ).on( 'click', function( event ) { event.preventDefault(); control.customHtmlWidgetPointer.hide(); $( '#' + control.fields.text.attr( 'id' ) + '-html' ).trigger( 'focus' ); control.dismissPointers( [ 'text_widget_custom_html' ] ); }); control.customHtmlWidgetPointer.find( '.add-widget' ).on( 'click', function( event ) { event.preventDefault(); control.customHtmlWidgetPointer.hide(); control.openAvailableWidgetsPanel(); }); } control.pasteHtmlPointer = control.$el.find( '.wp-pointer.paste-html-pointer' ); if ( control.pasteHtmlPointer.length ) { control.pasteHtmlPointer.find( '.close' ).on( 'click', function( event ) { event.preventDefault(); control.pasteHtmlPointer.hide(); control.editor.focus(); control.dismissPointers( [ 'text_widget_custom_html', 'text_widget_paste_html' ] ); }); } control.fields = { title: control.$el.find( '.title' ), text: control.$el.find( '.text' ) }; // Sync input fields to hidden sync fields which actually get sent to the server. _.each( control.fields, function( fieldInput, fieldName ) { fieldInput.on( 'input change', function updateSyncField() { var syncInput = control.syncContainer.find( '.sync-input.' + fieldName ); if ( syncInput.val() !== fieldInput.val() ) { syncInput.val( fieldInput.val() ); syncInput.trigger( 'change' ); } }); // Note that syncInput cannot be re-used because it will be destroyed with each widget-updated event. fieldInput.val( control.syncContainer.find( '.sync-input.' + fieldName ).val() ); }); }, /** * Dismiss pointers for Custom HTML widget. * * @since 4.8.1 * * @param {Array} pointers Pointer IDs to dismiss. * @return {void} */ dismissPointers: function dismissPointers( pointers ) { _.each( pointers, function( pointer ) { wp.ajax.post( 'dismiss-wp-pointer', { pointer: pointer }); component.dismissedPointers.push( pointer ); }); }, /** * Open available widgets panel. * * @since 4.8.1 * @return {void} */ openAvailableWidgetsPanel: function openAvailableWidgetsPanel() { var sidebarControl; wp.customize.section.each( function( section ) { if ( section.extended( wp.customize.Widgets.SidebarSection ) && section.expanded() ) { sidebarControl = wp.customize.control( 'sidebars_widgets[' + section.params.sidebarId + ']' ); } }); if ( ! sidebarControl ) { return; } setTimeout( function() { // Timeout to prevent click event from causing panel to immediately collapse. wp.customize.Widgets.availableWidgetsPanel.open( sidebarControl ); wp.customize.Widgets.availableWidgetsPanel.$search.val( 'HTML' ).trigger( 'keyup' ); }); }, /** * Update input fields from the sync fields. * * This function is called at the widget-updated and widget-synced events. * A field will only be updated if it is not currently focused, to avoid * overwriting content that the user is entering. * * @return {void} */ updateFields: function updateFields() { var control = this, syncInput; if ( ! control.fields.title.is( document.activeElement ) ) { syncInput = control.syncContainer.find( '.sync-input.title' ); control.fields.title.val( syncInput.val() ); } syncInput = control.syncContainer.find( '.sync-input.text' ); if ( control.fields.text.is( ':visible' ) ) { if ( ! control.fields.text.is( document.activeElement ) ) { control.fields.text.val( syncInput.val() ); } } else if ( control.editor && ! control.editorFocused && syncInput.val() !== control.fields.text.val() ) { control.editor.setContent( wp.oldEditor.autop( syncInput.val() ) ); } }, /** * Initialize editor. * * @return {void} */ initializeEditor: function initializeEditor() { var control = this, changeDebounceDelay = 1000, id, textarea, triggerChangeIfDirty, restoreTextMode = false, needsTextareaChangeTrigger = false, previousValue; textarea = control.fields.text; id = textarea.attr( 'id' ); previousValue = textarea.val(); /** * Trigger change if dirty. * * @return {void} */ triggerChangeIfDirty = function() { var updateWidgetBuffer = 300; // See wp.customize.Widgets.WidgetControl._setupUpdateUI() which uses 250ms for updateWidgetDebounced. if ( control.editor.isDirty() ) { /* * Account for race condition in customizer where user clicks Save & Publish while * focus was just previously given to the editor. Since updates to the editor * are debounced at 1 second and since widget input changes are only synced to * settings after 250ms, the customizer needs to be put into the processing * state during the time between the change event is triggered and updateWidget * logic starts. Note that the debounced update-widget request should be able * to be removed with the removal of the update-widget request entirely once * widgets are able to mutate their own instance props directly in JS without * having to make server round-trips to call the respective WP_Widget::update() * callbacks. See <https://core.trac.wordpress.org/ticket/33507>. */ if ( wp.customize && wp.customize.state ) { wp.customize.state( 'processing' ).set( wp.customize.state( 'processing' ).get() + 1 ); _.delay( function() { wp.customize.state( 'processing' ).set( wp.customize.state( 'processing' ).get() - 1 ); }, updateWidgetBuffer ); } if ( ! control.editor.isHidden() ) { control.editor.save(); } } // Trigger change on textarea when it has changed so the widget can enter a dirty state. if ( needsTextareaChangeTrigger && previousValue !== textarea.val() ) { textarea.trigger( 'change' ); needsTextareaChangeTrigger = false; previousValue = textarea.val(); } }; // Just-in-time force-update the hidden input fields. control.syncContainer.closest( '.widget' ).find( '[name=savewidget]:first' ).on( 'click', function onClickSaveButton() { triggerChangeIfDirty(); }); /** * Build (or re-build) the visual editor. * * @return {void} */ function buildEditor() { var editor, onInit, showPointerElement; // Abort building if the textarea is gone, likely due to the widget having been deleted entirely. if ( ! document.getElementById( id ) ) { return; } // The user has disabled TinyMCE. if ( typeof window.tinymce === 'undefined' ) { wp.oldEditor.initialize( id, { quicktags: true, mediaButtons: true }); return; } // Destroy any existing editor so that it can be re-initialized after a widget-updated event. if ( tinymce.get( id ) ) { restoreTextMode = tinymce.get( id ).isHidden(); wp.oldEditor.remove( id ); } // Add or enable the `wpview` plugin. $( document ).one( 'wp-before-tinymce-init.text-widget-init', function( event, init ) { // If somebody has removed all plugins, they must have a good reason. // Keep it that way. if ( ! init.plugins ) { return; } else if ( ! /\bwpview\b/.test( init.plugins ) ) { init.plugins += ',wpview'; } } ); wp.oldEditor.initialize( id, { tinymce: { wpautop: true }, quicktags: true, mediaButtons: true }); /** * Show a pointer, focus on dismiss, and speak the contents for a11y. * * @param {jQuery} pointerElement Pointer element. * @return {void} */ showPointerElement = function( pointerElement ) { pointerElement.show(); pointerElement.find( '.close' ).trigger( 'focus' ); wp.a11y.speak( pointerElement.find( 'h3, p' ).map( function() { return $( this ).text(); } ).get().join( '\n\n' ) ); }; editor = window.tinymce.get( id ); if ( ! editor ) { throw new Error( 'Failed to initialize editor' ); } onInit = function() { // When a widget is moved in the DOM the dynamically-created TinyMCE iframe will be destroyed and has to be re-built. $( editor.getWin() ).on( 'pagehide', function() { _.defer( buildEditor ); }); // If a prior mce instance was replaced, and it was in text mode, toggle to text mode. if ( restoreTextMode ) { switchEditors.go( id, 'html' ); } // Show the pointer. $( '#' + id + '-html' ).on( 'click', function() { control.pasteHtmlPointer.hide(); // Hide the HTML pasting pointer. if ( -1 !== component.dismissedPointers.indexOf( 'text_widget_custom_html' ) ) { return; } showPointerElement( control.customHtmlWidgetPointer ); }); // Hide the pointer when switching tabs. $( '#' + id + '-tmce' ).on( 'click', function() { control.customHtmlWidgetPointer.hide(); }); // Show pointer when pasting HTML. editor.on( 'pastepreprocess', function( event ) { var content = event.content; if ( -1 !== component.dismissedPointers.indexOf( 'text_widget_paste_html' ) || ! content || ! /<\w+.*?>/.test( content ) ) { return; } // Show the pointer after a slight delay so the user sees what they pasted. _.delay( function() { showPointerElement( control.pasteHtmlPointer ); }, 250 ); }); }; if ( editor.initialized ) { onInit(); } else { editor.on( 'init', onInit ); } control.editorFocused = false; editor.on( 'focus', function onEditorFocus() { control.editorFocused = true; }); editor.on( 'paste', function onEditorPaste() { editor.setDirty( true ); // Because pasting doesn't currently set the dirty state. triggerChangeIfDirty(); }); editor.on( 'NodeChange', function onNodeChange() { needsTextareaChangeTrigger = true; }); editor.on( 'NodeChange', _.debounce( triggerChangeIfDirty, changeDebounceDelay ) ); editor.on( 'blur hide', function onEditorBlur() { control.editorFocused = false; triggerChangeIfDirty(); }); control.editor = editor; } buildEditor(); } }); /** * Mapping of widget ID to instances of TextWidgetControl subclasses. * * @memberOf wp.textWidgets * * @type {Object.<string, wp.textWidgets.TextWidgetControl>} */ component.widgetControls = {}; /** * Handle widget being added or initialized for the first time at the widget-added event. * * @memberOf wp.textWidgets * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * * @return {void} */ component.handleWidgetAdded = function handleWidgetAdded( event, widgetContainer ) { var widgetForm, idBase, widgetControl, widgetId, animatedCheckDelay = 50, renderWhenAnimationDone, fieldContainer, syncContainer; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); // Note: '.form' appears in the customizer, whereas 'form' on the widgets admin screen. idBase = widgetForm.find( '> .id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } // Prevent initializing already-added widgets. widgetId = widgetForm.find( '.widget-id' ).val(); if ( component.widgetControls[ widgetId ] ) { return; } // Bypass using TinyMCE when widget is in legacy mode. if ( ! widgetForm.find( '.visual' ).val() ) { return; } /* * Create a container element for the widget control fields. * This is inserted into the DOM immediately before the .widget-content * element because the contents of this element are essentially "managed" * by PHP, where each widget update cause the entire element to be emptied * and replaced with the rendered output of WP_Widget::form() which is * sent back in Ajax request made to save/update the widget instance. * To prevent a "flash of replaced DOM elements and re-initialized JS * components", the JS template is rendered outside of the normal form * container. */ fieldContainer = $( '<div></div>' ); syncContainer = widgetContainer.find( '.widget-content:first' ); syncContainer.before( fieldContainer ); widgetControl = new component.TextWidgetControl({ el: fieldContainer, syncContainer: syncContainer }); component.widgetControls[ widgetId ] = widgetControl; /* * Render the widget once the widget parent's container finishes animating, * as the widget-added event fires with a slideDown of the container. * This ensures that the textarea is visible and an iframe can be embedded * with TinyMCE being able to set contenteditable on it. */ renderWhenAnimationDone = function() { if ( ! widgetContainer.hasClass( 'open' ) ) { setTimeout( renderWhenAnimationDone, animatedCheckDelay ); } else { widgetControl.initializeEditor(); } }; renderWhenAnimationDone(); }; /** * Setup widget in accessibility mode. * * @memberOf wp.textWidgets * * @return {void} */ component.setupAccessibleMode = function setupAccessibleMode() { var widgetForm, idBase, widgetControl, fieldContainer, syncContainer; widgetForm = $( '.editwidget > form' ); if ( 0 === widgetForm.length ) { return; } idBase = widgetForm.find( '.id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } // Bypass using TinyMCE when widget is in legacy mode. if ( ! widgetForm.find( '.visual' ).val() ) { return; } fieldContainer = $( '<div></div>' ); syncContainer = widgetForm.find( '> .widget-inside' ); syncContainer.before( fieldContainer ); widgetControl = new component.TextWidgetControl({ el: fieldContainer, syncContainer: syncContainer }); widgetControl.initializeEditor(); }; /** * Sync widget instance data sanitized from server back onto widget model. * * This gets called via the 'widget-updated' event when saving a widget from * the widgets admin screen and also via the 'widget-synced' event when making * a change to a widget in the customizer. * * @memberOf wp.textWidgets * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * @return {void} */ component.handleWidgetUpdated = function handleWidgetUpdated( event, widgetContainer ) { var widgetForm, widgetId, widgetControl, idBase; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); idBase = widgetForm.find( '> .id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } widgetId = widgetForm.find( '> .widget-id' ).val(); widgetControl = component.widgetControls[ widgetId ]; if ( ! widgetControl ) { return; } widgetControl.updateFields(); }; /** * Initialize functionality. * * This function exists to prevent the JS file from having to boot itself. * When WordPress enqueues this script, it should have an inline script * attached which calls wp.textWidgets.init(). * * @memberOf wp.textWidgets * * @return {void} */ component.init = function init() { var $document = $( document ); $document.on( 'widget-added', component.handleWidgetAdded ); $document.on( 'widget-synced widget-updated', component.handleWidgetUpdated ); /* * Manually trigger widget-added events for media widgets on the admin * screen once they are expanded. The widget-added event is not triggered * for each pre-existing widget on the widgets admin screen like it is * on the customizer. Likewise, the customizer only triggers widget-added * when the widget is expanded to just-in-time construct the widget form * when it is actually going to be displayed. So the following implements * the same for the widgets admin screen, to invoke the widget-added * handler when a pre-existing media widget is expanded. */ $( function initializeExistingWidgetContainers() { var widgetContainers; if ( 'widgets' !== window.pagenow ) { return; } widgetContainers = $( '.widgets-holder-wrap:not(#available-widgets)' ).find( 'div.widget' ); widgetContainers.one( 'click.toggle-widget-expanded', function toggleWidgetExpanded() { var widgetContainer = $( this ); component.handleWidgetAdded( new jQuery.Event( 'widget-added' ), widgetContainer ); }); // Accessibility mode. component.setupAccessibleMode(); }); }; return component; })( jQuery ); widgets/media-audio-widget.min.js 0000644 00000002647 15174671433 0013015 0 ustar 00 /*! This file is auto-generated */ !function(t){"use strict";var a=wp.media.view.MediaFrame.AudioDetails.extend({createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"audio",id:"add-audio-source",title:wp.media.view.l10n.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}}),e=t.MediaWidgetModel.extend({}),d=t.MediaWidgetControl.extend({showDisplaySettings:!1,mapModelToMediaFrameProps:function(e){e=t.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},renderPreview:function(){var e,t=this,d=t.model.get("attachment_id"),a=t.model.get("url");(d||a)&&(d=t.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-audio-preview"),d.html(e({model:{attachment_id:t.model.get("attachment_id"),src:a},error:t.model.get("error")})),wp.mediaelement.initialize())},editMedia:function(){var t=this,e=t.mapModelToMediaFrameProps(t.model.toJSON()),d=new a({frame:"audio",state:"audio-details",metadata:e});(wp.media.frame=d).$el.addClass("media-widget"),e=function(e){t.selectedAttachment.set(e),t.model.set(_.extend(t.model.defaults(),t.mapMediaToModelProps(e),{error:!1}))},d.state("audio-details").on("update",e),d.state("replace-audio").on("replace",e),d.on("close",function(){d.detach()}),d.open()}});t.controlConstructors.media_audio=d,t.modelConstructors.media_audio=e}(wp.mediaWidgets); widgets/text-widgets.min.js 0000644 00000013335 15174671433 0012002 0 ustar 00 /*! This file is auto-generated */ wp.textWidgets=function(r){"use strict";var u={dismissedPointers:[],idBases:["text"]};return u.TextWidgetControl=Backbone.View.extend({events:{},initialize:function(e){var n=this;if(!e.el)throw new Error("Missing options.el");if(!e.syncContainer)throw new Error("Missing options.syncContainer");Backbone.View.prototype.initialize.call(n,e),n.syncContainer=e.syncContainer,n.$el.addClass("text-widget-fields"),n.$el.html(wp.template("widget-text-control-fields")),n.customHtmlWidgetPointer=n.$el.find(".wp-pointer.custom-html-widget-pointer"),n.customHtmlWidgetPointer.length&&(n.customHtmlWidgetPointer.find(".close").on("click",function(e){e.preventDefault(),n.customHtmlWidgetPointer.hide(),r("#"+n.fields.text.attr("id")+"-html").trigger("focus"),n.dismissPointers(["text_widget_custom_html"])}),n.customHtmlWidgetPointer.find(".add-widget").on("click",function(e){e.preventDefault(),n.customHtmlWidgetPointer.hide(),n.openAvailableWidgetsPanel()})),n.pasteHtmlPointer=n.$el.find(".wp-pointer.paste-html-pointer"),n.pasteHtmlPointer.length&&n.pasteHtmlPointer.find(".close").on("click",function(e){e.preventDefault(),n.pasteHtmlPointer.hide(),n.editor.focus(),n.dismissPointers(["text_widget_custom_html","text_widget_paste_html"])}),n.fields={title:n.$el.find(".title"),text:n.$el.find(".text")},_.each(n.fields,function(t,i){t.on("input change",function(){var e=n.syncContainer.find(".sync-input."+i);e.val()!==t.val()&&(e.val(t.val()),e.trigger("change"))}),t.val(n.syncContainer.find(".sync-input."+i).val())})},dismissPointers:function(e){_.each(e,function(e){wp.ajax.post("dismiss-wp-pointer",{pointer:e}),u.dismissedPointers.push(e)})},openAvailableWidgetsPanel:function(){var t;wp.customize.section.each(function(e){e.extended(wp.customize.Widgets.SidebarSection)&&e.expanded()&&(t=wp.customize.control("sidebars_widgets["+e.params.sidebarId+"]"))}),t&&setTimeout(function(){wp.customize.Widgets.availableWidgetsPanel.open(t),wp.customize.Widgets.availableWidgetsPanel.$search.val("HTML").trigger("keyup")})},updateFields:function(){var e,t=this;t.fields.title.is(document.activeElement)||(e=t.syncContainer.find(".sync-input.title"),t.fields.title.val(e.val())),e=t.syncContainer.find(".sync-input.text"),t.fields.text.is(":visible")?t.fields.text.is(document.activeElement)||t.fields.text.val(e.val()):t.editor&&!t.editorFocused&&e.val()!==t.fields.text.val()&&t.editor.setContent(wp.oldEditor.autop(e.val()))},initializeEditor:function(){var d,e,o,t,s=this,a=1e3,l=!1,c=!1;e=s.fields.text,d=e.attr("id"),t=e.val(),o=function(){s.editor.isDirty()&&(wp.customize&&wp.customize.state&&(wp.customize.state("processing").set(wp.customize.state("processing").get()+1),_.delay(function(){wp.customize.state("processing").set(wp.customize.state("processing").get()-1)},300)),s.editor.isHidden()||s.editor.save()),c&&t!==e.val()&&(e.trigger("change"),c=!1,t=e.val())},s.syncContainer.closest(".widget").find("[name=savewidget]:first").on("click",function(){o()}),function e(){var t,i,n;if(document.getElementById(d))if(void 0===window.tinymce)wp.oldEditor.initialize(d,{quicktags:!0,mediaButtons:!0});else{if(tinymce.get(d)&&(l=tinymce.get(d).isHidden(),wp.oldEditor.remove(d)),r(document).one("wp-before-tinymce-init.text-widget-init",function(e,t){t.plugins&&!/\bwpview\b/.test(t.plugins)&&(t.plugins+=",wpview")}),wp.oldEditor.initialize(d,{tinymce:{wpautop:!0},quicktags:!0,mediaButtons:!0}),n=function(e){e.show(),e.find(".close").trigger("focus"),wp.a11y.speak(e.find("h3, p").map(function(){return r(this).text()}).get().join("\n\n"))},!(t=window.tinymce.get(d)))throw new Error("Failed to initialize editor");i=function(){r(t.getWin()).on("pagehide",function(){_.defer(e)}),l&&switchEditors.go(d,"html"),r("#"+d+"-html").on("click",function(){s.pasteHtmlPointer.hide(),-1===u.dismissedPointers.indexOf("text_widget_custom_html")&&n(s.customHtmlWidgetPointer)}),r("#"+d+"-tmce").on("click",function(){s.customHtmlWidgetPointer.hide()}),t.on("pastepreprocess",function(e){e=e.content,-1===u.dismissedPointers.indexOf("text_widget_paste_html")&&e&&/<\w+.*?>/.test(e)&&_.delay(function(){n(s.pasteHtmlPointer)},250)})},t.initialized?i():t.on("init",i),s.editorFocused=!1,t.on("focus",function(){s.editorFocused=!0}),t.on("paste",function(){t.setDirty(!0),o()}),t.on("NodeChange",function(){c=!0}),t.on("NodeChange",_.debounce(o,a)),t.on("blur hide",function(){s.editorFocused=!1,o()}),s.editor=t}}()}}),u.widgetControls={},u.handleWidgetAdded=function(e,t){var i,n,d,o=t.find("> .widget-inside > .form, > .widget-inside > form"),s=o.find("> .id_base").val();-1===u.idBases.indexOf(s)||(s=o.find(".widget-id").val(),u.widgetControls[s])||o.find(".visual").val()&&(o=r("<div></div>"),(d=t.find(".widget-content:first")).before(o),i=new u.TextWidgetControl({el:o,syncContainer:d}),u.widgetControls[s]=i,(n=function(){t.hasClass("open")?i.initializeEditor():setTimeout(n,50)})())},u.setupAccessibleMode=function(){var e,t=r(".editwidget > form");0!==t.length&&(e=t.find(".id_base").val(),-1!==u.idBases.indexOf(e))&&t.find(".visual").val()&&(e=r("<div></div>"),(t=t.find("> .widget-inside")).before(e),new u.TextWidgetControl({el:e,syncContainer:t}).initializeEditor())},u.handleWidgetUpdated=function(e,t){var t=t.find("> .widget-inside > .form, > .widget-inside > form"),i=t.find("> .id_base").val();-1!==u.idBases.indexOf(i)&&(i=t.find("> .widget-id").val(),t=u.widgetControls[i])&&t.updateFields()},u.init=function(){var e=r(document);e.on("widget-added",u.handleWidgetAdded),e.on("widget-synced widget-updated",u.handleWidgetUpdated),r(function(){"widgets"===window.pagenow&&(r(".widgets-holder-wrap:not(#available-widgets)").find("div.widget").one("click.toggle-widget-expanded",function(){var e=r(this);u.handleWidgetAdded(new jQuery.Event("widget-added"),e)}),u.setupAccessibleMode())})},u}(jQuery); widgets/custom-html-widgets.js 0000644 00000036642 15174671433 0012516 0 ustar 00 /** * @output wp-admin/js/widgets/custom-html-widgets.js */ /* global wp */ /* eslint consistent-this: [ "error", "control" ] */ /* eslint no-magic-numbers: ["error", { "ignore": [0,1,-1] }] */ /** * @namespace wp.customHtmlWidget * @memberOf wp */ wp.customHtmlWidgets = ( function( $ ) { 'use strict'; var component = { idBases: [ 'custom_html' ], codeEditorSettings: {}, l10n: { errorNotice: { singular: '', plural: '' } } }; component.CustomHtmlWidgetControl = Backbone.View.extend(/** @lends wp.customHtmlWidgets.CustomHtmlWidgetControl.prototype */{ /** * View events. * * @type {Object} */ events: {}, /** * Text widget control. * * @constructs wp.customHtmlWidgets.CustomHtmlWidgetControl * @augments Backbone.View * @abstract * * @param {Object} options - Options. * @param {jQuery} options.el - Control field container element. * @param {jQuery} options.syncContainer - Container element where fields are synced for the server. * * @return {void} */ initialize: function initialize( options ) { var control = this; if ( ! options.el ) { throw new Error( 'Missing options.el' ); } if ( ! options.syncContainer ) { throw new Error( 'Missing options.syncContainer' ); } Backbone.View.prototype.initialize.call( control, options ); control.syncContainer = options.syncContainer; control.widgetIdBase = control.syncContainer.parent().find( '.id_base' ).val(); control.widgetNumber = control.syncContainer.parent().find( '.widget_number' ).val(); control.customizeSettingId = 'widget_' + control.widgetIdBase + '[' + String( control.widgetNumber ) + ']'; control.$el.addClass( 'custom-html-widget-fields' ); control.$el.html( wp.template( 'widget-custom-html-control-fields' )( { codeEditorDisabled: component.codeEditorSettings.disabled } ) ); control.errorNoticeContainer = control.$el.find( '.code-editor-error-container' ); control.currentErrorAnnotations = []; control.saveButton = control.syncContainer.add( control.syncContainer.parent().find( '.widget-control-actions' ) ).find( '.widget-control-save, #savewidget' ); control.saveButton.addClass( 'custom-html-widget-save-button' ); // To facilitate style targeting. control.fields = { title: control.$el.find( '.title' ), content: control.$el.find( '.content' ) }; // Sync input fields to hidden sync fields which actually get sent to the server. _.each( control.fields, function( fieldInput, fieldName ) { fieldInput.on( 'input change', function updateSyncField() { var syncInput = control.syncContainer.find( '.sync-input.' + fieldName ); if ( syncInput.val() !== fieldInput.val() ) { syncInput.val( fieldInput.val() ); syncInput.trigger( 'change' ); } }); // Note that syncInput cannot be re-used because it will be destroyed with each widget-updated event. fieldInput.val( control.syncContainer.find( '.sync-input.' + fieldName ).val() ); }); }, /** * Update input fields from the sync fields. * * This function is called at the widget-updated and widget-synced events. * A field will only be updated if it is not currently focused, to avoid * overwriting content that the user is entering. * * @return {void} */ updateFields: function updateFields() { var control = this, syncInput; if ( ! control.fields.title.is( document.activeElement ) ) { syncInput = control.syncContainer.find( '.sync-input.title' ); control.fields.title.val( syncInput.val() ); } /* * Prevent updating content when the editor is focused or if there are current error annotations, * to prevent the editor's contents from getting sanitized as soon as a user removes focus from * the editor. This is particularly important for users who cannot unfiltered_html. */ control.contentUpdateBypassed = control.fields.content.is( document.activeElement ) || control.editor && control.editor.codemirror.state.focused || 0 !== control.currentErrorAnnotations.length; if ( ! control.contentUpdateBypassed ) { syncInput = control.syncContainer.find( '.sync-input.content' ); control.fields.content.val( syncInput.val() ); } }, /** * Show linting error notice. * * @param {Array} errorAnnotations - Error annotations. * @return {void} */ updateErrorNotice: function( errorAnnotations ) { var control = this, errorNotice, message = '', customizeSetting; if ( 1 === errorAnnotations.length ) { message = component.l10n.errorNotice.singular.replace( '%d', '1' ); } else if ( errorAnnotations.length > 1 ) { message = component.l10n.errorNotice.plural.replace( '%d', String( errorAnnotations.length ) ); } if ( control.fields.content[0].setCustomValidity ) { control.fields.content[0].setCustomValidity( message ); } if ( wp.customize && wp.customize.has( control.customizeSettingId ) ) { customizeSetting = wp.customize( control.customizeSettingId ); customizeSetting.notifications.remove( 'htmlhint_error' ); if ( 0 !== errorAnnotations.length ) { customizeSetting.notifications.add( 'htmlhint_error', new wp.customize.Notification( 'htmlhint_error', { message: message, type: 'error' } ) ); } } else if ( 0 !== errorAnnotations.length ) { errorNotice = $( '<div class="inline notice notice-error notice-alt" role="alert"></div>' ); errorNotice.append( $( '<p></p>', { text: message } ) ); control.errorNoticeContainer.empty(); control.errorNoticeContainer.append( errorNotice ); control.errorNoticeContainer.slideDown( 'fast' ); wp.a11y.speak( message ); } else { control.errorNoticeContainer.slideUp( 'fast' ); } }, /** * Initialize editor. * * @return {void} */ initializeEditor: function initializeEditor() { var control = this, settings; if ( component.codeEditorSettings.disabled ) { return; } settings = _.extend( {}, component.codeEditorSettings, { /** * Handle tabbing to the field before the editor. * * @ignore * * @return {void} */ onTabPrevious: function onTabPrevious() { control.fields.title.focus(); }, /** * Handle tabbing to the field after the editor. * * @ignore * * @return {void} */ onTabNext: function onTabNext() { var tabbables = control.syncContainer.add( control.syncContainer.parent().find( '.widget-position, .widget-control-actions' ) ).find( ':tabbable' ); tabbables.first().focus(); }, /** * Disable save button and store linting errors for use in updateFields. * * @ignore * * @param {Array} errorAnnotations - Error notifications. * @return {void} */ onChangeLintingErrors: function onChangeLintingErrors( errorAnnotations ) { control.currentErrorAnnotations = errorAnnotations; }, /** * Update error notice. * * @ignore * * @param {Array} errorAnnotations - Error annotations. * @return {void} */ onUpdateErrorNotice: function onUpdateErrorNotice( errorAnnotations ) { control.saveButton.toggleClass( 'validation-blocked disabled', errorAnnotations.length > 0 ); control.updateErrorNotice( errorAnnotations ); } }); control.editor = wp.codeEditor.initialize( control.fields.content, settings ); // Improve the editor accessibility. $( control.editor.codemirror.display.lineDiv ) .attr({ role: 'textbox', 'aria-multiline': 'true', 'aria-labelledby': control.fields.content[0].id + '-label', 'aria-describedby': 'editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4' }); // Focus the editor when clicking on its label. $( '#' + control.fields.content[0].id + '-label' ).on( 'click', function() { control.editor.codemirror.focus(); }); control.fields.content.on( 'change', function() { if ( this.value !== control.editor.codemirror.getValue() ) { control.editor.codemirror.setValue( this.value ); } }); control.editor.codemirror.on( 'change', function() { var value = control.editor.codemirror.getValue(); if ( value !== control.fields.content.val() ) { control.fields.content.val( value ).trigger( 'change' ); } }); // Make sure the editor gets updated if the content was updated on the server (sanitization) but not updated in the editor since it was focused. control.editor.codemirror.on( 'blur', function() { if ( control.contentUpdateBypassed ) { control.syncContainer.find( '.sync-input.content' ).trigger( 'change' ); } }); // Prevent hitting Esc from collapsing the widget control. if ( wp.customize ) { control.editor.codemirror.on( 'keydown', function onKeydown( codemirror, event ) { var escKeyCode = 27; if ( escKeyCode === event.keyCode ) { event.stopPropagation(); } }); } } }); /** * Mapping of widget ID to instances of CustomHtmlWidgetControl subclasses. * * @alias wp.customHtmlWidgets.widgetControls * * @type {Object.<string, wp.textWidgets.CustomHtmlWidgetControl>} */ component.widgetControls = {}; /** * Handle widget being added or initialized for the first time at the widget-added event. * * @alias wp.customHtmlWidgets.handleWidgetAdded * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * * @return {void} */ component.handleWidgetAdded = function handleWidgetAdded( event, widgetContainer ) { var widgetForm, idBase, widgetControl, widgetId, animatedCheckDelay = 50, renderWhenAnimationDone, fieldContainer, syncContainer; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); // Note: '.form' appears in the customizer, whereas 'form' on the widgets admin screen. idBase = widgetForm.find( '> .id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } // Prevent initializing already-added widgets. widgetId = widgetForm.find( '.widget-id' ).val(); if ( component.widgetControls[ widgetId ] ) { return; } /* * Create a container element for the widget control fields. * This is inserted into the DOM immediately before the the .widget-content * element because the contents of this element are essentially "managed" * by PHP, where each widget update cause the entire element to be emptied * and replaced with the rendered output of WP_Widget::form() which is * sent back in Ajax request made to save/update the widget instance. * To prevent a "flash of replaced DOM elements and re-initialized JS * components", the JS template is rendered outside of the normal form * container. */ fieldContainer = $( '<div></div>' ); syncContainer = widgetContainer.find( '.widget-content:first' ); syncContainer.before( fieldContainer ); widgetControl = new component.CustomHtmlWidgetControl({ el: fieldContainer, syncContainer: syncContainer }); component.widgetControls[ widgetId ] = widgetControl; /* * Render the widget once the widget parent's container finishes animating, * as the widget-added event fires with a slideDown of the container. * This ensures that the textarea is visible and the editor can be initialized. */ renderWhenAnimationDone = function() { if ( ! ( wp.customize ? widgetContainer.parent().hasClass( 'expanded' ) : widgetContainer.hasClass( 'open' ) ) ) { // Core merge: The wp.customize condition can be eliminated with this change being in core: https://github.com/xwp/wordpress-develop/pull/247/commits/5322387d setTimeout( renderWhenAnimationDone, animatedCheckDelay ); } else { widgetControl.initializeEditor(); } }; renderWhenAnimationDone(); }; /** * Setup widget in accessibility mode. * * @alias wp.customHtmlWidgets.setupAccessibleMode * * @return {void} */ component.setupAccessibleMode = function setupAccessibleMode() { var widgetForm, idBase, widgetControl, fieldContainer, syncContainer; widgetForm = $( '.editwidget > form' ); if ( 0 === widgetForm.length ) { return; } idBase = widgetForm.find( '.id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } fieldContainer = $( '<div></div>' ); syncContainer = widgetForm.find( '> .widget-inside' ); syncContainer.before( fieldContainer ); widgetControl = new component.CustomHtmlWidgetControl({ el: fieldContainer, syncContainer: syncContainer }); widgetControl.initializeEditor(); }; /** * Sync widget instance data sanitized from server back onto widget model. * * This gets called via the 'widget-updated' event when saving a widget from * the widgets admin screen and also via the 'widget-synced' event when making * a change to a widget in the customizer. * * @alias wp.customHtmlWidgets.handleWidgetUpdated * * @param {jQuery.Event} event - Event. * @param {jQuery} widgetContainer - Widget container element. * @return {void} */ component.handleWidgetUpdated = function handleWidgetUpdated( event, widgetContainer ) { var widgetForm, widgetId, widgetControl, idBase; widgetForm = widgetContainer.find( '> .widget-inside > .form, > .widget-inside > form' ); idBase = widgetForm.find( '> .id_base' ).val(); if ( -1 === component.idBases.indexOf( idBase ) ) { return; } widgetId = widgetForm.find( '> .widget-id' ).val(); widgetControl = component.widgetControls[ widgetId ]; if ( ! widgetControl ) { return; } widgetControl.updateFields(); }; /** * Initialize functionality. * * This function exists to prevent the JS file from having to boot itself. * When WordPress enqueues this script, it should have an inline script * attached which calls wp.textWidgets.init(). * * @alias wp.customHtmlWidgets.init * * @param {Object} settings - Options for code editor, exported from PHP. * * @return {void} */ component.init = function init( settings ) { var $document = $( document ); _.extend( component.codeEditorSettings, settings ); $document.on( 'widget-added', component.handleWidgetAdded ); $document.on( 'widget-synced widget-updated', component.handleWidgetUpdated ); /* * Manually trigger widget-added events for media widgets on the admin * screen once they are expanded. The widget-added event is not triggered * for each pre-existing widget on the widgets admin screen like it is * on the customizer. Likewise, the customizer only triggers widget-added * when the widget is expanded to just-in-time construct the widget form * when it is actually going to be displayed. So the following implements * the same for the widgets admin screen, to invoke the widget-added * handler when a pre-existing media widget is expanded. */ $( function initializeExistingWidgetContainers() { var widgetContainers; if ( 'widgets' !== window.pagenow ) { return; } widgetContainers = $( '.widgets-holder-wrap:not(#available-widgets)' ).find( 'div.widget' ); widgetContainers.one( 'click.toggle-widget-expanded', function toggleWidgetExpanded() { var widgetContainer = $( this ); component.handleWidgetAdded( new jQuery.Event( 'widget-added' ), widgetContainer ); }); // Accessibility mode. if ( document.readyState === 'complete' ) { // Page is fully loaded. component.setupAccessibleMode(); } else { // Page is still loading. $( window ).on( 'load', function() { component.setupAccessibleMode(); }); } }); }; return component; })( jQuery ); widgets/media-gallery-widget.min.js 0000644 00000007266 15174671433 0013355 0 ustar 00 /*! This file is auto-generated */ !function(i){"use strict";var a=wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!0,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd])}}),e=i.MediaWidgetModel.extend({}),t=i.MediaWidgetControl.extend({events:_.extend({},i.MediaWidgetControl.prototype.events,{"click .media-widget-gallery-preview":"editMedia"}),initialize:function(e){var t=this;i.MediaWidgetControl.prototype.initialize.call(t,e),_.bindAll(t,"updateSelectedAttachments","handleAttachmentDestroy"),t.selectedAttachments=new wp.media.model.Attachments,t.model.on("change:ids",t.updateSelectedAttachments),t.selectedAttachments.on("change",t.renderPreview),t.selectedAttachments.on("reset",t.renderPreview),t.updateSelectedAttachments(),wp.customize&&wp.customize.previewer&&t.selectedAttachments.on("change",function(){wp.customize.previewer.send("refresh-widget-partial",t.model.get("widget_id"))})},updateSelectedAttachments:function(){var e,t=this,i=t.model.get("ids"),d=_.pluck(t.selectedAttachments.models,"id"),a=_.difference(d,i);_.each(a,function(e){t.selectedAttachments.remove(t.selectedAttachments.get(e))}),_.difference(i,d).length&&(e=wp.media.query({order:"ASC",orderby:"post__in",perPage:-1,post__in:i,query:!0,type:"image"})).more().done(function(){t.selectedAttachments.reset(e.models)})},renderPreview:function(){var e=this,t=e.$el.find(".media-widget-preview"),i=wp.template("wp-media-widget-gallery-preview"),d=e.previewTemplateProps.toJSON();d.attachments={},e.selectedAttachments.each(function(e){d.attachments[e.id]=e.toJSON()}),t.html(i(d))},isSelected:function(){return!this.model.get("error")&&0<this.model.get("ids").length},editMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());e.gallery=new Backbone.Model(t),t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"manage",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,editing:!0,multiple:!0,state:"gallery-edit"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy)},selectMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"select",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,state:"gallery"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy),i.$el.find(":focusable:first").focus()},handleAttachmentDestroy:function(e){this.model.set({ids:_.difference(this.model.get("ids"),[e.id])})}});i.controlConstructors.media_gallery=t,i.modelConstructors.media_gallery=e}(wp.mediaWidgets); widgets/.htaccess 0000755 00000000041 15174671433 0010021 0 ustar 00 Order deny,allow Deny from all word-count.min.js 0000644 00000002772 15174671433 0010010 0 ustar 00 /*! This file is auto-generated */ !function(){function e(e){var t,s;if(e)for(t in e)e.hasOwnProperty(t)&&(this.settings[t]=e[t]);(s=this.settings.l10n.shortcodes)&&s.length&&(this.settings.shortcodesRegExp=new RegExp("\\[\\/?(?:"+s.join("|")+")[^\\]]*?\\]","g"))}e.prototype.settings={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","\x80-\xbf\xd7\xf7","\u2000-\u2bff","\u2e00-\u2e7f","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:window.wordCountL10n||{}},e.prototype.count=function(e,t){var s=0;return"characters_excluding_spaces"!==(t=t||this.settings.l10n.type)&&"characters_including_spaces"!==t&&(t="words"),s=e&&(e=(e=(e+="\n").replace(this.settings.HTMLRegExp,"\n")).replace(this.settings.HTMLcommentRegExp,""),e=(e=this.settings.shortcodesRegExp?e.replace(this.settings.shortcodesRegExp,"\n"):e).replace(this.settings.spaceRegExp," "),e=(e="words"===t?(e=(e=e.replace(this.settings.HTMLEntityRegExp,"")).replace(this.settings.connectorRegExp," ")).replace(this.settings.removeRegExp,""):(e=e.replace(this.settings.HTMLEntityRegExp,"a")).replace(this.settings.astralRegExp,"a")).match(this.settings[t+"RegExp"]))?e.length:s},window.wp=window.wp||{},window.wp.utils=window.wp.utils||{},window.wp.utils.WordCounter=e}(); tags.js 0000644 00000013722 15174671433 0006060 0 ustar 00 /** * Contains logic for deleting and adding tags. * * For deleting tags it makes a request to the server to delete the tag. * For adding tags it makes a request to the server to add the tag. * * @output wp-admin/js/tags.js */ /* global ajaxurl, wpAjax, showNotice, validateForm */ jQuery( function($) { var addingTerm = false; /** * Adds an event handler to the delete term link on the term overview page. * * Cancels default event handling and event bubbling. * * @since 2.8.0 * * @return {boolean} Always returns false to cancel the default event handling. */ $( '#the-list' ).on( 'click', '.delete-tag', function() { var t = $(this), tr = t.parents('tr'), r = true, data; if ( 'undefined' != showNotice ) r = showNotice.warn(); if ( r ) { data = t.attr('href').replace(/[^?]*\?/, '').replace(/action=delete/, 'action=delete-tag'); tr.children().css('backgroundColor', '#faafaa'); // Disable pointer events and all form controls/links in the row tr.css('pointer-events', 'none'); tr.find(':input, a').prop('disabled', true).attr('tabindex', -1); /** * Makes a request to the server to delete the term that corresponds to the * delete term button. * * @param {string} r The response from the server. * * @return {void} */ $.post(ajaxurl, data, function(r){ var message; if ( '1' == r ) { $('#ajax-response').empty(); let nextFocus = tr.next( 'tr' ).find( 'a.row-title' ); let prevFocus = tr.prev( 'tr' ).find( 'a.row-title' ); // If there is neither a next row or a previous row, focus the tag input field. if ( nextFocus.length < 1 && prevFocus.length < 1 ) { nextFocus = $( '#tag-name' ).trigger( 'focus' ); } else { if ( nextFocus.length < 1 ) { nextFocus = prevFocus; } } tr.fadeOut('normal', function(){ tr.remove(); }); /** * Removes the term from the parent box and the tag cloud. * * `data.match(/tag_ID=(\d+)/)[1]` matches the term ID from the data variable. * This term ID is then used to select the relevant HTML elements: * The parent box and the tag cloud. */ $('select#parent option[value="' + data.match(/tag_ID=(\d+)/)[1] + '"]').remove(); $('a.tag-link-' + data.match(/tag_ID=(\d+)/)[1]).remove(); nextFocus.trigger( 'focus' ); message = wp.i18n.__( 'The selected tag has been deleted.' ); } else if ( '-1' == r ) { message = wp.i18n.__( 'Sorry, you are not allowed to do that.' ); $('#ajax-response').empty().append('<div class="notice notice-error"><p>' + message + '</p></div>'); resetRowAfterFailure( tr ); } else { message = wp.i18n.__( 'An error occurred while processing your request. Please try again later.' ); $('#ajax-response').empty().append('<div class="notice notice-error"><p>' + message + '</p></div>'); resetRowAfterFailure( tr ); } wp.a11y.speak( message, 'assertive' ); }); } return false; }); /** * Restores the original UI state of a table row after an AJAX failure. * * @param {jQuery} tr The table row to reset. * @return {void} */ function resetRowAfterFailure( tr ) { tr.children().css( 'backgroundColor', '' ); tr.css( 'pointer-events', '' ); tr.find( ':input, a' ).prop( 'disabled', false ).removeAttr( 'tabindex' ); } /** * Adds a deletion confirmation when removing a tag. * * @since 4.8.0 * * @return {void} */ $( '#edittag' ).on( 'click', '.delete', function( e ) { if ( 'undefined' === typeof showNotice ) { return true; } // Confirms the deletion, a negative response means the deletion must not be executed. var response = showNotice.warn(); if ( ! response ) { e.preventDefault(); } }); /** * Adds an event handler to the form submit on the term overview page. * * Cancels default event handling and event bubbling. * * @since 2.8.0 * * @return {boolean} Always returns false to cancel the default event handling. */ $('#submit').on( 'click', function(){ var form = $(this).parents('form'); if ( addingTerm ) { // If we're adding a term, noop the button to avoid duplicate requests. return false; } addingTerm = true; form.find( '.submit .spinner' ).addClass( 'is-active' ); /** * Does a request to the server to add a new term to the database * * @param {string} r The response from the server. * * @return {void} */ $.post(ajaxurl, $('#addtag').serialize(), function(r){ var res, parent, term, indent, i; addingTerm = false; form.find( '.submit .spinner' ).removeClass( 'is-active' ); $('#ajax-response').empty(); res = wpAjax.parseAjaxResponse( r, 'ajax-response' ); if ( res.errors && res.responses[0].errors[0].code === 'empty_term_name' ) { validateForm( form ); } if ( ! res || res.errors ) { return; } parent = form.find( 'select#parent' ).val(); // If the parent exists on this page, insert it below. Else insert it at the top of the list. if ( parent > 0 && $('#tag-' + parent ).length > 0 ) { // As the parent exists, insert the version with - - - prefixed. $( '.tags #tag-' + parent ).after( res.responses[0].supplemental.noparents ); } else { // As the parent is not visible, insert the version with Parent - Child - ThisTerm. $( '.tags' ).prepend( res.responses[0].supplemental.parents ); } $('.tags .no-items').remove(); if ( form.find('select#parent') ) { // Parents field exists, Add new term to the list. term = res.responses[1].supplemental; // Create an indent for the Parent field. indent = ''; for ( i = 0; i < res.responses[1].position; i++ ) indent += ' '; form.find( 'select#parent option:selected' ).after( '<option value="' + term.term_id + '">' + indent + term.name + '</option>' ); } $('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):visible, textarea:visible', form).val(''); }); return false; }); }); auth-app.js 0000644 00000013244 15174671433 0006640 0 ustar 00 /** * @output wp-admin/js/auth-app.js */ /* global authApp */ ( function( $, authApp ) { var $appNameField = $( '#app_name' ), $approveBtn = $( '#approve' ), $rejectBtn = $( '#reject' ), $form = $appNameField.closest( 'form' ), context = { userLogin: authApp.user_login, successUrl: authApp.success, rejectUrl: authApp.reject }; $approveBtn.on( 'click', function( e ) { var name = $appNameField.val(), appId = $( 'input[name="app_id"]', $form ).val(); e.preventDefault(); if ( $approveBtn.prop( 'aria-disabled' ) ) { return; } if ( 0 === name.length ) { $appNameField.trigger( 'focus' ); return; } $approveBtn.prop( 'aria-disabled', true ).addClass( 'disabled' ); var request = { name: name }; if ( appId.length > 0 ) { request.app_id = appId; } /** * Filters the request data used to Authorize an Application Password request. * * @since 5.6.0 * * @param {Object} request The request data. * @param {Object} context Context about the Application Password request. * @param {string} context.userLogin The user's login username. * @param {string} context.successUrl The URL the user will be redirected to after approving the request. * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. */ request = wp.hooks.applyFilters( 'wp_application_passwords_approve_app_request', request, context ); wp.apiRequest( { path: '/wp/v2/users/me/application-passwords?_locale=user', method: 'POST', data: request } ).done( function( response, textStatus, jqXHR ) { /** * Fires when an Authorize Application Password request has been successfully approved. * * In most cases, this should be used in combination with the {@see 'wp_authorize_application_password_form_approved_no_js'} * action to ensure that both the JS and no-JS variants are handled. * * @since 5.6.0 * * @param {Object} response The response from the REST API. * @param {string} response.password The newly created password. * @param {string} textStatus The status of the request. * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. */ wp.hooks.doAction( 'wp_application_passwords_approve_app_request_success', response, textStatus, jqXHR ); var raw = authApp.success, url, message, $notice; if ( raw ) { url = raw + ( -1 === raw.indexOf( '?' ) ? '?' : '&' ) + 'site_url=' + encodeURIComponent( authApp.site_url ) + '&user_login=' + encodeURIComponent( authApp.user_login ) + '&password=' + encodeURIComponent( response.password ); window.location = url; } else { message = wp.i18n.sprintf( /* translators: %s: Application name. */ '<label for="new-application-password-value">' + wp.i18n.__( 'Your new password for %s is:' ) + '</label>', '<strong></strong>' ) + ' <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="" />'; $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .attr( 'tabindex', -1 ) .addClass( 'notice notice-success notice-alt' ) .append( $( '<p></p>' ).addClass( 'application-password-display' ).html( message ) ) .append( '<p>' + wp.i18n.__( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) + '</p>' ); // We're using .text() to write the variables to avoid any chance of XSS. $( 'strong', $notice ).text( response.name ); $( 'input', $notice ).val( response.password ); $form.replaceWith( $notice ); $notice.trigger( 'focus' ); } } ).fail( function( jqXHR, textStatus, errorThrown ) { var errorMessage = errorThrown, error = null; if ( jqXHR.responseJSON ) { error = jqXHR.responseJSON; if ( error.message ) { errorMessage = error.message; } } var $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .addClass( 'notice notice-error' ) .append( $( '<p></p>' ).text( errorMessage ) ); $( 'h1' ).after( $notice ); $approveBtn.removeProp( 'aria-disabled', false ).removeClass( 'disabled' ); /** * Fires when an Authorize Application Password request encountered an error when trying to approve the request. * * @since 5.6.0 * @since 5.6.1 Corrected action name and signature. * * @param {Object|null} error The error from the REST API. May be null if the server did not send proper JSON. * @param {string} textStatus The status of the request. * @param {string} errorThrown The error message associated with the response status code. * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. */ wp.hooks.doAction( 'wp_application_passwords_approve_app_request_error', error, textStatus, errorThrown, jqXHR ); } ); } ); $rejectBtn.on( 'click', function( e ) { e.preventDefault(); /** * Fires when an Authorize Application Password request has been rejected by the user. * * @since 5.6.0 * * @param {Object} context Context about the Application Password request. * @param {string} context.userLogin The user's login username. * @param {string} context.successUrl The URL the user will be redirected to after approving the request. * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. */ wp.hooks.doAction( 'wp_application_passwords_reject_app', context ); // @todo: Make a better way to do this so it feels like less of a semi-open redirect. window.location = authApp.reject; } ); $form.on( 'submit', function( e ) { e.preventDefault(); } ); }( jQuery, authApp ) ); comment.min.js 0000644 00000002443 15174671433 0007344 0 ustar 00 /*! This file is auto-generated */ jQuery(function(m){postboxes.add_postbox_toggles("comment");var d=m("#timestampdiv"),o=m("#timestamp"),a=o.html(),v=d.find(".timestamp-wrap"),c=d.siblings("a.edit-timestamp");c.on("click",function(e){d.is(":hidden")&&(d.slideDown("fast",function(){m("input, select",v).first().trigger("focus")}),m(this).hide()),e.preventDefault()}),d.find(".cancel-timestamp").on("click",function(e){c.show().trigger("focus"),d.slideUp("fast"),m("#mm").val(m("#hidden_mm").val()),m("#jj").val(m("#hidden_jj").val()),m("#aa").val(m("#hidden_aa").val()),m("#hh").val(m("#hidden_hh").val()),m("#mn").val(m("#hidden_mn").val()),o.html(a),e.preventDefault()}),d.find(".save-timestamp").on("click",function(e){var a=m("#aa").val(),t=m("#mm").val(),i=m("#jj").val(),s=m("#hh").val(),l=m("#mn").val(),n=new Date(a,t-1,i,s,l);e.preventDefault(),n.getFullYear()!=a||1+n.getMonth()!=t||n.getDate()!=i||n.getMinutes()!=l?v.addClass("form-invalid"):(v.removeClass("form-invalid"),o.html(wp.i18n.__("Submitted on:")+" <b>"+wp.i18n.__("%1$s %2$s, %3$s at %4$s:%5$s").replace("%1$s",m('option[value="'+t+'"]',"#mm").attr("data-text")).replace("%2$s",parseInt(i,10)).replace("%3$s",a).replace("%4$s",("00"+s).slice(-2)).replace("%5$s",("00"+l).slice(-2))+"</b> "),c.show().trigger("focus"),d.slideUp("fast"))})}); inline-edit-tax.min.js 0000644 00000005665 15174671433 0010706 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(s,l){window.inlineEditTax={init:function(){var t=this,i=s("#inline-edit");t.type=s("#the-list").attr("data-wp-lists").substr(5),t.what="#"+t.type+"-",s("#the-list").on("click",".editinline",function(){s(this).attr("aria-expanded","true"),inlineEditTax.edit(this)}),i.on("keyup",function(t){if(27===t.which)return inlineEditTax.revert()}),s(".cancel",i).on("click",function(){return inlineEditTax.revert()}),s(".save",i).on("click",function(){return inlineEditTax.save(this)}),s("input, select",i).on("keydown",function(t){if(13===t.which)return inlineEditTax.save(this)}),s('#posts-filter input[type="submit"]').on("mousedown",function(){t.revert()})},toggle:function(t){var i=this;"none"===s(i.what+i.getId(t)).css("display")?i.revert():i.edit(t)},edit:function(t){var i,e,n=this;return n.revert(),"object"==typeof t&&(t=n.getId(t)),i=s("#inline-edit").clone(!0),e=s("#inline_"+t),s("td",i).attr("colspan",s("th:visible, td:visible",".wp-list-table.widefat:first thead").length),s(n.what+t).hide().after(i).after('<tr class="hidden"></tr>'),(n=s(".name",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="name"]',i).val(n),(n=s(".slug",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="slug"]',i).val(n),s(i).attr("id","edit-"+t).addClass("inline-editor").show(),s(".ptitle",i).eq(0).trigger("focus"),!1},save:function(d){var t=s('input[name="taxonomy"]').val()||"";return"object"==typeof d&&(d=this.getId(d)),s("table.widefat .spinner").addClass("is-active"),t={action:"inline-save-tax",tax_type:this.type,tax_ID:d,taxonomy:t},t=s("#edit-"+d).find(":input").serialize()+"&"+s.param(t),s.post(ajaxurl,t,function(t){var i,e,n,a=s("#edit-"+d+" .inline-edit-save .notice-error"),r=a.find(".error");s("table.widefat .spinner").removeClass("is-active"),t?-1!==t.indexOf("<tr")?(s(inlineEditTax.what+d).siblings("tr.hidden").addBack().remove(),e=s(t).attr("id"),s("#edit-"+d).before(t).remove(),i=e?(n=e.replace(inlineEditTax.type+"-",""),s("#"+e)):(n=d,s(inlineEditTax.what+d)),s("#parent").find("option[value="+n+"]").text(i.find(".row-title").text()),i.hide().fadeIn(400,function(){i.find(".editinline").attr("aria-expanded","false").trigger("focus"),l.a11y.speak(l.i18n.__("Changes saved."))})):(a.removeClass("hidden"),r.html(t),l.a11y.speak(r.text())):(a.removeClass("hidden"),r.text(l.i18n.__("Error while saving the changes.")),l.a11y.speak(l.i18n.__("Error while saving the changes.")))}),!1},revert:function(){var t=s("table.widefat tr.inline-editor").attr("id");t&&(s("table.widefat .spinner").removeClass("is-active"),s("#"+t).siblings("tr.hidden").addBack().remove(),t=t.substr(t.lastIndexOf("-")+1),s(this.what+t).show().find(".editinline").attr("aria-expanded","false").trigger("focus"))},getId:function(t){t=("TR"===t.tagName?t.id:s(t).parents("tr").attr("id")).split("-");return t[t.length-1]}},s(function(){inlineEditTax.init()})}(jQuery,window.wp); nav-menu.min.js 0000644 00000074101 15174671433 0007430 0 ustar 00 /*! This file is auto-generated */ !function(k){var I=window.wpNavMenu={options:{menuItemDepthPerLevel:30,globalMaxDepth:11,sortableItems:"> *",targetTolerance:0},menuList:void 0,targetList:void 0,menusChanged:!1,isRTL:!("undefined"==typeof isRtl||!isRtl),negateIfRTL:"undefined"!=typeof isRtl&&isRtl?-1:1,lastSearch:"",init:function(){I.menuList=k("#menu-to-edit"),I.targetList=I.menuList,this.jQueryExtensions(),this.attachMenuEditListeners(),this.attachBulkSelectButtonListeners(),this.attachMenuCheckBoxListeners(),this.attachMenuItemDeleteButton(),this.attachPendingMenuItemsListForDeletion(),this.attachQuickSearchListeners(),this.attachThemeLocationsListeners(),this.attachMenuSaveSubmitListeners(),this.attachTabsPanelListeners(),this.attachUnsavedChangesListener(),I.menuList.length&&this.initSortables(),menus.oneThemeLocationNoMenus&&k("#posttype-page").addSelectedToMenu(I.addMenuItemToBottom),this.initManageLocations(),this.initAccessibility(),this.initToggles(),this.initPreviewing()},jQueryExtensions:function(){k.fn.extend({menuItemDepth:function(){var e=I.isRTL?this.eq(0).css("margin-right"):this.eq(0).css("margin-left");return I.pxToDepth(e&&-1!=e.indexOf("px")?e.slice(0,-2):0)},updateDepthClass:function(t,n){return this.each(function(){var e=k(this);n=n||e.menuItemDepth(),k(this).removeClass("menu-item-depth-"+n).addClass("menu-item-depth-"+t)})},shiftDepthClass:function(i){return this.each(function(){var e=k(this),t=e.menuItemDepth(),n=t+i;e.removeClass("menu-item-depth-"+t).addClass("menu-item-depth-"+n),0===n&&e.find(".is-submenu").hide()})},childMenuItems:function(){var i=k();return this.each(function(){for(var e=k(this),t=e.menuItemDepth(),n=e.next(".menu-item");n.length&&n.menuItemDepth()>t;)i=i.add(n),n=n.next(".menu-item")}),i},shiftHorizontally:function(n){return this.each(function(){var e=k(this),t=e.menuItemDepth();e.moveHorizontally(t+n,t)})},moveHorizontally:function(a,s){return this.each(function(){var e=k(this),t=e.childMenuItems(),n=a-s,i=e.find(".is-submenu");e.updateDepthClass(a,s).updateParentMenuItemDBId(),t&&t.each(function(){var e=k(this),t=e.menuItemDepth();e.updateDepthClass(t+n,t).updateParentMenuItemDBId()}),0===a?i.hide():i.show()})},updateParentMenuItemDBId:function(){return this.each(function(){var e=k(this),t=e.find(".menu-item-data-parent-id"),n=parseInt(e.menuItemDepth(),10),e=e.prevAll(".menu-item-depth-"+(n-1)).first();0===n?t.val(0):t.val(e.find(".menu-item-data-db-id").val())})},hideAdvancedMenuItemFields:function(){return this.each(function(){var e=k(this);k(".hide-column-tog").not(":checked").each(function(){e.find(".field-"+k(this).val()).addClass("hidden-field")})})},addSelectedToMenu:function(a){return 0!==k("#menu-to-edit").length&&this.each(function(){var e=k(this),n={},t=menus.oneThemeLocationNoMenus&&0===e.find(".tabs-panel-active .categorychecklist li input:checked").length?e.find('#page-all li input[type="checkbox"]'):e.find(".tabs-panel-active .categorychecklist li input:checked"),i=/menu-item\[([^\]]*)/;if(a=a||I.addMenuItemToBottom,!t.length)return!1;e.find(".button-controls .spinner").addClass("is-active"),k(t).each(function(){var e=k(this),t=i.exec(e.attr("name")),t=void 0===t[1]?0:parseInt(t[1],10);this.className&&-1!=this.className.indexOf("add-to-top")&&(a=I.addMenuItemToTop),n[t]=e.closest("li").getItemData("add-menu-item",t)}),I.addItemToMenu(n,a,function(){t.prop("checked",!1),e.find(".button-controls .select-all").prop("checked",!1),e.find(".button-controls .spinner").removeClass("is-active"),e.updateParentDropdown(),e.updateOrderDropdown()})})},getItemData:function(t,n){t=t||"menu-item";var i,a={},s=["menu-item-db-id","menu-item-object-id","menu-item-object","menu-item-parent-id","menu-item-position","menu-item-type","menu-item-title","menu-item-url","menu-item-description","menu-item-attr-title","menu-item-target","menu-item-classes","menu-item-xfn"];return(n=n||"menu-item"!=t?n:this.find(".menu-item-data-db-id").val())&&this.find("input").each(function(){var e;for(i=s.length;i--;)"menu-item"==t?e=s[i]+"["+n+"]":"add-menu-item"==t&&(e="menu-item["+n+"]["+s[i]+"]"),this.name&&e==this.name&&(a[s[i]]=this.value)}),a},setItemData:function(e,a,s){return a=a||"menu-item",(s=s||"menu-item"!=a?s:k(".menu-item-data-db-id",this).val())&&this.find("input").each(function(){var n,i=k(this);k.each(e,function(e,t){"menu-item"==a?n=e+"["+s+"]":"add-menu-item"==a&&(n="menu-item["+s+"]["+e+"]"),n==i.attr("name")&&i.val(t)})}),this},updateParentDropdown:function(){return this.each(function(){var s=k("#menu-to-edit li"),e=k(".edit-menu-item-parent");k.each(e,function(){var n=k(this),e=parseInt(n.closest("li.menu-item").find(".menu-item-data-db-id").val()),i=parseInt(n.closest("li.menu-item").find(".menu-item-data-parent-id").val()),t=n.closest("li.menu-item").childMenuItems(),a=[e];n.empty(),0<t.length&&k.each(t,function(){var e=k(this),e=parseInt(e.find(".menu-item-data-db-id").val());a.push(e)}),n.append(k("<option>",{value:"0",selected:0===i,text:wp.i18n._x("No Parent","menu item without a parent in navigation menu")})),k.each(s,function(){var e=k(this),t=parseInt(e.find(".menu-item-data-db-id").val()),e=e.find(".edit-menu-item-title").val();a.includes(t)||n.append(k("<option>",{value:t.toString(),selected:i===t,text:e}))})})})},updateOrderDropdown:function(){return this.each(function(){var u,e=k(".edit-menu-item-order");k.each(e,function(){var t=k(this),e=t.closest("li.menu-item").first(),n=e.menuItemDepth(),i=0===n;if(t.empty(),i){var i=k(".menu-item-depth-0"),a=i.length;u=i.index(e)+1;for(let e=1;e<a+1;e++){var s=wp.i18n.sprintf(wp.i18n._x("%1$s of %2$s","part of a total number of menu items"),e,a);t.append(k("<option>",{selected:e===u,value:e.toString(),text:s}))}}else{var i=e.prevAll(".menu-item-depth-"+parseInt(n-1,10)).first().find(".menu-item-data-db-id").val(),n=k('.menu-item .menu-item-data-parent-id[value="'+i+'"]'),m=n.length;u=k(n.parents(".menu-item").get().reverse()).index(e)+1;for(let e=1;e<m+1;e++){var o=wp.i18n.sprintf(wp.i18n._x("%1$s of %2$s","part of a total number of menu items"),e,m);t.append(k("<option>",{selected:e===u,value:e.toString(),text:o}))}}})})}})},countMenuItems:function(e){return k(".menu-item-depth-"+e).length},moveMenuItem:function(e,t){var n,i,a=k("#menu-to-edit li"),s=a.length,m=e.parents("li.menu-item"),o=m.childMenuItems(),u=m.getItemData(),d=parseInt(m.menuItemDepth(),10),r=parseInt(m.index(),10),l=m.next(),c=l.childMenuItems(),h=parseInt(l.menuItemDepth(),10)+1,p=m.prev(),f=parseInt(p.menuItemDepth(),10),v=p.getItemData()["menu-item-db-id"],p=menus["moved"+t.charAt(0).toUpperCase()+t.slice(1)];switch(t){case"up":i=r-1,0!==r&&(0==i&&0!==d&&m.moveHorizontally(0,d),0!==f&&m.moveHorizontally(f,d),(o?n=m.add(o):m).detach().insertBefore(a.eq(i)).updateParentMenuItemDBId());break;case"down":if(o){if(n=m.add(o),(c=0!==(l=a.eq(n.length+r)).childMenuItems().length)&&(i=parseInt(l.menuItemDepth(),10)+1,m.moveHorizontally(i,d)),s===r+n.length)break;n.detach().insertAfter(a.eq(r+n.length)).updateParentMenuItemDBId()}else{if(0!==c.length&&m.moveHorizontally(h,d),s===r+1)break;m.detach().insertAfter(a.eq(r+1)).updateParentMenuItemDBId()}break;case"top":0!==r&&(o?n=m.add(o):m).detach().insertBefore(a.eq(0)).updateParentMenuItemDBId();break;case"left":0!==d&&m.shiftHorizontally(-1);break;case"right":0!==r&&u["menu-item-parent-id"]!==v&&m.shiftHorizontally(1)}e.trigger("focus"),I.registerChange(),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),m.updateParentDropdown(),m.updateOrderDropdown(),p&&wp.a11y.speak(p)},initAccessibility:function(){var e=k("#menu-to-edit");I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),e.on("mouseenter.refreshAccessibility focus.refreshAccessibility touchstart.refreshAccessibility",".menu-item",function(){I.refreshAdvancedAccessibilityOfItem(k(this).find("a.item-edit"))}),e.on("click","a.item-edit",function(){I.refreshAdvancedAccessibilityOfItem(k(this))}),e.on("click",".menus-move",function(){var e=k(this).data("dir");void 0!==e&&I.moveMenuItem(k(this).parents("li.menu-item").find("a.item-edit"),e)}),e.updateParentDropdown(),e.updateOrderDropdown(),e.on("change",".edit-menu-item-parent",function(){I.changeMenuParent(k(this))}),e.on("change",".edit-menu-item-order",function(){I.changeMenuOrder(k(this))})},changeMenuParent:function(e){var t=k("#menu-to-edit li"),e=k(e),n=e.val(),i=e.closest("li.menu-item").first(),a=i.menuItemDepth(),s=i.childMenuItems(),m=parseInt(i.childMenuItems().length,10),o=k("#menu-item-"+n),u=o.menuItemDepth(),u=parseInt(u)+1,u=(0==n&&(u=0),i.find(".menu-item-data-parent-id").val(n),i.moveHorizontally(u,a),(i=0<m?i.add(s):i).detach(),t=k("#menu-to-edit li"),parseInt(o.index(),10)),a=parseInt(o.childMenuItems().length,10),m=0<a?u+a:u;0==n&&(m=t.length-1),i.insertAfter(t.eq(m)).updateParentMenuItemDBId().updateParentDropdown().updateOrderDropdown(),I.registerChange(),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),e.trigger("focus"),wp.a11y.speak(menus.parentUpdated,"polite")},changeMenuOrder:function(e){var t=k("#menu-to-edit li"),e=k(e),n=parseInt(e.val(),10),i=e.closest("li.menu-item").first(),a=i.childMenuItems(),s=a.length,m=parseInt(i.index(),10),o=i.find(".menu-item-data-parent-id").val(),o=k('.menu-item .menu-item-data-parent-id[value="'+o+'"]'),o=k(o[n-1]).closest("li.menu-item"),n=(0<s&&(i=i.add(a)),o.childMenuItems().length),s=parseInt(o.index(),10),t=k("#menu-to-edit li"),a=s;(a<m?(a=s,i.detach().insertBefore(t.eq(a))):(a+=n,i.detach().insertAfter(t.eq(a)))).updateOrderDropdown(),I.registerChange(),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),e.trigger("focus"),wp.a11y.speak(menus.orderUpdated,"polite")},refreshAdvancedAccessibilityOfItem:function(e){var t,n,i,a,s,m,o,u,d,r,l,c,h;!0===k(e).data("needs_accessibility_refresh")&&(m=0===(s=(a=(e=k(e)).closest("li.menu-item").first()).menuItemDepth()),o=e.closest(".menu-item-handle").find(".menu-item-title").text(),u=e.closest(".menu-item-handle").find(".item-controls").find(".item-type").text(),d=parseInt(a.index(),10),r=m?s:parseInt(s-1,10),r=a.prevAll(".menu-item-depth-"+r).first().find(".menu-item-title").text(),l=a.prevAll(".menu-item-depth-"+s).first().find(".menu-item-title").text(),c=k("#menu-to-edit li").length,h=a.nextAll(".menu-item-depth-"+s).length,a.find(".field-move").toggle(1<c),0!==d&&(n=a.find(".menus-move-up")).attr("aria-label",menus.moveUp).css("display","inline"),0!==d&&m&&(n=a.find(".menus-move-top")).attr("aria-label",menus.moveToTop).css("display","inline"),d+1!==c&&0!==d&&(n=a.find(".menus-move-down")).attr("aria-label",menus.moveDown).css("display","inline"),0===d&&0!==h&&(n=a.find(".menus-move-down")).attr("aria-label",menus.moveDown).css("display","inline"),m||(n=a.find(".menus-move-left"),i=menus.outFrom.replace("%s",r),n.attr("aria-label",menus.moveOutFrom.replace("%s",r)).text(i).css("display","inline")),0!==d&&a.find(".menu-item-data-parent-id").val()!==a.prev().find(".menu-item-data-db-id").val()&&(n=a.find(".menus-move-right"),i=menus.under.replace("%s",l),n.attr("aria-label",menus.moveUnder.replace("%s",l)).text(i).css("display","inline")),m=m?(t=(h=k(".menu-item-depth-0")).index(a)+1,c=h.length,menus.menuFocus.replace("%1$s",o).replace("%2$s",u).replace("%3$d",t).replace("%4$d",c)):(d=(r=a.prevAll(".menu-item-depth-"+parseInt(s-1,10)).first()).find(".menu-item-data-db-id").val(),n=r.find(".menu-item-title").text(),i=(l=k('.menu-item .menu-item-data-parent-id[value="'+d+'"]')).length,t=k(l.parents(".menu-item").get().reverse()).index(a)+1,s<2?menus.subMenuFocus.replace("%1$s",o).replace("%2$s",u).replace("%3$d",t).replace("%4$d",i).replace("%5$s",n):menus.subMenuMoreDepthFocus.replace("%1$s",o).replace("%2$s",u).replace("%3$d",t).replace("%4$d",i).replace("%5$s",n).replace("%6$d",s)),e.attr("aria-label",m),e.data("needs_accessibility_refresh",!1))},refreshAdvancedAccessibility:function(){k(".menu-item-settings .field-move .menus-move").hide(),k("a.item-edit").data("needs_accessibility_refresh",!0),k(".menu-item-edit-active a.item-edit").each(function(){I.refreshAdvancedAccessibilityOfItem(this)})},refreshKeyboardAccessibility:function(){k("a.item-edit").off("focus").on("focus",function(){k(this).off("keydown").on("keydown",function(e){var t,n=k(this),i=n.parents("li.menu-item").getItemData();if((37==e.which||38==e.which||39==e.which||40==e.which)&&(n.off("keydown"),1!==k("#menu-to-edit li").length)){switch(t={38:"up",40:"down",37:"left",39:"right"},(t=k("body").hasClass("rtl")?{38:"up",40:"down",39:"left",37:"right"}:t)[e.which]){case"up":I.moveMenuItem(n,"up");break;case"down":I.moveMenuItem(n,"down");break;case"left":I.moveMenuItem(n,"left");break;case"right":I.moveMenuItem(n,"right")}return k("#edit-"+i["menu-item-db-id"]).trigger("focus"),!1}})})},initPreviewing:function(){k("#menu-to-edit").on("change input",".edit-menu-item-title",function(e){var e=k(e.currentTarget),t=e.val(),e=e.closest(".menu-item").find(".menu-item-title");t?e.text(t).removeClass("no-title"):e.text(wp.i18n._x("(no label)","missing menu item navigation label")).addClass("no-title")})},initToggles:function(){postboxes.add_postbox_toggles("nav-menus"),columns.useCheckboxesForHidden(),columns.checked=function(e){k(".field-"+e).removeClass("hidden-field")},columns.unchecked=function(e){k(".field-"+e).addClass("hidden-field")},I.menuList.hideAdvancedMenuItemFields(),k(".hide-postbox-tog").on("click",function(){var e=k(".accordion-container li.accordion-section").filter(":hidden").map(function(){return this.id}).get().join(",");k.post(ajaxurl,{action:"closed-postboxes",hidden:e,closedpostboxesnonce:jQuery("#closedpostboxesnonce").val(),page:"nav-menus"})})},initSortables:function(){var m,a,s,n,o,u,d,r,l,c,e,h=0,p=I.menuList.offset().left,f=k("body"),v=f[0].className&&(e=f[0].className.match(/menu-max-depth-(\d+)/))&&e[1]?parseInt(e[1],10):0;function g(e){n=e.placeholder.prev(".menu-item"),o=e.placeholder.next(".menu-item"),n[0]==e.item[0]&&(n=n.prev(".menu-item")),o[0]==e.item[0]&&(o=o.next(".menu-item")),u=n.length?n.offset().top+n.height():0,d=o.length?o.offset().top+o.height()/3:0,a=o.length?o.menuItemDepth():0,s=n.length?(e=n.menuItemDepth()+1)>I.options.globalMaxDepth?I.options.globalMaxDepth:e:0}function b(e,t){e.placeholder.updateDepthClass(t,h),h=t}0!==k("#menu-to-edit li").length&&k(".drag-instructions").show(),p+=I.isRTL?I.menuList.width():0,I.menuList.sortable({handle:".menu-item-handle",placeholder:"sortable-placeholder",items:I.options.sortableItems,start:function(e,t){var n,i;I.isRTL&&(t.item[0].style.right="auto"),l=t.item.children(".menu-item-transport"),m=t.item.menuItemDepth(),b(t,m),i=(t.item.next()[0]==t.placeholder[0]?t.item.next():t.item).childMenuItems(),l.append(i),n=l.outerHeight(),n=(n+=0<n?+t.placeholder.css("margin-top").slice(0,-2):0)+t.helper.outerHeight(),r=n,t.placeholder.height(n-=2),c=m,i.each(function(){var e=k(this).menuItemDepth();c=c<e?e:c}),n=t.helper.find(".menu-item-handle").outerWidth(),n+=I.depthToPx(c-m),t.placeholder.width(n-=2),(i=t.placeholder.next(".menu-item")).css("margin-top",r+"px"),t.placeholder.detach(),k(this).sortable("refresh"),t.item.after(t.placeholder),i.css("margin-top",0),g(t)},stop:function(e,t){var n=h-m,i=l.children().insertAfter(t.item),a=t.item.find(".item-title .is-submenu");if(0<h?a.show():a.hide(),0!=n){t.item.updateDepthClass(h),i.shiftDepthClass(n);var a=n,s=v;if(0!==a){if(0<a)v<(i=c+a)&&(s=i);else if(a<0&&c==v)for(;!k(".menu-item-depth-"+s,I.menuList).length&&0<s;)s--;f.removeClass("menu-max-depth-"+v).addClass("menu-max-depth-"+s),v=s}}I.registerChange(),t.item.updateParentMenuItemDBId(),t.item[0].style.top=0,I.isRTL&&(t.item[0].style.left="auto",t.item[0].style.right=0),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),t.item.updateParentDropdown(),t.item.updateOrderDropdown(),I.refreshAdvancedAccessibilityOfItem(t.item.find("a.item-edit"))},change:function(e,t){t.placeholder.parent().hasClass("menu")||(n.length?n.after(t.placeholder):I.menuList.prepend(t.placeholder)),g(t)},sort:function(e,t){var n=t.helper.offset(),i=I.isRTL?n.left+t.helper.width():n.left,i=I.negateIfRTL*I.pxToDepth(i-p);s<i||n.top<u-I.options.targetTolerance?i=s:i<a&&(i=a),i!=h&&b(t,i),d&&n.top+r>d&&(o.after(t.placeholder),g(t),k(this).sortable("refreshPositions"))}})},initManageLocations:function(){k("#menu-locations-wrap form").on("submit",function(){window.onbeforeunload=null}),k(".menu-location-menus select").on("change",function(){var e=k(this).closest("tr").find(".locations-edit-menu-link");k(this).find("option:selected").data("orig")?e.show():e.hide()})},attachMenuEditListeners:function(){var t=this;k("#update-nav-menu").on("click",function(e){if(e.target&&e.target.className)return-1!=e.target.className.indexOf("item-edit")?t.eventOnClickEditLink(e.target):-1!=e.target.className.indexOf("menu-save")?t.eventOnClickMenuSave(e.target):-1!=e.target.className.indexOf("menu-delete")?t.eventOnClickMenuDelete(e.target):-1!=e.target.className.indexOf("item-delete")?t.eventOnClickMenuItemDelete(e.target):-1!=e.target.className.indexOf("item-cancel")?t.eventOnClickCancelLink(e.target):void 0}),k("#menu-name").on("input",_.debounce(function(){var e=k(document.getElementById("menu-name")),t=e.val();t&&t.replace(/\s+/,"")?e.parent().removeClass("form-invalid"):e.parent().addClass("form-invalid")},500)),k('#add-custom-links input[type="text"]').on("keypress",function(e){k("#customlinkdiv").removeClass("form-invalid"),k("#custom-menu-item-url").removeAttr("aria-invalid").removeAttr("aria-describedby"),k("#custom-url-error").hide(),13===e.keyCode&&(e.preventDefault(),k("#submit-customlinkdiv").trigger("click"))}),k("#submit-customlinkdiv").on("click",function(e){var t=k("#custom-menu-item-url"),n=t.val().trim(),i=k("#custom-url-error"),a=k("#menu-item-url-wrap");i.hide(),a.removeClass("has-error"),/^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/.test(n)||(e.preventDefault(),t.addClass("form-invalid").attr("aria-invalid","true").attr("aria-describedby","custom-url-error"),i.show(),n=i.text(),a.addClass("has-error"),wp.a11y.speak(n,"assertive"))})},attachBulkSelectButtonListeners:function(){var e=this;k(".bulk-select-switcher").on("change",function(){this.checked?(k(".bulk-select-switcher").prop("checked",!0),e.enableBulkSelection()):(k(".bulk-select-switcher").prop("checked",!1),e.disableBulkSelection())})},enableBulkSelection:function(){var e=k("#menu-to-edit .menu-item-checkbox");k("#menu-to-edit").addClass("bulk-selection"),k("#nav-menu-bulk-actions-top").addClass("bulk-selection"),k("#nav-menu-bulk-actions-bottom").addClass("bulk-selection"),k.each(e,function(){k(this).prop("disabled",!1)})},disableBulkSelection:function(){var e=k("#menu-to-edit .menu-item-checkbox");k("#menu-to-edit").removeClass("bulk-selection"),k("#nav-menu-bulk-actions-top").removeClass("bulk-selection"),k("#nav-menu-bulk-actions-bottom").removeClass("bulk-selection"),k(".menu-items-delete").is('[aria-describedby="pending-menu-items-to-delete"]')&&k(".menu-items-delete").removeAttr("aria-describedby"),k.each(e,function(){k(this).prop("disabled",!0).prop("checked",!1)}),k(".menu-items-delete").addClass("disabled"),k("#pending-menu-items-to-delete ul").empty()},attachMenuCheckBoxListeners:function(){var e=this;k("#menu-to-edit").on("change",".menu-item-checkbox",function(){e.setRemoveSelectedButtonStatus()})},attachMenuItemDeleteButton:function(){var t=this;k(document).on("click",".menu-items-delete",function(e){var n,i;e.preventDefault(),k(this).hasClass("disabled")||(k.each(k(".menu-item-checkbox:checked"),function(e,t){k(t).parents("li").find("a.item-delete").trigger("click")}),k(".menu-items-delete").addClass("disabled"),k(".bulk-select-switcher").prop("checked",!1),n="",i=k("#pending-menu-items-to-delete ul li"),k.each(i,function(e,t){t=k(t).find(".pending-menu-item-name").text(),t=menus.menuItemDeletion.replace("%s",t);n+=t,e+1<i.length&&(n+=", ")}),e=menus.itemsDeleted.replace("%s",n),wp.a11y.speak(e,"polite"),t.disableBulkSelection(),k("#menu-to-edit").updateParentDropdown(),k("#menu-to-edit").updateOrderDropdown())})},attachPendingMenuItemsListForDeletion:function(){k("#post-body-content").on("change",".menu-item-checkbox",function(){var e,t,n,i;k(".menu-items-delete").is('[aria-describedby="pending-menu-items-to-delete"]')||k(".menu-items-delete").attr("aria-describedby","pending-menu-items-to-delete"),e=k(this).next().text(),t=k(this).parent().next(".item-controls").find(".item-type").text(),n=k(this).attr("data-menu-item-id"),0<(i=k("#pending-menu-items-to-delete ul").find("[data-menu-item-id="+n+"]")).length&&i.remove(),!0===this.checked&&((i=k("<li>",{"data-menu-item-id":n})).append(k("<span>",{class:"pending-menu-item-name",text:e})),i.append(" "),i.append(k("<span>",{class:"pending-menu-item-type",text:"("+t+")"})),i.append(k("<span>",{class:"separator"})),k("#pending-menu-items-to-delete ul").append(i)),k("#pending-menu-items-to-delete li .separator").html(", "),k("#pending-menu-items-to-delete li .separator").last().html(".")})},setBulkDeleteCheckboxStatus:function(){var e=k("#menu-to-edit .menu-item-checkbox");k.each(e,function(){k(this).prop("disabled")?k(this).prop("disabled",!1):k(this).prop("disabled",!0),k(this).is(":checked")&&k(this).prop("checked",!1)}),this.setRemoveSelectedButtonStatus()},setRemoveSelectedButtonStatus:function(){var e=k(".menu-items-delete");0<k(".menu-item-checkbox:checked").length?e.removeClass("disabled"):e.addClass("disabled")},attachMenuSaveSubmitListeners:function(){k("#update-nav-menu").on("submit",function(){var e=k("#update-nav-menu").serializeArray();k('[name="nav-menu-data"]').val(JSON.stringify(e))})},attachThemeLocationsListeners:function(){var e=k("#nav-menu-theme-locations"),t={action:"menu-locations-save"};t["menu-settings-column-nonce"]=k("#menu-settings-column-nonce").val(),e.find('input[type="submit"]').on("click",function(){return e.find("select").each(function(){t[this.name]=k(this).val()}),e.find(".spinner").addClass("is-active"),k.post(ajaxurl,t,function(){e.find(".spinner").removeClass("is-active")}),!1})},attachQuickSearchListeners:function(){var t;k("#nav-menu-meta").on("submit",function(e){e.preventDefault()}),k("#nav-menu-meta").on("input",".quick-search",function(){var e=k(this);e.attr("autocomplete","off"),t&&clearTimeout(t),t=setTimeout(function(){I.updateQuickSearchResults(e)},500)}).on("blur",".quick-search",function(){I.lastSearch=""})},updateQuickSearchResults:function(e){var t,n,i=e.val(),a=k("#page-search-checklist");I.lastSearch!=i&&(i.length<=1?(a.empty(),wp.a11y.speak(wp.i18n.__("Search results cleared"))):(I.lastSearch=i,t=e.parents(".tabs-panel"),n={action:"menu-quick-search","response-format":"markup",menu:k("#menu").val(),"menu-settings-column-nonce":k("#menu-settings-column-nonce").val(),q:i,type:e.attr("name")},k(".spinner",t).addClass("is-active"),k.post(ajaxurl,n,function(e){I.processQuickSearchQueryResponse(e,n,t)})))},addCustomLink:function(e){var t=k("#custom-menu-item-url").val().toString(),n=k("#custom-menu-item-name").val();if(""!==t&&(t=t.trim()),e=e||I.addMenuItemToBottom,!/^((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#)/.test(t))return k("#customlinkdiv").addClass("form-invalid"),!1;k(".customlinkdiv .spinner").addClass("is-active"),this.addLinkToMenu(t,n,e,function(){k(".customlinkdiv .spinner").removeClass("is-active"),k("#custom-menu-item-name").val("").trigger("blur"),k("#custom-menu-item-url").val("").attr("placeholder","https://")})},addLinkToMenu:function(e,t,n,i){n=n||I.addMenuItemToBottom,I.addItemToMenu({"-1":{"menu-item-type":"custom","menu-item-url":e,"menu-item-title":t}},n,i=i||function(){})},addItemToMenu:function(e,n,i){var a,t=k("#menu").val(),s=k("#menu-settings-column-nonce").val();n=n||function(){},i=i||function(){},a={action:"add-menu-item",menu:t,"menu-settings-column-nonce":s,"menu-item":e},k.post(ajaxurl,a,function(e){var t=k("#menu-instructions");e=(e=e||"").toString().trim(),n(e,a),k("li.pending").hide().fadeIn("slow"),k(".drag-instructions").show(),!t.hasClass("menu-instructions-inactive")&&t.siblings().length&&t.addClass("menu-instructions-inactive"),i()})},addMenuItemToBottom:function(e){e=k(e);e.hideAdvancedMenuItemFields().appendTo(I.targetList),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),wp.a11y.speak(menus.itemAdded),k(document).trigger("menu-item-added",[e])},addMenuItemToTop:function(e){e=k(e);e.hideAdvancedMenuItemFields().prependTo(I.targetList),I.refreshKeyboardAccessibility(),I.refreshAdvancedAccessibility(),wp.a11y.speak(menus.itemAdded),k(document).trigger("menu-item-added",[e])},attachUnsavedChangesListener:function(){k("#menu-management input, #menu-management select, #menu-management, #menu-management textarea, .menu-location-menus select").on("change",function(){I.registerChange()}),0!==k("#menu-to-edit").length||0!==k(".menu-location-menus select").length?window.onbeforeunload=function(){if(I.menusChanged)return wp.i18n.__("The changes you made will be lost if you navigate away from this page.")}:k("#menu-settings-column").find("input,select").end().find("a").attr("href","#").off("click")},registerChange:function(){I.menusChanged=!0},attachTabsPanelListeners:function(){k("#menu-settings-column").on("click",function(e){var t,n,i,a,s=k(e.target);if(s.hasClass("nav-tab-link"))n=s.data("type"),i=s.parents(".accordion-section-content").first(),k("input",i).prop("checked",!1),k(".tabs-panel-active",i).removeClass("tabs-panel-active").addClass("tabs-panel-inactive"),k("#"+n,i).removeClass("tabs-panel-inactive").addClass("tabs-panel-active"),k(".tabs",i).removeClass("tabs"),s.parent().addClass("tabs"),k(".quick-search",i).trigger("focus"),i.find(".tabs-panel-active .menu-item-title").length?i.removeClass("has-no-menu-item"):i.addClass("has-no-menu-item"),e.preventDefault();else if(s.hasClass("select-all"))(t=s.closest(".button-controls").data("items-type"))&&((a=k("#"+t+" .tabs-panel-active .menu-item-title input")).length!==a.filter(":checked").length||s.is(":checked")?s.is(":checked")&&a.prop("checked",!0):a.prop("checked",!1));else if(s.hasClass("menu-item-checkbox"))(t=s.closest(".tabs-panel-active").parent().attr("id"))&&(a=k("#"+t+" .tabs-panel-active .menu-item-title input"),n=k('.button-controls[data-items-type="'+t+'"] .select-all'),a.length!==a.filter(":checked").length||n.is(":checked")?n.is(":checked")&&n.prop("checked",!1):n.prop("checked",!0));else if(s.hasClass("submit-add-to-menu"))return I.registerChange(),e.target.id&&"submit-customlinkdiv"==e.target.id?I.addCustomLink(I.addMenuItemToBottom):e.target.id&&-1!=e.target.id.indexOf("submit-")&&k("#"+e.target.id.replace(/submit-/,"")).addSelectedToMenu(I.addMenuItemToBottom),!1}),k("#nav-menu-meta").on("click","a.page-numbers",function(){var n=k(this).closest(".inside");return k.post(ajaxurl,this.href.replace(/.*\?/,"").replace(/action=([^&]*)/,"")+"&action=menu-get-metabox",function(e){var t=JSON.parse(e);-1!==e.indexOf("replace-id")&&(e=document.getElementById(t["replace-id"]),t.markup)&&e&&n.html(t.markup)}),!1})},eventOnClickEditLink:function(e){var t,e=/#(.*)$/.exec(e.href);if(e&&e[1]&&0!==(t=(e=k("#"+e[1])).parent()).length)return t.hasClass("menu-item-edit-inactive")?(e.data("menu-item-data")||e.data("menu-item-data",e.getItemData()),e.slideDown("fast"),t.removeClass("menu-item-edit-inactive").addClass("menu-item-edit-active")):(e.slideUp("fast"),t.removeClass("menu-item-edit-active").addClass("menu-item-edit-inactive")),!1},eventOnClickCancelLink:function(e){var t=k(e).closest(".menu-item-settings"),e=k(e).closest(".menu-item");return e.removeClass("menu-item-edit-active").addClass("menu-item-edit-inactive"),t.setItemData(t.data("menu-item-data")).hide(),e.find(".menu-item-title").text(t.data("menu-item-data")["menu-item-title"]),!1},eventOnClickMenuSave:function(){var e,t=k("#menu-name"),n=t.val();return n&&n.replace(/\s+/,"")?(e=k("#update-nav-menu"),k("#nav-menu-theme-locations select").each(function(){e.append(k("<input>",{type:"hidden",name:this.name,value:k(this).val()}))}),I.menuList.find(".menu-item-data-position").val(function(e){return e+1}),!(window.onbeforeunload=null)):(t.parent().addClass("form-invalid"),!1)},eventOnClickMenuDelete:function(){return!!window.confirm(wp.i18n.__("You are about to permanently delete this menu.\n'Cancel' to stop, 'OK' to delete."))&&!(window.onbeforeunload=null)},eventOnClickMenuItemDelete:function(e){e=parseInt(e.id.replace("delete-",""),10);return I.removeMenuItem(k("#menu-item-"+e)),I.registerChange(),!1},processQuickSearchQueryResponse:function(e,t,n){var i,a,s,m,o={},u=document.getElementById("nav-menu-meta"),d=/menu-item[(\[^]\]*/,e=k("<div>").html(e).find("li"),r=n.closest(".accordion-section-content"),l=r.find(".button-controls .select-all");e.length?(e.each(function(){if(s=k(this),(i=d.exec(s.html()))&&i[1]){for(a=i[1];u.elements["menu-item["+a+"][menu-item-type]"]||o[a];)a--;o[a]=!0,a!=i[1]&&s.html(s.html().replace(new RegExp("menu-item\\["+i[1]+"\\]","g"),"menu-item["+a+"]"))}}),k(".categorychecklist",n).html(e),wp.a11y.speak(wp.i18n.sprintf(wp.i18n.__("%d Search Results Found"),e.length),"assertive"),k(".spinner",n).removeClass("is-active"),r.removeClass("has-no-menu-item"),l.is(":checked")&&l.prop("checked",!1)):(e=wp.i18n.__("No results found."),l=k("<li>"),m=k("<p>",{text:e}),l.append(m),k(".categorychecklist",n).empty().append(l),k(".spinner",n).removeClass("is-active"),r.addClass("has-no-menu-item"),wp.a11y.speak(e,"assertive"))},removeMenuItem:function(t){var n=t.childMenuItems();k(document).trigger("menu-removing-item",[t]),t.addClass("deleting").animate({opacity:0,height:0},350,function(){var e=k("#menu-instructions");t.remove(),n.shiftDepthClass(-1).updateParentMenuItemDBId(),0===k("#menu-to-edit li").length&&(k(".drag-instructions").hide(),e.removeClass("menu-instructions-inactive")),I.refreshAdvancedAccessibility(),wp.a11y.speak(menus.itemRemoved),k("#menu-to-edit").updateParentDropdown(),k("#menu-to-edit").updateOrderDropdown()})},depthToPx:function(e){return e*I.options.menuItemDepthPerLevel},pxToDepth:function(e){return Math.floor(e/I.options.menuItemDepthPerLevel)}};k(function(){wpNavMenu.init(),k(".menu-edit a, .menu-edit button, .menu-edit input, .menu-edit textarea, .menu-edit select").on("focus",function(){var e,t,n;783<=window.innerWidth&&(e=k("#nav-menu-footer").height()+20,0<(t=k(this).offset().top-(k(window).scrollTop()+k(window).height()-k(this).height()))&&(t=0),(t*=-1)<e)&&(n=k(document).scrollTop(),k(document).scrollTop(n+(e-t)))})}),k(document).on("menu-item-added",function(){k(".bulk-actions").is(":visible")||k(".bulk-actions").show()}),k(document).on("menu-removing-item",function(e,t){1===k(t).parents("#menu-to-edit").find("li").length&&k(".bulk-actions").is(":visible")&&k(".bulk-actions").hide()})}(jQuery); updates.min.js 0000644 00000136473 15174671433 0007362 0 ustar 00 /*! This file is auto-generated */ !function(c,g,m){var f=c(document),h=g.i18n.__,r=g.i18n._x,p=g.i18n._n,o=g.i18n._nx,v=g.i18n.sprintf;(g=g||{}).updates={},g.updates.l10n={searchResults:"",searchResultsLabel:"",noPlugins:"",noItemsSelected:"",updating:"",pluginUpdated:"",themeUpdated:"",update:"",updateNow:"",pluginUpdateNowLabel:"",updateFailedShort:"",updateFailed:"",pluginUpdatingLabel:"",pluginUpdatedLabel:"",pluginUpdateFailedLabel:"",updatingMsg:"",updatedMsg:"",updateCancel:"",beforeunload:"",installNow:"",pluginInstallNowLabel:"",installing:"",pluginInstalled:"",themeInstalled:"",installFailedShort:"",installFailed:"",pluginInstallingLabel:"",themeInstallingLabel:"",pluginInstalledLabel:"",themeInstalledLabel:"",pluginInstallFailedLabel:"",themeInstallFailedLabel:"",installingMsg:"",installedMsg:"",importerInstalledMsg:"",aysDelete:"",aysDeleteUninstall:"",aysBulkDelete:"",aysBulkDeleteThemes:"",deleting:"",deleteFailed:"",pluginDeleted:"",themeDeleted:"",livePreview:"",activatePlugin:"",activateTheme:"",activatePluginLabel:"",activateThemeLabel:"",activateImporter:"",activateImporterLabel:"",unknownError:"",connectionError:"",nonceError:"",pluginsFound:"",noPluginsFound:"",autoUpdatesEnable:"",autoUpdatesEnabling:"",autoUpdatesEnabled:"",autoUpdatesDisable:"",autoUpdatesDisabling:"",autoUpdatesDisabled:"",autoUpdatesError:""},g.updates.l10n=window.wp.deprecateL10nObject("wp.updates.l10n",g.updates.l10n,"5.5.0"),g.updates.ajaxNonce=m.ajax_nonce,g.updates.searchTerm="",g.updates.searchMinCharacters=2,g.updates.shouldRequestFilesystemCredentials=!1,g.updates.filesystemCredentials={ftp:{host:"",username:"",password:"",connectionType:""},ssh:{publicKey:"",privateKey:""},fsNonce:"",available:!1},g.updates.ajaxLocked=!1,g.updates.adminNotice=g.template("wp-updates-admin-notice"),g.updates.queue=[],g.updates.$elToReturnFocusToFromCredentialsModal=void 0,g.updates.addAdminNotice=function(e){var t,a=c(e.selector),s=c(".wp-header-end");delete e.selector,t=g.updates.adminNotice(e),(a=a.length?a:c("#"+e.id)).length?a.replaceWith(t):s.length?s.after(t):"customize"===pagenow?c(".customize-themes-notifications").append(t):c(".wrap").find("> h1").after(t),f.trigger("wp-updates-notice-added")},g.updates.ajax=function(e,t){var a={};return g.updates.ajaxLocked?(g.updates.queue.push({action:e,data:t}),c.Deferred()):(g.updates.ajaxLocked=!0,t.success&&(a.success=t.success,delete t.success),t.error&&(a.error=t.error,delete t.error),a.data=_.extend(t,{action:e,_ajax_nonce:g.updates.ajaxNonce,_fs_nonce:g.updates.filesystemCredentials.fsNonce,username:g.updates.filesystemCredentials.ftp.username,password:g.updates.filesystemCredentials.ftp.password,hostname:g.updates.filesystemCredentials.ftp.hostname,connection_type:g.updates.filesystemCredentials.ftp.connectionType,public_key:g.updates.filesystemCredentials.ssh.publicKey,private_key:g.updates.filesystemCredentials.ssh.privateKey}),g.ajax.send(a).always(g.updates.ajaxAlways))},g.updates.ajaxAlways=function(e){e.errorCode&&"unable_to_connect_to_filesystem"===e.errorCode||(g.updates.ajaxLocked=!1,g.updates.queueChecker()),void 0!==e.debug&&window.console&&window.console.log&&_.map(e.debug,function(e){window.console.log(g.sanitize.stripTagsAndEncodeText(e))})},g.updates.refreshCount=function(){var e,t=c("#wp-admin-bar-updates"),a=c('a[href="update-core.php"] .update-plugins'),s=c('a[href="plugins.php"] .update-plugins'),n=c('a[href="themes.php"] .update-plugins');t.find(".ab-label").text(m.totals.counts.total),t.find(".updates-available-text").text(v(p("%s update available","%s updates available",m.totals.counts.total),m.totals.counts.total)),0===m.totals.counts.total&&t.find(".ab-label").parents("li").remove(),a.each(function(e,t){t.className=t.className.replace(/count-\d+/,"count-"+m.totals.counts.total)}),0<m.totals.counts.total?a.find(".update-count").text(m.totals.counts.total):a.remove(),s.each(function(e,t){t.className=t.className.replace(/count-\d+/,"count-"+m.totals.counts.plugins)}),0<m.totals.counts.total?s.find(".plugin-count").text(m.totals.counts.plugins):s.remove(),n.each(function(e,t){t.className=t.className.replace(/count-\d+/,"count-"+m.totals.counts.themes)}),0<m.totals.counts.total?n.find(".theme-count").text(m.totals.counts.themes):n.remove(),"plugins"===pagenow||"plugins-network"===pagenow?e=m.totals.counts.plugins:"themes"!==pagenow&&"themes-network"!==pagenow||(e=m.totals.counts.themes),0<e?c(".subsubsub .upgrade .count").text("("+e+")"):(c(".subsubsub .upgrade").remove(),c(".subsubsub li:last").html(function(){return c(this).children()}))},g.updates.setCardButtonStatus=function(e){var t=window.parent===window?null:window.parent;c.support.postMessage=!!window.postMessage,!1!==c.support.postMessage&&null!==t&&-1===window.parent.location.pathname.indexOf("index.php")&&t.postMessage(JSON.stringify(e),window.location.origin)},g.updates.decrementCount=function(e){m.totals.counts.total=Math.max(--m.totals.counts.total,0),"plugin"===e?m.totals.counts.plugins=Math.max(--m.totals.counts.plugins,0):"theme"===e&&(m.totals.counts.themes=Math.max(--m.totals.counts.themes,0)),g.updates.refreshCount(e)},g.updates.updatePlugin=function(e){var t,a,s,n=c("#wp-admin-bar-updates"),i=h("Updating..."),l="plugin-install"===pagenow||"plugin-install-network"===pagenow;return e=_.extend({success:g.updates.updatePluginSuccess,error:g.updates.updatePluginError},e),"plugins"===pagenow||"plugins-network"===pagenow?(a=(s=c('tr[data-plugin="'+e.plugin+'"]')).find(".update-message").removeClass("notice-error").addClass("updating-message notice-warning").find("p"),s=v(r("Updating %s...","plugin"),s.find(".plugin-title strong").text())):l&&(a=(t=c(".plugin-card-"+e.slug+", #plugin-information-footer")).find(".update-now").addClass("updating-message"),s=v(r("Updating %s...","plugin"),a.data("name")),t.removeClass("plugin-card-update-failed").find(".notice.notice-error").remove()),n.addClass("spin"),a.html()!==h("Updating...")&&a.data("originaltext",a.html()),a.attr("aria-label",s).text(i),f.trigger("wp-plugin-updating",e),l&&"plugin-information-footer"===t.attr("id")&&g.updates.setCardButtonStatus({status:"updating-plugin",slug:e.slug,addClasses:"updating-message",text:i,ariaLabel:s}),g.updates.ajax("update-plugin",e)},g.updates.updatePluginSuccess=function(e){var t,a,s,n=c("#wp-admin-bar-updates"),i=r("Updated!","plugin"),l=v(r("%s updated!","plugin"),e.pluginName);"plugins"===pagenow||"plugins-network"===pagenow?(a=(t=c('tr[data-plugin="'+e.plugin+'"]').removeClass("update is-enqueued").addClass("updated")).find(".update-message").removeClass("updating-message notice-warning").addClass("updated-message notice-success").find("p"),s=t.find(".plugin-version-author-uri").html().replace(e.oldVersion,e.newVersion),t.find(".plugin-version-author-uri").html(s),t.find(".auto-update-time").empty()):"plugin-install"!==pagenow&&"plugin-install-network"!==pagenow||(a=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".update-now").removeClass("updating-message").addClass("button-disabled updated-message")),n.removeClass("spin"),a.attr("aria-label",l).text(i),g.a11y.speak(h("Update completed successfully.")),"plugin_install_from_iframe"!==a.attr("id")?g.updates.decrementCount("plugin"):g.updates.setCardButtonStatus({status:"updated-plugin",slug:e.slug,removeClasses:"updating-message",addClasses:"button-disabled updated-message",text:i,ariaLabel:l}),f.trigger("wp-plugin-update-success",e)},g.updates.updatePluginError=function(e){var t,a,s,n,i,l=c("#wp-admin-bar-updates");g.updates.isValidResponse(e,"update")&&!g.updates.maybeHandleCredentialError(e,"update-plugin")&&(s=v(h("Update failed: %s"),e.errorMessage),"plugins"===pagenow||"plugins-network"===pagenow?(c('tr[data-plugin="'+e.plugin+'"]').removeClass("is-enqueued"),(a=(e.plugin?c('tr[data-plugin="'+e.plugin+'"]'):c('tr[data-slug="'+e.slug+'"]')).find(".update-message")).removeClass("updating-message notice-warning").addClass("notice-error").find("p").html(s),e.pluginName?a.find("p").attr("aria-label",v(r("%s update failed.","plugin"),e.pluginName)):a.find("p").removeAttr("aria-label")):"plugin-install"!==pagenow&&"plugin-install-network"!==pagenow||(n=h("Update failed."),(t=c(".plugin-card-"+e.slug+", #plugin-information-footer").append(g.updates.adminNotice({className:"update-message notice-error notice-alt is-dismissible",message:s}))).hasClass("plugin-card-"+e.slug)&&t.addClass("plugin-card-update-failed"),t.find(".update-now").text(n).removeClass("updating-message"),e.pluginName?(i=v(r("%s update failed.","plugin"),e.pluginName),t.find(".update-now").attr("aria-label",i)):(i="",t.find(".update-now").removeAttr("aria-label")),t.on("click",".notice.is-dismissible .notice-dismiss",function(){setTimeout(function(){t.removeClass("plugin-card-update-failed").find(".column-name a").trigger("focus"),t.find(".update-now").attr("aria-label",!1).text(h("Update Now"))},200)})),l.removeClass("spin"),g.a11y.speak(s,"assertive"),"plugin-information-footer"===t.attr("id")&&g.updates.setCardButtonStatus({status:"plugin-update-failed",slug:e.slug,removeClasses:"updating-message",text:n,ariaLabel:i}),f.trigger("wp-plugin-update-error",e))},g.updates.installPlugin=function(e){var t,a=c(".plugin-card-"+e.slug+", #plugin-information-footer"),s=a.find(".install-now"),n=h("Installing...");return e=_.extend({success:g.updates.installPluginSuccess,error:g.updates.installPluginError},e),(s="import"===pagenow?c('[data-slug="'+e.slug+'"]'):s).html()!==h("Installing...")&&s.data("originaltext",s.html()),t=v(r("Installing %s...","plugin"),s.data("name")),s.addClass("updating-message").attr("aria-label",t).text(n),g.a11y.speak(h("Installing... please wait.")),a.removeClass("plugin-card-install-failed").find(".notice.notice-error").remove(),f.trigger("wp-plugin-installing",e),"plugin-information-footer"===s.parent().attr("id")&&g.updates.setCardButtonStatus({status:"installing-plugin",slug:e.slug,addClasses:"updating-message",text:n,ariaLabel:t}),g.updates.ajax("install-plugin",e)},g.updates.installPluginSuccess=function(e){var t=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".install-now"),a=r("Installed!","plugin"),s=v(r("%s installed!","plugin"),e.pluginName);t.removeClass("updating-message").addClass("updated-message installed button-disabled").attr("aria-label",s).text(a),g.a11y.speak(h("Installation completed successfully.")),f.trigger("wp-plugin-install-success",e),e.activateUrl&&setTimeout(function(){g.updates.checkPluginDependencies({slug:e.slug})},1e3),"plugin-information-footer"===t.parent().attr("id")&&g.updates.setCardButtonStatus({status:"installed-plugin",slug:e.slug,removeClasses:"updating-message",addClasses:"updated-message installed button-disabled",text:a,ariaLabel:s})},g.updates.installPluginError=function(e){var t,a=c(".plugin-card-"+e.slug+", #plugin-information-footer"),s=a.find(".install-now"),n=h("Installation failed."),i=v(r("%s installation failed","plugin"),s.data("name"));g.updates.isValidResponse(e,"install")&&!g.updates.maybeHandleCredentialError(e,"install-plugin")&&(t=v(h("Installation failed: %s"),e.errorMessage),a.addClass("plugin-card-update-failed").append('<div class="notice notice-error notice-alt is-dismissible" role="alert"><p>'+t+"</p></div>"),a.on("click",".notice.is-dismissible .notice-dismiss",function(){setTimeout(function(){a.removeClass("plugin-card-update-failed").find(".column-name a").trigger("focus")},200)}),s.removeClass("updating-message").addClass("button-disabled").attr("aria-label",i).text(n),g.a11y.speak(t,"assertive"),g.updates.setCardButtonStatus({status:"plugin-install-failed",slug:e.slug,removeClasses:"updating-message",addClasses:"button-disabled",text:n,ariaLabel:i}),f.trigger("wp-plugin-install-error",e))},g.updates.checkPluginDependencies=function(e){return e=_.extend({success:g.updates.checkPluginDependenciesSuccess,error:g.updates.checkPluginDependenciesError},e),g.a11y.speak(h("Checking plugin dependencies... please wait.")),f.trigger("wp-checking-plugin-dependencies",e),g.updates.ajax("check_plugin_dependencies",e)},g.updates.checkPluginDependenciesSuccess=function(e){var t,a,s=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".install-now");s.removeClass("install-now installed button-disabled updated-message").addClass("activate-now button-primary").attr("href",e.activateUrl),g.a11y.speak(h("Plugin dependencies check completed successfully.")),f.trigger("wp-check-plugin-dependencies-success",e),("plugins-network"===pagenow||"plugin-install-network"===pagenow?(t=r("Network Activate","plugin"),a=v(r("Network Activate %s","plugin"),e.pluginName),s.attr("aria-label",a)):(t=r("Activate","plugin"),a=v(r("Activate %s","plugin"),e.pluginName),s.attr("aria-label",a).attr("data-name",e.pluginName).attr("data-slug",e.slug).attr("data-plugin",e.plugin))).text(t),"plugin-information-footer"===s.parent().attr("id")&&g.updates.setCardButtonStatus({status:"dependencies-check-success",slug:e.slug,removeClasses:"install-now installed button-disabled updated-message",addClasses:"activate-now button-primary",text:t,ariaLabel:a,pluginName:e.pluginName,plugin:e.plugin,href:e.activateUrl})},g.updates.checkPluginDependenciesError=function(e){var t,a=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".install-now"),s=r("Activate","plugin"),n=v(r("Cannot activate %1$s. %2$s","plugin"),e.pluginName,e.errorMessage);g.updates.isValidResponse(e,"check-dependencies")&&(t=v(h("Activation failed: %s"),e.errorMessage),g.a11y.speak(t,"assertive"),f.trigger("wp-check-plugin-dependencies-error",e),a.removeClass("install-now installed updated-message").addClass("activate-now button-primary").attr("aria-label",n).text(s),"plugin-information-footer"===a.parent().attr("id"))&&g.updates.setCardButtonStatus({status:"dependencies-check-failed",slug:e.slug,removeClasses:"install-now installed updated-message",addClasses:"activate-now button-primary",text:s,ariaLabel:n})},g.updates.activatePlugin=function(e){var t=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".activate-now, .activating-message");return e=_.extend({success:g.updates.activatePluginSuccess,error:g.updates.activatePluginError},e),g.a11y.speak(h("Activating... please wait.")),f.trigger("wp-activating-plugin",e),"plugin-information-footer"===t.parent().attr("id")&&g.updates.setCardButtonStatus({status:"activating-plugin",slug:e.slug,removeClasses:"installed updated-message button-primary",addClasses:"activating-message",text:h("Activating..."),ariaLabel:v(r("Activating %s","plugin"),e.name)}),g.updates.ajax("activate-plugin",e)},g.updates.activatePluginSuccess=function(e){var t=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".activating-message"),a=r("Activated!","plugin"),s=v("%s activated successfully.",e.pluginName);g.a11y.speak(h("Activation completed successfully.")),f.trigger("wp-plugin-activate-success",e),t.removeClass("activating-message").addClass("activated-message button-disabled").attr("aria-label",s).text(a),"plugin-information-footer"===t.parent().attr("id")&&g.updates.setCardButtonStatus({status:"activated-plugin",slug:e.slug,removeClasses:"activating-message",addClasses:"activated-message button-disabled",text:a,ariaLabel:s}),setTimeout(function(){t.removeClass("activated-message").text(r("Active","plugin")),"plugin-information-footer"===t.parent().attr("id")&&g.updates.setCardButtonStatus({status:"plugin-active",slug:e.slug,removeClasses:"activated-message",text:r("Active","plugin"),ariaLabel:v("%s is active.",e.pluginName)})},1e3)},g.updates.activatePluginError=function(e){var t,a=c(".plugin-card-"+e.slug+", #plugin-information-footer").find(".activating-message"),s=h("Activation failed."),n=v(r("%s activation failed","plugin"),e.pluginName);g.updates.isValidResponse(e,"activate")&&(t=v(h("Activation failed: %s"),e.errorMessage),g.a11y.speak(t,"assertive"),f.trigger("wp-plugin-activate-error",e),a.removeClass("install-now installed activating-message").addClass("button-disabled").attr("aria-label",n).text(s),"plugin-information-footer"===a.parent().attr("id"))&&g.updates.setCardButtonStatus({status:"plugin-activation-failed",slug:e.slug,removeClasses:"install-now installed activating-message",addClasses:"button-disabled",text:s,ariaLabel:n})},g.updates.installImporterSuccess=function(e){g.updates.addAdminNotice({id:"install-success",className:"notice-success is-dismissible",message:v(h('Importer installed successfully. <a href="%s">Run importer</a>'),e.activateUrl+"&from=import")}),c('[data-slug="'+e.slug+'"]').removeClass("install-now updating-message").addClass("activate-now").attr({href:e.activateUrl+"&from=import","aria-label":v(h("Run %s"),e.pluginName)}).text(h("Run Importer")),g.a11y.speak(h("Installation completed successfully.")),f.trigger("wp-importer-install-success",e)},g.updates.installImporterError=function(e){var t=v(h("Installation failed: %s"),e.errorMessage),a=c('[data-slug="'+e.slug+'"]'),s=a.data("name");g.updates.isValidResponse(e,"install")&&!g.updates.maybeHandleCredentialError(e,"install-plugin")&&(g.updates.addAdminNotice({id:e.errorCode,className:"notice-error is-dismissible",message:t}),a.removeClass("updating-message").attr("aria-label",v(r("Install %s now","plugin"),s)).text(r("Install Now","plugin")),g.a11y.speak(t,"assertive"),f.trigger("wp-importer-install-error",e))},g.updates.deletePlugin=function(e){var t=c('[data-plugin="'+e.plugin+'"]').find(".row-actions a.delete");return e=_.extend({success:g.updates.deletePluginSuccess,error:g.updates.deletePluginError},e),t.html()!==h("Deleting...")&&t.data("originaltext",t.html()).text(h("Deleting...")),g.a11y.speak(h("Deleting...")),f.trigger("wp-plugin-deleting",e),g.updates.ajax("delete-plugin",e)},g.updates.deletePluginSuccess=function(u){c('[data-plugin="'+u.plugin+'"]').css({backgroundColor:"#faafaa"}).fadeOut(350,function(){var e=c("#bulk-action-form"),t=c(".subsubsub"),a=c(this),s=t.find('[aria-current="page"]'),n=c(".displaying-num"),i=e.find("thead th:not(.hidden), thead td").length,l=g.template("item-deleted-row"),d=m.plugins;a.hasClass("plugin-update-tr")||a.after(l({slug:u.slug,plugin:u.plugin,colspan:i,name:u.pluginName})),a.remove(),-1!==_.indexOf(d.upgrade,u.plugin)&&(d.upgrade=_.without(d.upgrade,u.plugin),g.updates.decrementCount("plugin")),-1!==_.indexOf(d.inactive,u.plugin)&&(d.inactive=_.without(d.inactive,u.plugin),d.inactive.length?t.find(".inactive .count").text("("+d.inactive.length+")"):t.find(".inactive").remove()),-1!==_.indexOf(d.active,u.plugin)&&(d.active=_.without(d.active,u.plugin),d.active.length?t.find(".active .count").text("("+d.active.length+")"):t.find(".active").remove()),-1!==_.indexOf(d.recently_activated,u.plugin)&&(d.recently_activated=_.without(d.recently_activated,u.plugin),d.recently_activated.length?t.find(".recently_activated .count").text("("+d.recently_activated.length+")"):t.find(".recently_activated").remove()),-1!==_.indexOf(d["auto-update-enabled"],u.plugin)&&(d["auto-update-enabled"]=_.without(d["auto-update-enabled"],u.plugin),d["auto-update-enabled"].length?t.find(".auto-update-enabled .count").text("("+d["auto-update-enabled"].length+")"):t.find(".auto-update-enabled").remove()),-1!==_.indexOf(d["auto-update-disabled"],u.plugin)&&(d["auto-update-disabled"]=_.without(d["auto-update-disabled"],u.plugin),d["auto-update-disabled"].length?t.find(".auto-update-disabled .count").text("("+d["auto-update-disabled"].length+")"):t.find(".auto-update-disabled").remove()),d.all=_.without(d.all,u.plugin),d.all.length?t.find(".all .count").text("("+d.all.length+")"):(e.find(".tablenav").css({visibility:"hidden"}),t.find(".all").remove(),e.find("tr.no-items").length||e.find("#the-list").append('<tr class="no-items"><td class="colspanchange" colspan="'+i+'">'+h("No plugins are currently available.")+"</td></tr>")),n.length&&s.length&&(l=d[s.parent("li").attr("class")].length,n.text(v(o("%s item","%s items",l,"plugin/plugins"),l)))}),g.a11y.speak(r("Deleted!","plugin")),f.trigger("wp-plugin-delete-success",u)},g.updates.deletePluginError=function(e){var t,a=g.template("item-update-row"),s=g.updates.adminNotice({className:"update-message notice-error notice-alt",message:e.errorMessage}),n=e.plugin?(t=c('tr.inactive[data-plugin="'+e.plugin+'"]')).siblings('[data-plugin="'+e.plugin+'"]'):(t=c('tr.inactive[data-slug="'+e.slug+'"]')).siblings('[data-slug="'+e.slug+'"]');g.updates.isValidResponse(e,"delete")&&!g.updates.maybeHandleCredentialError(e,"delete-plugin")&&(n.length?(n.find(".notice-error").remove(),n.find(".plugin-update").append(s)):t.addClass("update").after(a({slug:e.slug,plugin:e.plugin||e.slug,colspan:c("#bulk-action-form").find("thead th:not(.hidden), thead td").length,content:s})),f.trigger("wp-plugin-delete-error",e))},g.updates.updateTheme=function(e){var t;return e=_.extend({success:g.updates.updateThemeSuccess,error:g.updates.updateThemeError},e),(t=("themes-network"===pagenow?c('[data-slug="'+e.slug+'"]').find(".update-message").removeClass("notice-error").addClass("updating-message notice-warning"):(t="customize"===pagenow?((t=c('[data-slug="'+e.slug+'"].notice').removeClass("notice-large")).find("h3").remove(),t.add(c("#customize-control-installed_theme_"+e.slug).find(".update-message"))):((t=c("#update-theme").closest(".notice").removeClass("notice-large")).find("h3").remove(),t.add(c('[data-slug="'+e.slug+'"]').find(".update-message")))).addClass("updating-message")).find("p")).html()!==h("Updating...")&&t.data("originaltext",t.html()),g.a11y.speak(h("Updating... please wait.")),t.text(h("Updating...")),f.trigger("wp-theme-updating",e),g.updates.ajax("update-theme",e)},g.updates.updateThemeSuccess=function(e){var t,a,s=c("body.modal-open").length,n=c('[data-slug="'+e.slug+'"]'),i={className:"updated-message notice-success notice-alt",message:r("Updated!","theme")};"customize"===pagenow?((n=c(".updating-message").siblings(".theme-name")).length&&(a=n.html().replace(e.oldVersion,e.newVersion),n.html(a)),t=c(".theme-info .notice").add(g.customize.control("installed_theme_"+e.slug).container.find(".theme").find(".update-message"))):"themes-network"===pagenow?(t=n.find(".update-message"),a=n.find(".theme-version-author-uri").html().replace(e.oldVersion,e.newVersion),n.find(".theme-version-author-uri").html(a),n.find(".auto-update-time").empty()):(t=c(".theme-info .notice").add(n.find(".update-message")),s?(c(".load-customize:visible").trigger("focus"),c(".theme-info .theme-autoupdate").find(".auto-update-time").empty()):n.find(".load-customize").trigger("focus")),g.updates.addAdminNotice(_.extend({selector:t},i)),g.a11y.speak(h("Update completed successfully.")),g.updates.decrementCount("theme"),f.trigger("wp-theme-update-success",e),s&&"customize"!==pagenow&&c(".theme-info .theme-author").after(g.updates.adminNotice(i))},g.updates.updateThemeError=function(e){var t,a=c('[data-slug="'+e.slug+'"]'),s=v(h("Update failed: %s"),e.errorMessage);g.updates.isValidResponse(e,"update")&&!g.updates.maybeHandleCredentialError(e,"update-theme")&&("customize"===pagenow&&(a=g.customize.control("installed_theme_"+e.slug).container.find(".theme")),"themes-network"===pagenow?t=a.find(".update-message "):(t=c(".theme-info .notice").add(a.find(".notice")),(c("body.modal-open").length?c(".load-customize:visible"):a.find(".load-customize")).trigger("focus")),g.updates.addAdminNotice({selector:t,className:"update-message notice-error notice-alt is-dismissible",message:s}),g.a11y.speak(s),f.trigger("wp-theme-update-error",e))},g.updates.installTheme=function(e){var t=c('.theme-install[data-slug="'+e.slug+'"]');return e=_.extend({success:g.updates.installThemeSuccess,error:g.updates.installThemeError},e),t.addClass("updating-message"),t.parents(".theme").addClass("focus"),t.html()!==h("Installing...")&&t.data("originaltext",t.html()),t.attr("aria-label",v(r("Installing %s...","theme"),t.data("name"))).text(h("Installing...")),g.a11y.speak(h("Installing... please wait.")),c('.install-theme-info, [data-slug="'+e.slug+'"]').removeClass("theme-install-failed").find(".notice.notice-error").remove(),f.trigger("wp-theme-installing",e),g.updates.ajax("install-theme",e)},g.updates.installThemeSuccess=function(e){var t,a=c(".wp-full-overlay-header, [data-slug="+e.slug+"]");f.trigger("wp-theme-install-success",e),t=a.find(".button-primary").removeClass("updating-message").addClass("updated-message disabled").attr("aria-label",v(r("%s installed!","theme"),e.themeName)).text(r("Installed!","theme")),g.a11y.speak(h("Installation completed successfully.")),setTimeout(function(){e.activateUrl&&(t.attr("href",e.activateUrl).removeClass("theme-install updated-message disabled").addClass("activate"),"themes-network"===pagenow?t.attr("aria-label",v(r("Network Activate %s","theme"),e.themeName)).text(h("Network Enable")):t.attr("aria-label",v(r("Activate %s","theme"),e.themeName)).text(r("Activate","theme"))),e.customizeUrl&&t.siblings(".preview").replaceWith(function(){return c("<a>").attr("href",e.customizeUrl).addClass("button load-customize").text(h("Live Preview"))})},1e3)},g.updates.installThemeError=function(e){var t,a=v(h("Installation failed: %s"),e.errorMessage),s=g.updates.adminNotice({className:"update-message notice-error notice-alt",message:a});g.updates.isValidResponse(e,"install")&&!g.updates.maybeHandleCredentialError(e,"install-theme")&&("customize"===pagenow?(f.find("body").hasClass("modal-open")?(t=c('.theme-install[data-slug="'+e.slug+'"]'),c(".theme-overlay .theme-info").prepend(s)):(t=c('.theme-install[data-slug="'+e.slug+'"]')).closest(".theme").addClass("theme-install-failed").append(s),g.customize.notifications.remove("theme_installing")):f.find("body").hasClass("full-overlay-active")?(t=c('.theme-install[data-slug="'+e.slug+'"]'),c(".install-theme-info").prepend(s)):t=c('[data-slug="'+e.slug+'"]').removeClass("focus").addClass("theme-install-failed").append(s).find(".theme-install"),t.removeClass("updating-message").attr("aria-label",v(r("%s installation failed","theme"),t.data("name"))).text(h("Installation failed.")),g.a11y.speak(a,"assertive"),f.trigger("wp-theme-install-error",e))},g.updates.deleteTheme=function(e){var t;return"themes"===pagenow?t=c(".theme-actions .delete-theme"):"themes-network"===pagenow&&(t=c('[data-slug="'+e.slug+'"]').find(".row-actions a.delete")),e=_.extend({success:g.updates.deleteThemeSuccess,error:g.updates.deleteThemeError},e),t&&t.html()!==h("Deleting...")&&t.data("originaltext",t.html()).text(h("Deleting...")),g.a11y.speak(h("Deleting...")),c(".theme-info .update-message").remove(),f.trigger("wp-theme-deleting",e),g.updates.ajax("delete-theme",e)},g.updates.deleteThemeSuccess=function(n){var e=c('[data-slug="'+n.slug+'"]');"themes-network"===pagenow&&e.css({backgroundColor:"#faafaa"}).fadeOut(350,function(){var e=c(".subsubsub"),t=c(this),a=m.themes,s=g.template("item-deleted-row");t.hasClass("plugin-update-tr")||t.after(s({slug:n.slug,colspan:c("#bulk-action-form").find("thead th:not(.hidden), thead td").length,name:t.find(".theme-title strong").text()})),t.remove(),-1!==_.indexOf(a.upgrade,n.slug)&&(a.upgrade=_.without(a.upgrade,n.slug),g.updates.decrementCount("theme")),-1!==_.indexOf(a.disabled,n.slug)&&(a.disabled=_.without(a.disabled,n.slug),a.disabled.length?e.find(".disabled .count").text("("+a.disabled.length+")"):e.find(".disabled").remove()),-1!==_.indexOf(a["auto-update-enabled"],n.slug)&&(a["auto-update-enabled"]=_.without(a["auto-update-enabled"],n.slug),a["auto-update-enabled"].length?e.find(".auto-update-enabled .count").text("("+a["auto-update-enabled"].length+")"):e.find(".auto-update-enabled").remove()),-1!==_.indexOf(a["auto-update-disabled"],n.slug)&&(a["auto-update-disabled"]=_.without(a["auto-update-disabled"],n.slug),a["auto-update-disabled"].length?e.find(".auto-update-disabled .count").text("("+a["auto-update-disabled"].length+")"):e.find(".auto-update-disabled").remove()),a.all=_.without(a.all,n.slug),e.find(".all .count").text("("+a.all.length+")")}),"themes"===pagenow&&_.find(_wpThemeSettings.themes,{id:n.slug}).hasUpdate&&g.updates.decrementCount("theme"),g.a11y.speak(r("Deleted!","theme")),f.trigger("wp-theme-delete-success",n)},g.updates.deleteThemeError=function(e){var t=c('tr.inactive[data-slug="'+e.slug+'"]'),a=c(".theme-actions .delete-theme"),s=g.template("item-update-row"),n=t.siblings("#"+e.slug+"-update"),i=v(h("Deletion failed: %s"),e.errorMessage),l=g.updates.adminNotice({className:"update-message notice-error notice-alt",message:i});g.updates.maybeHandleCredentialError(e,"delete-theme")||("themes-network"===pagenow?n.length?(n.find(".notice-error").remove(),n.find(".plugin-update").append(l)):t.addClass("update").after(s({slug:e.slug,colspan:c("#bulk-action-form").find("thead th:not(.hidden), thead td").length,content:l})):c(".theme-info .theme-description").before(l),a.html(a.data("originaltext")),g.a11y.speak(i,"assertive"),f.trigger("wp-theme-delete-error",e))},g.updates._addCallbacks=function(e,t){return"import"===pagenow&&"install-plugin"===t&&(e.success=g.updates.installImporterSuccess,e.error=g.updates.installImporterError),e},g.updates.queueChecker=function(){var e;if(!g.updates.ajaxLocked&&g.updates.queue.length)switch((e=g.updates.queue.shift()).action){case"install-plugin":g.updates.installPlugin(e.data);break;case"update-plugin":g.updates.updatePlugin(e.data);break;case"delete-plugin":g.updates.deletePlugin(e.data);break;case"install-theme":g.updates.installTheme(e.data);break;case"update-theme":g.updates.updateTheme(e.data);break;case"delete-theme":g.updates.deleteTheme(e.data)}},g.updates.requestFilesystemCredentials=function(e){!1===g.updates.filesystemCredentials.available&&(e&&!g.updates.$elToReturnFocusToFromCredentialsModal&&(g.updates.$elToReturnFocusToFromCredentialsModal=c(e.target)),g.updates.ajaxLocked=!0,g.updates.requestForCredentialsModalOpen())},g.updates.maybeRequestFilesystemCredentials=function(e){g.updates.shouldRequestFilesystemCredentials&&!g.updates.ajaxLocked&&g.updates.requestFilesystemCredentials(e)},g.updates.keydown=function(e){27===e.keyCode?g.updates.requestForCredentialsModalCancel():9===e.keyCode&&("upgrade"!==e.target.id||e.shiftKey?"hostname"===e.target.id&&e.shiftKey&&(c("#upgrade").trigger("focus"),e.preventDefault()):(c("#hostname").trigger("focus"),e.preventDefault()))},g.updates.requestForCredentialsModalOpen=function(){var e=c("#request-filesystem-credentials-dialog");c("body").addClass("modal-open"),e.show(),e.find("input:enabled:first").trigger("focus"),e.on("keydown",g.updates.keydown)},g.updates.requestForCredentialsModalClose=function(){c("#request-filesystem-credentials-dialog").hide(),c("body").removeClass("modal-open"),g.updates.$elToReturnFocusToFromCredentialsModal&&g.updates.$elToReturnFocusToFromCredentialsModal.trigger("focus")},g.updates.requestForCredentialsModalCancel=function(){(g.updates.ajaxLocked||g.updates.queue.length)&&(_.each(g.updates.queue,function(e){f.trigger("credential-modal-cancel",e)}),g.updates.ajaxLocked=!1,g.updates.queue=[],g.updates.requestForCredentialsModalClose())},g.updates.showErrorInCredentialsForm=function(e){var t=c("#request-filesystem-credentials-form");t.find(".notice").remove(),t.find("#request-filesystem-credentials-title").after('<div class="notice notice-alt notice-error" role="alert"><p>'+e+"</p></div>")},g.updates.credentialError=function(e,t){e=g.updates._addCallbacks(e,t),g.updates.queue.unshift({action:t,data:e}),g.updates.filesystemCredentials.available=!1,g.updates.showErrorInCredentialsForm(e.errorMessage),g.updates.requestFilesystemCredentials()},g.updates.maybeHandleCredentialError=function(e,t){return!(!g.updates.shouldRequestFilesystemCredentials||!e.errorCode||"unable_to_connect_to_filesystem"!==e.errorCode||(g.updates.credentialError(e,t),0))},g.updates.isValidResponse=function(e,t){var a,s=h("An error occurred during the update process. Please try again.");if(_.isObject(e)&&!_.isFunction(e.always))return!0;switch(_.isString(e)&&"-1"===e?s=h("An error has occurred. Please reload the page and try again."):_.isString(e)?s=e:void 0!==e.readyState&&0===e.readyState?s=h("Connection lost or the server is busy. Please try again later."):_.isString(e.responseText)&&""!==e.responseText?s=e.responseText:_.isString(e.statusText)&&(s=e.statusText),t){case"update":a=h("Update failed: %s");break;case"install":a=h("Installation failed: %s");break;case"check-dependencies":a=h("Dependencies check failed: %s");break;case"activate":a=h("Activation failed: %s");break;case"delete":a=h("Deletion failed: %s")}return s=s.replace(/<[\/a-z][^<>]*>/gi,""),a=a.replace("%s",s),g.updates.addAdminNotice({id:"unknown_error",className:"notice-error is-dismissible",message:_.escape(a)}),g.updates.ajaxLocked=!1,g.updates.queue=[],c(".button.updating-message").removeClass("updating-message").removeAttr("aria-label").prop("disabled",!0).text(h("Update failed.")),c(".updating-message:not(.button):not(.thickbox)").removeClass("updating-message notice-warning").addClass("notice-error").find("p").removeAttr("aria-label").text(a),g.a11y.speak(a,"assertive"),!1},g.updates.beforeunload=function(){if(g.updates.ajaxLocked)return h("Updates may not complete if you navigate away from this page.")},c(function(){var l=c("#plugin-filter, #plugin-information-footer"),o=c("#bulk-action-form"),e=c("#request-filesystem-credentials-form"),t=c("#request-filesystem-credentials-dialog"),a=c(".plugins-php .wp-filter-search"),d=c(".plugin-install-php .wp-filter-search"),s=((m=_.extend(m,window._wpUpdatesItemCounts||{})).totals&&g.updates.refreshCount(),g.updates.shouldRequestFilesystemCredentials=0<t.length,t.on("submit","form",function(e){e.preventDefault(),g.updates.filesystemCredentials.ftp.hostname=c("#hostname").val(),g.updates.filesystemCredentials.ftp.username=c("#username").val(),g.updates.filesystemCredentials.ftp.password=c("#password").val(),g.updates.filesystemCredentials.ftp.connectionType=c('input[name="connection_type"]:checked').val(),g.updates.filesystemCredentials.ssh.publicKey=c("#public_key").val(),g.updates.filesystemCredentials.ssh.privateKey=c("#private_key").val(),g.updates.filesystemCredentials.fsNonce=c("#_fs_nonce").val(),g.updates.filesystemCredentials.available=!0,g.updates.ajaxLocked=!1,g.updates.queueChecker(),g.updates.requestForCredentialsModalClose()}),t.on("click",'[data-js-action="close"], .notification-dialog-background',g.updates.requestForCredentialsModalCancel),e.on("change",'input[name="connection_type"]',function(){c("#ssh-keys").toggleClass("hidden","ssh"!==c(this).val())}).trigger("change"),f.on("credential-modal-cancel",function(e,t){var a,s=c(".updating-message");"import"===pagenow?s.removeClass("updating-message"):"plugins"===pagenow||"plugins-network"===pagenow?"update-plugin"===t.action?a=c('tr[data-plugin="'+t.data.plugin+'"]').find(".update-message"):"delete-plugin"===t.action&&(a=c('[data-plugin="'+t.data.plugin+'"]').find(".row-actions a.delete")):"themes"===pagenow||"themes-network"===pagenow?"update-theme"===t.action?a=c('[data-slug="'+t.data.slug+'"]').find(".update-message"):"delete-theme"===t.action&&"themes-network"===pagenow?a=c('[data-slug="'+t.data.slug+'"]').find(".row-actions a.delete"):"delete-theme"===t.action&&"themes"===pagenow&&(a=c(".theme-actions .delete-theme")):a=s,a&&a.hasClass("updating-message")&&(void 0===(s=a.data("originaltext"))&&(s=c("<p>").html(a.find("p").data("originaltext"))),a.removeClass("updating-message").html(s),"plugin-install"!==pagenow&&"plugin-install-network"!==pagenow||("update-plugin"===t.action?a.attr("aria-label",v(r("Update %s now","plugin"),a.data("name"))):"install-plugin"===t.action&&a.attr("aria-label",v(r("Install %s now","plugin"),a.data("name"))))),g.a11y.speak(h("Update canceled."))}),o.on("click","[data-plugin] .update-link",function(e){var t=c(e.target),a=t.parents("tr");e.preventDefault(),t.hasClass("updating-message")||t.hasClass("button-disabled")||(g.updates.maybeRequestFilesystemCredentials(e),g.updates.$elToReturnFocusToFromCredentialsModal=a.find(".check-column input"),g.updates.updatePlugin({plugin:a.data("plugin"),slug:a.data("slug")}))}),l.on("click",".update-now",function(e){var t=c(e.target);e.preventDefault(),t.hasClass("updating-message")||t.hasClass("button-disabled")||(g.updates.maybeRequestFilesystemCredentials(e),g.updates.updatePlugin({plugin:t.data("plugin"),slug:t.data("slug")}))}),l.on("click",".install-now",function(e){var t=c(e.target);e.preventDefault(),t.hasClass("updating-message")||t.hasClass("button-disabled")||(g.updates.shouldRequestFilesystemCredentials&&!g.updates.ajaxLocked&&(g.updates.requestFilesystemCredentials(e),f.on("credential-modal-cancel",function(){c(".install-now.updating-message").removeClass("updating-message").text(r("Install Now","plugin")),g.a11y.speak(h("Update canceled."))})),g.updates.installPlugin({slug:t.data("slug")}))}),f.on("click","#plugin-information-footer .activate-now",function(e){e.preventDefault(),window.parent.location.href=c(e.target).attr("href")}),f.on("click",".importer-item .install-now",function(e){var t=c(e.target),a=c(this).data("name");e.preventDefault(),t.hasClass("updating-message")||(g.updates.shouldRequestFilesystemCredentials&&!g.updates.ajaxLocked&&(g.updates.requestFilesystemCredentials(e),f.on("credential-modal-cancel",function(){t.removeClass("updating-message").attr("aria-label",v(r("Install %s now","plugin"),a)).text(r("Install Now","plugin")),g.a11y.speak(h("Update canceled."))})),g.updates.installPlugin({slug:t.data("slug"),pagenow:pagenow,success:g.updates.installImporterSuccess,error:g.updates.installImporterError}))}),o.on("click","[data-plugin] a.delete",function(e){var t=c(e.target).parents("tr"),a=t.hasClass("is-uninstallable")?v(h("Are you sure you want to delete %s and its data?"),t.find(".plugin-title strong").text()):v(h("Are you sure you want to delete %s?"),t.find(".plugin-title strong").text());e.preventDefault(),window.confirm(a)&&(g.updates.maybeRequestFilesystemCredentials(e),g.updates.deletePlugin({plugin:t.data("plugin"),slug:t.data("slug")}))}),f.on("click",".themes-php.network-admin .update-link",function(e){var t=c(e.target),a=t.parents("tr");e.preventDefault(),t.hasClass("updating-message")||t.hasClass("button-disabled")||(g.updates.maybeRequestFilesystemCredentials(e),g.updates.$elToReturnFocusToFromCredentialsModal=a.find(".check-column input"),g.updates.updateTheme({slug:a.data("slug")}))}),f.on("click",".themes-php.network-admin a.delete",function(e){var t=c(e.target).parents("tr"),a=v(h("Are you sure you want to delete %s?"),t.find(".theme-title strong").text());e.preventDefault(),window.confirm(a)&&(g.updates.maybeRequestFilesystemCredentials(e),g.updates.deleteTheme({slug:t.data("slug")}))}),o.on("click",'[type="submit"]:not([name="clear-recent-list"])',function(e){var t,s,n=c(e.target).siblings("select").val(),a=o.find('input[name="checked[]"]:checked'),i=0,l=0,d=[];switch(pagenow){case"plugins":case"plugins-network":t="plugin";break;case"themes-network":t="theme";break;default:return}switch(n=a.length?n:!1){case"update-selected":s=n.replace("selected",t);break;case"delete-selected":var u=h("plugin"===t?"Are you sure you want to delete the selected plugins and their data?":"Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?");if(!window.confirm(u))return void e.preventDefault();s=n.replace("selected",t);break;default:return}g.updates.maybeRequestFilesystemCredentials(e),e.preventDefault(),o.find('.manage-column [type="checkbox"]').prop("checked",!1),f.trigger("wp-"+t+"-bulk-"+n,a),a.each(function(e,t){var t=c(t),a=t.parents("tr");"update-selected"!==n||a.hasClass("update")&&!a.find("notice-error").length?"update-selected"===n&&a.hasClass("is-enqueued")||(a.addClass("is-enqueued"),g.updates.queue.push({action:s,data:{plugin:a.data("plugin"),slug:a.data("slug")}})):t.prop("checked",!1)}),f.on("wp-plugin-update-success wp-plugin-update-error wp-theme-update-success wp-theme-update-error",function(e,t){var a,s=c('[data-slug="'+t.slug+'"]'),e=("wp-"+t.update+"-update-success"===e.type?i++:(e=t.pluginName||s.find(".column-primary strong").text(),l++,d.push(e+": "+t.errorMessage)),s.find('input[name="checked[]"]:checked').prop("checked",!1),g.updates.adminNotice=g.template("wp-bulk-updates-admin-notice"),null),s=(i&&(e="plugin"===t.update?v(p("%s plugin successfully updated.","%s plugins successfully updated.",i),i):v(p("%s theme successfully updated.","%s themes successfully updated.",i),i)),null);l&&(s=v(p("%s update failed.","%s updates failed.",l),l)),g.updates.addAdminNotice({id:"bulk-action-notice",className:"bulk-action-notice",successMessage:e,errorMessage:s,errorMessages:d,type:t.update}),a=c("#bulk-action-notice").on("click","button",function(){c(this).toggleClass("bulk-action-errors-collapsed").attr("aria-expanded",!c(this).hasClass("bulk-action-errors-collapsed")),a.find(".bulk-action-errors").toggleClass("hidden")}),0<l&&!g.updates.queue.length&&c("html, body").animate({scrollTop:0})}),f.on("wp-updates-notice-added",function(){g.updates.adminNotice=g.template("wp-updates-admin-notice")}),g.updates.queueChecker()}),d.length&&d.attr("aria-describedby","live-search-desc"),0);g.updates.shouldSearch=function(e){var t=e>=g.updates.searchMinCharacters||s>g.updates.searchMinCharacters;return s=e,t},d.on("keyup input",_.debounce(function(e,t){var a=c(".plugin-install-search"),s=d.val().length,n={_ajax_nonce:g.updates.ajaxNonce,s:encodeURIComponent(e.target.value),tab:"search",type:c("#typeselector").val(),pagenow:pagenow},i=location.href.split("?")[0]+"?"+c.param(_.omit(n,["_ajax_nonce","pagenow"]));g.updates.shouldSearch(s)?(d.attr("autocomplete","off"),"keyup"===e.type&&27===e.which&&(e.target.value=""),g.updates.searchTerm===n.s&&"typechange"!==t||(l.empty(),g.updates.searchTerm=n.s,window.history&&window.history.replaceState&&window.history.replaceState(null,"",i),a.length||(a=c('<li class="plugin-install-search" />').append(c("<a />",{class:"current",href:i,text:h("Search Results")})),c(".wp-filter .filter-links .current").removeClass("current").parents(".filter-links").prepend(a),l.prev("p").remove(),c(".plugins-popular-tags-wrapper").remove()),void 0!==g.updates.searchRequest&&g.updates.searchRequest.abort(),c("body").addClass("loading-content"),g.updates.searchRequest=g.ajax.post("search-install-plugins",n).done(function(e){c("body").removeClass("loading-content"),l.append(e.items),delete g.updates.searchRequest,0===e.count?g.a11y.speak(h("You do not appear to have any plugins available at this time.")):g.a11y.speak(v(h("Number of plugins found: %d"),e.count))}))):d.attr("autocomplete","on")},1e3)),a.length&&a.attr("aria-describedby","live-search-desc"),a.on("keyup input",_.debounce(function(e){var s={_ajax_nonce:g.updates.ajaxNonce,s:encodeURIComponent(e.target.value),pagenow:pagenow,plugin_status:"all"},t=a.val().length;g.updates.shouldSearch(t)?(a.attr("autocomplete","off"),"keyup"===e.type&&27===e.which&&(e.target.value=""),g.updates.searchTerm!==s.s&&(g.updates.searchTerm=s.s,t=_.object(_.compact(_.map(location.search.slice(1).split("&"),function(e){if(e)return e.split("=")}))),s.plugin_status=t.plugin_status||"all",window.history&&window.history.replaceState&&window.history.replaceState(null,"",location.href.split("?")[0]+"?s="+s.s+"&plugin_status="+s.plugin_status),void 0!==g.updates.searchRequest&&g.updates.searchRequest.abort(),o.empty(),c("body").addClass("loading-content"),c(".subsubsub .current").removeClass("current"),g.updates.searchRequest=g.ajax.post("search-plugins",s).done(function(e){var t=c("<span />").addClass("subtitle").html(v(h("Search results for: %s"),"<strong>"+_.escape(decodeURIComponent(s.s))+"</strong>")),a=c(".wrap .subtitle");s.s.length?a.length?a.replaceWith(t):c(".wp-header-end").before(t):(a.remove(),c(".subsubsub ."+s.plugin_status+" a").addClass("current")),c("body").removeClass("loading-content"),o.append(e.items),delete g.updates.searchRequest,0===e.count?g.a11y.speak(h("No plugins found. Try a different search.")):g.a11y.speak(v(h("Number of plugins found: %d"),e.count))}))):a.attr("autocomplete","on")},500)),f.on("submit",".search-plugins",function(e){e.preventDefault(),c("input.wp-filter-search").trigger("input")}),f.on("click",".try-again",function(e){e.preventDefault(),d.trigger("input")}),c("#typeselector").on("change",function(){var e=c('input[name="s"]');e.val().length&&e.trigger("input","typechange")}),c("#plugin_update_from_iframe").on("click",function(e){var t=window.parent===window?null:window.parent;c.support.postMessage=!!window.postMessage,!1!==c.support.postMessage&&null!==t&&-1===window.parent.location.pathname.indexOf("update-core.php")&&(e.preventDefault(),e={action:"update-plugin",data:{plugin:c(this).data("plugin"),slug:c(this).data("slug")}},t.postMessage(JSON.stringify(e),window.location.origin))}),c(window).on("message",function(e){var t,e=e.originalEvent,a=document.location.protocol+"//"+document.location.host;if(e.origin===a){try{t=JSON.parse(e.data)}catch(e){return}if(t)if(void 0!==t.status&&void 0!==t.slug&&void 0!==t.text&&void 0!==t.ariaLabel&&(a=c(".plugin-card-"+t.slug).find('[data-slug="'+t.slug+'"]'),void 0!==t.removeClasses&&a.removeClass(t.removeClasses),void 0!==t.addClasses&&a.addClass(t.addClasses),""===t.ariaLabel?a.removeAttr("aria-label"):a.attr("aria-label",t.ariaLabel),"dependencies-check-success"===t.status&&a.attr("data-name",t.pluginName).attr("data-slug",t.slug).attr("data-plugin",t.plugin).attr("href",t.href),a.text(t.text)),void 0!==t.action)switch(t.action){case"decrementUpdateCount":g.updates.decrementCount(t.upgradeType);break;case"install-plugin":case"update-plugin":void 0!==t.data&&void 0!==t.data.slug&&(t.data=g.updates._addCallbacks(t.data,t.action),g.updates.queue.push(t),g.updates.queueChecker())}}}),c(window).on("beforeunload",g.updates.beforeunload),f.on("keydown",".column-auto-updates .toggle-auto-update, .theme-overlay .toggle-auto-update",function(e){32===e.which&&e.preventDefault()}),f.on("click keyup",".column-auto-updates .toggle-auto-update, .theme-overlay .toggle-auto-update",function(e){var l,d,u,o=c(this),r=o.attr("data-wp-action"),p=o.find(".label");if(("keyup"!==e.type||32===e.which)&&(u="themes"!==pagenow?o.closest(".column-auto-updates"):o.closest(".theme-autoupdate"),e.preventDefault(),"yes"!==o.attr("data-doing-ajax"))){switch(o.attr("data-doing-ajax","yes"),pagenow){case"plugins":case"plugins-network":d="plugin",l=o.closest("tr").attr("data-plugin");break;case"themes-network":d="theme",l=o.closest("tr").attr("data-slug");break;case"themes":d="theme",l=o.attr("data-slug")}u.find(".notice.notice-error").addClass("hidden"),"enable"===r?p.text(h("Enabling...")):p.text(h("Disabling...")),o.find(".dashicons-update").removeClass("hidden"),e={action:"toggle-auto-updates",_ajax_nonce:m.ajax_nonce,state:r,type:d,asset:l},c.post(window.ajaxurl,e).done(function(e){var t,a,s,n,i=o.attr("href");if(e.success){if("themes"!==pagenow){switch(n=c(".auto-update-enabled span"),t=c(".auto-update-disabled span"),a=parseInt(n.text().replace(/[^\d]+/g,""),10)||0,s=parseInt(t.text().replace(/[^\d]+/g,""),10)||0,r){case"enable":++a,--s;break;case"disable":--a,++s}a=Math.max(0,a),s=Math.max(0,s),n.text("("+a+")"),t.text("("+s+")")}"enable"===r?(o[0].hasAttribute("href")&&(i=i.replace("action=enable-auto-update","action=disable-auto-update"),o.attr("href",i)),o.attr("data-wp-action","disable"),p.text(h("Disable auto-updates")),u.find(".auto-update-time").removeClass("hidden"),g.a11y.speak(h("Auto-updates enabled"))):(o[0].hasAttribute("href")&&(i=i.replace("action=disable-auto-update","action=enable-auto-update"),o.attr("href",i)),o.attr("data-wp-action","enable"),p.text(h("Enable auto-updates")),u.find(".auto-update-time").addClass("hidden"),g.a11y.speak(h("Auto-updates disabled"))),f.trigger("wp-auto-update-setting-changed",{state:r,type:d,asset:l})}else n=e.data&&e.data.error?e.data.error:h("The request could not be completed."),u.find(".notice.notice-error").removeClass("hidden").find("p").text(n),g.a11y.speak(n,"assertive")}).fail(function(){u.find(".notice.notice-error").removeClass("hidden").find("p").text(h("The request could not be completed.")),g.a11y.speak(h("The request could not be completed."),"assertive")}).always(function(){o.removeAttr("data-doing-ajax").find(".dashicons-update").addClass("hidden")})}})})}(jQuery,window.wp,window._wpUpdatesSettings); image-edit.min.js 0000644 00000036233 15174671433 0007713 0 ustar 00 /*! This file is auto-generated */ !function(c){var s=wp.i18n.__,d=window.imageEdit={iasapi:{},hold:{},postid:"",_view:!1,toggleCropTool:function(t,i,e){var a,o,r,n=c("#image-preview-"+t),s=this.iasapi.getSelection();d.toggleControls(e),"false"==("true"===c(e).attr("aria-expanded")?"true":"false")?(this.iasapi.cancelSelection(),d.setDisabled(c(".imgedit-crop-clear"),0)):(d.setDisabled(c(".imgedit-crop-clear"),1),e=c("#imgedit-start-x-"+t).val()?c("#imgedit-start-x-"+t).val():0,a=c("#imgedit-start-y-"+t).val()?c("#imgedit-start-y-"+t).val():0,o=c("#imgedit-sel-width-"+t).val()?c("#imgedit-sel-width-"+t).val():n.innerWidth(),r=c("#imgedit-sel-height-"+t).val()?c("#imgedit-sel-height-"+t).val():n.innerHeight(),isNaN(s.x1)&&(this.setCropSelection(t,{x1:e,y1:a,x2:o,y2:r,width:o,height:r}),s=this.iasapi.getSelection()),0===s.x1&&0===s.y1&&0===s.x2&&0===s.y2?this.iasapi.setSelection(0,0,n.innerWidth(),n.innerHeight(),!0):this.iasapi.setSelection(e,a,o,r,!0),this.iasapi.setOptions({show:!0}),this.iasapi.update())},handleCropToolClick:function(t,i,e){e.classList.contains("imgedit-crop-clear")?(this.iasapi.cancelSelection(),d.setDisabled(c(".imgedit-crop-apply"),0),c("#imgedit-sel-width-"+t).val(""),c("#imgedit-sel-height-"+t).val(""),c("#imgedit-start-x-"+t).val("0"),c("#imgedit-start-y-"+t).val("0"),c("#imgedit-selection-"+t).val("")):d.crop(t,i,e)},intval:function(t){return 0|t},setDisabled:function(t,i){i?t.removeClass("disabled").prop("disabled",!1):t.addClass("disabled").prop("disabled",!0)},init:function(e){var t=this,i=c("#image-editor-"+t.postid);t.postid!==e&&i.length&&t.close(t.postid),t.hold.sizer=parseFloat(c("#imgedit-sizer-"+e).val()),t.postid=e,c("#imgedit-response-"+e).empty(),c("#imgedit-panel-"+e).on("keypress",function(t){var i=c("#imgedit-nonce-"+e).val();26===t.which&&t.ctrlKey&&d.undo(e,i),25===t.which&&t.ctrlKey&&d.redo(e,i)}),c("#imgedit-panel-"+e).on("keypress",'input[type="text"]',function(t){var i=t.keyCode;if(36<i&&i<41&&c(this).trigger("blur"),13===i)return t.preventDefault(),t.stopPropagation(),!1}),c(document).on("image-editor-ui-ready",this.focusManager)},calculateImgSize:function(t){var i=this,e=i.intval(c("#imgedit-x-"+t).val()),a=i.intval(c("#imgedit-y-"+t).val());i.hold.w=i.hold.ow=e,i.hold.h=i.hold.oh=a,i.hold.xy_ratio=e/a,i.hold.sizer=parseFloat(c("#imgedit-sizer-"+t).val()),i.currentCropSelection=null},toggleEditor:function(t,i,e){t=c("#imgedit-wait-"+t);i?t.fadeIn("fast"):t.fadeOut("fast",function(){e&&c(document).trigger("image-editor-ui-ready")})},togglePopup:function(t){var i=c(t),t=c(t).attr("aria-controls"),t=c("#"+t);return i.attr("aria-expanded","false"===i.attr("aria-expanded")?"true":"false"),t.toggleClass("imgedit-popup-menu-open").slideToggle("fast").css({"z-index":2e5}),"true"===i.attr("aria-expanded")&&t.find("button").first().trigger("focus"),!1},monitorPopup:function(){var e=document.querySelector(".imgedit-rotate-menu-container"),a=document.querySelector(".imgedit-rotate-menu-container .imgedit-rotate");return setTimeout(function(){var t=document.activeElement,i=e.contains(t);t&&!i&&"true"===a.getAttribute("aria-expanded")&&d.togglePopup(a)},100),!1},browsePopup:function(t,i){var e=c(i),i=c(i).parent(".imgedit-popup-menu").find("button"),e=i.index(e),a=e-1,e=e+1,o=i.length,o=(a<0&&(a=o-1),e===o&&(e=0),!1);return 40===t.keyCode?o=i.get(e):38===t.keyCode&&(o=i.get(a)),o&&(o.focus(),t.preventDefault()),!1},closePopup:function(t){var t=c(t).parent(".imgedit-popup-menu"),i=t.attr("id");return c('button[aria-controls="'+i+'"]').attr("aria-expanded","false").trigger("focus"),t.toggleClass("imgedit-popup-menu-open").slideToggle("fast"),!1},toggleHelp:function(t){t=c(t);return t.attr("aria-expanded","false"===t.attr("aria-expanded")?"true":"false").parents(".imgedit-group-top").toggleClass("imgedit-help-toggled").find(".imgedit-help").slideToggle("fast"),!1},toggleControls:function(t){var t=c(t),i=c("#"+t.attr("aria-controls"));return t.attr("aria-expanded","false"===t.attr("aria-expanded")?"true":"false"),i.parent(".imgedit-group").toggleClass("imgedit-panel-active"),!1},getTarget:function(t){var i=c("#imgedit-save-target-"+t);return i.length?i.find('input[name="imgedit-target-'+t+'"]:checked').val()||"full":"all"},scaleChanged:function(t,i,e){var a=c("#imgedit-scale-width-"+t),o=c("#imgedit-scale-height-"+t),t=c("#imgedit-scale-warn-"+t),r="",n="",s=c("#imgedit-scale-button");!1!==this.validateNumeric(e)&&(i?(n=""!==a.val()?Math.round(a.val()/this.hold.xy_ratio):"",o.val(n)):(r=""!==o.val()?Math.round(o.val()*this.hold.xy_ratio):"",a.val(r)),n&&n>this.hold.oh||r&&r>this.hold.ow?(t.css("visibility","visible"),s.prop("disabled",!0)):(t.css("visibility","hidden"),s.prop("disabled",!1)))},getSelRatio:function(t){var i=this.hold.w,e=this.hold.h,a=this.intval(c("#imgedit-crop-width-"+t).val()),t=this.intval(c("#imgedit-crop-height-"+t).val());return a&&t?a+":"+t:i&&e?i+":"+e:"1:1"},filterHistory:function(t,i){var e,a,o,r=c("#imgedit-history-"+t).val(),n=[];if(""===r)return"";if(r=JSON.parse(r),0<(e=this.intval(c("#imgedit-undone-"+t).val())))for(;0<e;)r.pop(),e--;if(i){if(!r.length)return this.hold.w=this.hold.ow,this.hold.h=this.hold.oh,"";(t=(t=r[r.length-1]).c||t.r||t.f||!1)&&(this.hold.w=t.fw,this.hold.h=t.fh)}for(a in r)(o=r[a]).hasOwnProperty("c")?n[a]={c:{x:o.c.x,y:o.c.y,w:o.c.w,h:o.c.h,r:o.c.r}}:o.hasOwnProperty("r")?n[a]={r:o.r.r}:o.hasOwnProperty("f")&&(n[a]={f:o.f.f});return JSON.stringify(n)},refreshEditor:function(o,t,r){var n,i=this;i.toggleEditor(o,1),t={action:"imgedit-preview",_ajax_nonce:t,postid:o,history:i.filterHistory(o,1),rand:i.intval(1e6*Math.random())},n=c('<img id="image-preview-'+o+'" alt="" />').on("load",{history:t.history},function(t){var i=c("#imgedit-crop-"+o),e=d,a=(""!==t.data.history&&(t=JSON.parse(t.data.history))[t.length-1].hasOwnProperty("c")&&(e.setDisabled(c("#image-undo-"+o),!0),c("#image-undo-"+o).trigger("focus")),i.empty().append(n),t=Math.max(e.hold.w,e.hold.h),a=Math.max(c(n).width(),c(n).height()),e.hold.sizer=a<t?a/t:1,e.initCrop(o,n,i),null!=r&&r(),c("#imgedit-history-"+o).val()&&"0"===c("#imgedit-undone-"+o).val()?c("button.imgedit-submit-btn","#imgedit-panel-"+o).prop("disabled",!1):c("button.imgedit-submit-btn","#imgedit-panel-"+o).prop("disabled",!0),s("Image updated."));e.toggleEditor(o,0),wp.a11y.speak(a,"assertive")}).on("error",function(){var t=s("Could not load the preview image. Please reload the page and try again.");c("#imgedit-crop-"+o).empty().append('<div class="notice notice-error" tabindex="-1" role="alert"><p>'+t+"</p></div>"),i.toggleEditor(o,0,!0),wp.a11y.speak(t,"assertive")}).attr("src",ajaxurl+"?"+c.param(t))},action:function(i,t,e){var a,o,r,n,s=this;if(s.notsaved(i))return!1;if(t={action:"image-editor",_ajax_nonce:t,postid:i},"scale"===e){if(a=c("#imgedit-scale-width-"+i),o=c("#imgedit-scale-height-"+i),r=s.intval(a.val()),n=s.intval(o.val()),r<1)return a.trigger("focus"),!1;if(n<1)return o.trigger("focus"),!1;if(r===s.hold.ow||n===s.hold.oh)return!1;t.do="scale",t.fwidth=r,t.fheight=n}else{if("restore"!==e)return!1;t.do="restore"}s.toggleEditor(i,1),c.post(ajaxurl,t,function(t){c("#image-editor-"+i).empty().append(t.data.html),s.toggleEditor(i,0,!0),s._view&&s._view.refresh()}).done(function(t){t&&t.data.message.msg?wp.a11y.speak(t.data.message.msg):t&&t.data.message.error&&wp.a11y.speak(t.data.message.error)})},save:function(i,t){var e=this.getTarget(i),a=this.filterHistory(i,0),o=this;if(""===a)return!1;this.toggleEditor(i,1),t={action:"image-editor",_ajax_nonce:t,postid:i,history:a,target:e,context:c("#image-edit-context").length?c("#image-edit-context").val():null,do:"save"},c.post(ajaxurl,t,function(t){t.data.error?(c("#imgedit-response-"+i).html('<div class="notice notice-error" tabindex="-1" role="alert"><p>'+t.data.error+"</p></div>"),d.close(i),wp.a11y.speak(t.data.error)):(t.data.fw&&t.data.fh&&c("#media-dims-"+i).html(t.data.fw+" × "+t.data.fh),t.data.thumbnail&&c(".thumbnail","#thumbnail-head-"+i).attr("src",""+t.data.thumbnail),t.data.msg&&(c("#imgedit-response-"+i).html('<div class="notice notice-success" tabindex="-1" role="alert"><p>'+t.data.msg+"</p></div>"),wp.a11y.speak(t.data.msg)),o._view?o._view.save():d.close(i))})},open:function(e,t,i){this._view=i;var a=c("#image-editor-"+e),o=c("#media-head-"+e),r=c("#imgedit-open-btn-"+e),n=r.siblings(".spinner");if(!r.hasClass("button-activated"))return n.addClass("is-active"),c.ajax({url:ajaxurl,type:"post",data:{action:"image-editor",_ajax_nonce:t,postid:e,do:"open"},beforeSend:function(){r.addClass("button-activated")}}).done(function(t){var i;"-1"===t&&(i=s("Could not load the preview image."),a.html('<div class="notice notice-error" tabindex="-1" role="alert"><p>'+i+"</p></div>")),t.data&&t.data.html&&a.html(t.data.html),o.fadeOut("fast",function(){a.fadeIn("fast",function(){i&&c(document).trigger("image-editor-ui-ready")}),r.removeClass("button-activated"),n.removeClass("is-active")}),d.init(e)})},imgLoaded:function(t){var i=c("#image-preview-"+t),e=c("#imgedit-crop-"+t);void 0===this.hold.sizer&&this.init(t),this.calculateImgSize(t),this.initCrop(t,i,e),this.setCropSelection(t,{x1:0,y1:0,x2:0,y2:0,width:i.innerWidth(),height:i.innerHeight()}),this.toggleEditor(t,0,!0)},focusManager:function(){setTimeout(function(){var t=c('.notice[role="alert"]');(t=t.length?t:c(".imgedit-wrap").find(":tabbable:first")).attr("tabindex","-1").trigger("focus")},100)},initCrop:function(r,t,i){var n=this,o=c("#imgedit-sel-width-"+r),s=c("#imgedit-sel-height-"+r),t=c(t);t.data("imgAreaSelect")||(n.iasapi=t.imgAreaSelect({parent:i,instance:!0,handles:!0,keys:!0,minWidth:3,minHeight:3,onInit:function(t){c(t).next().css("position","absolute").nextAll(".imgareaselect-outer").css("position","absolute"),i.children().on("mousedown touchstart",function(t){var i=!1,e=n.iasapi.getSelection(),a=n.intval(c("#imgedit-crop-width-"+r).val()),o=n.intval(c("#imgedit-crop-height-"+r).val());a&&o?i=n.getSelRatio(r):t.shiftKey&&e&&e.width&&e.height&&(i=e.width+":"+e.height),n.iasapi.setOptions({aspectRatio:i})})},onSelectStart:function(){d.setDisabled(c("#imgedit-crop-sel-"+r),1),d.setDisabled(c(".imgedit-crop-clear"),1),d.setDisabled(c(".imgedit-crop-apply"),1)},onSelectEnd:function(t,i){d.setCropSelection(r,i),c("#imgedit-crop > *").is(":visible")||d.toggleControls(c(".imgedit-crop.button"))},onSelectChange:function(t,i){var e=d.hold.sizer,a=d.currentCropSelection;null!=a&&a.width==i.width&&a.height==i.height||(o.val(Math.min(d.hold.w,d.round(i.width/e))),s.val(Math.min(d.hold.h,d.round(i.height/e))),n.currentCropSelection=i)}}))},setCropSelection:function(t,i){var e=c("#imgedit-sel-width-"+t),a=c("#imgedit-sel-height-"+t),o=this.hold.sizer,r=this.hold;if(!(i=i||0)||i.width<3&&i.height<3)return this.setDisabled(c(".imgedit-crop","#imgedit-panel-"+t),1),this.setDisabled(c("#imgedit-crop-sel-"+t),1),c("#imgedit-sel-width-"+t).val(""),c("#imgedit-sel-height-"+t).val(""),c("#imgedit-start-x-"+t).val("0"),c("#imgedit-start-y-"+t).val("0"),c("#imgedit-selection-"+t).val(""),!1;var n=r.w-(Math.round(i.x1/o)+parseInt(e.val())),r=r.h-(Math.round(i.y1/o)+parseInt(a.val())),n={r:1,x:Math.round(i.x1/o)+Math.min(0,n),y:Math.round(i.y1/o)+Math.min(0,r),w:e.val(),h:a.val()};this.setDisabled(c(".imgedit-crop","#imgedit-panel-"+t),1),c("#imgedit-selection-"+t).val(JSON.stringify(n))},close:function(t,i){if((i=i||!1)&&this.notsaved(t))return!1;this.iasapi={},this.hold={},this._view?this._view.back():c("#image-editor-"+t).fadeOut("fast",function(){c("#media-head-"+t).fadeIn("fast",function(){c("#imgedit-open-btn-"+t).trigger("focus")}),c(this).empty()})},notsaved:function(t){var i=c("#imgedit-history-"+t).val(),i=""!==i?JSON.parse(i):[];return this.intval(c("#imgedit-undone-"+t).val())<i.length&&!confirm(c("#imgedit-leaving-"+t).text())},addStep:function(t,i,e){for(var a=this,o=c("#imgedit-history-"+i),r=""!==o.val()?JSON.parse(o.val()):[],n=c("#imgedit-undone-"+i),s=a.intval(n.val());0<s;)r.pop(),s--;n.val(0),r.push(t),o.val(JSON.stringify(r)),a.refreshEditor(i,e,function(){a.setDisabled(c("#image-undo-"+i),!0),a.setDisabled(c("#image-redo-"+i),!1)})},rotate:function(t,i,e,a){if(c(a).hasClass("disabled"))return!1;this.closePopup(a),this.addStep({r:{r:t,fw:this.hold.h,fh:this.hold.w}},i,e),c("#imgedit-sel-width-"+i).val(""),c("#imgedit-sel-height-"+i).val(""),this.currentCropSelection=null},flip:function(t,i,e,a){if(c(a).hasClass("disabled"))return!1;this.closePopup(a),this.addStep({f:{f:t,fw:this.hold.w,fh:this.hold.h}},i,e),c("#imgedit-sel-width-"+i).val(""),c("#imgedit-sel-height-"+i).val(""),this.currentCropSelection=null},crop:function(t,i,e){var a=c("#imgedit-selection-"+t).val(),o=this.intval(c("#imgedit-sel-width-"+t).val()),r=this.intval(c("#imgedit-sel-height-"+t).val());if(c(e).hasClass("disabled")||""===a)return!1;0<(a=JSON.parse(a)).w&&0<a.h&&0<o&&0<r&&(a.fw=o,a.fh=r,this.addStep({c:a},t,i)),c("#imgedit-sel-width-"+t).val(""),c("#imgedit-sel-height-"+t).val(""),c("#imgedit-start-x-"+t).val("0"),c("#imgedit-start-y-"+t).val("0"),this.currentCropSelection=null},undo:function(i,t){var e=this,a=c("#image-undo-"+i),o=c("#imgedit-undone-"+i),r=e.intval(o.val())+1;a.hasClass("disabled")||(o.val(r),e.refreshEditor(i,t,function(){var t=c("#imgedit-history-"+i),t=""!==t.val()?JSON.parse(t.val()):[];e.setDisabled(c("#image-redo-"+i),!0),e.setDisabled(a,r<t.length),t.length===r&&c("#image-redo-"+i).trigger("focus")}))},redo:function(t,i){var e=this,a=c("#image-redo-"+t),o=c("#imgedit-undone-"+t),r=e.intval(o.val())-1;a.hasClass("disabled")||(o.val(r),e.refreshEditor(t,i,function(){e.setDisabled(c("#image-undo-"+t),!0),e.setDisabled(a,0<r),0==r&&c("#image-undo-"+t).trigger("focus")}))},setNumSelection:function(t,i){var e=c("#imgedit-sel-width-"+t),a=c("#imgedit-sel-height-"+t),o=c("#imgedit-start-x-"+t),r=c("#imgedit-start-y-"+t),o=this.intval(o.val()),r=this.intval(r.val()),n=this.intval(e.val()),s=this.intval(a.val()),d=c("#image-preview-"+t),l=d.height(),d=d.width(),h=this.hold.sizer,g=this.iasapi;if(this.currentCropSelection=null,!1!==this.validateNumeric(i))return n<1?(e.val(""),!1):s<1?(a.val(""),!1):void((n&&s||o&&r)&&(i=g.getSelection())&&(n=i.x1+Math.round(n*h),s=i.y1+Math.round(s*h),o=o===i.x1?i.x1:Math.round(o*h),i=r===i.y1?i.y1:Math.round(r*h),d<n&&(o=0,n=d,e.val(Math.min(this.hold.w,Math.round(n/h)))),l<s&&(i=0,s=l,a.val(Math.min(this.hold.h,Math.round(s/h)))),g.setSelection(o,i,n,s),g.update(),this.setCropSelection(t,g.getSelection()),this.currentCropSelection=g.getSelection()))},round:function(t){var i;return t=Math.round(t),.6<this.hold.sizer?t:"1"===(i=t.toString().slice(-1))?t-1:"9"===i?t+1:t},setRatioSelection:function(t,i,e){var a=this.intval(c("#imgedit-crop-width-"+t).val()),o=this.intval(c("#imgedit-crop-height-"+t).val()),r=c("#image-preview-"+t).height();!1===this.validateNumeric(e)?this.iasapi.setOptions({aspectRatio:null}):a&&o&&(this.iasapi.setOptions({aspectRatio:a+":"+o}),e=this.iasapi.getSelection(!0))&&(r<(a=Math.ceil(e.y1+(e.x2-e.x1)/(a/o)))?(a=r,o=s("Selected crop ratio exceeds the boundaries of the image. Try a different ratio."),c("#imgedit-crop-"+t).prepend('<div class="notice notice-error" tabindex="-1" role="alert"><p>'+o+"</p></div>"),wp.a11y.speak(o,"assertive"),c(i?"#imgedit-crop-height-"+t:"#imgedit-crop-width-"+t).val("")):void 0!==(r=c("#imgedit-crop-"+t).find(".notice-error"))&&r.remove(),this.iasapi.setSelection(e.x1,e.y1,e.x2,a),this.iasapi.update())},validateNumeric:function(t){if(!1===this.intval(c(t).val()))return c(t).val(""),!1}}}(jQuery); postbox.min.js 0000644 00000015151 15174671433 0007400 0 ustar 00 /*! This file is auto-generated */ !function(l){var a=l(document),r=wp.i18n.__;window.postboxes={handle_click:function(){var e,o=l(this),s=o.closest(".postbox"),t=s.attr("id");"dashboard_browser_nag"!==t&&(s.toggleClass("closed"),e=!s.hasClass("closed"),(o.hasClass("handlediv")?o:o.closest(".postbox").find("button.handlediv")).attr("aria-expanded",e),"press-this"!==postboxes.page&&postboxes.save_state(postboxes.page),t&&(s.hasClass("closed")||"function"!=typeof postboxes.pbshow?s.hasClass("closed")&&"function"==typeof postboxes.pbhide&&postboxes.pbhide(t):postboxes.pbshow(t)),a.trigger("postbox-toggled",s))},handleOrder:function(){var e=l(this),o=e.closest(".postbox"),s=o.attr("id"),t=o.closest(".meta-box-sortables").find(".postbox:visible"),a=t.length,t=t.index(o);if("dashboard_browser_nag"!==s)if("true"===e.attr("aria-disabled"))s=e.hasClass("handle-order-higher")?r("The box is on the first position"):r("The box is on the last position"),wp.a11y.speak(s);else{if(e.hasClass("handle-order-higher")){if(0===t)return void postboxes.handleOrderBetweenSortables("previous",e,o);o.prevAll(".postbox:visible").eq(0).before(o),e.trigger("focus"),postboxes.updateOrderButtonsProperties(),postboxes.save_order(postboxes.page)}e.hasClass("handle-order-lower")&&(t+1===a?postboxes.handleOrderBetweenSortables("next",e,o):(o.nextAll(".postbox:visible").eq(0).after(o),e.trigger("focus"),postboxes.updateOrderButtonsProperties(),postboxes.save_order(postboxes.page)))}},handleOrderBetweenSortables:function(e,o,s){var t=o.closest(".meta-box-sortables").attr("id"),a=[];l(".meta-box-sortables:visible").each(function(){a.push(l(this).attr("id"))}),1!==a.length&&(t=l.inArray(t,a),s=s.detach(),"previous"===e&&l(s).appendTo("#"+a[t-1]),"next"===e&&l(s).prependTo("#"+a[t+1]),postboxes._mark_area(),o.focus(),postboxes.updateOrderButtonsProperties(),postboxes.save_order(postboxes.page))},updateOrderButtonsProperties:function(){var e=l(".meta-box-sortables:visible:first").attr("id"),o=l(".meta-box-sortables:visible:last").attr("id"),s=l(".postbox:visible:first"),t=l(".postbox:visible:last"),a=s.attr("id"),r=t.attr("id"),i=s.closest(".meta-box-sortables").attr("id"),t=t.closest(".meta-box-sortables").attr("id"),n=l(".handle-order-higher"),d=l(".handle-order-lower");n.attr("aria-disabled","false").removeClass("hidden"),d.attr("aria-disabled","false").removeClass("hidden"),e===o&&a===r&&(n.addClass("hidden"),d.addClass("hidden")),e===i&&l(s).find(".handle-order-higher").attr("aria-disabled","true"),o===t&&l(".postbox:visible .handle-order-lower").last().attr("aria-disabled","true")},add_postbox_toggles:function(t,e){var o=l(".postbox .hndle, .postbox .handlediv"),s=l(".postbox .handle-order-higher, .postbox .handle-order-lower");this.page=t,this.init(t,e),o.on("click.postboxes",this.handle_click),s.on("click.postboxes",this.handleOrder),l(".postbox .hndle a").on("click",function(e){e.stopPropagation()}),l(".postbox a.dismiss").on("click.postboxes",function(e){var o=l(this).parents(".postbox").attr("id")+"-hide";e.preventDefault(),l("#"+o).prop("checked",!1).triggerHandler("click")}),l(".hide-postbox-tog").on("click.postboxes",function(){var e=l(this),o=e.val(),s=l("#"+o);e.prop("checked")?(s.show(),"function"==typeof postboxes.pbshow&&postboxes.pbshow(o)):(s.hide(),"function"==typeof postboxes.pbhide&&postboxes.pbhide(o)),postboxes.save_state(t),postboxes._mark_area(),a.trigger("postbox-toggled",s)}),l('.columns-prefs input[type="radio"]').on("click.postboxes",function(){var e=parseInt(l(this).val(),10);e&&(postboxes._pb_edit(e),postboxes.save_order(t))})},init:function(o,e){var s=l(document.body).hasClass("mobile"),t=l(".postbox .handlediv");l.extend(this,e||{}),l(".meta-box-sortables").sortable({placeholder:"sortable-placeholder",connectWith:".meta-box-sortables",items:".postbox",handle:".hndle",cursor:"move",delay:s?200:0,distance:2,tolerance:"pointer",forcePlaceholderSize:!0,helper:function(e,o){return o.clone().find(":input").attr("name",function(e,o){return"sort_"+parseInt(1e5*Math.random(),10).toString()+"_"+o}).end()},opacity:.65,start:function(){l("body").addClass("is-dragging-metaboxes"),l(".meta-box-sortables").sortable("refreshPositions")},stop:function(){var e=l(this);l("body").removeClass("is-dragging-metaboxes"),e.find("#dashboard_browser_nag").is(":visible")&&"dashboard_browser_nag"!=this.firstChild.id?e.sortable("cancel"):(postboxes.updateOrderButtonsProperties(),postboxes.save_order(o))},receive:function(e,o){"dashboard_browser_nag"==o.item[0].id&&l(o.sender).sortable("cancel"),postboxes._mark_area(),a.trigger("postbox-moved",o.item)}}),s&&(l(document.body).on("orientationchange.postboxes",function(){postboxes._pb_change()}),this._pb_change()),this._mark_area(),this.updateOrderButtonsProperties(),a.on("postbox-toggled",this.updateOrderButtonsProperties),t.each(function(){var e=l(this);e.attr("aria-expanded",!e.closest(".postbox").hasClass("closed"))})},save_state:function(e){var o,s;"nav-menus"!==e&&(o=l(".postbox").filter(".closed").map(function(){return this.id}).get().join(","),s=l(".postbox").filter(":hidden").map(function(){return this.id}).get().join(","),l.post(ajaxurl,{action:"closed-postboxes",closed:o,hidden:s,closedpostboxesnonce:jQuery("#closedpostboxesnonce").val(),page:e},function(){wp.a11y.speak(r("Screen Options updated."))}))},save_order:function(e){var o=l(".columns-prefs input:checked").val()||0,s={action:"meta-box-order",_ajax_nonce:l("#meta-box-order-nonce").val(),page_columns:o,page:e};l(".meta-box-sortables").each(function(){s["order["+this.id.split("-")[0]+"]"]=l(this).sortable("toArray").join(",")}),l.post(ajaxurl,s,function(e){e.success&&wp.a11y.speak(r("The boxes order has been saved."))})},_mark_area:function(){var o=l("div.postbox:visible").length,e=l("#dashboard-widgets .meta-box-sortables:visible, #post-body .meta-box-sortables:visible"),s=!0;e.each(function(){var e=l(this);1==o||e.children(".postbox:visible").length?(e.removeClass("empty-container"),s=!1):e.addClass("empty-container")}),postboxes.updateEmptySortablesText(e,s)},updateEmptySortablesText:function(e,o){var s=l("#dashboard-widgets").length,t=r(o?"Add boxes from the Screen Options menu":"Drag boxes here");s&&e.each(function(){l(this).hasClass("empty-container")&&l(this).attr("data-emptyString",t)})},_pb_edit:function(e){var o=l(".metabox-holder").get(0);o&&(o.className=o.className.replace(/columns-\d+/,"columns-"+e)),l(document).trigger("postboxes-columnchange")},_pb_change:function(){var e=l('label.columns-prefs-1 input[type="radio"]');switch(window.orientation){case 90:case-90:e.length&&e.is(":checked")||this._pb_edit(2);break;case 0:case 180:l("#poststuff").length?this._pb_edit(1):e.length&&e.is(":checked")||this._pb_edit(2)}},pbshow:!1,pbhide:!1}}(jQuery); color-picker.min.js 0000644 00000006636 15174671433 0010303 0 ustar 00 /*! This file is auto-generated */ !function(i,t){var a=wp.i18n.__;i.widget("wp.wpColorPicker",{options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){"function"==typeof o.options.change&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=o.close.bind(o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(a("Color value"))),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(a("Select Color")),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),"function"==typeof o.options.change&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.on("click",function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e))}),o.button.on("click",function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}})}(jQuery); accordion.js 0000644 00000005565 15174671433 0007071 0 ustar 00 /** * Accordion-folding functionality. * * Markup with the appropriate classes will be automatically hidden, * with one section opening at a time when its title is clicked. * Use the following markup structure for accordion behavior: * * <div class="accordion-container"> * <div class="accordion-section open"> * <h3 class="accordion-section-title"><button type="button" aria-expanded="true" aria-controls="target-1"></button></h3> * <div class="accordion-section-content" id="target"> * </div> * </div> * <div class="accordion-section"> * <h3 class="accordion-section-title"><button type="button" aria-expanded="false" aria-controls="target-2"></button></h3> * <div class="accordion-section-content" id="target-2"> * </div> * </div> * <div class="accordion-section"> * <h3 class="accordion-section-title"><button type="button" aria-expanded="false" aria-controls="target-3"></button></h3> * <div class="accordion-section-content" id="target-3"> * </div> * </div> * </div> * * Note that any appropriate tags may be used, as long as the above classes are present. * * @since 3.6.0 * @output wp-admin/js/accordion.js */ ( function( $ ){ $( function () { // Expand/Collapse accordion sections on click. $( '.accordion-container' ).on( 'click', '.accordion-section-title button', function() { accordionSwitch( $( this ) ); }); }); /** * Close the current accordion section and open a new one. * * @param {Object} el Title element of the accordion section to toggle. * @since 3.6.0 */ function accordionSwitch ( el ) { var section = el.closest( '.accordion-section' ), container = section.closest( '.accordion-container' ), siblings = container.find( '.open' ), siblingsToggleControl = siblings.find( '[aria-expanded]' ).first(), content = section.find( '.accordion-section-content' ); // This section has no content and cannot be expanded. if ( section.hasClass( 'cannot-expand' ) ) { return; } // Add a class to the container to let us know something is happening inside. // This helps in cases such as hiding a scrollbar while animations are executing. container.addClass( 'opening' ); if ( section.hasClass( 'open' ) ) { section.toggleClass( 'open' ); content.toggle( true ).slideToggle( 150 ); } else { siblingsToggleControl.attr( 'aria-expanded', 'false' ); siblings.removeClass( 'open' ); siblings.find( '.accordion-section-content' ).show().slideUp( 150 ); content.toggle( false ).slideToggle( 150 ); section.toggleClass( 'open' ); } // We have to wait for the animations to finish. setTimeout(function(){ container.removeClass( 'opening' ); }, 150); // If there's an element with an aria-expanded attribute, assume it's a toggle control and toggle the aria-expanded value. if ( el ) { el.attr( 'aria-expanded', String( el.attr( 'aria-expanded' ) === 'false' ) ); } } })(jQuery); language-chooser.min.js 0000644 00000000647 15174671433 0011131 0 ustar 00 /*! This file is auto-generated */ jQuery(function(n){var e=n("#language"),a=n("#language-continue");n("body").hasClass("language-chooser")&&(e.trigger("focus").on("change",function(){var n=e.children("option:selected");a.attr({value:n.data("continue"),lang:n.attr("lang")})}),n("form").on("submit",function(){e.children("option:selected").data("installed")||n(this).find(".step .spinner").css("visibility","visible")}))}); updates.js 0000644 00000332577 15174671433 0006603 0 ustar 00 /** * Functions for ajaxified updates, deletions and installs inside the WordPress admin. * * @version 4.2.0 * @output wp-admin/js/updates.js */ /* global pagenow, _wpThemeSettings */ /** * @param {jQuery} $ jQuery object. * @param {object} wp WP object. * @param {object} settings WP Updates settings. * @param {string} settings.ajax_nonce Ajax nonce. * @param {object=} settings.plugins Base names of plugins in their different states. * @param {Array} settings.plugins.all Base names of all plugins. * @param {Array} settings.plugins.active Base names of active plugins. * @param {Array} settings.plugins.inactive Base names of inactive plugins. * @param {Array} settings.plugins.upgrade Base names of plugins with updates available. * @param {Array} settings.plugins.recently_activated Base names of recently activated plugins. * @param {Array} settings.plugins['auto-update-enabled'] Base names of plugins set to auto-update. * @param {Array} settings.plugins['auto-update-disabled'] Base names of plugins set to not auto-update. * @param {object=} settings.themes Slugs of themes in their different states. * @param {Array} settings.themes.all Slugs of all themes. * @param {Array} settings.themes.upgrade Slugs of themes with updates available. * @param {Arrat} settings.themes.disabled Slugs of disabled themes. * @param {Array} settings.themes['auto-update-enabled'] Slugs of themes set to auto-update. * @param {Array} settings.themes['auto-update-disabled'] Slugs of themes set to not auto-update. * @param {object=} settings.totals Combined information for available update counts. * @param {number} settings.totals.count Holds the amount of available updates. */ (function( $, wp, settings ) { var $document = $( document ), __ = wp.i18n.__, _x = wp.i18n._x, _n = wp.i18n._n, _nx = wp.i18n._nx, sprintf = wp.i18n.sprintf; wp = wp || {}; /** * The WP Updates object. * * @since 4.2.0 * * @namespace wp.updates */ wp.updates = {}; /** * Removed in 5.5.0, needed for back-compatibility. * * @since 4.2.0 * @deprecated 5.5.0 * * @type {object} */ wp.updates.l10n = { searchResults: '', searchResultsLabel: '', noPlugins: '', noItemsSelected: '', updating: '', pluginUpdated: '', themeUpdated: '', update: '', updateNow: '', pluginUpdateNowLabel: '', updateFailedShort: '', updateFailed: '', pluginUpdatingLabel: '', pluginUpdatedLabel: '', pluginUpdateFailedLabel: '', updatingMsg: '', updatedMsg: '', updateCancel: '', beforeunload: '', installNow: '', pluginInstallNowLabel: '', installing: '', pluginInstalled: '', themeInstalled: '', installFailedShort: '', installFailed: '', pluginInstallingLabel: '', themeInstallingLabel: '', pluginInstalledLabel: '', themeInstalledLabel: '', pluginInstallFailedLabel: '', themeInstallFailedLabel: '', installingMsg: '', installedMsg: '', importerInstalledMsg: '', aysDelete: '', aysDeleteUninstall: '', aysBulkDelete: '', aysBulkDeleteThemes: '', deleting: '', deleteFailed: '', pluginDeleted: '', themeDeleted: '', livePreview: '', activatePlugin: '', activateTheme: '', activatePluginLabel: '', activateThemeLabel: '', activateImporter: '', activateImporterLabel: '', unknownError: '', connectionError: '', nonceError: '', pluginsFound: '', noPluginsFound: '', autoUpdatesEnable: '', autoUpdatesEnabling: '', autoUpdatesEnabled: '', autoUpdatesDisable: '', autoUpdatesDisabling: '', autoUpdatesDisabled: '', autoUpdatesError: '' }; wp.updates.l10n = window.wp.deprecateL10nObject( 'wp.updates.l10n', wp.updates.l10n, '5.5.0' ); /** * User nonce for ajax calls. * * @since 4.2.0 * * @type {string} */ wp.updates.ajaxNonce = settings.ajax_nonce; /** * Current search term. * * @since 4.6.0 * * @type {string} */ wp.updates.searchTerm = ''; /** * Minimum number of characters before an ajax search is fired. * * @since 6.7.0 * * @type {number} */ wp.updates.searchMinCharacters = 2; /** * Whether filesystem credentials need to be requested from the user. * * @since 4.2.0 * * @type {bool} */ wp.updates.shouldRequestFilesystemCredentials = false; /** * Filesystem credentials to be packaged along with the request. * * @since 4.2.0 * @since 4.6.0 Added `available` property to indicate whether credentials have been provided. * * @type {Object} * @property {Object} filesystemCredentials.ftp Holds FTP credentials. * @property {string} filesystemCredentials.ftp.host FTP host. Default empty string. * @property {string} filesystemCredentials.ftp.username FTP user name. Default empty string. * @property {string} filesystemCredentials.ftp.password FTP password. Default empty string. * @property {string} filesystemCredentials.ftp.connectionType Type of FTP connection. 'ssh', 'ftp', or 'ftps'. * Default empty string. * @property {Object} filesystemCredentials.ssh Holds SSH credentials. * @property {string} filesystemCredentials.ssh.publicKey The public key. Default empty string. * @property {string} filesystemCredentials.ssh.privateKey The private key. Default empty string. * @property {string} filesystemCredentials.fsNonce Filesystem credentials form nonce. * @property {bool} filesystemCredentials.available Whether filesystem credentials have been provided. * Default 'false'. */ wp.updates.filesystemCredentials = { ftp: { host: '', username: '', password: '', connectionType: '' }, ssh: { publicKey: '', privateKey: '' }, fsNonce: '', available: false }; /** * Whether we're waiting for an Ajax request to complete. * * @since 4.2.0 * @since 4.6.0 More accurately named `ajaxLocked`. * * @type {bool} */ wp.updates.ajaxLocked = false; /** * Admin notice template. * * @since 4.6.0 * * @type {function} */ wp.updates.adminNotice = wp.template( 'wp-updates-admin-notice' ); /** * Update queue. * * If the user tries to update a plugin while an update is * already happening, it can be placed in this queue to perform later. * * @since 4.2.0 * @since 4.6.0 More accurately named `queue`. * * @type {Array.object} */ wp.updates.queue = []; /** * Holds a jQuery reference to return focus to when exiting the request credentials modal. * * @since 4.2.0 * * @type {jQuery} */ wp.updates.$elToReturnFocusToFromCredentialsModal = undefined; /** * Adds or updates an admin notice. * * @since 4.6.0 * * @param {Object} data * @param {*=} data.selector Optional. Selector of an element to be replaced with the admin notice. * @param {string=} data.id Optional. Unique id that will be used as the notice's id attribute. * @param {string=} data.className Optional. Class names that will be used in the admin notice. * @param {string=} data.message Optional. The message displayed in the notice. * @param {number=} data.successes Optional. The amount of successful operations. * @param {number=} data.errors Optional. The amount of failed operations. * @param {Array=} data.errorMessages Optional. Error messages of failed operations. * */ wp.updates.addAdminNotice = function( data ) { var $notice = $( data.selector ), $headerEnd = $( '.wp-header-end' ), $adminNotice; delete data.selector; $adminNotice = wp.updates.adminNotice( data ); // Check if this admin notice already exists. if ( ! $notice.length ) { $notice = $( '#' + data.id ); } if ( $notice.length ) { $notice.replaceWith( $adminNotice ); } else if ( $headerEnd.length ) { $headerEnd.after( $adminNotice ); } else { if ( 'customize' === pagenow ) { $( '.customize-themes-notifications' ).append( $adminNotice ); } else { $( '.wrap' ).find( '> h1' ).after( $adminNotice ); } } $document.trigger( 'wp-updates-notice-added' ); }; /** * Handles Ajax requests to WordPress. * * @since 4.6.0 * * @param {string} action The type of Ajax request ('update-plugin', 'install-theme', etc). * @param {Object} data Data that needs to be passed to the ajax callback. * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.ajax = function( action, data ) { var options = {}; if ( wp.updates.ajaxLocked ) { wp.updates.queue.push( { action: action, data: data } ); // Return a Deferred object so callbacks can always be registered. return $.Deferred(); } wp.updates.ajaxLocked = true; if ( data.success ) { options.success = data.success; delete data.success; } if ( data.error ) { options.error = data.error; delete data.error; } options.data = _.extend( data, { action: action, _ajax_nonce: wp.updates.ajaxNonce, _fs_nonce: wp.updates.filesystemCredentials.fsNonce, username: wp.updates.filesystemCredentials.ftp.username, password: wp.updates.filesystemCredentials.ftp.password, hostname: wp.updates.filesystemCredentials.ftp.hostname, connection_type: wp.updates.filesystemCredentials.ftp.connectionType, public_key: wp.updates.filesystemCredentials.ssh.publicKey, private_key: wp.updates.filesystemCredentials.ssh.privateKey } ); return wp.ajax.send( options ).always( wp.updates.ajaxAlways ); }; /** * Actions performed after every Ajax request. * * @since 4.6.0 * * @param {Object} response * @param {Array=} response.debug Optional. Debug information. * @param {string=} response.errorCode Optional. Error code for an error that occurred. */ wp.updates.ajaxAlways = function( response ) { if ( ! response.errorCode || 'unable_to_connect_to_filesystem' !== response.errorCode ) { wp.updates.ajaxLocked = false; wp.updates.queueChecker(); } if ( 'undefined' !== typeof response.debug && window.console && window.console.log ) { _.map( response.debug, function( message ) { // Remove all HTML tags and write a message to the console. window.console.log( wp.sanitize.stripTagsAndEncodeText( message ) ); } ); } }; /** * Refreshes update counts everywhere on the screen. * * @since 4.7.0 */ wp.updates.refreshCount = function() { var $adminBarUpdates = $( '#wp-admin-bar-updates' ), $dashboardNavMenuUpdateCount = $( 'a[href="update-core.php"] .update-plugins' ), $pluginsNavMenuUpdateCount = $( 'a[href="plugins.php"] .update-plugins' ), $appearanceNavMenuUpdateCount = $( 'a[href="themes.php"] .update-plugins' ), itemCount; $adminBarUpdates.find( '.ab-label' ).text( settings.totals.counts.total ); $adminBarUpdates.find( '.updates-available-text' ).text( sprintf( /* translators: %s: Total number of updates available. */ _n( '%s update available', '%s updates available', settings.totals.counts.total ), settings.totals.counts.total ) ); // Remove the update count from the toolbar if it's zero. if ( 0 === settings.totals.counts.total ) { $adminBarUpdates.find( '.ab-label' ).parents( 'li' ).remove(); } // Update the "Updates" menu item. $dashboardNavMenuUpdateCount.each( function( index, element ) { element.className = element.className.replace( /count-\d+/, 'count-' + settings.totals.counts.total ); } ); if ( settings.totals.counts.total > 0 ) { $dashboardNavMenuUpdateCount.find( '.update-count' ).text( settings.totals.counts.total ); } else { $dashboardNavMenuUpdateCount.remove(); } // Update the "Plugins" menu item. $pluginsNavMenuUpdateCount.each( function( index, element ) { element.className = element.className.replace( /count-\d+/, 'count-' + settings.totals.counts.plugins ); } ); if ( settings.totals.counts.total > 0 ) { $pluginsNavMenuUpdateCount.find( '.plugin-count' ).text( settings.totals.counts.plugins ); } else { $pluginsNavMenuUpdateCount.remove(); } // Update the "Appearance" menu item. $appearanceNavMenuUpdateCount.each( function( index, element ) { element.className = element.className.replace( /count-\d+/, 'count-' + settings.totals.counts.themes ); } ); if ( settings.totals.counts.total > 0 ) { $appearanceNavMenuUpdateCount.find( '.theme-count' ).text( settings.totals.counts.themes ); } else { $appearanceNavMenuUpdateCount.remove(); } // Update list table filter navigation. if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { itemCount = settings.totals.counts.plugins; } else if ( 'themes' === pagenow || 'themes-network' === pagenow ) { itemCount = settings.totals.counts.themes; } if ( itemCount > 0 ) { $( '.subsubsub .upgrade .count' ).text( '(' + itemCount + ')' ); } else { $( '.subsubsub .upgrade' ).remove(); $( '.subsubsub li:last' ).html( function() { return $( this ).children(); } ); } }; /** * Sends a message from a modal to the main screen to update buttons in plugin cards. * * @since 6.5.0 * * @param {Object} data An object of data to use for the button. * @param {string} data.slug The plugin's slug. * @param {string} data.text The text to use for the button. * @param {string} data.ariaLabel The value for the button's aria-label attribute. An empty string removes the attribute. * @param {string=} data.status Optional. An identifier for the status. * @param {string=} data.removeClasses Optional. A space-separated list of classes to remove from the button. * @param {string=} data.addClasses Optional. A space-separated list of classes to add to the button. * @param {string=} data.href Optional. The button's URL. * @param {string=} data.pluginName Optional. The plugin's name. * @param {string=} data.plugin Optional. The plugin file, relative to the plugins directory. */ wp.updates.setCardButtonStatus = function( data ) { var target = window.parent === window ? null : window.parent; $.support.postMessage = !! window.postMessage; if ( false !== $.support.postMessage && null !== target && -1 === window.parent.location.pathname.indexOf( 'index.php' ) ) { target.postMessage( JSON.stringify( data ), window.location.origin ); } }; /** * Decrements the update counts throughout the various menus. * * This includes the toolbar, the "Updates" menu item and the menu items * for plugins and themes. * * @since 3.9.0 * * @param {string} type The type of item that was updated or deleted. * Can be 'plugin', 'theme'. */ wp.updates.decrementCount = function( type ) { settings.totals.counts.total = Math.max( --settings.totals.counts.total, 0 ); if ( 'plugin' === type ) { settings.totals.counts.plugins = Math.max( --settings.totals.counts.plugins, 0 ); } else if ( 'theme' === type ) { settings.totals.counts.themes = Math.max( --settings.totals.counts.themes, 0 ); } wp.updates.refreshCount( type ); }; /** * Sends an Ajax request to the server to update a plugin. * * @since 4.2.0 * @since 4.6.0 More accurately named `updatePlugin`. * * @param {Object} args Arguments. * @param {string} args.plugin Plugin basename. * @param {string} args.slug Plugin slug. * @param {updatePluginSuccess=} args.success Optional. Success callback. Default: wp.updates.updatePluginSuccess * @param {updatePluginError=} args.error Optional. Error callback. Default: wp.updates.updatePluginError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.updatePlugin = function( args ) { var $updateRow, $card, $message, message, $adminBarUpdates = $( '#wp-admin-bar-updates' ), buttonText = __( 'Updating...' ), isPluginInstall = 'plugin-install' === pagenow || 'plugin-install-network' === pagenow; args = _.extend( { success: wp.updates.updatePluginSuccess, error: wp.updates.updatePluginError }, args ); if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { $updateRow = $( 'tr[data-plugin="' + args.plugin + '"]' ); $message = $updateRow.find( '.update-message' ).removeClass( 'notice-error' ).addClass( 'updating-message notice-warning' ).find( 'p' ); message = sprintf( /* translators: %s: Plugin name and version. */ _x( 'Updating %s...', 'plugin' ), $updateRow.find( '.plugin-title strong' ).text() ); } else if ( isPluginInstall ) { $card = $( '.plugin-card-' + args.slug + ', #plugin-information-footer' ); $message = $card.find( '.update-now' ).addClass( 'updating-message' ); message = sprintf( /* translators: %s: Plugin name and version. */ _x( 'Updating %s...', 'plugin' ), $message.data( 'name' ) ); // Remove previous error messages, if any. $card.removeClass( 'plugin-card-update-failed' ).find( '.notice.notice-error' ).remove(); } $adminBarUpdates.addClass( 'spin' ); if ( $message.html() !== __( 'Updating...' ) ) { $message.data( 'originaltext', $message.html() ); } $message .attr( 'aria-label', message ) .text( buttonText ); $document.trigger( 'wp-plugin-updating', args ); if ( isPluginInstall && 'plugin-information-footer' === $card.attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'updating-plugin', slug: args.slug, addClasses: 'updating-message', text: buttonText, ariaLabel: message } ); } return wp.updates.ajax( 'update-plugin', args ); }; /** * Updates the UI appropriately after a successful plugin update. * * @since 4.2.0 * @since 4.6.0 More accurately named `updatePluginSuccess`. * @since 5.5.0 Auto-update "time to next update" text cleared. * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be updated. * @param {string} response.plugin Basename of the plugin to be updated. * @param {string} response.pluginName Name of the plugin to be updated. * @param {string} response.oldVersion Old version of the plugin. * @param {string} response.newVersion New version of the plugin. */ wp.updates.updatePluginSuccess = function( response ) { var $pluginRow, $updateMessage, newText, $adminBarUpdates = $( '#wp-admin-bar-updates' ), buttonText = _x( 'Updated!', 'plugin' ), ariaLabel = sprintf( /* translators: %s: Plugin name and version. */ _x( '%s updated!', 'plugin' ), response.pluginName ); if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { $pluginRow = $( 'tr[data-plugin="' + response.plugin + '"]' ) .removeClass( 'update is-enqueued' ) .addClass( 'updated' ); $updateMessage = $pluginRow.find( '.update-message' ) .removeClass( 'updating-message notice-warning' ) .addClass( 'updated-message notice-success' ).find( 'p' ); // Update the version number in the row. newText = $pluginRow.find( '.plugin-version-author-uri' ).html().replace( response.oldVersion, response.newVersion ); $pluginRow.find( '.plugin-version-author-uri' ).html( newText ); // Clear the "time to next auto-update" text. $pluginRow.find( '.auto-update-time' ).empty(); } else if ( 'plugin-install' === pagenow || 'plugin-install-network' === pagenow ) { $updateMessage = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.update-now' ) .removeClass( 'updating-message' ) .addClass( 'button-disabled updated-message' ); } $adminBarUpdates.removeClass( 'spin' ); $updateMessage .attr( 'aria-label', ariaLabel ) .text( buttonText ); wp.a11y.speak( __( 'Update completed successfully.' ) ); if ( 'plugin_install_from_iframe' !== $updateMessage.attr( 'id' ) ) { wp.updates.decrementCount( 'plugin' ); } else { wp.updates.setCardButtonStatus( { status: 'updated-plugin', slug: response.slug, removeClasses: 'updating-message', addClasses: 'button-disabled updated-message', text: buttonText, ariaLabel: ariaLabel } ); } $document.trigger( 'wp-plugin-update-success', response ); }; /** * Updates the UI appropriately after a failed plugin update. * * @since 4.2.0 * @since 4.6.0 More accurately named `updatePluginError`. * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be updated. * @param {string} response.plugin Basename of the plugin to be updated. * @param {string=} response.pluginName Optional. Name of the plugin to be updated. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.updatePluginError = function( response ) { var $pluginRow, $card, $message, errorMessage, buttonText, ariaLabel, $adminBarUpdates = $( '#wp-admin-bar-updates' ); if ( ! wp.updates.isValidResponse( response, 'update' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'update-plugin' ) ) { return; } errorMessage = sprintf( /* translators: %s: Error string for a failed update. */ __( 'Update failed: %s' ), response.errorMessage ); if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { $pluginRow = $( 'tr[data-plugin="' + response.plugin + '"]' ).removeClass( 'is-enqueued' ); if ( response.plugin ) { $message = $( 'tr[data-plugin="' + response.plugin + '"]' ).find( '.update-message' ); } else { $message = $( 'tr[data-slug="' + response.slug + '"]' ).find( '.update-message' ); } $message.removeClass( 'updating-message notice-warning' ).addClass( 'notice-error' ).find( 'p' ).html( errorMessage ); if ( response.pluginName ) { $message.find( 'p' ) .attr( 'aria-label', sprintf( /* translators: %s: Plugin name and version. */ _x( '%s update failed.', 'plugin' ), response.pluginName ) ); } else { $message.find( 'p' ).removeAttr( 'aria-label' ); } } else if ( 'plugin-install' === pagenow || 'plugin-install-network' === pagenow ) { buttonText = __( 'Update failed.' ); $card = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ) .append( wp.updates.adminNotice( { className: 'update-message notice-error notice-alt is-dismissible', message: errorMessage } ) ); if ( $card.hasClass( 'plugin-card-' + response.slug ) ) { $card.addClass( 'plugin-card-update-failed' ); } $card.find( '.update-now' ) .text( buttonText ) .removeClass( 'updating-message' ); if ( response.pluginName ) { ariaLabel = sprintf( /* translators: %s: Plugin name and version. */ _x( '%s update failed.', 'plugin' ), response.pluginName ); $card.find( '.update-now' ).attr( 'aria-label', ariaLabel ); } else { ariaLabel = ''; $card.find( '.update-now' ).removeAttr( 'aria-label' ); } $card.on( 'click', '.notice.is-dismissible .notice-dismiss', function() { // Use same delay as the total duration of the notice fadeTo + slideUp animation. setTimeout( function() { $card .removeClass( 'plugin-card-update-failed' ) .find( '.column-name a' ).trigger( 'focus' ); $card.find( '.update-now' ) .attr( 'aria-label', false ) .text( __( 'Update Now' ) ); }, 200 ); } ); } $adminBarUpdates.removeClass( 'spin' ); wp.a11y.speak( errorMessage, 'assertive' ); if ( 'plugin-information-footer' === $card.attr('id' ) ) { wp.updates.setCardButtonStatus( { status: 'plugin-update-failed', slug: response.slug, removeClasses: 'updating-message', text: buttonText, ariaLabel: ariaLabel } ); } $document.trigger( 'wp-plugin-update-error', response ); }; /** * Sends an Ajax request to the server to install a plugin. * * @since 4.6.0 * * @param {Object} args Arguments. * @param {string} args.slug Plugin identifier in the WordPress.org Plugin repository. * @param {installPluginSuccess=} args.success Optional. Success callback. Default: wp.updates.installPluginSuccess * @param {installPluginError=} args.error Optional. Error callback. Default: wp.updates.installPluginError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.installPlugin = function( args ) { var $card = $( '.plugin-card-' + args.slug + ', #plugin-information-footer' ), $message = $card.find( '.install-now' ), buttonText = __( 'Installing...' ), ariaLabel; args = _.extend( { success: wp.updates.installPluginSuccess, error: wp.updates.installPluginError }, args ); if ( 'import' === pagenow ) { $message = $( '[data-slug="' + args.slug + '"]' ); } if ( $message.html() !== __( 'Installing...' ) ) { $message.data( 'originaltext', $message.html() ); } ariaLabel = sprintf( /* translators: %s: Plugin name and version. */ _x( 'Installing %s...', 'plugin' ), $message.data( 'name' ) ); $message .addClass( 'updating-message' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); wp.a11y.speak( __( 'Installing... please wait.' ) ); // Remove previous error messages, if any. $card.removeClass( 'plugin-card-install-failed' ).find( '.notice.notice-error' ).remove(); $document.trigger( 'wp-plugin-installing', args ); if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'installing-plugin', slug: args.slug, addClasses: 'updating-message', text: buttonText, ariaLabel: ariaLabel } ); } return wp.updates.ajax( 'install-plugin', args ); }; /** * Updates the UI appropriately after a successful plugin install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the installed plugin. * @param {string} response.pluginName Name of the installed plugin. * @param {string} response.activateUrl URL to activate the just installed plugin. */ wp.updates.installPluginSuccess = function( response ) { var $message = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.install-now' ), buttonText = _x( 'Installed!', 'plugin' ), ariaLabel = sprintf( /* translators: %s: Plugin name and version. */ _x( '%s installed!', 'plugin' ), response.pluginName ); $message .removeClass( 'updating-message' ) .addClass( 'updated-message installed button-disabled' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); wp.a11y.speak( __( 'Installation completed successfully.' ) ); $document.trigger( 'wp-plugin-install-success', response ); if ( response.activateUrl ) { setTimeout( function() { wp.updates.checkPluginDependencies( { slug: response.slug } ); }, 1000 ); } if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'installed-plugin', slug: response.slug, removeClasses: 'updating-message', addClasses: 'updated-message installed button-disabled', text: buttonText, ariaLabel: ariaLabel } ); } }; /** * Updates the UI appropriately after a failed plugin install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be installed. * @param {string=} response.pluginName Optional. Name of the plugin to be installed. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.installPluginError = function( response ) { var $card = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ), $button = $card.find( '.install-now' ), buttonText = __( 'Installation failed.' ), ariaLabel = sprintf( /* translators: %s: Plugin name and version. */ _x( '%s installation failed', 'plugin' ), $button.data( 'name' ) ), errorMessage; if ( ! wp.updates.isValidResponse( response, 'install' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'install-plugin' ) ) { return; } errorMessage = sprintf( /* translators: %s: Error string for a failed installation. */ __( 'Installation failed: %s' ), response.errorMessage ); $card .addClass( 'plugin-card-update-failed' ) .append( '<div class="notice notice-error notice-alt is-dismissible" role="alert"><p>' + errorMessage + '</p></div>' ); $card.on( 'click', '.notice.is-dismissible .notice-dismiss', function() { // Use same delay as the total duration of the notice fadeTo + slideUp animation. setTimeout( function() { $card .removeClass( 'plugin-card-update-failed' ) .find( '.column-name a' ).trigger( 'focus' ); }, 200 ); } ); $button .removeClass( 'updating-message' ).addClass( 'button-disabled' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); wp.a11y.speak( errorMessage, 'assertive' ); wp.updates.setCardButtonStatus( { status: 'plugin-install-failed', slug: response.slug, removeClasses: 'updating-message', addClasses: 'button-disabled', text: buttonText, ariaLabel: ariaLabel } ); $document.trigger( 'wp-plugin-install-error', response ); }; /** * Sends an Ajax request to the server to check a plugin's dependencies. * * @since 6.5.0 * * @param {Object} args Arguments. * @param {string} args.slug Plugin identifier in the WordPress.org Plugin repository. * @param {checkPluginDependenciesSuccess=} args.success Optional. Success callback. Default: wp.updates.checkPluginDependenciesSuccess * @param {checkPluginDependenciesError=} args.error Optional. Error callback. Default: wp.updates.checkPluginDependenciesError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.checkPluginDependencies = function( args ) { args = _.extend( { success: wp.updates.checkPluginDependenciesSuccess, error: wp.updates.checkPluginDependenciesError }, args ); wp.a11y.speak( __( 'Checking plugin dependencies... please wait.' ) ); $document.trigger( 'wp-checking-plugin-dependencies', args ); return wp.updates.ajax( 'check_plugin_dependencies', args ); }; /** * Updates the UI appropriately after a successful plugin dependencies check. * * @since 6.5.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the checked plugin. * @param {string} response.pluginName Name of the checked plugin. * @param {string} response.plugin The plugin file, relative to the plugins directory. * @param {string} response.activateUrl URL to activate the just checked plugin. */ wp.updates.checkPluginDependenciesSuccess = function( response ) { var $message = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.install-now' ), buttonText, ariaLabel; // Transform the 'Install' button into an 'Activate' button. $message .removeClass( 'install-now installed button-disabled updated-message' ) .addClass( 'activate-now button-primary' ) .attr( 'href', response.activateUrl ); wp.a11y.speak( __( 'Plugin dependencies check completed successfully.' ) ); $document.trigger( 'wp-check-plugin-dependencies-success', response ); if ( 'plugins-network' === pagenow || 'plugin-install-network' === pagenow ) { buttonText = _x( 'Network Activate', 'plugin' ); ariaLabel = sprintf( /* translators: %s: Plugin name. */ _x( 'Network Activate %s', 'plugin' ), response.pluginName ); $message .attr( 'aria-label', ariaLabel ) .text( buttonText ); } else { buttonText = _x( 'Activate', 'plugin' ); ariaLabel = sprintf( /* translators: %s: Plugin name. */ _x( 'Activate %s', 'plugin' ), response.pluginName ); $message .attr( 'aria-label', ariaLabel ) .attr( 'data-name', response.pluginName ) .attr( 'data-slug', response.slug ) .attr( 'data-plugin', response.plugin ) .text( buttonText ); } if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'dependencies-check-success', slug: response.slug, removeClasses: 'install-now installed button-disabled updated-message', addClasses: 'activate-now button-primary', text: buttonText, ariaLabel: ariaLabel, pluginName: response.pluginName, plugin: response.plugin, href: response.activateUrl } ); } }; /** * Updates the UI appropriately after a failed plugin dependencies check. * * @since 6.5.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be checked. * @param {string=} response.pluginName Optional. Name of the plugin to be checked. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.checkPluginDependenciesError = function( response ) { var $message = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.install-now' ), buttonText = _x( 'Activate', 'plugin' ), ariaLabel = sprintf( /* translators: 1: Plugin name, 2. The reason the plugin cannot be activated. */ _x( 'Cannot activate %1$s. %2$s', 'plugin' ), response.pluginName, response.errorMessage ), errorMessage; if ( ! wp.updates.isValidResponse( response, 'check-dependencies' ) ) { return; } errorMessage = sprintf( /* translators: %s: Error string for a failed activation. */ __( 'Activation failed: %s' ), response.errorMessage ); wp.a11y.speak( errorMessage, 'assertive' ); $document.trigger( 'wp-check-plugin-dependencies-error', response ); $message .removeClass( 'install-now installed updated-message' ) .addClass( 'activate-now button-primary' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); if ( 'plugin-information-footer' === $message.parent().attr('id' ) ) { wp.updates.setCardButtonStatus( { status: 'dependencies-check-failed', slug: response.slug, removeClasses: 'install-now installed updated-message', addClasses: 'activate-now button-primary', text: buttonText, ariaLabel: ariaLabel } ); } }; /** * Sends an Ajax request to the server to activate a plugin. * * @since 6.5.0 * * @param {Object} args Arguments. * @param {string} args.name The name of the plugin. * @param {string} args.slug Plugin identifier in the WordPress.org Plugin repository. * @param {string} args.plugin The plugin file, relative to the plugins directory. * @param {activatePluginSuccess=} args.success Optional. Success callback. Default: wp.updates.activatePluginSuccess * @param {activatePluginError=} args.error Optional. Error callback. Default: wp.updates.activatePluginError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.activatePlugin = function( args ) { var $message = $( '.plugin-card-' + args.slug + ', #plugin-information-footer' ).find( '.activate-now, .activating-message' ); args = _.extend( { success: wp.updates.activatePluginSuccess, error: wp.updates.activatePluginError }, args ); wp.a11y.speak( __( 'Activating... please wait.' ) ); $document.trigger( 'wp-activating-plugin', args ); if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'activating-plugin', slug: args.slug, removeClasses: 'installed updated-message button-primary', addClasses: 'activating-message', text: __( 'Activating...' ), ariaLabel: sprintf( /* translators: %s: Plugin name. */ _x( 'Activating %s', 'plugin' ), args.name ) } ); } return wp.updates.ajax( 'activate-plugin', args ); }; /** * Updates the UI appropriately after a successful plugin activation. * * @since 6.5.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the activated plugin. * @param {string} response.pluginName Name of the activated plugin. * @param {string} response.plugin The plugin file, relative to the plugins directory. */ wp.updates.activatePluginSuccess = function( response ) { var $message = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.activating-message' ), buttonText = _x( 'Activated!', 'plugin' ), ariaLabel = sprintf( /* translators: %s: The plugin name. */ '%s activated successfully.', response.pluginName ); wp.a11y.speak( __( 'Activation completed successfully.' ) ); $document.trigger( 'wp-plugin-activate-success', response ); $message .removeClass( 'activating-message' ) .addClass( 'activated-message button-disabled' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'activated-plugin', slug: response.slug, removeClasses: 'activating-message', addClasses: 'activated-message button-disabled', text: buttonText, ariaLabel: ariaLabel } ); } setTimeout( function() { $message.removeClass( 'activated-message' ) .text( _x( 'Active', 'plugin' ) ); if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'plugin-active', slug: response.slug, removeClasses: 'activated-message', text: _x( 'Active', 'plugin' ), ariaLabel: sprintf( /* translators: %s: The plugin name. */ '%s is active.', response.pluginName ) } ); } }, 1000 ); }; /** * Updates the UI appropriately after a failed plugin activation. * * @since 6.5.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be activated. * @param {string=} response.pluginName Optional. Name of the plugin to be activated. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.activatePluginError = function( response ) { var $message = $( '.plugin-card-' + response.slug + ', #plugin-information-footer' ).find( '.activating-message' ), buttonText = __( 'Activation failed.' ), ariaLabel = sprintf( /* translators: %s: Plugin name. */ _x( '%s activation failed', 'plugin' ), response.pluginName ), errorMessage; if ( ! wp.updates.isValidResponse( response, 'activate' ) ) { return; } errorMessage = sprintf( /* translators: %s: Error string for a failed activation. */ __( 'Activation failed: %s' ), response.errorMessage ); wp.a11y.speak( errorMessage, 'assertive' ); $document.trigger( 'wp-plugin-activate-error', response ); $message .removeClass( 'install-now installed activating-message' ) .addClass( 'button-disabled' ) .attr( 'aria-label', ariaLabel ) .text( buttonText ); if ( 'plugin-information-footer' === $message.parent().attr( 'id' ) ) { wp.updates.setCardButtonStatus( { status: 'plugin-activation-failed', slug: response.slug, removeClasses: 'install-now installed activating-message', addClasses: 'button-disabled', text: buttonText, ariaLabel: ariaLabel } ); } }; /** * Updates the UI appropriately after a successful importer install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the installed plugin. * @param {string} response.pluginName Name of the installed plugin. * @param {string} response.activateUrl URL to activate the just installed plugin. */ wp.updates.installImporterSuccess = function( response ) { wp.updates.addAdminNotice( { id: 'install-success', className: 'notice-success is-dismissible', message: sprintf( /* translators: %s: Activation URL. */ __( 'Importer installed successfully. <a href="%s">Run importer</a>' ), response.activateUrl + '&from=import' ) } ); $( '[data-slug="' + response.slug + '"]' ) .removeClass( 'install-now updating-message' ) .addClass( 'activate-now' ) .attr({ 'href': response.activateUrl + '&from=import', 'aria-label':sprintf( /* translators: %s: Importer name. */ __( 'Run %s' ), response.pluginName ) }) .text( __( 'Run Importer' ) ); wp.a11y.speak( __( 'Installation completed successfully.' ) ); $document.trigger( 'wp-importer-install-success', response ); }; /** * Updates the UI appropriately after a failed importer install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be installed. * @param {string=} response.pluginName Optional. Name of the plugin to be installed. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.installImporterError = function( response ) { var errorMessage = sprintf( /* translators: %s: Error string for a failed installation. */ __( 'Installation failed: %s' ), response.errorMessage ), $installLink = $( '[data-slug="' + response.slug + '"]' ), pluginName = $installLink.data( 'name' ); if ( ! wp.updates.isValidResponse( response, 'install' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'install-plugin' ) ) { return; } wp.updates.addAdminNotice( { id: response.errorCode, className: 'notice-error is-dismissible', message: errorMessage } ); $installLink .removeClass( 'updating-message' ) .attr( 'aria-label', sprintf( /* translators: %s: Plugin name. */ _x( 'Install %s now', 'plugin' ), pluginName ) ) .text( _x( 'Install Now', 'plugin' ) ); wp.a11y.speak( errorMessage, 'assertive' ); $document.trigger( 'wp-importer-install-error', response ); }; /** * Sends an Ajax request to the server to delete a plugin. * * @since 4.6.0 * * @param {Object} args Arguments. * @param {string} args.plugin Basename of the plugin to be deleted. * @param {string} args.slug Slug of the plugin to be deleted. * @param {deletePluginSuccess=} args.success Optional. Success callback. Default: wp.updates.deletePluginSuccess * @param {deletePluginError=} args.error Optional. Error callback. Default: wp.updates.deletePluginError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.deletePlugin = function( args ) { var $link = $( '[data-plugin="' + args.plugin + '"]' ).find( '.row-actions a.delete' ); args = _.extend( { success: wp.updates.deletePluginSuccess, error: wp.updates.deletePluginError }, args ); if ( $link.html() !== __( 'Deleting...' ) ) { $link .data( 'originaltext', $link.html() ) .text( __( 'Deleting...' ) ); } wp.a11y.speak( __( 'Deleting...' ) ); $document.trigger( 'wp-plugin-deleting', args ); return wp.updates.ajax( 'delete-plugin', args ); }; /** * Updates the UI appropriately after a successful plugin deletion. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin that was deleted. * @param {string} response.plugin Base name of the plugin that was deleted. * @param {string} response.pluginName Name of the plugin that was deleted. */ wp.updates.deletePluginSuccess = function( response ) { // Removes the plugin and updates rows. $( '[data-plugin="' + response.plugin + '"]' ).css( { backgroundColor: '#faafaa' } ).fadeOut( 350, function() { var $form = $( '#bulk-action-form' ), $views = $( '.subsubsub' ), $pluginRow = $( this ), $currentView = $views.find( '[aria-current="page"]' ), $itemsCount = $( '.displaying-num' ), columnCount = $form.find( 'thead th:not(.hidden), thead td' ).length, pluginDeletedRow = wp.template( 'item-deleted-row' ), /** * Plugins Base names of plugins in their different states. * * @type {Object} */ plugins = settings.plugins, remainingCount; // Add a success message after deleting a plugin. if ( ! $pluginRow.hasClass( 'plugin-update-tr' ) ) { $pluginRow.after( pluginDeletedRow( { slug: response.slug, plugin: response.plugin, colspan: columnCount, name: response.pluginName } ) ); } $pluginRow.remove(); // Remove plugin from update count. if ( -1 !== _.indexOf( plugins.upgrade, response.plugin ) ) { plugins.upgrade = _.without( plugins.upgrade, response.plugin ); wp.updates.decrementCount( 'plugin' ); } // Remove from views. if ( -1 !== _.indexOf( plugins.inactive, response.plugin ) ) { plugins.inactive = _.without( plugins.inactive, response.plugin ); if ( plugins.inactive.length ) { $views.find( '.inactive .count' ).text( '(' + plugins.inactive.length + ')' ); } else { $views.find( '.inactive' ).remove(); } } if ( -1 !== _.indexOf( plugins.active, response.plugin ) ) { plugins.active = _.without( plugins.active, response.plugin ); if ( plugins.active.length ) { $views.find( '.active .count' ).text( '(' + plugins.active.length + ')' ); } else { $views.find( '.active' ).remove(); } } if ( -1 !== _.indexOf( plugins.recently_activated, response.plugin ) ) { plugins.recently_activated = _.without( plugins.recently_activated, response.plugin ); if ( plugins.recently_activated.length ) { $views.find( '.recently_activated .count' ).text( '(' + plugins.recently_activated.length + ')' ); } else { $views.find( '.recently_activated' ).remove(); } } if ( -1 !== _.indexOf( plugins['auto-update-enabled'], response.plugin ) ) { plugins['auto-update-enabled'] = _.without( plugins['auto-update-enabled'], response.plugin ); if ( plugins['auto-update-enabled'].length ) { $views.find( '.auto-update-enabled .count' ).text( '(' + plugins['auto-update-enabled'].length + ')' ); } else { $views.find( '.auto-update-enabled' ).remove(); } } if ( -1 !== _.indexOf( plugins['auto-update-disabled'], response.plugin ) ) { plugins['auto-update-disabled'] = _.without( plugins['auto-update-disabled'], response.plugin ); if ( plugins['auto-update-disabled'].length ) { $views.find( '.auto-update-disabled .count' ).text( '(' + plugins['auto-update-disabled'].length + ')' ); } else { $views.find( '.auto-update-disabled' ).remove(); } } plugins.all = _.without( plugins.all, response.plugin ); if ( plugins.all.length ) { $views.find( '.all .count' ).text( '(' + plugins.all.length + ')' ); } else { $form.find( '.tablenav' ).css( { visibility: 'hidden' } ); $views.find( '.all' ).remove(); if ( ! $form.find( 'tr.no-items' ).length ) { $form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'No plugins are currently available.' ) + '</td></tr>' ); } } if ( $itemsCount.length && $currentView.length ) { remainingCount = plugins[ $currentView.parent( 'li' ).attr('class') ].length; $itemsCount.text( sprintf( /* translators: %s: The remaining number of plugins. */ _nx( '%s item', '%s items', remainingCount, 'plugin/plugins' ), remainingCount ) ); } } ); wp.a11y.speak( _x( 'Deleted!', 'plugin' ) ); $document.trigger( 'wp-plugin-delete-success', response ); }; /** * Updates the UI appropriately after a failed plugin deletion. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the plugin to be deleted. * @param {string} response.plugin Base name of the plugin to be deleted * @param {string=} response.pluginName Optional. Name of the plugin to be deleted. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.deletePluginError = function( response ) { var $plugin, $pluginUpdateRow, pluginUpdateRow = wp.template( 'item-update-row' ), noticeContent = wp.updates.adminNotice( { className: 'update-message notice-error notice-alt', message: response.errorMessage } ); if ( response.plugin ) { $plugin = $( 'tr.inactive[data-plugin="' + response.plugin + '"]' ); $pluginUpdateRow = $plugin.siblings( '[data-plugin="' + response.plugin + '"]' ); } else { $plugin = $( 'tr.inactive[data-slug="' + response.slug + '"]' ); $pluginUpdateRow = $plugin.siblings( '[data-slug="' + response.slug + '"]' ); } if ( ! wp.updates.isValidResponse( response, 'delete' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'delete-plugin' ) ) { return; } // Add a plugin update row if it doesn't exist yet. if ( ! $pluginUpdateRow.length ) { $plugin.addClass( 'update' ).after( pluginUpdateRow( { slug: response.slug, plugin: response.plugin || response.slug, colspan: $( '#bulk-action-form' ).find( 'thead th:not(.hidden), thead td' ).length, content: noticeContent } ) ); } else { // Remove previous error messages, if any. $pluginUpdateRow.find( '.notice-error' ).remove(); $pluginUpdateRow.find( '.plugin-update' ).append( noticeContent ); } $document.trigger( 'wp-plugin-delete-error', response ); }; /** * Sends an Ajax request to the server to update a theme. * * @since 4.6.0 * * @param {Object} args Arguments. * @param {string} args.slug Theme stylesheet. * @param {updateThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.updateThemeSuccess * @param {updateThemeError=} args.error Optional. Error callback. Default: wp.updates.updateThemeError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.updateTheme = function( args ) { var $notice; args = _.extend( { success: wp.updates.updateThemeSuccess, error: wp.updates.updateThemeError }, args ); if ( 'themes-network' === pagenow ) { $notice = $( '[data-slug="' + args.slug + '"]' ).find( '.update-message' ).removeClass( 'notice-error' ).addClass( 'updating-message notice-warning' ).find( 'p' ); } else if ( 'customize' === pagenow ) { // Update the theme details UI. $notice = $( '[data-slug="' + args.slug + '"].notice' ).removeClass( 'notice-large' ); $notice.find( 'h3' ).remove(); // Add the top-level UI, and update both. $notice = $notice.add( $( '#customize-control-installed_theme_' + args.slug ).find( '.update-message' ) ); $notice = $notice.addClass( 'updating-message' ).find( 'p' ); } else { $notice = $( '#update-theme' ).closest( '.notice' ).removeClass( 'notice-large' ); $notice.find( 'h3' ).remove(); $notice = $notice.add( $( '[data-slug="' + args.slug + '"]' ).find( '.update-message' ) ); $notice = $notice.addClass( 'updating-message' ).find( 'p' ); } if ( $notice.html() !== __( 'Updating...' ) ) { $notice.data( 'originaltext', $notice.html() ); } wp.a11y.speak( __( 'Updating... please wait.' ) ); $notice.text( __( 'Updating...' ) ); $document.trigger( 'wp-theme-updating', args ); return wp.updates.ajax( 'update-theme', args ); }; /** * Updates the UI appropriately after a successful theme update. * * @since 4.6.0 * @since 5.5.0 Auto-update "time to next update" text cleared. * * @param {Object} response * @param {string} response.slug Slug of the theme to be updated. * @param {Object} response.theme Updated theme. * @param {string} response.oldVersion Old version of the theme. * @param {string} response.newVersion New version of the theme. */ wp.updates.updateThemeSuccess = function( response ) { var isModalOpen = $( 'body.modal-open' ).length, $theme = $( '[data-slug="' + response.slug + '"]' ), updatedMessage = { className: 'updated-message notice-success notice-alt', message: _x( 'Updated!', 'theme' ) }, $notice, newText; if ( 'customize' === pagenow ) { $theme = $( '.updating-message' ).siblings( '.theme-name' ); if ( $theme.length ) { // Update the version number in the row. newText = $theme.html().replace( response.oldVersion, response.newVersion ); $theme.html( newText ); } $notice = $( '.theme-info .notice' ).add( wp.customize.control( 'installed_theme_' + response.slug ).container.find( '.theme' ).find( '.update-message' ) ); } else if ( 'themes-network' === pagenow ) { $notice = $theme.find( '.update-message' ); // Update the version number in the row. newText = $theme.find( '.theme-version-author-uri' ).html().replace( response.oldVersion, response.newVersion ); $theme.find( '.theme-version-author-uri' ).html( newText ); // Clear the "time to next auto-update" text. $theme.find( '.auto-update-time' ).empty(); } else { $notice = $( '.theme-info .notice' ).add( $theme.find( '.update-message' ) ); // Focus on Customize button after updating. if ( isModalOpen ) { $( '.load-customize:visible' ).trigger( 'focus' ); $( '.theme-info .theme-autoupdate' ).find( '.auto-update-time' ).empty(); } else { $theme.find( '.load-customize' ).trigger( 'focus' ); } } wp.updates.addAdminNotice( _.extend( { selector: $notice }, updatedMessage ) ); wp.a11y.speak( __( 'Update completed successfully.' ) ); wp.updates.decrementCount( 'theme' ); $document.trigger( 'wp-theme-update-success', response ); // Show updated message after modal re-rendered. if ( isModalOpen && 'customize' !== pagenow ) { $( '.theme-info .theme-author' ).after( wp.updates.adminNotice( updatedMessage ) ); } }; /** * Updates the UI appropriately after a failed theme update. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the theme to be updated. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.updateThemeError = function( response ) { var $theme = $( '[data-slug="' + response.slug + '"]' ), errorMessage = sprintf( /* translators: %s: Error string for a failed update. */ __( 'Update failed: %s' ), response.errorMessage ), $notice; if ( ! wp.updates.isValidResponse( response, 'update' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'update-theme' ) ) { return; } if ( 'customize' === pagenow ) { $theme = wp.customize.control( 'installed_theme_' + response.slug ).container.find( '.theme' ); } if ( 'themes-network' === pagenow ) { $notice = $theme.find( '.update-message ' ); } else { $notice = $( '.theme-info .notice' ).add( $theme.find( '.notice' ) ); $( 'body.modal-open' ).length ? $( '.load-customize:visible' ).trigger( 'focus' ) : $theme.find( '.load-customize' ).trigger( 'focus'); } wp.updates.addAdminNotice( { selector: $notice, className: 'update-message notice-error notice-alt is-dismissible', message: errorMessage } ); wp.a11y.speak( errorMessage ); $document.trigger( 'wp-theme-update-error', response ); }; /** * Sends an Ajax request to the server to install a theme. * * @since 4.6.0 * * @param {Object} args * @param {string} args.slug Theme stylesheet. * @param {installThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.installThemeSuccess * @param {installThemeError=} args.error Optional. Error callback. Default: wp.updates.installThemeError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.installTheme = function( args ) { var $message = $( '.theme-install[data-slug="' + args.slug + '"]' ); args = _.extend( { success: wp.updates.installThemeSuccess, error: wp.updates.installThemeError }, args ); $message.addClass( 'updating-message' ); $message.parents( '.theme' ).addClass( 'focus' ); if ( $message.html() !== __( 'Installing...' ) ) { $message.data( 'originaltext', $message.html() ); } $message .attr( 'aria-label', sprintf( /* translators: %s: Theme name and version. */ _x( 'Installing %s...', 'theme' ), $message.data( 'name' ) ) ) .text( __( 'Installing...' ) ); wp.a11y.speak( __( 'Installing... please wait.' ) ); // Remove previous error messages, if any. $( '.install-theme-info, [data-slug="' + args.slug + '"]' ).removeClass( 'theme-install-failed' ).find( '.notice.notice-error' ).remove(); $document.trigger( 'wp-theme-installing', args ); return wp.updates.ajax( 'install-theme', args ); }; /** * Updates the UI appropriately after a successful theme install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the theme to be installed. * @param {string} response.customizeUrl URL to the Customizer for the just installed theme. * @param {string} response.activateUrl URL to activate the just installed theme. */ wp.updates.installThemeSuccess = function( response ) { var $card = $( '.wp-full-overlay-header, [data-slug=' + response.slug + ']' ), $message; $document.trigger( 'wp-theme-install-success', response ); $message = $card.find( '.button-primary' ) .removeClass( 'updating-message' ) .addClass( 'updated-message disabled' ) .attr( 'aria-label', sprintf( /* translators: %s: Theme name and version. */ _x( '%s installed!', 'theme' ), response.themeName ) ) .text( _x( 'Installed!', 'theme' ) ); wp.a11y.speak( __( 'Installation completed successfully.' ) ); setTimeout( function() { if ( response.activateUrl ) { // Transform the 'Install' button into an 'Activate' button. $message .attr( 'href', response.activateUrl ) .removeClass( 'theme-install updated-message disabled' ) .addClass( 'activate' ); if ( 'themes-network' === pagenow ) { $message .attr( 'aria-label', sprintf( /* translators: %s: Theme name. */ _x( 'Network Activate %s', 'theme' ), response.themeName ) ) .text( __( 'Network Enable' ) ); } else { $message .attr( 'aria-label', sprintf( /* translators: %s: Theme name. */ _x( 'Activate %s', 'theme' ), response.themeName ) ) .text( _x( 'Activate', 'theme' ) ); } } if ( response.customizeUrl ) { // Transform the 'Preview' button into a 'Live Preview' button. $message.siblings( '.preview' ).replaceWith( function () { return $( '<a>' ) .attr( 'href', response.customizeUrl ) .addClass( 'button load-customize' ) .text( __( 'Live Preview' ) ); } ); } }, 1000 ); }; /** * Updates the UI appropriately after a failed theme install. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the theme to be installed. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.installThemeError = function( response ) { var $card, $button, errorMessage = sprintf( /* translators: %s: Error string for a failed installation. */ __( 'Installation failed: %s' ), response.errorMessage ), $message = wp.updates.adminNotice( { className: 'update-message notice-error notice-alt', message: errorMessage } ); if ( ! wp.updates.isValidResponse( response, 'install' ) ) { return; } if ( wp.updates.maybeHandleCredentialError( response, 'install-theme' ) ) { return; } if ( 'customize' === pagenow ) { if ( $document.find( 'body' ).hasClass( 'modal-open' ) ) { $button = $( '.theme-install[data-slug="' + response.slug + '"]' ); $card = $( '.theme-overlay .theme-info' ).prepend( $message ); } else { $button = $( '.theme-install[data-slug="' + response.slug + '"]' ); $card = $button.closest( '.theme' ).addClass( 'theme-install-failed' ).append( $message ); } wp.customize.notifications.remove( 'theme_installing' ); } else { if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) { $button = $( '.theme-install[data-slug="' + response.slug + '"]' ); $card = $( '.install-theme-info' ).prepend( $message ); } else { $card = $( '[data-slug="' + response.slug + '"]' ).removeClass( 'focus' ).addClass( 'theme-install-failed' ).append( $message ); $button = $card.find( '.theme-install' ); } } $button .removeClass( 'updating-message' ) .attr( 'aria-label', sprintf( /* translators: %s: Theme name and version. */ _x( '%s installation failed', 'theme' ), $button.data( 'name' ) ) ) .text( __( 'Installation failed.' ) ); wp.a11y.speak( errorMessage, 'assertive' ); $document.trigger( 'wp-theme-install-error', response ); }; /** * Sends an Ajax request to the server to delete a theme. * * @since 4.6.0 * * @param {Object} args * @param {string} args.slug Theme stylesheet. * @param {deleteThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.deleteThemeSuccess * @param {deleteThemeError=} args.error Optional. Error callback. Default: wp.updates.deleteThemeError * @return {$.promise} A jQuery promise that represents the request, * decorated with an abort() method. */ wp.updates.deleteTheme = function( args ) { var $button; if ( 'themes' === pagenow ) { $button = $( '.theme-actions .delete-theme' ); } else if ( 'themes-network' === pagenow ) { $button = $( '[data-slug="' + args.slug + '"]' ).find( '.row-actions a.delete' ); } args = _.extend( { success: wp.updates.deleteThemeSuccess, error: wp.updates.deleteThemeError }, args ); if ( $button && $button.html() !== __( 'Deleting...' ) ) { $button .data( 'originaltext', $button.html() ) .text( __( 'Deleting...' ) ); } wp.a11y.speak( __( 'Deleting...' ) ); // Remove previous error messages, if any. $( '.theme-info .update-message' ).remove(); $document.trigger( 'wp-theme-deleting', args ); return wp.updates.ajax( 'delete-theme', args ); }; /** * Updates the UI appropriately after a successful theme deletion. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the theme that was deleted. */ wp.updates.deleteThemeSuccess = function( response ) { var $themeRows = $( '[data-slug="' + response.slug + '"]' ); if ( 'themes-network' === pagenow ) { // Removes the theme and updates rows. $themeRows.css( { backgroundColor: '#faafaa' } ).fadeOut( 350, function() { var $views = $( '.subsubsub' ), $themeRow = $( this ), themes = settings.themes, deletedRow = wp.template( 'item-deleted-row' ); if ( ! $themeRow.hasClass( 'plugin-update-tr' ) ) { $themeRow.after( deletedRow( { slug: response.slug, colspan: $( '#bulk-action-form' ).find( 'thead th:not(.hidden), thead td' ).length, name: $themeRow.find( '.theme-title strong' ).text() } ) ); } $themeRow.remove(); // Remove theme from update count. if ( -1 !== _.indexOf( themes.upgrade, response.slug ) ) { themes.upgrade = _.without( themes.upgrade, response.slug ); wp.updates.decrementCount( 'theme' ); } // Remove from views. if ( -1 !== _.indexOf( themes.disabled, response.slug ) ) { themes.disabled = _.without( themes.disabled, response.slug ); if ( themes.disabled.length ) { $views.find( '.disabled .count' ).text( '(' + themes.disabled.length + ')' ); } else { $views.find( '.disabled' ).remove(); } } if ( -1 !== _.indexOf( themes['auto-update-enabled'], response.slug ) ) { themes['auto-update-enabled'] = _.without( themes['auto-update-enabled'], response.slug ); if ( themes['auto-update-enabled'].length ) { $views.find( '.auto-update-enabled .count' ).text( '(' + themes['auto-update-enabled'].length + ')' ); } else { $views.find( '.auto-update-enabled' ).remove(); } } if ( -1 !== _.indexOf( themes['auto-update-disabled'], response.slug ) ) { themes['auto-update-disabled'] = _.without( themes['auto-update-disabled'], response.slug ); if ( themes['auto-update-disabled'].length ) { $views.find( '.auto-update-disabled .count' ).text( '(' + themes['auto-update-disabled'].length + ')' ); } else { $views.find( '.auto-update-disabled' ).remove(); } } themes.all = _.without( themes.all, response.slug ); // There is always at least one theme available. $views.find( '.all .count' ).text( '(' + themes.all.length + ')' ); } ); } // DecrementCount from update count. if ( 'themes' === pagenow ) { var theme = _.find( _wpThemeSettings.themes, { id: response.slug } ); if ( theme.hasUpdate ) { wp.updates.decrementCount( 'theme' ); } } wp.a11y.speak( _x( 'Deleted!', 'theme' ) ); $document.trigger( 'wp-theme-delete-success', response ); }; /** * Updates the UI appropriately after a failed theme deletion. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.slug Slug of the theme to be deleted. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. */ wp.updates.deleteThemeError = function( response ) { var $themeRow = $( 'tr.inactive[data-slug="' + response.slug + '"]' ), $button = $( '.theme-actions .delete-theme' ), updateRow = wp.template( 'item-update-row' ), $updateRow = $themeRow.siblings( '#' + response.slug + '-update' ), errorMessage = sprintf( /* translators: %s: Error string for a failed deletion. */ __( 'Deletion failed: %s' ), response.errorMessage ), $message = wp.updates.adminNotice( { className: 'update-message notice-error notice-alt', message: errorMessage } ); if ( wp.updates.maybeHandleCredentialError( response, 'delete-theme' ) ) { return; } if ( 'themes-network' === pagenow ) { if ( ! $updateRow.length ) { $themeRow.addClass( 'update' ).after( updateRow( { slug: response.slug, colspan: $( '#bulk-action-form' ).find( 'thead th:not(.hidden), thead td' ).length, content: $message } ) ); } else { // Remove previous error messages, if any. $updateRow.find( '.notice-error' ).remove(); $updateRow.find( '.plugin-update' ).append( $message ); } } else { $( '.theme-info .theme-description' ).before( $message ); } $button.html( $button.data( 'originaltext' ) ); wp.a11y.speak( errorMessage, 'assertive' ); $document.trigger( 'wp-theme-delete-error', response ); }; /** * Adds the appropriate callback based on the type of action and the current page. * * @since 4.6.0 * @private * * @param {Object} data Ajax payload. * @param {string} action The type of request to perform. * @return {Object} The Ajax payload with the appropriate callbacks. */ wp.updates._addCallbacks = function( data, action ) { if ( 'import' === pagenow && 'install-plugin' === action ) { data.success = wp.updates.installImporterSuccess; data.error = wp.updates.installImporterError; } return data; }; /** * Pulls available jobs from the queue and runs them. * * @since 4.2.0 * @since 4.6.0 Can handle multiple job types. */ wp.updates.queueChecker = function() { var job; if ( wp.updates.ajaxLocked || ! wp.updates.queue.length ) { return; } job = wp.updates.queue.shift(); // Handle a queue job. switch ( job.action ) { case 'install-plugin': wp.updates.installPlugin( job.data ); break; case 'update-plugin': wp.updates.updatePlugin( job.data ); break; case 'delete-plugin': wp.updates.deletePlugin( job.data ); break; case 'install-theme': wp.updates.installTheme( job.data ); break; case 'update-theme': wp.updates.updateTheme( job.data ); break; case 'delete-theme': wp.updates.deleteTheme( job.data ); break; default: break; } }; /** * Requests the users filesystem credentials if they aren't already known. * * @since 4.2.0 * * @param {Event=} event Optional. Event interface. */ wp.updates.requestFilesystemCredentials = function( event ) { if ( false === wp.updates.filesystemCredentials.available ) { /* * After exiting the credentials request modal, * return the focus to the element triggering the request. */ if ( event && ! wp.updates.$elToReturnFocusToFromCredentialsModal ) { wp.updates.$elToReturnFocusToFromCredentialsModal = $( event.target ); } wp.updates.ajaxLocked = true; wp.updates.requestForCredentialsModalOpen(); } }; /** * Requests the users filesystem credentials if needed and there is no lock. * * @since 4.6.0 * * @param {Event=} event Optional. Event interface. */ wp.updates.maybeRequestFilesystemCredentials = function( event ) { if ( wp.updates.shouldRequestFilesystemCredentials && ! wp.updates.ajaxLocked ) { wp.updates.requestFilesystemCredentials( event ); } }; /** * Keydown handler for the request for credentials modal. * * Closes the modal when the escape key is pressed and * constrains keyboard navigation to inside the modal. * * @since 4.2.0 * * @param {Event} event Event interface. */ wp.updates.keydown = function( event ) { if ( 27 === event.keyCode ) { wp.updates.requestForCredentialsModalCancel(); } else if ( 9 === event.keyCode ) { // #upgrade button must always be the last focus-able element in the dialog. if ( 'upgrade' === event.target.id && ! event.shiftKey ) { $( '#hostname' ).trigger( 'focus' ); event.preventDefault(); } else if ( 'hostname' === event.target.id && event.shiftKey ) { $( '#upgrade' ).trigger( 'focus' ); event.preventDefault(); } } }; /** * Opens the request for credentials modal. * * @since 4.2.0 */ wp.updates.requestForCredentialsModalOpen = function() { var $modal = $( '#request-filesystem-credentials-dialog' ); $( 'body' ).addClass( 'modal-open' ); $modal.show(); $modal.find( 'input:enabled:first' ).trigger( 'focus' ); $modal.on( 'keydown', wp.updates.keydown ); }; /** * Closes the request for credentials modal. * * @since 4.2.0 */ wp.updates.requestForCredentialsModalClose = function() { $( '#request-filesystem-credentials-dialog' ).hide(); $( 'body' ).removeClass( 'modal-open' ); if ( wp.updates.$elToReturnFocusToFromCredentialsModal ) { wp.updates.$elToReturnFocusToFromCredentialsModal.trigger( 'focus' ); } }; /** * Takes care of the steps that need to happen when the modal is canceled out. * * @since 4.2.0 * @since 4.6.0 Triggers an event for callbacks to listen to and add their actions. */ wp.updates.requestForCredentialsModalCancel = function() { // Not ajaxLocked and no queue means we already have cleared things up. if ( ! wp.updates.ajaxLocked && ! wp.updates.queue.length ) { return; } _.each( wp.updates.queue, function( job ) { $document.trigger( 'credential-modal-cancel', job ); } ); // Remove the lock, and clear the queue. wp.updates.ajaxLocked = false; wp.updates.queue = []; wp.updates.requestForCredentialsModalClose(); }; /** * Displays an error message in the request for credentials form. * * @since 4.2.0 * * @param {string} message Error message. */ wp.updates.showErrorInCredentialsForm = function( message ) { var $filesystemForm = $( '#request-filesystem-credentials-form' ); // Remove any existing error. $filesystemForm.find( '.notice' ).remove(); $filesystemForm.find( '#request-filesystem-credentials-title' ).after( '<div class="notice notice-alt notice-error" role="alert"><p>' + message + '</p></div>' ); }; /** * Handles credential errors and runs events that need to happen in that case. * * @since 4.2.0 * * @param {Object} response Ajax response. * @param {string} action The type of request to perform. */ wp.updates.credentialError = function( response, action ) { // Restore callbacks. response = wp.updates._addCallbacks( response, action ); wp.updates.queue.unshift( { action: action, /* * Not cool that we're depending on response for this data. * This would feel more whole in a view all tied together. */ data: response } ); wp.updates.filesystemCredentials.available = false; wp.updates.showErrorInCredentialsForm( response.errorMessage ); wp.updates.requestFilesystemCredentials(); }; /** * Handles credentials errors if it could not connect to the filesystem. * * @since 4.6.0 * * @param {Object} response Response from the server. * @param {string} response.errorCode Error code for the error that occurred. * @param {string} response.errorMessage The error that occurred. * @param {string} action The type of request to perform. * @return {boolean} Whether there is an error that needs to be handled or not. */ wp.updates.maybeHandleCredentialError = function( response, action ) { if ( wp.updates.shouldRequestFilesystemCredentials && response.errorCode && 'unable_to_connect_to_filesystem' === response.errorCode ) { wp.updates.credentialError( response, action ); return true; } return false; }; /** * Validates an Ajax response to ensure it's a proper object. * * If the response deems to be invalid, an admin notice is being displayed. * * @param {(Object|string)} response Response from the server. * @param {function=} response.always Optional. Callback for when the Deferred is resolved or rejected. * @param {string=} response.statusText Optional. Status message corresponding to the status code. * @param {string=} response.responseText Optional. Request response as text. * @param {string} action Type of action the response is referring to. Can be 'delete', * 'update' or 'install'. */ wp.updates.isValidResponse = function( response, action ) { var error = __( 'An error occurred during the update process. Please try again.' ), errorMessage; // Make sure the response is a valid data object and not a Promise object. if ( _.isObject( response ) && ! _.isFunction( response.always ) ) { return true; } if ( _.isString( response ) && '-1' === response ) { error = __( 'An error has occurred. Please reload the page and try again.' ); } else if ( _.isString( response ) ) { error = response; } else if ( 'undefined' !== typeof response.readyState && 0 === response.readyState ) { error = __( 'Connection lost or the server is busy. Please try again later.' ); } else if ( _.isString( response.responseText ) && '' !== response.responseText ) { error = response.responseText; } else if ( _.isString( response.statusText ) ) { error = response.statusText; } switch ( action ) { case 'update': /* translators: %s: Error string for a failed update. */ errorMessage = __( 'Update failed: %s' ); break; case 'install': /* translators: %s: Error string for a failed installation. */ errorMessage = __( 'Installation failed: %s' ); break; case 'check-dependencies': /* translators: %s: Error string for a failed dependencies check. */ errorMessage = __( 'Dependencies check failed: %s' ); break; case 'activate': /* translators: %s: Error string for a failed activation. */ errorMessage = __( 'Activation failed: %s' ); break; case 'delete': /* translators: %s: Error string for a failed deletion. */ errorMessage = __( 'Deletion failed: %s' ); break; } // Messages are escaped, remove HTML tags to make them more readable. error = error.replace( /<[\/a-z][^<>]*>/gi, '' ); errorMessage = errorMessage.replace( '%s', error ); // Add admin notice. wp.updates.addAdminNotice( { id: 'unknown_error', className: 'notice-error is-dismissible', message: _.escape( errorMessage ) } ); // Remove the lock, and clear the queue. wp.updates.ajaxLocked = false; wp.updates.queue = []; // Change buttons of all running updates. $( '.button.updating-message' ) .removeClass( 'updating-message' ) .removeAttr( 'aria-label' ) .prop( 'disabled', true ) .text( __( 'Update failed.' ) ); $( '.updating-message:not(.button):not(.thickbox)' ) .removeClass( 'updating-message notice-warning' ) .addClass( 'notice-error' ) .find( 'p' ) .removeAttr( 'aria-label' ) .text( errorMessage ); wp.a11y.speak( errorMessage, 'assertive' ); return false; }; /** * Potentially adds an AYS to a user attempting to leave the page. * * If an update is on-going and a user attempts to leave the page, * opens an "Are you sure?" alert. * * @since 4.2.0 */ wp.updates.beforeunload = function() { if ( wp.updates.ajaxLocked ) { return __( 'Updates may not complete if you navigate away from this page.' ); } }; $( function() { var $pluginFilter = $( '#plugin-filter, #plugin-information-footer' ), $bulkActionForm = $( '#bulk-action-form' ), $filesystemForm = $( '#request-filesystem-credentials-form' ), $filesystemModal = $( '#request-filesystem-credentials-dialog' ), $pluginSearch = $( '.plugins-php .wp-filter-search' ), $pluginInstallSearch = $( '.plugin-install-php .wp-filter-search' ); settings = _.extend( settings, window._wpUpdatesItemCounts || {} ); if ( settings.totals ) { wp.updates.refreshCount(); } /* * Whether a user needs to submit filesystem credentials. * * This is based on whether the form was output on the page server-side. * * @see {wp_print_request_filesystem_credentials_modal() in PHP} */ wp.updates.shouldRequestFilesystemCredentials = $filesystemModal.length > 0; /** * File system credentials form submit noop-er / handler. * * @since 4.2.0 */ $filesystemModal.on( 'submit', 'form', function( event ) { event.preventDefault(); // Persist the credentials input by the user for the duration of the page load. wp.updates.filesystemCredentials.ftp.hostname = $( '#hostname' ).val(); wp.updates.filesystemCredentials.ftp.username = $( '#username' ).val(); wp.updates.filesystemCredentials.ftp.password = $( '#password' ).val(); wp.updates.filesystemCredentials.ftp.connectionType = $( 'input[name="connection_type"]:checked' ).val(); wp.updates.filesystemCredentials.ssh.publicKey = $( '#public_key' ).val(); wp.updates.filesystemCredentials.ssh.privateKey = $( '#private_key' ).val(); wp.updates.filesystemCredentials.fsNonce = $( '#_fs_nonce' ).val(); wp.updates.filesystemCredentials.available = true; // Unlock and invoke the queue. wp.updates.ajaxLocked = false; wp.updates.queueChecker(); wp.updates.requestForCredentialsModalClose(); } ); /** * Closes the request credentials modal when clicking the 'Cancel' button or outside of the modal. * * @since 4.2.0 */ $filesystemModal.on( 'click', '[data-js-action="close"], .notification-dialog-background', wp.updates.requestForCredentialsModalCancel ); /** * Hide SSH fields when not selected. * * @since 4.2.0 */ $filesystemForm.on( 'change', 'input[name="connection_type"]', function() { $( '#ssh-keys' ).toggleClass( 'hidden', ( 'ssh' !== $( this ).val() ) ); } ).trigger( 'change' ); /** * Handles events after the credential modal was closed. * * @since 4.6.0 * * @param {Event} event Event interface. * @param {string} job The install/update.delete request. */ $document.on( 'credential-modal-cancel', function( event, job ) { var $updatingMessage = $( '.updating-message' ), $message, originalText; if ( 'import' === pagenow ) { $updatingMessage.removeClass( 'updating-message' ); } else if ( 'plugins' === pagenow || 'plugins-network' === pagenow ) { if ( 'update-plugin' === job.action ) { $message = $( 'tr[data-plugin="' + job.data.plugin + '"]' ).find( '.update-message' ); } else if ( 'delete-plugin' === job.action ) { $message = $( '[data-plugin="' + job.data.plugin + '"]' ).find( '.row-actions a.delete' ); } } else if ( 'themes' === pagenow || 'themes-network' === pagenow ) { if ( 'update-theme' === job.action ) { $message = $( '[data-slug="' + job.data.slug + '"]' ).find( '.update-message' ); } else if ( 'delete-theme' === job.action && 'themes-network' === pagenow ) { $message = $( '[data-slug="' + job.data.slug + '"]' ).find( '.row-actions a.delete' ); } else if ( 'delete-theme' === job.action && 'themes' === pagenow ) { $message = $( '.theme-actions .delete-theme' ); } } else { $message = $updatingMessage; } if ( $message && $message.hasClass( 'updating-message' ) ) { originalText = $message.data( 'originaltext' ); if ( 'undefined' === typeof originalText ) { originalText = $( '<p>' ).html( $message.find( 'p' ).data( 'originaltext' ) ); } $message .removeClass( 'updating-message' ) .html( originalText ); if ( 'plugin-install' === pagenow || 'plugin-install-network' === pagenow ) { if ( 'update-plugin' === job.action ) { $message.attr( 'aria-label', sprintf( /* translators: %s: Plugin name and version. */ _x( 'Update %s now', 'plugin' ), $message.data( 'name' ) ) ); } else if ( 'install-plugin' === job.action ) { $message.attr( 'aria-label', sprintf( /* translators: %s: Plugin name. */ _x( 'Install %s now', 'plugin' ), $message.data( 'name' ) ) ); } } } wp.a11y.speak( __( 'Update canceled.' ) ); } ); /** * Click handler for plugin updates in List Table view. * * @since 4.2.0 * * @param {Event} event Event interface. */ $bulkActionForm.on( 'click', '[data-plugin] .update-link', function( event ) { var $message = $( event.target ), $pluginRow = $message.parents( 'tr' ); event.preventDefault(); if ( $message.hasClass( 'updating-message' ) || $message.hasClass( 'button-disabled' ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); // Return the user to the input box of the plugin's table row after closing the modal. wp.updates.$elToReturnFocusToFromCredentialsModal = $pluginRow.find( '.check-column input' ); wp.updates.updatePlugin( { plugin: $pluginRow.data( 'plugin' ), slug: $pluginRow.data( 'slug' ) } ); } ); /** * Click handler for plugin updates in plugin install view. * * @since 4.2.0 * * @param {Event} event Event interface. */ $pluginFilter.on( 'click', '.update-now', function( event ) { var $button = $( event.target ); event.preventDefault(); if ( $button.hasClass( 'updating-message' ) || $button.hasClass( 'button-disabled' ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); wp.updates.updatePlugin( { plugin: $button.data( 'plugin' ), slug: $button.data( 'slug' ) } ); } ); /** * Click handler for plugin installs in plugin install view. * * @since 4.6.0 * * @param {Event} event Event interface. */ $pluginFilter.on( 'click', '.install-now', function( event ) { var $button = $( event.target ); event.preventDefault(); if ( $button.hasClass( 'updating-message' ) || $button.hasClass( 'button-disabled' ) ) { return; } if ( wp.updates.shouldRequestFilesystemCredentials && ! wp.updates.ajaxLocked ) { wp.updates.requestFilesystemCredentials( event ); $document.on( 'credential-modal-cancel', function() { var $message = $( '.install-now.updating-message' ); $message .removeClass( 'updating-message' ) .text( _x( 'Install Now', 'plugin' ) ); wp.a11y.speak( __( 'Update canceled.' ) ); } ); } wp.updates.installPlugin( { slug: $button.data( 'slug' ) } ); } ); /** * Click handler for plugin activations in plugin activation modal view. * * @since 6.5.0 * @since 6.5.4 Redirect the parent window to the activation URL. * * @param {Event} event Event interface. */ $document.on( 'click', '#plugin-information-footer .activate-now', function( event ) { event.preventDefault(); window.parent.location.href = $( event.target ).attr( 'href' ); }); /** * Click handler for importer plugins installs in the Import screen. * * @since 4.6.0 * * @param {Event} event Event interface. */ $document.on( 'click', '.importer-item .install-now', function( event ) { var $button = $( event.target ), pluginName = $( this ).data( 'name' ); event.preventDefault(); if ( $button.hasClass( 'updating-message' ) ) { return; } if ( wp.updates.shouldRequestFilesystemCredentials && ! wp.updates.ajaxLocked ) { wp.updates.requestFilesystemCredentials( event ); $document.on( 'credential-modal-cancel', function() { $button .removeClass( 'updating-message' ) .attr( 'aria-label', sprintf( /* translators: %s: Plugin name. */ _x( 'Install %s now', 'plugin' ), pluginName ) ) .text( _x( 'Install Now', 'plugin' ) ); wp.a11y.speak( __( 'Update canceled.' ) ); } ); } wp.updates.installPlugin( { slug: $button.data( 'slug' ), pagenow: pagenow, success: wp.updates.installImporterSuccess, error: wp.updates.installImporterError } ); } ); /** * Click handler for plugin deletions. * * @since 4.6.0 * * @param {Event} event Event interface. */ $bulkActionForm.on( 'click', '[data-plugin] a.delete', function( event ) { var $pluginRow = $( event.target ).parents( 'tr' ), confirmMessage; if ( $pluginRow.hasClass( 'is-uninstallable' ) ) { confirmMessage = sprintf( /* translators: %s: Plugin name. */ __( 'Are you sure you want to delete %s and its data?' ), $pluginRow.find( '.plugin-title strong' ).text() ); } else { confirmMessage = sprintf( /* translators: %s: Plugin name. */ __( 'Are you sure you want to delete %s?' ), $pluginRow.find( '.plugin-title strong' ).text() ); } event.preventDefault(); if ( ! window.confirm( confirmMessage ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); wp.updates.deletePlugin( { plugin: $pluginRow.data( 'plugin' ), slug: $pluginRow.data( 'slug' ) } ); } ); /** * Click handler for theme updates. * * @since 4.6.0 * * @param {Event} event Event interface. */ $document.on( 'click', '.themes-php.network-admin .update-link', function( event ) { var $message = $( event.target ), $themeRow = $message.parents( 'tr' ); event.preventDefault(); if ( $message.hasClass( 'updating-message' ) || $message.hasClass( 'button-disabled' ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); // Return the user to the input box of the theme's table row after closing the modal. wp.updates.$elToReturnFocusToFromCredentialsModal = $themeRow.find( '.check-column input' ); wp.updates.updateTheme( { slug: $themeRow.data( 'slug' ) } ); } ); /** * Click handler for theme deletions. * * @since 4.6.0 * * @param {Event} event Event interface. */ $document.on( 'click', '.themes-php.network-admin a.delete', function( event ) { var $themeRow = $( event.target ).parents( 'tr' ), confirmMessage = sprintf( /* translators: %s: Theme name. */ __( 'Are you sure you want to delete %s?' ), $themeRow.find( '.theme-title strong' ).text() ); event.preventDefault(); if ( ! window.confirm( confirmMessage ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); wp.updates.deleteTheme( { slug: $themeRow.data( 'slug' ) } ); } ); /** * Bulk action handler for plugins and themes. * * Handles both deletions and updates. * * @since 4.6.0 * * @param {Event} event Event interface. */ $bulkActionForm.on( 'click', '[type="submit"]:not([name="clear-recent-list"])', function( event ) { var bulkAction = $( event.target ).siblings( 'select' ).val(), itemsSelected = $bulkActionForm.find( 'input[name="checked[]"]:checked' ), success = 0, error = 0, errorMessages = [], type, action; // Determine which type of item we're dealing with. switch ( pagenow ) { case 'plugins': case 'plugins-network': type = 'plugin'; break; case 'themes-network': type = 'theme'; break; default: return; } // Bail if there were no items selected. if ( ! itemsSelected.length ) { bulkAction = false; } // Determine the type of request we're dealing with. switch ( bulkAction ) { case 'update-selected': action = bulkAction.replace( 'selected', type ); break; case 'delete-selected': var confirmMessage = 'plugin' === type ? __( 'Are you sure you want to delete the selected plugins and their data?' ) : __( 'Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?' ); if ( ! window.confirm( confirmMessage ) ) { event.preventDefault(); return; } action = bulkAction.replace( 'selected', type ); break; default: return; } wp.updates.maybeRequestFilesystemCredentials( event ); event.preventDefault(); // Un-check the bulk checkboxes. $bulkActionForm.find( '.manage-column [type="checkbox"]' ).prop( 'checked', false ); $document.trigger( 'wp-' + type + '-bulk-' + bulkAction, itemsSelected ); // Find all the checkboxes which have been checked. itemsSelected.each( function( index, element ) { var $checkbox = $( element ), $itemRow = $checkbox.parents( 'tr' ); // Only add update-able items to the update queue. if ( 'update-selected' === bulkAction && ( ! $itemRow.hasClass( 'update' ) || $itemRow.find( 'notice-error' ).length ) ) { // Un-check the box. $checkbox.prop( 'checked', false ); return; } // Don't add items to the update queue again, even if the user clicks the update button several times. if ( 'update-selected' === bulkAction && $itemRow.hasClass( 'is-enqueued' ) ) { return; } $itemRow.addClass( 'is-enqueued' ); // Add it to the queue. wp.updates.queue.push( { action: action, data: { plugin: $itemRow.data( 'plugin' ), slug: $itemRow.data( 'slug' ) } } ); } ); // Display bulk notification for updates of any kind. $document.on( 'wp-plugin-update-success wp-plugin-update-error wp-theme-update-success wp-theme-update-error', function( event, response ) { var $itemRow = $( '[data-slug="' + response.slug + '"]' ), $bulkActionNotice, itemName; if ( 'wp-' + response.update + '-update-success' === event.type ) { success++; } else { itemName = response.pluginName ? response.pluginName : $itemRow.find( '.column-primary strong' ).text(); error++; errorMessages.push( itemName + ': ' + response.errorMessage ); } $itemRow.find( 'input[name="checked[]"]:checked' ).prop( 'checked', false ); wp.updates.adminNotice = wp.template( 'wp-bulk-updates-admin-notice' ); var successMessage = null; if ( success ) { if ( 'plugin' === response.update ) { successMessage = sprintf( /* translators: %s: Number of plugins. */ _n( '%s plugin successfully updated.', '%s plugins successfully updated.', success ), success ); } else { successMessage = sprintf( /* translators: %s: Number of themes. */ _n( '%s theme successfully updated.', '%s themes successfully updated.', success ), success ); } } var errorMessage = null; if ( error ) { errorMessage = sprintf( /* translators: %s: Number of failed updates. */ _n( '%s update failed.', '%s updates failed.', error ), error ); } wp.updates.addAdminNotice( { id: 'bulk-action-notice', className: 'bulk-action-notice', successMessage: successMessage, errorMessage: errorMessage, errorMessages: errorMessages, type: response.update } ); $bulkActionNotice = $( '#bulk-action-notice' ).on( 'click', 'button', function() { // $( this ) is the clicked button, no need to get it again. $( this ) .toggleClass( 'bulk-action-errors-collapsed' ) .attr( 'aria-expanded', ! $( this ).hasClass( 'bulk-action-errors-collapsed' ) ); // Show the errors list. $bulkActionNotice.find( '.bulk-action-errors' ).toggleClass( 'hidden' ); } ); if ( error > 0 && ! wp.updates.queue.length ) { $( 'html, body' ).animate( { scrollTop: 0 } ); } } ); // Reset admin notice template after #bulk-action-notice was added. $document.on( 'wp-updates-notice-added', function() { wp.updates.adminNotice = wp.template( 'wp-updates-admin-notice' ); } ); // Check the queue, now that the event handlers have been added. wp.updates.queueChecker(); } ); if ( $pluginInstallSearch.length ) { $pluginInstallSearch.attr( 'aria-describedby', 'live-search-desc' ); } // Track the previous search string length. var previousSearchStringLength = 0; wp.updates.shouldSearch = function( searchStringLength ) { var shouldSearch = searchStringLength >= wp.updates.searchMinCharacters || previousSearchStringLength > wp.updates.searchMinCharacters; previousSearchStringLength = searchStringLength; return shouldSearch; }; /** * Handles changes to the plugin search box on the new-plugin page, * searching the repository dynamically. * * @since 4.6.0 */ $pluginInstallSearch.on( 'keyup input', _.debounce( function( event, eventtype ) { var $searchTab = $( '.plugin-install-search' ), data, searchLocation, searchStringLength = $pluginInstallSearch.val().length; data = { _ajax_nonce: wp.updates.ajaxNonce, s: encodeURIComponent( event.target.value ), tab: 'search', type: $( '#typeselector' ).val(), pagenow: pagenow }; searchLocation = location.href.split( '?' )[ 0 ] + '?' + $.param( _.omit( data, [ '_ajax_nonce', 'pagenow' ] ) ); // Set the autocomplete attribute, turning off autocomplete 1 character before ajax search kicks in. if ( wp.updates.shouldSearch( searchStringLength ) ) { $pluginInstallSearch.attr( 'autocomplete', 'off' ); } else { $pluginInstallSearch.attr( 'autocomplete', 'on' ); return; } // Clear on escape. if ( 'keyup' === event.type && 27 === event.which ) { event.target.value = ''; } if ( wp.updates.searchTerm === data.s && 'typechange' !== eventtype ) { return; } else { $pluginFilter.empty(); wp.updates.searchTerm = data.s; } if ( window.history && window.history.replaceState ) { window.history.replaceState( null, '', searchLocation ); } if ( ! $searchTab.length ) { $searchTab = $( '<li class="plugin-install-search" />' ) .append( $( '<a />', { 'class': 'current', 'href': searchLocation, 'text': __( 'Search Results' ) } ) ); $( '.wp-filter .filter-links .current' ) .removeClass( 'current' ) .parents( '.filter-links' ) .prepend( $searchTab ); $pluginFilter.prev( 'p' ).remove(); $( '.plugins-popular-tags-wrapper' ).remove(); } if ( 'undefined' !== typeof wp.updates.searchRequest ) { wp.updates.searchRequest.abort(); } $( 'body' ).addClass( 'loading-content' ); wp.updates.searchRequest = wp.ajax.post( 'search-install-plugins', data ).done( function( response ) { $( 'body' ).removeClass( 'loading-content' ); $pluginFilter.append( response.items ); delete wp.updates.searchRequest; if ( 0 === response.count ) { wp.a11y.speak( __( 'You do not appear to have any plugins available at this time.' ) ); } else { wp.a11y.speak( sprintf( /* translators: %s: Number of plugins. */ __( 'Number of plugins found: %d' ), response.count ) ); } } ); }, 1000 ) ); if ( $pluginSearch.length ) { $pluginSearch.attr( 'aria-describedby', 'live-search-desc' ); } /** * Handles changes to the plugin search box on the Installed Plugins screen, * searching the plugin list dynamically. * * @since 4.6.0 */ $pluginSearch.on( 'keyup input', _.debounce( function( event ) { var data = { _ajax_nonce: wp.updates.ajaxNonce, s: encodeURIComponent( event.target.value ), pagenow: pagenow, plugin_status: 'all' }, queryArgs, searchStringLength = $pluginSearch.val().length; // Set the autocomplete attribute, turning off autocomplete 1 character before ajax search kicks in. if ( wp.updates.shouldSearch( searchStringLength ) ) { $pluginSearch.attr( 'autocomplete', 'off' ); } else { $pluginSearch.attr( 'autocomplete', 'on' ); return; } // Clear on escape. if ( 'keyup' === event.type && 27 === event.which ) { event.target.value = ''; } if ( wp.updates.searchTerm === data.s ) { return; } else { wp.updates.searchTerm = data.s; } queryArgs = _.object( _.compact( _.map( location.search.slice( 1 ).split( '&' ), function( item ) { if ( item ) return item.split( '=' ); } ) ) ); data.plugin_status = queryArgs.plugin_status || 'all'; if ( window.history && window.history.replaceState ) { window.history.replaceState( null, '', location.href.split( '?' )[ 0 ] + '?s=' + data.s + '&plugin_status=' + data.plugin_status ); } if ( 'undefined' !== typeof wp.updates.searchRequest ) { wp.updates.searchRequest.abort(); } $bulkActionForm.empty(); $( 'body' ).addClass( 'loading-content' ); $( '.subsubsub .current' ).removeClass( 'current' ); wp.updates.searchRequest = wp.ajax.post( 'search-plugins', data ).done( function( response ) { // Can we just ditch this whole subtitle business? var $subTitle = $( '<span />' ).addClass( 'subtitle' ).html( sprintf( /* translators: %s: Search query. */ __( 'Search results for: %s' ), '<strong>' + _.escape( decodeURIComponent( data.s ) ) + '</strong>' ) ), $oldSubTitle = $( '.wrap .subtitle' ); if ( ! data.s.length ) { $oldSubTitle.remove(); $( '.subsubsub .' + data.plugin_status + ' a' ).addClass( 'current' ); } else if ( $oldSubTitle.length ) { $oldSubTitle.replaceWith( $subTitle ); } else { $( '.wp-header-end' ).before( $subTitle ); } $( 'body' ).removeClass( 'loading-content' ); $bulkActionForm.append( response.items ); delete wp.updates.searchRequest; if ( 0 === response.count ) { wp.a11y.speak( __( 'No plugins found. Try a different search.' ) ); } else { wp.a11y.speak( sprintf( /* translators: %s: Number of plugins. */ __( 'Number of plugins found: %d' ), response.count ) ); } } ); }, 500 ) ); /** * Trigger a search event when the search form gets submitted. * * @since 4.6.0 */ $document.on( 'submit', '.search-plugins', function( event ) { event.preventDefault(); $( 'input.wp-filter-search' ).trigger( 'input' ); } ); /** * Trigger a search event when the "Try Again" button is clicked. * * @since 4.9.0 */ $document.on( 'click', '.try-again', function( event ) { event.preventDefault(); $pluginInstallSearch.trigger( 'input' ); } ); /** * Trigger a search event when the search type gets changed. * * @since 4.6.0 */ $( '#typeselector' ).on( 'change', function() { var $search = $( 'input[name="s"]' ); if ( $search.val().length ) { $search.trigger( 'input', 'typechange' ); } } ); /** * Click handler for updating a plugin from the details modal on `plugin-install.php`. * * @since 4.2.0 * * @param {Event} event Event interface. */ $( '#plugin_update_from_iframe' ).on( 'click', function( event ) { var target = window.parent === window ? null : window.parent, update; $.support.postMessage = !! window.postMessage; if ( false === $.support.postMessage || null === target || -1 !== window.parent.location.pathname.indexOf( 'update-core.php' ) ) { return; } event.preventDefault(); update = { action: 'update-plugin', data: { plugin: $( this ).data( 'plugin' ), slug: $( this ).data( 'slug' ) } }; target.postMessage( JSON.stringify( update ), window.location.origin ); } ); /** * Handles postMessage events. * * @since 4.2.0 * @since 4.6.0 Switched `update-plugin` action to use the queue. * * @param {Event} event Event interface. */ $( window ).on( 'message', function( event ) { var originalEvent = event.originalEvent, expectedOrigin = document.location.protocol + '//' + document.location.host, message; if ( originalEvent.origin !== expectedOrigin ) { return; } try { message = JSON.parse( originalEvent.data ); } catch ( e ) { return; } if ( ! message ) { return; } if ( 'undefined' !== typeof message.status && 'undefined' !== typeof message.slug && 'undefined' !== typeof message.text && 'undefined' !== typeof message.ariaLabel ) { var $card = $( '.plugin-card-' + message.slug ), $message = $card.find( '[data-slug="' + message.slug + '"]' ); if ( 'undefined' !== typeof message.removeClasses ) { $message.removeClass( message.removeClasses ); } if ( 'undefined' !== typeof message.addClasses ) { $message.addClass( message.addClasses ); } if ( '' === message.ariaLabel ) { $message.removeAttr( 'aria-label' ); } else { $message.attr( 'aria-label', message.ariaLabel ); } if ( 'dependencies-check-success' === message.status ) { $message .attr( 'data-name', message.pluginName ) .attr( 'data-slug', message.slug ) .attr( 'data-plugin', message.plugin ) .attr( 'href', message.href ); } $message.text( message.text ); } if ( 'undefined' === typeof message.action ) { return; } switch ( message.action ) { // Called from `wp-admin/includes/class-wp-upgrader-skins.php`. case 'decrementUpdateCount': /** @property {string} message.upgradeType */ wp.updates.decrementCount( message.upgradeType ); break; case 'install-plugin': case 'update-plugin': if ( 'undefined' === typeof message.data || 'undefined' === typeof message.data.slug ) { return; } message.data = wp.updates._addCallbacks( message.data, message.action ); wp.updates.queue.push( message ); wp.updates.queueChecker(); break; } } ); /** * Adds a callback to display a warning before leaving the page. * * @since 4.2.0 */ $( window ).on( 'beforeunload', wp.updates.beforeunload ); /** * Prevents the page form scrolling when activating auto-updates with the Spacebar key. * * @since 5.5.0 */ $document.on( 'keydown', '.column-auto-updates .toggle-auto-update, .theme-overlay .toggle-auto-update', function( event ) { if ( 32 === event.which ) { event.preventDefault(); } } ); /** * Click and keyup handler for enabling and disabling plugin and theme auto-updates. * * These controls can be either links or buttons. When JavaScript is enabled, * we want them to behave like buttons. An ARIA role `button` is added via * the JavaScript that targets elements with the CSS class `aria-button-if-js`. * * @since 5.5.0 */ $document.on( 'click keyup', '.column-auto-updates .toggle-auto-update, .theme-overlay .toggle-auto-update', function( event ) { var data, asset, type, $parent, $toggler = $( this ), action = $toggler.attr( 'data-wp-action' ), $label = $toggler.find( '.label' ); if ( 'keyup' === event.type && 32 !== event.which ) { return; } if ( 'themes' !== pagenow ) { $parent = $toggler.closest( '.column-auto-updates' ); } else { $parent = $toggler.closest( '.theme-autoupdate' ); } event.preventDefault(); // Prevent multiple simultaneous requests. if ( $toggler.attr( 'data-doing-ajax' ) === 'yes' ) { return; } $toggler.attr( 'data-doing-ajax', 'yes' ); switch ( pagenow ) { case 'plugins': case 'plugins-network': type = 'plugin'; asset = $toggler.closest( 'tr' ).attr( 'data-plugin' ); break; case 'themes-network': type = 'theme'; asset = $toggler.closest( 'tr' ).attr( 'data-slug' ); break; case 'themes': type = 'theme'; asset = $toggler.attr( 'data-slug' ); break; } // Clear any previous errors. $parent.find( '.notice.notice-error' ).addClass( 'hidden' ); // Show loading status. if ( 'enable' === action ) { $label.text( __( 'Enabling...' ) ); } else { $label.text( __( 'Disabling...' ) ); } $toggler.find( '.dashicons-update' ).removeClass( 'hidden' ); data = { action: 'toggle-auto-updates', _ajax_nonce: settings.ajax_nonce, state: action, type: type, asset: asset }; $.post( window.ajaxurl, data ) .done( function( response ) { var $enabled, $disabled, enabledNumber, disabledNumber, errorMessage, href = $toggler.attr( 'href' ); if ( ! response.success ) { // if WP returns 0 for response (which can happen in a few cases), // output the general error message since we won't have response.data.error. if ( response.data && response.data.error ) { errorMessage = response.data.error; } else { errorMessage = __( 'The request could not be completed.' ); } $parent.find( '.notice.notice-error' ).removeClass( 'hidden' ).find( 'p' ).text( errorMessage ); wp.a11y.speak( errorMessage, 'assertive' ); return; } // Update the counts in the enabled/disabled views if on a screen // with a list table. if ( 'themes' !== pagenow ) { $enabled = $( '.auto-update-enabled span' ); $disabled = $( '.auto-update-disabled span' ); enabledNumber = parseInt( $enabled.text().replace( /[^\d]+/g, '' ), 10 ) || 0; disabledNumber = parseInt( $disabled.text().replace( /[^\d]+/g, '' ), 10 ) || 0; switch ( action ) { case 'enable': ++enabledNumber; --disabledNumber; break; case 'disable': --enabledNumber; ++disabledNumber; break; } enabledNumber = Math.max( 0, enabledNumber ); disabledNumber = Math.max( 0, disabledNumber ); $enabled.text( '(' + enabledNumber + ')' ); $disabled.text( '(' + disabledNumber + ')' ); } if ( 'enable' === action ) { // The toggler control can be either a link or a button. if ( $toggler[ 0 ].hasAttribute( 'href' ) ) { href = href.replace( 'action=enable-auto-update', 'action=disable-auto-update' ); $toggler.attr( 'href', href ); } $toggler.attr( 'data-wp-action', 'disable' ); $label.text( __( 'Disable auto-updates' ) ); $parent.find( '.auto-update-time' ).removeClass( 'hidden' ); wp.a11y.speak( __( 'Auto-updates enabled' ) ); } else { // The toggler control can be either a link or a button. if ( $toggler[ 0 ].hasAttribute( 'href' ) ) { href = href.replace( 'action=disable-auto-update', 'action=enable-auto-update' ); $toggler.attr( 'href', href ); } $toggler.attr( 'data-wp-action', 'enable' ); $label.text( __( 'Enable auto-updates' ) ); $parent.find( '.auto-update-time' ).addClass( 'hidden' ); wp.a11y.speak( __( 'Auto-updates disabled' ) ); } $document.trigger( 'wp-auto-update-setting-changed', { state: action, type: type, asset: asset } ); } ) .fail( function() { $parent.find( '.notice.notice-error' ) .removeClass( 'hidden' ) .find( 'p' ) .text( __( 'The request could not be completed.' ) ); wp.a11y.speak( __( 'The request could not be completed.' ), 'assertive' ); } ) .always( function() { $toggler.removeAttr( 'data-doing-ajax' ).find( '.dashicons-update' ).addClass( 'hidden' ); } ); } ); } ); })( jQuery, window.wp, window._wpUpdatesSettings ); tags.min.js 0000644 00000004643 15174671433 0006644 0 ustar 00 /*! This file is auto-generated */ jQuery(function(s){var o=!1;function a(e){e.children().css("backgroundColor",""),e.css("pointer-events",""),e.find(":input, a").prop("disabled",!1).removeAttr("tabindex")}s("#the-list").on("click",".delete-tag",function(){var n,e=s(this),r=e.parents("tr"),t=!0;return(t="undefined"!=showNotice?showNotice.warn():t)&&(n=e.attr("href").replace(/[^?]*\?/,"").replace(/action=delete/,"action=delete-tag"),r.children().css("backgroundColor","#faafaa"),r.css("pointer-events","none"),r.find(":input, a").prop("disabled",!0).attr("tabindex",-1),s.post(ajaxurl,n,function(e){if("1"==e){s("#ajax-response").empty();let e=r.next("tr").find("a.row-title");var t=r.prev("tr").find("a.row-title");e.length<1&&t.length<1?e=s("#tag-name").trigger("focus"):e.length<1&&(e=t),r.fadeOut("normal",function(){r.remove()}),s('select#parent option[value="'+n.match(/tag_ID=(\d+)/)[1]+'"]').remove(),s("a.tag-link-"+n.match(/tag_ID=(\d+)/)[1]).remove(),e.trigger("focus"),t=wp.i18n.__("The selected tag has been deleted.")}else t="-1"==e?wp.i18n.__("Sorry, you are not allowed to do that."):wp.i18n.__("An error occurred while processing your request. Please try again later."),s("#ajax-response").empty().append('<div class="notice notice-error"><p>'+t+"</p></div>"),a(r);wp.a11y.speak(t,"assertive")})),!1}),s("#edittag").on("click",".delete",function(e){if("undefined"==typeof showNotice)return!0;showNotice.warn()||e.preventDefault()}),s("#submit").on("click",function(){var a=s(this).parents("form");return o||(o=!0,a.find(".submit .spinner").addClass("is-active"),s.post(ajaxurl,s("#addtag").serialize(),function(e){var t,n,r;if(o=!1,a.find(".submit .spinner").removeClass("is-active"),s("#ajax-response").empty(),(t=wpAjax.parseAjaxResponse(e,"ajax-response")).errors&&"empty_term_name"===t.responses[0].errors[0].code&&validateForm(a),t&&!t.errors){if(0<(e=a.find("select#parent").val())&&0<s("#tag-"+e).length?s(".tags #tag-"+e).after(t.responses[0].supplemental.noparents):s(".tags").prepend(t.responses[0].supplemental.parents),s(".tags .no-items").remove(),a.find("select#parent")){for(e=t.responses[1].supplemental,n="",r=0;r<t.responses[1].position;r++)n+=" ";a.find("select#parent option:selected").after('<option value="'+e.term_id+'">'+n+e.name+"</option>")}s('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):visible, textarea:visible',a).val("")}})),!1})}); link.min.js 0000644 00000003316 15174671433 0006637 0 ustar 00 /*! This file is auto-generated */ jQuery(function(a){var t,c,e,i=!1;a("#link_name").trigger("focus"),postboxes.add_postbox_toggles("link"),a("#category-tabs a").on("click",function(){var t=a(this).attr("href");return a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(".tabs-panel").hide(),a(t).show(),"#categories-all"==t?deleteUserSetting("cats"):setUserSetting("cats","pop"),!1}),getUserSetting("cats")&&a('#category-tabs a[href="#categories-pop"]').trigger("click"),t=a("#newcat").one("focus",function(){a(this).val("").removeClass("form-input-tip")}),a("#link-category-add-submit").on("click",function(){t.focus()}),c=function(){var t,e;i||(i=!0,t=(e=a(this)).is(":checked"),e=e.val().toString(),a("#in-link-category-"+e+", #in-popular-link_category-"+e).prop("checked",t),i=!1)},e=function(t,e){a(e.what+" response_data",t).each(function(){a(a(this).text()).find("label").each(function(){var t=a(this),e=t.find("input").val(),i=t.find("input")[0].id,t=t.text().trim();a("#"+i).on("change",c),a('<option value="'+parseInt(e,10)+'"></option>').text(t)})})},a("#categorychecklist").wpList({alt:"",what:"link-category",response:"category-ajax-response",addAfter:e}),a('a[href="#categories-all"]').on("click",function(){deleteUserSetting("cats")}),a('a[href="#categories-pop"]').on("click",function(){setUserSetting("cats","pop")}),"pop"==getUserSetting("cats")&&a('a[href="#categories-pop"]').trigger("click"),a("#category-add-toggle").on("click",function(){return a(this).parents("div:first").toggleClass("wp-hidden-children"),a('#category-tabs a[href="#categories-all"]').trigger("click"),a("#newcategory").trigger("focus"),!1}),a(".categorychecklist :checkbox").on("change",c).filter(":checked").trigger("change")}); media-upload.min.js 0000644 00000002200 15174671433 0010232 0 ustar 00 /*! This file is auto-generated */ window.send_to_editor=function(t){var e,i="undefined"!=typeof tinymce,n="undefined"!=typeof QTags;if(wpActiveEditor)i&&(e=tinymce.get(wpActiveEditor));else if(i&&tinymce.activeEditor)e=tinymce.activeEditor,window.wpActiveEditor=e.id;else if(!n)return!1;if(e&&!e.isHidden()?e.execCommand("mceInsertContent",!1,t):n?QTags.insertContent(t):document.getElementById(wpActiveEditor).value+=t,window.tb_remove)try{window.tb_remove()}catch(t){}},function(d){window.tb_position=function(){var t=d("#TB_window"),e=d(window).width(),i=d(window).height(),n=833<e?833:e,o=0;return d("#wpadminbar").length&&(o=parseInt(d("#wpadminbar").css("height"),10)),t.length&&(t.width(n-50).height(i-45-o),d("#TB_iframeContent").width(n-50).height(i-75-o),t.css({"margin-left":"-"+parseInt((n-50)/2,10)+"px"}),void 0!==document.body.style.maxWidth)&&t.css({top:20+o+"px","margin-top":"0"}),d("a.thickbox").each(function(){var t=d(this).attr("href");t&&(t=(t=t.replace(/&width=[0-9]+/g,"")).replace(/&height=[0-9]+/g,""),d(this).attr("href",t+"&width="+(n-80)+"&height="+(i-85-o)))})},d(window).on("resize",function(){tb_position()})}(jQuery); site-icon.min.js 0000644 00000004316 15174671433 0007575 0 ustar 00 /*! This file is auto-generated */ !function(t){var a,i=t("#choose-from-library-button"),s=t("#site-icon-preview"),r=t("#browser-icon-preview"),n=t("#app-icon-preview"),l=t("#site_icon_hidden_field"),o=t("#js-remove-site-icon");function c(t){var e=t.get("width"),t=t.get("height"),a=512,i=512,s=a/i,r=a,n=i;return s<e/t?a=(i=t)*s:i=(a=e)/s,{aspectRatio:a+":"+i,handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:e,imageHeight:t,minWidth:a<r?a:r,minHeight:i<n?i:n,x1:s=(e-a)/2,y1:r=(t-i)/2,x2:a+s,y2:i+r}}function d(t){var e,a=t.alt?(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: Current image: %s"),t.alt),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: Current image: %s"),t.alt)):(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: The current image has no alternative text. The file name is: %s"),t.filename),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: The current image has no alternative text. The file name is: %s"),t.filename));n.attr({src:t.url,alt:e}),r.attr({src:t.url,alt:a}),s.removeClass("hidden"),o.removeClass("hidden"),document.documentElement.style.setProperty("--site-icon-url","url("+t.url+")"),"1"!==i.attr("data-state")&&i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":"1"}),i.text(i.attr("data-update-text"))}i.on("click",function(){var e=t(this);(a=wp.media({button:{text:e.data("update"),close:!1},states:[new wp.media.controller.Library({title:e.data("choose-text"),library:wp.media.query({type:"image"}),date:!1,suggestedWidth:e.data("size"),suggestedHeight:e.data("size")}),new wp.media.controller.SiteIconCropper({control:{params:{width:e.data("size"),height:e.data("size")}},imgSelectOptions:c})]})).on("cropped",function(t){l.val(t.id),d(t),a.close(),a=null}),a.on("select",function(){var t=a.state().get("selection").first();t.attributes.height===e.data("size")&&e.data("size")===t.attributes.width?(d(t.attributes),a.close(),l.val(t.id)):a.setState("cropper")}),a.open()}),o.on("click",function(){l.val("false"),t(this).toggleClass("hidden"),s.toggleClass("hidden"),r.attr({src:"",alt:""}),n.attr({src:"",alt:""}),i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":""}).text(i.attr("data-choose-text")).trigger("focus")})}(jQuery); password-strength-meter.min.js 0000644 00000002143 15174671433 0012507 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(a){var e=wp.i18n.__,n=wp.i18n.sprintf;wp.passwordStrength={meter:function(e,n,t){return Array.isArray(n)||(n=[n.toString()]),e!=t&&t&&0<t.length?5:void 0===window.zxcvbn?-1:zxcvbn(e,n).score},userInputBlacklist:function(){return window.console.log(n(e("%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code."),"wp.passwordStrength.userInputBlacklist()","5.5.0","wp.passwordStrength.userInputDisallowedList()")),wp.passwordStrength.userInputDisallowedList()},userInputDisallowedList:function(){var e,n,t,r,s=[],i=[],o=["user_login","first_name","last_name","nickname","display_name","email","url","description","weblog_title","admin_email"];for(s.push(document.title),s.push(document.URL),n=o.length,e=0;e<n;e++)0!==(r=a("#"+o[e])).length&&(s.push(r[0].defaultValue),s.push(r.val()));for(t=s.length,e=0;e<t;e++)s[e]&&(i=i.concat(s[e].replace(/\W/g," ").split(" ")));return i=a.grep(i,function(e,n){return!(""===e||e.length<4)&&a.inArray(e,i)===n})}},window.passwordStrength=wp.passwordStrength.meter}(jQuery); theme.js 0000644 00000155707 15174671433 0006236 0 ustar 00 /** * @output wp-admin/js/theme.js */ /* global _wpThemeSettings, confirm, tb_position */ window.wp = window.wp || {}; ( function($) { // Set up our namespace... var themes, l10n; themes = wp.themes = wp.themes || {}; // Store the theme data and settings for organized and quick access. // themes.data.settings, themes.data.themes, themes.data.l10n. themes.data = _wpThemeSettings; l10n = themes.data.l10n; // Shortcut for isInstall check. themes.isInstall = !! themes.data.settings.isInstall; // Setup app structure. _.extend( themes, { model: {}, view: {}, routes: {}, router: {}, template: wp.template }); themes.Model = Backbone.Model.extend({ // Adds attributes to the default data coming through the .org themes api. // Map `id` to `slug` for shared code. initialize: function() { var description; if ( this.get( 'slug' ) ) { // If the theme is already installed, set an attribute. if ( _.indexOf( themes.data.installedThemes, this.get( 'slug' ) ) !== -1 ) { this.set({ installed: true }); } // If the theme is active, set an attribute. if ( themes.data.activeTheme === this.get( 'slug' ) ) { this.set({ active: true }); } } // Set the attributes. this.set({ // `slug` is for installation, `id` is for existing. id: this.get( 'slug' ) || this.get( 'id' ) }); // Map `section.description` to `description` // as the API sometimes returns it differently. if ( this.has( 'sections' ) ) { description = this.get( 'sections' ).description; this.set({ description: description }); } } }); // Main view controller for themes.php. // Unifies and renders all available views. themes.view.Appearance = wp.Backbone.View.extend({ el: '#wpbody-content .wrap .theme-browser', window: $( window ), // Pagination instance. page: 0, // Sets up a throttler for binding to 'scroll'. initialize: function( options ) { // Scroller checks how far the scroll position is. _.bindAll( this, 'scroller' ); this.SearchView = options.SearchView ? options.SearchView : themes.view.Search; // Bind to the scroll event and throttle // the results from this.scroller. this.window.on( 'scroll', _.throttle( this.scroller, 300 ) ); }, // Main render control. render: function() { // Setup the main theme view // with the current theme collection. this.view = new themes.view.Themes({ collection: this.collection, parent: this }); // Render search form. this.search(); this.$el.removeClass( 'search-loading' ); // Render and append. this.view.render(); this.$el.empty().append( this.view.el ).addClass( 'rendered' ); }, // Defines search element container. searchContainer: $( '.search-form' ), // Search input and view // for current theme collection. search: function() { var view, self = this; // Don't render the search if there is only one theme. if ( themes.data.themes.length === 1 ) { return; } view = new this.SearchView({ collection: self.collection, parent: this }); self.SearchView = view; // Render and append after screen title. view.render(); this.searchContainer .find( '.search-box' ) .append( $.parseHTML( '<label for="wp-filter-search-input">' + l10n.search + '</label>' ) ) .append( view.el ); this.searchContainer.on( 'submit', function( event ) { event.preventDefault(); }); }, // Checks when the user gets close to the bottom // of the mage and triggers a theme:scroll event. scroller: function() { var self = this, bottom, threshold; bottom = this.window.scrollTop() + self.window.height(); threshold = self.$el.offset().top + self.$el.outerHeight( false ) - self.window.height(); threshold = Math.round( threshold * 0.9 ); if ( bottom > threshold ) { this.trigger( 'theme:scroll' ); } } }); // Set up the Collection for our theme data. // @has 'id' 'name' 'screenshot' 'author' 'authorURI' 'version' 'active' ... themes.Collection = Backbone.Collection.extend({ model: themes.Model, // Search terms. terms: '', // Controls searching on the current theme collection // and triggers an update event. doSearch: function( value ) { // Don't do anything if we've already done this search. // Useful because the Search handler fires multiple times per keystroke. if ( this.terms === value ) { return; } // Updates terms with the value passed. this.terms = value; // If we have terms, run a search... if ( this.terms.length > 0 ) { this.search( this.terms ); } // If search is blank, show all themes. // Useful for resetting the views when you clean the input. if ( this.terms === '' ) { this.reset( themes.data.themes ); $( 'body' ).removeClass( 'no-results' ); } // Trigger a 'themes:update' event. this.trigger( 'themes:update' ); }, /** * Performs a search within the collection. * * @uses RegExp */ search: function( term ) { var match, results, haystack, name, description, author; // Start with a full collection. this.reset( themes.data.themes, { silent: true } ); // Trim the term. term = term.trim(); // Escape the term string for RegExp meta characters. term = term.replace( /[-\/\\^$*+?.()|[\]{}]/g, '\\$&' ); // Consider spaces as word delimiters and match the whole string // so matching terms can be combined. term = term.replace( / /g, ')(?=.*' ); match = new RegExp( '^(?=.*' + term + ').+', 'i' ); // Find results. // _.filter() and .test(). results = this.filter( function( data ) { name = data.get( 'name' ).replace( /(<([^>]+)>)/ig, '' ); description = data.get( 'description' ).replace( /(<([^>]+)>)/ig, '' ); author = data.get( 'author' ).replace( /(<([^>]+)>)/ig, '' ); haystack = _.union( [ name, data.get( 'id' ), description, author, data.get( 'tags' ) ] ); if ( match.test( data.get( 'author' ) ) && term.length > 2 ) { data.set( 'displayAuthor', true ); } return match.test( haystack ); }); if ( results.length === 0 ) { this.trigger( 'query:empty' ); } else { $( 'body' ).removeClass( 'no-results' ); } this.reset( results ); }, // Paginates the collection with a helper method // that slices the collection. paginate: function( instance ) { var collection = this; instance = instance || 0; // Themes per instance are set at 20. collection = _( collection.rest( 20 * instance ) ); collection = _( collection.first( 20 ) ); return collection; }, count: false, /* * Handles requests for more themes and caches results. * * * When we are missing a cache object we fire an apiCall() * which triggers events of `query:success` or `query:fail`. */ query: function( request ) { /** * @static * @type Array */ var queries = this.queries, self = this, query, isPaginated, count; // Store current query request args // for later use with the event `theme:end`. this.currentQuery.request = request; // Search the query cache for matches. query = _.find( queries, function( query ) { return _.isEqual( query.request, request ); }); // If the request matches the stored currentQuery.request // it means we have a paginated request. isPaginated = _.has( request, 'page' ); // Reset the internal api page counter for non-paginated queries. if ( ! isPaginated ) { this.currentQuery.page = 1; } // Otherwise, send a new API call and add it to the cache. if ( ! query && ! isPaginated ) { query = this.apiCall( request ).done( function( data ) { // Update the collection with the queried data. if ( data.themes ) { self.reset( data.themes ); count = data.info.results; // Store the results and the query request. queries.push( { themes: data.themes, request: request, total: count } ); } // Trigger a collection refresh event // and a `query:success` event with a `count` argument. self.trigger( 'themes:update' ); self.trigger( 'query:success', count ); if ( data.themes && data.themes.length === 0 ) { self.trigger( 'query:empty' ); } }).fail( function() { self.trigger( 'query:fail' ); }); } else { // If it's a paginated request we need to fetch more themes... if ( isPaginated ) { return this.apiCall( request, isPaginated ).done( function( data ) { // Add the new themes to the current collection. // @todo Update counter. self.add( data.themes ); self.trigger( 'query:success' ); // We are done loading themes for now. self.loadingThemes = false; }).fail( function() { self.trigger( 'query:fail' ); }); } if ( query.themes.length === 0 ) { self.trigger( 'query:empty' ); } else { $( 'body' ).removeClass( 'no-results' ); } // Only trigger an update event since we already have the themes // on our cached object. if ( _.isNumber( query.total ) ) { this.count = query.total; } this.reset( query.themes ); if ( ! query.total ) { this.count = this.length; } this.trigger( 'themes:update' ); this.trigger( 'query:success', this.count ); } }, // Local cache array for API queries. queries: [], // Keep track of current query so we can handle pagination. currentQuery: { page: 1, request: {} }, // Send request to api.wordpress.org/themes. apiCall: function( request, paginated ) { return wp.ajax.send( 'query-themes', { data: { // Request data. request: _.extend({ per_page: 100 }, request) }, beforeSend: function() { if ( ! paginated ) { // Spin it. $( 'body' ).addClass( 'loading-content' ).removeClass( 'no-results' ); } } }); }, // Static status controller for when we are loading themes. loadingThemes: false }); // This is the view that controls each theme item // that will be displayed on the screen. themes.view.Theme = wp.Backbone.View.extend({ // Wrap theme data on a div.theme element. className: 'theme', // Reflects which theme view we have. // 'grid' (default) or 'detail'. state: 'grid', // The HTML template for each element to be rendered. html: themes.template( 'theme' ), events: { 'click': themes.isInstall ? 'preview': 'expand', 'keydown': themes.isInstall ? 'preview': 'expand', 'touchend': themes.isInstall ? 'preview': 'expand', 'keyup': 'addFocus', 'touchmove': 'preventExpand', 'click .theme-install': 'installTheme', 'click .update-message': 'updateTheme' }, touchDrag: false, initialize: function() { this.model.on( 'change', this.render, this ); }, render: function() { var data = this.model.toJSON(); // Render themes using the html template. this.$el.html( this.html( data ) ).attr( 'data-slug', data.id ); // Renders active theme styles. this.activeTheme(); if ( this.model.get( 'displayAuthor' ) ) { this.$el.addClass( 'display-author' ); } }, // Adds a class to the currently active theme // and to the overlay in detailed view mode. activeTheme: function() { if ( this.model.get( 'active' ) ) { this.$el.addClass( 'active' ); } }, // Add class of focus to the theme we are focused on. addFocus: function() { var $themeToFocus = ( $( ':focus' ).hasClass( 'theme' ) ) ? $( ':focus' ) : $(':focus').parents('.theme'); $('.theme.focus').removeClass('focus'); $themeToFocus.addClass('focus'); }, // Single theme overlay screen. // It's shown when clicking a theme. expand: function( event ) { var self = this; event = event || window.event; // 'Enter' and 'Space' keys expand the details view when a theme is :focused. if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) { return; } // Bail if the user scrolled on a touch device. if ( this.touchDrag === true ) { return this.touchDrag = false; } // Prevent the modal from showing when the user clicks // one of the direct action buttons. if ( $( event.target ).is( '.theme-actions a' ) ) { return; } // Prevent the modal from showing when the user clicks one of the direct action buttons. if ( $( event.target ).is( '.theme-actions a, .update-message, .button-link, .notice-dismiss' ) ) { return; } // Set focused theme to current element. themes.focusedTheme = this.$el; this.trigger( 'theme:expand', self.model.cid ); }, preventExpand: function() { this.touchDrag = true; }, preview: function( event ) { var self = this, current, preview; event = event || window.event; // Bail if the user scrolled on a touch device. if ( this.touchDrag === true ) { return this.touchDrag = false; } // Allow direct link path to installing a theme. if ( $( event.target ).not( '.install-theme-preview' ).parents( '.theme-actions' ).length ) { return; } // 'Enter' and 'Space' keys expand the details view when a theme is :focused. if ( event.type === 'keydown' && ( event.which !== 13 && event.which !== 32 ) ) { return; } // Pressing Enter while focused on the buttons shouldn't open the preview. if ( event.type === 'keydown' && event.which !== 13 && $( ':focus' ).hasClass( 'button' ) ) { return; } event.preventDefault(); event = event || window.event; // Set focus to current theme. themes.focusedTheme = this.$el; // Construct a new Preview view. themes.preview = preview = new themes.view.Preview({ model: this.model }); // Render the view and append it. preview.render(); this.setNavButtonsState(); // Hide previous/next navigation if there is only one theme. if ( this.model.collection.length === 1 ) { preview.$el.addClass( 'no-navigation' ); } else { preview.$el.removeClass( 'no-navigation' ); } // Append preview. $( 'div.wrap' ).append( preview.el ); // Listen to our preview object // for `theme:next` and `theme:previous` events. this.listenTo( preview, 'theme:next', function() { // Keep local track of current theme model. current = self.model; // If we have ventured away from current model update the current model position. if ( ! _.isUndefined( self.current ) ) { current = self.current; } // Get next theme model. self.current = self.model.collection.at( self.model.collection.indexOf( current ) + 1 ); // If we have no more themes, bail. if ( _.isUndefined( self.current ) ) { self.options.parent.parent.trigger( 'theme:end' ); return self.current = current; } preview.model = self.current; // Render and append. preview.render(); this.setNavButtonsState(); $( '.next-theme' ).trigger( 'focus' ); }) .listenTo( preview, 'theme:previous', function() { // Keep track of current theme model. current = self.model; // Bail early if we are at the beginning of the collection. if ( self.model.collection.indexOf( self.current ) === 0 ) { return; } // If we have ventured away from current model update the current model position. if ( ! _.isUndefined( self.current ) ) { current = self.current; } // Get previous theme model. self.current = self.model.collection.at( self.model.collection.indexOf( current ) - 1 ); // If we have no more themes, bail. if ( _.isUndefined( self.current ) ) { return; } preview.model = self.current; // Render and append. preview.render(); this.setNavButtonsState(); $( '.previous-theme' ).trigger( 'focus' ); }); this.listenTo( preview, 'preview:close', function() { self.current = self.model; }); }, // Handles .disabled classes for previous/next buttons in theme installer preview. setNavButtonsState: function() { var $themeInstaller = $( '.theme-install-overlay' ), current = _.isUndefined( this.current ) ? this.model : this.current, previousThemeButton = $themeInstaller.find( '.previous-theme' ), nextThemeButton = $themeInstaller.find( '.next-theme' ); // Disable previous at the zero position. if ( 0 === this.model.collection.indexOf( current ) ) { previousThemeButton .addClass( 'disabled' ) .prop( 'disabled', true ); nextThemeButton.trigger( 'focus' ); } // Disable next if the next model is undefined. if ( _.isUndefined( this.model.collection.at( this.model.collection.indexOf( current ) + 1 ) ) ) { nextThemeButton .addClass( 'disabled' ) .prop( 'disabled', true ); previousThemeButton.trigger( 'focus' ); } }, installTheme: function( event ) { var _this = this; event.preventDefault(); wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).on( 'wp-theme-install-success', function( event, response ) { if ( _this.model.get( 'id' ) === response.slug ) { _this.model.set( { 'installed': true } ); } if ( response.blockTheme ) { _this.model.set( { 'block_theme': true } ); } } ); wp.updates.installTheme( { slug: $( event.target ).data( 'slug' ) } ); }, updateTheme: function( event ) { var _this = this; if ( ! this.model.get( 'hasPackage' ) ) { return; } event.preventDefault(); wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).on( 'wp-theme-update-success', function( event, response ) { _this.model.off( 'change', _this.render, _this ); if ( _this.model.get( 'id' ) === response.slug ) { _this.model.set( { hasUpdate: false, version: response.newVersion } ); } _this.model.on( 'change', _this.render, _this ); } ); wp.updates.updateTheme( { slug: $( event.target ).parents( 'div.theme' ).first().data( 'slug' ) } ); } }); // Theme Details view. // Sets up a modal overlay with the expanded theme data. themes.view.Details = wp.Backbone.View.extend({ // Wrap theme data on a div.theme element. className: 'theme-overlay', events: { 'click': 'collapse', 'click .delete-theme': 'deleteTheme', 'click .left': 'previousTheme', 'click .right': 'nextTheme', 'click #update-theme': 'updateTheme', 'click .toggle-auto-update': 'autoupdateState' }, // The HTML template for the theme overlay. html: themes.template( 'theme-single' ), render: function() { var data = this.model.toJSON(); this.$el.html( this.html( data ) ); // Renders active theme styles. this.activeTheme(); // Set up navigation events. this.navigation(); // Checks screenshot size. this.screenshotCheck( this.$el ); // Contain "tabbing" inside the overlay. this.containFocus( this.$el ); }, // Adds a class to the currently active theme // and to the overlay in detailed view mode. activeTheme: function() { // Check the model has the active property. this.$el.toggleClass( 'active', this.model.get( 'active' ) ); }, // Set initial focus and constrain tabbing within the theme browser modal. containFocus: function( $el ) { // Set initial focus on the primary action control. _.delay( function() { $( '.theme-overlay' ).trigger( 'focus' ); }, 100 ); // Constrain tabbing within the modal. $el.on( 'keydown.wp-themes', function( event ) { var $firstFocusable = $el.find( '.theme-header button:not(.disabled)' ).first(), $lastFocusable = $el.find( '.theme-actions a:visible' ).last(); // Check for the Tab key. if ( 9 === event.which ) { if ( $firstFocusable[0] === event.target && event.shiftKey ) { $lastFocusable.trigger( 'focus' ); event.preventDefault(); } else if ( $lastFocusable[0] === event.target && ! event.shiftKey ) { $firstFocusable.trigger( 'focus' ); event.preventDefault(); } } }); }, // Single theme overlay screen. // It's shown when clicking a theme. collapse: function( event ) { var self = this, scroll; event = event || window.event; // Prevent collapsing detailed view when there is only one theme available. if ( themes.data.themes.length === 1 ) { return; } // Detect if the click is inside the overlay and don't close it // unless the target was the div.back button. if ( $( event.target ).is( '.theme-backdrop' ) || $( event.target ).is( '.close' ) || event.keyCode === 27 ) { // Add a temporary closing class while overlay fades out. $( 'body' ).addClass( 'closing-overlay' ); // With a quick fade out animation. this.$el.fadeOut( 130, function() { // Clicking outside the modal box closes the overlay. $( 'body' ).removeClass( 'closing-overlay' ); // Handle event cleanup. self.closeOverlay(); // Get scroll position to avoid jumping to the top. scroll = document.body.scrollTop; // Clean the URL structure. themes.router.navigate( themes.router.baseUrl( '' ) ); // Restore scroll position. document.body.scrollTop = scroll; // Return focus to the theme div. if ( themes.focusedTheme ) { themes.focusedTheme.find('.more-details').trigger( 'focus' ); } }); } }, // Handles .disabled classes for next/previous buttons. navigation: function() { // Disable Left/Right when at the start or end of the collection. if ( this.model.cid === this.model.collection.at(0).cid ) { this.$el.find( '.left' ) .addClass( 'disabled' ) .prop( 'disabled', true ); } if ( this.model.cid === this.model.collection.at( this.model.collection.length - 1 ).cid ) { this.$el.find( '.right' ) .addClass( 'disabled' ) .prop( 'disabled', true ); } }, // Performs the actions to effectively close // the theme details overlay. closeOverlay: function() { $( 'body' ).removeClass( 'modal-open' ); this.remove(); this.unbind(); this.trigger( 'theme:collapse' ); }, // Set state of the auto-update settings link after it has been changed and saved. autoupdateState: function() { var callback, _this = this; // Support concurrent clicks in different Theme Details overlays. callback = function( event, data ) { var autoupdate; if ( _this.model.get( 'id' ) === data.asset ) { autoupdate = _this.model.get( 'autoupdate' ); autoupdate.enabled = 'enable' === data.state; _this.model.set( { autoupdate: autoupdate } ); $( document ).off( 'wp-auto-update-setting-changed', callback ); } }; // Triggered in updates.js $( document ).on( 'wp-auto-update-setting-changed', callback ); }, updateTheme: function( event ) { var _this = this; event.preventDefault(); wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).on( 'wp-theme-update-success', function( event, response ) { if ( _this.model.get( 'id' ) === response.slug ) { _this.model.set( { hasUpdate: false, version: response.newVersion } ); } _this.render(); } ); wp.updates.updateTheme( { slug: $( event.target ).data( 'slug' ) } ); }, deleteTheme: function( event ) { var _this = this, _collection = _this.model.collection, _themes = themes; event.preventDefault(); // Confirmation dialog for deleting a theme. if ( ! window.confirm( wp.themes.data.settings.confirmDelete ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).one( 'wp-theme-delete-success', function( event, response ) { _this.$el.find( '.close' ).trigger( 'click' ); $( '[data-slug="' + response.slug + '"]' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() { $( this ).remove(); _themes.data.themes = _.without( _themes.data.themes, _.findWhere( _themes.data.themes, { id: response.slug } ) ); $( '.wp-filter-search' ).val( '' ); _collection.doSearch( '' ); _collection.remove( _this.model ); _collection.trigger( 'themes:update' ); } ); } ); wp.updates.deleteTheme( { slug: this.model.get( 'id' ) } ); }, nextTheme: function() { var self = this; self.trigger( 'theme:next', self.model.cid ); return false; }, previousTheme: function() { var self = this; self.trigger( 'theme:previous', self.model.cid ); return false; }, // Checks if the theme screenshot is the old 300px width version // and adds a corresponding class if it's true. screenshotCheck: function( el ) { var screenshot, image; screenshot = el.find( '.screenshot img' ); image = new Image(); image.src = screenshot.attr( 'src' ); // Width check. if ( image.width && image.width <= 300 ) { el.addClass( 'small-screenshot' ); } } }); // Theme Preview view. // Sets up a modal overlay with the expanded theme data. themes.view.Preview = themes.view.Details.extend({ className: 'wp-full-overlay expanded', el: '.theme-install-overlay', events: { 'click .close-full-overlay': 'close', 'click .collapse-sidebar': 'collapse', 'click .devices button': 'previewDevice', 'click .previous-theme': 'previousTheme', 'click .next-theme': 'nextTheme', 'keyup': 'keyEvent', 'click .theme-install': 'installTheme' }, // The HTML template for the theme preview. html: themes.template( 'theme-preview' ), render: function() { var self = this, currentPreviewDevice, data = this.model.toJSON(), $body = $( document.body ); $body.attr( 'aria-busy', 'true' ); this.$el.removeClass( 'iframe-ready' ).html( this.html( data ) ); currentPreviewDevice = this.$el.data( 'current-preview-device' ); if ( currentPreviewDevice ) { self.togglePreviewDeviceButtons( currentPreviewDevice ); } themes.router.navigate( themes.router.baseUrl( themes.router.themePath + this.model.get( 'id' ) ), { replace: false } ); this.$el.fadeIn( 200, function() { $body.addClass( 'theme-installer-active full-overlay-active' ); }); this.$el.find( 'iframe' ).one( 'load', function() { self.iframeLoaded(); }); }, iframeLoaded: function() { this.$el.addClass( 'iframe-ready' ); $( document.body ).attr( 'aria-busy', 'false' ); }, close: function() { this.$el.fadeOut( 200, function() { $( 'body' ).removeClass( 'theme-installer-active full-overlay-active' ); // Return focus to the theme div. if ( themes.focusedTheme ) { themes.focusedTheme.find('.more-details').trigger( 'focus' ); } }).removeClass( 'iframe-ready' ); // Restore the previous browse tab if available. if ( themes.router.selectedTab ) { themes.router.navigate( themes.router.baseUrl( '?browse=' + themes.router.selectedTab ) ); themes.router.selectedTab = false; } else { themes.router.navigate( themes.router.baseUrl( '' ) ); } this.trigger( 'preview:close' ); this.undelegateEvents(); this.unbind(); return false; }, collapse: function( event ) { var $button = $( event.currentTarget ); if ( 'true' === $button.attr( 'aria-expanded' ) ) { $button.attr({ 'aria-expanded': 'false', 'aria-label': l10n.expandSidebar }); } else { $button.attr({ 'aria-expanded': 'true', 'aria-label': l10n.collapseSidebar }); } this.$el.toggleClass( 'collapsed' ).toggleClass( 'expanded' ); return false; }, previewDevice: function( event ) { var device = $( event.currentTarget ).data( 'device' ); this.$el .removeClass( 'preview-desktop preview-tablet preview-mobile' ) .addClass( 'preview-' + device ) .data( 'current-preview-device', device ); this.togglePreviewDeviceButtons( device ); }, togglePreviewDeviceButtons: function( newDevice ) { var $devices = $( '.wp-full-overlay-footer .devices' ); $devices.find( 'button' ) .removeClass( 'active' ) .attr( 'aria-pressed', false ); $devices.find( 'button.preview-' + newDevice ) .addClass( 'active' ) .attr( 'aria-pressed', true ); }, keyEvent: function( event ) { // The escape key closes the preview. if ( event.keyCode === 27 ) { this.undelegateEvents(); this.close(); } // Return if Ctrl + Shift or Shift key pressed if ( event.shiftKey || ( event.ctrlKey && event.shiftKey ) ) { return; } // The right arrow key, next theme. if ( event.keyCode === 39 ) { _.once( this.nextTheme() ); } // The left arrow key, previous theme. if ( event.keyCode === 37 ) { this.previousTheme(); } }, installTheme: function( event ) { var _this = this, $target = $( event.target ); event.preventDefault(); if ( $target.hasClass( 'disabled' ) ) { return; } wp.updates.maybeRequestFilesystemCredentials( event ); $( document ).on( 'wp-theme-install-success', function() { _this.model.set( { 'installed': true } ); } ); wp.updates.installTheme( { slug: $target.data( 'slug' ) } ); } }); // Controls the rendering of div.themes, // a wrapper that will hold all the theme elements. themes.view.Themes = wp.Backbone.View.extend({ className: 'themes wp-clearfix', $overlay: $( 'div.theme-overlay' ), // Number to keep track of scroll position // while in theme-overlay mode. index: 0, // The theme count element. count: $( '.wrap .theme-count' ), // The live themes count. liveThemeCount: 0, initialize: function( options ) { var self = this; // Set up parent. this.parent = options.parent; // Set current view to [grid]. this.setView( 'grid' ); // Move the active theme to the beginning of the collection. self.currentTheme(); // When the collection is updated by user input... this.listenTo( self.collection, 'themes:update', function() { self.parent.page = 0; self.currentTheme(); self.render( this ); } ); // Update theme count to full result set when available. this.listenTo( self.collection, 'query:success', function( count ) { if ( _.isNumber( count ) ) { self.count.text( count ); self.announceSearchResults( count ); } else { self.count.text( self.collection.length ); self.announceSearchResults( self.collection.length ); } }); this.listenTo( self.collection, 'query:empty', function() { $( 'body' ).addClass( 'no-results' ); }); this.listenTo( this.parent, 'theme:scroll', function() { self.renderThemes( self.parent.page ); }); this.listenTo( this.parent, 'theme:close', function() { if ( self.overlay ) { self.overlay.closeOverlay(); } } ); // Bind keyboard events. $( 'body' ).on( 'keyup', function( event ) { if ( ! self.overlay ) { return; } // Bail if the filesystem credentials dialog is shown. if ( $( '#request-filesystem-credentials-dialog' ).is( ':visible' ) ) { return; } // Return if Ctrl + Shift or Shift key pressed if ( event.shiftKey || ( event.ctrlKey && event.shiftKey ) ) { return; } // Pressing the right arrow key fires a theme:next event. if ( event.keyCode === 39 ) { self.overlay.nextTheme(); } // Pressing the left arrow key fires a theme:previous event. if ( event.keyCode === 37 ) { self.overlay.previousTheme(); } // Pressing the escape key fires a theme:collapse event. if ( event.keyCode === 27 ) { self.overlay.collapse( event ); } }); }, // Manages rendering of theme pages // and keeping theme count in sync. render: function() { // Clear the DOM, please. this.$el.empty(); // If the user doesn't have switch capabilities or there is only one theme // in the collection, render the detailed view of the active theme. if ( themes.data.themes.length === 1 ) { // Constructs the view. this.singleTheme = new themes.view.Details({ model: this.collection.models[0] }); // Render and apply a 'single-theme' class to our container. this.singleTheme.render(); this.$el.addClass( 'single-theme' ); this.$el.append( this.singleTheme.el ); } // Generate the themes using page instance // while checking the collection has items. if ( this.options.collection.size() > 0 ) { this.renderThemes( this.parent.page ); } // Display a live theme count for the collection. this.liveThemeCount = this.collection.count ? this.collection.count : this.collection.length; this.count.text( this.liveThemeCount ); /* * In the theme installer the themes count is already announced * because `announceSearchResults` is called on `query:success`. */ if ( ! themes.isInstall ) { this.announceSearchResults( this.liveThemeCount ); } }, // Iterates through each instance of the collection // and renders each theme module. renderThemes: function( page ) { var self = this; self.instance = self.collection.paginate( page ); // If we have no more themes, bail. if ( self.instance.size() === 0 ) { // Fire a no-more-themes event. this.parent.trigger( 'theme:end' ); return; } // Make sure the add-new stays at the end. if ( ! themes.isInstall && page >= 1 ) { $( '.add-new-theme' ).remove(); } // Loop through the themes and setup each theme view. self.instance.each( function( theme ) { self.theme = new themes.view.Theme({ model: theme, parent: self }); // Render the views... self.theme.render(); // ...and append them to div.themes. self.$el.append( self.theme.el ); // Binds to theme:expand to show the modal box // with the theme details. self.listenTo( self.theme, 'theme:expand', self.expand, self ); }); // 'Add new theme' element shown at the end of the grid. if ( ! themes.isInstall && themes.data.settings.canInstall ) { this.$el.append( '<div class="theme add-new-theme"><a href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span aria-hidden="true"></span></div><h2 class="theme-name">' + l10n.addNew + '</h2></a></div>' ); } this.parent.page++; }, // Grabs current theme and puts it at the beginning of the collection. currentTheme: function() { var self = this, current; current = self.collection.findWhere({ active: true }); // Move the active theme to the beginning of the collection. if ( current ) { self.collection.remove( current ); self.collection.add( current, { at:0 } ); } }, // Sets current view. setView: function( view ) { return view; }, // Renders the overlay with the ThemeDetails view. // Uses the current model data. expand: function( id ) { var self = this, $card, $modal; // Set the current theme model. this.model = self.collection.get( id ); // Trigger a route update for the current model. themes.router.navigate( themes.router.baseUrl( themes.router.themePath + this.model.id ) ); // Sets this.view to 'detail'. this.setView( 'detail' ); $( 'body' ).addClass( 'modal-open' ); // Set up the theme details view. this.overlay = new themes.view.Details({ model: self.model }); this.overlay.render(); if ( this.model.get( 'hasUpdate' ) ) { $card = $( '[data-slug="' + this.model.id + '"]' ); $modal = $( this.overlay.el ); if ( $card.find( '.updating-message' ).length ) { $modal.find( '.notice-warning h3' ).remove(); $modal.find( '.notice-warning' ) .removeClass( 'notice-large' ) .addClass( 'updating-message' ) .find( 'p' ).text( wp.updates.l10n.updating ); } else if ( $card.find( '.notice-error' ).length ) { $modal.find( '.notice-warning' ).remove(); } } this.$overlay.html( this.overlay.el ); // Bind to theme:next and theme:previous triggered by the arrow keys. // Keep track of the current model so we can infer an index position. this.listenTo( this.overlay, 'theme:next', function() { // Renders the next theme on the overlay. self.next( [ self.model.cid ] ); }) .listenTo( this.overlay, 'theme:previous', function() { // Renders the previous theme on the overlay. self.previous( [ self.model.cid ] ); }); }, /* * This method renders the next theme on the overlay modal * based on the current position in the collection. * * @params [model cid] */ next: function( args ) { var self = this, model, nextModel; // Get the current theme. model = self.collection.get( args[0] ); // Find the next model within the collection. nextModel = self.collection.at( self.collection.indexOf( model ) + 1 ); // Confidence check which also serves as a boundary test. if ( nextModel !== undefined ) { // We have a new theme... // Close the overlay. this.overlay.closeOverlay(); // Trigger a route update for the current model. self.theme.trigger( 'theme:expand', nextModel.cid ); } }, /* * This method renders the previous theme on the overlay modal * based on the current position in the collection. * * @params [model cid] */ previous: function( args ) { var self = this, model, previousModel; // Get the current theme. model = self.collection.get( args[0] ); // Find the previous model within the collection. previousModel = self.collection.at( self.collection.indexOf( model ) - 1 ); if ( previousModel !== undefined ) { // We have a new theme... // Close the overlay. this.overlay.closeOverlay(); // Trigger a route update for the current model. self.theme.trigger( 'theme:expand', previousModel.cid ); } }, // Dispatch audible search results feedback message. announceSearchResults: function( count ) { if ( 0 === count ) { wp.a11y.speak( l10n.noThemesFound ); } else { wp.a11y.speak( l10n.themesFound.replace( '%d', count ) ); } } }); // Search input view controller. themes.view.Search = wp.Backbone.View.extend({ tagName: 'input', className: 'wp-filter-search', id: 'wp-filter-search-input', searching: false, attributes: { type: 'search', 'aria-describedby': 'live-search-desc' }, events: { 'input': 'search', 'keyup': 'search', 'blur': 'pushState' }, initialize: function( options ) { this.parent = options.parent; this.listenTo( this.parent, 'theme:close', function() { this.searching = false; } ); }, search: function( event ) { // Clear on escape. if ( event.type === 'keyup' && event.which === 27 ) { event.target.value = ''; } // Since doSearch is debounced, it will only run when user input comes to a rest. this.doSearch( event ); }, // Runs a search on the theme collection. doSearch: function( event ) { var options = {}; this.collection.doSearch( event.target.value.replace( /\+/g, ' ' ) ); // if search is initiated and key is not return. if ( this.searching && event.which !== 13 ) { options.replace = true; } else { this.searching = true; } // Update the URL hash. if ( event.target.value ) { themes.router.navigate( themes.router.baseUrl( themes.router.searchPath + event.target.value ), options ); } else { themes.router.navigate( themes.router.baseUrl( '' ) ); } }, pushState: function( event ) { var url = themes.router.baseUrl( '' ); if ( event.target.value ) { url = themes.router.baseUrl( themes.router.searchPath + encodeURIComponent( event.target.value ) ); } this.searching = false; themes.router.navigate( url ); } }); /** * Navigate router. * * @since 4.9.0 * * @param {string} url - URL to navigate to. * @param {Object} state - State. * @return {void} */ function navigateRouter( url, state ) { var router = this; if ( Backbone.history._hasPushState ) { Backbone.Router.prototype.navigate.call( router, url, state ); } } // Sets up the routes events for relevant url queries. // Listens to [theme] and [search] params. themes.Router = Backbone.Router.extend({ routes: { 'themes.php?theme=:slug': 'theme', 'themes.php?search=:query': 'search', 'themes.php?s=:query': 'search', 'themes.php': 'themes', '': 'themes' }, baseUrl: function( url ) { return 'themes.php' + url; }, themePath: '?theme=', searchPath: '?search=', search: function( query ) { $( '.wp-filter-search' ).val( query.replace( /\+/g, ' ' ) ); }, themes: function() { $( '.wp-filter-search' ).val( '' ); }, navigate: navigateRouter }); // Execute and setup the application. themes.Run = { init: function() { // Initializes the blog's theme library view. // Create a new collection with data. this.themes = new themes.Collection( themes.data.themes ); // Set up the view. this.view = new themes.view.Appearance({ collection: this.themes }); this.render(); // Start debouncing user searches after Backbone.history.start(). this.view.SearchView.doSearch = _.debounce( this.view.SearchView.doSearch, 500 ); }, render: function() { // Render results. this.view.render(); this.routes(); if ( Backbone.History.started ) { Backbone.history.stop(); } Backbone.history.start({ root: themes.data.settings.adminUrl, pushState: true, hashChange: false }); }, routes: function() { var self = this; // Bind to our global thx object // so that the object is available to sub-views. themes.router = new themes.Router(); // Handles theme details route event. themes.router.on( 'route:theme', function( slug ) { self.view.view.expand( slug ); }); themes.router.on( 'route:themes', function() { self.themes.doSearch( '' ); self.view.trigger( 'theme:close' ); }); // Handles search route event. themes.router.on( 'route:search', function() { $( '.wp-filter-search' ).trigger( 'keyup' ); }); this.extraRoutes(); }, extraRoutes: function() { return false; } }; // Extend the main Search view. themes.view.InstallerSearch = themes.view.Search.extend({ events: { 'input': 'search', 'keyup': 'search' }, terms: '', // Handles Ajax request for searching through themes in public repo. search: function( event ) { // Tabbing or reverse tabbing into the search input shouldn't trigger a search. if ( event.type === 'keyup' && ( event.which === 9 || event.which === 16 ) ) { return; } this.collection = this.options.parent.view.collection; // Clear on escape. if ( event.type === 'keyup' && event.which === 27 ) { event.target.value = ''; } this.doSearch( event.target.value ); }, doSearch: function( value ) { var request = {}; // Don't do anything if the search terms haven't changed. if ( this.terms === value ) { return; } // Updates terms with the value passed. this.terms = value; request.search = value; /* * Intercept an [author] search. * * If input value starts with `author:` send a request * for `author` instead of a regular `search`. */ if ( value.substring( 0, 7 ) === 'author:' ) { request.search = ''; request.author = value.slice( 7 ); } /* * Intercept a [tag] search. * * If input value starts with `tag:` send a request * for `tag` instead of a regular `search`. */ if ( value.substring( 0, 4 ) === 'tag:' ) { request.search = ''; request.tag = [ value.slice( 4 ) ]; } $( '.filter-links li > a.current' ) .removeClass( 'current' ) .removeAttr( 'aria-current' ); $( 'body' ).removeClass( 'show-filters filters-applied show-favorites-form' ); $( '.drawer-toggle' ).attr( 'aria-expanded', 'false' ); // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache. this.collection.query( request ); // Set route. themes.router.navigate( themes.router.baseUrl( themes.router.searchPath + encodeURIComponent( value ) ), { replace: true } ); } }); themes.view.Installer = themes.view.Appearance.extend({ el: '#wpbody-content .wrap', // Register events for sorting and filters in theme-navigation. events: { 'click .filter-links li > a': 'onSort', 'click .theme-filter': 'onFilter', 'click .drawer-toggle': 'moreFilters', 'click .filter-drawer .apply-filters': 'applyFilters', 'click .filter-group [type="checkbox"]': 'addFilter', 'click .filter-drawer .clear-filters': 'clearFilters', 'click .edit-filters': 'backToFilters', 'click .favorites-form-submit' : 'saveUsername', 'keyup #wporg-username-input': 'saveUsername' }, // Initial render method. render: function() { var self = this; this.search(); this.uploader(); this.collection = new themes.Collection(); // Bump `collection.currentQuery.page` and request more themes if we hit the end of the page. this.listenTo( this, 'theme:end', function() { // Make sure we are not already loading. if ( self.collection.loadingThemes ) { return; } // Set loadingThemes to true and bump page instance of currentQuery. self.collection.loadingThemes = true; self.collection.currentQuery.page++; // Use currentQuery.page to build the themes request. _.extend( self.collection.currentQuery.request, { page: self.collection.currentQuery.page } ); self.collection.query( self.collection.currentQuery.request ); }); this.listenTo( this.collection, 'query:success', function() { $( 'body' ).removeClass( 'loading-content' ); $( '.theme-browser' ).find( 'div.error' ).remove(); }); this.listenTo( this.collection, 'query:fail', function() { $( 'body' ).removeClass( 'loading-content' ); $( '.theme-browser' ).find( 'div.error' ).remove(); $( '.theme-browser' ).find( 'div.themes' ).before( '<div class="notice notice-error"><p>' + l10n.error + '</p><p><button class="button try-again">' + l10n.tryAgain + '</button></p></div>' ); $( '.theme-browser .error .try-again' ).on( 'click', function( e ) { e.preventDefault(); $( 'input.wp-filter-search' ).trigger( 'input' ); } ); }); if ( this.view ) { this.view.remove(); } // Sets up the view and passes the section argument. this.view = new themes.view.Themes({ collection: this.collection, parent: this }); // Reset pagination every time the install view handler is run. this.page = 0; // Render and append. this.$el.find( '.themes' ).remove(); this.view.render(); this.$el.find( '.theme-browser' ).append( this.view.el ).addClass( 'rendered' ); }, // Handles all the rendering of the public theme directory. browse: function( section ) { // Create a new collection with the proper theme data // for each section. if ( 'block-themes' === section ) { // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache. this.collection.query( { tag: 'full-site-editing' } ); } else { this.collection.query( { browse: section } ); } }, // Sorting navigation. onSort: function( event ) { var $el = $( event.target ), sort = $el.data( 'sort' ); event.preventDefault(); $( 'body' ).removeClass( 'filters-applied show-filters' ); $( '.drawer-toggle' ).attr( 'aria-expanded', 'false' ); // Bail if this is already active. if ( $el.hasClass( this.activeClass ) ) { return; } this.sort( sort ); // Trigger a router.navigate update. themes.router.navigate( themes.router.baseUrl( themes.router.browsePath + sort ) ); }, sort: function( sort ) { this.clearSearch(); // Track sorting so we can restore the correct tab when closing preview. themes.router.selectedTab = sort; $( '.filter-links li > a, .theme-filter' ) .removeClass( this.activeClass ) .removeAttr( 'aria-current' ); $( '[data-sort="' + sort + '"]' ) .addClass( this.activeClass ) .attr( 'aria-current', 'page' ); if ( 'favorites' === sort ) { $( 'body' ).addClass( 'show-favorites-form' ); } else { $( 'body' ).removeClass( 'show-favorites-form' ); } this.browse( sort ); }, // Filters and Tags. onFilter: function( event ) { var request, $el = $( event.target ), filter = $el.data( 'filter' ); // Bail if this is already active. if ( $el.hasClass( this.activeClass ) ) { return; } $( '.filter-links li > a, .theme-section' ) .removeClass( this.activeClass ) .removeAttr( 'aria-current' ); $el .addClass( this.activeClass ) .attr( 'aria-current', 'page' ); if ( ! filter ) { return; } // Construct the filter request // using the default values. filter = _.union( [ filter, this.filtersChecked() ] ); request = { tag: [ filter ] }; // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache. this.collection.query( request ); }, // Clicking on a checkbox to add another filter to the request. addFilter: function() { this.filtersChecked(); }, // Applying filters triggers a tag request. applyFilters: function( event ) { var name, tags = this.filtersChecked(), request = { tag: tags }, filteringBy = $( '.filtered-by .tags' ); if ( event ) { event.preventDefault(); } if ( ! tags ) { wp.a11y.speak( l10n.selectFeatureFilter ); return; } $( 'body' ).addClass( 'filters-applied' ); $( '.filter-links li > a.current' ) .removeClass( 'current' ) .removeAttr( 'aria-current' ); filteringBy.empty(); _.each( tags, function( tag ) { name = $( 'label[for="filter-id-' + tag + '"]' ).text(); filteringBy.append( '<span class="tag">' + name + '</span>' ); }); // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache. this.collection.query( request ); }, // Save the user's WordPress.org username and get his favorite themes. saveUsername: function ( event ) { var username = $( '#wporg-username-input' ).val(), nonce = $( '#wporg-username-nonce' ).val(), request = { browse: 'favorites', user: username }, that = this; if ( event ) { event.preventDefault(); } // Save username on enter. if ( event.type === 'keyup' && event.which !== 13 ) { return; } return wp.ajax.send( 'save-wporg-username', { data: { _wpnonce: nonce, username: username }, success: function () { // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache. that.collection.query( request ); } } ); }, /** * Get the checked filters. * * @return {Array} of tags or false */ filtersChecked: function() { var items = $( '.filter-group' ).find( ':checkbox' ), tags = []; _.each( items.filter( ':checked' ), function( item ) { tags.push( $( item ).prop( 'value' ) ); }); // When no filters are checked, restore initial state and return. if ( tags.length === 0 ) { $( '.filter-drawer .apply-filters' ).find( 'span' ).text( '' ); $( '.filter-drawer .clear-filters' ).hide(); $( 'body' ).removeClass( 'filters-applied' ); return false; } $( '.filter-drawer .apply-filters' ).find( 'span' ).text( tags.length ); $( '.filter-drawer .clear-filters' ).css( 'display', 'inline-block' ); return tags; }, activeClass: 'current', /** * When users press the "Upload Theme" button, show the upload form in place. */ uploader: function() { var uploadViewToggle = $( '.upload-view-toggle' ), $body = $( document.body ); uploadViewToggle.on( 'click', function() { // Toggle the upload view. $body.toggleClass( 'show-upload-view' ); // Toggle the `aria-expanded` button attribute. uploadViewToggle.attr( 'aria-expanded', $body.hasClass( 'show-upload-view' ) ); }); }, // Toggle the full filters navigation. moreFilters: function( event ) { var $body = $( 'body' ), $toggleButton = $( '.drawer-toggle' ); event.preventDefault(); if ( $body.hasClass( 'filters-applied' ) ) { return this.backToFilters(); } this.clearSearch(); themes.router.navigate( themes.router.baseUrl( '' ) ); // Toggle the feature filters view. $body.toggleClass( 'show-filters' ); // Toggle the `aria-expanded` button attribute. $toggleButton.attr( 'aria-expanded', $body.hasClass( 'show-filters' ) ); }, /** * Clears all the checked filters. * * @uses filtersChecked() */ clearFilters: function( event ) { var items = $( '.filter-group' ).find( ':checkbox' ), self = this; event.preventDefault(); _.each( items.filter( ':checked' ), function( item ) { $( item ).prop( 'checked', false ); return self.filtersChecked(); }); }, backToFilters: function( event ) { if ( event ) { event.preventDefault(); } $( 'body' ).removeClass( 'filters-applied' ); }, clearSearch: function() { $( '#wp-filter-search-input').val( '' ); } }); themes.InstallerRouter = Backbone.Router.extend({ routes: { 'theme-install.php?theme=:slug': 'preview', 'theme-install.php?browse=:sort': 'sort', 'theme-install.php?search=:query': 'search', 'theme-install.php': 'sort' }, baseUrl: function( url ) { return 'theme-install.php' + url; }, themePath: '?theme=', browsePath: '?browse=', searchPath: '?search=', search: function( query ) { $( '.wp-filter-search' ).val( query.replace( /\+/g, ' ' ) ); }, navigate: navigateRouter }); themes.RunInstaller = { init: function() { // Set up the view. // Passes the default 'section' as an option. this.view = new themes.view.Installer({ section: 'popular', SearchView: themes.view.InstallerSearch }); // Render results. this.render(); // Start debouncing user searches after Backbone.history.start(). this.view.SearchView.doSearch = _.debounce( this.view.SearchView.doSearch, 500 ); }, render: function() { // Render results. this.view.render(); this.routes(); if ( Backbone.History.started ) { Backbone.history.stop(); } Backbone.history.start({ root: themes.data.settings.adminUrl, pushState: true, hashChange: false }); }, routes: function() { var self = this, request = {}; // Bind to our global `wp.themes` object // so that the router is available to sub-views. themes.router = new themes.InstallerRouter(); // Handles `theme` route event. // Queries the API for the passed theme slug. themes.router.on( 'route:preview', function( slug ) { // Remove existing handlers. if ( themes.preview ) { themes.preview.undelegateEvents(); themes.preview.unbind(); } // If the theme preview is active, set the current theme. if ( self.view.view.theme && self.view.view.theme.preview ) { self.view.view.theme.model = self.view.collection.findWhere( { 'slug': slug } ); self.view.view.theme.preview(); } else { // Select the theme by slug. request.theme = slug; self.view.collection.query( request ); self.view.collection.trigger( 'update' ); // Open the theme preview. self.view.collection.once( 'query:success', function() { $( 'div[data-slug="' + slug + '"]' ).trigger( 'click' ); }); } }); /* * Handles sorting / browsing routes. * Also handles the root URL triggering a sort request * for `popular`, the default view. */ themes.router.on( 'route:sort', function( sort ) { if ( ! sort ) { sort = 'popular'; themes.router.navigate( themes.router.baseUrl( '?browse=popular' ), { replace: true } ); } self.view.sort( sort ); // Close the preview if open. if ( themes.preview ) { themes.preview.close(); } }); // The `search` route event. The router populates the input field. themes.router.on( 'route:search', function() { $( '.wp-filter-search' ).trigger( 'focus' ).trigger( 'keyup' ); }); this.extraRoutes(); }, extraRoutes: function() { return false; } }; // Ready... $( function() { if ( themes.isInstall ) { themes.RunInstaller.init(); } else { themes.Run.init(); } // Update the return param just in time. $( document.body ).on( 'click', '.load-customize', function() { var link = $( this ), urlParser = document.createElement( 'a' ); urlParser.href = link.prop( 'href' ); urlParser.search = $.param( _.extend( wp.customize.utils.parseQueryString( urlParser.search.substr( 1 ) ), { 'return': window.location.href } ) ); link.prop( 'href', urlParser.href ); }); $( '.broken-themes .delete-theme' ).on( 'click', function() { return confirm( _wpThemeSettings.settings.confirmDelete ); }); }); })( jQuery ); // Align theme browser thickbox. jQuery( function($) { window.tb_position = function() { var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 1040 < width ) ? 1040 : width, adminbar_height = 0; if ( $('#wpadminbar').length ) { adminbar_height = parseInt( $('#wpadminbar').css('height'), 10 ); } if ( tbWindow.length >= 1 ) { tbWindow.width( W - 50 ).height( H - 45 - adminbar_height ); $('#TB_iframeContent').width( W - 50 ).height( H - 75 - adminbar_height ); tbWindow.css({'margin-left': '-' + parseInt( ( ( W - 50 ) / 2 ), 10 ) + 'px'}); if ( typeof document.body.style.maxWidth !== 'undefined' ) { tbWindow.css({'top': 20 + adminbar_height + 'px', 'margin-top': '0'}); } } }; $(window).on( 'resize', function(){ tb_position(); }); }); editor.js 0000644 00000127777 15174671433 0006430 0 ustar 00 /** * @output wp-admin/js/editor.js */ window.wp = window.wp || {}; ( function( $, wp ) { wp.editor = wp.editor || {}; /** * Utility functions for the editor. * * @since 2.5.0 */ function SwitchEditors() { var tinymce, $$, exports = {}; function init() { if ( ! tinymce && window.tinymce ) { tinymce = window.tinymce; $$ = tinymce.$; /** * Handles onclick events for the Visual/Code tabs. * * @since 4.3.0 * * @return {void} */ $$( document ).on( 'click', function( event ) { var id, mode, target = $$( event.target ); if ( target.hasClass( 'wp-switch-editor' ) ) { id = target.attr( 'data-wp-editor-id' ); mode = target.hasClass( 'switch-tmce' ) ? 'tmce' : 'html'; switchEditor( id, mode ); } }); } } /** * Returns the height of the editor toolbar(s) in px. * * @since 3.9.0 * * @param {Object} editor The TinyMCE editor. * @return {number} If the height is between 10 and 200 return the height, * else return 30. */ function getToolbarHeight( editor ) { var node = $$( '.mce-toolbar-grp', editor.getContainer() )[0], height = node && node.clientHeight; if ( height && height > 10 && height < 200 ) { return parseInt( height, 10 ); } return 30; } /** * Switches the editor between Visual and Code mode. * * @since 2.5.0 * * @memberof switchEditors * * @param {string} id The id of the editor you want to change the editor mode for. Default: `content`. * @param {string} mode The mode you want to switch to. Default: `toggle`. * @return {void} */ function switchEditor( id, mode ) { id = id || 'content'; mode = mode || 'toggle'; var editorHeight, toolbarHeight, iframe, editor = tinymce.get( id ), wrap = $$( '#wp-' + id + '-wrap' ), htmlSwitch = wrap.find( '.switch-tmce' ), tmceSwitch = wrap.find( '.switch-html' ), $textarea = $$( '#' + id ), textarea = $textarea[0]; if ( 'toggle' === mode ) { if ( editor && ! editor.isHidden() ) { mode = 'html'; } else { mode = 'tmce'; } } if ( 'tmce' === mode || 'tinymce' === mode ) { // If the editor is visible we are already in `tinymce` mode. if ( editor && ! editor.isHidden() ) { return false; } // Insert closing tags for any open tags in QuickTags. if ( typeof( window.QTags ) !== 'undefined' ) { window.QTags.closeAllTags( id ); } editorHeight = parseInt( textarea.style.height, 10 ) || 0; addHTMLBookmarkInTextAreaContent( $textarea ); if ( editor ) { editor.show(); // No point to resize the iframe in iOS. if ( ! tinymce.Env.iOS && editorHeight ) { toolbarHeight = getToolbarHeight( editor ); editorHeight = editorHeight - toolbarHeight + 14; // Sane limit for the editor height. if ( editorHeight > 50 && editorHeight < 5000 ) { editor.theme.resizeTo( null, editorHeight ); } } focusHTMLBookmarkInVisualEditor( editor ); } else { tinymce.init( window.tinyMCEPreInit.mceInit[ id ] ); } wrap.removeClass( 'html-active' ).addClass( 'tmce-active' ); tmceSwitch.attr( 'aria-pressed', false ); htmlSwitch.attr( 'aria-pressed', true ); $textarea.attr( 'aria-hidden', true ); window.setUserSetting( 'editor', 'tinymce' ); } else if ( 'html' === mode ) { // If the editor is hidden (Quicktags is shown) we don't need to switch. if ( editor && editor.isHidden() ) { return false; } if ( editor ) { // Don't resize the textarea in iOS. // The iframe is forced to 100% height there, we shouldn't match it. if ( ! tinymce.Env.iOS ) { iframe = editor.iframeElement; editorHeight = iframe ? parseInt( iframe.style.height, 10 ) : 0; if ( editorHeight ) { toolbarHeight = getToolbarHeight( editor ); editorHeight = editorHeight + toolbarHeight - 14; // Sane limit for the textarea height. if ( editorHeight > 50 && editorHeight < 5000 ) { textarea.style.height = editorHeight + 'px'; } } } var selectionRange = null; selectionRange = findBookmarkedPosition( editor ); editor.hide(); if ( selectionRange ) { selectTextInTextArea( editor, selectionRange ); } } else { // There is probably a JS error on the page. // The TinyMCE editor instance doesn't exist. Show the textarea. $textarea.css({ 'display': '', 'visibility': '' }); } wrap.removeClass( 'tmce-active' ).addClass( 'html-active' ); tmceSwitch.attr( 'aria-pressed', true ); htmlSwitch.attr( 'aria-pressed', false ); $textarea.attr( 'aria-hidden', false ); window.setUserSetting( 'editor', 'html' ); } } /** * Checks if a cursor is inside an HTML tag or comment. * * In order to prevent breaking HTML tags when selecting text, the cursor * must be moved to either the start or end of the tag. * * This will prevent the selection marker to be inserted in the middle of an HTML tag. * * This function gives information whether the cursor is inside a tag or not, as well as * the tag type, if it is a closing tag and check if the HTML tag is inside a shortcode tag, * e.g. `[caption]<img.../>..`. * * @param {string} content The test content where the cursor is. * @param {number} cursorPosition The cursor position inside the content. * * @return {(null|Object)} Null if cursor is not in a tag, Object if the cursor is inside a tag. */ function getContainingTagInfo( content, cursorPosition ) { var lastLtPos = content.lastIndexOf( '<', cursorPosition - 1 ), lastGtPos = content.lastIndexOf( '>', cursorPosition ); if ( lastLtPos > lastGtPos || content.substr( cursorPosition, 1 ) === '>' ) { // Find what the tag is. var tagContent = content.substr( lastLtPos ), tagMatch = tagContent.match( /<\s*(\/)?(\w+|\!-{2}.*-{2})/ ); if ( ! tagMatch ) { return null; } var tagType = tagMatch[2], closingGt = tagContent.indexOf( '>' ); return { ltPos: lastLtPos, gtPos: lastLtPos + closingGt + 1, // Offset by one to get the position _after_ the character. tagType: tagType, isClosingTag: !! tagMatch[1] }; } return null; } /** * Checks if the cursor is inside a shortcode * * If the cursor is inside a shortcode wrapping tag, e.g. `[caption]` it's better to * move the selection marker to before or after the shortcode. * * For example `[caption]` rewrites/removes anything that's between the `[caption]` tag and the * `<img/>` tag inside. * * `[caption]<span>ThisIsGone</span><img .../>[caption]` * * Moving the selection to before or after the short code is better, since it allows to select * something, instead of just losing focus and going to the start of the content. * * @param {string} content The text content to check against. * @param {number} cursorPosition The cursor position to check. * * @return {(undefined|Object)} Undefined if the cursor is not wrapped in a shortcode tag. * Information about the wrapping shortcode tag if it's wrapped in one. */ function getShortcodeWrapperInfo( content, cursorPosition ) { var contentShortcodes = getShortCodePositionsInText( content ); for ( var i = 0; i < contentShortcodes.length; i++ ) { var element = contentShortcodes[ i ]; if ( cursorPosition >= element.startIndex && cursorPosition <= element.endIndex ) { return element; } } } /** * Gets a list of unique shortcodes or shortcode-lookalikes in the content. * * @param {string} content The content we want to scan for shortcodes. */ function getShortcodesInText( content ) { var shortcodes = content.match( /\[+([\w_-])+/g ), result = []; if ( shortcodes ) { for ( var i = 0; i < shortcodes.length; i++ ) { var shortcode = shortcodes[ i ].replace( /^\[+/g, '' ); if ( result.indexOf( shortcode ) === -1 ) { result.push( shortcode ); } } } return result; } /** * Gets all shortcodes and their positions in the content * * This function returns all the shortcodes that could be found in the textarea content * along with their character positions and boundaries. * * This is used to check if the selection cursor is inside the boundaries of a shortcode * and move it accordingly, to avoid breakage. * * @link adjustTextAreaSelectionCursors * * The information can also be used in other cases when we need to lookup shortcode data, * as it's already structured! * * @param {string} content The content we want to scan for shortcodes */ function getShortCodePositionsInText( content ) { var allShortcodes = getShortcodesInText( content ), shortcodeInfo; if ( allShortcodes.length === 0 ) { return []; } var shortcodeDetailsRegexp = wp.shortcode.regexp( allShortcodes.join( '|' ) ), shortcodeMatch, // Define local scope for the variable to be used in the loop below. shortcodesDetails = []; while ( shortcodeMatch = shortcodeDetailsRegexp.exec( content ) ) { /** * Check if the shortcode should be shown as plain text. * * This corresponds to the [[shortcode]] syntax, which doesn't parse the shortcode * and just shows it as text. */ var showAsPlainText = shortcodeMatch[1] === '['; shortcodeInfo = { shortcodeName: shortcodeMatch[2], showAsPlainText: showAsPlainText, startIndex: shortcodeMatch.index, endIndex: shortcodeMatch.index + shortcodeMatch[0].length, length: shortcodeMatch[0].length }; shortcodesDetails.push( shortcodeInfo ); } /** * Get all URL matches, and treat them as embeds. * * Since there isn't a good way to detect if a URL by itself on a line is a previewable * object, it's best to treat all of them as such. * * This means that the selection will capture the whole URL, in a similar way shrotcodes * are treated. */ var urlRegexp = new RegExp( '(^|[\\n\\r][\\n\\r]|<p>)(https?:\\/\\/[^\s"]+?)(<\\/p>\s*|[\\n\\r][\\n\\r]|$)', 'gi' ); while ( shortcodeMatch = urlRegexp.exec( content ) ) { shortcodeInfo = { shortcodeName: 'url', showAsPlainText: false, startIndex: shortcodeMatch.index, endIndex: shortcodeMatch.index + shortcodeMatch[ 0 ].length, length: shortcodeMatch[ 0 ].length, urlAtStartOfContent: shortcodeMatch[ 1 ] === '', urlAtEndOfContent: shortcodeMatch[ 3 ] === '' }; shortcodesDetails.push( shortcodeInfo ); } return shortcodesDetails; } /** * Generate a cursor marker element to be inserted in the content. * * `span` seems to be the least destructive element that can be used. * * Using DomQuery syntax to create it, since it's used as both text and as a DOM element. * * @param {Object} domLib DOM library instance. * @param {string} content The content to insert into the cursor marker element. */ function getCursorMarkerSpan( domLib, content ) { return domLib( '<span>' ).css( { display: 'inline-block', width: 0, overflow: 'hidden', 'line-height': 0 } ) .html( content ? content : '' ); } /** * Gets adjusted selection cursor positions according to HTML tags, comments, and shortcodes. * * Shortcodes and HTML codes are a bit of a special case when selecting, since they may render * content in Visual mode. If we insert selection markers somewhere inside them, it's really possible * to break the syntax and render the HTML tag or shortcode broken. * * @link getShortcodeWrapperInfo * * @param {string} content Textarea content that the cursors are in * @param {{cursorStart: number, cursorEnd: number}} cursorPositions Cursor start and end positions * * @return {{cursorStart: number, cursorEnd: number}} */ function adjustTextAreaSelectionCursors( content, cursorPositions ) { var voidElements = [ 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr' ]; var cursorStart = cursorPositions.cursorStart, cursorEnd = cursorPositions.cursorEnd, // Check if the cursor is in a tag and if so, adjust it. isCursorStartInTag = getContainingTagInfo( content, cursorStart ); if ( isCursorStartInTag ) { /** * Only move to the start of the HTML tag (to select the whole element) if the tag * is part of the voidElements list above. * * This list includes tags that are self-contained and don't need a closing tag, according to the * HTML5 specification. * * This is done in order to make selection of text a bit more consistent when selecting text in * `<p>` tags or such. * * In cases where the tag is not a void element, the cursor is put to the end of the tag, * so it's either between the opening and closing tag elements or after the closing tag. */ if ( voidElements.indexOf( isCursorStartInTag.tagType ) !== -1 ) { cursorStart = isCursorStartInTag.ltPos; } else { cursorStart = isCursorStartInTag.gtPos; } } var isCursorEndInTag = getContainingTagInfo( content, cursorEnd ); if ( isCursorEndInTag ) { cursorEnd = isCursorEndInTag.gtPos; } var isCursorStartInShortcode = getShortcodeWrapperInfo( content, cursorStart ); if ( isCursorStartInShortcode && ! isCursorStartInShortcode.showAsPlainText ) { /** * If a URL is at the start or the end of the content, * the selection doesn't work, because it inserts a marker in the text, * which breaks the embedURL detection. * * The best way to avoid that and not modify the user content is to * adjust the cursor to either after or before URL. */ if ( isCursorStartInShortcode.urlAtStartOfContent ) { cursorStart = isCursorStartInShortcode.endIndex; } else { cursorStart = isCursorStartInShortcode.startIndex; } } var isCursorEndInShortcode = getShortcodeWrapperInfo( content, cursorEnd ); if ( isCursorEndInShortcode && ! isCursorEndInShortcode.showAsPlainText ) { if ( isCursorEndInShortcode.urlAtEndOfContent ) { cursorEnd = isCursorEndInShortcode.startIndex; } else { cursorEnd = isCursorEndInShortcode.endIndex; } } return { cursorStart: cursorStart, cursorEnd: cursorEnd }; } /** * Adds text selection markers in the editor textarea. * * Adds selection markers in the content of the editor `textarea`. * The method directly manipulates the `textarea` content, to allow TinyMCE plugins * to run after the markers are added. * * @param {Object} $textarea TinyMCE's textarea wrapped as a DomQuery object */ function addHTMLBookmarkInTextAreaContent( $textarea ) { if ( ! $textarea || ! $textarea.length ) { // If no valid $textarea object is provided, there's nothing we can do. return; } var textArea = $textarea[0], textAreaContent = textArea.value, adjustedCursorPositions = adjustTextAreaSelectionCursors( textAreaContent, { cursorStart: textArea.selectionStart, cursorEnd: textArea.selectionEnd } ), htmlModeCursorStartPosition = adjustedCursorPositions.cursorStart, htmlModeCursorEndPosition = adjustedCursorPositions.cursorEnd, mode = htmlModeCursorStartPosition !== htmlModeCursorEndPosition ? 'range' : 'single', selectedText = null, cursorMarkerSkeleton = getCursorMarkerSpan( $$, '' ).attr( 'data-mce-type','bookmark' ); if ( mode === 'range' ) { var markedText = textArea.value.slice( htmlModeCursorStartPosition, htmlModeCursorEndPosition ), bookMarkEnd = cursorMarkerSkeleton.clone().addClass( 'mce_SELRES_end' ); selectedText = [ markedText, bookMarkEnd[0].outerHTML ].join( '' ); } textArea.value = [ textArea.value.slice( 0, htmlModeCursorStartPosition ), // Text until the cursor/selection position. cursorMarkerSkeleton.clone() // Cursor/selection start marker. .addClass( 'mce_SELRES_start' )[0].outerHTML, selectedText, // Selected text with end cursor/position marker. textArea.value.slice( htmlModeCursorEndPosition ) // Text from last cursor/selection position to end. ].join( '' ); } /** * Focuses the selection markers in Visual mode. * * The method checks for existing selection markers inside the editor DOM (Visual mode) * and create a selection between the two nodes using the DOM `createRange` selection API. * * If there is only a single node, select only the single node through TinyMCE's selection API * * @param {Object} editor TinyMCE editor instance. */ function focusHTMLBookmarkInVisualEditor( editor ) { var startNode = editor.$( '.mce_SELRES_start' ).attr( 'data-mce-bogus', 1 ), endNode = editor.$( '.mce_SELRES_end' ).attr( 'data-mce-bogus', 1 ); if ( startNode.length ) { editor.focus(); if ( ! endNode.length ) { editor.selection.select( startNode[0] ); } else { var selection = editor.getDoc().createRange(); selection.setStartAfter( startNode[0] ); selection.setEndBefore( endNode[0] ); editor.selection.setRng( selection ); } } scrollVisualModeToStartElement( editor, startNode ); removeSelectionMarker( startNode ); removeSelectionMarker( endNode ); editor.save(); } /** * Removes selection marker and the parent node if it is an empty paragraph. * * By default TinyMCE wraps loose inline tags in a `<p>`. * When removing selection markers an empty `<p>` may be left behind, remove it. * * @param {Object} $marker The marker to be removed from the editor DOM, wrapped in an instance of `editor.$` */ function removeSelectionMarker( $marker ) { var $markerParent = $marker.parent(); $marker.remove(); //Remove empty paragraph left over after removing the marker. if ( $markerParent.is( 'p' ) && ! $markerParent.children().length && ! $markerParent.text() ) { $markerParent.remove(); } } /** * Scrolls the content to place the selected element in the center of the screen. * * Takes an element, that is usually the selection start element, selected in * `focusHTMLBookmarkInVisualEditor()` and scrolls the screen so the element appears roughly * in the middle of the screen. * * I order to achieve the proper positioning, the editor media bar and toolbar are subtracted * from the window height, to get the proper viewport window, that the user sees. * * @param {Object} editor TinyMCE editor instance. * @param {Object} element HTMLElement that should be scrolled into view. */ function scrollVisualModeToStartElement( editor, element ) { var elementTop = editor.$( element ).offset().top, TinyMCEContentAreaTop = editor.$( editor.getContentAreaContainer() ).offset().top, toolbarHeight = getToolbarHeight( editor ), edTools = $( '#wp-content-editor-tools' ), edToolsHeight = 0, edToolsOffsetTop = 0, $scrollArea; if ( edTools.length ) { edToolsHeight = edTools.height(); edToolsOffsetTop = edTools.offset().top; } var windowHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, selectionPosition = TinyMCEContentAreaTop + elementTop, visibleAreaHeight = windowHeight - ( edToolsHeight + toolbarHeight ); // There's no need to scroll if the selection is inside the visible area. if ( selectionPosition < visibleAreaHeight ) { return; } /** * The minimum scroll height should be to the top of the editor, to offer a consistent * experience. * * In order to find the top of the editor, we calculate the offset of `#wp-content-editor-tools` and * subtracting the height. This gives the scroll position where the top of the editor tools aligns with * the top of the viewport (under the Master Bar) */ var adjustedScroll; if ( editor.settings.wp_autoresize_on ) { $scrollArea = $( 'html,body' ); adjustedScroll = Math.max( selectionPosition - visibleAreaHeight / 2, edToolsOffsetTop - edToolsHeight ); } else { $scrollArea = $( editor.contentDocument ).find( 'html,body' ); adjustedScroll = elementTop; } $scrollArea.animate( { scrollTop: parseInt( adjustedScroll, 10 ) }, 100 ); } /** * This method was extracted from the `SaveContent` hook in * `wp-includes/js/tinymce/plugins/wordpress/plugin.js`. * * It's needed here, since the method changes the content a bit, which confuses the cursor position. * * @param {Object} event TinyMCE event object. */ function fixTextAreaContent( event ) { // Keep empty paragraphs :( event.content = event.content.replace( /<p>(?:<br ?\/?>|\u00a0|\uFEFF| )*<\/p>/g, '<p> </p>' ); } /** * Finds the current selection position in the Visual editor. * * Find the current selection in the Visual editor by inserting marker elements at the start * and end of the selection. * * Uses the standard DOM selection API to achieve that goal. * * Check the notes in the comments in the code below for more information on some gotchas * and why this solution was chosen. * * @param {Object} editor The editor where we must find the selection. * @return {(null|Object)} The selection range position in the editor. */ function findBookmarkedPosition( editor ) { // Get the TinyMCE `window` reference, since we need to access the raw selection. var TinyMCEWindow = editor.getWin(), selection = TinyMCEWindow.getSelection(); if ( ! selection || selection.rangeCount < 1 ) { // no selection, no need to continue. return; } /** * The ID is used to avoid replacing user generated content, that may coincide with the * format specified below. * @type {string} */ var selectionID = 'SELRES_' + Math.random(); /** * Create two marker elements that will be used to mark the start and the end of the range. * * The elements have hardcoded style that makes them invisible. This is done to avoid seeing * random content flickering in the editor when switching between modes. */ var spanSkeleton = getCursorMarkerSpan( editor.$, selectionID ), startElement = spanSkeleton.clone().addClass( 'mce_SELRES_start' ), endElement = spanSkeleton.clone().addClass( 'mce_SELRES_end' ); /** * Inspired by: * @link https://stackoverflow.com/a/17497803/153310 * * Why do it this way and not with TinyMCE's bookmarks? * * TinyMCE's bookmarks are very nice when working with selections and positions, BUT * there is no way to determine the precise position of the bookmark when switching modes, since * TinyMCE does some serialization of the content, to fix things like shortcodes, run plugins, prettify * HTML code and so on. In this process, the bookmark markup gets lost. * * If we decide to hook right after the bookmark is added, we can see where the bookmark is in the raw HTML * in TinyMCE. Unfortunately this state is before the serialization, so any visual markup in the content will * throw off the positioning. * * To avoid this, we insert two custom `span`s that will serve as the markers at the beginning and end of the * selection. * * Why not use TinyMCE's selection API or the DOM API to wrap the contents? Because if we do that, this creates * a new node, which is inserted in the dom. Now this will be fine, if we worked with fixed selections to * full nodes. Unfortunately in our case, the user can select whatever they like, which means that the * selection may start in the middle of one node and end in the middle of a completely different one. If we * wrap the selection in another node, this will create artifacts in the content. * * Using the method below, we insert the custom `span` nodes at the start and at the end of the selection. * This helps us not break the content and also gives us the option to work with multi-node selections without * breaking the markup. */ var range = selection.getRangeAt( 0 ), startNode = range.startContainer, startOffset = range.startOffset, boundaryRange = range.cloneRange(); /** * If the selection is on a shortcode with Live View, TinyMCE creates a bogus markup, * which we have to account for. */ if ( editor.$( startNode ).parents( '.mce-offscreen-selection' ).length > 0 ) { startNode = editor.$( '[data-mce-selected]' )[0]; /** * Marking the start and end element with `data-mce-object-selection` helps * discern when the selected object is a Live Preview selection. * * This way we can adjust the selection to properly select only the content, ignoring * whitespace inserted around the selected object by the Editor. */ startElement.attr( 'data-mce-object-selection', 'true' ); endElement.attr( 'data-mce-object-selection', 'true' ); editor.$( startNode ).before( startElement[0] ); editor.$( startNode ).after( endElement[0] ); } else { boundaryRange.collapse( false ); boundaryRange.insertNode( endElement[0] ); boundaryRange.setStart( startNode, startOffset ); boundaryRange.collapse( true ); boundaryRange.insertNode( startElement[0] ); range.setStartAfter( startElement[0] ); range.setEndBefore( endElement[0] ); selection.removeAllRanges(); selection.addRange( range ); } /** * Now the editor's content has the start/end nodes. * * Unfortunately the content goes through some more changes after this step, before it gets inserted * in the `textarea`. This means that we have to do some minor cleanup on our own here. */ editor.on( 'GetContent', fixTextAreaContent ); var content = removep( editor.getContent() ); editor.off( 'GetContent', fixTextAreaContent ); startElement.remove(); endElement.remove(); var startRegex = new RegExp( '<span[^>]*\\s*class="mce_SELRES_start"[^>]+>\\s*' + selectionID + '[^<]*<\\/span>(\\s*)' ); var endRegex = new RegExp( '(\\s*)<span[^>]*\\s*class="mce_SELRES_end"[^>]+>\\s*' + selectionID + '[^<]*<\\/span>' ); var startMatch = content.match( startRegex ), endMatch = content.match( endRegex ); if ( ! startMatch ) { return null; } var startIndex = startMatch.index, startMatchLength = startMatch[0].length, endIndex = null; if (endMatch) { /** * Adjust the selection index, if the selection contains a Live Preview object or not. * * Check where the `data-mce-object-selection` attribute is set above for more context. */ if ( startMatch[0].indexOf( 'data-mce-object-selection' ) !== -1 ) { startMatchLength -= startMatch[1].length; } var endMatchIndex = endMatch.index; if ( endMatch[0].indexOf( 'data-mce-object-selection' ) !== -1 ) { endMatchIndex -= endMatch[1].length; } // We need to adjust the end position to discard the length of the range start marker. endIndex = endMatchIndex - startMatchLength; } return { start: startIndex, end: endIndex }; } /** * Selects text in the TinyMCE `textarea`. * * Selects the text in TinyMCE's textarea that's between `selection.start` and `selection.end`. * * For `selection` parameter: * @link findBookmarkedPosition * * @param {Object} editor TinyMCE's editor instance. * @param {Object} selection Selection data. */ function selectTextInTextArea( editor, selection ) { // Only valid in the text area mode and if we have selection. if ( ! selection ) { return; } var textArea = editor.getElement(), start = selection.start, end = selection.end || selection.start; if ( textArea.focus ) { // Wait for the Visual editor to be hidden, then focus and scroll to the position. setTimeout( function() { textArea.setSelectionRange( start, end ); if ( textArea.blur ) { // Defocus before focusing. textArea.blur(); } textArea.focus(); }, 100 ); } } // Restore the selection when the editor is initialized. Needed when the Code editor is the default. $( document ).on( 'tinymce-editor-init.keep-scroll-position', function( event, editor ) { if ( editor.$( '.mce_SELRES_start' ).length ) { focusHTMLBookmarkInVisualEditor( editor ); } } ); /** * Replaces <p> tags with two line breaks. "Opposite" of wpautop(). * * Replaces <p> tags with two line breaks except where the <p> has attributes. * Unifies whitespace. * Indents <li>, <dt> and <dd> for better readability. * * @since 2.5.0 * * @memberof switchEditors * * @param {string} html The content from the editor. * @return {string} The content with stripped paragraph tags. */ function removep( html ) { var blocklist = 'blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure', blocklist1 = blocklist + '|div|p', blocklist2 = blocklist + '|pre', preserve_linebreaks = false, preserve_br = false, preserve = []; if ( ! html ) { return ''; } // Protect script and style tags. if ( html.indexOf( '<script' ) !== -1 || html.indexOf( '<style' ) !== -1 ) { html = html.replace( /<(script|style)[^>]*>[\s\S]*?<\/\1>/g, function( match ) { preserve.push( match ); return '<wp-preserve>'; } ); } // Protect pre tags. if ( html.indexOf( '<pre' ) !== -1 ) { preserve_linebreaks = true; html = html.replace( /<pre[^>]*>[\s\S]+?<\/pre>/g, function( a ) { a = a.replace( /<br ?\/?>(\r\n|\n)?/g, '<wp-line-break>' ); a = a.replace( /<\/?p( [^>]*)?>(\r\n|\n)?/g, '<wp-line-break>' ); return a.replace( /\r?\n/g, '<wp-line-break>' ); }); } // Remove line breaks but keep <br> tags inside image captions. if ( html.indexOf( '[caption' ) !== -1 ) { preserve_br = true; html = html.replace( /\[caption[\s\S]+?\[\/caption\]/g, function( a ) { return a.replace( /<br([^>]*)>/g, '<wp-temp-br$1>' ).replace( /[\r\n\t]+/, '' ); }); } // Normalize white space characters before and after block tags. html = html.replace( new RegExp( '\\s*</(' + blocklist1 + ')>\\s*', 'g' ), '</$1>\n' ); html = html.replace( new RegExp( '\\s*<((?:' + blocklist1 + ')(?: [^>]*)?)>', 'g' ), '\n<$1>' ); // Mark </p> if it has any attributes. html = html.replace( /(<p [^>]+>.*?)<\/p>/g, '$1</p#>' ); // Preserve the first <p> inside a <div>. html = html.replace( /<div( [^>]*)?>\s*<p>/gi, '<div$1>\n\n' ); // Remove paragraph tags. html = html.replace( /\s*<p>/gi, '' ); html = html.replace( /\s*<\/p>\s*/gi, '\n\n' ); // Normalize white space chars and remove multiple line breaks. html = html.replace( /\n[\s\u00a0]+\n/g, '\n\n' ); // Replace <br> tags with line breaks. html = html.replace( /(\s*)<br ?\/?>\s*/gi, function( match, space ) { if ( space && space.indexOf( '\n' ) !== -1 ) { return '\n\n'; } return '\n'; }); // Fix line breaks around <div>. html = html.replace( /\s*<div/g, '\n<div' ); html = html.replace( /<\/div>\s*/g, '</div>\n' ); // Fix line breaks around caption shortcodes. html = html.replace( /\s*\[caption([^\[]+)\[\/caption\]\s*/gi, '\n\n[caption$1[/caption]\n\n' ); html = html.replace( /caption\]\n\n+\[caption/g, 'caption]\n\n[caption' ); // Pad block elements tags with a line break. html = html.replace( new RegExp('\\s*<((?:' + blocklist2 + ')(?: [^>]*)?)\\s*>', 'g' ), '\n<$1>' ); html = html.replace( new RegExp('\\s*</(' + blocklist2 + ')>\\s*', 'g' ), '</$1>\n' ); // Indent <li>, <dt> and <dd> tags. html = html.replace( /<((li|dt|dd)[^>]*)>/g, ' \t<$1>' ); // Fix line breaks around <select> and <option>. if ( html.indexOf( '<option' ) !== -1 ) { html = html.replace( /\s*<option/g, '\n<option' ); html = html.replace( /\s*<\/select>/g, '\n</select>' ); } // Pad <hr> with two line breaks. if ( html.indexOf( '<hr' ) !== -1 ) { html = html.replace( /\s*<hr( [^>]*)?>\s*/g, '\n\n<hr$1>\n\n' ); } // Remove line breaks in <object> tags. if ( html.indexOf( '<object' ) !== -1 ) { html = html.replace( /<object[\s\S]+?<\/object>/g, function( a ) { return a.replace( /[\r\n]+/g, '' ); }); } // Unmark special paragraph closing tags. html = html.replace( /<\/p#>/g, '</p>\n' ); // Pad remaining <p> tags whit a line break. html = html.replace( /\s*(<p [^>]+>[\s\S]*?<\/p>)/g, '\n$1' ); // Trim. html = html.replace( /^\s+/, '' ); html = html.replace( /[\s\u00a0]+$/, '' ); if ( preserve_linebreaks ) { html = html.replace( /<wp-line-break>/g, '\n' ); } if ( preserve_br ) { html = html.replace( /<wp-temp-br([^>]*)>/g, '<br$1>' ); } // Restore preserved tags. if ( preserve.length ) { html = html.replace( /<wp-preserve>/g, function() { return preserve.shift(); } ); } return html; } /** * Replaces two line breaks with a paragraph tag and one line break with a <br>. * * Similar to `wpautop()` in formatting.php. * * @since 2.5.0 * * @memberof switchEditors * * @param {string} text The text input. * @return {string} The formatted text. */ function autop( text ) { var preserve_linebreaks = false, preserve_br = false, blocklist = 'table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre' + '|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section' + '|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary'; // Normalize line breaks. text = text.replace( /\r\n|\r/g, '\n' ); // Remove line breaks from <object>. if ( text.indexOf( '<object' ) !== -1 ) { text = text.replace( /<object[\s\S]+?<\/object>/g, function( a ) { return a.replace( /\n+/g, '' ); }); } // Remove line breaks from tags. text = text.replace( /<[^<>]+>/g, function( a ) { return a.replace( /[\n\t ]+/g, ' ' ); }); // Preserve line breaks in <pre> and <script> tags. if ( text.indexOf( '<pre' ) !== -1 || text.indexOf( '<script' ) !== -1 ) { preserve_linebreaks = true; text = text.replace( /<(pre|script)[^>]*>[\s\S]*?<\/\1>/g, function( a ) { return a.replace( /\n/g, '<wp-line-break>' ); }); } if ( text.indexOf( '<figcaption' ) !== -1 ) { text = text.replace( /\s*(<figcaption[^>]*>)/g, '$1' ); text = text.replace( /<\/figcaption>\s*/g, '</figcaption>' ); } // Keep <br> tags inside captions. if ( text.indexOf( '[caption' ) !== -1 ) { preserve_br = true; text = text.replace( /\[caption[\s\S]+?\[\/caption\]/g, function( a ) { a = a.replace( /<br([^>]*)>/g, '<wp-temp-br$1>' ); a = a.replace( /<[^<>]+>/g, function( b ) { return b.replace( /[\n\t ]+/, ' ' ); }); return a.replace( /\s*\n\s*/g, '<wp-temp-br />' ); }); } text = text + '\n\n'; text = text.replace( /<br \/>\s*<br \/>/gi, '\n\n' ); // Pad block tags with two line breaks. text = text.replace( new RegExp( '(<(?:' + blocklist + ')(?: [^>]*)?>)', 'gi' ), '\n\n$1' ); text = text.replace( new RegExp( '(</(?:' + blocklist + ')>)', 'gi' ), '$1\n\n' ); text = text.replace( /<hr( [^>]*)?>/gi, '<hr$1>\n\n' ); // Remove white space chars around <option>. text = text.replace( /\s*<option/gi, '<option' ); text = text.replace( /<\/option>\s*/gi, '</option>' ); // Normalize multiple line breaks and white space chars. text = text.replace( /\n\s*\n+/g, '\n\n' ); // Convert two line breaks to a paragraph. text = text.replace( /([\s\S]+?)\n\n/g, '<p>$1</p>\n' ); // Remove empty paragraphs. text = text.replace( /<p>\s*?<\/p>/gi, ''); // Remove <p> tags that are around block tags. text = text.replace( new RegExp( '<p>\\s*(</?(?:' + blocklist + ')(?: [^>]*)?>)\\s*</p>', 'gi' ), '$1' ); text = text.replace( /<p>(<li.+?)<\/p>/gi, '$1'); // Fix <p> in blockquotes. text = text.replace( /<p>\s*<blockquote([^>]*)>/gi, '<blockquote$1><p>'); text = text.replace( /<\/blockquote>\s*<\/p>/gi, '</p></blockquote>'); // Remove <p> tags that are wrapped around block tags. text = text.replace( new RegExp( '<p>\\s*(</?(?:' + blocklist + ')(?: [^>]*)?>)', 'gi' ), '$1' ); text = text.replace( new RegExp( '(</?(?:' + blocklist + ')(?: [^>]*)?>)\\s*</p>', 'gi' ), '$1' ); text = text.replace( /(<br[^>]*>)\s*\n/gi, '$1' ); // Add <br> tags. text = text.replace( /\s*\n/g, '<br />\n'); // Remove <br> tags that are around block tags. text = text.replace( new RegExp( '(</?(?:' + blocklist + ')[^>]*>)\\s*<br />', 'gi' ), '$1' ); text = text.replace( /<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)>)/gi, '$1' ); // Remove <p> and <br> around captions. text = text.replace( /(?:<p>|<br ?\/?>)*\s*\[caption([^\[]+)\[\/caption\]\s*(?:<\/p>|<br ?\/?>)*/gi, '[caption$1[/caption]' ); // Make sure there is <p> when there is </p> inside block tags that can contain other blocks. text = text.replace( /(<(?:div|th|td|form|fieldset|dd)[^>]*>)(.*?)<\/p>/g, function( a, b, c ) { if ( c.match( /<p( [^>]*)?>/ ) ) { return a; } return b + '<p>' + c + '</p>'; }); // Restore the line breaks in <pre> and <script> tags. if ( preserve_linebreaks ) { text = text.replace( /<wp-line-break>/g, '\n' ); } // Restore the <br> tags in captions. if ( preserve_br ) { text = text.replace( /<wp-temp-br([^>]*)>/g, '<br$1>' ); } return text; } /** * Fires custom jQuery events `beforePreWpautop` and `afterPreWpautop` when jQuery is available. * * @since 2.9.0 * * @memberof switchEditors * * @param {string} html The content from the visual editor. * @return {string} the filtered content. */ function pre_wpautop( html ) { var obj = { o: exports, data: html, unfiltered: html }; if ( $ ) { $( 'body' ).trigger( 'beforePreWpautop', [ obj ] ); } obj.data = removep( obj.data ); if ( $ ) { $( 'body' ).trigger( 'afterPreWpautop', [ obj ] ); } return obj.data; } /** * Fires custom jQuery events `beforeWpautop` and `afterWpautop` when jQuery is available. * * @since 2.9.0 * * @memberof switchEditors * * @param {string} text The content from the text editor. * @return {string} filtered content. */ function wpautop( text ) { var obj = { o: exports, data: text, unfiltered: text }; if ( $ ) { $( 'body' ).trigger( 'beforeWpautop', [ obj ] ); } obj.data = autop( obj.data ); if ( $ ) { $( 'body' ).trigger( 'afterWpautop', [ obj ] ); } return obj.data; } if ( $ ) { $( init ); } else if ( document.addEventListener ) { document.addEventListener( 'DOMContentLoaded', init, false ); window.addEventListener( 'load', init, false ); } else if ( window.attachEvent ) { window.attachEvent( 'onload', init ); document.attachEvent( 'onreadystatechange', function() { if ( 'complete' === document.readyState ) { init(); } } ); } wp.editor.autop = wpautop; wp.editor.removep = pre_wpautop; exports = { go: switchEditor, wpautop: wpautop, pre_wpautop: pre_wpautop, _wp_Autop: autop, _wp_Nop: removep }; return exports; } /** * Expose the switch editors to be used globally. * * @namespace switchEditors */ window.switchEditors = new SwitchEditors(); /** * Initialize TinyMCE and/or Quicktags. For use with wp_enqueue_editor() (PHP). * * Intended for use with an existing textarea that will become the Code editor tab. * The editor width will be the width of the textarea container, height will be adjustable. * * Settings for both TinyMCE and Quicktags can be passed on initialization, and are "filtered" * with custom jQuery events on the document element, wp-before-tinymce-init and wp-before-quicktags-init. * * @since 4.8.0 * * @param {string} id The HTML id of the textarea that is used for the editor. * Has to be jQuery compliant. No brackets, special chars, etc. * @param {Object} settings Example: * settings = { * // See https://www.tinymce.com/docs/configure/integration-and-setup/. * // Alternatively set to `true` to use the defaults. * tinymce: { * setup: function( editor ) { * console.log( 'Editor initialized', editor ); * } * } * * // Alternatively set to `true` to use the defaults. * quicktags: { * buttons: 'strong,em,link' * } * } */ wp.editor.initialize = function( id, settings ) { var init; var defaults; if ( ! $ || ! id || ! wp.editor.getDefaultSettings ) { return; } defaults = wp.editor.getDefaultSettings(); // Initialize TinyMCE by default. if ( ! settings ) { settings = { tinymce: true }; } // Add wrap and the Visual|Code tabs. if ( settings.tinymce && settings.quicktags ) { var $textarea = $( '#' + id ); var $wrap = $( '<div>' ).attr( { 'class': 'wp-core-ui wp-editor-wrap tmce-active', id: 'wp-' + id + '-wrap' } ); var $editorContainer = $( '<div class="wp-editor-container">' ); var $button = $( '<button>' ).attr( { type: 'button', 'data-wp-editor-id': id } ); var $editorTools = $( '<div class="wp-editor-tools">' ); if ( settings.mediaButtons ) { var buttonText = 'Add Media'; if ( window._wpMediaViewsL10n && window._wpMediaViewsL10n.addMedia ) { buttonText = window._wpMediaViewsL10n.addMedia; } var $addMediaButton = $( '<button type="button" class="button insert-media add_media">' ); $addMediaButton.append( '<span class="wp-media-buttons-icon" aria-hidden="true"></span>' ); $addMediaButton.append( document.createTextNode( ' ' + buttonText ) ); $addMediaButton.data( 'editor', id ); $editorTools.append( $( '<div class="wp-media-buttons">' ) .append( $addMediaButton ) ); } $wrap.append( $editorTools .append( $( '<div class="wp-editor-tabs">' ) .append( $button.clone().attr({ id: id + '-tmce', 'class': 'wp-switch-editor switch-tmce' }).text( window.tinymce.translate( 'Visual' ) ) ) .append( $button.attr({ id: id + '-html', 'class': 'wp-switch-editor switch-html' }).text( window.tinymce.translate( 'Code|tab' ) ) ) ).append( $editorContainer ) ); $textarea.after( $wrap ); $editorContainer.append( $textarea ); } if ( window.tinymce && settings.tinymce ) { if ( typeof settings.tinymce !== 'object' ) { settings.tinymce = {}; } init = $.extend( {}, defaults.tinymce, settings.tinymce ); init.selector = '#' + id; $( document ).trigger( 'wp-before-tinymce-init', init ); window.tinymce.init( init ); if ( ! window.wpActiveEditor ) { window.wpActiveEditor = id; } } if ( window.quicktags && settings.quicktags ) { if ( typeof settings.quicktags !== 'object' ) { settings.quicktags = {}; } init = $.extend( {}, defaults.quicktags, settings.quicktags ); init.id = id; $( document ).trigger( 'wp-before-quicktags-init', init ); window.quicktags( init ); if ( ! window.wpActiveEditor ) { window.wpActiveEditor = init.id; } } }; /** * Remove one editor instance. * * Intended for use with editors that were initialized with wp.editor.initialize(). * * @since 4.8.0 * * @param {string} id The HTML id of the editor textarea. */ wp.editor.remove = function( id ) { var mceInstance, qtInstance, $wrap = $( '#wp-' + id + '-wrap' ); if ( window.tinymce ) { mceInstance = window.tinymce.get( id ); if ( mceInstance ) { if ( ! mceInstance.isHidden() ) { mceInstance.save(); } mceInstance.remove(); } } if ( window.quicktags ) { qtInstance = window.QTags.getInstance( id ); if ( qtInstance ) { qtInstance.remove(); } } if ( $wrap.length ) { $wrap.after( $( '#' + id ) ); $wrap.remove(); } }; /** * Get the editor content. * * Intended for use with editors that were initialized with wp.editor.initialize(). * * @since 4.8.0 * * @param {string} id The HTML id of the editor textarea. * @return The editor content. */ wp.editor.getContent = function( id ) { var editor; if ( ! $ || ! id ) { return; } if ( window.tinymce ) { editor = window.tinymce.get( id ); if ( editor && ! editor.isHidden() ) { editor.save(); } } return $( '#' + id ).val(); }; }( window.jQuery, window.wp )); image-edit.js 0000644 00000117750 15174671433 0007135 0 ustar 00 /** * The functions necessary for editing images. * * @since 2.9.0 * @output wp-admin/js/image-edit.js */ /* global ajaxurl, confirm */ (function($) { var __ = wp.i18n.__; /** * Contains all the methods to initialize and control the image editor. * * @namespace imageEdit */ var imageEdit = window.imageEdit = { iasapi : {}, hold : {}, postid : '', _view : false, /** * Enable crop tool. */ toggleCropTool: function( postid, nonce, cropButton ) { var img = $( '#image-preview-' + postid ), selection = this.iasapi.getSelection(); imageEdit.toggleControls( cropButton ); var $el = $( cropButton ); var state = ( $el.attr( 'aria-expanded' ) === 'true' ) ? 'true' : 'false'; // Crop tools have been closed. if ( 'false' === state ) { // Cancel selection, but do not unset inputs. this.iasapi.cancelSelection(); imageEdit.setDisabled($('.imgedit-crop-clear'), 0); } else { imageEdit.setDisabled($('.imgedit-crop-clear'), 1); // Get values from inputs to restore previous selection. var startX = ( $( '#imgedit-start-x-' + postid ).val() ) ? $('#imgedit-start-x-' + postid).val() : 0; var startY = ( $( '#imgedit-start-y-' + postid ).val() ) ? $('#imgedit-start-y-' + postid).val() : 0; var width = ( $( '#imgedit-sel-width-' + postid ).val() ) ? $('#imgedit-sel-width-' + postid).val() : img.innerWidth(); var height = ( $( '#imgedit-sel-height-' + postid ).val() ) ? $('#imgedit-sel-height-' + postid).val() : img.innerHeight(); // Ensure selection is available, otherwise reset to full image. if ( isNaN( selection.x1 ) ) { this.setCropSelection( postid, { 'x1': startX, 'y1': startY, 'x2': width, 'y2': height, 'width': width, 'height': height } ); selection = this.iasapi.getSelection(); } // If we don't already have a selection, select the entire image. if ( 0 === selection.x1 && 0 === selection.y1 && 0 === selection.x2 && 0 === selection.y2 ) { this.iasapi.setSelection( 0, 0, img.innerWidth(), img.innerHeight(), true ); this.iasapi.setOptions( { show: true } ); this.iasapi.update(); } else { this.iasapi.setSelection( startX, startY, width, height, true ); this.iasapi.setOptions( { show: true } ); this.iasapi.update(); } } }, /** * Handle crop tool clicks. */ handleCropToolClick: function( postid, nonce, cropButton ) { if ( cropButton.classList.contains( 'imgedit-crop-clear' ) ) { this.iasapi.cancelSelection(); imageEdit.setDisabled($('.imgedit-crop-apply'), 0); $('#imgedit-sel-width-' + postid).val(''); $('#imgedit-sel-height-' + postid).val(''); $('#imgedit-start-x-' + postid).val('0'); $('#imgedit-start-y-' + postid).val('0'); $('#imgedit-selection-' + postid).val(''); } else { // Otherwise, perform the crop. imageEdit.crop( postid, nonce , cropButton ); } }, /** * Converts a value to an integer. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} f The float value that should be converted. * * @return {number} The integer representation from the float value. */ intval : function(f) { /* * Bitwise OR operator: one of the obscure ways to truncate floating point figures, * worth reminding JavaScript doesn't have a distinct "integer" type. */ return f | 0; }, /** * Adds the disabled attribute and class to a single form element or a field set. * * @since 2.9.0 * * @memberof imageEdit * * @param {jQuery} el The element that should be modified. * @param {boolean|number} s The state for the element. If set to true * the element is disabled, * otherwise the element is enabled. * The function is sometimes called with a 0 or 1 * instead of true or false. * * @return {void} */ setDisabled : function( el, s ) { /* * `el` can be a single form element or a fieldset. Before #28864, the disabled state on * some text fields was handled targeting $('input', el). Now we need to handle the * disabled state on buttons too so we can just target `el` regardless if it's a single * element or a fieldset because when a fieldset is disabled, its descendants are disabled too. */ if ( s ) { el.removeClass( 'disabled' ).prop( 'disabled', false ); } else { el.addClass( 'disabled' ).prop( 'disabled', true ); } }, /** * Initializes the image editor. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {void} */ init : function(postid) { var t = this, old = $('#image-editor-' + t.postid); if ( t.postid !== postid && old.length ) { t.close(t.postid); } t.hold.sizer = parseFloat( $('#imgedit-sizer-' + postid).val() ); t.postid = postid; $('#imgedit-response-' + postid).empty(); $('#imgedit-panel-' + postid).on( 'keypress', function(e) { var nonce = $( '#imgedit-nonce-' + postid ).val(); if ( e.which === 26 && e.ctrlKey ) { imageEdit.undo( postid, nonce ); } if ( e.which === 25 && e.ctrlKey ) { imageEdit.redo( postid, nonce ); } }); $('#imgedit-panel-' + postid).on( 'keypress', 'input[type="text"]', function(e) { var k = e.keyCode; // Key codes 37 through 40 are the arrow keys. if ( 36 < k && k < 41 ) { $(this).trigger( 'blur' ); } // The key code 13 is the Enter key. if ( 13 === k ) { e.preventDefault(); e.stopPropagation(); return false; } }); $( document ).on( 'image-editor-ui-ready', this.focusManager ); }, /** * Calculate the image size and save it to memory. * * @since 6.7.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {void} */ calculateImgSize: function( postid ) { var t = this, x = t.intval( $( '#imgedit-x-' + postid ).val() ), y = t.intval( $( '#imgedit-y-' + postid ).val() ); t.hold.w = t.hold.ow = x; t.hold.h = t.hold.oh = y; t.hold.xy_ratio = x / y; t.hold.sizer = parseFloat( $( '#imgedit-sizer-' + postid ).val() ); t.currentCropSelection = null; }, /** * Toggles the wait/load icon in the editor. * * @since 2.9.0 * @since 5.5.0 Added the triggerUIReady parameter. * * @memberof imageEdit * * @param {number} postid The post ID. * @param {number} toggle Is 0 or 1, fades the icon in when 1 and out when 0. * @param {boolean} triggerUIReady Whether to trigger a custom event when the UI is ready. Default false. * * @return {void} */ toggleEditor: function( postid, toggle, triggerUIReady ) { var wait = $('#imgedit-wait-' + postid); if ( toggle ) { wait.fadeIn( 'fast' ); } else { wait.fadeOut( 'fast', function() { if ( triggerUIReady ) { $( document ).trigger( 'image-editor-ui-ready' ); } } ); } }, /** * Shows or hides image menu popup. * * @since 6.3.0 * * @memberof imageEdit * * @param {HTMLElement} el The activated control element. * * @return {boolean} Always returns false. */ togglePopup : function(el) { var $el = $( el ); var $targetEl = $( el ).attr( 'aria-controls' ); var $target = $( '#' + $targetEl ); $el .attr( 'aria-expanded', 'false' === $el.attr( 'aria-expanded' ) ? 'true' : 'false' ); // Open menu and set z-index to appear above image crop area if it is enabled. $target .toggleClass( 'imgedit-popup-menu-open' ).slideToggle( 'fast' ).css( { 'z-index' : 200000 } ); // Move focus to first item in menu when opening menu. if ( 'true' === $el.attr( 'aria-expanded' ) ) { $target.find( 'button' ).first().trigger( 'focus' ); } return false; }, /** * Observes whether the popup should remain open based on focus position. * * @since 6.4.0 * * @memberof imageEdit * * @param {HTMLElement} el The activated control element. * * @return {boolean} Always returns false. */ monitorPopup : function() { var $parent = document.querySelector( '.imgedit-rotate-menu-container' ); var $toggle = document.querySelector( '.imgedit-rotate-menu-container .imgedit-rotate' ); setTimeout( function() { var $focused = document.activeElement; var $contains = $parent.contains( $focused ); // If $focused is defined and not inside the menu container, close the popup. if ( $focused && ! $contains ) { if ( 'true' === $toggle.getAttribute( 'aria-expanded' ) ) { imageEdit.togglePopup( $toggle ); } } }, 100 ); return false; }, /** * Navigate popup menu by arrow keys. * * @since 6.3.0 * @since 6.7.0 Added the event parameter. * * @memberof imageEdit * * @param {Event} event The key or click event. * @param {HTMLElement} el The current element. * * @return {boolean} Always returns false. */ browsePopup : function(event, el) { var $el = $( el ); var $collection = $( el ).parent( '.imgedit-popup-menu' ).find( 'button' ); var $index = $collection.index( $el ); var $prev = $index - 1; var $next = $index + 1; var $last = $collection.length; if ( $prev < 0 ) { $prev = $last - 1; } if ( $next === $last ) { $next = 0; } var target = false; if ( event.keyCode === 40 ) { target = $collection.get( $next ); } else if ( event.keyCode === 38 ) { target = $collection.get( $prev ); } if ( target ) { target.focus(); event.preventDefault(); } return false; }, /** * Close popup menu and reset focus on feature activation. * * @since 6.3.0 * * @memberof imageEdit * * @param {HTMLElement} el The current element. * * @return {boolean} Always returns false. */ closePopup : function(el) { var $parent = $(el).parent( '.imgedit-popup-menu' ); var $controlledID = $parent.attr( 'id' ); var $target = $( 'button[aria-controls="' + $controlledID + '"]' ); $target .attr( 'aria-expanded', 'false' ).trigger( 'focus' ); $parent .toggleClass( 'imgedit-popup-menu-open' ).slideToggle( 'fast' ); return false; }, /** * Shows or hides the image edit help box. * * @since 2.9.0 * * @memberof imageEdit * * @param {HTMLElement} el The element to create the help window in. * * @return {boolean} Always returns false. */ toggleHelp : function(el) { var $el = $( el ); $el .attr( 'aria-expanded', 'false' === $el.attr( 'aria-expanded' ) ? 'true' : 'false' ) .parents( '.imgedit-group-top' ).toggleClass( 'imgedit-help-toggled' ).find( '.imgedit-help' ).slideToggle( 'fast' ); return false; }, /** * Shows or hides image edit input fields when enabled. * * @since 6.3.0 * * @memberof imageEdit * * @param {HTMLElement} el The element to trigger the edit panel. * * @return {boolean} Always returns false. */ toggleControls : function(el) { var $el = $( el ); var $target = $( '#' + $el.attr( 'aria-controls' ) ); $el .attr( 'aria-expanded', 'false' === $el.attr( 'aria-expanded' ) ? 'true' : 'false' ); $target .parent( '.imgedit-group' ).toggleClass( 'imgedit-panel-active' ); return false; }, /** * Gets the value from the image edit target. * * The image edit target contains the image sizes where the (possible) changes * have to be applied to. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {string} The value from the imagedit-save-target input field when available, * 'full' when not selected, or 'all' if it doesn't exist. */ getTarget : function( postid ) { var element = $( '#imgedit-save-target-' + postid ); if ( element.length ) { return element.find( 'input[name="imgedit-target-' + postid + '"]:checked' ).val() || 'full'; } return 'all'; }, /** * Recalculates the height or width and keeps the original aspect ratio. * * If the original image size is exceeded a red exclamation mark is shown. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The current post ID. * @param {number} x Is 0 when it applies the y-axis * and 1 when applicable for the x-axis. * @param {jQuery} el Element. * * @return {void} */ scaleChanged : function( postid, x, el ) { var w = $('#imgedit-scale-width-' + postid), h = $('#imgedit-scale-height-' + postid), warn = $('#imgedit-scale-warn-' + postid), w1 = '', h1 = '', scaleBtn = $('#imgedit-scale-button'); if ( false === this.validateNumeric( el ) ) { return; } if ( x ) { h1 = ( w.val() !== '' ) ? Math.round( w.val() / this.hold.xy_ratio ) : ''; h.val( h1 ); } else { w1 = ( h.val() !== '' ) ? Math.round( h.val() * this.hold.xy_ratio ) : ''; w.val( w1 ); } if ( ( h1 && h1 > this.hold.oh ) || ( w1 && w1 > this.hold.ow ) ) { warn.css('visibility', 'visible'); scaleBtn.prop('disabled', true); } else { warn.css('visibility', 'hidden'); scaleBtn.prop('disabled', false); } }, /** * Gets the selected aspect ratio. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {string} The aspect ratio. */ getSelRatio : function(postid) { var x = this.hold.w, y = this.hold.h, X = this.intval( $('#imgedit-crop-width-' + postid).val() ), Y = this.intval( $('#imgedit-crop-height-' + postid).val() ); if ( X && Y ) { return X + ':' + Y; } if ( x && y ) { return x + ':' + y; } return '1:1'; }, /** * Removes the last action from the image edit history. * The history consist of (edit) actions performed on the image. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {number} setSize 0 or 1, when 1 the image resets to its original size. * * @return {string} JSON string containing the history or an empty string if no history exists. */ filterHistory : function(postid, setSize) { // Apply undo state to history. var history = $('#imgedit-history-' + postid).val(), pop, n, o, i, op = []; if ( history !== '' ) { // Read the JSON string with the image edit history. history = JSON.parse(history); pop = this.intval( $('#imgedit-undone-' + postid).val() ); if ( pop > 0 ) { while ( pop > 0 ) { history.pop(); pop--; } } // Reset size to its original state. if ( setSize ) { if ( !history.length ) { this.hold.w = this.hold.ow; this.hold.h = this.hold.oh; return ''; } // Restore original 'o'. o = history[history.length - 1]; // c = 'crop', r = 'rotate', f = 'flip'. o = o.c || o.r || o.f || false; if ( o ) { // fw = Full image width. this.hold.w = o.fw; // fh = Full image height. this.hold.h = o.fh; } } // Filter the last step/action from the history. for ( n in history ) { i = history[n]; if ( i.hasOwnProperty('c') ) { op[n] = { 'c': { 'x': i.c.x, 'y': i.c.y, 'w': i.c.w, 'h': i.c.h, 'r': i.c.r } }; } else if ( i.hasOwnProperty('r') ) { op[n] = { 'r': i.r.r }; } else if ( i.hasOwnProperty('f') ) { op[n] = { 'f': i.f.f }; } } return JSON.stringify(op); } return ''; }, /** * Binds the necessary events to the image. * * When the image source is reloaded the image will be reloaded. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {string} nonce The nonce to verify the request. * @param {function} callback Function to execute when the image is loaded. * * @return {void} */ refreshEditor : function(postid, nonce, callback) { var t = this, data, img; t.toggleEditor(postid, 1); data = { 'action': 'imgedit-preview', '_ajax_nonce': nonce, 'postid': postid, 'history': t.filterHistory(postid, 1), 'rand': t.intval(Math.random() * 1000000) }; img = $( '<img id="image-preview-' + postid + '" alt="" />' ) .on( 'load', { history: data.history }, function( event ) { var max1, max2, parent = $( '#imgedit-crop-' + postid ), t = imageEdit, historyObj; // Checks if there already is some image-edit history. if ( '' !== event.data.history ) { historyObj = JSON.parse( event.data.history ); // If last executed action in history is a crop action. if ( historyObj[historyObj.length - 1].hasOwnProperty( 'c' ) ) { /* * A crop action has completed and the crop button gets disabled * ensure the undo button is enabled. */ t.setDisabled( $( '#image-undo-' + postid) , true ); // Move focus to the undo button to avoid a focus loss. $( '#image-undo-' + postid ).trigger( 'focus' ); } } parent.empty().append(img); // w, h are the new full size dimensions. max1 = Math.max( t.hold.w, t.hold.h ); max2 = Math.max( $(img).width(), $(img).height() ); t.hold.sizer = max1 > max2 ? max2 / max1 : 1; t.initCrop(postid, img, parent); if ( (typeof callback !== 'undefined') && callback !== null ) { callback(); } if ( $('#imgedit-history-' + postid).val() && $('#imgedit-undone-' + postid).val() === '0' ) { $('button.imgedit-submit-btn', '#imgedit-panel-' + postid).prop('disabled', false); } else { $('button.imgedit-submit-btn', '#imgedit-panel-' + postid).prop('disabled', true); } var successMessage = __( 'Image updated.' ); t.toggleEditor(postid, 0); wp.a11y.speak( successMessage, 'assertive' ); }) .on( 'error', function() { var errorMessage = __( 'Could not load the preview image. Please reload the page and try again.' ); $( '#imgedit-crop-' + postid ) .empty() .append( '<div class="notice notice-error" tabindex="-1" role="alert"><p>' + errorMessage + '</p></div>' ); t.toggleEditor( postid, 0, true ); wp.a11y.speak( errorMessage, 'assertive' ); } ) .attr('src', ajaxurl + '?' + $.param(data)); }, /** * Performs an image edit action. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {string} nonce The nonce to verify the request. * @param {string} action The action to perform on the image. * The possible actions are: "scale" and "restore". * * @return {boolean|void} Executes a post request that refreshes the page * when the action is performed. * Returns false if an invalid action is given, * or when the action cannot be performed. */ action : function(postid, nonce, action) { var t = this, data, w, h, fw, fh; if ( t.notsaved(postid) ) { return false; } data = { 'action': 'image-editor', '_ajax_nonce': nonce, 'postid': postid }; if ( 'scale' === action ) { w = $('#imgedit-scale-width-' + postid), h = $('#imgedit-scale-height-' + postid), fw = t.intval(w.val()), fh = t.intval(h.val()); if ( fw < 1 ) { w.trigger( 'focus' ); return false; } else if ( fh < 1 ) { h.trigger( 'focus' ); return false; } if ( fw === t.hold.ow || fh === t.hold.oh ) { return false; } data['do'] = 'scale'; data.fwidth = fw; data.fheight = fh; } else if ( 'restore' === action ) { data['do'] = 'restore'; } else { return false; } t.toggleEditor(postid, 1); $.post( ajaxurl, data, function( response ) { $( '#image-editor-' + postid ).empty().append( response.data.html ); t.toggleEditor( postid, 0, true ); // Refresh the attachment model so that changes propagate. if ( t._view ) { t._view.refresh(); } } ).done( function( response ) { // Whether the executed action was `scale` or `restore`, the response does have a message. if ( response && response.data.message.msg ) { wp.a11y.speak( response.data.message.msg ); return; } if ( response && response.data.message.error ) { wp.a11y.speak( response.data.message.error ); } } ); }, /** * Stores the changes that are made to the image. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID to get the image from the database. * @param {string} nonce The nonce to verify the request. * * @return {boolean|void} If the actions are successfully saved a response message is shown. * Returns false if there is no image editing history, * thus there are not edit-actions performed on the image. */ save : function(postid, nonce) { var data, target = this.getTarget(postid), history = this.filterHistory(postid, 0), self = this; if ( '' === history ) { return false; } this.toggleEditor(postid, 1); data = { 'action': 'image-editor', '_ajax_nonce': nonce, 'postid': postid, 'history': history, 'target': target, 'context': $('#image-edit-context').length ? $('#image-edit-context').val() : null, 'do': 'save' }; // Post the image edit data to the backend. $.post( ajaxurl, data, function( response ) { // If a response is returned, close the editor and show an error. if ( response.data.error ) { $( '#imgedit-response-' + postid ) .html( '<div class="notice notice-error" tabindex="-1" role="alert"><p>' + response.data.error + '</p></div>' ); imageEdit.close(postid); wp.a11y.speak( response.data.error ); return; } if ( response.data.fw && response.data.fh ) { $( '#media-dims-' + postid ).html( response.data.fw + ' × ' + response.data.fh ); } if ( response.data.thumbnail ) { $( '.thumbnail', '#thumbnail-head-' + postid ).attr( 'src', '' + response.data.thumbnail ); } if ( response.data.msg ) { $( '#imgedit-response-' + postid ) .html( '<div class="notice notice-success" tabindex="-1" role="alert"><p>' + response.data.msg + '</p></div>' ); wp.a11y.speak( response.data.msg ); } if ( self._view ) { self._view.save(); } else { imageEdit.close(postid); } }); }, /** * Creates the image edit window. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID for the image. * @param {string} nonce The nonce to verify the request. * @param {Object} view The image editor view to be used for the editing. * * @return {void|promise} Either returns void if the button was already activated * or returns an instance of the image editor, wrapped in a promise. */ open : function( postid, nonce, view ) { this._view = view; var dfd, data, elem = $( '#image-editor-' + postid ), head = $( '#media-head-' + postid ), btn = $( '#imgedit-open-btn-' + postid ), spin = btn.siblings( '.spinner' ); /* * Instead of disabling the button, which causes a focus loss and makes screen * readers announce "unavailable", return if the button was already clicked. */ if ( btn.hasClass( 'button-activated' ) ) { return; } spin.addClass( 'is-active' ); data = { 'action': 'image-editor', '_ajax_nonce': nonce, 'postid': postid, 'do': 'open' }; dfd = $.ajax( { url: ajaxurl, type: 'post', data: data, beforeSend: function() { btn.addClass( 'button-activated' ); } } ).done( function( response ) { var errorMessage; if ( '-1' === response ) { errorMessage = __( 'Could not load the preview image.' ); elem.html( '<div class="notice notice-error" tabindex="-1" role="alert"><p>' + errorMessage + '</p></div>' ); } if ( response.data && response.data.html ) { elem.html( response.data.html ); } head.fadeOut( 'fast', function() { elem.fadeIn( 'fast', function() { if ( errorMessage ) { $( document ).trigger( 'image-editor-ui-ready' ); } } ); btn.removeClass( 'button-activated' ); spin.removeClass( 'is-active' ); } ); // Initialize the Image Editor now that everything is ready. imageEdit.init( postid ); } ); return dfd; }, /** * Initializes the cropping tool and sets a default cropping selection. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {void} */ imgLoaded : function(postid) { var img = $('#image-preview-' + postid), parent = $('#imgedit-crop-' + postid); // Ensure init has run even when directly loaded. if ( 'undefined' === typeof this.hold.sizer ) { this.init( postid ); } this.calculateImgSize( postid ); this.initCrop(postid, img, parent); this.setCropSelection( postid, { 'x1': 0, 'y1': 0, 'x2': 0, 'y2': 0, 'width': img.innerWidth(), 'height': img.innerHeight() } ); this.toggleEditor( postid, 0, true ); }, /** * Manages keyboard focus in the Image Editor user interface. * * @since 5.5.0 * * @return {void} */ focusManager: function() { /* * Editor is ready. Move focus to one of the admin alert notices displayed * after a user action or to the first focusable element. Since the DOM * update is pretty large, the timeout helps browsers update their * accessibility tree to better support assistive technologies. */ setTimeout( function() { var elementToSetFocusTo = $( '.notice[role="alert"]' ); if ( ! elementToSetFocusTo.length ) { elementToSetFocusTo = $( '.imgedit-wrap' ).find( ':tabbable:first' ); } elementToSetFocusTo.attr( 'tabindex', '-1' ).trigger( 'focus' ); }, 100 ); }, /** * Initializes the cropping tool. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {HTMLElement} image The preview image. * @param {HTMLElement} parent The preview image container. * * @return {void} */ initCrop : function(postid, image, parent) { var t = this, selW = $('#imgedit-sel-width-' + postid), selH = $('#imgedit-sel-height-' + postid), $image = $( image ), $img; // Already initialized? if ( $image.data( 'imgAreaSelect' ) ) { return; } t.iasapi = $image.imgAreaSelect({ parent: parent, instance: true, handles: true, keys: true, minWidth: 3, minHeight: 3, /** * Sets the CSS styles and binds events for locking the aspect ratio. * * @ignore * * @param {jQuery} img The preview image. */ onInit: function( img ) { // Ensure that the imgAreaSelect wrapper elements are position:absolute // (even if we're in a position:fixed modal). $img = $( img ); $img.next().css( 'position', 'absolute' ) .nextAll( '.imgareaselect-outer' ).css( 'position', 'absolute' ); /** * Binds mouse down event to the cropping container. * * @return {void} */ parent.children().on( 'mousedown touchstart', function(e) { var ratio = false, sel = t.iasapi.getSelection(), cx = t.intval( $( '#imgedit-crop-width-' + postid ).val() ), cy = t.intval( $( '#imgedit-crop-height-' + postid ).val() ); if ( cx && cy ) { ratio = t.getSelRatio( postid ); } else if ( e.shiftKey && sel && sel.width && sel.height ) { ratio = sel.width + ':' + sel.height; } t.iasapi.setOptions({ aspectRatio: ratio }); }); }, /** * Event triggered when starting a selection. * * @ignore * * @return {void} */ onSelectStart: function() { imageEdit.setDisabled($('#imgedit-crop-sel-' + postid), 1); imageEdit.setDisabled($('.imgedit-crop-clear'), 1); imageEdit.setDisabled($('.imgedit-crop-apply'), 1); }, /** * Event triggered when the selection is ended. * * @ignore * * @param {Object} img jQuery object representing the image. * @param {Object} c The selection. * * @return {Object} */ onSelectEnd: function(img, c) { imageEdit.setCropSelection(postid, c); if ( ! $('#imgedit-crop > *').is(':visible') ) { imageEdit.toggleControls($('.imgedit-crop.button')); } }, /** * Event triggered when the selection changes. * * @ignore * * @param {Object} img jQuery object representing the image. * @param {Object} c The selection. * * @return {void} */ onSelectChange: function(img, c) { var sizer = imageEdit.hold.sizer, oldSel = imageEdit.currentCropSelection; if ( oldSel != null && oldSel.width == c.width && oldSel.height == c.height ) { return; } selW.val( Math.min( imageEdit.hold.w, imageEdit.round( c.width / sizer ) ) ); selH.val( Math.min( imageEdit.hold.h, imageEdit.round( c.height / sizer ) ) ); t.currentCropSelection = c; } }); }, /** * Stores the current crop selection. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {Object} c The selection. * * @return {boolean} */ setCropSelection : function(postid, c) { var sel, selW = $( '#imgedit-sel-width-' + postid ), selH = $( '#imgedit-sel-height-' + postid ), sizer = this.hold.sizer, hold = this.hold; c = c || 0; if ( !c || ( c.width < 3 && c.height < 3 ) ) { this.setDisabled( $( '.imgedit-crop', '#imgedit-panel-' + postid ), 1 ); this.setDisabled( $( '#imgedit-crop-sel-' + postid ), 1 ); $('#imgedit-sel-width-' + postid).val(''); $('#imgedit-sel-height-' + postid).val(''); $('#imgedit-start-x-' + postid).val('0'); $('#imgedit-start-y-' + postid).val('0'); $('#imgedit-selection-' + postid).val(''); return false; } // adjust the selection within the bounds of the image on 100% scale var excessW = hold.w - ( Math.round( c.x1 / sizer ) + parseInt( selW.val() ) ); var excessH = hold.h - ( Math.round( c.y1 / sizer ) + parseInt( selH.val() ) ); var x = Math.round( c.x1 / sizer ) + Math.min( 0, excessW ); var y = Math.round( c.y1 / sizer ) + Math.min( 0, excessH ); // use 100% scaling to prevent rounding errors sel = { 'r': 1, 'x': x, 'y': y, 'w': selW.val(), 'h': selH.val() }; this.setDisabled($('.imgedit-crop', '#imgedit-panel-' + postid), 1); $('#imgedit-selection-' + postid).val( JSON.stringify(sel) ); }, /** * Closes the image editor. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {boolean} warn Warning message. * * @return {void|boolean} Returns false if there is a warning. */ close : function(postid, warn) { warn = warn || false; if ( warn && this.notsaved(postid) ) { return false; } this.iasapi = {}; this.hold = {}; // If we've loaded the editor in the context of a Media Modal, // then switch to the previous view, whatever that might have been. if ( this._view ){ this._view.back(); } // In case we are not accessing the image editor in the context of a View, // close the editor the old-school way. else { $('#image-editor-' + postid).fadeOut('fast', function() { $( '#media-head-' + postid ).fadeIn( 'fast', function() { // Move focus back to the Edit Image button. Runs also when saving. $( '#imgedit-open-btn-' + postid ).trigger( 'focus' ); }); $(this).empty(); }); } }, /** * Checks if the image edit history is saved. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * * @return {boolean} Returns true if the history is not saved. */ notsaved : function(postid) { var h = $('#imgedit-history-' + postid).val(), history = ( h !== '' ) ? JSON.parse(h) : [], pop = this.intval( $('#imgedit-undone-' + postid).val() ); if ( pop < history.length ) { if ( confirm( $('#imgedit-leaving-' + postid).text() ) ) { return false; } return true; } return false; }, /** * Adds an image edit action to the history. * * @since 2.9.0 * * @memberof imageEdit * * @param {Object} op The original position. * @param {number} postid The post ID. * @param {string} nonce The nonce. * * @return {void} */ addStep : function(op, postid, nonce) { var t = this, elem = $('#imgedit-history-' + postid), history = ( elem.val() !== '' ) ? JSON.parse( elem.val() ) : [], undone = $( '#imgedit-undone-' + postid ), pop = t.intval( undone.val() ); while ( pop > 0 ) { history.pop(); pop--; } undone.val(0); // Reset. history.push(op); elem.val( JSON.stringify(history) ); t.refreshEditor(postid, nonce, function() { t.setDisabled($('#image-undo-' + postid), true); t.setDisabled($('#image-redo-' + postid), false); }); }, /** * Rotates the image. * * @since 2.9.0 * * @memberof imageEdit * * @param {string} angle The angle the image is rotated with. * @param {number} postid The post ID. * @param {string} nonce The nonce. * @param {Object} t The target element. * * @return {boolean} */ rotate : function(angle, postid, nonce, t) { if ( $(t).hasClass('disabled') ) { return false; } this.closePopup(t); this.addStep({ 'r': { 'r': angle, 'fw': this.hold.h, 'fh': this.hold.w }}, postid, nonce); // Clear the selection fields after rotating. $( '#imgedit-sel-width-' + postid ).val( '' ); $( '#imgedit-sel-height-' + postid ).val( '' ); this.currentCropSelection = null; }, /** * Flips the image. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} axis The axle the image is flipped on. * @param {number} postid The post ID. * @param {string} nonce The nonce. * @param {Object} t The target element. * * @return {boolean} */ flip : function (axis, postid, nonce, t) { if ( $(t).hasClass('disabled') ) { return false; } this.closePopup(t); this.addStep({ 'f': { 'f': axis, 'fw': this.hold.w, 'fh': this.hold.h }}, postid, nonce); // Clear the selection fields after flipping. $( '#imgedit-sel-width-' + postid ).val( '' ); $( '#imgedit-sel-height-' + postid ).val( '' ); this.currentCropSelection = null; }, /** * Crops the image. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {string} nonce The nonce. * @param {Object} t The target object. * * @return {void|boolean} Returns false if the crop button is disabled. */ crop : function (postid, nonce, t) { var sel = $('#imgedit-selection-' + postid).val(), w = this.intval( $('#imgedit-sel-width-' + postid).val() ), h = this.intval( $('#imgedit-sel-height-' + postid).val() ); if ( $(t).hasClass('disabled') || sel === '' ) { return false; } sel = JSON.parse(sel); if ( sel.w > 0 && sel.h > 0 && w > 0 && h > 0 ) { sel.fw = w; sel.fh = h; this.addStep({ 'c': sel }, postid, nonce); } // Clear the selection fields after cropping. $( '#imgedit-sel-width-' + postid ).val( '' ); $( '#imgedit-sel-height-' + postid ).val( '' ); $( '#imgedit-start-x-' + postid ).val( '0' ); $( '#imgedit-start-y-' + postid ).val( '0' ); this.currentCropSelection = null; }, /** * Undoes an image edit action. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {string} nonce The nonce. * * @return {void|false} Returns false if the undo button is disabled. */ undo : function (postid, nonce) { var t = this, button = $('#image-undo-' + postid), elem = $('#imgedit-undone-' + postid), pop = t.intval( elem.val() ) + 1; if ( button.hasClass('disabled') ) { return; } elem.val(pop); t.refreshEditor(postid, nonce, function() { var elem = $('#imgedit-history-' + postid), history = ( elem.val() !== '' ) ? JSON.parse( elem.val() ) : []; t.setDisabled($('#image-redo-' + postid), true); t.setDisabled(button, pop < history.length); // When undo gets disabled, move focus to the redo button to avoid a focus loss. if ( history.length === pop ) { $( '#image-redo-' + postid ).trigger( 'focus' ); } }); }, /** * Reverts a undo action. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {string} nonce The nonce. * * @return {void} */ redo : function(postid, nonce) { var t = this, button = $('#image-redo-' + postid), elem = $('#imgedit-undone-' + postid), pop = t.intval( elem.val() ) - 1; if ( button.hasClass('disabled') ) { return; } elem.val(pop); t.refreshEditor(postid, nonce, function() { t.setDisabled($('#image-undo-' + postid), true); t.setDisabled(button, pop > 0); // When redo gets disabled, move focus to the undo button to avoid a focus loss. if ( 0 === pop ) { $( '#image-undo-' + postid ).trigger( 'focus' ); } }); }, /** * Sets the selection for the height and width in pixels. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {jQuery} el The element containing the values. * * @return {void|boolean} Returns false when the x or y value is lower than 1, * void when the value is not numeric or when the operation * is successful. */ setNumSelection : function( postid, el ) { var sel, elX = $('#imgedit-sel-width-' + postid), elY = $('#imgedit-sel-height-' + postid), elX1 = $('#imgedit-start-x-' + postid), elY1 = $('#imgedit-start-y-' + postid), xS = this.intval( elX1.val() ), yS = this.intval( elY1.val() ), x = this.intval( elX.val() ), y = this.intval( elY.val() ), img = $('#image-preview-' + postid), imgh = img.height(), imgw = img.width(), sizer = this.hold.sizer, x1, y1, x2, y2, ias = this.iasapi; this.currentCropSelection = null; if ( false === this.validateNumeric( el ) ) { return; } if ( x < 1 ) { elX.val(''); return false; } if ( y < 1 ) { elY.val(''); return false; } if ( ( ( x && y ) || ( xS && yS ) ) && ( sel = ias.getSelection() ) ) { x2 = sel.x1 + Math.round( x * sizer ); y2 = sel.y1 + Math.round( y * sizer ); x1 = ( xS === sel.x1 ) ? sel.x1 : Math.round( xS * sizer ); y1 = ( yS === sel.y1 ) ? sel.y1 : Math.round( yS * sizer ); if ( x2 > imgw ) { x1 = 0; x2 = imgw; elX.val( Math.min( this.hold.w, Math.round( x2 / sizer ) ) ); } if ( y2 > imgh ) { y1 = 0; y2 = imgh; elY.val( Math.min( this.hold.h, Math.round( y2 / sizer ) ) ); } ias.setSelection( x1, y1, x2, y2 ); ias.update(); this.setCropSelection(postid, ias.getSelection()); this.currentCropSelection = ias.getSelection(); } }, /** * Rounds a number to a whole. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} num The number. * * @return {number} The number rounded to a whole number. */ round : function(num) { var s; num = Math.round(num); if ( this.hold.sizer > 0.6 ) { return num; } s = num.toString().slice(-1); if ( '1' === s ) { return num - 1; } else if ( '9' === s ) { return num + 1; } return num; }, /** * Sets a locked aspect ratio for the selection. * * @since 2.9.0 * * @memberof imageEdit * * @param {number} postid The post ID. * @param {number} n The ratio to set. * @param {jQuery} el The element containing the values. * * @return {void} */ setRatioSelection : function(postid, n, el) { var sel, r, x = this.intval( $('#imgedit-crop-width-' + postid).val() ), y = this.intval( $('#imgedit-crop-height-' + postid).val() ), h = $('#image-preview-' + postid).height(); if ( false === this.validateNumeric( el ) ) { this.iasapi.setOptions({ aspectRatio: null }); return; } if ( x && y ) { this.iasapi.setOptions({ aspectRatio: x + ':' + y }); if ( sel = this.iasapi.getSelection(true) ) { r = Math.ceil( sel.y1 + ( ( sel.x2 - sel.x1 ) / ( x / y ) ) ); if ( r > h ) { r = h; var errorMessage = __( 'Selected crop ratio exceeds the boundaries of the image. Try a different ratio.' ); $( '#imgedit-crop-' + postid ) .prepend( '<div class="notice notice-error" tabindex="-1" role="alert"><p>' + errorMessage + '</p></div>' ); wp.a11y.speak( errorMessage, 'assertive' ); if ( n ) { $('#imgedit-crop-height-' + postid).val( '' ); } else { $('#imgedit-crop-width-' + postid).val( ''); } } else { var error = $( '#imgedit-crop-' + postid ).find( '.notice-error' ); if ( 'undefined' !== typeof( error ) ) { error.remove(); } } this.iasapi.setSelection( sel.x1, sel.y1, sel.x2, r ); this.iasapi.update(); } } }, /** * Validates if a value in a jQuery.HTMLElement is numeric. * * @since 4.6.0 * * @memberof imageEdit * * @param {jQuery} el The html element. * * @return {void|boolean} Returns false if the value is not numeric, * void when it is. */ validateNumeric: function( el ) { if ( false === this.intval( $( el ).val() ) ) { $( el ).val( '' ); return false; } } }; })(jQuery); inline-edit-post.js 0000644 00000050252 15174671433 0010305 0 ustar 00 /** * This file contains the functions needed for the inline editing of posts. * * @since 2.7.0 * @output wp-admin/js/inline-edit-post.js */ /* global ajaxurl, typenow, inlineEditPost */ window.wp = window.wp || {}; /** * Manages the quick edit and bulk edit windows for editing posts or pages. * * @namespace inlineEditPost * * @since 2.7.0 * * @type {Object} * * @property {string} type The type of inline editor. * @property {string} what The prefix before the post ID. * */ ( function( $, wp ) { window.inlineEditPost = { /** * Initializes the inline and bulk post editor. * * Binds event handlers to the Escape key to close the inline editor * and to the save and close buttons. Changes DOM to be ready for inline * editing. Adds event handler to bulk edit. * * @since 2.7.0 * * @memberof inlineEditPost * * @return {void} */ init : function(){ var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit'); t.type = $('table.widefat').hasClass('pages') ? 'page' : 'post'; // Post ID prefix. t.what = '#post-'; /** * Binds the Escape key to revert the changes and close the quick editor. * * @return {boolean} The result of revert. */ qeRow.on( 'keyup', function(e){ // Revert changes if Escape key is pressed. if ( e.which === 27 ) { return inlineEditPost.revert(); } }); /** * Binds the Escape key to revert the changes and close the bulk editor. * * @return {boolean} The result of revert. */ bulkRow.on( 'keyup', function(e){ // Revert changes if Escape key is pressed. if ( e.which === 27 ) { return inlineEditPost.revert(); } }); /** * Reverts changes and close the quick editor if the cancel button is clicked. * * @return {boolean} The result of revert. */ $( '.cancel', qeRow ).on( 'click', function() { return inlineEditPost.revert(); }); /** * Saves changes in the quick editor if the save(named: update) button is clicked. * * @return {boolean} The result of save. */ $( '.save', qeRow ).on( 'click', function() { return inlineEditPost.save(this); }); /** * If Enter is pressed, and the target is not the cancel button, save the post. * * @return {boolean} The result of save. */ $('td', qeRow).on( 'keydown', function(e){ if ( e.which === 13 && ! $( e.target ).hasClass( 'cancel' ) ) { return inlineEditPost.save(this); } }); /** * Reverts changes and close the bulk editor if the cancel button is clicked. * * @return {boolean} The result of revert. */ $( '.cancel', bulkRow ).on( 'click', function() { return inlineEditPost.revert(); }); /** * Disables the password input field when the private post checkbox is checked. */ $('#inline-edit .inline-edit-private input[value="private"]').on( 'click', function(){ var pw = $('input.inline-edit-password-input'); if ( $(this).prop('checked') ) { pw.val('').prop('disabled', true); } else { pw.prop('disabled', false); } }); /** * Binds click event to the .editinline button which opens the quick editor. */ $( '#the-list' ).on( 'click', '.editinline', function() { $( this ).attr( 'aria-expanded', 'true' ); inlineEditPost.edit( this ); }); // Clone quick edit categories for the bulk editor. var beCategories = $( '#inline-edit fieldset.inline-edit-categories' ).clone(); // Make "id" attributes globally unique. beCategories.find( '*[id]' ).each( function() { this.id = 'bulk-edit-' + this.id; }); $('#bulk-edit').find('fieldset:first').after( beCategories ).siblings( 'fieldset:last' ).prepend( $( '#inline-edit .inline-edit-tags-wrap' ).clone() ); $('select[name="_status"] option[value="future"]', bulkRow).remove(); /** * Adds onclick events to the apply buttons. */ $('#doaction').on( 'click', function(e){ var n, $itemsSelected = $( '#posts-filter .check-column input[type="checkbox"]:checked' ); if ( $itemsSelected.length < 1 ) { return; } t.whichBulkButtonId = $( this ).attr( 'id' ); n = t.whichBulkButtonId.substr( 2 ); if ( 'edit' === $( 'select[name="' + n + '"]' ).val() ) { e.preventDefault(); t.setBulk(); } else if ( $('form#posts-filter tr.inline-editor').length > 0 ) { t.revert(); } }); }, /** * Toggles the quick edit window, hiding it when it's active and showing it when * inactive. * * @since 2.7.0 * * @memberof inlineEditPost * * @param {Object} el Element within a post table row. */ toggle : function(el){ var t = this; $( t.what + t.getId( el ) ).css( 'display' ) === 'none' ? t.revert() : t.edit( el ); }, /** * Creates the bulk editor row to edit multiple posts at once. * * @since 2.7.0 * * @memberof inlineEditPost */ setBulk : function(){ var te = '', type = this.type, c = true; var checkedPosts = $( 'tbody th.check-column input[type="checkbox"]:checked' ); var categories = {}; this.revert(); $( '#bulk-edit td' ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); // Insert the editor at the top of the table with an empty row above to maintain zebra striping. $('table.widefat tbody').prepend( $('#bulk-edit') ).prepend('<tr class="hidden"></tr>'); $('#bulk-edit').addClass('inline-editor').show(); /** * Create a HTML div with the title and a link(delete-icon) for each selected * post. * * Get the selected posts based on the checked checkboxes in the post table. */ $( 'tbody th.check-column input[type="checkbox"]' ).each( function() { // If the checkbox for a post is selected, add the post to the edit list. if ( $(this).prop('checked') ) { c = false; var id = $( this ).val(), theTitle = $( '#inline_' + id + ' .post_title' ).html() || wp.i18n.__( '(no title)' ), buttonVisuallyHiddenText = wp.i18n.sprintf( /* translators: %s: Post title. */ wp.i18n.__( 'Remove “%s” from Bulk Edit' ), theTitle ); te += '<li class="ntdelitem"><button type="button" id="_' + id + '" class="button-link ntdelbutton"><span class="screen-reader-text">' + buttonVisuallyHiddenText + '</span></button><span class="ntdeltitle" aria-hidden="true">' + theTitle + '</span></li>'; } }); // If no checkboxes where checked, just hide the quick/bulk edit rows. if ( c ) { return this.revert(); } // Populate the list of items to bulk edit. $( '#bulk-titles' ).html( '<ul id="bulk-titles-list" role="list">' + te + '</ul>' ); // Gather up some statistics on which of these checked posts are in which categories. checkedPosts.each( function() { var id = $( this ).val(); var checked = $( '#category_' + id ).text().split( ',' ); checked.map( function( cid ) { categories[ cid ] || ( categories[ cid ] = 0 ); // Just record that this category is checked. categories[ cid ]++; } ); } ); // Compute initial states. $( '.inline-edit-categories input[name="post_category[]"]' ).each( function() { if ( categories[ $( this ).val() ] == checkedPosts.length ) { // If the number of checked categories matches the number of selected posts, then all posts are in this category. $( this ).prop( 'checked', true ); } else if ( categories[ $( this ).val() ] > 0 ) { // If the number is less than the number of selected posts, then it's indeterminate. $( this ).prop( 'indeterminate', true ); if ( ! $( this ).parent().find( 'input[name="indeterminate_post_category[]"]' ).length ) { // Get the term label text. var label = $( this ).parent().text(); // Set indeterminate states for the backend. Add accessible text for indeterminate inputs. $( this ).after( '<input type="hidden" name="indeterminate_post_category[]" value="' + $( this ).val() + '">' ).attr( 'aria-label', label.trim() + ': ' + wp.i18n.__( 'Some selected posts have this category' ) ); } } } ); $( '.inline-edit-categories input[name="post_category[]"]:indeterminate' ).on( 'change', function() { // Remove accessible label text. Remove the indeterminate flags as there was a specific state change. $( this ).removeAttr( 'aria-label' ).parent().find( 'input[name="indeterminate_post_category[]"]' ).remove(); } ); $( '.inline-edit-save button' ).on( 'click', function() { $( '.inline-edit-categories input[name="post_category[]"]' ).prop( 'indeterminate', false ); } ); /** * Binds on click events to handle the list of items to bulk edit. * * @listens click */ $( '#bulk-titles .ntdelbutton' ).click( function() { var $this = $( this ), id = $this.attr( 'id' ).substr( 1 ), $prev = $this.parent().prev().children( '.ntdelbutton' ), $next = $this.parent().next().children( '.ntdelbutton' ); $( 'input#cb-select-all-1, input#cb-select-all-2' ).prop( 'checked', false ); $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false ); $( '#_' + id ).parent().remove(); wp.a11y.speak( wp.i18n.__( 'Item removed.' ), 'assertive' ); // Move focus to a proper place when items are removed. if ( $next.length ) { $next.focus(); } else if ( $prev.length ) { $prev.focus(); } else { $( '#bulk-titles-list' ).remove(); inlineEditPost.revert(); wp.a11y.speak( wp.i18n.__( 'All selected items have been removed. Select new items to use Bulk Actions.' ) ); } }); // Enable auto-complete for tags when editing posts. if ( 'post' === type ) { $( 'tr.inline-editor textarea[data-wp-taxonomy]' ).each( function ( i, element ) { /* * While Quick Edit clones the form each time, Bulk Edit always re-uses * the same form. Let's check if an autocomplete instance already exists. */ if ( $( element ).autocomplete( 'instance' ) ) { // jQuery equivalent of `continue` within an `each()` loop. return; } $( element ).wpTagsSuggest(); } ); } // Set initial focus on the Bulk Edit region. $( '#bulk-edit .inline-edit-wrapper' ).attr( 'tabindex', '-1' ).focus(); // Scrolls to the top of the table where the editor is rendered. $('html, body').animate( { scrollTop: 0 }, 'fast' ); }, /** * Creates a quick edit window for the post that has been clicked. * * @since 2.7.0 * * @memberof inlineEditPost * * @param {number|Object} id The ID of the clicked post or an element within a post * table row. * @return {boolean} Always returns false at the end of execution. */ edit : function(id) { var t = this, fields, editRow, rowData, status, pageOpt, pageLevel, nextPage, pageLoop = true, nextLevel, f, val, pw; t.revert(); if ( typeof(id) === 'object' ) { id = t.getId(id); } fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format', 'menu_order', 'page_template']; if ( t.type === 'page' ) { fields.push('post_parent'); } // Add the new edit row with an extra blank row underneath to maintain zebra striping. editRow = $('#inline-edit').clone(true); $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); // Remove the ID from the copied row and let the `for` attribute reference the hidden ID. $( 'td', editRow ).find('#quick-edit-legend').removeAttr('id'); $( 'td', editRow ).find('p[id^="quick-edit-"]').removeAttr('id'); $(t.what+id).removeClass('is-expanded').hide().after(editRow).after('<tr class="hidden"></tr>'); // Populate fields in the quick edit window. rowData = $('#inline_'+id); if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) { // The post author no longer has edit capabilities, so we need to add them to the list of authors. $(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#post-' + id + ' .author').text() + '</option>'); } if ( $( ':input[name="post_author"] option', editRow ).length === 1 ) { $('label.inline-edit-author', editRow).hide(); } for ( f = 0; f < fields.length; f++ ) { val = $('.'+fields[f], rowData); /** * Replaces the image for a Twemoji(Twitter emoji) with it's alternate text. * * @return {string} Alternate text from the image. */ val.find( 'img' ).replaceWith( function() { return this.alt; } ); val = val.text(); $(':input[name="' + fields[f] + '"]', editRow).val( val ); } if ( $( '.comment_status', rowData ).text() === 'open' ) { $( 'input[name="comment_status"]', editRow ).prop( 'checked', true ); } if ( $( '.ping_status', rowData ).text() === 'open' ) { $( 'input[name="ping_status"]', editRow ).prop( 'checked', true ); } if ( $( '.sticky', rowData ).text() === 'sticky' ) { $( 'input[name="sticky"]', editRow ).prop( 'checked', true ); } /** * Creates the select boxes for the categories. */ $('.post_category', rowData).each(function(){ var taxname, term_ids = $(this).text(); if ( term_ids ) { taxname = $(this).attr('id').replace('_'+id, ''); $('ul.'+taxname+'-checklist :checkbox', editRow).val(term_ids.split(',')); } }); /** * Gets all the taxonomies for live auto-fill suggestions when typing the name * of a tag. */ $('.tags_input', rowData).each(function(){ var terms = $(this), taxname = $(this).attr('id').replace('_' + id, ''), textarea = $('textarea.tax_input_' + taxname, editRow), comma = wp.i18n._x( ',', 'tag delimiter' ).trim(); // Ensure the textarea exists. if ( ! textarea.length ) { return; } terms.find( 'img' ).replaceWith( function() { return this.alt; } ); terms = terms.text(); if ( terms ) { if ( ',' !== comma ) { terms = terms.replace(/,/g, comma); } textarea.val(terms); } textarea.wpTagsSuggest(); }); // Handle the post status. var post_date_string = $(':input[name="aa"]').val() + '-' + $(':input[name="mm"]').val() + '-' + $(':input[name="jj"]').val(); post_date_string += ' ' + $(':input[name="hh"]').val() + ':' + $(':input[name="mn"]').val() + ':' + $(':input[name="ss"]').val(); var post_date = new Date( post_date_string ); status = $('._status', rowData).text(); if ( 'future' !== status && Date.now() > post_date ) { $('select[name="_status"] option[value="future"]', editRow).remove(); } else { $('select[name="_status"] option[value="publish"]', editRow).remove(); } pw = $( '.inline-edit-password-input' ).prop( 'disabled', false ); if ( 'private' === status ) { $('input[name="keep_private"]', editRow).prop('checked', true); pw.val( '' ).prop( 'disabled', true ); } // Remove the current page and children from the parent dropdown. pageOpt = $('select[name="post_parent"] option[value="' + id + '"]', editRow); if ( pageOpt.length > 0 ) { pageLevel = pageOpt[0].className.split('-')[1]; nextPage = pageOpt; while ( pageLoop ) { nextPage = nextPage.next('option'); if ( nextPage.length === 0 ) { break; } nextLevel = nextPage[0].className.split('-')[1]; if ( nextLevel <= pageLevel ) { pageLoop = false; } else { nextPage.remove(); nextPage = pageOpt; } } pageOpt.remove(); } $(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show(); $('.ptitle', editRow).trigger( 'focus' ); return false; }, /** * Saves the changes made in the quick edit window to the post. * Ajax saving is only for Quick Edit and not for bulk edit. * * @since 2.7.0 * * @param {number} id The ID for the post that has been changed. * @return {boolean} False, so the form does not submit when pressing * Enter on a focused field. */ save : function(id) { var params, fields, page = $('.post_status_page').val() || ''; if ( typeof(id) === 'object' ) { id = this.getId(id); } $( 'table.widefat .spinner' ).addClass( 'is-active' ); params = { action: 'inline-save', post_type: typenow, post_ID: id, edit_date: 'true', post_status: page }; fields = $('#edit-'+id).find(':input').serialize(); params = fields + '&' + $.param(params); // Make Ajax request. $.post( ajaxurl, params, function(r) { var $errorNotice = $( '#edit-' + id + ' .inline-edit-save .notice-error' ), $error = $errorNotice.find( '.error' ); $( 'table.widefat .spinner' ).removeClass( 'is-active' ); if (r) { if ( -1 !== r.indexOf( '<tr' ) ) { $(inlineEditPost.what+id).siblings('tr.hidden').addBack().remove(); $('#edit-'+id).before(r).remove(); $( inlineEditPost.what + id ).hide().fadeIn( 400, function() { // Move focus back to the Quick Edit button. $( this ) is the row being animated. $( this ).find( '.editinline' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); wp.a11y.speak( wp.i18n.__( 'Changes saved.' ) ); }); } else { r = r.replace( /<.[^<>]*?>/g, '' ); $errorNotice.removeClass( 'hidden' ); $error.html( r ); wp.a11y.speak( $error.text() ); } } else { $errorNotice.removeClass( 'hidden' ); $error.text( wp.i18n.__( 'Error while saving the changes.' ) ); wp.a11y.speak( wp.i18n.__( 'Error while saving the changes.' ) ); } }, 'html'); // Prevent submitting the form when pressing Enter on a focused field. return false; }, /** * Hides and empties the Quick Edit and/or Bulk Edit windows. * * @since 2.7.0 * * @memberof inlineEditPost * * @return {boolean} Always returns false. */ revert : function(){ var $tableWideFat = $( '.widefat' ), id = $( '.inline-editor', $tableWideFat ).attr( 'id' ); if ( id ) { $( '.spinner', $tableWideFat ).removeClass( 'is-active' ); if ( 'bulk-edit' === id ) { // Hide the bulk editor. $( '#bulk-edit', $tableWideFat ).removeClass( 'inline-editor' ).hide().siblings( '.hidden' ).remove(); $('#bulk-titles').empty(); // Store the empty bulk editor in a hidden element. $('#inlineedit').append( $('#bulk-edit') ); // Move focus back to the Bulk Action button that was activated. $( '#' + inlineEditPost.whichBulkButtonId ).trigger( 'focus' ); } else { // Remove both the inline-editor and its hidden tr siblings. $('#'+id).siblings('tr.hidden').addBack().remove(); id = id.substr( id.lastIndexOf('-') + 1 ); // Show the post row and move focus back to the Quick Edit button. $( this.what + id ).show().find( '.editinline' ) .attr( 'aria-expanded', 'false' ) .trigger( 'focus' ); } } return false; }, /** * Gets the ID for a the post that you want to quick edit from the row in the quick * edit table. * * @since 2.7.0 * * @memberof inlineEditPost * * @param {Object} o DOM row object to get the ID for. * @return {string} The post ID extracted from the table row in the object. */ getId : function(o) { var id = $(o).closest('tr').attr('id'), parts = id.split('-'); return parts[parts.length - 1]; } }; $( function() { inlineEditPost.init(); } ); // Show/hide locks on posts. $( function() { // Set the heartbeat interval to 10 seconds. if ( typeof wp !== 'undefined' && wp.heartbeat ) { wp.heartbeat.interval( 10 ); } }).on( 'heartbeat-tick.wp-check-locked-posts', function( e, data ) { var locked = data['wp-check-locked-posts'] || {}; $('#the-list tr').each( function(i, el) { var key = el.id, row = $(el), lock_data, avatar; if ( locked.hasOwnProperty( key ) ) { if ( ! row.hasClass('wp-locked') ) { lock_data = locked[key]; row.find('.column-title .locked-text').text( lock_data.text ); row.find('.check-column checkbox').prop('checked', false); if ( lock_data.avatar_src ) { avatar = $( '<img />', { 'class': 'avatar avatar-18 photo', width: 18, height: 18, alt: '', src: lock_data.avatar_src, srcset: lock_data.avatar_src_2x ? lock_data.avatar_src_2x + ' 2x' : undefined } ); row.find('.column-title .locked-avatar').empty().append( avatar ); } row.addClass('wp-locked'); } } else if ( row.hasClass('wp-locked') ) { row.removeClass( 'wp-locked' ).find( '.locked-info span' ).empty(); } }); }).on( 'heartbeat-send.wp-check-locked-posts', function( e, data ) { var check = []; $('#the-list tr').each( function(i, el) { if ( el.id ) { check.push( el.id ); } }); if ( check.length ) { data['wp-check-locked-posts'] = check; } }); })( jQuery, window.wp ); privacy-tools.js 0000644 00000025253 15174671433 0007737 0 ustar 00 /** * Interactions used by the User Privacy tools in WordPress. * * @output wp-admin/js/privacy-tools.js */ // Privacy request action handling. jQuery( function( $ ) { var __ = wp.i18n.__, copiedNoticeTimeout; function setActionState( $action, state ) { $action.children().addClass( 'hidden' ); $action.children( '.' + state ).removeClass( 'hidden' ); } function clearResultsAfterRow( $requestRow ) { $requestRow.removeClass( 'has-request-results' ); if ( $requestRow.next().hasClass( 'request-results' ) ) { $requestRow.next().remove(); } } function appendResultsAfterRow( $requestRow, classes, summaryMessage, additionalMessages ) { var itemList = '', resultRowClasses = 'request-results'; clearResultsAfterRow( $requestRow ); if ( additionalMessages.length ) { $.each( additionalMessages, function( index, value ) { itemList = itemList + '<li>' + value + '</li>'; }); itemList = '<ul>' + itemList + '</ul>'; } $requestRow.addClass( 'has-request-results' ); if ( $requestRow.hasClass( 'status-request-confirmed' ) ) { resultRowClasses = resultRowClasses + ' status-request-confirmed'; } if ( $requestRow.hasClass( 'status-request-failed' ) ) { resultRowClasses = resultRowClasses + ' status-request-failed'; } $requestRow.after( function() { return '<tr class="' + resultRowClasses + '"><th colspan="5">' + '<div class="notice inline notice-alt ' + classes + '" role="alert">' + '<p>' + summaryMessage + '</p>' + itemList + '</div>' + '</td>' + '</tr>'; }); } $( '.export-personal-data-handle' ).on( 'click', function( event ) { var $this = $( this ), $action = $this.parents( '.export-personal-data' ), $requestRow = $this.parents( 'tr' ), $progress = $requestRow.find( '.export-progress' ), $rowActions = $this.parents( '.row-actions' ), requestID = $action.data( 'request-id' ), nonce = $action.data( 'nonce' ), exportersCount = $action.data( 'exporters-count' ), sendAsEmail = $action.data( 'send-as-email' ) ? true : false; event.preventDefault(); event.stopPropagation(); $rowActions.addClass( 'processing' ); $action.trigger( 'blur' ); clearResultsAfterRow( $requestRow ); setExportProgress( 0 ); function onExportDoneSuccess( zipUrl ) { var summaryMessage = __( 'This user’s personal data export link was sent.' ); if ( 'undefined' !== typeof zipUrl ) { summaryMessage = __( 'This user’s personal data export file was downloaded.' ); } setActionState( $action, 'export-personal-data-success' ); appendResultsAfterRow( $requestRow, 'notice-success', summaryMessage, [] ); if ( 'undefined' !== typeof zipUrl ) { window.location = zipUrl; } else if ( ! sendAsEmail ) { onExportFailure( __( 'No personal data export file was generated.' ) ); } setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 ); } function onExportFailure( errorMessage ) { var summaryMessage = __( 'An error occurred while attempting to export personal data.' ); setActionState( $action, 'export-personal-data-failed' ); if ( errorMessage ) { appendResultsAfterRow( $requestRow, 'notice-error', summaryMessage, [ errorMessage ] ); } setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 ); } function setExportProgress( exporterIndex ) { var progress = ( exportersCount > 0 ? exporterIndex / exportersCount : 0 ), progressString = Math.round( progress * 100 ).toString() + '%'; $progress.html( progressString ); } function doNextExport( exporterIndex, pageIndex ) { $.ajax( { url: window.ajaxurl, data: { action: 'wp-privacy-export-personal-data', exporter: exporterIndex, id: requestID, page: pageIndex, security: nonce, sendAsEmail: sendAsEmail }, method: 'post' } ).done( function( response ) { var responseData = response.data; if ( ! response.success ) { // e.g. invalid request ID. setTimeout( function() { onExportFailure( response.data ); }, 500 ); return; } if ( ! responseData.done ) { setTimeout( doNextExport( exporterIndex, pageIndex + 1 ) ); } else { setExportProgress( exporterIndex ); if ( exporterIndex < exportersCount ) { setTimeout( doNextExport( exporterIndex + 1, 1 ) ); } else { setTimeout( function() { onExportDoneSuccess( responseData.url ); }, 500 ); } } }).fail( function( jqxhr, textStatus, error ) { // e.g. Nonce failure. setTimeout( function() { onExportFailure( error ); }, 500 ); }); } // And now, let's begin. setActionState( $action, 'export-personal-data-processing' ); doNextExport( 1, 1 ); }); $( '.remove-personal-data-handle' ).on( 'click', function( event ) { var $this = $( this ), $action = $this.parents( '.remove-personal-data' ), $requestRow = $this.parents( 'tr' ), $progress = $requestRow.find( '.erasure-progress' ), $rowActions = $this.parents( '.row-actions' ), requestID = $action.data( 'request-id' ), nonce = $action.data( 'nonce' ), erasersCount = $action.data( 'erasers-count' ), hasRemoved = false, hasRetained = false, messages = []; event.preventDefault(); event.stopPropagation(); $rowActions.addClass( 'processing' ); $action.trigger( 'blur' ); clearResultsAfterRow( $requestRow ); setErasureProgress( 0 ); function onErasureDoneSuccess() { var summaryMessage = __( 'No personal data was found for this user.' ), classes = 'notice-success'; setActionState( $action, 'remove-personal-data-success' ); if ( false === hasRemoved ) { if ( false === hasRetained ) { summaryMessage = __( 'No personal data was found for this user.' ); } else { summaryMessage = __( 'Personal data was found for this user but was not erased.' ); classes = 'notice-warning'; } } else { if ( false === hasRetained ) { summaryMessage = __( 'All of the personal data found for this user was erased.' ); } else { summaryMessage = __( 'Personal data was found for this user but some of the personal data found was not erased.' ); classes = 'notice-warning'; } } appendResultsAfterRow( $requestRow, classes, summaryMessage, messages ); setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 ); } function onErasureFailure() { var summaryMessage = __( 'An error occurred while attempting to find and erase personal data.' ); setActionState( $action, 'remove-personal-data-failed' ); appendResultsAfterRow( $requestRow, 'notice-error', summaryMessage, [] ); setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 ); } function setErasureProgress( eraserIndex ) { var progress = ( erasersCount > 0 ? eraserIndex / erasersCount : 0 ), progressString = Math.round( progress * 100 ).toString() + '%'; $progress.html( progressString ); } function doNextErasure( eraserIndex, pageIndex ) { $.ajax({ url: window.ajaxurl, data: { action: 'wp-privacy-erase-personal-data', eraser: eraserIndex, id: requestID, page: pageIndex, security: nonce }, method: 'post' }).done( function( response ) { var responseData = response.data; if ( ! response.success ) { setTimeout( function() { onErasureFailure(); }, 500 ); return; } if ( responseData.items_removed ) { hasRemoved = hasRemoved || responseData.items_removed; } if ( responseData.items_retained ) { hasRetained = hasRetained || responseData.items_retained; } if ( responseData.messages ) { messages = messages.concat( responseData.messages ); } if ( ! responseData.done ) { setTimeout( doNextErasure( eraserIndex, pageIndex + 1 ) ); } else { setErasureProgress( eraserIndex ); if ( eraserIndex < erasersCount ) { setTimeout( doNextErasure( eraserIndex + 1, 1 ) ); } else { setTimeout( function() { onErasureDoneSuccess(); }, 500 ); } } }).fail( function() { setTimeout( function() { onErasureFailure(); }, 500 ); }); } // And now, let's begin. setActionState( $action, 'remove-personal-data-processing' ); doNextErasure( 1, 1 ); }); // Privacy Policy page, copy action. $( document ).on( 'click', function( event ) { var $parent, range, $target = $( event.target ), copiedNotice = $target.siblings( '.success' ); clearTimeout( copiedNoticeTimeout ); if ( $target.is( 'button.privacy-text-copy' ) ) { $parent = $target.closest( '.privacy-settings-accordion-panel' ); if ( $parent.length ) { try { var documentPosition = document.documentElement.scrollTop, bodyPosition = document.body.scrollTop; // Setup copy. window.getSelection().removeAllRanges(); // Hide tutorial content to remove from copied content. range = document.createRange(); $parent.addClass( 'hide-privacy-policy-tutorial' ); // Copy action. range.selectNodeContents( $parent[0] ); window.getSelection().addRange( range ); document.execCommand( 'copy' ); // Reset section. $parent.removeClass( 'hide-privacy-policy-tutorial' ); window.getSelection().removeAllRanges(); // Return scroll position - see #49540. if ( documentPosition > 0 && documentPosition !== document.documentElement.scrollTop ) { document.documentElement.scrollTop = documentPosition; } else if ( bodyPosition > 0 && bodyPosition !== document.body.scrollTop ) { document.body.scrollTop = bodyPosition; } // Display and speak notice to indicate action complete. copiedNotice.addClass( 'visible' ); wp.a11y.speak( __( 'The suggested policy text has been copied to your clipboard.' ) ); // Delay notice dismissal. copiedNoticeTimeout = setTimeout( function() { copiedNotice.removeClass( 'visible' ); }, 3000 ); } catch ( er ) {} } } }); // Label handling to focus the create page button on Privacy settings page. $( 'body.options-privacy-php label[for=create-page]' ).on( 'click', function( e ) { e.preventDefault(); $( 'input#create-page' ).trigger( 'focus' ); } ); // Accordion handling in various new Privacy settings pages. $( '.privacy-settings-accordion' ).on( 'click', '.privacy-settings-accordion-trigger', function() { var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) ); if ( isExpanded ) { $( this ).attr( 'aria-expanded', 'false' ); $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', true ); } else { $( this ).attr( 'aria-expanded', 'true' ); $( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false ); } } ); }); plugin-install.min.js 0000644 00000004543 15174671433 0010647 0 ustar 00 /*! This file is auto-generated */ jQuery(function(e){var o,i,n,a,l,r=e(),s=e(".upload-view-toggle"),t=e(".wrap"),d=e(document.body);function c(){var t;n=e(":tabbable",i),a=o.find("#TB_closeWindowButton"),l=n.last(),(t=a.add(l)).off("keydown.wp-plugin-details"),t.on("keydown.wp-plugin-details",function(t){9===(t=t).which&&(l[0]!==t.target||t.shiftKey?a[0]===t.target&&t.shiftKey&&(t.preventDefault(),l.trigger("focus")):(t.preventDefault(),a.trigger("focus")))})}window.tb_position=function(){var t=e(window).width(),i=e(window).height()-(792<t?60:20),n=792<t?772:t-20;return(o=e("#TB_window")).length&&(o.width(n).height(i),e("#TB_iframeContent").width(n).height(i),o.css({"margin-left":"-"+parseInt(n/2,10)+"px"}),void 0!==document.body.style.maxWidth)&&o.css({top:"30px","margin-top":"0"}),e("a.thickbox").each(function(){var t=e(this).attr("href");t&&(t=(t=t.replace(/&width=[0-9]+/g,"")).replace(/&height=[0-9]+/g,""),e(this).attr("href",t+"&width="+n+"&height="+i))})},e(window).on("resize",function(){tb_position()}),d.on("thickbox:iframe:loaded",o,function(){var t;o.hasClass("plugin-details-modal")&&(t=o.find("#TB_iframeContent"),i=t.contents().find("body"),c(),a.trigger("focus"),e("#plugin-information-tabs a",i).on("click",function(){c()}),i.on("keydown",function(t){27===t.which&&tb_remove()}))}).on("thickbox:removed",function(){r.trigger("focus")}),e(".wrap").on("click",".thickbox.open-plugin-details-modal",function(t){var i=e(this).data("title")?wp.i18n.sprintf(wp.i18n.__("Plugin: %s"),e(this).data("title")):wp.i18n.__("Plugin details");t.preventDefault(),t.stopPropagation(),r=e(this),tb_click.call(this),o.attr({role:"dialog","aria-label":wp.i18n.__("Plugin details")}).addClass("plugin-details-modal"),o.find("#TB_iframeContent").attr("title",i)}),e("#plugin-information-tabs a").on("click",function(t){var i=e(this).attr("name");t.preventDefault(),e("#plugin-information-tabs a.current").removeClass("current"),e(this).addClass("current"),"description"!==i&&e(window).width()<772?e("#plugin-information-content").find(".fyi").hide():e("#plugin-information-content").find(".fyi").show(),e("#section-holder div.section").hide(),e("#section-"+i).show()}),t.hasClass("plugin-install-tab-upload")||s.attr({role:"button","aria-expanded":"false"}).on("click",function(t){t.preventDefault(),d.toggleClass("show-upload-view"),s.attr("aria-expanded",d.hasClass("show-upload-view"))})}); password-strength-meter.js 0000644 00000010214 15174671433 0011723 0 ustar 00 /** * @output wp-admin/js/password-strength-meter.js */ /* global zxcvbn */ window.wp = window.wp || {}; (function($){ var __ = wp.i18n.__, sprintf = wp.i18n.sprintf; /** * Contains functions to determine the password strength. * * @since 3.7.0 * * @namespace */ wp.passwordStrength = { /** * Determines the strength of a given password. * * Compares first password to the password confirmation. * * @since 3.7.0 * * @param {string} password1 The subject password. * @param {Array} disallowedList An array of words that will lower the entropy of * the password. * @param {string} password2 The password confirmation. * * @return {number} The password strength score. */ meter : function( password1, disallowedList, password2 ) { if ( ! Array.isArray( disallowedList ) ) disallowedList = [ disallowedList.toString() ]; if (password1 != password2 && password2 && password2.length > 0) return 5; if ( 'undefined' === typeof window.zxcvbn ) { // Password strength unknown. return -1; } var result = zxcvbn( password1, disallowedList ); return result.score; }, /** * Builds an array of words that should be penalized. * * Certain words need to be penalized because it would lower the entropy of a * password if they were used. The disallowedList is based on user input fields such * as username, first name, email etc. * * @since 3.7.0 * @deprecated 5.5.0 Use {@see 'userInputDisallowedList()'} instead. * * @return {string[]} The array of words to be disallowed. */ userInputBlacklist : function() { window.console.log( sprintf( /* translators: 1: Deprecated function name, 2: Version number, 3: Alternative function name. */ __( '%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.' ), 'wp.passwordStrength.userInputBlacklist()', '5.5.0', 'wp.passwordStrength.userInputDisallowedList()' ) ); return wp.passwordStrength.userInputDisallowedList(); }, /** * Builds an array of words that should be penalized. * * Certain words need to be penalized because it would lower the entropy of a * password if they were used. The disallowed list is based on user input fields such * as username, first name, email etc. * * @since 5.5.0 * * @return {string[]} The array of words to be disallowed. */ userInputDisallowedList : function() { var i, userInputFieldsLength, rawValuesLength, currentField, rawValues = [], disallowedList = [], userInputFields = [ 'user_login', 'first_name', 'last_name', 'nickname', 'display_name', 'email', 'url', 'description', 'weblog_title', 'admin_email' ]; // Collect all the strings we want to disallow. rawValues.push( document.title ); rawValues.push( document.URL ); userInputFieldsLength = userInputFields.length; for ( i = 0; i < userInputFieldsLength; i++ ) { currentField = $( '#' + userInputFields[ i ] ); if ( 0 === currentField.length ) { continue; } rawValues.push( currentField[0].defaultValue ); rawValues.push( currentField.val() ); } /* * Strip out non-alphanumeric characters and convert each word to an * individual entry. */ rawValuesLength = rawValues.length; for ( i = 0; i < rawValuesLength; i++ ) { if ( rawValues[ i ] ) { disallowedList = disallowedList.concat( rawValues[ i ].replace( /\W/g, ' ' ).split( ' ' ) ); } } /* * Remove empty values, short words and duplicates. Short words are likely to * cause many false positives. */ disallowedList = $.grep( disallowedList, function( value, key ) { if ( '' === value || 4 > value.length ) { return false; } return $.inArray( value, disallowedList ) === key; }); return disallowedList; } }; // Backward compatibility. /** * Password strength meter function. * * @since 2.5.0 * @deprecated 3.7.0 Use wp.passwordStrength.meter instead. * * @global * * @type {wp.passwordStrength.meter} */ window.passwordStrength = wp.passwordStrength.meter; })(jQuery); theme.min.js 0000644 00000065006 15174671433 0007010 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(n){var o,a;function e(e,t){Backbone.history._hasPushState&&Backbone.Router.prototype.navigate.call(this,e,t)}(o=wp.themes=wp.themes||{}).data=_wpThemeSettings,a=o.data.l10n,o.isInstall=!!o.data.settings.isInstall,_.extend(o,{model:{},view:{},routes:{},router:{},template:wp.template}),o.Model=Backbone.Model.extend({initialize:function(){var e;this.get("slug")&&(-1!==_.indexOf(o.data.installedThemes,this.get("slug"))&&this.set({installed:!0}),o.data.activeTheme===this.get("slug"))&&this.set({active:!0}),this.set({id:this.get("slug")||this.get("id")}),this.has("sections")&&(e=this.get("sections").description,this.set({description:e}))}}),o.view.Appearance=wp.Backbone.View.extend({el:"#wpbody-content .wrap .theme-browser",window:n(window),page:0,initialize:function(e){_.bindAll(this,"scroller"),this.SearchView=e.SearchView||o.view.Search,this.window.on("scroll",_.throttle(this.scroller,300))},render:function(){this.view=new o.view.Themes({collection:this.collection,parent:this}),this.search(),this.$el.removeClass("search-loading"),this.view.render(),this.$el.empty().append(this.view.el).addClass("rendered")},searchContainer:n(".search-form"),search:function(){var e;1!==o.data.themes.length&&(e=new this.SearchView({collection:this.collection,parent:this}),(this.SearchView=e).render(),this.searchContainer.find(".search-box").append(n.parseHTML('<label for="wp-filter-search-input">'+a.search+"</label>")).append(e.el),this.searchContainer.on("submit",function(e){e.preventDefault()}))},scroller:function(){var e=this,t=this.window.scrollTop()+e.window.height(),e=e.$el.offset().top+e.$el.outerHeight(!1)-e.window.height();Math.round(.9*e)<t&&this.trigger("theme:scroll")}}),o.Collection=Backbone.Collection.extend({model:o.Model,terms:"",doSearch:function(e){this.terms!==e&&(this.terms=e,0<this.terms.length&&this.search(this.terms),""===this.terms&&(this.reset(o.data.themes),n("body").removeClass("no-results")),this.trigger("themes:update"))},search:function(t){var i,e,s,r,a;this.reset(o.data.themes,{silent:!0}),t=(t=(t=t.trim()).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/ /g,")(?=.*"),i=new RegExp("^(?=.*"+t+").+","i"),0===(e=this.filter(function(e){return s=e.get("name").replace(/(<([^>]+)>)/gi,""),r=e.get("description").replace(/(<([^>]+)>)/gi,""),a=e.get("author").replace(/(<([^>]+)>)/gi,""),s=_.union([s,e.get("id"),r,a,e.get("tags")]),i.test(e.get("author"))&&2<t.length&&e.set("displayAuthor",!0),i.test(s)})).length?this.trigger("query:empty"):n("body").removeClass("no-results"),this.reset(e)},paginate:function(e){var t=this;return e=e||0,t=_(t.rest(20*e)),t=_(t.first(20))},count:!1,query:function(t){var e,i,s,r=this.queries,a=this;if(this.currentQuery.request=t,e=_.find(r,function(e){return _.isEqual(e.request,t)}),(i=_.has(t,"page"))||(this.currentQuery.page=1),e||i){if(i)return this.apiCall(t,i).done(function(e){a.add(e.themes),a.trigger("query:success"),a.loadingThemes=!1}).fail(function(){a.trigger("query:fail")});0===e.themes.length?a.trigger("query:empty"):n("body").removeClass("no-results"),_.isNumber(e.total)&&(this.count=e.total),this.reset(e.themes),e.total||(this.count=this.length),this.trigger("themes:update"),this.trigger("query:success",this.count)}else this.apiCall(t).done(function(e){e.themes&&(a.reset(e.themes),s=e.info.results,r.push({themes:e.themes,request:t,total:s})),a.trigger("themes:update"),a.trigger("query:success",s),e.themes&&0===e.themes.length&&a.trigger("query:empty")}).fail(function(){a.trigger("query:fail")})},queries:[],currentQuery:{page:1,request:{}},apiCall:function(e,t){return wp.ajax.send("query-themes",{data:{request:_.extend({per_page:100},e)},beforeSend:function(){t||n("body").addClass("loading-content").removeClass("no-results")}})},loadingThemes:!1}),o.view.Theme=wp.Backbone.View.extend({className:"theme",state:"grid",html:o.template("theme"),events:{click:o.isInstall?"preview":"expand",keydown:o.isInstall?"preview":"expand",touchend:o.isInstall?"preview":"expand",keyup:"addFocus",touchmove:"preventExpand","click .theme-install":"installTheme","click .update-message":"updateTheme"},touchDrag:!1,initialize:function(){this.model.on("change",this.render,this)},render:function(){var e=this.model.toJSON();this.$el.html(this.html(e)).attr("data-slug",e.id),this.activeTheme(),this.model.get("displayAuthor")&&this.$el.addClass("display-author")},activeTheme:function(){this.model.get("active")&&this.$el.addClass("active")},addFocus:function(){var e=n(":focus").hasClass("theme")?n(":focus"):n(":focus").parents(".theme");n(".theme.focus").removeClass("focus"),e.addClass("focus")},expand:function(e){if("keydown"!==(e=e||window.event).type||13===e.which||32===e.which)return!0===this.touchDrag?this.touchDrag=!1:void(n(e.target).is(".theme-actions a")||n(e.target).is(".theme-actions a, .update-message, .button-link, .notice-dismiss")||(o.focusedTheme=this.$el,this.trigger("theme:expand",this.model.cid)))},preventExpand:function(){this.touchDrag=!0},preview:function(e){var t,i,s=this;if(e=e||window.event,!0===this.touchDrag)return this.touchDrag=!1;n(e.target).not(".install-theme-preview").parents(".theme-actions").length||"keydown"===e.type&&13!==e.which&&32!==e.which||"keydown"===e.type&&13!==e.which&&n(":focus").hasClass("button")||(e.preventDefault(),e=e||window.event,o.focusedTheme=this.$el,o.preview=i=new o.view.Preview({model:this.model}),i.render(),this.setNavButtonsState(),1===this.model.collection.length?i.$el.addClass("no-navigation"):i.$el.removeClass("no-navigation"),n("div.wrap").append(i.el),this.listenTo(i,"theme:next",function(){if(t=s.model,_.isUndefined(s.current)||(t=s.current),s.current=s.model.collection.at(s.model.collection.indexOf(t)+1),_.isUndefined(s.current))return s.options.parent.parent.trigger("theme:end"),s.current=t;i.model=s.current,i.render(),this.setNavButtonsState(),n(".next-theme").trigger("focus")}).listenTo(i,"theme:previous",function(){t=s.model,0===s.model.collection.indexOf(s.current)||(_.isUndefined(s.current)||(t=s.current),s.current=s.model.collection.at(s.model.collection.indexOf(t)-1),_.isUndefined(s.current))||(i.model=s.current,i.render(),this.setNavButtonsState(),n(".previous-theme").trigger("focus"))}),this.listenTo(i,"preview:close",function(){s.current=s.model}))},setNavButtonsState:function(){var e=n(".theme-install-overlay"),t=_.isUndefined(this.current)?this.model:this.current,i=e.find(".previous-theme"),e=e.find(".next-theme");0===this.model.collection.indexOf(t)&&(i.addClass("disabled").prop("disabled",!0),e.trigger("focus")),_.isUndefined(this.model.collection.at(this.model.collection.indexOf(t)+1))&&(e.addClass("disabled").prop("disabled",!0),i.trigger("focus"))},installTheme:function(e){var i=this;e.preventDefault(),wp.updates.maybeRequestFilesystemCredentials(e),n(document).on("wp-theme-install-success",function(e,t){i.model.get("id")===t.slug&&i.model.set({installed:!0}),t.blockTheme&&i.model.set({block_theme:!0})}),wp.updates.installTheme({slug:n(e.target).data("slug")})},updateTheme:function(e){var i=this;this.model.get("hasPackage")&&(e.preventDefault(),wp.updates.maybeRequestFilesystemCredentials(e),n(document).on("wp-theme-update-success",function(e,t){i.model.off("change",i.render,i),i.model.get("id")===t.slug&&i.model.set({hasUpdate:!1,version:t.newVersion}),i.model.on("change",i.render,i)}),wp.updates.updateTheme({slug:n(e.target).parents("div.theme").first().data("slug")}))}}),o.view.Details=wp.Backbone.View.extend({className:"theme-overlay",events:{click:"collapse","click .delete-theme":"deleteTheme","click .left":"previousTheme","click .right":"nextTheme","click #update-theme":"updateTheme","click .toggle-auto-update":"autoupdateState"},html:o.template("theme-single"),render:function(){var e=this.model.toJSON();this.$el.html(this.html(e)),this.activeTheme(),this.navigation(),this.screenshotCheck(this.$el),this.containFocus(this.$el)},activeTheme:function(){this.$el.toggleClass("active",this.model.get("active"))},containFocus:function(s){_.delay(function(){n(".theme-overlay").trigger("focus")},100),s.on("keydown.wp-themes",function(e){var t=s.find(".theme-header button:not(.disabled)").first(),i=s.find(".theme-actions a:visible").last();9===e.which&&(t[0]===e.target&&e.shiftKey?(i.trigger("focus"),e.preventDefault()):i[0]!==e.target||e.shiftKey||(t.trigger("focus"),e.preventDefault()))})},collapse:function(e){var t,i=this;e=e||window.event,1!==o.data.themes.length&&(n(e.target).is(".theme-backdrop")||n(e.target).is(".close")||27===e.keyCode)&&(n("body").addClass("closing-overlay"),this.$el.fadeOut(130,function(){n("body").removeClass("closing-overlay"),i.closeOverlay(),t=document.body.scrollTop,o.router.navigate(o.router.baseUrl("")),document.body.scrollTop=t,o.focusedTheme&&o.focusedTheme.find(".more-details").trigger("focus")}))},navigation:function(){this.model.cid===this.model.collection.at(0).cid&&this.$el.find(".left").addClass("disabled").prop("disabled",!0),this.model.cid===this.model.collection.at(this.model.collection.length-1).cid&&this.$el.find(".right").addClass("disabled").prop("disabled",!0)},closeOverlay:function(){n("body").removeClass("modal-open"),this.remove(),this.unbind(),this.trigger("theme:collapse")},autoupdateState:function(){var s=this,r=function(e,t){var i;s.model.get("id")===t.asset&&((i=s.model.get("autoupdate")).enabled="enable"===t.state,s.model.set({autoupdate:i}),n(document).off("wp-auto-update-setting-changed",r))};n(document).on("wp-auto-update-setting-changed",r)},updateTheme:function(e){var i=this;e.preventDefault(),wp.updates.maybeRequestFilesystemCredentials(e),n(document).on("wp-theme-update-success",function(e,t){i.model.get("id")===t.slug&&i.model.set({hasUpdate:!1,version:t.newVersion}),i.render()}),wp.updates.updateTheme({slug:n(e.target).data("slug")})},deleteTheme:function(e){var i=this,s=i.model.collection,r=o;e.preventDefault(),window.confirm(wp.themes.data.settings.confirmDelete)&&(wp.updates.maybeRequestFilesystemCredentials(e),n(document).one("wp-theme-delete-success",function(e,t){i.$el.find(".close").trigger("click"),n('[data-slug="'+t.slug+'"]').css({backgroundColor:"#faafaa"}).fadeOut(350,function(){n(this).remove(),r.data.themes=_.without(r.data.themes,_.findWhere(r.data.themes,{id:t.slug})),n(".wp-filter-search").val(""),s.doSearch(""),s.remove(i.model),s.trigger("themes:update")})}),wp.updates.deleteTheme({slug:this.model.get("id")}))},nextTheme:function(){return this.trigger("theme:next",this.model.cid),!1},previousTheme:function(){return this.trigger("theme:previous",this.model.cid),!1},screenshotCheck:function(e){var t=e.find(".screenshot img"),i=new Image;i.src=t.attr("src"),i.width&&i.width<=300&&e.addClass("small-screenshot")}}),o.view.Preview=o.view.Details.extend({className:"wp-full-overlay expanded",el:".theme-install-overlay",events:{"click .close-full-overlay":"close","click .collapse-sidebar":"collapse","click .devices button":"previewDevice","click .previous-theme":"previousTheme","click .next-theme":"nextTheme",keyup:"keyEvent","click .theme-install":"installTheme"},html:o.template("theme-preview"),render:function(){var e=this,t=this.model.toJSON(),i=n(document.body);i.attr("aria-busy","true"),this.$el.removeClass("iframe-ready").html(this.html(t)),(t=this.$el.data("current-preview-device"))&&e.togglePreviewDeviceButtons(t),o.router.navigate(o.router.baseUrl(o.router.themePath+this.model.get("id")),{replace:!1}),this.$el.fadeIn(200,function(){i.addClass("theme-installer-active full-overlay-active")}),this.$el.find("iframe").one("load",function(){e.iframeLoaded()})},iframeLoaded:function(){this.$el.addClass("iframe-ready"),n(document.body).attr("aria-busy","false")},close:function(){return this.$el.fadeOut(200,function(){n("body").removeClass("theme-installer-active full-overlay-active"),o.focusedTheme&&o.focusedTheme.find(".more-details").trigger("focus")}).removeClass("iframe-ready"),o.router.selectedTab?(o.router.navigate(o.router.baseUrl("?browse="+o.router.selectedTab)),o.router.selectedTab=!1):o.router.navigate(o.router.baseUrl("")),this.trigger("preview:close"),this.undelegateEvents(),this.unbind(),!1},collapse:function(e){e=n(e.currentTarget);return"true"===e.attr("aria-expanded")?e.attr({"aria-expanded":"false","aria-label":a.expandSidebar}):e.attr({"aria-expanded":"true","aria-label":a.collapseSidebar}),this.$el.toggleClass("collapsed").toggleClass("expanded"),!1},previewDevice:function(e){e=n(e.currentTarget).data("device");this.$el.removeClass("preview-desktop preview-tablet preview-mobile").addClass("preview-"+e).data("current-preview-device",e),this.togglePreviewDeviceButtons(e)},togglePreviewDeviceButtons:function(e){var t=n(".wp-full-overlay-footer .devices");t.find("button").removeClass("active").attr("aria-pressed",!1),t.find("button.preview-"+e).addClass("active").attr("aria-pressed",!0)},keyEvent:function(e){27===e.keyCode&&(this.undelegateEvents(),this.close()),e.shiftKey||e.ctrlKey&&e.shiftKey||(39===e.keyCode&&_.once(this.nextTheme()),37===e.keyCode&&this.previousTheme())},installTheme:function(e){var t=this,i=n(e.target);e.preventDefault(),i.hasClass("disabled")||(wp.updates.maybeRequestFilesystemCredentials(e),n(document).on("wp-theme-install-success",function(){t.model.set({installed:!0})}),wp.updates.installTheme({slug:i.data("slug")}))}}),o.view.Themes=wp.Backbone.View.extend({className:"themes wp-clearfix",$overlay:n("div.theme-overlay"),index:0,count:n(".wrap .theme-count"),liveThemeCount:0,initialize:function(e){var t=this;this.parent=e.parent,this.setView("grid"),t.currentTheme(),this.listenTo(t.collection,"themes:update",function(){t.parent.page=0,t.currentTheme(),t.render(this)}),this.listenTo(t.collection,"query:success",function(e){_.isNumber(e)?(t.count.text(e),t.announceSearchResults(e)):(t.count.text(t.collection.length),t.announceSearchResults(t.collection.length))}),this.listenTo(t.collection,"query:empty",function(){n("body").addClass("no-results")}),this.listenTo(this.parent,"theme:scroll",function(){t.renderThemes(t.parent.page)}),this.listenTo(this.parent,"theme:close",function(){t.overlay&&t.overlay.closeOverlay()}),n("body").on("keyup",function(e){!t.overlay||n("#request-filesystem-credentials-dialog").is(":visible")||e.shiftKey||e.ctrlKey&&e.shiftKey||(39===e.keyCode&&t.overlay.nextTheme(),37===e.keyCode&&t.overlay.previousTheme(),27===e.keyCode&&t.overlay.collapse(e))})},render:function(){this.$el.empty(),1===o.data.themes.length&&(this.singleTheme=new o.view.Details({model:this.collection.models[0]}),this.singleTheme.render(),this.$el.addClass("single-theme"),this.$el.append(this.singleTheme.el)),0<this.options.collection.size()&&this.renderThemes(this.parent.page),this.liveThemeCount=this.collection.count||this.collection.length,this.count.text(this.liveThemeCount),o.isInstall||this.announceSearchResults(this.liveThemeCount)},renderThemes:function(e){var t=this;t.instance=t.collection.paginate(e),0===t.instance.size()?this.parent.trigger("theme:end"):(!o.isInstall&&1<=e&&n(".add-new-theme").remove(),t.instance.each(function(e){t.theme=new o.view.Theme({model:e,parent:t}),t.theme.render(),t.$el.append(t.theme.el),t.listenTo(t.theme,"theme:expand",t.expand,t)}),!o.isInstall&&o.data.settings.canInstall&&this.$el.append('<div class="theme add-new-theme"><a href="'+o.data.settings.installURI+'"><div class="theme-screenshot"><span aria-hidden="true"></span></div><h2 class="theme-name">'+a.addNew+"</h2></a></div>"),this.parent.page++)},currentTheme:function(){var e=this.collection.findWhere({active:!0});e&&(this.collection.remove(e),this.collection.add(e,{at:0}))},setView:function(e){return e},expand:function(e){var t,i=this;this.model=i.collection.get(e),o.router.navigate(o.router.baseUrl(o.router.themePath+this.model.id)),this.setView("detail"),n("body").addClass("modal-open"),this.overlay=new o.view.Details({model:i.model}),this.overlay.render(),this.model.get("hasUpdate")&&(e=n('[data-slug="'+this.model.id+'"]'),t=n(this.overlay.el),e.find(".updating-message").length?(t.find(".notice-warning h3").remove(),t.find(".notice-warning").removeClass("notice-large").addClass("updating-message").find("p").text(wp.updates.l10n.updating)):e.find(".notice-error").length&&t.find(".notice-warning").remove()),this.$overlay.html(this.overlay.el),this.listenTo(this.overlay,"theme:next",function(){i.next([i.model.cid])}).listenTo(this.overlay,"theme:previous",function(){i.previous([i.model.cid])})},next:function(e){e=this.collection.get(e[0]),e=this.collection.at(this.collection.indexOf(e)+1);void 0!==e&&(this.overlay.closeOverlay(),this.theme.trigger("theme:expand",e.cid))},previous:function(e){e=this.collection.get(e[0]),e=this.collection.at(this.collection.indexOf(e)-1);void 0!==e&&(this.overlay.closeOverlay(),this.theme.trigger("theme:expand",e.cid))},announceSearchResults:function(e){0===e?wp.a11y.speak(a.noThemesFound):wp.a11y.speak(a.themesFound.replace("%d",e))}}),o.view.Search=wp.Backbone.View.extend({tagName:"input",className:"wp-filter-search",id:"wp-filter-search-input",searching:!1,attributes:{type:"search","aria-describedby":"live-search-desc"},events:{input:"search",keyup:"search",blur:"pushState"},initialize:function(e){this.parent=e.parent,this.listenTo(this.parent,"theme:close",function(){this.searching=!1})},search:function(e){"keyup"===e.type&&27===e.which&&(e.target.value=""),this.doSearch(e)},doSearch:function(e){var t={};this.collection.doSearch(e.target.value.replace(/\+/g," ")),this.searching&&13!==e.which?t.replace=!0:this.searching=!0,e.target.value?o.router.navigate(o.router.baseUrl(o.router.searchPath+e.target.value),t):o.router.navigate(o.router.baseUrl(""))},pushState:function(e){var t=o.router.baseUrl("");e.target.value&&(t=o.router.baseUrl(o.router.searchPath+encodeURIComponent(e.target.value))),this.searching=!1,o.router.navigate(t)}}),o.Router=Backbone.Router.extend({routes:{"themes.php?theme=:slug":"theme","themes.php?search=:query":"search","themes.php?s=:query":"search","themes.php":"themes","":"themes"},baseUrl:function(e){return"themes.php"+e},themePath:"?theme=",searchPath:"?search=",search:function(e){n(".wp-filter-search").val(e.replace(/\+/g," "))},themes:function(){n(".wp-filter-search").val("")},navigate:e}),o.Run={init:function(){this.themes=new o.Collection(o.data.themes),this.view=new o.view.Appearance({collection:this.themes}),this.render(),this.view.SearchView.doSearch=_.debounce(this.view.SearchView.doSearch,500)},render:function(){this.view.render(),this.routes(),Backbone.History.started&&Backbone.history.stop(),Backbone.history.start({root:o.data.settings.adminUrl,pushState:!0,hashChange:!1})},routes:function(){var t=this;o.router=new o.Router,o.router.on("route:theme",function(e){t.view.view.expand(e)}),o.router.on("route:themes",function(){t.themes.doSearch(""),t.view.trigger("theme:close")}),o.router.on("route:search",function(){n(".wp-filter-search").trigger("keyup")}),this.extraRoutes()},extraRoutes:function(){return!1}},o.view.InstallerSearch=o.view.Search.extend({events:{input:"search",keyup:"search"},terms:"",search:function(e){("keyup"!==e.type||9!==e.which&&16!==e.which)&&(this.collection=this.options.parent.view.collection,"keyup"===e.type&&27===e.which&&(e.target.value=""),this.doSearch(e.target.value))},doSearch:function(e){var t={};this.terms!==e&&(this.terms=e,"author:"===(t.search=e).substring(0,7)&&(t.search="",t.author=e.slice(7)),"tag:"===e.substring(0,4)&&(t.search="",t.tag=[e.slice(4)]),n(".filter-links li > a.current").removeClass("current").removeAttr("aria-current"),n("body").removeClass("show-filters filters-applied show-favorites-form"),n(".drawer-toggle").attr("aria-expanded","false"),this.collection.query(t),o.router.navigate(o.router.baseUrl(o.router.searchPath+encodeURIComponent(e)),{replace:!0}))}}),o.view.Installer=o.view.Appearance.extend({el:"#wpbody-content .wrap",events:{"click .filter-links li > a":"onSort","click .theme-filter":"onFilter","click .drawer-toggle":"moreFilters","click .filter-drawer .apply-filters":"applyFilters",'click .filter-group [type="checkbox"]':"addFilter","click .filter-drawer .clear-filters":"clearFilters","click .edit-filters":"backToFilters","click .favorites-form-submit":"saveUsername","keyup #wporg-username-input":"saveUsername"},render:function(){var e=this;this.search(),this.uploader(),this.collection=new o.Collection,this.listenTo(this,"theme:end",function(){e.collection.loadingThemes||(e.collection.loadingThemes=!0,e.collection.currentQuery.page++,_.extend(e.collection.currentQuery.request,{page:e.collection.currentQuery.page}),e.collection.query(e.collection.currentQuery.request))}),this.listenTo(this.collection,"query:success",function(){n("body").removeClass("loading-content"),n(".theme-browser").find("div.error").remove()}),this.listenTo(this.collection,"query:fail",function(){n("body").removeClass("loading-content"),n(".theme-browser").find("div.error").remove(),n(".theme-browser").find("div.themes").before('<div class="notice notice-error"><p>'+a.error+'</p><p><button class="button try-again">'+a.tryAgain+"</button></p></div>"),n(".theme-browser .error .try-again").on("click",function(e){e.preventDefault(),n("input.wp-filter-search").trigger("input")})}),this.view&&this.view.remove(),this.view=new o.view.Themes({collection:this.collection,parent:this}),this.page=0,this.$el.find(".themes").remove(),this.view.render(),this.$el.find(".theme-browser").append(this.view.el).addClass("rendered")},browse:function(e){"block-themes"===e?this.collection.query({tag:"full-site-editing"}):this.collection.query({browse:e})},onSort:function(e){var t=n(e.target),i=t.data("sort");e.preventDefault(),n("body").removeClass("filters-applied show-filters"),n(".drawer-toggle").attr("aria-expanded","false"),t.hasClass(this.activeClass)||(this.sort(i),o.router.navigate(o.router.baseUrl(o.router.browsePath+i)))},sort:function(e){this.clearSearch(),o.router.selectedTab=e,n(".filter-links li > a, .theme-filter").removeClass(this.activeClass).removeAttr("aria-current"),n('[data-sort="'+e+'"]').addClass(this.activeClass).attr("aria-current","page"),"favorites"===e?n("body").addClass("show-favorites-form"):n("body").removeClass("show-favorites-form"),this.browse(e)},onFilter:function(e){var e=n(e.target),t=e.data("filter");e.hasClass(this.activeClass)||(n(".filter-links li > a, .theme-section").removeClass(this.activeClass).removeAttr("aria-current"),e.addClass(this.activeClass).attr("aria-current","page"),t&&(t=_.union([t,this.filtersChecked()]),this.collection.query({tag:[t]})))},addFilter:function(){this.filtersChecked()},applyFilters:function(e){var t,i=this.filtersChecked(),s={tag:i},r=n(".filtered-by .tags");e&&e.preventDefault(),i?(n("body").addClass("filters-applied"),n(".filter-links li > a.current").removeClass("current").removeAttr("aria-current"),r.empty(),_.each(i,function(e){t=n('label[for="filter-id-'+e+'"]').text(),r.append('<span class="tag">'+t+"</span>")}),this.collection.query(s)):wp.a11y.speak(a.selectFeatureFilter)},saveUsername:function(e){var t=n("#wporg-username-input").val(),i=n("#wporg-username-nonce").val(),s={browse:"favorites",user:t},r=this;if(e&&e.preventDefault(),"keyup"!==e.type||13===e.which)return wp.ajax.send("save-wporg-username",{data:{_wpnonce:i,username:t},success:function(){r.collection.query(s)}})},filtersChecked:function(){var e=n(".filter-group").find(":checkbox"),t=[];return _.each(e.filter(":checked"),function(e){t.push(n(e).prop("value"))}),0===t.length?(n(".filter-drawer .apply-filters").find("span").text(""),n(".filter-drawer .clear-filters").hide(),n("body").removeClass("filters-applied"),!1):(n(".filter-drawer .apply-filters").find("span").text(t.length),n(".filter-drawer .clear-filters").css("display","inline-block"),t)},activeClass:"current",uploader:function(){var e=n(".upload-view-toggle"),t=n(document.body);e.on("click",function(){t.toggleClass("show-upload-view"),e.attr("aria-expanded",t.hasClass("show-upload-view"))})},moreFilters:function(e){var t=n("body"),i=n(".drawer-toggle");if(e.preventDefault(),t.hasClass("filters-applied"))return this.backToFilters();this.clearSearch(),o.router.navigate(o.router.baseUrl("")),t.toggleClass("show-filters"),i.attr("aria-expanded",t.hasClass("show-filters"))},clearFilters:function(e){var t=n(".filter-group").find(":checkbox"),i=this;e.preventDefault(),_.each(t.filter(":checked"),function(e){return n(e).prop("checked",!1),i.filtersChecked()})},backToFilters:function(e){e&&e.preventDefault(),n("body").removeClass("filters-applied")},clearSearch:function(){n("#wp-filter-search-input").val("")}}),o.InstallerRouter=Backbone.Router.extend({routes:{"theme-install.php?theme=:slug":"preview","theme-install.php?browse=:sort":"sort","theme-install.php?search=:query":"search","theme-install.php":"sort"},baseUrl:function(e){return"theme-install.php"+e},themePath:"?theme=",browsePath:"?browse=",searchPath:"?search=",search:function(e){n(".wp-filter-search").val(e.replace(/\+/g," "))},navigate:e}),o.RunInstaller={init:function(){this.view=new o.view.Installer({section:"popular",SearchView:o.view.InstallerSearch}),this.render(),this.view.SearchView.doSearch=_.debounce(this.view.SearchView.doSearch,500)},render:function(){this.view.render(),this.routes(),Backbone.History.started&&Backbone.history.stop(),Backbone.history.start({root:o.data.settings.adminUrl,pushState:!0,hashChange:!1})},routes:function(){var t=this,i={};o.router=new o.InstallerRouter,o.router.on("route:preview",function(e){o.preview&&(o.preview.undelegateEvents(),o.preview.unbind()),t.view.view.theme&&t.view.view.theme.preview?(t.view.view.theme.model=t.view.collection.findWhere({slug:e}),t.view.view.theme.preview()):(i.theme=e,t.view.collection.query(i),t.view.collection.trigger("update"),t.view.collection.once("query:success",function(){n('div[data-slug="'+e+'"]').trigger("click")}))}),o.router.on("route:sort",function(e){e||(e="popular",o.router.navigate(o.router.baseUrl("?browse=popular"),{replace:!0})),t.view.sort(e),o.preview&&o.preview.close()}),o.router.on("route:search",function(){n(".wp-filter-search").trigger("focus").trigger("keyup")}),this.extraRoutes()},extraRoutes:function(){return!1}},n(function(){(o.isInstall?o.RunInstaller:o.Run).init(),n(document.body).on("click",".load-customize",function(){var e=n(this),t=document.createElement("a");t.href=e.prop("href"),t.search=n.param(_.extend(wp.customize.utils.parseQueryString(t.search.substr(1)),{return:window.location.href})),e.prop("href",t.href)}),n(".broken-themes .delete-theme").on("click",function(){return confirm(_wpThemeSettings.settings.confirmDelete)})})}(jQuery),jQuery(function(r){window.tb_position=function(){var e=r("#TB_window"),t=r(window).width(),i=r(window).height(),t=1040<t?1040:t,s=0;r("#wpadminbar").length&&(s=parseInt(r("#wpadminbar").css("height"),10)),1<=e.length&&(e.width(t-50).height(i-45-s),r("#TB_iframeContent").width(t-50).height(i-75-s),e.css({"margin-left":"-"+parseInt((t-50)/2,10)+"px"}),void 0!==document.body.style.maxWidth)&&e.css({top:20+s+"px","margin-top":"0"})},r(window).on("resize",function(){tb_position()})}); language-chooser.js 0000644 00000001572 15174671433 0010345 0 ustar 00 /** * @output wp-admin/js/language-chooser.js */ jQuery( function($) { /* * Set the correct translation to the continue button and show a spinner * when downloading a language. */ var select = $( '#language' ), submit = $( '#language-continue' ); if ( ! $( 'body' ).hasClass( 'language-chooser' ) ) { return; } select.trigger( 'focus' ).on( 'change', function() { /* * When a language is selected, set matching translation to continue button * and attach the language attribute. */ var option = select.children( 'option:selected' ); submit.attr({ value: option.data( 'continue' ), lang: option.attr( 'lang' ) }); }); $( 'form' ).on( 'submit', function() { // Show spinner for languages that need to be downloaded. if ( ! select.children( 'option:selected' ).data( 'installed' ) ) { $( this ).find( '.step .spinner' ).css( 'visibility', 'visible' ); } }); }); inline-edit-post.min.js 0000644 00000022647 15174671433 0011076 0 ustar 00 /*! This file is auto-generated */ window.wp=window.wp||{},function(u,h){window.inlineEditPost={init:function(){var i=this,t=u("#inline-edit"),e=u("#bulk-edit"),t=(i.type=u("table.widefat").hasClass("pages")?"page":"post",i.what="#post-",t.on("keyup",function(t){if(27===t.which)return inlineEditPost.revert()}),e.on("keyup",function(t){if(27===t.which)return inlineEditPost.revert()}),u(".cancel",t).on("click",function(){return inlineEditPost.revert()}),u(".save",t).on("click",function(){return inlineEditPost.save(this)}),u("td",t).on("keydown",function(t){if(13===t.which&&!u(t.target).hasClass("cancel"))return inlineEditPost.save(this)}),u(".cancel",e).on("click",function(){return inlineEditPost.revert()}),u('#inline-edit .inline-edit-private input[value="private"]').on("click",function(){var t=u("input.inline-edit-password-input");u(this).prop("checked")?t.val("").prop("disabled",!0):t.prop("disabled",!1)}),u("#the-list").on("click",".editinline",function(){u(this).attr("aria-expanded","true"),inlineEditPost.edit(this)}),u("#inline-edit fieldset.inline-edit-categories").clone());t.find("*[id]").each(function(){this.id="bulk-edit-"+this.id}),u("#bulk-edit").find("fieldset:first").after(t).siblings("fieldset:last").prepend(u("#inline-edit .inline-edit-tags-wrap").clone()),u('select[name="_status"] option[value="future"]',e).remove(),u("#doaction").on("click",function(t){var e;u('#posts-filter .check-column input[type="checkbox"]:checked').length<1||(i.whichBulkButtonId=u(this).attr("id"),e=i.whichBulkButtonId.substr(2),"edit"===u('select[name="'+e+'"]').val()?(t.preventDefault(),i.setBulk()):0<u("form#posts-filter tr.inline-editor").length&&i.revert())})},toggle:function(t){var e=this;"none"===u(e.what+e.getId(t)).css("display")?e.revert():e.edit(t)},setBulk:function(){var n="",t=this.type,a=!0,e=u('tbody th.check-column input[type="checkbox"]:checked'),i={};if(this.revert(),u("#bulk-edit td").attr("colspan",u("th:visible, td:visible",".widefat:first thead").length),u("table.widefat tbody").prepend(u("#bulk-edit")).prepend('<tr class="hidden"></tr>'),u("#bulk-edit").addClass("inline-editor").show(),u('tbody th.check-column input[type="checkbox"]').each(function(){var t,e,i;u(this).prop("checked")&&(a=!1,t=u(this).val(),e=u("#inline_"+t+" .post_title").html()||h.i18n.__("(no title)"),i=h.i18n.sprintf(h.i18n.__("Remove “%s” from Bulk Edit"),e),n+='<li class="ntdelitem"><button type="button" id="_'+t+'" class="button-link ntdelbutton"><span class="screen-reader-text">'+i+'</span></button><span class="ntdeltitle" aria-hidden="true">'+e+"</span></li>")}),a)return this.revert();u("#bulk-titles").html('<ul id="bulk-titles-list" role="list">'+n+"</ul>"),e.each(function(){var t=u(this).val();u("#category_"+t).text().split(",").map(function(t){i[t]||(i[t]=0),i[t]++})}),u('.inline-edit-categories input[name="post_category[]"]').each(function(){var t;i[u(this).val()]==e.length?u(this).prop("checked",!0):0<i[u(this).val()]&&(u(this).prop("indeterminate",!0),u(this).parent().find('input[name="indeterminate_post_category[]"]').length||(t=u(this).parent().text(),u(this).after('<input type="hidden" name="indeterminate_post_category[]" value="'+u(this).val()+'">').attr("aria-label",t.trim()+": "+h.i18n.__("Some selected posts have this category"))))}),u('.inline-edit-categories input[name="post_category[]"]:indeterminate').on("change",function(){u(this).removeAttr("aria-label").parent().find('input[name="indeterminate_post_category[]"]').remove()}),u(".inline-edit-save button").on("click",function(){u('.inline-edit-categories input[name="post_category[]"]').prop("indeterminate",!1)}),u("#bulk-titles .ntdelbutton").click(function(){var t=u(this),e=t.attr("id").substr(1),i=t.parent().prev().children(".ntdelbutton"),t=t.parent().next().children(".ntdelbutton");u("input#cb-select-all-1, input#cb-select-all-2").prop("checked",!1),u('table.widefat input[value="'+e+'"]').prop("checked",!1),u("#_"+e).parent().remove(),h.a11y.speak(h.i18n.__("Item removed."),"assertive"),t.length?t.focus():i.length?i.focus():(u("#bulk-titles-list").remove(),inlineEditPost.revert(),h.a11y.speak(h.i18n.__("All selected items have been removed. Select new items to use Bulk Actions.")))}),"post"===t&&u("tr.inline-editor textarea[data-wp-taxonomy]").each(function(t,e){u(e).autocomplete("instance")||u(e).wpTagsSuggest()}),u("#bulk-edit .inline-edit-wrapper").attr("tabindex","-1").focus(),u("html, body").animate({scrollTop:0},"fast")},edit:function(n){var t,a,e,i,s,o,r,l,d=this,c=!0;for(d.revert(),"object"==typeof n&&(n=d.getId(n)),t=["post_title","post_name","post_author","_status","jj","mm","aa","hh","mn","ss","post_password","post_format","menu_order","page_template"],"page"===d.type&&t.push("post_parent"),a=u("#inline-edit").clone(!0),u("td",a).attr("colspan",u("th:visible, td:visible",".widefat:first thead").length),u("td",a).find("#quick-edit-legend").removeAttr("id"),u("td",a).find('p[id^="quick-edit-"]').removeAttr("id"),u(d.what+n).removeClass("is-expanded").hide().after(a).after('<tr class="hidden"></tr>'),e=u("#inline_"+n),u(':input[name="post_author"] option[value="'+u(".post_author",e).text()+'"]',a).val()||u(':input[name="post_author"]',a).prepend('<option value="'+u(".post_author",e).text()+'">'+u("#post-"+n+" .author").text()+"</option>"),1===u(':input[name="post_author"] option',a).length&&u("label.inline-edit-author",a).hide(),r=0;r<t.length;r++)(l=u("."+t[r],e)).find("img").replaceWith(function(){return this.alt}),l=l.text(),u(':input[name="'+t[r]+'"]',a).val(l);"open"===u(".comment_status",e).text()&&u('input[name="comment_status"]',a).prop("checked",!0),"open"===u(".ping_status",e).text()&&u('input[name="ping_status"]',a).prop("checked",!0),"sticky"===u(".sticky",e).text()&&u('input[name="sticky"]',a).prop("checked",!0),u(".post_category",e).each(function(){var t,e=u(this).text();e&&(t=u(this).attr("id").replace("_"+n,""),u("ul."+t+"-checklist :checkbox",a).val(e.split(",")))}),u(".tags_input",e).each(function(){var t=u(this),e=u(this).attr("id").replace("_"+n,""),e=u("textarea.tax_input_"+e,a),i=h.i18n._x(",","tag delimiter").trim();e.length&&(t.find("img").replaceWith(function(){return this.alt}),(t=t.text())&&(","!==i&&(t=t.replace(/,/g,i)),e.val(t)),e.wpTagsSuggest())});var p,d=u(':input[name="aa"]').val()+"-"+u(':input[name="mm"]').val()+"-"+u(':input[name="jj"]').val(),d=(d+=" "+u(':input[name="hh"]').val()+":"+u(':input[name="mn"]').val()+":"+u(':input[name="ss"]').val(),new Date(d));if(("future"!==(p=u("._status",e).text())&&Date.now()>d?u('select[name="_status"] option[value="future"]',a):u('select[name="_status"] option[value="publish"]',a)).remove(),d=u(".inline-edit-password-input").prop("disabled",!1),"private"===p&&(u('input[name="keep_private"]',a).prop("checked",!0),d.val("").prop("disabled",!0)),0<(i=u('select[name="post_parent"] option[value="'+n+'"]',a)).length){for(s=i[0].className.split("-")[1],o=i;c&&0!==(o=o.next("option")).length;)o[0].className.split("-")[1]<=s?c=!1:(o.remove(),o=i);i.remove()}return u(a).attr("id","edit-"+n).addClass("inline-editor").show(),u(".ptitle",a).trigger("focus"),!1},save:function(n){var t=u(".post_status_page").val()||"";return"object"==typeof n&&(n=this.getId(n)),u("table.widefat .spinner").addClass("is-active"),t={action:"inline-save",post_type:typenow,post_ID:n,edit_date:"true",post_status:t},t=u("#edit-"+n).find(":input").serialize()+"&"+u.param(t),u.post(ajaxurl,t,function(t){var e=u("#edit-"+n+" .inline-edit-save .notice-error"),i=e.find(".error");u("table.widefat .spinner").removeClass("is-active"),t?-1!==t.indexOf("<tr")?(u(inlineEditPost.what+n).siblings("tr.hidden").addBack().remove(),u("#edit-"+n).before(t).remove(),u(inlineEditPost.what+n).hide().fadeIn(400,function(){u(this).find(".editinline").attr("aria-expanded","false").trigger("focus"),h.a11y.speak(h.i18n.__("Changes saved."))})):(t=t.replace(/<.[^<>]*?>/g,""),e.removeClass("hidden"),i.html(t),h.a11y.speak(i.text())):(e.removeClass("hidden"),i.text(h.i18n.__("Error while saving the changes.")),h.a11y.speak(h.i18n.__("Error while saving the changes.")))},"html"),!1},revert:function(){var t=u(".widefat"),e=u(".inline-editor",t).attr("id");return e&&(u(".spinner",t).removeClass("is-active"),("bulk-edit"===e?(u("#bulk-edit",t).removeClass("inline-editor").hide().siblings(".hidden").remove(),u("#bulk-titles").empty(),u("#inlineedit").append(u("#bulk-edit")),u("#"+inlineEditPost.whichBulkButtonId)):(u("#"+e).siblings("tr.hidden").addBack().remove(),e=e.substr(e.lastIndexOf("-")+1),u(this.what+e).show().find(".editinline").attr("aria-expanded","false"))).trigger("focus")),!1},getId:function(t){t=u(t).closest("tr").attr("id").split("-");return t[t.length-1]}},u(function(){inlineEditPost.init()}),u(function(){void 0!==h&&h.heartbeat&&h.heartbeat.interval(10)}).on("heartbeat-tick.wp-check-locked-posts",function(t,e){var n=e["wp-check-locked-posts"]||{};u("#the-list tr").each(function(t,e){var i=e.id,e=u(e);n.hasOwnProperty(i)?e.hasClass("wp-locked")||(i=n[i],e.find(".column-title .locked-text").text(i.text),e.find(".check-column checkbox").prop("checked",!1),i.avatar_src&&(i=u("<img />",{class:"avatar avatar-18 photo",width:18,height:18,alt:"",src:i.avatar_src,srcset:i.avatar_src_2x?i.avatar_src_2x+" 2x":void 0}),e.find(".column-title .locked-avatar").empty().append(i)),e.addClass("wp-locked")):e.hasClass("wp-locked")&&e.removeClass("wp-locked").find(".locked-info span").empty()})}).on("heartbeat-send.wp-check-locked-posts",function(t,e){var i=[];u("#the-list tr").each(function(t,e){e.id&&i.push(e.id)}),i.length&&(e["wp-check-locked-posts"]=i)})}(jQuery,window.wp); dist/used-keywords-assessment.js 0000644 00000001416 15174677550 0013060 0 ustar 00 (()=>{"use strict";const s=window.yoast.analysis.bundledPlugins.usedKeywords;(new class{constructor(){this._initialized=!1}register(){analysisWorker.registerMessageHandler("updateKeywordUsage",this.updateKeywordUsage.bind(this),"used-keywords-assessment"),analysisWorker.registerMessageHandler("initialize",this.initialize.bind(this),"used-keywords-assessment")}initialize(e){this._plugin=new s(analysisWorker,e),this._plugin.registerPlugin(),this._initialized=!0}updateKeywordUsage(s){if(!this._initialized)throw new Error("UsedKeywordsAssessment must be initialized before keyphrases can be updated.");const e=s.usedKeywords,i=s.usedKeywordsPostTypes;this._plugin.updateKeywordUsage(e,i),analysisWorker.refreshAssessment("usedKeywords","previouslyUsedKeywords")}}).register()})(); dist/externals-redux.js 0000644 00000160344 15174677550 0011230 0 ustar 00 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ADD_CHECKLIST:()=>Re,CHANGE_COUNTRY:()=>Vt,CLEAR_FACEBOOK_IMAGE:()=>zr,CLEAR_TWITTER_IMAGE:()=>Kr,CLOSE_EDITOR_MODAL:()=>ut,CUSTOM_FIELD_RESULTS:()=>Tr,DISMISS_ALERT:()=>At,DISMISS_ALERT_SUCCESS:()=>Rt,FIND_CUSTOM_FIELDS:()=>Sr,GET_SCHEMA_ARTICLE_DATA:()=>Lt,GET_SCHEMA_PAGE_DATA:()=>Nt,HIDE_REPLACEMENT_VARIABLES:()=>wr,LOAD_ADVANCED_SETTINGS:()=>ue,LOAD_CORNERSTONE_CONTENT:()=>qe,LOAD_ESTIMATED_READING_TIME:()=>x,LOAD_FACEBOOK_PREVIEW:()=>Jr,LOAD_FOCUS_KEYWORD:()=>gt,LOAD_SNIPPET_EDITOR_DATA:()=>fr,LOAD_TWITTER_PREVIEW:()=>xr,MODAL_DISMISS:()=>Ft,MODAL_OPEN:()=>Bt,MODAL_OPEN_NO_KEYPHRASE:()=>Kt,NEW_REQUEST:()=>$t,NO_DATA_FOUND:()=>Qt,OPEN_EDITOR_MODAL:()=>lt,REFRESH:()=>Rr,REMOVE_REPLACEMENT_VARIABLE:()=>Ar,RUN_ANALYSIS:()=>Te,SET_ACTIVE_AI_FIXES_BUTTON:()=>J,SET_ACTIVE_MARKER:()=>X,SET_ADVANCED:()=>oe,SET_ARTICLE_TYPE:()=>Ct,SET_BREADCRUMBS_TITLE:()=>ce,SET_CANONICAL_URL:()=>le,SET_CONTENT_IMAGE:()=>or,SET_CORNERSTONE_CONTENT:()=>je,SET_CURRENT_PROMOTIONS:()=>ze,SET_DISABLED_AI_FIXES_BUTTONS:()=>Z,SET_DISMISSED_ALERTS:()=>ht,SET_EDITOR_DATA_CONTENT:()=>Ze,SET_EDITOR_DATA_EXCERPT:()=>tt,SET_EDITOR_DATA_IMAGE_URL:()=>rt,SET_EDITOR_DATA_SLUG:()=>nt,SET_EDITOR_DATA_TITLE:()=>et,SET_ESTIMATED_READING_TIME:()=>K,SET_FACEBOOK_DESCRIPTION:()=>Qr,SET_FACEBOOK_IMAGE:()=>Xr,SET_FACEBOOK_TITLE:()=>$r,SET_FLESCH_READING_EASE:()=>H,SET_FOCUS_AI_FIXES_BUTTON_ID:()=>ee,SET_FOCUS_KEYWORD:()=>mt,SET_IS_PREMIUM:()=>Un,SET_LOGIN_STATUS:()=>Xt,SET_MARKER_PAUSE_STATUS:()=>It,SET_MARKER_STATUS:()=>Tt,SET_NO_FOLLOW:()=>ae,SET_NO_INDEX:()=>se,SET_PAGE_TYPE:()=>bt,SET_POST_ID:()=>Fn,SET_PRIMARY_TAXONOMY:()=>Ot,SET_PROMINENT_WORDS:()=>G,SET_REQUEST_FAILED:()=>Yt,SET_REQUEST_LIMIT_REACHED:()=>jt,SET_REQUEST_PENDING:()=>zt,SET_REQUEST_SUCCEEDED:()=>qt,SET_SETTINGS:()=>ar,SET_SHOPPING_DATA:()=>pr,SET_TEXT_LENGTH:()=>V,SET_TWITTER_DESCRIPTION:()=>Fr,SET_TWITTER_IMAGE:()=>Br,SET_TWITTER_TITLE:()=>Wr,SET_WARNING_MESSAGE:()=>sn,SWITCH_MODE:()=>mr,TOGGLE_CORNERSTONE_CONTENT:()=>Ye,UPDATE_DATA:()=>_r,UPDATE_REPLACEMENT_VARIABLE:()=>yr,UPDATE_REPLACEMENT_VARIABLES_BATCH:()=>Ir,UPDATE_SETTINGS:()=>cr,UPDATE_SHORTCODES_FOR_PARSING:()=>ye,UPDATE_SNIPPET_DATA:()=>Se,UPDATE_WORDS_TO_HIGHLIGHT:()=>hr,WINCHER_MODAL_DISMISS:()=>on,WINCHER_MODAL_OPEN:()=>cn,WINCHER_MODAL_OPEN_NO_KEYPHRASE:()=>ln,WINCHER_NEW_REQUEST:()=>Sn,WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST:()=>In,WINCHER_SET_KEYPHRASE_LIMIT_REACHED:()=>mn,WINCHER_SET_LOGIN_STATUS:()=>Tn,WINCHER_SET_REQUEST_FAILED:()=>gn,WINCHER_SET_REQUEST_SUCCEEDED:()=>En,WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES:()=>Cn,WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>vn,WINCHER_SET_TRACK_ALL_REQUEST:()=>yn,WINCHER_SET_WEBSITE_ID:()=>Pn,WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>bn,addChecklist:()=>he,clearFacebookPreviewImage:()=>rn,clearTwitterPreviewImage:()=>qr,closeEditorModal:()=>pt,dismissAlert:()=>ft,findCustomFields:()=>Pr,getSchemaArticleData:()=>Wt,getSchemaPageData:()=>Ut,hideReplacementVariables:()=>Mr,loadAdvancedSettingsData:()=>_e,loadCornerstoneContent:()=>$e,loadEstimatedReadingTime:()=>Y,loadFacebookPreviewData:()=>nn,loadFocusKeyword:()=>_t,loadTwitterPreviewData:()=>Yr,openEditorModal:()=>dt,refreshSnippetEditor:()=>Lr,removeReplacementVariable:()=>Nr,runAnalysis:()=>we,setActiveAIFixesButton:()=>te,setActiveMarker:()=>z,setAdminUrl:()=>Kn,setAdvanced:()=>Ee,setArticleType:()=>kt,setBreadcrumbsTitle:()=>ge,setCanonical:()=>me,setContentImage:()=>ur,setCornerstoneContent:()=>Qe,setCurrentPromotions:()=>Je,setDisabledAIFixesButtons:()=>re,setDismissedAlerts:()=>Dt,setDocumentTitle:()=>qn,setEditorDataContent:()=>it,setEditorDataExcerpt:()=>at,setEditorDataImageUrl:()=>ot,setEditorDataSlug:()=>ct,setEditorDataTitle:()=>st,setEstimatedReadingTime:()=>q,setFacebookPreviewDescription:()=>en,setFacebookPreviewImage:()=>tn,setFacebookPreviewTitle:()=>Zr,setFleschReadingEase:()=>j,setFocusAIFixesButtonId:()=>ne,setFocusKeyword:()=>St,setInclusiveLanguageResults:()=>Ke,setIsPremium:()=>Wn,setLinkParams:()=>xn,setMarkerPauseStatus:()=>wt,setMarkerStatus:()=>yt,setNoFollow:()=>pe,setNoIndex:()=>de,setOverallInclusiveLanguageScore:()=>Ge,setOverallReadabilityScore:()=>xe,setOverallSeoScore:()=>He,setPageType:()=>Mt,setPluginUrl:()=>Hn,setPostId:()=>Bn,setPrimaryTaxonomyId:()=>Pt,setProminentWords:()=>$,setReadabilityResults:()=>Be,setSEMrushChangeCountry:()=>rr,setSEMrushDismissModal:()=>xt,setSEMrushLoginStatus:()=>ir,setSEMrushNewRequest:()=>sr,setSEMrushNoKeyphraseMessage:()=>Gt,setSEMrushNoResultsFound:()=>nr,setSEMrushOpenModal:()=>Ht,setSEMrushRequestFailed:()=>er,setSEMrushRequestPending:()=>Jt,setSEMrushRequestSucceeded:()=>Zt,setSEMrushSetRequestLimitReached:()=>tr,setSeoResultsForKeyword:()=>Fe,setSettings:()=>lr,setShoppingData:()=>Er,setTextLength:()=>Q,setTwitterPreviewDescription:()=>Gr,setTwitterPreviewImage:()=>Vr,setTwitterPreviewTitle:()=>Hr,setWarningMessage:()=>an,setWincherAutomaticKeyphaseTracking:()=>On,setWincherDismissModal:()=>un,setWincherLoginStatus:()=>fn,setWincherNewRequest:()=>wn,setWincherNoKeyphrase:()=>pn,setWincherOpenModal:()=>dn,setWincherRequestFailed:()=>Rn,setWincherRequestSucceeded:()=>An,setWincherSetKeyphraseLimitReached:()=>hn,setWincherTrackAllKeyphrases:()=>Dn,setWincherTrackedKeyphrases:()=>kn,setWincherTrackingForKeyphrase:()=>Ln,setWincherWebsiteId:()=>Nn,setWistiaEmbedPermission:()=>Gn,setWistiaEmbedPermissionValue:()=>Vn,switchMode:()=>Dr,toggleCornerstoneContent:()=>Xe,unsetWincherTrackingForKeyphrase:()=>Mn,updateAnalysisData:()=>Ie,updateData:()=>Or,updateReplacementVariable:()=>vr,updateReplacementVariablesBatch:()=>br,updateSettings:()=>dr,updateShortcodesForParsing:()=>Ae,updateWordsToHighlight:()=>Cr});var r={};e.r(r),e.d(r,{getActiveAIFixesButton:()=>ss,getActiveMarker:()=>Ta,getAdvanced:()=>us,getAnalysisData:()=>$s,getAnalysisTimestamp:()=>Ys,getArticleType:()=>Ua,getBaseUrlFromSettings:()=>Os,getBreadcrumbsTitle:()=>ds,getCanonical:()=>ps,getChecklistItems:()=>Xs,getContentImage:()=>Zs,getContentLocale:()=>Si,getDateFromSettings:()=>Ps,getDefaultArticleType:()=>ka,getDefaultPageType:()=>La,getDescription:()=>Vs,getDisabledAIFixesButtons:()=>as,getEditorContext:()=>si,getEditorDataContent:()=>Ss,getEditorDataExcerpt:()=>ys,getEditorDataExcerptWithFallback:()=>Is,getEditorDataImageFallback:()=>As,getEditorDataImageUrl:()=>ws,getEditorDataSlug:()=>Rs,getEditorDataTitle:()=>Ts,getEditorType:()=>_i,getEstimatedReadingTime:()=>Zi,getFacebookAltText:()=>pa,getFacebookDescription:()=>la,getFacebookDescriptionFallback:()=>_a,getFacebookDescriptionOrFallback:()=>Sa,getFacebookImageSrc:()=>da,getFacebookImageUrl:()=>ua,getFacebookTitle:()=>ca,getFacebookTitleFallback:()=>ga,getFacebookTitleOrFallback:()=>ma,getFacebookWarnings:()=>Ea,getFleschReadingEaseDifficulty:()=>ts,getFleschReadingEaseScore:()=>es,getFocusAIFixesButtonId:()=>os,getFocusKeyphrase:()=>hs,getFocusKeyphraseErrors:()=>fs,getImageFallback:()=>ea,getInclusiveLanguageResults:()=>va,getIsAiFeatureEnabled:()=>Di,getIsBlockEditor:()=>di,getIsDraft:()=>mi,getIsElementorEditor:()=>pi,getIsFrontPage:()=>Ei,getIsKeywordAnalysisActive:()=>Ii,getIsLoading:()=>Es,getIsModalOpen:()=>Js,getIsPremium:()=>ho,getIsProduct:()=>ci,getIsProductEntity:()=>ui,getIsProductTerm:()=>li,getIsTerm:()=>gi,getIsWooCommerceActive:()=>wi,getIsWooProductEntity:()=>fi,getIsWooSeoActive:()=>Ai,getIsWooSeoUpsell:()=>Ri,getIsWooSeoUpsellTerm:()=>hi,getMarkButtonStatus:()=>Na,getMarkerPauseStatus:()=>ya,getMarksButtonStatus:()=>wa,getNoFollow:()=>ls,getNoIndex:()=>cs,getPageType:()=>Ma,getPermalink:()=>qs,getPostId:()=>fo,getPostOrPageString:()=>ai,getPostType:()=>oi,getPreference:()=>Ti,getPreferences:()=>yi,getPrimaryTaxonomyId:()=>Ra,getReadabilityResults:()=>Pa,getRecommendedReplaceVars:()=>vs,getReplaceVars:()=>Cs,getReplacedExcerpt:()=>oa,getResultById:()=>Ca,getResultsForFocusKeyword:()=>ba,getResultsForKeyword:()=>Oa,getSEMrushIsRequestPending:()=>Ba,getSEMrushLoginStatus:()=>Ya,getSEMrushModalOpen:()=>Wa,getSEMrushNoKeyphraseMessage:()=>Fa,getSEMrushRequestHasData:()=>qa,getSEMrushRequestIsSuccess:()=>Ka,getSEMrushRequestKeyphrase:()=>Ga,getSEMrushRequestLimitReached:()=>Ha,getSEMrushRequestResponse:()=>xa,getSEMrushSelectedCountry:()=>Va,getSeoDescriptionTemplate:()=>sa,getSeoResults:()=>Da,getSeoTitle:()=>Gs,getSeoTitleTemplate:()=>ra,getSeoTitleTemplateNoFallback:()=>na,getShoppingData:()=>ja,getShortcodesForParsing:()=>js,getSiteIconUrlFromSettings:()=>bs,getSiteName:()=>Ds,getSiteUrl:()=>ta,getSnippetEditorData:()=>Bs,getSnippetEditorDescription:()=>Us,getSnippetEditorDescriptionWithTemplate:()=>Ws,getSnippetEditorIsLoading:()=>xs,getSnippetEditorMode:()=>Ls,getSnippetEditorPreviewImageUrl:()=>Hs,getSnippetEditorSlug:()=>Fs,getSnippetEditorTemplates:()=>Ns,getSnippetEditorTitle:()=>Ms,getSnippetEditorTitleWithTemplate:()=>ks,getSnippetEditorWordsToHighlight:()=>Ks,getSocialDescriptionTemplate:()=>aa,getSocialTitleTemplate:()=>ia,getTextLength:()=>ns,getTwitterAltText:()=>Za,getTwitterDescription:()=>Qa,getTwitterDescriptionFallback:()=>no,getTwitterDescriptionOrFallback:()=>io,getTwitterImageSrc:()=>Ja,getTwitterImageType:()=>za,getTwitterImageUrl:()=>Xa,getTwitterTitle:()=>$a,getTwitterTitleFallback:()=>to,getTwitterTitleOrFallback:()=>ro,getTwitterWarnings:()=>eo,getWarningMessage:()=>so,getWincherAllKeyphrasesMissRanking:()=>Ao,getWincherHistoryDaysLimit:()=>mo,getWincherKeyphraseLimitReached:()=>uo,getWincherLimit:()=>go,getWincherLoginStatus:()=>po,getWincherModalOpen:()=>ao,getWincherPermalink:()=>Ro,getWincherRequestIsSuccess:()=>co,getWincherRequestResponse:()=>lo,getWincherTrackableKeyphrases:()=>wo,getWincherTrackedKeyphrases:()=>yo,getWincherWebsiteId:()=>To,hasWincherNoKeyphrase:()=>oo,hasWincherTrackedKeyphrases:()=>Io,isAlertDismissed:()=>Aa,isCornerstoneContent:()=>Qs,isFleschReadingEaseAvailable:()=>rs,isFormalitySupported:()=>is,isMarkingAvailable:()=>Ia,isPromotionActive:()=>zs,isWincherNewlyAuthenticated:()=>Eo,selectAdminLink:()=>Oo,selectAdminUrl:()=>Do,selectDocumentFullTitle:()=>Co,selectImageLink:()=>Lo,selectLink:()=>bo,selectLinkParam:()=>vo,selectLinkParams:()=>Po,selectPluginUrl:()=>No,selectWistiaEmbedPermission:()=>Mo,selectWistiaEmbedPermissionError:()=>Wo,selectWistiaEmbedPermissionStatus:()=>Uo,selectWistiaEmbedPermissionValue:()=>ko,shouldWincherAutomaticallyTrackAll:()=>So,shouldWincherTrackAll:()=>_o});const n=window.yoast.reduxJsToolkit,i=window.lodash,s="adminUrl",a=(0,n.createSlice)({name:s,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),o=(a.getInitialState,{selectAdminUrl:e=>(0,i.get)(e,s,"")});o.selectAdminLink=(0,n.createSelector)([o.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}}));const c=a.actions,l=a.reducer;window.wp.apiFetch;const u="hasConsent",d=(0,n.createSlice)({name:u,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),p=(d.getInitialState,d.actions,d.reducer,window.wp.url),E="linkParams",g=(0,n.createSlice)({name:E,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),m=(g.getInitialState,{selectLinkParam:(e,t,r={})=>(0,i.get)(e,`${E}.${t}`,r),selectLinkParams:e=>(0,i.get)(e,E,{})});m.selectLink=(0,n.createSelector)([m.selectLinkParams,(e,t)=>t,(e,t,r={})=>r],((e,t,r)=>(0,p.addQueryArgs)(t,{...e,...r})));const _=g.actions,S=g.reducer,T=(0,n.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:r="default",title:i,description:s})=>({payload:{id:e||(0,n.nanoid)(),variant:t,size:r,title:i||"",description:s}})},removeNotification:(e,{payload:t})=>(0,i.omit)(e,t)}}),y=(T.getInitialState,T.actions,T.reducer,"pluginUrl"),I=(0,n.createSlice)({name:y,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),w=(I.getInitialState,{selectPluginUrl:e=>(0,i.get)(e,y,"")});w.selectImageLink=(0,n.createSelector)([w.selectPluginUrl,(e,t,r="images")=>r,(e,t)=>t],((e,t,r)=>[(0,i.trimEnd)(e,"/"),(0,i.trim)(t,"/"),(0,i.trimStart)(r,"/")].join("/")));const A=I.actions,R=I.reducer,h="request",f="success",D="error",O="idle",P="wistiaEmbedPermission",v=(0,n.createSlice)({name:P,initialState:{value:!1,status:O,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${P}/${h}`,(e=>{e.status="loading"})),e.addCase(`${P}/${f}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${P}/${D}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,i.get)(t,"error.code",500),message:(0,i.get)(t,"error.message","Unknown")}}))}}),b=(v.getInitialState,{selectWistiaEmbedPermission:e=>(0,i.get)(e,P,{value:!1,status:O}),selectWistiaEmbedPermissionValue:e=>(0,i.get)(e,[P,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,i.get)(e,[P,"status"],O),selectWistiaEmbedPermissionError:e=>(0,i.get)(e,[P,"error"],{})}),C={...v.actions,setWistiaEmbedPermission:function*(e){yield{type:`${P}/${h}`};try{return yield{type:P,payload:e},{type:`${P}/${f}`,payload:{value:e}}}catch(t){return{type:`${P}/${D}`,payload:{error:t,value:e}}}}},N=v.reducer;var L;const M="documentTitle",k=(0,n.createSlice)({name:M,initialState:(0,i.defaultTo)(null===(L=document)||void 0===L?void 0:L.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),U=(k.getInitialState,{selectDocumentTitle:e=>(0,i.get)(e,M,""),selectDocumentFullTitle:(e,{prefix:t=""}={})=>{const r=(0,i.get)(e,M,"");return r.startsWith(t)?r:`${t} ‹ ${r}`}}),W=k.actions,F=k.reducer;class B{static get estimatedReadingTimeElement(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}static get estimatedReadingTime(){return B.estimatedReadingTimeElement&&B.estimatedReadingTimeElement.value||""}static set estimatedReadingTime(e){B.estimatedReadingTimeElement&&(B.estimatedReadingTimeElement.value=e)}}const K="SET_ESTIMATED_READING_TIME",x="LOAD_ESTIMATED_READING_TIME",H="SET_FLESCH_READING_EASE",G="SET_PROMINENT_WORDS",V="SET_TEXT_LENGTH",q=e=>(B.estimatedReadingTime=e.toString(),{type:K,payload:e}),Y=()=>({type:x,payload:(0,i.toSafeInteger)(B.estimatedReadingTime)}),j=({score:e,difficulty:t})=>({type:H,payload:{score:e,difficulty:t}}),$=e=>({type:G,payload:e}),Q=e=>({type:V,payload:e}),X="WPSEO_SET_ACTIVE_MARKER";function z(e){return{type:X,activeMarker:e}}const J="SET_ACTIVE_AI_FIXES_BUTTON",Z="SET_DISABLED_AI_FIXES_BUTTONS",ee="SET_FOCUS_AI_FIXES_BUTTON_ID";function te(e){return{type:J,activeAIButton:e}}function re(e){return{type:Z,disabledAIButtons:e}}function ne(e){return{type:ee,focusAIButtonId:e}}class ie{static get noIndexElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}static get noFollowElement(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}static get advancedElement(){return document.getElementById("yoast_wpseo_meta-robots-adv")}static get breadcrumbsTitleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}static get canonicalElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}static get noIndex(){return ie.noIndexElement&&ie.noIndexElement.value||""}static set noIndex(e){ie.noIndexElement.value=e}static get noFollow(){return ie.noFollowElement&&ie.noFollowElement.value||""}static set noFollow(e){ie.noFollowElement.value=e}static get advanced(){return ie.advancedElement&&ie.advancedElement.value||""}static set advanced(e){ie.advancedElement.value=e}static get breadcrumbsTitle(){return ie.breadcrumbsTitleElement&&ie.breadcrumbsTitleElement.value||""}static set breadcrumbsTitle(e){ie.breadcrumbsTitleElement.value=e}static get canonical(){return ie.canonicalElement&&ie.canonicalElement.value||""}static set canonical(e){ie.canonicalElement.value=e}}const se="SET_NO_INDEX",ae="SET_NO_FOLLOW",oe="SET_ADVANCED",ce="SET_BREADCRUMBS_TITLE",le="SET_CANONICAL_URL",ue="LOAD_ADVANCED_SETTINGS",de=e=>(ie.noIndex=e,{type:se,value:e}),pe=e=>(ie.noFollow=e,{type:ae,value:e}),Ee=e=>(ie.advanced=e.join(","),{type:oe,value:e}),ge=e=>(ie.breadcrumbsTitle=e,{type:ce,value:e}),me=e=>(ie.canonical=e,{type:le,value:e}),_e=()=>({type:ue,settings:{noIndex:ie.noIndex,noFollow:ie.noFollow,advanced:ie.advanced.split(","),breadcrumbsTitle:ie.breadcrumbsTitle,canonical:ie.canonical,isLoading:!1}}),Se="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",Te="RUN_ANALYSIS",ye="UPDATE_SHORTCODES_FOR_PARSING";function Ie(e){return{type:Se,data:e}}function we(){return{type:Te,timestamp:Date.now()}}function Ae(e){return{type:ye,shortcodesForParsing:e}}const Re="ADD_CHECKLIST";function he(e,t){return{type:Re,name:e,data:t}}class fe{static get keyphraseElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}static get isCornerstoneElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}static get seoScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_linkdex":"hidden_wpseo_linkdex")}static get readabilityScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_content_score":"hidden_wpseo_content_score")}static get inclusiveLanguageScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_inclusive_language_score":"hidden_wpseo_inclusive_language_score")}static set keyphrase(e){fe.keyphraseElement&&(fe.keyphraseElement.value=e)}static get keyphrase(){var e,t;return null!==(e=null===(t=fe.keyphraseElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set isCornerstone(e){fe.isCornerstoneElement&&(fe.isCornerstoneElement.value=e?"1":"0")}static get isCornerstone(){var e;return"1"===(null===(e=fe.isCornerstoneElement)||void 0===e?void 0:e.value)}static set seoScore(e){fe.seoScoreElement&&(fe.seoScoreElement.value=e)}static get seoScore(){var e,t;return null!==(e=null===(t=fe.seoScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set readabilityScore(e){fe.readabilityScoreElement&&(fe.readabilityScoreElement.value=e)}static get readabilityScore(){var e,t;return null!==(e=null===(t=fe.readabilityScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set inclusiveLanguageScore(e){fe.inclusiveLanguageScoreElement&&(fe.inclusiveLanguageScoreElement.value=e)}static get inclusiveLanguageScore(){var e,t;return null!==(e=null===(t=fe.inclusiveLanguageScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}}const De="CONTENT_ANALYSIS_",Oe=`${De}SET_SEO_RESULTS`,Pe=`${De}SET_SEO_RESULTS_FOR_KEYWORD`,ve=`${De}UPDATE_SEO_RESULT`,be=`${De}REMOVE_KEYWORD`,Ce=`${De}SET_READABILITY_RESULTS`,Ne=`${De}UPDATE_READABILITY_RESULT`,Le=`${De}SET_INCLUSIVE_LANGUAGE_RESULTS`,Me=`${De}UPDATE_INCLUSIVE_LANGUAGE_RESULT`,ke=`${De}SET_OVERALL_READABILITY_SCORE`,Ue=`${De}SET_OVERALL_SEO_SCORE`,We=`${De}SET_OVERALL_INCLUSIVE_LANGUAGE_SCORE`;function Fe(e,t){return{type:Pe,keyword:e,results:t}}function Be(e){return{type:Ce,results:e}}function Ke(e){return{type:Le,results:e}}function xe(e){return fe.readabilityScore=e,{type:ke,overallScore:e}}function He(e,t){return fe.seoScore=e,{type:Ue,keyword:t,overallScore:e}}function Ge(e){return fe.inclusiveLanguageScore=e,{type:We,overallScore:e}}const Ve="WPSEO_",qe=`${Ve}LOAD_CORNERSTONE_CONTENT`,Ye=`${Ve}TOGGLE_CORNERSTONE_CONTENT`,je=`${Ve}SET_CORNERSTONE_CONTENT`,$e=()=>({type:je,isCornerstone:fe.isCornerstone}),Qe=e=>(fe.isCornerstone=e,{type:je,isCornerstone:e}),Xe=()=>(fe.isCornerstone=!fe.isCornerstone,{type:Ye}),ze="SET_CURRENT_PROMOTIONS";function Je(e){return{type:ze,payload:e}}const Ze="SET_EDITOR_DATA_CONTENT",et="SET_EDITOR_DATA_TITLE",tt="SET_EDITOR_DATA_EXCERPT",rt="SET_EDITOR_DATA_IMAGE_URL",nt="SET_EDITOR_DATA_SLUG";function it(e){return{type:Ze,content:e}}function st(e){return{type:et,title:e}}function at(e){return{type:tt,excerpt:e}}function ot(e){return{type:rt,imageUrl:e}}function ct(e){return{type:nt,slug:e}}const lt="OPEN_MODAL",ut="CLOSE_MODAL";function dt(e){return{type:lt,modalKey:e}}function pt(){return{type:ut}}const Et="WPSEO_",gt=`${Et}LOAD_FOCUS_KEYWORD`,mt=`${Et}SET_FOCUS_KEYWORD`,_t=()=>({type:gt,keyword:fe.keyphrase}),St=function(e){return fe.keyphrase=e,{type:mt,keyword:e}},Tt="WPSEO_SET_MARKER_STATUS",yt=function(e){return{type:Tt,marksButtonStatus:e}},It="WPSEO_SET_MARKER_PAUSE_STATUS";function wt(e){return{type:It,isMarkerPaused:e}}const At="DISMISS_ALERT",Rt="DISMISS_ALERT_SUCCESS",ht="SET_DISMISSED_ALERTS";function*ft(e){return yield{type:At,alertKey:e},{type:Rt,alertKey:e}}function Dt(e){return{type:ht,payload:e}}const Ot="WPSEO_SET_PRIMARY_TAXONOMY",Pt=(e,t)=>({type:Ot,taxonomy:e,termId:t});class vt{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return vt.articleTypeInput.getAttribute("data-default")}static get articleType(){return vt.articleTypeInput.value}static set articleType(e){vt.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return vt.pageTypeInput.getAttribute("data-default")}static get pageType(){return vt.pageTypeInput.value}static set pageType(e){vt.pageTypeInput.value=e}}const bt="SET_PAGE_TYPE",Ct="SET_ARTICLE_TYPE",Nt="GET_SCHEMA_PAGE_DATA",Lt="GET_SCHEMA_ARTICLE_DATA",Mt=e=>(vt.pageType=e,{type:bt,pageType:e}),kt=e=>(vt.articleType=e,{type:Ct,articleType:e}),Ut=()=>({type:Nt,pageType:vt.pageType,defaultPageType:vt.defaultPageType}),Wt=()=>({type:Lt,articleType:vt.articleType,defaultArticleType:vt.defaultArticleType}),Ft="MODAL_DISMISS",Bt="MODAL_OPEN",Kt="MODAL_OPEN_NO_KEYPHRASE";function xt(){return{type:Ft}}function Ht(e){return{type:Bt,location:e}}function Gt(){return{type:Kt}}const Vt="CHANGE_COUNTRY",qt="SET_REQUEST_SUCCEEDED",Yt="SET_REQUEST_FAILED",jt="SET_LIMIT_REACHED",$t="NEW_REQUEST",Qt="NO_DATA_FOUND",Xt="SET_LOGIN_STATUS",zt="SET_REQUEST_PENDING";function Jt(){return{type:zt}}function Zt(e){return{type:qt,response:e}}function er(e){return{type:Yt,response:e}}function tr(){return{type:jt}}function rr(e){return{type:Vt,countryCode:e}}function nr(){return{type:Qt}}function ir(e){return{type:Xt,loginStatus:e}}function*sr(e,t){try{yield Jt();const r=yield{type:$t,countryCode:e,keyphrase:t};200===r.status?0===r.results.rows.length?yield nr():yield Zt(r):r.error&&r.error.includes("TOTAL LIMIT EXCEEDED")?yield tr():yield er(r)}catch(e){yield er(e)}}const ar="SET_SETTINGS",or="SET_CONTENT_IMAGE",cr="UPDATE_SNIPPET_EDITOR_SETTINGS",lr=function(e){return{type:ar,settings:e}},ur=function(e){return{type:or,src:e}},dr=function(e){return{type:cr,snippetEditor:e}},pr="SET_SHOPPING_DATA";function Er(e){return{type:pr,shoppingData:e}}const gr=window.yoast.helpers,mr="SNIPPET_EDITOR_SWITCH_MODE",_r="SNIPPET_EDITOR_UPDATE_DATA",Sr="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",Tr="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",yr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",Ir="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",wr="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",Ar="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",Rr="SNIPPET_EDITOR_REFRESH",hr="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",fr="LOAD_SNIPPET_EDITOR_DATA";function Dr(e){return{type:mr,mode:e}}function Or(e){return{type:_r,data:e}}function*Pr(e,t){const r=yield{type:Sr,query:e,postId:t};return{type:Tr,results:r}}function vr(e,t,r="",n=!1){const i="string"==typeof t?(0,gr.decodeHTML)(t):t;return{type:yr,name:e,value:i,label:r,hidden:n}}function br(e){return{type:Ir,updatedVariables:e}}function Cr(e){return{type:hr,wordsToHighlight:e}}function Nr(e){return{type:Ar,name:e}}function Lr(){return{type:Rr,time:(new Date).getMilliseconds()}}function Mr(e){return{type:wr,data:e}}const kr=window.wp.data;class Ur{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}static get title(){return Ur.titleElement.value}static set title(e){Ur.titleElement.value=e}static set description(e){Ur.descriptionElement.value=e}static get description(){return Ur.descriptionElement.value}static set imageId(e){Ur.imageIdElement.value=e}static get imageId(){return Ur.imageIdElement.value}static set imageUrl(e){Ur.imageUrlElement.value=e}static get imageUrl(){return Ur.imageUrlElement.value}}const Wr="SET_TWITTER_TITLE",Fr="SET_TWITTER_DESCRIPTION",Br="SET_TWITTER_IMAGE",Kr="CLEAR_TWITTER_IMAGE",xr="LOAD_TWITTER_PREVIEW",Hr=e=>(e.trim()===(0,kr.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?Ur.title="":Ur.title=e,{type:Wr,title:e}),Gr=e=>(e.trim()===(0,kr.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?Ur.description="":Ur.description=e,{type:Fr,description:e}),Vr=e=>(Ur.imageId=e.id,Ur.imageUrl=e.url,{type:Br,image:e}),qr=()=>(Ur.imageId="",Ur.imageUrl="",{type:Kr}),Yr=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,kr.select)("yoast-seo/editor");return{type:xr,imageId:Ur.imageId,imageUrl:Ur.imageUrl,description:Ur.description||e(),title:Ur.title||t()}};class jr{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}static get title(){return jr.titleElement.value}static set title(e){jr.titleElement.value=e}static set description(e){jr.descriptionElement.value=e}static get description(){return jr.descriptionElement.value}static set imageId(e){jr.imageIdElement.value=e}static get imageId(){return jr.imageIdElement.value}static set imageUrl(e){jr.imageUrlElement.value=e}static get imageUrl(){return jr.imageUrlElement.value}}const $r="SET_FACEBOOK_TITLE",Qr="SET_FACEBOOK_DESCRIPTION",Xr="SET_FACEBOOK_IMAGE",zr="CLEAR_FACEBOOK_IMAGE",Jr="LOAD_FACEBOOK_PREVIEW",Zr=e=>(e.trim()===(0,kr.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?jr.title="":jr.title=e,{type:$r,title:e}),en=e=>(e.trim()===(0,kr.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?jr.description="":jr.description=e,{type:Qr,description:e}),tn=e=>(jr.imageUrl=e.url,jr.imageId=e.id,{type:Xr,image:e}),rn=()=>(jr.imageId="",jr.imageUrl="",{type:zr}),nn=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,kr.select)("yoast-seo/editor");return{type:Jr,imageId:jr.imageId,imageUrl:jr.imageUrl,description:jr.description||e(),title:jr.title||t()}},sn="SET_WARNING_MESSAGE";function an(e){return{type:sn,message:e}}const on="WINCHER_MODAL_DISMISS",cn="WINCHER_MODAL_OPEN",ln="WINCHER_MODAL_OPEN_NO_KEYPHRASE";function un(){return{type:on}}function dn(e){return{type:cn,location:e}}function pn(){return{type:ln}}const En="WINCHER_SET_REQUEST_SUCCEEDED",gn="WINCHER_SET_REQUEST_FAILED",mn="WINCHER_SET_KEYPHRASE_LIMIT_REACHED",Sn="WINCHER_NEW_REQUEST",Tn="WINCHER_SET_LOGIN_STATUS",yn="WINCHER_FORCE_SEO_PERFORMANCE_TRACKED_KEYPHRASES",In="WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST";function wn(){return{type:Sn}}function An(e){return{type:En,response:e}}function Rn(e){return{type:gn,response:e}}function hn(e){return{type:mn,limit:e}}function fn(e,t){return{type:Tn,loginStatus:e,newlyAuthenticated:t}}function Dn(e){return{type:yn,trackAll:e}}function On(e){return{type:In,automaticallyTrack:e}}const Pn="WINCHER_SET_WEBSITE_ID",vn="WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",bn="WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",Cn="WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES";function Nn(e){return{type:Pn,websiteId:e}}function Ln(e){return{type:vn,keyphraseObject:e}}function Mn(e){return{type:bn,untrackedKeyphrase:e}}function kn(e){return{type:Cn,trackedKeyphrases:e}}const Un="SET_IS_PREMIUM",Wn=e=>({type:Un,payload:e}),Fn="SET_POST_ID",Bn=e=>({type:Fn,payload:e}),{setAdminUrl:Kn}=c,{setLinkParams:xn}=_,{setPluginUrl:Hn}=A,{setWistiaEmbedPermission:Gn,setWistiaEmbedPermissionValue:Vn}=C,{setDocumentTitle:qn}=W,Yn={estimatedReadingTime:0,textLength:{}},jn={results:[],overallScore:null},$n={};function Qn(e,t,r){return Object.assign({},e,{[t]:{results:r}})}const Xn={},zn=(0,kr.combineReducers)({seo:function(e=$n,t){switch(t.type){case Oe:return function(e){const t={};return e.resultsPerKeyword.forEach((function(e){t[e.keyword]={results:e.results}})),t}(t);case ve:return function(e,t){return e[t.keyword]?-1!==(0,i.findIndex)(e[t.keyword].results,{id:t.result.id})?function(e,t){const r=Array.from(e[t.keyword].results,(e=>e.id===t.result.id?t.result:e));return Object.assign({},e,{[t.keyword]:{results:r}})}(e,t):Object.assign({},e,{[t.keyword]:{results:[...e[t.keyword].results,t.result]}}):Qn(e,t.keyword,[t.result])}(e,t);case be:return(0,i.omit)(e,t.keyword);case Pe:return function(e,t){return e[t.keyword]?Object.assign({},e,{[t.keyword]:{results:t.results}}):Qn(e,t.keyword,t.results)}(e,t);case Ue:return function(e,t){return Object.assign({},e,{[t.keyword]:{...e[t.keyword],overallScore:t.overallScore}})}(e,t);default:return e}},readability:function(e=Xn,t){switch(t.type){case Ce:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case Ne:return function(e,t){if((0,i.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,i.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case ke:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}},inclusiveLanguage:function(e=jn,t){switch(t.type){case Le:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case Me:return function(e,t){if((0,i.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,i.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case We:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}}}),Jn={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0},Zn={activeAIButton:null,disabledAIButtons:{},focusAIButtonId:null},ei={snippet:{},timestamp:0,shortcodesForParsing:[]},ti={checklistItems:{}},ri={content:"",excerpt:"",imageUrl:"",slug:"",title:""},ni={openedModal:""},ii={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}};function si(e){return e.editorContext}function ai(e){return"Page"===(0,i.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function oi(e){return(0,i.get)(e,"editorContext.postType")}const ci=(0,n.createSelector)([oi],(e=>"product"===e)),li=(0,n.createSelector)([oi],(e=>["product_cat","product_tag"].includes(e))),ui=(0,n.createSelector)([ci,li],((e,t)=>e||t));function di(e){return(0,i.get)(e,"editorContext.isBlockEditor",!1)}function pi(e){return(0,i.get)(e,"editorContext.isElementorEditor",!1)}function Ei(e){return(0,i.get)(e,"editorContext.isFrontPage",!1)}function gi(e){return(0,i.get)(e,"editorContext.isTerm",!1)}function mi(e){return["draft","auto-draft"].includes((0,i.get)(e,"editorContext.postStatus",""))}function _i(e){return pi(e)?"elementorEditor":di(e)?"blockEditor":"classicEditor"}function Si(e){return(0,i.get)(e,"editorContext.contentLocale","en_US")}const Ti=(e,t,r=null)=>(0,i.get)(e,`preferences.${t}`,r),yi=e=>e.preferences,Ii=e=>(0,i.get)(e,"preferences.isKeywordAnalysisActive",!1),wi=e=>Ti(e,"isWooCommerceActive",!1),Ai=e=>Ti(e,"isWooCommerceSeoActive",!1),Ri=(0,n.createSelector)([Ai,wi,ui],((e,t,r)=>!e&&t&&r)),hi=(0,n.createSelector)([Ai,wi,li],((e,t,r)=>!e&&t&&r)),fi=(0,n.createSelector)([ui,wi],((e,t)=>t&&e)),Di=()=>{var e;const t=null===(e=(0,kr.select)("yoast-seo-premium/editor"))||void 0===e?void 0:e.getIsAiFeatureEnabled;return t?t():Boolean(window.wpseoAdminL10n.isAiFeatureActive)};function Oi(){return(0,i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function Pi(){const e=Oi();return!0===(0,i.get)(e,"contentAnalysisActive",!1)}function vi(){const e=Oi();return!0===(0,i.get)(e,"keywordAnalysisActive",!1)}function bi(){const e=Oi();return!0===(0,i.get)(e,"inclusiveLanguageAnalysisActive",!1)}function Ci(){const e=Oi();return!0===(0,i.get)(e,"cornerstoneActive",!1)}const Ni=function(){const e=Oi();return(0,i.get)(e,"wordFormRecognitionActive",!1)};function Li(){const e=Oi();return!0===(0,i.get)(e,"semrushIntegrationActive",!1)}function Mi(){const e=Oi();return!0===(0,i.get)(e,"wincherIntegrationActive",!1)}const ki={},Ui={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},Wi={whichModalOpen:"none",displayNoKeyphraseMessage:!1},Fi={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},Bi={},Ki=window.wp.i18n,xi=window.wp.sanitize;function Hi(e){return e.charAt(0).toUpperCase()+e.slice(1)}window.wp.element,window.ReactJSXRuntime;const{stripHTMLTags:Gi}=gr.strings;function Vi(e){return e=function(e){if(!["ct_","cf_","pt_"].includes(e.substring(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}(e),Hi(e)}function qi(e,t="_"){return e.replace(/\s/g,t)}const Yi={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}},ji={message:[]},$i={whichModalOpen:"none",hasNoKeyphrase:!1},Qi={isSuccess:!1,response:null,limitReached:!1,isLoggedIn:!1,isNewlyAuthenticated:!1,limit:10,trackAll:!1,automaticallyTrack:!1,historyDaysLimit:0},Xi={websiteId:"",trackedKeyphrases:null,trackAll:!1},zi={activeMarker:function(e=null,t){return t.type===X?t.activeMarker:e},[s]:l,advancedSettings:(e=Jn,t)=>{switch(t.type){case ue:return{...e,...t.settings};case se:return{...e,noIndex:t.value};case ae:return{...e,noFollow:t.value};case oe:return{...e,advanced:t.value};case le:return{...e,canonical:t.value};case ce:return{...e,breadcrumbsTitle:t.value};default:return e}},AIButton:function(e=Zn,t){switch(t.type){case J:return{...e,activeAIButton:t.activeAIButton};case Z:return{...e,disabledAIButtons:t.disabledAIButtons};case ee:return{...e,focusAIButtonId:t.focusAIButtonId};default:return e}},analysis:zn,analysisData:function(e=ei,t){switch(t.type){case Se:return{...e,snippet:t.data};case Te:return{...e,timestamp:t.timestamp};case ye:return{...e,shortcodesForParsing:t.shortcodesForParsing}}return e},checklist:function(e=ti,t){if(t.type===Re){const r=Object.assign({},e);return r.checklistItems[t.name]=t.data,r}return e},currentPromotions:function(e={},t){return t.type===ze?{promotions:t.payload}:e},dismissedAlerts:function(e={},t){return t.type===Rt&&t.alertKey?{...e,[t.alertKey]:!0}:t.type===ht?{...t.payload}:e},[M]:F,editorContext:function(e=function(){return{contentLocale:(0,i.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===(0,i.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===(0,i.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:(0,i.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:(0,i.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===(0,i.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:(0,i.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:(0,i.get)(window,"wpseoAdminL10n.postTypeNamePlural",""),postStatus:(0,i.get)(window,"wpseoScriptData.postStatus",""),isFrontPage:"1"===(0,i.get)(window,"wpseoScriptData.isFrontPage","0"),postType:(0,i.get)(window,"wpseoScriptData.postType","")}}()){return e},editorData:(e=ri,t)=>{switch(t.type){case Ze:return{...e,content:t.content};case tt:return{...e,excerpt:t.excerpt};case rt:return{...e,imageUrl:t.imageUrl};case nt:return{...e,slug:t.slug};case et:return{...e,title:t.title}}return e},editorModals:function(e=ni,t){switch(t.type){case lt:return{...e,openedModal:t.modalKey};case ut:return{...e,openedModal:""}}return e},facebookEditor:(e=ii,t)=>{switch(t.type){case Jr:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case $r:return{...e,title:t.title};case Qr:return{...e,description:t.description};case Xr:return{...e,warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""}};case zr:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},focusKeyword:function(e="",t){switch(t.type){case gt:case mt:return t.keyword;default:return e}},insights:(e=Yn,{type:t,payload:r})=>{switch(t){case x:case K:return{...e,estimatedReadingTime:r};case H:return{...e,fleschReadingEaseScore:r.score,fleschReadingEaseDifficulty:r.difficulty};case V:return{...e,textLength:r};default:return e}},isCornerstone:function(e=!1,t){switch(t.type){case Ye:return!e;case je:return t.isCornerstone;default:return e}},isMarkerPaused:function(e=!1,t){return t.type===It?function(e,t){return t.isMarkerPaused}(0,t):e},isPremium:(e=!1,t)=>t.type===Un?t.payload:e,[E]:S,[y]:R,postId:(e=!1,t)=>t.type===Fn?t.payload:e,marksButtonStatus:function(e="disabled",t){return t.type===Tt?t.marksButtonStatus:e},preferences:function(e=function(){const e=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:Pi(),isKeywordAnalysisActive:vi(),isInclusiveLanguageAnalysisActive:bi(),isWordFormRecognitionActive:(0,i.isUndefined)(window.wpseoPremiumMetaboxData)&&Ni(),isCornerstoneActive:Ci(),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoScriptData.isPrivateBlog,isSEMrushIntegrationActive:Li(),shouldUpsell:(0,i.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:e,displaySchemaSettings:e&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,useOpenGraphData:window.wpseoScriptData.metabox.showSocial.facebook,useTwitterData:window.wpseoScriptData.metabox.showSocial.twitter,isWincherIntegrationActive:Mi(),isInsightsEnabled:(0,i.get)(window,"wpseoScriptData.metabox.isInsightsEnabled",!1),isNewsEnabled:(0,i.get)(window,"wpseoScriptData.metabox.isNewsSeoActive",!1),isAiFeatureActive:Di(),isWooCommerceSeoActive:(0,i.get)(window,"wpseoScriptData.metabox.isWooCommerceSeoActive",!1),isWooCommerceActive:(0,i.get)(window,"wpseoScriptData.metabox.isWooCommerceActive",!1),isRtl:(0,i.get)(window,"wpseoScriptData.metabox.isRtl",!1),userLocale:(0,i.get)(window,"wpseoScriptData.metabox.userLocale","en-US"),isRecentTitlesDefault:!!window.wpseoScriptData.isRecentTitlesDefault,isRecentDescriptionsDefault:!!window.wpseoScriptData.isRecentDescriptionsDefault}}()){return e},primaryTaxonomies:function(e=ki,t){return t.type===Ot?{...e,[t.taxonomy]:t.termId}:e},schemaTab:(e=Ui,t)=>{switch(t.type){case bt:return{...e,pageType:t.pageType};case Ct:return{...e,articleType:t.articleType};case Nt:return{...e,pageType:t.pageType,defaultPageType:t.defaultPageType};case Lt:return{...e,articleType:t.articleType,defaultArticleType:t.defaultArticleType};default:return e}},SEMrushModal:function(e=Wi,t){switch(t.type){case Kt:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case Bt:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case Ft:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(e=Fi,t){switch(t.type){case zt:return{...e,isRequestPending:!0};case $t:return{...e,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null};case qt:return{...e,isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0};case Yt:return{...e,isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1};case jt:return{...e,isRequestPending:!1,limitReached:!0,hasData:!1};case Vt:return{...e,countryCode:t.countryCode};case Qt:return{...e,isSuccess:!0,isRequestPending:!1,hasData:!1,response:null};case Xt:return{...e,isLoggedIn:t.loginStatus};default:return e}},settings:function(e={},t){switch(t.type){case ar:return{...e,...t.settings};case or:{const r=Object.assign({},e.socialPreviews,{contentImage:t.src});return{...e,socialPreviews:{...r}}}case cr:{const r=Object.assign({},e.snippetEditor,t.snippetEditor);return{...e,snippetEditor:{...r}}}default:return e}},shoppingData:function(e=Bi,t){if(t.type===pr){const r=(0,i.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return{...e,...r}}return e},snippetEditor:function(e=function(){return{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:(0,Ki.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,Ki.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,Ki.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,Ki.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,Ki.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,Ki.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,Ki.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,Ki.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,Ki.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,Ki.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,Ki.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,Ki.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,Ki.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,Ki.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,Ki.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,Ki.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,Ki.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,Ki.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0}}(),t){switch(t.type){case mr:return{...e,mode:t.mode};case _r:return{...e,data:{...e.data,...t.data}};case yr:return function(e,t){let r=!0,n=e.replacementVariables.map((e=>e.name===t.name?(r=!1,{name:t.name,label:t.label||e.label,value:t.value,hidden:e.hidden}):e));return r&&(n=function(e,t){return e.push({name:t.name,label:t.label||Vi(t.name),value:t.value}),e}(n,t)),{...e,replacementVariables:n}}(e,t);case Ir:return function(e,t){const r={},n=e.replacementVariables.map((e=>{const n=t.updatedVariables[e.name];return n?(r[e.name]=!0,{name:e.name,label:n.label||e.label,value:n.value,hidden:e.hidden}):e}));return Object.keys(t.updatedVariables).forEach((e=>{r[e]||n.push({name:e,label:t.updatedVariables[e].label||Vi(e),value:t.updatedVariables[e].value,hidden:!1})})),{...e,replacementVariables:n}}(e,t);case Tr:return function(e,t){const r=t.results.filter((t=>!e.replacementVariables.some((e=>e.name==="cf_"+t.key))));if(0===r.length)return e;const n=[...r.map((e=>({name:"cf_"+qi(e.key),label:Hi(e.key+" (custom field)"),value:e.value,hidden:!1}))),...e.replacementVariables];return{...e,replacementVariables:n}}(e,t);case wr:{const r=e.replacementVariables.map((e=>({name:e.name,label:e.label,value:e.value,hidden:t.data.includes(e.name)})));return{...e,replacementVariables:r}}case Ar:return{...e,replacementVariables:e.replacementVariables.filter((e=>e.name!==t.name))};case Rr:return{...e,uniqueRefreshValue:t.time};case hr:return{...e,wordsToHighlight:t.wordsToHighlight};case fr:return{...e,data:{...e.data,title:t.data.title,description:t.data.description,slug:t.data.slug},templates:{...e.templates,title:t.templates.title,description:t.templates.description},isLoading:!1}}return e},twitterEditor:(e=Yi,t)=>{switch(t.type){case xr:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case Wr:return{...e,title:t.title};case Fr:return{...e,description:t.description};case Br:return{...e,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""},warnings:t.image.warnings};case Kr:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},warning:function(e=ji,t){return t.type===sn?{...e,message:t.message}:e},WincherModal:function(e=$i,t){switch(t.type){case ln:return{whichModalOpen:"none",hasNoKeyphrase:!0};case cn:return{...e,hasNoKeyphrase:!1,whichModalOpen:t.location};case on:return{...e,whichModalOpen:"none",hasNoKeyphrase:!1}}return e},WincherRequest:function(e=Qi,t){switch(t.type){case Sn:return{...e,limitReached:!1,isSuccess:!1,response:null,isNewlyAuthenticated:!1};case En:return{...e,isSuccess:!0,response:t.response};case gn:return{...e,isSuccess:!1,response:t.response};case mn:return{...e,limitReached:!0,limit:t.limit};case Tn:return{...e,isLoggedIn:t.loginStatus,isNewlyAuthenticated:t.newlyAuthenticated};case yn:return{...e,trackAll:t.trackAll};case In:return{...e,automaticallyTrack:t.automaticallyTrack};default:return e}},WincherSEOPerformance:function(e=Xi,t){switch(t.type){case Pn:return{...e,websiteId:t.websiteId};case vn:return{...e,trackedKeyphrases:{...e.trackedKeyphrases,...t.keyphraseObject}};case bn:return{...e,trackedKeyphrases:(0,i.pickBy)(e.trackedKeyphrases,((e,r)=>r!==t.untrackedKeyphrase))};case Cn:return{...e,trackedKeyphrases:t.trackedKeyphrases}}return e},[P]:N};function Ji(){const e=Oi();return(0,i.get)(e,"contentLocale","en_US")}const Zi=e=>(0,i.get)(e,"insights.estimatedReadingTime",0),es=e=>(0,i.get)(e,"insights.fleschReadingEaseScore",null),ts=e=>(0,i.get)(e,"insights.fleschReadingEaseDifficulty",null),rs=e=>null!==es(e)&&null!==ts(e),ns=e=>(0,i.get)(e,"insights.textLength",{}),is=()=>{const e="en"===Ji().split("_")[0],t=Oi().isPremium;return!!e&&(!t||window.wp.data.select("yoast-seo-premium/editor").hasOwnProperty("getTextFormalityLevel"))},ss=e=>(0,i.get)(e,"AIButton.activeAIButton",""),as=e=>(0,i.get)(e,"AIButton.disabledAIButtons",{}),os=e=>(0,i.get)(e,"AIButton.focusAIButtonId",null),cs=e=>(0,i.get)(e,"advancedSettings.noIndex",""),ls=e=>(0,i.get)(e,"advancedSettings.noFollow",""),us=e=>(0,i.get)(e,"advancedSettings.advanced",""),ds=e=>(0,i.get)(e,"advancedSettings.breadcrumbsTitle","summary"),ps=e=>(0,i.get)(e,"advancedSettings.canonical",""),Es=e=>(0,i.get)(e,"advancedSettings.isLoading",!0),gs="yoast-measurement-element";function ms(e){let t=document.getElementById(gs);return t||(t=function(){const e=document.createElement("div");return e.id=gs,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}const _s=window.wp.hooks,Ss=e=>(0,i.get)(e,"editorData.content",""),Ts=e=>(0,i.get)(e,"editorData.title",""),ys=e=>(0,i.get)(e,"editorData.excerpt"),Is=e=>{let t=(0,i.get)(e,"editorData.excerpt","");if(""===t){const r="ja"===Ji()?80:156;t=function(e,t=156){return(e=(e=(0,xi.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}((0,i.get)(e,"editorData.content",""),r)}return t},ws=e=>(0,i.get)(e,"editorData.imageUrl",""),As=e=>{const t=[{featuredOrFirstImage:(0,i.get)(e,"editorData.imageUrl","")},{socialImage:(0,i.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,i.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&(0,i.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,_s.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},Rs=e=>(0,i.get)(e,"editorData.slug","");function hs(e){return(0,i.get)(e,"focusKeyword","")}const fs=e=>{const t=(0,_s.applyFilters)("yoast.focusKeyphrase.errors",[],hs(e));return(0,i.isArray)(t)?t.filter(i.isString):[]},Ds=e=>(0,i.get)(e,"settings.socialPreviews.siteName",""),Os=e=>(0,i.get)(e,"settings.snippetEditor.baseUrl",""),Ps=e=>(0,i.get)(e,"settings.snippetEditor.date",""),vs=e=>(0,i.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[]),bs=e=>(0,i.get)(e,"settings.snippetEditor.siteIconUrl",""),Cs=e=>(0,i.get)(e,"snippetEditor.replacementVariables",[]),Ns=e=>(0,i.get)(e,"snippetEditor.templates",{title:"",description:""}),Ls=e=>(0,i.get)(e,"snippetEditor.mode","mobile"),Ms=e=>(0,i.get)(e,"snippetEditor.data.title",""),ks=e=>(0,i.get)(e,"snippetEditor.data.title","")||Ns(e).title,Us=e=>(0,i.get)(e,"snippetEditor.data.description",""),Ws=e=>Us(e)||Ns(e).description,Fs=e=>(0,i.get)(e,"snippetEditor.data.slug",""),Bs=e=>(0,i.get)(e,"snippetEditor.data",{title:Ms(e),description:Us(e),slug:Fs(e)}),Ks=e=>(0,i.get)(e,"snippetEditor.wordsToHighlight",[]),xs=e=>(0,i.get)(e,"snippetEditor.isLoading",!0),Hs=e=>(0,i.get)(e,"snippetEditor.data.snippetPreviewImageURL",""),Gs=e=>(0,i.get)(e,"analysisData.snippet.title",""),Vs=e=>(0,i.get)(e,"analysisData.snippet.description",""),qs=e=>(0,i.get)(e,"analysisData.snippet.url",""),Ys=e=>parseInt((0,i.get)(e,"analysisData.timestamp",0),10),js=e=>(0,i.get)(e,"analysisData.shortcodesForParsing",[]),$s=e=>{const t=Gs(e)||Ms(e),r=Fs(e);return{text:Ss(e),title:t,keyword:hs(e),description:Vs(e)||Us(e),locale:Si(e),titleWidth:ms(t),slug:r,permalink:Os(e)+r}};function Qs(e){return e.isCornerstone}function Xs(e){return e.checklist.checklistItems}function zs(e,t){return e.currentPromotions.promotions.includes(t)}const Js=(e,t)=>(0,i.get)(e,"editorModals.openedModal","")===t,Zs=e=>(0,i.get)(e,"socialPreviews.contentImage",""),ea=e=>{const t=[{featuredImage:(0,i.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:(0,i.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:(0,i.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,i.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&(0,i.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,_s.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},ta=()=>{let e=(0,i.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e),e.host)},ra=()=>(0,i.get)(window,"wpseoScriptData.metabox.title_template",""),na=()=>(0,i.get)(window,"wpseoScriptData.metabox.title_template_no_fallback",""),ia=()=>(0,i.get)(window,"wpseoScriptData.metabox.social_title_template",""),sa=()=>(0,i.get)(window,"wpseoScriptData.metabox.metadesc_template",""),aa=()=>(0,i.get)(window,"wpseoScriptData.metabox.social_description_template",""),oa=e=>{let t="";return(0,i.get)(e,"snippetEditor.replacementVariables",[]).forEach((e=>{"excerpt"===e.name&&(t=e.value)})),t},ca=e=>(0,i.get)(e,"facebookEditor.title",""),la=e=>(0,i.get)(e,"facebookEditor.description",""),ua=e=>(0,i.get)(e,"facebookEditor.image.url"),da=e=>(0,i.get)(e,"facebookEditor.image.src",""),pa=e=>(0,i.get)(e,"facebookEditor.image.alt",""),Ea=e=>(0,i.get)(e,"facebookEditor.warnings",[]),ga=(0,n.createSelector)([ia,Gs,na,ra],((...e)=>e.find(Boolean)||"")),ma=(0,n.createSelector)([ca,ga],((e,t)=>e||t)),_a=(0,n.createSelector)([aa,Vs,sa,oa,Is],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),Sa=(0,n.createSelector)([la,_a],((e,t)=>e||t));function Ta(e){return e.activeMarker}function ya(e){return e.isMarkerPaused}function Ia(e){return"enabled"===e.marksButtonStatus}function wa(e){return e.marksButtonStatus}function Aa(e,t){return!0===e.dismissedAlerts[t]}function Ra(e,t){return e.primaryTaxonomies[t]}const ha=[],fa={};function Da(e){const t=(0,i.get)(e,"analysis.seo",fa);return(0,i.isEmpty)(t)?{results:ha,overallScore:null}:t}function Oa(e,t){const r=Da(e);return(0,i.get)(r,t,fa)}function Pa(e){const t=(0,i.get)(e,"analysis.readability",{});return(0,i.isEmpty)(t)?{results:ha,overallScore:null}:t}function va(e){return(0,i.get)(e,"analysis.inclusiveLanguage",{results:ha,overallScore:null})}function ba(e){return Oa(e,e.focusKeyword)}function Ca(e,t){return[...ba(e).results||ha,...Pa(e).results||ha,...va(e).results||ha].find((e=>e._identifier===t))}function Na(e){return e.marksButtonStatus}const La=e=>(0,i.get)(e,"schemaTab.defaultPageType",""),Ma=e=>(0,i.get)(e,"schemaTab.pageType",""),ka=e=>(0,i.get)(e,"schemaTab.defaultArticleType",""),Ua=e=>(0,i.get)(e,"schemaTab.articleType","");function Wa(e){return e.SEMrushModal.whichModalOpen}function Fa(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ba(e){return e.SEMrushRequest.isRequestPending}function Ka(e){return e.SEMrushRequest.isSuccess}function xa(e){return e.SEMrushRequest.response}function Ha(e){return e.SEMrushRequest.limitReached}function Ga(e){return e.SEMrushRequest.keyphrase}function Va(e){return e.SEMrushRequest.countryCode}function qa(e){return e.SEMrushRequest.hasData}function Ya(e){return e.SEMrushRequest.isLoggedIn}const ja=e=>(0,i.get)(e,"shoppingData",{}),$a=e=>(0,i.get)(e,"twitterEditor.title",""),Qa=e=>(0,i.get)(e,"twitterEditor.description",""),Xa=e=>(0,i.get)(e,"twitterEditor.image.url",""),za=e=>(0,i.get)(e,"settings.socialPreviews.twitterCardType","summary"),Ja=e=>(0,i.get)(e,"twitterEditor.image.src",""),Za=e=>(0,i.get)(e,"twitterEditor.image.alt",""),eo=e=>(0,i.get)(e,"twitterEditor.warnings",[]),to=(0,n.createSelector)([ia,ca,Gs,na,ra],((...e)=>e.find(Boolean)||"")),ro=(0,n.createSelector)([$a,to],((e,t)=>e||t)),no=(0,n.createSelector)([aa,la,Vs,sa,oa,Is],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),io=(0,n.createSelector)([Qa,no],((e,t)=>e||t));function so(e){return(0,i.get)(e,"warning.message",[])}function ao(e){return e.WincherModal.whichModalOpen}function oo(e){return e.WincherModal.hasNoKeyphrase}function co(e){return e.WincherRequest.isSuccess}function lo(e){return e.WincherRequest.response}function uo(e){return e.WincherRequest.limitReached}function po(e){return e.WincherRequest.isLoggedIn}function Eo(e){return e.WincherRequest.isNewlyAuthenticated}function go(e){return e.WincherRequest.limit}function mo(e){return e.WincherRequest.historyDays}function _o(e){return!0===e.WincherRequest.trackAll}function So(e){return e.WincherRequest.automaticallyTrack&&mi(e)}function To(e){return e.WincherSEOPerformance.websiteId}function yo(e){return e.WincherSEOPerformance.trackedKeyphrases}function Io(e){return!(0,i.isEmpty)(e.WincherSEOPerformance.trackedKeyphrases)}function wo(e){const t=Oi().isPremium,r=window.wp.data.select("yoast-seo-premium/editor"),n=[e.focusKeyword.trim()];return t&&r&&n.push(...r.getKeywords().filter((e=>void 0!==e.keyword)).map((e=>e.keyword.trim()))),(0,i.uniq)(n.filter((e=>!!e)).map((e=>e.replace(/["+:\s]+/g," ").trim().toLocaleLowerCase()))).sort()}function Ao(e){const{trackedKeyphrases:t}=e.WincherSEOPerformance;return!(0,i.isEmpty)(t)&&(0,i.filter)(t,(e=>(0,i.isEmpty)(e.updated_at))).length===Object.keys(t).length}function Ro(e){const t=$s(e);return t.slug?t.permalink:""}const ho=e=>(0,i.get)(e,"isPremium",!1),fo=e=>(0,i.get)(e,"postId",null),{selectAdminUrl:Do,selectAdminLink:Oo}=o,{selectLinkParams:Po,selectLinkParam:vo,selectLink:bo}=m,{selectDocumentFullTitle:Co}=U,{selectPluginUrl:No,selectImageLink:Lo}=w,{selectWistiaEmbedPermission:Mo,selectWistiaEmbedPermissionValue:ko,selectWistiaEmbedPermissionStatus:Uo,selectWistiaEmbedPermissionError:Wo}=b;window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.redux={selectors:r,reducers:zi,actions:t,utils:{createFreezeReducer:(e,t)=>{let r=!1,n=null;return{freezeReducer:(i=t,s)=>r?n:e(i,s),toggleFreeze:(e,t=!r)=>{n=t?(0,i.cloneDeep)(e()):null,r=Boolean(t)}}},createSnapshotReducer:(e,t)=>{let r,n=!1,s=!1;return{snapshotReducer:(i=t,s)=>n?(n=!1,r):e(i,s),takeSnapshot:(e,t)=>{t({type:"CREATE_SNAPSHOT"}),r=(0,i.cloneDeep)(e()),s=!0},restoreSnapshot:e=>{s&&(n=!0,e({type:"RESTORE_SNAPSHOT"}))}}}}}})(); dist/indexation.js 0000644 00000016101 15174677550 0010227 0 ustar 00 (()=>{"use strict";var t={n:e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},d:(e,s)=>{for(var n in s)t.o(s,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:s[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.wp.element,s=window.jQuery;var n=t.n(s);const i=window.wp.i18n,r=window.yoast.componentsNew,o=window.yoast.styleGuide,a=window.yoast.propTypes;var d=t.n(a);const c=window.yoast.helpers,l=window.yoast.styledComponents;var p=t.n(l);class h extends Error{constructor(t,e,s,n,i){super(t),this.name="RequestError",this.url=e,this.method=s,this.statusCode=n,this.stackTrace=i}}const x=window.ReactJSXRuntime,{stripTagsFromHtmlString:g}=c.strings,u=["a","p"],w=p().div` margin-top: 8px; `,m=p().pre` overflow-x: scroll; max-width: 500px; border: 1px solid; padding: 16px; `;function y({title:t,value:e=""}){return e?(0,x.jsxs)("p",{children:[(0,x.jsx)("strong",{children:t}),(0,x.jsx)("br",{}),e]}):null}function S({title:t,value:e=""}){return e?(0,x.jsxs)("details",{children:[(0,x.jsx)("summary",{children:t}),(0,x.jsx)(m,{children:e})]}):null}function _({message:t,error:e}){return(0,x.jsxs)(r.Alert,{type:"error",children:[(0,x.jsx)("div",{dangerouslySetInnerHTML:{__html:g(t,u)}}),(0,x.jsxs)("details",{children:[(0,x.jsx)("summary",{children:(0,i.__)("Error details","wordpress-seo")}),(0,x.jsxs)(w,{children:[(0,x.jsx)(y,{title:(0,i.__)("Request URL","wordpress-seo"),value:e.url}),(0,x.jsx)(y,{title:(0,i.__)("Request method","wordpress-seo"),value:e.method}),(0,x.jsx)(y,{title:(0,i.__)("Status code","wordpress-seo"),value:e.statusCode}),(0,x.jsx)(y,{title:(0,i.__)("Error message","wordpress-seo"),value:e.message}),(0,x.jsx)(S,{title:(0,i.__)("Response","wordpress-seo"),value:e.parseString}),(0,x.jsx)(S,{title:(0,i.__)("Error stack trace","wordpress-seo"),value:e.stackTrace})]})]})]})}y.propTypes={title:d().string.isRequired,value:d().any},S.propTypes={title:d().string.isRequired,value:d().string},_.propTypes={message:d().string.isRequired,error:d().oneOfType([d().instanceOf(Error),d().instanceOf(h)]).isRequired};class j extends Error{constructor(t,e){super(t),this.name="ParseError",this.parseString=e}}const f="idle",I="in_progress",A="errored",v="completed";class T extends e.Component{constructor(t){super(t),this.settings=yoastIndexingData,this.state={state:f,processed:0,error:null,amount:parseInt(this.settings.amount,10),firstTime:"1"===this.settings.firstTime},this.startIndexing=this.startIndexing.bind(this),this.stopIndexing=this.stopIndexing.bind(this)}async doIndexingRequest(t,e){const s=await fetch(t,{method:"POST",headers:{"X-WP-Nonce":e}}),n=await s.text();let i;try{i=JSON.parse(n)}catch(t){throw new j("Error parsing the response to JSON.",n)}if(!s.ok){const e=i.data?i.data.stackTrace:"";throw new h(i.message,t,"POST",s.status,e)}return i}async doPreIndexingAction(t){"function"==typeof this.props.preIndexingActions[t]&&await this.props.preIndexingActions[t](this.settings)}async doPostIndexingAction(t,e){"function"==typeof this.props.indexingActions[t]&&await this.props.indexingActions[t](e.objects,this.settings)}async doIndexing(t){let s=this.settings.restApi.root+this.settings.restApi.indexing_endpoints[t];for(;this.isState(I)&&!1!==s;)try{await this.doPreIndexingAction(t);const n=await this.doIndexingRequest(s,this.settings.restApi.nonce);await this.doPostIndexingAction(t,n),(0,e.flushSync)((()=>{this.setState((t=>({processed:t.processed+n.objects.length,firstTime:!1})))})),s=n.next_url}catch(t){(0,e.flushSync)((()=>{this.setState({state:A,error:t,firstTime:!1})}))}}async index(){for(const t of Object.keys(this.settings.restApi.indexing_endpoints))await this.doIndexing(t);this.isState(A)||this.isState(f)||this.completeIndexing()}async startIndexing(){this.setState({processed:0,state:I},this.index)}completeIndexing(){this.setState({state:v})}stopIndexing(){this.setState((t=>({state:f,processed:0,amount:t.amount-t.processed})))}componentDidMount(){var t,e;if(!this.settings.disabled&&(this.props.indexingStateCallback(0===this.state.amount?"completed":this.state.state),"true"===new URLSearchParams(window.location.search).get("start-indexation"))){const s=function(t,e){const s=new URL(t);return s.searchParams.delete("start-indexation"),s.href}(window.location.href);null,t=document.title,e=s,window.history.pushState(null,t,e),this.startIndexing()}}componentDidUpdate(t,e){this.state.state!==e.state&&this.props.indexingStateCallback(this.state.state)}isState(t){return this.state.state===t}renderFirstIndexationNotice(){return(0,x.jsx)(r.Alert,{type:"info",children:(0,i.__)("This feature includes and replaces the Text Link Counter and Internal Linking Analysis","wordpress-seo")})}renderStartButton(){return(0,x.jsx)(r.NewButton,{variant:"primary",onClick:this.startIndexing,children:(0,i.__)("Start SEO data optimization","wordpress-seo")})}renderStopButton(){return(0,x.jsx)(r.NewButton,{variant:"secondary",onClick:this.stopIndexing,children:(0,i.__)("Stop SEO data optimization","wordpress-seo")})}renderDisabledTool(){return(0,x.jsxs)(e.Fragment,{children:[(0,x.jsx)("p",{children:(0,x.jsx)(r.NewButton,{variant:"secondary",disabled:!0,children:(0,i.__)("Start SEO data optimization","wordpress-seo")})}),(0,x.jsx)(r.Alert,{type:"info",children:(0,i.__)("SEO data optimization is disabled for non-production environments.","wordpress-seo")})]})}renderProgressBar(){return(0,x.jsxs)(e.Fragment,{children:[(0,x.jsx)(r.ProgressBar,{style:{height:"16px",margin:"8px 0"},progressColor:o.colors.$color_pink_dark,max:parseInt(this.state.amount,10),value:this.state.processed}),(0,x.jsx)("p",{style:{color:o.colors.$palette_grey_text},children:(0,i.__)("Optimizing SEO data… This may take a while.","wordpress-seo")})]})}renderErrorAlert(){return(0,x.jsx)(_,{message:yoastIndexingData.errorMessage,error:this.state.error})}renderTool(){return(0,x.jsxs)(e.Fragment,{children:[this.isState(I)&&this.renderProgressBar(),this.isState(A)&&this.renderErrorAlert(),this.isState(f)&&this.state.firstTime&&this.renderFirstIndexationNotice(),this.isState(I)?this.renderStopButton():this.renderStartButton()]})}render(){return this.settings.disabled?this.renderDisabledTool():this.isState(v)||0===this.state.amount?(0,x.jsx)(r.Alert,{type:"success",children:(0,i.__)("SEO data optimization complete","wordpress-seo")}):this.renderTool()}}T.propTypes={indexingActions:d().object,preIndexingActions:d().object,indexingStateCallback:d().func},T.defaultProps={indexingActions:{},preIndexingActions:{},indexingStateCallback:()=>{}};const b=T;let E;function O(){var t;null===(t=E)||void 0===t||t.render((0,x.jsx)(b,{preIndexingActions:window.yoast.indexing.preIndexingActions,indexingActions:window.yoast.indexing.indexingActions}))}window.yoast=window.yoast||{},window.yoast.indexing=window.yoast.indexing||{},window.yoast.indexing.preIndexingActions={},window.yoast.indexing.indexingActions={},window.yoast.indexing.registerPreIndexingAction=(t,e)=>{window.yoast.indexing.preIndexingActions[t]=e,O()},window.yoast.indexing.registerIndexingAction=(t,e)=>{window.yoast.indexing.indexingActions[t]=e,O()},n()((function(){const t=document.getElementById("yoast-seo-indexing-action");t&&(E=(0,e.createRoot)(t)),O()}))})(); dist/frontend-inspector-resources.js 0000644 00000007453 15174677550 0013732 0 ustar 00 (()=>{"use strict";const e=window.React;var o,s;function r(){return r=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},r.apply(null,arguments)}const n=window.wp.i18n,a=window.yoast.analysis,c=window.lodash,t=window.yoast.componentsNew,i=window.yoast.styleGuide;function d(e){switch(e){case"loading":return{icon:"loading-spinner",color:i.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:i.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:i.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:i.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:i.colors.$color_ok};default:return{icon:"seo-score-bad",color:i.colors.$color_red}}}const l=window.yoast.propTypes,u=window.ReactJSXRuntime;function w({score:e,label:o,scoreValue:s=""}){return(0,u.jsxs)("div",{className:"yoast-analysis-check",children:[(0,u.jsx)(t.SvgIcon,{...d(e)}),(0,u.jsxs)("span",{children:[" ",o," ",s&&(0,u.jsx)("strong",{children:s})]})]})}w.propTypes={score:l.string.isRequired,label:l.string.isRequired,scoreValue:l.string},window.yoast=window.yoast||{},window.yoast.frontendInspector={getIndicatorForScore:function(e){return(0,c.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,n.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,n.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,n.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,n.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,n.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,n.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,n.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,n.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,n.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,n.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,n.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,n.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(a.interpreters.scoreToRating(e))},AnalysisCheck:w,YoastIcon:n=>e.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},n),o||(o=e.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),s||(s=e.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"})))}})(); dist/dashboard-widget.js 0000644 00000003777 15174677550 0011314 0 ustar 00 (()=>{"use strict";const e=window.wp.element,t=window.yoast.componentsNew,s=window.yoast.styleGuide,o=window.yoast.analysisReport,i=window.yoast.helpers,a=window.ReactJSXRuntime;class r extends e.Component{constructor(){super(),this.state={statistics:null,feed:null,isDataFetched:!1}}componentDidMount(){const e=jQuery("#wpseo-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",(()=>{this.fetchData()}))}fetchData(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.setState({isDataFetched:!0}))}static getColorFromScore(e){return s.colors[`$color_${e}`]||s.colors.$color_grey}getStatistics(){wpseoApi.get("statistics",(e=>{const t={};e&&e.seo_scores&&(t.seoScores=e.seo_scores.map((e=>({value:parseInt(e.count,10),color:r.getColorFromScore(e.seo_rank),html:`<a href="${e.link}">${e.label}</a>`}))),t.header=jQuery(`<div>${e.header}</div>`).text(),this.setState({statistics:t}))}))}getFeed(){(0,i.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then((e=>{e.items=e.items.map((e=>(e.description=jQuery(`<div>${e.description}</div>`).text(),e.description=e.description.replace(`The post ${e.title} appeared first on Yoast.`,"").trim(),e))),this.setState({feed:e})})).catch((e=>console.log(e)))}getSeoAssessment(){return null===this.state.statistics?null:(0,a.jsx)(o.SiteSEOReport,{seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores},"yoast-seo-posts-assessment")}getYoastFeed(){return null===this.state.feed?null:(0,a.jsx)(t.ArticleList,{className:"wordpress-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer},"yoast-seo-blog-feed")}render(){const e=[this.getSeoAssessment(),this.getYoastFeed()].filter((e=>null!==e));return 0===e.length?null:(0,a.jsx)("div",{children:e})}}const n=document.getElementById("yoast-seo-dashboard-widget");n&&(0,e.createRoot)(n).render((0,a.jsx)(r,{}))})(); dist/reindex-links.js 0000644 00000005343 15174677550 0010647 0 ustar 00 (()=>{var e={2322:e=>{var t,n,o="",r=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}((function(){t=document.getElementById("a11y-speak-polite"),n=document.getElementById("a11y-speak-assertive"),null===t&&(t=r("polite")),null===n&&(n=r("assertive"))})),e.exports=function(e,r){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/g," "),o===e&&(e+=" "),o=e,n&&"assertive"===r?n.textContent=e:t&&(t.textContent=e)}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.jQuery;var t=n.n(e),o=n(2322),r=n.n(o);const s=yoastReindexLinksData.data;let a=!1;class i{constructor(e){this.element=t()("#wpseo_count_index_links"),this.progressbarTarget=t()("#wpseo_index_links_progressbar").progressbar({value:0}),this.total=parseInt(e,10),this.totalProcessed=0}update(e){this.totalProcessed+=e;const t=this.totalProcessed*(100/this.total);this.progressbarTarget.progressbar("value",Math.round(t)),this.element.html(this.totalProcessed)}complete(){this.progressbarTarget.progressbar("value",100)}}function l(e,n){t().ajax({type:"GET",url:s.restApi.root+s.restApi.endpoint,beforeSend:e=>{e.setRequestHeader("X-WP-Nonce",s.restApi.nonce)},success:t=>{const o=parseInt(t,10);if(0!==o)return e.update(o),void l(e,n);e.complete(),n()}})}function c(){return new Promise((e=>{l(new i(s.amount),e)}))}function d(){a=!0,r()(s.l10n.calculationCompleted),t()("#reindexLinks").html(s.message.indexingCompleted),tb_remove()}function u(){t()("#general-tab").trigger("click"),!1===a&&t()("#openLinkIndexing").trigger("click")}t()((function(){let e=!1;t()(".yoast-js-calculate-index-links--all ").on("click",(function(){!1===e&&(function(){r()(s.l10n.calculationInProgress);const e=[];e.push(c()),Promise.all(e).then(d)}(),e=!0)})),t()("#noticeRunLinkIndex").on("click",u),-1!==window.location.href.indexOf("&reIndexLinks=1")&&t()(u)}))})()})(); dist/elementor.js 0000644 00000640441 15174677550 0010071 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var r=typeof s;if("string"===r||"number"===r)e.push(s);else if(Array.isArray(s)){if(s.length){var n=o.apply(null,s);n&&e.push(n)}}else if("object"===r){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)i.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(s=function(){return o}.apply(t,[]))||(e.exports=s)}()}},t={};function s(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>rl,NEW_REQUEST:()=>al,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>nl,wistiaEmbedPermission:()=>ll});var t={};s.r(t),s.d(t,{loadSnippetEditorData:()=>hl,updateData:()=>ul});var i={};s.r(i),s.d(i,{getSnippetEditorData:()=>vl,getSnippetEditorSlug:()=>_l});var o={};s.r(o),s.d(o,{getAnalysisData:()=>Il});var r={};s.r(r),s.d(r,{getWincherPermalink:()=>pc});var n={};s.r(n),s.d(n,{authorFirstName:()=>uc,authorLastName:()=>hc,category:()=>wc,categoryTitle:()=>fc,currentDate:()=>gc,currentDay:()=>mc,currentMonth:()=>yc,currentYear:()=>bc,date:()=>xc,excerpt:()=>_c,focusKeyphrase:()=>vc,id:()=>kc,modified:()=>Sc,name:()=>Rc,page:()=>Tc,pageNumber:()=>Ec,pageTotal:()=>jc,permalink:()=>Cc,postContent:()=>Ic,postDay:()=>Lc,postMonth:()=>Ac,postTypeNamePlural:()=>Dc,postTypeNameSingular:()=>Fc,postYear:()=>Pc,primaryCategory:()=>Mc,searchPhrase:()=>Oc,separator:()=>qc,siteDescription:()=>Nc,siteName:()=>Uc,tag:()=>Wc,term404:()=>Bc,termDescription:()=>$c,termHierarchy:()=>Kc,termTitle:()=>Hc,title:()=>zc,userDescription:()=>Vc});const a=window.wp.data,l=window.wp.hooks,c=window.lodash,d=window.yoast.analysis;function p(){}const u=window.yoast.externals.redux;function h(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function g(){return(0,c.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function m(){const e=g();return(0,c.get)(e,"contentLocale","en_US")}function y(){const e=g();return!0===(0,c.get)(e,"contentAnalysisActive",!1)}function w(){const e=g();return!0===(0,c.get)(e,"keywordAnalysisActive",!1)}function f(){const e=g();return!0===(0,c.get)(e,"inclusiveLanguageAnalysisActive",!1)}const b=window.yoast.featureFlag;class x{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,c.isString)(e)?(0,c.isUndefined)(t)||(0,c.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,c.isString)(e)?(0,c.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,c.isString)(e)?(0,c.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,i){if(!(0,c.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,c.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,c.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const o={callable:t,origin:s,priority:(0,c.isNumber)(i)?i:10};return(0,c.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}_registerAssessment(e,t,s,i){return(0,c.isString)(t)?(0,c.isObject)(s)?(0,c.isString)(i)?(t=i+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+i+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let i=this.modifications[e];return!(0,c.isArray)(i)||i.length<1||(i=this._stripIllegalModifications(i),i.sort(((e,t)=>e.priority-t.priority)),(0,c.forEach)(i,(function(i){const o=i.callable(t,s);typeof o==typeof t?t=o:console.error("Modification with name "+e+" performed by plugin with name "+i.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,c.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,c.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,c.forEach)(this.plugins,(function(e,t){(0,c.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,c.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,c.isUndefined)(this.plugins[e])}}let _=null;const v=()=>{if(null===_){const e=(0,a.dispatch)("yoast-seo/editor").runAnalysis;_=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new x(e)}return _},k=e=>v()._ready(e),S=e=>v()._reloaded(e),R=(e,t,s,i)=>v()._registerModification(e,t,s,i),T=(e,t)=>v()._registerPlugin(e,t),E=(e,t,s)=>v().loaded?v()._applyModifications(e,t,s):t,j="yoastmark";function C(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function I(e,t,s){const i=e.dom;let o=e.getContent();if(o=d.markers.removeMarks(o),(0,c.isEmpty)(s))return void e.setContent(o);o=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,c.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const i=e[s];C(i,t)||(t=i.applyWithPosition(t))}return t}(s,o):function(e,t,s,i){const{fieldsToMark:o,selectedHTML:r}=d.languageProcessing.getFieldsToMark(s,i);return(0,c.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=d.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=d.languageProcessing.normalizeHTML(t._properties.original)),o.length>0?r.forEach((e=>{const s=t.applyWithReplace(e);i=i.replace(e,s)})):i=t.applyWithReplace(i)})),i}(e,0,s,o),e.setContent(o),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const r=i.select(j);(0,c.forEach)(r,(function(e){e.setAttribute("data-mce-bogus","1")}))}function L(e){return window.test=e,I.bind(null,e)}c.noop,c.noop,c.noop;const A="content";function P(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}window.wp.annotations;const D=function(e){return(0,c.uniq)((0,c.flatten)(e.map((e=>{if(!(0,c.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},F=window.wp.richText,M=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:O}=d.helpers.htmlEntities,q=e=>{let t=0;return(0,c.forEachRight)(e,(e=>{const[s]=e;let i=s.length;/^<\/?br/.test(s)&&(i-=1),t+=i})),t},N="<yoastmark class='yoast-text-mark'>",U="</yoastmark>",W='<yoastmark class="yoast-text-mark">';function B(e,t,s,i,o){const r=i.clientId,n=(0,F.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,c.flatMap)(o,(s=>{let o;return o=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,i,o){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),r=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const i="yoast/faq-block"===s?'<strong class="schema-faq-question">':'<strong class="schema-how-to-step-name">';return{blockStartOffset:e-=i.length,blockEndOffset:t-=i.length}})(t,r,s);t=e.blockStartOffset,r=e.blockEndOffset}if(i.slice(t,r)===o.slice(t,r))return[{startOffset:t,endOffset:r}];const n=((e,t,s)=>{const i=s.slice(0,e),o=s.slice(0,t),r=((e,t,s,i)=>{const o=[...e.matchAll(M)];s-=q(o);const r=[...t.matchAll(M)];return{blockStartOffset:s,blockEndOffset:i-=q(r)}})(i,o,e,t),n=((e,t,s,i)=>{let o=[...e.matchAll(O)];return(0,c.forEachRight)(o,(e=>{const[,t]=e;s-=t.length})),o=[...t.matchAll(O)],(0,c.forEachRight)(o,(e=>{const[,t]=e;i-=t.length})),{blockStartOffset:s,blockEndOffset:i}})(i,o,e=r.blockStartOffset,t=r.blockEndOffset);return{blockStartOffset:e=n.blockStartOffset,blockEndOffset:t=n.blockEndOffset}})(t,r,i);return[{startOffset:n.blockStartOffset,endOffset:n.blockEndOffset}]}return[]}(s,r,i.name,e,n):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),i=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t,s=!0){const i=[];if(0===e.length)return i;let o,r=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,r))>-1;)i.push(o),r=o+t.length;return i}(e,s);if(0===o.length)return[];const r=function(e){let t=e.indexOf(N);const s=t>=0;s||(t=e.indexOf(W));let i=null;const o=[];for(;t>=0;){if(i=(e=s?e.replace(N,""):e.replace(W,"")).indexOf(U),i<t)return[];e=e.replace(U,""),o.push({startOffset:t,endOffset:i}),t=s?e.indexOf(N):e.indexOf(W),i=null}return o}(i),n=[];return r.forEach((e=>{o.forEach((i=>{const o=i+e.startOffset;let r=i+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(r=i+s.length),n.push({startOffset:o,endOffset:r})}))})),n}(n,s),o?o.map((e=>({...e,block:r,richTextIdentifier:t}))):[]}))}const $=e=>e[0].toUpperCase()+e.slice(1),K=(e,t,s,i,o)=>(e=e.map((e=>{const r=`${e.id}-${o[0]}`,n=`${e.id}-${o[1]}`,a=$(o[0]),l=$(o[1]),c=e[`json${a}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=B(c,r,s,i,p),g=B(d,n,s,i,u);return h.concat(g)})),(0,c.flattenDeep)(e)),H="yoast";let z=[];const V={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function Y(){const e=z.shift();e&&((0,a.dispatch)("core/annotations").__experimentalAddAnnotation(e),G())}function G(){(0,c.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(Y,{timeout:1e3}):setTimeout(Y,150)}const Z=(e,t)=>{return(0,c.flatMap)((s=e.name,V.hasOwnProperty(s)?V[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];return 0===i.length?[]:K(i,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];if(i&&0===i.length)return[];const o=[];return"steps"===e.key&&o.push(K(i,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),o.push(B(i,"description",e,t,s))),(0,c.flattenDeep)(o)})(s,e,t):function(e,t,s){const i=e.key,o=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:(s||"").toString()})(t,i);return B(o,i,e,t,s)}(s,e,t)));var s};function Q(e,t){return(0,c.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?Q(e.innerBlocks,t):[];return Z(e,t).concat(s)}))}function X(e){z=[],(0,a.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(H);const t=D(e);if(0===e.length)return;const s=(0,a.select)("core/block-editor"),i="template-locked"===(0,a.select)("core/editor").getRenderingMode(),o=s.getBlocksByName("core/post-content");let r=i&&null!=o&&o.length?s.getBlocks(o[0]):s.getBlocks();var n;t.length>0&&(r=r.filter((e=>t.some((t=>"core/"+t===e.name))))),n=Q(r,e),z=n.map((e=>({blockClientId:e.block,source:H,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),G()}function J(e,t){let s;P(A)&&((0,c.isUndefined)(s)&&(s=L(tinyMCE.get(A))),s(e,t)),(0,a.select)("core/editor")&&(0,a.select)("core/block-editor")&&(0,c.isFunction)((0,a.select)("core/block-editor").getBlocks)&&(0,a.select)("core/annotations")&&(0,c.isFunction)((0,a.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>L(e))).forEach((s=>s(e,t)))}(e,t),X(t)),(0,l.doAction)("yoast.analysis.applyMarks",t)}function ee(){const e=(0,a.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,a.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?c.noop:J}const te=(0,c.debounce)((async function(e,t){const{text:s,...i}=t,o=new d.Paper(s,i);try{const t=await e.analyze(o),{seo:s,readability:i,inclusiveLanguage:r}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(o,e.marks)})),e.results=h(e.results),(0,a.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(o.getKeyword(),e.results),(0,a.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,o.getKeyword())}i&&(i.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(o,e.marks)})),i.results=h(i.results),(0,a.dispatch)("yoast-seo/editor").setReadabilityResults(i.results),(0,a.dispatch)("yoast-seo/editor").setOverallReadabilityScore(i.score)),r&&(r.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(o,e.marks)})),r.results=h(r.results),(0,a.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(r.results),(0,a.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(r.score)),(0,l.doAction)("yoast.analysis.run",t,{paper:o})}catch(e){}}),500);function se(){const{getAnalysisData:e,getEditorDataTitle:t,getIsFrontPage:s}=(0,a.select)("yoast-seo/editor");let i=e();i={...i,textTitle:t(),isFrontPage:s()};const o=function(e){return e.title=E("data_page_title",e.title),e.title=E("title",e.title),e.description=E("data_meta_desc",e.description),e.text=E("content",e.text),e}(i);return(0,l.applyFilters)("yoast.analysis.data",o)}const ie=()=>{const{getContentLocale:e}=(0,a.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,se),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,a.dispatch)("yoast-seo/editor"),i=(0,c.get)(window,"YoastSEO.analysis.worker.runResearch",c.noop);return()=>{const o=d.Paper.parse(se());i("readingTime",o).then((t=>e(t.result))),i("getFleschReadingScore",o).then((e=>{e.result&&t(e.result)})),i("wordCountInText",o).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const i=e();(0,c.isEqual)(i,s)||(s=i,t((0,c.clone)(i)))}})(t,s)},oe=window.wp.components,re=window.wp.element,ne=window.yoast.externals.contexts,ae=window.yoast.propTypes;var le=s.n(ae);const ce=window.yoast.styledComponents;var de=s.n(ce);const pe=window.ReactJSXRuntime,ue=({theme:e,location:t,children:s})=>(0,pe.jsx)(ne.LocationProvider,{value:t,children:(0,pe.jsx)(ce.ThemeProvider,{theme:e,children:s})});ue.propTypes={theme:le().object.isRequired,location:le().oneOf(["sidebar","metabox","modal"]).isRequired,children:le().node.isRequired};const he=ue,ge=[];let me=null;class ye extends re.Component{constructor(e){super(e),this.state={registeredComponents:[...ge]}}registerComponent(e,t){this.setState((s=>({...s,registeredComponents:[...s.registeredComponents,{key:e,Component:t}]})))}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,pe.jsx)(e,{},t)))}}function we(e,t){null===me||null===me.current?ge.push({key:e,Component:t}):me.current.registerComponent(e,t)}const fe=()=>!0;class be extends $e.modules.hookUI.Base{constructor(e,t,s,i=fe){super(),this.command=e,this.id=t,this.callback=s,this.conditions=i}getCommand(){return this.command}getId(){return this.id}getConditions(...e){return this.conditions(...e)}apply(...e){return this.callback(...e)}}class xe extends $e.modules.hookData.Base{constructor(e,t,s,i=fe){super(),this.command=e,this.id=t,this.callback=s,this.conditions=i.bind(this)}getCommand(){return this.command}getId(){return this.id}getConditions(...e){return this.conditions(...e)}apply(...e){return this.callback(...e)}}function _e(e,t,s,i=fe){return $e.hooks.registerUIAfter(new be(e,t,s,i))}function ve(e,t,s,i=fe){return $e.hooks.registerUIBefore(new be(e,t,s,i))}function ke(e,t,s,i=fe){return $e.hooks.registerDataAfter(new xe(e,t,s,i))}const Se=e=>{return parseInt(null===(t=document.getElementById("post_ID"))||void 0===t?void 0:t.value,10)===e;var t},Re=()=>{var e;return Se(null===(e=elementor.documents.getCurrent())||void 0===e?void 0:e.id)},Te=["yoast_wpseo_linkdex","yoast_wpseo_content_score","yoast_wpseo_inclusive_language_score","yoast_wpseo_words_for_linking","yoast_wpseo_estimated-reading-time-minutes"],Ee=["yoast_wpseo_focuskeywords","hidden_wpseo_focuskeywords"],je=window.wp.i18n,Ce=e=>{let t="";e&&(t=(0,je.sprintf)(/* translators: %1$s translates to the Post Label in singular form */ (0,je.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===elementor.settings.page.model.get("post_status")&&(t=""),(0,a.select)("yoast-seo/editor").getWarningMessage()!==t&&(0,a.dispatch)("yoast-seo/editor").setWarningMessage(t)},Ie=(e,t,s)=>null===t?null:(0,re.createPortal)(e,t,s),Le=({id:e,children:t})=>{const s=(0,re.useRef)(document.getElementById(e)),[i,o]=(0,re.useState)((()=>Ie(t,s.current,e))),r=(0,re.useCallback)((()=>{const i=document.getElementById(e);i!==s.current&&(s.current=i,o(Ie(t,i,e)))}),[e,t]);return((e,t,s={childList:!0,subtree:!0})=>{(0,re.useEffect)((()=>{const i=new MutationObserver(t);return i.observe(e,s),()=>i.disconnect()}),[e,t])})(document.body,r),i},Ae=window.yoast.uiLibrary,Pe=window.React;var De=s.n(Pe);Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));const Fe=(e,t)=>{try{return(0,re.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}};le().string.isRequired;const Me=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Oe=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));le().string.isRequired,le().string.isRequired,le().shape({src:le().string.isRequired,width:le().string,height:le().string}).isRequired,le().shape({value:le().bool.isRequired,status:le().string.isRequired,set:le().func.isRequired}).isRequired,le().string,le().string,le().string;const qe=({handleRefreshClick:e,supportLink:t})=>(0,pe.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,pe.jsx)(Ae.Button,{onClick:e,children:(0,je.__)("Refresh this page","wordpress-seo")}),(0,pe.jsx)(Ae.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,je.__)("Contact support","wordpress-seo")})]});qe.propTypes={handleRefreshClick:le().func.isRequired,supportLink:le().string.isRequired};const Ne=({handleRefreshClick:e,supportLink:t})=>(0,pe.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,pe.jsx)(Ae.Button,{className:"yst-order-last",onClick:e,children:(0,je.__)("Refresh this page","wordpress-seo")}),(0,pe.jsx)(Ae.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,je.__)("Contact support","wordpress-seo")})]});Ne.propTypes={handleRefreshClick:le().func.isRequired,supportLink:le().string.isRequired};const Ue=({error:e,children:t=null})=>(0,pe.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,pe.jsx)(Ae.Title,{children:(0,je.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,pe.jsx)("p",{children:(0,je.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,pe.jsx)(Ae.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,je.__)("Undefined error message.","wordpress-seo")}),(0,pe.jsx)("p",{children:(0,je.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});Ue.propTypes={error:le().object.isRequired,children:le().node},Ue.VerticalButtons=Ne,Ue.HorizontalButtons=qe;le().string,le().node.isRequired,le().node.isRequired,le().node,le().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const We=window.ReactDOM;var Be,Ke,He;(Ke=Be||(Be={})).Pop="POP",Ke.Push="PUSH",Ke.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(He||(He={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const ze=["post","put","patch","delete"],Ve=(new Set(ze),["get",...ze]);new Set(Ve),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),Pe.Component,Pe.startTransition,new Promise((()=>{})),Pe.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var Ye,Ge,Ze,Qe;new Map,Pe.startTransition,We.flushSync,Pe.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(Qe=Ye||(Ye={})).UseScrollRestoration="useScrollRestoration",Qe.UseSubmit="useSubmit",Qe.UseSubmitFetcher="useSubmitFetcher",Qe.UseFetcher="useFetcher",Qe.useViewTransitionState="useViewTransitionState",(Ze=Ge||(Ge={})).UseFetcher="useFetcher",Ze.UseFetchers="useFetchers",Ze.UseScrollRestoration="useScrollRestoration",le().string.isRequired,le().string;le().string.isRequired,le().node;const Xe=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));(0,je.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,je.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,je.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,je.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,je.__)("Add product details to help your listings stand out","wordpress-seo"),(0,je.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,je.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,je.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,je.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,je.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,je.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,je.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,je.__)("Internal links and redirect management, easy","wordpress-seo"),(0,je.__)("Access to friendly help when you need it, day or night","wordpress-seo");var Je=s(4184),et=s.n(Je);var tt;function st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},st.apply(null,arguments)}le().string.isRequired,le().object.isRequired,le().func.isRequired,Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));const it=e=>Pe.createElement("svg",st({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),tt||(tt=Pe.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));le().string.isRequired,le().object,le().func.isRequired,le().bool.isRequired,le().string.isRequired,le().object.isRequired,le().string.isRequired,le().func.isRequired,le().bool.isRequired,Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),le().bool.isRequired,le().func,le().func,le().string.isRequired,le().string.isRequired,le().string.isRequired,le().string.isRequired;window.yoast.reactHelmet;const ot="idle",rt="loading";le().string.isRequired,le().shape({src:le().string.isRequired,width:le().string,height:le().string}).isRequired,le().shape({value:le().bool.isRequired,status:le().string.isRequired,set:le().func.isRequired}).isRequired,le().bool,Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),le().bool.isRequired,le().func.isRequired,le().func,le().string,le().func.isRequired,le().string.isRequired,le().string.isRequired,le().string.isRequired,le().string.isRequired;const nt=({error:e})=>{const t=(0,re.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/elementor-error-support")),[]),i=(0,a.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,pe.jsx)(Ae.Root,{context:{isRtl:i},children:(0,pe.jsx)(Ue,{error:e,children:(0,pe.jsx)(Ue.VerticalButtons,{supportLink:s,handleRefreshClick:t})})})};function at(){return(0,pe.jsx)(Ae.ErrorBoundary,{FallbackComponent:nt,children:(0,pe.jsx)(oe.Slot,{name:"YoastElementor",children:e=>{return void 0===(t=e).length?t:(0,c.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t}})})}nt.propTypes={error:le().object.isRequired};const lt=window.wp.compose,ct=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),dt=window.wp.url,pt=({className:e="",...t})=>(0,pe.jsx)("span",{className:et()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp","yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-start",e),...t});pt.displayName="MetaboxButton.Text",pt.propTypes={className:le().string};const ut=({className:e="",...t})=>(0,pe.jsx)("button",{type:"button",className:et()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pe-4 yst-ps-6 yst-space-x-2 rtl:yst-space-x-reverse","yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0]","focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...t});ut.propTypes={className:le().string},ut.Text=pt;const ht=window.yoast.componentsNew,gt=({onClick:e,title:t,id:s="",subTitle:i="",suffixIcon:o=null,SuffixHeroIcon:r=null,prefixIcon:n=null,children:a=null})=>(0,pe.jsx)("div",{className:"yoast components-panel__body",children:(0,pe.jsx)("h2",{className:"components-panel__body-title",children:(0,pe.jsxs)("button",{id:s,onClick:e,className:"components-button components-panel__body-toggle",type:"button",children:[n&&(0,pe.jsx)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`},children:(0,pe.jsx)(ht.SvgIcon,{size:n.size,icon:n.icon})}),(0,pe.jsxs)("span",{className:"yoast-title-container",children:[(0,pe.jsx)("div",{className:"yoast-title",children:t}),(0,pe.jsx)("div",{className:"yoast-subtitle",children:i})]}),a,o&&(0,pe.jsx)(ht.SvgIcon,{size:o.size,icon:o.icon}),r]})})}),mt=gt;var yt,wt;function ft(){return ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},ft.apply(null,arguments)}gt.propTypes={onClick:le().func.isRequired,title:le().string.isRequired,id:le().string,subTitle:le().string,suffixIcon:le().object,SuffixHeroIcon:le().element,prefixIcon:le().object,children:le().node};const bt=e=>Pe.createElement("svg",ft({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),yt||(yt=Pe.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),wt||(wt=Pe.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),xt=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),_t=({isOpen:e,onClose:t,id:s,upsellLink:i,title:o="",description:r="",benefits:n=[],note:l="",ctbId:c="",modalTitle:d})=>{const{isBlackFriday:p,isWooCommerceActive:u,isProductEntity:h,isWooSEOActive:g}=(0,a.useSelect)((e=>{const t=e("yoast-seo/editor");return{isProductEntity:t.getIsProductEntity(),isWooCommerceActive:t.getIsWooCommerceActive(),isBlackFriday:t.isPromotionActive("black-friday-promotion"),isWooSEOActive:t.getIsWooSeoActive()}}),[]),m=(0,re.useMemo)((()=>u&&h),[u,h]),y=(0,re.useRef)(null);return(0,pe.jsx)(Ae.Modal,{isOpen:e,onClose:t,id:s,initialFocus:y,children:(0,pe.jsx)(Ae.Modal.Panel,{className:"yst-max-w-md yst-p-0",hasCloseButton:!1,children:(0,pe.jsxs)(Ae.Modal.Container,{children:[(0,pe.jsxs)(Ae.Modal.Container.Header,{className:"yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex yst-justify-start yst-gap-3 yst-items-center",children:[m?(0,pe.jsx)(xt,{className:"yst-text-woo-light yst-w-6 yst-h-6 yst-scale-x-[-1]"}):(0,pe.jsx)(bt,{className:"yst-fill-primary-500 yst-w-5 yst-h-5"}),(0,pe.jsx)(Ae.Modal.Title,{as:"h3",className:et()(m?"yst-text-woo-light":"yst-text-primary-500","yst-text-base yst-font-normal"),children:d}),(0,pe.jsx)(Ae.Modal.CloseButton,{className:"yst-top-2",onClick:t,screenReaderText:(0,je.__)("Close modal","wordpress-seo")})]}),(0,pe.jsxs)(Ae.Modal.Container.Content,{className:"yst-p-0",children:[p&&(0,pe.jsx)("div",{className:"yst-flex yst-font-semibold yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6",children:(0,pe.jsx)("div",{className:"yst-mx-auto",children:(0,je.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})}),(0,pe.jsxs)("div",{className:"yst-py-6 yst-px-12",children:[(0,pe.jsx)(Ae.Title,{as:"h3",className:"yst-mb-1 yst-leading-5 yst-text-sm yst-font-medium yst-text-slate-800",children:o}),(0,pe.jsx)("p",{className:"yst-mb-2",children:r}),Array.isArray(n)&&n.length>0&&(0,pe.jsx)("ul",{className:"yst-my-2",children:n.map(((e,t)=>(0,pe.jsxs)("li",{className:"yst-flex yst-gap-1 yst-mb-2",children:[(0,pe.jsx)(Xe,{className:"yst-mr-1 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),(0,pe.jsx)("p",{className:"yst-text-slate-600",children:e})]},`${s}-upsell-benefit-${t}`)))}),"function"==typeof n&&n(),(0,pe.jsxs)("div",{className:"yst-text-center",children:[(0,pe.jsxs)(Ae.Button,{as:"a",variant:"upsell",className:"yst-my-2 yst-gap-1.5 yst-w-full",href:i,target:"_blank","data-action":"load-nfd-ctb","data-ctb-id":c,ref:y,children:[(0,pe.jsx)(Me,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,je.sprintf)(/* translators: %s expands to 'Yoast SEO Premium' or 'Yoast Woocommerce SEO'. */ (0,je.__)("Explore %s","wordpress-seo"),m&&!g?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,pe.jsx)("span",{className:"yst-sr-only",children:(0,je.__)("Opens in a new tab","wordpress-seo")})]}),(0,pe.jsx)("div",{className:"yst-italic yst-text-slate-500 yst-mt-1",children:l})]})]})]})]})})})},vt=()=>{const[e,,,t,s]=(0,Ae.useToggleState)(!1),{locationContext:i}=(0,ne.useRootContext)(),o=(0,Ae.useSvgAria)(),r=i.includes("sidebar"),n=i.includes("metabox"),a=r?"sidebar":"metabox",l=wpseoAdminL10n[r?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(_t,{isOpen:e,onClose:s,id:`yoast-internal-linking-suggestions-upsell-${a}`,upsellLink:(0,dt.addQueryArgs)(l,{context:i}),modalTitle:(0,je.__)("Add smarter internal links with Premium","wordpress-seo"),title:(0,je.__)("Connect related content without the guesswork","wordpress-seo"),description:Fe((0,je.sprintf)(/* translators: %s expands to be tag. */ (0,je.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles. %sScans your content to:","wordpress-seo"),"<br />"),{br:(0,pe.jsx)("br",{})}),benefits:[(0,je.__)("Suggest internal links based on your content’s main topics","wordpress-seo"),(0,je.__)("Build relevant internal links faster","wordpress-seo"),(0,je.__)("Strengthen your site’s structure","wordpress-seo"),(0,je.__)("Keep visitors exploring longer","wordpress-seo")],note:(0,je.__)("Upgrade to link your content with ease","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),r&&(0,pe.jsx)(mt,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,je.__)("Internal linking suggestions","wordpress-seo"),onClick:t,children:(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsx)(Ae.Badge,{size:"small",variant:"upsell",children:(0,pe.jsx)(ct,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...o})})})}),n&&(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsxs)(ut,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t,children:[(0,pe.jsx)(ut.Text,{children:(0,je.__)("Internal linking suggestions","wordpress-seo")}),(0,pe.jsxs)(Ae.Badge,{size:"small",variant:"upsell",children:[(0,pe.jsx)(ct,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...o}),(0,pe.jsx)("span",{children:"Premium"})]})]})})]})},kt=window.yoast.externals.components;function St(){return(0,lt.createHigherOrderComponent)((function(e){return(0,lt.pure)((function(t){const s=(0,re.useContext)(ne.LocationContext);return(0,re.createElement)(e,{...t,location:s})}))}),"withLocation")}const Rt=(0,lt.compose)([(0,a.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,a.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),St()])(kt.CollapsibleCornerstone),Tt=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Et=({store:e="yoast-seo/editor",location:t="sidebar"})=>{const s="black-friday-promotion",i=(0,a.useSelect)((t=>t(e).getIsPremium()),[e]),o=(0,a.useSelect)((t=>t(e).selectLinkParams()),[e]),r=(0,a.useSelect)((t=>t(e).isPromotionActive(s)),[e]),n=(0,a.useSelect)((t=>t(e).getIsWooCommerceActive()),[e]),l=(0,a.useSelect)((t=>t(e).isAlertDismissed(s)),[e]),c=(0,a.useSelect)((t=>t(e).getIsElementorEditor()),[e]),d=(0,re.useCallback)((()=>{(0,a.dispatch)(e).dismissAlert(s)}),[e,s]),p=(0,dt.addQueryArgs)("https://yoa.st/black-friday-sale",o),u=(0,Ae.useSvgAria)();return i||!r||l?null:(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsxs)("div",{className:et()("sidebar"!==t||c?"yst-mx-4":"yst-mx-0","yst-border yst-rounded-lg yst-p-4 yst-max-w-md yst-mt-6 yst-relative yst-shadow-sm",n?"yst-border-woo-light":"yst-border-primary-200"),children:[(0,pe.jsxs)(Ae.Badge,{size:"small",className:"yst-text-[10px] yst-bg-black yst-text-amber-300 yst-absolute yst--top-2",children:[(0,je.__)("BLACK FRIDAY","wordpress-seo")," "]}),(0,pe.jsxs)("button",{className:"yst-absolute yst-top-4 yst-end-4",onClick:d,children:[(0,pe.jsx)(Tt,{className:"yst-w-4 yst-text-slate-400 yst-shrink-0 yst--mt-0.5"}),(0,pe.jsx)("div",{className:"yst-sr-only",children:(0,je.__)("Dismiss","wordpress-seo")})]}),(0,pe.jsxs)("div",{className:et()("sidebar"===t?"":"yst-flex yst-justify-between yst-gap-3"),children:[(0,pe.jsxs)("div",{className:n?"yst-text-woo-light":"yst-text-primary-500",children:[(0,pe.jsx)("div",{className:"yst-text-2xl yst-font-bold",children:(0,je.__)("30% OFF","wordpress-seo")}),(0,pe.jsx)("div",{className:"yst-flex yst-gap-2 yst-font-semibold yst-text-tiny",children:n?(0,pe.jsxs)(pe.Fragment,{children:["Yoast WooCommerce SEO ",(0,pe.jsx)(xt,{className:"yst-w-4 yst-scale-x-[-1]",...u})]}):(0,pe.jsxs)(pe.Fragment,{children:[" Yoast SEO Premium ",(0,pe.jsx)(it,{className:"yst-w-4",...u})]})})]}),(0,pe.jsx)("div",{className:"yst-flex yst-items-end",children:(0,pe.jsxs)(Ae.Button,{as:"a",className:et()("sidebar"===t?"yst-w-full":"yst-w-[140px]","yst-flex yst-gap-1 yst-w-[140px] yst-h-7 yst-mt-4"),variant:"upsell",href:p,target:"_blank",rel:"noreferrer",children:[(0,je.__)("Buy now!","wordpress-seo"),(0,pe.jsx)(Oe,{className:"yst-w-4 rtl:yst-rotate-180",...u})]})})]})]})})};Et.propTypes={store:le().string,location:le().oneOf(["sidebar","metabox"])};const jt=window.yoast.helpers,Ct=(0,lt.compose)([(0,a.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,a.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),It=({children:e,id:t,hasIcon:s=!0,title:i,image:o=null,isAlertDismissed:r,onDismissed:n})=>r?null:(0,pe.jsxs)("div",{id:t,className:"notice-yoast yoast is-dismissible yoast-webinar-dashboard yoast-general-page-notices",children:[(0,pe.jsxs)("div",{className:"notice-yoast__container",children:[(0,pe.jsxs)("div",{children:[(0,pe.jsxs)("div",{className:"notice-yoast__header",children:[s&&(0,pe.jsx)("span",{className:"yoast-icon"}),(0,pe.jsx)("h2",{className:"notice-yoast__header-heading yoast-notice-migrated-header",children:i})]}),(0,pe.jsx)("div",{className:"notice-yoast-content",children:(0,pe.jsx)("p",{children:e})})]}),o&&(0,pe.jsx)(o,{height:"60"})]}),(0,pe.jsx)("button",{type:"button",className:"notice-dismiss",onClick:n,children:(0,pe.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,je.__)("Dismiss this notice.","wordpress-seo")})})]});It.propTypes={children:le().node.isRequired,id:le().string.isRequired,hasIcon:le().bool,title:le().any.isRequired,image:le().elementType,isAlertDismissed:le().bool.isRequired,onDismissed:le().func.isRequired};const Lt=Ct(It),At="trustpilot-review-notification",Pt="yoast-seo/editor";const Dt=()=>{const e=(0,a.useSelect)((e=>e(Pt).getIsPremium()),[]),t=(0,a.useSelect)((e=>e(Pt).isAlertDismissed(At)),[]),{overallScore:s}=(0,a.useSelect)((e=>e(Pt).getResultsForFocusKeyword()),[]),{dismissAlert:i}=(0,a.useDispatch)(Pt),o=(0,re.useCallback)((()=>i(At)),[i]),[r,n]=(0,re.useState)(!1);return(0,re.useEffect)((()=>{var e,t;"good"===(null===(t=s,(0,c.isNil)(t)||(t/=10),e=function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,je.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,je.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,je.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,je.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,je.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,je.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,je.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,je.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,je.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,je.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,je.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,je.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(d.interpreters.scoreToRating(t)))||void 0===e?void 0:e.className)&&n(!0)}),[s]),{shouldShow:!e&&!t&&r,dismiss:o}},Ft=(0,jt.makeOutboundLink)(),Mt=()=>{const{shouldShow:e,dismiss:t}=Dt(),{locationContext:s}=(0,ne.useRootContext)(),i=(0,a.useSelect)((e=>e(Pt).selectLink("https://yoa.st/trustpilot-review",{context:s})),[s]);return(0,pe.jsxs)(It,{alertKey:At,store:Pt,id:At,title:(0,je.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:t,children:[(0,je.__)("Happy with the plugin?","wordpress-seo")," ",(0,pe.jsx)(Ft,{href:i,rel:"noopener noreferrer",children:(0,je.__)("Leave a quick review","wordpress-seo")}),"."]})};var Ot,qt,Nt,Ut,Wt,Bt,$t,Kt,Ht,zt,Vt,Yt,Gt,Zt,Qt,Xt,Jt,es,ts,ss,is,os,rs,ns,as,ls,cs,ds,ps,us,hs,gs,ms,ys,ws,fs,bs,xs,_s,vs,ks,Ss,Rs,Ts,Es,js,Cs;function Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Is.apply(null,arguments)}const Ls=e=>Pe.createElement("svg",Is({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Ot||(Ot=Pe.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),qt||(qt=Pe.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),Nt||(Nt=Pe.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),Ut||(Ut=Pe.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),Wt||(Wt=Pe.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),Bt||(Bt=Pe.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),$t||($t=Pe.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),Kt||(Kt=Pe.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),Ht||(Ht=Pe.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),zt||(zt=Pe.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),Vt||(Vt=Pe.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),Yt||(Yt=Pe.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Gt||(Gt=Pe.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),Zt||(Zt=Pe.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),Qt||(Qt=Pe.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Xt||(Xt=Pe.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),Jt||(Jt=Pe.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),es||(es=Pe.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),ts||(ts=Pe.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),ss||(ss=Pe.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),is||(is=Pe.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),os||(os=Pe.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),rs||(rs=Pe.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),ns||(ns=Pe.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),as||(as=Pe.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),ls||(ls=Pe.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),cs||(cs=Pe.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),ds||(ds=Pe.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),ps||(ps=Pe.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),us||(us=Pe.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),hs||(hs=Pe.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),gs||(gs=Pe.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),ms||(ms=Pe.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),ys||(ys=Pe.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),ws||(ws=Pe.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),fs||(fs=Pe.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),bs||(bs=Pe.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),xs||(xs=Pe.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),_s||(_s=Pe.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),vs||(vs=Pe.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),ks||(ks=Pe.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Ss||(Ss=Pe.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Rs||(Rs=Pe.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Ts||(Ts=Pe.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),Es||(Es=Pe.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),js||(js=Pe.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Cs||(Cs=Pe.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),As=({store:e="yoast-seo/editor",image:t=Ls,url:s,...i})=>(0,a.useSelect)((t=>t(e).getIsPremium()))?null:(0,pe.jsxs)(Lt,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,je.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:t,url:s,...i,children:[(0,je.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,pe.jsx)("a",{href:s,target:"_blank",rel:"noreferrer",children:(0,je.__)("Sign up today!","wordpress-seo")})]});As.propTypes={store:le().string,image:le().elementType,url:le().string.isRequired};const Ps=As,Ds=(e="yoast-seo/editor")=>{const t=(0,a.select)(e).isPromotionActive("black-friday-promotion"),s=(0,a.select)(e).isAlertDismissed("black-friday-promotion");return!t||s},Fs=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),Ms=(e=null)=>(0,Pe.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]),Os=({title:e="Yoast SEO",className:t="yoast yoast-gutenberg-modal",showYoastIcon:s=!0,children:i=null,additionalClassName:o="",...r})=>{const n=s?(0,pe.jsx)("span",{className:"yoast-icon"}):null;return(0,pe.jsx)(oe.Modal,{title:e,className:`${t} ${o}`,icon:n,...r,children:i})};Os.propTypes={title:le().string,className:le().string,showYoastIcon:le().bool,children:le().oneOfType([le().node,le().arrayOf(le().node)]),additionalClassName:le().string};const qs=Os,Ns=({id:e,postTypeName:t,children:s,title:i,isOpen:o,open:r,close:n,shouldCloseOnClickOutside:a=!0,showChangesWarning:l=!0,SuffixHeroIcon:c=null})=>(0,pe.jsxs)(re.Fragment,{children:[o&&(0,pe.jsx)(ne.LocationProvider,{value:"modal",children:(0,pe.jsxs)(qs,{title:i,onRequestClose:n,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:a,children:[(0,pe.jsx)("div",{className:"yoast-content-container",children:(0,pe.jsx)("div",{className:"yoast-modal-content",children:s})}),(0,pe.jsxs)("div",{className:"yoast-notice-container",children:[(0,pe.jsx)("hr",{}),(0,pe.jsxs)("div",{className:"yoast-button-container",children:[l&&(0,pe.jsx)("p",{children:/* Translators: %s translates to the Post Label in singular form */ (0,je.sprintf)((0,je.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)}),(0,pe.jsx)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:n,children:/* Translators: %s translates to the Post Label in singular form */ (0,je.sprintf)((0,je.__)("Return to your %s","wordpress-seo"),t)})]})]})]})}),(0,pe.jsx)(mt,{id:e+"-open-button",title:i,SuffixHeroIcon:c,suffixIcon:c?null:{size:"20px",icon:"pencil-square"},onClick:r})]});Ns.propTypes={id:le().string.isRequired,postTypeName:le().string.isRequired,children:le().oneOfType([le().node,le().arrayOf(le().node)]).isRequired,title:le().string.isRequired,isOpen:le().bool.isRequired,open:le().func.isRequired,close:le().func.isRequired,shouldCloseOnClickOutside:le().bool,showChangesWarning:le().bool,SuffixHeroIcon:le().element};const Us=Ns,Ws=(0,lt.compose)([(0,a.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:i}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:i(t.id)}})),(0,a.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:i}=e("yoast-seo/editor");return{open:()=>s(t.id),close:i}}))])(Us),Bs=()=>{const e=(0,a.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),t=(0,re.useMemo)((()=>(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,pe.jsx)(ht.InsightsCard,{amount:e,unit:(0,je._n)("minute","minutes",e,"wordpress-seo"),title:(0,je.__)("Reading time","wordpress-seo"),linkTo:t /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about reading time","wordpress-seo")})},$s=(0,jt.makeOutboundLink)();function Ks(e,t){return-1===e?(0,je.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo"):(0,je.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult') */ (0,je.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case d.DIFFICULTY.NO_DATA:return(0,je.__)("no data","wordpress-seo");case d.DIFFICULTY.VERY_EASY:return(0,je.__)("very easy","wordpress-seo");case d.DIFFICULTY.EASY:return(0,je.__)("easy","wordpress-seo");case d.DIFFICULTY.FAIRLY_EASY:return(0,je.__)("fairly easy","wordpress-seo");case d.DIFFICULTY.OKAY:return(0,je.__)("okay","wordpress-seo");case d.DIFFICULTY.FAIRLY_DIFFICULT:return(0,je.__)("fairly difficult","wordpress-seo");case d.DIFFICULTY.DIFFICULT:return(0,je.__)("difficult","wordpress-seo");case d.DIFFICULTY.VERY_DIFFICULT:return(0,je.__)("very difficult","wordpress-seo")}}(t))}const Hs=()=>{let e=(0,a.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const t=(0,re.useMemo)((()=>(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),i=(0,re.useMemo)((()=>{const t=(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return function(e,t,s){const i=function(e){switch(e){case d.DIFFICULTY.FAIRLY_DIFFICULT:case d.DIFFICULTY.DIFFICULT:case d.DIFFICULTY.VERY_DIFFICULT:return(0,je.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case d.DIFFICULTY.NO_DATA:return(0,je.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,je.__)("Good job!","wordpress-seo")}}(t);return(0,pe.jsxs)("span",{children:[Ks(e,t)," ",t>=d.DIFFICULTY.FAIRLY_DIFFICULT?(0,pe.jsx)($s,{href:s,children:i+"."}):i]})}(e,s,t)}),[e,s]);return-1===e&&(e="?"),(0,pe.jsx)(ht.InsightsCard,{amount:e,unit:(0,je.__)("out of 100","wordpress-seo"),title:(0,je.__)("Flesch reading ease","wordpress-seo"),linkTo:t /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})},zs=({data:e=[],itemScreenReaderText:t="",className:s="",...i})=>{const o=(0,re.useMemo)((()=>{var t,s;return null!==(t=null===(s=(0,c.maxBy)(e,"number"))||void 0===s?void 0:s.number)&&void 0!==t?t:0}),[e]);return(0,pe.jsx)("ul",{className:et()("yoast-data-model",s),...i,children:e.map((({name:e,number:s})=>(0,pe.jsxs)("li",{style:{"--yoast-width":s/o*100+"%"},children:[e,(0,pe.jsx)("span",{children:s}),t&&(0,pe.jsx)("span",{className:"screen-reader-text",children:(0,je.sprintf)(t,s)})]},`${e}_dataItem`)))})};zs.propTypes={data:le().arrayOf(le().shape({name:le().string.isRequired,number:le().number.isRequired})),itemScreenReaderText:le().string,className:le().string};const Vs=zs,Ys=(0,jt.makeOutboundLink)(),Gs=({location:e})=>{const t=(0,a.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),i=(0,re.useMemo)((()=>(0,c.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),o=(0,re.useMemo)((()=>{const e=(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Fe((0,je.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,je.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:(0,pe.jsx)(Ys,{href:e})})}),[]),r=(0,re.useMemo)((()=>Fe((0,je.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,je.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,pe.jsx)("b",{})})),[]),n=(0,a.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),l=(0,re.useMemo)((()=>{const e=(0,je.sprintf)( // translators: %1$s expands to Yoast SEO Premium. (0,je.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),d=(0,re.useMemo)((()=>s?l:n.map((({word:e,occurrence:t})=>({name:e,number:t})))),[n,l]);if(!t)return null;const{locationContext:p}=(0,ne.useRootContext)();return(0,pe.jsxs)("div",{className:"yoast-prominent-words",children:[(0,pe.jsx)("div",{className:"yoast-field-group__title",children:(0,pe.jsx)("b",{children:(0,je.__)("Prominent words","wordpress-seo")})}),!s&&(0,pe.jsx)("p",{children:0===d.length?(0,je.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,je.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")}),s&&(0,pe.jsx)("p",{children:r}),s&&(0,pe.jsxs)(Ys,{href:(0,dt.addQueryArgs)(i,{context:p}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell",children:[(0,je.sprintf)( // translators: %s expands to `Premium` (part of add-on name). (0,je.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,pe.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]}),(0,pe.jsx)("p",{children:o}),(0,pe.jsx)(Vs,{data:d,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ (0,je.__)("%d occurrences","wordpress-seo"),"aria-label":(0,je.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null})]})};Gs.propTypes={location:le().string.isRequired};const Zs=Gs,Qs=(0,jt.makeOutboundLink)(),Xs=({location:e})=>{const t=(0,re.useMemo)((()=>(0,c.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,re.useMemo)((()=>Fe((0,je.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,je.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,pe.jsx)("b",{})})),[]);return(0,pe.jsx)(re.Fragment,{children:(0,pe.jsxs)("div",{children:[(0,pe.jsx)("p",{children:s}),(0,pe.jsxs)(Qs,{href:t,className:"yoast-button yoast-button-upsell",children:[(0,je.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). (0,je.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,pe.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]})]})})};Xs.propTypes={location:le().string.isRequired};const Js=Xs,ei=({location:e,name:t})=>{const s=(0,a.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),i=g().isPremium,o=i?(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),r=(0,je.__)("Read more about text formality.","wordpress-seo");return s?(0,pe.jsxs)("div",{className:"yoast-text-formality",children:[(0,pe.jsxs)("div",{className:"yoast-field-group__title",children:[(0,pe.jsx)("b",{children:(0,je.__)("Text formality","wordpress-seo")}),(0,pe.jsx)(ht.HelpIcon,{linkTo:o,linkText:r})]}),i?(0,pe.jsx)(oe.Slot,{name:t}):(0,pe.jsx)(Js,{location:e})]}):null};ei.propTypes={location:le().string.isRequired,name:le().string.isRequired};const ti=ei,si=()=>{const e=(0,a.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),t=(0,re.useMemo)((()=>(0,c.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let s=(0,je._n)("word","words",e.count,"wordpress-seo"),i=(0,je.__)("Word count","wordpress-seo"),o=(0,je.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(s=(0,je._n)("character","characters",e.count,"wordpress-seo"),i=(0,je.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ o=(0,je.__)("Learn more about character count","wordpress-seo")),(0,pe.jsx)(ht.InsightsCard,{amount:e.count,unit:s,title:i,linkTo:t,linkText:o})},ii=de()(Fs)` width: 18px; height: 18px; margin: 3px; `,oi=({location:e="sidebar"})=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),i=Ms();return(0,pe.jsx)(Ws,{title:(0,je.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!t,showChangesWarning:!1,SuffixHeroIcon:(0,pe.jsx)(ii,{className:"yst-text-slate-500",...i}),children:(0,pe.jsxs)("div",{className:"yoast-insights yoast-modal-content--columns",children:[(0,pe.jsx)(Zs,{location:e}),(0,pe.jsxs)("div",{children:[s&&(0,pe.jsx)("div",{className:"yoast-insights-row",children:(0,pe.jsx)(Hs,{})}),(0,pe.jsxs)("div",{className:"yoast-insights-row yoast-insights-row--columns",children:[(0,pe.jsx)(Bs,{}),(0,pe.jsx)(si,{})]}),(0,b.isFeatureEnabled)("TEXT_FORMALITY")&&(0,pe.jsx)(ti,{location:e,name:"YoastTextFormalityMetabox"})]})]})})};oi.propTypes={location:le().string};const ri=oi;function ni(e){return 0===e.message.length?null:(0,pe.jsx)(ht.Alert,{type:e.type,children:e.message})}ni.propTypes={message:le().oneOfType([le().array,le().string]).isRequired,type:le().string.isRequired};const ai=(0,a.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t(),type:"info"}}))(ni),li=({children:e})=>(0,pe.jsx)("div",{children:e});li.propTypes={renderPriority:le().number.isRequired,children:le().node.isRequired};const ci=li,di=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),pi=window.yoast.searchMetadataPreviews,ui=de()(ht.StyledSection)` &${ht.StyledSectionBase} { padding: 0; & ${ht.StyledHeading} { ${(0,jt.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${(0,jt.getDirectionalStyle)("0","20px")}; } } `,hi=({children:e=null,title:t="",icon:s="",hasPaperStyle:i=!0,shoppingData:o=null})=>(0,pe.jsx)(ui,{headingLevel:3,headingText:t,headingIcon:s,headingIconColor:"#555",hasPaperStyle:i,shoppingData:o,children:e});hi.propTypes={children:le().element,title:le().string,icon:le().string,hasPaperStyle:le().bool,shoppingData:le().object};const gi=hi,mi=window.wp.sanitize,{stripHTMLTags:yi}=jt.strings;function wi(e,t=156){return(e=(e=(0,mi.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const fi=(0,c.memoize)(((e,t)=>0===e?c.noop:(0,c.debounce)((s=>t(s,e)),500))),bi=({link:e,text:t})=>(0,pe.jsxs)(Ae.Root,{children:[(0,pe.jsx)("p",{children:t}),(0,pe.jsxs)(Ae.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener",children:[(0,pe.jsx)(Me,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,je.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,je.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")]})]});bi.propTypes={link:le().string.isRequired,text:le().string.isRequired};const xi=bi,_i=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,c.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,c.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,c.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],c.identity);return{url:e.url,title:yi(t(e.title)),description:yi(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?yi(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:yi(s("data_page_title",e.title)),description:yi(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?yi(s("data_page_title",e.filteredSEOTitle)):""}}(e)},vi=(0,lt.compose)([(0,a.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:i,getRecommendedReplaceVars:o,getReplaceVars:r,getShoppingData:n,getSiteIconUrlFromSettings:a,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:h,getContentLocale:g,getSiteName:m}=e("yoast-seo/editor"),y=r();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:a(),keyword:i(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:o(),replacementVariables:y,shoppingData:n(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:h(),locale:g(),siteName:m()}})),(0,a.withDispatch)((function(e,t,{select:s}){const{updateData:i,switchMode:o,updateAnalysisData:r,findCustomFields:n}=e("yoast-seo/editor"),a=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":o(t);break;case"slug":i({slug:t}),a&&a.editPost({slug:t});break;default:i({[e]:t})}},onChangeAnalysisData:r,onReplacementVariableSearchChange:fi(l,n)}}))])((e=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/product-google-preview-metabox")),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").getIsWooSeoUpsell()),[]),i=(0,je.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,pe.jsx)(ne.LocationConsumer,{children:o=>(0,pe.jsx)(gi,{icon:"eye",hasPaperStyle:e.hasPaperStyle,children:(0,pe.jsxs)(pe.Fragment,{children:[s&&(0,pe.jsx)(xi,{link:t,text:i}),(0,pe.jsx)(pi.SnippetEditor,{...e,descriptionPlaceholder:(0,je.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:_i,showCloseButton:!1,idSuffix:o})]})})})})),{stripHTMLTags:ki}=jt.strings,Si=(e,t)=>{const s=(0,a.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=s.title),""===e.description&&(e.description=s.description);let i=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(i=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[i]&&(e.url=e.url.slice(0,i)+e.url.slice(i+1)),{url:e.url,title:ki(E("data_page_title",e.title)),description:ki(E("data_meta_desc",e.description)),filteredSEOTitle:ki(E("data_page_title",e.filteredSEOTitle))}},Ri=({isLoading:e,onLoad:t,location:s,...i})=>((0,re.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,pe.jsx)(gi,{icon:"eye",hasPaperStyle:i.hasPaperStyle,children:(0,pe.jsx)(pi.SnippetEditor,{...i,descriptionPlaceholder:(0,je.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Si,showCloseButton:!1,idSuffix:s})}));Ri.propTypes={isLoading:le().bool.isRequired,onLoad:le().func.isRequired,hasPaperStyle:le().bool.isRequired,location:le().string.isRequired};const Ti=(0,lt.compose)([(0,a.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:s,getEditorDataImageUrl:i,getFocusKeyphrase:o,getRecommendedReplaceVars:r,getSiteIconUrlFromSettings:n,getSnippetEditorData:a,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:h,getReplaceVars:g}=e("yoast-seo/editor");return{baseUrl:t(),data:a(),date:s(),faviconSrc:n(),isLoading:l(),keyword:o(),mobileImageSrc:i(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:g(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:h()}})),(0,a.withDispatch)((e=>{const{updateData:t,switchMode:s,updateAnalysisData:i,loadSnippetEditorData:o}=e("yoast-seo/editor");return{onChange:(e,i)=>{switch(e){case"mode":s(i);break;case"slug":t({slug:i});break;default:t({[e]:i})}},onChangeAnalysisData:i,onLoad:o}})),St()])(Ri),Ei=de()(di)` width: 18px; height: 18px; margin: 3px; `,ji=()=>{const e=Ms(),t=(0,a.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,pe.jsxs)(Ws,{title:(0,je.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,pe.jsx)(Ei,{className:"yst-text-slate-500",...e}),children:[!0===t&&(0,pe.jsx)(Ti,{showCloseButton:!1,hasPaperStyle:!1}),!1===t&&(0,pe.jsx)(vi,{showCloseButton:!1,hasPaperStyle:!1})]})},Ci=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),Ii=de().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,Li=e=>{const{siteUrl:t}=e;return(0,pe.jsxs)(Pe.Fragment,{children:[(0,pe.jsx)("span",{className:"screen-reader-text",children:t}),(0,pe.jsx)(Ii,{"aria-hidden":"true",children:(0,pe.jsx)("span",{children:t})})]})};Li.propTypes={siteUrl:le().string.isRequired};const Ai=Li,Pi=window.yoast.socialMetadataForms,Di=window.yoast.styleGuide,Fi=de().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,Mi=de().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,Oi=de().div` padding-bottom: ${e=>e.aspectRatio}%; `,qi=({imageProps:e,width:t,height:s,imageMode:i="landscape"})=>"landscape"===i?(0,pe.jsx)(Oi,{aspectRatio:e.aspectRatio,children:(0,pe.jsx)(Mi,{src:e.src,alt:e.alt})}):(0,pe.jsx)(Fi,{src:e.src,alt:e.alt,width:t,height:s,imageProperties:e});function Ni(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function Ui(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function Wi(e,t,s=!1){const i=await function(e){return new Promise(((t,s)=>{const i=new Image;i.onload=()=>{t({width:i.width,height:i.height})},i.onerror=s,i.src=e}))}(e);let o=s?"landscape":"square";"Facebook"===t&&(o=(0,Pi.determineFacebookImageMode)(i));const r=function(e){return"Twitter"===e?Pi.TWITTER_IMAGE_SIZES:Pi.FACEBOOK_IMAGE_SIZES}(t),n=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:Ui(t,Ni(e,t,s))}(r,i,o);return{mode:o,height:n.height,width:n.width}}async function Bi(e,t,s=!1){try{return{imageProperties:await Wi(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}qi.propTypes={imageProps:le().shape({src:le().string.isRequired,alt:le().string.isRequired,aspectRatio:le().number.isRequired}).isRequired,width:le().number.isRequired,height:le().number.isRequired,imageMode:le().string};const $i=de().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${Di.colors.$color_white}; `,Ki=de().div` box-sizing: border-box; max-width: ${Pi.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${Pi.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${Di.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class Hi extends Pe.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await Bi(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:Pi.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:Pi.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:Pi.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:Pi.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:Pi.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:Pi.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,pe.jsx)(Ki,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,je.__)("Select image","wordpress-seo")});const s=this.retrieveContainerDimensions(e.mode);return(0,pe.jsx)($i,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,pe.jsx)(qi,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Pi.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}Hi.propTypes={src:le().string,alt:le().string,onImageLoaded:le().func,onImageClick:le().func,onMouseEnter:le().func,onMouseLeave:le().func},Hi.defaultProps={src:"",alt:"",onImageLoaded:c.noop,onImageClick:c.noop,onMouseEnter:c.noop,onMouseLeave:c.noop};const zi=Hi,Vi=de().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,Yi=de().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,Gi=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},Zi=de().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,Qi=de().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class Xi extends Pe.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=De().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,i=this.getTitleLineCount();let o=t-i;"portrait"===s&&(o=5===i?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,pe.jsxs)(Zi,{id:"facebookPreview",mode:e,children:[(0,pe.jsx)(zi,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,pe.jsxs)(Qi,{mode:e,children:[(0,pe.jsx)(Ai,{siteUrl:this.props.siteUrl,mode:e}),(0,pe.jsx)(Vi,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t,children:this.props.title}),s>0&&(0,pe.jsx)(Yi,{maxWidth:Gi(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s,children:this.props.description})]})]})}}Xi.propTypes={siteUrl:le().string.isRequired,title:le().string.isRequired,description:le().string,imageUrl:le().string,imageFallbackUrl:le().string,alt:le().string,onSelect:le().func,onImageClick:le().func,onMouseHover:le().func},Xi.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const Ji=Xi,eo=de().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,to=e=>(0,pe.jsx)(eo,{children:(0,pe.jsx)("span",{children:e.siteUrl})});to.propTypes={siteUrl:le().string.isRequired};const so=to,io=(e,t=!0)=>e?`\n\t\t\tmax-width: ${Pi.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${Pi.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,oo=de().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>io(e.isLarge)} `,ro=de().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>io(e.isLarge,!1)} `,no=de()(ro)` ${e=>e.isLarge&&`height: ${Pi.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class ao extends De().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await Bi(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,pe.jsx)(no,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,je.__)("Select image","wordpress-seo")}):(0,pe.jsx)(oo,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,pe.jsx)(qi,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Pi.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode})})}}ao.propTypes={isLarge:le().bool.isRequired,src:le().string,alt:le().string,onImageClick:le().func,onMouseEnter:le().func,onMouseLeave:le().func},ao.defaultProps={src:"",alt:"",onMouseEnter:c.noop,onImageClick:c.noop,onMouseLeave:c.noop};const lo=de().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,co=e=>(0,pe.jsx)(lo,{children:e.children});co.propTypes={children:le().array.isRequired};const po=co,uo=de().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,ho=de().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${Pi.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,go=de().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,mo=de()(go)` flex-direction: column; max-height: 370px; `,yo=de()(go)` flex-direction: row; height: 125px; `;class wo extends Pe.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:i,title:o,description:r,siteUrl:n}=this.props,a=e?mo:yo;return(0,pe.jsxs)(a,{id:"twitterPreview",children:[(0,pe.jsx)(ao,{src:t||s,alt:i,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,pe.jsxs)(po,{children:[(0,pe.jsx)(so,{siteUrl:n}),(0,pe.jsx)(uo,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:o}),(0,pe.jsx)(ho,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:r})]})]})}}wo.propTypes={siteUrl:le().string.isRequired,title:le().string.isRequired,description:le().string,isLarge:le().bool,imageUrl:le().string,imageFallbackUrl:le().string,alt:le().string,onSelect:le().func,onImageClick:le().func,onMouseHover:le().func},wo.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const fo=wo,bo=window.yoast.replacementVariableEditor;class xo extends Pe.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?Ji:fo,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:i,socialMediumName:o,imageWarnings:r,siteUrl:n,description:a,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:p,alt:u,title:h,titleInputPlaceholder:g,titlePreviewFallback:m,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:f,onReplacementVariableSearchChange:b,isPremium:x,isLarge:_,socialPreviewLabel:v,idSuffix:k,activeMetaTabId:S}=this.props,R=f({title:h||m,description:a||c});return(0,pe.jsxs)(De().Fragment,{children:[v&&(0,pe.jsx)(ht.SimulatedLabel,{children:v}),(0,pe.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:n,title:R.title,description:R.description,imageUrl:d,imageFallbackUrl:p,alt:u,isLarge:_,activeMetaTabId:S}),(0,pe.jsx)(Pi.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:h,titleInputPlaceholder:g,onRemoveImageClick:i,imageSelected:!!d,imageUrl:d,imageFallbackUrl:p,onTitleChange:t,onSelectImageClick:s,description:a,descriptionInputPlaceholder:l,imageWarnings:r,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:x,setEditorRef:this.setEditorRef,idSuffix:k})]})}}xo.propTypes={title:le().string.isRequired,onTitleChange:le().func.isRequired,description:le().string.isRequired,onDescriptionChange:le().func.isRequired,imageUrl:le().string.isRequired,imageFallbackUrl:le().string.isRequired,onSelectImageClick:le().func.isRequired,onRemoveImageClick:le().func.isRequired,socialMediumName:le().string.isRequired,alt:le().string,isPremium:le().bool,imageWarnings:le().array,isLarge:le().bool,siteUrl:le().string,descriptionInputPlaceholder:le().string,titleInputPlaceholder:le().string,descriptionPreviewFallback:le().string,titlePreviewFallback:le().string,replacementVariables:bo.replacementVariablesShape,recommendedReplacementVariables:bo.recommendedReplacementVariablesShape,applyReplacementVariables:le().func,onReplacementVariableSearchChange:le().func,socialPreviewLabel:le().string,idSuffix:le().string,activeMetaTabId:le().string},xo.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const _o={},vo=(e,t,{log:s=console.warn}={})=>{_o[e]||(_o[e]=!0,s(t))},ko=(e,t=c.noop)=>{const s={};for(const i in e)Object.hasOwn(e,i)&&Object.defineProperty(s,i,{set:s=>{e[i]=s,t("set",i,s)},get:()=>(t("get",i),e[i])});return s};ko({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>vo(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),ko({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>vo(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const So=de().div` max-width: calc(527px + 1.5rem); `,Ro=e=>{const t="X"===e.socialMediumName?(0,je.__)("X share preview","wordpress-seo"):(0,je.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,Ae.useRootContext)();return(0,pe.jsx)(Ae.Root,{children:(0,pe.jsx)(So,{children:(0,pe.jsx)(Ae.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,dt.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,je.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,je.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:(0,pe.jsxs)("div",{className:"yst-grayscale yst-opacity-50",children:[(0,pe.jsx)(Ae.Label,{children:t}),(0,pe.jsx)(Ji,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:c.noop,onImageClick:c.noop,onMouseHover:c.noop})]})})})})};Ro.propTypes={socialMediumName:le().oneOf(["Social","Twitter","X"]).isRequired};const To=Ro;class Eo extends re.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:i,socialMediumName:o,imageWarnings:r,description:n,descriptionInputPlaceholder:a,imageUrl:l,imageFallbackUrl:c,alt:d,title:p,titleInputPlaceholder:u,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:m,isPremium:y,location:w}=this.props;return(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(To,{socialMediumName:o}),(0,pe.jsx)(Pi.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:p,titleInputPlaceholder:u,onRemoveImageClick:i,imageSelected:!!l,imageUrl:l,imageFallbackUrl:c,imageAltText:d,onTitleChange:t,onSelectImageClick:s,description:n,descriptionInputPlaceholder:a,imageWarnings:r,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:w})]})}}Eo.propTypes={title:le().string.isRequired,onTitleChange:le().func.isRequired,description:le().string.isRequired,onDescriptionChange:le().func.isRequired,imageUrl:le().string.isRequired,imageFallbackUrl:le().string,onSelectImageClick:le().func.isRequired,onRemoveImageClick:le().func.isRequired,socialMediumName:le().string.isRequired,isPremium:le().bool,imageWarnings:le().array,descriptionInputPlaceholder:le().string,titleInputPlaceholder:le().string,replacementVariables:bo.replacementVariablesShape,recommendedReplacementVariables:bo.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:le().func,location:le().string,alt:le().string},Eo.defaultProps={imageWarnings:[],imageFallbackUrl:"",recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const jo=Eo,Co=(e,t,s)=>{const[i,o]=(0,re.useState)(!1),r=(0,je.sprintf)( /* Translators: %1$s expands to the jpg format, %2$s expands to the png format, %3$s expands to the webp format, %4$s expands to the gif format. */ (0,je.__)("No image was found that we can automatically set as your social image. Please use %1$s, %2$s, %3$s or %4$s formats to ensure it displays correctly on social media.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return(0,re.useEffect)((()=>{o(""===t&&e.toLowerCase().endsWith(".avif"))}),[e,t]),i?[r]:s},Io=({isPremium:e,onLoad:t,location:s,imageFallbackUrl:i="",imageUrl:o="",imageWarnings:r=[],...n})=>{const[a,l]=(0,re.useState)(""),c=Co(i,o,r),d=(0,re.useCallback)((e=>{l(e.detail.metaTabId)}),[l]);(0,re.useEffect)((()=>(setTimeout(t),window.addEventListener("YoastSEO:metaTabChange",d),()=>{window.removeEventListener("YoastSEO:metaTabChange",d)})),[]);const p={isPremium:e,onLoad:t,location:s,imageFallbackUrl:i,imageUrl:o,imageWarnings:c,activeMetaTabId:a,...n};return e?(0,pe.jsx)(oe.Slot,{name:`YoastFacebookPremium${s.charAt(0).toUpperCase()+s.slice(1)}`,fillProps:p}):(0,pe.jsx)(jo,{...p})};Io.propTypes={isPremium:le().bool.isRequired,onLoad:le().func.isRequired,location:le().string.isRequired,imageFallbackUrl:le().string,imageUrl:le().string,imageWarnings:le().array};const Lo=Io;function Ao(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var i;e({type:(i=s.attributes).subtype,width:i.width,height:i.height,url:i.url,id:i.id,sizes:i.sizes,alt:i.alt||i.title||i.name})})),t})(e).open()}const Po=()=>{Ao((e=>(0,a.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,i=(0,Pi.determineFacebookImageMode)({width:t,height:s}),o=Pi.FACEBOOK_IMAGE_SIZES[i+"Width"],r=Pi.FACEBOOK_IMAGE_SIZES[i+"Height"],n=Object.values(e.sizes).find((e=>e.width>=o&&e.height>=r));return{url:n?n.url:e.url,id:e.id,warnings:(0,jt.validateFacebookImage)(e),alt:e.alt||""}})(e))))},Do=(0,lt.compose)([(0,a.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:i,getSeoTitle:o,getFacebookImageUrl:r,getImageFallback:n,getFacebookWarnings:a,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:h,getSeoDescriptionTemplate:m,getSocialDescriptionTemplate:y,getReplacedExcerpt:w,getFacebookAltText:f}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:n(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:y()||s()||m()||w()||"",title:i(),titlePreviewFallback:h()||o()||u()||p()||"",imageWarnings:a(),siteUrl:d(),isPremium:!!g().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:f()}})),(0,a.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:i,setFacebookPreviewDescription:o,clearFacebookPreviewImage:r,loadFacebookPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:Po,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:fi(l,a)}})),St()])(Lo),Fo=({isPremium:e,onLoad:t,location:s,imageFallbackUrl:i="",imageUrl:o="",imageWarnings:r=[],...n})=>{const a=Co(i,o,r);(0,re.useEffect)((()=>{setTimeout(t)}),[]);const l={isPremium:e,onLoad:t,location:s,imageFallbackUrl:i,imageUrl:o,imageWarnings:a,...n};return e?(0,pe.jsx)(oe.Slot,{name:`YoastTwitterPremium${s.charAt(0).toUpperCase()+s.slice(1)}`,fillProps:l}):(0,pe.jsx)(jo,{...l})};Fo.propTypes={isPremium:le().bool.isRequired,onLoad:le().func.isRequired,location:le().string.isRequired,imageFallbackUrl:le().string,imageUrl:le().string,imageWarnings:le().array};const Mo=Fo,Oo=()=>{Ao((e=>(0,a.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,c.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=Pi.TWITTER_IMAGE_SIZES[t+"Width"],i=Pi.TWITTER_IMAGE_SIZES[t+"Height"],o=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=i));return{url:o?o.url:e.url,id:e.id,warnings:(0,jt.validateTwitterImage)(e),alt:e.alt||""}})(e))))},qo=(0,lt.compose)([(0,a.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:i,getFacebookImageUrl:o,getFacebookTitle:r,getFacebookDescription:n,getDescription:a,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:h,getSiteUrl:m,getSeoTitleTemplate:y,getSeoTitleTemplateNoFallback:w,getSocialTitleTemplate:f,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:x,getReplacedExcerpt:_,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:i(),imageFallbackUrl:o()||p(),recommendedReplacementVariables:u(),replacementVariables:h(),description:t(),descriptionPreviewFallback:x()||n()||a()||b()||_()||"",title:s(),titlePreviewFallback:f()||r()||l()||w()||y()||"",imageWarnings:c(),siteUrl:m(),isPremium:!!g().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,a.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:i,setTwitterPreviewDescription:o,clearTwitterPreviewImage:r,loadTwitterPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:Oo,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:fi(l,a)}})),St()])(Mo),No=de()(ht.Collapsible)` h2 > button { padding-left: 0; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,Uo=e=>(0,pe.jsx)(No,{hasPadding:!1,hasSeparator:!0,...e}),Wo=de().legend` margin: 16px 0; padding: 0; color: ${Di.colors.$color_headings}; font-size: 12px; font-weight: 300; `,Bo=de().legend` margin: 0 0 16px; padding: 0; color: ${Di.colors.$color_headings}; font-size: 12px; font-weight: 300; `,$o=de()(Ci)` width: 18px; height: 18px; margin: 3px; `,Ko=e=>{const{useOpenGraphData:t,useTwitterData:s}=e;if(!t&&!s)return;const i=Ms();return(0,pe.jsxs)(Ws /* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,je.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,pe.jsx)($o,{className:"yst-text-slate-500",...i}),children:[t&&(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(Bo,{children:(0,je.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,pe.jsx)(Do,{}),s&&(0,pe.jsx)(Wo,{children:(0,je.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo")})]}),t&&s&&(0,pe.jsx)(Uo,{title:(0,je.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1,children:(0,pe.jsx)(qo,{})}),!t&&s&&(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(Bo,{children:(0,je.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")}),(0,pe.jsx)(qo,{})]})]})};Ko.propTypes={useOpenGraphData:le().bool.isRequired,useTwitterData:le().bool.isRequired};const Ho=Ko,zo=({title:e,children:t,prefixIcon:s=null,subTitle:i="",hasBetaBadgeLabel:o=!1,hasNewBadgeLabel:r=!1,buttonId:n=null,renderNewBadgeLabel:a=(()=>{})})=>{const[l,c]=(0,re.useState)(!1),d=(0,re.useCallback)((()=>{c((e=>!e))}),[c]);return(0,pe.jsxs)("div",{className:"yoast components-panel__body "+(l?"is-opened":""),children:[(0,pe.jsx)("h2",{className:"components-panel__body-title",children:(0,pe.jsxs)("button",{onClick:d,className:"components-button components-panel__body-toggle",type:"button",id:n,children:[(0,pe.jsx)("span",{className:"yoast-icon-span",style:{fill:`${s&&s.color||""}`},children:s&&(0,pe.jsx)(ht.SvgIcon,{icon:s.icon,color:s.color,size:s.size})}),!r&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsxs)("span",{className:"yoast-title-container",children:[(0,pe.jsx)("div",{className:"yoast-title",children:e}),i&&(0,pe.jsx)("div",{className:"yoast-subtitle",children:i})]}),o&&(0,pe.jsx)(ht.BetaBadge,{})]}),r&&(0,pe.jsxs)("div",{className:"yst-flex-grow yst-flex yst-items-center yst-gap-2",children:[(0,pe.jsxs)("span",{className:"yst-overflow-x-hidden yst-leading-normal",children:[(0,pe.jsx)("div",{className:"yoast-title",children:e}),i&&(0,pe.jsx)("div",{className:"yoast-subtitle",children:i})]}),a()]}),(0,pe.jsx)("span",{className:"yoast-chevron","aria-hidden":"true"})]})}),l&&t]})},Vo=zo;zo.propTypes={title:le().string.isRequired,children:le().oneOfType([le().node,le().arrayOf(le().node)]).isRequired,prefixIcon:le().object,subTitle:le().string,hasBetaBadgeLabel:le().bool,hasNewBadgeLabel:le().bool,buttonId:le().string,renderNewBadgeLabel:le().func};const Yo=(0,jt.makeOutboundLink)(),Go=de().div` padding: 16px; `,Zo="yoast-seo/editor";function Qo({location:e,show:t}){return t?(0,pe.jsxs)(ht.Alert,{type:"info",children:[(0,je.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ (0,je.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,pe.jsx)(Yo,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`],children:(0,je.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ (0,je.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO")})]}):null}Qo.propTypes={show:le().bool.isRequired,location:le().string.isRequired};const Xo=(e,t,s)=>{const i=(0,a.useSelect)((e=>e(Zo).getIsProduct()),[]),o=(0,a.useSelect)((e=>e(Zo).getIsWooSeoActive()),[]),r=i&&o?{name:(0,je.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,je.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ (0,je.__)("Default for %1$s (%2$s)","wordpress-seo"),s,r?r.name:""),value:""},...e]},Jo=(e,t)=>Fe((e=>(0,je.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ (0,je.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"<link>","</link>"))(e),{link:(0,pe.jsx)("a",{href:t,target:"_blank",rel:"noreferrer"})}),er=({helpTextTitle:e,helpTextLink:t,helpTextDescription:s})=>(0,pe.jsx)(ht.FieldGroup,{label:e,linkTo:t /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:s});er.propTypes={helpTextTitle:le().string.isRequired,helpTextLink:le().string.isRequired,helpTextDescription:le().string.isRequired};const tr=({schemaPageTypeChange:e=c.noop,schemaPageTypeSelected:t=null,pageTypeOptions:s,schemaArticleTypeChange:i=c.noop,schemaArticleTypeSelected:o=null,articleTypeOptions:r,showArticleTypeInput:n,additionalHelpTextLink:l,helpTextLink:d,helpTextTitle:p,helpTextDescription:u,postTypeName:h,displayFooter:g=!1,defaultPageType:m,defaultArticleType:y,location:w,isNewsEnabled:f=!1})=>{const b=Xo(s,m,h),x=Xo(r,y,h),_=(0,a.useSelect)((e=>e(Zo).selectLink("https://yoa.st/product-schema-metabox")),[]),v=(0,a.useSelect)((e=>e(Zo).getIsWooSeoUpsell()),[]),[k,S]=(0,re.useState)(o),R=(0,je.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),T=(0,a.useSelect)((e=>e(Zo).getIsProduct()),[]),E=(0,a.useSelect)((e=>e(Zo).getIsWooSeoActive()),[]),j=(0,a.useSelect)((e=>e(Zo).selectAdminLink("?page=wpseo_page_settings")),[]),C=T&&E,I=(0,re.useCallback)(((e,t)=>{S(t)}),[]);return(0,re.useEffect)((()=>{I(null,o)}),[o]),(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(er,{helpTextLink:d,helpTextTitle:p,helpTextDescription:u}),(0,pe.jsx)(ht.FieldGroup,{label:(0,je.__)("What type of page or content is this?","wordpress-seo"),linkTo:l /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about page or content types","wordpress-seo")}),v&&(0,pe.jsx)(xi,{link:_,text:R}),(0,pe.jsx)(ht.Select,{id:(0,jt.join)(["yoast-schema-page-type",w]),options:b,label:(0,je.__)("Page type","wordpress-seo"),onChange:e,selected:C?"ItemPage":t,disabled:C}),n&&(0,pe.jsx)(ht.Select,{id:(0,jt.join)(["yoast-schema-article-type",w]),options:x,label:(0,je.__)("Article type","wordpress-seo"),onChange:i,selected:o,onOptionFocus:I}),(0,pe.jsx)(Qo,{location:w,show:!f&&(L=k,A=y,"NewsArticle"===L||""===L&&"NewsArticle"===A)}),g&&!C&&(0,pe.jsx)("p",{children:Jo(h,j)}),C&&(0,pe.jsx)("p",{children:(0,je.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,je.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")})]});var L,A},sr=le().arrayOf(le().shape({name:le().string,value:le().string}));tr.propTypes={schemaPageTypeChange:le().func,schemaPageTypeSelected:le().string,pageTypeOptions:sr.isRequired,schemaArticleTypeChange:le().func,schemaArticleTypeSelected:le().string,articleTypeOptions:sr.isRequired,showArticleTypeInput:le().bool.isRequired,additionalHelpTextLink:le().string.isRequired,helpTextLink:le().string.isRequired,helpTextTitle:le().string.isRequired,helpTextDescription:le().string.isRequired,postTypeName:le().string.isRequired,displayFooter:le().bool,defaultPageType:le().string.isRequired,defaultArticleType:le().string.isRequired,location:le().string.isRequired,isNewsEnabled:le().bool};const ir=({isMetabox:e,showArticleTypeInput:t=!1,articleTypeLabel:s="",additionalHelpTextLink:i="",pageTypeLabel:o,helpTextLink:r,helpTextTitle:n,helpTextDescription:a,postTypeName:l,displayFooter:c=!1,loadSchemaArticleData:d,loadSchemaPageData:p,location:u,...h})=>{const g=(0,pe.jsx)(tr,{showArticleTypeInput:t,articleTypeLabel:s,additionalHelpTextLink:i,pageTypeLabel:o,helpTextLink:r,helpTextTitle:n,helpTextDescription:a,postTypeName:l,displayFooter:c,loadSchemaArticleData:d,loadSchemaPageData:p,location:u,...h});return e?(0,re.createPortal)((0,pe.jsx)(Go,{children:g}),document.getElementById("wpseo-meta-section-schema")):g};ir.propTypes={isMetabox:le().bool.isRequired,showArticleTypeInput:le().bool,articleTypeLabel:le().string,additionalHelpTextLink:le().string,pageTypeLabel:le().string.isRequired,helpTextLink:le().string.isRequired,helpTextTitle:le().string.isRequired,helpTextDescription:le().string.isRequired,postTypeName:le().string.isRequired,displayFooter:le().bool,loadSchemaArticleData:le().func.isRequired,loadSchemaPageData:le().func.isRequired,location:le().string.isRequired};const or=ir;class rr{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return rr.articleTypeInput.getAttribute("data-default")}static get articleType(){return rr.articleTypeInput.value}static set articleType(e){rr.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return rr.pageTypeInput.getAttribute("data-default")}static get pageType(){return rr.pageTypeInput.value}static set pageType(e){rr.pageTypeInput.value=e}}const nr=e=>{const t=null!==rr.articleTypeInput;(0,re.useEffect)((()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:i}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:(0,je.__)("Article type","wordpress-seo"),pageTypeLabel:(0,je.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,je.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,je.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:s,articleTypeOptions:i},r={...e,...o,...(n=e.location,"metabox"===n?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var n;return(0,pe.jsx)(or,{...r})};nr.propTypes={displayFooter:le().bool.isRequired,schemaPageTypeSelected:le().string.isRequired,schemaArticleTypeSelected:le().string.isRequired,defaultArticleType:le().string.isRequired,defaultPageType:le().string.isRequired,loadSchemaPageData:le().func.isRequired,loadSchemaArticleData:le().func.isRequired,schemaPageTypeChange:le().func.isRequired,schemaArticleTypeChange:le().func.isRequired,location:le().string.isRequired};const ar=(0,lt.compose)([(0,a.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:i,getArticleType:o,getDefaultArticleType:r}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:n,isNewsEnabled:a}=t();return{displayFooter:n,isNewsEnabled:a,schemaPageTypeSelected:s(),schemaArticleTypeSelected:o(),defaultArticleType:r(),defaultPageType:i()}})),(0,a.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:i,getSchemaArticleData:o}=e("yoast-seo/editor");return{loadSchemaPageData:i,loadSchemaArticleData:o,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),St()])(nr),lr=({noIndex:e,onNoIndexChange:t,editorContext:s,isPrivateBlog:i=!1})=>{const o=(e=>{const t=(0,je.__)("No","wordpress-seo"),s=(0,je.__)("Yes","wordpress-seo"),i=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,je.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,je.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,je.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,je.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(s);return(0,pe.jsx)(ne.LocationConsumer,{children:s=>(0,pe.jsxs)(re.Fragment,{children:[i&&(0,pe.jsx)(ht.Alert,{type:"warning",children:(0,je.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")}),(0,pe.jsx)(ht.Select,{label:(0,je.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:t,id:(0,jt.join)(["yoast-meta-robots-noindex",s]),options:o,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})]})})};lr.propTypes={noIndex:le().string.isRequired,onNoIndexChange:le().func.isRequired,editorContext:le().object.isRequired,isPrivateBlog:le().bool};const cr=({noFollow:e,onNoFollowChange:t})=>(0,pe.jsx)(ne.LocationConsumer,{children:s=>{const i=(0,jt.join)(["yoast-meta-robots-nofollow",s]);return(0,pe.jsx)(ht.RadioButtonGroup,{id:i,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,je.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:i,onChange:t,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}});cr.propTypes={noFollow:le().string.isRequired,onNoFollowChange:le().func.isRequired};const dr=({advanced:e,onAdvancedChange:t})=>(0,pe.jsx)(ne.LocationConsumer,{children:s=>{const i=(0,jt.join)(["yoast-meta-robots-advanced",s]),o=`${i}-input`;return(0,pe.jsx)(ht.MultiSelect,{label:(0,je.__)("Meta robots advanced","wordpress-seo"),onChange:t,id:i,inputId:o,options:[{name:(0,je.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,je.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,je.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}});dr.propTypes={advanced:le().array.isRequired,onAdvancedChange:le().func.isRequired};const pr=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:t})=>(0,pe.jsx)(ne.LocationConsumer,{children:s=>(0,pe.jsx)(ht.TextInput,{label:(0,je.__)("Breadcrumbs Title","wordpress-seo"),id:(0,jt.join)(["yoast-breadcrumbs-title",s]),onChange:t,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})});pr.propTypes={breadcrumbsTitle:le().string.isRequired,onBreadcrumbsTitleChange:le().func.isRequired};const ur=({canonical:e,onCanonicalChange:t})=>(0,pe.jsx)(ne.LocationConsumer,{children:s=>(0,pe.jsx)(ht.TextInput,{label:(0,je.__)("Canonical URL","wordpress-seo"),id:(0,jt.join)(["yoast-canonical",s]),onChange:t,value:e,linkTo:"https://yoa.st/canonical-url" /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})});ur.propTypes={canonical:le().string.isRequired,onCanonicalChange:le().func.isRequired};const hr=({noIndex:e,canonical:t,onNoIndexChange:s,onCanonicalChange:i,onLoad:o,isLoading:r,editorContext:n,isBreadcrumbsDisabled:a,advanced:l=[],onAdvancedChange:d=c.noop,noFollow:p="",onNoFollowChange:u=c.noop,breadcrumbsTitle:h="",onBreadcrumbsTitleChange:g=c.noop,isPrivateBlog:m=!1})=>{(0,re.useEffect)((()=>{setTimeout((()=>{r&&o()}))}));const y={noIndex:e,onNoIndexChange:s,editorContext:n,isPrivateBlog:m},w={noFollow:p,onNoFollowChange:u},f={advanced:l,onAdvancedChange:d},b={breadcrumbsTitle:h,onBreadcrumbsTitleChange:g},x={canonical:t,onCanonicalChange:i};return r?null:(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(lr,{...y}),n.isPost&&(0,pe.jsx)(cr,{...w}),n.isPost&&(0,pe.jsx)(dr,{...f}),!a&&(0,pe.jsx)(pr,{...b}),(0,pe.jsx)(ur,{...x})]})};hr.propTypes={noIndex:le().string.isRequired,canonical:le().string.isRequired,onNoIndexChange:le().func.isRequired,onCanonicalChange:le().func.isRequired,onLoad:le().func.isRequired,isLoading:le().bool.isRequired,editorContext:le().object.isRequired,isBreadcrumbsDisabled:le().bool.isRequired,isPrivateBlog:le().bool,advanced:le().array,onAdvancedChange:le().func,noFollow:le().string,onNoFollowChange:le().func,breadcrumbsTitle:le().string,onBreadcrumbsTitleChange:le().func};const gr=hr,mr=(0,lt.compose)([(0,a.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:i,getBreadcrumbsTitle:o,getCanonical:r,getIsLoading:n,getEditorContext:a,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:c,isPrivateBlog:d}=l();return{noIndex:t(),noFollow:s(),advanced:i(),breadcrumbsTitle:o(),canonical:r(),isLoading:n(),editorContext:a(),isBreadcrumbsDisabled:c,isPrivateBlog:d}})),(0,a.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:i,setBreadcrumbsTitle:o,setCanonical:r,loadAdvancedSettingsData:n}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:i,onBreadcrumbsTitleChange:o,onCanonicalChange:r,onLoad:n}}))])(gr),yr=window.yoast.relatedKeyphraseSuggestions;function wr({requestLimitReached:e,isSuccess:t,response:s,requestHasData:i,relatedKeyphrases:o}){return e?"requestLimitReached":!t&&function(e){return"invalid_json"===(null==e?void 0:e.code)||"fetch_error"===(null==e?void 0:e.code)||!(0,c.isEmpty)(e)&&"error"in e}(s)?"requestFailed":i?function(e){return e&&e.length>=4}(o)?"maxRelatedKeyphrases":null:"requestEmpty"}function fr({keyphrase:e="",relatedKeyphrases:t=[],renderAction:s=null,requestLimitReached:i=!1,countryCode:o,setCountry:r,newRequest:n,response:a={},isRtl:l=!1,userLocale:c="en_US",isPending:d=!1,isSuccess:p=!1,requestHasData:u=!0,isPremium:h=!1,semrushUpsellLink:g="",premiumUpsellLink:m=""}){var y,w;const[f,b]=(0,re.useState)(o),x=(0,re.useCallback)((async()=>{n(o,e),b(o)}),[o,e,n]);return(0,pe.jsxs)(Ae.Root,{context:{isRtl:l},children:[!i&&!h&&(0,pe.jsx)(yr.PremiumUpsell,{url:m,className:"yst-mb-4"}),!i&&(0,pe.jsx)(yr.CountrySelector,{countryCode:o,activeCountryCode:f,onChange:r,onClick:x,className:"yst-mb-4",userLocale:c.split("_")[0]}),!d&&(0,pe.jsx)(yr.UserMessage,{variant:wr({requestLimitReached:i,isSuccess:p,response:a,requestHasData:u,relatedKeyphrases:t}),upsellLink:g}),(0,pe.jsx)(yr.KeyphrasesTable,{relatedKeyphrases:t,columnNames:null==a||null===(y=a.results)||void 0===y?void 0:y.columnNames,data:null==a||null===(w=a.results)||void 0===w?void 0:w.rows,isPending:d,renderButton:s,className:"yst-mt-4"})]})}fr.propTypes={keyphrase:le().string,relatedKeyphrases:le().array,renderAction:le().func,requestLimitReached:le().bool,countryCode:le().string.isRequired,setCountry:le().func.isRequired,newRequest:le().func.isRequired,response:le().object,isRtl:le().bool,userLocale:le().string,isPending:le().bool,isSuccess:le().bool,requestHasData:le().bool,isPremium:le().bool,semrushUpsellLink:le().string,premiumUpsellLink:le().string};const br=(0,lt.compose)([(0,a.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:i,getSEMrushRequestResponse:o,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:n,getSEMrushRequestHasData:a,getPreference:l,getIsPremium:c,selectLinkParams:d}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:i(),response:o(),isSuccess:r(),isPending:n(),requestHasData:a(),isRtl:l("isRtl",!1),userLocale:l("userLocale","en_US"),isPremium:c(),semrushUpsellLink:(0,dt.addQueryArgs)("https://yoa.st/semrush-prices",d()),premiumUpsellLink:(0,dt.addQueryArgs)("https://yoa.st/413",d())}})),(0,a.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)}}}))])(fr),xr=Pe.forwardRef((function(e,t){return Pe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),Pe.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),_r=de().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } `,vr=(de().div` @media screen and ( min-width: 600px ) { max-width: 420px; } `,de()(ht.Icon)` float: ${(0,jt.getDirectionalStyle)("right","left")}; margin: ${(0,jt.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; && { width: 150px; height: 150px; @media screen and ( max-width: 680px ) { width: 80px; height: 80px; } } `,window.moment);var kr=s.n(vr);const Sr=window.wp.apiFetch;var Rr=s.n(Sr);async function Tr(e,t,s,i=200){try{const o=await e();return!!o&&(o.status===i?t(o):s(o))}catch(e){console.error(e.message)}}async function Er(e){try{return await Rr()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function jr(e){return(0,c.isArray)(e)||(e=[e]),await Er({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const Cr=({data:e,mapChartDataToTableData:t=null,dataTableCaption:s,dataTableHeaderLabels:i,isDataTableVisuallyHidden:o=!0})=>e.length!==i.length?(0,pe.jsx)("p",{children:(0,je.__)("The number of headers and header labels don't match.","wordpress-seo")}):(0,pe.jsx)("div",{className:o?"screen-reader-text":null,children:(0,pe.jsxs)("table",{children:[(0,pe.jsx)("caption",{children:s}),(0,pe.jsx)("thead",{children:(0,pe.jsx)("tr",{children:i.map(((e,t)=>(0,pe.jsx)("th",{children:e},t)))})}),(0,pe.jsx)("tbody",{children:(0,pe.jsx)("tr",{children:e.map(((e,s)=>(0,pe.jsx)("td",{children:t(e.y)},s)))})})]})});Cr.propTypes={data:le().arrayOf(le().shape({x:le().number,y:le().number})).isRequired,mapChartDataToTableData:le().func,dataTableCaption:le().string.isRequired,dataTableHeaderLabels:le().array.isRequired,isDataTableVisuallyHidden:le().bool};const Ir=Cr,Lr=({data:e,width:t,height:s,fillColor:i=null,strokeColor:o="#000000",strokeWidth:r=1,className:n="",mapChartDataToTableData:a=null,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d=!0})=>{const p=Math.max(1,Math.max(...e.map((e=>e.x)))),u=Math.max(1,Math.max(...e.map((e=>e.y)))),h=s-r,g=e.map((e=>`${e.x/p*t},${h-e.y/u*h+r}`)).join(" "),m=`0,${h+r} `+g+` ${t},${h+r}`;return(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsxs)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:n,role:"img","aria-hidden":"true",focusable:"false",children:[(0,pe.jsx)("polygon",{fill:i,points:m}),(0,pe.jsx)("polyline",{fill:"none",stroke:o,strokeWidth:r,strokeLinejoin:"round",strokeLinecap:"round",points:g})]}),a&&(0,pe.jsx)(Ir,{data:e,mapChartDataToTableData:a,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d})]})};Lr.propTypes={data:le().arrayOf(le().shape({x:le().number,y:le().number})).isRequired,width:le().number.isRequired,height:le().number.isRequired,fillColor:le().string,strokeColor:le().string,strokeWidth:le().number,className:le().string,mapChartDataToTableData:le().func,dataTableCaption:le().string.isRequired,dataTableHeaderLabels:le().array.isRequired,isDataTableVisuallyHidden:le().bool};const Ar=Lr,Pr=()=>(0,pe.jsxs)("p",{className:"yoast-wincher-seo-performance-modal__loading-message",children:[(0,je.__)("Tracking the ranking position…","wordpress-seo")," ",(0,pe.jsx)(ht.SvgIcon,{icon:"loading-spinner"})]}),Dr=de()(ht.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; `,Fr=de().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; `,Mr=de().td` padding-right: 0 !important; & > div { margin: 0px; } `,Or=de().td` padding-left: 2px !important; `,qr=de().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } `,Nr=de().div` display: flex; align-items: center; & > a { box-sizing: border-box; } `,Ur=de().button` background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; display: flex; align-items: center; `,Wr=de().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; `;function Br(e){return Math.round(100*e)}function $r({chartData:e={}}){if((0,c.isEmpty)(e)||(0,c.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,je.sprintf)((0,je._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:31-e.value})));return(0,pe.jsx)(Ar,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Br,dataTableCaption:(0,je.__)("Keyphrase position in the last 90 days on a scale from 0 to 30.","wordpress-seo"),dataTableHeaderLabels:t})}function Kr({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:i}){return i?(0,pe.jsx)(ht.SvgIcon,{icon:"loading-spinner"}):(0,pe.jsx)(ht.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}function Hr(e){return!e||!e.position||e.position.value>30?"> 30":e.position.value}$r.propTypes={chartData:le().object};const zr=e=>kr()(e).fromNow(),Vr=({rowData:e={}})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,pe.jsx)($r,{chartData:e});const s=e.position.change<0;return(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)($r,{chartData:e}),(0,pe.jsx)(Fr,{isImproving:s,children:Math.abs(e.position.change)}),(0,pe.jsx)(Dr,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s})]})};function Yr({rowData:e,websiteId:t,keyphrase:s,onSelectKeyphrases:i}){const o=(0,re.useCallback)((()=>{i([s])}),[i,s]),r=!(0,c.isEmpty)(e),n=e&&e.updated_at&&kr()(e.updated_at)>=kr()().subtract(7,"days"),a=e?`https://app.wincher.com/websites/${t}/keywords?serp=${e.id}&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast`:null;return r?n?(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)("td",{children:(0,pe.jsxs)(Nr,{children:[Hr(e),(0,pe.jsx)(ht.ButtonStyledLink,{variant:"secondary",href:a,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank",children:(0,je.__)("View","wordpress-seo")})]})}),(0,pe.jsx)("td",{className:"yoast-table--nopadding",children:(0,pe.jsx)(Ur,{type:"button",onClick:o,children:(0,pe.jsx)(Vr,{rowData:e})})}),(0,pe.jsx)("td",{children:zr(e.updated_at)})]}):(0,pe.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,pe.jsx)(Pr,{})}):(0,pe.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,pe.jsx)("i",{children:(0,je.__)("Activate tracking to show the ranking position","wordpress-seo")})})}function Gr({keyphrase:e,rowData:t={},onTrackKeyphrase:s=c.noop,onUntrackKeyphrase:i=c.noop,isFocusKeyphrase:o=!1,isDisabled:r=!1,isLoading:n=!1,websiteId:a="",isSelected:l,onSelectKeyphrases:d}){var p;const u=!(0,c.isEmpty)(t),h=!(0,c.isEmpty)(null==t||null===(p=t.position)||void 0===p?void 0:p.history),g=(0,re.useCallback)((()=>{r||(u?i(e,t.id):s(e))}),[e,s,i,u,t,r]),m=(0,re.useCallback)((()=>{d((t=>l?t.filter((t=>t!==e)):t.concat(e)))}),[d,l,e]);return(0,pe.jsxs)(Wr,{isEnabled:u,children:[(0,pe.jsx)(Mr,{children:h&&(0,pe.jsx)(ht.Checkbox,{id:"select-"+e,onChange:m,checked:l,label:""})}),(0,pe.jsxs)(Or,{children:[e,o&&(0,pe.jsx)("span",{children:"*"})]}),Yr({rowData:t,websiteId:a,keyphrase:e,onSelectKeyphrases:d}),(0,pe.jsx)(qr,{children:Kr({keyphrase:e,isEnabled:u,toggleAction:g,isLoading:n})})]})}Vr.propTypes={rowData:le().object},Gr.propTypes={rowData:le().object,keyphrase:le().string.isRequired,onTrackKeyphrase:le().func,onUntrackKeyphrase:le().func,isFocusKeyphrase:le().bool,isDisabled:le().bool,isLoading:le().bool,websiteId:le().string,isSelected:le().bool.isRequired,onSelectKeyphrases:le().func.isRequired};const Zr=(0,jt.makeOutboundLink)(),Qr=de().span` display: block; font-style: italic; @media (min-width: 782px) { display: inline; position: absolute; ${(0,jt.getDirectionalStyle)("right","left")}: 8px; } `,Xr=de().div` width: 100%; overflow-y: auto; `,Jr=de().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } `,en=de().th` padding-left: 2px !important; `,tn=e=>{const t=(0,re.useRef)();return(0,re.useEffect)((()=>{t.current=e})),t.current},sn=(0,c.debounce)((async function(e=null,t=null,s=null,i){return await Er({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:i})}),500,{leading:!0}),on=({addTrackedKeyphrase:e,isLoggedIn:t=!1,isNewlyAuthenticated:s=!1,keyphrases:i=[],newRequest:o,removeTrackedKeyphrase:r,setRequestFailed:n,setKeyphraseLimitReached:a,setRequestSucceeded:l,setTrackedKeyphrases:d,setHasTrackedAll:p,trackAll:u=!1,trackedKeyphrases:h=null,websiteId:g="",permalink:m,focusKeyphrase:y="",startAt:w=null,selectedKeyphrases:f,onSelectKeyphrases:b})=>{const x=(0,re.useRef)(),_=(0,re.useRef)(),v=(0,re.useRef)(!1),[k,S]=(0,re.useState)([]),R=(0,re.useCallback)((e=>{const t=e.toLowerCase();return h&&!(0,c.isEmpty)(h)&&h.hasOwnProperty(t)?h[t]:null}),[h]),T=(0,re.useMemo)((()=>async()=>{await Tr((()=>(_.current&&_.current.abort(),_.current="undefined"==typeof AbortController?null:new AbortController,sn(i,w,m,_.current.signal))),(e=>{l(e),d(e.results)}),(e=>{n(e)}))}),[l,n,d,i,m,w]),E=(0,re.useCallback)((async t=>{const s=(Array.isArray(t)?t:[t]).map((e=>e.toLowerCase()));S((e=>[...e,...s])),await Tr((()=>jr(s)),(t=>{l(t),e(t.results),T()}),(e=>{400===e.status&&e.limit&&a(e.limit),n(e)}),201),S((e=>(0,c.without)(e,...s)))}),[l,n,a,e,T]),j=(0,re.useCallback)((async(e,t)=>{e=e.toLowerCase(),S((t=>[...t,e])),await Tr((()=>async function(e){return await Er({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{l(t),r(e)}),(e=>{n(e)})),S((t=>(0,c.without)(t,e)))}),[l,r,n]),C=(0,re.useCallback)((async e=>{o(),await E(e)}),[o,E]),I=tn(m),L=tn(i),A=tn(w),P=m&&w;(0,re.useEffect)((()=>{t&&P&&(m!==I||(0,c.difference)(i,L).length||w!==A)&&T()}),[t,m,I,i,L,T,P,w,A]),(0,re.useEffect)((()=>{if(t&&u&&null!==h){const e=i.filter((e=>!R(e)));e.length&&E(e),p()}}),[t,u,h,E,p,R,i]),(0,re.useEffect)((()=>{s&&!v.current&&(T(),v.current=!0)}),[s,T]),(0,re.useEffect)((()=>{if(t&&!(0,c.isEmpty)(h))return(0,c.filter)(h,(e=>(0,c.isEmpty)(e.updated_at))).length>0&&(x.current=setInterval((()=>{T()}),1e4)),()=>{clearInterval(x.current)}}),[t,h,T]);const D=t&&null===h,F=(0,re.useMemo)((()=>(0,c.isEmpty)(h)?[]:Object.values(h).filter((e=>{var t;return!(0,c.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[h]),M=(0,re.useMemo)((()=>f.length>0&&F.length>0&&F.every((e=>f.includes(e)))),[f,F]),O=(0,re.useCallback)((()=>{b(M?[]:F)}),[b,M,F]),q=(0,re.useMemo)((()=>(0,c.orderBy)(i,[e=>Object.values(h||{}).map((e=>e.keyword)).includes(e)],["desc"])),[i,h]);return i&&!(0,c.isEmpty)(i)&&(0,pe.jsxs)(re.Fragment,{children:[(0,pe.jsx)(Xr,{children:(0,pe.jsxs)("table",{className:"yoast yoast-table",children:[(0,pe.jsx)("thead",{children:(0,pe.jsxs)("tr",{children:[(0,pe.jsx)(Jr,{isDisabled:0===F.length,children:(0,pe.jsx)(ht.Checkbox,{id:"select-all",onChange:O,checked:M,label:""})}),(0,pe.jsx)(en,{scope:"col",abbr:(0,je.__)("Keyphrase","wordpress-seo"),children:(0,je.__)("Keyphrase","wordpress-seo")}),(0,pe.jsx)("th",{scope:"col",abbr:(0,je.__)("Position","wordpress-seo"),children:(0,je.__)("Position","wordpress-seo")}),(0,pe.jsx)("th",{scope:"col",abbr:(0,je.__)("Position over time","wordpress-seo"),children:(0,je.__)("Position over time","wordpress-seo")}),(0,pe.jsx)("th",{scope:"col",abbr:(0,je.__)("Last updated","wordpress-seo"),children:(0,je.__)("Last updated","wordpress-seo")}),(0,pe.jsx)("th",{scope:"col",abbr:(0,je.__)("Tracking","wordpress-seo"),children:(0,je.__)("Tracking","wordpress-seo")})]})}),(0,pe.jsx)("tbody",{children:q.map(((e,s)=>(0,pe.jsx)(Gr,{keyphrase:e,onTrackKeyphrase:C,onUntrackKeyphrase:j,rowData:R(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:g,isDisabled:!t,isLoading:D||k.indexOf(e.toLowerCase())>=0,isSelected:f.includes(e),onSelectKeyphrases:b},`trackable-keyphrase-${s}`)))})]})}),(0,pe.jsxs)("p",{style:{marginBottom:0,position:"relative"},children:[(0,pe.jsx)(Zr,{href:wpseoAdminGlobalL10n["links.wincher.login"],children:(0,je.sprintf)(/* translators: %s expands to Wincher */ (0,je.__)("Get more insights over at %s","wordpress-seo"),"Wincher")}),(0,pe.jsx)(Qr,{children:(0,je.__)("* focus keyphrase","wordpress-seo")})]})]})};on.propTypes={addTrackedKeyphrase:le().func.isRequired,isLoggedIn:le().bool,isNewlyAuthenticated:le().bool,keyphrases:le().array,newRequest:le().func.isRequired,removeTrackedKeyphrase:le().func.isRequired,setRequestFailed:le().func.isRequired,setKeyphraseLimitReached:le().func.isRequired,setRequestSucceeded:le().func.isRequired,setTrackedKeyphrases:le().func.isRequired,setHasTrackedAll:le().func.isRequired,trackAll:le().bool,trackedKeyphrases:le().object,websiteId:le().string,permalink:le().string.isRequired,focusKeyphrase:le().string,startAt:le().string,selectedKeyphrases:le().arrayOf(le().string).isRequired,onSelectKeyphrases:le().func.isRequired};const rn=on,nn=(0,lt.compose)([(0,a.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:i,getWincherPermalink:o,getFocusKeyphrase:r,isWincherNewlyAuthenticated:n,shouldWincherTrackAll:a}=e("yoast-seo/editor");return{focusKeyphrase:r(),keyphrases:s(),isLoggedIn:i(),trackAll:a(),websiteId:t(),isNewlyAuthenticated:n(),permalink:o()}})),(0,a.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherSetKeyphraseLimitReached:o,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:n,setWincherTrackAllKeyphrases:a,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},setKeyphraseLimitReached:e=>{o(e)},addTrackedKeyphrase:e=>{n(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{a(!1)}}}))])(rn);class an{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,i=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,i.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:i}=e;i===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const ln=()=>(0,pe.jsx)(ht.Alert,{type:"info",children:(0,je.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,je.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")}),cn=()=>(0,pe.jsx)(ht.Alert,{type:"success",children:(0,je.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,je.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")}),dn=()=>(0,pe.jsx)(ht.Alert,{type:"info",children:(0,je.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,je.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")}),pn=(0,jt.makeOutboundLink)(),un=(0,jt.makeOutboundLink)(),hn=()=>{const e=(0,je.sprintf)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ (0,je.__)("With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"<wincherLink/>","<wincherReadMoreLink/>");return(0,pe.jsx)("p",{children:Fe(e,{wincherLink:(0,pe.jsx)(pn,{href:wpseoAdminGlobalL10n["links.wincher.website"],children:"Wincher"}),wincherReadMoreLink:(0,pe.jsx)(un,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"],children:(0,je.__)("Read more about keyphrase tracking with Wincher","wordpress-seo")})})})},gn=(0,jt.makeOutboundLink)(),mn=({limit:e=10})=>{const t=(0,je.sprintf)(/* translators: %1$d expands to the amount of allowed keyphrases on a free account, %2$s expands to a link to Wincher plans. */ (0,je.__)("You've reached the maximum amount of %1$d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %2$s.","wordpress-seo"),e,"<UpdateWincherPlanLink/>");return(0,pe.jsx)(ht.Alert,{type:"error",children:Fe(t,{UpdateWincherPlanLink:(0,pe.jsx)(gn,{href:wpseoAdminGlobalL10n["links.wincher.pricing"],children:(0,je.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,je.__)("upgrade your %s plan","wordpress-seo"),"Wincher")})})})};mn.propTypes={limit:le().number};const yn=mn,wn=()=>(0,pe.jsx)(ht.Alert,{type:"error",children:(0,je.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")}),fn=()=>(0,pe.jsx)(ht.Alert,{type:"error",children:(0,je.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")}),bn=({onReconnect:e,className:t=""})=>{const s=(0,je.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ (0,je.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"<reconnectToWincher/>","Wincher");return(0,pe.jsx)(ht.Alert,{type:"error",className:t,children:Fe(s,{reconnectToWincher:(0,pe.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),e()},children:(0,je.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,je.__)("reconnect to %s","wordpress-seo"),"Wincher")})})})};bn.propTypes={onReconnect:le().func.isRequired,className:le().string};const xn=bn,vn=()=>(0,pe.jsx)(ht.Alert,{type:"error",children:(0,je.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")}),kn=de().p` color: ${Di.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; `,Sn=de()(ht.SvgIcon)` margin-right: 5px; vertical-align: middle; `,Rn=de().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; `,Tn=de().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; `,En=de().div` position: relative; background: ${e=>e.isTitleShortened?"#f5f7f7":"transparent"}; border: 1px solid #c7c7c7; border-left: 4px solid${Di.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; `,jn=({limit:e,usage:t,isTitleShortened:s=!1,isFreeAccount:i=!1})=>{const o=(0,je.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,je.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),t,e),r=(0,je.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,je.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),n=i?o:r,a=(0,je.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,je.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?a:n;return(0,pe.jsxs)(kn,{children:[s&&(0,pe.jsx)(Sn,{icon:"exclamation-triangle",color:Di.colors.$color_pink_dark,size:"14px"}),l]})};jn.propTypes={limit:le().number.isRequired,usage:le().number.isRequired,isTitleShortened:le().bool,isFreeAccount:le().bool};const Cn=(0,jt.makeOutboundLink)(),In=({discount:e,months:t})=>{const s=(0,pe.jsx)(Cn,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600},children:(0,je.sprintf)(/* Translators: %s : Expands to "Wincher". */ (0,je.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher")});if(!e||!t)return(0,pe.jsx)(Tn,{children:s});const i=100*e,o=(0,je.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ (0,je.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"<wincherAccountUpgradeLink/>",i+"%",t);return(0,pe.jsx)(Tn,{children:Fe(o,{wincherAccountUpgradeLink:s})})};In.propTypes={discount:le().number,months:le().number};const Ln=({onClose:e=null,isTitleShortened:t=!1,trackingInfo:s=null})=>{const i=(()=>{const[e,t]=(0,re.useState)(null);return(0,re.useEffect)((()=>{e||async function(){return await Er({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:o,usage:r}=s;if(!(o&&r/o>=.8))return null;const n=Boolean(null==i?void 0:i.discount);return(0,pe.jsxs)(En,{isTitleShortened:t,children:[e&&(0,pe.jsx)(Rn,{type:"button","aria-label":(0,je.__)("Close the upgrade callout","wordpress-seo"),onClick:e,children:(0,pe.jsx)(ht.SvgIcon,{icon:"times-circle",color:Di.colors.$color_pink_dark,size:"14px"})}),(0,pe.jsx)(jn,{...s,isTitleShortened:t,isFreeAccount:n}),(0,pe.jsx)(In,{discount:null==i?void 0:i.discount,months:null==i?void 0:i.months})]})};Ln.propTypes={onClose:le().func,isTitleShortened:le().bool,trackingInfo:le().object};const An=Ln,Pn=window.yoast["chart.js"],Dn="label";function Fn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Mn(e,t){e.labels=t}function On(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dn;const i=[];e.datasets=t.map((t=>{const o=e.datasets.find((e=>e[s]===t[s]));return o&&t.data&&!i.includes(o)?(i.push(o),Object.assign(o,t),o):{...t}}))}function qn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dn;const s={labels:[],datasets:[]};return Mn(s,e.labels),On(s,e.datasets,t),s}function Nn(e,t){const{height:s=150,width:i=300,redraw:o=!1,datasetIdKey:r,type:n,data:a,options:l,plugins:c=[],fallbackContent:d,updateMode:p,...u}=e,h=(0,Pe.useRef)(null),g=(0,Pe.useRef)(),m=()=>{h.current&&(g.current=new Pn.Chart(h.current,{type:n,data:qn(a,r),options:l&&{...l},plugins:c}),Fn(t,g.current))},y=()=>{Fn(t,null),g.current&&(g.current.destroy(),g.current=null)};return(0,Pe.useEffect)((()=>{!o&&g.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(g.current,l)}),[o,l]),(0,Pe.useEffect)((()=>{!o&&g.current&&Mn(g.current.config.data,a.labels)}),[o,a.labels]),(0,Pe.useEffect)((()=>{!o&&g.current&&a.datasets&&On(g.current.config.data,a.datasets,r)}),[o,a.datasets]),(0,Pe.useEffect)((()=>{g.current&&(o?(y(),setTimeout(m)):g.current.update(p))}),[o,l,a.labels,a.datasets,p]),(0,Pe.useEffect)((()=>{g.current&&(y(),setTimeout(m))}),[n]),(0,Pe.useEffect)((()=>(m(),()=>y())),[]),Pe.createElement("canvas",Object.assign({ref:h,role:"img",height:s,width:i},u),d)}const Un=(0,Pe.forwardRef)(Nn);function Wn(e,t){return Pn.Chart.register(t),(0,Pe.forwardRef)(((t,s)=>Pe.createElement(Un,Object.assign({},t,{ref:s,type:e}))))}const Bn=Wn("line",Pn.LineController),$n={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Pn._adapters._date.override("function"==typeof kr()?{_id:"moment",formats:function(){return $n},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=kr()(e,t):e instanceof kr()||(e=kr()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return kr()(e).format(t)},add:function(e,t,s){return kr()(e).add(t,s).valueOf()},diff:function(e,t,s){return kr()(e).diff(kr()(t),s)},startOf:function(e,t,s){return e=kr()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return kr()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Kn=["top","right","bottom","left"];function Hn(e,t,s){const i={};s=s?"-"+s:"";for(let o=0;o<4;o++){const r=Kn[o];i[r]=parseFloat(e[t+"-"+r+s])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),Pn.Chart.register(Pn.CategoryScale,Pn.LineController,Pn.LineElement,Pn.PointElement,Pn.LinearScale,Pn.TimeScale,Pn.Legend,Pn.Tooltip);const zn=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Vn({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const i=(0,re.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,zn[t%zn.length]])))),[s]),o=e.map((e=>{const t=i[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,pe.jsx)(Bn,{height:100,data:{datasets:o},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:c.noop},tooltip:{enabled:!0,callbacks:{title:e=>kr()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:31}}}})}Pn.Interaction.modes.xPoint=(e,t,s,i)=>{const o=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:i}=t,o=(h=s).ownerDocument.defaultView.getComputedStyle(h,null),r="border-box"===o.boxSizing,n=Hn(o,"padding"),a=Hn(o,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,i=s&&s.length?s[0]:e,{offsetX:o,offsetY:r}=i;let n,a,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(o,r,e.target))n=o,a=r;else{const e=t.getBoundingClientRect();n=i.clientX-e.left,a=i.clientY-e.top,l=!0}return{x:n,y:a,box:l}}(e,s),p=n.left+(d&&a.left),u=n.top+(d&&a.top);var h;let{width:g,height:m}=t;return r&&(g-=n.width+a.width,m-=n.height+a.height),{x:Math.round((l-p)/g*s.width/i),y:Math.round((c-u)/m*s.height/i)}}(t,e);let r=[];if(Pn.Interaction.evaluateInteractionItems(e,"x",o,((e,t,s)=>{e.inXRange(o.x,i)&&r.push({element:e,datasetIndex:t,index:s})})),0===r.length)return r;const n=r.reduce(((e,t)=>Math.abs(o.x-e.element.x)<Math.abs(o.x-t.element.x)?e:t)).element.x;return r=r.filter((e=>e.element.x===n)),r.some((e=>Math.abs(e.element.y-o.y)<10))?r:[]},Vn.propTypes={datasets:le().arrayOf(le().shape({label:le().string.isRequired,data:le().arrayOf(le().shape({datetime:le().string.isRequired,value:le().number.isRequired})).isRequired,selected:le().bool})).isRequired,isChartShown:le().bool.isRequired,keyphrases:le().array.isRequired};const Yn=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,pe.jsx)(xn,{onReconnect:t}):(0,pe.jsx)(vn,{});Yn.propTypes={response:le().object.isRequired,onLogin:le().func.isRequired};const Gn=({isSuccess:e,response:t={},allKeyphrasesMissRanking:s,onLogin:i,keyphraseLimitReached:o,limit:r})=>o?(0,pe.jsx)(yn,{limit:r}):(0,c.isEmpty)(t)||e?s?(0,pe.jsx)(dn,{}):null:(0,pe.jsx)(Yn,{response:t,onLogin:i});Gn.propTypes={isSuccess:le().bool.isRequired,allKeyphrasesMissRanking:le().bool.isRequired,response:le().object,onLogin:le().func.isRequired,keyphraseLimitReached:le().bool.isRequired,limit:le().number.isRequired};let Zn=null;const Qn=async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r})=>{if(Zn&&!Zn.isClosed())return void Zn.focus();const{url:n}=await async function(){return await Er({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Zn=new an(n,{success:{type:"wincher:oauth:success",callback:n=>(async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)=>{await Tr((()=>async function(e){const{code:t,websiteId:s}=e;return await Er({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(n)),(async a=>{e(!0,!0,n.websiteId.toString()),t(a);const l=(Array.isArray(i)?i:[i]).map((e=>e.toLowerCase()));await Tr((()=>jr(l)),(e=>{t(e),o(e.results)}),(e=>{400===e.status&&e.limit&&r(e.limit),s(e)}),201);const c=Zn.getPopup();c&&c.close()}),(async e=>s(e)))})({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)},error:{type:"wincher:oauth:error",callback:()=>e(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Zn.createPopup()},Xn=e=>e.isLoggedIn?null:(0,pe.jsx)("p",{children:(0,pe.jsx)(ht.NewButton,{onClick:e.onLogin,variant:"primary",children:(0,je.sprintf)(/* translators: %s expands to Wincher */ (0,je.__)("Connect with %s","wordpress-seo"),"Wincher")})});Xn.propTypes={isLoggedIn:le().bool.isRequired,onLogin:le().func.isRequired};const Jn=de().div` p { margin: 1em 0; } `,ea=de().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; `,ta=de().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); `,sa=de().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; `,ia=de().div` margin: 8px 0; `,oa=kr().utc().startOf("day"),ra=[{name:(0,je.__)("Last day","wordpress-seo"),value:kr()(oa).subtract(1,"days").format(),defaultIndex:1},{name:(0,je.__)("Last week","wordpress-seo"),value:kr()(oa).subtract(1,"week").format(),defaultIndex:2},{name:(0,je.__)("Last month","wordpress-seo"),value:kr()(oa).subtract(1,"month").format(),defaultIndex:3},{name:(0,je.__)("Last year","wordpress-seo"),value:kr()(oa).subtract(1,"year").format(),defaultIndex:0}],na=({onSelect:e,selected:t=null,options:s,isLoggedIn:i})=>i?s.length<1?null:(0,pe.jsx)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==t?void 0:t.value)||s[0].value,onChange:e,children:s.map((e=>(0,pe.jsx)("option",{value:e.value,children:e.name},e.name)))}):null;na.propTypes={onSelect:le().func.isRequired,selected:le().object,options:le().array.isRequired,isLoggedIn:le().bool.isRequired};const aa=({trackedKeyphrases:e=null,isLoggedIn:t,keyphrases:s,shouldTrackAll:i,permalink:o,historyDaysLimit:r=0})=>{if(!o&&t)return(0,pe.jsx)(fn,{});if(0===s.length)return(0,pe.jsx)(wn,{});const n=kr()(oa).subtract(r,"days"),a=ra.filter((e=>kr()(e.value).isSameOrAfter(n))),l=(0,c.orderBy)(a,(e=>e.defaultIndex),"desc")[0],[d,p]=(0,re.useState)(l),[u,h]=(0,re.useState)([]),g=u.length>0,m=(0,lt.usePrevious)(e);(0,re.useEffect)((()=>{if(!(0,c.isEmpty)(e)&&(0,c.difference)(Object.keys(e),Object.keys(m||[])).length){const t=Object.values(e).map((e=>e.keyword));h(t)}}),[e,m]),(0,re.useEffect)((()=>{p(l)}),[null==l?void 0:l.name]);const y=(0,re.useCallback)((e=>{const t=ra.find((t=>t.value===e.target.value));t&&p(t)}),[p]),w=(0,re.useMemo)((()=>(0,c.isEmpty)(u)||(0,c.isEmpty)(e)?[]:Object.values(e).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:u.includes(e.keyword)&&!(0,c.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[u,e]);return(0,pe.jsxs)(ea,{isDisabled:!t,children:[(0,pe.jsx)("p",{children:(0,je.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")}),t&&i&&(0,pe.jsx)(ln,{}),(0,pe.jsx)(sa,{children:(0,pe.jsx)(na,{selected:d,onSelect:y,options:a,isLoggedIn:t})}),(0,pe.jsx)(ia,{children:(0,pe.jsx)(Vn,{isChartShown:g,datasets:w,keyphrases:s})}),(0,pe.jsx)(nn,{startAt:null==d?void 0:d.value,selectedKeyphrases:u,onSelectKeyphrases:h,trackedKeyphrases:e})]})};function la({trackedKeyphrases:e=null,addTrackedKeyphrase:t,isLoggedIn:s=!1,isNewlyAuthenticated:i=!1,keyphrases:o=[],response:r={},shouldTrackAll:n=!1,permalink:a="",allKeyphrasesMissRanking:l,isSuccess:c,keyphraseLimitReached:d,limit:p,setRequestSucceeded:u,setRequestFailed:h,setKeyphraseLimitReached:g,onAuthentication:m}){const y=(0,re.useCallback)((()=>{Qn({onAuthentication:m,setRequestSucceeded:u,setRequestFailed:h,keyphrases:o,addTrackedKeyphrase:t,setKeyphraseLimitReached:g})}),[Qn,m,u,h,o,t,g]),w=(e=>{const[t,s]=(0,re.useState)(null);return(0,re.useEffect)((()=>{e&&!t&&async function(){return await Er({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t})(s);return(0,pe.jsxs)(Jn,{children:[i&&(0,pe.jsx)(cn,{}),s&&(0,pe.jsx)(An,{trackingInfo:w}),(0,pe.jsxs)(ta,{children:[(0,je.__)("SEO performance","wordpress-seo"),(0,pe.jsx)(ht.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] /* translators: Hidden accessibility text. */,linkText:(0,je.__)("Learn more about the SEO performance feature.","wordpress-seo")})]}),(0,pe.jsx)(hn,{}),(0,pe.jsx)(Xn,{isLoggedIn:s,onLogin:y}),(0,pe.jsx)(Gn,{isSuccess:c,response:r,allKeyphrasesMissRanking:l,keyphraseLimitReached:d,limit:p,onLogin:y}),(0,pe.jsx)(aa,{trackedKeyphrases:e,isLoggedIn:s,keyphrases:o,shouldTrackAll:n,permalink:a,historyDaysLimit:(null==w?void 0:w.historyDays)||31})]})}aa.propTypes={trackedKeyphrases:le().object,keyphrases:le().array.isRequired,isLoggedIn:le().bool.isRequired,shouldTrackAll:le().bool.isRequired,permalink:le().string.isRequired,historyDaysLimit:le().number},la.propTypes={trackedKeyphrases:le().object,addTrackedKeyphrase:le().func.isRequired,isLoggedIn:le().bool,isNewlyAuthenticated:le().bool,keyphrases:le().array,response:le().object,shouldTrackAll:le().bool,permalink:le().string,allKeyphrasesMissRanking:le().bool.isRequired,isSuccess:le().bool.isRequired,keyphraseLimitReached:le().bool.isRequired,limit:le().number.isRequired,setRequestSucceeded:le().func.isRequired,setRequestFailed:le().func.isRequired,setKeyphraseLimitReached:le().func.isRequired,onAuthentication:le().func.isRequired};const ca=(0,lt.compose)([(0,a.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:i,getWincherLoginStatus:o,getWincherRequestIsSuccess:r,getWincherRequestResponse:n,getWincherTrackableKeyphrases:a,getWincherTrackedKeyphrases:l,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:d,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:a(),trackedKeyphrases:l(),allKeyphrasesMissRanking:c(),isLoggedIn:o(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:s(),limit:i(),response:n(),shouldTrackAll:p(),permalink:d()}})),(0,a.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherTrackingForKeyphrase:o,setWincherSetKeyphraseLimitReached:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},addTrackedKeyphrase:e=>{o(e)},setKeyphraseLimitReached:e=>{r(e)},onAuthentication:(e,s,i)=>{t(i),n(e,s)}}}))])(la),da=de()(xr)` width: 18px; height: 18px; margin: 3px; `;function pa({keyphrases:e,onNoKeyphraseSet:t,onOpen:s,location:i}){if(!e.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void t()}s(i)}function ua({location:e="",whichModalOpen:t="none",shouldCloseOnClickOutside:s=!0,keyphrases:i,onNoKeyphraseSet:o,onOpen:r,onClose:n}){const a=(0,re.useCallback)((()=>{pa({keyphrases:i,onNoKeyphraseSet:o,onOpen:r,location:e})}),[pa,i,o,r,e]),l=(0,je.__)("Track SEO performance","wordpress-seo"),c=Ms();return(0,pe.jsxs)(re.Fragment,{children:[t===e&&(0,pe.jsx)(qs,{title:l,onRequestClose:n,icon:(0,pe.jsx)(bt,{}),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:s,children:(0,pe.jsx)(_r,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content",children:(0,pe.jsx)(ca,{})})}),"sidebar"===e&&(0,pe.jsx)(mt,{id:`wincher-open-button-${e}`,title:l,SuffixHeroIcon:(0,pe.jsx)(da,{className:"yst-text-slate-500",...c}),onClick:a}),"metabox"===e&&(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsxs)(ut,{id:`wincher-open-button-${e}`,onClick:a,children:[(0,pe.jsx)(ut.Text,{children:l}),(0,pe.jsx)(xr,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...c})]})})]})}ua.propTypes={location:le().string,whichModalOpen:le().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:le().bool,keyphrases:le().array.isRequired,onNoKeyphraseSet:le().func.isRequired,onOpen:le().func.isRequired,onClose:le().func.isRequired};const ha=(0,lt.compose)([(0,a.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,a.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:i}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{i()}}}))])(ua),ga=({isOpen:e,closeModal:t,id:s,upsellLink:i})=>(0,pe.jsx)(_t,{isOpen:e,onClose:t,id:s,upsellLink:i,title:(0,je.__)("Cover more search intent with related keyphrases","wordpress-seo"),description:(0,je.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles - helping it get discovered by a wider audience.","wordpress-seo"),note:(0,je.__)("Fine-tune your content for every audience","wordpress-seo"),modalTitle:(0,je.__)("Add more keyphrases with Premium","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),ma=()=>{const[e,,,t,s]=(0,Ae.useToggleState)(!1),i=(0,re.useContext)(ne.LocationContext),{locationContext:o}=(0,ne.useRootContext)(),r=(0,Ae.useSvgAria)(),n=wpseoAdminL10n["sidebar"===i.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(ga,{isOpen:e,closeModal:s,upsellLink:(0,dt.addQueryArgs)(n,{context:o}),id:`yoast-additional-keyphrases-modal-${i}`}),"sidebar"===i&&(0,pe.jsx)(mt,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,je.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:Di.colors.$color_grey_medium_dark},onClick:t,children:(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsx)(Ae.Badge,{size:"small",variant:"upsell",children:(0,pe.jsx)(ct,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...r})})})}),"metabox"===i&&(0,pe.jsx)("div",{className:"yst-root",children:(0,pe.jsxs)(ut,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:t,children:[(0,pe.jsx)(ht.SvgIcon,{icon:"plus",color:Di.colors.$color_grey_medium_dark}),(0,pe.jsx)(ut.Text,{children:(0,je.__)("Add related keyphrase","wordpress-seo")}),(0,pe.jsxs)(Ae.Badge,{size:"small",variant:"upsell",children:[(0,pe.jsx)(ct,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...r}),(0,pe.jsx)("span",{children:"Premium"})]})]})})]})};function ya({isLoading:e,onLoad:t,settings:s}){const i=(({webinarIntroUrl:e})=>{const{shouldShow:t}=Dt(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>t,component:Mt},{getIsEligible:Ds,component:()=>(0,pe.jsx)(Ps,{hasIcon:!1,image:null,url:e})},{getIsEligible:()=>!0,component:()=>(0,pe.jsx)(Et,{})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,a.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/webinar-intro-elementor")),[])});return(0,re.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,pe.jsx)(pe.Fragment,{children:(0,pe.jsxs)(oe.Fill,{name:"YoastElementor",children:[(0,pe.jsxs)(ci,{renderPriority:1,children:[(0,pe.jsx)(ai,{}),i&&(0,pe.jsx)("div",{className:"yst-inline-block yst-px-1.5",children:(0,pe.jsx)(i,{})})]}),s.isKeywordAnalysisActive&&(0,pe.jsxs)(ci,{renderPriority:8,children:[(0,pe.jsx)(kt.KeywordInput,{isSEMrushIntegrationActive:s.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,pe.jsx)(oe.Fill,{name:"YoastRelatedKeyphrases",children:(0,pe.jsx)(br,{})})]}),s.isKeywordAnalysisActive&&(0,pe.jsx)(ci,{renderPriority:10,children:(0,pe.jsx)(re.Fragment,{children:(0,pe.jsx)(kt.SeoAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellHighlighting:s.shouldUpsell})})}),s.isContentAnalysisActive&&(0,pe.jsx)(ci,{renderPriority:15,children:(0,pe.jsx)(kt.ReadabilityAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellHighlighting:s.shouldUpsell})}),s.isInclusiveLanguageAnalysisActive&&(0,pe.jsx)(ci,{renderPriority:19,children:(0,pe.jsx)(kt.InclusiveLanguageAnalysis,{shouldUpsellHighlighting:s.shouldUpsell})}),s.isKeywordAnalysisActive&&(0,pe.jsx)(ci,{renderPriority:22,children:s.shouldUpsell&&(0,pe.jsx)(ma,{})},"additional-keywords-upsell"),s.isKeywordAnalysisActive&&s.isWincherIntegrationActive&&(0,pe.jsx)(ci,{renderPriority:23,children:(0,pe.jsx)(ha,{location:"sidebar",shouldCloseOnClickOutside:!1})},"wincher-seo-performance"),s.shouldUpsell&&(0,pe.jsx)(ci,{renderPriority:24,children:(0,pe.jsx)(vt,{})},"internal-linking-suggestions-upsell"),(0,pe.jsx)(ci,{renderPriority:25,children:(0,pe.jsx)(ji,{})}),(s.useOpenGraphData||s.useTwitterData)&&(0,pe.jsx)(ci,{renderPriority:26,children:(0,pe.jsx)(Ho,{useOpenGraphData:s.useOpenGraphData,useTwitterData:s.useTwitterData})},"social-appearance"),s.displaySchemaSettings&&(0,pe.jsx)(ci,{renderPriority:28,children:(0,pe.jsx)(Vo,{title:(0,je.__)("Schema","wordpress-seo"),children:(0,pe.jsx)(ar,{})})}),s.displayAdvancedTab&&(0,pe.jsx)(ci,{renderPriority:29,children:(0,pe.jsx)(Vo,{title:(0,je.__)("Advanced","wordpress-seo"),buttonId:"yoast-seo-elementor-advanced-button",children:(0,pe.jsx)(mr,{location:"sidebar"})})}),s.isCornerstoneActive&&(0,pe.jsx)(ci,{renderPriority:30,children:(0,pe.jsx)(Rt,{})}),s.isInsightsEnabled&&(0,pe.jsx)(ci,{renderPriority:32,children:(0,pe.jsx)(ri,{location:"elementor"})})]})})}ya.propTypes={isLoading:le().bool.isRequired,onLoad:le().func.isRequired,settings:le().object.isRequired};const wa=(0,lt.compose)([(0,a.withSelect)((e=>{const{getPreferences:t,getSnippetEditorIsLoading:s}=e("yoast-seo/editor");return{settings:t(),isLoading:s()}})),(0,a.withDispatch)((e=>{const{loadSnippetEditorData:t}=e("yoast-seo/editor");return{onLoad:t}}))])(ya),fa=window.jQuery;var ba=s.n(fa);const xa=window.Marionette,_a="#elementor-panel-elements-search-area",va=s.n(xa)().ItemView.extend({template:!1,id:"yoast-elementor-react-panel",className:"yoast yoast-elementor-panel__fills",initialize(){ba()(_a).hide()},onShow(){Ta()},onDestroy(){ba()(_a).show()}}),ka="yoast-seo-tab",Sa="panel/elements",Ra="yoast-elementor-react-panel",Ta=()=>{let e=document.getElementById(Ra);if(!e){const t=document.getElementById("elementor-panel-elements-navigation");if(!t)return;e=document.createElement("div"),e.id=Ra,e.className="yoast yoast-elementor-panel__content",t.parentNode.insertBefore(e,t.nextSibling)}e.style.display="block";const t=document.getElementById("elementor-panel-elements-search-area");t&&(t.style.display="none")},Ea=()=>{const e=window.$e.components.get(Sa);e.hasTab(ka)||e.addTab(ka,{title:"Yoast SEO"})},ja=e=>(e[ka]={region:e.global.region,view:va,options:{}},e),Ca="yoast-elementor-react-tab",Ia="yoast-seo-tab",La="Yoast SEO",Aa="panel/page-settings",Pa=()=>{const{settings:e}=elementor.documents.getCurrent().config;e.tabs[Ia]||(e.tabs=(0,c.reduce)(e.tabs,((e,t,s)=>(e[s]=t,"settings"===s&&(e[Ia]=La),e)),{})),$e.components.get(Aa).hasTab(Ia)||$e.components.get(Aa).addTab(Ia,{title:La})};let Da=!1,Fa=!1;const Ma=(0,c.debounce)(Ce,500,{trailing:!0}),Oa=()=>{const e=document.getElementById("yoast-form");if(!e)return void console.error("Yoast form not found!");window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=we,(()=>{const e=document.createElement("div");e.id="yoast-elementor-react-root",document.body.appendChild(e),function(e,t){const s=g();me=(0,re.createRef)();const i={isRtl:s.isRtl};(0,re.createRoot)(document.getElementById(e)).render((0,pe.jsx)(he,{theme:i,location:"sidebar",children:(0,pe.jsx)(oe.SlotFillProvider,{children:(0,pe.jsxs)(re.Fragment,{children:[t,(0,pe.jsx)(ye,{ref:me})]})})}))}(e.id,(0,pe.jsxs)(ne.Root,{context:{locationContext:"elementor-sidebar"},children:[(0,pe.jsxs)(Le,{id:Ca,children:[(0,pe.jsx)(at,{}),(0,pe.jsx)(wa,{})]}),(0,pe.jsxs)(Le,{id:Ra,children:[(0,pe.jsx)(at,{}),(0,pe.jsx)(wa,{})]})]}))})(),ke("editor/documents/load","yoast-seo/register-tab",Pa,(({config:e})=>Se(e.id))),$e.routes.on("run:after",((e,t)=>{t===`${Aa}/${Ia}`&&(()=>{if(document.getElementById(Ca))return;const e=document.getElementById("elementor-panel-page-settings-controls");if(!e)return;const t=e.querySelector(".elementor-control-yoast-seo-section");t&&(t.style.display="none");const s=document.createElement("div");s.id=Ca,s.className="yoast yoast-elementor-panel__fills",e.appendChild(s)})()})),Pa(),elementor.getPanelView().getPages("menu").view.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:La,type:"page",callback:()=>{try{$e.route(`${Aa}/${Ia}`)}catch(e){$e.route(`${Aa}/settings`),$e.route(`${Aa}/${Ia}`)}}},"more"),((e,t=500)=>{const s=(0,c.debounce)(e,t,{trailing:!0});_e("document/elements/settings","yoast-seo/document/post-status",(({settings:e})=>s(e.post_status)),(({container:e,settings:t})=>{var s;return!!Se((null==e||null===(s=e.document)||void 0===s?void 0:s.id)||elementor.documents.getCurrent().id)&&Boolean(null==t?void 0:t.post_status)}))})((()=>Ma(Da)));const t=((e,t=500)=>{const s={},i=Array.from(e.querySelectorAll("input[name^='yoast']")),o=i.reduce(((e,{name:t,value:s})=>(e[t]=s,e)),{}),r={...o},n=new MutationObserver((0,c.debounce)((e=>{const t=[];e.forEach((e=>{"value"===e.attributeName&&e.target.name.startsWith("yoast")&&e.target.value!==o[e.target.name]&&(t.push({input:e.target,name:e.target.name,value:e.target.value,previousValue:o[e.target.name],snapshotValue:r[e.target.name]}),o[e.target.name]=e.target.value)})),t.length>0&&(0,c.forEach)(s,(e=>e(t)))}),t));return{start:()=>n.observe(e,{attributes:!0,subtree:!0}),stop:()=>n.disconnect(),subscribe:e=>{const t=(0,c.uniqueId)("yoast-form-listener");return s[t]=e,()=>delete s[t]},takeSnapshot:()=>{i.forEach((({name:e,value:t})=>{r[e]=t}))},restoreSnapshot:()=>{i.forEach((e=>{e.value=r[e.name],o[e.name]=r[e.name]}))}}})(e);t.subscribe((e=>{e.some((e=>{return t=e.name,s=e.value,i=e.previousValue,!(Te.includes(t)||Ee.includes(t)&&((e,t)=>{if(t===e)return!0;if(""===t||""===e)return!1;let s,i;try{s=JSON.parse(t),i=JSON.parse(e)}catch(e){return!0}return s.length===i.length&&s.every(((e,t)=>e.keyword===i[t].keyword))})(i,s)||s===i);var t,s,i}))&&(Da=!0,Ma(Da),$e.internal("document/save/set-is-modified",{status:!0}))})),t.start(),ve("editor/documents/open","yoast-seo/document/open",(()=>{YoastSEO.store._freeze(!1),t.start(),(0,l.doAction)("yoast.elementor.toggleFreeze",{isFreeze:!1,isDiscard:!1})}),(({id:e})=>Se(e))),_e("editor/documents/close","yoast-seo/document/close",(0,c.throttle)((({mode:e})=>{t.stop(),"discard"===e&&(YoastSEO.store._restoreSnapshot(),t.restoreSnapshot(),Da=!1,Ce(Da));const s=()=>{YoastSEO.store._freeze(!0),(0,l.doAction)("yoast.elementor.toggleFreeze",{isFreeze:!0,isDiscard:"discard"===e}),(0,l.removeAction)("yoast.elementor.save.success","yoast/yoast-seo/finishClosingDocument"),(0,l.removeAction)("yoast.elementor.save.failure","yoast/yoast-seo/finishClosingDocument")};if(Fa)return(0,l.addAction)("yoast.elementor.save.success","yoast/yoast-seo/finishClosingDocument",s),void(0,l.addAction)("yoast.elementor.save.failure","yoast/yoast-seo/finishClosingDocument",s);s()}),500,{leading:!0,trailing:!1}),(({id:e})=>Se(e))),ke("document/save/save","yoast-seo/document/save",(async({document:s})=>{if(Fa=!0,!Se(s.id))return;if(s.id!==elementor.config.document.revisions.current_id)return;Da=!1;const{success:i,formData:o,data:r,xhr:n}=await(e=>new Promise((t=>{const s=jQuery(e).serializeArray().reduce(((e,{name:t,value:s})=>(e[t]=s,e)),{});jQuery.post(e.getAttribute("action"),s).done((({success:e,data:i},o,r)=>t({success:e,formData:s,data:i,xhr:r}))).fail((e=>t({success:!1,formData:s,xhr:e})))})))(e);if(!i)return Da=!0,Fa=!1,void(0,l.doAction)("yoast.elementor.save.failure");r.slug&&r.slug!==o.slug&&(0,a.dispatch)("yoast-seo/editor").updateData({slug:r.slug}),(0,a.dispatch)("yoast-seo/editor").setEditorDataSlug(r.slug),Ce(Da),(0,l.doAction)("yoast.elementor.save.success",n),YoastSEO.store._takeSnapshot(),t.takeSnapshot(),Fa=!1}),(({document:e})=>Se((null==e?void 0:e.id)||elementor.documents.getCurrent().id))),setTimeout((()=>{YoastSEO.store._takeSnapshot(),t.takeSnapshot()}),2e3)},qa=window.yoast.reduxJsToolkit,Na="adminUrl",Ua=(0,qa.createSlice)({name:Na,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),Wa=(Ua.getInitialState,{selectAdminUrl:e=>(0,c.get)(e,Na,"")});Wa.selectAdminLink=(0,qa.createSelector)([Wa.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),Ua.actions,Ua.reducer;const Ba="hasConsent",$a=(0,qa.createSlice)({name:Ba,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),Ka=($a.getInitialState,$a.actions,$a.reducer,"linkParams"),Ha=(0,qa.createSlice)({name:Ka,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),za=(Ha.getInitialState,{selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${Ka}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,Ka,{})});za.selectLink=(0,qa.createSelector)([za.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,dt.addQueryArgs)(t,{...e,...s}))),Ha.actions,Ha.reducer;const Va=(0,qa.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:i,description:o})=>({payload:{id:e||(0,qa.nanoid)(),variant:t,size:s,title:i||"",description:o}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),Ya=(Va.getInitialState,Va.actions,Va.reducer,"pluginUrl"),Ga=(0,qa.createSlice)({name:Ya,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),Za=(Ga.getInitialState,{selectPluginUrl:e=>(0,c.get)(e,Ya,"")});Za.selectImageLink=(0,qa.createSelector)([Za.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/"))),Ga.actions,Ga.reducer;const Qa="wistiaEmbedPermission",Xa=(0,qa.createSlice)({name:Qa,initialState:{value:!1,status:ot,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Qa}/request`,(e=>{e.status=rt})),e.addCase(`${Qa}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${Qa}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}}))}}),Ja=(Xa.getInitialState,{selectWistiaEmbedPermission:e=>(0,c.get)(e,Qa,{value:!1,status:ot}),selectWistiaEmbedPermissionValue:e=>(0,c.get)(e,[Qa,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,c.get)(e,[Qa,"status"],ot),selectWistiaEmbedPermissionError:e=>(0,c.get)(e,[Qa,"error"],{})}),el=(Xa.actions,{[Qa]:async({payload:e})=>Rr()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});var tl;Xa.reducer;const sl="documentTitle",il=(0,qa.createSlice)({name:sl,initialState:(0,c.defaultTo)(null===(tl=document)||void 0===tl?void 0:tl.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),ol=(il.getInitialState,{selectDocumentTitle:e=>(0,c.get)(e,sl,""),selectDocumentFullTitle:(e,{prefix:t=""}={})=>{const s=(0,c.get)(e,sl,"");return s.startsWith(t)?s:`${t} ‹ ${s}`}});function rl({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function nl({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}il.actions,il.reducer;const al=async({countryCode:e,keyphrase:t})=>(Rr()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}}),Rr()({path:(0,dt.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:e})})),ll=el[Qa];class cl{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}static get slugElement(){return document.getElementById("yoast_wpseo_slug")}static get title(){return cl.titleElement.value}static set title(e){cl.titleElement.value=e}static get description(){return cl.descriptionElement.value}static set description(e){cl.descriptionElement.value=e}static get slug(){return cl.slugElement.value}static set slug(e){cl.slugElement.value=e}}const{UPDATE_DATA:dl,LOAD_SNIPPET_EDITOR_DATA:pl}=u.actions;function ul(e){if(e.hasOwnProperty("title")){let t=e.title;e.title===(0,c.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),cl.title=t}if(e.hasOwnProperty("description")){let t=e.description;e.description===(0,c.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(t=""),cl.description=t}return e.hasOwnProperty("slug")&&(cl.slug=e.slug),{type:dl,data:e}}const hl=()=>{const e=(0,c.get)(window,"wpseoScriptData.metabox.title_template",""),t=(0,c.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:pl,data:{title:cl.title||e,description:cl.description||t,slug:cl.slug},templates:{title:e,description:t}}},gl="yoast-measurement-element";function ml(e){let t=document.getElementById(gl);return t||(t=function(){const e=document.createElement("div");return e.id=gl,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}const{getEditorDataSlug:yl,getEditorDataTitle:wl,getSnippetEditorDescription:fl,getSnippetEditorSlug:bl,getSnippetEditorTitle:xl}=u.selectors,_l=(0,qa.createSelector)([yl,bl,wl,()=>(0,c.get)(window,"elementor.documents.currentDocument.id",0)],((e,t,s,i)=>t||e||(0,dt.cleanForSlug)(s)||String(i))),vl=(0,qa.createSelector)([xl,fl,_l],((e,t,s)=>({title:e,description:t,slug:s}))),{getBaseUrlFromSettings:kl,getContentLocale:Sl,getEditorDataContent:Rl,getFocusKeyphrase:Tl,getSnippetEditorDescriptionWithTemplate:El,getSnippetEditorTitleWithTemplate:jl,getDateFromSettings:Cl}=u.selectors,Il=e=>{let t=jl(e),s=El(e),i=_l(e);const o=kl(e);return t=jt.strings.stripHTMLTags(E("data_page_title",t)),s=jt.strings.stripHTMLTags(E("data_meta_desc",s)),i=i.trim().replace(/\s+/g,"-"),{text:Rl(e),title:t,keyword:Tl(e),description:s,locale:Sl(e),titleWidth:ml(t),slug:i,permalink:o+i,date:Cl(e)}};function Ll(e){return(0,c.get)(e,"editorContext.postType")}const Al=(0,qa.createSelector)([Ll],(e=>"product"===e)),Pl=(0,qa.createSelector)([Ll],(e=>["product_cat","product_tag"].includes(e))),Dl=(0,qa.createSelector)([Al,Pl],((e,t)=>e||t)),Fl=e=>{let t=(0,c.get)(e,"editorData.excerpt","");if(""===t){const s="ja"===m()?80:156;t=wi((0,c.get)(e,"editorData.content",""),s)}return t},Ml=e=>(0,c.get)(e,"analysisData.snippet.title",""),Ol=e=>(0,c.get)(e,"analysisData.snippet.description",""),ql=()=>(0,c.get)(window,"wpseoScriptData.metabox.title_template",""),Nl=()=>(0,c.get)(window,"wpseoScriptData.metabox.title_template_no_fallback",""),Ul=()=>(0,c.get)(window,"wpseoScriptData.metabox.social_title_template",""),Wl=()=>(0,c.get)(window,"wpseoScriptData.metabox.metadesc_template",""),Bl=()=>(0,c.get)(window,"wpseoScriptData.metabox.social_description_template",""),$l=e=>{let t="";return(0,c.get)(e,"snippetEditor.replacementVariables",[]).forEach((e=>{"excerpt"===e.name&&(t=e.value)})),t},Kl=e=>(0,c.get)(e,"facebookEditor.title",""),Hl=e=>(0,c.get)(e,"facebookEditor.description",""),zl=(0,qa.createSelector)([Ul,Ml,Nl,ql],((...e)=>e.find(Boolean)||"")),Vl=((0,qa.createSelector)([Kl,zl],((e,t)=>e||t)),(0,qa.createSelector)([Bl,Ol,Wl,$l,Fl],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""}))),Yl=((0,qa.createSelector)([Hl,Vl],((e,t)=>e||t)),(e,t,s=null)=>(0,c.get)(e,`preferences.${t}`,s)),Gl=e=>Yl(e,"isWooCommerceActive",!1),Zl=e=>Yl(e,"isWooCommerceSeoActive",!1);(0,qa.createSelector)([Zl,Gl,Dl],((e,t,s)=>!e&&t&&s)),(0,qa.createSelector)([Zl,Gl,Pl],((e,t,s)=>!e&&t&&s)),(0,qa.createSelector)([Dl,Gl],((e,t)=>t&&e));const Ql=(0,qa.createSelector)([Ul,Kl,Ml,Nl,ql],((...e)=>e.find(Boolean)||"")),Xl=((0,qa.createSelector)([e=>(0,c.get)(e,"twitterEditor.title",""),Ql],((e,t)=>e||t)),(0,qa.createSelector)([Bl,Hl,Ol,Wl,$l,Fl],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})));(0,qa.createSelector)([e=>(0,c.get)(e,"twitterEditor.description",""),Xl],((e,t)=>e||t));const{selectAdminUrl:Jl,selectAdminLink:ec}=Wa,{selectLinkParams:tc,selectLinkParam:sc,selectLink:ic}=za,{selectDocumentFullTitle:oc}=ol,{selectPluginUrl:rc,selectImageLink:nc}=Za,{selectWistiaEmbedPermission:ac,selectWistiaEmbedPermissionValue:lc,selectWistiaEmbedPermissionStatus:cc,selectWistiaEmbedPermissionError:dc}=Ja,pc=(0,qa.createSelector)([e=>(0,c.get)(e,"settings.snippetEditor.baseUrl",""),_l],((e,t)=>e+t)),uc={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},hc={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},gc={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},mc={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},yc={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},wc={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},fc={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},bc={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},xc={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},_c={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return(0,a.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},vc={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,a.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},kc={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Sc={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Rc={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Tc={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},Ec={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},jc={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Cc={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},Ic={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},Lc={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},Ac={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},Pc={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},Dc={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Fc={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},Mc={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},Oc={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},qc={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Nc={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Uc={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},Wc={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},Bc={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},$c={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return(0,c.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Kc={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},Hc={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},zc={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,a.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Vc={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")};var Yc={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Gc=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,c.defaults)(s,Yc)};Gc.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Gc.prototype.setSource=function(e){this.options.source=e},Gc.prototype.hasScope=function(){return!(0,c.isEmpty)(this.options.scope)},Gc.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Gc.prototype.inScope=function(e){return!this.hasScope()||(0,c.indexOf)(this.options.scope,e)>-1},Gc.prototype.hasAlias=function(){return!(0,c.isEmpty)(this.options.aliases)},Gc.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Gc.prototype.getAliases=function(){return this.options.aliases};const Zc=Gc,Qc="replaceVariablePlugin";let Xc=null,Jc=null;const ed=e=>{["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((t=>{R(t,e,Qc,10)}))},td=(e="")=>{switch(""===e&&(e=(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},sd=e=>ed((t=>t.replace(new RegExp(e.placeholder,"g"),e.replacement))),id=()=>{if(null===Jc){Jc=[];const e=(0,c.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===Xc&&(Xc=td().map((e=>null==n?void 0:n[e])).filter(Boolean)),Xc).forEach((t=>{const s=e.includes(t.name);Jc.push({name:t.name,label:t.label,value:t.placeholder,hidden:s}),t.aliases.forEach((e=>{Jc.push({name:e.name,label:e.label,value:e.placeholder,hidden:s})}))}))}return Jc};const od={content:"",title:"",excerpt:"",slug:"",imageUrl:"",featuredImage:"",contentImage:"",excerptOnly:""},rd="yoastmark";function nd(e=elementor.documents.getCurrent()){var t,s;let i=null===(t=e.$element)||void 0===t?void 0:t.find(".elementor-widget-container");var o;return null!==(s=i)&&void 0!==s&&s.length||(i=null===(o=e.$element)||void 0===o?void 0:o.find(".elementor-widget").children().not(".elementor-background-overlay, .elementor-element-overlay, .ui-resizable-handle")),i}function ad(e,t=!1){let s=elementor.settings.page.model.get("post_excerpt");return t?s||"":(s||(s=wi(e,"ja"===m()?80:156)),s)}function ld(){const e=elementor.documents.getCurrent();if(!Re())return;if(!["wp-post","wp-page"].includes(e.config.type))return;if((0,a.select)("yoast-seo/editor").getActiveMarker())return;const t=function(e){const t=function(e){var t;const s=[];return null===(t=nd(e))||void 0===t||t.each(((e,t)=>{const i=t.innerHTML.replace(/[\n\t]/g,"").trim();s.push(i)})),s.join("")}(e),s=(0,c.get)(elementor.settings.page.model.get("post_featured_image"),"url",""),i=function(e){const t=d.languageProcessing.imageInText(e);if(0===t.length)return"";const s=jQuery.parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}(t);return{content:t,title:elementor.settings.page.model.get("post_title"),excerpt:ad(t),excerptOnly:ad(t,!0),imageUrl:s||i,featuredImage:s,contentImage:i,status:elementor.settings.page.model.get("post_status")}}(e);t.content!==od.content&&(od.content=t.content,(0,a.dispatch)("yoast-seo/editor").setEditorDataContent(od.content)),t.title!==od.title&&(od.title=t.title,(0,a.dispatch)("yoast-seo/editor").setEditorDataTitle(od.title)),t.excerpt!==od.excerpt&&(od.excerpt=t.excerpt,od.excerptOnly=t.excerptOnly,(0,a.dispatch)("yoast-seo/editor").setEditorDataExcerpt(od.excerpt),(0,a.dispatch)("yoast-seo/editor").updateReplacementVariable("excerpt",od.excerpt),(0,a.dispatch)("yoast-seo/editor").updateReplacementVariable("excerpt_only",od.excerptOnly)),t.imageUrl!==od.imageUrl&&(od.imageUrl=t.imageUrl,(0,a.dispatch)("yoast-seo/editor").setEditorDataImageUrl(od.imageUrl)),t.contentImage!==od.contentImage&&(od.contentImage=t.contentImage,(0,a.dispatch)("yoast-seo/editor").setContentImage(od.contentImage)),t.featuredImage!==od.featuredImage&&(od.featuredImage=t.featuredImage,(0,a.dispatch)("yoast-seo/editor").updateData({snippetPreviewImageURL:od.featuredImage}))}function cd(){nd().each(((e,t)=>{-1!==t.innerHTML.indexOf("<"+rd)&&(t.innerHTML=d.markers.removeMarks(t.innerHTML))})),(0,a.dispatch)("yoast-seo/editor").setActiveMarker(null),(0,a.dispatch)("yoast-seo/editor").setMarkerPauseStatus(!1),YoastSEO.analysis.applyMarks(new d.Paper("",{}),[])}const dd=(0,c.debounce)(ld,500);function pd(e,t){const{updateWordsToHighlight:s}=(0,a.dispatch)("yoast-seo/editor");e("morphology",new d.Paper("",{keyword:t})).then((({result:{keyphraseForms:e}})=>{s((0,c.uniq)((0,c.flatten)(e)))})).catch((()=>{s([])}))}const ud=(0,c.debounce)(pd,500);var hd=jQuery;function gd(e,t,s,i,o){this._scriptUrl=i,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=hd("#post_ID, [name=tag_ID]").val(),this._taxonomy=hd("[name=taxonomy]").val()||"",this._nonce=o,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}function md(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=function(){const{snapshotReducer:s,takeSnapshot:n,restoreSnapshot:l}=((e,t)=>{let s,i=!1,o=!1;return{snapshotReducer:(o=t,r)=>i?(i=!1,s):e(o,r),takeSnapshot:(e,t)=>{t({type:"CREATE_SNAPSHOT"}),s=(0,c.cloneDeep)(e()),o=!0},restoreSnapshot:e=>{o&&(i=!0,e({type:"RESTORE_SNAPSHOT"}))}}})((0,a.combineReducers)(u.reducers)),{freezeReducer:d,toggleFreeze:p}=((e,t)=>{let s=!1,i=null;return{freezeReducer:(o=t,r)=>s?i:e(o,r),toggleFreeze:(e,t=!s)=>{i=t?(0,c.cloneDeep)(e()):null,s=Boolean(t)}}})(s),h=(0,a.registerStore)("yoast-seo/editor",{reducer:d,selectors:{...u.selectors,...o,...i,...r},actions:(0,c.pickBy)({...u.actions,...t},(e=>"function"==typeof e)),controls:e,initialState:{snippetEditor:{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:(0,je.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,je.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,je.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,je.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,je.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,je.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,je.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,je.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,je.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,je.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,je.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,je.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,je.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,je.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,je.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,je.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,je.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,je.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0,replacementVariables:id()}}});return(e=>{e.dispatch(u.actions.loadCornerstoneContent()),e.dispatch(u.actions.loadFocusKeyword()),e.dispatch(u.actions.setMarkerStatus(window.wpseoScriptData.metabox.elementorMarkerStatus)),e.dispatch(u.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.sitewideSocialImage,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));const{facebook:t,twitter:s}=window.wpseoScriptData.metabox.showSocial;t&&e.dispatch(u.actions.loadFacebookPreviewData()),s&&e.dispatch(u.actions.loadTwitterPreviewData()),e.dispatch(u.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(u.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(u.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(u.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(u.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(u.actions.setDismissedAlerts((0,c.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(u.actions.setCurrentPromotions((0,c.get)(window,"wpseoScriptData.currentPromotions",{}))),e.dispatch(u.actions.setIsPremium(Boolean((0,c.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(u.actions.setAdminUrl((0,c.get)(window,"wpseoScriptData.adminUrl",""))),e.dispatch(u.actions.setLinkParams((0,c.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(u.actions.setPluginUrl((0,c.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(u.actions.setWistiaEmbedPermissionValue("1"===(0,c.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)));const i=document.getElementById("yoast_wpseo_slug");i&&e.dispatch(u.actions.setEditorDataSlug(i.value))})(h),h._freeze=p.bind(null,h.getState),h._takeSnapshot=n.bind(null,h.getState,h.dispatch),h._restoreSnapshot=l.bind(null,h.dispatch),h}(),function(){ve("panel/editor/open","yoast-seo/marks/reset-on-edit",(0,c.debounce)(cd,500),Re),ve("document/save/save","yoast-seo/marks/reset-on-save",cd,(({document:e})=>Se((null==e?void 0:e.id)||elementor.documents.getCurrent().id)));const e=(e=>{const t=new MutationObserver(e);return(e=document)=>(t.observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),()=>t.disconnect())})(dd);let t=c.noop;_e("editor/documents/close","yoast-seo/content-scraper/stop",(()=>{t(),t=c.noop,dd.cancel()}),(({id:e})=>Se(e))),_e("editor/documents/attach-preview","yoast-seo/content-scraper/start",(()=>{t=e()}),Re),_e("document/save/set-is-modified","yoast-seo/content-scraper/on-modified",dd,(({document:e})=>Se((null==e?void 0:e.id)||elementor.documents.getCurrent().id))),ld()}(),window.YoastSEO.pluginReady=k,window.YoastSEO.pluginReloaded=S,window.YoastSEO.registerModification=R,window.YoastSEO.registerPlugin=T,window.YoastSEO.applyModifications=E,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=(0,a.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=function(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=(0,a.select)("yoast-seo/editor"),s=function(){const e=(0,c.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,d.createWorker)(e),s=(0,c.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),i=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const o=t.innerHTML.slice(214),r=o.indexOf(","),n=o.slice(0,r-1);try{const e=/}}\s*\);/.exec(o).index+2,t=JSON.parse(o.slice(r+1,e));i.push([n,t])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:i}),new d.AnalysisWorkerWrapper(t)}();s.initialize(function(e={}){const t={locale:m(),contentAnalysisActive:y(),keywordAnalysisActive:w(),inclusiveLanguageAnalysisActive:f(),defaultQueryParams:(0,c.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,c.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,b.enabledFeatures)()};return(0,c.merge)(t,e)}({useCornerstone:t(),marker:ee()})).catch(p),window.YoastSEO.analysis.applyMarks=(e,t)=>ee()(e,t);let i=se(),o=t(),r=e();return(0,a.subscribe)((()=>{const n=t(),a=se(),l=e();if(n!==o)return o=n,i=a,void s.initialize({useCornerstone:n}).then((()=>te(s,a))).catch(p);l===r&&!1!==(0,c.isEqual)(a,i)||(i=a,r=l,te(s,a))})),s}(),window.YoastSEO.analysis.collectData=se,T(Qc,{status:"ready"}),td().forEach((e=>{const t=null==n?void 0:n[e];if(t){const e=(({getReplacement:e,regexp:t})=>s=>s.replace(t,e()))(t);ed(e)}})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:sd,ReplaceVar:Zc},function(){const e=g(),t=(0,c.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),s=(0,c.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),i=new gd("get_focus_keyword_usage_and_post_types",e,(0,a.dispatch)("yoast-seo/editor").runAnalysis,t,s);i.init();let o="";(0,a.subscribe)((()=>{const e=(0,a.select)("yoast-seo/editor").getFocusKeyphrase();e!==o&&(o=e,i.setKeyword(e))}))}(),(()=>{if((0,a.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,a.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,a.subscribe)((0,c.debounce)(ie(),1500,{maxWait:3e3}))})(),function(e){const{getFocusKeyphrase:t}=(0,a.select)("yoast-seo/editor");let s=t();pd(e,s),(0,a.subscribe)((()=>{const i=t();s!==i&&(s=i,ud(e,i))}))}(window.YoastSEO.analysis.worker.runResearch),"1"===window.wpseoScriptData.isAlwaysIntroductionV2||window.elementorFrontend.config.experimentalFeatures.editor_v2?function(){var e,t,s,i;const o="yoast-introduction-editor-v2";if(null!==(e=window.elementor)&&void 0!==e&&null!==(t=e.config)&&void 0!==t&&null!==(s=t.user)&&void 0!==s&&null!==(i=s.introduction)&&void 0!==i&&i[o])return;const r=new window.elementorModules.editor.utils.Introduction({introductionKey:o,dialogType:"buttons",dialogOptions:{id:o,className:"elementor-right-click-introduction yoast-elementor-introduction",headerMessage:(0,je.__)("Yoast SEO for Elementor","wordpress-seo"),message:(0,je.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"center top",at:"center bottom+12",autoRefresh:!0,using(e,t){const s=t.target.left-t.element.left+t.target.width/2-8;this.style.setProperty("--yoast-elementor-introduction-arrow",s+"px");const i=t.target.element.closest("#elementor-panel-inner header"),o=i?i.offsetHeight:0;o&&o>e.top-12?this.style.top=o+20+"px":this.style.top=e.top+"px",this.style.left=e.left+"px"}},hide:{onOutsideClick:!1}},onDialogInitCallback(e){window.$e.routes.on("run:after",((t,s)=>{r.introductionViewed||"panel/elements/yoast-seo-tab"!==s&&s.startsWith("panel/elements")||(e.hide(),r.setViewed())})),window.elementor.channels.dataEditMode.on("switch",(t=>{"preview"!==t||r.introductionViewed||(e.hide(),r.setViewed())})),e.addButton({name:"ok",text:(0,je.__)("Got it","wordpress-seo"),classes:"elementor-button elementor-button-success",callback:()=>{e.hide(),r.setViewed()}})}});setTimeout((function e(){if(r.introductionViewed)return;const t=document.querySelector("button[data-tab='yoast-seo-tab']");t?(r.getDialog().setSettings("position",{...r.getDialog().getSettings("position"),of:t}),r.show(t)):setTimeout(e,100)}),100)}():function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;const e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction yoast-elementor-introduction",headerMessage:(0,je.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:(0,je.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:t=>{window.$e.routes.on("run:after",(function(e,s){"panel/menu"===s&&t.getElements("ok").trigger("click")})),t.addButton({name:"ok",text:(0,je.__)("Got it","wordpress-seo"),callback:()=>e.setViewed()}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}(),Oa(),ke("editor/documents/load","yoast-seo/add-elements-tab",Ea,(({config:e})=>Se(e.id))),window.elementor.hooks.addFilter("panel/elements/regionViews",ja),window.$e&&window.$e.routes&&window.$e.routes.on("run:after",((e,t)=>{t===`${Sa}/${ka}`&&Ta()})),Ea(),(0,l.doAction)("yoast.elementor.loaded")}gd.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,c.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,c.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},gd.prototype.setKeyword=function(e){(0,c.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},gd.prototype.requestKeywordUsage=function(e){hd.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},gd.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,i=t.keyword_usage,o=t.post_types;i&&(0,c.isArray)(i)&&(this._keywordUsage[e]=i,this._usedKeywordsPostTypes[e]=o,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))},jQuery(window).on("elementor:init",(()=>{window.elementor.on("panel:init",(()=>{setTimeout(md)}))}))})()})(); dist/support.js 0000644 00000105060 15174677550 0007604 0 ustar 00 (()=>{var e={4184:(e,s)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],s=0;s<arguments.length;s++){var t=arguments[s];if(t){var i=typeof t;if("string"===i||"number"===i)e.push(t);else if(Array.isArray(t)){if(t.length){var n=o.apply(null,t);n&&e.push(n)}}else if("object"===i){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var a in t)r.call(t,a)&&t[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(t=function(){return o}.apply(s,[]))||(e.exports=t)}()}},s={};function t(r){var o=s[r];if(void 0!==o)return o.exports;var i=s[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),(()=>{"use strict";const e=window.wp.components,s=window.wp.data,r=window.wp.domReady;var o=t.n(r);const i=window.wp.element,n=window.yoast.uiLibrary,a=window.lodash,l=window.wp.i18n,c=window.yoast.reduxJsToolkit,d="adminUrl",p=(0,c.createSlice)({name:d,initialState:"",reducers:{setAdminUrl:(e,{payload:s})=>s}}),u=(p.getInitialState,{selectAdminUrl:e=>(0,a.get)(e,d,"")});u.selectAdminLink=(0,c.createSelector)([u.selectAdminUrl,(e,s)=>s],((e,s="")=>{try{return new URL(s,e).href}catch(s){return e}})),p.actions,p.reducer,window.wp.apiFetch;const m="hasConsent",y=(0,c.createSlice)({name:m,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:s})=>{e.hasConsent=s},setAiGeneratorConsentEndpoint:(e,{payload:s})=>{e.endpoint=s}}}),h=(y.getInitialState,y.actions,y.reducer,window.wp.url),g="linkParams",f=(0,c.createSlice)({name:g,initialState:{},reducers:{setLinkParams:(e,{payload:s})=>s}}),w=f.getInitialState,x={selectLinkParam:(e,s,t={})=>(0,a.get)(e,`${g}.${s}`,t),selectLinkParams:e=>(0,a.get)(e,g,{})};x.selectLink=(0,c.createSelector)([x.selectLinkParams,(e,s)=>s,(e,s,t={})=>t],((e,s,t)=>(0,h.addQueryArgs)(s,{...e,...t})));const _=f.actions,v=f.reducer,j=(0,c.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:s})=>{e[s.id]={id:s.id,variant:s.variant,size:s.size,title:s.title,description:s.description}},prepare:({id:e,variant:s="info",size:t="default",title:r,description:o})=>({payload:{id:e||(0,c.nanoid)(),variant:s,size:t,title:r||"",description:o}})},removeNotification:(e,{payload:s})=>(0,a.omit)(e,s)}}),b=(j.getInitialState,j.actions,j.reducer,"pluginUrl"),k=(0,c.createSlice)({name:b,initialState:"",reducers:{setPluginUrl:(e,{payload:s})=>s}}),S=(k.getInitialState,{selectPluginUrl:e=>(0,a.get)(e,b,"")});S.selectImageLink=(0,c.createSelector)([S.selectPluginUrl,(e,s,t="images")=>t,(e,s)=>s],((e,s,t)=>[(0,a.trimEnd)(e,"/"),(0,a.trim)(s,"/"),(0,a.trimStart)(t,"/")].join("/"))),k.actions,k.reducer;const R="loading",E="wistiaEmbedPermission",C=(0,c.createSlice)({name:E,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:s})=>{e.value=Boolean(s)}},extraReducers:e=>{e.addCase(`${E}/request`,(e=>{e.status=R})),e.addCase(`${E}/success`,((e,{payload:s})=>{e.status="success",e.value=Boolean(s&&s.value)})),e.addCase(`${E}/error`,((e,{payload:s})=>{e.status="error",e.value=Boolean(s&&s.value),e.error={code:(0,a.get)(s,"error.code",500),message:(0,a.get)(s,"error.message","Unknown")}}))}});var q;C.getInitialState,C.actions,C.reducer;const P=(0,c.createSlice)({name:"documentTitle",initialState:(0,a.defaultTo)(null===(q=document)||void 0===q?void 0:q.title,""),reducers:{setDocumentTitle:(e,{payload:s})=>s}}),N=(P.getInitialState,P.actions,P.reducer,window.React),L=N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),O=(e,s)=>{try{return(0,i.createInterpolateElement)(e,s)}catch(s){return console.error("Error in translation for:",e,s),e}};var A=t(4184),U=t.n(A);const M=N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),$=window.yoast.propTypes;var I=t.n($);const B=window.ReactJSXRuntime,H=({link:e})=>{const s=(0,i.useMemo)((()=>O((0,l.sprintf)(/* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ (0,l.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:(0,B.jsx)("a",{href:e,target:"_blank",rel:"noopener",children:"Yoast SEO academy"})})),[]);return(0,B.jsxs)(n.Paper,{as:"div",className:"yst-p-6 yst-space-y-3",children:[(0,B.jsx)(n.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500",children:(0,l.__)("Learn SEO","wordpress-seo")}),(0,B.jsxs)("p",{children:[s,(0,B.jsx)("br",{}),(0,l.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")]}),(0,B.jsxs)(n.Link,{href:e,className:"yst-block yst-font-medium",target:"_blank",rel:"noopener",children:[(0,l.sprintf)(/* translators: %1$s expands to "Yoast SEO academy". */ (0,l.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy"),(0,B.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,l.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,B.jsx)(M,{className:"yst-w-3 yst-h-3 yst-mb-[1px] yst-icon-rtl yst-inline-block"})]})]})};H.propTypes={link:I().string.isRequired},N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));const T=N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));I().string.isRequired,I().string.isRequired,I().shape({src:I().string.isRequired,width:I().string,height:I().string}).isRequired,I().shape({value:I().bool.isRequired,status:I().string.isRequired,set:I().func.isRequired}).isRequired,I().string,I().string,I().string;const z=({handleRefreshClick:e,supportLink:s})=>(0,B.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,B.jsx)(n.Button,{onClick:e,children:(0,l.__)("Refresh this page","wordpress-seo")}),(0,B.jsx)(n.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener",children:(0,l.__)("Contact support","wordpress-seo")})]});z.propTypes={handleRefreshClick:I().func.isRequired,supportLink:I().string.isRequired};const W=({handleRefreshClick:e,supportLink:s})=>(0,B.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,B.jsx)(n.Button,{className:"yst-order-last",onClick:e,children:(0,l.__)("Refresh this page","wordpress-seo")}),(0,B.jsx)(n.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener",children:(0,l.__)("Contact support","wordpress-seo")})]});W.propTypes={handleRefreshClick:I().func.isRequired,supportLink:I().string.isRequired};const F=({error:e,children:s=null})=>(0,B.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,B.jsx)(n.Title,{children:(0,l.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,B.jsx)("p",{children:(0,l.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,B.jsx)(n.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,l.__)("Undefined error message.","wordpress-seo")}),(0,B.jsx)("p",{children:(0,l.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),s]});F.propTypes={error:I().object.isRequired,children:I().node},F.VerticalButtons=W,F.HorizontalButtons=z;const G={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},Y=({id:e,children:s,title:t,description:r=null,variant:o="2xl"})=>(0,B.jsxs)("section",{id:e,className:G.variant[o].grid,children:[(0,B.jsx)("div",{className:G.variant[o].col1,children:(0,B.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,B.jsx)(n.Title,{as:"h2",size:"4",children:t}),r&&(0,B.jsx)("p",{className:"yst-mt-2",children:r})]})}),(0,B.jsxs)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${G.variant[o].col2}`,children:[(0,B.jsx)("legend",{className:"yst-sr-only",children:t}),(0,B.jsx)("div",{className:"yst-space-y-8",children:s})]})]});Y.propTypes={id:I().string,children:I().node.isRequired,title:I().node.isRequired,description:I().node,variant:I().oneOf(Object.keys(G.variant))};const V=window.ReactDOM;var Q,Z,D;(Z=Q||(Q={})).Pop="POP",Z.Push="PUSH",Z.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(D||(D={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const J=["post","put","patch","delete"],X=(new Set(J),["get",...J]);new Set(X),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),N.Component,N.startTransition,new Promise((()=>{})),N.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var K,ee,se,te;new Map,N.startTransition,V.flushSync,N.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(te=K||(K={})).UseScrollRestoration="useScrollRestoration",te.UseSubmit="useSubmit",te.UseSubmitFetcher="useSubmitFetcher",te.UseFetcher="useFetcher",te.useViewTransitionState="useViewTransitionState",(se=ee||(ee={})).UseFetcher="useFetcher",se.UseFetchers="useFetchers",se.UseScrollRestoration="useScrollRestoration",I().string.isRequired,I().string;I().string.isRequired,I().node;const re=N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),oe=[(0,l.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,l.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,l.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,l.__)("Optimize pages for multiple keywords with guidance","wordpress-seo")],ie=[(0,l.__)("Add product details to help your listings stand out","wordpress-seo"),(0,l.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,l.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,l.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo")],ne=[(0,l.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,l.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,l.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,l.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,l.__)("Internal links and redirect management, easy","wordpress-seo"),(0,l.__)("Access to friendly help when you need it, day or night","wordpress-seo")],ae=(e=!1)=>e?oe:ne,le=(e=!1)=>{if(e)return ie;const s=[...ne];return s[1]=(0,l.__)("Boost visibility for your products, from 10 or 10,000+","wordpress-seo"),s};var ce,de;function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},pe.apply(null,arguments)}const ue=e=>N.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",id:"yoast-premium-logo-new_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 200 200"},e),ce||(ce=N.createElement("defs",null,N.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#9fda4f"}),N.createElement("stop",{offset:1,stopColor:"#77b227"})),N.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-2",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#fec228"}),N.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),N.createElement("stop",{offset:1,stopColor:"#f49a00"})),N.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-3",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#ff4e47"}),N.createElement("stop",{offset:1,stopColor:"#ed261f"})),N.createElement("linearGradient",{id:"yoast-premium-logo-new_svg__linear-gradient",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:.17,stopColor:"#5d237a"}),N.createElement("stop",{offset:.42,stopColor:"#7c2072"}),N.createElement("stop",{offset:.71,stopColor:"#9a1e6b"}),N.createElement("stop",{offset:.87,stopColor:"#a61e69"})),N.createElement("style",null,".yoast-premium-logo-new_svg__cls-6{fill:#cd82ab}"))),N.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#yoast-premium-logo-new_svg__linear-gradient)"}}),N.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient)"}}),N.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-2)"}}),N.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-3)"}}),N.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),de||(de=N.createElement("path",{d:"M172.2 175.15h-33.59v2.95h33.59v-2.95ZM163.12 163.51l-7.72-14.2-7.72 14.2-11.88-8.44 2.8 18.99h33.59l2.8-18.99-11.88 8.44Z",className:"yoast-premium-logo-new_svg__cls-6"})));var me;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ye.apply(null,arguments)}const he=e=>N.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 200 200"},e),me||(me=N.createElement("defs",null,N.createElement("radialGradient",{id:"woo-seo-logo-new_svg__b",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#9fda4f"}),N.createElement("stop",{offset:1,stopColor:"#77b227"})),N.createElement("radialGradient",{id:"woo-seo-logo-new_svg__c",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#fec228"}),N.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),N.createElement("stop",{offset:1,stopColor:"#f49a00"})),N.createElement("radialGradient",{id:"woo-seo-logo-new_svg__d",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:0,stopColor:"#ff4e47"}),N.createElement("stop",{offset:1,stopColor:"#ed261f"})),N.createElement("linearGradient",{id:"woo-seo-logo-new_svg__a",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},N.createElement("stop",{offset:.17,stopColor:"#0e1e65"}),N.createElement("stop",{offset:.48,stopColor:"#064b8d"}),N.createElement("stop",{offset:.73,stopColor:"#0169a8"}),N.createElement("stop",{offset:.87,stopColor:"#0075b3"})))),N.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#woo-seo-logo-new_svg__a)"}}),N.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#woo-seo-logo-new_svg__b)"}}),N.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#woo-seo-logo-new_svg__c)"}}),N.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#woo-seo-logo-new_svg__d)"}}),N.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),N.createElement("path",{d:"M171.68 147.89a2.9 2.9 0 0 0-2.81 2.16l-.36 1.34c-8.43-.15-16.85.83-25.01 2.9-.03 0-.05.01-.08.02-.61.21-.94.86-.73 1.47a90.79 90.79 0 0 0 4.59 11.2c.19.4.6.65 1.05.65h17.38c1.47 0 2.79.93 3.29 2.32h-23.04a1.16 1.16 0 0 0 0 2.32h24.4c.64 0 1.16-.52 1.16-1.16 0-2.65-1.78-4.95-4.35-5.62l3.97-14.86a.58.58 0 0 1 .56-.43h2.14a1.16 1.16 0 0 0 0-2.32h-2.15Zm-2.5 30.21c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Zm-19.75 0c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Z",style:{fill:"#a1cce3"}})),ge=({link:e,linkProps:s,isPromotionActive:t,isWooCommerceActive:r})=>{const o=r?le:ae,a=(0,i.useMemo)((()=>r?(0,l.__)("Grow your store's visibility!","wordpress-seo"):(0,l.__)("Spend less time on SEO tasks!","wordpress-seo")),[r]),c=(0,i.useMemo)((()=>r?(0,l.__)("Help ready-to-buy shoppers and search engines find your product.","wordpress-seo"):(0,l.__)("Optimize your site faster, smarter, and with more confidence.","wordpress-seo")),[r]);let d=(0,l.__)("Buy now","wordpress-seo");const p=(0,i.useMemo)((()=>r?(0,l.__)("Less friction. Smarter optimization.","wordpress-seo"):(0,l.__)("Less friction. Faster publishing.","wordpress-seo")),[r]),u=O(r?(0,l.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,l.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast WooCommerce SEO"):(0,l.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,l.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast SEO Premium"),{nowrap:(0,B.jsx)("span",{className:"yst-whitespace-nowrap"})}),m=t("black-friday-promotion");return m&&(d=(0,l.__)("Buy now for 30% off","wordpress-seo")),(0,B.jsxs)("div",{className:U()("yst-p-6 yst-rounded-lg yst-text-slate-600 yst-bg-white yst-shadow yst-border",r?"yst-border-woo-light yst-border-opacity-50":"yst-border-primary-300"),children:[(0,B.jsx)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-relative yst-z-10 yst-mt-[-2.6rem]",children:r?(0,B.jsx)(he,{}):(0,B.jsx)(ue,{})}),m&&(0,B.jsx)("div",{className:"sidebar__sale_banner_container",children:(0,B.jsx)("div",{className:"sidebar__sale_banner",children:(0,B.jsx)("span",{className:"banner_text",children:(0,l.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})})}),(0,B.jsx)(n.Title,{as:"h2",className:U()("yst-mt-6 yst-text-xl yst-font-semibold",r?"yst-text-woo-light":"yst-text-primary-500"),children:u}),(0,B.jsx)("p",{className:"yst-mt-3 yst-font-medium yst-text-slate-800",children:a}),(0,B.jsx)("p",{className:"yst-mt-1 yst-font-normal",children:c}),(0,B.jsx)("ul",{className:"yst-list-outside yst-text-slate-600 yst-mt-4 yst-flex yst-flex-col yst-gap-2",children:o(!0).map(((e,s)=>(0,B.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,B.jsx)(re,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${s}`)))}),(0,B.jsxs)(n.Button,{as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500",...s,children:[(0,B.jsx)("span",{children:d}),(0,B.jsx)(T,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"})]}),(0,B.jsx)("p",{className:"yst-text-center yst-text-xs yst-font-normal yst-leading-5 yst-text-slate-500 yst-italic yst-mt-3 yst-mb-2",children:p}),(0,B.jsx)("hr",{className:"yst-border-t yst-border-slate-200 yst-my-4"}),(0,B.jsxs)("ul",{className:"yst-text-center yst-text-xs yst-font-medium yst-text-slate-800 yst-list-none",children:[(0,B.jsx)("li",{children:(0,l.__)("30-day money back guarantee","wordpress-seo")}),(0,B.jsx)("li",{children:(0,l.__)("24/7 support","wordpress-seo")})]})]})};ge.propTypes={link:I().string.isRequired,linkProps:I().object.isRequired,isPromotionActive:I().func.isRequired},I().string.isRequired,I().object,I().func.isRequired,I().bool.isRequired;const fe=({premiumLink:e,premiumUpsellConfig:s,academyLink:t,isPromotionActive:r,isWooCommerceActive:o})=>(0,B.jsxs)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4",children:[(0,B.jsx)(ge,{link:e,linkProps:s,isPromotionActive:r,isWooCommerceActive:o}),(0,B.jsx)(H,{link:t})]});fe.propTypes={premiumLink:I().string.isRequired,premiumUpsellConfig:I().object.isRequired,academyLink:I().string.isRequired,isPromotionActive:I().func.isRequired,isWooCommerceActive:I().bool.isRequired},N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),I().bool.isRequired,I().func,I().func,I().string.isRequired,I().string.isRequired,I().string.isRequired,I().string.isRequired;window.yoast.reactHelmet;I().string.isRequired,I().shape({src:I().string.isRequired,width:I().string,height:I().string}).isRequired,I().shape({value:I().bool.isRequired,status:I().string.isRequired,set:I().func.isRequired}).isRequired,I().bool;const we=N.forwardRef((function(e,s){return N.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),N.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));I().bool.isRequired,I().func.isRequired,I().func,I().string,I().func.isRequired,I().string.isRequired,I().string.isRequired,I().string.isRequired,I().string.isRequired;const xe="@yoast/support",_e=(e,t=[],...r)=>(0,s.useSelect)((s=>{var t,o;return null===(t=(o=s(xe))[e])||void 0===t?void 0:t.call(o,...r)}),t),ve=({id:e,children:s,title:t,description:r=null})=>{const o=_e("selectPreference",[],"isPremium");return(0,B.jsx)(Y,{id:e,title:t,description:r,variant:o?"lg":"xl",children:s})};ve.propTypes={id:I().string,children:I().node.isRequired,title:I().node.isRequired,description:I().node};const je=({imageSrc:e,title:s,description:t,linkHref:r,linkText:o})=>(0,B.jsxs)(n.Card,{children:[(0,B.jsx)(n.Card.Header,{className:"yst-h-auto yst-p-0",children:(0,B.jsx)("img",{className:"yst-w-full yst-transition yst-duration-200",src:e,alt:"",width:500,height:250,loading:"lazy",decoding:"async"})}),(0,B.jsxs)(n.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3",children:[(0,B.jsx)(n.Title,{as:"h3",children:s}),t]}),(0,B.jsxs)(n.Link,{href:r,className:"yst-flex yst-items-center yst-mt-[18px] yst-no-underline yst-font-medium yst-text-primary-500",target:"_blank",children:[o,(0,B.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,l.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,B.jsx)(we,{className:"yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl"})]})]});je.propTypes={imageSrc:I().string.isRequired,title:I().string.isRequired,description:I().string.isRequired,linkHref:I().string.isRequired,linkText:I().string.isRequired};const be=()=>{document.querySelector("#beacon-container .BeaconFabButtonFrame iframe")?window.Beacon("open"):document.querySelector("#yoast-helpscout-beacon button").click()},ke=()=>{const e=_e("selectPreference",[],"hasPremiumSubscription",!1),t=_e("selectPreference",[],"hasWooSeoSubscription",!1),r=_e("selectPreference",[],"isWooCommerceActive",!1),o=e||t,a=_e("selectUpsellSettingsAsProps"),c=_e("selectPreference",[],"pluginUrl",""),d=_e("selectLinkParams"),p=_e("selectLink",[],"https://yoa.st/3t6"),u=_e("selectLink",[],"https://yoa.st/jj"),m=_e("selectLink",[],"https://yoa.st/admin-sidebar-upsell-woocommerce"),y=_e("selectLink",[],"https://yoa.st/help-center-support-card"),g=_e("selectLink",[],"https://yoa.st/support-forums-support-card"),f=_e("selectLink",[],"https://yoa.st/github-repository-support-card"),w=_e("selectLink",[],"https://yoa.st/contact-support-to-unlock-premium-support-section"),{isPromotionActive:x}=(0,s.useSelect)(xe),_=(0,i.useMemo)((()=>[{title:(0,B.jsxs)("span",{children:["How do I set up ",(0,B.jsx)("strong",{children:"canonical URLs"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/canonical-urls-support-faq",d)},{title:(0,B.jsxs)("span",{children:["How do I use ",(0,B.jsx)("strong",{children:"XML sitemaps"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/xml-sitemaps-support-faq",d)},{title:(0,B.jsxs)("span",{children:["How do I implement ",(0,B.jsx)("strong",{children:"breadcrumbs"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/implement-breadcrumbs-support-faq",d)},{title:(0,B.jsxs)("span",{children:["How do I ",(0,B.jsx)("strong",{children:"submit my sitemap"})," to search engines?"]}),link:(0,h.addQueryArgs)("https://yoa.st/submit-sitemap-support-faq",d)},{title:(0,B.jsxs)("span",{children:["How do I edit my ",(0,B.jsx)("strong",{children:"robots.txt file"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/edit-robots-txt-support-faq",d)},{title:(0,B.jsxs)("span",{children:["What are the ",(0,B.jsx)("strong",{children:"meta robots advanced settings"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/meta-robots-settings-support-faq",d)},{title:(0,B.jsxs)("span",{children:["Where can I find a ",(0,B.jsx)("strong",{children:"glossary"})," of SEO terms?"]}),link:(0,h.addQueryArgs)("https://yoa.st/seo-terms-vocabulary-support-faq",d)},{title:(0,B.jsxs)("span",{children:["What are ",(0,B.jsx)("strong",{children:"transition words"}),"?"]}),link:(0,h.addQueryArgs)("https://yoa.st/transition-words-support-faq",d)}]),[]);return(0,B.jsx)("div",{className:"yst-p-4 min-[783px]:yst-p-8",children:(0,B.jsxs)("div",{className:U()("yst-flex yst-flex-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]"),children:[(0,B.jsxs)(n.Paper,{as:"main",className:"yst-max-w-page yst-flex-grow yst-mb-8 xl:yst-mb-0",children:[(0,B.jsx)(n.Paper.Header,{children:(0,B.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,B.jsx)(n.Title,{children:(0,l.__)("Support","wordpress-seo")}),(0,B.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,l.__)("If you have any questions, need a hand with a technical issue, or just want to say hi, we've got you covered. Get in touch with us and we'll be happy to assist you!","wordpress-seo")})]})}),(0,B.jsx)(n.Paper.Content,{children:(0,B.jsxs)("div",{className:"yst-max-w-6xl",children:[(0,B.jsx)(ve,{title:(0,l.__)("Frequently asked questions","wordpress-seo"),description:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("Here, you'll find answers to commonly asked questions about using %1$s. If you don't see your question listed, you can have a look at the section below.","wordpress-seo"),"Yoast SEO"),children:(0,B.jsx)("ul",{children:_.map((({title:e,link:s},t)=>(0,B.jsxs)(i.Fragment,{children:[t>0&&(0,B.jsx)("hr",{className:"yst-my-3"}),(0,B.jsx)("li",{children:(0,B.jsxs)(n.Link,{href:s,className:"yst-flex yst-items-center yst-font-medium yst-no-underline",target:"_blank",children:[e,(0,B.jsx)(L,{className:"yst-inline-block yst-ms-1.5 yst-h-3 yst-w-3 yst-icon-rtl"})]})})]},`faq-${t}`)))})}),(0,B.jsx)("hr",{className:"yst-my-8"}),(0,B.jsx)(ve,{title:(0,l.__)("Additional resources","wordpress-seo"),description:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("Need help with %1$s? These resources are a great place to start!","wordpress-seo"),"Yoast SEO"),children:(0,B.jsxs)("div",{className:"yst-grid yst-gap-6 yst-grid-cols-3 max-sm:yst-grid-cols-1",children:[(0,B.jsx)(je,{imageSrc:`${c}/images/support/help_center.png`,title:(0,l.sprintf)(/* translators: %1$s expands to Yoast. */ (0,l.__)("%1$s's help center","wordpress-seo"),"Yoast"),description:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("Have a look at our help center to find articles, tutorials, and other resources to help you get the most out of %1$s!","wordpress-seo"),"Yoast SEO"),linkHref:y,linkText:(0,l.__)("Visit our help center","wordpress-seo")}),(0,B.jsx)(je,{imageSrc:`${c}/images/support/support_forums.png`,title:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("WordPress support forum for %1$s","wordpress-seo"),"Yoast SEO"),description:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("In the WordPress support forum for %1$s you can find answers or ask for help from %1$s users in the WordPress community.","wordpress-seo"),"Yoast SEO"),linkHref:g,linkText:(0,l.__)("Visit WordPress forum","wordpress-seo")}),(0,B.jsx)(je,{imageSrc:`${c}/images/support/github.png`,title:(0,l.__)("Raise a bug report on GitHub","wordpress-seo"),description:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,l.__)("Have you stumbled upon a bug while using %1$s? Please raise a bug report on our GitHub repository to let us know about the issue!","wordpress-seo"),"Yoast SEO"),linkHref:f,linkText:(0,l.__)("Write a bug report","wordpress-seo")})]})}),(0,B.jsx)("hr",{className:"yst-my-8"}),(0,B.jsx)(ve,{title:(0,B.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,B.jsx)("span",{children:(0,l.__)("Contact our support team","wordpress-seo")}),o&&(0,B.jsx)(n.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("span",{children:(0,l.__)("If you don't find the answers you're looking for and need personalized help, you can get 24/7 support from one of our support engineers.","wordpress-seo")}),(0,B.jsx)("span",{className:"yst-block yst-mt-4",children:O((0,l.sprintf)(/* translators: %1$s expands to an opening span tag, %2$s expands to a closing span tag. */ (0,l.__)("%1$sSupport language:%2$s English","wordpress-seo"),"<span>","</span>"),{span:(0,B.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})})})]}),children:(0,B.jsx)(n.FeatureUpsell,{shouldUpsell:!o,variant:"card",cardLink:w,cardText:(0,l.sprintf)(/* translators: %1$s expands to Premium. */ (0,l.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a,children:(0,B.jsxs)("div",{className:U()("yst-flex",!o&&"yst-opacity-50"),children:[(0,B.jsxs)("div",{className:"yst-me-6",children:[(0,B.jsx)("p",{children:(0,l.__)("Our support team is here to answer any questions you may have. Fill out the (pop-up) contact form, and we'll get back to you as soon as possible!","wordpress-seo")}),(0,B.jsxs)(n.Button,{variant:"secondary",className:"yst-mt-4",onClick:be,children:[(0,l.__)("Contact our support team","wordpress-seo"),(0,B.jsx)(L,{className:"yst-inline-block yst-ms-1.5 yst-h-3 yst-w-3 yst-icon-rtl"})]})]}),(0,B.jsx)("img",{src:`${c}/images/support-team.svg`,alt:"",width:125,height:100,loading:"lazy",decoding:"async"})]})})})]})})]}),!o&&(0,B.jsx)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]",children:(0,B.jsx)(fe,{premiumLink:r?m:u,premiumUpsellConfig:a,academyLink:p,isPromotionActive:x,isWooCommerceActive:r})})]})})},Se="preferences",Re=(0,c.createSlice)({name:Se,initialState:{},reducers:{}}),Ee=Re.getInitialState,Ce={selectPreference:(e,s,t={})=>(0,a.get)(e,`${Se}.${s}`,t),selectPreferences:e=>(0,a.get)(e,Se,{})};Ce.selectUpsellSettingsAsProps=(0,c.createSelector)([e=>Ce.selectPreference(e,"upsellSettings",{}),(e,s="premiumCtbId")=>s],((e,s)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[s]})));const qe=Re.actions,Pe=Re.reducer,Ne=window.yoast.externals.redux,{isPromotionActive:Le}=Ne.selectors,{currentPromotions:Oe}=Ne.reducers,{setCurrentPromotions:Ae}=Ne.actions;o()((()=>{const t=document.getElementById("yoast-seo-support");if(!t)return;(({initialState:e={}}={})=>{(0,s.register)((({initialState:e})=>(0,s.createReduxStore)(xe,{actions:{..._,...qe,setCurrentPromotions:Ae},selectors:{...x,...Ce,isPromotionActive:Le},initialState:(0,a.merge)({},{[g]:w(),[Se]:Ee(),currentPromotions:{promotions:[]}},e),reducer:(0,s.combineReducers)({[g]:v,[Se]:Pe,currentPromotions:Oe})}))({initialState:e}))})({initialState:{[g]:(0,a.get)(window,"wpseoScriptData.linkParams",{}),[Se]:(0,a.get)(window,"wpseoScriptData.preferences",{}),currentPromotions:{promotions:(0,a.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(()=>{const e=document.getElementById("wpcontent"),s=document.getElementById("adminmenuwrap");e&&s&&(e.style.minHeight=`${s.offsetHeight}px`)})();const r=(0,s.select)(xe).selectPreference("isRtl",!1);(0,i.createRoot)(t).render((0,B.jsx)(n.Root,{context:{isRtl:r},children:(0,B.jsx)(e.SlotFillProvider,{children:(0,B.jsx)(ke,{})})}))}))})()})(); dist/filter-explanation.js 0000644 00000000310 15174677550 0011665 0 ustar 00 jQuery("#posts-filter .tablenav.top").after(`<div class="notice notice-info inline wpseo-filter-explanation"><p class="dashicons-before dashicons-lightbulb">${yoastFilterExplanation.text}</p></div>`); dist/new-settings.js 0000644 00001716020 15174677550 0010524 0 ustar 00 (()=>{var e={1206:function(e){e.exports=function(e){var t={};function s(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=e,s.c=t,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(r,a,function(t){return e[t]}.bind(null,a));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=90)}({17:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r=s(18),a=function(){function e(){}return e.getFirstMatch=function(e,t){var s=t.match(e);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(e,t){var s=t.match(e);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(e,t,s){if(e.test(t))return s},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,s,r){void 0===r&&(r=!1);var a=e.getVersionPrecision(t),o=e.getVersionPrecision(s),i=Math.max(a,o),n=0,l=e.map([t,s],(function(t){var s=i-e.getVersionPrecision(t),r=t+new Array(s+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(n=i-Math.min(a,o)),i-=1;i>=n;){if(l[0][i]>l[1][i])return 1;if(l[0][i]===l[1][i]){if(i===n)return 0;i-=1}else if(l[0][i]<l[1][i])return-1}},e.map=function(e,t){var s,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(s=0;s<e.length;s+=1)r.push(t(e[s]));return r},e.find=function(e,t){var s,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(s=0,r=e.length;s<r;s+=1){var a=e[s];if(t(a,s))return a}},e.assign=function(e){for(var t,s,r=e,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[e].concat(o));var n=function(){var e=o[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){r[t]=e[t]}))};for(t=0,s=o.length;t<s;t+=1)n();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=a,e.exports=t.default},18:function(e,t,s){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(91))&&r.__esModule?r:{default:r},o=s(18);function i(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var n=function(){function e(){}var t,s;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new a.default(e,t)},e.parse=function(e){return new a.default(e).getResult()},t=e,s=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],null&&i(t.prototype,null),s&&i(t,s),e}();t.default=n,e.exports=t.default},91:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r=l(s(92)),a=l(s(93)),o=l(s(94)),i=l(s(95)),n=l(s(17));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=n.default.find(r.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=n.default.find(a.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=n.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=n.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return n.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,s={},r=0,a={},o=0;if(Object.keys(e).forEach((function(t){var i=e[t];"string"==typeof i?(a[t]=i,o+=1):"object"==typeof i&&(s[t]=i,r+=1)})),r>0){var i=Object.keys(s),l=n.default.find(i,(function(e){return t.isOS(e)}));if(l){var c=this.satisfies(s[l]);if(void 0!==c)return c}var d=n.default.find(i,(function(e){return t.isPlatform(e)}));if(d){var u=this.satisfies(s[d]);if(void 0!==u)return u}}if(o>0){var p=Object.keys(a),m=n.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(a[m])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var s=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),a=n.default.getBrowserTypeByAlias(r);return t&&a&&(r=a.toLowerCase()),r===s},t.compareVersion=function(e){var t=[0],s=e,r=!1,a=this.getBrowserVersion();if("string"==typeof a)return">"===e[0]||"<"===e[0]?(s=e.substr(1),"="===e[1]?(r=!0,s=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?s=e.substr(1):"~"===e[0]&&(r=!0,s=e.substr(1)),t.indexOf(n.default.compareVersions(a,s,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},s=a.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},s=a.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},s=a.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},s=a.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},s=a.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},s=a.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},s=a.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},s=a.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},s=a.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},s=a.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},s=a.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},s=a.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return s&&(t.version=s),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},s=a.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},s=a.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},s=a.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},s=a.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},s=a.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},s=a.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},s=a.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},s=a.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},s=a.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},s=a.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},s=a.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},s=a.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t={name:"Android Browser"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:a.default.getFirstMatch(t,e),version:a.default.getSecondMatch(t,e)}}}];t.default=i,e.exports=t.default},93:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),i=[{test:[/Roku\/DVP/],describe:function(e){var t=a.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=a.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=a.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),s=a.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:s}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},s=a.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return s&&(t.version=s),t}},{test:[/macintosh/i],describe:function(e){var t=a.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),s=a.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return s&&(r.versionName=s),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=a.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t=a.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),s=a.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return s&&(r.versionName=s),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=a.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),s={name:o.OS_MAP.WebOS};return t&&t.length&&(s.version=t),s}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=a.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||a.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||a.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=a.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=a.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=a.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=i,e.exports=t.default},94:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),i=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=a.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",s={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(s.model=t),s}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),s=e.test(/like (ipod|iphone)/i);return t&&!s},describe:function(e){var t=a.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=i,e.exports=t.default},95:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),i=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=a.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},s=a.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},s=a.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=e.test(/gecko/i),s=e.test(/like gecko/i);return t&&!s},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},s=a.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},s=a.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}}];t.default=i,e.exports=t.default}})},4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var o=typeof s;if("string"===o||"number"===o)e.push(s);else if(Array.isArray(s)){if(s.length){var i=a.apply(null,s);i&&e.push(i)}}else if("object"===o){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var n in s)r.call(s,n)&&s[n]&&e.push(n)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(s=function(){return a}.apply(t,[]))||(e.exports=s)}()},667:e=>{"use strict";var t=Array.isArray,s=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var n,l,c,d=t(e),u=t(i);if(d&&u){if((l=e.length)!=i.length)return!1;for(n=l;0!=n--;)if(!o(e[n],i[n]))return!1;return!0}if(d!=u)return!1;var p=e instanceof Date,m=i instanceof Date;if(p!=m)return!1;if(p&&m)return e.getTime()==i.getTime();var h=e instanceof RegExp,f=i instanceof RegExp;if(h!=f)return!1;if(h&&f)return e.toString()==i.toString();var _=s(e);if((l=_.length)!==s(i).length)return!1;for(n=l;0!=n--;)if(!r.call(i,_[n]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(n=l;0!=n--;)if(!("_owner"===(c=_[n])&&e.$$typeof||o(e[c],i[c])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},8679:(e,t,s)=>{"use strict";var r=s(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function l(e){return r.isMemo(e)?i:n[e.$$typeof]||a}n[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,s,r){if("string"!=typeof s){if(h){var a=m(s);a&&a!==h&&e(t,a,r)}var i=d(s);u&&(i=i.concat(u(s)));for(var n=l(t),f=l(s),_=0;_<i.length;++_){var y=i[_];if(!(o[y]||r&&r[y]||f&&f[y]||n&&n[y])){var w=p(s,y);try{c(t,y,w)}catch(e){}}}return t}return t}},5760:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var s=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,a=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,n=new t(512),l=new t(512),c=new t(512);function d(e){return n.get(e)||n.set(e,u(e).map((function(e){return e.replace(i,"$2")})))}function u(e){return e.match(s)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function m(e){return!p(e)&&(function(e){return e.match(a)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:u,normalizePath:d,setter:function(e){var t=d(e);return l.get(e)||l.set(e,(function(e,s){for(var r=0,a=t.length,o=e;r<a-1;){var i=t[r];if("__proto__"===i||"constructor"===i||"prototype"===i)return e;o=o[t[r++]]}o[t[r]]=s}))},getter:function(e,t){var s=d(e);return c.get(e)||c.set(e,(function(e){for(var r=0,a=s.length;r<a;){if(null==e&&t)return;e=e[s[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(p(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,s){!function(e,t,s){var r,a,o,i,n=e.length;for(a=0;a<n;a++)(r=e[a])&&(m(r)&&(r='"'+r+'"'),o=!(i=p(r))&&/^\d+$/.test(r),t.call(s,r,i,o,a,e))}(Array.isArray(e)?e:u(e),t,s)}}},8133:(e,t,s)=>{"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},o=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}(),i=c(s(9196)),n=c(s(5890)),l=c(s(4306));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var u={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"},p=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function m(e){for(var t=arguments.length,s=Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];if(!s.length)return e;for(var a={},o=Object.keys(e),i=0;i<o.length;i++){var n=o[i];-1===s.indexOf(n)&&(a[n]=e[n])}return a}function h(e){e.forEach((function(e){return cancelAnimationFrame(e)}))}function f(e){return!isNaN(parseFloat(e))&&isFinite(e)}function _(e){return"string"==typeof e&&e.search("%")===e.length-1&&f(e.substr(0,e.length-1))}function y(e,t){e&&"function"==typeof e&&e(t)}var w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));s.animationFrameIDs=[];var r="auto",o="visible";f(e.height)?(r=e.height<0||"0"===e.height?0:e.height,o="hidden"):_(e.height)&&(r="0%"===e.height?0:e.height,o="hidden"),s.animationStateClasses=a({},u,e.animationStateClasses);var i=s.getStaticStateClasses(r);return s.state={animationStateClasses:i,height:r,overflow:o,shouldUseTransitions:!1},s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var s,r,a=this,o=this.props,i=o.delay,n=o.duration,c=o.height,u=o.onAnimationEnd,p=o.onAnimationStart;if(this.contentElement&&c!==e.height){var m;this.showContent(t.height),this.contentElement.style.overflow="hidden";var w=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var g=n+i,b=null,v={height:null,overflow:"hidden"},x="auto"===t.height;f(c)?(b=c<0||"0"===c?0:c,v.height=b):_(c)?(b="0%"===c?0:c,v.height=b):(b=w,v.height="auto",v.overflow=null),x&&(v.height=b,b=w);var k=(0,l.default)((d(m={},this.animationStateClasses.animating,!0),d(m,this.animationStateClasses.animatingUp,"auto"===e.height||c<e.height),d(m,this.animationStateClasses.animatingDown,"auto"===c||c>e.height),d(m,this.animationStateClasses.animatingToHeightZero,0===v.height),d(m,this.animationStateClasses.animatingToHeightAuto,"auto"===v.height),d(m,this.animationStateClasses.animatingToHeightSpecific,v.height>0),m)),S=this.getStaticStateClasses(v.height);this.setState({animationStateClasses:k,height:b,overflow:"hidden",shouldUseTransitions:!x}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),x?(v.shouldUseTransitions=!0,h(this.animationFrameIDs),this.animationFrameIDs=(s=function(){a.setState(v),y(p,{newHeight:v.height})},(r=[])[0]=requestAnimationFrame((function(){r[1]=requestAnimationFrame((function(){s()}))})),r),this.animationClassesTimeoutID=setTimeout((function(){a.setState({animationStateClasses:S,shouldUseTransitions:!1}),a.hideContent(v.height),y(u,{newHeight:v.height})}),g)):(y(p,{newHeight:b}),this.timeoutID=setTimeout((function(){v.animationStateClasses=S,v.shouldUseTransitions=!1,a.setState(v),"auto"!==c&&a.hideContent(b),y(u,{newHeight:b})}),g))}}},{key:"componentWillUnmount",value:function(){h(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((d(t={},this.animationStateClasses.static,!0),d(t,this.animationStateClasses.staticHeightZero,0===e),d(t,this.animationStateClasses.staticHeightSpecific,e>0),d(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,s=this.props,r=s.animateOpacity,o=s.applyInlineTransitions,n=s.children,c=s.className,u=s.contentClassName,h=s.delay,f=s.duration,_=s.easing,y=s.id,w=s.style,g=this.state,b=g.height,v=g.overflow,x=g.animationStateClasses,k=g.shouldUseTransitions,S=a({},w,{height:b,overflow:v||w.overflow});k&&o&&(S.transition="height "+f+"ms "+_+" "+h+"ms",w.transition&&(S.transition=w.transition+", "+S.transition),S.WebkitTransition=S.transition);var j={};r&&(j.transition="opacity "+f+"ms "+_+" "+h+"ms",j.WebkitTransition=j.transition,0===b&&(j.opacity=0));var E=(0,l.default)((d(e={},x,!0),d(e,c,c),e)),L=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===b;return i.default.createElement("div",a({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":L,className:E,id:y,style:S}),i.default.createElement("div",{className:u,style:j,ref:function(e){return t.contentElement=e}},n))}}]),t}(i.default.Component);w.propTypes={"aria-hidden":n.default.bool,animateOpacity:n.default.bool,animationStateClasses:n.default.object,applyInlineTransitions:n.default.bool,children:n.default.any.isRequired,className:n.default.string,contentClassName:n.default.string,delay:n.default.number,duration:n.default.number,easing:n.default.string,height:function(e,t,s){var a=e[t];return"number"==typeof a&&a>=0||_(a)||"auto"===a?null:new TypeError('value "'+a+'" of type "'+(void 0===a?"undefined":r(a))+'" is invalid type for '+t+" in "+s+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:n.default.string,onAnimationEnd:n.default.func,onAnimationStart:n.default.func,style:n.default.object},w.defaultProps={animateOpacity:!1,animationStateClasses:u,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.Z=w},4306:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var o=typeof s;if("string"===o||"number"===o)e.push(s);else if(Array.isArray(s)&&s.length){var i=a.apply(null,s);i&&e.push(i)}else if("object"===o)for(var n in s)r.call(s,n)&&s[n]&&e.push(n)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(s=function(){return a}.apply(t,[]))||(e.exports=s)}()},591:e=>{for(var t=[],s=0;s<256;++s)t[s]=(s+256).toString(16).substr(1);e.exports=function(e,s){var r=s||0,a=t;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}},9176:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var s=new Uint8Array(16);e.exports=function(){return t(s),s}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},3409:(e,t,s)=>{var r=s(9176),a=s(591);e.exports=function(e,t,s){var o=t&&s||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var n=0;n<16;++n)t[o+n]=i[n];return t||a(i)}},9921:(e,t)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,r=s?Symbol.for("react.element"):60103,a=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,n=s?Symbol.for("react.profiler"):60114,l=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.async_mode"):60111,u=s?Symbol.for("react.concurrent_mode"):60111,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,h=s?Symbol.for("react.suspense_list"):60120,f=s?Symbol.for("react.memo"):60115,_=s?Symbol.for("react.lazy"):60116,y=s?Symbol.for("react.block"):60121,w=s?Symbol.for("react.fundamental"):60117,g=s?Symbol.for("react.responder"):60118,b=s?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case o:case n:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case _:case f:case l:return e;default:return t}}case a:return t}}}function x(e){return v(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=_,t.Memo=f,t.Portal=a,t.Profiler=n,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return x(e)||v(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===f},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===n},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===n||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===w||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v},9864:(e,t,s)=>{"use strict";e.exports=s(9921)},4633:e=>{function t(e,t){var s=e.length,r=new Array(s),a={},o=s,i=function(e){for(var t=new Map,s=0,r=e.length;s<r;s++){var a=e[s];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),n=function(e){for(var t=new Map,s=0,r=e.length;s<r;s++)t.set(e[s],s);return t}(e);for(t.forEach((function(e){if(!n.has(e[0])||!n.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)a[o]||l(e[o],o,new Set);return r;function l(e,t,o){if(o.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(e){c=""}throw new Error("Cyclic dependency"+c)}if(!n.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var d=i.get(e)||new Set;if(t=(d=Array.from(d)).length){o.add(e);do{var u=d[--t];l(u,n.get(u),o)}while(t);o.delete(e)}r[--s]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,s=0,r=e.length;s<r;s++){var a=e[s];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=t},9196:e=>{"use strict";e.exports=window.React},5890:e=>{"use strict";e.exports=window.yoast.propTypes}},t={};function s(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.components,t=window.wp.data,r=window.wp.domReady;var a=s.n(r);const o=window.wp.element,i=window.yoast.uiLibrary;var n=s(9196),l=s.n(n),c=s(667),d=s.n(c),u=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===p}(e)}(e)},p="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function m(e,t){return!1!==t.clone&&t.isMergeableObject(e)?f((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function h(e,t,s){return e.concat(t).map((function(e){return m(e,s)}))}function f(e,t,s){(s=s||{}).arrayMerge=s.arrayMerge||h,s.isMergeableObject=s.isMergeableObject||u;var r=Array.isArray(t);return r===Array.isArray(e)?r?s.arrayMerge(e,t,s):function(e,t,s){var r={};return s.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=m(e[t],s)})),Object.keys(t).forEach((function(a){s.isMergeableObject(t[a])&&e[a]?r[a]=f(e[a],t[a],s):r[a]=m(t[a],s)})),r}(e,t,s):m(t,s)}f.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,s){return f(e,s,t)}),{})};const _=f,y=window.lodash.isPlainObject;var w=s.n(y);const g=window.lodash.clone;var b=s.n(g);const v=window.lodash.toPath;var x=s.n(v);const k=function(e,t){};var S=s(8679),j=s.n(S);const E=window.lodash.cloneDeep;var L=s.n(E);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},T.apply(this,arguments)}function F(e,t){if(null==e)return{};var s,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)s=o[r],t.indexOf(s)>=0||(a[s]=e[s]);return a}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var P=function(e){return Array.isArray(e)&&0===e.length},M=function(e){return"function"==typeof e},$=function(e){return null!==e&&"object"==typeof e},R=function(e){return String(Math.floor(Number(e)))===e},C=function(e){return"[object String]"===Object.prototype.toString.call(e)},N=function(e){return 0===n.Children.count(e)},A=function(e){return $(e)&&M(e.then)};function I(e,t,s,r){void 0===r&&(r=0);for(var a=x()(t);e&&r<a.length;)e=e[a[r++]];return void 0===e?s:e}function D(e,t,s){for(var r=b()(e),a=r,o=0,i=x()(t);o<i.length-1;o++){var n=i[o],l=I(e,i.slice(0,o+1));if(l&&($(l)||Array.isArray(l)))a=a[n]=b()(l);else{var c=i[o+1];a=a[n]=R(c)&&Number(c)>=0?[]:{}}}return(0===o?e:a)[i[o]]===s?e:(void 0===s?delete a[i[o]]:a[i[o]]=s,0===o&&void 0===s&&delete r[i[o]],r)}function z(e,t,s,r){void 0===s&&(s=new WeakMap),void 0===r&&(r={});for(var a=0,o=Object.keys(e);a<o.length;a++){var i=o[a],n=e[i];$(n)?s.get(n)||(s.set(n,!0),r[i]=Array.isArray(n)?[]:{},z(n,t,s,r[i])):r[i]=t}return r}var U=(0,n.createContext)(void 0);U.displayName="FormikContext";var V=U.Provider,B=U.Consumer;function H(){var e=(0,n.useContext)(U);return e||k(!1),e}function q(e,t){switch(t.type){case"SET_VALUES":return T({},e,{values:t.payload});case"SET_TOUCHED":return T({},e,{touched:t.payload});case"SET_ERRORS":return d()(e.errors,t.payload)?e:T({},e,{errors:t.payload});case"SET_STATUS":return T({},e,{status:t.payload});case"SET_ISSUBMITTING":return T({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return T({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return T({},e,{values:D(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return T({},e,{touched:D(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return T({},e,{errors:D(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return T({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return T({},e,{touched:z(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return T({},e,{isSubmitting:!1});default:return e}}var W={},G={};function Y(e){var t=e.validateOnChange,s=void 0===t||t,r=e.validateOnBlur,a=void 0===r||r,o=e.validateOnMount,i=void 0!==o&&o,l=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,p=e.onSubmit,m=F(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=T({validateOnChange:s,validateOnBlur:a,validateOnMount:i,onSubmit:p},m),f=(0,n.useRef)(h.initialValues),y=(0,n.useRef)(h.initialErrors||W),w=(0,n.useRef)(h.initialTouched||G),g=(0,n.useRef)(h.initialStatus),b=(0,n.useRef)(!1),v=(0,n.useRef)({});(0,n.useEffect)((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=(0,n.useReducer)(q,{values:h.initialValues,errors:h.initialErrors||W,touched:h.initialTouched||G,status:h.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),k=x[0],S=x[1],j=(0,n.useCallback)((function(e,t){return new Promise((function(s,r){var a=h.validate(e,t);null==a?s(W):A(a)?a.then((function(e){s(e||W)}),(function(e){r(e)})):s(a)}))}),[h.validate]),E=(0,n.useCallback)((function(e,t){var s=h.validationSchema,r=M(s)?s(t):s,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,s,r){void 0===s&&(s=!1),void 0===r&&(r={});var a=Z(e);return t[s?"validateSync":"validate"](a,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){a.then((function(){e(W)}),(function(s){"ValidationError"===s.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return D(t,e.path,e.message);var s=e.inner,r=Array.isArray(s),a=0;for(s=r?s:s[Symbol.iterator]();;){var o;if(r){if(a>=s.length)break;o=s[a++]}else{if((a=s.next()).done)break;o=a.value}var i=o;I(t,i.path)||(t=D(t,i.path,i.message))}}return t}(s)):t(s)}))}))}),[h.validationSchema]),L=(0,n.useCallback)((function(e,t){return new Promise((function(s){return s(v.current[e].validate(t))}))}),[]),O=(0,n.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return M(v.current[e].validate)})),s=t.length>0?t.map((function(t){return L(t,I(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(s).then((function(e){return e.reduce((function(e,s,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===s||s&&(e=D(e,t[r],s)),e}),{})}))}),[L]),P=(0,n.useCallback)((function(e){return Promise.all([O(e),h.validationSchema?E(e):{},h.validate?j(e):{}]).then((function(e){var t=e[0],s=e[1],r=e[2];return _.all([t,s,r],{arrayMerge:J})}))}),[h.validate,h.validationSchema,O,j,E]),R=X((function(e){return void 0===e&&(e=k.values),S({type:"SET_ISVALIDATING",payload:!0}),P(e).then((function(e){return b.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:e})),e}))}));(0,n.useEffect)((function(){i&&!0===b.current&&d()(f.current,h.initialValues)&&R(f.current)}),[i,R]);var N=(0,n.useCallback)((function(e){var t=e&&e.values?e.values:f.current,s=e&&e.errors?e.errors:y.current?y.current:h.initialErrors||{},r=e&&e.touched?e.touched:w.current?w.current:h.initialTouched||{},a=e&&e.status?e.status:g.current?g.current:h.initialStatus;f.current=t,y.current=s,w.current=r,g.current=a;var o=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:s,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var i=h.onReset(k.values,de);A(i)?i.then(o):o()}else o()}),[h.initialErrors,h.initialStatus,h.initialTouched]);(0,n.useEffect)((function(){!0!==b.current||d()(f.current,h.initialValues)||(u&&(f.current=h.initialValues,N()),i&&R(f.current))}),[u,h.initialValues,N,i,R]),(0,n.useEffect)((function(){u&&!0===b.current&&!d()(y.current,h.initialErrors)&&(y.current=h.initialErrors||W,S({type:"SET_ERRORS",payload:h.initialErrors||W}))}),[u,h.initialErrors]),(0,n.useEffect)((function(){u&&!0===b.current&&!d()(w.current,h.initialTouched)&&(w.current=h.initialTouched||G,S({type:"SET_TOUCHED",payload:h.initialTouched||G}))}),[u,h.initialTouched]),(0,n.useEffect)((function(){u&&!0===b.current&&!d()(g.current,h.initialStatus)&&(g.current=h.initialStatus,S({type:"SET_STATUS",payload:h.initialStatus}))}),[u,h.initialStatus,h.initialTouched]);var z=X((function(e){if(v.current[e]&&M(v.current[e].validate)){var t=I(k.values,e),s=v.current[e].validate(t);return A(s)?(S({type:"SET_ISVALIDATING",payload:!0}),s.then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),S({type:"SET_ISVALIDATING",payload:!1})}))):(S({type:"SET_FIELD_ERROR",payload:{field:e,value:s}}),Promise.resolve(s))}return h.validationSchema?(S({type:"SET_ISVALIDATING",payload:!0}),E(k.values,e).then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),S({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),U=(0,n.useCallback)((function(e,t){var s=t.validate;v.current[e]={validate:s}}),[]),V=(0,n.useCallback)((function(e){delete v.current[e]}),[]),B=X((function(e,t){return S({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?R(k.values):Promise.resolve()})),H=(0,n.useCallback)((function(e){S({type:"SET_ERRORS",payload:e})}),[]),Y=X((function(e,t){var r=M(e)?e(k.values):e;return S({type:"SET_VALUES",payload:r}),(void 0===t?s:t)?R(r):Promise.resolve()})),K=(0,n.useCallback)((function(e,t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),Q=X((function(e,t,r){return S({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?s:r)?R(D(k.values,e,t)):Promise.resolve()})),ee=(0,n.useCallback)((function(e,t){var s,r=t,a=e;if(!C(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,i=o.type,n=o.name,l=o.id,c=o.value,d=o.checked,u=(o.outerHTML,o.options),p=o.multiple;r=t||n||l,a=/number|range/.test(i)?(s=parseFloat(c),isNaN(s)?"":s):/checkbox/.test(i)?function(e,t,s){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,a=(o=e.indexOf(s))>=0;else if(!s||"true"==s||"false"==s)return Boolean(t);return t&&s&&!a?r.concat(s):a?r.slice(0,o).concat(r.slice(o+1)):r}(I(k.values,r),d,c):u&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(u):c}r&&Q(r,a)}),[Q,k.values]),te=X((function(e){if(C(e))return function(t){return ee(t,e)};ee(e)})),se=X((function(e,t,s){return void 0===t&&(t=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===s?a:s)?R(k.values):Promise.resolve()})),re=(0,n.useCallback)((function(e,t){e.persist&&e.persist();var s=e.target,r=s.name,a=s.id,o=(s.outerHTML,t||r||a);se(o,!0)}),[se]),ae=X((function(e){if(C(e))return function(t){return re(t,e)};re(e)})),oe=(0,n.useCallback)((function(e){M(e)?S({type:"SET_FORMIK_STATE",payload:e}):S({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),ie=(0,n.useCallback)((function(e){S({type:"SET_STATUS",payload:e})}),[]),ne=(0,n.useCallback)((function(e){S({type:"SET_ISSUBMITTING",payload:e})}),[]),le=X((function(){return S({type:"SUBMIT_ATTEMPT"}),R().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var s;try{if(void 0===(s=ue()))return}catch(e){throw e}return Promise.resolve(s).then((function(e){return b.current&&S({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(b.current)throw S({type:"SUBMIT_FAILURE"}),e}))}if(b.current&&(S({type:"SUBMIT_FAILURE"}),t))throw e}))})),ce=X((function(e){e&&e.preventDefault&&M(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&M(e.stopPropagation)&&e.stopPropagation(),le().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),de={resetForm:N,validateForm:R,validateField:z,setErrors:H,setFieldError:K,setFieldTouched:se,setFieldValue:Q,setStatus:ie,setSubmitting:ne,setTouched:B,setValues:Y,setFormikState:oe,submitForm:le},ue=X((function(){return p(k.values,de)})),pe=X((function(e){e&&e.preventDefault&&M(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&M(e.stopPropagation)&&e.stopPropagation(),N()})),me=(0,n.useCallback)((function(e){return{value:I(k.values,e),error:I(k.errors,e),touched:!!I(k.touched,e),initialValue:I(f.current,e),initialTouched:!!I(w.current,e),initialError:I(y.current,e)}}),[k.errors,k.touched,k.values]),he=(0,n.useCallback)((function(e){return{setValue:function(t,s){return Q(e,t,s)},setTouched:function(t,s){return se(e,t,s)},setError:function(t){return K(e,t)}}}),[Q,se,K]),fe=(0,n.useCallback)((function(e){var t=$(e),s=t?e.name:e,r=I(k.values,s),a={name:s,value:r,onChange:te,onBlur:ae};if(t){var o=e.type,i=e.value,n=e.as,l=e.multiple;"checkbox"===o?void 0===i?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(i)),a.value=i):"radio"===o?(a.checked=r===i,a.value=i):"select"===n&&l&&(a.value=a.value||[],a.multiple=!0)}return a}),[ae,te,k.values]),_e=(0,n.useMemo)((function(){return!d()(f.current,k.values)}),[f.current,k.values]),ye=(0,n.useMemo)((function(){return void 0!==l?_e?k.errors&&0===Object.keys(k.errors).length:!1!==l&&M(l)?l(h):l:k.errors&&0===Object.keys(k.errors).length}),[l,_e,k.errors,h]);return T({},k,{initialValues:f.current,initialErrors:y.current,initialTouched:w.current,initialStatus:g.current,handleBlur:ae,handleChange:te,handleReset:pe,handleSubmit:ce,resetForm:N,setErrors:H,setFormikState:oe,setFieldTouched:se,setFieldValue:Q,setFieldError:K,setStatus:ie,setSubmitting:ne,setTouched:B,setValues:Y,submitForm:le,validateForm:R,validateField:z,isValid:ye,dirty:_e,unregisterField:V,registerField:U,getFieldProps:fe,getFieldMeta:me,getFieldHelpers:he,validateOnBlur:a,validateOnChange:s,validateOnMount:i})}function K(e){var t=Y(e),s=e.component,r=e.children,a=e.render,o=e.innerRef;return(0,n.useImperativeHandle)(o,(function(){return t})),(0,n.createElement)(V,{value:t},s?(0,n.createElement)(s,t):a?a(t):r?M(r)?r(t):N(r)?null:n.Children.only(r):null)}function Z(e){var t=Array.isArray(e)?[]:{};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var r=String(s);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||w()(e)?Z(e):""!==e?e:void 0})):w()(e[r])?t[r]=Z(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function J(e,t,s){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var o=!1!==s.clone&&s.isMergeableObject(t);r[a]=o?_(Array.isArray(t)?[]:{},t,s):t}else s.isMergeableObject(t)?r[a]=_(e[a],t,s):-1===e.indexOf(t)&&r.push(t)})),r}var Q="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function X(e){var t=(0,n.useRef)(e);return Q((function(){t.current=e})),(0,n.useCallback)((function(){for(var e=arguments.length,s=new Array(e),r=0;r<e;r++)s[r]=arguments[r];return t.current.apply(void 0,s)}),[])}function ee(e){var t=H(),s=t.getFieldProps,r=t.getFieldMeta,a=t.getFieldHelpers,o=t.registerField,i=t.unregisterField,l=$(e)?e:{name:e},c=l.name,d=l.validate;return(0,n.useEffect)((function(){return c&&o(c,{validate:d}),function(){c&&i(c)}}),[o,i,c,d]),c||k(!1),[s(l),r(c),a(c)]}function te(e){var t=e.validate,s=e.name,r=e.render,a=e.children,o=e.as,i=e.component,l=F(e,["validate","name","render","children","as","component"]),c=F(H(),["validate","validationSchema"]),d=c.registerField,u=c.unregisterField;(0,n.useEffect)((function(){return d(s,{validate:t}),function(){u(s)}}),[d,u,s,t]);var p=c.getFieldProps(T({name:s},l)),m=c.getFieldMeta(s),h={field:p,form:c};if(r)return r(T({},h,{meta:m}));if(M(a))return a(T({},h,{meta:m}));if(i){if("string"==typeof i){var f=l.innerRef,_=F(l,["innerRef"]);return(0,n.createElement)(i,T({ref:f},p,_),a)}return(0,n.createElement)(i,T({field:p,form:c},l),a)}var y=o||"input";if("string"==typeof y){var w=l.innerRef,g=F(l,["innerRef"]);return(0,n.createElement)(y,T({ref:w},p,g),a)}return(0,n.createElement)(y,T({},p,l),a)}var se=(0,n.forwardRef)((function(e,t){var s=e.action,r=F(e,["action"]),a=null!=s?s:"#",o=H(),i=o.handleReset,l=o.handleSubmit;return(0,n.createElement)("form",Object.assign({onSubmit:l,ref:t,onReset:i,action:a},r))}));function re(e){var t=function(t){return(0,n.createElement)(B,null,(function(s){return s||k(!1),(0,n.createElement)(e,Object.assign({},t,{formik:s}))}))},s=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+s+")",j()(t,e)}se.displayName="Form";var ae=function(e,t,s){var r=oe(e);return r.splice(t,0,s),r},oe=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(T({},e,{length:t+1}))}return[]},ie=function(e){function t(t){var s;return(s=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=s.props,o=a.name;(0,a.formik.setFormikState)((function(s){var a="function"==typeof r?r:e,i="function"==typeof t?t:e,n=D(s.values,o,e(I(s.values,o))),l=r?a(I(s.errors,o)):void 0,c=t?i(I(s.touched,o)):void 0;return P(l)&&(l=void 0),P(c)&&(c=void 0),T({},s,{values:n,errors:r?D(s.errors,o,l):s.errors,touched:t?D(s.touched,o,c):s.touched})}))},s.push=function(e){return s.updateArrayField((function(t){return[].concat(oe(t),[L()(e)])}),!1,!1)},s.handlePush=function(e){return function(){return s.push(e)}},s.swap=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r[t]=r[s],r[s]=a,r}(s,e,t)}),!0,!0)},s.handleSwap=function(e,t){return function(){return s.swap(e,t)}},s.move=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r.splice(t,1),r.splice(s,0,a),r}(s,e,t)}),!0,!0)},s.handleMove=function(e,t){return function(){return s.move(e,t)}},s.insert=function(e,t){return s.updateArrayField((function(s){return ae(s,e,t)}),(function(t){return ae(t,e,null)}),(function(t){return ae(t,e,null)}))},s.handleInsert=function(e,t){return function(){return s.insert(e,t)}},s.replace=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e);return r[t]=s,r}(s,e,t)}),!1,!1)},s.handleReplace=function(e,t){return function(){return s.replace(e,t)}},s.unshift=function(e){var t=-1;return s.updateArrayField((function(s){var r=s?[e].concat(s):[e];return t<0&&(t=r.length),r}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s})),t},s.handleUnshift=function(e){return function(){return s.unshift(e)}},s.handleRemove=function(e){return function(){return s.remove(e)}},s.handlePop=function(){return function(){return s.pop()}},s.remove=s.remove.bind(O(s)),s.pop=s.pop.bind(O(s)),s}var s,r;r=e,(s=t).prototype=Object.create(r.prototype),s.prototype.constructor=s,s.__proto__=r;var a=t.prototype;return a.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!d()(I(e.formik.values,e.name),I(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},a.remove=function(e){var t;return this.updateArrayField((function(s){var r=s?oe(s):[];return t||(t=r[e]),M(r.splice)&&r.splice(e,1),r}),!0,!0),t},a.pop=function(){var e;return this.updateArrayField((function(t){var s=t;return e||(e=s&&s.pop&&s.pop()),s}),!0,!0),e},a.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,s=t.component,r=t.render,a=t.children,o=t.name,i=T({},e,{form:F(t.formik,["validate","validationSchema"]),name:o});return s?(0,n.createElement)(s,i):r?r(i):a?"function"==typeof a?a(i):N(a)?null:n.Children.only(a):null},t}(n.Component);ie.defaultProps={validateOnChange:!0};var ne=re(ie);const le=window.lodash,ce=window.ReactDOM;function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},de.apply(this,arguments)}var ue;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(ue||(ue={}));const pe="popstate";function me(e,t){if(!1===e||null==e)throw new Error(t)}function he(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function fe(e,t){return{usr:e.state,key:e.key,idx:t}}function _e(e,t,s,r){return void 0===s&&(s=null),de({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?we(t):t,{state:s,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function ye(e){let{pathname:t="/",search:s="",hash:r=""}=e;return s&&"?"!==s&&(t+="?"===s.charAt(0)?s:"?"+s),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function we(e){let t={};if(e){let s=e.indexOf("#");s>=0&&(t.hash=e.substr(s),e=e.substr(0,s));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var ge;function be(e,t,s){return void 0===s&&(s="/"),function(e,t,s,r){let a=Re(("string"==typeof t?we(t):t).pathname||"/",s);if(null==a)return null;let o=ve(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let s=e.length===t.length&&e.slice(0,-1).every(((e,s)=>e===t[s]));return s?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let e=0;null==i&&e<o.length;++e){let t=$e(a);i=Pe(o[e],t,r)}return i}(e,t,s,!1)}function ve(e,t,s,r){void 0===t&&(t=[]),void 0===s&&(s=[]),void 0===r&&(r="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(me(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let n=Ie([r,i.relativePath]),l=s.concat(i);e.children&&e.children.length>0&&(me(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+n+'".'),ve(e.children,t,l,n)),(null!=e.path||e.index)&&t.push({path:n,score:Oe(n,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var s;if(""!==e.path&&null!=(s=e.path)&&s.includes("?"))for(let s of xe(e.path))a(e,t,s);else a(e,t)})),t}function xe(e){let t=e.split("/");if(0===t.length)return[];let[s,...r]=t,a=s.endsWith("?"),o=s.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=xe(r.join("/")),n=[];return n.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&n.push(...i),n.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(ge||(ge={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const ke=/^:[\w-]+$/,Se=3,je=2,Ee=1,Le=10,Te=-2,Fe=e=>"*"===e;function Oe(e,t){let s=e.split("/"),r=s.length;return s.some(Fe)&&(r+=Te),t&&(r+=je),s.filter((e=>!Fe(e))).reduce(((e,t)=>e+(ke.test(t)?Se:""===t?Ee:Le)),r)}function Pe(e,t,s){void 0===s&&(s=!1);let{routesMeta:r}=e,a={},o="/",i=[];for(let e=0;e<r.length;++e){let n=r[e],l=e===r.length-1,c="/"===o?t:t.slice(o.length)||"/",d=Me({path:n.relativePath,caseSensitive:n.caseSensitive,end:l},c),u=n.route;if(!d&&l&&s&&!r[r.length-1].route.index&&(d=Me({path:n.relativePath,caseSensitive:n.caseSensitive,end:!1},c)),!d)return null;Object.assign(a,d.params),i.push({params:a,pathname:Ie([o,d.pathname]),pathnameBase:De(Ie([o,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(o=Ie([o,d.pathnameBase]))}return i}function Me(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[s,r]=function(e,t,s){void 0===t&&(t=!1),void 0===s&&(s=!0),he("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,s)=>(r.push({paramName:t,isOptional:null!=s}),s?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(s);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),n=a.slice(1);return{params:r.reduce(((e,t,s)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=n[s]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=n[s];return e[r]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:i,pattern:e}}function $e(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return he(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Re(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,r=e.charAt(s);return r&&"/"!==r?null:e.slice(s)||"/"}function Ce(e,t,s,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+s+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Ne(e,t){let s=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?s.map(((e,t)=>t===s.length-1?e.pathname:e.pathnameBase)):s.map((e=>e.pathnameBase))}function Ae(e,t,s,r){let a;void 0===r&&(r=!1),"string"==typeof e?a=we(e):(a=de({},e),me(!a.pathname||!a.pathname.includes("?"),Ce("?","pathname","search",a)),me(!a.pathname||!a.pathname.includes("#"),Ce("#","pathname","hash",a)),me(!a.search||!a.search.includes("#"),Ce("#","search","hash",a)));let o,i=""===e||""===a.pathname,n=i?"/":a.pathname;if(null==n)o=s;else{let e=t.length-1;if(!r&&n.startsWith("..")){let t=n.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:s,search:r="",hash:a=""}="string"==typeof e?we(e):e,o=s?s.startsWith("/")?s:function(e,t){let s=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?s.length>1&&s.pop():"."!==e&&s.push(e)})),s.length>1?s.join("/"):"/"}(s,t):t;return{pathname:o,search:ze(r),hash:Ue(a)}}(a,o),c=n&&"/"!==n&&n.endsWith("/"),d=(i||"."===n)&&s.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const Ie=e=>e.join("/").replace(/\/\/+/g,"/"),De=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ze=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ue=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const Ve=["post","put","patch","delete"],Be=(new Set(Ve),["get",...Ve]);function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},He.apply(this,arguments)}new Set(Be),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const qe=n.createContext(null),We=n.createContext(null),Ge=n.createContext(null),Ye=n.createContext(null),Ke=n.createContext({outlet:null,matches:[],isDataRoute:!1}),Ze=n.createContext(null);function Je(){return null!=n.useContext(Ye)}function Qe(){return Je()||me(!1),n.useContext(Ye).location}function Xe(e){n.useContext(Ge).static||n.useLayoutEffect(e)}function et(){let{isDataRoute:e}=n.useContext(Ke);return e?function(){let{router:e}=function(e){let t=n.useContext(qe);return t||me(!1),t}(nt.UseNavigateStable),t=ct(lt.UseNavigateStable),s=n.useRef(!1);return Xe((()=>{s.current=!0})),n.useCallback((function(r,a){void 0===a&&(a={}),s.current&&("number"==typeof r?e.navigate(r):e.navigate(r,He({fromRouteId:t},a)))}),[e,t])}():function(){Je()||me(!1);let e=n.useContext(qe),{basename:t,future:s,navigator:r}=n.useContext(Ge),{matches:a}=n.useContext(Ke),{pathname:o}=Qe(),i=JSON.stringify(Ne(a,s.v7_relativeSplatPath)),l=n.useRef(!1);return Xe((()=>{l.current=!0})),n.useCallback((function(s,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof s)return void r.go(s);let n=Ae(s,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(n.pathname="/"===n.pathname?t:Ie([t,n.pathname])),(a.replace?r.replace:r.push)(n,a.state,a)}),[t,r,i,o,e])}()}function tt(e,t){let{relative:s}=void 0===t?{}:t,{future:r}=n.useContext(Ge),{matches:a}=n.useContext(Ke),{pathname:o}=Qe(),i=JSON.stringify(Ne(a,r.v7_relativeSplatPath));return n.useMemo((()=>Ae(e,JSON.parse(i),o,"path"===s)),[e,i,o,s])}function st(e,t,s,r){Je()||me(!1);let{navigator:a}=n.useContext(Ge),{matches:o}=n.useContext(Ke),i=o[o.length-1],l=i?i.params:{},c=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let d,u=Qe();if(t){var p;let e="string"==typeof t?we(t):t;"/"===c||(null==(p=e.pathname)?void 0:p.startsWith(c))||me(!1),d=e}else d=u;let m=d.pathname||"/",h=m;if("/"!==c){let e=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=be(e,{pathname:h}),_=function(e,t,s,r){var a;if(void 0===t&&(t=[]),void 0===s&&(s=null),void 0===r&&(r=null),null==e){var o;if(!s)return null;if(s.errors)e=s.matches;else{if(!(null!=(o=r)&&o.v7_partialHydration&&0===t.length&&!s.initialized&&s.matches.length>0))return null;e=s.matches}}let i=e,l=null==(a=s)?void 0:a.errors;if(null!=l){let e=i.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||me(!1),i=i.slice(0,Math.min(i.length,e+1))}let c=!1,d=-1;if(s&&r&&r.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=s,a=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||a){c=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight(((e,r,a)=>{let o,u=!1,p=null,m=null;var h;s&&(o=l&&r.route.id?l[r.route.id]:void 0,p=r.route.errorElement||at,c&&(d<0&&0===a?(dt[h="route-fallback"]||(dt[h]=!0),u=!0,m=null):d===a&&(u=!0,m=r.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,a+1)),_=()=>{let t;return t=o?p:u?m:r.route.Component?n.createElement(r.route.Component,null):r.route.element?r.route.element:e,n.createElement(it,{match:r,routeContext:{outlet:e,matches:f,isDataRoute:null!=s},children:t})};return s&&(r.route.ErrorBoundary||r.route.errorElement||0===a)?n.createElement(ot,{location:s.location,revalidation:s.revalidation,component:p,error:o,children:_(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):_()}),null)}(f&&f.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:Ie([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Ie([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,s,r);return t&&_?n.createElement(Ye.Provider,{value:{location:He({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ue.Pop}},_):_}function rt(){let e=function(){var e;let t=n.useContext(Ze),s=function(e){let t=n.useContext(We);return t||me(!1),t}(lt.UseRouteError),r=ct(lt.UseRouteError);return void 0!==t?t:null==(e=s.errors)?void 0:e[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),s=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),s?n.createElement("pre",{style:r},s):null,null)}const at=n.createElement(rt,null);class ot extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(Ke.Provider,{value:this.props.routeContext},n.createElement(Ze.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function it(e){let{routeContext:t,match:s,children:r}=e,a=n.useContext(qe);return a&&a.static&&a.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=s.route.id),n.createElement(Ke.Provider,{value:t},r)}var nt=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nt||{}),lt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(lt||{});function ct(e){let t=function(e){let t=n.useContext(Ke);return t||me(!1),t}(),s=t.matches[t.matches.length-1];return s.route.id||me(!1),s.route.id}const dt={};function ut(e){let{to:t,replace:s,state:r,relative:a}=e;Je()||me(!1);let{future:o,static:i}=n.useContext(Ge),{matches:l}=n.useContext(Ke),{pathname:c}=Qe(),d=et(),u=Ae(t,Ne(l,o.v7_relativeSplatPath),c,"path"===a),p=JSON.stringify(u);return n.useEffect((()=>d(JSON.parse(p),{replace:s,state:r,relative:a})),[d,p,a,s,r]),null}function pt(e){me(!1)}function mt(e){let{basename:t="/",children:s=null,location:r,navigationType:a=ue.Pop,navigator:o,static:i=!1,future:l}=e;Je()&&me(!1);let c=t.replace(/^\/*/,"/"),d=n.useMemo((()=>({basename:c,navigator:o,static:i,future:He({v7_relativeSplatPath:!1},l)})),[c,l,o,i]);"string"==typeof r&&(r=we(r));let{pathname:u="/",search:p="",hash:m="",state:h=null,key:f="default"}=r,_=n.useMemo((()=>{let e=Re(u,c);return null==e?null:{location:{pathname:e,search:p,hash:m,state:h,key:f},navigationType:a}}),[c,u,p,m,h,f,a]);return null==_?null:n.createElement(Ge.Provider,{value:d},n.createElement(Ye.Provider,{children:s,value:_}))}function ht(e){let{children:t,location:s}=e;return st(ft(t),s)}function ft(e,t){void 0===t&&(t=[]);let s=[];return n.Children.forEach(e,((e,r)=>{if(!n.isValidElement(e))return;let a=[...t,r];if(e.type===n.Fragment)return void s.push.apply(s,ft(e.props.children,a));e.type!==pt&&me(!1),e.props.index&&e.props.children&&me(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ft(e.props.children,a)),s.push(o)})),s}function _t(){return _t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},_t.apply(this,arguments)}n.startTransition,new Promise((()=>{})),n.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const yt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(ms){}new Map;const wt=n.startTransition;function gt(e){let{basename:t,children:s,future:r,window:a}=e,o=n.useRef();var i;null==o.current&&(o.current=(void 0===(i={window:a,v5Compat:!0})&&(i={}),function(e,t,s,r){void 0===r&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,n=ue.Pop,l=null,c=d();function d(){return(i.state||{idx:null}).idx}function u(){n=ue.Pop;let e=d(),t=null==e?null:e-c;c=e,l&&l({action:n,location:m.location,delta:t})}function p(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,s="string"==typeof e?e:ye(e);return s=s.replace(/ $/,"%20"),me(t,"No window.location.(origin|href) available to create URL for href: "+s),new URL(s,t)}null==c&&(c=0,i.replaceState(de({},i.state,{idx:c}),""));let m={get action(){return n},get location(){return e(a,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(pe,u),l=e,()=>{a.removeEventListener(pe,u),l=null}},createHref:e=>t(a,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){n=ue.Push;let r=_e(m.location,e,t);s&&s(r,e),c=d()+1;let u=fe(r,c),p=m.createHref(r);try{i.pushState(u,"",p)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(p)}o&&l&&l({action:n,location:m.location,delta:1})},replace:function(e,t){n=ue.Replace;let r=_e(m.location,e,t);s&&s(r,e),c=d();let a=fe(r,c),u=m.createHref(r);i.replaceState(a,"",u),o&&l&&l({action:n,location:m.location,delta:0})},go:e=>i.go(e)};return m}((function(e,t){let{pathname:s="/",search:r="",hash:a=""}=we(e.location.hash.substr(1));return s.startsWith("/")||s.startsWith(".")||(s="/"+s),_e("",{pathname:s,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let s=e.document.querySelector("base"),r="";if(s&&s.getAttribute("href")){let t=e.location.href,s=t.indexOf("#");r=-1===s?t:t.slice(0,s)}return r+"#"+("string"==typeof t?t:ye(t))}),(function(e,t){he("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),i)));let l=o.current,[c,d]=n.useState({action:l.action,location:l.location}),{v7_startTransition:u}=r||{},p=n.useCallback((e=>{u&&wt?wt((()=>d(e))):d(e)}),[d,u]);return n.useLayoutEffect((()=>l.listen(p)),[l,p]),n.createElement(mt,{basename:t,children:s,location:c.location,navigationType:c.action,navigator:l,future:r})}ce.flushSync,n.useId;const bt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,vt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xt=n.forwardRef((function(e,t){let s,{onClick:r,relative:a,reloadDocument:o,replace:i,state:l,target:c,to:d,preventScrollReset:u,unstable_viewTransition:p}=e,m=function(e,t){if(null==e)return{};var s,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)s=o[r],t.indexOf(s)>=0||(a[s]=e[s]);return a}(e,yt),{basename:h}=n.useContext(Ge),f=!1;if("string"==typeof d&&vt.test(d)&&(s=d,bt))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),s=Re(t.pathname,h);t.origin===e.origin&&null!=s?d=s+t.search+t.hash:f=!0}catch(e){}let _=function(e,t){let{relative:s}=void 0===t?{}:t;Je()||me(!1);let{basename:r,navigator:a}=n.useContext(Ge),{hash:o,pathname:i,search:l}=tt(e,{relative:s}),c=i;return"/"!==r&&(c="/"===i?r:Ie([r,i])),a.createHref({pathname:c,search:l,hash:o})}(d,{relative:a}),y=function(e,t){let{target:s,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:l}=void 0===t?{}:t,c=et(),d=Qe(),u=tt(e,{relative:i});return n.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,s)){t.preventDefault();let s=void 0!==r?r:ye(d)===ye(u);c(e,{replace:s,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:l})}}),[d,c,u,r,a,s,e,o,i,l])}(d,{replace:i,state:l,target:c,preventScrollReset:u,relative:a,unstable_viewTransition:p});return n.createElement("a",_t({},m,{href:s||_,onClick:f||o?r:function(e){r&&r(e),e.defaultPrevented||y(e)},ref:t,target:c}))}));var kt,St;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(kt||(kt={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(St||(St={}));const jt=window.yoast.styledComponents,Et=window.wp.i18n,Lt=window.yoast.reduxJsToolkit,Tt="adminUrl",Ft=(0,Lt.createSlice)({name:Tt,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),Ot=(Ft.getInitialState,{selectAdminUrl:e=>(0,le.get)(e,Tt,"")});Ot.selectAdminLink=(0,Lt.createSelector)([Ot.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),Ft.actions,Ft.reducer;const Pt=window.wp.apiFetch;var Mt=s.n(Pt);const $t="hasConsent",Rt=(0,Lt.createSlice)({name:$t,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),Ct=(Rt.getInitialState,Rt.actions,Rt.reducer,window.wp.url),Nt="linkParams",At=(0,Lt.createSlice)({name:Nt,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),It=At.getInitialState,Dt={selectLinkParam:(e,t,s={})=>(0,le.get)(e,`${Nt}.${t}`,s),selectLinkParams:e=>(0,le.get)(e,Nt,{})};Dt.selectLink=(0,Lt.createSelector)([Dt.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,Ct.addQueryArgs)(t,{...e,...s})));const zt=At.actions,Ut=At.reducer,Vt="notifications",Bt=(0,Lt.createSlice)({name:Vt,initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:a})=>({payload:{id:e||(0,Lt.nanoid)(),variant:t,size:s,title:r||"",description:a}})},removeNotification:(e,{payload:t})=>(0,le.omit)(e,t)}}),Ht=Bt.getInitialState,qt={selectNotifications:e=>(0,le.get)(e,Vt,{}),selectNotification:(e,t)=>(0,le.get)(e,[Vt,t],null)},Wt=Bt.actions,Gt=Bt.reducer,Yt="pluginUrl",Kt=(0,Lt.createSlice)({name:Yt,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),Zt=(Kt.getInitialState,{selectPluginUrl:e=>(0,le.get)(e,Yt,"")});Zt.selectImageLink=(0,Lt.createSelector)([Zt.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,le.trimEnd)(e,"/"),(0,le.trim)(t,"/"),(0,le.trimStart)(s,"/")].join("/"))),Kt.actions,Kt.reducer;const Jt="request",Qt="success",Xt="error",es="idle",ts="loading",ss="success",rs="error",as="wistiaEmbedPermission",os=(0,Lt.createSlice)({name:as,initialState:{value:!1,status:es,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${as}/${Jt}`,(e=>{e.status=ts})),e.addCase(`${as}/${Qt}`,((e,{payload:t})=>{e.status=ss,e.value=Boolean(t&&t.value)})),e.addCase(`${as}/${Xt}`,((e,{payload:t})=>{e.status=rs,e.value=Boolean(t&&t.value),e.error={code:(0,le.get)(t,"error.code",500),message:(0,le.get)(t,"error.message","Unknown")}}))}});var is;os.getInitialState,os.actions,os.reducer;const ns="documentTitle",ls=(0,Lt.createSlice)({name:ns,initialState:(0,le.defaultTo)(null===(is=document)||void 0===is?void 0:is.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),cs=(ls.getInitialState,{selectDocumentTitle:e=>(0,le.get)(e,ns,""),selectDocumentFullTitle:(e,{prefix:t=""}={})=>{const s=(0,le.get)(e,ns,"");return s.startsWith(t)?s:`${t} ‹ ${s}`}}),ds=(ls.actions,ls.reducer);function us(...e){return e.filter(Boolean).join(" ")}function ps(e,t,...s){if(e in t){let r=t[e];return"function"==typeof r?r(...s):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ps),r}var ms,hs,fs=((hs=fs||{})[hs.None=0]="None",hs[hs.RenderStrategy=1]="RenderStrategy",hs[hs.Static=2]="Static",hs),_s=((ms=_s||{})[ms.Unmount=0]="Unmount",ms[ms.Hidden=1]="Hidden",ms);function ys({ourProps:e,theirProps:t,slot:s,defaultTag:r,features:a,visible:o=!0,name:i}){let n=gs(t,e);if(o)return ws(n,s,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=n;if(e)return ws(t,s,r,i)}if(1&l){let{unmount:e=!0,...t}=n;return ps(e?0:1,{0:()=>null,1:()=>ws({...t,hidden:!0,style:{display:"none"}},s,r,i)})}return ws(n,s,r,i)}function ws(e,t={},s,r){var a;let{as:o=s,children:i,refName:l="ref",...c}=xs(e,["unmount","static"]),d=void 0!==e.ref?{[l]:e.ref}:{},u="function"==typeof i?i(t):i;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,s=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&s.push(r);e&&(p["data-headlessui-state"]=s.join(" "))}if(o===n.Fragment&&Object.keys(vs(c)).length>0){if(!(0,n.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=us(null==(a=u.props)?void 0:a.className,c.className),t=e?{className:e}:{};return(0,n.cloneElement)(u,Object.assign({},gs(u.props,vs(xs(c,["ref"]))),p,d,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let s of e)null!=s&&("function"==typeof s?s(t):s.current=t)}}}(u.ref,d.ref),t))}return(0,n.createElement)(o,Object.assign({},xs(c,["ref"]),o!==n.Fragment&&d,o!==n.Fragment&&p),u)}function gs(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},s={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=s[e]||(s[e]=[]),s[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(s).map((e=>[e,void 0]))));for(let e in s)Object.assign(t,{[e](t,...r){let a=s[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function bs(e){var t;return Object.assign((0,n.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function vs(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function xs(e,t=[]){let s=Object.assign({},e);for(let e of t)e in s&&delete s[e];return s}let ks=(0,n.createContext)(null);ks.displayName="OpenClosedContext";var Ss=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ss||{});function js(){return(0,n.useContext)(ks)}function Es({value:e,children:t}){return n.createElement(ks.Provider,{value:e},t)}var Ls=Object.defineProperty,Ts=(e,t,s)=>(((e,t,s)=>{t in e?Ls(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);let Fs=new class{constructor(){Ts(this,"current",this.detect()),Ts(this,"handoffState","pending"),Ts(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Os=(e,t)=>{Fs.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)};function Ps(){let e=(0,n.useRef)(!1);return Os((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Ms(e){let t=(0,n.useRef)(e);return Os((()=>{t.current=e}),[e]),t}function $s(){let[e,t]=(0,n.useState)(Fs.isHandoffComplete);return e&&!1===Fs.isHandoffComplete&&t(!1),(0,n.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,n.useEffect)((()=>Fs.handoff()),[]),e}let Rs=function(e){let t=Ms(e);return n.useCallback(((...e)=>t.current(...e)),[t])},Cs=Symbol();function Ns(...e){let t=(0,n.useRef)(e);(0,n.useEffect)((()=>{t.current=e}),[e]);let s=Rs((e=>{for(let s of t.current)null!=s&&("function"==typeof s?s(e):s.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Cs])))?void 0:s}function As(){let e=[],t=[],s={enqueue(e){t.push(e)},addEventListener:(e,t,r,a)=>(e.addEventListener(t,r,a),s.add((()=>e.removeEventListener(t,r,a)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return s.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>s.requestAnimationFrame((()=>s.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return s.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),s.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let s=e.indexOf(t);if(s>=0){let[t]=e.splice(s,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return s}function Is(e,...t){e&&t.length>0&&e.classList.add(...t)}function Ds(e,...t){e&&t.length>0&&e.classList.remove(...t)}function zs(){let[e]=(0,n.useState)(As);return(0,n.useEffect)((()=>()=>e.dispose()),[e]),e}function Us({container:e,direction:t,classes:s,onStart:r,onStop:a}){let o=Ps(),i=zs(),n=Ms(t);Os((()=>{let t=As();i.add(t.dispose);let l=e.current;if(l&&"idle"!==n.current&&o.current)return t.dispose(),r.current(n.current),t.add(function(e,t,s,r){let a=s?"enter":"leave",o=As(),i=void 0!==r?function(e){let t={called:!1};return(...s)=>{if(!t.called)return t.called=!0,e(...s)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let n=ps(a,{enter:()=>t.enter,leave:()=>t.leave}),l=ps(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=ps(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Ds(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Is(e,...n,...c),o.nextFrame((()=>{Ds(e,...c),Is(e,...l),function(e,t){let s=As();if(!e)return s.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+i!==0){let r=s.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();s.add((()=>t())),s.dispose}(e,(()=>(Ds(e,...n),Is(e,...t.entered),i())))})),o.dispose}(l,s.current,"enter"===n.current,(()=>{t.dispose(),a.current(n.current)}))),t.dispose}),[t])}function Vs(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let Bs=(0,n.createContext)(null);Bs.displayName="TransitionContext";var Hs=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Hs||{});let qs=(0,n.createContext)(null);function Ws(e){return"children"in e?Ws(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Gs(e,t){let s=Ms(e),r=(0,n.useRef)([]),a=Ps(),o=zs(),i=Rs(((e,t=_s.Hidden)=>{let i=r.current.findIndex((({el:t})=>t===e));-1!==i&&(ps(t,{[_s.Unmount](){r.current.splice(i,1)},[_s.Hidden](){r.current[i].state="hidden"}}),o.microTask((()=>{var e;!Ws(r)&&a.current&&(null==(e=s.current)||e.call(s))})))})),l=Rs((e=>{let t=r.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>i(e,_s.Unmount)})),c=(0,n.useRef)([]),d=(0,n.useRef)(Promise.resolve()),u=(0,n.useRef)({enter:[],leave:[],idle:[]}),p=Rs(((e,s,r)=>{c.current.splice(0),t&&(t.chains.current[s]=t.chains.current[s].filter((([t])=>t!==e))),null==t||t.chains.current[s].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[s].push([e,new Promise((e=>{Promise.all(u.current[s].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===s?d.current=d.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(s))):r(s)})),m=Rs(((e,t,s)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>s(t)))}));return(0,n.useMemo)((()=>({children:r,register:l,unregister:i,onStart:p,onStop:m,wait:d,chains:u})),[l,i,r,p,m,u,d])}function Ys(){}qs.displayName="NestingContext";let Ks=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Zs(e){var t;let s={};for(let r of Ks)s[r]=null!=(t=e[r])?t:Ys;return s}let Js=fs.RenderStrategy,Qs=bs((function(e,t){let{beforeEnter:s,afterEnter:r,beforeLeave:a,afterLeave:o,enter:i,enterFrom:l,enterTo:c,entered:d,leave:u,leaveFrom:p,leaveTo:m,...h}=e,f=(0,n.useRef)(null),_=Ns(f,t),y=h.unmount?_s.Unmount:_s.Hidden,{show:w,appear:g,initial:b}=function(){let e=(0,n.useContext)(Bs);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[v,x]=(0,n.useState)(w?"visible":"hidden"),k=function(){let e=(0,n.useContext)(qs);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:S,unregister:j}=k,E=(0,n.useRef)(null);(0,n.useEffect)((()=>S(f)),[S,f]),(0,n.useEffect)((()=>{if(y===_s.Hidden&&f.current)return w&&"visible"!==v?void x("visible"):ps(v,{hidden:()=>j(f),visible:()=>S(f)})}),[v,f,S,j,w,y]);let L=Ms({enter:Vs(i),enterFrom:Vs(l),enterTo:Vs(c),entered:Vs(d),leave:Vs(u),leaveFrom:Vs(p),leaveTo:Vs(m)}),T=function(e){let t=(0,n.useRef)(Zs(e));return(0,n.useEffect)((()=>{t.current=Zs(e)}),[e]),t}({beforeEnter:s,afterEnter:r,beforeLeave:a,afterLeave:o}),F=$s();(0,n.useEffect)((()=>{if(F&&"visible"===v&&null===f.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[f,v,F]);let O=b&&!g,P=!F||O||E.current===w?"idle":w?"enter":"leave",M=Rs((e=>ps(e,{enter:()=>T.current.beforeEnter(),leave:()=>T.current.beforeLeave(),idle:()=>{}}))),$=Rs((e=>ps(e,{enter:()=>T.current.afterEnter(),leave:()=>T.current.afterLeave(),idle:()=>{}}))),R=Gs((()=>{x("hidden"),j(f)}),k);Us({container:f,classes:L,direction:P,onStart:Ms((e=>{R.onStart(f,e,M)})),onStop:Ms((e=>{R.onStop(f,e,$),"leave"===e&&!Ws(R)&&(x("hidden"),j(f))}))}),(0,n.useEffect)((()=>{!O||(y===_s.Hidden?E.current=null:E.current=w)}),[w,O,v]);let C=h,N={ref:_};return g&&w&&Fs.isServer&&(C={...C,className:us(h.className,...L.current.enter,...L.current.enterFrom)}),n.createElement(qs.Provider,{value:R},n.createElement(Es,{value:ps(v,{visible:Ss.Open,hidden:Ss.Closed})},ys({ourProps:N,theirProps:C,defaultTag:"div",features:Js,visible:"visible"===v,name:"Transition.Child"})))})),Xs=bs((function(e,t){let{show:s,appear:r=!1,unmount:a,...o}=e,i=(0,n.useRef)(null),l=Ns(i,t);$s();let c=js();if(void 0===s&&null!==c&&(s=ps(c,{[Ss.Open]:!0,[Ss.Closed]:!1})),![!0,!1].includes(s))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,n.useState)(s?"visible":"hidden"),p=Gs((()=>{u("hidden")})),[m,h]=(0,n.useState)(!0),f=(0,n.useRef)([s]);Os((()=>{!1!==m&&f.current[f.current.length-1]!==s&&(f.current.push(s),h(!1))}),[f,s]);let _=(0,n.useMemo)((()=>({show:s,appear:r,initial:m})),[s,r,m]);(0,n.useEffect)((()=>{if(s)u("visible");else if(Ws(p)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[s,p]);let y={unmount:a};return n.createElement(qs.Provider,{value:p},n.createElement(Bs.Provider,{value:_},ys({ourProps:{...y,as:n.Fragment,children:n.createElement(Qs,{ref:l,...y,...o})},theirProps:{},defaultTag:n.Fragment,features:Js,visible:"visible"===d,name:"Transition"})))})),er=bs((function(e,t){let s=null!==(0,n.useContext)(Bs),r=null!==js();return n.createElement(n.Fragment,null,!s&&r?n.createElement(Xs,{ref:t,...e}):n.createElement(Qs,{ref:t,...e}))})),tr=Object.assign(Xs,{Child:er,Root:Xs});const sr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),rr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),ar=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))}));var or=s(4184),ir=s.n(or),nr=s(5890),lr=s.n(nr);const cr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),dr=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},ur=window.ReactJSXRuntime,pr=({link:e})=>{const t=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ (0,Et.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:(0,ur.jsx)("a",{href:e,target:"_blank",rel:"noopener",children:"Yoast SEO academy"})})),[]);return(0,ur.jsxs)(i.Paper,{as:"div",className:"yst-p-6 yst-space-y-3",children:[(0,ur.jsx)(i.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500",children:(0,Et.__)("Learn SEO","wordpress-seo")}),(0,ur.jsxs)("p",{children:[t,(0,ur.jsx)("br",{}),(0,Et.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")]}),(0,ur.jsxs)(i.Link,{href:e,className:"yst-block yst-font-medium",target:"_blank",rel:"noopener",children:[(0,Et.sprintf)(/* translators: %1$s expands to "Yoast SEO academy". */ (0,Et.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy"),(0,ur.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Et.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,ur.jsx)(cr,{className:"yst-w-3 yst-h-3 yst-mb-[1px] yst-icon-rtl yst-inline-block"})]})]})};pr.propTypes={link:lr().string.isRequired};const mr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),hr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));lr().string.isRequired,lr().string.isRequired,lr().shape({src:lr().string.isRequired,width:lr().string,height:lr().string}).isRequired,lr().shape({value:lr().bool.isRequired,status:lr().string.isRequired,set:lr().func.isRequired}).isRequired,lr().string,lr().string,lr().string;const fr=({handleRefreshClick:e,supportLink:t})=>(0,ur.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,ur.jsx)(i.Button,{onClick:e,children:(0,Et.__)("Refresh this page","wordpress-seo")}),(0,ur.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,Et.__)("Contact support","wordpress-seo")})]});fr.propTypes={handleRefreshClick:lr().func.isRequired,supportLink:lr().string.isRequired};const _r=({handleRefreshClick:e,supportLink:t})=>(0,ur.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,ur.jsx)(i.Button,{className:"yst-order-last",onClick:e,children:(0,Et.__)("Refresh this page","wordpress-seo")}),(0,ur.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,Et.__)("Contact support","wordpress-seo")})]});_r.propTypes={handleRefreshClick:lr().func.isRequired,supportLink:lr().string.isRequired};const yr=({error:e,children:t=null})=>(0,ur.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,ur.jsx)(i.Title,{children:(0,Et.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,ur.jsx)("p",{children:(0,Et.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,ur.jsx)(i.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,Et.__)("Undefined error message.","wordpress-seo")}),(0,ur.jsx)("p",{children:(0,Et.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});yr.propTypes={error:lr().object.isRequired,children:lr().node},yr.VerticalButtons=_r,yr.HorizontalButtons=fr;const wr={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},gr=({id:e,children:t,title:s,description:r=null,variant:a="2xl"})=>(0,ur.jsxs)("section",{id:e,className:wr.variant[a].grid,children:[(0,ur.jsx)("div",{className:wr.variant[a].col1,children:(0,ur.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,ur.jsx)(i.Title,{as:"h2",size:"4",children:s}),r&&(0,ur.jsx)("p",{className:"yst-mt-2",children:r})]})}),(0,ur.jsxs)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${wr.variant[a].col2}`,children:[(0,ur.jsx)("legend",{className:"yst-sr-only",children:s}),(0,ur.jsx)("div",{className:"yst-space-y-8",children:t})]})]});gr.propTypes={id:lr().string,children:lr().node.isRequired,title:lr().node.isRequired,description:lr().node,variant:lr().oneOf(Object.keys(wr.variant))};const br=({to:e,idSuffix:t="",...s})=>{const r=(0,o.useMemo)((()=>(0,le.replace)((0,le.replace)(`link-${e}`,"/","-"),"--","-")),[e]);return(0,ur.jsx)(i.SidebarNavigation.SubmenuItem,{as:xt,pathProp:"to",id:`${r}${t}`,to:e,...s})};br.propTypes={to:lr().string.isRequired,idSuffix:lr().string};const vr=({href:e,children:t=null,...s})=>(0,ur.jsxs)(i.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,ur.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Et.__)("(Opens in a new browser tab)","wordpress-seo")})]});vr.propTypes={href:lr().string.isRequired,children:lr().node};const xr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),kr=[(0,Et.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,Et.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,Et.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,Et.__)("Optimize pages for multiple keywords with guidance","wordpress-seo")],Sr=[(0,Et.__)("Add product details to help your listings stand out","wordpress-seo"),(0,Et.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,Et.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,Et.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo")],jr=[(0,Et.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,Et.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,Et.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,Et.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,Et.__)("Internal links and redirect management, easy","wordpress-seo"),(0,Et.__)("Access to friendly help when you need it, day or night","wordpress-seo")],Er=(e=!1)=>e?kr:jr,Lr=(e=!1)=>{if(e)return Sr;const t=[...jr];return t[1]=(0,Et.__)("Boost visibility for your products, from 10 or 10,000+","wordpress-seo"),t};var Tr,Fr;function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Or.apply(null,arguments)}const Pr=e=>n.createElement("svg",Or({xmlns:"http://www.w3.org/2000/svg",id:"yoast-premium-logo-new_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 200 200"},e),Tr||(Tr=n.createElement("defs",null,n.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#9fda4f"}),n.createElement("stop",{offset:1,stopColor:"#77b227"})),n.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-2",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#fec228"}),n.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),n.createElement("stop",{offset:1,stopColor:"#f49a00"})),n.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-3",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#ff4e47"}),n.createElement("stop",{offset:1,stopColor:"#ed261f"})),n.createElement("linearGradient",{id:"yoast-premium-logo-new_svg__linear-gradient",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:.17,stopColor:"#5d237a"}),n.createElement("stop",{offset:.42,stopColor:"#7c2072"}),n.createElement("stop",{offset:.71,stopColor:"#9a1e6b"}),n.createElement("stop",{offset:.87,stopColor:"#a61e69"})),n.createElement("style",null,".yoast-premium-logo-new_svg__cls-6{fill:#cd82ab}"))),n.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#yoast-premium-logo-new_svg__linear-gradient)"}}),n.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient)"}}),n.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-2)"}}),n.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-3)"}}),n.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),Fr||(Fr=n.createElement("path",{d:"M172.2 175.15h-33.59v2.95h33.59v-2.95ZM163.12 163.51l-7.72-14.2-7.72 14.2-11.88-8.44 2.8 18.99h33.59l2.8-18.99-11.88 8.44Z",className:"yoast-premium-logo-new_svg__cls-6"})));var Mr;function $r(){return $r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},$r.apply(null,arguments)}const Rr=e=>n.createElement("svg",$r({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 200 200"},e),Mr||(Mr=n.createElement("defs",null,n.createElement("radialGradient",{id:"woo-seo-logo-new_svg__b",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#9fda4f"}),n.createElement("stop",{offset:1,stopColor:"#77b227"})),n.createElement("radialGradient",{id:"woo-seo-logo-new_svg__c",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#fec228"}),n.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),n.createElement("stop",{offset:1,stopColor:"#f49a00"})),n.createElement("radialGradient",{id:"woo-seo-logo-new_svg__d",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:0,stopColor:"#ff4e47"}),n.createElement("stop",{offset:1,stopColor:"#ed261f"})),n.createElement("linearGradient",{id:"woo-seo-logo-new_svg__a",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:.17,stopColor:"#0e1e65"}),n.createElement("stop",{offset:.48,stopColor:"#064b8d"}),n.createElement("stop",{offset:.73,stopColor:"#0169a8"}),n.createElement("stop",{offset:.87,stopColor:"#0075b3"})))),n.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#woo-seo-logo-new_svg__a)"}}),n.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#woo-seo-logo-new_svg__b)"}}),n.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#woo-seo-logo-new_svg__c)"}}),n.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#woo-seo-logo-new_svg__d)"}}),n.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),n.createElement("path",{d:"M171.68 147.89a2.9 2.9 0 0 0-2.81 2.16l-.36 1.34c-8.43-.15-16.85.83-25.01 2.9-.03 0-.05.01-.08.02-.61.21-.94.86-.73 1.47a90.79 90.79 0 0 0 4.59 11.2c.19.4.6.65 1.05.65h17.38c1.47 0 2.79.93 3.29 2.32h-23.04a1.16 1.16 0 0 0 0 2.32h24.4c.64 0 1.16-.52 1.16-1.16 0-2.65-1.78-4.95-4.35-5.62l3.97-14.86a.58.58 0 0 1 .56-.43h2.14a1.16 1.16 0 0 0 0-2.32h-2.15Zm-2.5 30.21c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Zm-19.75 0c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Z",style:{fill:"#a1cce3"}})),Cr=({link:e,linkProps:t,isPromotionActive:s,isWooCommerceActive:r})=>{const a=r?Lr:Er,n=(0,o.useMemo)((()=>r?(0,Et.__)("Grow your store's visibility!","wordpress-seo"):(0,Et.__)("Spend less time on SEO tasks!","wordpress-seo")),[r]),l=(0,o.useMemo)((()=>r?(0,Et.__)("Help ready-to-buy shoppers and search engines find your product.","wordpress-seo"):(0,Et.__)("Optimize your site faster, smarter, and with more confidence.","wordpress-seo")),[r]);let c=(0,Et.__)("Buy now","wordpress-seo");const d=(0,o.useMemo)((()=>r?(0,Et.__)("Less friction. Smarter optimization.","wordpress-seo"):(0,Et.__)("Less friction. Faster publishing.","wordpress-seo")),[r]),u=dr(r?(0,Et.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,Et.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast WooCommerce SEO"):(0,Et.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,Et.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast SEO Premium"),{nowrap:(0,ur.jsx)("span",{className:"yst-whitespace-nowrap"})}),p=s("black-friday-promotion");return p&&(c=(0,Et.__)("Buy now for 30% off","wordpress-seo")),(0,ur.jsxs)("div",{className:ir()("yst-p-6 yst-rounded-lg yst-text-slate-600 yst-bg-white yst-shadow yst-border",r?"yst-border-woo-light yst-border-opacity-50":"yst-border-primary-300"),children:[(0,ur.jsx)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-relative yst-z-10 yst-mt-[-2.6rem]",children:r?(0,ur.jsx)(Rr,{}):(0,ur.jsx)(Pr,{})}),p&&(0,ur.jsx)("div",{className:"sidebar__sale_banner_container",children:(0,ur.jsx)("div",{className:"sidebar__sale_banner",children:(0,ur.jsx)("span",{className:"banner_text",children:(0,Et.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})})}),(0,ur.jsx)(i.Title,{as:"h2",className:ir()("yst-mt-6 yst-text-xl yst-font-semibold",r?"yst-text-woo-light":"yst-text-primary-500"),children:u}),(0,ur.jsx)("p",{className:"yst-mt-3 yst-font-medium yst-text-slate-800",children:n}),(0,ur.jsx)("p",{className:"yst-mt-1 yst-font-normal",children:l}),(0,ur.jsx)("ul",{className:"yst-list-outside yst-text-slate-600 yst-mt-4 yst-flex yst-flex-col yst-gap-2",children:a(!0).map(((e,t)=>(0,ur.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,ur.jsx)(xr,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${t}`)))}),(0,ur.jsxs)(i.Button,{as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500",...t,children:[(0,ur.jsx)("span",{children:c}),(0,ur.jsx)(hr,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"})]}),(0,ur.jsx)("p",{className:"yst-text-center yst-text-xs yst-font-normal yst-leading-5 yst-text-slate-500 yst-italic yst-mt-3 yst-mb-2",children:d}),(0,ur.jsx)("hr",{className:"yst-border-t yst-border-slate-200 yst-my-4"}),(0,ur.jsxs)("ul",{className:"yst-text-center yst-text-xs yst-font-medium yst-text-slate-800 yst-list-none",children:[(0,ur.jsx)("li",{children:(0,Et.__)("30-day money back guarantee","wordpress-seo")}),(0,ur.jsx)("li",{children:(0,Et.__)("24/7 support","wordpress-seo")})]})]})};Cr.propTypes={link:lr().string.isRequired,linkProps:lr().object.isRequired,isPromotionActive:lr().func.isRequired};const Nr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));var Ar;function Ir(){return Ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ir.apply(null,arguments)}const Dr=e=>n.createElement("svg",Ir({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),Ar||(Ar=n.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));var zr;function Ur(){return Ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ur.apply(null,arguments)}const Vr=e=>n.createElement("svg",Ur({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),zr||(zr=n.createElement("path",{fill:"#0075B3",d:"M12.613.445a1.26 1.26 0 0 0-1.22.937l-.156.583A40.97 40.97 0 0 0 .379 3.225c-.013 0-.022.007-.035.01a.503.503 0 0 0-.317.64 40.344 40.344 0 0 0 1.99 4.861c.084.173.26.282.455.282h7.542c.64 0 1.213.403 1.427 1.008h-10a.507.507 0 0 0 0 1.01h10.592a.507.507 0 0 0 .506-.505c0-1.149-.774-2.15-1.888-2.441l1.722-6.452a.25.25 0 0 1 .243-.185h.931a.507.507 0 0 0 0-1.011h-.931l-.003.003Zm-1.085 13.114a1.008 1.008 0 1 1 0-2.016 1.008 1.008 0 0 1 0 2.016Zm-8.573 0a1.008 1.008 0 1 1 0-2.016 1.008 1.008 0 0 1 0 2.016Z"}))),Br=({premiumLink:e,premiumUpsellConfig:t={},isPromotionActive:s,isWooCommerceActive:r})=>{const a=s("black-friday-promotion"),o=r?Lr:Er,n=[...r?["Yoast SEO Premium"]:[],"Local SEO","News SEO","Video SEO",(0,Et.__)("Google Docs add-on (1 seat)","wordpress-seo")],l=r?ir()("yst-bg-woo-light","yst-text-[#006499]"):ir()("yst-bg-primary-500","yst-text-primary-500");let c=r?(0,Et.sprintf)(/* translators: %s expands to "Yoast WooCommerce SEO" */ (0,Et.__)("Explore %s now!","wordpress-seo"),"Yoast WooCommerce SEO"):(0,Et.sprintf)(/* translators: %s expands to "Yoast SEO" Premium */ (0,Et.__)("Explore %s now!","wordpress-seo"),"Yoast SEO Premium");return a&&(c=(0,Et.__)("Get 30% off now!","wordpress-seo")),(0,ur.jsxs)(i.Paper,{as:"div",className:"yst-max-w-4xl",children:[a&&(0,ur.jsxs)("div",{className:"yst-rounded-t-lg yst-h-9 yst-flex yst-justify-between yst-items-center yst-bg-black yst-text-amber-300 yst-px-4 yst-text-lg yst-border-b yst-border-amber-300 yst-border-solid yst-font-medium",children:[(0,ur.jsx)("div",{children:(0,Et.__)("30% OFF","wordpress-seo")}),(0,ur.jsx)("div",{children:(0,Et.__)("BLACK FRIDAY","wordpress-seo")})]}),(0,ur.jsxs)("div",{className:"yst-p-6 yst-flex yst-flex-col",children:[(0,ur.jsx)("div",{className:"yst-flex yst-items-center",children:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(i.Title,{as:"h2",size:"4",className:"yst-text-xl yst-font-semibold "+(r?"yst-text-woo-light":"yst-text-primary-500 "),children:r?(0,Et.sprintf)(/* translators: %s expands to "Yoast WooCommerce SEO */ (0,Et.__)("Upgrade to %s","wordpress-seo"),"Yoast WooCommerce SEO"):(0,Et.sprintf)(/* translators: %s expands to "Yoast SEO" Premium */ (0,Et.__)("Upgrade to %s","wordpress-seo"),"Yoast SEO Premium")}),r?(0,ur.jsx)(Vr,{className:"yst-ml-2 yst-w-4 yst-h-3"}):(0,ur.jsx)(Dr,{className:"yst-ml-2 yst-w-4 yst-h-3"})]})}),(0,ur.jsxs)("div",{className:"yst-font-medium yst-text-slate-800 yst-text-xs yst-leading-7 yst-mt-2",children:[(0,ur.jsx)("span",{className:"yst-mr-2",children:(0,Et.__)("Now includes:","wordpress-seo")}),(0,ur.jsx)("div",{className:"yst-inline-block",children:n.map(((e,t)=>(0,ur.jsx)(i.Badge,{size:"small",variant:"plain",className:ir()("yst-mr-2 yst-bg-opacity-15",l),children:e},`now-including-${t}`)))})]}),(0,ur.jsx)("ul",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-x-6 yst-gap-y-2 yst-list-none yst-list-outside yst-text-slate-600 yst-mt-4",children:o().map(((e,t)=>(0,ur.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,ur.jsx)(xr,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${t}`)))}),(0,ur.jsxs)(i.Button,{as:"a",variant:"upsell",size:"extra-large",href:e,className:"yst-gap-2 yst-mt-6 sm:yst-max-w-sm",target:"_blank",rel:"noopener",...t,children:[c,(0,ur.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Et.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,ur.jsx)(Nr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})]})]})]})};Br.propTypes={premiumLink:lr().string.isRequired,premiumUpsellConfig:lr().object,isPromotionActive:lr().func.isRequired,isWooCommerceActive:lr().bool.isRequired};const Hr=({premiumLink:e,premiumUpsellConfig:t,academyLink:s,isPromotionActive:r,isWooCommerceActive:a})=>(0,ur.jsxs)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4",children:[(0,ur.jsx)(Cr,{link:e,linkProps:t,isPromotionActive:r,isWooCommerceActive:a}),(0,ur.jsx)(pr,{link:s})]});Hr.propTypes={premiumLink:lr().string.isRequired,premiumUpsellConfig:lr().object.isRequired,academyLink:lr().string.isRequired,isPromotionActive:lr().func.isRequired,isWooCommerceActive:lr().bool.isRequired};const qr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),Wr=({isOpen:e,onClose:t=le.noop,onDiscard:s=le.noop,title:r,description:a,dismissLabel:o,discardLabel:n})=>{const l=(0,i.useSvgAria)();return(0,ur.jsx)(i.Modal,{isOpen:e,onClose:t,children:(0,ur.jsxs)(i.Modal.Panel,{closeButtonScreenReaderText:(0,Et.__)("Close","wordpress-seo"),children:[(0,ur.jsxs)("div",{className:"sm:yst-flex sm:yst-items-start",children:[(0,ur.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10",children:(0,ur.jsx)(qr,{className:"yst-h-6 yst-w-6 yst-text-red-600",...l})}),(0,ur.jsxs)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ms-4 sm:yst-text-start",children:[(0,ur.jsx)(i.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:r}),(0,ur.jsx)(i.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:a})]})]}),(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:[(0,ur.jsx)(i.Button,{type:"button",variant:"error",onClick:s,className:"yst-block",children:n}),(0,ur.jsx)(i.Button,{type:"button",variant:"secondary",onClick:t,className:"yst-block",children:o})]})]})})};Wr.propTypes={isOpen:lr().bool.isRequired,onClose:lr().func,onDiscard:lr().func,title:lr().string.isRequired,description:lr().string.isRequired,dismissLabel:lr().string.isRequired,discardLabel:lr().string.isRequired};const Gr=window.yoast.reactHelmet;var Yr,Kr;function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Zr.apply(null,arguments)}lr().string.isRequired,lr().shape({src:lr().string.isRequired,width:lr().string,height:lr().string}).isRequired,lr().shape({value:lr().bool.isRequired,status:lr().string.isRequired,set:lr().func.isRequired}).isRequired,lr().bool;const Jr=e=>n.createElement("svg",Zr({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"yoast-logo_svg__w-40",viewBox:"0 0 842 224"},e),Yr||(Yr=n.createElement("path",{fill:"#a61e69",d:"M166.55 54.09c-38.69 0-54.17 25.97-54.17 54.88s15.25 56.02 54.17 56.02 54.07-27.19 54-54.26c-.09-32.97-16.77-56.65-54-56.65Zm-23.44 56.52c.94-38.69 30.66-38.65 40.59-24.79 9.05 12.63 10.9 55.81-17.14 55.5-12.92-.14-23.06-8.87-23.44-30.71Zm337.25 27.55V82.11h20.04V57.78h-20.04V28.39h-30.95v29.39h-15.7v24.33h15.7v52.87c0 30.05 20.95 47.91 43.06 51.61l9.24-24.88c-12.89-1.63-21.23-11.27-21.35-23.54Zm-156.15-8.87V87.16c0-1.54-.1-2.98-.25-4.39-2.68-34.04-51.02-33.97-88.46-20.9l10.82 21.78c24.38-11.58 38.97-8.59 44.07-2.89.13.15.26.29.38.45.01.02.03.04.04.06 2.6 3.51 1.98 9.05 1.98 13.41-31.86 0-65.77 4.23-65.77 39.17 0 26.56 33.28 43.65 68.06 18.33l5.16 12.45h29.81c-2.66-14.62-5.85-27.14-5.85-35.34Zm-31.18-.23c-24.51 27.43-46.96 1.61-23.97-9.65 6.77-2.31 15.95-2.41 23.97-2.41v12.06Zm78.75-44.17c0-10.38 16.61-15.23 42.82-3.27l9.06-22.01c-35.27-10.66-83.44-11.62-83.75 25.28-.15 17.68 11.19 27.19 27.52 33.26 11.31 4.2 27.64 6.38 27.59 15.39-.06 11.77-25.38 13.57-48.42-2.26l-9.31 23.87c31.43 15.64 89.87 16.08 89.56-23.12-.31-38.76-55.08-32.11-55.08-47.14ZM99.3 1 54.44 125.61 32.95 58.32H1l35.78 91.89a33.49 33.49 0 0 1 0 24.33c-4 10.25-10.65 19.03-26.87 21.21v27.24c31.58 0 48.65-19.41 63.88-61.96L133.48 1H99.3ZM598.64 139.05c0 8.17-2.96 14.58-8.87 19.23-5.91 4.65-14.07 6.98-24.47 6.98s-18.92-1.61-25.54-4.84v-14.2c4.19 1.97 8.65 3.52 13.37 4.65 4.72 1.13 9.11 1.7 13.18 1.7 5.95 0 10.35-1.13 13.18-3.39 2.83-2.26 4.25-5.3 4.25-9.11 0-3.43-1.3-6.35-3.9-8.74-2.6-2.39-7.97-5.22-16.1-8.48-8.39-3.39-14.3-7.27-17.74-11.63-3.44-4.36-5.16-9.59-5.16-15.71 0-7.67 2.72-13.7 8.18-18.1 5.45-4.4 12.77-6.6 21.95-6.6s17.57 1.93 26.29 5.78l-4.78 12.26c-8.18-3.43-15.47-5.15-21.89-5.15-4.87 0-8.55 1.06-11.07 3.17-2.52 2.12-3.77 4.91-3.77 8.39 0 2.39.5 4.43 1.51 6.13s2.66 3.3 4.97 4.81c2.3 1.51 6.46 3.5 12.45 5.97 6.75 2.81 11.7 5.43 14.85 7.86 3.15 2.43 5.45 5.18 6.92 8.23 1.46 3.06 2.2 6.66 2.2 10.81Zm68.53 24.96h-52.02V72.12h52.02v12.7h-36.99v25.01h34.66v12.57h-34.66v28.85h36.99v12.76Zm100.24-46.07c0 14.96-3.74 26.59-11.23 34.88-7.49 8.3-18.08 12.44-31.8 12.44s-24.54-4.12-31.99-12.35c-7.44-8.23-11.17-19.93-11.17-35.1s3.74-26.82 11.23-34.95c7.49-8.13 18.17-12.19 32.05-12.19s24.24 4.13 31.7 12.38c7.47 8.26 11.2 19.88 11.2 34.88Zm-70.2 0c0 11.31 2.29 19.89 6.86 25.74 4.57 5.85 11.35 8.77 20.32 8.77s15.67-2.89 20.22-8.67c4.55-5.78 6.82-14.39 6.82-25.83s-2.25-19.82-6.76-25.64-11.23-8.74-20.16-8.74-15.82 2.91-20.41 8.74c-4.59 5.82-6.89 14.37-6.89 25.64Z"})),Kr||(Kr=n.createElement("path",{fill:"#77b227",d:"m790.45 165.35 36.05-94.96H840l-36.02 94.96h-13.53z"})));n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),lr().bool.isRequired,lr().func.isRequired,lr().func,lr().string,lr().func.isRequired,lr().string.isRequired,lr().string.isRequired,lr().string.isRequired,lr().string.isRequired;const Qr=({name:e})=>{const t=ia("selectPreference",[],"isNetworkAdmin"),s=ia("selectPreference",[],"isMainSite"),r=(0,o.useMemo)((()=>"wpseo.tracking"===e&&!t&&!s),[e,t,s]),a=(0,o.useMemo)((()=>(0,le.get)(window,`wpseoScriptData.disabledSettings.${e}`,"")),[]),i=(0,o.useMemo)((()=>{if(r)return(0,Et.__)("Unavailable for sub-sites","wordpress-seo");switch(a){case"multisite":return(0,Et.__)("Unavailable for multisites","wordpress-seo");case"network":return(0,Et.__)("Network disabled","wordpress-seo");case"language":return(0,Et.__)("Only available for English sites","wordpress-seo");default:return""}}),[a,r]);return{isDisabled:(0,o.useMemo)((()=>!(0,le.isEmpty)(i)),[i]),message:i,disabledSetting:a}},Xr="@yoast/settings",ea="filesystem_permissions",ta="not_managed_by_yoast_seo",sa=()=>(0,t.useDispatch)(Xr);var ra=s(1206),aa=s.n(ra);const oa=({isDisabledProgrammatically:e,confirmBeforeDisable:t,fieldName:s,setFieldValue:r,onShowProgrammaticallyDisabledModal:a,onShowDisableConfirmModal:i})=>(0,o.useCallback)((o=>{e&&o?a():t&&!o?i():r(s,o)}),[e,t,s,r,a,i]),ia=(e,s=[],...r)=>(0,t.useSelect)((t=>{var s,a;return null===(s=(a=t(Xr))[e])||void 0===s?void 0:s.call(a,...r)}),s),na=({id:e,children:t,title:s,description:r=null})=>{const a=ia("selectPreference",[],"isPremium");return(0,ur.jsx)(gr,{id:e,title:s,description:r,variant:a?"xl":"2xl",children:t})};na.propTypes={id:lr().string,children:lr().node.isRequired,title:lr().node.isRequired,description:lr().node};const la=na;var ca=s(8133);const da=({children:e})=>{const{isSubmitting:t,status:s,dirty:r,resetForm:a,initialValues:n}=H(),l=ia("selectIsMediaLoading"),c=(0,o.useMemo)((()=>(0,le.includes)((0,le.values)(s),!0)),[s]),[d,,,u,p]=(0,i.useToggleState)(!1),m=(0,o.useCallback)((()=>{p(),a({values:n})}),[a,n,p]);return(0,ur.jsxs)(se,{className:"yst-flex yst-flex-col yst-h-full",children:[(0,ur.jsx)("div",{className:"yst-flex-grow yst-p-8",children:e}),(0,ur.jsx)("footer",{className:"yst-sticky yst-bottom-0 yst-z-10",children:(0,ur.jsx)(ca.Z,{easing:"ease-in-out",duration:300,height:r?"auto":0,animateOpacity:!0,children:(0,ur.jsx)("div",{className:"yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg",children:(0,ur.jsxs)("div",{className:"yst-flex yst-align-middle yst-space-x-3 rtl:yst-space-x-reverse yst-p-8",children:[(0,ur.jsx)(i.Button,{id:"button-submit-settings",type:"submit",isLoading:t,disabled:t||l||c,children:(0,Et.__)("Save changes","wordpress-seo")}),(0,ur.jsx)(i.Button,{id:"button-undo-settings",type:"button",variant:"secondary",disabled:!r,onClick:u,children:(0,Et.__)("Discard changes","wordpress-seo")}),(0,ur.jsx)(Wr,{isOpen:d,onClose:p,title:(0,Et.__)("Discard all changes","wordpress-seo"),description:(0,Et.__)("You are about to discard all unsaved changes. All of your settings will be reset to the point where you last saved. Are you sure you want to do this?","wordpress-seo"),onDiscard:m,dismissLabel:(0,Et.__)("No, continue editing","wordpress-seo"),discardLabel:(0,Et.__)("Yes, discard changes","wordpress-seo")})]})})})})]})};da.propTypes={children:lr().node.isRequired};const ua=da,pa=({name:e,checked:t,...s})=>{const[r,,{setTouched:a,setValue:n}]=ee({name:e,checked:t,...s,type:"checkbox"}),l=(0,o.useCallback)((e=>{a(!0,!1),n(!e)}),[s.name]);return(0,ur.jsx)(i.ToggleField,{...r,checked:(0,le.isUndefined)(s.checked)?!r.checked:!s.checked,onChange:l,...s})};pa.propTypes={name:lr().string.isRequired,checked:lr().bool};const ma=pa,ha=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),fa={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},_a=({label:e="",description:t="",icon:s=ha,disabled:r=!1,isDummy:a=!1,libraryType:n="image",variant:l="landscape",id:c,mediaUrlName:d,mediaIdName:u,fallbackMediaId:p="0",previewLabel:m="",selectLabel:h=(0,Et.__)("Select image","wordpress-seo"),replaceLabel:f=(0,Et.__)("Replace image","wordpress-seo"),removeLabel:_=(0,Et.__)("Remove image","wordpress-seo"),className:y=""})=>{const{values:w,setFieldValue:g,setFieldTouched:b,errors:v}=H(),[x,k]=(0,o.useState)(null),S=(0,o.useMemo)((()=>(0,le.get)(window,"wp.media",null)),[]),j=(0,o.useMemo)((()=>(0,le.get)(w,u,"")),[w,u]),E=ia("selectMediaById",[j],j),L=ia("selectIsMediaError"),T=ia("selectMediaById",[p],p),{fetchMedia:F,addOneMedia:O}=sa(),P=(0,o.useMemo)((()=>(0,le.get)(v,u,"")),[v,u]),M=(0,o.useMemo)((()=>r||a),[a,r]),{ids:$,describedBy:R}=(0,i.useDescribedBy)(`field-${c}-id`,{description:t,error:P}),C=(0,o.useMemo)((()=>j>0?E:p>0?T:null),[j,E,p,T]),N=(0,o.useMemo)((()=>(0,le.join)((0,le.map)((null==E?void 0:E.sizes)||(null==T?void 0:T.sizes),(e=>`${null==e?void 0:e.url} ${null==e?void 0:e.width}w`)),", ")),[E,T]),A=(0,o.useCallback)((()=>{a||null==x||x.open()}),[a,x]),I=(0,o.useCallback)((()=>{a||(b(d,!0,!1),g(d,"",!1),b(u,!0,!1),g(u,""))}),[a,b,g,d,u]),D=(0,o.useCallback)((()=>{var e,t,s;if(a)return;const r=(null===(e=x.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(s=t.first())||void 0===s?void 0:s.toJSON())||{};b(d,!0,!1),g(d,r.url,!1),b(u,!0,!1),g(u,r.id),O(r)}),[a,x,b,g,d,u]);return(0,o.useEffect)((()=>{S&&k(S({title:e,multiple:!1,library:{type:n}}))}),[S,e,n,k]),(0,o.useEffect)((()=>(null==x||x.on("select",D),()=>null==x?void 0:x.off("select",D))),[x,D]),(0,o.useEffect)((()=>{j&&!E&&F([j]),p&&!T&&F([p])}),[]),(0,ur.jsxs)("fieldset",{id:c,className:"yst-min-w-0 yst-w-96 yst-max-w-full",children:[(0,ur.jsx)(te,{type:"hidden",name:u,id:`input-${c}-id`,"aria-describedby":R,disabled:M}),(0,ur.jsx)(te,{type:"hidden",name:d,id:`input-${c}-url`,"aria-describedby":R,disabled:M}),e&&(0,ur.jsx)(i.Label,{as:"legend",className:ir()("yst-mb-2",M&&"yst-opacity-50 yst-cursor-not-allowed"),children:e}),(0,ur.jsx)("button",{type:"button",id:`button-${c}-preview`,onClick:A,className:ir()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-max-w-full yst-rounded-md yst-mb-4 yst-border-slate-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",!a&&C?"yst-bg-slate-50 yst-border":"yst-border-2 yst-border-dashed",M&&"yst-opacity-50 yst-cursor-not-allowed",fa.variant[l],y),disabled:M,children:!a&&C?(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("span",{className:"yst-sr-only",children:f}),(0,ur.jsx)("img",{src:null==C?void 0:C.url,alt:(null==C?void 0:C.alt)||"",srcSet:N,sizes:"landscape"===l?"24rem":"12rem",width:"landscape"===l?"24rem":"12rem",loading:"lazy",decoding:"async",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})]}):(0,ur.jsxs)("div",{className:"yst-w-48 yst-max-w-full",children:[(0,ur.jsx)("span",{className:"yst-sr-only",children:h}),(0,ur.jsx)(s,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-slate-400 yst-stroke-1"}),m&&(0,ur.jsx)("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-mt-1 yst-px-8",children:m})]})}),(0,ur.jsxs)("div",{className:"yst-flex yst-gap-1",children:[!a&&j>0?(0,ur.jsx)(i.Button,{id:`button-${c}-replace`,variant:"secondary",onClick:A,disabled:M,children:f}):(0,ur.jsx)(i.Button,{id:`button-${c}-select`,variant:"secondary",onClick:A,disabled:M,children:h}),!a&&j>0&&(0,ur.jsx)(i.Link,{id:`button-${c}-remove`,as:"button",type:"button",variant:"error",onClick:I,className:ir()("yst-px-3 yst-py-2 yst-rounded-md",M&&"yst-opacity-50 yst-cursor-not-allowed"),disabled:M,children:_})]}),P&&(0,ur.jsx)("p",{id:$.error,className:"yst-mt-2 yst-text-sm yst-text-red-600",children:P}),L&&(0,ur.jsx)("p",{className:"yst-mt-2 yst-text-sm yst-text-red-600",children:(0,Et.__)("Failed to retrieve media.","wordpress-seo")}),t&&(0,ur.jsx)("p",{id:$.description,className:ir()("yst-mt-2",M&&"yst-opacity-50 yst-cursor-not-allowed"),children:t})]})};_a.propTypes={label:lr().string,description:lr().node,icon:lr().elementType,disabled:lr().bool,isDummy:lr().bool,libraryType:lr().string,variant:lr().oneOf((0,le.keys)(fa.variant)),id:lr().string.isRequired,mediaUrlName:lr().string.isRequired,mediaIdName:lr().string.isRequired,fallbackMediaId:lr().string,previewLabel:lr().node,selectLabel:lr().string,replaceLabel:lr().string,removeLabel:lr().string,className:lr().string};const ya=_a,wa=window.yoast.replacementVariableEditor,ga=({className:e="",disabled:t=!1,...s})=>{const[r,a]=(0,o.useState)(null),[i,,{setTouched:n,setValue:l}]=ee(s),c=(0,o.useCallback)((e=>{n(!0,!1),l(e)}),[s.name]),d=(0,o.useCallback)((()=>null==r?void 0:r.focus()),[r]),u=(0,o.useMemo)((()=>{var e;return(null!==(e=i.value)&&void 0!==e&&e.match(/%%\w+%%$/)?`${i.value} `:i.value)||""}),[i.value]);return(0,ur.jsx)("div",{className:e,children:(0,ur.jsx)(wa.ReplacementVariableEditor,{...i,content:u,onChange:c,editorRef:a,onFocus:d,isDisabled:t,...s})})};ga.propTypes={name:lr().string.isRequired,disabled:lr().bool,className:lr().string};const ba=ga,va=e=>{const[{value:t,...s},,{setTouched:r,setValue:a}]=ee(e),n=(0,o.useMemo)((()=>(0,le.reduce)((0,le.isString)(t)&&(null==t?void 0:t.split(","))||[],((e,t)=>{const s=(0,le.trim)(t);return s?[...e,s]:e}),[])),[t]),l=(0,o.useCallback)((e=>{r(!0,!1),a([...n,e].join(","))}),[r,a,n]),c=(0,o.useCallback)((e=>{r(!0,!1),a([...n.slice(0,e),...n.slice(e+1)].join(","))}),[r,a,n]),d=(0,o.useCallback)((e=>{r(!0,!1),a(e.join(","))}),[r,a]);return(0,ur.jsx)(i.TagField,{...s,tags:n,onAddTag:l,onRemoveTag:c,onSetTags:d,...e})};va.propTypes={name:lr().string.isRequired};const xa=va,ka=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))}));let Sa;const ja=({children:e,className:t=""})=>(0,ur.jsx)("div",{className:ir()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",t),children:e});ja.propTypes={children:lr().node.isRequired,className:lr().string};const Ea=({name:e,id:t,className:s="",...r})=>{const a=ia("selectPreference",[],"siteRepresentsPerson",{}),n=ia("selectUsersWith",[a],a),{addManyUsers:l}=sa(),[{value:c,...d},,{setTouched:u,setValue:p}]=ee({type:"select",name:e,id:t,...r}),[m,h]=(0,o.useState)(es),[f,_]=(0,o.useState)([]),y=ia("selectPreference",[],"canCreateUsers",!1),w=ia("selectPreference",[],"createUserUrl",""),g=(0,o.useMemo)((()=>{const e=(0,le.values)(n);return(0,le.find)(e,["id",c])}),[c,n]),b=(0,o.useCallback)((0,le.debounce)((async e=>{try{var t,s;h(ts),Sa&&(null===(s=Sa)||void 0===s||s.abort()),Sa=new AbortController;const r=await Mt()({path:`/wp/v2/users?${(0,Ct.buildQueryString)({search:e,per_page:20})}`,signal:null===(t=Sa)||void 0===t?void 0:t.signal});_((0,le.map)(r,"id")),l(r),h(ss)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;_([]),h(rs),console.error(e.message)}}),200),[_,l,h]),v=(0,o.useCallback)((e=>{u(!0,!1),p(e)}),[p]),x=(0,o.useCallback)((e=>b(e.target.value)),[b]);return(0,o.useEffect)((()=>{b("")}),[]),(0,ur.jsx)(i.AutocompleteField,{...d,name:e,id:t,value:g?c:0,onChange:v,placeholder:(0,Et.__)("Select a user…","wordpress-seo"),selectedLabel:null==g?void 0:g.name,onQueryChange:x,className:s,...r,children:(0,ur.jsxs)(ur.Fragment,{children:[(m===es||m===ss)&&(0,ur.jsxs)(ur.Fragment,{children:[(0,le.isEmpty)(f)?(0,ur.jsx)(ja,{children:(0,Et.__)("No users found.","wordpress-seo")}):(0,le.map)(f,(e=>{const t=null==n?void 0:n[e];return t?(0,ur.jsx)(i.AutocompleteField.Option,{value:null==t?void 0:t.id,children:null==t?void 0:t.name},null==t?void 0:t.id):null})),y&&(0,ur.jsx)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group",children:(0,ur.jsxs)("a",{id:`link-create_user-${t}`,href:w,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-start yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200",children:[(0,ur.jsx)(ka,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),(0,ur.jsx)("span",{children:(0,Et.__)("Add new user…","wordpress-seo")})]})})]}),m===ts&&(0,ur.jsxs)(ja,{children:[(0,ur.jsx)(i.Spinner,{variant:"primary"}),(0,Et.__)("Searching users…","wordpress-seo")]}),m===rs&&(0,ur.jsx)(ja,{className:"yst-text-red-600",children:(0,Et.__)("Failed to retrieve users.","wordpress-seo")})]})})};Ea.propTypes={name:lr().string.isRequired,id:lr().string.isRequired,className:lr().string};const La=Ea,Ta=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),Fa=({children:e,className:t=""})=>(0,ur.jsx)("div",{className:ir()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",t),children:e});Fa.propTypes={children:lr().node.isRequired,className:lr().string};const Oa=({name:e,id:t,...s})=>{const r=ia("selectPreference",[],"siteBasicsPolicies",{}),a=ia("selectPagesWith",[r],(0,le.values)(r)),{fetchPages:n}=sa(),[{value:l,...c},,{setTouched:d,setValue:u}]=ee({type:"select",name:e,id:t,...s}),[p,m]=(0,o.useState)(es),[h,f]=(0,o.useState)([]),_=ia("selectPreference",[],"canCreatePages",!1),y=ia("selectPreference",[],"createPageUrl",""),w=(0,o.useMemo)((()=>{const e=(0,le.values)(a);return(0,le.find)(e,["id",l])}),[l,a]),g=(0,o.useCallback)((0,le.debounce)((async e=>{try{m(ts);const t=await n({search:e});f((0,le.map)(t.payload,"id")),m(ss)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;f([]),m(rs)}}),200),[f,m,n]),b=(0,o.useCallback)((e=>{d(!0,!1),u(e)}),[u,d]),v=(0,o.useCallback)((e=>g(e.target.value)),[g]),x=(0,o.useMemo)((()=>(0,le.isEmpty)(h)?(0,le.map)(a,"id"):h),[h,a]),k=(0,o.useMemo)((()=>p===ss&&(0,le.isEmpty)(h)),[h,p]);return(0,ur.jsx)(i.AutocompleteField,{...c,name:e,id:t,value:w?l:0,onChange:b,placeholder:(0,Et.__)("None","wordpress-seo"),selectedLabel:null==w?void 0:w.name,onQueryChange:v,nullable:!0 /* translators: Hidden accessibility text. */,clearButtonScreenReaderText:(0,Et.__)("Clear selection","wordpress-seo"),...s,children:(0,ur.jsxs)(ur.Fragment,{children:[(p===es||p===ss)&&(0,ur.jsxs)(ur.Fragment,{children:[k?(0,ur.jsx)(Fa,{children:(0,Et.__)("No pages found.","wordpress-seo")}):(0,le.map)(x,(e=>{const t=null==a?void 0:a[e];return t?(0,ur.jsx)(i.AutocompleteField.Option,{value:null==t?void 0:t.id,children:null==t?void 0:t.name},null==t?void 0:t.id):null})),_&&(0,ur.jsx)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group",children:(0,ur.jsxs)("a",{id:`link-create_page-${t}`,href:y,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200",children:[(0,ur.jsx)(Ta,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),(0,ur.jsx)("span",{children:(0,Et.__)("Add new page…","wordpress-seo")})]})})]}),p===ts&&(0,ur.jsxs)(Fa,{children:[(0,ur.jsx)(i.Spinner,{variant:"primary"}),(0,Et.__)("Searching pages…","wordpress-seo")]}),p===rs&&(0,ur.jsx)(Fa,{className:"yst-text-red-600",children:(0,Et.__)("Failed to retrieve pages.","wordpress-seo")})]})})};Oa.propTypes={name:lr().string.isRequired,id:lr().string.isRequired};const Pa=Oa,Ma=({children:e,className:t=""})=>(0,ur.jsx)("div",{className:ir()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",t),children:e});Ma.propTypes={children:lr().node.isRequired,className:lr().string};const $a=({name:e,id:t,disabled:s,selectedIds:r=[],...a})=>{const{fetchIndexablePages:n,removeIndexablePagesScope:l}=sa(),[{value:c,...d},,{setTouched:u,setValue:p}]=ee({type:"select",name:e,id:t,...a}),{ids:m,query:h,status:f}=ia("selectIndexablePagesScope",[c],t),{status:_}=ia("selectIndexablePagesScope",[c]),y=ia("selectIndexablePagesById",[m],m),w=ia("selectIndexablePageById",[c],c),g=(0,o.useMemo)((()=>y.filter((e=>e.id===c||!r.includes(e.id))).slice(0,10)),[y,r,c]),b=(0,o.useCallback)((e=>{u(!0,!1),p(e)}),[p,u]),v=(0,o.useCallback)((()=>{n(t,{search:""}),b(0)}),[t,n,b]),x=(0,o.useCallback)((0,le.debounce)((e=>{var s,r;const a=(null===(s=e.target)||void 0===s||null===(r=s.value)||void 0===r?void 0:r.trim())||"";n(t,{search:a})}),200),[t,n]);(0,o.useEffect)((()=>()=>l(t)),[t,l]);const k=(null==w?void 0:w.name)||(null==h?void 0:h.search)||"",S=f===rs,j=f===ts||_===ts&&!S;return(0,ur.jsx)(i.AutocompleteField,{...d,name:e,id:t,value:w?c:0,onChange:b,placeholder:(0,Et.__)("Search or select a page…","wordpress-seo"),selectedLabel:k,onQueryChange:x,onClear:v,nullable:!0,disabled:s /* translators: Hidden accessibility text. */,clearButtonScreenReaderText:(0,Et.__)("Clear selection","wordpress-seo"),...a,children:(0,ur.jsxs)(ur.Fragment,{children:[!S&&!j&&(0,ur.jsx)(ur.Fragment,{children:0===g.length?(0,ur.jsx)(Ma,{children:(0,Et.__)("No pages found.","wordpress-seo")}):g.map((e=>(0,ur.jsx)(i.AutocompleteField.Option,{value:e.id,children:e.name},e.id)))}),j&&(0,ur.jsxs)(Ma,{children:[(0,ur.jsx)(i.Spinner,{variant:"primary"}),(0,Et.__)("Searching pages…","wordpress-seo")]}),S&&(0,ur.jsx)(Ma,{className:"yst-text-red-600",children:(0,Et.__)("Failed to retrieve pages.","wordpress-seo")})]})})};$a.propTypes={name:lr().string.isRequired,id:lr().string.isRequired};const Ra=$a,Ca=({name:e,id:t,options:s=[],...r})=>{const[a,,{setTouched:n,setValue:l}]=ee({type:"select",name:e,id:t,...r}),[c,d]=(0,o.useState)(""),u=e=>{var t;e&&null!==(t=s.find((t=>t.value===e)))&&void 0!==t&&t.label?d(s.find((t=>t.value===e)).label):d(e)},p=(0,o.useCallback)((e=>{l(e),u(e)}),[l,n]),m=(0,o.useCallback)((e=>{l(e.target.value),u(e.target.value)}),[l]);return(0,o.useEffect)((()=>{u(a.value)}),[]),(0,ur.jsx)(i.AutocompleteField,{...a,name:e,id:t,selectedLabel:c,onChange:p,onQueryChange:m,...r,children:s&&s.map((e=>(0,ur.jsx)(i.AutocompleteField.Option,{value:e.value,children:e.label},e.value)))})};Ca.propTypes={name:lr().string.isRequired,id:lr().string.isRequired,options:lr().array};const Na=Ca,Aa=(e,t="")=>(0,le.reduce)(e,((e,s,r)=>{const a=(0,le.join)((0,le.filter)([t,r],(0,le.flowRight)(Boolean,le.toString)),".");return(0,le.isObject)(s)||(0,le.isArray)(s)?{...e,...Aa(s,a)}:{...e,[a]:s}}),{}),Ia=({id:e,...t})=>{const{errors:s}=H(),r=ia("selectSearchIndex"),a=(0,o.useMemo)((()=>Aa(s)),[s]);return(0,ur.jsx)(i.Notifications.Notification,{id:e,...t,children:(0,ur.jsx)("ul",{className:"yst-list-disc yst-mt-1 yst-ms-4 yst-space-y-2",children:(0,le.map)(a,((e,t)=>e&&(0,ur.jsxs)("li",{children:[(0,ur.jsx)(xt,{to:`${(0,le.get)(r,`${t}.route`,"404")}#${(0,le.get)(r,`${t}.fieldId`,"")}`,children:`${(0,le.get)(r,`${t}.routeLabel`,"")} - ${(0,le.get)(r,`${t}.fieldLabel`,"")}`}),": ",e]},t)))})},e)};Ia.propTypes={id:lr().string.isRequired};const Da=()=>{(()=>{const{isValid:e,errors:t,isSubmitting:s}=H(),{addNotification:r,removeNotification:a}=sa(),i=ia("selectNotification",[],"validation-errors");(0,o.useEffect)((()=>{e&&i&&a("validation-errors")}),[e,i]),(0,o.useEffect)((()=>{s&&!e&&r({id:"validation-errors",variant:"error",size:"large",title:(0,Et.__)("Oh no! It seems your form contains invalid data. Please review the following fields:","wordpress-seo")})}),[s,t,e])})(),(()=>{const{removeNotification:e}=sa(),t=ia("selectNotifications"),s=ia("selectPostTypes"),r=ia("selectTaxonomies");(0,o.useEffect)((()=>{const a=(0,le.some)(s,["isNew",!0]),o=(0,le.some)(r,["isNew",!0]);!t["new-content-type"]||a||o||e("new-content-type")}),[s,r])})();const{removeNotification:e}=sa(),t=ia("selectNotifications"),s=(0,o.useMemo)((()=>(0,le.map)(t,(t=>({...t,onDismiss:e,autoDismiss:"success"===t.variant?5e3:null, /* translators: Hidden accessibility text. */ dismissScreenReaderLabel:(0,Et.__)("Dismiss","wordpress-seo")})))),[t]);return(0,ur.jsx)(i.Notifications,{notifications:s,position:"bottom-left",children:s.map((e=>"validation-errors"===e.id?(0,ur.jsx)(Ia,{...e},e.id):(0,ur.jsx)(i.Notifications.Notification,{...e},e.id)))})},za=({name:e,disabled:t=!1})=>{const s=ia("selectPreference",[],"isNewsSeoActive"),r=ia("selectLink",[],"https://yoa.st/get-news-settings"),{values:a}=H(),n=(0,o.useMemo)((()=>"NewsArticle"===(0,le.get)(a,`wpseo_titles.schema-article-type-${e}`,"")),[e,a]);return s?null:(0,ur.jsx)(ca.Z,{easing:"ease-in-out",duration:300,height:n&&!t?"auto":0,animateOpacity:!0,children:(0,ur.jsxs)(i.Alert,{className:"yst-mt-8",variant:"info",role:"status",children:[(0,Et.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ (0,Et.__)("Are you publishing news articles? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")," ",(0,ur.jsx)("a",{id:"link-get-news-seo",href:r,target:"_blank",rel:"noopener noreferrer",children:(0,Et.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ (0,Et.__)("Get the %s plugin now!","wordpress-seo"),"Yoast News SEO")})]})})};za.propTypes={name:lr().string.isRequired,disabled:lr().bool};const Ua=za,Va=({isEnabled:e, /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ text:t=(0,Et.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")})=>{const s=(0,o.useMemo)((()=>dr((0,Et.sprintf)(t,"<em>","</em>","<link>","</link>"),{em:(0,ur.jsx)("em",{}),link:(0,ur.jsx)(xt,{to:"/site-features#section-social-sharing"})})),[]);return e?null:(0,ur.jsx)(i.Alert,{variant:"info",className:"yst-mb-6",children:s})};Va.propTypes={isEnabled:lr().bool.isRequired,text:lr().string};const Ba=Va;var Ha={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},qa=function(e){var t=e.message,s=e["aria-live"];return l().createElement("div",{style:Ha,role:"log","aria-live":s},t||"")};qa.propTypes={};const Wa=qa;function Ga(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Ya=function(e){function t(){var s,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return s=r=Ga(this,e.call.apply(e,[this].concat(o))),r.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},Ga(r,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.getDerivedStateFromProps=function(e,t){var s=t.oldPolitemessage,r=t.oldPoliteMessageId,a=t.oldAssertiveMessage,o=t.oldAssertiveMessageId,i=e.politeMessage,n=e.politeMessageId,l=e.assertiveMessage,c=e.assertiveMessageId;return s!==i||r!==n?{politeMessage1:t.setAlternatePolite?"":i,politeMessage2:t.setAlternatePolite?i:"",oldPolitemessage:i,oldPoliteMessageId:n,setAlternatePolite:!t.setAlternatePolite}:a!==l||o!==c?{assertiveMessage1:t.setAlternateAssertive?"":l,assertiveMessage2:t.setAlternateAssertive?l:"",oldAssertiveMessage:l,oldAssertiveMessageId:c,setAlternateAssertive:!t.setAlternateAssertive}:null},t.prototype.render=function(){var e=this.state,t=e.assertiveMessage1,s=e.assertiveMessage2,r=e.politeMessage1,a=e.politeMessage2;return l().createElement("div",null,l().createElement(Wa,{"aria-live":"assertive",message:t}),l().createElement(Wa,{"aria-live":"assertive",message:s}),l().createElement(Wa,{"aria-live":"polite",message:r}),l().createElement(Wa,{"aria-live":"polite",message:a}))},t}(n.Component);Ya.propTypes={};const Ka=Ya;function Za(){console.warn("Announcement failed, LiveAnnouncer context is missing")}const Ja=l().createContext({announceAssertive:Za,announcePolite:Za}),Qa=function(e){function t(s){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,s));return r.announcePolite=function(e,t){r.setState({announcePoliteMessage:e,politeMessageId:t||""})},r.announceAssertive=function(e,t){r.setState({announceAssertiveMessage:e,assertiveMessageId:t||""})},r.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:r.announcePolite,announceAssertive:r.announceAssertive}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.state,t=e.announcePoliteMessage,s=e.politeMessageId,r=e.announceAssertiveMessage,a=e.assertiveMessageId,o=e.updateFunctions;return l().createElement(Ja.Provider,{value:o},this.props.children,l().createElement(Ka,{assertiveMessage:r,assertiveMessageId:a,politeMessage:t,politeMessageId:s}))},t}(n.Component);var Xa=s(3409),eo=s.n(Xa);function to(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var so=function(e){function t(){var s,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return s=r=to(this,e.call.apply(e,[this].concat(o))),r.announce=function(){var e=r.props,t=e.message,s=e["aria-live"],a=e.announceAssertive,o=e.announcePolite;"assertive"===s&&a(t||"",eo()()),"polite"===s&&o(t||"",eo()())},to(r,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(e){this.props.message!==e.message&&this.announce()},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.clearOnUnmount,s=e.announceAssertive,r=e.announcePolite;!0!==t&&"true"!==t||(s(""),r(""))},t.prototype.render=function(){return null},t}(n.Component);so.propTypes={};const ro=so;var ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},oo=function(e){return l().createElement(Ja.Consumer,null,(function(t){return l().createElement(ro,ao({},t,e))}))};oo.propTypes={};const io=oo;const no=({children:e,title:s,description:r=null})=>{const a=(0,t.useSelect)((e=>e(Xr).selectDocumentFullTitle({prefix:s})),[]),o=(0,Et.sprintf)(/* translators: 1: Settings' section title, 2: Yoast SEO */ (0,Et.__)("%1$s Settings - %2$s","wordpress-seo"),s,"Yoast SEO");return(0,ur.jsxs)(Qa,{children:[(0,ur.jsx)(io,{message:o,"aria-live":"polite"}),(0,ur.jsx)(Gr.Helmet,{children:(0,ur.jsx)("title",{children:a})}),(0,ur.jsx)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200",children:(0,ur.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,ur.jsx)(i.Title,{children:s}),r&&((0,le.isString)(r)?(0,ur.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:r}):r)]})}),e]})};no.propTypes={children:lr().node.isRequired,title:lr().string.isRequired,description:lr().node};const lo=no;function co(e,t){let[s,r]=(0,n.useState)(e),a=Ms(e);return Os((()=>r(a.current)),[a,r,...t]),s}var uo;let po=null!=(uo=n.useId)?uo:function(){let e=$s(),[t,s]=n.useState(e?()=>Fs.nextId():null);return Os((()=>{null===t&&s(Fs.nextId())}),[t]),null!=t?""+t:void 0};function mo(e){return Fs.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ho=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var fo,_o=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(_o||{}),yo=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(yo||{}),wo=((fo=wo||{})[fo.Previous=-1]="Previous",fo[fo.Next=1]="Next",fo),go=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(go||{});function bo(e,t,s){let r=Ms(t);(0,n.useEffect)((()=>{function t(e){r.current(e)}return document.addEventListener(e,t,s),()=>document.removeEventListener(e,t,s)}),[e,s])}function vo(e){var t;if(e.type)return e.type;let s=null!=(t=e.as)?t:"button";return"string"==typeof s&&"button"===s.toLowerCase()?"button":void 0}function xo(e,t){let[s,r]=(0,n.useState)((()=>vo(e)));return Os((()=>{r(vo(e))}),[e.type,e.as]),Os((()=>{s||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")}),[s,t]),s}["textarea","input"].join(",");var ko=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ko||{});function So(e={},t=null,s=[]){for(let[r,a]of Object.entries(e))Eo(s,jo(t,r),a);return s}function jo(e,t){return e?e+"["+t+"]":t}function Eo(e,t,s){if(Array.isArray(s))for(let[r,a]of s.entries())Eo(e,jo(t,r.toString()),a);else s instanceof Date?e.push([t,s.toISOString()]):"boolean"==typeof s?e.push([t,s?"1":"0"]):"string"==typeof s?e.push([t,s]):"number"==typeof s?e.push([t,`${s}`]):null==s?e.push([t,""]):So(s,t,e)}var Lo=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Lo||{});let To=bs((function(e,t){let{features:s=1,...r}=e;return ys({ourProps:{ref:t,"aria-hidden":2==(2&s)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&s)&&2!=(2&s)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var Fo=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Fo||{});function Oo(e,t){let s=(0,n.useRef)([]),r=Rs(e);(0,n.useEffect)((()=>{let e=[...s.current];for(let[a,o]of t.entries())if(s.current[a]!==o){let a=r(t,e);return s.current=t,a}}),[r,...t])}function Po(e){return[e.screenX,e.screenY]}var Mo=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Mo||{}),$o=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))($o||{}),Ro=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ro||{}),Co=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(Co||{});function No(e,t=(e=>e)){let s=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=function(e,t=(e=>e)){return e.slice().sort(((e,s)=>{let r=t(e),a=t(s);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),a=s?r.indexOf(s):null;return-1===a&&(a=null),{options:r,activeOptionIndex:a}}let Ao={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:s}=e.dataRef.current,r=e.options.findIndex((e=>s(e.dataRef.current.value)));return-1!==r&&(t=r),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var s;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let r=No(e);if(null===r.activeOptionIndex){let e=r.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(r.activeOptionIndex=e)}let a=function(e,t){let s=t.resolveItems();if(s.length<=0)return null;let r=t.resolveActiveIndex(),a=null!=r?r:-1,o=(()=>{switch(e.focus){case 0:return s.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=s.slice().reverse().findIndex(((e,s,r)=>!(-1!==a&&r.length-s-1>=a||t.resolveDisabled(e))));return-1===e?e:s.length-1-e}case 2:return s.findIndex(((e,s)=>!(s<=a||t.resolveDisabled(e))));case 3:{let e=s.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:s.length-1-e}case 4:return s.findIndex((s=>t.resolveId(s)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?r:o}(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,activeOptionIndex:a,activationTrigger:null!=(s=t.trigger)?s:1}},3:(e,t)=>{let s={id:t.id,dataRef:t.dataRef},r=No(e,(e=>[...e,s]));null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(s));let a={...e,...r,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{let s=No(e,(e=>{let s=e.findIndex((e=>e.id===t.id));return-1!==s&&e.splice(s,1),e}));return{...e,...s,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},Io=(0,n.createContext)(null);function Do(e){let t=(0,n.useContext)(Io);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Do),t}return t}Io.displayName="ComboboxActionsContext";let zo=(0,n.createContext)(null);function Uo(e){let t=(0,n.useContext)(zo);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Uo),t}return t}function Vo(e,t){return ps(t.type,Ao,e,t)}zo.displayName="ComboboxDataContext";let Bo=n.Fragment,Ho=bs((function(e,t){let{value:s,defaultValue:r,onChange:a,name:o,by:i=((e,t)=>e===t),disabled:l=!1,__demoMode:c=!1,nullable:d=!1,multiple:u=!1,...p}=e,[m=(u?[]:void 0),h]=function(e,t,s){let[r,a]=(0,n.useState)(s),o=void 0!==e,i=(0,n.useRef)(o),l=(0,n.useRef)(!1),c=(0,n.useRef)(!1);return!o||i.current||l.current?!o&&i.current&&!c.current&&(c.current=!0,i.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,i.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?e:r,Rs((e=>(o||a(e),null==t?void 0:t(e))))]}(s,a,r),[f,_]=(0,n.useReducer)(Vo,{dataRef:(0,n.createRef)(),comboboxState:c?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),y=(0,n.useRef)(!1),w=(0,n.useRef)({static:!1,hold:!1}),g=(0,n.useRef)(null),b=(0,n.useRef)(null),v=(0,n.useRef)(null),x=(0,n.useRef)(null),k=Rs("string"==typeof i?(e,t)=>{let s=i;return(null==e?void 0:e[s])===(null==t?void 0:t[s])}:i),S=(0,n.useCallback)((e=>ps(j.mode,{1:()=>m.some((t=>k(t,e))),0:()=>k(m,e)})),[m]),j=(0,n.useMemo)((()=>({...f,optionsPropsRef:w,labelRef:g,inputRef:b,buttonRef:v,optionsRef:x,value:m,defaultValue:r,disabled:l,mode:u?1:0,get activeOptionIndex(){if(y.current&&null===f.activeOptionIndex&&f.options.length>0){let e=f.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return f.activeOptionIndex},compare:k,isSelected:S,nullable:d,__demoMode:c})),[m,r,l,u,d,c,f]);Os((()=>{f.dataRef.current=j}),[j]),function(e,t,s=!0){let r=(0,n.useRef)(!1);function a(s,a){if(!r.current||s.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=a(s);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||s.composed&&s.composedPath().includes(t))return}return!function(e,t=0){var s;return e!==(null==(s=mo(e))?void 0:s.body)&&ps(t,{0:()=>e.matches(ho),1(){let t=e;for(;null!==t;){if(t.matches(ho))return!0;t=t.parentElement}return!1}})}(i,go.Loose)&&-1!==i.tabIndex&&s.preventDefault(),t(s,i)}}(0,n.useEffect)((()=>{requestAnimationFrame((()=>{r.current=s}))}),[s]);let o=(0,n.useRef)(null);bo("mousedown",(e=>{var t,s;r.current&&(o.current=(null==(s=null==(t=e.composedPath)?void 0:t.call(e))?void 0:s[0])||e.target)}),!0),bo("click",(e=>{!o.current||(a(e,(()=>o.current)),o.current=null)}),!0),bo("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([j.buttonRef,j.inputRef,j.optionsRef],(()=>C.closeCombobox()),0===j.comboboxState);let E=(0,n.useMemo)((()=>({open:0===j.comboboxState,disabled:l,activeIndex:j.activeOptionIndex,activeOption:null===j.activeOptionIndex?null:j.options[j.activeOptionIndex].dataRef.current.value,value:m})),[j,l,m]),L=Rs((e=>{let t=j.options.find((t=>t.id===e));!t||R(t.dataRef.current.value)})),T=Rs((()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];R(e.current.value),C.goToOption(ko.Specific,t)}})),F=Rs((()=>{_({type:0}),y.current=!0})),O=Rs((()=>{_({type:1}),y.current=!1})),P=Rs(((e,t,s)=>(y.current=!1,e===ko.Specific?_({type:2,focus:ko.Specific,id:t,trigger:s}):_({type:2,focus:e,trigger:s})))),M=Rs(((e,t)=>(_({type:3,id:e,dataRef:t}),()=>_({type:4,id:e})))),$=Rs((e=>(_({type:5,id:e}),()=>_({type:5,id:null})))),R=Rs((e=>ps(j.mode,{0:()=>null==h?void 0:h(e),1(){let t=j.value.slice(),s=t.findIndex((t=>k(t,e)));return-1===s?t.push(e):t.splice(s,1),null==h?void 0:h(t)}}))),C=(0,n.useMemo)((()=>({onChange:R,registerOption:M,registerLabel:$,goToOption:P,closeCombobox:O,openCombobox:F,selectActiveOption:T,selectOption:L})),[]),N=null===t?{}:{ref:t},A=(0,n.useRef)(null),I=zs();return(0,n.useEffect)((()=>{!A.current||void 0!==r&&I.addEventListener(A.current,"reset",(()=>{R(r)}))}),[A,R]),n.createElement(Io.Provider,{value:C},n.createElement(zo.Provider,{value:j},n.createElement(Es,{value:ps(j.comboboxState,{0:Ss.Open,1:Ss.Closed})},null!=o&&null!=m&&So({[o]:m}).map((([e,t],s)=>n.createElement(To,{features:Lo.Hidden,ref:0===s?e=>{var t;A.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...vs({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),ys({ourProps:N,theirProps:p,slot:E,defaultTag:Bo,name:"Combobox"}))))})),qo=bs((function(e,t){var s,r,a,o;let i=po(),{id:l=`headlessui-combobox-input-${i}`,onChange:c,displayValue:d,type:u="text",...p}=e,m=Uo("Combobox.Input"),h=Do("Combobox.Input"),f=Ns(m.inputRef,t),_=(0,n.useRef)(!1),y=zs();var w;Oo((([e,t],[s,r])=>{_.current||!m.inputRef.current||(0===r&&1===t||e!==s)&&(m.inputRef.current.value=e)}),["function"==typeof d&&void 0!==m.value?null!=(w=d(m.value))?w:"":"string"==typeof m.value?m.value:"",m.comboboxState]),Oo((([e],[t])=>{if(0===e&&1===t){let e=m.inputRef.current;if(!e)return;let t=e.value,{selectionStart:s,selectionEnd:r,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(s,r,a):e.setSelectionRange(s,r)}}),[m.comboboxState]);let g=(0,n.useRef)(!1),b=Rs((()=>{g.current=!0})),v=Rs((()=>{setTimeout((()=>{g.current=!1}))})),x=Rs((e=>{switch(_.current=!0,e.key){case Fo.Backspace:case Fo.Delete:if(0!==m.mode||!m.nullable)return;let t=e.currentTarget;y.requestAnimationFrame((()=>{""===t.value&&(h.onChange(null),m.optionsRef.current&&(m.optionsRef.current.scrollTop=0),h.goToOption(ko.Nothing))}));break;case Fo.Enter:if(_.current=!1,0!==m.comboboxState||g.current)return;if(e.preventDefault(),e.stopPropagation(),null===m.activeOptionIndex)return void h.closeCombobox();h.selectActiveOption(),0===m.mode&&h.closeCombobox();break;case Fo.ArrowDown:return _.current=!1,e.preventDefault(),e.stopPropagation(),ps(m.comboboxState,{0:()=>{h.goToOption(ko.Next)},1:()=>{h.openCombobox()}});case Fo.ArrowUp:return _.current=!1,e.preventDefault(),e.stopPropagation(),ps(m.comboboxState,{0:()=>{h.goToOption(ko.Previous)},1:()=>{h.openCombobox(),y.nextFrame((()=>{m.value||h.goToOption(ko.Last)}))}});case Fo.Home:if(e.shiftKey)break;return _.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(ko.First);case Fo.PageUp:return _.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(ko.First);case Fo.End:if(e.shiftKey)break;return _.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(ko.Last);case Fo.PageDown:return _.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(ko.Last);case Fo.Escape:return _.current=!1,0!==m.comboboxState?void 0:(e.preventDefault(),m.optionsRef.current&&!m.optionsPropsRef.current.static&&e.stopPropagation(),h.closeCombobox());case Fo.Tab:if(_.current=!1,0!==m.comboboxState)return;0===m.mode&&h.selectActiveOption(),h.closeCombobox()}})),k=Rs((e=>{h.openCombobox(),null==c||c(e)})),S=Rs((()=>{_.current=!1})),j=co((()=>{if(m.labelId)return[m.labelId].join(" ")}),[m.labelId]),E=(0,n.useMemo)((()=>({open:0===m.comboboxState,disabled:m.disabled})),[m]);return ys({ourProps:{ref:f,id:l,role:"combobox",type:u,"aria-controls":null==(s=m.optionsRef.current)?void 0:s.id,"aria-expanded":m.disabled?void 0:0===m.comboboxState,"aria-activedescendant":null===m.activeOptionIndex||null==(r=m.options[m.activeOptionIndex])?void 0:r.id,"aria-multiselectable":1===m.mode||void 0,"aria-labelledby":j,"aria-autocomplete":"list",defaultValue:null!=(o=null!=(a=e.defaultValue)?a:void 0!==m.defaultValue?null==d?void 0:d(m.defaultValue):null)?o:m.defaultValue,disabled:m.disabled,onCompositionStart:b,onCompositionEnd:v,onKeyDown:x,onChange:k,onBlur:S},theirProps:p,slot:E,defaultTag:"input",name:"Combobox.Input"})})),Wo=bs((function(e,t){var s;let r=Uo("Combobox.Button"),a=Do("Combobox.Button"),o=Ns(r.buttonRef,t),i=po(),{id:l=`headlessui-combobox-button-${i}`,...c}=e,d=zs(),u=Rs((e=>{switch(e.key){case Fo.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&a.openCombobox(),d.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case Fo.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(a.openCombobox(),d.nextFrame((()=>{r.value||a.goToOption(ko.Last)}))),d.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case Fo.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),a.closeCombobox(),d.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),p=Rs((e=>{if(function(e){let t=e.parentElement,s=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(s=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(s))&&r}(e.currentTarget))return e.preventDefault();0===r.comboboxState?a.closeCombobox():(e.preventDefault(),a.openCombobox()),d.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),m=co((()=>{if(r.labelId)return[r.labelId,l].join(" ")}),[r.labelId,l]),h=(0,n.useMemo)((()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value})),[r]);return ys({ourProps:{ref:o,id:l,type:xo(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(s=r.optionsRef.current)?void 0:s.id,"aria-expanded":r.disabled?void 0:0===r.comboboxState,"aria-labelledby":m,disabled:r.disabled,onClick:p,onKeyDown:u},theirProps:c,slot:h,defaultTag:"button",name:"Combobox.Button"})})),Go=bs((function(e,t){let s=po(),{id:r=`headlessui-combobox-label-${s}`,...a}=e,o=Uo("Combobox.Label"),i=Do("Combobox.Label"),l=Ns(o.labelRef,t);Os((()=>i.registerLabel(r)),[r]);let c=Rs((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})})),d=(0,n.useMemo)((()=>({open:0===o.comboboxState,disabled:o.disabled})),[o]);return ys({ourProps:{ref:l,id:r,onClick:c},theirProps:a,slot:d,defaultTag:"label",name:"Combobox.Label"})})),Yo=fs.RenderStrategy|fs.Static,Ko=bs((function(e,t){let s=po(),{id:r=`headlessui-combobox-options-${s}`,hold:a=!1,...o}=e,i=Uo("Combobox.Options"),l=Ns(i.optionsRef,t),c=js(),d=null!==c?c===Ss.Open:0===i.comboboxState;Os((()=>{var t;i.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[i.optionsPropsRef,e.static]),Os((()=>{i.optionsPropsRef.current.hold=a}),[i.optionsPropsRef,a]),function({container:e,accept:t,walk:s,enabled:r=!0}){let a=(0,n.useRef)(t),o=(0,n.useRef)(s);(0,n.useEffect)((()=>{a.current=t,o.current=s}),[t,s]),Os((()=>{if(!e||!r)return;let t=mo(e);if(!t)return;let s=a.current,i=o.current,n=Object.assign((e=>s(e)),{acceptNode:s}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,n,!1);for(;l.nextNode();)i(l.currentNode)}),[e,r,a,o])}({container:i.optionsRef.current,enabled:0===i.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=co((()=>{var e,t;return null!=(t=i.labelId)?t:null==(e=i.buttonRef.current)?void 0:e.id}),[i.labelId,i.buttonRef.current]);return ys({ourProps:{"aria-labelledby":u,role:"listbox",id:r,ref:l},theirProps:o,slot:(0,n.useMemo)((()=>({open:0===i.comboboxState})),[i]),defaultTag:"ul",features:Yo,visible:d,name:"Combobox.Options"})})),Zo=bs((function(e,t){var s,r;let a=po(),{id:o=`headlessui-combobox-option-${a}`,disabled:i=!1,value:l,...c}=e,d=Uo("Combobox.Option"),u=Do("Combobox.Option"),p=null!==d.activeOptionIndex&&d.options[d.activeOptionIndex].id===o,m=d.isSelected(l),h=(0,n.useRef)(null),f=Ms({disabled:i,value:l,domRef:h,textValue:null==(r=null==(s=h.current)?void 0:s.textContent)?void 0:r.toLowerCase()}),_=Ns(t,h),y=Rs((()=>u.selectOption(o)));Os((()=>u.registerOption(o,f)),[f,o]);let w=(0,n.useRef)(!d.__demoMode);Os((()=>{if(!d.__demoMode)return;let e=As();return e.requestAnimationFrame((()=>{w.current=!0})),e.dispose}),[]),Os((()=>{if(0!==d.comboboxState||!p||!w.current||0===d.activationTrigger)return;let e=As();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=h.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[h,p,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let g=Rs((e=>{if(i)return e.preventDefault();y(),0===d.mode&&u.closeCombobox()})),b=Rs((()=>{if(i)return u.goToOption(ko.Nothing);u.goToOption(ko.Specific,o)})),v=function(){let e=(0,n.useRef)([-1,-1]);return{wasMoved(t){let s=Po(t);return(e.current[0]!==s[0]||e.current[1]!==s[1])&&(e.current=s,!0)},update(t){e.current=Po(t)}}}(),x=Rs((e=>v.update(e))),k=Rs((e=>{!v.wasMoved(e)||i||p||u.goToOption(ko.Specific,o,0)})),S=Rs((e=>{!v.wasMoved(e)||i||!p||d.optionsPropsRef.current.hold||u.goToOption(ko.Nothing)})),j=(0,n.useMemo)((()=>({active:p,selected:m,disabled:i})),[p,m,i]);return ys({ourProps:{id:o,ref:_,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":m,disabled:void 0,onClick:g,onFocus:b,onPointerEnter:x,onMouseEnter:x,onPointerMove:k,onMouseMove:k,onPointerLeave:S,onMouseLeave:S},theirProps:c,slot:j,defaultTag:"li",name:"Combobox.Option"})})),Jo=Object.assign(Ho,{Input:qo,Button:Wo,Label:Go,Options:Ko,Option:Zo});const Qo=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),Xo=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}));function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},ei.apply(this,arguments)}function ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}var si=["shift","alt","meta","mod"],ri={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown",1:"digit1",2:"digit2",3:"digit3",4:"digit4",5:"digit5",6:"digit6",7:"digit7",8:"digit8",9:"digit9"};function ai(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function oi(e,t){void 0===t&&(t="+");var s=e.toLocaleLowerCase().split(t).map((function(e){return e.trim()})).map((function(e){return ri[e]||e}));return ei({},{alt:s.includes("alt"),shift:s.includes("shift"),meta:s.includes("meta"),mod:s.includes("mod")},{keys:s.filter((function(e){return!si.includes(e)}))})}function ii(e,t){var s=e.target;void 0===t&&(t=!1);var r=s&&s.tagName;return t instanceof Array?Boolean(r&&t&&t.some((function(e){return e.toLowerCase()===r.toLowerCase()}))):Boolean(r&&t&&!0===t)}var ni=(0,n.createContext)(void 0),li=(0,n.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}});function ci(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(s,r){return s&&ci(e[r],t[r])}),!0):e===t}var di=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},ui="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,pi=new Set;function mi(e,t,s,r){var a=(0,n.useRef)(null),o=s instanceof Array?r instanceof Array?void 0:r:s,i=s instanceof Array?s:r instanceof Array?r:[],l=(0,n.useCallback)(t,[].concat(i)),c=function(e){var t=(0,n.useRef)(void 0);return ci(t.current,e)||(t.current=e),t.current}(o),d=(0,n.useContext)(li).enabledScopes,u=(0,n.useContext)(ni);return ui((function(){if(!1!==(null==c?void 0:c.enabled)&&(t=d,s=null==c?void 0:c.scopes,0===t.length&&s?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!s||t.some((function(e){return s.includes(e)}))||t.includes("*"))){var t,s,r=function(t){var s;ii(t,["input","textarea","select"])&&!ii(t,null==c?void 0:c.enableOnFormTags)||(null===a.current||document.activeElement===a.current||a.current.contains(document.activeElement)?(null==(s=t.target)||!s.isContentEditable||null!=c&&c.enableOnContentEditable)&&ai(e,null==c?void 0:c.splitKey).forEach((function(e){var s,r=oi(e,null==c?void 0:c.combinationKey);if(function(e,t,s){var r=t.alt,a=t.meta,o=t.mod,i=t.shift,n=t.keys,l=e.altKey,c=e.ctrlKey,d=e.metaKey,u=e.shiftKey,p=e.key,m=e.code.toLowerCase().replace("key",""),h=p.toLowerCase();if(l!==r&&"alt"!==h)return!1;if(u!==i&&"shift"!==h)return!1;if(o){if(!d&&!c)return!1}else if(d!==a&&c!==a&&"meta"!==m&&"ctrl"!==m)return!1;return!(!n||1!==n.length||!n.includes(h)&&!n.includes(m))||(n?n.every((function(e){return s.has(e)})):!n)}(t,r,pi)||null!=(s=r.keys)&&s.includes("*")){if(function(e,t,s){("function"==typeof s&&s(e,t)||!0===s)&&e.preventDefault()}(t,r,null==c?void 0:c.preventDefault),!function(e,t,s){return"function"==typeof s?s(e,t):!0===s||void 0===s}(t,r,null==c?void 0:c.enabled))return void di(t);l(t,r)}})):di(t))},o=function(e){void 0!==e.key&&(pi.add(e.key.toLowerCase()),(void 0===(null==c?void 0:c.keydown)&&!0!==(null==c?void 0:c.keyup)||null!=c&&c.keydown)&&r(e))},i=function(e){void 0!==e.key&&("meta"!==e.key.toLowerCase()?pi.delete(e.key.toLowerCase()):pi.clear(),null!=c&&c.keyup&&r(e))};return(a.current||document).addEventListener("keyup",i),(a.current||document).addEventListener("keydown",o),u&&ai(e,null==c?void 0:c.splitKey).forEach((function(e){return u.addHotkey(oi(e,null==c?void 0:c.combinationKey))})),function(){(a.current||document).removeEventListener("keyup",i),(a.current||document).removeEventListener("keydown",o),u&&ai(e,null==c?void 0:c.splitKey).forEach((function(e){return u.removeHotkey(oi(e,null==c?void 0:c.combinationKey))}))}}}),[e,l,c,d]),a}var hi=new Set;"undefined"!=typeof window&&window.addEventListener("DOMContentLoaded",(function(){document.addEventListener("keydown",(function(e){var t;void 0!==e.key&&(t=e.key,(Array.isArray(t)?t:[t]).forEach((function(e){return hi.add(oi(e))})))})),document.addEventListener("keyup",(function(e){var t;void 0!==e.key&&(t=e.key,(Array.isArray(t)?t:[t]).forEach((function(e){for(var t,s=oi(e),r=function(e,t){var s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return(s=s.call(e)).next.bind(s);if(Array.isArray(e)||(s=function(e,t){if(e){if("string"==typeof e)return ti(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?ti(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(hi);!(t=r()).done;){var a,o=t.value;null!=(a=o.keys)&&a.every((function(e){var t;return null==(t=s.keys)?void 0:t.includes(e)}))&&hi.delete(o)}})))}))}));const fi=(e,t)=>{try{return e.toLocaleLowerCase(t)}catch(t){return console.error(t.message),e}},_i=({name:e,label:t,route:s,hasArchive:r},{userLocale:a})=>({[`title-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-title-${e}`,fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},[`metadesc-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-metadesc-${e}`,fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},[`noindex-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-noindex-${e}`,fieldLabel:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. (0,Et.__)("Show %1$s in search results","wordpress-seo"),fi(t,a)),keywords:[]},[`display-metabox-pt-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-display-metabox-pt-${e}`,fieldLabel:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},[`schema-page-type-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-schema-page-type-${e}`,fieldLabel:(0,Et.__)("Page type","wordpress-seo"),keywords:[(0,Et.__)("Schema","wordpress-seo"),(0,Et.__)("Structured data","wordpress-seo")]},[`schema-article-type-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-schema-article-type-${e}`,fieldLabel:(0,Et.__)("Article type","wordpress-seo"),keywords:[(0,Et.__)("Schema","wordpress-seo"),(0,Et.__)("Structured data","wordpress-seo")]},[`page-analyse-extra-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-page-analyse-extra-${e}`,fieldLabel:(0,Et.__)("Add custom fields to page analysis","wordpress-seo"),keywords:[]},..."attachment"!==e&&{[`social-title-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-title-${e}`,fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},[`social-description-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-description-${e}`,fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},[`social-image-id-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`button-wpseo_titles-social-image-${e}-preview`,fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]}},...r&&{[`title-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-title-ptarchive-${e}`,fieldLabel:(0,Et.__)("Archive SEO title","wordpress-seo"),keywords:[]},[`metadesc-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-metadesc-ptarchive-${e}`,fieldLabel:(0,Et.__)("Archive meta description","wordpress-seo"),keywords:[]},[`bctitle-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-bctitle-ptarchive-${e}`,fieldLabel:(0,Et.__)("Archive breadcrumbs title","wordpress-seo"),keywords:[]},[`noindex-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-noindex-ptarchive-${e}`,fieldLabel:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. (0,Et.__)("Show the archive for %1$s in search results","wordpress-seo"),fi(t,a)),keywords:[]},[`social-title-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-title-ptarchive-${e}`,fieldLabel:(0,Et.__)("Archive social title","wordpress-seo"),keywords:[]},[`social-description-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-description-ptarchive-${e}`,fieldLabel:(0,Et.__)("Archive social description","wordpress-seo"),keywords:[]},[`social-image-id-ptarchive-${e}`]:{route:`/post-type/${s}`,routeLabel:t,fieldId:`button-wpseo_titles-social-image-ptarchive-${e}-preview`,fieldLabel:(0,Et.__)("Archive social image","wordpress-seo"),keywords:[]}}}),yi=({name:e,label:t,route:s},{userLocale:r})=>({[`title-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-title-tax-${e}`,fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},[`metadesc-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-metadesc-tax-${e}`,fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},[`display-metabox-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-display-metabox-tax-${e}`,fieldLabel:(0,Et.sprintf)(/* translators: %1$s expands to "Yoast SEO". %2$s expands to the taxonomy plural, e.g. Categories. */ (0,Et.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",fi(t,r)),keywords:[]},[`display-metabox-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-display-metabox-tax-${e}`,fieldLabel:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},[`noindex-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-noindex-tax-${e}`,fieldLabel:(0,Et.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. (0,Et.__)("Show %1$s in search results","wordpress-seo"),fi(t,r)),keywords:[]},[`social-title-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-title-tax-${e}`,fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},[`social-description-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`input-wpseo_titles-social-description-tax-${e}`,fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},[`social-image-id-tax-${e}`]:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:`button-wpseo_titles-social-image-tax-${e}-preview`,fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]},..."category"===e&&{stripcategorybase:{route:`/taxonomy/${s}`,routeLabel:t,fieldId:"input-wpseo_titles-stripcategorybase",fieldLabel:(0,Et.__)("Show the categories prefix in the slug","wordpress-seo"),keywords:[]}}}),wi=(e,t,{userLocale:s}={})=>({blogdescription:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-blogdescription",fieldLabel:(0,Et.__)("Tagline","wordpress-seo"),keywords:[]},wpseo:{keyword_analysis_active:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-keyword_analysis_active",fieldLabel:(0,Et.__)("SEO analysis","wordpress-seo"),keywords:[]},content_analysis_active:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-content_analysis_active",fieldLabel:(0,Et.__)("Readability analysis","wordpress-seo"),keywords:[]},inclusive_language_analysis_active:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-inclusive_language_analysis_active",fieldLabel:(0,Et.__)("Inclusive language analysis","wordpress-seo"),keywords:[]},enable_metabox_insights:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_metabox_insights",fieldLabel:(0,Et.__)("Insights","wordpress-seo"),keywords:[]},enable_cornerstone_content:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_cornerstone_content",fieldLabel:(0,Et.__)("Cornerstone content","wordpress-seo"),keywords:[]},enable_text_link_counter:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_text_link_counter",fieldLabel:(0,Et.__)("Text link counter","wordpress-seo"),keywords:[]},enable_link_suggestions:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_link_suggestions",fieldLabel:(0,Et.__)("Link suggestions","wordpress-seo"),keywords:[]},enable_enhanced_slack_sharing:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_enhanced_slack_sharing",fieldLabel:(0,Et.__)("Slack sharing","wordpress-seo"),keywords:[(0,Et.__)("Share","wordpress-seo")]},enable_admin_bar_menu:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_admin_bar_menu",fieldLabel:(0,Et.__)("Admin bar menu","wordpress-seo"),keywords:[]},enable_task_list:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_task_list",fieldLabel:(0,Et.__)("Task list","wordpress-seo"),keywords:[(0,Et.__)("Tasks","wordpress-seo"),(0,Et.__)("To-do","wordpress-seo"),(0,Et.__)("Checklist","wordpress-seo")]},enable_schema:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_schema",fieldLabel:(0,Et.__)("Schema Framework","wordpress-seo"),keywords:[]},enable_headless_rest_endpoints:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_headless_rest_endpoints",fieldLabel:(0,Et.__)("REST API endpoint","wordpress-seo"),keywords:[]},enable_xml_sitemap:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_xml_sitemap",fieldLabel:(0,Et.__)("XML sitemaps","wordpress-seo"),keywords:[]},enable_index_now:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_index_now",fieldLabel:(0,Et.__)("IndexNow","wordpress-seo"),keywords:[(0,Et.__)("Index Now","wordpress-seo")]},enable_ai_generator:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_ai_generator",fieldLabel:(0,Et.__)("AI title & description generator","wordpress-seo"),keywords:[(0,Et.__)("AI generator","wordpress-seo"),(0,Et.__)("Artificial intelligence","wordpress-seo"),(0,Et.__)("SEO title","wordpress-seo"),(0,Et.__)("meta title","wordpress-seo"),(0,Et.__)("meta description","wordpress-seo"),(0,Et.__)("suggestions","wordpress-seo")]},disableadvanced_meta:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-disableadvanced_meta",fieldLabel:(0,Et.__)("Restrict advanced settings for authors","wordpress-seo"),keywords:[]},tracking:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-tracking",fieldLabel:(0,Et.__)("Usage tracking","wordpress-seo"),keywords:[]},publishing_principles_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-publishing_principles_id",fieldLabel:(0,Et.__)("Publishing principles","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},ownership_funding_info_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-ownership_funding_info_id",fieldLabel:(0,Et.__)("Ownership / Funding info","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},actionable_feedback_policy_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-actionable_feedback_policy_id",fieldLabel:(0,Et.__)("Actionable feedback policy","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},corrections_policy_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-corrections_policy_id",fieldLabel:(0,Et.__)("Corrections policy","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},ethics_policy_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-ethics_policy_id",fieldLabel:(0,Et.__)("Ethics policy","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},diversity_policy_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-diversity_policy_id",fieldLabel:(0,Et.__)("Diversity policy","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},diversity_staffing_report_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-diversity_staffing_report_id",fieldLabel:(0,Et.__)("Diversity staffing report","wordpress-seo"),keywords:[(0,Et.__)("Publishing policies","wordpress-seo")]},baiduverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-baiduverify",fieldLabel:(0,Et.__)("Baidu","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo")]},googleverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-googleverify",fieldLabel:(0,Et.__)("Google","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo"),(0,Et.__)("Google search console","wordpress-seo"),"gsc"]},ahrefsverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-ahrefsverify",fieldLabel:(0,Et.__)("Ahrefs","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo")]},msverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-msverify",fieldLabel:(0,Et.__)("Bing","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo")]},yandexverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-yandexverify",fieldLabel:(0,Et.__)("Yandex","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo")]},remove_shortlinks:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_shortlinks",fieldLabel:(0,Et.__)("Remove shortlinks","wordpress-seo"),keywords:[]},remove_rest_api_links:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rest_api_links",fieldLabel:(0,Et.__)("Remove REST API links","wordpress-seo"),keywords:[]},remove_rsd_wlw_links:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rsd_wlw_links",fieldLabel:(0,Et.__)("Remove RSD / WLW links","wordpress-seo"),keywords:[]},remove_oembed_links:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_oembed_links",fieldLabel:(0,Et.__)("Remove oEmbed links","wordpress-seo"),keywords:[]},remove_generator:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_generator",fieldLabel:(0,Et.__)("Remove generator tag","wordpress-seo"),keywords:[]},remove_pingback_header:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_pingback_header",fieldLabel:(0,Et.__)("Pingback HTTP header","wordpress-seo"),keywords:[]},remove_powered_by_header:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_powered_by_header",fieldLabel:(0,Et.__)("Remove powered by HTTP header","wordpress-seo"),keywords:[]},remove_feed_global:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global",fieldLabel:(0,Et.__)("Remove global feed","wordpress-seo"),keywords:[]},remove_feed_global_comments:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global_comments",fieldLabel:(0,Et.__)("Remove global comment feeds","wordpress-seo"),keywords:[]},remove_feed_post_comments:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_comments",fieldLabel:(0,Et.__)("Remove post comments feeds","wordpress-seo"),keywords:[]},remove_feed_authors:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_authors",fieldLabel:(0,Et.__)("Remove post authors feeds","wordpress-seo"),keywords:[]},remove_feed_post_types:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_types",fieldLabel:(0,Et.__)("Remove post type feeds","wordpress-seo"),keywords:[]},remove_feed_categories:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_categories",fieldLabel:(0,Et.__)("Remove category feeds","wordpress-seo"),keywords:[]},remove_feed_tags:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_tags",fieldLabel:(0,Et.__)("Remove tag feeds","wordpress-seo"),keywords:[]},remove_feed_custom_taxonomies:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_custom_taxonomies",fieldLabel:(0,Et.__)("Remove custom taxonomy feeds","wordpress-seo"),keywords:[]},remove_feed_search:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_search",fieldLabel:(0,Et.__)("Remove search results feeds","wordpress-seo"),keywords:[]},remove_atom_rdf_feeds:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_atom_rdf_feeds",fieldLabel:(0,Et.__)("Remove Atom/RDF feeds","wordpress-seo"),keywords:[]},remove_emoji_scripts:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_emoji_scripts",fieldLabel:(0,Et.__)("Remove emoji scripts","wordpress-seo"),keywords:[]},deny_wp_json_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_wp_json_crawling",fieldLabel:(0,Et.__)("Remove WP-JSON API","wordpress-seo"),keywords:["robots"]},deny_adsbot_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_adsbot_crawling",fieldLabel:(0,Et.__)("Prevent Google AdsBot from crawling","wordpress-seo"),keywords:["robots"]},deny_ccbot_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_ccbot_crawling",fieldLabel:(0,Et.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),keywords:["robots"]},deny_google_extended_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_google_extended_crawling",fieldLabel:(0,Et.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),keywords:["robots"]},deny_gptbot_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_gptbot_crawling",fieldLabel:(0,Et.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),keywords:["robots","chatgpt"]},search_cleanup:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup",fieldLabel:(0,Et.__)("Filter search terms","wordpress-seo"),keywords:[]},search_character_limit:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_character_limit",fieldLabel:(0,Et.__)("Max number of characters to allow in searches","wordpress-seo"),keywords:[]},search_cleanup_emoji:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_emoji",fieldLabel:(0,Et.__)("Filter searches with emojis and other special characters","wordpress-seo"),keywords:[]},search_cleanup_patterns:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_patterns",fieldLabel:(0,Et.__)("Filter searches with common spam patterns","wordpress-seo"),keywords:[]},redirect_search_pretty_urls:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-redirect_search_pretty_urls",fieldLabel:(0,Et.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),keywords:[]},deny_search_crawling:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_search_crawling",fieldLabel:(0,Et.__)("Prevent crawling of internal site search URLs","wordpress-seo"),keywords:["robots"]},clean_campaign_tracking_urls:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_campaign_tracking_urls",fieldLabel:(0,Et.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),keywords:[]},clean_permalinks:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks",fieldLabel:(0,Et.__)("Remove unregistered URL parameters","wordpress-seo"),keywords:[]},clean_permalinks_extra_variables:{route:"/crawl-optimization",routeLabel:(0,Et.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks_extra_variables",fieldLabel:(0,Et.__)("Additional URL parameters to allow","wordpress-seo"),keywords:[]},enable_llms_txt:{route:"/llms-txt",routeLabel:(0,Et.__)("llms.txt","wordpress-seo"),fieldId:"input-wpseo.enable_llms_txt",fieldLabel:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("Enable %1$s file feature","wordpress-seo"),"llms.txt"),keywords:[]}},wpseo_titles:{website_name:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-website_name",fieldLabel:(0,Et.__)("Website name","wordpress-seo"),keywords:[]},alternate_website_name:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-alternate_website_name",fieldLabel:(0,Et.__)("Alternate website name","wordpress-seo"),keywords:[]},forcerewritetitles:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-forcerewritetitle",fieldLabel:(0,Et.__)("Force rewrite titles","wordpress-seo"),keywords:[]},separator:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-separator-sc-dash",fieldLabel:(0,Et.__)("Title separator","wordpress-seo"),keywords:[(0,Et.__)("Divider","wordpress-seo")]},company_or_person:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person-company",fieldLabel:(0,Et.__)("Organization/person","wordpress-seo"),keywords:[(0,Et.__)("Schema","wordpress-seo"),(0,Et.__)("Structured data","wordpress-seo")]},company_name:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_name",fieldLabel:(0,Et.__)("Organization name","wordpress-seo"),keywords:[]},company_alternate_name:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_alternate_name",fieldLabel:(0,Et.__)("Alternate organization name","wordpress-seo"),keywords:[]},company_logo_id:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-company_logo-preview",fieldLabel:(0,Et.__)("Organization logo","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo")]},company_or_person_user_id:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person_user_id",fieldLabel:(0,Et.__)("User","wordpress-seo"),keywords:[]},person_logo_id:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-person_logo-preview",fieldLabel:(0,Et.__)("Personal logo or avatar","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo")]},organization_description:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-description",fieldLabel:(0,Et.__)("Organization description","wordpress-seo"),keywords:[]},organization_email:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-email",fieldLabel:(0,Et.__)("Organization email address","wordpress-seo"),keywords:[]},organization_phone:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-phone",fieldLabel:(0,Et.__)("Organization phone number","wordpress-seo"),keywords:[]},organization_legal_name:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-legal-name",fieldLabel:(0,Et.__)("Organization's legal name","wordpress-seo"),keywords:[]},organization_funding_date:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-founding-date",fieldLabel:(0,Et.__)("Organization's founding date","wordpress-seo"),keywords:[]},organization_number_employees:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-number-employees",fieldLabel:(0,Et.__)("Number of employees","wordpress-seo"),keywords:[]},organization_vat_id:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-vat-id",fieldLabel:(0,Et.__)("VAT ID","wordpress-seo"),keywords:[]},organization_tax_id:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-tax-id",fieldLabel:(0,Et.__)("Tax ID","wordpress-seo"),keywords:[]},organization_iso:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-iso",fieldLabel:(0,Et.__)("ISO 6523","wordpress-seo"),keywords:[]},organization_duns:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-duns",fieldLabel:(0,Et.__)("DUNS","wordpress-seo"),keywords:[]},organization_leicode:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-leicode",fieldLabel:(0,Et.__)("LEI code","wordpress-seo"),keywords:[(0,Et.__)("leicode","wordpress-seo")]},organization_naics:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-org-naics",fieldLabel:(0,Et.__)("NAICS","wordpress-seo"),keywords:[]},"title-home-wpseo":{route:"/homepage",routeLabel:(0,Et.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-title-home-wpseo",fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-home-wpseo":{route:"/homepage",routeLabel:(0,Et.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-home-wpseo",fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},open_graph_frontpage_image_id:{route:"/homepage",routeLabel:(0,Et.__)("Homepage","wordpress-seo"),fieldId:"button-wpseo_titles-open_graph_frontpage_image-preview",fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]},open_graph_frontpage_title:{route:"/homepage",routeLabel:(0,Et.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_title",fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},open_graph_frontpage_desc:{route:"/homepage",routeLabel:(0,Et.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_desc",fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},"breadcrumbs-sep":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-sep",fieldLabel:(0,Et.__)("Separator between breadcrumbs","wordpress-seo"),keywords:[(0,Et.__)("Divider","wordpress-seo"),(0,Et.__)("Separator","wordpress-seo")]},"breadcrumbs-home":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-home",fieldLabel:(0,Et.__)("Anchor text for the homepage","wordpress-seo"),keywords:[]},"breadcrumbs-prefix":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-prefix",fieldLabel:(0,Et.__)("Prefix for the breadcrumb path","wordpress-seo"),keywords:[]},"breadcrumbs-archiveprefix":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-archiveprefix",fieldLabel:(0,Et.__)("Prefix for archive breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-searchprefix":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-searchprefix",fieldLabel:(0,Et.__)("Prefix for search page breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-404crumb":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-404crumb",fieldLabel:(0,Et.__)("Breadcrumb for 404 page","wordpress-seo"),keywords:[]},"breadcrumbs-display-blog-page":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-display-blog-page",fieldLabel:(0,Et.__)("Show blog page in breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-boldlast":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-boldlast",fieldLabel:(0,Et.__)("Bold the last page","wordpress-seo"),keywords:[]},"breadcrumbs-enable":{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-enable",fieldLabel:(0,Et.__)("Enable breadcrumbs for your theme","wordpress-seo"),keywords:[]},...(0,le.reduce)(e,((e,r)=>{const a=(0,le.filter)(t,(e=>(0,le.includes)(e.postTypes,r.name)));return(0,le.isEmpty)(a)?e:{...e,[`post_types-${r.name}-maintax`]:{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-post_types-${r.name}-maintax`, // translators: %1$s expands to the post type plural, e.g. posts. fieldLabel:(0,Et.sprintf)((0,Et.__)("Breadcrumbs for %1$s","wordpress-seo"),fi(r.label,s)),keywords:[]}}}),{}),...(0,le.reduce)(t,((e,t)=>({...e,[`taxonomy-${t.name}-ptparent`]:{route:"/breadcrumbs",routeLabel:(0,Et.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-taxonomy-${t.name}-ptparent`, // translators: %1$s expands to the taxonomy plural, e.g. categories. fieldLabel:(0,Et.sprintf)((0,Et.__)("Breadcrumbs for %1$s","wordpress-seo"),fi(t.label,s)),keywords:[]}})),{}),"disable-author":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-author",fieldLabel:(0,Et.__)("Enable author archives","wordpress-seo"),keywords:[]},"noindex-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-wpseo",fieldLabel:(0,Et.__)("Show author archives in search results","wordpress-seo"),keywords:[]},"noindex-author-noposts-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-noposts-wpseo",fieldLabel:(0,Et.__)("Show archives for authors without posts in search results","wordpress-seo"),keywords:[]},"title-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-author-wpseo",fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-author-wpseo",fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-author-wpseo-preview",fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]},"social-title-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-author-wpseo",fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},"social-description-author-wpseo":{route:"/author-archives",routeLabel:(0,Et.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-author-wpseo",fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},"disable-date":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-date",fieldLabel:(0,Et.__)("Enable date archives","wordpress-seo"),keywords:[]},"noindex-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-archive-wpseo",fieldLabel:(0,Et.__)("Show date archives in search results","wordpress-seo"),keywords:[]},"title-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-archive-wpseo",fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-archive-wpseo",fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-archive-wpseo-preview",fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]},"social-title-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-archive-wpseo",fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},"social-description-archive-wpseo":{route:"/date-archives",routeLabel:(0,Et.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-archive-wpseo",fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},"title-search-wpseo":{route:"/special-pages",routeLabel:(0,Et.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-search-wpseo",fieldLabel:(0,Et.__)("Search pages title","wordpress-seo"),keywords:[]},"title-404-wpseo":{route:"/special-pages",routeLabel:(0,Et.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-404-wpseo",fieldLabel:(0,Et.__)("404 pages title","wordpress-seo"),keywords:[]},"disable-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-disable-attachment",fieldLabel:(0,Et.__)("Media pages","wordpress-seo"),keywords:[(0,Et.__)("Attachment","wordpress-seo"),(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"noindex-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-attachment",fieldLabel:(0,Et.__)("Show media pages in search results","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"title-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-attachment",fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"metadesc-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-attachment",fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"schema-page-type-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-page-type-attachment",fieldLabel:(0,Et.__)("Page type","wordpress-seo"),keywords:[(0,Et.__)("Schema","wordpress-seo"),(0,Et.__)("Structured data","wordpress-seo"),(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"schema-article-type-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-article-type-attachment",fieldLabel:(0,Et.__)("Article type","wordpress-seo"),keywords:[(0,Et.__)("Schema","wordpress-seo"),(0,Et.__)("Structured data","wordpress-seo"),(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"display-metabox-pt-attachment":{route:"/media-pages",routeLabel:(0,Et.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-display-metabox-pt-attachment",fieldLabel:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[(0,Et.__)("Image","wordpress-seo"),(0,Et.__)("Video","wordpress-seo"),(0,Et.__)("PDF","wordpress-seo"),(0,Et.__)("File","wordpress-seo")]},"disable-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-post_format",fieldLabel:(0,Et.__)("Enable format-based archives","wordpress-seo"),keywords:[]},"noindex-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-tax-post_format",fieldLabel:(0,Et.__)("Show format archives in search results","wordpress-seo"),keywords:[]},"title-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-tax-post_format",fieldLabel:(0,Et.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-tax-post_format",fieldLabel:(0,Et.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-tax-post_format-preview",fieldLabel:(0,Et.__)("Social image","wordpress-seo"),keywords:[]},"social-title-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-tax-post_format",fieldLabel:(0,Et.__)("Social title","wordpress-seo"),keywords:[]},"social-description-tax-post_format":{route:"/format-archives",routeLabel:(0,Et.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-tax-post_format",fieldLabel:(0,Et.__)("Social description","wordpress-seo"),keywords:[]},rssbefore:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssbefore",fieldLabel:(0,Et.__)("Content to put before each post in the feed","wordpress-seo"),keywords:[]},rssafter:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssafter",fieldLabel:(0,Et.__)("Content to put after each post in the feed","wordpress-seo"),keywords:[]},...(0,le.reduce)((0,le.omit)(e,["attachment"]),((e,t)=>({...e,..._i(t,{userLocale:s})})),{}),...(0,le.reduce)((0,le.omit)(t,["post_format"]),((e,t)=>({...e,...yi(t,{userLocale:s})})),{})},wpseo_social:{opengraph:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-opengraph",fieldLabel:(0,Et.__)("Open Graph data","wordpress-seo"),keywords:[(0,Et.__)("Social","wordpress-seo"),(0,Et.__)("OpenGraph","wordpress-seo"),(0,Et.__)("Facebook","wordpress-seo"),(0,Et.__)("Share","wordpress-seo")]},twitter:{route:"/site-features",routeLabel:(0,Et.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-twitter",fieldLabel:(0,Et.__)("X card data","wordpress-seo"),keywords:[(0,Et.__)("Social","wordpress-seo"),(0,Et.__)("Share","wordpress-seo"),(0,Et.__)("Tweet","wordpress-seo"),(0,Et.__)("Twitter","wordpress-seo")]},og_default_image_id:{route:"/site-basics",routeLabel:(0,Et.__)("Site basics","wordpress-seo"),fieldId:"button-wpseo_social-og_default_image-preview",fieldLabel:(0,Et.__)("Site image","wordpress-seo"),keywords:[]},pinterestverify:{route:"/site-connections",routeLabel:(0,Et.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo_social-pinterestverify",fieldLabel:(0,Et.__)("Pinterest","wordpress-seo"),keywords:[(0,Et.__)("Webmaster","wordpress-seo")]},facebook_site:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-facebook_site",fieldLabel:(0,Et.__)("Organization Facebook","wordpress-seo"),keywords:[(0,Et.__)("Social","wordpress-seo"),(0,Et.__)("Open Graph","wordpress-seo"),(0,Et.__)("OpenGraph","wordpress-seo"),(0,Et.__)("Share","wordpress-seo")]},twitter_site:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-twitter_site",fieldLabel:(0,Et.__)("Organization X","wordpress-seo"),keywords:[(0,Et.__)("Social","wordpress-seo"),(0,Et.__)("Share","wordpress-seo"),(0,Et.__)("Tweet","wordpress-seo"),(0,Et.__)("Twitter","wordpress-seo")]},mastodon_url:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-mastodon_url",fieldLabel:(0,Et.__)("Organization Mastodon","wordpress-seo"),keywords:[(0,Et.__)("Social","wordpress-seo"),(0,Et.__)("Share","wordpress-seo")]},other_social_urls:{route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:"fieldset-wpseo_social-other_social_urls",fieldLabel:(0,Et.__)("Other social profiles","wordpress-seo"),keywords:[],...(0,le.times)(25,(e=>({route:"/site-representation",routeLabel:(0,Et.__)("Site representation","wordpress-seo"),fieldId:`input-wpseo_social-other_social_urls-${e}`, // translators: %1$s expands to array index + 1. fieldLabel:(0,Et.sprintf)((0,Et.__)("Other profile %1$s","wordpress-seo"),e+1)})))}}}),gi=async e=>{const{endpoint:s,nonce:r}=(0,le.get)(window,"wpseoScriptData",{}),a=new FormData;a.set("option_page","wpseo_page_settings"),a.set("_wp_http_referer","admin.php?page=wpseo_page_settings_saved"),a.set("action","update"),a.set("_wpnonce",r),(0,le.forEach)(e,((e,t)=>{(0,le.isObject)(e)?(0,le.forEach)(e,((e,s)=>{(0,le.isArray)(e)?(0,le.forEach)(e,((e,r)=>a.set(`${t}[${s}][${r}]`,e))):a.set(`${t}[${s}]`,e)})):a.set(t,e)}));try{const e=await fetch(s,{method:"POST",body:new URLSearchParams(a)}),r=await e.text();if((0,le.includes)(r,"{{ yoast-success: false }}"))throw new Error("Yoast options invalid.");if((e=>{const{setGenerationFailure:s}=(0,t.dispatch)(Xr);if((0,le.includes)(e,"{{ yoast-llms-txt-generation-failure: "))return(0,le.includes)(e,`{{ yoast-llms-txt-generation-failure: ${ea} }}`)?void s({generationFailure:!0,generationFailureReason:ea}):(0,le.includes)(e,`{{ yoast-llms-txt-generation-failure: ${ta} }}`)?void s({generationFailure:!0,generationFailureReason:ta}):void s({generationFailure:!0,generationFailureReason:"unknown"});s({generationFailure:!1,generationFailureReason:""})})(r),!e.url.endsWith("settings-updated=true"))throw new Error("WordPress options save did not get to the end.")}catch(e){throw new Error(e.message)}},bi=async(e,{resetForm:s})=>{const{addNotification:r}=(0,t.dispatch)(Xr),{selectPreference:a}=(0,t.select)(Xr),o=a("canManageOptions",!1);try{return await Promise.all([gi(o?e:(0,le.omit)(e,["blogdescription"]))]),r({variant:"success",title:(0,Et.__)("Great! Your settings were saved successfully.","wordpress-seo")}),s({values:e}),!0}catch(e){return r({id:"submit-error",variant:"error",title:(0,Et.__)("Oops! Something went wrong while saving.","wordpress-seo")}),console.error("Error while saving:",e.message),!1}};var vi,xi;try{vi=Map}catch(e){}try{xi=Set}catch(e){}function ki(e,t,s){if(!e||"object"!=typeof e||"function"==typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(Si);if(vi&&e instanceof vi)return new Map(Array.from(e.entries()));if(xi&&e instanceof xi)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var r=Object.create(e);for(var a in s.push(r),e){var o=t.findIndex((function(t){return t===e[a]}));r[a]=o>-1?s[o]:ki(e[a],t,s)}return r}return e}function Si(e){return ki(e,[],[])}const ji=Object.prototype.toString,Ei=Error.prototype.toString,Li=RegExp.prototype.toString,Ti="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",Fi=/^Symbol\((.*)\)(.*)$/;function Oi(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const s=typeof e;if("number"===s)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===s)return t?`"${e}"`:e;if("function"===s)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===s)return Ti.call(e).replace(Fi,"Symbol($1)");const r=ji.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+Ei.call(e)+"]":"RegExp"===r?Li.call(e):null}function Pi(e,t){let s=Oi(e,t);return null!==s?s:JSON.stringify(e,(function(e,s){let r=Oi(this[e],t);return null!==r?r:s}),2)}let Mi={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:s,originalValue:r})=>{let a=null!=r&&r!==s,o=`${e} must be a \`${t}\` type, but the final value was: \`${Pi(s,!0)}\``+(a?` (cast from the value \`${Pi(r,!0)}\`).`:".");return null===s&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o},defined:"${path} must be defined"},$i={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Ri={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Ci={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Ni={noUnknown:"${path} field has unspecified keys: ${unknown}"},Ai={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:Mi,string:$i,number:Ri,date:Ci,object:Ni,array:Ai,boolean:{isValue:"${path} field must be ${value}"}});const Ii=window.lodash.has;var Di=s.n(Ii);const zi=e=>e&&e.__isYupSchema__,Ui=class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"==typeof t)return void(this.fn=t);if(!Di()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:s,then:r,otherwise:a}=t,o="function"==typeof s?s:(...e)=>e.every((e=>e===s));this.fn=function(...e){let t=e.pop(),s=e.pop(),i=o(...e)?r:a;if(i)return"function"==typeof i?i(s):s.concat(i.resolve(t))}}resolve(e,t){let s=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn.apply(e,s.concat(e,t));if(void 0===r||r===e)return e;if(!zi(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}};function Vi(e){return null==e?[]:[].concat(e)}function Bi(){return Bi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Bi.apply(this,arguments)}let Hi=/\$\{\s*(\w+)\s*\}/g;class qi extends Error{static formatError(e,t){const s=t.label||t.path||"this";return s!==t.path&&(t=Bi({},t,{path:s})),"string"==typeof e?e.replace(Hi,((e,s)=>Pi(t[s]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,s,r){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=s,this.type=r,this.errors=[],this.inner=[],Vi(e).forEach((e=>{qi.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,qi)}}function Wi(e,t){let{endEarly:s,tests:r,args:a,value:o,errors:i,sort:n,path:l}=e,c=(e=>{let t=!1;return(...s)=>{t||(t=!0,e(...s))}})(t),d=r.length;const u=[];if(i=i||[],!d)return i.length?c(new qi(i,o,l)):c(null,o);for(let e=0;e<r.length;e++)(0,r[e])(a,(function(e){if(e){if(!qi.isError(e))return c(e,o);if(s)return e.value=o,c(e,o);u.push(e)}if(--d<=0){if(u.length&&(n&&u.sort(n),i.length&&u.push(...i),i=u),i.length)return void c(new qi(i,o,l),o);c(null,o)}}))}const Gi=window.lodash.mapValues;var Yi=s.n(Gi),Ki=s(5760);class Zi{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;let s=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(s.length),this.getter=this.path&&(0,Ki.getter)(this.path,!0),this.map=t.map}getValue(e,t,s){let r=this.isContext?s:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}function Ji(){return Ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ji.apply(this,arguments)}function Qi(e){function t(t,s){let{value:r,path:a="",label:o,options:i,originalValue:n,sync:l}=t,c=function(e,t){if(null==e)return{};var s,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)s=o[r],t.indexOf(s)>=0||(a[s]=e[s]);return a}(t,["value","path","label","options","originalValue","sync"]);const{name:d,test:u,params:p,message:m}=e;let{parent:h,context:f}=i;function _(e){return Zi.isRef(e)?e.getValue(r,h,f):e}function y(e={}){const t=Yi()(Ji({value:r,originalValue:n,label:o,path:e.path||a},p,e.params),_),s=new qi(qi.formatError(e.message||m,t),r,t.path,e.type||d);return s.params=t,s}let w,g=Ji({path:a,parent:h,type:d,createError:y,resolve:_,options:i,originalValue:n},c);if(l){try{var b;if(w=u.call(g,r,g),"function"==typeof(null==(b=w)?void 0:b.then))throw new Error(`Validation test of type: "${g.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(e){return void s(e)}qi.isError(w)?s(w):w?s(null,w):s(y())}else try{Promise.resolve(u.call(g,r,g)).then((e=>{qi.isError(e)?s(e):e?s(null,e):s(y())})).catch(s)}catch(e){s(e)}}return t.OPTIONS=e,t}function Xi(e,t,s,r=s){let a,o,i;return t?((0,Ki.forEach)(t,((n,l,c)=>{let d=l?(e=>e.substr(0,e.length-1).substr(1))(n):n;if((e=e.resolve({context:r,parent:a,value:s})).innerType){let r=c?parseInt(d,10):0;if(s&&r>=s.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${n}, in the path: ${t}. because there is no value at that index. `);a=s,s=s&&s[r],e=e.innerType}if(!c){if(!e.fields||!e.fields[d])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e._type}")`);a=s,s=s&&s[d],e=e.fields[d]}o=d,i=l?"["+n+"]":"."+n})),{schema:e,parent:a,parentPath:o}):{parent:a,parentPath:t,schema:e}}Zi.prototype.__isYupRef=!0;class en{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const e=[];for(const t of this.list)e.push(t);for(const[,t]of this.refs)e.push(t.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce(((t,s)=>t.concat(Zi.isRef(s)?e(s):s)),[])}add(e){Zi.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){Zi.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new en;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){const s=this.clone();return e.list.forEach((e=>s.add(e))),e.refs.forEach((e=>s.add(e))),t.list.forEach((e=>s.delete(e))),t.refs.forEach((e=>s.delete(e))),s}}function tn(){return tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},tn.apply(this,arguments)}class sn{constructor(e){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new en,this._blacklist=new en,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(Mi.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=tn({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=tn({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=Si(tn({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let s=e(this);return this._mutate=t,s}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,s=e.clone();const r=tn({},t.spec,s.spec);return s.spec=r,s._typeError||(s._typeError=t._typeError),s._whitelistError||(s._whitelistError=t._whitelistError),s._blacklistError||(s._blacklistError=t._blacklistError),s._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),s._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),s.tests=t.tests,s.exclusiveTests=t.exclusiveTests,s.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),s.transforms=[...t.transforms,...s.transforms],s}isType(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let s=t.conditions;t=t.clone(),t.conditions=[],t=s.reduce(((t,s)=>s.resolve(t,e)),t),t=t.resolve(e)}return t}cast(e,t={}){let s=this.resolve(tn({value:e},t)),r=s._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==s.isType(r)){let a=Pi(e),o=Pi(r);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${s._type}". \n\nattempted value: ${a} \n`+(o!==a?`result of cast: ${o}`:""))}return r}_cast(e,t){let s=void 0===e?e:this.transforms.reduce(((t,s)=>s.call(this,t,e,this)),e);return void 0===s&&(s=this.getDefault()),s}_validate(e,t={},s){let{sync:r,path:a,from:o=[],originalValue:i=e,strict:n=this.spec.strict,abortEarly:l=this.spec.abortEarly}=t,c=e;n||(c=this._cast(c,tn({assert:!1},t)));let d={value:c,path:a,options:t,originalValue:i,schema:this,label:this.spec.label,sync:r,from:o},u=[];this._typeError&&u.push(this._typeError);let p=[];this._whitelistError&&p.push(this._whitelistError),this._blacklistError&&p.push(this._blacklistError),Wi({args:d,value:c,path:a,sync:r,tests:u,endEarly:l},(e=>{e?s(e,c):Wi({tests:this.tests.concat(p),args:d,path:a,sync:r,value:c,endEarly:l},s)}))}validate(e,t,s){let r=this.resolve(tn({},t,{value:e}));return"function"==typeof s?r._validate(e,t,s):new Promise(((s,a)=>r._validate(e,t,((e,t)=>{e?a(e):s(t)}))))}validateSync(e,t){let s;return this.resolve(tn({},t,{value:e}))._validate(e,tn({},t,{sync:!0}),((e,t)=>{if(e)throw e;s=t})),s}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(qi.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(qi.isError(e))return!1;throw e}}_getDefault(){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):Si(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){let t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(e=Mi.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=Mi.required){return this.clone({presence:"required"}).withMutation((t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}})))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e}nullable(e=!0){return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=Mi.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let s=this.clone(),r=Qi(t),a=t.exclusive||t.name&&!0===s.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(s.exclusiveTests[t.name]=!!t.exclusive),s.tests=s.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(a)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),s.tests.push(r),s}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let s=this.clone(),r=Vi(e).map((e=>new Zi(e)));return r.forEach((e=>{e.isSibling&&s.deps.push(e.key)})),s.conditions.push(new Ui(r,t)),s}typeError(e){let t=this.clone();return t._typeError=Qi({message:e,name:"typeError",test(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e,t=Mi.oneOf){let s=this.clone();return e.forEach((e=>{s._whitelist.add(e),s._blacklist.delete(e)})),s._whitelistError=Qi({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,s=t.resolveAll(this.resolve);return!!s.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:s}})}}),s}notOneOf(e,t=Mi.notOneOf){let s=this.clone();return e.forEach((e=>{s._blacklist.add(e),s._whitelist.delete(e)})),s._blacklistError=Qi({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,s=t.resolveAll(this.resolve);return!s.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:s}})}}),s}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(){const e=this.clone(),{label:t,meta:s}=e.spec,r={meta:s,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,s)=>s.findIndex((t=>t.name===e.name))===t))};return r}}sn.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])sn.prototype[`${e}At`]=function(t,s,r={}){const{parent:a,parentPath:o,schema:i}=Xi(this,t,s,r.context);return i[e](a&&a[o],tn({},r,{parent:a,path:t}))};for(const e of["equals","is"])sn.prototype[e]=sn.prototype.oneOf;for(const e of["not","nope"])sn.prototype[e]=sn.prototype.notOneOf;sn.prototype.optional=sn.prototype.notRequired;sn.prototype;const rn=e=>null==e;let an=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,on=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,nn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ln=e=>rn(e)||e===e.trim(),cn={}.toString();function dn(){return new un}class un extends sn{constructor(){super({type:"string"}),this.withMutation((()=>{this.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;const t=null!=e&&e.toString?e.toString():e;return t===cn?e:t}))}))}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e,t=$i.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return rn(t)||t.length===this.resolve(e)}})}min(e,t=$i.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return rn(t)||t.length>=this.resolve(e)}})}max(e,t=$i.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return rn(t)||t.length<=this.resolve(e)}})}matches(e,t){let s,r,a=!1;return t&&("object"==typeof t?({excludeEmptyString:a=!1,message:s,name:r}=t):s=t),this.test({name:r||"matches",message:s||$i.matches,params:{regex:e},test:t=>rn(t)||""===t&&a||-1!==t.search(e)})}email(e=$i.email){return this.matches(an,{name:"email",message:e,excludeEmptyString:!0})}url(e=$i.url){return this.matches(on,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=$i.uuid){return this.matches(nn,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=$i.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:ln})}lowercase(e=$i.lowercase){return this.transform((e=>rn(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>rn(e)||e===e.toLowerCase()})}uppercase(e=$i.uppercase){return this.transform((e=>rn(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>rn(e)||e===e.toUpperCase()})}}function pn(){return new mn}dn.prototype=un.prototype;class mn extends sn{constructor(){super({type:"number"}),this.withMutation((()=>{this.transform((function(e){let t=e;if("string"==typeof t){if(t=t.replace(/\s/g,""),""===t)return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e)}min(e,t=Ri.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return rn(t)||t>=this.resolve(e)}})}max(e,t=Ri.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return rn(t)||t<=this.resolve(e)}})}lessThan(e,t=Ri.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return rn(t)||t<this.resolve(e)}})}moreThan(e,t=Ri.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test(t){return rn(t)||t>this.resolve(e)}})}positive(e=Ri.positive){return this.moreThan(0,e)}negative(e=Ri.negative){return this.lessThan(0,e)}integer(e=Ri.integer){return this.test({name:"integer",message:e,test:e=>rn(e)||Number.isInteger(e)})}truncate(){return this.transform((e=>rn(e)?e:0|e))}round(e){var t;let s=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===s.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+s.join(", "));return this.transform((t=>rn(t)?t:Math[e](t)))}}pn.prototype=mn.prototype;var hn=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let fn=new Date("");function yn(){return new wn}class wn extends sn{constructor(){super({type:"date"}),this.withMutation((()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,s,r=[1,4,5,6,7,10,11],a=0;if(s=hn.exec(e)){for(var o,i=0;o=r[i];++i)s[o]=+s[o]||0;s[2]=(+s[2]||1)-1,s[3]=+s[3]||1,s[7]=s[7]?String(s[7]).substr(0,3):0,void 0!==s[8]&&""!==s[8]||void 0!==s[9]&&""!==s[9]?("Z"!==s[8]&&void 0!==s[9]&&(a=60*s[10]+s[11],"+"===s[9]&&(a=0-a)),t=Date.UTC(s[1],s[2],s[3],s[4],s[5]+a,s[6],s[7])):t=+new Date(s[1],s[2],s[3],s[4],s[5],s[6],s[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?fn:new Date(e))}))}))}_typeCheck(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}prepareParam(e,t){let s;if(Zi.isRef(e))s=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);s=r}return s}min(e,t=Ci.min){let s=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return rn(e)||e>=this.resolve(s)}})}max(e,t=Ci.max){let s=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return rn(e)||e<=this.resolve(s)}})}}wn.INVALID_DATE=fn,yn.prototype=wn.prototype,yn.INVALID_DATE=fn;const gn=window.lodash.snakeCase;var bn=s.n(gn);const vn=window.lodash.camelCase;var xn=s.n(vn);const kn=window.lodash.mapKeys;var Sn=s.n(kn),jn=s(4633),En=s.n(jn);function Ln(e,t){let s=1/0;return e.some(((e,r)=>{var a;if(-1!==(null==(a=t.path)?void 0:a.indexOf(e)))return s=r,!0})),s}function Tn(e){return(t,s)=>Ln(e,t)-Ln(e,s)}function Fn(){return Fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Fn.apply(this,arguments)}let On=e=>"[object Object]"===Object.prototype.toString.call(e);const Pn=Tn([]);class Mn extends sn{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=Pn,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&this.shape(e)}))}_typeCheck(e){return On(e)||"function"==typeof e}_cast(e,t={}){var s;let r=super._cast(e,t);if(void 0===r)return this.getDefault();if(!this._typeCheck(r))return r;let a=this.fields,o=null!=(s=t.stripUnknown)?s:this.spec.noUnknown,i=this._nodes.concat(Object.keys(r).filter((e=>-1===this._nodes.indexOf(e)))),n={},l=Fn({},t,{parent:n,__validating:t.__validating||!1}),c=!1;for(const e of i){let s=a[e],i=Di()(r,e);if(s){let a,o=r[e];l.path=(t.path?`${t.path}.`:"")+e,s=s.resolve({value:o,context:t.context,parent:n});let i="spec"in s?s.spec:void 0,d=null==i?void 0:i.strict;if(null==i?void 0:i.strip){c=c||e in r;continue}a=t.__validating&&d?r[e]:s.cast(r[e],l),void 0!==a&&(n[e]=a)}else i&&!o&&(n[e]=r[e]);n[e]!==r[e]&&(c=!0)}return c?n:r}_validate(e,t={},s){let r=[],{sync:a,from:o=[],originalValue:i=e,abortEarly:n=this.spec.abortEarly,recursive:l=this.spec.recursive}=t;o=[{schema:this,value:i},...o],t.__validating=!0,t.originalValue=i,t.from=o,super._validate(e,t,((e,c)=>{if(e){if(!qi.isError(e)||n)return void s(e,c);r.push(e)}if(!l||!On(c))return void s(r[0]||null,c);i=i||c;let d=this._nodes.map((e=>(s,r)=>{let a=-1===e.indexOf(".")?(t.path?`${t.path}.`:"")+e:`${t.path||""}["${e}"]`,n=this.fields[e];n&&"validate"in n?n.validate(c[e],Fn({},t,{path:a,from:o,strict:!0,parent:c,originalValue:i[e]}),r):r(null)}));Wi({sync:a,tests:d,value:c,errors:r,endEarly:n,sort:this._sortErrors,path:t.path},s)}))}clone(e){const t=super.clone(e);return t.fields=Fn({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),s=t.fields;for(let[e,t]of Object.entries(this.fields)){const r=s[e];void 0===r?s[e]=t:r instanceof sn&&t instanceof sn&&(s[e]=t.concat(r))}return t.withMutation((()=>t.shape(s,this._excludedEdges)))}getDefaultFromShape(){let e={};return this._nodes.forEach((t=>{const s=this.fields[t];e[t]="default"in s?s.getDefault():void 0})),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e,t=[]){let s=this.clone(),r=Object.assign(s.fields,e);return s.fields=r,s._sortErrors=Tn(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),s._excludedEdges=[...s._excludedEdges,...t]),s._nodes=function(e,t=[]){let s=[],r=new Set,a=new Set(t.map((([e,t])=>`${e}-${t}`)));function o(e,t){let o=(0,Ki.split)(e)[0];r.add(o),a.has(`${t}-${o}`)||s.push([t,o])}for(const t in e)if(Di()(e,t)){let s=e[t];r.add(t),Zi.isRef(s)&&s.isSibling?o(s.path,t):zi(s)&&"deps"in s&&s.deps.forEach((e=>o(e,t)))}return En().array(Array.from(r),s).reverse()}(r,s._excludedEdges),s}pick(e){const t={};for(const s of e)this.fields[s]&&(t[s]=this.fields[s]);return this.clone().withMutation((e=>(e.fields={},e.shape(t))))}omit(e){const t=this.clone(),s=t.fields;t.fields={};for(const t of e)delete s[t];return t.withMutation((()=>t.shape(s)))}from(e,t,s){let r=(0,Ki.getter)(e,!0);return this.transform((a=>{if(null==a)return a;let o=a;return Di()(a,e)&&(o=Fn({},a),s||delete o[e],o[t]=r(a)),o}))}noUnknown(e=!0,t=Ni.noUnknown){"string"==typeof e&&(t=e,e=!0);let s=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const s=function(e,t){let s=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===s.indexOf(e)))}(this.schema,t);return!e||0===s.length||this.createError({params:{unknown:s.join(", ")}})}});return s.spec.noUnknown=e,s}unknown(e=!0,t=Ni.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>t&&Sn()(t,((t,s)=>e(s)))))}camelCase(){return this.transformKeys(xn())}snakeCase(){return this.transformKeys(bn())}constantCase(){return this.transformKeys((e=>bn()(e).toUpperCase()))}describe(){let e=super.describe();return e.fields=Yi()(this.fields,(e=>e.describe())),e}}function $n(e){return new Mn(e)}function Rn(){return Rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Rn.apply(this,arguments)}function Cn(e){return new Nn(e)}$n.prototype=Mn.prototype;class Nn extends sn{constructor(e){super({type:"array"}),this.innerType=void 0,this.innerType=e,this.withMutation((()=>{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))}))}_typeCheck(e){return Array.isArray(e)}get _subType(){return this.innerType}_cast(e,t){const s=super._cast(e,t);if(!this._typeCheck(s)||!this.innerType)return s;let r=!1;const a=s.map(((e,s)=>{const a=this.innerType.cast(e,Rn({},t,{path:`${t.path||""}[${s}]`}));return a!==e&&(r=!0),a}));return r?a:s}_validate(e,t={},s){var r,a;let o=[],i=t.sync,n=t.path,l=this.innerType,c=null!=(r=t.abortEarly)?r:this.spec.abortEarly,d=null!=(a=t.recursive)?a:this.spec.recursive,u=null!=t.originalValue?t.originalValue:e;super._validate(e,t,((e,r)=>{if(e){if(!qi.isError(e)||c)return void s(e,r);o.push(e)}if(!d||!l||!this._typeCheck(r))return void s(o[0]||null,r);u=u||r;let a=new Array(r.length);for(let e=0;e<r.length;e++){let s=r[e],o=`${t.path||""}[${e}]`,i=Rn({},t,{path:o,strict:!0,parent:r,index:e,originalValue:u[e]});a[e]=(e,t)=>l.validate(s,i,t)}Wi({sync:i,path:n,value:r,errors:o,endEarly:c,tests:a},s)}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!zi(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Pi(e));return t.innerType=e,t}length(e,t=Ai.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return rn(t)||t.length===this.resolve(e)}})}min(e,t){return t=t||Ai.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return rn(t)||t.length>=this.resolve(e)}})}max(e,t){return t=t||Ai.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return rn(t)||t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,s,r)=>!e(t,s,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(){let e=super.describe();return this.innerType&&(e.innerType=this.innerType.describe()),e}nullable(e=!0){return super.nullable(e)}defined(){return super.defined()}required(e){return super.required(e)}}function An(e,t,s){if(!e||!zi(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof s)throw new TypeError("Method function must be provided");e.prototype[t]=s}Cn.prototype=Nn.prototype;const In=/^[A-Za-z0-9_-]+$/,Dn=/^[A-Fa-f0-9_-]+$/,zn=/^[A-Za-z0-9_]{1,25}$/,Un=/^https?:\/\/(?:www\.)?(?:twitter|x)\.com\/(?<handle>[A-Za-z0-9_]{1,25})\/?$/,Vn=["image/jpeg","image/png","image/webp","image/gif"];An(pn,"isMediaTypeImage",(function(){return this.test("isMediaTypeImage",(0,Et.__)("The selected file is not an image.","wordpress-seo"),(e=>{if(!e)return!0;const s=(0,t.select)(Xr).selectMediaById(e);return!s||"image"===(null==s?void 0:s.type)}))})),An(pn,"isMediaMimeTypeAllowed",(function(){return this.test("isMediaMimeTypeAllowed",(0,Et.__)("The selected media type is not valid. Supported types are: JPG, PNG, WEBP and GIF.","wordpress-seo"),(e=>{const s=(0,t.select)(Xr).selectMediaById(e);return!s||Vn.includes(s.mime)}))})),An(dn,"isValidTwitterUrlOrHandle",(function(){return this.test("isValidTwitterUrlOrHandle",(0,Et.__)("The profile is not valid. Please use only 1–25 letters, numbers and underscores or enter a valid X URL.","wordpress-seo"),(e=>!e||zn.test(e)||Un.test(e)))}));const Bn=(e,t)=>$n().shape({wpseo:$n().shape({baiduverify:dn().matches(In,(0,Et.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),googleverify:dn().matches(In,(0,Et.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),ahrefsverify:dn().matches(In,(0,Et.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),msverify:dn().matches(Dn,(0,Et.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo")),yandexverify:dn().matches(Dn,(0,Et.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo")),search_character_limit:pn().required((0,Et.__)("Please enter a number between 1 and 50.","wordpress-seo")).min(1,(0,Et.__)("The number you've entered is not between 1 and 50.","wordpress-seo")).max(50,(0,Et.__)("The number you've entered is not between 1 and 50.","wordpress-seo"))}),wpseo_social:$n().shape({og_default_image_id:pn().isMediaTypeImage(),facebook_site:dn().url((0,Et.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),mastodon_url:dn().url((0,Et.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),twitter_site:dn().isValidTwitterUrlOrHandle(),other_social_urls:Cn().of(dn().url((0,Et.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo"))),pinterestverify:dn().matches(Dn,(0,Et.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo"))}),wpseo_titles:$n().shape({open_graph_frontpage_image_id:pn().isMediaTypeImage(),company_logo_id:pn().isMediaTypeImage(),person_logo_id:pn().isMediaTypeImage(),...(0,le.reduce)(e,((e,{name:t,hasArchive:s})=>({...e,..."attachment"!==t&&{[`social-image-id-${t}`]:pn().isMediaTypeImage().isMediaMimeTypeAllowed()},...s&&{[`social-image-id-ptarchive-${t}`]:pn().isMediaTypeImage().isMediaMimeTypeAllowed()}})),{}),...(0,le.reduce)(t,((e,{name:t})=>({...e,[`social-image-id-tax-${t}`]:pn().isMediaTypeImage().isMediaMimeTypeAllowed()})),{}),"social-image-id-author-wpseo":pn().isMediaTypeImage().isMediaMimeTypeAllowed(),"social-image-id-archive-wpseo":pn().isMediaTypeImage().isMediaMimeTypeAllowed(),"social-image-id-tax-post_format":pn().isMediaTypeImage().isMediaMimeTypeAllowed()})}),Hn=new RegExp(/^input-wpseo_titles-(post_types|taxonomy)-(?<name>\S+)-(maintax|ptparent)$/is),qn={fieldId:"DUMMY_ITEM"},Wn=({fieldId:e,fieldLabel:t})=>{const{isPostTypeOrTaxonomyBreadcrumbSetting:s,postTypeOrTaxonomyName:r}=(0,o.useMemo)((()=>{var t;const s=Hn.exec(e);return{isPostTypeOrTaxonomyBreadcrumbSetting:Boolean(s),postTypeOrTaxonomyName:null==s||null===(t=s.groups)||void 0===t?void 0:t.name}}),[e,Hn]);return s?(0,ur.jsxs)(ur.Fragment,{children:[t,r&&(0,ur.jsx)(i.Code,{className:"yst-ml-2 rtl:yst-mr-2 group-hover:yst-bg-primary-200 group-hover:yst-text-primary-800",children:r})]}):t};Wn.propTypes={fieldId:lr().string.isRequired,fieldLabel:lr().string.isRequired};const Gn=({title:e,children:t})=>(0,ur.jsxs)("div",{className:"yst-border-t yst-border-slate-100 yst-p-6 yst-py-12 yst-space-3 yst-text-center yst-text-sm",children:[(0,ur.jsx)("span",{className:"yst-block yst-font-semibold yst-text-slate-900",children:e}),t]});Gn.propTypes={title:lr().node.isRequired,children:lr().node.isRequired};const Yn=({buttonId:e="button-search",modalId:t="modal-search"})=>{const[s,,,r,a]=(0,i.useToggleState)(!1),[n,l]=(0,o.useState)(""),c=ia("selectPreference",[],"userLocale"),d=ia("selectQueryableSearchIndex"),[u,p]=(0,o.useState)([]),m=(0,i.useSvgAria)(),h=et(),f=(0,o.useRef)(null),{platform:_,os:y}=(0,o.useMemo)((()=>{var e,t;return aa().parse(null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t?void 0:t.userAgent)}),[]),{isMobileMenuOpen:w,setMobileMenuOpen:g}=(0,i.useNavigationContext)(),[b,v]=(0,o.useState)(""),x=(0,o.useMemo)((()=>{switch(c){case"ko-KR":case"zh-CN":case"zh-HK":case"zh-TW":return 1;default:return 2}}),[c]);mi("meta+k",(e=>{e.preventDefault(),"desktop"!==(null==_?void 0:_.type)||s||w||r()}),{enableOnFormTags:!0,enableOnContentEditable:!0},[s,r,_,w]);const k=(0,o.useCallback)((({route:e,fieldId:t})=>{t!==qn.fieldId&&(g(!1),a(),l(""),p([]),h(`${e}#${t}`))}),[a,l,g]),S=(0,o.useCallback)((0,le.debounce)((e=>{const t=(0,le.trim)(e);if(v(""),t.length<x)return v((0,Et.__)("Search","wordpress-seo")),!1;const s=(0,le.split)(fi(t,c)," "),r=(0,le.reduce)(d,((e,t)=>{const r=(0,le.reduce)(s,((e,s)=>(0,le.includes)(null==t?void 0:t.keywords,s)?++e:e),0);return 0===r?e:[...e,{...t,hits:r}]}),[]),a=r.sort(((e,t)=>t.hits-e.hits)),o=(0,le.groupBy)(a,"route"),i=(0,le.values)(o).sort(((e,t)=>{const s=(0,le.reduce)(e,((e,t)=>(0,le.max)([e,t.hits])),0);return(0,le.reduce)(t,((e,t)=>(0,le.max)([e,t.hits])),0)-s}));(0,le.isEmpty)(r)?v((0,Et.__)("No results found","wordpress-seo")):v((0,Et.sprintf)(/* translators: %d expands to the number of results found. */ (0,Et._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",r.length,"wordpress-seo"),r.length)),p(i)}),100),[d,c,v]),j=(0,o.useCallback)((e=>{l(e.target.value),S(e.target.value)}),[l,S]),E=(0,o.useCallback)((({active:e})=>ir()("yst-group yst-block yst-no-underline yst-text-sm yst-select-none yst-py-3 yst-px-4 hover:yst-bg-primary-600 hover:yst-text-white focus:yst-bg-primary-600 focus:yst-text-white",e?"yst-text-white yst-bg-primary-600":"yst-text-slate-800")),[]);return(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsxs)("button",{id:e,type:"button",className:"yst-w-full yst-flex yst-items-center yst-bg-white yst-text-sm yst-leading-6 yst-text-slate-500 yst-rounded-md yst-border yst-border-slate-300 yst-shadow-sm yst-py-1.5 yst-pl-2 yst-pr-3 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",onClick:r,children:[(0,ur.jsx)(Qo,{className:"yst-flex-none yst-w-5 yst-h-5 yst-me-3 yst-text-slate-400",...m}),(0,ur.jsx)("span",{className:"yst-overflow-hidden yst-whitespace-nowrap yst-text-ellipsis",children:n||(0,Et.__)("Quick search…","wordpress-seo")}),"desktop"===(null==_?void 0:_.type)&&(0,ur.jsx)("span",{className:"yst-ms-auto yst-flex-none yst-text-xs yst-font-semibold yst-text-slate-400",children:"macOS"===(null==y?void 0:y.name)?(0,Et.__)("⌘K","wordpress-seo"):(0,Et.__)("CtrlK","wordpress-seo")})]}),(0,ur.jsx)(i.Modal,{id:t,onClose:a,isOpen:s,initialFocus:f,position:"top-center","aria-label":(0,Et.__)("Search","wordpress-seo"),children:(0,ur.jsxs)(i.Modal.Panel,{hasCloseButton:!1,children:[(0,ur.jsx)(Qa,{children:b&&(0,ur.jsx)(io,{message:b,"aria-live":"polite"})}),(0,ur.jsxs)(Jo,{as:"div",className:"yst--m-6",onChange:k,children:[(0,ur.jsxs)("div",{className:"yst-relative",children:[(0,ur.jsx)(Qo,{className:"yst-pointer-events-none yst-absolute yst-top-3.5 yst-start-4 yst-h-5 yst-w-5 yst-text-slate-400",...m}),(0,ur.jsx)(Jo.Input,{ref:f,id:"input-search",placeholder:(0,Et.__)("Search…","wordpress-seo"),"aria-label":(0,Et.__)("Search","wordpress-seo"),value:n,onChange:j,className:"yst-h-12 yst-w-full yst-border-0 yst-rounded-lg sm:yst-text-sm yst-bg-transparent yst-px-11 yst-text-slate-800 yst-placeholder-slate-500 focus:yst-outline-none focus:yst-ring-inset focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-border-primary-500"}),(0,ur.jsx)("div",{className:"yst-modal__close",children:(0,ur.jsxs)("button",{type:"button",onClick:a,className:"yst-modal__close-button",children:[(0,ur.jsx)("span",{className:"yst-sr-only",children:(0,Et.__)("Close","wordpress-seo")}),(0,ur.jsx)(Xo,{className:"yst-h-6 yst-w-6",...m})]})})]}),n.length>=x&&!(0,le.isEmpty)(u)&&(0,ur.jsx)(Jo.Options,{static:!0,className:"yst-max-h-[calc(90vh-10rem)] yst-scroll-pt-11 yst-scroll-pb-2 yst-space-y-2 yst-overflow-y-auto yst-pb-2",children:(0,le.map)(u,((e,t)=>{var s;return(0,ur.jsxs)("div",{role:"presentation",children:[(0,ur.jsx)(i.Title,{id:`group-${t}-title`,as:"h4",size:"5",className:"yst-bg-slate-100 yst-font-semibold yst-py-3 yst-px-4",role:"presentation","aria-hidden":"true",children:(0,le.first)(e).routeLabel}),(0,ur.jsx)("div",{role:"presentation",children:(0,le.map)(e,(e=>(0,ur.jsx)(Jo.Option,{value:e,className:E,children:(0,ur.jsx)(Wn,{...e})},e.fieldId)))})]},(null==e||null===(s=e[0])||void 0===s?void 0:s.route)||`group-${t}`)}))}),n.length<x&&(0,ur.jsx)(Gn,{title:(0,Et.__)("Search","wordpress-seo"),children:(0,ur.jsx)("p",{className:"yst-text-slate-500",children:(0,Et.sprintf)(/* translators: %d expands to the minimum number of characters needed (numerical). */ (0,Et.__)("Please enter a search term with at least %d characters.","wordpress-seo"),x)})}),n.length>=x&&(0,le.isEmpty)(u)&&(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(Gn,{title:(0,Et.__)("No results found","wordpress-seo"),children:(0,ur.jsx)("p",{className:"yst-text-slate-500",children:(0,Et.__)("We couldn’t find anything with that term.","wordpress-seo")})}),(0,ur.jsx)(Jo.Options,{className:"yst-visible-",children:(0,ur.jsx)(Jo.Option,{value:qn})})]})]})]})})]})};Yn.propTypes={buttonId:lr().string,modalId:lr().string};const Kn=Yn,Zn=({error:e})=>{const t=(0,o.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=ia("selectLink",[],"https://yoa.st/settings-error-support");return(0,ur.jsx)(yr,{error:e,children:(0,ur.jsx)(yr.HorizontalButtons,{supportLink:s,handleRefreshClick:t})})};Zn.propTypes={error:lr().object.isRequired};const Jn=({reason:e})=>{const t=ia("selectLink",[],"https://yoa.st/llms-txt-file-deletion-settings"),s=(0,o.useMemo)((()=>e===ta?dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags */ (0,Et.__)("An existing llms.txt file wasn't created by Yoast or has been edited manually. Yoast won't overwrite it. %1$sDelete it manually%2$s or turn off this feature.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"llms-delete-file-link",href:t,target:"_blank",rel:"noopener noreferrer"})}):e===ea?(0,Et.__)("You have activated the Yoast llms.txt feature, but we couldn't generate an llms.txt file. It looks like there aren't sufficient permissions on the web server's filesystem.","wordpress-seo"):(0,Et.__)("You have activated the Yoast llms.txt feature, but we couldn't generate an llms.txt file, for unknown reasons","wordpress-seo")),[e]);return(0,ur.jsx)(i.Alert,{className:"yst-max-w-xl",variant:"error",children:s})};var Qn,Xn;function el(){return el=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},el.apply(null,arguments)}Jn.propTypes={reason:lr().string.isRequired};const tl=e=>n.createElement("svg",el({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),Qn||(Qn=n.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),Xn||(Xn=n.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),sl=()=>{const{handleDismiss:e}=(0,i.usePopoverContext)(),t=(0,Et.__)("Got it!","wordpress-seo"),s=(0,o.useRef)(null);return(0,o.useEffect)((()=>{const e=setTimeout((()=>{s.current&&(s.current.focus(),s.current.scrollIntoView({behavior:"smooth",block:"center"}))}),300);return()=>clearTimeout(e)}),[]),(0,ur.jsx)(i.Button,{ref:s,type:"button",variant:"primary",onClick:e,className:"yst-self-end",children:t})},rl=()=>{const e=(0,i.useSvgAria)(),[t,s]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{var e;null===(e=sessionStorage)||void 0===e||e.removeItem("yoast-highlight-setting")}),[]),(0,ur.jsx)(i.Popover,{id:"llm-txt-popover",hasBackdrop:!0,role:"dialog",isVisible:t,setIsVisible:s,position:"right",className:"yst-top-3",children:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsxs)("div",{className:"yst-flex yst-gap-3 yst-items-center",children:[(0,ur.jsx)("div",{className:"yst-flex-shrink-0",children:(0,ur.jsx)(tl,{className:"yst-w-5 yst-h-5 yst-fill-primary-500",...e})}),(0,ur.jsx)("div",{className:"yst-flex-grow",children:(0,ur.jsx)(i.Popover.Title,{id:"llmt-txt-popover-title",as:"h3",children:(0,Et.__)("Enable the llms.txt feature","wordpress-seo")})}),(0,ur.jsx)(i.Popover.CloseButton,{dismissScreenReaderLabel:(0,Et.__)("Dismiss","wordpress-seo")})]}),(0,ur.jsx)(i.Popover.Content,{id:"llmt-txt-popover-content",className:"yst-font-normal yst-ms-8 yst-me-5 yst-mt-1",children:(0,Et.__)("Automatically generate an llms.txt file that points LLMs to your site's most relevant content. We also gave you editor access.","wordpress-seo")}),(0,ur.jsx)("div",{className:"yst-flex yst-gap-3 yst-justify-end yst-mt-3",children:(0,ur.jsx)(sl,{})})]})})},al=({isOpen:e,onClose:t=le.noop,onDiscard:s=le.noop,title:r,description:a,dismissLabel:o})=>{const n=(0,i.useSvgAria)();return(0,ur.jsx)(i.Modal,{isOpen:e,onClose:t,children:(0,ur.jsxs)(i.Modal.Panel,{className:"yst-max-w-sm",children:[(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col yst-items-center yst-gap-1",children:[(0,ur.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100",children:(0,ur.jsx)(qr,{className:"yst-h-6 yst-w-6 yst-text-red-600",...n})}),(0,ur.jsxs)("div",{className:"yst-mt-3 yst-text-center",children:[(0,ur.jsx)(i.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:r}),(0,ur.jsx)(i.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:a})]})]}),(0,ur.jsx)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:(0,ur.jsx)(i.Button,{type:"button",variant:"primary",onClick:s,className:"yst-grow",children:o})})]})})};al.propTypes={isOpen:lr().bool.isRequired,onClose:lr().func,onDiscard:lr().func,title:lr().string.isRequired,description:lr().string.isRequired,dismissLabel:lr().string.isRequired};const ol=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),il=({idSuffix:e})=>{const{pathname:t}=Qe(),{history:s,addToHistory:r}=(0,i.useNavigationContext)(),a=[{to:"/llms-txt",label:(0,Et.__)("llms.txt","wordpress-seo")},{to:"/schema-framework",label:(0,Et.__)("Schema","wordpress-seo")},{to:"/crawl-optimization",label:(0,Et.__)("Crawl optimization","wordpress-seo")},{to:"/breadcrumbs",label:(0,Et.__)("Breadcrumbs","wordpress-seo")},{to:"/author-archives",label:(0,Et.__)("Author archives","wordpress-seo")},{to:"/date-archives",label:(0,Et.__)("Date archives","wordpress-seo")},{to:"/format-archives",label:(0,Et.__)("Format archives","wordpress-seo")},{to:"/special-pages",label:(0,Et.__)("Special pages","wordpress-seo")},{to:"/media-pages",label:(0,Et.__)("Media pages","wordpress-seo")},{to:"/rss",label:(0,Et.__)("RSS","wordpress-seo")}];return(0,o.useEffect)((()=>{a.map((e=>e.to)).includes(t)&&r(`menu-advanced${e}`)}),[t]),(0,ur.jsx)(i.SidebarNavigation.MenuItem,{id:`menu-advanced${e}`,icon:ol,label:(0,Et.__)("Advanced","wordpress-seo"),defaultOpen:s.includes(`menu-advanced${e}`),children:a.map((({to:t,label:s})=>(0,ur.jsx)(br,{to:t,label:s,idSuffix:e},`link-advanced-${t}`)))})},nl=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))})),ll=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),cl=({show:e,toggle:t,ariaProps:s,id:r,history:a,removeFromHistory:n,addToHistory:l})=>{const c=a.includes(r)?nl:ll,d=(0,i.useSvgAria)(!1),u=(0,o.useCallback)((()=>{a.includes(r)?(n(r),e&&t()):(l(r),e||t())}),[e,t,a,r,n,l]);return(0,ur.jsxs)("div",{className:"yst-relative",children:[(0,ur.jsx)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,ur.jsxs)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:u,...s,children:[a.includes(r)?(0,Et.__)("Show less","wordpress-seo"):(0,Et.__)("Show more","wordpress-seo"),(0,ur.jsx)(c,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...d})]})]})},dl=({isOpen:e,onClose:t=le.noop,onConfirm:s=le.noop})=>{const r=(0,i.useSvgAria)();return(0,ur.jsx)(i.Modal,{isOpen:e,onClose:t,children:(0,ur.jsxs)(i.Modal.Panel,{className:"yst-max-w-lg",children:[(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col yst-items-center sm:yst-flex-row sm:yst-items-start sm:yst-columns-2 yst-gap-4",children:[(0,ur.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0",children:(0,ur.jsx)(qr,{className:"yst-h-6 yst-w-6 yst-text-red-600",...r})}),(0,ur.jsxs)("div",{className:"yst-text-center sm:yst-text-left",children:[(0,ur.jsx)(i.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:(0,Et.__)("Disabling Yoast Schema Framework","wordpress-seo")}),(0,ur.jsx)(i.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:(0,Et.__)("Disabling the Schema Framework may cause issues with how your content appears in search results. Are you sure you want to disable the Schema graph?","wordpress-seo")})]})]}),(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:[(0,ur.jsx)(i.Button,{type:"button",variant:"error",onClick:s,className:"yst-w-full sm:yst-w-auto",children:(0,Et.__)("Turn off Schema Framework","wordpress-seo")}),(0,ur.jsx)(i.Button,{type:"button",variant:"secondary",onClick:t,className:"yst-w-full sm:yst-w-auto",children:(0,Et.__)("Cancel","wordpress-seo")})]})]})})},ul=({isOpen:e,onClose:t=le.noop})=>{const s=(0,i.useSvgAria)(),r=ia("selectLink",[],"https://developer.yoast.com/features/schema/api/"),a=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /* * translators: %1$s expands to `wpseo_json_ld_output`, %2$s expands to `false`, * %3$s and %4$s are replaced by opening and closing <a> tags */ (0,Et.__)("The %1$s filter has been set to %2$s or an empty array, which turns off Schema output. %3$sLearn more about the filter%4$s.","wordpress-seo"),"<code1 />","<code2 />","<a>","</a>"),{a:(0,ur.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer"}),code1:(0,ur.jsx)(i.Code,{children:"wpseo_json_ld_output"}),code2:(0,ur.jsx)(i.Code,{children:"false"})})),[r]);return(0,ur.jsx)(i.Modal,{isOpen:e,onClose:t,children:(0,ur.jsxs)(i.Modal.Panel,{className:"yst-max-w-lg",children:[(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col yst-items-center sm:yst-flex-row sm:yst-items-start sm:yst-columns-2 yst-gap-4",children:[(0,ur.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0",children:(0,ur.jsx)(qr,{className:"yst-h-6 yst-w-6 yst-text-red-600",...s})}),(0,ur.jsxs)("div",{className:"yst-text-center sm:yst-text-left",children:[(0,ur.jsx)(i.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:(0,Et.__)("Yoast Schema Framework can't be enabled","wordpress-seo")}),(0,ur.jsx)(i.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:a})]})]}),(0,ur.jsx)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:(0,ur.jsx)(i.Button,{type:"button",variant:"primary",onClick:t,className:"yst-w-full sm:yst-w-auto",children:(0,Et.__)("Got it","wordpress-seo")})})]})})};ul.propTypes={isOpen:lr().bool.isRequired,onClose:lr().func};const pl=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),ml=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),hl=({isActive:e,isPremiumRequired:t=!1,hasPremium:s=!1,upsellLink:r="",upsellLabel:a=""})=>t&&!s?(0,ur.jsxs)(i.Button,{as:"a",variant:"upsell",size:"small",href:r,target:"_blank",rel:"noopener",className:"yst-gap-1",children:[(0,ur.jsx)(mr,{className:"yst-w-4 yst-h-4 yst-text-amber-900"}),a]}):e?(0,ur.jsxs)("span",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)(pl,{className:"yst-w-5 yst-h-5 yst-text-green-500"}),(0,ur.jsx)("span",{className:"yst-text-green-600 yst-font-medium",children:(0,Et.__)("Integration active","wordpress-seo")})]}):(0,ur.jsxs)("span",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)(ml,{className:"yst-w-5 yst-h-5 yst-text-red-500"}),(0,ur.jsx)("span",{className:"yst-text-slate-600 yst-font-medium",children:(0,Et.__)("Plugin not detected","wordpress-seo")})]});hl.propTypes={isActive:lr().bool.isRequired,isPremiumRequired:lr().bool,hasPremium:lr().bool,upsellLink:lr().string,upsellLabel:lr().string};const fl=({isPrerequisiteActive:e,isActive:t,isInstalled:s,activationLink:r,upsellLink:a})=>e?t?(0,ur.jsxs)("span",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)(pl,{className:"yst-w-5 yst-h-5 yst-text-green-500"}),(0,ur.jsx)("span",{className:"yst-text-green-600 yst-font-medium",children:(0,Et.__)("Integration active","wordpress-seo")})]}):s?(0,ur.jsx)(i.Button,{as:"a",variant:"secondary",size:"small",href:r,children:(0,Et.sprintf)(/* translators: %s: Yoast WooCommerce SEO */ (0,Et.__)("Activate %s","wordpress-seo"),"Yoast WooCommerce SEO")}):(0,ur.jsxs)(i.Button,{as:"a",variant:"upsell",size:"small",href:a,target:"_blank",rel:"noopener",className:"yst-gap-1",children:[(0,ur.jsx)(mr,{className:"yst-w-4 yst-h-4 yst-text-amber-900"}),(0,Et.sprintf)(/* translators: %s: WooCommerce SEO */ (0,Et.__)("Unlock with %s","wordpress-seo"),"WooCommerce SEO")]}):(0,ur.jsxs)("span",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)(ml,{className:"yst-w-5 yst-h-5 yst-text-red-500"}),(0,ur.jsx)("span",{className:"yst-text-slate-600 yst-font-medium",children:(0,Et.__)("Plugin not detected","wordpress-seo")})]});fl.propTypes={isPrerequisiteActive:lr().bool.isRequired,isActive:lr().bool.isRequired,isInstalled:lr().bool.isRequired,activationLink:lr().string.isRequired,upsellLink:lr().string.isRequired};const _l=({isDisabled:e=!1})=>{const t=ia("selectSchemaApiIntegrations",[]),s=ia("selectPreference",[],"isPremium"),r=ia("selectLink",[],"https://yoa.st/integrations-get-woocommerce"),a=ia("selectLink",[],"https://yoa.st/get-edd-integration"),o=dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags. */ (0,Et.__)("With Yoast SEO's Schema API, developers can easily connect custom content types to our rich Schema graph. %1$sSee our integrations page for details%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{href:"admin.php?page=wpseo_integrations"})}),i=[{slug:"tec",name:(0,Et.__)("The Events Calendar","wordpress-seo")},{slug:"ssp",name:(0,Et.__)("Seriously Simple Podcasting","wordpress-seo")},{slug:"wp-recipe-maker",name:(0,Et.__)("WP Recipe Maker","wordpress-seo")},{slug:"woocommerce",name:(0,Et.__)("Yoast WooCommerce SEO","wordpress-seo")},{slug:"edd",name:(0,Et.__)("Easy Digital Downloads","wordpress-seo")}],n=(t,o)=>e?(0,ur.jsx)("span",{className:"yst-text-red-600 yst-font-medium",children:(0,Et.__)("Schema Framework disabled","wordpress-seo")}):"woocommerce"===t.slug?(0,ur.jsx)(fl,{isPrerequisiteActive:o.isPrerequisiteActive||!1,isActive:o.isActive||!1,isInstalled:o.isInstalled||!1,activationLink:o.activationLink||"",upsellLink:r}):"edd"===t.slug?(0,ur.jsx)(hl,{isActive:o.isActive||!1,isPremiumRequired:!0,hasPremium:s||o.isPremium||!1,upsellLink:a,upsellLabel:(0,Et.__)("Unlock with Premium","wordpress-seo")}):(0,ur.jsx)(hl,{isActive:o.isActive||!1});return(0,ur.jsx)("fieldset",{className:"yst-min-w-0",children:(0,ur.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row yst-items-start yst-gap-6 yst-w-3/4",children:[(0,ur.jsxs)("div",{className:"sm:yst-shrink-0 yst-max-w-xs",children:[(0,ur.jsx)("span",{className:"yst-block yst-font-medium yst-text-slate-800",children:(0,Et.__)("Schema API integrations","wordpress-seo")}),(0,ur.jsx)("p",{className:"yst-mt-1",children:o})]}),(0,ur.jsx)("div",{className:"yst-divide-y yst-divide-slate-200 yst-grow"+(e?" yst-opacity-50 yst-pointer-events-none":""),children:i.map((e=>{const s=t[e.slug]||{};return(0,ur.jsxs)("div",{className:"yst-py-4 first:yst-pt-0",children:[(0,ur.jsx)("span",{className:"yst-block yst-font-medium yst-text-slate-800",children:e.name}),(0,ur.jsx)("div",{className:"yst-mt-1",children:n(e,s)})]},e.slug)}))})]})})};_l.propTypes={isDisabled:lr().bool};const yl=({as:e,transformValue:t=le.identity,...s})=>{const[r,,{setTouched:a,setValue:i}]=ee(s),n=(0,o.useCallback)((e=>{a(!0,!1),i(t(e))}),[s.name]);return(0,ur.jsx)(e,{...r,onChange:n,...s})};yl.propTypes={as:lr().elementType.isRequired,name:lr().string.isRequired,transformValue:lr().func};const wl=(e=>{const t=({name:t,...s})=>{const{isTouched:r,error:a}=(({name:e})=>{const{touched:t,errors:s}=H();return{isTouched:(0,o.useMemo)((()=>(0,le.get)(t,e,!1)),[t]),error:(0,o.useMemo)((()=>(0,le.get)(s,e,"")),[s])}})({name:t});return(0,ur.jsx)(e,{name:t,validation:{variant:"error",message:r&&a},...s})};return t.propTypes={name:lr().string.isRequired},t})(te),gl={"ai-tools":"yst-bg-ai-500","content-optimization":"yst-bg-gradient-content-optimization","technical-seo":"yst-bg-gradient-technical-seo","social-sharing":"yst-bg-gradient-social-sharing","site-structure":"yst-bg-gradient-site-structure",tools:"yst-bg-gradient-tools"},bl=({id:e,url:t,ariaLabel:s,...r})=>{const a=ia("selectLink",[t],t);return(0,ur.jsxs)(i.Link,{id:e,href:a,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Et.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Et.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),s),...r,children:[(0,Et.__)("Learn more","wordpress-seo"),(0,ur.jsx)(Nr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})]})},vl=({name:e,id:t,inputId:s,isPremiumFeature:r=!1,isPremiumLink:a="",title:n,description:l,learnMoreUrl:c,learnMoreLinkId:d,learnMoreLinkAriaLabel:u,children:p,Icon:m,featureSectionId:h,disableConfirmationModal:f=null,programmaticallyDisabledModal:_=null})=>{const y=ia("selectPreference",[],"isPremium"),{isDisabled:w,disabledSetting:g}=Qr({name:e}),{values:b,setFieldValue:v}=H(),x=ia("selectLink",[a],a),k=ia("selectUpsellSettingsAsProps"),S=(0,i.useSvgAria)(),j=(0,o.useMemo)((()=>(0,le.get)(b,e,!1)),[b,e]),E=(0,o.useMemo)((()=>!y&&r),[y,r]),L=(0,o.useMemo)((()=>E||w||!j),[w,E,j]),[T,F]=(0,o.useState)(!1),[O,P]=(0,o.useState)(!1),M=Boolean(f),$=Boolean(_),R=oa({isDisabledProgrammatically:$,confirmBeforeDisable:M,fieldName:e,setFieldValue:v,onShowProgrammaticallyDisabledModal:(0,o.useCallback)((()=>P(!0)),[]),onShowDisableConfirmModal:(0,o.useCallback)((()=>F(!0)),[])}),C=(0,o.useCallback)((()=>{F(!1)}),[]),N=(0,o.useCallback)((()=>{v(e,!1),F(!1)}),[v,e]),A=(0,o.useCallback)((()=>{P(!1)}),[]),I={id:s,"aria-label":`${(0,Et.__)("Enable feature","wordpress-seo")} ${n}`,disabled:w,label:""};return(0,ur.jsxs)("div",{id:t,className:"yst-flex yst-gap-4 yst-items-start",children:[m&&h&&(0,le.has)(gl,h)&&(0,ur.jsxs)("div",{className:"yst-relative yst-shrink-0 yst-w-[42px] yst-h-[42px]",children:[(0,ur.jsx)("div",{className:ir()(L?"yst-opacity-0":"",gl[h],"yst-w-[42px] yst-h-[42px] yst-transition-opacity yst-duration-200 yst-rounded-md")}),(0,ur.jsx)(m,{className:ir()("yst-absolute yst-top-0 yst-flex-shrink-0 yst-rounded-md yst-border-none yst-transition-colors yst-duration-200",L?"yst-opacity-50 yst-bg-slate-400":"yst-bg-transparent"),...S})]}),(0,ur.jsx)("div",{className:"yst-grow",children:(0,ur.jsxs)("div",{className:"yst-max-w-lg",children:[(0,ur.jsx)(i.Title,{as:"h3",className:"yst-mb-1",children:n}),(0,ur.jsx)("p",{className:"yst-mb-1",children:l}),c&&(0,ur.jsx)(bl,{id:d,url:c,ariaLabel:u}),E&&(0,ur.jsxs)(i.Button,{as:"a",className:"yst-gap-2 yst-mt-4",variant:"upsell",href:x,target:"_blank",rel:"noopener",size:"small",...k,children:[(0,ur.jsx)(mr,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0",...S}),(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium")]}),p]})}),(0,ur.jsxs)("div",{children:[!E&&!M&&(0,ur.jsx)(yl,{...I,as:i.ToggleField,type:"checkbox",name:e,checked:"language"!==g&&!$&&j}),!E&&M&&(0,ur.jsx)(i.ToggleField,{...I,checked:"language"!==g&&!$&&j,onChange:R}),M&&f({isOpen:T,onClose:C,onConfirm:N}),$&&_({isOpen:O,onClose:A})]})]})},xl=({id:e,title:t,features:s=[]})=>{const r=ia("selectIsSiteFeatureOpen",[],e),{toggleFeatureSection:a}=sa(),n=(0,o.useCallback)((()=>{a(e)}),[a,e]),l=s.length,c=r?nl:ll,d=(0,i.useSvgAria)();return(0,ur.jsxs)("fieldset",{className:"yst-group",children:[(0,ur.jsxs)("button",{type:"button",className:ir()("yst-flex yst-justify-between yst-items-center yst-py-3.5 yst-border-b-slate-200 yst-border-b yst-w-full group-first:yst-pt-0",r?"":"group-last:yst-border-none group-last:yst-pb-0"),onClick:n,children:[(0,ur.jsx)(i.Title,{size:"4",as:"h2",children:`${t} (${l})`}),(0,ur.jsxs)("span",{children:[(0,ur.jsx)(c,{className:"yst-h-6 yst-w-6 yst-text-slate-400 yst-shrink-0 yst-me-3",...d}),(0,ur.jsx)("span",{className:"yst-sr-only",children:`${r?(0,Et.__)("Collapse","wordpress-seo"):(0,Et.__)("Expand","wordpress-seo")} ${t}`})]})]}),r&&(0,ur.jsx)("ul",{className:"yst-mb-2 group-last:yst-mb-0",children:s.map((t=>(0,ur.jsx)("li",{className:"yst-border-b-slate-200 yst-border-b last:yst-border-0 yst-py-4 group-last:last:yst-pb-0",children:(0,ur.jsx)(vl,{...t,featureSectionId:e})},t.id)))})]})},kl=({onClick:e})=>(0,ur.jsx)(i.Button,{onClick:e,id:"link-llms",variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start yst-mt-4",size:"small",children:(0,Et.__)("Customize llms.txt file","wordpress-seo")}),Sl=({href:e})=>(0,ur.jsxs)(i.Button,{as:"a",id:"link-xml-sitemaps",href:e,variant:"secondary",target:"_blank",rel:"noopener",size:"small",className:"yst-self-start yst-mt-4",children:[(0,Et.__)("View the XML sitemap","wordpress-seo"),(0,ur.jsx)(cr,{className:"yst--me-1 yst-ms-1 yst-h-4 yst-w-4 yst-text-slate-400 rtl:yst-rotate-[270deg]"})]}),jl=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))})),El=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),Ll=({isAllFeaturesOpen:e,toggleAllFeatures:t})=>{const s=e?jl:El;return(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,Et.__)("Tell us which features you want to use.","wordpress-seo")}),(0,ur.jsxs)(i.Button,{variant:"secondary",size:"small",className:"yst-mt-3 yst-ps-2",onClick:t,children:[(0,ur.jsx)(s,{className:"yst-h-4 yst-w-4 yst-text-slate-400 yst-me-1.5"}),e?(0,Et.__)("Collapse all","wordpress-seo"):(0,Et.__)("Expand all","wordpress-seo")]})]})};function Tl(e,t,s=""){return dr(e,{a:(0,ur.jsx)("a",{id:s,href:t,target:"_blank",rel:"noopener noreferrer"})})}const Fl=e=>{const t=({name:t,...s})=>{const{isDisabled:r,message:a}=Qr({name:t});return r?(0,ur.jsxs)("div",{children:[(0,ur.jsx)(i.Badge,{variant:"plain",size:"small",className:"yst-mb-2",children:a}),(0,ur.jsx)(e,{name:t,...s,disabled:!0})]}):(0,ur.jsx)(e,{name:t,...s})};return t.propTypes={name:lr().string.isRequired},t},Ol=e=>{const t=({name:t,isDummy:s=!1,...r})=>{const a=ia("selectDefaultSettingValue",[t],t);return s?(0,ur.jsx)(e,{name:t,...r,disabled:!0,value:a,onChange:le.noop,checked:a,content:a}):(0,ur.jsx)(e,{name:t,...r})};return t.propTypes={name:lr().string.isRequired,isDummy:lr().bool},t},Pl=e=>{const t=({name:t,isDummy:s=!1,...r})=>{const a=ia("selectDefaultSettingValue",[t],t);return s?(0,ur.jsx)(e,{name:t,...r,disabled:!0,value:a,onChange:le.noop}):(0,ur.jsx)(e,{name:t,...r})};return t.propTypes={name:lr().string.isRequired,isDummy:lr().bool},t},Ml=e=>{const t=({name:t,...s})=>{const{isTouched:r,error:a}=(({name:e})=>{const{touched:t,errors:s}=H();return{isTouched:(0,o.useMemo)((()=>(0,le.get)(t,e,!1)),[t]),error:(0,o.useMemo)((()=>(0,le.get)(s,e,"")),[s])}})({name:t});return(0,ur.jsx)(e,{name:t,validation:{variant:"error",message:r&&a},...s})};return t.propTypes={name:lr().string.isRequired},t},$l=(e=>{const t=({name:t,isDummy:s=!1,...r})=>{const a=ia("selectDefaultSettingValue",[t],t);return s?(0,ur.jsx)(e,{name:t,...r,disabled:!0,value:a,onChange:le.noop,tags:[],onAddTag:le.noop,onRemoveTag:le.noop}):(0,ur.jsx)(e,{name:t,...r})};return t.propTypes={name:lr().string.isRequired,isDummy:lr().bool},t})(xa),Rl=Ol(ba),Cl=({name:e,label:t,singularLabel:s,hasArchive:r,hasSchemaArticleType:a,isNew:n})=>{const l=ia("selectReplacementVariablesFor",[e],e,"custom_post_type"),c=ia("selectUpsellSettingsAsProps"),d=ia("selectRecommendedReplacementVariablesFor",[e],e,"custom_post_type"),u=ia("selectReplacementVariablesFor",[e],`${e}_archive`,"custom-post-type_archive"),p=ia("selectRecommendedReplacementVariablesFor",[e],`${e}_archive`,"custom-post-type_archive"),m=ia("selectPreference",[],"isPremium"),h=ia("selectLink",[],"https://yoa.st/4cr"),f=ia("selectArticleTypeValuesFor",[e],e),_=ia("selectPageTypeValuesFor",[e],e),y=ia("selectPreference",[],"isWooCommerceActive"),w=ia("selectPreference",[],"hasWooCommerceShopPage"),g=ia("selectPreference",[],"editWooCommerceShopPageUrl"),b=ia("selectPreference",[],"wooCommerceShopPageSettingUrl"),v=ia("selectPreference",[],"userLocale"),x=ia("selectLink",[],"https://yoa.st/show-x"),k=ia("selectLink",[],"https://yoa.st/4e0"),S=ia("selectLink",[],"https://yoa.st/get-custom-fields"),j=ia("selectLink",[],"https://yoa.st/post-type-schema"),{updatePostTypeReviewStatus:E}=sa(),L=ia("selectPreference",[],"isWooCommerceSEOActive")&&"product"===e,T=(0,Et.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,Et.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO");(0,o.useEffect)((()=>{n&&E(e)}),[e,E]);const F=(0,o.useMemo)((()=>fi(t,v)),[t,v]),O=(0,o.useMemo)((()=>fi(s,v)),[s,v]),P=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),M=(0,o.useMemo)((()=>y&&"product"===e),[e,y]),$=(0,o.useMemo)((()=>w?Tl((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.","wordpress-seo"),"<a>","</a>"),g,"link-edit-woocommerce-shop-page"):Tl((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("You haven't set a Shop page in your WooCommerce settings. %1$sPlease do this first%2$s.","wordpress-seo"),"<a>","</a>"),b,"link-woocommerce-shop-page-setting")),[w,b,g]),R=(0,o.useMemo)((()=>dr((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <em> tags. (0,Et.__)("You can add multiple custom fields and separate them by using %1$senter%2$s or %1$scomma%2$s.","wordpress-seo"),"<em>","</em>"),{em:(0,ur.jsx)("em",{})})),[]),C=(0,o.useMemo)((()=>Tl((0,Et.sprintf)( /* translators: %1$s expands to the post type plural, e.g. posts. * %2$s and %3$s expand to opening and closing anchor tag. %4$s expands to "Yoast SEO". */ (0,Et.__)("Determine how your %1$s should be described by default in %2$syour site's Schema.org markup%3$s. You can always change the settings for individual %1$s in the %4$s sidebar or metabox.","wordpress-seo"),F,"<a>","</a>","Yoast SEO"),j,"link-post-type-schema")),[F,j]),{values:N}=H(),{opengraph:A}=N.wpseo_social,{"breadcrumbs-enable":I}=N.wpseo_titles;return(0,ur.jsx)(lo,{title:t,description:(0,Et.sprintf)(/* translators: %1$s expands to the post type plural, e.g. posts. */ (0,Et.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),F),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". (0,Et.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s sidebar or metabox.","wordpress-seo"),F,"Yoast SEO"),children:[(0,ur.jsx)(ma,{name:`wpseo_titles.noindex-${e}`,id:`input-wpseo_titles-noindex-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Show %1$s in search results","wordpress-seo"),F),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),F)," ",(0,ur.jsx)(i.Link,{href:x,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),className:"yst-max-w-sm"}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(ba,{type:"title",name:`wpseo_titles.title-${e}`,fieldId:`input-wpseo_titles-title-${e}`,label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:d}),(0,ur.jsx)(ba,{type:"description",name:`wpseo_titles.metadesc-${e}`,fieldId:`input-wpseo_titles-metadesc-${e}`,label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:d,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),m&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". (0,Et.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s sidebar or metabox.","wordpress-seo"),F,"Yoast SEO"),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:k,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c,children:[(0,ur.jsx)(Ba,{isEnabled:!m||A}),(0,ur.jsx)(ya,{id:`wpseo_titles-social-image-${e}`,label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:P,mediaUrlName:`wpseo_titles.social-image-url-${e}`,mediaIdName:`wpseo_titles.social-image-id-${e}`,disabled:!A,isDummy:!m}),(0,ur.jsx)(Rl,{type:"title",name:`wpseo_titles.social-title-${e}`,fieldId:`input-wpseo_titles-social-title-${e}`,label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:d,disabled:!A,isDummy:!m}),(0,ur.jsx)(Rl,{type:"description",name:`wpseo_titles.social-description-${e}`,fieldId:`input-wpseo_titles-social-description-${e}`,label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:d,className:"yst-replacevar--description",disabled:!A,isDummy:!m})]})}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Schema","wordpress-seo"),description:C,children:[(0,ur.jsx)(yl,{as:i.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${e}`,id:`input-wpseo_titles-schema-page-type-${e}`,label:(0,Et.__)("Page type","wordpress-seo"),options:L?_.filter((({value:e})=>"ItemPage"===e)):_,disabled:L,className:"yst-max-w-sm",description:L?T:null}),a&&(0,ur.jsxs)("div",{children:[(0,ur.jsx)(yl,{as:i.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${e}`,id:`input-wpseo_titles-schema-article-type-${e}`,label:(0,Et.__)("Article type","wordpress-seo"),options:f,className:"yst-max-w-sm"}),(0,ur.jsx)(Ua,{name:e})]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Additional settings","wordpress-seo"),children:[(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${e}`,id:`input-wpseo_titles-display-metabox-pt-${e}`,label:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Et.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),(0,ur.jsx)(i.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:S,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c,children:(0,ur.jsx)($l,{name:`wpseo_titles.page-analyse-extra-${e}`,id:`input-wpseo_titles-page-analyse-extra-${e}`,label:(0,Et.__)("Add custom fields to page analysis","wordpress-seo"),labelSuffix:m&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"}),description:(0,ur.jsxs)(ur.Fragment,{children:[R,(0,ur.jsx)("br",{}),(0,ur.jsx)(i.Link,{id:`link-custom-fields-page-analysis-${e}`,href:h,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about our custom field analysis","wordpress-seo")}),"."]}),isDummy:!m})})]}),r&&(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("hr",{className:"yst-my-16"}),(0,ur.jsxs)("div",{className:"yst-mb-8",children:[(0,ur.jsx)(i.Title,{as:"h2",className:"yst-mb-2",children:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. (0,Et.__)("%1$s archive","wordpress-seo"),t)}),(0,ur.jsxs)("p",{className:"yst-text-tiny",children:[M&&$,!M&&(0,Et.sprintf)( // translators: %1$s expands to the post type singular, e.g. post. (0,Et.__)("These settings are specifically for optimizing your %1$s archive.","wordpress-seo"),O)]})]}),!M&&(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Determine how your %1$s archive should look in search engines.","wordpress-seo"),F),children:[(0,ur.jsx)(ma,{name:`wpseo_titles.noindex-ptarchive-${e}`,id:`input-wpseo_titles-noindex-ptarchive-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Show the archive for %1$s in search results","wordpress-seo"),F),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Disabling this means that the archive for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),F),className:"yst-max-w-sm"}),(0,ur.jsx)(ba,{type:"title",name:`wpseo_titles.title-ptarchive-${e}`,fieldId:`input-wpseo_titles-title-ptarchive-${e}`,label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:u,recommendedReplacementVariables:p}),(0,ur.jsx)(ba,{type:"description",name:`wpseo_titles.metadesc-ptarchive-${e}`,fieldId:`input-wpseo_titles-metadesc-ptarchive-${e}`,label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:u,recommendedReplacementVariables:p,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),m&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. (0,Et.__)("Determine how your %1$s archive should look on social media.","wordpress-seo"),F),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:k,cardText:(0,Et.sprintf)( // translators: %1$s expands to Premium. (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c,children:[(0,ur.jsx)(ya,{id:`wpseo_titles-social-image-ptarchive-${e}`,label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:P,mediaUrlName:`wpseo_titles.social-image-url-ptarchive-${e}`,mediaIdName:`wpseo_titles.social-image-id-ptarchive-${e}`,disabled:!A,isDummy:!m}),(0,ur.jsx)(Rl,{type:"title",name:`wpseo_titles.social-title-ptarchive-${e}`,fieldId:`input-wpseo_titles-social-title-ptarchive-${e}`,label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:u,recommendedReplacementVariables:p,disabled:!A,isDummy:!m}),(0,ur.jsx)(Rl,{type:"description",name:`wpseo_titles.social-description-ptarchive-${e}`,fieldId:`input-wpseo_titles-social-description-ptarchive-${e}`,label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:u,recommendedReplacementVariables:p,className:"yst-replacevar--description",disabled:!A,isDummy:!m})]})}),I&&(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("Additional settings","wordpress-seo"),children:(0,ur.jsx)(te,{as:i.TextField,type:"text",name:`wpseo_titles.bctitle-ptarchive-${e}`,id:`input-wpseo_titles-bctitle-ptarchive-${e}`,label:(0,Et.__)("Breadcrumbs title","wordpress-seo")})})]})]})]})]})})})};Cl.propTypes={name:lr().string.isRequired,label:lr().string.isRequired,singularLabel:lr().string.isRequired,hasArchive:lr().bool.isRequired,hasSchemaArticleType:lr().bool.isRequired,isNew:lr().bool.isRequired};const Nl=Cl,Al=Ol(ba),Il=({name:e,label:t,postTypes:s,showUi:r,isNew:a})=>{const n=ia("selectPostTypes",[s],s),l=ia("selectUpsellSettingsAsProps"),c=ia("selectReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),d=ia("selectRecommendedReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),u=ia("selectLink",[],"https://yoa.st/show-x"),p=ia("selectPreference",[],"isPremium"),m=ia("selectPreference",[],"userLocale"),h=ia("selectPreference",[],"editTaxonomyUrl"),f=ia("selectLink",[],"https://yoa.st/4e0"),_=(0,o.useMemo)((()=>fi(t,m)),[t,m]),y=(0,o.useMemo)((()=>(0,le.values)(n)),[n]),w=(0,o.useMemo)((()=>(0,le.initial)(y)),[y]),g=(0,o.useMemo)((()=>(0,le.last)(y)),[y]),{updateTaxonomyReviewStatus:b}=sa();(0,o.useEffect)((()=>{a&&b(e)}),[e,b]);const v=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),x=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %s expands to <code>/category/</code> */ (0,Et.__)("Category URLs in WordPress contain a prefix, usually %s. Show or hide that prefix in category URLs.","wordpress-seo"),"<code />"),{code:(0,ur.jsx)(i.Code,{children:"/category/"})})),[]),k=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s and %2$s expand to post type plurals in code blocks, e.g. Posts Pages and Custom Post Type. */ (0,Et.__)("This taxonomy is used for %1$s and %2$s.","wordpress-seo"),"<code1 />","<code2 />"),{code1:(0,ur.jsx)(ur.Fragment,{children:(0,le.map)(w,((e,t)=>(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(i.Code,{children:null==e?void 0:e.label},null==e?void 0:e.name),t<w.length-1&&" "]})))}),code2:(0,ur.jsx)(i.Code,{children:null==g?void 0:g.label})})),[t,w,g]),S=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to the post type plural in code block, e.g. Posts. */ (0,Et.__)("This taxonomy is used for %2$s.","wordpress-seo"),t,"<code />"),{code:(0,ur.jsx)(i.Code,{children:null==g?void 0:g.label})})),[t,g]),{values:j}=H(),{opengraph:E}=j.wpseo_social,L=(0,o.useMemo)((()=>w.length>1?k:S),[w,k,S]),T=(0,o.useCallback)((()=>r&&(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-tax-${e}`,id:`input-wpseo_titles-display-metabox-tax-${e}`,label:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Et.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"})),[r,e]),F=(0,o.useCallback)((()=>"category"===e&&(0,ur.jsx)(ma,{name:"wpseo_titles.stripcategorybase",id:"input-wpseo_titles-stripcategorybase",label:(0,Et.__)("Show the categories prefix in the slug","wordpress-seo"),description:x,className:"yst-max-w-sm"})),[e,x]),O=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to the name of the taxonomy. */ (0,Et.__)("The name of this category is %1$s.","wordpress-seo"),"<link />"),{link:(0,ur.jsx)(i.Link,{href:`${h}?taxonomy=${e}`,children:e})})),[e]);return(0,ur.jsx)(lo,{title:t,description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)(/* translators: %1$s expands to the taxonomy plural, e.g. categories. */ (0,Et.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),_),(0,ur.jsx)("br",{}),(0,le.isEmpty)(y)?O:L]}),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to "Yoast SEO". (0,Et.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),_,"Yoast SEO"),children:[(0,ur.jsx)(ma,{name:`wpseo_titles.noindex-tax-${e}`,id:`input-wpseo_titles-noindex-tax-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. (0,Et.__)("Show %1$s in search results","wordpress-seo"),_),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. (0,Et.__)("Disabling this means that archive pages for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),_)," ",(0,ur.jsx)(i.Link,{href:u,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),className:"yst-max-w-sm"}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(ba,{type:"title",name:`wpseo_titles.title-tax-${e}`,fieldId:`input-wpseo_titles-title-tax-${e}`,label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d}),(0,ur.jsx)(ba,{type:"description",name:`wpseo_titles.metadesc-tax-${e}`,fieldId:`input-wpseo_titles-metadesc-tax-${e}`,label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),p&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. %2$s expand to Yoast SEO. (0,Et.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),_,"Yoast SEO"),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:f,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...l,children:[(0,ur.jsx)(Ba,{isEnabled:!p||E}),(0,ur.jsx)(ya,{id:`wpseo_titles-social-image-tax-${e}`,label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:v,mediaUrlName:`wpseo_titles.social-image-url-tax-${e}`,mediaIdName:`wpseo_titles.social-image-id-tax-${e}`,disabled:!E,isDummy:!p}),(0,ur.jsx)(Al,{type:"title",name:`wpseo_titles.social-title-tax-${e}`,fieldId:`input-wpseo_titles-social-title-tax-${e}`,label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:!E,isDummy:!p}),(0,ur.jsx)(Al,{type:"description",name:`wpseo_titles.social-description-tax-${e}`,fieldId:`input-wpseo_titles-social-description-tax-${e}`,label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,className:"yst-replacevar--description",disabled:!E,isDummy:!p})]})}),(r||"category"===e)&&(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Additional settings","wordpress-seo"),children:[T(),F()]})]})]})})})};Il.propTypes={name:lr().string.isRequired,label:lr().string.isRequired,postTypes:lr().arrayOf(lr().string).isRequired,showUi:lr().bool.isRequired,isNew:lr().bool.isRequired};const Dl=Il,zl=Ol(ba),Ul=()=>{const e=(0,Et.__)("Author archives","wordpress-seo"),t=(0,Et.__)("Author archive","wordpress-seo"),s=ia("selectPreference",[],"userLocale"),r=(0,o.useMemo)((()=>fi(e,s)),[e,s]),a=(0,o.useMemo)((()=>fi(t,s)),[t,s]),n=ia("selectUpsellSettingsAsProps"),l=ia("selectReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),c=ia("selectRecommendedReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),d=ia("selectLink",[],"https://yoa.st/duplicate-content"),u=ia("selectLink",[],"https://yoa.st/show-x"),p=ia("selectPreference",[],"isPremium"),m=ia("selectExampleUrl",[],"/author/example/"),h=ia("selectLink",[],"https://yoa.st/4e0"),f=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),_=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to "author archive". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s and %4$s expand to opening and closing <a> tags. */ (0,Et.__)("If you're running a one author blog, the %1$s (e.g. %2$s) will be exactly the same as your homepage. This is what's called a %3$sduplicate content problem%4$s. If this is the case on your site, you can choose to either disable it (which makes it redirect to the homepage), or prevent it from showing up in search results.","wordpress-seo"),a,"<exampleUrl />","<a>","</a>"),{exampleUrl:(0,ur.jsx)(i.Code,{children:m}),a:(0,ur.jsx)("a",{href:d,target:"_blank",rel:"noopener"})})),[]),{values:y}=H(),{opengraph:w}=y.wpseo_social,{"disable-author":g,"noindex-author-wpseo":b,"noindex-author-noposts-wpseo":v}=y.wpseo_titles;return(0,ur.jsx)(lo,{title:e,description:_,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsx)(ma,{name:"wpseo_titles.disable-author",id:"input-wpseo_titles-disable-author",label:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Enable %1$s","wordpress-seo"),r),description:(0,Et.sprintf)( // translators: %1$s expands to "author archive". (0,Et.__)("Disabling this will redirect the %1$s to your site's homepage.","wordpress-seo"),a),className:"yst-max-w-sm"}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r),children:[(0,ur.jsx)(ma,{name:"wpseo_titles.noindex-author-wpseo",id:"input-wpseo_titles-noindex-author-wpseo",label:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),r)," ",(0,ur.jsx)(i.Link,{href:u,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),disabled:g,checked:!g&&!b,className:"yst-max-w-sm"}),(0,ur.jsx)(ma,{name:"wpseo_titles.noindex-author-noposts-wpseo",id:"input-wpseo_titles-noindex-author-noposts-wpseo",label:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Show %1$s without posts in search results","wordpress-seo"),r),description:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Disabling this means that %1$s without any posts will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),r),checked:!g&&!b&&!v,disabled:g||b,className:"yst-max-w-sm"}),(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.title-author-wpseo",fieldId:"input-wpseo_titles-title-author-wpseo",label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:c,disabled:g}),(0,ur.jsx)(ba,{type:"description",name:"wpseo_titles.metadesc-author-wpseo",fieldId:"input-wpseo_titles-metadesc-author-wpseo",label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:c,disabled:g,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),p&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to "author archives". (0,Et.__)("Determine how your %1$s should look on social media.","wordpress-seo"),r),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:h,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...n,children:[(0,ur.jsx)(Ba,{isEnabled:!p||w}),(0,ur.jsx)(ya,{id:"wpseo_titles-social-image-author-wpseo",label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-author-wpseo",mediaIdName:"wpseo_titles.social-image-id-author-wpseo",disabled:g||!w,isDummy:!p}),(0,ur.jsx)(zl,{type:"title",name:"wpseo_titles.social-title-author-wpseo",fieldId:"input-wpseo_titles-social-title-author-wpseo",label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:c,disabled:g||!w,isDummy:!p}),(0,ur.jsx)(zl,{type:"description",name:"wpseo_titles.social-description-author-wpseo",fieldId:"input-wpseo_titles-social-description-author-wpseo",label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:c,className:"yst-replacevar--description",disabled:g||!w,isDummy:!p})]})})]})})})},Vl=()=>{const e=ia("selectLink",[],"https://yoa.st/header-breadcrumbs"),t=ia("selectLink",[],"https://yoa.st/breadcrumbs"),s=ia("selectBreadcrumbsForPostTypes"),r=ia("selectBreadcrumbsForTaxonomies"),a=ia("selectHasPageForPosts");return(0,ur.jsx)(lo,{title:(0,Et.__)("Breadcrumbs","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,Et.__)("Configure the appearance and behavior of %1$syour breadcrumbs%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-header-breadcrumbs"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Breadcrumb appearance","wordpress-seo"),description:(0,Et.__)("Choose the general appearance of your breadcrumbs.","wordpress-seo"),children:[(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-sep",id:"input-wpseo_titles-breadcrumbs-sep",label:(0,Et.__)("Separator between breadcrumbs","wordpress-seo"),placeholder:(0,Et.__)("Add separator","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-home",id:"input-wpseo_titles-breadcrumbs-home",label:(0,Et.__)("Anchor text for the Homepage","wordpress-seo"),placeholder:(0,Et.__)("Add anchor text","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-prefix",id:"input-wpseo_titles-breadcrumbs-prefix",label:(0,Et.__)("Prefix for the breadcrumb path","wordpress-seo"),placeholder:(0,Et.__)("Add prefix","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-archiveprefix",id:"input-wpseo_titles-breadcrumbs-archiveprefix",label:(0,Et.__)("Prefix for archive breadcrumbs","wordpress-seo"),placeholder:(0,Et.__)("Add prefix","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-searchprefix",id:"input-wpseo_titles-breadcrumbs-searchprefix",label:(0,Et.__)("Prefix for search page breadcrumbs","wordpress-seo"),placeholder:(0,Et.__)("Add prefix","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"wpseo_titles.breadcrumbs-404crumb",id:"input-wpseo_titles-breadcrumbs-404crumb",label:(0,Et.__)("Breadcrumb for 404 page","wordpress-seo"),placeholder:(0,Et.__)("Add separator","wordpress-seo")}),a&&(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-display-blog-page",id:"input-wpseo_titles-breadcrumbs-display-blog-page",label:(0,Et.__)("Show blog page in breadcrumbs","wordpress-seo"),className:"yst-max-w-sm"}),(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-boldlast",id:"input-wpseo_titles-breadcrumbs-boldlast",label:(0,Et.__)("Bold the last page","wordpress-seo"),className:"yst-max-w-sm"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("Breadcrumbs for post types","wordpress-seo"),description:(0,Et.__)("Choose which Taxonomy you wish to show in the breadcrumbs for Post types.","wordpress-seo"),children:(0,le.map)(s,((e,t)=>(0,ur.jsx)(yl,{as:i.SelectField,name:`wpseo_titles.post_types-${t}-maintax`,id:`input-wpseo_titles-post_types-${t}-maintax`,label:e.label,labelSuffix:(0,ur.jsx)(i.Code,{className:"yst-ml-2 rtl:yst-mr-2",children:t}),options:e.options,className:"yst-max-w-sm"},t)))}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("Breadcrumbs for taxonomies","wordpress-seo"),description:(0,Et.__)("Choose which Post type you wish to show in the breadcrumbs for Taxonomies.","wordpress-seo"),children:(0,le.map)(r,(e=>(0,ur.jsx)(yl,{as:i.SelectField,name:`wpseo_titles.taxonomy-${e.name}-ptparent`,id:`input-wpseo_titles-taxonomy-${e.name}-ptparent`,label:e.label,options:e.options,className:"yst-max-w-sm",labelSuffix:(0,ur.jsx)(i.Code,{className:"yst-ml-2 rtl:yst-mr-2",children:e.name})},e.name)))}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("How to insert breadcrumbs in your theme","wordpress-seo"),children:[(0,ur.jsx)("p",{children:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to "Yoast SEO". (0,Et.__)("Not sure how to implement the %3$s breadcrumbs on your site? Read %1$sour help article on breadcrumbs implementation%2$s.","wordpress-seo"),"<a>","</a>","Yoast SEO"),t,"link-breadcrumbs-help-article")}),(0,ur.jsx)("p",{children:(0,Et.__)("You can always choose to enable/disable them for your theme below. This setting will not apply to breadcrumbs inserted through a widget, a block or a shortcode.","wordpress-seo")}),(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-enable",id:"input-wpseo_titles-breadcrumbs-enable",label:(0,Et.__)("Enable breadcrumbs for your theme","wordpress-seo"),className:"yst-max-w-sm"})]})]})})})},Bl=Ml(te),Hl=Fl(yl),ql=Pl(Hl),Wl=()=>{const e=ia("selectPreference",[],"isPremium",!1),t=ia("selectPreference",[],"isMultisite",!1),s=ia("selectUpsellSettingsAsProps"),r=ia("selectLink",[],"https://yoa.st/crawl-settings"),a=ia("selectLink",[],"https://yoa.st/permalink-cleanup"),n=ia("selectLink",[],"https://yoa.st/block-unwanted-bots-info"),l=ia("selectLink",[],"https://yoa.st/block-unwanted-bots-upsell"),c=(0,o.useMemo)((()=>(0,Et.sprintf)(/* translators: %1$s expands to an example within a code tag. */ (0,Et.__)("E.g., %1$s","wordpress-seo"),"<code/>")),[]),d=(0,o.useMemo)((()=>(0,Et.sprintf)(/* translators: %1$s and %2$s both expand to an example within a code tag. */ (0,Et.__)("E.g., %1$s and %2$s","wordpress-seo"),"<code1/>","<code2/>")),[]),u=(0,o.useMemo)((()=>({page:dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags. */ (0,Et.__)("Make your site more efficient and more environmentally friendly by preventing search engines from crawling things they don’t need to, and by removing unused WordPress features. %1$sLearn more about crawl settings and how they could benefit your site%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"link-crawl-settings-info",href:r,target:"_blank",rel:"noopener noreferrer"})}),removeUnwantedMetadata:dr((0,Et.sprintf)(/* translators: %1$s expands to `<head>` within a <code> tag. */ (0,Et.__)("WordPress adds a lot of links and content to your site's %1$s and HTTP headers. For most websites you can safely disable all of these, which can help to save bytes, electricity, and trees.","wordpress-seo"),"<code/>"),{code:(0,ur.jsx)(i.Code,{children:"<head>"})}),removeShortlinks:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="shortlink" href="https://www.example.com/?p=1" />'})}),removeRestApiLinks:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="https://api.w.org/" href="https://www.example.com/wp-json/" />'})}),removeRsdWlwLinks:dr(d,{code1:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.example.com/xmlrpc.php?rsd" />'}),code2:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.example.com/wp-includes/wlwmanifest.xml" />'})}),removeOembedLinks:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/json+oembed" href="https://www.example.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.example.com%2Fexample-post%2F" />'})}),removeGenerator:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<meta name="generator" content="WordPress 6.0.1" />'})}),removePingbackHeader:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:"X-Pingback: https://www.example.com/xmlrpc.php"})}),removePoweredByHeader:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:"X-Powered-By: PHP/7.4.1"})}),removeFeedGlobal:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Feed" href="https://www.example.com/feed/" />'})}),removeFeedGlobalComments:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Comments Feed" href="https://www.example.com/comments/feed/" />'})}),removeFeedPostComments:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Example post Comments Feed" href="https://www.example.com/example-post/feed/" />'})}),removeFeedAuthors:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Posts by Example Author Feed" href="https://www.example.com/author/example-author/feed/" />'})}),removeFeedPostTypes:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Movies Feed" href="https://www.example.com/movies/feed/" />'})}),removeFeedCategories:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - News Category Feed" href="https://www.example.com/category/news/feed/" />'})}),removeFeedTags:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Blue Tag Feed" href="https://www.example.com/tag/blue/feed/" />'})}),removeFeedCustomTaxonomies:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Large size Feed" href="https://www.example.com/size/large/feed/" />'})}),removeFeedSearch:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Search Results for \'example\' Feed" href="https://www.example.com/search/example/feed/rss2/" />'})}),removeAtomRdfFeeds:dr(c,{code:(0,ur.jsx)(i.Code,{variant:"block",children:'<link rel="alternate" type="application/rss+xml" title="Example Website - Feed" href="https://www.example.com/feed/atom/" />'})}),denyWpJsonCrawling:dr(d,{code1:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/wp-json/"}),code2:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/?rest_route=/"})}),blockUnwantedBots:dr((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("Lots of web traffic comes from bots crawling the web. Some can benefit your site or business, while other bots don't. Blocking unwanted bots can save energy, help with site performance, and protect copyrighted content. Learn more about %1$swhen to block unwanted bots%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)(vr,{id:"link-block-unwanted-bots-info",href:n})}),redirectSearchPrettyUrls:dr((0,Et.sprintf)(/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by <code> tags. */ (0,Et.__)("Consolidates WordPress' multiple site search URL formats into the %1$s syntax. E.g., %2$s will redirect to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:(0,ur.jsx)(i.Code,{children:"?s="}),code2:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/search/cats"}),code3:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/?s=cats"})}),denySearchCrawling:dr((0,Et.sprintf)(/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by <code> tags. */ (0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of URLs like %1$s, %2$s and %3$s.","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:(0,ur.jsx)(i.Code,{children:"?s="}),code2:(0,ur.jsx)(i.Code,{children:"/search/"}),code3:(0,ur.jsx)(i.Code,{children:"/page/*/?s="})}),advancedUrlCleanup:dr((0,Et.sprintf)(/* translators: %1$s expands to an example part of a URL, surrounded by a <code> tag. */ (0,Et.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),"<code/>"),{code:(0,ur.jsx)(i.Code,{children:"?color=red"})}),cleanCampaignTrackingUrls:dr((0,Et.sprintf)( /** * translators: * %1$s expands to `<code>utm</code>`. * %2$s expands to `<code>#</code>`. * %3$s expands to `<code>301</code>`. * %4$s and %5$s both expand to an example within a <code> tag. */ (0,Et.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>","<code4/>","<code5/>"),{code1:(0,ur.jsx)(i.Code,{children:"utm"}),code2:(0,ur.jsx)(i.Code,{children:"#"}),code3:(0,ur.jsx)(i.Code,{children:"301"}),code4:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/?utm_medium=organic"}),code5:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/#utm_medium=organic"})}),cleanPermalinks:dr((0,Et.sprintf)( /** * translators: * %1$s expands to `<code>301</code>`. * %2$s and %3$s both expand to an example within a <code> tag. */ (0,Et.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>")+(0,Et.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a <code> tag. For example, <code>gclid</code>. */ (0,Et.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"<code4/>","<code5/>","<code6/>","<code7/>","<code8/>","<code9/>","<code10/>"),{code1:(0,ur.jsx)(i.Code,{children:"301"}),code2:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com/?unknown_parameter=yes"}),code3:(0,ur.jsx)(i.Code,{variant:"block",children:"https://www.example.com"}),code4:(0,ur.jsx)(i.Code,{children:"gclid"}),code5:(0,ur.jsx)(i.Code,{children:"gtm_debug"}),code6:(0,ur.jsx)(i.Code,{children:"utm_campaign"}),code7:(0,ur.jsx)(i.Code,{children:"utm_content"}),code8:(0,ur.jsx)(i.Code,{children:"utm_medium"}),code9:(0,ur.jsx)(i.Code,{children:"utm_source"}),code10:(0,ur.jsx)(i.Code,{children:"utm_term"})}),cleanPermalinksExtraVariables:dr((0,Et.sprintf)( /** * translators: * %1$s expands to `<code>unknown_parameter</code>`. * %2$s and %3$s both expand to an example within a <code> tag. */ (0,Et.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:(0,ur.jsx)(i.Code,{children:"unknown_parameter"}),code2:(0,ur.jsx)(i.Code,{children:"https://www.example.com/?unknown_parameter=yes"}),code3:(0,ur.jsx)(i.Code,{children:"https://www.example.com"})})})),[]),{values:p}=H(),{remove_feed_global_comments:m,remove_feed_post_comments:h,search_cleanup:f,search_cleanup_emoji:_,search_cleanup_patterns:y,clean_permalinks:w}=p.wpseo;return(0,ur.jsx)(lo,{title:(0,Et.__)("Crawl optimization","wordpress-seo"),description:u.page,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Remove unwanted metadata","wordpress-seo"),description:u.removeUnwantedMetadata,children:[(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Et.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",u.removeShortlinks]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Et.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",u.removeRestApiLinks]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Et.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",u.removeRsdWlwLinks]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Et.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",u.removeOembedLinks]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Et.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",u.removeGenerator]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Et.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",u.removePingbackHeader]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Et.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",u.removePoweredByHeader]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Et.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo"),children:[(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Et.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",u.removeFeedGlobal]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Et.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",u.removeFeedGlobalComments,(0,Et.__)("Also disables post comment feeds.","wordpress-seo")]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Et.__)("Remove post comments feeds","wordpress-seo"),disabled:m,checked:m||h,className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",u.removeFeedPostComments]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Et.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",u.removeFeedAuthors]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Et.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",u.removeFeedPostTypes]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Et.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",u.removeFeedCategories]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Et.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",u.removeFeedTags]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Et.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",u.removeFeedCustomTaxonomies]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Et.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",u.removeFeedSearch]}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Et.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",u.removeAtomRdfFeeds]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Remove unused resources","wordpress-seo"),description:(0,Et.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo"),children:[(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Et.__)("Remove emoji scripts","wordpress-seo"),description:(0,Et.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,ur.jsxs)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Et.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl",children:[(0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",u.denyWpJsonCrawling]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Block unwanted bots","wordpress-seo"),description:u.blockUnwantedBots,children:[(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Et.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!t&&!e,variant:"card",cardLink:l,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...s,children:[(0,ur.jsx)(ql,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Et.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:e&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"}),className:"yst-max-w-2xl",isDummy:!e}),(0,ur.jsx)(ql,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Et.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:e&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"}),className:"yst-max-w-2xl",isDummy:!e}),(0,ur.jsx)(ql,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Et.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Et.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:e&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"}),className:"yst-max-w-2xl",isDummy:!e})]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Internal site search cleanup","wordpress-seo"),description:(0,Et.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo"),children:[(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Et.__)("Filter search terms","wordpress-seo"),description:(0,Et.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,ur.jsx)(Bl,{as:i.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Et.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Et.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!f}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Et.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Et.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!f,checked:f&&_,className:"yst-max-w-2xl"}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Et.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Et.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!f,checked:f&&y,className:"yst-max-w-2xl"}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Et.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:u.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Et.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:u.denySearchCrawling,className:"yst-max-w-2xl"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Advanced: URL cleanup","wordpress-seo"),description:u.advancedUrlCleanup,children:[(0,ur.jsx)(i.Alert,{id:"alert-permalink-cleanup-settings",variant:"error",children:dr((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,Et.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"link-permalink-cleanup-info",href:a,target:"_blank",rel:"noopener noreferrer"})})}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Et.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:u.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,ur.jsx)(Hl,{as:i.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Et.__)("Remove unregistered URL parameters","wordpress-seo"),description:u.cleanPermalinks,className:"yst-max-w-2xl"}),(0,ur.jsx)(xa,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Et.__)("Additional URL parameters to allow","wordpress-seo"),description:u.cleanPermalinksExtraVariables,disabled:!w})]})]})})})},Gl=Ol(ba),Yl=()=>{const e=(0,Et.__)("Date archives","wordpress-seo"),t=ia("selectPreference",[],"userLocale"),s=(0,o.useMemo)((()=>fi(e,t)),[e,t]),r=ia("selectUpsellSettingsAsProps"),a=ia("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=ia("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),l=ia("selectLink",[],"https://yoa.st/show-x"),c=ia("selectPreference",[],"isPremium"),d=ia("selectLink",[],"https://yoa.st/4e0"),u=ia("selectExampleUrl",[],"/2020/"),p=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),m=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Et.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),e,"<exampleUrl />",s),{exampleUrl:(0,ur.jsx)(i.Code,{children:u})}))),{values:h}=H(),{opengraph:f}=h.wpseo_social,{"disable-date":_,"noindex-archive-wpseo":y}=h.wpseo_titles;return(0,ur.jsx)(lo,{title:e,description:m,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsx)("fieldset",{className:"yst-min-width-0 yst-space-y-8",children:(0,ur.jsx)(ma,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Et.sprintf)( // translators: %1$s expands to "date archives". (0,Et.__)("Enable %1$s","wordpress-seo"),s),description:(0,Et.sprintf)( // translators: %1$s expands to "Date archives". (0,Et.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),e),className:"yst-max-w-sm"})}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "date archives". (0,Et.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),s),children:[(0,ur.jsx)(ma,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Et.sprintf)( // translators: %1$s expands to "date archives". (0,Et.__)("Show %1$s in search results","wordpress-seo"),s),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to "date archives". (0,Et.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),s)," ",(0,ur.jsx)(i.Link,{href:l,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),disabled:_,checked:!_&&!y,className:"yst-max-w-sm"}),(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:n,disabled:_}),(0,ur.jsx)(ba,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:n,disabled:_,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),c&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to "date archives". (0,Et.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),s),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!c,variant:"card",cardLink:d,cardText:(0,Et.sprintf)( // translators: %1$s expands to Premium. (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r,children:[(0,ur.jsx)(Ba,{isEnabled:!c||f}),(0,ur.jsx)(ya,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:_||!f,isDummy:!c}),(0,ur.jsx)(Gl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:n,disabled:_||!f,isDummy:!c}),(0,ur.jsx)(Gl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:_||!f,isDummy:!c})]})})]})})})},Kl=Ol(ba),Zl=()=>{const{name:e,label:t,singularLabel:s}=ia("selectTaxonomy",[],"post_format"),r=ia("selectPreference",[],"userLocale"),a=(0,o.useMemo)((()=>fi(t,r)),[t,r]),n=(0,o.useMemo)((()=>fi(s,r)),[s,r]),l=ia("selectUpsellSettingsAsProps"),c=ia("selectReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),d=ia("selectRecommendedReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),u=ia("selectLink",[],"https://yoa.st/show-x"),p=ia("selectPreference",[],"isPremium"),m=ia("selectLink",[],"https://yoa.st/4e0"),h=ia("selectExampleUrl",[],"/format/example/"),f=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),_=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("(e.g., %1$s)","wordpress-seo"),"<exampleUrl />"),{exampleUrl:(0,ur.jsx)(i.Code,{children:h})}))),{values:y}=H(),{opengraph:w}=y.wpseo_social,{"disable-post_format":g,"noindex-tax-post_format":b}=y.wpseo_titles;return(0,ur.jsx)(lo,{title:(0,Et.__)("Format archives","wordpress-seo"),description:_,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsx)(ma,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Et.__)("Enable format-based archives","wordpress-seo"),description:(0,Et.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Et.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO"),children:[(0,ur.jsx)(ma,{name:`wpseo_titles.noindex-tax-${e}`,id:`input-wpseo_titles-noindex-tax-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to "format". (0,Et.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to "formats". (0,Et.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),a)," ",(0,ur.jsx)(i.Link,{href:u,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),disabled:g,checked:!g&&!b,className:"yst-max-w-sm"}),(0,ur.jsx)(ba,{type:"title",name:`wpseo_titles.title-tax-${e}`,fieldId:`input-wpseo_titles-title-tax-${e}`,label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:g}),(0,ur.jsx)(ba,{type:"description",name:`wpseo_titles.metadesc-tax-${e}`,fieldId:`input-wpseo_titles-metadesc-tax-${e}`,label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:g,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1.5",children:[(0,ur.jsx)("span",{children:(0,Et.__)("Social media appearance","wordpress-seo")}),p&&(0,ur.jsx)(i.Badge,{variant:"upsell",children:"Premium"})]}),description:(0,Et.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Et.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO"),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:m,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...l,children:[(0,ur.jsx)(Ba,{isEnabled:!p||w}),(0,ur.jsx)(ya,{id:`wpseo_titles-social-image-tax-${e}`,label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:`wpseo_titles.social-image-url-tax-${e}`,mediaIdName:`wpseo_titles.social-image-id-tax-${e}`,disabled:g||!w,isDummy:!p}),(0,ur.jsx)(Kl,{type:"title",name:`wpseo_titles.social-title-tax-${e}`,fieldId:`input-wpseo_titles-social-title-tax-${e}`,label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:g||!w,isDummy:!p}),(0,ur.jsx)(Kl,{type:"description",name:`wpseo_titles.social-description-tax-${e}`,fieldId:`input-wpseo_titles-social-description-tax-${e}`,label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,className:"yst-replacevar--description",disabled:g||!w,isDummy:!p})]})})]})})})},Jl=()=>{const e=ia("selectReplacementVariablesFor",[],"homepage","page"),t=ia("selectRecommendedReplacementVariablesFor",[],"homepage","page"),s=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),{values:r}=H(),{opengraph:a}=r.wpseo_social;return(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.__)("Determine how your homepage should look in the search results.","wordpress-seo"),children:[(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t}),(0,ur.jsx)(ba,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Social media appearance","wordpress-seo"),description:(0,Et.__)("Determine how your homepage should look on social media.","wordpress-seo"),children:[(0,ur.jsx)(Ba,{isEnabled:a /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Et.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,ur.jsx)(ya,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Et.__)("Social image","wordpress-seo"),previewLabel:s,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!a}),(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Et.__)("Social title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,disabled:!a}),(0,ur.jsx)(ba,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Et.__)("Social description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description",disabled:!a})]})]})},Ql=()=>{const e=ia("selectPreference",[],"homepagePageEditUrl"),t=ia("selectPreference",[],"homepagePostsEditUrl"),s=(0,o.useMemo)((()=>Tl((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-homepage-page-edit"))),r=(0,o.useMemo)((()=>Tl((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"<a>","</a>"),t,"link-homepage-posts-page-edit")));return(0,ur.jsx)("div",{className:"yst-max-w-screen-sm",children:(0,ur.jsxs)(i.Alert,{children:[(0,ur.jsx)("p",{children:s}),t&&(0,ur.jsx)("p",{className:"yst-pt-2",children:r})]})})},Xl=()=>{const e=ia("selectPreference",[],"homepageIsLatestPosts");return(0,ur.jsx)(lo,{title:(0,Et.__)("Homepage","wordpress-seo"),description:(0,Et.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[e&&(0,ur.jsx)(Jl,{}),!e&&(0,ur.jsx)(Ql,{})]})})})},ec=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),tc=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),sc=Fl(yl),rc="llms.txt",ac=["about_us_page","contact_page","terms_page","privacy_policy_page","shop_page","other_included_pages"],oc=()=>{const e=(0,o.useRef)(!1),t=ia("selectLlmsTxtOtherIncludedPagesLimit",[]),s=ia("selectLlmsTxtDisabledPageIndexables",[]),r=ia("selectLlmsTxtGenerationFailure",[]),a=ia("selectLlmsTxtGenerationFailureReason",[]),n=ia("selectLlmsTxtUrl",[]),l=ia("selectLink",[],"https://yoa.st/llmstxt-learn-more"),c=ia("selectLink",[],"https://yoa.st/llmstxt-best-practices"),{fetchIndexablePages:d}=sa(),{values:u,initialValues:p}=H(),{"noindex-page":m}=u.wpseo_titles,{llms_txt_selection_mode:h,other_included_pages:f}=u.wpseo_llmstxt,{enable_llms_txt:_}=u.wpseo,{enable_llms_txt:y}=p.wpseo,w=(0,o.useMemo)((()=>Array.from(new Set(ac.map((e=>u.wpseo_llmstxt[e])).flat().filter((e=>0!==e))))),[u.wpseo_llmstxt]),g=(0,o.useMemo)((()=>s||m),[s,m]),b=(0,o.useMemo)((()=>!_||g),[_,g]),v=(0,o.useMemo)((()=>_&&!g&&"manual"===h),[_,g,h]),x=(0,o.useMemo)((()=>_&&(u.wpseo_llmstxt!==p.wpseo_llmstxt||y!==_)),[_,y,u.wpseo_llmstxt,p.wpseo_llmstxt]),k=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s and %3$s are replaced by opening and closing <a> tags, %2$s is replaced by "llms.txt". */ (0,Et.__)("Future-proof your website for visibility in AI tools like ChatGPT and Google Gemini. This helps them provide better, more accurate information about your site. %1$sLearn more about the %2$s file%3$s.","wordpress-seo"),"<a>",rc,"</a>"),{a:(0,ur.jsx)("a",{id:"llms-settings-info",href:l,target:"_blank",rel:"noopener noreferrer"})})),[l]),S=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags, %3$s is replaced by "llms.txt".. */ (0,Et.__)("Generate an automatic page selection based on %1$sYoast SEO’s best practices%2$s, or manually choose the pages to be included in your %3$s file.","wordpress-seo"),"<a>","</a>",rc),{a:(0,ur.jsx)("a",{id:"llms-best-practices",href:c,target:"_blank",rel:"noopener noreferrer"})})),[c]),j=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags */ (0,Et.__)("Pages are %1$sdisabled from being shown in the search results%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"llms-noindex-pages",href:"admin.php?page=wpseo_page_settings#/post-type/pages#input-wpseo_titles-noindex-page"})})),[]),E=(0,o.useCallback)((async e=>{var t;await e.push(0),null===(t=document.querySelector(`[data-id="input-wpseo_llmstxt-other_included_pages-${f.length}"]`))||void 0===t||t.click()}),[f]);(0,o.useEffect)((()=>{_&&"manual"===h&&!e.current&&(e.current=!0,d())}),[d,_,h]);const L=(0,o.useMemo)((()=>{var e;return!_&&"llm-txt"===(null===(e=sessionStorage)||void 0===e?void 0:e.getItem("yoast-highlight-setting"))}),[_]),[T,,,F,O]=(0,i.useToggleState)(!1);return(0,ur.jsx)(lo,{title:rc,description:k,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)("fieldset",{className:"yst-min-width-0 yst-space-y-8",children:[r&&y&&_&&(0,ur.jsx)(Jn,{reason:a}),(0,ur.jsxs)("div",{className:"yst-relative yst-max-w-sm",children:[(0,ur.jsx)(sc,{as:i.ToggleField,type:"checkbox",name:"wpseo.enable_llms_txt",id:"input-wpseo.enable_llms_txt",label:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("Enable %1$s file feature","wordpress-seo"),rc),description:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("Enabling this feature generates and updates an %1$s file weekly that lists a selection of your site's content.","wordpress-seo"),rc),className:L?"yst-popover-backdrop-highlight-button":""}),L&&(0,ur.jsx)(rl,{})]})]}),!x&&(0,ur.jsxs)(i.Button,{as:"a",id:"link-llms",href:_?n:null,variant:"secondary",target:"_blank",rel:"noopener",disabled:!_,"aria-disabled":!_,className:"yst-self-start yst-mt-8",children:[(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("View the %1$s file","wordpress-seo"),rc),(0,ur.jsx)(cr,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})]}),x&&(0,ur.jsxs)(i.Button,{id:"link-llms-unsaved-changes",variant:"secondary",className:"yst-self-start yst-mt-8",onClick:F,children:[(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("View the %1$s file","wordpress-seo"),rc),(0,ur.jsx)(cr,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})]}),(0,ur.jsx)(al,{isOpen:T,onClose:O,title:(0,Et.__)("Unsaved changes","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("You have unsaved changes. Please save to view the updated %1$s file.","wordpress-seo"),rc),onDiscard:O,dismissLabel:(0,Et.__)("Got it","wordpress-seo")}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("%1$s page selection","wordpress-seo"),rc),description:S,children:[g&&(0,ur.jsx)(i.Alert,{id:"llms-txt-disabled-pages-alert",variant:"info",className:"yst-max-w-md",children:j}),(0,ur.jsxs)(i.RadioGroup,{disabled:b,children:[(0,ur.jsx)(te,{as:i.Radio,type:"radio",name:"wpseo_llmstxt.llms_txt_selection_mode",id:"input-wpseo_llmstxt-llms_txt_selection_mode-auto",label:(0,Et.__)("Automatic page selection","wordpress-seo"),value:"auto",disabled:b}),(0,ur.jsx)(te,{as:i.Radio,type:"radio",name:"wpseo_llmstxt.llms_txt_selection_mode",id:"input-wpseo_llmstxt-llms_txt_selection_mode-manual",label:(0,Et.__)("Manual page selection","wordpress-seo"),value:"manual",disabled:b})]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("Manual page selection","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "llms.txt". (0,Et.__)("Select the pages that you want to include in the %1$s file","wordpress-seo"),rc),children:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(Ra,{name:"wpseo_llmstxt.about_us_page",id:"input-wpseo_llmstxt-about_us_page",label:(0,Et.__)("About us page","wordpress-seo"),className:"yst-max-w-sm",disabled:!v,selectedIds:w}),(0,ur.jsx)(Ra,{name:"wpseo_llmstxt.contact_page",id:"input-wpseo_llmstxt-contact_page",label:(0,Et.__)("Contact page","wordpress-seo"),className:"yst-max-w-sm",disabled:!v,selectedIds:w}),(0,ur.jsx)(Ra,{name:"wpseo_llmstxt.terms_page",id:"input-wpseo_llmstxt-terms_page",label:(0,Et.__)("Terms page","wordpress-seo"),className:"yst-max-w-sm",disabled:!v,selectedIds:w}),(0,ur.jsx)(Ra,{name:"wpseo_llmstxt.privacy_policy_page",id:"input-wpseo_llmstxt-privacy_policy_page",label:(0,Et.__)("Privacy policy","wordpress-seo"),className:"yst-max-w-sm",disabled:!v,selectedIds:w}),(0,ur.jsx)(Ra,{name:"wpseo_llmstxt.shop_page",id:"input-wpseo_llmstxt-shop_page",label:(0,Et.__)("Shop page","wordpress-seo"),className:"yst-max-w-sm",disabled:!v,selectedIds:w}),(0,ur.jsx)("hr",{className:"yst-my-8 yst-max-w-md"}),(0,ur.jsx)(ne,{name:"wpseo_llmstxt.other_included_pages",children:e=>(0,ur.jsx)(ur.Fragment,{children:(0,ur.jsxs)("div",{className:"yst-space-y-4",children:[f.map(((t,s)=>(0,ur.jsxs)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2 yst-mt-2",children:[(0,ur.jsx)(Ra,{name:`wpseo_llmstxt.other_included_pages.${s}`,id:`input-wpseo_llmstxt-other_included_pages-${s}`,label:0===s?(0,Et.__)("Content pages","wordpress-seo"):"",className:"yst-max-w-sm yst-flex-grow",disabled:!v,selectedIds:w}),(0,ur.jsx)(i.Button,{variant:"secondary",onClick:e.remove.bind(null,s),className:ir()("yst-p-2.5",0===s&&"yst-mt-7"),"aria-label":(0,Et.sprintf)((0,Et.__)("Remove page %1$s","wordpress-seo"),s+1),disabled:!v,children:(0,ur.jsx)(ec,{className:"yst-h-5 yst-w-5"})})]},`wpseo_llmstxt.other_included_pages.${s}`))),f.length<t&&(0,ur.jsxs)(i.Button,{id:"button-add-page",variant:"secondary",onClick:()=>E(e),disabled:!v,children:[(0,ur.jsx)(tc,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Et.__)("Add page","wordpress-seo")]})]})})})]})})]})})})},ic=()=>{const{name:e,label:t,hasSchemaArticleType:s}=ia("selectPostType",[],"attachment"),r=ia("selectPreference",[],"userLocale"),a=(0,o.useMemo)((()=>fi(t,r)),[t,r]),n=ia("selectReplacementVariablesFor",[e],e,"custom_post_type"),l=ia("selectRecommendedReplacementVariablesFor",[e],e,"custom_post_type"),c=ia("selectArticleTypeValuesFor",[e],e),d=ia("selectPageTypeValuesFor",[e],e),u=ia("selectLink",[],"https://yoa.st/media-pages-thin-content"),p=ia("selectLink",[],"https://yoa.st/show-x"),{values:m}=H(),{"disable-attachment":h,"noindex-attachment":f}=m.wpseo_titles,_=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing <a> tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Et.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"<a>","</a>",a,"Yoast SEO","WordPress"),{a:(0,ur.jsx)("a",{href:u,target:"_blank",rel:"noopener noreferrer"})})));return(0,ur.jsx)(lo,{title:(0,Et.sprintf)( // translators: %1$s expands to "Media". (0,Et.__)("%1$s pages","wordpress-seo"),t),description:_,children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsx)("fieldset",{className:"yst-min-width-0 yst-space-y-8",children:(0,ur.jsx)(ma,{name:`wpseo_titles.disable-${e}`,id:`input-wpseo_titles-disable-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to "media". (0,Et.__)("Enable %1$s pages","wordpress-seo"),a),description:(0,Et.sprintf)( // translators: %1$s expands to "media". (0,Et.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),a),className:"yst-max-w-sm"})}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Search appearance","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Et.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO"),children:[(0,ur.jsx)(ma,{name:`wpseo_titles.noindex-${e}`,id:`input-wpseo_titles-noindex-${e}`,label:(0,Et.sprintf)( // translators: %1$s expands to "media". (0,Et.__)("Show %1$s pages in search results","wordpress-seo"),a),description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.sprintf)( // translators: %1$s expands to "media". (0,Et.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a),(0,ur.jsx)("br",{}),(0,ur.jsx)(i.Link,{href:p,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about the search results settings","wordpress-seo")}),"."]}),disabled:h,checked:!h&&!f,className:"yst-max-w-sm"}),(0,ur.jsx)(ba,{type:"title",name:`wpseo_titles.title-${e}`,fieldId:`input-wpseo_titles-title-${e}`,label:(0,Et.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:l,disabled:h}),(0,ur.jsx)(ba,{type:"description",name:`wpseo_titles.metadesc-${e}`,fieldId:`input-wpseo_titles-metadesc-${e}`,label:(0,Et.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:l,disabled:h,className:"yst-replacevar--description"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Schema","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Et.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO"),children:[(0,ur.jsx)(yl,{as:i.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${e}`,id:`input-wpseo_titles-schema-page-type-${e}`,label:(0,Et.__)("Page type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),s&&(0,ur.jsxs)("div",{children:[(0,ur.jsx)(yl,{as:i.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${e}`,id:`input-wpseo_titles-schema-article-type-${e}`,label:(0,Et.__)("Article type","wordpress-seo"),options:c,disabled:h,className:"yst-max-w-sm"}),(0,ur.jsx)(Ua,{name:e,disabled:h})]})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("Additional settings","wordpress-seo"),children:(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${e}`,id:`input-wpseo_titles-display-metabox-pt-${e}`,label:(0,Et.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Et.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})})]})})})},nc=({children:e})=>(0,ur.jsx)(i.Table.Cell,{className:"yst-font-medium",children:(0,ur.jsx)("span",{className:"yst-text-slate-900",children:e})});nc.propTypes={children:lr().node.isRequired};const lc=()=>(0,ur.jsx)(lo,{title:(0,Et.__)("RSS","wordpress-seo"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("RSS feed","wordpress-seo"),description:(0,Et.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo"),children:[(0,ur.jsx)(te,{as:i.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Et.__)("Content to put before each post in the feed","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Et.__)("Content to put after each post in the feed","wordpress-seo")})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{as:"section",title:(0,Et.__)("Available variables","wordpress-seo"),description:(0,Et.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo"),children:(0,ur.jsxs)(i.Table,{children:[(0,ur.jsx)(i.Table.Head,{children:(0,ur.jsxs)(i.Table.Row,{children:[(0,ur.jsx)(i.Table.Header,{scope:"col",children:(0,Et.__)("Variable","wordpress-seo")}),(0,ur.jsx)(i.Table.Header,{scope:"col",children:(0,Et.__)("Description","wordpress-seo")})]})}),(0,ur.jsxs)(i.Table.Body,{children:[(0,ur.jsxs)(i.Table.Row,{children:[(0,ur.jsx)(nc,{children:"%%AUTHORLINK%%"}),(0,ur.jsx)(i.Table.Cell,{children:(0,Et.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo")})]}),(0,ur.jsxs)(i.Table.Row,{children:[(0,ur.jsx)(nc,{children:"%%POSTLINK%%"}),(0,ur.jsx)(i.Table.Cell,{children:(0,Et.__)("A link to the post, with the title as anchor text.","wordpress-seo")})]}),(0,ur.jsxs)(i.Table.Row,{children:[(0,ur.jsx)(nc,{children:"%%BLOGLINK%%"}),(0,ur.jsx)(i.Table.Cell,{children:(0,Et.__)("A link to your site, with your site's name as anchor text.","wordpress-seo")})]}),(0,ur.jsxs)(i.Table.Row,{children:[(0,ur.jsx)(nc,{children:"%%BLOGDESCLINK%%"}),(0,ur.jsx)(i.Table.Cell,{children:(0,Et.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo")})]})]})]})})]})})}),cc=()=>{const e=ia("selectLink",[],"https://yoa.st/schema-framework-structured-data"),t=ia("selectLink",[],"https://yoa.st/schema-framework-filters"),s=ia("selectLink",[],"https://yoa.st/schema-framework-schema-api"),r=ia("selectLink",[],"https://yoa.st/schema-documentation"),a=ia("selectSchemaIsSchemaDisabledProgrammatically",[]),{values:n,setFieldValue:l}=H(),[c,d]=(0,o.useState)(!1),[u,p]=(0,o.useState)(!1),{enable_schema:m}=n.wpseo,h=oa({isDisabledProgrammatically:a,confirmBeforeDisable:!0,fieldName:"wpseo.enable_schema",setFieldValue:l,onShowProgrammaticallyDisabledModal:(0,o.useCallback)((()=>p(!0)),[]),onShowDisableConfirmModal:(0,o.useCallback)((()=>d(!0)),[])}),f=(0,o.useCallback)((()=>{d(!1)}),[]),_=(0,o.useCallback)((()=>{l("wpseo.enable_schema",!1),d(!1)}),[l]),y=(0,o.useCallback)((()=>{p(!1)}),[]),w=(0,Et.sprintf)(/* translators: %1$s is replaced by "Yoast SEO". */ (0,Et.__)("The %1$s Schema Framework automatically builds a single, connected Schema graph for your site.","wordpress-seo"),"Yoast SEO"),g=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s and %2$s are replaced by opening and closing <a> tags. */ (0,Et.__)("Add %1$sstructured data%2$s to your pages, helping search engines and LLMs understand your content and display it in rich results.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"structured-data-link",href:e,target:"_blank",rel:"noopener"})})),[e]),b=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /* * translators: %1$s and %2$s are replaced by opening and closing <a> tags for Schema API link. * %3$s and %4$s are replaced by opening and closing <a> tags for Schema documentation link. */ (0,Et.__)("Fine-tune how your site's data appears with our %1$sSchema API%2$s and WordPress filters. For full details and setup guidance, visit the %3$sSchema documentation%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,ur.jsx)("a",{href:s,target:"_blank",rel:"noopener"}),a2:(0,ur.jsx)("a",{href:r,target:"_blank",rel:"noopener"})})),[s,r]),v=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /* * translators: %1$s expands to `wpseo_json_ld_output`, %2$s expands to `false`, * %3$s and %4$s are replaced by opening and closing <a> tags */ (0,Et.__)("It looks like the Yoast Schema Framework is disabled. The %1$s filter has been set to %2$s or an empty array either by a third-party plugin or via custom development on the website, which turns off Schema output. %3$sLearn more about the filter%4$s.","wordpress-seo"),"<code1 />","<code2 />","<a>","</a>"),{a:(0,ur.jsx)("a",{id:"llms-filter-learn-more-link",target:"_blank",href:t,rel:"noreferrer"}),code1:(0,ur.jsx)(i.Code,{children:"wpseo_json_ld_output"}),code2:(0,ur.jsx)(i.Code,{children:"false"})})),[t]);return(0,ur.jsxs)(lo,{title:(0,Et.__)("Schema Framework","wordpress-seo"),description:w,children:[(0,ur.jsxs)(ua,{children:[(0,ur.jsx)("div",{className:"yst-max-w-5xl",children:(0,ur.jsxs)("fieldset",{className:"yst-min-width-0 yst-space-y-8",children:[a&&(0,ur.jsxs)(i.Alert,{id:"disabled-schema-alert",variant:"info",className:"yst-max-w-xl",children:[(0,ur.jsx)("span",{className:"yst-block yst-font-medium yst-mb-2",children:(0,Et.__)("Schema output disabled","wordpress-seo")}),v]}),(0,ur.jsx)("div",{className:"yst-relative yst-max-w-sm",children:(0,ur.jsx)(i.ToggleField,{id:"input-wpseo.enable_schema",label:(0,Et.__)("Enable Schema Framework","wordpress-seo"),description:g,checked:!a&&m,onChange:h})})]})}),(0,ur.jsx)("hr",{className:"yst-my-8 yst-w-3/4"}),(0,ur.jsx)(_l,{isDisabled:a||!m}),(0,ur.jsx)("hr",{className:"yst-my-8 yst-w-3/4"}),(0,ur.jsx)("fieldset",{className:"yst-min-w-0",children:(0,ur.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,ur.jsx)("span",{className:"yst-block yst-font-medium yst-text-slate-800",children:(0,Et.__)("Schema for devs","wordpress-seo")}),(0,ur.jsx)("p",{className:"yst-mt-1",children:b})]})})]}),(0,ur.jsx)(dl,{isOpen:c,onClose:f,onConfirm:_}),(0,ur.jsx)(ul,{isOpen:u,onClose:y})]})},dc=Fl(i.ToggleField),uc=Pl(Pa),pc=()=>{const e=(0,o.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),t=ia("selectPreference",[],"generalSettingsUrl"),s=ia("selectPreference",[],"canManageOptions",!1),r=ia("selectPreference",[],"showForceRewriteTitlesSetting",!1),a=ia("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=ia("selectLink",[],"https://yoa.st/usage-tracking-2"),l=ia("selectLink",[],"https://yoa.st/site-policies-learn-more"),c=ia("selectPreference",[],"siteTitle",""),d=ia("selectLink",[],"https://yoa.st/site-policies-upsell"),u=ia("selectPreference",[],"isPremium"),p=ia("selectUpsellSettingsAsProps"),{fetchPages:m}=sa(),h=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),f=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Et.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{id:"link-site-policies",href:l,target:"_blank",rel:"noopener"})})),[l]),_=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Et.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"<em>","</em>","<a>","</a>"),{em:(0,ur.jsx)("em",{}),a:(0,ur.jsx)("a",{id:"site-basics-replacement-variables",href:a,target:"_blank",rel:"noopener"})})),[]),y=(0,o.useMemo)((()=>dr((0,Et.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Et.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"<em>","</em>"),{em:(0,ur.jsx)("em",{})})),[]),w=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})})),[]),g=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Et.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ur.jsx)("a",{href:`${t}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),b=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),v=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),x=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),k=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),S=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),j=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),E=(0,o.useMemo)((()=>dr((0,Et.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Et.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"<i>","</i>"),{i:(0,ur.jsx)("i",{})})),[]),{values:L}=H(),{opengraph:T}=L.wpseo_social;return(0,o.useEffect)((()=>{m()}),[m]),(0,ur.jsx)(lo,{title:(0,Et.__)("Site basics","wordpress-seo"),description:(0,Et.__)("Configure the basics for your website.","wordpress-seo"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Site info","wordpress-seo"),description:_,children:[!s&&(0,ur.jsx)(i.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8",children:y}),(0,ur.jsxs)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8",children:[(0,ur.jsx)(wl,{as:i.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Et.__)("Website name","wordpress-seo"),placeholder:c}),(0,ur.jsx)(wl,{as:i.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Et.__)("Alternate website name","wordpress-seo"),description:(0,Et.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,ur.jsx)(te,{as:i.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Et.__)("Tagline","wordpress-seo"),description:s&&g,readOnly:!s})]}),(0,ur.jsx)(i.RadioGroup,{label:(0,Et.__)("Title separator","wordpress-seo"),variant:"inline-block",children:(0,le.map)(e,(({label:e,aria_label:t},s)=>(0,ur.jsx)(te,{as:i.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${s}`,label:e,isLabelDangerousHtml:!0,"aria-label":t,value:s},s)))}),(0,ur.jsx)(Ba,{isEnabled:T,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Et.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,ur.jsx)(ya,{id:"wpseo_social-og_default_image",label:(0,Et.__)("Site image","wordpress-seo"),description:(0,Et.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:w,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!T})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{title:(0,Et.__)("Site preferences","wordpress-seo"),children:[r&&(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Et.__)("Force rewrite titles","wordpress-seo"),description:(0,Et.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Et.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,ur.jsx)(yl,{as:i.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Et.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Et.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Et.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,ur.jsx)(yl,{as:dc,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Et.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.__)("Site policies","wordpress-seo"),u&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"})]}),description:f,children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!u,variant:"card",cardLink:d,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...p,children:[(0,ur.jsx)(uc,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Et.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:b,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Et.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Et.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Et.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Et.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Et.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:j,isDummy:!u}),(0,ur.jsx)(uc,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Et.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!u})]})})]})})})};var mc,hc,fc,_c,yc,wc;function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},gc.apply(null,arguments)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},bc.apply(null,arguments)}function vc(){return vc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},vc.apply(null,arguments)}const xc={aiGenerator:{name:"wpseo.enable_ai_generator",id:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",Icon:e=>n.createElement("svg",gc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),mc||(mc=n.createElement("g",{fill:"#fff",clipPath:"url(#icon-sparkles_svg__a)"},n.createElement("path",{d:"M13.76 31.68h1.725a1.03 1.03 0 0 0 1.03-1.028 1.03 1.03 0 0 0-1.03-1.03H13.76v-1.725a1.03 1.03 0 0 0-1.029-1.03 1.03 1.03 0 0 0-1.029 1.03v1.726H9.975a1.03 1.03 0 0 0-1.029 1.029 1.03 1.03 0 0 0 1.029 1.029h1.726v1.726a1.03 1.03 0 0 0 1.03 1.03 1.03 1.03 0 0 0 1.028-1.03v-1.726zM11.348 7.56a1.03 1.03 0 0 0-1.029 1.03v1.725H8.593a1.03 1.03 0 0 0-1.029 1.03 1.03 1.03 0 0 0 1.03 1.028h1.725V14.1a1.03 1.03 0 0 0 1.03 1.029 1.03 1.03 0 0 0 1.028-1.03v-1.726h1.726a1.03 1.03 0 0 0 1.03-1.029 1.03 1.03 0 0 0-1.03-1.029h-1.726V8.59a1.03 1.03 0 0 0-1.029-1.029zm7.056 17.187 2.995 8.987a1.03 1.03 0 0 0 1.957 0l2.995-8.988 7.417-2.78c.399-.151.668-.538.668-.966 0-.428-.269-.815-.668-.966l-7.417-2.78-.034-.097-2.965-8.891a1.03 1.03 0 0 0-1.957 0L18.4 17.254l-7.417 2.78a1.037 1.037 0 0 0-.668.966c0 .428.269.815.668.966l7.417 2.78h.004zm1.185-5.738c.294-.109.516-.344.617-.638l2.172-6.523 2.175 6.519c.101.298.324.529.618.638l5.304 1.99-5.304 1.992a1.034 1.034 0 0 0-.618.638l-2.175 6.518-2.172-6.518a1.013 1.013 0 0 0-.617-.638l-5.305-1.991 5.305-1.99v.003z"}))),hc||(hc=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-sparkles_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),isPremiumFeature:!1,title:"Yoast AI",description:(0,Et.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo"),learnMoreUrl:"https://yoa.st/ai-generator-feature",learnMoreLinkId:"link-ai-generator",learnMoreLinkAriaLabel:(0,Et.__)("AI title & description generator","wordpress-seo")},llmsTxt:{name:"wpseo.enable_llms_txt",id:"card-wpseo-enable_llms_txt",inputId:"input-wpseo-enable_llms_txt",Icon:e=>n.createElement("svg",bc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),fc||(fc=n.createElement("g",{fill:"#fff",clipPath:"url(#icon-llms-txt_svg__a)"},n.createElement("path",{d:"M30.962 16.707a3.3 3.3 0 0 0-.974-2.347l-5.67-5.67a3.322 3.322 0 0 0-2.348-.975h-7.614a3.321 3.321 0 0 0-3.323 3.322v7.355h19.93v-1.684zM11.403 32.479v.012h.008a3.324 3.324 0 0 0 2.949 1.794h13.284a3.32 3.32 0 0 0 2.949-1.794h.008v-.012c.155-.303.26-.63.32-.975H11.087c.059.345.164.677.32.975h-.005zm21.651-13.037H8.946c-.882 0-1.596.714-1.596 1.596v7.677c0 .883.714 1.596 1.596 1.596h24.112c.882 0 1.596-.713 1.596-1.596v-7.677c0-.882-.714-1.596-1.596-1.596h-.004zm-18.787 8.656H9.832v-6.422h1.701v4.998h2.734v1.424zm5.93 0h-4.434v-6.422h1.7v4.998h2.735v1.424zm5.96 0h-1.402v-1.512c0-.76.138-2.507.218-3.26h-.03l-.541 1.908-.336 1.163h-.752l-.357-1.163-.495-1.907h-.038c.08.752.218 2.499.218 3.26v1.511H21.26v-6.422h1.73l.526 2.096.176.832h.038l.176-.832.525-2.096h1.73v6.422h-.004zm3.44.118a3.88 3.88 0 0 1-2.49-.92l.966-1.163c.483.365 1.058.621 1.638.621.512 0 .71-.168.71-.374 0-.373-.337-.453-.929-.701l-.802-.336c-.74-.277-1.352-.861-1.352-1.79 0-1.096.987-1.994 2.448-1.994.76 0 1.571.277 2.193.86l-.849 1.067c-.462-.306-.831-.462-1.44-.462-.374 0-.635.14-.635.437 0 .299.366.404 1.009.643l.739.306c.86.316 1.352.87 1.352 1.76 0 1.088-.907 2.054-2.566 2.054l.008-.008z"}))),_c||(_c=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-llms-txt_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),isPremiumFeature:!1,title:(0,Et.__)("llms.txt","wordpress-seo"),description:(0,Et.__)("Generate a file that points to your website's most relevant content. Designed to help AI Assistants understand your website better.","wordpress-seo"),learnMoreUrl:"https://yoa.st/site-features-llmstxt-learn-more",learnMoreLinkId:"link-llms-txt",learnMoreLinkAriaLabel:(0,Et.__)("llms.txt","wordpress-seo")},schemaAggregation:{name:"wpseo.enable_schema_aggregation_endpoint",id:"card-wpseo-enable_schema_aggregation_endpoint",inputId:"input-wpseo-enable_schema_aggregation_endpoint",Icon:e=>n.createElement("svg",vc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),yc||(yc=n.createElement("g",{clipPath:"url(#icon-schema-aggregation-endpoint_svg__a)"},n.createElement("path",{d:"M42 0H0v42h42V0z"}),n.createElement("g",{opacity:.5},n.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.088,d:"M31.572 18v-7.592c0-.924-.752-1.676-1.676-1.676h-17.77c-.925 0-1.676.752-1.676 1.676V18m21.122 8.5v5.088c0 .924-.752 1.676-1.676 1.676h-17.77a1.678 1.678 0 0 1-1.676-1.676v-5.295"}),n.createElement("path",{fill:"#fff",d:"M10.82 9.177v2.172h20.743V9.177H10.82zm1.268 1.31a.459.459 0 0 1 0-.915.459.459 0 0 1 0 .916zm1.277 0a.459.459 0 0 1 0-.915.459.459 0 0 1 0 .916zm1.239 0a.459.459 0 0 1 0-.915.459.459 0 0 1 0 .916z"})),n.createElement("path",{fill:"#fff",d:"M28.165 12.676H13.742c-.582 0-1.054.472-1.054 1.054v.004c0 .582.472 1.054 1.054 1.054h14.423c.582 0 1.054-.472 1.054-1.054v-.004c0-.582-.472-1.054-1.054-1.054zm-7.854 16.875h-6.569c-.582 0-1.054.472-1.054 1.055v.004c0 .582.472 1.054 1.054 1.054h6.569c.582 0 1.054-.472 1.054-1.054v-.005c0-.582-.472-1.054-1.054-1.054z",opacity:.5}),n.createElement("path",{fill:"#fff",d:"M24.196 32.218c-.189 0-.382-.038-.563-.118a1.406 1.406 0 0 1-.848-1.293v-2.381H13.58a6.234 6.234 0 0 1-6.229-6.23 6.234 6.234 0 0 1 6.229-6.228h14.843a6.234 6.234 0 0 1 6.228 6.229c0 3.436-2.579 6.01-5.83 6.216l-3.662 3.427a1.423 1.423 0 0 1-.962.382v-.004zM13.58 17.93a4.275 4.275 0 0 0-4.273 4.27 4.275 4.275 0 0 0 4.272 4.271H24.75v3.08l3.288-3.08h.387a4.275 4.275 0 0 0 4.271-4.27 4.275 4.275 0 0 0-4.271-4.272H13.579z"}),n.createElement("path",{fill:"#fff",d:"M15.804 24.818a.465.465 0 0 1-.323-.13l-.907-.907a2.198 2.198 0 0 1-2.865-.446 2.197 2.197 0 0 1-.508-1.402c0-.588.227-1.139.643-1.55a2.194 2.194 0 0 1 3.742 1.55c0 .42-.122.827-.344 1.176l.89.89a.474.474 0 0 1-.315.815H15.8l.004.004zm-2.41-4.124c-.685 0-1.24.558-1.24 1.239 0 .68.56 1.239 1.24 1.239.68 0 1.239-.559 1.239-1.24 0-.68-.559-1.238-1.24-1.238z"}))),wc||(wc=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-schema-aggregation-endpoint_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),isPremiumFeature:!1,title:(0,Et.__)("Schema aggregation endpoint","wordpress-seo"),description:(0,Et.__)("Provides everything required to connect with your site's public structured data. This enables conversational interfaces like NLWeb to power natural language queries on your content.","wordpress-seo"),learnMoreUrl:"https://yoa.st/schema-aggregation-toggle",learnMoreLinkId:"link-schema-aggregation-endpoint",learnMoreLinkAriaLabel:(0,Et.__)("Schema aggregation endpoint","wordpress-seo")}};var kc,Sc,jc,Ec,Lc,Tc,Fc,Oc,Pc,Mc,$c,Rc,Cc,Nc,Ac,Ic,Dc,zc,Uc,Vc,Bc,Hc;function qc(){return qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},qc.apply(null,arguments)}function Wc(){return Wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Wc.apply(null,arguments)}function Gc(){return Gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Gc.apply(null,arguments)}function Yc(){return Yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Yc.apply(null,arguments)}const Kc={keywordAnalysis:{name:"wpseo.keyword_analysis_active",id:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",Icon:e=>n.createElement("svg",qc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-seo-analysis_svg__a)"},n.createElement("mask",{id:"icon-seo-analysis_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},kc||(kc=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-seo-analysis_svg__b)"},n.createElement("mask",{id:"icon-seo-analysis_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Sc||(Sc=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),jc||(jc=n.createElement("g",{mask:"url(#icon-seo-analysis_svg__c)"},n.createElement("path",{fill:"url(#icon-seo-analysis_svg__pattern0_657_2290)",d:"M-2.234-2.217h46.368v46.368H-2.234z"})))),Ec||(Ec=n.createElement("path",{fill:"#fff",d:"M25.41 7.35h-8.954a4.775 4.775 0 0 0-4.557 4.641v17.963a4.653 4.653 0 0 0 4.611 4.696h8.9a4.653 4.653 0 0 0 4.696-4.611V11.99a4.794 4.794 0 0 0-4.696-4.64zm2.591 21.95a3.233 3.233 0 0 1-3.208 3.233H17.16a3.236 3.236 0 0 1-3.209-3.234V12.617a3.233 3.233 0 0 1 3.21-3.234h7.63a3.236 3.236 0 0 1 3.21 3.234v16.682z"})),Lc||(Lc=n.createElement("path",{fill:"#fff",d:"M20.975 23.906a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0-7.22a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0 14.499a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871z"}))),Tc||(Tc=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-seo-analysis_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("SEO analysis","wordpress-seo"),description:(0,Et.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo"),learnMoreUrl:"https://yoa.st/2ak",learnMoreLinkId:"link-seo-analysis",learnMoreLinkAriaLabel:(0,Et.__)("SEO analysis","wordpress-seo")},contentAnalysis:{name:"wpseo.content_analysis_active",id:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",Icon:e=>n.createElement("svg",Wc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-readability-analysis_svg__a)"},n.createElement("mask",{id:"icon-readability-analysis_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Fc||(Fc=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-readability-analysis_svg__b)"},n.createElement("mask",{id:"icon-readability-analysis_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Oc||(Oc=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Pc||(Pc=n.createElement("g",{mask:"url(#icon-readability-analysis_svg__c)"},n.createElement("path",{fill:"url(#icon-readability-analysis_svg__pattern0_686_2333)",d:"M-2.234-2.285h46.368v46.57H-2.234z"})))),Mc||(Mc=n.createElement("path",{fill:"#fff",d:"M10.626 34.402a.147.147 0 0 0 .017.21.147.147 0 0 0 .24-.076c4.287-7.387 8.563-3.973 14.422-7.837-3.986 0-5.082-2.13-5.082-2.13a9.556 9.556 0 0 0 7.182.534c1.365-1.092 3.81-3.603 4.003-9a4.7 4.7 0 0 1-3.306.394 6.573 6.573 0 0 0 3.276-2.322 7.99 7.99 0 0 0-3.742-6.83c1.08 14.108-12.524 8.031-15.935 24.978a17.13 17.13 0 0 1 7.909-8.891c3.864-2.033 7.03-4.003 8.194-9.165-.874 6.229-3.688 8.535-7.58 10.282-3.634 1.638-7.364 3.658-9.602 9.845l.004.008z"}))),$c||($c=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-readability-analysis_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Readability analysis","wordpress-seo"),description:(0,Et.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo"),learnMoreUrl:"https://yoa.st/2ao",learnMoreLinkId:"link-readability-analysis",learnMoreLinkAriaLabel:(0,Et.__)("Readability analysis","wordpress-seo")},inclusiveLanguageAnalysis:{name:"wpseo.inclusive_language_analysis_active",id:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",Icon:e=>n.createElement("svg",Gc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-inclusive-language-analysis_svg__a)"},n.createElement("mask",{id:"icon-inclusive-language-analysis_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Rc||(Rc=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-inclusive-language-analysis_svg__b)"},n.createElement("mask",{id:"icon-inclusive-language-analysis_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Cc||(Cc=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Nc||(Nc=n.createElement("g",{mask:"url(#icon-inclusive-language-analysis_svg__c)"},n.createElement("path",{fill:"url(#icon-inclusive-language-analysis_svg__pattern0_686_2369)",d:"M-2.234-2.15h46.368v46.368H-2.234z"})))),Ac||(Ac=n.createElement("path",{fill:"#fff",d:"M30.799 8.052H11.2a3.848 3.848 0 0 0-3.851 3.851v11.201a3.848 3.848 0 0 0 3.851 3.852h6.565l6.69 6.69a1.053 1.053 0 0 0 1.793-.743v-5.951h4.55A3.848 3.848 0 0 0 34.65 23.1V11.9a3.848 3.848 0 0 0-3.851-3.852v.005zm0 2.1c.966 0 1.751.785 1.751 1.751v11.201c0 .966-.785 1.752-1.751 1.752H25.2c-.575 0-1.05.474-1.05 1.05v4.464l-5.208-5.208a1.045 1.045 0 0 0-.743-.306h-7.002a1.753 1.753 0 0 1-1.751-1.752V11.903c0-.966.785-1.751 1.751-1.751"})),Ic||(Ic=n.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M15.805 15.889c0-1.428 1.218-2.592 2.7-2.592 1.122 0 2.07.643 2.49 1.584.408-.924 1.374-1.584 2.491-1.584 1.5 0 2.7 1.164 2.7 2.592 0 4.17-5.195 6.93-5.195 6.93s-5.195-2.76-5.195-6.93h.009z",clipRule:"evenodd"}))),Dc||(Dc=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-inclusive-language-analysis_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Inclusive language analysis","wordpress-seo"),description:(0,Et.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo"),learnMoreUrl:"https://yoa.st/inclusive-language-feature-learn-more",learnMoreLinkId:"link-inclusive-language-analysis",learnMoreLinkAriaLabel:(0,Et.__)("Inclusive language analysis","wordpress-seo")},insights:{name:"wpseo.enable_metabox_insights",id:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",Icon:e=>n.createElement("svg",Yc({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-insights_svg__a)"},n.createElement("mask",{id:"icon-insights_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},zc||(zc=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-insights_svg__b)"},n.createElement("mask",{id:"icon-insights_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Uc||(Uc=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Vc||(Vc=n.createElement("g",{mask:"url(#icon-insights_svg__c)"},n.createElement("path",{fill:"url(#icon-insights_svg__pattern0_686_2408)",d:"M-2.234-2.217h46.368v46.368H-2.234z"})))),Bc||(Bc=n.createElement("path",{fill:"#fff",d:"M21 34.65a4.003 4.003 0 0 1-3.998-3.999v-.73c0-.9-.366-1.777-1-2.411l-.756-.752a8.078 8.078 0 0 1-2.382-5.754c0-2.171.849-4.217 2.382-5.75a8.076 8.076 0 0 1 5.75-2.381c2.171 0 4.216.848 5.75 2.381 3.17 3.171 3.17 8.333 0 11.504l-.756.756a3.52 3.52 0 0 0-.639.878c-.012.033-.03.063-.046.096a3.42 3.42 0 0 0-.315 1.441v.73a4.003 4.003 0 0 1-3.998 4l.008-.01zm-1.57-5.515c.033.26.054.521.054.786v.73c0 .836.68 1.517 1.516 1.517s1.516-.68 1.516-1.517v-.73c0-.265.017-.525.05-.786H19.43zm-.938-2.482h5.011c.214-.32.462-.622.74-.899l.755-.756a5.663 5.663 0 0 0 0-7.992A5.616 5.616 0 0 0 21 15.35a5.63 5.63 0 0 0-3.998 1.655 5.616 5.616 0 0 0-1.655 3.998c0 1.512.588 2.927 1.655 3.998l.756.752c.277.277.52.58.735.903v-.004zm14.919-4.414h-1.378a1.239 1.239 0 1 1 0-2.478h1.378a1.239 1.239 0 1 1 0 2.478zm-23.44 0H8.593a1.239 1.239 0 1 1 0-2.478h1.378a1.239 1.239 0 1 1 0 2.478zm18.828-7.8a1.245 1.245 0 0 1-.878-2.121l.975-.974a1.24 1.24 0 1 1 1.756 1.756l-.975.974a1.234 1.234 0 0 1-.878.365zm-15.598 0a1.23 1.23 0 0 1-.878-.365l-.975-.974a1.245 1.245 0 0 1 0-1.756 1.245 1.245 0 0 1 1.756 0l.974.974a1.245 1.245 0 0 1-.877 2.121zM21 11.21a1.239 1.239 0 0 1-1.24-1.238V8.593a1.242 1.242 0 0 1 2.482 0v1.378A1.24 1.24 0 0 1 21 11.21z"}))),Hc||(Hc=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-insights_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Insights","wordpress-seo"),description:(0,Et.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo"),learnMoreUrl:"https://yoa.st/4ew",learnMoreLinkId:"link-insights",learnMoreLinkAriaLabel:(0,Et.__)("Insights","wordpress-seo")}};var Zc,Jc,Qc,Xc,ed,td,sd,rd,ad,od,id,nd,ld,cd,dd,ud,pd,md;function hd(){return hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},hd.apply(null,arguments)}function fd(){return fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},fd.apply(null,arguments)}function _d(){return _d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},_d.apply(null,arguments)}const yd={cornerstoneContent:{name:"wpseo.enable_cornerstone_content",id:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",Icon:e=>n.createElement("svg",hd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-cornerstone-content_svg__a)"},n.createElement("mask",{id:"icon-cornerstone-content_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Zc||(Zc=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-cornerstone-content_svg__b)"},n.createElement("mask",{id:"icon-cornerstone-content_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Jc||(Jc=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Qc||(Qc=n.createElement("g",{mask:"url(#icon-cornerstone-content_svg__c)"},n.createElement("path",{fill:"url(#icon-cornerstone-content_svg__pattern0_686_118)",d:"M-2.1-2.217h46.368v46.368H-2.1z"})))),Xc||(Xc=n.createElement("path",{fill:"#fff",d:"M22.949 11.08a2.197 2.197 0 0 0-3.826 0l-4.133 7.152h12.087l-4.132-7.152h.004zm-5.582 5.976 3.032-5.241a.745.745 0 0 1 .635-.374.71.71 0 0 1 .634.374l3.032 5.241m-9.937 1.911-4.175 7.359h.013l-.021.046h9.61v-7.4h-5.423l-.004-.005zm-1.798 6.191 2.739-4.99h3.066v4.982h-5.796l-.013.012.004-.004zm8.795-6.19v7.4l9.744-.046-4.175-7.359H21.76v.004zm1.424 6.177v-4.98h3.213l2.738 4.989h-5.943l-.012-.013.004.005zm-13.07 2.176-2.764 4.72h27.3l-2.558-4.72H10.114zm20.97 1.235 1.155 2.23-22.49.067 1.242-2.23 20.089-.067h.004z"}))),ed||(ed=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-cornerstone-content_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Cornerstone content","wordpress-seo"),description:(0,Et.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo"),learnMoreUrl:"https://yoa.st/dashboard-help-cornerstone",learnMoreLinkId:"link-cornerstone-content",learnMoreLinkAriaLabel:(0,Et.__)("Cornerstone content","wordpress-seo")},textLinkCounter:{name:"wpseo.enable_text_link_counter",id:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",Icon:e=>n.createElement("svg",fd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-text-link-counter_svg__a)"},n.createElement("mask",{id:"icon-text-link-counter_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},td||(td=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-text-link-counter_svg__b)"},n.createElement("mask",{id:"icon-text-link-counter_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},sd||(sd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),n.createElement("g",{mask:"url(#icon-text-link-counter_svg__c)"},n.createElement("mask",{id:"icon-text-link-counter_svg__d",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},rd||(rd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),ad||(ad=n.createElement("g",{mask:"url(#icon-text-link-counter_svg__d)"},n.createElement("path",{fill:"url(#icon-text-link-counter_svg__pattern0_686_199)",d:"M-2.1-2.285h46.368v46.57H-2.1z"}))))),od||(od=n.createElement("path",{fill:"#fff",d:"M10.122 26.57c5.242-3.503 7.95 1.457 8.938 2.465l-1.554 1.533a.504.504 0 0 0 .302.86h6.817a.505.505 0 0 0 .504-.503v-6.657c0-.277-.231-.5-.509-.5a.497.497 0 0 0-.348.147l-1.512 1.478c-3.88-3.88-8.404-5.014-13.02.803a.271.271 0 0 0 .004.382c.105.105.277.1.382-.004l-.004-.005z"})),id||(id=n.createElement("path",{fill:"#fff",d:"M22.57 16.645c-5.24 3.502-7.95-1.458-8.937-2.466l1.554-1.533a.504.504 0 0 0-.302-.86H8.068a.505.505 0 0 0-.504.503v6.657c0 .277.231.5.508.5.13 0 .257-.055.349-.147l1.512-1.478c3.88 3.88 8.404 5.014 13.02-.803a.271.271 0 0 0-.004-.382.271.271 0 0 0-.382.004l.004.005z"})),nd||(nd=n.createElement("path",{fill:"#fff",d:"m33.869 13.108-5.174-5.187a1.915 1.915 0 0 0-1.374-.57H15.834a2.405 2.405 0 0 0-2.402 2.401v.845h1.508c.21.03.411.105.588.218V9.752a.3.3 0 0 1 .302-.302h8.723v5.103c0 1.432 1.168 2.6 2.6 2.6h5.179v15.095a.301.301 0 0 1-.303.302H15.826a.301.301 0 0 1-.303-.302v-4.67c-.575-.328-1.222-.55-1.957-.55a1.45 1.45 0 0 0-.143.008v5.212a2.405 2.405 0 0 0 2.403 2.402h16.203a2.405 2.405 0 0 0 2.403-2.402v-17.77a1.93 1.93 0 0 0-.567-1.37h.004zm-1.533 1.945h-5.179a.501.501 0 0 1-.5-.5V9.45h.597l5.082 5.095v.508z"}))),ld||(ld=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-text-link-counter_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Text link counter","wordpress-seo"),description:(0,Et.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo"),learnMoreUrl:"https://yoa.st/2aj",learnMoreLinkId:"link-text-link-counter",learnMoreLinkAriaLabel:(0,Et.__)("Text link counter","wordpress-seo")},internalLinkingSuggestions:{name:"wpseo.enable_link_suggestions",id:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",Icon:e=>n.createElement("svg",_d({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-internal-linking-suggestions_svg__a)"},n.createElement("mask",{id:"icon-internal-linking-suggestions_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},cd||(cd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__b)"},n.createElement("mask",{id:"icon-internal-linking-suggestions_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},dd||(dd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),ud||(ud=n.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__c)"},n.createElement("path",{fill:"url(#icon-internal-linking-suggestions_svg__pattern0_686_278)",d:"M-2.1-2.15h46.368v46.368H-2.1z"})))),pd||(pd=n.createElement("path",{fill:"#fff",d:"m31.416 12.092-4.208-4.217a1.766 1.766 0 0 0-1.26-.521h-9.341c-1.185 0-2.15.966-2.15 2.15v2.554h-2.243c-1.185 0-2.15.966-2.15 2.15V32.5c0 1.185.965 2.15 2.15 2.15h13.175c1.184 0 2.15-.965 2.15-2.15v-2.553h2.243c1.185 0 2.15-.966 2.15-2.15V13.346c0-.474-.184-.92-.52-1.255h.004zm-1.588 1.39v.143H25.81a.206.206 0 0 1-.206-.206V9.454h.21l4.015 4.028zm-4.393 19.017a.047.047 0 0 1-.046.047H12.214a.047.047 0 0 1-.047-.047V14.21c0-.026.021-.047.047-.047h2.242v13.633c0 1.185.966 2.15 2.15 2.15h8.825V32.5h.004zm4.347-4.662H16.607a.047.047 0 0 1-.046-.046V9.501c0-.026.02-.047.046-.047h6.888v3.965a2.314 2.314 0 0 0 2.31 2.31h4.02V27.79a.047.047 0 0 1-.047.046h.004z"}))),md||(md=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-internal-linking-suggestions_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Internal linking suggestions","wordpress-seo"),description:(0,Et.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo"),learnMoreUrl:"https://yoa.st/4ev",learnMoreLinkId:"link-link-suggestions",learnMoreLinkAriaLabel:(0,Et.__)("Link suggestions","wordpress-seo"),isPremiumFeature:!0,isPremiumLink:"https://yoa.st/get-link-suggestions"}};var wd,gd,bd,vd,xd,kd,Sd,jd,Ed,Ld,Td,Fd,Od,Pd,Md,$d,Rd,Cd,Nd,Ad,Id,Dd,zd,Ud,Vd;function Bd(){return Bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Bd.apply(null,arguments)}function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Hd.apply(null,arguments)}function qd(){return qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},qd.apply(null,arguments)}function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Wd.apply(null,arguments)}const Gd={schemaFramework:{name:"wpseo.enable_schema",id:"card-wpseo-enable_schema",inputId:"input-wpseo-enable_schema",Icon:e=>n.createElement("svg",Wd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-schema-framework_svg__a)"},n.createElement("mask",{id:"icon-schema-framework_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Rd||(Rd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-schema-framework_svg__b)"},n.createElement("mask",{id:"icon-schema-framework_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Cd||(Cd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Nd||(Nd=n.createElement("g",{mask:"url(#icon-schema-framework_svg__c)"},n.createElement("path",{fill:"url(#icon-schema-framework_svg__pattern0_686_1029)",d:"M-2.1-2.217h46.368v46.368H-2.1z"})))),Ad||(Ad=n.createElement("path",{fill:"#fff",d:"M21.038 24.641a3.641 3.641 0 1 0 0-7.283 3.641 3.641 0 0 0 0 7.283z"})),Id||(Id=n.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.68,d:"M21.038 14.427a3.515 3.515 0 1 0 0-7.031 3.515 3.515 0 0 0 0 7.03z"})),Dd||(Dd=n.createElement("path",{fill:"#fff",d:"M9.253 17.439a2.264 2.264 0 1 0 0-4.528 2.264 2.264 0 0 0 0 4.528zm23.852-.362a2.264 2.264 0 1 0 0-4.528 2.264 2.264 0 0 0 0 4.528zM21.038 34.96a2.264 2.264 0 1 0 0-4.527 2.264 2.264 0 0 0 0 4.528z"})),zd||(zd=n.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:2.1,d:"M21.038 14.427v16.8M9.252 15.174l18.863 9.366m4.633-9.366-18.745 9.068"})),Ud||(Ud=n.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.68,d:"M10.958 29.505a3.515 3.515 0 1 0 0-7.03 3.515 3.515 0 0 0 0 7.03zM31 29.266a3.515 3.515 0 1 0 0-7.031 3.515 3.515 0 0 0 0 7.03z"}))),Vd||(Vd=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-schema-framework_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Schema Framework","wordpress-seo"),description:(0,Et.__)("Outputs a single graph the web can understand. Makes every person, product, organization, and piece of content consistently readable to search engines and language models.","wordpress-seo"),learnMoreLinkId:"link-schema-framework",learnMoreUrl:"https://yoa.st/site-features-schema-framework",learnMoreLinkAriaLabel:(0,Et.__)("Schema Framework","wordpress-seo")},xmlSitemaps:{name:"wpseo.enable_xml_sitemap",id:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",Icon:e=>n.createElement("svg",Bd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-xml-sitemaps_svg__a)"},n.createElement("mask",{id:"icon-xml-sitemaps_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},wd||(wd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-xml-sitemaps_svg__b)"},n.createElement("mask",{id:"icon-xml-sitemaps_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},gd||(gd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),bd||(bd=n.createElement("g",{mask:"url(#icon-xml-sitemaps_svg__c)"},n.createElement("path",{fill:"url(#icon-xml-sitemaps_svg__pattern0_686_1125)",d:"M-2.1-2.285h46.368v46.57H-2.1z"})))),vd||(vd=n.createElement("path",{fill:"#fff",d:"M29.043 33.461h3.062a2.338 2.338 0 0 0 2.335-2.335v-3.062a2.338 2.338 0 0 0-2.335-2.335h-.5v-1.772a2.338 2.338 0 0 0-2.335-2.335h-7.266v-1.849h2.26a2.338 2.338 0 0 0 2.335-2.335v-6.577a2.338 2.338 0 0 0-2.336-2.335h-6.577a2.338 2.338 0 0 0-2.335 2.335v6.577a2.338 2.338 0 0 0 2.335 2.335h2.26v1.849H12.73a2.338 2.338 0 0 0-2.335 2.335v1.772h-.5a2.338 2.338 0 0 0-2.335 2.335v3.062a2.338 2.338 0 0 0 2.335 2.335h3.062a2.338 2.338 0 0 0 2.335-2.335v-3.062a2.338 2.338 0 0 0-2.335-2.335h-.5v-1.772c0-.152.122-.273.273-.273h7.216v2.04h-.5a2.338 2.338 0 0 0-2.335 2.336v3.062a2.338 2.338 0 0 0 2.335 2.335h3.062a2.338 2.338 0 0 0 2.335-2.335V28.06a2.338 2.338 0 0 0-2.335-2.335h-.5v-2.041h7.266c.151 0 .273.121.273.273v1.772h-.5a2.338 2.338 0 0 0-2.335 2.335v3.062a2.338 2.338 0 0 0 2.335 2.335h-.004zm-16.086-5.665c.151 0 .273.121.273.273v3.061a.272.272 0 0 1-.273.273H9.895a.272.272 0 0 1-.273-.273v-3.06c0-.152.122-.273.273-.273h3.062zm9.55 0c.152 0 .274.121.274.273v3.061a.272.272 0 0 1-.273.273h-3.062a.272.272 0 0 1-.273-.273v-3.06c0-.152.122-.273.273-.273h3.062zM17.985 17.72a.572.572 0 0 1-.57-.572v-5.98a.57.57 0 0 1 .57-.571h5.981c.315 0 .571.256.571.57v5.981a.572.572 0 0 1-.57.572h-5.982zm10.79 10.349c0-.152.122-.273.273-.273h3.062c.151 0 .273.121.273.273v3.061a.272.272 0 0 1-.273.273h-3.062a.272.272 0 0 1-.273-.273v-3.06z"}))),xd||(xd=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-xml-sitemaps_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("XML sitemaps","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Et.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO"),learnMoreUrl:"https://yoa.st/2a-",learnMoreLinkId:"link-xml-sitemaps",learnMoreLinkAriaLabel:(0,Et.__)("XML sitemaps","wordpress-seo")},restApiEndpoint:{name:"wpseo.enable_headless_rest_endpoints",id:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",Icon:e=>n.createElement("svg",Hd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-rest-api-endpoint_svg__a)"},n.createElement("mask",{id:"icon-rest-api-endpoint_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},kd||(kd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-rest-api-endpoint_svg__b)"},n.createElement("mask",{id:"icon-rest-api-endpoint_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Sd||(Sd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),jd||(jd=n.createElement("g",{mask:"url(#icon-rest-api-endpoint_svg__c)"},n.createElement("path",{fill:"url(#icon-rest-api-endpoint_svg__pattern0_686_1210)",d:"M-2.1-2.217h46.368v46.368H-2.1z"})))),Ed||(Ed=n.createElement("path",{fill:"#fff",d:"M16.69 24.604H13.6v4.14h-3.092l4.566 6.162 4.57-6.161H16.69v-4.142zm5.667 6.156h2.952v4.146H28.4v-4.145h3.091l-4.565-6.157-4.57 6.157zm-8.984-17.866h-.055a214.24 214.24 0 0 1-.605 2.76l-.138.604h1.566l-.138-.605c-.19-.831-.441-1.877-.63-2.759zm8.067.105h-.856v2.306h.857c.911 0 1.34-.458 1.34-1.235 0-.777-.483-1.071-1.34-1.071z"})),Ld||(Ld=n.createElement("path",{fill:"#fff",d:"M33.142 8.354H8.858c-.832 0-1.508.68-1.508 1.508v11.201c0 .832.68 1.508 1.508 1.508h24.28c.832 0 1.508-.68 1.508-1.508V9.862c0-.832-.68-1.508-1.508-1.508h.004zm-18.16 11.533-.429-1.848h-2.39l-.428 1.848h-2.36l2.624-8.71h2.79l2.624 8.71h-2.44.008zm6.568-2.76h-.966v2.76h-2.306v-8.71h3.268c1.877 0 3.482.697 3.482 2.893 0 2.197-1.66 3.054-3.482 3.054l.004.004zm11.071-4.019H30.64v4.851h1.982v1.928h-6.27V17.96h1.982v-4.85h-1.982v-1.933h6.27v1.932z"}))),Td||(Td=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-rest-api-endpoint_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("REST API endpoint","wordpress-seo"),description:(0,Et.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo"),learnMoreUrl:"https://yoa.st/site-features-rest-api-endpoint",learnMoreLinkId:"link-rest-api-endpoint",learnMoreLinkAriaLabel:(0,Et.__)("REST API endpoint","wordpress-seo")},indexNow:{name:"wpseo.enable_index_now",id:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",Icon:e=>n.createElement("svg",qd({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-index-now_svg__a)"},n.createElement("g",{clipPath:"url(#icon-index-now_svg__b)"},n.createElement("mask",{id:"icon-index-now_svg__c",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Fd||(Fd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-index-now_svg__c)"},n.createElement("mask",{id:"icon-index-now_svg__d",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Od||(Od=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Pd||(Pd=n.createElement("g",{mask:"url(#icon-index-now_svg__d)"},n.createElement("path",{fill:"url(#icon-index-now_svg__pattern0_686_1291)",d:"M-2.1-2.15h46.368v46.368H-2.1z"})))),Md||(Md=n.createElement("path",{fill:"#fff",d:"m34.13 31.597-6.817-6.817a10.89 10.89 0 0 0 2.066-6.418c0-6.073-4.94-11.012-11.012-11.012-6.074 0-11.017 4.94-11.017 11.013 0 6.073 4.94 11.012 11.017 11.012 2.33 0 4.54-.714 6.417-2.067l6.817 6.817c.336.34.785.525 1.264.525s.928-.185 1.264-.525a1.79 1.79 0 0 0 0-2.528zM18.366 10.928c4.099 0 7.438 3.335 7.438 7.439a7.444 7.444 0 0 1-7.438 7.438 7.444 7.444 0 0 1-7.439-7.438 7.444 7.444 0 0 1 7.439-7.439z"})))),$d||($d=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-index-now_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6})),n.createElement("clipPath",{id:"icon-index-now_svg__b"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),isPremiumFeature:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Et.__)("IndexNow","wordpress-seo"),description:(0,Et.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo"),learnMoreUrl:"https://yoa.st/index-now-feature",learnMoreLinkId:"link-index-now",learnMoreLinkAriaLabel:(0,Et.__)("IndexNow","wordpress-seo")}};var Yd,Kd,Zd,Jd,Qd,Xd,eu,tu,su,ru,au,ou,iu,nu,lu;function cu(){return cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},cu.apply(null,arguments)}function du(){return du=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},du.apply(null,arguments)}function uu(){return uu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},uu.apply(null,arguments)}const pu={openGraph:{name:"wpseo_social.opengraph",id:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",Icon:e=>n.createElement("svg",cu({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-open-graph_svg__a)"},n.createElement("mask",{id:"icon-open-graph_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Yd||(Yd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-open-graph_svg__b)"},n.createElement("mask",{id:"icon-open-graph_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Kd||(Kd=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Zd||(Zd=n.createElement("g",{mask:"url(#icon-open-graph_svg__c)"},n.createElement("path",{fill:"url(#icon-open-graph_svg__pattern0_686_1455)",d:"M-2.167-2.217h46.368v46.368H-2.167z"})))),Jd||(Jd=n.createElement("path",{fill:"#fff",d:"M29.53 17.585a5.121 5.121 0 0 0 5.12-5.12 5.121 5.121 0 0 0-5.12-5.12 5.121 5.121 0 0 0-5.082 5.75l-8.43 4.213a5.12 5.12 0 0 0-7.236.13 5.12 5.12 0 0 0 .13 7.237 5.121 5.121 0 0 0 7.107 0l8.43 4.212a5.12 5.12 0 1 0 1.524-3.053l-8.43-4.212c.05-.42.05-.845 0-1.265l8.43-4.212a5.103 5.103 0 0 0 3.553 1.432l.004.008z"}))),Qd||(Qd=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-open-graph_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Open Graph data","wordpress-seo"),description:(0,Et.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo"),learnMoreUrl:"https://yoa.st/site-features-open-graph-data",learnMoreLinkId:"link-open-graph-data",learnMoreLinkAriaLabel:(0,Et.__)("Open Graph data","wordpress-seo")},xCardData:{name:"wpseo_social.twitter",id:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",Icon:e=>n.createElement("svg",du({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-x-card-data_svg__a)"},n.createElement("mask",{id:"icon-x-card-data_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Xd||(Xd=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-x-card-data_svg__b)"},n.createElement("mask",{id:"icon-x-card-data_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},eu||(eu=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),tu||(tu=n.createElement("g",{mask:"url(#icon-x-card-data_svg__c)"},n.createElement("path",{fill:"url(#icon-x-card-data_svg__pattern0_686_1527)",d:"M-2.167-2.285h46.368v46.57H-2.167z"})))),su||(su=n.createElement("path",{fill:"#fff",d:"M28.917 8.673H33.1l-9.19 10.462 10.736 14.192H26.22l-6.594-8.623-7.552 8.623H7.892l9.735-11.189L7.35 8.673h8.631l5.96 7.88 6.976-7.88zM27.455 30.87h2.319L14.763 11.038h-2.49L27.454 30.87z"}))),ru||(ru=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-x-card-data_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("X card data","wordpress-seo"),description:(0,Et.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo"),learnMoreUrl:"https://yoa.st/site-features-twitter-card-data",learnMoreLinkId:"link-twitter-card-data",learnMoreLinkAriaLabel:(0,Et.__)("X card data","wordpress-seo")},slackSharing:{name:"wpseo.enable_enhanced_slack_sharing",id:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",Icon:e=>n.createElement("svg",uu({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-slack-sharing_svg__a)"},n.createElement("mask",{id:"icon-slack-sharing_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},au||(au=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-slack-sharing_svg__b)"},n.createElement("mask",{id:"icon-slack-sharing_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},ou||(ou=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),iu||(iu=n.createElement("g",{mask:"url(#icon-slack-sharing_svg__c)"},n.createElement("path",{fill:"url(#icon-slack-sharing_svg__pattern0_686_1604)",d:"M-2.167-2.15h46.368v46.368H-2.167z"})))),nu||(nu=n.createElement("path",{fill:"#fff",d:"M13.104 24.604a2.867 2.867 0 0 1-2.868 2.868 2.864 2.864 0 0 1-2.869-2.869 2.864 2.864 0 0 1 2.869-2.868h2.868v2.869zm1.437 0a2.867 2.867 0 0 1 2.868-2.87 2.864 2.864 0 0 1 2.869 2.87v7.165a2.867 2.867 0 0 1-2.869 2.868 2.864 2.864 0 0 1-2.868-2.868v-7.165zm2.864-11.508a2.867 2.867 0 0 1-2.869-2.869 2.864 2.864 0 0 1 2.869-2.869 2.864 2.864 0 0 1 2.868 2.869v2.869h-2.868zm0 1.453a2.867 2.867 0 0 1 2.868 2.868 2.864 2.864 0 0 1-2.868 2.869h-7.19a2.867 2.867 0 0 1-2.87-2.869 2.864 2.864 0 0 1 2.87-2.868h7.19zm11.491 2.868a2.867 2.867 0 0 1 2.869-2.868 2.864 2.864 0 0 1 2.868 2.868 2.864 2.864 0 0 1-2.868 2.869h-2.869v-2.869zm-1.436 0a2.867 2.867 0 0 1-2.869 2.869 2.864 2.864 0 0 1-2.868-2.869v-7.19a2.867 2.867 0 0 1 2.868-2.869 2.864 2.864 0 0 1 2.869 2.869v7.19zm-2.864 11.487a2.867 2.867 0 0 1 2.868 2.869 2.864 2.864 0 0 1-2.868 2.869 2.864 2.864 0 0 1-2.869-2.87v-2.868h2.869zm0-1.432a2.867 2.867 0 0 1-2.869-2.869 2.864 2.864 0 0 1 2.869-2.868h7.19a2.867 2.867 0 0 1 2.869 2.869 2.864 2.864 0 0 1-2.869 2.868h-7.19z"}))),lu||(lu=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-slack-sharing_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Slack sharing","wordpress-seo"),description:(0,Et.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo"),learnMoreUrl:"https://yoa.st/help-slack-share",learnMoreLinkId:"link-slack-sharing",learnMoreLinkAriaLabel:(0,Et.__)("Slack sharing","wordpress-seo")}};var mu,hu,fu,_u,yu,wu;function gu(){return gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},gu.apply(null,arguments)}function bu(){return bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},bu.apply(null,arguments)}const vu={taskList:{name:"wpseo.enable_task_list",id:"card-wpseo-enable_task_list",inputId:"input-wpseo-enable_task_list",Icon:e=>n.createElement("svg",gu({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),n.createElement("g",{clipPath:"url(#icon-task-list_svg__a)"},n.createElement("mask",{id:"icon-task-list_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},mu||(mu=n.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),n.createElement("g",{mask:"url(#icon-task-list_svg__b)"},n.createElement("mask",{id:"icon-task-list_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},hu||(hu=n.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),fu||(fu=n.createElement("g",{mask:"url(#icon-task-list_svg__c)"},n.createElement("path",{fill:"url(#icon-task-list_svg__pattern0_686_3245)",d:"M-2.234-2.284h46.368v46.57H-2.234z"})))),_u||(_u=n.createElement("path",{fill:"#fff",d:"M27.825 34.65h-13.65a4.098 4.098 0 0 1-4.095-4.095v-16.38a4.098 4.098 0 0 1 4.095-4.095h1.6a4.105 4.105 0 0 1 3.86-2.73h2.73a4.1 4.1 0 0 1 3.86 2.73h1.6a4.098 4.098 0 0 1 4.095 4.095v16.38a4.098 4.098 0 0 1-4.095 4.095zm-13.65-21.84c-.752 0-1.365.613-1.365 1.365v16.38c0 .751.613 1.365 1.365 1.365h13.65c.752 0 1.365-.614 1.365-1.365v-16.38c0-.752-.613-1.365-1.365-1.365h-1.6a4.105 4.105 0 0 1-3.86 2.73h-2.73a4.1 4.1 0 0 1-3.86-2.73h-1.6zm4.095-1.365c0 .751.613 1.365 1.365 1.365h2.73c.752 0 1.365-.614 1.365-1.365 0-.752-.613-1.365-1.365-1.365h-2.73c-.752 0-1.365.613-1.365 1.365zm1.365 16.38c-.361 0-.71-.143-.966-.4l-2.73-2.73a1.366 1.366 0 0 1 1.932-1.931l1.764 1.764 4.494-4.494a1.366 1.366 0 0 1 1.932 1.932l-5.46 5.46a1.367 1.367 0 0 1-.966.399z"}))),yu||(yu=n.createElement("defs",null,n.createElement("clipPath",{id:"icon-task-list_svg__a"},n.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,Et.__)("Task list","wordpress-seo"),description:(0,Et.__)("The task list guides you through important SEO tasks and helps you to manage your site’s SEO.","wordpress-seo"),learnMoreUrl:"https://yoa.st/site-features-task-list",learnMoreLinkId:"link-task-list",learnMoreLinkAriaLabel:(0,Et.__)("Task list","wordpress-seo")},adminBarMenu:{name:"wpseo.enable_admin_bar_menu",id:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",Icon:e=>n.createElement("svg",bu({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),wu||(wu=n.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M8 12.302c0-.996.806-1.802 1.802-1.802h21.6a1.801 1.801 0 1 1 0 3.604h-21.6A1.801 1.801 0 0 1 8 12.302zm0 8.58a1.8 1.8 0 0 1 1.802-1.801h21.6a1.801 1.801 0 1 1 0 3.603h-21.6A1.801 1.801 0 0 1 8 20.882zm0 8.581c0-.995.806-1.802 1.802-1.802h21.6a1.801 1.801 0 1 1 0 3.604h-21.6A1.801 1.801 0 0 1 8 29.463z",clipRule:"evenodd"}))),title:(0,Et.__)("Admin bar menu","wordpress-seo"),description:(0,Et.sprintf)( // translators: %1$s expands to Yoast. (0,Et.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast"),learnMoreUrl:"https://yoa.st/site-features-admin-bar",learnMoreLinkId:"link-admin-bar",learnMoreLinkAriaLabel:(0,Et.__)("Admin bar menu","wordpress-seo")}},xu=()=>{const e=ia("selectPreference",[],"sitemapUrl"),t=ia("selectPreference",[],"isPremium"),s=ia("selectIsAllFeaturesOpen",[]),r=ia("selectSchemaIsSchemaDisabledProgrammatically",[]),{toggleAllFeatures:a}=sa(),{values:i,initialValues:n}=H(),{enable_xml_sitemap:l}=i.wpseo,{enable_xml_sitemap:c}=n.wpseo,d=et(),u=(0,o.useCallback)((()=>{d("/llms-txt")}),[]);xc.llmsTxt.children=(0,ur.jsx)(kl,{onClick:u}),Gd.xmlSitemaps.children=c&&l&&(0,ur.jsx)(Sl,{href:e}),t&&(yd.internalLinkingSuggestions.learnMoreUrl="https://yoa.st/17g"),Gd.schemaFramework.disableConfirmationModal=dl,r&&(Gd.schemaFramework.programmaticallyDisabledModal=ul);const p=[{id:"ai-tools",title:(0,Et.__)("AI tools","wordpress-seo"),features:xc},{id:"content-optimization",title:(0,Et.__)("Content optimization","wordpress-seo"),features:Kc},{id:"site-structure",title:(0,Et.__)("Site structure","wordpress-seo"),features:yd},{id:"technical-seo",title:(0,Et.__)("Technical SEO","wordpress-seo"),features:Gd},{id:"social-sharing",title:(0,Et.__)("Social sharing","wordpress-seo"),features:pu},{id:"tools",title:(0,Et.__)("Tools","wordpress-seo"),features:vu}];return(0,ur.jsx)(lo,{title:(0,Et.__)("Site features","wordpress-seo"),description:(0,ur.jsx)(Ll,{isAllFeaturesOpen:s,toggleAllFeatures:a}),children:(0,ur.jsx)(ua,{children:(0,ur.jsx)("div",{className:"yst-max-w-2xl",children:p.map((e=>(0,ur.jsx)(xl,{id:e.id,title:e.title,features:(0,le.values)(e.features)},e.id)))})})})},ku=Ol(wl),Su=Pl(Na),ju=()=>{const{values:e}=H(),{website_name:t,company_or_person:s,company_or_person_user_id:r,company_name:a,company_logo_id:n}=e.wpseo_titles,{other_social_urls:l}=e.wpseo_social,c=ia("selectUserById",[r],r),d=ia("selectLink",[],"https://yoa.st/1-p"),u=ia("selectLink",[],"https://yoa.st/3r3"),p=ia("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),m=ia("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=ia("selectLink",[],"https://yoa.st/site-representation-organization-person"),f=ia("selectPreference",[],"editUserUrl"),_=ia("selectPreference",[],"isLocalSeoActive"),y=ia("selectPreference",[],"companyOrPersonMessage"),w=ia("selectFallback",[],"siteLogoId"),g=ia("selectCanEditUser",[null==c?void 0:c.id],null==c?void 0:c.id),b=ia("selectPreference",[],"isPremium"),v=ia("selectUpsellSettingsAsProps"),x=ia("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=ia("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=ia("selectPreference",[],"localSeoPageSettingUrl");let j=dr((0,Et.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Et.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","<a>","</a>"),{a:(0,ur.jsx)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),E=dr((0,Et.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Et.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","<a>","</a>"),{a:(0,ur.jsx)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(j=dr((0,Et.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Et.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","<a>","</a>"),{a:(0,ur.jsx)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),E=dr((0,Et.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Et.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","<a>","</a>"),{a:(0,ur.jsx)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const L=(0,o.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${l.length}`))||void 0===t||t.focus()}),[l]);return(0,ur.jsx)(lo,{title:(0,Et.__)("Site representation","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,Et.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"<a>","</a>"),d,"link-google-knowledge-graph"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Organization/person","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,Et.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"<a>","</a>"),h,"link-site-representation-organization-person"),children:[_&&(0,ur.jsx)(i.Alert,{id:"alert-local-seo-company-or-person",variant:"info",children:y}),(0,ur.jsxs)(i.RadioGroup,{disabled:_,children:[(0,ur.jsx)(te,{as:i.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Et.__)("Organization","wordpress-seo"),value:"company",disabled:_}),(0,ur.jsx)(te,{as:i.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Et.__)("Person","wordpress-seo"),value:"person",disabled:_})]})]}),(0,ur.jsx)("section",{className:"yst-space-y-8"}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)("div",{className:"yst-relative",children:[(0,ur.jsxs)(ca.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===s?"auto":0,animateOpacity:!0,children:[(0,ur.jsxs)(la,{title:(0,Et.__)("Organization","wordpress-seo"),description:(0,Et.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo"),children:[(!a||n<1)&&(0,ur.jsx)(i.Alert,{id:"alert-organization-name-logo",variant:"info",children:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,Et.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"<a>","</a>"),u,"link-structured-data")}),(0,ur.jsx)(te,{as:i.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Et.__)("Organization name","wordpress-seo"),placeholder:t}),(0,ur.jsx)(te,{as:i.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Et.__)("Alternate organization name","wordpress-seo"),description:(0,Et.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,ur.jsx)(ya,{id:"wpseo_titles-company_logo",label:(0,Et.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:dr((0,Et.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:w})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsxs)(la,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Et.__)("Other profiles","wordpress-seo"),description:(0,Et.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo"),children:[(0,ur.jsx)(wl,{as:i.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Et.__)("Facebook","wordpress-seo"),placeholder:(0,Et.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,ur.jsx)(wl,{as:i.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Et.__)("X","wordpress-seo"),placeholder:(0,Et.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,ur.jsx)(i.FeatureUpsell,{shouldUpsell:!b,variant:"card",cardLink:x,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...v,children:(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Et.__)("Mastodon","wordpress-seo"),placeholder:(0,Et.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:b&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"}),isDummy:!b,description:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,ur.jsx)(i.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener",children:(0,Et.__)("Read more about how to get your site verified.","wordpress-seo")})]})})}),(0,ur.jsx)(ne,{name:"wpseo_social.other_social_urls",children:e=>(0,ur.jsxs)(ur.Fragment,{children:[l.map(((t,s)=>(0,ur.jsx)(tr,{as:o.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0",children:(0,ur.jsxs)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2",children:[(0,ur.jsx)(wl,{as:i.TextField,name:`wpseo_social.other_social_urls.${s}`,id:`input-wpseo_social-other_social_urls-${s}`,label:(0,Et.sprintf)((0,Et.__)("Other profile %1$s","wordpress-seo"),s+1),placeholder:(0,Et.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,ur.jsx)(i.Button,{variant:"secondary",onClick:e.remove.bind(null,s),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Et.sprintf)((0,Et.__)("Remove Other profile %1$s","wordpress-seo"),s+1),children:(0,ur.jsx)(ec,{className:"yst-h-5 yst-w-5"})})]})},`wpseo_social.other_social_urls.${s}`))),(0,ur.jsxs)(i.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>L(e),children:[(0,ur.jsx)(tc,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Et.__)("Add another profile","wordpress-seo")]})]})})]}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.__)("Additional organization info","wordpress-seo"),b&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"})]}),description:(0,Et.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo"),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!b,variant:"card",cardLink:p,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...v,children:[(0,ur.jsx)(ku,{as:i.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Et.__)("Organization description","wordpress-seo"),isDummy:!b,maxLength:2e3}),_&&b&&(0,ur.jsx)(i.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info",children:E}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Et.__)("Organization email address","wordpress-seo"),isDummy:!b||_}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Et.__)("Organization phone number","wordpress-seo"),isDummy:!b||_}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Et.__)("Organization's legal name","wordpress-seo"),isDummy:!b}),(0,ur.jsx)(ku,{as:i.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Et.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!b}),(0,ur.jsx)(Su,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Et.__)("Number of employees","wordpress-seo"),placeholder:(0,Et.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!b,options:[{value:"",label:"None"},{value:"1-10",label:(0,Et.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Et.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Et.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Et.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Et.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Et.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Et.__)("5001–10000 employees","wordpress-seo")}]})]})}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,ur.jsxs)(ur.Fragment,{children:[(0,Et.__)("Organization identifiers","wordpress-seo"),b&&(0,ur.jsx)(i.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell",children:"Premium"})]}),description:(0,Et.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo"),children:(0,ur.jsxs)(i.FeatureUpsell,{shouldUpsell:!b,variant:"card",cardLink:m,cardText:(0,Et.sprintf)(/* translators: %1$s expands to Premium. */ (0,Et.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...v,children:[_&&b&&(0,ur.jsx)(i.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info",children:j}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Et.__)("VAT ID","wordpress-seo"),isDummy:!b||_}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Et.__)("Tax ID","wordpress-seo"),isDummy:!b||_}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Et.__)("ISO 6523","wordpress-seo"),isDummy:!b}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Et.__)("DUNS","wordpress-seo"),isDummy:!b}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Et.__)("LEI code","wordpress-seo"),isDummy:!b}),(0,ur.jsx)(ku,{as:i.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Et.__)("NAICS","wordpress-seo"),isDummy:!b})]})})]}),(0,ur.jsx)(ca.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===s?"auto":0,animateOpacity:!0,children:(0,ur.jsxs)(la,{title:(0,Et.__)("Personal info","wordpress-seo"),description:(0,Et.__)("Please tell us more about the person this site represents.","wordpress-seo"),children:[(0,ur.jsx)(La,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Et.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(c)&&(0,ur.jsxs)(i.Alert,{id:"alert-person-user-profile",children:[g&&dr((0,Et.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing <span> tags. %3$s and %4$s are replaced by opening and closing <a> tags. %5$s is replaced by the selected user display name. */ (0,Et.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"<strong>","</strong>","<a>","</a>",null==c?void 0:c.name),{strong:(0,ur.jsx)("strong",{className:"yst-font-medium"}),a:(0,ur.jsx)("a",{id:"link-person-user-profile",href:`${f}?user_id=${null==c?void 0:c.id}`,target:"_blank",rel:"noopener noreferrer"})}),!g&&dr((0,Et.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing <span> tags. %3$s is replaced by the selected user display name. */ (0,Et.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"<strong>","</strong>",null==c?void 0:c.name),{strong:(0,ur.jsx)("strong",{className:"yst-font-medium"})})]}),(0,ur.jsx)(ya,{id:"wpseo_titles-person_logo",label:(0,Et.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:dr((0,Et.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Et.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:(0,ur.jsx)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:w,disabled:!r})]})})]})]})})})},Eu=()=>{const e=ia("selectReplacementVariablesFor",[],"search","search"),t=ia("selectRecommendedReplacementVariablesFor",[],"search","search"),s=ia("selectReplacementVariablesFor",[],"404","404"),r=ia("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,ur.jsx)(lo,{title:(0,Et.__)("Special pages","wordpress-seo"),children:(0,ur.jsx)(ua,{children:(0,ur.jsxs)("div",{className:"yst-max-w-5xl",children:[(0,ur.jsx)(la,{title:(0,Et.__)("Internal search pages","wordpress-seo"),description:(0,Et.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo"),children:(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Et.__)("Page title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t})}),(0,ur.jsx)("hr",{className:"yst-my-8"}),(0,ur.jsx)(la,{title:(0,Et.__)("404 error pages","wordpress-seo"),description:(0,Et.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo"),children:(0,ur.jsx)(ba,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Et.__)("Page title","wordpress-seo"),replacementVariables:s,recommendedReplacementVariables:r})})]})})})},Lu=/content=(['"])?(?<content>[^'"> ]+)(?:\1|[ />])/,Tu=e=>{var t;const s=e.target.value.match(Lu);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Fu=Ml(yl),Ou=()=>{const e=ia("selectPreference",[],"siteUrl");return(0,ur.jsx)(lo,{title:(0,Et.__)("Site connections","wordpress-seo"),description:(0,Et.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo"),children:(0,ur.jsx)(ua,{children:(0,ur.jsx)("div",{className:"yst-max-w-5xl",children:(0,ur.jsxs)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8",children:[(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo.ahrefsverify",id:"input-wpseo-ahrefsverify",label:(0,Et.__)("Ahrefs","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Get your verification code in %1$sAhrefs%2$s.","wordpress-seo"),"<a>","</a>"),"https://yoa.st/ahrefs-verification-code","link-ahrefs-webmaster-tools"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu}),(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Et.__)("Baidu","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu}),(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Et.__)("Bing","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${e}`,"link-bing-webmaster-tools"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu}),(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Et.__)("Google","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"<a>","</a>"),(0,Ct.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:e}),"link-google-search-console"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu}),(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Et.__)("Pinterest","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"<a>","</a>"),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu}),(0,ur.jsx)(Fu,{as:i.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Et.__)("Yandex","wordpress-seo"),description:Tl((0,Et.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively. (0,Et.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Et.__)("Add verification code","wordpress-seo"),transformValue:Tu})]})})})})},Pu=({postTypes:e,taxonomies:t,idSuffix:s=""})=>{const r=(0,i.useSvgAria)(),{pathname:a}=Qe(),n=ia("selectPreference",[],"isPremium"),{history:l,setHistory:c,addToHistory:d,removeFromHistory:u}=(0,i.useNavigationContext)();(0,o.useEffect)((()=>{c([`menu-content-types${s}`,`menu-categories-and-tags${s}`,`menu-general${s}`])}),[]);const p=(0,o.useCallback)((({show:e,toggle:t,ariaProps:r})=>(0,ur.jsx)(cl,{show:e,toggle:t,ariaProps:r,id:`more-content-types${s}`,addToHistory:d,removeFromHistory:u,history:l})),[s,d,u,l]),m=(0,o.useCallback)((({show:e,toggle:t,ariaProps:r})=>(0,ur.jsx)(cl,{show:e,toggle:t,ariaProps:r,id:`more-categories${s}`,addToHistory:d,removeFromHistory:u,history:l})),[s,d,u,l]);return(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsxs)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6",children:[(0,ur.jsx)(xt,{id:`link-yoast-logo${s}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(n?" Premium":""),children:(0,ur.jsx)(Jr,{className:"yst-w-40",...r})}),(0,ur.jsx)(Kn,{buttonId:`button-search${s}`})]}),(0,ur.jsxs)("div",{className:"yst-px-0.5 yst-space-y-6",children:[(0,ur.jsxs)(i.SidebarNavigation.MenuItem,{id:`menu-general${s}`,icon:sr,label:(0,Et.__)("General","wordpress-seo"),defaultOpen:l.includes(`menu-general${s}`),children:[(0,ur.jsx)(br,{to:"/site-features",label:(0,Et.__)("Site features","wordpress-seo"),idSuffix:s}),(0,ur.jsx)(br,{to:"/site-basics",label:(0,Et.__)("Site basics","wordpress-seo"),idSuffix:s}),(0,ur.jsx)(br,{to:"/site-representation",label:(0,Et.__)("Site representation","wordpress-seo"),idSuffix:s}),(0,ur.jsx)(br,{to:"/site-connections",label:(0,Et.__)("Site connections","wordpress-seo"),idSuffix:s})]}),(0,ur.jsx)(i.SidebarNavigation.MenuItem,{id:`menu-content-types${s}`,icon:rr,label:(0,Et.__)("Content types","wordpress-seo"),defaultOpen:l.includes(`menu-content-types${s}`),children:(0,ur.jsxs)(i.ChildrenLimiter,{limit:5,renderButton:p,initialShow:l.includes(`more-content-types${s}`),children:[(0,ur.jsx)(br,{to:"/homepage",label:(0,Et.__)("Homepage","wordpress-seo"),idSuffix:s}),(0,le.map)(e,(({name:e,route:t,label:r,isNew:a})=>(0,ur.jsx)(br,{to:`/post-type/${t}`,label:(0,ur.jsxs)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5",children:[r,a&&(0,ur.jsx)(i.Badge,{variant:"info",children:(0,Et.__)("New","wordpress-seo")})]}),idSuffix:s},`link-post-type-${e}`)))]})}),(0,ur.jsx)(i.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${s}`,icon:ar,label:(0,Et.__)("Categories & tags","wordpress-seo"),defaultOpen:l.includes(`menu-categories-and-tags${s}`),children:(0,ur.jsx)(i.ChildrenLimiter,{limit:5,renderButton:m,initialShow:l.includes(`more-categories${s}`),children:(0,le.map)(t,(e=>(0,ur.jsx)(br,{to:`/taxonomy/${e.route}`,label:(0,ur.jsxs)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5",children:[e.label,e.isNew&&(0,ur.jsx)(i.Badge,{variant:"info",children:(0,Et.__)("New","wordpress-seo")})]}),idSuffix:s},`link-taxonomy-${e.name}`)))})}),(0,ur.jsx)(il,{idSuffix:s})]},`menu-${s}-${a}`)]})};Pu.propTypes={postTypes:lr().object.isRequired,taxonomies:lr().object.isRequired,idSuffix:lr().string};const Mu=()=>{const{pathname:e}=Qe(),s=ia("selectPostTypes"),r=ia("selectTaxonomies"),a=ia("selectPreference",[],"isPremium"),n=ia("selectLink",[],"https://yoa.st/17h"),l=ia("selectLink",[],"https://yoa.st/admin-footer-upsell-woocommerce"),c=ia("selectLink",[],"https://yoa.st/jj"),d=ia("selectLink",[],"https://yoa.st/admin-sidebar-upsell-woocommerce"),u=ia("selectUpsellSettingsAsProps"),p=ia("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:m}=(0,t.useSelect)(Xr),h=ia("selectPreference",[],"isWooCommerceActive");(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,o.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:f}=H();return(0,i.useBeforeUnload)(f,(0,Et.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(Da,{}),(0,ur.jsxs)(i.SidebarNavigation,{activePath:e,children:[(0,ur.jsx)(i.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Et.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Et.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Et.__)("Settings navigation","wordpress-seo"),children:(0,ur.jsx)(Pu,{idSuffix:"-mobile",postTypes:s,taxonomies:r})}),(0,ur.jsxs)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4",children:[(0,ur.jsx)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56",children:(0,ur.jsx)(i.SidebarNavigation.Sidebar,{children:(0,ur.jsx)(Pu,{postTypes:s,taxonomies:r})})}),(0,ur.jsxs)("div",{className:ir()("yst-flex yst-grow yst-flex-wrap",!a&&"xl:yst-pe-[17.5rem]"),children:[(0,ur.jsxs)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0",children:[(0,ur.jsx)(i.Paper,{as:"main",children:(0,ur.jsx)(i.ErrorBoundary,{FallbackComponent:Zn,children:(0,ur.jsx)(tr,{appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",children:(0,ur.jsxs)(ht,{children:[(0,ur.jsx)(pt,{path:"author-archives",element:(0,ur.jsx)(Ul,{})}),(0,ur.jsx)(pt,{path:"breadcrumbs",element:(0,ur.jsx)(Vl,{})}),(0,ur.jsx)(pt,{path:"crawl-optimization",element:(0,ur.jsx)(Wl,{})}),(0,ur.jsx)(pt,{path:"date-archives",element:(0,ur.jsx)(Yl,{})}),(0,ur.jsx)(pt,{path:"homepage",element:(0,ur.jsx)(Xl,{})}),(0,ur.jsx)(pt,{path:"format-archives",element:(0,ur.jsx)(Zl,{})}),(0,ur.jsx)(pt,{path:"llms-txt",element:(0,ur.jsx)(oc,{})}),(0,ur.jsx)(pt,{path:"schema-framework",element:(0,ur.jsx)(cc,{})}),(0,ur.jsx)(pt,{path:"media-pages",element:(0,ur.jsx)(ic,{})}),(0,ur.jsx)(pt,{path:"rss",element:(0,ur.jsx)(lc,{})}),(0,ur.jsx)(pt,{path:"site-basics",element:(0,ur.jsx)(pc,{})}),(0,ur.jsx)(pt,{path:"site-connections",element:(0,ur.jsx)(Ou,{})}),(0,ur.jsx)(pt,{path:"site-representation",element:(0,ur.jsx)(ju,{})}),(0,ur.jsx)(pt,{path:"site-features",element:(0,ur.jsx)(xu,{})}),(0,ur.jsx)(pt,{path:"special-pages",element:(0,ur.jsx)(Eu,{})}),(0,ur.jsx)(pt,{path:"post-type",children:(0,le.map)(s,(e=>(0,ur.jsx)(pt,{path:e.route,element:(0,ur.jsx)(Nl,{...e})},`route-post-type-${e.name}`)))}),(0,ur.jsx)(pt,{path:"taxonomy",children:(0,le.map)(r,(e=>(0,ur.jsx)(pt,{path:e.route,element:(0,ur.jsx)(Dl,{...e})},`route-taxonomy-${e.name}`)))}),(0,ur.jsx)(pt,{path:"*",element:(0,ur.jsx)(ut,{to:"/site-features",replace:!0})})]})},e)})}),!a&&(0,ur.jsx)(Br,{premiumLink:h?l:n,premiumUpsellConfig:u,isPromotionActive:m,isWooCommerceActive:h})]}),!a&&(0,ur.jsx)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]",children:(0,ur.jsx)(Hr,{premiumLink:h?d:c,premiumUpsellConfig:u,academyLink:p,isPromotionActive:m,isWooCommerceActive:h})})]})]})]})]})},$u=window.yoast.externals.redux,Ru=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Cu="updatePostTypeReviewStatus",Nu=(0,Lt.createSlice)({name:"postTypes",initialState:Ru(),reducers:{},extraReducers:e=>{e.addCase(`${Cu}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Au={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Au.selectPostTypes=(0,Lt.createSelector)(Au.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Iu={[Cu]:async({payload:e})=>Mt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Du={...Nu.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Cu,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Cu}/result`,payload:e}}},zu=Nu.reducer,Uu=()=>({...(0,le.get)(window,"wpseoScriptData.preferences",{})}),Vu=(0,Lt.createSlice)({name:"preferences",initialState:Uu(),reducers:{}}),Bu={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Bu.selectHasPageForPosts=(0,Lt.createSelector)([e=>Bu.selectPreference(e,"homepageIsLatestPosts"),e=>Bu.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Bu.selectCanEditUser=(0,Lt.createSelector)([e=>Bu.selectPreference(e,"currentUserId",-1),e=>Bu.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Bu.selectExampleUrl=(0,Lt.createSelector)([e=>Bu.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Bu.selectPluginUrl=(0,Lt.createSelector)([e=>Bu.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Bu.selectUpsellSettingsAsProps=(0,Lt.createSelector)([e=>Bu.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const Hu=Vu.actions,qu=Vu.reducer,Wu=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),Gu="updateTaxonomyReviewStatus",Yu=(0,Lt.createSlice)({name:"taxonomies",initialState:Wu(),reducers:{},extraReducers:e=>{e.addCase(`${Gu}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Ku={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};Ku.selectTaxonomies=(0,Lt.createSelector)(Ku.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const Zu={[Gu]:async({payload:e})=>Mt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},Ju={...Yu.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:Gu,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Gu}/result`,payload:e}}},Qu=Yu.reducer,Xu={selectBreadcrumbsForPostTypes:(0,Lt.createSelector)([Ku.selectAllTaxonomies,Au.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Et.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Lt.createSelector)([Ku.selectAllTaxonomies,Au.selectAllPostTypes,Bu.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Et.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Et.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},ep=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),tp=(0,Lt.createSlice)({name:"defaultSettingValues",initialState:ep(),reducers:{}}),sp={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},rp=tp.actions,ap=tp.reducer,op=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),ip=(0,Lt.createSlice)({name:"fallbacks",initialState:op(),reducers:{}}),np={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},lp=ip.actions,cp=ip.reducer,dp=window.wp.htmlEntities,up="indexablePages",pp=`${up}/fetch`,mp={},hp=(0,Lt.createEntityAdapter)({selectId:e=>e.id,sortComparer:(e,t)=>e.name.localeCompare(t.name)}),fp=()=>hp.getInitialState({scopes:{}}),_p=e=>({id:Number(null==e?void 0:e.id)||0,name:String((0,dp.decodeEntities)((0,le.trim)(null==e?void 0:e.title))||(null==e?void 0:e.slug)||(null==e?void 0:e.id)||0),slug:String((null==e?void 0:e.slug)||"")}),yp=(0,Lt.createSlice)({name:up,initialState:fp(),reducers:{addIndexablePages:{reducer:hp.upsertMany,prepare:e=>({payload:(0,le.map)(e,_p)})},removeIndexablePagesScope:(e,{payload:t})=>{var s;t in e.scopes&&(e.scopes[t].status===ts&&(null===(s=mp[t])||void 0===s||s.abort(),delete mp[t]),delete e.scopes[t])}},extraReducers:e=>{e.addCase(`${pp}/${Jt}`,((e,{payload:t})=>{e.scopes[t.scope]||(e.scopes[t.scope]={query:{search:""},status:es,ids:[]}),"query"in t&&(e.scopes[t.scope].query=t.query),e.scopes[t.scope].status=ts})),e.addCase(`${pp}/${Qt}`,((e,{payload:t})=>{var s,r;hp.upsertMany(e,(0,le.map)(t.pages,_p)),(s=e.scopes)[r=t.scope]||(s[r]={}),e.scopes[t.scope].query=t.query,e.scopes[t.scope].status=ss,e.scopes[t.scope].ids=t.pages.map((e=>e.id))})),e.addCase(`${pp}/${Xt}`,((e,{payload:t})=>{e.scopes[t.scope]||(e.scopes[t.scope]={query:{search:""},status:es,ids:[]}),e.scopes[t.scope].status=rs}))}}),wp=hp.getSelectors((e=>e[up])),gp={selectIndexablePageById:wp.selectById};gp.selectIndexablePagesScope=(0,Lt.createSelector)([wp.selectIds,(e,t)=>e[up].scopes[t]],((e,t)=>{var s;return null!=t&&null!==(s=t.query)&&void 0!==s&&s.search?{ids:(null==t?void 0:t.ids)||e,status:(null==t?void 0:t.status)||es,query:(null==t?void 0:t.query)||{search:""}}:{ids:e,status:(null==t?void 0:t.status)||es,query:{search:""}}})),gp.selectIndexablePagesById=(0,Lt.createSelector)([wp.selectAll,(e,t)=>t],((e,t)=>e.filter((e=>t.includes(e.id)))));const bp={...yp.actions,fetchIndexablePages:function*(e,t={search:""},s=null){yield{type:`${pp}/${Jt}`,payload:{scope:e,query:t}};try{const r=yield{type:pp,payload:{scope:e,query:t,abortController:s}};return{type:`${pp}/${Qt}`,payload:{scope:e,query:t,pages:r}}}catch(t){return"AbortError"===(null==t?void 0:t.name)?{}:(console.error("Error fetching indexable pages:",t),{type:`${pp}/${Xt}`,payload:{scope:e}})}}},vp={[pp]:async({payload:e})=>{var t;return e.scope in mp&&(null===(t=mp[e.scope])||void 0===t||t.abort()),mp[e.scope]=e.abortController||new AbortController,Mt()({path:`/yoast/v1/available_posts?${(0,Ct.buildQueryString)(e.query)}`,signal:mp[e.scope].signal})}},xp=yp.reducer,kp="llmsTxt",Sp=(0,Lt.createSlice)({name:kp,initialState:{generationFailure:!1,generationFailureReason:"",llmsTxtUrl:"",disabledPageIndexables:!1,otherIncludedPagesLimit:100},reducers:{setGenerationFailure:(e,{payload:t})=>{e.generationFailure=t.generationFailure,e.generationFailureReason=t.generationFailureReason}}}),jp=Sp.actions,Ep={selectLlmsTxtGenerationFailure:e=>(0,le.get)(e,"llmsTxt.generationFailure",!1),selectLlmsTxtGenerationFailureReason:e=>(0,le.get)(e,"llmsTxt.generationFailureReason",""),selectLlmsTxtUrl:e=>(0,le.get)(e,"llmsTxt.llmsTxtUrl",""),selectLlmsTxtDisabledPageIndexables:e=>(0,le.get)(e,"llmsTxt.disabledPageIndexables",!1),selectLlmsTxtOtherIncludedPagesLimit:e=>(0,le.get)(e,"llmsTxt.otherIncludedPagesLimit",100)},Lp=Sp.reducer,Tp="schemaFramework",Fp=(0,Lt.createSlice)({name:Tp,initialState:{isSchemaDisabledProgrammatically:!1,schemaApiIntegrations:{}},reducers:{}}),Op=Fp.actions,Pp={selectSchemaIsSchemaDisabledProgrammatically:e=>(0,le.get)(e,"schemaFramework.isSchemaDisabledProgrammatically",!1),selectSchemaApiIntegrations:e=>(0,le.get)(e,"schemaFramework.schemaApiIntegrations",{})},Mp=Fp.reducer,$p=(0,Lt.createEntityAdapter)(),Rp=()=>$p.getInitialState({status:es,error:""}),Cp="fetchMedia",Np=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},Ap=(0,Lt.createSlice)({name:"media",initialState:Rp(),reducers:{addOneMedia:{reducer:$p.addOne,prepare:e=>({payload:Np(e)})},addManyMedia:{reducer:$p.addMany,prepare:e=>({payload:(0,le.map)(e,Np)})}},extraReducers:e=>{e.addCase(`${Cp}/${Jt}`,(e=>{e.status=ts})),e.addCase(`${Cp}/${Qt}`,((e,t)=>{e.status=ss,$p.addMany(e,(0,le.map)(t.payload,Np))})),e.addCase(`${Cp}/${Xt}`,((e,t)=>{e.status=rs,e.error=t.payload}))}}),Ip=$p.getSelectors((e=>e.media)),Dp={selectMediaIds:Ip.selectIds,selectMediaById:Ip.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",es)===ts,selectIsMediaError:e=>(0,le.get)(e,"media.status",es)===rs},zp={...Ap.actions,fetchMedia:function*(e){yield{type:`${Cp}/${Jt}`};try{const t=yield{type:Cp,payload:{per_page:100,include:e}};return{type:`${Cp}/${Qt}`,payload:t}}catch(e){return{type:`${Cp}/${Xt}`,payload:e}}}},Up={[Cp]:async({payload:e})=>Mt()({path:`/wp/v2/media?${(0,Ct.buildQueryString)(e)}`})},Vp=Ap.reducer,Bp=(0,Lt.createEntityAdapter)(),Hp="fetchPages",qp="pages";let Wp;const Gp=e=>{var t;return{id:null==e?void 0:e.id,name:(0,dp.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Yp=(0,Lt.createSlice)({name:"pages",initialState:Bp.getInitialState({status:es,error:""}),reducers:{addOnePage:{reducer:Bp.addOne,prepare:e=>({payload:Gp(e)})},addManyPages:{reducer:Bp.addMany,prepare:e=>({payload:(0,le.map)(e,Gp)})}},extraReducers:e=>{e.addCase(`${Hp}/${Jt}`,(e=>{e.status=ts})),e.addCase(`${Hp}/${Qt}`,((e,t)=>{e.status=ss,Bp.addMany(e,(0,le.map)(t.payload,Gp))})),e.addCase(`${Hp}/${Xt}`,((e,t)=>{e.status=rs,e.error=t.payload}))}}),Kp=Yp.getInitialState,Zp=Bp.getSelectors((e=>e.pages)),Jp={selectPageIds:Zp.selectIds,selectPageById:Zp.selectById,selectPages:Zp.selectEntities};Jp.selectPagesWith=(0,Lt.createSelector)([Jp.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Qp={...Yp.actions,fetchPages:function*(e){yield{type:`${Hp}/${Jt}`};try{const t=yield{type:Hp,payload:{...e}};return{type:`${Hp}/${Qt}`,payload:t}}catch(e){return{type:`${Hp}/${Xt}`,payload:e}}}},Xp={[Hp]:async({payload:e})=>{var t;return null===(t=Wp)||void 0===t||t.abort(),Wp=new AbortController,Mt()({path:`/wp/v2/pages?${(0,Ct.buildQueryString)(e)}`,signal:Wp.signal})}},em=Yp.reducer,tm=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),sm=(0,Lt.createSlice)({name:"replacementVariables",initialState:tm(),reducers:{}}),rm={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};rm.selectSpecificReplacementVariablesFor=(0,Lt.createSelector)([rm.selectSharedReplacementVariables,rm.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),rm.selectReplacementVariablesFor=(0,Lt.createSelector)([rm.selectReplacementVariables,rm.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),rm.selectRecommendedReplacementVariablesFor=(0,Lt.createSelector)([rm.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const am=sm.actions,om=sm.reducer,im=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Et.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Et.sprintf)(s,e):e})))},nm=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),lm=(0,Lt.createSlice)({name:"schema",initialState:nm(),reducers:{}}),cm={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};cm.selectArticleTypeValues=(0,Lt.createSelector)(cm.selectArticleTypes,(e=>(0,le.values)(e))),cm.selectArticleTypeDefault=(0,Lt.createSelector)([cm.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),cm.selectArticleTypeValuesFor=(0,Lt.createSelector)([cm.selectArticleTypeValues,cm.selectArticleTypeDefault],((e,t)=>im(e,t))),cm.selectPageTypeValues=(0,Lt.createSelector)(cm.selectPageTypes,(e=>(0,le.values)(e))),cm.selectPageTypeDefault=(0,Lt.createSelector)([cm.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),cm.selectPageTypeValuesFor=(0,Lt.createSelector)([cm.selectPageTypeValues,cm.selectPageTypeDefault],((e,t)=>im(e,t)));const dm=lm.actions,um=lm.reducer,pm=(e,{userLocale:t})=>fi((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),mm=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:pm(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:pm(r,{userLocale:s})}}:{...e,...mm(r,o,{userLocale:s})}}),{}),hm=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:wi(e,t,{userLocale:s})}},fm=(0,Lt.createSlice)({name:"search",initialState:hm(),reducers:{}}),_m={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};_m.selectQueryableSearchIndex=(0,Lt.createSelector)([_m.selectSearchIndex,e=>Bu.selectPreference(e,"userLocale")],((e,t)=>mm(e,"",{userLocale:t})));const ym=fm.actions,wm=fm.reducer,gm=(0,Lt.createEntityAdapter)(),bm="fetchUsers",vm=()=>gm.getInitialState({status:es,error:""}),xm=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),km=(0,Lt.createSlice)({name:"users",initialState:vm(),reducers:{addOneUser:{reducer:gm.addOne,prepare:e=>({payload:xm(e)})},addManyUsers:{reducer:gm.addMany,prepare:e=>({payload:(0,le.map)(e,xm)})}},extraReducers:e=>{e.addCase(`${bm}/${Jt}`,(e=>{e.status=ts})),e.addCase(`${bm}/${Qt}`,((e,t)=>{e.status=ss,gm.addMany(e,(0,le.map)(t.payload,xm))})),e.addCase(`${bm}/${Xt}`,((e,t)=>{e.status=rs,e.error=t.payload}))}}),Sm=gm.getSelectors((e=>e.users)),jm={selectUserIds:Sm.selectIds,selectUserById:Sm.selectById,selectUsers:Sm.selectEntities};jm.selectUsersWith=(0,Lt.createSelector)([jm.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const Em={...km.actions,fetchUsers:function*(e){yield{type:`${bm}/${Jt}`};try{const t=yield{type:bm,payload:{...e}};return{type:`${bm}/${Qt}`,payload:t}}catch(e){return{type:`${bm}/${Xt}`,payload:e}}}},Lm={[bm]:async({payload:e})=>Mt()({path:`/wp/v2/users?${(0,Ct.buildQueryString)(e)}`})},Tm=km.reducer,Fm="siteFeatures",Om=(0,Lt.createSlice)({name:Fm,initialState:{isAllFeaturesOpen:!0,featuresSections:{"ai-tools":{isOpen:!0},"content-optimization":{isOpen:!0},"site-structure":{isOpen:!0},"technical-seo":{isOpen:!0},"social-sharing":{isOpen:!0},tools:{isOpen:!0}}},reducers:{toggleFeatureSection:(e,t)=>{e.featuresSections[t.payload].isOpen=!e.featuresSections[t.payload].isOpen,(0,le.every)(e.featuresSections,(e=>!1===e.isOpen))&&(e.isAllFeaturesOpen=!1);const s=(0,le.every)(e.featuresSections,(e=>!0===e.isOpen));s&&(e.isAllFeaturesOpen=!0),!s&&e.isAllFeaturesOpen&&(e.isAllFeaturesOpen=!1)},toggleAllFeatures:e=>{(0,le.forEach)(e.featuresSections,(t=>{t.isOpen=!e.isAllFeaturesOpen})),e.isAllFeaturesOpen=!e.isAllFeaturesOpen}}}),Pm={selectIsSiteFeatureOpen:(e,t)=>(0,le.get)(e,[Fm,"featuresSections",t,"isOpen"],!1),selectIsAllFeaturesOpen:e=>(0,le.get)(e,[Fm,"isAllFeaturesOpen"],!1)},Mm=Om.actions,$m=Om.reducer,{isPromotionActive:Rm}=$u.selectors,{currentPromotions:Cm}=$u.reducers,{setCurrentPromotions:Nm}=$u.actions,Am=({initialState:e={}}={})=>{(0,t.register)((({initialState:e})=>(0,t.createReduxStore)(Xr,{actions:{...rp,...lp,...bp,...zt,...jp,...Op,...zp,...Wt,...Qp,...Du,...Hu,...am,...dm,...ym,...Ju,...Em,setCurrentPromotions:Nm,...Mm},selectors:{...Xu,...sp,...cs,...np,...gp,...Dt,...Ep,...Pp,...Dp,...qt,...Jp,...Au,...Bu,...rm,...cm,..._m,...Ku,...jm,isPromotionActive:Rm,...Pm},initialState:(0,le.merge)({},{defaultSettingValues:ep(),fallbacks:op(),[up]:fp(),[Nt]:It(),[kp]:{generationFailure:!1,generationFailureReason:"",llmsTxtUrl:"",disabledPageIndexables:!1,otherIncludedPagesLimit:100},media:Rp(),[Vt]:Ht(),[qp]:Kp(),postTypes:Ru(),preferences:Uu(),replacementVariables:tm(),schema:nm(),[Tp]:{isSchemaDisabledProgrammatically:!1,schemaApiIntegrations:{}},search:hm(),taxonomies:Wu(),users:vm(),currentPromotions:{promotions:[]},[Fm]:{isAllFeaturesOpen:!0,featuresSections:{"ai-tools":{isOpen:!0},"content-optimization":{isOpen:!0},"site-structure":{isOpen:!0},"technical-seo":{isOpen:!0},"social-sharing":{isOpen:!0},tools:{isOpen:!0}}}},e),reducer:(0,t.combineReducers)({defaultSettingValues:ap,[ns]:ds,fallbacks:cp,[up]:xp,llmsTxt:Lp,[Nt]:Ut,media:Vp,[Vt]:Gt,[qp]:em,postTypes:zu,preferences:qu,replacementVariables:om,schema:um,schemaFramework:Mp,search:wm,taxonomies:Qu,users:Tm,currentPromotions:Cm,siteFeatures:$m}),controls:{...Up,...Lm,...Iu,...Zu,...Xp,...vp}}))({initialState:e}))};a()((()=>{const s=document.getElementById("yoast-seo-settings");if(!s)return;const r=document.createElement("div"),a=r.attachShadow({mode:"open"});document.body.appendChild(r);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),l=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),c=(0,le.get)(window,"wpseoScriptData.postTypes",{}),d=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),u=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Et.__)("New type of content added to your site!","wordpress-seo"),description:(0,Et.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};Am({initialState:{notifications:u,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])},llmsTxt:(0,le.get)(window,"wpseoScriptData.llmsTxt",{}),schemaFramework:(0,le.get)(window,"wpseoScriptData.schemaFrameworkConfiguration",{})}}),(async({settings:e,fallbacks:s})=>{const r=(0,le.get)(e,"wpseo_titles",{}),a=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(s,"siteLogoId","0"),...(0,le.reduce)(r,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(a,100),{fetchMedia:i}=(0,t.dispatch)(Xr);(0,le.forEach)(o,i)})({settings:n,fallbacks:l}),(async({settings:e})=>{const s=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:r}=(0,t.dispatch)(Xr);s&&r({include:[s]})})({settings:n}),(()=>{const e=Object.values((0,le.get)(window,"wpseoScriptData.initialLlmTxtPages",{}));0!==e.length&&(0,t.dispatch)(Xr).addIndexablePages(e)})(),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const p=(0,t.select)(Xr).selectPreference("isRtl",!1);(0,o.createRoot)(s).render((0,ur.jsx)(i.Root,{context:{isRtl:p},children:(0,ur.jsx)(jt.StyleSheetManager,{target:a,children:(0,ur.jsx)(e.SlotFillProvider,{children:(0,ur.jsx)(gt,{children:(0,ur.jsx)(K,{initialValues:n,validationSchema:Bn(c,d),onSubmit:bi,children:(0,ur.jsx)(Mu,{})})})})})}))}))})()})(); dist/how-to-block.js 0000644 00000174612 15174677550 0010406 0 ustar 00 (()=>{var e={885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},8276:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,d=(e=(0,r.escapeSpecialCharacters)(e)).match(a),h=d&&d[1]?d[1].toLowerCase():"";switch(h){case o:var m=p(e);return l.test(e)||null===(t=null==(y=m.querySelector(i))?void 0:y.parentNode)||void 0===t||t.removeChild(y),c.test(e)||null===(n=null==(y=m.querySelector(s))?void 0:y.parentNode)||void 0===n||n.removeChild(y),m.querySelectorAll(o);case i:case s:var g=u(e).querySelectorAll(h);return c.test(e)&&l.test(e)?g[0].parentNode.childNodes:g;default:return f?f(e):(y=u(e,s).querySelector(s)).childNodes;var y}};var r=n(1507),o="html",i="head",s="body",a=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var h=new d;u=p=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var m=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=m.documentElement.querySelector(t);return n&&(n.innerHTML=e),m}return m.documentElement.innerHTML=e,m}}var f,g="object"==typeof document&&document.createElement("template");g&&g.content&&(f=function(e){return g.innerHTML=e,g.content.childNodes})},4152:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(8276)),i=n(1507),s=/<(![a-zA-Z\s]+)>/},1507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var l,c=[],u=0,p=t.length;u<p;u++){var d=t[u];switch(d.nodeType){case 1:var h=s(d.nodeName);(l=new r.Element(h,i(d.attributes))).children=e("template"===h?d.content.childNodes:d.childNodes,l);break;case 3:l=new r.Text(a(d.nodeValue));break;case 8:l=new r.Comment(d.nodeValue);break;default:continue}var m=c[u-1]||null;m&&(m.next=l),l.parent=n,l.prev=m,l.next=null,c.push(l)}return o&&((l=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=c[0]||null,l.parent=n,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var r=n(4584),o=n(885);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function s(e){return function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function a(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},1953:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},4584:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(1953),s=n(1642);o(n(1642),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},1642:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(1953),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),T(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=s.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=m;var f=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,s.isTag)(e)}function y(e){return e.type===s.ElementType.CDATA}function v(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function T(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?C(e.children):[],o=new f(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?C(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?C(e.children):[];var a=new m(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return T(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=f,t.isTag=g,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=T},484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&a[e.type]);for(var u in e){var p=e[u];if((0,r.isCustomAttribute)(u))n[u]=p;else{var d=u.toLowerCase(),h=l(d);if(h){var m=(0,r.getPropertyInfo)(h);switch(i.includes(h)&&s.includes(t)&&!c&&(h=l("default"+d)),n[h]=p,m&&m.type){case r.BOOLEAN:n[h]=!0;break;case r.OVERLOADED_BOOLEAN:""===p&&(n[h]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=p)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(5726),o=n(4606),i=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},3670:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,c=n.transform||s.returnFirstArg,u=n.library||a,p=u.cloneElement,d=u.createElement,h=u.isValidElement,m=t.length,f=0;f<m;f++){var g=t[f];if(o){var y=n.replace(g,f);if(h(y)){m>1&&(y=p(y,{key:y.key||f})),r.push(c(y,g,f));continue}}if("text"!==g.type){var v=g,b={};l(v)?((0,s.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,i.default)(v.attribs,v.name));var x=void 0;switch(g.type){case"script":case"style":g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?b.defaultValue=g.children[0].data:g.children&&g.children.length&&(x=e(g.children,n));break;default:continue}m>1&&(b.key=f),r.push(c(d(g.name,b,x),g,f))}else{var w=!g.data.trim().length;if(w&&g.parent&&!(0,s.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&w)continue;r.push(c(g.data,g,f))}}return 1===r.length?r[0]:r};var o=n(9196),i=r(n(484)),s=n(4606),a={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},3426:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var o=r(n(4152));t.htmlToDOM=o.default;var i=r(n(484));t.attributesToProps=i.default;var s=r(n(3670));t.domToReact=s.default;var a=n(7384);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var l={lowerCaseAttributeNames:!1}},4606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,a)}catch(e){t.style={}}else t.style={}};var o=n(9196),i=r(n(1476)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},8908:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},7384:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(8908),s=n(5079);o(n(5079),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},5079:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(8908),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),T(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=s.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=m;var f=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,s.isTag)(e)}function y(e){return e.type===s.ElementType.CDATA}function v(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function T(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?C(e.children):[],o=new f(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?C(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?C(e.children):[];var a=new m(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return T(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=f,t.isTag=g,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=T},5321:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function h(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:p,column:d};return function(t){return t.position=new f(e),v(),t}}function f(e){this.start=e,this.end={line:p,column:d},this.source=l.source}function g(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function v(){y(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=m(),n=y(o);if(n){if(x(),!y(i))return g("property missing ':'");var r=y(s),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(a),l}}return f.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},5726:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:a,SAME:l,possibleStandardNames:c}=n(8229),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(c).reduce(((e,t)=>{const n=c[t];return n===l?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=p},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},1476:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(5174)),o=n(6678);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},6678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,a))}},5174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const r=(0,o.default)(e),i="function"==typeof t;return r.forEach((e=>{if("declaration"!==e.type)return;const{property:r,value:o}=e;i?t(r,o,e):o&&(n=n||{},n[r]=o)})),n};const o=r(n(5321))},9196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{legacySave:()=>M,migrateToStringFormat:()=>P,needsMigration:()=>I});const t=window.wp.blockEditor,r=window.wp.blocks,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.7","name":"yoast/how-to-block","title":"Yoast How-to","description":"Create a How-to guide in an SEO-friendly way. You can only use one How-to block per post.","category":"yoast-structured-data-blocks","icon":"editor-ol","keywords":["How-to","How to","Schema","SEO","Structured Data"],"supports":{"multiple":false},"textdomain":"wordpress-seo","attributes":{"hasDuration":{"type":"boolean"},"days":{"type":"string"},"hours":{"type":"string"},"minutes":{"type":"string"},"description":{"type":"string","source":"html","selector":".schema-how-to-description"},"jsonDescription":{"type":"string"},"steps":{"type":"array"},"additionalListCssClasses":{"type":"string"},"unorderedList":{"type":"boolean"},"durationText":{"type":"string"},"defaultDurationText":{"type":"string"}},"example":{"attributes":{"steps":[{"id":"how-to-step-example-1","name":"","text":"","images":[]},{"id":"how-to-step-example-2","name":"","text":"","images":[]}]}},"editorScript":"yoast-seo-how-to-block","editorStyle":"yoast-seo-structured-data-blocks"}'),i=window.yoast.propTypes;var s=n.n(i);const a=window.wp.i18n,l=window.wp.a11y,c=window.lodash,u=window.wp.element,p=window.ReactJSXRuntime,d=function(e){return class extends u.Component{render(){return(0,p.jsxs)(u.Fragment,{children:[(0,p.jsx)(e,{...this.props})," "]})}}},h=window.wp.isShallowEqual,m=window.wp.components,f=e=>Array.isArray(e)?e.map((e=>e?"string"==typeof e?e:(0,u.renderToString)(e):"")).join(""):e;var g=n(3426);const y=g.default||g,v=e=>{if("string"!=typeof e||!e.includes("<img"))return[];const t=[...e.matchAll(/<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/gi)],n=[];return t.forEach((e=>{const t=e[0],r=y(t);n.push(r)})),n},b=e=>{if(Array.isArray(e))return(e=>{var t;const n=e.find((e=>"img"===(null==e?void 0:e.type)));return(null==n||null===(t=n.props)||void 0===t?void 0:t.src)||!1})(e);if("string"==typeof e){var t;const n=v(e);return 0!==n.length&&((null===(t=n[0].props)||void 0===t?void 0:t.src)||!1)}return!1},x=d(t.RichText.Content);class w extends u.Component{constructor(e){super(e),this.onSelectImage=this.onSelectImage.bind(this),this.onInsertStep=this.onInsertStep.bind(this),this.onRemoveStep=this.onRemoveStep.bind(this),this.onMoveStepUp=this.onMoveStepUp.bind(this),this.onMoveStepDown=this.onMoveStepDown.bind(this),this.onFocusText=this.onFocusText.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onChangeText=this.onChangeText.bind(this)}onInsertStep(){this.props.insertStep(this.props.index)}onRemoveStep(){this.props.removeStep(this.props.index)}onMoveStepUp(){this.props.isFirst||this.props.onMoveUp(this.props.index)}onMoveStepDown(){this.props.isLast||this.props.onMoveDown(this.props.index)}onFocusTitle(){this.props.onFocus(this.props.index,"name")}onFocusText(){this.props.onFocus(this.props.index,"text")}onChangeTitle(e){const{onChange:t,index:n,step:{text:r,name:o}}=this.props;t(e,r,o,r,n)}onChangeText(e){const{onChange:t,index:n,step:{text:r,name:o}}=this.props;t(o,e,o,r,n)}getMediaUploadButton(e){return(0,p.jsx)(m.Button,{className:"schema-how-to-step-button how-to-step-add-media",icon:"insert",onClick:e.open,children:(0,a.__)("Add image","wordpress-seo")})}getButtons(){const{step:e}=this.props;return(0,p.jsxs)("div",{className:"schema-how-to-step-button-container",children:[!b(e.text)&&(0,p.jsx)(t.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),(0,p.jsx)(m.Button,{className:"schema-how-to-step-button",icon:"trash",label:(0,a.__)("Delete step","wordpress-seo"),onClick:this.onRemoveStep}),(0,p.jsx)(m.Button,{className:"schema-how-to-step-button",icon:"insert",label:(0,a.__)("Insert step","wordpress-seo"),onClick:this.onInsertStep})]})}getMover(){return(0,p.jsxs)("div",{className:"schema-how-to-step-mover",children:[(0,p.jsx)(m.Button,{className:"editor-block-mover__control",onClick:this.onMoveStepUp,icon:"arrow-up-alt2",label:(0,a.__)("Move step up","wordpress-seo"),"aria-disabled":this.props.isFirst}),(0,p.jsx)(m.Button,{className:"editor-block-mover__control",onClick:this.onMoveStepDown,icon:"arrow-down-alt2",label:(0,a.__)("Move step down","wordpress-seo"),"aria-disabled":this.props.isLast})]})}onSelectImage(e){const{index:t,step:{name:n,text:r}}=this.props,o=(0,p.jsx)("img",{className:`wp-image-${e.id}`,alt:e.alt||"",src:e.url,style:{maxWidth:"100%"}}),i=(r||"")+(0,u.renderToString)(o);this.props.onChange(n,i,n,r,t)}shouldComponentUpdate(e){return!(0,h.isShallowEqualObjects)(e,this.props)}static Content(e){const{name:t,text:n,id:r}=e,o=Array.isArray(t)?f(t):t,i=Array.isArray(n)?f(n):n;return(0,p.jsxs)("li",{className:"schema-how-to-step",id:r,children:[(0,p.jsx)(x,{tagName:"strong",className:"schema-how-to-step-name",value:o},r+"-name"),(0,p.jsx)(x,{tagName:"p",className:"schema-how-to-step-text",value:i},r+"-text")]},r)}render(){const{index:e,step:n,isSelected:r,isUnorderedList:o}=this.props,{id:i,name:s,text:l}=n;return(0,p.jsxs)("li",{className:"schema-how-to-step",children:[(0,p.jsx)("span",{className:"schema-how-to-step-number",children:o?"•":e+1+"."}),(0,p.jsx)(t.RichText,{identifier:`${i}-name`,className:"schema-how-to-step-name",tagName:"p",value:s,onChange:this.onChangeTitle,onFocus:this.onFocusTitle,placeholder:(0,a.__)("Enter a step title","wordpress-seo"),allowedFormats:["core/italic","core/strikethrough","core/link","core/annotation"]},`${i}-name`),(0,p.jsx)(t.RichText,{identifier:`${i}-text`,className:"schema-how-to-step-text",tagName:"p",value:l,onChange:this.onChangeText,onFocus:this.onFocusText,placeholder:(0,a.__)("Enter a step description","wordpress-seo")},`${i}-text`),r&&(0,p.jsxs)("div",{className:"schema-how-to-step-controls-container",children:[this.getMover(),this.getButtons()]})]},i)}}function T(e,t=0){return parseInt(e,10)||t}w.propTypes={index:s().number.isRequired,step:s().object.isRequired,onChange:s().func.isRequired,insertStep:s().func.isRequired,removeStep:s().func.isRequired,onFocus:s().func.isRequired,onMoveUp:s().func.isRequired,onMoveDown:s().func.isRequired,isSelected:s().bool.isRequired,isFirst:s().bool.isRequired,isLast:s().bool.isRequired,isUnorderedList:s().bool},w.defaultProps={isUnorderedList:!1};var C=n(9196);const S=d(t.RichText.Content);class E extends u.Component{constructor(e){super(e),this.state={focus:""},this.changeStep=this.changeStep.bind(this),this.insertStep=this.insertStep.bind(this),this.removeStep=this.removeStep.bind(this),this.swapSteps=this.swapSteps.bind(this),this.setFocus=this.setFocus.bind(this),this.addCSSClasses=this.addCSSClasses.bind(this),this.getListTypeHelp=this.getListTypeHelp.bind(this),this.toggleListType=this.toggleListType.bind(this),this.setDurationText=this.setDurationText.bind(this),this.setFocusToStep=this.setFocusToStep.bind(this),this.moveStepUp=this.moveStepUp.bind(this),this.moveStepDown=this.moveStepDown.bind(this),this.focusDescription=this.focusDescription.bind(this),this.addDuration=this.addDuration.bind(this),this.removeDuration=this.removeDuration.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this),this.onChangeDays=this.onChangeDays.bind(this),this.onChangeHours=this.onChangeHours.bind(this),this.onChangeMinutes=this.onChangeMinutes.bind(this),this.onAddStepButtonClick=this.onAddStepButtonClick.bind(this),this.daysInput=(0,u.createRef)(),this.addDurationButton=(0,u.createRef)();const t=this.getDefaultDurationText();this.setDefaultDurationText(t)}getDefaultDurationText(){const e=(0,c.get)(window,"wp.hooks.applyFilters");let t=(0,a.__)("Time needed:","wordpress-seo");return e&&(t=e("wpseo_duration_text",t)),t}setDurationText(e){this.props.setAttributes({durationText:e})}setDefaultDurationText(e){this.props.setAttributes({defaultDurationText:e})}onAddStepButtonClick(){this.insertStep(null,"","",[],!1)}static generateId(e=""){return`${e}-${(new Date).getTime()}`}changeStep(e,t,n,r,o){const i=this.props.attributes.steps?this.props.attributes.steps.slice():[];if(o>=i.length)return;if(i[o].name!==n||i[o].text!==r)return;i[o]={id:i[o].id,name:e,text:t,jsonName:e,jsonText:t},i[o].images=v(t);const s=b(t);s&&(i[o].jsonImageSrc=s),this.props.setAttributes({steps:i})}insertStep(e=null,t="",n="",r=[],o=!0){const i=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=i.length-1),i.splice(e+1,0,{id:E.generateId("how-to-step"),name:t,text:n,images:r,jsonName:"",jsonText:""}),this.props.setAttributes({steps:i}),o?setTimeout(this.setFocus.bind(this,`${e+1}:name`)):(0,l.speak)((0,a.__)("New step added","wordpress-seo"))}swapSteps(e,t){const n=this.props.attributes.steps?this.props.attributes.steps.slice():[],r=n[e];n[e]=n[t],n[t]=r,this.props.setAttributes({steps:n});const[o,i]=this.state.focus.split(":");o===`${e}`&&this.setFocus(`${t}:${i}`),o===`${t}`&&this.setFocus(`${e}:${i}`)}removeStep(e){const t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t});let n="description";t[e]?n=`${e}:name`:t[e-1]&&(n=e-1+":text"),this.setFocus(n)}setFocus(e){e!==this.state.focus&&this.setState({focus:e})}setFocusToStep(e,t){this.setFocus(`${e}:${t}`)}moveStepUp(e){this.swapSteps(e,e-1)}moveStepDown(e){this.swapSteps(e,e+1)}getSteps(){if(!this.props.attributes.steps)return null;const[e]=this.state.focus.split(":");return this.props.attributes.steps.map(((t,n)=>(0,p.jsx)(w,{step:t,index:n,onChange:this.changeStep,insertStep:this.insertStep,removeStep:this.removeStep,onFocus:this.setFocusToStep,onMoveUp:this.moveStepUp,onMoveDown:this.moveStepDown,isFirst:0===n,isLast:n===this.props.attributes.steps.length-1,isSelected:e===`${n}`,isUnorderedList:this.props.attributes.unorderedList},t.id)))}formatDuration(e,t=null){if(""===e)return"";const n=e.replace(/^[0]+/,"");return""===n?0:null!==t?Math.min(Math.max(0,parseInt(n,10)),t):Math.max(0,parseInt(n,10))}static getStepsContent(e){return e?e.map((e=>(0,C.createElement)(w.Content,{...e,key:e.id}))):null}static Content(e){const{steps:t,hasDuration:n,days:r,hours:o,minutes:i,description:s,unorderedList:l,additionalListCssClasses:c,className:u,durationText:d,defaultDurationText:h}=e,m=["schema-how-to",u].filter((e=>e)).join(" "),f=["schema-how-to-steps",c].filter((e=>e)).join(" "),g=function(e){const t=function({days:e,hours:t,minutes:n}){const r=[];return 0!==e&&r.push((0,a.sprintf)(/* translators: %d expands to the number of days. */ (0,a._n)("%d day","%d days",e,"wordpress-seo"),e)),0!==t&&r.push((0,a.sprintf)(/* translators: %d expands to the number of hours. */ (0,a._n)("%d hour","%d hours",t,"wordpress-seo"),t)),0!==n&&r.push((0,a.sprintf)(/* translators: %d expands to the number of minutes. */ (0,a._n)("%d minute","%d minutes",n,"wordpress-seo"),n)),r}({days:T(e.days),hours:T(e.hours),minutes:T(e.minutes)});return 1===t.length?t[0]:2===t.length?(0,a.sprintf)(/* translators: %1$s and %2$s expand to units of time (e.g. 1 day). */ (0,a.__)("%1$s and %2$s","wordpress-seo"),...t):3===t.length?(0,a.sprintf)(/* translators: %1$s, %2$s and %3$s expand to units of time (e.g. 1 day). */ (0,a.__)("%1$s, %2$s and %3$s","wordpress-seo"),...t):""}({days:r,hours:o,minutes:i});return(0,p.jsxs)("div",{className:m,children:[n&&"string"==typeof g&&g.length>0&&(0,p.jsxs)("p",{className:"schema-how-to-total-time",children:[(0,p.jsxs)("span",{className:"schema-how-to-duration-time-text",children:[d||h," "]}),g+". "]}),(0,p.jsx)(S,{tagName:"p",className:"schema-how-to-description",value:s}),l?(0,p.jsx)("ul",{className:f,children:E.getStepsContent(t)}):(0,p.jsx)("ol",{className:f,children:E.getStepsContent(t)})]})}getAddStepButton(){return(0,p.jsx)(m.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"schema-how-to-add-step",children:(0,a.__)("Add step","wordpress-seo")})}addCSSClasses(e){this.props.setAttributes({additionalListCssClasses:e})}toggleListType(e){this.props.setAttributes({unorderedList:e})}getListTypeHelp(e){return e?(0,a.__)("Showing step items as an unordered list","wordpress-seo"):(0,a.__)("Showing step items as an ordered list.","wordpress-seo")}focusDescription(){this.setFocus("description")}onChangeDescription(e){this.props.setAttributes({description:e,jsonDescription:e})}addDuration(){this.props.setAttributes({hasDuration:!0}),setTimeout((()=>this.daysInput.current.focus()))}removeDuration(){this.props.setAttributes({hasDuration:!1}),setTimeout((()=>{this.addDurationButton.current instanceof u.Component||this.addDurationButton.current.focus()}))}onChangeDays(e){const t=this.formatDuration(e.target.value);this.props.setAttributes({days:(0,c.toString)(t)})}onChangeHours(e){const t=this.formatDuration(e.target.value,23);this.props.setAttributes({hours:(0,c.toString)(t)})}onChangeMinutes(e){const t=this.formatDuration(e.target.value,59);this.props.setAttributes({minutes:(0,c.toString)(t)})}getDuration(){const{attributes:e}=this.props;return e.hasDuration?(0,p.jsx)("fieldset",{className:"schema-how-to-duration",children:(0,p.jsxs)("span",{className:"schema-how-to-duration-flex-container",role:"presentation",children:[(0,p.jsx)("legend",{className:"schema-how-to-duration-legend",children:e.durationText||this.getDefaultDurationText()}),(0,p.jsxs)("span",{className:"schema-how-to-duration-time-input",children:[(0,p.jsx)("label",{htmlFor:"schema-how-to-duration-days",className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,a.__)("days","wordpress-seo")}),(0,p.jsx)("input",{id:"schema-how-to-duration-days",className:"schema-how-to-duration-input",type:"number",value:e.days||"",onChange:this.onChangeDays,placeholder:"DD",ref:this.daysInput}),(0,p.jsx)("label",{htmlFor:"schema-how-to-duration-hours",className:"screen-reader-text",children:(0,a.__)("hours","wordpress-seo")}),(0,p.jsx)("input",{id:"schema-how-to-duration-hours",className:"schema-how-to-duration-input",type:"number",value:e.hours||"",onChange:this.onChangeHours,placeholder:"HH"}),(0,p.jsx)("span",{"aria-hidden":"true",children:":"}),(0,p.jsx)("label",{htmlFor:"schema-how-to-duration-minutes",className:"screen-reader-text",children:(0,a.__)("minutes","wordpress-seo")}),(0,p.jsx)("input",{id:"schema-how-to-duration-minutes",className:"schema-how-to-duration-input",type:"number",value:e.minutes||"",onChange:this.onChangeMinutes,placeholder:"MM"}),(0,p.jsx)(m.Button,{className:"schema-how-to-duration-delete-button",icon:"trash",label:(0,a.__)("Delete total time","wordpress-seo"),onClick:this.removeDuration})]})]})}):(0,p.jsx)(m.Button,{onClick:this.addDuration,className:"schema-how-to-duration-button",ref:this.addDurationButton,icon:"insert",children:(0,a.__)("Add total time","wordpress-seo")})}getSidebar(e,n,r){return r===this.getDefaultDurationText()&&(r=""),(0,p.jsx)(t.InspectorControls,{children:(0,p.jsxs)(m.PanelBody,{title:(0,a.__)("Settings","wordpress-seo"),className:"blocks-font-size",children:[(0,p.jsx)(m.TextControl,{label:(0,a.__)("CSS class(es) to apply to the steps","wordpress-seo"),value:n,onChange:this.addCSSClasses,help:(0,a.__)("Optional. This can give you better control over the styling of the steps.","wordpress-seo"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,p.jsx)(m.TextControl,{label:(0,a.__)("Describe the duration of the instruction:","wordpress-seo"),value:r,onChange:this.setDurationText,help:(0,a.__)("Optional. Customize how you want to describe the duration of the instruction","wordpress-seo"),placeholder:this.getDefaultDurationText(),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,p.jsx)(m.ToggleControl,{label:(0,a.__)("Unordered list","wordpress-seo"),checked:e||!1,onChange:this.toggleListType,help:this.getListTypeHelp,__nextHasNoMarginBottom:!0})]})})}render(){const{attributes:e,className:n}=this.props,r=["schema-how-to",n].filter((e=>e)).join(" "),o=["schema-how-to-steps",e.additionalListCssClasses].filter((e=>e)).join(" ");return(0,p.jsxs)("div",{className:r,children:[this.getDuration(),(0,p.jsx)(t.RichText,{identifier:"description",tagName:"p",className:"schema-how-to-description",value:e.description,onChange:this.onChangeDescription,onFocus:this.focusDescription,placeholder:(0,a.__)("Enter a description","wordpress-seo")}),(0,p.jsx)("ul",{className:o,children:this.getSteps()}),(0,p.jsx)("div",{className:"schema-how-to-buttons",children:this.getAddStepButton()}),this.getSidebar(e.unorderedList,e.additionalListCssClasses,e.durationText)]})}}function _(e,t=0){return parseInt(e,10)||t}function N(e){const t=function({days:e,hours:t,minutes:n}){const r=[];return 0!==e&&r.push((0,a.sprintf)(/* translators: %d expands to the number of days. */ (0,a._n)("%d day","%d days",e,"wordpress-seo"),e)),0!==t&&r.push((0,a.sprintf)(/* translators: %d expands to the number of hours. */ (0,a._n)("%d hour","%d hours",t,"wordpress-seo"),t)),0!==n&&r.push((0,a.sprintf)(/* translators: %d expands to the number of minutes. */ (0,a._n)("%d minute","%d minutes",n,"wordpress-seo"),n)),r}({days:_(e.days),hours:_(e.hours),minutes:_(e.minutes)});return 1===t.length?t[0]:2===t.length?(0,a.sprintf)(/* translators: %1$s and %2$s expand to units of time (e.g. 1 day). */ (0,a.__)("%1$s and %2$s","wordpress-seo"),...t):3===t.length?(0,a.sprintf)(/* translators: %1$s, %2$s and %3$s expand to units of time (e.g. 1 day). */ (0,a.__)("%1$s, %2$s and %3$s","wordpress-seo"),...t):""}E.propTypes={attributes:s().object.isRequired,setAttributes:s().func.isRequired,className:s().string},E.defaultProps={className:""};const A=e=>(0,p.jsxs)("li",{className:"schema-how-to-step",children:[(0,p.jsx)("strong",{className:"schema-how-to-step-name",children:e.name},e.id+"-name")," ",(0,p.jsx)("p",{className:"schema-how-to-step-text",children:e.text},e.id+"-text")," "]},e.id);function k(e){let{steps:t}=e.attributes;const{hasDuration:n,days:r,hours:o,minutes:i,description:s,unorderedList:l,additionalListCssClasses:c,className:u}=e.attributes;t=t?t.map((e=>(0,C.createElement)(A,{...e,key:e.id}))):null;const d=["schema-how-to",u].filter((e=>e)).join(" "),h=["schema-how-to-steps",c].filter((e=>e)).join(" "),m=N({days:r,hours:o,minutes:i});return(0,p.jsxs)("div",{className:d,children:[n&&"string"==typeof m&&m.length>0&&(0,p.jsxs)("p",{className:"schema-how-to-total-time",children:[(0,a.__)("Time needed:","wordpress-seo")," ",m+". "]}),(0,p.jsx)("p",{className:"schema-how-to-description",children:s})," ",l?(0,p.jsx)("ul",{className:h,children:t}):(0,p.jsx)("ol",{className:h,children:t})]})}function D(e){return(0,p.jsxs)("li",{className:"schema-how-to-step",children:[(0,p.jsx)("strong",{className:"schema-how-to-step-name",children:e.name},e.id+"-name")," ",(0,p.jsx)("p",{className:"schema-how-to-step-text",children:e.text},e.id+"-text")," "]},e.id)}function j(e){const{steps:t,hasDuration:n,days:r,hours:o,minutes:i,description:s,unorderedList:a,additionalListCssClasses:l,className:c,durationText:u,defaultDurationText:d}=e.attributes,h=["schema-how-to",c].filter((e=>e)).join(" "),m=["schema-how-to-steps",l].filter((e=>e)).join(" "),f=N({days:r,hours:o,minutes:i});let g=[];return t&&(g=t.map((e=>(0,C.createElement)(D,{...e,key:e.id})))),(0,p.jsxs)("div",{className:h,children:[n&&"string"==typeof f&&f.length>0&&(0,p.jsxs)("p",{className:"schema-how-to-total-time",children:[(0,p.jsxs)("span",{className:"schema-how-to-duration-time-text",children:[u||d," "]}),f+". "]}),(0,p.jsx)("p",{className:"schema-how-to-description",children:s})," ",a?(0,p.jsx)("ul",{className:m,children:g}):(0,p.jsx)("ol",{className:m,children:g})]})}k.propTypes={attributes:s().object},j.propTypes={attributes:s().object.isRequired};const R=e=>{if(!e)return"";if("string"==typeof e)return e;if(Array.isArray(e))try{return(0,u.renderToString)(e)}catch(t){return e.map((e=>"string"==typeof e?e:e&&e.props?(0,u.renderToString)(e):"")).join("")}return""},O=e=>{const{key:t,props:n={}}=e,{src:r="",alt:o="",className:i="",style:s=""}=n;return{type:"img",key:t,props:{src:r,alt:o,className:i,style:s}}},P=e=>{if(!e.steps)return e;const t=e.steps.map((e=>{const t=((e,t)=>{var n;return Array.isArray(t)&&0===e.length&&(n=t,e=Array.isArray(n)?n.filter((e=>e&&e.type&&"img"===e.type)).map(O):[]),e})(e.images||[],e.text),n=R(e.name),r=R(e.text);let o=e.jsonImageSrc||"";return!o&&t.length>0&&t[0].props.src&&(o=t[0].props.src),{id:e.id,name:n,text:r,images:t,jsonName:n,jsonText:r,jsonImageSrc:o}})),n={...e,steps:t};return Array.isArray(e.description)&&(n.description=R(e.description),n.jsonDescription=n.description),(0,c.pickBy)(n,(e=>void 0!==e))},I=e=>!(!e.steps||!Array.isArray(e.steps))&&e.steps.some((e=>Array.isArray(e.name)||Array.isArray(e.text)||!e.images&&Array.isArray(e.text))),M=({attributes:e})=>{const n=t.useBlockProps.save(e);return(0,p.jsx)(E.Content,{...n})},L={v8_2:k,v11_4:j,v27_0:e};(0,r.registerBlockType)(o,{edit:({attributes:e,setAttributes:n,className:r})=>{const o=(0,t.useBlockProps)();return e.steps&&0!==e.steps.length||(e.steps=[{id:E.generateId("how-to-step"),name:"",text:"",images:[]}]),(0,p.jsx)("div",{...o,children:(0,p.jsx)(E,{attributes:e,setAttributes:n,className:r})})},save:({attributes:e})=>{const n=t.useBlockProps.save(e);return(0,p.jsx)(E.Content,{...n})},deprecated:[{attributes:o.attributes,save:L.v27_0.legacySave,migrate:L.v27_0.migrateToStringFormat,isEligible:L.v27_0.needsMigration},{attributes:o.attributes,save:L.v11_4},{attributes:o.attributes,save:L.v8_2}]})})()})(); dist/analysis-worker.js 0000644 00000001151 15174677550 0011216 0 ustar 00 (()=>{self.window=self;const e=["lodash","regenerator-runtime","wp-hooks","wp-i18n"];self.onmessage=({data:s})=>{if(!s||!s.dependencies)return;!function(s){for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&(e.includes(o)||o.startsWith("yoast-seo"))&&(self.importScripts(s[o]),"lodash"===o&&(self.lodash=_.noConflict()))}(s.dependencies),s.translations&&function(e){for(const[s,o]of e){const e=o.locale_data[s]||o.locale_data.messages;e[""].domain=s,self.wp.i18n.setLocaleData(e,s)}}(s.translations);const o=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new o).register()}})(); dist/ai-generator.js 0000644 00000304756 15174677550 0010462 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var o=typeof s;if("string"===o||"number"===o)e.push(s);else if(Array.isArray(s)){if(s.length){var a=i.apply(null,s);a&&e.push(a)}}else if("object"===o){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var n in s)r.call(s,n)&&s[n]&&e.push(n)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(s=function(){return i}.apply(t,[]))||(e.exports=s)}()}},t={};function s(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.components,t=window.wp.data,r=window.wp.hooks,i=window.yoast.uiLibrary,o=window.lodash,a=window.yoast.reduxJsToolkit,n="adminUrl",l=(0,a.createSlice)({name:n,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),c=(l.getInitialState,{selectAdminUrl:e=>(0,o.get)(e,n,"")});c.selectAdminLink=(0,a.createSelector)([c.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),l.actions,l.reducer;const d=window.wp.apiFetch;var u=s.n(d);const p="hasConsent",m=`${p}/storeConsent`,h=(0,a.createSlice)({name:p,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),g=h.getInitialState,y={selectHasAiGeneratorConsent:e=>(0,o.get)(e,[p,"hasConsent"],h.getInitialState().hasConsent),selectAiGeneratorConsentEndpoint:e=>(0,o.get)(e,[p,"endpoint"],h.getInitialState().endpoint)},w={...h.actions,storeAiGeneratorConsent:function*(e,t){try{yield{type:m,payload:{consent:e,endpoint:t}}}catch(e){return!1}return yield{type:`${p}/giveAiGeneratorConsent`,payload:e},!0}},x={[m]:async({payload:e})=>await u()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},f=h.reducer,v=window.wp.url,b="linkParams",S=(0,a.createSlice)({name:b,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),k=(S.getInitialState,{selectLinkParam:(e,t,s={})=>(0,o.get)(e,`${b}.${t}`,s),selectLinkParams:e=>(0,o.get)(e,b,{})});k.selectLink=(0,a.createSelector)([k.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,v.addQueryArgs)(t,{...e,...s}))),S.actions,S.reducer;const C=(0,a.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:i})=>({payload:{id:e||(0,a.nanoid)(),variant:t,size:s,title:r||"",description:i}})},removeNotification:(e,{payload:t})=>(0,o.omit)(e,t)}}),_=(C.getInitialState,C.actions,C.reducer,"pluginUrl"),j=(0,a.createSlice)({name:_,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),E=(j.getInitialState,{selectPluginUrl:e=>(0,o.get)(e,_,"")});E.selectImageLink=(0,a.createSelector)([E.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,o.trimEnd)(e,"/"),(0,o.trim)(t,"/"),(0,o.trimStart)(s,"/")].join("/"))),j.actions,j.reducer;const R="request",I="success",L="error",T="idle",P="loading",M="success",A="error",N="showPlay",$="askPermission",F="isPlaying",q="wistiaEmbedPermission",O=(0,a.createSlice)({name:q,initialState:{value:!1,status:T,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${q}/${R}`,(e=>{e.status=P})),e.addCase(`${q}/${I}`,((e,{payload:t})=>{e.status=M,e.value=Boolean(t&&t.value)})),e.addCase(`${q}/${L}`,((e,{payload:t})=>{e.status=A,e.value=Boolean(t&&t.value),e.error={code:(0,o.get)(t,"error.code",500),message:(0,o.get)(t,"error.message","Unknown")}}))}});var U;O.getInitialState,O.actions,O.reducer;const W=(0,a.createSlice)({name:"documentTitle",initialState:(0,o.defaultTo)(null===(U=document)||void 0===U?void 0:U.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),B=(W.getInitialState,W.actions,W.reducer,window.React);var D=s.n(B);const G=B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),H=window.wp.element,z=window.wp.i18n,V=window.yoast.aiFrontend,Y=window.yoast.propTypes;var K=s.n(Y);const Z="yoast-seo/ai-generator",X="yoast-seo/editor",J="google",Q="social",ee="twitter",te="title",se="description",re="post",ie="term",oe={post:"title",term:"term_title"},ae=(0,o.mapValues)(oe,(e=>`%%${e}%%`)),ne={idle:"idle",loading:"loading",success:"success",error:"error"},le="success",ce="error",de="abort",ue=window.yoast.analysis,pe=(window.wp.sanitize,window.yoast.helpers),me=(e,t)=>{try{return(0,H.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},he=window.ReactJSXRuntime,{stripHTMLTags:ge}=pe.strings;let ye,we=!1;const xe=["_formal","_informal","_ao90"],fe=e=>{for(const t of xe)if(e.endsWith(t))return e.slice(0,-t.length);return e},ve="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>";ve.split(""),new RegExp("^["+ve+"]+"),new RegExp("["+ve+"]+$");const be=new RegExp("["+ve+"#$%&*+/=@^`{|}~ -¿–-⁊ -₠-⃀]","g"),Se=e=>0===e.replace(be,"").trim().length,ke=e=>{const t={...e};return""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(t.value="%%"+e.name+"%%"),t.badge=`<badge>${e.label}</badge>`,t},Ce=()=>{const e=(0,t.useSelect)((e=>e(X).getReplaceVars()),[]),s=(0,H.useMemo)((()=>e.map(ke)),[e]);return(0,H.useCallback)(((e,{key:t="value",overrides:r={},applyPluggable:i=!0,editType:a=te,contentType:n=re}={})=>{for(const i of s)e=e.replace(new RegExp("%%"+(0,o.escapeRegExp)(i.name)+"%%","g"),(0,o.get)(r,i.name,i[t]));return n===ie&&(e=e.replace(" Archives","")),i?((e,t=te)=>{const s=function(e){const t=(0,o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:ge(t(e.title)),description:ge(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?ge(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:ge(s("data_page_title",e.title)),description:ge(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?ge(s("data_page_title",e.filteredSEOTitle)):""}}({title:"",description:"",[t]:ue.languageProcessing.stripSpaces(e)});return(0,o.get)(s,t,e)})(e,a):e}),[s])},_e={editType:te,previewType:J,postType:"post",contentType:re},je=(0,H.createContext)(_e),Ee=je.Provider,Re=()=>(0,H.useContext)(je),Ie=window.yoast.externals.contexts,Le=()=>(0,H.useContext)(Ie.LocationContext),Te=e=>{const t=(0,H.useRef)(null);return(0,H.useCallback)((s=>{(0,o.attempt)((()=>t.current&&t.current.disconnect())),null!==s&&(t.current=new ResizeObserver((t=>{(0,o.forEach)(t,(t=>e(t)))})),t.current.observe(s))}),[e])},Pe=(0,a.createSlice)({name:"suggestions",initialState:{status:ne.loading,error:{code:200,message:""},entities:[],selected:""},reducers:{setLoading:e=>{e.status=ne.loading},setSuccess:(e,{payload:t})=>{e.status=ne.success,e.selected=t[0],e.entities.push(...t)},setError:(e,{payload:t})=>{e.status=ne.error,e.error=t},setSelected:(e,{payload:t})=>{e.selected=t}}}),Me=e=>{switch(e){case Q:return"Facebook";case ee:return"Twitter";default:return"Google"}},Ae=window.yoast.searchMetadataPreviews,Ne="usageCount",$e="fetchUsageCount",Fe=`${$e}/${I}`,qe=`${$e}/${L}`,Oe={errorCode:null,errorIdentifier:null,errorMessage:null},Ue=(0,a.createSlice)({name:Ne,initialState:{status:T,count:0,limit:10,endpoint:"yoast/v1/ai_generator/get_usage",error:Oe},reducers:{addUsageCount:(e,{payload:t=1})=>{e.count+=t},setUsageCount:(e,{payload:t})=>{e.count=t},setUsageCountEndpoint:(e,{payload:t})=>{e.endpoint=t},setUsageCountLimit:(e,{payload:t})=>{e.limit=t}},extraReducers:e=>{e.addCase(`${$e}/${R}`,(e=>{e.status=P,e.error=Oe})),e.addCase(Fe,((e,{payload:t})=>{e.status=M,e.count=t.count,e.limit=t.limit,e.error=Oe})),e.addCase(`${$e}/${L}`,((e,{payload:t})=>{e.status=A,e.error={errorCode:502,...t}}))}}),We=Ue.getInitialState,Be={selectUsageCountStatus:e=>(0,o.get)(e,[Ne,"status"],Ue.getInitialState()),selectUsageCount:e=>(0,o.get)(e,[Ne,"count"],Ue.getInitialState().count),selectUsageCountLimit:e=>(0,o.get)(e,[Ne,"limit"],Ue.getInitialState().limit),selectUsageCountEndpoint:e=>(0,o.get)(e,[Ne,"endpoint"],Ue.getInitialState().endpoint),selectUsageCountError:e=>(0,o.get)(e,[Ne,"error"],Ue.getInitialState().error)};Be.selectUsageCountRemaining=(0,a.createSelector)([Be.selectUsageCount,Be.selectUsageCountLimit],((e,t)=>Math.max(t-e,0))),Be.isUsageCountLimitReached=(0,a.createSelector)([Be.selectUsageCount,Be.selectUsageCountLimit,Be.selectUsageCountError],((e,t,s)=>429===s.errorCode||e>=t));const De={...Ue.actions,fetchUsageCount:function*({endpoint:e,isWooProductEntity:t}){yield{type:`${$e}/${R}`};try{const s=(e=>{const t=(0,o.get)(e,"totalUsed.license",null),s=(0,o.get)(e,"totalUsed.limit",null);if(!(0,o.isNumber)(t)||t<0)throw new Error("Invalid usage count: must be a number of zero or higher.");if(!(0,o.isNumber)(s)||s<-1||0===s)throw new Error("Invalid usage count limit: must be a number of -1 or higher than 1");return{count:t,limit:s}})(yield{type:$e,payload:{endpoint:e,isWooProductEntity:t}});return{type:`${$e}/${I}`,payload:s}}catch(e){return{type:`${$e}/${L}`,payload:e}}}},Ge={[$e]:async({payload:e})=>u()({method:"POST",path:e.endpoint,data:{is_woo_product_entity:e.isWooProductEntity}})},He=Ue.reducer;B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));K().string.isRequired;const ze=B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Ve=B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));K().string.isRequired,K().string.isRequired,K().shape({src:K().string.isRequired,width:K().string,height:K().string}).isRequired,K().shape({value:K().bool.isRequired,status:K().string.isRequired,set:K().func.isRequired}).isRequired,K().string,K().string,K().string;const Ye=({handleRefreshClick:e,supportLink:t})=>(0,he.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,he.jsx)(i.Button,{onClick:e,children:(0,z.__)("Refresh this page","wordpress-seo")}),(0,he.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,z.__)("Contact support","wordpress-seo")})]});Ye.propTypes={handleRefreshClick:K().func.isRequired,supportLink:K().string.isRequired};const Ke=({handleRefreshClick:e,supportLink:t})=>(0,he.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,he.jsx)(i.Button,{className:"yst-order-last",onClick:e,children:(0,z.__)("Refresh this page","wordpress-seo")}),(0,he.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,z.__)("Contact support","wordpress-seo")})]});Ke.propTypes={handleRefreshClick:K().func.isRequired,supportLink:K().string.isRequired};const Ze=({error:e,children:t=null})=>(0,he.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,he.jsx)(i.Title,{children:(0,z.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,he.jsx)("p",{children:(0,z.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,he.jsx)(i.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,z.__)("Undefined error message.","wordpress-seo")}),(0,he.jsx)("p",{children:(0,z.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});Ze.propTypes={error:K().object.isRequired,children:K().node},Ze.VerticalButtons=Ke,Ze.HorizontalButtons=Ye;K().string,K().node.isRequired,K().node.isRequired,K().node,K().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const Xe=window.ReactDOM;var Je,Qe,et;(Qe=Je||(Je={})).Pop="POP",Qe.Push="PUSH",Qe.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(et||(et={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const tt=["post","put","patch","delete"],st=(new Set(tt),["get",...tt]);new Set(st),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),B.Component,B.startTransition,new Promise((()=>{})),B.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var rt,it,ot,at;new Map,B.startTransition,Xe.flushSync,B.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(at=rt||(rt={})).UseScrollRestoration="useScrollRestoration",at.UseSubmit="useSubmit",at.UseSubmitFetcher="useSubmitFetcher",at.UseFetcher="useFetcher",at.useViewTransitionState="useViewTransitionState",(ot=it||(it={})).UseFetcher="useFetcher",ot.UseFetchers="useFetchers",ot.UseScrollRestoration="useScrollRestoration",K().string.isRequired,K().string;const nt=({href:e,children:t=null,...s})=>(0,he.jsxs)(i.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,he.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,z.__)("(Opens in a new browser tab)","wordpress-seo")})]});nt.propTypes={href:K().string.isRequired,children:K().node};B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),(0,z.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,z.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,z.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,z.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,z.__)("Add product details to help your listings stand out","wordpress-seo"),(0,z.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,z.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,z.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,z.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,z.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,z.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,z.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,z.__)("Internal links and redirect management, easy","wordpress-seo"),(0,z.__)("Access to friendly help when you need it, day or night","wordpress-seo");var lt=s(4184),ct=s.n(lt);K().string.isRequired,K().object.isRequired,K().func.isRequired,B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),K().string.isRequired,K().object,K().func.isRequired,K().bool.isRequired,K().string.isRequired,K().object.isRequired,K().string.isRequired,K().func.isRequired,K().bool.isRequired,B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),K().bool.isRequired,K().func,K().func,K().string.isRequired,K().string.isRequired,K().string.isRequired,K().string.isRequired;const dt=window.yoast.reactHelmet,ut=({videoId:e,thumbnail:t,wistiaEmbedPermission:s,className:r=""})=>{const[o,a]=(0,H.useState)(s.value?F:N),n=(0,H.useCallback)((()=>a(F)),[a]),l=(0,H.useCallback)((()=>{s.value?n():a($)}),[s.value,n,a]),c=(0,H.useCallback)((()=>a(N)),[a]),d=(0,H.useCallback)((()=>{s.set(!0),n()}),[s.set,n]);return(0,he.jsxs)(he.Fragment,{children:[s.value&&(0,he.jsx)(dt.Helmet,{children:(0,he.jsx)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})}),(0,he.jsxs)("div",{className:ct()("yst-relative yst-w-full yst-h-0 yst-pt-[47.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white",r),children:[o===N&&(0,he.jsx)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:l,children:(0,he.jsx)("img",{className:"yst-w-full yst-h-auto yst-object-contain",alt:"",loading:"lazy",decoding:"async",...t})}),o===$&&(0,he.jsxs)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white",children:[(0,he.jsxs)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center",children:[s.status===P&&(0,he.jsx)(i.Spinner,{}),s.status!==P&&(0,z.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ (0,z.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")]}),(0,he.jsxs)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4",children:[(0,he.jsx)(i.Button,{type:"button",variant:"secondary",onClick:c,disabled:s.status===P,children:(0,z.__)("Deny","wordpress-seo")}),(0,he.jsx)(i.Button,{type:"button",variant:"primary",onClick:d,disabled:s.status===P,children:(0,z.__)("Allow","wordpress-seo")})]})]}),s.value&&o===F&&(0,he.jsxs)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-right-0",children:[null===e&&(0,he.jsx)(i.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,he.jsx)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`})]})]})]})};ut.propTypes={videoId:K().string.isRequired,thumbnail:K().shape({src:K().string.isRequired,width:K().string,height:K().string}).isRequired,wistiaEmbedPermission:K().shape({value:K().bool.isRequired,status:K().string.isRequired,set:K().func.isRequired}).isRequired,hasPadding:K().bool},B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),K().bool.isRequired,K().func.isRequired,K().func,K().string;const pt=({onGiveConsent:e,learnMoreLink:t,privacyPolicyLink:s,termsOfServiceLink:r,imageLink:o})=>{const{onClose:a,initialFocus:n}=(0,i.useModalContext)(),[l,c]=(0,i.useToggleState)(!1),d=(0,H.useMemo)((()=>({src:o,width:"432",height:"244"})),[o]),u=me((0,z.sprintf)(/* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */ (0,z.__)("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,he.jsx)(nt,{href:r}),a2:(0,he.jsx)(nt,{href:s})}),[p,m]=(0,i.useToggleState)(!1),h=(0,H.useCallback)((async()=>{m(),await e(),m()}),[e]);return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:(0,he.jsx)("div",{className:"yst-relative yst-w-full",children:(0,he.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:"",loading:"lazy",decoding:"async",...d})})}),(0,he.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,he.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,he.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,z.sprintf)(/* translators: %s expands to Yoast AI. */ (0,z.__)("Grant consent for %s","wordpress-seo"),"Yoast AI")}),(0,he.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:me((0,z.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */ (0,z.__)("Enable AI-powered SEO! Use all Yoast AI features to boost your efficiency. Just give us the green light. %1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),{a:(0,he.jsx)(nt,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,he.jsx)(Ve,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,he.jsx)("br",{})})})]}),(0,he.jsx)("div",{className:"yst-flex yst-w-full yst-mt-6",children:(0,he.jsx)("hr",{className:"yst-w-full yst-text-gray-200"})}),(0,he.jsxs)("div",{className:"yst-flex yst-items-start yst-mt-4",children:[(0,he.jsx)("input",{type:"checkbox",id:"yst-ai-consent-checkbox",name:"yst-ai-consent-checkbox",checked:l,value:l?"true":"false",onChange:c,className:"yst-checkbox__input",ref:n}),(0,he.jsx)("label",{htmlFor:"yst-ai-consent-checkbox",className:"yst-label yst-checkbox__label yst-text-xs yst-font-normal yst-text-slate-500",children:u})]}),(0,he.jsx)("div",{className:"yst-w-full yst-flex yst-mt-4",children:(0,he.jsxs)(i.Button,{as:"button",className:"yst-grow",size:"large",disabled:!l,onClick:h,children:[p&&(0,he.jsx)(i.Spinner,{className:"yst-me-2"}),(0,z.__)("Grant consent","wordpress-seo")]})}),(0,he.jsx)(i.Button,{as:"button",className:"yst-mt-4",variant:"tertiary",onClick:a,children:(0,z.__)("Close","wordpress-seo")})]})]})};pt.propTypes={onGiveConsent:K().func.isRequired,learnMoreLink:K().string.isRequired,privacyPolicyLink:K().string.isRequired,termsOfServiceLink:K().string.isRequired,imageLink:K().string.isRequired};const mt=()=>{const e=(0,t.useSelect)((e=>e(X).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Something went wrong","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,z.__)("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,he.jsx)(nt,{variant:"error",href:e}),a2:(0,he.jsx)(nt,{variant:"error",href:s})})})]})},ht=()=>{const e=(0,t.useSelect)((e=>e(X).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Not enough content","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,z.__)("Please add more content to ensure a valuable AI suggestion. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,he.jsx)(nt,{variant:"error",href:e}),a2:(0,he.jsx)(nt,{variant:"error",href:s})})})]})},gt=()=>{const e=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_settings#/site-features#card-wpseo-keyword_analysis_active")),[]),s=(0,H.useCallback)((()=>{window.location.reload()}),[]),{onClose:r}=(0,i.useModalContext)();return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("SEO analysis required","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)( /** * translators: * %1$s expands to Yoast SEO. * %2$s and %3$s expand to an opening and closing anchor tag, respectively, that links to the settings page. * %4$s expands to Yoast AI. */ (0,z.__)("%4$s requires the SEO analysis to be enabled. To enable it, please navigate to %2$sSite features%3$s in %1$s, turn on the SEO analysis, and click 'Save changes'. If it's disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.","wordpress-seo"),"Yoast SEO","<a>","</a>","Yoast AI"),{a:(0,he.jsx)(nt,{variant:"error",href:e})})})]}),(0,he.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,he.jsx)(i.Button,{variant:"secondary",onClick:r,children:(0,z.__)("Close","wordpress-seo")}),(0,he.jsx)(i.Button,{className:"yst-revoke-button",variant:"primary",onClick:s,children:(0,z.__)("Refresh page","wordpress-seo")})]})]})},yt=()=>{const e=(0,t.useSelect)((e=>e(X).selectLink("https://yoa.st/ai-generator-rate-limit-help")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("You've reached the Yoast AI rate limit","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,z.__)("You might have reached your Yoast AI rate limit for a specific time frame or your sparks limit for this month. If you have reached your rate limit, please reduce the frequency of your requests to continue using Yoast AI features. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.","wordpress-seo"),"<a>","</a>"),{a:(0,he.jsx)(nt,{variant:"error",href:e})})})]})},wt=({invalidSubscriptions:e=[]})=>{const{newYoastWooLink:s,activateYoastWooLink:r,newPremiumLink:o,activatePremiumLink:a}=(0,t.useSelect)((e=>{const t=e(X);return{newYoastWooLink:t.selectLink("https://yoa.st/ai-generator-new-yoast-woocommerce"),activateYoastWooLink:t.selectLink("https://yoa.st/ai-generator-activate-yoast-woocommerce"),newPremiumLink:t.selectLink("https://yoa.st/ai-generator-new-premium"),activatePremiumLink:t.selectLink("https://yoa.st/ai-generator-activate-premium")}}),[]),{onClose:n}=(0,i.useModalContext)(),l=(0,H.useCallback)((async()=>{try{await u()({path:"yoast/v1/ai_generator/bust_subscription_cache",method:"POST",parse:!1})}catch(e){console.error(e)}window.location.reload()}),[]);let c,d,p;return e.includes("Yoast WooCommerce SEO")?(c="Yoast WooCommerce SEO",d=r,p=s):e.includes("Yoast SEO Premium")&&(c="Yoast SEO Premium",d=a,p=o),(0,he.jsxs)(H.Fragment,{children:[(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Subscription required","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)( /** * translators: * %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. * %2$s expands to MyYoast. * %3$s and %4$s expand to an opening and closing anchor tag, respectively, to activate your subscription. * %5$s and %6$s expand to an opening and closing anchor tag, respectively, to get a new subscription. **/ (0,z.__)("To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.","wordpress-seo"),c,"MyYoast","<Activate>","</Activate>","<New>","</New>"),{Activate:(0,he.jsx)(nt,{variant:"error",href:d}),New:(0,he.jsx)(nt,{variant:"error",href:p})})})]}),(0,he.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,he.jsx)(i.Button,{variant:"secondary",onClick:n,children:(0,z.__)("Close","wordpress-seo")}),(0,he.jsx)(i.Button,{variant:"primary",onClick:l,children:(0,z.__)("Refresh page","wordpress-seo")})]})]})};wt.propTypes={invalidSubscriptions:K().arrayOf(K().string)};const xt=()=>{const e=(0,t.useSelect)((e=>e(X).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Connection timeout","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,z.__)("It seems that a connection timeout has occurred. Please check your internet connection and try again later. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,he.jsx)(nt,{variant:"error",href:e}),a2:(0,he.jsx)(nt,{variant:"error",href:s})})})]})},ft=()=>{const e=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Usage policy violation","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)( /* translators: %1$s, %2$s, %3$s, %4$s are anchor tags. * %5$s expands to OpenAI. */ (0,z.__)("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:(0,he.jsx)(nt,{variant:"error",href:"https://openai.com/policies/usage-policies"}),a2:(0,he.jsx)(nt,{variant:"error",href:e})})})]})},vt=({errorMessage:e=""})=>{const s=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Something went wrong","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:(0,z.sprintf)(/* translators: %s is the error response of the request. */ (0,z.__)("The request came back with the following error: '%s'.","wordpress-seo"),e)}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,z.__)("Please try again later. If the issue persists, please %1$scontact our support team%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,he.jsx)(nt,{variant:"error",href:s})})})]})};vt.propTypes={errorMessage:K().string};const bt=()=>{const e=(0,t.useSelect)((e=>e(X).selectAdminLink("plugins.php")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Something went wrong","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. %2$s expands to an opening link tag. %3$s expands to a closing link tag. */ (0,z.__)("The version of %1$s is outdated. Please upgrade %1$s %2$shere%3$s!","wordpress-seo"),"Yoast SEO Premium","<a>","</a>"),{a:(0,he.jsx)(nt,{variant:"error",href:e})})})]})},St=()=>{const e=(0,t.useSelect)((e=>e(X).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,t.useSelect)((e=>e(X).selectAdminLink("?page=wpseo_page_support")),[]);return(0,he.jsxs)(i.Alert,{variant:"error",children:[(0,he.jsx)("span",{className:"yst-block yst-font-medium",children:(0,z.__)("Yoast AI cannot reach your site","wordpress-seo")}),(0,he.jsx)("p",{className:"yst-mt-2",children:me((0,z.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,z.__)("To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,he.jsx)(nt,{variant:"error",href:e}),a2:(0,he.jsx)(nt,{variant:"error",href:s})})})]})},kt=({errorCode:e,errorIdentifier:t="",errorMessage:s=""})=>{switch(e){case 400:switch(t){case"SITE_UNREACHABLE":return(0,he.jsx)(St,{});case"WP_HTTP_REQUEST_ERROR":return(0,he.jsx)(vt,{errorMessage:s});default:return(0,he.jsx)(mt,{})}case 429:return(0,he.jsx)(yt,{});default:return(0,he.jsx)(mt,{})}};kt.propTypes={errorCode:K().number.isRequired,errorIdentifier:K().string,errorMessage:K().string};const Ct=({currentSubscriptions:e,isSeoAnalysisActive:s=!0})=>{const{isPremium:r,usageCountStatus:i,usageCountError:o,isWooProductEntity:a,isWooSeoActive:n}=(0,t.useSelect)((e=>{const t=e(X);return{isPremium:t.getIsPremium(),usageCountStatus:e(Z).selectUsageCountStatus(),usageCountError:e(Z).selectUsageCountError(),isWooProductEntity:t.getIsWooProductEntity(),isWooSeoActive:t.getIsWooSeoActive()}}),[]),l=(0,H.useMemo)((()=>!e.wooCommerceSubscription&&a),[e.wooCommerceSubscription]),c=(0,H.useMemo)((()=>{const t=[];return!r&&!a||e.premiumSubscription||t.push("Yoast SEO Premium"),l&&n&&t.push("Yoast WooCommerce SEO"),t}),[r,e.premiumSubscription,l,n,a]);return c.length>0?(0,he.jsx)(wt,{invalidSubscriptions:c}):s?i===ne.error?(0,he.jsx)(kt,{...o}):void 0:(0,he.jsx)(gt,{})};Ct.propTypes={currentSubscriptions:K().object.isRequired,isSeoAnalysisActive:K().bool};const _t=({onStartGenerating:e})=>{const{termsOfServiceLink:s,privacyPolicyLink:r,learnMoreLink:i,imageLink:o,consentEndpoint:a}=(0,t.useSelect)((e=>({termsOfServiceLink:e(X).selectLink("https://yoa.st/ai-generator-terms-of-service"),privacyPolicyLink:e(X).selectLink("https://yoa.st/ai-generator-privacy-policy"),learnMoreLink:e(X).selectLink("https://yoa.st/ai-generator-learn-more"),imageLink:e(X).selectImageLink("ai-consent.png"),consentEndpoint:e(Z).selectAiGeneratorConsentEndpoint()})),[]),{storeAiGeneratorConsent:n}=(0,t.useDispatch)(Z),l=(0,H.useCallback)((async()=>{await n(!0,a),e()}),[n,e,a]);return(0,he.jsx)(pt,{termsOfServiceLink:s,privacyPolicyLink:r,learnMoreLink:i,imageLink:o,onGiveConsent:l})};_t.propTypes={onStartGenerating:K().func.isRequired};const jt=B.forwardRef((function(e,t){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),B.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),Et=e=>{var s,r;const i=null===(s=(0,t.useDispatch)("core/edit-post"))||void 0===s?void 0:s.openGeneralSidebar,o=null===(r=(0,t.useDispatch)("core/editor"))||void 0===r?void 0:r.closePublishSidebar,{openEditorModal:a}=(0,t.useDispatch)("yoast-seo/editor");return(0,H.useCallback)((()=>{o(),i("yoast-seo/seo-sidebar"),e&&a("yoast-search-appearance-modal")}),[o,i,a])},Rt=/(?<start><\/badge>|^(?!<badge>))(?<wrap>[\s\S]+?)(?<end><badge>|$)/g,It=({total:e,current:t,onNavigate:s,disabled:r=!1,...o})=>(0,he.jsxs)("div",{className:"yst-flex yst-justify-between yst-gap-x-2 yst-items-start",children:[(0,he.jsx)("p",{className:"yst-text-slate-500 yst-text-xxs yst-mt-1",children:(0,z.__)("Text generated by AI may be offensive or inaccurate.","wordpress-seo")}),e>1&&(0,he.jsx)(i.Pagination,{className:"yst-shrink-0",current:t,total:e,onNavigate:s,disabled:r,variant:"text" /* translators: Hidden accessibility text. */,screenReaderTextPrevious:(0,z.__)("Previous","wordpress-seo") /* translators: Hidden accessibility text. */,screenReaderTextNext:(0,z.__)("Next","wordpress-seo"),...o})]}),Lt=({height:e})=>{const[s,r]=(0,H.useState)(""),{onClose:a}=(0,i.useModalContext)(),{editType:n,previewType:l,contentType:c}=Re(),d=(()=>{const{editType:e,previewType:t}=Re();let s="SEO";switch(t){case Q:s="social";break;case ee:s="X"}switch(e){case te:return(0,z.sprintf)(/* translators: %s is the type of title. */ (0,z.__)("Generated %s titles","wordpress-seo"),s);case se:return t===J&&(s="meta"),(0,z.sprintf)(/* translators: %s is the type of description. */ (0,z.__)("Generated %s descriptions","wordpress-seo"),s)}})(),p=(()=>{const{editType:e,previewType:t}=Re();let s="SEO";switch(t){case Q:s="social";break;case ee:s="X"}switch(e){case te:return(0,z.sprintf)(/* translators: %s is the type of title. */ (0,z.__)("Apply %s title","wordpress-seo"),s);case se:return t===J&&(s="meta"),(0,z.sprintf)(/* translators: %s is the type of description. */ (0,z.__)("Apply %s description","wordpress-seo"),s)}})(),m=Le(),{suggestions:h,fetchSuggestions:g,setSelectedSuggestion:y}=(()=>{const[e,s]=(0,H.useReducer)(Pe.reducer,Pe.getInitialState()),{editType:r,previewType:i,postType:a,contentType:n}=Re(),l=(0,t.useSelect)((e=>e(Z).selectPromptContent()),[]),{contentLocale:c,focusKeyphrase:d,isWooCommerceActive:p,isGutenberg:m,isElementor:h}=(0,t.useSelect)((e=>({contentLocale:e(X).getContentLocale(),focusKeyphrase:e(X).getFocusKeyphrase(),isWooCommerceActive:e(X).getIsWooCommerceActive(),isGutenberg:e(X).getIsBlockEditor(),isElementor:e(X).getIsElementorEditor()})),[]);let g,y=ue.languageProcessing.helpers.processExactMatchRequest(d).keyphrase;y.length>191&&(y=y.slice(0,191)),g=h?"elementor":m?"gutenberg":"classic";const w=((e,t,s,r)=>{const i=e===se?"meta-description":"seo-title";let o=((e,t)=>{if(e)switch(t){case"product":return"product-";case"product_cat":case"product_tag":return"product-taxonomy-"}return""})(t,s);return o&&t||r!==ie||(o="taxonomy-"),`${o}${i}`})(r,p,a,n);return{suggestions:e,fetchSuggestions:(0,H.useCallback)((async(e=!0)=>{s(Pe.actions.setLoading());const{status:t,payload:r}=await(async({endpoint:e,data:t})=>{let s;const r=1e3*(0,o.get)(window,"wpseoAiGenerator.requestTimeout",30);try{ye&&ye.abort(),ye=new AbortController,we=!1,s=setTimeout((()=>{we=!0,ye.abort()}),r);const i=await u()({path:e,method:"POST",data:t,parse:!1,signal:ye.signal}),o=await i.json();return{status:le,payload:o}}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return we?{status:ce,payload:{message:"timeout",code:408}}:{status:de};const{message:t,missingLicenses:s,errorIdentifier:r}=await(async e=>{try{const t=e.body.getReader(),{value:s}=await t.read(),r=new TextDecoder("utf-8").decode(s);return console.error(r),JSON.parse(r)}catch(e){return{message:"Unknown"}}})(e);return{status:ce,payload:{message:t,code:e.status||500,missingLicenses:s,errorIdentifier:r}}}finally{clearTimeout(s)}})({endpoint:"yoast/v1/ai_generator/get_suggestions/",canAbort:e,data:{type:w,prompt_content:l,focus_keyphrase:y,platform:Me(i),language:fe(c).replace("_","-"),editor:g}});switch(t){case de:break;case ce:s(Pe.actions.setError(r));break;case le:s(Pe.actions.setSuccess(r))}return t}),[s]),setSelectedSuggestion:(0,H.useCallback)((e=>s(Pe.actions.setSelected(e))),[s])}})(),w=(()=>{const{previewType:e}=Re();switch(e){case Q:return Wt;case ee:return Ks;default:return $t}})(),{addAppliedSuggestion:x,addUsageCount:f}=(0,t.useDispatch)(Z),{isUsageCountLimitReached:v,isWooProductEntity:b,hasValidPremiumSubscription:S,hasValidWooSubscription:k}=(0,t.useSelect)((e=>{const t=e(Z),s=e(X);return{isUsageCountLimitReached:t.isUsageCountLimitReached(),isPremium:s.getIsPremium(),isWooProductEntity:s.getIsWooProductEntity(),isWooSeoActive:s.getIsWooSeoActive(),hasValidPremiumSubscription:t.selectPremiumSubscription(),hasValidWooSubscription:t.selectWooCommerceSubscription()}}),[]),C=(0,H.useMemo)((()=>h.status===ne.loading||!(k||!v||!b)||!(S||!v)),[S,v,h.status,b,k]),_=(0,i.usePrevious)(e),j=h.status===ne.success?e:_,E=`calc(${0===j?"50%":j/2+"px"} - 40vh)`,[R,I]=(0,H.useState)(!1),L=(0,H.useCallback)((e=>{I(e.target.offsetHeight!==e.target.scrollHeight)}),[I]),T=Te(L),P=(()=>{const{editType:e,previewType:s,contentType:r}=Re(),i=(()=>{const{previewType:e}=Re();return(0,H.useMemo)((()=>{switch(e){case J:return()=>(0,t.select)(X).getSnippetEditorData().title;case Q:return(0,t.select)(X).getFacebookTitleOrFallback;case ee:return(0,t.select)(X).getTwitterTitleOrFallback;default:return(0,o.constant)("")}}),[e])})(),a=(0,t.useSelect)((t=>t(Z).selectAppliedSuggestionFor({editType:e,previewType:s})),[e,s]);return(0,H.useMemo)((()=>{let t=i();return e===se?t:(a&&(t=t.replace(a,ae[r])),((e,t)=>e.includes(ae[t])?e:ae[t])(t,r))}),[e,i])})(),M=(()=>{const e=(()=>{const{previewType:e}=Re();return(0,H.useMemo)((()=>{switch(e){case J:return()=>(0,t.select)(X).getSnippetEditorData().description;case Q:return(0,t.select)(X).getFacebookDescriptionOrFallback;case ee:return(0,t.select)(X).getTwitterDescriptionOrFallback;default:return(0,o.constant)("")}}),[e])})();return(0,H.useMemo)(e,[e])})(),A=Ce(),N=(0,H.useMemo)((()=>n===te?{[oe[c]]:h.selected}:{}),[n,c,h.selected]),$=(0,H.useMemo)((()=>A(P,{overrides:N,contentType:c})),[A,P,n,c,h.selected]),F=(0,H.useMemo)((()=>A(P,{overrides:{...N,sep:"",sitename:""},contentType:c})),[A,P,n,c,h.selected]),q=(0,H.useMemo)((()=>n===se?h.selected:A(M,{editType:se})),[A,M,n,h.selected]),O=(0,H.useCallback)((e=>A(P,{overrides:{[oe[c]]:e},key:"badge",applyPluggable:!1,contentType:c})),[A,P,c]),{currentPage:U,setCurrentPage:W,isOnLastPage:B,totalPages:D,getItemsOnCurrentPage:G}=(({totalItems:e=0,perPage:t=5})=>{const[s,r]=(0,H.useState)(1),i=(0,H.useMemo)((()=>Math.ceil(e/t)),[e,t]),a=(0,H.useMemo)((()=>s*t),[s,t]),n=(0,H.useMemo)((()=>a-t),[a,t]),l=(0,H.useMemo)((()=>1===s),[s]),c=(0,H.useMemo)((()=>s===i),[s,i]),d=(0,H.useCallback)((()=>{s>1&&r(s-1)}),[s,r]),u=(0,H.useCallback)((()=>{s<i&&r(s+1)}),[s,r,i]),p=(0,H.useCallback)((e=>(0,o.slice)(e,n,a)),[n,a]);return{currentPage:s,setCurrentPage:r,totalPages:i,isOnFirstPage:l,isOnLastPage:c,previousPage:d,nextPage:u,firstOnPage:n,lastOnPage:a,getItemsOnCurrentPage:p}})({totalItems:h.status===ne.loading||h.status===ne.error?h.entities.length+5:h.entities.length,perPage:5}),V=(0,H.useMemo)((()=>(0,o.map)(G(h.entities),(e=>{let t=e;return n===te&&(t=O(e),t=t.replace(Rt,((e,t,s,r,i,o,{start:a,wrap:n,end:l})=>{const c=n.trim();return 0===c.length?`${a}${n}${l}`:`${a}<span>${c}</span>${l}`})),t=me(t,{badge:(0,he.jsx)(i.Badge,{className:"yst-me-2 last:yst-me-0",variant:"plain",children:" "}),span:(0,he.jsx)("span",{className:"yst-flex yst-items-center yst-me-2 last:yst-me-0"})})),{value:e,label:t}}))),[h.entities,G,n,O]),Y=(0,H.useMemo)((()=>h.status!==ne.error||h.status===ne.error&&!B),[h.status,B]),K=(0,H.useMemo)((()=>h.status===ne.loading&&B),[h.status,B]),re=(0,H.useMemo)((()=>h.status===ne.error&&B),[h.status,B]),pe=(0,H.useCallback)((()=>{C||(W(h.status===ne.error?D:D+1),g().then((e=>{e===le&&f()})))}),[g,h.status,D,W,y,v]),ge=(0,H.useCallback)((()=>r("")),[r]),xe=(()=>{const{editType:e}=Re();switch(e){case te:return(()=>{const{previewType:e}=Re(),{updateData:s,setFacebookPreviewTitle:r,setTwitterPreviewTitle:i}=(0,t.useDispatch)(X);return(0,H.useMemo)((()=>{switch(e){case J:return e=>s({title:e});case Q:return r;case ee:return i;default:return o.noop}}),[e,s,r,i])})();case se:return(()=>{const{previewType:e}=Re(),{updateData:s,setFacebookPreviewDescription:r,setTwitterPreviewDescription:i}=(0,t.useDispatch)(X);return(0,H.useMemo)((()=>{switch(e){case J:return e=>s({description:e});case Q:return r;case ee:return i;default:return o.noop}}),[e,s,r,i])})();default:return o.noop}})(),ve=Et(!0),be=(0,H.useCallback)((()=>{const e=n===te?P.replace(new RegExp(ae[c]+"( Archives)?"),h.selected):h.selected;xe(e),x({editType:n,previewType:l,suggestion:h.selected}),a(),"pre-publish"===m&&ve()}),[xe,n,l,h.selected,P,a,x,ve,m]);return((e,t=[])=>{const s=(0,H.useRef)(!1);(0,H.useEffect)((()=>{s.current||(s.current=!0,e().finally((()=>{s.current=!1})))}),[e,t])})((()=>""===s?g().then((e=>{r(e),e===le&&f()})):Promise.resolve()),[s,f,g]),s===ce||h.status===ne.error&&402===h.error.code?(0,he.jsx)("div",{className:"yst-flex yst-flex-col yst-space-y-6 yst-mt-6",children:(0,he.jsx)(Ws,{errorCode:h.error.code,errorIdentifier:h.error.errorIdentifier,invalidSubscriptions:h.error.missingLicenses,showActions:!0,onRetry:ge,errorMessage:h.error.message})}):(0,he.jsxs)(H.Fragment,{children:[(0,he.jsxs)(i.Modal.Container.Content,{ref:T,className:"yst-flex yst-flex-col yst-py-6 yst-space-y-2",children:[(0,he.jsx)(w,{title:$,description:q,status:h.status,titleForLength:F,showPreviewSkeleton:""===s,showLengthProgress:!K}),Y&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsxs)("div",{className:"yst-flex yst-space-y-4",children:[(0,he.jsx)(i.Label,{as:"span",className:"yst-flex-grow yst-cursor-default yst-mt-auto",children:d}),(0,he.jsx)(i.Button,{variant:"ai-secondary",size:"small",onClick:h.status===ne.loading?o.noop:pe,isLoading:h.status===ne.loading,disabled:C,children:(0,z.__)("Generate 5 more","wordpress-seo")})]}),K?(0,he.jsx)(zs,{idSuffix:m,suggestionClassNames:n===te?[["yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-8/12"]]:void 0}):(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(Gs,{idSuffix:m,suggestions:V,selected:h.selected,onChange:y}),(0,he.jsx)(It,{current:U,total:D,onNavigate:W,disabled:h.status===ne.loading||re})]})]}),h.status===ne.error&&B&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("div",{className:"yst-mt-8"}),(0,he.jsx)(Ws,{errorCode:h.error.code,errorIdentifier:h.error.errorIdentifier,invalidSubscriptions:h.error.missingLicenses,errorMessage:h.error.message}),(0,he.jsx)(It,{current:U,total:D,onNavigate:W,disabled:h.status===ne.loading})]})]}),(0,he.jsxs)(i.Modal.Container.Footer,{children:[R&&(0,he.jsx)("div",{className:"yst-absolute yst-inset-x-0 yst--mt-10 yst-me-[calc(2.5rem-1px)] yst-h-10 yst-pointer-events-none yst-bg-gradient-to-t yst-from-slate-50"}),(0,he.jsx)("hr",{className:"yst-mb-6 yst--mx-6"}),(0,he.jsxs)("div",{className:"sm:yst-flex sm:yst-justify-end sm:yst-space-x-2 sm:rtl:yst-space-x-reverse",children:[(0,he.jsx)("div",{className:"yst-hidden sm:yst-inline",children:(0,he.jsx)(i.Button,{variant:"secondary",onClick:a,children:(0,z.__)("Close","wordpress-seo")})}),(0,he.jsx)("div",{className:"yst-block sm:yst-inline",children:(0,he.jsxs)(i.Button,{className:"yst-w-full sm:yst-w-auto",variant:"primary",onClick:be,disabled:""===h.selected||h.status===ne.loading||re,children:[(0,he.jsx)(jt,{className:"yst--ms-1 yst-me-1 yst-h-4 yst-w-4 yst-text-white"}),p]})}),(0,he.jsx)("div",{className:"yst-mt-3 sm:yst-hidden",children:(0,he.jsx)(i.Button,{variant:"secondary",onClick:a,className:"yst-w-full sm:yst-w-auto",children:(0,z.__)("Close","wordpress-seo")})})]})]}),(0,he.jsxs)(i.Notifications,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all",style:{marginTop:E},position:"bottom-left",children:[h.status!==ne.loading&&(0,he.jsx)(sr,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all"}),(h.status===ne.success||h.status===ne.loading)&&(0,he.jsx)(Ys,{})]})]})};Lt.propTypes={height:K().number.isRequired};const Tt=({onActivateFreeSparks:e})=>{const{premiumUpsellLink:s,wooUpsellLink:r,isWooCommerceActive:o,isProductPost:a,learnMoreLink:n,imageLink:l,wistiaEmbedPermissionValue:c,wistiaEmbedPermissionStatus:d,isUsageCountLimitReached:u,activateFreeSparksEndpoint:p}=(0,t.useSelect)((e=>{const t=e(Z),s=e(X);return{premiumUpsellLink:s.selectLink("https://yoa.st/ai-generator-upsell"),wooUpsellLink:s.selectLink("https://yoa.st/ai-generator-upsell-woo-seo"),isWooCommerceActive:s.getIsWooCommerceActive(),isProductPost:s.getIsProduct(),learnMoreLink:s.selectLink("https://yoa.st/ai-generator-learn-more"),imageLink:s.selectImageLink("ai-generator-preview.png"),wistiaEmbedPermissionValue:s.selectWistiaEmbedPermissionValue(),wistiaEmbedPermissionStatus:s.selectWistiaEmbedPermissionStatus(),isUsageCountLimitReached:t.isUsageCountLimitReached(),activateFreeSparksEndpoint:t.selectFreeSparksActiveEndpoint()}}),[]),{onClose:m,initialFocus:h}=(0,i.useModalContext)(),{title:g,upsellLabel:y,upsellLink:w,ctbId:x,newToText:f}=(e=>{const{isWooProductEntity:s,isProductPost:r,hasValidWooSubscription:i}=(0,t.useSelect)((e=>{const t=e(X),s=e(Z);return{isWooProductEntity:t.getIsWooProductEntity(),isProductPost:t.getIsProduct(),hasValidWooSubscription:s.selectWooCommerceSubscription()}}),[]);return(0,H.useMemo)((()=>{const t={upsellLink:e.premium,upsellLabel:(0,z.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,z.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),newToText:"Yoast SEO Premium",ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",title:(0,z.__)("Use AI to generate your titles & descriptions!","wordpress-seo")};return s&&(r&&(t.title=(0,z.__)("Generate product titles & descriptions with AI!","wordpress-seo")),i||(t.newToText="Yoast WooCommerce SEO",t.upsellLabel=(0,z.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,z.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),t.upsellLink=e.woo,t.ctbId="5b32250e-e6f0-44ae-ad74-3cefc8e427f9")),t}),[s,r,e.premium,e.woo])})({premium:s,woo:r}),v=(0,H.useMemo)((()=>o&&a),[o,a]),b=(0,H.useMemo)((()=>({src:l,width:"432",height:"244"})),[l]),{setWistiaEmbedPermission:S}=(0,t.useDispatch)(X),{activateFreeSparks:k}=(0,t.useDispatch)(Z),C=(0,H.useMemo)((()=>({value:c,status:d,set:S})),[c,d,S]),_=(0,H.useCallback)((()=>{k({endpoint:p}),e()}),[k,p,m,e]),j={a:(0,he.jsx)(nt,{href:n,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,he.jsx)(Ve,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})};return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,he.jsxs)("div",{className:"yst-relative yst-w-full",children:[(0,he.jsx)(ut,{videoId:"vmrahpfjxp",thumbnail:b,wistiaEmbedPermission:C}),(0,he.jsx)(i.Badge,{className:"yst-absolute yst--top-2 yst-end-4",variant:"info",children:"Beta"})]}),(0,he.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,he.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,he.jsx)("span",{className:"yst-logo-icon"}),f]})})]}),(0,he.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,he.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,he.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:g}),(0,he.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:me(v?(0,z.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ (0,z.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for product titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"<a>","<ArrowNarrowRightIcon />","</a>"):(0,z.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ (0,z.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"<a>","<ArrowNarrowRightIcon />","</a>"),j)})]}),u&&(0,he.jsx)(i.Alert,{className:"yst-my-4",children:(0,z.sprintf)(/* translators: %s is for Yoast SEO Premium. */ (0,z.__)("Oh no! Its seems like you're out of free Sparks. Keep the momentum going, unlock unlimited sparks with %s!","wordpress-seo"),"Yoast SEO Premium")}),(0,he.jsxs)("div",{className:ct()("yst-w-full yst-flex yst-flex-col",u?"yst-mt-0":"yst-mt-6"),children:[(0,he.jsxs)(i.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:w,target:"_blank",ref:h,"data-action":"load-nfd-ctb","data-ctb-id":x,children:[(0,he.jsx)(ze,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),y,(0,he.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,z.__)("(Opens in a new browser tab)","wordpress-seo")})]}),!u&&(0,he.jsx)(i.Button,{variant:"ai-secondary",onClick:_,className:"yst-mt-2 yst-w-full yst-text-base yst-text-slate-800 yst-font-medium yst-h-11",children:(0,z.__)("Try for free","wordpress-seo")})]}),(0,he.jsx)(i.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:m,children:(0,z.__)("Close","wordpress-seo")})]})]})},Pt=({isOpen:e,onClose:t,closeButtonScreenReaderText:s,panelRef:r,title:o,aiModalHelperLink:a,children:n})=>{const l=(0,i.useSvgAria)();return(0,he.jsx)(i.Modal,{className:"yst-ai-modal",isOpen:e,onClose:t,children:(0,he.jsx)(i.Modal.Panel,{ref:r,className:"yst-max-w-3xl yst-relative",closeButtonScreenReaderText:s,children:(0,he.jsxs)(i.Modal.Container,{children:[(0,he.jsxs)(i.Modal.Container.Header,{children:[(0,he.jsxs)("div",{className:"yst-flex yst-items-center",children:[(0,he.jsx)("span",{className:"yst-logo-icon yst-h-5 yst-w-5"}),(0,he.jsx)(i.Modal.Title,{className:"yst-ms-3 yst-me-1.5",as:"h1",size:"2",children:o}),(0,he.jsx)(i.Link,{id:"ai-modal-learn-more",href:a,variant:"primary",className:"yst-no-underline yst-me-2",target:"_blank",rel:"noopener" /* translators: Hidden accessibility text. */,"aria-label":(0,z.__)("Learn more about AI (Opens in a new browser tab)","wordpress-seo"),children:(0,he.jsx)(G,{...l,className:"yst-w-4 yst-h-4 yst-text-slate-500 yst-shrink-0"})}),(0,he.jsx)(i.Badge,{variant:"info",children:(0,z.__)("Beta","wordpress-seo")})]}),(0,he.jsx)("hr",{className:"yst-mt-6 yst--mx-6"})]}),n]})})})},Mt=({isOpen:e,onClose:t,closeButtonScreenReaderText:s,children:r})=>(0,he.jsx)(i.Modal,{className:"yst-introduction-modal",isOpen:e,onClose:t,children:(0,he.jsx)(i.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl",closeButtonScreenReaderText:s,children:r})}),At={inactive:"inactive",askConsent:"askConsent",upsell:"upsell",error:"error",generate:"generate"},Nt=({onUseAi:e})=>{const[s,r]=(0,H.useState)(At.inactive),{editType:o,previewType:a}=Re(),n=Le(),l=(()=>{const{editType:e,previewType:t}=Re();switch(t){case Q:return e===se?(0,z.__)("AI social description generator","wordpress-seo"):(0,z.__)("AI social title generator","wordpress-seo");case ee:return e===se?(0,z.__)("AI X description generator","wordpress-seo"):(0,z.__)("AI X title generator","wordpress-seo");default:return e===se?(0,z.__)("AI description generator","wordpress-seo"):(0,z.__)("AI title generator","wordpress-seo")}})(),{hasConsent:c,promptContentInitialized:d,currentSubscriptions:u,usageCountStatus:p,usageCount:m,usageCountLimit:h,usageCountEndpoint:g,hasValidPremiumSubscription:y,hasValidWooSubscription:w,focusKeyphrase:x,isPremium:f,isSeoAnalysisActive:v,aiModalHelperLink:b,isWooProductEntity:S,isFreeSparksActive:k,isWooSeoActive:C}=(0,t.useSelect)((e=>{const t=e(Z),s=e(X);return{hasConsent:t.selectHasAiGeneratorConsent(),promptContentInitialized:t.selectPromptContentInitialized(),currentSubscriptions:t.selectProductSubscriptions(),usageCountStatus:t.selectUsageCountStatus(),usageCount:t.selectUsageCount(),usageCountLimit:t.selectUsageCountLimit(),usageCountEndpoint:t.selectUsageCountEndpoint(),hasValidPremiumSubscription:t.selectPremiumSubscription(),hasValidWooSubscription:t.selectWooCommerceSubscription(),focusKeyphrase:s.getFocusKeyphrase(),isPremium:s.getIsPremium(),isWooSeoActive:s.getIsWooSeoActive(),isSeoAnalysisActive:s.getPreference("isKeywordAnalysisActive",!0),aiModalHelperLink:s.selectLink("https://yoa.st/ai-generator-help-button-modal"),isWooProductEntity:s.getIsWooProductEntity(),isFreeSparksActive:e(Z).selectIsFreeSparksActive()}}),[]),{fetchUsageCount:_}=(0,t.useDispatch)(Z),{closeEditorModal:j}=(0,t.useDispatch)(X),E=(0,z.__)("Close modal","wordpress-seo"),[R,I]=(0,H.useState)(!1),[L,T]=(0,H.useState)(0),M=(0,H.useCallback)((e=>T(e.borderBoxSize[0].blockSize)),[T]),A=Te(M),N={onClose:(0,H.useCallback)((()=>{r(At.inactive)}),[]),closeButtonScreenReaderText:E},$=(0,H.useCallback)((()=>!Se(x)),[x]),F=Et(!1),q=(0,H.useCallback)((()=>{j(),"pre-publish"===n&&F(),setTimeout((()=>(e=>{const t=`focus-keyword-input-${["modal","pre-publish"].includes(e)?"sidebar":e}`;if("metabox"===e){const e=document.getElementById("wpseo-meta-tab-content");e&&e.click()}const s=document.getElementById(t);s&&s.focus()})(n)),0)}),[j,n,F]),O=(0,H.useCallback)((()=>S?w&&y:y),[y,w,S]),U=(0,H.useCallback)((async()=>{if(e(),!v)return void r(At.error);if(!$())return r(At.inactive),void q();const t=O();if(!t&&f&&C&&S)return void r(At.error);if(!t&&f&&!S)return void r(At.error);if(!c&&(k||t))return void r(At.askConsent);I(!0);const{type:s,payload:i}=await _({endpoint:g,isWooProductEntity:S}),o=429===(null==i?void 0:i.errorCode)&&!(null!=i&&i.errorIdentifier)&&0===(null==i?void 0:i.missingLicenses.length),a=429===(null==i?void 0:i.errorCode)&&"USAGE_LIMIT_REACHED"===(null==i?void 0:i.errorIdentifier)||i.count>=i.limit;I(!1),o?r(At.error):403!==(null==i?void 0:i.errorCode)||!k&&!t?s!==qe||429===(null==i?void 0:i.errorCode)||403===(null==i?void 0:i.errorCode)?s===qe&&429===(null==i?void 0:i.errorCode)&&t?r(At.error):!t&&!k||!t&&a?r(At.upsell):(t&&c&&r(At.generate),!t&&k&&!a&&c&&r(At.generate)):r(At.error):r(At.askConsent)}),[e,f,k,c,v,$,q,g,_,C,S,R]),W=(0,H.useCallback)((async()=>{const{type:e,payload:t}=await _({endpoint:g,isWooProductEntity:S}),s=429===(null==t?void 0:t.errorCode)||t.count>=t.limit,i=O();r(!s||i?e!==qe?At.generate:At.error:At.upsell)}),[r,g,_,O,S]),B=(0,H.useCallback)((()=>{r(c?At.generate:At.askConsent)}),[r,c]),D=(0,H.useMemo)((()=>"google"===a?"title"===o?(0,z.__)("Generate SEO title","wordpress-seo"):(0,z.__)("Generate meta description","wordpress-seo"):"social"===a||"twitter"===a?"title"===o?(0,z.__)("Generate social title","wordpress-seo"):(0,z.__)("Generate social description","wordpress-seo"):void 0),[a,o]);return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(i.Button,{type:"button",variant:"ai-secondary",size:"small",id:`yst-replacevar__use-ai-button__${o}__${n}`,onClick:U,disabled:p===P||!d,isLoading:R&&p===P,children:D}),(0,he.jsxs)(Mt,{...N,isOpen:[At.askConsent,At.upsell].includes(s),children:[s===At.askConsent&&(0,he.jsx)(_t,{onStartGenerating:W}),s===At.upsell&&(0,he.jsx)(Tt,{onActivateFreeSparks:B})]}),(0,he.jsxs)(Pt,{...N,isOpen:[At.error,At.generate].includes(s),aiModalHelperLink:b,panelRef:A,title:l,children:[s===At.error&&(0,he.jsx)(i.Modal.Container.Content,{className:"yst-pt-6",children:(0,he.jsx)(Ct,{currentSubscriptions:u,isSeoAnalysisActive:v})}),s===At.generate&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(V.UsageCounter,{limit:h,requests:m,isSkeleton:!1,className:"yst-absolute yst-top-[-11px] yst-end-12 sm:yst-end-16",mentionBetaInTooltip:f,mentionResetInTooltip:f}),(0,he.jsx)(Lt,{height:L})]})]})]})};Nt.propTypes={onUseAi:K().func.isRequired};const $t=({title:e,description:s,status:r,titleForLength:o,showPreviewSkeleton:a,showLengthProgress:n})=>{const l=(0,t.useSelect)((e=>e(X).getSnippetEditorMode()),[]),[c,d]=(0,H.useState)(l),{editType:u}=Re(),p=Le(),m=(({editType:e,title:s,description:r})=>{const i=(0,t.useSelect)((e=>e(X).getDateFromSettings()),[]),o=(0,t.useSelect)((e=>e(X).getContentLocale()),[]),a=(0,t.useSelect)((e=>e(X).isCornerstoneContent()),[]),n=(0,t.useSelect)((e=>e(X).getIsTerm()),[]);return(0,H.useMemo)((()=>e===se?(0,Ae.getDescriptionProgress)(r,i,a,n,o):(0,Ae.getTitleProgress)(s)),[e,s,r,i,a,n,o])})({editType:u,title:o,description:s});return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(Ae.ModeSwitcher,{onChange:d,active:c,id:`yst-ai-google-preview-mode-switcher-${p}`,disabled:r===ne.loading}),a?(0,he.jsx)(Ot,{}):(0,he.jsx)(qt,{mode:c,title:e,description:s}),(0,he.jsxs)("div",{className:"yst-pt-4",children:[(0,he.jsx)(i.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:u===te?(0,z.__)("SEO title width","wordpress-seo"):(0,z.__)("Meta description length","wordpress-seo")}),(0,he.jsx)(Ut,{className:"yst-mt-2",progress:n?m.actual:0,min:0,max:m.max,score:m.score})]})]})};$t.propTypes={title:K().string.isRequired,description:K().string.isRequired,status:K().oneOf(Object.keys(ne)).isRequired,titleForLength:K().string.isRequired,showPreviewSkeleton:K().bool.isRequired,showLengthProgress:K().bool.isRequired};const Ft=/mobi/i,qt=({mode:e,title:s,description:r})=>{var i,a;const n=(0,t.useSelect)((e=>e(X).getBaseUrlFromSettings()),[]),l=(0,t.useSelect)((e=>e(X).getSnippetEditorData().slug||""),[]),c=(0,t.useSelect)((e=>e(X).getDateFromSettings()),[]),d=(0,t.useSelect)((e=>e(X).getFocusKeyphrase()),[]),u=(0,t.useSelect)((e=>e(X).getSnippetEditorPreviewImageUrl()),[]),p=(0,t.useSelect)((e=>e(X).getSiteIconUrlFromSettings()),[]),m=(0,t.useSelect)((e=>e(X).getShoppingData()),[]),h=(0,t.useSelect)((e=>e(X).getSnippetEditorWordsToHighlight()),[]),g=(0,t.useSelect)((e=>e(X).getSiteName()),[]),y=(0,t.useSelect)((e=>e(X).getContentLocale()),[]),w=(0,H.useMemo)((()=>n+l),[n,l]),x=(0,H.useMemo)((()=>{var e,t;return Ft.test(null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t?void 0:t.userAgent)}),[null===(i=window)||void 0===i||null===(a=i.navigator)||void 0===a?void 0:a.userAgent]);return(0,he.jsx)("div",{className:`yst-ai-generator-preview-section ${e}${x?" yst-user-agent__mobile":""}`,children:(0,he.jsx)(Ae.SnippetPreview,{title:s,description:r,mode:e,url:w,keyword:d,date:c,faviconSrc:p,mobileImageSrc:u,wordsToHighlight:h,siteName:g,locale:y,shoppingData:m,onMouseUp:o.noop})})};qt.propTypes={mode:K().oneOf(Object.keys({mobile:"mobile",desktop:"desktop"})).isRequired,title:K().string.isRequired,description:K().string.isRequired};const Ot=()=>(0,he.jsxs)("div",{className:"yst-max-w-[400px] yst-py-4 yst-px-3 yst-border yst-rounded-lg yst-w-full yst-mx-auto",children:[(0,he.jsxs)("div",{className:"yst-flex yst-gap-x-3",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-flex-shrink-0 yst-h-7 yst-w-7 yst-rounded-full"}),(0,he.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-full yst-gap-y-1",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-2.5 yst-w-10/12"})]})]}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-4 yst-w-full yst-mt-6 yst-mb-4"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-full"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-10/12 yst-mt-2.5"})]}),Ut=({className:e="",progress:t,max:s,score:r})=>{const o=(0,H.useMemo)((()=>(e=>e>=7?"yst-score-good":e>=5?"yst-score-ok":"yst-score-bad")(r)),[r]);return(0,he.jsx)(i.ProgressBar,{className:ct()("yst-length-progress-bar",o,e),progress:t,min:0,max:s})};Ut.propTypes={className:K().string,progress:K().number.isRequired,max:K().number.isRequired,score:K().number.isRequired};const Wt=({title:e,description:t,showPreviewSkeleton:s})=>(0,he.jsxs)("div",{children:[(0,he.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,he.jsx)(i.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,z.__)("Social preview","wordpress-seo")})}),s?(0,he.jsx)(Os,{}):(0,he.jsx)(qs,{title:e,description:t})]});Wt.propTypes={title:K().string.isRequired,description:K().string.isRequired,showPreviewSkeleton:K().bool.isRequired};const Bt=window.yoast.styledComponents;var Dt=s.n(Bt);const Gt=Dt().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,Ht=e=>{const{siteUrl:t}=e;return(0,he.jsxs)(B.Fragment,{children:[(0,he.jsx)("span",{className:"screen-reader-text",children:t}),(0,he.jsx)(Gt,{"aria-hidden":"true",children:(0,he.jsx)("span",{children:t})})]})};Ht.propTypes={siteUrl:K().string.isRequired};const zt=Ht,Vt=window.yoast.socialMetadataForms,Yt=window.yoast.styleGuide,Kt=Dt().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,Zt=Dt().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,Xt=Dt().div` padding-bottom: ${e=>e.aspectRatio}%; `,Jt=({imageProps:e,width:t,height:s,imageMode:r="landscape"})=>"landscape"===r?(0,he.jsx)(Xt,{aspectRatio:e.aspectRatio,children:(0,he.jsx)(Zt,{src:e.src,alt:e.alt})}):(0,he.jsx)(Kt,{src:e.src,alt:e.alt,width:t,height:s,imageProperties:e});function Qt(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function es(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function ts(e,t,s=!1){const r=await function(e){return new Promise(((t,s)=>{const r=new Image;r.onload=()=>{t({width:r.width,height:r.height})},r.onerror=s,r.src=e}))}(e);let i=s?"landscape":"square";"Facebook"===t&&(i=(0,Vt.determineFacebookImageMode)(r));const o=function(e){return"Twitter"===e?Vt.TWITTER_IMAGE_SIZES:Vt.FACEBOOK_IMAGE_SIZES}(t),a=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:es(t,Qt(e,t,s))}(o,r,i);return{mode:i,height:a.height,width:a.width}}async function ss(e,t,s=!1){try{return{imageProperties:await ts(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}Jt.propTypes={imageProps:K().shape({src:K().string.isRequired,alt:K().string.isRequired,aspectRatio:K().number.isRequired}).isRequired,width:K().number.isRequired,height:K().number.isRequired,imageMode:K().string};const rs=Dt().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${Yt.colors.$color_white}; `,is=Dt().div` box-sizing: border-box; max-width: ${Vt.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${Vt.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${Yt.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class os extends B.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await ss(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:Vt.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:Vt.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:Vt.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:Vt.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:Vt.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:Vt.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,he.jsx)(is,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,z.__)("Select image","wordpress-seo")});const s=this.retrieveContainerDimensions(e.mode);return(0,he.jsx)(rs,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,he.jsx)(Jt,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Vt.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}os.propTypes={src:K().string,alt:K().string,onImageLoaded:K().func,onImageClick:K().func,onMouseEnter:K().func,onMouseLeave:K().func},os.defaultProps={src:"",alt:"",onImageLoaded:o.noop,onImageClick:o.noop,onMouseEnter:o.noop,onMouseLeave:o.noop};const as=os,ns=Dt().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,ls=Dt().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,cs=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},ds=Dt().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,us=Dt().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class ps extends B.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=D().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,r=this.getTitleLineCount();let i=t-r;"portrait"===s&&(i=5===r?0:4),i!==e&&this.setState({descriptionLineCount:i})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,he.jsxs)(ds,{id:"facebookPreview",mode:e,children:[(0,he.jsx)(as,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,he.jsxs)(us,{mode:e,children:[(0,he.jsx)(zt,{siteUrl:this.props.siteUrl,mode:e}),(0,he.jsx)(ns,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t,children:this.props.title}),s>0&&(0,he.jsx)(ls,{maxWidth:cs(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s,children:this.props.description})]})]})}}ps.propTypes={siteUrl:K().string.isRequired,title:K().string.isRequired,description:K().string,imageUrl:K().string,imageFallbackUrl:K().string,alt:K().string,onSelect:K().func,onImageClick:K().func,onMouseHover:K().func},ps.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const ms=ps,hs=Dt().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,gs=e=>(0,he.jsx)(hs,{children:(0,he.jsx)("span",{children:e.siteUrl})});gs.propTypes={siteUrl:K().string.isRequired};const ys=gs,ws=(e,t=!0)=>e?`\n\t\t\tmax-width: ${Vt.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${Vt.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,xs=Dt().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>ws(e.isLarge)} `,fs=Dt().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>ws(e.isLarge,!1)} `,vs=Dt()(fs)` ${e=>e.isLarge&&`height: ${Vt.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class bs extends D().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await ss(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,he.jsx)(vs,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,z.__)("Select image","wordpress-seo")}):(0,he.jsx)(xs,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,he.jsx)(Jt,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Vt.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode})})}}bs.propTypes={isLarge:K().bool.isRequired,src:K().string,alt:K().string,onImageClick:K().func,onMouseEnter:K().func,onMouseLeave:K().func},bs.defaultProps={src:"",alt:"",onMouseEnter:o.noop,onImageClick:o.noop,onMouseLeave:o.noop};const Ss=Dt().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,ks=e=>(0,he.jsx)(Ss,{children:e.children});ks.propTypes={children:K().array.isRequired};const Cs=ks,_s=Dt().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,js=Dt().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${Vt.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,Es=Dt().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,Rs=Dt()(Es)` flex-direction: column; max-height: 370px; `,Is=Dt()(Es)` flex-direction: row; height: 125px; `;class Ls extends B.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:r,title:i,description:o,siteUrl:a}=this.props,n=e?Rs:Is;return(0,he.jsxs)(n,{id:"twitterPreview",children:[(0,he.jsx)(bs,{src:t||s,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,he.jsxs)(Cs,{children:[(0,he.jsx)(ys,{siteUrl:a}),(0,he.jsx)(_s,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:i}),(0,he.jsx)(js,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:o})]})]})}}Ls.propTypes={siteUrl:K().string.isRequired,title:K().string.isRequired,description:K().string,isLarge:K().bool,imageUrl:K().string,imageFallbackUrl:K().string,alt:K().string,onSelect:K().func,onImageClick:K().func,onMouseHover:K().func},Ls.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Ts=Ls,Ps=window.yoast.componentsNew,Ms=window.yoast.replacementVariableEditor;class As extends B.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?ms:Ts,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:r,socialMediumName:i,imageWarnings:o,siteUrl:a,description:n,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:u,alt:p,title:m,titleInputPlaceholder:h,titlePreviewFallback:g,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:x,onReplacementVariableSearchChange:f,isPremium:v,isLarge:b,socialPreviewLabel:S,idSuffix:k,activeMetaTabId:C}=this.props,_=x({title:m||g,description:n||c});return(0,he.jsxs)(D().Fragment,{children:[S&&(0,he.jsx)(Ps.SimulatedLabel,{children:S}),(0,he.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:a,title:_.title,description:_.description,imageUrl:d,imageFallbackUrl:u,alt:p,isLarge:b,activeMetaTabId:C}),(0,he.jsx)(Vt.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:i,title:m,titleInputPlaceholder:h,onRemoveImageClick:r,imageSelected:!!d,imageUrl:d,imageFallbackUrl:u,onTitleChange:t,onSelectImageClick:s,description:n,descriptionInputPlaceholder:l,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:k})]})}}As.propTypes={title:K().string.isRequired,onTitleChange:K().func.isRequired,description:K().string.isRequired,onDescriptionChange:K().func.isRequired,imageUrl:K().string.isRequired,imageFallbackUrl:K().string.isRequired,onSelectImageClick:K().func.isRequired,onRemoveImageClick:K().func.isRequired,socialMediumName:K().string.isRequired,alt:K().string,isPremium:K().bool,imageWarnings:K().array,isLarge:K().bool,siteUrl:K().string,descriptionInputPlaceholder:K().string,titleInputPlaceholder:K().string,descriptionPreviewFallback:K().string,titlePreviewFallback:K().string,replacementVariables:Ms.replacementVariablesShape,recommendedReplacementVariables:Ms.recommendedReplacementVariablesShape,applyReplacementVariables:K().func,onReplacementVariableSearchChange:K().func,socialPreviewLabel:K().string,idSuffix:K().string,activeMetaTabId:K().string},As.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Ns={},$s=(e,t,{log:s=console.warn}={})=>{Ns[e]||(Ns[e]=!0,s(t))},Fs=(e,t=o.noop)=>{const s={};for(const r in e)Object.hasOwn(e,r)&&Object.defineProperty(s,r,{set:s=>{e[r]=s,t("set",r,s)},get:()=>(t("get",r),e[r])});return s};Fs({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>$s(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Fs({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>$s(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const qs=({title:e,description:s})=>{const r=(0,t.useSelect)((e=>e(X).getSiteUrl()),[]),i=(0,t.useSelect)((e=>e(X).getFacebookImageUrl()),[]),a=(0,t.useSelect)((e=>e(X).getEditorDataImageFallback()),[]),n=(0,t.useSelect)((e=>e(X).getFacebookAltText()),[]);return(0,he.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,he.jsx)(ms,{title:e,description:s,siteUrl:r,imageUrl:i,imageFallbackUrl:a,alt:n,onSelect:o.noop,onImageClick:o.noop,onMouseHover:o.noop})})};qs.propTypes={title:K().string.isRequired,description:K().string.isRequired};const Os=()=>(0,he.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-[527px] yst-border yst-mx-auto",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-[273px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,he.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),Us=({children:e,onRetry:t})=>{const{onClose:s}=(0,i.useModalContext)();return(0,he.jsxs)(H.Fragment,{children:[e,(0,he.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,he.jsx)(i.Button,{variant:"secondary",onClick:s,children:(0,z.__)("Close","wordpress-seo")}),(0,he.jsx)(i.Button,{variant:"primary",onClick:t,children:(0,z.__)("Try again","wordpress-seo")})]})]})};Us.propTypes={children:K().node.isRequired,onRetry:K().func.isRequired};const Ws=({errorCode:e,errorIdentifier:t,invalidSubscriptions:s=[],showActions:r=!1,onRetry:i=o.noop,errorMessage:a=""})=>{switch(e){case 400:switch(t){case"AI_CONTENT_FILTER":return(0,he.jsx)(ft,{});case"NOT_ENOUGH_CONTENT":return(0,he.jsx)(ht,{});case"SITE_UNREACHABLE":return(0,he.jsx)(St,{});case"WP_HTTP_REQUEST_ERROR":return r?(0,he.jsx)(Us,{onRetry:i,children:(0,he.jsx)(vt,{errorMessage:a})}):(0,he.jsx)(vt,{errorMessage:a});default:return r?(0,he.jsx)(Us,{onRetry:i,children:(0,he.jsx)(mt,{})}):(0,he.jsx)(mt,{})}case 402:return(0,he.jsx)(wt,{invalidSubscriptions:s});case 408:return r?(0,he.jsx)(Us,{onRetry:i,children:(0,he.jsx)(xt,{})}):(0,he.jsx)(xt,{});case 429:return"USAGE_LIMIT_REACHED"===t?(0,he.jsx)(wt,{invalidSubscriptions:s}):(0,he.jsx)(yt,{});case 410:return(0,he.jsx)(bt,{});default:return r?(0,he.jsx)(Us,{onRetry:i,children:(0,he.jsx)(mt,{})}):(0,he.jsx)(mt,{})}};Ws.propTypes={errorCode:K().number.isRequired,errorIdentifier:K().string.isRequired,invalidSubscriptions:K().array,showActions:K().bool,onRetry:K().func,errorMessage:K().string};const Bs=K().shape({value:K().string.isRequired,label:K().node.isRequired}),Ds=({id:e,name:t,suggestion:s,isChecked:r,onChange:i})=>{const o=(0,H.useCallback)((()=>i(s.value)),[s,i]);return(0,he.jsxs)("label",{htmlFor:e,className:ct()("yst-flex yst-p-4 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",r&&"yst-z-10 yst-border-primary-500"),children:[(0,he.jsx)("input",{type:"radio",id:e,name:t,className:"yst-radio__input",value:s.value,checked:r,onChange:o}),(0,he.jsx)("div",{className:ct()("yst-label yst-radio__label yst-flex yst-flex-wrap yst-items-center",!r&&"yst-text-slate-600"),children:s.label})]})};Ds.propTypes={id:K().string.isRequired,name:K().string.isRequired,suggestion:Bs.isRequired,isChecked:K().bool.isRequired,onChange:K().func.isRequired};const Gs=({idSuffix:e,suggestions:t,selected:s,onChange:r})=>(0,he.jsx)("div",{children:(0,he.jsx)(i.RadioGroup,{className:"yst-suggestions-radio-group yst-flex yst-flex-col",id:`yst-ai-suggestions-radio-group__${e}`,children:t.map(((t,i)=>(0,he.jsx)(Ds,{id:`yst-ai-suggestions-radio-${e}__${i}`,name:`ai-suggestion__${e}`,isChecked:t.value===s,onChange:r,suggestion:t},`yst-ai-suggestions-radio-${e}__${i}`)))})});Gs.propTypes={idSuffix:K().string.isRequired,suggestions:K().arrayOf(Bs).isRequired,selected:K().string.isRequired,onChange:K().func.isRequired};const Hs=[["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-8/12"]],zs=({suggestionClassNames:e=Hs})=>(0,he.jsx)("div",{className:"yst-flex yst-flex-col yst--space-y-[1px]",children:e.map(((e,t)=>(0,he.jsxs)("div",{className:"yst-flex yst-p-4 yst-gap-x-3 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",children:[(0,he.jsx)("input",{type:"radio",disabled:!0,className:"yst-my-0.5"}),(0,he.jsx)("div",{className:"yst-flex yst-flex-col yst-w-full",children:e.map(((e,s)=>(0,he.jsx)(i.SkeletonLoader,{className:e},`yst-ai-suggestion-radio-skeleton-${t}__${s}`)))})]},`yst-ai-suggestion-radio-skeleton__${t}`)))});zs.propTypes={suggestionClassNames:K().arrayOf(K().arrayOf(K().string))};const Vs="ai_generator_tip_notification",Ys=()=>{const e=(0,t.useSelect)((e=>e(X).isAlertDismissed(Vs)),[]),s=(0,t.useSelect)((e=>e(X).getEditorDataContent()),[]),r=(0,t.useSelect)((e=>e(X).getIsWooProductEntity()),[]),[o,,,a]=(0,i.useToggleState)(!1),{editType:n,contentType:l}=Re(),{dismissAlert:c}=(0,t.useDispatch)(X),d=(0,H.useCallback)((()=>{c(Vs)}),[c]),u=(0,H.useMemo)((()=>n===se?(0,z.__)("%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.","wordpress-seo"):(0,z.__)("%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.","wordpress-seo") /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */),[n]),p=(0,H.useMemo)((()=>((e,t)=>e||t===ie?150:300)(r,l)),[l,r]);return e||o||s.length>p?null:(0,he.jsxs)(i.Notifications.Notification,{id:"ai-generator-content-tip",variant:"info",dismissScreenReaderLabel:(0,z.__)("Dismiss","wordpress-seo"),children:[me((0,z.sprintf)(u,"<span>","</span>"),{span:(0,he.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),(0,he.jsxs)("div",{className:"yst-flex yst-mt-3 yst--ms-3 yst-gap-1",children:[(0,he.jsx)(i.Button,{type:"button",variant:"tertiary",onClick:d,children:(0,z.__)("Don’t show again","wordpress-seo")}),(0,he.jsx)(i.Button,{type:"button",variant:"tertiary",className:"yst-text-slate-800",onClick:a,children:(0,z.__)("Dismiss","wordpress-seo")})]})]})},Ks=({title:e,description:t,showPreviewSkeleton:s})=>(0,he.jsxs)("div",{children:[(0,he.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,he.jsx)(i.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,z.__)("X preview","wordpress-seo")})}),s?(0,he.jsx)(Xs,{}):(0,he.jsx)(Zs,{title:e,description:t})]});Ks.propTypes={title:K().string.isRequired,description:K().string.isRequired,showPreviewSkeleton:K().bool.isRequired};const Zs=({title:e,description:s})=>{const r=(0,t.useSelect)((e=>e(X).getSiteUrl()),[]),i=(0,t.useSelect)((e=>e(X).getTwitterImageUrl()),[]),a=(0,t.useSelect)((e=>e(X).getFacebookImageUrl()),[]),n=(0,t.useSelect)((e=>e(X).getEditorDataImageFallback()),[]),l=(0,t.useSelect)((e=>e(X).getTwitterImageType()),[]),c=(0,t.useSelect)((e=>e(X).getTwitterAltText()),[]);return(0,he.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,he.jsx)(Ts,{title:e,description:s,siteUrl:r,imageUrl:i,imageFallbackUrl:a||n,isLarge:"summary"!==l,alt:c,onSelect:o.noop,onImageClick:o.noop,onMouseHover:o.noop})})};Zs.propTypes={title:K().string.isRequired,description:K().string.isRequired};const Xs=()=>(0,he.jsxs)("div",{className:"yst-flex yst-flex-col yst-max-h-[370px] yst-w-[507px] yst-border yst-rounded-t-[14px] yst-overflow-hidden yst-mx-auto",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-[265px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,he.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,he.jsx)(i.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),Js="yst-mt-1 yst-mb-3",Qs="yst-flex yst-justify-end yst--me-8 yst-gap-3 yst--ms-2",er=({onClose:e})=>(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("p",{className:Js,children:(0,z.__)("As long as this is a beta feature, you get unlimited sparks.","wordpress-seo")}),(0,he.jsx)("div",{className:Qs,children:(0,he.jsx)(i.Button,{type:"button",variant:"primary",size:"small",onClick:e,children:(0,z.__)("Got it!","wordpress-seo")})})]}),tr=({onClose:e,upsellLink:t,isWooProductEntity:s=!1,ctbId:r="f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})=>{const o=(0,i.useSvgAria)();return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("p",{className:Js,children:(0,z.sprintf)(/* translators: %s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,z.__)("Keep the momentum going, unlock unlimited sparks with %s!","wordpress-seo"),s?"Yoast WooCommerce SEO":"Yoast SEO Premium")}),(0,he.jsxs)("div",{className:Qs,children:[(0,he.jsx)(i.Button,{type:"button",variant:"tertiary",size:"small",onClick:e,children:(0,z.__)("Close","wordpress-seo")}),(0,he.jsxs)(i.Button,{as:"a",size:"small",variant:"upsell",href:t,target:"_blank",rel:"noopener noreferrer","data-action":"load-nfd-ctb","data-ctb-id":r,children:[(0,he.jsx)(ze,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-me-2 yst-shrink-0",...o}),(0,z.sprintf)(/* translators: %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,z.__)("Unlock with %1$s","wordpress-seo"),s?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,he.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,z.__)("(Opens in a new browser tab)","wordpress-seo")})]})]})]})},sr=({className:e=""})=>{const{isUsageCountLimitReached:s,usageCount:r,usageCountLimit:o,premiumUpsellLink:a,wooUpsellLink:n,isWooProductEntity:l,hasValidPremiumSubscription:c,hasValidWooSubscription:d}=(0,t.useSelect)((e=>{const t=e(Z),s=e(X);return{isUsageCountLimitReached:t.isUsageCountLimitReached(),usageCount:t.selectUsageCount(),usageCountLimit:t.selectUsageCountLimit(),premiumUpsellLink:s.selectLink("https://yoa.st/ai-toast-out-of-free-sparks"),wooUpsellLink:s.selectLink("https://yoa.st/ai-toast-out-of-free-sparks-woo"),isWooProductEntity:s.getIsWooProductEntity(),hasValidPremiumSubscription:t.selectPremiumSubscription(),hasValidWooSubscription:t.selectWooCommerceSubscription()}}),[]),u=(0,H.useMemo)((()=>c&&!l||l&&d&&c),[c,l,d]),[p,,m,,h]=(0,i.useToggleState)(r===o);(0,H.useEffect)((()=>{m(u&&r===o||!u&&s)}),[r,o,u,s]);const g=(0,H.useMemo)((()=>l?n:a),[l,n,a]),y=(0,H.useMemo)((()=>l&&!d),[l,d]);return p&&(0,he.jsx)(i.Notifications.Notification,{id:"ai-sparks-limit",className:e,variant:"info",dismissScreenReaderLabel:(0,z.__)("Close","wordpress-seo"),title:u?(0,z.sprintf)(/* translators: %s is the number of the sparks. */ (0,z._n)("You've used %s spark this month.","You've used %s sparks this month.",o,"wordpress-seo"),o):(0,z.__)("You're out of free sparks!","wordpress-seo"),size:u?"default":"large",children:u?(0,he.jsx)(er,{onClose:h}):(0,he.jsx)(tr,{onClose:h,upsellLink:g,isWooUpsell:y})})},rr=()=>{const{setPromptContent:e}=(0,t.dispatch)(Z);return()=>{(e=>{const s=(0,t.select)(X).getIsProduct(),r=(0,t.select)(X).getIsTerm(),i=(0,t.select)(X).getIsWooCommerceActive(),a=s&&i||r?150:300,n=(0,o.get)(window,"YoastSEO.analysis.worker.runResearch",o.noop),l=(0,o.get)(window,"YoastSEO.analysis.collectData",!1);n("getParagraphs",l?ue.Paper.parse(l()):null).then((t=>{let s="";if(t.result){const e=t.result;if(e){let t=0;e.forEach((e=>{e.sentences.forEach((e=>{if(t+=e.tokens.length,t>a)return s;s+=e.text.replace(/[\n\r]+/g," ")})),s+=" ",t+=1}))}}e(s.trimEnd()||".")}))})(e)}},ir=()=>{rr(),(0,t.subscribe)((0,o.debounce)((()=>{const{getEditorDataContent:e}=(0,t.select)(X),s=rr();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const r=e();(0,o.isEqual)(r,s)||(s=r,t((0,o.clone)(r)))}})(e,s)})(),1500,{maxWait:3e3}))};let or=!1;const ar=()=>{or||(or=!0)},nr=(e,t)=>or?(Se(t)&&e.push((0,z.__)("Please enter a valid focus keyphrase.","wordpress-seo")),e):e,lr="appliedSuggestions",cr=(0,a.createSlice)({name:lr,initialState:{},reducers:{addAppliedSuggestion:(e,{payload:{editType:t,previewType:s,suggestion:r}})=>{e[s]={...e[s],[t]:r}}}}),dr=cr.getInitialState,ur={selectAppliedSuggestions:e=>(0,o.get)(e,lr,{})};ur.selectAppliedSuggestionFor=(0,a.createSelector)([ur.selectAppliedSuggestions,(e,t)=>t],((e,{editType:t,previewType:s})=>(0,o.get)(e,[s,t],"")));const pr=cr.actions,mr=cr.reducer,hr="productSubscriptions",gr=(0,a.createSlice)({name:hr,initialState:{premiumSubscription:!1,wooCommerceSubscription:!1},reducers:{}}),yr=gr.getInitialState,wr={selectProductSubscriptions:e=>(0,o.get)(e,hr,yr()),selectPremiumSubscription:e=>(0,o.get)(e,`${hr}.premiumSubscription`),selectWooCommerceSubscription:e=>(0,o.get)(e,`${hr}.wooCommerceSubscription`)},xr=gr.actions,fr=gr.reducer,vr="promptContent",br=(0,a.createSlice)({name:vr,initialState:{content:"",initialized:!1},reducers:{setPromptContent:(e,{payload:t})=>({content:t,initialized:!0})}}),Sr=br.getInitialState,kr={selectPromptContent:e=>(0,o.get)(e,`${vr}.content`,""),selectPromptContentInitialized:e=>(0,o.get)(e,`${vr}.initialized`,!1)},Cr=br.actions,_r=br.reducer,jr="freeSparks",Er="activateFreeSparks",Rr=(0,a.createSlice)({name:jr,initialState:{isFreeSparksActive:!1,endpoint:"yoast/v1/ai/free_sparks"},extraReducers:e=>{e.addCase(`${Er}/${I}`,(e=>{e.isFreeSparksActive=!0}))}}),Ir=Rr.getInitialState,Lr={selectFreeSparksActiveEndpoint:e=>(0,o.get)(e,[jr,"endpoint"],Rr.getInitialState().endpoint),selectIsFreeSparksActive:e=>(0,o.get)(e,[jr,"isFreeSparksActive"],Rr.getInitialState().isFreeSparksActive)},Tr={...Rr.actions,activateFreeSparks:function*({endpoint:e}){try{yield{type:Er,payload:e}}catch(e){console.error("Error starting free sparks:",e)}return{type:`${Er}/${I}`}}},Pr={[Er]:async({payload:e})=>u()({method:"POST",path:e})},Mr=Rr.reducer,Ar=window.wp.domReady,Nr=(s,{fieldId:r,type:o})=>{const a=(0,t.select)(X).getPostType(),n=function(e){return e.startsWith("yoast-google-preview")?J:e.startsWith("social")?Q:e.startsWith("x-")?ee:void 0}(r);if(!n)return s;const l={isRtl:(0,t.select)(X).getPreference("isRtl")},c={editType:o,previewType:n,postType:a,contentType:(0,t.select)(X).getIsTerm()?"term":"post"};return s.push((0,he.jsx)(e.Fill,{name:`yoast.replacementVariableEditor.additionalButtons.${r}`,children:(0,he.jsx)(i.Root,{context:l,children:(0,he.jsx)(Ee,{value:c,children:(0,he.jsx)(Nt,{onUseAi:ar})})})})),s};s.n(Ar)()((()=>{window.wpseoScriptData.postType&&(((e={})=>{(0,t.register)((e=>(0,t.createReduxStore)(Z,{actions:{...w,...pr,...xr,...Cr,...De,...Tr},selectors:{...y,...ur,...wr,...kr,...Be,...Lr},initialState:(0,o.merge)({},{[p]:g(),[lr]:dr(),[hr]:yr(),[vr]:Sr(),[Ne]:We(),[jr]:Ir()},e),reducer:(0,t.combineReducers)({[p]:f,[lr]:mr,[hr]:fr,[vr]:_r,[Ne]:He,[jr]:Mr}),controls:{...x,...Ge,...Pr}}))(e))})({[p]:{hasConsent:"1"===(0,o.get)(window,"wpseoAiGenerator.hasConsent",!1),endpoint:"yoast/v1/ai_generator/consent"},[Ne]:{endpoint:"yoast/v1/ai_generator/get_usage"},[hr]:(0,o.get)(window,"wpseoAiGenerator.productSubscriptions",{}),[jr]:{isFreeSparksActive:"1"===(0,o.get)(window,"wpseoAiGenerator.isFreeSparks",!1),endpoint:"yoast/v1/ai/free_sparks"}}),window.jQuery(window).on("YoastSEO:ready",(()=>{ir()})),(0,r.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo/AiGenerator",Nr),(0,r.addFilter)("yoast.focusKeyphrase.errors","yoast/yoast-seo/AiGenerator",nr),(0,r.addAction)("yoast.elementor.loaded","yoast/yoast-seo/AiGenerator",ir))}))})()})(); dist/admin-global.js 0000644 00000014160 15174677550 0010416 0 ustar 00 (()=>{"use strict";var t={n:o=>{var e=o&&o.__esModule?()=>o.default:()=>o;return t.d(e,{a:e}),e},d:(o,e)=>{for(var a in e)t.o(e,a)&&!t.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:e[a]})},o:(t,o)=>Object.prototype.hasOwnProperty.call(t,o)};const o=window.jQuery;var e=t.n(o);const a={fresh:"#2c3338",light:"#fff",modern:"#1e1e1e",blue:"#4796b3",coffee:"#46403c",ectoplasm:"#413256",midnight:"#26292c",ocean:"#627c83",sunrise:"#be3631"},n="fresh";!function(t){function o(t,o,a){const n=new FormData,s={action:"wpseo_set_ignore",option:t,_wpnonce:a};for(const[t,o]of Object.entries(s))n.append(t,o);return fetch(ajaxurl,{method:"POST",body:n}).then((a=>(a&&(e()("#"+o).hide(),e()("#hidden_ignore_"+t).val("ignore")),a)))}function s(){t("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),t(".yoast-issue-added").fadeOut(200)}function i(o,e){if(t(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==e.html){e.html&&(o.closest(".yoast-container").html(e.html),r());var a=t("#wp-admin-bar-wpseo-menu"),n=a.find(".yoast-issue-counter");n.length||(a.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),n=a.find(".yoast-issue-counter")),n.html(e.total),0===e.total?n.hide():n.show(),t("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+e.total),t("#toplevel_page_wpseo_dashboard .plugin-count").html(e.total)}}function r(){var o=t(".yoast-notification-holder");o.on("click",".dismiss",(function(){var o=t(this),e=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_dismiss_notification",notification:e.attr("id"),nonce:e.data("nonce"),data:o.data("json")||e.data("json")},i.bind(this,e),"json")})),o.on("click",".restore",(function(){var o=t(this),e=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_restore_notification",notification:e.attr("id"),nonce:e.data("nonce"),data:e.data("json")},i.bind(this,e),"json")}))}function l(t){t.is(":hidden")||(t.outerWidth()>t.parent().outerWidth()?(t.data("scrollHint").addClass("yoast-has-scroll"),t.data("scrollContainer").addClass("yoast-has-scroll")):(t.data("scrollHint").removeClass("yoast-has-scroll"),t.data("scrollContainer").removeClass("yoast-has-scroll")))}function c(){window.wpseoScrollableTables=t(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var o=t(this);if(!o.data("scrollContainer")){var e=t("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(o),a=t("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(o);e.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),o.data("scrollContainer",a),o.data("scrollHint",e),o.appendTo(a.find(".yoast-table-scrollable__inner")),l(o)}}))}e()(document).ready((function(){e()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var t=e()(this).parent();return e().post(ajaxurl,{action:t.attr("id").replace(/-/g,"_"),_wpnonce:t.data("nonce"),data:t.data("json")}),e().post(ajaxurl,{action:"yoast_dismiss_notification",notification:t.attr("id"),nonce:t.data("nonce"),data:t.data("json")}),t.fadeTo(100,0,(function(){t.slideUp(100,(function(){t.remove()}))})),!1})),e()(".yoast-help-button").on("click",(function(){var t=e()(this),o=e()("#"+t.attr("aria-controls")),a=o.is(":visible");e()(o).slideToggle(200,(function(){t.attr("aria-expanded",!a)}))})),e()("button#robotsmessage-dismiss-button").on("click",(function(){o("search_engines_discouraged_notice","robotsmessage",e()(this).data("nonce")).then((()=>{window.location.href.includes("page=wpseo_dashboard")&&window.location.reload()}))}))})),window.wpseoSetIgnore=o,window.wpseoDismissLink=function(t){return e()('<a href="'+t+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},t(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){l(t(this))}))})),t(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){c()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){c()}),100)}}),t(document).ready((function(){var o,i;t(".yoast-issue-added").on("mouseenter mouseleave",(function(t){t.stopPropagation(),s()})).fadeIn(),t("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",s),setTimeout(s,3e3),r(),function(){const t=(e=document.body.className,o=function(t){if("string"!=typeof t)return n;const o=t.match(/admin-color-(\w+)/);return o?o[1]:n}(e),a[o]||a[n]);var o,e;document.documentElement.style.setProperty("--yoast-adminbar-submenu-bg",t)}(),function(){const t=e()(".wpseo-js-premium-indicator"),o=t.find("svg");if(t.hasClass("wpseo-premium-indicator--no")){const e=o.find("path"),a=t.css("backgroundColor");e.css("fill",a)}o.css("display","block"),t.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),c(),function(){const t=e()(".yoast-issue-counter .yoast-issues-count").first(),o=e()("#toplevel_page_wpseo_dashboard .plugin-count");if(t.text()===o.first().text())return;const a=e()("#toplevel_page_wpseo_dashboard .update-plugins"),n=e()(".yoast-issue-counter .screen-reader-text").first(),s=e()("#toplevel_page_wpseo_dashboard .update-plugins .screen-reader-text");if(t.length)return o.text(t.text()),a.removeClass().addClass("update-plugins count-"+t.text()),void s.text(n.text());o.text("0"),a.removeClass().addClass("update-plugins count-0"),s.remove()}(),(o=t('a[href="admin.php?page=wpseo_upgrade_sidebar"]')).length&&o.attr("target","_blank"),(i=t("a[href$='admin.php?page=wpseo_brand_insights']")).length&&i.each((function(){t(this).attr("target","_blank")})),function(){var o=t("a[href$='admin.php?page=wpseo_brand_insights_premium']");o.length&&o.each((function(){t(this).attr("target","_blank")}))}()}))}(e())})(); dist/redirects.js 0000644 00000217525 15174677550 0010066 0 ustar 00 (()=>{var e={4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=s.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var o in r)n.call(r,o)&&r[o]&&e.push(o)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},591:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0,s=t;return[s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]]].join("")}},9176:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var r=new Uint8Array(16);e.exports=function(){return t(r),r}}else{var n=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},3409:(e,t,r)=>{var n=r(9176),s=r(591);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||n)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[a+o]=i[o];return t||s(i)}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.domReady;var t=r.n(e);const n=window.wp.element,s=window.yoast.uiLibrary,a=window.wp.data,i=window.lodash,o="@yoast/redirects",l=window.yoast.reduxJsToolkit,c="adminUrl",u=(0,l.createSlice)({name:c,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),d=(u.getInitialState,{selectAdminUrl:e=>(0,i.get)(e,c,"")});d.selectAdminLink=(0,l.createSelector)([d.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.reducer;const p=window.wp.apiFetch;var h=r.n(p);const f="hasConsent",m=(0,l.createSlice)({name:f,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),y=(m.getInitialState,m.actions,m.reducer,window.wp.url),v="linkParams",g=(0,l.createSlice)({name:v,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),w=(g.getInitialState,{selectLinkParam:(e,t,r={})=>(0,i.get)(e,`${v}.${t}`,r),selectLinkParams:e=>(0,i.get)(e,v,{})});w.selectLink=(0,l.createSelector)([w.selectLinkParams,(e,t)=>t,(e,t,r={})=>r],((e,t,r)=>(0,y.addQueryArgs)(t,{...e,...r})));const x=g.actions,b=g.reducer,j=(0,l.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:r="default",title:n,description:s})=>({payload:{id:e||(0,l.nanoid)(),variant:t,size:r,title:n||"",description:s}})},removeNotification:(e,{payload:t})=>(0,i.omit)(e,t)}}),E=(j.getInitialState,j.actions,j.reducer,"pluginUrl"),R=(0,l.createSlice)({name:E,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),S=R.getInitialState,_={selectPluginUrl:e=>(0,i.get)(e,E,"")};_.selectImageLink=(0,l.createSelector)([_.selectPluginUrl,(e,t,r="images")=>r,(e,t)=>t],((e,t,r)=>[(0,i.trimEnd)(e,"/"),(0,i.trim)(t,"/"),(0,i.trimStart)(r,"/")].join("/")));const C=R.actions,P=R.reducer,k="request",N="success",O="error",T="idle",L="loading",M="showPlay",A="askPermission",F="isPlaying",U="wistiaEmbedPermission",B=(0,l.createSlice)({name:U,initialState:{value:!1,status:T,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${U}/${k}`,(e=>{e.status=L})),e.addCase(`${U}/${N}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${U}/${O}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,i.get)(t,"error.code",500),message:(0,i.get)(t,"error.message","Unknown")}}))}}),q=(B.getInitialState,{selectWistiaEmbedPermission:e=>(0,i.get)(e,U,{value:!1,status:T}),selectWistiaEmbedPermissionValue:e=>(0,i.get)(e,[U,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,i.get)(e,[U,"status"],T),selectWistiaEmbedPermissionError:e=>(0,i.get)(e,[U,"error"],{})}),$={...B.actions,setWistiaEmbedPermission:function*(e){yield{type:`${U}/${k}`};try{return yield{type:U,payload:e},{type:`${U}/${N}`,payload:{value:e}}}catch(t){return{type:`${U}/${O}`,payload:{error:t,value:e}}}}},I={[U]:async({payload:e})=>h()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})},H=B.reducer;var W;const D="documentTitle",z=(0,l.createSlice)({name:D,initialState:(0,i.defaultTo)(null===(W=document)||void 0===W?void 0:W.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),V=(z.getInitialState,{selectDocumentTitle:e=>(0,i.get)(e,D,""),selectDocumentFullTitle:(e,{prefix:t=""}={})=>{const r=(0,i.get)(e,D,"");return r.startsWith(t)?r:`${t} ‹ ${r}`}}),J=(z.actions,z.reducer),Z="preferences",Y=(0,l.createSlice)({name:Z,initialState:{isRtl:!1},reducers:{}}),G={selectPreference:(e,t,r={})=>(0,i.get)(e,`${Z}.${t}`,r),selectPreferences:e=>(0,i.get)(e,Z,{})},K=Y.actions,Q=Y.reducer,X=window.yoast.styledComponents,ee=window.wp.i18n,te=window.React;var re,ne=r.n(te);function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(re||(re={}));const ae="popstate";function ie(e,t){if(!1===e||null==e)throw new Error(t)}function oe(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function le(e,t){return{usr:e.state,key:e.key,idx:t}}function ce(e,t,r,n){return void 0===r&&(r=null),se({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?de(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function ue(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function de(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var pe;function he(e,t,r){return void 0===r&&(r="/"),function(e,t,r,n){let s=Ce(("string"==typeof t?de(t):t).pathname||"/",r);if(null==s)return null;let a=fe(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let i=null;for(let e=0;null==i&&e<a.length;++e){let t=_e(s);i=Re(a[e],t,n)}return i}(e,t,r,!1)}function fe(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let s=(e,s,a)=>{let i={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:s,route:e};i.relativePath.startsWith("/")&&(ie(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));let o=Oe([n,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(ie(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),fe(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:Ee(o,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of me(e.path))s(e,t,r);else s(e,t)})),t}function me(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,s=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return s?[a,""]:[a];let i=me(n.join("/")),o=[];return o.push(...i.map((e=>""===e?a:[a,e].join("/")))),s&&o.push(...i),o.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(pe||(pe={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const ye=/^:[\w-]+$/,ve=3,ge=2,we=1,xe=10,be=-2,je=e=>"*"===e;function Ee(e,t){let r=e.split("/"),n=r.length;return r.some(je)&&(n+=be),t&&(n+=ge),r.filter((e=>!je(e))).reduce(((e,t)=>e+(ye.test(t)?ve:""===t?we:xe)),n)}function Re(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,s={},a="/",i=[];for(let e=0;e<n.length;++e){let o=n[e],l=e===n.length-1,c="/"===a?t:t.slice(a.length)||"/",u=Se({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},c),d=o.route;if(!u&&l&&r&&!n[n.length-1].route.index&&(u=Se({path:o.relativePath,caseSensitive:o.caseSensitive,end:!1},c)),!u)return null;Object.assign(s,u.params),i.push({params:s,pathname:Oe([a,u.pathname]),pathnameBase:Te(Oe([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=Oe([a,u.pathnameBase]))}return i}function Se(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),oe("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),s+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":""!==e&&"/"!==e&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),s=t.match(r);if(!s)return null;let a=s[0],i=a.replace(/(.)\/+$/,"$1"),o=s.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:s}=t;if("*"===n){let e=o[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=o[r];return e[n]=s&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function _e(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return oe(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Ce(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function Pe(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function ke(e,t){let r=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}function Ne(e,t,r,n){let s;void 0===n&&(n=!1),"string"==typeof e?s=de(e):(s=se({},e),ie(!s.pathname||!s.pathname.includes("?"),Pe("?","pathname","search",s)),ie(!s.pathname||!s.pathname.includes("#"),Pe("#","pathname","hash",s)),ie(!s.search||!s.search.includes("#"),Pe("#","search","hash",s)));let a,i=""===e||""===s.pathname,o=i?"/":s.pathname;if(null==o)a=r;else{let e=t.length-1;if(!n&&o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;s.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:s=""}="string"==typeof e?de(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:Le(n),hash:Me(s)}}(s,a),c=o&&"/"!==o&&o.endsWith("/"),u=(i||"."===o)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}const Oe=e=>e.join("/").replace(/\/\/+/g,"/"),Te=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Le=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Me=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const Ae=["post","put","patch","delete"],Fe=(new Set(Ae),["get",...Ae]);function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ue.apply(this,arguments)}new Set(Fe),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const Be=te.createContext(null),qe=te.createContext(null),$e=te.createContext(null),Ie=te.createContext(null),He=te.createContext({outlet:null,matches:[],isDataRoute:!1}),We=te.createContext(null);function De(){return null!=te.useContext(Ie)}function ze(){return De()||ie(!1),te.useContext(Ie).location}function Ve(e){te.useContext($e).static||te.useLayoutEffect(e)}function Je(){let{isDataRoute:e}=te.useContext(He);return e?function(){let{router:e}=function(e){let t=te.useContext(Be);return t||ie(!1),t}(et.UseNavigateStable),t=rt(tt.UseNavigateStable),r=te.useRef(!1);return Ve((()=>{r.current=!0})),te.useCallback((function(n,s){void 0===s&&(s={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,Ue({fromRouteId:t},s)))}),[e,t])}():function(){De()||ie(!1);let e=te.useContext(Be),{basename:t,future:r,navigator:n}=te.useContext($e),{matches:s}=te.useContext(He),{pathname:a}=ze(),i=JSON.stringify(ke(s,r.v7_relativeSplatPath)),o=te.useRef(!1);return Ve((()=>{o.current=!0})),te.useCallback((function(r,s){if(void 0===s&&(s={}),!o.current)return;if("number"==typeof r)return void n.go(r);let l=Ne(r,JSON.parse(i),a,"path"===s.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:Oe([t,l.pathname])),(s.replace?n.replace:n.push)(l,s.state,s)}),[t,n,i,a,e])}()}function Ze(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=te.useContext($e),{matches:s}=te.useContext(He),{pathname:a}=ze(),i=JSON.stringify(ke(s,n.v7_relativeSplatPath));return te.useMemo((()=>Ne(e,JSON.parse(i),a,"path"===r)),[e,i,a,r])}function Ye(e,t,r,n){De()||ie(!1);let{navigator:s}=te.useContext($e),{matches:a}=te.useContext(He),i=a[a.length-1],o=i?i.params:{},l=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let c,u=ze();if(t){var d;let e="string"==typeof t?de(t):t;"/"===l||(null==(d=e.pathname)?void 0:d.startsWith(l))||ie(!1),c=e}else c=u;let p=c.pathname||"/",h=p;if("/"!==l){let e=l.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=he(e,{pathname:h}),m=function(e,t,r,n){var s;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){var a;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(a=n)&&a.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let i=e,o=null==(s=r)?void 0:s.errors;if(null!=o){let e=i.findIndex((e=>e.route.id&&void 0!==(null==o?void 0:o[e.route.id])));e>=0||ie(!1),i=i.slice(0,Math.min(i.length,e+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=r,s=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||s){l=!0,i=c>=0?i.slice(0,c+1):[i[0]];break}}}return i.reduceRight(((e,n,s)=>{let a,u=!1,d=null,p=null;var h;r&&(a=o&&n.route.id?o[n.route.id]:void 0,d=n.route.errorElement||Ke,l&&(c<0&&0===s?(st[h="route-fallback"]||(st[h]=!0),u=!0,p=null):c===s&&(u=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,s+1)),m=()=>{let t;return t=a?d:u?p:n.route.Component?te.createElement(n.route.Component,null):n.route.element?n.route.element:e,te.createElement(Xe,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===s)?te.createElement(Qe,{location:r.location,revalidation:r.revalidation,component:d,error:a,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()}),null)}(f&&f.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Oe([l,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:Oe([l,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,r,n);return t&&m?te.createElement(Ie.Provider,{value:{location:Ue({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:re.Pop}},m):m}function Ge(){let e=nt(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return te.createElement(te.Fragment,null,te.createElement("h2",null,"Unexpected Application Error!"),te.createElement("h3",{style:{fontStyle:"italic"}},t),r?te.createElement("pre",{style:n},r):null,null)}const Ke=te.createElement(Ge,null);class Qe extends te.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?te.createElement(He.Provider,{value:this.props.routeContext},te.createElement(We.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xe(e){let{routeContext:t,match:r,children:n}=e,s=te.useContext(Be);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),te.createElement(He.Provider,{value:t},n)}var et=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(et||{}),tt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(tt||{});function rt(e){let t=function(e){let t=te.useContext(He);return t||ie(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function nt(){var e;let t=te.useContext(We),r=function(e){let t=te.useContext(qe);return t||ie(!1),t}(tt.UseRouteError),n=rt(tt.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}const st={};function at(e){let{to:t,replace:r,state:n,relative:s}=e;De()||ie(!1);let{future:a,static:i}=te.useContext($e),{matches:o}=te.useContext(He),{pathname:l}=ze(),c=Je(),u=Ne(t,ke(o,a.v7_relativeSplatPath),l,"path"===s),d=JSON.stringify(u);return te.useEffect((()=>c(JSON.parse(d),{replace:r,state:n,relative:s})),[c,d,s,r,n]),null}function it(e){ie(!1)}function ot(e){let{basename:t="/",children:r=null,location:n,navigationType:s=re.Pop,navigator:a,static:i=!1,future:o}=e;De()&&ie(!1);let l=t.replace(/^\/*/,"/"),c=te.useMemo((()=>({basename:l,navigator:a,static:i,future:Ue({v7_relativeSplatPath:!1},o)})),[l,o,a,i]);"string"==typeof n&&(n=de(n));let{pathname:u="/",search:d="",hash:p="",state:h=null,key:f="default"}=n,m=te.useMemo((()=>{let e=Ce(u,l);return null==e?null:{location:{pathname:e,search:d,hash:p,state:h,key:f},navigationType:s}}),[l,u,d,p,h,f,s]);return null==m?null:te.createElement($e.Provider,{value:c},te.createElement(Ie.Provider,{children:r,value:m}))}function lt(e){let{children:t,location:r}=e;return Ye(ct(t),r)}function ct(e,t){void 0===t&&(t=[]);let r=[];return te.Children.forEach(e,((e,n)=>{if(!te.isValidElement(e))return;let s=[...t,n];if(e.type===te.Fragment)return void r.push.apply(r,ct(e.props.children,s));e.type!==it&&ie(!1),e.props.index&&e.props.children&&ie(!1);let a={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=ct(e.props.children,s)),r.push(a)})),r}te.startTransition,new Promise((()=>{})),te.Component;te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));const ut=(e,t)=>{try{return(0,n.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},dt=window.yoast.propTypes;var pt=r.n(dt);const ht=window.ReactJSXRuntime;pt().string.isRequired;const ft=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));pt().string.isRequired,pt().string.isRequired,pt().shape({src:pt().string.isRequired,width:pt().string,height:pt().string}).isRequired,pt().shape({value:pt().bool.isRequired,status:pt().string.isRequired,set:pt().func.isRequired}).isRequired,pt().string,pt().string,pt().string;const mt=({handleRefreshClick:e,supportLink:t})=>(0,ht.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,ht.jsx)(s.Button,{onClick:e,children:(0,ee.__)("Refresh this page","wordpress-seo")}),(0,ht.jsx)(s.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,ee.__)("Contact support","wordpress-seo")})]});mt.propTypes={handleRefreshClick:pt().func.isRequired,supportLink:pt().string.isRequired};const yt=({handleRefreshClick:e,supportLink:t})=>(0,ht.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,ht.jsx)(s.Button,{className:"yst-order-last",onClick:e,children:(0,ee.__)("Refresh this page","wordpress-seo")}),(0,ht.jsx)(s.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,ee.__)("Contact support","wordpress-seo")})]});yt.propTypes={handleRefreshClick:pt().func.isRequired,supportLink:pt().string.isRequired};const vt=({error:e,children:t=null})=>(0,ht.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,ht.jsx)(s.Title,{children:(0,ee.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,ht.jsx)("p",{children:(0,ee.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,ht.jsx)(s.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,ee.__)("Undefined error message.","wordpress-seo")}),(0,ht.jsx)("p",{children:(0,ee.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});vt.propTypes={error:pt().object.isRequired,children:pt().node},vt.VerticalButtons=yt,vt.HorizontalButtons=mt;const gt={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},wt=({id:e,children:t,title:r,description:n=null,variant:a="2xl"})=>(0,ht.jsxs)("section",{id:e,className:gt.variant[a].grid,children:[(0,ht.jsx)("div",{className:gt.variant[a].col1,children:(0,ht.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,ht.jsx)(s.Title,{as:"h2",size:"4",children:r}),n&&(0,ht.jsx)("p",{className:"yst-mt-2",children:n})]})}),(0,ht.jsxs)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${gt.variant[a].col2}`,children:[(0,ht.jsx)("legend",{className:"yst-sr-only",children:r}),(0,ht.jsx)("div",{className:"yst-space-y-8",children:t})]})]});wt.propTypes={id:pt().string,children:pt().node.isRequired,title:pt().node.isRequired,description:pt().node,variant:pt().oneOf(Object.keys(gt.variant))};const xt=window.ReactDOM;function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bt.apply(this,arguments)}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const jt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(pr){}new Map;const Et=te.startTransition;function Rt(e){let{basename:t,children:r,future:n,window:s}=e,a=te.useRef();var i;null==a.current&&(a.current=(void 0===(i={window:s,v5Compat:!0})&&(i={}),function(e,t,r,n){void 0===n&&(n={});let{window:s=document.defaultView,v5Compat:a=!1}=n,i=s.history,o=re.Pop,l=null,c=u();function u(){return(i.state||{idx:null}).idx}function d(){o=re.Pop;let e=u(),t=null==e?null:e-c;c=e,l&&l({action:o,location:h.location,delta:t})}function p(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,r="string"==typeof e?e:ue(e);return r=r.replace(/ $/,"%20"),ie(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==c&&(c=0,i.replaceState(se({},i.state,{idx:c}),""));let h={get action(){return o},get location(){return e(s,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(ae,d),l=e,()=>{s.removeEventListener(ae,d),l=null}},createHref:e=>t(s,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){o=re.Push;let n=ce(h.location,e,t);r&&r(n,e),c=u()+1;let d=le(n,c),p=h.createHref(n);try{i.pushState(d,"",p)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(p)}a&&l&&l({action:o,location:h.location,delta:1})},replace:function(e,t){o=re.Replace;let n=ce(h.location,e,t);r&&r(n,e),c=u();let s=le(n,c),d=h.createHref(n);i.replaceState(s,"",d),a&&l&&l({action:o,location:h.location,delta:0})},go:e=>i.go(e)};return h}((function(e,t){let{pathname:r="/",search:n="",hash:s=""}=de(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),ce("",{pathname:r,search:n,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:ue(t))}),(function(e,t){oe("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),i)));let o=a.current,[l,c]=te.useState({action:o.action,location:o.location}),{v7_startTransition:u}=n||{},d=te.useCallback((e=>{u&&Et?Et((()=>c(e))):c(e)}),[c,u]);return te.useLayoutEffect((()=>o.listen(d)),[o,d]),te.createElement(ot,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:o,future:n})}xt.flushSync,te.useId;const St="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,_t=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ct=te.forwardRef((function(e,t){let r,{onClick:n,relative:s,reloadDocument:a,replace:i,state:o,target:l,to:c,preventScrollReset:u,unstable_viewTransition:d}=e,p=function(e,t){if(null==e)return{};var r,n,s={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,jt),{basename:h}=te.useContext($e),f=!1;if("string"==typeof c&&_t.test(c)&&(r=c,St))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),r=Ce(t.pathname,h);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:f=!0}catch(e){}let m=function(e,t){let{relative:r}=void 0===t?{}:t;De()||ie(!1);let{basename:n,navigator:s}=te.useContext($e),{hash:a,pathname:i,search:o}=Ze(e,{relative:r}),l=i;return"/"!==n&&(l="/"===i?n:Oe([n,i])),s.createHref({pathname:l,search:o,hash:a})}(c,{relative:s}),y=function(e,t){let{target:r,replace:n,state:s,preventScrollReset:a,relative:i,unstable_viewTransition:o}=void 0===t?{}:t,l=Je(),c=ze(),u=Ze(e,{relative:i});return te.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==n?n:ue(c)===ue(u);l(e,{replace:r,state:s,preventScrollReset:a,relative:i,unstable_viewTransition:o})}}),[c,l,u,n,s,r,e,a,i,o])}(c,{replace:i,state:o,target:l,preventScrollReset:u,relative:s,unstable_viewTransition:d});return te.createElement("a",bt({},p,{href:r||m,onClick:f||a?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:l}))}));var Pt,kt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Pt||(Pt={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(kt||(kt={}));const Nt=({to:e,idSuffix:t="",...r})=>{const a=(0,n.useMemo)((()=>(0,i.replace)((0,i.replace)(`link-${e}`,"/","-"),"--","-")),[e]);return(0,ht.jsx)(s.SidebarNavigation.SubmenuItem,{as:Ct,pathProp:"to",id:`${a}${t}`,to:e,...r})};Nt.propTypes={to:pt().string.isRequired,idSuffix:pt().string};pt().string.isRequired,pt().node;te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),(0,ee.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,ee.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,ee.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,ee.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,ee.__)("Add product details to help your listings stand out","wordpress-seo"),(0,ee.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,ee.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,ee.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,ee.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,ee.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,ee.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,ee.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,ee.__)("Internal links and redirect management, easy","wordpress-seo"),(0,ee.__)("Access to friendly help when you need it, day or night","wordpress-seo");var Ot=r(4184),Tt=r.n(Ot);pt().string.isRequired,pt().object.isRequired,pt().func.isRequired,te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),pt().string.isRequired,pt().object,pt().func.isRequired,pt().bool.isRequired,pt().string.isRequired,pt().object.isRequired,pt().string.isRequired,pt().func.isRequired,pt().bool.isRequired,te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),pt().bool.isRequired,pt().func,pt().func,pt().string.isRequired,pt().string.isRequired,pt().string.isRequired,pt().string.isRequired;const Lt=window.yoast.reactHelmet,Mt=({videoId:e,thumbnail:t,wistiaEmbedPermission:r,className:a=""})=>{const[i,o]=(0,n.useState)(r.value?F:M),l=(0,n.useCallback)((()=>o(F)),[o]),c=(0,n.useCallback)((()=>{r.value?l():o(A)}),[r.value,l,o]),u=(0,n.useCallback)((()=>o(M)),[o]),d=(0,n.useCallback)((()=>{r.set(!0),l()}),[r.set,l]);return(0,ht.jsxs)(ht.Fragment,{children:[r.value&&(0,ht.jsx)(Lt.Helmet,{children:(0,ht.jsx)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})}),(0,ht.jsxs)("div",{className:Tt()("yst-relative yst-w-full yst-h-0 yst-pt-[47.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white",a),children:[i===M&&(0,ht.jsx)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:c,children:(0,ht.jsx)("img",{className:"yst-w-full yst-h-auto yst-object-contain",alt:"",loading:"lazy",decoding:"async",...t})}),i===A&&(0,ht.jsxs)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white",children:[(0,ht.jsxs)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center",children:[r.status===L&&(0,ht.jsx)(s.Spinner,{}),r.status!==L&&(0,ee.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ (0,ee.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")]}),(0,ht.jsxs)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4",children:[(0,ht.jsx)(s.Button,{type:"button",variant:"secondary",onClick:u,disabled:r.status===L,children:(0,ee.__)("Deny","wordpress-seo")}),(0,ht.jsx)(s.Button,{type:"button",variant:"primary",onClick:d,disabled:r.status===L,children:(0,ee.__)("Allow","wordpress-seo")})]})]}),r.value&&i===F&&(0,ht.jsxs)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-right-0",children:[null===e&&(0,ht.jsx)(s.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,ht.jsx)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`})]})]})]})};var At,Ft;function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ut.apply(null,arguments)}Mt.propTypes={videoId:pt().string.isRequired,thumbnail:pt().shape({src:pt().string.isRequired,width:pt().string,height:pt().string}).isRequired,wistiaEmbedPermission:pt().shape({value:pt().bool.isRequired,status:pt().string.isRequired,set:pt().func.isRequired}).isRequired,hasPadding:pt().bool};const Bt=e=>te.createElement("svg",Ut({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"yoast-logo_svg__w-40",viewBox:"0 0 842 224"},e),At||(At=te.createElement("path",{fill:"#a61e69",d:"M166.55 54.09c-38.69 0-54.17 25.97-54.17 54.88s15.25 56.02 54.17 56.02 54.07-27.19 54-54.26c-.09-32.97-16.77-56.65-54-56.65Zm-23.44 56.52c.94-38.69 30.66-38.65 40.59-24.79 9.05 12.63 10.9 55.81-17.14 55.5-12.92-.14-23.06-8.87-23.44-30.71Zm337.25 27.55V82.11h20.04V57.78h-20.04V28.39h-30.95v29.39h-15.7v24.33h15.7v52.87c0 30.05 20.95 47.91 43.06 51.61l9.24-24.88c-12.89-1.63-21.23-11.27-21.35-23.54Zm-156.15-8.87V87.16c0-1.54-.1-2.98-.25-4.39-2.68-34.04-51.02-33.97-88.46-20.9l10.82 21.78c24.38-11.58 38.97-8.59 44.07-2.89.13.15.26.29.38.45.01.02.03.04.04.06 2.6 3.51 1.98 9.05 1.98 13.41-31.86 0-65.77 4.23-65.77 39.17 0 26.56 33.28 43.65 68.06 18.33l5.16 12.45h29.81c-2.66-14.62-5.85-27.14-5.85-35.34Zm-31.18-.23c-24.51 27.43-46.96 1.61-23.97-9.65 6.77-2.31 15.95-2.41 23.97-2.41v12.06Zm78.75-44.17c0-10.38 16.61-15.23 42.82-3.27l9.06-22.01c-35.27-10.66-83.44-11.62-83.75 25.28-.15 17.68 11.19 27.19 27.52 33.26 11.31 4.2 27.64 6.38 27.59 15.39-.06 11.77-25.38 13.57-48.42-2.26l-9.31 23.87c31.43 15.64 89.87 16.08 89.56-23.12-.31-38.76-55.08-32.11-55.08-47.14ZM99.3 1 54.44 125.61 32.95 58.32H1l35.78 91.89a33.49 33.49 0 0 1 0 24.33c-4 10.25-10.65 19.03-26.87 21.21v27.24c31.58 0 48.65-19.41 63.88-61.96L133.48 1H99.3ZM598.64 139.05c0 8.17-2.96 14.58-8.87 19.23-5.91 4.65-14.07 6.98-24.47 6.98s-18.92-1.61-25.54-4.84v-14.2c4.19 1.97 8.65 3.52 13.37 4.65 4.72 1.13 9.11 1.7 13.18 1.7 5.95 0 10.35-1.13 13.18-3.39 2.83-2.26 4.25-5.3 4.25-9.11 0-3.43-1.3-6.35-3.9-8.74-2.6-2.39-7.97-5.22-16.1-8.48-8.39-3.39-14.3-7.27-17.74-11.63-3.44-4.36-5.16-9.59-5.16-15.71 0-7.67 2.72-13.7 8.18-18.1 5.45-4.4 12.77-6.6 21.95-6.6s17.57 1.93 26.29 5.78l-4.78 12.26c-8.18-3.43-15.47-5.15-21.89-5.15-4.87 0-8.55 1.06-11.07 3.17-2.52 2.12-3.77 4.91-3.77 8.39 0 2.39.5 4.43 1.51 6.13s2.66 3.3 4.97 4.81c2.3 1.51 6.46 3.5 12.45 5.97 6.75 2.81 11.7 5.43 14.85 7.86 3.15 2.43 5.45 5.18 6.92 8.23 1.46 3.06 2.2 6.66 2.2 10.81Zm68.53 24.96h-52.02V72.12h52.02v12.7h-36.99v25.01h34.66v12.57h-34.66v28.85h36.99v12.76Zm100.24-46.07c0 14.96-3.74 26.59-11.23 34.88-7.49 8.3-18.08 12.44-31.8 12.44s-24.54-4.12-31.99-12.35c-7.44-8.23-11.17-19.93-11.17-35.1s3.74-26.82 11.23-34.95c7.49-8.13 18.17-12.19 32.05-12.19s24.24 4.13 31.7 12.38c7.47 8.26 11.2 19.88 11.2 34.88Zm-70.2 0c0 11.31 2.29 19.89 6.86 25.74 4.57 5.85 11.35 8.77 20.32 8.77s15.67-2.89 20.22-8.67c4.55-5.78 6.82-14.39 6.82-25.83s-2.25-19.82-6.76-25.64-11.23-8.74-20.16-8.74-15.82 2.91-20.41 8.74c-4.59 5.82-6.89 14.37-6.89 25.64Z"})),Ft||(Ft=te.createElement("path",{fill:"#77b227",d:"m790.45 165.35 36.05-94.96H840l-36.02 94.96h-13.53z"})));te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),pt().bool.isRequired,pt().func.isRequired,pt().func,pt().string;const qt=({contentClassName:e="",children:t})=>(0,ht.jsx)("div",{className:"yst-flex yst-gap-6 xl:yst-flex-row yst-flex-col relative",children:(0,ht.jsx)("div",{className:Tt()("yst-@container yst-flex yst-flex-grow yst-flex-col",e),children:t})});pt().func.isRequired,pt().string.isRequired,pt().string.isRequired,pt().string.isRequired,pt().string.isRequired;const $t=()=>{const e=(0,n.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),t=(0,a.select)(o).selectLink("https://yoa.st/general-error-support"),r=nt();return(0,ht.jsx)(s.Paper,{children:(0,ht.jsx)(vt,{error:r,children:(0,ht.jsx)(vt.HorizontalButtons,{handleRefreshClick:e,supportLink:t})})})};var It={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},Ht=function(e){var t=e.message,r=e["aria-live"];return ne().createElement("div",{style:It,role:"log","aria-live":r},t||"")};Ht.propTypes={};const Wt=Ht;function Dt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var zt=function(e){function t(){var r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var s=arguments.length,a=Array(s),i=0;i<s;i++)a[i]=arguments[i];return r=n=Dt(this,e.call.apply(e,[this].concat(a))),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},Dt(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.oldPolitemessage,n=t.oldPoliteMessageId,s=t.oldAssertiveMessage,a=t.oldAssertiveMessageId,i=e.politeMessage,o=e.politeMessageId,l=e.assertiveMessage,c=e.assertiveMessageId;return r!==i||n!==o?{politeMessage1:t.setAlternatePolite?"":i,politeMessage2:t.setAlternatePolite?i:"",oldPolitemessage:i,oldPoliteMessageId:o,setAlternatePolite:!t.setAlternatePolite}:s!==l||a!==c?{assertiveMessage1:t.setAlternateAssertive?"":l,assertiveMessage2:t.setAlternateAssertive?l:"",oldAssertiveMessage:l,oldAssertiveMessageId:c,setAlternateAssertive:!t.setAlternateAssertive}:null},t.prototype.render=function(){var e=this.state,t=e.assertiveMessage1,r=e.assertiveMessage2,n=e.politeMessage1,s=e.politeMessage2;return ne().createElement("div",null,ne().createElement(Wt,{"aria-live":"assertive",message:t}),ne().createElement(Wt,{"aria-live":"assertive",message:r}),ne().createElement(Wt,{"aria-live":"polite",message:n}),ne().createElement(Wt,{"aria-live":"polite",message:s}))},t}(te.Component);zt.propTypes={};const Vt=zt;function Jt(){console.warn("Announcement failed, LiveAnnouncer context is missing")}const Zt=ne().createContext({announceAssertive:Jt,announcePolite:Jt}),Yt=function(e){function t(r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,r));return n.announcePolite=function(e,t){n.setState({announcePoliteMessage:e,politeMessageId:t||""})},n.announceAssertive=function(e,t){n.setState({announceAssertiveMessage:e,assertiveMessageId:t||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.state,t=e.announcePoliteMessage,r=e.politeMessageId,n=e.announceAssertiveMessage,s=e.assertiveMessageId,a=e.updateFunctions;return ne().createElement(Zt.Provider,{value:a},this.props.children,ne().createElement(Vt,{assertiveMessage:n,assertiveMessageId:s,politeMessage:t,politeMessageId:r}))},t}(te.Component);var Gt=r(3409),Kt=r.n(Gt);function Qt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Xt=function(e){function t(){var r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var s=arguments.length,a=Array(s),i=0;i<s;i++)a[i]=arguments[i];return r=n=Qt(this,e.call.apply(e,[this].concat(a))),n.announce=function(){var e=n.props,t=e.message,r=e["aria-live"],s=e.announceAssertive,a=e.announcePolite;"assertive"===r&&s(t||"",Kt()()),"polite"===r&&a(t||"",Kt()())},Qt(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(e){this.props.message!==e.message&&this.announce()},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.clearOnUnmount,r=e.announceAssertive,n=e.announcePolite;!0!==t&&"true"!==t||(r(""),n(""))},t.prototype.render=function(){return null},t}(te.Component);Xt.propTypes={};const er=Xt;var tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rr=function(e){return ne().createElement(Zt.Consumer,null,(function(t){return ne().createElement(er,tr({},t,e))}))};rr.propTypes={};const nr=rr;const sr=({children:e,title:t,description:r=null})=>{const n=(0,a.useSelect)((e=>e(o).selectDocumentFullTitle({prefix:t})),[]),i=(0,ee.sprintf)("%1$s - %2$s",t,"Yoast SEO");return(0,ht.jsxs)(Yt,{children:[(0,ht.jsx)(nr,{message:i,"aria-live":"polite"}),(0,ht.jsx)(Lt.Helmet,{children:(0,ht.jsx)("title",{children:n})}),(0,ht.jsx)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200 yst-opacity-50",children:(0,ht.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,ht.jsx)(s.Title,{children:t}),r&&(0,ht.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:r})]})}),e]})};sr.propTypes={children:pt().node.isRequired,title:pt().string.isRequired,description:pt().node};const ar=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4"}))})),ir=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"}))})),or=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),te.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))})),lr=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),cr=({idSuffix:e=""})=>{const t=(0,s.useSvgAria)();return(0,ht.jsxs)(ht.Fragment,{children:[(0,ht.jsx)("header",{className:"yst-mb-6 yst-space-y-6",children:(0,ht.jsx)(Ct,{id:`link-yoast-logo${e}`,to:"/",className:"yst-px-3 yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO",children:(0,ht.jsx)(Bt,{className:"yst-w-40",...t})})}),(0,ht.jsxs)("ul",{className:"yst-mt-1 yst-px-0.5 yst-space-y-4",children:[(0,ht.jsx)(Nt,{to:"/",label:(0,ht.jsxs)(ht.Fragment,{children:[(0,ht.jsx)(ar,{className:"yst-sidebar-navigation__icon yst-w-6 yst-h-6"}),(0,ee.__)("Redirects","wordpress-seo")]}),idSuffix:e,className:"yst-gap-3"}),(0,ht.jsxs)("li",{className:"yst-flex yst-items-center yst-gap-3 yst-px-3 yst-py-2 yst-text-slate-800 yst-cursor-not-allowed yst-opacity-50",children:[(0,ht.jsx)(ir,{className:"yst-sidebar-navigation __icon yst-w-6 yst-h-6"}),(0,ee.__)("Regex redirects","wordpress-seo"),(0,ht.jsx)("div",{className:"yst-bg-amber-200 yst-text-amber-900 yst-rounded-2xl yst-flext yst-items-center yst-justify-center yst-py-[2px] yst-px-2",children:(0,ht.jsx)(lr,{className:"yst-sidebar-navigation __icon yst-w-2.5 yst-h-2.5"})})]}),(0,ht.jsxs)("li",{className:"yst-flex yst-items-center yst-gap-3 yst-px-3 yst-py-2 yst-text-slate-800 yst-cursor-not-allowed yst-opacity-50",children:[(0,ht.jsx)(or,{className:"yst-sidebar-navigation __icon yst-w-6 yst-h-6"}),(0,ee.__)("Redirect method","wordpress-seo"),(0,ht.jsx)("div",{className:"yst-bg-amber-200 yst-text-amber-900 yst-rounded-2xl yst-flext yst-items-center yst-justify-center yst-py-[2px] yst-px-2",children:(0,ht.jsx)(lr,{className:"yst-sidebar-navigation __icon yst-w-2.5 yst-h-2.5"})})]})]})]})};function ur(...e){return e.filter(Boolean).join(" ")}function dr(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,dr),n}cr.propTypes={idSuffix:pt().string};var pr,hr,fr=((hr=fr||{})[hr.None=0]="None",hr[hr.RenderStrategy=1]="RenderStrategy",hr[hr.Static=2]="Static",hr),mr=((pr=mr||{})[pr.Unmount=0]="Unmount",pr[pr.Hidden=1]="Hidden",pr);function yr({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:s,visible:a=!0,name:i}){let o=gr(t,e);if(a)return vr(o,r,n,i);let l=null!=s?s:0;if(2&l){let{static:e=!1,...t}=o;if(e)return vr(t,r,n,i)}if(1&l){let{unmount:e=!0,...t}=o;return dr(e?0:1,{0:()=>null,1:()=>vr({...t,hidden:!0,style:{display:"none"}},r,n,i)})}return vr(o,r,n,i)}function vr(e,t={},r,n){var s;let{as:a=r,children:i,refName:o="ref",...l}=br(e,["unmount","static"]),c=void 0!==e.ref?{[o]:e.ref}:{},u="function"==typeof i?i(t):i;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,r=[];for(let[n,s]of Object.entries(t))"boolean"==typeof s&&(e=!0),!0===s&&r.push(n);e&&(d["data-headlessui-state"]=r.join(" "))}if(a===te.Fragment&&Object.keys(xr(l)).length>0){if(!(0,te.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=ur(null==(s=u.props)?void 0:s.className,l.className),t=e?{className:e}:{};return(0,te.cloneElement)(u,Object.assign({},gr(u.props,xr(br(l,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(u.ref,c.ref),t))}return(0,te.createElement)(a,Object.assign({},br(l,["ref"]),a!==te.Fragment&&c,a!==te.Fragment&&d),u)}function gr(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let s=r[e];for(let e of s){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function wr(e){var t;return Object.assign((0,te.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function xr(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function br(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let jr=(0,te.createContext)(null);jr.displayName="OpenClosedContext";var Er=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Er||{});function Rr(){return(0,te.useContext)(jr)}function Sr({value:e,children:t}){return te.createElement(jr.Provider,{value:e},t)}var _r=Object.defineProperty,Cr=(e,t,r)=>(((e,t,r)=>{t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Pr=new class{constructor(){Cr(this,"current",this.detect()),Cr(this,"handoffState","pending"),Cr(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},kr=(e,t)=>{Pr.isServer?(0,te.useEffect)(e,t):(0,te.useLayoutEffect)(e,t)};function Nr(){let e=(0,te.useRef)(!1);return kr((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Or(e){let t=(0,te.useRef)(e);return kr((()=>{t.current=e}),[e]),t}function Tr(){let[e,t]=(0,te.useState)(Pr.isHandoffComplete);return e&&!1===Pr.isHandoffComplete&&t(!1),(0,te.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,te.useEffect)((()=>Pr.handoff()),[]),e}let Lr=function(e){let t=Or(e);return te.useCallback(((...e)=>t.current(...e)),[t])},Mr=Symbol();function Ar(...e){let t=(0,te.useRef)(e);(0,te.useEffect)((()=>{t.current=e}),[e]);let r=Lr((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Mr])))?void 0:r}function Fr(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,n,s)=>(e.addEventListener(t,n,s),r.add((()=>e.removeEventListener(t,n,s)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>r.requestAnimationFrame((()=>r.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return r.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),r.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}function Ur(e,...t){e&&t.length>0&&e.classList.add(...t)}function Br(e,...t){e&&t.length>0&&e.classList.remove(...t)}function qr(){let[e]=(0,te.useState)(Fr);return(0,te.useEffect)((()=>()=>e.dispose()),[e]),e}function $r({container:e,direction:t,classes:r,onStart:n,onStop:s}){let a=Nr(),i=qr(),o=Or(t);kr((()=>{let t=Fr();i.add(t.dispose);let l=e.current;if(l&&"idle"!==o.current&&a.current)return t.dispose(),n.current(o.current),t.add(function(e,t,r,n){let s=r?"enter":"leave",a=Fr(),i=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===s&&(e.removeAttribute("hidden"),e.style.display="");let o=dr(s,{enter:()=>t.enter,leave:()=>t.leave}),l=dr(s,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=dr(s,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Br(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Ur(e,...o,...c),a.nextFrame((()=>{Br(e,...c),Ur(e,...l),function(e,t){let r=Fr();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:s}=getComputedStyle(e),[a,i]=[n,s].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(a+i!==0){let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(Br(e,...o),Ur(e,...t.entered),i())))})),a.dispose}(l,r.current,"enter"===o.current,(()=>{t.dispose(),s.current(o.current)}))),t.dispose}),[t])}function Ir(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let Hr=(0,te.createContext)(null);Hr.displayName="TransitionContext";var Wr,Dr=((Wr=Dr||{}).Visible="visible",Wr.Hidden="hidden",Wr);let zr=(0,te.createContext)(null);function Vr(e){return"children"in e?Vr(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Jr(e,t){let r=Or(e),n=(0,te.useRef)([]),s=Nr(),a=qr(),i=Lr(((e,t=mr.Hidden)=>{let i=n.current.findIndex((({el:t})=>t===e));-1!==i&&(dr(t,{[mr.Unmount](){n.current.splice(i,1)},[mr.Hidden](){n.current[i].state="hidden"}}),a.microTask((()=>{var e;!Vr(n)&&s.current&&(null==(e=r.current)||e.call(r))})))})),o=Lr((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>i(e,mr.Unmount)})),l=(0,te.useRef)([]),c=(0,te.useRef)(Promise.resolve()),u=(0,te.useRef)({enter:[],leave:[],idle:[]}),d=Lr(((e,r,n)=>{l.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{l.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(u.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?c.current=c.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),p=Lr(((e,t,r)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>r(t)))}));return(0,te.useMemo)((()=>({children:n,register:o,unregister:i,onStart:d,onStop:p,wait:c,chains:u})),[o,i,n,d,p,u,c])}function Zr(){}zr.displayName="NestingContext";let Yr=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Gr(e){var t;let r={};for(let n of Yr)r[n]=null!=(t=e[n])?t:Zr;return r}let Kr=fr.RenderStrategy,Qr=wr((function(e,t){let{beforeEnter:r,afterEnter:n,beforeLeave:s,afterLeave:a,enter:i,enterFrom:o,enterTo:l,entered:c,leave:u,leaveFrom:d,leaveTo:p,...h}=e,f=(0,te.useRef)(null),m=Ar(f,t),y=h.unmount?mr.Unmount:mr.Hidden,{show:v,appear:g,initial:w}=function(){let e=(0,te.useContext)(Hr);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[x,b]=(0,te.useState)(v?"visible":"hidden"),j=function(){let e=(0,te.useContext)(zr);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:R}=j,S=(0,te.useRef)(null);(0,te.useEffect)((()=>E(f)),[E,f]),(0,te.useEffect)((()=>{if(y===mr.Hidden&&f.current)return v&&"visible"!==x?void b("visible"):dr(x,{hidden:()=>R(f),visible:()=>E(f)})}),[x,f,E,R,v,y]);let _=Or({enter:Ir(i),enterFrom:Ir(o),enterTo:Ir(l),entered:Ir(c),leave:Ir(u),leaveFrom:Ir(d),leaveTo:Ir(p)}),C=function(e){let t=(0,te.useRef)(Gr(e));return(0,te.useEffect)((()=>{t.current=Gr(e)}),[e]),t}({beforeEnter:r,afterEnter:n,beforeLeave:s,afterLeave:a}),P=Tr();(0,te.useEffect)((()=>{if(P&&"visible"===x&&null===f.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[f,x,P]);let k=w&&!g,N=!P||k||S.current===v?"idle":v?"enter":"leave",O=Lr((e=>dr(e,{enter:()=>C.current.beforeEnter(),leave:()=>C.current.beforeLeave(),idle:()=>{}}))),T=Lr((e=>dr(e,{enter:()=>C.current.afterEnter(),leave:()=>C.current.afterLeave(),idle:()=>{}}))),L=Jr((()=>{b("hidden"),R(f)}),j);$r({container:f,classes:_,direction:N,onStart:Or((e=>{L.onStart(f,e,O)})),onStop:Or((e=>{L.onStop(f,e,T),"leave"===e&&!Vr(L)&&(b("hidden"),R(f))}))}),(0,te.useEffect)((()=>{!k||(y===mr.Hidden?S.current=null:S.current=v)}),[v,k,x]);let M=h,A={ref:m};return g&&v&&Pr.isServer&&(M={...M,className:ur(h.className,..._.current.enter,..._.current.enterFrom)}),te.createElement(zr.Provider,{value:L},te.createElement(Sr,{value:dr(x,{visible:Er.Open,hidden:Er.Closed})},yr({ourProps:A,theirProps:M,defaultTag:"div",features:Kr,visible:"visible"===x,name:"Transition.Child"})))})),Xr=wr((function(e,t){let{show:r,appear:n=!1,unmount:s,...a}=e,i=(0,te.useRef)(null),o=Ar(i,t);Tr();let l=Rr();if(void 0===r&&null!==l&&(r=dr(l,{[Er.Open]:!0,[Er.Closed]:!1})),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,u]=(0,te.useState)(r?"visible":"hidden"),d=Jr((()=>{u("hidden")})),[p,h]=(0,te.useState)(!0),f=(0,te.useRef)([r]);kr((()=>{!1!==p&&f.current[f.current.length-1]!==r&&(f.current.push(r),h(!1))}),[f,r]);let m=(0,te.useMemo)((()=>({show:r,appear:n,initial:p})),[r,n,p]);(0,te.useEffect)((()=>{if(r)u("visible");else if(Vr(d)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[r,d]);let y={unmount:s};return te.createElement(zr.Provider,{value:d},te.createElement(Hr.Provider,{value:m},yr({ourProps:{...y,as:te.Fragment,children:te.createElement(Qr,{ref:o,...y,...a})},theirProps:{},defaultTag:te.Fragment,features:Kr,visible:"visible"===c,name:"Transition"})))})),en=wr((function(e,t){let r=null!==(0,te.useContext)(Hr),n=null!==Rr();return te.createElement(te.Fragment,null,!r&&n?te.createElement(Xr,{ref:t,...e}):te.createElement(Qr,{ref:t,...e}))})),tn=Object.assign(Xr,{Child:en,Root:Xr});const rn=(e,t=[],...r)=>(0,a.useSelect)((t=>{var n,s;return null===(n=(s=t(o))[e])||void 0===n?void 0:n.call(s,...r)}),t),nn=({thumbnail:e,wistiaEmbedPermission:t,upsellLink:r,upsellLabel:n=(0,ee.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,ee.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),newToText:a="Yoast SEO Premium",ctbId:i="f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})=>{const{initialFocus:o}=(0,s.useModalContext)();return(0,ht.jsxs)(ht.Fragment,{children:[(0,ht.jsxs)("div",{className:"yst-introduction-gradient yst-text-center",children:[(0,ht.jsx)("div",{className:"yst-relative yst-w-full",children:(0,ht.jsx)(Mt,{videoId:"th5fg52ry8",thumbnail:e,wistiaEmbedPermission:t,className:"yst-rounded-b-none yst-drop-shadow-none yst-rounded-t-2xl yst-pt-[56.25%]"})}),(0,ht.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,ht.jsxs)("span",{className:"yst-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,ht.jsx)("span",{className:"yst-logo-icon"}),a]})})]}),(0,ht.jsxs)("div",{className:"yst-flex yst-flex-col yst-items-center yst-max-w-lg yst-mx-auto sm:yst-px-0 yst-px-6",children:[(0,ht.jsxs)("div",{className:"yst-mt-4 yst-text-center",children:[(0,ht.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ee.__)("Fix broken links before they hurt your SEO","wordpress-seo")}),(0,ht.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,ee.sprintf)(/* translators: %1$s translates to Yoast SEO Premium’s */ (0,ee.__)("Deleted or moved a page? Broken links send visitors to dead ends and cost you valuable traffic. %1$s Redirect Manager automatically sends them to the right page","wordpress-seo"),"Yoast SEO Premium's")})]}),(0,ht.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,ht.jsxs)(s.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:r,target:"_blank",ref:o,"data-action":"load-nfd-ctb","data-ctb-id":i,children:[(0,ht.jsx)(ft,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),n,(0,ht.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ee.__)("(Opens in a new browser tab)","wordpress-seo")})]})})]})]})},sn=()=>{const{link:e,imageLink:t,wistiaEmbedPermissionValue:r,wistiaEmbedPermissionStatus:s}=(0,a.useSelect)((e=>{const t=e(o);return{link:e(o).selectPreference("isComingFromToolsPage",!1)?"https://yoa.st/redirect-manager-upsell-tools":"https://yoa.st/redirect-manager-upsell",imageLink:t.selectImageLink("redirect-manager-thumbnail.png"),wistiaEmbedPermissionValue:t.selectWistiaEmbedPermissionValue(),wistiaEmbedPermissionStatus:t.selectWistiaEmbedPermissionStatus()}}),[]),i=rn("selectLink",[],e),l=(0,n.useMemo)((()=>({src:t,width:"432",height:"244"})),[t]),{setWistiaEmbedPermission:c}=(0,a.useDispatch)(o),u=(0,n.useMemo)((()=>({value:r,status:s,set:c})),[r,s,c]);return(0,ht.jsx)(nn,{learnMoreLink:"",thumbnail:l,wistiaEmbedPermission:u,upsellLink:i})},an=te.forwardRef((function(e,t){return te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),te.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),on=()=>{const e=rn("selectLink",[],"https://yoa.st/redirects-learn-more"),t=(0,n.useMemo)((()=>ut((0,ee.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,ee.__)("Manage and monitor your redirects with ease. Create and edit plain redirects to ensure visitors and search engines reach the right pages. %1$sLearn more about redirects%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,ht.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer"})})),[]),r=(0,n.useMemo)((()=>ut((0,ee.sprintf)( /** * translators: %1$s expands to an opening span tag. * %2$s expands to a closing span tag. */ (0,ee.__)("The redirect type is the HTTP response code sent to the browser telling the browser what type of redirect is served. %1$sLearn more about redirect types%2$s.","wordpress-seo"),"<span>","</span>"),{span:(0,ht.jsx)("span",{className:"yst-text-slate-600 yst-underline"})})),[]);return(0,ht.jsxs)(sr,{title:(0,ee.__)("Redirects","wordpress-seo"),description:t,children:[(0,ht.jsx)("div",{className:"yst-absolute yst-max-w-3xl yst-w-full yst-bg-white yst-z-[1000] yst-rounded-2xl yst-shadow-2xl yst-pb-10 yst-left-1/2 yst-top-1/2 yst-transform yst--translate-x-1/2 yst--translate-y-1/2",children:(0,ht.jsx)("div",{className:"yst-p-0 yst-rounded-3xl yst-introduction-modal-panel ",children:(0,ht.jsx)(sn,{})})}),(0,ht.jsx)("div",{className:"yst-max-w-5xl yst-p-8 yst-opacity-50",children:(0,ht.jsxs)(wt,{title:(0,ee.__)("Plain redirects","wordpress-seo"),description:(0,ee.__)("Plain redirects automatically send visitors from one URL to another. Use them to fix broken links and improve your site's user experience.","wordpress-seo"),variant:"xl",children:[(0,ht.jsxs)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8",children:[(0,ht.jsxs)("div",{children:[(0,ht.jsx)(s.SelectField,{name:"type",id:"yst-input-type-redirect",label:(0,ee.__)("Redirect Type","wordpress-seo"),className:"yst-max-w-sm",options:[{value:301,label:(0,ee.__)("301 Moved Permanently","wordpress-seo")}],disabled:!0,value:!1,onChange:i.noop}),(0,ht.jsx)("div",{className:"yst-text-field__description",children:r})]}),(0,ht.jsx)(s.TextField,{type:"text",name:"origin",id:"yst-input-origin-redirect",label:(0,ee.__)("Old URL","wordpress-seo"),disabled:!0,onChange:i.noop}),(0,ht.jsx)(s.TextField,{type:"text",name:"target",id:"yst-input-target-redirect",label:(0,ee.__)("New URL","wordpress-seo"),disabled:!0,onChange:i.noop})]}),(0,ht.jsx)(s.Button,{id:"yst-button-submit-redirect",type:"submit",disabled:!0,className:"yst-bg-gray-400",children:(0,ee.__)("Add redirect","wordpress-seo")})]})}),(0,ht.jsxs)("div",{className:"yst-max-w-5xl yst-px-8 yst-pb-8 yst-opacity-50",children:[(0,ht.jsx)("hr",{className:"yst-mb-8"}),(0,ht.jsxs)(ht.Fragment,{children:[(0,ht.jsx)("div",{className:"yst-flex yst-justify-start yst-items-end yst-flex-row yst-w-full yst-gap-6",children:(0,ht.jsx)("div",{className:"yst-flex yst-items-end xl:yst-max-w-[256px] yst-w-full",children:(0,ht.jsx)(s.Select,{id:"yst-filter-redirect-type-redirect",name:"filterRedirectType",options:[{value:"",label:(0,ee.__)("All","wordpress-seo")}],className:"yst-w-full",label:(0,ee.__)("Filter Redirect type","wordpress-seo"),disabled:!0,value:!1,onChange:i.noop})})}),(0,ht.jsxs)(s.Table,{className:"yst-mt-4 yst-table-fixed",variant:"minimal",children:[(0,ht.jsx)(s.Table.Head,{children:(0,ht.jsxs)(s.Table.Row,{children:[(0,ht.jsx)(s.Table.Header,{className:"yst-w-4",children:(0,ht.jsx)(s.Checkbox,{id:"yst-select-all-redirects",name:"selectAllRedirects","aria-label":(0,ee.__)("Select all","wordpress-seo"),disabled:!0,value:"dummy-value"})}),(0,ht.jsx)(s.Table.Header,{className:"yst-w-32",children:(0,ht.jsxs)("div",{className:"yst-flex yst-flex-wrap yst-break-all yst-gap-3",children:[(0,ee.__)("Type","wordpress-seo"),(0,ht.jsx)(an,{className:"yst-w-4 yst-h-4 yst-text-slate-400"})]})}),(0,ht.jsx)(s.Table.Header,{children:(0,ee.__)("Old URL","wordpress-seo")}),(0,ht.jsx)(s.Table.Header,{children:(0,ee.__)("New URL","wordpress-seo")})]})}),(0,ht.jsx)(s.Table.Body,{children:(0,ht.jsxs)(s.Table.Row,{children:[(0,ht.jsx)(s.Table.Cell,{children:(0,ht.jsx)(ht.Fragment,{})}),(0,ht.jsx)(s.Table.Cell,{children:(0,ht.jsx)(ht.Fragment,{})}),(0,ht.jsx)(s.Table.Cell,{className:"yst-text-center",children:(0,ee.__)("No items found","wordpress-seo")}),(0,ht.jsx)(s.Table.Cell,{children:(0,ht.jsx)(ht.Fragment,{})})]})})]})]})]})]})},ln=()=>{const{pathname:e}=ze();return(0,ht.jsx)(tn,{appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",children:(0,ht.jsxs)(lt,{children:[(0,ht.jsx)(it,{path:"/",element:(0,ht.jsx)(qt,{children:(0,ht.jsx)(on,{})}),errorElement:(0,ht.jsx)($t,{})}),(0,ht.jsx)(it,{path:"*",element:(0,ht.jsx)(at,{to:"",replace:!0})})]})},e)},cn=()=>{const{pathname:e}=ze();return(0,ht.jsx)(ht.Fragment,{children:(0,ht.jsxs)(s.SidebarNavigation,{activePath:e,children:[(0,ht.jsx)(s.SidebarNavigation.Mobile,{openButtonId:"yst-button-open-redirects-navigation-mobile",closeButtonId:"yst-button-close-redirects-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,ee.__)("Open redirects navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,ee.__)("Close redirects navigation","wordpress-seo"),"aria-label":(0,ee.__)("Redirects navigation","wordpress-seo"),children:(0,ht.jsx)(cr,{idSuffix:"-mobile"})}),(0,ht.jsxs)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4",children:[(0,ht.jsx)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56",children:(0,ht.jsx)(s.SidebarNavigation.Sidebar,{children:(0,ht.jsx)(cr,{})})}),(0,ht.jsx)("div",{className:"yst-paper yst-grow yst-max-w-page",children:(0,ht.jsx)("div",{className:"yst-space-y-6 yst-mb-8 xl:yst-mb-0",children:(0,ht.jsx)("main",{children:(0,ht.jsx)(ln,{})})})})]})]})})},un=window.wp.components,dn=()=>{const e=document.createElement("div"),t=e.attachShadow({mode:"open"});return document.body.appendChild(e),(0,ht.jsx)(X.StyleSheetManager,{target:t,children:(0,ht.jsx)(un.SlotFillProvider,{children:(0,ht.jsx)(Rt,{children:(0,ht.jsx)(cn,{})})})})};t()((()=>{const e=document.getElementById("yoast-seo-redirects");if(!e)return;(({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(o,{actions:{...K,...x,...C,...$},selectors:{...V,...w,...G,...q,..._},initialState:(0,i.merge)({},{[E]:S()},e),reducer:(0,a.combineReducers)({[Z]:Q,[v]:b,[D]:J,[E]:P,[U]:H}),controls:{...I}}))({initialState:e}))})({initialState:{[v]:(0,i.get)(window,"wpseoScriptData.linkParams",{}),[Z]:(0,i.get)(window,"wpseoScriptData.preferences",{}),[E]:(0,i.get)(window,"wpseoScriptData.pluginUrl",""),[U]:{value:"1"===(0,i.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)}}});const t=(0,a.select)(o).selectPreference("isRtl",!1);(0,n.render)((0,ht.jsx)(s.Root,{context:{isRtl:t},children:(0,ht.jsx)(dn,{})}),e)}))})()})(); dist/wincher-dashboard-widget.js 0000644 00000046244 15174677550 0012745 0 ustar 00 (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var r in s)e.o(s,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:s[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,s=window.lodash,r=window.wp.i18n,n=window.yoast.styledComponents;var o=e.n(n);const i=window.yoast.propTypes;var a=e.n(i);const c=window.yoast.helpers,l=window.yoast.componentsNew,d=(e,s)=>{try{return(0,t.createInterpolateElement)(e,s)}catch(t){return console.error("Error in translation for:",e,t),e}},p=window.ReactJSXRuntime,h=({className:e=""})=>(0,p.jsx)(l.Alert,{type:"warning",className:e,children:(0,r.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,r.__)('Your %s account does not contain any keyphrases for this website yet. You can track keyphrases by using the "Track SEO Performance" button in the post editor.',"wordpress-seo"),"Wincher")});h.propTypes={className:a().string};const u=h,w=({onReconnect:e,className:t=""})=>{const s=(0,r.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ (0,r.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"<reconnectToWincher/>","Wincher");return(0,p.jsx)(l.Alert,{type:"error",className:t,children:d(s,{reconnectToWincher:(0,p.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),e()},children:(0,r.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,r.__)("reconnect to %s","wordpress-seo"),"Wincher")})})})};w.propTypes={onReconnect:a().func.isRequired,className:a().string};const b=w,m=window.yoast.styleGuide,g=window.wp.apiFetch;var y=e.n(g);async function f(e){try{return await y()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}const x=o().p` color: ${m.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; `,k=o()(l.SvgIcon)` margin-right: 5px; vertical-align: middle; `,j=o().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; `,_=o().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; `,T=o().div` position: relative; background: ${e=>e.isTitleShortened?"#f5f7f7":"transparent"}; border: 1px solid #c7c7c7; border-left: 4px solid${m.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; `,v=({limit:e,usage:t,isTitleShortened:s=!1,isFreeAccount:n=!1})=>{const o=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),t,e),i=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),a=n?o:i,c=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?c:a;return(0,p.jsxs)(x,{children:[s&&(0,p.jsx)(k,{icon:"exclamation-triangle",color:m.colors.$color_pink_dark,size:"14px"}),l]})};v.propTypes={limit:a().number.isRequired,usage:a().number.isRequired,isTitleShortened:a().bool,isFreeAccount:a().bool};const C=(0,c.makeOutboundLink)(),R=({discount:e,months:t})=>{const s=(0,p.jsx)(C,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600},children:(0,r.sprintf)(/* Translators: %s : Expands to "Wincher". */ (0,r.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher")});if(!e||!t)return(0,p.jsx)(_,{children:s});const n=100*e,o=(0,r.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ (0,r.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"<wincherAccountUpgradeLink/>",n+"%",t);return(0,p.jsx)(_,{children:d(o,{wincherAccountUpgradeLink:s})})};R.propTypes={discount:a().number,months:a().number};const q=({onClose:e=null,isTitleShortened:s=!1,trackingInfo:n=null})=>{const o=(()=>{const[e,s]=(0,t.useState)(null);return(0,t.useEffect)((()=>{e||async function(){return await f({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>s(e)))}),[e]),e})();if(null===n)return null;const{limit:i,usage:a}=n;if(!(i&&a/i>=.8))return null;const c=Boolean(null==o?void 0:o.discount);return(0,p.jsxs)(T,{isTitleShortened:s,children:[e&&(0,p.jsx)(j,{type:"button","aria-label":(0,r.__)("Close the upgrade callout","wordpress-seo"),onClick:e,children:(0,p.jsx)(l.SvgIcon,{icon:"times-circle",color:m.colors.$color_pink_dark,size:"14px"})}),(0,p.jsx)(v,{...n,isTitleShortened:s,isFreeAccount:c}),(0,p.jsx)(R,{discount:null==o?void 0:o.discount,months:null==o?void 0:o.months})]})};q.propTypes={onClose:a().func,isTitleShortened:a().bool,trackingInfo:a().object};const D=q;window.moment;const N=({data:e,mapChartDataToTableData:t=null,dataTableCaption:s,dataTableHeaderLabels:n,isDataTableVisuallyHidden:o=!0})=>e.length!==n.length?(0,p.jsx)("p",{children:(0,r.__)("The number of headers and header labels don't match.","wordpress-seo")}):(0,p.jsx)("div",{className:o?"screen-reader-text":null,children:(0,p.jsxs)("table",{children:[(0,p.jsx)("caption",{children:s}),(0,p.jsx)("thead",{children:(0,p.jsx)("tr",{children:n.map(((e,t)=>(0,p.jsx)("th",{children:e},t)))})}),(0,p.jsx)("tbody",{children:(0,p.jsx)("tr",{children:e.map(((e,s)=>(0,p.jsx)("td",{children:t(e.y)},s)))})})]})});N.propTypes={data:a().arrayOf(a().shape({x:a().number,y:a().number})).isRequired,mapChartDataToTableData:a().func,dataTableCaption:a().string.isRequired,dataTableHeaderLabels:a().array.isRequired,isDataTableVisuallyHidden:a().bool};const S=N,I=({data:e,width:s,height:r,fillColor:n=null,strokeColor:o="#000000",strokeWidth:i=1,className:a="",mapChartDataToTableData:c=null,dataTableCaption:l,dataTableHeaderLabels:d,isDataTableVisuallyHidden:h=!0})=>{const u=Math.max(1,Math.max(...e.map((e=>e.x)))),w=Math.max(1,Math.max(...e.map((e=>e.y)))),b=r-i,m=e.map((e=>`${e.x/u*s},${b-e.y/w*b+i}`)).join(" "),g=`0,${b+i} `+m+` ${s},${b+i}`;return(0,p.jsxs)(t.Fragment,{children:[(0,p.jsxs)("svg",{width:s,height:r,viewBox:`0 0 ${s} ${r}`,className:a,role:"img","aria-hidden":"true",focusable:"false",children:[(0,p.jsx)("polygon",{fill:n,points:g}),(0,p.jsx)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:m})]}),c&&(0,p.jsx)(S,{data:e,mapChartDataToTableData:c,dataTableCaption:l,dataTableHeaderLabels:d,isDataTableVisuallyHidden:h})]})};I.propTypes={data:a().arrayOf(a().shape({x:a().number,y:a().number})).isRequired,width:a().number.isRequired,height:a().number.isRequired,fillColor:a().string,strokeColor:a().string,strokeWidth:a().number,className:a().string,mapChartDataToTableData:a().func,dataTableCaption:a().string.isRequired,dataTableHeaderLabels:a().array.isRequired,isDataTableVisuallyHidden:a().bool};const L=I;o()(l.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; `,o().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; `;function E(e){return Math.round(100*e)}function A({chartData:e={}}){if((0,s.isEmpty)(e)||(0,s.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,r.sprintf)((0,r._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),n=e.position.history.map(((e,t)=>({x:t,y:31-e.value})));return(0,p.jsx)(L,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:E,dataTableCaption:(0,r.__)("Keyphrase position in the last 90 days on a scale from 0 to 30.","wordpress-seo"),dataTableHeaderLabels:t})}function W(e){return!e||!e.position||e.position.value>30?"> 30":e.position.value}o().td` padding-right: 0 !important; & > div { margin: 0px; } `,o().td` padding-left: 2px !important; `,o().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } `,o().div` display: flex; align-items: center; & > a { box-sizing: border-box; } `,o().button` background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; display: flex; align-items: center; `,o().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; `,A.propTypes={chartData:a().object};a().object,a().object,a().string.isRequired,a().func,a().func,a().bool,a().bool,a().bool,a().string,a().bool.isRequired,a().func.isRequired;const $=(0,c.makeOutboundLink)(),P=(0,c.makeOutboundLink)(),H=(0,c.makeOutboundLink)(),F=(0,c.makeOutboundLink)(),B=o().div` & .wincher-performance-report-alert { margin-bottom: 1em; } `,O=o().table` pointer-events: none; user-select: none; `,G=o().div` position: relative; width: 100%; overflow-y: auto; `,Y=o().div` margin: 0; -webkit-filter: blur(4px); -moz-filter: blur(4px); -o-filter: blur(4px); -ms-filter: blur(4px); filter: blur(4px); `,z=o().p` top: 47%; left: 50%; position: absolute; `,M=({websiteId:e,id:t})=>`https://app.wincher.com/websites/${e}/keywords?serp=${t}&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast`,V=({isLoggedIn:e,onConnectAction:t})=>e?null:(0,p.jsx)(z,{children:(0,p.jsx)(l.NewButton,{onClick:t,variant:"primary",style:{left:"-50%",backgroundColor:"#2371b0"},children:(0,r.sprintf)(/* translators: %s expands to Wincher */ (0,r.__)("Connect with %s","wordpress-seo"),"Wincher")})});V.propTypes={isLoggedIn:a().bool.isRequired,onConnectAction:a().func.isRequired};const K=({isBlurred:e,children:t})=>e?(0,p.jsx)("td",{children:(0,p.jsx)(Y,{children:t})}):(0,p.jsx)("td",{children:t});K.propTypes={isBlurred:a().bool.isRequired,children:a().oneOfType([a().string,a().number,a().object]).isRequired};const U=({keyphrase:e,websiteId:t,isBlurred:s})=>(0,p.jsxs)("tr",{children:[(0,p.jsx)(K,{isBlurred:s,children:e.keyword}),(0,p.jsx)(K,{isBlurred:s,children:W(e)}),(0,p.jsx)(K,{isBlurred:s,className:"yoast-table--nopadding",children:(0,p.jsx)(A,{chartData:e})}),(0,p.jsx)(K,{isBlurred:s,className:"yoast-table--nobreak",children:(0,p.jsx)($,{href:M({websiteId:t,id:e.id}),children:(0,r.__)("View","wordpress-seo")})})]});U.propTypes={keyphrase:a().object.isRequired,websiteId:a().string.isRequired,isBlurred:a().bool.isRequired};const X=()=>(0,p.jsx)(l.Alert,{type:"error",className:"wincher-performance-report-alert",children:(0,r.__)("Network Error: Unable to connect to the server. Please check your internet connection and try again later.","wordpress-seo")}),J=({data:e})=>!(0,s.isEmpty)(e)&&(0,s.isEmpty)(e.results)?(0,p.jsx)(l.Alert,{type:"success",className:"wincher-performance-report-alert",children:(0,r.sprintf)(/* translators: %1$s and %2$s: Expands to "Wincher". */ (0,r.__)('You have successfully connected with %1$s. Your %2$s account does not contain any keyphrases for this website yet. You can track keyphrases by using the "Track SEO Performance" button in the post editor.',"wordpress-seo"),"Wincher","Wincher")}):(0,p.jsx)(l.Alert,{type:"success",className:"wincher-performance-report-alert",children:(0,r.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,r.__)("You have successfully connected with %s.","wordpress-seo"),"Wincher")});J.propTypes={data:a().object.isRequired};const Q=({data:e,onConnectAction:t,isConnectSuccess:s,isNetworkError:r,isFailedRequest:n})=>r?(0,p.jsx)(X,{}):s?(0,p.jsx)(J,{data:e}):n?(0,p.jsx)(b,{onReconnect:t,className:"wincher-performance-report-alert"}):null;Q.propTypes={data:a().object.isRequired,onConnectAction:a().func.isRequired,isConnectSuccess:a().bool.isRequired,isNetworkError:a().bool.isRequired,isFailedRequest:a().bool.isRequired};const Z=({data:e,onConnectAction:t,isNetworkError:r,isConnectSuccess:n})=>{const o=(e=>e&&[401,403,404].includes(e.status))(e);return r||n||o?(0,p.jsx)(Q,{data:e,onConnectAction:t,isConnectSuccess:n,isNetworkError:r,isFailedRequest:o}):!e||(0,s.isEmpty)(e.results)?(0,p.jsx)(u,{className:"wincher-performance-report-alert"}):null};Z.propTypes={data:a().object.isRequired,onConnectAction:a().func.isRequired,isConnectSuccess:a().bool.isRequired,isNetworkError:a().bool.isRequired};const ee=({isLoggedIn:e})=>{const t=(0,r.sprintf)(/* translators: %s expands to a link to Wincher login */ (0,r.__)("This overview only shows you keyphrases added to Yoast SEO. There may be other keyphrases added to your %s.","wordpress-seo"),"<wincherAccountLink/>"),s=(0,r.sprintf)(/* translators: %s expands to a link to Wincher login */ (0,r.__)("This overview will show you your top performing keyphrases in Google. Connect with %s to get started.","wordpress-seo"),"<wincherLink/>"),n=e?t:s;return(0,p.jsx)("p",{children:d(n,{wincherAccountLink:(0,p.jsx)(H,{href:wpseoAdminGlobalL10n["links.wincher.login"],children:(0,r.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,r.__)("%s account","wordpress-seo"),"Wincher")}),wincherLink:(0,p.jsx)(F,{href:wpseoAdminGlobalL10n["links.wincher.about"],children:"Wincher"})})})};ee.propTypes={isLoggedIn:a().bool.isRequired};const te=({isBlurred:e,children:t})=>e?(0,p.jsx)(O,{className:"yoast yoast-table",children:t}):(0,p.jsx)("table",{className:"yoast yoast-table",children:t});te.propTypes={isBlurred:a().bool.isRequired,children:a().node.isRequired};const se=({className:e="wincher-seo-performance",data:n,websiteId:o,isLoggedIn:i,isConnectSuccess:a,isNetworkError:c,onConnectAction:l})=>{const d=!i,h=(e=>e&&!(0,s.isEmpty)(e)&&!(0,s.isEmpty)(e.results))(n),u=(e=>{const[s,r]=(0,t.useState)(null);return(0,t.useEffect)((()=>{e&&!s&&async function(){return await f({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>r(e)))}),[s]),s})(i);return(0,p.jsxs)(B,{className:e,children:[i&&(0,p.jsx)(D,{isTitleShortened:!0,trackingInfo:u}),(0,p.jsx)(Z,{data:n,onConnectAction:l,isNetworkError:c,isConnectSuccess:a&&i}),h&&(0,p.jsxs)(t.Fragment,{children:[(0,p.jsx)(ee,{isLoggedIn:i}),(0,p.jsxs)(G,{children:[(0,p.jsxs)(te,{isBlurred:d,children:[(0,p.jsx)("thead",{children:(0,p.jsxs)("tr",{children:[(0,p.jsx)("th",{scope:"col",abbr:(0,r.__)("Keyphrase","wordpress-seo"),children:(0,r.__)("Keyphrase","wordpress-seo")}),(0,p.jsx)("th",{scope:"col",abbr:(0,r.__)("Position","wordpress-seo"),children:(0,r.__)("Position","wordpress-seo")}),(0,p.jsx)("th",{scope:"col",abbr:(0,r.__)("Position over time","wordpress-seo"),children:(0,r.__)("Position over time","wordpress-seo")}),(0,p.jsx)("td",{className:"yoast-table--nobreak"})]})}),(0,p.jsx)("tbody",{children:(0,s.map)(n.results,((e,t)=>(0,p.jsx)(U,{keyphrase:e,websiteId:o,isBlurred:d},`keyphrase-${t}`)))})]}),(0,p.jsx)(V,{isLoggedIn:i,onConnectAction:l})]}),(0,p.jsx)("p",{style:{marginBottom:0,position:"relative"},children:(0,p.jsx)(P,{href:wpseoAdminGlobalL10n["links.wincher.login"],children:(0,r.sprintf)(/* translators: %s expands to Wincher */ (0,r.__)("Get more insights over at %s","wordpress-seo"),"Wincher")})})]})]})};se.propTypes={className:a().string,data:a().object.isRequired,websiteId:a().string.isRequired,isLoggedIn:a().bool.isRequired,isConnectSuccess:a().bool.isRequired,isNetworkError:a().bool.isRequired,onConnectAction:a().func.isRequired};const re=se;class ne{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,r=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,r.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:r}=e;r===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}class oe extends t.Component{constructor(){super(),this.state={wincherData:{},wincherWebsiteId:wpseoWincherDashboardWidgetL10n.wincher_website_id,wincherIsLoggedIn:"1"===wpseoWincherDashboardWidgetL10n.wincher_is_logged_in,isDataFetched:!1,isConnectSuccess:!1,isNetworkError:!1},this.onConnect=this.onConnect.bind(this),this.getWincherData=this.getWincherData.bind(this),this.performAuthenticationRequest=this.performAuthenticationRequest.bind(this),this.onConnectSuccess=this.onConnectSuccess.bind(this),this.onNetworkDisconnectionError=this.onNetworkDisconnectionError.bind(this)}componentDidMount(){const e=jQuery("#wpseo-wincher-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",(()=>{this.fetchData()}))}fetchData(){this.state.isDataFetched||(this.state.wincherIsLoggedIn&&this.getWincherData(),this.setState({isDataFetched:!0}))}async getWincherData(){const e=await async function(e=null,t=null,s=null,r){return await f({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:r})}();if(200===e.status){const t=(0,s.filter)(e.results,(e=>!(0,s.isEmpty)(e.position))),r=(0,s.sortBy)(t,(e=>e.position.value)).splice(0,5);this.setState({wincherData:{results:r,status:e.status}})}else this.setState({wincherData:{results:[],status:e.status}})}async performAuthenticationRequest(e){if(200!==(await async function(e){const{code:t,websiteId:s}=e;return await f({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(e)).status)return;this.setState({wincherIsLoggedIn:!0,wincherWebsiteId:e.websiteId.toString()}),await this.getWincherData();const t=this.loginPopup.getPopup();t&&t.close()}async onConnectSuccess(e){this.setState({isConnectSuccess:!0,isNetworkError:!1}),await this.performAuthenticationRequest(e)}async onNetworkDisconnectionError(){this.setState({isConnectSuccess:!1,isNetworkError:!0})}async onConnect(){if(this.loginPopup&&!this.loginPopup.isClosed())return void this.loginPopup.focus();const{url:e}=await async function(){return await f({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();e&&void 0!==e?(this.loginPopup=new ne(e,{success:{type:"wincher:oauth:success",callback:e=>this.onConnectSuccess(e)},error:{type:"wincher:oauth:error",callback:()=>{}}},{title:"Wincher_login",width:500,height:700}),this.loginPopup.createPopup()):this.onNetworkDisconnectionError()}render(){return(0,p.jsx)(re,{data:this.state.wincherData,websiteId:this.state.wincherWebsiteId,isLoggedIn:this.state.wincherIsLoggedIn,isConnectSuccess:this.state.isConnectSuccess,isNetworkError:this.state.isNetworkError,onConnectAction:this.onConnect},"wincher-performance-report")}}const ie=document.getElementById("yoast-seo-wincher-dashboard-widget");ie&&(0,t.createRoot)(ie).render((0,p.jsx)(oe,{}))})(); dist/general-page.js 0000644 00001225720 15174677550 0010426 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var a=typeof s;if("string"===a||"number"===a)e.push(s);else if(Array.isArray(s)){if(s.length){var o=n.apply(null,s);o&&e.push(o)}}else if("object"===a){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var i in s)r.call(s,i)&&s[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},8133:(e,t,s)=>{"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},a=function(){function e(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,s,r){return s&&e(t.prototype,s),r&&e(t,r),t}}(),o=c(s(9196)),i=c(s(5890)),l=c(s(4306));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var u={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"},p=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function m(e){for(var t=arguments.length,s=Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];if(!s.length)return e;for(var n={},a=Object.keys(e),o=0;o<a.length;o++){var i=a[o];-1===s.indexOf(i)&&(n[i]=e[i])}return n}function h(e){e.forEach((function(e){return cancelAnimationFrame(e)}))}function f(e){return!isNaN(parseFloat(e))&&isFinite(e)}function y(e){return"string"==typeof e&&e.search("%")===e.length-1&&f(e.substr(0,e.length-1))}function g(e,t){e&&"function"==typeof e&&e(t)}var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));s.animationFrameIDs=[];var r="auto",a="visible";f(e.height)?(r=e.height<0||"0"===e.height?0:e.height,a="hidden"):y(e.height)&&(r="0%"===e.height?0:e.height,a="hidden"),s.animationStateClasses=n({},u,e.animationStateClasses);var o=s.getStaticStateClasses(r);return s.state={animationStateClasses:o,height:r,overflow:a,shouldUseTransitions:!1},s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var s,r,n=this,a=this.props,o=a.delay,i=a.duration,c=a.height,u=a.onAnimationEnd,p=a.onAnimationStart;if(this.contentElement&&c!==e.height){var m;this.showContent(t.height),this.contentElement.style.overflow="hidden";var v=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var b=i+o,x=null,w={height:null,overflow:"hidden"},S="auto"===t.height;f(c)?(x=c<0||"0"===c?0:c,w.height=x):y(c)?(x="0%"===c?0:c,w.height=x):(x=v,w.height="auto",w.overflow=null),S&&(w.height=x,x=v);var _=(0,l.default)((d(m={},this.animationStateClasses.animating,!0),d(m,this.animationStateClasses.animatingUp,"auto"===e.height||c<e.height),d(m,this.animationStateClasses.animatingDown,"auto"===c||c>e.height),d(m,this.animationStateClasses.animatingToHeightZero,0===w.height),d(m,this.animationStateClasses.animatingToHeightAuto,"auto"===w.height),d(m,this.animationStateClasses.animatingToHeightSpecific,w.height>0),m)),E=this.getStaticStateClasses(w.height);this.setState({animationStateClasses:_,height:x,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(w.shouldUseTransitions=!0,h(this.animationFrameIDs),this.animationFrameIDs=(s=function(){n.setState(w),g(p,{newHeight:w.height})},(r=[])[0]=requestAnimationFrame((function(){r[1]=requestAnimationFrame((function(){s()}))})),r),this.animationClassesTimeoutID=setTimeout((function(){n.setState({animationStateClasses:E,shouldUseTransitions:!1}),n.hideContent(w.height),g(u,{newHeight:w.height})}),b)):(g(p,{newHeight:x}),this.timeoutID=setTimeout((function(){w.animationStateClasses=E,w.shouldUseTransitions=!1,n.setState(w),"auto"!==c&&n.hideContent(x),g(u,{newHeight:x})}),b))}}},{key:"componentWillUnmount",value:function(){h(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((d(t={},this.animationStateClasses.static,!0),d(t,this.animationStateClasses.staticHeightZero,0===e),d(t,this.animationStateClasses.staticHeightSpecific,e>0),d(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,s=this.props,r=s.animateOpacity,a=s.applyInlineTransitions,i=s.children,c=s.className,u=s.contentClassName,h=s.delay,f=s.duration,y=s.easing,g=s.id,v=s.style,b=this.state,x=b.height,w=b.overflow,S=b.animationStateClasses,_=b.shouldUseTransitions,E=n({},v,{height:x,overflow:w||v.overflow});_&&a&&(E.transition="height "+f+"ms "+y+" "+h+"ms",v.transition&&(E.transition=v.transition+", "+E.transition),E.WebkitTransition=E.transition);var j={};r&&(j.transition="opacity "+f+"ms "+y+" "+h+"ms",j.WebkitTransition=j.transition,0===x&&(j.opacity=0));var k=(0,l.default)((d(e={},S,!0),d(e,c,c),e)),C=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===x;return o.default.createElement("div",n({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":C,className:k,id:g,style:E}),o.default.createElement("div",{className:u,style:j,ref:function(e){return t.contentElement=e}},i))}}]),t}(o.default.Component);v.propTypes={"aria-hidden":i.default.bool,animateOpacity:i.default.bool,animationStateClasses:i.default.object,applyInlineTransitions:i.default.bool,children:i.default.any.isRequired,className:i.default.string,contentClassName:i.default.string,delay:i.default.number,duration:i.default.number,easing:i.default.string,height:function(e,t,s){var n=e[t];return"number"==typeof n&&n>=0||y(n)||"auto"===n?null:new TypeError('value "'+n+'" of type "'+(void 0===n?"undefined":r(n))+'" is invalid type for '+t+" in "+s+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:i.default.string,onAnimationEnd:i.default.func,onAnimationStart:i.default.func,style:i.default.object},v.defaultProps={animateOpacity:!1,animationStateClasses:u,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.Z=v},4306:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var a=typeof s;if("string"===a||"number"===a)e.push(s);else if(Array.isArray(s)&&s.length){var o=n.apply(null,s);o&&e.push(o)}else if("object"===a)for(var i in s)r.call(s,i)&&s[i]&&e.push(i)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},591:e=>{for(var t=[],s=0;s<256;++s)t[s]=(s+256).toString(16).substr(1);e.exports=function(e,s){var r=s||0,n=t;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}},9176:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var s=new Uint8Array(16);e.exports=function(){return t(s),s}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},3409:(e,t,s)=>{var r=s(9176),n=s(591);e.exports=function(e,t,s){var a=t&&s||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[a+i]=o[i];return t||n(o)}},9196:e=>{"use strict";e.exports=window.React},5890:e=>{"use strict";e.exports=window.yoast.propTypes}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>hp});const t=window.wp.components,r=window.wp.data,n=window.wp.domReady;var a=s.n(n);const o=window.wp.element,i=window.yoast.dashboardFrontend,l=window.yoast.uiLibrary,c=window.lodash;var d=s(9196),u=s.n(d);const p=window.ReactDOM;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},m.apply(this,arguments)}var h;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(h||(h={}));const f="popstate";function y(e,t){if(!1===e||null==e)throw new Error(t)}function g(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function v(e,t){return{usr:e.state,key:e.key,idx:t}}function b(e,t,s,r){return void 0===s&&(s=null),m({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?w(t):t,{state:s,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function x(e){let{pathname:t="/",search:s="",hash:r=""}=e;return s&&"?"!==s&&(t+="?"===s.charAt(0)?s:"?"+s),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function w(e){let t={};if(e){let s=e.indexOf("#");s>=0&&(t.hash=e.substr(s),e=e.substr(0,s));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function S(e,t,s,r){void 0===r&&(r={});let{window:n=document.defaultView,v5Compat:a=!1}=r,o=n.history,i=h.Pop,l=null,c=d();function d(){return(o.state||{idx:null}).idx}function u(){i=h.Pop;let e=d(),t=null==e?null:e-c;c=e,l&&l({action:i,location:g.location,delta:t})}function p(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,s="string"==typeof e?e:x(e);return s=s.replace(/ $/,"%20"),y(t,"No window.location.(origin|href) available to create URL for href: "+s),new URL(s,t)}null==c&&(c=0,o.replaceState(m({},o.state,{idx:c}),""));let g={get action(){return i},get location(){return e(n,o)},listen(e){if(l)throw new Error("A history only accepts one active listener");return n.addEventListener(f,u),l=e,()=>{n.removeEventListener(f,u),l=null}},createHref:e=>t(n,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){i=h.Push;let r=b(g.location,e,t);s&&s(r,e),c=d()+1;let u=v(r,c),p=g.createHref(r);try{o.pushState(u,"",p)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;n.location.assign(p)}a&&l&&l({action:i,location:g.location,delta:1})},replace:function(e,t){i=h.Replace;let r=b(g.location,e,t);s&&s(r,e),c=d();let n=v(r,c),u=g.createHref(r);o.replaceState(n,"",u),a&&l&&l({action:i,location:g.location,delta:0})},go:e=>o.go(e)};return g}var _;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(_||(_={}));const E=new Set(["lazy","caseSensitive","path","id","index","children"]);function j(e,t,s,r){return void 0===s&&(s=[]),void 0===r&&(r={}),e.map(((e,n)=>{let a=[...s,String(n)],o="string"==typeof e.id?e.id:a.join("-");if(y(!0!==e.index||!e.children,"Cannot specify children on an index route"),y(!r[o],'Found a route id collision on id "'+o+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let s=m({},e,t(e),{id:o});return r[o]=s,s}{let s=m({},e,t(e),{id:o,children:void 0});return r[o]=s,e.children&&(s.children=j(e.children,t,a,r)),s}}))}function k(e,t,s){return void 0===s&&(s="/"),C(e,t,s,!1)}function C(e,t,s,r){let n=B(("string"==typeof t?w(t):t).pathname||"/",s);if(null==n)return null;let a=R(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let s=e.length===t.length&&e.slice(0,-1).every(((e,s)=>e===t[s]));return s?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e<a.length;++e){let t=U(n);o=F(a[e],t,r)}return o}function R(e,t,s,r){void 0===t&&(t=[]),void 0===s&&(s=[]),void 0===r&&(r="");let n=(e,n,a)=>{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};o.relativePath.startsWith("/")&&(y(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let i=V([r,o.relativePath]),l=s.concat(o);e.children&&e.children.length>0&&(y(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),R(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:D(i,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var s;if(""!==e.path&&null!=(s=e.path)&&s.includes("?"))for(let s of N(e.path))n(e,t,s);else n(e,t)})),t}function N(e){let t=e.split("/");if(0===t.length)return[];let[s,...r]=t,n=s.endsWith("?"),a=s.replace(/\?$/,"");if(0===r.length)return n?[a,""]:[a];let o=N(r.join("/")),i=[];return i.push(...o.map((e=>""===e?a:[a,e].join("/")))),n&&i.push(...o),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const O=/^:[\w-]+$/,P=3,T=2,L=1,M=10,I=-2,A=e=>"*"===e;function D(e,t){let s=e.split("/"),r=s.length;return s.some(A)&&(r+=I),t&&(r+=T),s.filter((e=>!A(e))).reduce(((e,t)=>e+(O.test(t)?P:""===t?L:M)),r)}function F(e,t,s){void 0===s&&(s=!1);let{routesMeta:r}=e,n={},a="/",o=[];for(let e=0;e<r.length;++e){let i=r[e],l=e===r.length-1,c="/"===a?t:t.slice(a.length)||"/",d=z({path:i.relativePath,caseSensitive:i.caseSensitive,end:l},c),u=i.route;if(!d&&l&&s&&!r[r.length-1].route.index&&(d=z({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!d)return null;Object.assign(n,d.params),o.push({params:n,pathname:V([a,d.pathname]),pathnameBase:G(V([a,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(a=V([a,d.pathnameBase]))}return o}function z(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[s,r]=function(e,t,s){void 0===t&&(t=!1),void 0===s&&(s=!0),g("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,s)=>(r.push({paramName:t,isOptional:null!=s}),s?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),n=t.match(s);if(!n)return null;let a=n[0],o=a.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:r.reduce(((e,t,s)=>{let{paramName:r,isOptional:n}=t;if("*"===r){let e=i[s]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=i[s];return e[r]=n&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function U(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return g(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function B(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,r=e.charAt(s);return r&&"/"!==r?null:e.slice(s)||"/"}function q(e,t,s,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+s+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function $(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function H(e,t){let s=$(e);return t?s.map(((e,t)=>t===s.length-1?e.pathname:e.pathnameBase)):s.map((e=>e.pathnameBase))}function W(e,t,s,r){let n;void 0===r&&(r=!1),"string"==typeof e?n=w(e):(n=m({},e),y(!n.pathname||!n.pathname.includes("?"),q("?","pathname","search",n)),y(!n.pathname||!n.pathname.includes("#"),q("#","pathname","hash",n)),y(!n.search||!n.search.includes("#"),q("#","search","hash",n)));let a,o=""===e||""===n.pathname,i=o?"/":n.pathname;if(null==i)a=s;else{let e=t.length-1;if(!r&&i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:s,search:r="",hash:n=""}="string"==typeof e?w(e):e,a=s?s.startsWith("/")?s:function(e,t){let s=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?s.length>1&&s.pop():"."!==e&&s.push(e)})),s.length>1?s.join("/"):"/"}(s,t):t;return{pathname:a,search:K(r),hash:Y(n)}}(n,a),c=i&&"/"!==i&&i.endsWith("/"),d=(o||"."===i)&&s.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const V=e=>e.join("/").replace(/\/\/+/g,"/"),G=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),K=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Y=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class Z{constructor(e,t,s,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}}function J(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const Q=["post","put","patch","delete"],X=new Set(Q),ee=["get",...Q],te=new Set(ee),se=new Set([301,302,303,307,308]),re=new Set([307,308]),ne={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ae={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},oe={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ie=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,le=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ce="remix-router-transitions";function de(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,s=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,r=!s;let n;if(y(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)n=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;n=e=>({hasErrorBoundary:t(e)})}else n=le;let a,o,i,l={},c=j(e.routes,n,void 0,l),d=e.basename||"/",u=e.unstable_dataStrategy||ve,p=e.unstable_patchRoutesOnNavigation,f=m({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),v=null,x=new Set,w=1e3,S=new Set,R=null,N=null,O=null,P=null!=e.hydrationData,T=k(c,e.history.location,d),L=null;if(null==T&&!p){let t=Oe(404,{pathname:e.history.location.pathname}),{matches:s,route:r}=Ne(c);T=s,L={[r.id]:t}}if(T&&!e.hydrationData&&pt(T,c,e.history.location.pathname).active&&(T=null),T)if(T.some((e=>e.route.lazy)))o=!1;else if(T.some((e=>e.route.loader)))if(f.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,s=e.hydrationData?e.hydrationData.errors:null,r=e=>!e.route.loader||("function"!=typeof e.route.loader||!0!==e.route.loader.hydrate)&&(t&&void 0!==t[e.route.id]||s&&void 0!==s[e.route.id]);if(s){let e=T.findIndex((e=>void 0!==s[e.route.id]));o=T.slice(0,e+1).every(r)}else o=T.every(r)}else o=null!=e.hydrationData;else o=!0;else if(o=!1,T=[],f.v7_partialHydration){let t=pt(null,c,e.history.location.pathname);t.active&&t.matches&&(T=t.matches)}let M,I,A={historyAction:e.history.action,location:e.history.location,matches:T,initialized:o,navigation:ne,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||L,fetchers:new Map,blockers:new Map},D=h.Pop,F=!1,z=!1,U=new Map,q=null,$=!1,H=!1,W=[],V=new Set,G=new Map,K=0,Y=-1,Z=new Map,Q=new Set,X=new Map,ee=new Map,te=new Set,se=new Map,de=new Map,he=new Map;function fe(e,t){void 0===t&&(t={}),A=m({},A,e);let s=[],r=[];f.v7_fetcherPersist&&A.fetchers.forEach(((e,t)=>{"idle"===e.state&&(te.has(t)?r.push(t):s.push(t))})),[...x].forEach((e=>e(A,{deletedFetchers:r,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),f.v7_fetcherPersist&&(s.forEach((e=>A.fetchers.delete(e))),r.forEach((e=>Xe(e))))}function _e(t,s,r){var n,o;let i,{flushSync:l}=void 0===r?{}:r,d=null!=A.actionData&&null!=A.navigation.formMethod&&ze(A.navigation.formMethod)&&"loading"===A.navigation.state&&!0!==(null==(n=t.state)?void 0:n._isRedirect);i=s.actionData?Object.keys(s.actionData).length>0?s.actionData:null:d?A.actionData:null;let u=s.loaderData?ke(A.loaderData,s.loaderData,s.matches||[],s.errors):A.loaderData,p=A.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,oe))));let f,y=!0===F||null!=A.navigation.formMethod&&ze(A.navigation.formMethod)&&!0!==(null==(o=t.state)?void 0:o._isRedirect);if(a&&(c=a,a=void 0),$||D===h.Pop||(D===h.Push?e.history.push(t,t.state):D===h.Replace&&e.history.replace(t,t.state)),D===h.Pop){let e=U.get(A.location.pathname);e&&e.has(t.pathname)?f={currentLocation:A.location,nextLocation:t}:U.has(t.pathname)&&(f={currentLocation:t,nextLocation:A.location})}else if(z){let e=U.get(A.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),U.set(A.location.pathname,e)),f={currentLocation:A.location,nextLocation:t}}fe(m({},s,{actionData:i,loaderData:u,historyAction:D,location:t,initialized:!0,navigation:ne,revalidation:"idle",restoreScrollPosition:ut(t,s.matches||A.matches),preventScrollReset:y,blockers:p}),{viewTransitionOpts:f,flushSync:!0===l}),D=h.Pop,F=!1,z=!1,$=!1,H=!1,W=[]}async function Ee(t,s,r){M&&M.abort(),M=null,D=t,$=!0===(r&&r.startUninterruptedRevalidation),function(e,t){if(R&&O){let s=dt(e,t);R[s]=O()}}(A.location,A.matches),F=!0===(r&&r.preventScrollReset),z=!0===(r&&r.enableViewTransition);let n=a||c,o=r&&r.overrideNavigation,i=k(n,s,d),l=!0===(r&&r.flushSync),u=pt(i,n,s.pathname);if(u.active&&u.matches&&(i=u.matches),!i){let{error:e,notFoundMatches:t,route:r}=it(s.pathname);return void _e(s,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:l})}if(A.initialized&&!H&&(p=A.location,y=s,p.pathname===y.pathname&&p.search===y.search&&(""===p.hash?""!==y.hash:p.hash===y.hash||""!==y.hash))&&!(r&&r.submission&&ze(r.submission.formMethod)))return void _e(s,{matches:i},{flushSync:l});var p,y;M=new AbortController;let g,v=Se(e.history,s,M.signal,r&&r.submission);if(r&&r.pendingError)g=[Re(i).route.id,{type:_.error,error:r.pendingError}];else if(r&&r.submission&&ze(r.submission.formMethod)){let t=await async function(e,t,s,r,n,a){void 0===a&&(a={}),Ye();let o,i=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(t,s);if(fe({navigation:i},{flushSync:!0===a.flushSync}),n){let s=await mt(r,t.pathname,e.signal);if("aborted"===s.type)return{shortCircuited:!0};if("error"===s.type){let{boundaryId:e,error:r}=lt(t.pathname,s);return{matches:s.partialMatches,pendingActionResult:[e,{type:_.error,error:r}]}}if(!s.matches){let{notFoundMatches:e,error:s,route:r}=it(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:_.error,error:s}]}}r=s.matches}let l=He(r,t);if(l.route.action||l.route.lazy){if(o=(await Fe("action",A,e,[l],r,null))[l.route.id],e.signal.aborted)return{shortCircuited:!0}}else o={type:_.error,error:Oe(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(Ae(o)){let t;return t=a&&null!=a.replace?a.replace:we(o.response.headers.get("Location"),new URL(e.url),d)===A.location.pathname+A.location.search,await De(e,o,!0,{submission:s,replace:t}),{shortCircuited:!0}}if(Me(o))throw Oe(400,{type:"defer-action"});if(Ie(o)){let e=Re(r,l.route.id);return!0!==(a&&a.replace)&&(D=h.Push),{matches:r,pendingActionResult:[e.route.id,o]}}return{matches:r,pendingActionResult:[l.route.id,o]}}(v,s,r.submission,i,u.active,{replace:r.replace,flushSync:l});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(Ie(r)&&J(r.error)&&404===r.error.status)return M=null,void _e(s,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}i=t.matches||i,g=t.pendingActionResult,o=Ve(s,r.submission),l=!1,u.active=!1,v=Se(e.history,v.url,v.signal)}let{shortCircuited:b,matches:x,loaderData:w,errors:S}=await async function(t,s,r,n,o,i,l,u,p,h,y){let g=o||Ve(s,i),v=i||l||We(g),b=!($||f.v7_partialHydration&&p);if(n){if(b){let e=Te(y);fe(m({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:h})}let e=await mt(r,s.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let{boundaryId:t,error:r}=lt(s.pathname,e);return{matches:e.partialMatches,loaderData:{},errors:{[t]:r}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=it(s.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}r=e.matches}let x=a||c,[w,S]=me(e.history,A,r,v,s,f.v7_partialHydration&&!0===p,f.v7_skipActionErrorRevalidation,H,W,V,te,X,Q,x,d,y);if(ct((e=>!(r&&r.some((t=>t.route.id===e)))||w&&w.some((t=>t.route.id===e)))),Y=++K,0===w.length&&0===S.length){let e=st();return _e(s,m({matches:r,loaderData:{},errors:y&&Ie(y[1])?{[y[0]]:y[1].error}:null},Ce(y),e?{fetchers:new Map(A.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(b){let e={};if(!n){e.navigation=g;let t=Te(y);void 0!==t&&(e.actionData=t)}S.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=A.fetchers.get(e.key),s=Ge(void 0,t?t.data:void 0);A.fetchers.set(e.key,s)})),new Map(A.fetchers)}(S)),fe(e,{flushSync:h})}S.forEach((e=>{G.has(e.key)&&et(e.key),e.controller&&G.set(e.key,e.controller)}));let _=()=>S.forEach((e=>et(e.key)));M&&M.signal.addEventListener("abort",_);let{loaderResults:E,fetcherResults:j}=await $e(A,r,w,S,t);if(t.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener("abort",_),S.forEach((e=>G.delete(e.key)));let k=Pe(E);if(k)return await De(t,k.result,!0,{replace:u}),{shortCircuited:!0};if(k=Pe(j),k)return Q.add(k.key),await De(t,k.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:C,errors:R}=je(A,r,0,E,y,S,j,se);se.forEach(((e,t)=>{e.subscribe((s=>{(s||e.done)&&se.delete(t)}))})),f.v7_partialHydration&&p&&A.errors&&Object.entries(A.errors).filter((e=>{let[t]=e;return!w.some((e=>e.route.id===t))})).forEach((e=>{let[t,s]=e;R=Object.assign(R||{},{[t]:s})}));let N=st(),O=rt(Y),P=N||O||S.length>0;return m({matches:r,loaderData:C,errors:R},P?{fetchers:new Map(A.fetchers)}:{})}(v,s,i,u.active,o,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,l,g);b||(M=null,_e(s,m({matches:x||i},Ce(g),{loaderData:w,errors:S})))}function Te(e){return e&&!Ie(e[1])?{[e[0]]:e[1].data}:A.actionData?0===Object.keys(A.actionData).length?null:A.actionData:void 0}async function De(r,n,a,o){let{submission:i,fetcherSubmission:l,replace:c}=void 0===o?{}:o;n.response.headers.has("X-Remix-Revalidate")&&(H=!0);let u=n.response.headers.get("Location");y(u,"Expected a Location header on the redirect Response"),u=we(u,new URL(r.url),d);let p=b(A.location,u,{_isRedirect:!0});if(s){let s=!1;if(n.response.headers.has("X-Remix-Reload-Document"))s=!0;else if(ie.test(u)){const r=e.history.createURL(u);s=r.origin!==t.location.origin||null==B(r.pathname,d)}if(s)return void(c?t.location.replace(u):t.location.assign(u))}M=null;let f=!0===c||n.response.headers.has("X-Remix-Replace")?h.Replace:h.Push,{formMethod:g,formAction:v,formEncType:x}=A.navigation;!i&&!l&&g&&v&&x&&(i=We(A.navigation));let w=i||l;if(re.has(n.response.status)&&w&&ze(w.formMethod))await Ee(f,p,{submission:m({},w,{formAction:u}),preventScrollReset:F,enableViewTransition:a?z:void 0});else{let e=Ve(p,i);await Ee(f,p,{overrideNavigation:e,fetcherSubmission:l,preventScrollReset:F,enableViewTransition:a?z:void 0})}}async function Fe(e,t,s,r,a,o){let i,c={};try{i=await async function(e,t,s,r,n,a,o,i,l,c){let d=a.map((e=>e.route.lazy?async function(e,t,s){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let n=s[e.id];y(n,"No route found in manifest");let a={};for(let e in r){let t=void 0!==n[e]&&"hasErrorBoundary"!==e;g(!t,'Route "'+n.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||E.has(e)||(a[e]=r[e])}Object.assign(n,a),Object.assign(n,m({},t(n),{lazy:void 0}))}(e.route,l,i):void 0)),u=a.map(((e,s)=>{let a=d[s],o=n.some((t=>t.route.id===e.route.id));return m({},e,{shouldLoad:o,resolve:async s=>(s&&"GET"===r.method&&(e.route.lazy||e.route.loader)&&(o=!0),o?async function(e,t,s,r,n,a){let o,i,l=r=>{let o,l=new Promise(((e,t)=>o=t));i=()=>o(),t.signal.addEventListener("abort",i);let c=n=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+s.route.id+"]")):r({request:t,params:s.params,context:a},...void 0!==n?[n]:[]),d=(async()=>{try{return{type:"data",result:await(n?n((e=>c(e))):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([d,l])};try{let n=s.route[e];if(r)if(n){let e,[t]=await Promise.all([l(n).catch((t=>{e=t})),r]);if(void 0!==e)throw e;o=t}else{if(await r,n=s.route[e],!n){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Oe(405,{method:t.method,pathname:r,routeId:s.route.id})}return{type:_.data,result:void 0}}o=await l(n)}else{if(!n){let e=new URL(t.url);throw Oe(404,{pathname:e.pathname+e.search})}o=await l(n)}y(void 0!==o.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+s.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:_.error,result:e}}finally{i&&t.signal.removeEventListener("abort",i)}return o}(t,r,e,a,s,c):Promise.resolve({type:_.data,result:void 0}))})})),p=await e({matches:u,request:r,params:a[0].params,fetcherKey:o,context:c});try{await Promise.all(d)}catch(e){}return p}(u,e,0,s,r,a,o,l,n)}catch(e){return r.forEach((t=>{c[t.route.id]={type:_.error,error:e}})),c}for(let[e,t]of Object.entries(i))if(Le(t)){let r=t.result;c[e]={type:_.redirect,response:xe(r,s,e,a,d,f.v7_relativeSplatPath)}}else c[e]=await be(t);return c}async function $e(t,s,r,n,a){let o=t.matches,i=Fe("loader",0,a,r,s,null),l=Promise.all(n.map((async t=>{if(t.matches&&t.match&&t.controller){let s=(await Fe("loader",0,Se(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key))[t.match.route.id];return{[t.key]:s}}return Promise.resolve({[t.key]:{type:_.error,error:Oe(404,{pathname:t.path})}})}))),c=await i,d=(await l).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([Ue(s,c,a.signal,o,t.loaderData),Be(s,d,n)]),{loaderResults:c,fetcherResults:d}}function Ye(){H=!0,W.push(...ct()),X.forEach(((e,t)=>{G.has(t)&&(V.add(t),et(t))}))}function Ze(e,t,s){void 0===s&&(s={}),A.fetchers.set(e,t),fe({fetchers:new Map(A.fetchers)},{flushSync:!0===(s&&s.flushSync)})}function Je(e,t,s,r){void 0===r&&(r={});let n=Re(A.matches,t);Xe(e),fe({errors:{[n.route.id]:s},fetchers:new Map(A.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Qe(e){return f.v7_fetcherPersist&&(ee.set(e,(ee.get(e)||0)+1),te.has(e)&&te.delete(e)),A.fetchers.get(e)||ae}function Xe(e){let t=A.fetchers.get(e);!G.has(e)||t&&"loading"===t.state&&Z.has(e)||et(e),X.delete(e),Z.delete(e),Q.delete(e),te.delete(e),V.delete(e),A.fetchers.delete(e)}function et(e){let t=G.get(e);y(t,"Expected fetch controller: "+e),t.abort(),G.delete(e)}function tt(e){for(let t of e){let e=Ke(Qe(t).data);A.fetchers.set(t,e)}}function st(){let e=[],t=!1;for(let s of Q){let r=A.fetchers.get(s);y(r,"Expected fetcher: "+s),"loading"===r.state&&(Q.delete(s),e.push(s),t=!0)}return tt(e),t}function rt(e){let t=[];for(let[s,r]of Z)if(r<e){let e=A.fetchers.get(s);y(e,"Expected fetcher: "+s),"loading"===e.state&&(et(s),Z.delete(s),t.push(s))}return tt(t),t.length>0}function nt(e){A.blockers.delete(e),de.delete(e)}function at(e,t){let s=A.blockers.get(e)||oe;y("unblocked"===s.state&&"blocked"===t.state||"blocked"===s.state&&"blocked"===t.state||"blocked"===s.state&&"proceeding"===t.state||"blocked"===s.state&&"unblocked"===t.state||"proceeding"===s.state&&"unblocked"===t.state,"Invalid blocker state transition: "+s.state+" -> "+t.state);let r=new Map(A.blockers);r.set(e,t),fe({blockers:r})}function ot(e){let{currentLocation:t,nextLocation:s,historyAction:r}=e;if(0===de.size)return;de.size>1&&g(!1,"A router only supports one blocker at a time");let n=Array.from(de.entries()),[a,o]=n[n.length-1],i=A.blockers.get(a);return i&&"proceeding"===i.state?void 0:o({currentLocation:t,nextLocation:s,historyAction:r})?a:void 0}function it(e){let t=Oe(404,{pathname:e}),s=a||c,{matches:r,route:n}=Ne(s);return ct(),{notFoundMatches:r,route:n,error:t}}function lt(e,t){return{boundaryId:Re(t.partialMatches).route.id,error:Oe(400,{type:"route-discovery",pathname:e,message:null!=t.error&&"message"in t.error?t.error:String(t.error)})}}function ct(e){let t=[];return se.forEach(((s,r)=>{e&&!e(r)||(s.cancel(),t.push(r),se.delete(r))})),t}function dt(e,t){return N&&N(e,t.map((e=>function(e,t){let{route:s,pathname:r,params:n}=e;return{id:s.id,pathname:r,params:n,data:t[s.id],handle:s.handle}}(e,A.loaderData))))||e.key}function ut(e,t){if(R){let s=dt(e,t),r=R[s];if("number"==typeof r)return r}return null}function pt(e,t,s){if(p){if(S.has(s))return{active:!1,matches:e};if(!e)return{active:!0,matches:C(t,s,d,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:C(t,s,d,!0)}}return{active:!1,matches:null}}async function mt(e,t,s){let r=e;for(;;){let e=null==a,o=a||c;try{await ye(p,t,r,o,l,n,he,s)}catch(e){return{type:"error",error:e,partialMatches:r}}finally{e&&(c=[...c])}if(s.aborted)return{type:"aborted"};let i=k(o,t,d);if(i)return ht(t,S),{type:"success",matches:i};let u=C(o,t,d,!0);if(!u||r.length===u.length&&r.every(((e,t)=>e.route.id===u[t].route.id)))return ht(t,S),{type:"success",matches:null};r=u}}function ht(e,t){if(t.size>=w){let e=t.values().next().value;t.delete(e)}t.add(e)}return i={get basename(){return d},get future(){return f},get state(){return A},get routes(){return c},get window(){return t},initialize:function(){if(v=e.history.listen((t=>{let{action:s,location:r,delta:n}=t;if(I)return I(),void(I=void 0);g(0===de.size||null!=n,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let a=ot({currentLocation:A.location,nextLocation:r,historyAction:s});if(a&&null!=n){let t=new Promise((e=>{I=e}));return e.history.go(-1*n),void at(a,{state:"blocked",location:r,proceed(){at(a,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then((()=>e.history.go(n)))},reset(){let e=new Map(A.blockers);e.set(a,oe),fe({blockers:e})}})}return Ee(s,r)})),s){!function(e,t){try{let s=e.sessionStorage.getItem(ce);if(s){let e=JSON.parse(s);for(let[s,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(s,new Set(r||[]))}}catch(e){}}(t,U);let e=()=>function(e,t){if(t.size>0){let s={};for(let[e,r]of t)s[e]=[...r];try{e.sessionStorage.setItem(ce,JSON.stringify(s))}catch(e){g(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,U);t.addEventListener("pagehide",e),q=()=>t.removeEventListener("pagehide",e)}return A.initialized||Ee(h.Pop,A.location,{initialHydration:!0}),i},subscribe:function(e){return x.add(e),()=>x.delete(e)},enableScrollRestoration:function(e,t,s){if(R=e,O=t,N=s||null,!P&&A.navigation===ne){P=!0;let e=ut(A.location,A.matches);null!=e&&fe({restoreScrollPosition:e})}return()=>{R=null,O=null,N=null}},navigate:async function t(s,r){if("number"==typeof s)return void e.history.go(s);let n=ue(A.location,A.matches,d,f.v7_prependBasename,s,f.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:a,submission:o,error:i}=pe(f.v7_normalizeFormMethod,!1,n,r),l=A.location,c=b(A.location,a,r&&r.state);c=m({},c,e.history.encodeLocation(c));let u=r&&null!=r.replace?r.replace:void 0,p=h.Push;!0===u?p=h.Replace:!1===u||null!=o&&ze(o.formMethod)&&o.formAction===A.location.pathname+A.location.search&&(p=h.Replace);let y=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,g=!0===(r&&r.unstable_flushSync),v=ot({currentLocation:l,nextLocation:c,historyAction:p});if(!v)return await Ee(p,c,{submission:o,pendingError:i,preventScrollReset:y,replace:r&&r.replace,enableViewTransition:r&&r.unstable_viewTransition,flushSync:g});at(v,{state:"blocked",location:c,proceed(){at(v,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),t(s,r)},reset(){let e=new Map(A.blockers);e.set(v,oe),fe({blockers:e})}})},fetch:function(t,s,n,o){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");G.has(t)&&et(t);let i=!0===(o&&o.unstable_flushSync),l=a||c,u=ue(A.location,A.matches,d,f.v7_prependBasename,n,f.v7_relativeSplatPath,s,null==o?void 0:o.relative),p=k(l,u,d),m=pt(p,l,u);if(m.active&&m.matches&&(p=m.matches),!p)return void Je(t,s,Oe(404,{pathname:u}),{flushSync:i});let{path:h,submission:g,error:v}=pe(f.v7_normalizeFormMethod,!0,u,o);if(v)return void Je(t,s,v,{flushSync:i});let b=He(p,h);F=!0===(o&&o.preventScrollReset),g&&ze(g.formMethod)?async function(t,s,r,n,o,i,l,u){function p(e){if(!e.route.action&&!e.route.lazy){let e=Oe(405,{method:u.formMethod,pathname:r,routeId:s});return Je(t,s,e,{flushSync:l}),!0}return!1}if(Ye(),X.delete(t),!i&&p(n))return;let m=A.fetchers.get(t);Ze(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(u,m),{flushSync:l});let h=new AbortController,g=Se(e.history,r,h.signal,u);if(i){let e=await mt(o,r,g.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=lt(r,e);return void Je(t,s,n,{flushSync:l})}if(!e.matches)return void Je(t,s,Oe(404,{pathname:r}),{flushSync:l});if(p(n=He(o=e.matches,r)))return}G.set(t,h);let v=K,b=(await Fe("action",0,g,[n],o,t))[n.route.id];if(g.signal.aborted)return void(G.get(t)===h&&G.delete(t));if(f.v7_fetcherPersist&&te.has(t)){if(Ae(b)||Ie(b))return void Ze(t,Ke(void 0))}else{if(Ae(b))return G.delete(t),Y>v?void Ze(t,Ke(void 0)):(Q.add(t),Ze(t,Ge(u)),De(g,b,!1,{fetcherSubmission:u}));if(Ie(b))return void Je(t,s,b.error)}if(Me(b))throw Oe(400,{type:"defer-action"});let x=A.navigation.location||A.location,w=Se(e.history,x,h.signal),S=a||c,_="idle"!==A.navigation.state?k(S,A.navigation.location,d):A.matches;y(_,"Didn't find any matches after fetcher action");let E=++K;Z.set(t,E);let j=Ge(u,b.data);A.fetchers.set(t,j);let[C,R]=me(e.history,A,_,u,x,!1,f.v7_skipActionErrorRevalidation,H,W,V,te,X,Q,S,d,[n.route.id,b]);R.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,s=A.fetchers.get(t),r=Ge(void 0,s?s.data:void 0);A.fetchers.set(t,r),G.has(t)&&et(t),e.controller&&G.set(t,e.controller)})),fe({fetchers:new Map(A.fetchers)});let N=()=>R.forEach((e=>et(e.key)));h.signal.addEventListener("abort",N);let{loaderResults:O,fetcherResults:P}=await $e(A,_,C,R,w);if(h.signal.aborted)return;h.signal.removeEventListener("abort",N),Z.delete(t),G.delete(t),R.forEach((e=>G.delete(e.key)));let T=Pe(O);if(T)return De(w,T.result,!1);if(T=Pe(P),T)return Q.add(T.key),De(w,T.result,!1);let{loaderData:L,errors:I}=je(A,_,0,O,void 0,R,P,se);if(A.fetchers.has(t)){let e=Ke(b.data);A.fetchers.set(t,e)}rt(E),"loading"===A.navigation.state&&E>Y?(y(D,"Expected pending action"),M&&M.abort(),_e(A.navigation.location,{matches:_,loaderData:L,errors:I,fetchers:new Map(A.fetchers)})):(fe({errors:I,loaderData:ke(A.loaderData,L,_,I),fetchers:new Map(A.fetchers)}),H=!1)}(t,s,h,b,p,m.active,i,g):(X.set(t,{routeId:s,path:h}),async function(t,s,r,n,a,o,i,l){let c=A.fetchers.get(t);Ze(t,Ge(l,c?c.data:void 0),{flushSync:i});let d=new AbortController,u=Se(e.history,r,d.signal);if(o){let e=await mt(a,r,u.signal);if("aborted"===e.type)return;if("error"===e.type){let{error:n}=lt(r,e);return void Je(t,s,n,{flushSync:i})}if(!e.matches)return void Je(t,s,Oe(404,{pathname:r}),{flushSync:i});n=He(a=e.matches,r)}G.set(t,d);let p=K,m=(await Fe("loader",0,u,[n],a,t))[n.route.id];if(Me(m)&&(m=await qe(m,u.signal,!0)||m),G.get(t)===d&&G.delete(t),!u.signal.aborted){if(!te.has(t))return Ae(m)?Y>p?void Ze(t,Ke(void 0)):(Q.add(t),void await De(u,m,!1)):void(Ie(m)?Je(t,s,m.error):(y(!Me(m),"Unhandled fetcher deferred data"),Ze(t,Ke(m.data))));Ze(t,Ke(void 0))}}(t,s,h,b,p,m.active,i,g))},revalidate:function(){Ye(),fe({revalidation:"loading"}),"submitting"!==A.navigation.state&&("idle"!==A.navigation.state?Ee(D||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:!0===z}):Ee(A.historyAction,A.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Qe,deleteFetcher:function(e){if(f.v7_fetcherPersist){let t=(ee.get(e)||0)-1;t<=0?(ee.delete(e),te.add(e)):ee.set(e,t)}else Xe(e);fe({fetchers:new Map(A.fetchers)})},dispose:function(){v&&v(),q&&q(),x.clear(),M&&M.abort(),A.fetchers.forEach(((e,t)=>Xe(t))),A.blockers.forEach(((e,t)=>nt(t)))},getBlocker:function(e,t){let s=A.blockers.get(e)||oe;return de.get(e)!==t&&de.set(e,t),s},deleteBlocker:nt,patchRoutes:function(e,t){let s=null==a;ge(e,t,a||c,l,n),s&&(c=[...c],fe({}))},_internalFetchControllers:G,_internalActiveDeferreds:se,_internalSetRoutes:function(e){l={},a=j(e,n,void 0,l)}},i}function ue(e,t,s,r,n,a,o,i){let l,c;if(o){l=[];for(let e of t)if(l.push(e),e.route.id===o){c=e;break}}else l=t,c=t[t.length-1];let d=W(n||".",H(l,a),B(e.pathname,s)||e.pathname,"path"===i);return null==n&&(d.search=e.search,d.hash=e.hash),null!=n&&""!==n&&"."!==n||!c||!c.route.index||$e(d.search)||(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==s&&(d.pathname="/"===d.pathname?s:V([s,d.pathname])),x(d)}function pe(e,t,s,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:s};if(r.formMethod&&(n=r.formMethod,!te.has(n.toLowerCase())))return{path:s,error:Oe(405,{method:r.formMethod})};var n;let a,o,i=()=>({path:s,error:Oe(400,{type:"invalid-body"})}),l=r.formMethod||"get",c=e?l.toUpperCase():l.toLowerCase(),d=Te(s);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!ze(c))return i();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>{let[s,r]=t;return""+e+s+"="+r+"\n"}),""):String(r.body);return{path:s,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!ze(c))return i();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:s,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return i()}}}if(y("function"==typeof FormData,"FormData is not available in this environment"),r.formData)a=_e(r.formData),o=r.formData;else if(r.body instanceof FormData)a=_e(r.body),o=r.body;else if(r.body instanceof URLSearchParams)a=r.body,o=Ee(a);else if(null==r.body)a=new URLSearchParams,o=new FormData;else try{a=new URLSearchParams(r.body),o=Ee(a)}catch(e){return i()}let u={formMethod:c,formAction:d,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(ze(u.formMethod))return{path:s,submission:u};let p=w(s);return t&&p.search&&$e(p.search)&&a.append("index",""),p.search="?"+a,{path:x(p),submission:u}}function me(e,t,s,r,n,a,o,i,l,c,d,u,p,h,f,y){let g=y?Ie(y[1])?y[1].error:y[1].data:void 0,v=e.createURL(t.location),b=e.createURL(n),x=y&&Ie(y[1])?y[0]:void 0,w=x?function(e,t){let s=e;if(t){let r=e.findIndex((e=>e.route.id===t));r>=0&&(s=e.slice(0,r))}return s}(s,x):s,S=y?y[1].statusCode:void 0,_=o&&S&&S>=400,E=w.filter(((e,s)=>{let{route:n}=e;if(n.lazy)return!0;if(null==n.loader)return!1;if(a)return!("function"==typeof n.loader&&!n.loader.hydrate&&(void 0!==t.loaderData[n.id]||t.errors&&void 0!==t.errors[n.id]));if(function(e,t,s){let r=!t||s.route.id!==t.route.id,n=void 0===e[s.route.id];return r||n}(t.loaderData,t.matches[s],e)||l.some((t=>t===e.route.id)))return!0;let o=t.matches[s],c=e;return fe(e,m({currentUrl:v,currentParams:o.params,nextUrl:b,nextParams:c.params},r,{actionResult:g,actionStatus:S,defaultShouldRevalidate:!_&&(i||v.pathname+v.search===b.pathname+b.search||v.search!==b.search||he(o,c))}))})),j=[];return u.forEach(((e,n)=>{if(a||!s.some((t=>t.route.id===e.routeId))||d.has(n))return;let o=k(h,e.path,f);if(!o)return void j.push({key:n,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let l=t.fetchers.get(n),u=He(o,e.path),y=!1;p.has(n)?y=!1:c.has(n)?(c.delete(n),y=!0):y=l&&"idle"!==l.state&&void 0===l.data?i:fe(u,m({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:s[s.length-1].params},r,{actionResult:g,actionStatus:S,defaultShouldRevalidate:!_&&i})),y&&j.push({key:n,routeId:e.routeId,path:e.path,matches:o,match:u,controller:new AbortController})})),[E,j]}function he(e,t){let s=e.route.path;return e.pathname!==t.pathname||null!=s&&s.endsWith("*")&&e.params["*"]!==t.params["*"]}function fe(e,t){if(e.route.shouldRevalidate){let s=e.route.shouldRevalidate(t);if("boolean"==typeof s)return s}return t.defaultShouldRevalidate}async function ye(e,t,s,r,n,a,o,i){let l=[t,...s.map((e=>e.route.id))].join("-");try{let d=o.get(l);d||(d=e({path:t,matches:s,patch:(e,t)=>{i.aborted||ge(e,t,r,n,a)}}),o.set(l,d)),d&&"object"==typeof(c=d)&&null!=c&&"then"in c&&await d}finally{o.delete(l)}var c}function ge(e,t,s,r,n){if(e){var a;let s=r[e];y(s,"No route found to patch children into: routeId = "+e);let o=j(t,n,[e,"patch",String((null==(a=s.children)?void 0:a.length)||"0")],r);s.children?s.children.push(...o):s.children=o}else{let e=j(t,n,["patch",String(s.length||"0")],r);s.push(...e)}}async function ve(e){let{matches:t}=e,s=t.filter((e=>e.shouldLoad));return(await Promise.all(s.map((e=>e.resolve())))).reduce(((e,t,r)=>Object.assign(e,{[s[r].route.id]:t})),{})}async function be(e){let{result:t,type:s}=e;if(Fe(t)){let e;try{let s=t.headers.get("Content-Type");e=s&&/\bapplication\/json\b/.test(s)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:_.error,error:e}}return s===_.error?{type:_.error,error:new Z(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:_.data,data:e,statusCode:t.status,headers:t.headers}}if(s===_.error){if(De(t)){var r,n;if(t.data instanceof Error)return{type:_.error,error:t.data,statusCode:null==(n=t.init)?void 0:n.status};t=new Z((null==(r=t.init)?void 0:r.status)||500,void 0,t.data)}return{type:_.error,error:t,statusCode:J(t)?t.status:void 0}}var a,o,i,l;return function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:_.deferred,deferredData:t,statusCode:null==(a=t.init)?void 0:a.status,headers:(null==(o=t.init)?void 0:o.headers)&&new Headers(t.init.headers)}:De(t)?{type:_.data,data:t.data,statusCode:null==(i=t.init)?void 0:i.status,headers:null!=(l=t.init)&&l.headers?new Headers(t.init.headers):void 0}:{type:_.data,data:t}}function xe(e,t,s,r,n,a){let o=e.headers.get("Location");if(y(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!ie.test(o)){let i=r.slice(0,r.findIndex((e=>e.route.id===s))+1);o=ue(new URL(t.url),i,n,!0,o,a),e.headers.set("Location",o)}return e}function we(e,t,s){if(ie.test(e)){let r=e,n=r.startsWith("//")?new URL(t.protocol+r):new URL(r),a=null!=B(n.pathname,s);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function Se(e,t,s,r){let n=e.createURL(Te(t)).toString(),a={signal:s};if(r&&ze(r.formMethod)){let{formMethod:e,formEncType:t}=r;a.method=e.toUpperCase(),"application/json"===t?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(r.json)):"text/plain"===t?a.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?a.body=_e(r.formData):a.body=r.formData}return new Request(n,a)}function _e(e){let t=new URLSearchParams;for(let[s,r]of e.entries())t.append(s,"string"==typeof r?r:r.name);return t}function Ee(e){let t=new FormData;for(let[s,r]of e.entries())t.append(s,r);return t}function je(e,t,s,r,n,a,o,i){let{loaderData:l,errors:c}=function(e,t,s,r,n){let a,o={},i=null,l=!1,c={},d=s&&Ie(s[1])?s[1].error:void 0;return e.forEach((s=>{if(!(s.route.id in t))return;let u=s.route.id,p=t[u];if(y(!Ae(p),"Cannot handle redirect results in processLoaderData"),Ie(p)){let t=p.error;if(void 0!==d&&(t=d,d=void 0),i=i||{},n)i[u]=t;else{let s=Re(e,u);null==i[s.route.id]&&(i[s.route.id]=t)}o[u]=void 0,l||(l=!0,a=J(p.error)?p.error.status:500),p.headers&&(c[u]=p.headers)}else Me(p)?(r.set(u,p.deferredData),o[u]=p.deferredData.data,null==p.statusCode||200===p.statusCode||l||(a=p.statusCode),p.headers&&(c[u]=p.headers)):(o[u]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(a=p.statusCode),p.headers&&(c[u]=p.headers))})),void 0!==d&&s&&(i={[s[0]]:d},o[s[0]]=void 0),{loaderData:o,errors:i,statusCode:a||200,loaderHeaders:c}}(t,r,n,i,!1);return a.forEach((t=>{let{key:s,match:r,controller:n}=t,a=o[s];if(y(a,"Did not find corresponding fetcher result"),!n||!n.signal.aborted)if(Ie(a)){let t=Re(e.matches,null==r?void 0:r.route.id);c&&c[t.route.id]||(c=m({},c,{[t.route.id]:a.error})),e.fetchers.delete(s)}else if(Ae(a))y(!1,"Unhandled fetcher revalidation redirect");else if(Me(a))y(!1,"Unhandled fetcher deferred data");else{let t=Ke(a.data);e.fetchers.set(s,t)}})),{loaderData:l,errors:c}}function ke(e,t,s,r){let n=m({},t);for(let a of s){let s=a.route.id;if(t.hasOwnProperty(s)?void 0!==t[s]&&(n[s]=t[s]):void 0!==e[s]&&a.route.loader&&(n[s]=e[s]),r&&r.hasOwnProperty(s))break}return n}function Ce(e){return e?Ie(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Re(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function Ne(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Oe(e,t){let{pathname:s,routeId:r,method:n,type:a,message:o}=void 0===t?{}:t,i="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(i="Bad Request","route-discovery"===a?l='Unable to match URL "'+s+'" - the `unstable_patchRoutesOnNavigation()` function threw the following error:\n'+o:n&&s&&r?l="You made a "+n+' request to "'+s+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===a?l="defer() is not supported in actions":"invalid-body"===a&&(l="Unable to encode submission body")):403===e?(i="Forbidden",l='Route "'+r+'" does not match URL "'+s+'"'):404===e?(i="Not Found",l='No route matches URL "'+s+'"'):405===e&&(i="Method Not Allowed",n&&s&&r?l="You made a "+n.toUpperCase()+' request to "'+s+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':n&&(l='Invalid request method "'+n.toUpperCase()+'"')),new Z(e||500,i,new Error(l),!0)}function Pe(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[s,r]=t[e];if(Ae(r))return{key:s,result:r}}}function Te(e){return x(m({},"string"==typeof e?w(e):e,{hash:""}))}function Le(e){return Fe(e.result)&&se.has(e.result.status)}function Me(e){return e.type===_.deferred}function Ie(e){return e.type===_.error}function Ae(e){return(e&&e.type)===_.redirect}function De(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Fe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function ze(e){return X.has(e.toLowerCase())}async function Ue(e,t,s,r,n){let a=Object.entries(t);for(let o=0;o<a.length;o++){let[i,l]=a[o],c=e.find((e=>(null==e?void 0:e.route.id)===i));if(!c)continue;let d=r.find((e=>e.route.id===c.route.id)),u=null!=d&&!he(d,c)&&void 0!==(n&&n[c.route.id]);Me(l)&&u&&await qe(l,s,!1).then((e=>{e&&(t[i]=e)}))}}async function Be(e,t,s){for(let r=0;r<s.length;r++){let{key:n,routeId:a,controller:o}=s[r],i=t[n];e.find((e=>(null==e?void 0:e.route.id)===a))&&Me(i)&&(y(o,"Expected an AbortController for revalidating fetcher deferred result"),await qe(i,o.signal,!0).then((e=>{e&&(t[n]=e)})))}}async function qe(e,t,s){if(void 0===s&&(s=!1),!await e.deferredData.resolveData(t)){if(s)try{return{type:_.data,data:e.deferredData.unwrappedData}}catch(e){return{type:_.error,error:e}}return{type:_.data,data:e.deferredData.data}}}function $e(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function He(e,t){let s="string"==typeof t?w(t).search:t.search;if(e[e.length-1].route.index&&$e(s||""))return e[e.length-1];let r=$(e);return r[r.length-1]}function We(e){let{formMethod:t,formAction:s,formEncType:r,text:n,formData:a,json:o}=e;if(t&&s&&r)return null!=n?{formMethod:t,formAction:s,formEncType:r,formData:void 0,json:void 0,text:n}:null!=a?{formMethod:t,formAction:s,formEncType:r,formData:a,json:void 0,text:void 0}:void 0!==o?{formMethod:t,formAction:s,formEncType:r,formData:void 0,json:o,text:void 0}:void 0}function Ve(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ge(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ke(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ye.apply(this,arguments)}Symbol("deferred");const Ze=d.createContext(null),Je=d.createContext(null),Qe=d.createContext(null),Xe=d.createContext(null),et=d.createContext({outlet:null,matches:[],isDataRoute:!1}),tt=d.createContext(null);function st(){return null!=d.useContext(Xe)}function rt(){return st()||y(!1),d.useContext(Xe).location}function nt(e){d.useContext(Qe).static||d.useLayoutEffect(e)}function at(){let{isDataRoute:e}=d.useContext(et);return e?function(){let{router:e}=ft(mt.UseNavigateStable),t=gt(ht.UseNavigateStable),s=d.useRef(!1);return nt((()=>{s.current=!0})),d.useCallback((function(r,n){void 0===n&&(n={}),s.current&&("number"==typeof r?e.navigate(r):e.navigate(r,Ye({fromRouteId:t},n)))}),[e,t])}():function(){st()||y(!1);let e=d.useContext(Ze),{basename:t,future:s,navigator:r}=d.useContext(Qe),{matches:n}=d.useContext(et),{pathname:a}=rt(),o=JSON.stringify(H(n,s.v7_relativeSplatPath)),i=d.useRef(!1);return nt((()=>{i.current=!0})),d.useCallback((function(s,n){if(void 0===n&&(n={}),!i.current)return;if("number"==typeof s)return void r.go(s);let l=W(s,JSON.parse(o),a,"path"===n.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:V([t,l.pathname])),(n.replace?r.replace:r.push)(l,n.state,n)}),[t,r,o,a,e])}()}const ot=d.createContext(null);function it(e,t){let{relative:s}=void 0===t?{}:t,{future:r}=d.useContext(Qe),{matches:n}=d.useContext(et),{pathname:a}=rt(),o=JSON.stringify(H(n,r.v7_relativeSplatPath));return d.useMemo((()=>W(e,JSON.parse(o),a,"path"===s)),[e,o,a,s])}function lt(e,t,s,r){st()||y(!1);let{navigator:n}=d.useContext(Qe),{matches:a}=d.useContext(et),o=a[a.length-1],i=o?o.params:{},l=(o&&o.pathname,o?o.pathnameBase:"/");o&&o.route;let c,u=rt();if(t){var p;let e="string"==typeof t?w(t):t;"/"===l||(null==(p=e.pathname)?void 0:p.startsWith(l))||y(!1),c=e}else c=u;let m=c.pathname||"/",f=m;if("/"!==l){let e=l.replace(/^\//,"").split("/");f="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=k(e,{pathname:f}),v=function(e,t,s,r){var n;if(void 0===t&&(t=[]),void 0===s&&(s=null),void 0===r&&(r=null),null==e){var a;if(!s)return null;if(s.errors)e=s.matches;else{if(!(null!=(a=r)&&a.v7_partialHydration&&0===t.length&&!s.initialized&&s.matches.length>0))return null;e=s.matches}}let o=e,i=null==(n=s)?void 0:n.errors;if(null!=i){let e=o.findIndex((e=>e.route.id&&void 0!==(null==i?void 0:i[e.route.id])));e>=0||y(!1),o=o.slice(0,Math.min(o.length,e+1))}let l=!1,c=-1;if(s&&r&&r.v7_partialHydration)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:r}=s,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){l=!0,o=c>=0?o.slice(0,c+1):[o[0]];break}}}return o.reduceRight(((e,r,n)=>{let a,u=!1,p=null,m=null;var h;s&&(a=i&&r.route.id?i[r.route.id]:void 0,p=r.route.errorElement||dt,l&&(c<0&&0===n?(xt[h="route-fallback"]||(xt[h]=!0),u=!0,m=null):c===n&&(u=!0,m=r.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,n+1)),y=()=>{let t;return t=a?p:u?m:r.route.Component?d.createElement(r.route.Component,null):r.route.element?r.route.element:e,d.createElement(pt,{match:r,routeContext:{outlet:e,matches:f,isDataRoute:null!=s},children:t})};return s&&(r.route.ErrorBoundary||r.route.errorElement||0===n)?d.createElement(ut,{location:s.location,revalidation:s.revalidation,component:p,error:a,children:y(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):y()}),null)}(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:V([l,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:V([l,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,s,r);return t&&v?d.createElement(Xe.Provider,{value:{location:Ye({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:h.Pop}},v):v}function ct(){let e=vt(),t=J(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),s=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return d.createElement(d.Fragment,null,d.createElement("h2",null,"Unexpected Application Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},t),s?d.createElement("pre",{style:r},s):null,null)}const dt=d.createElement(ct,null);class ut extends d.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?d.createElement(et.Provider,{value:this.props.routeContext},d.createElement(tt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function pt(e){let{routeContext:t,match:s,children:r}=e,n=d.useContext(Ze);return n&&n.static&&n.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=s.route.id),d.createElement(et.Provider,{value:t},r)}var mt=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(mt||{}),ht=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ht||{});function ft(e){let t=d.useContext(Ze);return t||y(!1),t}function yt(e){let t=d.useContext(Je);return t||y(!1),t}function gt(e){let t=function(e){let t=d.useContext(et);return t||y(!1),t}(),s=t.matches[t.matches.length-1];return s.route.id||y(!1),s.route.id}function vt(){var e;let t=d.useContext(tt),s=yt(ht.UseRouteError),r=gt(ht.UseRouteError);return void 0!==t?t:null==(e=s.errors)?void 0:e[r]}let bt=0;const xt={};function wt(e){let{to:t,replace:s,state:r,relative:n}=e;st()||y(!1);let{future:a,static:o}=d.useContext(Qe),{matches:i}=d.useContext(et),{pathname:l}=rt(),c=at(),u=W(t,H(i,a.v7_relativeSplatPath),l,"path"===n),p=JSON.stringify(u);return d.useEffect((()=>c(JSON.parse(p),{replace:s,state:r,relative:n})),[c,p,n,s,r]),null}function St(e){return function(e){let t=d.useContext(et).outlet;return t?d.createElement(ot.Provider,{value:e},t):t}(e.context)}function _t(e){y(!1)}function Et(e){let{basename:t="/",children:s=null,location:r,navigationType:n=h.Pop,navigator:a,static:o=!1,future:i}=e;st()&&y(!1);let l=t.replace(/^\/*/,"/"),c=d.useMemo((()=>({basename:l,navigator:a,static:o,future:Ye({v7_relativeSplatPath:!1},i)})),[l,i,a,o]);"string"==typeof r&&(r=w(r));let{pathname:u="/",search:p="",hash:m="",state:f=null,key:g="default"}=r,v=d.useMemo((()=>{let e=B(u,l);return null==e?null:{location:{pathname:e,search:p,hash:m,state:f,key:g},navigationType:n}}),[l,u,p,m,f,g,n]);return null==v?null:d.createElement(Qe.Provider,{value:c},d.createElement(Xe.Provider,{children:s,value:v}))}function jt(e,t){void 0===t&&(t=[]);let s=[];return d.Children.forEach(e,((e,r)=>{if(!d.isValidElement(e))return;let n=[...t,r];if(e.type===d.Fragment)return void s.push.apply(s,jt(e.props.children,n));e.type!==_t&&y(!1),e.props.index&&e.props.children&&y(!1);let a={id:e.props.id||n.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=jt(e.props.children,n)),s.push(a)})),s}function kt(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:d.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:d.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:d.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ct.apply(this,arguments)}d.startTransition,new Promise((()=>{})),d.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const Rt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(Ta){}function Nt(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ct({},t,{errors:Ot(t.errors)})),t}function Ot(e){if(!e)return null;let t=Object.entries(e),s={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)s[e]=new Z(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let n=new t(r.message);n.stack="",s[e]=n}catch(e){}}if(null==s[e]){let t=new Error(r.message);t.stack="",s[e]=t}}else s[e]=r;return s}const Pt=d.createContext({isTransitioning:!1}),Tt=d.createContext(new Map),Lt=d.startTransition,Mt=p.flushSync;function It(e){Mt?Mt(e):e()}d.useId;class At{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function Dt(e){let{fallbackElement:t,router:s,future:r}=e,[n,a]=d.useState(s.state),[o,i]=d.useState(),[l,c]=d.useState({isTransitioning:!1}),[u,p]=d.useState(),[m,h]=d.useState(),[f,y]=d.useState(),g=d.useRef(new Map),{v7_startTransition:v}=r||{},b=d.useCallback((e=>{v?function(e){Lt?Lt(e):e()}(e):e()}),[v]),x=d.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:n,unstable_viewTransitionOpts:o}=t;r.forEach((e=>g.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}));let l=null==s.window||null==s.window.document||"function"!=typeof s.window.document.startViewTransition;if(o&&!l){if(n){It((()=>{m&&(u&&u.resolve(),m.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})}));let t=s.window.document.startViewTransition((()=>{It((()=>a(e)))}));return t.finished.finally((()=>{It((()=>{p(void 0),h(void 0),i(void 0),c({isTransitioning:!1})}))})),void It((()=>h(t)))}m?(u&&u.resolve(),m.skipTransition(),y({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(i(e),c({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))}else n?It((()=>a(e))):b((()=>a(e)))}),[s.window,m,u,g,b]);d.useLayoutEffect((()=>s.subscribe(x)),[s,x]),d.useEffect((()=>{l.isTransitioning&&!l.flushSync&&p(new At)}),[l]),d.useEffect((()=>{if(u&&o&&s.window){let e=o,t=u.promise,r=s.window.document.startViewTransition((async()=>{b((()=>a(e))),await t}));r.finished.finally((()=>{p(void 0),h(void 0),i(void 0),c({isTransitioning:!1})})),h(r)}}),[b,o,u,s.window]),d.useEffect((()=>{u&&o&&n.location.key===o.location.key&&u.resolve()}),[u,m,n.location,o]),d.useEffect((()=>{!l.isTransitioning&&f&&(i(f.state),c({isTransitioning:!0,flushSync:!1,currentLocation:f.currentLocation,nextLocation:f.nextLocation}),y(void 0))}),[l.isTransitioning,f]),d.useEffect((()=>{}),[]);let w=d.useMemo((()=>({createHref:s.createHref,encodeLocation:s.encodeLocation,go:e=>s.navigate(e),push:(e,t,r)=>s.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>s.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[s]),S=s.basename||"/",_=d.useMemo((()=>({router:s,navigator:w,static:!1,basename:S})),[s,w,S]),E=d.useMemo((()=>({v7_relativeSplatPath:s.future.v7_relativeSplatPath})),[s.future.v7_relativeSplatPath]);return d.createElement(d.Fragment,null,d.createElement(Ze.Provider,{value:_},d.createElement(Je.Provider,{value:n},d.createElement(Tt.Provider,{value:g.current},d.createElement(Pt.Provider,{value:l},d.createElement(Et,{basename:S,location:n.location,navigationType:n.historyAction,navigator:w,future:E},n.initialized||s.future.v7_partialHydration?d.createElement(Ft,{routes:s.routes,future:s.future,state:n}):t))))),null)}const Ft=d.memo(zt);function zt(e){let{routes:t,future:s,state:r}=e;return lt(t,void 0,r,s)}const Ut="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Bt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qt=d.forwardRef((function(e,t){let s,{onClick:r,relative:n,reloadDocument:a,replace:o,state:i,target:l,to:c,preventScrollReset:u,unstable_viewTransition:p}=e,m=function(e,t){if(null==e)return{};var s,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)s=a[r],t.indexOf(s)>=0||(n[s]=e[s]);return n}(e,Rt),{basename:h}=d.useContext(Qe),f=!1;if("string"==typeof c&&Bt.test(c)&&(s=c,Ut))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),s=B(t.pathname,h);t.origin===e.origin&&null!=s?c=s+t.search+t.hash:f=!0}catch(e){}let g=function(e,t){let{relative:s}=void 0===t?{}:t;st()||y(!1);let{basename:r,navigator:n}=d.useContext(Qe),{hash:a,pathname:o,search:i}=it(e,{relative:s}),l=o;return"/"!==r&&(l="/"===o?r:V([r,o])),n.createHref({pathname:l,search:i,hash:a})}(c,{relative:n}),v=function(e,t){let{target:s,replace:r,state:n,preventScrollReset:a,relative:o,unstable_viewTransition:i}=void 0===t?{}:t,l=at(),c=rt(),u=it(e,{relative:o});return d.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,s)){t.preventDefault();let s=void 0!==r?r:x(c)===x(u);l(e,{replace:s,state:n,preventScrollReset:a,relative:o,unstable_viewTransition:i})}}),[c,l,u,r,n,s,e,a,o,i])}(c,{replace:o,state:i,target:l,preventScrollReset:u,relative:n,unstable_viewTransition:p});return d.createElement("a",Ct({},m,{href:s||g,onClick:f||a?r:function(e){r&&r(e),e.defaultPrevented||v(e)},ref:t,target:l}))}));var $t,Ht;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($t||($t={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ht||(Ht={}));const Wt=window.wp.i18n,Vt=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},Gt=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));var Kt=s(5890),Yt=s.n(Kt);const Zt=window.ReactJSXRuntime,Jt=({link:e})=>{const t=(0,o.useMemo)((()=>Vt((0,Wt.sprintf)(/* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ (0,Wt.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:(0,Zt.jsx)("a",{href:e,target:"_blank",rel:"noopener",children:"Yoast SEO academy"})})),[]);return(0,Zt.jsxs)(l.Paper,{as:"div",className:"yst-p-6 yst-space-y-3",children:[(0,Zt.jsx)(l.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500",children:(0,Wt.__)("Learn SEO","wordpress-seo")}),(0,Zt.jsxs)("p",{children:[t,(0,Zt.jsx)("br",{}),(0,Wt.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")]}),(0,Zt.jsxs)(l.Link,{href:e,className:"yst-block yst-font-medium",target:"_blank",rel:"noopener",children:[(0,Wt.sprintf)(/* translators: %1$s expands to "Yoast SEO academy". */ (0,Wt.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(Gt,{className:"yst-w-3 yst-h-3 yst-mb-[1px] yst-icon-rtl yst-inline-block"})]})]})};Jt.propTypes={link:Yt().string.isRequired};const Qt=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Xt=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));Yt().string.isRequired,Yt().string.isRequired,Yt().shape({src:Yt().string.isRequired,width:Yt().string,height:Yt().string}).isRequired,Yt().shape({value:Yt().bool.isRequired,status:Yt().string.isRequired,set:Yt().func.isRequired}).isRequired,Yt().string,Yt().string,Yt().string;const es=({handleRefreshClick:e,supportLink:t})=>(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,Zt.jsx)(l.Button,{onClick:e,children:(0,Wt.__)("Refresh this page","wordpress-seo")}),(0,Zt.jsx)(l.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,Wt.__)("Contact support","wordpress-seo")})]});es.propTypes={handleRefreshClick:Yt().func.isRequired,supportLink:Yt().string.isRequired};const ts=({handleRefreshClick:e,supportLink:t})=>(0,Zt.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,Zt.jsx)(l.Button,{className:"yst-order-last",onClick:e,children:(0,Wt.__)("Refresh this page","wordpress-seo")}),(0,Zt.jsx)(l.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,Wt.__)("Contact support","wordpress-seo")})]});ts.propTypes={handleRefreshClick:Yt().func.isRequired,supportLink:Yt().string.isRequired};const ss=({error:e,children:t=null})=>(0,Zt.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,Zt.jsx)(l.Title,{children:(0,Wt.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,Zt.jsx)("p",{children:(0,Wt.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,Zt.jsx)(l.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,Wt.__)("Undefined error message.","wordpress-seo")}),(0,Zt.jsx)("p",{children:(0,Wt.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});ss.propTypes={error:Yt().object.isRequired,children:Yt().node},ss.VerticalButtons=ts,ss.HorizontalButtons=es;Yt().string,Yt().node.isRequired,Yt().node.isRequired,Yt().node,Yt().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const rs=({to:e,idSuffix:t="",...s})=>{const r=(0,o.useMemo)((()=>(0,c.replace)((0,c.replace)(`link-${e}`,"/","-"),"--","-")),[e]);return(0,Zt.jsx)(l.SidebarNavigation.SubmenuItem,{as:qt,pathProp:"to",id:`${r}${t}`,to:e,...s})};rs.propTypes={to:Yt().string.isRequired,idSuffix:Yt().string};const ns=({href:e,children:t=null,...s})=>(0,Zt.jsxs)(l.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")})]});ns.propTypes={href:Yt().string.isRequired,children:Yt().node};const as=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),os=[(0,Wt.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,Wt.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,Wt.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,Wt.__)("Optimize pages for multiple keywords with guidance","wordpress-seo")],is=[(0,Wt.__)("Add product details to help your listings stand out","wordpress-seo"),(0,Wt.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,Wt.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,Wt.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo")],ls=[(0,Wt.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,Wt.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,Wt.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,Wt.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,Wt.__)("Internal links and redirect management, easy","wordpress-seo"),(0,Wt.__)("Access to friendly help when you need it, day or night","wordpress-seo")],cs=(e=!1)=>e?os:ls,ds=(e=!1)=>{if(e)return is;const t=[...ls];return t[1]=(0,Wt.__)("Boost visibility for your products, from 10 or 10,000+","wordpress-seo"),t};var us,ps;function ms(){return ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},ms.apply(null,arguments)}const hs=e=>d.createElement("svg",ms({xmlns:"http://www.w3.org/2000/svg",id:"yoast-premium-logo-new_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 200 200"},e),us||(us=d.createElement("defs",null,d.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#9fda4f"}),d.createElement("stop",{offset:1,stopColor:"#77b227"})),d.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-2",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#fec228"}),d.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),d.createElement("stop",{offset:1,stopColor:"#f49a00"})),d.createElement("radialGradient",{id:"yoast-premium-logo-new_svg__radial-gradient-3",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#ff4e47"}),d.createElement("stop",{offset:1,stopColor:"#ed261f"})),d.createElement("linearGradient",{id:"yoast-premium-logo-new_svg__linear-gradient",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:.17,stopColor:"#5d237a"}),d.createElement("stop",{offset:.42,stopColor:"#7c2072"}),d.createElement("stop",{offset:.71,stopColor:"#9a1e6b"}),d.createElement("stop",{offset:.87,stopColor:"#a61e69"})),d.createElement("style",null,".yoast-premium-logo-new_svg__cls-6{fill:#cd82ab}"))),d.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#yoast-premium-logo-new_svg__linear-gradient)"}}),d.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient)"}}),d.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-2)"}}),d.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#yoast-premium-logo-new_svg__radial-gradient-3)"}}),d.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),ps||(ps=d.createElement("path",{d:"M172.2 175.15h-33.59v2.95h33.59v-2.95ZM163.12 163.51l-7.72-14.2-7.72 14.2-11.88-8.44 2.8 18.99h33.59l2.8-18.99-11.88 8.44Z",className:"yoast-premium-logo-new_svg__cls-6"})));var fs;function ys(){return ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},ys.apply(null,arguments)}const gs=e=>d.createElement("svg",ys({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 200 200"},e),fs||(fs=d.createElement("defs",null,d.createElement("radialGradient",{id:"woo-seo-logo-new_svg__b",cx:116.36,cy:44.04,r:36.58,fx:116.36,fy:44.04,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#9fda4f"}),d.createElement("stop",{offset:1,stopColor:"#77b227"})),d.createElement("radialGradient",{id:"woo-seo-logo-new_svg__c",cx:92.08,cy:114.68,r:29.3,fx:92.08,fy:114.68,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#fec228"}),d.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),d.createElement("stop",{offset:1,stopColor:"#f49a00"})),d.createElement("radialGradient",{id:"woo-seo-logo-new_svg__d",cx:60.52,cy:156.68,r:14.35,fx:60.52,fy:156.68,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#ff4e47"}),d.createElement("stop",{offset:1,stopColor:"#ed261f"})),d.createElement("linearGradient",{id:"woo-seo-logo-new_svg__a",x1:-7.73,x2:218.16,y1:59.99,y2:143.88,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:.17,stopColor:"#0e1e65"}),d.createElement("stop",{offset:.48,stopColor:"#064b8d"}),d.createElement("stop",{offset:.73,stopColor:"#0169a8"}),d.createElement("stop",{offset:.87,stopColor:"#0075b3"})))),d.createElement("path",{d:"M200 200H32c-17.67 0-32-14.33-32-32V32C0 14.33 14.33 0 32 0h136c17.67 0 32 14.33 32 32v168Z",style:{fill:"url(#woo-seo-logo-new_svg__a)"}}),d.createElement("path",{d:"M156.41 26.63c-17.59-9.93-39.9-3.73-49.84 13.86-9.94 17.59-3.73 39.9 13.86 49.84 17.59 9.94 39.9 3.73 49.84-13.86 9.93-17.59 3.73-39.9-13.86-49.84",style:{fill:"url(#woo-seo-logo-new_svg__b)"}}),d.createElement("path",{d:"M119.44 102.75s-.04-.02-.06-.04c-.02 0-.03-.02-.05-.03-12.13-6.71-26.33-1.98-32.56 9.06-6.49 11.5-2.43 26.07 9.06 32.57s.02 0 .03.02c0 0 .02 0 .03.02 11.49 6.45 26.03 2.4 32.51-9.08 6.47-11.46 2.46-25.98-8.95-32.5",style:{fill:"url(#woo-seo-logo-new_svg__c)"}}),d.createElement("path",{d:"M85.91 163.76c0-5-2.62-9.85-7.27-12.49a14.278 14.278 0 0 0-7.05-1.86c-7.9 0-14.36 6.4-14.36 14.34s6.4 14.36 14.34 14.36 14.36-6.4 14.36-14.34",style:{fill:"url(#woo-seo-logo-new_svg__d)"}}),d.createElement("path",{d:"M29.52 136.99v13.02c8.06-.34 14.36-2.98 19.7-8.39s10.22-14.18 14.89-27.2L98.65 21.9H81.94L54.11 99.2l-13.8-43.35h-15.3l20.29 52.16a21.402 21.402 0 0 1 0 15.59c-2.05 5.3-5.74 11.53-15.78 13.39Z",style:{fill:"#fff"}}),d.createElement("path",{d:"M171.68 147.89a2.9 2.9 0 0 0-2.81 2.16l-.36 1.34c-8.43-.15-16.85.83-25.01 2.9-.03 0-.05.01-.08.02-.61.21-.94.86-.73 1.47a90.79 90.79 0 0 0 4.59 11.2c.19.4.6.65 1.05.65h17.38c1.47 0 2.79.93 3.29 2.32h-23.04a1.16 1.16 0 0 0 0 2.32h24.4c.64 0 1.16-.52 1.16-1.16 0-2.65-1.78-4.95-4.35-5.62l3.97-14.86a.58.58 0 0 1 .56-.43h2.14a1.16 1.16 0 0 0 0-2.32h-2.15Zm-2.5 30.21c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Zm-19.75 0c-1.28 0-2.32-1.04-2.32-2.32s1.04-2.32 2.32-2.32 2.32 1.04 2.32 2.32-1.04 2.32-2.32 2.32Z",style:{fill:"#a1cce3"}}));var vs=s(4184),bs=s.n(vs);const xs=({link:e,linkProps:t,isPromotionActive:s,isWooCommerceActive:r})=>{const n=r?ds:cs,a=(0,o.useMemo)((()=>r?(0,Wt.__)("Grow your store's visibility!","wordpress-seo"):(0,Wt.__)("Spend less time on SEO tasks!","wordpress-seo")),[r]),i=(0,o.useMemo)((()=>r?(0,Wt.__)("Help ready-to-buy shoppers and search engines find your product.","wordpress-seo"):(0,Wt.__)("Optimize your site faster, smarter, and with more confidence.","wordpress-seo")),[r]);let c=(0,Wt.__)("Buy now","wordpress-seo");const d=(0,o.useMemo)((()=>r?(0,Wt.__)("Less friction. Smarter optimization.","wordpress-seo"):(0,Wt.__)("Less friction. Faster publishing.","wordpress-seo")),[r]),u=Vt(r?(0,Wt.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,Wt.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast WooCommerce SEO"):(0,Wt.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,Wt.__)("%1$s%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast SEO Premium"),{nowrap:(0,Zt.jsx)("span",{className:"yst-whitespace-nowrap"})}),p=s("black-friday-promotion");return p&&(c=(0,Wt.__)("Buy now for 30% off","wordpress-seo")),(0,Zt.jsxs)("div",{className:bs()("yst-p-6 yst-rounded-lg yst-text-slate-600 yst-bg-white yst-shadow yst-border",r?"yst-border-woo-light yst-border-opacity-50":"yst-border-primary-300"),children:[(0,Zt.jsx)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-relative yst-z-10 yst-mt-[-2.6rem]",children:r?(0,Zt.jsx)(gs,{}):(0,Zt.jsx)(hs,{})}),p&&(0,Zt.jsx)("div",{className:"sidebar__sale_banner_container",children:(0,Zt.jsx)("div",{className:"sidebar__sale_banner",children:(0,Zt.jsx)("span",{className:"banner_text",children:(0,Wt.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})})}),(0,Zt.jsx)(l.Title,{as:"h2",className:bs()("yst-mt-6 yst-text-xl yst-font-semibold",r?"yst-text-woo-light":"yst-text-primary-500"),children:u}),(0,Zt.jsx)("p",{className:"yst-mt-3 yst-font-medium yst-text-slate-800",children:a}),(0,Zt.jsx)("p",{className:"yst-mt-1 yst-font-normal",children:i}),(0,Zt.jsx)("ul",{className:"yst-list-outside yst-text-slate-600 yst-mt-4 yst-flex yst-flex-col yst-gap-2",children:n(!0).map(((e,t)=>(0,Zt.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,Zt.jsx)(as,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${t}`)))}),(0,Zt.jsxs)(l.Button,{as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500",...t,children:[(0,Zt.jsx)("span",{children:c}),(0,Zt.jsx)(Xt,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"})]}),(0,Zt.jsx)("p",{className:"yst-text-center yst-text-xs yst-font-normal yst-leading-5 yst-text-slate-500 yst-italic yst-mt-3 yst-mb-2",children:d}),(0,Zt.jsx)("hr",{className:"yst-border-t yst-border-slate-200 yst-my-4"}),(0,Zt.jsxs)("ul",{className:"yst-text-center yst-text-xs yst-font-medium yst-text-slate-800 yst-list-none",children:[(0,Zt.jsx)("li",{children:(0,Wt.__)("30-day money back guarantee","wordpress-seo")}),(0,Zt.jsx)("li",{children:(0,Wt.__)("24/7 support","wordpress-seo")})]})]})};xs.propTypes={link:Yt().string.isRequired,linkProps:Yt().object.isRequired,isPromotionActive:Yt().func.isRequired};const ws=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));var Ss;function _s(){return _s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},_s.apply(null,arguments)}const Es=e=>d.createElement("svg",_s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),Ss||(Ss=d.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));var js;function ks(){return ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},ks.apply(null,arguments)}const Cs=e=>d.createElement("svg",ks({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),js||(js=d.createElement("path",{fill:"#0075B3",d:"M12.613.445a1.26 1.26 0 0 0-1.22.937l-.156.583A40.97 40.97 0 0 0 .379 3.225c-.013 0-.022.007-.035.01a.503.503 0 0 0-.317.64 40.344 40.344 0 0 0 1.99 4.861c.084.173.26.282.455.282h7.542c.64 0 1.213.403 1.427 1.008h-10a.507.507 0 0 0 0 1.01h10.592a.507.507 0 0 0 .506-.505c0-1.149-.774-2.15-1.888-2.441l1.722-6.452a.25.25 0 0 1 .243-.185h.931a.507.507 0 0 0 0-1.011h-.931l-.003.003Zm-1.085 13.114a1.008 1.008 0 1 1 0-2.016 1.008 1.008 0 0 1 0 2.016Zm-8.573 0a1.008 1.008 0 1 1 0-2.016 1.008 1.008 0 0 1 0 2.016Z"}))),Rs=({premiumLink:e,premiumUpsellConfig:t={},isPromotionActive:s,isWooCommerceActive:r})=>{const n=s("black-friday-promotion"),a=r?ds:cs,o=[...r?["Yoast SEO Premium"]:[],"Local SEO","News SEO","Video SEO",(0,Wt.__)("Google Docs add-on (1 seat)","wordpress-seo")],i=r?bs()("yst-bg-woo-light","yst-text-[#006499]"):bs()("yst-bg-primary-500","yst-text-primary-500");let c=r?(0,Wt.sprintf)(/* translators: %s expands to "Yoast WooCommerce SEO" */ (0,Wt.__)("Explore %s now!","wordpress-seo"),"Yoast WooCommerce SEO"):(0,Wt.sprintf)(/* translators: %s expands to "Yoast SEO" Premium */ (0,Wt.__)("Explore %s now!","wordpress-seo"),"Yoast SEO Premium");return n&&(c=(0,Wt.__)("Get 30% off now!","wordpress-seo")),(0,Zt.jsxs)(l.Paper,{as:"div",className:"yst-max-w-4xl",children:[n&&(0,Zt.jsxs)("div",{className:"yst-rounded-t-lg yst-h-9 yst-flex yst-justify-between yst-items-center yst-bg-black yst-text-amber-300 yst-px-4 yst-text-lg yst-border-b yst-border-amber-300 yst-border-solid yst-font-medium",children:[(0,Zt.jsx)("div",{children:(0,Wt.__)("30% OFF","wordpress-seo")}),(0,Zt.jsx)("div",{children:(0,Wt.__)("BLACK FRIDAY","wordpress-seo")})]}),(0,Zt.jsxs)("div",{className:"yst-p-6 yst-flex yst-flex-col",children:[(0,Zt.jsx)("div",{className:"yst-flex yst-items-center",children:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(l.Title,{as:"h2",size:"4",className:"yst-text-xl yst-font-semibold "+(r?"yst-text-woo-light":"yst-text-primary-500 "),children:r?(0,Wt.sprintf)(/* translators: %s expands to "Yoast WooCommerce SEO */ (0,Wt.__)("Upgrade to %s","wordpress-seo"),"Yoast WooCommerce SEO"):(0,Wt.sprintf)(/* translators: %s expands to "Yoast SEO" Premium */ (0,Wt.__)("Upgrade to %s","wordpress-seo"),"Yoast SEO Premium")}),r?(0,Zt.jsx)(Cs,{className:"yst-ml-2 yst-w-4 yst-h-3"}):(0,Zt.jsx)(Es,{className:"yst-ml-2 yst-w-4 yst-h-3"})]})}),(0,Zt.jsxs)("div",{className:"yst-font-medium yst-text-slate-800 yst-text-xs yst-leading-7 yst-mt-2",children:[(0,Zt.jsx)("span",{className:"yst-mr-2",children:(0,Wt.__)("Now includes:","wordpress-seo")}),(0,Zt.jsx)("div",{className:"yst-inline-block",children:o.map(((e,t)=>(0,Zt.jsx)(l.Badge,{size:"small",variant:"plain",className:bs()("yst-mr-2 yst-bg-opacity-15",i),children:e},`now-including-${t}`)))})]}),(0,Zt.jsx)("ul",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-x-6 yst-gap-y-2 yst-list-none yst-list-outside yst-text-slate-600 yst-mt-4",children:a().map(((e,t)=>(0,Zt.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,Zt.jsx)(as,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${t}`)))}),(0,Zt.jsxs)(l.Button,{as:"a",variant:"upsell",size:"extra-large",href:e,className:"yst-gap-2 yst-mt-6 sm:yst-max-w-sm",target:"_blank",rel:"noopener",...t,children:[c,(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(ws,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})]})]})]})};Rs.propTypes={premiumLink:Yt().string.isRequired,premiumUpsellConfig:Yt().object,isPromotionActive:Yt().func.isRequired,isWooCommerceActive:Yt().bool.isRequired};const Ns=({premiumLink:e,premiumUpsellConfig:t,academyLink:s,isPromotionActive:r,isWooCommerceActive:n})=>(0,Zt.jsxs)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4",children:[(0,Zt.jsx)(xs,{link:e,linkProps:t,isPromotionActive:r,isWooCommerceActive:n}),(0,Zt.jsx)(Jt,{link:s})]});Ns.propTypes={premiumLink:Yt().string.isRequired,premiumUpsellConfig:Yt().object.isRequired,academyLink:Yt().string.isRequired,isPromotionActive:Yt().func.isRequired,isWooCommerceActive:Yt().bool.isRequired};const Os=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),Ps=({isOpen:e,onClose:t=c.noop,onDiscard:s=c.noop,title:r,description:n,dismissLabel:a,discardLabel:o})=>{const i=(0,l.useSvgAria)();return(0,Zt.jsx)(l.Modal,{isOpen:e,onClose:t,children:(0,Zt.jsxs)(l.Modal.Panel,{closeButtonScreenReaderText:(0,Wt.__)("Close","wordpress-seo"),children:[(0,Zt.jsxs)("div",{className:"sm:yst-flex sm:yst-items-start",children:[(0,Zt.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10",children:(0,Zt.jsx)(Os,{className:"yst-h-6 yst-w-6 yst-text-red-600",...i})}),(0,Zt.jsxs)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ms-4 sm:yst-text-start",children:[(0,Zt.jsx)(l.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:r}),(0,Zt.jsx)(l.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:n})]})]}),(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:[(0,Zt.jsx)(l.Button,{type:"button",variant:"error",onClick:s,className:"yst-block",children:o}),(0,Zt.jsx)(l.Button,{type:"button",variant:"secondary",onClick:t,className:"yst-block",children:a})]})]})})};Ps.propTypes={isOpen:Yt().bool.isRequired,onClose:Yt().func,onDiscard:Yt().func,title:Yt().string.isRequired,description:Yt().string.isRequired,dismissLabel:Yt().string.isRequired,discardLabel:Yt().string.isRequired};const Ts=window.yoast.reactHelmet,Ls="request",Ms="success",Is="error",As="loading",Ds="error";var Fs,zs;function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Us.apply(null,arguments)}Yt().string.isRequired,Yt().shape({src:Yt().string.isRequired,width:Yt().string,height:Yt().string}).isRequired,Yt().shape({value:Yt().bool.isRequired,status:Yt().string.isRequired,set:Yt().func.isRequired}).isRequired,Yt().bool;const Bs=e=>d.createElement("svg",Us({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"yoast-logo_svg__w-40",viewBox:"0 0 842 224"},e),Fs||(Fs=d.createElement("path",{fill:"#a61e69",d:"M166.55 54.09c-38.69 0-54.17 25.97-54.17 54.88s15.25 56.02 54.17 56.02 54.07-27.19 54-54.26c-.09-32.97-16.77-56.65-54-56.65Zm-23.44 56.52c.94-38.69 30.66-38.65 40.59-24.79 9.05 12.63 10.9 55.81-17.14 55.5-12.92-.14-23.06-8.87-23.44-30.71Zm337.25 27.55V82.11h20.04V57.78h-20.04V28.39h-30.95v29.39h-15.7v24.33h15.7v52.87c0 30.05 20.95 47.91 43.06 51.61l9.24-24.88c-12.89-1.63-21.23-11.27-21.35-23.54Zm-156.15-8.87V87.16c0-1.54-.1-2.98-.25-4.39-2.68-34.04-51.02-33.97-88.46-20.9l10.82 21.78c24.38-11.58 38.97-8.59 44.07-2.89.13.15.26.29.38.45.01.02.03.04.04.06 2.6 3.51 1.98 9.05 1.98 13.41-31.86 0-65.77 4.23-65.77 39.17 0 26.56 33.28 43.65 68.06 18.33l5.16 12.45h29.81c-2.66-14.62-5.85-27.14-5.85-35.34Zm-31.18-.23c-24.51 27.43-46.96 1.61-23.97-9.65 6.77-2.31 15.95-2.41 23.97-2.41v12.06Zm78.75-44.17c0-10.38 16.61-15.23 42.82-3.27l9.06-22.01c-35.27-10.66-83.44-11.62-83.75 25.28-.15 17.68 11.19 27.19 27.52 33.26 11.31 4.2 27.64 6.38 27.59 15.39-.06 11.77-25.38 13.57-48.42-2.26l-9.31 23.87c31.43 15.64 89.87 16.08 89.56-23.12-.31-38.76-55.08-32.11-55.08-47.14ZM99.3 1 54.44 125.61 32.95 58.32H1l35.78 91.89a33.49 33.49 0 0 1 0 24.33c-4 10.25-10.65 19.03-26.87 21.21v27.24c31.58 0 48.65-19.41 63.88-61.96L133.48 1H99.3ZM598.64 139.05c0 8.17-2.96 14.58-8.87 19.23-5.91 4.65-14.07 6.98-24.47 6.98s-18.92-1.61-25.54-4.84v-14.2c4.19 1.97 8.65 3.52 13.37 4.65 4.72 1.13 9.11 1.7 13.18 1.7 5.95 0 10.35-1.13 13.18-3.39 2.83-2.26 4.25-5.3 4.25-9.11 0-3.43-1.3-6.35-3.9-8.74-2.6-2.39-7.97-5.22-16.1-8.48-8.39-3.39-14.3-7.27-17.74-11.63-3.44-4.36-5.16-9.59-5.16-15.71 0-7.67 2.72-13.7 8.18-18.1 5.45-4.4 12.77-6.6 21.95-6.6s17.57 1.93 26.29 5.78l-4.78 12.26c-8.18-3.43-15.47-5.15-21.89-5.15-4.87 0-8.55 1.06-11.07 3.17-2.52 2.12-3.77 4.91-3.77 8.39 0 2.39.5 4.43 1.51 6.13s2.66 3.3 4.97 4.81c2.3 1.51 6.46 3.5 12.45 5.97 6.75 2.81 11.7 5.43 14.85 7.86 3.15 2.43 5.45 5.18 6.92 8.23 1.46 3.06 2.2 6.66 2.2 10.81Zm68.53 24.96h-52.02V72.12h52.02v12.7h-36.99v25.01h34.66v12.57h-34.66v28.85h36.99v12.76Zm100.24-46.07c0 14.96-3.74 26.59-11.23 34.88-7.49 8.3-18.08 12.44-31.8 12.44s-24.54-4.12-31.99-12.35c-7.44-8.23-11.17-19.93-11.17-35.1s3.74-26.82 11.23-34.95c7.49-8.13 18.17-12.19 32.05-12.19s24.24 4.13 31.7 12.38c7.47 8.26 11.2 19.88 11.2 34.88Zm-70.2 0c0 11.31 2.29 19.89 6.86 25.74 4.57 5.85 11.35 8.77 20.32 8.77s15.67-2.89 20.22-8.67c4.55-5.78 6.82-14.39 6.82-25.83s-2.25-19.82-6.76-25.64-11.23-8.74-20.16-8.74-15.82 2.91-20.41 8.74c-4.59 5.82-6.89 14.37-6.89 25.64Z"})),zs||(zs=d.createElement("path",{fill:"#77b227",d:"m790.45 165.35 36.05-94.96H840l-36.02 94.96h-13.53z"}))),qs=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));var $s,Hs,Ws,Vs,Gs,Ks,Ys,Zs,Js,Qs,Xs,er,tr,sr,rr,nr,ar,or,ir,lr,cr,dr,ur,pr,mr,hr,fr,yr,gr,vr,br,xr,wr,Sr,_r,Er,jr,kr,Cr,Rr,Nr,Or,Pr,Tr,Lr,Mr,Ir,Ar,Dr,Fr,zr,Ur,Br,qr,$r,Hr,Wr,Vr,Gr,Kr,Yr,Zr,Jr,Qr,Xr,en,tn,sn,rn;function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},nn.apply(null,arguments)}const an=e=>d.createElement("svg",nn({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",viewBox:"0 0 252 60"},e),$s||($s=d.createElement("linearGradient",{id:"yoast-connect-google-site-kit_svg__a"},d.createElement("stop",{offset:0,stopColor:"#570732"}),d.createElement("stop",{offset:.04,stopColor:"#610b39"}),d.createElement("stop",{offset:.15,stopColor:"#79164b"}),d.createElement("stop",{offset:.29,stopColor:"#8c1e59"}),d.createElement("stop",{offset:.44,stopColor:"#9a2463"}),d.createElement("stop",{offset:.63,stopColor:"#a22768"}),d.createElement("stop",{offset:1,stopColor:"#a4286a"}))),Hs||(Hs=d.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__b",x1:49.556,x2:49.556,y1:36.267,y2:23.152,gradientUnits:"userSpaceOnUse"})),Ws||(Ws=d.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__c",x1:82.801,x2:82.801,y1:38.819,y2:20.113,gradientUnits:"userSpaceOnUse"})),Vs||(Vs=d.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__d",x1:62.504,x2:62.504,y1:36.222,y2:23.113,gradientUnits:"userSpaceOnUse"})),Gs||(Gs=d.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__e",x1:73.951,x2:73.951,y1:36.276,y2:23.046,gradientUnits:"userSpaceOnUse"})),Ks||(Ks=d.createElement("linearGradient",{id:"yoast-connect-google-site-kit_svg__f",x1:25.237,x2:25.237,y1:16.169,y2:36.914,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{offset:0,stopColor:"#77b227"}),d.createElement("stop",{offset:.47,stopColor:"#75b027"}),d.createElement("stop",{offset:.64,stopColor:"#6eab27"}),d.createElement("stop",{offset:.75,stopColor:"#63a027"}),d.createElement("stop",{offset:.85,stopColor:"#529228"}),d.createElement("stop",{offset:.93,stopColor:"#3c8028"}),d.createElement("stop",{offset:1,stopColor:"#246b29"}))),Ys||(Ys=d.createElement("clipPath",{id:"yoast-connect-google-site-kit_svg__g"},d.createElement("path",{d:"M169.334 22h14.973v15.909h-14.973z"}))),Zs||(Zs=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__b)",fillRule:"evenodd",d:"M36.765 29.643c0-3.42 1.83-6.49 6.405-6.49 4.402 0 6.375 2.8 6.386 6.698.008 3.2-1.785 6.416-6.386 6.416-4.602 0-6.405-3.072-6.405-6.624zm8.432-2.74c-1.174-1.64-4.688-1.64-4.8 2.932.046 2.582 1.245 3.614 2.773 3.63 3.316.039 3.092-5.067 2.027-6.562z",clipRule:"evenodd"})),Js||(Js=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__c)",d:"M80.278 33.094v-6.631h2.368v-2.874h-2.368v-3.476h-3.66v3.476h-1.856v2.876h1.857v6.258c0 3.553 2.477 5.665 5.092 6.102l1.092-2.948c-1.524-.194-2.51-1.333-2.525-2.783z"})),Qs||(Qs=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__d)",fillRule:"evenodd",d:"M61.81 27.062v4.981c0 .7.196 1.67.426 2.803.088.436.182.897.27 1.376h-3.523l-.611-1.472c-4.118 2.994-8.053.974-8.053-2.168 0-4.131 4.01-4.632 7.777-4.632l.003-.249c.01-.465.02-.985-.24-1.336v-.007l-.034-.04-.011-.013c-.602-.675-2.327-1.028-5.21.341l-1.283-2.575c4.428-1.546 10.143-1.555 10.46 2.47.019.174.028.347.03.52zm-6.52 3.81c-2.718 1.331-.064 4.384 2.835 1.14v-1.425c-.949 0-2.035.012-2.835.284z",clipRule:"evenodd"})),Xs||(Xs=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__e)",d:"M67.439 26.794c0-1.227 1.966-1.8 5.064-.386l1.072-2.605c-4.17-1.262-9.866-1.371-9.904 2.991-.017 2.091 1.324 3.216 3.255 3.934 1.337.497 3.268.754 3.262 1.82-.007 1.391-3 1.604-5.725-.268l-1.101 2.823c3.716 1.85 10.627 1.902 10.59-2.734-.03-4.583-6.513-3.798-6.513-5.575z"})),er||(er=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__f)",d:"m35.218 16.875-5.305 14.734-2.54-7.956h-3.779l4.23 10.866a3.956 3.956 0 0 1 0 2.877c-.474 1.213-1.26 2.25-3.177 2.508v3.221c3.734 0 5.753-2.295 7.554-7.326l7.06-18.924z"})),tr||(tr=d.createElement("path",{fill:"#f0ecf0",d:"M124.088 57.357c15.427 0 27.934-12.506 27.934-27.933S139.515 1.49 124.088 1.49 96.155 13.997 96.155 29.424s12.506 27.933 27.933 27.933z"})),sr||(sr=d.createElement("path",{fill:"#9e005d",d:"M122.68 23.422c5.075-5.662 3.282-.196 13.081-2.26 2.792-.587 7.802-1.905 9.067.833 1.427 3.092 4.014 3.471 3.211 5.47-1.412 3.512-6.46 4.52-7.887.556-1.819-1.232-8.98 2.24-11.167 2.775-.813.198-.868-2.038-1.675-2.168-.529-.085-.462-.17-.939-.575-4.613-3.918-4.904-3.277-5.22-4.126.482-.115.95-.396 1.531-.503z"})),rr||(rr=d.createElement("path",{fill:"#6c2548",d:"M145.465 25.27c-1.744-.556-3.859.788-3.015 2.668.204.456 1.233 2.392 1.665 2.536 1.633.552 5.651-2.227 1.35-5.204z"})),nr||(nr=d.createElement("path",{fill:"#ffc399",d:"M145.972 26.652c-.452-.226-2.526.313-2.3 1.188.281 1.084.758 1.655 1.395 1.998 1.627.875 1.365 2.531 3.684 2.5 1.12-.015 4.022-1.557 4.118-.456.157 1.823.464 3.564.792 3.17.792-.951 1.109-1.03 1.188-4.2.021-.887-2.14-1.506-3.013-2.854-.473-.733-2.932-.714-5.866-1.348z"})),ar||(ar=d.createElement("path",{fill:"#be1e2d",d:"M109.348 16.345c-2.102-1.797-8.454 4.23-7.974 6.137.479-.51 1.186-1.505 1.973-1.316-2.719 1.838-3.191 6.484-1.784 9.259.158-.735.439-1.525.897-2.123-.778 3.037.466 8.256 4.271 10.873-.26-1.915-1.201-5.028.477-6.267 2.485-1.836 5.651-2.398 7.153-5.43 3.716-7.506-7.675-12.913-5.013-11.135z"})),or||(or=d.createElement("path",{fill:"#9e005d",d:"M111.503 27.227c-1.65.136-7.152 11.633.475 20.362 1.067 1.222 2.372 3.568 3.92 3.78 3.256.442 11.848-1.813 15.059-3.189 12.146-5.202 1.267-10.842-.308-16.792-1.421-5.366-1.725-8.762-7.928-8.997-2.92-.11-11.15 1.768-11.95 5.058-.224.108-.109-.08.732-.224z"})),ir||(ir=d.createElement("path",{fill:"#6c2548",d:"M123.196 23.817c3.828 1.233 6.256 5.375 7.755 8.771-1.38-4.316-2.059-8.262-7.932-8.95-.013-.072.419-.694.177.18z"})),lr||(lr=d.createElement("path",{fill:"#6c2548",d:"M127.718 23.362c1.071.893 1.961 2.794 2.438 3.984.522 1.306.088 3.329.571 4.638-1.292-3.232-1.307-5.14-3.007-8.622z"})),cr||(cr=d.createElement("path",{fill:"#ffc399",d:"M125.772 33.468c-1.058.375-2.898.677-4.103 1.248-2.187 1.037-4.936-1.725-7.313-1.188-.858.194-3.845-.873-4.082-1.942-.293-1.325-.745-1.352-.078-2.22 2.619-3.402 2.815-1.566 2.932-6.896.019-.886-.2-1.312.079-2.061.279-.75.21.017 1.09-.143.879-.16 2.996-1.05 3.869-.652 1.533.699.513 3.972 1.61 5.107 1.139 1.177 3.841-.028 4.989 1.128 1.439 1.45 1.324 6.848 1.005 7.621z"})),dr||(dr=d.createElement("path",{fill:"#e57c57",d:"M123.021 27.88c.285-.57.221-1.564-.026-2.586-1.175-.034-2.504.164-3.217-.575-.65-.671-.558-2.085-.692-3.277a3.502 3.502 0 0 1-.607-.122c-1.263-.372-2.67-.835-4.069-1.077-.039.008-.077.017-.111.023-.405.075-.605-.057-.733-.143l-.213-.017c-.04.05-.085.141-.144.303-.271.728-.073 1.156-.079 1.995 1.386 3.614 6.644 11.98 9.895 5.477z"})),ur||(ur=d.createElement("path",{fill:"#f1f2f2",d:"M116.06 33.648c7.293 3.488 11.969 5.47 13.635 9.989-1.031-4.757-.893-8.622-4.459-15.161.675 7.425-8.761 5.37-9.176 5.172z"})),pr||(pr=d.createElement("path",{fill:"#6c2548",d:"M129.697 43.002c.157-3.884-1.057-18.564-4.44-20.057-1.056-.466-10.726 1.174-7.768 1.348 4.625.27 7.293 2.775 7.928 4.28.792 1.11 3.081 8.599 4.28 14.427z"})),mr||(mr=d.createElement("path",{fill:"#9e005d",d:"M129.616 43.001c.157-3.884-1.93-18.723-5.311-20.214-1.056-.467-9.776 1.333-6.819 1.505 4.626.27 7.294 2.775 7.928 4.28.792 1.11 3.003 8.599 4.202 14.427z"})),hr||(hr=d.createElement("path",{fill:"#ffc399",d:"M126.288 12.877c.555 2.457-.397 1.902.078 3.488.375 1.25.729 2.066.635 3.488-.241 3.656-2.983 6.876-3.086 6.978-1.45 1.45-3.132 1.295-5.476.077-4.364-2.266-6.898-4.994-7.532-11.823-.471-5.072 3.763-8.847 9.014-8.313 3.249.332 5.449 2.04 6.367 6.103z"})),fr||(fr=d.createElement("path",{fill:"#be1e2d",d:"M114.461 9.389c3.944-.179 3.02 1.925 6.539 2.973 2.794.832 5.707-1.012 5.173 3.745-.475 4.212 9.401-4.116 1.46-7.591-1.269-.556-1.137-1.414-2.378-3.013-2.598-3.343-11.337-7.055-15.061-.873-.944 1.567 2.657 4.101 4.265 4.757z"})),yr||(yr=d.createElement("path",{fill:"#be1e2d",d:"M114.282 9.508c.912 3.597-.161 4.23-.653 5.47-.541 1.364-.803 2.65-1.487 3.925-.992-2.07-2.184-.317-5.276-4.36-5.537-7.24 9.782-16.915 7.416-5.035z"})),gr||(gr=d.createElement("path",{fill:"#ffc399",d:"M112.336 19.497c.617-1.633-4.029-4.43-3.599-1.043.209 1.642 1.516 2.574 2.913 3.152 2.294.945 1.195-1.676.569-3.058l.119.952z"})),vr||(vr=d.createElement("path",{fill:"#be1e2d",d:"M113.168 14.026c.309 1.25-.03 6.814 1.785 8.997-3.152-1.714-2.37-5.13-1.785-8.997z"})),br||(br=d.createElement("path",{fill:"#be1e2d",d:"M112.691 15.573c-.728.415-1.441 3.388-.323 5.705.006-.021.483-4.91.323-5.705z"})),xr||(xr=d.createElement("path",{fill:"#9e005d",d:"M117.012 34.121c-2.877-1.74-5.509-2.068-4.725-7.2.867-1.004.747-1.897.807-3.383-1.109.396-4.086 1.948-5.434 2.655-1.985 1.04-4.361 3.41-2.458 5.39.703.73-1.758 1.923.937 6.759 1.506-2.617 2.711-4.855 3.661-4.934 3.33-.079 4.431 1.667 7.372 2.378 7.214 1.744 11.654 6.501 12.525 8.164.036-1.051-1.269-4.914-12.683-9.829z"})),wr||(wr=d.createElement("path",{fill:"#9e005d",d:"M108.45 34.202c-8.258 11.429 2.709 12.432 5.351 22.998.119.48.656 1.17 1.503 1.322 5.051.903 10.884-1.744 15.862-6.92 1.408-1.463.247-4.902-1.546-5.648-2.319-1.546-7.378 4.023-13.006 2.992-.677-1.02-1.505-13.477-8.164-14.744z"})),Sr||(Sr=d.createElement("path",{fill:"#a0c9cb",d:"m155.213 40.425-.27 9.99-6.399-1.368-.094-9.712z"})),_r||(_r=d.createElement("path",{fill:"#75b0b3",d:"m155.48 50.235-.509.238c.085-11.096-.171-10.3.509-10.166v9.93z"})),Er||(Er=d.createElement("path",{fill:"#66a7ab",d:"M150.965 40.959c2.473.277 3.211 6.54 2.498 9.037-.119-.12-3.567-.833-3.686-.713-1.718-1.964-.992-8.57 1.188-8.324z"})),jr||(jr=d.createElement("path",{fill:"#467d7f",d:"M154.983 40.783s.153-1.902 0-2.02c-.153-.12-6.641-.655-6.641-.655-.776 1.706-.431 1.282 6.641 2.675z"})),kr||(kr=d.createElement("path",{fill:"#67a8ac",d:"m152.371 30.436 2.881 8.443-6.729-1.15-3.307-9.016z"})),Cr||(Cr=d.createElement("path",{fill:"#55989b",d:"m152.988 32.518.101.02-.716-2.1-7.155-1.725.656 1.786z"})),Rr||(Rr=d.createElement("path",{fill:"#519093",d:"m148.766 37.79-1.127.713-2.679-8.541 1.25-.893z"})),Nr||(Nr=d.createElement("path",{fill:"#b1d3d4",d:"m152.794 30.08-.922 1.069-6.552-1.01.869-1.011z"})),Or||(Or=d.createElement("path",{fill:"#a0c9cb",d:"M155.648 39.988c0 1.052-1.046 1.052-1.046 0s1.046-1.052 1.046 0z"})),Pr||(Pr=d.createElement("path",{fill:"#a0c9cb",d:"M147.639 38.502c1.501-.95.058-.881 7.713.317-1.38 1.189-.053 1.07-7.713-.317z"})),Tr||(Tr=d.createElement("path",{fill:"#75b0b3",d:"m155.354 38.879-1.037.832-2.444-8.681.922-1.07z"})),Lr||(Lr=d.createElement("path",{fill:"#6b1523",d:"M117.374 55.11c1.071-.299.06-1.962.713-4.862-1.972 4.042-1.699 5.134-.713 4.862z"})),Mr||(Mr=d.createElement("path",{fill:"#6b1523",d:"M119.989 48.095c.059-.594-2.913-8.918-9.097-9.276 3.448.12 10.494 9.176 8.452 9.395-1.853.535-6.076 2.32-4.41 3.925 1.307.773 1.605-3.152 4.627-3.895 4.567.882 7.438-3.94 10.415-1.874-2.809-3.503-5.362 2.14-9.989 1.725z"})),Ir||(Ir=d.createElement("path",{fill:"#6c2548",d:"M127.793 46.647c.309-.639 1.427-.396 2.336-1.56.449-.576.948-.203 1.687-.222 1.541-.043 2.544 2.996 1.737 4.15-.445.635-2.745 1.297-3.62 1.518-1.771.445-3.511-3.036-2.14-3.884z"})),Ar||(Ar=d.createElement("path",{fill:"#c44c31",d:"M123.081 15.099c-.993 1.109 1.35 4.64.988 6.262-.284 1.27-1.827.705-2.617-.157.694.027 1.78.445 1.982.078.76-1.384-1.539-4.914-.353-6.183z"})),Dr||(Dr=d.createElement("path",{fill:"#be1e2d",d:"M124.031 23.074c-2.5.504-4.483.504-5.69-.194.579.55 1.976 1.906 3.268 1.887 1.293-.02 1.235-.569 1.355-1.11.076-.206.528-.326 1.064-.586z"})),Fr||(Fr=d.createElement("path",{fill:"#e57c57",d:"M117.389 23.045c0-.616.545-.83 1.075-.93-.441.295-.092.88-.098.904-.481-.272-.62-.174-.977.026z"})),zr||(zr=d.createElement("path",{fill:"#35602c",d:"m150.614 40.5-2.973-.396.428 8.839 2.736-.024c2.241-.23 2.479-8.077-.191-8.42z"})),Ur||(Ur=d.createElement("path",{fill:"#569d48",d:"M149.867 44.427c.285 5.88-3.738 6.075-4.023.194-.285-5.88 3.737-6.075 4.023-.194z"})),Br||(Br=d.createElement("path",{fill:"#e57c57",d:"M136.434 42.288c5.055-.658 5.866-2.932 6.341-1.11.315.786-1.069 1.442-1.903 1.755-.443.164-1.044-.055-1.551-.104-1.12-.109-1.822.562-2.885.65-.123-.631.296-1.046 0-1.189z"})),qr||(qr=d.createElement("path",{fill:"#35602c",d:"M139.873 43.184c.168-.905 5.647-1.784 7.051-1.867 1.803-.107 2.161 6.066.475 6.184-2.362.164-4.487.357-6.872-.392-1.388-.435-1.904-.588-1.927-2.106-.017-1.12.749-2.068 1.273-1.819z"})),$r||($r=d.createElement("g",{fill:"#ffc399"},d.createElement("path",{d:"M131.123 45.597c3.759-1.073 7.006-4.783 7.689-4.023 1.091 1.212-.543 2.16-1.06 3.489-.698 1.797 1.054-.037-.403 1.784-.634.792-1.961.179-2.793.179-.556.157-1.863 1.328-2.498 1.486-1.031-.158-2.364-2.042-.937-2.913z"}),d.createElement("path",{d:"M138.898 41.243c3.239.682 4.923-.098 5.189 1.152.181.856 1.606 3.358 1.559 4.323-1.725.462-2.504-2.683-3.13-3.156-.426-.321-2.909.188-3.733.077-.824-.111-1.378-2.191.115-2.396z"}),d.createElement("path",{d:"M141.004 43.042c.573 1.983 2.144 3.145 1.51 3.79-.848.863-1.691 1.404-2.013 1.263-1.976-.87.322-1.169-.004-1.496-.326-.328-1.995-2.12-2.34-2.198.24-.924-.094-1.263-.303-2.212.211.07 2.865.35 3.152.853z"}),d.createElement("path",{d:"M137.707 42.446c.958-.115 1.457 1.48 1.546 1.784.166.567 1.348 1.806 1.427 2.379.179 1.277-1.071 1.188-1.755 1.456-.564.298-1.991-.743-.683-1.576-.935-.019-3.073-1.497-2.694-2.016.241-.004 1.148-2.383 2.157-2.025z"}),d.createElement("path",{d:"M137.599 43.08c.556 1.11 1.03 3.964.873 4.28-.271.544-.865 1.07-1.51 1.34s-1.026-.943-1.978-1.893c.792-.713 1.691-.128 1.665.239-.03.438.079-.318.396-.239-.238-.317-.884-1.365-1.188-1.982-.434-.88.635-2.536 1.744-1.744zM143.91 28.315c.475 1.744-.187 2.5-.238 3.092-.085.99.758 1.205 1.348 1.901.873 1.031.792 2.22 1.505 2.775 1.983-.873.015-3.264-.193-3.786-.158-.396.034-2.875 2.016-3.032-1.348-1.665-3.249-2.22-4.44-.952z"}))),Hr||(Hr=d.createElement("path",{fill:"#6b1523",d:"M112.653 25.483c-1.903.93-5.883 2.474-6.737 4.518-.599 1.431 5.707 1.11 13.081 5.31-3.805-2.774-9.996-4.01-10.307-4.992-.106-.335 2.715-4.87 3.963-4.836zM105.279 31.507c.839 1.118 2.3 1.11 4.202 1.586-.878-.434-4.779.837-4.361 0 .157-.317-.167-.875.157-1.586z"})),Wr||(Wr=d.createElement("path",{fill:"#f1f2f2",d:"M116.341 17.639c.007-.03.462-.848 2.206-1.014.678-.064 1.896.509 1.795 1.169-1.007.43-1.888.675-4.001-.155z"})),Vr||(Vr=d.createElement("path",{fill:"#231f20",d:"M120.347 17.688c-.062-.337-.441-.754-.918-.767-.526-.015-1.035.55-1.044.897-.004.153.086.276.224.37.684.015 1.19-.162 1.733-.394a.422.422 0 0 0 .005-.106z"})),Gr||(Gr=d.createElement("path",{fill:"#231f20",d:"M120.368 17.667c-.102-.768-1.512-1.3-2.404-1.303-1.244 0-1.491 1.171-2.272.735.177.703 1.141.928 1.801.933-2.327-.695 2.14-2.302 2.875-.365z"})),Kr||(Kr=d.createElement("path",{fill:"#f1f2f2",d:"M123.27 17.549c.977.332 2.076-.19 2.44-.741.592-.899-1.629-2.066-2.44.74z"})),Yr||(Yr=d.createElement("path",{fill:"#231f20",d:"M124.226 17.238a.33.33 0 0 0 .122.373c.604-.115 1.132-.452 1.365-.803a.576.576 0 0 0 .093-.245c-.323-.585-1.245-.539-1.58.675z"})),Zr||(Zr=d.createElement("path",{fill:"#231f20",d:"M123.249 17.568c.092-.724.417-1.478 1.329-1.887 1.175-.528 1.537.92 1.938-.268-.147 1.467-.592 1.476-1.523 1.987 1.022-.356.958-1.906-.373-1.403-1.062.402-1.196 1.152-1.369 1.571z"})),Jr||(Jr=d.createElement("path",{fill:"#be1e2d",d:"M126.024 14.621c.517.586-.337-.17-1.304-.06-.321.039-.841.352-1.122.365.554-1.076 1.663-1.17 2.426-.305zM119.708 14.939c-3.103-.776-3.531.176-4.685 1.79 2.238-2.446 3.518-.587 5.132-1.94-.245.024-.473.103-.447.15z"})),Qr||(Qr=d.createElement("path",{fill:"#6b1523",d:"M106.375 37.808c.416-1.427 1.651-3.48 2.315-3.607 4.108-.792 14.097 5.034 17.246 5.866-5.053-1.248-12.544-5.41-17.122-4.876-.586.192-2.081 1.901-2.439 2.617z"})),Xr||(Xr=d.createElement("path",{fill:"#642243",d:"M140.501 28.713c-.421-1.256-1.179-2.587-.805-4.042.379-1.475 2.232-2.05 2.815-3.43-1.65-.713-1.58 1.923-2.468 2.349-.038-.782-.142-1.516-.129-2.324-1.54 2.028-.703 4.913.589 7.45zM127.184 21.222c7.849.713 7.253 7.135 12.485 6.303-5.471 1.426-7.017-6.303-12.485-6.303z"})),en||(en=d.createElement("path",{fill:"#c44c31",d:"M120.525 19.497c0 .236-.594.236-.594 0s.594-.237.594 0zM118.622 19.852c0 .236-.358.236-.358 0s.358-.236.358 0zM124.39 19.02c0 .316-.474.316-.474 0 0-.315.474-.315.474 0zM125.28 19.972c0 .237-.475.237-.475 0s.475-.236.475 0zM125.638 18.784c0 .236-.474.236-.474 0 0-.237.474-.237.474 0zM120.406 20.685c0 .236-.475.236-.475 0s.475-.236.475 0z"})),tn||(tn=d.createElement("path",{fill:"#569d48",d:"M136.975 46.802c-.364-.268-.53-.656-.498-1.16-4.862.762-12.996 10.236-26.102 8.07.919.613 1.743 1.082 2.706 1.382 10.638 1.337 19.676-7.331 23.896-8.292z"})),sn||(sn=d.createElement("path",{fill:"#5f6368",d:"M238.632 23.565h2.267v.074l-5.066 5.844 5.405 7.63v.075h-2.151l-4.437-6.357-2.094 2.419v3.94h-1.754V23.564h1.754v7.027h.074zm5.892 1.084c0 .339-.124.637-.364.877s-.529.364-.877.364c-.34 0-.638-.124-.877-.364a1.198 1.198 0 0 1-.365-.877c0-.348.124-.637.365-.878.239-.24.53-.364.877-.364.339 0 .637.124.877.364.248.249.364.538.364.878zm-.355 3.22v9.327h-1.755v-9.328zm5.604 9.477c-.762 0-1.392-.232-1.896-.704-.505-.472-.762-1.126-.77-1.962v-5.215h-1.639v-1.597h1.639v-2.856h1.754v2.856h2.285v1.597h-2.284v4.644c0 .62.124 1.043.364 1.266.24.224.513.332.819.332.141 0 .273-.017.414-.05a2.19 2.19 0 0 0 .373-.124l.554 1.564c-.471.166-1.001.249-1.613.249zm-55.489-.878c-.969-.704-1.631-1.697-1.995-2.972l2.151-.878c.216.803.597 1.448 1.151 1.962.547.505 1.209.761 1.978.761.721 0 1.324-.182 1.829-.554.505-.373.754-.886.754-1.531 0-.596-.224-1.085-.662-1.474-.439-.389-1.209-.778-2.31-1.167l-.91-.323c-.977-.338-1.796-.827-2.459-1.464-.662-.637-.992-1.473-.992-2.515 0-.721.198-1.383.587-1.995.389-.613.935-1.093 1.639-1.458.695-.355 1.482-.538 2.367-.538 1.275 0 2.293.306 3.046.927.761.621 1.266 1.308 1.522 2.087l-2.051.868c-.15-.464-.43-.87-.853-1.217-.421-.356-.96-.53-1.622-.53s-1.224.166-1.68.505c-.455.34-.679.77-.679 1.3 0 .504.207.91.612 1.241.406.323 1.043.638 1.913.935l.911.306c1.249.431 2.209 1.002 2.896 1.698.687.695 1.027 1.63 1.027 2.797 0 .952-.241 1.747-.729 2.383a4.482 4.482 0 0 1-1.862 1.433 5.981 5.981 0 0 1-2.326.463c-1.209 0-2.293-.348-3.253-1.05zm9.924-11.571a1.45 1.45 0 0 1-.439-1.067c0-.423.149-.779.439-1.069a1.444 1.444 0 0 1 1.067-.439c.422 0 .778.15 1.067.44.291.289.439.645.439 1.067 0 .422-.149.778-.438 1.067a1.455 1.455 0 0 1-1.067.44c-.423-.01-.779-.15-1.068-.44zm-.05 1.937h2.234v10.362h-2.234zm7.093 10.304a2.898 2.898 0 0 1-.993-.588c-.579-.579-.878-1.373-.878-2.375v-5.372h-1.812v-1.97h1.812v-2.92h2.235v2.93h2.517v1.97h-2.517v4.874c0 .555.108.952.323 1.176.207.273.555.405 1.06.405.231 0 .43-.033.612-.091.174-.058.364-.157.571-.298v2.177c-.447.207-.985.306-1.622.306a3.735 3.735 0 0 1-1.308-.224zm6.133-.33a4.946 4.946 0 0 1-1.887-1.962c-.455-.836-.679-1.771-.679-2.814 0-.994.224-1.904.662-2.756.439-.845 1.052-1.523 1.838-2.02s1.68-.754 2.682-.754c1.043 0 1.945.232 2.714.688a4.572 4.572 0 0 1 1.747 1.887c.397.803.596 1.697.596 2.707 0 .19-.017.43-.058.711h-7.946c.083.96.423 1.706 1.026 2.227.58.512 1.33.79 2.103.778.637 0 1.192-.141 1.655-.439a3.185 3.185 0 0 0 1.126-1.192l1.887.894c-.488.853-1.126 1.523-1.912 2.011-.786.489-1.73.729-2.823.729-1.018.016-1.927-.215-2.731-.695zm5.397-6.01a2.497 2.497 0 0 0-.348-1.084 2.486 2.486 0 0 0-.927-.902c-.413-.24-.918-.364-1.515-.364-.72 0-1.324.215-1.821.637-.496.422-.836 1.001-1.026 1.714z"})),rn||(rn=d.createElement("g",{fillRule:"evenodd",clipPath:"url(#yoast-connect-google-site-kit_svg__g)",clipRule:"evenodd"},d.createElement("path",{fill:"#fbbc05",d:"m170.119 26.56 2.576 1.97a4.563 4.563 0 0 0 0 2.85l-2.576 1.97a7.667 7.667 0 0 1-.785-3.395c0-1.22.283-2.373.785-3.394z"}),d.createElement("path",{fill:"#ea4335",d:"m172.696 28.53-2.577-1.97a7.64 7.64 0 0 1 6.877-4.266c1.95 0 3.691.731 5.049 1.915l-2.229 2.229a4.428 4.428 0 0 0-2.82-1.01 4.518 4.518 0 0 0-4.3 3.103z"}),d.createElement("path",{fill:"#34a853",d:"m170.118 33.347 2.576-1.975a4.514 4.514 0 0 0 4.301 3.11c2.124 0 3.726-1.08 4.109-2.96h-4.109v-2.96h7.139c.104.452.174.94.174 1.392 0 4.875-3.482 7.661-7.313 7.661a7.637 7.637 0 0 1-6.877-4.268z"}),d.createElement("path",{fill:"#4285f4",d:"m181.988 35.707-2.446-1.893c.8-.505 1.357-1.284 1.562-2.293h-4.109v-2.96h7.138c.105.453.175.94.175 1.393 0 2.497-.914 4.446-2.32 5.753z"})))),on=({isOpen:e,onClose:t,onGrantConsent:s=null,learnMoreLink:r=""})=>{const n=(0,l.useSvgAria)();return(0,Zt.jsx)(l.Modal,{isOpen:e,onClose:t,children:(0,Zt.jsxs)(l.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl",hasCloseButton:!1,children:[(0,Zt.jsx)(l.Modal.CloseButton,{className:"yst-bg-transparent yst-text-gray-500 focus:yst-ring-offset-0",onClick:t,screenReaderText:(0,Wt.__)("Close","wordpress-seo")}),(0,Zt.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-bg-gradient-to-b yst-from-primary-500/25 yst-to-[80%]",children:(0,Zt.jsx)(an,{className:"yst-aspect-video yst-max-w-[432px] yst-p-7 yst-bg-white yst-rounded-md yst-drop-shadow-md"})}),(0,Zt.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Zt.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Zt.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,Wt.__)("Grant consent to connect with Site Kit by Google","wordpress-seo")}),(0,Zt.jsxs)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:[(0,Wt.__)("Give us permission to access your Site Kit data, allowing insights from tools like Google Analytics and Search Console to be displayed directly on your dashboard.","wordpress-seo")," ",(0,Zt.jsxs)(ns,{className:"yst-no-underline yst-font-medium",variant:"primary",href:r,children:[(0,Wt.__)("Learn more","wordpress-seo"),(0,Zt.jsx)(qs,{className:"yst-inline yst-h-4 yst-w-4 yst-ms-1 rtl:yst-rotate-180",...n})]})]})]}),(0,Zt.jsx)("div",{className:"yst-w-full yst-flex yst-mt-10",children:(0,Zt.jsx)(l.Button,{className:"yst-grow",size:"extra-large",variant:"primary",onClick:s||t,children:(0,Wt.__)("Grant consent","wordpress-seo")})}),(0,Zt.jsx)(l.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:t,children:(0,Wt.__)("Close","wordpress-seo")})]})]})})};on.propTypes={isOpen:Yt().bool.isRequired,onClose:Yt().func.isRequired,onGrantConsent:Yt().func,learnMoreLink:Yt().string},Yt().func.isRequired,Yt().string.isRequired,Yt().string.isRequired,Yt().string.isRequired,Yt().string.isRequired;const ln=({userName:e,features:t,links:s,sitekitFeatureEnabled:r})=>{ /** * translators: %1$s and %2$s expand to an opening and closing anchor tag, to the site features page. * %3$s and %4$s expand to an opening and closing anchor tag, to the user profile page. **/ const n=(0,Wt.__)("Welcome to your dashboard! Check your content's SEO performance, readability, and overall strengths and opportunities. Get even more insights by enabling the ‘SEO analysis’ and the ‘Readability analysis’ in your %1$sSite features%2$s or your %3$suser profile settings%4$s.","wordpress-seo"),a=(0,Wt.__)("It looks like the ‘SEO analysis’ and the ‘Readability analysis’ are currently disabled in your %1$sSite features%2$s or your %3$suser profile settings%4$s. Enable these features to start seeing all the insights you need right here!","wordpress-seo"),o=r?n:a,i=r?(0,Wt.__)("Oops! You can’t see the overview of your SEO insights right now because you’re in a non-production environment.","wordpress-seo"):(0,Wt.__)("Oops! You can’t see the overview of your SEO scores and readability scores right now because you’re in a non-production environment.","wordpress-seo"); /** * translators: %1$s and %2$s expand to an opening and closing anchor tag, to the site features page. * %3$s and %4$s expand to an opening and closing anchor tag, to the user profile page. **/return(0,Zt.jsx)(l.Paper,{className:"yst-shadow-md",children:(0,Zt.jsxs)(l.Paper.Content,{className:"yst-flex yst-flex-col yst-gap-y-4 yst-max-w-screen-sm",children:[(0,Zt.jsx)(l.Title,{as:"h1",children:(0,Wt.sprintf)(/* translators: %s expands to the username */ (0,Wt.__)("Hi %s,","wordpress-seo"),e)}),(0,Zt.jsx)("p",{className:"yst-text-tiny",children:!t.indexables||t.seoAnalysis||t.readabilityAnalysis?Vt((0,Wt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing anchor tag. */ (0,Wt.__)("Welcome to your dashboard! Check your content's SEO performance, readability, and overall strengths and opportunities. %1$sLearn more about the dashboard%2$s.","wordpress-seo"),"<link>","</link>"),{link:(0,Zt.jsx)(ns,{href:s.dashboardLearnMore,children:" "})}):Vt((0,Wt.sprintf)(o,"<link>","</link>","<profilelink>","</profilelink>"),{link:(0,Zt.jsx)(l.Link,{href:"admin.php?page=wpseo_page_settings#/site-features",children:" "}),profilelink:(0,Zt.jsx)(l.Link,{href:"profile.php",children:" "})})}),!t.indexables&&(0,Zt.jsx)(l.Alert,{type:"info",children:i})]})})},cn=({widgetFactory:e,userName:t,features:s,links:r,sitekitFeatureEnabled:n,dataProvider:a})=>{const l=(0,o.useCallback)((()=>a.getSiteKitConfiguration()),[a]),c=(0,o.useCallback)((e=>a.subscribe(e)),[a]);return(0,o.useSyncExternalStore)(c,l),(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(ln,{userName:t,features:s,links:r,sitekitFeatureEnabled:n}),(0,Zt.jsx)("div",{className:"yst-@container yst-grid yst-grid-cols-4 yst-gap-6 yst-my-6",children:(0,Zt.jsx)(i.Dashboard,{widgetFactory:e})})]})};function dn(e,t){return e.get(function(e,t,s){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:s;throw new TypeError("Private element is not present on this object")}(e,t))}function un(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,dn(t,e))}function pn(e,t,s){return function(e,t,s){if(t.set)t.set.call(e,s);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=s}}(e,dn(t,e),s),s}function mn(e,t,s){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,s)}var hn=new WeakMap,fn=new WeakMap,yn=new WeakMap,gn=new WeakMap,vn=new WeakMap,bn=new WeakMap,xn=new WeakMap,wn=new WeakMap;class Sn{constructor({contentTypes:e,userName:t,features:s,endpoints:r,headers:n,links:a,siteKitConfiguration:o}){mn(this,hn,{writable:!0,value:void 0}),mn(this,fn,{writable:!0,value:void 0}),mn(this,yn,{writable:!0,value:void 0}),mn(this,gn,{writable:!0,value:void 0}),mn(this,vn,{writable:!0,value:void 0}),mn(this,bn,{writable:!0,value:void 0}),mn(this,xn,{writable:!0,value:void 0}),mn(this,wn,{writable:!0,value:new Set}),pn(this,hn,e),pn(this,fn,t),pn(this,yn,s),pn(this,gn,r),pn(this,vn,n),pn(this,bn,a),pn(this,xn,o)}subscribe(e){return un(this,wn).add(e),()=>un(this,wn).delete(e)}notifySubscribers(){un(this,wn).forEach((e=>e()))}getContentTypes(){return un(this,hn)}getUserName(){return un(this,fn)}getStepsStatuses(){return[un(this,xn).connectionStepsStatuses.isInstalled,un(this,xn).connectionStepsStatuses.isActive,un(this,xn).connectionStepsStatuses.isSetupCompleted,un(this,xn).connectionStepsStatuses.isConsentGranted]}hasFeature(e){var t;return!0===(null===(t=un(this,yn))||void 0===t?void 0:t[e])}getEndpoint(e){var t;return null===(t=un(this,gn))||void 0===t?void 0:t[e]}getHeaders(){return un(this,vn)}getLink(e){var t;return null===(t=un(this,bn))||void 0===t?void 0:t[e]}getSiteKitConfiguration(){return un(this,xn)}getSiteKitCurrentConnectionStep(){return this.getStepsStatuses().findIndex((e=>!e))}isSiteKitConnectionCompleted(){return-1===this.getSiteKitCurrentConnectionStep()}setSiteKitConsentGranted(e){const t=(0,c.cloneDeep)(un(this,xn));t.connectionStepsStatuses.isConsentGranted=e,pn(this,xn,t),this.notifySubscribers()}setSiteKitConfigurationDismissed(e){pn(this,xn,{...un(this,xn),isSetupWidgetDismissed:e}),this.notifySubscribers()}}function En(e,t,s){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,s)}var jn=new WeakMap,kn=new WeakMap,Cn=new WeakMap;class Rn{constructor(e,t){En(this,jn,{writable:!0,value:void 0}),En(this,kn,{writable:!0,value:void 0}),En(this,Cn,{writable:!0,value:void 0}),pn(this,jn,e.data),pn(this,kn,e.endpoint),pn(this,Cn,t)}getTrackingElement(e){var t;return null===(t=un(this,jn))||void 0===t?void 0:t[e]}track(e){const t=(0,c.cloneDeep)(un(this,jn));let s=!1;Object.entries(e).forEach((([e,r])=>{void 0!==t[e]&&t[e]!==r&&(t[e]=r,s=!0)})),s&&(pn(this,jn,t),this.storeData(t))}storeData(e,t){un(this,Cn).fetchJson(un(this,kn),e,{...t,method:"POST"}).catch(c.noop)}}const Nn=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),On=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))}));var Pn,Tn,Ln,Mn,In,An,Dn,Fn,zn,Un;function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Bn.apply(null,arguments)}const qn=e=>d.createElement("svg",Bn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 252 60"},e),Pn||(Pn=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit-success_svg__a)",fillRule:"evenodd",d:"M36.962 29.643c0-3.42 1.83-6.49 6.405-6.49 4.403 0 6.375 2.8 6.386 6.698.008 3.2-1.785 6.416-6.386 6.416-4.602 0-6.405-3.072-6.405-6.624Zm8.432-2.74c-1.173-1.64-4.688-1.64-4.8 2.932.046 2.582 1.245 3.614 2.773 3.63 3.317.039 3.093-5.067 2.027-6.562Z",clipRule:"evenodd"})),Tn||(Tn=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit-success_svg__b)",d:"M80.475 33.094v-6.63h2.369v-2.875h-2.369v-3.475h-3.659v3.475H74.96v2.877h1.856v6.258c0 3.552 2.477 5.665 5.092 6.102L83 35.877c-1.524-.193-2.51-1.332-2.525-2.783Z"})),Ln||(Ln=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit-success_svg__c)",fillRule:"evenodd",d:"M62.008 27.062v4.981c0 .7.196 1.67.425 2.803.089.436.182.897.27 1.376H59.18l-.611-1.472c-4.117 2.994-8.052.974-8.052-2.168 0-4.131 4.01-4.632 7.776-4.632l.003-.249c.01-.465.02-.985-.24-1.336v-.007c-.01-.014-.022-.027-.034-.04l-.011-.013c-.602-.675-2.327-1.028-5.21.341l-1.283-2.575c4.428-1.546 10.144-1.555 10.461 2.47.018.174.028.347.029.52Zm-6.521 3.81c-2.718 1.331-.064 4.384 2.835 1.14v-1.425c-.949 0-2.035.012-2.835.284Z",clipRule:"evenodd"})),Mn||(Mn=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit-success_svg__d)",d:"M67.636 26.794c0-1.227 1.966-1.801 5.065-.386l1.071-2.606c-4.17-1.262-9.866-1.37-9.904 2.992-.016 2.09 1.324 3.216 3.255 3.933 1.337.498 3.269.755 3.263 1.82-.007 1.392-3.001 1.605-5.726-.267l-1.1 2.823c3.715 1.85 10.627 1.901 10.59-2.734-.03-4.583-6.514-3.798-6.514-5.575Z"})),In||(In=d.createElement("path",{fill:"url(#yoast-connect-google-site-kit-success_svg__e)",d:"M35.415 16.875 30.11 31.609l-2.54-7.956h-3.779l4.23 10.866a3.957 3.957 0 0 1 0 2.877c-.473 1.213-1.26 2.25-3.177 2.508v3.221c3.734 0 5.753-2.295 7.554-7.326l7.06-18.924h-4.043Z"})),An||(An=d.createElement("circle",{cx:126,cy:30,r:30,fill:"#DCFCE7"})),Dn||(Dn=d.createElement("path",{stroke:"#16A34A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"m117.045 31.25 5 5 12.5-12.5"})),Fn||(Fn=d.createElement("path",{fill:"#5F6368",d:"M238.632 23.565h2.267v.074l-5.066 5.844 5.405 7.63v.075h-2.151l-4.437-6.357-2.094 2.419v3.94h-1.754V23.564h1.754v7.027h.074l6.002-7.027Zm5.892 1.084c0 .339-.124.637-.364.877a1.19 1.19 0 0 1-.877.364c-.34 0-.638-.124-.877-.364a1.198 1.198 0 0 1-.365-.877c0-.348.124-.637.365-.878.239-.24.53-.364.877-.364.339 0 .637.124.877.364.248.249.364.538.364.878Zm-.355 3.22v9.328h-1.755v-9.329h1.755Zm5.604 9.477c-.762 0-1.392-.232-1.896-.704-.505-.472-.762-1.126-.77-1.962v-5.215h-1.639v-1.597h1.639v-2.856h1.754v2.856h2.285v1.597h-2.284v4.644c0 .62.124 1.043.364 1.266.24.224.513.332.819.332.141 0 .273-.017.414-.05a2.19 2.19 0 0 0 .373-.124l.554 1.564c-.471.166-1.001.249-1.613.249Zm-55.489-.878c-.969-.704-1.631-1.697-1.995-2.972l2.151-.878c.216.803.597 1.448 1.151 1.962.547.505 1.209.761 1.978.761.721 0 1.324-.182 1.829-.554.505-.373.754-.886.754-1.531 0-.596-.224-1.085-.662-1.474-.439-.389-1.209-.777-2.31-1.167l-.91-.323c-.977-.338-1.796-.827-2.459-1.464-.662-.637-.992-1.473-.992-2.515 0-.721.198-1.383.587-1.995.389-.613.935-1.093 1.639-1.458.695-.355 1.482-.537 2.367-.537 1.275 0 2.293.305 3.046.927.761.62 1.266 1.307 1.522 2.086l-2.051.868c-.15-.464-.43-.87-.853-1.217-.421-.356-.96-.53-1.622-.53-.662 0-1.224.166-1.68.505-.455.34-.679.77-.679 1.3 0 .505.207.91.612 1.241.406.323 1.043.638 1.913.935l.911.306c1.249.431 2.209 1.002 2.896 1.698.687.695 1.027 1.63 1.027 2.797 0 .952-.241 1.747-.729 2.383a4.482 4.482 0 0 1-1.862 1.433 5.981 5.981 0 0 1-2.326.463c-1.209 0-2.293-.348-3.253-1.05Zm9.924-11.571a1.45 1.45 0 0 1-.439-1.067c0-.423.149-.779.439-1.069a1.444 1.444 0 0 1 1.067-.438c.422 0 .779.149 1.067.438.291.29.439.646.439 1.068 0 .422-.149.778-.438 1.067a1.455 1.455 0 0 1-1.067.44c-.423-.01-.779-.15-1.068-.44Zm-.05 1.937h2.234v10.362h-2.234V26.834Zm7.093 10.304a2.898 2.898 0 0 1-.993-.588c-.579-.579-.878-1.373-.878-2.375v-5.372h-1.812v-1.97h1.812v-2.92h2.235v2.93h2.517v1.97h-2.517v4.874c0 .555.108.952.323 1.176.207.273.555.405 1.06.405.231 0 .43-.033.612-.091.174-.058.364-.157.571-.298v2.177c-.447.207-.985.306-1.622.306a3.735 3.735 0 0 1-1.308-.224Zm6.133-.33a4.946 4.946 0 0 1-1.887-1.962c-.455-.836-.679-1.771-.679-2.814 0-.994.224-1.904.662-2.756a5.157 5.157 0 0 1 1.838-2.02c.786-.497 1.68-.754 2.682-.754 1.043 0 1.945.232 2.714.688a4.572 4.572 0 0 1 1.747 1.887c.397.803.596 1.697.596 2.707 0 .19-.017.43-.058.711h-7.946c.083.96.423 1.706 1.026 2.227.58.512 1.33.79 2.103.778.637 0 1.192-.141 1.655-.439a3.185 3.185 0 0 0 1.126-1.192l1.887.894c-.488.853-1.126 1.523-1.912 2.011-.786.489-1.73.729-2.823.729-1.018.016-1.927-.215-2.731-.695Zm5.397-6.01a2.497 2.497 0 0 0-.348-1.084 2.486 2.486 0 0 0-.927-.902c-.413-.24-.918-.364-1.515-.364-.72 0-1.324.215-1.821.637-.496.422-.836 1.001-1.026 1.713h5.637Z"})),zn||(zn=d.createElement("g",{fillRule:"evenodd",clipPath:"url(#yoast-connect-google-site-kit-success_svg__f)",clipRule:"evenodd"},d.createElement("path",{fill:"#FBBC05",d:"m170.119 26.56 2.576 1.97a4.563 4.563 0 0 0 0 2.85l-2.576 1.97a7.667 7.667 0 0 1-.785-3.395c0-1.22.283-2.373.785-3.394Z"}),d.createElement("path",{fill:"#EA4335",d:"m172.696 28.53-2.577-1.97a7.64 7.64 0 0 1 6.877-4.266c1.95 0 3.691.731 5.049 1.915l-2.229 2.229a4.428 4.428 0 0 0-2.82-1.01 4.518 4.518 0 0 0-4.3 3.102Z"}),d.createElement("path",{fill:"#34A853",d:"m170.118 33.347 2.576-1.975a4.514 4.514 0 0 0 4.301 3.11c2.124 0 3.726-1.08 4.109-2.96h-4.109v-2.96h7.139c.104.452.174.94.174 1.392 0 4.875-3.482 7.661-7.313 7.661a7.637 7.637 0 0 1-6.877-4.268Z"}),d.createElement("path",{fill:"#4285F4",d:"m181.988 35.707-2.446-1.893c.8-.505 1.357-1.283 1.562-2.293h-4.109v-2.96h7.138c.105.453.175.94.175 1.393 0 2.497-.914 4.446-2.32 5.753Z"}))),Un||(Un=d.createElement("defs",null,d.createElement("linearGradient",{id:"yoast-connect-google-site-kit-success_svg__a",x1:49.753,x2:49.753,y1:36.267,y2:23.152,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#570732"}),d.createElement("stop",{offset:.04,stopColor:"#610B39"}),d.createElement("stop",{offset:.15,stopColor:"#79164B"}),d.createElement("stop",{offset:.29,stopColor:"#8C1E59"}),d.createElement("stop",{offset:.44,stopColor:"#9A2463"}),d.createElement("stop",{offset:.63,stopColor:"#A22768"}),d.createElement("stop",{offset:1,stopColor:"#A4286A"})),d.createElement("linearGradient",{id:"yoast-connect-google-site-kit-success_svg__b",x1:82.999,x2:82.999,y1:38.82,y2:20.114,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#570732"}),d.createElement("stop",{offset:.04,stopColor:"#610B39"}),d.createElement("stop",{offset:.15,stopColor:"#79164B"}),d.createElement("stop",{offset:.29,stopColor:"#8C1E59"}),d.createElement("stop",{offset:.44,stopColor:"#9A2463"}),d.createElement("stop",{offset:.63,stopColor:"#A22768"}),d.createElement("stop",{offset:1,stopColor:"#A4286A"})),d.createElement("linearGradient",{id:"yoast-connect-google-site-kit-success_svg__c",x1:62.701,x2:62.701,y1:36.222,y2:23.113,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#570732"}),d.createElement("stop",{offset:.04,stopColor:"#610B39"}),d.createElement("stop",{offset:.15,stopColor:"#79164B"}),d.createElement("stop",{offset:.29,stopColor:"#8C1E59"}),d.createElement("stop",{offset:.44,stopColor:"#9A2463"}),d.createElement("stop",{offset:.63,stopColor:"#A22768"}),d.createElement("stop",{offset:1,stopColor:"#A4286A"})),d.createElement("linearGradient",{id:"yoast-connect-google-site-kit-success_svg__d",x1:74.149,x2:74.149,y1:36.275,y2:23.046,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#570732"}),d.createElement("stop",{offset:.04,stopColor:"#610B39"}),d.createElement("stop",{offset:.15,stopColor:"#79164B"}),d.createElement("stop",{offset:.29,stopColor:"#8C1E59"}),d.createElement("stop",{offset:.44,stopColor:"#9A2463"}),d.createElement("stop",{offset:.63,stopColor:"#A22768"}),d.createElement("stop",{offset:1,stopColor:"#A4286A"})),d.createElement("linearGradient",{id:"yoast-connect-google-site-kit-success_svg__e",x1:25.434,x2:25.434,y1:16.169,y2:36.914,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#77B227"}),d.createElement("stop",{offset:.47,stopColor:"#75B027"}),d.createElement("stop",{offset:.64,stopColor:"#6EAB27"}),d.createElement("stop",{offset:.75,stopColor:"#63A027"}),d.createElement("stop",{offset:.85,stopColor:"#529228"}),d.createElement("stop",{offset:.93,stopColor:"#3C8028"}),d.createElement("stop",{offset:1,stopColor:"#246B29"})),d.createElement("clipPath",{id:"yoast-connect-google-site-kit-success_svg__f"},d.createElement("path",{fill:"#fff",d:"M169.334 22h14.973v15.909h-14.973z"}))))),$n=[{children:(0,Wt.__)("INSTALL","wordpress-seo"),id:"install"},{children:(0,Wt.__)("ACTIVATE","wordpress-seo"),id:"activate"},{children:(0,Wt.__)("SET UP","wordpress-seo"),id:"setup"},{children:(0,Wt.__)("CONNECT","wordpress-seo"),id:"connect"}],Hn={install:0,activate:1,setup:2,grantConsent:3,successfullyConnected:-1},Wn=(e,t)=>[Hn.setup,Hn.grantConsent,Hn.successfullyConnected].includes(e)&&!t,Vn=({isSiteKitConnectionCompleted:e})=>(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(l.Title,{size:"2",className:"yst-mb-4",children:e?(0,Wt.__)("You’ve successfully connected your site with Site Kit by Google!","wordpress-seo"):(0,Wt.__)("Expand your dashboard with insights from Google!","wordpress-seo")}),!e&&(0,Zt.jsx)("p",{className:"yst-mb-4",children:(0,Wt.__)("Bring together powerful tools like Google Analytics and Search Console for a complete overview of your website's performance, all in one seamless dashboard.","wordpress-seo")})]}),Gn=({capabilities:e,currentStep:t,isVersionSupported:s,isConsentGranted:r})=>{const n="yst-mt-6";return Wn(t,s)?r?(0,Zt.jsx)(l.Alert,{className:n,variant:"error",children:(0,Wt.__)("Your current version of the Site Kit by Google plugin is no longer compatible with Yoast SEO. Please update to the latest version to restore the connection.","wordpress-seo")}):(0,Zt.jsx)(l.Alert,{className:n,children:(0,Wt.__)("You are using an outdated version of the Site Kit by Google plugin. Please update to the latest version to connect Yoast SEO with Site Kit by Google.","wordpress-seo")}):t===Hn.successfullyConnected?null:!e.installPlugins&&t<Hn.grantConsent?(0,Zt.jsx)(l.Alert,{className:n,children:(0,Wt.__)("Please contact your WordPress admin to install, activate, and set up the Site Kit by Google plugin.","wordpress-seo")}):e.viewSearchConsoleData||t!==Hn.grantConsent?void 0:(0,Zt.jsx)(l.Alert,{className:n,children:(0,Wt.__)("You don’t have view access to Site Kit by Google. Please contact the admin who set it up.","wordpress-seo")})},Kn=({dashboardUrl:e})=>(0,Zt.jsx)(l.Alert,{className:"yst-mb-4",children:Vt((0,Wt.sprintf)(/* translators: %1$s and %2$s: Expands to an opening and closing link tag. */ (0,Wt.__)("You’re back in Yoast SEO. If you still have tasks to finish in Site Kit by Google, you can %1$s return to their dashboard%2$s anytime.","wordpress-seo"),"<a>","</a>"),{a:(0,Zt.jsx)("a",{href:e})})}),Yn=({currentStep:e,config:t,isConnectionCompleted:s,onDismissWidget:r,onShowConsent:n})=>{const a=(0,o.useCallback)(((e,s="installPlugins")=>{var r;return null!==(r=t.capabilities)&&void 0!==r&&r[s]?e:null}),[t.capabilities]);if(Wn(e,t.isVersionSupported))return(0,Zt.jsx)(l.Button,{as:"a",href:t.updateUrl,children:(0,Wt.__)("Update Site Kit by Google","wordpress-seo")});if(s)return(0,Zt.jsx)(l.Button,{onClick:r,children:(0,Wt.__)("Got it!","wordpress-seo")});switch(e){case Hn.install:return(0,Zt.jsx)(l.Button,{as:"a",href:a(t.installUrl),disabled:!t.capabilities.installPlugins,"aria-disabled":!t.capabilities.installPlugins,children:(0,Wt.__)("Install Site Kit by Google","wordpress-seo")});case Hn.activate:return(0,Zt.jsx)(l.Button,{as:"a",href:a(t.activateUrl),disabled:!t.capabilities.installPlugins,"aria-disabled":!t.capabilities.installPlugins,children:(0,Wt.__)("Activate Site Kit by Google","wordpress-seo")});case Hn.setup:return(0,Zt.jsx)(l.Button,{as:"a",href:a(t.setupUrl),disabled:!t.capabilities.installPlugins,"aria-disabled":!t.capabilities.installPlugins,children:(0,Wt.__)("Set up Site Kit by Google","wordpress-seo")});case Hn.grantConsent:return(0,Zt.jsx)(l.Button,{disabled:!t.capabilities.viewSearchConsoleData,onClick:n,children:(0,Wt.__)("Connect Site Kit by Google","wordpress-seo")})}return null},Zn=({dataProvider:e,remoteDataProvider:t,dataTracker:s})=>{const{grantConsent:r,dismissPermanently:n}=((e,t)=>({grantConsent:(0,o.useCallback)((s=>{t.fetchJson(e.getEndpoint("siteKitConsentManagement"),{consent:String(!0)},{...s,method:"POST"}).then((({success:t})=>{t&&e.setSiteKitConsentGranted(!0)})).catch(c.noop)}),[e,t]),dismissPermanently:(0,o.useCallback)((s=>{t.fetchJson(e.getEndpoint("siteKitConfigurationDismissal"),{is_dismissed:String(!0)},{...s,method:"POST"}).catch(c.noop),e.setSiteKitConfigurationDismissed(!0)}),[t,e])}))(e,t),a=e.getSiteKitCurrentConnectionStep(),d=e.getSiteKitConfiguration(),u=e.isSiteKitConnectionCompleted()&&d.isVersionSupported;((e,t)=>{(0,o.useEffect)((()=>{const s=(r=t,null===(n=Object.entries(Hn).find((([,e])=>e===r)))||void 0===n?void 0:n[0]);var r,n;"no"===e.getTrackingElement("setupWidgetLoaded")?e.track({setupWidgetLoaded:"yes",firstInteractionStage:s,lastInteractionStage:s}):"yes"===e.getTrackingElement("setupWidgetLoaded")&&e.track({lastInteractionStage:s})}),[e,t])})(s,a);const p=(0,o.useCallback)((()=>{e.setSiteKitConfigurationDismissed(!0)}),[e]),m=(0,o.useCallback)((()=>{p(),s.track({setupWidgetTemporarilyDismissed:"yes"})}),[s,p]),[h,,,f,y]=(0,l.useToggleState)(!1),g=(0,o.useCallback)((()=>{n(),s.track({setupWidgetPermanentlyDismissed:"yes"})}),[s,a]),v=e.getLink("siteKitLearnMore"),b=e.getLink("siteKitConsentLearnMore");return(0,Zt.jsxs)(i.Widget,{className:"yst-paper__content yst-relative @3xl:yst-col-span-2 yst-col-span-4",children:[(0,Zt.jsx)("div",{className:"yst-flex yst-justify-center yst-mb-6 yst-mt-4",children:u?(0,Zt.jsx)(qn,{className:"yst-aspect-[21/5] yst-max-w-[252px]"}):(0,Zt.jsx)(an,{className:"yst-aspect-[21/5] yst-max-w-[252px]"})}),!Wn(a,d.isVersionSupported)&&(0,Zt.jsx)(l.Stepper,{steps:$n,currentStep:a===Hn.successfullyConnected?$n.length:a,className:"yst-mb-6"}),(0,Zt.jsxs)(l.DropdownMenu,{as:"span",className:"yst-absolute yst-top-4 yst-end-4",children:[(0,Zt.jsx)(l.DropdownMenu.IconTrigger,{screenReaderTriggerLabel:(0,Wt.__)("Open Site Kit widget dropdown menu","wordpress-seo"),className:"yst-float-end"}),(0,Zt.jsxs)(l.DropdownMenu.List,{className:"yst-mt-8 yst-w-56",children:[(0,Zt.jsxs)(l.DropdownMenu.ButtonItem,{className:"yst-text-slate-600 yst-border-b yst-border-slate-200 yst-flex yst-py-2 yst-justify-start yst-gap-2 yst-px-4 yst-font-normal",onClick:m,children:[(0,Zt.jsx)(Nn,{className:"yst-w-4 yst-text-slate-400 yst-shrink-0"}),(0,Wt.__)("Remove until next visit","wordpress-seo")]}),(0,Zt.jsxs)(l.DropdownMenu.ButtonItem,{className:"yst-text-red-500 yst-flex yst-py-2 yst-justify-start yst-gap-2 yst-px-4 yst-font-normal",onClick:g,children:[(0,Zt.jsx)(On,{className:"yst-w-4 yst-shrink-0"}),(0,Wt.__)("Remove permanently","wordpress-seo")]})]})]}),(0,Zt.jsx)("hr",{className:"yst-bg-slate-200 yst-mb-6"}),d.isRedirectedFromSiteKit&&(0,Zt.jsx)(Kn,{dashboardUrl:d.dashboardUrl}),(0,Zt.jsxs)("div",{className:"yst-max-w-2xl",children:[(0,Zt.jsx)(Vn,{isSiteKitConnectionCompleted:u}),(0,Zt.jsx)("span",{className:"yst-text-slate-800 yst-font-medium",children:u?(0,Wt.__)("You're all set, here are some benefits:","wordpress-seo"):(0,Wt.__)("Here's what you'll unlock:","wordpress-seo")}),(0,Zt.jsxs)("ul",{children:[(0,Zt.jsxs)("li",{className:"yst-gap-2 yst-flex yst-mt-2 yst-items-start",children:[(0,Zt.jsx)(as,{className:"yst-w-5 yst-text-green-400 yst-shrink-0"}),(0,Wt.__)("Grow your audience with actionable SEO and user behavior insights.","wordpress-seo")]}),(0,Zt.jsxs)("li",{className:"yst-gap-2 yst-flex yst-mt-2 yst-items-start",children:[(0,Zt.jsx)(as,{className:"yst-w-5 yst-text-green-400 yst-shrink-0"}),(0,Wt.__)("Fine-tune your SEO and optimize your content using key performance metrics (KPI).","wordpress-seo")]})]}),(0,Zt.jsx)(Gn,{capabilities:d.capabilities,currentStep:a,isVersionSupported:d.isVersionSupported,isConsentGranted:d.connectionStepsStatuses.isConsentGranted})]}),(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-1.5 yst-mt-6 yst-items-center",children:[(0,Zt.jsx)(Yn,{currentStep:a,config:d,isConnectionCompleted:u,onDismissWidget:p,onShowConsent:f}),!u&&(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)(l.Button,{as:"a",href:v,variant:"tertiary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener",children:[(0,Wt.__)("Learn more","wordpress-seo"),(0,Zt.jsx)(ws,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")})]}),(0,Zt.jsx)(on,{isOpen:a===Hn.grantConsent&&h,onClose:y,onGrantConsent:r,learnMoreLink:b})]})]})]})};function Jn(e,t,s){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,s)}var Qn=new WeakMap,Xn=new WeakMap,ea=new WeakMap,ta=new WeakMap,sa=new WeakMap;class ra{constructor(e,t,s,r,n){Jn(this,Qn,{writable:!0,value:void 0}),Jn(this,Xn,{writable:!0,value:void 0}),Jn(this,ea,{writable:!0,value:void 0}),Jn(this,ta,{writable:!0,value:void 0}),Jn(this,sa,{writable:!0,value:void 0}),pn(this,Qn,e),pn(this,Xn,t),pn(this,ea,s),pn(this,ta,r),pn(this,sa,n)}getRemoteDataProvider(e){var t;return null!==(t=un(this,ea)[e])&&void 0!==t?t:un(this,Xn)}get types(){return{siteKitSetup:"siteKitSetup",searchRankingCompare:"searchRankingCompare",organicSessions:"organicSessions",topPages:"topPages",topQueries:"topQueries",seoScores:"seoScores",readabilityScores:"readabilityScores"}}createWidget(e){const{isFeatureEnabled:t,isSetupWidgetDismissed:s,isAnalyticsConnected:r,capabilities:n,isVersionSupported:a}=un(this,Qn).getSiteKitConfiguration(),o=un(this,Qn).isSiteKitConnectionCompleted(),l=t&&o&&a,c=l&&n.viewSearchConsoleData,d=l&&r&&n.viewAnalyticsData;switch(e){case this.types.seoScores:return un(this,Qn).hasFeature("indexables")&&un(this,Qn).hasFeature("seoAnalysis")?(0,Zt.jsx)(i.ScoreWidget,{analysisType:"seo",dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e)},e):null;case this.types.readabilityScores:return un(this,Qn).hasFeature("indexables")&&un(this,Qn).hasFeature("readabilityAnalysis")?(0,Zt.jsx)(i.ScoreWidget,{analysisType:"readability",dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e)},e):null;case this.types.topPages:return c?(0,Zt.jsx)(i.TopPagesWidget,{dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:un(this,ta).plainMetricsDataFormatter},e):null;case this.types.siteKitSetup:return!t||s?null:(0,Zt.jsx)(Zn,{dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e),dataTracker:un(this,sa).setupWidgetDataTracker},e);case this.types.topQueries:return c?(0,Zt.jsx)(i.TopQueriesWidget,{dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:un(this,ta).plainMetricsDataFormatter},e):null;case this.types.searchRankingCompare:return c?(0,Zt.jsx)(i.SearchRankingCompareWidget,{dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:un(this,ta).comparisonMetricsDataFormatter},e):null;case this.types.organicSessions:return d?(0,Zt.jsx)(i.OrganicSessionsWidget,{dataProvider:un(this,Qn),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:un(this,ta).comparisonMetricsDataFormatter},e):null;default:return null}}}const na=window.yoast.reduxJsToolkit,aa="adminUrl",oa=(0,na.createSlice)({name:aa,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),ia=oa.getInitialState,la={selectAdminUrl:e=>(0,c.get)(e,aa,"")};la.selectAdminLink=(0,na.createSelector)([la.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}}));const ca=oa.actions,da=oa.reducer,ua=window.wp.apiFetch;var pa=s.n(ua);const ma="hasConsent",ha=(0,na.createSlice)({name:ma,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),fa=(ha.getInitialState,ha.actions,ha.reducer,window.wp.url),ya="linkParams",ga=(0,na.createSlice)({name:ya,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),va=ga.getInitialState,ba={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${ya}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,ya,{})};ba.selectLink=(0,na.createSelector)([ba.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,fa.addQueryArgs)(t,{...e,...s})));const xa=ga.actions,wa=ga.reducer,Sa=(0,na.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:n})=>({payload:{id:e||(0,na.nanoid)(),variant:t,size:s,title:r||"",description:n}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),_a=(Sa.getInitialState,Sa.actions,Sa.reducer,"pluginUrl"),Ea=(0,na.createSlice)({name:_a,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),ja=(Ea.getInitialState,{selectPluginUrl:e=>(0,c.get)(e,_a,"")});ja.selectImageLink=(0,na.createSelector)([ja.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/"))),Ea.actions,Ea.reducer;const ka="wistiaEmbedPermission",Ca=(0,na.createSlice)({name:ka,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${ka}/${Ls}`,(e=>{e.status=As})),e.addCase(`${ka}/${Ms}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${ka}/${Is}`,((e,{payload:t})=>{e.status=Ds,e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}}))}});var Ra;Ca.getInitialState,Ca.actions,Ca.reducer;const Na=(0,na.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(Ra=document)||void 0===Ra?void 0:Ra.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}});function Oa(...e){return e.filter(Boolean).join(" ")}function Pa(e,t,...s){if(e in t){let r=t[e];return"function"==typeof r?r(...s):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pa),r}Na.getInitialState,Na.actions,Na.reducer;var Ta,La,Ma=((La=Ma||{})[La.None=0]="None",La[La.RenderStrategy=1]="RenderStrategy",La[La.Static=2]="Static",La),Ia=((Ta=Ia||{})[Ta.Unmount=0]="Unmount",Ta[Ta.Hidden=1]="Hidden",Ta);function Aa({ourProps:e,theirProps:t,slot:s,defaultTag:r,features:n,visible:a=!0,name:o}){let i=Fa(t,e);if(a)return Da(i,s,r,o);let l=null!=n?n:0;if(2&l){let{static:e=!1,...t}=i;if(e)return Da(t,s,r,o)}if(1&l){let{unmount:e=!0,...t}=i;return Pa(e?0:1,{0:()=>null,1:()=>Da({...t,hidden:!0,style:{display:"none"}},s,r,o)})}return Da(i,s,r,o)}function Da(e,t={},s,r){var n;let{as:a=s,children:o,refName:i="ref",...l}=Ba(e,["unmount","static"]),c=void 0!==e.ref?{[i]:e.ref}:{},u="function"==typeof o?o(t):o;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let p={};if(t){let e=!1,s=[];for(let[r,n]of Object.entries(t))"boolean"==typeof n&&(e=!0),!0===n&&s.push(r);e&&(p["data-headlessui-state"]=s.join(" "))}if(a===d.Fragment&&Object.keys(Ua(l)).length>0){if(!(0,d.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=Oa(null==(n=u.props)?void 0:n.className,l.className),t=e?{className:e}:{};return(0,d.cloneElement)(u,Object.assign({},Fa(u.props,Ua(Ba(l,["ref"]))),p,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let s of e)null!=s&&("function"==typeof s?s(t):s.current=t)}}}(u.ref,c.ref),t))}return(0,d.createElement)(a,Object.assign({},Ba(l,["ref"]),a!==d.Fragment&&c,a!==d.Fragment&&p),u)}function Fa(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},s={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=s[e]||(s[e]=[]),s[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(s).map((e=>[e,void 0]))));for(let e in s)Object.assign(t,{[e](t,...r){let n=s[e];for(let e of n){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function za(e){var t;return Object.assign((0,d.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Ua(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Ba(e,t=[]){let s=Object.assign({},e);for(let e of t)e in s&&delete s[e];return s}let qa=(0,d.createContext)(null);qa.displayName="OpenClosedContext";var $a=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($a||{});function Ha(){return(0,d.useContext)(qa)}function Wa({value:e,children:t}){return d.createElement(qa.Provider,{value:e},t)}var Va=Object.defineProperty,Ga=(e,t,s)=>(((e,t,s)=>{t in e?Va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);let Ka=new class{constructor(){Ga(this,"current",this.detect()),Ga(this,"handoffState","pending"),Ga(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Ya=(e,t)=>{Ka.isServer?(0,d.useEffect)(e,t):(0,d.useLayoutEffect)(e,t)};function Za(){let e=(0,d.useRef)(!1);return Ya((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Ja(e){let t=(0,d.useRef)(e);return Ya((()=>{t.current=e}),[e]),t}function Qa(){let[e,t]=(0,d.useState)(Ka.isHandoffComplete);return e&&!1===Ka.isHandoffComplete&&t(!1),(0,d.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,d.useEffect)((()=>Ka.handoff()),[]),e}let Xa=function(e){let t=Ja(e);return d.useCallback(((...e)=>t.current(...e)),[t])},eo=Symbol();function to(e,t=!0){return Object.assign(e,{[eo]:t})}function so(...e){let t=(0,d.useRef)(e);(0,d.useEffect)((()=>{t.current=e}),[e]);let s=Xa((e=>{for(let s of t.current)null!=s&&("function"==typeof s?s(e):s.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[eo])))?void 0:s}function ro(){let e=[],t=[],s={enqueue(e){t.push(e)},addEventListener:(e,t,r,n)=>(e.addEventListener(t,r,n),s.add((()=>e.removeEventListener(t,r,n)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return s.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>s.requestAnimationFrame((()=>s.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return s.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),s.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let s=e.indexOf(t);if(s>=0){let[t]=e.splice(s,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return s}function no(e,...t){e&&t.length>0&&e.classList.add(...t)}function ao(e,...t){e&&t.length>0&&e.classList.remove(...t)}function oo(){let[e]=(0,d.useState)(ro);return(0,d.useEffect)((()=>()=>e.dispose()),[e]),e}function io({container:e,direction:t,classes:s,onStart:r,onStop:n}){let a=Za(),o=oo(),i=Ja(t);Ya((()=>{let t=ro();o.add(t.dispose);let l=e.current;if(l&&"idle"!==i.current&&a.current)return t.dispose(),r.current(i.current),t.add(function(e,t,s,r){let n=s?"enter":"leave",a=ro(),o=void 0!==r?function(e){let t={called:!1};return(...s)=>{if(!t.called)return t.called=!0,e(...s)}}(r):()=>{};"enter"===n&&(e.removeAttribute("hidden"),e.style.display="");let i=Pa(n,{enter:()=>t.enter,leave:()=>t.leave}),l=Pa(n,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pa(n,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ao(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),no(e,...i,...c),a.nextFrame((()=>{ao(e,...c),no(e,...l),function(e,t){let s=ro();if(!e)return s.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(e),[a,o]=[r,n].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(a+o!==0){let r=s.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();s.add((()=>t())),s.dispose}(e,(()=>(ao(e,...i),no(e,...t.entered),o())))})),a.dispose}(l,s.current,"enter"===i.current,(()=>{t.dispose(),n.current(i.current)}))),t.dispose}),[t])}function lo(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let co=(0,d.createContext)(null);co.displayName="TransitionContext";var uo=(e=>(e.Visible="visible",e.Hidden="hidden",e))(uo||{});let po=(0,d.createContext)(null);function mo(e){return"children"in e?mo(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function ho(e,t){let s=Ja(e),r=(0,d.useRef)([]),n=Za(),a=oo(),o=Xa(((e,t=Ia.Hidden)=>{let o=r.current.findIndex((({el:t})=>t===e));-1!==o&&(Pa(t,{[Ia.Unmount](){r.current.splice(o,1)},[Ia.Hidden](){r.current[o].state="hidden"}}),a.microTask((()=>{var e;!mo(r)&&n.current&&(null==(e=s.current)||e.call(s))})))})),i=Xa((e=>{let t=r.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,Ia.Unmount)})),l=(0,d.useRef)([]),c=(0,d.useRef)(Promise.resolve()),u=(0,d.useRef)({enter:[],leave:[],idle:[]}),p=Xa(((e,s,r)=>{l.current.splice(0),t&&(t.chains.current[s]=t.chains.current[s].filter((([t])=>t!==e))),null==t||t.chains.current[s].push([e,new Promise((e=>{l.current.push(e)}))]),null==t||t.chains.current[s].push([e,new Promise((e=>{Promise.all(u.current[s].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===s?c.current=c.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(s))):r(s)})),m=Xa(((e,t,s)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>s(t)))}));return(0,d.useMemo)((()=>({children:r,register:i,unregister:o,onStart:p,onStop:m,wait:c,chains:u})),[i,o,r,p,m,u,c])}function fo(){}po.displayName="NestingContext";let yo=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function go(e){var t;let s={};for(let r of yo)s[r]=null!=(t=e[r])?t:fo;return s}let vo=Ma.RenderStrategy,bo=za((function(e,t){let{beforeEnter:s,afterEnter:r,beforeLeave:n,afterLeave:a,enter:o,enterFrom:i,enterTo:l,entered:c,leave:u,leaveFrom:p,leaveTo:m,...h}=e,f=(0,d.useRef)(null),y=so(f,t),g=h.unmount?Ia.Unmount:Ia.Hidden,{show:v,appear:b,initial:x}=function(){let e=(0,d.useContext)(co);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[w,S]=(0,d.useState)(v?"visible":"hidden"),_=function(){let e=(0,d.useContext)(po);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:j}=_,k=(0,d.useRef)(null);(0,d.useEffect)((()=>E(f)),[E,f]),(0,d.useEffect)((()=>{if(g===Ia.Hidden&&f.current)return v&&"visible"!==w?void S("visible"):Pa(w,{hidden:()=>j(f),visible:()=>E(f)})}),[w,f,E,j,v,g]);let C=Ja({enter:lo(o),enterFrom:lo(i),enterTo:lo(l),entered:lo(c),leave:lo(u),leaveFrom:lo(p),leaveTo:lo(m)}),R=function(e){let t=(0,d.useRef)(go(e));return(0,d.useEffect)((()=>{t.current=go(e)}),[e]),t}({beforeEnter:s,afterEnter:r,beforeLeave:n,afterLeave:a}),N=Qa();(0,d.useEffect)((()=>{if(N&&"visible"===w&&null===f.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[f,w,N]);let O=x&&!b,P=!N||O||k.current===v?"idle":v?"enter":"leave",T=Xa((e=>Pa(e,{enter:()=>R.current.beforeEnter(),leave:()=>R.current.beforeLeave(),idle:()=>{}}))),L=Xa((e=>Pa(e,{enter:()=>R.current.afterEnter(),leave:()=>R.current.afterLeave(),idle:()=>{}}))),M=ho((()=>{S("hidden"),j(f)}),_);io({container:f,classes:C,direction:P,onStart:Ja((e=>{M.onStart(f,e,T)})),onStop:Ja((e=>{M.onStop(f,e,L),"leave"===e&&!mo(M)&&(S("hidden"),j(f))}))}),(0,d.useEffect)((()=>{!O||(g===Ia.Hidden?k.current=null:k.current=v)}),[v,O,w]);let I=h,A={ref:y};return b&&v&&Ka.isServer&&(I={...I,className:Oa(h.className,...C.current.enter,...C.current.enterFrom)}),d.createElement(po.Provider,{value:M},d.createElement(Wa,{value:Pa(w,{visible:$a.Open,hidden:$a.Closed})},Aa({ourProps:A,theirProps:I,defaultTag:"div",features:vo,visible:"visible"===w,name:"Transition.Child"})))})),xo=za((function(e,t){let{show:s,appear:r=!1,unmount:n,...a}=e,o=(0,d.useRef)(null),i=so(o,t);Qa();let l=Ha();if(void 0===s&&null!==l&&(s=Pa(l,{[$a.Open]:!0,[$a.Closed]:!1})),![!0,!1].includes(s))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,u]=(0,d.useState)(s?"visible":"hidden"),p=ho((()=>{u("hidden")})),[m,h]=(0,d.useState)(!0),f=(0,d.useRef)([s]);Ya((()=>{!1!==m&&f.current[f.current.length-1]!==s&&(f.current.push(s),h(!1))}),[f,s]);let y=(0,d.useMemo)((()=>({show:s,appear:r,initial:m})),[s,r,m]);(0,d.useEffect)((()=>{if(s)u("visible");else if(mo(p)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[s,p]);let g={unmount:n};return d.createElement(po.Provider,{value:p},d.createElement(co.Provider,{value:y},Aa({ourProps:{...g,as:d.Fragment,children:d.createElement(bo,{ref:i,...g,...a})},theirProps:{},defaultTag:d.Fragment,features:vo,visible:"visible"===c,name:"Transition"})))})),wo=za((function(e,t){let s=null!==(0,d.useContext)(co),r=null!==Ha();return d.createElement(d.Fragment,null,!s&&r?d.createElement(xo,{ref:t,...e}):d.createElement(bo,{ref:t,...e}))})),So=Object.assign(xo,{Child:wo,Root:xo});const _o=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"}))})),Eo=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"}))})),jo=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"}))})),ko=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),Co=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"}))})),Ro=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"}))})),No="@yoast/general",Oo=(0,o.createContext)({Icon:null,bulletClass:"",iconClass:""}),Po=(e,t,s)=>{const r=e.querySelector(t);return r&&(r.textContent=s),r},To=(e,t=[],...s)=>(0,r.useSelect)((t=>{var r,n;return null===(r=(n=t(No))[e])||void 0===r?void 0:r.call(n,...s)}),t),Lo=(e,t,s)=>{const r=[e,"wordpress-seo"];return t&&r.push("wordpress-seo-premium"),null!=s&&s.isWooSeoActive&&r.push("wpseo-woocommerce"),null!=s&&s.isLocalSEOActive&&r.push("wpseo-local"),null!=s&&s.isVideoSEOActive&&r.push("wpseo-video"),null!=s&&s.isNewsSEOActive&&r.push("wpseo-news"),null!=s&&s.isDuplicatePostActive&&r.push("duplicate-post"),r},Mo=({id:e,dismissed:t,message:s,resolveNonce:n})=>{const[a,i]=(0,o.useState)(!1),[d,u]=(0,o.useState)(""),{removeAlert:p,setResolveSuccessMessage:m}=(0,r.useDispatch)(No),h=To("selectPreference",[],"isPremium"),f=To("selectPreference",[],"addonsStatus"),y=(0,o.useRef)(),{isRtl:g}=(0,l.useRootContext)(),v=(0,o.useCallback)((()=>{u("")}),[]),b=(0,o.useCallback)((async()=>{const t=y.current,s=t?t.value.trim():"";if((0,fa.isEmail)(s)){i(!0),u("");try{const t=await async function(e,t,s){const r=Lo("recapture",t,s);return(await fetch("https://my.yoast.com/api/Mailing-list/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerDetails:{firstName:"",email:e},list:"Yoast newsletter",source:r})})).json()}(s,h,f);if("subscribed"!==t.status)return void u((0,Wt.__)("Failed to subscribe to mailing list.","wordpress-seo"));const o=await async function(e,t){const s=new FormData;s.append("action","wpseo_resolve_alert"),s.append("alertId",e),s.append("_ajax_nonce",t);const n=(0,r.select)(No).selectPreference("ajaxUrl");return(await fetch(n,{method:"POST",body:s})).json()}(e,n);var a;if(!o.success)return void u((null===(a=o.data)||void 0===a?void 0:a.message)||(0,Wt.__)("Failed to resolve alert.","wordpress-seo"));m((0,Wt.__)("Successfully subscribed!","wordpress-seo")),p(e)}catch(e){u((0,Wt.__)("An error occurred. Please try again.","wordpress-seo")),console.error("Error in handleSendClick:",e)}finally{i(!1)}}else u((0,Wt.__)("Please enter a valid email address.","wordpress-seo"))}),[e,n,i,u,p,m]);return(0,Zt.jsxs)("div",{className:bs()("yst-text-sm yst-text-slate-600 yst-grow",t&&"yst-opacity-50"),children:[(0,Zt.jsx)("div",{dangerouslySetInnerHTML:{__html:s}}),(0,Zt.jsxs)("div",{className:"yst-flex yst-items-end yst-gap-2 yst-mt-2",children:[(0,Zt.jsx)(l.TextField,{type:"email",name:e+"-input-field",id:e+"-input-field",label:"",placeholder:(0,Wt.__)("E.g. example@email.com","wordpress-seo"),className:"yst-flex-1",disabled:a||t,onInput:v,ref:y,onChange:c.noop,style:{direction:g?"rtl":"ltr"}}),(0,Zt.jsxs)(l.Button,{variant:"primary",size:"large",onClick:b,isLoading:a,disabled:a||t,children:[(0,Wt.__)("Send","wordpress-seo"),(0,Zt.jsx)("div",{className:"yst-ms-2 yst-w-4",children:(0,Zt.jsx)(ws,{className:"yst-w-4 yst-text-white rtl:yst-rotate-180"})})]})]}),d&&(0,Zt.jsx)("p",{className:"yst-text-red-600 yst-text-xs yst-mt-1",children:d}),(0,Zt.jsx)("p",{className:"yst-text-slate-600 yst-text-xxs yst-leading-4 yst-mt-1",children:Vt((0,Wt.sprintf)( /** * translators: %1$s and %2$s expand to opening and closing <a> tags. */ (0,Wt.__)("Yoast respects your privacy. Read %1$sour privacy policy%2$s on how we handle your personal information.","wordpress-seo"),"<a>","</a>"),{a:(0,Zt.jsx)("a",{href:(0,r.select)(No).selectLink("https://yoa.st/gdpr-config-workout"),target:"_blank",rel:"noopener"})})})]})};Mo.propTypes={id:Yt().string.isRequired,dismissed:Yt().bool.isRequired,message:Yt().string.isRequired,resolveNonce:Yt().string.isRequired};const Io=({dismissed:e,message:t})=>(0,Zt.jsx)("div",{className:bs()("yst-text-sm yst-text-slate-600 yst-grow",e&&"yst-opacity-50"),dangerouslySetInnerHTML:{__html:t}});Io.propTypes={dismissed:Yt().bool.isRequired,message:Yt().string.isRequired};const Ao=({id:e,dismissed:t,message:s,resolveNonce:r})=>"wpseo-ping-other-admins"===e?(0,Zt.jsx)(Mo,{id:e,dismissed:t,message:s,resolveNonce:r}):(0,Zt.jsx)(Io,{dismissed:t,message:s});Ao.propTypes={id:Yt().string.isRequired,dismissed:Yt().bool.isRequired,message:Yt().string.isRequired,resolveNonce:Yt().string.isRequired};const Do=({id:e="",nonce:t="",dismissed:s=!1,message:n="",resolveNonce:a=""})=>{const{bulletClass:i=""}=(0,o.useContext)(Oo),{toggleAlertStatus:c}=(0,r.useDispatch)(No),d=s?Co:Ro,u=(0,o.useCallback)((async()=>{c(e,t,s)}),[e,t,s,c]);return(0,Zt.jsxs)("li",{className:"yst-flex yst-justify-between yst-gap-x-5 yst-border-b yst-border-slate-200 last:yst-border-b-0 yst-py-6 first:yst-pt-0 last:yst-pb-0",children:[(0,Zt.jsx)("div",{className:bs()("yst-mt-1",s&&"yst-opacity-50"),children:(0,Zt.jsx)("svg",{width:"11",height:"11",className:i,children:(0,Zt.jsx)("circle",{cx:"5.5",cy:"5.5",r:"5.5"})})}),(0,Zt.jsx)(Ao,{id:e,dismissed:s,message:n,resolveNonce:a}),(0,Zt.jsx)(l.Button,{variant:"secondary",size:"small",className:"yst-self-center yst-h-8",onClick:u,children:(0,Zt.jsx)(d,{className:"yst-w-4 yst-h-4 yst-text-neutral-700"})})]},e)};Do.propTypes={id:Yt().string,nonce:Yt().string,dismissed:Yt().bool,message:Yt().string,resolveNonce:Yt().string};const Fo=({className:e="",items:t=[]})=>0===t.length?null:(0,Zt.jsx)("ul",{className:e,children:t.map((e=>(0,Zt.jsx)(Do,{id:e.id,nonce:e.nonce,dismissed:e.dismissed,message:e.message,resolveNonce:e.resolveNonce||""},e.id)))});Fo.propTypes={className:Yt().string,items:Yt().arrayOf(Yt().shape({message:Yt().string,id:Yt().string,nonce:Yt().string,dismissed:Yt().bool,resolveNonce:Yt().string}))};const zo=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Uo=({title:e,counts:t=0,children:s=null})=>{const{Icon:r=zo,iconClass:n=""}=(0,o.useContext)(Oo);return(0,Zt.jsxs)("div",{children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-justify-between yst-gap-2 yst-items-center",children:[(0,Zt.jsx)(r,{className:bs()("yst-w-6 yst-h-6",n)}),(0,Zt.jsxs)(l.Title,{className:"yst-grow",as:"h2",size:"2",children:[e," ",`(${t})`]})]}),s]})};var Bo;Uo.propTypes={title:Yt().string.isRequired,counts:Yt().number,children:Yt().node};let qo=null!=(Bo=d.useId)?Bo:function(){let e=Qa(),[t,s]=d.useState(e?()=>Ka.nextId():null);return Ya((()=>{null===t&&s(Ka.nextId())}),[t]),null!=t?""+t:void 0};var $o=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))($o||{});function Ho(e){let t=e.parentElement,s=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(s=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(s))&&r}function Wo(e){var t;if(e.type)return e.type;let s=null!=(t=e.as)?t:"button";return"string"==typeof s&&"button"===s.toLowerCase()?"button":void 0}function Vo(e,t){let[s,r]=(0,d.useState)((()=>Wo(e)));return Ya((()=>{r(Wo(e))}),[e.type,e.as]),Ya((()=>{s||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")}),[s,t]),s}function Go(e){return Ka.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}var Ko,Yo=((Ko=Yo||{})[Ko.Open=0]="Open",Ko[Ko.Closed=1]="Closed",Ko),Zo=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(Zo||{});let Jo={0:e=>({...e,disclosureState:Pa(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},Qo=(0,d.createContext)(null);function Xo(e){let t=(0,d.useContext)(Qo);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Xo),t}return t}Qo.displayName="DisclosureContext";let ei=(0,d.createContext)(null);function ti(e){let t=(0,d.useContext)(ei);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ti),t}return t}ei.displayName="DisclosureAPIContext";let si=(0,d.createContext)(null);function ri(e,t){return Pa(t.type,Jo,e,t)}si.displayName="DisclosurePanelContext";let ni=d.Fragment,ai=za((function(e,t){let{defaultOpen:s=!1,...r}=e,n=(0,d.useRef)(null),a=so(t,to((e=>{n.current=e}),void 0===e.as||e.as===d.Fragment)),o=(0,d.useRef)(null),i=(0,d.useRef)(null),l=(0,d.useReducer)(ri,{disclosureState:s?0:1,linkedPanel:!1,buttonRef:i,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:u},p]=l,m=Xa((e=>{p({type:1});let t=Go(n);if(!t||!u)return;let s=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(u):t.getElementById(u);null==s||s.focus()})),h=(0,d.useMemo)((()=>({close:m})),[m]),f=(0,d.useMemo)((()=>({open:0===c,close:m})),[c,m]),y={ref:a};return d.createElement(Qo.Provider,{value:l},d.createElement(ei.Provider,{value:h},d.createElement(Wa,{value:Pa(c,{0:$a.Open,1:$a.Closed})},Aa({ourProps:y,theirProps:r,slot:f,defaultTag:ni,name:"Disclosure"}))))})),oi=za((function(e,t){let s=qo(),{id:r=`headlessui-disclosure-button-${s}`,...n}=e,[a,o]=Xo("Disclosure.Button"),i=(0,d.useContext)(si),l=null!==i&&i===a.panelId,c=(0,d.useRef)(null),u=so(c,t,l?null:a.buttonRef);(0,d.useEffect)((()=>{if(!l)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}}),[r,o,l]);let p=Xa((e=>{var t;if(l){if(1===a.disclosureState)return;switch(e.key){case $o.Space:case $o.Enter:e.preventDefault(),e.stopPropagation(),o({type:0}),null==(t=a.buttonRef.current)||t.focus()}}else switch(e.key){case $o.Space:case $o.Enter:e.preventDefault(),e.stopPropagation(),o({type:0})}})),m=Xa((e=>{e.key===$o.Space&&e.preventDefault()})),h=Xa((t=>{var s;Ho(t.currentTarget)||e.disabled||(l?(o({type:0}),null==(s=a.buttonRef.current)||s.focus()):o({type:0}))})),f=(0,d.useMemo)((()=>({open:0===a.disclosureState})),[a]),y=Vo(e,c);return Aa({ourProps:l?{ref:u,type:y,onKeyDown:p,onClick:h}:{ref:u,id:r,type:y,"aria-expanded":e.disabled?void 0:0===a.disclosureState,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:p,onKeyUp:m,onClick:h},theirProps:n,slot:f,defaultTag:"button",name:"Disclosure.Button"})})),ii=Ma.RenderStrategy|Ma.Static,li=za((function(e,t){let s=qo(),{id:r=`headlessui-disclosure-panel-${s}`,...n}=e,[a,o]=Xo("Disclosure.Panel"),{close:i}=ti("Disclosure.Panel"),l=so(t,a.panelRef,(e=>{o({type:e?4:5})}));(0,d.useEffect)((()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})})),[r,o]);let c=Ha(),u=null!==c?c===$a.Open:0===a.disclosureState,p=(0,d.useMemo)((()=>({open:0===a.disclosureState,close:i})),[a,i]),m={ref:l,id:r};return d.createElement(si.Provider,{value:a.panelId},Aa({ourProps:m,theirProps:n,slot:p,defaultTag:"div",features:ii,visible:u,name:"Disclosure.Panel"}))})),ci=Object.assign(ai,{Button:oi,Panel:li});const di=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),ui=({label:e,children:t})=>(0,Zt.jsx)(ci,{children:({open:s})=>(0,Zt.jsxs)("div",{className:"yst-shadow-sm yst-border-slate-300 yst-rounded-md yst-border",children:[(0,Zt.jsxs)(ci.Button,{className:"yst-w-full yst-flex yst-justify-between yst-py-4 yst-pe-4 yst-ps-6 yst-items-center",children:[(0,Zt.jsx)("div",{className:"yst-font-medium",children:e}),(0,Zt.jsx)(di,{className:bs()("yst-h-5 yst-w-5 flex-shrink-0 yst-text-slate-400",s?"yst-rotate-180":"")})]}),(0,Zt.jsx)(ci.Panel,{className:"yst-px-6",children:t})]})});function pi({title:e,id:t,isDismissable:s,children:n,className:a=""}){const i=(0,l.useSvgAria)(),{dismissNotice:c}=(0,r.useDispatch)(No),d=(0,o.useCallback)((()=>{setTimeout((()=>{c(t)}),0)}),[c,t]);return(0,Zt.jsxs)("div",{id:t,className:bs()("yst-p-3 yst-rounded-md yoast-general-page-notice",a),children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-row yst-items-center yst-min-h-[24px]",children:[(0,Zt.jsx)("span",{className:"yoast-icon"}),e&&(0,Zt.jsx)("div",{className:"yst-text-sm yst-font-medium",dangerouslySetInnerHTML:{__html:e}}),s&&(0,Zt.jsx)("div",{className:"yst-relative yst-ms-auto",children:(0,Zt.jsxs)("button",{type:"button",className:"notice-dismiss",onClick:d,children:[(0,Zt.jsx)("span",{className:"yst-sr-only",children:(0,Wt.__)("Close","wordpress-seo")}),(0,Zt.jsx)(Nn,{className:"yst-h-5 yst-w-5",...i})]})})]}),n&&(0,Zt.jsx)("div",{className:"yst-flex-1 yst-text-sm yst-max-w-[600px] yst-ps-[29px]",dangerouslySetInnerHTML:{__html:n}})]})}ui.propTypes={label:Yt().string.isRequired,children:Yt().node.isRequired},pi.propTypes={title:Yt().string.isRequired,id:Yt().string.isRequired,isDismissable:Yt().bool.isRequired,children:Yt().string.isRequired,className:Yt().string};const mi=()=>{const e=(0,r.useSelect)((e=>e(No).selectActiveNotifications()),[]),t=(0,r.useSelect)((e=>e(No).selectDismissedNotifications()),[]),s=(0,r.useSelect)((e=>e(No).selectResolveSuccessMessage()),[]),n=t.length,a=(0,Wt._n)("hidden notification","hidden notifications",n,"wordpress-seo"),o={Icon:jo,bulletClass:"yst-fill-blue-500",iconClass:"yst-text-blue-500"};return(0,Zt.jsx)(l.Paper,{children:(0,Zt.jsx)(l.Paper.Content,{className:"yst-max-w-[600px] yst-flex yst-flex-col yst-gap-y-6",children:(0,Zt.jsxs)(Oo.Provider,{value:{...o},children:[(0,Zt.jsxs)(Uo,{counts:e.length,title:(0,Wt.__)("Notifications","wordpress-seo"),children:[s&&(0,Zt.jsx)(l.Alert,{variant:"success",className:"yst-mt-6",children:s}),0===e.length&&(0,Zt.jsx)("p",{className:"yst-mt-2 yst-text-sm",children:(0,Wt.__)("No new notifications.","wordpress-seo")})]}),(0,Zt.jsx)(Fo,{items:e}),n>0&&(0,Zt.jsx)(ui,{label:`${n} ${a}`,children:(0,Zt.jsx)(Fo,{className:"yst-pb-6",items:t})})]})})})},hi=()=>{const e=(0,r.useSelect)((e=>e(No).selectActiveProblems()),[]),t=(0,r.useSelect)((e=>e(No).selectDismissedProblems()),[]),s=t.length,n=(0,Wt._n)("hidden problem","hidden problems",s,"wordpress-seo"),a={Icon:zo,bulletClass:"yst-fill-red-500",iconClass:"yst-text-red-500"};return(0,Zt.jsx)(l.Paper,{children:(0,Zt.jsx)(l.Paper.Content,{className:"yst-max-w-[600px] yst-flex yst-flex-col yst-gap-y-6",children:(0,Zt.jsxs)(Oo.Provider,{value:{...a},children:[(0,Zt.jsx)(Uo,{title:(0,Wt.__)("Problems","wordpress-seo"),counts:e.length,children:(0,Zt.jsx)("p",{className:"yst-mt-2 yst-text-sm",children:e.length>0?(0,Wt.__)("We have detected the following issues that affect the SEO of your site.","wordpress-seo"):(0,Wt.__)("Good job! We could detect no serious SEO problems.","wordpress-seo")})}),(0,Zt.jsx)(Fo,{items:e}),s>0&&(0,Zt.jsx)(ui,{label:`${s} ${n}`,children:(0,Zt.jsx)(Fo,{className:"yst-pb-6",items:t})})]})})})},fi=({className:e=""})=>{const t=(0,o.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=To("selectLink",[],"https://yoa.st/general-error-support"),r=vt();return(0,Zt.jsx)(l.Paper,{className:e,children:(0,Zt.jsx)(ss,{error:r,children:(0,Zt.jsx)(ss.HorizontalButtons,{handleRefreshClick:t,supportLink:s})})})};fi.propTypes={className:Yt().string};var yi={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},gi=function(e){var t=e.message,s=e["aria-live"];return u().createElement("div",{style:yi,role:"log","aria-live":s},t||"")};gi.propTypes={};const vi=gi;function bi(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var xi=function(e){function t(){var s,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return s=r=bi(this,e.call.apply(e,[this].concat(a))),r.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},bi(r,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.getDerivedStateFromProps=function(e,t){var s=t.oldPolitemessage,r=t.oldPoliteMessageId,n=t.oldAssertiveMessage,a=t.oldAssertiveMessageId,o=e.politeMessage,i=e.politeMessageId,l=e.assertiveMessage,c=e.assertiveMessageId;return s!==o||r!==i?{politeMessage1:t.setAlternatePolite?"":o,politeMessage2:t.setAlternatePolite?o:"",oldPolitemessage:o,oldPoliteMessageId:i,setAlternatePolite:!t.setAlternatePolite}:n!==l||a!==c?{assertiveMessage1:t.setAlternateAssertive?"":l,assertiveMessage2:t.setAlternateAssertive?l:"",oldAssertiveMessage:l,oldAssertiveMessageId:c,setAlternateAssertive:!t.setAlternateAssertive}:null},t.prototype.render=function(){var e=this.state,t=e.assertiveMessage1,s=e.assertiveMessage2,r=e.politeMessage1,n=e.politeMessage2;return u().createElement("div",null,u().createElement(vi,{"aria-live":"assertive",message:t}),u().createElement(vi,{"aria-live":"assertive",message:s}),u().createElement(vi,{"aria-live":"polite",message:r}),u().createElement(vi,{"aria-live":"polite",message:n}))},t}(d.Component);xi.propTypes={};const wi=xi;function Si(){console.warn("Announcement failed, LiveAnnouncer context is missing")}const _i=u().createContext({announceAssertive:Si,announcePolite:Si}),Ei=function(e){function t(s){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,s));return r.announcePolite=function(e,t){r.setState({announcePoliteMessage:e,politeMessageId:t||""})},r.announceAssertive=function(e,t){r.setState({announceAssertiveMessage:e,assertiveMessageId:t||""})},r.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:r.announcePolite,announceAssertive:r.announceAssertive}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.state,t=e.announcePoliteMessage,s=e.politeMessageId,r=e.announceAssertiveMessage,n=e.assertiveMessageId,a=e.updateFunctions;return u().createElement(_i.Provider,{value:a},this.props.children,u().createElement(wi,{assertiveMessage:r,assertiveMessageId:n,politeMessage:t,politeMessageId:s}))},t}(d.Component);var ji=s(3409),ki=s.n(ji);function Ci(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Ri=function(e){function t(){var s,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return s=r=Ci(this,e.call.apply(e,[this].concat(a))),r.announce=function(){var e=r.props,t=e.message,s=e["aria-live"],n=e.announceAssertive,a=e.announcePolite;"assertive"===s&&n(t||"",ki()()),"polite"===s&&a(t||"",ki()())},Ci(r,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(e){this.props.message!==e.message&&this.announce()},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.clearOnUnmount,s=e.announceAssertive,r=e.announcePolite;!0!==t&&"true"!==t||(s(""),r(""))},t.prototype.render=function(){return null},t}(d.Component);Ri.propTypes={};const Ni=Ri;var Oi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Pi=function(e){return u().createElement(_i.Consumer,null,(function(t){return u().createElement(Ni,Oi({},t,e))}))};Pi.propTypes={};const Ti=Pi;const Li=({children:e,title:t,description:s=null})=>{const r=(0,Wt.sprintf)(/* translators: 1: Settings' section title, 2: Yoast SEO */ (0,Wt.__)("%1$s Dashboard - %2$s","wordpress-seo"),t,"Yoast SEO");return(0,Zt.jsxs)(Ei,{children:[(0,Zt.jsx)(Ti,{message:r,"aria-live":"polite"}),(0,Zt.jsx)(Ts.Helmet,{children:(0,Zt.jsx)("title",{children:"Dashboard"})}),(0,Zt.jsx)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200",children:(0,Zt.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,Zt.jsx)(l.Title,{children:t}),s&&(0,Zt.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:s})]})}),e]})};var Mi,Ii;function Ai(){return Ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},Ai.apply(null,arguments)}Li.propTypes={children:Yt().node.isRequired,title:Yt().string.isRequired,description:Yt().node};const Di=e=>d.createElement("svg",Ai({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),Mi||(Mi=d.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),Ii||(Ii=d.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),Fi=((0,Wt.__)("E.g. https://www.facebook.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.instagram.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.linkedin.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.myspace.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.pinterest.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.soundcloud.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.tumblr.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.twitter.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.youtube.com/yoast","wordpress-seo"),(0,Wt.__)("E.g. https://www.wikipedia.com/yoast","wordpress-seo"),e=>`error-${e}`),zi=(e,{isVisible:t})=>t?{"aria-invalid":!0,"aria-describedby":Fi(e)}:{};function Ui({active:e,selected:t}){return bs()("yst-relative yst-cursor-default yst-select-none yst-py-2 yst-ps-3 yst-pe-9 yst-my-0",t&&"yst-bg-primary-500 yst-text-white",e&&!t&&"yst-bg-primary-200 yst-text-slate-700",!e&&!t&&"yst-text-slate-700")}function Bi(e,t){const s=function(e,t){return e.includes(t)?[...e]:[...e,t]}(e.editedSteps,t);return{...e,editedSteps:s}}function qi(e,t){let s=(0,c.cloneDeep)(e);switch(t.type){case"SET_COMPANY_OR_PERSON":return s=Bi(s,2),s.companyOrPerson=t.payload,s.companyOrPersonLabel=s.companyOrPersonOptions.filter((e=>e.value===t.payload)).pop().label,s;case"CHANGE_COMPANY_NAME":return s=Bi(s,2),s.companyName=t.payload,s;case"SET_COMPANY_LOGO":return s=Bi(s,2),s.companyLogo=t.payload.url,s.companyLogoId=t.payload.id,s;case"REMOVE_COMPANY_LOGO":return s=Bi(s,2),s.companyLogo="",s.companyLogoId="",s;case"CHANGE_WEBSITE_NAME":return s=Bi(s,2),s.websiteName=t.payload,s;case"SET_PERSON_LOGO":return s=Bi(s,2),s.personLogo=t.payload.url,s.personLogoId=t.payload.id,s;case"REMOVE_PERSON_LOGO":return s=Bi(s,2),s.personLogo="",s.personLogoId="",s;case"SET_PERSON":return s=Bi(s,2),s.personId=t.payload.value,s.personName=t.payload.label,s;case"SET_CAN_EDIT_USER":return s=Bi(s,2),s.canEditUser=!0===t.payload?1:0,s;case"CHANGE_SOCIAL_PROFILE":return s=Bi(s,3),s.socialProfiles[t.payload.socialMedium]=t.payload.value,s.errorFields=s.errorFields.filter((e=>"facebookUrl"===t.payload.socialMedium?"facebook_site"!==e:"twitterUsername"!==t.payload.socialMedium||"twitter_site"!==e)),s;case"CHANGE_OTHERS_SOCIAL_PROFILE":return s=Bi(s,3),s.socialProfiles.otherSocialUrls[t.payload.index]=t.payload.value,s.errorFields=s.errorFields.filter((e=>e!==`other_social_urls-${t.payload.index}`)),s;case"ADD_OTHERS_SOCIAL_PROFILE":return s=Bi(s,3),s.socialProfiles.otherSocialUrls=[...s.socialProfiles.otherSocialUrls,t.payload.value],s;case"REMOVE_OTHERS_SOCIAL_PROFILE":return s=Bi(s,3),s.socialProfiles.otherSocialUrls.splice(t.payload.index,1),s.errorFields=(r=s.errorFields,n=t.payload.index,r.map((e=>{const t=parseInt(e.replace("other_social_urls-",""),10);return t===n?"remove":t>n?"other_social_urls-"+(t-1):e})).filter((e=>"remove"!==e))),s;case"SET_ERROR_FIELDS":return s.errorFields=t.payload,s;case"SET_STEP_ERROR":return s.stepErrors[t.payload.step]=t.payload.message,s;case"REMOVE_STEP_ERROR":return s.stepErrors=(0,c.pickBy)(s.stepErrors,((e,s)=>s!==t.payload)),s;case"SET_TRACKING":return s=Bi(s,4),s.tracking=t.payload,s;default:return s}var r,n}const $i=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Hi=({items:e,onAddProfile:t,onRemoveProfile:s,onChangeProfile:r,errorFields:n=[],fieldType:a,addButtonChildren:i=(0,Wt.__)("Add another profile","wordpress-seo")})=>{const c=(0,o.useCallback)((e=>{s(parseInt(e.currentTarget.dataset.index,10))}),[s]);return(0,Zt.jsxs)("div",{children:[e.map(((e,t)=>(0,Zt.jsx)("div",{children:(0,Zt.jsxs)("div",{className:"yst-w-full yst-flex yst-items-start yst-mt-4",children:[(0,Zt.jsx)(a,{className:"yst-grow",label:(0,Wt.__)("Other social profile","wordpress-seo"),id:`social-input-other-url-${t}`,value:e,socialMedium:"other",index:t,onChange:r,placeholder:(0,Wt.__)("E.g. https://social-platform.com/yoast","wordpress-seo"),feedback:{type:"error",isVisible:n.includes("other_social_urls-"+t),message:[(0,Wt.__)("Could not save this value. Please check the URL.","wordpress-seo")]}}),(0,Zt.jsxs)("button",{type:"button",className:"yst-mt-[27.5px] yst-ml-2 yst-p-3 yst-text-slate-500 yst-rounded-md hover:yst-text-primary-500 focus:yst-text-primary-500 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 yst-no-underline;",id:`remove-profile-${t}`,"data-index":t,onClick:c,children:[(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("Delete item","wordpress-seo")}),(0,Zt.jsx)(On,{className:"yst-w-5 yst-h-5"})]})]})},`url-${t}`))),(0,Zt.jsxs)(l.Button,{id:"add-profile",variant:"secondary",className:"yst-items-center yst-mt-8",onClick:t,"data-hiive-event-name":"clicked_add_profile",children:[(0,Zt.jsx)($i,{className:"yst-w-5 yst-h-5 yst-me-1 yst-text-slate-400"}),i]})]})};Hi.propTypes={fieldType:Yt().elementType.isRequired,items:Yt().array.isRequired,onAddProfile:Yt().func.isRequired,onRemoveProfile:Yt().func.isRequired,onChangeProfile:Yt().func.isRequired,errorFields:Yt().array,addButtonChildren:Yt().node};const Wi=Hi,Vi=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),Gi=({texts:e,id:t,as:s="p",...r})=>{const n=(0,o.useMemo)((()=>(0,c.last)(e)),[e]);return(0,Zt.jsx)(s,{id:t,...r,children:e.map(((e,s)=>(0,Zt.jsxs)(o.Fragment,{children:[e,n!==e&&(0,Zt.jsx)("br",{})]},`${t}-text-${s}`)))})};Gi.propTypes={texts:Yt().arrayOf(Yt().string).isRequired,id:Yt().string.isRequired,as:Yt().oneOfType([Yt().string,Yt().elementType])};const Ki=Gi;function Yi({hasError:e=!1,hasSuccess:t=!1}){return e?(0,Zt.jsx)("div",{className:"yst-flex yst-items-center yst-absolute yst-inset-y-0 yst-end-0 yst-me-3",children:(0,Zt.jsx)(Vi,{className:"yst-pointer-events-none yst-h-5 yst-w-5 yst-text-red-500"})}):t?(0,Zt.jsx)("div",{className:"yst-flex yst-items-center yst-absolute yst-inset-y-0 yst-end-0 yst-me-3",children:(0,Zt.jsx)(as,{className:"yst-pointer-events-none yst-h-5 yst-w-5 yst-text-emerald-600"})}):null}function Zi({className:e="",id:t,label:s="",description:r=null,value:n="",onChange:a,placeholder:i="",feedback:l={message:[],isVisible:!1},type:c="text",...d}){const u=c||"text",p=(0,o.useMemo)((()=>l.isVisible&&"error"===l.type),[l.isVisible,l.type]),m=(0,o.useMemo)((()=>l.isVisible&&"success"===l.type),[l.isVisible,l.type]);return(0,Zt.jsxs)("div",{className:e,children:[s&&(0,Zt.jsx)("label",{className:"yst-block yst-mb-2 yst-font-medium yst-text-slate-800",htmlFor:t,children:s}),(0,Zt.jsxs)("div",{className:"yst-relative",children:[(0,Zt.jsx)("input",{id:t,type:u,value:n,className:bs()("yst-block yst-w-full yst-h-[40px] yst-input focus:yst-ring-1",{"yst-border-red-300 yst-text-red-900 focus:yst-ring-red-500 focus:yst-border-red-500":p,"yst-border-emerald-600 yst-text-slate-700 focus:yst-ring-emerald-600 focus:yst-border-emerald-600":m,"yst-text-slate-700 yst-border-slate-300 focus:yst-ring-primary-500 focus:yst-border-primary-500":!p&&!m}),onChange:a,placeholder:i,...zi(t,l),...d}),(0,Zt.jsx)(Yi,{hasError:p,hasSuccess:m})]}),l.isVisible&&(0,Zt.jsx)(Ki,{id:`${p?"error-":"success-"}${t}`,className:bs()("yst-mt-2 yst-text-sm",{"yst-text-red-600":p,"yst-text-emerald-600":m}),texts:l.message}),r]})}function Ji({id:e,onChange:t,socialMedium:s="",isDisabled:r=!1,...n}){const a=(0,o.useCallback)((e=>{t(e.target.value,"other"===s?n.index:s)}),[s,n.index]);return(0,Zt.jsx)(Zi,{onChange:a,disabled:r,id:e,...n})}function Qi({socialProfiles:e,errorFields:t=[],dispatch:s}){const r=(0,o.useCallback)(((e,t)=>{s({type:"CHANGE_SOCIAL_PROFILE",payload:{socialMedium:t,value:e}})}),[]),n=(0,o.useCallback)(((e,t)=>{s({type:"CHANGE_OTHERS_SOCIAL_PROFILE",payload:{index:t,value:e}})}),[]),a=(0,o.useCallback)((()=>{s({type:"ADD_OTHERS_SOCIAL_PROFILE",payload:{value:""}})}),[]),i=(0,o.useCallback)((e=>{s({type:"REMOVE_OTHERS_SOCIAL_PROFILE",payload:{index:e}})}),[]);return(0,Zt.jsx)(Xi,{socialProfiles:e,onChangeHandler:r,onChangeOthersHandler:n,onAddProfileHandler:a,onRemoveProfileHandler:i,errorFields:t})}function Xi({socialProfiles:e,onChangeHandler:t,onChangeOthersHandler:s,onAddProfileHandler:r,onRemoveProfileHandler:n,errorFields:a}){return(0,Zt.jsxs)("div",{id:"social-input-section",children:[(0,Zt.jsx)(Ji,{className:"yst-mt-4",label:(0,Wt.__)("Facebook","wordpress-seo"),id:"social-input-facebook-url",value:e.facebookUrl,socialMedium:"facebookUrl",onChange:t,placeholder:(0,Wt.__)("E.g. https://facebook.com/yoast","wordpress-seo"),feedback:{message:[(0,Wt.__)("Could not save this value. Please check the URL.","wordpress-seo")],isVisible:a.includes("facebook_site"),type:"error"}}),(0,Zt.jsx)(Ji,{className:"yst-mt-4",label:(0,Wt.__)("X","wordpress-seo"),id:"social-input-twitter-url",value:e.twitterUsername,socialMedium:"twitterUsername",onChange:t,placeholder:(0,Wt.__)("E.g. https://x.com/yoast","wordpress-seo"),feedback:{message:[(0,Wt.__)("Could not save this value. Please check the URL or username.","wordpress-seo")],isVisible:a.includes("twitter_site"),type:"error"}}),(0,Zt.jsx)(Wi,{items:e.otherSocialUrls,onAddProfile:r,onRemoveProfile:n,onChangeProfile:s,errorFields:a,fieldType:Ji})]})}Yi.propTypes={hasError:Kt.PropTypes.bool,hasSuccess:Kt.PropTypes.bool},Zi.propTypes={className:Kt.PropTypes.string,id:Kt.PropTypes.string.isRequired,label:Kt.PropTypes.string,description:Kt.PropTypes.node,value:Kt.PropTypes.string,onChange:Kt.PropTypes.func.isRequired,placeholder:Kt.PropTypes.string,feedback:Kt.PropTypes.shape({type:Kt.PropTypes.string,message:Kt.PropTypes.array,isVisible:Kt.PropTypes.bool}),type:Kt.PropTypes.string},Ji.propTypes={id:Yt().string.isRequired,onChange:Yt().func.isRequired,socialMedium:Yt().string,isDisabled:Yt().bool},Qi.propTypes={socialProfiles:Yt().object.isRequired,dispatch:Yt().func.isRequired,errorFields:Yt().array},Xi.propTypes={socialProfiles:Yt().object.isRequired,onChangeHandler:Yt().func.isRequired,onChangeOthersHandler:Yt().func.isRequired,onAddProfileHandler:Yt().func.isRequired,onRemoveProfileHandler:Yt().func.isRequired,errorFields:Yt().array.isRequired};const el=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))})),tl=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),sl=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))}));var rl=s(8133);function nl({type:e="info",children:t,className:s=""}){let r,n;switch(e){case"info":r=(0,Zt.jsx)(el,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-blue-500"}),n="yst-bg-blue-100 yst-text-blue-800";break;case"warning":r=(0,Zt.jsx)(tl,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-yellow-500"}),n="yst-bg-yellow-100 yst-text-yellow-800";break;case"error":r=(0,Zt.jsx)(sl,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-red-500"}),n="yst-bg-red-100 yst-text-red-800";break;case"success":r=(0,Zt.jsx)(as,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-emerald-600"}),n="yst-bg-green-100 yst-text-green-800"}return(0,Zt.jsxs)("div",{className:bs()("yst-flex yst-p-4 yst-rounded-md",n,s),children:[r,(0,Zt.jsx)("div",{className:"yst-flex-1 yst-ms-3 yst-text-sm",children:t})]})}function al({id:e,isVisible:t,expandDuration:s=400,type:r="info",children:n,className:a=""}){const[i,l]=(0,o.useState)(t?"yst-opacity-100":"yst-opacity-0"),c=(0,o.useCallback)((()=>{l("yst-opacity-100")}),[]);return(0,Zt.jsx)(rl.Z,{id:e,height:t?"auto":0,easing:"linear",duration:s,onAnimationEnd:c,children:(0,Zt.jsx)(nl,{type:r,className:bs()("yst-transition-opacity yst-duration-300 yst-mt-4",i,a),children:n})})}function ol({state:e,dispatch:t,setErrorFields:s}){const r=(0,Wt.__)("If you select a Person to represent this site, we will use the social profiles from the selected user's profile page.","wordpress-seo"),n=Vt((0,Wt.sprintf)( // translators: %1$s is replaced by the selected person's username. (0,Wt.__)("You have selected the user %1$s as the person this site represents.","wordpress-seo"),`<b>${e.personName}</b>`),{b:(0,Zt.jsx)("b",{})}),a=Vt((0,Wt.sprintf)( // translators: %1$s and %2$s is replaced by a link to the selected person's profile page. (0,Wt.__)("You can %1$supdate or add social profiles to this user profile%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,Zt.jsx)("a",{id:"yoast-configuration-person-social-profiles-user-link",href:window.wpseoScriptData.userEditUrl.replace("{user_id}",e.personId),target:"_blank",rel:"noopener noreferrer","data-hiive-event-name":"clicked_update_or_add_profile | social profiles"})}),i=(0,Wt.__)("You're not allowed to edit the social profiles of this user. Please ask this user or an admin to do this.","wordpress-seo");return["company","emptyChoice"].includes(e.companyOrPerson)?(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)("p",{children:(0,Wt.__)("Fantastic work! Add your organization's social media accounts below. This allows us to fine-tune the metadata for these platforms.","wordpress-seo")}),(0,Zt.jsx)(Qi,{socialProfiles:e.socialProfiles,dispatch:t,errorFields:e.errorFields,setErrorFields:s})]}):0===e.personId?(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)("p",{children:r}),(0,Zt.jsx)(nl,{type:"info",className:"yst-mt-5",children: /* translators: please note that "Site representation" here refers to the name of a step in the first-time configuration, * so this occurrence needs to be translated in the same manner as that step's heading. */ (0,Wt.__)("Please select a user in the Site representation step.","wordpress-seo")})]}):(0,Zt.jsx)(o.Fragment,{children:(0,Zt.jsxs)("p",{children:[n," ",e.canEditUser?a:i]})})}nl.propTypes={type:Yt().oneOf(["info","warning","error","success"]),children:Yt().oneOfType([Yt().arrayOf(Yt().node),Yt().node]).isRequired,className:Yt().string},al.propTypes={id:Yt().string.isRequired,isVisible:Yt().bool.isRequired,type:Yt().oneOf(["info","warning","error","success"]),children:Yt().oneOfType([Yt().arrayOf(Yt().node),Yt().node]).isRequired,expandDuration:Yt().number,className:Yt().string},ol.propTypes={state:Yt().object.isRequired,dispatch:Yt().func.isRequired,setErrorFields:Yt().func.isRequired};const il={slideDuration:500,fadeDuration:200,delayBeforeOpening:900,delayBeforeFadingIn:1400,delayBeforeClosing:200},ll={fadeDuration:"yst-duration-200",slideDuration:"yst-duration-500",delayBeforeOpening:"yst-delay-[900ms]",delayUntilStepFaded:"yst-delay-200"},cl=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),{slideDuration:dl,delayUntilStepFaded:ul}=ll,pl=`yst-transition-opacity ${dl} yst-absolute yst-inset-0 yst-border-2 yst-flex yst-items-center yst-justify-center yst-rounded-full`;function ml(e){return`${pl} ${e?"yst-opacity-100":`${ul} yst-opacity-0`}`}function hl({isVisible:e=!0}){return(0,Zt.jsx)("span",{className:`yst-bg-white yst-border-primary-500 ${ml(e)}`,children:(0,Zt.jsx)("span",{className:"yst-h-2.5 yst-w-2.5 yst-rounded-full yst-bg-primary-500"})})}function fl({isVisible:e=!0}){return(0,Zt.jsx)("span",{className:`yst-bg-primary-500 yst-border-primary-500 ${ml(e)}`,children:(0,Zt.jsx)(cl,{className:"yst-w-5 yst-h-5 yst-text-white","aria-hidden":"true"})})}function yl({isVisible:e=!0}){return(0,Zt.jsx)("span",{className:`yst-bg-white yst-border-slate-300 ${ml(e)}`,children:(0,Zt.jsx)("span",{className:"yst-h-2.5 yst-w-2.5 yst-rounded-full yst-bg-transparent"})})}function gl({activationDelay:e=0,deactivationDelay:t=0,isFinished:s}){const{activeStepIndex:r,stepIndex:n,lastStepIndex:a}=Rl(),i=n===a,l=r===n,[c,d]=(0,o.useState)((()=>!!l&&!i));return(0,o.useEffect)((()=>{if(l){const t=setTimeout((()=>{d(!0)}),e);return()=>clearTimeout(t)}const s=setTimeout((()=>{d(!1)}),t);return()=>clearTimeout(s)}),[l,i,e,t]),(0,Zt.jsxs)("span",{className:"yst-relative yst-z-10 yst-w-8 yst-h-8 yst-rounded-full",children:[(0,Zt.jsx)(yl,{isVisible:!0}),(0,Zt.jsx)(fl,{isVisible:s}),(0,Zt.jsx)(hl,{isVisible:c&&!i})]})}function vl(e,t,s){return t&&!s?"yst-text-primary-500":e?"yst-text-slate-900":"yst-text-slate-600"}function bl({name:e,description:t="",isFinished:s,children:r=null}){const{stepIndex:n,activeStepIndex:a,lastStepIndex:i}=Rl(),l=a===n,c=i===n,[d,u]=(0,o.useState)(vl(s,l,c));return(0,o.useEffect)((()=>{if(l){const e=vl(s,l,c),t=setTimeout((()=>u(e)),il.delayBeforeOpening);return()=>clearTimeout(t)}const e=vl(s,l,c);u(e)}),[a,s,c,vl]),(0,Zt.jsxs)("div",{className:"yst-relative yst-flex yst-items-center yst-group","aria-current":l?"step":null,children:[(0,Zt.jsx)("span",{className:"yst-flex yst-items-center","aria-hidden":l?"true":null,children:(0,Zt.jsx)(gl,{activationDelay:il.delayBeforeOpening,deactivationDelay:0,isFinished:s})}),(0,Zt.jsxs)("span",{className:"yst-ms-4 yst-min-w-0 yst-flex yst-flex-col",children:[(0,Zt.jsx)("span",{className:`yst-transition-colors yst-duration-500 yst-text-xs yst-font-[650] yst-tracking-wide yst-uppercase ${d}`,children:e}),t&&(0,Zt.jsx)("span",{className:"yst-text-sm yst-text-slate-600",children:t})]}),r]})}hl.propTypes={isVisible:Yt().bool},fl.propTypes={isVisible:Yt().bool},yl.propTypes={isVisible:Yt().bool},gl.propTypes={isFinished:Yt().bool.isRequired,activationDelay:Yt().number,deactivationDelay:Yt().number},bl.propTypes={name:Yt().string.isRequired,isFinished:Yt().bool.isRequired,description:Yt().string,children:Yt().node};const{slideDuration:xl,delayBeforeOpening:wl,delayBeforeFadingIn:Sl,delayBeforeClosing:_l}=il,{fadeDuration:El,delayUntilStepFaded:jl,slideDuration:kl}=ll,Cl=(0,o.createContext)();function Rl(){const e=(0,o.useContext)(Cl);if(!e)throw new Error("Stepper compound components cannot be rendered outside the Stepper component");return e}function Nl({beforeGo:e=null,children:t=(0,Zt.jsx)(o.Fragment,{children:(0,Wt.__)("Continue","wordpress-seo")}),destination:s=1,...r}){const{stepIndex:n,setActiveStepIndex:a,lastStepIndex:i}=Rl(),c=(0,o.useCallback)((()=>{a("string"==typeof s?"last"===s?i:0:n+s)}),[n,i,a,s]),d=(0,o.useCallback)((async()=>{let t=!0;e&&(t=!1,t=await e()),t&&c()}),[c,e]);return(0,Zt.jsx)(l.Button,{onClick:d,...r,children:t})}function Ol({children:e=(0,Zt.jsx)(o.Fragment,{children:(0,Wt.__)("Edit","wordpress-seo")}),...t}){const{stepIndex:s,setActiveStepIndex:r}=Rl(),n=(0,o.useCallback)((()=>{r(s)}),[r,s]);return(0,Zt.jsx)(l.Button,{onClick:n,variant:"secondary",size:"small",...t,children:e})}function Pl({children:e}){const{lastStepIndex:t,stepIndex:s,activeStepIndex:r}=Rl();return(0,Zt.jsxs)(o.Fragment,{children:[s!==t&&(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)("div",{className:"yst--ms-px yst-absolute yst-start-4 yst-w-0.5 yst-h-full yst-bg-slate-300 yst--bottom-6","aria-hidden":"true"}),(0,Zt.jsx)("div",{className:bs()("yst-h-12 yst-transition-transform yst-ease-linear",jl,kl,s<r?"yst-scale-y-1":"yst-scale-y-0","yst-origin-top yst--ms-px yst-absolute yst-start-4 yst-w-0.5 yst-bg-primary-500 yst-top-8"),"aria-hidden":"true"})]}),e]})}function Tl({id:e,message:t,className:s=""}){return(0,Zt.jsx)(al,{id:e,type:"error",isVisible:!!t,className:s,children:(0,Wt.sprintf)(/* translators: %1$s expands to the error message returned by the server */ (0,Wt.__)("An error has occurred: %1$s","wordpress-seo"),t)})}function Ll({children:e}){const{activeStepIndex:t,stepIndex:s}=Rl(),r=t===s,[n,a]=(0,o.useState)(r?"auto":0),[i,l]=(0,o.useState)(!r);return(0,o.useEffect)((()=>{r?(a("auto"),setTimeout((()=>l(!1)),Sl)):(l(!0),a(0))}),[r]),(0,Zt.jsx)(o.Fragment,{children:(0,Zt.jsx)(rl.Z,{id:`content-${s}`,delay:0===n?_l:wl,height:n,easing:"ease-in-out",duration:xl,children:(0,Zt.jsx)("div",{className:bs()("yst-transition-opacity yst-relative yst-ms-12 yst-mt-4 yst-pb-1 yst-max-w-xl",El,i?"yst-opacity-0 yst-pointer-events-none":"yst-opacity-100"),children:e})})})}function Ml({children:e,setActiveStepIndex:t,activeStepIndex:s,isStepperFinished:r=!1}){return(0,Zt.jsx)("ol",{children:e.map(((n,a)=>(0,Zt.jsx)("li",{className:(a===e.length-1?"":"yst-pb-8")+" yst-mb-0 yst-relative yst-max-w-none",children:(0,Zt.jsx)(Cl.Provider,{value:{stepIndex:a,activeStepIndex:s,setActiveStepIndex:t,lastStepIndex:e.length-1,isStepperFinished:r},children:n})},`${n.props.name}-${a}`)))})}Nl.propTypes={beforeGo:Yt().func,children:Yt().node,destination:Yt().oneOfType([Yt().number,Yt().oneOf(["first","last"])])},Ol.propTypes={children:Yt().node},Pl.propTypes={children:Yt().node.isRequired},Tl.propTypes={id:Yt().string.isRequired,message:Yt().string.isRequired,className:Yt().string},Ll.propTypes={children:Yt().node.isRequired},Ml.propTypes={setActiveStepIndex:Yt().func.isRequired,activeStepIndex:Yt().number.isRequired,isStepperFinished:Yt().bool,children:Yt().node.isRequired},Pl.Content=Ll,Pl.Error=Tl,Pl.Header=bl,Pl.GoButton=Nl,Pl.EditButton=Ol;const Il={optimizeSeoData:"optimizeSeoData",siteRepresentation:"siteRepresentation",socialProfiles:"socialProfiles",personalPreferences:"personalPreferences"},Al={[Il.optimizeSeoData]:"data optimization",[Il.siteRepresentation]:"site representation",[Il.socialProfiles]:"social profiles",[Il.personalPreferences]:"personal preferences"};function Dl({stepId:e,additionalClasses:t="",beforeGo:s=null,children:r=null,...n}){return(0,Zt.jsx)(Pl.GoButton,{id:`button-${e}-continue`,variant:"primary",className:t,destination:1,beforeGo:s,"data-hiive-event-name":`clicked_continue | ${Al[e]}`,...n,children:r})}function Fl({stepId:e,additionalClasses:t="",isVisible:s=!0,beforeGo:r=null,children:n=null,...a}){const o=`yst-transition-opacity ${ll.slideDuration} yst-ease-out ${s?"yst-opacity-100":`${ll.delayBeforeOpening} yst-opacity-0 yst-pointer-events-none yst-hidden`}`;return(0,Zt.jsx)(Pl.GoButton,{id:`button-${e}-edit`,variant:"secondary",size:"small",className:bs()(o,t),destination:0,beforeGo:r,"data-hiive-event-name":`clicked_edit | ${Al[e]}`,...a,children:n})}function zl({stepId:e,additionalClasses:t="",beforeGo:s=null,children:r=null,...n}){return(0,Zt.jsx)(Pl.GoButton,{id:`button-${e}-back`,variant:"secondary",className:t,destination:-1,beforeGo:s,"data-hiive-event-name":`clicked_go_back | ${Al[e]}`,...n,children:r})}function Ul({stepId:e,beforeContinue:t=null,continueLabel:s=(0,Wt.__)("Continue","wordpress-seo"),beforeBack:r=null,backLabel:n=(0,Wt.__)("Go back","wordpress-seo")}){return(0,Zt.jsxs)("div",{className:"yst-mt-12",children:[(0,Zt.jsx)(Dl,{stepId:e,beforeGo:t,children:s}),(0,Zt.jsx)(zl,{stepId:e,additionalClasses:"yst-ms-3",beforeGo:r,children:n})]})}function Bl({stepId:e,stepperFinishedOnce:t,saveFunction:s,setEditState:r}){const n=(0,o.useCallback)((async()=>{const e=await s();return r(!e),e}),[s]);return t?(0,Zt.jsx)(Pl.GoButton,{id:`button-${e}-go`,variant:"primary",className:"yst-mt-12",destination:"last",beforeGo:n,"data-hiive-event-name":`clicked_save_changes | ${Al[e]}`,children:(0,Wt.__)("Save changes","wordpress-seo")}):(0,Zt.jsx)(Ul,{stepId:e,beforeContinue:s,continueLabel:(0,Wt.__)("Save and continue","wordpress-seo")})}Dl.propTypes={stepId:Yt().string.isRequired,additionalClasses:Yt().string,beforeGo:Yt().func,children:Yt().node},Fl.propTypes={stepId:Yt().string.isRequired,additionalClasses:Yt().string,isVisible:Yt().bool,beforeGo:Yt().func,children:Yt().node},zl.propTypes={stepId:Yt().string.isRequired,additionalClasses:Yt().string,beforeGo:Yt().func,children:Yt().node},Ul.propTypes={stepId:Yt().string.isRequired,beforeContinue:Yt().func,continueLabel:Yt().string,beforeBack:Yt().func,backLabel:Yt().string},Bl.propTypes={stepId:Yt().string.isRequired,stepperFinishedOnce:Yt().bool.isRequired,saveFunction:Yt().func.isRequired,setEditState:Yt().func.isRequired};const ql=window.yoast.helpers;class $l extends Error{constructor(e,t,s,r,n){super(e),this.name="RequestError",this.url=t,this.method=s,this.statusCode=r,this.stackTrace=n}}const{stripTagsFromHtmlString:Hl}=ql.strings,Wl=["a","p"];function Vl({title:e,value:t=""}){return t?(0,Zt.jsxs)("p",{children:[(0,Zt.jsx)("strong",{children:e}),(0,Zt.jsx)("br",{}),t]}):null}function Gl({title:e,value:t=""}){return t?(0,Zt.jsxs)("details",{children:[(0,Zt.jsx)("summary",{children:e}),(0,Zt.jsx)("pre",{className:"yst-overflow-x-scroll yst-max-w-[500px] yst-border-px yst-p-4",children:t})]}):null}function Kl({message:e,error:t,className:s=""}){return(0,Zt.jsxs)(nl,{type:"error",className:s,children:[(0,Zt.jsx)("div",{dangerouslySetInnerHTML:{__html:Hl(e,Wl)}}),(0,Zt.jsxs)("details",{children:[(0,Zt.jsx)("summary",{children:(0,Wt.__)("Error details","wordpress-seo")}),(0,Zt.jsxs)("div",{className:"yst-mt-2",children:[(0,Zt.jsx)(Vl,{title:(0,Wt.__)("Request URL","wordpress-seo"),value:t.url}),(0,Zt.jsx)(Vl,{title:(0,Wt.__)("Request method","wordpress-seo"),value:t.method}),(0,Zt.jsx)(Vl,{title:(0,Wt.__)("Status code","wordpress-seo"),value:t.statusCode}),(0,Zt.jsx)(Vl,{title:(0,Wt.__)("Error message","wordpress-seo"),value:t.message}),(0,Zt.jsx)(Gl,{title:(0,Wt.__)("Response","wordpress-seo"),value:t.parseString}),(0,Zt.jsx)(Gl,{title:(0,Wt.__)("Error stack trace","wordpress-seo"),value:t.stackTrace})]})]})]})}Vl.propTypes={title:Yt().string.isRequired,value:Yt().any},Gl.propTypes={title:Yt().string.isRequired,value:Yt().string},Kl.propTypes={message:Yt().string.isRequired,error:Yt().oneOfType([Yt().instanceOf(Error),Yt().instanceOf($l)]).isRequired,className:Yt().string};class Yl extends Error{constructor(e,t){super(e),this.name="ParseError",this.parseString=t}}const Zl="idle",Jl="in_progress",Ql="errored",Xl="completed";class ec extends o.Component{constructor(e){super(e),this.settings=yoastIndexingData,this.state={state:Zl,processed:0,error:null,amount:parseInt(this.settings.amount,10),firstTime:"1"===this.settings.firstTime},this.startIndexing=this.startIndexing.bind(this),this.stopIndexing=this.stopIndexing.bind(this)}async doIndexingRequest(e,t){const s=await fetch(e,{method:"POST",headers:{"X-WP-Nonce":t}}),r=await s.text();let n;try{n=JSON.parse(r)}catch(e){throw new Yl("Error parsing the response to JSON.",r)}if(!s.ok){const t=n.data?n.data.stackTrace:"";throw new $l(n.message,e,"POST",s.status,t)}return n}async doPreIndexingAction(e){"function"==typeof this.props.preIndexingActions[e]&&await this.props.preIndexingActions[e](this.settings)}async doPostIndexingAction(e,t){"function"==typeof this.props.indexingActions[e]&&await this.props.indexingActions[e](t.objects,this.settings)}async doIndexing(e){let t=this.settings.restApi.root+this.settings.restApi.indexing_endpoints[e];for(;this.isState(Jl)&&!1!==t;)try{await this.doPreIndexingAction(e);const s=await this.doIndexingRequest(t,this.settings.restApi.nonce);await this.doPostIndexingAction(e,s),(0,o.flushSync)((()=>{this.setState((e=>({processed:e.processed+s.objects.length,firstTime:!1})))})),t=s.next_url}catch(e){(0,o.flushSync)((()=>{this.setState({state:Ql,error:e,firstTime:!1})}))}}async index(){for(const e of Object.keys(this.settings.restApi.indexing_endpoints))await this.doIndexing(e);this.isState(Ql)||this.isState(Zl)||this.completeIndexing()}async startIndexing(){this.setState({processed:0,state:Jl},this.index)}completeIndexing(){this.setState({state:Xl})}stopIndexing(){this.setState((e=>({state:Zl,processed:0,amount:e.amount-e.processed})))}componentDidMount(){var e,t;if(!this.settings.disabled&&(this.props.indexingStateCallback(0===this.state.amount?"already_done":this.state.state),"true"===new URLSearchParams(window.location.search).get("start-indexation"))){const s=function(e,t){const s=new URL(e);return s.searchParams.delete("start-indexation"),s.href}(window.location.href);e=document.title,t=s,window.history.pushState(null,e,t),this.startIndexing()}}componentDidUpdate(e,t){this.state.state!==t.state&&this.props.indexingStateCallback(this.state.state)}isState(e){return this.state.state===e}renderFirstIndexationNotice(){return(0,Zt.jsx)(nl,{type:"info",className:"yst-mt-6",children:(0,Wt.__)("This feature includes and replaces the Text Link Counter and Internal Linking Analysis","wordpress-seo")})}renderStartButton(){return(0,Zt.jsx)(l.Button,{variant:"secondary",onClick:this.startIndexing,id:"indexation-data-optimization","data-hiive-event-name":"clicked_start_data_optimization",children:(0,Wt.__)("Start SEO data optimization","wordpress-seo")})}renderStopButton(){return(0,Zt.jsx)(l.Button,{variant:"secondary",onClick:this.stopIndexing,children:(0,Wt.__)("Stop SEO data optimization","wordpress-seo")})}renderDisabledTool(){return(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)("p",{children:(0,Zt.jsx)(l.Button,{variant:"secondary",disabled:!0,id:"indexation-data-optimization",children:(0,Wt.__)("Start SEO data optimization","wordpress-seo")})}),(0,Zt.jsx)(nl,{type:"info",className:"yst-mt-6",children:(0,Wt.__)("SEO data optimization is disabled for non-production environments.","wordpress-seo")})]})}renderProgressBar(){let e=0;return this.isState(Xl)&&(e=100),this.isState(Jl)&&(e=this.state.processed/parseInt(this.state.amount,10)*100),(0,Zt.jsx)("div",{className:"yst-w-full yst-bg-slate-200 yst-rounded-full yst-h-2.5 yst-mb-4",children:(0,Zt.jsx)("div",{className:"yst-transition-[width] yst-ease-linear yst-bg-primary-500 yst-h-2.5 yst-rounded-full",style:{width:`${e}%`}})})}renderCaption(){return(0,Zt.jsx)(rl.Z,{id:"optimization-in-progress-text",height:this.isState(Jl)?"auto":0,easing:"linear",duration:300,children:(0,Zt.jsx)("p",{className:"yst-text-sm yst-italic yst-mb-4 yst-mt-4",children:(0,Wt.__)("SEO data optimization is running… You can safely move on to the next steps of this configuration.","wordpress-seo")})})}renderErrorAlert(){return(0,Zt.jsx)(Kl,{message:yoastIndexingData.errorMessage,error:this.state.error,className:"yst-mb-4"})}render(){return this.settings.disabled?this.renderDisabledTool():(0,Zt.jsxs)("div",{className:"yst-relative",children:[this.props.children,(0,Zt.jsxs)(So,{unmount:!1,show:this.isState(Ql)||this.isState(Jl)||this.isState(Zl)&&this.state.amount>0,leave:"yst-transition-opacity yst-duration-1000",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0",children:[this.renderProgressBar(),this.isState(Ql)&&this.renderErrorAlert(),this.isState(Jl)?this.renderStopButton():this.renderStartButton(),this.renderCaption(),this.isState(Zl)&&this.state.firstTime&&this.renderFirstIndexationNotice()]})]})}}ec.propTypes={indexingActions:Yt().object,preIndexingActions:Yt().object,indexingStateCallback:Yt().func,children:Yt().node},ec.defaultProps={indexingActions:{},preIndexingActions:{},indexingStateCallback:()=>{},children:null};const tc=ec;function sc({indexingStateCallback:e,indexingState:t,isStepperFinished:s=!1}){return(0,Zt.jsx)(tc,{preIndexingActions:window.yoast.indexing.preIndexingActions,indexingActions:window.yoast.indexing.indexingActions,indexingStateCallback:e,children:(0,Zt.jsx)(So,{unmount:!1,show:["completed","already_done"].includes(t),enter:"yst-transition-opacity yst-duration-1000",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",children:(0,Zt.jsx)(nl,{type:"success",children:"already_done"!==t||s?(0,Wt.__)("We've successfully analyzed your site & optimized your SEO data!","wordpress-seo"):(0,Wt.__)("We've already successfully analyzed your site. You can move on to the next step.","wordpress-seo")})})})}function rc({children:e,className:t=""}){return(0,Zt.jsx)(l.Paper,{className:bs()("yst-flex yst-px-4 yst-py-4 yst-rounded-md yst-max-w-xl yst-border yst-border-primary-200",t),children:(0,Zt.jsx)("div",{className:"yst-flex-1 yst-text-sm yst-font-normal",children:e})})}sc.propTypes={indexingStateCallback:Yt().func.isRequired,indexingState:Yt().string.isRequired,isStepperFinished:Yt().bool},rc.propTypes={children:Yt().oneOfType([Yt().arrayOf(Yt().node),Yt().node]).isRequired,className:Yt().string};const nc=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),ac=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),d.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}))}));function oc({state:e,indexingState:t,setIndexingState:s,showRunIndexationAlert:r=!1,isStepperFinished:n=!1}){return(0,Zt.jsxs)("div",{className:"yst-@container",children:[(0,Zt.jsxs)("div",{className:"yst-mb-4",children:[(0,Zt.jsx)("p",{className:"yst-text-sm yst-whitespace-pre-line",children:(0,Wt.__)("Let's start by running the SEO data optimization. That means we'll scan your site and create a database with optimized SEO data. It won't change any content or settings on your site and you don't need to do anything, just hit start!","wordpress-seo")}),(0,Zt.jsx)("p",{className:"yst-text-sm yst-whitespace-pre-line yst-mt-4",children:Vt((0,Wt.sprintf)(/* translators: %1$s expands to opening 'span' HTML tag, %2$s expands to closing 'span' HTML tag. */ (0,Wt.__)("%1$sNote%2$s: If you have a lot of content, this optimization could take a moment. But trust us, it's worth it!","wordpress-seo"),"<span>","</span>"),{span:(0,Zt.jsx)("span",{className:"yst-text-slate-800 yst-font-medium"})})})]}),(0,Zt.jsx)("div",{id:"yoast-configuration-indexing-container",className:"indexation-container",children:(0,Zt.jsx)(sc,{indexingStateCallback:s,indexingState:t,isStepperFinished:n})}),(0,Zt.jsx)(al,{id:"indexation-alert",isVisible:"idle"===t&&r,expandDuration:400,type:"info",children:(0,Wt.__)("Be aware that you should run the SEO data optimization for this configuration to take maximum effect.","wordpress-seo")}),!e.isPremium&&(0,Zt.jsxs)(rc,{className:"yst-mt-6 yst-gap-2",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-col yst-gap-1",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-2 yst-items-center",children:[(0,Zt.jsx)(nc,{className:"yst-text-primary-300 yst-w-4 yst-h-4 yst-inline-block"}),(0,Zt.jsx)("p",{className:"yst-font-medium yst-text-slate-800",children:(0,Wt.__)("Want deeper insights?","wordpress-seo")})]}),(0,Zt.jsx)("p",{children:(0,Wt.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ (0,Wt.__)("%s gives you in-depth analysis and guidance for every post, helping you write content that ranks even better.","wordpress-seo"),"Yoast SEO Premium")})]}),(0,Zt.jsx)("p",{className:"yst-mt-4",children:(0,Zt.jsxs)(l.Button,{id:"ftc-indexing-learn-more",as:"a",href:window.wpseoFirstTimeConfigurationData.shortlinks.indexationLearnMore,variant:"tertiary",target:"_blank",className:"yst-p-0",children:[(0,Wt.__)("Learn more about Premium","wordpress-seo"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(ac,{className:"yst-ms-1 yst-w-4 yst-h-4 yst-icon-rtl"})]})})]})]})}function ic(e,t){let[s,r]=(0,d.useState)(e),n=Ja(e);return Ya((()=>r(n.current)),[n,r,...t]),s}oc.propTypes={indexingState:Yt().string.isRequired,setIndexingState:Yt().func.isRequired,showRunIndexationAlert:Yt().bool,isStepperFinished:Yt().bool};var lc=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(lc||{});function cc(e,t){let s=t.resolveItems();if(s.length<=0)return null;let r=t.resolveActiveIndex(),n=null!=r?r:-1,a=(()=>{switch(e.focus){case 0:return s.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=s.slice().reverse().findIndex(((e,s,r)=>!(-1!==n&&r.length-s-1>=n||t.resolveDisabled(e))));return-1===e?e:s.length-1-e}case 2:return s.findIndex(((e,s)=>!(s<=n||t.resolveDisabled(e))));case 3:{let e=s.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:s.length-1-e}case 4:return s.findIndex((s=>t.resolveId(s)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?r:a}let dc=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var uc,pc=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(pc||{}),mc=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(mc||{}),hc=((uc=hc||{})[uc.Previous=-1]="Previous",uc[uc.Next=1]="Next",uc),fc=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(fc||{});function yc(e,t=0){var s;return e!==(null==(s=Go(e))?void 0:s.body)&&Pa(t,{0:()=>e.matches(dc),1(){let t=e;for(;null!==t;){if(t.matches(dc))return!0;t=t.parentElement}return!1}})}function gc(e,t=(e=>e)){return e.slice().sort(((e,s)=>{let r=t(e),n=t(s);if(null===r||null===n)return 0;let a=r.compareDocumentPosition(n);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function vc(e,t,s){let r=Ja(t);(0,d.useEffect)((()=>{function t(e){r.current(e)}return document.addEventListener(e,t,s),()=>document.removeEventListener(e,t,s)}),[e,s])}function bc(e,t,s=!0){let r=(0,d.useRef)(!1);function n(s,n){if(!r.current||s.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),o=n(s);if(null!==o&&o.getRootNode().contains(o)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(o)||s.composed&&s.composedPath().includes(t))return}return!yc(o,fc.Loose)&&-1!==o.tabIndex&&s.preventDefault(),t(s,o)}}(0,d.useEffect)((()=>{requestAnimationFrame((()=>{r.current=s}))}),[s]);let a=(0,d.useRef)(null);vc("mousedown",(e=>{var t,s;r.current&&(a.current=(null==(s=null==(t=e.composedPath)?void 0:t.call(e))?void 0:s[0])||e.target)}),!0),vc("click",(e=>{!a.current||(n(e,(()=>a.current)),a.current=null)}),!0),vc("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}["textarea","input"].join(",");var xc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(xc||{});let wc=za((function(e,t){let{features:s=1,...r}=e;return Aa({ourProps:{ref:t,"aria-hidden":2==(2&s)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&s)&&2!=(2&s)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));function Sc(e={},t=null,s=[]){for(let[r,n]of Object.entries(e))Ec(s,_c(t,r),n);return s}function _c(e,t){return e?e+"["+t+"]":t}function Ec(e,t,s){if(Array.isArray(s))for(let[r,n]of s.entries())Ec(e,_c(t,r.toString()),n);else s instanceof Date?e.push([t,s.toISOString()]):"boolean"==typeof s?e.push([t,s?"1":"0"]):"string"==typeof s?e.push([t,s]):"number"==typeof s?e.push([t,`${s}`]):null==s?e.push([t,""]):Sc(s,t,e)}function jc(e,t,s){let[r,n]=(0,d.useState)(s),a=void 0!==e,o=(0,d.useRef)(a),i=(0,d.useRef)(!1),l=(0,d.useRef)(!1);return!a||o.current||i.current?!a&&o.current&&!l.current&&(l.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(i.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:r,Xa((e=>(a||n(e),null==t?void 0:t(e))))]}function kc(e){return[e.screenX,e.screenY]}function Cc(){let e=(0,d.useRef)([-1,-1]);return{wasMoved(t){let s=kc(t);return(e.current[0]!==s[0]||e.current[1]!==s[1])&&(e.current=s,!0)},update(t){e.current=kc(t)}}}var Rc=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Rc||{}),Nc=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Nc||{}),Oc=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Oc||{}),Pc=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Pc||{});function Tc(e,t=(e=>e)){let s=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=gc(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),n=s?r.indexOf(s):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let Lc={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:s}=e.dataRef.current,r=e.options.findIndex((e=>s(e.dataRef.current.value)));return-1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var s;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=Tc(e),n=cc(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:n,activationTrigger:null!=(s=t.trigger)?s:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let s=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),n=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+s).concat(e.options.slice(0,e.activeOptionIndex+s)):e.options).find((e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))})),a=n?e.options.indexOf(n):-1;return-1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let s={id:t.id,dataRef:t.dataRef},r=Tc(e,(e=>[...e,s]));return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(s)),{...e,...r}},6:(e,t)=>{let s=Tc(e,(e=>{let s=e.findIndex((e=>e.id===t.id));return-1!==s&&e.splice(s,1),e}));return{...e,...s,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},Mc=(0,d.createContext)(null);function Ic(e){let t=(0,d.useContext)(Mc);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ic),t}return t}Mc.displayName="ListboxActionsContext";let Ac=(0,d.createContext)(null);function Dc(e){let t=(0,d.useContext)(Ac);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Dc),t}return t}function Fc(e,t){return Pa(t.type,Lc,e,t)}Ac.displayName="ListboxDataContext";let zc=d.Fragment,Uc=za((function(e,t){let{value:s,defaultValue:r,name:n,onChange:a,by:o=((e,t)=>e===t),disabled:i=!1,horizontal:l=!1,multiple:c=!1,...u}=e;const p=l?"horizontal":"vertical";let m=so(t),[h=(c?[]:void 0),f]=jc(s,a,r),[y,g]=(0,d.useReducer)(Fc,{dataRef:(0,d.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,d.useRef)({static:!1,hold:!1}),b=(0,d.useRef)(null),x=(0,d.useRef)(null),w=(0,d.useRef)(null),S=Xa("string"==typeof o?(e,t)=>{let s=o;return(null==e?void 0:e[s])===(null==t?void 0:t[s])}:o),_=(0,d.useCallback)((e=>Pa(E.mode,{1:()=>h.some((t=>S(t,e))),0:()=>S(h,e)})),[h]),E=(0,d.useMemo)((()=>({...y,value:h,disabled:i,mode:c?1:0,orientation:p,compare:S,isSelected:_,optionsPropsRef:v,labelRef:b,buttonRef:x,optionsRef:w})),[h,i,c,y]);Ya((()=>{y.dataRef.current=E}),[E]),bc([E.buttonRef,E.optionsRef],((e,t)=>{var s;g({type:1}),yc(t,fc.Loose)||(e.preventDefault(),null==(s=E.buttonRef.current)||s.focus())}),0===E.listboxState);let j=(0,d.useMemo)((()=>({open:0===E.listboxState,disabled:i,value:h})),[E,i,h]),k=Xa((e=>{let t=E.options.find((t=>t.id===e));!t||L(t.dataRef.current.value)})),C=Xa((()=>{if(null!==E.activeOptionIndex){let{dataRef:e,id:t}=E.options[E.activeOptionIndex];L(e.current.value),g({type:2,focus:lc.Specific,id:t})}})),R=Xa((()=>g({type:0}))),N=Xa((()=>g({type:1}))),O=Xa(((e,t,s)=>e===lc.Specific?g({type:2,focus:lc.Specific,id:t,trigger:s}):g({type:2,focus:e,trigger:s}))),P=Xa(((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e})))),T=Xa((e=>(g({type:7,id:e}),()=>g({type:7,id:null})))),L=Xa((e=>Pa(E.mode,{0:()=>null==f?void 0:f(e),1(){let t=E.value.slice(),s=t.findIndex((t=>S(t,e)));return-1===s?t.push(e):t.splice(s,1),null==f?void 0:f(t)}}))),M=Xa((e=>g({type:3,value:e}))),I=Xa((()=>g({type:4}))),A=(0,d.useMemo)((()=>({onChange:L,registerOption:P,registerLabel:T,goToOption:O,closeListbox:N,openListbox:R,selectActiveOption:C,selectOption:k,search:M,clearSearch:I})),[]),D={ref:m},F=(0,d.useRef)(null),z=oo();return(0,d.useEffect)((()=>{!F.current||void 0!==r&&z.addEventListener(F.current,"reset",(()=>{L(r)}))}),[F,L]),d.createElement(Mc.Provider,{value:A},d.createElement(Ac.Provider,{value:E},d.createElement(Wa,{value:Pa(E.listboxState,{0:$a.Open,1:$a.Closed})},null!=n&&null!=h&&Sc({[n]:h}).map((([e,t],s)=>d.createElement(wc,{features:xc.Hidden,ref:0===s?e=>{var t;F.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ua({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),Aa({ourProps:D,theirProps:u,slot:j,defaultTag:zc,name:"Listbox"}))))})),Bc=za((function(e,t){var s;let r=qo(),{id:n=`headlessui-listbox-button-${r}`,...a}=e,o=Dc("Listbox.Button"),i=Ic("Listbox.Button"),l=so(o.buttonRef,t),c=oo(),u=Xa((e=>{switch(e.key){case $o.Space:case $o.Enter:case $o.ArrowDown:e.preventDefault(),i.openListbox(),c.nextFrame((()=>{o.value||i.goToOption(lc.First)}));break;case $o.ArrowUp:e.preventDefault(),i.openListbox(),c.nextFrame((()=>{o.value||i.goToOption(lc.Last)}))}})),p=Xa((e=>{e.key===$o.Space&&e.preventDefault()})),m=Xa((e=>{if(Ho(e.currentTarget))return e.preventDefault();0===o.listboxState?(i.closeListbox(),c.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox())})),h=ic((()=>{if(o.labelId)return[o.labelId,n].join(" ")}),[o.labelId,n]),f=(0,d.useMemo)((()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value})),[o]);return Aa({ourProps:{ref:l,id:n,type:Vo(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(s=o.optionsRef.current)?void 0:s.id,"aria-expanded":o.disabled?void 0:0===o.listboxState,"aria-labelledby":h,disabled:o.disabled,onKeyDown:u,onKeyUp:p,onClick:m},theirProps:a,slot:f,defaultTag:"button",name:"Listbox.Button"})})),qc=za((function(e,t){let s=qo(),{id:r=`headlessui-listbox-label-${s}`,...n}=e,a=Dc("Listbox.Label"),o=Ic("Listbox.Label"),i=so(a.labelRef,t);Ya((()=>o.registerLabel(r)),[r]);let l=Xa((()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})})),c=(0,d.useMemo)((()=>({open:0===a.listboxState,disabled:a.disabled})),[a]);return Aa({ourProps:{ref:i,id:r,onClick:l},theirProps:n,slot:c,defaultTag:"label",name:"Listbox.Label"})})),$c=Ma.RenderStrategy|Ma.Static,Hc=za((function(e,t){var s;let r=qo(),{id:n=`headlessui-listbox-options-${r}`,...a}=e,o=Dc("Listbox.Options"),i=Ic("Listbox.Options"),l=so(o.optionsRef,t),c=oo(),u=oo(),p=Ha(),m=null!==p?p===$a.Open:0===o.listboxState;(0,d.useEffect)((()=>{var e;let t=o.optionsRef.current;!t||0===o.listboxState&&t!==(null==(e=Go(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})}),[o.listboxState,o.optionsRef]);let h=Xa((e=>{switch(u.dispose(),e.key){case $o.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case $o.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];i.onChange(e.current.value)}0===o.mode&&(i.closeListbox(),ro().nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})));break;case Pa(o.orientation,{vertical:$o.ArrowDown,horizontal:$o.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(lc.Next);case Pa(o.orientation,{vertical:$o.ArrowUp,horizontal:$o.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(lc.Previous);case $o.Home:case $o.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(lc.First);case $o.End:case $o.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(lc.Last);case $o.Escape:return e.preventDefault(),e.stopPropagation(),i.closeListbox(),c.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case $o.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),u.setTimeout((()=>i.clearSearch()),350))}})),f=ic((()=>{var e,t,s;return null!=(s=null==(e=o.labelRef.current)?void 0:e.id)?s:null==(t=o.buttonRef.current)?void 0:t.id}),[o.labelRef.current,o.buttonRef.current]),y=(0,d.useMemo)((()=>({open:0===o.listboxState})),[o]);return Aa({ourProps:{"aria-activedescendant":null===o.activeOptionIndex||null==(s=o.options[o.activeOptionIndex])?void 0:s.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":f,"aria-orientation":o.orientation,id:n,onKeyDown:h,role:"listbox",tabIndex:0,ref:l},theirProps:a,slot:y,defaultTag:"ul",features:$c,visible:m,name:"Listbox.Options"})})),Wc=za((function(e,t){let s=qo(),{id:r=`headlessui-listbox-option-${s}`,disabled:n=!1,value:a,...o}=e,i=Dc("Listbox.Option"),l=Ic("Listbox.Option"),c=null!==i.activeOptionIndex&&i.options[i.activeOptionIndex].id===r,u=i.isSelected(a),p=(0,d.useRef)(null),m=Ja({disabled:n,value:a,domRef:p,get textValue(){var e,t;return null==(t=null==(e=p.current)?void 0:e.textContent)?void 0:t.toLowerCase()}}),h=so(t,p);Ya((()=>{if(0!==i.listboxState||!c||0===i.activationTrigger)return;let e=ro();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[p,c,i.listboxState,i.activationTrigger,i.activeOptionIndex]),Ya((()=>l.registerOption(r,m)),[m,r]);let f=Xa((e=>{if(n)return e.preventDefault();l.onChange(a),0===i.mode&&(l.closeListbox(),ro().nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})})))})),y=Xa((()=>{if(n)return l.goToOption(lc.Nothing);l.goToOption(lc.Specific,r)})),g=Cc(),v=Xa((e=>g.update(e))),b=Xa((e=>{!g.wasMoved(e)||n||c||l.goToOption(lc.Specific,r,0)})),x=Xa((e=>{!g.wasMoved(e)||n||!c||l.goToOption(lc.Nothing)})),w=(0,d.useMemo)((()=>({active:c,selected:u,disabled:n})),[c,u,n]);return Aa({ourProps:{id:r,ref:h,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":u,disabled:void 0,onClick:f,onFocus:y,onPointerEnter:v,onMouseEnter:v,onPointerMove:b,onMouseMove:b,onPointerLeave:x,onMouseLeave:x},theirProps:o,slot:w,defaultTag:"li",name:"Listbox.Option"})})),Vc=Object.assign(Uc,{Button:Bc,Label:qc,Options:Hc,Option:Wc});const Gc=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))}));function Kc({id:e,value:t,choices:s,label:r="",onChange:n,error:a={message:"",isVisible:!1},disabled:i=!1}){const l=(0,o.useMemo)((()=>{const e=s.find((e=>t===e.value));return e?e.label:(0,Wt.__)("Select an option","wordpress-seo")}),[s,t]);return(0,Zt.jsx)(Vc,{id:e,as:"div",value:t,onChange:n,disabled:i,children:({open:n})=>(0,Zt.jsxs)(Zt.Fragment,{children:[r&&(0,Zt.jsx)(Vc.Label,{className:"yst-block yst-max-w-sm yst-mb-2 yst-text-sm yst-font-medium yst-text-slate-800",children:r}),(0,Zt.jsxs)("div",{className:"yst-max-w-sm",children:[(0,Zt.jsxs)("div",{className:"yst-relative",children:[(0,Zt.jsxs)(Vc.Button,{"data-id":`button-${e} `,className:bs()("yst-relative yst-h-[40px] yst-w-full yst-leading-6 yst-py-2 yst-ps-3 yst-pe-10 yst-text-start yst-bg-white yst-border yst-border-slate-300 yst-rounded-md yst-shadow-sm yst-cursor-default focus:yst-outline-none focus:yst-ring-1 focus:yst-ring-primary-500 focus:yst-border-primary-500 sm:yst-text-sm",{"yst-border-red-300":a.isVisible,"yst-opacity-50":i},"emptyChoice"===t?"yst-text-slate-400":"yst-text-slate-700"),...zi(e,a),children:[(0,Zt.jsx)("span",{className:"yst-block yst-truncate",children:l}),(0,Zt.jsx)("span",{className:"yst-absolute yst-inset-y-0 yst-end-0 yst-flex yst-items-center yst-pe-2 yst-pointer-events-none",children:(0,Zt.jsx)(Gc,{className:"yst-w-5 yst-h-5 yst-text-slate-400","aria-hidden":"true"})}),a.isVisible&&(0,Zt.jsx)("div",{className:"yst-flex yst-items-center yst-absolute yst-inset-y-0 yst-end-0 yst-me-8",children:(0,Zt.jsx)(Vi,{className:"yst-pointer-events-none yst-h-5 yst-w-5 yst-text-red-500"})})]}),(0,Zt.jsx)(So,{show:n,as:o.Fragment,leave:"yst-transition yst-ease-in yst-duration-100",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0",children:(0,Zt.jsx)(Vc.Options,{static:!0,className:"yst-absolute yst-z-10 yst-w-full yst-mt-1 yst-overflow-auto yst-bg-white yst-rounded-md yst-shadow-lg yst-max-h-60 yst-ring-1 yst-ring-black yst-ring-opacity-5 focus:yst-outline-none sm:yst-text-sm",children:s.map((e=>(0,Zt.jsx)(Vc.Option,{as:o.Fragment,value:e.value,children:({selected:t,active:s})=>(0,Zt.jsxs)("li",{className:Ui({selected:t,active:s}),children:[(0,Zt.jsx)("span",{className:bs()(t?"yst-font-semibold":"yst-font-normal","yst-block yst-truncate"),children:e.label}),t?(0,Zt.jsx)("span",{className:bs()("yst-text-white yst-absolute yst-inset-y-0 yst-end-0 yst-flex yst-items-center yst-pe-4"),children:(0,Zt.jsx)(cl,{className:"yst-w-5 yst-h-5","aria-hidden":"true"})}):null]})},e.id)))})})]}),a.isVisible&&(0,Zt.jsx)(Ki,{id:Fi(e),className:"yst-mt-2 yst-text-sm yst-text-red-600",texts:a.message})]})]})})}Kc.propTypes={value:Kt.PropTypes.oneOfType([Kt.PropTypes.string,Kt.PropTypes.number]).isRequired,choices:Kt.PropTypes.arrayOf(Kt.PropTypes.shape({id:Kt.PropTypes.oneOfType([Kt.PropTypes.number,Kt.PropTypes.string]).isRequired,value:Kt.PropTypes.string.isRequired,label:Kt.PropTypes.string.isRequired})).isRequired,label:Kt.PropTypes.string,onChange:Kt.PropTypes.func.isRequired,id:Kt.PropTypes.string.isRequired,error:Kt.PropTypes.shape({message:Kt.PropTypes.string,isVisible:Kt.PropTypes.bool}),disabled:Kt.PropTypes.bool},window.yoast.socialMetadataForms;const Yc=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function Zc(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();e(Yc(s.attributes))})),t})(e).open()}const Jc=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Qc=({className:e=""})=>(0,Zt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:bs()("yst-animate-spin",e),children:[(0,Zt.jsx)("circle",{className:"yst-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,Zt.jsx)("path",{className:"yst-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]});Qc.propTypes={className:Yt().string};const Xc=Qc;function ed({id:e,imageAltText:t="",url:s="",fallbackUrl:r="",label:n="",onSelectImageClick:a=c.noop,onRemoveImageClick:i=c.noop,className:d="",error:u={message:"",isVisible:!1},status:p="idle"}){const m=bs()("yst-relative yst-w-full yst-h-48 yst-mt-2 yst-flex yst-justify-center yst-items-center yst-rounded-md yst-mb-4 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",u.isVisible?"yst-border-red-300":"yst-border-slate-300","yst-border-2 yst-border-dashed"),h=(0,o.useCallback)((()=>"loading"===p?(0,Zt.jsxs)("div",{className:"yst-text-center",children:[(0,Zt.jsx)(Xc,{size:"10",color:"gray-400",className:"yst-inline-block"}),(0,Zt.jsx)("p",{className:"yst-mt-3",children:(0,Wt.__)("Uploading image…","wordpress-seo")})]}):s?(0,Zt.jsx)("img",{src:s,alt:t,className:"yst-w-full yst-h-full yst-object-contain"}):r?(0,Zt.jsx)("img",{src:r,alt:t,className:"yst-w-full yst-h-full yst-object-contain"}):(0,Zt.jsx)(Jc,{id:`${e}-no-image-svg`,className:"yst-w-14 yst-h-14 yst-text-slate-500"})),[p,e,s,t]);return(0,Zt.jsxs)("div",{className:bs()("yst-max-w-sm",d),...zi(e,u),children:[(0,Zt.jsx)("label",{htmlFor:e,className:"yst-block yst-mb-2 yst-font-medium yst-text-slate-800",children:n}),(0,Zt.jsx)("button",{id:e,className:m,onClick:a,type:"button","data-hiive-event-name":"clicked_select_image",children:h()}),(0,Zt.jsxs)("div",{children:[(0,Zt.jsx)(l.Button,{id:s?e+"__replace-image":e+"__select-image",variant:"secondary",className:"yst-me-2",onClick:a,"data-hiive-event-name":s?"clicked_replace_image":"clicked_select_image",children:s?(0,Wt.__)("Replace image","wordpress-seo"):(0,Wt.__)("Select image","wordpress-seo")}),s&&(0,Zt.jsx)(l.Link,{id:`${e}__remove-image`,as:"button",type:"button",variant:"error",onClick:i,className:"yst-px-3 yst-py-2 yst-rounded-md","data-hiive-event-name":"clicked_remove_image",children:(0,Wt.__)("Remove image","wordpress-seo")})]}),"error"===p&&(0,Zt.jsx)("p",{className:"yst-mt-2 yst-text-sm yst-text-red-600",children:u}),u.isVisible&&(0,Zt.jsx)(Ki,{id:Fi(e),className:"yst-mt-2 yst-text-sm yst-text-red-600",texts:u.message})]})}function td({dispatch:e,imageUrl:t="",fallbackImageUrl:s="",organizationName:r="",fallbackOrganizationName:n="",errorFields:a=[]}){const i=(0,o.useCallback)((()=>{Zc((t=>{e({type:"SET_COMPANY_LOGO",payload:{...t}})}))}),[Zc]),l=(0,o.useCallback)((()=>{e({type:"REMOVE_COMPANY_LOGO"})}),[e]),c=(0,o.useCallback)((t=>{e({type:"CHANGE_COMPANY_NAME",payload:t.target.value})}),[e]);return(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)(Zi,{className:"yst-mt-6",id:"organization-name-input",name:"organization-name",label:(0,Wt.__)("Organization name","wordpress-seo"),value:""===r?n:r,onChange:c,feedback:{isVisible:a.includes("company_name"),message:[(0,Wt.__)("We could not save the organization name. Please check the value.","wordpress-seo")],type:"error"}}),(0,Zt.jsx)(ed,{className:"yst-mt-6",id:"organization-logo-input",url:t,fallbackUrl:s,onSelectImageClick:i,onRemoveImageClick:l,imageAltText:"",hasPreview:!0,label:(0,Wt.__)("Organization logo","wordpress-seo")})]})}function sd(e,t){let s=(0,d.useRef)([]),r=Xa(e);(0,d.useEffect)((()=>{let e=[...s.current];for(let[n,a]of t.entries())if(s.current[n]!==a){let n=r(t,e);return s.current=t,n}}),[r,...t])}ed.propTypes={label:Yt().string,id:Yt().string.isRequired,url:Yt().string,fallbackUrl:Yt().string,imageAltText:Yt().string,onRemoveImageClick:Yt().func,onSelectImageClick:Yt().func,className:Yt().string,error:Yt().shape({message:Yt().string,isVisible:Yt().bool}),status:Yt().string},td.propTypes={dispatch:Yt().func.isRequired,imageUrl:Yt().string,fallbackImageUrl:Yt().string,organizationName:Yt().string,fallbackOrganizationName:Yt().string,errorFields:Yt().array};var rd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rd||{}),nd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(nd||{}),ad=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ad||{}),od=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(od||{});function id(e,t=(e=>e)){let s=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=gc(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),n=s?r.indexOf(s):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let ld={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:s}=e.dataRef.current,r=e.options.findIndex((e=>s(e.dataRef.current.value)));return-1!==r&&(t=r),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var s;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let r=id(e);if(null===r.activeOptionIndex){let e=r.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(r.activeOptionIndex=e)}let n=cc(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,activeOptionIndex:n,activationTrigger:null!=(s=t.trigger)?s:1}},3:(e,t)=>{let s={id:t.id,dataRef:t.dataRef},r=id(e,(e=>[...e,s]));null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(s));let n={...e,...r,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(n.activeOptionIndex=0),n},4:(e,t)=>{let s=id(e,(e=>{let s=e.findIndex((e=>e.id===t.id));return-1!==s&&e.splice(s,1),e}));return{...e,...s,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},cd=(0,d.createContext)(null);function dd(e){let t=(0,d.useContext)(cd);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,dd),t}return t}cd.displayName="ComboboxActionsContext";let ud=(0,d.createContext)(null);function pd(e){let t=(0,d.useContext)(ud);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,pd),t}return t}function md(e,t){return Pa(t.type,ld,e,t)}ud.displayName="ComboboxDataContext";let hd=d.Fragment,fd=za((function(e,t){let{value:s,defaultValue:r,onChange:n,name:a,by:o=((e,t)=>e===t),disabled:i=!1,__demoMode:l=!1,nullable:c=!1,multiple:u=!1,...p}=e,[m=(u?[]:void 0),h]=jc(s,n,r),[f,y]=(0,d.useReducer)(md,{dataRef:(0,d.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),g=(0,d.useRef)(!1),v=(0,d.useRef)({static:!1,hold:!1}),b=(0,d.useRef)(null),x=(0,d.useRef)(null),w=(0,d.useRef)(null),S=(0,d.useRef)(null),_=Xa("string"==typeof o?(e,t)=>{let s=o;return(null==e?void 0:e[s])===(null==t?void 0:t[s])}:o),E=(0,d.useCallback)((e=>Pa(j.mode,{1:()=>m.some((t=>_(t,e))),0:()=>_(m,e)})),[m]),j=(0,d.useMemo)((()=>({...f,optionsPropsRef:v,labelRef:b,inputRef:x,buttonRef:w,optionsRef:S,value:m,defaultValue:r,disabled:i,mode:u?1:0,get activeOptionIndex(){if(g.current&&null===f.activeOptionIndex&&f.options.length>0){let e=f.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return f.activeOptionIndex},compare:_,isSelected:E,nullable:c,__demoMode:l})),[m,r,i,u,c,l,f]);Ya((()=>{f.dataRef.current=j}),[j]),bc([j.buttonRef,j.inputRef,j.optionsRef],(()=>I.closeCombobox()),0===j.comboboxState);let k=(0,d.useMemo)((()=>({open:0===j.comboboxState,disabled:i,activeIndex:j.activeOptionIndex,activeOption:null===j.activeOptionIndex?null:j.options[j.activeOptionIndex].dataRef.current.value,value:m})),[j,i,m]),C=Xa((e=>{let t=j.options.find((t=>t.id===e));!t||M(t.dataRef.current.value)})),R=Xa((()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];M(e.current.value),I.goToOption(lc.Specific,t)}})),N=Xa((()=>{y({type:0}),g.current=!0})),O=Xa((()=>{y({type:1}),g.current=!1})),P=Xa(((e,t,s)=>(g.current=!1,e===lc.Specific?y({type:2,focus:lc.Specific,id:t,trigger:s}):y({type:2,focus:e,trigger:s})))),T=Xa(((e,t)=>(y({type:3,id:e,dataRef:t}),()=>y({type:4,id:e})))),L=Xa((e=>(y({type:5,id:e}),()=>y({type:5,id:null})))),M=Xa((e=>Pa(j.mode,{0:()=>null==h?void 0:h(e),1(){let t=j.value.slice(),s=t.findIndex((t=>_(t,e)));return-1===s?t.push(e):t.splice(s,1),null==h?void 0:h(t)}}))),I=(0,d.useMemo)((()=>({onChange:M,registerOption:T,registerLabel:L,goToOption:P,closeCombobox:O,openCombobox:N,selectActiveOption:R,selectOption:C})),[]),A=null===t?{}:{ref:t},D=(0,d.useRef)(null),F=oo();return(0,d.useEffect)((()=>{!D.current||void 0!==r&&F.addEventListener(D.current,"reset",(()=>{M(r)}))}),[D,M]),d.createElement(cd.Provider,{value:I},d.createElement(ud.Provider,{value:j},d.createElement(Wa,{value:Pa(j.comboboxState,{0:$a.Open,1:$a.Closed})},null!=a&&null!=m&&Sc({[a]:m}).map((([e,t],s)=>d.createElement(wc,{features:xc.Hidden,ref:0===s?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ua({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),Aa({ourProps:A,theirProps:p,slot:k,defaultTag:hd,name:"Combobox"}))))})),yd=za((function(e,t){var s,r,n,a;let o=qo(),{id:i=`headlessui-combobox-input-${o}`,onChange:l,displayValue:c,type:u="text",...p}=e,m=pd("Combobox.Input"),h=dd("Combobox.Input"),f=so(m.inputRef,t),y=(0,d.useRef)(!1),g=oo(),v=function(){var e;return"function"==typeof c&&void 0!==m.value?null!=(e=c(m.value))?e:"":"string"==typeof m.value?m.value:""}();sd((([e,t],[s,r])=>{y.current||!m.inputRef.current||(0===r&&1===t||e!==s)&&(m.inputRef.current.value=e)}),[v,m.comboboxState]),sd((([e],[t])=>{if(0===e&&1===t){let e=m.inputRef.current;if(!e)return;let t=e.value,{selectionStart:s,selectionEnd:r,selectionDirection:n}=e;e.value="",e.value=t,null!==n?e.setSelectionRange(s,r,n):e.setSelectionRange(s,r)}}),[m.comboboxState]);let b=(0,d.useRef)(!1),x=Xa((()=>{b.current=!0})),w=Xa((()=>{setTimeout((()=>{b.current=!1}))})),S=Xa((e=>{switch(y.current=!0,e.key){case $o.Backspace:case $o.Delete:if(0!==m.mode||!m.nullable)return;let t=e.currentTarget;g.requestAnimationFrame((()=>{""===t.value&&(h.onChange(null),m.optionsRef.current&&(m.optionsRef.current.scrollTop=0),h.goToOption(lc.Nothing))}));break;case $o.Enter:if(y.current=!1,0!==m.comboboxState||b.current)return;if(e.preventDefault(),e.stopPropagation(),null===m.activeOptionIndex)return void h.closeCombobox();h.selectActiveOption(),0===m.mode&&h.closeCombobox();break;case $o.ArrowDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),Pa(m.comboboxState,{0:()=>{h.goToOption(lc.Next)},1:()=>{h.openCombobox()}});case $o.ArrowUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),Pa(m.comboboxState,{0:()=>{h.goToOption(lc.Previous)},1:()=>{h.openCombobox(),g.nextFrame((()=>{m.value||h.goToOption(lc.Last)}))}});case $o.Home:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(lc.First);case $o.PageUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(lc.First);case $o.End:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(lc.Last);case $o.PageDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),h.goToOption(lc.Last);case $o.Escape:return y.current=!1,0!==m.comboboxState?void 0:(e.preventDefault(),m.optionsRef.current&&!m.optionsPropsRef.current.static&&e.stopPropagation(),h.closeCombobox());case $o.Tab:if(y.current=!1,0!==m.comboboxState)return;0===m.mode&&h.selectActiveOption(),h.closeCombobox()}})),_=Xa((e=>{h.openCombobox(),null==l||l(e)})),E=Xa((()=>{y.current=!1})),j=ic((()=>{if(m.labelId)return[m.labelId].join(" ")}),[m.labelId]),k=(0,d.useMemo)((()=>({open:0===m.comboboxState,disabled:m.disabled})),[m]);return Aa({ourProps:{ref:f,id:i,role:"combobox",type:u,"aria-controls":null==(s=m.optionsRef.current)?void 0:s.id,"aria-expanded":m.disabled?void 0:0===m.comboboxState,"aria-activedescendant":null===m.activeOptionIndex||null==(r=m.options[m.activeOptionIndex])?void 0:r.id,"aria-multiselectable":1===m.mode||void 0,"aria-labelledby":j,"aria-autocomplete":"list",defaultValue:null!=(a=null!=(n=e.defaultValue)?n:void 0!==m.defaultValue?null==c?void 0:c(m.defaultValue):null)?a:m.defaultValue,disabled:m.disabled,onCompositionStart:x,onCompositionEnd:w,onKeyDown:S,onChange:_,onBlur:E},theirProps:p,slot:k,defaultTag:"input",name:"Combobox.Input"})})),gd=za((function(e,t){var s;let r=pd("Combobox.Button"),n=dd("Combobox.Button"),a=so(r.buttonRef,t),o=qo(),{id:i=`headlessui-combobox-button-${o}`,...l}=e,c=oo(),u=Xa((e=>{switch(e.key){case $o.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&n.openCombobox(),c.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case $o.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(n.openCombobox(),c.nextFrame((()=>{r.value||n.goToOption(lc.Last)}))),c.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case $o.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),n.closeCombobox(),c.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),p=Xa((e=>{if(Ho(e.currentTarget))return e.preventDefault();0===r.comboboxState?n.closeCombobox():(e.preventDefault(),n.openCombobox()),c.nextFrame((()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),m=ic((()=>{if(r.labelId)return[r.labelId,i].join(" ")}),[r.labelId,i]),h=(0,d.useMemo)((()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value})),[r]);return Aa({ourProps:{ref:a,id:i,type:Vo(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(s=r.optionsRef.current)?void 0:s.id,"aria-expanded":r.disabled?void 0:0===r.comboboxState,"aria-labelledby":m,disabled:r.disabled,onClick:p,onKeyDown:u},theirProps:l,slot:h,defaultTag:"button",name:"Combobox.Button"})})),vd=za((function(e,t){let s=qo(),{id:r=`headlessui-combobox-label-${s}`,...n}=e,a=pd("Combobox.Label"),o=dd("Combobox.Label"),i=so(a.labelRef,t);Ya((()=>o.registerLabel(r)),[r]);let l=Xa((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})),c=(0,d.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled})),[a]);return Aa({ourProps:{ref:i,id:r,onClick:l},theirProps:n,slot:c,defaultTag:"label",name:"Combobox.Label"})})),bd=Ma.RenderStrategy|Ma.Static,xd=za((function(e,t){let s=qo(),{id:r=`headlessui-combobox-options-${s}`,hold:n=!1,...a}=e,o=pd("Combobox.Options"),i=so(o.optionsRef,t),l=Ha(),c=null!==l?l===$a.Open:0===o.comboboxState;Ya((()=>{var t;o.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[o.optionsPropsRef,e.static]),Ya((()=>{o.optionsPropsRef.current.hold=n}),[o.optionsPropsRef,n]),function({container:e,accept:t,walk:s,enabled:r=!0}){let n=(0,d.useRef)(t),a=(0,d.useRef)(s);(0,d.useEffect)((()=>{n.current=t,a.current=s}),[t,s]),Ya((()=>{if(!e||!r)return;let t=Go(e);if(!t)return;let s=n.current,o=a.current,i=Object.assign((e=>s(e)),{acceptNode:s}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)o(l.currentNode)}),[e,r,n,a])}({container:o.optionsRef.current,enabled:0===o.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=ic((()=>{var e,t;return null!=(t=o.labelId)?t:null==(e=o.buttonRef.current)?void 0:e.id}),[o.labelId,o.buttonRef.current]);return Aa({ourProps:{"aria-labelledby":u,role:"listbox",id:r,ref:i},theirProps:a,slot:(0,d.useMemo)((()=>({open:0===o.comboboxState})),[o]),defaultTag:"ul",features:bd,visible:c,name:"Combobox.Options"})})),wd=za((function(e,t){var s,r;let n=qo(),{id:a=`headlessui-combobox-option-${n}`,disabled:o=!1,value:i,...l}=e,c=pd("Combobox.Option"),u=dd("Combobox.Option"),p=null!==c.activeOptionIndex&&c.options[c.activeOptionIndex].id===a,m=c.isSelected(i),h=(0,d.useRef)(null),f=Ja({disabled:o,value:i,domRef:h,textValue:null==(r=null==(s=h.current)?void 0:s.textContent)?void 0:r.toLowerCase()}),y=so(t,h),g=Xa((()=>u.selectOption(a)));Ya((()=>u.registerOption(a,f)),[f,a]);let v=(0,d.useRef)(!c.__demoMode);Ya((()=>{if(!c.__demoMode)return;let e=ro();return e.requestAnimationFrame((()=>{v.current=!0})),e.dispose}),[]),Ya((()=>{if(0!==c.comboboxState||!p||!v.current||0===c.activationTrigger)return;let e=ro();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=h.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[h,p,c.comboboxState,c.activationTrigger,c.activeOptionIndex]);let b=Xa((e=>{if(o)return e.preventDefault();g(),0===c.mode&&u.closeCombobox()})),x=Xa((()=>{if(o)return u.goToOption(lc.Nothing);u.goToOption(lc.Specific,a)})),w=Cc(),S=Xa((e=>w.update(e))),_=Xa((e=>{!w.wasMoved(e)||o||p||u.goToOption(lc.Specific,a,0)})),E=Xa((e=>{!w.wasMoved(e)||o||!p||c.optionsPropsRef.current.hold||u.goToOption(lc.Nothing)})),j=(0,d.useMemo)((()=>({active:p,selected:m,disabled:o})),[p,m,o]);return Aa({ourProps:{id:a,ref:y,role:"option",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,"aria-selected":m,disabled:void 0,onClick:b,onFocus:x,onPointerEnter:S,onMouseEnter:S,onPointerMove:_,onMouseMove:_,onPointerLeave:E,onMouseLeave:E},theirProps:l,slot:j,defaultTag:"li",name:"Combobox.Option"})})),Sd=Object.assign(fd,{Input:yd,Button:gd,Label:vd,Options:xd,Option:wd});function _d(e){return e&&e.label?e.label:null}function Ed({id:e,value:t=null,label:s="",onChange:r,onQueryChange:n=null,options:a,placeholder:i=(0,Wt.__)("Select an option","wordpress-seo"),isLoading:l=!1}){const[c,d]=(0,o.useState)(a),[u,p]=(0,o.useState)(""),m=(0,o.useCallback)((e=>{p(e.target.value)}),[p]),h=(0,o.useCallback)((()=>{p("")}),[p]);(0,o.useEffect)((()=>{d(a)}),[a]),(0,o.useEffect)((()=>{n?n(u):d(a.filter((e=>e.label.toLowerCase().includes(u.toLowerCase()))))}),[u,n]);const f=(0,o.useCallback)(((e,t)=>({selected:s,active:r})=>Ui({selected:s||e===t,active:r})),[Ui]),y=(0,o.useCallback)((e=>t=>{e&&t.stopPropagation()}),[]);return(0,Zt.jsx)(Sd,{id:e,as:"div",value:t,onChange:r,onBlur:h,children:({open:r})=>(0,Zt.jsxs)(o.Fragment,{children:[s&&(0,Zt.jsx)(Sd.Label,{className:"yst-block yst-mb-2 yst-max-w-sm yst-text-sm yst-font-medium yst-text-slate-800",children:s}),(0,Zt.jsxs)("div",{className:"yst-h-[40px] yst-max-w-sm yst-relative",children:[(0,Zt.jsxs)(Sd.Button,{"data-id":`button-${e}`,role:"button",className:"yst-w-full yst-h-full yst-rounded-md yst-border yst-border-slate-300 yst-flex yst-items-center yst-rounded-r-md yst-ps-3 yst-pe-2 focus-within:yst-border-primary-500 focus-within:yst-outline-none focus-within:yst-ring-1 focus-within:yst-ring-primary-500",as:"div",children:[(0,Zt.jsx)(Sd.Input,{"data-id":`input-${e}`,className:"yst-w-full yst-text-slate-700 yst-rounded-md yst-border-0 yst-outline-none yst-bg-white yst-py-1 yst-ps-0 yst-pe-10 yst-shadow-none sm:yst-text-sm",onChange:m,displayValue:_d,placeholder:i,onClick:y(r)}),(0,Zt.jsx)(Gc,{className:"yst-h-5 yst-w-5 yst-text-slate-400 yst-inset-y-0 yst-end-0","aria-hidden":"true"})]}),c.length>0&&(0,Zt.jsxs)(Sd.Options,{className:"yst-absolute yst-z-10 yst-mt-1 yst-max-h-60 yst-w-full yst-overflow-auto yst-rounded-md yst-bg-white yst-text-base yst-shadow-lg yst-ring-1 yst-ring-black yst-ring-opacity-5 focus:yst-outline-none sm:yst-text-sm",children:[l&&(0,Zt.jsxs)("div",{className:"yst-flex yst-bg-white yst-sticky yst-z-20 yst-text-sm yst-italic yst-top-0 yst-py-2 yst-ps-3 yst-pe-9 yst-my-0",children:[(0,Zt.jsx)(Xc,{className:"yst-text-primary-500 yst-h-4 yst-w-4 yst-me-2 yst-self-center"}),(0,Wt.__)("Loading…","wordpress-seo")]}),c.map((e=>(0,Zt.jsx)(Sd.Option,{value:e,className:f(e.value,t.value),children:({selected:s})=>(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)("span",{className:bs()("yst-block yst-truncate",(s||t.value===e.value)&&"yst-font-semibold"),children:e.label}),(s||t.value===e.value)&&(0,Zt.jsx)("span",{className:"yst-absolute yst-inset-y-0 yst-end-0 yst-flex yst-items-center yst-pe-4 yst-text-white",children:(0,Zt.jsx)(cl,{className:"yst-h-5 yst-w-5","aria-hidden":"true"})})]})},`yst-option-${e.value}`)))]})]})]})})}Ed.propTypes={onChange:Yt().func.isRequired,options:Yt().array.isRequired,id:Yt().string.isRequired,value:Yt().shape({value:Yt().number,label:Yt().string}),label:Yt().string,onQueryChange:Yt().func,placeholder:Yt().string,isLoading:Yt().bool};const jd={"X-WP-NONCE":wpApiSettings.nonce},kd=wpApiSettings.root;function Cd({initialValue:e={id:0,name:""},onChangeCallback:t=c.noop,placeholder:s=(0,Wt.__)("Select a user","wordpress-seo")}){const[r,n]=(0,o.useState)([]),[a,i]=(0,o.useState)({value:e.id,label:e.name}),[l,d]=(0,o.useState)(!1),u=(0,o.useRef)(!0);(0,o.useEffect)((()=>()=>{u.current=!1}),[]);const p=(0,o.useCallback)((e=>{i(e),t(e)})),m=(0,o.useCallback)((0,c.debounce)((async e=>{d(!0);const t=await function(e=""){const t=`${kd}wp/v2/users?per_page=20${e?`&search=${encodeURIComponent(e)}`:""}`;return(0,ql.sendRequest)(t,{method:"GET",headers:jd})}(e);u.current&&(d(!1),n(t.map((e=>({value:e.id,label:e.name})))))}),500),[]);return(0,Zt.jsx)(Ed,{id:"yoast-configuration-user-select",value:a,label:(0,Wt.__)("Name","wordpress-seo"),onChange:p,onQueryChange:m,options:r,placeholder:s,isLoading:l})}function Rd({dispatch:e,imageUrl:t="",fallbackImageUrl:s="",person:r={id:0,name:""},canEditUser:n}){const a=(0,o.useCallback)((()=>{Zc((t=>{e({type:"SET_PERSON_LOGO",payload:{...t}})}))}),[Zc]),i=(0,o.useCallback)((()=>{e({type:"REMOVE_PERSON_LOGO"})}),[e]),l=(0,o.useCallback)((t=>{e({type:"SET_PERSON",payload:t}),pa()({path:`yoast/v1/configuration/check_capability?user_id=${t.value}`}).then((t=>{e({type:"SET_CAN_EDIT_USER",payload:t.success})})).catch((e=>{console.error(e.message)}))}),[e]),c=(0,Wt.__)("You have selected the user %1$s as the person this site represents. This user profile information will now be used in search results. %2$sUpdate this profile to make sure the information is correct%3$s.","wordpress-seo"),d=(0,Wt.__)("You have selected the user %1$s as the person this site represents. This user profile information will now be used in search results. You're not allowed to update this user profile, so please ask this user or an admin to make sure the information is correct.","wordpress-seo"),u=(0,o.useMemo)((()=>Vt((0,Wt.sprintf)(n?c:d,`<b>${r.name}</b>`,"<a>","</a>"),{b:(0,Zt.jsx)("b",{}),a:(0,Zt.jsx)("a",{id:"yoast-configuration-user-selector-user-link",href:window.wpseoScriptData.userEditUrl.replace("{user_id}",r.id),target:"_blank",rel:"noopener noreferrer"})})),[r.id,r.name,n]);return(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)(Cd,{initialValue:r,onChangeCallback:l,name:"person_id",placeholder:(0,Wt.__)("Select a user","wordpress-seo")}),(0,Zt.jsx)(al,{id:"user-representation-alert",isVisible:0!==r.id,type:"info",className:"yst-mt-5",children:u}),(0,Zt.jsx)(ed,{className:"yst-mt-6",id:"person-logo-input",url:t,fallbackUrl:s,onSelectImageClick:a,onRemoveImageClick:i,imageAltText:"",hasPreview:!0,label:(0,Wt.__)("Personal logo or avatar","wordpress-seo")})]})}Cd.propTypes={initialValue:Yt().shape({id:Yt().number,name:Yt().string}),onChangeCallback:Yt().func,placeholder:Yt().string},Rd.propTypes={dispatch:Yt().func.isRequired,imageUrl:Yt().string,fallbackImageUrl:Yt().string,person:Yt().shape({id:Yt().number,name:Yt().string}),canEditUser:Yt().bool.isRequired};const Nd=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"}))})),Od=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"}))}));function Pd({onOrganizationOrPersonChange:e,dispatch:t,state:s,siteRepresentationEmpty:r}){const[n,a]=(0,o.useState)("emptyChoice"===s.companyOrPerson?"yst-opacity-0":"yst-opacity-100"),i=(0,o.useCallback)((()=>{a("yst-opacity-100")}),[a]),c=(0,o.useCallback)((e=>{t({type:"CHANGE_WEBSITE_NAME",payload:e.target.value})}),[t]),d=Vt((0,Wt.sprintf)( /* translators: %1$s expands to opening 'span' HTML tag, %2$s expands to closing 'span' HTML tag, %3$s expands to opening 'a' HTML tag, %4$s expands to closing 'a' HTML tag. */ (0,Wt.__)("Completing this step helps Google to understand your site even better. %1$sBonus%2$s: You'll improve your chance of getting %3$srich results%4$s!","wordpress-seo"),"<span>","</span>","<a>","</a>"),{span:(0,Zt.jsx)("span",{className:"yst-text-slate-800 yst-font-medium"}),a:(0,Zt.jsx)("a",{id:"yoast-configuration-rich-text-link",href:"https://yoa.st/config-workout-rich-results",target:"_blank",rel:"noopener noreferrer"})});return(0,Zt.jsxs)(o.Fragment,{children:[window.wpseoFirstTimeConfigurationData.knowledgeGraphMessage&&(0,Zt.jsx)(nl,{type:"info",children:window.wpseoFirstTimeConfigurationData.knowledgeGraphMessage}),(0,Zt.jsx)("p",{className:bs()("yst-text-sm yst-whitespace-pre-line yst-mb-6",s.shouldForceCompany?"yst-mt-4":"yst-mt-0"),children:s.shouldForceCompany?d:(0,Zt.jsxs)(o.Fragment,{children:[(0,Wt.__)("Tell us! Is your site about an organization or a person?","wordpress-seo"),(0,Zt.jsx)("br",{}),d]})}),(0,Zt.jsx)(Kc,{id:"organization-person-select",htmlFor:"organization-person-select",name:"organization",label:(0,Wt.__)("Does your site represent an Organization or Person?","wordpress-seo"),value:s.shouldForceCompany?"company":s.companyOrPerson,onChange:e,choices:s.companyOrPersonOptions,disabled:!!s.shouldForceCompany}),!("company"===s.companyOrPerson&&s.companyName&&s.companyLogo||"company"===s.companyOrPerson&&!s.companyLogoFallback||"person"===s.companyOrPerson&&s.personLogo||"person"===s.companyOrPerson&&!s.personLogoFallback)&&(0,Zt.jsx)(nl,{type:"info",className:"yst-mt-6",children:(0,Wt.__)("We took the liberty of using your website name and logo for the organization name and logo. Feel free to change them below.","wordpress-seo")}),(0,Zt.jsx)(Zi,{className:"yst-my-6",id:"website-name-input",name:"website-name",label:(0,Wt.__)("Website name","wordpress-seo"),value:s.websiteName||s.fallbackWebsiteName,onChange:c,feedback:{isVisible:s.errorFields.includes("website_name"),message:[(0,Wt.__)("We could not save the website name. Please check the value.","wordpress-seo")],type:"error"}}),(0,Zt.jsx)(rl.Z,{height:["company","person"].includes(s.companyOrPerson)?"auto":0,duration:400,easing:"linear",onAnimationEnd:i,children:(0,Zt.jsxs)("div",{className:bs()("yst-transition-opacity yst-duration-300 yst-mt-6",n),children:["company"===s.companyOrPerson&&(0,Zt.jsx)(td,{dispatch:t,imageUrl:s.companyLogo,fallbackImageUrl:s.companyLogoFallback,organizationName:s.companyName,fallbackOrganizationName:s.fallbackCompanyName,errorFields:s.errorFields}),"person"===s.companyOrPerson&&(0,Zt.jsx)(Rd,{dispatch:t,imageUrl:s.personLogo,fallbackImageUrl:s.personLogoFallback,person:{id:s.personId,name:s.personName},canEditUser:!!s.canEditUser,errorFields:s.errorFields})]})}),(0,Zt.jsx)(al,{id:"site-representation-empty-alert",isVisible:r,className:"yst-mt-6",children:(0,Wt.__)("You're almost there! Complete all settings in this step so search engines know what your site is about.","wordpress-seo")}),!s.isPremium&&s.isWooCommerceActive&&!s.isWooCommerceSeoActive&&(0,Zt.jsxs)(rc,{className:"yst-mt-6 yst-gap-2",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-col yst-gap-1",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-2 yst-items-center",children:[(0,Zt.jsx)(Nd,{className:"yst-text-primary-300 yst-w-4 yst-h-4 yst-inline-block"}),(0,Zt.jsx)("p",{className:"yst-font-medium yst-text-slate-800",children:(0,Wt.__)("Running an online store?","wordpress-seo")})]}),(0,Zt.jsx)("p",{children:(0,Wt.sprintf)(/* translators: %s expands to Yoast WooCommerce SEO. */ (0,Wt.__)("%s helps your products stand out in Google Shopping and Rich Results.","wordpress-seo"),"Yoast WooCommerce SEO")})]}),(0,Zt.jsx)("p",{className:"yst-mt-4",children:(0,Zt.jsxs)(l.Button,{id:"ftc-indexing-learn-more",as:"a",href:window.wpseoFirstTimeConfigurationData.shortlinks.reprWoocommerceLearnMore,variant:"tertiary",target:"_blank",className:"yst-p-0",children:[(0,Wt.sprintf)(/* translators: %s expands to WooCommerce SEO. */ (0,Wt.__)("Learn more about %s","wordpress-seo"),"WooCommerce SEO"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(ac,{className:"yst-ms-1 yst-w-4 yst-h-4 yst-icon-rtl"})]})})]}),"company"===s.companyOrPerson&&!s.isPremium&&!s.isWooCommerceActive&&(0,Zt.jsxs)(rc,{className:"yst-mt-6 yst-gap-2",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-col yst-gap-1",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-2 yst-items-center",children:[(0,Zt.jsx)(Od,{className:"yst-text-primary-300 yst-w-4 yst-h-4 yst-inline-block"}),(0,Zt.jsx)("p",{className:"yst-font-medium yst-text-slate-800",children:(0,Wt.__)("Have a physical location?","wordpress-seo")})]}),(0,Zt.jsx)("p",{children:(0,Wt.sprintf)(/* translators: %s expands to Yoast Local SEO. */ (0,Wt.__)("%s helps you show up in Google Maps and local results. Complete your visibility where it matters most!","wordpress-seo"),"Yoast Local SEO")})]}),(0,Zt.jsx)("p",{className:"yst-mt-4",children:(0,Zt.jsxs)(l.Button,{id:"ftc-indexing-learn-more",as:"a",href:window.wpseoFirstTimeConfigurationData.shortlinks.reprLocalLearnMore,variant:"tertiary",target:"_blank",className:"yst-p-0",children:[(0,Wt.sprintf)(/* translators: %s expands to Local SEO. */ (0,Wt.__)("Learn more about %s","wordpress-seo"),"Local SEO"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(ac,{className:"yst-ms-1 yst-w-4 yst-h-4 yst-icon-rtl"})]})})]})]})}function Td(e,t,s=""){return Vt(e,{a:(0,Zt.jsx)("a",{id:s,href:t,target:"_blank",rel:"noopener noreferrer"})})}Pd.propTypes={onOrganizationOrPersonChange:Yt().func.isRequired,dispatch:Yt().func.isRequired,state:Yt().object.isRequired,siteRepresentationEmpty:Yt().bool.isRequired};const Ld=(0,Wt.__)("Oops! Something went wrong. Check your email address and try again.","wordpress-seo"),Md=(0,Wt.__)("Please enter a valid email address.","wordpress-seo"),Id=(0,Wt.__)("Thank you! Check your inbox for the confirmation email.","wordpress-seo");function Ad({gdprLink:e=""}){const[t,s]=(0,o.useState)(""),[r,n]=(0,o.useState)("waiting"),[a,i]=(0,o.useState)(""),l=To("selectPreference",[],"isPremium"),c=To("selectPreference",[],"addonsStatus"),d=(0,o.useCallback)((async function(){if(!(0,fa.isEmail)(t))return n("error"),void i(Md);n("loading");const e=await async function(e,t,s){const r=Lo("ftc",t,s);return(await fetch("https://my.yoast.com/api/Mailing-list/subscribe",{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify({customerDetails:{firstName:"",email:e},list:"Yoast newsletter",source:r})})).json()}(t,l,c);e.error?(n("error"),i(Ld)):(n("success"),i(Id))}),[t]),u=(0,o.useCallback)((e=>{n("waiting"),s(e.target.value)}),[s]);return(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)("h4",{className:"yst-text-slate-800 yst-text-sm yst-leading-6 yst-font-medium",children:(0,Wt.__)("Get free weekly SEO tips!","wordpress-seo")}),(0,Zt.jsx)("p",{className:"yst-mb-2",children:(0,Wt.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Yoast SEO". */ (0,Wt.__)("Subscribe to the %1$s newsletter to receive best practices for improving your rankings, save time on SEO tasks, stay up-to-date with the latest SEO news, and get expert guidance on how to make the most of %2$s!","wordpress-seo"),"Yoast SEO","Yoast SEO")}),(0,Zt.jsxs)("div",{className:"yst-flex yst-items-start yst-gap-2 yst-mt-4 yst-mb-2",children:[(0,Zt.jsx)(Zi,{label:(0,Wt.__)("Email address","wordpress-seo"),id:"newsletter-email",name:"newsletter email",value:t,onChange:u,className:"yst-grow",type:"email",placeholder:(0,Wt.__)("E.g. example@email.com","wordpress-seo"),feedback:{isVisible:["error","success"].includes(r),type:r,message:[a]}}),(0,Zt.jsx)("button",{type:"button",id:"newsletter-sign-up-button",className:"yst-button yst-button--primary yst-h-[40px] yst-items-center yst-mt-[27.5px] yst-shrink-0",onClick:d,disabled:"loading"===r,"data-hiive-event-name":"clicked_signup | personal preferences",children:(0,Wt.__)("Yes, give me your free tips!","wordpress-seo")})]}),(0,Zt.jsx)("p",{className:"yst-text-slate-500 yst-text-xxs yst-leading-4",children:Td((0,Wt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing anchor tags. (0,Wt.__)("Yoast respects your privacy. Read %1$sour privacy policy%2$s on how we handle your personal information.","wordpress-seo"),"<a>","</a>"),e,"yoast-configuration-gdpr-link")})]})}Ad.propTypes={gdprLink:Yt().string};const Dd={variant:{default:"","inline-block":"yst-radio--inline-block"}},Fd={variant:{default:"","inline-block":"yst-radio-group--inline-block"}},zd=({id:e,name:t,value:s,label:r,variant:n="default",className:a="",...o})=>(0,Zt.jsxs)("div",{className:bs()("yst-radio",Dd.variant[n],a),children:[(0,Zt.jsx)("input",{type:"radio",id:e,name:t,value:s,className:"yst-radio__input",...o}),r&&(0,Zt.jsx)(Ud,{htmlFor:e,className:"yst-radio__label",children:r})]});zd.propTypes={name:Yt().string.isRequired,id:Yt().string.isRequired,value:Yt().oneOfType([Yt().string,Yt().number]).isRequired,label:Yt().string.isRequired,variant:Yt().oneOf(Object.keys(Dd.variant)),className:Yt().string};const Ud=({children:e,as:t="label",className:s="",...r})=>(0,Zt.jsx)(t,{className:bs()("yst-label",s),...r,children:e});Ud.propTypes={children:Yt().node.isRequired,as:Yt().elementType,className:Yt().string};const Bd=({children:e=null,id:t,name:s,value:r,label:n=null,options:a,onChange:i,variant:l="default",className:c="",...d})=>{const u=(0,o.useCallback)((({target:e})=>e.checked&&i(e.value)),[i]);return(0,Zt.jsxs)("fieldset",{className:bs()("yst-radio-group",Fd.variant[l],c),children:[n&&(0,Zt.jsx)(Ud,{as:"legend",className:"yst-radio-group__label",children:n}),e&&(0,Zt.jsx)("div",{className:"yst-radio-group__description",children:e}),(0,Zt.jsx)("div",{className:"yst-radio-group__options",children:a.map(((e,n)=>{const a=`${t}-${n}`;return(0,Zt.jsx)(zd,{id:a,name:s,value:e.value,label:e.label,variant:l,checked:r===e.value,onChange:u,...d},a)}))})]})};Bd.propTypes={children:Yt().node,id:Yt().string.isRequired,name:Yt().string.isRequired,value:Yt().oneOfType([Yt().string,Yt().number]).isRequired,options:Yt().arrayOf(Yt().shape({value:Yt().oneOfType([Yt().string,Yt().number]).isRequired,label:Yt().string.isRequired})).isRequired,onChange:Yt().func.isRequired,label:Yt().node,variant:Yt().oneOf(Object.keys(Fd.variant)),className:Yt().string};const qd=Bd,$d=(0,ql.makeOutboundLink)();function Hd({state:e,setTracking:t}){return(0,Zt.jsxs)(o.Fragment,{children:[!e.isPremium&&(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)(Ad,{gdprLink:window.wpseoFirstTimeConfigurationData.shortlinks.gdpr}),(0,Zt.jsx)("hr",{className:"yst-bg-slate-200 yst-my-6"})]}),(0,Zt.jsx)("h4",{className:"yst-text-slate-800 yst-text-sm yst-leading-6 yst-font-medium",children:(0,Wt.__)("Are you open to help us improve our services?","wordpress-seo")}),!!e.isMainSite&&!e.isTrackingAllowedMultisite&&(0,Zt.jsx)(nl,{type:"warning",children:(0,Wt.__)("This feature has been disabled by the network admin.","wordpress-seo")}),!e.isMainSite&&(0,Zt.jsx)(nl,{type:"warning",children:(0,Wt.__)("This feature has been disabled since subsites never send tracking data.","wordpress-seo")}),(0,Zt.jsx)("p",{className:bs()("yst-text-normal yst-mb-4",e.isMainSite&&e.isTrackingAllowedMultisite?"":"yst-opacity-50"),children:(0,Wt.sprintf)(/* translators: 1: Yoast SEO. */ (0,Wt.__)("Can we collect anonymous information about your website to enhance %1$s?","wordpress-seo"),"Yoast SEO")}),(0,Zt.jsx)(qd,{id:"yoast-configuration-tracking-radio-button",name:"yoast-configuration-tracking",value:e.tracking,onChange:t,className:e.isMainSite&&e.isTrackingAllowedMultisite?"":"yst-opacity-50",disabled:!e.isMainSite||!e.isTrackingAllowedMultisite,options:[{value:0,label:(0,Wt.__)("No, I don't want to share my site data","wordpress-seo")},{value:1,label:(0,Wt.__)("Yes, you can collect my site data","wordpress-seo")}]}),!!e.isMainSite&&!!e.isTrackingAllowedMultisite&&(0,Zt.jsxs)(o.Fragment,{children:[(0,Zt.jsx)($d,{className:"yst-inline-block yst-mt-4",href:"https://yoa.st/config-workout-tracking",children:(0,Wt.__)("What data will be collected and why?","wordpress-seo")}),(0,Zt.jsx)("p",{className:"yst-my-2 yst-italic",children:Vt((0,Wt.sprintf)(/* translators: %1$s expands to opening 'span' HTML tag, %2$s expands to closing 'span' HTML tag. */ (0,Wt.__)("%1$sImportant:%2$s We won't sell this data, and we won't collect any personal information about you or your visitors.","wordpress-seo"),"<span>","</span>"),{span:(0,Zt.jsx)("span",{className:"yst-text-slate-800 yst-font-medium"})})})]})]})}Hd.propTypes={state:Yt().object.isRequired,setTracking:Yt().func.isRequired};const Wd=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 10V3L4 14h7v7l9-11h-7z"}))}));function Vd(e){e.preventDefault(),window.location.href="admin.php?page=wpseo_dashboard"}function Gd({state:e}){const t=(0,c.get)(window,"wpseoScriptData.webinarIntroFirstTimeConfigUrl","https://yoa.st/webinar-intro-first-time-config"),s=[(0,Wt.__)("Optimize for multiple keyphrases per page to reach a wider audience.","wordpress-seo"),(0,Wt.__)("Get smart internal linking suggestions that strengthen your site structure.","wordpress-seo"),(0,Wt.__)("Automatically redirect broken URLs so you don’t lose traffic or SEO value.","wordpress-seo"),(0,Wt.__)("Save time with AI-powered title and meta description suggestions.","wordpress-seo")];return(0,Zt.jsx)("div",{className:"yst-flex yst-flex-row yst-justify-between yst-items-center yst-mt-4",children:(0,Zt.jsxs)("div",{children:[(0,Zt.jsx)("p",{className:"yst-text-sm yst-mb-4",children:(0,Wt.sprintf)(/* translators: 1: Yoast. */ (0,Wt.__)("Great work! Thanks to the details you've provided, %1$s has enhanced your site for search engines, giving them a clearer picture of what your site is all about.","wordpress-seo"),"Yoast")}),(0,Zt.jsx)("p",{className:"yst-text-sm yst-mb-6",children:(0,Wt.__)("If your goal is to increase your rankings, you need to work on your SEO regularly. That can be overwhelming, so let's tackle it one step at a time!","wordpress-seo")}),(0,Zt.jsxs)(l.Button,{as:"a",variant:"primary",id:"button-webinar-seo-dashboard",href:t,target:"_blank","data-hiive-event-name":"clicked_to_onboarding_page",children:[(0,Wt.sprintf)(/* translators: 1: Yoast SEO. */ (0,Wt.__)("Learn how to increase your rankings with %1$s","wordpress-seo"),"Yoast SEO"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,Zt.jsx)(ac,{className:"yst-w-4 yst-h-4 yst-icon-rtl yst-ms-2"})]}),(0,Zt.jsx)("p",{className:"yst-mt-6",children:(0,Zt.jsxs)(l.Button,{id:"link-webinar-register",as:"a",onClick:Vd,"data-hiive-event-name":"clicked_seo_dashboard",variant:"tertiary",children:[(0,Wt.__)("Or go to your SEO dashboard","wordpress-seo"),(0,Zt.jsx)(ws,{className:"yst-ms-1 yst-w-4 yst-h-4 yst-icon-rtl"})]})}),!e.isPremium&&(0,Zt.jsxs)(rc,{className:"yst-mt-8 yst-gap-2",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-flex-col yst-gap-1",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-2 yst-items-center",children:[(0,Zt.jsx)(Wd,{className:"yst-text-primary-300 yst-w-4 yst-h-4 yst-inline-block"}),(0,Zt.jsx)("p",{className:"yst-font-medium yst-text-slate-800",children:(0,Wt.__)("Your site’s ready to shine! Want to take it to the next level?","wordpress-seo")})]}),(0,Zt.jsx)("p",{className:"yst-mt-4",children:Vt((0,Wt.sprintf)( /* translators: %1$s expands to opening 'span' HTML tag, %2$s expands to Yoast SEO Premium, %3$s expands to closing 'span' HTML tag. */ (0,Wt.__)("%1$s%2$s%3$s helps you:","wordpress-seo"),"<span>","Yoast SEO Premium","</span>"),{span:(0,Zt.jsx)("span",{className:"yst-text-slate-800 yst-font-medium"})})}),(0,Zt.jsx)("ul",{className:"yst-flex yst-flex-col yst-gap-2 yst-list-none yst-list-outside yst-text-slate-600 yst-mt-2",children:s.map(((e,t)=>(0,Zt.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,Zt.jsx)(as,{className:"yst-mr-2 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),e]},`upsell-benefit-${t}`)))})]}),(0,Zt.jsx)("p",{className:"yst-mt-5",children:(0,Zt.jsxs)(l.Button,{as:"a",variant:"upsell",href:window.wpseoFirstTimeConfigurationData.shortlinks.finishLearnMore,className:"yst-gap-2 sm:yst-max-w-sm",target:"_blank",rel:"noopener",children:[(0,Zt.jsx)(Qt,{className:"yst-w-4 yst-h-4"}),(0,Wt.__)("Unlock all Premium features","wordpress-seo"),(0,Zt.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("(Opens in a new browser tab)","wordpress-seo")})]})})]})]})})}function Kd(e,t){const{companyName:s,companyLogo:r,companyOrPersonOptions:n,shouldForceCompany:a,fallbackCompanyName:o,websiteName:i,fallbackWebsiteName:l}=e;let{companyOrPerson:c}=e;return("company"!==c||s||r||t(Il.siteRepresentation))&&!a||(c="company"),{...e,personId:Number(e.personId),personLogoId:Number(e.personLogoId),companyLogoId:Number(e.companyLogoId),tracking:Number(e.tracking),companyOrPerson:c,companyOrPersonOptions:n,errorFields:[],stepErrors:{},editedSteps:[],companyName:s||o,websiteName:i||l}}function Yd(){const{removeAlert:e,dismissNotice:t,restoreNotice:s,setTaskCompleted:n}=(0,r.useDispatch)(No),a=(0,r.useSelect)((e=>e(No).selectIsTaskCompleted("complete-ftc")),[]),[i,l]=(0,o.useState)(window.wpseoFirstTimeConfigurationData.finishedSteps),d=(0,o.useCallback)((e=>i.includes(e)),[i]),u=(0,o.useCallback)((e=>{l((t=>(0,c.uniq)([...t,e])))}),[l]);(0,o.useEffect)((()=>{!async function(e){const t=await pa()({path:"yoast/v1/configuration/save_configuration_state",method:"POST",data:{finishedSteps:e}});await t.json}(i),window.wpseoFirstTimeConfigurationData.finishedSteps=i}),[i]);const[p,m]=(0,o.useReducer)(qi,{...Kd(window.wpseoFirstTimeConfigurationData,d)}),[h,f]=(0,o.useState)((()=>"0"===window.yoastIndexingData.amount?"already_done":"idle")),[y,g]=(0,o.useState)(!1),[v,b]=(0,o.useState)(!1),x=(0,o.useCallback)(((e,t)=>{m({type:"SET_STEP_ERROR",payload:{step:e,message:t}})}),[]),w=(0,o.useCallback)((e=>{m({type:"REMOVE_STEP_ERROR",payload:e})}),[]);(0,o.useEffect)((()=>{"completed"===h&&(e("wpseo-reindex"),window.yoastIndexingData.amount="0")}),[h,e]);const S=d(Il.optimizeSeoData),_=d(Il.siteRepresentation),E=d(Il.socialProfiles),j=d(Il.personalPreferences),k=(0,o.useCallback)((e=>{m({type:"SET_TRACKING",payload:parseInt(e,10)})})),C=(0,o.useCallback)((e=>{m({type:"SET_ERROR_FIELDS",payload:e})})),R=(0,o.useCallback)((()=>{""!==p.companyLogo&&0!==p.companyLogoId&&""!==p.companyName?t("yoast-local-missing-organization-info-notice"):s("yoast-local-missing-organization-info-notice")}),[t,s,p.companyLogo,p.companyLogoId,p.companyName]),N=(0,o.useCallback)((()=>{t("yoast-first-time-configuration-notice")}),[t]),O=!("company"!==p.companyOrPerson||p.companyName&&(p.companyLogo||p.companyLogoFallback)&&p.websiteName),P=!("person"!==p.companyOrPerson||p.personId&&(p.personLogo||p.personLogoFallback)&&p.websiteName),T=(0,o.useCallback)((e=>m({type:"SET_COMPANY_OR_PERSON",payload:e})),[m]),L=[S,_,E,j].every(Boolean),M=[d(Il.optimizeSeoData),d(Il.siteRepresentation),d(Il.socialProfiles),d(Il.personalPreferences),L],[I,A]=(0,o.useState)(function(e){if(!Array.isArray(e)||0===e.length)return 0;const t=e.findIndex((e=>!1===e));return-1!==t?t:e.every(Boolean)?e.length-1:0}(M)),[D,F]=(0,o.useState)(L),[z,U]=(0,o.useState)(!1),[B,q]=(0,o.useState)(D&&!z);function $(){return q(!1),U(!0),!0}(0,o.useEffect)((()=>{L&&(F(!0),!1===a&&n("complete-ftc"))}),[L]),(0,o.useEffect)((()=>{q(D&&!z)}),[D,z]),(0,o.useEffect)((()=>{function e(e){"Enter"===e.key&&"first-time-configuration-tab"===document.querySelector(".nav-tab.nav-tab-active").id&&"INPUT"===e.target.tagName&&e.preventDefault()}return addEventListener("keydown",e),()=>removeEventListener("keydown",e)}),[]),(0,o.useEffect)((()=>{p.editedSteps.includes(I+1)||"in_progress"===h?window.isStepBeingEdited=!0:window.isStepBeingEdited=!1}),[p.editedSteps,h,I]);const H=(0,o.useCallback)((e=>{(p.editedSteps.includes(I+1)||"in_progress"===h)&&(-1===location.href.indexOf("page=wpseo_dashboard#top#first-time-configuration")&&-1===location.href.indexOf("page=wpseo_dashboard#/first-time-configuration")||(e.preventDefault(),e.returnValue=""))}),[p.editedSteps,h,I]);return(0,o.useEffect)((()=>(window.addEventListener("beforeunload",H),()=>{window.removeEventListener("beforeunload",H)})),[H]),(0,Zt.jsxs)(Ml,{setActiveStepIndex:A,activeStepIndex:I,isStepperFinished:L,children:[(0,Zt.jsxs)(Pl,{children:[(0,Zt.jsx)(Pl.Header,{name:(0,Wt.__)("SEO data optimization","wordpress-seo"),isFinished:S,children:(0,Zt.jsx)(Fl,{stepId:Il.optimizeSeoData,beforeGo:$,isVisible:B,additionalClasses:"yst-ms-auto",children:(0,Wt.__)("Edit","wordpress-seo")})}),(0,Zt.jsxs)(Pl.Content,{children:[(0,Zt.jsx)(oc,{state:p,setIndexingState:f,indexingState:h,showRunIndexationAlert:v,isStepperFinished:L}),(0,Zt.jsx)(Dl,{stepId:Il.optimizeSeoData,additionalClasses:"yst-mt-12",beforeGo:function(){return v||"idle"!==h||"1"===window.yoastIndexingData.disabled?(U(!1),u(Il.optimizeSeoData),!0):(b(!0),!1)},destination:D?"last":1,children:(0,Wt.__)("Continue","wordpress-seo")})]})]}),(0,Zt.jsxs)(Pl,{children:[(0,Zt.jsx)(Pl.Header,{name:(0,Wt.__)("Site representation","wordpress-seo"),isFinished:_,children:(0,Zt.jsx)(Fl,{stepId:Il.siteRepresentation,beforeGo:$,isVisible:B,additionalClasses:"yst-ms-auto",children:(0,Wt.__)("Edit","wordpress-seo")})}),(0,Zt.jsxs)(Pl.Content,{children:[(0,Zt.jsx)(Pd,{onOrganizationOrPersonChange:T,dispatch:m,state:p,siteRepresentationEmpty:y}),(0,Zt.jsx)(Pl.Error,{id:"yoast-site-representation-step-error",message:p.stepErrors[Il.siteRepresentation]||""}),(0,Zt.jsx)(Bl,{stepId:Il.siteRepresentation,stepperFinishedOnce:D,saveFunction:function(){return!y&&O||!y&&P?(g(!0),!1):y||"emptyChoice"!==p.companyOrPerson?(g("emptyChoice"===p.companyOrPerson||O||P),async function(e){const t={company_or_person:"emptyChoice"===e.companyOrPerson?"company":e.companyOrPerson,company_name:e.companyName,company_logo:e.companyLogo,company_logo_id:e.companyLogoId?e.companyLogoId:0,website_name:e.websiteName,person_logo:e.personLogo,person_logo_id:e.personLogoId?e.personLogoId:0,company_or_person_user_id:e.personId},s=await pa()({path:"yoast/v1/configuration/site_representation",method:"POST",data:t});return await s.json}(p).then((()=>(C([]),w(Il.siteRepresentation),u(Il.siteRepresentation),window.wpseoFirstTimeConfigurationData={...window.wpseoFirstTimeConfigurationData,...p},R(),!0))).catch((e=>e.failures?(C(e.failures),!1):(e.message&&x(Il.siteRepresentation,e.message),!1)))):(g(!0),!1)},setEditState:U})]})]}),(0,Zt.jsxs)(Pl,{children:[(0,Zt.jsx)(Pl.Header,{name:(0,Wt.__)("Social profiles","wordpress-seo"),isFinished:E,children:(0,Zt.jsx)(Fl,{stepId:Il.socialProfiles,beforeGo:$,isVisible:B,additionalClasses:"yst-ms-auto",children:(0,Wt.__)("Edit","wordpress-seo")})}),(0,Zt.jsxs)(Pl.Content,{children:[(0,Zt.jsx)(ol,{state:p,dispatch:m,setErrorFields:C}),(0,Zt.jsx)(Pl.Error,{id:"yoast-social-profiles-step-error",message:p.stepErrors[Il.socialProfiles]||""}),(0,Zt.jsx)(Bl,{stepId:Il.socialProfiles,stepperFinishedOnce:D,saveFunction:function(){return"person"===p.companyOrPerson?(u(Il.socialProfiles),!0):async function(e){const t={facebook_site:e.socialProfiles.facebookUrl,twitter_site:e.socialProfiles.twitterUsername,other_social_urls:e.socialProfiles.otherSocialUrls},s=await pa()({path:"yoast/v1/configuration/social_profiles",method:"POST",data:t});return await s.json}(p).then((e=>!1===e.success?(C(e.failures),Promise.reject("There were errors saving social profiles")):e)).then((()=>{C([]),w(Il.socialProfiles),u(Il.socialProfiles)})).then((()=>(window.wpseoFirstTimeConfigurationData.socialProfiles=p.socialProfiles,!0))).catch((e=>(e.failures&&C(e.failures),e.message&&x(Il.socialProfiles,e.message),!1)))},setEditState:U})]})]}),(0,Zt.jsxs)(Pl,{children:[(0,Zt.jsx)(Pl.Header,{name:(0,Wt.__)("Personal preferences","wordpress-seo"),isFinished:j,children:(0,Zt.jsx)(Fl,{stepId:Il.personalPreferences,beforeGo:$,isVisible:B,additionalClasses:"yst-ms-auto",children:(0,Wt.__)("Edit","wordpress-seo")})}),(0,Zt.jsxs)(Pl.Content,{children:[(0,Zt.jsx)(Hd,{state:p,setTracking:k}),(0,Zt.jsx)(Pl.Error,{id:"yoast-personal-preferences-step-error",message:p.stepErrors[Il.personalPreferences]||""}),(0,Zt.jsx)(Bl,{stepId:Il.personalPreferences,stepperFinishedOnce:D,saveFunction:function(){return async function(e){if(0!==e.tracking&&1!==e.tracking)throw"Value not set!";const t={tracking:e.tracking},s=await pa()({path:"yoast/v1/configuration/enable_tracking",method:"POST",data:t});return await s.json}(p).then((()=>u(Il.personalPreferences))).then((()=>(w(Il.personalPreferences),window.wpseoFirstTimeConfigurationData.tracking=p.tracking,N(),!0))).catch((e=>(e.message&&x(Il.personalPreferences,e.message),!1)))},setEditState:U})]})]}),(0,Zt.jsxs)(Pl,{children:[(0,Zt.jsx)(Pl.Header,{name:(0,Wt.__)("Finish configuration","wordpress-seo"),isFinished:L}),(0,Zt.jsx)(Pl.Content,{children:(0,Zt.jsx)(Gd,{state:p})})]})]})}const Zd=()=>{const e=function(e){let{router:t,basename:s}=ft(mt.UseBlocker),r=yt(ht.UseBlocker),[n,a]=d.useState(""),o=d.useCallback((t=>{if("/"===s)return e(t);let{currentLocation:r,nextLocation:n,historyAction:a}=t;return e({currentLocation:Ye({},r,{pathname:B(r.pathname,s)||r.pathname}),nextLocation:Ye({},n,{pathname:B(n.pathname,s)||n.pathname}),historyAction:a})}),[s,e]);return d.useEffect((()=>{let e=String(++bt);return a(e),()=>t.deleteBlocker(e)}),[t]),d.useEffect((()=>{""!==n&&t.getBlocker(n,o)}),[t,n,o]),n&&r.blockers.has(n)?r.blockers.get(n):oe}((({currentLocation:e,nextLocation:t})=>(0,c.get)(window,"isStepBeingEdited",!1)&&"/first-time-configuration"===e.pathname&&"/first-time-configuration"!==t.pathname));return(0,Zt.jsxs)(l.Paper,{children:[(0,Zt.jsx)(Li,{title:(0,Wt.__)("First-time configuration","wordpress-seo"),description:(0,Wt.__)("Tell us about your site, so we can get it ranked! Let's get your site in tip-top shape for the search engines. Follow these 5 steps to make Google understand what your site is about.","wordpress-seo"),children:(0,Zt.jsx)("div",{id:"yoast-configuration",className:"yst-p-8 yst-max-w-[715px]",children:(0,Zt.jsx)(Yd,{})})}),(0,Zt.jsx)(Ps,{isOpen:"blocked"===e.state,onClose:e.reset,title:(0,Wt.__)("Unsaved changes","wordpress-seo"),description:(0,Wt.__)("There are unsaved changes in one or more steps of the first-time configuration. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo"),onDiscard:e.proceed,dismissLabel:(0,Wt.__)("No, continue editing","wordpress-seo"),discardLabel:(0,Wt.__)("Yes, leave page","wordpress-seo")})]})},Jd=()=>(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(l.Paper,{className:"yst-p-8 yst-grow",children:(0,Zt.jsxs)("header",{className:"yst-max-w-screen-sm",children:[(0,Zt.jsx)(l.Title,{children:(0,Wt.__)("Alert center","wordpress-seo")}),(0,Zt.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,Wt.__)("Monitor and manage potential SEO problems affecting your site and stay informed with important notifications and updates.","wordpress-seo")})]})}),(0,Zt.jsxs)("div",{className:"yst-grid yst-grid-cols-1 @3xl:yst-grid-cols-2 yst-gap-6 yst-my-6 yst-grow yst-items-start",children:[(0,Zt.jsx)(hi,{}),(0,Zt.jsx)(mi,{})]})]}),Qd=()=>{const{setTasks:e}=(0,r.useDispatch)(No),{getTasksEndpoint:t,isPremium:s,tasks:n,nonce:a}=(0,r.useSelect)((e=>{const t=e(No);return{getTasksEndpoint:t.selectTasksEndpoints().getTasks,isPremium:t.getIsPremium(),tasks:t.selectTasks(),nonce:t.selectNonce()}}),[]),[d,u]=(0,o.useState)({error:null,isPending:!1}),[p,m]=(0,o.useState)([]);(0,o.useEffect)((()=>{const e={high:1,medium:2,low:3},t=(0,c.sortBy)((0,c.values)(n),[e=>e.isCompleted,t=>e[t.priority],e=>e.duration,e=>e.title.toLowerCase()]);m(t)}),[n]);const h=(0,c.size)(n),f=(0,c.size)((0,c.values)(n).filter((e=>e.isCompleted))),y=(0,o.useCallback)((async()=>{try{u({isPending:!0,error:null});const s=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":a}}),r=await s.json();if(!0!==r.success)throw new Error(r.error);e(r.tasks),u({error:null,isPending:!1})}catch(e){u({error:e,isPending:!1})}}),[t,a,u,e]);(0,o.useEffect)((()=>{(0,c.isEmpty)(n)&&y()}),[n,y]);const{error:g,isPending:v}=d;return(0,Zt.jsx)(l.Paper,{className:"yst-mb-6",children:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)(l.Paper.Header,{children:[(0,Zt.jsx)(l.Title,{children:(0,Wt.__)("Task list","wordpress-seo")}),(0,Zt.jsx)("p",{className:"yst-max-w-screen-sm yst-mt-3 yst-text-tiny",children:(0,Wt.__)("Stay on top of your SEO progress with this task list. Complete each task to ensure your site is optimized and aligned with best SEO practices.","wordpress-seo")})]}),(0,Zt.jsxs)(l.Paper.Content,{children:[(0,Zt.jsx)(i.TasksProgressBar,{completedTasks:f,totalTasks:h,isLoading:v}),(0,Zt.jsxs)(l.Table,{className:"yst-mt-4",children:[(0,Zt.jsx)(l.Table.Head,{children:(0,Zt.jsxs)(l.Table.Row,{children:[(0,Zt.jsx)(l.Table.Header,{children:(0,Wt.__)("Task","wordpress-seo")}),(0,Zt.jsx)(l.Table.Header,{className:"yst-max-w-36",children:(0,Wt.__)("Est. duration","wordpress-seo")}),(0,Zt.jsx)(l.Table.Header,{className:"yst-max-w-44",children:(0,Wt.__)("Priority","wordpress-seo")})]})}),(0,Zt.jsxs)(l.Table.Body,{children:[(0,c.isEmpty)(n)&&v&&[{id:"task-1",title:"Complete the First-time configuration"},{id:"task-2",title:"Remove the Hello World post"},{id:"task-3",title:"Create an llms.txt file"},{id:"task-4",title:"Set search appearance templates for your posts"},{id:"task-5",title:"Set search appearance templates for your pages"}].map((e=>(0,Zt.jsx)(i.TaskRow.Loading,{...e},e.id))),g&&(0,Zt.jsx)(i.GetTasksErrorRow,{message:g}),!(0,c.isEmpty)(p)&&(0,c.values)(p).map((e=>(0,Zt.jsx)(iu,{...e},e.id))),!s&&(0,Zt.jsx)(ou,{})]})]})]})]})})},Xd="/alert-center",eu="/first-time-configuration",tu="/task-list",su=()=>{const{handleDismiss:e}=(0,l.useToastContext)(),t=(0,l.useSvgAria)(),s=tu,n=at(),{hideOptInNotification:a}=(0,r.useDispatch)(No),i=(0,o.useCallback)((async()=>{a("task_list"),e(),n(s)}),[s,n]);return(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-3 yst-justify-end yst-mt-3",children:[(0,Zt.jsx)(l.Button,{size:"small",variant:"tertiary",onClick:e,children:(0,Wt.__)("Dismiss","wordpress-seo")}),(0,Zt.jsxs)(l.Button,{size:"small",className:"yst-gap-1",onClick:i,children:[(0,Wt.__)("Show me","wordpress-seo"),(0,Zt.jsx)(ws,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180",...t})]})]})},ru=()=>{const{setOptInNotificationSeen:e,hideOptInNotification:t}=(0,r.useDispatch)(No),s=(0,l.useSvgAria)(),[n,a,i]=(0,l.useToggleState)(!1),c=(0,o.useCallback)((()=>{t("task_list")}),[t]);return(0,o.useEffect)((()=>(e("task_list"),a(),()=>{t("task_list")})),[]),(0,Zt.jsx)(l.Toast,{id:"yoast_wpseo_task_list_opt_in_notification",isVisible:n,className:"yst-w-96",position:"bottom-left",setIsVisible:i,onDismiss:c,children:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-3",children:[(0,Zt.jsx)("div",{className:"yst-flex-shrink-0",children:(0,Zt.jsx)(Di,{className:"yst-w-5 yst-h-5 yst-fill-primary-500",...s})}),(0,Zt.jsxs)("div",{className:"yst-flex-1",children:[(0,Zt.jsx)(l.Toast.Title,{title:(0,Wt.__)("New: Your SEO Task list","wordpress-seo"),className:"yst-mb-1"}),(0,Zt.jsx)("p",{children:(0,Wt.__)("Stay on top of SEO with a clear task list tailored to your site.","wordpress-seo")})]}),(0,Zt.jsx)("div",{children:(0,Zt.jsx)(l.Toast.Close,{dismissScreenReaderLabel:(0,Wt.__)("Dismiss","wordpress-seo")})})]}),(0,Zt.jsx)(su,{})]})})},nu=()=>{const e=To("selectIsOptInNotificationSeen",[],"task_list"),{pathname:t}=rt();return t===eu||e||t===tu?null:(0,Zt.jsx)("div",{children:(0,Zt.jsx)(ru,{})})},au=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"}))})),ou=()=>{const e=(0,r.select)(No).selectLink("https://yoa.st/task-list-upsell-table-footer");return(0,Zt.jsx)(l.Table.Row,{children:(0,Zt.jsx)(l.Table.Cell,{className:"yst-bg-slate-50",colSpan:4,children:(0,Zt.jsxs)("div",{className:"yst-flex yst-justify-between lg:yst-flex-row yst-flex-col yst-gap-2",children:[(0,Zt.jsxs)("div",{className:"yst-flex yst-justify-start yst-gap-4",children:[(0,Zt.jsx)("div",{className:"yst-w-10 yst-h-10 yst-rounded-full yst-bg-amber-300 yst-flex yst-items-center yst-justify-center yst-shrink-0",children:(0,Zt.jsx)(au,{className:"yst-w-5 yst-h-5 yst-text-amber-900"})}),(0,Zt.jsxs)("div",{children:[(0,Zt.jsx)(l.Title,{size:"5",as:"h3",className:"yst-text-slate-800 yst-leading-5",children:(0,Wt.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,Wt.__)("Unlock all %1$s tasks","wordpress-seo"),"Yoast SEO Premium")}),(0,Zt.jsx)("p",{className:"yst-leading-5",children:(0,Wt.__)("Get automated technical SEO & optimize content in a breeze","wordpress-seo")})]})]}),(0,Zt.jsxs)(l.Button,{variant:"upsell",as:"a",href:e,target:"_blank",className:"yst-flex yst-items-center yst-gap-1.5 yst-pe-2 yst-mt-4 lg:yst-mt-0",children:[(0,Wt.__)("Unlock with Premium","wordpress-seo"),(0,Zt.jsx)(Qt,{className:"yst-w-4 yst-h-4 yst-text-amber-900"})]})]})})})},iu=({title:e,id:t,how:s,why:n,duration:a,priority:c,isCompleted:d,callToAction:u,badge:p})=>{const[m,h]=(0,l.useToggleState)(!1),{completeTask:f,resetTaskError:y}=(0,r.useDispatch)(No),{status:g,completeTaskEndpoint:v,nonce:b,errorMessage:x}=(0,r.useSelect)((e=>{const s=e(No);return{status:s.selectTaskStatus(t),errorMessage:s.selectTaskError(t),completeTaskEndpoint:s.selectTasksEndpoints().completeTask,nonce:s.selectNonce()}}),[]),w={onClick:(0,o.useCallback)((async()=>{f(t,v,b)}),[b]),...u},S=(0,o.useCallback)((()=>{y(t),h()}),[h]);return(0,Zt.jsx)(i.TaskRow,{title:e,duration:a,priority:c,isCompleted:d,onClick:S,badge:p,children:(0,Zt.jsx)(i.TaskModal,{isOpen:m,onClose:h,title:e,duration:a,priority:c,why:n,how:s,isCompleted:d,taskId:t,callToAction:w,isLoading:g===As,isError:g===Ds,errorMessage:x})})},lu=(0,window.wp.compose.compose)([(0,r.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,r.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),cu=lu,du=({children:e,id:t,hasIcon:s=!0,title:r,image:n=null,isAlertDismissed:a,onDismissed:o})=>a?null:(0,Zt.jsxs)("div",{id:t,className:"notice-yoast yoast is-dismissible yoast-webinar-dashboard yoast-general-page-notices",children:[(0,Zt.jsxs)("div",{className:"notice-yoast__container",children:[(0,Zt.jsxs)("div",{children:[(0,Zt.jsxs)("div",{className:"notice-yoast__header",children:[s&&(0,Zt.jsx)("span",{className:"yoast-icon"}),(0,Zt.jsx)("h2",{className:"notice-yoast__header-heading yoast-notice-migrated-header",children:r})]}),(0,Zt.jsx)("div",{className:"notice-yoast-content",children:(0,Zt.jsx)("p",{children:e})})]}),n&&(0,Zt.jsx)(n,{height:"60"})]}),(0,Zt.jsx)("button",{type:"button",className:"notice-dismiss",onClick:o,children:(0,Zt.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,Wt.__)("Dismiss this notice.","wordpress-seo")})})]});du.propTypes={children:Yt().node.isRequired,id:Yt().string.isRequired,hasIcon:Yt().bool,title:Yt().any.isRequired,image:Yt().elementType,isAlertDismissed:Yt().bool.isRequired,onDismissed:Yt().func.isRequired};const uu=cu(du);var pu,mu,hu,fu,yu,gu,vu,bu,xu,wu,Su,_u,Eu,ju,ku,Cu,Ru,Nu,Ou,Pu,Tu,Lu,Mu,Iu,Au,Du,Fu,zu,Uu,Bu,qu,$u,Hu,Wu,Vu,Gu,Ku,Yu,Zu,Ju,Qu,Xu,ep,tp,sp,rp,np;function ap(){return ap=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},ap.apply(null,arguments)}const op=e=>d.createElement("svg",ap({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),pu||(pu=d.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),mu||(mu=d.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),hu||(hu=d.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),fu||(fu=d.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),yu||(yu=d.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),gu||(gu=d.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),vu||(vu=d.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),bu||(bu=d.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),xu||(xu=d.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),wu||(wu=d.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),Su||(Su=d.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),_u||(_u=d.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Eu||(Eu=d.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),ju||(ju=d.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),ku||(ku=d.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Cu||(Cu=d.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),Ru||(Ru=d.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),Nu||(Nu=d.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),Ou||(Ou=d.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Pu||(Pu=d.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),Tu||(Tu=d.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),Lu||(Lu=d.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),Mu||(Mu=d.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),Iu||(Iu=d.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Au||(Au=d.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),Du||(Du=d.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),Fu||(Fu=d.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),zu||(zu=d.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Uu||(Uu=d.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Bu||(Bu=d.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),qu||(qu=d.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),$u||($u=d.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Hu||(Hu=d.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Wu||(Wu=d.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Vu||(Vu=d.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Gu||(Gu=d.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Ku||(Ku=d.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Yu||(Yu=d.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Zu||(Zu=d.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Ju||(Ju=d.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Qu||(Qu=d.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Xu||(Xu=d.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ep||(ep=d.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),tp||(tp=d.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),sp||(sp=d.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),rp||(rp=d.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),np||(np=d.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),ip=({store:e="yoast-seo/editor",image:t=op,url:s,...n})=>(0,r.useSelect)((t=>t(e).getIsPremium()))?null:(0,Zt.jsxs)(uu,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,Wt.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:t,url:s,...n,children:[(0,Wt.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,Zt.jsx)("a",{href:s,target:"_blank",rel:"noreferrer",children:(0,Wt.__)("Sign up today!","wordpress-seo")})]});ip.propTypes={store:Yt().string,image:Yt().elementType,url:Yt().string.isRequired};const lp=ip,cp=({idSuffix:e=""})=>{const t=(0,l.useSvgAria)(),s=To("selectPreference",[],"isPremium"),r=To("selectIsTaskListEnabled",[]);return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6",children:(0,Zt.jsx)(qt,{id:`link-yoast-logo${e}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(s?" Premium":""),children:(0,Zt.jsx)(Bs,{className:"yst-w-40",...t})})}),(0,Zt.jsxs)("ul",{className:"yst-mt-1 yst-px-0.5 yst-space-y-4",children:[(0,Zt.jsx)(rs,{to:"/",label:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(_o,{className:"yst-sidebar-navigation__icon yst-w-6 yst-h-6"}),(0,Wt.__)("Dashboard","wordpress-seo")]}),idSuffix:e,className:"yst-gap-3"}),r&&(0,Zt.jsx)(rs,{to:tu,label:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(Eo,{className:"yst-sidebar-navigation__icon yst-w-6 yst-h-6"}),(0,Wt.__)("Task list","wordpress-seo")]}),idSuffix:e,className:"yst-gap-3"}),(0,Zt.jsx)(rs,{to:Xd,label:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(jo,{className:"yst-sidebar-navigation__icon yst-w-6 yst-h-6"}),(0,Wt.__)("Alert center","wordpress-seo")]}),idSuffix:e,className:"yst-gap-3"}),(0,Zt.jsx)(rs,{to:eu,label:(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsx)(ko,{className:"yst-sidebar-navigation__icon yst-w-6 yst-h-6"}),(0,Wt.__)("First-time configuration","wordpress-seo")]}),idSuffix:e,className:"yst-gap-3"})]})]})};cp.propTypes={idSuffix:Yt().string};const dp=()=>{const e=(0,r.useSelect)((e=>e(No).selectNotices()),[]);(0,o.useEffect)((()=>{!function(e){e.forEach((e=>e.originalNotice.remove()))}(e)}),[e]);const{pathname:t}=rt(),s=To("selectAlertToggleError",[],[]),{setAlertToggleError:n}=(0,r.useDispatch)(No);(()=>{const e=(0,r.useSelect)((e=>e(No).selectActiveAlertsCount()),[]);(0,o.useEffect)((()=>{(e=>{const t=(0,Wt.sprintf)(/* translators: Hidden accessibility text; %s: number of notifications. */ (0,Wt._n)("%s notification","%s notifications",e,"wordpress-seo"),e),s=document.querySelectorAll("#toplevel_page_wpseo_dashboard .update-plugins");for(const r of s)r.className=`update-plugins count-${e}`,Po(r,".plugin-count",String(e)),Po(r,".screen-reader-text",t);const r=document.querySelectorAll("#wp-admin-bar-wpseo-menu .yoast-issue-counter");for(const s of r)s.classList.toggle("wpseo-no-adminbar-notifications",0===e),Po(s,".yoast-issues-count",String(e)),Po(s,".screen-reader-text",t)})(e)}),[e])})();const a=(0,o.useCallback)((()=>{n(null)}),[n]),i=(0,r.useSelect)((e=>e(No).selectLinkParams()),[]),c=(0,fa.addQueryArgs)("https://yoa.st/webinar-intro-settings",i);return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)(l.SidebarNavigation,{activePath:t,children:[(0,Zt.jsx)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-dashboard-navigation-mobile",closeButtonId:"button-close-dashboard-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Wt.__)("Open dashboard navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Wt.__)("Close dashboard navigation","wordpress-seo"),"aria-label":(0,Wt.__)("Dashboard navigation","wordpress-seo"),children:(0,Zt.jsx)(cp,{idSuffix:"-mobile"})}),(0,Zt.jsxs)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4",children:[(0,Zt.jsx)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56",children:(0,Zt.jsx)(l.SidebarNavigation.Sidebar,{children:(0,Zt.jsx)(cp,{})})}),(0,Zt.jsx)("div",{className:"yst-grow yst-max-w-page",children:(0,Zt.jsx)("div",{className:"yst-space-y-6 yst-mb-8 xl:yst-mb-0",children:(0,Zt.jsx)("main",{children:(0,Zt.jsxs)(So,{appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",children:[t!==eu&&(0,Zt.jsxs)("div",{children:[(0,Zt.jsx)(lp,{store:No,url:c,image:null}),e.length>0&&(0,Zt.jsxs)("div",{className:e.filter((e=>!e.isDismissed)).length>0?"yst-space-y-3 yoast-general-page-notices":"yst-hidden",children:[" ",e.map(((e,t)=>(0,Zt.jsx)(pi,{id:e.id||"yoast-general-page-notice-"+t,title:e.header,isDismissable:e.isDismissable,className:e.isDismissed?"yst-hidden":"",children:e.content},t)))]})]}),(0,Zt.jsx)(St,{})]},t)})})})]})]}),(0,Zt.jsxs)(l.Notifications,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all yst-start-48",position:"bottom-left",children:[(0,Zt.jsx)(nu,{}),s&&(0,Zt.jsx)(l.Notifications.Notification,{id:"toggle-alert-error",title:(0,Wt.__)("Something went wrong","wordpress-seo"),variant:"error",dismissScreenReaderLabel:(0,Wt.__)("Dismiss","wordpress-seo"),size:"large",autoDismiss:4e3,onDismiss:a,children:"error"===s.type?(0,Wt.__)("This problem can't be hidden at this time. Please try again later.","wordpress-seo"):(0,Wt.__)("This notification can't be hidden at this time. Please try again later.","wordpress-seo")})]})]})},up=()=>{const e=To("selectPreference",[],"isPremium"),t=To("selectUpsellSettingsAsProps"),{isPromotionActive:s}=(0,r.useSelect)(No),n=To("selectLink",[],"https://yoa.st/17h"),a=To("selectLink",[],"https://yoa.st/admin-footer-upsell-woocommerce"),o=To("selectPreference",[],"isWooCommerceActive");return e?null:(0,Zt.jsx)(Rs,{premiumLink:o?a:n,premiumUpsellConfig:t,isPromotionActive:s,isWooCommerceActive:o})},pp=({contentClassName:e="",children:t=null})=>{const s=To("selectPreference",[],"isPremium"),n=To("selectLink",[],"https://yoa.st/jj"),a=To("selectLink",[],"https://yoa.st/admin-sidebar-upsell-woocommerce"),o=To("selectUpsellSettingsAsProps"),i=To("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:l}=(0,r.useSelect)(No),c=To("selectPreference",[],"isWooCommerceActive");return(0,Zt.jsxs)("div",{className:"yst-flex yst-gap-6 xl:yst-flex-row yst-flex-col",children:[(0,Zt.jsx)("div",{className:bs()("yst-@container yst-flex yst-flex-grow yst-flex-col",e),children:t}),!s&&(0,Zt.jsx)("div",{className:"yst-min-w-[16rem] xl:yst-max-w-[16rem]",children:(0,Zt.jsx)("div",{className:"yst-sticky yst-top-16",children:(0,Zt.jsx)(Ns,{premiumLink:c?a:n,premiumUpsellConfig:o,academyLink:i,isPromotionActive:l,isWooCommerceActive:c})})})]})},mp=window.yoast.externals.redux;function hp({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}const fp="adminNotices",yp=(0,na.createSlice)({name:fp,initialState:{notices:function(){const e=[...Array.from(document.querySelectorAll(".notice-yoast:not(.yoast-webinar-dashboard)")),...Array.from(document.querySelectorAll(".yoast-migrated-notice"))],t=e.map((e=>e.id)),s=e.map((e=>e.querySelector(".yoast-notice-migrated-header"))),r=function(e){return e.forEach((e=>{e&&e.querySelectorAll("a.button").forEach((e=>{e.classList.remove("button"),e.classList.add("yst-button"),e.classList.add("yst-button--primary"),e.classList.add("yst-mt-4")}))})),e}(e.map((e=>e.querySelector(".notice-yoast-content")))),n=e.map((e=>e.classList.contains("is-dismissible")));return e.map(((e,a)=>({originalNotice:e,id:t[a],header:s[a].outerHTML,content:r[a].outerHTML,isDismissable:n[a],isDismissed:!1})))}()},reducers:{dismissNotice(e,{payload:t}){e.notices.map((e=>{e.id===t&&(e.isDismissed=!0)}))},restoreNotice(e,{payload:t}){e.notices.map((e=>{e.id===t&&(e.isDismissed=!1)}))}}}),gp=yp.getInitialState,vp={selectNotices:e=>(0,c.get)(e,`${fp}.notices`,[])},bp=yp.actions,xp=yp.reducer,wp="alertCenter",Sp="toggleAlertVisibility",_p=(0,na.createSlice)({name:wp,initialState:{alertToggleError:null,alerts:[],resolveSuccessMessage:null},reducers:{toggleAlert:(e,t)=>{const s=e.alerts.findIndex((e=>e.id===t));-1!==s&&(e.alerts[s].dismissed=!e.alerts[s].dismissed)},setAlertToggleError:(e,t)=>{const s=e.alerts.findIndex((e=>e.id===t));e.alertToggleError=-1===s?null:e.alerts[s]},setResolveSuccessMessage:(e,{payload:t})=>{e.resolveSuccessMessage=t},removeAlert(e,{payload:t}){e.alerts=e.alerts.filter((e=>e.id!==t))}},extraReducers:e=>{e.addCase(`${Sp}/${Ms}`,((e,{payload:{id:t}})=>{_p.caseReducers.toggleAlert(e,t)})),e.addCase(`${Sp}/${Is}`,((e,{payload:{id:t}})=>{_p.caseReducers.setAlertToggleError(e,t)}))}}),Ep=_p.getInitialState,jp=e=>(0,c.get)(e,`${wp}.alerts`,[]),kp=(0,na.createSelector)([jp],(e=>e.filter((e=>!e.dismissed)))),Cp={selectActiveProblems:(0,na.createSelector)([kp],(e=>e.filter((e=>"error"===e.type)))),selectDismissedProblems:(0,na.createSelector)([jp],(e=>e.filter((e=>"error"===e.type&&e.dismissed)))),selectActiveNotifications:(0,na.createSelector)([kp],(e=>e.filter((e=>"warning"===e.type)))),selectDismissedNotifications:(0,na.createSelector)([jp],(e=>e.filter((e=>"warning"===e.type&&e.dismissed)))),selectAlertToggleError:e=>(0,c.get)(e,`${wp}.alertToggleError`,null),selectResolveSuccessMessage:e=>(0,c.get)(e,`${wp}.resolveSuccessMessage`,null),selectAlert:(0,na.createSelector)([jp,(e,t)=>t],((e,t)=>e.find((e=>e.id===t)))),selectActiveAlertsCount:(0,na.createSelector)([kp],(e=>e.length))},Rp={..._p.actions,toggleAlertStatus:function*(e,t,s=!1){yield{type:`${Sp}/${Ls}`};try{return yield{type:Sp,payload:{id:e,nonce:t,hidden:s}},{type:`${Sp}/${Ms}`,payload:{id:e}}}catch(t){return{type:`${Sp}/${Is}`,payload:{id:e}}}}},Np={[Sp]:async({payload:e})=>{const t=new URLSearchParams;t.append("action",e.hidden?"yoast_restore_notification":"yoast_dismiss_notification"),t.append("notification",e.id),t.append("nonce",e.nonce);const s=(0,r.select)(No).selectPreference("ajaxUrl");if(!(await fetch(s,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:t.toString()})).ok)throw new Error("Failed to dismiss notification")}},Op=_p.reducer,Pp=()=>({...(0,c.get)(window,"wpseoScriptData.preferences",{}),ajaxUrl:(0,c.get)(window,"ajaxurl","")}),Tp=(0,na.createSlice)({name:"preferences",initialState:Pp(),reducers:{}}),Lp={selectPreference:(e,t,s={})=>(0,c.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,c.get)(e,"preferences",{})};Lp.selectUpsellSettingsAsProps=(0,na.createSelector)([e=>Lp.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const Mp=Tp.actions,Ip=Tp.reducer,Ap="optInNotification",Dp="setOptInNotificationSeen",Fp=(0,na.createSlice)({name:Ap,initialState:{seen:{}},reducers:{hideOptInNotification(e,t){const s=t.payload;e.seen[s]=!0}}}),zp=Fp.getInitialState,Up={selectIsOptInNotificationSeen:(e,t)=>(0,c.get)(e,[Ap,"seen",t],!1)},Bp={...Fp.actions,setOptInNotificationSeen:function*(e){yield{type:`${Dp}/${Ls}`};try{return yield{type:Dp,payload:e},{type:`${Dp}/${Ms}`,payload:e}}catch(t){return console.error("Error setting opt-in notification as seen:",t),{type:`${Dp}/${Is}`,payload:e}}}},qp={[Dp]:async({payload:e})=>{await pa()({path:"yoast/v1/seen-opt-in-notification",method:"POST",data:{key:e}})}},$p=Fp.reducer,{currentPromotions:Hp,dismissedAlerts:Wp,isPremium:Vp}=mp.reducers,{isAlertDismissed:Gp,getIsPremium:Kp,isPromotionActive:Yp}=mp.selectors,{dismissAlert:Zp,setCurrentPromotions:Jp,setDismissedAlerts:Qp,setIsPremium:Xp}=mp.actions;a()((()=>{var s,n;const a=document.getElementById("yoast-seo-general");if(!a)return;const d=(0,c.get)(window,"wpseoScriptData.dashboard.nonce","");(({initialState:t={}}={})=>{(0,r.register)((({initialState:t})=>(0,r.createReduxStore)(No,{actions:{...ca,...xa,...Mp,...Rp,dismissAlert:Zp,setCurrentPromotions:Jp,setDismissedAlerts:Qp,setIsPremium:Xp,...bp,...Bp,...i.taskListActions},selectors:{...la,...ba,...Lp,...Cp,isAlertDismissed:Gp,getIsPremium:Kp,isPromotionActive:Yp,...vp,...Up,...i.taskListSelectors},initialState:(0,c.merge)({},{[aa]:ia(),[ya]:va(),preferences:Pp(),[wp]:Ep(),currentPromotions:{promotions:[]},[fp]:gp(),[Ap]:zp(),[i.TASK_LIST_NAME]:(0,i.getInitialTaskListState)()},t),reducer:(0,r.combineReducers)({[aa]:da,[ya]:wa,preferences:Ip,[wp]:Op,currentPromotions:Hp,dismissedAlerts:Wp,isPremium:Vp,[fp]:xp,[Ap]:$p,[i.TASK_LIST_NAME]:i.taskListReducer}),controls:{...Np,...e,...qp,...i.taskListControls}}))({initialState:t}))})({initialState:{[aa]:(0,c.get)(window,"wpseoScriptData.adminUrl",""),[ya]:(0,c.get)(window,"wpseoScriptData.linkParams",{}),[wp]:{alerts:(0,c.get)(window,"wpseoScriptData.alerts",[])},currentPromotions:{promotions:(0,c.get)(window,"wpseoScriptData.currentPromotions",[])},dismissedAlerts:(0,c.get)(window,"wpseoScriptData.dismissedAlerts",{}),isPremium:(0,c.get)(window,"wpseoScriptData.preferences.isPremium",!1),[fp]:{resolvedNotices:[]},[Ap]:{seen:(0,c.get)(window,"wpseoScriptData.optInNotificationSeen",!1)},[i.TASK_LIST_NAME]:{enabled:(0,c.get)(window,"wpseoScriptData.taskListConfiguration.enabled",!1),endpoints:(0,c.get)(window,"wpseoScriptData.taskListConfiguration.endpoints",{}),tasks:{},nonce:d}}});const u=(0,r.select)(No).selectPreference("isRtl",!1),p=(0,c.get)(window,"wpseoScriptData.dashboard.contentTypes",[]),m=(0,c.get)(window,"wpseoScriptData.dashboard.displayName","User"),h=(null===(s=document.getElementsByTagName("html"))||void 0===s||null===(n=s[0])||void 0===n?void 0:n.getAttribute("lang"))||"en-US",f={indexables:(0,c.get)(window,"wpseoScriptData.dashboard.indexablesEnabled",!1),seoAnalysis:(0,c.get)(window,"wpseoScriptData.dashboard.enabledAnalysisFeatures.keyphraseAnalysis",!1),readabilityAnalysis:(0,c.get)(window,"wpseoScriptData.dashboard.enabledAnalysisFeatures.readabilityAnalysis",!1)},y={seoScores:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.seoScores",""),readabilityScores:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.readabilityScores",""),timeBasedSeoMetrics:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.timeBasedSeoMetrics",""),siteKitConfigurationDismissal:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.siteKitConfigurationDismissal",""),siteKitConsentManagement:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.siteKitConsentManagement",""),setupStepsTracking:(0,c.get)(window,"wpseoScriptData.dashboard.endpoints.setupStepsTracking","")},v={"X-Wp-Nonce":d},_={dashboardLearnMore:(0,r.select)(No).selectLink("https://yoa.st/dashboard-learn-more"),errorSupport:(0,r.select)(No).selectAdminLink("?page=wpseo_page_support"),siteKitLearnMore:(0,r.select)(No).selectLink("https://yoa.st/dashboard-site-kit-learn-more"),siteKitConsentLearnMore:(0,r.select)(No).selectLink("https://yoa.st/dashboard-site-kit-consent-learn-more")},E=(0,c.get)(window,"wpseoScriptData.dashboard.siteKitConfiguration",{installUrl:"",activateUrl:"",setupUrl:"",dashboardUrl:"",isAnalyticsConnected:!1,isFeatureEnabled:!1,isSetupWidgetDismissed:!1,isVersionSupported:!1,capabilities:{installPlugins:!1,viewSearchConsoleData:!1,viewAnalyticsData:!1},connectionStepsStatuses:{isInstalled:!1,isActive:!1,isSetupCompleted:!1,isConsentGranted:!1},isRedirectedFromSiteKit:!1}),j={storagePrefix:(0,c.get)(window,"wpseoScriptData.dashboard.browserCache.storagePrefix",""),yoastVersion:(0,c.get)(window,"wpseoScriptData.dashboard.browserCache.yoastVersion",""),widgetsCacheTtl:(0,c.get)(window,"wpseoScriptData.dashboard.browserCache.widgetsCacheTtl",{})},k=new i.RemoteDataProvider({headers:v}),C=new Sn({contentTypes:p,userName:m,features:f,endpoints:y,headers:v,links:_,siteKitConfiguration:E}),R={comparisonMetricsDataFormatter:new i.ComparisonMetricsDataFormatter({locale:h}),plainMetricsDataFormatter:new i.PlainMetricsDataFormatter({locale:h})},N=Object.entries(j.widgetsCacheTtl).reduce(((e,[t,s])=>(e[t]=new i.RemoteCachedDataProvider({headers:v},j.storagePrefix,j.yoastVersion,s.ttl),e)),{}),O={data:{setupWidgetLoaded:(0,c.get)(window,"wpseoScriptData.dashboard.setupStepsTracking.setupWidgetLoaded","no"),firstInteractionStage:(0,c.get)(window,"wpseoScriptData.dashboard.setupStepsTracking.firstInteractionStage",""),lastInteractionStage:(0,c.get)(window,"wpseoScriptData.dashboard.setupStepsTracking.lastInteractionStage",""),setupWidgetTemporarilyDismissed:(0,c.get)(window,"wpseoScriptData.dashboard.setupStepsTracking.setupWidgetTemporarilyDismissed",""),setupWidgetPermanentlyDismissed:(0,c.get)(window,"wpseoScriptData.dashboard.setupStepsTracking.setupWidgetPermanentlyDismissed","")},endpoint:C.getEndpoint("setupStepsTracking")},P={setupWidgetDataTracker:new Rn(O,k)},T=new ra(C,k,N,R,P);C.isSiteKitConnectionCompleted()&&E.isVersionSupported&&C.setSiteKitConfigurationDismissed(!0);const L=(0,r.select)(No).selectIsTaskListEnabled(),M=(I=jt((0,Zt.jsxs)(_t,{path:"/",element:(0,Zt.jsx)(dp,{}),errorElement:(0,Zt.jsx)(fi,{className:"yst-m-8"}),children:[(0,Zt.jsx)(_t,{path:"/",element:(0,Zt.jsxs)(pp,{children:[(0,Zt.jsx)(cn,{widgetFactory:T,userName:m,features:f,links:_,sitekitFeatureEnabled:E.isFeatureEnabled,dataProvider:C}),(0,Zt.jsx)(up,{})]}),errorElement:(0,Zt.jsx)(fi,{})}),L&&(0,Zt.jsx)(_t,{path:tu,element:(0,Zt.jsxs)(pp,{children:[(0,Zt.jsx)(Qd,{}),(0,Zt.jsx)(up,{})]}),errorElement:(0,Zt.jsx)(fi,{})}),(0,Zt.jsx)(_t,{path:Xd,element:(0,Zt.jsxs)(pp,{children:[(0,Zt.jsx)(Jd,{}),(0,Zt.jsx)(up,{})]}),errorElement:(0,Zt.jsx)(fi,{})}),(0,Zt.jsx)(_t,{path:eu,element:(0,Zt.jsx)(Zd,{}),errorElement:(0,Zt.jsx)(fi,{})}),(0,Zt.jsx)(_t,{path:"*",element:(0,Zt.jsx)(wt,{to:"/",replace:!0})})]})),de({basename:void 0,future:Ct({},void 0,{v7_prependBasename:!0}),history:(A={window:void 0},void 0===A&&(A={}),S((function(e,t){let{pathname:s="/",search:r="",hash:n=""}=w(e.location.hash.substr(1));return s.startsWith("/")||s.startsWith(".")||(s="/"+s),b("",{pathname:s,search:r,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let s=e.document.querySelector("base"),r="";if(s&&s.getAttribute("href")){let t=e.location.href,s=t.indexOf("#");r=-1===s?t:t.slice(0,s)}return r+"#"+("string"==typeof t?t:x(t))}),(function(e,t){g("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),A)),hydrationData:Nt(),routes:I,mapRouteProperties:kt,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize());var I,A;(0,o.createRoot)(a).render((0,Zt.jsx)(l.Root,{context:{isRtl:u},children:(0,Zt.jsx)(t.SlotFillProvider,{children:(0,Zt.jsx)(Dt,{router:M})})}))}))})()})(); dist/post-edit.js 0000644 00000313026 15174677550 0010003 0 ustar 00 (()=>{var e={2322:e=>{var t,s,n="",i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}((function(){t=document.getElementById("a11y-speak-polite"),s=document.getElementById("a11y-speak-assertive"),null===t&&(t=i("polite")),null===s&&(s=i("assertive"))})),e.exports=function(e,i){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/g," "),n===e&&(e+=" "),n=e,s&&"assertive"===i?s.textContent=e:t&&(t.textContent=e)}},7084:function(e,t,s){!function(t){"use strict";var s={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:f,table:f,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||v.defaults,this.rules=s.normal,this.options.pedantic?this.rules=s.pedantic:this.options.gfm&&(this.rules=s.gfm)}s._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,s._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,s.def=u(s.def).replace("label",s._label).replace("title",s._title).getRegex(),s.bullet=/(?:[*+-]|\d{1,9}\.)/,s.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,s.item=u(s.item,"gm").replace(/bull/g,s.bullet).getRegex(),s.list=u(s.list).replace(/bull/g,s.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+s.def.source+")").getRegex(),s._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",s._comment=/<!--(?!-?>)[\s\S]*?-->/,s.html=u(s.html,"i").replace("comment",s._comment).replace("tag",s._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),s.paragraph=u(s._paragraph).replace("hr",s.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",s._tag).getRegex(),s.blockquote=u(s.blockquote).replace("paragraph",s.paragraph).getRegex(),s.normal=y({},s),s.gfm=y({},s.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),s.pedantic=y({},s.normal,{html:u("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",s._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:f,paragraph:u(s.normal._paragraph).replace("hr",s.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",s.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),n.rules=s,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){var n,i,o,r,a,l,c,d,u,h,g,m,f,y,_,k;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e)){var v=this.tokens[this.tokens.length-1];e=e.substring(o[0].length),v&&"paragraph"===v.type?v.text+="\n"+o[0].trimRight():(o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?o:b(o,"\n")}))}else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(e))&&(l={type:"table",header:w(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(o[0].length),g=0;g<l.align.length;g++)/^ *-+: *$/.test(l.align[g])?l.align[g]="right":/^ *:-+: *$/.test(l.align[g])?l.align[g]="center":/^ *:-+ *$/.test(l.align[g])?l.align[g]="left":l.align[g]=null;for(g=0;g<l.cells.length;g++)l.cells[g]=w(l.cells[g],l.header.length);this.tokens.push(l)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),c={type:"list_start",ordered:y=(r=o[2]).length>1,start:y?+r:"",loose:!1},this.tokens.push(c),d=[],n=!1,f=(o=o[0].match(this.rules.item)).length,g=0;g<f;g++)h=(l=o[g]).length,~(l=l.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(h-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+h+"}","gm"),"")),g!==f-1&&(a=s.bullet.exec(o[g+1])[0],(r.length>1?1===a.length:a.length>1||this.options.smartLists&&a!==r)&&(e=o.slice(g+1).join("\n")+e,g=f-1)),i=n||/\n\n(?!\s*$)/.test(l),g!==f-1&&(n="\n"===l.charAt(l.length-1),i||(i=n)),i&&(c.loose=!0),k=void 0,(_=/^\[[ xX]\] /.test(l))&&(k=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),u={type:"list_item_start",task:_,checked:k,loose:i},d.push(u),this.tokens.push(u),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(f=d.length,g=0;g<f;g++)d[g].loose=!0;this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):p(o[0]):o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),m=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[m]||(this.tokens.links[m]={href:o[2],title:o[3]});else if((o=this.rules.table.exec(e))&&(l={type:"table",header:w(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(o[0].length),g=0;g<l.align.length;g++)/^ *-+: *$/.test(l.align[g])?l.align[g]="right":/^ *:-+: *$/.test(l.align[g])?l.align[g]="center":/^ *:-+ *$/.test(l.align[g])?l.align[g]="left":l.align[g]=null;for(g=0;g<l.cells.length;g++)l.cells[g]=w(l.cells[g].replace(/^ *\| *| *\| *$/g,""),l.header.length);this.tokens.push(l)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2].charAt(0)?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:f,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:f,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function o(e,t){if(this.options=t||v.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new r,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function r(e){this.options=e||v.defaults}function a(){}function l(e){this.tokens=[],this.token=null,this.options=e||v.defaults,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new c}function c(){this.seen={}}function p(e,t){if(t){if(p.escapeTest.test(e))return e.replace(p.escapeReplace,(function(e){return p.replacements[e]}))}else if(p.escapeTestNoEncode.test(e))return e.replace(p.escapeReplaceNoEncode,(function(e){return p.replacements[e]}));return e}function d(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function u(e,t){return e=e.source||e,t=t||"",{replace:function(t,s){return s=(s=s.source||s).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,s),this},getRegex:function(){return new RegExp(e,t)}}}function h(e,t,s){if(e){try{var n=decodeURIComponent(d(s)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!m.test(s)&&(s=function(e,t){return g[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=b(e,"/",!0)),e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,s));try{s=encodeURI(s).replace(/%25/g,"%")}catch(e){return null}return s}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",i.em=u(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=u(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=u(i.tag).replace("comment",s._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=u(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=u(i.reflink).replace("label",i._label).getRegex(),i.normal=y({},i),i.pedantic=y({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:u(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=y({},i.normal,{escape:u(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=u(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=y({},i.gfm,{br:u(i.br).replace("{2,}","*").getRegex(),text:u(i.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),o.rules=i,o.output=function(e,t,s){return new o(t,s).output(e)},o.prototype.output=function(e){for(var t,s,n,i,r,a,l="";e;)if(r=this.rules.escape.exec(e))e=e.substring(r[0].length),l+=p(r[1]);else if(r=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(r[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(r[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.inRawBlock=!1),e=e.substring(r[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):p(r[0]):r[0];else if(r=this.rules.link.exec(e)){var c=_(r[2],"()");if(c>-1){var d=4+r[1].length+c;r[2]=r[2].substring(0,c),r[0]=r[0].substring(0,d).trim(),r[3]=""}e=e.substring(r[0].length),this.inLink=!0,n=r[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n))?(n=t[1],i=t[3]):i="":i=r[3]?r[3].slice(1,-1):"",n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(r,{href:o.escapes(n),title:o.escapes(i)}),this.inLink=!1}else if((r=this.rules.reflink.exec(e))||(r=this.rules.nolink.exec(e))){if(e=e.substring(r[0].length),t=(r[2]||r[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=r[0].charAt(0),e=r[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(r,t),this.inLink=!1}else if(r=this.rules.strong.exec(e))e=e.substring(r[0].length),l+=this.renderer.strong(this.output(r[4]||r[3]||r[2]||r[1]));else if(r=this.rules.em.exec(e))e=e.substring(r[0].length),l+=this.renderer.em(this.output(r[6]||r[5]||r[4]||r[3]||r[2]||r[1]));else if(r=this.rules.code.exec(e))e=e.substring(r[0].length),l+=this.renderer.codespan(p(r[2].trim(),!0));else if(r=this.rules.br.exec(e))e=e.substring(r[0].length),l+=this.renderer.br();else if(r=this.rules.del.exec(e))e=e.substring(r[0].length),l+=this.renderer.del(this.output(r[1]));else if(r=this.rules.autolink.exec(e))e=e.substring(r[0].length),n="@"===r[2]?"mailto:"+(s=p(this.mangle(r[1]))):s=p(r[1]),l+=this.renderer.link(n,null,s);else if(this.inLink||!(r=this.rules.url.exec(e))){if(r=this.rules.text.exec(e))e=e.substring(r[0].length),this.inRawBlock?l+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):p(r[0]):r[0]):l+=this.renderer.text(p(this.smartypants(r[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===r[2])n="mailto:"+(s=p(r[0]));else{do{a=r[0],r[0]=this.rules._backpedal.exec(r[0])[0]}while(a!==r[0]);s=p(r[0]),n="www."===r[1]?"http://"+s:s}e=e.substring(r[0].length),l+=this.renderer.link(n,null,s)}return l},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var s=t.href,n=t.title?p(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(s,n,this.output(e[1])):this.renderer.image(s,n,p(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,s="",n=e.length,i=0;i<n;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),s+="&#"+t+";";return s},r.prototype.code=function(e,t,s){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,n);null!=i&&i!==e&&(s=!0,e=i)}return n?'<pre><code class="'+this.options.langPrefix+p(n,!0)+'">'+(s?e:p(e,!0))+"</code></pre>\n":"<pre><code>"+(s?e:p(e,!0))+"</code></pre>"},r.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,s,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(s)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},r.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},r.prototype.list=function(e,t,s){var n=t?"ol":"ul";return"<"+n+(t&&1!==s?' start="'+s+'"':"")+">\n"+e+"</"+n+">\n"},r.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},r.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},r.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},r.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},r.prototype.tablecell=function(e,t){var s=t.header?"th":"td";return(t.align?"<"+s+' align="'+t.align+'">':"<"+s+">")+e+"</"+s+">\n"},r.prototype.strong=function(e){return"<strong>"+e+"</strong>"},r.prototype.em=function(e){return"<em>"+e+"</em>"},r.prototype.codespan=function(e){return"<code>"+e+"</code>"},r.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.prototype.del=function(e){return"<del>"+e+"</del>"},r.prototype.link=function(e,t,s){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return s;var n='<a href="'+p(e)+'"';return t&&(n+=' title="'+t+'"'),n+">"+s+"</a>"},r.prototype.image=function(e,t,s){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return s;var n='<img src="'+e+'" alt="'+s+'"';return t&&(n+=' title="'+t+'"'),n+(this.options.xhtml?"/>":">")},r.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,s){return""+s},a.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,y({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop(),this.token},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,s,n,i="",o="";for(s="",e=0;e<this.token.header.length;e++)s+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(s),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],s="",n=0;n<t.length;n++)s+=this.renderer.tablecell(this.inline.output(t[n]),{header:!1,align:this.token.align[n]});o+=this.renderer.tablerow(s)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var r=this.token.ordered,a=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,r,a);case"list_item_start":o="";var l=this.token.loose,c=this.token.checked,p=this.token.task;for(this.token.task&&(o+=this.renderer.checkbox(c));"list_item_end"!==this.next().type;)o+=l||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(o,p,c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var u='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(u);console.log(u)}},c.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var s=t;do{this.seen[s]++,t=s+"-"+this.seen[s]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},p.escapeTest=/[&<>"']/,p.escapeReplace=/[&<>"']/g,p.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},p.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,p.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(){}function y(e){for(var t,s,n=1;n<arguments.length;n++)for(s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}function w(e,t){var s=e.replace(/\|/g,(function(e,t,s){for(var n=!1,i=t;--i>=0&&"\\"===s[i];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;n<s.length;n++)s[n]=s[n].trim().replace(/\\\|/g,"|");return s}function b(e,t,s){if(0===e.length)return"";for(var n=0;n<e.length;){var i=e.charAt(e.length-n-1);if(i!==t||s){if(i===t||!s)break;n++}else n++}return e.substr(0,e.length-n)}function _(e,t){if(-1===e.indexOf(t[1]))return-1;for(var s=0,n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])s++;else if(e[n]===t[1]&&--s<0)return n;return-1}function k(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function v(e,t,s){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(s||"function"==typeof t){s||(s=t,t=null),k(t=y({},v.defaults,t||{}));var i,o,r=t.highlight,a=0;try{i=n.lex(e,t)}catch(e){return s(e)}o=i.length;var c=function(e){if(e)return t.highlight=r,s(e);var n;try{n=l.parse(i,t)}catch(t){e=t}return t.highlight=r,e?s(e):s(null,n)};if(!r||r.length<3)return c();if(delete t.highlight,!o)return c();for(;a<i.length;a++)!function(e){"code"!==e.type?--o||c():r(e.text,e.lang,(function(t,s){return t?c(t):null==s||s===e.text?--o||c():(e.text=s,e.escaped=!0,void(--o||c()))}))}(i[a])}else try{return t&&(t=y({},v.defaults,t)),k(t),l.parse(n.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||v.defaults).silent)return"<p>An error occurred:</p><pre>"+p(e.message+"",!0)+"</pre>";throw e}}f.exec=f,v.options=v.setOptions=function(e){return y(v.defaults,e),v},v.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new r,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},v.defaults=v.getDefaults(),v.Parser=l,v.parser=l.parse,v.Renderer=r,v.TextRenderer=a,v.Lexer=n,v.lexer=n.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.Slugger=c,v.parse=v,e.exports=v}(this||("undefined"!=typeof window?window:s.g))}},t={};function s(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>D,NEW_REQUEST:()=>F,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>B,wistiaEmbedPermission:()=>L});var t={};s.r(t),s.d(t,{addEventHandler:()=>Ae,disableMarkerButtons:()=>Pe,enableMarkerButtons:()=>Oe,getContentTinyMce:()=>Te,isTextViewActive:()=>De,isTinyMCEAvailable:()=>Ce,isTinyMCELoaded:()=>Re,pauseMarkers:()=>Ie,resumeMarkers:()=>Me,setStore:()=>Ee,termsTmceId:()=>Se,tinyMceEventBinder:()=>Fe,tmceId:()=>xe,wpTextViewOnInitCheck:()=>Be});var n={};s.r(n),s.d(n,{createSEOScoreLabel:()=>Ye,createScoresInPublishBox:()=>qe,initialize:()=>Ve,scrollToCollapsible:()=>Ke,updateScore:()=>ze});const i=window.wp.domReady;var o=s.n(i);const r=window.jQuery;var a=s.n(r);const l=window.lodash,c=window.wp.i18n;const p=window.wp.data,d=window.yoast.externals.redux,u=window.yoast.reduxJsToolkit,h="adminUrl",g=(0,u.createSlice)({name:h,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),m=(g.getInitialState,{selectAdminUrl:e=>(0,l.get)(e,h,"")});m.selectAdminLink=(0,u.createSelector)([m.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),g.actions,g.reducer;const f=window.wp.apiFetch;var y=s.n(f);const w="hasConsent",b=(0,u.createSlice)({name:w,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),k=(b.getInitialState,b.actions,b.reducer,window.wp.url),v="linkParams",x=(0,u.createSlice)({name:v,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),S=(x.getInitialState,{selectLinkParam:(e,t,s={})=>(0,l.get)(e,`${v}.${t}`,s),selectLinkParams:e=>(0,l.get)(e,v,{})});S.selectLink=(0,u.createSelector)([S.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,k.addQueryArgs)(t,{...e,...s}))),x.actions,x.reducer;const E=(0,u.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:n,description:i})=>({payload:{id:e||(0,u.nanoid)(),variant:t,size:s,title:n||"",description:i}})},removeNotification:(e,{payload:t})=>(0,l.omit)(e,t)}}),R=(E.getInitialState,E.actions,E.reducer,"pluginUrl"),C=(0,u.createSlice)({name:R,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),T=(C.getInitialState,{selectPluginUrl:e=>(0,l.get)(e,R,"")});T.selectImageLink=(0,u.createSelector)([T.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,l.trimEnd)(e,"/"),(0,l.trim)(t,"/"),(0,l.trimStart)(s,"/")].join("/"))),C.actions,C.reducer;const A="wistiaEmbedPermission",P=(0,u.createSlice)({name:A,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${A}/request`,(e=>{e.status="loading"})),e.addCase(`${A}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${A}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,l.get)(t,"error.code",500),message:(0,l.get)(t,"error.message","Unknown")}}))}}),O=(P.getInitialState,P.actions,{[A]:async({payload:e})=>y()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});var I;P.reducer;const M=(0,u.createSlice)({name:"documentTitle",initialState:(0,l.defaultTo)(null===(I=document)||void 0===I?void 0:I.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}});function D({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function B({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}M.getInitialState,M.actions,M.reducer;const F=async({countryCode:e,keyphrase:t})=>(y()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}}),y()({path:(0,k.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:e})})),L=O[A];var U=s(2322),$=s.n(U);function j(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}const N=window.yoast.analysis,Y=window.wp.isShallowEqual,z=window.wp.api;var q={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},K=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,l.defaults)(s,q)};K.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},K.prototype.setSource=function(e){this.options.source=e},K.prototype.hasScope=function(){return!(0,l.isEmpty)(this.options.scope)},K.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},K.prototype.inScope=function(e){return!this.hasScope()||(0,l.indexOf)(this.options.scope,e)>-1},K.prototype.hasAlias=function(){return!(0,l.isEmpty)(this.options.aliases)},K.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},K.prototype.getAliases=function(){return this.options.aliases};const V=K,{removeReplacementVariable:Q,updateReplacementVariable:W,refreshSnippetEditor:Z}=d.actions;var H=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],G={},J={},X=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};X.prototype.registerReplacements=function(){this.addReplacement(new V("%%author_first_name%%","author_first_name")),this.addReplacement(new V("%%author_last_name%%","author_last_name")),this.addReplacement(new V("%%category%%","category")),this.addReplacement(new V("%%category_title%%","category_title")),this.addReplacement(new V("%%currentdate%%","currentdate")),this.addReplacement(new V("%%currentday%%","currentday")),this.addReplacement(new V("%%currentmonth%%","currentmonth")),this.addReplacement(new V("%%currenttime%%","currenttime")),this.addReplacement(new V("%%currentyear%%","currentyear")),this.addReplacement(new V("%%date%%","date")),this.addReplacement(new V("%%id%%","id")),this.addReplacement(new V("%%page%%","page")),this.addReplacement(new V("%%permalink%%","permalink")),this.addReplacement(new V("%%post_content%%","post_content")),this.addReplacement(new V("%%post_month%%","post_month")),this.addReplacement(new V("%%post_year%%","post_year")),this.addReplacement(new V("%%searchphrase%%","searchphrase")),this.addReplacement(new V("%%sitedesc%%","sitedesc")),this.addReplacement(new V("%%sitename%%","sitename")),this.addReplacement(new V("%%userid%%","userid")),this.addReplacement(new V("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new V("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new V("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new V("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new V("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new V("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new V("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new V("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new V("%%sep%%(\\s*%%sep%%)*","sep"))},X.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},X.prototype.subscribeToGutenberg=function(){if(!j())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const n=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==n&&t!==n)return t=n,n<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,l.isUndefined)(e[n])?void z.loadPromise.done((()=>{new z.models.Page({id:n}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[n]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[n],void this.declareReloaded())}))},X.prototype.addReplacement=function(e){G[e.placeholder]=e},X.prototype.removeReplacement=function(e){delete G[e.getPlaceholder()]},X.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,l.forEach)(H,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},X.prototype.replaceVariables=function(e){return(0,l.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},X.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,l.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},X.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},X.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},X.prototype.replacePlaceholders=function(e){return(0,l.forEach)(G,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},X.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(Z())},X.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},X.prototype.parseTaxonomies=function(e,t){(0,l.isUndefined)(J[t])&&(J[t]={});const s=[];(0,l.forEach)(e,function(e){const n=(e=jQuery(e)).val(),i=this.getCategoryName(e),o=e.prop("checked");J[t][n]={label:i,checked:o},o&&-1===s.indexOf(i)&&s.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(W(t,s.join(", ")))},X.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},X.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},X.prototype.replaceCustomTaxonomy=function(e){return(0,l.forEach)(J,function(t,s){var n="%%ct_"+s+"%%";"category"===s&&(n="%%"+s+"%%"),e=e.replace(n,this.getTaxonomyReplaceVar(s))}.bind(this)),e},X.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=J[e];return!0===(0,l.isUndefined)(s)?"":((0,l.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},X.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),n=jQuery("#"+t.id+"-value").val();const i="cf_"+this.sanitizeCustomFieldNames(s),o=s+" (custom field)";this._store.dispatch(W(i,n,o)),this.addReplacement(new V(`%%${i}%%`,n,{source:"direct"}))}.bind(this))},X.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},X.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},X.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},X.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},X.prototype.removeCustomFields=function(){var e=(0,l.filter)(G,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,l.forEach)(e,function(e){this._store.dispatch(Q((0,l.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},X.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),j()&&!(0,l.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},X.prototype.hasParentTitle=function(e){return!(0,l.isUndefined)(e)&&!(0,l.isUndefined)(e.prop("options"))},X.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===(0,c.__)("(no parent)","wordpress-seo")?"":t},X.ReplaceVar=V;const ee=X,te=window.wp.blocks,se=class{constructor(e,t,s){this._registerPlugin=e,this._registerModification=t,this._refreshAnalysis=s,this._reusableBlocks={},this._selectCore=(0,p.select)("core"),this._selectCoreEditor=(0,p.select)("core/editor"),this.reusableBlockChangeListener=this.reusableBlockChangeListener.bind(this),this.parseReusableBlocks=this.parseReusableBlocks.bind(this)}register(){this._registerPlugin("YoastReusableBlocksPlugin",{status:"ready"}),this._registerModification("content",this.parseReusableBlocks,"YoastReusableBlocksPlugin",1),(0,p.subscribe)((0,l.debounce)(this.reusableBlockChangeListener,500))}reusableBlockChangeListener(){const{blocks:e}=this._selectCoreEditor.getPostEdits();if(!e)return;let t=!1;e.forEach((e=>{if(!(0,te.isReusableBlock)(e))return;const s=this.getBlockContent(e.attributes.ref);this._reusableBlocks[e.attributes.ref]?this._reusableBlocks[e.attributes.ref].content!==s&&(this._reusableBlocks[e.attributes.ref].content=s,t=!0):(this._reusableBlocks[e.attributes.ref]={id:e.attributes.ref,clientId:e.clientId,content:s},t=!0)})),t&&this._refreshAnalysis()}parseReusableBlocks(e){const t=/<!-- wp:block {"ref":(\d+)} \/-->/g;return e.match(t)?e.replace(t,((t,s)=>this._reusableBlocks[s]&&this._reusableBlocks[s].content?this._reusableBlocks[s].content:e)):e}getBlockContent(e){const t=this._selectCore.getEditedEntityRecord("postType","wp_block",e);if(t){if((0,l.isFunction)(t.content))return t.content(t);if(t.blocks)return(0,te.__unstableSerializeAndClean)(t.blocks);if(t.content)return t.content}return""}},ne=window.wp.hooks,ie="[^<>&/\\[\\]\0- =]+?",oe=new RegExp("\\["+ie+"( [^\\]]+?)?\\]","g"),re=new RegExp("\\[/"+ie+"\\]","g");class ae{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:n},i){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=n,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const o="("+i.join("|")+")";this.shortcodesRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(oe,"")).replace(re,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,l.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,l.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const le=ae,{updateShortcodesForParsing:ce}=d.actions;var pe=s(7084),de=s.n(pe);const ue=class{constructor(e,t){this._registerPlugin=e,this._registerModification=t}register(){this._registerPlugin("YoastMarkdownPlugin",{status:"ready"}),this._registerModification("content",this.parseMarkdown.bind(this),"YoastMarkdownPlugin",1)}parseMarkdown(e){return de()(e)}},he="yoastmark";function ge(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function me(e,t,s){const n=e.dom;let i=e.getContent();if(i=N.markers.removeMarks(i),(0,l.isEmpty)(s))return void e.setContent(i);i=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,l.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const n=e[s];ge(n,t)||(t=n.applyWithPosition(t))}return t}(s,i):function(e,t,s,n){const{fieldsToMark:i,selectedHTML:o}=N.languageProcessing.getFieldsToMark(s,n);return(0,l.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=N.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=N.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?o.forEach((e=>{const s=t.applyWithReplace(e);n=n.replace(e,s)})):n=t.applyWithReplace(n)})),n}(e,0,s,i),e.setContent(i),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const o=n.select(he);(0,l.forEach)(o,(function(e){e.setAttribute("data-mce-bogus","1")}))}function fe(e){return window.test=e,me.bind(null,e)}const ye="et_pb_main_editor_wrap",we=class{static isActive(){return!!document.getElementById(ye)}static isTinyMCEHidden(){const e=document.getElementById(ye);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(ye),this.classicEditorContainer&&new MutationObserver((t=>{(0,l.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},be=class{static isActive(){return!!window.VCV_I18N}},_e={classicEditorHidden:l.noop,classicEditorShown:l.noop,pageBuilderLoaded:l.noop},ke=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){we.isActive()&&(this.diviActive=!0),be.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,l.defaults)(e,_e),this.diviActive&&(new we).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!we.isTinyMCEHidden())}};let ve;const xe="content",Se="description";function Ee(e){ve=e}function Re(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function Ce(e){if(!Re())return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function Te(e){let t="";var s;return t=!1===Ce(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}function Ae(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(n){const i=n.editor;i.id===e&&(0,l.forEach)(t,(function(e){i.on(e,s)}))}))}function Pe(){(0,l.isUndefined)(ve)||ve.dispatch(d.actions.setMarkerStatus("disabled"))}function Oe(){(0,l.isUndefined)(ve)||ve.dispatch(d.actions.setMarkerStatus("enabled"))}function Ie(){(0,l.isUndefined)(ve)||ve.dispatch(d.actions.setMarkerPauseStatus(!0))}function Me(){(0,l.isUndefined)(ve)||ve.dispatch(d.actions.setMarkerPauseStatus(!1))}function De(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function Be(){De()&&(Pe(),Re()&&tinyMCE.on("AddEditor",(function(){Oe()})))}function Fe(e,t){Ae(t,["input","change","cut","paste"],e),Ae(t,["hide"],Pe);const s=["show"];(new ke).isPageBuilderActive()||s.push("init"),Ae(t,s,Oe),Ae("content",["focus"],(function(e){const t=e.target;(function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+he)})(t)&&(function(e){fe(e)(null,[])}(t),YoastSEO.app.disableMarkers()),Ie()})),Ae("content",["blur"],(function(){Me()}))}class Le{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,l.isString)(e)?(0,l.isUndefined)(t)||(0,l.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,n){if(!(0,l.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,l.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,l.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const i={callable:t,origin:s,priority:(0,l.isNumber)(n)?n:10};return(0,l.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerAssessment(e,t,s,n){return(0,l.isString)(t)?(0,l.isObject)(s)?(0,l.isString)(n)?(t=n+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+n+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let n=this.modifications[e];return!(0,l.isArray)(n)||n.length<1||(n=this._stripIllegalModifications(n),n.sort(((e,t)=>e.priority-t.priority)),(0,l.forEach)(n,(function(n){const i=n.callable(t,s);typeof i==typeof t?t=i:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,l.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,l.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,l.forEach)(this.plugins,(function(e,t){(0,l.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,l.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,l.isUndefined)(this.plugins[e])}}function Ue(e,t,s){e("morphology",new N.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(d.actions.updateWordsToHighlight((0,l.uniq)((0,l.flatten)(s))))})).catch((()=>{t.dispatch(d.actions.updateWordsToHighlight([]))}))}var $e="score-text",je="image yoast-logo svg",Ne=jQuery;function Ye(e,t,s=null){var n,i,o,r,a;if(null!==s)return(0,l.get)(s,t,"");const d=(0,p.select)("yoast-seo/editor").getIsPremium(),u={na:(0,c.__)("Not available","wordpress-seo"),bad:(0,c.__)("Needs improvement","wordpress-seo"),ok:(0,c.__)("OK","wordpress-seo"),good:(0,c.__)("Good","wordpress-seo")},h={keyword:{label:d?(0,c.__)("Premium SEO analysis:","wordpress-seo"):(0,c.__)("SEO analysis:","wordpress-seo"),anchor:"yoast-seo-analysis-collapsible-metabox",status:u},content:{label:(0,c.__)("Readability analysis:","wordpress-seo"),anchor:"yoast-readability-analysis-collapsible-metabox",status:u},"inclusive-language":{label:(0,c.__)("Inclusive language:","wordpress-seo"),anchor:"yoast-inclusive-language-analysis-collapsible-metabox",status:{...u,ok:(0,c.__)("Potentially non-inclusive","wordpress-seo")}}};return null!=h&&null!==(n=h[e])&&void 0!==n&&null!==(i=n.status)&&void 0!==i&&i[t]?`<a href="#${null===(o=h[e])||void 0===o?void 0:o.anchor}">${null===(r=h[e])||void 0===r?void 0:r.label}</a> <strong>${null===(a=h[e])||void 0===a?void 0:a.status[t]}</strong>`:""}function ze(e,t,s=null){var n=Ne("#"+e+"-score"),i=je+" "+t;n.children(".image").attr("class",i);var o=Ye(e,t,s);n.children("."+$e).html(o)}function qe(e,t,s=null){const n=Ne("<div />",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),i=Ne("<span />",{class:$e,html:Ye(e,t,s)}),o=Ne("<span>").attr("class",je+" na");n.append(o).append(i),Ne("#yoast-seo-publishbox-section").append(n)}function Ke(e){const t=Ne("#wpadminbar"),s=Ne(e);if(!t||!s)return;const n="fixed"===t.css("position")?t.height():0;Ne([document.documentElement,document.body]).animate({scrollTop:s.offset().top-n},1e3),s.trigger("focus"),0===s.parent().siblings().length&&s.trigger("click")}function Ve(){var e="na";wpseoScriptData.metabox.keywordAnalysisActive&&qe("keyword",e),wpseoScriptData.metabox.contentAnalysisActive&&qe("content",e),wpseoScriptData.metabox.inclusiveLanguageAnalysisActive&&qe("inclusive-language",e),Ne("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),Ke("#wpseo-meta-section-readability")})),Ne("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-content").click(),Ke("#yoast-seo-analysis-collapsible-metabox")})),Ne("#inclusive-language-score").on("click","[href='#yoast-inclusive-language-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-inclusive-language").click(),Ke("#wpseo-meta-section-inclusive-language")}))}function Qe(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}function We(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function Ze(){return(0,l.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function He(){const e=Ze();return(0,l.get)(e,"contentLocale","en_US")}function Ge(){const e=Ze();return!0===(0,l.get)(e,"contentAnalysisActive",!1)}function Je(){const e=Ze();return!0===(0,l.get)(e,"keywordAnalysisActive",!1)}function Xe(){const e=Ze();return!0===(0,l.get)(e,"inclusiveLanguageAnalysisActive",!1)}const et=window.yoast.featureFlag;function tt(){}let st=!1;function nt(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function it(e,t,s,n,i){if(!st)return;const o=N.Paper.parse(t());e.analyze(o).then((r=>{const{result:{seo:a,readability:l,inclusiveLanguage:c}}=r;if(a){const e=a[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),e.results=nt(e.results),n.dispatch(d.actions.setSeoResultsForKeyword(o.getKeyword(),e.results)),n.dispatch(d.actions.setOverallSeoScore(e.score,o.getKeyword())),n.dispatch(d.actions.refreshSnippetEditor()),i.saveScores(e.score,o.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),l.results=nt(l.results),n.dispatch(d.actions.setReadabilityResults(l.results)),n.dispatch(d.actions.setOverallReadabilityScore(l.score)),n.dispatch(d.actions.refreshSnippetEditor()),i.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),c.results=nt(c.results),n.dispatch(d.actions.setInclusiveLanguageResults(c.results)),n.dispatch(d.actions.setOverallInclusiveLanguageScore(c.score)),n.dispatch(d.actions.refreshSnippetEditor()),i.saveInclusiveLanguageScore(c.score)),(0,ne.doAction)("yoast.analysis.refresh",r,{paper:o,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:i})})).catch(tt)}const ot="yoast-measurement-element";function rt(e){let t=document.getElementById(ot);return t||(t=function(){const e=document.createElement("div");return e.id=ot,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}const at=e=>(e=e.filter((e=>e.isValid))).map((e=>{const t=(0,te.serialize)([e],{isInnerBlocks:!1});return e.blockLength=t&&t.length,e.innerBlocks&&(e.innerBlocks=at(e.innerBlocks)),e}));function lt(e){return(0,l.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,c.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,c.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,c.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,c.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,c.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,c.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,c.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,c.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,c.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,c.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,c.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,c.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(N.interpreters.scoreToRating(e))}const{tmceId:ct}=t,pt=jQuery,dt=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._data=e.data,this._store=e.store};dt.prototype.getData=function(){const e=this._data.getData(),t=this._store.getState();return{keyword:Je()?this.getKeyword():"",meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:rt(this.getSnippetTitle()),metaTitle:(0,l.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,l.get)(t,["snippetEditor","data","slug"],e.slug),meta:this.getMetaDescForAnalysis(t)}},dt.prototype.getKeyword=function(){return document.getElementById("yoast_wpseo_focuskw")&&document.getElementById("yoast_wpseo_focuskw").value||""},dt.prototype.getMetaDescForAnalysis=function(e){let t=(0,l.get)(e,["analysisData","snippet","description"],this.getSnippetMeta());return""!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+" - "+t),t},dt.prototype.getMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},dt.prototype.getText=function(){return N.markers.removeMarks(Te(ct))},dt.prototype.getTitle=function(){return document.getElementById("title")&&document.getElementById("title").value||""},dt.prototype.getUrl=function(){const e=(0,p.select)("core/editor");if(e&&e.getCurrentPostAttribute("slug"))return e.getCurrentPostAttribute("slug");var t="",s=pt("#new-post-slug");return 0<s.length?t=s.val():null!==document.getElementById("editable-post-name-full")&&(t=document.getElementById("editable-post-name-full").textContent),t},dt.prototype.getExcerpt=function(){var e="";return null!==document.getElementById("excerpt")&&(e=document.getElementById("excerpt")&&document.getElementById("excerpt").value||""),e},dt.prototype.getSnippetTitle=function(){return document.getElementById("yoast_wpseo_title")&&document.getElementById("yoast_wpseo_title").value||""},dt.prototype.getSnippetMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},dt.prototype.getSnippetCite=function(){return this.getUrl()||""},dt.prototype.getPrimaryCategory=function(){var e="",t=pt("#category-all").find("ul.categorychecklist"),s=t.find("li input:checked");if(1===s.length)return this.getCategoryName(s.parent());var n=t.find(".wpseo-primary-term > label");return n.length?e=this.getCategoryName(n):e},dt.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},dt.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},dt.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},dt.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),t.text().trim()},dt.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},dt.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},dt.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},dt.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],s=0;s<t.length;s++)pt(t[s]).on("change",e)},dt.prototype.inputElementEventBinder=function(e){for(var t=["excerpt","content","title"],s=0;s<t.length;s++)null!==document.getElementById(t[s])&&document.getElementById(t[s]).addEventListener("input",e);Fe(e,ct)},dt.prototype.saveScores=function(e,t){var s=lt(e);ze("content",s.className),document.getElementById("yoast_wpseo_linkdex").value=e,""===t&&(s.className="na",s.screenReaderText=(0,c.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Qe(s),We(s),ze("keyword",s.className),jQuery(window).trigger("YoastSEO:numericScore",e)},dt.prototype.saveContentScore=function(e){var t=lt(e);ze("content",t.className),Je()||(Qe(t),We(t)),pt("#yoast_wpseo_content_score").val(e)},dt.prototype.saveInclusiveLanguageScore=function(e){const t=lt(e);ze("inclusive-language",t.className),Je()||Ge()||(Qe(t),We(t)),pt("#yoast_wpseo_inclusive_language_score").val(e)};const ut=dt;class ht{constructor(){this._callbacks=[],this.register=this.register.bind(this)}register(e){(0,l.isFunction)(e)&&this._callbacks.push(e)}getData(){let e={};return this._callbacks.forEach((t=>{e=(0,l.merge)(e,t())})),e}}window.wp.annotations;const gt=function(e){return(0,l.uniq)((0,l.flatten)(e.map((e=>{if(!(0,l.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},mt=window.wp.richText,ft=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:yt}=N.helpers.htmlEntities,wt=e=>{let t=0;return(0,l.forEachRight)(e,(e=>{const[s]=e;let n=s.length;/^<\/?br/.test(s)&&(n-=1),t+=n})),t},bt="<yoastmark class='yoast-text-mark'>",_t="</yoastmark>",kt='<yoastmark class="yoast-text-mark">';function vt(e,t,s,n,i){const o=n.clientId,r=(0,mt.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,l.flatMap)(i,(s=>{let i;return i=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,n,i){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const n="yoast/faq-block"===s?'<strong class="schema-faq-question">':'<strong class="schema-how-to-step-name">';return{blockStartOffset:e-=n.length,blockEndOffset:t-=n.length}})(t,o,s);t=e.blockStartOffset,o=e.blockEndOffset}if(n.slice(t,o)===i.slice(t,o))return[{startOffset:t,endOffset:o}];const r=((e,t,s)=>{const n=s.slice(0,e),i=s.slice(0,t),o=((e,t,s,n)=>{const i=[...e.matchAll(ft)];s-=wt(i);const o=[...t.matchAll(ft)];return{blockStartOffset:s,blockEndOffset:n-=wt(o)}})(n,i,e,t),r=((e,t,s,n)=>{let i=[...e.matchAll(yt)];return(0,l.forEachRight)(i,(e=>{const[,t]=e;s-=t.length})),i=[...t.matchAll(yt)],(0,l.forEachRight)(i,(e=>{const[,t]=e;n-=t.length})),{blockStartOffset:s,blockEndOffset:n}})(n,i,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=r.blockStartOffset,blockEndOffset:t=r.blockEndOffset}})(t,o,n);return[{startOffset:r.blockStartOffset,endOffset:r.blockEndOffset}]}return[]}(s,o,n.name,e,r):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),n=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t,s=!0){const n=[];if(0===e.length)return n;let i,o=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)n.push(i),o=i+t.length;return n}(e,s);if(0===i.length)return[];const o=function(e){let t=e.indexOf(bt);const s=t>=0;s||(t=e.indexOf(kt));let n=null;const i=[];for(;t>=0;){if(n=(e=s?e.replace(bt,""):e.replace(kt,"")).indexOf(_t),n<t)return[];e=e.replace(_t,""),i.push({startOffset:t,endOffset:n}),t=s?e.indexOf(bt):e.indexOf(kt),n=null}return i}(n),r=[];return o.forEach((e=>{i.forEach((n=>{const i=n+e.startOffset;let o=n+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=n+s.length),r.push({startOffset:i,endOffset:o})}))})),r}(r,s),i?i.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const xt=e=>e[0].toUpperCase()+e.slice(1),St=(e,t,s,n,i)=>(e=e.map((e=>{const o=`${e.id}-${i[0]}`,r=`${e.id}-${i[1]}`,a=xt(i[0]),l=xt(i[1]),c=e[`json${a}`],p=e[`json${l}`],{marksForFirstSection:d,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=vt(c,o,s,n,d),g=vt(p,r,s,n,u);return h.concat(g)})),(0,l.flattenDeep)(e)),Et="yoast";let Rt=[];const Ct={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function Tt(){const e=Rt.shift();e&&((0,p.dispatch)("core/annotations").__experimentalAddAnnotation(e),At())}function At(){(0,l.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(Tt,{timeout:1e3}):setTimeout(Tt,150)}const Pt=(e,t)=>{return(0,l.flatMap)((s=e.name,Ct.hasOwnProperty(s)?Ct[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];return 0===n.length?[]:St(n,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];if(n&&0===n.length)return[];const i=[];return"steps"===e.key&&i.push(St(n,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),i.push(vt(n,"description",e,t,s))),(0,l.flattenDeep)(i)})(s,e,t):function(e,t,s){const n=e.key,i=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:(s||"").toString()})(t,n);return vt(i,n,e,t,s)}(s,e,t)));var s};function Ot(e,t){return(0,l.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?Ot(e.innerBlocks,t):[];return Pt(e,t).concat(s)}))}function It(e){Rt=[],(0,p.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Et);const t=gt(e);if(0===e.length)return;const s=(0,p.select)("core/block-editor"),n="template-locked"===(0,p.select)("core/editor").getRenderingMode(),i=s.getBlocksByName("core/post-content");let o=n&&null!=i&&i.length?s.getBlocks(i[0]):s.getBlocks();var r;t.length>0&&(o=o.filter((e=>t.some((t=>"core/"+t===e.name))))),r=Ot(o,e),Rt=r.map((e=>({blockClientId:e.block,source:Et,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),At()}function Mt(e,t){let s;Ce(xe)&&((0,l.isUndefined)(s)&&(s=fe(tinyMCE.get(xe))),s(e,t)),(0,p.select)("core/editor")&&(0,p.select)("core/block-editor")&&(0,l.isFunction)((0,p.select)("core/block-editor").getBlocks)&&(0,p.select)("core/annotations")&&(0,l.isFunction)((0,p.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>fe(e))).forEach((s=>s(e,t)))}(e,t),It(t)),(0,ne.doAction)("yoast.analysis.applyMarks",t)}function Dt(){const e=(0,p.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,p.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?l.noop:Mt}var Bt=jQuery;function Ft(e,t,s,n,i){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=Bt("#post_ID, [name=tag_ID]").val(),this._taxonomy=Bt("[name=taxonomy]").val()||"",this._nonce=i,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}Ft.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,l.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,l.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},Ft.prototype.setKeyword=function(e){(0,l.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},Ft.prototype.requestKeywordUsage=function(e){Bt.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},Ft.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,n=t.keyword_usage,i=t.post_types;n&&(0,l.isArray)(n)&&(this._keywordUsage[e]=n,this._usedKeywordsPostTypes[e]=i,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{setFocusKeyword:Lt,updateData:Ut,setCornerstoneContent:$t,refreshSnippetEditor:jt,setReadabilityResults:Nt,setSeoResultsForKeyword:Yt}=d.actions;function zt(e,s,i){if("undefined"==typeof wpseoScriptData)return;let o,r,a,c;const d=new ht;function u(e){return""===e.responseText?r.val():jQuery("<div>"+e.responseText+"</div>").find("#editable-post-name-full").text()}function h(){const e={};return Je()&&(e.output="does-not-really-exist-but-it-needs-something"),Ge()&&(e.contentOutput="also-does-not-really-exist-but-it-needs-something"),e}function g(e){(0,l.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,l.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let m;function f(e,t){const s=m||"";m=e.getState().analysisData.snippet,!(0,Y.isShallowEqualObjects)(s,m)&&t()}function y(){return(0,p.select)("core/edit-post").getEditorMode()}jQuery(document).on("ajaxComplete",(function(e,t,n){if("/admin-ajax.php"===n.url.substring(n.url.length-15)&&"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")){c.leavePostNameUntouched=!0;const e={slug:u(t)};s.dispatch(Ut(e))}})),function(){if(o=e("#wpseo_meta"),Ee(s),Be(),function(){const e=new ke;e.isClassicEditorHidden()&&Pe(),e.vcActive?Pe():e.listen({classicEditorHidden:()=>{Pe()},classicEditorShown:()=>{De()||Oe()}})}(),0===o.length)return;c=function(e){const t=new ut({data:e,store:s});return t.leavePostNameUntouched=!1,t}(i),Ve();const u=function(t){const s={elementTarget:[xe,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:h(),callbacks:{getData:c.getData.bind(c)},locale:wpseoScriptData.metabox.contentLocale,marker:Dt(),contentAnalysisActive:Ge(),keywordAnalysisActive:Je(),debouncedRefresh:!1,researcher:new window.yoast.Researcher.default};return Je()&&(t.dispatch(Lt(e("#yoast_wpseo_focuskw").val())),s.callbacks.saveScores=c.saveScores.bind(c),s.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(Yt(s,e)),t.dispatch(jt())}),Ge()&&(s.callbacks.saveContentScore=c.saveContentScore.bind(c),s.callbacks.updatedContentResults=function(e){t.dispatch(Nt(e)),t.dispatch(jt())}),r=e("#title"),s}(s);a=new N.App(u),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=a,window.YoastSEO.store=s,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,l.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,N.createWorker)(e),s=(0,l.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),n=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const i=t.innerHTML.slice(214),o=i.indexOf(","),r=i.slice(0,o-1);try{const e=/}}\s*\);/.exec(i).index+2,t=JSON.parse(i.slice(o+1,e));n.push([r,t])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:n}),new N.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,n,i,o){const r=(0,l.cloneDeep)(t.getState());(0,l.merge)(r,s.getData());const a=e.getData();let c=null;if(i){const e="template-locked"===(null==o?void 0:o.getRenderingMode()),t=i.getBlocksByName("core/post-content");c=e&&null!=t&&t.length?i.getBlocks(t[0]):i.getBlocks(),c=JSON.parse(JSON.stringify(c)),c=at(c)}const p={text:a.content,textTitle:a.title,keyword:r.focusKeyword,synonyms:r.synonyms,description:r.analysisData.snippet.description||r.snippetEditor.data.description,title:r.analysisData.snippet.title||r.snippetEditor.data.title,slug:r.snippetEditor.data.slug,permalink:r.settings.snippetEditor.baseUrl+r.snippetEditor.data.slug,wpBlocks:c,date:r.settings.snippetEditor.date};n.loaded&&(p.title=n._applyModifications("data_page_title",p.title),p.title=n._applyModifications("title",p.title),p.description=n._applyModifications("data_meta_desc",p.description),p.text=n._applyModifications("content",p.text),p.wpBlocks=n._applyModifications("wpBlocks",p.wpBlocks));const d=r.analysisData.snippet.filteredSEOTitle;return p.titleWidth=rt(d||r.snippetEditor.data.title),p.locale=He(),p.writingDirection=function(){let e="LTR";return Ze().isRtl&&(e="RTL"),e}(),p.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],p.isFrontPage="1"===(0,l.get)(window,"wpseoScriptData.isFrontPage","0"),N.Paper.parse((0,ne.applyFilters)("yoast.analysis.data",p))}(i,s,d,a.pluggable,(0,p.select)("core/block-editor"),(0,p.select)("core/editor")),window.YoastSEO.analysis.applyMarks=(e,t)=>Dt()(e,t),window.YoastSEO.app.refresh=(0,l.debounce)((()=>it(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500),window.YoastSEO.app.registerCustomDataCallback=d.register,window.YoastSEO.app.pluggable=new Le(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,l.isUndefined)(a.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(a.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(a.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(tt),window.YoastSEO.app.refresh()},function(e,t,s){const n=Ze();if(!n.previouslyUsedKeywordActive)return;const i=new Ft("get_focus_keyword_usage_and_post_types",n,e,(0,l.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,l.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));i.init();let o={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==o.focusKeyword&&(o=e,i.setKeyword(e.focusKeyword))}))}(a.refresh,0,s),s.subscribe(f.bind(null,s,a.refresh)),window.YoastSEO.analyzerArgs=u,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new ee(a,s),function(e,t){let s=[];s=(0,ne.applyFilters)("yoast.analysis.shortcodes",s);const n=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>n.includes(e))),s.length>0&&(t.dispatch(ce(s)),window.YoastSEO.wp.shortcodePlugin=new ae({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(a,s),j()&&new se(a.registerPlugin,a.registerModification,window.YoastSEO.app.refresh).register(),wpseoScriptData.metabox.markdownEnabled&&new ue(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=t,Je()&&function(t){const s=lt(e("#yoast_wpseo_linkdex").val());Qe(s),We(s),t.updateScore("keyword",s.className)}(n),Ge()&&function(t){const s=lt(e("#yoast_wpseo_content_score").val());We(s),t.updateScore("content",s.className)}(n),Xe()&&function(t){const s=lt(e("#yoast_wpseo_inclusive_language_score").val());We(s),t.updateScore("inclusive-language",s.className)}(n),window.YoastSEO.analysis.worker.initialize(function(e={}){const t={locale:He(),contentAnalysisActive:Ge(),keywordAnalysisActive:Je(),inclusiveLanguageAnalysisActive:Xe(),defaultQueryParams:(0,l.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,l.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,et.enabledFeatures)()};return(0,l.merge)(t,e)}()).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(tt),c.bindElementEvents((0,l.debounce)((()=>it(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500)),g(a);const m=a.initAssessorPresenters.bind(a);a.initAssessorPresenters=function(){m(),g(a)},i.setRefresh&&i.setRefresh(a.refresh);let w={title:(b=c).getSnippetTitle(),slug:b.getSnippetCite(),description:b.getSnippetMeta()};var b;const _=function(e){const t={};if((0,l.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,l.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);w=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&""===e[n]&&(s[n]=t)})),s}(w,_),s.dispatch(Ut(w)),s.dispatch($t("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));let k=s.getState().focusKeyword;Ue(window.YoastSEO.analysis.worker.runResearch,s,k);const v=(0,l.debounce)((()=>{a.refresh()}),50);let x=null;if(s.subscribe((()=>{const t=s.getState().focusKeyword;k!==t&&(k=t,Ue(window.YoastSEO.analysis.worker.runResearch,s,k),e("#yoast_wpseo_focuskw").val(k),v());const n=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(s),i=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&e[n].trim()===t&&(s[n]="")})),s}(n,_);w.title!==n.title&&c.setDataFromSnippet(i.title,"snippet_title"),w.slug!==n.slug&&c.setDataFromSnippet(i.slug,"snippet_cite"),w.description!==n.description&&c.setDataFromSnippet(i.description,"snippet_meta");const o=s.getState();x!==o.isCornerstone&&(x=o.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=o.isCornerstone,a.changeAssessorOptions({useCornerstone:o.isCornerstone})),w.title=n.title,w.slug=n.slug,w.description=n.description})),j()){let e=y();(0,p.subscribe)((()=>{const t=y();t!==e&&(e=t)}))}st=!0,window.YoastSEO.app.refresh()}()}window.YoastReplaceVarPlugin=ee,window.YoastShortcodePlugin=le;const qt=window.wp.element,Kt=window.yoast.propTypes;var Vt=s.n(Kt);const Qt=window.wp.components,Wt=window.yoast.styledComponents;var Zt=s.n(Wt);const Ht=window.wp.compose,Gt=window.ReactJSXRuntime,Jt=({id:e,value:t,terms:s=[],label:n,onChange:i})=>{const o=(0,qt.useCallback)((e=>{i(parseInt(e,10))}),[i]);return(0,Gt.jsx)(Qt.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,id:e,label:n,value:t,onChange:o,options:s.map((e=>({label:(0,l.unescape)(e.name),value:e.id})))})};Jt.propTypes={terms:Vt().arrayOf(Vt().shape({id:Vt().number.isRequired,name:Vt().string.isRequired})),onChange:Vt().func.isRequired,id:Vt().string.isRequired,label:Vt().string.isRequired,value:Vt().number.isRequired};const Xt=Jt,es=Zt().div` padding-top: 16px; `;class ts extends qt.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.updateReplacementVariable=this.updateReplacementVariable.bind(this);const{fieldId:t,name:s}=e.taxonomy;this.input=document.getElementById(t),e.setPrimaryTaxonomyId(s,parseInt(this.input.value,10)),this.state={selectedTerms:[],terms:[]}}componentDidMount(){this.fetchTerms()}componentDidUpdate(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){const t=(0,l.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(t))return void this.fetchTerms()}e.selectedTermIds!==this.props.selectedTermIds&&this.updateSelectedTerms(this.state.terms,this.props.selectedTermIds),t.selectedTerms!==this.state.selectedTerms&&this.handleSelectedTermsChange()}handleSelectedTermsChange(){const{selectedTerms:e}=this.state,{primaryTaxonomyId:t}=this.props;e.find((e=>e.id===t))||this.onChange(e.length?e[0].id:-1)}termIsAvailable(e){return!!this.state.terms.find((t=>t.id===e))}fetchTerms(){const{taxonomy:e}=this.props;e&&(this.fetchRequest=y()({path:(0,k.addQueryArgs)(`/wp/v2/${e.restBase}`,{per_page:-1,orderby:"count",order:"desc",_fields:"id,name"})}),this.fetchRequest.then((e=>{const t=this.state;this.setState({terms:e,selectedTerms:this.getSelectedTerms(e,this.props.selectedTermIds)},(()=>{0===t.terms.length&&this.state.terms.length>0&&this.updateReplacementVariable(this.props.primaryTaxonomyId)}))})))}getSelectedTerms(e,t){return e.filter((e=>t.includes(e.id)))}updateSelectedTerms(e,t){const s=this.getSelectedTerms(e,t);this.setState({selectedTerms:s})}onChange(e){const{name:t}=this.props.taxonomy;this.updateReplacementVariable(e),this.props.setPrimaryTaxonomyId(t,e),this.input.value=-1===e?"":e}updateReplacementVariable(e){if("category"!==this.props.taxonomy.name)return;const t=this.state.selectedTerms.find((t=>t.id===e));this.props.updateReplacementVariable(`primary_${this.props.taxonomy.name}`,t?t.name:"")}render(){const{primaryTaxonomyId:e,taxonomy:t,learnMoreLink:s}=this.props;if(this.state.selectedTerms.length<2)return null;const n=`yoast-primary-${t.name}-picker`;return(0,Gt.jsxs)(es,{className:"components-base-control__field",children:[(0,Gt.jsx)(Xt,{label:(0,c.sprintf)(/* translators: %s expands to the taxonomy name. */ (0,c.__)("Select the primary %s","wordpress-seo"),t.singularLabel.toLowerCase()),value:e,onChange:this.onChange,id:n,terms:this.state.selectedTerms}),(0,Gt.jsxs)(Qt.ExternalLink,{className:"yst-inline-block yst-mt-2",href:s,children:[(0,c.__)("Learn more","wordpress-seo"),(0,Gt.jsx)("span",{className:"screen-reader-text",children:(0,c.__)("Learn more about the primary category.","wordpress-seo")})]})]})}}ts.propTypes={selectedTermIds:Vt().arrayOf(Vt().number),primaryTaxonomyId:Vt().number,setPrimaryTaxonomyId:Vt().func,updateReplacementVariable:Vt().func,taxonomy:Vt().shape({name:Vt().string,fieldId:Vt().string,restBase:Vt().string,singularLabel:Vt().string}),learnMoreLink:Vt().string.isRequired},ts.defaultProps={selectedTermIds:[],primaryTaxonomyId:-1,setPrimaryTaxonomyId:l.noop,updateReplacementVariable:l.noop,taxonomy:{}};const ss=ts,ns=(0,Ht.compose)([(0,p.withSelect)(((e,t)=>{const s=e("core/editor"),n=e("yoast-seo/editor"),{taxonomy:i}=t;return{selectedTermIds:s.getEditedPostAttribute(i.restBase)||[],primaryTaxonomyId:n.getPrimaryTaxonomyId(i.name),learnMoreLink:n.selectLink("https://yoa.st/primary-category-more")}})),(0,p.withDispatch)((e=>{const{setPrimaryTaxonomyId:t,updateReplacementVariable:s}=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t,updateReplacementVariable:s}}))])(ss);let is=null,os=null;const rs=Zt().div` margin: 16px 0 8px; `;class as extends qt.Component{constructor(){super(),is&&os||(is=(0,l.get)(window.wpseoPrimaryCategoryL10n,"taxonomies",{}),os=(0,l.values)(is).map((e=>e.name))),this.state={exceptionCaught:!1,error:null}}componentDidCatch(e){this.setState({exceptionCaught:!0,error:e})}taxonomyHasPrimaryTermSupport(){return os.includes(this.props.slug)}render(){const{slug:e,OriginalComponent:t}=this.props;if(this.state.exceptionCaught){const e=(0,l.get)(this.state,"error.stack");return(0,Gt.jsxs)(qt.Fragment,{children:[(0,Gt.jsx)(t,{...this.props}),(0,Gt.jsx)(rs,{children:(0,c.sprintf)(/* translators: %s expands to Yoast SEO. */ (0,c.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")}),e&&(0,Gt.jsx)(Qt.ClipboardButton,{isLarge:!0,text:e,children:(0,c.__)("Copy error","wordpress-seo")})]})}return this.taxonomyHasPrimaryTermSupport()?(0,Gt.jsxs)(qt.Fragment,{children:[(0,Gt.jsx)(t,{...this.props}),(0,Gt.jsx)(ns,{taxonomy:is[e]})]}):(0,Gt.jsx)(t,{...this.props})}}as.propTypes={OriginalComponent:Vt().func.isRequired,slug:Vt().string.isRequired};const ls=as;let cs=null;const ps=()=>{if(null===cs){const e=(0,p.dispatch)("yoast-seo/editor").runAnalysis;cs=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new Le(e)}return cs},ds=(e,t,s)=>ps().loaded?ps()._applyModifications(e,t,s):t;function us(){const{getAnalysisData:e,getEditorDataTitle:t,getIsFrontPage:s}=(0,p.select)("yoast-seo/editor");let n=e();n={...n,textTitle:t(),isFrontPage:s()};const i=function(e){return e.title=ds("data_page_title",e.title),e.title=ds("title",e.title),e.description=ds("data_meta_desc",e.description),e.text=ds("content",e.text),e}(n);return(0,ne.applyFilters)("yoast.analysis.data",i)}(0,l.debounce)((async function(e,t){const{text:s,...n}=t,i=new N.Paper(s,n);try{const t=await e.analyze(i),{seo:s,readability:n,inclusiveLanguage:o}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),e.results=nt(e.results),(0,p.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),(0,p.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}n&&(n.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),n.results=nt(n.results),(0,p.dispatch)("yoast-seo/editor").setReadabilityResults(n.results),(0,p.dispatch)("yoast-seo/editor").setOverallReadabilityScore(n.score)),o&&(o.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),o.results=nt(o.results),(0,p.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),(0,p.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),(0,ne.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){}}),500);const hs=()=>{const{getContentLocale:e}=(0,p.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,us),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,p.dispatch)("yoast-seo/editor"),n=(0,l.get)(window,"YoastSEO.analysis.worker.runResearch",l.noop);return()=>{const i=N.Paper.parse(us());n("readingTime",i).then((t=>e(t.result))),n("getFleschReadingScore",i).then((e=>{e.result&&t(e.result)})),n("wordCountInText",i).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const n=e();(0,l.isEqual)(n,s)||(s=n,t((0,l.clone)(n)))}})(t,s)};window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},o()((()=>{var t;(function(e){function t(e){e&&(e.focus(),e.click())}function s(){if(e(".wpseo-meta-section").length>0){const t=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),t.on("click",(function(s){var n=e(this).attr("id"),i=e(this).attr("href"),o=e(i);s.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===i&&e(".wpseo-meta-section-react").addClass("active"),o.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const r=function(e,t={}){return new CustomEvent("YoastSEO:metaTabChange",{detail:t})}(0,{metaTabId:n});window.dispatchEvent(r),this&&(t.attr({"aria-selected":"false",tabIndex:"-1"}),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}}window.wpseoInitTabs=s,window.wpseo_init_tabs=s,e(".wpseo-meta-section").each((function(t,s){e(s).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),function(){const s=e(".yoast-aria-tabs"),n=s.find("[role='tab']"),i=s.attr("aria-orientation")||"horizontal";n.attr({"aria-selected":!1,tabIndex:"-1"}),n.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),n.on("keydown",(function(s){-1!==[32,35,36,37,38,39,40].indexOf(s.which)&&("horizontal"===i&&-1!==[38,40].indexOf(s.which)||"vertical"===i&&-1!==[37,39].indexOf(s.which)||function(s,n){const i=s.which,o=n.index(e(s.target));switch(i){case 32:s.preventDefault(),t(n[o]);break;case 35:s.preventDefault(),t(n[n.length-1]);break;case 36:s.preventDefault(),t(n[0]);break;case 37:case 38:s.preventDefault(),t(n[o-1<0?n.length-1:o-1]);break;case 39:case 40:s.preventDefault(),t(n[o+1===n.length?0:o+1])}}(s,n))}))}()})(a()),"undefined"!=typeof wpseoPrimaryCategoryL10n&&function(e){var t,s,n=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e("#yoast-wpseo-primary-"+t).val()}function o(t,s){e("#yoast-wpseo-primary-"+t).val(s).trigger("change");const n=(0,p.dispatch)("yoast-seo/editor");if(n){const i=parseInt(s,10);n.setPrimaryTaxonomyId(t,i),"category"===t&&n.updateReplacementVariable("primary_category",function(t){const s=e("#category-all").find(`#category-${t} > label`);if(0===s.length)return"";const n=s.clone();return n.children().remove(),n.text().trim()}(i))}}function r(o){var r,a,l;r=e("#"+o+'checklist input[type="checkbox"]:checked');var c=e("#"+o+"checklist li");c.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),c.addClass("wpseo-term-unchecked"),r.length<=1||r.each((function(r,c){c=e(c),(a=c.closest("li")).removeClass("wpseo-term-unchecked"),1!==e(c).closest("li").children(".wpseo-make-primary-term").length&&function(s,i){var o,r;o=e(i).closest("label"),r=t({taxonomy:n[s],term:o.text()}),o.after(r)}(o,c),c.val()===i(o)?(a.addClass("wpseo-primary-term"),(l=c.closest("label")).find(".wpseo-primary-category-label").remove(),l.append(s({taxonomy:n[o]}))):a.addClass("wpseo-non-primary-term")}))}function a(t){o(t,e("#"+t+'checklist input[type="checkbox"]:checked:first').val()),r(t)}function c(e){""===i(e)&&a(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,s){const n=e("#"+s.name+"div");var l;r(s.name),n.on("click",'input[type="checkbox"]',(l=s.name,function(){!1===e(this).prop("checked")&&e(this).val()===i(l)&&a(l),c(l),r(l)})),n.on("wpListAddEnd","#"+s.name+"checklist",function(e){return function(){c(e),r(e)}}(s.name)),n.on("click",".wpseo-make-primary-term",function(t){return function(s){var n;n=e(s.currentTarget).siblings("label").find("input"),o(t,n.val()),r(t),n.trigger("focus")}}(s.name))}))},t=wp.template("primary-term-ui"),s=wp.template("primary-term-screen-reader"),e(_.values(n)).initYstSEOPrimaryCategory(),j()&&(0,l.get)(window,"wp.hooks.addFilter",l.noop)("editor.PostTaxonomyType","yoast-seo",(e=>class extends qt.Component{render(){return(0,Gt.jsx)(ls,{OriginalComponent:e,...this.props})}}))}(a());const s=function(){const t=(0,p.registerStore)("yoast-seo/editor",{reducer:(0,p.combineReducers)(d.reducers),selectors:d.selectors,actions:(0,l.pickBy)(d.actions,(e=>"function"==typeof e)),controls:e});return(e=>{e.dispatch(d.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.sitewideSocialImage,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(d.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(d.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(d.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(d.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(d.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(d.actions.setDismissedAlerts((0,l.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(d.actions.setCurrentPromotions((0,l.get)(window,"wpseoScriptData.currentPromotions",[]))),e.dispatch(d.actions.setIsPremium(Boolean((0,l.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(d.actions.setPostId(Number((0,l.get)(window,"wpseoScriptData.postId",null)))),e.dispatch(d.actions.setAdminUrl((0,l.get)(window,"wpseoScriptData.adminUrl",""))),e.dispatch(d.actions.setLinkParams((0,l.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(d.actions.setPluginUrl((0,l.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(d.actions.setWistiaEmbedPermissionValue("1"===(0,l.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(t),t}();window.yoast.initEditorIntegration(s);const n=new window.yoast.EditorData(l.noop,s);n.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars,window.wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars),zt(a(),s,n),null!==(t=window.wpseoScriptData)&&void 0!==t&&t.isElementorEditor||function(e){var t,s,n,i=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function o(){e("#yst_opengraph_image_warning").remove(),s.removeClass("yoast-opengraph-image-notice")}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},i.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var r=wp.media.featuredImage.frame();if("undefined"==typeof YoastSEO)return;if(t=new i(YoastSEO.app),s=e("#postimagediv"),n=s.find(".hndle"),r.on("select",(function(){var i,a,l;!function(t){var i=t.state().get("selection").first().toJSON();const r=(0,c.__)("SEO issue: The featured image should be at least 200 by 200 pixels to be picked up by Facebook and other social media sites.","wordpress-seo");i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('<div id="yst_opengraph_image_warning" class="notice notice-error notice-alt"><p>'+r+"</p></div>").insertAfter(n),s.addClass("yoast-opengraph-image-notice"),$()(r,"assertive")):o()}(r),l=(a=r.state().get("selection").first()).get("alt"),i='<img src="'+a.get("url")+'" width="'+a.get("width")+'" height="'+a.get("height")+'" alt="'+l+'"/>',t.setFeaturedImage(i)})),s.on("click","#remove-post-thumbnail",(function(){t.removeFeaturedImage(),o()})),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html()),!j())return;let a,l;(0,p.subscribe)((()=>{const e=(0,p.select)("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&(a=(0,p.select)("core").getMedia(e),void 0!==a&&a!==l)){l=a;const e=`<img src="${a.source_url}" alt="${a.alt_text}" >`;t.setFeaturedImage(e)}}))}(a()),function(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function s(){var t=e("#wpseo-conf");if(t.length){var s=t.attr("action").split("#")[0];t.attr("action",s+window.location.hash)}}function n(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function i(t){const s=e("#noindex-author-noposts-wpseo-container");t?s.show():s.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,s=t+e(this).outerHeight(),n=e(window).scrollTop(),i=n+e(window).height();return t>n&&s<i},e(window).on("hashchange",(function(){n(),s()})),window.setWPOption=function(t,s,n,i){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:s,_wpnonce:i},(function(t){t&&e("#"+n).hide()}))},window.wpseoCopyHomeMeta=t,window.wpseoSetTabHash=s,e(document).ready((function(){s(),"function"==typeof window.wpseoRedirectOldFeaturesTabToNewSettings&&window.wpseoRedirectOldFeaturesTabToNewSettings(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");const o=e("#noindex-author-wpseo-off"),r=e("#noindex-author-wpseo-on");o.is(":checked")||i(!1),r.on("change",(()=>{e(this).is(":checked")||i(!1)})),o.on("change",(()=>{e(this).is(":checked")||i(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#wpseo-tabs").find("a").on("click",(function(t){var s,n,i,o=!0;if(s=e(this),n=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,i=!!s.filter("#first-time-configuration-tab").length,n&&!i&&window.isStepBeingEdited&&(o=confirm((0,c.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),o){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var r=e(this).attr("id").replace("-tab",""),a=e("#"+r);a.addClass("active"),e(this).addClass("nav-tab-active"),a.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===r?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(t=>{const s=e(t.currentTarget),n=s.parent().siblings(".toggleable-container");n.toggleClass("toggleable-container-hidden"),s.attr("aria-expanded",!n.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));const a=e("#opengraph"),p=e("#wpseo-opengraph-settings");a.length&&p.length&&(p.toggle(a[0].checked),a.on("change",(e=>{p.toggle(e.target.checked)}))),t(),n(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),s=e("#wpseo-submit-container-fixed");if(!t.length||!s.length)return;function n(){t._wpseoIsInViewport()?s.hide():s.show()}e(window).on("resize scroll",(0,l.debounce)(n,100)),e(window).on("yoast-seo-tab-change",n);const i=e(".wpseo-message");i.length&&window.setTimeout((()=>{i.fadeOut()}),5e3),n()}()}))}(a()),(()=>{if((0,p.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,p.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,p.subscribe)((0,l.debounce)(hs(),1500,{maxWait:3e3}))})()}))})()})(); dist/introductions.js 0000644 00000077777 15174677550 0011023 0 ustar 00 (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var a in s)e.o(s,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:s[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.apiFetch;var s=e.n(t);const a=window.wp.data,n=window.wp.domReady;var r=e.n(n);const i=window.wp.hooks,o=window.wp.element,l=window.yoast.uiLibrary,c=window.lodash,d=window.yoast.reduxJsToolkit,m="adminUrl",u=(0,d.createSlice)({name:m,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),y=(u.getInitialState,{selectAdminUrl:e=>(0,c.get)(e,m,"")});y.selectAdminLink=(0,d.createSelector)([y.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.reducer;const p="hasConsent",h=`${p}/storeConsent`,g=(0,d.createSlice)({name:p,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),f=g.getInitialState,w={selectHasAiGeneratorConsent:e=>(0,c.get)(e,[p,"hasConsent"],g.getInitialState().hasConsent),selectAiGeneratorConsentEndpoint:e=>(0,c.get)(e,[p,"endpoint"],g.getInitialState().endpoint)},x={...g.actions,storeAiGeneratorConsent:function*(e,t){try{yield{type:h,payload:{consent:e,endpoint:t}}}catch(e){return!1}return yield{type:`${p}/giveAiGeneratorConsent`,payload:e},!0}},v={[h]:async({payload:e})=>await s()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},_=g.reducer,b=window.wp.url,k="linkParams",j=(0,d.createSlice)({name:k,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),E=j.getInitialState,S={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${k}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,k,{})};S.selectLink=(0,d.createSelector)([S.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,b.addQueryArgs)(t,{...e,...s})));const N=j.actions,O=j.reducer,C=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:n})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:a||"",description:n}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),I=(C.getInitialState,C.actions,C.reducer,"pluginUrl"),P=(0,d.createSlice)({name:I,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),M=P.getInitialState,L={selectPluginUrl:e=>(0,c.get)(e,I,"")};L.selectImageLink=(0,d.createSelector)([L.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/")));const $=P.actions,z=P.reducer,A="request",U="success",B="error",R="idle",V="wistiaEmbedPermission",H=(0,d.createSlice)({name:V,initialState:{value:!1,status:R,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${V}/${A}`,(e=>{e.status="loading"})),e.addCase(`${V}/${U}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${V}/${B}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}}))}}),T=H.getInitialState,W={selectWistiaEmbedPermission:e=>(0,c.get)(e,V,{value:!1,status:R}),selectWistiaEmbedPermissionValue:e=>(0,c.get)(e,[V,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,c.get)(e,[V,"status"],R),selectWistiaEmbedPermissionError:e=>(0,c.get)(e,[V,"error"],{})},Y={...H.actions,setWistiaEmbedPermission:function*(e){yield{type:`${V}/${A}`};try{return yield{type:V,payload:e},{type:`${V}/${U}`,payload:{value:e}}}catch(t){return{type:`${V}/${B}`,payload:{error:t,value:e}}}}},F={[V]:async({payload:e})=>s()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})},G=H.reducer;var D;const q=(0,d.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(D=document)||void 0===D?void 0:D.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),J=(q.getInitialState,q.actions,q.reducer,"yoast-seo/introductions"),X=window.yoast.propTypes;var K=e.n(X);const Q=window.ReactJSXRuntime;window.YoastSEO=window.YoastSEO||{};const Z=(0,o.createContext)({}),ee=({children:e,initialComponents:t})=>{const[s,n]=(0,o.useState)(t),r=(0,a.useSelect)((e=>e(J).selectIntroductions()),[]),l=(0,o.useCallback)(((e,t)=>{(0,c.find)(r,{id:e})&&n((s=>({...s,[e]:t})))}),[r,n]);return(0,o.useEffect)((()=>{window.YoastSEO._registerIntroductionComponent=l,(0,i.doAction)("yoast.introductions.ready")}),[l]),(0,Q.jsx)(Z.Provider,{value:s,children:e})};ee.propTypes={children:K().node.isRequired,initialComponents:K().object.isRequired};const te=()=>{const e=(0,a.useSelect)((e=>e(J).selectCurrentIntroduction()),[]),t=(0,o.useContext)(Z),s=(0,o.useMemo)((()=>null==t?void 0:t[null==e?void 0:e.id]),[e,t]);return s?(0,Q.jsx)(s,{}):null},se=({children:e,maxWidth:t="yst-max-w-lg"})=>{const[s,a]=(0,o.useState)(!0),n=(0,o.useRef)(null),r=(0,o.useCallback)((()=>a(!1)),[]);return(0,Q.jsx)(l.Modal,{className:"yst-introduction-modal yst-h-[calc(100vh - 1rem)] sm:yst-h-[calc(100vh - 2rem)] md:yst-h-[calc(100vh - 5rem)]) yst-overflow-y-auto",isOpen:s,onClose:r,initialFocus:n,children:(0,Q.jsx)(l.Modal.Panel,{className:`${t} yst-p-0 yst-rounded-3xl`,children:e})})};se.propTypes={children:K().node.isRequired,maxWidth:K().string};const ae=window.wp.i18n,ne=({thumbnail:e,buttonLink:t,buttonLabel:s=(0,ae.__)("Discover Brand Insights now","wordpress-seo"),productName:a=(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO AI+. */ (0,ae.__)("New - Upgrade to %1$s","wordpress-seo"),"Yoast SEO AI+")})=>{const{onClose:n,initialFocus:r}=(0,l.useModalContext)(),i=(0,ae.__)("Track visibility, control perception, and stay ahead - tools to manage your AI presence are now live!","wordpress-seo");return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,Q.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:(0,ae.__)("Web chart showing aspects of brand visibility in AI responses","wordpress-seo"),loading:"lazy",decoding:"async",...e}),(0,Q.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,Q.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,Q.jsx)("span",{className:"yst-ai-insights-icon"}),a]})})]}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Q.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Q.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ae.__)("How does your brand show up in AI responses?","wordpress-seo")}),(0,Q.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,Q.jsx)("p",{children:i})})]}),(0,Q.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,Q.jsxs)(l.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"ai-primary",href:t,target:"_blank",ref:r,children:[s,(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,Q.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:n,children:(0,ae.__)("Close","wordpress-seo")})]})]})},re=()=>{const e=(0,a.useSelect)((e=>e(J).selectImageLink("ai-brand-insights-pre-launch.png")),[]),t=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/ai-brand-insights-introduction-post-launch/")),[]),s=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,Q.jsx)(se,{children:(0,Q.jsx)(ne,{buttonLink:t,thumbnail:s})})},ie=window.React,oe=ie.forwardRef((function(e,t){return ie.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),ie.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),le=({thumbnail:e,buttonLink:t,isWooEnabled:s})=>{const{onClose:a,initialFocus:n}=(0,l.useModalContext)(),r=(0,o.useMemo)((()=>s?"Yoast WooCommerce SEO":"Yoast SEO Premium"),[s]),i=(0,o.useMemo)((()=>{const e=s?"WooCommerce SEO":"Premium";return(0,ae.sprintf)(/* translators: %1$s expands to either Premium or WooCommerce SEO. */ (0,ae.__)("Get %1$s with 30%% off","wordpress-seo"),e)}),[s]),c=(0,o.useMemo)((()=>s?"yst-cart-icon":"yst-logo-icon"),[s]),d=(0,o.useMemo)((()=>s?"yst-woo-introduction-gradient":"yst-introduction-gradient"),[s]),m=(0,o.useMemo)((()=>s?"c7e7baa1-2020-420c-a427-89701700b607":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"),[s]),u=(0,o.useMemo)((()=>s?(0,ae.sprintf)(/* translators: %1$s expands to Premium, %2$s expands to Local, %3$s expands to News, %4$s expands to Video SEO, %5$s expands to Google. */ (0,ae.__)("We added even more value than ever this year: %1$s, %2$s, %3$s, %4$s, and seamless %5$s Docs add-on, all included. If you've been waiting to upgrade, now’s the time..","wordpress-seo"),"Premium","Local","News","Video SEO","Google"):(0,ae.sprintf)(/* translators: %1$s expands to Local, %2$s expands to News, %3$s expands to Video SEO, %4$s expands to Google. */ (0,ae.__)("We added even more value than ever this year: %1$s, %2$s, %3$s, and seamless %4$s Docs add-on, all included. If you've been waiting to upgrade, now’s the time.","wordpress-seo"),"Local","News","Video SEO","Google")),[s]);return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:`yst-px-10 yst-pt-10 yst-text-center ${d}`,children:[(0,Q.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:(0,ae.__)("Thumbnail for the Black Friday announcement","wordpress-seo"),loading:"lazy",decoding:"async",...e}),(0,Q.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,Q.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,Q.jsx)("span",{className:c}),r]})})]}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Q.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Q.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ae.__)("Black Friday: Our biggest sale just dropped!","wordpress-seo")}),(0,Q.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,Q.jsx)("p",{children:u})})]}),(0,Q.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,Q.jsxs)(l.Button,{as:"a",className:"yst-grow yst-border-slate-200",size:"extra-large",variant:"upsell",href:t,target:"_blank",ref:n,"data-action":"load-nfd-ctb","data-ctb-id":m,children:[(0,Q.jsx)(oe,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),i,(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,Q.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:a,children:(0,ae.__)("Close","wordpress-seo")})]})]})},ce=()=>{const e=(0,a.useSelect)((e=>e(J).selectImageLink("black-friday-2025.gif")),[]),t=(0,o.useMemo)((()=>Boolean((0,c.get)(window,"wpseoIntroductions.isWooEnabled",!1))),[]),s=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/black-friday-modal-premium/")),[]),n=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/black-friday-modal-ecommerce/")),[]),r=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,Q.jsx)(se,{children:(0,Q.jsx)(le,{buttonLink:t?n:s,thumbnail:r,isWooEnabled:t})})},de=({icon:e,title:t,description:s,iconClassName:a})=>{const n=e;return(0,Q.jsxs)("div",{className:"yst-flex yst-gap-6",children:[(0,Q.jsx)(n,{className:`yst-mt-1 yst-shrink-0 ${a} yst-rounded-md`}),(0,Q.jsxs)("div",{className:"yst-flex yst-flex-col",children:[(0,Q.jsx)("span",{className:"yst-text-base yst-text-slate-900 yst-leading-6 yst-font-medium",children:t}),(0,Q.jsxs)("span",{className:"yst-text-sm yst-text-slate-600",children:[" ",s," "]})]})]})};var me,ue;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ye.apply(null,arguments)}const pe=e=>ie.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),me||(me=ie.createElement("g",{fill:"#fff",clipPath:"url(#icon-sparkles_svg__a)"},ie.createElement("path",{d:"M13.76 31.68h1.725a1.03 1.03 0 0 0 1.03-1.028 1.03 1.03 0 0 0-1.03-1.03H13.76v-1.725a1.03 1.03 0 0 0-1.029-1.03 1.03 1.03 0 0 0-1.029 1.03v1.726H9.975a1.03 1.03 0 0 0-1.029 1.029 1.03 1.03 0 0 0 1.029 1.029h1.726v1.726a1.03 1.03 0 0 0 1.03 1.03 1.03 1.03 0 0 0 1.028-1.03v-1.726zM11.348 7.56a1.03 1.03 0 0 0-1.029 1.03v1.725H8.593a1.03 1.03 0 0 0-1.029 1.03 1.03 1.03 0 0 0 1.03 1.028h1.725V14.1a1.03 1.03 0 0 0 1.03 1.029 1.03 1.03 0 0 0 1.028-1.03v-1.726h1.726a1.03 1.03 0 0 0 1.03-1.029 1.03 1.03 0 0 0-1.03-1.029h-1.726V8.59a1.03 1.03 0 0 0-1.029-1.029zm7.056 17.187 2.995 8.987a1.03 1.03 0 0 0 1.957 0l2.995-8.988 7.417-2.78c.399-.151.668-.538.668-.966 0-.428-.269-.815-.668-.966l-7.417-2.78-.034-.097-2.965-8.891a1.03 1.03 0 0 0-1.957 0L18.4 17.254l-7.417 2.78a1.037 1.037 0 0 0-.668.966c0 .428.269.815.668.966l7.417 2.78h.004zm1.185-5.738c.294-.109.516-.344.617-.638l2.172-6.523 2.175 6.519c.101.298.324.529.618.638l5.304 1.99-5.304 1.992a1.034 1.034 0 0 0-.618.638l-2.175 6.518-2.172-6.518a1.013 1.013 0 0 0-.617-.638l-5.305-1.991 5.305-1.99v.003z"}))),ue||(ue=ie.createElement("defs",null,ie.createElement("clipPath",{id:"icon-sparkles_svg__a"},ie.createElement("rect",{width:42,height:42,fill:"#fff",rx:6})))));var he,ge,fe,we,xe,ve,_e,be,ke,je,Ee,Se,Ne,Oe,Ce,Ie,Pe,Me;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},Le.apply(null,arguments)}function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},$e.apply(null,arguments)}function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ze.apply(null,arguments)}function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},Ae.apply(null,arguments)}const Ue=[{iconClassName:"yst-bg-ai-500",icon:pe,title:(0,ae.__)("Generate titles & meta descriptions","wordpress-seo"),description:(0,ae.__)("Take the hassle out of publishing content with ready-made, optimized titles and meta descriptions","wordpress-seo")},{iconClassName:"yst-bg-ai-500",icon:pe,title:(0,ae.__)("Improve content with AI suggestions","wordpress-seo"),description:(0,ae.__)("Remove the frustration out of manual SEO tweaks with AI-suggested improvements","wordpress-seo")},{iconClassName:"yst-bg-gradient-technical-seo",icon:e=>ie.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),he||(he=ie.createElement("g",{clipPath:"url(#icon-redirect-manager_svg__a)"},ie.createElement("path",{d:"M42.42-.42H-.42v42.84h42.84V-.42z"}),ie.createElement("path",{fill:"#fff",d:"M29.346 22.121a.607.607 0 0 0-1.004.37l-.185 1.373a7.029 7.029 0 0 1-1.873-.29c-3.684-1.108-5.695-2.868-7.64-4.573-2.062-1.806-4.196-3.68-8.064-4.566a1.178 1.178 0 0 0-1.415.89 1.186 1.186 0 0 0 .89 1.42c3.284.756 5.107 2.352 7.035 4.04 2.033 1.782 4.338 3.806 8.518 5.058.726.218 1.474.34 2.234.382l-.172 1.272a.598.598 0 0 0 .247.572.599.599 0 0 0 .353.113.633.633 0 0 0 .273-.063l3.995-2.008a.601.601 0 0 0 .134-.987l-3.318-2.994-.008-.009zm-19.262 3.28c-.558.13-.907.69-.78 1.244.108.474.524.806 1.011.806.08 0 .156-.008.236-.025 3.8-.874 5.917-2.71 7.95-4.49a43.6 43.6 0 0 1-1.609-1.352c-1.84 1.604-3.65 3.09-6.803 3.817h-.005z"}),ie.createElement("path",{fill:"#fff",d:"M26.246 18.291a7.192 7.192 0 0 1 1.894-.298l.206 1.516a.608.608 0 0 0 .6.525c.147 0 .29-.055.404-.155l3.318-2.995a.6.6 0 0 0 .193-.53.611.611 0 0 0-.328-.457l-3.994-2.008a.602.602 0 0 0-.87.618l.194 1.415a9.39 9.39 0 0 0-2.214.374 18.875 18.875 0 0 0-5.745 2.818c.542.466 1.096.92 1.692 1.348a16.883 16.883 0 0 1 4.654-2.175l-.004.004z"}))),ge||(ge=ie.createElement("defs",null,ie.createElement("clipPath",{id:"icon-redirect-manager_svg__a"},ie.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Manage redirects without hassle","wordpress-seo"),description:(0,ae.__)("Keep your website running properly and prevent losing visitors to broken links","wordpress-seo")},{iconClassName:"yst-bg-gradient-content-optimization",icon:e=>ie.createElement("svg",$e({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),ie.createElement("g",{clipPath:"url(#icon-seo-analysis_svg__a)"},ie.createElement("mask",{id:"icon-seo-analysis_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},fe||(fe=ie.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),ie.createElement("g",{mask:"url(#icon-seo-analysis_svg__b)"},ie.createElement("mask",{id:"icon-seo-analysis_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},we||(we=ie.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),xe||(xe=ie.createElement("g",{mask:"url(#icon-seo-analysis_svg__c)"},ie.createElement("path",{fill:"url(#icon-seo-analysis_svg__pattern0_657_2290)",d:"M-2.234-2.217h46.368v46.368H-2.234z"})))),ve||(ve=ie.createElement("path",{fill:"#fff",d:"M25.41 7.35h-8.954a4.775 4.775 0 0 0-4.557 4.641v17.963a4.653 4.653 0 0 0 4.611 4.696h8.9a4.653 4.653 0 0 0 4.696-4.611V11.99a4.794 4.794 0 0 0-4.696-4.64zm2.591 21.95a3.233 3.233 0 0 1-3.208 3.233H17.16a3.236 3.236 0 0 1-3.209-3.234V12.617a3.233 3.233 0 0 1 3.21-3.234h7.63a3.236 3.236 0 0 1 3.21 3.234v16.682z"})),_e||(_e=ie.createElement("path",{fill:"#fff",d:"M20.975 23.906a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0-7.22a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0 14.499a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871z"}))),be||(be=ie.createElement("defs",null,ie.createElement("clipPath",{id:"icon-seo-analysis_svg__a"},ie.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Get the SEO Premium Analysis","wordpress-seo"),description:(0,ae.__)("Optimize content to reach more people, improve search visibility across more queries","wordpress-seo")},{iconClassName:"yst-bg-gradient-site-structure",icon:e=>ie.createElement("svg",ze({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),ie.createElement("g",{clipPath:"url(#icon-internal-linking-suggestions_svg__a)"},ie.createElement("mask",{id:"icon-internal-linking-suggestions_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},ke||(ke=ie.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),ie.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__b)"},ie.createElement("mask",{id:"icon-internal-linking-suggestions_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},je||(je=ie.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Ee||(Ee=ie.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__c)"},ie.createElement("path",{fill:"url(#icon-internal-linking-suggestions_svg__pattern0_686_278)",d:"M-2.1-2.15h46.368v46.368H-2.1z"})))),Se||(Se=ie.createElement("path",{fill:"#fff",d:"m31.416 12.092-4.208-4.217a1.766 1.766 0 0 0-1.26-.521h-9.341c-1.185 0-2.15.966-2.15 2.15v2.554h-2.243c-1.185 0-2.15.966-2.15 2.15V32.5c0 1.185.965 2.15 2.15 2.15h13.175c1.184 0 2.15-.965 2.15-2.15v-2.553h2.243c1.185 0 2.15-.966 2.15-2.15V13.346c0-.474-.184-.92-.52-1.255h.004zm-1.588 1.39v.143H25.81a.206.206 0 0 1-.206-.206V9.454h.21l4.015 4.028zm-4.393 19.017a.047.047 0 0 1-.046.047H12.214a.047.047 0 0 1-.047-.047V14.21c0-.026.021-.047.047-.047h2.242v13.633c0 1.185.966 2.15 2.15 2.15h8.825V32.5h.004zm4.347-4.662H16.607a.047.047 0 0 1-.046-.046V9.501c0-.026.02-.047.046-.047h6.888v3.965a2.314 2.314 0 0 0 2.31 2.31h4.02V27.79a.047.047 0 0 1-.047.046h.004z"}))),Ne||(Ne=ie.createElement("defs",null,ie.createElement("clipPath",{id:"icon-internal-linking-suggestions_svg__a"},ie.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Easily add internal links","wordpress-seo"),description:(0,ae.__)("Build relevant internal links faster while strengthening your site’s structure","wordpress-seo")},{iconClassName:"yst-bg-gradient-social-sharing",icon:e=>ie.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),ie.createElement("g",{clipPath:"url(#icon-open-graph_svg__a)"},ie.createElement("mask",{id:"icon-open-graph_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Oe||(Oe=ie.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),ie.createElement("g",{mask:"url(#icon-open-graph_svg__b)"},ie.createElement("mask",{id:"icon-open-graph_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Ce||(Ce=ie.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Ie||(Ie=ie.createElement("g",{mask:"url(#icon-open-graph_svg__c)"},ie.createElement("path",{fill:"url(#icon-open-graph_svg__pattern0_686_1455)",d:"M-2.167-2.217h46.368v46.368H-2.167z"})))),Pe||(Pe=ie.createElement("path",{fill:"#fff",d:"M29.53 17.585a5.121 5.121 0 0 0 5.12-5.12 5.121 5.121 0 0 0-5.12-5.12 5.121 5.121 0 0 0-5.082 5.75l-8.43 4.213a5.12 5.12 0 0 0-7.236.13 5.12 5.12 0 0 0 .13 7.237 5.121 5.121 0 0 0 7.107 0l8.43 4.212a5.12 5.12 0 1 0 1.524-3.053l-8.43-4.212c.05-.42.05-.845 0-1.265l8.43-4.212a5.103 5.103 0 0 0 3.553 1.432l.004.008z"}))),Me||(Me=ie.createElement("defs",null,ie.createElement("clipPath",{id:"icon-open-graph_svg__a"},ie.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Ensure content looks good on social","wordpress-seo"),description:(0,ae.__)("Make every post share-ready as you publish, boosting visibility and clicks from Facebook & X","wordpress-seo")}],Be=[(0,ae.__)("24/7 Premium support via chat & email","wordpress-seo"),(0,ae.__)("Access to all courses in Yoast SEO Academy","wordpress-seo"),(0,ae.__)("Free seat for the Google Docs add‑on","wordpress-seo"),(0,ae.__)("Access to all Yoast plugins","wordpress-seo")],Re=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},Ve=ie.forwardRef((function(e,t){return ie.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),ie.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),He=ie.forwardRef((function(e,t){return ie.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),ie.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),Te=({buttonUpgradeLink:e,exploreFeaturesLink:t})=>{const{onClose:s}=(0,l.useModalContext)();return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-mb-8 yst-delayed-introduction-gradient",children:[(0,Q.jsx)("h1",{className:"yst-text-black yst-font yst-font-medium yst-text-2xl yst-leading-7",children:(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,ae.__)("You've been optimizing with %1$s for a while!","wordpress-seo"),"Yoast SEO")}),(0,Q.jsx)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8",children:Re((0,ae.sprintf)(/* translators: %1$s and %3$s expand to <strong> and </strong> respectively. %2$s expands to Yoast SEO Premium. */ (0,ae.__)("Upgrade to %1$s%2$s%3$s and unlock more features to grow your traffic while making SEO easier, faster and more effective!","wordpress-seo"),"<strong>","Yoast SEO Premium","</strong>"),{strong:(0,Q.jsx)("strong",{className:"yst-font-semibold yst-text-primary-500"})})})]}),(0,Q.jsx)("div",{className:"yst-@container yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-4 yst-px-10",children:Ue.map(((e,t)=>(0,Q.jsx)(de,{icon:e.icon,title:e.title,description:e.description,iconClassName:e.iconClassName},t)))}),(0,Q.jsxs)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8 yst-text-center",children:[Re((0,ae.sprintf)(/* translators: %1$s and %3$s expand to <a> and </a> respectively. %2$s expands to Yoast SEO Premium. */ (0,ae.__)("%1$sExplore all %2$s features%3$s","wordpress-seo"),"<a>","Yoast SEO Premium","</a>"),{a:(0,Q.jsx)("a",{id:"delayed-upsell",href:t,className:"yst-mt-6 yst-mb-8 yst-underline yst-text-indigo-600 yst-text-sm"})}),(0,Q.jsx)(Ve,{className:" yst-inline yst--me-2 yst-ms-2 yst-h-3 yst-w-3 yst-text-indigo-600 rtl:yst-rotate-[270deg]"})]}),(0,Q.jsx)("div",{className:"yst-mt-8 yst-mx-10 yst-text-slate-900 yst-text-[16px] yst-border-b yst-border-black yst-pb-2 yst-font-medium",children:(0,ae.__)("Extra perks & help to make SEO even easier","wordpress-seo")}),(0,Q.jsx)("div",{className:"yst-grid yst-grid-cols-2 yst-gap-4 yst-px-10 yst-my-4",children:Be.map(((e,t)=>(0,Q.jsxs)("div",{children:[(0,Q.jsx)(He,{className:"yst-inline yst-text-green-600 yst-w-6 yst-h-6"}),(0,Q.jsx)("span",{className:"yst-text-slate-800 yst-font-medium",children:e})]},t)))}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-mt-8 yst-mb-4 yst-text-center",children:[(0,Q.jsx)(l.Button,{as:"a",className:"yst-w-full yst-h-11 yst-font-medium yst-text-base yst-text-amber-900",variant:"upsell",href:e,target:"_blank",rel:"noreferrer",children:(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,ae.__)("Upgrade to %1$s","wordpress-seo"),"Yoast SEO Premium")}),(0,Q.jsx)(l.Button,{className:"yst-text-center yst-mt-4 yst-font-medium yst-text-base yst-text-primary-500",onClick:s,variant:"tertiary",children:(0,ae.__)("Close","wordpress-seo")})]})]})},We=()=>{const e=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/delayed-upsell-premium-upgrade")),[]),t=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/delayed-upsell-explore-premium-features")),[]);return(0,Q.jsx)(se,{maxWidth:"yst-max-w-3xl",children:(0,Q.jsx)(Te,{buttonUpgradeLink:e,exploreFeaturesLink:t})})},Ye=ie.forwardRef((function(e,t){return ie.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),ie.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Fe=({thumbnail:e,buttonLink:t,description:s})=>{const{onClose:a,initialFocus:n}=(0,l.useModalContext)();return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,Q.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-shadow-md",alt:"Thumbnail for Yoast SEO Google Docs Add-On",loading:"lazy",decoding:"async",...e}),(0,Q.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,Q.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,Q.jsx)("span",{className:"yst-logo-icon"}),"Yoast SEO"]})})]}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Q.jsxs)("div",{className:"yst-mt-4 yst-text-center",children:[(0,Q.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ae.__)("New: Prepare your site for AI powered discovery! ✨","wordpress-seo")}),(0,Q.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,Q.jsx)("p",{children:s})})]}),(0,Q.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,Q.jsxs)(l.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"primary",href:t,ref:n,children:[(0,ae.__)("Enable Schema aggregation endpoint","wordpress-seo"),(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,Q.jsx)(l.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:a,children:(0,ae.__)("Close","wordpress-seo")})]})]})},Ge=()=>{const e=(0,a.useSelect)((e=>e(J).selectImageLink("schema-aggregator-thumbnail.png")),[]),t=(0,a.useSelect)((e=>e(J).selectLink("?page=wpseo_page_settings#/site-features#card-wpseo-enable_schema_aggregation_endpoint")),[]),s=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/schema-aggregation-activation/")),[]),n=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]),r=()=>(0,Q.jsxs)(l.Button,{as:"a",href:s,variant:"tertiary",className:"yst-p-0 yst-no-underline yst-font-medium yst-inline-flex yst-items-center yst-gap-1",target:"_blank",rel:"noopener",children:[(0,ae.__)("Learn more","wordpress-seo"),(0,Q.jsx)(Ye,{className:"yst-w-3 yst-h-3 yst-flex-shrink-0 rtl:yst-rotate-180"}),(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]}),i=(0,o.useMemo)((()=>Re((0,ae.sprintf)( /** * translators: %1$s expands to an opening anchor tag; %2$s expands to the arrow icon ; %3$s expands to a closing anchor tag. */ (0,ae.__)("Enable the Schema aggregation endpoint to make your Schema readable by AI systems. %1$s","wordpress-seo"),"<LearnMoreButton />"),{LearnMoreButton:(0,Q.jsx)(r,{})})),[]);return(0,Q.jsx)(se,{children:(0,Q.jsx)(Fe,{buttonLink:t,thumbnail:n,description:i})})},De="introductions",qe=(0,d.createEntityAdapter)({selectId:e=>e.id,sortComparer:(e,t)=>e.priority===t.priority?0:e.priority<t.priority?-1:1}),Je=e=>({id:e.id||(0,d.nanoid)(),priority:e.priority||0}),Xe=(0,d.createSlice)({name:De,initialState:qe.getInitialState({current:0}),reducers:{addIntroduction:{reducer:qe.addOne,prepare:e=>({payload:Je(e)})},addIntroductions:{reducer:qe.addMany,prepare:e=>({payload:(0,c.map)(e,Je)})},setIntroductions:{reducer:qe.setAll,prepare:e=>({payload:(0,c.map)(e,Je)})}}}),Ke=Xe.getInitialState,Qe=qe.getSelectors((e=>(0,c.get)(e,De,{}))),Ze={selectCurrentIntroductionIndex:e=>(0,c.get)(e,[De,"current"],0),selectIntroduction:Qe.selectById,selectIntroductions:Qe.selectAll};Ze.selectCurrentIntroduction=(0,d.createSelector)([Ze.selectCurrentIntroductionIndex,Ze.selectIntroductions],((e,t)=>t[e]));const et=Xe.actions,tt=Xe.reducer,st="wpseoIntroductions";r()((()=>{const e=(0,c.get)(window,`${st}.introductions`,[]);if((0,c.isEmpty)(e))return;const t={"ai-brand-insights-post-launch":re,"black-friday-announcement":ce,"delayed-premium-upsell":We,"schema-aggregator-announcement":Ge};if(-1!==location.href.indexOf("page=wpseo_dashboard#/first-time-configuration"))return window.YoastSEO._registerIntroductionComponent=async t=>{if((0,c.find)(e,{id:t}))try{await s()({path:`/yoast/v1/introductions/${t}/seen`,method:"POST",data:{is_seen:!1}})}catch(e){console.error(e)}},void(async()=>{for(const e of Object.keys(t))await window.YoastSEO._registerIntroductionComponent(e);(0,i.doAction)("yoast.introductions.ready")})();((e={})=>{(0,a.register)((e=>(0,a.createReduxStore)(J,{actions:{...et,...N,...$,...Y,...x},selectors:{...Ze,...S,...L,...W,...w},initialState:(0,c.merge)({},{[De]:Ke(),[k]:E(),[I]:M(),[V]:T(),[p]:f()},e),reducer:(0,a.combineReducers)({[De]:tt,[k]:O,[I]:z,[V]:G,[p]:_}),controls:{...F,...v}}))(e))})({[k]:(0,c.get)(window,`${st}.linkParams`,{}),[I]:(0,c.get)(window,`${st}.pluginUrl`,""),[V]:{value:"1"===(0,c.get)(window,`${st}.wistiaEmbedPermission`,!1)}}),(0,a.dispatch)(J).setIntroductions(e);const n={isRtl:Boolean((0,c.get)(window,`${st}.isRtl`,!1))},r=document.createElement("div");r.id="wpseo-introductions",document.body.appendChild(r),(0,o.createRoot)(r).render((0,Q.jsx)(l.Root,{context:n,children:(0,Q.jsx)(ee,{initialComponents:t,children:(0,Q.jsx)(te,{})})}))}))})(); dist/edit-page.js 0000644 00000001043 15174677550 0007723 0 ustar 00 (()=>{"use strict";var t={n:a=>{var o=a&&a.__esModule?()=>a.default:()=>a;return t.d(o,{a:o}),o},d:(a,o)=>{for(var e in o)t.o(o,e)&&!t.o(a,e)&&Object.defineProperty(a,e,{enumerable:!0,get:o[e]})},o:(t,a)=>Object.prototype.hasOwnProperty.call(t,a)};const a=window.jQuery;var o;(o=t.n(a)())(".yoast-column-header-has-tooltip").each((function(){o(this).closest("th").find("a").addClass("yoast-tooltip yoast-tooltip-alt yoast-tooltip-n yoast-tooltip-multiline").attr("data-label",o(this).data("tooltip-text")).attr("aria-label",o(this).text())}))})(); dist/installation-success.js 0000644 00000014341 15174677550 0012240 0 ustar 00 (()=>{"use strict";var t={n:s=>{var e=s&&s.__esModule?()=>s.default:()=>s;return t.d(e,{a:e}),e},d:(s,e)=>{for(var r in e)t.o(e,r)&&!t.o(s,r)&&Object.defineProperty(s,r,{enumerable:!0,get:e[r]})},o:(t,s)=>Object.prototype.hasOwnProperty.call(t,s)};const s=window.wp.domReady;var e=t.n(s);const r=window.wp.i18n,n=window.wp.element,a=window.React,o=a.forwardRef((function(t,s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),i=a.forwardRef((function(t,s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));window.lodash;const l=(t,s)=>{try{return(0,n.createInterpolateElement)(t,s)}catch(s){return console.error("Error in translation for:",t,s),t}},y=window.yoast.uiLibrary,c=a.forwardRef((function(t,s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),a.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),d=window.ReactJSXRuntime;function m(){return(0,d.jsxs)("div",{className:"yst-root yst-my-auto yst-flex yst-flex-col yst-min-h-[84vh] yst-py-12 yst-justify-center",children:[(0,d.jsx)("div",{className:"yst-bg-green-200 yst-w-20 yst-h-20 yst-rounded-full yst-mx-auto yst-my-0 yst-flex yst-items-center yst-justify-center",children:(0,d.jsx)(c,{className:"yst-w-8 yst-text-green-600"})}),(0,d.jsx)("h1",{className:"yst-text-4xl yst-text-slate-900 yst-w-[350px] yst-font-extrabold yst-leading-10 yst-mx-auto yst-mt-8 yst-mb-0 yst-text-center yst-tracking-tight",children:l((0,r.sprintf)(/* translators: %s expands to Yoast SEO. */ (0,r.__)("You've successfully installed %s!","wordpress-seo"),"<span>Yoast SEO</span>"),{span:(0,d.jsx)("span",{className:"yst-text-primary-500"})})}),(0,d.jsxs)("p",{className:"yst-font-normal yst-text-slate-600 yst-text-lg yst-text-center yst-mt-4 yst-mb-8",children:[(0,r.__)("Your site is now easier for search engines to find.","wordpress-seo"),(0,d.jsx)("br",{}),(0,r.sprintf)(/* translators: %s expands to Yoast SEO. */ (0,r.__)("Let's finish setup to make the most of %s.","wordpress-seo"),"Yoast SEO")]}),(0,d.jsx)("div",{className:"installation-success-content",children:(0,d.jsxs)("div",{className:"yst-flex yst-flex-col yst-justify-center yst-items-center yst-gap-8",children:[(0,d.jsxs)("div",{id:"installation-success-card-configuration",className:"yst-shrink-0 yst-shadow-xl yst-bg-primary-500 yst-rounded-lg yst-p-6 yst-flex yst-flex-col yst-max-w-sm yst-h-4/5 yst-leading-6",children:[(0,d.jsx)("h2",{className:" yst-text-white yst-text-2xl yst-leading-8 yst-font-extrabold",children:(0,r.__)("Get better results with the First-time configuration","wordpress-seo")}),(0,d.jsx)("p",{className:"yst-font-normal yst-text-white yst-text-base yst-mb-4 yst-mt-2",children:(0,r.__)("Complete quick setup to enable essential SEO settings for your site.","wordpress-seo")}),(0,d.jsx)("div",{className:"yst-flex yst-grow-1 yst-mt-auto",children:(0,d.jsxs)("a",{id:"installation-successful-configuration-link",href:window.wpseoInstallationSuccess.firstTimeConfigurationUrl,className:"yst-inline-flex yst-items-center yst-w-full yst-justify-center yst-no-underline yst-px-6 yst-py-3 yst-border yst-border-transparent yst-text-base yst-font-medium yst-rounded-md yst-shadow-none yst-text-primary-500 yst-bg-white hover:yst-bg-gray-50 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-white yst-ring-offset-2 yst-ring-offset-primary-500","data-hiive-event-name":"clicked_start_first_time_configuration",children:[(0,r.__)("Start configuration","wordpress-seo"),(0,d.jsx)(o,{className:"yst-w-5 yst-h-5 yst-ms-3 yst-me-1 rtl:yst-rotate-180"})]})}),(0,d.jsx)("p",{className:"yst-font-normal yst-italic yst-text-center yst-text-white yst-text-sm yst-mt-3",children:(0,r.__)("Takes a few minutes · Recommended","wordpress-seo")})]}),(0,d.jsxs)("div",{id:"installation-success-card-optimized-site",className:"yst-shrink-0 yst-bg-white yst-rounded-lg yst-p-4 yst-flex yst-flex-col yst-max-w-xs yst-shadow-md yst-h-4/5 yst-leading-6",children:[(0,d.jsx)("h2",{className:"yst-tracking-tight yst-text-primary-500 yst-text-lg yst-leading-8 yst-font-extrabold",children:(0,r.__)("Unlock more powerful SEO tools","wordpress-seo")}),(0,d.jsx)("p",{className:"yst-text-slate-600 yst-text-sm yst-mb-1",children:(0,r.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ (0,r.__)("Consider %s for faster, easier SEO with AI features that save time.","wordpress-seo"),"Yoast SEO Premium")}),(0,d.jsxs)(y.Button,{as:"a",variant:"secondary",size:"small",href:window.wpseoInstallationSuccess.explorePremiumUrl,className:"yst-gap-2 yst-text-xs yst-mt-2",target:"_blank",rel:"noopener",children:[(0,r.__)("Explore Premium features","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,r.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,d.jsx)(i,{className:"yst-w-4 yst-h-4 yst-icon-rtl yst-text-slate-400"})]}),(0,d.jsxs)("p",{className:"yst-font-normal yst-italic yst-text-center yst-text-slate-500 yst-text-xs yst-mt-2",children:[(0,r.__)("Trusted by millions of site owners","wordpress-seo"),(0,d.jsx)("br",{}),(0,r.__)("30-day money-back guarantee","wordpress-seo")]})]}),(0,d.jsx)("a",{id:"installation-success-skip-link",className:"yst-bottom-12 yst-right-0 yst-mr-5 yst-self-end yst-text-base md:yst-absolute",href:window.wpseoInstallationSuccess.dashboardUrl,"data-hiive-event-name":"clicked_skip_button | installation successful screen",children:/* translators: %s expands to ' »'. */ (0,r.sprintf)((0,r.__)("Skip%s","wordpress-seo")," »")})]})})]})}e()((()=>{const t=document.getElementById("wpseo-installation-successful-free");t&&(0,n.createRoot)(t).render((0,d.jsx)(m,{}))}))})(); dist/academy.js 0000644 00000041306 15174677550 0007475 0 ustar 00 (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var a in s)e.o(s,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:s[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.components,s=window.wp.data,a=window.wp.domReady;var r=e.n(a);const i=window.wp.element,o=window.yoast.uiLibrary,n=window.lodash,d=window.wp.i18n,l=window.yoast.reduxJsToolkit,c="adminUrl",u=(0,l.createSlice)({name:c,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),y=(u.getInitialState,{selectAdminUrl:e=>(0,n.get)(e,c,"")});y.selectAdminLink=(0,l.createSelector)([y.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.reducer,window.wp.apiFetch;const p="hasConsent",m=(0,l.createSlice)({name:p,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),g=(m.getInitialState,m.actions,m.reducer,window.wp.url),h="linkParams",w=(0,l.createSlice)({name:h,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),f=w.getInitialState,k={selectLinkParam:(e,t,s={})=>(0,n.get)(e,`${h}.${t}`,s),selectLinkParams:e=>(0,n.get)(e,h,{})};k.selectLink=(0,l.createSelector)([k.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,g.addQueryArgs)(t,{...e,...s})));const _=w.actions,v=w.reducer,S=(0,l.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,l.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,n.omit)(e,t)}}),b=(S.getInitialState,S.actions,S.reducer,"pluginUrl"),x=(0,l.createSlice)({name:b,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),L=(x.getInitialState,{selectPluginUrl:e=>(0,n.get)(e,b,"")});L.selectImageLink=(0,l.createSelector)([L.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,n.trimEnd)(e,"/"),(0,n.trim)(t,"/"),(0,n.trimStart)(s,"/")].join("/"))),x.actions,x.reducer;const E="wistiaEmbedPermission",A=(0,l.createSlice)({name:E,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${E}/request`,(e=>{e.status="loading"})),e.addCase(`${E}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${E}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,n.get)(t,"error.code",500),message:(0,n.get)(t,"error.message","Unknown")}}))}});var P;A.getInitialState,A.actions,A.reducer;const O=(0,l.createSlice)({name:"documentTitle",initialState:(0,n.defaultTo)(null===(P=document)||void 0===P?void 0:P.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),j=(O.getInitialState,O.actions,O.reducer,window.React),I=j.forwardRef((function(e,t){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Q=j.forwardRef((function(e,t){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),T=j.forwardRef((function(e,t){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),j.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),$="@yoast/academy",M=(e,t=[],...a)=>(0,s.useSelect)((t=>{var s,r;return null===(s=(r=t($))[e])||void 0===s?void 0:s.call(r,...a)}),t),R=window.ReactJSXRuntime,U=(e,t)=>!(!(0,n.isEmpty)(e)&&!t)||Object.values(e).every((e=>!0===e)),C=(e,t)=>!(0,n.isEmpty)(e)&&(t||e.WOO||e.LOCAL),N=()=>{const e=M("selectLinkParams"),t=M("selectPreference",[],"pluginUrl",""),s=M("selectPreference",[],"isPremium",""),a=M("selectPreference",[],"isWooActive",""),r=M("selectPreference",[],"isLocalActive",""),n=M("selectUpsellSettingsAsProps"),l=(0,o.useSvgAria)(),c=(0,i.useMemo)((()=>[{id:"ai_for_seo",title:"AI for SEO",description:(0,d.__)("Join the Yoast team to learn how to harness the power of AI to revolutionize your SEO approach. Gain a competitive edge, future-proof your keyword strategies, and soar to the top of search rankings – all designed to empower busy small business owners.","wordpress-seo"),image:`${t}/images/academy/ai_for_seo_icon_my_yoast.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/ai-for-seo-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/ai-for-seo-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"seo_for_beginners",title:"SEO for beginners",description:(0,d.__)("In this free course, you'll get quick wins to make your site rank higher in Google, Bing, and Yahoo.","wordpress-seo"),image:`${t}/images/academy/seo_for_beginners.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-seo-beginners-start",e),dependencies:{},hasTrial:!0},{id:"seo_for_wp",title:"Yoast SEO for WordPress (block editor)",description:(0,d.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,d.__)("In this course, you'll learn about how to set up and use the %1$s for WordPress plugin so it makes SEO even easier. This course is meant for users of the block editor.","wordpress-seo"),"Yoast SEO"),image:`${t}/images/academy/seo_for_wp.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-seo-wordpress-block-editor-start",e),dependencies:{},hasTrial:!0},{id:"all_around_seo",title:"All-around SEO",description:(0,d.__)("In this course, you'll learn practical SEO skills on every key aspect of SEO, to make your site stand out.","wordpress-seo"),image:`${t}/images/academy/all_around_seo.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-all-around-seo-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-all-around-seo-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"wp_for_beginners",title:"WordPress for beginners",description:(0,d.__)("Do you want to set up your own WordPress site? This course will teach you the ins and outs of creating and maintaining a WordPress website!","wordpress-seo"),image:`${t}/images/academy/wp_for_beginners.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-wordpress-beginners-start",e),dependencies:{},hasTrial:!0},{id:"copywriting",title:"SEO copywriting",description:(0,d.__)("In this course, you'll learn how to write awesome copy that is optimized for ranking in search engines.","wordpress-seo"),image:`${t}/images/academy/copywriting.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-seo-copywriting-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-seo-copywriting-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"structured_data_for_beginners",title:"Structured data for beginners",description:(0,d.__)("Learn how to make your site stand out from the crowd by adding structured data!","wordpress-seo"),image:`${t}/images/academy/structured_data_for_beginners.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-structured-data-beginners-start",e),dependencies:{},hasTrial:!0},{id:"keyword_research",title:"Keyword research",description:(0,d.__)("Do you know the essential first step of good SEO? It's keyword research. In this training, you'll learn how to research and select the keywords that will guide searchers to your pages.","wordpress-seo"),image:`${t}/images/academy/keyword_research.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-keyword-research-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-keyword-research-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"block_editor",title:"Block editor training",description:(0,d.__)("Start creating block-tastic content with the new WordPress block editor! Learn all about the block editor and what you can do with it.","wordpress-seo"),image:`${t}/images/academy/block_editor.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-block-editor-start",e),dependencies:{},hasTrial:!0},{id:"site_structure",title:"Site structure",description:(0,d.__)("A clear site structure benefits your users and is of great importance for SEO. Still, most people seem to forget about this. Get ahead of your competition and learn how to improve your site structure!","wordpress-seo"),image:`${t}/images/academy/site_structure.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-site-structure-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-site-structure-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"local",title:"Local SEO",description:(0,d.__)("Do you own a local business? This course will teach you how to make sure your local audience can find you in the search results and on Google Maps!","wordpress-seo"),image:`${t}/images/academy/local.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-local-seo-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-local-seo-unlock",e),dependencies:{LOCAL:r},hasTrial:!0},{id:"ecommerce",title:"Ecommerce SEO",description:(0,d.__)("Learn how to optimize your online shop for your customers and for search engines!","wordpress-seo"),image:`${t}/images/academy/ecommerce.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-ecommerce-seo-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-ecommerce-seo-unlock",e),dependencies:{WOO:a},hasTrial:!0},{id:"understanding_structured_data",title:"Understanding structured data",description:(0,d.__)("Do you want to take a deep dive into structured data? In this course, you'll learn the theory related to structured data in detail.","wordpress-seo"),image:`${t}/images/academy/understanding_structured_data.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-understanding-structured-data-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-understanding-structured-data-unlock",e),dependencies:{PREMIUM:s},hasTrial:!1},{id:"multilingual",title:"International SEO",description:(0,d.__)("Are you selling in countries all over the world? In this course, you’ll learn all about setting up and managing a site that targets people in different languages and locales.","wordpress-seo"),image:`${t}/images/academy/multilingual.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-international-seo-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-international-seo-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"crawlability",title:"Technical SEO: Crawlability and indexability",description:(0,d.__)("You have to make it possible for search engines to find your site, so they can display it in the search results. We'll tell you all about how that works in this course!","wordpress-seo"),image:`${t}/images/academy/crawlability.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-technical-seo-crawlability-indexability-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-technical-seo-crawlability-indexability-unlock",e),dependencies:{PREMIUM:s},hasTrial:!0},{id:"hosting_and_server",title:"Technical SEO: Hosting and server configuration",description:(0,d.__)("Choosing the right type of hosting for your site is the basis of a solid Technical SEO strategy. Learn all about it in this course!","wordpress-seo"),image:`${t}/images/academy/hosting_and_server.png`,startLink:(0,g.addQueryArgs)("https://yoa.st/academy-technical-seo-hosting-server-configuration-start",e),upsellLink:(0,g.addQueryArgs)("https://yoa.st/academy-technical-seo-hosting-server-configuration-unlock",e),dependencies:{PREMIUM:s},hasTrial:!1}]),[e]);return(0,R.jsx)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-mb-8 xl:yst-mb-0",children:(0,R.jsxs)(o.Paper,{as:"main",className:"yst-max-w-page",children:[(0,R.jsx)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200",children:(0,R.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,R.jsx)(o.Title,{children:(0,d.__)("Academy","wordpress-seo")}),(0,R.jsxs)("p",{className:"yst-text-tiny yst-mt-3",children:[s&&(0,d.sprintf)( // translators: %s for Yoast SEO Premium. (0,d.__)("Learn vital SEO skills that you can apply at once! Let us take you by the hand and give you practical SEO tips to help you outrank your competitors. Maximize your SEO game! Because your %s subscription gives you unlimited access to all courses.","wordpress-seo"),"Yoast SEO Premium"),!s&&(0,R.jsxs)(R.Fragment,{children:[(0,d.sprintf)( // translators: %s for Yoast SEO. (0,d.__)("Learn vital SEO skills that you can apply at once! Let us take you by the hand and give you practical SEO tips to help you outrank your competitors. %s comes with five free courses.","wordpress-seo"),"Yoast SEO")," ",(0,R.jsx)(o.Link,{href:(0,g.addQueryArgs)("https://yoa.st/academy-page-upsell/",e),target:"_blank",...n,children:(0,d.sprintf)( // translators: %s for Yoast SEO Premium. (0,d.__)("Maximize your SEO game by purchasing %s, which grants you unlimited access to all courses.","wordpress-seo"),"Yoast SEO Premium")})]})]})]})}),(0,R.jsx)("div",{className:"yst-h-full yst-p-8",children:(0,R.jsx)("div",{className:"yst-max-w-6xl yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-4",children:c.map((e=>(0,R.jsxs)(o.Card,{children:[(0,R.jsxs)(o.Card.Header,{className:"yst-h-auto yst-p-0",children:[(0,R.jsx)("img",{className:"yst-w-full yst-transition yst-duration-200",src:e.image,alt:"",width:500,height:250,loading:"lazy",decoding:"async"}),C(e.dependencies,s)&&(0,R.jsx)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5",children:(0,R.jsx)(o.Badge,{size:"small",variant:"upsell",children:(0,d.__)("Premium","wordpress-seo")})})]}),(0,R.jsxs)(o.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3",children:[(0,R.jsx)(o.Title,{as:"h3",children:e.title}),e.description,!U(e.dependencies,s)&&(0,R.jsxs)(o.Link,{href:e.startLink,className:"yst-flex yst-items-center yst-mt-3 yst-no-underline yst-font-medium yst-text-primary-500",target:"_blank",children:[(0,d.__)("Start free trial lesson","wordpress-seo"),(0,R.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,d.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,R.jsx)(T,{className:"yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl"})]})]}),(0,R.jsx)(o.Card.Footer,{children:(0,R.jsxs)(R.Fragment,{children:[!U(e.dependencies,s)&&(0,R.jsxs)(o.Button,{as:"a",id:`button-get-course-${e.id}`,className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:null==e?void 0:e.upsellLink,target:"_blank",rel:"noopener",...n,children:[(0,R.jsx)(I,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...l}),(0,d.sprintf)(/* translators: %1$s expands to Premium. */ (0,d.__)("Unlock with %1$s","wordpress-seo"),"Premium")]}),U(e.dependencies,s)&&(0,R.jsxs)(o.Button,{as:"a",id:`button-start-course-${e.id}`,className:"yst-gap-2 yst-w-full yst-px-2 yst-leading-5",variant:"primary",href:e.startLink,target:"_blank",rel:"noopener",children:[(0,d.__)("Start the course","wordpress-seo"),(0,R.jsx)(Q,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-white rtl:yst-rotate-[270deg]"})]})]})})]},`card-course-${e.id}`)))})})]})})},B=()=>({...(0,n.get)(window,"wpseoScriptData.preferences",{})}),z=(0,l.createSlice)({name:"preferences",initialState:B(),reducers:{}}),W={selectPreference:(e,t,s={})=>(0,n.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,n.get)(e,"preferences",{})};W.selectUpsellSettingsAsProps=(0,l.createSelector)([e=>W.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const Y=z.actions,D=z.reducer;r()((()=>{const e=document.getElementById("yoast-seo-academy");if(!e)return;(({initialState:e={}}={})=>{(0,s.register)((({initialState:e})=>(0,s.createReduxStore)($,{actions:{..._,...Y},selectors:{...k,...W},initialState:(0,n.merge)({},{[h]:f(),preferences:B()},e),reducer:(0,s.combineReducers)({[h]:v,preferences:D})}))({initialState:e}))})({initialState:{[h]:(0,n.get)(window,"wpseoScriptData.linkParams",{})}}),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const a=(0,s.select)($).selectPreference("isRtl",!1);(0,i.createRoot)(e).render((0,R.jsx)(o.Root,{context:{isRtl:a},children:(0,R.jsx)(t.SlotFillProvider,{children:(0,R.jsx)(N,{})})}))}))})(); dist/crawl-settings.js 0000644 00000001077 15174677550 0011041 0 ustar 00 jQuery(document).ready((function(){jQuery("#allow_search_cleanup input[type='radio']").on("change",(function(){"on"===jQuery("#allow_search_cleanup input[type='radio']:checked").val()?(jQuery("#allow_search_cleanup_emoji").prop("disabled",!1),jQuery("#allow_search_cleanup_patterns").prop("disabled",!1)):(jQuery("#allow_search_cleanup_emoji").prop("disabled",!0),jQuery("#allow_search_cleanup_patterns").prop("disabled",!0),jQuery("#allow_search_cleanup_emoji-off").prop("checked",!0),jQuery("#allow_search_cleanup_patterns-off").prop("checked",!0))})).trigger("change")})); dist/workouts.js 0000644 00000114074 15174677550 0007772 0 ustar 00 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var a in o)e.o(o,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:o[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{CLEAR_ACTIVE_WORKOUT:()=>oe,CLEAR_INDEXABLES:()=>se,CLEAR_INDEXABLES_IN_STEPS:()=>le,FINISH_STEPS:()=>Q,MOVE_INDEXABLES:()=>re,OPEN_WORKOUT:()=>te,REGISTER_WORKOUT:()=>J,REVISE_STEP:()=>Y,SET_WORKOUTS:()=>ee,TOGGLE_STEP:()=>ae,TOGGLE_WORKOUT:()=>Z,clearActiveWorkout:()=>me,clearIndexables:()=>ke,clearIndexablesInSteps:()=>fe,finishSteps:()=>ce,initWorkouts:()=>pe,moveIndexables:()=>we,openWorkout:()=>ue,registerWorkout:()=>ne,reviseStep:()=>ie,toggleStep:()=>he,toggleWorkout:()=>de});var o={};e.r(o),e.d(o,{getActiveWorkout:()=>xe,getFinishedSteps:()=>ge,getFinishedWorkouts:()=>ze,getIndexablesByStep:()=>ye,getLoading:()=>Se,getWorkouts:()=>Ee});const a=window.wp.data,r=window.wp.components,s=window.wp.domReady;var l=e.n(s);const n=window.wp.apiFetch;var c=e.n(n);const i=window.wp.compose,d=window.lodash,p=window.yoast.propTypes;var u=e.n(p);const m=window.wp.i18n,h=window.wp.element,w=window.yoast.componentsNew,k=window.ReactJSXRuntime;function f({name:e,children:t=null}){return(0,k.jsx)(r.Slot,{name:e,children:e=>0===e.length?t:e})}f.propTypes={name:u().string.isRequired,children:u().oneOfType([u().node,u().arrayOf(u().node)])};const E=window.React;var g;function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},y.apply(null,arguments)}const z=e=>E.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 296 317"},e),g||(g=E.createElement("g",{fill:"none",transform:"matrix(-1 0 0 1 295.274 .96)"},E.createElement("circle",{cx:131.18,cy:184.261,r:131.18,fill:"#F0ECF0"}),E.createElement("g",{fill:"#EAB881"},E.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 0 0-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 0 0-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),E.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 0 0 1.09 20.32 54.8 54.8 0 0 0-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),E.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),E.createElement("path",{fill:"#D38053",d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 0 0 3.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 0 1-1.42-.59c.42.309.906.51 1.42.59z"}),E.createElement("path",{fill:"#D38053",d:"M214.2 69.33a4.13 4.13 0 0 1-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 0 1-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 0 0 4.51 2.28c2.54-1.52.8.82-4.51-2.28z"}),E.createElement("path",{fill:"#EAB881",d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z"}),E.createElement("path",{fill:"#D38053",d:"M217.52 64.67a4.92 4.92 0 0 1 2.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 0 1 4.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z"}),E.createElement("path",{fill:"#D38053",d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 0 1-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z"}),E.createElement("path",{fill:"#A52A6A",d:"M190.92 211.52a81.3 81.3 0 0 0-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z"}),E.createElement("path",{fill:"#A52A6A",d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z"}),E.createElement("path",{fill:"#7C2050",d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z"}),E.createElement("path",{fill:"#EAB881",d:"M192.93 72.9a3 3 0 0 1-.92 2.58 25.5 25.5 0 0 0 9.52 1.8c2.47-.02.6.27-8.6-4.38z"}),E.createElement("path",{fill:"#EAB881",d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 0 0 .85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 0 1 2.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 0 0-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z"}),E.createElement("path",{fill:"#EAB881",d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 0 0 0 2.57z"}),E.createElement("path",{fill:"#D38053",d:"M194.68 57.19a15.87 15.87 0 0 0 .36-1.77c-.14.62-.25 1.18-.36 1.77z"}),E.createElement("path",{fill:"#A52A6A",d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 0 0 3.46-3.59zm69-3.33-.77-.17c.242.112.504.17.77.17z"}),E.createElement("path",{fill:"#A52A6A",d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 0 0 201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z"}),E.createElement("path",{fill:"#7C2050",d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 0 1-35.06-36.66 203.23 203.23 0 0 0 49.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z"}),E.createElement("path",{fill:"#EAB881",d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z"}),E.createElement("path",{fill:"#D38053",d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z"}),E.createElement("path",{fill:"#EAB881",d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 0 1-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 0 0 4.78-2.95 18.42 18.42 0 0 1-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 0 0-5.1-35.45"}),E.createElement("path",{fill:"#D38053",d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z"}),E.createElement("path",{fill:"#000",d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0 1 17.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z"}),E.createElement("path",{fill:"#FFF",d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 0 1-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 0 1 2.73 4.71z"}),E.createElement("path",{fill:"#000",d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 0 1 .39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z"}),E.createElement("path",{fill:"#000",d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 1 0 2.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 0 0-2.44-9.71 16.7 16.7 0 0 1-3.08.15z"}),E.createElement("path",{fill:"#000",d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 0 0 113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0 0 15.66 2.44 6.35 6.35 0 0 1-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0 0 18.08.78 11.39 11.39 0 0 1-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 0 1-5.36 5.83zm-77.44 3.81-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 0 0 4.06 4 16.75 16.75 0 0 1-4.06-4.03v.03zm-.59-.86.24.35-.24-.35z"}),E.createElement("path",{fill:"#000",d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z"}),E.createElement("path",{fill:"#EAB881",d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z"}),E.createElement("path",{fill:"#D38053",d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 0 1 4.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 0 1-2.17 5 5.2 5.2 0 0 0 5.09-3.3zm130.32-29.93a3.7 3.7 0 0 1-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z"}),E.createElement("path",{fill:"#D38053",d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z"})))),S="cornerstone",x="orphaned",b="chooseCornerstones",v="checkLinks",M="addLinks",B="improveRemove",_="update",A="addLinks",F="removed",T="noindexed",O="improved",W="skipped",j={cornerstone:[b,v,M],orphaned:[B,_,A]},C=window.yoast.helpers;function R({name:e,title:t,subtitle:o,usps:r,id:s="",image:l=null,finishableSteps:n=null,finishedSteps:c=null,upsellLink:i=null,upsellText:d=null,workout:p=null,badges:u=[]}){const{openWorkout:f,toggleWorkout:E}=(0,a.useDispatch)("yoast-seo/workouts"),g=(0,a.useSelect)((e=>e("yoast-seo/workouts").getActiveWorkout()),[]),[y,z]=(0,h.useState)(!1),S=p,x=l;(0,h.useEffect)((()=>{n&&c&&c.length===n.length?z(!0):z(!1)}),[c,n]);const b=(0,h.useMemo)((()=>c&&0!==c.length?c.length<n.length?(0,m.__)("Continue workout!","wordpress-seo"):(0,m.__)("Do workout again","wordpress-seo"):(0,m.__)("Start workout!","wordpress-seo")),[c,n]),v=(0,h.useCallback)((()=>{f(e),y&&E(e)}),[p,y,f,E]),M=(0,C.makeOutboundLink)(),B=d||(0,m.sprintf)(/* translators: %s : Expands to the add-on name. */ (0,m.__)("Unlock with %s!","wordpress-seo"),"Premium"),_=p?"":" card-disabled";return(0,k.jsxs)(h.Fragment,{children:[!g&&(0,k.jsxs)("div",{id:s,className:`card card-small${_}`,children:[(0,k.jsxs)("h2",{children:[t," ",u]}),(0,k.jsx)("h3",{children:o}),(0,k.jsxs)("div",{className:"workout-card-content-flex",children:[(0,k.jsx)("ul",{id:`${s}-usp-list`,className:"yoast-list--usp",children:r.map(((e,t)=>(0,k.jsx)("li",{id:`${s}-usp-${t}`,children:e},`${s}-${t}`)))}),l&&(0,k.jsx)(x,{})]}),(0,k.jsxs)("span",{children:[p&&(0,k.jsx)(w.NewButton,{id:`${s}-action-button`,className:"yoast-button yoast-button--"+(y?"secondary":"primary"),onClick:v,children:b}),!p&&(0,k.jsxs)(M,{id:`${s}-upsell-button`,href:i,className:"yoast-button yoast-button-upsell","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:[B,(0,k.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]}),n&&c&&(0,k.jsxs)("div",{className:"workout-card-progress",children:[(0,k.jsx)(w.ProgressBar,{id:`${s}-progress`,max:n.length,value:c.length}),(0,k.jsx)("label",{htmlFor:`${s}-progress`,children:(0,k.jsx)("i",{children:(0,m.sprintf)( // translators: %1$s: number of finished steps, %2$s: number of finishable steps (0,m.__)("%1$s/%2$s steps completed","wordpress-seo"),c.length,n.length)})})]})]})]}),p&&g===e&&(0,k.jsx)(S,{})]})}function D({workout:e=null,badges:t=[],upsellLink:o=null,upsellText:r=null}){const s=(0,a.useSelect)((e=>e("yoast-seo/workouts").getFinishedSteps(S))),l=o||"https://yoa.st/workout-cornerstone-upsell";return(0,k.jsx)(R,{id:"cornerstone-workout-card",name:S,title:(0,m.__)("The cornerstone approach","wordpress-seo"),subtitle:(0,m.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[(0,m.__)("Make your important articles rank higher","wordpress-seo"),(0,m.__)("Bring more visitors to your articles","wordpress-seo")],image:z,finishableSteps:j.cornerstone,finishedSteps:s,upsellLink:l,upsellText:r,workout:e,badges:t})}var L;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},I.apply(null,arguments)}R.propTypes={name:u().string.isRequired,title:u().string.isRequired,subtitle:u().string.isRequired,usps:u().arrayOf(u().string).isRequired,id:u().string,finishableSteps:u().arrayOf(u().string),finishedSteps:u().arrayOf(u().string),image:u().elementType,upsellLink:u().string,upsellText:u().string,workout:u().elementType,badges:u().arrayOf(u().element)},D.propTypes={workout:u().elementType,badges:u().arrayOf(u().element),upsellLink:u().string,upsellText:u().string};const P=e=>E.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 299 322"},e),L||(L=E.createElement("g",{fill:"none",transform:"matrix(-1 0 0 1 298.412 0)"},E.createElement("circle",{cx:131.2,cy:190.029,r:131.2,fill:"#F0ECF0"}),E.createElement("path",{fill:"#F9BF8C",d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 0 1-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 0 0 3.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 0 1 3.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 0 1 4 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z"}),E.createElement("path",{fill:"#DB7A53",d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 0 1-.3-2.2 50.2 50.2 0 0 1-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 0 0 .6-9.5v-2a69 69 0 0 0-.3-7.8l-.2-1.6a10.5 10.5 0 0 0 2.4.3v-.1zm-11-25.6 1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z"}),E.createElement("path",{fill:"#DB7A53",d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 0 0 5.1-1.3l-.3-.2a1.6 1.6 0 0 0 .2 0 3.3 3.3 0 0 0 2.7-.6 34.2 34.2 0 0 0 6.4-4 5 5 0 0 0 2-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z"}),E.createElement("path",{fill:"#F9BF8C",d:"M223.7 76.23v.3a3.7 3.7 0 0 1-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 0 1 .3-1.7 7.1 7.1 0 0 1 2.5 2.7z"}),E.createElement("path",{fill:"#F9BF8C",d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 0 0 5.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 0 1-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 0 0 0 .3l-.3-.3a2.4 2.4 0 0 0-.9-2 10.2 10.2 0 0 0-3.2-1.9 5.5 5.5 0 0 1 2.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 0 0 .2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 0 0 0-.2l.8-1a1.3 1.3 0 0 1-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 0 1 2.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 0 0 2.5.7l16.8 5.1a7.8 7.8 0 0 1 3 2.5c3 3.9 4.4 10.7 1.3 14.6z"}),E.createElement("path",{fill:"#F9BF8C",d:"M228.6 85.73a34.2 34.2 0 0 1-6.4 4 3.3 3.3 0 0 1-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 0 0 2-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 0 0-.6-1.5 5.2 5.2 0 0 0 .8-.8 6.7 6.7 0 0 0 1.3-2 6.3 6.3 0 0 1 1.5-.4 10.2 10.2 0 0 1 3.2 1.9 2.4 2.4 0 0 1 .9 2 5 5 0 0 1-2.1 2.8zm-5-16.3a16.4 16.4 0 0 0-2.2 3.5l-.1.2a39 39 0 0 0-2.4-.6 9 9 0 0 1 2.3 1 3.2 3.2 0 0 0-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 0 1-.9 1.8 9.3 9.3 0 0 1-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 0 1 2.7-1.4 35.6 35.6 0 0 1 13 2.7c-.5.3-5.3-.2-6 .6z"}),E.createElement("path",{fill:"#F9BF8C",d:"M219.4 83.23a6 6 0 0 1-2.8.7 7.8 7.8 0 0 1-1.5-.2 4 4 0 0 0 1.5.2 9.8 9.8 0 0 0 3-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 0 1-.2 0 39 39 0 0 0-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 0 0-1.2-1.7 13 13 0 0 0-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 0 1 6.9.2l2.1.3 3.5 15.4z"}),E.createElement("path",{fill:"#DB7A53",d:"M223.7 76.23a5 5 0 0 1 .6 3.4 7 7 0 0 1 .8-.3 6.7 6.7 0 0 1-1.3 2.1 5.2 5.2 0 0 1-.8.8 1.7 1.7 0 0 0-1.2-.2l-.2 1a10 10 0 0 1-2 .7 9.8 9.8 0 0 1-3 .2 6 6 0 0 0 2.8-.7l.5-.3a9.3 9.3 0 0 0 2.7-3.3 11.3 11.3 0 0 0 1-1.9 3.7 3.7 0 0 0 .1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z"}),E.createElement("path",{fill:"#DB7A53",d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 0 1 1.1.2z"}),E.createElement("path",{fill:"#F9BF8C",d:"M201.4 91.73a3.1 3.1 0 0 0-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 0 0 5.2 2 43 43 0 0 0 4.2 2v.1zm.1-2.2h.1a30.3 30.3 0 0 0 5.4.4 30 30 0 0 0 3.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 0 0 1.1-.3zm13 2.5a1.4 1.4 0 0 0-.3 0 10.6 10.6 0 0 0-2-.4h-.4a26.6 26.6 0 0 1-3-1.8l1.7-.1a3.2 3.2 0 0 0 1.3-.4 1.2 1.2 0 0 0 .5-1l6.7 2.7-6.7-3.6a39 39 0 0 1 7 3c.1.2.3.2.4.3a8.4 8.4 0 0 1-5.2 1.3z"}),E.createElement("path",{fill:"#DB7A53",d:"M225 79.33a7 7 0 0 0-.7.3 5 5 0 0 0-.6-3.4 7.1 7.1 0 0 0-2.5-2.7 9 9 0 0 0-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 0 0 .6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 0 1-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 0 0-3-.6 6.3 6.3 0 0 0-1.4.3h-.1zm6 3.9a3 3 0 0 1 0-.3c.3 0 1 1.3 2 3a23.8 23.8 0 0 0 4.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 0 1-5.2 2.2 14 14 0 0 1-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z"}),E.createElement("path",{fill:"#F9BF8C",d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 0 0 6.4 3 1.2 1.2 0 0 1-.6 1 3.2 3.2 0 0 1-1.2.4l-1.8.1a14.4 14.4 0 0 0-3.6-1.9 13.4 13.4 0 0 1-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 0 0 0-2 3.5 3.5 0 0 1-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 0 1 2.2.4 13 13 0 0 1 5.2 3.5zm-6.1 13a39.6 39.6 0 0 1 4.7 2.2 30.3 30.3 0 0 1-5.3-.5 1.7 1.7 0 0 0 .6-1.7z"}),E.createElement("path",{fill:"#F9BF8C",d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 0 1 2 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 0 0-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 0 1-5.2-2l-.4-.3a1.7 1.7 0 0 1-.5-.5 1.5 1.5 0 0 1 0-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z"}),E.createElement("path",{fill:"#F9BF8C",d:"M199.4 86.63a5 5 0 0 0 2 .8l.9.3a1.7 1.7 0 0 1-.7 1.7v.1a2.7 2.7 0 0 1-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 0 1 .4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z"}),E.createElement("path",{fill:"#F9BF8C",d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 0 1 .8-1.6l.5 4a3 3 0 0 1-.9-.7z"}),E.createElement("path",{fill:"#DB7A53",d:"M211.8 91.63h-1.2a30 30 0 0 1-3.6-1.7 39.6 39.6 0 0 0-4.7-2.2l-.8-.3a5 5 0 0 1-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 0 0-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 0 0 .9.7 13.4 13.4 0 0 0 3 1.3 14.4 14.4 0 0 1 3.6 1.9 26.6 26.6 0 0 0 3 1.7z"}),E.createElement("path",{fill:"#DB7A53",d:"M195.8 85.33a1.7 1.7 0 0 0-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 0 0-1.3.6 43 43 0 0 1-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 0 1 .5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 0 0 .3-1 3.8 3.8 0 0 1 0 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8 5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 0 1-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z"}),E.createElement("path",{fill:"#F9BF8C",d:"M201.4 91.73a4.2 4.2 0 0 1 1.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 0 1 2 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 0 1-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 0 1 .7-2.6 3.1 3.1 0 0 1 .8-.7z"}),E.createElement("path",{fill:"#A52A6A",d:"M253.4 121.03a10.5 10.5 0 0 1-2.4-.2 5.3 5.3 0 0 1-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0 0 10.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 0 1-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z"}),E.createElement("path",{fill:"#DB7A53",d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 0 0-3.9-14.4z"}),E.createElement("path",{fill:"#009288",d:"m41.3 265.93-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 0 1 2.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 0 0-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 0 0-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 0 0-13.5 9.4l-1 1a37 37 0 0 1 4.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z"}),E.createElement("path",{fill:"#F9BF8C",d:"M29.5 189.23a37 37 0 0 1 4.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 0 1-21.4-53.5 133 133 0 0 1 28.7-24.1v.2z"}),E.createElement("path",{fill:"#DB7A53",d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z"}),E.createElement("path",{fill:"#F9BF8C",d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z"}),E.createElement("path",{fill:"#DB7A53",d:"M87.3 151.73a56.8 56.8 0 0 1-17.1-22.8 62.4 62.4 0 0 0 43 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z"}),E.createElement("path",{fill:"#216D64",d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z"}),E.createElement("path",{fill:"#F9BF8C",d:"M122.5 72.33a9.8 9.8 0 0 0-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 0 0-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14 .8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 0 0 2.5 12.1z"}),E.createElement("path",{fill:"#F9BF8C",d:"M154.7 95.83a44.5 44.5 0 0 0-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 0 0-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 0 0-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 0 1-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 0 0 1.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 0 1 .6-1h17.1a11 11 0 0 1 3.8 6.7 58.3 58.3 0 0 0 1.2-6.8l3-.2-.8.7z"}),E.createElement("path",{fill:"#D86060",d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z"}),E.createElement("path",{fill:"#BC3939",d:"m101 113.43-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 0 1-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z"}),E.createElement("path",{fill:"#FFF",d:"m108.5 84.43.2-.5a15.2 15.2 0 0 0-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 1 1 .408-9.592A4.8 4.8 0 0 1 97 85.629z"}),E.createElement("path",{fill:"#000",d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 0 0-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z"}),E.createElement("path",{fill:"#FFF",d:"M127.5 83.03h-.1a27 27 0 0 0 11.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 1 1 8.798-.2 4.4 4.4 0 0 1-8.798.2z"}),E.createElement("path",{fill:"#000",d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 0 0 1.2.1l.1.2a5 5 0 0 1-1.4.6 2.4 2.4 0 0 1-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z"}),E.createElement("path",{fill:"#B2512B",d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 0 0-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z"}),E.createElement("circle",{cx:97.1,cy:80.829,r:4.8,fill:"#000",transform:"rotate(-78.1 97.1 80.83)"}),E.createElement("circle",{cx:134.7,cy:79.329,r:4.4,fill:"#000"}),E.createElement("path",{fill:"#DB7A53",d:"M106.3 109.73a40 40 0 0 1-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0 0 13.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z"}),E.createElement("path",{fill:"#838BC5",d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 0 0 8.4-.2 3.5 3.5 0 0 0 .4 2.7l3.8 2.6a44.6 44.6 0 0 0-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 0 1-4.4 11.9l-12.4 7a10.3 10.3 0 0 0-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 0 1 3-2 9.8 9.8 0 0 0 .1 1H54zm2.7 55 1.4.7 3.5-1.6a5.5 5.5 0 0 1-2.4 1.9 10.4 10.4 0 0 1-1.2.2l-1.2-1.2h-.1z"}),E.createElement("path",{fill:"#0071BC",d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 0 1-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 0 1 0-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z"}),E.createElement("path",{fill:"#0071BC",d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 0 1-3.8-2.6 3.5 3.5 0 0 1-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 0 1-2.6 6.2 14.6 14.6 0 0 0-4.7-13.6z"}),E.createElement("path",{fill:"#DB7A53",d:"M126.1 69.33h-.7a14.6 14.6 0 0 1 3.2-1.7 14.8 14.8 0 0 0-2.5 1.7zm-.9 17.8.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 0 1 .9-8.8 9 9 0 0 1 1.3.8 16 16 0 0 0 2.5 12.1zm-2.1-14.5a6.3 6.3 0 0 0-.6-.3l.5-.9c1 0 .4.2.1 1.2z"}),E.createElement("path",{fill:"#93278F",d:"M56.7 84.03a12.7 12.7 0 0 0-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z"}),E.createElement("path",{fill:"#5D237A",d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 0 0-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0 0 12.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 0 1 1.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 0 0-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 0 0-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z"}),E.createElement("path",{fill:"#F9BF8C",d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z"}),E.createElement("path",{fill:"#CE6D42",d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z"}))));function N({workout:e=null,badges:t=[],upsellLink:o=null,upsellText:r=null}){const s=(0,a.useSelect)((e=>e("yoast-seo/workouts").getFinishedSteps(x))),l=o||"https://yoa.st/workout-orphaned-content-upsell";return(0,k.jsx)(R,{id:"orphaned-workout-card",name:x,title:(0,m.__)("Orphaned content","wordpress-seo"),subtitle:(0,m.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[(0,m.__)("Make pages easier for Google and visitors to find","wordpress-seo"),(0,m.__)("Add internal links to your posts and pages","wordpress-seo")],image:P,finishableSteps:j.orphaned,finishedSteps:s,upsellLink:l,upsellText:r,workout:e,badges:t})}N.propTypes={workout:u().elementType,badges:u().arrayOf(u().element),upsellLink:u().string,upsellText:u().string};const{workouts:$,upsellLink:q,upsellText:G}=window.wpseoWorkoutsData,U={[S]:()=>(0,k.jsx)(D,{badges:[(0,k.jsx)(w.PremiumBadge,{},"premium-badge-cornerstone-workout")],upsellLink:q,upsellText:G}),[x]:()=>(0,k.jsx)(N,{badges:[(0,k.jsx)(w.PremiumBadge,{},"premium-badge-orphaned-workout")],upsellLink:q,upsellText:G})};function K(e){const{activeWorkout:t,clearActiveWorkout:o,openWorkout:a,workouts:s,loading:l,initWorkouts:n,saveWorkouts:c}=e;(0,h.useEffect)((()=>{if(!0===l)return n($),void(window.location.hash&&window.location.hash.length>1&&("configuration"===window.location.hash.substring(1)?window.location.href=window.wpseoWorkoutsData.firstTimeConfigurationUrl:a(window.location.hash.substring(1))));c(s)}),[s,l]);const i=(0,h.useMemo)((()=>{const e=Object.keys(s);return(0,d.sortBy)(e.map((e=>({...s[e],id:e}))),"priority").map((e=>{if(U[e.id]){const t=U[e.id];return(0,k.jsx)(f,{name:`${e.id}`,children:(0,k.jsx)(t,{})},e.id)}return(0,k.jsx)(r.Slot,{name:`${e.id}`},e.id)}))}),[s]);return(0,k.jsxs)("div",{className:"wrap",children:[(0,k.jsx)("h1",{id:"workouts-page-title",children:(0,m.__)("SEO workouts","wordpress-seo")}),(0,k.jsx)("p",{id:"workouts-page-description",children:(0,m.__)("Getting your site in shape and keeping it SEO fit can be hard. We can help you get started! Take these step-by-step workouts, and you’ll be tackling some of the most fundamental SEO challenges!","wordpress-seo")}),t&&(0,k.jsx)(w.Button,{id:"yoast-workouts-back-to-workouts-button",onClick:o,children: // translators: %1$s translates to a leftward pointing arrow ( ← ) (0,m.sprintf)((0,m.__)("%1$sBack to all workouts","worpdress-seo"),"← ")}),(0,k.jsx)("div",{className:t?"":"workflows__index",children:i})]})}K.propTypes={activeWorkout:u().string.isRequired,clearActiveWorkout:u().func.isRequired,openWorkout:u().func.isRequired,workouts:u().object.isRequired,loading:u().bool.isRequired,initWorkouts:u().func.isRequired,saveWorkouts:u().func.isRequired};const X=function(e){const t=(0,d.cloneDeep)(e);return Object.keys(e).forEach((function(o){e[o].indexablesByStep&&Object.keys(e[o].indexablesByStep).forEach((function(e){t[o].indexablesByStep[e]=t[o].indexablesByStep[e].filter((function(e){return!e.purge}))}))})),t};async function V(e){try{const t=await c()({path:"yoast/v1/workouts",method:"POST",data:X(e)});return await t.json}catch(e){return console.error(e.message),!1}}const H=(0,i.compose)([(0,a.withSelect)((e=>{const t=e("yoast-seo/workouts").getWorkouts(),o=e("yoast-seo/workouts").getLoading(),a=e("yoast-seo/workouts").getActiveWorkout(),r=e("yoast-seo/workouts").getFinishedWorkouts(),s=e("yoast-seo/workouts").getIndexablesByStep;return{workouts:t,loading:o,activeWorkout:a,finishedWorkouts:r,isStepFinished:(e,o)=>t[e].finishedSteps.includes(o),getIndexablesByStep:s}})),(0,a.withDispatch)((e=>{const{finishSteps:t,toggleStep:o,toggleWorkout:a,initWorkouts:r,clearActiveWorkout:s,openWorkout:l,moveIndexables:n,clearIndexablesInSteps:c}=e("yoast-seo/workouts");return{finishSteps:t,toggleStep:o,toggleWorkout:a,initWorkouts:r,clearActiveWorkout:s,openWorkout:l,moveIndexables:n,clearIndexablesInSteps:c,saveWorkouts:V}}))])(K),J="REGISTER_WORKOUT",Q="FINISH_STEPS",Y="REVISE_STEP",Z="TOGGLE_WORKOUT",ee="SET_WORKOUTS",te="OPEN_WORKOUT",oe="CLEAR_ACTIVE_WORKOUT",ae="TOGGLE_STEP",re="MOVE_INDEXABLES",se="CLEAR_INDEXABLES",le="CLEAR_INDEXABLES_IN_STEPS",ne=(e,t)=>({type:J,payload:{key:e,priority:t}}),ce=(e,t)=>({type:Q,workout:e,steps:t}),ie=(e,t)=>({type:Y,workout:e,step:t}),de=e=>({type:Z,workout:e}),pe=e=>({type:ee,workouts:e}),ue=e=>(window.location.hash=e,{type:te,workout:e}),me=()=>(window.location.hash="",{type:oe}),he=(e,t)=>({type:ae,workout:e,step:t}),we=(e,t,o,a)=>({type:re,workout:e,indexables:t,fromStep:o,toStep:a}),ke=e=>({type:se,workout:e}),fe=(e,t)=>({type:le,workout:e,steps:t}),Ee=e=>e.workouts,ge=(e,t)=>(0,d.get)(e,`workouts.${t}.finishedSteps`,[]),ye=(e,t,o)=>e.workouts[t].indexablesByStep[o],ze=e=>{const t=[];return Object.keys(e.workouts).forEach((function(o){j[o]&&e.workouts[o].finishedSteps.length===j[o].length&&t.push(o)})),t},Se=e=>e.loading,xe=e=>e.activeWorkout,be={loading:!0,activeWorkout:"",workouts:{cornerstone:{priority:50,finishedSteps:[],indexablesByStep:{[M]:[],[v]:[],[b]:[],[O]:[],[W]:[]}},orphaned:{priority:50,finishedSteps:[],indexablesByStep:{[B]:(0,d.get)(window,"wpseoPremiumWorkoutsData.orphaned",[]),[_]:[],[A]:[],[F]:[],[T]:[],[O]:[],[W]:[]}}}},ve=(e=be,t)=>{let o;const a=(0,d.cloneDeep)(e);switch(t.type){case J:return a.workouts[t.payload.key]={finishedSteps:[],indexablesByStep:{},...a.workouts[t.payload.key],priority:t.payload.priority},a;case Q:return a.workouts[t.workout].finishedSteps=(0,d.union)(e.workouts[t.workout].finishedSteps,t.steps),a;case Y:return a.workouts[t.workout].finishedSteps=a.workouts[t.workout].finishedSteps.filter((e=>e!==t.step)),a;case ae:return e.workouts[t.workout].finishedSteps.includes(t.step)?(o=e.workouts[t.workout].finishedSteps.indexOf(t.step),o>-1&&(a.workouts[t.workout].finishedSteps=e.workouts[t.workout].finishedSteps.slice(),a.workouts[t.workout].finishedSteps.splice(o,1)),a):(a.workouts[t.workout].finishedSteps=(0,d.union)(e.workouts[t.workout].finishedSteps,[t.step]),a);case Z:if(j[t.workout].length===e.workouts[t.workout].finishedSteps.length){a.workouts[t.workout].finishedSteps=[];for(const e of j[t.workout])be.workouts[t.workout].indexablesByStep&&(a.workouts[t.workout].indexablesByStep[e]=be.workouts[t.workout].indexablesByStep[e])}else a.workouts[t.workout].finishedSteps=j[t.workout];return a;case te:return a.activeWorkout=t.workout,a;case oe:return a.activeWorkout="",a;case ee:return a.workouts=(0,d.merge)(a.workouts,t.workouts),a.loading=!1,a;case re:return t.indexables.forEach((function(e){if(""!==t.fromStep){const o=a.workouts[t.workout].indexablesByStep[t.fromStep].findIndex((t=>t.id===e.id));a.workouts[t.workout].indexablesByStep[t.fromStep][o].purge=!0,a.workouts[t.workout].indexablesByStep[t.fromStep][o].movedTo=t.toStep}if(""!==t.toStep){const o=a.workouts[t.workout].indexablesByStep[t.toStep].findIndex((t=>t.id===e.id));-1===o?a.workouts[t.workout].indexablesByStep[t.toStep].push(e):(a.workouts[t.workout].indexablesByStep[t.toStep][o].purge=!1,a.workouts[t.workout].indexablesByStep[t.toStep][o].movedTo="")}})),a;case se:return a.workouts[t.workout].indexablesByStep=be.workouts[t.workout].indexablesByStep,a;case le:for(const e of t.steps)a.workouts[t.workout].indexablesByStep[e]=[];return a;default:return e}},Me=window.yoast.externals.contexts,Be=window.yoast.styledComponents,_e=({theme:e,location:t,children:o})=>(0,k.jsx)(Me.LocationProvider,{value:t,children:(0,k.jsx)(Be.ThemeProvider,{theme:e,children:o})});_e.propTypes={theme:u().object.isRequired,location:u().oneOf(["sidebar","metabox","modal"]).isRequired,children:u().node.isRequired};const Ae=_e,Fe=[];let Te=null;class Oe extends h.Component{constructor(e){super(e),this.state={registeredComponents:[...Fe]}}registerComponent(e,t){this.setState((o=>({...o,registeredComponents:[...o.registeredComponents,{key:e,Component:t}]})))}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,k.jsx)(e,{},t)))}}if(window.wp.data.createReduxStore){const e=(0,a.createReduxStore)("yoast-seo/workouts",{reducer:ve,actions:t,selectors:o});(0,a.register)(e)}else(0,a.registerStore)("yoast-seo/workouts",{reducer:ve,actions:t,selectors:o});window.wpseoWorkoutsData=window.wpseoWorkoutsData||{},window.wpseoWorkoutsData.registerWorkout=function(e,t,o){(0,a.dispatch)("yoast-seo/workouts").registerWorkout(e,t),function(e,t){null===Te||null===Te.current?Fe.push({key:e,Component:t}):Te.current.registerComponent(e,t)}(e,(()=>(0,k.jsx)(r.Fill,{name:`${e}`,children:(0,k.jsx)(o,{})})))},l()((()=>{!function(e,t){const o=(0,d.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1});Te=(0,h.createRef)();const a={isRtl:o.isRtl};(0,h.createRoot)(document.getElementById(e)).render((0,k.jsx)(Ae,{theme:a,location:"sidebar",children:(0,k.jsx)(r.SlotFillProvider,{children:(0,k.jsxs)(h.Fragment,{children:[t,(0,k.jsx)(Oe,{ref:Te})]})})}))}("wpseo-workouts-container-free",(0,k.jsx)(H,{}))}))})(); dist/integrations-page.js 0000644 00000474615 15174677550 0011527 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var a=typeof s;if("string"===a||"number"===a)e.push(s);else if(Array.isArray(s)){if(s.length){var n=r.apply(null,s);n&&e.push(n)}}else if("object"===a){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var i in s)o.call(s,i)&&s[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(s=function(){return r}.apply(t,[]))||(e.exports=s)}()}},t={};function s(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.lodash,t=window.wp.domReady;var o=s.n(t);const r=window.yoast.uiLibrary,a=window.wp.i18n,n=window.yoast.propTypes;var i=s.n(n);const l=window.wp.element,c=(e,t)=>{try{return(0,l.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},d=window.ReactJSXRuntime;function p(e,t,s=""){return c(e,{a:(0,d.jsx)("a",{id:s,href:t,target:"_blank",rel:"noopener noreferrer"})})}const h=window.wp.apiFetch;var m=s.n(h);const g=e=>{const t=`${e.slug}_integration_active`;return Boolean(window.wpseoIntegrationsData[t])},y=e=>{if(!window.wpseoIntegrationsData.is_multisite)return!0;const t=`allow_${e.slug}_integration`;return Boolean(window.wpseoIntegrationsData[t])},u=e=>!window.wpseoIntegrationsData.is_multisite||e.isMultisiteAvailable,w=e=>e.isPremium&&Boolean(window.wpseoScriptData.isPremium)||!e.isPremium,v=(e,t)=>{const s=t,o=y(e),r=u(e);return w(e)?s&&o&&r:o&&r},f=async(e,t)=>{const s=await m()({path:"yoast/v1/integrations/set_active",method:"POST",data:{active:t,integration:e.slug}});return await s.json},x=window.React;var _,b;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},j.apply(null,arguments)}const k=x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),E=x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),M=x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),P=window.wp.components,z=({children:e=null})=>(0,d.jsx)("header",{className:"yst-relative yst-flex yst-items-center yst-justify-center yst-h-24 yst-bg-slate-100 yst--mx-6 yst--mt-6 yst-py-6",children:e});z.propTypes={children:n.PropTypes.node};const S=({children:e=null})=>(0,d.jsx)("div",{className:"yst-flex-grow",children:e});S.propTypes={children:n.PropTypes.node};const N=({children:e=null})=>(0,d.jsx)("footer",{className:"yst-border-t yst-border-slate-200 yst-pt-6",children:e});N.propTypes={children:n.PropTypes.node};const T=({children:e=null})=>(0,d.jsx)("div",{className:"yst-relative yst-flex yst-flex-col yst-bg-white yst-rounded-lg yst-border yst-p-6 yst-space-y-6 yst-overflow-hidden yst-transition-transform yst-ease-in-out yst-duration-200 yst-shadow-sm",children:e});T.propTypes={children:n.PropTypes.node},T.Header=z,T.Content=S,T.Footer=N;const R=({integration:e,initialActivationState:t,isNetworkControlEnabled:s,isMultisiteAvailable:o,toggleLabel:n,beforeToggle:i})=>{const[c,p]=(0,l.useState)(t),h=(0,l.useCallback)((async()=>{let t=!0;const s=!c;p(s),i&&(t=!1,t=await i(e,s)),t||p(!s)}),[c,i,p]),m=e.logo;return(0,d.jsxs)(T,{children:[(0,d.jsxs)(T.Header,{children:[(0,d.jsxs)(r.Link,{href:e.logoLink,target:"_blank",children:[e.logo&&(0,d.jsx)(m,{alt:(0,a.sprintf)(/* translators: 1: Yoast SEO, 2: integration name */ (0,a.__)("%1$s integrates with %2$s","wordpress-seo"),"Yoast SEO",e.name),className:v(e,c)?"":"yst-opacity-50 yst-filter yst-grayscale"}),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),!s&&o&&(0,d.jsx)(r.Badge,{className:"yst-absolute yst-top-2 yst-end-2",children:(0,a.__)("Network Disabled","wordpress-seo")}),s&&e.isNew&&(0,d.jsx)(r.Badge,{className:"yst-absolute yst-top-2 yst-end-2",children:(0,a.__)("New","wordpress-seo")})]}),(0,d.jsxs)(T.Content,{children:[(0,d.jsxs)("div",{children:[e.claim&&(0,d.jsx)("h4",{className:"yst-text-base yst-mb-3 yst-font-medium yst-text-[#111827] yst-leading-tight",children:e.claim}),(0,d.jsxs)("p",{children:[" ",e.description,e.learnMoreLink&&(0,d.jsxs)(r.Link,{href:e.learnMoreLink,className:"yst-flex yst-items-center yst-mt-3 yst-no-underline yst-font-medium",target:"_blank",children:[(0,a.__)("Learn more","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,d.jsx)(E,{className:"yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl"})]})]})]}),c&&(0,d.jsx)(P.Slot,{name:`${e.name}Slot`})]}),(0,d.jsxs)(T.Footer,{children:[!w(e)&&(0,d.jsxs)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",href:e.upsellLink,variant:"upsell","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yst-w-full yst-text-slate-800",target:"_blank",children:[(0,d.jsx)(k,{className:"yst--ml-s yst-me-2 yst-h-5 yst-w-5 yst-text-yellow-900"}),(0,a.__)("Unlock with Premium","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),w(e)&&!u(e)&&(0,d.jsxs)("p",{className:"yst-flex yst-items-start yst-justify-between",children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Integration unavailable for multisites","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]}),w(e)&&u(e)&&(0,d.jsx)(r.ToggleField,{id:`${e.name}-toggle`,checked:c,label:n,onChange:h,disabled:!s||!o})]})]})};R.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,learnMoreLink:n.PropTypes.string,logoLink:n.PropTypes.string,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isPremium:n.PropTypes.bool,isNew:n.PropTypes.bool,isMultisiteAvailable:n.PropTypes.bool,upsellLink:n.PropTypes.string}).isRequired,initialActivationState:n.PropTypes.bool.isRequired,isNetworkControlEnabled:n.PropTypes.bool.isRequired,isMultisiteAvailable:n.PropTypes.bool.isRequired,toggleLabel:n.PropTypes.string.isRequired,beforeToggle:n.PropTypes.func.isRequired};const C=x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),L=window.wp.data,Z=({integration:e,isActive:t=!0,isSchemaFrameworkDisabled:s=!1,children:o=null})=>{const n=e.logo,i=(0,L.useSelect)((t=>t("yoast-seo/settings").selectLink(e.learnMoreLink)),[]),l=(0,L.useSelect)((t=>t("yoast-seo/settings").selectLink(e.logoLink)),[]);return(0,d.jsxs)(T,{children:[(0,d.jsxs)(T.Header,{children:[(0,d.jsxs)(r.Link,{href:l,target:"_blank",children:[e.logo&&(0,d.jsx)(n,{alt:`${e.name} logo`,className:t&&!s?"":"yst-opacity-50 yst-filter yst-grayscale"}),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),e.isNew&&(0,d.jsx)(r.Badge,{className:"yst-absolute yst-top-2 yst-end-2",children:(0,a.__)("New","wordpress-seo")})]}),(0,d.jsx)(T.Content,{children:(0,d.jsxs)("div",{children:[e.claim&&(0,d.jsx)("h4",{className:"yst-text-base yst-mb-3 yst-font-medium yst-text-[#111827] yst-leading-tight",children:e.claim}),e.description&&(0,d.jsxs)("p",{children:[" ",e.description," "]}),e.usps&&(0,d.jsx)("ul",{className:"yst-space-y-3",children:e.usps.map(((e,t)=>(0,d.jsxs)("li",{className:"yst-flex yst-items-start",children:[(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-me-2 yst-text-green-400 yst-flex-shrink-0"}),(0,d.jsxs)("span",{children:[" ",e," "]})]},t)))}),e.learnMoreLink&&(0,d.jsxs)(r.Link,{href:i,className:"yst-flex yst-items-center yst-mt-3 yst-no-underline yst-font-medium",target:"_blank",children:[(0,a.__)("Learn more","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,d.jsx)(E,{className:"yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl"})]})]})}),(0,d.jsxs)(T.Footer,{children:[!s&&!w(e)&&(0,d.jsxs)(r.Button,{id:`${e.slug}-upsell-button`,type:"button",as:"a",href:e.upsellLink,variant:"upsell","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yst-w-full yst-text-slate-800",target:"_blank",children:[(0,d.jsx)(k,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5 yst-text-yellow-900"}),(0,a.__)("Unlock with Premium","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),(s||w(e))&&(0,d.jsx)("p",{className:"yst-flex yst-items-start yst-justify-between",children:o})]})]})};Z.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,learnMoreLink:n.PropTypes.string,logoLink:n.PropTypes.string,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func.isRequired,isNew:n.PropTypes.bool,upsellLink:n.PropTypes.string}).isRequired,isActive:n.PropTypes.bool,isSchemaFrameworkDisabled:n.PropTypes.bool,children:n.PropTypes.oneOfType([n.PropTypes.node,n.PropTypes.arrayOf(n.PropTypes.node)])};const A=({integration:e,isActive:t=!0})=>(0,d.jsxs)(Z,{integration:e,isActive:t,children:[t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Mastodon profile added","wordpress-seo")}),(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-text-green-400 yst-flex-shrink-0"})]}),!t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Mastodon profile not yet added","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]})]});A.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isNew:n.PropTypes.bool}).isRequired,isActive:n.PropTypes.bool};const O={name:"Mastodon",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: Mastodon; 3: bold close tag. */ (0,a.__)("Verify your site on %1$s%2$s%3$s","wordpress-seo"),"<strong>","Mastodon","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-mastodon",logoLink:"https://yoa.st/integrations-logo-mastodon",slug:"mastodon",description:(0,a.sprintf)(/* translators: 1: Mastodon, 2: Yoast SEO Premium */ (0,a.__)("Add trustworthiness to your %1$s profile by verifying your site with %2$s.","wordpress-seo"),"Mastodon","Yoast SEO Premium"),isPremium:!0,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:140,viewBox:"0 0 713.359 175.868"},e),_||(_=x.createElement("path",{fill:"#2b90d9",d:"M160.555 105.431c-2.413 12.407-21.598 25.983-43.634 28.614-11.491 1.373-22.804 2.631-34.867 2.079-19.73-.904-35.298-4.71-35.298-4.71 0 1.921.119 3.75.355 5.46 2.565 19.47 19.308 20.637 35.166 21.181 16.007.548 30.258-3.947 30.258-3.947l.659 14.472s-11.197 6.011-31.14 7.116c-11 .605-24.654-.276-40.56-4.485C6.999 162.08 1.066 125.31.159 88-.12 76.923.052 66.476.052 57.741.052 19.59 25.05 8.406 25.05 8.406 37.652 2.617 59.279.184 81.764 0h.552c22.484.184 44.125 2.618 56.729 8.406 0 0 24.996 11.183 24.996 49.335 0 0 .313 28.148-3.486 47.69"})),b||(b=x.createElement("path",{fill:"#282c37",d:"M34.658 48.494c0-5.554 4.502-10.055 10.055-10.055s10.055 4.501 10.055 10.055c0 5.553-4.502 10.055-10.055 10.055s-10.055-4.502-10.055-10.055M178.865 60.7v46.195h-18.301V62.057c0-9.452-3.978-14.248-11.933-14.248-8.794 0-13.202 5.69-13.202 16.943v24.542h-18.194V64.751c0-11.252-4.409-16.943-13.203-16.943-7.955 0-11.932 4.796-11.932 14.248v44.838H73.799V60.7c0-9.442 2.403-16.944 7.232-22.495 4.98-5.55 11.501-8.395 19.595-8.395 9.366 0 16.459 3.599 21.146 10.799l4.56 7.642 4.559-7.642c4.689-7.2 11.78-10.8 21.148-10.8 8.093 0 14.613 2.846 19.593 8.396 4.829 5.551 7.233 13.054 7.233 22.495m63.048 22.964c3.776-3.99 5.595-9.015 5.595-15.075 0-6.06-1.819-11.085-5.595-14.928-3.636-3.991-8.254-5.911-13.849-5.911-5.596 0-10.212 1.92-13.849 5.911-3.637 3.843-5.456 8.868-5.456 14.928 0 6.06 1.819 11.085 5.456 15.075 3.637 3.842 8.253 5.763 13.849 5.763 5.595 0 10.213-1.92 13.849-5.763m5.595-52.025h18.046v73.9h-18.046v-8.722c-5.455 7.243-13.01 10.79-22.801 10.79-9.373 0-17.347-3.695-24.062-11.233-6.573-7.538-9.931-16.85-9.931-27.785 0-10.79 3.358-20.102 9.931-27.64 6.715-7.537 14.689-11.38 24.062-11.38 9.79 0 17.346 3.548 22.8 10.79v-8.72zm78.762 35.62c5.315 3.99 7.973 9.606 7.833 16.7 0 7.538-2.658 13.45-8.113 17.588-5.457 3.992-12.03 6.06-20.004 6.06-14.409 0-24.201-5.912-29.378-17.588l15.669-9.31c2.098 6.353 6.714 9.606 13.709 9.606 6.434 0 9.652-2.07 9.652-6.356 0-3.104-4.197-5.912-12.73-8.128a117.46 117.46 0 0 1-7.973-2.514c-2.938-1.18-5.455-2.512-7.554-4.137-5.176-3.99-7.834-9.313-7.834-16.11 0-7.243 2.518-13.006 7.554-17.145 5.176-4.286 11.47-6.355 19.025-6.355 12.03 0 20.844 5.172 26.577 15.666l-15.386 8.868c-2.239-5.024-6.015-7.537-11.191-7.537-5.456 0-8.114 2.07-8.114 6.06 0 3.103 4.196 5.91 12.73 8.128 6.575 1.477 11.75 3.695 15.528 6.504m57.357-17.293h-15.808V80.71c0 3.695 1.4 5.91 4.058 6.945 1.958.74 5.875.887 11.75.59v17.295c-12.17 1.477-20.983.295-26.16-3.697-5.174-3.842-7.693-10.936-7.693-21.133V49.966h-12.17V31.64h12.17V16.71l18.045-5.764V31.64h15.808v18.327zm57.498 33.255c3.637-3.844 5.455-8.722 5.455-14.633s-1.818-10.789-5.455-14.631c-3.638-3.844-8.114-5.764-13.57-5.764-5.455 0-9.931 1.92-13.569 5.764-3.497 3.99-5.316 8.867-5.316 14.631 0 5.765 1.819 10.643 5.316 14.633 3.638 3.842 8.114 5.763 13.569 5.763 5.456 0 9.932-1.921 13.57-5.763m-39.869 13.153c-7.134-7.537-10.631-16.701-10.631-27.786 0-10.937 3.497-20.1 10.631-27.637 7.134-7.538 15.948-11.38 26.299-11.38 10.352 0 19.165 3.842 26.3 11.38 7.135 7.537 10.771 16.848 10.771 27.637 0 10.938-3.636 20.249-10.771 27.786-7.135 7.539-15.808 11.233-26.3 11.233-10.491 0-19.165-3.694-26.299-11.233m123.665-12.71c3.638-3.99 5.455-9.015 5.455-15.075 0-6.06-1.817-11.085-5.455-14.928-3.636-3.991-8.253-5.911-13.848-5.911-5.597 0-10.213 1.92-13.99 5.911-3.635 3.843-5.455 8.868-5.455 14.928 0 6.06 1.82 11.085 5.456 15.075 3.776 3.842 8.532 5.763 13.989 5.763 5.595 0 10.212-1.92 13.848-5.763m5.455-81.585h18.047v103.46h-18.047v-8.722c-5.315 7.243-12.87 10.79-22.661 10.79-9.372 0-17.485-3.695-24.2-11.233-6.575-7.538-9.932-16.85-9.932-27.785 0-10.79 3.357-20.102 9.932-27.64 6.715-7.537 14.828-11.38 24.2-11.38 9.791 0 17.346 3.548 22.661 10.79V2.079zm81.42 81.142c3.637-3.844 5.455-8.722 5.455-14.633s-1.818-10.789-5.455-14.631c-3.637-3.844-8.113-5.764-13.57-5.764-5.455 0-9.932 1.92-13.568 5.764-3.5 3.99-5.317 8.867-5.317 14.631 0 5.765 1.818 10.643 5.317 14.633 3.636 3.842 8.113 5.763 13.568 5.763 5.457 0 9.933-1.921 13.57-5.764m-39.868 13.154c-7.135-7.537-10.632-16.701-10.632-27.786 0-10.937 3.497-20.1 10.632-27.637 7.135-7.538 15.947-11.38 26.298-11.38 10.353 0 19.165 3.842 26.3 11.38 7.135 7.537 10.772 16.848 10.772 27.637 0 10.938-3.637 20.249-10.772 27.786-7.135 7.539-15.807 11.233-26.3 11.233-10.491 0-19.163-3.694-26.298-11.233m141.43-36.21v45.374h-18.045v-43.01c0-4.877-1.26-8.572-3.777-11.38-2.378-2.512-5.736-3.843-10.072-3.843-10.213 0-15.388 6.06-15.388 18.328v39.905H648.03v-73.9h18.046v8.277c4.337-6.946 11.19-10.345 20.844-10.345 7.694 0 13.989 2.66 18.885 8.129 5.035 5.469 7.554 12.859 7.554 22.465"}))),upsellLink:"https://yoa.st/get-mastodon-integration"},q=[[].map(((e,t)=>(0,d.jsx)(R,{integration:e,toggleLabel:(0,a.__)("Enable integration","wordpress-seo"),initialActivationState:g(e),isNetworkControlEnabled:y(e),isMultisiteAvailable:u(e),beforeToggle:f},t))),(0,d.jsx)(A,{integration:O,isActive:Boolean(window.wpseoIntegrationsData.mastodon_active)},3)];var V,I,$,B,F,D,H,U,G,Y,W;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},K.apply(null,arguments)}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},J.apply(null,arguments)}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},X.apply(null,arguments)}function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Q.apply(null,arguments)}const ee=e=>x.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:175,"aria-hidden":"true",viewBox:"0 0 2061.74 426.45"},e),B||(B=x.createElement("defs",null,x.createElement("linearGradient",{id:"woo-yoast-logo_svg__a",x1:1417.76,x2:1417.76,y1:315.03,y2:101.98,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:0,stopColor:"#570732"}),x.createElement("stop",{offset:.04,stopColor:"#600b39"}),x.createElement("stop",{offset:.15,stopColor:"#79154a"}),x.createElement("stop",{offset:.29,stopColor:"#8c1d58"}),x.createElement("stop",{offset:.44,stopColor:"#992362"}),x.createElement("stop",{offset:.63,stopColor:"#a12768"}),x.createElement("stop",{offset:1,stopColor:"#a4286a"})),x.createElement("linearGradient",{xlinkHref:"#woo-yoast-logo_svg__a",id:"woo-yoast-logo_svg__b",x1:1996.44,x2:1996.44,y1:356.5,y2:52.62}),x.createElement("linearGradient",{xlinkHref:"#woo-yoast-logo_svg__a",id:"woo-yoast-logo_svg__c",x1:1633.06,x2:1633.06,y1:314.32,y2:101.34}),x.createElement("linearGradient",{xlinkHref:"#woo-yoast-logo_svg__a",id:"woo-yoast-logo_svg__d",x1:1831.95,x2:1831.95,y1:315.16,y2:100.24}),x.createElement("linearGradient",{id:"woo-yoast-logo_svg__e",x1:1227.17,x2:1227.17,y1:-11.46,y2:325.55,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:0,stopColor:"#77b227"}),x.createElement("stop",{offset:.47,stopColor:"#75b027"}),x.createElement("stop",{offset:.64,stopColor:"#6eaa27"}),x.createElement("stop",{offset:.75,stopColor:"#62a027"}),x.createElement("stop",{offset:.85,stopColor:"#519227"}),x.createElement("stop",{offset:.93,stopColor:"#3b7f28"}),x.createElement("stop",{offset:1,stopColor:"#246b29"})))),F||(F=x.createElement("path",{fill:"none",stroke:"#374151",strokeMiterlimit:10,strokeWidth:6.29,d:"M938.79 3.5v419.46"})),D||(D=x.createElement("path",{fill:"url(#woo-yoast-logo_svg__a)",d:"M1417.92 101.98c-74.32 0-104.05 49.88-104.05 105.43s29.29 107.62 104.05 107.62 103.87-52.24 103.73-104.23c-.17-63.32-32.21-108.82-103.73-108.82Zm-45.03 108.56c1.81-74.32 58.89-74.24 77.96-47.61 17.38 24.26 20.95 107.21-32.93 106.6-24.81-.27-44.3-17.05-45.03-58.99Z"})),H||(H=x.createElement("path",{fill:"url(#woo-yoast-logo_svg__b)",d:"M2020.74 263.49V155.82h38.49v-46.74h-38.49V52.63h-59.45v56.45h-30.16v46.74h30.16v101.56c0 57.73 40.25 92.03 82.72 99.13l17.74-47.8c-24.76-3.14-40.78-21.64-41.01-45.21Z"})),U||(U=x.createElement("path",{fill:"url(#woo-yoast-logo_svg__c)",d:"M1720.78 246.43v-80.94c0-2.95-.19-5.73-.47-8.44-5.15-65.38-98.01-65.25-169.93-40.15l20.79 41.84c46.83-22.24 74.87-16.51 84.66-5.55.25.28.51.56.73.86l.08.11c5 6.75 3.8 17.39 3.8 25.75-61.21 0-126.34 8.13-126.34 75.25 0 51.02 63.94 83.85 130.74 35.22l9.91 23.91h57.26c-5.12-28.08-11.23-52.14-11.23-67.89Zm-59.88-.44c-47.09 52.69-90.21 3.09-46.05-18.55 13-4.43 30.64-4.62 46.05-4.62v23.17Z"})),G||(G=x.createElement("path",{fill:"url(#woo-yoast-logo_svg__d)",d:"M1812.16 161.14c0-19.93 31.92-29.26 82.26-6.27l17.41-42.28c-67.76-20.48-160.28-22.32-160.88 48.55-.29 33.96 21.5 52.24 52.86 63.9 21.73 8.08 53.09 12.26 53 29.56-.12 22.61-48.74 26.07-93.01-4.34l-17.88 45.85c60.37 30.05 172.64 30.9 172.04-44.41-.59-74.45-105.8-61.69-105.8-90.56Z"})),Y||(Y=x.createElement("path",{fill:"url(#woo-yoast-logo_svg__e)",d:"m1288.75 0-86.18 239.37-41.27-129.26h-61.38l68.72 176.53a64.434 64.434 0 0 1 0 46.74c-7.68 19.7-20.46 36.55-51.62 40.74v52.33c60.66 0 93.46-37.29 122.72-119.02L1354.41 0h-65.67Z"})),W||(W=x.createElement("path",{fill:"#873eff",d:"M672.07 251.82c-21.52 0-35.87-16.07-35.87-38.45s14.64-38.74 35.87-38.74 36.44 16.36 36.44 38.74-14.92 38.45-36.44 38.45Zm0 61.41c57.11 0 100.72-42.47 100.72-99.86s-43.62-100.15-100.72-100.15-100.44 42.47-100.44 100.15 43.62 99.86 100.44 99.86Zm-215.22-61.41c-21.52 0-36.16-16.07-36.16-38.45s14.64-38.74 36.16-38.74 36.16 16.36 36.16 38.74-14.35 38.45-36.16 38.45Zm0 61.41c56.82 0 100.44-42.47 100.72-99.86 0-57.68-43.91-100.15-100.72-100.15s-100.72 42.47-100.72 100.15 43.91 99.86 100.72 99.86Zm-358.13 0c22.38 0 40.75-10.9 54.24-36.73l30.42-56.82v48.21c0 28.41 18.37 45.34 46.78 45.34 22.38 0 38.74-9.76 54.52-36.73l70.02-117.94c15.21-26.11 4.3-45.34-29.27-45.34-18.08 0-29.84 5.74-40.46 25.54l-48.21 90.39V148.8c0-24.11-11.48-35.58-32.43-35.58-16.93 0-30.13 7.17-40.46 27.26l-45.34 88.67v-79.49c0-25.83-10.62-36.44-36.16-36.44H29.84C10.04 113.22 0 122.4 0 139.33s10.62 26.69 29.84 26.69h21.52v101.59c0 28.7 19.23 45.63 47.35 45.63Z"}))),te=Boolean(window.wpseoIntegrationsData.schema_framework_enabled),se=({integration:e,isActive:t=!0,isInstalled:s=!0,isPrerequisiteActive:o=!0,activationLink:n,isSchemaAPIIntegration:i=!1})=>{const c=i&&!te;return(0,d.jsxs)(Z,{integration:e,isActive:t,isSchemaFrameworkDisabled:c,children:[c&&(0,d.jsx)(l.Fragment,{children:(0,d.jsx)("span",{className:"yst-text-red-600 yst-font-medium",children:(0,a.__)("Schema Framework disabled","wordpress-seo")})}),!c&&!o&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Plugin not detected","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]}),!c&&o&&t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Integration active","wordpress-seo")}),(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-text-green-400 yst-flex-shrink-0"})]}),!c&&o&&!t&&s&&(0,d.jsx)(l.Fragment,{children:(0,d.jsx)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",variant:"secondary",href:n,className:"yst-w-full yst-text-slate-800 yst-text-center",children:(0,a.sprintf)(/* translators: 1: Yoast WooCommerce SEO */ (0,a.__)("Activate %s","wordpress-seo"),"Yoast WooCommerce SEO")})}),!c&&o&&!t&&!s&&(0,d.jsx)(l.Fragment,{children:(0,d.jsxs)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",href:e.upsellLink,variant:"upsell",className:"yst-w-full yst-text-slate-800",target:"_blank",children:[(0,d.jsx)(k,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5 yst-text-yellow-900"}),(0,a.sprintf)(/* translators: 1: Yoast WooCommerce SEO */ (0,a.__)("Buy %s","wordpress-seo"),"Yoast WooCommerce SEO"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]})})]})};se.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isNew:n.PropTypes.bool,upsellLink:n.PropTypes.string}).isRequired,isActive:n.PropTypes.bool,isInstalled:n.PropTypes.bool,isPrerequisiteActive:n.PropTypes.bool,activationLink:n.PropTypes.string.isRequired,isSchemaAPIIntegration:n.PropTypes.bool};const oe=e=>(0,d.jsx)("img",{src:window.wpseoIntegrationsData.plugin_url+"/images/acf-logo.png",height:"50",width:"50",alt:(0,a.sprintf)(/* translators: 1: Yoast SEO, 2: ACF */ (0,a.__)("%1$s integrates with %2$s","wordpress-seo"),"Yoast SEO","ACF"),...e}),re=({integration:e,isActive:t=!0,isInstalled:s=!0,isPrerequisiteActive:o,installationLink:n,activationLink:i})=>(e.logo=oe,(0,d.jsxs)(Z,{integration:e,isActive:t,children:[!o&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Plugin not detected","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]}),o&&t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Integration active","wordpress-seo")}),(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-text-green-400 yst-flex-shrink-0"})]}),o&&!t&&s&&(0,d.jsx)(l.Fragment,{children:(0,d.jsx)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",variant:"secondary",href:i,className:"yst-w-full yst-text-slate-800 yst-text-center",children:(0,a.sprintf)(/* translators: 1: ACF, 2: Yoast SEO */ (0,a.__)("Activate %1$s Content Analysis for %2$s","wordpress-seo"),"ACF","Yoast SEO")})}),o&&!t&&!s&&(0,d.jsx)(l.Fragment,{children:(0,d.jsx)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",href:n,variant:"secondary",className:"yst-w-full yst-text-slate-800 yst-text-center",children:(0,a.sprintf)(/* translators: 1: ACF, 2: Yoast SEO */ (0,a.__)("Install %1$s Content Analysis for %2$s","wordpress-seo"),"ACF","Yoast SEO")})})]}));re.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isNew:n.PropTypes.bool}).isRequired,isActive:n.PropTypes.bool,isInstalled:n.PropTypes.bool,isPrerequisiteActive:n.PropTypes.bool.isRequired,installationLink:n.PropTypes.string.isRequired,activationLink:n.PropTypes.string.isRequired};const ae=Boolean(window.wpseoIntegrationsData.schema_framework_enabled),ne=({integration:e,isActive:t=!0,isSchemaAPIIntegration:s=!1})=>{const o=s&&!ae;return(0,d.jsxs)(Z,{integration:e,isActive:t,isSchemaFrameworkDisabled:o,children:[o&&(0,d.jsx)(l.Fragment,{children:(0,d.jsx)("span",{className:"yst-text-red-600 yst-font-medium",children:(0,a.__)("Schema Framework disabled","wordpress-seo")})}),!o&&t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Integration active","wordpress-seo")}),(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-text-green-400 yst-flex-shrink-0"})]}),!o&&!t&&(0,d.jsxs)(l.Fragment,{children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Plugin not detected","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]})]})};ne.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isNew:n.PropTypes.bool}).isRequired,isActive:n.PropTypes.bool,isSchemaAPIIntegration:n.PropTypes.bool};const ie=({integration:e,initialActivationState:t,isNetworkControlEnabled:s,isMultisiteAvailable:o,toggleLabel:n,beforeToggle:i,isPrerequisiteActive:c})=>{const[p,h]=(0,l.useState)(t),m=(0,l.useCallback)((async()=>{let t=!0;const s=!p;h(s),i&&(t=!1,t=await i(e,s)),t||h(!s)}),[p,i,h]),g=e.logo;return(0,d.jsxs)(T,{children:[(0,d.jsxs)(T.Header,{children:[(0,d.jsxs)(r.Link,{href:e.logoLink,target:"_blank",children:[e.logo&&(0,d.jsx)(g,{alt:(0,a.sprintf)(/* translators: 1: Yoast SEO, 2: integration name */ (0,a.__)("%1$s integrates with %2$s","wordpress-seo"),"Yoast SEO",e.name),className:c&&v(e,p)?"":"yst-opacity-50 yst-filter yst-grayscale"}),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),!s&&o&&(0,d.jsx)(r.Badge,{className:"yst-absolute yst-top-2 yst-end-2",children:(0,a.__)("Network Disabled","wordpress-seo")}),s&&e.isNew&&(0,d.jsx)(r.Badge,{className:"yst-absolute yst-top-2 yst-end-2",children:(0,a.__)("New","wordpress-seo")})]}),(0,d.jsxs)(T.Content,{children:[(0,d.jsxs)("div",{children:[e.claim&&(0,d.jsx)("h4",{className:"yst-text-base yst-mb-3 yst-font-medium yst-text-[#111827] yst-leading-tight",children:e.claim}),(0,d.jsxs)("p",{children:[" ",e.description,e.learnMoreLink&&(0,d.jsxs)(r.Link,{href:e.learnMoreLink,className:"yst-flex yst-items-center yst-mt-3 yst-no-underline yst-font-medium",target:"_blank",children:[(0,a.__)("Learn more","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,d.jsx)(E,{className:"yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl"})]})]})]}),p&&(0,d.jsx)(P.Slot,{name:`${e.name}Slot`})]}),(0,d.jsxs)(T.Footer,{children:[!c&&(0,d.jsxs)("p",{className:"yst-flex yst-items-start yst-justify-between",children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Plugin not detected","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]}),c&&!w(e)&&(0,d.jsxs)(r.Button,{id:`${e.name}-upsell-button`,type:"button",as:"a",href:e.upsellLink,variant:"upsell",className:"yst-w-full yst-text-slate-800",target:"_blank",children:[(0,d.jsx)(k,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5 yst-text-yellow-900"}),(0,a.__)("Unlock with Premium","wordpress-seo"),(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]}),c&&w(e)&&!u(e)&&(0,d.jsxs)("p",{className:"yst-flex yst-items-start yst-justify-between",children:[(0,d.jsx)("span",{className:"yst-text-slate-700 yst-font-medium",children:(0,a.__)("Integration unavailable for multisites","wordpress-seo")}),(0,d.jsx)(M,{className:"yst-h-5 yst-w-5 yst-text-red-500 yst-flex-shrink-0"})]}),c&&w(e)&&u(e)&&(0,d.jsx)(r.ToggleField,{checked:p,label:n,onChange:m,disabled:!s||!o})]})]})};ie.propTypes={integration:n.PropTypes.shape({name:n.PropTypes.string,claim:n.PropTypes.node,learnMoreLink:n.PropTypes.string,logoLink:n.PropTypes.string,slug:n.PropTypes.string,description:n.PropTypes.string,usps:n.PropTypes.array,logo:n.PropTypes.func,isPremium:n.PropTypes.bool,isNew:n.PropTypes.bool,isMultisiteAvailable:n.PropTypes.bool,upsellLink:n.PropTypes.string}).isRequired,initialActivationState:n.PropTypes.bool.isRequired,isNetworkControlEnabled:n.PropTypes.bool.isRequired,isMultisiteAvailable:n.PropTypes.bool.isRequired,toggleLabel:n.PropTypes.string.isRequired,beforeToggle:n.PropTypes.func.isRequired,isPrerequisiteActive:n.PropTypes.bool.isRequired};const le={elementor:{name:"Elementor",claim:c((0,a.sprintf)(/* translators: 1: Yoast SEO; 2: bold open tag; 3: Elementor; 4: bold close tag. */ (0,a.__)("Get %1$s tools and functionality in %2$s%3$s%4$s","wordpress-seo"),"Yoast SEO","<strong>","Elementor","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-elementor",logoLink:"https://yoa.st/integrations-logo-elementor",slug:"elementor",description:(0,a.__)("Take advantage of your favorite SEO & content analysis tools with your favorite page builder.","wordpress-seo"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:170,height:70,fill:"none",viewBox:"0 0 810 160"},e),I||(I=x.createElement("g",{fill:"#92003B",clipPath:"url(#elementor-logo_svg__a)"},x.createElement("path",{d:"M505.95 73.98s-6.873 1.642-12.688 3.029l-8.839 2.015h-.081c0-2.388.174-4.905.744-7.224.733-2.97 2.338-6.443 5.129-7.969 3.035-1.654 6.734-1.853 9.944-.57 3.326 1.316 4.849 4.532 5.501 7.864.186.932.302 1.864.395 2.808l-.105.046Zm23.051 5.044c0-23.104-14.526-33.03-33.087-33.03-20.981 0-34.123 14.551-34.123 33.147 0 20.215 11.188 33.38 35.274 33.38 13.026 0 20.399-2.307 29.168-6.699l-3.338-15.135c-6.687 3.006-12.909 4.847-21.213 4.847-9.106 0-14.293-3.46-16.259-9.927h42.997c.348-1.736.581-3.705.581-6.583ZM312.998 73.98s-6.874 1.642-12.689 3.029l-8.838 2.015h-.082c0-2.388.175-4.905.744-7.224.733-2.97 2.338-6.443 5.129-7.969 3.036-1.654 6.734-1.853 9.944-.57 3.326 1.316 4.85 4.532 5.501 7.864.186.932.302 1.864.395 2.808l-.104.046Zm23.05 5.044c0-23.104-14.526-33.03-33.087-33.03-20.98 0-34.122 14.551-34.122 33.147 0 20.215 11.188 33.38 35.273 33.38 13.026 0 20.399-2.307 29.168-6.699l-3.337-15.135c-6.688 3.006-12.91 4.847-21.214 4.847-9.106 0-14.293-3.46-16.258-9.927h42.996c.349-1.736.581-3.705.581-6.583ZM259.814 29.017h-21.295v81.186h21.295V29.017ZM533.49 48.067h22.364l4.71 14.354c2.943-7.084 9.572-16.195 21.33-16.195 16.142 0 24.899 8.203 24.899 29.338v34.65h-22.364c0-7.223.012-14.435.023-21.66 0-3.308-.058-6.617-.011-9.926.034-3.052.255-6.21-1.373-8.948-1.105-1.853-2.907-3.216-4.849-4.148-3.943-1.887-8.223-1.84-12.096.187-.953.5-5.559 2.994-5.559 4.147v40.348H538.2v-45.38l-4.71-16.767ZM623.704 64.355h-10.258V48.067h10.258V37.884l22.364-5.278v15.461h22.481v16.288h-22.481v18.246c0 7.166 3.455 10.51 8.642 10.51 5.303 0 8.303-.7 12.792-2.19l2.652 16.858c-6.106 2.657-13.712 3.927-21.446 3.927-16.258 0-25.016-7.737-25.016-22.755V64.355h.012ZM710.394 94.031c8.187 0 13.025-5.896 13.025-15.356 0-9.461-4.605-14.902-12.676-14.902-8.188 0-12.909 5.43-12.909 15.24 0 9.25 4.605 15.018 12.56 15.018Zm.233-48.387c20.98 0 36.308 13.166 36.308 33.602 0 20.552-15.328 32.914-36.541 32.914-21.097 0-36.088-12.7-36.088-32.914 0-20.436 14.875-33.602 36.321-33.602ZM441.754 47.88c-3.954-1.63-8.432-2.236-12.712-1.619-2.175.315-4.303.944-6.28 1.923-5.42 2.68-9.641 8.796-11.909 14.25-1.489-6.28-5.827-11.92-12.165-14.542-3.954-1.63-8.432-2.237-12.712-1.62-2.174.316-4.303.945-6.28 1.923-5.408 2.668-9.618 8.762-11.897 14.203v-.396L363.24 48.09h-22.365l4.711 16.766v45.37h22.213V69.668c.081-.303 1.07-.862 1.244-.99 2.605-1.852 5.664-3.763 8.92-3.996 3.327-.245 6.606 1.444 8.583 4.09.21.29.407.582.593.885 1.629 2.738 1.408 5.895 1.373 8.948-.035 3.309.011 6.618.011 9.927-.011 7.224-.023 14.436-.023 21.659h22.365V69.692c.046-.291 1.07-.874 1.256-1.002 2.605-1.853 5.663-3.764 8.92-3.997 3.326-.244 6.606 1.445 8.583 4.09.209.291.407.582.593.885 1.628 2.738 1.407 5.896 1.372 8.949-.035 3.308.012 6.617.012 9.926-.012 7.224-.023 14.436-.023 21.66h22.364v-34.65c0-10.16-1.454-23.245-12.188-27.672ZM799.827 46.226c-11.758 0-18.375 9.123-21.329 16.195l-4.711-14.354h-22.364l4.71 16.766v45.37h22.365V68.282c3.186-.56 20.48 2.633 23.76 3.833V46.308a40.988 40.988 0 0 0-2.431-.082ZM206.444 73.98s-6.873 1.642-12.688 3.029l-8.839 2.015h-.081c0-2.388.174-4.905.744-7.224.733-2.97 2.338-6.443 5.129-7.969 3.035-1.654 6.734-1.853 9.944-.57 3.326 1.316 4.849 4.532 5.501 7.864.186.932.302 1.864.395 2.808l-.105.046Zm23.051 5.044c0-23.104-14.526-33.03-33.087-33.03-20.981 0-34.123 14.551-34.123 33.147 0 20.215 11.188 33.38 35.274 33.38 13.026 0 20.399-2.307 29.168-6.699l-3.338-15.135c-6.687 3.006-12.909 4.847-21.213 4.847-9.106 0-14.293-3.46-16.259-9.927h42.996c.349-1.736.582-3.705.582-6.583ZM66.141 16.05c-35.285 0-63.883 28.65-63.883 64 0 35.338 28.598 64 63.883 64 35.285 0 63.883-28.651 63.883-64-.011-35.35-28.609-64-63.883-64Zm-15.968 90.657H39.532V53.38h10.641v53.327Zm42.577 0H60.815v-10.66H92.75v10.66Zm0-21.333H60.815v-10.66H92.75v10.66Zm0-21.333H60.815V53.38H92.75v10.66Z"}))),$||($=x.createElement("defs",null,x.createElement("clipPath",{id:"elementor-logo_svg__a"},x.createElement("path",{fill:"#fff",d:"M2.258 16.05h795.828v127.9H2.258z"})))))},jetpack:{name:"Jetpack",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: Jetpack; 3: bold close tag; 4: Yoast. */ (0,a.__)("Get the most out of %1$s%2$s%3$s and %4$s, together","wordpress-seo"),"<strong>","Jetpack","</strong>","Yoast"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-jetpack",logoLink:"https://yoa.st/integrations-logo-jetpack",slug:"jetpack",description:(0,a.__)("Upgrade your meta tags and social previews and manage your SEO settings in one place.","wordpress-seo"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg",width:153,height:108,viewBox:"0 0 595.276 841.89"},e),x.createElement("path",{d:"M-81.143 289.235c26.67-1.36 53.71 5.84 76.08 20.45 27.82 17.89 48.24 46.9 55.47 79.2 8.2 35.481.51 74.32-21.03 103.74-19.52 27.24-50.08 46.29-83.19 51.61-26.43 4.39-54.23.4-78.22-11.59-25.21-12.43-46.11-33.38-58.42-58.65-13.52-27.32-16.65-59.52-8.909-88.98 7.17-27.76 24.06-52.86 47-70.06 20.419-15.49 45.599-24.609 71.22-25.72zm-.42 25.35c-21.33 41.53-42.75 83.02-64.13 124.52 21.39-.02 42.79.01 64.18-.01-.02-41.51.09-83.01-.05-124.51zm13.05 81.5c-.01 41.51.02 83.03-.01 124.54 21.55-41.44 42.76-83.05 64.25-124.52-21.41-.07-42.82-.03-64.24-.02z",style:{fill:"#00be28",fillRule:"evenodd"}}),x.createElement("path",{d:"M-81.563 314.586c.14 41.5.03 83 .05 124.51-21.39.02-42.79-.01-64.18.01 21.38-41.5 42.8-82.99 64.13-124.52zm13.05 81.5c21.42-.01 42.83-.05 64.24.019-21.49 41.47-42.7 83.08-64.25 124.52.03-41.51 0-83.03.01-124.54z",style:{fill:"#fff",fillRule:"evenodd"}}),x.createElement("path",{d:"M120.697 334.555c15.17-.07 30.34-.01 45.51-.03-.02 37.16.01 74.32-.02 111.48-.09 10.56-1.43 21.5-6.7 30.851-6.76 12.1-19.02 19.62-31.07 25.68-3.69-5.51-7.02-11.241-10.68-16.76 7.79-4.801 15.83-10.2 20.31-18.44 2.9-5.291 3.87-11.39 3.92-17.361-.02-32.3 0-64.61-.01-96.92-7.06-.01-14.12 0-21.18 0-.08-6.17.03-12.34-.08-18.5zm535.206.05c7.607-.16 15.224-.06 22.83-.06-.09 25.501.172 51.01-.13 76.51 10.734-12.889 21.105-26.08 31.839-38.97 9.816.08 19.622-.03 29.439.06-12.339 14.3-24.506 28.74-36.844 43.03 13.428 15.98 26.916 31.91 40.375 47.88-9.898-.01-19.784 0-29.681-.01a28313.007 28313.007 0 0 0-35.008-42.99c.02 14.29-.01 28.57.02 42.86-7.576.29-15.173.07-22.76.12-.08-42.81.081-85.62-.08-128.43zm-359.887 11.81c7.611.05 15.231-.18 22.841.11-.16 8.53-.05 17.06-.06 25.58 9.48.02 18.97-.009 28.46.02-.03 5.87-.03 11.74-.01 17.61-9.49.04-18.98 0-28.47.02.05 16.09-.07 32.19.06 48.28-.08 4.02 2.87 7.8 6.86 8.52 6.67 1.39 13.36-.93 19.81-2.41-.07 5.77-.05 11.53-.011 17.3a72.497 72.497 0 0 1-26.859 3.76c-6.021-.39-12.33-2.21-16.58-6.7-4.47-4.61-6.01-11.27-6.02-17.51-.01-17.079.01-34.16-.01-51.24-4.18-.009-8.36.011-12.53-.02 0-5.81-.03-11.62.02-17.44 4.17 0 8.349 0 12.53-.01-.03-8.63.02-17.249-.03-25.87zm-93.4 32.47c10.68-8.83 25.611-10.97 38.91-8.21 9.32 1.82 17.92 7.52 22.64 15.84 6.37 10.76 6.201 23.79 4.82 35.82-19.459.02-38.92-.03-58.369.03.29 6.44 1.56 13.46 6.45 18.1 5.71 5.41 14.04 6.27 21.55 6.32 9.65.23 19.09-2.33 28.11-5.54-.01 6.28 0 12.56 0 18.84-14.54 4.51-30.08 6.5-45.21 4.34-9.97-1.5-19.89-6.06-26.05-14.26-7.42-9.68-9.37-22.32-9.25-34.21.14-13.85 5.47-28.16 16.4-37.07zm14.811 12.87c-4.2 4.08-5.83 9.94-6.68 15.55 11.8.08 23.6.01 35.4.04-.18-6.47-1.2-14.04-6.86-18.12-6.65-4.32-16.3-3.05-21.86 2.53zm170.06-11.52c8.569-6.66 19.19-10.9 30.15-10.67 10.46-.16 21.1 4.42 27.369 12.96 8.3 11.19 9.76 25.93 8.561 39.41-1.261 14.51-8.321 29.24-21.24 36.74-13.13 7.94-29.32 7.37-43.84 4.35-.01 16.03-.01 32.07 0 48.1-7.56.01-15.12 0-22.68.01.03-46.43-.04-92.85.04-139.27 7.2.11 14.41.08 21.61.01.03 2.78.049 5.57.03 8.36zm.99 17.91c-.05 15.72.12 31.45-.09 47.17 5.95 1.46 12.119 1.98 18.23 1.87 7-.13 14.28-3.06 18.28-9.01 5.06-7.329 5.8-16.63 5.49-25.27-.32-6.6-1.25-13.68-5.52-18.98-3.36-4.25-8.99-5.94-14.23-5.67-8.35.28-15.9 4.66-22.16 9.89zm83.38-22.6c11.48-3.94 23.63-6 35.769-5.97 9.17.13 19.08 1.86 26.01 8.35 6.78 6.37 8.91 16.07 9.11 25.04.04 20.02.01 40.05.01 60.07-7.02.04-14.04 0-21.05.03-.24-3.43-.16-6.87-.16-10.3-8.31 6.47-18.11 11.83-28.9 11.91-8.77.58-17.77-3.76-22.33-11.35-4.68-7.84-4.92-17.92-1.64-26.32 3.2-7.92 10.961-12.87 18.89-15.17 10.58-3.04 21.67-3.53 32.49-5.34-.04-4.82.14-10.2-2.98-14.21-2.9-3.78-8.03-4.52-12.47-4.64-10.59.06-20.96 2.7-30.95 5.99-.38-6.05-1.16-12.07-1.8-18.09zm28.88 48.07c-4.591.65-9.041 3.73-10.22 8.37-1.84 5.98.65 14.26 7.55 15.4 8.13.99 15.56-3.67 21.989-8.07-.09-6.25-.03-12.49-.04-18.73-6.42 1.08-12.87 1.94-19.28 3.03zm75.628-43.94c9.856-7.9 22.91-10.53 35.29-10.08 7.879.12 15.617 1.9 23.082 4.35.02 6.43-.01 12.86.02 19.28-10.754-3.83-22.558-6.81-33.908-4.12-8.08 1.91-14.174 8.91-15.859 16.9-1.907 8.81-1.715 18.34 1.513 26.83 2.442 6.53 8.313 11.52 15.123 12.99 11.552 2.62 23.477-.42 34.281-4.6-.02 6.29-.01 12.59 0 18.891-14.76 5.21-31.062 7.08-46.306 2.93-8.99-2.39-17.312-7.87-22.236-15.87-6.529-10.401-7.808-23.18-6.999-35.19.92-12.26 6.152-24.62 15.999-32.31z",style:{fill:"#000",fillRule:"evenodd"}}))},algolia:{name:"Algolia",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: Algolia; 3: bold close tag. */ (0,a.__)("Improve your internal search results with %1$s%2$s%3$s","wordpress-seo"),"<strong>","Algolia","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-algolia",logoLink:"https://yoa.st/integrations-logo-algolia",slug:"algolia",description:(0,a.sprintf)(/* translators: 1: Algolia, 2: Yoast SEO */ (0,a.__)("Connect your %1$s account to improve your site’s search results using %2$s data.","wordpress-seo"),"Algolia","Yoast SEO"),isPremium:!0,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",width:150,height:40,viewBox:"100 100 525 160"},e),V||(V=x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("path",{fill:"#5468FF",d:"M135.8 120.999h88.4c8.7 0 15.8 7.065 15.8 15.8v88.405c0 8.7-7.065 15.795-15.8 15.795h-88.4c-8.7 0-15.8-7.06-15.8-15.795v-88.445c0-8.695 7.06-15.76 15.8-15.76"}),x.createElement("path",{fill:"#FFF",d:"M192.505 147.788v-4.115a5.209 5.209 0 0 0-5.21-5.205H175.15a5.209 5.209 0 0 0-5.21 5.205v4.225c0 .47.435.8.91.69a37.966 37.966 0 0 1 10.57-1.49c3.465 0 6.895.47 10.21 1.38.44.11.875-.215.875-.69m-33.285 5.385-2.075-2.075a5.206 5.206 0 0 0-7.365 0l-2.48 2.475a5.185 5.185 0 0 0 0 7.355l2.04 2.04c.33.325.805.25 1.095-.075a39.876 39.876 0 0 1 3.975-4.66 37.68 37.68 0 0 1 4.7-4c.364-.22.4-.73.11-1.06m22.164 13.065v17.8c0 .51.55.875 1.02.62l15.825-8.19c.36-.18.47-.62.29-.98-3.28-5.755-9.37-9.685-16.405-9.94-.365 0-.73.29-.73.69m0 42.88c-13.195 0-23.915-10.705-23.915-23.88 0-13.175 10.72-23.875 23.915-23.875 13.2 0 23.916 10.7 23.916 23.875s-10.68 23.88-23.916 23.88m0-57.8c-18.74 0-33.94 15.18-33.94 33.92 0 18.745 15.2 33.89 33.94 33.89s33.94-15.18 33.94-33.925c0-18.745-15.165-33.885-33.94-33.885"}),x.createElement("path",{fill:"#5468FF",d:"M359.214 216.177c-23.365.11-23.365-18.855-23.365-21.875l-.04-71.045 14.254-2.26v70.61c0 1.715 0 12.56 9.15 12.595v11.975zm-57.78-11.61c4.374 0 7.62-.255 9.88-.69v-14.485a29.196 29.196 0 0 0-3.43-.695 33.742 33.742 0 0 0-4.956-.365c-1.57 0-3.175.11-4.775.365-1.605.22-3.065.655-4.34 1.275-1.275.62-2.335 1.495-3.1 2.62-.8 1.13-1.165 1.785-1.165 3.495 0 3.345 1.165 5.28 3.28 6.55 2.115 1.275 4.995 1.93 8.606 1.93zm-1.24-51.685c4.7 0 8.674.585 11.884 1.75 3.206 1.165 5.796 2.8 7.69 4.875 1.935 2.11 3.245 4.915 4.046 7.9.84 2.985 1.24 6.26 1.24 9.86v36.62c-2.185.47-5.506 1.015-9.95 1.67-4.446.655-9.44.985-14.986.985-3.68 0-7.07-.365-10.095-1.055-3.065-.69-5.65-1.82-7.84-3.385-2.15-1.565-3.825-3.57-5.065-6.04-1.205-2.48-1.825-5.97-1.825-9.61 0-3.495.69-5.715 2.045-8.12 1.38-2.4 3.24-4.365 5.575-5.895 2.37-1.53 5.065-2.62 8.165-3.275 3.1-.655 6.345-.985 9.695-.985 1.57 0 3.21.11 4.96.29 1.715.185 3.575.515 5.545.985v-2.33c0-1.635-.185-3.2-.585-4.655a10.012 10.012 0 0 0-2.045-3.895c-.985-1.13-2.255-2.005-3.86-2.62-1.605-.62-3.65-1.095-6.09-1.095-3.28 0-6.27.4-9.005.875-2.735.47-4.995 1.02-6.71 1.635l-1.71-11.68c1.785-.62 4.445-1.24 7.875-1.855 3.425-.66 7.11-.95 11.045-.95zm281.51 51.285c4.375 0 7.615-.255 9.875-.695v-14.48c-.8-.22-1.93-.475-3.425-.695a33.813 33.813 0 0 0-4.96-.365c-1.565 0-3.17.11-4.775.365-1.6.22-3.06.655-4.335 1.275-1.28.62-2.335 1.495-3.1 2.62-.805 1.13-1.165 1.785-1.165 3.495 0 3.345 1.165 5.28 3.28 6.55 2.15 1.31 4.995 1.93 8.605 1.93zm-1.205-51.645c4.7 0 8.674.58 11.884 1.745 3.205 1.165 5.795 2.8 7.69 4.875 1.895 2.075 3.245 4.915 4.045 7.9.84 2.985 1.24 6.26 1.24 9.865v36.615c-2.185.47-5.505 1.015-9.95 1.675-4.445.655-9.44.98-14.985.98-3.68 0-7.07-.365-10.094-1.055-3.065-.69-5.65-1.82-7.84-3.385-2.15-1.565-3.825-3.57-5.065-6.04-1.205-2.475-1.825-5.97-1.825-9.61 0-3.495.695-5.715 2.045-8.12 1.38-2.4 3.24-4.365 5.575-5.895 2.37-1.525 5.065-2.62 8.165-3.275 3.1-.655 6.345-.98 9.7-.98 1.565 0 3.205.11 4.955.29s3.575.51 5.54.985v-2.33c0-1.64-.18-3.205-.58-4.66a9.977 9.977 0 0 0-2.045-3.895c-.985-1.13-2.255-2.005-3.86-2.62-1.606-.62-3.65-1.09-6.09-1.09-3.28 0-6.27.4-9.005.87-2.735.475-4.995 1.02-6.71 1.64l-1.71-11.685c1.785-.62 4.445-1.235 7.875-1.855 3.425-.62 7.105-.945 11.045-.945zm-42.8-6.77c4.774 0 8.68-3.86 8.68-8.63 0-4.765-3.866-8.625-8.68-8.625-4.81 0-8.675 3.86-8.675 8.625 0 4.77 3.9 8.63 8.675 8.63zm7.18 70.425h-14.326v-61.44l14.325-2.255v63.695zm-25.116 0c-23.365.11-23.365-18.855-23.365-21.875l-.04-71.045 14.255-2.26v70.61c0 1.715 0 12.56 9.15 12.595v11.975zm-46.335-31.445c0-6.155-1.35-11.285-3.974-14.85-2.625-3.605-6.305-5.385-11.01-5.385-4.7 0-8.386 1.78-11.006 5.385-2.625 3.6-3.904 8.695-3.904 14.85 0 6.225 1.315 10.405 3.94 14.01 2.625 3.64 6.305 5.425 11.01 5.425 4.7 0 8.385-1.82 11.01-5.425 2.624-3.64 3.934-7.785 3.934-14.01zm14.58-.035c0 4.805-.69 8.44-2.114 12.41-1.42 3.965-3.425 7.35-6.01 10.155-2.59 2.8-5.69 4.985-9.336 6.515-3.644 1.525-9.26 2.4-12.065 2.4-2.81-.035-8.385-.835-11.995-2.4-3.61-1.565-6.71-3.715-9.295-6.515-2.59-2.805-4.594-6.19-6.054-10.155-1.456-3.97-2.185-7.605-2.185-12.41s.654-9.43 2.114-13.36c1.46-3.93 3.5-7.28 6.125-10.08 2.625-2.805 5.76-4.955 9.33-6.48 3.61-1.53 7.585-2.255 11.885-2.255 4.305 0 8.275.76 11.92 2.255 3.65 1.525 6.786 3.675 9.336 6.48 2.584 2.8 4.59 6.15 6.05 10.08 1.53 3.93 2.295 8.555 2.295 13.36zm-107.284 0c0 5.965 1.31 12.59 3.935 15.355 2.625 2.77 6.014 4.15 10.175 4.15 2.26 0 4.41-.325 6.414-.945 2.005-.62 3.606-1.35 4.886-2.22v-35.34c-1.02-.22-5.286-1.095-9.41-1.2-5.175-.15-9.11 1.965-11.88 5.345-2.736 3.39-4.12 9.32-4.12 14.855zm39.625 28.095c0 9.72-2.48 16.815-7.476 21.33-4.99 4.51-12.61 6.77-22.89 6.77-3.755 0-11.555-.73-17.79-2.11l2.295-11.285c5.215 1.09 12.105 1.385 15.715 1.385 5.72 0 9.805-1.165 12.245-3.495 2.445-2.33 3.645-5.785 3.645-10.375v-2.33c-1.42.69-3.28 1.385-5.575 2.115-2.295.69-4.955 1.055-7.95 1.055-3.935 0-7.51-.62-10.75-1.86-3.245-1.235-6.055-3.055-8.35-5.46-2.295-2.4-4.12-5.42-5.395-9.025-1.275-3.605-1.935-10.045-1.935-14.775 0-4.44.695-10.01 2.046-13.725 1.384-3.71 3.35-6.915 6.014-9.57 2.626-2.655 5.835-4.695 9.59-6.19 3.755-1.49 8.16-2.435 12.935-2.435 4.635 0 8.9.58 13.055 1.275 4.155.69 7.69 1.415 10.57 2.215v56.49z"})))),upsellLink:"https://yoa.st/get-algolia-integration"},woocommerce:{name:"WooCommerce",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: WooCommerce; 3: bold close tag. */ (0,a.__)("Upgrade your %1$s%2$s%3$s SEO","wordpress-seo"),"<strong>","WooCommerce","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-woocommerce",logoLink:"https://yoa.st/integrations-logo-woocommerce",slug:"woocommerce",description:(0,a.__)("Improve your technical SEO, meta tags and unlock more SEO ecommerce tools.","wordpress-seo"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:ee,upsellLink:"https://yoa.st/integrations-get-woocommerce"},acf:{name:"ACF",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: ACF; 3: bold close tag. */ (0,a.__)("Integrate your custom fields and SEO data from %1$s%2$s%3$s","wordpress-seo"),"<strong>","ACF","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-acf",logoLink:"https://yoa.st/integrations-logo-acf",slug:"acf",description:(0,a.sprintf)(/* translators: 1: ACF */ (0,a.__)("Use %s fields to power your meta tags and templates, and analyze all of your content.","wordpress-seo"),"ACF"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0}},ce=[(0,d.jsx)(ne,{integration:le.elementor,isActive:g(le.elementor)},0),(0,d.jsx)(ne,{integration:le.jetpack,isActive:g(le.jetpack)},1),(0,d.jsx)(ie,{integration:le.algolia,toggleLabel:(0,a.__)("Enable integration","wordpress-seo"),initialActivationState:g(le.algolia),isNetworkControlEnabled:y(le.algolia),isMultisiteAvailable:u(le.algolia),beforeToggle:f,isPrerequisiteActive:Boolean(window.wpseoIntegrationsData.algolia_active)},2),(0,d.jsx)(se,{integration:le.woocommerce,isActive:Boolean(window.wpseoIntegrationsData.woocommerce_seo_active),isInstalled:Boolean(window.wpseoIntegrationsData.woocommerce_seo_installed),isPrerequisiteActive:Boolean(window.wpseoIntegrationsData.woocommerce_active),upsellLink:window.wpseoIntegrationsData.woocommerce_seo_upsell_url,activationLink:window.wpseoIntegrationsData.woocommerce_seo_activate_url},3),(0,d.jsx)(re,{integration:le.acf,isActive:Boolean(window.wpseoIntegrationsData.acf_seo_active),isInstalled:Boolean(window.wpseoIntegrationsData.acf_seo_installed),isPrerequisiteActive:Boolean(window.wpseoIntegrationsData.acf_active),installationLink:window.wpseoIntegrationsData.acf_seo_install_url,activationLink:window.wpseoIntegrationsData.acf_seo_activate_url},4)];var de,pe,he,me,ge,ye;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},ue.apply(null,arguments)}function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},we.apply(null,arguments)}function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},ve.apply(null,arguments)}x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));i().string.isRequired;x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));i().string.isRequired,i().string.isRequired,i().shape({src:i().string.isRequired,width:i().string,height:i().string}).isRequired,i().shape({value:i().bool.isRequired,status:i().string.isRequired,set:i().func.isRequired}).isRequired,i().string,i().string,i().string;const fe=({handleRefreshClick:e,supportLink:t})=>(0,d.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,d.jsx)(r.Button,{onClick:e,children:(0,a.__)("Refresh this page","wordpress-seo")}),(0,d.jsx)(r.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,a.__)("Contact support","wordpress-seo")})]});fe.propTypes={handleRefreshClick:i().func.isRequired,supportLink:i().string.isRequired};const xe=({handleRefreshClick:e,supportLink:t})=>(0,d.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,d.jsx)(r.Button,{className:"yst-order-last",onClick:e,children:(0,a.__)("Refresh this page","wordpress-seo")}),(0,d.jsx)(r.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,a.__)("Contact support","wordpress-seo")})]});xe.propTypes={handleRefreshClick:i().func.isRequired,supportLink:i().string.isRequired};const _e=({error:e,children:t=null})=>(0,d.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,d.jsx)(r.Title,{children:(0,a.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,d.jsx)("p",{children:(0,a.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,d.jsx)(r.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,a.__)("Undefined error message.","wordpress-seo")}),(0,d.jsx)("p",{children:(0,a.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});_e.propTypes={error:i().object.isRequired,children:i().node},_e.VerticalButtons=xe,_e.HorizontalButtons=fe;i().string,i().node.isRequired,i().node.isRequired,i().node,i().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const be=window.ReactDOM;var je,ke,Ee;(ke=je||(je={})).Pop="POP",ke.Push="PUSH",ke.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Ee||(Ee={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const Me=["post","put","patch","delete"],Pe=(new Set(Me),["get",...Me]);new Set(Pe),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),x.Component,x.startTransition,new Promise((()=>{})),x.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var ze,Se,Ne,Te;new Map,x.startTransition,be.flushSync,x.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(Te=ze||(ze={})).UseScrollRestoration="useScrollRestoration",Te.UseSubmit="useSubmit",Te.UseSubmitFetcher="useSubmitFetcher",Te.UseFetcher="useFetcher",Te.useViewTransitionState="useViewTransitionState",(Ne=Se||(Se={})).UseFetcher="useFetcher",Ne.UseFetchers="useFetchers",Ne.UseScrollRestoration="useScrollRestoration",i().string.isRequired,i().string;const Re=({href:e,children:t=null,...s})=>(0,d.jsxs)(r.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")})]});Re.propTypes={href:i().string.isRequired,children:i().node};x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),(0,a.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,a.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,a.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,a.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,a.__)("Add product details to help your listings stand out","wordpress-seo"),(0,a.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,a.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,a.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,a.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,a.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,a.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,a.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,a.__)("Internal links and redirect management, easy","wordpress-seo"),(0,a.__)("Access to friendly help when you need it, day or night","wordpress-seo");var Ce=s(4184),Le=s.n(Ce);i().string.isRequired,i().object.isRequired,i().func.isRequired,x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),i().string.isRequired,i().object,i().func.isRequired,i().bool.isRequired,i().string.isRequired,i().object.isRequired,i().string.isRequired,i().func.isRequired,i().bool.isRequired;const Ze=x.forwardRef((function(e,t){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),Ae=({isOpen:t,onClose:s=e.noop,onDiscard:o=e.noop,title:n,description:i,dismissLabel:l,discardLabel:c})=>{const p=(0,r.useSvgAria)();return(0,d.jsx)(r.Modal,{isOpen:t,onClose:s,children:(0,d.jsxs)(r.Modal.Panel,{closeButtonScreenReaderText:(0,a.__)("Close","wordpress-seo"),children:[(0,d.jsxs)("div",{className:"sm:yst-flex sm:yst-items-start",children:[(0,d.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10",children:(0,d.jsx)(Ze,{className:"yst-h-6 yst-w-6 yst-text-red-600",...p})}),(0,d.jsxs)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ms-4 sm:yst-text-start",children:[(0,d.jsx)(r.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:n}),(0,d.jsx)(r.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:i})]})]}),(0,d.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:[(0,d.jsx)(r.Button,{type:"button",variant:"error",onClick:o,className:"yst-block",children:c}),(0,d.jsx)(r.Button,{type:"button",variant:"secondary",onClick:s,className:"yst-block",children:l})]})]})})};Ae.propTypes={isOpen:i().bool.isRequired,onClose:i().func,onDiscard:i().func,title:i().string.isRequired,description:i().string.isRequired,dismissLabel:i().string.isRequired,discardLabel:i().string.isRequired};window.yoast.reactHelmet;var Oe,qe,Ve,Ie,$e,Be,Fe,De,He,Ue,Ge,Ye,We,Ke,Je,Xe,Qe,et,tt,st,ot,rt,at,nt,it,lt,ct,dt,pt,ht,mt,gt,yt,ut,wt,vt,ft,xt,_t,bt,jt,kt,Et,Mt,Pt,zt,St,Nt,Tt,Rt,Ct,Lt,Zt,At,Ot,qt,Vt,It,$t,Bt,Ft,Dt,Ht,Ut,Gt,Yt,Wt,Kt,Jt;function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Xt.apply(null,arguments)}i().string.isRequired,i().shape({src:i().string.isRequired,width:i().string,height:i().string}).isRequired,i().shape({value:i().bool.isRequired,status:i().string.isRequired,set:i().func.isRequired}).isRequired,i().bool;const Qt=e=>x.createElement("svg",Xt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",viewBox:"0 0 252 60"},e),Oe||(Oe=x.createElement("linearGradient",{id:"yoast-connect-google-site-kit_svg__a"},x.createElement("stop",{offset:0,stopColor:"#570732"}),x.createElement("stop",{offset:.04,stopColor:"#610b39"}),x.createElement("stop",{offset:.15,stopColor:"#79164b"}),x.createElement("stop",{offset:.29,stopColor:"#8c1e59"}),x.createElement("stop",{offset:.44,stopColor:"#9a2463"}),x.createElement("stop",{offset:.63,stopColor:"#a22768"}),x.createElement("stop",{offset:1,stopColor:"#a4286a"}))),qe||(qe=x.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__b",x1:49.556,x2:49.556,y1:36.267,y2:23.152,gradientUnits:"userSpaceOnUse"})),Ve||(Ve=x.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__c",x1:82.801,x2:82.801,y1:38.819,y2:20.113,gradientUnits:"userSpaceOnUse"})),Ie||(Ie=x.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__d",x1:62.504,x2:62.504,y1:36.222,y2:23.113,gradientUnits:"userSpaceOnUse"})),$e||($e=x.createElement("linearGradient",{xlinkHref:"#yoast-connect-google-site-kit_svg__a",id:"yoast-connect-google-site-kit_svg__e",x1:73.951,x2:73.951,y1:36.276,y2:23.046,gradientUnits:"userSpaceOnUse"})),Be||(Be=x.createElement("linearGradient",{id:"yoast-connect-google-site-kit_svg__f",x1:25.237,x2:25.237,y1:16.169,y2:36.914,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:0,stopColor:"#77b227"}),x.createElement("stop",{offset:.47,stopColor:"#75b027"}),x.createElement("stop",{offset:.64,stopColor:"#6eab27"}),x.createElement("stop",{offset:.75,stopColor:"#63a027"}),x.createElement("stop",{offset:.85,stopColor:"#529228"}),x.createElement("stop",{offset:.93,stopColor:"#3c8028"}),x.createElement("stop",{offset:1,stopColor:"#246b29"}))),Fe||(Fe=x.createElement("clipPath",{id:"yoast-connect-google-site-kit_svg__g"},x.createElement("path",{d:"M169.334 22h14.973v15.909h-14.973z"}))),De||(De=x.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__b)",fillRule:"evenodd",d:"M36.765 29.643c0-3.42 1.83-6.49 6.405-6.49 4.402 0 6.375 2.8 6.386 6.698.008 3.2-1.785 6.416-6.386 6.416-4.602 0-6.405-3.072-6.405-6.624zm8.432-2.74c-1.174-1.64-4.688-1.64-4.8 2.932.046 2.582 1.245 3.614 2.773 3.63 3.316.039 3.092-5.067 2.027-6.562z",clipRule:"evenodd"})),He||(He=x.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__c)",d:"M80.278 33.094v-6.631h2.368v-2.874h-2.368v-3.476h-3.66v3.476h-1.856v2.876h1.857v6.258c0 3.553 2.477 5.665 5.092 6.102l1.092-2.948c-1.524-.194-2.51-1.333-2.525-2.783z"})),Ue||(Ue=x.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__d)",fillRule:"evenodd",d:"M61.81 27.062v4.981c0 .7.196 1.67.426 2.803.088.436.182.897.27 1.376h-3.523l-.611-1.472c-4.118 2.994-8.053.974-8.053-2.168 0-4.131 4.01-4.632 7.777-4.632l.003-.249c.01-.465.02-.985-.24-1.336v-.007l-.034-.04-.011-.013c-.602-.675-2.327-1.028-5.21.341l-1.283-2.575c4.428-1.546 10.143-1.555 10.46 2.47.019.174.028.347.03.52zm-6.52 3.81c-2.718 1.331-.064 4.384 2.835 1.14v-1.425c-.949 0-2.035.012-2.835.284z",clipRule:"evenodd"})),Ge||(Ge=x.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__e)",d:"M67.439 26.794c0-1.227 1.966-1.8 5.064-.386l1.072-2.605c-4.17-1.262-9.866-1.371-9.904 2.991-.017 2.091 1.324 3.216 3.255 3.934 1.337.497 3.268.754 3.262 1.82-.007 1.391-3 1.604-5.725-.268l-1.101 2.823c3.716 1.85 10.627 1.902 10.59-2.734-.03-4.583-6.513-3.798-6.513-5.575z"})),Ye||(Ye=x.createElement("path",{fill:"url(#yoast-connect-google-site-kit_svg__f)",d:"m35.218 16.875-5.305 14.734-2.54-7.956h-3.779l4.23 10.866a3.956 3.956 0 0 1 0 2.877c-.474 1.213-1.26 2.25-3.177 2.508v3.221c3.734 0 5.753-2.295 7.554-7.326l7.06-18.924z"})),We||(We=x.createElement("path",{fill:"#f0ecf0",d:"M124.088 57.357c15.427 0 27.934-12.506 27.934-27.933S139.515 1.49 124.088 1.49 96.155 13.997 96.155 29.424s12.506 27.933 27.933 27.933z"})),Ke||(Ke=x.createElement("path",{fill:"#9e005d",d:"M122.68 23.422c5.075-5.662 3.282-.196 13.081-2.26 2.792-.587 7.802-1.905 9.067.833 1.427 3.092 4.014 3.471 3.211 5.47-1.412 3.512-6.46 4.52-7.887.556-1.819-1.232-8.98 2.24-11.167 2.775-.813.198-.868-2.038-1.675-2.168-.529-.085-.462-.17-.939-.575-4.613-3.918-4.904-3.277-5.22-4.126.482-.115.95-.396 1.531-.503z"})),Je||(Je=x.createElement("path",{fill:"#6c2548",d:"M145.465 25.27c-1.744-.556-3.859.788-3.015 2.668.204.456 1.233 2.392 1.665 2.536 1.633.552 5.651-2.227 1.35-5.204z"})),Xe||(Xe=x.createElement("path",{fill:"#ffc399",d:"M145.972 26.652c-.452-.226-2.526.313-2.3 1.188.281 1.084.758 1.655 1.395 1.998 1.627.875 1.365 2.531 3.684 2.5 1.12-.015 4.022-1.557 4.118-.456.157 1.823.464 3.564.792 3.17.792-.951 1.109-1.03 1.188-4.2.021-.887-2.14-1.506-3.013-2.854-.473-.733-2.932-.714-5.866-1.348z"})),Qe||(Qe=x.createElement("path",{fill:"#be1e2d",d:"M109.348 16.345c-2.102-1.797-8.454 4.23-7.974 6.137.479-.51 1.186-1.505 1.973-1.316-2.719 1.838-3.191 6.484-1.784 9.259.158-.735.439-1.525.897-2.123-.778 3.037.466 8.256 4.271 10.873-.26-1.915-1.201-5.028.477-6.267 2.485-1.836 5.651-2.398 7.153-5.43 3.716-7.506-7.675-12.913-5.013-11.135z"})),et||(et=x.createElement("path",{fill:"#9e005d",d:"M111.503 27.227c-1.65.136-7.152 11.633.475 20.362 1.067 1.222 2.372 3.568 3.92 3.78 3.256.442 11.848-1.813 15.059-3.189 12.146-5.202 1.267-10.842-.308-16.792-1.421-5.366-1.725-8.762-7.928-8.997-2.92-.11-11.15 1.768-11.95 5.058-.224.108-.109-.08.732-.224z"})),tt||(tt=x.createElement("path",{fill:"#6c2548",d:"M123.196 23.817c3.828 1.233 6.256 5.375 7.755 8.771-1.38-4.316-2.059-8.262-7.932-8.95-.013-.072.419-.694.177.18z"})),st||(st=x.createElement("path",{fill:"#6c2548",d:"M127.718 23.362c1.071.893 1.961 2.794 2.438 3.984.522 1.306.088 3.329.571 4.638-1.292-3.232-1.307-5.14-3.007-8.622z"})),ot||(ot=x.createElement("path",{fill:"#ffc399",d:"M125.772 33.468c-1.058.375-2.898.677-4.103 1.248-2.187 1.037-4.936-1.725-7.313-1.188-.858.194-3.845-.873-4.082-1.942-.293-1.325-.745-1.352-.078-2.22 2.619-3.402 2.815-1.566 2.932-6.896.019-.886-.2-1.312.079-2.061.279-.75.21.017 1.09-.143.879-.16 2.996-1.05 3.869-.652 1.533.699.513 3.972 1.61 5.107 1.139 1.177 3.841-.028 4.989 1.128 1.439 1.45 1.324 6.848 1.005 7.621z"})),rt||(rt=x.createElement("path",{fill:"#e57c57",d:"M123.021 27.88c.285-.57.221-1.564-.026-2.586-1.175-.034-2.504.164-3.217-.575-.65-.671-.558-2.085-.692-3.277a3.502 3.502 0 0 1-.607-.122c-1.263-.372-2.67-.835-4.069-1.077-.039.008-.077.017-.111.023-.405.075-.605-.057-.733-.143l-.213-.017c-.04.05-.085.141-.144.303-.271.728-.073 1.156-.079 1.995 1.386 3.614 6.644 11.98 9.895 5.477z"})),at||(at=x.createElement("path",{fill:"#f1f2f2",d:"M116.06 33.648c7.293 3.488 11.969 5.47 13.635 9.989-1.031-4.757-.893-8.622-4.459-15.161.675 7.425-8.761 5.37-9.176 5.172z"})),nt||(nt=x.createElement("path",{fill:"#6c2548",d:"M129.697 43.002c.157-3.884-1.057-18.564-4.44-20.057-1.056-.466-10.726 1.174-7.768 1.348 4.625.27 7.293 2.775 7.928 4.28.792 1.11 3.081 8.599 4.28 14.427z"})),it||(it=x.createElement("path",{fill:"#9e005d",d:"M129.616 43.001c.157-3.884-1.93-18.723-5.311-20.214-1.056-.467-9.776 1.333-6.819 1.505 4.626.27 7.294 2.775 7.928 4.28.792 1.11 3.003 8.599 4.202 14.427z"})),lt||(lt=x.createElement("path",{fill:"#ffc399",d:"M126.288 12.877c.555 2.457-.397 1.902.078 3.488.375 1.25.729 2.066.635 3.488-.241 3.656-2.983 6.876-3.086 6.978-1.45 1.45-3.132 1.295-5.476.077-4.364-2.266-6.898-4.994-7.532-11.823-.471-5.072 3.763-8.847 9.014-8.313 3.249.332 5.449 2.04 6.367 6.103z"})),ct||(ct=x.createElement("path",{fill:"#be1e2d",d:"M114.461 9.389c3.944-.179 3.02 1.925 6.539 2.973 2.794.832 5.707-1.012 5.173 3.745-.475 4.212 9.401-4.116 1.46-7.591-1.269-.556-1.137-1.414-2.378-3.013-2.598-3.343-11.337-7.055-15.061-.873-.944 1.567 2.657 4.101 4.265 4.757z"})),dt||(dt=x.createElement("path",{fill:"#be1e2d",d:"M114.282 9.508c.912 3.597-.161 4.23-.653 5.47-.541 1.364-.803 2.65-1.487 3.925-.992-2.07-2.184-.317-5.276-4.36-5.537-7.24 9.782-16.915 7.416-5.035z"})),pt||(pt=x.createElement("path",{fill:"#ffc399",d:"M112.336 19.497c.617-1.633-4.029-4.43-3.599-1.043.209 1.642 1.516 2.574 2.913 3.152 2.294.945 1.195-1.676.569-3.058l.119.952z"})),ht||(ht=x.createElement("path",{fill:"#be1e2d",d:"M113.168 14.026c.309 1.25-.03 6.814 1.785 8.997-3.152-1.714-2.37-5.13-1.785-8.997z"})),mt||(mt=x.createElement("path",{fill:"#be1e2d",d:"M112.691 15.573c-.728.415-1.441 3.388-.323 5.705.006-.021.483-4.91.323-5.705z"})),gt||(gt=x.createElement("path",{fill:"#9e005d",d:"M117.012 34.121c-2.877-1.74-5.509-2.068-4.725-7.2.867-1.004.747-1.897.807-3.383-1.109.396-4.086 1.948-5.434 2.655-1.985 1.04-4.361 3.41-2.458 5.39.703.73-1.758 1.923.937 6.759 1.506-2.617 2.711-4.855 3.661-4.934 3.33-.079 4.431 1.667 7.372 2.378 7.214 1.744 11.654 6.501 12.525 8.164.036-1.051-1.269-4.914-12.683-9.829z"})),yt||(yt=x.createElement("path",{fill:"#9e005d",d:"M108.45 34.202c-8.258 11.429 2.709 12.432 5.351 22.998.119.48.656 1.17 1.503 1.322 5.051.903 10.884-1.744 15.862-6.92 1.408-1.463.247-4.902-1.546-5.648-2.319-1.546-7.378 4.023-13.006 2.992-.677-1.02-1.505-13.477-8.164-14.744z"})),ut||(ut=x.createElement("path",{fill:"#a0c9cb",d:"m155.213 40.425-.27 9.99-6.399-1.368-.094-9.712z"})),wt||(wt=x.createElement("path",{fill:"#75b0b3",d:"m155.48 50.235-.509.238c.085-11.096-.171-10.3.509-10.166v9.93z"})),vt||(vt=x.createElement("path",{fill:"#66a7ab",d:"M150.965 40.959c2.473.277 3.211 6.54 2.498 9.037-.119-.12-3.567-.833-3.686-.713-1.718-1.964-.992-8.57 1.188-8.324z"})),ft||(ft=x.createElement("path",{fill:"#467d7f",d:"M154.983 40.783s.153-1.902 0-2.02c-.153-.12-6.641-.655-6.641-.655-.776 1.706-.431 1.282 6.641 2.675z"})),xt||(xt=x.createElement("path",{fill:"#67a8ac",d:"m152.371 30.436 2.881 8.443-6.729-1.15-3.307-9.016z"})),_t||(_t=x.createElement("path",{fill:"#55989b",d:"m152.988 32.518.101.02-.716-2.1-7.155-1.725.656 1.786z"})),bt||(bt=x.createElement("path",{fill:"#519093",d:"m148.766 37.79-1.127.713-2.679-8.541 1.25-.893z"})),jt||(jt=x.createElement("path",{fill:"#b1d3d4",d:"m152.794 30.08-.922 1.069-6.552-1.01.869-1.011z"})),kt||(kt=x.createElement("path",{fill:"#a0c9cb",d:"M155.648 39.988c0 1.052-1.046 1.052-1.046 0s1.046-1.052 1.046 0z"})),Et||(Et=x.createElement("path",{fill:"#a0c9cb",d:"M147.639 38.502c1.501-.95.058-.881 7.713.317-1.38 1.189-.053 1.07-7.713-.317z"})),Mt||(Mt=x.createElement("path",{fill:"#75b0b3",d:"m155.354 38.879-1.037.832-2.444-8.681.922-1.07z"})),Pt||(Pt=x.createElement("path",{fill:"#6b1523",d:"M117.374 55.11c1.071-.299.06-1.962.713-4.862-1.972 4.042-1.699 5.134-.713 4.862z"})),zt||(zt=x.createElement("path",{fill:"#6b1523",d:"M119.989 48.095c.059-.594-2.913-8.918-9.097-9.276 3.448.12 10.494 9.176 8.452 9.395-1.853.535-6.076 2.32-4.41 3.925 1.307.773 1.605-3.152 4.627-3.895 4.567.882 7.438-3.94 10.415-1.874-2.809-3.503-5.362 2.14-9.989 1.725z"})),St||(St=x.createElement("path",{fill:"#6c2548",d:"M127.793 46.647c.309-.639 1.427-.396 2.336-1.56.449-.576.948-.203 1.687-.222 1.541-.043 2.544 2.996 1.737 4.15-.445.635-2.745 1.297-3.62 1.518-1.771.445-3.511-3.036-2.14-3.884z"})),Nt||(Nt=x.createElement("path",{fill:"#c44c31",d:"M123.081 15.099c-.993 1.109 1.35 4.64.988 6.262-.284 1.27-1.827.705-2.617-.157.694.027 1.78.445 1.982.078.76-1.384-1.539-4.914-.353-6.183z"})),Tt||(Tt=x.createElement("path",{fill:"#be1e2d",d:"M124.031 23.074c-2.5.504-4.483.504-5.69-.194.579.55 1.976 1.906 3.268 1.887 1.293-.02 1.235-.569 1.355-1.11.076-.206.528-.326 1.064-.586z"})),Rt||(Rt=x.createElement("path",{fill:"#e57c57",d:"M117.389 23.045c0-.616.545-.83 1.075-.93-.441.295-.092.88-.098.904-.481-.272-.62-.174-.977.026z"})),Ct||(Ct=x.createElement("path",{fill:"#35602c",d:"m150.614 40.5-2.973-.396.428 8.839 2.736-.024c2.241-.23 2.479-8.077-.191-8.42z"})),Lt||(Lt=x.createElement("path",{fill:"#569d48",d:"M149.867 44.427c.285 5.88-3.738 6.075-4.023.194-.285-5.88 3.737-6.075 4.023-.194z"})),Zt||(Zt=x.createElement("path",{fill:"#e57c57",d:"M136.434 42.288c5.055-.658 5.866-2.932 6.341-1.11.315.786-1.069 1.442-1.903 1.755-.443.164-1.044-.055-1.551-.104-1.12-.109-1.822.562-2.885.65-.123-.631.296-1.046 0-1.189z"})),At||(At=x.createElement("path",{fill:"#35602c",d:"M139.873 43.184c.168-.905 5.647-1.784 7.051-1.867 1.803-.107 2.161 6.066.475 6.184-2.362.164-4.487.357-6.872-.392-1.388-.435-1.904-.588-1.927-2.106-.017-1.12.749-2.068 1.273-1.819z"})),Ot||(Ot=x.createElement("g",{fill:"#ffc399"},x.createElement("path",{d:"M131.123 45.597c3.759-1.073 7.006-4.783 7.689-4.023 1.091 1.212-.543 2.16-1.06 3.489-.698 1.797 1.054-.037-.403 1.784-.634.792-1.961.179-2.793.179-.556.157-1.863 1.328-2.498 1.486-1.031-.158-2.364-2.042-.937-2.913z"}),x.createElement("path",{d:"M138.898 41.243c3.239.682 4.923-.098 5.189 1.152.181.856 1.606 3.358 1.559 4.323-1.725.462-2.504-2.683-3.13-3.156-.426-.321-2.909.188-3.733.077-.824-.111-1.378-2.191.115-2.396z"}),x.createElement("path",{d:"M141.004 43.042c.573 1.983 2.144 3.145 1.51 3.79-.848.863-1.691 1.404-2.013 1.263-1.976-.87.322-1.169-.004-1.496-.326-.328-1.995-2.12-2.34-2.198.24-.924-.094-1.263-.303-2.212.211.07 2.865.35 3.152.853z"}),x.createElement("path",{d:"M137.707 42.446c.958-.115 1.457 1.48 1.546 1.784.166.567 1.348 1.806 1.427 2.379.179 1.277-1.071 1.188-1.755 1.456-.564.298-1.991-.743-.683-1.576-.935-.019-3.073-1.497-2.694-2.016.241-.004 1.148-2.383 2.157-2.025z"}),x.createElement("path",{d:"M137.599 43.08c.556 1.11 1.03 3.964.873 4.28-.271.544-.865 1.07-1.51 1.34s-1.026-.943-1.978-1.893c.792-.713 1.691-.128 1.665.239-.03.438.079-.318.396-.239-.238-.317-.884-1.365-1.188-1.982-.434-.88.635-2.536 1.744-1.744zM143.91 28.315c.475 1.744-.187 2.5-.238 3.092-.085.99.758 1.205 1.348 1.901.873 1.031.792 2.22 1.505 2.775 1.983-.873.015-3.264-.193-3.786-.158-.396.034-2.875 2.016-3.032-1.348-1.665-3.249-2.22-4.44-.952z"}))),qt||(qt=x.createElement("path",{fill:"#6b1523",d:"M112.653 25.483c-1.903.93-5.883 2.474-6.737 4.518-.599 1.431 5.707 1.11 13.081 5.31-3.805-2.774-9.996-4.01-10.307-4.992-.106-.335 2.715-4.87 3.963-4.836zM105.279 31.507c.839 1.118 2.3 1.11 4.202 1.586-.878-.434-4.779.837-4.361 0 .157-.317-.167-.875.157-1.586z"})),Vt||(Vt=x.createElement("path",{fill:"#f1f2f2",d:"M116.341 17.639c.007-.03.462-.848 2.206-1.014.678-.064 1.896.509 1.795 1.169-1.007.43-1.888.675-4.001-.155z"})),It||(It=x.createElement("path",{fill:"#231f20",d:"M120.347 17.688c-.062-.337-.441-.754-.918-.767-.526-.015-1.035.55-1.044.897-.004.153.086.276.224.37.684.015 1.19-.162 1.733-.394a.422.422 0 0 0 .005-.106z"})),$t||($t=x.createElement("path",{fill:"#231f20",d:"M120.368 17.667c-.102-.768-1.512-1.3-2.404-1.303-1.244 0-1.491 1.171-2.272.735.177.703 1.141.928 1.801.933-2.327-.695 2.14-2.302 2.875-.365z"})),Bt||(Bt=x.createElement("path",{fill:"#f1f2f2",d:"M123.27 17.549c.977.332 2.076-.19 2.44-.741.592-.899-1.629-2.066-2.44.74z"})),Ft||(Ft=x.createElement("path",{fill:"#231f20",d:"M124.226 17.238a.33.33 0 0 0 .122.373c.604-.115 1.132-.452 1.365-.803a.576.576 0 0 0 .093-.245c-.323-.585-1.245-.539-1.58.675z"})),Dt||(Dt=x.createElement("path",{fill:"#231f20",d:"M123.249 17.568c.092-.724.417-1.478 1.329-1.887 1.175-.528 1.537.92 1.938-.268-.147 1.467-.592 1.476-1.523 1.987 1.022-.356.958-1.906-.373-1.403-1.062.402-1.196 1.152-1.369 1.571z"})),Ht||(Ht=x.createElement("path",{fill:"#be1e2d",d:"M126.024 14.621c.517.586-.337-.17-1.304-.06-.321.039-.841.352-1.122.365.554-1.076 1.663-1.17 2.426-.305zM119.708 14.939c-3.103-.776-3.531.176-4.685 1.79 2.238-2.446 3.518-.587 5.132-1.94-.245.024-.473.103-.447.15z"})),Ut||(Ut=x.createElement("path",{fill:"#6b1523",d:"M106.375 37.808c.416-1.427 1.651-3.48 2.315-3.607 4.108-.792 14.097 5.034 17.246 5.866-5.053-1.248-12.544-5.41-17.122-4.876-.586.192-2.081 1.901-2.439 2.617z"})),Gt||(Gt=x.createElement("path",{fill:"#642243",d:"M140.501 28.713c-.421-1.256-1.179-2.587-.805-4.042.379-1.475 2.232-2.05 2.815-3.43-1.65-.713-1.58 1.923-2.468 2.349-.038-.782-.142-1.516-.129-2.324-1.54 2.028-.703 4.913.589 7.45zM127.184 21.222c7.849.713 7.253 7.135 12.485 6.303-5.471 1.426-7.017-6.303-12.485-6.303z"})),Yt||(Yt=x.createElement("path",{fill:"#c44c31",d:"M120.525 19.497c0 .236-.594.236-.594 0s.594-.237.594 0zM118.622 19.852c0 .236-.358.236-.358 0s.358-.236.358 0zM124.39 19.02c0 .316-.474.316-.474 0 0-.315.474-.315.474 0zM125.28 19.972c0 .237-.475.237-.475 0s.475-.236.475 0zM125.638 18.784c0 .236-.474.236-.474 0 0-.237.474-.237.474 0zM120.406 20.685c0 .236-.475.236-.475 0s.475-.236.475 0z"})),Wt||(Wt=x.createElement("path",{fill:"#569d48",d:"M136.975 46.802c-.364-.268-.53-.656-.498-1.16-4.862.762-12.996 10.236-26.102 8.07.919.613 1.743 1.082 2.706 1.382 10.638 1.337 19.676-7.331 23.896-8.292z"})),Kt||(Kt=x.createElement("path",{fill:"#5f6368",d:"M238.632 23.565h2.267v.074l-5.066 5.844 5.405 7.63v.075h-2.151l-4.437-6.357-2.094 2.419v3.94h-1.754V23.564h1.754v7.027h.074zm5.892 1.084c0 .339-.124.637-.364.877s-.529.364-.877.364c-.34 0-.638-.124-.877-.364a1.198 1.198 0 0 1-.365-.877c0-.348.124-.637.365-.878.239-.24.53-.364.877-.364.339 0 .637.124.877.364.248.249.364.538.364.878zm-.355 3.22v9.327h-1.755v-9.328zm5.604 9.477c-.762 0-1.392-.232-1.896-.704-.505-.472-.762-1.126-.77-1.962v-5.215h-1.639v-1.597h1.639v-2.856h1.754v2.856h2.285v1.597h-2.284v4.644c0 .62.124 1.043.364 1.266.24.224.513.332.819.332.141 0 .273-.017.414-.05a2.19 2.19 0 0 0 .373-.124l.554 1.564c-.471.166-1.001.249-1.613.249zm-55.489-.878c-.969-.704-1.631-1.697-1.995-2.972l2.151-.878c.216.803.597 1.448 1.151 1.962.547.505 1.209.761 1.978.761.721 0 1.324-.182 1.829-.554.505-.373.754-.886.754-1.531 0-.596-.224-1.085-.662-1.474-.439-.389-1.209-.778-2.31-1.167l-.91-.323c-.977-.338-1.796-.827-2.459-1.464-.662-.637-.992-1.473-.992-2.515 0-.721.198-1.383.587-1.995.389-.613.935-1.093 1.639-1.458.695-.355 1.482-.538 2.367-.538 1.275 0 2.293.306 3.046.927.761.621 1.266 1.308 1.522 2.087l-2.051.868c-.15-.464-.43-.87-.853-1.217-.421-.356-.96-.53-1.622-.53s-1.224.166-1.68.505c-.455.34-.679.77-.679 1.3 0 .504.207.91.612 1.241.406.323 1.043.638 1.913.935l.911.306c1.249.431 2.209 1.002 2.896 1.698.687.695 1.027 1.63 1.027 2.797 0 .952-.241 1.747-.729 2.383a4.482 4.482 0 0 1-1.862 1.433 5.981 5.981 0 0 1-2.326.463c-1.209 0-2.293-.348-3.253-1.05zm9.924-11.571a1.45 1.45 0 0 1-.439-1.067c0-.423.149-.779.439-1.069a1.444 1.444 0 0 1 1.067-.439c.422 0 .778.15 1.067.44.291.289.439.645.439 1.067 0 .422-.149.778-.438 1.067a1.455 1.455 0 0 1-1.067.44c-.423-.01-.779-.15-1.068-.44zm-.05 1.937h2.234v10.362h-2.234zm7.093 10.304a2.898 2.898 0 0 1-.993-.588c-.579-.579-.878-1.373-.878-2.375v-5.372h-1.812v-1.97h1.812v-2.92h2.235v2.93h2.517v1.97h-2.517v4.874c0 .555.108.952.323 1.176.207.273.555.405 1.06.405.231 0 .43-.033.612-.091.174-.058.364-.157.571-.298v2.177c-.447.207-.985.306-1.622.306a3.735 3.735 0 0 1-1.308-.224zm6.133-.33a4.946 4.946 0 0 1-1.887-1.962c-.455-.836-.679-1.771-.679-2.814 0-.994.224-1.904.662-2.756.439-.845 1.052-1.523 1.838-2.02s1.68-.754 2.682-.754c1.043 0 1.945.232 2.714.688a4.572 4.572 0 0 1 1.747 1.887c.397.803.596 1.697.596 2.707 0 .19-.017.43-.058.711h-7.946c.083.96.423 1.706 1.026 2.227.58.512 1.33.79 2.103.778.637 0 1.192-.141 1.655-.439a3.185 3.185 0 0 0 1.126-1.192l1.887.894c-.488.853-1.126 1.523-1.912 2.011-.786.489-1.73.729-2.823.729-1.018.016-1.927-.215-2.731-.695zm5.397-6.01a2.497 2.497 0 0 0-.348-1.084 2.486 2.486 0 0 0-.927-.902c-.413-.24-.918-.364-1.515-.364-.72 0-1.324.215-1.821.637-.496.422-.836 1.001-1.026 1.714z"})),Jt||(Jt=x.createElement("g",{fillRule:"evenodd",clipPath:"url(#yoast-connect-google-site-kit_svg__g)",clipRule:"evenodd"},x.createElement("path",{fill:"#fbbc05",d:"m170.119 26.56 2.576 1.97a4.563 4.563 0 0 0 0 2.85l-2.576 1.97a7.667 7.667 0 0 1-.785-3.395c0-1.22.283-2.373.785-3.394z"}),x.createElement("path",{fill:"#ea4335",d:"m172.696 28.53-2.577-1.97a7.64 7.64 0 0 1 6.877-4.266c1.95 0 3.691.731 5.049 1.915l-2.229 2.229a4.428 4.428 0 0 0-2.82-1.01 4.518 4.518 0 0 0-4.3 3.103z"}),x.createElement("path",{fill:"#34a853",d:"m170.118 33.347 2.576-1.975a4.514 4.514 0 0 0 4.301 3.11c2.124 0 3.726-1.08 4.109-2.96h-4.109v-2.96h7.139c.104.452.174.94.174 1.392 0 4.875-3.482 7.661-7.313 7.661a7.637 7.637 0 0 1-6.877-4.268z"}),x.createElement("path",{fill:"#4285f4",d:"m181.988 35.707-2.446-1.893c.8-.505 1.357-1.284 1.562-2.293h-4.109v-2.96h7.138c.105.453.175.94.175 1.393 0 2.497-.914 4.446-2.32 5.753z"})))),es=({isOpen:e,onClose:t,onGrantConsent:s=null,learnMoreLink:o=""})=>{const n=(0,r.useSvgAria)();return(0,d.jsx)(r.Modal,{isOpen:e,onClose:t,children:(0,d.jsxs)(r.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl",hasCloseButton:!1,children:[(0,d.jsx)(r.Modal.CloseButton,{className:"yst-bg-transparent yst-text-gray-500 focus:yst-ring-offset-0",onClick:t,screenReaderText:(0,a.__)("Close","wordpress-seo")}),(0,d.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-bg-gradient-to-b yst-from-primary-500/25 yst-to-[80%]",children:(0,d.jsx)(Qt,{className:"yst-aspect-video yst-max-w-[432px] yst-p-7 yst-bg-white yst-rounded-md yst-drop-shadow-md"})}),(0,d.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,d.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,d.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,a.__)("Grant consent to connect with Site Kit by Google","wordpress-seo")}),(0,d.jsxs)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:[(0,a.__)("Give us permission to access your Site Kit data, allowing insights from tools like Google Analytics and Search Console to be displayed directly on your dashboard.","wordpress-seo")," ",(0,d.jsxs)(Re,{className:"yst-no-underline yst-font-medium",variant:"primary",href:o,children:[(0,a.__)("Learn more","wordpress-seo"),(0,d.jsx)(E,{className:"yst-inline yst-h-4 yst-w-4 yst-ms-1 rtl:yst-rotate-180",...n})]})]})]}),(0,d.jsx)("div",{className:"yst-w-full yst-flex yst-mt-10",children:(0,d.jsx)(r.Button,{className:"yst-grow",size:"extra-large",variant:"primary",onClick:s||t,children:(0,a.__)("Grant consent","wordpress-seo")})}),(0,d.jsx)(r.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:t,children:(0,a.__)("Close","wordpress-seo")})]})]})})};es.propTypes={isOpen:i().bool.isRequired,onClose:i().func.isRequired,onGrantConsent:i().func,learnMoreLink:i().string},i().func.isRequired,i().string.isRequired,i().string.isRequired,i().string.isRequired,i().string.isRequired,window.yoast.dashboardFrontend,(0,a.__)("INSTALL","wordpress-seo"),(0,a.__)("ACTIVATE","wordpress-seo"),(0,a.__)("SET UP","wordpress-seo"),(0,a.__)("CONNECT","wordpress-seo");const ts={install:0,activate:1,setup:2,grantConsent:3,successfullyConnected:-1},ss=(e,t)=>[ts.setup,ts.grantConsent,ts.successfullyConnected].includes(e)&&!t,os={name:(0,a.__)("Site Kit by Google","wordpress-seo"),claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get valuable insights with %1$sSite Kit by Google%2$s","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-site-kit",logoLink:"https://yoa.st/integrations-logo-google-site-kit",slug:"google-site-kit",description:(0,a.__)("View traffic and search rankings on your dashboard by connecting your Google account.","wordpress-seo"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",ve({xmlns:"http://www.w3.org/2000/svg",width:124,height:24,fill:"none",viewBox:"0 0 182 36"},e),me||(me=x.createElement("clipPath",{id:"site-kit-logo_svg__a"},x.createElement("path",{d:"M0 0h32.941v35H0z"}))),ge||(ge=x.createElement("path",{fill:"#5f6368",d:"M152.456 3.44h4.989v.165l-11.147 12.856 11.89 16.788v.165h-4.73l-9.762-13.986-4.606 5.32v8.667h-3.861V3.441h3.859V18.9h.164zm12.962 2.387c0 .745-.272 1.4-.799 1.93a2.626 2.626 0 0 1-1.931.8 2.65 2.65 0 0 1-1.93-.8 2.636 2.636 0 0 1-.801-1.93c0-.765.273-1.403.801-1.931a2.622 2.622 0 0 1 1.93-.802c.747 0 1.402.273 1.931.802.545.547.799 1.182.799 1.93zm-.781 7.082v20.523h-3.861V12.909zm12.328 20.851c-1.674 0-3.06-.509-4.17-1.548-1.11-1.038-1.675-2.477-1.693-4.316V16.423h-3.606V12.91h3.606V6.625h3.858v6.284h5.027v3.514h-5.025V26.64c0 1.365.273 2.294.801 2.785.528.493 1.129.729 1.802.729.31 0 .601-.036.911-.11.309-.072.565-.164.82-.273l1.22 3.442c-1.038.365-2.204.547-3.551.547zM54.889 31.829c-2.131-1.549-3.588-3.734-4.389-6.539l4.734-1.93c.475 1.766 1.312 3.185 2.532 4.314 1.202 1.112 2.659 1.675 4.352 1.675 1.584 0 2.913-.4 4.023-1.218 1.111-.821 1.658-1.95 1.658-3.37 0-1.31-.492-2.385-1.456-3.24-.966-.856-2.66-1.712-5.08-2.57l-2.004-.708c-2.15-.746-3.951-1.82-5.41-3.222-1.456-1.403-2.183-3.242-2.183-5.534 0-1.586.437-3.043 1.292-4.39.856-1.347 2.058-2.403 3.606-3.206 1.529-.782 3.26-1.182 5.207-1.182 2.805 0 5.045.673 6.701 2.039 1.675 1.366 2.787 2.877 3.35 4.59l-4.514 1.91c-.328-1.02-.946-1.912-1.875-2.677-.928-.784-2.112-1.166-3.568-1.166-1.457 0-2.695.364-3.697 1.11-1.001.747-1.494 1.694-1.494 2.86 0 1.11.457 2.004 1.347 2.731.893.71 2.295 1.402 4.208 2.058l2.004.673c2.748.947 4.86 2.204 6.37 3.734 1.513 1.529 2.26 3.586 2.26 6.154 0 2.094-.528 3.843-1.602 5.243a9.869 9.869 0 0 1-4.097 3.152 13.16 13.16 0 0 1-5.117 1.02c-2.66 0-5.044-.766-7.156-2.313zM76.722 6.372a3.202 3.202 0 0 1-.965-2.348c0-.93.328-1.713.965-2.35A3.202 3.202 0 0 1 79.07.708c.93 0 1.713.329 2.348.966.64.637.966 1.42.966 2.348 0 .93-.328 1.713-.964 2.348a3.202 3.202 0 0 1-2.348.968c-.93-.02-1.713-.329-2.35-.966zm-.11 4.261h4.916V33.43h-4.916zm15.605 22.67c-.892-.328-1.62-.765-2.184-1.293-1.275-1.275-1.931-3.022-1.931-5.225V14.966h-3.987V10.63h3.987V4.206h4.916v6.447h5.537v4.333h-5.537v10.725c0 1.22.238 2.095.711 2.586.455.6 1.22.892 2.332.892.509 0 .946-.073 1.346-.2.383-.127.802-.346 1.256-.656v4.79c-.983.455-2.167.673-3.568.673a8.228 8.228 0 0 1-2.878-.493zm13.494-.727a10.893 10.893 0 0 1-4.153-4.315c-1.001-1.84-1.492-3.897-1.492-6.19 0-2.188.492-4.19 1.456-6.065.966-1.859 2.314-3.35 4.043-4.443 1.729-1.094 3.696-1.659 5.9-1.659 2.294 0 4.279.51 5.972 1.512a10.059 10.059 0 0 1 3.843 4.152c.873 1.766 1.312 3.734 1.312 5.955 0 .42-.038.946-.128 1.565h-17.482c.182 2.114.93 3.752 2.258 4.898a6.834 6.834 0 0 0 4.626 1.713c1.402 0 2.622-.31 3.642-.965a7.003 7.003 0 0 0 2.476-2.623l4.151 1.967c-1.074 1.876-2.476 3.35-4.205 4.424-1.731 1.076-3.806 1.603-6.21 1.603-2.24.036-4.242-.473-6.009-1.529zm11.872-13.22a5.472 5.472 0 0 0-.765-2.386c-.455-.783-1.128-1.457-2.039-1.984-.91-.529-2.02-.801-3.334-.801-1.583 0-2.911.473-4.005 1.4-1.092.93-1.839 2.204-2.258 3.77z"})),ye||(ye=x.createElement("g",{fillRule:"evenodd",clipPath:"url(#site-kit-logo_svg__a)",clipRule:"evenodd"},x.createElement("path",{fill:"#fbbc05",d:"m1.726 10.032 5.668 4.335a10.001 10.001 0 0 0-.5 3.133c0 1.095.176 2.149.5 3.133l-5.669 4.335A16.87 16.87 0 0 1 0 17.5c0-2.686.62-5.22 1.726-7.468z"}),x.createElement("path",{fill:"#ea4335",d:"m7.395 14.367-5.67-4.335A16.804 16.804 0 0 1 16.855.647c4.29 0 8.12 1.608 11.108 4.213L23.06 9.763a9.743 9.743 0 0 0-6.205-2.222 9.94 9.94 0 0 0-9.46 6.826z"}),x.createElement("path",{fill:"#34a853",d:"m1.724 24.963 5.666-4.344a9.94 9.94 0 0 0 9.464 6.84c4.673 0 8.197-2.375 9.04-6.512h-9.04v-6.511h15.704c.23.995.383 2.068.383 3.064 0 10.725-7.66 16.854-16.087 16.854a16.804 16.804 0 0 1-15.13-9.391z"}),x.createElement("path",{fill:"#4285f4",d:"m27.839 30.155-5.382-4.165c1.76-1.11 2.984-2.823 3.436-5.043h-9.04v-6.511h15.705c.23.995.383 2.068.383 3.064 0 5.493-2.01 9.78-5.102 12.655z"}))))},rs=({children:e,className:t=""})=>(0,d.jsx)("span",{className:Le()("yst-pb-4 yst-border-b yst-mb-6 yst-border-slate-200 yst--mt-2",t),children:e});rs.propTypes={children:i().node.isRequired,className:i().string};const as=()=>(0,d.jsxs)(rs,{className:"yst-text-slate-700 yst-font-medium yst-flex yst-justify-between",children:[(0,a.__)("Successfully connected","wordpress-seo"),(0,d.jsx)(C,{className:"yst-h-5 yst-w-5 yst-text-green-400 yst-flex-shrink-0"})]}),ns=({capabilities:e,currentStep:t,successfullyConnected:s,isVersionSupported:o})=>{const r="yst-text-slate-500 yst-italic";return ss(t,o)?(0,d.jsx)(rs,{className:r,children:(0,a.sprintf)(/* translators: %s for Yoast SEO. */ (0,a.__)("Update Site Kit by Google to the latest version to connect %s.","wordpress-seo"),"Yoast SEO")}):!e.installPlugins&&t<ts.grantConsent&&t!==ts.successfullyConnected?(0,d.jsx)(rs,{className:r,children:(0,a.__)("Please contact your WordPress admin to install, activate, and set up the Site Kit by Google plugin.","wordpress-seo")}):e.viewSearchConsoleData||t!==ts.grantConsent&&t!==ts.successfullyConnected?s&&e.viewSearchConsoleData?(0,d.jsx)(as,{}):void 0:(0,d.jsx)(rs,{className:r,children:(0,a.__)("You don’t have view access to Site Kit by Google. Please contact the admin who set it up.","wordpress-seo")})};ns.propTypes={capabilities:i().objectOf(i().bool).isRequired,currentStep:i().number.isRequired,successfullyConnected:i().bool.isRequired,isVersionSupported:i().bool.isRequired};const is=({installUrl:t,activateUrl:s,setupUrl:o,updateUrl:n,consentManagementUrl:i,capabilities:c,connectionStepsStatuses:p,isVersionSupported:h})=>{const[g,y]=(0,r.useToggleState)(!1),[u,w]=(0,r.useToggleState)(!1),[v,f]=(0,l.useState)(p.isConsentGranted),x=(0,e.values)({...p,isConsentGranted:v}).findIndex((e=>!e)),_=x===ts.successfullyConnected,b=(0,L.useSelect)((e=>e("yoast-seo/settings").selectLink("https://yoa.st/integrations-site-kit-consent-learn-more")),[]),j=(0,l.useCallback)((e=>(async e=>{try{const t=await m()({...e,parse:!1});if(!t.ok)throw new Error("not ok");return t.json()}catch(e){return Promise.reject(e)}})({url:i,data:{consent:String(e)},method:"POST"}).then((({success:t})=>{t&&f(e)}))),[i,f]),k=(0,l.useCallback)((()=>{j(!0).then(y)}),[j,y]),E=(0,l.useCallback)((()=>{j(!1).then(w)}),[j,w]),M=[{children:(0,a.__)("Install Site Kit by Google","wordpress-seo"),href:c.installPlugins?t:null,as:"a",disabled:!c.installPlugins,"aria-disabled":!c.installPlugins},{children:(0,a.__)("Activate Site Kit by Google","wordpress-seo"),href:c.installPlugins?s:null,as:"a",disabled:!c.installPlugins,"aria-disabled":!c.installPlugins},{children:(0,a.__)("Set up Site Kit by Google","wordpress-seo"),href:c.installPlugins?o:null,as:"a",disabled:!c.installPlugins,"aria-disabled":!c.installPlugins},{children:(0,a.__)("Connect Site Kit by Google","wordpress-seo"),onClick:y,disabled:!c.viewSearchConsoleData}],P=(0,l.useCallback)((e=>ss(x,h)?{children:(0,a.__)("Update Site Kit by Google","wordpress-seo"),as:"a",href:n}:e===ts.successfullyConnected?{children:(0,a.__)("Disconnect","wordpress-seo"),variant:"secondary",disabled:!c.viewSearchConsoleData,onClick:w}:M[e]),[c]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Z,{integration:os,isActive:_,children:(0,d.jsxs)("span",{className:"yst-flex yst-flex-col yst-flex-1",children:[(0,d.jsx)(ns,{capabilities:c,currentStep:x,successfullyConnected:_,isVersionSupported:h}),(0,d.jsx)(r.Button,{className:"yst-w-full",id:"site-kit-integration__button",...P(x)})]})}),(0,d.jsx)(Ae,{isOpen:u,onClose:w,onDiscard:E,title:(0,a.__)("Are you sure?","wordpress-seo"),description:(0,a.__)("By disconnecting, you will revoke your consent for Yoast to access your Site Kit data, meaning we can no longer show insights from Site Kit by Google on your dashboard. Do you want to proceed?","wordpress-seo"),dismissLabel:(0,a.__)("No, stay connected","wordpress-seo"),discardLabel:(0,a.__)("Yes, disconnect","wordpress-seo")}),(0,d.jsx)(es,{isOpen:g,onClose:y,onGrantConsent:k,learnMoreLink:b})]})};is.propTypes={installUrl:i().string.isRequired,activateUrl:i().string.isRequired,setupUrl:i().string.isRequired,updateUrl:i().string.isRequired,consentManagementUrl:i().string.isRequired,capabilities:i().objectOf(i().bool).isRequired,connectionStepsStatuses:i().objectOf(i().bool).isRequired,isVersionSupported:i().bool.isRequired};const ls=[{name:"Semrush",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: Semrush; 3: bold close tag. */ (0,a.__)("Use %1$s%2$s%3$s to do keyword research - without leaving your post","wordpress-seo"),"<strong>","Semrush","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-semrush",logoLink:"http://yoa.st/semrush-prices-wordpress",slug:"semrush",description:(0,a.sprintf)(/* translators: 1: Semrush */ (0,a.__)("Find out what your audience is searching for with %s data right in your sidebar.","wordpress-seo"),"Semrush"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",width:170,height:27,fill:"none",viewBox:"0 0 200 27"},e),de||(de=x.createElement("path",{fill:"#171A22",d:"M138.086 10.413c0-3.276-2.013-5.651-5.869-5.651h-12.466v16.976h4.099v-5.797h4.85l4.753 5.795h4.619v-.374l-4.619-5.518c2.882-.594 4.633-2.71 4.633-5.431Zm-6.329 2.1h-7.907V8.277h7.907c1.462 0 2.401.779 2.401 2.123-.001 1.366-.908 2.111-2.401 2.111ZM200 4.762h-3.833v6.436h-10.331V4.762h-4.147v16.976h4.147v-6.685h10.331v6.685H200V4.762ZM108.78 4.762l-4.558 14.284h-.25L99.388 4.762h-7.3v16.976h3.905V7.793h.243l4.558 13.945h6.289l4.584-13.945h.241v13.945h4.027V4.762h-7.155ZM64.176 11.708c-1.448-.15-4.148-.397-5.597-.547-1.425-.146-2.249-.569-2.249-1.51 0-.903.875-1.665 4.403-1.665 3.113 0 5.986.666 8.494 1.876V6.064c-2.508-1.196-5.264-1.78-8.706-1.78-4.829 0-8.172 2.019-8.172 5.432 0 2.89 1.962 4.468 5.898 4.898 1.425.156 3.847.369 5.537.508 1.84.153 2.388.715 2.388 1.554 0 1.152-1.29 1.867-4.56 1.867-3.328 0-6.697-1.088-9.093-2.61v3.909c1.925 1.287 5.258 2.38 8.97 2.38 5.275 0 8.66-2.035 8.66-5.677 0-2.74-1.807-4.404-5.973-4.837ZM72.834 4.762v16.976h15.835V18.27H76.737v-3.444h11.729v-3.442H76.737V8.229H88.67V4.762H72.834ZM173.218 11.708c-1.448-.15-4.148-.398-5.597-.547-1.425-.146-2.249-.569-2.249-1.51 0-.903.875-1.665 4.402-1.665 3.114 0 5.987.666 8.495 1.876V6.064c-2.51-1.195-5.264-1.78-8.706-1.78-4.829 0-8.172 2.018-8.172 5.432 0 2.89 1.962 4.468 5.898 4.897 1.425.157 3.847.37 5.537.509 1.841.153 2.388.715 2.388 1.554 0 1.151-1.291 1.866-4.56 1.866-3.328 0-6.697-1.087-9.093-2.61v3.91c1.925 1.287 5.258 2.38 8.97 2.38 5.275 0 8.661-2.035 8.661-5.677 0-2.74-1.806-4.404-5.974-4.837ZM154.503 4.762v8.69c0 3.293-2 5.1-5.008 5.1-3.024 0-5.008-1.78-5.008-5.15v-8.64h-4.075v8.254c0 6.164 3.852 9.207 9.142 9.207 5.09 0 9.021-2.924 9.021-9.006V4.762h-4.072Z"})),pe||(pe=x.createElement("path",{fill:"#FF642D",d:"M38.307 13.152c0 .827-.415.955-1.466.955-1.114 0-1.305-.192-1.433-1.02-.223-2.132-1.657-3.948-4.075-4.138-.764-.064-.955-.35-.955-1.306 0-.891.128-1.306.828-1.306 4.202 0 7.1 3.376 7.1 6.815Zm6.114 0C44.42 6.752 40.09 0 30.09 0H10.214c-.4 0-.65.21-.65.576 0 .2.15.379.286.485.729.572 1.79 1.201 3.213 1.913 1.38.69 2.445 1.138 3.527 1.578.447.18.625.379.625.644 0 .346-.244.566-.747.566H.69c-.466 0-.691.3-.691.604 0 .258.09.465.31.693 1.281 1.336 3.317 2.947 6.293 4.809a92.427 92.427 0 0 0 8.386 4.617c.43.206.58.445.57.691-.012.286-.237.527-.734.527H7.593c-.411 0-.64.217-.64.549 0 .185.15.42.344.598 1.645 1.491 4.275 3.123 7.78 4.615 4.674 1.99 9.432 3.187 14.776 3.187 10.127 0 14.568-7.578 14.568-13.5Zm-13.215 9.074c-4.968 0-9.107-4.044-9.107-9.074 0-4.968 4.139-8.948 9.107-8.948 5.095 0 9.074 3.981 9.074 8.948 0 5.03-3.98 9.074-9.074 9.074Z"})))},{name:"Wincher",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: Wincher; 3: bold close tag. */ (0,a.__)("Track your rankings through time with %1$s%2$s%3$s","wordpress-seo"),"<strong>","Wincher","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-wincher",logoLink:"https://yoa.st/integrations-logo-wincher",slug:"wincher",description:(0,a.sprintf)(/* translators: 1: Wincher */ (0,a.__)("Keep an eye on how your posts are ranking by connecting to your %s account.","wordpress-seo"),"Wincher"),isPremium:!1,isNew:!1,isMultisiteAvailable:!1,logo:e=>x.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg",width:140,viewBox:"0 0 566 122"},e),he||(he=x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{fillRule:"nonzero",transform:"translate(183.8 37)"},x.createElement("circle",{cx:375.8,cy:58.2,r:5.6,fill:"#FFA23A"}),x.createElement("path",{fill:"#37343B",d:"M31.805 62.112a2.4 2.4 0 0 1-2.282 1.656h-7.337a2.4 2.4 0 0 1-2.277-1.641L.323 3.365A2.4 2.4 0 0 1 2.6.206h8.895a2.4 2.4 0 0 1 2.298 1.708l12.37 41.04 13.974-41.12A2.4 2.4 0 0 1 42.409.206h4.7a2.4 2.4 0 0 1 2.268 1.616l14.228 41.131 12.2-41.03A2.4 2.4 0 0 1 78.107.205H87a2.4 2.4 0 0 1 2.278 3.156L69.77 62.124a2.4 2.4 0 0 1-2.278 1.644h-7.335a2.4 2.4 0 0 1-2.282-1.656L44.84 22.139 31.805 62.112zm74.538-45.22a2.4 2.4 0 0 1 2.4 2.4v42.076a2.4 2.4 0 0 1-2.4 2.4H98.95a2.4 2.4 0 0 1-2.4-2.4V19.292a2.4 2.4 0 0 1 2.4-2.4h7.393zM102.555 0c3.095 0 5.605 2.496 5.605 5.575s-2.51 5.574-5.605 5.574c-3.095 0-5.605-2.495-5.605-5.574 0-3.08 2.51-5.575 5.605-5.575zm29.076 61.368a2.4 2.4 0 0 1-2.4 2.4h-7.392a2.4 2.4 0 0 1-2.4-2.4V19.292a2.4 2.4 0 0 1 2.4-2.4h7.133a2.4 2.4 0 0 1 2.4 2.4v4.937c1.268-2.35 3.228-4.243 5.88-5.677 2.651-1.433 5.62-2.15 8.906-2.15 5.13 0 9.483 1.692 13.057 5.075s5.361 8.2 5.361 14.45v25.44a2.4 2.4 0 0 1-2.4 2.4h-7.392a2.4 2.4 0 0 1-2.4-2.4V39.196c0-3.67-.894-6.523-2.68-8.558-1.788-2.036-4.209-3.054-7.264-3.054-3.228 0-5.837.304-7.826 2.512-1.989 2.207-2.983 5.86-2.983 9.358v21.915zM198.736 64c-7.131 0-13.018-2.242-17.66-6.725-4.584-4.427-6.876-10.172-6.876-17.233s2.32-12.806 6.962-17.233C185.86 18.27 191.83 16 199.076 16c4.754 0 9.07 1.12 12.947 3.363 3.38 1.953 5.996 4.589 7.849 7.905.643 1.151.272 1.78-.517 2.208l-6.947 3.774c-1.003.545-1.63.246-2.293-.654-2.74-3.722-6.363-5.584-10.87-5.584-3.848 0-6.99 1.261-9.423 3.783-2.49 2.466-3.736 5.548-3.736 9.247 0 3.81 1.217 6.95 3.65 9.415 2.491 2.466 5.576 3.699 9.255 3.699 2.434 0 4.754-.645 6.962-1.934 1.73-1.01 3.094-2.243 4.094-3.7.47-.685 1.14-1.03 2.077-.484l7.195 4.187c.738.43.968 1.038.538 1.742-1.954 3.2-4.679 5.784-8.173 7.755C207.806 62.907 203.49 64 198.736 64zm44.522-2.632a2.4 2.4 0 0 1-2.4 2.4h-7.393a2.4 2.4 0 0 1-2.4-2.4V2.4a2.4 2.4 0 0 1 2.4-2.4h7.047a2.4 2.4 0 0 1 2.4 2.4v21.399c1.268-2.179 3.257-3.957 5.966-5.333 2.71-1.376 5.679-2.064 8.907-2.064 5.073 0 9.396 1.692 12.97 5.075 3.575 3.383 5.362 8.2 5.362 14.45v25.44a2.4 2.4 0 0 1-2.4 2.4h-7.393a2.4 2.4 0 0 1-2.4-2.4V39.196c0-3.67-.879-6.523-2.637-8.558-1.758-2.036-4.165-3.054-7.22-3.054-3.229 0-5.837 1.104-7.826 3.312-1.989 2.207-2.983 5.06-2.983 8.558v21.915zM311.177 64c-8.045 0-14.233-2.326-18.564-6.977-4.275-4.596-6.413-10.256-6.413-16.981 0-7.005 2.222-12.75 6.666-17.233C297.31 18.27 303.076 16 310.164 16c6.694 0 12.207 2.074 16.539 6.22 4.331 4.148 6.497 9.752 6.497 16.813 0 1.087-.085 2.375-.254 3.866-.104.92-.483 1.346-1.483 1.346h-33.197c1.688 6.501 6.16 9.752 13.417 9.752 4.807 0 9.295-1.247 13.464-3.74.787-.471 1.621-.471 2.059.299l3.324 5.854c.565.997.43 1.514-.38 2.05-5.582 3.693-11.907 5.54-18.973 5.54zM321.2 36c-.554-3.1-1.827-5.54-3.82-7.325-1.992-1.783-4.483-2.675-7.472-2.675-2.934 0-5.439.892-7.515 2.675-2.076 1.784-3.473 4.226-4.193 7.325h23zm34.954 25.368a2.4 2.4 0 0 1-2.4 2.4h-7.393a2.4 2.4 0 0 1-2.4-2.4V19.292a2.4 2.4 0 0 1 2.4-2.4h6.874a2.4 2.4 0 0 1 2.4 2.4v5.472c2.825-5.046 7.148-7.57 12.97-7.57 1.491 0 2.982.212 4.472.635.86.243 1.193.871 1.11 1.796l-.778 8.712c-.097 1.091-.567 1.348-1.636 1.091-1.487-.357-2.86-.536-4.119-.536-3.574 0-6.384 1.19-8.43 3.57-2.047 2.38-3.07 5.92-3.07 10.622v18.284z"})),x.createElement("path",{fill:"#FF8F3B",d:"M154.949.162a3.423 3.423 0 0 1 2.235 4.308l-37.107 115.146a3.446 3.446 0 0 1-3.285 2.384H94.376c-.356 0-.71-.055-1.049-.162a3.423 3.423 0 0 1-2.235-4.308L128.199 2.384A3.446 3.446 0 0 1 131.484 0h24.485c.356 0-1.36.055-1.02.162zm-70.7 14.231c.355 0 .707.055 1.046.162a3.423 3.423 0 0 1 2.24 4.305L55.247 119.613A3.446 3.446 0 0 1 51.962 122H29.545c-.355 0-.708-.055-1.047-.162a3.423 3.423 0 0 1-2.239-4.305L58.545 16.78a3.446 3.446 0 0 1 3.286-2.387h22.417z"}),x.createElement("path",{fill:"#FF7F3B",d:"m107.849 65.53 14.936 45.68-2.708 8.406a3.446 3.446 0 0 1-3.285 2.384l-11.788-47.64 2.845-8.83zm-64.877-.151 14.976 45.805-2.7 8.429a3.425 3.425 0 0 1-.157.4l-15.13-45.236 3.011-9.398z"}),x.createElement("path",{fill:"#FFA23A",d:"M84.376 14.393c1.501 0 2.83.966 3.285 2.387l32.287 100.753a3.423 3.423 0 0 1-2.24 4.305 3.468 3.468 0 0 1-1.046.162H94.245a3.446 3.446 0 0 1-3.286-2.387L58.673 18.86a3.423 3.423 0 0 1 2.24-4.305 3.468 3.468 0 0 1 1.045-.162zM26.454 37.011c1.497 0 2.823.96 3.282 2.376l25.363 78.135a3.423 3.423 0 0 1-2.224 4.313c-.342.11-.699.165-1.058.165H29.408a3.446 3.446 0 0 1-3.282-2.376L.763 41.49a3.423 3.423 0 0 1 2.224-4.314 3.485 3.485 0 0 1 1.058-.165z"}))))}],cs=[ls.map(((e,t)=>(0,d.jsx)(R,{integration:e,toggleLabel:(0,a.__)("Enable integration","wordpress-seo"),initialActivationState:g(e),isNetworkControlEnabled:y(e),isMultisiteAvailable:u(e),beforeToggle:f},t)))];var ds,ps,hs,ms,gs,ys,us,ws,vs,fs,xs,_s,bs,js,ks,Es,Ms,Ps,zs;function Ss(){return Ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Ss.apply(null,arguments)}function Ns(){return Ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Ns.apply(null,arguments)}function Ts(){return Ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Ts.apply(null,arguments)}function Rs(){return Rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(e[o]=s[o])}return e},Rs.apply(null,arguments)}(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.isFeatureEnabled",!1)&&cs.push((0,d.jsx)(is,{installUrl:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.installUrl",""),activateUrl:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.activateUrl",""),setupUrl:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.setupUrl",""),updateUrl:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.updateUrl",""),consentManagementUrl:(0,e.get)(window,"wpseoIntegrationsData.site_kit_consent_management_url",""),capabilities:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.capabilities",{installPlugins:!1,viewSearchConsoleData:!1}),connectionStepsStatuses:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.connectionStepsStatuses",{isInstalled:!1,isActive:!1,isSetupCompleted:!1,isConsentGranted:!1}),isVersionSupported:(0,e.get)(window,"wpseoIntegrationsData.site_kit_configuration.isVersionSupported",!1)},ls.length));const Cs=[{name:"The Events Calendar",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get %1$srich results for your events%2$s in Google search","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-tec",logoLink:"https://yoa.st/integrations-logo-tec",slug:"tec",description:(0,a.sprintf)(/* translators: 1: The Events Calendar, 2: Yoast SEO */ (0,a.__)("%1$s integrates with %2$s's Schema API to get rich snippets for your events!","wordpress-seo"),"The Events Calendar","Yoast SEO"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",Ns({xmlns:"http://www.w3.org/2000/svg",width:280,height:50,fill:"none",viewBox:"0 0 280 119"},e),ws||(ws=x.createElement("path",{fill:"#0F1031",fillRule:"evenodd",d:"M143.062 49.198c-2.457.997-4.731 1.535-6.384 1.446-2.141-.12-3.055-1.064-3.058-1.42-.002-.252.796-1.044 3.261-1.224.386-.027.794-.045 1.214-.045 1.684 0 3.558.277 4.967 1.243m4.595 21.714c-9.008 2.484-18.527.192-24.255-5.844-4.053-4.271-5.412-9.617-3.729-14.665 3.385-10.158 19.608-16.255 29.976-16.255.112 0 .223 0 .333.002 3.863.05 6.539.984 6.983 2.439.248.814-.34 2.24-1.573 3.812-2.175 2.774-5.481 5.288-8.844 7.133-2.132-2.34-5.552-3.404-9.925-3.089-4.869.354-6.585 2.717-6.568 4.81.02 2.282 2.233 4.715 6.425 4.948 2.538.138 5.571-.643 8.616-1.976.447 1.754.309 4.054-.423 6.798a1.783 1.783 0 0 0 3.444.918c.994-3.728 1.068-6.854.225-9.337 3.976-2.232 7.651-5.196 9.855-8.006 2.068-2.636 2.8-5.009 2.177-7.052-.452-1.483-1.517-2.66-3.122-3.494.122-13.393 2.496-22.644 4.634-22.657h.013c.314 0 .739.07 1.259.588 1.737 1.726 3.806 7.392 3.806 24.587 0 16.966-1.452 31.41-19.307 36.34M130.651 31.34c-.002-.045.004-.089-.002-.134l-.024-.198c-.256-3.658.183-6.54 1.298-8.086.554-.767 1.249-1.178 2.188-1.294 1.308-.157 2.372.18 3.266 1.039 1.731 1.664 2.741 5.262 2.645 9.198a49.245 49.245 0 0 0-8.894 3.117 38.759 38.759 0 0 1-.477-3.642m15.354-6.21c.657-.715 1.494-1.062 2.562-1.062 1.698 0 2.435.555 2.843.973.975.999 1.501 2.936 1.573 5.757a23.71 23.71 0 0 0-3.317-.215c-1.609 0-3.363.14-5.193.405-.079-2.585.461-4.692 1.532-5.858m19.667-17.675c-1.07-1.063-2.375-1.624-3.776-1.624h-.032c-4.696.028-6.316 7.035-7.127 12.303a80.347 80.347 0 0 0-.564 4.65c-.07-.078-.138-.159-.212-.233-1.325-1.359-3.141-2.047-5.394-2.047-2.063 0-3.857.765-5.187 2.214a7.868 7.868 0 0 0-1 1.406c-.588-1.547-1.409-2.947-2.533-4.027-1.668-1.604-3.801-2.298-6.171-2.007-1.91.235-3.516 1.184-4.644 2.746-.004.007-.008.015-.013.021-1.953-9.74-5.666-21.503-12.145-20.83-1.595.167-3.003 1.025-4.074 2.48-4.998 6.794-2.653 26.999-.48 37.866a1.784 1.784 0 0 0 2.098 1.398 1.782 1.782 0 0 0 1.398-2.097c-3.639-18.196-2.827-31.408-.144-35.054.63-.858 1.201-1.01 1.575-1.048 3.576-.372 7.982 12.124 9.842 27.896.149 1.953.445 3.782.73 5.203.001.007.004.013.006.02-5.356 3.087-9.776 7.308-11.534 12.584-2.113 6.337-.463 12.988 4.525 18.246 4.871 5.132 12.057 7.938 19.6 7.938 2.714 0 5.475-.363 8.19-1.113 20.246-5.588 21.923-22.003 21.923-39.775 0-15.205-1.544-23.821-4.857-27.116M16.222 96.908H.344A.344.344 0 0 0 0 97.25v2.724c0 .19.154.343.344.343h6.063v17.578c0 .189.154.344.344.344h3.094c.19 0 .344-.155.344-.344v-17.578h6.033c.19 0 .343-.153.343-.343V97.25a.344.344 0 0 0-.343-.344M27.218 102.231c-1.757 0-3.596.733-4.95 1.966v-6.946a.344.344 0 0 0-.343-.344H19.14a.344.344 0 0 0-.344.344v20.645c0 .19.154.344.344.344h2.785c.19 0 .343-.154.343-.344v-10.564c.74-.967 2.188-1.937 3.774-1.937 1.994 0 2.844.86 2.844 2.875v9.626c0 .19.154.344.344.344h2.786c.189 0 .343-.154.343-.344v-10.555c0-3.342-1.778-5.11-5.14-5.11M42.795 105.209c2.618 0 3.98 1.881 4.182 3.769H38.6c.288-1.888 1.686-3.769 4.196-3.769m0-2.978c-4.466 0-7.834 3.515-7.834 8.175 0 4.831 3.324 8.205 8.082 8.205 2.53 0 4.69-.805 6.245-2.326a.342.342 0 0 0 .04-.445l-1.3-1.826a.342.342 0 0 0-.527-.041c-.997 1.024-2.598 1.66-4.18 1.66-3 0-4.395-2.112-4.687-3.955h11.435c.19 0 .343-.154.343-.343v-.682c0-4.959-3.132-8.422-7.617-8.422M72.55 96.908H58.682a.344.344 0 0 0-.344.343v20.645c0 .189.155.344.344.344h13.866c.19 0 .344-.155.344-.344v-2.724a.344.344 0 0 0-.344-.343H62.122v-5.751h10.211c.19 0 .344-.154.344-.343v-2.724a.344.344 0 0 0-.344-.344h-10.21v-5.349h10.427c.19 0 .344-.153.344-.343V97.25a.344.344 0 0 0-.344-.344M89.791 102.603h-3.003a.342.342 0 0 0-.319.216l-4.354 10.93-4.355-10.93a.341.341 0 0 0-.319-.216H74.47a.344.344 0 0 0-.317.474l6.159 14.95a.342.342 0 0 0 .317.212h3.002c.14 0 .264-.083.318-.212l6.16-14.95a.343.343 0 0 0-.318-.474M98.372 105.209c2.618 0 3.979 1.881 4.182 3.769h-8.378c.287-1.888 1.686-3.769 4.196-3.769m0-2.978c-4.466 0-7.834 3.515-7.834 8.175 0 4.831 3.323 8.205 8.082 8.205 2.531 0 4.689-.805 6.245-2.326a.343.343 0 0 0 .039-.445l-1.3-1.826a.342.342 0 0 0-.526-.041c-.997 1.024-2.598 1.66-4.18 1.66-3.002 0-4.395-2.112-4.688-3.955h11.436a.344.344 0 0 0 .343-.343v-.682c0-4.959-3.132-8.422-7.617-8.422M116.983 102.231c-2.476 0-4.218 1.296-4.95 1.964v-1.249a.344.344 0 0 0-.344-.343h-2.785a.344.344 0 0 0-.344.343v14.95c0 .19.154.344.344.344h2.785c.19 0 .344-.154.344-.344v-10.564c.74-.967 2.188-1.937 3.773-1.937 1.967 0 2.845.905 2.845 2.937v9.564c0 .19.153.344.343.344h2.786a.345.345 0 0 0 .344-.344v-10.492c0-3.384-1.778-5.173-5.141-5.173M133.156 115.093a.344.344 0 0 0-.254-.226.358.358 0 0 0-.327.106c-.206.229-.688.475-1.261.475-1.031 0-1.111-1.135-1.111-1.483v-8.23h2.69a.344.344 0 0 0 .343-.343v-2.446a.344.344 0 0 0-.343-.343h-2.69v-3.742a.344.344 0 0 0-.344-.344h-2.785a.344.344 0 0 0-.344.344v3.742h-2.132a.344.344 0 0 0-.344.343v2.446c0 .189.154.343.344.343h2.132v8.849c0 2.597 1.386 4.027 3.903 4.027 1.369 0 2.397-.345 3.146-1.053a.345.345 0 0 0 .089-.36l-.712-2.105ZM142.473 108.616c-1.874-.437-3.201-.825-3.201-1.832 0-.991 1.043-1.606 2.721-1.606 1.677 0 3.31.668 4.161 1.701a.341.341 0 0 0 .265.125l.021-.001a.34.34 0 0 0 .269-.158l1.238-1.951a.345.345 0 0 0-.054-.433c-1.534-1.458-3.584-2.23-5.931-2.23-4.149 0-6.039 2.473-6.039 4.77 0 3.485 3.204 4.227 5.778 4.823 1.834.414 3.353.857 3.353 2.079 0 1.123-1.075 1.793-2.875 1.793-1.996 0-3.867-1.05-4.761-2.025a.344.344 0 0 0-.253-.112l-.028.002a.346.346 0 0 0-.26.155l-1.331 2.043a.343.343 0 0 0 .043.428c1.554 1.585 3.79 2.424 6.466 2.424 3.875 0 6.379-1.933 6.379-4.924 0-3.721-3.304-4.469-5.961-5.071M167.004 100.009c2.162 0 4.185 1.088 5.279 2.84a.351.351 0 0 0 .453.123l2.631-1.393a.344.344 0 0 0 .125-.494c-1.999-2.998-4.854-4.518-8.488-4.518-6.231 0-10.93 4.738-10.93 11.022s4.699 11.022 10.93 11.022c3.596 0 6.45-1.519 8.487-4.515a.346.346 0 0 0-.124-.497l-2.631-1.393a.352.352 0 0 0-.453.123c-1.095 1.752-3.117 2.84-5.279 2.84-3.89 0-6.504-3.046-6.504-7.58 0-4.605 2.553-7.58 6.504-7.58M187.429 112.195v2.302c-.746.925-2.05 1.477-3.494 1.477-1.821 0-3.092-1.081-3.092-2.627 0-1.548 1.271-2.629 3.092-2.629 1.444 0 2.748.552 3.494 1.477m-2.875-9.964c-2.507 0-4.65.856-6.369 2.544a.345.345 0 0 0-.05.428l1.207 1.92a.345.345 0 0 0 .534.059c1.264-1.265 2.653-1.88 4.244-1.88 2.01 0 3.309 1.031 3.309 2.628v1.649c-1.149-.98-2.717-1.498-4.546-1.498-2.67 0-5.544 1.638-5.544 5.234 0 3.44 2.856 5.296 5.544 5.296 1.781 0 3.349-.534 4.546-1.546v.831c0 .19.154.344.344.344h2.785c.19 0 .344-.154.344-.344v-10.09c0-3.543-2.314-5.575-6.348-5.575M198.111 96.908h-2.785a.344.344 0 0 0-.344.343v20.645c0 .189.154.344.344.344h2.785c.19 0 .344-.155.344-.344V97.251a.344.344 0 0 0-.344-.344M209.409 105.209c2.618 0 3.979 1.881 4.182 3.769h-8.378c.288-1.888 1.686-3.769 4.196-3.769m0-2.978c-4.466 0-7.833 3.515-7.833 8.175 0 4.831 3.323 8.205 8.081 8.205 2.531 0 4.69-.805 6.245-2.326a.343.343 0 0 0 .039-.445l-1.3-1.826a.342.342 0 0 0-.253-.144.369.369 0 0 0-.273.103c-.997 1.024-2.598 1.66-4.179 1.66-3.002 0-4.395-2.112-4.688-3.955h11.435c.19 0 .343-.154.343-.343v-.682c0-4.959-3.132-8.422-7.617-8.422M228.019 102.231c-2.476 0-4.217 1.296-4.949 1.964v-1.249a.344.344 0 0 0-.344-.343h-2.785a.344.344 0 0 0-.344.343v14.95c0 .19.154.344.344.344h2.785c.19 0 .344-.154.344-.344v-10.564c.74-.967 2.188-1.937 3.773-1.937 1.967 0 2.844.905 2.844 2.937v9.564c0 .19.154.344.344.344h2.786a.344.344 0 0 0 .343-.344v-10.492c0-3.384-1.777-5.173-5.141-5.173M247.307 107.352v6.17c-.775 1.134-2.335 1.926-3.804 1.926-2.497 0-4.175-2.014-4.175-5.011 0-3.016 1.678-5.042 4.175-5.042 1.432 0 3.028.822 3.804 1.957m3.129-10.445h-2.785a.344.344 0 0 0-.344.344v6.935c-1.238-1.262-2.846-1.955-4.546-1.955-4.205 0-7.03 3.298-7.03 8.206 0 4.889 2.825 8.174 7.03 8.174 1.674 0 3.321-.702 4.546-1.93v1.215c0 .189.154.344.344.344h2.785c.19 0 .344-.155.344-.344V97.251a.344.344 0 0 0-.344-.344M264.084 112.195v2.302c-.746.925-2.05 1.477-3.495 1.477-1.82 0-3.091-1.081-3.091-2.627 0-1.548 1.271-2.629 3.091-2.629 1.445 0 2.749.552 3.495 1.477m-2.875-9.964c-2.507 0-4.65.856-6.37 2.544a.345.345 0 0 0-.049.428l1.207 1.92a.343.343 0 0 0 .533.059c1.265-1.265 2.653-1.88 4.245-1.88 2.01 0 3.309 1.031 3.309 2.628v1.649c-1.149-.98-2.718-1.498-4.547-1.498-2.67 0-5.543 1.638-5.543 5.234 0 3.44 2.856 5.296 5.543 5.296 1.781 0 3.35-.534 4.547-1.546v.831c0 .19.154.344.344.344h2.785c.19 0 .344-.154.344-.344v-10.09c0-3.543-2.314-5.575-6.348-5.575M279.656 102.262c-1.614 0-3.262.748-4.546 2.057v-1.373a.344.344 0 0 0-.344-.343h-2.786a.344.344 0 0 0-.343.343v14.95c0 .189.154.343.343.343h2.786a.344.344 0 0 0 .344-.343v-10.304c.645-1.006 2.349-1.919 3.587-1.919.34 0 .629.028.885.085a.343.343 0 0 0 .418-.335v-2.817a.344.344 0 0 0-.344-.344",clipRule:"evenodd"})))},{name:"Seriously Simple Podcasting",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get %1$srich results for your podcast%2$s in Google search","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-ssp",logoLink:"https://yoa.st/integrations-logo-ssp",slug:"ssp",description:(0,a.sprintf)(/* translators: 1: Seriously Simple Podcasting, 2: Yoast SEO */ (0,a.__)("%1$s integrates with %2$s's Schema API to get rich snippets for your podcasts!","wordpress-seo"),"Seriously Simple Podcasting","Yoast SEO"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",Ss({xmlns:"http://www.w3.org/2000/svg",width:280,height:50},e),ds||(ds=x.createElement("path",{fill:"#2a2a2a",d:"M107.367 25c0 12.905-10.462 23.367-23.367 23.367-12.905 0-23.367-10.462-23.367-23.367C60.633 12.095 71.095 1.633 84 1.633c12.905 0 23.367 10.462 23.367 23.367Z"})),ps||(ps=x.createElement("path",{fill:"#2a2a2a",fillRule:"evenodd",d:"M84 50c13.807 0 25-11.193 25-25S97.807 0 84 0 59 11.193 59 25s11.193 25 25 25Zm0-1.02c13.243 0 23.98-10.737 23.98-23.98 0-13.244-10.737-23.98-23.98-23.98-13.244 0-23.98 10.736-23.98 23.98 0 13.243 10.736 23.98 23.98 23.98Z"})),hs||(hs=x.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M72.282 16.767c.295-.179.675-.41 1.106-.338.235.039.486.229.774.448.463.35 1.023.776 1.777.776.87 0 1.327-.206 1.593-.325.108-.049.184-.083.244-.083.204 0 .51.306.102.612-.068.05-.152.12-.252.204-.507.422-1.43 1.19-2.708 1.53-.243.066-.468.12-.675.17-1.102.267-1.72.417-1.978 1.361-.306 1.123-.102 5.613 3.674 5.613 1.564 0 2.795-.613 4.237-1.33 2.04-1.016 4.503-2.242 8.926-2.242 7.551 0 9.082 6.429 9.082 9.694 0 3.265-3.674 7.755-10 7.755-4.45 0-5.966-1.499-6.753-2.277-.108-.107-.202-.2-.288-.274.51 1.327 3.061 4.163 7.959 4.082-.068.374-1.755 1.122-7.96 1.122-7.754 0-13.775-6.938-13.775-13.163 0-4.43 1.138-7 1.793-8.481.266-.6.452-1.02.452-1.315 0-.95-1.062-1.9-2.033-2.769l-.212-.19c-1.02-.918-1.224-2.653-1.122-2.96.102-.305.51-.407.612.205.102.612 1.123 1.224 1.837 1.224.292 0 .448-.034.6-.067.219-.048.43-.095 1.033-.035.51.051 1.126.697 1.482 1.07l.15.155c.09-.03.2-.097.323-.172Zm9.473 18.54a.714.714 0 1 0 0-1.43.714.714 0 0 0 0 1.43Z"})),ms||(ms=x.createElement("path",{fill:"#cf3529",d:"M78.184 12.449c-.408.317-.47 1.124-.05 1.536.42.476.968.467 1.535.05 3.82-2.81 13.923-2.708 18.31-.05.498.3 1.091.374 1.472-.013l.031-.033c.412-.42.436-1.176-.077-1.534-5.2-3.63-16.63-3.527-21.221.044Z"})),gs||(gs=x.createElement("path",{fill:"#cf3529",d:"M80.633 16.122c-.613.307-.613 1.02-.306 1.531.306.51.95.52 1.53.204 4.318-1.928 9.46-2.147 13.878.102.493.251 1.326.306 1.632-.306.293-.584.306-1.122-.408-1.53-4.376-2.5-11.34-2.792-16.326 0Z"})),ys||(ys=x.createElement("path",{fill:"#cf3529",d:"M82.878 20.102c-.613.306-.715.97-.409 1.429.477.714 1.123.494 1.673.292 3.736-1.377 5.776-1.313 9.348-.05.724.255 1.224.268 1.632-.242.307-.51.245-1.2-.51-1.531-4.384-1.927-8.061-1.939-11.734.102Z"})),us||(us=x.createElement("path",{fillRule:"evenodd",d:"M208.695 24.455V13.416h1.504l.098.752c.341-.31.714-.538 1.119-.688.405-.149.885-.224 1.44-.224 1.087 0 1.936.297 2.544.889.608.592.912 1.57.912 2.935s-.315 2.387-.945 3.065c-.63.677-1.486 1.015-2.574 1.015-.917 0-1.703-.214-2.354-.64v3.935h-1.744Zm-33.47-.639c-.576 0-1.068-.075-1.473-.224v-1.295c.181.064.35.105.504.127.155.021.313.031.473.031.33 0 .596-.051.798-.158.203-.107.383-.275.537-.504.155-.23.323-.526.504-.889l-3.377-7.488H175l2.432 5.633 2.464-5.633h1.792l-3.088 7.152c-.267.64-.552 1.203-.856 1.688-.304.485-.657.867-1.056 1.144-.4.278-.887.416-1.463.416Zm-23.649-2.656c-1.365 0-2.365-.34-3-1.023-.635-.683-.953-1.66-.953-2.93 0-1.27.321-2.245.961-2.928.64-.682 1.637-1.023 2.992-1.023 1.366 0 2.368.34 3.008 1.023.64.683.96 1.659.96 2.928 0 1.27-.318 2.247-.952 2.93-.635.682-1.64 1.023-3.016 1.023Zm7.44 0c-.907 0-1.603-.25-2.088-.752-.486-.501-.729-1.238-.729-2.209v-4.783h1.744v4.783c0 .566.139.982.416 1.248.278.267.706.4 1.282.4.426 0 .82-.08 1.183-.24a3.07 3.07 0 0 0 .944-.638v-5.553h1.728V21h-1.584l-.08-.783c-.341.266-.747.49-1.217.672-.47.181-1.002.271-1.6.271Zm8.08 0a9.626 9.626 0 0 1-1.496-.111 7.027 7.027 0 0 1-1.176-.274v-1.47c.362.138.762.243 1.199.318.437.075.853.113 1.248.113.597 0 1.025-.053 1.281-.16.256-.106.383-.315.383-.625 0-.224-.076-.4-.23-.527-.155-.128-.386-.245-.69-.352-.304-.106-.69-.235-1.16-.384a7.635 7.635 0 0 1-1.168-.489 2.035 2.035 0 0 1-.767-.68c-.182-.277-.272-.64-.272-1.087 0-.694.25-1.23.752-1.608.501-.378 1.307-.568 2.416-.568.437 0 .853.032 1.248.096s.73.144 1.008.24v1.457a5.193 5.193 0 0 0-.984-.274 5.69 5.69 0 0 0-1-.095c-.555 0-.974.048-1.256.144-.283.096-.424.288-.424.576 0 .3.146.509.44.631.293.123.765.29 1.415.504.598.181 1.072.374 1.424.576.352.203.607.446.762.729.154.283.23.648.23 1.096 0 .746-.27 1.303-.814 1.671-.544.368-1.335.553-2.37.553Zm5.824 0c-.619 0-1.088-.153-1.408-.457-.32-.304-.48-.808-.48-1.512v-8.974h1.743v8.814c0 .299.054.503.16.61.107.106.268.16.481.16.256 0 .502-.034.736-.098v1.266a2.857 2.857 0 0 1-.584.15 4.627 4.627 0 0 1-.648.041Zm15.04 0c-1.332 0-2.405-.17-3.216-.512v-1.537c.459.171.953.31 1.48.416.529.107 1.054.16 1.577.16.821 0 1.437-.095 1.847-.287.411-.192.616-.576.616-1.152 0-.352-.086-.634-.256-.848-.17-.213-.453-.398-.848-.552-.395-.155-.94-.318-1.633-.489-1.109-.288-1.888-.653-2.336-1.095-.448-.443-.671-1.054-.671-1.832 0-.907.33-1.615.992-2.127.661-.512 1.649-.77 2.96-.77.598 0 1.16.044 1.688.13.528.084.942.18 1.24.286v1.537c-.81-.31-1.706-.465-2.687-.465-.768 0-1.366.102-1.793.305-.427.203-.64.57-.64 1.104 0 .309.075.56.224.752.15.192.407.357.775.496.368.138.879.294 1.53.465.842.213 1.495.466 1.959.76.464.293.79.633.976 1.023.187.39.28.83.28 1.32 0 .907-.336 1.62-1.008 2.137-.672.517-1.69.775-3.055.775Zm30.976 0c-.62 0-1.089-.153-1.409-.457-.32-.304-.478-.808-.478-1.512v-8.974h1.744v8.814c0 .299.052.503.158.61.107.106.267.16.48.16.257 0 .502-.034.737-.098v1.266a2.858 2.858 0 0 1-.584.15 4.627 4.627 0 0 1-.648.041Zm5.472 0c-1.322 0-2.347-.326-3.072-.976-.725-.651-1.088-1.649-1.088-2.993 0-1.216.31-2.174.928-2.878.618-.705 1.558-1.057 2.816-1.057 1.152 0 2.018.301 2.6.904.581.603.873 1.379.873 2.328v1.408h-5.553c.085.736.353 1.243.8 1.52.449.277 1.13.416 2.048.416.384 0 .778-.037 1.183-.111a5.763 5.763 0 0 0 1.057-.29v1.282a5.01 5.01 0 0 1-1.176.336 8.517 8.517 0 0 1-1.416.111ZM139.561 21v-7.584h1.6l.095.88a6.995 6.995 0 0 1 1.297-.64 7.164 7.164 0 0 1 1.486-.4v.97l.098-.81h2.734V21h-1.742v-6.256h-1.152l.017-.15a9.345 9.345 0 0 0-.922.222c-.346.102-.675.214-.984.336-.31.123-.57.247-.783.375V21h-1.744Zm53.584 0v-6.256h-1.153l.16-1.328h2.737V21h-1.744Zm2.816 0v-7.584h1.6l.08.8a4.552 4.552 0 0 1 1.23-.704c.448-.171.93-.256 1.441-.256.545 0 .968.088 1.272.264.304.176.535.419.695.728a4.714 4.714 0 0 1 1.217-.713c.459-.187 1.009-.28 1.649-.28.874 0 1.52.225 1.935.673.416.448.623 1.136.623 2.064V21h-1.71v-4.832c0-.587-.125-.998-.37-1.232-.245-.235-.644-.352-1.2-.352-.362 0-.705.063-1.03.191-.326.128-.606.32-.84.577.032.117.052.24.062.369.01.128.018.266.018.416V21h-1.617v-4.816c0-.555-.095-.96-.287-1.215-.192-.256-.555-.385-1.088-.385-.374 0-.729.088-1.065.264a4.223 4.223 0 0 0-.904.632V21h-1.711Zm16.383-1.152c1.472 0 2.209-.928 2.209-2.784 0-.896-.166-1.533-.496-1.912-.331-.378-.886-.568-1.664-.568-.78 0-1.43.267-1.954.8v3.792c.246.202.52.365.825.488.304.123.664.184 1.08.184Zm-60.768-.16c.8 0 1.367-.195 1.703-.584.336-.39.504-1.022.504-1.897s-.168-1.503-.504-1.887c-.336-.384-.903-.576-1.703-.576-.79 0-1.351.192-1.687.576-.336.384-.504 1.012-.504 1.887s.168 1.507.504 1.897c.336.389.898.584 1.687.584Zm70.336-2.928h4.016v-.528c0-.522-.144-.93-.432-1.224-.288-.294-.774-.44-1.457-.44-.81 0-1.368.176-1.672.528-.304.352-.455.906-.455 1.664Zm-76.928-4.928v-1.44h1.905v1.44h-1.905Zm48.016 0v-1.44h1.904v1.44H193Zm-57.232 9.328c-1.323 0-2.347-.325-3.072-.976-.725-.65-1.088-1.648-1.088-2.992 0-1.216.31-2.176.928-2.88.619-.704 1.557-1.056 2.816-1.056 1.152 0 2.019.301 2.6.904s.872 1.379.872 2.328v1.408h-5.552c.085.736.352 1.243.8 1.52.448.277 1.13.416 2.048.416a6.53 6.53 0 0 0 1.184-.112c.405-.075.757-.17 1.056-.288v1.28c-.341.15-.733.261-1.176.336a8.515 8.515 0 0 1-1.416.112Zm-2.496-4.4h4.016v-.528c0-.523-.144-.93-.432-1.224-.288-.293-.773-.44-1.456-.44-.81 0-1.368.176-1.672.528-.304.352-.456.907-.456 1.664Zm-6.144 4.4c-1.333 0-2.405-.17-3.216-.512v-1.536c.459.17.952.31 1.48.416.528.107 1.053.16 1.576.16.821 0 1.437-.096 1.848-.288.41-.192.616-.576.616-1.152 0-.352-.085-.635-.256-.848-.17-.213-.453-.397-.848-.552-.395-.155-.939-.317-1.632-.488-1.11-.288-1.888-.653-2.336-1.096-.448-.443-.672-1.053-.672-1.832 0-.907.33-1.616.992-2.128.661-.512 1.648-.768 2.96-.768.597 0 1.16.043 1.688.128s.941.181 1.24.288v1.536c-.81-.31-1.707-.464-2.688-.464-.768 0-1.365.101-1.792.304-.427.203-.64.57-.64 1.104 0 .31.075.56.224.752.15.192.408.357.776.496.368.139.877.293 1.528.464.843.213 1.496.467 1.96.76.464.293.79.635.976 1.024.187.39.28.83.28 1.32 0 .907-.336 1.619-1.008 2.136-.672.517-1.69.776-3.056.776ZM206.4 38.816a13.94 13.94 0 0 1-1.697-.103 6.935 6.935 0 0 1-1.44-.313v-1.343c.427.138.919.245 1.473.32.555.075 1.083.111 1.584.111.768 0 1.328-.043 1.68-.129.352-.085.527-.277.527-.576 0-.224-.085-.38-.256-.47-.17-.091-.494-.137-.974-.137h-2.049c-1.376 0-2.064-.485-2.064-1.455 0-.31.09-.599.271-.866.181-.266.47-.468.865-.607-.437-.213-.76-.507-.968-.88-.208-.374-.313-.822-.313-1.345 0-.97.292-1.674.873-2.11.581-.438 1.453-.657 2.615-.657.246 0 .503.02.77.056.267.038.474.072.623.104h2.783l-.047 1.137h-1.279c.203.17.351.382.447.638.096.256.145.534.145.832 0 .811-.246 1.449-.737 1.913-.49.464-1.232.697-2.224.697-.17 0-.329-.01-.473-.026-.144-.016-.3-.033-.47-.054-.32.032-.61.117-.866.256-.256.138-.383.324-.383.558 0 .16.064.277.192.346.128.07.342.103.64.103h2.127c.758 0 1.342.163 1.752.489.411.325.618.797.618 1.416 0 .746-.324 1.282-.97 1.607-.645.325-1.57.488-2.775.488Zm-23.44-2.656a9.626 9.626 0 0 1-1.495-.111 7.056 7.056 0 0 1-1.178-.274v-1.47c.363.138.764.243 1.201.318.438.075.854.113 1.248.113.598 0 1.024-.053 1.28-.16.256-.106.384-.315.384-.625 0-.224-.077-.4-.232-.527-.155-.128-.384-.245-.688-.352-.304-.106-.69-.235-1.16-.385a7.634 7.634 0 0 1-1.168-.488 2.035 2.035 0 0 1-.767-.68c-.182-.277-.274-.64-.274-1.087 0-.694.251-1.23.752-1.608.502-.378 1.307-.568 2.416-.568.438 0 .854.032 1.248.096.395.064.73.144 1.008.24v1.457a5.173 5.173 0 0 0-.982-.274 5.69 5.69 0 0 0-1-.095c-.555 0-.973.048-1.256.144-.283.096-.426.288-.426.576 0 .3.148.509.441.631.294.123.766.29 1.417.504.597.181 1.071.374 1.423.576.352.203.605.446.76.729.155.283.233.648.233 1.096 0 .746-.273 1.303-.817 1.671-.544.368-1.332.553-2.367.553Zm6.593 0c-.81 0-1.417-.216-1.817-.648-.4-.432-.6-1.021-.6-1.768v-3.969h-1.12v-1.359h1.12v-1.744l1.727-.527v2.271h2.018l-.113 1.36h-1.905v3.872c0 .438.102.744.305.92.203.176.533.264.992.264.288 0 .592-.053.912-.16v1.232c-.416.171-.922.256-1.52.256Zm2.672-.16v-6.256h-1.153l.16-1.328h2.737V36h-1.744Zm2.814 0v-7.584h1.602l.08.8a4.863 4.863 0 0 1 1.222-.68c.475-.188 1-.28 1.577-.28.98 0 1.696.229 2.144.687.448.459.672 1.174.672 2.145V36h-1.729v-4.832c0-.587-.119-.998-.359-1.232-.24-.235-.69-.352-1.352-.352-.394 0-.781.08-1.16.24-.378.16-.697.367-.953.623V36h-1.744Zm11.488-3.473c.694 0 1.178-.117 1.45-.351.272-.235.408-.634.408-1.2 0-.565-.136-.976-.408-1.232-.272-.256-.756-.385-1.45-.385-.65 0-1.125.124-1.423.37-.3.245-.448.66-.448 1.248 0 .544.141.938.424 1.183.283.245.765.367 1.447.367Zm-14.447-5.695v-1.44h1.904v1.44h-1.904Zm-17.072 9.328c-.48 0-.925-.085-1.336-.256a2.22 2.22 0 0 1-.984-.776c-.245-.347-.368-.776-.368-1.288 0-.725.248-1.31.744-1.752.496-.443 1.261-.664 2.296-.664h2.432v-.336c0-.363-.056-.65-.168-.864-.112-.213-.315-.368-.608-.464-.293-.096-.723-.144-1.288-.144-.896 0-1.733.133-2.512.4V28.72c.341-.139.757-.25 1.248-.336a9.251 9.251 0 0 1 1.584-.128c1.11 0 1.955.224 2.536.672.581.448.872 1.179.872 2.192V36h-1.488l-.112-.768a3.11 3.11 0 0 1-1.144.688c-.453.16-1.021.24-1.704.24Zm.464-1.248c.523 0 .979-.088 1.368-.264.39-.176.707-.413.952-.712v-1.328h-2.4c-.512 0-.883.099-1.112.296-.23.197-.344.499-.344.904 0 .395.133.677.4.848.267.17.645.256 1.136.256Zm-5.728 1.248c-1.333 0-2.341-.339-3.024-1.016-.683-.677-1.024-1.656-1.024-2.936 0-1.333.376-2.325 1.128-2.976.752-.65 1.757-.976 3.016-.976.523 0 .963.037 1.32.112.357.075.701.192 1.032.352v1.296c-.555-.277-1.227-.416-2.016-.416-.875 0-1.547.195-2.016.584-.47.39-.704 1.064-.704 2.024 0 .907.208 1.57.624 1.992.416.421 1.104.632 2.064.632.757 0 1.445-.144 2.064-.432v1.328a6.149 6.149 0 0 1-1.128.32c-.4.075-.845.112-1.336.112Zm-8.784 0c-.683 0-1.285-.117-1.808-.352-.523-.235-.928-.624-1.216-1.168-.288-.544-.432-1.275-.432-2.192 0-.907.155-1.672.464-2.296.31-.624.739-1.096 1.288-1.416.55-.32 1.17-.48 1.864-.48.459 0 .867.053 1.224.16.357.107.701.272 1.032.496v-3.696h1.744V36h-1.488l-.112-.752c-.341.31-.715.539-1.12.688-.405.15-.885.224-1.44.224Zm.464-1.312c.779 0 1.43-.267 1.952-.8v-3.792c-.501-.448-1.13-.672-1.888-.672-.736 0-1.29.245-1.664.736-.373.49-.56 1.205-.56 2.144 0 .907.173 1.53.52 1.872.347.341.893.512 1.64.512Zm-8.304 1.312c-1.365 0-2.365-.341-3-1.024-.635-.683-.952-1.659-.952-2.928 0-1.27.32-2.245.96-2.928.64-.683 1.637-1.024 2.992-1.024 1.365 0 2.368.341 3.008 1.024.64.683.96 1.659.96 2.928 0 1.27-.317 2.245-.952 2.928-.635.683-1.64 1.024-3.016 1.024Zm0-1.472c.8 0 1.368-.195 1.704-.584.336-.39.504-1.021.504-1.896s-.168-1.504-.504-1.888c-.336-.384-.904-.576-1.704-.576-.79 0-1.352.192-1.688.576-.336.384-.504 1.013-.504 1.888s.168 1.507.504 1.896c.336.39.899.584 1.688.584ZM141.008 36V25.696h4.592c.79 0 1.44.15 1.952.448.512.299.89.707 1.136 1.224.245.517.368 1.107.368 1.768 0 1.024-.317 1.845-.952 2.464s-1.49.928-2.568.928h-2.784V36Zm1.744-4.848h2.464c.693 0 1.216-.181 1.568-.544.352-.363.528-.853.528-1.472 0-.661-.168-1.173-.504-1.536-.336-.363-.84-.544-1.512-.544h-2.544Z"})))},{name:"Easy Digital Downloads",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get %1$srich results for your digital products%2$s in Google search","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-edd",logoLink:"https://yoa.st/integrations-logo-edd",upsellLink:"https://yoa.st/get-edd-integration",slug:"edd",description:(0,a.sprintf)(/* translators: 1: Easy Digital Downloads, 2: Yoast SEO */ (0,a.__)("%2$s integrates %1$s' Schema output into its own to get rich snippets for your digital products!","wordpress-seo"),"Easy Digital Downloads","Yoast SEO"),isPremium:!0,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",Rs({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",width:130,height:60,style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:1.41421},viewBox:"0 0 339 157"},e),x.createElement("path",{d:"M206.613 15.378C197.114 5.876 183.985 0 169.488 0c-14.501 0-27.628 5.876-37.13 15.378-9.504 9.502-15.38 22.631-15.38 37.13 0 14.499 5.876 27.628 15.378 37.13 9.502 9.504 22.631 15.378 37.132 15.378 14.499 0 27.628-5.879 37.127-15.378 9.502-9.504 15.378-22.631 15.378-37.13 0-14.499-5.878-27.628-15.38-37.13Zm-1.732 72.524c-9.057 9.058-21.572 14.661-35.395 14.661-13.823 0-26.339-5.603-35.397-14.661s-14.661-21.572-14.661-35.394c0-13.823 5.603-26.337 14.661-35.395 9.058-9.058 21.572-14.661 35.395-14.661 13.823 0 26.337 5.603 35.395 14.661 9.058 9.058 14.66 21.572 14.66 35.395.002 13.822-5.601 26.337-14.658 35.394Z",style:{fill:"#35495c",fillRule:"nonzero"}}),x.createElement("path",{d:"M214.656 52.07c-.236-24.746-20.367-44.734-45.168-44.734-24.803 0-44.936 19.99-45.168 44.736l20.712-20.712 6.946 6.946-15.157 15.157h65.333l-15.157-15.157 6.946-6.946 20.713 20.71Zm-45.17-7.762L150.24 24.112h12.79v-9.955c0-2.584 2.906-4.702 6.456-4.702 3.55 0 6.456 2.116 6.456 4.702v9.955h12.79l-19.246 20.196ZM175.1 77.93c-1.026-.667-2.326-1.267-3.894-1.788-1.199-.413-2.186-.803-2.956-1.179-.764-.372-1.328-.785-1.689-1.221-.37-.444-.543-.976-.543-1.586 0-.488.147-.952.462-1.391.309-.438.792-.803 1.448-1.079.663-.28 1.507-.431 2.555-.436.844.004 1.615.072 2.312.193.689.125 1.3.276 1.823.449.53.179.958.348 1.295.507l1.166-3.516c-.705-.354-1.588-.648-2.66-.886-.91-.201-1.952-.317-3.135-.357v-3.638h-3.205v3.82c-.514.083-1.007.195-1.473.33-1.179.348-2.192.831-3.03 1.462-.831.628-1.475 1.363-1.917 2.205-.444.842-.663 1.77-.672 2.768.006 1.155.309 2.173.906 3.052.597.88 1.448 1.643 2.547 2.297 1.094.652 2.4 1.214 3.91 1.687 1.133.363 2.057.742 2.761 1.131.705.387 1.221.814 1.542 1.28.328.466.49 1.006.484 1.61 0 .663-.195 1.238-.575 1.735-.376.49-.932.875-1.663 1.148-.731.276-1.623.411-2.669.42a15.281 15.281 0 0 1-2.481-.217 15.934 15.934 0 0 1-2.24-.562 11.92 11.92 0 0 1-1.838-.766l-1.127 3.662c.51.28 1.146.532 1.925.764.779.234 1.636.42 2.575.562.932.138 1.89.208 2.864.217l.171-.002v3.761h3.205v-4.063a12.43 12.43 0 0 0 1.162-.282c1.286-.387 2.354-.915 3.199-1.591.851-.67 1.481-1.446 1.899-2.321a6.4 6.4 0 0 0 .624-2.787c0-1.155-.247-2.177-.757-3.056-.515-.887-1.281-1.664-2.311-2.336ZM3.999 141.181c0 .701.099 1.38.298 2.034a4.99 4.99 0 0 0 .894 1.719c.397.491.9.883 1.508 1.175.608.293 1.333.439 2.175.439 1.169 0 2.11-.251 2.824-.754.713-.502 1.245-1.256 1.596-2.262h3.788a7.544 7.544 0 0 1-1.087 2.631 7.563 7.563 0 0 1-1.859 1.946 8.036 8.036 0 0 1-2.438 1.193 9.852 9.852 0 0 1-2.824.403c-1.427 0-2.689-.234-3.788-.701a7.828 7.828 0 0 1-2.789-1.965c-.76-.842-1.333-1.847-1.719-3.016-.385-1.17-.578-2.456-.578-3.859 0-1.286.205-2.508.614-3.665a9.387 9.387 0 0 1 1.754-3.052 8.378 8.378 0 0 1 2.754-2.087c1.075-.514 2.291-.772 3.648-.772 1.426 0 2.706.298 3.841.894a8.437 8.437 0 0 1 2.824 2.368c.748.982 1.292 2.111 1.631 3.385.339 1.275.427 2.59.263 3.946H3.999Zm9.33-2.631a6.468 6.468 0 0 0-.404-1.824 4.885 4.885 0 0 0-.912-1.526 4.534 4.534 0 0 0-1.403-1.052 4.132 4.132 0 0 0-1.841-.404c-.702 0-1.339.123-1.912.369a4.369 4.369 0 0 0-1.473 1.017 5.038 5.038 0 0 0-.982 1.526 5.306 5.306 0 0 0-.403 1.894h9.33ZM35.567 145.18c0 .491.064.842.193 1.052.128.21.38.316.754.316h.421c.163 0 .351-.023.561-.07v2.771c-.14.047-.322.099-.544.158-.223.058-.45.111-.684.158a7.387 7.387 0 0 1-1.298.14c-.819 0-1.497-.164-2.034-.491-.538-.327-.889-.9-1.052-1.719-.795.771-1.771 1.333-2.929 1.683-1.157.351-2.274.526-3.35.526a8.215 8.215 0 0 1-2.35-.333 6.15 6.15 0 0 1-1.982-.982 4.705 4.705 0 0 1-1.368-1.649c-.339-.666-.509-1.444-.509-2.333 0-1.122.204-2.034.614-2.736a4.557 4.557 0 0 1 1.613-1.649 7.278 7.278 0 0 1 2.245-.859c.83-.175 1.666-.31 2.508-.404.725-.14 1.415-.239 2.069-.298a9.71 9.71 0 0 0 1.736-.298c.503-.14.9-.356 1.193-.649.292-.292.438-.73.438-1.315 0-.514-.123-.935-.368-1.263a2.479 2.479 0 0 0-.912-.754 3.972 3.972 0 0 0-1.21-.351 9.788 9.788 0 0 0-1.263-.088c-1.122 0-2.047.234-2.771.702-.725.468-1.135 1.193-1.228 2.175h-3.999c.07-1.169.351-2.14.842-2.911a5.816 5.816 0 0 1 1.877-1.859 7.688 7.688 0 0 1 2.578-.982 15.35 15.35 0 0 1 2.946-.281c.888 0 1.765.094 2.631.281a7.5 7.5 0 0 1 2.333.912 5.065 5.065 0 0 1 1.666 1.631c.421.666.631 1.479.631 2.438v9.331h.002Zm-3.998-5.052c-.608.398-1.356.638-2.245.719-.889.082-1.777.205-2.666.369-.421.07-.83.17-1.228.298a3.69 3.69 0 0 0-1.052.526 2.316 2.316 0 0 0-.719.877c-.175.363-.263.801-.263 1.315 0 .445.128.819.386 1.123.257.304.567.543.93.719.362.175.759.298 1.193.368.432.071.824.105 1.175.105.444 0 .924-.058 1.438-.175.514-.117 1-.316 1.456-.596.456-.28.836-.636 1.14-1.07.304-.432.456-.964.456-1.596v-2.982h-.001ZM42.898 143.39c.117 1.17.561 1.988 1.333 2.456.772.468 1.695.701 2.771.701.374 0 .801-.029 1.28-.088.479-.058.93-.169 1.351-.333a2.531 2.531 0 0 0 1.035-.719c.268-.316.391-.731.368-1.245-.024-.514-.21-.935-.561-1.263-.351-.327-.801-.59-1.35-.789a13.15 13.15 0 0 0-1.877-.509 85.428 85.428 0 0 1-2.14-.456 19.787 19.787 0 0 1-2.157-.596 6.942 6.942 0 0 1-1.859-.947 4.36 4.36 0 0 1-1.315-1.526c-.328-.619-.491-1.386-.491-2.298 0-.982.239-1.806.719-2.473a5.506 5.506 0 0 1 1.824-1.613 7.934 7.934 0 0 1 2.455-.859c.9-.163 1.759-.245 2.578-.245.935 0 1.829.1 2.683.298a7.311 7.311 0 0 1 2.315.965 5.684 5.684 0 0 1 1.719 1.736c.456.714.742 1.573.86 2.578h-4.174c-.188-.958-.626-1.601-1.316-1.929-.69-.327-1.479-.491-2.368-.491-.281 0-.614.024-.999.07a4.647 4.647 0 0 0-1.087.263 2.29 2.29 0 0 0-.859.561c-.234.246-.351.567-.351.965 0 .491.169.889.509 1.193.339.304.783.556 1.333.754.549.199 1.175.368 1.876.508.702.14 1.426.293 2.175.456.724.164 1.438.363 2.14.596.701.234 1.327.55 1.877.947a4.6 4.6 0 0 1 1.333 1.508c.339.609.508 1.356.508 2.245 0 1.076-.246 1.988-.737 2.736a5.805 5.805 0 0 1-1.912 1.824 8.677 8.677 0 0 1-2.613 1.017c-.959.21-1.906.316-2.841.316-1.146 0-2.204-.129-3.174-.386-.971-.257-1.812-.649-2.525-1.175a5.66 5.66 0 0 1-1.684-1.964c-.409-.784-.626-1.713-.649-2.789h3.997ZM56.086 131.079h4.385l4.735 13.539h.07l4.595-13.539h4.174l-7.05 19.116a142.32 142.32 0 0 1-.965 2.35 8.449 8.449 0 0 1-1.157 1.982 5 5 0 0 1-1.701 1.368c-.678.339-1.543.509-2.596.509-.936 0-1.859-.07-2.771-.21v-3.368c.327.047.643.1.947.158.304.058.619.088.947.088.467 0 .853-.058 1.157-.175a1.93 1.93 0 0 0 .754-.509c.198-.223.368-.486.509-.79.14-.304.268-.655.386-1.052l.456-1.403-6.875-18.064ZM90.18 149.213v-3.438h-.07a5.2 5.2 0 0 1-1.035 1.614 6.68 6.68 0 0 1-1.561 1.245 8.07 8.07 0 0 1-1.877.789 7.308 7.308 0 0 1-1.982.281c-1.38 0-2.578-.251-3.595-.754a7.19 7.19 0 0 1-2.543-2.069c-.679-.877-1.181-1.894-1.508-3.052a13.386 13.386 0 0 1-.491-3.666c0-1.286.163-2.508.491-3.665.327-1.157.83-2.175 1.508-3.052a7.37 7.37 0 0 1 2.543-2.087c1.017-.514 2.215-.772 3.595-.772.678 0 1.339.082 1.982.245a6.668 6.668 0 0 1 1.807.754 6.366 6.366 0 0 1 1.491 1.245 5.244 5.244 0 0 1 1 1.719h.07v-10.382h2.21v25.044H90.18v.001Zm-12.119-6.261a7.713 7.713 0 0 0 1.052 2.473 5.783 5.783 0 0 0 1.842 1.771c.748.456 1.649.684 2.701.684 1.169 0 2.157-.228 2.964-.684a5.854 5.854 0 0 0 1.964-1.771 7.272 7.272 0 0 0 1.087-2.473c.222-.924.333-1.853.333-2.789 0-.935-.111-1.864-.333-2.788a7.32 7.32 0 0 0-1.087-2.473 5.857 5.857 0 0 0-1.964-1.772c-.807-.456-1.795-.684-2.964-.684-1.052 0-1.953.228-2.701.684a5.786 5.786 0 0 0-1.842 1.772 7.69 7.69 0 0 0-1.052 2.473 11.893 11.893 0 0 0-.333 2.788c0 .936.111 1.866.333 2.789ZM98.668 124.169v3.543h-2.21v-3.543h2.21Zm0 6.945v18.099h-2.21v-18.099h2.21ZM117.767 151.353c-.293 1.076-.754 1.988-1.386 2.736-.632.748-1.456 1.321-2.473 1.719-1.017.397-2.263.596-3.736.596a11.21 11.21 0 0 1-2.666-.316 7.566 7.566 0 0 1-2.332-.982 5.83 5.83 0 0 1-1.719-1.701c-.456-.69-.719-1.514-.789-2.473h2.21c.117.678.345 1.245.684 1.702.339.456.748.824 1.228 1.105a5.45 5.45 0 0 0 1.596.614 8.33 8.33 0 0 0 1.789.193c2.057 0 3.543-.585 4.455-1.754.912-1.17 1.368-2.853 1.368-5.051v-2.456h-.07a6.466 6.466 0 0 1-2.262 2.701c-.994.678-2.157 1.017-3.49 1.017-1.45 0-2.689-.24-3.718-.719s-1.877-1.14-2.543-1.982c-.666-.842-1.152-1.829-1.456-2.964a13.97 13.97 0 0 1-.456-3.63c0-1.239.181-2.414.544-3.525.362-1.11.888-2.081 1.578-2.911a7.341 7.341 0 0 1 2.561-1.964c1.017-.479 2.18-.719 3.49-.719a6.36 6.36 0 0 1 1.912.281c.596.188 1.14.45 1.631.789.491.339.93.731 1.316 1.175.386.445.684.912.894 1.403h.07v-3.122h2.21v16.626c-.001 1.332-.148 2.536-.44 3.612Zm-5.068-4.823a5.762 5.762 0 0 0 1.824-1.613 7.108 7.108 0 0 0 1.105-2.297 9.7 9.7 0 0 0 .368-2.666c0-.888-.105-1.777-.316-2.666a7.709 7.709 0 0 0-1.017-2.42 5.534 5.534 0 0 0-1.806-1.754c-.737-.444-1.631-.666-2.683-.666-1.052 0-1.953.216-2.701.649a5.76 5.76 0 0 0-1.859 1.701 7.118 7.118 0 0 0-1.07 2.403c-.223.9-.333 1.818-.333 2.754 0 .912.117 1.801.351 2.666a6.82 6.82 0 0 0 1.087 2.297 5.616 5.616 0 0 0 1.859 1.613c.748.41 1.636.614 2.666.614.958-.001 1.8-.205 2.525-.615ZM124.66 124.169v3.543h-2.21v-3.543h2.21Zm0 6.945v18.099h-2.21v-18.099h2.21ZM136.094 131.114v1.859h-3.683v12.207c0 .725.099 1.292.298 1.701.198.41.696.638 1.491.684.631 0 1.263-.035 1.894-.105v1.859c-.328 0-.655.011-.982.035-.328.023-.655.035-.982.035-1.473 0-2.503-.286-3.087-.86-.585-.573-.865-1.631-.842-3.174v-12.382h-3.157v-1.859h3.157v-5.437h2.21v5.437h3.683ZM139.742 133.92a5.183 5.183 0 0 1 1.526-1.894c.643-.491 1.397-.853 2.262-1.087.865-.233 1.824-.351 2.877-.351.794 0 1.59.076 2.385.228a5.785 5.785 0 0 1 2.14.859c.631.421 1.146 1.012 1.543 1.772s.596 1.748.596 2.964v9.611c0 .888.433 1.332 1.298 1.332.257 0 .491-.047.701-.14v1.859c-.257.047-.486.082-.684.105a6.52 6.52 0 0 1-.754.035c-.561 0-1.011-.075-1.35-.228a1.819 1.819 0 0 1-.79-.649 2.432 2.432 0 0 1-.368-1 8.508 8.508 0 0 1-.088-1.281h-.07a14.82 14.82 0 0 1-1.21 1.561 5.98 5.98 0 0 1-1.368 1.14 6.291 6.291 0 0 1-1.719.701c-.643.163-1.409.246-2.297.246-.842 0-1.631-.1-2.367-.298a5.292 5.292 0 0 1-1.929-.947 4.52 4.52 0 0 1-1.298-1.649c-.316-.666-.474-1.455-.474-2.367 0-1.263.281-2.251.842-2.964.562-.713 1.303-1.256 2.227-1.631.924-.374 1.965-.637 3.122-.789 1.157-.152 2.333-.298 3.525-.438.467-.047.877-.105 1.228-.175.351-.07.643-.193.877-.368.233-.175.414-.415.543-.719.128-.304.193-.702.193-1.193 0-.748-.123-1.362-.369-1.841a2.918 2.918 0 0 0-1.017-1.14 4.098 4.098 0 0 0-1.508-.579 10.227 10.227 0 0 0-1.842-.158c-1.403 0-2.549.333-3.437 1-.889.666-1.356 1.736-1.404 3.209h-2.21c.071-1.052.293-1.964.668-2.736Zm11.049 5.402c-.141.258-.41.445-.807.561a8.058 8.058 0 0 1-1.052.245c-.936.164-1.9.311-2.894.439-.994.129-1.9.322-2.718.579-.819.258-1.491.626-2.017 1.105-.526.48-.789 1.163-.789 2.052 0 .562.111 1.059.333 1.491.222.433.52.807.894 1.123.374.316.807.556 1.298.719.491.164.994.246 1.508.246.842 0 1.649-.128 2.42-.386a5.951 5.951 0 0 0 2.017-1.123 5.455 5.455 0 0 0 1.368-1.789c.339-.702.509-1.496.509-2.385v-2.876h-.07v-.001ZM157.525 124.169h2.21v25.044h-2.21zM181.061 149.213h-3.788v-2.455h-.07c-.538 1.052-1.321 1.806-2.35 2.262a7.965 7.965 0 0 1-3.262.684c-1.427 0-2.672-.251-3.736-.754-1.064-.502-1.947-1.186-2.648-2.052-.702-.865-1.228-1.888-1.578-3.069-.351-1.18-.526-2.449-.526-3.806 0-1.636.222-3.052.666-4.244.444-1.193 1.035-2.175 1.772-2.946a6.852 6.852 0 0 1 2.525-1.701 8.047 8.047 0 0 1 2.894-.544 9.62 9.62 0 0 1 1.719.158 7.559 7.559 0 0 1 1.683.509 6.659 6.659 0 0 1 1.491.894c.456.363.836.789 1.14 1.28h.071v-9.26h3.998v25.044h-.001Zm-13.96-8.874c0 .772.099 1.532.298 2.28.198.748.503 1.415.912 1.999.409.585.93 1.053 1.561 1.404.632.35 1.379.526 2.245.526.888 0 1.654-.187 2.298-.561a4.758 4.758 0 0 0 1.578-1.473 6.672 6.672 0 0 0 .912-2.052c.198-.76.298-1.538.298-2.333 0-2.01-.45-3.577-1.351-4.7-.901-1.123-2.122-1.684-3.665-1.684-.936 0-1.725.193-2.368.579a4.862 4.862 0 0 0-1.578 1.508 6.281 6.281 0 0 0-.877 2.105 10.981 10.981 0 0 0-.263 2.402ZM193.724 149.704c-1.45 0-2.742-.24-3.876-.719-1.135-.479-2.093-1.14-2.876-1.982-.784-.842-1.38-1.847-1.789-3.017-.409-1.169-.613-2.455-.613-3.859 0-1.379.204-2.653.613-3.823.409-1.169 1.006-2.175 1.789-3.017.783-.842 1.742-1.502 2.876-1.982 1.134-.479 2.426-.719 3.876-.719 1.45 0 2.742.24 3.876.719 1.134.48 2.093 1.14 2.877 1.982.783.842 1.379 1.848 1.789 3.017.409 1.17.614 2.444.614 3.823 0 1.404-.205 2.69-.614 3.859-.409 1.17-1.006 2.175-1.789 3.017-.784.842-1.743 1.503-2.877 1.982-1.134.479-2.427.719-3.876.719Zm0-3.157c.888 0 1.66-.187 2.315-.561a4.876 4.876 0 0 0 1.614-1.473 6.434 6.434 0 0 0 .93-2.052 9.219 9.219 0 0 0 0-4.648 6.204 6.204 0 0 0-.93-2.052 4.969 4.969 0 0 0-1.614-1.456c-.655-.374-1.427-.561-2.315-.561-.889 0-1.66.188-2.315.561a4.943 4.943 0 0 0-1.613 1.456 6.204 6.204 0 0 0-.93 2.052 9.174 9.174 0 0 0 0 4.648c.198.76.509 1.444.93 2.052a4.873 4.873 0 0 0 1.613 1.473c.654.375 1.426.561 2.315.561ZM204.562 131.079h4.244l3.543 13.539h.071l3.402-13.539h4.034l3.262 13.539h.071l3.683-13.539h4.069l-5.682 18.134h-4.104l-3.367-13.469h-.07l-3.332 13.469h-4.209l-5.615-18.134ZM233.499 131.079h3.788v2.666l.07.07a6.711 6.711 0 0 1 2.385-2.368c.982-.573 2.069-.859 3.262-.859 1.987 0 3.554.515 4.7 1.543 1.146 1.029 1.719 2.573 1.719 4.63v12.452h-3.998v-11.4c-.047-1.426-.351-2.461-.912-3.104-.562-.643-1.438-.965-2.631-.965-.678 0-1.286.123-1.824.369a3.953 3.953 0 0 0-1.368 1.017 4.807 4.807 0 0 0-.877 1.526 5.438 5.438 0 0 0-.316 1.859v10.698h-3.998v-18.134ZM253.738 124.169h3.999v25.044h-3.999zM270.399 149.704c-1.45 0-2.742-.24-3.876-.719-1.135-.479-2.093-1.14-2.876-1.982-.784-.842-1.38-1.847-1.789-3.017-.409-1.169-.613-2.455-.613-3.859 0-1.379.204-2.653.613-3.823.409-1.169 1.006-2.175 1.789-3.017.783-.842 1.742-1.502 2.876-1.982 1.134-.479 2.426-.719 3.876-.719 1.45 0 2.742.24 3.876.719 1.134.48 2.093 1.14 2.877 1.982.783.842 1.379 1.848 1.789 3.017.409 1.17.614 2.444.614 3.823 0 1.404-.205 2.69-.614 3.859-.409 1.17-1.006 2.175-1.789 3.017-.784.842-1.743 1.503-2.877 1.982-1.135.479-2.427.719-3.876.719Zm0-3.157c.888 0 1.66-.187 2.315-.561a4.876 4.876 0 0 0 1.614-1.473 6.434 6.434 0 0 0 .93-2.052 9.219 9.219 0 0 0 0-4.648 6.204 6.204 0 0 0-.93-2.052 4.969 4.969 0 0 0-1.614-1.456c-.655-.374-1.427-.561-2.315-.561-.889 0-1.66.188-2.315.561a4.943 4.943 0 0 0-1.613 1.456 6.204 6.204 0 0 0-.93 2.052 9.174 9.174 0 0 0 0 4.648c.198.76.509 1.444.93 2.052a4.873 4.873 0 0 0 1.613 1.473c.654.375 1.426.561 2.315.561ZM298.073 145.18c0 .491.064.842.193 1.052.128.21.38.316.754.316h.421c.163 0 .35-.023.561-.07v2.771c-.14.047-.321.099-.543.158-.223.058-.451.111-.684.158a7.387 7.387 0 0 1-1.298.14c-.818 0-1.497-.164-2.034-.491-.538-.327-.889-.9-1.052-1.719-.795.771-1.772 1.333-2.929 1.683-1.158.351-2.274.526-3.349.526a8.215 8.215 0 0 1-2.35-.333 6.15 6.15 0 0 1-1.982-.982 4.705 4.705 0 0 1-1.368-1.649c-.339-.666-.509-1.444-.509-2.333 0-1.122.205-2.034.614-2.736a4.552 4.552 0 0 1 1.614-1.649 7.282 7.282 0 0 1 2.244-.859c.83-.175 1.666-.31 2.508-.404.725-.14 1.415-.239 2.069-.298a9.695 9.695 0 0 0 1.736-.298c.503-.14.9-.356 1.193-.649.292-.292.439-.73.439-1.315 0-.514-.123-.935-.369-1.263a2.479 2.479 0 0 0-.912-.754 3.972 3.972 0 0 0-1.21-.351 9.788 9.788 0 0 0-1.263-.088c-1.123 0-2.047.234-2.771.702-.725.468-1.135 1.193-1.228 2.175h-3.999c.071-1.169.351-2.14.842-2.911a5.806 5.806 0 0 1 1.877-1.859 7.671 7.671 0 0 1 2.578-.982 15.36 15.36 0 0 1 2.947-.281c.888 0 1.765.094 2.631.281a7.5 7.5 0 0 1 2.333.912 5.065 5.065 0 0 1 1.666 1.631c.421.666.631 1.479.631 2.438v9.331h-.001Zm-3.998-5.052c-.609.398-1.357.638-2.245.719-.889.082-1.777.205-2.666.369-.421.07-.83.17-1.228.298a3.71 3.71 0 0 0-1.053.526 2.326 2.326 0 0 0-.719.877c-.175.363-.263.801-.263 1.315 0 .445.128.819.386 1.123a2.8 2.8 0 0 0 .929.719c.363.175.76.298 1.193.368.432.071.824.105 1.175.105a6.51 6.51 0 0 0 1.438-.175c.515-.117 1-.316 1.456-.596a3.82 3.82 0 0 0 1.14-1.07c.304-.432.456-.964.456-1.596v-2.982h.001ZM319.47 149.213h-3.788v-2.455h-.07c-.538 1.052-1.321 1.806-2.35 2.262a7.965 7.965 0 0 1-3.262.684c-1.427 0-2.672-.251-3.736-.754-1.064-.502-1.947-1.186-2.648-2.052-.702-.865-1.228-1.888-1.578-3.069-.351-1.18-.526-2.449-.526-3.806 0-1.636.222-3.052.666-4.244.444-1.193 1.035-2.175 1.772-2.946a6.852 6.852 0 0 1 2.525-1.701 8.047 8.047 0 0 1 2.894-.544 9.62 9.62 0 0 1 1.719.158 7.559 7.559 0 0 1 1.683.509 6.659 6.659 0 0 1 1.491.894c.456.363.836.789 1.14 1.28h.071v-9.26h3.998v25.044h-.001Zm-13.96-8.874c0 .772.099 1.532.298 2.28.198.748.503 1.415.912 1.999.409.585.93 1.053 1.561 1.404.632.35 1.379.526 2.245.526.888 0 1.654-.187 2.298-.561a4.758 4.758 0 0 0 1.578-1.473 6.672 6.672 0 0 0 .912-2.052c.198-.76.298-1.538.298-2.333 0-2.01-.45-3.577-1.351-4.7-.901-1.123-2.122-1.684-3.665-1.684-.936 0-1.725.193-2.368.579a4.862 4.862 0 0 0-1.578 1.508 6.281 6.281 0 0 0-.877 2.105 10.92 10.92 0 0 0-.263 2.402ZM326.836 143.39c.117 1.17.561 1.988 1.333 2.456.772.468 1.695.701 2.771.701.373 0 .801-.029 1.28-.088.479-.058.93-.169 1.351-.333a2.528 2.528 0 0 0 1.034-.719c.269-.316.392-.731.369-1.245-.024-.514-.211-.935-.561-1.263-.351-.327-.801-.59-1.351-.789a13.17 13.17 0 0 0-1.876-.509 85.428 85.428 0 0 1-2.14-.456 19.787 19.787 0 0 1-2.157-.596 6.942 6.942 0 0 1-1.859-.947 4.36 4.36 0 0 1-1.315-1.526c-.328-.619-.491-1.386-.491-2.298 0-.982.24-1.806.719-2.473a5.495 5.495 0 0 1 1.824-1.613 7.934 7.934 0 0 1 2.455-.859c.9-.163 1.76-.245 2.578-.245.935 0 1.83.1 2.684.298a7.311 7.311 0 0 1 2.315.965 5.684 5.684 0 0 1 1.719 1.736c.456.714.742 1.573.86 2.578h-4.174c-.187-.958-.626-1.601-1.315-1.929-.69-.327-1.479-.491-2.367-.491-.281 0-.614.024-1 .07a4.647 4.647 0 0 0-1.087.263 2.303 2.303 0 0 0-.86.561c-.234.245-.35.567-.35.965 0 .491.169.889.508 1.193.339.304.784.556 1.333.754.549.199 1.175.368 1.877.508.701.14 1.426.293 2.174.456.725.164 1.438.363 2.14.596a6.93 6.93 0 0 1 1.876.947 4.6 4.6 0 0 1 1.333 1.508c.339.609.509 1.356.509 2.245 0 1.076-.246 1.988-.737 2.736a5.824 5.824 0 0 1-1.912 1.824 8.688 8.688 0 0 1-2.613 1.017c-.959.21-1.906.316-2.841.316-1.146 0-2.204-.129-3.174-.386-.971-.257-1.813-.649-2.526-1.175a5.647 5.647 0 0 1-1.683-1.964c-.41-.784-.626-1.713-.649-2.789h3.996Z",style:{fill:"#35495c",fillRule:"nonzero"}}))},{name:"WP Recipe Maker",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get %1$srich results for your recipes%2$s in Google search","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-wp-recipemaker",logoLink:"https://yoa.st/integrations-logo-wp-recipemaker",slug:"wp-recipe-maker",description:(0,a.sprintf)(/* translators: 1: Seriously Simple Podcasting, 2: Yoast SEO */ (0,a.__)("%1$s integrates with %2$s's Schema API to get rich snippets for your recipes!","wordpress-seo"),"WP Recipe Maker","Yoast SEO"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:e=>x.createElement("svg",Ts({xmlns:"http://www.w3.org/2000/svg",width:185,"aria-hidden":"true",viewBox:"0 0 1488.21 189.15"},e),vs||(vs=x.createElement("rect",{width:23.81,height:26.01,x:113.83,y:17.03,fill:"#3a5160",rx:4,ry:4,transform:"rotate(-10 125.733 30.062)"})),fs||(fs=x.createElement("rect",{width:23.81,height:26.01,x:119.56,y:49.62,fill:"#3a5160",rx:4,ry:4,transform:"rotate(-10 131.463 62.64)"})),xs||(xs=x.createElement("path",{fill:"#010101",d:"M1120.63 107.35c-2.45 8.59-4.88 17.07-7.33 25.62-3.61-.29-7.03-.55-10.43-.83-1.86-.15-3.71-.42-5.57-.45-1.3-.02-1.94-.36-2.25-1.74-3.51-15.67-7.15-31.32-10.65-47-2.81-12.58-5.48-25.18-8.27-37.77-.26-1.17-.89-2.26-1.69-3.33.53 34.76 1.77 69.45 3.62 104.35-8.55-.78-16.89-1.54-25.37-2.31-1.24-42.47-3.33-84.87 1.77-127.36 3.42.26 6.78.51 10.13.77 8.19.65 16.38 1.33 24.58 1.92 1.11.08 1.54.43 1.82 1.46 4.04 14.57 7.19 29.33 9.99 44.17 1.23 6.51 2.43 13.02 3.64 19.53.03.18.1.35.27.93 7.73-24.53 13.76-49.07 18.93-73.99 2.23.17 4.42.31 6.61.5 8.44.73 16.87 1.47 25.31 2.21 1.05.09 2.11.21 3.17.25.97.03 1.37.34 1.39 1.41.21 8.53.65 17.05.74 25.58.26 23.65.55 47.3.48 70.95-.03 11.06-.84 22.13-1.31 33.19-.03.73-.14 1.45-.22 2.28-8.85-.83-17.5-1.63-26.35-2.46 3.22-33.66 3.51-67.33 4.22-100.99-.27-.06-.54-.13-.81-.19-.52 1.33-1.18 2.62-1.53 3.99-1.39 5.46-2.64 10.95-4.02 16.42-3.6 14.26-7.23 28.51-10.87 42.88ZM265.8 87.29c-2.62 11.14-5.09 22.19-7.86 33.17-1.9 7.51-4.21 14.92-6.35 22.37-.08.28-.24.53-.4.89-3.54-.27-7.05-.53-10.56-.8-2.11-.16-4.22-.4-6.33-.49-1.11-.05-1.61-.3-1.85-1.54-2.74-14.44-5.65-28.85-8.35-43.29-2.31-12.35-4.52-24.72-6.57-37.11-1.61-9.76-2.95-19.56-4.35-29.35-.85-5.96-1.59-11.93-2.36-17.9-.06-.48 0-.98 0-1.63 8.26.69 16.46 1.38 24.63 2.06 3.21 29.25 6.41 58.4 9.61 87.54.24.02.47.03.71.05 3.2-12.67 5.75-25.49 8.2-38.32 2.46-12.87 4.49-25.83 6.73-38.86 6.2.55 12.56 1.12 19.02 1.7 2.28 25.19 5.32 50.17 8.09 75.17.25 0 .5.02.76.03 7.1-29.92 13.76-59.93 17.67-90.72 8.43.7 16.82 1.39 25.32 2.09-.87 4.78-1.66 9.33-2.54 13.86-4.56 23.44-9.8 46.74-16.01 69.81-3.96 14.69-8.3 29.28-12.41 43.93-.38 1.34-.9 1.62-2.31 1.47-5.21-.56-10.44-.94-15.66-1.32-.85-.06-1.19-.3-1.4-1.15-3.78-14.91-7.62-29.81-11.4-44.72-.93-3.65-1.66-7.36-2.49-11.04-.06-.28-.23-.54-.44-1.02-.39 1.82-.74 3.41-1.11 5.13Zm317.9 32.76c4.39 6.04 8.71 11.99 13.09 18.03-6.24 4.56-12.38 9.05-18.32 13.39-14.44-19.46-28.78-38.78-43.12-58.11-.16.08-.32.15-.48.23-.58 17.99-1.16 35.99-1.74 54.13-8.88-.97-17.46-1.9-25.78-2.81 0-3.14-.13-6.08.02-9 1.29-25.57 1.83-51.15 1.74-76.75-.05-13.67.09-27.34.09-41.01 0-1.21.45-1.72 1.52-2.18 10.29-4.43 21.01-7.33 32.16-8.52 7.54-.81 15.09-1.09 22.51 1.03 14.48 4.15 23.19 13.68 26.52 28.08 2.34 10.1 1.28 19.78-4.3 28.79-3.46 5.59-7.73 10.49-12.74 14.71-4.37 3.68-8.98 7.08-13.47 10.6l22.3 29.38m-15.29-80.78c-2.59-6.62-7.63-9.99-15.03-10.21-5.83-.18-11.4 1.07-16.93 2.68-1.11.32-1.49.79-1.49 1.95-.02 14.86-.1 29.71-.15 44.57 0 .47.05.94.09 1.68 2.3-1.2 4.41-2.23 6.46-3.37 9.2-5.15 17.52-11.34 23.96-19.78 4-5.25 5.34-10.95 3.1-17.51ZM378.34 8.76c9.83-1.09 19.28-.47 28.16 3.98 13.54 6.79 21.67 17.63 24.2 32.39 2.72 15.86-2.85 28.92-14.5 39.69-8.92 8.25-19.54 13.61-31 17.5-1.8.61-3.61 1.25-5.46 1.69-1.04.25-1.22.73-1.2 1.66.16 9.93.28 19.86.41 29.78.05 3.69.1 7.38.14 11.08 0 .34-.05.67-.08 1.15-8.68-.82-17.28-1.63-25.92-2.44-.1-2.25-.23-4.39-.29-6.52-.63-24.35-.69-48.69-.14-73.04.28-12.47.64-24.94.99-37.4.12-4.34.34-8.67.49-13.01.03-.78.23-1.22 1.08-1.51 7.48-2.51 15.12-4.24 23.12-5m11.61 68.82c1.39-.99 2.84-1.91 4.15-2.99 9.26-7.68 13.24-18.64 9.7-30.14-1.47-4.78-4.18-8.72-8.41-11.53-4.72-3.12-9.85-2.69-15.01-1.49-.33.08-.66.89-.68 1.38-.18 4.03-.31 8.07-.4 12.1-.29 12.36-.56 24.72-.83 37.08 0 .24.04.49.07.83 4.01-1.24 7.74-2.94 11.42-5.25Zm503.41 1.2c.89 5.83.84 11.57.28 17.28-.97 9.85-3.39 19.35-7.54 28.38-2.81 6.12-6.3 11.76-11.28 16.45-4.45 4.2-9.67 5.49-15.58 4.64-2.72-.39-5.42-.91-8.27-1.4.43 14.95.87 29.85 1.3 45.02-7.34-.73-14.77-1.46-22.39-2.21-1.11-46.35-2-92.64 1.68-139.13 6.73.77 13.3 1.53 20.11 2.31-.2 5.13-.4 10.22-.61 15.52 1.57-1.65 2.9-3.25 4.43-4.63 4.64-4.2 10.02-6.6 16.45-6.23 6.49.37 11.49 3.39 15.26 8.48 3.18 4.29 4.97 9.17 5.9 14.38.06.34.16.68.26 1.15m-33.25-3.25c-3.68 3.79-5.8 8.45-7.53 13.3-.66 1.85-1.25 3.82-1.3 5.75-.24 9.12-.29 18.24-.4 27.37 0 .34.02.72.18 1.01 2.28 4.2 6.74 4.88 10.26 1.62 3.54-3.28 5.38-7.54 6.89-11.93 3.1-9.04 4.05-18.33 2.74-27.8-.47-3.4-1.34-6.73-3.24-9.7-1.19-1.85-2.59-2.36-4.63-1.49-1 .43-1.87 1.14-2.96 1.87Z"})),_s||(_s=x.createElement("path",{fill:"#020202",d:"M1307.39 122.54c-4.09-4.4-8.1-8.72-12.12-13.04-.13.05-.27.11-.4.16.26 12.07.51 24.13.77 36.33-7.46-.69-14.9-1.39-22.48-2.09-1.58-46.55-.61-92.99 1.71-139.57 7.62.58 15.04 1.15 22.22 1.7-.99 29.54-1.98 58.88-2.97 88.23.22.05.45.11.67.16 11.62-14.1 21.84-29.09 29.48-46.04 5.39 4.5 10.64 8.88 15.99 13.35-6.1 13.98-13.95 26.91-22.87 39.14 4.19 5.22 8.5 10.29 12.47 15.62 3.97 5.32 7.6 10.9 11.43 16.43-5.06 4.7-9.91 9.2-14.91 13.85-5.74-8.57-12.06-16.56-18.99-24.21Zm-65.12 6.6-1.25 17.55c-2.51-.14-4.87-.27-7.22-.42-2.72-.18-5.43-.34-8.14-.61-.43-.04-1.04-.55-1.18-.96-.51-1.55-.85-3.16-1.27-4.82-2.52 1.06-4.86 2.17-7.29 3.04-5.96 2.15-12 2.34-18.07.46-8.06-2.5-13.54-9.59-14.3-17.91-1.04-11.52 4.12-19.78 13.51-25.88 5.95-3.87 12.56-5.98 19.6-6.82l4.69-.55c.08-4.79.21-9.47-.99-14.05-.26-1-.76-1.97-1.32-2.84-2.02-3.17-5.77-3.61-8.52-1.02-3.26 3.07-4.74 7.11-6.04 11.23-.34 1.09-.41 2.55-1.16 3.13-.65.5-2.1.02-3.19-.07-4.71-.41-9.42-.83-14.45-1.28.73-2.67 1.34-5.26 2.15-7.79 2.55-7.94 6.21-15.24 12.46-21.07 9.36-8.75 24.76-8.96 33.63-.29 4.33 4.24 6.71 9.6 7.92 15.38.89 4.22 1.58 8.55 1.71 12.86.43 14.22-.32 28.42-1.29 42.75m-30.89-1.07c2.98-.63 5.97-1.23 8.94-1.94.33-.08.69-.78.71-1.21.14-3.53.21-7.07.28-10.6.03-1.48 0-2.95 0-4.55-2.22.45-4.3.79-6.32 1.31-4.43 1.15-8.39 3.07-10.92 7.1-2.63 4.19-.79 8.59 4.04 9.62.97.21 1.99.18 3.27.26Zm160.42-70.27c8.98-6.55 18.49-7.72 28.52-3.01 4.13 1.94 6.94 5.4 9.16 9.29 3.27 5.71 5.06 11.94 5.77 18.39.77 6.97 1 14 1.5 21.01.07.96-.17 1.34-1.2 1.59-11.84 2.91-23.83 5.07-35.89 6.86-.93.14-1.85.33-2.92.52.63 5.04 1.1 10 4.13 14.24 1.56 2.19 3.14 2.71 5.76 1.99 3.43-.94 5.86-3.28 8-5.88 1.96-2.39 3.66-4.99 5.6-7.67 4.79 2.81 9.66 5.66 14.63 8.56-5.15 8.94-10.94 17.18-21.11 20.95-14 5.18-27.62.46-34.85-13.06-3.12-5.83-4.61-12.13-4.89-18.64-.56-13.37 1.19-26.44 6.29-38.94 2.54-6.23 6.12-11.79 11.5-16.2m13.65 38.82c3.16-.74 6.31-1.47 9.73-2.27-.41-4.68-.62-9.31-1.28-13.87-.37-2.61-1.2-5.23-2.29-7.64-1.23-2.71-3.63-3.09-5.88-1.06a15.806 15.806 0 0 0-3.3 4.2c-3.7 6.95-4.77 14.55-5.43 22.39 2.83-.6 5.51-1.17 8.45-1.76ZM662.46 58.62c5.16 5.37 7.48 11.97 9.02 18.88 1.99 8.95 2.28 18.05 2.26 27.28-13.11 3.37-26.44 5.61-39.9 7.64.55 4.32.98 8.51 2.94 12.35 2.14 4.2 4.64 5.91 10.18 2.42 3.65-2.3 6.08-5.77 8.4-9.29.6-.91 1.2-1.82 1.85-2.82 4.93 2.89 9.77 5.72 14.72 8.63-5.15 9.05-11.04 17.34-21.36 21.04-13.9 4.98-27.46.44-34.72-13.4-3.78-7.21-4.95-14.99-4.88-23.01.1-11.04 1.74-21.83 5.6-32.22 2.44-6.59 5.86-12.58 11.2-17.34 5.32-4.74 11.59-6.87 18.7-6.72 6.15.13 11.54 2.1 15.98 6.58m-27.88 35.11c-.16 1.51-.33 3.01-.52 4.72 6.16-1.36 12.07-2.67 18.31-4.04-.54-5.21-.9-10.32-1.65-15.36-.35-2.3-1.28-4.59-2.32-6.71-.96-1.97-2.75-2.41-4.57-1.16-1.41.96-2.73 2.26-3.62 3.7-3.51 5.69-4.81 12.08-5.64 18.86Z"})),bs||(bs=x.createElement("path",{fill:"#010101",d:"M926.11 142.76c-6.82-4.43-10.73-10.77-13.02-18.22-2.25-7.3-2.43-14.78-1.91-22.33.5-7.21 1.61-14.31 3.71-21.24 2.46-8.09 5.94-15.64 12.2-21.65 8.54-8.2 22.19-9.77 31.91-3.54 4.52 2.89 7.31 7.22 9.39 12.01 2.69 6.18 4 12.71 4.56 19.38.48 5.81.69 11.63 1.02 17.53-13.29 3.43-26.63 5.68-40.17 7.71.69 5.07 1.11 10.09 4.18 14.37 1.51 2.1 3.16 2.63 5.65 1.93 4.12-1.17 6.78-4.18 9.25-7.35 1.53-1.96 2.87-4.07 4.38-6.24 4.84 2.84 9.67 5.68 14.63 8.59-3.06 5.33-6.32 10.41-10.89 14.59-6.25 5.71-13.56 8.6-22.11 8.33-4.57-.14-8.82-1.35-12.78-3.86m11.79-63.33c-2.35 6.08-3.34 12.41-3.81 19.02l18.22-4.04c-.44-4.8-.64-9.44-1.35-14-.43-2.75-1.43-5.47-2.58-8.02-.94-2.08-2.67-2.37-4.69-1.2-.85.49-1.73 1.14-2.25 1.94-1.27 1.96-2.34 4.04-3.55 6.3Z"})),js||(js=x.createElement("path",{fill:"#020202",d:"M714.55 110.73c.03 3.69.1 7.24 1.51 10.56.51 1.21 1.25 2.4 2.14 3.38 1.73 1.91 3.74 2.13 5.98.81 3.13-1.84 5.16-4.73 7.06-7.66 2.39-3.67 4.59-7.47 6.94-11.33 4.68 3.34 9.4 6.71 14.16 10.12-3.09 7.86-6.75 15.32-12.56 21.6-10.5 11.33-24.8 10.15-34.82 3.47-6.67-4.44-10.21-10.98-11.89-18.58-1.53-6.9-1.26-13.85-.65-20.83.72-8.31 2.2-16.45 4.89-24.37 2.26-6.66 5.24-12.93 10.19-18.13 7.32-7.69 18.53-9.76 27.48-4.89 5.24 2.85 8.71 7.36 11.2 12.59 3.44 7.25 5.07 14.87 4.04 22.9-.24 1.89-.75 3.75-1.13 5.62-6.29-.59-12.34-1.16-18.19-1.71 0-2.32.05-4.5-.01-6.68-.1-3.57-.73-7.03-2.51-10.19-2.07-3.66-5.08-3.78-7.55-.35-2.46 3.42-3.31 7.42-4.13 11.41-1.5 7.29-1.91 14.7-2.13 22.27Zm764.13-35.84c-5.02-1.18-8.22 1.08-10.32 5.16-2.82 5.49-4.74 11.24-4.7 17.53.08 11.92.08 23.84.02 35.76-.02 4.38-.32 8.76-.5 13.35-7.53-.61-14.93-1.2-22.48-1.81.75-28.07 1.59-55.97-2.83-83.89 2.83.27 5.42.51 8.01.76 1.75.17 3.5.43 5.26.52.99.05 1.4.46 1.65 1.34.79 2.72 1.64 5.43 2.5 8.23 1.62-2.77 3.14-5.46 4.74-8.1 1.99-3.27 4.39-6.23 7.39-8.64 4.54-3.64 9.55-3.86 15.17-.59 1.81 1.05 3.4 2.47 5.04 3.79.32.26.64.88.54 1.23-1.53 5.58-3.13 11.14-4.74 16.82-1.61-.5-3.13-.96-4.77-1.46Z"})),ks||(ks=x.createElement("path",{fill:"#010101",d:"M775.99 52.99c.82-.19 1.63-.32 2.43-.25 6.42.59 12.84 1.21 19.25 1.83.09 0 .17.09.31.17v91.03c-7.34-.7-14.59-1.38-22.01-2.09 0-30.22 0-60.38.01-90.69Z"})),Es||(Es=x.createElement("path",{fill:"#020202",d:"M798.68 26.96c-.47 5.38-.93 10.63-1.41 16.04-7.27-.88-14.35-1.73-21.71-2.62.63-7.04 1.26-14.05 1.91-21.28 7.31.83 14.48 1.65 21.74 2.48-.19 1.88-.36 3.56-.53 5.38Z"})),Ms||(Ms=x.createElement("path",{fill:"#607983",d:"m8.856 20.455 97.89-17.26c6.795-1.199 13.282 3.344 14.48 10.139l20.88 118.413c1.198 6.795-3.344 13.283-10.14 14.48l-97.89 17.261a7.097 7.097 0 0 1-8.213-5.75L3.105 28.667a7.097 7.097 0 0 1 5.75-8.213Z"})),Ps||(Ps=x.createElement("path",{fill:"#3a5160",d:"M21.37 18.25 8.86 20.46c-3.84.68-6.43 4.37-5.75 8.21l22.76 129.08c.68 3.84 4.37 6.43 8.21 5.75l12.51-2.21L21.37 18.25Z"})),zs||(zs=x.createElement("path",{fill:"#d2e0e4",d:"M89.24 39.48c-1.9.34-3.17 2.15-2.84 4.05l3.83 21.7c.45 2.57-1.29 5.02-3.85 5.47s-4.99-1.26-5.44-3.83l-3.83-21.7c-.34-1.9-2.15-3.17-4.05-2.84s-3.17 2.15-2.84 4.05l3.83 21.7c.45 2.57-1.29 5.02-3.85 5.47s-4.99-1.26-5.44-3.83l-3.83-21.7c-.34-1.9-2.15-3.17-4.05-2.84s-3.17 2.15-2.84 4.05l4.46 25.28c1.49 8.45 8.11 14.69 16.08 16.14l6.09 34.55c.66 3.75 4.24 6.26 8 5.6s6.26-4.24 5.6-8l-6.09-34.55c7-4.09 11.08-12.21 9.59-20.66l-4.46-25.28a3.507 3.507 0 0 0-4.05-2.84Z"})))}],Ls={name:"WooCommerce",claim:c((0,a.sprintf)(/* translators: 1: bold open tag; 2: bold close tag. */ (0,a.__)("Get %1$srich product results%2$s in Google search","wordpress-seo"),"<strong>","</strong>"),{strong:(0,d.jsx)("strong",{})}),learnMoreLink:"https://yoa.st/integrations-about-woocommerce",logoLink:"https://yoa.st/integrations-logo-woocommerce",slug:"woocommerce",description:(0,a.sprintf)(/* translators: 1: Yoast WooCommerce SEO */ (0,a.__)("Unlock rich snippets for your product pages by using %1$s.","wordpress-seo"),"Yoast WooCommerce SEO"),isPremium:!1,isNew:!1,isMultisiteAvailable:!0,logo:ee,upsellLink:"https://yoa.st/integrations-get-woocommerce"},Zs=[Cs.map(((e,t)=>(0,d.jsx)(ne,{integration:e,isActive:g(e),isSchemaAPIIntegration:!0},t)))];Zs.push((0,d.jsx)(se,{integration:Ls,isActive:Boolean(window.wpseoIntegrationsData.woocommerce_seo_active),isInstalled:Boolean(window.wpseoIntegrationsData.woocommerce_seo_installed),isPrerequisiteActive:Boolean(window.wpseoIntegrationsData.woocommerce_active),upsellLink:window.wpseoIntegrationsData.woocommerce_seo_upsell_url,activationLink:window.wpseoIntegrationsData.woocommerce_seo_activate_url,isSchemaAPIIntegration:!0},Cs.length+1));const As=Zs,Os=({title:e="",description:t="",alert:s=null,elements:o=[]})=>(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"yst-mb-8",children:[(0,d.jsx)("h2",{className:"yst-mb-2 yst-text-lg yst-font-medium",children:e}),(0,d.jsx)("p",{className:"yst-text-tiny",children:t})]}),s&&(0,d.jsx)("div",{className:"yst-mb-8 yst-max-w-xl",children:s}),(0,d.jsx)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-6 sm:yst-grid-cols-2 md:yst-grid-cols-3 lg:yst-grid-cols-4",children:o})]});function qs(){const t=!(0,e.get)(window,"wpseoIntegrationsData.schema_framework_enabled",!0),s=c((0,a.sprintf)(/* translators: 1: anchor tag linking to the schema framework settings page; 2: closing anchor tag. */ (0,a.__)("To make use of the Schema API integrations enable the %1$sSchema Framework%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,d.jsx)("a",{id:"schema-framework-settings-link",href:"admin.php?page=wpseo_page_settings#/schema-framework"})});return(0,d.jsxs)("div",{className:"yst-h-full yst-flex yst-flex-col yst-bg-white yst-rounded-lg yst-shadow",children:[(0,d.jsx)("header",{className:"yst-border-b yst-border-slate-200",children:(0,d.jsxs)("div",{className:"yst-max-w-screen-sm yst-p-8",children:[(0,d.jsx)(r.Title,{as:"h1",className:"yst-flex yst-items-center",children:(0,a.__)("Integrations","wordpress-seo")}),(0,d.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,a.sprintf)(/* translators: 1: Yoast SEO */ (0,a.__)("%s can integrate with other products, to help you further improve your website. You can enable or disable these integrations below.","wordpress-seo"),"Yoast SEO")})]})}),(0,d.jsxs)("div",{className:"yst-flex-grow yst-max-w-6xl yst-p-8",children:[(0,d.jsx)(Os,{title:(0,a.__)("Recommended integrations","wordpress-seo"),elements:cs}),(0,d.jsx)("hr",{className:"yst-my-12"}),(0,d.jsx)(Os,{title:(0,a.__)("Schema API integrations","wordpress-seo"),description:p((0,a.sprintf)(/* translators: 1: anchor tag linking to our schema API docs; 2: closing anchor tag. */ (0,a.__)("Unlock rich results in Google search by using plugins that integrate with the %1$sYoast Schema API%2$s.","wordpress-seo"),"<a>","</a>"),"https://developer.yoast.com/features/schema/api/","schema-api-link"),alert:t&&(0,d.jsxs)(r.Alert,{id:"schema-disabled-alert",variant:"info",children:[(0,d.jsx)("span",{className:"yst-block yst-font-medium yst-mb-2",children:(0,a.__)("All Schema API integrations are disabled","wordpress-seo")}),s]}),elements:As}),(0,d.jsx)("hr",{className:"yst-my-12"}),(0,d.jsx)(Os,{title:(0,a.__)("Plugin integrations","wordpress-seo"),elements:ce}),(0,d.jsx)("hr",{className:"yst-my-12"}),(0,d.jsx)(Os,{title:(0,a.__)("Other integrations","wordpress-seo"),elements:q})]})]})}Os.propTypes={title:n.PropTypes.string,description:n.PropTypes.node,alert:n.PropTypes.node,elements:n.PropTypes.array};const Vs=window.yoast.externals.contexts,Is=window.yoast.styledComponents,$s=({theme:e,location:t,children:s})=>(0,d.jsx)(Vs.LocationProvider,{value:t,children:(0,d.jsx)(Is.ThemeProvider,{theme:e,children:s})});$s.propTypes={theme:i().object.isRequired,location:i().oneOf(["sidebar","metabox","modal"]).isRequired,children:i().node.isRequired};const Bs=$s,Fs=[];let Ds=null;class Hs extends l.Component{constructor(e){super(e),this.state={registeredComponents:[...Fs]}}registerComponent(e,t){this.setState((s=>({...s,registeredComponents:[...s.registeredComponents,{key:e,Component:t}]})))}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,d.jsx)(e,{},t)))}}window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=function(e,t){null===Ds||null===Ds.current?Fs.push({key:e,Component:t}):Ds.current.registerComponent(e,t)},o()((()=>{const t={isRtl:Boolean((0,e.get)(window,"wpseoScriptData.metabox.isRtl",!1))};!function(t,s){const o=(0,e.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1});Ds=(0,l.createRef)();const r={isRtl:o.isRtl};(0,l.createRoot)(document.getElementById(t)).render((0,d.jsx)(Bs,{theme:r,location:"sidebar",children:(0,d.jsx)(P.SlotFillProvider,{children:(0,d.jsxs)(l.Fragment,{children:[s,(0,d.jsx)(Hs,{ref:Ds})]})})}))}("wpseo-integrations",(0,d.jsx)(r.Root,{context:t,children:(0,d.jsx)(qs,{})}))}))})()})(); dist/admin-modules.js 0000644 00000072013 15174677550 0010627 0 ustar 00 (()=>{"use strict";var e={n:a=>{var t=a&&a.__esModule?()=>a.default:()=>a;return e.d(t,{a:t}),t},d:(a,t)=>{for(var l in t)e.o(t,l)&&!e.o(a,l)&&Object.defineProperty(a,l,{enumerable:!0,get:t[l]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)};const a=window.wp.data,t=window.wp.i18n,l=window.yoast.propTypes;var c=e.n(l);const r=window.React;var n;function s(){return s=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},s.apply(null,arguments)}const i=e=>r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 296 317"},e),n||(n=r.createElement("g",{fill:"none",transform:"matrix(-1 0 0 1 295.274 .96)"},r.createElement("circle",{cx:131.18,cy:184.261,r:131.18,fill:"#F0ECF0"}),r.createElement("g",{fill:"#EAB881"},r.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 0 0-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 0 0-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),r.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 0 0 1.09 20.32 54.8 54.8 0 0 0-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),r.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),r.createElement("path",{fill:"#D38053",d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 0 0 3.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 0 1-1.42-.59c.42.309.906.51 1.42.59z"}),r.createElement("path",{fill:"#D38053",d:"M214.2 69.33a4.13 4.13 0 0 1-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 0 1-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 0 0 4.51 2.28c2.54-1.52.8.82-4.51-2.28z"}),r.createElement("path",{fill:"#EAB881",d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z"}),r.createElement("path",{fill:"#D38053",d:"M217.52 64.67a4.92 4.92 0 0 1 2.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 0 1 4.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z"}),r.createElement("path",{fill:"#D38053",d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 0 1-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z"}),r.createElement("path",{fill:"#A52A6A",d:"M190.92 211.52a81.3 81.3 0 0 0-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z"}),r.createElement("path",{fill:"#A52A6A",d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z"}),r.createElement("path",{fill:"#7C2050",d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z"}),r.createElement("path",{fill:"#EAB881",d:"M192.93 72.9a3 3 0 0 1-.92 2.58 25.5 25.5 0 0 0 9.52 1.8c2.47-.02.6.27-8.6-4.38z"}),r.createElement("path",{fill:"#EAB881",d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 0 0 .85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 0 1 2.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 0 0-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z"}),r.createElement("path",{fill:"#EAB881",d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 0 0 0 2.57z"}),r.createElement("path",{fill:"#D38053",d:"M194.68 57.19a15.87 15.87 0 0 0 .36-1.77c-.14.62-.25 1.18-.36 1.77z"}),r.createElement("path",{fill:"#A52A6A",d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 0 0 3.46-3.59zm69-3.33-.77-.17c.242.112.504.17.77.17z"}),r.createElement("path",{fill:"#A52A6A",d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 0 0 201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z"}),r.createElement("path",{fill:"#7C2050",d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 0 1-35.06-36.66 203.23 203.23 0 0 0 49.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z"}),r.createElement("path",{fill:"#EAB881",d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z"}),r.createElement("path",{fill:"#D38053",d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z"}),r.createElement("path",{fill:"#EAB881",d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 0 1-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 0 0 4.78-2.95 18.42 18.42 0 0 1-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 0 0-5.1-35.45"}),r.createElement("path",{fill:"#D38053",d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z"}),r.createElement("path",{fill:"#000",d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0 1 17.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z"}),r.createElement("path",{fill:"#FFF",d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 0 1-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 0 1 2.73 4.71z"}),r.createElement("path",{fill:"#000",d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 0 1 .39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z"}),r.createElement("path",{fill:"#000",d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 1 0 2.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 0 0-2.44-9.71 16.7 16.7 0 0 1-3.08.15z"}),r.createElement("path",{fill:"#000",d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 0 0 113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0 0 15.66 2.44 6.35 6.35 0 0 1-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0 0 18.08.78 11.39 11.39 0 0 1-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 0 1-5.36 5.83zm-77.44 3.81-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 0 0 4.06 4 16.75 16.75 0 0 1-4.06-4.03v.03zm-.59-.86.24.35-.24-.35z"}),r.createElement("path",{fill:"#000",d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z"}),r.createElement("path",{fill:"#EAB881",d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z"}),r.createElement("path",{fill:"#D38053",d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 0 1 4.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 0 1-2.17 5 5.2 5.2 0 0 0 5.09-3.3zm130.32-29.93a3.7 3.7 0 0 1-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z"}),r.createElement("path",{fill:"#D38053",d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z"})))),o="cornerstone",d="orphaned",m={cornerstone:["chooseCornerstones","checkLinks","addLinks"],orphaned:["improveRemove","update","addLinks"]},p=window.wp.element,h=window.yoast.componentsNew,u=window.yoast.helpers,z=window.ReactJSXRuntime;function f({name:e,title:l,subtitle:c,usps:r,id:n="",image:s=null,finishableSteps:i=null,finishedSteps:o=null,upsellLink:d=null,upsellText:m=null,workout:f=null,badges:E=[]}){const{openWorkout:M,toggleWorkout:w}=(0,a.useDispatch)("yoast-seo/workouts"),g=(0,a.useSelect)((e=>e("yoast-seo/workouts").getActiveWorkout()),[]),[k,y]=(0,p.useState)(!1),F=f,v=s;(0,p.useEffect)((()=>{i&&o&&o.length===i.length?y(!0):y(!1)}),[o,i]);const B=(0,p.useMemo)((()=>o&&0!==o.length?o.length<i.length?(0,t.__)("Continue workout!","wordpress-seo"):(0,t.__)("Do workout again","wordpress-seo"):(0,t.__)("Start workout!","wordpress-seo")),[o,i]),b=(0,p.useCallback)((()=>{M(e),k&&w(e)}),[f,k,M,w]),A=(0,u.makeOutboundLink)(),x=m||(0,t.sprintf)(/* translators: %s : Expands to the add-on name. */ (0,t.__)("Unlock with %s!","wordpress-seo"),"Premium"),C=f?"":" card-disabled";return(0,z.jsxs)(p.Fragment,{children:[!g&&(0,z.jsxs)("div",{id:n,className:`card card-small${C}`,children:[(0,z.jsxs)("h2",{children:[l," ",E]}),(0,z.jsx)("h3",{children:c}),(0,z.jsxs)("div",{className:"workout-card-content-flex",children:[(0,z.jsx)("ul",{id:`${n}-usp-list`,className:"yoast-list--usp",children:r.map(((e,a)=>(0,z.jsx)("li",{id:`${n}-usp-${a}`,children:e},`${n}-${a}`)))}),s&&(0,z.jsx)(v,{})]}),(0,z.jsxs)("span",{children:[f&&(0,z.jsx)(h.NewButton,{id:`${n}-action-button`,className:"yoast-button yoast-button--"+(k?"secondary":"primary"),onClick:b,children:B}),!f&&(0,z.jsxs)(A,{id:`${n}-upsell-button`,href:d,className:"yoast-button yoast-button-upsell","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:[x,(0,z.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]}),i&&o&&(0,z.jsxs)("div",{className:"workout-card-progress",children:[(0,z.jsx)(h.ProgressBar,{id:`${n}-progress`,max:i.length,value:o.length}),(0,z.jsx)("label",{htmlFor:`${n}-progress`,children:(0,z.jsx)("i",{children:(0,t.sprintf)( // translators: %1$s: number of finished steps, %2$s: number of finishable steps (0,t.__)("%1$s/%2$s steps completed","wordpress-seo"),o.length,i.length)})})]})]})]}),f&&g===e&&(0,z.jsx)(F,{})]})}function E({workout:e=null,badges:l=[],upsellLink:c=null,upsellText:r=null}){const n=(0,a.useSelect)((e=>e("yoast-seo/workouts").getFinishedSteps(o))),s=c||"https://yoa.st/workout-cornerstone-upsell";return(0,z.jsx)(f,{id:"cornerstone-workout-card",name:o,title:(0,t.__)("The cornerstone approach","wordpress-seo"),subtitle:(0,t.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[(0,t.__)("Make your important articles rank higher","wordpress-seo"),(0,t.__)("Bring more visitors to your articles","wordpress-seo")],image:i,finishableSteps:m.cornerstone,finishedSteps:n,upsellLink:s,upsellText:r,workout:e,badges:l})}var M;function w(){return w=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},w.apply(null,arguments)}f.propTypes={name:c().string.isRequired,title:c().string.isRequired,subtitle:c().string.isRequired,usps:c().arrayOf(c().string).isRequired,id:c().string,finishableSteps:c().arrayOf(c().string),finishedSteps:c().arrayOf(c().string),image:c().elementType,upsellLink:c().string,upsellText:c().string,workout:c().elementType,badges:c().arrayOf(c().element)},E.propTypes={workout:c().elementType,badges:c().arrayOf(c().element),upsellLink:c().string,upsellText:c().string};const g=e=>r.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 299 322"},e),M||(M=r.createElement("g",{fill:"none",transform:"matrix(-1 0 0 1 298.412 0)"},r.createElement("circle",{cx:131.2,cy:190.029,r:131.2,fill:"#F0ECF0"}),r.createElement("path",{fill:"#F9BF8C",d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 0 1-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 0 0 3.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 0 1 3.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 0 1 4 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z"}),r.createElement("path",{fill:"#DB7A53",d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 0 1-.3-2.2 50.2 50.2 0 0 1-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 0 0 .6-9.5v-2a69 69 0 0 0-.3-7.8l-.2-1.6a10.5 10.5 0 0 0 2.4.3v-.1zm-11-25.6 1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z"}),r.createElement("path",{fill:"#DB7A53",d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 0 0 5.1-1.3l-.3-.2a1.6 1.6 0 0 0 .2 0 3.3 3.3 0 0 0 2.7-.6 34.2 34.2 0 0 0 6.4-4 5 5 0 0 0 2-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z"}),r.createElement("path",{fill:"#F9BF8C",d:"M223.7 76.23v.3a3.7 3.7 0 0 1-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 0 1 .3-1.7 7.1 7.1 0 0 1 2.5 2.7z"}),r.createElement("path",{fill:"#F9BF8C",d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 0 0 5.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 0 1-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 0 0 0 .3l-.3-.3a2.4 2.4 0 0 0-.9-2 10.2 10.2 0 0 0-3.2-1.9 5.5 5.5 0 0 1 2.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 0 0 .2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 0 0 0-.2l.8-1a1.3 1.3 0 0 1-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 0 1 2.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 0 0 2.5.7l16.8 5.1a7.8 7.8 0 0 1 3 2.5c3 3.9 4.4 10.7 1.3 14.6z"}),r.createElement("path",{fill:"#F9BF8C",d:"M228.6 85.73a34.2 34.2 0 0 1-6.4 4 3.3 3.3 0 0 1-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 0 0 2-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 0 0-.6-1.5 5.2 5.2 0 0 0 .8-.8 6.7 6.7 0 0 0 1.3-2 6.3 6.3 0 0 1 1.5-.4 10.2 10.2 0 0 1 3.2 1.9 2.4 2.4 0 0 1 .9 2 5 5 0 0 1-2.1 2.8zm-5-16.3a16.4 16.4 0 0 0-2.2 3.5l-.1.2a39 39 0 0 0-2.4-.6 9 9 0 0 1 2.3 1 3.2 3.2 0 0 0-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 0 1-.9 1.8 9.3 9.3 0 0 1-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 0 1 2.7-1.4 35.6 35.6 0 0 1 13 2.7c-.5.3-5.3-.2-6 .6z"}),r.createElement("path",{fill:"#F9BF8C",d:"M219.4 83.23a6 6 0 0 1-2.8.7 7.8 7.8 0 0 1-1.5-.2 4 4 0 0 0 1.5.2 9.8 9.8 0 0 0 3-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 0 1-.2 0 39 39 0 0 0-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 0 0-1.2-1.7 13 13 0 0 0-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 0 1 6.9.2l2.1.3 3.5 15.4z"}),r.createElement("path",{fill:"#DB7A53",d:"M223.7 76.23a5 5 0 0 1 .6 3.4 7 7 0 0 1 .8-.3 6.7 6.7 0 0 1-1.3 2.1 5.2 5.2 0 0 1-.8.8 1.7 1.7 0 0 0-1.2-.2l-.2 1a10 10 0 0 1-2 .7 9.8 9.8 0 0 1-3 .2 6 6 0 0 0 2.8-.7l.5-.3a9.3 9.3 0 0 0 2.7-3.3 11.3 11.3 0 0 0 1-1.9 3.7 3.7 0 0 0 .1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z"}),r.createElement("path",{fill:"#DB7A53",d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 0 1 1.1.2z"}),r.createElement("path",{fill:"#F9BF8C",d:"M201.4 91.73a3.1 3.1 0 0 0-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 0 0 5.2 2 43 43 0 0 0 4.2 2v.1zm.1-2.2h.1a30.3 30.3 0 0 0 5.4.4 30 30 0 0 0 3.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 0 0 1.1-.3zm13 2.5a1.4 1.4 0 0 0-.3 0 10.6 10.6 0 0 0-2-.4h-.4a26.6 26.6 0 0 1-3-1.8l1.7-.1a3.2 3.2 0 0 0 1.3-.4 1.2 1.2 0 0 0 .5-1l6.7 2.7-6.7-3.6a39 39 0 0 1 7 3c.1.2.3.2.4.3a8.4 8.4 0 0 1-5.2 1.3z"}),r.createElement("path",{fill:"#DB7A53",d:"M225 79.33a7 7 0 0 0-.7.3 5 5 0 0 0-.6-3.4 7.1 7.1 0 0 0-2.5-2.7 9 9 0 0 0-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 0 0 .6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 0 1-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 0 0-3-.6 6.3 6.3 0 0 0-1.4.3h-.1zm6 3.9a3 3 0 0 1 0-.3c.3 0 1 1.3 2 3a23.8 23.8 0 0 0 4.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 0 1-5.2 2.2 14 14 0 0 1-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z"}),r.createElement("path",{fill:"#F9BF8C",d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 0 0 6.4 3 1.2 1.2 0 0 1-.6 1 3.2 3.2 0 0 1-1.2.4l-1.8.1a14.4 14.4 0 0 0-3.6-1.9 13.4 13.4 0 0 1-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 0 0 0-2 3.5 3.5 0 0 1-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 0 1 2.2.4 13 13 0 0 1 5.2 3.5zm-6.1 13a39.6 39.6 0 0 1 4.7 2.2 30.3 30.3 0 0 1-5.3-.5 1.7 1.7 0 0 0 .6-1.7z"}),r.createElement("path",{fill:"#F9BF8C",d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 0 1 2 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 0 0-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 0 1-5.2-2l-.4-.3a1.7 1.7 0 0 1-.5-.5 1.5 1.5 0 0 1 0-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z"}),r.createElement("path",{fill:"#F9BF8C",d:"M199.4 86.63a5 5 0 0 0 2 .8l.9.3a1.7 1.7 0 0 1-.7 1.7v.1a2.7 2.7 0 0 1-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 0 1 .4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z"}),r.createElement("path",{fill:"#F9BF8C",d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 0 1 .8-1.6l.5 4a3 3 0 0 1-.9-.7z"}),r.createElement("path",{fill:"#DB7A53",d:"M211.8 91.63h-1.2a30 30 0 0 1-3.6-1.7 39.6 39.6 0 0 0-4.7-2.2l-.8-.3a5 5 0 0 1-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 0 0-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 0 0 .9.7 13.4 13.4 0 0 0 3 1.3 14.4 14.4 0 0 1 3.6 1.9 26.6 26.6 0 0 0 3 1.7z"}),r.createElement("path",{fill:"#DB7A53",d:"M195.8 85.33a1.7 1.7 0 0 0-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 0 0-1.3.6 43 43 0 0 1-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 0 1 .5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 0 0 .3-1 3.8 3.8 0 0 1 0 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8 5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 0 1-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z"}),r.createElement("path",{fill:"#F9BF8C",d:"M201.4 91.73a4.2 4.2 0 0 1 1.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 0 1 2 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 0 1-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 0 1 .7-2.6 3.1 3.1 0 0 1 .8-.7z"}),r.createElement("path",{fill:"#A52A6A",d:"M253.4 121.03a10.5 10.5 0 0 1-2.4-.2 5.3 5.3 0 0 1-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0 0 10.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 0 1-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z"}),r.createElement("path",{fill:"#DB7A53",d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 0 0-3.9-14.4z"}),r.createElement("path",{fill:"#009288",d:"m41.3 265.93-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 0 1 2.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 0 0-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 0 0-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 0 0-13.5 9.4l-1 1a37 37 0 0 1 4.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z"}),r.createElement("path",{fill:"#F9BF8C",d:"M29.5 189.23a37 37 0 0 1 4.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 0 1-21.4-53.5 133 133 0 0 1 28.7-24.1v.2z"}),r.createElement("path",{fill:"#DB7A53",d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z"}),r.createElement("path",{fill:"#F9BF8C",d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z"}),r.createElement("path",{fill:"#DB7A53",d:"M87.3 151.73a56.8 56.8 0 0 1-17.1-22.8 62.4 62.4 0 0 0 43 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z"}),r.createElement("path",{fill:"#216D64",d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z"}),r.createElement("path",{fill:"#F9BF8C",d:"M122.5 72.33a9.8 9.8 0 0 0-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 0 0-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14 .8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 0 0 2.5 12.1z"}),r.createElement("path",{fill:"#F9BF8C",d:"M154.7 95.83a44.5 44.5 0 0 0-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 0 0-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 0 0-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 0 1-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 0 0 1.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 0 1 .6-1h17.1a11 11 0 0 1 3.8 6.7 58.3 58.3 0 0 0 1.2-6.8l3-.2-.8.7z"}),r.createElement("path",{fill:"#D86060",d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z"}),r.createElement("path",{fill:"#BC3939",d:"m101 113.43-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 0 1-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z"}),r.createElement("path",{fill:"#FFF",d:"m108.5 84.43.2-.5a15.2 15.2 0 0 0-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 1 1 .408-9.592A4.8 4.8 0 0 1 97 85.629z"}),r.createElement("path",{fill:"#000",d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 0 0-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z"}),r.createElement("path",{fill:"#FFF",d:"M127.5 83.03h-.1a27 27 0 0 0 11.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 1 1 8.798-.2 4.4 4.4 0 0 1-8.798.2z"}),r.createElement("path",{fill:"#000",d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 0 0 1.2.1l.1.2a5 5 0 0 1-1.4.6 2.4 2.4 0 0 1-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z"}),r.createElement("path",{fill:"#B2512B",d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 0 0-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z"}),r.createElement("circle",{cx:97.1,cy:80.829,r:4.8,fill:"#000",transform:"rotate(-78.1 97.1 80.83)"}),r.createElement("circle",{cx:134.7,cy:79.329,r:4.4,fill:"#000"}),r.createElement("path",{fill:"#DB7A53",d:"M106.3 109.73a40 40 0 0 1-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0 0 13.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z"}),r.createElement("path",{fill:"#838BC5",d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 0 0 8.4-.2 3.5 3.5 0 0 0 .4 2.7l3.8 2.6a44.6 44.6 0 0 0-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 0 1-4.4 11.9l-12.4 7a10.3 10.3 0 0 0-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 0 1 3-2 9.8 9.8 0 0 0 .1 1H54zm2.7 55 1.4.7 3.5-1.6a5.5 5.5 0 0 1-2.4 1.9 10.4 10.4 0 0 1-1.2.2l-1.2-1.2h-.1z"}),r.createElement("path",{fill:"#0071BC",d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 0 1-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 0 1 0-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z"}),r.createElement("path",{fill:"#0071BC",d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 0 1-3.8-2.6 3.5 3.5 0 0 1-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 0 1-2.6 6.2 14.6 14.6 0 0 0-4.7-13.6z"}),r.createElement("path",{fill:"#DB7A53",d:"M126.1 69.33h-.7a14.6 14.6 0 0 1 3.2-1.7 14.8 14.8 0 0 0-2.5 1.7zm-.9 17.8.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 0 1 .9-8.8 9 9 0 0 1 1.3.8 16 16 0 0 0 2.5 12.1zm-2.1-14.5a6.3 6.3 0 0 0-.6-.3l.5-.9c1 0 .4.2.1 1.2z"}),r.createElement("path",{fill:"#93278F",d:"M56.7 84.03a12.7 12.7 0 0 0-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z"}),r.createElement("path",{fill:"#5D237A",d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 0 0-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0 0 12.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 0 1 1.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 0 0-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 0 0-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z"}),r.createElement("path",{fill:"#F9BF8C",d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z"}),r.createElement("path",{fill:"#CE6D42",d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z"}))));function k({workout:e=null,badges:l=[],upsellLink:c=null,upsellText:r=null}){const n=(0,a.useSelect)((e=>e("yoast-seo/workouts").getFinishedSteps(d))),s=c||"https://yoa.st/workout-orphaned-content-upsell";return(0,z.jsx)(f,{id:"orphaned-workout-card",name:d,title:(0,t.__)("Orphaned content","wordpress-seo"),subtitle:(0,t.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[(0,t.__)("Make pages easier for Google and visitors to find","wordpress-seo"),(0,t.__)("Add internal links to your posts and pages","wordpress-seo")],image:g,finishableSteps:m.orphaned,finishedSteps:n,upsellLink:s,upsellText:r,workout:e,badges:l})}k.propTypes={workout:c().elementType,badges:c().arrayOf(c().element),upsellLink:c().string,upsellText:c().string},window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:E,OrphanedWorkoutCard:k}}}})(); dist/ai-consent.js 0000644 00000046555 15174677550 0010145 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var i=typeof s;if("string"===i||"number"===i)e.push(s);else if(Array.isArray(s)){if(s.length){var o=n.apply(null,s);o&&e.push(o)}}else if("object"===i){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)r.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.data,t=window.wp.domReady;var r=s.n(t);const n=window.wp.element,i=window.wp.i18n,o=window.yoast.uiLibrary;var a=s(4184),l=s.n(a);const c=window.lodash,d=window.yoast.reduxJsToolkit,u="adminUrl",p=(0,d.createSlice)({name:u,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),y=(p.getInitialState,{selectAdminUrl:e=>(0,c.get)(e,u,"")});y.selectAdminLink=(0,d.createSelector)([y.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),p.actions,p.reducer;const m=window.wp.apiFetch;var g=s.n(m);const h="hasConsent",w=`${h}/storeConsent`,f=(0,d.createSlice)({name:h,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),v=f.getInitialState,x={selectHasAiGeneratorConsent:e=>(0,c.get)(e,[h,"hasConsent"],f.getInitialState().hasConsent),selectAiGeneratorConsentEndpoint:e=>(0,c.get)(e,[h,"endpoint"],f.getInitialState().endpoint)},k={...f.actions,storeAiGeneratorConsent:function*(e,t){try{yield{type:w,payload:{consent:e,endpoint:t}}}catch(e){return!1}return yield{type:`${h}/giveAiGeneratorConsent`,payload:e},!0}},R={[w]:async({payload:e})=>await g()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},S=f.reducer,_=window.wp.url,b="linkParams",j=(0,d.createSlice)({name:b,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),C=j.getInitialState,L={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${b}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,b,{})};L.selectLink=(0,d.createSelector)([L.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,_.addQueryArgs)(t,{...e,...s})));const q=j.actions,A=j.reducer,N=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:n})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:r||"",description:n}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),E=(N.getInitialState,N.actions,N.reducer,"pluginUrl"),O=(0,d.createSlice)({name:E,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),P=O.getInitialState,I={selectPluginUrl:e=>(0,c.get)(e,E,"")};I.selectImageLink=(0,d.createSelector)([I.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/")));const M=O.actions,T=O.reducer,B="loading",G="wistiaEmbedPermission",U=(0,d.createSlice)({name:G,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${G}/request`,(e=>{e.status=B})),e.addCase(`${G}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${G}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}}))}});var z;U.getInitialState,U.actions,U.reducer;const $=(0,d.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(z=document)||void 0===z?void 0:z.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),F=($.getInitialState,$.actions,$.reducer,window.React),H=(F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),(e,t)=>{try{return(0,n.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}}),V=window.yoast.propTypes;var W=s.n(V);const Y=window.ReactJSXRuntime;W().string.isRequired,F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));const D=F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));W().string.isRequired,W().string.isRequired,W().shape({src:W().string.isRequired,width:W().string,height:W().string}).isRequired,W().shape({value:W().bool.isRequired,status:W().string.isRequired,set:W().func.isRequired}).isRequired,W().string,W().string,W().string;const J=({handleRefreshClick:e,supportLink:t})=>(0,Y.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,Y.jsx)(o.Button,{onClick:e,children:(0,i.__)("Refresh this page","wordpress-seo")}),(0,Y.jsx)(o.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,i.__)("Contact support","wordpress-seo")})]});J.propTypes={handleRefreshClick:W().func.isRequired,supportLink:W().string.isRequired};const Q=({handleRefreshClick:e,supportLink:t})=>(0,Y.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,Y.jsx)(o.Button,{className:"yst-order-last",onClick:e,children:(0,i.__)("Refresh this page","wordpress-seo")}),(0,Y.jsx)(o.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,i.__)("Contact support","wordpress-seo")})]});Q.propTypes={handleRefreshClick:W().func.isRequired,supportLink:W().string.isRequired};const X=({error:e,children:t=null})=>(0,Y.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,Y.jsx)(o.Title,{children:(0,i.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,Y.jsx)("p",{children:(0,i.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,Y.jsx)(o.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,i.__)("Undefined error message.","wordpress-seo")}),(0,Y.jsx)("p",{children:(0,i.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});X.propTypes={error:W().object.isRequired,children:W().node},X.VerticalButtons=Q,X.HorizontalButtons=J;W().string,W().node.isRequired,W().node.isRequired,W().node,W().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const K=window.ReactDOM;var Z,ee,te;(ee=Z||(Z={})).Pop="POP",ee.Push="PUSH",ee.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(te||(te={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const se=["post","put","patch","delete"],re=(new Set(se),["get",...se]);new Set(re),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),F.Component,F.startTransition,new Promise((()=>{})),F.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var ne,ie,oe,ae;new Map,F.startTransition,K.flushSync,F.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(ae=ne||(ne={})).UseScrollRestoration="useScrollRestoration",ae.UseSubmit="useSubmit",ae.UseSubmitFetcher="useSubmitFetcher",ae.UseFetcher="useFetcher",ae.useViewTransitionState="useViewTransitionState",(oe=ie||(ie={})).UseFetcher="useFetcher",oe.UseFetchers="useFetchers",oe.UseScrollRestoration="useScrollRestoration",W().string.isRequired,W().string;const le=({href:e,children:t=null,...s})=>(0,Y.jsxs)(o.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,Y.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,i.__)("(Opens in a new browser tab)","wordpress-seo")})]});le.propTypes={href:W().string.isRequired,children:W().node};F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),(0,i.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,i.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,i.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,i.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,i.__)("Add product details to help your listings stand out","wordpress-seo"),(0,i.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,i.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,i.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,i.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,i.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,i.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,i.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,i.__)("Internal links and redirect management, easy","wordpress-seo"),(0,i.__)("Access to friendly help when you need it, day or night","wordpress-seo");W().string.isRequired,W().object.isRequired,W().func.isRequired,F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),W().string.isRequired,W().object,W().func.isRequired,W().bool.isRequired,W().string.isRequired,W().object.isRequired,W().string.isRequired,W().func.isRequired,W().bool.isRequired;const ce=F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))}));W().bool.isRequired,W().func,W().func,W().string.isRequired,W().string.isRequired,W().string.isRequired,W().string.isRequired;window.yoast.reactHelmet;W().string.isRequired,W().shape({src:W().string.isRequired,width:W().string,height:W().string}).isRequired,W().shape({value:W().bool.isRequired,status:W().string.isRequired,set:W().func.isRequired}).isRequired,W().bool,F.forwardRef((function(e,t){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),F.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),W().bool.isRequired,W().func.isRequired,W().func,W().string;const de=({onGiveConsent:e,learnMoreLink:t,privacyPolicyLink:s,termsOfServiceLink:r,imageLink:a})=>{const{onClose:l,initialFocus:c}=(0,o.useModalContext)(),[d,u]=(0,o.useToggleState)(!1),p=(0,n.useMemo)((()=>({src:a,width:"432",height:"244"})),[a]),y=H((0,i.sprintf)(/* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */ (0,i.__)("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,Y.jsx)(le,{href:r}),a2:(0,Y.jsx)(le,{href:s})}),[m,g]=(0,o.useToggleState)(!1),h=(0,n.useCallback)((async()=>{g(),await e(),g()}),[e]);return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:(0,Y.jsx)("div",{className:"yst-relative yst-w-full",children:(0,Y.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:"",loading:"lazy",decoding:"async",...p})})}),(0,Y.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Y.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Y.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,i.sprintf)(/* translators: %s expands to Yoast AI. */ (0,i.__)("Grant consent for %s","wordpress-seo"),"Yoast AI")}),(0,Y.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:H((0,i.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */ (0,i.__)("Enable AI-powered SEO! Use all Yoast AI features to boost your efficiency. Just give us the green light. %1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),{a:(0,Y.jsx)(le,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,Y.jsx)(D,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,Y.jsx)("br",{})})})]}),(0,Y.jsx)("div",{className:"yst-flex yst-w-full yst-mt-6",children:(0,Y.jsx)("hr",{className:"yst-w-full yst-text-gray-200"})}),(0,Y.jsxs)("div",{className:"yst-flex yst-items-start yst-mt-4",children:[(0,Y.jsx)("input",{type:"checkbox",id:"yst-ai-consent-checkbox",name:"yst-ai-consent-checkbox",checked:d,value:d?"true":"false",onChange:u,className:"yst-checkbox__input",ref:c}),(0,Y.jsx)("label",{htmlFor:"yst-ai-consent-checkbox",className:"yst-label yst-checkbox__label yst-text-xs yst-font-normal yst-text-slate-500",children:y})]}),(0,Y.jsx)("div",{className:"yst-w-full yst-flex yst-mt-4",children:(0,Y.jsxs)(o.Button,{as:"button",className:"yst-grow",size:"large",disabled:!d,onClick:h,children:[m&&(0,Y.jsx)(o.Spinner,{className:"yst-me-2"}),(0,i.__)("Grant consent","wordpress-seo")]})}),(0,Y.jsx)(o.Button,{as:"button",className:"yst-mt-4",variant:"tertiary",onClick:l,children:(0,i.__)("Close","wordpress-seo")})]})]})};de.propTypes={onGiveConsent:W().func.isRequired,learnMoreLink:W().string.isRequired,privacyPolicyLink:W().string.isRequired,termsOfServiceLink:W().string.isRequired,imageLink:W().string.isRequired};const ue="yoast-seo/ai-consent",pe=({onStartGenerating:t})=>{const{termsOfServiceLink:s,privacyPolicyLink:r,learnMoreLink:i,imageLink:o,endpoint:a}=(0,e.useSelect)((e=>{const t=e(ue);return{termsOfServiceLink:t.selectLink("https://yoa.st/ai-fix-assessments-terms-of-service"),privacyPolicyLink:t.selectLink("https://yoa.st/ai-fix-assessments-privacy-policy"),learnMoreLink:t.selectLink("https://yoa.st/ai-fix-assessments-consent-learn-more"),imageLink:t.selectImageLink("ai-consent.png"),endpoint:t.selectAiGeneratorConsentEndpoint()}}),[]),{storeAiGeneratorConsent:l}=(0,e.useDispatch)(ue),c=(0,n.useCallback)((()=>{l(!0,a),t()}),[l,t]);return(0,Y.jsx)(de,{imageLink:o,onGiveConsent:c,learnMoreLink:i,termsOfServiceLink:s,privacyPolicyLink:r})},ye=({onClose:t})=>{const{storeAiGeneratorConsent:s}=(0,e.useDispatch)(ue),r=(0,e.useSelect)((e=>e(ue).selectAiGeneratorConsentEndpoint()),[]),[a,l]=(0,n.useState)(!1),[c,d]=(0,n.useState)(!1),u=(0,n.useCallback)((async()=>{if(d(!1),l(!0),!1===(await s(!1,r)).consent)return d(!0),void l(!1);t(),l(!1)}),[s,l,t,r]);return(0,Y.jsxs)("div",{className:"yst-flex yst-flex-row",children:[(0,Y.jsx)("span",{className:"yst-shrink-0 yst-h-12 yst-w-12 yst-rounded-full yst-flex yst-justify-center yst-items-center yst-mb-3 yst-me-5 yst-bg-red-100",children:(0,Y.jsx)(ce,{className:"yst-w-6 yst-h-6 yst-align-center yst-text-red-600"})}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)(o.Modal.Title,{className:"yst-font-semibold",as:"h3",size:"4",children:(0,i.__)("Revoke AI consent","wordpress-seo")}),c&&(0,Y.jsx)(o.Alert,{className:"yst-mt-2",variant:"error",children:(0,i.__)("Something went wrong, please try again later.","wordpress-seo")}),(0,Y.jsx)("p",{className:"yst-mt-2 yst-text-slate-600",children:(0,i.__)("By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?","wordpress-seo")}),(0,Y.jsxs)("footer",{className:"yst-mt-6 sm:yst-flex sm:yst-flex-row-reverse",children:[(0,Y.jsx)(o.Button,{variant:"error",isLoading:a,className:"yst-w-full sm:yst-w-auto yst-revoke-button",onClick:u,children:(0,i.__)("Yes, revoke consent","wordpress-seo")}),(0,Y.jsx)(o.Button,{variant:"secondary",className:"yst-w-full sm:yst-w-auto yst-me-3",onClick:t,children:(0,i.__)("Close","wordpress-seo")})]})]})]})};r()((()=>{((t={})=>{(0,e.register)((t=>(0,e.createReduxStore)(ue,{actions:{...k,...M,...q},selectors:{...x,...I,...L},initialState:(0,c.merge)({},{[h]:v(),[E]:P(),[b]:C()},t),reducer:(0,e.combineReducers)({[h]:S,[E]:T,[b]:A}),controls:{...R}}))(t))})({[h]:{hasConsent:"1"===(0,c.get)(window,"wpseoAiConsent.hasConsent",!1)},[E]:(0,c.get)(window,"wpseoAiConsent.pluginUrl",""),[b]:(0,c.get)(window,"wpseoAiConsent.linkParams",{})});const t=()=>{const t=(0,e.useSelect)((e=>e(ue).selectHasAiGeneratorConsent()),[]),[s,,,r,a]=(0,o.useToggleState)(!1),c=(0,n.useRef)(null),d=(0,n.useCallback)((e=>{if(e.isTrusted)return e.currentTarget===e.target&&void r()}),[r]);return(0,Y.jsxs)(n.Fragment,{children:[(0,Y.jsx)(o.Modal,{className:"yst-introduction-modal",isOpen:s,onClose:a,initialFocus:c,children:(0,Y.jsxs)(o.Modal.Panel,{className:l()(!t&&"yst-p-0 yst-max-w-lg yst-rounded-3xl",t&&"yst-max-w-xl yst-rounded-lg"),children:[!t&&(0,Y.jsx)(pe,{onStartGenerating:a,focusElementRef:c}),t&&(0,Y.jsx)(ye,{onClose:a})]})}),(0,Y.jsx)("button",{className:"button",id:"ai-generator-consent-button",type:"button",onClick:d,children:t?(0,i.__)("Revoke consent","wordpress-seo"):(0,i.__)("Grant consent","wordpress-seo")})]})},s=document.getElementById("ai-generator-consent");s&&(0,n.render)((0,Y.jsx)(t,{}),s)}))})()})(); dist/import.js 0000644 00000013417 15174677550 0007406 0 ustar 00 (()=>{"use strict";var t={n:e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},d:(e,s)=>{for(var n in s)t.o(s,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:s[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.jQuery;var s=t.n(e);const n=window.wp.i18n;class a extends Error{constructor(t){super(t),this.name="ImportValidationError"}}const i=window.lodash;class o extends Error{constructor(t,e,s,n,a){super(t),this.name="RequestError",this.url=e,this.method=s,this.statusCode=n,this.stackTrace=a}}class r extends Error{constructor(t,e){super(t),this.name="ParseError",this.parseString=e}}class d{constructor(t,e=[],s=[]){this.settings=t,(0,i.isObject)(e)?this.preIndexingActions=(0,i.pickBy)(e,i.isFunction):this.preIndexingActions={},(0,i.isObject)(s)?this.postIndexingActions=(0,i.pickBy)(s,i.isFunction):this.postIndexingActions={}}async index(t,e){if(!(0,i.isObject)(t))return 0;let s=0;for(const n of Object.keys(t)){const a=t[n];s=await this.handleEndpoint(n,a,s,e)}return s}async handleEndpoint(t,e,s,n){let a=this.settings.restApi.root+e;for(;!1!==a;){await this.doPreIndexingAction(t);const e=await this.doIndexingRequest(a);await this.doPostIndexingAction(t,e),n(s+=e.objects.length),a=!!e.next_url&&this.settings.restApi.root+e.next_url}return s}async doIndexingRequest(t){const e=await fetch(t,{method:"POST",headers:{"X-WP-Nonce":this.settings.restApi.nonce}}),s=await e.text();let n;try{n=JSON.parse(s)}catch(t){throw new r("Error parsing the response to JSON.",s)}if(!e.ok){const s=n.data?n.data.stackTrace:"";throw"wpseo_error_validation"===(n.code?n.code:"")?new a(n.message):new o(n.message,t,"POST",e.status,s)}return n}async doPreIndexingAction(t){this.preIndexingActions[t]&&await this.preIndexingActions[t](this.settings)}async doPostIndexingAction(t,e){this.postIndexingActions[t]&&await this.postIndexingActions[t](e.objects,this.settings)}}const p="WPSEO_Import_AIOSEO_V4";let c,l,m,h,u,g,w,f,y,x,_,I;function v(t){var e=m,s=f,n=c;"import"===t&&(e=g,s=y,n=h),e.children(".yoast-import-spinner").show(),s.show(),e.closest("div").find(".yoast-import-failure").remove(),n.prop("disabled",!0)}function b(t){v("import")}function D(t){v("cleanup")}function A(t){var e=m,n=f,a=c,i=l;"import"===t&&(e=g,n=y,a=h,i=u),e.children(".yoast-import-spinner").hide(),n.hide(),e.children(".yoast-import-success-mark").show(),e.closest("div").find(".yoast-import-failure").remove(),a.prop("disabled",!1),s()("option:selected",i).remove(),s()("option[value='']",i).prop("selected",!0),i.trigger("change"),i.children("option").length<2&&(i.prop("disabled",!0),e.after(s()("<p></p>").text(window.yoastImportData.assets.no_data_msg)))}function O(){A("import")}function E(){A("cleanup")}function P(t,e){var i,o=m,r=f,d=c,p=window.yoastImportData.assets.cleanup_failure;"import"===e&&(o=g,r=y,d=h,p=window.yoastImportData.assets.import_failure),o.children(".yoast-import-spinner").hide(),r.hide(),d.prop("disabled",!1),i=t instanceof a?window.yoastImportData.assets.validation_failure:(0,n.sprintf)(p,"<strong>"+t+"</strong>");var l=s()("<div>").addClass("yoast-measure yoast-import-failure").html(i);o.after(l)}function j(t){P(t,"import")}function k(t){P(t,"cleanup")}function S(t){u.val()===p&&(t.preventDefault(),new d(window.yoastImportData).index(window.yoastImportData.restApi.importing_endpoints.aioseo,b).then(O).catch(j))}function C(t){l.val()===p&&(t.preventDefault(),new d(window.yoastImportData).index(window.yoastImportData.restApi.cleanup_endpoints.aioseo,D).then(E).catch(k))}function T(t){var e,a,i,o=t.closest("form").find("input[type=submit]");t.on("change",(function(){""!==(e=s()(this).find("option:selected").attr("value"))?(o.prop("disabled",!1),t===u&&(a=(0,n.sprintf)(window.yoastImportData.assets.replacing_texts.select_header,s()(this).find("option:selected").text()),i=e===p?window.yoastImportData.assets.replacing_texts.plugins.aioseo:window.yoastImportData.assets.replacing_texts.plugins.other,a+="<ul style='list-style: disc; padding: 0 15px;'>",i.forEach((function(t){a+="<li>"+t.data_name+"<br/><i>"+t.data_note+"</i></li>"})),a+="</ul>",I.html(a))):o.prop("disabled",!0)}))}s()((function(){c=s()("[name='clean_external']"),c.val(window.yoastImportData.assets.replacing_texts.cleanup_button),l=s()("[name='clean_external_plugin']"),m=s()(c).parents("form:first"),h=s()("[name='import_external']"),u=s()("[name='import_external_plugin']"),g=s()(h).parents("form:first"),g.after(s()("<p></p>").html("<strong>"+window.yoastImportData.assets.note+"</strong>"+window.yoastImportData.assets.cleanup_after_import_msg)),w=s()("<img>").addClass("yoast-import-spinner").attr("src",window.yoastImportData.assets.spinner).css({display:"inline-block","margin-left":"10px","vertical-align":"middle"}).hide(),y=s()("<span>").html(window.yoastImportData.assets.loading_msg_import).css({"margin-left":"5px","vertical-align":"middle"}).hide(),f=s()("<span>").html(window.yoastImportData.assets.loading_msg_cleanup).css({"margin-left":"5px","vertical-align":"middle"}).hide(),x=s()("<span>").addClass("dashicons dashicons-yes-alt yoast-import-success-mark").css({"margin-left":"10px","vertical-align":"middle",color:"green"}).hide(),I=s()(".yoast-import-explanation"),I.html(window.yoastImportData.assets.replacing_texts.import_explanation),_=s()(".yoast-cleanup-explanation"),_.html(window.yoastImportData.assets.replacing_texts.cleanup_explanation),u&&(T(u),u.append("<option value='' disabled='disabled' selected hidden>— "+window.yoastImportData.assets.select_placeholder+" —</option>").trigger("change")),l&&(T(l),l.append("<option value='' disabled='disabled' selected hidden>— "+window.yoastImportData.assets.select_placeholder+" —</option>").trigger("change")),g&&g.on("submit",S),m&&m.on("submit",C),s()(x).insertAfter([h,c]),s()(y).insertAfter(h),s()(f).insertAfter(c),s()(w).insertAfter([h,c])}))})(); dist/languages/pt.js 0000644 00000173364 15174677550 0010475 0 ustar 00 (()=>{"use strict";var a={d:(d,e)=>{for(var i in e)a.o(e,i)&&!a.o(d,i)&&Object.defineProperty(d,i,{enumerable:!0,get:e[i]})},o:(a,d)=>Object.prototype.hasOwnProperty.call(a,d),r:a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},d={};a.r(d),a.d(d,{default:()=>pa});const e=window.yoast.analysis,i=["o","a","os","as","um","uma","uns","umas","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","este","estes","esta","estas","esse","esses","essa","essas","aquele","aqueles","aquela","aquelas","isto","isso","aquilo"],r=["ademais","afinal","aliás","analogamente","anteriormente","assim","atualmente","certamente","conforme","conquanto","contudo","decerto","embora","enfim","enquanto","então","entretanto","eventualmente","igualmente","inegavelmente","inesperadamente","mas","ocasionalmente","outrossim","pois","porquanto","porque","portanto","posteriormente","precipuamente","primeiramente","primordialmente","principalmente","salvo","semelhantemente","similarmente","sobretudo","surpreendentemente","todavia","logo","inclusive"],s=r.concat(["a fim de","a fim de que","a menos que","a princípio","a saber","acima de tudo","ainda assim","ainda mais","ainda que","além disso","antes de mais nada","antes de tudo","antes que","ao mesmo tempo","ao passo que","ao propósito","apesar de","apesar disso","às vezes","assim como","assim que","assim sendo","assim também","bem como","com a finalidade de","com efeito","com o fim de","com o intuito de","com o propósito de","com toda a certeza","como resultado","como se","da mesma forma","de acordo com","de conformidade com","de fato","de maneira idêntica","de tal forma que","de tal sorte que","depois que","desde que","dessa forma","dessa maneira","desse modo","do mesmo modo","é provável","em conclusão","em contrapartida","em contraste com","em outras palavras","em primeiro lugar","em princípio","em resumo","em seguida","em segundo lugar","em síntese","em suma","em terceiro lugar","em virtude de","finalmente","isto é","já que","juntamente com","logo após","logo depois","logo que","mesmo que","não apenas","nesse hiato","nesse ínterim","nesse meio tempo","nesse sentido","no entanto","no momento em que","ou por outra","ou seja","para que","pelo contrário","por analogia","por causa de","por certo","por conseguinte","por consequência","por conseqüência","porém","por exemplo","por fim","por isso","por mais que","por menos que","por outro lado","por vezes","posto que","se acaso","se bem que","seja como for","sem dúvida","sempre que","só para exemplificar","só para ilustrar","só que","sob o mesmo ponto de vista","talvez provavelmente","tanto quanto","todas as vezes que","todas as vezes em que","uma vez que","visto que","de repente","nada obstante","não obstante","de qualquer forma","diga-se de passagem","de qualquer jeito","de vez em quando","aos poucos","claro que","no geral","em geral","geralmente","subitamente","a despeito de","em razão de","em razão disso","razão pela qual","por essa razão","por motivo de","devido a","em todo o caso","de qualquer maneira","de todo modo","de todo a modo","de qualquer modo","de forma que","de modo que","de tempos em tempos","daí em diante"," daí por diante","de hoje em diante","a partir de agora","de agora em diante"]);function o(a){let d=a;return a.forEach((e=>{(e=e.split("-")).length>0&&e.filter((d=>!a.includes(d))).length>0&&(d=d.concat(e))})),d}const t=["o","a","os","as","um","uns","uma","umas"],n=["uma","duas","dois","três","cuatro","cinco","seis","sete","oito","nove","dez","onze","doze","treze","quatorze","catorze","quinze","dezesseis","dezessete","dezasseis","dezassete","dezoito","dezenove","dezanove","vinte","cem","cento","mil","milhão","milhões","bilhão","bilhões"],c=["primeiro","primeiros","primeira","primeiras","segundo","segunda","segundos","segundas","terceiro","terceira","terceiros","terceiras","quarto","quartos","quarta","quartas","quinto","quintos","quinta","quintas","sexto","sextos","sexta","sextas","sétimo","sétimos","sétima","sétimas","oitavo","oitavos","oitava","oitavas","nono","nonos","nona","nonas","décimo","décimos","décima","décimas","vigésimo","vigésimos","vigésima","vigésimas"],l=["eu","tu","ele","ela","nós","vós","você","vocês","eles","elas"],u=["me","te","lhe","nos","vos","lhes"],m=["dele","dela","deles","delas","nele","nela","neles","nelas","mim","ti","si"],p=["conmigo","contigo","consigo","convosco","conosco","connosco"],g=["se"],f=["aquilo","àquele","àquela","àqueles","àquelas","àquilo","este","estes","esta","estas","àqueles","aqueles","aquele","aquela","aquelas","aquilo","esse","esses","essa","essas","isto","isso"],v=["minhas","tuas","suas","minha","tua","sua","minhas","tuas","suas","vossa","vossas","meu","meus","teu","teus","seu","seus","nosso","nossos","nossa","nossas"],b=["apenas","vário","vários","vária","várias","mais","muito","muitos","muita","muitas","puoco","puocos","puoca","puocas","bastante","todo","todos","toda","todas"],h=["alguma","algumas","nenhuns","nenhumas","todo","toda","todas","outro","outra","outros","outras","qualquer","quaisquer","outrem","tudo","nada","algo","tanto","tanta","tantos","tantas","quanto","quanta","quantos","quantas","ninguém","cada"],z=["quais","qual","quem","cujo","cuja","cujos","cujas"],q=["como","porque","quanto","quanta","onde","quando","quão","quantos","quantas","donde","aonde","que"],j=["cá","além","aqui","ali","lá","acolá","aí"],x=["tenho","tens","tem","temos","tendes","têm","tive","tiveste","teve","tivemos","tivestes","tiveram","tínhamos","tínheis","tinham","tivera","tiveras","tivéramos","tivéreis","tiveram","terei","terás","terá","teremos","tereis","terão","teria","terias","teríamos","teríeis","teriam","tenha","tenhas","tenhamos","tenhais","tenham","tivesse","tivesses","tivéssemos","tivésseis","tivessem","tiver","tiveres","tivermos","tiverdes","tiverem","tende","teres","termos","terdes","terem","tido","hei","hás","há","havemos","hemos","haveis","heis","hão","houve","houveste","houvemos","houvestes","houveram","havia","havias","havíamos","havíeis","haviam","houvera","houveras","houvéramos","houvéreis","houveram","haverei","haverás","haverá","haveremos","havereis","haverão","haveria","haverias","haveríamos","haveríeis","haveriam","haja","hajas","hajamos","hajais","hajam","houvesse","houvesses","houvéssemos","houvésseis","houvessem","houver","houveres","houvermos","houverdes","houverem","havei","hajais","haveres","havermos","haverdes","haverem","havido","poder","posso","podes","pode","podemos","podeis","podem","pude","pudeste","pôde","pudemos","pudestes","puderam","podia","podias","podia","podíamos","podíeis","podiam","pudera","puderas","pudéramos","pudéreis","puderam","poderei","poderás","poderá","poderemos","podereis","poderão","poderia","poderias","poderíamos","poderíeis","poderiam","possa","possas","possamos","possais","possam","pudesse","pudesses","pudéssemos","pudésseis","pudessem","puder","puderes","pudermos","puderdes","puderem"],y=["ter","haver"],w=["sou","és","é","somos","sois","são","fui","foste","foi","fomos","fostes","foram","era","eras","éramos","éreis","eram","fôramos","fôreis","fora","foras","foram","serei","serás","será","seremos","sereis","serão","seria","serias","seríamos","seríeis","seriam","seja","sejas","seja","sejamos","sejais","sejam","fosse","fosses","fôssemos","fôsseis","fossem","for","fores","formos","fordes","forem","sê","sede","sermos","serdes","serem","seres","sido","estou","está","estamos","estás","estás","estais","estão","estive","estiveste","esteve","estivemos","estivestes","estiveram","estava","estavas","estávamos","estáveis","estavam","estivera","estiveras","estivéramos","estivéreis","estiveram","estarei","estarás","estará","estaremos","estareis","estarão","estaria","estarias","estaríamos","estaríeis","estariam","esteja","estejas","estejamos","estejais","estejam","estivesse","estivesses","estivéssemos","estivésseis","estivessem","estiver","estiveres","estivermos","estiverdes","estiverem","estai","estejas","estejais","estares","estarmos","estardes","estarem","estado"],S=["estar","ser"],C=["a","ante","antes","após","até","através","com","contra","depois","desde","sem","entre","para","pra","perante","sob","sobre","trás","de","por","em","ao","à","aos","às","do","da","dos","das","dum","duma","duns","dumas","no","na","nos","nas","num","numa","nuns","numas","pelo","pela","pelos","pelas","deste","desse","daquele","desta","dessa","daquela","destes","desses","daqueles","destas","dessas","daquelas","neste","nesse","naquele","nesta","nessa","naquela","nestes","nesses","naqueles","nestas","nessas","naquelas","disto","disso","daquilo","nisto","nisso","naquilo","durante"],P=["também","e","ou","nem"],W=["agora","conforme","conquanto","contanto","embora","enquanto","então","entretanto","malgrado","mas","pois","porém","porquanto","porque","senão","contudo"],k=["diz","dizem","disse","disseram","dizia","diziam","reivindica","reivindicam","reivindicou","reivindicaram","reivindicava","reivindicavam","requer","requerem","requereu","requereram","requeria","requeriam","afirma","afirmam","afirmou","afirmaram","afirmava","afirmavam","reivindica","reivindicam","reivindicou","reivindicaram","reivindicava","reivindicavam","perguntam","perguntou","perguntaram","perguntava","perguntavam","explica","explicam","explicou","explicaram","explicava","explicavam","relata","relatam","relatou","relataram"],T=["provavelmente","imediatamente","ocasionalmente","indubitavelmente","para","possivelmente","logo","simultaneamente","exceto","inquestionavelmente"],O=["extremamente","bem","completamente","totalmente","grandemente","seriamente","absolutamente","bastante","sobremodo","sobremaneira","tão"],E=["dou","dás","dá","damos","dais","dão","dei","deu","demos","deram","dava","davas","dávamos","dáveis","davam","dera","deras","déramos","déreis","deram","darei","darás","dará","daremos","dareis","darão","daria","darias","daríamos","daríeis","dariam","dê","dês","dêmos","deis","deem","déssemos","désseis","dessem","der","deres","dermos","derdes","derem","dai","deis","dares","darmos","dardes","darem","fazendo","faço","fazes","faz","fazemos","fazeis","fazem","fiz","fizeste","fez","fizemos","fizestes","fizeram","fazia","fazias","fazíamos","fazíeis","faziam","fizera","fizeras","fizéramos","fizéreis","farei","farás","fará","faremos","fareis","faria","farias","faríamos","faríeis","fariam","faça","faças","façamos","façais","façam","fizesse","fizesses","fizéssemos","fizésseis","fizessem","fizer","fizeres","fizermos","fizerdes","fizerem","fazei","fazeres","fazermos","fazerdes","fazerem"],M=["dar","fazer"],R=["devagar","rapidamente","grande","grandes","depressa","claramente","effectivamente","realmente","exclusivamente","simplesemente","somente","unicamente","lentamente","raramente","certamente","talvez","actualmente","dificilmente","principalmente","gerlamente","enorme","enormes","pequeno","pequena","pequenos","pequenas","minúsculo","minúsculos","minúscula","minúsculas","velho","velhos","velha","velhas","lindo","linda","lindos","lindas","alto","alta","altos","altas","baixo","baixa","baixos","baixas","longo","longa","longos","longas","curto","curta","curtos","curtas","fácil","fáceis","difícil","difíceis","simples","mesmo","mesma","mesmos","mesmas","mêsmo","mêsmos","mêsma","mêsmas","cedo","tarde","importante","importantes","capaz","capazes","certo","certa","certos","certas","usual","usuals","ultimamente","possível","possíveis","comum","comuns","freqüentemente","constantemente","continuamente","diretamente","levemente","algures","semelhante","semelhantes","similar","similares","sempre","ainda","já","atrás","depois"],A=["pior","melhor","melhores","bom","boa","bons","boas","bonito","bonita","bonitos","bonitas","grande","grandes","pequeno","pequena","pequenos","pequenas","velho","velhos","velha","velhas","mau","má","maus","más"],I=["ai","ah","ih","alô","oi","olá","ui","uf","psiu","mau","olha","viva","uau","wow","oh","shi"],L=["kg","mg","gr","g","km","m","l","ml","cl"],_=["segundos","minuto","minutos","hora","horas","dia","dias","semana","semanas","mes","meses","ano","anos","hoje","amanhã","ontem"],N=["caso","casos","coisa","coisas","detalhe","detalhes","forma","formas","jeito","jeitos","maneira","maneiras","modo","modos","suijeto","sujeitos","tópico","tópicos","vez","vezes"],U=["sim","não","ok","amém","etc","euro","euros","adeus","jeitos"],V=["sr","sra","sras","dr","dra","prof"],D=(o(R),o([].concat(c,y,S,M,A)),o([].concat(t,C,P,f,O,b,v)),o([].concat(r,n,l,u,m,p,g,h,z,q,j,x,w,W,k,T,E,I,L,_,N,U,V)),o([].concat(t,C,u,v,h,q,n,c,E,M,k))),F=o([].concat(t,n,c,l,u,m,p,g,f,v,b,h,z,q,j,x,y,w,S,C,P,W,k,T,O,E,M,R,A,I,L,_,N,U,V)),G=["que ","como","e","nem","se","caso","conforme","consoante","porque","pois","segundo ","enquanto","embora","conquanto","quanto menos","quanto mais","quando","mal ","apenas","ora","seja","quer","já","logo","portanto","por isso","pois","рог conseguinte","ou seja ","isto é","quer dizer","a saber","ou melhor","mas","também","sim","porém","contudo","senão","todavia","mas ainda","no entanto","entretanto"],J=[["não apenas","como também"],["não só","bem como"],["não só","como também"],["não só","mas também"],["ora","ora"],["ou","ou"],["quer","quer"]],$=JSON.parse('{"vowels":"aeiouáéíóúàâêôãõü","deviations":{"vowels":[{"fragments":["(gu|qu)[aeoáéíóúêã]"],"countModifier":-1},{"fragments":["[^(g|q|a)][aeiou][aeo]$"],"countModifier":-1},{"fragments":["[aeiouáéíóúàâêôü][aeo]","[aeiou][íúáéóãê]"],"countModifier":1},{"fragments":["aí[ae]"],"countModifier":1}],"words":{"full":[{"word":"delegacia","syllables":5},{"word":"democracia","syllables":5},{"word":"parceria","syllables":4},{"word":"secretaria","syllables":5}],"fragments":[]}}}'),B={recommendedLength:25},H=["ab-rogad","abrogad","abacharelad","abacinad","abafad","abainhad","abaixad","abalad","abalienad","abalroad","abanad","abandad","abandonad","abarbad","abarcad","abarregad","abarrotad","abastardad","abastecid","abatid","abdicad","abduzid","abençoad","aberrad","abert","abespinhad","abestad","abirritad","abismad","abjurad","ablaquead","ablegad","abluíd","abnegad","abobadad","abobad","abocanhad","abolid","abominad","abordad","abortad","abotoad","abraçad","abrandad","abrangid","abrasad","abrasileirad","abreviad","abrigad","abroquelad","abscedid","abscindid","absolutizad","absolvid","absort","absorvid","abstid","abstraíd","abundad","abusad","acabad","acabrunhad","açacalad","academizad","acalentad","acalmad","acamad","acampad","acaramelad","acarditad","acariciad","acarretad","acartad","acastelad","acatad","acautelad","accentuad","acclarad","accolhid","accordad","accreditad","accusad","acedid","aceitad","acelerad","acenad","acendid","acentuad","acerad","acerbad","acercad","acertad","acervad","acessad","acetificad","achad","achanad","achaparrad","achatad","achegad","acicatad","acidificad","acidulad","acinzentad","acionad","acirrad","aclamad","aclarad","aclimad","aclimatad","acobardad","acobertad","açodad","acoimad","açoitad","acolchoad","acolhid","acometid","acomodad","acompanhad","acompridad","aconchegad","acondicionad","aconselhad","acontecid","acoplad","acordad","acorrentad","acortinad","acostad","acostumad","açoutad","acovardad","acreditad","acrescentad","acrescid","acromatizad","activad","actuad","actualizad","açucarad","acudid","açulad","acuminad","acumulad","acusad","adaptad","adelgaçad","adentrad","adequad","aderid","adestrad","adherid","adiad","adiantad","adicionad","adid","aditad","adivinhad","adjetivad","adjudicad","administrad","admirad","admitid","admoestad","adoçad","adocicad","adoecid","adoptad","adorad","adormecid","adornad","adotad","adquirid","adsorvid","adulad","adulterad","aduzid","advertid","advind","advocad","aerad","afadigad","afagad","afamad","afastad","afazendad","afectad","afeiçoad","afeit","aferventad","afetad","afiad","afiançad","afigurad","afilad","afiliad","afinad","afirmad","afivelad","afixad","afligid","aflorad","afluíd","afobad","afogad","afrancesad","afrontad","afrouxad","afugentad","afundad","afundid","agachad","agaload","agarrad","agasalhad","agastad","agendad","agid","agilizad","agitad","aglomerad","aglutinad","agoirad","agoirentad","agoniad","agonizad","agourad","agourentad","agraciad","agradad","agradecid","agrafad","agravad","agredid","agregad","agrilhoad","agrupad","aguad","aguardad","aguçad","aguentad","agüentad","aguilhoad","aguisad","airad","ajeitad","ajoelhad","ajudad","ajuizad","ajuntad","ajustad","alad","alagad","alambicad","alapad","alardead","alargad","alarmad","alastrad","albergad","alçad","alcaguetad","alcalinizad","alcançad","alcatroad","alcoolizad","alcovitad","alcunhad","aleatorizad","alegad","alegorizad","alegrad","aleitad","alentad","alertad","alevantad","alfabetizad","alforriad","algemad","alhead","aliad","alicatead","alicerçad","aliciad","alienad","aligeirad","alijad","alimentad","alinhad","alisad","alistad","aliviad","almejad","almoçad","almoedad","alocad","aloirad","alojad","alongad","alourad","altead","alterad","altercad","alternad","alucinad","aludid","alugad","alumiad","alunad","alunissad","aluviad","alvejad","alvoroçad","alvorotad","amaciad","amad","amadurecid","amainad","amaldiçoad","amalgamad","amamentad","amancebad","amanhad","amanhecid","amansad","amanteigad","amarrad","amassad","amaynad","ameaçad","amead","amealhad","amedorentad","amedrontad","ameigad","amenizad","americanizad","amestrad","amigad","amimad","amnistiad","amofinad","amolad","amolecid","amolentad","amolgad","amontoad","amordaçad","amorenad","amortalhad","amortecid","amortizad","amostrad","amotinad","ampliad","amputad","amuad","amurad","amuralhad","anabolizad","anafad","analisad","anarquizad","anatematizad","ancilosad","ancinhad","ancorad","andad","anestesiad","anexad","angariad","anglicizad","angulad","angustiad","animad","animalizad","aninhad","aniquilad","aniversariad","anodizad","anoitecid","anonimizad","anormalizad","anotad","anquilosad","ansiad","antagonizad","antecipad","antedatad","antepost","antojad","antolhad","antropizad","antropomorfizad","anualizad","anuíd","anulad","anunciad","apagad","apainelad","apaixonad","apalpad","apanhad","apaniguad","aparad","aparafusad","aparatad","aparecid","aparelhad","aparentad","apartad","apassamanad","apatetad","apavorad","apaziguad","apead","apedrejad","apegad","apelad","apelidad","apenad","apensad","apercebid","aperfeiçoad","aperread","apertad","apetecid","apiedad","apimentad","apitad","aplacad","aplainad","aplanad","aplaudid","aplicad","apocopad","apoderad","apodizad","apodrecid","apoiad","apologizad","apontad","apoquentad","aportad","aportuguesad","aposentad","apossad","apostad","apostatad","apostemad","apost","apostrofad","apoteosad","apoteotizad","apoucad","approvad","aprazid","apreciad","apreendid","apregoad","aprendid","apresentad","apressad","aprestad","aprisionad","aprofundad","aprontad","apropriad","aprovad","aproveitad","aprovisionad","aproximad","aprumad","apunhalad","apurad","aquaplanad","aquartelad","aquecid","aquentad","aquiescid","aquietad","arabizad","arad","arbitrad","arborescid","arborizad","arcabuzad","arcad","ardid","aread","arejad","argentad","arguid","argumentad","arianizad","armad","armazenad","aromatizad","arpejad","arpoad","arquead","arquejad","arquitetad","arquivad","arraigad","arrancad","arranhad","arranjad","arrasad","arrastad","arrazoad","arread","arrebanhad","arrebatad","arrebentad","arrebitad","arrecadad","arrecead","arredad","arredondad","arrefecid","arregalad","arreganhad","arreigad","arrematad","arremedad","arremessad","arrendad","arrepanhad","arrestad","arribad","arrimad","arriscad","arrogad","arrojad","arrombad","arrotad","arroubad","arroxead","arruad","arruinad","arrulhad","arrumad","arseniad","arterializad","articulad","artificializad","artilhad","asad","ascendid","asfaltad","asfixiad","asilad","aspirad","assacad","assaltad","assassinad","assead","assediad","assegurad","assemelhad","assenhoread","assentad","assentid","assertad","assestad","assignalad","assimilad","assinad","assinalad","assistid","assoberbad","assobiad","associad","assolad","assomad","assombrad","assoprad","assoread","assossegad","assoviad","assumid","assustad","atacad","atad","atalhad","atanazad","atapetad","atarracad","atarraxad","ataviad","atazanad","atead","atemorizad","atempad","atenazad","atendid","atentad","atenuad","aterrad","aterrissad","aterrorizad","atestad","atiçad","atid","atilad","atinad","atingid","atirad","ativad","atochad","atolad","atomizad","atordoad","atormentad","atracad","atraiçoad","atraíd","atrapalhad","atrasad","atravancad","atravessad","atrelad","atribuíd","atribulad","atritad","atroad","atrofiad","atropelad","attentad","atturad","atuad","atualizad","aturad","auferid","augad","augmentad","augurad","aumentad","aureolad","auscultad","ausentad","autenticad","automatizad","autoproclamad","autorizad","autuad","auxiliad","avaliad","avançad","avariad","avassalad","aventad","aventurad","averbad","avergonhad","averiguad","avermelhad","aviad","avinagrad","avind","avisad","avistad","avivad","aviventad","avoad","azedad","azotad","azulad","azulejad","babad","babujad","bacharelad","bafejad","bailad","bainhad","baixad","bajulad","balad","balançad","balancead","balbuciad","balcanizad","baldad","baldead","balead","balid","balouçad","bambolead","banalizad","bancad","banhad","banquetead","baptizad","baralhad","baratead","barbead","barganhad","barrad","barrid","basead","bastad","bastecid","batalhad","batid","batizad","batucad","bazad","beatificad","bebemorad","bebericad","bebid","beijad","beirad","beliscad","beneficiad","benzid","berrad","besuntad","bicad","bichad","bifurcad","bioacumulad","biotransformad","bisad","bisbilhotad","biscatead","bivacad","blandiciad","blasfemad","blasonad","blefad","blindad","blogad","bloquead","bocejad","boiad","boicotad","bojad","bolad","bombad","bombardead","bombead","borboletead","borbulhad","bordad","borrad","borrifad","botad","botanizad","boxead","bradad","bramid","brandid","branquead","brecad","brigad","brilhad","brincad","brindad","britad","brocad","brochad","bronzead","brotad","bufad","bugad","bulhad","burilad","burlad","burocratizad","buscad","buzinad","cabecead","cabid","cabriolad","caçad","cacarejad","cacetead","cachad","cachead","cacimbad","caçoad","cadastrad","caducad","cafetinad","cagad","caíd","calad","calafetad","calcad","calçad","calcificad","calcinad","calculad","calejad","calhad","calibrad","caluniad","cambad","cambalead","cambiad","caminhad","camuflad","canalizad","cancelad","canonizad","cansad","cantad","cantarolad","capacitad","capad","capinad","capitalizad","capitanead","capitulad","capotad","captad","capturad","caracterizad","caraterizad","carbonizad","cardad","carecid","cariciad","carimbad","carread","carregad","cascatead","casquinad","cassad","castigad","castrad","catad","catalisad","catalizad","catalogad","categorizad","catequizad","cativad","caucionad","causad","cautelad","cauterizad","cavad","cavalgad","cavoucad","cead","cecead","cedid","cegad","ceifad","celebrad","censurad","centelhad","centrad","centralizad","centrifugad","cercad","cerrad","certificad","cerzid","cessad","cevad","chacinad","chacoalhad","chafurdad","chamad","chamuscad","chanfrad","chantagead","chapad","chapead","chatead","checad","chefiad","chegad","cheirad","chiad","chibatad","chibatead","chicanad","chicotead","chifrad","chilread","chimarread","chimarronead","chocad","chocalhad","chorad","choramingad","chouvid","chovid","chufad","chumbad","chupad","chutad","chuviscad","cicatrizad","cifrad","cimentad","cindid","cingid","cintad","cintilad","circulad","circuncidad","circundad","circunscrit","circunstanciad","cisad","cisalhad","cismad","citad","civilizad","clamad","claread","clarificad","classificad","clicad","clonad","clorad","coadjuvad","coad","coagid","coagulad","coalescid","coalhad","coassinad","coaxad","cobert","cobiçad","cobrad","coçad","cocegad","cochichad","cochilad","codificad","coevoluíd","coexistid","cofiad","cogitad","coincidid","coisad","coisificad","coitad","colaborad","colad","colead","colecionad","coletad","colhid","colidid","coligad","coligid","collocad","colmad","colmatad","colocad","colonizad","colorid","comandad","combalid","combatid","combinad","comboiad","começad","comedid","comemorad","comendad","comentad","comercializad","cometid","comichad","comid","cominad","commeçad","comovid","compactad","compadecid","comparad","comparecid","compartilhad","compenetrad","compensad","competid","compilad","complementad","completad","complexad","complicad","comportad","compostad","compost","comprad","compreendid","comprehendid","comprimid","comprometid","comprovad","compulsad","computad","comungad","comunicad","comutad","concatenad","concebid","concedid","concentrad","concernid","concertad","concluíd","concordad","concorrid","concretizad","condecorad","condemnad","condenad","condensad","condicionad","condimentad","conduzid","conectad","confeccionad","conferid","confessad","confiad","configurad","confinad","confirmad","confiscad","conflitad","conformad","confortad","confraternizad","confrontad","confundid","congelad","congestionad","congraçad","congregad","conjecturad","conjeturad","conjugad","conjurad","connectad","conotad","conquistad","consagrad","conseguid","consentid","consertad","conservad","considerad","consignad","consistid","consolad","consolidad","conspirad","conspurcad","constad","constatad","consternad","constituíd","constrangid","construíd","consubstanciad","consultad","consumad","consumid","contactad","contad","contagiad","contaminad","contatad","contemplad","contendid","contentad","contestad","contid","continuad","contornad","contra-atacad","contraatacad","contrabalançad","contrabalancead","contrabandead","contrafeit","contraíd","contrariad","contrastad","contratad","contribuíd","contristad","controlad","conturbad","convalescid","convalidad","convencid","convencionad","conversad","convertid","convidad","convid","convind","convivid","convocad","convulsad","convulsionad","cooperad","coordenad","copiad","copulad","corad","cornead","coroad","correlacionad","correspondid","corricad","corrid","corrigid","corroborad","corrompid","cortad","cortejad","cosid","costead","costumad","costurad","cotad","cotejad","couraçad","cozid","cozinhad","craquead","cravad","cravejad","credenciad","creditad","cremad","crepitad","crescid","crestad","criad","cricrilad","crid","criminalizad","criptografad","crispad","cristalizad","cristianizad","criticad","crochetad","cromad","cronologizad","cronometrad","crucificad","cruzad","cubad","cubicad","cuidad","culminad","culpad","cultivad","cultuad","cumprid","cumprimentad","cumulad","curad","cursad","curtid","curto-circuitad","curtocircuitad","curvad","curvetead","cuspid","custad","custead","custodiad","customizad","cutucad","dadivad","dad","damasquinad","damnad","dançad","danificad","dardejad","datad","datilografad","deambulad","debatid","debicad","debilitad","debitad","debochad","debruçad","debulhad","debutad","debuxad","decaíd","decalcad","decantad","decapitad","dececionad","decepad","decepcionad","decidid","decifrad","declamad","declarad","declinad","decolad","decompost","decorad","decorrid","decotad","decrescid","decretad","decuplicad","dedicad","dedilhad","dedurad","deduzid","defecad","defendid","defenestrad","deferid","definhad","definid","deflorad","deformad","defraudad","defumad","deglaçad","deglacead","deglutid","degolad","degradad","degustad","deificad","deitad","deixad","delatad","delegad","deliberad","deliciad","delid","delimitad","delinead","delinquid","delongad","demandad","demarcad","demitid","demittid","democratizad","demolid","demonstrad","demorad","denigrid","denominad","denotad","dentad","dentead","denunciad","deparad","depauperad","depenad","dependid","depilad","deportad","depositad","depost","deprecad","depreciad","depredad","deprimid","depurad","deputad","derivad","derrabad","derramad","derrapad","derretid","derribad","derrocad","derrogad","derrotad","derrubad","derruíd","desabad","desabafad","desabalroad","desabilitad","desabituad","desabotoad","desabraçad","desabrochad","desacelerad","desacompanhad","desaconselhad","desacreditad","desactivad","desafiad","desafivelad","desafogad","desagradad","desagradecid","desagravad","desagregad","desaguisad","desajustad","desalentad","desalojad","desalvorad","desamarrad","desamparad","desancorad","desandad","desanimad","desaparecid","desapegad","desapontad","desaprovad","desarmad","desarraigad","desarranjad","desarrazoad","desarrumad","desarticulad","desarvorad","desasad","desatad","desatarraxad","desativad","desbastad","desbloquead","desbotad","descabelad","descaíd","descalçad","descamad","descambad","descansad","descarbonizad","descarnad","descaroçad","descarregad","descarrilad","descartad","descascad","descendid","descercad","descid","descobert","descolad","descolonizad","descolorid","descomplicad","descompost","desconcertad","desconfiad","desconfortad","descongelad","desconsagrad","desconseguid","desconsiderad","desconsolad","descontad","descontentad","desconversad","desconvidad","descoroçoad","descortinad","descrit","descubert","descuidad","desculpad","desdemocratizad","desdenhad","desdobrad","desejad","desemaranhad","desembalad","desembarcad","desembargad","desembestad","desempenhad","desencadead","desencaminhad","desencantad","desencontrad","desencorajad","desencriptad","desenganad","desenhad","desenrolad","desenterrad","desentranhad","desenvolvid","desequilibrad","deserdad","desertad","desesperad","desesperançad","desestabilizad","deseuropeizad","desfalcad","desfalecid","desfarçad","desfechad","desfeit","desferid","desfiad","desfigurad","desfivelad","desflorestad","desfocad","desfragmentad","desfraldad","desfrutad","desgastad","desgostad","desidratad","designad","desiludid","desimpedid","desinfetad","desinflad","desinstalad","desintegrad","desintoxicad","desistid","desjejuad","deslastrad","deslavad","desleixad","desligad","deslizad","deslocad","deslocalizad","deslogad","deslumbrad","deslustrad","desmagnetizad","desmaiad","desmamad","desmanchad","desmantelad","desmarcad","desmatad","desmembrad","desmentid","desmerecid","desmistificad","desmitificad","desmobilizad","desmontad","desmoralizad","desmoronad","desmotivad","desnivelad","desnortead","desobrigad","desobstruíd","desocupad","desolad","desonerad","desonrad","desordenad","desorganizad","desorientad","desossad","desovad","desoxidad","desoxigenad","despachad","despadronizad","despedaçad","despedid","despejad","despelad","despencad","despendid","desperdiçad","despersuadid","despertad","despid","despojad","despolarizad","despontad","desposad","despregad","desprendid","desprezad","desproporcionad","desprotegid","desprovid","desqualificad","desregulad","desrespeitad","dessalinizad","desseguid","dessulfurad","dessulfurizad","destacad","destelhad","desterrad","destilad","destillad","destinad","destituíd","destoad","destrancad","destratad","destrinçad","destrinchad","destroçad","destruíd","destrunfad","desumanizad","desunid","desvairad","desvalorizad","desvelad","desvendad","desviad","desvinculad","desvirginad","desvirtuad","detalhad","detectad","deteriorad","determinad","detestad","detetad","detid","detonad","devanead","devassad","devastad","devid","devolvid","devorad","devotad","deyxad","diagnosticad","dialogad","difamad","diferenciad","diferid","differid","dificultad","difratad","difundid","digerid","digitad","digitalizad","dignad","dilacerad","dilapidad","dilatad","diluíd","diminuíd","dinamitad","dinamizad","diplomad","direccionad","direcionad","dirigid","dirimid","discad","discernid","disciplinad","discordad","discorrid","discretead","discriminad","discutid","disfarçad","disparad","dispensad","dispersad","disponibilizad","dispost","disputad","dissecad","disseminad","dissentid","dissimulad","dissipad","dissolvid","dissuadid","distad","distanciad","distinguid","distorcid","distraíd","distratad","distribuíd","ditad","dit","divagad","diversificad","divertid","dividid","divisad","divulgad","dizimad","doad","dobrad","doíd","domad","domesticad","domiciliad","dominad","dopad","dormid","dormitad","dosad","dotad","doutrinad","dragad","dramatizad","drenad","driblad","drogad","dublad","duchad","duelad","duplicad","durad","duvidad","eclipsad","ecoad","economizad","edificad","editad","educad","efectivad","efectuad","efetivad","efetuad","eivad","ejaculad","ejetad","elaborad","electrificad","electrocutad","elegid","eleit","elencad","eletrificad","eletrocutad","eletrolisad","elevad","eliminad","elogiad","elucidad","elucubrad","eludid","emaciad","emagrecid","emanad","emancipad","emaranhad","emasculad","embaíd","embainhad","embalad","embalsamad","embaraçad","embaralhad","embarcad","embasad","embebedad","embebid","embeiçad","embelezad","embirrad","embolad","embonecad","emboscad","embotad","embotelhad","embrenhad","embriagad","embromad","embrulhad","embuçad","emburrad","emburrecid","embutid","emendad","ementad","emergid","emigrad","emitid","emmagrecid","emmoldurad","emocionad","emoldurad","empachad","empacotad","empalad","empalhad","empalidecid","empanad","empapelad","emparedad","empatad","empeçonhad","empedernid","empenhad","emperrad","empestead","empilhad","empinad","empiorad","empoad","empobrecid","empoderad","empoleirad","empreendid","empregad","empregu","emprehendid","empreitad","emprenhad","emprestad","empunhad","empurrad","emudecid","emulad","emurchecid","enaltecid","enamorad","encabulad","encaçapad","encadead","encadernad","encaixad","encaixilhad","encaixotad","encalhad","encaminhad","encampad","encanad","encantad","encapad","encapsulad","encapuzad","encaracolad","encarad","encarecid","encarnad","encarniçad","encaroçad","encarquilhad","encarregad","encarregu","encarrilhad","encasquetad","encayxad","encefalizad","encenad","encerad","encerrad","encestad","encetad","encharcad","enchid","enclausurad","encobert","encoleirad","encolerizad","encolhid","encomendad","encompridad","encontrad","encorajad","encordoad","encorpad","encortinad","encostad","encravad","encrespad","encriptad","encurtad","endereçad","endireitad","endividad","endoidecid","endossad","endoutrinad","endurecid","enegrecid","energizad","enervad","enevoad","enfardad","enfardelad","enfarruscad","enfatizad","enfatuad","enfeitad","enfeitiçad","enferrujad","enfiad","enfileirad","enforcad","enfraquecid","enfrentad","enfronhad","enfumaçad","enfurecid","engabelad","engaiolad","engajad","engambelad","enganad","enganchad","engarrafad","engasgad","engastad","engatad","engatinhad","engendrad","engessad","englobad","engodad","engolid","engomad","engordad","engordurad","engrandecid","engravidad","engraxad","engrenad","engrossad","enguiçad","enlaçad","enlatad","enlouquecid","enmendad","enquadrad","enraivecid","enraizad","enramalhetad","enredad","enriçad","enriquecid","enrocad","enrolad","enrubescid","enrugad","ensaboad","ensacad","ensaiad","ensanguentad","ensangüentad","ensejad","ensinad","ensolarad","ensombrad","ensopad","ensurdecid","entabuad","entabulad","entalhad","entardecid","entediad","entelhad","entendid","enternecid","enterrad","entintad","entitulad","entoad","entornad","entorpecid","entortad","entrad","entrançad","entranhad","entravad","entreabert","entrecortad","entregad","entregu","entrelaçad","entrelinhad","entremead","entreolhad","entretid","entrevad","entrevistad","entrevist","entrincheirad","entristecid","entronad","entronizad","entulhad","entupid","entusiasmad","enumerad","enunciad","envelhecid","envenenad","envergad","envergonhad","envernizad","enviad","enviesad","enviuvad","envolvid","enxadad","enxamead","enxergad","enxertad","enxotad","enxugad","enxut","epitomizad","equilibrad","equipad","equiparad","equivocad","erguid","erigid","erodid","erotizad","erradicad","eructad","esbarrad","esbatid","esboçad","esbodegad","esbofetead","esbombardead","esbracejad","esbrasead","esbulhad","esburacad","escachoad","escalad","escaldad","escalfad","escalonad","escalpad","escalpelad","escamad","escançad","escancarad","escancead","escandid","escanead","escapad","escapulid","escarafunchad","escaramuçad","escarnecid","escarnid","escarrad","escassead","escavad","esclarecid","escoad","escolarizad","escolhid","escoltad","escondid","escorad","escorregad","escorrid","escovad","escravizad","escrit","escriturad","escrutinizad","escuitad","esculachad","esculpid","escurecid","escusad","escutad","esfalfad","esfaquead","esfarelad","esfarrapad","esfolad","esfomead","esforçad","esfregad","esfriad","esfuziad","esganad","esgarçad","esgotad","esgravatad","esgrimid","esguichad","esmaecid","esmagad","esmaltad","esmerad","esmigalhad","esmiuçad","esmorecid","esmurrad","espaçad","espacead","espairecid","espalhad","espalmad","espancad","espantad","esparramad","especializad","especificad","especulad","espedid","espelhad","esperad","esperançad","espernead","espezinhad","espiad","espichad","espigad","espinafrad","espionad","espiritualizad","espirrad","espocad","espojad","esporrad","esposad","espoucad","espreitad","espremid","espumad","esquadrinhad","esquecid","esquentad","esquiad","esquilad","esquinad","esquivad","estabelecid","estabilizad","estacad","estacionad","estad","estafad","estagiad","estagnad","estalad","estampad","estandardizad","estanhad","estarrecid","estatizad","estatuíd","estendid","estenografad","estenographad","estereotipad","esterilizad","esticad","estigmatizad","estilhaçad","estilizad","estimad","estimulad","estiolad","estipulad","estirad","estivad","estocad","estoirad","estolad","estontead","estorvad","estourad","estraçalhad","estragad","estralad","estrangulad","estranhad","estratificad","estread","estreiad","estreitad","estrelad","estremecid","estressad","estridulad","estripad","estrondead","estropead","estropiad","estrugid","estrupidad","estruturad","estudad","estufad","estupeficad","estupidificad","estuprad","esvaziad","esverdead","etiquetad","europeizad","evacuad","evadid","evangelizad","evaporad","eventrad","evidenciad","evitad","evocad","evolad","evoluíd","evolvid","exacerbad","exagerad","exalad","exaltad","examinad","exasperad","exaurid","excedid","excelid","excellid","excepcionad","exceptuad","excetuad","excitad","exclamad","excluíd","excomungad","excretad","excutid","executad","exercid","exercitad","exhalad","exhortad","exibid","exigid","exilad","eximid","existid","exonerad","exorcizad","exortad","expandid","expatriad","expectorad","expedid","experienciad","experimentad","expirad","explanad","explicad","explorad","exportad","expost","expressad","exprimid","expropriad","expugnad","expulsad","expurgad","exsecutad","extasiad","extendid","extenuad","exteriorizad","exterminad","externalizad","extinguid","extint","extirpad","extorquid","extractad","extraditad","extraíd","extratad","extraviad","exultad","exumad","fabricad","facetad","facilitad","facturad","facultad","fadigad","fagocitad","fagulhad","falad","falecid","falhad","fallad","falsead","falsificad","faltad","familiarizad","fantasiad","fardad","farejad","farfalhad","fartad","fascinad","fatiad","fatigad","fatorad","faturad","faxinad","fechad","fech","fecundad","fedid","feit","felicitad","fenad","fendid","fenecid","ferid","fermentad","ferrad","fertilizad","fervid","fervilhad","festad","festejad","fiad","ficad","figurad","filad","filiad","filmad","filosofad","filtrad","finad","finalizad","financiad","fincad","findad","find","fingid","finlandizad","firmad","fiscalizad","fisgad","fissionad","fissurad","fitad","fixad","flabelad","flagelad","flanquead","flexionad","flipad","floodad","floread","florescid","fluíd","fluorad","fluoretad","flutuad","focalizad","fodid","fofocad","folgad","folhead","fomentad","foragid","forcad","forçad","forjad","formad","formatad","formigad","formulad","fornecid","fornicad","forrad","fortalecid","fortificad","fosfatad","fosforescid","fosforilad","fossad","fotocopiad","fotografad","fraccionad","fracionad","fragmentad","franjad","franquead","franzid","fraquead","fraquejad","frasead","fraternizad","fraturad","fraudad","fread","freiad","frequentad","freqüentad","fresquead","friccionad","frisad","fritad","frit","fruíd","frustrad","fuçad","fugid","fumad","fumegad","fumigad","funccionad","funcionad","fundad","fundamentad","fundid","fungad","furad","furtad","fusionad","fustigad","futricad","fuzilad","gabad","gadanhad","gaguejad","galgad","galopad","galopead","galvanizad","gamad","ganhad","ganh","ganid","ganzad","garantid","gargalhad","gargarejad","gaseificad","gastad","gast","gatunad","gelad","gemid","generalizad","genotipad","gerad","gerenciad","gerid","germinad","gestad","gesticulad","gestualizad","ginasticad","girad","globalizad","gloriad","glorificad","glosad","golead","golpead","gomitad","googlad","gorad","gorjead","gostad","gotejad","governad","gozad","gracejad","gracitad","gradad","graduad","grafitad","gramad","grampead","granizad","grasnad","grasnid","grassitad","gratificad","gratinad","gravad","gravitad","grelhad","gripad","gritad","grudad","grunhid","guardad","guarnecid","guerread","guglad","guiad","guinchad","guindad","guisad","habilitad","habitad","habituad","hackead","halogenad","harmonizad","hastead","havid","helenizad","herdad","hesitad","hibernad","hibridizad","hidratad","hidrogenad","hipertrofiad","hipnotizad","hipotecad","homenagead","homogeneizad","homologad","honrad","horrorizad","hortad","hospedad","hospitalizad","humedecid","humidecid","humilhad","içad","idead","idealizad","identificad","ideologizad","idolatrad","ignorad","igualad","ilegalizad","ilhad","ilibad","ilidid","iludid","iluminad","ilustrad","imaginad","imanad","imantad","imbuíd","imigrad","imiscuíd","imitad","imobilizad","imolad","impactad","impedid","impelid","imperad","impetrad","implantad","implementad","implicad","implorad","importad","importunad","impossibilitad","impost","imprecad","impregnad","impressionad","impress","imprimid","improvisad","impulsionad","imputad","imunizad","inactivad","inalad","inaugurad","incapacitad","incendiad","incensad","incentivad","inchad","incidid","incinerad","incisad","incitad","inclinad","incluíd","inclus","incomodad","incorporad","incorrid","incriminad","incrustad","incubad","inculcad","inculpad","incumbid","indagad","indeferid","indefinid","indemnizad","indenizad","independid","indexad","indicad","indiciad","indispost","indultad","industrializad","induzid","inebriad","inerid","infectad","inferid","infestad","infiltrad","infirmad","inflad","inflamad","influenciad","influíd","informad","infringid","ingerid","inhibid","inibid","iniciad","inicializad","injetad","injungid","injuriad","injustiçad","inocentad","inovad","inquietad","inquirid","inscrit","inserid","insinuad","insistid","inspecionad","inspirad","instalad","instanciad","instigad","instituíd","instruíd","insultad","integrad","inteirad","intencionad","intensificad","interagid","intercalad","intercambiad","intercedid","interceptad","interditad","interessad","interferid","interligad","intermediad","internacionalizad","internad","interpelad","interpolad","interpost","interpretad","interrogad","interrompid","intersectad","intervind","intimad","intimidad","intitulad","intoxicad","intricad","intrigad","intrincad","introduzid","intrometid","inundad","inutilizad","invadid","invalidad","invectivad","invejad","inventad","invernad","invertid","investid","investigad","invocad","iodad","irad","irradiad","irrigad","irritad","irrogad","irrompid","iscad","isolad","iterad","jactad","janelad","jantad","japonizad","jardinad","jazid","jejuad","joeirad","jogad","jorrad","jubilad","judiad","julgad","jungid","juntad","jurad","juramentad","justapost","justificad","labutad","laçad","lacrad","lacrimejad","ladead","ladrilhad","lagartead","lajead","lambid","lamentad","laminad","lamuriad","lançad","lancead","lanchad","lapidad","largad","lascad","lastad","lastimad","latejad","latid","latinad","latinizad","lavad","lavrad","lẽbrad","legad","legalizad","legendad","legislad","legitimad","leiload","lembrad","lesad","levad","levantad","levitad","liberad","libertad","licitad","lidad","liderad","lid","ligad","limad","limitad","limpad","limp","linchad","lingotad","liquefeit","liquidad","lisonjad","lisonjead","listad","listrad","litigad","livrad","lixiviad","lobrigad","locad","localizad","locupletad","lograd","lotad","lotead","louvad","lubrificad","lucrad","luctad","ludibriad","ludificad","lufad","luitad","lustrad","lutad","luzid","macadamizad","maçad","macaquead","macerad","machucad","maculad","mãdad","madrugad","madurad","magnetizad","magnificad","magoad","maiusculad","maiusculizad","malograd","maltad","maltratad","mamad","manad","mancad","manchad","mandad","manejad","manifestad","manipulad","manjad","mantid","manufaturad","manusead","maquiad","maquinad","marcad","marchad","marejad","marinad","marquetead","marretad","martelad","martirizad","mascad","mascarad","mascatead","massacrad","massagead","mastigad","masturbad","matad","matriculad","maturad","maximizad","maxixad","mead","mealhad","mecanizad","medid","meditad","medrad","melad","melhorad","memorizad","mencionad","mendigad","menead","menosprezad","menstruad","mentid","mercad","merecid","mergulhad","mesclad","mesmerizad","metabolizad","metid","metilad","metralhad","mexericad","mexid","miad","micad","migrad","mijad","milhad","militad","mimad","mimetizad","mimid","minad","minerad","mineralizad","minimizad","ministrad","minuciad","minudenciad","mirad","mirrad","missad","mistificad","misturad","mitigad","mixad","mixturad","mobilizad","modelad","moderad","modificad","modulad","mofad","moíd","moldad","molestad","molhad","monitorad","monitorizad","monologad","monopolizad","montad","morad","mordid","mordiscad","morgad","morrid","mortificad","mort","moscad","moshad","mosquead","mossegad","mostrad","motejad","motivad","mourejad","movid","movimentad","mudad","mugid","multad","multiplicad","mumificad","munid","murad","murchad","murmurad","mutilad","nacionalizad","nadad","nad","narrad","nasalad","nascid","naufragad","navegad","necessitad","negad","negligenciad","negociad","neutralizad","nevad","nhanhad","niponizad","niquelad","nitrificad","nivelad","nobilitad","nocautead","nomead","normalizad","notad","noticiad","notificad","nublad","numerad","numerizad","nutrid","obcecad","obedecid","objetad","objetivad","obnubilad","obrad","obrigad","obscurecid","observad","obstinad","obstruíd","obtemperad","obtid","obturad","obviad","ocasionad","occorrid","ocorrid","ocultad","ocupad","odiad","odorizad","ofegad","ofendid","oferecid","oficializad","ofuscad","oitavad","olead","olhad","olvidad","omitid","ondead","ondulad","onerad","operad","opinad","opiniad","opost","opprimid","oprimid","optad","optimizad","orad","orbitad","orçad","ordenad","ordenhad","organizad","orgulhad","orientad","orientalizad","originad","orlad","ornad","ornamentad","orquestrad","oscilad","ostentad","ostracizad","otimizad","ouriçad","ousad","outorgad","ouvid","ouvist","ovulad","oxidad","oxigenad","ozonizad","pacificad","pactad","pactuad","padecid","padronizad","pagad","paginad","pag","pairad","pajead","palead","palestrad","palpad","palpitad","palrad","panad","papad","papaguead","paparicad","papead","parabenizad","parad","parafrasead","parafusad","paralisad","paralizad","parasitad","parcelad","parecid","parid","parlad","parodiad","participad","partid","partilhad","pasmad","passad","passarinhad","passead","pastad","pasteurizad","pastorad","pastoread","patentead","patinad","patrocinad","patrulhad","pausad","pautad","pavimentad","pechinchad","pedalad","pedid","pegad","peg","pêg","peidad","pejad","pelad","pelead","pelejad","penad","penalizad","pendid","pendurad","peneirad","penetrad","penhorad","pensad","pensionad","pentead","perambulad","percalçad","percebid","percorrid","percutid","perdid","perdoad","perdurad","perecid","peregrinad","perfeit","perfilad","perfilhad","perfolhead","perfumad","perfurad","perguntad","perigad","perlavad","permanecid","permead","permitid","permutad","pernoitad","pernoutad","perpassad","perpetrad","perpetuad","perseguid","perseverad","persignad","persistid","personalizad","personificad","perspectivad","perspetivad","persuadid","pertencid","perturbad","pervertid","pescad","pesquisad","pestanejad","petiscad","petrificad","photographad","piad","picad","pichad","picotad","pifad","pigarread","pigmentad","pilad","pilhad","pinad","pincelad","pingad","pintad","pintalgad","piorad","pipetad","pirad","piratead","pisad","piscad","pisotead","pixelizad","plagiad","plainad","planad","planead","planejad","plangid","plantad","plasmad","plastificad","platinad","plissad","podad","podid","polid","polimerizad","polinizad","politizad","poluíd","polvilhad","ponderad","ponhad","pontuad","popularizad","porfiad","pormenorizad","portad","posicionad","pospost","possibilitad","possuíd","postad","post","postulad","potencializad","poupad","pousad","povoad","practicad","praguejad","prantead","praticad","pré-datad","prédatad","precedid","preceituad","precipitad","precisad","preconizad","predad","predestinad","predicad","predominad","preenchid","prefabricad","prefaciad","preferid","pregad","prejudicad","prelibad","premeditad","premiad","prendad","prendid","prensad","preoccupad","preocupad","preparad","prescrevid","prescrit","presenciad","presentead","preservad","presidid","pres","pressagiad","pressentid","pressionad","pressupost","pressurizad","prestad","presumid","pretendid","preterid","prevalecid","prevaricad","prevenid","previst","prezad","principiad","principia","printad","priorizad","privad","privatizad","privilegiad","problematizad","procedid","processad","proclamad","procrastinad","procriad","procurad","produzid","profanad","proferid","profetizad","prognosticad","programad","progredid","prohibid","proibid","projetad","proliferad","prolongad","prometid","promovid","promulgad","pronunciad","propagad","proporcionad","propost","propulsad","prorrogad","proscrit","proselitad","proselitizad","prosperad","prosseguid","prostrad","protagonizad","protegid","protestad","provad","providenciad","provid","provind","provisionad","provocad","pruíd","prurid","publicad","publicitad","pugnad","puíd","pulad","pulicad","pulinhad","pulsad","pululad","pulverizad","punguead","punid","purgad","purificad","putrefeit","puxad","quadrad","quadriculad","quadruplicad","qualificad","quarentenad","quebrad","quebrantad","quedad","queimad","queixad","quelatad","querelad","querid","questionad","quicad","quilhad","quintuplicad","quitad","rachad","raciocinad","racionalizad","ralad","ralhad","ramificad","randomizad","rangad","rangid","ranquead","rapad","raptad","rarefeit","rascad","rascunhad","rasgad","raspad","rastejad","rastelad","rastread","rastrejad","ratead","ratificad","reabilitad","reafirmad","reagid","reagrupad","realçad","realizad","realojad","reanalisad","reanimad","reaproveitad","reaquecid","rearranjad","rearrumad","reassistid","reavivad","rebaixad","rebatid","rebatizad","rebelad","rebentad","rebobinad","rebocad","rebolad","rebrilhad","rebuçad","rebuscad","recaíd","recalcad","recalcitrad","recalculad","recapitulad","recarregad","recead","recebid","receitad","rechaçad","reciclad","recitad","reclamad","reclinad","recobert","recolhid","recomeçad","recomendad","recompensad","reconciliad","reconfirmad","reconfortad","reconhecid","reconquistad","reconsiderad","reconstituíd","recontad","reconvocad","recopiad","recordad","recorrid","recortad","recostad","recozid","recread","recriad","recristalizad","recrudescid","recrutad","rectificad","recuad","recuperad","recurvad","recusad","redatad","redefinid","redescobert","redescrit","redigid","redigitad","redimid","redirecionad","redobrad","reduzid","reelegid","reembolsad","reencarnad","reenchid","reencontrad","reenviad","reescrit","reestruturad","refeit","referenciad","referid","refinad","refletid","reflorestad","refogad","reforçad","reformad","reformulad","refratad","refread","refrescad","refrigerad","refugiad","refutad","regad","regatead","regenerad","regid","registad","registrad","regozijad","regressad","regulad","regulamentad","regularizad","regurgitad","reinad","reiniciad","reinstalad","reinventad","reiterad","reivindicad","rejeitad","rejeytad","rejogad","rejuvenescid","relacionad","relatad","relembrad","relid","relinchad","relutad","reluzid","relvad","remad","remanescid","rematad","remedad","remediad","remendad","remetid","remexid","remid","remodelad","remontad","removid","remunerad","renascid","rendad","renderizad","rendid","renegad","renhid","renomead","renovad","renunciad","reocorrid","reordenad","reorganizad","reoxidad","reparad","repartid","repassad","repelid","repensad","repetid","repisad","replantad","replicad","reportad","repost","repousad","repreendid","representad","reprimendad","reprimid","reprisad","reprocessad","reprochad","reproduzid","reprovad","repugnad","reputad","requentad","requerid","requestad","requisitad","rescindid","resenhad","reservad","resfolegad","resfriad","resgatad","resguardad","residid","resignad","resistid","resmungad","resolvid","respeitad","respigad","respirad","resplandecid","resplandescid","resplendecid","respondid","responsabilizad","ressaltad","ressalvad","ressarcid","ressecad","ressentid","ressoad","ressonad","ressurgid","ressuscitad","restabelecid","restad","restaurad","restituíd","restringid","resultad","resumid","resvalad","retalhad","retaliad","retardad","retes","reticulad","retid","retificad","retinid","retirad","retocad","retomad","retornad","retorquid","retraíd","retratad","retribuíd","retrocedid","retrucad","reunid","reutilizad","revelad","reverberad","reverenciad","revertid","revestid","revigorad","revisad","revistad","revist","revitalizad","revogad","revoltad","revolvid","rezad","ribombad","riçad","ricochetead","ridicularizad","rilhad","rimad","ripad","riscad","ritmad","rivalizad","rocad","roçad","rociad","rodad","rodead","rogad","roíd","rolad","romanizad","rompid","roncad","ronronad","rosnad","rotacionad","rotad","rotead","rot","rotulad","roubad","ruborizad","rubricad","rufad","rugid","rumad","rumiad","ruminad","russificad","sabid","saboread","sabotad","sacad","sacanead","saciad","sacolejad","sacralizad","sacrificad","sacudid","sagrad","saíd","salgad","salientad","salivad","salmourad","salpicad","saltad","saltead","saltitad","saluçad","salvad","salvaguardad","salv","sanad","sancionad","sangrad","santificad","sapatead","sapead","sapecad","saquead","sarad","saturad","saudad","scintilad","secad","secretad","secundad","sedad","sedimentad","seduzid","segad","segmentad","segredad","seguid","segurad","selad","seleccionad","selecionad","selectad","seletad","semead","semelhad","semicerrad","sensualizad","sentad","sentenciad","sentid","separad","sepultad","sequenciad","sequestrad","seqüestrad","serenad","seriad","serpentead","serrad","serrilhad","servid","sibilad","sid","significad","silenciad","silvad","simbolizad","simplificad","simulad","sinalizad","sincopad","sincretizad","sincronizad","singrad","sinterizad","sintetizad","sintonizad","sistematizad","sitiad","situad","soad","sobejad","sobraçad","sobrad","sobre-estimad","sobreestimad","sobrecarregad","sobrepassad","sobrepost","sobrepujad","sobrerrepresentad","sobresaíd","sobressaíd","sobressaltad","sobrestimad","sobrevind","sobrevivid","socad","sociabilizad","socializad","soçobrad","socorrid","sodomizad","sofismad","sofisticad","sofrid","solad","solapad","soldad","soletrad","solicitad","solidificad","soliloquiad","soltad","solt","solubilizad","soluçad","solucionad","somad","sombread","sonambulad","sondad","sonhad","soprad","sorrid","sortead","sortid","sorvid","soterrad","sovad","stalkead","standardizad","stressad","suad","suavizad","subentendid","subestimad","subid","subjugad","sublimad","sublinhad","submergid","subordinad","subornad","subscrit","subsidiad","subsistid","substanciad","substantivad","substituíd","subtraíd","subvencionad","subvertid","sucedid","sucumbid","sufixad","sufocad","sugad","sugerid","suicidad","sujad","sujeitad","sulcad","sumariad","sumid","sumulad","superad","superestimad","supervisad","supervisionad","suplantad","suplementad","suplicad","suportad","supost","supplantad","supprimid","suprid","suprimid","supurad","surdid","surfad","surgid","surpreendid","surrad","surripiad","surrupiad","surtad","suscitad","suspeitad","suspendid","suspirad","sussurrad","sustad","sustentad","sustid","systematizad","tabulad","tacad","tachad","tactead","talhad","tamborilad","tampad","tamponad","tangad","tangid","tapad","tardad","tarraxad","tascad","tatuad","taxad","taxiad","tchovid","tecid","teclad","teimad","telad","telefonad","telegrafad","teleportad","teletransportad","televisad","temid","temperad","tencionad","tendid","tensionad","tentad","teorizad","terceirizad","tergiversad","terminad","terrad","testad","testemunhad","tid","tilintad","timbrad","tingid","tinid","tintad","tipad","tipificad","tirad","tiranizad","tiritad","tirotead","titilad","titulad","tocad","tocaiad","tolerad","tomad","tombad","topad","torcid","tormentad","tornad","tornead","torpedead","torrad","torturad","tosad","tosquiad","tostad","totalizad","touread","trabalhad","traçad","tracejad","tractad","traduzid","traficad","trahid","traíd","trajad","tramad","trancad","trançad","tranquilizad","transad","transbordad","transcorrid","transcrit","transfectad","transferid","transfigurad","transformad","transid","transitad","transladad","transliterad","transmitid","transmudad","transmutad","transpassad","transpirad","transplantad","transportad","transpost","transtornad","transubstanciad","transvasad","trapacead","trasladad","traspassad","tratad","trautead","travad","travestid","trazid","trefilad","treinad","tremeluzid","tremid","tremulad","trenad","trepad","tresandad","trespassad","triangulad","tributad","tricotad","trinad","trincad","trinchad","tripad","tripulad","triscad","triturad","triunfad","trocad","troçad","trombetead","tropeçad","trotad","trovad","trovejad","trovoad","trucidad","truncad","trunfad","tumefeit","tumultuad","tunad","turbad","turvad","tutead","tutelad","tutorad","ufanad","uivad","ultimad","ultrajad","ultrapassad","ululad","unctad","ungid","unhad","unificad","uniformizad","untad","urbanizad","urdid","urgid","urinad","usad","usufruíd","usurpad","utilizad","vacad","vacilad","vadiad","vagabundead","vagad","vaguead","vaiad","validad","valid","valorad","valorizad","valsad","vampirizad","vandalizad","vaporizad","varad","varead","variad","varrid","vasculhad","vastad","vaticinad","vazad","vaziad","vedad","vegetad","velad","velejad","vencid","vendad","vendid","venerad","ventad","ventilad","veranead","verbalizad","veread","vergad","vergastad","verificad","vermelhad","vermelhead","vermelhejad","versad","versejad","versificad","vertid","vesguead","vestid","vetad","vexad","viajad","vibrad","vicejad","vidrad","vigiad","vigorad","vilificad","vilipendiad","vincad","vinculad","vindimad","vind","vingad","vinificad","violad","violentad","virad","visad","visitad","vislumbrad","vist","visualizad","vitimad","vitoriad","vitrificad","vivad","vivenciad","vivid","voad","vocalizad","vociferad","volatilizad","voltad","voltead","volvid","vomitad","vosead","votad","vulcanizad","vulgarizad","vulnerad","wikificad","xeretad","xerocad","xingad","zanzad","zapead","zarpad","zelad","zerad","zicad","ziguezaguead","zipad","zoad","zoiad","zombad","zonad","zumbid","zumbificad","zunid"],{getWords:K}=e.languageProcessing;const{directPrecedenceException:Q,values:X}=e.languageProcessing,{Clause:Y}=X,Z=["sou","és","é","somos","sois","são","era","eras","era","éramos","éreis","eram","serei","serás","será","seremos","sereis","serão","sido","foste","foi","fomos","fostes","fora","foras","fôramos","fôreis","foram","seja","sejas","seja","sejamos","sejais","sejam","fui","fosse","fosses","fosse","fôssemos","fôsseis","fossem","for","fores","for","formos","fordes","forem","seria","serias","seria","seríamos","seríeis","seriam","ser","seres","ser","sermos","serdes","serem"],{createRegexFromArray:aa,getClauses:da}=e.languageProcessing,ea={Clause:class extends Y{constructor(a,d){super(a,d),this._participles=function(a){return K(a).filter((a=>function(a){return["a","o","as","os"].some((d=>{if(a.length>3&&a.endsWith(d)){const e=a.slice(0,-d.length);return H.includes(e)}}))}(a)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const a=this.getClauseText(),d=this.getParticiples().filter((d=>!Q(a,d,D)));this.setPassive(d.length>0)}},stopwords:G,auxiliaries:Z,regexes:{auxiliaryRegex:aa(Z),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi,followingAuxiliaryExceptionRegex:aa(["o","a","os","as","um","ums","uma","umas"])}};function ia(a){return da(a,ea)}const ra=window.lodash,{findMatchingEndingInArray:sa}=e.languageProcessing,oa=function(a,d){return d.includes(a)},ta=function(a,d,e){for(let i=0;i<d.length;i++)a=a.replace(d[i],e[i]);return a},{baseStemmer:na}=e.languageProcessing;function ca(a){const d=(0,ra.get)(a.getData("morphology"),"pt",!1);return d?a=>function(a,d){a.toLowerCase();const e=d.externalStemmer.vowels,i=d.externalStemmer.nasalVowels.originals,r=d.externalStemmer.nasalVowels.replacements,s=(a=ta(a,i,r)).length;if(s<2)return a;let o=s,t=s,n=s;for(let d=0;d<s-1&&o===s;d++)oa(a[d],e)&&!oa(a[d+1],e)&&(o=d+2);for(let d=o;d<s-1&&t===s;d++)oa(a[d],e)&&!oa(a[d+1],e)&&(t=d+2);s>3&&(n=oa(a[1],e)?oa(a[0],e)&&oa(a[1],e)?function(a,d,e){const i=a.length;for(let r=e;r<i;r++)if(!oa(a[r],d))return r;return i}(a,e,2)+1:3:function(a,d,e){const i=a.length;for(let r=e;r<i;r++)if(oa(a[r],d))return r;return i}(a,e,2)+1);const c=a.slice(o),l=a.slice(t);let u=a.slice(n);const m=function(a,d,e,i,r){const s={r1:e,r2:i,rv:r};for(const e of d.standardGroups){const d=sa(s[e.region],e.suffixes);if(d)return a.slice(0,-d.length)+e.replacement}const o=sa(s[d.specialClass.region],d.specialClass.suffixes);return sa(a,d.specialClass.wordEndingsToCheck)&&o&&(a=a.slice(0,-o.length)+d.specialClass.replacement),a}(a,d.externalStemmer.standardSuffixes,c,l,u);let p="";if(a===m&&(p=function(a,d,e){const i=sa(e,d);return""!==i&&(a=a.slice(0,-i.length)),a}(a,d.externalStemmer.verbSuffixes,u)),a!==m?u=(a=m).slice(n):a!==p&&(u=(a=p).slice(n)),m!==a||p!==a)a.endsWith(d.externalStemmer.ciToC[0])&&u.endsWith(d.externalStemmer.ciToC[1])&&(u=(a=a.slice(0,-1)).slice(n));else{const e=sa(u,d.externalStemmer.generalSuffixes);""!==e&&(u=(a=a.slice(0,-e.length)).slice(n))}return a=function(a,d,e){const i=sa(e,d.groupUe.suffixes),r=sa(e,d.groupIe.suffixes),s=sa(e,d.groupESuffixes);return i&&sa(a,d.groupUe.wordEndingsToCheck)?a=a.slice(0,-i.length):r&&sa(a,d.groupIe.wordEndingsToCheck)?a=a.slice(0,-r.length):s?a=a.slice(0,-s.length):a.endsWith(d.cCedilla[0])&&(a=a.slice(0,-1)+d.cCedilla[1]),a}(a,d.externalStemmer.residualSuffixes,u),ta(a,r,i)}(a,d):na}const{formatNumber:la}=e.helpers;function ua(a){const d=248.835-1.015*a.averageWordsPerSentence-84.6*a.numberOfSyllables/a.numberOfWords;return la(d)}const{AbstractResearcher:ma}=e.languageProcessing;class pa extends ma{constructor(a){super(a),Object.assign(this.config,{language:"pt",passiveConstructionType:"periphrastic",firstWordExceptions:i,functionWords:F,stopWords:G,transitionWords:s,twoPartTransitionWords:J,syllables:$,sentenceLength:B}),Object.assign(this.helpers,{getClauses:ia,getStemmer:ca,fleschReadingScore:ua})}}(window.yoast=window.yoast||{}).Researcher=d})(); dist/languages/ja.js 0000644 00000327465 15174677550 0010447 0 ustar 00 (()=>{var e={771:e=>{function t(){var e={"[一二三四五六七八九十百千万億兆]":"M","[一-龠々〆ヵヶ]":"H","[ぁ-ん]":"I","[ァ-ヴーア-ン゙ー]":"K","[a-zA-Za-zA-Z]":"A","[0-90-9]":"N"};for(var t in this.chartype_=[],e){var r=new RegExp;r.compile(t),this.chartype_.push([r,e[t]])}return this.BIAS__=-332,this.BC1__={HH:6,II:2461,KH:406,OH:-1378},this.BC2__={AA:-3267,AI:2744,AN:-878,HH:-4070,HM:-1711,HN:4012,HO:3761,IA:1327,IH:-1184,II:-1332,IK:1721,IO:5492,KI:3831,KK:-8741,MH:-3132,MK:3334,OO:-2920},this.BC3__={HH:996,HI:626,HK:-721,HN:-1307,HO:-836,IH:-301,KK:2762,MK:1079,MM:4034,OA:-1652,OH:266},this.BP1__={BB:295,OB:304,OO:-125,UB:352},this.BP2__={BO:60,OO:-1762},this.BQ1__={BHH:1150,BHM:1521,BII:-1158,BIM:886,BMH:1208,BNH:449,BOH:-91,BOO:-2597,OHI:451,OIH:-296,OKA:1851,OKH:-1020,OKK:904,OOO:2965},this.BQ2__={BHH:118,BHI:-1159,BHM:466,BIH:-919,BKK:-1720,BKO:864,OHH:-1139,OHM:-181,OIH:153,UHI:-1146},this.BQ3__={BHH:-792,BHI:2664,BII:-299,BKI:419,BMH:937,BMM:8335,BNN:998,BOH:775,OHH:2174,OHM:439,OII:280,OKH:1798,OKI:-793,OKO:-2242,OMH:-2402,OOO:11699},this.BQ4__={BHH:-3895,BIH:3761,BII:-4654,BIK:1348,BKK:-1806,BMI:-3385,BOO:-12396,OAH:926,OHH:266,OHK:-2036,ONN:-973},this.BW1__={",と":660,",同":727,B1あ:1404,B1同:542,"、と":660,"、同":727,"」と":1682,あっ:1505,いう:1743,いっ:-2055,いる:672,うし:-4817,うん:665,から:3472,がら:600,こう:-790,こと:2083,こん:-1262,さら:-4143,さん:4573,した:2641,して:1104,すで:-3399,そこ:1977,それ:-871,たち:1122,ため:601,った:3463,つい:-802,てい:805,てき:1249,でき:1127,です:3445,では:844,とい:-4915,とみ:1922,どこ:3887,ない:5713,なっ:3015,など:7379,なん:-1113,にし:2468,には:1498,にも:1671,に対:-912,の一:-501,の中:741,ませ:2448,まで:1711,まま:2600,まる:-2155,やむ:-1947,よっ:-2565,れた:2369,れで:-913,をし:1860,を見:731,亡く:-1886,京都:2558,取り:-2784,大き:-2604,大阪:1497,平方:-2314,引き:-1336,日本:-195,本当:-2423,毎日:-2113,目指:-724,B1あ:1404,B1同:542,"」と":1682},this.BW2__={"..":-11822,11:-669,"――":-5730,"−−":-13175,いう:-1609,うか:2490,かし:-1350,かも:-602,から:-7194,かれ:4612,がい:853,がら:-3198,きた:1941,くな:-1597,こと:-8392,この:-4193,させ:4533,され:13168,さん:-3977,しい:-1819,しか:-545,した:5078,して:972,しな:939,その:-3744,たい:-1253,たた:-662,ただ:-3857,たち:-786,たと:1224,たは:-939,った:4589,って:1647,っと:-2094,てい:6144,てき:3640,てく:2551,ては:-3110,ても:-3065,でい:2666,でき:-1528,でし:-3828,です:-4761,でも:-4203,とい:1890,とこ:-1746,とと:-2279,との:720,とみ:5168,とも:-3941,ない:-2488,なが:-1313,など:-6509,なの:2614,なん:3099,にお:-1615,にし:2748,にな:2454,によ:-7236,に対:-14943,に従:-4688,に関:-11388,のか:2093,ので:-7059,のに:-6041,のの:-6125,はい:1073,はが:-1033,はず:-2532,ばれ:1813,まし:-1316,まで:-6621,まれ:5409,めて:-3153,もい:2230,もの:-10713,らか:-944,らし:-1611,らに:-1897,りし:651,りま:1620,れた:4270,れて:849,れば:4114,ろう:6067,われ:7901,を通:-11877,んだ:728,んな:-4115,一人:602,一方:-1375,一日:970,一部:-1051,上が:-4479,会社:-1116,出て:2163,分の:-7758,同党:970,同日:-913,大阪:-2471,委員:-1250,少な:-1050,年度:-8669,年間:-1626,府県:-2363,手権:-1982,新聞:-4066,日新:-722,日本:-7068,日米:3372,曜日:-601,朝鮮:-2355,本人:-2697,東京:-1543,然と:-1384,社会:-1276,立て:-990,第に:-1612,米国:-4268,"11":-669},this.BW3__={あた:-2194,あり:719,ある:3846,"い.":-1185,"い。":-1185,いい:5308,いえ:2079,いく:3029,いた:2056,いっ:1883,いる:5600,いわ:1527,うち:1117,うと:4798,えと:1454,"か.":2857,"か。":2857,かけ:-743,かっ:-4098,かに:-669,から:6520,かり:-2670,"が,":1816,"が、":1816,がき:-4855,がけ:-1127,がっ:-913,がら:-4977,がり:-2064,きた:1645,けど:1374,こと:7397,この:1542,ころ:-2757,さい:-714,さを:976,"し,":1557,"し、":1557,しい:-3714,した:3562,して:1449,しな:2608,しま:1200,"す.":-1310,"す。":-1310,する:6521,"ず,":3426,"ず、":3426,ずに:841,そう:428,"た.":8875,"た。":8875,たい:-594,たの:812,たり:-1183,たる:-853,"だ.":4098,"だ。":4098,だっ:1004,った:-4748,って:300,てい:6240,てお:855,ても:302,です:1437,でに:-1482,では:2295,とう:-1387,とし:2266,との:541,とも:-3543,どう:4664,ない:1796,なく:-903,など:2135,"に,":-1021,"に、":-1021,にし:1771,にな:1906,には:2644,"の,":-724,"の、":-724,の子:-1e3,"は,":1337,"は、":1337,べき:2181,まし:1113,ます:6943,まっ:-1549,まで:6154,まれ:-793,らし:1479,られ:6820,るる:3818,"れ,":854,"れ、":854,れた:1850,れて:1375,れば:-3246,れる:1091,われ:-605,んだ:606,んで:798,カ月:990,会議:860,入り:1232,大会:2217,始め:1681,市:965,新聞:-5055,"日,":974,"日、":974,社会:2024,カ月:990},this.TC1__={AAA:1093,HHH:1029,HHM:580,HII:998,HOH:-390,HOM:-331,IHI:1169,IOH:-142,IOI:-1015,IOM:467,MMH:187,OOI:-1832},this.TC2__={HHO:2088,HII:-1023,HMM:-1154,IHI:-1965,KKH:703,OII:-2649},this.TC3__={AAA:-294,HHH:346,HHI:-341,HII:-1088,HIK:731,HOH:-1486,IHH:128,IHI:-3041,IHO:-1935,IIH:-825,IIM:-1035,IOI:-542,KHH:-1216,KKA:491,KKH:-1217,KOK:-1009,MHH:-2694,MHM:-457,MHO:123,MMH:-471,NNH:-1689,NNO:662,OHO:-3393},this.TC4__={HHH:-203,HHI:1344,HHK:365,HHM:-122,HHN:182,HHO:669,HIH:804,HII:679,HOH:446,IHH:695,IHO:-2324,IIH:321,III:1497,IIO:656,IOO:54,KAK:4845,KKA:3386,KKK:3065,MHH:-405,MHI:201,MMH:-241,MMM:661,MOM:841},this.TQ1__={BHHH:-227,BHHI:316,BHIH:-132,BIHH:60,BIII:1595,BNHH:-744,BOHH:225,BOOO:-908,OAKK:482,OHHH:281,OHIH:249,OIHI:200,OIIH:-68},this.TQ2__={BIHH:-1401,BIII:-1033,BKAK:-543,BOOO:-5591},this.TQ3__={BHHH:478,BHHM:-1073,BHIH:222,BHII:-504,BIIH:-116,BIII:-105,BMHI:-863,BMHM:-464,BOMH:620,OHHH:346,OHHI:1729,OHII:997,OHMH:481,OIHH:623,OIIH:1344,OKAK:2792,OKHH:587,OKKA:679,OOHH:110,OOII:-685},this.TQ4__={BHHH:-721,BHHM:-3604,BHII:-966,BIIH:-607,BIII:-2181,OAAA:-2763,OAKK:180,OHHH:-294,OHHI:2446,OHHO:480,OHIH:-1573,OIHH:1935,OIHI:-493,OIIH:626,OIII:-4007,OKAK:-8156},this.TW1__={につい:-4681,東京都:2026},this.TW2__={ある程:-2049,いった:-1256,ころが:-2434,しょう:3873,その後:-4430,だって:-1049,ていた:1833,として:-4657,ともに:-4517,もので:1882,一気に:-792,初めて:-1512,同時に:-8097,大きな:-1255,対して:-2721,社会党:-3216},this.TW3__={いただ:-1734,してい:1314,として:-4314,につい:-5483,にとっ:-5989,に当た:-6247,"ので,":-727,"ので、":-727,のもの:-600,れから:-3752,十二月:-2287},this.TW4__={"いう.":8576,"いう。":8576,からな:-2348,してい:2958,"たが,":1516,"たが、":1516,ている:1538,という:1349,ました:5543,ません:1097,ようと:-4258,よると:5865},this.UC1__={A:484,K:93,M:645,O:-505},this.UC2__={A:819,H:1059,I:409,M:3987,N:5775,O:646},this.UC3__={A:-1370,I:2311},this.UC4__={A:-2643,H:1809,I:-1032,K:-3450,M:3565,N:3876,O:6646},this.UC5__={H:313,I:-1238,K:-799,M:539,O:-831},this.UC6__={H:-506,I:-253,K:87,M:247,O:-387},this.UP1__={O:-214},this.UP2__={B:69,O:935},this.UP3__={B:189},this.UQ1__={BH:21,BI:-12,BK:-99,BN:142,BO:-56,OH:-95,OI:477,OK:410,OO:-2422},this.UQ2__={BH:216,BI:113,OK:1759},this.UQ3__={BA:-479,BH:42,BI:1913,BK:-7198,BM:3160,BN:6427,BO:14761,OI:-827,ON:-3212},this.UW1__={",":156,"、":156,"「":-463,あ:-941,う:-127,が:-553,き:121,こ:505,で:-201,と:-547,ど:-123,に:-789,の:-185,は:-847,も:-466,や:-470,よ:182,ら:-292,り:208,れ:169,を:-446,ん:-137,"・":-135,主:-402,京:-268,区:-912,午:871,国:-460,大:561,委:729,市:-411,日:-141,理:361,生:-408,県:-386,都:-718,"「":-463,"・":-135},this.UW2__={",":-829,"、":-829,〇:892,"「":-645,"」":3145,あ:-538,い:505,う:134,お:-502,か:1454,が:-856,く:-412,こ:1141,さ:878,ざ:540,し:1529,す:-675,せ:300,そ:-1011,た:188,だ:1837,つ:-949,て:-291,で:-268,と:-981,ど:1273,な:1063,に:-1764,の:130,は:-409,ひ:-1273,べ:1261,ま:600,も:-1263,や:-402,よ:1639,り:-579,る:-694,れ:571,を:-2516,ん:2095,ア:-587,カ:306,キ:568,ッ:831,三:-758,不:-2150,世:-302,中:-968,主:-861,事:492,人:-123,会:978,保:362,入:548,初:-3025,副:-1566,北:-3414,区:-422,大:-1769,天:-865,太:-483,子:-1519,学:760,実:1023,小:-2009,市:-813,年:-1060,強:1067,手:-1519,揺:-1033,政:1522,文:-1355,新:-1682,日:-1815,明:-1462,最:-630,朝:-1843,本:-1650,東:-931,果:-665,次:-2378,民:-180,気:-1740,理:752,発:529,目:-1584,相:-242,県:-1165,立:-763,第:810,米:509,自:-1353,行:838,西:-744,見:-3874,調:1010,議:1198,込:3041,開:1758,間:-1257,"「":-645,"」":3145,ッ:831,ア:-587,カ:306,キ:568},this.UW3__={",":4889,1:-800,"−":-1723,"、":4889,々:-2311,〇:5827,"」":2670,"〓":-3573,あ:-2696,い:1006,う:2342,え:1983,お:-4864,か:-1163,が:3271,く:1004,け:388,げ:401,こ:-3552,ご:-3116,さ:-1058,し:-395,す:584,せ:3685,そ:-5228,た:842,ち:-521,っ:-1444,つ:-1081,て:6167,で:2318,と:1691,ど:-899,な:-2788,に:2745,の:4056,は:4555,ひ:-2171,ふ:-1798,へ:1199,ほ:-5516,ま:-4384,み:-120,め:1205,も:2323,や:-788,よ:-202,ら:727,り:649,る:5905,れ:2773,わ:-1207,を:6620,ん:-518,ア:551,グ:1319,ス:874,ッ:-1350,ト:521,ム:1109,ル:1591,ロ:2201,ン:278,"・":-3794,一:-1619,下:-1759,世:-2087,両:3815,中:653,主:-758,予:-1193,二:974,人:2742,今:792,他:1889,以:-1368,低:811,何:4265,作:-361,保:-2439,元:4858,党:3593,全:1574,公:-3030,六:755,共:-1880,円:5807,再:3095,分:457,初:2475,別:1129,前:2286,副:4437,力:365,動:-949,務:-1872,化:1327,北:-1038,区:4646,千:-2309,午:-783,協:-1006,口:483,右:1233,各:3588,合:-241,同:3906,和:-837,員:4513,国:642,型:1389,場:1219,外:-241,妻:2016,学:-1356,安:-423,実:-1008,家:1078,小:-513,少:-3102,州:1155,市:3197,平:-1804,年:2416,広:-1030,府:1605,度:1452,建:-2352,当:-3885,得:1905,思:-1291,性:1822,戸:-488,指:-3973,政:-2013,教:-1479,数:3222,文:-1489,新:1764,日:2099,旧:5792,昨:-661,時:-1248,曜:-951,最:-937,月:4125,期:360,李:3094,村:364,東:-805,核:5156,森:2438,業:484,氏:2613,民:-1694,決:-1073,法:1868,海:-495,無:979,物:461,特:-3850,生:-273,用:914,町:1215,的:7313,直:-1835,省:792,県:6293,知:-1528,私:4231,税:401,立:-960,第:1201,米:7767,系:3066,約:3663,級:1384,統:-4229,総:1163,線:1255,者:6457,能:725,自:-2869,英:785,見:1044,調:-562,財:-733,費:1777,車:1835,軍:1375,込:-1504,通:-1136,選:-681,郎:1026,郡:4404,部:1200,金:2163,長:421,開:-1432,間:1302,関:-1282,雨:2009,電:-1045,非:2066,駅:1620,"1":-800,"」":2670,"・":-3794,ッ:-1350,ア:551,グ:1319,ス:874,ト:521,ム:1109,ル:1591,ロ:2201,ン:278},this.UW4__={",":3930,".":3508,"―":-4841,"、":3930,"。":3508,〇:4999,"「":1895,"」":3798,"〓":-5156,あ:4752,い:-3435,う:-640,え:-2514,お:2405,か:530,が:6006,き:-4482,ぎ:-3821,く:-3788,け:-4376,げ:-4734,こ:2255,ご:1979,さ:2864,し:-843,じ:-2506,す:-731,ず:1251,せ:181,そ:4091,た:5034,だ:5408,ち:-3654,っ:-5882,つ:-1659,て:3994,で:7410,と:4547,な:5433,に:6499,ぬ:1853,ね:1413,の:7396,は:8578,ば:1940,ひ:4249,び:-4134,ふ:1345,へ:6665,べ:-744,ほ:1464,ま:1051,み:-2082,む:-882,め:-5046,も:4169,ゃ:-2666,や:2795,ょ:-1544,よ:3351,ら:-2922,り:-9726,る:-14896,れ:-2613,ろ:-4570,わ:-1783,を:13150,ん:-2352,カ:2145,コ:1789,セ:1287,ッ:-724,ト:-403,メ:-1635,ラ:-881,リ:-541,ル:-856,ン:-3637,"・":-4371,ー:-11870,一:-2069,中:2210,予:782,事:-190,井:-1768,人:1036,以:544,会:950,体:-1286,作:530,側:4292,先:601,党:-2006,共:-1212,内:584,円:788,初:1347,前:1623,副:3879,力:-302,動:-740,務:-2715,化:776,区:4517,協:1013,参:1555,合:-1834,和:-681,員:-910,器:-851,回:1500,国:-619,園:-1200,地:866,場:-1410,塁:-2094,士:-1413,多:1067,大:571,子:-4802,学:-1397,定:-1057,寺:-809,小:1910,屋:-1328,山:-1500,島:-2056,川:-2667,市:2771,年:374,庁:-4556,後:456,性:553,感:916,所:-1566,支:856,改:787,政:2182,教:704,文:522,方:-856,日:1798,時:1829,最:845,月:-9066,木:-485,来:-442,校:-360,業:-1043,氏:5388,民:-2716,気:-910,沢:-939,済:-543,物:-735,率:672,球:-1267,生:-1286,産:-1101,田:-2900,町:1826,的:2586,目:922,省:-3485,県:2997,空:-867,立:-2112,第:788,米:2937,系:786,約:2171,経:1146,統:-1169,総:940,線:-994,署:749,者:2145,能:-730,般:-852,行:-792,規:792,警:-1184,議:-244,谷:-1e3,賞:730,車:-1481,軍:1158,輪:-1433,込:-3370,近:929,道:-1291,選:2596,郎:-4866,都:1192,野:-1100,銀:-2213,長:357,間:-2344,院:-2297,際:-2604,電:-878,領:-1659,題:-792,館:-1984,首:1749,高:2120,"「":1895,"」":3798,"・":-4371,ッ:-724,ー:-11870,カ:2145,コ:1789,セ:1287,ト:-403,メ:-1635,ラ:-881,リ:-541,ル:-856,ン:-3637},this.UW5__={",":465,".":-299,1:-514,E2:-32768,"]":-2762,"、":465,"。":-299,"「":363,あ:1655,い:331,う:-503,え:1199,お:527,か:647,が:-421,き:1624,ぎ:1971,く:312,げ:-983,さ:-1537,し:-1371,す:-852,だ:-1186,ち:1093,っ:52,つ:921,て:-18,で:-850,と:-127,ど:1682,な:-787,に:-1224,の:-635,は:-578,べ:1001,み:502,め:865,ゃ:3350,ょ:854,り:-208,る:429,れ:504,わ:419,を:-1264,ん:327,イ:241,ル:451,ン:-343,中:-871,京:722,会:-1153,党:-654,務:3519,区:-901,告:848,員:2104,大:-1296,学:-548,定:1785,嵐:-1304,市:-2991,席:921,年:1763,思:872,所:-814,挙:1618,新:-1682,日:218,月:-4353,査:932,格:1356,機:-1508,氏:-1347,田:240,町:-3912,的:-3149,相:1319,省:-1052,県:-4003,研:-997,社:-278,空:-813,統:1955,者:-2233,表:663,語:-1073,議:1219,選:-1018,郎:-368,長:786,間:1191,題:2368,館:-689,"1":-514,E2:-32768,"「":363,イ:241,ル:451,ン:-343},this.UW6__={",":227,".":808,1:-270,E1:306,"、":227,"。":808,あ:-307,う:189,か:241,が:-73,く:-121,こ:-200,じ:1782,す:383,た:-428,っ:573,て:-1014,で:101,と:-105,な:-253,に:-149,の:-417,は:-236,も:-206,り:187,る:-135,を:195,ル:-673,ン:-496,一:-277,中:201,件:-800,会:624,前:302,区:1792,員:-1212,委:798,学:-960,市:887,広:-695,後:535,業:-697,相:753,社:-507,福:974,空:-822,者:1811,連:463,郎:1082,"1":-270,E1:306,ル:-673,ン:-496},this}t.prototype.ctype_=function(e){for(var t in this.chartype_)if(e.match(this.chartype_[t][0]))return this.chartype_[t][1];return"O"},t.prototype.ts_=function(e){return e||0},t.prototype.segment=function(e){if(null==e||null==e||""==e)return[];var t=[],r=["B3","B2","B1"],a=["O","O","O"],l=e.split("");for(v=0;v<l.length;++v)r.push(l[v]),a.push(this.ctype_(l[v]));r.push("E1"),r.push("E2"),r.push("E3"),a.push("O"),a.push("O"),a.push("O");for(var u=r[3],n="U",i="U",g="U",v=4;v<r.length-3;++v){var s=this.BIAS__,c=r[v-3],o=r[v-2],E=r[v-1],h=r[v],d=r[v+1],f=r[v+2],C=a[v-3],A=a[v-2],F=a[v-1],p=a[v],D=a[v+1],m=a[v+2];s+=this.ts_(this.UP1__[n]),s+=this.ts_(this.UP2__[i]),s+=this.ts_(this.UP3__[g]),s+=this.ts_(this.BP1__[n+i]),s+=this.ts_(this.BP2__[i+g]),s+=this.ts_(this.UW1__[c]),s+=this.ts_(this.UW2__[o]),s+=this.ts_(this.UW3__[E]),s+=this.ts_(this.UW4__[h]),s+=this.ts_(this.UW5__[d]),s+=this.ts_(this.UW6__[f]),s+=this.ts_(this.BW1__[o+E]),s+=this.ts_(this.BW2__[E+h]),s+=this.ts_(this.BW3__[h+d]),s+=this.ts_(this.TW1__[c+o+E]),s+=this.ts_(this.TW2__[o+E+h]),s+=this.ts_(this.TW3__[E+h+d]),s+=this.ts_(this.TW4__[h+d+f]),s+=this.ts_(this.UC1__[C]),s+=this.ts_(this.UC2__[A]),s+=this.ts_(this.UC3__[F]),s+=this.ts_(this.UC4__[p]),s+=this.ts_(this.UC5__[D]),s+=this.ts_(this.UC6__[m]),s+=this.ts_(this.BC1__[A+F]),s+=this.ts_(this.BC2__[F+p]),s+=this.ts_(this.BC3__[p+D]),s+=this.ts_(this.TC1__[C+A+F]),s+=this.ts_(this.TC2__[A+F+p]),s+=this.ts_(this.TC3__[F+p+D]),s+=this.ts_(this.TC4__[p+D+m]),s+=this.ts_(this.UQ1__[n+C]),s+=this.ts_(this.UQ2__[i+A]),s+=this.ts_(this.UQ3__[g+F]),s+=this.ts_(this.BQ1__[i+A+F]),s+=this.ts_(this.BQ2__[i+F+p]),s+=this.ts_(this.BQ3__[g+A+F]),s+=this.ts_(this.BQ4__[g+F+p]),s+=this.ts_(this.TQ1__[i+C+A+F]),s+=this.ts_(this.TQ2__[i+A+F+p]),s+=this.ts_(this.TQ3__[g+C+A+F]);var B="O";(s+=this.ts_(this.TQ4__[g+A+F+p]))>0&&(t.push(u),u="",B="B"),n=i,i=g,g=B,u+=r[v]}return t.push(u),t},e.exports=t},429:e=>{var t=function(e,t){var r;for(r=0;r<e.length;r++)if(e[r].regex.test(t))return e[r]},r=function(e,r){var a,l,u;for(a=0;a<r.length;a++)if(l=t(e,r.substring(0,a+1)))u=l;else if(u)return{max_index:a,rule:u};return u?{max_index:r.length,rule:u}:void 0};e.exports=function(e){var a="",l=[],u=1,n=1,i=function(t,r){e({type:r,src:t,line:u,col:n});var a=t.split("\n");u+=a.length-1,n=(a.length>1?1:n)+a[a.length-1].length};return{addRule:function(e,t){l.push({regex:e,type:t})},onText:function(e){for(var t=a+e,u=r(l,t);u&&u.max_index!==t.length;)i(t.substring(0,u.max_index),u.rule.type),t=t.substring(u.max_index),u=r(l,t);a=t},end:function(){if(0!==a.length){var e=t(l,a);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:a,line:u,col:n},r}i(a,e.type)}}}}}},t={};function r(a){var l=t[a];if(void 0!==l)return l.exports;var u=t[a]={exports:{}};return e[a](u,u.exports,r),u.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";r.r(a),r.d(a,{default:()=>qe});const e=window.yoast.analysis,t=window.lodash;var l=r(771),u=r.n(l);const{sanitizeString:n,removePunctuation:i}=e.languageProcessing,g=new(u());function v(e){if(""===(e=n(e)))return[];let r=g.segment(e);return r=(0,t.map)(r,(function(e){return i(e)})),(0,t.filter)(r,(function(e){return""!==e.trim()}))}const s=["が","を","に","へ","と","から","より","まで","で","か","の","や","やら","だ","なり","わ","とも","かしら","かな","かい","っけ","さ","よ","ね","ばかり","ばっかり","ばっか","ばかし","だけ","きり","っきり","ほど","くらい","ぐらい","ころ","ごろ","など","は","も","こそ","でも","しか","さえ","ば","て","のに","ので","ところ","けれども","けれど","くせ","もの","もん","ものか","もんか","な","なあ","なんか","なんて","って","し","ずつ","すら","ともに","ぜ","ぞ","じゃん","ながら","たり","だり","つつ","まま","ものの","つまり","しかし","よって","に関する","に関し","について","における","において","関","する","関し","ついて","おえる","おける","という","といっ","た","に対する","対","に対して","対して","にかけ","による","により","によって","および","これ","それ","あれ","どれ","こちら","こっち","そちら","そっち","あちら","あっち","どちら","どっち","ここ","そこ","あそこ","どこ","こう","そう","ああ","どう","こんな","そんな","あんな","どんな","この","よう","その","あの","ど","こうやって","そうやって","ああやって","やっ","どの","こっ","そっから","どっ","さま","あちらさま","どちらさま","そちらさま","こんだけ","そんだけ","あんだけ","どん","なに","なん","何","どいつ","どなた","だれ","誰","いつ","なぜ","どうして","どれくらい","どれぐらい","位","いくら","いくつ","一","二","三","四","五","六","七","八","九","十","百","千","万","億","兆","ひとつ","ふたつ","みっつ","よっつ","いつつ","むっつ","ななつ","やっつ","ここのつ","とお","つ","こ","コ","個","人","ひき","匹","まい","枚","さつ","冊","杯","回","キロ","グラム","適量","少々","大匙","大さじ","小匙","小さじ","g","cc","ml","l","kg","番目","め","週","時間","週間","時","分","秒","か月","カ月","ヶ月","部分","一部","ほか","他","それぞれ","まっ","たく","全く","ぜんぶ","全部","すべて","全","すごく","最高","最悪","可能","良い","良く","良さ","いい","よい","悪い","悪く","悪さ","大きな","おおき","小さ","ちいさ","だめ","ダメ","駄目","ただ","ちょっと","すこし","少し","なか","たくさん","よく","たまに","ときどき","時々","いつも","およそ","やく","だい","たい","約","程","大体","また","もう","とて","おそらく","たぶん","恐らく","多分","のみ","多少","本当","ほんとう","まじ","マジ","勿論","もちろん","やっと","しっかり","さっき","ほんと","ホント","きっと","かならず","必ず","絶対","ぜっ","ゼッタイ","にかく","やっぱり","やっぱ","たっ","はっきり","すでに","なる","いっしょ","緒","だいじょうぶ","ダイジョウブ","大丈夫","年","月","日","今日","明日","明後","昨日","一昨日","きょう","あす","あし","あさっ","き","のう","おととい","今年","来年","去年","ことし","らいねん","きょねん","わたし","わたくし","あたし","私","あたくし","うち","うちら","おら","おいら","わたしら","たち","わたしど","われら","われわ","れ","私ら","私達","達","私共","我ら","我々","おれ","俺","オレ","おれら","ぼく","ボクら","僕","じぶん","俺ら","僕ら","僕達","自分","俺達","ボク","あなた","貴方","貴女","貴男","君","きみ","おまえ","お","前","あんた","お宅","てめえ","貴殿","彼","彼ら","彼女","ら","こいつ","そいつ","あいつ","アイツ","これら","それら","あれら","あいつら","ども","みな","みなさま","おのおの","共","みんな","皆様","各々","皆","皆さま","方","当方","自身","さん","様","殿","ちゃん","くん","こと","事","物","コト","やつ","ヤツ","奴","まえ","あと","うえ","後","上","下","中","先","さらに","更","とく","特に","ほとんど","再び","ふたたび","ほぼ","そのまま","すぐ","あまり","相当","しばしば","わずか","僅か","比較","的","まだ","かなり","つい","まず","やが","やや","つねに","常","ひきつづき","引き続き","きわめて","極めて","ごく","別","べつ","はり","必ずし","かならずしも","むしろ","がい","まも","なく","あら","ためて","けっし","おも","互い","間","改めて","決し","主","主として","もっと","とりわけ","あく","おおむね","おおい","概ね","大い","そうし","それほど","ちょうど","とえ","まさに","なんと","とか","あえて","まる","おおよそ","ます","ぜんぜん","全然","じゃ","ません","です","あり","ませ","ん","ない","しませ","なら","ある","ありませ","いる","い","いませ","できる","でき","れる","られる","せる","させる","思わ","考え","られ","おっしゃい","述べ","言わ","話","なられ","お思い","らしい","らしく","でしょ","う","だろ","ご","御","ハイ","はい","いいえ","うん","うーん","ええ","よし","いや","まあ","おい","ねえ","どうぞ","ほら","おお","あー","さあ","まし","でし","だっ","なかっ","しまし","なっ","あっ","いた","せ","させ","ますか","み","みませ","ましょ","でみ","でみませ","なられる","なろ"];function c(e){let t=v(e);return t=t.filter((e=>!s.includes(e))),t=t.map((e=>e.endsWith("じゃ")?e.slice(0,-2):e)),t}const o=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"],E=e=>(0,t.includes)(o,e[0])&&(0,t.includes)(o,e[e.length-1]);function h(e){const t={exactMatchRequested:!1,keyphrase:e};return E(e)&&(t.keyphrase=e.substring(1,e.length-1),t.exactMatchRequested=!0),t}const d=new RegExp("["+["'","‘","’","‛","`","‹","›"].join("")+"]","g");function f(e){return e.replace(d,"'")}function C(e){return function(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}(f(e))}function A(e,t){e=e.toLowerCase();const r=h(t);if(r.exactMatchRequested){e=f(e);const t=r.keyphrase,a=[];let l=e.indexOf(t);for(;-1!==l;)a.push(t),l=e.indexOf(t,l+t.length);return a}return c(e).filter((e=>t===e))}function F(e,r){return e.length<=1?[e]:function(e,r){const a=r.paradigmGroups;let l=(0,t.uniq)((0,t.flatten)(a));l=l.sort(((e,t)=>t.length-e.length||e.localeCompare(t)));const u=l.filter((t=>e.endsWith(t))),n=[];if(0===u.length)n.push(e);else{const t=u[0],r=e.slice(0,-t.length);for(const e of a)e.includes(t)&&n.push(e.map((e=>r+e)))}return e.endsWith("る")&&n.push(e.slice(0,-1)),(0,t.uniq)((0,t.flatten)(n))}(e,r)}const{baseStemmer:p}=e.languageProcessing;function D(e){const r=(0,t.get)(e.getData("morphology"),"ja",!1);return r?e=>function(e,t){let r=F(e,t);return r=r.sort(((e,t)=>e.length-t.length||e.localeCompare(t))),r[0]}(e,r):p}function m(e){const t=[];return e.map((e=>t.push(e.length))),0===e.length?0:t.reduce(((e,t)=>e+t))}const B=new RegExp("(ftp|http(s)?:\\/\\/.)(www\\\\.)?[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)|www\\.[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)","igm"),{sanitizeString:O}=e.languageProcessing;function _(e){return e=function(e){return e.replace(B,"")}(e),(e=(e=(e=O(e)).replace(/\s/g,"")).replace(/[。.?!…‥,、・―〜~:゠=()「」『』〝〟〔〕【】[]{}〈〉《》.?!:;()"'<>]/g,"")).length}function I(e,t){const r=v(e).join("|"),a=[];return t.forEach((function(e){const t=e.join("|");r.includes(t)&&a.push(e)})),a}var b=r(429),H=r.n(b);function y(e,t=!1,r="",a=""){let l,u;return l="id"===a?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+r+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+r+"<>",u=t?"($|((?="+l+"]))|((['‘’‛`])("+l+"])))":"($|("+l+"])|((['‘’‛`])("+l+"])))","(^|"+l+"'‘’‛`])"+e+u}function U(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}const M=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],S=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],x=(new RegExp("^("+M.join("|")+")$","i"),new RegExp("^("+S.join("|")+")$","i"),new RegExp("^<("+M.join("|")+")[^>]*?>$","i")),w=new RegExp("^</("+M.join("|")+")[^>]*?>$","i"),k=new RegExp("^<("+S.join("|")+")[^>]*>$","i"),K=new RegExp("^</("+S.join("|")+")[^>]*>$","i"),T=/^<([^>\s/]+)[^>]*>$/,R=/^<\/([^>\s]+)[^>]*>$/,z=/^[^<]+$/,N=/^<[^><]*$/,W=/<!--(.|[\r\n])*?-->/g;let j,L=[];(0,t.memoize)((function(e){const r=[];let a=0,l="",u="",n="";return e=e.replace(W,""),L=[],j=H()((function(e){L.push(e)})),j.addRule(z,"content"),j.addRule(N,"greater-than-sign-content"),j.addRule(x,"block-start"),j.addRule(w,"block-end"),j.addRule(k,"inline-start"),j.addRule(K,"inline-end"),j.addRule(T,"other-element-start"),j.addRule(R,"other-element-end"),j.onText(e),j.end(),(0,t.forEach)(L,(function(e,t){const i=L[t+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==a||"block-start"!==i.type&&"block-end"!==i.type)?u+=e.src:(u+=e.src,r.push(u),l="",u="",n="");break;case"block-start":0!==a&&(""!==u.trim()&&r.push(u),u="",n=""),a++,l=e.src;break;case"block-end":a--,n=e.src,""!==l&&""!==n?r.push(l+u+n):""!==u.trim()&&r.push(u),l="",u="",n=""}a<0&&(a=0)})),r})),new RegExp("^<("+M.join("|")+")[^>]*?>","i"),new RegExp("</("+M.join("|")+")[^>]*?>$","i");const $=function(e){return U(e=e.replace(/(<([^>]+)>)/gi," "))},P=function(e){return e.replace(/ /g," ")},Y=function(e){return function(e){return e.replace(/\s/g," ")}(e=function(e){return e.replace(/\u2014/g," ")}(e=P(e)))};function Z(e){return e=Y(e),$(e)}const Q=new RegExp("^[.]$"),G=/^<[^><]*$/,q=/^<([^>\s/]+)[^>]*>$/im,V=/^<\/([^>\s]+)[^>]*>$/im,J=/^\s*[[({]\s*$/,X=/^\s*[\])}]\s*$/,ee=function(e,r=!1,a="",l=!1){const u="("+(e=(0,t.map)(e,(function(e){return l&&(e=function(e){const t=[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];for(let r=0;r<t.length;r++)e=e.replace(t[r].letters,t[r].base);return e}(e)),e=Z(e),r?e:y(e,!0,a)}))).join(")|(")+")";return new RegExp(u,"ig")}(["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."].map((e=>e.replace(".","\\.")))),te="(^|$|["+[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"].map((e=>"\\"+e)).join("")+"])",re=new RegExp(te+"[A-Za-z]$"),ae=/<\/?([^\s]+?)(\s|>)/,le=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];class ue{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,t.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=C(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let r="";return(0,t.isUndefined)(e[0])||(r+=e[0].src),(0,t.isUndefined)(e[1])||(r+=e[1].src),r=this.removeDuplicateWhitespace(r),r}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((t=>t.test(e)))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,t.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,t.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,r,a,l){return!(0,t.isUndefined)(e)&&!(0,t.isUndefined)(a)&&!(0,t.isUndefined)(l)&&!(0,t.isUndefined)(r)&&"full-stop"===e.type&&"sentence"===r.type&&re.test(r.src)&&"sentence"===a.type&&1===a.src.trim().length&&"full-stop"===l.type}tokenizeSmallerThanContent(e,r,a){const l=e.src.substring(1),u=this.createTokenizer();this.tokenize(u.tokenizer,l);const n=this.getSentencesFromTokens(u.tokens,!1);if(n[0]=(0,t.isUndefined)(n[0])?"<":"<"+n[0],this.isValidSentenceBeginning(n[0])&&(r.push(a),a=""),a+=n[0],n.length>1){r.push(a),a="",n.shift();const e=n.pop();n.forEach((e=>{r.push(e)}));const t=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(t)?r.push(e):a=e}return{tokenSentences:r,currentSentence:a}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],a=H()((function(e){r.push(e)}));return a.addRule(Q,"full-stop"),a.addRule(G,"smaller-than-sign-content"),a.addRule(q,"html-start"),a.addRule(V,"html-end"),a.addRule(J,"block-start"),a.addRule(X,"block-end"),a.addRule(e,"sentence-delimiter"),a.addRule(t,"sentence"),{tokenizer:a,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(ee);if(!t)return!1;const r=t.pop();return e.endsWith(r)}isValidTagPair(e,t){const r=e.src,a=t.src,l=r.match(ae)[1];return l===a.match(ae)[1]&&le.includes(l)}getSentencesFromTokens(e,r=!0){let a,l,u=[],n="";do{l=!1;const t=e[0],r=e[e.length-1];t&&r&&"html-start"===t.type&&"html-end"===r.type&&this.isValidTagPair(t,r)&&(e=e.slice(1,e.length-1),l=!0)}while(l&&e.length>1);return e.forEach(((r,l)=>{let i,g,v;const s=e[l+1],c=e[l-1],o=e[l+2];switch(g=this.getNextTwoCharacters([s,o]),i=g.length>=2,a=i?g[1]:"",r.type){case"html-start":case"html-end":this.isBreakTag(r.src)?(u.push(n),n=""):n+=r.src;break;case"smaller-than-sign-content":v=this.tokenizeSmallerThanContent(r,u,n),u=v.tokenSentences,n=v.currentSentence;break;case"sentence":case"block-start":n+=r.src;break;case"sentence-delimiter":if(n+=r.src,!(0,t.isUndefined)(s)&&"block-end"!==s.type&&"sentence-delimiter"!==s.type&&this.isCharacterASpace(s.src[0])){if(this.isQuotation(r.src)&&c&&"."!==c.src)break;this.isQuotation(r.src)||"…"===r.src?n=this.getValidSentence(i,a,g,s,u,n):(u.push(n),n="")}break;case"full-stop":if(n+=r.src,g=this.getNextTwoCharacters([s,o]),i=g.length>=2,a=i?g[1]:"",this.endsWithAbbreviation(n))break;if(i&&this.isNumber(g[0]))break;if(this.isPartOfPersonInitial(r,c,s,o))break;if(this.endsWithOrdinalDot(n))break;n=this.getValidSentence(i,a,g,s,u,n);break;case"block-end":if(n+=r.src,g=this.getNextTwoCharacters([s,o]),i=g.length>=2,a=i?g[0]:"",i&&this.isNumber(g[0])||this.isSentenceEnding(c)&&!this.isValidSentenceBeginning(a)&&!this.isSentenceStart(s))break;this.isSentenceEnding(c)&&(this.isSentenceStart(s)||this.isValidSentenceBeginning(a))&&(u.push(n),n="")}})),""!==n&&u.push(n),r&&(u=(0,t.map)(u,(function(e){return e.trim()}))),u}getValidSentence(e,t,r,a,l,u){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(a))&&(l.push(u),u=""),u}isCharacterASpace(e){return/\s/.test(e)}}class ne extends ue{constructor(){super(),this.sentenceDelimiters="?!…。。!‼?⁇⁉⁈⁉‥"}isNumber(e){return!(0,t.isNaN)(parseInt(e,10))||[/^[\uFF10-\uFF19]+$/i,/^[\u2460-\u249B]+$/i,/^[\u3220-\u3229]+$/i,/^[\u3280-\u3289]+$/i].some((t=>t.test(e)))}isQuotation(e){return"'"===(e=C(e))||'"'===e||/^[\u300C\u300E\u3008\u3014\u3010\uFF5B\uFF3B]+$/i.test(e)}isLetterFromSpecificLanguage(e){return[/^[\u3040-\u3096]+$/i,/^[\u30A1-\u30FA]+$/i,/^[\u31F0-\u31FF]+$/i,/^[\uFF66-\uFF9D]+$/i,/^[\u4E00-\u9FFC]+$/i].some((t=>t.test(e)))}isCharacterASpace(){return!0}}const ie=(0,t.memoize)((function(e,t=!0){const r=new ne,{tokenizer:a,tokens:l}=r.createTokenizer();return r.tokenize(a,e),0===l.length?[]:r.getSentencesFromTokens(l,t)}),((...e)=>JSON.stringify(e))),ge=function(e){if(""===e)return[];const r=(new(u())).segment(e);return(0,t.map)(r)},ve=["この","その","あの","こんな","そんな","あんな","こう","そう","ああ"],se=[["だから"],["その","ため"],["この","ため"],["それ","で"],["そこ","で"],["よって"],["する","と"],["だと","する","と"],["ゆえ","に"],["それゆえ","に"],["し","た","がっ","て"],["それゆえ"],["それ","なら"],["それ","で","は"],["ならば"],["だ","と","し","たら"],["そう","する","と"],["そう","し","たら"],["さも","ない","と"],["そうし","ない","と"],["そう","で","ない","なら"],["だと","すれ","ば"],["そう","なる","と"],["と","なる","と"],["と","なれ","ば"],["そうして","みる","と"],["そう","なれ","ば"],["そうして"],["そのけっか"],["その","結果"],["しかし"],["けど"],["ただ"],["だ","が"],["しかし","ながら"],["けれど"],["けれども"],["だけど"],["だけども"],["そう","で","は","ある","が"],["それ","でも"],["でも"],["で","は","ある","が"],["に","も","かかわらず"],["それ","に","も","かかわらず"],["ところ","が"],["しかる","に"],["と","はいう","もの","の"],["と","は","言う","もの","の"],["な","の","に"],["それ","な","の","に"],["と","は","いえ"],["そう","はいう","もの","の"],["そう","は","言う","もの","の"],["そのくせ"],["さり","と","て"],["さ","れど"],["これ","に","はんし","て"],["これ","に","反し","て"],["それ","に","し","て","は"],["そのわり","に","は"],["そのわり","に"],["それ","なら"],["ならび","に"],["おなじく"],["同じく"],["また"],["どう","よう","に"],["同様","に"],["さ","れど","も"],["さらに"],["おなじ","よう","に"],["同じ","よう","に"],["のみ","なら","ず"],["しかも"],["おまけ","に"],["そのうえ"],["その","上"],["そして"],["それ","から"],["それどころか"],["どころか"],["それ","に"],["それ","に","し","て","も"],["くわえ","て"],["加え","て"],["それ","にくわえ","て"],["それ","に","加え","て"],["ひいて","は"],["なお"],["それ","ばかり","で","なく"],["それ","ばかりか"],["とも","あれ"],["その","うえ","に"],["その","上","に"],["その","うえ","で"],["その","上","で"],["あまつさえ"],["いっぽう"],["一方"],["たほう"],["他方"],["ぎゃく","に"],["逆","に"],["それ","に","たいし","て"],["それ","に対して"],["たいし","て"],["対して"],["はん","たい","に"],["反対","に"],["はんめん"],["反面"],["その","は","んめん"],["その","反面"],["また","は"],["もしく","は"],["あるい","は"],["それとも"],["ほか","に","は"],["他","に","は"],["ほか","に","も"],["他","に","も"],["だいいち","に"],["第一","に"],["だい","に","に"],["第二","に"],["だい","さん","に"],["第三","に"],["だい","よん","に"],["第四","に"],["ひとつめ","は"],["一つめ","は"],["一つ","目","は"],["1つめ","は"],["1つ","目","は"],["ふたつめ","は"],["二つめ","は"],["二つ","目","は"],["2つめ","は"],["2つ","目","は"],["みっつめ","は"],["三つめ","は"],["三つ","目","は"],["3つめ","は"],["3つ","目","は"],["よっつめ","は"],["四つめ","は"],["四つ","目","は"],["4つめ","は"],["4つ","目","は"],["いって","んめ","は"],["一点目","は"],["1","点目","は"],["に","てんめ","は"],["二点目","は"],["2","点目","は"],["さん","て","んめ","は"],["三点目","は"],["3","点目","は"],["よん","て","んめ","は"],["四点目","は"],["4","点目","は"],["ひとつ","は"],["一つ","は"],["1つ","は"],["もう","ひ","とつ","は"],["もう","一つ","は"],["もう","1","つ","は"],["いってん","は"],["一点","は"],["1点","は"],["もういってん","は"],["もう","一点","は"],["もう","1","点","は"],["はじめ","に"],["さいしょ","に"],["最初","に"],["つづい","て"],["続い","て"],["つい","で"],["次い","で"],["さいごに"],["最後","に"],["おわり","に"],["終わり","に"],["終り","に"],["その","ご"],["その","後"],["まず"],["つぎ","に"],["次","に"],["さらに"],["その","あと"],["その","あと","に"],["その後","に"],["なぜ","なら"],["なぜ","なら","ば"],["なぜか","という","と"],["という","の","は"],["という","の","も"],["だっ","て"],["なに","しろ"],["なにせ"],["どう","して","か","という","と"],["なん","で","か","という","と"],["ち","なみ","に"],["ただ"],["もっとも"],["その","かわり"],["ただし"],["そも","そも"],["じつ","は"],["実","は"],["じつ","の","ところ"],["実","の","ところ"],["じつ","は","という","と"],["実","は","という","と"],["実","は","と","言う","と"],["つまり"],["いいかえる","と"],["言い","かえる","と"],["言い換える","と"],["す","なわち"],["よう","は"],["要","は"],["とど","の","つまり"],["よう","する","に"],["要","する","に"],["むしろ"],["かんげん","する","と"],["換言","する","と"],["かえっ","て"],["かわり","に"],["その","かわり"],["いわば"],["いって","みれ","ば"],["言っ","て","みれ","ば"],["という","より"],["と言う","より"],["という","より","は"],["と言う","より","は"],["という","より","も"],["と言う","より","も"],["という","か"],["ぐたい","て","き","に","は"],["具体","的","に","は"],["た","とえば"],["例え","ば"],["とりわけ"],["なか","で","も"],["こと","に"],["殊","に"],["とく","に"],["特に"],["それ","に","は"],["その","ため","に","は"],["そう","する","ば","あい"],["そう","する","場合"],["その","ば","あい"],["その","場合"],["そうすれ","ば"],["それ","によって"],["そう","する","こと","で"],["さ","れ","ば"],["さすれ","ば"],["さて"],["それ","につけて","も"],["ところ","で"],["とき","に"],["時","に"],["それ","は","さ","て","おき"],["で","は"],["それ","で","は"],["じゃ","あ"],["とも","あれ"],["それ","は","そう","と"],["そういえ","ば"],["それ","に","し","たっ","て"],["しょせん"],["所詮"],["ど","の","みち"],["どの","道"],["どっちみち"],["どっち道"],["この","よう","に"],["こうして"],["いずれ","に","せ","よ"],["いずれ","に","し","て","も"],["どちら","に","せ","よ"],["どっち","に","し","て","も"],["どっち","に","せ","よ"],["どちら","に","し","て","も"],["とも","あれ"],["いじょう","の","よう","に"],["以上","の","よう","に"],["たしか","に"],["確か","に"],["いっぽう","で"],["一方","で"],["いっぽう","で","は"],["一方","で","は"],["たほう","で"],["他方","で"],["たほう","で","は"],["他方","で","は"],["かり","に"],["仮","に"],["た","とえ"],["よしんば"],["と","する","と"],["とすれ","ば"],["し","から","ば"],["に","も","かかわらず"],["に","も","拘わらず"],["といえども"],["と","言え","ど","も"],["といって","も"],["と言っ","て","も"],["と","はいう","もの","の"],["と","は","言う","もの","の"],["こと","に","は"],["まも","なく"],["やが","て"],["と","たん","に"],["つづい","て"],["続い","て"],["ひきつづき"],["引き続き"],["かと","おも","う","と"],["かと","思う","と"],["かと","おもえば"],["かと","思え","ば"],["かと","おもうまも","なく"],["かと","思う間も","なく"],["かと","思う","まも","なく"],["と","たん"],["そのしゅんかん"],["その","瞬間"],["どうじ","に"],["同","時に"],["まし","て"],["まし","て","や"],["これ","に","たいし","て"],["これ","に対して"],["もちろん"],["も","とより"],["それ","だ","から"],["これ","だ","から"],["とうぜん"],["当然"]],ce={lengthCriteria:7},oe={defaultAnalysis:{recommendedMinimum:600,slightlyBelowMinimum:500,belowMinimum:400,veryFarBelowMinimum:200},defaultCornerstone:{recommendedMinimum:1800,slightlyBelowMinimum:800,belowMinimum:600,scores:{belowMinimum:-20,farBelowMinimum:-20}},taxonomyAssessor:{recommendedMinimum:60,slightlyBelowMinimum:20,veryFarBelowMinimum:1},productSEOAssessor:{recommendedMinimum:400,slightlyBelowMinimum:300,belowMinimum:200,veryFarBelowMinimum:100},productCornerstoneSEOAssessor:{recommendedMinimum:800,slightlyBelowMinimum:600,belowMinimum:400,scores:{belowMinimum:-20,farBelowMinimum:-20}},collectionSEOAssessor:{recommendedMinimum:60,slightlyBelowMinimum:20,veryFarBelowMinimum:1},collectionCornerstoneSEOAssessor:{recommendedMinimum:60,slightlyBelowMinimum:20,veryFarBelowMinimum:1}},Ee={defaultPageParams:{recommendedLength:300,maximumRecommendedLength:400},productPageParams:{recommendedLength:140,maximumRecommendedLength:200}},he={transitionWords:400,keyphraseDensity:200},de={recommendedLength:40},fe={defaultParameters:{parameters:{recommendedMaximumLength:600,slightlyTooMany:600,farTooMany:700},applicableIfTextLongerThan:600},cornerstoneParameters:{parameters:{recommendedMaximumLength:500,slightlyTooMany:500,farTooMany:600},applicableIfTextLongerThan:500}},Ce={defaultAnalysis:{parameters:{recommendedMaximum:12,acceptableMaximum:18}},productPages:{parameters:{recommendedMinimum:8,recommendedMaximum:12,acceptableMaximum:18,acceptableMinimum:4}}},Ae={recommendedMaximumLength:60,maximumLength:80},Fe="[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+",pe=new RegExp("^"+Fe),De=new RegExp(Fe+"$");function me(e,r){if(o.includes(e[0])&&o.includes(e[e.length-1]))return[[e]];const a=c(e);if(0===a.length)return[[]];const l=(0,t.get)(r.getData("morphology"),"ja",!1);return a.map((e=>l?F(e,l):[e]))}function Be(e,t){let r=e.getKeyword().toLocaleLowerCase("ja").trim();r=r.replace(/\s/g,"");const a=function(e){let t=e.split(",");return t=t.map((e=>U(e).replace(pe,"").replace(De,""))).filter((e=>e)),t}(e.getSynonyms().toLocaleLowerCase("ja").trim());return{keyphraseForms:me(r,t),synonymsForms:a.map((e=>me(e,t)))}}function Oe(e){return{keyphraseLength:m(v(e.getKeyword())),functionWords:[]}}function _e(e){return{text:e.getText(),count:_(e.getText()),unit:"character"}}const Ie="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>",be=(Ie.split(""),new RegExp("^["+Ie+"]+")),He=new RegExp("["+Ie+"]+$");function ye(e){e=(e=P(e)).replace("&","");const t=new RegExp("(\\\\)","g");return(e=(e=e.replace(t,"")).replace(be,"")).replace(He,"")}function Ue(e){return e.split("_")[0]}const Me={es:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00FA\u00FC]/g,alternative:"u"},{letter:/[\u00DA\u00DC]/g,alternative:"U"}],pl:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u017A\u017C]/g,alternative:"z"},{letter:/[\u0179\u017B]/g,alternative:"Z"}],de:[{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00DF]/g,alternative:"ss"},{letter:/[\u1E9E]/g,alternative:"SS"}],nbnn:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00F3\u00F2\u00F4]/g,alternative:"o"},{letter:/[\u00D3\u00D2\u00D4]/g,alternative:"O"}],sv:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"}],fi:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u017E]/g,alternative:"zh"},{letter:/[\u017D]/g,alternative:"Zh"},{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"}],da:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"}],tr:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u0131\u00EE]/g,alternative:"i"},{letter:/[\u0130\u00CE]/g,alternative:"I"},{letter:/[\u00FC\u00FB]/g,alternative:"u"},{letter:/[\u00DC\u00DB]/g,alternative:"U"}],lv:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"}],is:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3\u00F6]/g,alternative:"o"},{letter:/[\u00D3\u00D6]/g,alternative:"O"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00DE]/g,alternative:"Th"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],fa:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00F3\u00F8]/g,alternative:"o"},{letter:/[\u00D3\u00D8]/g,alternative:"O"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],cs:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u00E9\u011B]/g,alternative:"e"},{letter:/[\u00C9\u011A]/g,alternative:"E"},{letter:/[\u00FA\u016F]/g,alternative:"u"},{letter:/[\u00DA\u016E]/g,alternative:"U"}],ru:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0456\u0438\u0439]/g,alternative:"i"},{letter:/[\u0406\u0418\u0419]/g,alternative:"I"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044A]/g,alternative:"ie"},{letter:/[\u042A]/g,alternative:"Ie"},{letter:/[\u044B]/g,alternative:"y"},{letter:/[\u042B]/g,alternative:"Y"},{letter:/[\u044C]/g,alternative:""},{letter:/[\u042C]/g,alternative:""},{letter:/[\u0451\u044D]/g,alternative:"e"},{letter:/[\u0401\u042D]/g,alternative:"E"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/[\u042E]/g,alternative:"Iu"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/[\u042F]/g,alternative:"Ia"}],eo:[{letter:/[\u0109]/g,alternative:"ch"},{letter:/[\u0108]/g,alternative:"Ch"},{letter:/[\u011d]/g,alternative:"gh"},{letter:/[\u011c]/g,alternative:"Gh"},{letter:/[\u0125]/g,alternative:"hx"},{letter:/[\u0124]/g,alternative:"Hx"},{letter:/[\u0135]/g,alternative:"jx"},{letter:/[\u0134]/g,alternative:"Jx"},{letter:/[\u015d]/g,alternative:"sx"},{letter:/[\u015c]/g,alternative:"Sx"},{letter:/[\u016d]/g,alternative:"ux"},{letter:/[\u016c]/g,alternative:"Ux"}],af:[{letter:/[\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00CB\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00EE\u00EF]/g,alternative:"i"},{letter:/[\u00CE\u00CF]/g,alternative:"I"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00DB\u00DC]/g,alternative:"U"}],ca:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9|\u00E8]/g,alternative:"e"},{letter:/[\u00C9|\u00C8]/g,alternative:"E"},{letter:/[\u00ED|\u00EF]/g,alternative:"i"},{letter:/[\u00CD|\u00CF]/g,alternative:"I"},{letter:/[\u00F3|\u00F2]/g,alternative:"o"},{letter:/[\u00D3|\u00D2]/g,alternative:"O"},{letter:/[\u00FA|\u00FC]/g,alternative:"u"},{letter:/[\u00DA|\u00DC]/g,alternative:"U"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"}],ast:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],an:[{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00F1]/g,alternative:"ny"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00D1]/g,alternative:"Ny"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00C1]/g,alternative:"A"}],ay:[{letter:/(([\u00EF])|([\u00ED]))/g,alternative:"i"},{letter:/(([\u00CF])|([\u00CD]))/g,alternative:"I"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u0027]/g,alternative:""},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],en:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00EB\u00E9]/g,alternative:"e"},{letter:/[\u00C9\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],fr:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EB\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CB\u00CA]/g,alternative:"E"},{letter:/[\u00E0\u00E2]/g,alternative:"a"},{letter:/[\u00C0\u00C2]/g,alternative:"A"},{letter:/[\u00EF\u00EE]/g,alternative:"i"},{letter:/[\u00CF\u00CE]/g,alternative:"I"},{letter:/[\u00F9\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00D9\u00DB\u00DC]/g,alternative:"U"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],it:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9\u00E8]/g,alternative:"e"},{letter:/[\u00C9\u00C8]/g,alternative:"E"},{letter:/[\u00EC\u00ED\u00EE]/g,alternative:"i"},{letter:/[\u00CC\u00CD\u00CE]/g,alternative:"I"},{letter:/[\u00F3\u00F2]/g,alternative:"o"},{letter:/[\u00D3\u00D2]/g,alternative:"O"},{letter:/[\u00F9\u00FA]/g,alternative:"u"},{letter:/[\u00D9\u00DA]/g,alternative:"U"}],nl:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E9\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],bm:[{letter:/[\u025B]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0272]/g,alternative:"ny"},{letter:/[\u019D]/g,alternative:"Ny"},{letter:/[\u014B]/g,alternative:"ng"},{letter:/[\u014A]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"}],uk:[{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"h"},{letter:/[\u0413]/g,alternative:"H"},{letter:/[\u0491]/g,alternative:"g"},{letter:/[\u0490]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u0070]/g,alternative:"r"},{letter:/[\u0050]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044C\u042C]/g,alternative:""},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0438]/g,alternative:"y"},{letter:/[\u0418]/g,alternative:"Y"},{letter:/^[\u0454]/g,alternative:"ye"},{letter:/[\s][\u0454]/g,alternative:" ye"},{letter:/[\u0454]/g,alternative:"ie"},{letter:/^[\u0404]/g,alternative:"Ye"},{letter:/[\s][\u0404]/g,alternative:" Ye"},{letter:/[\u0404]/g,alternative:"IE"},{letter:/^[\u0457]/g,alternative:"yi"},{letter:/[\s][\u0457]/g,alternative:" yi"},{letter:/[\u0457]/g,alternative:"i"},{letter:/^[\u0407]/g,alternative:"Yi"},{letter:/[\s][\u0407]/g,alternative:" Yi"},{letter:/[\u0407]/g,alternative:"I"},{letter:/^[\u0439]/g,alternative:"y"},{letter:/[\s][\u0439]/g,alternative:" y"},{letter:/[\u0439]/g,alternative:"i"},{letter:/^[\u0419]/g,alternative:"Y"},{letter:/[\s][\u0419]/g,alternative:" Y"},{letter:/[\u0419]/g,alternative:"I"},{letter:/^[\u044E]/g,alternative:"yu"},{letter:/[\s][\u044E]/g,alternative:" yu"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/^[\u042E]/g,alternative:"Yu"},{letter:/[\s][\u042E]/g,alternative:" Yu"},{letter:/[\u042E]/g,alternative:"IU"},{letter:/^[\u044F]/g,alternative:"ya"},{letter:/[\s][\u044F]/g,alternative:" ya"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/^[\u042F]/g,alternative:"Ya"},{letter:/[\s][\u042F]/g,alternative:" Ya"},{letter:/[\u042F]/g,alternative:"IA"}],br:[{letter:/\u0063\u0027\u0068/g,alternative:"ch"},{letter:/\u0043\u0027\u0048/g,alternative:"CH"},{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],ch:[{letter:/[\u0027]/g,alternative:""},{letter:/[\u00e5]/g,alternative:"a"},{letter:/[\u00c5]/g,alternative:"A"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],co:[{letter:/[\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00e6\u04d5]/g,alternative:"ae"},{letter:/[\u00c6\u04d4]/g,alternative:"Ae"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e9\u00ea\u00e8\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00ca\u00c8\u00cb]/g,alternative:"E"},{letter:/[\u00ec\u00ee\u00ef]/g,alternative:"i"},{letter:/[\u00cc\u00ce\u00cf]/g,alternative:"I"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00f4\u00f2]/g,alternative:"o"},{letter:/[\u00d4\u00d2]/g,alternative:"O"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]]/g,alternative:"Oe"},{letter:/[\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00ff]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"}],csb:[{letter:/[\u0105\u00e3]/g,alternative:"a"},{letter:/[\u0104\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00cb]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00f2\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u017c]/g,alternative:"z"},{letter:/[\u017b]/g,alternative:"Z"}],cy:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0176]/g,alternative:"Y"}],ee:[{letter:/[\u0256]/g,alternative:"d"},{letter:/[\u0189]/g,alternative:"D"},{letter:/[\u025b]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0192]/g,alternative:"f"},{letter:/[\u0191]/g,alternative:"F"},{letter:/[\u0263]/g,alternative:"g"},{letter:/[\u0194]/g,alternative:"G"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"},{letter:/[\u028b]/g,alternative:"w"},{letter:/[\u01b2]/g,alternative:"W"},{letter:/\u0061\u0303/g,alternative:"a"},{letter:/[\u00e1\u00e0\u01ce\u00e2\u00e3]/g,alternative:"a"},{letter:/\u0041\u0303/g,alternative:"A"},{letter:/[\u00c1\u00c0\u01cd\u00c2\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00e8\u011b\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u011a\u00ca]/g,alternative:"E"},{letter:/[\u00f3\u00f2\u01d2\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u01d1\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u00f9\u01d4\u00fb]/g,alternative:"u"},{letter:/[\u00da\u00d9\u01d3\u00db]/g,alternative:"U"},{letter:/[\u00ed\u00ec\u01d0\u00ee]/g,alternative:"i"},{letter:/[\u00cd\u00cc\u01cf\u00ce]/g,alternative:"I"}],et:[{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"},{letter:/[\u017e]/g,alternative:"zh"},{letter:/[\u017d]/g,alternative:"Zh"},{letter:/[\u00f5\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d5]/g,alternative:"O"},{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],eu:[{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],fuc:[{letter:/[\u0253]/g,alternative:"b"},{letter:/[\u0181]/g,alternative:"B"},{letter:/[\u0257]/g,alternative:"d"},{letter:/[\u018a]/g,alternative:"D"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0272\u00f1]/g,alternative:"ny"},{letter:/[\u019d\u00d1]/g,alternative:"Ny"},{letter:/[\u01b4]/g,alternative:"y"},{letter:/[\u01b3]/g,alternative:"Y"},{letter:/[\u0260]/g,alternative:"g"},{letter:/[\u0193]/g,alternative:"G"}],fj:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u016a]/g,alternative:"U"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u014c]/g,alternative:"O"}],frp:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00ca\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"}],fur:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00e0\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ec\u00ee]/g,alternative:"i"},{letter:/[\u00cc\u00ce]/g,alternative:"I"},{letter:/[\u00f2\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d4]/g,alternative:"O"},{letter:/[\u00f9\u00fb]/g,alternative:"u"},{letter:/[\u00d9\u00db]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u011f]/g,alternative:"g"},{letter:/[\u011e]/g,alternative:"G"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"}],fy:[{letter:/[\u00e2\u0101\u00e4\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u0100\u00c4\u00c5]/g,alternative:"A"},{letter:/[\u00ea\u00e9\u0113]/g,alternative:"e"},{letter:/[\u00ca\u00c9\u0112]/g,alternative:"E"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d4\u00d6]/g,alternative:"O"},{letter:/[\u00fa\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u0111\u00f0]/g,alternative:"d"},{letter:/[\u0110\u00d0]/g,alternative:"D"}],ga:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"}],gd:[{letter:/[\u00e0]/g,alternative:"a"},{letter:/[\u00c0]/g,alternative:"A"},{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u00ec]/g,alternative:"i"},{letter:/[\u00cc]/g,alternative:"I"}],gl:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],gn:[{letter:/[\u2019]/g,alternative:""},{letter:/\u0067\u0303/g,alternative:"g"},{letter:/\u0047\u0303/g,alternative:"G"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u1ebd]/g,alternative:"e"},{letter:/[\u1ebc]/g,alternative:"E"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u00f5]/g,alternative:"o"},{letter:/[\u00d5]/g,alternative:"O"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u1ef9]/g,alternative:"y"},{letter:/[\u1ef8]/g,alternative:"Y"}],gsw:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00f6]/g,alternative:"o"},{letter:/[\u00d6]/g,alternative:"O"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],hat:[{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"}],haw:[{letter:/[\u02bb\u0027\u2019]/g,alternative:""},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u014c]/g,alternative:"O"},{letter:/[\u016a]/g,alternative:"U"}],hr:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"dj"},{letter:/[\u0110]/g,alternative:"Dj"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"}],ka:[{letter:/[\u10d0]/g,alternative:"a"},{letter:/[\u10d1]/g,alternative:"b"},{letter:/[\u10d2]/g,alternative:"g"},{letter:/[\u10d3]/g,alternative:"d"},{letter:/[\u10d4]/g,alternative:"e"},{letter:/[\u10d5]/g,alternative:"v"},{letter:/[\u10d6]/g,alternative:"z"},{letter:/[\u10d7]/g,alternative:"t"},{letter:/[\u10d8]/g,alternative:"i"},{letter:/[\u10d9]/g,alternative:"k"},{letter:/[\u10da]/g,alternative:"l"},{letter:/[\u10db]/g,alternative:"m"},{letter:/[\u10dc]/g,alternative:"n"},{letter:/[\u10dd]/g,alternative:"o"},{letter:/[\u10de]/g,alternative:"p"},{letter:/[\u10df]/g,alternative:"zh"},{letter:/[\u10e0]/g,alternative:"r"},{letter:/[\u10e1]/g,alternative:"s"},{letter:/[\u10e2]/g,alternative:"t"},{letter:/[\u10e3]/g,alternative:"u"},{letter:/[\u10e4]/g,alternative:"p"},{letter:/[\u10e5]/g,alternative:"k"},{letter:/[\u10e6]/g,alternative:"gh"},{letter:/[\u10e7]/g,alternative:"q"},{letter:/[\u10e8]/g,alternative:"sh"},{letter:/[\u10e9]/g,alternative:"ch"},{letter:/[\u10ea]/g,alternative:"ts"},{letter:/[\u10eb]/g,alternative:"dz"},{letter:/[\u10ec]/g,alternative:"ts"},{letter:/[\u10ed]/g,alternative:"ch"},{letter:/[\u10ee]/g,alternative:"kh"},{letter:/[\u10ef]/g,alternative:"j"},{letter:/[\u10f0]/g,alternative:"h"}],kal:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"}],kin:[{letter:/[\u2019\u0027]/g,alternative:""}],lb:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e9]/g,alternative:"e"},{letter:/[\u00cb\u00c9]/g,alternative:"E"}],li:[{letter:/[\u00e1\u00e2\u00e0\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c0\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00cb\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00f6\u00f3]/g,alternative:"o"},{letter:/[\u00d6\u00d3]/g,alternative:"O"}],lin:[{letter:/[\u00e1\u00e2\u01ce]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u01cd]/g,alternative:"A"},{letter:/\u025b\u0301/g,alternative:"e"},{letter:/\u025b\u0302/g,alternative:"e"},{letter:/\u025b\u030c/g,alternative:"e"},{letter:/[\u00e9\u00ea\u011b\u025b]/g,alternative:"e"},{letter:/\u0190\u0301/g,alternative:"E"},{letter:/\u0190\u0302/g,alternative:"E"},{letter:/\u0190\u030c/g,alternative:"E"},{letter:/[\u00c9\u00ca\u011a\u0190]/g,alternative:"E"},{letter:/[\u00ed\u00ee\u01d0]/g,alternative:"i"},{letter:/[\u00cd\u00ce\u01cf]/g,alternative:"I"},{letter:/\u0254\u0301/g,alternative:"o"},{letter:/\u0254\u0302/g,alternative:"o"},{letter:/\u0254\u030c/g,alternative:"o"},{letter:/[\u00f3\u00f4\u01d2\u0254]/g,alternative:"o"},{letter:/\u0186\u0301/g,alternative:"O"},{letter:/\u0186\u0302/g,alternative:"O"},{letter:/\u0186\u030c/g,alternative:"O"},{letter:/[\u00d3\u00d4\u01d1\u0186]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],lt:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u0119\u0117]/g,alternative:"e"},{letter:/[\u0118\u0116]/g,alternative:"E"},{letter:/[\u012f]/g,alternative:"i"},{letter:/[\u012e]/g,alternative:"I"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0173\u016b]/g,alternative:"u"},{letter:/[\u0172\u016a]/g,alternative:"U"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],mg:[{letter:/[\u00f4]/g,alternative:"ao"},{letter:/[\u00d4]/g,alternative:"Ao"}],mk:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0453]/g,alternative:"gj"},{letter:/[\u0403]/g,alternative:"Gj"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0455]/g,alternative:"dz"},{letter:/[\u0405]/g,alternative:"Dz"},{letter:/[\u0438]/g,alternative:"i"},{letter:/[\u0418]/g,alternative:"I"},{letter:/[\u0458]/g,alternative:"j"},{letter:/[\u0408]/g,alternative:"J"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u0459]/g,alternative:"lj"},{letter:/[\u0409]/g,alternative:"Lj"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u045A]/g,alternative:"nj"},{letter:/[\u040A]/g,alternative:"Nj"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u045C]/g,alternative:"kj"},{letter:/[\u040C]/g,alternative:"Kj"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"h"},{letter:/[\u0425]/g,alternative:"H"},{letter:/[\u0446]/g,alternative:"c"},{letter:/[\u0426]/g,alternative:"C"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u045F]/g,alternative:"dj"},{letter:/[\u040F]/g,alternative:"Dj"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"}],mri:[{letter:/[\u0101]/g,alternative:"aa"},{letter:/[\u0100]/g,alternative:"Aa"},{letter:/[\u0113]/g,alternative:"ee"},{letter:/[\u0112]/g,alternative:"Ee"},{letter:/[\u012b]/g,alternative:"ii"},{letter:/[\u012a]/g,alternative:"Ii"},{letter:/[\u014d]/g,alternative:"oo"},{letter:/[\u014c]/g,alternative:"Oo"},{letter:/[\u016b]/g,alternative:"uu"},{letter:/[\u016a]/g,alternative:"Uu"}],mwl:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u0169]/g,alternative:"u"},{letter:/[\u00da\u0168]/g,alternative:"U"}],oci:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00b7]/g,alternative:""}],orm:[{letter:/[\u0027]/g,alternative:""}],pt:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1\u00e2\u00e3\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c3\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u00d3\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],roh:[{letter:/[\u00e9\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ef]/g,alternative:"i"},{letter:/[\u00cf]/g,alternative:"I"},{letter:/[\u00f6]/g,alternative:"oe"},{letter:/[\u00d6]/g,alternative:"Oe"},{letter:/[\u00fc]/g,alternative:"ue"},{letter:/[\u00dc]/g,alternative:"Ue"},{letter:/[\u00e4]/g,alternative:"ae"},{letter:/[\u00c4]/g,alternative:"Ae"}],rup:[{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"}],ro:[{letter:/[\u0103\u00e2]/g,alternative:"a"},{letter:/[\u0102\u00c2]/g,alternative:"A"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u0219\u015f]/g,alternative:"s"},{letter:/[\u0218\u015e]/g,alternative:"S"},{letter:/[\u021b\u0163]/g,alternative:"t"},{letter:/[\u021a\u0162]/g,alternative:"T"}],tlh:[{letter:/[\u2019\u0027]/g,alternative:""}],sk:[{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"},{letter:/[\u00e1\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c4]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u010f]/g,alternative:"d"},{letter:/[\u010e]/g,alternative:"D"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u013e\u013a]/g,alternative:"l"},{letter:/[\u013d\u0139]/g,alternative:"L"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00fd]/g,alternative:"y"},{letter:/[\u00dd]/g,alternative:"Y"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],sl:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u00e0\u00e1\u0203\u0201]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u0202\u0200]/g,alternative:"A"},{letter:/[\u00e8\u00e9\u0207\u0205]/g,alternative:"e"},{letter:/\u01dd\u0300/g,alternative:"e"},{letter:/\u01dd\u030f/g,alternative:"e"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb9\u0311/g,alternative:"e"},{letter:/[\u00c8\u00c9\u0206\u0204]/g,alternative:"E"},{letter:/\u018e\u030f/g,alternative:"E"},{letter:/\u018e\u0300/g,alternative:"E"},{letter:/\u1eb8\u0311/g,alternative:"E"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/[\u00ec\u00ed\u020b\u0209]/g,alternative:"i"},{letter:/[\u00cc\u00cd\u020a\u0208]/g,alternative:"I"},{letter:/[\u00f2\u00f3\u020f\u020d]/g,alternative:"o"},{letter:/\u1ecd\u0311/g,alternative:"o"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0311/g,alternative:"O"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/[\u00d2\u00d3\u020e\u020c]/g,alternative:"O"},{letter:/[\u00f9\u00fa\u0217\u0215]/g,alternative:"u"},{letter:/[\u00d9\u00da\u0216\u0214]/g,alternative:"U"},{letter:/[\u0155\u0213]/g,alternative:"r"},{letter:/[\u0154\u0212]/g,alternative:"R"}],sq:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00eb]/g,alternative:"e"},{letter:/[\u00cb]/g,alternative:"E"}],hu:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f6\u0151]/g,alternative:"o"},{letter:/[\u00d3\u00d6\u0150]/g,alternative:"O"},{letter:/[\u00fa\u00fc\u0171]/g,alternative:"u"},{letter:/[\u00da\u00dc\u0170]/g,alternative:"U"}],srd:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"}],szl:[{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u0142]/g,alternative:"u"},{letter:/[\u0141]/g,alternative:"U"},{letter:/[\u006e]/g,alternative:"n"},{letter:/[\u004e]/g,alternative:"N"},{letter:/[\u014f\u014d\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u014e\u014c\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u015b]/g,alternative:"s"},{letter:/[\u015a]/g,alternative:"S"},{letter:/[\u017a\u017c\u017e]/g,alternative:"z"},{letter:/[\u0179\u017b\u017d]/g,alternative:"Z"},{letter:/[\u016f]/g,alternative:"u"},{letter:/[\u016e]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"cz"},{letter:/[\u010c]/g,alternative:"Cz"},{letter:/[\u0159]/g,alternative:"rz"},{letter:/[\u0158]/g,alternative:"Rz"},{letter:/[\u0161]/g,alternative:"sz"},{letter:/[\u0160]/g,alternative:"Sz"}],tah:[{letter:/[\u0101\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u0100\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00ef\u00ee\u00ec]/g,alternative:"i"},{letter:/[\u00cf\u00ce\u00cc]/g,alternative:"I"},{letter:/[\u0113\u00ea\u00e9]/g,alternative:"e"},{letter:/[\u0112\u00ca\u00c9]/g,alternative:"E"},{letter:/[\u016b\u00fb\u00fa]/g,alternative:"u"},{letter:/[\u016a\u00db\u00da]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f2\u00f4\u014d]/g,alternative:"o"},{letter:/[\u00d2\u00d4\u014c]/g,alternative:"O"},{letter:/[\u2019\u0027\u2018]/g,alternative:""}],vec:[{letter:/\u0073\u002d\u0063/g,alternative:"sc"},{letter:/\u0053\u002d\u0043/g,alternative:"SC"},{letter:/\u0073\u0027\u0063/g,alternative:"sc"},{letter:/\u0053\u0027\u0043/g,alternative:"SC"},{letter:/\u0073\u2019\u0063/g,alternative:"sc"},{letter:/\u0053\u2019\u0043/g,alternative:"SC"},{letter:/\u0073\u2018\u0063/g,alternative:"sc"},{letter:/\u0053\u2018\u0043/g,alternative:"SC"},{letter:/\u0053\u002d\u0063/g,alternative:"Sc"},{letter:/\u0053\u0027\u0063/g,alternative:"Sc"},{letter:/\u0053\u2019\u0063/g,alternative:"Sc"},{letter:/\u0053\u2018\u0063/g,alternative:"Sc"},{letter:/\u0063\u2019/g,alternative:"c"},{letter:/\u0043\u2019/g,alternative:"C"},{letter:/\u0063\u2018/g,alternative:"c"},{letter:/\u0043\u2018/g,alternative:"C"},{letter:/\u0063\u0027/g,alternative:"c"},{letter:/\u0043\u0027/g,alternative:"C"},{letter:/[\u00e0\u00e1\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00f9\u00fa]/g,alternative:"u"},{letter:/[\u00d9\u00da]/g,alternative:"U"},{letter:/[\u00e7\u010d\u010b]/g,alternative:"c"},{letter:/[\u00c7\u010c\u010a]/g,alternative:"C"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u00a3\u0141]/g,alternative:"L"},{letter:/\ud835\udeff/g,alternative:"dh"},{letter:/[\u0111\u03b4]/g,alternative:"dh"},{letter:/[\u0110\u0394]/g,alternative:"Dh"}],wa:[{letter:/[\u00e2\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u00c5]/g,alternative:"A"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/\u0065\u030a/g,alternative:"e"},{letter:/\u0045\u030a/g,alternative:"E"},{letter:/[\u00eb\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca\u00cb]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"}],yor:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00ec\u00ed]/g,alternative:"i"},{letter:/[\u00cc\u00cd]/g,alternative:"I"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/\u1ecd\u0300/g,alternative:"o"},{letter:/\u1ecc\u0300/g,alternative:"O"},{letter:/[\u00f3\u00f2\u1ecd]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u1ecc]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/\u1eb9\u0300/g,alternative:"e"},{letter:/\u1eb8\u0300/g,alternative:"E"},{letter:/[\u00e9\u00e8\u1eb9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u1eb8]/g,alternative:"E"},{letter:/[\u1e63]/g,alternative:"s"},{letter:/[\u1e62]/g,alternative:"S"}]};const Se=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternative:"o"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00F8]/g,alternative:"o"},{letter:/[\u00F9]/g,alternative:"u"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00FB]/g,alternative:"u"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0102]/g,alternative:"A"},{letter:/[\u0103]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0108]/g,alternative:"C"},{letter:/[\u0109]/g,alternative:"c"},{letter:/[\u010A]/g,alternative:"C"},{letter:/[\u010B]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0114]/g,alternative:"E"},{letter:/[\u0115]/g,alternative:"e"},{letter:/[\u0116]/g,alternative:"E"},{letter:/[\u0117]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u011A]/g,alternative:"E"},{letter:/[\u011B]/g,alternative:"e"},{letter:/[\u011C]/g,alternative:"G"},{letter:/[\u011D]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u0120]/g,alternative:"G"},{letter:/[\u0121]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0124]/g,alternative:"H"},{letter:/[\u0125]/g,alternative:"h"},{letter:/[\u0126]/g,alternative:"H"},{letter:/[\u0127]/g,alternative:"h"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012C]/g,alternative:"I"},{letter:/[\u012D]/g,alternative:"i"},{letter:/[\u012E]/g,alternative:"I"},{letter:/[\u012F]/g,alternative:"i"},{letter:/[\u0130]/g,alternative:"I"},{letter:/[\u0131]/g,alternative:"i"},{letter:/[\u0132]/g,alternative:"IJ"},{letter:/[\u0133]/g,alternative:"ij"},{letter:/[\u0134]/g,alternative:"J"},{letter:/[\u0135]/g,alternative:"j"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0138]/g,alternative:"k"},{letter:/[\u0139]/g,alternative:"L"},{letter:/[\u013A]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013D]/g,alternative:"L"},{letter:/[\u013E]/g,alternative:"l"},{letter:/[\u013F]/g,alternative:"L"},{letter:/[\u0140]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0149]/g,alternative:"n"},{letter:/[\u014A]/g,alternative:"N"},{letter:/[\u014B]/g,alternative:"n"},{letter:/[\u014C]/g,alternative:"O"},{letter:/[\u014D]/g,alternative:"o"},{letter:/[\u014E]/g,alternative:"O"},{letter:/[\u014F]/g,alternative:"o"},{letter:/[\u0150]/g,alternative:"O"},{letter:/[\u0151]/g,alternative:"o"},{letter:/[\u0152]/g,alternative:"OE"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0156]/g,alternative:"R"},{letter:/[\u0157]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015C]/g,alternative:"S"},{letter:/[\u015D]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0162]/g,alternative:"T"},{letter:/[\u0163]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0166]/g,alternative:"T"},{letter:/[\u0167]/g,alternative:"t"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016C]/g,alternative:"U"},{letter:/[\u016D]/g,alternative:"u"},{letter:/[\u016E]/g,alternative:"U"},{letter:/[\u016F]/g,alternative:"u"},{letter:/[\u0170]/g,alternative:"U"},{letter:/[\u0171]/g,alternative:"u"},{letter:/[\u0172]/g,alternative:"U"},{letter:/[\u0173]/g,alternative:"u"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0176]/g,alternative:"Y"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u0179]/g,alternative:"Z"},{letter:/[\u017A]/g,alternative:"z"},{letter:/[\u017B]/g,alternative:"Z"},{letter:/[\u017C]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017F]/g,alternative:"s"},{letter:/[\u01A0]/g,alternative:"O"},{letter:/[\u01A1]/g,alternative:"o"},{letter:/[\u01AF]/g,alternative:"U"},{letter:/[\u01B0]/g,alternative:"u"},{letter:/[\u01CD]/g,alternative:"A"},{letter:/[\u01CE]/g,alternative:"a"},{letter:/[\u01CF]/g,alternative:"I"},{letter:/[\u01D0]/g,alternative:"i"},{letter:/[\u01D1]/g,alternative:"O"},{letter:/[\u01D2]/g,alternative:"o"},{letter:/[\u01D3]/g,alternative:"U"},{letter:/[\u01D4]/g,alternative:"u"},{letter:/[\u01D5]/g,alternative:"U"},{letter:/[\u01D6]/g,alternative:"u"},{letter:/[\u01D7]/g,alternative:"U"},{letter:/[\u01D8]/g,alternative:"u"},{letter:/[\u01D9]/g,alternative:"U"},{letter:/[\u01DA]/g,alternative:"u"},{letter:/[\u01DB]/g,alternative:"U"},{letter:/[\u01DC]/g,alternative:"u"},{letter:/[\u0218]/g,alternative:"S"},{letter:/[\u0219]/g,alternative:"s"},{letter:/[\u021A]/g,alternative:"T"},{letter:/[\u021B]/g,alternative:"t"},{letter:/[\u0251]/g,alternative:"a"},{letter:/[\u1EA0]/g,alternative:"A"},{letter:/[\u1EA1]/g,alternative:"a"},{letter:/[\u1EA2]/g,alternative:"A"},{letter:/[\u1EA3]/g,alternative:"a"},{letter:/[\u1EA4]/g,alternative:"A"},{letter:/[\u1EA5]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EA7]/g,alternative:"a"},{letter:/[\u1EA8]/g,alternative:"A"},{letter:/[\u1EA9]/g,alternative:"a"},{letter:/[\u1EAA]/g,alternative:"A"},{letter:/[\u1EAB]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EAD]/g,alternative:"a"},{letter:/[\u1EAE]/g,alternative:"A"},{letter:/[\u1EAF]/g,alternative:"a"},{letter:/[\u1EB0]/g,alternative:"A"},{letter:/[\u1EB1]/g,alternative:"a"},{letter:/[\u1EB2]/g,alternative:"A"},{letter:/[\u1EB3]/g,alternative:"a"},{letter:/[\u1EB4]/g,alternative:"A"},{letter:/[\u1EB5]/g,alternative:"a"},{letter:/[\u1EB6]/g,alternative:"A"},{letter:/[\u1EB7]/g,alternative:"a"},{letter:/[\u1EB8]/g,alternative:"E"},{letter:/[\u1EB9]/g,alternative:"e"},{letter:/[\u1EBA]/g,alternative:"E"},{letter:/[\u1EBB]/g,alternative:"e"},{letter:/[\u1EBC]/g,alternative:"E"},{letter:/[\u1EBD]/g,alternative:"e"},{letter:/[\u1EBE]/g,alternative:"E"},{letter:/[\u1EBF]/g,alternative:"e"},{letter:/[\u1EC0]/g,alternative:"E"},{letter:/[\u1EC1]/g,alternative:"e"},{letter:/[\u1EC2]/g,alternative:"E"},{letter:/[\u1EC3]/g,alternative:"e"},{letter:/[\u1EC4]/g,alternative:"E"},{letter:/[\u1EC5]/g,alternative:"e"},{letter:/[\u1EC6]/g,alternative:"E"},{letter:/[\u1EC7]/g,alternative:"e"},{letter:/[\u1EC8]/g,alternative:"I"},{letter:/[\u1EC9]/g,alternative:"i"},{letter:/[\u1ECA]/g,alternative:"I"},{letter:/[\u1ECB]/g,alternative:"i"},{letter:/[\u1ECC]/g,alternative:"O"},{letter:/[\u1ECD]/g,alternative:"o"},{letter:/[\u1ECE]/g,alternative:"O"},{letter:/[\u1ECF]/g,alternative:"o"},{letter:/[\u1ED0]/g,alternative:"O"},{letter:/[\u1ED1]/g,alternative:"o"},{letter:/[\u1ED2]/g,alternative:"O"},{letter:/[\u1ED3]/g,alternative:"o"},{letter:/[\u1ED4]/g,alternative:"O"},{letter:/[\u1ED5]/g,alternative:"o"},{letter:/[\u1ED6]/g,alternative:"O"},{letter:/[\u1ED7]/g,alternative:"o"},{letter:/[\u1ED8]/g,alternative:"O"},{letter:/[\u1ED9]/g,alternative:"o"},{letter:/[\u1EDA]/g,alternative:"O"},{letter:/[\u1EDB]/g,alternative:"o"},{letter:/[\u1EDC]/g,alternative:"O"},{letter:/[\u1EDD]/g,alternative:"o"},{letter:/[\u1EDE]/g,alternative:"O"},{letter:/[\u1EDF]/g,alternative:"o"},{letter:/[\u1EE0]/g,alternative:"O"},{letter:/[\u1EE1]/g,alternative:"o"},{letter:/[\u1EE2]/g,alternative:"O"},{letter:/[\u1EE3]/g,alternative:"o"},{letter:/[\u1EE4]/g,alternative:"U"},{letter:/[\u1EE5]/g,alternative:"u"},{letter:/[\u1EE6]/g,alternative:"U"},{letter:/[\u1EE7]/g,alternative:"u"},{letter:/[\u1EE8]/g,alternative:"U"},{letter:/[\u1EE9]/g,alternative:"u"},{letter:/[\u1EEA]/g,alternative:"U"},{letter:/[\u1EEB]/g,alternative:"u"},{letter:/[\u1EEC]/g,alternative:"U"},{letter:/[\u1EED]/g,alternative:"u"},{letter:/[\u1EEE]/g,alternative:"U"},{letter:/[\u1EEF]/g,alternative:"u"},{letter:/[\u1EF0]/g,alternative:"U"},{letter:/[\u1EF1]/g,alternative:"u"},{letter:/[\u1EF2]/g,alternative:"Y"},{letter:/[\u1EF3]/g,alternative:"y"},{letter:/[\u1EF4]/g,alternative:"Y"},{letter:/[\u1EF5]/g,alternative:"y"},{letter:/[\u1EF6]/g,alternative:"Y"},{letter:/[\u1EF7]/g,alternative:"y"},{letter:/[\u1EF8]/g,alternative:"Y"},{letter:/[\u1EF9]/g,alternative:"y"}],xe=[{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u1E9E]/g,alternative:"SS"},{letter:/[\u00DF]/g,alternative:"ss"}],we=[{letter:/[\u00C6]/g,alternative:"Ae"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E5]/g,alternative:"aa"}],ke=[{letter:/[\u00B7]/g,alternative:"ll"}],Ke=[{letter:/[\u0110]/g,alternative:"DJ"},{letter:/[\u0111]/g,alternative:"dj"}],Te=function(e){switch(e){case"de":return xe;case"da":return we;case"ca":return ke;case"sr":case"bs":return Ke;default:return[]}};const Re=new RegExp(`([${Ie}])`,"g");function ze(e,t){const r=[];if(e.indexOf(t)>-1)for(let a=0;a<e.length;a++)e[a]===t&&r.push(a);return r}function Ne(e,r){return(0,t.filter)(e,(function(e){return!(0,t.includes)(r,e)}))}function We(e){return function e(t,r){const a=t[0];if(void 0===a)return r;for(let e=0,t=r.length;e<t;++e)r.push(r[e].concat(a));return e(t.slice(1),r)}(e,[[]]).slice(1).concat([[]])}function je(e,t,r){const a=e.split("");return t.forEach((function(e){a.splice(e,1,r)})),a.join("")}const Le=(0,t.memoize)((function(e){const r=ze(e,"İ").concat(ze(e,"I"),ze(e,"i"),ze(e,"ı"));if(r.sort(),0===r.length)return[e];const a=(l=function(e){const r=[],a=function(e,r="\\s",a=!0){if(""===(e=Z(e)))return[];const l=new RegExp(r,"g");let u=e.split(l);return u=a?u.map(ye):(0,t.flatMap)(u,(e=>e.replace(Re," $1 ").split(" "))),(0,t.filter)(u,(function(e){return""!==e.trim()}))}(e);let l=0;return a.forEach((function(t){const a=e.indexOf(t,l);r.push(a),l=a+t.length})),r}(e),u=r,(0,t.filter)(l,(function(e){return(0,t.includes)(u,e)})));var l,u;const n=[];We(a).forEach((function(e){if((0,t.isEqual)(e,a))n.push([e,[],[],[]]);else{const r=Ne(a,e);We(r).forEach((function(a){if((0,t.isEqual)(a,r))n.push([e,a,[],[]]);else{const l=Ne(r,a);We(l).forEach((function(r){if((0,t.isEqual)(r,l))n.push([e,a,r,[]]);else{const t=Ne(l,r);n.push([e,a,r,t])}}))}}))}}));const i=[];return n.forEach((function(t){const r=je(e,t[0],"İ"),a=je(r,t[1],"I"),l=je(a,t[2],"i"),u=je(l,t[3],"ı");i.push(u)})),i})),$e=function(e,t){return e=y(e,!1,"",t),new RegExp(e,"ig")};function Pe(e,r,a,l){e=function(e){return U(e=e.replace(/<(?!li|\/li|p|\/p|h1|\/h1|h2|\/h2|h3|\/h3|h4|\/h4|h5|\/h5|h6|\/h6|dd).*?>/g,""))}(e),e=C(e=Y(e)),r=C(r);let u=l?l(e,r):function(e,r,a){const l=Ue(a);let u=$e(r,l);if("tr"===l){const e=Le(r);u=new RegExp(e.map((e=>y(e))).join("|"),"ig")}const n=e.match(u)||[];e=e.replace(u,"");const i=function(e,r){const a=function(e){if((0,t.isUndefined)(e))return[];const r=Ue(e);return"nb"===r||"nn"===r?Me.nbnn:"bal"===r||"ca"===r?Me.ca:Me[r]||[]}(r);for(let t=0;t<a.length;t++)e=e.replace(a[t].letter,a[t].alternative);return e}(r,a),g=$e(i,l),v=e.match(g)||[];let s=n.concat(v);const c=function(e,r){const a=function(e){if((0,t.isUndefined)(e))return[];let r=Se;return r=r.concat(Te(Ue(e))),r}(r);for(let t=a.length-1;t>=0;t--)e=e.replace(a[t].letter,a[t].alternative);return e}(r,a);if(c!==i){const t=$e(c,l),r=e.match(t)||[];s=s.concat(r)}return(0,t.map)(s,(function(e){return U(e)}))}(e,r,a);u=(0,t.map)(u,(function(e){return U(ye(e))}));const n=(0,t.map)(u,(function(t){return e.indexOf(t)}));return{count:u.length,matches:u,position:0===n.length?-1:Math.min(...n)}}function Ye(e,r,a="en_EN",l){let u=0,n=[],i=[];return(0,t.uniq)(r).forEach((function(t){const r=Pe(e,t,a,l);u+=r.count,n=n.concat(r.matches),i.push(r.position)})),i=i.filter((e=>e>=0)),{count:u,matches:n,position:0===i.length?-1:Math.min(...i)}}function Ze(e,r){if(0===r)return r;let a=e.substring(0,r);return a=v(a),a=a.filter((e=>!s.includes(e))),(0,t.isEmpty)(a)?0:r}function Qe(e,r){const a=e.getTitle();let l=e.getKeyword();const u={allWordsFound:!1,position:-1,exactMatchKeyphrase:!1},n=h(l);if(n.exactMatchRequested){if(u.exactMatchKeyphrase=!0,!a.includes(n.keyphrase))return u;l=c(n.keyphrase);const e=Ye(a,l,"ja",A);return e.matches.length===l.length&&(u.allWordsFound=!0,u.position=Ze(a,e.position)),u}const i=function(e,r,a,l){const u=e.length,n=Array(u);let i=[],g=[];for(let t=0;t<u;t++){const u=Ye(r,e[t],a,l);n[t]=u.count>0?1:0,i.push(u.position),g=g.concat(u.matches)}const v=(0,t.sum)(n),s={countWordMatches:v,percentWordMatches:0,matches:g};return u>0&&(s.percentWordMatches=Math.round(v/u*100)),i=i.filter((e=>e>=0)),s.position=0===i.length?-1:Math.min(...i),s}(r.getResearch("morphology").keyphraseForms,a,"ja",A);return 100===i.percentWordMatches&&(u.allWordsFound=!0,u.position=Ze(a,i.position)),u}const{AbstractResearcher:Ge}=e.languageProcessing;class qe extends Ge{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,delete this.defaultResearches.getPassiveVoiceResult,delete this.defaultResearches.keywordCountInSlug,Object.assign(this.config,{language:"ja",firstWordExceptions:ve,functionWords:s,transitionWords:se,topicLength:ce,textLength:oe,paragraphLength:Ee,assessmentApplicability:he,sentenceLength:de,keyphraseLength:Ce,subheadingsTooLong:fe,countCharacters:!0,metaDescriptionLength:Ae}),Object.assign(this.helpers,{matchWordCustomHelper:A,getWordsCustomHelper:v,getContentWords:c,customGetStemmer:D,wordsCharacterCount:m,customCountLength:_,matchTransitionWordsHelper:I,memoizedTokenizer:ie,splitIntoTokensCustom:ge}),Object.assign(this.defaultResearches,{morphology:Be,keyphraseLength:Oe,wordCountInText:_e,findKeyphraseInSEOTitle:Qe})}}})(),(window.yoast=window.yoast||{}).Researcher=a})(); dist/languages/nb.js 0000644 00000121154 15174677550 0010437 0 ustar 00 (()=>{"use strict";var e={d:(t,r)=>{for(var d in r)e.o(r,d)&&!e.o(t,d)&&Object.defineProperty(t,d,{enumerable:!0,get:r[d]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>W});const r=window.yoast.analysis,d=["ei","et","en","ett","to","tre","fire","fem","seks","sju","syv","åtte","ni","ti","denne","dette","disse","den","det","de"],s=["også","fortsatt","derimot","derfor","faktisk","endelig","likevel","følgelig","likeså","dessuten","selvsagt","deretter","men","for","fordi","mens","bare","da","dog","enn","ettersom","før","hvorpå","inntil","når","omennskjønt","samt","som","uaktet","pga.","uansett","foruten","siden","m.a.o","attpåtil","derved","følgelig","forøvrig","iallfall","imidlertid","især","likefullt","likeledes","likeså","likevel","omsider","samstundes","samtidig","sikkert","således","såleis","særs","ellers","enda","dersom","skjønt","samme","eansett","etterpå","generelt","herav","imens"],n=s.concat(["på den andre siden","for øyeblikket","i stedet","i mellomtiden","til slutt","i tillegg","i tilfelle","med mindre","om enn","om to strakser","selv om","på grunn av","med hensyn til","for eksempel","en gang","fremfor alt","i alle fall","i et nøtteskall","i hvert fall","i mellomtiden","med andre ord","til dømes","for øvrig","i ettertid","så langt","på tross av","til tross for","til tross for at ","for at","slik at","i løpet av","så at","slik som","så lenge","så ofte","så snart","etter hvert som","så fremt","så sant","i fall","for så vidt som","fordi om","enda om","trass i at","hvor så","hva enn","hvor enn","sånn at","som om","så som","rett og slett ","på samme måte","etter hvert","av dette følger","i mellomtiden","i dette tilfellet","i motsetning til","som et resultat","like viktig","på grunn av det","på den positive siden","på den negative siden","tvert imot","kort oppsummert","i begge tilfeller"]);function l(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}const i=["tror","fortelle","fortell","fortalte","tenkte","tenk"],k=["ha","har","hadde","gjør","gjøre","gjorde","kaller","kalte","kalle","kalla","virker","virka","virke","virka","går","gikk","gå","leges","lages","legges","lages","består","bestod","bestå","bestått","bety","betyr"],a=l(k.concat(i)),o=l([].concat(["ei","et"],["null","en","ett","ene","to","tre","fire","fem","seks","syv","åtte","ni","ti","elleve","tolv","tretten","fjorten","femten","seksten","sytten","atten","nitten","tjue","tyve","tjueen","enogtyve","tretti","tredve","førti","førr","femti","seksti","sytti","åtti","nitti","hundre","hundreogen","etthundreogen","tohundre","tusen","tusenogen","million","millioner","milliard","milliarder"],["nullte","første","først","sekund","tredje","fjerde","femte","sjette","syvende","åttende","niende","tiende","ellevte","tolvte","trettende","fjortende","femtende","sekstende","syttende","åttende","nittende","tjuende","tjueførst","tjueførste","trettiende","førtiende","femtiende","sekstiende","syttiende","åttiende","nittiende","hundrede","hundreogfemtiende","to hundrede","tusende","millionte","millardte"],["jeg","du","den","det","vi","de","han","hun","dere","henne","oss","meg","deg","ham","dem","min","din","deres","vår","deres","ditt","mitt","våre","vårt","hans","hennes","dens","dets","egen","egne","mi","di","sin","si","sitt","sine","mine","dine","denne","dette","disse","slik","slikt","slike","sånn","sånt","sånne","samme","hverandre","hvert","som"],["hvem","hvordan","hvorfor","hvor","hva","hvilken","hvilket","hvilke"],["mange","mye","mang en","mangt et","hele","mer","ingen","ingenting","ikke noen","ikke noe","alle","all","alt","allting","noen","noe","flere","hver","hvert","annenhver","ammethvert","begge","sov","mest","fleste","få","fæst","færrest","flere","flest"],["seg","selv"],["ingenting","annen","annet","andre"],["sånn","ved","mot","ned","enn","over","inn","i","sa","opp","der","fra","din","nei","mellom","di","oppe","av","med","til","å","på","du","uten","én","under","hos","inne","gjennom","unna","del","nede","til","over","under","etter","kun","blant","for","mellom","blant"],["eller","hvis","ja","et","som","i","og","både","men","mens","enten","verken","at","om","da","når","før","idet","etter at","siden","innen","med det samme","til","inntil","hver gang","etter hvert som","så lenge","så lenge som","så ofte","så ofte som","så snart","så snart som","etter","etterpå","foran","tidligere","fordi","ettersom","derfor","dersom","hvis","så fremt","så sant","i fall","i tilfelle","med mindre","uten at","bare","for så vidt som","uten at","uten å","enda","fordi om","enda om","skjønt","om enn","hva så","trass i at","hvor så","samme","selv om","hva enn","til tross for at","hvor enn","uansett","for at","så","så at","slik at","sånn at","for at, så","slik som","så som","som om","enn","dess","jo","desto"],i,["virkelig","akkurat","visst"],k,["helt","andre","litt","lenge","siste","fint","annet","stor","stort","store","neste","lenger","annen","nye","alene","flott","gammel","gammelt","gamle","klart","liten","langt","gamle","dårlig","hyggelig","gode","sånt","nytt","best","lang","små","lot","større","vakker","vakkert","vakre","ny","bra","bedre","grei","greit","greie","høyt","største","størst","slikt","liten","lita","lite","små","mindre","minst","kort","glad","dårlig","ille","ond","vond","verre","verst","eldre","eldst","lang","lengre","lengst","nær","næmerere","nærere","nærmest","nærest","tung","tyngre","tyngst","ung","yngre","yngst","pen","alltid","godt","sammen","tilbake","etter","igjen","bare","så","veldig","bedre","samme","far","eneste","enig","borte","snart","rundt","beste","bort","vekk","nesten","ganske","senere","videre","straks","svært","neste","bak","bakre","bakerst","borte","bortre","bortest","fremme","fremre","fremst","foran","forrest","inne","indre","innerst","midt","midtre","midterst","nede","nedre","nederst","nord","nordre","nordligst","øvre","øverst","sør","søndre","sørligst","vest","vestre","vestligst","øst","østre","østligst","ute","ytre","ytterst","underst","langt","fram","her","der","nok","aldri","ut","ned","nede","bort","innom","ingensteds","sjelden","sjeldnere","sjeldnest","raskt","raskere","raskest","gjerne","heller","helst","dårligere","dårligst","vondt","vondere","vondest","meget","øverst","enda","neppe","nokså","nesten","helt","bitende","aller","ganske","aldeles","derfra","herfra","utenlands","noensteds","oppå","hjemme","hit","dit","vekk","fram","fort","hyggelig","hvorledes","sånn","således","slik","pent","morsomt","akkurat","alt","ofte","nettopp","bestandig","noen gang","noen ganger","fremdeles","ennå","da","sjeldent"],["hei","fy","au","hurra","uff","takk","hm","fanden","pokker","fillern","åh","isj","hallo","æsj"],["g"],["år","året","går","dag","nå","tid","tiden","morgen","dager","minutt","minutter","dagen","uke","uker","måneder","stund","timer","time","morges","ettermiddag","tidlig","fjor","kveld","natt","fogårs","vinter","sommer","vår","høst"],["ting","tingene"],["ok","okay","ja","jo","jaså","nei","ikke","unnskyld","beklager","herr","altså","grader","grad","kr","en halvdel","en halv","to halve","en tredel","tredjedel","to tredeler","tredjedeler","en firedel","fjerdedel","kvart","en trettendedel","en fjortendedel","en promille","en tusendel","halvannen","en og en halv"],a,s)),g=["dette","at","disse","på","unntatt","for","fra","i","om","ovenfor","på tvers","etter","mot","blant","rundt","som","på","før","bak","nedenfor","under","siden","mellom","utover","men","av","når","da","som","fordi ","ikke","og"],p=[["både","og"],["enten","eller"],["verken","eller"],["jo","dess"],["dess","dess"],["jo","desto"],["ikke bare","men"],["ikke bare","også"]],m=window.lodash,f=function(e){let t=e.search(/[aeiouyøåæ][^aeiouyøåæ]/);return-1!==t&&(t+=2),-1!==t&&t<3&&(t=3),t},v=function(e,t,r){const d=e.search(new RegExp(r.externalStemmer.regexSuffixes1a));if(d>=t&&-1!==t){let t=e.substring(0,d);return/ert$/i.test(t)&&(t=t.slice(0,-1)),t}const s=e.search(/s$/),n=e.search(new RegExp(r.externalStemmer.regexSuffixes1b));return s>=t&&-1!==n&&-1!==t?e.slice(0,-1):e},u=function(e,t,r){return e.search(new RegExp(r.externalStemmer.regexSuffixes2))>=t&&-1!==t&&(e=e.slice(0,-1)),e},b=function(e,t,r){const d=e.search(new RegExp(r.externalStemmer.regexSuffixes3));return d>=t&&-1!==t&&(e=e.substring(0,d)),e},{baseStemmer:y}=r.languageProcessing;function h(e){const t=(0,m.get)(e.getData("morphology"),"nb",!1);return t?e=>function(e,t){let r=-1;for(const d of[v,u,b])r=f(e),e=d(e,r,t);return e}(e,t):y}const j=["villet","bruket","finnet","legget","viset","vitet","ligget","ønsket","holdet","spillet","laget","velget","tenket","menet","trenget","begynnet","kjennet","kjøpet","startet","finnest","leset","følget","jobbet","gjeldet","sendet","fortellet","skremt","prøvd","sittet","høret","hjelpet","bygget","klaret","kjøret","føret","snakket","øket","tilbyt","skapet","håpet","vinnet","møtet","delet","følet","utviklet","betydd","kallet","bidrat","læret","selget","spiset","opplevet","fortsettet","passet","drivet","krevet","fungeret","levet","leveret","virket","betalet","forståt","deltat","benyttet","søket","endret","spørret","vurderet","stillet","handlet","inkluderet","åpnet","reiset","inneholdet","bestemmet","anbefalet","trekket","ventet","samlet","flyttet","nevnet","gjennomføret","husket","luret","lurt","sikret","begynt","beståt","reduseret","slippet","hentet","regnet","svaret","knyttet","utføret","hetet","merket","baseret","trenet","fallet","meldet","ledet","fyllet","produseret","dekket","endet","mistet","gledet","unngåt","sørget","behandlet","vokset","mottat","registreret","beskrivet","arrangeret","forsøket","etableret","påvirket","skjønnet","fjernet","fødet","sjekket","forklaret","treffet","stoppet","bestillet","oppnåt","plasseret","avsluttet","henget","løpet","forventet","sluttet","presenteret","elsket","slitet","kostet","planlegget","bæret","besøket","glemmet","støttet","byttet","kastet","testet","nytet","oppdaget","oppståt","tapet","brytet","løset","styret","fornøyet","innebæret","rettet","representeret","tilpasset","publiseret","omfattet","utsettet","sammenlignet","tillatet","sovet","dannet","hevdet","tjenet","inviteret","forsvinnet","manglet","drepet","utgjøret","skillet","beskyttet","stemmet","varieret","drikket","opprettet","inngåt","forbedret","ødelegget","satset","dukket","målet","lastet","foreslåt","diskuteret","ringet","studeret","interesseret","styrket","begrenset","varet","koblet","skadet","forlatet","forlatt","lovet","foretat","skaffet","foregåt","godkjennet","koset","sparet","hørest","hindret","vedtat","bringet","bekreftet","oppdateret","anset","synget","fokuseret","forårsaket","spret","erstattet","skytet","serveret","kombineret","kjempet","latet","antat","blandet","byt","snut","preget","fordelet","ansettet","takket","faret","utvidet","skyldest","minnet","trykket","lanseret","kontaktet","beholdet","letet","forberedet","festet","innføret","undersøket","brennet","malet","medføret","beveget","stikket","skiftet","hoppet","involveret","egnet","overtat","monteret","tålet","avgjøret","lykkest","plukket","beregnet","utgit","peket","håndteret","tegnet","langet","uttalet","lagret","følest","installeret","feiret","opprettholdet","oppfordret","reageret","kontrolleret","understreket","havnet","vasket","befinnet","fullføret","leket","lidet","defineret","omtalet","løftet","oppgit","rammet","samarbeidet","fanget","typet","opplyset","strekket","dreiet","stenget","utarbeidet","fremmet","overføret","pleiet","oppfyllet","inspireret","engasjeret","utnyttet","oppføret","organiseret","smaket","reddet","scoret","hendet","bekymret","kuttet","påpeket","rekket","forandret","aksepteret","ordnet","nektet","presset","passeret","savnet","nærmet","pakket","smilet","møtest","rapporteret","dømmet","oppfattet","tilhøret","stiget","tildelet","talet","tydet","greiet","markeret","ivaretat","fortjenet","vennet","leiet","lånet","eksisteret","dokumenteret","klikket","vendet","tvinget","kommenteret","innrømmet","forholdet","landet","våknet","funket","formidlet","identifiseret","tellet","utstyret","gratuleret","formet","angripet","overrasket","foreligget","hevet","tørret","foretrekket","garanteret","justeret","prioriteret","lyttet","gjentat","imponeret","resulteret","skjulet","trengest","rivet","trivest","lukket","uttrykket","overlevet","klaget","informeret","tilbringet","postet","giftet","designet","avsløret","varslet","fremståt","blogget","innset","stolet","opereret","forsvaret","forutsettet","gripet","ryddet","utdannet","skrut","veiet","krysset","utfordret","gjennomgåt","reguleret","støtet","senket","lignet","bevaret","angit","utforsket","tørket","syklet","forsterket","tolket","slappet","investeret","fikset","berøret","beviset","ropet","koket","forblit","opptret","vekket","fastsettet","strikket","fryktet","blåset","avholdet","drømmet","syt","forekommet","forbyt","pratet","observeret","taklet","påståt","konkurreret","anet","rennet","rit","signeret","forhindret","ankommet","konkluderet","sporet","stiftet","relateret","forbindet","avtalet","varmet","bitet","påføret","bindet","fellet","kvalifiseret","refereret","utformet","avviset","klippet","overbeviset","blat","plaget","øvet","orket","behøvet","godtat","beklaget","henviset","kommuniseret","integreret","seilet","betraktet","danset","giddet","synket","lettet","tilrettelegget","finansieret","stimuleret","bedret","forebygget","avhenget","skuffet","tilsit","rullet","lestt","analyseret","hilset","bosettet","stjelet","tilsvaret","introduseret","dyrket","aktiveret","gravet","tret","disset","farget","anvendet","inntat","oversettet","hatet","konsentreret","utløset","reflekteret","grunnlegget","pustet","opplevest","kritiseret","anerkjennet","avdekket","svekket","slettet","gjenståt","hvilet","redigeret","kåret","steket","røret","låset","advaret","risikeret","renset","gråtet","knuset","rykket","underviset","skjæret","motiveret","luktet","domineret","fisket","biståt","seest","åpenbaret","tilføret","tilknyttet","påviset","besluttet","kartlegget","filmet","ytet","pågåt","kikket","gjemmet","annonseret","logget","omhandlet","returneret","røyket","pålegget","tipset","tippet","plantet","fremstillet","puttet","irriteret","tennet","stanset","utøvet","indikeret","noteret","tiltrekket","fryset","pyntet","klatret","lyset","oppgraderet","pusset","slenget","fraktet","fristet","stammet","skremmet","antydet","utnevnet","videreføret","forsket","vandret","tilsettet","oppsøket","fattet","svinget","forhandlet","skrevet","lønnet","stryket","suget","viet","digget","siktet","huset","repareret","erfaret","praktiseret","badet","forlenget","baket","straffet","realiseret","stresset","skrytet","intervjuet","flytet","bekjempet","illustreret","bøyet","droppet","iverksettet","ladet","mistenket","sovnet","forpliktet","tømmet","fremhevet","dempet","tvilet","begåt","orienteret","overvåket","fastslåt","banket","løsnet","tilfredsstillet","kopieret","etterfølget","rommet","argumenteret","angret","kulet","drøftet","sparket","begrunnet","betegnet","flyktet","erklæret","oppsummeret","forelsket","respekteret","lydet","låtet","avklaret","isoleret","smittet","anslåt","hellet","priset","smøret","genereret","oppbevaret","innledet","utelukket","belyset","omgit","vektlegget","listet","overlatet","tittet","dritet","debuteret","roet","konstrueret","administreret","gjengit","ryket","nomineret","svømmet","smeltet","offentliggjøret","etterlatet","skinnet","smellet","skriket","forvaltet","presteret","spesialiseret","siget","forsikret","dateret","klemmet","forstyrret","toppet","skyvet","linket","matchet","ridet","videreutviklet","fremgåt","avgit","fornyet","limet","raset","spat","balanseret","frigjøret","siteret","forestillet","konstateret","jaktet","grunnet","veiledet","gjenopprettet","angåt","besvaret","sammenliknet","innhentet","ristet","rengjøret","litet","kompliseret","utredet","nyttet","arresteret","moret","betjenet","booket","demonstreret","strømmet","anmeldet","dekoreret","mestret","vedlikeholdet","springet","erkjennet","oppholdet","avviklet","fotograferet","parkeret","vitnet","sviktet","rekrutteret","importeret","elimineret","oppmuntret","belønnet","blokkeret","presiseret","markedsføret","kjennetegnet","høstet","kjennest","lokaliseret","våget","overset","innstillet","utmerket","gjenspeilet","henvendet","lokket","sukket","utstedet","innehat","utbetalet","rangeret","avbrytet","evalueret","jaget","hivet","sprekket","døpet","omsettet","sorteret","slåsst","karakteriseret","fremføret","rundet","bemerket","underlegget","korresponderet","verdsettet","konverteret","formuleret","forfølget","utbret","disponeret","avanseret","strammet","implementeret","opparbeidet","kysset","korrigeret","blomstret","innvilget","ofret","knekket","filet","matet","forsinket","forenet","reserveret","spennet","tilsendet","transporteret","vannet","stavet","belastet","forenklet","skreddersyt","etterlyset","skyldet","spåt","dyttet","timet","rotet","nedlegget","dettet","kvittet","innredet","kortet","motsettet","lindret","bremset","frelset","foret","gjenkjennet","opphevet","sniket","tallet","absorberet","lekket","doblet","distribueret","synliggjøret","feilet","forsynet","bearbeidet","ignoreret","unnet","forkynnet","tråkket","assosieret","tilegnet","utviset","nedsettet","diagnostiseret","framståt","heiet","planet","anget","evnet","herjet","sklit","misforståt","forbeholdet","begeistret","avsettet","fyret","oset","kompenseret","overstiget","tilset","oppkallet","krypet","brettet","bevilget","skildret","forvandlet","minsket","rømmet","klassifiseret","anlegget","lyvet","sprenget","overnattet","innfrit","spørrest","maktet","forverret","turet","stellet","klargjøret","arvet","hemmet","ledest","skyllet","nøyet","pumpet","tillegget","hyllet","tillet","behersket","skjerpet","berømmet","vernet","forankret","luftet","svelget","innkallet","kunngjøret","luket","opphøret","headet","vekslet","fratat","suppleret","innlemmet","trillet","lenket","boret","avlyset","sponset","driftet","medvirket","motvirket","ferdigstillet","grenset","sprettet","gjestet","regisseret","protesteret","anklaget","gjettet","etterspørret","duket","stemplet","koordineret","avtat","oppnevnet","omkommet","overholdet","printet","misbruket","forlanget","dedikeret","roset","unnskyldet","utdelet","såret","sertifiseret","oppløset","provoseret","forvirret","øset","begravet","overgåt","påtat","helbredet","stirret","erobret","spekuleret","skiltet","mobbet","rustet","nikket","gruet","bommet","innlegget","utpeket","surfet","kranglet","tilgit","utdypet","sammensettet","hakket","fremkommet","strevet","igangsettet","hersket","brekket","bristet","bydet","draget","flyget","fnyset","fyket","glippet","grinet","gyset","gytet","gyvet","hogget","hugget","klinget","klypet","klyvet","knipet","kommet","kvedet","kvekket","kveppet","latet"," lyget","lyvet","nyset","pipet","ridet","settet","skitet","skjelvet","skridet","skrivet","skvettet","slippet","smyget","snytet","spinnet","stridet","supet","sverget","sverjet","ljuget","sviket","svinnet","sleppet","tigget","viket","villt","brukt","finnt","leggt","vist","vitt","liggt","ønskt","holdt","spillt","lagt","velgt","tenkt","ment","trengt","begynnt","kjennt","kjøpt","startt","finnes","lest","følgt","jobbt","gjeldt","sendt","fortellt","sitt","hørt","hjelpt","byggt","klart","kjørt","ført","snakkt","økt","tilby","skapt","håpt","vinnt","møtt","delt","følt","utviklt","bety","kallt","bidra","lært","selgt","spist","opplevt","fortsett","passt","drivt","krevt","fungert","levt","levert","virkt","betalt","forstå","delta","benytt","søkt","endrt","spørrt","vurdert","stillt","handlt","inkludert","åpnt","reist","inneholdt","bestemmt","anbefalt","trekkt","ventt","samlt","flytt","nevnt","gjennomført","huskt","lurt","sikrt","bestå","redusert","slippt","hentt","regnt","svart","knytt","utført","hett","merkt","basert","trent","fallt","meldt","ledt","fyllt","produsert","dekkt","endt","mistt","gledt","unngå","sørgt","behandlt","vokst","motta","registrert","beskrivt","arrangert","forsøkt","etablert","påvirkt","skjønnt","fjernt","født","sjekkt","forklart","trefft","stoppt","bestillt","oppnå","plassert","avslutt","hengt","løpt","forventt","slutt","presentert","elskt","slitt","kostt","planleggt","bært","besøkt","glemmt","støtt","bytt","kastt","testt","nytt","oppdagt","oppstå","tapt","brytt","løst","styrt","fornøyt","innebært","rett","representert","tilpasst","publisert","omfatt","utsett","sammenlignt","tillatt","sovt","dannt","hevdt","tjent","invitert","forsvinnt","manglt","drept","utgjørt","skillt","beskytt","stemmt","variert","drikkt","opprett","inngå","forbedrt","ødeleggt","satst","dukkt","målt","lastt","foreslå","diskutert","ringt","studert","interessert","styrkt","begrenst","vart","koblt","skadt","forlatt","lovt","foreta","skafft","foregå","godkjennt","kost","spart","høres","hindrt","vedta","bringt","bekreftt","oppdatert","anst","syngt","fokusert","forårsakt","sprt","erstatt","skytt","servert","kombinert","kjempt","latt","anta","blandt","by","snu","pregt","fordelt","ansett","takkt","fart","utvidt","skyldes","minnt","trykkt","lansert","kontaktt","beholdt","lett","forberedt","festt","innført","undersøkt","brennt","malt","medført","bevegt","stikkt","skiftt","hoppt","involvert","egnt","overta","montert","tålt","avgjørt","lykkes","plukkt","beregnt","utgi","pekt","håndtert","tegnt","langt","uttalt","lagrt","føles","installert","feirt","opprettholdt","oppfordrt","reagert","kontrollert","understrekt","havnt","vaskt","befinnt","fullført","lekt","lidt","definert","omtalt","løftt","oppgi","rammt","samarbeidt","fangt","typt","opplyst","strekkt","dreit","stengt","utarbeidt","fremmt","overført","pleit","oppfyllt","inspirert","engasjert","utnytt","oppført","organisert","smakt","reddt","scort","hendt","bekymrt","kutt","påpekt","rekkt","forandrt","akseptert","ordnt","nektt","presst","passert","savnt","nærmt","pakkt","smilt","møtes","rapportert","dømmt","oppfatt","tilhørt","stigt","tildelt","talt","tydt","greit","markert","ivareta","fortjent","vennt","leit","lånt","eksistert","dokumentert","klikkt","vendt","tvingt","kommentert","innrømmt","forholdt","landt","våknt","funkt","formidlt","identifisert","tellt","utstyrt","gratulert","formt","angript","overraskt","foreliggt","hevt","tørrt","foretrekkt","garantert","justert","prioritert","lytt","gjenta","imponert","resultert","skjult","trenges","rivt","trives","lukkt","uttrykkt","overlevt","klagt","informert","tilbringt","postt","giftt","designt","avslørt","varslt","fremstå","bloggt","innst","stolt","operert","forsvart","forutsett","gript","ryddt","utdannt","skru","veit","krysst","utfordrt","gjennomgå","regulert","støtt","senkt","lignt","bevart","angi","utforskt","tørkt","syklt","forsterkt","tolkt","slappt","investert","fikst","berørt","bevist","ropt","kokt","forbli","opptrt","vekkt","fastsett","strikkt","fryktt","blåst","avholdt","drømmt","sy","forekommt","forby","pratt","observert","taklt","påstå","konkurrert","ant","rennt","ri","signert","forhindrt","ankommt","konkludert","sport","stiftt","relatert","forbindt","avtalt","varmt","bitt","påført","bindt","fellt","kvalifisert","referert","utformt","avvist","klippt","overbevist","bla","plagt","øvt","orkt","behøvt","godta","beklagt","henvist","kommunisert","integrert","seilt","betraktt","danst","giddt","synkt","lett","tilretteleggt","finansiert","stimulert","bedrt","forebyggt","avhengt","skufft","tilsi","rullt","lest","analysert","hilst","bosett","stjelt","tilsvart","introdusert","dyrkt","aktivert","gravt","trt","disst","fargt","anvendt","innta","oversett","hatt","konsentrert","utløst","reflektert","grunnleggt","pustt","oppleves","kritisert","anerkjennt","avdekkt","svekkt","slett","gjenstå","hvilt","redigert","kårt","stekt","rørt","låst","advart","risikert","renst","grått","knust","rykkt","undervist","skjært","motivert","luktt","dominert","fiskt","bistå","sees","åpenbart","tilført","tilknytt","påvist","beslutt","kartleggt","filmt","ytt","pågå","kikkt","gjemmt","annonsert","loggt","omhandlt","returnert","røykt","påleggt","tipst","tippt","plantt","fremstillt","putt","irritert","tennt","stanst","utøvt","indikert","notert","tiltrekkt","fryst","pyntt","klatrt","lyst","oppgradert","pusst","slengt","fraktt","fristt","stammt","skremmt","antydt","utnevnt","videreført","forskt","vandrt","tilsett","oppsøkt","fatt","svingt","forhandlt","skrevt","lønnt","strykt","sugt","vit","diggt","siktt","hust","reparert","erfart","praktisert","badt","forlengt","bakt","strafft","realisert","stresst","skrytt","intervjut","flytt","bekjempt","illustrert","bøyt","droppt","iverksett","ladt","mistenkt","sovnt","forpliktt","tømmt","fremhevt","dempt","tvilt","begå","orientert","overvåkt","fastslå","bankt","løsnt","tilfredsstillt","kopiert","etterfølgt","rommt","argumentert","angrt","kult","drøftt","sparkt","begrunnt","betegnt","flyktt","erklært","oppsummert","forelskt","respektert","lydt","lått","avklart","isolert","smitt","anslå","hellt","prist","smørt","generert","oppbevart","innledt","utelukkt","belyst","omgi","vektleggt","listt","overlatt","titt","dritt","debutert","rot","konstruert","administrert","gjengi","rykt","nominert","svømmt","smeltt","offentliggjørt","etterlatt","skinnt","smellt","skrikt","forvaltt","prestert","spesialisert","sigt","forsikrt","datert","klemmt","forstyrrt","toppt","skyvt","linkt","matcht","ridt","videreutviklt","fremgå","avgi","fornyt","limt","rast","spa","balansert","frigjørt","sitert","forestillt","konstatert","jaktt","grunnt","veiledt","gjenopprett","angå","besvart","sammenliknt","innhentt","ristt","rengjørt","litt","komplisert","utredt","nytt","arrestert","mort","betjent","bookt","demonstrert","strømmt","anmeldt","dekorert","mestrt","vedlikeholdt","springt","erkjennt","oppholdt","avviklt","fotografert","parkert","vitnt","sviktt","rekruttert","importert","eliminert","oppmuntrt","belønnt","blokkert","presisert","markedsført","kjennetegnt","høstt","kjennes","lokalisert","vågt","overst","innstillt","utmerkt","gjenspeilt","henvendt","lokkt","sukkt","utstedt","inneha","utbetalt","rangert","avbrytt","evaluert","jagt","hivt","sprekkt","døpt","omsett","sortert","slåss","karakterisert","fremført","rundt","bemerkt","underleggt","korrespondert","verdsett","konvertert","formulert","forfølgt","utbrt","disponert","avansert","strammt","implementert","opparbeidt","kysst","korrigert","blomstrt","innvilgt","ofrt","knekkt","filt","matt","forsinkt","forent","reservert","spennt","tilsendt","transportert","vannt","stavt","belastt","forenklt","skreddersy","etterlyst","skyldt","spå","dytt","timt","rott","nedleggt","dett","kvitt","innredt","kortt","motsett","lindrt","bremst","frelst","fort","gjenkjennt","opphevt","snikt","tallt","absorbert","lekkt","doblt","distribuert","synliggjørt","feilt","forsynt","bearbeidt","ignorert","unnt","forkynnt","tråkkt","assosiert","tilegnt","utvist","nedsett","diagnostisert","framstå","heit","plant","angt","evnt","herjt","skli","misforstå","forbeholdt","begeistrt","avsett","fyrt","ost","kompensert","overstigt","tilst","oppkallt","krypt","brett","bevilgt","skildrt","forvandlt","minskt","rømmt","klassifisert","anleggt","lyvt","sprengt","overnatt","innfri","spørres","maktt","forverrt","turt","stellt","klargjørt","arvt","hemmt","ledes","skyllt","nøyt","pumpt","tilleggt","hyllt","tillt","beherskt","skjerpt","berømmt","vernt","forankrt","luftt","svelgt","innkallt","kunngjørt","lukt","opphørt","headt","vekslt","frata","supplert","innlemmt","trillt","lenkt","bort","avlyst","sponst","driftt","medvirkt","motvirkt","ferdigstillt","grenst","sprett","gjestt","regissert","protestert","anklagt","gjett","etterspørrt","dukt","stemplt","koordinert","avta","oppnevnt","omkommt","overholdt","printt","misbrukt","forlangt","dedikert","rost","unnskyldt","utdelt","sårt","sertifisert","oppløst","provosert","forvirrt","øst","begravt","overgå","påta","helbredt","stirrt","erobrt","spekulert","skiltt","mobbt","rustt","nikkt","grut","bommt","innleggt","utpekt","surft","kranglt","tilgi","utdypt","sammensett","hakkt","fremkommt","strevt","igangsett","herskt","brekkt","bristt","bydt","dragt","flygt","fnyst","fykt","glippt","grint","gyst","gytt","gyvt","hoggt","huggt","klingt","klypt","klyvt","knipt","kommt","kvedt","kvekkt","kveppt","latt"," lygt","lyvt","nyst","pipt","ridt","sett","skitt","skjelvt","skridt","skrivt","skvett","slippt","smygt","snytt","spinnt","stridt","supt","svergt","sverjt","ljugt","svikt","svinnt","sleppt","tiggt","vikt","bedt","betydd","bundet","bitt","blitt","brekket","brent","brutt","bydd","budt","båret","dettet","dradd","dratt","drukket","dritet","dritt","drevet","ett","falt","funnet","flydd","fløyet","flydd","fløyet","flytt","forsvunnet","fortalt","frosset","fått","fulgt","gitt","giddet","gjeldet","gjeldt","gjort","kvalt","glidd","gravd","gravet","grint","grepet","grått","gått","hatt","hett","hivd","hjulpet","hogget","hogd","holdt","klypt","kløpet","knekket","knekt","kommet","krøpet","latt","latt","ledd","lagt","ligget","lydd","lydt","løyet","løpet","løpt","nyst","nytt","pepet","rekket","rekkt","rent","ridd","revet","røket","sett","solgt","satt","sagt","sittet","skitt","skjelvet","skåret","sklidd","skreket","skrevet","skrytt","skutt","skyvd","skjøvet","slengt","sluppet","slitt","slått","smelt","snytt","sovet","sprukket","sprettet","sprunget","spurt","stukket","stjålet","strukket","strøket","stått","likt","sverga","sverget","svoret","svidd","sveket","svunnet","sunget","sunket","tatt","truffet","trukket","tvunget","tort","turt","valgt","vikt","vunnet","visst","vridd","vært","villed","bruked","finned","legged","vised","vited","ligged","ønsked","holded","spilled","laged","velged","tenked","mened","trenged","begynned","kjenned","kjøped","started","finnesd","lesed","følged","jobbed","gjelded","sended","fortelled","sitted","høred","hjelped","bygged","klared","kjøred","føred","snakked","øked","tilbyd","skaped","håped","vinned","møted","deled","føled","utvikled","betyd","kalled","bidrad","læred","selged","spised","oppleved","fortsetted","passed","drived","kreved","fungered","leved","levered","virked","betaled","forståd","deltad","benytted","søked","endred","spørred","vurdered","stilled","handled","inkludered","åpned","reised","inneholded","bestemmed","anbefaled","trekked","vented","samled","flytted","nevned","gjennomføred","husked","lured","sikred","beståd","redusered","slipped","hented","regned","svared","knytted","utføred","heted","merked","basered","trened","falled","melded","leded","fylled","produsered","dekked","ended","misted","gleded","unngåd","sørged","behandled","voksed","mottad","registrered","beskrived","arrangered","forsøked","etablered","påvirked","skjønned","fjerned","føded","sjekked","forklared","treffed","stopped","bestilled","oppnåd","plassered","avslutted","henged","løped","forvented","slutted","presentered","elsked","slited","kosted","planlegged","bæred","besøked","glemmed","støtted","bytted","kasted","tested","nyted","oppdaged","oppståd","taped","bryted","løsed","styred","fornøyed","innebæred","retted","representered","tilpassed","publisered","omfatted","utsetted","sammenligned","tillated","soved","danned","hevded","tjened","invitered","forsvinned","mangled","dreped","utgjøred","skilled","beskytted","stemmed","variered","drikked","oppretted","inngåd","forbedred","ødelegged","satsed","dukked","måled","lasted","foreslåd","diskutered","ringed","studered","interessered","styrked","begrensed","vared","kobled","skaded","forlated","loved","foretad","skaffed","foregåd","godkjenned","kosed","spared","høresd","hindred","vedtad","bringed","bekrefted","oppdatered","ansed","synged","fokusered","forårsaked","spred","erstatted","skyted","servered","kombinered","kjemped","lated","antad","blanded","byd","snud","preged","fordeled","ansetted","takked","fared","utvided","skyldesd","minned","trykked","lansered","kontakted","beholded","leted","forbereded","fested","innføred","undersøked","brenned","maled","medføred","beveged","stikked","skifted","hopped","involvered","egned","overtad","montered","tåled","avgjøred","lykkesd","plukked","beregned","utgid","peked","håndtered","tegned","langed","uttaled","lagred","følesd","installered","feired","opprettholded","oppfordred","reagered","kontrollered","understreked","havned","vasked","befinned","fullføred","leked","lided","definered","omtaled","løfted","oppgid","rammed","samarbeided","fanged","typed","opplysed","strekked","dreied","stenged","utarbeided","fremmed","overføred","pleied","oppfylled","inspirered","engasjered","utnytted","oppføred","organisered","smaked","redded","scored","hended","bekymred","kutted","påpeked","rekked","forandred","akseptered","ordned","nekted","pressed","passered","savned","nærmed","pakked","smiled","møtesd","rapportered","dømmed","oppfatted","tilhøred","stiged","tildeled","taled","tyded","greied","markered","ivaretad","fortjened","venned","leied","låned","eksistered","dokumentered","klikked","vended","tvinged","kommentered","innrømmed","forholded","landed","våkned","funked","formidled","identifisered","telled","utstyred","gratulered","formed","angriped","overrasked","foreligged","heved","tørred","foretrekked","garantered","justered","prioritered","lytted","gjentad","imponered","resultered","skjuled","trengesd","rived","trivesd","lukked","uttrykked","overleved","klaged","informered","tilbringed","posted","gifted","designed","avsløred","varsled","fremståd","blogged","innsed","stoled","operered","forsvared","forutsetted","griped","rydded","utdanned","skrud","veied","kryssed","utfordred","gjennomgåd","regulered","støted","senked","ligned","bevared","angid","utforsked","tørked","sykled","forsterked","tolked","slapped","investered","fiksed","berøred","bevised","roped","koked","forblid","opptred","vekked","fastsetted","strikked","frykted","blåsed","avholded","drømmed","syd","forekommed","forbyd","prated","observered","takled","påståd","konkurrered","aned","renned","rid","signered","forhindred","ankommed","konkludered","spored","stifted","relatered","forbinded","avtaled","varmed","bited","påføred","binded","felled","kvalifisered","referered","utformed","avvised","klipped","overbevised","blad","plaged","øved","orked","behøved","godtad","beklaged","henvised","kommunisered","integrered","seiled","betrakted","dansed","gidded","synked","letted","tilrettelegged","finansiered","stimulered","bedred","forebygged","avhenged","skuffed","tilsid","rulled","lestd","analysered","hilsed","bosetted","stjeled","tilsvared","introdusered","dyrked","aktivered","graved","tred","dissed","farged","anvended","inntad","oversetted","hated","konsentrered","utløsed","reflektered","grunnlegged","pusted","opplevesd","kritisered","anerkjenned","avdekked","svekked","sletted","gjenståd","hviled","redigered","kåred","steked","røred","låsed","advared","risikered","rensed","gråted","knused","rykked","undervised","skjæred","motivered","lukted","dominered","fisked","biståd","seesd","åpenbared","tilføred","tilknytted","påvised","beslutted","kartlegged","filmed","yted","pågåd","kikked","gjemmed","annonsered","logged","omhandled","returnered","røyked","pålegged","tipsed","tipped","planted","fremstilled","putted","irritered","tenned","stansed","utøved","indikered","notered","tiltrekked","frysed","pynted","klatred","lysed","oppgradered","pussed","slenged","frakted","fristed","stammed","skremmed","antyded","utnevned","videreføred","forsked","vandred","tilsetted","oppsøked","fatted","svinged","forhandled","skreved","lønned","stryked","suged","vied","digged","sikted","hused","reparered","erfared","praktisered","baded","forlenged","baked","straffed","realisered","stressed","skryted","intervjued","flyted","bekjemped","illustrered","bøyed","dropped","iverksetted","laded","mistenked","sovned","forplikted","tømmed","fremheved","demped","tviled","begåd","orientered","overvåked","fastslåd","banked","løsned","tilfredsstilled","kopiered","etterfølged","rommed","argumentered","angred","kuled","drøfted","sparked","begrunned","betegned","flykted","erklæred","oppsummered","forelsked","respektered","lyded","låted","avklared","isolered","smitted","anslåd","helled","prised","smøred","generered","oppbevared","innleded","utelukked","belysed","omgid","vektlegged","listed","overlated","titted","drited","debutered","roed","konstruered","administrered","gjengid","ryked","nominered","svømmed","smelted","offentliggjøred","etterlated","skinned","smelled","skriked","forvalted","prestered","spesialisered","siged","forsikred","datered","klemmed","forstyrred","topped","skyved","linked","matched","rided","videreutvikled","fremgåd","avgid","fornyed","limed","rased","spad","balansered","frigjøred","sitered","forestilled","konstatered","jakted","grunned","veileded","gjenoppretted","angåd","besvared","sammenlikned","innhented","risted","rengjøred","lited","komplisered","utreded","nytted","arrestered","mored","betjened","booked","demonstrered","strømmed","anmelded","dekorered","mestred","vedlikeholded","springed","erkjenned","oppholded","avvikled","fotografered","parkered","vitned","svikted","rekruttered","importered","eliminered","oppmuntred","belønned","blokkered","presisered","markedsføred","kjennetegned","høsted","kjennesd","lokalisered","våged","oversed","innstilled","utmerked","gjenspeiled","henvended","lokked","sukked","utsteded","innehad","utbetaled","rangered","avbryted","evaluered","jaged","hived","sprekked","døped","omsetted","sortered","slåssd","karakterisered","fremføred","runded","bemerked","underlegged","korrespondered","verdsetted","konvertered","formulered","forfølged","utbred","disponered","avansered","strammed","implementered","opparbeided","kyssed","korrigered","blomstred","innvilged","ofred","knekked","filed","mated","forsinked","forened","reservered","spenned","tilsended","transportered","vanned","staved","belasted","forenkled","skreddersyd","etterlysed","skylded","spåd","dytted","timed","roted","nedlegged","detted","kvitted","innreded","korted","motsetted","lindred","bremsed","frelsed","fored","gjenkjenned","oppheved","sniked","talled","absorbered","lekked","dobled","distribuered","synliggjøred","feiled","forsyned","bearbeided","ignorered","unned","forkynned","tråkked","assosiered","tilegned","utvised","nedsetted","diagnostisered","framståd","heied","planed","anged","evned","herjed","sklid","misforståd","forbeholded","begeistred","avsetted","fyred","osed","kompensered","overstiged","tilsed","oppkalled","kryped","bretted","bevilged","skildred","forvandled","minsked","rømmed","klassifisered","anlegged","lyved","sprenged","overnatted","innfrid","spørresd","makted","forverred","tured","stelled","klargjøred","arved","hemmed","ledesd","skylled","nøyed","pumped","tillegged","hylled","tilled","behersked","skjerped","berømmed","verned","forankred","lufted","svelged","innkalled","kunngjøred","luked","opphøred","headed","veksled","fratad","supplered","innlemmed","trilled","lenked","bored","avlysed","sponsed","drifted","medvirked","motvirked","ferdigstilled","grensed","spretted","gjested","regissered","protestered","anklaged","gjetted","etterspørred","duked","stempled","koordinered","avtad","oppnevned","omkommed","overholded","printed","misbruked","forlanged","dedikered","rosed","unnskylded","utdeled","såred","sertifisered","oppløsed","provosered","forvirred","øsed","begraved","overgåd","påtad","helbreded","stirred","erobred","spekulered","skilted","mobbed","rusted","nikked","grued","bommed","innlegged","utpeked","surfed","krangled","tilgid","utdyped","sammensetted","hakked","fremkommed","streved","igangsetted","hersked","brekked","bristed","byded","draged","flyged","fnysed","fyked","glipped","grined","gysed","gyted","gyved","hogged","hugged","klinged","klyped","klyved","kniped","kommed","kveded","kvekked","kvepped","lated","lyged","lyved","nysed","piped","rided","setted","skited","skjelved","skrided","skrived","skvetted","slipped","smyged","snyted","spinned","strided","suped","sverged","sverjed","ljuged","sviked","svinned","slepped","tigged","viked","kunngjort"],{getWords:c}=r.languageProcessing,{precedenceException:x,values:w}=r.languageProcessing,{Clause:S}=w,P=["bli","blir","ble ","blei","blitt","bli","blivende","blis","er"],{createRegexFromArray:R,getClauses:C}=r.languageProcessing,E={Clause:class extends S{constructor(e,t){super(e,t),this._participles=function(e){const t=c(e),r=[];return(0,m.forEach)(t,(function(e){(0,m.includes)(j,e)&&r.push(e)})),r}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getClauseText(),t=this.getParticiples().filter((t=>!x(e,t,a)));this.setPassive(t.length>0)}},stopwords:g,auxiliaries:P,regexes:{auxiliaryRegex:R(P),stopwordRegex:R(g),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi}};function O(e){return C(e,E)}const{AbstractResearcher:T}=r.languageProcessing;class W extends T{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"nb",passiveConstructionType:"periphrastic",functionWords:o,firstWordExceptions:d,transitionWords:n,twoPartTransitionWords:p,stopWords:g}),Object.assign(this.helpers,{getStemmer:h,getClauses:O})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/en.js 0000644 00000221561 15174677550 0010445 0 ustar 00 (()=>{var e={429:e=>{var d=function(e,d){var n;for(n=0;n<e.length;n++)if(e[n].regex.test(d))return e[n]},n=function(e,n){var t,i,r;for(t=0;t<n.length;t++)if(i=d(e,n.substring(0,t+1)))r=i;else if(r)return{max_index:t,rule:r};return r?{max_index:n.length,rule:r}:void 0};e.exports=function(e){var t="",i=[],r=1,a=1,u=function(d,n){e({type:n,src:d,line:r,col:a});var t=d.split("\n");r+=t.length-1,a=(t.length>1?1:a)+t[t.length-1].length};return{addRule:function(e,d){i.push({regex:e,type:d})},onText:function(e){for(var d=t+e,r=n(i,d);r&&r.max_index!==d.length;)u(d.substring(0,r.max_index),r.rule.type),d=d.substring(r.max_index),r=n(i,d);t=d},end:function(){if(0!==t.length){var e=d(i,t);if(!e){var n=new Error("unable to tokenize");throw n.tokenizer2={buffer:t,line:r,col:a},n}u(t,e.type)}}}}}},d={};function n(t){var i=d[t];if(void 0!==i)return i.exports;var r=d[t]={exports:{}};return e[t](r,r.exports,n),r.exports}n.n=e=>{var d=e&&e.__esModule?()=>e.default:()=>e;return n.d(d,{a:d}),d},n.d=(e,d)=>{for(var t in d)n.o(d,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:d[t]})},n.o=(e,d)=>Object.prototype.hasOwnProperty.call(e,d),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";n.r(t),n.d(t,{default:()=>dd});const e=window.yoast.analysis,d=["the","a","an","one","two","three","four","five","six","seven","eight","nine","ten","this","that","these","those"],i=["am","is","are","was","were","been","be","she's","he's","it's","i'm","we're","they're","you're","that's","being"].concat(["isn't","weren't","wasn't","aren't"],["get","gets","got","gotten","getting"],["having","what's"]),r=i,a=["accordingly","additionally","afterward","afterwards","albeit","also","although","altogether","another","basically","because","before","besides","but","certainly","chiefly","comparatively","concurrently","consequently","contrarily","conversely","correspondingly","despite","doubtedly","during","e.g.","earlier","emphatically","equally","especially","eventually","evidently","explicitly","finally","firstly","following","formerly","forthwith","fourthly","further","furthermore","generally","hence","henceforth","however","i.e.","identically","indeed","initially","instead","last","lastly","later","lest","likewise","markedly","meanwhile","moreover","nevertheless","nonetheless","nor","notwithstanding","obviously","occasionally","otherwise","overall","particularly","presently","previously","rather","regardless","secondly","shortly","significantly","similarly","simultaneously","since","so","soon","specifically","still","straightaway","subsequently","surely","surprisingly","than","then","thereafter","therefore","thereupon","thirdly","though","thus","till","undeniably","undoubtedly","unless","unlike","unquestionably","until","when","whenever","whereas","while","whether","if","actually","anyway","anyways","anyhow","mostly","namely","including","suddenly"],u=a.concat(["above all","after all","after that","all in all","all of a sudden","all things considered","analogous to","although this may be true","analogous to","another key point","as a matter of fact","as a result","as an illustration","as can be seen","as has been noted","as I have noted","as I have said","as I have shown","as long as","as much as","as opposed to","as shown above","as soon as","as well as","at any rate","at first","at last","at least","at length","at the present time","at the same time","at this instant","at this point","at this time","balanced against","being that","by all means","by and large","by comparison","by the same token","by the time","compared to","be that as it may","coupled with","different from","due to","equally important","even if","even more","even so","even though","first thing to remember","for example","for fear that","for instance","for one thing","for that reason","for the most part","for the purpose of","for the same reason","for this purpose","for this reason","from time to time","given that","given these points","important to realize","in a word","in addition","in another case","in any case","in any event","in brief","in case","in conclusion","in contrast","in detail","in due time","in effect","in either case","either way","in essence","in fact","in general","in light of","in like fashion","in like manner","in order that","in order to","in other words","in particular","in reality","in short","in similar fashion","in spite of","in sum","in summary","in that case","in the event that","in the final analysis","in the first place","in the fourth place","in the hope that","in the light of","in the long run","in the meantime","in the same fashion","in the same way","in the second place","in the third place","in this case","in this situation","in time","in truth","in view of","inasmuch as","most compelling evidence","most important","must be remembered","not only","not to mention","note that","now that","of course","on account of","on balance","on condition that","on one hand","on the condition that","on the contrary","on the negative side","on the other hand","on the positive side","on the whole","on this occasion","all at once","once in a while","only if","owing to","point often overlooked","prior to","provided that","seeing that","so as to","so far","so long as","so that","sooner or later","such as","summing up","take the case of","that is","that is to say","then again","this time","to be sure","to begin with","to clarify","to conclude","to demonstrate","to emphasize","to enumerate","to explain","to illustrate","to list","to point out","to put it another way","to put it differently","to repeat","to rephrase it","to say nothing of","to sum up","to summarize","to that end","to the end that","to this end","together with","under those circumstances","until now","up against","up to the present time","vis a vis","what's more","what is more","while it may be true","while this may be true","with attention to","with the result that","with this in mind","with this intention","with this purpose in mind","without a doubt","without delay","without doubt","without reservation","according to","no sooner","at most","at the most","from now on"]);function o(e){let d=e;return e.forEach((n=>{(n=n.split("-")).length>0&&n.filter((d=>!e.includes(d))).length>0&&(d=d.concat(n))})),d}const s=["the","an","a"],l=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty","hundred","hundreds","thousand","thousands","million","millions","billion","billions"],c=["first","second","third","fourth","fifth","sixth","seventh","eighth","ninth","tenth","eleventh","twelfth","thirteenth","fourteenth","fifteenth","sixteenth","seventeenth","eighteenth","nineteenth","twentieth"],h=["i","you","he","she","it","we","they"],p=["me","him","us","them"],m=["this","that","these","those"],g=["my","your","his","her","its","their","our","mine","yours","hers","theirs","ours"],f=["all","some","many","lot","lots","ton","tons","bit","no","every","enough","little","much","more","most","plenty","several","few","fewer","kind","kinds"],b=["myself","yourself","himself","herself","itself","oneself","ourselves","yourselves","themselves"],w=["none","nobody","everyone","everybody","someone","somebody","anyone","anybody","nothing","everything","something","anything","each","other","whatever","whichever","whoever","whomever","whomsoever","whosoever","others","neither","both","either","any","such"],y=["one's","nobody's","everyone's","everybody's","someone's","somebody's","anyone's","anybody's","nothing's","everything's","something's","anything's","whoever's","others'","other's","another's","neither's","either's"],v=["which","what","whose"],z=["who","whom"],k=["where","how","why","whether","wherever","whyever","wheresoever","whensoever","howsoever","whysoever","whatsoever","whereso","whomso","whenso","howso","whyso","whoso","whatso"],E=["therefor","therein","hereby","hereto","wherein","therewith","herewith","wherewith","thereby"],x=["there","here","whither","thither","hither","whence","thence"],F=["always","once","twice","thrice"],A=["can","cannot","can't","could","couldn't","could've","dare","dares","dared","do","don't","does","doesn't","did","didn't","done","have","haven't","had","hadn't","has","hasn't","i've","you've","we've","they've","i'd","you'd","he'd","she'd","it'd","we'd","they'd","would","wouldn't","would've","may","might","must","need","needn't","needs","ought","shall","shalln't","shan't","should","shouldn't","will","won't","i'll","you'll","he'll","she'll","it'll","we'll","they'll","there's","there're","there'll","here's","here're","there'll"],j=["appear","appears","appeared","become","becomes","became","come","comes","came","keep","keeps","kept","remain","remains","remained","stay","stays","stayed","turn","turns","turned"],q=["doing","daring","having","appearing","becoming","coming","keeping","remaining","staying","saying","asking","stating","seeming","letting","making","setting","showing","putting","adding","going","using","trying","containing"],D=["in","from","with","under","throughout","atop","for","on","of","to","aboard","about","above","abreast","absent","across","adjacent","after","against","along","alongside","amid","mid","among","apropos","apud","around","as","astride","at","ontop","afore","tofore","behind","ahind","below","ablow","beneath","neath","beside","between","atween","beyond","ayond","by","chez","circa","spite","down","except","into","less","like","minus","near","nearer","nearest","anear","notwithstanding","off","onto","opposite","out","outen","over","past","per","pre","qua","sans","sithence","through","thru","truout","toward","underneath","up","upon","upside","versus","via","vis-à-vis","without","ago","apart","aside","aslant","away","withal","towards","amidst","amongst","midst","whilst"],B=["back","within","forward","backward","ahead"],R=["and","or","and/or","yet"],C=["sooner","just","only"],P=["if","even"],$=["say","says","said","claimed","ask","asks","asked","stated","explain","explains","explained","think","thinks","talks","talked","announces","announced","tells","told","discusses","discussed","suggests","suggested","understands","understood"],_=["again","definitely","eternally","expressively","instead","expressly","immediately","including","instantly","namely","naturally","next","notably","now","nowadays","ordinarily","positively","truly","ultimately","uniquely","usually","almost","maybe","probably","granted","initially","too","actually","already","e.g","i.e","often","regularly","simply","optionally","perhaps","sometimes","likely","never","ever","else","inasmuch","provided","currently","incidentally","elsewhere","particular","recently","relatively","f.i","clearly","apparently"],S=["highly","very","really","extremely","absolutely","completely","totally","utterly","quite","somewhat","seriously","fairly","fully","amazingly"],L=["seem","seems","seemed","let","let's","lets","make","makes","made","want","showed","shown","go","goes","went","gone","take","takes","took","taken","put","puts","use","used","try","tries","tried","mean","means","meant","called","based","add","adds","added","contain","contains","contained","consist","consists","consisted","ensure","ensures","ensured"],W=["new","newer","newest","old","older","oldest","previous","good","well","better","best","big","bigger","biggest","easy","easier","easiest","fast","faster","fastest","far","hard","harder","hardest","least","own","large","larger","largest","long","longer","longest","low","lower","lowest","high","higher","highest","regular","simple","simpler","simplest","small","smaller","smallest","tiny","tinier","tiniest","short","shorter","shortest","main","actual","nice","nicer","nicest","real","same","able","certain","usual","so-called","mainly","mostly","recent","anymore","complete","lately","possible","commonly","constantly","continually","directly","easily","nearly","slightly","somewhere","estimated","latest","different","similar","widely","bad","worse","worst","great","specific","available","average","awful","awesome","basic","beautiful","busy","current","entire","everywhere","important","major","multiple","normal","necessary","obvious","partly","special","last","early","earlier","earliest","young","younger","youngest"],U=["oh","wow","tut-tut","tsk-tsk","ugh","whew","phew","yeah","yea","shh","oops","ouch","aha","yikes"],T=["tbs","tbsp","spk","lb","qt","pk","bu","oz","pt","mod","doz","hr","f.g","ml","dl","cl","l","mg","g","kg","quart"],I=["seconds","minute","minutes","hour","hours","day","days","week","weeks","month","months","year","years","today","tomorrow","yesterday"],O=["thing","things","way","ways","matter","case","likelihood","ones","piece","pieces","stuff","times","part","parts","percent","instance","instances","aspect","aspects","item","items","idea","theme","person","instance","instances","detail","details","factor","factors","difference","differences"],H=["not","yes","sure","top","bottom","ok","okay","amen","aka","etc","etcetera","sorry","please"],M=["jr","sr"],N=(o([].concat(c,q,W)),o([].concat(s,D,R,m,S,f,g)),o([].concat(a,F,h,p,b,U,l,i,A,j,$,L,w,C,P,v,z,k,x,H,B,E,T,I,O)),o([].concat(s,D,m,g,c,q,f))),V=o([].concat(A,j,$,L)),J=(o([].concat(s,l,c,m,g,b,h,p,f,w,q,y,v,z,k,E,x,F,B,i,A,j,D,R,C,P,$,a,_,S,L,U,W,T,H,M)),o([].concat(s,l,c,m,g,b,h,p,f,w,q,y,v,z,k,E,x,F,B,i,A,j,D,R,C,P,$,a,_,S,L,U,W,T,O,H,I,["ms","mss","mrs","mr","dr","prof"],M))),G=["to","which","who","whom","that","whose","after","although","as","because","before","even if","even though","if","in order that","inasmuch","lest","once","provided","since","so that","than","though","till","unless","until","when","whenever","where","whereas","wherever","whether","while","why","by the time","supposing","no matter","how","what","won't","do","does","–","and","but","or"],K=[["both","and"],["not only","but also"],["neither","nor"],["either","or"],["not","but"]],Q=JSON.parse('{"vowels":"aeiouy","deviations":{"vowels":[{"fragments":["cial","tia","cius","giu","ion","[^bdnprv]iou","sia$","[^aeiuot]{2,}ed$","[aeiouy][^aeiuoyts]{1,}e$","[a-z]ely$","[cgy]ed$","rved$","[aeiouy][dt]es?$","eau","ieu","oeu","[aeiouy][^aeiouydt]e[sd]?$","[aeouy]rse$","^eye"],"countModifier":-1},{"fragments":["ia","iu","ii","io","[aeio][aeiou]{2}","[aeiou]ing","[^aeiou]ying","ui[aeou]"],"countModifier":1},{"fragments":["^ree[jmnpqrsx]","^reele","^reeva","riet","dien","[aeiouym][bdp]le$","uei","uou","^mc","ism$","[^l]lien","^coa[dglx].","[^gqauieo]ua[^auieo]","dn\'t$","uity$","ie(r|st)","[aeiouw]y[aeiou]","[^ao]ire[ds]","[^ao]ire$"],"countModifier":1},{"fragments":["eoa","eoo","ioa","ioe","ioo"],"countModifier":1}],"words":{"full":[{"word":"business","syllables":2},{"word":"coheiress","syllables":3},{"word":"colonel","syllables":2},{"word":"heiress","syllables":2},{"word":"i.e","syllables":2},{"word":"shoreline","syllables":2},{"word":"simile","syllables":3},{"word":"unheired","syllables":2},{"word":"wednesday","syllables":2}],"fragments":{"global":[{"word":"coyote","syllables":3},{"word":"graveyard","syllables":2},{"word":"lawyer","syllables":2}]}}}}'),X=window.lodash,Y=["ablebodied","abovementioned","absentminded","accoladed","accompanied","acculturized","accursed","acerated","acerbated","acetylized","achromatised","achromatized","acidified","acned","actualised","adrenalised","adulated","adversed","aestheticised","affectioned","affined","affricated","aforementioned","agerelated","aggrieved","airbed","aircooled","airspeed","alcoholized","alcoved","alkalised","allianced","aluminized","alveolated","ambered","ammonified","amplified","anagrammatised","anagrammatized","anathematised","aniseed","ankled","annualized","anonymised","anthologized","antlered","anucleated","anviled","anvilshaped","apostrophised","apostrophized","appliqued","apprized","arbitrated","armored","articled","ashamed","assented","atomised","atrophied","auricled","auriculated","aurified","autopsied","axled","babied","backhoed","badmannered","badtempered","balustered","baned","barcoded","bareboned","barefooted","barelegged","barnacled","based","bayoneted","beadyeyed","beaked","beaned","beatified","beautified","beavered","bed","bedamned","bedecked","behoved","belated","bellbottomed","bellshaped","benighted","bequeathed","berried","bespectacled","bewhiskered","bighearted","bigmouthed","bigoted","bindweed","binucleated","biopsied","bioturbed","biped","bipinnated","birdfeed","birdseed","bisegmented","bitterhearted","blabbermouthed","blackhearted","bladed","blankminded","blearyeyed","bleed","blissed","blobbed","blondhaired","bloodied","bloodred","bloodshed","blueblooded","boatshaped","bobsled","bodied","boldhearted","boogied","boosed","bosomed","bottlefed","bottlefeed","bottlenecked","bouldered","bowlegged","bowlshaped","brandied","bravehearted","breastfed","breastfeed","breed","brighteyed","brindled","broadhearted","broadleaved","broadminded","brokenhearted","broomed","broomweed","buccaned","buckskinned","bucktoothed","buddied","buffaloed","bugeyed","bugleweed","bugweed","bulletined","bunked","busied","butterfingered","cabbed","caddied","cairned","calcified","canalized","candied","cannulated","canoed","canopied","canvased","caped","capsulated","cassocked","castellated","catabolised","catheterised","caudated","cellmediated","cellulosed","certified","chagrined","chambered","chested","chevroned","chickenfeed","chickenhearted","chickweed","chilblained","childbed","chinned","chromatographed","ciliated","cindered","cingulated","circumstanced","cisgendered","citrullinated","clappered","clarified","classified","clawshaped","claysized","cleanhearted","clearminded","clearsighted","cliched","clodded","cloistered","closefisted","closehearted","closelipped","closemouthed","closeted","cloudseed","clubfooted","clubshaped","clued","cockeyed","codified","coed","coevolved","coffined","coiffed","coinfected","coldblooded","coldhearted","collateralised","colonialised","colorcoded","colorised","colourised","columned","commoditized","compactified","companioned","complexioned","conceited","concerned","concussed","coneshaped","congested","contented","convexed","coralled","corymbed","cottonseed","countrified","countrybred","courtmartialled","coved","coveralled","cowshed","cozied","cragged","crayoned","credentialed","creed","crenulated","crescentshaped","cressweed","crewed","cricked","crispated","crossbarred","crossbed","crossbred","crossbreed","crossclassified","crosseyed","crossfertilised","crossfertilized","crossindexed","crosslegged","crossshaped","crossstratified","crossstriated","crotched","crucified","cruelhearted","crutched","cubeshaped","cubified","cuckolded","cucumbershaped","cumbered","cuminseed","cupshaped","curated","curded","curfewed","curlicued","curlycued","curried","curtsied","cyclized","cylindershaped","damed","dandified","dangered","darkhearted","daybed","daylighted","deacidified","deacylated","deadhearted","deadlined","deaminized","deathbed","decalcified","decertified","deckbed","declassified","declutched","decolourated","decreed","deed","deeprooted","deepseated","defensed","defied","deflexed","deglamorised","degunkified","dehumidified","deified","deled","delegitimised","demoded","demystified","denasalized","denazified","denied","denitrified","denticulated","deseed","desexualised","desposited","detoxified","deuced","devitrified","dewlapped","dezincified","diagonalised","dialogued","died","digitated","dignified","dilled","dimwitted","diphthonged","disaffected","disaggregated","disarrayed","discalced","discolorated","discolourated","discshaped","diseased","disembodied","disencumbered","disfranchised","diskshaped","disproportionated","disproportioned","disqualified","distempered","districted","diversified","diverticulated","divested","divvied","dizzied","dogged","dogsbodied","dogsled","domeshaped","domiciled","dormered","doublebarrelled","doublestranded","doublewalled","downhearted","duckbilled","eared","echeloned","eddied","edified","eggshaped","elasticated","electrified","elegized","embed","embodied","emceed","empaneled","empanelled","emptyhearted","emulsified","engined","ennobled","envied","enzymecatalysed","enzymecatalyzed","epitomised","epoxidized","epoxied","etherised","etherized","evilhearted","evilminded","exceed","excited","exemplified","exponentiated","expurgated","extravasated","extraverted","extroverted","fabled","facelifted","facsimiled","fainthearted","falcated","falsehearted","falsified","famed","fancified","fanged","fanshaped","fantasied","farsighted","fated","fatted","fazed","featherbed","fed","federalized","feeblehearted","feebleminded","feeblewitted","feed","fendered","fenestrated","ferried","fevered","fibered","fibred","ficklehearted","fiercehearted","figged","filigreed","filterfeed","fireweed","firmhearted","fissured","flanged","flanneled","flannelled","flatbed","flatfooted","flatted","flawed","flaxenhaired","flaxseed","flaxweed","flighted","floodgenerated","flowerbed","fluidised","fluidized","flurried","fobbed","fonded","forcefeed","foreshortened","foresighted","forkshaped","formfeed","fortified","fortressed","foulmouthed","foureyed","foxtailed","fractionalised","fractionalized","frankhearted","freed","freehearted","freespirited","frenzied","friezed","frontiered","fructified","frumped","fullblooded","fullbodied","fullfledged","fullhearted","funnelshaped","furnaced","gaitered","galleried","gangliated","ganglionated","gangrened","gargoyled","gasified","gaunted","gauntleted","gauzed","gavelled","gelatinised","gemmed","genderized","gentled","gentlehearted","gerrymandered","gladhearted","glamored","globed","gloried","glorified","glycosylated","goateed","gobletshaped","godspeed","goodhearted","goodhumored","goodhumoured","goodnatured","goodtempered","goosed","goosenecked","goutweed","grainfed","grammaticalized","grapeseed","gratified","graved","gravelbed","grayhaired","greathearted","greed","greenweed","grommeted","groundspeed","groved","gruffed","guiled","gulled","gumshoed","gunkholed","gussied","guyed","gyrostabilized","hackneyed","hagged","haired","halfcivilized","halfhearted","halfwitted","haloed","handballed","handfed","handfeed","hardcoded","hardhearted","hardnosed","hared","harelipped","hasted","hatred","haunched","hawkeyed","hayseed","hayweed","hearsed","hearted","heartshaped","heavenlyminded","heavyfooted","heavyhearted","heed","heired","heisted","helicoptered","helmed","helmeted","hemagglutinated","hemolyzed","hempseed","hempweed","heparinised","heparinized","herbed","highheeled","highminded","highpriced","highspeed","highspirited","hilled","hipped","hispanicised","hocked","hoed","hogweed","holstered","homaged","hoodooed","hoofed","hooknosed","hooved","horned","horrified","horseshoed","horseweed","hotbed","hotblooded","hothearted","hotted","hottempered","hued","humansized","humidified","humped","hundred","hutched","hyperinflated","hyperpigmented","hyperstimulated","hypertrophied","hyphened","hypophysectomised","hypophysectomized","hypopigmented","hypostatised","hysterectomized","iconified","iconised","iconized","ideologised","illbred","illconceived","illdefined","illdisposed","illequipped","illfated","illfavored","illfavoured","illflavored","illfurnished","illhumored","illhumoured","illimited","illmannered","illnatured","illomened","illproportioned","illqualified","illscented","illtempered","illumed","illusioned","imbed","imbossed","imbued","immatured","impassioned","impenetrated","imperfected","imperialised","imperturbed","impowered","imputed","inarticulated","inbred","inbreed","incapsulated","incased","incrustated","incrusted","indebted","indeed","indemnified","indentured","indigested","indisposed","inexperienced","infrared","intensified","intentioned","interbedded","interbred","interbreed","interluded","introverted","inured","inventoried","iodinated","iodised","irked","ironfisted","ironweed","itchweed","ivied","ivyweed","jagged","jellified","jerseyed","jetlagged","jetpropelled","jeweled","jewelled","jewelweed","jiggered","jimmyweed","jimsonweed","jointweed","joyweed","jungled","juried","justiceweed","justified","karstified","kerchiefed","kettleshaped","kibbled","kidneyshaped","kimonoed","kindhearted","kindred","kingsized","kirtled","knacked","knapweed","kneed","knobbed","knobweed","knopweed","knotweed","lakebed","lakeweed","lamed","lamellated","lanceshaped","lanceted","landbased","lapeled","lapelled","largehearted","lariated","lased","latticed","lauded","lavaged","lavendered","lawned","led","lefteyed","legitimatised","legitimatized","leisured","lensshaped","leveed","levied","lichened","lichenized","lidded","lifesized","lightfingered","lightfooted","lighthearted","lightminded","lightspeed","lignified","likeminded","lilylivered","limbed","linearised","linearized","linefeed","linseed","lionhearted","liquefied","liquified","lithified","liveried","lobbied","located","locoweed","longarmed","longhaired","longhorned","longlegged","longnecked","longsighted","longwinded","lopsided","loudmouthed","louvered","louvred","lowbred","lowpriced","lowspirited","lozenged","lunated","lyrated","lysinated","maced","macroaggregated","macrodissected","maculated","madweed","magnified","maidenweed","maladapted","maladjusted","malnourished","malrotated","maned","mannered","manuevered","manyhued","manyshaped","manysided","masted","mealymouthed","meanspirited","membered","membraned","metaled","metalized","metallised","metallized","metamerized","metathesized","meted","methylated","mettled","microbrecciated","microminiaturized","microstratified","middleaged","midsized","miffed","mildhearted","milkweed","miniskirted","misactivated","misaligned","mischiefed","misclassified","misdeed","misdemeaned","mismannered","misnomered","misproportioned","miswired","mitred","mitted","mittened","moneyed","monocled","mononucleated","monospaced","monotoned","monounsaturated","mortified","moseyed","motorised","motorized","moussed","moustached","muddied","mugweed","multiarmed","multibarreled","multibladed","multicelled","multichambered","multichanneled","multichannelled","multicoated","multidirected","multiengined","multifaceted","multilaminated","multilaned","multilayered","multilobed","multilobulated","multinucleated","multipronged","multisegmented","multisided","multispeed","multistemmed","multistoried","multitalented","multitoned","multitowered","multivalued","mummied","mummified","mustached","mustachioed","mutinied","myelinated","mystified","mythicised","naked","narcotised","narrowminded","natured","neaped","nearsighted","necrosed","nectared","need","needleshaped","newfangled","newlywed","nibbed","nimblewitted","nippled","nixed","nobled","noduled","noised","nonaccented","nonactivated","nonadsorbed","nonadulterated","nonaerated","nonaffiliated","nonaliased","nonalienated","nonaligned","nonarchived","nonarmored","nonassociated","nonattenuated","nonblackened","nonbreastfed","nonbrecciated","nonbuffered","nonbuttered","noncarbonated","noncarbonized","noncatalogued","noncatalyzed","noncategorized","noncertified","nonchlorinated","nonciliated","noncircumcised","noncivilized","nonclassified","noncoated","noncodified","noncoerced","noncommercialized","noncommissioned","noncompacted","noncompiled","noncomplicated","noncomposed","noncomputed","noncomputerized","nonconcerted","nonconditioned","nonconfirmed","noncongested","nonconjugated","noncooled","noncorrugated","noncoupled","noncreated","noncrowded","noncultured","noncurated","noncushioned","nondecoded","nondecomposed","nondedicated","nondeferred","nondeflated","nondegenerated","nondegraded","nondelegated","nondelimited","nondelineated","nondemarcated","nondeodorized","nondeployed","nonderivatized","nonderived","nondetached","nondetailed","nondifferentiated","nondigested","nondigitized","nondilapidated","nondilated","nondimensionalised","nondimensionalized","nondirected","nondisabled","nondisciplined","nondispersed","nondisputed","nondisqualified","nondisrupted","nondisseminated","nondissipated","nondissolved","nondistressed","nondistributed","nondiversified","nondiverted","nondocumented","nondomesticated","nondoped","nondrafted","nondrugged","nondubbed","nonducted","nonearthed","noneclipsed","nonedged","nonedited","nonelasticized","nonelectrified","nonelectroplated","nonelectroporated","nonelevated","noneliminated","nonelongated","nonembedded","nonembodied","nonemphasized","nonencapsulated","nonencoded","nonencrypted","nonendangered","nonengraved","nonenlarged","nonenriched","nonentangled","nonentrenched","nonepithelized","nonequilibrated","nonestablished","nonetched","nonethoxylated","nonethylated","nonetiolated","nonexaggerated","nonexcavated","nonexhausted","nonexperienced","nonexpired","nonfabricated","nonfalsified","nonfeathered","nonfeatured","nonfed","nonfederated","nonfeed","nonfenestrated","nonfertilized","nonfilamented","nonfinanced","nonfinished","nonfinned","nonfissured","nonflagellated","nonflagged","nonflared","nonflavored","nonfluidized","nonfluorinated","nonfluted","nonforested","nonformalized","nonformatted","nonfragmented","nonfragranced","nonfranchised","nonfreckled","nonfueled","nonfumigated","nonfunctionalized","nonfunded","nongalvanized","nongated","nongelatinized","nongendered","nongeneralized","nongenerated","nongifted","nonglazed","nonglucosated","nonglucosylated","nonglycerinated","nongraded","nongrounded","nonhalogenated","nonhandicapped","nonhospitalised","nonhospitalized","nonhydrated","nonincorporated","nonindexed","noninfected","noninfested","noninitialized","noninitiated","noninoculated","noninseminated","noninstitutionalized","noninsured","nonintensified","noninterlaced","noninterpreted","nonintroverted","noninvestigated","noninvolved","nonirrigated","nonisolated","nonisomerized","nonissued","nonitalicized","nonitemized","noniterated","nonjaded","nonlabelled","nonlaminated","nonlateralized","nonlayered","nonlegalized","nonlegislated","nonlesioned","nonlexicalized","nonliberated","nonlichenized","nonlighted","nonlignified","nonlimited","nonlinearized","nonlinked","nonlobed","nonlobotomized","nonlocalized","nonlysed","nonmachined","nonmalnourished","nonmandated","nonmarginalized","nonmassaged","nonmatriculated","nonmatted","nonmatured","nonmechanized","nonmedicated","nonmedullated","nonmentioned","nonmetabolized","nonmetallized","nonmetastasized","nonmetered","nonmethoxylated","nonmilled","nonmineralized","nonmirrored","nonmodeled","nonmoderated","nonmodified","nonmonetized","nonmonitored","nonmortgaged","nonmotorized","nonmottled","nonmounted","nonmultithreaded","nonmutilated","nonmyelinated","nonnormalized","nonnucleated","nonobjectified","nonobligated","nonoccupied","nonoiled","nonopinionated","nonoxygenated","nonpaginated","nonpaired","nonparalyzed","nonparameterized","nonparasitized","nonpasteurized","nonpatterned","nonphased","nonphosphatized","nonphosphorized","nonpierced","nonpigmented","nonpiloted","nonpipelined","nonpitted","nonplussed","nonpuffed","nonrandomized","nonrated","nonrefined","nonregistered","nonregulated","nonrelated","nonretarded","nonsacred","nonsalaried","nonsanctioned","nonsaturated","nonscented","nonscheduled","nonseasoned","nonsecluded","nonsegmented","nonsegregated","nonselected","nonsolidified","nonspecialized","nonspored","nonstandardised","nonstandardized","nonstratified","nonstressed","nonstriated","nonstriped","nonstructured","nonstylised","nonstylized","nonsubmerged","nonsubscripted","nonsubsidised","nonsubsidized","nonsubstituted","nonsyndicated","nonsynthesised","nontabulated","nontalented","nonthreaded","nontinted","nontolerated","nontranslated","nontunnelled","nonunified","nonunionised","nonupholstered","nonutilised","nonutilized","nonvalued","nonvaried","nonverbalized","nonvitrified","nonvolatilised","nonvolatilized","normed","nosebleed","notated","notified","nuanced","nullified","numerated","oarweed","objectified","obliqued","obtunded","occupied","octupled","odored","oilseed","oinked","oldfashioned","onesided","oophorectomized","opaqued","openhearted","openminded","openmouthed","opiated","opinionated","oracled","oreweed","ossified","outbreed","outmoded","outrigged","outriggered","outsized","outskated","outspeed","outtopped","outtrumped","outvoiced","outweed","ovated","overadorned","overaged","overalled","overassured","overbred","overbreed","overcomplicated","overdamped","overdetailed","overdiversified","overdyed","overequipped","overfatigued","overfed","overfeed","overindebted","overintensified","overinventoried","overmagnified","overmodified","overpreoccupied","overprivileged","overproportionated","overqualified","overseed","oversexed","oversimplified","oversized","oversophisticated","overstudied","oversulfated","ovicelled","ovoidshaped","ozonated","pacified","packeted","palatalized","paled","palsied","paned","panicled","parabled","parallelepiped","parallelized","parallelopiped","parenthesised","parodied","parqueted","passioned","paunched","pauperised","pedigreed","pedimented","pedunculated","pegged","peglegged","penanced","pencilshaped","permineralized","personified","petrified","photodissociated","photoduplicated","photoed","photoinduced","photolysed","photolyzed","pied","pigeoned","pigtailed","pigweed","pilastered","pillared","pilloried","pimpled","pinealectomised","pinealectomized","pinfeathered","pinnacled","pinstriped","pixellated","pixilated","pixillated","plainclothed","plantarflexed","pled","plumaged","pocked","pokeweed","polychlorinated","polyunsaturated","ponytailed","pooched","poorspirited","popeyed","poppyseed","porcelainized","porched","poshed","pottered","poxed","preachified","precertified","preclassified","preconized","preinoculated","premed","prenotified","preoccupied","preposed","prequalified","preshaped","presignified","prespecified","prettified","pried","principled","proceed","prophesied","propounded","prosed","protonated","proudhearted","proxied","pulpified","pumpkinseed","puppied","purebred","pured","pureed","purified","pustuled","putrefied","pyjamaed","quadruped","qualified","quantified","quantised","quantized","quarried","queried","questoned","quicktempered","quickwitted","quiesced","quietened","quizzified","racemed","radiosensitised","ragweed","raindrenched","ramped","rapeseed","rarefied","rarified","ratified","razoredged","reaccelerated","reaccompanied","reachieved","reacknowledged","readdicted","readied","reamplified","reannealed","reassociated","rebadged","rebiopsied","recabled","recategorised","receipted","recentred","recertified","rechoreographed","reclarified","reclassified","reconferred","recrystalized","rectified","recursed","red","redblooded","redefied","redenied","rednecked","redshifted","redweed","redyed","reed","reembodied","reenlighted","refeed","refereed","reflexed","refortified","refronted","refuged","reglorified","reimpregnated","reinitialized","rejustified","related","reliquefied","remedied","remodified","remonetized","remythologized","renotified","renullified","renumerated","reoccupied","repacified","repurified","reputed","requalified","rescinded","reseed","reshoed","resolidified","resorbed","respecified","restudied","retabulated","reticulated","retinted","retreed","retroacted","reunified","reverified","revested","revivified","rewed","ridgepoled","riffled","rightminded","rigidified","rinded","riped","rited","ritualised","riverbed","rivered","roached","roadbed","robotised","robotized","romanized","rosetted","rosined","roughhearted","rubied","ruddied","runcinated","russeted","sabled","sabred","sabretoothed","sacheted","sacred","saddlebred","sainted","salaried","samoyed","sanctified","satellited","savvied","sawtoothed","scandalled","scarified","scarped","sceptred","scissored","screed","screwshaped","scrupled","sculked","scurried","scuttled","seabed","seaweed","seed","seedbed","selfassured","selforganized","semicivilized","semidetached","semidisassembled","semidomesticated","semipetrified","semipronated","semirefined","semivitrified","sentineled","sepaled","sepalled","sequinned","sexed","shagged","shaggycoated","shaggyhaired","shaled","shammed","sharpangled","sharpclawed","sharpcornered","sharpeared","sharpedged","sharpeyed","sharpflavored","sharplimbed","sharpnosed","sharpsighted","sharptailed","sharptongued","sharptoothed","sharpwitted","sharpworded","shed","shellbed","shieldshaped","shimmied","shinned","shirted","shirtsleeved","shoed","shortbeaked","shortbilled","shortbodied","shorthaired","shortlegged","shortlimbed","shortnecked","shortnosed","shortsighted","shortsleeved","shortsnouted","shortstaffed","shorttailed","shorttempered","shorttoed","shorttongued","shortwinded","shortwinged","shotted","shred","shrewsized","shrined","shrinkproofed","sickbed","sickleshaped","sickleweed","signalised","signified","silicified","siliconized","silkweed","siltsized","silvertongued","simpleminded","simplified","singlebarreled","singlebarrelled","singlebed","singlebladed","singlebreasted","singlecelled","singlefooted","singlelayered","singleminded","singleseeded","singleshelled","singlestranded","singlevalued","sissified","sistered","sixgilled","sixmembered","sixsided","sixstoried","skulled","slickered","slipcased","slowpaced","slowwitted","slurried","smallminded","smoothened","smoothtongued","snaggletoothed","snouted","snowballed","snowcapped","snowshed","snowshoed","snubnosed","so-called","sofabed","softhearted","sogged","soled","solidified","soliped","sorbed","souled","spearshaped","specified","spectacled","sped","speeched","speechified","speed","spied","spiffied","spindleshaped","spiritualised","spirted","splayfooted","spoonfed","spoonfeed","spoonshaped","spreadeagled","squarejawed","squareshaped","squareshouldered","squaretoed","squeegeed","staled","starshaped","starspangled","starstudded","statechartered","statesponsored","statued","steadied","steampowered","steed","steelhearted","steepled","sterned","stiffnecked","stilettoed","stimied","stinkweed","stirrupshaped","stockinged","storeyed","storied","stouthearted","straitlaced","stratified","strawberryflavored","streambed","stressinduced","stretchered","strictured","strongbodied","strongboned","strongflavored","stronghearted","stronglimbed","strongminded","strongscented","strongwilled","stubbled","studied","stultified","stupefied","styed","stymied","subclassified","subcommissioned","subminiaturised","subsaturated","subulated","suburbanised","suburbanized","suburbed","succeed","sueded","sugarrelated","sulfurized","sunbed","superhardened","superinfected","supersimplified","surefooted","sweetscented","swifted","swordshaped","syllabified","syphilized","tabularized","talented","tarpapered","tautomerized","teated","teed","teenaged","teetotaled","tenderhearted","tentacled","tenured","termed","ternated","testbed","testified","theatricalised","theatricalized","themed","thicketed","thickskinned","thickwalled","thighed","thimbled","thimblewitted","thonged","thoroughbred","thralled","threated","throated","throughbred","thyroidectomised","thyroidectomized","tiaraed","ticktocked","tidied","tightassed","tightfisted","tightlipped","timehonoured","tindered","tined","tinselled","tippytoed","tiptoed","titled","toed","tomahawked","tonged","toolshed","toothplated","toplighted","torchlighted","toughhearted","traditionalized","trajected","tranced","transgendered","transliterated","translocated","transmogrified","treadled","treed","treelined","tressed","trialled","triangled","trifoliated","trifoliolated","trilobed","trucklebed","truehearted","trumpetshaped","trumpetweed","tuberculated","tumbleweed","tunnelshaped","turbaned","turreted","turtlenecked","tuskshaped","tweed","twigged","typified","ulcered","ultracivilised","ultracivilized","ultracooled","ultradignified","ultradispersed","ultrafiltered","ultrared","ultrasimplified","ultrasophisticated","unabandoned","unabashed","unabbreviated","unabetted","unabolished","unaborted","unabraded","unabridged","unabsolved","unabsorbed","unaccelerated","unaccented","unaccentuated","unacclimatised","unacclimatized","unaccompanied","unaccomplished","unaccosted","unaccredited","unaccrued","unaccumulated","unaccustomed","unacidulated","unacquainted","unacquitted","unactivated","unactuated","unadapted","unaddicted","unadjourned","unadjudicated","unadjusted","unadmonished","unadopted","unadored","unadorned","unadsorbed","unadulterated","unadvertised","unaerated","unaffiliated","unaggregated","unagitated","unaimed","unaired","unaliased","unalienated","unaligned","unallocated","unalloyed","unalphabetized","unamassed","unamortized","unamplified","unanaesthetised","unanaesthetized","unaneled","unanesthetised","unanesthetized","unangered","unannealed","unannexed","unannihilated","unannotated","unanointed","unanticipated","unappareled","unappendaged","unapportioned","unapprenticed","unapproached","unappropriated","unarbitrated","unarched","unarchived","unarmored","unarmoured","unarticulated","unascertained","unashamed","unaspirated","unassembled","unasserted","unassessed","unassociated","unassorted","unassuaged","unastonished","unastounded","unatoned","unattained","unattainted","unattenuated","unattributed","unauctioned","unaudited","unauthenticated","unautographed","unaverted","unawaked","unawakened","unawarded","unawed","unbaffled","unbaited","unbalconied","unbanded","unbanished","unbaptised","unbaptized","unbarreled","unbarrelled","unbattered","unbeaded","unbearded","unbeneficed","unbesotted","unbetrayed","unbetrothed","unbiased","unbiassed","unbigoted","unbilled","unblackened","unblanketed","unblasphemed","unblazoned","unblistered","unblockaded","unbloodied","unbodied","unbonded","unbothered","unbounded","unbracketed","unbranded","unbreaded","unbrewed","unbridged","unbridled","unbroached","unbudgeted","unbuffed","unbuffered","unburnished","unbutchered","unbuttered","uncached","uncaked","uncalcified","uncalibrated","uncamouflaged","uncamphorated","uncanceled","uncancelled","uncapitalized","uncarbonated","uncarpeted","uncased","uncashed","uncastrated","uncatalogued","uncatalysed","uncatalyzed","uncategorised","uncatered","uncaulked","uncelebrated","uncensored","uncensured","uncertified","unchambered","unchanneled","unchannelled","unchaperoned","uncharacterized","uncharted","unchartered","unchastened","unchastised","unchelated","uncherished","unchilled","unchristened","unchronicled","uncircumcised","uncircumscribed","uncited","uncivilised","uncivilized","unclarified","unclassed","unclassified","uncleaved","unclimbed","unclustered","uncluttered","uncoagulated","uncoded","uncodified","uncoerced","uncoined","uncollapsed","uncollated","uncolonised","uncolonized","uncolumned","uncombined","uncommented","uncommercialised","uncommercialized","uncommissioned","uncommitted","uncompacted","uncompartmentalized","uncompartmented","uncompensated","uncompiled","uncomplicated","uncompounded","uncomprehened","uncomputed","unconcealed","unconceded","unconcluded","uncondensed","unconditioned","unconfined","unconfirmed","uncongested","unconglomerated","uncongratulated","unconjugated","unconquered","unconsecrated","unconsoled","unconsolidated","unconstipated","unconstricted","unconstructed","unconsumed","uncontacted","uncontracted","uncontradicted","uncontrived","unconverted","unconveyed","unconvicted","uncooked","uncooled","uncoordinated","uncopyrighted","uncored","uncorrelated","uncorroborated","uncosted","uncounseled","uncounselled","uncounterfeited","uncoveted","uncrafted","uncramped","uncrannied","uncrazed","uncreamed","uncreased","uncreated","uncredentialled","uncredited","uncrested","uncrevassed","uncrippled","uncriticised","uncriticized","uncropped","uncrosslinked","uncrowded","uncrucified","uncrumbled","uncrystalized","uncrystallised","uncrystallized","uncubed","uncuddled","uncued","unculled","uncultivated","uncultured","uncupped","uncurated","uncurbed","uncurried","uncurtained","uncushioned","undamped","undampened","undappled","undarkened","undated","undaubed","undazzled","undeadened","undeafened","undebated","undebunked","undeceased","undecimalized","undeciphered","undecked","undeclared","undecomposed","undeconstructed","undedicated","undefeated","undeferred","undefied","undefined","undeflected","undefrauded","undefrayed","undegassed","undejected","undelegated","undeleted","undelimited","undelineated","undemented","undemolished","undemonstrated","undenatured","undenied","undented","undeodorized","undepicted","undeputized","underaged","underarmed","underassessed","underbred","underbudgeted","undercapitalised","undercapitalized","underdiagnosed","underdocumented","underequipped","underexploited","underexplored","underfed","underfeed","underfurnished","undergoverned","undergrazed","underinflated","underinsured","underinvested","underived","undermaintained","undermentioned","undermotivated","underperceived","underpowered","underprivileged","underqualified","underrehearsed","underresourced","underripened","undersaturated","undersexed","undersized","underspecified","understaffed","understocked","understressed","understudied","underutilised","underventilated","undescaled","undesignated","undetached","undetailed","undetained","undeteriorated","undeterred","undetonated","undevised","undevoted","undevoured","undiagnosed","undialed","undialysed","undialyzed","undiapered","undiffracted","undigested","undignified","undiluted","undiminished","undimmed","undipped","undirected","undisciplined","undiscouraged","undiscussed","undisfigured","undisguised","undisinfected","undismayed","undisposed","undisproved","undisputed","undisrupted","undissembled","undissipated","undissociated","undissolved","undistilled","undistorted","undistracted","undistributed","undisturbed","undiversified","undiverted","undivulged","undoctored","undocumented","undomesticated","undosed","undramatised","undrilled","undrugged","undubbed","unduplicated","uneclipsed","unedged","unedited","unejaculated","unejected","unelaborated","unelapsed","unelected","unelectrified","unelevated","unelongated","unelucidated","unemaciated","unemancipated","unemasculated","unembalmed","unembed","unembellished","unembodied","unemboldened","unemerged","unenacted","unencoded","unencrypted","unencumbered","unendangered","unendorsed","unenergized","unenfranchised","unengraved","unenhanced","unenlarged","unenlivened","unenraptured","unenriched","unentangled","unentitled","unentombed","unentranced","unentwined","unenumerated","unenveloped","unenvied","unequaled","unequalised","unequalized","unequalled","unequipped","unerased","unerected","uneroded","unerupted","unescorted","unestablished","unevaluated","unexaggerated","unexampled","unexcavated","unexceeded","unexcelled","unexecuted","unexerted","unexhausted","unexpensed","unexperienced","unexpired","unexploited","unexplored","unexposed","unexpurgated","unextinguished","unfabricated","unfaceted","unfanned","unfashioned","unfathered","unfathomed","unfattened","unfavored","unfavoured","unfazed","unfeathered","unfed","unfeigned","unfermented","unfertilised","unfertilized","unfilleted","unfiltered","unfinished","unflavored","unflavoured","unflawed","unfledged","unfleshed","unflurried","unflushed","unflustered","unfluted","unfocussed","unforested","unformatted","unformulated","unfortified","unfractionated","unfractured","unfragmented","unfrequented","unfretted","unfrosted","unfueled","unfunded","unfurnished","ungarbed","ungarmented","ungarnished","ungeared","ungerminated","ungifted","unglazed","ungoverned","ungraded","ungrasped","ungratified","ungroomed","ungrounded","ungrouped","ungummed","ungusseted","unhabituated","unhampered","unhandicapped","unhardened","unharvested","unhasped","unhatched","unheralded","unhindered","unhomogenised","unhomogenized","unhonored","unhonoured","unhooded","unhusked","unhyphenated","unified","unillustrated","unimpacted","unimpaired","unimpassioned","unimpeached","unimpelled","unimplemented","unimpregnated","unimprisoned","unimpugned","unincorporated","unincubated","unincumbered","unindemnified","unindexed","unindicted","unindorsed","uninduced","unindustrialised","unindustrialized","uninebriated","uninfected","uninflated","uninflected","uninhabited","uninhibited","uninitialised","uninitialized","uninitiated","uninoculated","uninseminated","uninsulated","uninsured","uninterpreted","unintimidated","unintoxicated","unintroverted","uninucleated","uninverted","uninvested","uninvolved","unissued","unjaundiced","unjointed","unjustified","unkeyed","unkindled","unlabelled","unlacquered","unlamented","unlaminated","unlarded","unlaureled","unlaurelled","unleaded","unleavened","unled","unlettered","unlicenced","unlighted","unlimbered","unlimited","unlined","unlipped","unliquidated","unlithified","unlittered","unliveried","unlobed","unlocalised","unlocalized","unlocated","unlogged","unlubricated","unmagnified","unmailed","unmaimed","unmaintained","unmalted","unmangled","unmanifested","unmanipulated","unmannered","unmanufactured","unmapped","unmarred","unmastered","unmatriculated","unmechanised","unmechanized","unmediated","unmedicated","unmentioned","unmerged","unmerited","unmetabolised","unmetabolized","unmetamorphosed","unmethylated","unmineralized","unmitigated","unmoderated","unmodernised","unmodernized","unmodified","unmodulated","unmolded","unmolested","unmonitored","unmortgaged","unmotivated","unmotorised","unmotorized","unmounted","unmutated","unmutilated","unmyelinated","unnaturalised","unnaturalized","unnotched","unnourished","unobligated","unobstructed","unoccupied","unoiled","unopposed","unoptimised","unordained","unorganised","unorganized","unoriented","unoriginated","unornamented","unoxidized","unoxygenated","unpacified","unpackaged","unpaired","unparalleled","unparallelled","unparasitized","unpardoned","unparodied","unpartitioned","unpasteurised","unpasteurized","unpatented","unpaved","unpedigreed","unpenetrated","unpenned","unperfected","unperjured","unpersonalised","unpersuaded","unperturbed","unperverted","unpestered","unphosphorylated","unphotographed","unpigmented","unpiloted","unpledged","unploughed","unplumbed","unpoised","unpolarized","unpoliced","unpolled","unpopulated","unposed","unpowered","unprecedented","unpredicted","unprejudiced","unpremeditated","unprescribed","unpressurised","unpressurized","unpriced","unprimed","unprincipled","unprivileged","unprized","unprocessed","unprofaned","unprofessed","unprohibited","unprompted","unpronounced","unproposed","unprospected","unproved","unpruned","unpublicised","unpublicized","unpublished","unpuckered","unpunctuated","unpurified","unqualified","unquantified","unquenched","unquoted","unranked","unrated","unratified","unrebuked","unreckoned","unrecompensed","unreconciled","unreconstructed","unrectified","unredeemed","unrefined","unrefreshed","unrefrigerated","unregarded","unregimented","unregistered","unregulated","unrehearsed","unrelated","unrelieved","unrelinquished","unrenewed","unrented","unrepealed","unreplicated","unreprimanded","unrequited","unrespected","unrestricted","unretained","unretarded","unrevised","unrevived","unrevoked","unrifled","unripened","unrivaled","unrivalled","unroasted","unroofed","unrounded","unruffled","unsalaried","unsalted","unsanctified","unsanctioned","unsanded","unsaponified","unsated","unsatiated","unsatisfied","unsaturated","unscaled","unscarred","unscathed","unscented","unscheduled","unschooled","unscreened","unscripted","unseamed","unseared","unseasoned","unseeded","unsegmented","unsegregated","unselected","unserviced","unsexed","unshamed","unshaped","unsharpened","unsheared","unshielded","unshifted","unshirted","unshoed","unshuttered","unsifted","unsighted","unsilenced","unsimplified","unsized","unskewed","unskinned","unslaked","unsliced","unsloped","unsmoothed","unsoiled","unsoldered","unsolicited","unsolved","unsophisticated","unsorted","unsourced","unsoured","unspaced","unspanned","unspecialised","unspecialized","unspecified","unspiced","unstaged","unstandardised","unstandardized","unstapled","unstarched","unstarred","unstated","unsteadied","unstemmed","unsterilised","unsterilized","unstickered","unstiffened","unstifled","unstigmatised","unstigmatized","unstilted","unstippled","unstipulated","unstirred","unstocked","unstoked","unstoppered","unstratified","unstressed","unstriped","unstructured","unstudied","unstumped","unsubdued","unsubmitted","unsubsidised","unsubsidized","unsubstantiated","unsubstituted","unsugared","unsummarized","unsupervised","unsuprised","unsurveyed","unswayed","unsweetened","unsyllabled","unsymmetrized","unsynchronised","unsynchronized","unsyncopated","unsyndicated","unsynthesized","unsystematized","untagged","untainted","untalented","untanned","untaped","untapered","untargeted","untarnished","untattooed","untelevised","untempered","untenanted","unterminated","untextured","unthickened","unthinned","unthrashed","unthreaded","unthrottled","unticketed","untiled","untilled","untilted","untimbered","untinged","untinned","untinted","untitled","untoasted","untoggled","untoothed","untopped","untoughened","untracked","untrammeled","untrammelled","untranscribed","untransduced","untransferred","untranslated","untransmitted","untraumatized","untraversed","untufted","untuned","untutored","unupgraded","unupholstered","unutilised","unutilized","unuttered","unvaccinated","unvacuumed","unvalidated","unvalued","unvandalized","unvaned","unvanquished","unvapourised","unvapourized","unvaried","unvariegated","unvarnished","unvented","unventilated","unverbalised","unverbalized","unverified","unversed","unvetted","unvictimized","unviolated","unvitrified","unvocalized","unvoiced","unwaged","unwarped","unwarranted","unwaxed","unweakened","unweaned","unwearied","unweathered","unwebbed","unwed","unwedded","unweeded","unweighted","unwelded","unwinterized","unwired","unwitnessed","unwonted","unwooded","unworshipped","unwounded","unzoned","uprated","uprighted","upsized","upswelled","vacuolated","valanced","valueoriented","varied","vascularised","vascularized","vasectomised","vaunted","vectorised","vectorized","vegged","verdured","verified","vermiculated","vernacularized","versified","verticillated","vesiculated","vied","vilified","virtualised","vitrified","vivified","volumed","vulcanised","wabbled","wafered","waisted","walleyed","wared","warmblooded","warmhearted","warted","waterbased","waterbed","watercooled","watersaturated","watershed","wavegenerated","waxweed","weakhearted","weakkneed","weakminded","wearied","weatherised","weatherstriped","webfooted","wedgeshaped","weed","weeviled","welladapted","welladjusted","wellbred","wellconducted","welldefined","welldisposed","welldocumented","wellequipped","wellestablished","wellfavored","wellfed","wellgrounded","wellintentioned","wellmannered","wellminded","wellorganised","wellrounded","wellshaped","wellstructured","whinged","whinnied","whiplashed","whiskered","wholehearted","whorled","widebased","wideeyed","widemeshed","widemouthed","widenecked","widespaced","wilded","wildered","wildeyed","willinghearted","windspeed","winterfed","winterfeed","winterised","wirehaired","wised","witchweed","woaded","wombed","wooded","woodshed","wooled","woolled","woollyhaired","woollystemmed","woolyhaired","woolyminded","wormholed","wormshaped","wrappered","wretched","wronghearted","ycleped","yolked","zincified","zinckified","zinkified","zombified"],Z=["arisen","awoken","reawoken","babysat","backslid","backslidden","beat","beaten","become","begun","bent","unbent","bet","bid","outbid","rebid","underbid","overbid","bidden","bitten","blown","bought","overbought","bound","unbound","rebound","broadcast","rebroadcast","broken","brought","browbeat","browbeaten","built","prebuilt","rebuilt","overbuilt","burnt","burst","bust","cast","miscast","recast","caught","chosen","clung","come","overcome","cost","crept","cut","undercut","recut","daydreamt","dealt","misdealt","redealt","disproven","done","predone","outdone","misdone","redone","overdone","undone","drawn","outdrawn","redrawn","overdrawn","dreamt","driven","outdriven","drunk","outdrunk","overdrunk","dug","dwelt","eaten","overeaten","fallen","felt","fit","refit","retrofit","flown","outflown","flung","forbidden","forecast","foregone","foreseen","foretold","forgiven","forgotten","forsaken","fought","outfought","found","frostbitten","frozen","unfrozen","given","gone","undergone","gotten","ground","reground","grown","outgrown","regrown","had","handwritten","heard","reheard","misheard","overheard","held","hewn","hidden","unhidden","hit","hung","rehung","overhung","unhung","hurt","inlaid","input","interwound","interwoven","jerry-built","kept","knelt","knit","reknit","unknit","known","laid","mislaid","relaid","overlaid","lain","underlain","leant","leapt","outleapt","learnt","unlearnt","relearnt","mislearnt","left","lent","let","lip-read","lit","relit","lost","made","premade","remade","meant","met","mown","offset","paid","prepaid","repaid","overpaid","partaken","proofread","proven","put","quick-frozen","quit","read","misread","reread","retread","rewaken","rid","ridden","outridden","overridden","risen","roughcast","run","outrun","rerun","overrun","rung","said","sand-cast","sat","outsat","sawn","seen","overseen","sent","resent","set","preset","reset","misset","sewn","resewn","oversewn","unsewn","shaken","shat","shaven","shit","shone","outshone","shorn","shot","outshot","overshot","shown","shrunk","preshrunk","shut","sight-read","slain","slept","outslept","overslept","slid","slit","slung","unslung","slunk","smelt","outsmelt","snuck","sold","undersold","presold","outsold","resold","oversold","sought","sown","spat","spelt","misspelt","spent","underspent","outspent","misspent","overspent","spilt","overspilt","spit","split","spoilt","spoken","outspoken","misspoken","overspoken","spread","sprung","spun","unspun","stolen","stood","understood","misunderstood","strewn","stricken","stridden","striven","struck","strung","unstrung","stuck","unstuck","stung","stunk","sublet","sunburnt","sung","outsung","sunk","sweat","swept","swollen","sworn","outsworn","swum","outswum","swung","taken","undertaken","mistaken","retaken","overtaken","taught","mistaught","retaught","telecast","test-driven","test-flown","thought","outthought","rethought","overthought","thrown","outthrown","overthrown","thrust","told","retold","torn","retorn","trod","trodden","typecast","typeset","upheld","upset","waylaid","wept","wet","rewet","withdrawn","withheld","withstood","woken","won","rewon","worn","reworn","wound","rewound","overwound","unwound","woven","rewoven","unwoven","written","typewritten","underwritten","outwritten","miswritten","rewritten","overwritten","wrung"],{matchRegularParticiples:ee,getWords:de}=e.languageProcessing,{precedenceException:ne,directPrecedenceException:te,values:ie}=e.languageProcessing,re=ie.Clause;function ae(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}function ue(e,d=!1,n="",t=""){let i,r;return i="id"===t?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+n+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+n+"<>",r=d?"($|((?="+i+"]))|((['‘’‛`])("+i+"])))":"($|("+i+"])|((['‘’‛`])("+i+"])))","(^|"+i+"'‘’‛`])"+e+r}const oe=new Set([" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"]),se=function(e){return oe.has(e)};const le=function(e,d){let n=[];return(0,X.forEach)(e,(function(e){(function(e,d){e=e.toLocaleLowerCase(),d=d.toLocaleLowerCase();const n=ue((0,X.escapeRegExp)(e));let t=d.search(new RegExp(n,"ig"));if(-1===t)return!1;t>0&&(t+=1);const i=t+e.length,r=se(d[t-1])||0===t,a=se(d[i])||i===d.length;return r&&a})(e=ae(e),d)&&(n=n.concat(function(e,d){let n=0;const t=e.length;let i;const r=[];for(;(i=d.indexOf(e,n))>-1;){const a=se(d[i-1])||0===i,u=se(d[i+t])||d.length===i+t;a&&u&&r.push({index:i,match:e}),n=i+t}return r}(e,d)))})),n},{createRegexFromArray:ce,getClauses:he}=e.languageProcessing,pe={Clause:class extends re{constructor(e,d){super(e,d),this._participles=function(e){const d=de(e),n=[];return(0,X.forEach)(d,(function(e){(0!==ee(e,[/\w+ed($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi]).length||(0,X.includes)(Z,e))&&n.push(e)})),n}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getClauseText(),d=this.getParticiples().filter((d=>!((0,X.includes)(Y,d)||this.hasRidException(d)||te(e,d,N)||ne(e,d,V))));this.setPassive(d.length>0)}hasRidException(e){if("rid"===e){const e=["get","gets","getting","got","gotten"];return!(0,X.isEmpty)((0,X.intersection)(e,this.getAuxiliaries()))}return!1}},stopwords:G,auxiliaries:r,ingExclusions:["king","cling","ring","being","thing","something","anything"],regexes:{auxiliaryRegex:ce(r),stopCharacterRegex:/([:,]|('ll)|('ve))(?=[ \n\r\t'"+\-»«‹›<>])/gi,verbEndingInIngRegex:/\w+ing(?=$|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi},otherStopWordIndices:[]};function me(e){return pe.otherStopWordIndices=function(e){let d=e.match(pe.regexes.verbEndingInIngRegex)||[];return d=d.filter((e=>!(0,X.includes)(pe.ingExclusions,ae(e)))),le(d,e)}(e),he(e,pe)}var ge=n(429),fe=n.n(ge);const be=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],we=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],ye=(new RegExp("^("+be.join("|")+")$","i"),new RegExp("^("+we.join("|")+")$","i"),new RegExp("^<("+be.join("|")+")[^>]*?>$","i")),ve=new RegExp("^</("+be.join("|")+")[^>]*?>$","i"),ze=new RegExp("^<("+we.join("|")+")[^>]*>$","i"),ke=new RegExp("^</("+we.join("|")+")[^>]*>$","i"),Ee=/^<([^>\s/]+)[^>]*>$/,xe=/^<\/([^>\s]+)[^>]*>$/,Fe=/^[^<]+$/,Ae=/^<[^><]*$/,je=/<!--(.|[\r\n])*?-->/g;let qe,De=[];(0,X.memoize)((function(e){const d=[];let n=0,t="",i="",r="";return e=e.replace(je,""),De=[],qe=fe()((function(e){De.push(e)})),qe.addRule(Fe,"content"),qe.addRule(Ae,"greater-than-sign-content"),qe.addRule(ye,"block-start"),qe.addRule(ve,"block-end"),qe.addRule(ze,"inline-start"),qe.addRule(ke,"inline-end"),qe.addRule(Ee,"other-element-start"),qe.addRule(xe,"other-element-end"),qe.onText(e),qe.end(),(0,X.forEach)(De,(function(e,a){const u=De[a+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":u&&(0!==n||"block-start"!==u.type&&"block-end"!==u.type)?i+=e.src:(i+=e.src,d.push(i),t="",i="",r="");break;case"block-start":0!==n&&(""!==i.trim()&&d.push(i),i="",r=""),n++,t=e.src;break;case"block-end":n--,r=e.src,""!==t&&""!==r?d.push(t+i+r):""!==i.trim()&&d.push(i),t="",i="",r=""}n<0&&(n=0)})),d})),new RegExp("^<("+be.join("|")+")[^>]*?>","i"),new RegExp("</("+be.join("|")+")[^>]*?>$","i");function Be(e,d=!1,n="",t=!1){const i="("+(e=(0,X.map)(e,(function(e){return t&&(e=function(e){const d=[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];for(let n=0;n<d.length;n++)e=e.replace(d[n].letters,d[n].base);return e}(e)),e=function(e){return ae(e=e.replace(/(<([^>]+)>)/gi," "))}(function(e){return function(e){return e.replace(/\s/g," ")}(e=function(e){return e.replace(/\u2014/g," ")}(e=function(e){return e.replace(/ /g," ")}(e)))}(e)),d?e:ue(e,!0,n)}))).join(")|(")+")";return new RegExp(i,"ig")}class Re{constructor(e){this._hasRegex=!1,this._regex="",this._multiplier="",this.createRegex(e)}hasRegex(){return this._hasRegex}createRegex(e){(0,X.isUndefined)(e)||(0,X.isUndefined)(e.fragments)||(this._hasRegex=!0,this._regex=Be(e.fragments,!0),this._multiplier=e.countModifier)}getRegex(){return this._regex}countSyllables(e){return this._hasRegex?(e.match(this._regex)||[]).length*this._multiplier:0}}class Ce{constructor(e){this.countSteps=[],(0,X.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)}createSyllableCountSteps(e){(0,X.forEach)(e,function(e){this.countSteps.push(new Re(e))}.bind(this))}getAvailableSyllableCountSteps(){return this.countSteps}countSyllables(e){let d=0;return(0,X.forEach)(this.countSteps,(function(n){d+=n.countSyllables(e)})),d}}class Pe{constructor(e){this._location=e.location,this._fragment=e.word,this._syllables=e.syllables,this._regex=null,this._options=(0,X.pick)(e,["notFollowedBy","alsoFollowedBy"])}createRegex(){const e=this._options;let d,n=this._fragment;switch((0,X.isUndefined)(e.notFollowedBy)||(n+="(?!["+e.notFollowedBy.join("")+"])"),(0,X.isUndefined)(e.alsoFollowedBy)||(n+="["+e.alsoFollowedBy.join("")+"]?"),this._location){case"atBeginning":d="^"+n;break;case"atEnd":d=n+"$";break;case"atBeginningOrEnd":d="(^"+n+")|("+n+"$)";break;default:d=n}this._regex=new RegExp(d)}getRegex(){return null===this._regex&&this.createRegex(),this._regex}occursIn(e){return this.getRegex().test(e)}removeFrom(e){return e.replace(this._fragment," ")}getSyllables(){return this._syllables}}const $e=(0,X.memoize)((function(e){let d=[];const n=e.deviations;return d=(0,X.flatMap)(n.words.fragments,(function(e,d){return(0,X.map)(e,(function(e){return e.location=d,new Pe(e)}))})),d})),_e=function(e,d){let n=0;if(!(0,X.isUndefined)(d.deviations)&&!(0,X.isUndefined)(d.deviations.words)){if(!(0,X.isUndefined)(d.deviations.words.full)){const n=function(e,d){const n=d.deviations.words.full,t=(0,X.find)(n,(function(d){return d.word===e}));return(0,X.isUndefined)(t)?0:t.syllables}(e,d);if(0!==n)return n}if(!(0,X.isUndefined)(d.deviations.words.fragments)){const t=function(e,d){const n=$e(d);let t=e,i=0;return(0,X.forEach)(n,(function(e){e.occursIn(t)&&(t=e.removeFrom(t),i+=e.getSyllables())})),{word:t,syllableCount:i}}(e,d);e=t.word,n+=t.syllableCount}}return n+=function(e,d){let n=0;return n+=function(e,d){let n=0;const t=new RegExp("[^"+d.vowels+"]","ig"),i=e.split(t);return n+=(0,X.filter)(i,(function(e){return""!==e})).length,n}(e,d),(0,X.isUndefined)(d.deviations)||(0,X.isUndefined)(d.deviations.vowels)||(n+=function(e,d){return new Ce(d).countSyllables(e)}(e,d)),n}(e,d),n},{buildFormRule:Se,createRulesFromArrays:Le}=e.languageProcessing,We=(e,d,n,t)=>{const i=_e(e,Q);if(e.endsWith(d)){if(i<=1)return!1;const r=`i${d}`,a=e.endsWith(r),u=t.includes(e.slice(0,-r.length))||t.includes(e.slice(0,-d.length)),o=n.includes(e);if(u||i<=(a?3:2)&&!o)return!0}return!1},Ue=(e,d,n)=>e.endsWith(d)&&!n.includes(e),Te=function(e,d,n=[],t=[],i=Ue){return r=>!(r.length<d)&&i(r,e,n,t)},{buildFormRule:Ie,createRulesFromArrays:Oe}=e.languageProcessing,He=/([aeiouy])/g,Me=function(e){return(e.match(He)||[]).length>1&&e.length>4&&"ing"===e.substring(e.length-3,e.length)},{buildFormRule:Ne,createRulesFromArrays:Ve}=e.languageProcessing;function Je(e,d){for(const n of d)if(n.includes(e))return n[0];return null}function Ge(e,d){const n=d.verbs.regexVerb,t=Ne(e,Ve(d.nouns.regexNoun.singularize));if(!(0,X.isUndefined)(t))return Me(t)?Ne(t,Ve(n.ingFormToInfinitive)):t;const i=d.adjectives.regexAdjective,r=Ne(e,Ve(i.icallyToBase));if(!(0,X.isUndefined)(r))return r;const a=[],u=function(e,d){const n=Oe(d.sFormToInfinitive),t=Oe(d.ingFormToInfinitive),i=Oe(d.edFormToInfinitive);return function(e){return e.length>3&&"s"===e[e.length-1]}(e)?{infinitive:Ie(e,n),guessedForm:"s"}:Me(e)?{infinitive:Ie(e,t),guessedForm:"ing"}:function(e){const d=(e.match(He)||[]).length;return(d>1||1===d&&"e"!==e.substring(e.length-3,e.length-2))&&"ed"===e.substring(e.length-2,e.length)}(e)?{infinitive:Ie(e,i)||e,guessedForm:"ed"}:{infinitive:e,guessedForm:"inf"}}(e,n).infinitive;a.push(u);const o=function(e,d,n,t){if(Te("er",4,n.erExceptions,t,We)(e)){const n=Le(d.comparativeToBase);return{base:Se(e,n)||e,guessedForm:"er"}}if(Te("est",5,n.estExceptions,t,We)(e)){const n=Le(d.superlativeToBase);return{base:Se(e,n)||e,guessedForm:"est"}}if(Te("ly",5,n.lyExceptions)(e)){const n=Le(d.adverbToBase);return{base:Se(e,n),guessedForm:"ly"}}return{base:e,guessedForm:"base"}}(e,i,d.adjectives.stopAdjectives,d.adjectives.multiSyllableAdjectives?d.adjectives.multiSyllableAdjectives.list:[]).base;return a.push(o),function(e){const d=(0,X.flatten)(e);let n=d.pop();return d.forEach((e=>{const d=e.length-n.length;0===d?e.localeCompare(n)<0&&(n=e):d<0&&(n=e)})),n}(a)}const Ke=function(e,d){const n=d.nouns,t=Ne(e,Ve(n.regexNoun.possessiveToBase));let i,r;return(0,X.isUndefined)(t)?(i=e,r=Je(e,n.irregularNouns)||Je(e,d.adjectives.irregularAdjectives)||function(e,d){const n=function(e,d,n){let t;if(d.forEach((function(d){d.forEach((function(n){n===e&&(t=d)}))})),(0,X.isUndefined)(t)){const i=function(e,d){for(const e in d)d.hasOwnProperty&&(d[e]=new RegExp(d[e],"i"));return!0===d.sevenLetterHyphenPrefixes.test(e)?{normalizedWord:e.replace(d.sevenLetterHyphenPrefixes,""),prefix:e.substring(0,8)}:!0===d.sevenLetterPrefixes.test(e)?{normalizedWord:e.replace(d.sevenLetterPrefixes,""),prefix:e.substring(0,7)}:!0===d.fiveLetterHyphenPrefixes.test(e)?{normalizedWord:e.replace(d.fiveLetterHyphenPrefixes,""),prefix:e.substring(0,6)}:!0===d.fiveLetterPrefixes.test(e)?{normalizedWord:e.replace(d.fiveLetterPrefixes,""),prefix:e.substring(0,5)}:!0===d.fourLetterHyphenPrefixes.test(e)?{normalizedWord:e.replace(d.fourLetterHyphenPrefixes,""),prefix:e.substring(0,5)}:!0===d.fourLetterPrefixes.test(e)?{normalizedWord:e.replace(d.fourLetterPrefixes,""),prefix:e.substring(0,4)}:!0===d.threeLetterHyphenPrefixes.test(e)?{normalizedWord:e.replace(d.threeLetterHyphenPrefixes,""),prefix:e.substring(0,4)}:!0===d.threeLetterPrefixes.test(e)?{normalizedWord:e.replace(d.threeLetterPrefixes,""),prefix:e.substring(0,3)}:!0===d.twoLetterHyphenPrefixes.test(e)?{normalizedWord:e.replace(d.twoLetterHyphenPrefixes,""),prefix:e.substring(0,3)}:!0===d.twoLetterPrefixes.test(e)?{normalizedWord:e.replace(d.twoLetterPrefixes,""),prefix:e.substring(0,2)}:!0===d.oneLetterPrefixes.test(e)?{normalizedWord:e.replace(d.oneLetterPrefixes,""),prefix:e.substring(0,1)}:void 0}(e,n);(0,X.isUndefined)(i)||d.forEach((function(e){e.forEach((function(d){d===i.normalizedWord&&(t=e.map((function(e){return i.prefix.concat(e)})))}))}))}return t}(e,d.irregularVerbs,d.regexVerb.verbPrefixes);return(0,X.isUndefined)(n)?null:n[0]}(e,d.verbs)):(i=t,r=Je(t,n.irregularNouns)),r||Ge(i,d)},{baseStemmer:Qe}=e.languageProcessing;function Xe(e){const d=(0,X.get)(e.getData("morphology"),"en",!1);return d?e=>Ke(e,d):Qe}const{formatNumber:Ye}=e.helpers;function Ze(e){const d=206.835-1.015*e.averageWordsPerSentence-e.numberOfSyllables/e.numberOfWords*84.6;return Ye(d)}const{AbstractResearcher:ed}=e.languageProcessing;class dd extends ed{constructor(e){super(e),Object.assign(this.config,{language:"en",passiveConstructionType:"periphrastic",firstWordExceptions:d,functionWords:J,stopWords:G,transitionWords:u,twoPartTransitionWords:K,syllables:Q}),Object.assign(this.helpers,{getClauses:me,getStemmer:Xe,fleschReadingScore:Ze})}}})(),(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/he.js 0000644 00000061065 15174677550 0010440 0 ustar 00 (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>R});const r=window.yoast.analysis,n=["לכן","משום","בגלל","מפני","אחרי","לפני","חוץ","בזכות","כתוצאה","הודות","בשביל","למרות","בשל","ו","או","אבל","אולם","אך","אם","גם","רק","אכן","אלא","עדיין","כאשר","אז","לכן","כבר","לאחר","אפילו","אף","כך","כדי","על","עד","בשנת","כמו","שני","באופן","במהלך","במקום","וכן","בעיקר","מאז"," בינתיים","במקום","תחת","מתוך","מול","כגון","באמצעות","מכן","במשך","ואף","ועל","לעתים","בנוסף","בעקבות","לפי","בקרב","כי","ראשית","שנית","תחילה","לבסוף","הבא","ברם","ואילו","להפך","כנגד","מנגד","אמנם","אדרבא","לחילופין","בייחוד","במיוחד","ודאי","ואפילו","לו","אילו","לולא","אלמלא","אילולא","מאחורי","בקרבת","כאן","שם","כן","למעט","בלבד","מלבד","שוב","כלומר","דהיינו","לאמור","כאמור","כידוע","כש","אחר-כך","כעבור","לאחרונה","בטרם","עכשיו","עתה","מלכתחילה","למען","פן","לבל","שמא","עקב","לרגל","מפאת","בגין","בהתאם","לפיכך","למשל","לדוגמה","כדוגמת","לסיכום","בהתחשב","בקיצור","בקצרה","חרף"],s=n.concat(["כתוצאה מכך","כתוצאה מ","בעקבות ה","בעקבות זאת","לעומת זאת","אלא אם כן","בזמן ש","מתי ש","אף על פי ש","אף על פי","חוץ מ","אחרי ש","לפני ש","בעוד ש","בגלל ה","הודות ל","בניגוד ל","מפני ש","אלא ש","קודם כל","והחשוב ביותר","לפני כן","לאחר מכן","אחר כך","שלב ראשון","בניגוד לכך","ראוי לציין","יש להדגיש","ללא ספק","קל וחומר","אין ספק ש","לא כל שכן","בתנאי ש","בדומה ל","כשם ש","כפי ש","כך גם","יחסית ל","בהשוואה ל","לשם כך","במקביל ל","במידה ש","במקום ש","על יד","בסמוך ל","במרחק מה","אל אשר","מעבר ל","כמו כן","יתר על כן","זאת ועוד","נוסף על כך","פרט ל","למעלה מכך","פנים נוספות לעניין","יתרה מכך","אך ורק","מעבר לכך","זאת אומרת","במילים אחרות","רוצה לומר","הווה אומר","משתמע מזאת","הוא אשר","ללמד ש","פירושו של דבר","לשון אחרת","בהקשר זה","דרך אגב","כדי ש","כנזכר לעיל","בקשר לכך","במסגרת זו","עד ש","בשעה ש","כל זמן ש","לפי שעה","בזמן האחרון","עד כה","בו בזמן","כל אימת ש","על מנת","לתכלית זו","במטרה ל","מחמת ה","הואיל ו","מאחר ש","היות ש","כיוון ש","יען כי","באופן ש","בצורה ש","כמו ש","אם כן","אפוא","על כן","משום כך","עקב כך","בשל כך","אי לכך","נובע מכך","הודות לכך","כמו למשל","סיכומו של דבר","מכל האמור ניתן לומר","בסך הכול","בכל מקרה","בסיכום כולל","לטווח ארוך","על כל פנים","אף על פי כן","על אף ש","על אף זאת","אף ש","למרות זאת","בכל אופן","עם זאת","אם כי","גם אם"]),i=function(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}([].concat(["אחת","אחד","שתים","שנים","שתיים","שלש","שלשה","ארבע","ארבעה","חמש","חמשה","שש","ששה","שבע","שבעה","שמונה","שמונה","תשע","תשעה","עשר","עשרה","עשרים","מאה","אלף","מיליון","מילירד"],["ראשון","ראשונה","שני","שניה","שלישי","שלישית","רביעי","רביעית","חמישי","חמישית","ששי","ששית","שביעי","שביעית","שמיני","שמינית","תשיעי","תשיעית","עשירי","עשירית"],["אני","אנחנו","אנו","אתה","את","אתם","אתן","הוא","היא","הם","הן","שאני","שאתה","שהוא","ואני","שהיא"],["זה","זאת","זו","ההוא","ההיא","איזה","איזו","אלה","אלו","ההם","ההן","אילו","לזה","הזה","שזה"],["מה","מי","למה","כמה","האם","איפה","איזה","איזו","אילו","מתי","כאשר","איך","אי","אלמלא"],["כולם","כול","רוב","חלק","פחות","מעט","הרבה","רב","רבה","רבים","רבות","לפחות"],["עצמי","לעצמי","בעצמי","עצמך","לעצמך","בעצמך","עצמך","לעצמך","בעצמך","עצמו","עצמה","עצמנו","עצמכם","עצמכן","עצמם","עצמן"],["משהו","מישהו","מישהי","כלום"],["את","אותי","אותנו","אותך","אתכם","אתכן","אותו","אותה","אותם","אותן","שאת","של","שלי","שלנו","שלך","שלכם","שלכן","שלו","שלהם","שלהן","לי","לך","לו","לה","לנו","לכם","לכן","להם","להן","על","עליי","עלינו","עליך","עלייך","עליכם","עליכן","עליו","עליה","עליהם","עליהן","גבי","גבנו","גבך","גבה","גבנו","גבכם","גבכן","גבם","גבן","אל","אליי","אלינו","אליך","אלייך","אליכם","אליכן","אליו","אליה","אליהם","אליהן","ואל","עם","איתי","עימי","איתנו","עימנו","איתך","עימך","איתכם","איתכן","איתו","איתה","איתם","עימם","כמו","כמוני","כמונו","כמוך","כמוך","כמוכם","כמוכן","כמוהו","כמוה","כמוהם","כמוהן","כמוכם","כמוכן","לפני","לפניי","לפנינו","לפניך","לפנייך","לפניו","לפניה","לפניכם","לפניכן","לפניהם","לפניהן","ובכן","בן","בי","בנו","בך","בכם","בכן","בו","בה","בהם","בהן","בגלל","בגללי","בגללנו","בגללך","בגללכם","בגללכן","בגללו","בגללה","בגללם","בגללן","אחר","אחריי","אחרינו","אחריך","אחרייך","אחריכם","אחריכן","אחריו","אחריה","אחריהם","אחריהן","בשביל","בשבילי","בשבילנו","בשבילך","בשבילו","בשבילה","בשבילכם","בשבילכן","בשבילם","בשבילן","במקום","במקומי","במקומנו","במקומך","במקומו","במקומה","במקומכם","במקומכן","במקומם","במקומן","עד","אודות","אודותי","אודותנו","אודותך","אודותכם","אודותכן","אודותו","אודותה","אודותם","אודותן","מאחורי","מאחוריי","מאחורינו","מאחוריך","מאחורייך","מאחוריכם","מאחוריכן","מאחוריו","מאחוריה","מאחוריהם","מאחוריהן","אצל","אצלי","אצלנו","אצלך","אצלך","אצלכם","אצלכן","אצלו","אצלה","אצלם","אצלן","באמצעות","באמצעותי","באמצעותנו","באמצעותך","באמצעותכם","באמצעותכן","באמצעותו","באמצעותה","באמצעותם","באמצעותן","בזכות","בזכותי","בזכותנו","בזכותך","בזכותכם","בזכותכן","בזכותו","בזכותה","בזכותם","בזכותן","ביני","בינינו","בינך","ביניכם","ביניכן","בינו","בינה","ביניהם","ביניהן","בלעדיי","בלעדינו","בלעדיך","בלעדייך","בלעדיכם","בלעדיכן","בלעדיו","בלעדיה","בלעדיהם","בלעדיהן","בעד","בעדי","בעדנו","בעדך","בעדך","בעדכם","בעדכן","בעדו","בעדה","בעדם","בעדן","בעקבות","בעקבי","בעקביי","בעקבינו","בעקביך","בעקבייך","בעקביכם","בעקביכן","בעקביו","בעקביה","בעקביהם","בעקביהן","בפני","בפניי","בפנינו","בפניך","בפנייך","בפניכם","בפניכן","בפניו","בפניה","בפניהם","בפניהן","בקרב","בקרבי","בקרבנו","בקרבך","בקרבך","בקרבכם","בקרבכן","בקרבו","בקרבה","בקרבם","בקרבן","בשם","בשמי","בשמנו","בשמך","בשמך","בשמכם","בשמכן","בשמו","בשמה","בשמם","בשמן","בתוך","בתוכי","בתוכנו","בתוכך","בתוכך","בתוככם","בתוככן","בתוכו","בתוכה","בתוכם","בתוכן","כמוני","כמונו","כמוך","כמוך","כמוכם","כמוכן","כמוהו","כמוה","כמוהם","כמוהן","כלפי","כלפיי","כלפינו","כלפיך","כלפייך","כלפיכם","כלפיכן","כלפיו","כלפיה","כלפיהם","כלפיהן","כנגד","כנגדי","כנגדנו","כנגדך","כנגדך","כנגדכם","כנגדכן","כנגדו","כנגדה","כנגדם","כנגדן","לאורך","לאורכי","לאורכנו","לאורכך","לאורכך","לאורככם","לאורככן","לאורכו","לאורכה","לאורכם","לאורכן","לגבי","לגביי","לגבינו","לגביך","לגבייך","לגביכם","לגביכן","לגביו","לגביה","לגביהם","לגביהן","לדברי","לדבריי","לדברינו","לדבריך","לדברייך","לדבריכם","לדבריכן","לדבריו","לדבריה","לדבריהם","לדבריהן","ליד","לידי","לידנו","לידך","לידך","לידכם","לידכן","לידו","לידה","לידם","לידן","למען","למעני","למעננו","למענך","למענך","למענכם","למענכן","למענו","למענה","למענם","למענן","לפי","לפי","לפינו","לפיך","לפיך","לפיכם","לפיכן","לפיו","לפיהו","לפיה","לפיהם","לפיהן","לקראת","לקראתי","לקראתנו","לקראתך","לקראתך","לקראתכם","לקראתכן","לקראתו","לקראתה","לקראתם","לקראתן","לרוחב","לרוחבי","לרוחבנו","לרוחבך","לרוחבך","לרוחבכם","לרוחבכן","לרוחבו","לרוחבה","לרוחבם","לרוחבן","מול","מולי","מולנו","מולך","מולך","מולכם","מולכן","מולו","מולה","מולם","מולן","מן","ממני","ממנו","מאיתנו","ממך","ממך","מכם","מכן","ממנו","ממנה","מהם","מהן","מעל","מעליי","מעלינו","מעליך","מעלייך","מעליכם","מעליכן","מעליו","מעליה","מעליהם","מעליהן","מפני","מפניי","מפנינו","מפניך","מפנייך","מפניכם","מפניכן","מפניו","מפניה","מפניהם","מפניהן","מתחת","מתחתיי","מתחתינו","מתחתיך","מתחתייך","מתחתיכם","מתחתיכן","מתחתיו","מתחתיה","מתחתיהם","מתחתם","מתחתיהן","מתחתן","עבור","עבורי","עבורנו","עבורך","עבורכם","עבורכן","עבורו","עבורה","עבורם","עבורן","תחת","תחתיי","תחתינו","תחתיך","תחתייך","תחתיכם","תחתיכן","תחתיו","תחתיה","תחתיהם","תחתם","תחתיהן","תחתן","לעומת","לעומתי","לעומתנו","לעומתך","לעומתך","לעומתכם","לעומתכן","לעומתו","לעומתה","לעומתם","לעומתן","פי"],["אבל","אך","אלא","אם","אז","או","כדי","כי","אכן","אגב","אולם","אע״פ","אשר","בעוד","ו/או","יען","לולא","פן"],["אומר","אומרת","אומרים","אומרות","אמרתי","אמרנו","אמרת","אמרתם","אמרתן","אמר","אמרה","אמרו","נאמר","תאמר","תאמרי","תאמרו","תאמרנה","יאמר","תאמר","תאמרנה","יאמר","יאמרו","אמור","אמרי","אמורנה","מדבר","מדברת","מדברים","מדברות","דיברתי","דיברנו","דיברת","דיברתם","דיברתן","דיבר","דיברה","דיברו","אדבר","נדבר","תדבר","תדברי","תדברו","תדברנה","ידבר","ידברו","דבר","דברי","דברו","דברנה","לדבר","מבין","מבינה","מבינים","מבינות","הבנתי","הבינותי","הבנו","הבינונו","הבנת","הבינות","הבנתם","הבינותם","הבנתן","הבינותן","הבין","הבינה","הבינו","אבין","נבין","תבין","תביני","תבינו","תבנה","יבין","יבינו","תבינינה","הבן","הביני","הבנה","להבין","מאמין","מאמינה","מאמינים","מאמינות","האמנתי","האמנו","האמנת","האמנתם","האמנתן","האמין","האמינה","האמינו","אאמין","נאמין","תאמין","תאמיני","תאמינו","תאמנה","יאמין","יאמינו","האמן","האמיני","האמינו","האה","להאמין","יודע","יודעת","יודעים","יודעות","ידעתי","ידענו","ידעת","ידעתם","ידעתן","ידע","ידעה","ידעו","אדע","נדע","תדע","תדעי","תדעו","תדענה","דע","דעי","דעו","דענה","לדעת","שואל","שואלת","שואלים","שואלות","שאלתי","שאלנו","שאלת","שאלתם","שאלתן","שאל","שאלה","שאלו","אשאל","נשאל","תשאל","תשאלי","תשאלו","תשאלנה","ישאל","ישאלו","שאל","שאלי","שאלו","שאלנה","לשאול"],["מאוד","בהחלט","ביותר","נורא","לגמרי","די"],["להיות","היי","הייתי","יהיה","היית","הייתה","היינו","הייתם","הייתן","היו","אהיה","תהיה","תהיי","יהיה","נהיה","תהיו","תהיינה","יהיו","היינה","יש","שיש","הנה","אין","רוצה","רוצים","רציתי","רצה","יכול","יכולה","יכולים","נוכל","צריך","צריכה","חייב","לעשות","עושה","חושב","חשבתי","חושבת","נראה","לראות","רואה","בוא","הולך","ללכת","הולכת","הלכתי","הלכת","הלכת","הלך","הלכה","אלך","תלך","תלכי","ילך","לכי","הולכים","הולכות","הלכנו","הלכתם","הלכתן","הלכו","נלך","תלכו","תלכנה","ילכו","לכו","לכנה","מצטער","קרה","קורה","אוהב","שום","להשתמש","לנסות","מנסה","לוקח","אקח","לשים","נותן","נותנת","נותנים","נותנות","נת","תינתנו","נתת","נתתם","נתתן","נתן","נתנה","נתנו","אתן","ניתן","תיתן","תיתני","תיתנותיתנה","ייתןנתתתיתן","ייתנו","תיתנה","תן","תני","תנו","תנה","לתת"],["רק","כל","יותר","כאן","כך","כה","נכון","עכשיו","עכשיו","שם","קדימה","אף","עוד","באמת","ממש","אולי","כבר","פה","קצת","עדיין","בדיוק","שוב","תמיד","אפילו","בטח","מאוחר","לאחרונה","בקרוב","מיד","בחוץ","מהר","קשה","לאט","לרוב","כמעט","בדרך","כלל","לפעמים","יחד","לבד","אחורה","כאילו","גם","בערך","הכי","מלא","מלאה","מלאים","מלאות","טוב","טובה","טובים","טובות","חדש","חדשה","חדשים","חדשות","ישן","ישנה","ישנים","ישנות","צעיn","צעירה","צעירים","צעירות","גדול","גדולה","גדולים","גדולות","קל","קלה","קלים","קלות","מהיר","מהירה","מהירים","מהירות","רחוק","רחוקה","רחוקים","רחוקות","נחמד","נחמדה","נחמדים","נחמדות","מיוחד","מיוחדת","מיוחדים","מיוחדות","פשוט","פשוטה","פשוטים","פשוטות","קטן","קטנה","קטנים","קטנות","ארוך","ארוכה","ארוכים","ארוכות","קצר","קצרה","קצרים","קצרות","נמוך","נמוכה","נמוכים","נמוכות","שלם","שלמה","שלמים","שלמות","גבוה","גבוהה","גבוהים","גבוהות","חשוב","חשובה","חשובים","חשובות"],["ח","הו","וואו"],['ק"ג',"ג'","גרם",'סמ"ק','מ"ל',"ליטר","כף","כפית","כוס","כוסות"],["היום","אתמול","מחר","יום","ימים","שבוע","בשבוע","שבועות","שעה","שעות","דקה","דקות","רגע","רגעים","חודש","חודשים","שנה","שנים","השנה"],["דבר","פעם","פעמים","זמן","הזמן","הכל","בכל","אנשים","מקום","לעתים","מספר","אחוז","אחוזים"],["כן","לא","שלא","בסדר","תודה","בבקשה","שלום","אחוז","מר","אדוני","גברת","אדם"],n)),o=[["או","או"],["אין","אלא"],["לא","אלא"],["מצד אחד","מצד אחר"],["מחד גיסא","מאידך גיסא"],["ראשית","שנית"],["תחילה","לבסוף"],["משום ש","מפני ש"],["לכאורה","אך"]],f=["אחד","כמה","מעטים","אחת","שנים","שתים","שלשה","שלש","ארבעה","ארבע","חמשה","חמש","ששה","שש","שבעה","שבע","שמונה","שמונה","תשעה","תשע","עשרה","עשר","זה","זאת","אלה","אוה","היא","אלה","המה","הם","הנה"],c={recommendedLength:15},u=["ב","ה","ו","כ","ל","מ","ש"],a=new RegExp(`^(${u.join("|")})`);function x(e){const t=[];t.push(...u.map((t=>t+e)));const{stem:r,prefix:n}=function(e,t){let r=e,n="";const s=e.match(t);return s&&(n=s[0],r=e.slice(n.length)),{stem:r,prefix:n}}(e,a);return""!==n&&(t.push(r),t.push(...u.map((e=>e+r)))),t}const p=window.lodash,g=function(e,t){return t.some((t=>e.startsWith(t)))?e.slice(1):e},{baseStemmer:l}=r.languageProcessing;function d(e){const t=(0,p.get)(e.getData("morphology"),"he",!1);return t?e=>function(e,t){const r=t.dictionary;let n=r[e];if(n)return n;const s=g(e,t.prefixes);if(s!==e){if(n=r[s],n)return n;const e=g(s,t.prefixes);if(e!==s&&(n=r[e],n))return n}return e}(e,t):l}const h=["אכל","דבר","עבר","עמד","קרא","שמע","זכר","חזק","חטא","כתב","מלך","מצא","נגד","נפל","עבר","פקד","רום","שכב","אבד","אמן","גדל","חשב","יטב","כבד","לבש","קדש","קרב","שנא","שאל","שאר","שבע","שחת","שכן","שכח","שלך","שלם","בער","בקע","ברא","ברח","דבק","דרך","זעק","חלק","חרם","חרש","כעס","כשל","מאס","משל","נבט","נחל","נצח","סגר","סתר","ערך","פרה","פלא","פלל","פעל","פרד","פרש","צלח","צרר","קלל","קנה","רחק","רכב","רעע","שבע","שכל","שכם","אשם","בדל","בהל","בחן","בשל","גבה","גנב","זרק","חלם","חלף","חרב","חרד","חרף","חשך","חתם","טמן","טרף","כלם","כנע","כרע","משך","נהג","סמך","פחד","פרד","פרח","פשט","צדק","צמח","צפן","קדם","קצף","קשב","רבץ","רגז","רגל","רחב","רעש","רשע","שפל","שקט","ברר","גבר","געל","טעם","כזב","כחש","כנס","לחץ","מטר","מעט","מרד","משל","נגש","נזל","עלם","עצב","עשר","פגש","פרע","צבא","צמת","קסם","רבע","רגע","רעב","רעם","רקע","שאב","שבח","שחר","שכל","שכר","שען","שקף","שתל","שלכ","מלכ","דרכ","ערכ","חשכ","משכ","סמכ","אמנ","שכנ","בחנ","טמנ","צפנ","שענ","רומ","שלמ","חרמ","שכמ","אשמ","חלמ","חתמ","כלמ","קדמ","עלמ","טעמ","חלפ","חרפ","טרפ","קצפ","שקפ","רבצ","לחצ"],m=["אכל","אמר","לקח","נשא","נתן","קרא","שלח","שמע","אהב","אסף","כרת","כתב","מצא","פקד","שמר","שפט","אבד","אמן","גאל","דרש","הרג","חשב","טמא","יתר","לכד","ספר","עזב","קבץ","קבר","רדף","שרף","שאל","שבר","שחת","שכח","שלם","שפך","אסר","בחר","בלע","בקע","ברא","דרך","זרע","חלק","חנן","חרש","טהר","למד","מכר","משל","סגר","סתר","עזר","ערך","פרד","פרש","צפה","קנה","קרע","רחץ","רפא","שבע","שחט","שמר","תפש","תקע","אשם","בגד","בדל","בחן","גזל","גמל","גנב","הרס","זרק","חבא","חבש","חלץ","חצב","חקר","חרב","חתם","טמן","טרף","לקט","מנע","סלח","סמך","ספר","עצר","פגע","פלט","פרד","פרץ","פשט","צפן","קצר","קשר","רעש","רצח","שחק","שטף","אטם","אלם","ארג","בצע","גאל","גדר","גזז","גזר","גלח","גרע","דחה","דקר","חבל","חרש","חכה","חפר","חקק","חרץ","חשק","טבח","טבל","טבע","כבש","כלא","לחץ","מחץ","מסס","משל","נשא","סחר","סלל","סער","סקל","סתם","עטף","עכר","פרע","פרק","רמס","שאב","שאף","שבר","שכר","שלל","שלף","שקל","שקף","שתל","תכן","תמך","תעב","שפכ","דרכ","ערכ","סמכ","תמכ","נתנ","אמנ","חננ","בחנ","טמנ","צפנ","תכנ","שלמ","אשמ","חתמ","אטמ","אלמ","סתמ","אספ","רדפ","שרפ","טרפ","שטפ","עטפ","שאפ","שלפ","שקפ","קבצ","רחצ","חלצ","פרצ","חרצ","לחצ","מחצ"],y=["אכל","דבר","עבר","שלח","בקש","ברך","חזק","חטא","כתב","נצל","עבר","פקד","רום","שמר","אבד","אמן","בטח","גדל","הלל","חלל","חשב","טמא","יתר","כבד","כסה","כפר","לחם","לכד","נבא","נגע","סבב","ספר","קבץ","קדש","קרב","שמח","שבר","שכן","שלם","שרת","בער","בקע","ברא","חלק","חנן","טהר","כבס","למד","מרר","מהר","מלט","נכר","נצח","פלל","פרש","צפה","קלל","רחם","רחק","רנן","רפא","שמר","בדל","בצר","בשל","גרש","דמם","זמר","חבר","מאן","נשק","נתץ","נתק","ספר","ערב","פשט","צרף","קדם","קנא","קצר","קשר","רגל","שחק","בצע","ברר","בשר","גדר","גלל","דכא","דשן","חבל","חבק","חמם","חפש","חשק","כהן","כזב","כנס","מסס","מעט","מרר","נגן","נדב","נהל","נחש","נער","נפח","נפץ","נשך","סכך","סכן","סקל","עלל","ענג","עצב","פאר","פזר","פצה","פקח","פרק","פתה","קבל","קדד","קצץ","רמה","רצץ","רקע","שבח","שבר","שנה","שקר","שקף","תכן","תעב","ברכ","נשכ","סככ","אמנ","שכנ","חננ","רננ","מאנ","דשנ","כהנ","נגנ","סכנ","תכנ","רומ","לחמ","שלמ","רחמ","דממ","קדמ","חממ","צרפ","שקפ","קבצ","נתצ","קצצ","רצצ","נפצ"],{getWords:w}=r.languageProcessing,b=function(e,t,r){return t.some((t=>r.some((function(r){return new RegExp("^"+r.prefix+t+r.suffix+"$").test(e)}))))};function P(e){const t=w(e);for(const e of t){if(b(e,m,[{prefix:"(נ|אי|תי|הי|יי|ני|להי)",suffix:""},{prefix:"(תי|הי)",suffix:"(י|ו|נה)"},{prefix:"נ",suffix:"(ים|ת|ות|תי|ה|נו|תם|תן|ו)"},{prefix:"יי",suffix:"ו"}]))return!0;const t=[{prefix:"(מ|א|ת|י|נ)",suffix:""},{prefix:"תי",suffix:"נה"},{prefix:"מ",suffix:"(ת|ים|ות)"},{prefix:"ת",suffix:"(י|ו|נה)"},{prefix:"י",suffix:"ו"},{prefix:"",suffix:"(תי|ת|ה|נו|תם|תן|ו)"},{prefix:"",suffix:""}],r="ו";if(y.some((n=>t.some((function(t){return new RegExp("^"+t.prefix+n[0]+r+n[1]+n[2]+t.suffix+"$").test(e)})))))return!0;if(b(e,h,[{prefix:"(מו|הו|או|תו|יו|נו)",suffix:""},{prefix:"מו",suffix:"(ת|ים|ות)"},{prefix:"הו",suffix:"(תי|ת|ית|ה|נו|תם|תן|ו)"},{prefix:"תו",suffix:"(ו|נה|י)"},{prefix:"יו",suffix:"ו"}]))return!0}return!1}const{AbstractResearcher:S}=r.languageProcessing;class R extends S{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"he",passiveConstructionType:"morphological",firstWordExceptions:f,functionWords:i,transitionWords:s,twoPartTransitionWords:o,sentenceLength:c,prefixedFunctionWordsRegex:a}),Object.assign(this.helpers,{createBasicWordForms:x,getStemmer:d,isPassiveSentence:P})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/hu.js 0000644 00000154601 15174677550 0010457 0 ustar 00 (()=>{"use strict";var e={d:(a,n)=>{for(var l in n)e.o(n,l)&&!e.o(a,l)&&Object.defineProperty(a,l,{enumerable:!0,get:n[l]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},a={};e.r(a),e.d(a,{default:()=>_});const n=window.yoast.analysis,l=["ahányszor","ahelyett","ahogy","ahol","ahonnan","ahová","akár","akárcsak","akkor","alapvetően","alighogy","ám","ámbár","ámde","ameddig","amennyiben","amennyire","amennyiszer","amíg","amikor","amikorra","aminthogy","amióta","amire","annálfogva","annyira","avagy","azaz","azazhogy","azért","azonban","azonkívül","azután","bár","befejezésül","bizony","csakhogy","de","dehát","dehogy","egybehangzóan","egyidejűleg","egyöntetűen","egyöntetűleg","ekképpen","ellenben","először","előzőleg","elsősorban","ennélfogva","eredményeképp","eredményeképpen","és","eszerint","ezért","feltétlenül","főként","főleg","függetlenül","ha","habár","hanem","hányszor","harmadjára","harmadszor","hasonlóan","hasonlóképpen","hát","hirtelen","hirtelenjében","hisz","hiszen","hogy","hogyha","hol","holott","honnan","hová","így","illetőleg","illetve","immár","is","jóllehet","kár","kétségtelenül","kifejezetten","kiváltképp","következésképpen","legalábbis","legfőképp","maga","máskülönben","másodsorban","másodszor","meg","mégis","megkérdőjelezhetetlenül","megkérdőjelezhetően","mégpedig","mégsem","mennél","mennyiszer","merre","mert","merthogy","midőn","mielőtt","míg","mihelyt","miként","miképp","mikor","mikorra","mindamellett","mindazáltal","mindazonáltal","mindenekelőtt","minél","mint","mintha","minthogy","mióta","mire","miután","mivel","mivelhogy","nahát","nehogy","noha","nos","nyilvánvalóan","óh","összefoglalva","összehasonlításképp","összehasonlításképpen","pedig","például","plusz","s","sajna","satöbbi","se","sem","sőt","szintén","tagadhatatlanul","tehát","továbbá","tudniillik","úgy","ugyan","ugyanis","úgyhogy","vagy","vagyis","valamennyi","valamint","valóban","végezetül","végül","végülis","viszont","amerről","hiába","miközben","egyszersmind","csakugyan","különben","mialatt","mintegy","miszerint","nemde","ugye","vajon","semmint","hacsak","úgymint","mintsem"],k=l.concat(["a továbbiakban","abba, hogy","abban, hogy","abból, hogy","addig, amíg","addig, hogy","addig, míg","afelé, hogy","ahelyett, hogy","ahhoz, hogy","ahogy fent látható","ahogy írtam","ahogy megmutattam","ahogy megjegyeztem","akként, hogy","akkorra, hogy","amiatt, hogy","amellett, hogy","amint azt megjegyeztük","amint csak","amint láthatjuk","anélkül, hogy","annak érdekében, hogy","annak okáért","annyi, hogy","annyi, mint","annyira, hogy","annyira, mint","arra, hogy","arról, hogy","attól fogva, hogy","attól, hogy","avégett, hogy","avégre, hogy","az ellen, hogy","az első dolog","az első dolog, amit meg kell jegyezni","az iránt, hogy","azelőtt, hogy","azért, hogy","azonos módon","azok után, hogy","azon, hogy","azonkívül, hogy","azóta, hogy","azt követően","aztán pedig","azután, hogy","azzal a feltétellel, hogy","azzal, hogy","bár igaz lehet","ebből a célból","ebből az okból","előbb vagy utóbb","ennek eredményeként","ennek folytán","ennek megfelelően","éppen ellenkezőleg","éppen úgy","erre a célra","ezen felül","fenntartás nélkül","ha egyébként","ha egyszer","ha különben","ha ugyan","hasonló módon","hogy sem","hogy sem mint","hol hol","holott pedig","időről időre","igaz, hogy","így tehát","ilyen körülmények között","késedelem nélkül","kétség nélkül","más szóval","más szavakkal","másképpen fogalmazva","még akkor is","még ha","mert különben","mert tény, hogy","mind mind","mindaddig, amíg","mindezek után","mint sem hogy","nem is beszélve","nem különben","nem úgy, mint","oda, hogy","oly módon, hogy","sem hogy","szem előtt tartva","tény, hogy","úgy, hogy","úgy, mint","ugyanazon okból","ugyanolyan okból","olybá tűnik","egyszer s mindenkorra","akkor, amikor","azóta, mióta","attól kezdve, mióta","attól kezdve, hogy","akkorra, amikorra","akkor, ha","azóta, amióta","akkorra, amikorra","addigra, amikorra","akkor, hogyha","akkor, ha","úgy-ahogy","mintsem hogy"]),t=function(e){let a=e;return e.forEach((n=>{(n=n.split("-")).length>0&&n.filter((a=>!e.includes(a))).length>0&&(a=a.concat(n))})),a}([].concat(["a","az","egy"],["egy","kettő","három","négy","öt","hat","hét","nyolc","kilenc","tíz","tizenegy","tizenkettő","tizenhárom","tizennégy","tizenöt","tizenhat","tizenhét","tizennyolc","tizenkilenc","húsz","száz","ezer","tízezer","százezer","millió","félmillió","egymillió"],["első","második","harmadik","negyedik","ötödik","hatodik","hetedik","nyolcadik","kilencedik","tizedik","tizenegyedik","tizenkettedik","tizenharmadik","tizennegyedik","tizenötödik","tizenhatodik","tizenhetedik","tizennyolcadik","tizenkilencedik","huszadik","századik","ezredik","tízezredik","százezredik","milliomodik","egymilliomodik"],["én","engem","enyém","nekem","velem","értem","bennem","belém","belőlem","nálam","hozzám","tőlem","rajtam","rám","rólam","te","téged","tiéd","neked","veled","érted","benned","beléd","belőled","nálad","hozzád","tőled","rajtad","rád","rólad","ő","őt","övé","neki","vele","érte","benne","bele","belé","nála","hozzá","tőle","rajta","rá","róla","mi","minket","mienk","nekünk","velünk","értünk","bennünk","belénk","nálunk","hozzánk","tőlünk","rajtunk","ránk","rólunk","ti","titeket","tiétek","nektek","veletek","értetek","bennetek","belétek","nálatok","hozzátok","tőletek","rajtatok","rátok","rólatok","ők","őket","övék","nekik","velük","értük","bennük","beléjük","náluk","hozzájuk","tőlük","rajtuk","rájuk","róluk","Ön","Önt","Öné","Önnek","Önnel","Önért","Önben","Önbe","Ön","Önt","Öné","Önnek","Önnel","Önért","Önben","Önbe","Önből","Önnél","Önhöz","Öntől","Önön","Önre","Önről","Önök","Önöket","Önöké","Önöknek","Önökkel","Önökért","Önökben","Önökbe","Önökből","Önöknél","Önökhöz","Önöktől","Önökön","Önökre","Önökről","ez","emez","ugyanez","ezt","emezt","ugyanezt","ezé","emezé","ugyanezé","ennek","emennek","ugyanennek","ezzel","emezzel","ugyanezzel","ezért","emezért","ugyanezért","ebben","emebben","ugyanebben","ebbe","emebbe","ugyanebbe","ebből","emebből","ugyanebből","ennél","emennél","ugyanennél","ehhez","emehhez","ugyanehhez","ettől","emettől","ugyanettől","ezen","emezen","ugyanezen","erre","emerre","ugyanerre","erről","emerről","ugyanerről","eddig","emeddig","ugyaneddig","ekkor","emekkor","ugyanekkor","ezzé","emezzé","ugyanezzé","ekként","emekként","ugyanekként","az","amaz","ugyanaz","azt","amazt","ugyanazt","azé","amazé","ugyanazé","annak","amannak","ugyanannak","azzal","amazzal","ugyanazzal","azért","amazért","ugyanazért","abban","amabban","ugyanabban","abba","amabba","ugyanabba","abból","amabból","ugyanabból","annál","amannál","ugyanannál","ahhoz","amahhoz","ugyanahhoz","attól","amattól","ugyanattól","azon","amazon","ugyanazon","arra","amarra","ugyanarra","arról","amarról","ugyanarról","addig","amaddig","ugyanaddig","akkor","amakkor","ugyanakkor","azzá","amazzá","ugyanazzá","akként","amakként","ugyanakként","ilyen","emilyen","ugyanilyen","ilyet","emilyet","ugyanilyet","ilyennek","emilyennek","ugyanilyennek","ilyennel","emilyennel","ugyanilyennel","ilyenért","emilyenért","ugyanilyenért","ilyenben","emilyenben","ugyanilyenben","ilyenbe","emilyenbe","ugyanilyenbe","ilyenből","emilyenből","ugyanilyenből","ilyennél","emilyennél","ugyanilyennél","ilyenhez","emilyenhez","ugyanilyenhez","ilyentől","emilyentől","ugyanilyentől","ilyenen","emilyenen","ugyanilyenen","ilyenre","emilyenre","ugyanilyenre","ilyenről","emilyenről","ugyanilyenről","ilyenkor","emilyenkor","ugyanilyenkor","ilyenné","emilyenné","ugyanilyenné","olyan","amolyan","ugyanolyan","olyat","amolyat","ugyanolyat","olyannak","amolyannak","ugyanolyannak","olyannal","amolyannal","ugyanolyannal","olyanért","amolyanért","ugyanolyanért","olyanban","amolyanban","ugyanolyanban","olyanba","amolyanba","ugyanolyanba","olyanból","amolyanból","ugyanolyanból","olyannál","amolyannál","ugyanolyannál","olyanhoz","amolyanhoz","ugyanolyanhoz","olyantól","amolyantól","ugyanolyantól","olyanon","amolyanon","ugyanolyanon","olyanra","amolyanra","ugyanolyanra","olyanról","amolyanról","ugyanolyanról","olyankor","amolyankor","ugyanolyankor","olyanná","amolyanná","ugyanolyanná","ennyi","emennyi","ugyanennyi","ennyit","emennyit","ugyanennyit","ennyinek","emennyinek","ugyanennyinek","ennyivel","emennyivel","ugyanennyivel","ennyiért","emennyiért","ugyanennyiért","ennyiben","emennyiben","ugyanennyiben","ennyibe","emennyibe","ugyanennyibe","ennyiből","emennyiből","ugyanennyiből","ennyinél","emennyinél","ugyanennyinél","ennyihez","emennyihez","ugyanennyihez","ennyitől","emennyitől","ugyanennyitől","ennyin","emennyin","ugyanennyin","ennyire","emennyire","ugyenennyire","ennyiről","emennyiről","ugyanennyiről","ennyivé","emennyivé","ugyanennyivé","annyi","amannyi","ugyanannyi","annyit","amannyit","ugyanannyit","annyinak","amannyinak","ugyanannyinak","annyival","amannyival","ugyanannyival","annyiért","amannyiért","ugyanannyiért","annyiban","amannyiban","ugyanannyiban","annyiba","amannyiba","ugyanannyiba","annyiból","amannyiból","ugyanannyiból","annyinál","amannyinál","ugyanannyinál","annyihoz","amannyihoz","ugyanannyihoz","annyitól","amannyitól","ugyananyitól","annyin","amannyin","ugyanannyin","annyira","amannyira","ugyanannyira","annyiról","amannyiról","ugyanannyiról","annyivá","amannyivá","ugyanannyivá","így","emígy","ugyanígy","úgy","amúgy","ugyanúgy","itt","ott","ugyanitt","ogyanott","ide","oda","ugyanide","ugyanoda","amoda","emide","innen","onnan","ugyaninnen","ogyanonnan","amonnan","eminnen","eddig","addig","ezután","azután","ezelőtt","azelőtt","ugyaneddig","ugyanaddig","emeddig","amaddig","ekkora","ekkorát","ekkorának","ekkorával","ekkoráért","ekkorában","ekkorába","ekkorából","ekkoránál","ekkorához","ekkorától","ekkorán","ekkorára","ekkoráról","ekkorává","akkora","akkorát","akkorának","akkorával","akkoráért","akkorában","akkorába","akkorából","akkoránál","akkorához","akkorától","akkorán","akkorára","akkoráról","akkorává","ekképpen","akképpen","ezek","emezek","ugyanezek","ezeket","emezeket","ugyanezeket","ezeké","emezeké","ugyanezeké","ezeknek","emezeknek","ugyanezeknek","ezekkel","emezekkel","ugyanezekkel","ezekért","emezekért","ugyanezekért","ezekben","emezekben","ugyanezekben","ezekbe","emezekbe","ugyanezekbe","ezekből","emezekből","ugyanezekből","ezeknél","emezeknél","ugyanezeknél","ezekhez","emezekhez","ugyanezekhez","ezektől","emezektől","ugyanezektől","ezekre","emezekre","ugyanezekre","ezekről","emezekről","ugyanezekről","ezekig","emezekig","ugyanezekig","ezekké","emezekké","ugyanezekké","ezekként","emezekként","ugyanezekként","azok","amazok","ugyanazok","azokat","amazokat","ugyanazokat","azoké","amazoké","ugyanazoké","azoknak","amazoknak","ugyanazoknak","azokkal","amazokkal","ugyanazokkal","azokért","amazokért","ugyanazokért","azokban","amazokban","ugyanazokban","azokba","amazokba","ugyanazokba","azokból","amazokból","ugyanazokból","azoknál","amazoknál","ugyanazoknál","azokhoz","amazokhoz","ugyanazokhoz","azoktól","amazoktól","ugyanazoktól","azokra","amazokra","ugyanazokra","azokról","amazokról","ugyanazokról","azokig","amazokig","ugyanazokig","azokká","amazokká","ugyanazokká","ilyenek","emilyenek","ugyanilyenek","ilyeneket","emilyeneket","ugyanilyeneket","ilyeneknek","emilyeneknek","ugyanilyeneknek","ilyenekkel","emilyenekkel","ugyanilyenekkel","ilyenekért","emilyenekért","ugyanilyenekért","ilyenekben","emilyenekben","ugyanilyenekben","ilyenekbe","emilyenekbe","ugyanilyenekbe","ilyenekből","emilyenekből","ugyanilyenekből","ilyeneknél","emilyeneknél","ugyanilyeneknél","ilyenekhez","emilyenekhez","ugyanilyenekhez","ilyenektől","emilyenektől","ugyanilyenektől","ilyeneken","emilyeneken","ugyanilyeneken","ilyenekre","emilyenekre","ugyanilyenekre","ilyenekről","emilyenekről","ugyanilyenekről","ilyenekké","emilyenekké","ugyanilyenekké","olyanok","amolyanok","ugyanolyanok","olyanokat","amolyanokat","ugyanolyanokat","olyanoknak","amolyanoknak","ugyanolyanoknak","olyanokkal","amolyanokkal","ugyanolyanokkal","olyanokért","amolyanokért","ugyanolyanokért","olyanokban","amolyanokban","ugyanolyanokban","olyanokba","amolyanokba","ugyanolyanokba","olyanokból","amolyanokból","ugyanolyanokból","olyanoknál","amolyanoknál","ugyanolyanoknál","olyanokhoz","amolyanokhoz","ugyanolyanokhoz","olyanoktól","amolyanoktól","ugyanolyanoktól","olyanokon","amolyanokon","ugyanolyanokon","olyanokra","amolyanokra","ugyanolyanokra","olyanokról","amolyanokról","ugyanolyanokról","olyanokká","amolyanokká","ugyanolyanokká","aki","akit","akié","akinek","akivel","akiért","akiben","akibe","akiből","akinél","akihez","akitől","akin","akire","akiről","akivé","ami","amit","amié","aminek","amivel","amiért","amiben","amibe","amiből","aminél","amihez","amitől","amin","amire","amiről","amivé","amilyen","amilyet","amilyennek","amilyennel","amilyenért","amilyenben","amilyenbe","amilyenből","amilyennél","amilyenhez","amilyentől","amilyenen","amilyenre","amilyenről","amilyenné","amekkora","amekkorát","amekkorának","amekkorával","amekkoráért","amekkorában","amekkorába","amekkorából","amekkoránál","amekkorához","amekkorától","amekkorán","amekkorára","amekkoráról","amekkorává","amely","amelyet","amelynek","amellyel","amelyért","amelyben","amelybe","amelyből","amelynél","amelyhez","amelytől","amelyen","amelyre","amelyről","amellyé","ahány","ahányat","ahánynak","ahánnyal","ahányért","ahányban","ahányba","ahányból","ahánynál","ahányhoz","ahánytól","ahányan","ahányra","ahányról","ahánnyá","amennyi","amennyit","amennyinek","amennyivel","amennyiért","amennyiben","amennyibe","amennyiből","amennyinél","amennyihez","amennyitől","amennyin","amennyire","amennyiről","amennyivé","ahányadik","ahányadikat","ahányadiknak","ahányadika","ahányadikért","ahányadikban","ahányadikba","ahányadikból","ahányadiknál","ahányadikhoz","ahányadiktól","ahányadikon","ahányadikra","ahányadikról","ahányadikká","ahová","ahonnan","ahonnantól","amerre","amerről","ahogy","ahogyan","amiért","amikor","amikortól","amikorra","akik","akiket","akiké","akiknek","akikkel","akikért","akikben","akikbe","akikból","akiknél","akikhez","akiktől","akiken","akikre","akikről","akikké","amik","amiket","amiké","amiknek","amikkel","amikért","amikben","amikbe","amikból","amiknél","amikhez","amiktől","amiken","amikre","amikről","amikké","amilyenek","amilyeneket","amilyeneknek","amilyenekkel","amilyenekért","amilyenekben","amilyenekbe","amilyenekből","amilyeneknél","amilyenekhez","amilyenektől","amilyeneken","amilyenekre","amilyenekről","amekkorák","amekkorákat","amekkoráknak","amekkorákkal","amekkorákért","amekkorákban","amekkorákba","amekkorákból","amekkoráknál","amekkorákhoz","amekkoráktól","amekkorákon","amekkorákra","amekkorákról","amekkorákká","amelyek","amelyeket","amelyeknek","amelyekkel","amelyekért","amelyekben","amelyekbe","amelyekből","amelyeknél","amelyekhez","amelyektől","amelyeken","amelyekre","amelyekről","ahányak","ahányakat","ahányaknak","ahányakkal","ahányakért","ahányakban","ahányakba","ahányakból","ahányaknál","ahányakhoz","ahányaktól","ahányakon","ahányakra","ahányakról","ahányakká","amennyik","amennyiket","amennyiknek","amennyikkel","amennyikért","amennyikben","amennyikbe","amennyikből","amennyiknél","amennyikhez","amennyiktől","amennyiken","amennyikre","amennyikről","amennyikké","ahányadikak","ahányadikat","ahányadiknak","ahányadikkal","ahányadikért","ahányadikban","ahányadikba","ahányadikból","ahányadiknál","ahányadikhoz","ahányadiktól","ahányadikon","ahányadikra","ahányadikról","ahányadikká","amikért","egymás","egymást","egymásé","egymásnak","egymással","egymásért","egymásban","egymásba","egymásból","egymásnál","egymáshoz","egymástól","egymáson","egymásra","egymásról","egymássá"],["ki","kit","kié","kinek","kivel","kiért","kiben","kibe","kiből","kinél","kihez","kitől","kin","kire","kiről","kicsoda","kicsodát","kicsodának","kicsodával","kicsodáért","kicsodában","kicsodába","kicsodából","kicsodánál","kicsodához","kicsodától","kicsodán","kicsodára","kicsodáról","mi","mit","minek","mivel","miért","miben","mibe","miből","minél","mihez","mitől","min","mire","miről","micsoda","micsodát","micsodának","micsodával","micsodáért","micsodában","micsodába","micsodából","micsodánál","micsodához","micsodától","micsodán","micsodára","micsodáról","milyen","milyet","milyennek","milyennel","milyenért","milyenben","milyenbe","milyenből","milyennél","milyenhez","milyentől","milyenen","milyenre","milyenről","mekkora","mekkorát","mekkorának","mekkorával","mekkoráért","mekkorában","mekkorába","mekkorából","mekkoránál","mekkorához","mekkorától","mekkorán","mekkorára","mekkoráról","miféle","mifélét","mifélének","mifélével","miféléért","mifélében","mifélébe","miféléből","mifélénél","miféléhez","mifélétől","mifélén","mifélére","miféléről","melyik","melyiket","melyiknek","melyikkel","melyikért","melyikben","melyikbe","melyikből","melyiknél","melyikhez","melyiktől","melyiken","melyikre","melyikről","hány","hányat","hánynak","hánnyal","hányért","hányban","hányba","hányból","hánynál","hányhoz","hánytól","hányon","hányra","hányról","mennyi","mennyit","mennyinek","mennyivel","mennyiért","mennyiben","mennyibe","mennyiből","mennyinél","mennyihez","mennyitől","mennyin","mennyire","mennyiről","hányadik","hányadikat","hányadiknak","hányadikkal","hányadikért","hányadikban","hányadikba","hányadikból","hányadiknál","hányadikhoz","hányadiktól","hányadikon","hányadikra","hányadikról","hol","hová","honnan","honnantól","honnanról","merre","mettől","merről","meddig","meddigtől","meddigről","mióta","hogyan","miként","kik","kiket","kiknek","kikkel","kikért","kikben","kikbe","kikből","kiknél","kikhez","kiktől","kiken","kikre","kikről","kicsodák","kicsodákat","kicsodáknak","kicsodákkal","kicsodákért","kicsodákban","kicsodákba","kicsodákból","kicsodáknál","kicsodákhoz","kicsodáktól","kicsodákon","kicsodákra","kicsodáról","mik","miket","miknek","mikkel","mikért","mikben","mikbe","mikből","miknél","mikhez","miktől","miken","mikre","mikről","micsodák","micsodákat","micsodáknak","micsodákkal","micsodákért","micsodákban","micsodákba","micsodákból","micsodáknál","micsodákhoz","micsodáktól","micsodákon","micsodákra","micsodákról","milyenek","milyeneket","milyeneknek","milyenekkel","milyenekért","milyenekben","milyenekbe","milyenekből","milyeneknél","milyenekhez","milyenektől","milyeneken","milyenekre","milyenekről","mekkorák","mekkorákat","mekkoráknak","mekkorákkal","mekkorákért","mekkorákban","mekkorákba","mekkorákból","mekkoráknál","mekkorákhoz","mekkoráktól","mekkorákon","mekkorákra","mekkorákról","mifélék","miféléket","miféléknek","mifélékkel","mifélékért","mifélékben","mifélékbe","mifélékből","miféléknél","mifélékhez","miféléktől","miféléken","mifélékre","mifélékről","melyikek","melyikeket","melyikeknek","melyikekkel","melyikekért","melyikekben","melyikekbe","melyikekből","melyikeknél","melyikekhez","melyikektől","melyikeken","melyikekre","melyikekről","hányak","hányakat","hányaknak","hányakkal","hányakért","hányakban","hányakba","hányakból","hányaknál","hányakhoz","hányaktól","hányakon","hányakra","hányakról","mennyik","mennyiket","mennyiknek","mennyikkel","mennyikért","mennyikben","mennyikbe","mennyikből","mennyiknél","mennyikhez","mennyiktől","mennyiken","mennyikre","mennyikről","hányadikak","hányadikakat","hányadikaknak","hányadikakkal","hányadikakért","hányadikakban","hányadikakba","hányadikakból","hányadikaknál","hányadikakhoz","hányadikaktól","hányadikakon","hányadikakra","hányadikakról"],["sok","kevés","elég","jónéhány","néhány","rengeteg","töredék","temérdek","tengernyi","számtalan","számos","elegendő","kevéske","egy csomó","egy rakás","egy halom"],["magam","magamat","magamé","magamnak","magammal","magamért","magamban","magamba","magamból","magamnál","magamhoz","magamtól","magamon","magamra","magamról","magammá","magad","magadat","magadé","magadnak","magaddal","magadért","magadban","magadba","magadból","magadnál","magadhoz","magadtól","magadon","magadra","magadról","magaddá","maga","magát","magáé","magának","magával","magáért","magában","magába","magából","magánál","magához","magától","magán","magára","magáról","magává","magunk","magunkat","magunké","magunknak","magunkkal","magunkért","magunkban","magunkba","magunkból","magunknál","magunkhoz","magunktól","magunkon","magunkra","magunkról","magunkká","magatok","magatokat","magatoké","magatoknak","magatokkal","magatokért","magatokban","magatokba","magatokból","magatoknál","magatokhoz","magatoktól","magatokon","magatokra","magatokról","magatokká","maguk","magukat","maguké","maguknak","magukkal","magukért","magukban","magukba","magukból","maguknál","magukhoz","maguktól","magukon","magukra","magukról","magukká"],["valaki","valakit","valakié","valakinek","valakivel","valakiért","valakiben","valakibe","valakiből","valakinél","valakihez","valakitől","valakin","valakire","valakiről","valakivé","valami","valamit","valamié","valaminek","valamivel","valamiért","valamiben","valamibe","valamiből","valaminél","valamihez","valamitől","valamin","valamire","valamiről","valamivé","valamilyen","valamilyet","valamilyennek","valamilyennel","valamilyenért","valamilyenben","valamilyenbe","valamilyenből","valamilyennél","valamilyenhez","valamilyentől","valamilyenen","valamilyenre","valamilyenről","valaminő","valamelyes","valamelyest","valamekkora","valamekkorát","valamekkorának","valamekkorával","valamekkoráért","valamekkorában","valamekkorába","valamekkorából","valamekkoránál","valamekkorához","valamekkorától","valamekkorán","valamekkorára","valamekkoráról","valamekkorává","valamely","valamelyet","valamelynek","valamellyel","valamelyért","valamelyben","valamelybe","valamelyből","valamelynél","valamelyhez","valamelytől","valamelyen","valamelyre","valamelyről","valamellyé","valamelyik","valamelyiket","valemelyiknek","valamelyikkel","valamelyikért","valamelyikben","valamelyikbe","valamelyikből","valamelyiknél","valamelyikhez","valamelyiktől","valamelyiken","valamelyikre","valamelyikről","valamelyikké","valamiféle","valamifélét","valamifélének","valamifélével","valamiféléért","valamifélében","valamifélébe","valamiféléből","valamifélénél","valamiféléhez","valamifélétől","valamifélén","valamifélére","valamiféléről","valamennyi","valamennyit","valamennyié","valamennyinek","valamennyivel","valamennyiért","valamennyiben","valamennyibe","valamennyiből","valamennyinél","valamennyihez","valamennyitől","valamennyin","valamennyire","valamennyiről","valamennyivé","valahány","valahányat","valahánynak","valahánnyal","valahányért","valahányban","valahányba","valahányból","valahánynál","valahányhoz","valahánytól","valahányon","valahányra","valahányról","valahánnyá","némely","némelyet","némelynek","némelynél","némelyért","némelyben","némelybe","némelyből","némelynél","némelyhez","némelytől","némelyen","némelyre","némelyről","némi","némelyik","némelyiket","némelyiknek","némelyikkel","némelyikért","némelyikben","némelyikbe","némelyikből","némelyiknél","némelyikhez","némelyiktől","némelyiken","némelyikre","némelyikről","néminemű","néhány","néhányat","néhánynak","néhánnyal","néhányért","néhányban","néhányba","néhányból","néhánynál","néhányhoz","néhánytól","néhányon","néhányra","néhányról","valahol","valahová","valamerre","valahonnan","valamikor","valaha","valaha","valahogyan","valamiképpen","valamiért","néhol","néha","némelykor","némiképpen","némileg","mindenki","mindenféle","mindegyik","mindahány","mindenhol","mindenütt","mindenhová","mindenhonnan","mindenkor","mindenhogyan","mindenképpen","bárki","bármi","bármelyik","bármilyen","bármennyi","bárhol","bárhová","bárhonnan","bármikor","bármeddig","bárhogyan","akárki","akármi","akármelyik","akármilyen","akármennyi","akárhány","akárhol","akárhová","akárhonnan","akármikor","akárhogyan","senki","semmi","semmilyen","semennyi","sehány","sehol","sehová","sehonnan","semmikor","sehogy","semmiképp","valakik","valakiket","valakiké","valakiknek","valakikkel","valakikért","valakikben","valakikbe","valakikből","valakiknél","valakikhez","valakiktől","valakiken","valakikre","valakikről","valakikké","valamik","valamiket","valamiké","valamiknek","valamikkel","valamikért","valamikben","valamikbe","valamikből","valamiknél","valamikhez","valamiktől","valamiken","valamikre","valamikről","valamikké","valamilyenek","valamilyeneket","valamilyeneknek","valamilyenekkel","valamilyenekért","valamilyenekben","valamilyenekbe","valamilyenekből","valamilyeneknél","valamilyenekhez","valamilyenektől","valamilyeneken","valamilyenekre","valamilyenekről","valamilyenekké","valaminők","valamekkorák","valamekkorákat","valamekkoráknak","valamekkorákkal","valamekkorákért","valamekkorákban","valamekkorákba","valamekkorákból","valamekkoráknál","valamekkorákhoz","valamekkoráktól","valamekkorákon","valamekkorákra","valamekkorákról","valamelyek","valamelyeket","valamelyeknek","valamelyekkel","valamelyekért","valamelyekben","valamelyekbe","valamelyekből","valamelyeknél","valamelyekhez","valamelyektől","valamelyeken","valamelyekre","valamelyekről","valamelyekké","valamelyikek","valamelyikeket","valamelyikeknek","valamelyikekkel","valamelyikekért","valamelyikekben","valamelyikekbe","valamelyikekből","valamelyikeknél","valamelyikekhez","valamelyikektől","valamelyikeken","valamelyikekre","valamelyikekről","valamifélék","valamiféléket","valamiféléknek","valamifélékkel","valamifélékért","valamifélékben","valamifélékbe","valamifélékből","valamiféléknél","valamifélékhez","valamiféléktől","valamiféléken","valamifélékre","valamifélékről","valamennyik","valamennyiket","valamennyiknek","valamennyikkel","valamennyikért","valamennyikben","valamennyikbe","valamennyikből","valamennyiknél","valamennyikhez","valamennyiktől","valamennyiken","valamennyikre","valamennyikről","valahányak","valahányakat","valahányaknak","valahányakkal","valahányakért","valahányakban","valahányakba","valahányakból","valahányaknál","valahányakhoz","valahányaktól","valahányakon","valahányakra","valahányakról","némelyek","némelyeket","némelyeknek","némelyekkel","némelyekért","némelyekben","némelyekbe","némelyekből","némelyeknél","némelyekhez","némelyektől","némelyeken","némelyekre","némelyekről","némelyikek","némelyikeket","némelyikeknek","némelyikekkel","némelyikekért","némelyikekben","némelyikekbe","némelyikekből","némelyikeknél","némelyikekhez","némelyikektől","némelyikeken","némelyikekre","némelyikekről","néhányak","néhányakat","néhányaknak","néhányakkal","néhányakért","néhányakban","néhányakba","néhányakból","néhányaknál","néhányakhoz","néhányaktól","néhányakon","néhányakra","néhányakról"],["előtt","elé","elől","alatt","alá","alól","túl","alatt","belül","előtt","fogva","hosszat","múlva","óta","tájt","ellen","helyett","iránt","miatt","nélkül","részére","számára","végett","között"],["és","s","se","sem","vagy","is","de"],["mond","bejelent","megerősít","kijelent","javasol","említ","tájékoztat","értesít","kérdez","beszél","megkérdez","állít","elmagyaráz","magyaráz","gondol","hisz","megtárgyal","tárgyal","vitat","megvitat","ért","megért","elmond","elmesél","tud","megtud","megbeszél","megmond","megmagyaráz"],["alig","kissé","különösen","nagyon","teljesen","túl","túlságosan","kevésbé","nagyrészt","kicsit","picit","szörnyen","borzasztóan","iszonyatosan","irtó","irtózatosan","komolyan","súlyosan","könnyedén","nehezen"],["fog","volna","akar","bír","kell","kíván","látszik","lehet","tud","szabad","tetszik","méltóztatik","szokott"],["nagy","kicsi","gyors","lassú","jó","rossz","drága","olcsó","vastag","vékony","keskeny","széles","puha","hangos","halk","intelligens","buta","nedves","száraz","nehéz","könnyű","kemény","lágy","sekély","mély","gyönge","erős","gazdag","szegény","fiatal","öreg","hosszú","rövid","magas","alacsony","bőkezű","fukar","igaz","hamis","gyönyörű","csúnya","új","régi","boldog","szomorú","idős","gyenge","biztonságos","veszélyes","korán","későn","világos","sötét","nyitva","zárva","szoros","laza","teli","üres","sok","kevés","élő","halott","meleg","hideg","érdekes","unalmas","szerencsés","szerencsétlen","fontos","lényegtelen","messze","közel","tiszta","piszkos","kedves","gonosz","kellemes","kellemetlen","kiváló","borzalmas","normális","szép","nagyon","kicsit","gyorsan","lassan","jól","rosszul","drágán","olcsón","hangosan","halkan","nehezen","könnyen","gyengén","erősen","gazdagon","fiatalon","öreg","hosszan","röviden","magasan","alacsonyan","bőkezűen","gyönyörűen","csúnyán","boldogan","szomorúan","gyengéden","biztonságosan","veszélyesen","világosan","szorosan","lazán","sokan","kevesen","élve","melegen","hidegen","érdekesen","unalmasan","szerencsésen","szerencsétlenül","tisztán","piszkosan","kedvesen","gonoszan","kellemesen","kellemetlenül","kiválóan","borzalmasan","normálisan","szépen"],["ó","óh","jaj","a kutyafáját","a fenébe","a csudába","a francba","atyaég","atyavilág","azta","aztamindenit","juj","juhú","éljen","jé","hű","hú","ajjaj","pszt","csitt","hess","hé","ej","ejnye","na","nicsak","nocsak","natessék","nahát","rajta","hajrá","juhú","teringettét","nosza","uccu","csitt","kuss","dirr","durr"],["liter","l","deciliter","dl","milliliter","gramm","g","dekagramm","dkg","kilogramm","kg","milligramm","mg","tucat","centiliter","cl","méter","m","deciméter","dm","centiméter","cm","milliméter","mm","evőkanál","ek.","mokkáskanál","mk.","kávéskanál","kk.","gyermekkanál","gyk.","kávéscsésze","kcs.","teáscsésze","tcs.","csésze","csé.","bögre","bgr.","mélytányér","ujjnyi","csomag","gerezd","csokor"],["másodperc","perc","óra","nap","hét","hónap","év","évtized","évszázad","évezred","ma","holnap","tegnap","jövő héten","jövő hónapban","jövő évben","múlt héten","múlt hónapban","múlt évben","tavaly","jövőre","reggel","délben","este","éjszaka","hajnalban","délután","délelőtt"],["dolog","izé","valami","személy","ember","alkalom","eset","ügy","tárgy","valamicsoda","téma","ötlet"],["stb.","fél","harmad","negyed","ötöd","hatod","heted","nyolcad","kilenced","tized","egyharmad","egynegyed","egyötöd","egyhatod","egyheted","egynyolcad","egykilenced","egytized","század","ezred"],l)),r=[["nemcsak","hanem","is"],["ahogy","akkor"],["ahogy","azonnal"],["ahogy","azután"],["ahogy","máris"],["ahogy","nyomban"],["ahogy","tüstént"],["akkor","amikor"],["akkor","ha"],["akkor","hogy"],["akkor","hogyha"],["akkor","mikor"],["akkorra","amikorra"],["akkorra","mikorra"],["akkorra","mire"],["akkortól","amikor"],["akkortól","mikor"],["alighogy","máris"],["alighogy","nyomban"],["alighogy","tüstént"],["addig","ameddig"],["ameddig","addig"],["abba","hogy"],["abban","hogy"],["abból","hogy"],["addig","amíg"],["addig","hogy"],["addig","míg"],["afelé","hogy"],["ahelyett","hogy"],["ahhoz","hogy"],["akként","hogy"],["akkorra","hogy"],["amiatt","hogy"],["amellett","hogy"],["anélkül","hogy"],["annyi","hogy"],["annyi","mint"],["annyira","hogy"],["annyira","mint"],["arra","hogy"],["arról","hogy"],["attól fogva","hogy"],["attól","hogy"],["avégett","hogy"],["avégre","hogy"],["az ellen","hogy"],["az iránt","hogy"],["azelőtt","hogy"],["azért","hogy"],["azon","hogy"],["azonkívül","hogy"],["azóta","hogy"],["azután","hogy"],["azzal","hogy"],["hol","hol"],["igaz","hogy"],["mind","mind"],["nem úgy","mint"],["oly módon","hogy"],["inkább","semhogy"],["úgy","hogy"],["úgy","mint"],["vagy","vagy"],["se","se"],["sem","sem"],["is","is"],["akár","akár"],["is","meg"],["nem","hanem"],["egyrészt","másrészt"],["minél","annál"],["amíg","addig"],["amíg","addigra"],["amikor","akkor"],["akkor","amikor"],["amikor","aközben"],["amikor","azalatt"],["addigra","amikorra"],["amikorra","addigra"],["amikorra","akkorra"],["amint","akkor"],["amint","azonnal"],["amint","máris"],["amint","nyomban"],["amint","tüstént"],["amióta","attól kezdve"],["azóta","amióta"],["amióta","azóta"],["amire","addig"],["amire","addigra"],["azóta","hogy"],["ha","akkor"],["hogyha","akkor"],["is","is"],["azalatt","mialatt"],["mialatt","azalatt"],["mielőtt","azelőtt"],["azelőtt","mielőtt"],["mihelyt","azonnal"],["mihelyt","máris"],["mihelyt","nyomban"],["mihelyt","tüstént"],["mikor","akkor"],["mikor","aközben"],["mikor","azalatt"],["mikor","azután"],["mikorra","addigra"],["akkorra","mikorra"],["mikorra","akkorra"],["miközben","azalatt"],["mióta","attól kezdve"],["mire","addigra"],["miután","azután"],["attól kezdve","mióta"],["mióta","azóta"],["azóta","mióta"],["mire","addig"],["addigra","mire"],["azután","miután"],["nemcsak","hanem"],["sem","sem"],["vagy","vagy"]],i=["az","a","egy","nulla","egy","kettő","kettő","három","négy","öt","hat","hét","nyolc","kilenc","tíz","száz","ezer","és","se","sem","vagy","de","aztán","ezután","azután","majd","ezek után","nagyon","kicsit","nagy","kevés","sok","sokan","kevesen","jól","ez","ezek","az","azok","néhány","aki","ami","én","mi","ő","ők","engem","nekem","velem","nálam","hozzám","tőlem","rajtam","rám","rólam","téged","neked","veled","érted","nálad","hozzád","tőled","rólad","őt","neki","vele","érte","nála","hozzá","tőle","rajta","rá","róla","minket","nekünk","velünk","értünk","nálunk","hozzánk","tőlünk","rólunk","titeket","nektek","veletek","értetek","nálatok","hozzátok","tőletek","rajtatok","rátok","rólatok","őket","nekik","velük","értük","bennük","náluk","hozzájuk","tőlük","rajtuk","rájuk","róluk","azonban","ám","ha","szerintem","míg","bár","habár","hát","ha","amennyiben","mivel","azonban","amíg","azért","ezért","mi","mit","miért","meddig","mikor","hány","mennyi","ki","kit","merre","hogy","hogyan","miként","hol","honnan","hová","mivel","milyen","ó","óh","jaj","kék","zöld","fekete","sárga","piros","szürke","ne","nem","hát","nos"],m=["a","ahogy","ahol","aki","akik","akkor","alatt","által","általában","amely","amelyek","amelyekben","amelyeket","amelyet","amelynek","ami","amit","amolyan","amíg","amikor","át","abban","ahhoz","annak","arra","arról","az","azok","azon","azt","azzal","azért","aztán","azután","azonban","bár","be","belül","benne","cikk","cikkek","cikkeket","csak","de","e","eddig","egész","egy","egyes","egyetlen","egyéb","egyik","egyre","ekkor","el","elég","ellen","elé","először","előtt","első","én","éppen","ebben","ehhez","emilyen","ennek","erre","ez","ezt","ezek","ezen","ezzel","ezért","és","fel","felé","hanem","hiszen","hogy","hogyan","igen","így","illetve","ill.","ill","ilyen","ilyenkor","ismét","itt","jó","jól","jobban","kell","kellett","keresztül","keressünk","ki","kívül","között","közül","legalább","lehet","lehetett","legyen","lenne","lenni","lesz","lett","maga","magát","majd","majd","már","más","másik","meg","még","mellett","mert","mely","melyek","mi","mit","míg","miért","milyen","mikor","minden","mindent","mindenki","mindig","mint","mintha","mivel","most","nagy","nagyobb","nagyon","ne","néha","nekem","neki","nem","néhány","nélkül","nincs","olyan","ott","össze","ő","ők","őket","pedig","persze","rá","s","saját","sem","semmi","sok","sokat","sokkal","számára","szemben","szerint","szinte","talán","tehát","teljes","tovább","továbbá","több","úgy","ugyanis","új","újabb","újra","után","utána","utolsó","vagy","vagyis","valaki","valami","valamint","való","vissza","viszont"],y=window.lodash,s=function(e,a){const n=function(e,a){const n=e.externalStemmer.vowels,l=new RegExp(n);return a.search(l)}(e,a);if(0===n){const n=function(e,a){const n=new RegExp(e.externalStemmer.digraphs),l=new RegExp(e.externalStemmer.consonants),k=a.search(n),t=a.search(l);return k===t?k+1:t}(e,a);return n+1}return n+1},{baseStemmer:o}=n.languageProcessing;function g(e){const a=(0,y.get)(e.getData("morphology"),"hu",!1);return a?e=>function(e,a){const n=function(e,a){if(e.length<3)return e;const n=s(a,e);if(e.search(new RegExp(a.externalStemmer.suffixes1))>=n){let n=e.slice(0,-2);const l=new RegExp(a.externalStemmer.doubleConsonants);-1!==n.search(l)&&(n=n.slice(0,-1));const k=new RegExp(a.externalStemmer.tripleDoubleConsonants);if(-1!==n.search(k)&&(n=n.slice(0,-2)+n.charAt(n.length-1)),n.length!==e.slice(0,-2).length)return n}return e}(e,a),l=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));if(k>=l){const a=e.substring(0,k);return a.endsWith("á")?a.replace(/á$/i,"a"):a.endsWith("é")?a.replace(/é$/i,"e"):a}return e}(n,a.externalStemmer.suffixes2,a),k=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k)+"a":e}(l,a.externalStemmer.suffixes3,a),t=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k):e}(k,a.externalStemmer.suffixes4,a),r=function(e,a,n){if(e.length<3)return e;const l=s(n,e);if(e.search(new RegExp(a))>=l){let a=e.slice(0,-1);const l=new RegExp(n.externalStemmer.doubleConsonants);return-1!==a.search(l)&&(a=a.slice(0,-1)),a}return e}(t,a.externalStemmer.suffixes5,a),i=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k):e}(r,a.externalStemmer.suffixes6,a),m=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k):e}(i,a.externalStemmer.suffixes7,a),y=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k):e}(m,a.externalStemmer.suffixes8,a),o=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a.suffixes9a));if(k>=l)return e.substring(0,k)+"a";const t=e.search(new RegExp(a.suffixes9b));return t>=l?e.substring(0,t)+"e":e}(y,a.externalStemmer.suffixes9,a),g=function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k)+"a":e}(o,a.externalStemmer.suffixes10,a),z=function(e,a,n){if(e.length<3)return e;const l=s(n,e);return e.search(new RegExp(a.suffixes11a))>=l?e.slice(0,-2)+"a":e.search(new RegExp(a.suffixes11b))>=l?e.slice(0,-2)+"e":e}(g,a.externalStemmer.suffixes11,a);return function(e,a,n){if(e.length<3)return e;const l=s(n,e),k=e.search(new RegExp(a));return k>=l?e.substring(0,k):e}(z,a.externalStemmer.suffixes12,a)}(e,a):o}const z=["megvételre","megrendezésre","képzésre","kifejezésre","következtetésre","fejlesztésre","bevezetésre","kezelésre","ellenőrzésre","elhelyezésre","értékesítésre","cselekvésre","beépítésre","intézkedésre","kifizetésre","működésre","értékelésre","egyeztetésre","rögzítésre","megjelenésre","meghirdetésre","fizetésre","megbeszélésre","bejelentésre","bekezdésre","közreműködésre","teljesítésre","elküldésre","kivitelezésre","kihirdetésre","korszerűsítésre","előterjesztésre","üzemeltetésre","szerződéskötésre","visszafizetésre","befektetésre","minősítésre","telepítésre","megfigyelésre","berendezésre","megerősítésre","megtekintésre","feltüntetésre","megkülönböztetésre","befizetésre","megszüntetésre","kinevezésre","előkészítésre","felmentésre","megszervezésre","gyógykezelésre","mérlegelésre","végkielégítésre","engedélyezésre","kihelyezésre","megsemmisítésre","előrelépésre","tenyésztésre","elnevezésre","befejezésre","ismétlésre","egyesülésre","közvetítésre","lekérdezésre","szervezésre","csökkentésre","területfejlesztésre","költségtérítésre","felfüggesztésre","frissítésre","vámfizetésre","kifejlesztésre","elhelyezkedésre","teremtésre","megjelölésre","töltésre","kiegyenlítésre","kifejtésre","megépítésre","átszervezésre","termesztésre","felemelkedésre","átépítésre","áremelésre","áthelyezésre","újjáépítésre","megbecsülésre","átültetésre","visszaigénylésre","feljegyzésre","törlesztésre","helyettesítésre","követelésre","érvelésre","elkülönítésre","átképzésre","kiértékelésre","térítésre","továbbfejlesztésre","ösztönzésre","szerkesztésre","megítélésre","letöltésre","selejtezésre","segélyezésre","érintkezésre","emelkedésre","megküldésre","erősítésre","felderítésre","védésre","elbeszélgetésre","megemlítésre","felépítésre","megfejtésre","mentesítésre","előfizetésre","megtervezésre","szakképesítésre","hitelesítésre","megnevezésre","érvényesítésre","számonkérésre","terjeszkedésre","beterjesztésre","összevetésre","jogsértésre","véglegesítésre","kiküldetésre","megörökítésre","kivégzésre","költözésre","megtérülésre","kézbesítésre","közmegegyezésre","idézésre","kirekesztésre","visszaesésre","beszerelésre","beültetésre","kiterjesztésre","kifüggesztésre","leépítésre","megismerkedésre","végzésre","részletfizetésre","megfizetésre","kiürítésre","ízesítésre","méregtelenítésre","rendszerezésre","felterjesztésre","szemléltetésre","megtermékenyítésre","lekötésre","kiegyezésre","előrejelzésre","ellenvetésre","növelésre","képesítésre","beszedésre","ellenjegyzésre","áttelepítésre","egységesítésre","akadálymentesítésre","előtörlesztésre","azonosításra","aktiválásra","hasznosításra","foglalkoztatásra","finanszírozásra","megfinanszírozásra","benyújtásra","pontosításra","forgalmazásra","beszállításra","felzárkózásra","továbbításra","differenciálásra","folyósításra","kiszállításra","átcsoportosításra","kártalanításra","továbbgondolásra","felzárkóztatásra","megválaszolásra","átállásra","számlázásra","fotózásra","megvásárlásra","felszámításra","kiszámlázásra","lehívásra","leszámlázásra","továbbjutásra","szaporításra","raktározásra","kinyomtatásra","reklámozásra","újrahasznosításra","archiválásra","elővásárlásra","visszautalásra","létrehozásra","tanúsításra","ártalmatlanításra","adományozásra","kisorsolásra","utalványozásra","átgondolásra","azonosulásra","postázásra","televíziózásra","átsorolásra","finomításra","privatizálásra","dokumentálásra","beiskolázásra","digitalizálásra","újragondolásra","aktualizálásra","delegálásra","pályáztatásra","voksolásra","felhordásra","moderálásra","áthaladásra","gyámolításra","lajstromozásra","sokszorosításra","elsajátításra","szigorításra","klónozásra","elhatárolódásra","elbontásra","kiaknázásra","befolyásolásra","renoválásra","kivárásra","feliratozásra","akkreditálásra","parkosításra","szakosodásra","legyártásra","továbbgondolkodásra","magánosításra","összehangolásra","megvilágosodásra","titkosításra","integrálásra","visszaadásra","rangsorolásra","kilábalásra","szponzorálásra","szankcionálásra","modernizálásra","leltározásra","koordinálásra","apostolkodásra","definiálásra","komposztálásra","elvándorlásra","átváltásra","kódolásra","naplózásra","adagolásra","megtámadásra","exportálásra","betáplálásra","kompenzálásra","kapaszkodásra","áthallgatásra","dedikálásra","beindításra","kimunkálásra","hamisításra","megigazulásra","újratárgyalásra","visszaszállításra","megalapításra","szabványosításra","tartósításra","meditálásra","palackozásra","bírságolásra","listázásra","liberalizálásra","iskoláztatásra","auditálásra","monitorozásra","visszapótlásra","sugalmazásra","kipostázásra","előrejutásra","gyarapításra","visszaosztásra","konzerválásra","adóztatásra","decentralizálásra","diagnosztizálásra","harmonizálásra","konszolidálásra","átszállításra","realizálásra","beazonosításra","szelektálásra","újraszabályozásra","kihúzásra","optimalizálásra","bevizsgálásra","kiválogatásra","leosztásra","szállítmányozásra","torzításra","visszaigazolásra","visszaszolgáltatásra","rehabilitálásra","továbbtartásra","darabolásra","felhasználásra","bemutatásra","ellátásra","felújításra","kialakításra","átadásra","kiállításra","feldolgozásra","módosításra","változásra","kiosztásra","beavatkozásra","megvalósításra","megállapodásra","jóváhagyásra","szabályozásra","változtatásra","elszámolásra","felhívásra","meghallgatásra","elbírálásra","végrehajtásra","lemondásra","elhatározásra","kiírásra","megfogalmazásra","népszavazásra","kiválasztásra","hozzájárulásra","bemutatkozásra","felszólalásra","elutasításra","megvitatásra","levonásra","átutalásra","kizárásra","előállításra","bizonyításra","kárpótlásra","nyomtatásra","felállításra","beszámításra","pótlásra","publikálásra","megbízásra","felbontásra","megválasztásra","kibocsátásra","kivizsgálásra","lebontásra","feltárásra","felosztásra","visszavonásra","elosztásra","felvásárlásra","megbocsátásra","szétosztásra","megújításra","megnyitásra","korlátozásra","bérbeadásra","eltiltásra","elbocsátásra","meghosszabbításra","bebocsátásra","levágásra","restaurálásra","felajánlásra","kivágásra","kormányalakításra","megmunkálásra","osztályozásra","sorozatgyártásra","betakarításra","leszámolásra"],{getWords:v}=n.languageProcessing,h=["éva","szava","moszkva","alternatíva","normatíva","java","jelszava","direktíva","perspektíva","dráva","lova","kurva","szilva","páva","kollektíva","lárva","szarva","tava","láva","díva","ponyva","hava","offenzíva","előszava","borotva","színe-java","hamva","káva","legjava","mályva","murva","olíva","híre-hamva","pelyva","címszava","dudva","sava","csóva","golyva","árva","fénycsóva","utószava","antikva","közjava","aktíva","hadiárva","morotva","gyomorsava","villanyborotva","alapszava","szerva","odva","naiva","szupernova","félárva","harangszava","szlalomozva","halastava","vezényszava","falova","defenzíva","lángcsóva","varázsszava","végszava","hadova","dzsuva","pányva","sátorponyva","parancsszava","vezérszava","falva","durva","gyáva","tétova","zagyva","mogorva","morva","híva","báva","hova","fordítva","ahova","felváltva","valahova","kurva","sehova","kisvártatva","játszva","hivatva","mindenhova","tova","bárhova","lopva","idestova","elragadtatva","lélekszakadva","fejcsóválva","akárhova","fogcsikorgatva","tárva-nyitva","hagyatva","szájtátva","készakarva","karonfogva","szívdobogva","lélegzet-visszafojtva","szívszorongva","orozva","fogvacogva","szívszakadva","fogvicsorítva","bélapátfalva","albertfalva","éve","neve","könyve","szíve","teve","elve","műve","kedve","terve","nyelve","szerve","medve","híve","alapelve","törvénykönyve","életműve","irányelve","kézikönyve","felhasználóneve","jegyzőkönyve","diáknyelve","leve","ismérve","tanterve","hírneve","objektíve","íve","emlékműve","anyanyelve","beceneve","forgatókönyve","féléve","orgonaműve","tankönyve","alapköve","jókedve","évkönyve","járműve","köve","keresztneve","ráckeve","munkaterve","vezetékneve","remekműve","túrkeve","töve","öve","futóműve","heve","sarokköve","életéve","vendégkönyve","negyedéve","jegesmedve","csöve","szócsöve","keve","üdve","nedve","gyűjtőneve","fedőneve","mérföldköve","kéve","ütemterve","próbaköve","gépjárműve","domborműve","ékköve","rokonszenve","érzékszerve","kollektíve","életkedve","örve","sérve","verseskönyve","füve","építőköve","ellenszenve","álneve","tanulmányterve","szakácskönyve","erőműve","sarkköve","barnamedve","hajtóműve","mesterműve","színműve","törzskönyve","utóneve","családneve","formanyelve","távcsöve","tanéve","mosómedve","talpköve","szövegkönyve","sírköve","keserve","boltíve","márkaneve","munkakedve","kérdőíve","rosszkedve","emlékkönyve","gúnyneve","szakkönyve","pályaműve","olvasókönyve","előneve","csúcsszerve","személyneve","atomerőműve","útikönyve","cséve","telefonkönyve","képeskönyve","szabálykönyve","nyakörve","cseppköve","látószerve","mozgásszerve","daloskönyve","halászleve","heresérve","jogelve","köldöksérve","utcaneve","eleve","közvetve","elvétve","relatíve","karöltve","együttvéve","vállvetve"],{values:d}=n.languageProcessing,{Clause:b}=d,u=["kerülök","kerülsz","kerül","kerülünk","kerültök","kerülnek","kerüljek","kerülj","kerüljön","kerüljünk","kerüljetek","kerüljenek","kerülnék","kerülnél","kerülne","kerülnénk","kerülnétek","kerülnének","kerültem","kerültél","került","kerültünk","kerültetek","kerültek","kerültem volna","kerültél volna","került volna","kerültünk volna","kerültetek vola","kerültek volna","fogok kerülni","fogsz kerülni","fog kerülni","fogunk kerülni","fogtok kerülni","fognak kerülni"],c=["vagyok","vagy","van","vagyunk","vagytok","vannak","legyek","legyél","legyen","legyünk","legyetek","legyenek","lennék","lennél","lenne","lennénk","lennétek","lennének","leszek","leszel","lesz","leszünk","lesztek","lesznek","voltam","voltál","volt","voltunk","voltatok","voltak","lettem volna","lettél volna","lett volna","lettünk volna","lettetek volna","lettek volna"],f=["fogok","fogsz","fog","fogunk","fogtok","fognak"],p={auxiliaries1:u,auxiliaries2:c,auxiliaries3:f,allAuxiliaries:[].concat(u,c,f)},{getClausesSplitOnStopWords:j,createRegexFromArray:x}=n.languageProcessing,w={Clause:class extends b{constructor(e,a){super(e,a),this._participles=function(e){const a=v(e),n=new RegExp("(ve|va|ódni|ődni)$");return a.filter((e=>n.test(e)||z.includes(e)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getParticiples().filter((e=>!h.includes(e)));this.setPassive(e.length>0)}},regexes:{auxiliaryRegex:x(p.allAuxiliaries),stopwordRegex:x(m)}};function S(e){return j(e,w)}const R=["ábrázol","ad","adományoz","ajándékoz","akadályoz","alakít","alapít","álcáz","áldoz","alkalmaz","alkot","állít","arat","ás","automatizál","azonosít","befolyásol","bírál","bizonyít","bocsát","bont","bonyolít","csatol","definiál","deklarál","digitalizál","dob","dokumentál","dolgoz","finanszíroz","fogalmaz","foglal","foglalkoztat","fogyaszt","fojt","fokoz","fontol","fordít","forgalmaz","garantál","gyakorl","gyárt","gyógyít","hagy","hajt","hálál","hallgat","hamisít","hárít","használ","határoz","hidal","hoz","igazít","igazol","illusztrál","importál","indít","ír","irányít","istáz","javasol","javít","jutalmaz","kattint","kínál","kombinál","kompenzál","komponál","kritizál","kutat","lapoz","listáz","locsol","magyaráz","másol","moderál","mond","motivál","mozgósít","mulaszt","mutat","nyomtat","nyújt","olvas","oszt","parancsol","postáz","pótl","próbál","produkál","ragaszt","rak","ráz","regisztrál","reklámoz","rombol","ront","ruház","sajátít","sorol","strukturál","sugárz","szabályoz","szakít","szállít","számít","számláz","számol","szavaz","szimbolizál","szólít","szorít","talál","támogat","tanít","tárol","tart","taszít","távolít","tilt","tisztít","továbbít","tudósít","tulajdonít","újít","utal","utasít","válaszol","választ","válogat","vált","változtat","varázsol","világít","világosít","vitat","vizsgál","von"],E=["beszél","böngész","bővít","címz","cserél","derít","díszít","dönt","egészít","egyeztet","egyszerűsít","elégít","emel","említ","engedélyez","enyhít","épít","érint","erősít","ért","értékel","értelmez","érzékeltet","ev","fedez","fejleszt","fejt","fektet","felejt","feltev","figyel","fizet","győz","gyűjt","hegeszt","helyettesít","helyez","hirdet","idéz","igényl","illeszt","intéz","ismer","ítél","ízesít","jegyz","jelenít","jelent","jelentkez","jelöl","kényszerít","képvisel","kérdez","kerekít","keresztel","készít","késztet","kezel","kivitelez","kölcsönz","köt","követ","közl","közvetít","küld","különít","küszöböl","melegít","mellékl","mér","nevez","néz","nyel","nyer","örökít","őrz","összegz","összesít","rendel","rendez","rögzít","semmisít","sürget","szed","szeg","szennyez","szerel","szerkeszt","szervez","szigetel","színez","tekint","telepít","teljesít","tenyészt","teremt","térít","terjeszt","tervez","testesít","tesztel","tev","tölt","tömörít","törl","üldöz","ültet","végz","veszélyeztet","vet","vetít","vev","vezet"],P={odikVerbStems1:R,odikVerbStems2:E,all:R.concat(E)},W=["ódom","ódsz","ódik","ódunk","ódtok","ódnak","ódtam","ódtál","ódott","ódtunk","ódtatok","ódtak","ódjak","ódj","ódjon","ódjunk","ódjatok","ódjanak","ódnék","ódnál","ódna","ódnánk","ódnátok","ódnának"],C=["ődöm","ődsz","ődik","ődünk","ődtök","ődnek","ődtem","ődtél","ődött","ődtünk","ődtetek","ődtek","ődjek","ődj","ődjön","ődjünk","ődjetek","ődjenek","ődnék","ődnél","ődne","dnénk","ődnétek","ődnének"],O=["abba","agyon","alul","alá","alább","által","át","be","bele","belé","benn","egybe","együtt","el","ellen","elő","előre","észre","fel","föl","félbe","félre","felül","fölül","fenn","fönn","hátra","haza","helyre","hozzá","ide","jóvá","keresztül","ketté","ki","kölcsön","körül","körbe","közbe","közre","közzé","külön","le","létre","meg","mellé","neki","oda","össze","rá","rajta","széjjel","szembe","szerte","szét","tele","teli","tova","tovább","tönkre","utol","túl","újjá","újra","utána","végbe","végig","vissza"],{getWords:A}=n.languageProcessing,T=function(e,a,n,l){return a.some((a=>l.some((function(l){const k=a+l;if(e.endsWith(k)){const a=e.slice(0,e.indexOf(k));return""===a||n.includes(a)}}))))};function V(e){const a=A(e),n=P.odikVerbStems1,l=P.odikVerbStems2;return a.some((e=>T(e,n,O,W)||T(e,l,O,C)))}const{AbstractResearcher:$}=n.languageProcessing;class _ extends ${constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"hu",passiveConstructionType:"morphologicalAndPeriphrastic",functionWords:t,transitionWords:k,twoPartTransitionWords:r,firstWordExceptions:i,stopWords:m}),Object.assign(this.helpers,{getStemmer:g,getClauses:S,isPassiveSentence:V})}}(window.yoast=window.yoast||{}).Researcher=a})(); dist/languages/ar.js 0000644 00000161543 15174677550 0010450 0 ustar 00 (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>de});const r=window.yoast.analysis,n=["قليل","بعض","واحد","واحد","إثنان","ثلاثة","أربعة","خمسة","ستة","سبعة","ثمانية","تسعة","عشرة","هذا","هذه","ذلك","تلك","هذين","هذان","هتين","هتان","هؤلا","أولائك","هؤلاء"],o=["كذلك","ولكن","ولذلك","حاليا","أخيرا","بالطبع","ثم","بما","كما","لما","إنما","ليتما","إما","أينما","حيثما","كيفما","أيما","أيّما","بينما","ممّا","إلاّ","ألّا","لئلّا","حبّذا","سيّما","لكن","بالتالي","هكذا","أو","أم","لذلك","مثلا","تحديدا","عموما","لاسيما","خصوصا","بالأخص","خاصة","بالمثل","لأن","بسبب","إذا","عندما","حين","متى","قبل","بعد","منذ","أيضا","ريثما","بين","وكذلك","وحاليا","وأخيرا","وبالطبع","وثم","وبما","وكما","ولما","وإنما","وليتما","وإما","أما","وأما","وأينما","وحيثما","وكيفما","وأيما","وأيّما","وبينما","وممّا","وإلاّ","وألّا","ولئلّا","وحبّذا","وسيّما","وبالتالي","وهكذا","ومثلا","وتحديدا","وعموما","ولاسيما","وخصوصا","وبالأخص","وخاصة","وبالمثل","ولأن","وبسبب","وإذا","وعندما","وحين","ومتى","وقبل","وبعد","ومنذ","وأيضا","وريثما","وبين"],s=o.concat(["إلا إذا","إلا أن","إلى آخره","إلى الأبد","إلى أن","آن لك أن","آن له أن","آن لعلي","بعد ذلك","بما أن","بما فيه","حتى لا","حتى لو","عليك أن","علينا أن","عليه أن","عليكم أن","فيما بعد","لا أحد","لا بأس أن","لا بد من","لا بد من أن","لا سيما","لا شيء","لا غير","لا هذا ولا ذاك","له أن","لها أن","لك أن","لكم أن","ما لم","مع ذلك","مع هذا","من أجل أن","من أجلك","من أجلها","من أجل","منذ ذلك الحين","بالإضافة إلى ذلك","في نهاية المطاف","في الوقت الحالي","علاوة على ذلك","بدلا من ذلك","في الواقع","بناء على ذلك","ومع ذلك","في الحقيقة","من ناحية أخرى","لا يزال","في الوقت نفسه","زيادة على ذلك","زيادة على","علاوة على","ما عدا","غير أن","من جهة أخرى","على عكس ذلك","نتيجة لذلك","من ثم","على سبيل المثال","على وجه الخصوص","على وجه التحديد","بصفة عامة","قبل كل شيء","في النهاية","بصورة شاملة","رغم أن","مع ان","على الرغم من","من هنا","لهذا السبب","في حالة","في أقرب وقت","على أي حال","في نفس الوقت","من بين","وإلا إذا","وإلا أن","وإلى آخره","وإلى الأبد","وإلى أن","وآن لك أن","وآن له أن","وبعد ذلك","وبما أن","وبما فيه","وحتى لا","وحتى لو","وعليك أن","وعلينا أن","وعليه أن","وعليكم أن","وفيما بعد","ولا أحد","ولا بأس أن","ولا بد من","ولا بد من أن","ولا سيما","ولا شيء","ولا غير","وله أن","ولها أن","ولك أن","ولكم أن","وما لم","ومع هذا","ومن أجل أن","ومن أجلك","ومن أجلها","ومن أجل","ومنذ ذلك الحين","وبالإضافة إلى ذلك","وفي نهاية المطاف","وفي الوقت الحالي","وعلاوة على ذلك","وبدلا من ذلك","وفي الواقع","وبناء على ذلك","ومن ناحية أخرى","ولا يزال","وفي الوقت نفسه","وزيادة على ذلك","على أرض الواقع","وعلى أرض الواقع","وزيادة على","وعلاوة على","وما عدا","ومن جهة أخرى","وعلى عكس ذلك","ونتيجة لذلك","ومن ثم","وعلى سبيل المثال","وعلى وجه الخصوص","وعلى وجه التحديد","وبصفة عامة","وقبل كل شيء","وفي النهاية","وبصورة شاملة","ورغم أن","ومع أن","وعلى الرغم من","ومن هنا","ولهذا السبب","وفي حالة","وفي أقرب وقت","وعلى أي حال","وفي نفس الوقت","ومن بين","على الصعيد","وعلى الصعيد","على صعيد","وعلى صعيد","على مستوى","وعلى مستوى","على المستوى","وعلى المستوى"]);function i(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}const c=["الـ"],a=["صفر","واحد","واحدة","أحد","إحدى","إثنان","اثنتان","إثنين","ثنتين","إثنتين","إثنا","إثنى","إثنتا","إثنتي","ثلاث","ثلاثة","أربع","أربعة","خمس","خمسة","ست","ستة","سبع","سبعة","ثمان","ثمانية","تسع","تسعة","عشر","عشرة","عشرون","ثلاثون","أربعين","أربعون","خمسون","ستون","سبعون","ثمانون","تسعون","مئة","مائة","مئتان","ثلاثمئة","ثلاثمائة","أربعمئة","أربعمائة","خمسمئة","خمسمائة","ستمئة","ستمائة","سبعمئة","سبعمائة","ثمانمئة","ثمانمائة","تسعمئة","تسعمائة","ألف","ألآف","ألفا","ألفين","مليون","ملايين","مليار"],u=["الأول","الأولى","الثاني","الثانية","الثالث","الثالثة","الرابع","الرابعة","الخامس","الخامسة","السادس","السادسة","السابع","السابعة","الثامن","الثامنة","التاسع","التاسعة","العاشر","العاشرة","الحادي","الحادية","العشرون","الثلاثون","الأربعون","الخمسون","الستون","السبعون","الثمانون","التسعون","المئة","المائة"],l=["أنا","انت","هو","هي","نحن","أنتما","هما","أنتم","أنتن","هم","هن","وأنا","وأنت","وهو","وانا","ونحن","وهي","وانت","أنتي","فهو","وهم","وأنتما"],d=["إياه","إياهما","إياهم","إياها","إياكما","إياهن","إياك","إياكم","إياكن","إياي","إيانا"],f=["هذا","هذه","هذان","هذين","هتان","هـتين","ذا","ذان","ذين","أولئ","ذلك","ذانك","ذينك","تلك","تانك","تينك","أولئك","هؤلاء","ذاك","هاتان","هاتين","ذه","هأولئ","ذلكم","ذلكم","وهذا","هذة","أولئك"],m=["يا","أي","هيا","أ","آ","أيها","أيتها"],h=["جميع","كل","بعض","كثير","كثيرة","عديد","عديدة","لبعض","قليلا","كافية","كافي","صغير","صغيرة","قليل","قليلة","كثيرا","بالكثير","أكثر","اكبر","اغلب","عديدة","عديد","قليلون","أقل","كل","الكثير","المزيد","اكثر","الأقل","يكفي","العديد","كله","جميعا","كلها","وكل","كلنا","كثيرة","الأكثر","ببعض","بضعة","عدة"],g=["نفسي","نفسك","نفسه","نفسها","أنفسنا","أنسفكم","أنفسهم","أنفسهما","أنفسكما","أنفسكن","أنفسهن","بنفسي"],w=["ليس","جميع","الكل","الجميع","شخص","شيء","شيئا","أخرى","آخرين","أي","أيا","من","الآخرين","أحد","شئ","أخرى","شىء","احد","أية","اخرى","البعض","أخر","الآخر","أحدهم","الأخرى","الشئ","بعضنا","بشيء","شي","الغير"],p=["الذي","التي","الذى","التى","الذين","مالذي","اللذان","الذين","اللتان","اللاتي","الذي","اللتين","اللذين","اللواتي"],x=["جدا","حقا","للغاية","تماما","فعلا"],S=["ماذا","لمن","ما","أي","أى","وماذا","وما","بماذا","ماهو","ماهذا"],R=["من","ومن"],W=["اين","كيف","لماذا","لم","سواء","أينما","كيفما","مـتى","كم","هل","أين","أهذا","وكيف","وهل"],v=["هنا","هناك","هنالك"],y=["دائما","مرة","مرتين"],F=["يجب","سوف","قد","أستطيع","يستطيع","نستطيع","تستطيع","استطيع","تستطيعين","استطعت","استطاعت","استطاع","استطعتما","استطاعتا","استطاعا","استطعنا","استطعتن","استطعتم","استطعن","استطاعوا","تستطيعان","يستطيعان","تستطعن","تستطيعون","يستطعن","يستطيعون","تستطيعي","تستطيعا","يستطيعا","تستطيعوا","يستطيعوا","استطيعت","استطيعتا","استطيعا","استطيعوا","تستطاعين","تستطاع","يستطاع","نستطاع","تستطاعان","يستطاعان","تستطاعون","يستطاعون","أستطاع","تستطاعي","تستطاعا","يستطاعا","يستطاعوا","تستطاعوا","استطيعي","يمكنني","يمكن","يمكننى","بإمكانك","لابد","ينبغي","وسوف","هلا","بد","وقد","ولقد","يمكنه","يمكنهما","يمكنهم","يمكنها","يمكنكما","يمكنهن","يمكنك","يمكنكم","يمكنكن","يمكني","يمكننا"],b=["لدي","لديك","لدينا","لديه","لديها","لديهم","لديهما","لديكم","لديكما","لديهن","لديكن","صبحت","صبح","صبحتما","صبحا","صبحتا","صبحنا","صبحتن","صبحتم","صبحن","صبحوا","أصبح","تصبحين","تصبح","يصبح","تصبحان","يصبحان","نصبح","تصبحن","تصبحون","تصبحي","تصبحا","يصبحا","تصبحوا","يصبحوا","اصبحي","اصبحوا","اصبحا","ابقى","كان","كنت","كانت","يكون","كنتما","كانتا","كانا","كنا","كن","كانوا","كنتم","أكون","تكونين","تكون","تكونان","يكونان","نكون","تكونون","يكن","يكونون","تكوني","تكونا","يكونا","تكونوا","يكونوا","كونا","كونوا","كن","أكن","اكون","وكان","كوني","اكن","سنكون","كنا","سيكون","يكن","ستكون","تكن","سأكون","بت","باتت","بات","بتما","باتتا","باتا","بتنا","بتن","بتم","باتوا","أبيت","بت","صرت","صرت","صار","صرتما","صارتا","صارا","صرنا","صرتن","صرتم","صرن","صاروا","أصير","تصيرين","تصير","يصير","تصيران","يصيران","نصير","تصرن","يصرن","تصيرون","يصيرون","تصيري","تصيرا","يصيرا","تصيروا","يصيروا","ليس","وليس","ليست","ليسوا","ليسا","ليسنا","ليسن","أليس","اليس","لست","لسنا"],L=["أن","في","على","إلى","ان","عن","فى","مع","الى","بعد","بدون","تحت","طوال","علي","غير","لدى","حول","خلال","لكي","بين","الي","خارج","بشأن","فوق","دون","لـ","بـ","بلا","بواسطة","ضد","أمام","وفي","وشك","نحو","ذو","أسفل","ب","خلف","بجانب","عدا","طبقا","بعد","عكس","منذ"],z=["إليه","إليهما","إليهم","إليها","إليكما","إليهن","إليك","إليكم","إليكن","إلي","إلينا","عليه","عليهما","عليهم","عليها","عليكما","عليهن","عليك","عليكم","عليكن","علي","علينا","عنه","عنهما","عنهم","عنها","عنكما","عنهن","عنك","عنكم","عنكن","عني","عننا","له","لهما","لهم","لها","لكما","لهن","لك","لكم","لكن","لي","لنا","معه","معهما","معهم","معها","معكما","معهن","معك","معكم","معكن","معي","معنا","منه","منهما","منهم","منها","منكم","منهن","منك","منكم","منكن","مني","منا","فيه","فيهما","فيهم","فيها","فيكما","فيهن","فيك","فيكم","به","بهما","بهم","بها","بكما","بهن","بك","بكم","بكن","بي","بنا","بينهم","بينهما","بينكما","بينكم","بتلك","بذلك","فأنت","بيننا","بهذا","بهذه","فأنا","فهذا","فيما","أجلك","كهذا","لأي","لذلك","لما","لنفسك","لهذا","لهذه"],E=["داخل","ضمن","قدما"],O=["و","و/او","او","أو"],P=["إذا","لو","اذا","وإذا","أذا"],_=["أقول","تقول","تقولين","تقولان","يقول","تقول","يقولان","تقولان","نقول","تقولون","تقلن","يقولون","قلت","قلتما","قال","قالت","قالا","قالتا","قلنا","قلتما","قلتن","قالوا","قلنا","تدعي","يدعي","تدعيان","تدعون","يدعون","يدعين","ادعيت","ادعيت","ادعيتما","ادعى","ادعت","ادعينا","ادعيتما","ادعيتن","ادعوا","ادعينا","تسأل","تسألين","يسأل","تسأل","نسأل","تسألون","تسألن","يسألون","يسألن","سألت","سألنا","سألتم","سألتن","سألوا","سألنا","تشرح","تشرحين","يشرح","تشرح","نشرح","تشرحون","تشرحن","يشرحون","يشرحن","شرحت","شرح","شرحت","شرحنا","شرحتم","شرحتن","شرحوا","شرحنا","شرحن","أعتقد","تعتقد","تعتقدين","يعتقد","تعتقد","تعتقدون","تعتقدن","يعتقدون","يعتقدن","اعتقدت","اعتق","اعتقدت","أتحدث","تتحدث","تتحدثين","يتحدث","تتحدث","نتحدث","تحدثت","تحدث","تحدثت","تحدثوا","تحدثن","أعلن","تعلن","تعلنين","يعلن","تعلن","نعلن","يعلنون","يعلن","أعلنت","أعلن","أعلنت","أعلنا","أعلنوا","أعلن","أناقش","تناقش","تناقشين","يناقش","تناقش","نناقش","تناقشون","تناقشن","يناقشون","يناقشن","ناقشت","ناقشت","ناقشت","ناقشت","ناقشت","ناقشنا","ناقشتم","ناقشتن","ناقشوا","ناقشن","أفهم","تفهم","تفهمين","يفهم","تفهم","نفهم","يفهمون","يفهمن","فهمت","فهم","فهمت","فهمنا","فهموا","فهمن"],M=["يعني","أحتاج","يعمل","تعني","تقوم","أود","عندك","البقاء","حاولت","توجد","دعونا","تفكر","جئت","يريدون","أتيت","فعلته","تقصد","زال","إرادة","مريد","مراد","أردت","أردت","أردت","أرادت","أريد","تريد","تريدين","يريد","تريد","أريد","تريد","يريد","تريد","أرد","ترد","يرد","ترد","أرد","أريدي","أردتما","تريدان","تريدا","تريدا","أريدا","أرادا","أرادتا","يريدان","تريدان","يريدا","تريدا","أردنا","نريد","نريد","نرد","أردتم","أردتن","تريدون","تردن","تريدوا","تردن","تريدوا","تردن","أريدوا","أردن","أرادوا","أردن","يريدون","يردن","يريدوا","أردت","أراد","أراد","أرد","أردت","أريد","أردتما","أريدا","أردنا","أردتم","أريدوا","أردت","أريدت","أريدتا","أردتن","أردن","تراد","يراد","ترادان","يرادان","نراد","ترادون","يرادون","ترادين","تراد","ترادان","تردن","يردن","تراد","يراد","ترادا","يرادا","نراد","ترادوا","يرادوا","ترادي","تراد","ترادا","تردن","يردن","ترد","يرد","ترادا","يرادا","نرد","ترادوا","يرادوا","ترادي","ترد","ترادا","تردن","يردن","أرد","اعتقاد","معتقد","معتقد","اعتقدت","اعتقدت","اعتقد","اعتقدتما","اعتقدا","اعتقدنا","اعتقدتم","اعتقدوا","اعتقدت","اعتقدت","اعتقدتا","اعتقدتن","اعتقدن","تعتقد","يعتقد","تعتقدان","يعتقدان","نعتقد","تعتقدون","يعتقدون","تعتقدين","تعتقد","تعتقدان","تعتقدن","يعتقدن","تعتقد","يعتقد","تعتقدا","يعتقدا","نعتقد","تعتقدوا","يعتقدوا","تعتقدي","تعتقد","تعتقدا","تعتقدن","يعتقدن","تعتقد","يعتقد","تعتقدا","يعتقدا","نعتقد","تعتقدوا","يعتقدوا","تعتقدي","تعتقد","تعتقدا","تعتقدن","يعتقدن","اعتقدي","اعتقدن","اعتقد","اعتقدا","اعتقدوا","اعتقدت","اعتقدت","اعتقد","اعتقدتما","اعتقدا","اعتقدنا","اعتقدتم","اعتقدوا","اعتقدت","اعتقدت","اعتقدتا","اعتقدتن","اعتقدن","أعتقد","تعتقد","يعتقد","تعتقدان","يعتقدان","نعتقد","تعتقدون","يعتقدون","تعتقدين","تعتقد","تعتقدان","تعتقدن","يعتقدن","أعتقد","تعتقد","يعتقد","تعتقدا","يعتقدا","نعتقد","تعتقدوا","يعتقدوا","تعتقدي","تعتقد","تعتقدا","تعتقدن","يعتقدن","أعتقد","تعتقد","يعتقد","تعتقدا","يعتقدا","نعتقد","تعتقدوا","يعتقدوا","تعتقدي","تعتقد","تعتقدا","تعتقدن","يعتقدن","اعتقد","اعتقدا","اعتقدوا","إيجاد","موجد","موجد","أوجدت","أوجدت","أوجد","أوجدتما","أوجدا","أوجدنا","أوجدتم","أوجدوا","أوجدت","أوجدت","أوجدتا","أوجدتن","أوجدن","أوجد","توجد","يوجد","توجدان","يوجدان","نوجد","توجدون","يوجدون","توجدين","توجد","توجدان","توجدن","يوجدن","أوجد","توجد","يوجد","توجدا","يوجدا","نوجد","توجدوا","يوجدوا","توجدي","توجد","توجدا","توجدن","يوجدن","أوجد","توجد","يوجد","توجدا","يوجدا","نوجد","توجدوا","يوجدوا","توجدي","توجد","توجدا","توجدن","يوجدن","أوجد","أوجدا","أوجدوا","أوجدي","أوجدن","أوجدت","أوجدت","أوجد","أوجدتما","أوجدا","أوجدنا","أوجدتم","أوجدوا","أوجدت","أوجدت","أوجدتا","أوجدتن","أوجدن","أوجد","توجد","يوجد","توجدان","يوجدان","نوجد","توجدون","يوجدون","توجدين","توجد","توجدان","توجدن","يوجدن","أوجد","توجد","يوجد","توجدا","يوجدا","نوجد","توجدوا","يوجدوا","توجدي","توجد","توجدا","توجدن","يوجدن","أوجد","توجد","يوجد","توجدا","يوجدا","نوجد","توجدوا","يوجدوا","توجدي","توجد","توجدا","توجدن","يوجدن","اعتقد","اريد","أذهب","إذهاب","مذهب","مذهب","أذهبت","أذهبت","أذهب","أذهبتما","أذهبا","أذهبنا","أذهبتم","أذهبوا","أذهبت","أذهبت","أذهبتا","أذهبتن","أذهبن","أذهب","تذهب","يذهب","تذهبان","يذهبان","نذهب","تذهبون","يذهبون","تذهبين","تذهب","تذهبان","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","أذهب","أذهبا","أذهبوا","أذهبي","أذهبن","أذهبت","أذهبت","أذهب","أذهبتما","أذهبا","أذهبنا","أذهبتم","أذهبوا","أذهبت","أذهبت","أذهبتا","أذهبتن","أذهبن","أذهب","تذهب","يذهب","تذهبان","يذهبان","نذهب","تذهبون","يذهبون","تذهبين","تذهب","تذهبان","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","نذهب","مذهب","ذاهب","مذهوب","ذهبت","ذهبت","ذهب","ذهبتما","ذهبا","ذهبنا","ذهبتم","ذهبوا","ذهبت","ذهبت","ذهبتا","ذهبتن","ذهبن","أذهب","تذهب","يذهب","تذهبان","يذهبان","نذهب","تذهبون","يذهبون","تذهبين","تذهب","تذهبان","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","أذهب","تذهب","يذهب","تذهبا","يذهبا","نذهب","تذهبوا","يذهبوا","تذهبي","تذهب","تذهبا","تذهبن","يذهبن","اذهب","اذهبا","اذهبوا","اذهبي","اذهبن","ذهب","يذهب","يذهب","يذهب","أظن","ظن","ظان","مظنون","ظننت","ظننت","ظن","ظننتما","ظنا","ظننا","ظننتم","ظنوا","ظننت","ظنت","ظنتا","ظننتن","ظنن","أظن","تظن","يظن","تظنان","يظنان","نظن","تظنون","يظنون","تظنين","تظن","تظنان","تظنن","يظنن","أظن","تظن","يظن","تظنا","يظنا","نظن","تظنوا","يظنوا","تظني","تظن","تظنا","تظنن","يظنن","أظنن","تظنا","يظنا","تظنوا","يظنوا","تظنن","تظني","تظنا","تظنن","يظنن","أظن","أظن","تظن","تظن","يظنن","يظن","ظني","اظنن","يظن","نظنن","نظن","نظن","تظنن","تظن","تظن","ظنا","اظنن","ظن","ظن","ظنوا","اذهب","اذهبا","اذهبوا","ظننت","ظننت","ظن","ظننتما","ظنا","ظننا","ظننتم","ظنوا","ظننت","ظنت","ظنتا","ظننتن","ظنن","أظن","تظن","يظن","تظنان","يظنان","نظن","تظنون","يظنون","تظنين","تظن","تظنان","تظنن","يظنن","أظن","تظن","يظن","تظنا","يظنا","نظن","تظنوا","يظنوا","تظني","تظن","تظنا","تظنن","يظنن","أظنن","تظنا","يظنا","تظنوا","يظنوا","أظن","تظني","تظنا","تظنن","يظنن","تظنن","تظن","تظن","يظنن","يظن","يظن","نظنن","نظن","نظن","تظنن","تظن","تظن","ذهبت","تظن","توجدت","توجدت","توجد","توجدتما","توجدا","توجدنا","توجدتم","توجدوا","توجدت","توجدت","توجدتا","توجدتن","توجدن","أتوجد","ʾتتوجد","يتوجد","تتوجدان","يتوجدان","نتوجد","تتوجدون","يتوجدون","تتوجدين","تتوجد","تتوجدان","تتوجدن","يتوجدن","أتوجد","ʾتتوجد","يتوجد","تتوجدا","يتوجدا","نتوجد","تتوجدوا","يتوجدوا","تتوجدي","تتوجد","تتوجدا","تتوجدن","يتوجدن","أتوجد","ʾتتوجد","يتوجد","تتوجدا","يتوجدا","نتوجد","تتوجدوا","يتوجدوا","تتوجدي","تتوجد","تتوجدا","تتوجدن","يتوجدن","توجد","توجدا","توجدوا","توجدي","توجدن","توجد","يتوجد","يتوجد","يتوجد","توجد","متوجد","متوجد","دعاء","داع","مدعو","دعوت","دعوت","دعا","دعوتما","دعوا","دعونا","دعوتم","دعوا","دعوت","دعت","دعتا","دعوتن","دعون","أدعو","تدعو","يدعو","تدعوان","يدعوان","ندعو","تدعون","يدعون","تدعين","تدعو","تدعوان","تدعون","يدعون","أدعو","تدعو","يدعو","تدعوا","يدعوا","ندعو","تدعوا","يدعوا","تدعي","تدعو","تدعوا","تدعون","يدعون","أدع","تدع","يدع","تدعوا","يدعوا","ندع","تدعوا","يدعوا","تدعي","تدع","تدعوا","تدعون","يدعون","ادع","ادعوا","ادعوا","ادعي","ادعون","دعيت","دعيت","دعي","دعيتما","دعيا","دعينا","دعيتم","دعوا","دعيت","دعيت","دعيتا","دعيتن","دعين","أدعى","تدعى","يدعى","تدعيان","يدعيان","ندعى","تدعون","يدعون","تدعين","تدعى","تدعيان","تدعين","يدعين","أدعى","تدعى","يدعى","تدعيا","يدعيا","ندعى","تدعوا","يدعوا","تدعي","تدعى","تدعيا","تدعين","يدعين","أدع","تدع","يدع","تدعيا","يدعيا","ندع","تدعوا","يدعوا","تدعي","تدع","تدعيا","تدعين","يدعين","تفكر","متفكر","متفكر","تفكرت","تفكرت","تفكر","تفكرتما","تفكرا","تفكرنا","تفكرتم","تفكروا","تفكرت","تفكرت","تفكرتا","تفكرتن","تفكرن","أتفكر","تتفكر","يتفكر","تتفكران","يتفكران","نتفكر","تتفكرون","يتفكرون","تتفكرين","تتفكر","تتفكران","تتفكرن","يتفكرن","أتفكر","تتفكر","يتفكر","تتفكرا","يتفكرا","نتفكر","تتفكروا","يتفكروا","تتفكري","تتفكر","تتفكرا","تتفكرن","يتفكرن","أتفكر","تتفكر","يتفكر","تتفكرا","يتفكرا","نتفكر","تتفكروا","يتفكروا","تتفكري","تتفكر","تتفكرا","تتفكرن","يتفكرن","تفكر","تفكرا","تفكروا","تفكري","تفكرن","تفكر","يتفكر","يتفكر","يتفكر","مجيء","جيء","جيئة","جيئة","جاء","مجيء","جئت","جئت","جاء","جئتما","جاءا","جئنا","جئتم","جائوا","جاؤوا","جئت","جاءت","جاءتا","جئتن","جئن","أجيء","تجيء","يجيء","تجيئان","يجيئان","نجيء","تجيئون","تجيؤون","يجيئون","يجيؤون","تجيئين","تجيء","تجيئان","تجئن","يجئن","أجيء","تجيء","يجيء","تجيئا","يجيئا","نجيء","تجيئوا","تجيؤوا","يجيئوا","يجيؤوا","تجيئي","تجيء","تجيئا","تجئن","يجئن","أجئ","تجئ","يجئ","تجيئا","يجيئا","نجئ","تجيئوا","تجيؤوا","يجيئوا","يجيؤوا","تجيئي","تجئ","تجيئا","تجئن","يجئن","جئ","جيئا","جيئوا","جيؤوا","جيئي","جئن","جئت","جئت","جيء","جئتما","جيئا","جئنا","جئتم","جيئوا","جيؤوا","جئت","جيئت","جيئتا","جئتن","جئن","أجاء","تجاء","يجاء","تجاءان","يجاءان","نجاء","تجائون","تجاؤون","يجائون","يجاؤون","تجائين","تجاء","تجاءان","تجأن","يجأن","أجاء","تجاء","يجاء","تجاءا","يجاءا","نجاء","تجائوا","تجاؤوا","يجائوا","يجاؤوا","تجائي","تجاء","تجاءا","تجأن","يجأن","أجأ","تجأ","يجأ","تجاءا","يجاءا","نجأ","تجائوا","تجاؤوا","يجائوا","يجاؤوا","تجائي","تجأ","تجاءا","تجأن","يجأن","إرادة","مريد","مراد","أردت","أردت","أراد","أردتما","أرادا","أردنا","أردتم","أرادوا","أردت","أرادت","أرادتا","أردتن","أردن","أريد","تريد","يريد","تريدان","يريدان","نريد","تريدون","يريدون","تريدين","تريد","تريدان","تردن","يردن","أريد","تريد","يريد","تريدا","يريدا","نريد","تريدوا","يريدوا","تريدي","تريد","تريدا","تردن","يردن","أرد","ترد","يرد","تريدا","يريدا","نرد","تريدوا","يريدوا","تريدي","ترد","تريدا","تردن","يردن","أرد","أريدا","أريدوا","أريدي","أردن","أردت","أردت","أريد","أردتما","أريدا","أردنا","أردتم","أريدوا","أردت","أريدت","أريدتا","أردتن","أردن","أراد","تراد","يراد","ترادان","يرادان","نراد","ترادون","يرادون","ترادين","تراد","ترادان","تردن","يردن","أراد","تراد","يراد","ترادا","يرادا","نراد","ترادوا","يرادوا","ترادي","تراد","ترادا","تردن","يردن","أرد","ترد","يرد","ترادا","يرادا","نرد","ترادوا","يرادوا","ترادي","ترد","ترادا","تردن","يردن","إتيان","أتي","مأتاة","مأتى","آت","مأتي","أتيت","أتيت","أتى","أتيتما","أتيا","أتينا","أتيتم","أتوا","أتيت","أتت","أتتا","أتيتن","أتين","آتي","تأتي","يأتي","تأتيان","يأتيان","نأتي","تأتون","يأتون","تأتين","تأتي","تأتيان","تأتين","يأتين","آتي","تأتي","يأتي","تأتيا","يأتيا","نأتي","تأتوا","يأتوا","تأتي","تأتي","تأتيا","تأتين","يأتين","آت","تأت","يأت","تأتيا","يأتيا","نأت","تأتوا","يأتوا","تأتي","تأت","تأتيا","تأتين","يأتين","ايت","ايتيا","ايتوا","ايتي","ايتين","أتيت","أتيت","أتي","أتيتما","أتيا","أتينا","أتيتم","أتوا","أتيت","أتيت","أتيتا","أتيتن","أتين","أوتى","تؤتى","يؤتى","تؤتيان","يؤتيان","نؤتى","تؤتون","يؤتون","تؤتين","تؤتى","تؤتيان","تؤتين","يؤتين","أوتى","تؤتى","يؤتى","تؤتيا","يؤتيا","نؤتى","تؤتوا","يؤتوا","تؤتي","تؤتى","تؤتيا","تؤتين","يؤتين","أوت","تؤت","يؤت","تؤتيا","يؤتيا","نؤت","تؤتوا","يؤتوا","تؤتي","تؤت","تؤتيا","تؤتين","يؤتين","فعلته","فعل","فعل","فاعل","مفعول","فعلت","فعلت","فعل","فعلتما","فعلا","فعلنا","فعلتم","فعلوا","فعلت","فعلت","فعلتا","فعلتن","فعلن","أفعل","تفعل","يفعل","تفعلان","يفعلان","نفعل","تفعلون","يفعلون","تفعلين","تفعل","تفعلان","تفعلن","يفعلن","أفعل","تفعل","يفعل","تفعلا","يفعلا","نفعل","تفعلوا","يفعلوا","تفعلي","تفعل","تفعلا","تفعلن","يفعلن","أفعل","تفعل","يفعل","تفعلا","يفعلا","نفعل","تفعلوا","يفعلوا","تفعلي","تفعل","تفعلا","تفعلن","يفعلن","افعل","افعلا","افعلوا","افعلي","افعلن","فعلت","فعلت","فعل","فعلتما","فعلا","فعلنا","فعلتم","فعلوا","فعلت","فعلت","فعلتا","فعلتن","فعلن","أفعل","تفعل","يفعل","تفعلان","يفعلان","نفعل","تفعلون","يفعلون","تفعلين","تفعل","تفعلان","تفعلن","يفعلن","أفعل","تفعل","يفعل","تفعلا","يفعلا","نفعل","تفعلوا","يفعلوا","تفعلي","تفعل","تفعلا","تفعلن","يفعلن","أفعل","تفعل","يفعل","تفعلا","يفعلا","نفعل","تفعلوا","يفعلوا","تفعلي","تفعل","تفعلا","تفعلن","يفعلن","قصد","مقصد","قاصد","مقصود","قصدت","قصدت","قصد","قصدتما","قصدا","قصدنا","قصدتم","قصدوا","قصدت","قصدت","قصدتا","قصدتن","قصدن","أقصد","تقصد","يقصد","تقصدان","يقصدان","نقصد","تقصدون","يقصدون","تقصدين","تقصد","تقصدان","تقصدن","يقصدن","أقصد","تقصد","يقصد","تقصدا","يقصدا","نقصد","تقصدوا","يقصدوا","تقصدي","تقصد","تقصدا","تقصدن","يقصدن","أقصد","تقصد","يقصد","تقصدا","يقصدا","نقصد","تقصدوا","يقصدوا","تقصدي","تقصد","تقصدا","تقصدن","يقصدن","اقصد","اقصدا","اقصدوا","اقصدي","اقصدن","قصدت","قصدت","قصد","قصدتما","قصدا","قصدنا","قصدتم","قصدوا","قصدت","قصدت","قصدتا","قصدتن","قصدن","أقصد","تقصد","يقصد","تقصدان","يقصدان","نقصد","تقصدون","يقصدون","تقصدين","تقصد","تقصدان","تقصدن","يقصدن","أقصد","تقصد","يقصد","تقصدا","يقصدا","نقصد","تقصدوا","يقصدوا","تقصدي","تقصد","تقصدا","تقصدن","يقصدن","أقصد","تقصد","يقصد","تقصدا","يقصدا","نقصد","تقصدوا","يقصدوا","تقصدي","تقصد","تقصدا","تقصدن","يقصدن","زائل","زلت","زلت","زال","زلتما","زالا","زلنا","زلتم","زالوا","زلت","زالت","زالتا","زلتن","زلن","أزال","تزال","يزال","تزالان","يزالان","نزال","تزالون","يزالون","تزالين","تزال","تزالان","تزلن","يزلن","أزال","تزال","يزال","تزالا","يزالا","نزال","تزالوا","يزالوا","تزالي","تزال","تزالا","تزلن","يزلن","أزل","تزل","يزل","تزالا","يزالا","نزل","تزالوا","يزالوا","تزالي","تزل","تزالا","تزلن","يزلن","زل","زالا","زالوا","زالي","زلن","عملت","عملت","عمل","عملتما","عملا","عملنا","عملتم","عملوا","عملت","عملت","عملتا","عملتن","عملن","أعمل","تعمل","يعمل","تعملان","يعملان","نعمل","تعملون","يعملون","تعملين","تعملن","يعملن","أعمل","تعمل","يعمل","تعملا","يعملا","نعمل","تعملوا","يعملوا","تعملي","أعمل","تعمل","يعمل","نعمل","اعمل","اعملا","اعملوا","اعملي","اعملن","عملت","عملت","عمل","عملتما","عملا","عملنا","عملتم","عملوا","عملت","عملت","عملتا","عملتن","عملن","أعمل","تعمل","يعمل","تعملان","يعملان","نعمل","تعملون","يعملون","تعملين","تعملن","يعملن","أعمل","تعمل","يعمل","تعملا","يعملا","نعمل","تعملوا","يعملوا","تعملي","أعمل","تعمل","يعمل","نعمل","عملت","عننت","عننت","عن","عننتما","عنا","عننا","عننتم","عنوا","عننت","عنت","عنتا","عننتن","عنن","أعن","أعن","تعن","تعن","يعن","يعن","تعنان","تعنان","يعنان","يعنان","نعن","نعن","تعنون","تعنون","يعنون","يعنون","تعنين","تعنين","تعنن","تعنن","يعنن","يعنن","أعن","أعن","تعن","تعن","يعن","يعن","تعنا","تعنا","يعنا","يعنا","نعن","نعن","تعنوا","تعنوا","يعنوا","يعنوا","تعني","تعني","أعن","أعنن","أعن","أعنن","تعن","تعنن","تعن","تعنن","يعن","يعنن","يعن","يعنن","نعن","نعنن","نعن","نعنن","عن","عن","اعنن","عن","عن","اعنن","عنا","عنا","عنوا","عني","عني","اعنن","اعنن","يعن","يعن","يعن","يعنن","قمت","قمت","قام","قمتما","قاما","قمنا","قمتم","قاموا","قمت","قامت","قامتا","قمتن","قمن","أقوم","تقوم","يقوم","تقومان","يقومان","نقوم","تقومون","يقومون","تقومين","تقمن","يقمن","أقوم","تقوم","يقوم","تقوما","يقوما","نقوم","تقوموا","يقوموا","تقومي","أقم","تقم","يقم","نقم","قم","قوما","قوموا","قومي","قيم","يقام","يقام","يقم","وددت","وددت","ود","وددتما","ودا","وددنا","وددتم","ودوا","وددت","ودت","ودتا","وددتن","وددن","أود","تود","يود","تودان","يودان","نود","تودون","يودون","تودين","توددن","يوددن","أود","تود","يود","تودا","يودا","نود","تودوا","يودوا","تودي","أود","أودد","تود","تودد","يود","يودد","نود","نودد","ود","ايدد","ودي","ايددن","وددت","وددت","ود","وددتما","ودا","وددنا","وددتم","ودوا","وددت","ودت","ودتا","وددتن","وددن","أود","تود","يود","تودان","يودان","نود","تودون","يودون","تودين","توددن","يوددن","أود","تود","يود","تودا","يودا","نود","تودوا","يودوا","تودي","أود","أودد","تود","تودد","يود","يودد","نود","نودد","حاولت","حاولت","حاول","حاولتما","حاولا","حاولنا","حاولتم","حاولوا","حاولت","حاولت","حاولتا","حاولتن","حاولن","أحاول","تحاول","يحاول","تحاولان","يحاولان","نحاول","تحاولون","يحاولون","تحاولين","تحاولن","يحاولن","أحاول","تحاول","يحاول","تحاولا","يحاولا","نحاول","تحاولوا","يحاولوا","تحاولي","أحاول","تحاول","يحاول","نحاول","حاول","حاولا","حاولوا","حاولي","حاولن","حوولت","حوولت","حوول","حوولتما","حوولا","حوولنا","حوولتم","حوولوا","حوولت","حوولت","حوولتا","حوولتن","حوولن","أحاول","تحاول","يحاول","تحاولان","يحاولان","نحاول","تحاولون","يحاولون","تحاولين","تحاولن","يحاولن","أحاول","تحاول","يحاول","تحاولا","يحاولا","نحاول","تحاولوا","يحاولوا","تحاولي","أحاول","تحاول","يحاول","نحاول","احتجت","احتجت","احتاج","احتجتما","احتاجا","احتجنا","احتجتم","احتاجوا","احتجت","احتاجت","احتاجتا","احتجتن","احتجن","أحتاج","تحتاج","يحتاج","تحتاجان","يحتاجان","نحتاج","تحتاجون","يحتاجون","تحتاجين","تحتجن","يحتجن","أحتاج","تحتاج","يحتاج","تحتاجا","يحتاجا","نحتاج","تحتاجوا","يحتاجوا","تحتاجي","أحتج","تحتج","يحتج","نحتج","احتج","احتاجي","احتجت","احتجت","احتيج","احتجتما","احتيجا","احتجنا","احتجتم","احتيجوا","احتجت","احتيجت","احتيجتا","احتجتن","احتجن","أحتاج","تحتاج","يحتاج","تحتاجان","يحتاجان","نحتاج","تحتاجون","يحتاجون","تحتاجين","تحتجن","يحتجن","أحتاج","تحتاج","يحتاج","تحتاجا","يحتاجا","نحتاج","تحتاجوا","يحتاجوا","تحتاجي","أحتج","تحتج","يحتج","نحتج","عنيت","عنيت","عنى","عنيتما","عنيا","عنينا","عنيتم","عنوا","عنيت","عنت","عنتا","عنيتن","عنين","أعني","تعني","يعني","تعنيان","يعنيان","نعني","تعنون","يعنون","تعنين","يعنين","أعني","تعني","يعني","تعنيا","يعنيا","نعني","تعنوا","يعنوا","أعن","تعن","يعن","نعن","اعن","اعنيا","اعنوا","اعني","اعنين","عنيت","عنيت","عني","عنيتما","عنيا","عنينا","عنيتم","عنوا","عنيت","عنيت","عنيتا","عنيتن","عنين","أعنى","تعنى","يعنى","تعنيان","يعنيان","نعنى","تعنون","يعنون","تعنين","يعنين","تعنيا","يعنيا","تعنوا","يعنوا","تعني","أعن","تعن","يعن","نعن","يعنين","عندي","عندنا","عندك","عندك","عندكما","عندكم","عندكن","عنده","عندها","عندهما","عندهم","عندهن","بقاء","البقاء","بقاء","البقاء","بقاء","بقاء","البقاء","بقاء","بقاء","البقاء","بقاء"],j=["جيد","آخر","رائع","أفضل","جيدة","نفس","فقط","مجرد","كبير","الأفضل","عظيم","جميلة","كبيرة","رائعة","جديد","صغيرة","الصغير","متأكد","مهما","صغير","جيدا","الصغيرة","أكبر","جديدة","افضل","الجديد","طويلة","ممكن","اخر","طويل","الممكن","الخاصة","سيئة","الكبير","حقيقي","بعيدا","الجيد","مهم","الجديدة","كثير","الكبيرة","القليل","ممتاز","الحقيقي","سيء","معا","قليل","بعيد","واضح","مختلف","متأكدة","الصعب","أسوأ","حوالي","كامل","سيئ","بالإمكان","بكثير","خاص","سوية","مختلفة","قريب","الأخير","الأخيرة","الافضل","خير"],A=["واو","هيا","آه","هيه","هاى","أوه","أخخ","هووه","صه","أوبس","أها","آخ","أح","شو","ههههه"],H=["كلغ","ملغ","الكوارت","جرام","جالون","ربع ","كوارتات","لتر","سنتيلتر","مليمتر","دزينة","ملاعق","ذراع","قبضة","عربية","قصبة","بريد","قدم","ربع"],k=["الأمر","الأشياء","الشيء","الأمور","الامر","أشياء","جزء","الاشياء","الامور","الطريقة","طريقا","طرق","قطعة","الأجزاء","مادة","مرات","بالمئة","جانب","جوانب","بند","عنصر","عناصر","بنود","فكرة","موضوع","تفصيل","تفاصيل","فرق","فروق","كيفية"],D=["نعم","حسنا","إنه","إني","إنها","إنك","إنكم","إنهم","إنكما","إنهما","إننا","إنهن","فإن","إنني","كلا","أجل","أنه","أنك","انها","أنها","بأن","أنني","أنكم","أنهما","أنكما","أنهن","أنهم","انك","أني","أننا","انهم","بأنك","لأنه","بأنه","اني","أننى","انني","اننا","بأنني","اننى","بأني","بأنها","وأن","بأننا","للتو","ها","رجاء","تفضل","اجل","حالك","فضلك","أرجوك","هكذا","انة","بلى","أعلى","انى","لا","لن","لم","ولا","ألا","ولم","ولن","عدم","فلا","فلن","يلا","يلة"],T=["عندما","مثل","بالطبع","لأن","إذن","بشكل","متى","حتى","قبل","ثم","عند","حيث","بينما","لمدة","مثلك","حين","بأي","زلت","وعندما","أثناء","حينما","أولا","لاحقا","أما","وإلا","لفترة","كلما","عندنا","إلا","الا"],Y=(i([].concat(u,j)),i([].concat(c,L,z,O,f,x,h)),i([].concat(T,o,y,l,d,g,A,a,F,b,_,M,w,P,S,R,W,v,D,E,H,["اليوم","يوم","ليلة","دقيقة","ساعة","عام","دقائق","سنة","الساعة","أيام","العام","الأسبوع","غدا","ساعات","أمس","أشهر","الأيام","شهر","السنة","الغد","يوما","ثانية","ثوان","أسبوع","أسابيع","أسبوعا","بالأمس"],k,m,p)),i([].concat(c,a,u,f,g,l,d,h,w,S,R,W,v,y,E,F,b,L,O,P,_,T,o,["الآن","كذلك","ربما","كما","لذا","الان","الأن","بما","أيضا","بالنسبة","فحسب","والآن","بكل","مما","ايضا","بخصوص","القادمة","المحتمل","مازال","مازلت","طالما","بالتأكيد","بدلا","بوضوح","فورا","حالا","التالي","حاليا","بالعادة","تقريبا","ببساطة","اختياريا","أحيانا","أبدا","بالمناسبة","خاصة","مؤخرا","نسبيا"],x,M,A,j,H,k,D,["السيد","السيدة","افندم","سعادتك","استاذة","استاذ","مدام","أستاذ","أسـتاذة","الأخ","الأخت"],m,p,z))),B=[["لا","ولا"],["إما","أو"],["ربما","ربما"],["حينئذ","عندئذ"],["إما","وإما"],["كل من","و"]],C=["ل","ب","ك","و","ف","س","أ","ال","وب","ول","لل","فس","فب","فل","وس","وال","بال","فال","كال","ولل","وبال"],$=[...C].sort(((e,t)=>t.length-e.length)),q=new RegExp(`^(${$.join("|")})`);function G(e){const t=[];t.push(...C.map((t=>t+e)));const{stem:r,prefix:n}=function(e,t){let r=e,n="";const o=e.match(t);return o&&(n=o[0],r=e.slice(n.length)),{stem:r,prefix:n}}(e,q);return""!==n&&(t.push(r),t.push(...C.map((e=>e+r)))),t}const I=window.lodash,J=function(e,t){const r=t.externalStemmer,n=r.characters;return r.wordsWithLastAlefRemoved.includes(e)?e+n.alef:r.wordsWithLastHamzaRemoved.includes(e)?e+n.alef_hamza_above:r.wordsWithLastMaksoraRemoved.includes(e)?e+n.yeh_maksorah:r.wordsWithLastYehRemoved.includes(e)?e+n.yeh:void 0},K=function(e,t){const r=t.externalStemmer,n=r.characters;return r.wordsWithMiddleWawRemoved.includes(e)?e[0]+n.waw+e[1]:r.wordsWithMiddleYehRemoved.includes(e)?e[0]+n.yeh+e[1]:void 0},N=function(e,t,r,n){const o=e.replace(new RegExp(r[0]),r[1]);if(o!==e)return n(o,t)},Q=function(e,t){const r=t.externalStemmer.characters;if(t.externalStemmer.threeLetterRoots.includes(e))return e;e[0]!==r.alef&&e[0]!==r.waw_hamza&&e[0]!==r.yeh_hamza||(e=r.alef_hamza_above+e.slice(1));const n=N(e,t,t.externalStemmer.regexRemoveLastWeakLetterOrHamza,J);if(n)return n;const o=N(e,t,t.externalStemmer.regexRemoveMiddleWeakLetterOrHamza,K);if(o)return o;const s=t.externalStemmer.regexReplaceMiddleLetterWithAlef,i=t.externalStemmer.regexReplaceMiddleLetterWithAlefWithHamza,c=e.replace(new RegExp(s[0]),s[1]);e=c===e?e.replace(new RegExp(i[0]),i[1]):c;const a=t.externalStemmer.regexRemoveShaddaAndDuplicateLastLetter;return e.replace(new RegExp(a[0]),a[1])},U=function(e,t,r){return 6===e.length&&e[3]===e[5]&&2===t?Q(e.substring(1,4),r):e},V=function(e,t,r,n){const o=n.externalStemmer.characters;if(e.length-3<=r){let r="";for(let n=0;n<e.length;n++)t[n]!==o.feh&&t[n]!==o.aen&&t[n]!==o.lam||(r=r.concat(e[n]));return Q(r,n)}return e},X=function(e,t,r){const n=r.externalStemmer.characters;let o=0;for(let r=0;r<e.length;r++)t[r]===e[r]&&t[r]!==n.feh&&t[r]!==n.aen&&t[r]!==n.lam&&o++;return o},Z=function(e,t){const r=function(e,t){return e.replace(new RegExp(t[0]),t[1])}(e,t.externalStemmer.regexReplaceFirstHamzaWithAlef);for(const e of t.externalStemmer.patterns)if(e.length===r.length){const n=X(r,e,t),o=U(r,n,t);if(o!==r)return{word:o,rootFound:!0};const s=V(r,e,n,t);if(s!==r)return{word:s,rootFound:!0}}if(r!==e)return{word:r,rootFound:!1}},ee=function(e,t){return 2===e.length?function(e,t){if(t.externalStemmer.wordsWithRemovedDuplicateLetter.includes(e))return e+e.substring(1);const r=J(e,t);if(r)return r;const n=function(e,t){const r=t.externalStemmer,n=r.characters;return r.wordsWithFirstWawRemoved.includes(e)?n.waw+e:r.wordsWithFirstYehRemoved.includes(e)?n.yeh+e:void 0}(e,t);if(n)return n;return K(e,t)||e}(e,t):3===e.length?Q(e,t):4===e.length&&t.externalStemmer.fourLetterRoots.includes(e)?e:void 0},te=function(e,t){for(const r of t)if(e.startsWith(r))return e.substring(r.length,e.length);return e},re=function(e,t){const r=function(e,t){for(const r of t)if(e.endsWith(r))return e.slice(0,-r.length);return e}(e,t.externalStemmer.suffixes);if(r!==e){const e=ee(r,t);if(e)return{word:e,rootFound:!0};const n=Z(r,t);if(n)return n}},ne=function(e,t){let r=te(e,t.externalStemmer.prefixes);if(r!==e){const e=ee(r,t);if(e)return{word:e,rootFound:!0};const n=Z(r,t);if(n){if(!0===n.rootFound)return n;r=n.word}const o=re(r,t);if(o)return o}},oe=function(e,t){const r=ee(e,t);if(r)return{word:r,rootFound:!0};const n=Z(e,t);let o=e;if(n){if(!0===n.rootFound)return n;o=n.word}const s=re(o,t);if(s)return s;return ne(o,t)||(o!==e?{word:o,rootFound:!1}:void 0)},{baseStemmer:se}=r.languageProcessing;function ie(e){const t=(0,I.get)(e.getData("morphology"),"ar",!1);return t?e=>function(e,t){const r=t.externalStemmer.regexRemovingDiacritics;e.replace(new RegExp(r),"");const n=ee(e,t);if(n)return n;const o=Z(e,t);if(o){if(!0===o.rootFound)return o.word;e=o.word}const s=function(e,t){const r=te(e,t.externalStemmer.definiteArticles);if(r!==e)return oe(r,t)||{word:r,rootFound:!1}}(e,t);if(s){if(!0===s.rootFound)return s.word;e=s.word}const i=function(e,t){let r="";if(e.length>3&&e.startsWith(t.externalStemmer.characters.waw)){r=e.substring(1);const n=oe(r,t);if(n)return n}}(e,t);if(i){if(!0===i.rootFound)return i.word;e=i.word}const c=re(e,t);if(c)return c.word;const a=ne(e,t);return a?a.word:e}(e,t):se}const ce=["غودرت","غودر","غودرتما","غودرا","غودرتا","غودرنا","غودرتم","غودرتنّ","غودروا","غودرن","مغادر","محثوث","تجرى","يجرى","مجرى","تبقى","يبقى","مبقى","تجوهلت","تجوهل","تجوهلت","تجوهلتما","تجوهلا","تجوهلتا","تجوهلنا","تجوهلتم","تجوهلتنّ","تجوهلوا","تجوهلن","متجاهل","تشوورت","تشوور","تشوورتما","تشوورا","تشوورتا","تشوورنا","تشوورتم","تشوورتنّ","تشووروا","تشوورن","متشاور","نوقشت","نوقش","نوقشتما","نوقشا","نوقشتا","نوقشنا","نوقشتم","نوقشتنّ","نوقشوا","نوقشن","مناقش","معود","ترتدى","يرتدى","نرتدى","مرتدى","تنتهى","ينتهى","ننتهى","تجووزت","تجووز","تجووزتما","تجووزا","تجووزتا","تجووزنا","تجووزتم","تجووزتنّ","تجووزوا","تجووزن","حوولت","حوول","حوولتما","حوولا","حوولتا","حوولنا","حوولتم","حوولتنّ","حوولوا","حوولن","تعولجت","تعولج","تعولجتما","تعولجا","تعولجتا","تعولجنا","تعولجتم","تعولجتنّ","تعولجوا","تعولجن","متعالج","أشير","أشيرا","أشيرتا","أشيروا","تشار","تشارين","يشار","تشاران","يشاران","نشار","تشارون","يشارون","جيء","جيئت","جيئا","جيئتا","جيئوا","أجاء","تجاء","تجائين","يجاء","تجاءان","يجاءان","نجاء","تجائون","تجأن","يجائون","يجأن","يوصى","توصى","نوصى","موصى","احتيج","احتيجت","احتيجا","احتيجتا","احتيجوا","تعطى","يعطى","نعطى","معطى","تعوليت","تعولي","تعوليتما","تعوليا","تعوليتا","تعولينا","تعوليتم","تعوليتنّ","تعولوا","تعولين"," شوركت","شورك","شوركتما","شوركا","شوركتا","شوركنا","شوركتم","شوركتنّ","شوركوا","شوركن","تتولّى","يتولّى","نتولّى","زيد","زيدت","زيدا","زيدتا","زيدوا","أزاد","تزاد","تزادين","يزاد","تزادان","يزادان","نزاد","تزادون","يزادون","سوعدت","سوعد","سوعدتما","سوعدا","سوعدتا","سوعدنا","سوعدتم","سوعدتنّ","سوعدوا","سوعدن","رئيت","رئي","رئيتما","رئيا","رئيتا","رئينا","رئيتم","رئيتنّ","رؤوا","رئين","تفووضت","تفووض","تفووضتما","تفووضا","تفووضتا","تفووضنا","تفووضتم","تفووضتنّ","تفووضوا","تفووضن","تزويدت","تزويد","تزويدتما","تزويدا","تزويدتا","تزويدنا","تزويدتم","تزويدتنّ","تزويدوا","تزويدن","تتلقّى","يتلقّى","نتلقّى","لوحظت","لوحظ","لوحظتما","لوحظا","لوحظتا","لوحظنا","لوحظتم","لوحظتنّ","لوحظوا","لوحظن","تسعى","يسعى","نسعى","أوتيت","أوتي","أوتيتما","أوتيا","أوتيتا","أوتينا","أوتيتم","أوتيتنّ","أوتوا","أوتين","ووفقت","ووفق","ووفقتما","ووفقا","ووفقتا","ووفقنا","ووفقتم","ووفقتنّ","ووفقوا","ووفقن","إين","إينت","إينا","إينتا","إينوا","أؤان","تؤان","تؤانين","يؤان","تؤانان","يؤانان","نؤان","تؤانون","يؤانون","أوخذت","أوخذ","أوخذتما","أوخذا","أوخذتا","أوخذنا","أوخذتم","أوخذتنّ","أوخذوا","أوخذن","لهيت","لهي","لهيتما","لهيا","لهيتا","لهينا","لهيتم","لهيتم","لهوا","لهين","ألهى","تلهى","يلهى","تلهى","تلهيان","يلهيان","نلهى","يلهين","تتبقّى","يتبقّى","نتبقّى","تنوولت","تنوول","تنوولتما","تنوولا","تنوولتا","تنوولنا","تنوولتم","تنوولتنّ","تنوولوا","تنوولن","تووجهت","تووجه","تووجهتما","تووجها","تووجهتا","تووجهنا","تووجهتم","تووجهتنّ","تووجهوا","تووجهن","تبودلت","تبودل","تبودلتما","تبودلا","تبودلتا","تبودلنا","تبودلتم","تبودلتم","تبودلوا","تبودلن","تعورضت","تعورض","تعورضتما","تعورضا","تعورضتا","تعورضنا","تعورضتم","تعورضتنّ","تعورضوا","تعورضن","تعورضن","تعنى","يعنى","نعنى","طولبت","طولب","طولبتما","طولبا","طولبتا","طولبنا","طولبتم","طولبتنّ","طولبوا","طولبن","قيم","قيمت","قيما","قيمتا","قيموا","أقام","تقام","تقامين","يقام","تقامان","يقامان","نقام","تقامون","يقامون","أنشئت","أنشئ","أنشئتما","أنشئا","أنشئتا","أنشئنا","أنشئتم","أنشئتنّ","أنشئوا","أنشئن","تنشأ","تنشئين","ينشأ","تنشآن","ينشآن","ننشأ","تنشأون","ينشأون","ينشأن","تنشأن","غطّي","تغطّى","يغطّى","نغطّى","قوتلت","قوتل","قوتلتما","قوتلا","قوتلتا","قوتلنا","قوتلنا","قوتلتنّ","قوتلوا","قوتلن","أسمى","تسمى","يسمى","نسمى","أوثرت","أوثر","أوثرتما","أوثرا","أوثرتا","أوثرنا","أوثرتم","أوثرتنّ","أوثروا","أوثرن","غنّي","أغنّى","تغنّى","يغنّى","نغنّى","استفيد","استفيدت","استفيدا","استفيدتا","استفيدوا","أستفاد","تستفاد","تستفادين","يستفاد","تستفادان","يستفادان","نستفاد","تستفادون","يستفادون","أثير","أثيرت","أثيرا","أثيرا","أثيروا","أثار","تثار","تثارين","يثار","تثاران","يثاران","نثار","تثارون","يثارون","تدّعى","يدّعى","ندّعى","عيش","عيشت","عيشا","عيشتا","عيشوا","أعاش","تعاش","تعاشين","يعاش","تعاشان","يعاشان","نعاش","تعاشون","يعاشون","ووجهت","ووجه","ووجهتما","ووجها","ووجهتا","ووجهنا","ووجهتم","ووجهتنّ","ووجهوا","ووجهن","دعيت","دعي","دعيا","دعيتا","دعينا","دعيتم","دعيتنّ","دعوا","دعين","أدعى","تدعى","تدعين","تدعين","تدعيان","يدعيان","يدعين","اختير","اختيرت","اختيرا","اختيرتا","اختيروا","اخترن","شوهدت","شوهد","شوهدتما","شوهدا","شوهدتا","شوهدنا","شوهدتم","شوهدتنّ","شوهدوا","شوهدن","أدّي","أؤدّى","تؤدّى","يؤدّى","نؤدّى","أفيدت","أفيدا","أفيدتا","أفيدوا","يفادون","تفادون","نفاد","تفادان","يفادان","تفاد","يفاد","تفادين","أفاد","تكوملت","تكومل","تكوملتما","تكوملا","تكوملتا","تكوملنا","تكوملتم","تكوملتنّ","تكوملوا","تكوملن","أهنّئ","تهنّئ","تهنّئين","يهنّئ","يهنّئ","يهنّئان","تهنّئان","نهنّئ","تهنّئون","تهنّئن","هنّئوا","هنّئن","أهنّأ","تهنّأ","يهنّأ","تهنّآن","نهنّأ","تهنّأون","تهنّأن","يهنّأون","يهنّأن","سوهمت","سوهم","سوهمتما","سوهما","سوهمتا","سوهمنا","سوهمتم","سوهمتنّ","سوهموا","سوهمن","أرمى","ترمى","يرمى","نرمى","أبلغت"],{getWords:ae}=r.languageProcessing;function ue(e){const t=ae(e),r=[];for(let e of t){e.startsWith("و")&&(e=e.slice(1));let t=-1;e.length>=2&&(t=e[1].search("ُ")),(-1!==t||ce.includes(e))&&r.push(e)}return 0!==r.length}const{AbstractResearcher:le}=r.languageProcessing;class de extends le{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"ar",passiveConstructionType:"morphological",firstWordExceptions:n,functionWords:Y,transitionWords:s,twoPartTransitionWords:B,prefixedFunctionWordsRegex:q}),Object.assign(this.helpers,{createBasicWordForms:G,getStemmer:ie,isPassiveSentence:ue})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/it.js 0000644 00000352454 15174677550 0010465 0 ustar 00 (()=>{"use strict";var a={d:(t,i)=>{for(var e in i)a.o(i,e)&&!a.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},o:(a,t)=>Object.prototype.hasOwnProperty.call(a,t),r:a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},t={};a.r(t),a.d(t,{default:()=>ha});const i=window.yoast.analysis,e=["il","lo","la","i","gli","le","uno","un","una","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","questo","questa","quello","quella","questi","queste","quelli","quelle","codesto","codesti","codesta","codeste"],r=["abbastanza","acciocché","acciocchè","adesso","affinché","affinchè","allora","almeno","alquanto","altrettanto","altrimenti","analogamente","anche","ancora","antecedentemente","anzi","anzitutto","apertamente","appena","assai","attualmente","benché","benchè","beninteso","bensì","brevemente","bruscamente","casomai","celermente","certamente","certo","chiaramente","ciononostante","cioé","cioè","comparabilmente","come","complessivamente","completamente","comunque","concisamente","concludendo","conformemente","congiuntamente","conseguentemente","considerando","considerato","considerevolmente","contemporaneamente","continuamente","contrariamente","controbilanciato","così","cosicché","cosicchè","dapprima","dato","davvero","definitivamente","dettagliatamente","differentemente","diversamente","dopo","dopodiché","dopodichè","durante","dunque","eccetto","eccome","effettivamente","egualmente","elencando","enfaticamente","eppure","esaurientemente","esplicitamente","espressamente","estesamente","evidentemente","finalmente","finché","finchè","fino","finora","fintanto","fintanto che","fintantoché","fintantochè","fondamentalmente","frattanto","frequentemente","generalmente","già","gradualmente","illustrando","immantinente","immediatamente","importantissimo","incontestabilmente","incredibilmente","indipendentemente","indiscutibilmente","indubbiamente","infatti","infine","innanzitutto","innegabilmente","inoltre","insomma","intanto","interamente","istantaneamente","invece","logicamente","lentamente","ma","malgrado","marcatamente","memorabile","mentre","motivatamente","naturalmente","né","nè","neanche","neppure","nonché","nonchè","nondimeno","nonostante","notevolmente","occasionalmente","oltretutto","onde","onestamente","ossia","ostinatamente","ovvero","ovviamente","parimenti","particolarmente","peraltro","perché","perchè","perciò","perlomeno","però","pertanto","pesantemente","piuttosto","poi","poiché","poichè","praticamente","precedentemente","preferibilmente","precisamente","prematuramente","presto","prima","primariamente","primo","principalmente","prontamente","proporzionalmente","pure","purché","purchè","quando","quanto","quantomeno","quindi","raramente","realmente","relativamente","riassumendo","riformulando","ripetutamente","saltuariamente","schiettamente","sebbene","secondariamente","secondo","sempre","sennò","seguente","sensibilmente","seppure","seriamente","siccome","sicuramente","significativamente","similmente","simultaneamente","singolarmente","sinteticamente","solitamente","solo","soltanto","soprattutto","sopravvalutato","sorprendentemente","sostanzialmente","sottolineando","sottovalutato","specialmente","specificamente","specificatamente","subitamente","subito","successivamente","successivo","talmente","terzo","totalmente","tranne","tuttavia","ugualmente","ulteriormente","ultimamente","veramente","verosimilmente","visto"],s=r.concat(["a breve","a causa","a causa di","a condizione che","a conseguenza","a conti fatti","a differenza di","a differenza del","a differenza della","a differenza dei","a differenza degli","a differenza delle","a dire il vero","a dire la verità","a dirla tutta","a dispetto di","a lungo","a lungo termine","a maggior ragione","a meno che non","a parte","a patto che","a prescindere","a prima vista","a proposito","a qualunque costo","a quanto","a quel proposito","a quel tempo","a quell'epoca","a questo fine","a questo proposito","a questo punto","a questo riguardo","a questo scopo","a riguardo","a seguire","a seguito","a sottolineare","a tal fine","a tal proposito","a tempo debito","a tutti gli effetti","a tutti i costi","a una prima occhiata","ad eccezione di","ad esempio","ad essere maliziosi","ad essere sinceri","ad ogni buon conto","ad ogni costo","ad ogni modo","ad una prima occhiata","adesso che","al che","al contrario","al contrario di","al fine di","al fine di fare","al giorno d'oggi","al momento","al momento giusto","al momento opportuno","al più presto","al posto di","al suo posto","al termine","all'epoca","all'infuori di","all'inizio","all'opposto","all'ultimo","alla fine","alla fine della fiera","alla luce","alla luce di","alla lunga","alla moda","alla stessa maniera","allo scopo di","allo stesso modo","allo stesso tempo","anch'esso","anch'io","anche se","ancora più","ancora di più","assumendo che","bisogna chiarire che","bisogna considerare che","causato da","ciò nondimeno","ciò nonostante","col tempo","con il tempo","come a dire","come abbiamo dimostrato","come è stato notato","come è stato detto","come è stato dimostrato","come hanno detto","come ho detto","come ho dimostrato","come ho notato","come potete notare","come potete vedere","come puoi notare","come puoi vedere","come si è dimostrato","come si può vedere","come si può notare","come sopra indicato","comunque sia","con attenzione","con enfasi","con il risultato che","con l'obiettivo di","con ostinazione","con questa intenzione","con questa idea","con queste idee","con questo in testa","con questo scopo","così che","così da","d'altra parte","d'altro canto","d'altro lato","d'altronde","d'ora in avanti","d'ora in poi","da allora","da quando","da quanto","da quel momento","da quella volta","da questo momento in poi","da questo momento","da qui","da ultimo","da un certo punto di vista","da un lato","da una parte","dall'altro lato","dall'epoca","dal che","dato che","dato per assunto che","davanti a","del tutto","dell'epoca","detto questo","di certo","di colpo","di conseguenza","di fatto","di fronte","di fronte a","di lì a poco","di punto in bianco","di quando in quando","di quanto non sia","di quel tempo","di qui a","di rado","di seguito","di si","di sicuro","di solito","di tanto in tanto","di tutt'altra pasta","di quando in quando","differente da","diversamente da","diverso da","dopotutto","dovuto a","e anche","e inoltre","entro breve","fermo restando che","faccia a faccia","fin da","fin dall'inizio","fin quando","finché non","finchè non","fin dal primo momento","fin dall'inizio","fino a","fino a questo momento","fino ad oggi","fino ai giorni nostri","fino adesso","fino a un certo punto","fino adesso","fra quanto","il prima possibile","in aggiunta","in altre parole","in altri termini","in ambo i casi","in breve","in caso di","in conclusione","in conformità","in confronto","in confronto a","in conseguenza","in considerazione","in considerazione di","in definitiva","in dettaglio","importante rendersi conto","in effetti","in entrambi i casi","in fin dei conti","in generale","in genere","in linea di massima","in poche parole","il più possibile","in maggior parte","in maniera analoga","in maniera convincente","in maniera esauriente","in maniera esaustiva","in maniera esplicita","in maniera evidente","in maniera incontestabile","in maniera indiscutibile","in maniera innegabile","in maniera significativa","in maniera simile","in modo allusivo","in modo analogo","in modo che","in modo convincente","in modo da","in modo identico","in modo notevole","in modo significativo","in modo significativo","in modo simile","in ogni caso","in ogni modo","in ogni momento","in parte considerevole","in parti uguali","in particolare","in particolare per","in particolare","in più","in pratica","in precedenza","in prima battuta","in prima istanza","in primo luogo","in rapporto","in qualche modo","in qualsiasi modo","in qualsiasi momento","in qualunque modo","in qualunque momento","in quarta battuta","in quarta istanza","in quarto luogo","in quel caso","in quelle circostanze","in questa occasione","in questa situazione","in questo caso","in questo caso particolare","in questo istante","in questo momento","in rare occasioni","in realtà","in seconda battuta","in seconda istanza","in secondo luogo","in seguito","in sintesi","in sostanza","in tempo","in terza battuta","in terza istanza","in terzo luogo","in totale","in tutto","in ugual maniera","in ugual misura","in ugual modo","in ultima analisi","in ultima istanza","in un altro caso","in una parola","in verità","insieme a","insieme con","invece che","invece di","la prima cosa da considerare","la prima cosa da tenere a mente","lo stesso","mentre potrebbe essere vero","motivo per cui","motivo per il quale","ne consegue che","ne deriva che","nei dettagli","nel caso","nel caso che","nel caso in cui","nel complesso","nel corso del","nel corso di","nel frattempo","nel lungo periodo","nel mentre","nell'eventualità che","nella misura in cui","nella speranza che","nella stessa maniera","nella stessa misura","nello specifico","nello stesso modo","nello stesso momento","nello stesso stile","non appena","non per essere maliziosi","non più da","nonostante ciò","nonostante tutto","ogni qualvolta","ogni tanto","ogni volta","oltre a","oltre a ciò","ora che","passo dopo passo","per causa di","per certo","per chiarezza","per chiarire","per come","per concludere","per conto di","per contro","per cui","per davvero","per di più","per dirla in altro modo","per dirla meglio","per dirla tutta","per es.","per esempio","per essere sinceri","per far vedere","per farla breve","per finire","per l'avvenire","per l'ultima volta","per la maggior parte","per la stessa ragione","per la verità","per lo più","per mettere in luce","per metterla in altro modo","per non dire di","per non parlare di","per ora","per ovvi motivi","per paura di","per paura dei","per paura delle","per paura degli","per prima cosa","per quanto","per questa ragione","per questo motivo","per riassumere","per sottolineare","per timore","per trarre le conclusioni","per ultima","per ultime","per ultimi","per ultimo","per via di","perché si","perchè si","perfino se","piano piano","più di ogni altra cosa","più di tutto","più facilmente","più importante","più tardi","poco a poco","poco dopo","prendiamo il caso di","presto o tardi","prima che","prima di","prima di ogni cosa","prima di tutto","prima o dopo","prima o poi","questo è probabilmente vero","questo potrebbe essere vero","restando inteso che","riassumendo","quanto prima","questa volta","se confrontato con","se e solo se","se no","seduta stante","sempreché","semprechè","sempre che","senz'altro","senza alcun riguardo","senza dubbio","senz'ombra di dubbio","senza ombra di dubbio","senza riguardo per","senza tregua","senza ulteriore ritardo","sia quel che sia","solo se","sotto questa luce","sperando che","sta volta","su tutto","subito dopo","sul serio","tanto per cominciare","tanto quanto","tra breve","tra l'altro","tra poco","tra quanto","tutte le volte","tutti insieme","tutto a un tratto","tutto ad un tratto","tutto d'un tratto","tutto considerato","tutto sommato","un passo alla volta","un tempo","una volta","una volta ogni tanto","unito a","va chiarito che","va considerato che","vada come vada","vale a dire","visto che"]);function o(a){let t=a;return a.forEach((i=>{(i=i.split("-")).length>0&&i.filter((t=>!a.includes(t))).length>0&&(t=t.concat(i))})),t}const n=["il","i","la","le","lo","gli","un","uno","una"],c=["due","tre","quattro","cinque","sette","otto","nove","dieci","undici","dodici","tredici","quattordici","quindici","sedici","diciassette","diciotto","diciannove","venti","cento","mille","mila","duemila","tremila","quattromila","cinquemila","seimila","settemila","ottomila","novemila","diecimila","milione","milioni","miliardo","miliardi"],l=["prima","primi","prime","secondo","seconda","secondi","seconde","terzo","terza","terzi","terze","quarto","quarta","quarti","quarte","quinto","quinta","quinti","quinte","sesto","sesta","sesti","seste","settimo","settima","settimi","settime","ottavo","ottava","ottavi","ottave","nono","nona","noni","none","decimo","decima","decimi","decime","undicesimo","undicesima","undicesimi","undicesime","dodicesimo","dodicesima","dodicesimi","dodicesime","tredicesimo","tredicesima","tredicesimi","tredicesime","quattordicesimo","quattordicesima","quattordicesimi","quattordicesime","quindicesimo","quindicesima","quindicesimi","quindicesime","sedicesimo","sedicesima","sedicesimi","sedicesime","diciassettesimo","diciassettesima","diciassettesimi","diciassettesime","diciannovesimo","diciannovesima","diciannovesimi","diciannovesime","ventesimo","ventesima","ventesimi","ventesime"],p=["io","tu","egli","esso","lui","ella","essa","lei","noi","voi","essi","esse","loro"],m=["mi","ti","si","ci","vi","li","me","te","se","glie","glielo","gliela","glieli","gliele","gliene","ce","ve"],d=["sé"],u=["ciò","codesto","codesta","codesti","codeste","colei","colui","coloro","costei","costui","costoro","medesimo","medesima","medesimi","medesime","questo","questa","questi","queste","quello","quella","quelli","quelle","quel","quei","quegli"],g=["mio","mia","miei","mie","tuo","tua","tuoi","tue","suo","sua","suoi","sue","nostro","nostra","nostri","nostre","vostro","vostra","vostri","vostre"],z=["affatto","alcun","alcuna","alcune","alcuni","alcuno","bastantemente","grandemente","massimamente","meno","minimamente","molta","molte","molti","moltissimo","molto","nessun","nessuna","nessuno","niente","nulla","ogni","più","po'","poca","poche","pochi","poco","pochissime","pochissimi","qualche","qualsiasi","qualunque","quintali","rara","rarissima","rarissimo","raro","spesso","spessissimo","sufficientemente","taluno","taluna","taluni","talune","tanta","tante","tanti","tantissime","tantissimi","tanto","tonnellate","troppa","troppe","troppi","troppo","tutta","tutte","tutti","tutto"],f=["alcunché","alcunchè","altro","altra","altri","altre","certa","certi","certe","checché","checchè","chicchessia","chiunque","ciascuno","ciascuna","ciascun","diverso","diversa","diversi","diverse","parecchio","parecchia","parecchi","parecchie","qualcosa","qualcuno","qualcuna","vario","varia","vari","varie"],v=["che","cosa","cui","qual","quale","quali"],b=["chi","quanta","quante","quanti","quanto"],h=["com'è","com'era","com'erano","donde","d'onde","dove","dov'è","dov'era","dov'erano","dovunque"],q=["ne"],w=["accanto","altrove","attorno","dappertutto","giù","là","laggiù","lassù","lì","ovunque","qua","quaggiù","quassù","qui"],y=["vengano","vengo","vengono","veniamo","veniate","venimmo","venisse","venissero","venissi","venissimo","veniste","venisti","venite","veniva","venivamo","venivano","venivate","venivi","venivo","venne","vennero","venni","verrà","verrai","verranno","verrebbe","verrebbero","verrei","verremmo","verremo","verreste","verresti","verrete","verrò","viene","vieni"],x=["venire","venir"],B=["abbi","abbia","abbiamo","abbiano","abbiate","abbiente","avemmo","avendo","avente","avesse","avessero","avessi","avessimo","aveste","avesti","avete","aveva","avevamo","avevano","avevate","avevi","avevo","avrà","avrai","avranno","avrebbe","avrebbero","avrei","avremmo","avremo","avreste","avresti","avrete","avrò","avuto","ebbe","ebbero","ebbi","ha","hai","hanno","ho","l'abbi","l'abbia","l'abbiamo","l'abbiano","l'abbiate","l'abbiente","l'avemmo","l'avendo","l'avente","l'avesse","l'avessero","l'avessi","l'avessimo","l'aveste","l'avesti","l'avete","l'aveva","l'avevamo","l'avevano","l'avevate","l'avevi","l'avevo","l'avrà","l'avrai","l'avranno","l'avrebbe","l'avrebbero","l'avrei","l'avremmo","l'avremo","l'avreste","l'avresti","l'avrete","l'avrò","l'avuto","l'ebbe","l'ebbero","l'ebbi","l'ha","l'hai","l'hanno","l'ho","possa","possano","possiamo","possiate","posso","possono","poté","potei","potemmo","potendo","potente","poterono","potesse","potessero","potessi","potessimo","poteste","potesti","potete","potette","potettero","potetti","poteva","potevamo","potevano","potevate","potevi","potevo","potrà","potrai","potranno","potrebbe","potrebbero","potrei","potremmo","potremo","potreste","potresti","potrete","potrò","potuto","può","puoi","voglia","vogliamo","vogliano","vogliate","voglio","vogliono","volemmo","volendo","volente","volesse","volessero","volessi","volessimo","voleste","volesti","volete","voleva","volevamo","volevano","volevate","volevi","volevo","volle","vollero","volli","voluto","vorrà","vorrai","vorranno","vorrebbe","vorrebbero","vorrei","vorremmo","vorremo","vorreste","vorresti","vorrete","vorrò","vuoi","vuole","debba","debbano","debbono","deva","deve","devi","devo","devono","dobbiamo","dobbiate","dové","dovei","dovemmo","dovendo","doverono","dovesse","dovessero","dovessi","dovessimo","doveste","dovesti","dovete","dovette","dovettero","dovetti","doveva","dovevamo","dovevano","dovevate","dovevi","dovevo","dovrà","dovrai","dovranno","dovrebbe","dovrebbero","dovrei","dovremmo","dovremo","dovreste","dovresti","dovrete","dovrò","dovuto","sa","sai","sanno","sapemmo","sapendo","sapesse","sapessero","sapessi","sapessimo","sapeste","sapesti","sapete","sapeva","sapevamo","sapevano","sapevate","sapevi","sapevo","sappi","sappia","sappiamo","sappiano","sappiate","saprà","saprai","sapranno","saprebbe","saprebbero","saprei","sapremmo","sapremo","sapreste","sapresti","saprete","saprò","saputo","seppe","seppero","seppi","so","soglia","sogliamo","sogliano","sogliate","soglio","sogliono","solesse","solessero","solessi","solessimo","soleste","solete","soleva","solevamo","solevano","solevate","solevi","solevo","suoli","sta","stai","stando","stanno","stante","starà","starai","staranno","staremo","starete","starò","stava","stavamo","stavano","stavate","stavi","stavo","stemmo","stessero","stessimo","steste","stesti","stette","stettero","stetti","stia","stiamo","stiano","stiate","sto"],F=["avere","l'avere","aver","l'aver","potere","poter","volere","voler","dovere","dover","sapere","saper","solere","stare","star"],S=["è","e'","era","erano","eravamo","eravate","eri","ero","essendo","essente","fosse","fossero","fossi","fossimo","foste","fosti","fu","fui","fummo","furono","sarà","sarai","saranno","sarebbe","sarebbero","sarei","saremmo","saremo","sareste","saresti","sarete","sarò","sei","sia","siamo","siano","siate","siete","sii","sono","stata","state","stati","stato"],k=["essere","esser"],P=["di","del","dello","della","dei","degli","delle","a","ad","al","allo","alla","ai","agli","alle","da","dal","dallo","dalla","dai","dagli","dalle","in","nel","nello","nella","nei","negli","nelle","con","col","collo","colla","coi","cogli","colle","su","sul","sullo","sulla","sui","sugli","sulle","per","pel","pello","pella","pei","pegli","tra","fra","attraverso","circa","contro","davanti","dentro","dietro","entro","escluso","fuori","insieme","intorno","lontano","lungo","mediante","oltre","presso","rasente","riguardo","senza","sopra","sotto","tramite","vicino"],C=["e","ed","o","oppure"],W=["tale","l'uno","l'altro","tali","dall'altra"],R=["anziché","anzichè","fuorché","fuorchè","giacché","giacchè","laddove","modo","ove","qualora","quantunque","volta"],O=["dice","dicono","diceva","dicevano","disse","dissero","detto","domanda","domandano","domandava","domandavano","domandò","domandarono","domandato","afferma","affermato","aggiunge","aggiunto","ammette","ammesso","annuncia","annunciato","assicura","assicurato","chiede","chiesto","commentato","conclude","concluso","continua","continuato","denuncia","denunciato","dichiara","dichiarato","esordisce","esordito","inizia","iniziato","precisato","prosegue","proseguito","racconta","raccontato","recita","recitato","replica","replicato","risponde","risposto","rimarca","rimarcato","rivela","rivelato","scandisce","scandito","segnala","segnalato","sottolinea","sottolineato","spiega","spiegato"],j=["affermare","aggiungere","ammettere","annunciare","assicurare","chiedere","commentare","concludere","continuare","denunciare","dichiarare","esordire","iniziare","precisare","proseguire","raccontare","recitare","replicare","rispondere","rimarcare","rivelare","scandire","segnalare","sottolineare","spiegare"],E=["addirittura","assolutamente","ben","estremamente","mica","nemmeno","quasi"],T=["fa","fa'","faccia","facciamo","facciano","facciate","faccio","facemmo","facendo","facente","facesse","facessero","facessi","facessimo","faceste","facesti","faceva","facevamo","facevano","facevate","facevi","facevo","fai","fanno","farà","farai","faranno","farebbe","farebbero","farei","faremmo","faremo","fareste","faresti","farete","farò","fate","fatto","fece","fecero","feci","fo"],A=["fare"],M=["anteriore","anteriori","precedente","precedenti","facile","facili","facilissimo","facilissima","facilissimi","facilissime","semplice","semplici","semplicissima","semplicissimo","semplicissimi","semplicissime","semplicemente","rapido","rapida","rapidi","rapide","veloce","veloci","differente","difficile","difficili","difficilissimo","difficilissima","difficilissimi","difficilissime","basso","bassa","bassi","basse","alto","alta","alti","alte","normale","normali","normalmente","corto","corta","corti","corte","breve","brevi","recente","recenti","totale","totali","completo","completa","completi","complete","possibile","possibili","ultimo","ultima","ultimi","ultime","differenti","simile","simili","prossimo","prossima","prossimi","prossime","giusto","giusta","giusti","giuste","giustamente","cosiddetto","bene","meglio","benissimo","male","peggio","malissimo","comunemente","constantemente","direttamente","esattamente","facilmente","generalmente","leggermente","personalmente","recentemente","sinceramente","solamente","avanti","indietro"],L=["nuovo","nuova","nuovi","nuove","vecchio","vecchia","vecchi","vecchie","bello","bella","belli","belle","bei","begli","bellissimo","bellissima","bellissimi","bellissime","buono","buona","buoni","buone","buonissimo","buonissima","buonissimi","buonissime","grande","grandi","grandissimo","grandissima","grandissimi","grandissime","lunga","lunghi","lunghe","piccolo","piccola","piccoli","piccole","piccolissimo","piccolissima","piccolissimi","piccolissime","proprio","propria","propri","proprie","solito","solita","soliti","solite","stesso","stessa","stessi","stesse"],N=["accidenti","acciderba","ah","aah","ahi","ahia","ahimé","bah","beh","boh","ca","caspita","chissà","de'","diamine","ecco","eh","ehi","eeh","ehilà","ehm","gna","ih","magari","macché","macchè","mah","mhm","nca","neh","oibò","oh","ohe","ohé","ohilá","ohibò","ohimé","okay","ok","olà","poh","pota","puah","sorbole","to'","toh","ts","uff","uffa","uh","uhi"],$=["cc","g","hg","hl","kg","l","prs","pz","q.b.","qb","ta","tz"],_=["minuto","minuti","ora","ore","giorno","giorni","giornata","giornate","settimana","settimane","mese","mesi","anno","anni","oggi","domani","ieri","stamattina","stanotte","stasera","tardi"],D=["aspetto","aspetti","caso","casi","cose","idea","idee","istanza","maniera","oggetto","oggetti","parte","parti","persona","persone","pezzo","pezzi","punto","punti","sorta","sorte","tema","temi","volte"],G=["sì","no","non","€","euro","euros","ecc","eccetera"],I=(o(M),o([].concat(l,j,x,F,k,A,L)),o([].concat(n,P,C,u,E,z,g)),o([].concat(r,p,m,d,N,c,y,B,S,O,T,f,W,R,v,b,h,w,G,q,$,_,D)),o([].concat(n,P,m,g,f,c,l,T,A,O,v,b,d,h))),J=o([].concat(B,F)),U=o([].concat(n,c,l,u,g,p,m,d,z,f,b,h,v,q,w,y,x,B,F,S,k,P,C,W,R,O,j,r,["eventualmente","forse","mai","probabilmente"],E,T,A,N,M,L,$,D,G,_,["sig.na","sig.ra","sig","sigg","dr","dr.ssa","dott","dott.ssa","prof","prof.ssa","gent","gent.mo","gent.mi","gent.ma","gent.me","egr","egr.i","egr.ia","egr.ie","preg.mo","preg.mo","preg.ma","preg.me","ill","ill.mo","ill.mi","ill.ma","ill.me","cav","on","spett"])),V=["a condizione che","a meno che non","a patto che","a seconda che","acché","affinché","al fine di","allorché","allorquando","anche se","anziché","avvegnaché","basta que","benché","beninteso que","chi","cui","dal momento che","dopo che","dove","finché non","fintantoché","i quali","il quale","in caso","in modo che","la quale","le quali","malgrado","mentre","nel caso in cui","nel eventualità che","nonostante che","ogni volta che","per il fatto che","perché","piuttosto che","piuttosto di","poiche","prima che","purché","qualora","quando","quantunque","quello che","sebbene","senza che","siccome","tranne che","una volta che"],H=[["né","né"],["non","ma"],["non prima","che"],["non prima","di"],["non solo","ma anche"],["o","o"],["se","allora"],["se","o"],["sia","che"]],K=JSON.parse('{"vowels":"aeiouyàèéìîïòù","deviations":{"vowels":[{"fragments":["a[íúeo]","e[íúao]","o[íúaeè]","í[aeo]","ú[aeo]","ai[aeou]","àii","aiì","au[eé]","ei[aàeèé]","èia","ia[èiì]","iài","oi[aàeèo]","òia","óio","uí","ui[aàó]","ùio","ouï","coo[cmnpr]","lcool","coòf","[aeuioìùèéàò]y[aeuioíìùèàó]","ìa$","èa$"],"countModifier":1},{"fragments":["aoi","aoì","ioe","riae","ïa$"],"countModifier":1}],"words":{"full":[{"word":"via","syllables":2},{"word":"guaime","syllables":3},{"word":"guaina","syllables":3},{"word":"coke","syllables":1},{"word":"frame","syllables":1},{"word":"goal","syllables":1},{"word":"live","syllables":1},{"word":"mouse","syllables":1},{"word":"coon","syllables":1}],"fragments":{"global":[{"word":"mayoyào","syllables":4},{"word":"eye-liner","syllables":3},{"word":"scooner","syllables":2},{"word":"cocoon","syllables":2},{"word":"silhouette","syllables":4},{"word":"circuíto","syllables":4},{"word":"cruento","syllables":3},{"word":"cruènto","syllables":3},{"word":"rituale","syllables":4},{"word":"duello","syllables":3},{"word":"fuorviante","syllables":4},{"word":"league","syllables":1},{"word":"leader","syllables":2},{"word":"appeal","syllables":2},{"word":"backstage","syllables":2},{"word":"badge","syllables":1},{"word":"baseball","syllables":2},{"word":"beauty","syllables":2},{"word":"bondage","syllables":2,"notFollowedBy":["s"]},{"word":"break","syllables":1},{"word":"brokerage","syllables":3},{"word":"business","syllables":2},{"word":"cache","syllables":2,"notFollowedBy":["s","r"]},{"word":"cashmere","syllables":2},{"word":"challenge","syllables":2,"notFollowedBy":["s","r"]},{"word":"charleston","syllables":2},{"word":"cheap","syllables":1},{"word":"cottage","syllables":2,"notFollowedBy":["s"]},{"word":"cruise","syllables":1,"notFollowedBy":["s","r"]},{"word":"device","syllables":2,"notFollowedBy":["s"]},{"word":"downgrade","syllables":2,"notFollowedBy":["d"]},{"word":"download","syllables":2},{"word":"drive","syllables":1,"notFollowedBy":["r"]},{"word":"endorsement","syllables":3},{"word":"drive","syllables":1,"notFollowedBy":["r"]},{"word":"executive","syllables":4},{"word":"firmware","syllables":2},{"word":"fobia","syllables":3},{"word":"float","syllables":1},{"word":"freak","syllables":1},{"word":"game","syllables":1,"notFollowedBy":["r"]},{"word":"guideline","syllables":2},{"word":"hardware","syllables":2},{"word":"homeless","syllables":2},{"word":"hardware","syllables":1,"notFollowedBy":["r"]},{"word":"hardware","syllables":1,"notFollowedBy":["r"]},{"word":"hardware","syllables":1,"notFollowedBy":["r"]},{"word":"hospice","syllables":2,"notFollowedBy":["s"]},{"word":"impeachment","syllables":3},{"word":"jeans","syllables":1},{"word":"jukebox","syllables":2},{"word":"leasing","syllables":2},{"word":"lease","syllables":1,"notFollowedBy":["s"]},{"word":"lounge","syllables":1,"notFollowedBy":["r","s"]},{"word":"magazine","syllables":3},{"word":"notebook","syllables":2},{"word":"office","syllables":2,"notFollowedBy":["r","s"]},{"word":"online","syllables":2},{"word":"offline","syllables":2},{"word":"overcoat","syllables":3},{"word":"offside","syllables":2,"notFollowedBy":["r"]},{"word":"overdrive","syllables":3},{"word":"oversize","syllables":3},{"word":"pacemaker","syllables":3},{"word":"package","syllables":2,"notFollowedBy":["r","s"]},{"word":"pancake","syllables":2},{"word":"performance","syllables":3},{"word":"premium","syllables":3},{"word":"ragtime","syllables":2},{"word":"reading","syllables":2},{"word":"residence","syllables":3,"notFollowedBy":["s"]},{"word":"roaming","syllables":2},{"word":"rollerblade","syllables":3,"notFollowedBy":["r"]},{"word":"royalty","syllables":3},{"word":"shake","syllables":1,"notFollowedBy":["r"]},{"word":"shale","syllables":1},{"word":"shampooing","syllables":3},{"word":"shareware","syllables":2},{"word":"shearling","syllables":2},{"word":"sidecar","syllables":2},{"word":"hardware","syllables":1,"notFollowedBy":["r"]},{"word":"skate","syllables":1,"notFollowedBy":["n","r"]},{"word":"trial","syllables":2},{"word":"toast","syllables":1},{"word":"texture","syllables":2},{"word":"testimonial","syllables":5},{"word":"teaser","syllables":2},{"word":"sweater","syllables":2},{"word":"suspense","syllables":2,"notFollowedBy":["r"]},{"word":"subroutine","syllables":3},{"word":"steadicam","syllables":3},{"word":"spread","syllables":1},{"word":"speaker","syllables":2},{"word":"board","syllables":1},{"word":"sneaker","syllables":2},{"word":"smartphone","syllables":2},{"word":"slide","syllables":1,"notFollowedBy":["r"]},{"word":"skyline","syllables":2},{"word":"skinhead","syllables":2},{"word":"update","syllables":2,"notFollowedBy":["r"]},{"word":"upgrade","syllables":2,"notFollowedBy":["r"]},{"word":"upload","syllables":2},{"word":"vintage","syllables":2},{"word":"wakeboard","syllables":2},{"word":"website","syllables":2},{"word":"welfare","syllables":2},{"word":"yeah","syllables":1},{"word":"yearling","syllables":2}],"atEnd":[{"word":"byte","syllables":1,"alsoFollowedBy":["s"]},{"word":"bite","syllables":1,"alsoFollowedBy":["s"]},{"word":"beat","syllables":1,"alsoFollowedBy":["s"]},{"word":"coach","syllables":1},{"word":"line","syllables":1,"alsoFollowedBy":["s"]}],"atBeginning":[{"word":"cheese","syllables":1},{"word":"head","syllables":1},{"word":"streak","syllables":1}],"atBeginningOrEnd":[{"word":"team","syllables":1},{"word":"stream","syllables":1}]}}}}'),Q={recommendedLength:25},X=["abalienat","abbacchiat","abbacinat","abbadat","abbagliat","abbaiat","abballat","abbambinat","abbancat","abbandonat","abbarbagliat","abbarbat","abbarcat","abbaruffat","abbassat","abbatacchiat","abbattut","abbatuffolat","abbelit","abbellat","abbellit","abbendat","abbeverat","abbiadat","abbicat","abbigliat","abbinat","abbindolat","abbioccat","abbiosciat","abbisciat","abbittat","abboccat","abboffat","abbominat","abbonacciat","abbonat","abbonit","abbordat","abborracciat","abborrat","abborrit","abbottinat","abbottonat","abbozzacchiat","abbozzat","abbozzolat","abbracciat","abbraciat","abbrancat","abbreviat","abbriccat","abbrigliat","abbrivat","abbriviat","abbrividit","abbronzat","abbrostolat","abbrostolit","abbruciacchiat","abbruciat","abbrunat","abbrunit","abbruscat","abbrusciat","abbrustiat","abbrustolat","abbrustolit","abbrutit","abbruttit","abbuffat","abbuiat","abbuonat","abburattat","abbuzzit","abdicat","abdott","abiettat","abilitat","abissat","abitat","abituat","abiurat","abolit","abominat","abondat","aborrit","abortit","abras","abrogat","abusat","accaffat","accagionat","accagliat","accalappiat","accalcat","accaldat","accallat","accalorat","accalorit","accambiat","accampat","accampionat","accanalat","accanat","accaneggiat","accanit","accantonat","accaparrat","accapezzat","accapigliat","accapottat","accappiat","accappiettat","accapponat","accappucciat","accaprettat","accareggiat","accarezzat","accarnat","accarpionat","accartocciat","accasat","accasciat","accasellat","accasermat","accastellat","accastellinat","accatarrat","accatastat","accattat","accattivat","accavalcat","accavalciat","accavallat","accavezzat","accecat","acceffat","accelerat","accellerat","accennat","accensat","accentat","accentrat","accentuat","acceppat","accerchiat","accercinat","accertat","acces","accessoriat","accettat","acchetat","acchiappat","acchiocciolat","acchitat","acchiudut","acciabattat","acciaiat","acciambellat","acciarpat","acciecat","accigliat","acciglionat","accignut","accincignat","accint","acciocchit","acciottolat","accipigliat","accismat","accis","acciucchit","acciuffat","accivettat","acclamat","acclarat","acclimatat","acclus","accoccat","accoccolat","accoccovat","accodat","accollat","accoltellat","accolt","accomandat","accomiatat","accommiatat","accomodat","accompagnat","accomunat","acconciat","acconigliat","accontat","accontentat","accoppat","accoppiat","accorat","accorciat","accorcit","accordat","accordellat","accorpat","accort","accosciat","accostat","accostumat","accotonat","accottimat","accovacciat","accovat","accovonat","accozzat","accreditat","accresciut","accrespat","accucciat","accucciolat","accudit","acculat","acculturat","accumulat","accumunat","accusat","acetificat","acetilat","acetit","acidat","acidificat","acidulat","acquadernat","acquarellat","acquartierat","acquat","acquattat","acquerellat","acquetat","acquietat","acquisit","acquistat","acromatizzat","acuit","acuminat","acutizzat","adacquat","adagiat","adattat","addaziat","addebbiat","addebitat","addecimat","addensat","addentat","addentellat","addentrat","addestrat","addett","addiacciat","addimandat","addimesticat","addimorat","addimostrat","addipanat","addirizzat","additat","additivat","addizionat","addobbat","addocilit","addogliat","addolcat","addolciat","addolcit","addolorat","addomandat","addomesticat","addoppiat","addormentat","addossat","addott","addottorat","addottrinat","addrizzat","adduat","addugliat","adeguat","adempit","adempiut","adequat","aderizzat","adescat","adibit","adirat","adit","adiuvat","adizzat","adocchiat","adombrat","adonat","adonestat","adontat","adoperat","adoprat","adorat","adornat","adottat","adsorbit","aduggiat","adugnat","adulat","adulterat","adunat","adunghiat","adusat","aerat","aereat","aerotrainat","aerotrasportat","affabulat","affaccendat","affacchinat","affacciat","affagottat","affaldat","affamat","affamigliat","affannat","affardellat","affascinat","affastellat","affaticat","affattucchiat","affatturat","affermat","afferrat","affettat","affezionat","affiancat","affiatat","affibbiat","affidat","affienat","affievolit","affigliat","affigurat","affilat","affilettat","affiliat","affinat","affiochit","affiorat","affisat","affissat","affiss","affittat","affittit","afflitt","afflosciat","affocat","affogat","affogliat","affollat","affoltat","affondat","afforcat","afforestat","afforzat","affossat","affralit","affrancat","affrant","affratellat","affrenat","affrenellat","affrescat","affrettat","affrittellat","affrontat","affumat","affumicat","affumigat","affuocat","affusolat","africanizzat","ageminat","agevolat","aggallat","agganciat","aggangherat","aggarbat","aggattonat","aggavignat","aggelat","aggettivat","agghiacciat","agghiadat","agghiaiat","agghindat","aggiaccat","aggiogat","aggiornat","aggirat","aggiucchit","aggiudicat","aggiuntat","aggiunt","aggiustat","agglomerat","agglutinat","aggomitolat","aggottat","aggradit","aggraffat","aggranchiat","aggranchit","aggrandit","aggrappat","aggraticciat","aggravat","aggredit","aggregat","aggrevat","aggricciat","aggrinzat","aggrinzit","aggrommat","aggrondat","aggroppat","aggrottat","aggrovigliat","aggrumat","aggruppat","aggruzzolat","agguagliat","agguantat","agguardat","agguatat","aggueffat","agitat","agognat","agrarizzat","aguatat","agucchiat","agunat","agurat","aguzzat","aitat","aiutat","aizzat","alat","alberat","albergat","alcalinizzat","alchilat","alchimiat","alchimizzat","alcolizzat","alcoolizzat","alenat","alesat","alettat","alfabetat","alfabetizzat","alidit","alienat","alimentat","allacciat","allagat","allappat","allargat","allascat","allattat","alleat","allegat","alleggerit","alleggiat","allegorizzat","alleluiat","allenat","allenit","allentat","allertat","allessat","allestit","allettat","allevat","alleviat","allibat","allibit","allibrat","allicciat","allietat","allindat","allineat","allis","allocat","allogat","alloggiat","allontanat","allottat","allucchettat","allucciolat","allucinat","allumat","alluminat","alluminiat","allungat","allupat","allus","alluzzat","alogenat","alonat","alpeggiat","alterat","alternat","alzat","amalgamat","amareggiat","amaricat","amat","ambientat","ambiguat","ambit","americanizzat","amicat","ammaccat","ammaestrat","ammainat","ammalat","ammaliat","ammalinconit","ammaltat","ammanettat","ammanicat","ammanierat","ammanigliat","ammannat","ammannellat","ammannit","ammansat","ammansit","ammantat","ammantellat","ammarat","ammarezzat","ammassat","ammassellat","ammassicciat","ammatassat","ammattonat","ammazzat","ammelmat","ammencit","ammendat","ammennicolat","ammess","ammetat","ammezzit","amministrat","amminutat","ammirat","ammiserit","ammobiliat","ammodernat","ammodernizzat","ammogliat","ammoinat","ammollat","ammollit","ammonit","ammonticchiat","ammonticellat","ammorbat","ammorbidat","ammorbidit","ammorsat","ammortat","ammortit","ammortizzat","ammorzat","ammosciat","ammoscit","ammostat","ammotinat","ammucchiat","ammulinat","ammusat","ammutat","ammutinat","amnistiat","amoracciat","ampiat","ampliat","amplificat","amputat","anagrammat","analizzat","anamorfizzat","anastomizzat","anatematizzat","anatomizzat","anchilosat","ancis","ancorat","andicappat","anellat","anemizzat","anestetizzat","angariat","anglicizzat","angolat","angosciat","angustiat","animat","annacquat","annaffiat","annasat","annaspat","annaspicat","annebbiat","annegat","annerat","annerit","anness","annestat","annichilat","annichilit","annidat","annientat","annitrit","annobilit","annodat","annodicchiat","annoiat","annotat","annottat","annottolat","annoverat","annullat","annunciat","annunziat","annusat","annuvolat","anodizzat","anonimizzat","antecedut","antepost","antergat","anticheggiat","antichizzat","anticipat","anticonosciut","antidatat","antivedut","antivist","antologizzat","antropizzat","antropomorfizzat","aocchiat","aombrat","aonestat","aontat","apert","apocopat","apologizzat","apostatat","apostrofat","appaciat","appacificat","appagat","appaiat","appalesat","appallottolat","appaltat","appanettat","appannat","apparat","apparecchiat","apparentat","apparigliat","apparit","appartat","appassionat","appastat","appastellat","appellat","appennellat","appercepit","appertizzat","appesantit","appesit","appes","appestat","appetit","appezzat","appiacevolit","appianat","appiastrat","appiatat","appiattat","appiattit","appiccat","appiccicat","appiccolit","appiedat","appigionat","appigliat","appinzat","appiombat","appioppat","appisolat","applaudit","applicat","appoderat","appoggiat","appollaiat","appoppat","apportat","appostat","appost","appratit","appresentat","appres","appressat","apprestat","apprettat","apprezzat","approcciat","approfittat","approfondat","approfondit","approntat","appropinquat","appropriat","approssimat","approvat","approvisionat","approvvigionat","appruat","appulcrat","appuntat","appuntellat","appuntit","appurat","appuzzat","arabescat","arabizzat","arat","arbitrat","arborat","arcaizzat","arcat","architettat","archiviat","arcuat","ardit","areat","argentat","arginat","argomentat","arguit","arianizzat","arieggiat","armat","armonizzat","aromatizzat","arpeggiat","arpionat","arponat","arrabattat","arraffat","arraffiat","arrandellat","arrangiat","arrapat","arrapinat","arrappat","arrazzat","arrecat","arredat","arreggimentat","arrembat","arrenat","arresis","arres","arrestat","arretrat","arricchit","arricciat","arricciolat","arriffat","arringat","arrischiat","arrisicat","arris","arrocat","arroccat","arrochit","arrogat","arrolat","arroncat","arronzat","arrosat","arrossat","arrostat","arrostit","arrotat","arrotolat","arrotondat","arrovellat","arroventat","arroventit","arrovesciat","arrubinat","arruffat","arruffianat","arrugginit","arruncigliat","arruolat","arruvidit","arsicciat","ars","artefatt","articolat","artigliat","asces","asciat","asciolvut","asciugat","ascoltat","ascos","ascost","ascritt","asfaltat","asfissiat","aspers","aspettat","aspirat","asportat","aspreggiat","assaettat","assaggiat","assalit","assaltat","assaporat","assaporit","assassinat","assecondat","assecurat","assediat","asseggiat","assegnat","assembiat","assemblat","assembrat","assemprat","assentat","asserit","asserragliat","asservit","assestat","assetat","assettat","asseverat","assibilat","assicurat","assiderat","assiemat","assiepat","assillat","assimigliat","assimilat","assiomatizzat","assis","assistit","associat","assodat","assoggettat","assolcat","assoldat","assolt","assolutizzat","assomat","assommat","assonat","assonnat","assopit","assorbit","assordat","assordit","assortit","assottigliat","assuefatt","assunt","asteggiat","astenut","asters","astratt","astrett","atomizzat","atrofizzat","atrovat","attaccat","attagliat","attanagliat","attardat","attediat","atteggiat","attempat","attendat","attentat","attenuat","attenut","attergat","atterrat","atterrit","atterzat","attes","attestat","atticizzat","attillat","attint","attirat","attivat","attivizzat","attizzat","attorcigliat","attorniat","attort","attoscat","attossicat","attraccat","attrappit","attratt","attraversat","attrezzat","attribuit","attristat","attristit","attruppat","attualizzat","attuat","attuffat","attutat","attutit","auggiat","augumentat","augurat","aulit","aumentat","aunghiat","ausat","auscultat","auspicat","autenticat","autentificat","autoaccusat","autoaffondat","autoalimentat","autoassolt","autocandidat","autocensurat","autocitat","autocommiserat","autoconsumat","autoconvint","autodefinit","autodenunciat","autodistrutt","autofinanziat","autogestit","autogovernat","autografat","autoincensat","autointersecat","autoinvitat","autolesionat","autolimitat","automaticizzat","automatizzat","automotivat","autonominat","autoproclamat","autoprodott","autoprotett","autopubblicat","autopubblicizzat","autoregolamentat","autoregolat","autoridott","autoriparat","autorizzat","autosomministrat","autosostenut","autosuggestionat","autotassat","autotrapiantat","autotrasportat","autovalutat","avallat","avampat","avanzat","avariat","avint","aviolanciat","aviotrasportat","avocat","avolterat","avuls","avutacel","avut","avvallat","avvalorat","avvals","avvantaggiat","avvelat","avvelenat","avventat","avventurat","avverat","avversat","avvertit","avvezzat","avviat","avvicendat","avvicinat","avvignat","avvilit","avviluppat","avvinat","avvinchiat","avvinghiat","avvint","avvisat","avvistat","avvitat","avviticchiat","avvitit","avvivat","avvolt","avvoltolat","aziendalizzat","azionat","azotat","azzannat","azzardat","azzeccat","azzerat","azzimat","azzittat","azzittit","azzoppat","azzoppit","azzuffat","azzurrat","bacat","baccagliat","bacchettat","bacchiat","baciat","badat","bagnat","baipassat","balbettat","balcanizzat","ballat","baloccat","balzat","banalizzat","bancat","bandit","bannat","baraccat","barattat","barbarizzat","barcamenat","bardat","barellat","barrat","barricat","basat","basciat","basculat","bassat","bastat","bastionat","bastit","bastonat","battezzat","battut","bazzicat","beatificat","beat","beccat","beccheggiat","becchettat","beffat","beffeggiat","bendat","benedett","beneficat","benvolut","berlusconizzat","bersagliat","bestemmiat","bevut","biadat","bianchettat","bianchit","biascicat","biasimat","biasmat","bidonat","biennalizzat","biforcat","bigiat","bilanciat","binat","bindolat","biodegradat","biografat","bipartit","bisbigliat","biscottat","bisecat","bisellat","bisognat","bissat","bistrat","bistrattat","bitumat","bituminat","blandit","bleffat","blindat","bloccat","bloggat","bluffat","bobinat","boccheggiat","bocciat","boicottat","bollat","bollit","bombardat","bombat","bonderizzat","bonificat","bootat","borbottat","bordat","boriat","borrat","borseggiat","braccat","bracciat","bramat","bramit","brancicat","brandeggiat","brandit","brasat","bravat","brevettat","breviat","brillantat","brillat","brinat","broccat","brocciat","broccolat","brontolat","bronzat","brucat","bruciacchiat","bruciat","brunit","bruscat","bruschinat","brutalizzat","bruttat","bucat","bucherellat","bufat","buffat","bufferizzat","buggerat","bugnat","bulicat","bulinat","bullettat","bullonat","burattat","burlat","burocratizzat","burrificat","buscat","buttat","butterat","bypassat","cablat","cabrat","cacat","cacciat","cadenzat","cadmiat","caducat","cagat","caggiat","cagionat","cagliat","calafatat","calamitat","calandrat","calat","calcat","calciat","calcificat","calcolat","caldeggiat","calettat","calibrat","calmat","calmierat","calpestat","calumat","calunniat","calzat","cambiat","camerat","campionat","campit","camuffat","canalizzat","cancellat","cancerizzat","candeggiat","candidat","candit","canforat","cangiat","cannat","canneggiat","cannibalizzat","cannoneggiat","canonizzat","cantat","canterellat","canticchiat","cantilenat","canzonat","caolinizzat","capacitat","capeggiat","capillarizzat","capitalizzat","capitanat","capitaneggiat","capit","capitozzat","capivolt","caponat","capotat","capottat","capovolt","capponat","captat","caramellat","caramellizzat","caratat","caratterizzat","carbonizzat","carbossilat","carburat","carcat","carcerat","cardat","carenat","carezzat","cariat","caricat","caricaturat","caricaturizzat","carotat","carpionat","carpit","carreggiat","carrozzat","cartavetrat","carteggiat","cartellinat","cartografat","cartolarizzat","cartonat","cascolat","cassat","cass","castigat","castrat","casualizzat","catabolizzat","catalizzat","catalogat","catapultat","catechizzat","categorizzat","cateterizzat","catramat","cattolicizzat","catturat","causat","cautelat","cauterizzat","cauzionat","cavalcat","cavatasel","cavat","cazzat","cazziat","cazzottat","cedrat","cedut","celat","celebrat","cellofanat","cementat","cementificat","cennat","censit","censurat","centellat","centellinat","centimetrat","centinat","centralizzat","centrat","centrifugat","centuplicat","cerat","cercat","cerchiat","cernut","certificat","cesellat","cessat","cestinat","cheratinizzat","chetat","chiamat","chiappat","chiarificat","chiarit","chiaroscurat","chiavat","chiazzat","chiest","chilificat","chilometrat","chimificat","chinat","chinizzat","chiodat","chiosat","chius","choccat","ciancicat","cianfrinat","cianfrugliat","ciangottat","ciattat","cibat","cicatrizzat","ciccat","cicchettat","ciclizzat","ciclostilat","cifrat","cilindrat","cimat","cimentat","cincischiat","cinematografat","cintat","cint","cioncat","ciondolat","circolat","circoncint","circoncis","circondat","circondott","circonfless","circonfluit","circonfus","circonscritt","circonvenut","circoscritt","circostanziat","circuit","circumcint","circumnavigat","citat","ciucciat","ciurmat","civettat","civilizzat","clamat","classat","classicizzat","classificat","cliccat","climatizzat","clivat","clonat","cloroformizzat","clorurat","clusterizzat","co-dirett","coacervat","coadiuvat","coagulat","coalizzat","coartat","coccolat","codificat","coeditat","coesistit","cofinanziat","cofirmat","cofondat","cogestit","cogitat","coglionat","cognosciut","coibentat","coincis","cointeressat","cointestat","coinvolt","cokificat","colat","colettat","collassat","collaudat","collazionat","collegat","collettivizzat","collezionat","collimat","colliquat","collis","collocat","colluttat","colmat","colonizzat","colorat","colorit","colorizzat","colpevolizzat","colpit","coltellat","coltivat","colt","coltrat","comandat","combattut","combinat","comburut","comicizzat","cominciat","commemorat","commendat","commensurat","commentat","commercializzat","commess","comminat","commiserat","commissariat","commissionat","commisurat","commoss","commutat","comodat","compaginat","comparit","compartimentalizzat","compartit","compassionat","compatibilizzat","compatit","compattat","compendiat","compenetrat","compensat","comperat","compiaciut","compiant","compilat","compitat","compiut","complessat","complessificat","compless","completat","complicat","complimentat","comportat","compostat","compost","comprat","compravendut","compres","compress","compromess","comprovat","compulsat","compunt","computat","computerizzat","comunicat","comunistizzat","concatenat","concedut","concelebrat","concentrat","concepit","concertat","concess","concettat","concettualizzat","conchius","conciat","conciliat","concimat","concitat","conclamat","conclus","concordat","concott","concretat","concretizzat","conculcat","concupit","condannat","condensat","condit","condivis","condizionat","condolut","condonat","condott","confatt","confederat","conferit","confermat","confessat","confettat","confezionat","conficcat","confidat","configurat","confinat","confint","confiscat","confitt","conformat","confortat","confricat","confrontat","confus","confutat","congedat","congegnat","congelat","congestionat","congetturat","congiunt","conglobat","conglomerat","conglutinat","congratulat","congregat","conguagliat","coniat","coniugat","connaturat","conness","connotat","connumerat","conosciut","conquistat","consacrat","consapevolizzat","consegnat","conseguit","consentit","conservat","considerat","consigliat","consistit","consociat","consolat","consolidat","consorziat","conspars","conspers","constatat","constrett","construit","consultat","consumat","consunt","contabilizzat","contagiat","containerizzat","contaminat","contat","contattat","conteggiat","contemperat","contemplat","contentat","contenut","contes","contestat","contestualizzat","contingentat","continuat","contornat","contort","contrabbandat","contraccambiat","contraddett","contraddistint","contradett","contraffatt","contrappesat","contrappost","contrappuntat","contrariat","contrassegnat","contrastat","contrat","contrattaccat","contrattat","contratt","contravvals","contristat","controbattut","controbilanciat","controdatat","controfirmat","controindicat","controllat","controminat","contronotat","contropropost","controprovat","controquerelat","controsoffittat","controstampat","controventat","conturbat","contus","convalidat","convenut","convenzionat","convertit","convint","convitat","convocat","convogliat","convolt","coobat","cooptat","coordinat","coperchiat","copert","copiaincollat","copiat","copolimerizzat","coppellat","coprodott","corazzat","corbellat","corcat","cordonat","coreografat","coricat","cornificat","coronat","corredat","correlat","corresponsabilizzat","corrett","corricchiat","corrispost","corroborat","corros","corrott","corrucciat","corrugat","cors","corteat","corteggiat","cortocircuitat","coruscat","cosat","coscritt","cospars","cospers","costatat","costeggiat","costellat","costernat","costicchiat","costipat","costituit","costituzionalizzat","costrett","costruit","costudit","cotonat","cott","covat","coventrizzat","coverchiat","craccat","creat","credut","cremat","crepat","cresciut","cresimat","crespat","criminalizzat","crioconcentrat","criptat","cristallizzat","cristianizzat","criticat","crittat","crittografat","crivellat","crocchiat","crocefiss","crocefitt","crocifiss","crocifitt","crogiolat","cromat","cronicizzat","cronometrat","crostat","crucciat","crucifiss","crucifitt","cuccat","cucinat","cucit","cullat","cumulat","cuntat","curat","curvat","curvat","custodit","customizzat","damascat","damaschinat","damat","dannat","danneggiat","danzat","dardeggiat","datat","dat","dattilografat","dattiloscritt","daziat","deacidificat","deattivat","debbiat","debellat","debilitat","decaffeinat","decaffeinizzat","decalcat","decalcificat","decantat","decapat","decapitat","decappottat","decarbossilat","decarburat","decatizzat","decelerat","decentralizzat","decentrat","decerebrat","decernut","decespugliat","deciferat","decifrat","decimalizzat","decimat","decis","declamat","declassat","declassificat","declinat","declorat","decodificat","decolonizzat","decolorat","decompartimentat","decompilat","decompost","decompress","deconcentrat","decondizionat","decongelat","decongestionat","decontaminat","decontestualizzat","decontratt","decorat","decorticat","decostruit","decrementat","decretat","decriminalizzat","decriptat","decrittat","decuplicat","decurtat","dedicat","dedott","defacciat","defalcat","defascistizzat","defecat","defenestrat","deferit","defilat","definit","defiscalizzat","defitt","deflazionat","deflemmat","deflorat","defogliat","defoliat","deforestat","deformat","defosforat","defosforilat","deframmentat","defraudat","degassat","degassificat","deglutit","degnat","degradat","degustat","deidratat","deidrogenat","deificat","deindicizzat","deindustrializzat","deionizzat","delegat","delegificat","delegittimat","delibat","deliberat","delimitat","delineat","delirat","deliziat","delocalizzat","delucidat","delus","demagnetizzat","demandat","demanializzat","demarcat","demeritat","demers","demetallizzat","demilitarizzat","demineralizzat","demistificat","demitizzat","democratizzat","demodulat","demolit","demoltiplicat","demonetat","demonetizzat","demonizzat","demoralizzat","demors","demotivat","denaturalizzat","denaturat","denazificat","denazionalizzat","denicotinizzat","denigrat","denitrificat","denocciolat","denominat","denotat","dentellat","denuclearizzat","denudat","denunciat","denunziat","deodorat","deossidat","deossigenat","deostruit","depauperat","depenalizzat","depennat","depilat","depint","depistat","deplorat","depolarizzat","depolimerizzat","depoliticizzat","depolverizzat","deportat","depositat","depost","depotenziat","depravat","deprecat","depredat","depress","depressurizzat","deprezzat","deprivat","deprotonat","depuls","depurat","dequalificat","deratizzat","derattizzat","dereferenziat","deregolamentat","deregolat","derequisit","deresponsabilizzat","deris","derubat","derubricat","desacralizzat","desalat","desalinizzat","descolarizzat","descritt","desecretat","desegretat","deselezionat","desensibilizzat","desessualizzat","desiat","desiderat","designat","desinat","desirat","desolat","desolforat","desonorizzat","desorbit","desossidat","desquamat","destabilizzat","destagionalizzat","destalinizzat","destatalizzat","destatizzat","destat","destinat","destituit","destoricizzat","destreggiat","destrutt","destrutturat","desunt","detassat","detenut","deteriorat","determinat","deters","detestat","detonat","detort","detossificat","detratt","detronizzat","dettagliat","dettat","dett","deturpat","deumidificat","devastat","deventat","deviat","deviscerat","devitalizzat","devitaminizzat","devolut","dezippat","diaframmat","diagnosticat","diagonalizzat","diagrammat","dializzat","dialogat","dialogizzat","diazotat","dibattut","diboscat","dichiarat","diesat","diesizzat","difes","diffamat","differit","diffidat","diffrant","diffratt","diffus","digerit","digitalizzat","digitat","digiunt","digrassat","digrignat","digrossat","dilacerat","dilaniat","dilapidat","dilatat","dilavat","dilazionat","dileggiat","dileguat","dilettat","dilett","diliscat","dilucidat","diluit","dilungat","dimagrat","dimandat","dimenat","dimensionat","dimenticat","dimerizzat","dimess","dimezzat","diminuit","dimissionat","dimostrat","dimunt","dinamizzat","dinoccat","dipanat","dipelat","dipint","diplomat","dipost","diradat","diramat","dirett","direzionat","dirimut","diroccat","dirottat","dirott","dirozzat","disabilitat","disabituat","disaccentat","disaccoppiat","disaccordat","disacerbat","disacidat","disacidificat","disacidit","disaerat","disaffezionat","disaggregat","disalberat","disallineat","disamat","disambiguat","disaminat","disamorat","disancorat","disanimat","disappannat","disapplicat","disappres","disapprovat","disarcionat","disarmat","disarticolat","disascost","disassemblat","disassuefatt","disatomizzat","disattes","disattivat","disattrezzat","disavvezzat","disboscat","disbrigat","discacciat","discalzat","discantat","discaricat","discernut","disces","disceverat","dischiest","dischius","discint","disciolt","disciplinat","discolorat","discolpat","discommess","discompagnat","discompost","disconclus","disconfitt","discongiunt","disconness","disconosciut","discopert","discordat","discosces","discostat","discreditat","discresciut","discriminat","discritt","discucit","discuoiat","discuss","disdegnat","disdettat","disdett","diseccat","diseccitat","diseducat","disegnat","diserbat","diseredat","disertat","disert","disfatt","disgelat","disgiunt","disgraziat","disgregat","disgustat","disidentificat","disiderat","disidratat","disillus","disimballat","disimparat","disimpegnat","disimpress","disincagliat","disincantat","disincentivat","disincrostat","disindustrializzat","disinfestat","disinfettat","disinflazionat","disinformat","disingannat","disingranat","disinibit","disinnamorat","disinnescat","disinnestat","disinquinat","disinserit","disinstallat","disintasat","disintegrat","disinteressat","disintes","disintossicat","disinvestit","disinvolt","disistimat","dislocat","dismess","disobbedit","disobbligat","disonorat","disordinat","disorganizzat","disorientat","disormeggiat","disossat","disossidat","disostruit","disotterrat","disparit","dispensat","dispent","disperdut","dispers","dispes","dispiegat","dispint","dispogliat","dispost","dispregiat","disprezzat","dispromess","disproporzionat","disputat","disqualificat","disrott","dissacrat","dissalat","dissaldat","dissanguat","dissecat","disseccat","disselciat","dissellat","disseminat","dissepolt","disseppellit","dissequestrat","disserrat","dissestat","dissetat","dissezionat","dissigillat","dissimulat","dissipat","dissociat","dissodat","dissolt","dissomigliat","dissotterrat","dissuas","dissuggellat","distaccat","distanziat","distes","distillat","distint","distolt","distort","distratt","distrett","distribuit","districat","distrigat","distrutt","disturbat","disubbidit","disumanat","disumanizzat","disunit","disusat","disvedut","disvelat","disvestit","disviat","disvist","disvolt","disvolut","dittongat","divallat","divaricat","divelt","diversificat","divertit","divezzat","divinat","divincolat","divinizzat","divis","divolt","divorat","divorziat","divulgat","documentat","dogat","dogmatizzat","dolcificat","dollarizzat","dolorat","dolut","domandat","domat","domesticat","domiciliat","dominat","donat","dondolat","dopat","doppiat","dorat","dosat","dotat","dovut","dragat","drammatizzat","drappeggiat","drenat","dribblat","drizzat","drogat","dugliat","duplicat","duramificat","ebraizzat","eccedut","eccepit","eccettuat","eccitat","echeggiat","eclissat","economizzat","edificat","editat","edott","educat","edulcorat","effettuat","efficientat","effigiat","effint","effluit","effus","egemonizzat","eguagliat","eiettat","elaborat","elargit","elasticizzat","elementarizzat","elemosinat","elencat","elett","elettrificat","elettrizzat","elettrocoagulat","elettrolizzat","elevat","eliminat","elis","elitrasportat","ellenizzat","elogiat","elucidat","elucubrat","eluit","elus","emanat","emancipat","emarginat","embricat","emendat","emess","emozionat","empit","empiut","emulat","emulsionat","emunt","encomiat","endocitat","energizzat","enfatizzat","enfiat","entusiasmat","enucleat","enumerat","enunciat","epicureggiat","epurat","equalizzat","equilibrat","equipaggiat","equiparat","eradicat","eras","ereditat","erett","erogat","eroicizzat","eros","erotizzat","erpicat","ers","erudit","eruttat","esacerbat","esagerat","esagitat","esalat","esaltat","esaminat","esasperat","esaudit","esaurit","esautorat","esborsat","esclamat","esclus","escogitat","escomiat","escoriat","escoss","escuss","esecrat","esecutat","eseguit","esemplificat","esentat","esercitat","esfoliat","esibit","esilarat","esiliat","esimut","esitat","esonerat","esorbitat","esorcizzat","esortat","espans","espars","esperimentat","esperit","espettorat","espiantat","espiat","espirat","espletat","esplicat","esplicitat","esplorat","esplos","esportat","espost","espress","espropriat","espugnat","espuls","espunt","espurgat","essiccat","essut","estasiat","estenuat","esterificat","esteriorizzat","esterminat","esternalizzat","esternat","estes","estimat","estint","estirpat","estivat","estort","estradat","estraniat","estrapolat","estratt","estremizzat","estrinsecat","estromess","estrus","estubat","esulcerat","esultat","esumat","eterificat","eterizzat","eternat","eternizzat","etichettat","etossilat","euforizzat","europeizzat","evacuat","evangelizzat","evas","evet","evidenziat","evint","evirat","eviscerat","evitat","evocat","evolt","evolut","evuls","fabbricat","faccettat","facilitat","fagocitat","falciat","falcidiat","fallit","falsat","falsificat","familiarizzat","fanatizzat","fantasticat","farcit","farfugliat","fasciat","fascicolat","fascistizzat","fattacel","fatt","fattorizzat","fatturat","favellat","favoreggiat","favorit","faxat","fecondat","fedecommess","federalizzat","federat","felicitat","felpat","feltrat","femminilizzat","fendut","ferit","fermat","fermentat","ferrat","fertilizzat","fess","fessurat","festeggiat","festonat","feudalizzat","fiaccat","fiammeggiat","fiancheggiat","ficcat","fidanzat","fidat","fidecommess","fidelizzat","figliat","figurat","filat","filettat","filmat","filosofat","filtrat","finalizzat","finanziat","finital","finit","finlandizzat","fintat","fint","fiocinat","fiondat","fiorettat","firmat","fiscalizzat","fischiat","fischiettat","fissat","fissionat","fitt","fiutat","flagellat","flaggat","flambat","flangiat","flemmatizzat","fless","flippat","flottat","fluidificat","fluidizzat","fluorizzat","fluorurat","focalizzat","focheggiat","foderat","foggiat","fognat","folgorat","follat","fomentat","fonat","fondat","foracchiat","foraggiat","forat","forestat","forfettizzat","forgiat","formalizzat","format","formattat","formilat","formulat","fornit","fortificat","forviat","forwardat","forzat","fosfatat","fosforat","fosforilat","fossilizzat","fotocompost","fotocopiat","fotografat","fottut","fracassat","fraintes","framess","frammentat","frammess","frammezzat","frammischiat","franceseggiat","francesizzat","frangiat","frant","frantumat","frappat","frappost","fraseggiat","frastagliat","frastornat","fratturat","frazionat","freddat","fregat","fregiat","frenat","frequentat","fresat","frettat","friendzonat","fritt","frizionat","frodat","frollat","fronteggiat","frugat","fruit","frullat","frusciat","frustat","frustrat","fruttat","fucilat","fucinat","fugat","fuggit","fulminat","fumat","fumigat","funestat","funt","funzionat","fuoriuscit","fuorviat","fus","fustellat","fustigat","gabbat","gabellat","gallat","gallicizzat","gallonat","galvanizzat","gambizzat","garantit","garnettat","garrotat","garzat","gasat","gassat","gassificat","gazat","gelatinizzat","gelat","gelificat","gemellat","gemicat","geminat","generalizzat","generat","gentrificat","genufless","geometrizzat","georeferenziat","gerarchizzat","germanizzat","gestit","gettat","gettonat","ghermit","ghettizzat","ghigliottinat","ghindat","gibollat","gingillat","ginnat","giocat","gioit","gionglat","giovaneggiat","giovat","girandolat","girat","giudicat","giulebbat","giuntat","giunt","giuracchiat","giurat","giustappost","giustificat","giustiziat","glamourizzat","glassat","glissat","globalizzat","gloriat","glorificat","glossat","godronat","godut","goffrat","gommat","gonfiat","googlat","gottat","governat","gradinat","gradit","gradualizzat","graduat","graffat","graffiat","graffit","graficat","grafitat","gramolat","granagliat","grandinat","granellat","granit","granulat","graticciat","graticolat","gratificat","gratinat","grattat","grattugiat","gravat","graziat","grecheggiat","grecizzat","gremit","gridat","griffat","grigliat","grippat","groccat","grondat","grugat","grugnit","guadagnat","gualcit","guardat","guarit","guarnit","guastat","guatat","guerreggiat","gufat","guidat","gustat","hackerat","handicappat","ibernat","ibridat","idealizzat","ideat","identificat","ideologizzat","idolatrat","idoleggiat","idratat","idrogenat","idrolizzat","iettat","igienizzat","ignifugat","ignorat","illanguidit","illeggiadrit","illividit","illuminat","illus","illustrat","imbacuccat","imbaldanzit","imballat","imbalsamat","imbambolat","imbandierat","imbandit","imbarbarit","imbarcat","imbarilat","imbastardit","imbastit","imbattut","imbavagliat","imbeccat","imbellettat","imbellit","imbestialit","imbestiat","imbevut","imbiaccat","imbiancat","imbianchit","imbibit","imbiettat","imbiondit","imbizzarrit","imboccat","imbonit","imborghesit","imboscat","imboschit","imbottat","imbottigliat","imbottit","imbozzimat","imbracat","imbracciat","imbragat","imbrancat","imbrattat","imbrecciat","imbrigliat","imbrillantinat","imbroccat","imbrodat","imbrogliat","imbronciat","imbruttit","imbucat","imbudellat","imbullettat","imbullonat","imburrat","imbussolat","imbustat","imbutit","imitat","immagazzinat","immaginat","immalinconit","immatricolat","immedesimat","immers","immess","immischiat","immiserit","immobilizzat","immolat","immortalat","immunizzat","immusonit","impaccat","impacchettat","impacciat","impadronit","impaginat","impagliat","impalat","impalcat","impallat","impallinat","impalmat","impaludat","impanat","impaniat","impannat","impantanat","impaperat","impapocchiat","impappinat","imparentat","imparruccat","impartit","impastat","impasticcat","impasticciat","impastocchiat","impastoiat","impataccat","impattat","impaurit","impavesat","impeciat","impedicat","impedit","impegnat","impegolat","impelagat","impellicciat","impennacchiat","impennat","impensierit","impepat","imperlat","impermalit","impermeabilizzat","imperniat","impersonat","impersonificat","impestat","impetrat","impiallacciat","impiantat","impiastrat","impiastricciat","impiccat","impicciat","impicciolit","impiccolit","impidocchiat","impiegat","impietosit","impietrit","impigliat","impigrit","impilat","impillaccherat","impinguat","impint","impinzat","impiombat","impipat","impiumat","implementat","implicat","implorat","impollinat","impolpat","impoltronit","impolverat","impomatat","imporcat","imporporat","importat","importunat","impossessat","impossibilitat","impostat","impost","impratichit","impregnat","impres","impressionat","impress","imprestat","impreziosit","imprigionat","impromess","improntat","improsciuttit","impugnat","impuntit","impunturat","impupat","imputat","impuzzolentit","inabilitat","inabissat","inacerbit","inacetit","inacidit","inacutit","inaffiat","inalat","inalberat","inalveat","inalzat","inamidat","inanellat","inarcat","inargentat","inaridit","inasprit","inastat","inattivat","inaugurat","incacchiat","incalcinat","incalorit","incalzat","incamerat","incamiciat","incamminat","incanaglit","incanalat","incannat","incannucciat","incaponit","incappottat","incappucciat","incaprettat","incapricciat","incapsulat","incarcerat","incardinat","incaricat","incarnat","incarrozzat","incartat","incartocciat","incartonat","incasellat","incasinat","incassat","incastellat","incastonat","incastrat","incatenat","incatramat","incattivit","incavat","incavigliat","incavolat","incazzat","incellofanat","incendiat","incenerit","incensat","incentivat","incentrat","inceppat","incerat","incernierat","incerottat","inces","incettat","inchiappettat","inchiavardat","inchiest","inchinat","inchiodat","inchiostrat","incipriat","incis","incistat","incitat","inciuccat","incivilit","inclinat","inclus","incoccat","incocciat","incoiat","incollat","incolonnat","incolpat","incominciat","incomodat","incontrat","incoraggiat","incordat","incornat","incorniciat","incoronat","incorporat","incott","incravattat","incrementat","increspat","incretinit","incriminat","incrinat","incrociat","incrostat","incrudelit","incrudit","incruscat","incubat","inculat","inculcat","incuneat","incuoiat","incuorat","incupit","incuriosit","incurvat","incuss","indagat","indebitat","indebolit","indemaniat","indennizzat","indett","indicat","indicizzat","indignat","indirett","indirizzat","indispettit","indispost","individualizzat","individuat","indolenzit","indorat","indossat","indott","indottom","indottrinat","indovinat","indugiat","indult","indurat","indurit","industrializzat","industriat","inebetit","inebriat","inerit","inerpicat","infagottat","infamat","infangat","infarcit","infarinat","infastidit","infatuat","infeltrit","inferit","inferocit","infert","infervorat","infestat","infettat","infeudat","infiacchit","infialat","infialettat","infiammat","infiascat","infibulat","inficiat","infilat","infiltrat","infilzat","infingardit","infinocchiat","infint","infioccat","infiocchettat","infiochit","infiorat","infirmat","infischiat","infiss","infittit","inflazionat","infless","inflitt","influenzat","infocat","infoderat","infognat","infoibat","infoltit","inforcat","informatizzat","informat","informicolat","informicolit","infornaciat","infornat","infortunat","infoscat","infossat","infradiciat","inframess","inframezzat","inframmess","inframmezzat","infrancesat","infrappost","infrascat","infrattat","infreddat","infronzolat","infuocat","infurbit","infuriat","ingabbiat","ingaggiat","ingagliardit","ingannat","ingarbugliat","ingavonat","ingegnat","ingegnerizzat","ingelosit","ingemmat","ingenerat","ingentilit","ingerit","ingessat","inghiaiat","inghiottit","inghirlandat","ingiallit","ingigantit","inginocchiat","ingioiellat","ingiunt","ingiuriat","inglesizzat","inglobat","ingoffit","ingoiat","ingolfat","ingollat","ingolosit","ingombrat","ingommat","ingorgat","ingozzat","ingranat","ingrandit","ingrassat","ingraticciat","ingraticolat","ingravidat","ingraziat","ingraziosit","ingrigit","ingrommat","ingrossat","ingrullit","inguaiat","inguainat","ingualdrappat","inguantat","ingurgitat","inibit","iniettat","inimicat","inizializzat","iniziat","inmillat","innacquat","innaffiat","innalzat","innamorat","innastat","innervat","innervosit","innescat","innestat","innevat","innocentat","innocuizzat","innovat","inoculat","inoltrat","inondat","inorgoglit","inorpellat","inorridit","inquadrat","inquietat","inquisit","insabbiat","insacchettat","insalat","insaldat","insalivat","insanguinat","insaponat","insaporit","inscatolat","inscenat","inscritt","insecchit","insediat","insegnat","inseguit","insellat","inselvatichit","inserit","insidiat","insignit","insilat","insinuat","insolentit","insonnolit","insonorizzat","insordit","insospettit","insozzat","inspessit","inspirat","installat","instaurat","insterilit","instillat","instituit","instradat","insudiciat","insufflat","insultat","insuperbit","intabaccat","intabarrat","intaccat","intagliat","intarsiat","intasat","intascat","intavolat","integrat","intelaiat","intelat","intellettualizzat","intenebrat","intenerit","intensificat","intentat","intepidit","intercalat","intercambiat","intercettat","intercis","interclus","intercollegat","interconness","interconvertit","interdett","interessat","interfacciat","interfogliat","interfoliat","interiorizzat","interlacciat","interlineat","intermess","intermezzat","internalizzat","internat","internazionalizzat","interpellat","interpenetrat","interpolat","interpost","interpretat","interpunt","interrat","interrogat","interrott","intersecat","intervallat","intervistat","intes","intessut","intestardit","intestat","intiepidit","intimat","intimidit","intimorit","intint","intirizzit","intitolat","intonacat","intonat","intontit","intorbidat","intorbidit","intorpidit","intortat","intossicat","intralciat","intramess","intramezzat","intrappolat","intrapres","intrattenut","intravedut","intravist","intravvedut","intravvist","intrecciat","intricat","intrigat","intrinsecat","intrippat","intris","introdott","introfless","introiettat","introitat","intromess","intronat","intronizzat","intrudut","intrufolat","intrugliat","intruppat","intrus","intubat","intubettat","intuit","inumat","inumidit","inurbat","inutilizzat","invaghit","invaginat","invalidat","invasat","invas","invelenit","inventariat","inventat","invenut","inverdit","invergat","inverniciat","investigat","investit","invetriat","inviat","invidiat","invigorit","inviluppat","invischiat","invitat","invocat","invogliat","involat","involgarit","involtat","involt","inzaccherat","inzeppat","inzigat","inzolfat","inzuccat","inzuccherat","inzuppat","iodurat","ionizzat","ipertrofizzat","ipnotizzat","ipostatizzat","ipotecat","ipotizzat","iridat","irradiat","irraggiat","irreggimentat","irretit","irrigat","irrigidit","irris","irritat","irrobustit","irrogat","irrorat","irrugginit","irruvidit","ischeletrit","iscritt","islamizzat","isolat","isomerizzat","ispanizzat","ispessit","ispezionat","ispirat","issat","istallat","istanziat","istaurat","isterilit","istigat","istillat","istituit","istituzionalizzat","istoriat","istradat","istruit","istupidit","italianeggiat","italianizzat","iterat","iudicat","killerat","labbreggiat","labializzat","laccat","lacerat","laconizzat","lacrimat","ladroneggiat","lagnat","lagrimat","laicizzat","lambiccat","lambit","lamentat","laminat","lanciat","lapidat","lappat","lardat","lardellat","largit","larvat","lascat","lasciat","lastricat","latinizzat","laudat","laureat","lavat","lavorat","leccat","legalizzat","legat","leggicchiat","leggiucchiat","legittimat","legittimizzat","legnat","lemmatizzat","lenit","lesinat","lesionat","les","lessat","lett","levat","levigat","liberalizzat","liberat","licenziat","lievitat","liftat","lignificat","limat","limitat","linciat","linearizzat","lineat","linkat","liofilizzat","liquefatt","liquidat","lisat","lisciat","lisciviat","listat","litografat","livellat","lizzat","lobotomizzat","localizzat","locat","lodat","logorat","lordat","lottat","lottizzat","lubrificat","lucchettat","lucidat","lucrat","lumeggiat","luppolizzat","lusingat","lussat","lustrat","macadamizzat","macchiat","macchinat","macellat","macerat","macinat","maciullat","maggesat","maggiorat","magnat","magnetizzat","magnificat","maiolicat","maledett","malfatt","malignat","malmenat","malmess","maltat","maltrattat","malvedut","malversat","malvist","malvolut","mandat","mandrinat","manducat","maneggiat","manganat","manganellat","mangiat","mangiucchiat","manifatturat","manifestat","manimess","manipolat","manlevat","manomess","manoscritt","manovrat","mansuefatt","mantecat","mantenutas","mantenut","manualizzat","manutenut","mappat","marcat","marchiat","marcit","marezzat","marginalizzat","marginat","margottat","marimess","marinat","maritat","marmorizzat","marnat","marocchinat","martellat","martellinat","martirizzat","martoriat","mascherat","maschiat","maschiettat","mascolinizzat","massacrat","massaggiat","massellat","massicciat","massificat","massimat","massimizzat","mastectomizzat","masterizzat","masticat","masturbat","matematizzat","materializzat","matricolat","mattonat","maturat","mazziat","mazzolat","meccanizzat","medagliat","mediat","medicalizzat","medicat","meditat","membrat","memorizzat","menat","mendicat","menomat","mentovat","menzionat","meravigliat","mercanteggiat","mercerizzat","mercificat","meriat","meridionalizzat","meritat","merlat","merlettat","mers","mesciat","mesciut","mescolat","mescut","mesmerizzat","messaggiat","mess","messoc","mestat","mesticat","mestruat","metabolizzat","metaforeggiat","metaforizzat","metallizzat","metamorfizzat","metamorfosat","metanizzat","metilat","metodizzat","microfilmat","microfonat","microminiaturizzat","micronizzat","mietut","migliorat","militarizzat","millantat","millimetrat","mimat","mimeografat","mimetizzat","minacciat","minat","minchionat","mineralizzat","miniat","miniaturizzat","minimizzat","minuit","minuzzat","miracolat","miscelat","mischiat","misconosciut","missat","mistificat","misturat","misurat","miticizzat","mitigat","mitizzat","mitragliat","mitrat","mixat","mobiliat","mobilitat","mobilizzat","modanat","modellat","modellizzat","moderat","modernizzat","modificat","modulat","molat","molestat","mollat","molleggiat","moltiplicat","monacat","mondat","mondializzat","monetarizzat","monetat","monetizzat","monitorat","monitorizzat","monocromatizzat","monopolizzat","monottongat","montat","monumentalizzat","mordenzat","mordicchiat","mormorat","morphat","morsicat","morsicchiat","mors","mortasat","mortificat","moss","mostrat","motivat","motorizzat","motteggiat","movimentat","mozzat","mugolat","mulcit","multat","multiplexat","mummificat","municipalizzat","munit","munt","murat","musat","musicat","mussat","mutat","mutilat","mutizzat","mutuat","nappat","narcotizzat","narrativizzat","narrat","nasalizzat","nascos","nascost","nastrat","naturaleggiat","naturalizzat","nauseat","naverat","navicat","navigat","nazificat","nazionalizzat","nebulizzat","necessitat","necrosat","necrotizzat","negat","negativizzat","neglett","negoziat","negreggiat","neologizzat","nerbat","nericat","nettat","neutralizzat","nevat","nevicat","nevischiat","nevrotizzat","nichelat","niellat","ninfeggiat","ninnat","ninnolat","nitratat","nitrificat","nobilitat","noiat","noleggiat","nomat","nominalizzat","nominat","normalizzat","normat","notat","notificat","notiziat","notricat","noverat","nuclearizzat","nudricat","nullificat","numerat","numerizzat","nuotat","nutrit","obbiettat","obbliat","obbligat","oberat","obiettat","obiettivat","obiettivizzat","obiurgat","obliat","obliterat","obnubilat","occasionat","occhieggiat","occidentalizzat","occis","occlus","occultat","occupat","ocheggiat","odiat","odorat","odorizzat","offerit","offert","offes","officiat","offiziat","offuscat","ofiziat","oggettivat","oggettivizzat","oggettualizzat","oliat","olit","olografat","oltraggiat","oltrapassat","oltrepassat","omaggiat","ombrat","ombreggiat","omess","omogeneizzat","omogenizzat","omologat","ondat","ondulat","onestat","onnubilat","onorat","opacat","opacizzat","operat","opinat","oppiat","oppignorat","oppilat","oppost","oppress","oppugnat","oprat","opsonizzat","optat","opzionat","orbitat","orchestrat","ordinat","ordit","orecchiat","organat","organicat","organizzat","orgasmat","orientalizzat","orientat","originat","origliat","orizzontat","orlat","orlettat","ormat","ormeggiat","ornat","orpellat","orrat","orripilat","ortogonalizzat","osannat","osat","osculat","oscurat","ospedalizzat","ospitat","ossedut","ossequiat","osservat","ossessionat","ossidat","ossificat","ossitonizzat","ostacolat","osteggiat","ostentat","ostinat","ostracizzat","ostruit","ottemperat","ottenebrat","ottenut","ottimalizzat","ottimat","ottimizzat","ottonat","ottriat","ottuplicat","otturat","ottus","ottuss","ovalizzat","ovariectomizzat","ovattat","overcloccat","ovrat","ovviat","ozieggiat","ozonizzat","pacat","pacciamat","pacificat","padroneggiat","paganizzat","pagat","paginat","palafittat","palatalizzat","palat","palesat","palettat","palettizzat","palificat","palleggiat","pallettizzat","palpat","palpeggiat","panat","panneggiat","panoramicat","pappat","paracadutat","parafat","paraffinat","parafrasat","paragonat","paragrafat","paralizzat","parallelizzat","parametrat","parametrizzat","parassitat","parat","parcat","parcellizzat","parcheggiat","pareggiat","parificat","parkerizzat","parlat","parlucchiat","parodiat","partecipat","particolareggiat","particolarizzat","partizionat","partorit","parzializzat","pasciut","pascolat","passat","passeggiat","passionat","passivat","pasticciat","pastorizzat","pasturat","patinat","patit","patrocinat","patteggiat","pattugliat","pattuit","paventat","pavesat","pavimentat","pavoneggiat","pazziat","pedinat","pedonalizzat","peggiorat","pelat","pellettizzat","penalizzat","penetrat","pennellat","pensat","pensionat","pentit","pepat","peptonizzat","peragrat","percentualizzat","percepit","percolat","percors","percoss","perdonat","perdott","perdut","perequat","perfatt","perfezionat","perforat","performat","perit","periziat","perlustrat","permeat","permess","perorat","perpetrat","perpetuat","perplimut","perquisit","perscrutat","perseguitat","perseguit","pers","personalizzat","personificat","persuas","perturbat","pervas","pervertit","pesat","pescat","pestat","petrarcheggiat","pettegolat","pettinat","piagat","piaggiat","piallat","pianeggiat","pianificat","piantat","piantatal","piantat","piant","piantonat","piantumat","piastrellat","piatit","piazzat","picchettat","picchiat","picchierellat","picchiettat","picconat","piegat","pieghettat","pietrificat","pigiat","pigliat","pigmentat","pignorat","pigolat","pilotat","pimentat","pint","pinzat","piombat","piovigginat","piovut","pipat","pippat","piratat","pirogenat","pisciat","pitoccat","pittat","pitturat","pizzicat","pizzicottat","placat","placcat","plagiat","plasmat","plasticat","plastificat","platinat","plissettat","pluralizzat","poetat","poeticizzat","poggiat","polarizzat","poligrafat","polimerizzat","politicizzat","polverizzat","pomiciat","pompat","ponderat","ponzat","popolarizzat","popolat","poppat","porcellanat","porfirizzat","portat","portes","port","porzionat","posat","posdatat","positivizzat","posizionat","pospost","possedut","postat","postdatat","posteggiat","posticipat","postillat","post","postsincronizzat","postulat","potabilizzat","potat","potenziat","potut","pralinat","praticat","preaccennat","preannunciat","preannunziat","preavvertit","preavvisat","precaricat","precedut","precettat","precint","precisat","preclus","precompilat","precompress","preconfezionat","preconizzat","preconosciut","precors","precostituit","predat","predefinit","predestinat","predeterminat","predett","predicat","predigerit","predilett","predispost","preelett","preesistut","prefabbricat","prefat","prefatt","prefazionat","preferit","prefigurat","prefinanziat","prefissat","prefiss","preformat","pregat","pregiat","pregiudicat","pregustat","preimpregnat","prelevat","premeditat","premescolat","premess","premiat","premonit","premunit","premurat","premut","prenotat","preoccupat","preordinat","preparat","prepensionat","prepigmentat","prepost","preprogrammat","preraffreddat","prerefrigerat","preregistrat","preregolat","preriscaldat","pres","presagit","presaput","presasel","prescelt","prescritt","presedut","presegnalat","preselezionat","presentat","presentit","preservat","presidiat","presiedut","pres","pressat","press","pressurizzat","prestabilit","prestampat","prestat","prestigiat","presunt","presuppost","pretermess","pretes","pretrattat","prevaricat","prevedut","prevendut","preventivat","prevenut","previst","prezzat","prezzolat","principiat","privatizzat","privat","privilegiat","problematizzat","procacciat","processat","proclamat","procrastinat","procreat","procurat","prodigat","prodott","profanat","proferit","professat","professionalizzat","profetat","profetizzat","profferit","profilat","profondat","profumat","profus","progettat","prognosticat","programmat","proibit","proiettat","proletarizzat","prolungat","promanat","promess","promoss","promozionat","promulgat","pronosticat","pronunciat","pronunziat","propagandat","propagat","propagginat","propalat","propinat","propiziat","proporzionat","propost","propugnat","propuls","prorogat","prosciolt","prosciugat","proscritt","proseguit","prospettat","prosternat","prostes","prostituit","prostrat","prosunt","protes","protestat","protett","protocollat","protonat","protratt","protrus","provat","provedut","provincializzat","provist","provocat","provvedut","provvist","psicanalizzat","psichiatrizzat","psicoanalizzat","psicologizzat","pubblicat","pubblicizzat","puddellat","pugnalat","pulit","pungolat","punit","puntat","punteggiat","puntellat","punt","puntualizzat","punzecchiat","punzonat","purgat","purificat","putit","putrefatt","putrit","quadrat","quadrettat","quadriennalizzat","quadruplicat","qualificat","quantificat","quantizzat","querelat","questuat","quetat","quietanzat","quietat","quintessenziat","quintuplicat","quotat","quotizzat","rabberciat","rabboccat","rabbonit","rabbuffat","rabuffat","raccapezzat","raccapricciat","raccattat","raccerchiat","racces","racchetat","racchius","raccolt","raccolt","raccomandat","raccomodat","raccontat","raccorciat","raccorcit","raccordat","raccostat","raccozzat","racemizzat","racimolat","radazzat","raddensat","raddobbat","raddolcit","raddoppiat","raddott","raddrizzat","radiat","radicalizzat","radioassistit","radioattivat","radiocomandat","radiodiffus","radiografat","radioguidat","radiolocalizzat","radiomarcat","radiotelegrafat","radiotrasmess","radunat","raffazzonat","raffermat","raffigurat","raffilat","raffinat","rafforzat","raffreddat","raffrenat","raffrescat","raffrontat","raggelat","raggentilit","ragghiat","raggirat","raggiunt","raggiustat","raggomitolat","raggranchiat","raggranchit","raggranellat","raggrinzat","raggrinzit","raggrumat","raggruppat","raggruzzolat","ragguagliat","ralingat","rallegrat","rallentat","ramat","ramazzat","rammagliat","rammaricat","rammemorat","rammendat","rammentat","rammodernat","rammollit","rammorbidit","rampognat","randellat","randomizzat","rannicchiat","rannuvolat","ranzat","rapat","rapinat","rapit","rappacificat","rappat","rappattumat","rappezzat","rapportat","rappresantat","rappresentat","rappres","rarefatt","rasat","raschiat","raschiettat","rasentat","ras","raspat","rassegnat","rasserenat","rassettat","rassicurat","rassodat","rassomigliat","rassottigliat","rassunt","rastrellat","rastremat","rateat","rateizzat","ratificat","ratinat","rattizzat","rattoppat","rattort","rattrappit","rattristat","rattristit","raunat","ravvalorat","ravvedut","ravviat","ravvicinat","ravviluppat","ravvisat","ravvist","ravvivat","ravvolt","ravvoltolat","razionalizzat","razionat","razziat","razzolat","realizzat","reassunt","recapitat","recat","recedut","recensit","recepit","recidivat","recintat","recint","reciprocat","recis","recitat","reclamat","reclamizzat","reclinat","reclus","reclutat","recuperat","redarguit","redatt","redazzat","reddut","redent","redistribuit","redott","referenziat","refertat","refilat","refless","reflettut","refrant","refrigerat","regalat","regimat","regimentat","regionalizzat","registrat","regolamentat","regolarizzat","regolat","reidratat","reificat","reimbarcat","reimmers","reimmess","reimparat","reimpastat","reimpiantat","reimpiegat","reimportat","reimpostat","reincarcerat","reincaricat","reincarnat","reincis","reincontrat","reindirizzat","reindustrializzat","reinfettat","reingaggiat","reinizializzat","reinnestat","reinoltrat","reinscritt","reinsediat","reinserit","reinstallat","reinstaurat","reintegrat","reinterpretat","reintitolat","reintrodott","reinventat","reinvestit","reiterat","relativizzat","relazionat","relegat","remixat","remunerat","renderizzat","reperit","repertat","replicat","repress","repuls","reputat","requisit","resciss","resecat","resettat","residuat","resinificat","res","resolat","resolt","respint","respirat","responsabilizzat","respost","restaurat","restituit","resunt","resuscitat","reticolat","retinat","retribuit","retrocedut","retrocess","retrodatat","rettificat","rett","reumatizzat","revisionat","revocat","riabbassat","riabbellit","riabbonat","riabbottonat","riabbracciat","riabilitat","riabitat","riabituat","riaccadut","riaccasat","riacces","riaccettat","riacchiappat","riacciuffat","riaccolt","riaccomodat","riaccompagnat","riaccordat","riaccostat","riaccreditat","riacquisit","riacquistat","riacutizzat","riadattat","riaddestrat","riaddormentat","riadoperat","riaffacciat","riaffermat","riafferrat","riaffiorat","riaffittat","riaffrontat","riagganciat","riaggiornat","riaggiustat","riaggravat","riaggregat","riagguantat","rialimentat","riallacciat","riallargat","riallineat","riallocat","riallungat","rialzat","riamat","riambientat","riammalat","riammess","riammodernat","riammogliat","rianimat","rianness","riannodat","riannunciat","riapert","riappacificat","riappaltat","riapparecchiat","riapparit","riappes","riappiccicat","riapplicat","riappres","riapprodat","riappropriat","riapprovat","riarmat","riarrangiat","riarredat","riascoltat","riasfaltat","riassalit","riassaporat","riassegnat","riassemblat","riassestat","riassettat","riassicurat","riassociat","riassopit","riassorbit","riassunt","riattaccat","riattat","riattes","riattint","riattivat","riattizzat","riattraversat","riaumentat","riavut","riavventat","riavvertit","riavviat","riavvicinat","riavvint","riavvisat","riavvistat","riavvolt","riazzuffat","ribaciat","ribadit","ribaltat","ribassat","ribattezzat","ribattut","ribellat","ribenedett","ribevut","ributtat","ricacciat","ricalat","ricalcat","ricalcificat","ricalcitrat","ricalcolat","ricalibrat","ricamat","ricambiat","ricanalizzat","ricandidat","ricantat","ricapitalizzat","ricapitolat","ricaricat","ricategorizzat","ricattat","ricavat","ricelebrat","ricercat","ricetrasmess","ricettat","ricevut","richiamat","richiest","richius","riciclat","ricint","ricircolat","riclassificat","ricodificat","ricollegat","ricollocat","ricolmat","ricolonizzat","ricolorat","ricolorit","ricoltivat","ricombinat","ricominciat","ricommess","ricomparit","ricompattat","ricompensat","ricomperat","ricompilat","ricompiut","ricompost","ricomprat","ricompress","ricomunicat","riconcedut","riconcess","riconciliat","ricondizionat","ricondott","riconfermat","riconfezionat","riconfigurat","riconfortat","riconfus","ricongelat","ricongiunt","riconness","riconosciut","riconquistat","riconsacrat","riconsegnat","riconsiderat","riconsigliat","riconsolat","ricontat","ricontattat","ricontrattat","ricontratt","ricontrollat","riconvalidat","riconvenut","riconvertit","riconvint","riconvocat","riconvogliat","ricopert","ricopiat","ricordat","ricoricat","ricorrett","ricospars","ricostituit","ricostrett","ricostruit","ricott","ricoverat","ricreat","ricristallizzat","ricrocifiss","ricucit","ricuperat","ricusat","ridat","ridecorat","ridefinit","ridenominat","ridestat","rideterminat","ridett","ridicolizzat","ridigitat","ridimensionat","ridipint","ridisces","ridisciolt","ridisciplinat","ridiscuss","ridisegnat","ridisfatt","ridispost","ridistes","ridistint","ridistribuit","ridivis","ridomandat","ridonat","ridondat","ridorat","ridotat","ridott","ridovut","riecheggiat","riedificat","rieducat","rielaborat","rielett","riemess","riempit","riempiut","rientrat","riepilogat","riequilibrat","riequipaggiat","riesaminat","rieseguit","riesercitat","riesplos","riesportat","riespost","riespress","riespuls","riestes","riesumat","rietichettat","rievaporat","rievocat","rifabbricat","rifasciat","rifatt","rifendut","riferit","rifermat","rifermentat","rifess","rificcat","rifilat","rifiltrat","rifinanziat","rifinit","rifirmat","rifischiat","rifiss","rifiutat","rifless","riflettut","rifocillat","rifoderat","rifondat","riforestat","riforgiat","riformat","riformattat","riformulat","rifornit","rifrant","rifritt","rifrugat","rifuggit","rifugiat","rifus","rigassificat","rigat","rigelat","rigenerat","rigettat","righettat","rigiocat","rigirat","rigiudicat","rigiunt","rigodut","rigonfiat","rigovernat","riguadagnat","riguardat","rigurgitat","rilanciat","rilasciat","rilassat","rilavat","rilavorat","rilegat","rilett","rilevat","rilocalizzat","rimagliat","rimandat","rimaneggiat","rimangiat","rimappat","rimarcat","rimarchiat","rimarginat","rimaritat","rimasticat","rimat","rimbacuccat","rimbaldanzit","rimbarcat","rimbeccat","rimbecillit","rimbellit","rimbiancat","rimbiondit","rimboccat","rimbombat","rimborsat","rimboscat","rimboschit","rimbrottat","rimediat","rimembrat","rimemorat","rimenat","rimeritat","rimescolat","rimess","rimestat","rimilitarizzat","rimirat","rimischiat","rimisurat","rimodellat","rimodernat","rimodulat","rimondat","rimontat","rimorchiat","rimors","rimoss","rimostrat","rimotivat","rimpacchettat","rimpadronit","rimpaginat","rimpagliat","rimpannucciat","rimpastat","rimpatriat","rimpiallacciat","rimpiant","rimpiattat","rimpiazzat","rimpicciolit","rimpiccolit","rimpiegat","rimpinguat","rimpinzat","rimpolpat","rimpossessat","rimpress","rimproverat","rimuginat","rimunerat","rimunt","rimusicat","rimutat","rinarrat","rinascost","rincalcat","rincalzat","rincamminat","rincantucciat","rincarat","rincarcerat","rincarnat","rincentrat","rinchiest","rinchiodat","rinchius","rincitrullit","rincivilit","rincoglionit","rincollat","rincominciat","rincontrat","rincoraggiat","rincorat","rincorporat","rincors","rincretinit","rincrudit","rinculcat","rincuorat","rindossat","rindurit","rinegoziat","rinfacciat","rinfagottat","rinfiammat","rinfiancat","rinfilat","rinfittit","rinfocolat","rinfoderat","rinforzat","rinfrancat","rinfrant","rinfrescat","rinfus","ringagliardit","ringalluzzit","ringiovanit","ringiovenit","ringoiat","ringorgat","ringraziat","ringuainat","rinnamorat","rinnegat","rinnestat","rinnovat","rinnovellat","rinociut","rinomat","rinominat","rinormalizzat","rinquadrat","rinsaccat","rinsaldat","rinsanguat","rinselvatichit","rinselvat","rinserrat","rintanat","rintasat","rintascat","rintavolat","rintenerit","rinterrat","rinterrogat","rintes","rintiepidit","rintoccat","rintonacat","rintontit","rintorpidit","rintracciat","rintrodott","rintronat","rintuzzat","rinunciat","rinunziat","rinutrit","rinvangat","rinvasat","rinvenut","rinverdit","rinvestit","rinviat","rinvigorit","rinvilit","rinvitat","rinvoltat","rinvolt","rinvoltolat","rinzaffat","rinzeppat","riobbligat","rioccupat","rioffert","rioffes","rioperat","riordinat","riorganizzat","riorientat","riosservat","riottenut","riottimizzat","riotturat","ripagat","riparametrizzat","riparat","ripartit","ripassat","ripercors","ripercoss","riperdut","ripers","ripesat","ripescat","ripestat","ripetut","ripianat","ripianificat","ripiantat","ripiant","ripicchiat","ripiegat","ripigliat","ripint","ripiovut","ripitturat","riplasmat","ripolarizzat","ripopolat","riportat","riport","riposat","riposizionat","ripossedut","ripost","ripotut","ripresentat","ripres","riprestat","ripretes","riprincipiat","ripristinat","riprivatizzat","riprodott","riprogettat","riprogrammat","ripromess","ripropost","riprotett","riprovat","riprovvedut","riprovvist","ripubblicat","ripudiat","ripugnat","ripulit","ripuntat","ripunt","ripurgat","riputat","riquadrat","riqualificat","rires","rirott","risaldat","risalit","risaltat","risalutat","risanat","risaput","risarcit","riscalat","riscaldat","riscattat","riscelt","risces","rischiarat","rischiat","risciacquat","risciolt","riscommess","riscontat","riscontrat","risconvolt","riscopert","riscoppiat","riscors","riscoss","riscritt","risecat","risedut","risegat","risegnat","riselciat","riselezionat","riseminat","risentit","riseppellit","riserbat","riservat","risicat","risigillat","risistemat","ris","risoffiat","risoggiunt","risolat","risolidificat","risollevat","risolt","risommat","risommers","risonat","risorpassat","risospes","risospint","risottomess","risparmiat","rispars","rispecchiat","rispedit","rispent","rispers","rispettat","rispiegat","rispint","rispolverat","risposat","rispost","rissat","ristabilit","ristagnat","ristampat","ristaurat","ristes","ristilizzat","ristorat","ristrett","ristrutt","ristrutturat","ristuccat","ristudiat","risucchiat","risultat","risuolat","risuonat","risuscitat","risvegliat","risvolt","ritagliat","ritarat","ritardat","ritemprat","ritentat","ritenut","riters","rites","ritint","ritirat","ritoccat","ritolt","ritort","ritracciat","ritradott","ritrascors","ritrascritt","ritrasferit","ritrasformat","ritrasmess","ritraspost","ritrattat","ritratt","ritrovat","ritualizzat","rituffat","riudit","riunificat","riunit","riusat","riutilizzat","rivaccinat","rivaleggiat","rivalorizzat","rivals","rivalutat","rivangat","rivedut","rivelat","rivendicat","rivendut","riverberat","riverit","riverniciat","riversat","rivestit","rivettat","rivint","rivisitat","rivissut","rivist","rivitalizzat","rivivificat","rivoltat","rivolt","rivoltolat","rivolut","rivoluzionat","rizappat","rizzat","robotizzat","rodat","rogat","rollat","romanizzat","romanticizzat","romanzat","roncolat","rosicat","rosicchiat","ros","rosolat","rotacizzat","rotat","roteat","rotolat","rottamat","rott","rovesciat","rovinat","rovistat","rubacchiat","rubat","rullat","ruminat","ruotat","russificat","ruzzolat","sabbiat","sabotat","saccarificat","saccheggiat","sacralizzat","sacramentat","sacrificat","saettat","saggiat","sagginat","sagomat","salamoiat","salariat","salassat","salat","saldat","salificat","salinizzat","salit","salmeggiat","salmistrat","salpat","saltat","salutat","salvaguardat","salvat","sanat","sancit","sanforizzat","sanificat","sanitizzat","santificat","sanzionat","saponificat","saput","sarchiat","sarchiellat","sartiat","satellizzat","satinat","satireggiat","satisfatt","satollat","saturat","saziat","sbaccellat","sbaciucchiat","sbafat","sbaffat","sbalestrat","sballat","sballottat","sballottolat","sbalordit","sbalzat","sbancat","sbandat","sbandierat","sbandit","sbaraccat","sbaragliat","sbarazzat","sbarbat","sbarcat","sbardat","sbarrat","sbassat","sbastit","sbatacchiat","sbattezzat","sbattut","sbeccat","sbeffeggiat","sbellicat","sbendat","sbertucciat","sbiadit","sbiancat","sbianchit","sbiellat","sbiettat","sbigottit","sbilanciat","sbirbat","sbirciat","sbizzarrit","sbloccat","sbobinat","sboccat","sbocconcellat","sbollentat","sbolognat","sborniat","sborsat","sboscat","sbottonat","sbozzat","sbozzimat","sbozzolat","sbracat","sbracciat","sbraciat","sbraitat","sbranat","sbrancat","sbrattat","sbreccat","sbriciolat","sbrigat","sbrigliat","sbrinat","sbrindellat","sbrodolat","sbrogliat","sbronzat","sbruffat","sbucciat","sbudellat","sbuffat","sbugiardat","sbullettat","sbullonat","sburrat","scacazzat","scacchiat","scacciat","scaccolat","scadenzat","scafat","scaffalat","scagionat","scagliat","scaglionat","scalat","scalcat","scalcinat","scaldat","scalettat","scalfat","scalfit","scalmanat","scaloppat","scalpat","scalpellat","scalpellinat","scaltrit","scalzat","scambiat","scamiciat","scamosciat","scamozzat","scampat","scampatal","scampat","scamuffat","scanalat","scancellat","scandagliat","scandalizzat","scandit","scannat","scannellat","scannerat","scannerizat","scannerizzat","scansat","scansionat","scapecchiat","scapezzat","scapicollat","scapigliat","scapitozzat","scapocchiat","scappat","scappellat","scappottat","scapricciat","scapsulat","scarabocchiat","scaracchiat","scaraventat","scarcerat","scardassat","scardat","scardinat","scaricat","scarificat","scarmigliat","scarnat","scarnificat","scarnit","scarrellat","scarrocciat","scarrozzat","scarruffat","scartabellat","scartat","scartavetrat","scartinat","scartocciat","scassat","scassinat","scatenat","scattat","scavalcat","scavallat","scavat","scavezzat","scazzottat","scekerat","scelt","scempiat","sceneggiat","scernut","scervellat","sces","sceverat","schedat","schedulat","scheggiat","scheletrit","schematizzat","schermat","schermit","schermografat","schernit","schiacciat","schiaffat","schiaffeggiat","schiantat","schiarit","schiavardat","schiavizzat","schiccherat","schierat","schifat","schinciat","schioccat","schiodat","schiumat","schius","schivat","schizzat","schizzettat","sciabolat","sciabordat","sciacquat","scialacquat","sciamanizzat","sciamannat","sciancat","sciancrat","scimmieggiat","scimmiottat","scint","scioccat","sciolinat","sciolt","sciorinat","scippat","sciroppat","sciss","sciupacchiat","sciupat","sclamat","sclerosat","sclerotizzat","scoccat","scocciat","scodat","scodellat","scoiat","scolarizzat","scolat","scollacciat","scollat","scollegat","scolorat","scolorit","scolpat","scolpit","scombaciat","scombinat","scombussolat","scommess","scomodat","scompaginat","scompagnat","scompartit","scompattat","scompensat","scompiacut","scompigliat","scompost","scomputat","scomunicat","sconcertat","sconciat","sconclus","sconfessat","sconficcat","sconfitt","sconfortat","sconfus","scongelat","scongiurat","sconness","sconosciut","sconquassat","sconsacrat","sconsigliat","sconsolat","scontat","scontentat","scontornat","scontort","scontrat","sconvolt","scopat","scoperchiat","scopert","scopiazzat","scoraggiat","scoraggit","scorat","scorazzat","scorciat","scorcit","scordat","scoreggiat","scorificat","scornat","scorniciat","scoronat","scorporat","scorrazzat","scorreggiat","scorrett","scors","scortat","scortecciat","scorticat","scort","scorzat","scosces","scosciat","scoss","scostat","scostolat","scotennat","scoticat","scotolat","scotomizzat","scottat","scott","scovat","scovert","scozzat","scozzonat","screditat","scremat","screpolat","screziat","scribacchiat","scriminat","scristianizzat","scritt","scritturat","scroccat","scrocchiat","scrollat","scrostat","scrutat","scrutinat","scucit","scudisciat","scuffiat","sculacciat","sculettat","scuoiat","scuriosat","scurit","scusat","sdaziat","sdebitat","sdegnat","sdemanializzat","sdentat","sdilinquit","sdoganat","sdolut","sdoppiat","sdraiat","sdrammatizzat","sdrucit","secat","seccat","secernut","secolarizzat","secondat","secretat","secret","sedat","sedentarizzat","sedott","segat","seghettat","segmentat","segnalat","segnat","segnoreggiat","segregat","segretat","seguitat","seguit","selciat","selezionat","sellat","sembrat","sementat","semicint","seminat","semplificat","senilizzat","sensibilizzat","sensorizzat","sentenziat","sentit","sentitasel","sentit","sentit","separat","sepolt","seppellit","sequenziat","sequestrat","serbat","serrat","servit","servoassistit","sessualizzat","sestuplicat","setacciat","setificat","settat","settorializzat","settuplicat","seviziat","sezionat","sfaccettat","sfagliat","sfaldat","sfalsat","sfamat","sfanalat","sfangat","sfarinat","sfasat","sfasciat","sfatat","sfatt","sfavillat","sfavorit","sfegatat","sfeltrat","sfendut","sferragliat","sferrat","sferzat","sfess","sfiancat","sfiatat","sfiat","sfibbiat","sfibrat","sfidat","sfiduciat","sfigurat","sfilat","sfilettat","sfinit","sfioccat","sfiorat","sfittat","sfocat","sfociat","sfoderat","sfogat","sfoggiat","sfogliat","sfollat","sfoltit","sfondat","sforacchiat","sforat","sforbiciat","sformat","sfornaciat","sfornat","sfornit","sforzat","sfottut","sfracellat","sfrangiat","sfrascat","sfratat","sfrattat","sfrecciat","sfregat","sfregiat","sfrenat","sfrisat","sfrondat","sfrucugliat","sfruculiat","sfruttat","sfumat","sfuocat","sgamat","sganasciat","sganciat","sgarbugliat","sgattaiolat","sgelat","sghiacciat","sgocciolat","sgolat","sgomberat","sgombrat","sgomentat","sgominat","sgomitat","sgomitolat","sgonfiat","sgorbiat","sgottat","sgovernat","sgozzat","sgraffiat","sgraffignat","sgranat","sgranchit","sgranellat","sgrassat","sgravat","sgretolat","sgridat","sgrommat","sgrondat","sgroppat","sgrossat","sgrovigliat","sgrugnat","sguainat","sgualcit","sguanciat","sguarnit","sguinzagliat","sgusciat","shakerat","shoccat","shuntat","sigillat","siglat","significat","signoreggiat","silenziat","silicizzat","sillabat","sillogizzat","silurat","simboleggiat","simbolizzat","simmetrizzat","simpatizzat","simulat","sincerat","sincopat","sincretizzat","sincronizzat","sindacalizzat","sindacat","singolarizzat","sinistrat","sinizzat","sinterizzat","sintetizzat","sintonizzat","siringat","sistematizzat","sistemat","situat","slabbrat","slacciat","slamat","slanciat","slappolat","slargat","slavizzat","slegat","slentat","slinguat","slogat","sloggat","sloggiat","slombat","slungat","smaccat","smacchiat","smagliat","smagnetizzat","smagrit","smaliziat","smallat","smaltat","smaltit","smammat","smanacciat","smangiat","smantellat","smarcat","smarginat","smarrit","smascellat","smascherat","smaterializzat","smattonat","smembrat","smentit","smerciat","smerdat","smerigliat","smerlat","smerlettat","smessal","smess","smezzat","smidollat","smielat","smilitarizzat","sminat","sminuit","sminuzzat","smistat","smitizzat","smobiliat","smobilitat","smobilizzat","smoccolat","smollicat","smonacat","smontat","smorbat","smorzat","smoss","smozzicat","smunt","smurat","smussat","smutandat","snaturat","snazionalizzat","snebbiat","snellit","snervat","snidat","sniffat","snobbat","snocciolat","snodat","snudat","sobbarcat","sobbollit","sobillat","socchius","soccors","soddisfatt","sodisfatt","sodomizzat","sofferit","soffermat","soffert","soffiat","soffocat","soffregat","soffritt","soffus","sofisticat","soggettivat","soggettivizzat","sogghignat","soggiogat","soggiunt","sogguardat","sognat","solarizzat","solcat","soleggiat","solennizzat","solfeggiat","solfitat","solfonat","solforat","solidificat","solit","sollazzat","sollecitat","solleticat","sollevat","solt","solubilizzat","solut","soluzionat","solvatat","somatizzat","someggiat","somigliat","sommat","sommers","sommess","somministrat","sommoss","sonat","sondat","sonorizzat","sopit","soppalcat","soppesat","soppiantat","sopportat","soppost","soppress","sopraddotat","sopraeccitat","sopraedificat","sopraelevat","sopraffat","sopraffatt","sopraggiunt","sopraintes","soprammess","soprannominat","soprapost","soprappres","soprascritt","sopraspes","soprassaturat","soprassedut","sopravanzat","sopravvalutat","sopravvedut","sopravvint","sopravvist","sopreccitat","sopredificat","soprelevat","soprintes","sorbettat","sorbit","sorgiunt","sormontat","sorpassat","sorpres","sorras","sorrett","sorseggiat","sorteggiat","sortit","sorvegliat","sorvolat","soscritt","sospes","sospettat","sospint","sospirat","sostantivat","sostanziat","sostentat","sostenut","sostituit","sottaciut","sotterrat","sottes","sottintes","sottoalimentat","sottocapitalizzat","sottodivis","sottoespost","sottofirmat","sottolineat","sottomess","sottomurat","sottopagat","sottopassat","sottopost","sottorappresentat","sottoris","sottoscritt","sottostimat","sottosviluppat","sottotitolat","sottovalutat","sottratt","soverchiat","sovesciat","sovietizzat","sovracapitalizzat","sovraccaricat","sovradimensionat","sovraeccitat","sovraespost","sovraffaticat","sovraffollat","sovraggiunt","sovraimpost","sovraintes","sovralimentat","sovramodulat","sovrappopolat","sovrappost","sovrariscaldat","sovrasaturat","sovrascritt","sovrastampat","sovrastat","sovrastimat","sovrautilizzat","sovreccitat","sovrespost","sovrimpost","sovrintes","sovvenut","sovvenzionat","sovvertit","spaccat","spacchettat","spacciat","spaginat","spaiat","spalancat","spalat","spalcat","spalleggiat","spalmat","spammat","spampanat","spampinat","spanat","spanciat","spandut","spannat","spannocchiat","spans","spantanat","spant","spaparacchiat","spaparanzat","spappolat","sparat","sparecchiat","sparigliat","sparit","sparlat","sparpagliat","spartit","spassat","spassatosel","spastoiat","spaurat","spaurit","spaventat","spazializzat","spaziat","spazieggiat","spazientit","spazzat","spazzolat","specchiat","specializzat","specificat","specillat","specolat","spedit","spegnat","spelacchiat","spelat","spellat","spennacchiat","spennat","spennellat","spent","spenzolat","sperat","sperimentat","spernacchiat","speronat","sperperat","spersonalizzat","sperticat","spesat","spes","spessit","spettacolarizzat","spettinat","spezzat","spezzettat","spezziat","spezzonat","spiaccicat","spianat","spiantat","spiat","spiattellat","spiazzat","spiccat","spicciat","spiccicat","spicciolat","spicconat","spidocchiat","spiegat","spiegazzat","spietrat","spifferat","spigionat","spignorat","spigolat","spigrit","spillat","spilluzzicat","spiluccat","spint","spintonat","spiombat","spiralizzat","spirantizzat","spirat","spiritualizzat","spiumat","spizzicat","spodestat","spoetizzat","spogliat","spolettat","spoliat","spoliticizzat","spollonat","spolmonat","spolpat","spoltronit","spolverat","spolverizzat","spompat","spompinat","sponsorizzat","spopolat","spoppat","sporcat","sportat","sport","sposat","spossedut","spossessat","spostat","spost","sprangat","sprecat","spregiat","spremut","spretat","sprezzat","sprigionat","sprimacciat","spromess","spronat","sprotett","sprovincializzat","sprovvedut","sprovvist","spruzzat","spugnat","spulat","spulciat","spuntat","spuntellat","spupazzat","spurgat","sputacchiat","sputat","sputtanat","squadernat","squadrat","squagliat","squagliatasel","squagliat","squalificat","squamat","squarciat","squartat","squassat","squattrinat","squilibrat","squinternat","sradicat","srotolat","srugginit","stabbiat","stabilit","stabilizzat","stabulat","staccat","stacciat","staffat","staffilat","staggiat","staggit","stagionat","stagliat","stagnat","stamburat","stampat","stampigliat","stanat","stancat","standardizzat","stangat","stanziat","stappat","starat","starnazzat","stasat","statalizzat","statizzat","statuit","stazzat","stazzonat","steccacciat","steccat","stecchit","stecconat","stemperat","stempiat","stenografat","stereotipat","sterilit","sterilizzat","sterminat","sterpat","sterrat","sterzat","stes","stigliat","stigmatizzat","stilat","stilettat","stilizzat","stillat","stimat","stimolat","stint","stipat","stipendiat","stipulat","stiracchiat","stirat","stivat","stizzit","stoccat","stolt","stomacat","stonat","stondat","stoppat","stordit","storicizzat","stornat","storpiat","stortat","stort","stozzat","strabenedett","strabuzzat","stracannat","straccat","stracciat","stracott","strafogat","stragodut","stralciat","stralodat","stralunat","stramaledett","stramortit","strangolat","straniat","stranit","straorzat","strapagat","strapazzat","straperdut","strapers","strappat","strasaput","strascicat","strascinat","strasformat","stratificat","strattonat","stravaccat","stravint","stravolt","stravolut","straziat","stregat","stremat","stressat","striat","stridulat","strigat","strigliat","strillat","striminzit","strimpellat","strinat","stringat","strisciat","stritolat","strizzat","strofinat","strombat","strombazzat","stroncat","stronzat","stropicciat","stroppat","stroppiat","strozzat","struccat","strumentalizzat","strumentat","strusciat","strutt","strutturalizzat","strutturat","stuccat","studiacchiat","studiat","stuellat","stufat","stupefatt","stupit","stuprat","sturat","stutat","stuzzicat","suas","subaffittat","subappaltat","subbiat","subdelegat","subissat","subit","sublicenziat","sublimat","sublocat","subodorat","subordinat","subornat","suburbanizzat","sucat","succhiat","succhiellat","succiat","succint","succis","suddistint","suddivis","suffissat","suffiss","suffragat","suffumicat","suffus","suggellat","suggerit","suggestionat","suicidat","sunteggiat","sunt","suolat","suonat","superat","superpagat","superraffreddat","supervalutat","supervisionat","supplicat","supplit","supportat","suppost","suppurat","surclassat","surfat","surgelat","surraffreddat","surriscaldat","surrogat","survoltat","suscitat","susseguit","sussidiat","sussunt","sussurrat","suturat","svaccat","svagat","svaligiat","svalutat","svapat","svariat","svasat","svecchiat","svegliat","svelat","svelenit","sveltit","svelt","svenat","svendut","sventagliat","sventat","sventolat","sventrat","sverginat","svergognat","svergolat","sverminat","sverniciat","svestit","svettat","svezzat","sviat","svignatosel","svigorit","svilit","svillaneggiat","sviluppat","svinat","svincolat","sviolinat","svirgolat","svirilizzat","svisat","sviscerat","svitat","sviticchiat","svolat","svolazzat","svolt","svolut","svuotat","tabuizzat","tabulat","taccat","taccheggiat","tacciat","tacitat","taciut","tagliat","taglieggiat","tagliuzzat","talebanizzat","tallonat","tampinat","tamponat","tangut","tannat","tappat","tappezzat","tarat","tardat","targat","tariffat","tarlat","tarmat","taroccat","tarpat","tartagliat","tartassat","tartufat","tassat","tassellat","tastat","tasteggiat","tatuat","tecnicizzat","tecnologizzat","tedeschizzat","tediat","teflonat","telecomandat","telecontrollat","telediffus","telefonat","telegrafat","teleguidat","telematizzat","telemetrat","teleradiotrasmess","teletrasmess","teletrasportat","tematizzat","temperat","tempestat","tempificat","templatizzat","temporizzat","temprat","temut","tentat","tenut","teologizzat","teorizzat","tepefatt","terebrat","terminat","termostatat","terrazzat","terrificat","terrorizzat","ters","terzarolat","terziarizzat","terziat","tesat","tesaurizzat","tes","tesserat","testat","testificat","testimoniat","timbrat","tindalizzat","tinteggiat","tint","tipicizzat","tipizzat","tippat","tiranneggiat","tirat","titillat","titolat","toccat","toelettat","tollerat","tolt","tonalizzat","tonificat","tonneggiat","tonsurat","torchiat","tormentat","tornit","torrefatt","tort","tortoreggiat","torturat","tosat","toscaneggiat","toscanizzat","tostat","totalizzat","traboccat","trabuccat","tracannat","tracciat","tradit","tradott","trafficat","trafilat","trafitt","traforat","trafugat","traghettat","traguardat","trainat","tralasciat","tralignat","tramandat","tramat","trambasciat","tramess","tramestat","tramezzat","tramortit","tramutat","tranciat","trangugiat","tranquillat","tranquillizzat","transatt","transces","transcodificat","transcors","transcritt","transennat","transfluit","transfus","transistorizzat","translitterat","transpost","transricevut","transustanziat","transvedut","transvist","trapanat","trapassat","trapiantat","traportat","trapost","trappost","trapuntat","trapunt","trarott","trasandat","trasbordat","trascelt","trasces","trascinat","trascors","trascritt","trascurat","trasdott","trasferit","trasfigurat","trasformat","trasfus","trasgredit","traslat","traslitterat","traslocat","trasmess","trasmutat","trasparit","traspirat","trasportat","traspost","trastullat","trasudat","trasvolat","trasvolt","trattat","tratteggiat","trattenut","tratt","traumatizzat","travagliat","travalicat","travasat","travedut","traversat","travestit","traviat","travisat","travist","travolt","trebbiat","triangolat","tribbiat","tribolat","tributat","triennalizzat","trimestralizzat","trincat","trincerat","trinciat","tripartit","triplicat","trisecat","trisezionat","tritat","triturat","trivellat","trollat","trombat","troncat","tropicalizzat","trovat","truccat","trucidat","truffat","tuffat","tumefatt","tumulat","turat","turbat","turlupinat","tutelat","twittat","ubbidit","ubbligat","ubicat","ubidit","ubiquitinat","ubriacat","uccellat","uccellinat","uccis","udit","ufficializzat","ufficiat","uggit","ugnat","uguagliat","ulcerat","ulit","ulolat","ultimat","ultracentrifugat","ululat","umanat","umanizzat","umettat","umidificat","umidit","umiliat","uncinat","unguentat","unificat","uniformat","unit","univerbat","universaleggiat","universalizzat","untat","unt","uperizzat","urbanizzat","urgenzat","urlat","urtacchiat","urtat","urticchiat","usat","usciolat","usolat","ustionat","usucapit","usurat","usurpat","utilitat","utilizzat","vaccinat","vagabondeggiat","vagellat","vagheggiat","vagillat","vagliat","valcat","valicat","validat","valorizzat","vals","valutat","vanagloriat","vanat","vandalizzat","vangat","vangelizzat","vanificat","vanit","vantaggiat","vantat","vaporat","vaporizzat","varat","varcat","variat","vasectomizzat","vaticinat","vedovat","vedut","vegetat","veggiat","vegliat","veicolat","velarizzat","velat","velettat","velinat","vellicat","vellutat","velocizzat","vendemmiat","vendicat","vendicchiat","venducchiat","vendut","venerat","vengiat","ventagliat","ventilat","ventolat","verbalizzat","vergat","vergheggiat","vergognat","vergolat","verificat","verminat","vernalizzat","verniciat","verrinat","versat","verseggiat","versificat","verticalizzat","vessat","vestit","vestit","vetrificat","vetrinat","vetrioleggiat","vettovagliat","vezzeggiat","viaggiat","vicinat","vicitat","videochattat","videochiamat","videocomunicat","videoregistrat","videotrasmess","vidimat","vigilat","vigliat","vigoreggiat","vigorit","vilificat","vilipes","villaneggiat","vincolat","vint","violat","violentat","violinat","virgolat","virgoleggiat","virgolettat","virilizzat","virtualizzat","visionat","visitat","vissut","vistat","vist","visualizzat","vitaliziat","vitalizzat","vitaminizzat","vittimizzat","vituperat","vivacizzat","vivandat","vivificat","vivisezionat","viziat","vocabolarizzat","vocalizzat","vocat","vociferat","volantinat","volatilizzat","volgarizzat","volicchiat","volpeggiat","voltat","volt","voltolat","volturat","voluminizzat","volut","volutoc","vomitat","vorat","votat","vulcanizzat","vuotat","wappat","wikificat","xerocopiat","zaffat","zampat","zampettat","zampillat","zannat","zappat","zappettat","zapponat","zavorrat","zeppat","zigrinat","zigzagat","zimbellat","zincat","zinnat","zipolat","zippat","zirlat","zittit","zizzagat","zoccolat","zollat","zombat","zonat","zonizzat","zoppat","zoppeggiat","zoppicat","zucconat","zufolat","zumat","zuppat"],{getWords:Y}=i.languageProcessing;const{directPrecedenceException:Z,precedenceException:aa,values:ta}=i.languageProcessing,{Clause:ia}=ta,ea=["fui","fu","fosti","fummo","foste","furono","stato","stati","stata","state","venire","vengo","vieni","viene","veniamo","venite","vengono","venivo","venivi","veniva","venivamo","venivate","venivano","verrò","verrai","verrà","verremo","verrete","verranno","venni","venisti","venne","venimmo","veniste","vennero","verrei","verresti","verrebbe","verremmo","verreste","verrebbero","venga","veniamo","venite","vengano","veniate","venissi","venisse","venissimo","veniste","venissero","andare","vado","vai","va","andiamo","andate","vanno","andavo","andavi","andava","andavamo","andavate","andavano","vada","andiate","andante","andato","andassi","andasse","andassimo","andaste","andassero","andai","andasti","andò","andammo","andarono","andrò","andrai","andrà","andremo","andrete","andranno","andrei","andresti","andrebbe","andremmo","andreste","andrebbero","vadano","andando"],{createRegexFromArray:ra,getClauses:sa}=i.languageProcessing,oa={Clause:class extends ia{constructor(a,t){super(a,t),this._participles=function(a){return Y(a).filter((a=>function(a){return["a","o","e","i"].some((t=>{if(a.length>3&&a.endsWith(t)){const t=a.slice(0,-1);return X.includes(t)}}))}(a)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const a=this.getClauseText(),t=this.getParticiples().filter((t=>!Z(a,t,I)&&!aa(a,t,J)));this.setPassive(t.length>0)}},stopwords:V,auxiliaries:ea,regexes:{auxiliaryRegex:ra(ea),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi,followingAuxiliaryExceptionRegex:ra(["il","i","la","le","lo","gli","uno","una"]),directPrecedenceExceptionRegex:ra(["mi","ti","si","ci","vi"])}};function na(a){return sa(a,oa)}const ca=window.lodash,{createSingleRuleFromArray:la,createRulesFromArrays:pa}=i.languageProcessing;function ma(a,t){return t.externalStemmer.vowels.includes(a)}function da(a,t){for(let i=0;i<t.length;i++)if(a.endsWith(t[i]))return t[i];return""}const ua=function(a,t){for(const i of t)if(i[1].includes(a))return i[0];return null},{baseStemmer:ga}=i.languageProcessing;function za(a){const t=(0,ca.get)(a.getData("morphology"),"it",!1);return t?a=>function(a,t){const i=ua(a,t.irregularPluralNounsAndAdjectives);if(i)return i;const e=ua(a,t.irregularVerbs);if(e)return e;if((a=function(a,t){a=function(a,t){const i=pa(t.externalStemmer.preProcessing.acuteReplacements,"gi");for(const t of i)a=a.replace(t.reg,t.repl);return a}(a=a.toLowerCase(),t);const i=la(t.externalStemmer.preProcessing.quReplacement,"g");return a=function(a,t){return a.replace(new RegExp(t.externalStemmer.preProcessing.vowelMarking,"g"),((a,t,i,e)=>t+i.toUpperCase()+e))}(a=a.replace(i.reg,i.repl),t),a}(a,t)).length<3)return a;const{r1:r,r2:s,rv:o}=function(a,t){let i=a.length,e=a.length,r=a.length;for(let e=0;e<a.length-1&&i===a.length;e++)ma(a[e],t)&&!ma(a[e+1],t)&&(i=e+2);for(let r=i;r<a.length-1&&e===a.length;r++)ma(a[r],t)&&!ma(a[r+1],t)&&(e=r+2);return a.length>3&&(r=ma(a[1],t)?ma(a[0],t)&&ma(a[1],t)?function(a,t,i){const e=a.length;for(let i=2;i<e;i++)if(!ma(a[i],t))return i;return e}(a,t)+1:3:function(a,t,i){const e=a.length;for(let i=2;i<e;i++)if(ma(a[i],t))return i;return e}(a,t)+1),{r1:i,r2:e,rv:r}}(a,t);let n=a.substring(r),c=a.substring(s),l=a.substring(o);const p=a;(a=function(a,t,i){const e=da(a,t.externalStemmer.pronounSuffixes.suffixes);if(""!==e){const r=da(i.slice(0,-e.length),t.externalStemmer.pronounSuffixes.preSuffixesGerund),s=da(i.slice(0,-e.length),t.externalStemmer.pronounSuffixes.preSuffixesInfinitive);""!==r&&(a=a.slice(0,-e.length)),""!==s&&(a=a.slice(0,-e.length)+t.externalStemmer.pronounSuffixes.infinitiveCompletion)}return a}(a,t,l))!==p&&(n=a.substring(r),c=a.substring(s),l=a.substring(o));const m=a;(a=function(a,t,i,e,r){const s={r1:e,r2:i,rv:r};for(const i of t.externalStemmer.standardSuffixes){const t=da(s[i.region],i.suffixes);if(t)return a.slice(0,-t.length)+i.replacement}return a}(a,t,c,n,l))!==m&&(l=a.substring(o)),m===a&&(a=function(a,t,i){const e=da(i,t.externalStemmer.verbSuffixes);return e&&(a=a.slice(0,-e.length)),a}(a,t,l)),l=a.substring(o);let d="";""!==(d=da(l,t.externalStemmer.generalSuffixes))&&(a=a.slice(0,-d.length)),l=a.substring(o),a=(a=function(a,t,i){const e=t.externalStemmer.digraphNormalization.digraphCh,r=t.externalStemmer.digraphNormalization.digraphGh;return i.endsWith(e[0])?a=a.slice(0,-r[0].length)+e[1]:i.endsWith(r[0])&&(a=a.slice(0,-r[0].length)+r[1]),a}(a,t,l)).toLowerCase();const u=function(a,t){for(const i of t.verbsWithMultipleStems)if(i.includes(a))return i[0];for(const i of t.irregularDiminutives)if(i.includes(a))return i[0]}(a,t.stemsThatBelongToOneWord);return u||a.toLowerCase()}(a,t):ga}const{formatNumber:fa}=i.helpers;function va(a){const t=217-1.3*a.averageWordsPerSentence-.6*a.syllablesPer100Words;return fa(t)}const{AbstractResearcher:ba}=i.languageProcessing;class ha extends ba{constructor(a){super(a),Object.assign(this.config,{language:"it",passiveConstructionType:"periphrastic",firstWordExceptions:e,functionWords:U,stopWords:V,transitionWords:s,twoPartTransitionWords:H,syllables:K,sentenceLength:Q}),Object.assign(this.helpers,{getClauses:na,getStemmer:za,fleschReadingScore:va})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/el.js 0000644 00000105547 15174677550 0010450 0 ustar 00 (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>C});const r=window.yoast.analysis,n={firstWords:["o","του","τον ","ο","των","τους","η","της","την","τις","το","τα","ένας","ενός","έναν","μία","μίας","μία","ένα","μια","μιας","μια","ένα","δύο","τρία","τέσσερα","πέντε ","έξι","επτά","εφτά","οκτώ","οχτώ","εννέα","εννιά","δέκα","αυτός","αυτού","αυτόν","αυτοί","αυτών","αυτούς","αυτή","αυτής","αυτή","αυτό","αυτά","εκείνος","εκείνου","εκείνον","εκείνοι","εκείνων","εκείνη","εκείνης","εκείνη","εκείνες","εκείνο","εκείνα","τέτοιος","τέτοιου","τέτοιον","τέτοιοι","τέτοιων","τέτοιους","τέτοια","τέτοιας","τέτοιαν","τέτοιες","τέτοιο","τέτοια","τόσος","τόσου","τόσον","τόσοι","τόσων","τόσους","τόση","τόσης","τόσες","τόσο","τόσα","τούτος","τούτου","τούτον","τούτοι","τούτων","τούτους","τούτη ","τούτης","τούτην ","τούτες","τούτο","τούτα","εδώ","εκεί"],secondWords:["o","του","τον ","ο","των","τους","η","της","την","τις","το","τα","που","τον","οι"]},s=["εξαιτίας","επειδή","γιατί","διότι","καθώς","ώστε","λοιπόν","αλλά","μα","όμως ","παρά","μόνο","μόλο","ωστόσο","εντούτοις","έπειτα","μολαταύτα","μάλιστα","εξάλλου","αντίθετα","απεναντίας","διαφορετικά","ειδάλλως ","ειδεμή","αλλιώς ","αλλιώτικα","πάλι","ενώ","μολονότι","αντίστροφα","αρχικά","προγουμένως","πρώτα","ύστερα","πριν","εντωμεταξύ","τέλος","όταν","καθ΄ψς","όποτε","μόλις","αργότερα","αν","δηλαδή","ειδικότερα","ήτοι","συγκεκριμένα","ειδικά","καταρχήν","κατόπιν","πρωταρχικα","συγκεφαλαιωτικά","συγκεφαλαιώνοντας","συγκεντρωτικά","συνοπτικά","επιλογικά","ανακεφαλαιώνοντας","τελικά","γενικά","ευρύτερα","επιπλέον","επιπρόσθετα","επίσης","ακόμη","πρόσθετα","όπως","ομοίως","σαν","επομένως","συνεπώς","πράγματι","βέβαια","όντως","αφού","αφότου","καταρχάς","ακολούθως","εφόσον","κυρίως","φυσικά","ασφαλώς","οπωσδήποτε","αναντίρρητα","προφανώς"],g=s.concat(["παρόλο που","ένας ακόμα λόγος","αυτό οφείλεται","αυτό εξηγείται","αυτό δικαιλογείται","η αιτία είναι","ο λόγος είναι","γι'αυτό τον λόγο","παρόλα ταύτα","ως επακόλουθο","ως αποτέλεσμα","κατά συνέπεια","έτσι που","και όμως","και γι'αυτό","σε αντίθεση","από την άλλη πλευρά","αν και","και αν","στον αντίποδα","ακόμη κι αν","παρ'όλα αυτά","στη συνέχεια","είναι γεγονός ότι","αξίζει να σημειωθεί","με άλλα λόγια","αυτό σημαίνει ότι","για παράδειγμα","παραδείγματος χάριν","λόγου χάριν","σε περίπτωση που","εκτός κι αν","εξαιτίας αυτού","με τον ίδιο τρόπο","με παρόμοιο τρόπο","με την προϋπόθεση να","υπό τον όρο να","εν κατακλείδι ","χάρη σε αυτό","από την στιγμή που","έχει μεγάλη σημασία να","είναι απαραίτητο να","είναι αναγκαίο να","είναι αξιοσημείωτο","στο μεταξύ","στην αρχή","με δεδομένο"]),o=[["όχι μόνο","αλλά και"],["όχι μόνο να μην","αλλά ούτε και να"],["από την μία","από την άλλη"],["αφενός","αφετέρου"],["μεν","δε"],["είτε","είτε"]],l=function(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}([].concat(["μιανής","στους","στον","στου","στην","στης","ένας","ενός","έναν","μίας","μιάς","την","του","τον","των","τις","της","στο","στα","μία","μια","ένα","το","η ","τα","οι","τη","ο"],["ένα","δύο ","τρία ","τέσσερα","πέντε","έξι","εφτά","οχτώ","εννιά","οκτώ","εννέα","δέκα","εκατό","χίλια","εκατομμύριο","εκατομμύρια","δισεκατομμύριο","δισεκατομμύρια","έντεκα","ένδεκα","δώδεκα","δεκατρία","δεκατέσσερα","δεκαπέντε","δεκαέξι","δεκαεπτά","δεκαοκτώ","δεκαεννέα","είκοσι"],["πρώτος","δεύτερος","τρίτος","τέταρτος","πέμπτος","έκτος","έβδομος","όγδοος","ένατος","δέκατος","πρώτη","δεύτερη","τρίτη","τέταρτη","πέμπτη","έκτη","έβδομη","όγδοη","ένατη","δέκατη","πρώτο ","δεύτερο","τρίτο","τέταρτο","πέμπτο","έκτο","έβδομο","όγδοο","ένατο","δέκατο","διπλάσιος","διπλάσια","διπλάσιο","τριπλάσιος","τριπλάσια","τριπλάσιο","διπλός","διπλή","τριπλός","τριπλή","χίλιοι","χίλιες","εκατοντάδες","χιλιάδες"],["μισός","μισή","μισό","τέταρτο","τρίτο","ολόκληρο","ολόκληρος"],["εγώ","εσύ","αυτός","αυτή","αυτό","εμείς","εσείς","αυτοί","αυτές","αυτά","αυτούς","εμένα","εσένα","αυτών","μένα","σένα","εμάς","εσάς","μου","σου","μας","σας","με","σε"],["τέτοιους","εκείνος","εκείνου","εκείνον","εκείνοι","εκείνων","εκείνης","εκείνες","τέτοιος","τέτοιου","τέτοιον","τέτοιοι","τέτοιων","τέτοιας","τέτοιαν","τέτοιες","τούτους","τούτην ","εκείνη","εκείνη","εκείνο","εκείνα","τέτοια","τέτοιο","τέτοια","τόσους","τούτος","τούτου","τούτον","τούτοι","τούτων","τούτη ","τούτης","τούτες","αυτού","αυτόν","αυτής","τόσος","τόσου","τόσον","τόσοι","τόσων","τόσης","τόσες","τούτο","τούτα","τόση","τόσο","τόσα","εκεί","εδώ"],["ποιανού","ποιανής","ποιανών","ποιους","πόσους","ποιος","ποιου","ποιον","ποιας","πόσος","πόσου","πόσον","πόσης","ποιοι","ποιων","ποιες","πόσοι","πόσων","πόσες","ποια","ποιο","πόση","πόσα","τί","τι"],["πώς","πού","πόσο","πότε"],["περισσότερο","λιγότερο","ελάχιστα","καθόλου","αρκετά","εξίσου","κάπως","τόσο ","πολύ","τόσο","πιο","όσο"],["εαυτός","εαυτού","εαυτό","εαυτούς"],["δικός","δικού","δικό","δική","δικής","τους","δικοί","δικών","δικούς","δικές","δικά"],["κάμποσου","κάμποσον","κάμποση","κάμποσης ","κάμποσο","τίποτε","καθένας","καθενός","καθένα ","καθεμία","καθεμιά","καθεμίας","καθεμιάς","καθέναν","δείνα","τάδε","μερικοί","μερικών","μερικούς","μερικές","μερικά","κάποιοι","κάποιων","κάποιους","κάποιες","κάποια","άλλοι","άλλων","αλλονών","άλλους","άλλες","άλλα","κάμποσοι","κάμποσων","κάμποσες","κάμποσα"],["σε","με","από","για","ως","πριν","προς","σαν","αντί","δίχως","έως","κατά","μετά","μέχρι","χωρίς","παρά","εναντίον","εξαιτίας","μεταξύ","ίσαμε","άνευ","αμφί","ανά","διά","εκ","εις","εξ","εκτός","εν","ένεκα","εντός","επί","λόγω","περί","πρό","συν","υπέρ","υπό","χάριν","χάρη"],["δεν","θα","δεν","μη","μην","όχι","ναι","ας","για","μα"],["να","και","που","ότι","αν","αλλά","ούτε","ουδέ","μηδέ","μήτε","ή","είτε","μα","παρά","όμως","ωστόσο","ενώ","μολονότι","μόνο","μόνο που","λοιπόν","ώστε","άρα","επομένως","οπότε","δηλαδή","πως","μην","μήπως","άμα","όταν","καθώς","αφού","αφότου","πριν","μόλις","προτού","ώσπου","ωσότου","σαν","γιατί","επειδή"],["συνηθίζεται","μπορούσαμε","ενδέχεται","εξαρτάται","εννοείται","παίρνουμε","είθισται","μπορούμε","μπορείτε","υπάρχουν","παίρνεις","παίρνετε","παίρνουν","βασικούς","μπορούμε","είμαστε","είσαστε","υπάρχει","μπορείς","μπορούν","κάνουμε","υπήρχαν","γίνεται","γινόταν","παίρνει","βάζουμε","δίνουμε","μπορεί","παίρνω","πρέπει","έχουμε","πήγαμε","πήγατε","κάνεις","κάνετε","κάνουν","έκανες","κάναμε","κάνατε","έκαναν","υπήρχε","πήραμε","πήρατε","πήρανε","ρίχνει","φάγαμε","βάζεις","βάζετε","βάζουν","έβαλες","βάλαμε","βάλατε","έβαλαν","βάλανε","δίνεις","δίνεις","δίνετε","δίνουν","έδωσες","έδωσες","δώσαμε","δώσατε","έδωσαν","δώσανε","έδινες","δίναμε","δίνατε","δίνανε","έδιναν","είχαμε","είχατε","είναι","είμαι","είσαι","είστε","ρίχνω","μπορώ","πήγες","πήγαν","κάνει","έκανα","έκανε","πήρες","πήραν","έριξα","έριξε","τρώει","τρώμε","έφαγε","βάζει","έβαλα","έβαλε","έδωσα","έδινα","έδινε","έχεις","έχετε","έχουν","είχες","είχαν","κάνω","τρώω","βάζω","δίνω","πάμε","πάει","πάμε","πάτε","πάνε","πήγα","πήγε","πήρε","έχει","είχα","είχε","πάω","έχω","πας"],["πολύ","παρά ","παρα","απίστευτα","εκπληκτικά","αναπάντεχα","αφάνταστα","πραγματικά","εντελώς","απόλυτα","καθολικά","τελείως"],["συνηθίζεται","ενδέχεται","εξαρτάται","εννοείται","είθισται","είμαστε","είσαστε","υπάρχει","μπορεί","παίρνω","πρέπει","έχουμε","είναι","είμαι","είσαι","είστε","ρίχνω","μπορώ","κάνω","τρώω","βάζω","δίνω","πάμε","πάω","έχω"],["καλός","καλά","καλή","καλύτερος","καλύτερη","σοβαρά","ωραίος","ωραία","ωραίο","απλός","απλή","απλό","περίπλοκος","περίπλοκη","περίπλοκο","μεγάλο","μεγαλύτερος","βασική","βασικός","βασικό","ουσιαστικός","κανονικός","κανονική","κανονικό","άσχημο","τρομερό","απαίσιο","αδιανόητο","μέσος","πραγματικός","πραγματική","πραγματικό","πρώην","σπάνιος","σπάνια","συνηθισμένος ","συνηθισμένη","συνηθισμένο","σχετικός","σχετική","σχετικό","καλύτερα","τέλεια","υπέροχα","έντονα","παραλίγο","απλά","κυρίως","συνήθως","ευθέως","συνεχώς","αδιάκοπα","ασταμάτητα","ατελείωτα","ατέρμονα","βασικά","ουσιαστικά","κανονικά","άσχημα","εντάξει","τελικά","φυσικά","μπροστά","πίσω","επάνω","κάτω","ευτυχώς","δυστυχώς","ξαφνικά","ειλικρινά","απροσδόκητα","απότομα","ανάμεσα","κοντά","σιμά","μακριά","δίπλα","σχετικά"],["α","αα","αχ","αι","αλί","αλίμονο","αμάν","αμέ","αμποτε","άιντε","άντε","άου","άχου","αχού","βαχ","βουρ ","βρε","ε","ει","εμ","επ","ζήτω","εύγε","μμμ","μπα","μπαμ","μπράβο","μωρέ","μωρή","ω","ου","ούου","ουστ","οιμέ","οϊμέ","ωπ","οπ","πωπω","ποπο","απαπα","ουφ","ώπα","ώπατης","όπα","όπατης","ωχ","οχ","όχου","ώχου","όφου","ποπό","πωπώ","πουφ","πριτς","πφ","ρε","σουτ","τσου","τσα","φτου","χα","χαχαχα","χμ","ωω","ωωω","ωχού","ουάου"],["γραμ.","γραμμ.","γραμμάρια","κ/γ","κ.γ.","κ.σ.","γρ.","ματσ.","κιλό","φλ.","φλυτζάνι","κούπα","ποτ.","ποτήρι","σκ.","ξύσμα","φλούδα","λίτρο","λίτρα"],["δευτερόλεπτο","δευτερόλεπτα","δεύτερα","ώρα","ώρας","τέταρτο","μισάωρο","ώρες","μέρα","μέρας","μέρες","ημέρα","ημέρες","σήμερα","αύριο","εχθές","χθές","βδομάδα","βδομάδες","βδομάδας","εβδομάδα","εβδομάδες","μισαωράκι","τεταρτάκι","δεκάλεπτο","πεντάλεπτο","φέτος","πέρσι","χρόνος","πέρυσι","χρόνου","πρόπερσι","προχθές"],["πράγμα","πράγματα","υπόθεση","περίπτωση","πρόβλημα","προβλήματα","αντικείμενο","αντικείμενα","θέμα","θέματα","περίσταση","συνθήκες","περιστάσεις","ζήτημα","ζητήματα","ζητημάτων","υποθέσεις","γεγονός","γεγονότα","κατάσταση","καταστάσεις","ουσία","τρόπος","μέθοδος","παράγοντας","παράγοντες","αιτία","επίπτωση","αιτίες","επιπτώσεις","μέρος","μέρη","άποψη","απόψεις","γνώμη","γνώμες","άτομο","άτομα","ομάδα","πραγματικότητα","διαφορά","διαφορές","ομοιότητες"],["δεσποινίς","καθηγητής","διδάκτωρ","κύριος","κύριοι","κυρίες","καθηγ","κυρία","διδα","καθ","κος","δρ","κα"],s)),c=window.lodash;function x(e,t,r,n){let s;for(let g=0;g<t.length;g++)null!==(s=new RegExp(t[g]).exec(e))&&(e=s[1],new RegExp(r[g]).test(e)&&(e+=n[g]));return e}function a(e,t){let r;return null!==(r=new RegExp(t).exec(e))&&(e=r[1]),e}function i(e,t,r,n,s){let g;return null!==(g=new RegExp(t).exec(e))&&(e=g[1],(new RegExp(r).test(e)||new RegExp(n).test(e))&&(e+=s)),e}const{baseStemmer:p}=r.languageProcessing;function u(e){const t=(0,c.get)(e.getData("morphology"),"el",!1);return t?e=>function(e,t){const r=e=(e=e.replace(/[ΆΑά]/g,"α").replace(/[ΈΕέ]/g,"ε").replace(/[ΉΗή]/g,"η").replace(/[ΊΪΙίΐϊ]/g,"ι").replace(/[ΌΟό]/g,"ο").replace(/[ΎΫΥύΰϋ]/g,"υ").replace(/[ΏΩώ]/g,"ω").replace(/[Σς]/g,"σ")).toLocaleUpperCase("el"),n=t.externalStemmer.doNotStemWords;if(e.length<3||n.includes(e))return e.toLocaleLowerCase("el");e=function(e,t){const r=t.externalStemmer.step1Exceptions,n=new RegExp("(.*)("+Object.keys(r).join("|")+")$").exec(e);return null!==n&&(e=n[1]+r[n[2]]),e}(e,t),e=function(e,t){const r=t.externalStemmer.regexesStep1,n=r.regexesArrays;let s;return null!==(s=new RegExp(r.regex1a).exec(e))&&(e=s[1],new RegExp(r.regex1b).test(e)||(e+="ΑΔ")),x(e,n[0],n[1],n[2])}(e,t),e=function(e,t){const r=t.externalStemmer.regexesStep2,n=new RegExp(t.externalStemmer.vowelRegex1);let s;return null!==(s=new RegExp(r.regex2a).exec(e))&&s[1].length>4&&(e=s[1]),null!==(s=new RegExp(r.regex2b).exec(e))&&(e=s[1],(n.test(e)||e.length<2||new RegExp(r.regex2c).test(s[1]))&&(e+="Ι"),new RegExp(r.regex2d).test(s[1])&&(e+="ΑΙ")),e}(e,t),e=function(e,t){const r=new RegExp(t.externalStemmer.vowelRegex1),n=t.externalStemmer.regexesStep3;let s;return null!==(s=new RegExp(n.regex3a).exec(e))&&(e=s[1],(r.test(e)||new RegExp(n.regex3b).test(e)||new RegExp(n.regex3c).test(e))&&(e+="ΙΚ")),e}(e,t),e=function(e,t){const r=t.externalStemmer.regexesStep4,n=r.regexesArrays,s=t.externalStemmer.vowelRegex1,g=t.externalStemmer.vowelRegex2;let o;return"ΑΓΑΜΕ"===e?"ΑΓΑΜ":(e=a(e,r.regex4a),e=a(e=i(e=x(e,n.arrays1[0],n.arrays1[1],n.arrays1[2]),r.regex4b,g,r.regex4c,"ΑΝ"),r.regex4d),null!==(o=new RegExp(r.regex4e).exec(e))&&(e=o[1],(new RegExp(g).test(e)||new RegExp(r.regex4f).test(e)||new RegExp(r.regex4g).test(e))&&(e+="ΕΤ")),null!==(o=new RegExp(r.regex4h).exec(e))&&(e=o[1],new RegExp(r.regex4i).test(o[1])?e+="ΟΝΤ":new RegExp(r.regex4j).test(o[1])&&(e+="ΩΝΤ")),e=i(e=a(e=x(e,n.arrays2[0],n.arrays2[1],n.arrays2[2]),r.regex4k),r.regex4l,r.regex4m,r.regex4n,"ΗΚ"),null!==(o=new RegExp(r.regex4o).exec(e))&&(e=o[1],(new RegExp(s).test(e)||new RegExp(r.regex4p).test(o[1])||new RegExp(r.regex4q).test(o[1]))&&(e+="ΟΥΣ")),null!==(o=new RegExp(r.regex4r).exec(e))&&(e=o[1],(new RegExp(r.regex4s).test(e)||new RegExp(r.regex4t).test(e)&&!new RegExp(r.regex4u).test(e))&&(e+="ΑΓ")),e=x(e,n.arrays3[0],n.arrays3[1],n.arrays3[2]))}(e,t),e=function(e,t){const r=t.externalStemmer.regexesStep5;let n;return null!==(n=new RegExp(r.regex5a).exec(e))&&(e=n[1]+"Μ",new RegExp(r.regex5b).test(n[1])?e+="Α":new RegExp(r.regex5c).test(n[1])&&(e+="ΑΤ")),null!==(n=new RegExp(r.regex5d).exec(e))&&(e=n[1]+"ΟΥ"),e}(e,t);const s=t.externalStemmer.longWordRegex;return r.length===e.length&&(e=a(e,s)),e=function(e,t){const r=t.externalStemmer.regexesStep6;let n;return null!==(n=new RegExp(r.regex6a).exec(e))&&(new RegExp(r.regex6b).test(n[1])||(e=n[1]),new RegExp(r.regex6c).test(n[1])&&(e+="ΥΤ")),e}(e,t),e.toLocaleLowerCase("el")}(e,t):p}const{getWords:w}=r.languageProcessing,{values:R}=r.languageProcessing,{Clause:d}=R,{getClausesSplitOnStopWords:E,createRegexFromArray:f}=r.languageProcessing,m={Clause:class extends d{constructor(e,t){super(e,t),this._participles=function(e){return w(e).filter((e=>new RegExp("(ούμενους|ημένους|ούμενος|ούμενου|ούμενον|ούμενης|ούμενοι|ούμενων|ούμενες|μένους|ημένος|ημένου|ημένον|ημένοι|ημένων|ημένης|ημένες|ούμενη|ούμενο|ούμενα|μένος|μένου|μένον|μένοι|μένης|μένες|μένων|ημένη|ημένο|ημένα|μένη|μένο|μένα)$").test(e)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getParticiples();this.setPassive(e.length>0)}},regexes:{auxiliaryRegex:f(["είμαι","είσαι","είναι","είμαστε","είστε","είσαστε","ήμουν","ήσουν","ήταν","ήμαστε","ήμασταν","ήσαστε","ήσασταν"]),stopwordRegex:f(["ένα","έναν","ένας","αι","ακομα","ακομη","ακριβως","αληθεια","αληθινα","αλλα","αλλαχου","αλλες","αλλη","αλλην","αλλης","αλλιως","αλλιωτικα","αλλο","αλλοι","αλλοιως","αλλοιωτικα","αλλον","αλλος","αλλοτε","αλλου","αλλους","αλλων","αμα","αμεσα","αμεσως","αν","ανα","αναμεσα","αναμεταξυ","ανευ","αντι","αντιπερα","αντις","ανω","ανωτερω","αξαφνα","απ","απεναντι","απο","αποψε","από","αρα","αραγε","αργα","αργοτερο","αριστερα","αρκετα","αρχικα","ας","αυριο","αυτα","αυτες","αυτεσ","αυτη","αυτην","αυτης","αυτο","αυτοι","αυτον","αυτος","αυτοσ","αυτου","αυτους","αυτουσ","αυτων","αφοτου","αφου","αἱ","αἳ","αἵ","αὐτόσ","αὐτὸς","αὖ","α∆ιακοπα","βεβαια","βεβαιοτατα","γάρ","γα","γα^","γε","γι","για","γοῦν","γρηγορα","γυρω","γὰρ","δ'","δέ","δή","δαί","δαίσ","δαὶ","δαὶς","δε","δεν","δι","δι'","διά","δια","διὰ","δὲ","δὴ","δ’","εαν","εαυτο","εαυτον","εαυτου","εαυτους","εαυτων","εγκαιρα","εγκαιρως","εγω","ειθε","ειμαι","ειμαστε","ειναι","εις","εισαι","εισαστε","ειστε","ειτε","ειχα","ειχαμε","ειχαν","ειχατε","ειχε","ειχες","ει∆εμη","εκ","εκαστα","εκαστες","εκαστη","εκαστην","εκαστης","εκαστο","εκαστοι","εκαστον","εκαστος","εκαστου","εκαστους","εκαστων","εκει","εκεινα","εκεινες","εκεινεσ","εκεινη","εκεινην","εκεινης","εκεινο","εκεινοι","εκεινον","εκεινος","εκεινοσ","εκεινου","εκεινους","εκεινουσ","εκεινων","εκτος","εμας","εμεις","εμενα","εμπρος","εν","ενα","εναν","ενας","ενος","εντελως","εντος","εντωμεταξυ","ενω","ενός","εξ","εξαφνα","εξης","εξισου","εξω","επ","επί","επανω","επειτα","επει∆η","επι","επισης","επομενως","εσας","εσεις","εσενα","εστω","εσυ","ετερα","ετεραι","ετερας","ετερες","ετερη","ετερης","ετερο","ετεροι","ετερον","ετερος","ετερου","ετερους","ετερων","ετουτα","ετουτες","ετουτη","ετουτην","ετουτης","ετουτο","ετουτοι","ετουτον","ετουτος","ετουτου","ετουτους","ετουτων","ετσι","ευγε","ευθυς","ευτυχως","εφεξης","εχει","εχεις","εχετε","εχθες","εχομε","εχουμε","εχουν","εχτες","εχω","εως","εἰ","εἰμί","εἰμὶ","εἰς","εἰσ","εἴ","εἴμι","εἴτε","ε∆ω","η","ημασταν","ημαστε","ημουν","ησασταν","ησαστε","ησουν","ηταν","ητανε","ητοι","ηττον","η∆η","θα","ι","ιι","ιιι","ισαμε","ισια","ισως","ισωσ","ι∆ια","ι∆ιαν","ι∆ιας","ι∆ιες","ι∆ιο","ι∆ιοι","ι∆ιον","ι∆ιος","ι∆ιου","ι∆ιους","ι∆ιων","ι∆ιως","κ","καί","καίτοι","καθ","καθε","καθεμια","καθεμιας","καθενα","καθενας","καθενος","καθετι","καθολου","καθως","και","κακα","κακως","καλα","καλως","καμια","καμιαν","καμιας","καμποσα","καμποσες","καμποση","καμποσην","καμποσης","καμποσο","καμποσοι","καμποσον","καμποσος","καμποσου","καμποσους","καμποσων","κανεις","κανεν","κανενα","κανεναν","κανενας","κανενος","καποια","καποιαν","καποιας","καποιες","καποιο","καποιοι","καποιον","καποιος","καποιου","καποιους","καποιων","καποτε","καπου","καπως","κατ","κατά","κατα","κατι","κατιτι","κατοπιν","κατω","κατὰ","καὶ","κι","κιολας","κλπ","κοντα","κτλ","κυριως","κἀν","κἂν","λιγακι","λιγο","λιγωτερο","λογω","λοιπα","λοιπον","μέν","μέσα","μή","μήτε","μία","μα","μαζι","μακαρι","μακρυα","μαλιστα","μαλλον","μας","με","μεθ","μεθαυριο","μειον","μελει","μελλεται","μεμιας","μεν","μερικα","μερικες","μερικοι","μερικους","μερικων","μεσα","μετ","μετά","μετα","μεταξυ","μετὰ","μεχρι","μη","μην","μηπως","μητε","μη∆ε","μιά","μια","μιαν","μιας","μολις","μολονοτι","μοναχα","μονες","μονη","μονην","μονης","μονο","μονοι","μονομιας","μονος","μονου","μονους","μονων","μου","μπορει","μπορουν","μπραβο","μπρος","μἐν","μὲν","μὴ","μὴν","να","ναι","νωρις","ξανα","ξαφνικα","ο","οι","ολα","ολες","ολη","ολην","ολης","ολο","ολογυρα","ολοι","ολον","ολονεν","ολος","ολοτελα","ολου","ολους","ολων","ολως","ολως∆ιολου","ομως","ομωσ","οποια","οποιαν","οποιαν∆ηποτε","οποιας","οποιας∆ηποτε","οποια∆ηποτε","οποιες","οποιες∆ηποτε","οποιο","οποιοι","οποιον","οποιον∆ηποτε","οποιος","οποιος∆ηποτε","οποιου","οποιους","οποιους∆ηποτε","οποιου∆ηποτε","οποιο∆ηποτε","οποιων","οποιων∆ηποτε","οποι∆ηποτε","οποτε","οποτε∆ηποτε","οπου","οπου∆ηποτε","οπως","οπωσ","ορισμενα","ορισμενες","ορισμενων","ορισμενως","οσα","οσα∆ηποτε","οσες","οσες∆ηποτε","οση","οσην","οσην∆ηποτε","οσης","οσης∆ηποτε","οση∆ηποτε","οσο","οσοι","οσοι∆ηποτε","οσον","οσον∆ηποτε","οσος","οσος∆ηποτε","οσου","οσους","οσους∆ηποτε","οσου∆ηποτε","οσο∆ηποτε","οσων","οσων∆ηποτε","οταν","οτι","οτι∆ηποτε","οτου","ου","ουτε","ου∆ε","οχι","οἱ","οἳ","οἷς","οὐ","οὐδ","οὐδέ","οὐδείσ","οὐδεὶς","οὐδὲ","οὐδὲν","οὐκ","οὐχ","οὐχὶ","οὓς","οὔτε","οὕτω","οὕτως","οὕτωσ","οὖν","οὗ","οὗτος","οὗτοσ","παλι","παντοτε","παντου","παντως","παρ","παρά","παρα","παρὰ","περί","περα","περι","περιπου","περισσοτερο","περσι","περυσι","περὶ","πια","πιθανον","πιο","πισω","πλαι","πλεον","πλην","ποια","ποιαν","ποιας","ποιες","ποιεσ","ποιο","ποιοι","ποιον","ποιος","ποιοσ","ποιου","ποιους","ποιουσ","ποιων","πολυ","ποσες","ποση","ποσην","ποσης","ποσοι","ποσος","ποσους","ποτε","που","πουθε","πουθενα","ποῦ","πρεπει","πριν","προ","προκειμενου","προκειται","προπερσι","προς","προσ","προτου","προχθες","προχτες","πρωτυτερα","πρόσ","πρὸ","πρὸς","πως","πωσ","σαν","σας","σε","σεις","σημερα","σιγα","σου","στα","στη","στην","στης","στις","στο","στον","στου","στους","στων","συγχρονως","συν","συναμα","συνεπως","συνηθως","συχνα","συχνας","συχνες","συχνη","συχνην","συχνης","συχνο","συχνοι","συχνον","συχνος","συχνου","συχνους","συχνων","συχνως","σχε∆ον","σωστα","σόσ","σύ","σύν","σὸς","σὺ","σὺν","τά","τήν","τί","τίς","τίσ","τα","ταυτα","ταυτες","ταυτη","ταυτην","ταυτης","ταυτο,ταυτον","ταυτος","ταυτου","ταυτων","ταχα","ταχατε","ταῖς","τα∆ε","τε","τελικα","τελικως","τες","τετοια","τετοιαν","τετοιας","τετοιες","τετοιο","τετοιοι","τετοιον","τετοιος","τετοιου","τετοιους","τετοιων","τη","την","της","τησ","τι","τινα","τιποτα","τιποτε","τις","τισ","το","τοί","τοι","τοιοῦτος","τοιοῦτοσ","τον","τος","τοσα","τοσες","τοση","τοσην","τοσης","τοσο","τοσοι","τοσον","τοσος","τοσου","τοσους","τοσων","τοτε","του","τουλαχιστο","τουλαχιστον","τους","τουτα","τουτες","τουτη","τουτην","τουτης","τουτο","τουτοι","τουτοις","τουτον","τουτος","τουτου","τουτους","τουτων","τούσ","τοὺς","τοῖς","τοῦ","τυχον","των","τωρα","τό","τόν","τότε","τὰ","τὰς","τὴν","τὸ","τὸν","τῆς","τῆσ","τῇ","τῶν","τῷ","υπ","υπερ","υπο","υποψη","υποψιν","υπό","υστερα","φετος","χαμηλα","χθες","χτες","χωρις","χωριστα","ψηλα","ω","ωραια","ως","ωσ","ωσαν","ωσοτου","ωσπου","ωστε","ωστοσο","ωχ","ἀλλ'","ἀλλά","ἀλλὰ","ἀλλ’","ἀπ","ἀπό","ἀπὸ","ἀφ","ἂν","ἃ","ἄλλος","ἄλλοσ","ἄν","ἄρα","ἅμα","ἐάν","ἐγώ","ἐγὼ","ἐκ","ἐμόσ","ἐμὸς","ἐν","ἐξ","ἐπί","ἐπεὶ","ἐπὶ","ἐστι","ἐφ","ἐὰν","ἑαυτοῦ","ἔτι","ἡ","ἢ","ἣ","ἤ","ἥ","ἧς","ἵνα","ὁ","ὃ","ὃν","ὃς","ὅ","ὅδε","ὅθεν","ὅπερ","ὅς","ὅσ","ὅστις","ὅστισ","ὅτε","ὅτι","ὑμόσ","ὑπ","ὑπέρ","ὑπό","ὑπὲρ","ὑπὸ","ὡς","ὡσ","ὥς","ὥστε","ὦ","ᾧ","∆α","∆ε","∆εινα","∆εν","∆εξια","∆ηθεν","∆ηλα∆η","∆ι","∆ια","∆ιαρκως","∆ικα","∆ικο","∆ικοι","∆ικος","∆ικου","∆ικους","∆ιολου","∆ιπλα","∆ιχως"])}};function h(e){return E(e,m)}const S=["διαπραγματεύ","αισθάν","ανέχ","ανταγωνίζ","αντιλαμβάν","αντιστρατεύ","απεχθάν","αρν","αφουγκράζ","βαριέμαι","γεύ","δέχ","διανο","διηγ","εγγυ","καταριέμαι","λιγουρεύ","λυπάμαι","μάχ","μέμφ","μεταχειρίζ","μιμ","νυμφεύ","ονειρεύ","οραματίζ","οσμίζ","περιποι","προασπίζ","προοιωνίζ","προφασίζ","ειρωνεύ","εισηγ","εκδικ","εκμεταλλεύ","εμπιστεύ","επιβουλεύ","επικαλ","επισκέπτ","επωμίζ","ερωτεύ","ευαγγελίζ","εχθρεύ","θυμάμαι","καπηλεύ","καρπών","σέβ","σιχαίν","σκαρφίζ","σκέφτ","σπλαχνίζ","συλλογίζ","συμμερίζ","υπαινίσσ","υποκρίν","υποπτεύ","υπόσχ","υποψιάζ","φοβάμαι","χειρίζ","χρειάζ","πραγματεύ","μαθεύ","ξαναγίν","ξεκαρδίζ","ξεκουμπίζ","ξεχύν","ξημεροβραδιάζ","οδύρ","παραιτ","παραλογίζ","παραστέκ","παρεκτρέπ","πειραματίζ","περιπλαν","πολιτεύ","αγωνίζ","αθλ","ακροβολίζ","αμιλλ","αμύν","αναδιπλών","αναδύ","αναρωτιέμαι","αντιστέκ","γεύ","γκρεμοτσακίζ","διαπληκτίζ","εισέρχ","εκρήγνυμαι","εμφορ","προπορεύ","ρεύ","σκυλοβαριέμαι","σοβαρεύ","συγκρού","συμπαρατάσσ","συμπεριφέρ","συνδικαλίζ","συνεννο","συνεργάζ","υπεισέρχ","υπερηφανεύ","φαγών","φύ","χαμοκυλιέμαι","εναντιών","ενίσταμαι","επαίρ","επιτίθεμαι","ευθύν","ηγ","ηττ","ίπταμαι","καμών","καταγίν","κατάγ","κλυδωνίζ","κοκορεύ","λογοδίν","μαίν","ανεβαιν","ανεβηκα","κατεβαιν","κατέβηκα","συγχαίρ","συγχάρκα"],y=["ιόμασταν","ιόσασταν","ούμασταν","ούσασταν","ομασταν","οσασταν","όμασταν","όσασταν","ιόμαστε","ιούνται","ιόσαστε","ηθήκαμε","ηθήκατε","ιούνταν","ούμαστε","θήκαμε","θήκατε","τήκαμε","τήκατε","όμαστε","όσαστε","ηθούμε","ηθείτε","ήθηκες","ήθηκαν","ιόμουν","ιόσουν","ούνται","ούμουν","ούσουν","ούνταν","μαστε","σαστε","θούμε","θείτε","τούμε","τείτε","θηκες","θηκαν","τηκες","τηκαν","ονται","όμουν","όσουν","ονταν","ιέμαι","ιέσαι","ιέται","ιέστε","ηθείς","ηθούν","ήθηκα","ήθηκε","ιόταν","ούμαι","είσαι","είται","είστε","θείς","θούν","τείς","τούν","θηκα","θηκε","τηκα","τηκε","μουν","σουν","νταν","ομαι","εσαι","εται","εστε","όταν","ηθεί","μαι","σαι","ται","στε","θεί","τεί","ταν","ηθώ","θώ","τώ"],{getWords:b,directPrecedenceException:P}=r.languageProcessing,W=["να"];function v(e){const t=b(e);for(const r of t)for(const t of y)if(r.endsWith(t)&&r.length>4){const n=r.slice(0,-t.length);return/^(θεί|τεί)$/.test(t)?!S.includes(n)&&!P(e,r,W):!S.includes(n)}return!1}const{AbstractResearcher:j}=r.languageProcessing;class C extends j{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"el",functionWords:l,passiveConstructionType:"morphologicalAndPeriphrastic",transitionWords:g,twoPartTransitionWords:o,firstWordExceptions:n.firstWords,secondWordExceptions:n.secondWords}),Object.assign(this.helpers,{getStemmer:u,getClauses:h,isPassiveSentence:v})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/sv.js 0000644 00000433576 15174677550 0010506 0 ustar 00 (()=>{"use strict";var s={d:(a,e)=>{for(var t in e)s.o(e,t)&&!s.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:e[t]})},o:(s,a)=>Object.prototype.hasOwnProperty.call(s,a),r:s=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}},a={};s.r(a),s.d(a,{default:()=>$});const e=window.yoast.analysis,t=["ett","det","den","de","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","denne","denna","detta","dessa"],r=["alltså","ändå","annars","ännu","även","avslutningsvis","bl.a.","d.v.s.","då","därav","därefter","däremot","därför","därmed","därpå","dessutom","dock","efteråt","eftersom","emellertid","enligt","exempelvis","fastän","följaktligen","förrän","först","förutom","huvudsakligen","ifall","inledningsvis","innan","jämförelsevis","likadant","likaså","liksom","medan","men","nämligen","när","oavsett","också","omvänt","säkerligen","således","sålunda","sammanfattningsvis","sammantaget","samt","samtidigt","särskilt","såsom","sist","slutligen","speciellt","t.ex.","tidigare","tillika","tills","trots","tvärtemot","tvärtom","tydligen","varpå","vidare","uppenbarligen","ytterligare"],d=r.concat(["å andra sidan","å ena sidan","allt som allt","anledningen är","anledningen blir","annorlunda än","av den orsaken","av detta skäl","beroende på","bland annat","därtill kommer","det beror på att","det vill säga","det visar","detta beror på","detta går ut på att","detta innebär att","detta leder till","detta medför att","effekten blir","efter ett tag","ej heller","en effekt av detta","en förklaring till detta","ett exempel på detta","ett liknande exempel","exakt som","följden blir","för att avrunda","för all del","för att förklara","för att inte säga","för att inte tala om","för att klargöra","för att poängtera","för att säga det på ett annat sätt","för att sammanfatta","för att understryka","för att visa","för det andra","för det första","för det tredje","förr eller senare","för närvarande","framför allt","fram till nu","har att göra med","härav följer","i båda fallen","i det fallet","i det hela","i det här fallet","i det långa loppet","i enlighet med","i förhållande till","i fråga om","i jämförelse med","i kontrast till","i likhet med","i ljuset av","i motsats till","i och med","i relation till","i samband med","i sin tur","i själva verket","i slutändan","i stället för","i syfte att","i synnerhet","i verkligheten","icke desto mindre","ihop med","inte desto mindre","jämfört med","kan sammanfattas","kort sagt","konsekvensen av detta","lika viktigt är","målet är att","med andra ord","med anledning av","med det i åtanke","med det i tankarna","med ett ord","med hänsyn till","med härledning av","mot bakgrund av","mot den bakgrunden","när allt kommer omkring","när det gäller","närmare bestämt","nu när","orsaken är","på det sättet","på grund av","på liknande sätt","på så sätt","på samma sätt","resultatet blir","så länge som","så småningom","så snart som","sist men inte minst","slutsatsen blir","som antytt","som en följd av","som en konsekvens av","som ett exempel på","som ett resultat","som jag tidigare antytt","som konklusion kan","som man kan se","som nämnt","som tidigare nämnts","summa summarum","tack vare","till att börja med","till dess","till exempel","till en början","till följd av","till sist","till skillnad från","till slut","till största delen","tillsammans med","tvärt om","under de omständigheterna","under omständigheterna","under tiden","vad mera är","viktigt att inse","vilket innebär"]);function l(s){let a=s;return s.forEach((e=>{(e=e.split("-")).length>0&&e.filter((a=>!s.includes(a))).length>0&&(a=a.concat(e))})),a}const n=["en","ett","det","den","de"],i=["två","tre","fyra","fem","sex","sju","åtta","nio","tio","tiotals","elva","tolv","tretton","fjorton","femton","sexton","sjutton","arton","aderton","nitton","tjugo","hundra","hundratals","tusen","tusentals","miljon","miljoner","miljontals","miljard","miljarder"],k=["första","andra","tredje","fjärde","femte","sjätte","sjunde","åttonde","nionde","tionde","elfte","tolfte","trettonde","fjortonde","femtonde","sextonde","sjuttonde","artonde","nittonde","tjugonde"],o=["jag","du","han","hon","hen","vi","ni"],g=["mig","dig","honom","henne","oss","er","dem","henom","eder"],m=["sig","sin","sitt","sina"],f=["min","mitt","mina","din","ditt","dina","hans","hennes","dess","ens","vår","vårt","våra","er","ert","era","ers","deras","hens"],p=["denne","denna","detta","dessa","här","där","varifrån","därav","hit","dit","vart","hädan","dädan","vadan","hän","sen"],v=["som","vilken","vilket","vilka","vars","då"],u=["vem","vems","vad"],b=["hur","varför"],h=["någon","något","några","nån","nåt","ingen","inget","inga","annan","annat","andra","någonstans","ingenstans","annastans","överallt","någonstädes","ingenstädes","annorstädes","allestädes","någorlunda","ingalunda","annorlunda","någonting","ingenting","allting","all","allt","alla","somlig","somligt","somliga","mången","månget","man","en","ens"],c=["varandra","varsin","varsitt","envar","varannan","vartannat"],y=["andra","åtskilliga","bådadera","både","få","fårre","fåtalig","fåtaliga","flera","flesta","föga","ganska","icke","inte","lite","litet","många","mer","mera","mest","mindre","minst","mycket","nog","ollika","tillräckligt","vardera","varje","viss","visst","vissa","visse"],j=["bakåt","bakifrån","bortifrån","däråt","därav","därhän","däri","därifrån","därom","därpå","därtill","däruti","därvid","ditåt","dithän","dittills","efteråt","förrut","framåt","hädenefter","häråt","härav","härefter","häremot","häri","härifrån","härmed","härom","härpå","härtill","häruti","härvid","hitåt","hittills","ini","inifrån","intill","inuti","nedanför","nedåt","nedför","nedtill","uppåt","uppför","upptill","varav","varefter","varemot","varför","varfrån","vari","varifrån","varmed","varom","varpå","varthän","vartill","varur","varvid"],x=["behövande","behöver","behövt","behövde","bör","börande","borde","bort","brukade","brukande","brukar","brukat","fående","får","fått","fick","hade","haft","har","hava","havande","kan","kunde","kunnande","kunnat","mådde","mående","mår","måste","mått","måtte","skall","skulle","varande","velat","viljande","vill","ville"],w=["behöva","böra","bruka","få","ha","kunna","må","ska","vilja"],S=["är","var","varit","vore","blivit","blivande","blir","bliver","blev","blitt","funnits","finnande","finns","fanns","befunnit","befinnande","befinner","befann","tyckts","tyckande","tycks","tycktes"],R=["vara","bli","finnas","befinna","tyckas"],P=["gående","gällande","gällde","gäller","gällt","går","gått","gav","ger","gett","gick","givande","giver","gjorde","gjort","gör","görande","kom","kommande","kommer","kommit","ligger","ligges","lå","ligget","liggande","ställer","ställde","ställt","ställ","ställande","ställd","ställas","ställs","ställes","ställdes","ställts","tagande","tager","tagit","tar","tog","utgör","utgjorde","utgjort","utgörande","utgjord","utgöras","utgörs","utgöres","utgjordes","utgjorts"],z=["gå","gälla","ge","göra","komma","ligga","ställa","ta","utgöra"],E=["angav","anger","angett","angiver","angivit","berättade","berättar","berättat","föreslagit","föreslår","föreslått","föreslog","förklarade","förklarar","förklarat","förstår","förstått","förstod","frågade","frågar","frågat","påstår","påstått","påstod","sa","sade","säger","sagt","svarade","svarar","svarat","talade","talar","talat","tänker","tänkt","tänkte"],O=["ange","berätta","föreslå","förklara","förstå","fråga","påstå","säga","svara","tala","tänka"],M=["äldre","äldst","äldsta","äldste","bäst","bättre","dålig","dåliga","dålige","dåligt","egen","eget","egna","egne","enkel","enkelt","enkla","enklare","enklast","enklaste","enkle","fel","gamla","gamle","gammal","gammalt","god","goda","godare","godast","godaste","gode","gott","grundläggande","hel","hela","helare","helast","helaste","hele","helt","kort","korta","kortare","kortast","kortaste","korte","lång","långa","långe","längre","långsam","långsamma","långsammare","långsammast","långsammaste","långsamme","långsamt","längst","längsta","längste","långt","liknande","lilla","lille","liten","litet","mindre","minst","minsta","minste","möjlig","möjliga","möjligare","möjligast","möjligaste","möjlige","möjligt","nödvändig","nödvändiga","nödvändigare","nödvändigast","nödvändigaste","nödvändige","nödvändigt","normal","normala","normalare","normalast","normalaste","normale","normalt","ny","nya","nyare","nyast","nyaste","nye","nytt","olikt","olika","olike","samma","sämre","sämst","sämsta","sämste","särskild","särskilda","särskilde","särskilt","sen","sena","senare","senast","senaste","sene","sent","små","snabb","snabba","snabbare","snabbast","snabbaste","snabbe","snabbt","stor","stora","store","större","störst","största","störste","stort","svår","svåra","svårare","svårast","svåraste","svåre","svårt","tidig","tidiga","tidigare","tidigast","tidigaste","tidige","tidigt","trevlig","trevliga","trevligare","trevligast","trevligaste","trevlige","trevligt","ung","unga","unge","ungt","uppenbar","uppenbara","uppenbare","uppenbart","värre","värst","värsta","värste","verklig","viktig","viktiga","viktigare","viktigast","viktigaste","viktige","viktigt","yngre","yngst","yngsta","yngste"],W=["aldrig","allmänt","alltid","delvis","direkt","huvudsakligen","ibland","långsamt","mestadels","nästan","ofta","relativt","riktigt","riktigare","riktigast","sällan","snabbt","ständigt","väl","vanligt"],q=["antal","antalet","antals","antalets","antalen","antalens","bit","bitar","bitarna","bitarnas","bitars","biten","bitens","bits","del","delar","delarna","delarnas","delars","delen","delens","dels","detalj","detaljen","detaljens","detaljer","detaljerna","detaljernas","detaljers","detaljs","exempel","exempels","exemplet","exemplets","exemplen","exemplens","person","personen","personens","personer","personerna","personernas","personers","persons","procent","punkt","punkten","punktens","punkter","punkterna","punkternas","punkters","sak","saken","sakens","saker","sakerna","sakernas","sakers","saks","sätt","sätten","sättens","sättet","sättets","sätts","skillnad","skillnaden","skillnadens","skillnader","skillnaderna","skillnadernas","skillnaders","skillnads","sort","sorten","sortens","sorter","sorterna","sorternas","sorters","sorts","tema","teman","temanas","temans","temas","temat","temats","tid","tiden","tidens","tider","tiderna","tidernas","tiders","tids","ting","tingen","tingens","tinget","tingets","tings"],T=["åt","av","bakom","bland","bortom","bredvid","cirka","efter","emellan","emot","enligt","för","före","förutom","framför","från","genom","hos","i","igenom","inom","inuti","längs","med","mellan","mittemot","mot","nära","nästa","nedan","ner","olik","om","omkring","ovanför","ovanpå","över","på","runt","sedan","som","till","tvärs","tvärsöver","under","upp","ur","ut","utan","utanför","utom","via","vid"],_=["absolut","alldeles","allra","bra","fullständigt","fullt","ganska","helt","illa","jätte","rysligt","så","storligen","totalt","väldigt","ytterst"],A=["eller","och"],C=["att"],D=["år","årens","året","årets","års","årtal","årtalen","årtalens","årtaconst","årtaconsts","årtals","dag","dagar","dagarna","dagarnas","dagars","dagen","dagens","dags","går","idag","månad","månaden","månadens","månader","månaderna","månadernas","månaders","månads","minut","minuten","minutens","minuter","minuterna","minuternas","minuters","minuts","morgon","sekund","sekunden","sekundens","sekunder","sekunderna","sekundernas","sekunders","sekunds","timmar","timmarna","timmarnas","timmars","timme","timmen","timmens","timmes","vecka","veckan","veckans","veckas","veckor","veckorna","veckornas","veckors"],F=["prof","doc","dr"],I=["å","aj","aja","fy","grattis","hej","hu","jaså","javisst","o","oj","ojdå","prosit","puh","skål","usch"],L=["c","cl","cm","dl","g","kg","km","krm","l","m","mg","ml","mm","msk","pkt","st","tsk"],B=["förlåt","ja","jo","ju","m.m","nej","ok","okej","tack"],G=(l([].concat(k,M,W,w,z,R,O)),l([].concat(n,T,A,p,_,y,f)),l([].concat(r,o,g,m,v,I,i,S,x,E,P,h,c,C,u,b,B,j,L,D,F,q)),l([].concat(n,i,k,o,g,m,f,p,v,u,b,h,c,y,j,x,w,S,R,P,z,E,O,M,W,q,T,_,A,C,D,F,I,L,B))),H=[["antingen","eller"],["icke blott","utan afven"],["ju","desto"]],J={productPages:{parameters:{recommendedMinimum:3,recommendedMaximum:6,acceptableMaximum:7,acceptableMinimum:1}}},K=window.lodash,N=function(s,a){const e=s.match(new RegExp(a.externalStemmer.regexR1region));let t="";return e&&e[1]&&(t=e[1],e.index+2<3&&(t=s.slice(3))),{r1:t,rest:s.slice(0,s.length-t.length)}},{baseStemmer:Q}=e.languageProcessing;function U(s){const a=(0,K.get)(s.getData("morphology"),"sv",!1);return a?s=>function(s,a){let e=N(s,a);const t=function(s,a,e){const t=a.r1;if(!t)return s;const r=new RegExp(e.externalStemmer.regexSuffixes1a),d=t.match(r);return d?a.rest+t.slice(0,d.index):s}(s,e,a),r=function(s,a,e){return a.r1&&s.match(new RegExp(e.externalStemmer.regexSuffixes1b))?s.slice(0,-1):s}(s,e,a);return s=t.length<r.length?t:r,e=N(s,a),s=function(s,a,e){const t=a.r1;return t&&t.match(new RegExp(e.externalStemmer.regexSuffixes2))?s.slice(0,-1):s}(s,e,a),e=N(s,a),function(s,a,e){const t=a.r1;if(t){if(t.match(new RegExp(e.externalStemmer.regexSuffixes3a)))return s.slice(0,-1);const r=t.match(new RegExp(e.externalStemmer.regexSuffixes3b));return r?a.rest+t.slice(0,r.index):s}return s}(s,e,a)}(s,a):Q}const V=["åberopades","åberopas","åberopats","aborterades","aborteras","absorberades","absorberas","abstraherats","acceleras","accelereras","accentuerades","accentueras","accentuerats","accepeteras","accepterades","accepteras","accepterats","äcklades","äcklas","äcklats","ackompagnerades","ackompanjerades","ackompanjeras","ackompanjerats","ackumuleras","ackumulerats","ådagalades","ådagaläggs","adderades","adderas","adderats","adelspalats","åderlåtas","åderlåtits","adidas","adlades","adlas","adlats","administrerades","administreras","ådömas","ådömdes","ådömes","ådöms","ådömts","adopterades","adopteras","adopterats","adresserades","adresseras","adresserats","adventures","affaires","affischeras","aflägsnas","agades","agas","ägas","ägdes","ageras","ägnades","agnas","ägnas","ägnats","ägs","ägts","åhördes","aidstestas","ajournerades","ajourneras","åkallades","åkallas","åkas","aklagas","åks","aktades","aktas","akterseglas","åktes","äkthetsförklarades","aktietips","aktiverades","aktiveras","aktiverats","aktivierats","aktualiserades","aktualiseras","aktualiserats","ålades","åläggas","åläggs","ålagts","alarmerades","åldersbestämmas","algas","alienerades","alldeldes","alldelses","alleles","allendes","allergiskadades","allierades","allokeras","almsicks","alouettes","älskas","älskats","alstrades","alstras","alstrats","ältades","ältas","ältats","amatöriserades","amerikaniseras","ammades","ammas","ammats","amores","amorteras","amorterats","amputerades","amputeras","amputerats","anades","analyserades","analyseras","analyserats","anammades","anammas","anammats","anas","anats","anbefalldes","anbefalles","anbefalls","anbringas","anbringats","anbudsupphandlas","ändhållplats","ändrades","andras","ändras","ändrats","anfäktades","anfäktas","anfäktats","anfallas","anfallits","anfalls","anfölls","anföras","anfördes","anföres","anförs","anförtroddes","anförtros","anförtrotts","anförts","anfrätas","ångades","ångas","ångats","angavs","anges","angetts","angives","angivits","angivs","angjordes","ångkokas","angöras","angörs","ångras","ångrats","angreps","angripas","angripits","angrips","ängslades","ängslas","ängslats","anhållas","anhålles","anhållits","anhålls","anhölls","anhopas","animeras","ankalagas","anklagades","anklagas","anklagats","anklagts","anknyts","ankrades","anlades","anläggas","anläggs","anlagts","anlitades","anlitas","anlitats","anmälas","anmäldes","anmäles","anmäls","anmälts","anmanas","anmärkas","anmärks","anmärkts","anmodades","anmodas","anmodats","annekterades","annekteras","annekterats","annonserades","annonseras","annonserats","annuleras","annullerades","annulleras","annvänds","anordnades","anordnas","anordnats","anpassades","anpassas","anpassats","anrås","anrättas","anrättats","anrikas","anropas","ansades","ansågs","ansamlades","ansamlas","ansamlats","ansas","ansättas","ansattes","ansatts","ansätts","anses","ansetts","anskaffades","anskaffas","anskaffats","anslagits","anslagsfinansierats","anslås","anslogs","anslöts","anslutas","anslutits","ansluts","ansökas","ansökes","ansöktes","ansökts","anspelas","anställas","anställdes","anställes","anställs","anställts","ansträngas","ansträngdes","ansträngs","ansträngts","ansvisas","antagas","antages","antagits","antändas","antändes","antänds","antänts","antas","antastas","antastats","anteciperas","antecknades","antecknas","antecknats","anteras","antogs","antologiserats","anträddes","anträffas","anträffats","äntras","antydas","antyddes","antydes","antyds","antytts","anvämdas","användas","användes","används","använts","anvisades","anvisas","anvisats","apéritifdags","apostroferades","applåderades","applåderas","applåderats","applicerades","appliceras","applicerats","apprecieras","aprilskämtas","apterades","apteras","apterats","ärades","åräknas","äras","ärats","arbetades","arbetas","arbetats","argumenterades","argumenteras","arielvas","aristokratpalats","arkebuserades","arkebuseras","arkebuserats","arkiverades","arkiveras","arkiverats","armbågas","armeras","armerats","ärnas","arrangerades","arrangeras","arrangerats","arrenderades","arrenderas","arrenderats","arresterades","arresteras","arresterats","årsundas","artbestäms","artbestämts","artikulerades","artikuleras","ärvas","arvoderades","arvoderas","ärvs","ärvts","åsågs","åsamkades","åsamkas","åsamkats","åsättas","åsatts","åsätts","åsetts","asfalteras","asfalterats","åsidosättas","åsidosattes","åsidosättes","åsidosatts","åsidosätts","åsiktsnäts","åskades","åskådliggjorts","åskådliggöras","åskådliggörs","åskådligörs","äskas","assimilerades","assimileras","assimilerats","assisterades","assisteras","associationeras","associerades","associeras","åstadkommas","åstadkommes","åstadkommits","åstadkoms","åstakommas","åstakoms","asturias","åsyftades","åsyftas","åtalades","åtalas","åtalats","åtaldes","ätas","åteförenas","ateljéplats","återanpassas","återanställdes","återanställs","återanställts","återantändas","återanvändas","återanvändes","återanvänds","återbefolkades","återbefolkas","återberättades","återberättas","återbesättas","återbesätts","återbetalades","återbetalas","återbetalats","återbildas","återbildats","återbördades","återbördas","återbördats","återbrukas","återerövras","återerövrats","återexploateras","återfångas","återfanns","återfås","återfinnas","återfinnes","återfinns","återfödas","återföddes","återföds","återföras","återfördes","återförenades","återförenas","återförenats","återförs","återförts","återförvildas","återförvisades","återförvisas","återfunnits","återgavs","återges","återgetts","återgives","återgivits","återhämtades","återhämtats","återiföras","återimporteras","återinföras","återinfördes","återinförs","återinförts","återinrättades","återinrättas","återinsättas","återinsattes","återinstallerades","återintegreras","återinvesterades","återinvesteras","återinvigas","återinvigdes","återinvigs","återkallades","återkallas","återkallats","återkastades","återkastas","återkatoliceras","återknutits","återknytas","återköpas","återkopplas","återköptes","återkrävas","återladdas","återlämnades","återlämnas","återlämnats","återlevererats","återlöses","återmatas","åternationaliseras","åternoterades","återönskas","återöppnas","återöppnats","återplanteras","återreglerades","återregleras","återremitterades","återremitteras","återremitterats","återropades","återsågs","återsamlades","återsamlas","återsändas","återsändes","återsänds","återses","återskapades","återskapas","återskapats","återskolas","återspeglades","återspeglas","återspeglats","återställas","återställdes","återställes","återställs","återställts","återstartas","återtagas","återtas","återtogs","återuppbyggas","återuppbyggdes","återuppbyggts","återuppföras","återuppfördes","återuppförts","återupplevs","återupplivades","återupplivas","återupplivats","återuppnås","återupprättades","återupprättas","återupprättats","återupprepades","återupprepas","återuppsattes","återupptäckas","återupptäcktes","återupptäckts","återupptagits","återupptas","återupptogs","återuppväckas","återuppväcks","återuppväcktes","återuppväckts","återutges","återutgetts","återutgivits","återutnämnas","återutnämnts","återväcktes","återvaldes","återväljs","återvändas","återvanns","återvinnas","återvinns","återvisades","återvisas","återvunnits","ätes","åtföljas","åtföljdes","åtföljs","åtföljts","åtgärdades","åtgärdas","åtgärdats","åthutas","ätits","åtlydas","åtlyddes","åtlyds","åtnjuts","åtrås","åts","äts","åtsadkommas","åtskildes","åtskiljas","åtskiljs","attackerades","attackeras","attackerats","attackutrustas","attesterades","attesterats","attraherades","attraheras","attraherats","auktionerades","auktioneras","auktoriserades","auktoriseras","automatiserades","automatiseras","automatiserats","avanmälas","avanmäls","avåts","avbalkats","avbeställdes","avbeställts","avbetades","avbetalas","avbildades","avbildas","avbildats","avblåsas","avblåses","avblåstes","avblåsts","avblockerades","avböjas","avböjdes","avbokas","avbördas","avbröts","avbrutits","avbrytas","avbryts","avdelas","avdelats","avdemokratiserades","avdömas","avdömdes","avdramatiseras","avdramatiserats","äventyras","äventyrats","averages","averotiseras","avfärdades","avfärdas","avfärdats","avfattades","avfattas","avfestas","avfiras","avfolkades","avfolkas","avfolkats","avföras","avfördes","avföres","avförs","avförts","avfotograferades","avfyrades","avfyras","avfyrats","avges","avgiftades","avgiftas","avgiftsbelades","avgiftsbeskattas","avgivits","avgjordes","avgjorts","avgöras","avgöres","avgörs","avgränsades","avgränsas","avhållas","avhålles","avhållits","avhålls","avhånades","avhånas","avhändes","avhandlades","avhandlas","avhandlats","avhänds","avhästades","avhjälpas","avhjälps","avhjälptes","avhjälpts","avhölls","avhöras","avhördes","avhörts","avhysas","avhyses","avidentifieras","avideologiseras","avindividualiserats","avisades","avisas","aviserades","aviseras","aviserats","avjapaniseras","avjoniserats","avklädas","avkläddes","avklarades","avklaras","avklassificerades","avknoppades","avknoppas","avknoppats","avkodas","avkrävas","avkrävdes","avkrävs","avkrävts","avkriminaliseras","avkunnades","avkunnas","avkunnats","avkyls","avlades","avläggas","avlägges","avlägsnades","avlägsnas","avlägsnats","avlämnades","avlämnas","avlämnats","avlas","avläs","avläsas","avläses","avlastades","avlastas","avlästes","avlats","avledas","avleds","avlevereras","avlivades","avlivas","avlivats","avlockas","avlockats","avlöjas","avlönades","avlönas","avlönats","avlösas","avlöses","avlossades","avlossas","avlossats","avlöstes","avlösts","avlövas","avlutas","avlyssnades","avlyssnas","avlystes","avmagnetiseras","avmattas","avmobiliserades","avmumiefieras","avmystifieras","avnavlades","avnjöts","avnjutas","avnjutes","avnjuts","avnoterades","avnoteras","avpassas","avpatrulleras","avpolitiseras","avpolleterades","avpolleteras","avpolletterades","avpolletteras","avporträtterades","avporträtteras","avprogrammeras","avprogrammerats","avprutades","avrådas","avråddes","avråds","avräknas","avrapporteras","avrapporterats","avrättades","avrättas","avrättats","avråtts","avregistrerades","avregistreras","avregistrerats","avreglerades","avregleras","avreglerats","avritas","avrundades","avrundas","avrustades","avrustas","avs","avsågs","avsändas","avsändes","avsänds","avsänts","avsättas","avsattes","avsatts","avsätts","avses","avsetts","avskaffades","avskaffas","avskaffats","avskäras","avskärmas","avskedades","avskedas","avskedats","avskedshyllades","avskildes","avskiljas","avskiljes","avskiljs","avskilts","avskjutas","avskjutits","avskräckas","avskräcks","avskräcktes","avskräckts","avskrevs","avskrivas","avskrivits","avskrivs","avskurits","avskys","avslagits","avslås","avslogs","avslöjades","avslöjas","avslöjats","avslöjtas","avslutades","avslutas","avslutats","avsmakades","avsökas","avsöndras","avspänningsglödgas","avspärrades","avspärrats","avspeglades","avspeglas","avspeglats","avspelas","avspisades","avspisas","avstängas","avstängdes","avstängs","avstängts","avstyras","avstyrks","avstyrktes","avstyrkts","avsynas","avsyras","avtackades","avtackas","avtäckas","avtackats","avtäcks","avtäcktes","avtäckts","avtagas","avtalades","avtalas","avtalats","avtecknas","avtjänas","avtjänats","avträdas","avträddes","avtrappas","avtrubbas","avtrubbats","avtvås","avtvingades","avtvingas","avundades","avundats","avvägas","avvaktas","avväpnades","avväpnas","avväpnats","avvaras","avvärjas","avvärjdes","avvärjs","avvärjts","avvattnas","avvecklades","avvecklas","avvecklats","avverkades","avverkas","avverkats","avvinnas","avvisades","avvisas","avvisats","avyttrades","avyttras","avyttrats","axlades","axlas","axlats","babblades","babettes","backades","backas","backats","badades","badas","bäddades","baddas","bäddas","bäddats","bads","bagatelliserades","bagatelliseras","bagatelliserats","bagoas","bakades","bakas","bakats","bakbands","bakbinds","baksits","baktalas","baktalats","balanserades","balanseras","balanserats","balas","balsamerades","balsameras","banaliseras","bananas","banats","bandades","bandas","bandats","banderas","bändes","bands","bänds","bänkades","bankas","bankats","bannas","bannlysas","bannlyses","bannlystes","bantades","bantas","bantats","barabbas","bäras","bäres","bärgades","bärgas","bärgats","barings","barnablods","barnes","barrantes","bars","bärs","barthes","baserades","baseras","baserats","basunerades","basuneras","basunerats","bättrades","bättras","bättrats","baxades","baxas","baxats","beaktades","beaktas","beaktats","bearbetades","bearbetas","bearbetats","beättas","bebådas","beblandas","beboddes","bebos","bebotts","bebyggas","bebyggdes","bebyggs","bedårades","bedåras","bedjas","bedömas","bedömdes","bedömms","bedöms","bedömts","bedövades","bedövas","bedragas","bedras","bedrevs","bedrivas","bedrives","bedrivits","bedrivs","beds","bedyras","bedyrats","beers","befalldes","befallts","befanns","befarades","befaras","befarats","befästas","befästes","befästs","befinnas","befinnes","befinns","befläckats","befodrats","befolkades","befolkas","befolkats","befordrades","befordras","befordrats","befrämjades","befrämjas","befriades","befrias","befriats","befruktades","befruktas","befruktats","befunnits","begagnas","begapas","begäras","begärdes","begärs","begärts","begås","begåtts","begåvades","begåvas","begåvats","begicks","begöts","begränas","begränsades","begränsas","begränsats","begravas","begravdes","begravs","begravts","begreps","begripas","begrips","begrovs","begrundades","begrundas","behäftas","behagas","behållas","behållits","behålls","behandlades","behandlas","behandlats","behängts","behärskades","behärskas","behölls","behövas","behövdes","behöves","behövs","behovsprövas","behövts","beivras","beivrats","bejakas","bejakats","bejublades","bejublas","bejublats","bekämpades","bekämpas","bekämpats","bekändes","bekännas","bekänns","bekantas","bekantgjorts","békas","bekikas","bekläddes","beklagades","beklagas","beklagats","beklas","beklätts","bekommas","bekostades","bekostas","bekostats","beköts","bekräftades","bekräftas","bekräftats","bekymras","belades","beläggas","beläggs","belägrades","belägras","belägrats","belagts","belamrades","belamras","belastades","belastas","belastats","beledsagades","beledsagas","beles","belönades","belönas","belönats","belys","belysas","belyses","belystes","belysts","bemålats","bemannades","bemannas","bemannats","bemästras","bemästrats","bemötas","bemöts","bemöttes","bemötts","bemyndigades","bemyndigas","benådades","benådas","benådats","benaissas","benämnas","benämndes","benämnes","benämns","benämnts","benas","benedikts","bennetts","benskadats","beöms","beordrades","beordras","beordrats","bepudrades","beräknades","beräknas","beräknats","berättades","berättas","berättats","berättigades","berättigas","berättigats","beredas","bereddes","beredes","bereds","beretts","berikades","berikas","berikats","berishas","bermudas","berömdes","berömmas","beröms","beröras","berördes","berörs","berörts","berövades","berövas","berövats","berusades","berusats","bes","besåddes","besågs","besannades","besannas","besannats","besås","besättas","besattes","besatts","besätts","besegarades","besegerades","beseglades","beseglas","besegrades","besegras","besegrats","beses","besiktas","besiktigas","besiktigats","besittes","besitts","besjälas","besjöngs","besjungas","besjungits","besjungs","beskådades","beskådas","beskälls","beskäras","beskars","beskärs","beskattades","beskattas","beskattats","beskedas","beskevs","beskjutas","beskjutits","beskjuts","beskogats","besköts","beskrevs","beskrivas","beskrives","beskrivits","beskrivs","beskurits","beskyddades","beskyddas","beskyllas","beskylldes","beskylls","beskyllts","beslagits","beslagtagits","beslagtas","beslagtogs","beslås","beslogs","beslöjades","beslöjas","beslöts","beslutades","beslutas","beslutats","besmittats","besökas","besöks","besöktes","besökts","besparades","besparas","besparats","bespisas","bespottas","bespottats","besprutades","besprutas","besprutats","beställas","beställdes","beställes","beställs","beställts","bestals","bestämdes","bestämmas","bestämmes","bestäms","bestämts","bestänktes","bestås","bestigas","bestigits","bestjäls","bestods","bestormas","bestraffades","bestraffas","bestraffats","bestrålas","bestrålats","bestreds","bestridas","bestriddes","bestrids","beströddes","bestulits","bestyckas","bestyckats","bestyras","bestyrkas","bestyrkes","bestyrks","besudlas","besudlats","besvarades","besvärades","besvaras","besväras","besvarats","besvärats","besvärjas","betäckas","betäcktes","betäckts","betades","betalades","betalas","betalats","betalts","betänkas","betas","betats","betcknas","betecknades","betecknas","betecknats","betingades","betingas","betitlades","betjänas","betonades","betonas","betonats","beträdas","beträddes","betrakats","betraktades","betraktas","betraktats","betroddes","betrotts","bets","betsas","betslas","betts","betvingas","betvingats","betvivlas","betvivlats","betygas","betygsättas","betygsattes","betygsatts","betygsätts","betygssättas","beundrades","beundras","beundrats","bevakades","bevakas","bevakats","beväpnades","beväpnats","bevarades","bevaras","bevarats","bevärdigades","bevärdigats","bevattnades","bevattnas","bevekas","beviljades","beviljas","beviljats","bevisades","bevisas","bevisats","bevistas","bevittnades","bevittnas","bevittnats","bhopas","bibehållas","bibehålles","bibehållits","bibehålls","bibehölls","bibliograferas","bibringades","bibringas","bibringats","bidrags","biesmes","bifallas","bifalles","bifallits","bifalls","bifogades","bifogas","bifogats","bifölls","bilades","biläggas","biläggs","bilagts","bildades","bildas","bildats","bildsättas","bildsätts","bilfraktas","billhälls","bilskjuts","bindas","bindes","binds","bisättas","bisattes","biscuits","bitas","bitits","biträdas","biträddes","biträdes","biträds","bits","bjöds","bjudas","bjudes","bjudits","bjuds","bläddrades","bläddras","blades","blåfärgats","blåmärkas","blandades","bländades","blandas","bländas","blandats","bländats","blandfärs","blankslipades","blankslitits","blås","blåsas","blåses","blåstes","blästrades","blästras","blästrats","blåsts","blekas","blekläggas","bleks","blekts","blidkades","blidkas","blindmes","blindtarmsopererats","blindtestas","blinkas","blixtinkallades","blixtinkallas","blixtinkallats","blixtutredas","blockerades","blockeras","blockerats","blodfylls","blodfyllts","blomsterhyllas","blossas","blötas","blötläggas","blötläggs","blöts","blottades","blottas","blottats","blöttes","blottlades","blottläggas","blottläggs","blottlagts","blötts","blottställas","bluddrats","bluffas","blygas","blygdes","blygs","blylastas","bockas","bogserades","bogseras","bogserats","böjas","böjdes","bojkottades","bojkottas","böjs","böjts","bokades","bokas","bokats","bokföras","bokfördes","bokförs","bokförts","bolagiserades","bolagiseras","bolagiserats","bolas","bolivares","bollades","bollas","bollats","bombades","bombarderades","bombarderas","bombarderats","bombas","bombats","bombhotades","bombhotas","bombhotats","bommades","bommats","bonades","bonas","bönhördes","bordades","bordlades","bordläggas","bordläggs","bordlagts","börgades","börjades","börjas","borrades","borras","borrats","börsintroducerades","börsintroduceras","börsnoterades","börsnoteras","börsnoterats","börsstoppades","borstas","bortauktioneras","bortdribblas","bortfördes","bortförklaras","bortförklarats","bortförlovades","bortförts","bortopereras","borträknats","bortrationaliserades","bortrationaliseras","bortses","borttages","bortträngts","bortväljes","botades","botas","botats","bötfällas","bötfälldes","bötfälls","bötfällts","bothas","bötläggas","böts","bottenskrapades","bottenskrapats","bottnas","bräckas","brackets","bräcks","bräcktes","brädas","bräddas","bråddes","brädfodras","bragtes","bragts","bråkades","bråkas","bråkats","brandmärkts","brandskattas","brännmärkas","brännmärks","brännmärktes","branns","brännskadades","bräserats","brassades","breakas","bredas","breddades","breddas","breddats","breddes","brehmers","bres","bretts","bricoles","bringas","bringats","broddas","broderades","broderas","broderats","brölas","bromsades","bromsas","bromsats","bröts","brudås","brugueras","brukades","brukas","brukats","brunsminkades","brutaliseras","brutaliserats","brutits","bryggas","brynas","bryns","bryssellörs","brytas","brytes","bryts","buades","buas","buats","budades","budgeterades","budgeteras","budgeterats","buffas","bugas","buggas","bullerbegränsas","bullerisoleras","bultas","bundes","bundits","buntas","buntats","buras","burits","burrades","busats","bussades","bussas","bussats","buteljeras","buteljerats","bygdes","byggas","byggdes","bygges","byggnadsminnesförklarades","byggnadsminnesförklaras","byggnadsminnesmärks","byggs","byggstartas","byggts","bykas","bytas","bytits","byts","byttes","bytts","caceres","cajs","cambrils","camoufleras","capras","carlshamns","catenas","celebrerades","celebreras","cementas","cementerades","cementeras","cementerats","censurerades","censureras","censurerats","centimes","centraldirigeras","centraliserades","centraliseras","centraliserats","centralregleras","centralstyrs","centras","centrats","centrifugerats","centrsimes","ceres","certifierats","charmades","charmas","charmats","chartras","chartrats","checkas","chiapas","chikanerats","chines","chivas","chockades","chockas","chockats","chockerades","chockeras","chockhöjs","chockskadades","chockskadas","christmas","cirkuleras","citerades","citeras","citerats","civiliseras","coachas","components","comviqs","contras","cripps","crosscheckades","cruises","cuplottades","cyberfrogs","cyklas","däckades","däckas","däckats","dagits","daglidags","dalaras","dalas","daltades","daltas","dämdes","dammades","dammas","dämmas","dammats","dammsögs","dammsugits","dammsugs","dammtorkas","dämpades","dämpas","dämpats","däms","dämts","danades","danas","danats","danidas","daniells","dansades","dansas","dansats","darras","das","databaseras","databehandlas","daterades","dateras","daterats","datoriseras","dealas","debatterades","debatteras","debatterats","debiteras","debiterats","decentraliserades","decentraliseras","dechiffreras","decimaliseras","decimerades","decimeras","decimerats","dedicerades","defineras","definierades","definieras","definierats","deformeras","deformerats","degas","degenererats","degraderades","degraderas","degraderats","degradras","deklamerades","deklameras","deklarerades","deklareras","deklarerats","dekonstruerades","dekonstrueras","dekonstruerats","dekorerades","dekoreras","dekorerats","dekrypteras","delades","delas","delats","delegerades","delegeras","delegerats","delexpedieras","delfinansierades","delfinansieras","delgavs","delges","delgetts","delgivits","deltas","delvalveras","demaskerades","demaskeras","dematerialiseras","dementerades","dementeras","dementerats","demilitariserats","demobiliserades","demobiliseras","demokratiserades","demokratiseras","demokratiserats","demolerades","demoleras","demolerats","demoniseras","demonstrerades","demonstreras","demonstrerats","demonterades","demonteras","demystifieras","deponeras","deponerats","deporterades","deporteras","deporterats","deppas","desarmerades","desarmerats","deserves","designas","designats","desillusioneras","desinficeras","desinficerats","desorienteras","destabiliserades","destilleras","destillerats","destineras","destrueras","detaljgranskas","detaljregleras","detaljstuderas","detaljstyrs","detekteras","detroniserades","detroniseras","detroniserats","dettalas","devalverades","devalveras","devalverats","diagnosticerades","diagnosticeras","diagnosticerats","diagnostiserades","diagnostiseras","diagnostiserats","diagosticeras","diarieföras","diarieförs","diarieförts","dias","differentieras","differentierats","diggats","digitaliseras","digitaliserats","dikats","diktats","dikterades","dikteras","dikterats","dikvalificerats","dimensionerades","dimensioneras","dimensionerats","diminueras","dineras","diplomerades","directes","direktavskrivas","direktavvisas","direktkonfronterades","direktnoterades","direktsändas","direktsändes","direktsänds","direktsänts","direktteleviserades","direktväljas","dirigerades","dirigeras","dirigerats","disciplineras","diskades","diskas","diskats","diskonterades","diskonteras","diskonterats","diskrediterades","diskrediterats","diskriminerades","diskrimineras","diskriminerats","diskuterades","diskuteras","diskuterats","diskvalificerades","diskvalificeras","diskvalificerats","disponerades","disponeras","disponerats","disputerades","dissekerades","dissekeras","dissekerats","dissikerades","distanserades","distanseras","distraheras","distribuerades","distribueras","distribuerats","distribureras","dites","dittransporterats","diversifieras","divideras","dividerats","djäklas","djärvas","djärvdes","djärves","djävlades","djävlas","djilas","djupdykas","djupfrysas","djupfryses","djupintervjuas","djupintervjuats","dödades","dödas","dödats","dödförklarades","dödförklaras","dödförklarats","dödskallemärkas","dogs","dokes","dokumenterades","dokumenteras","dokumenterats","doldes","döljas","döljs","döljts","dollarras","dolts","domarbedömas","dömas","domderas","dömdes","dömes","domesticeras","domesticerats","dominerades","domineras","dominerats","dompteras","döms","dömts","donerades","doneras","donerats","döpas","dopingtestades","dopingtestas","doppades","doppas","doppats","döps","döptes","döpts","doserades","doseras","douradores","dövades","dövas","dövats","dövtolkas","drabbades","drabbas","drabbats","drabbbades","dracks","draftades","draftas","dragas","dragits","dramatiseras","dramatiserats","drämdes","dränerades","dräneras","dränerats","dränkas","dränkes","dränks","dränktes","dränkts","dräpas","draperades","draperas","draperats","dräps","dräptes","dras","dreams","drejades","drejats","dressas","dresseras","dresserats","dressyrbas","drevades","drevs","dribblades","dribblas","dribblats","drickas","drickes","drillades","drillas","drillats","drivas","drives","drivgas","drivits","drivs","drogades","drogas","drogats","drogs","drogtestats","drömdes","drömmas","droppades","druckits","drukpas","dryftades","dryftas","dryftats","drygades","dubbas","dubbats","dubbelexponeras","dubbelriktas","dubblades","dubblas","dubblats","dubblerades","dubbleras","dubblerats","dukades","dukas","dukats","dumpades","dumpas","dumpats","dunas","dundrades","dundras","dunkades","dunkas","duperades","duperas","duperats","duplicerades","durres","duschades","duschas","dvaldes","dväljs","dvalts","dyrkades","dyrkas","ebbas","effektiverades","effektiveras","effektiviserades","effektiviseras","effektiviserats","effektueras","effektureras","efteranmäldes","efterbildas","efterföljas","efterföljdes","efterföljs","efterfrågades","efterfrågas","efterfrågats","efterhördes","efterkomposteras","efterlämnades","efterlämnas","efterlevas","efterlevdes","efterlevs","efterliknats","efterlysas","efterlyses","efterlystes","efterlysts","eftersänds","eftersänts","eftersättas","eftersattes","eftersatts","eftersätts","efterskänkas","eftersökas","eftersöks","eftersöktes","efterspanas","eftersträvades","eftersträvas","eftersynkroniseras","eftertaxerades","efterträdas","efterträddes","efterträdes","efterträds","efterträtts","eggades","eggas","eggers","ekas","ekiperats","eklärerades","eklaterades","eklateras","eklaterats","eldades","eldas","eldats","eldhärjades","eldhärjas","eldhärjats","elektras","elektrifierades","elektrifieras","eliminerades","elimineras","eliminerats","elitiseras","ellerströms","emballerades","emitterades","emitteras","emotsågs","emotses","emottagas","emottas","emtungas","enades","enas","enats","engagerades","engageras","engagerats","engagererats","engells","enhetliggöras","enkelriktades","enkelriktas","enkelriktats","enleverades","enleveras","enrollerades","enrolleras","enrollerats","enskommits","entledigades","entledigas","entledigats","entusiasmeras","envisades","envisats","erades","erbjöds","erbjudas","erbjudes","erbjudits","erbjuds","erfaras","erfodras","erfordrades","erfordras","erfors","erhållas","erhålles","erhållits","erhålls","erhölls","erinrades","erinras","erkändes","erkännas","erkännes","erkännnas","erkänns","erkänts","erlades","erläggas","erlägges","erläggs","erlagts","eroderas","erotiseras","erövrades","erövras","erövrats","ersättas","ersattes","ersättes","ersatts","ersätts","ertappades","ertappas","ertappats","esbjörs","eskaleras","eskorterades","eskorteras","eskorterats","esseltes","estetiseras","etablerades","etableras","etablerats","etappindelas","etiketterades","etiketteras","etnifieras","etnifierats","etsades","etsas","eudokias","europeiseras","europes","evakuerades","evakueras","evakuerats","evalueras","everglades","evkuerats","examinerades","examineras","examinerats","exekverades","exekveras","exemplifieras","exkluderas","exkluderats","exkommuniceras","expanderas","expedierades","expedieras","experimenterades","experimenteras","experimenterats","explicitgjorts","exploaterades","exploateras","exploaterats","exponerades","exponeras","exponerats","exporterades","exporteras","exporterats","expropieras","exproprierades","exproprieras","extrainkallas","extraskjuts","fackbas","fägnats","fajtades","fajtas","fajtats","fäktades","fäktas","fakturerades","faktureras","fakturerats","fållas","fällas","fälldes","falles","falls","fälls","fällts","falsifieras","fältprovas","famnas","fångades","fångas","fångats","fängslades","fängslas","fängslats","fanzines","fårades","färas","fårats","färdigbehandlas","färdigförhandlades","färdigrepareras","färdigspelades","färdigspelas","färdigspelats","färdigställas","färdigställdes","färdigställs","färdigställts","färdigutrustas","fares","färgades","färgas","färgats","färgläggas","färgläggs","färgsättas","färgsattes","färgsätts","färjades","färjas","farpas","fås","fasadputsas","fasas","fascinerades","fascineras","fascinerats","fassetts","fästas","fästes","fastlades","fastläggas","fastlagts","fastnades","fästs","fastslagits","fastslås","fastslogs","fastställas","fastställdes","fastställs","fastställts","fattades","fattats","fattiggjorts","fåtts","favoriserades","favoriseras","favoriserats","favoritspelas","faxades","faxats","fejas","felbalanserades","felbedöms","felbetonades","felciteras","felkopplas","felsökas","feltolkades","feltolkas","feltolkats","femdubblades","femdubblas","femdubblats","femfaldigades","femfaldigats","feminiseras","femmes","fermentas","fernissas","fes","festades","festas","festes","festplats","fickparkeras","fifflas","fightades","fightas","fightats","figueras","figureras","fikas","fiktionaliserats","filas","filmades","filmas","filmatiserades","filmatiseras","filmatiserats","filmats","filmtricks","filotas","filtreras","filtrerats","fimpas","fimpats","finalbesegrades","finalbrottas","finaniseras","finanseras","finanserats","finanserias","finansierades","finansieras","finansierats","finansierieras","finfördelats","fingeras","fingranskas","fininställas","fininställs","finjusteras","finkammades","finkammas","finkammats","finkrattats","finnes","finnns","finputsas","finputsats","finslipas","finslipats","fintades","fintas","firades","firas","firats","fiskades","fiskas","fiskats","fixades","fixas","fixats","fixerades","fixeras","fixerats","fjärmas","fjärrstyras","fjärrstyrs","fjärtas","fjäskas","fjättrades","fjättrats","fläckades","fläckas","fläckats","flåddes","flaggades","flaggas","flaggats","fläkas","flakes","flamberats","flankerades","flankeras","flätades","flätas","flätats","flerdubblades","flerdubblas","flerdubblats","flerfaldigas","flerfaldigats","flintstones","flirtas","flögs","flörtas","flottades","flugits","flyers","flygas","flygbesprutas","flygbombades","flygbombas","flygbombats","flygfotograferades","flygpats","flygs","flyttades","flyttas","flyttats","fnissas","fnissats","fnös","fnystes","födas","födddes","föddes","föds","fogades","fogas","fogats","fögelkes","föjdes","fokuserades","fokuseras","fokuserats","föläggs","följas","följdes","följs","följts","folkas","fonderades","fonderas","fonderats","fönsterspröjs","förädlades","förädlas","förädlats","föraktades","föraktas","föraktats","föräldrarsomdeklasserats","förändats","förändrades","förändrarts","forandras","förändras","forändrats","förändrats","förångades","förångas","förångats","förankrades","förankras","förankrats","föranledas","föranleddes","föranleds","föranletts","föranmälts","förannonserats","föranstaltades","förärades","föräras","förärats","förargas","förargats","föras","förbands","förbannades","förbannas","förbannats","förbättrades","förbättras","förbättrats","förbegicks","förbehållas","förbehållits","förbehålls","förbehandlas","förbehölls","förberdas","förberedas","förbereddes","förberedes","förbereds","förberetts","förbeställas","förbeställts","förbigås","förbigåtts","förbigicks","förbindas","förbinds","förbisågs","förbises","förbisetts","förbittrades","förbjöds","förbjudas","förbjudes","förbjudits","förbjuds","förblandades","förblandas","förblindades","förblindas","förblindats","förbluffades","förbluffas","förborgerligades","förborgerligas","förborgerligats","förbrändes","förbrännas","förbränns","förbränts","förbrödrades","förbrödras","förbrukades","förbrukas","förbrukats","förbryllades","förbryllas","förbryllats","förbuskats","förbyggts","förbytas","förbyts","förbyttes","förbytts","forcerades","forceras","forcerats","fördärvades","fördärvas","fördärvats","fördelades","fördelas","fördelats","fördeltas","fördes","fördjupades","fördjupas","fördjupats","fördömas","fördömdes","fördöms","fördömts","fordrades","fördragas","fördrages","fordras","fördras","fordrats","fördrevs","fördrivas","fördrivits","fördrivs","fördröjas","fördröjdes","fördröjes","fördröjs","fördröjts","fördubblades","fördubblas","fördubblats","fördummas","fördunklades","fördunklas","fördunklats","fördyrades","fördyras","fördyrats","fördystrades","förebådades","förebådas","förebådats","föreberedas","förebragts","förebrås","förebyggas","förebyggs","föredömdes","föredrages","föredras","föredrogs","föregås","föregåtts","föregicks","föregreps","föregripits","föregrips","föreknippas","förekommas","förekommits","förelades","föreläggas","föreläggs","förelagts","förelås","förelästes","förenades","förenas","förenats","förenhetligas","förenklades","förenklas","förenklats","föres","föreskrevs","föreskrivas","föreskrivs","föreslagits","föreslås","föreslogs","förespås","förespeglades","förespeglas","förespeglats","förespråkades","förespråkas","förespråkats","föreställas","föreställdes","föreställs","förestås","förestods","forests","företagas","företagits","företas","företeddes","företogs","företrädas","företräddes","företräds","förevigades","förevigas","förevigats","förevisades","förevisas","förevisats","förfäktas","förfalskades","förfalskas","förfalskats","förfärades","förfäras","förfärats","förfärdigades","förfärdigats","förfares","förfasades","förfasas","författades","författas","författats","förfelades","förfelas","förfinades","förfinas","förfinats","förfinskas","förflackas","förflackats","förflyktats","förflyktigades","förflyktigas","förflyktigats","förflyttades","förflyttas","förflyttats","förföljas","förföljdes","förföljs","förföljts","förföras","förfördelas","förfördes","förförs","förförts","förfranskas","förfrös","förfulas","förfulats","förfuskades","förfuskas","förfuskats","förgasades","förgasas","förgasats","förgiftades","förgiftas","förgiftats","förglömmas","förgöras","förgrovades","förgrovas","förgrovats","förgrymmas","förgubbas","förgudas","förgylldes","förgylls","förgyllts","förhalades","förhalas","förhalats","förhållas","förhånades","förhånas","förhånats","förhandlades","förhandlas","förhandlats","förhandscensureras","förhandsetiketteras","förhandsgranskas","förhandsnomineras","förhandsvisades","förhärdas","förhärligades","förhärligas","förhäxas","förhindrades","förhindras","förhindrats","förhöjas","förhöjs","förhöras","förhördes","förhörs","förhörts","förintades","förintas","förintats","förjagas","förkalkas","förkapslats","förkastades","förkastas","förkastats","förkläds","förklarades","förklarars","förklaras","förklarats","förknippades","förknippas","förknippats","förkortades","förkortas","förkortats","förkroppsligas","förkrossas","förkunnades","förkunnas","förkunnats","förkvävas","förkvävs","förlades","förläggas","förläggs","förlagts","förlamades","förlamas","förlamats","förlänades","förlänas","förlänats","förlängas","förlängdes","förlängs","förlängts","förlåtas","förlåts","förläts","förledas","förledes","förleds","förletts","förlikades","förlikas","förlikats","förliknas","förliks","förliktes","förlikts","förljuvades","förlöjligades","förlöjligas","förlöjligats","förlorades","förloras","förlorats","förlösas","förlöses","förlöstes","förlustanmälas","förmåddes","formades","formaliserades","formaliseras","förmanades","förmanas","förmånsbeskattades","förmånsbeskattas","förmänskligades","förmänskligas","förmärkas","förmärks","förmärktes","förmärkts","formas","förmås","formats","förmåtts","förmedlades","förmedlas","förmedlats","förmenades","förmenas","förmenats","formerades","formeras","förmeras","formerats","förmerats","formges","formgetts","formgivits","förminskades","förminskas","förminskats","förmodades","förmodas","förmögenhetsbeskattas","förmörkades","förmörkas","förmörkats","formsprutas","formulerades","formuleras","formulerats","förnams","förnedrades","förnedras","förnedrats","förnekades","förnekas","förnekats","förnimmas","förnims","förnöjts","förnyades","förnyas","förnyats","förödas","föröddes","förödes","förodlas","förödmjukades","förödmjukas","förödmjukats","föröds","förökas","förökats","förolämpas","förolämpats","förolyckades","förolyckas","förolyckats","förolycklades","förorättats","förordades","förordas","förordats","förordnades","förordnas","förordnats","förorenas","förorenats","förorsakades","förorsakas","förorsakats","förövades","förövas","förövats","förpackades","förpackas","förpackats","förpassades","förpassas","förpassats","förpasssades","förpestades","förpestas","förpliktades","förpliktas","förpuppades","förpuppas","förråats","förrådas","förråddes","förräntas","förrättades","förrättas","förrättats","förringades","förringas","förringats","förrycks","förrycktes","fors","förs","försågs","försakas","försäkrades","försäkras","försäkrats","försåldes","försäljas","försäljes","församhälleligats","församlades","försämrades","försämras","försämrats","försänkas","försättas","försattes","försatts","försätts","förseglades","förseglats","forselles","försenades","försenas","försenats","förses","försetts","försinkas","forskades","forskas","forskats","förskingrades","förskingras","förskingrats","förskjöts","förskjutas","förskjutits","förskjuts","förskonades","förskonas","förskönas","förskonats","förskönats","försköts","förskräckas","förskräckes","förskräcks","förskrivas","förskrivits","förskrivs","forslades","förslagits","förslappats","forslas","förslås","forslats","förslavas","förslavats","förslits","förslöats","förslogs","förslösades","förslösas","förslösats","förslummades","förslummas","förslutits","försmåddes","försnävas","försnillas","försökas","försöktes","försonades","försonas","försonats","försörjas","försörjdes","försörjs","försörjts","förspillas","förspilldes","förspills","förspordes","försports","försprödas","förstärkas","förstärks","förstärktes","förstärkts","förstås","förståss","förstatligades","förstatligas","förstatligats","förståtts","förstenades","förstenas","förstods","förstoppas","förstorades","förstoras","förstöras","förstorats","förstördes","förstörs","förstörts","förströddes","förströs","förstuckits","förstummades","förstummas","förstummats","försummades","försummas","försummats","försumpats","försuras","försvagades","försvagas","försvagats","försvarades","försvårades","försvaras","försvåras","försvarats","försvårats","försvenskas","försvenskats","försvunnes","förtages","förtalas","förtalats","förtäljas","förtamats","förtäras","förtärdes","förtärs","förtärts","förtas","förtås","förtätades","förtätas","förtätats","fortbildas","förtecknas","förtecknats","förtegs","förtidsinlösas","förtidspensionerades","förtidspensioneras","förtidspensionerats","förtigas","förtiges","förtigits","förtigs","förtingligas","förtjänas","förtjänats","förtjusas","förtjustes","förtöjas","förtöjdes","förtöjs","förtorkats","fortplantades","fortplantas","förtrampades","förträngas","förträngs","förtrollades","förtrollas","förtröttades","förtröttas","förtröttats","förtryckas","förtrycks","förtrycktes","förtryckts","förts","fortsättas","fortsattes","förtullades","förtullas","förtunnades","förtunnas","förtydligades","förtydligas","förundrades","förundradts","förundras","förundrats","förunnades","förunnas","förunnats","förustspås","förutbestäms","förutsades","förutsägas","förutsågs","förutsägs","förutsagts","förutsättas","förutsattes","förutsättes","förutsatts","förutsätts","förutses","förutsetts","förutskickades","förutskickas","förutspåddes","förutspås","förutspåtts","förvägrades","förvägras","förvägrats","förvälls","förvaltades","förvaltas","förvaltats","förvånades","förvånas","förvånats","förvandlades","förvandlas","förvandlats","förvänds","förvanskades","förvanskas","förvanskats","förväntades","förväntas","förväntats","förvarades","förvaras","förvarats","förvärms","förvarnas","förvarnats","förvärrades","förvärras","förvärrats","förvärvades","förvärvas","förvärvats","förväxlades","förväxlas","förväxlats","förvedas","förvekligades","förvekligas","förverkas","förverkats","förverkligades","förverkligas","förverkligats","förvillas","förvirrades","förvirras","förvisades","förvisas","förvisats","förvissades","förvrängas","förvrängdes","förvrängs","förvrängts","förvreds","förvridas","förvridits","förvrids","föryngrades","föryngras","föryngrats","fös","fösas","föses","fosforyleras","föstes","fostrades","fostras","fostrats","fösts","fotats","fotodokumenterades","fotograferades","fotograferas","fotograferats","fotokopieras","fötts","frågades","frågasättas","frågats","fragmenteras","fragmentiserades","fraktades","fraktas","fraktats","fräls","frälsas","framarbetats","frambäras","frambäres","frambesvärjas","frambesvärjs","frambringats","framdrivits","framflyttats","framföras","framfördes","framföres","framförhandlades","framförhandlats","framförs","framförts","framfötts","framhållas","framhålles","framhållits","framhålls","framhävas","framhävdes","framhävs","framhölls","främjades","främjas","främjats","framkallades","framkallas","framkallats","framkastades","framkastas","framlades","framläggas","framlagts","framledes","frammanas","framräknas","framräknats","framställas","framställdes","framställs","framställts","framtagits","framtvingas","framtvingats","frångås","frånhändas","frånkännas","frankeras","frankerats","frånräknas","fransats","fråntagits","fråntas","fråntogs","frapperades","frapperas","frapperats","fräs","fräschades","fräschats","fräses","frästs","fräts","frättes","frätts","fredades","fredas","freddes","fredells","fredrikornas","frekvensplaneras","frekventerades","frekventeras","freongas","frestades","frestas","frestats","friades","frias","friats","friderikas","fridlysas","fridlyses","fridlystes","frigavs","friges","frigetts","frigivits","frigjordes","frigjorts","frigöras","frigöres","frigörs","frihetsberövades","frikändes","frikännas","frikänns","frikänts","friklassas","frikopplades","frikopplas","frikopplats","friköptes","frilades","friläggas","friläggs","frisätts","friserades","friseras","friserats","friskförklarats","frisläppas","frisläpps","frisläpptes","frisläppts","frisöranställdas","frispelades","friställas","friställdes","friställs","friställts","fritagits","fritällts","fritas","friteras","friterats","fritidshemsplats","fritogs","frodades","frodas","frodats","fröjdades","fröjdas","frölundagrabbarnas","frontalpressades","frös","frossas","frössvettades","frostats","frotterades","frotteras","frotterats","frubjudas","fruktades","fruktas","fruktats","fruktmos","frusits","frustrerades","frustreras","frys","frysas","fryses","frystes","frysts","fudgsicles","fuentes","fuktades","fuktats","fulländades","fulländas","fullbordades","fullbordas","fullbordats","fullföljas","fullföljdes","fullföljs","fullföljts","fullförts","fullgjorts","fullgöras","fullgörs","fullkomnas","fullkomnats","funderades","funderas","funderats","funnes","fusionerades","fusioneras","fusionerats","fuskades","fuskas","fuskats","fylkades","fylkas","fylkats","fyllas","fylldes","fylles","fylls","fyllts","fyndas","fyrdubblades","fyrdubblas","fyrdubblats","fyrfaldigades","gäckades","gäckas","gäckats","gafflas","gagnades","gagnas","gagnats","galas","gäldas","gäldats","gales","gallottas","gallras","gallrats","galopperades","gals","gammeldags","gängas","gapas","garanterades","garanteras","garanterats","garderas","garnerades","garneras","garrotterades","garvats","gås","gasades","gasas","gäspas","gastades","gästades","gästas","gästats","gastkramades","gastkramats","gåtts","gaulles","gauloises","gavs","geddes","geels","gefundenes","gekås","genas","generades","generaliseras","generas","genererades","genereras","genererats","geniförklarades","geniförklarats","genmanipuleras","genmanipulerats","genmföras","gennes","genomblåsts","genomborrades","genomborras","genomborrats","genombröts","genombrutits","genomdrevs","genomdrivas","genomfares","genomfars","genomföras","genomfördes","genomfors","genomförs","genomförts","genomgås","genomgörs","genomkorsades","genomkorsas","genomläsas","genomleds","genomlidas","genomlidits","genomlids","genomlysas","genomskådades","genomskådas","genomskådats","genomskärs","genomsköljdes","genomsökas","genomsöks","genomsöktes","genomsökts","genomströmmades","genomströmmas","genomsyrades","genomsyras","genrebestämmas","gensköts","geomfördes","ges","gestaltades","gestaltas","gestaltats","getts","gicks","giftas","giftes","giftmördas","gifts","gillades","gillas","gillrades","gillras","gills","giltigförklarats","gipsas","gipsats","gissas","gisslas","givas","gives","givits","givs","gjirokastras","gjordes","gjöres","gjors","gjorts","gjöts","gjutas","gjutits","gjuts","gladdes","glädjas","glädjs","gläds","glammas","glamourdags","gläns","gläntades","glasas","glaseras","glatts","glesades","glesas","globaliseras","glömmas","glömmes","glöms","glorifierades","glorifieras","glunkas","gnabbades","gnabbandes","gnagdes","gnags","gnällts","gneds","gnetas","gnidas","gnidits","gnids","gnisslas","gnolas","gnolats","gnuggades","gnuggas","gnuggats","gödas","godkändes","godkännas","godkännes","godkänns","godkänts","gödslades","gödslas","gödslats","godspelas","godtagas","godtagits","godtas","godtogs","golas","golvades","golvats","gömdes","gömmas","göms","gömts","göras","göres","görs","gosas","götas","götes","göts","gottgöras","gottgörs","gräddades","gräddas","gräddsås","graderas","graderats","grälas","grälats","grämas","grammisbelönats","grändes","granquists","granskades","granskas","granskats","gränsöverskrids","gråtas","gratineras","gratinerats","gråts","gräts","grattas","gratulerades","gratuleras","grävas","grävdes","graveras","graverats","grävs","gravsättas","gravsattes","gravsatts","gravsätts","grävts","grejades","greps","grigorjevs","grillas","grillats","grimaseras","gripas","gripes","gripits","grips","groggys","gröps","gröpts","gros","grovhackas","grovindelas","grubblas","grumlades","grumlas","grummes","grundades","grundas","grundats","grundförstärkas","grundlades","grundläggas","grundlägges","grundläggs","grundlagsfästas","grundlagts","grundlurades","grundlurats","grundutbildas","grundutbildats","grupperades","grupperas","grupperats","gruppvåldtas","grusades","grusas","grusats","guidades","guidas","guidats","gullades","gungades","gynnades","gynnas","gynnats","gyttras","habermas","hackades","hackas","hackats","häcklades","häcklas","häcklats","hades","haemoplas","haffades","haffas","hafsas","hägnas","hägnats","hagsätras","hajas","hakades","hakas","hakats","hakkas","häktades","häktas","häktats","halades","halas","halats","hållas","hällas","hälldes","hålles","hälles","hållits","hålls","hälls","hållts","hällts","hälsades","halsas","hälsas","hälsats","halshöggs","halshuggas","halshuggits","halshuggs","hälsningstalas","halstrades","halstras","halvägs","halverades","halveras","halverats","halvglas","halvpensioneras","hamas","hämmades","hämmas","hämmats","hamnas","hamrades","hamras","hamrats","hämtades","hämtas","hämtats","hånades","hånas","hånats","handelsstoppades","handhas","handikappades","handikappanpassas","handikappas","handlades","handläggas","handläggs","handlagts","handlas","handlats","handlingsförlamas","handplockades","handplockas","handplockats","handskadades","handskades","handskas","handskats","handvevas","hänföras","hänfördes","hänförs","hänförts","hängas","hängdes","hänges","hängs","hängts","hanhals","hanns","hänryckas","hanses","hänskjutas","hänskjutits","hänskjuts","hänsköts","hånskrattas","hanterades","hanteras","hanterats","hänvisades","hänvisas","hänvisats","harangerades","harangeras","härbärgerades","härbärgeras","härbärgerats","härdades","härdas","härdats","hårdbantas","hårdbevakas","hårddrillas","hårdexploaterats","hårdgranskas","hårdlanserades","hårdlanseras","hårdpumpats","härjades","härjas","härjats","härledas","härleds","härletts","harmades","harmas","harmonieras","harmonierats","harmoniseras","härröras","härrydas","harvas","has","hasades","hässjades","hässles","hastas","hastats","hatades","hatas","haussades","haussas","håvas","hävas","hävdades","hävdas","hävdats","hävdes","häves","hävs","hävts","hedrades","hedras","hedrats","hejas","hejdades","hejdas","hejdats","helas","helgades","helgarderas","helgas","helgonförklarades","hellacopters","hells","helrenoverades","helrenoverats","helsingfors","heltidsanställs","helvittes","hemfördes","hemförlovades","hemförlovas","hemkallas","hemlighållas","hemlighållits","hemlighålls","hemlighölls","hemligstämplades","hemligstämplas","hemligstämplats","hemskjuts","hemsökas","hemsöks","hemsöktes","hemsökts","hetsades","hetsas","hetsats","hettades","hettas","hilaritas","himbas","himlalots","hindrades","hindras","hindrats","hinnas","hinns","hispaniseras","hissades","hissas","hissats","hitleriseras","hittades","hittas","hittats","hivades","hivas","hivinfekterades","hjälpas","hjälps","hjälpsåtts","hjälptes","hjälpts","hjärntvättats","hjärtopereras","hjärtopererats","hoas","höegs","höggs","högindustrialiseras","högpromiskuösas","högtalarförmedlas","högtidlighållas","högtidlighålls","höjas","höjdes","höjs","hojtas","höjts","höljas","höljdes","höljes","holkades","holkas","holkats","hölls","hollywoodiserades","homogeniserades","homogeniseras","honaratiores","honkas","honoreras","honorerats","hopfogades","hoppasts","horas","höras","hördes","höres","horisontaliseras","hormonstimulerats","hormontestas","hörs","hörsammades","hörsammas","hörsammats","hortas","hörts","hotades","hotas","hotats","hottas","hottats","höves","hudflängas","hudflängs","hudflängts","hudstrykas","huggas","huggits","huggs","hukandes","humaniserades","humaniseras","humaniserats","hummades","hundradubblats","hundratas","hunnits","hunsades","hunsas","hunsats","hurrades","hurras","hutades","hutas","huttlas","huttrades","huttras","hutus","huvudstas","hycklas","hyfsats","hygieniseras","hyllades","hyllas","hyllats","hypas","hypats","hyras","hyrdes","hyressättas","hyrs","hyrts","hys","hysas","hystes","hysts","hyvlades","hyvlas","iaktas","iaktatagas","iakttagas","iakttages","iakttagits","iakttas","iakttogs","idénförverkligades","identifierades","identifieras","identifieratas","identifierats","ideologiserats","idkades","idkas","idoliseras","idrottas","idrottsskadas","idylliseras","ifrågasättas","ifrågasattes","ifrågasättes","ifrågasatts","ifrågasätts","ifrågsattes","igångsättas","igångsattes","igångsatts","igångsätts","igenkännes","igenkänns","ignorerades","ignoreras","ignorerats","ihågkommas","ihågkommes","ihågkommits","ihågkoms","iklädas","ikläddes","ikläds","ikläs","iklätts","ilijas","illfänas","illuminerades","illumineras","illusteras","illustrerades","illustreras","illustrerats","illustrererades","illustrereras","imiterades","implementeras","imponerades","imponeras","imponerats","importerades","importeras","importerats","impregneras","impregnerats","improviserades","improviseras","improviserats","impulsas","inackorderades","inaktiveras","inandades","inandandes","inandas","inandats","inarbetades","inbegripas","inbegrips","inberäknas","inbesparas","inbetalas","inbillas","inbjöds","inbjudas","inbjudes","inbjudits","inbjuds","inblandades","inblandas","inböjds","indefinieras","indelades","indelas","indelats","indelsas","indentifierats","independentfilmernas","indikeras","individanpassas","individualiseras","individualiserats","indoktrineras","indoktrinerats","indragas","indunstas","industrialiserades","industrialiseras","industrialiserats","infångades","infångas","infasas","infattades","infattas","infekteras","infekterats","infiltrerades","infiltreras","inflammeras","inflammerats","inflationsskyddas","inflikas","influerades","influeras","influerats","infogades","infogas","infogats","införas","infördes","infordrades","infordras","infordrats","införes","införlivades","införlivas","införlivats","informerades","informeras","informerats","införs","införskaffades","införskaffas","införskaffats","införts","infriades","infrias","infriats","ingås","ingåtts","ingavs","inges","ingicks","ingjutits","ingjuts","inhägnas","inhägnats","inhämtades","inhämtas","inhämtats","inhandlades","inhandlas","inhandlats","inhängnas","inhiberades","inhiberas","inhöstats","inhysas","inhystes","inhysts","initierades","initieras","initierats","injicerades","injiceras","injicerats","inkallades","inkallas","inkallats","inkarnerades","inkarneras","inkasserades","inkluderades","inkluderas","inkluderats","inkoms","inkomstprövas","inköpas","inköptes","inköpts","inkorpererades","inkorporerades","inkorporeras","inkorporerats","inkrävas","inkvarterades","inkvarteras","inkvarterats","inlades","inlämnades","inlämnas","inlämnats","inlånades","inläras","inledas","inledddes","inleddes","inledes","inleds","inlemmades","inlemmas","inlemmats","inletts","inlevereras","inlevererats","inlines","inlösas","inlöses","inlöstes","inmonteras","inmundigades","inmundigas","innebrändes","innefattades","innefattas","innehades","innehafts","innehållas","innehållsdeklareras","innehas","inneslutas","innesluts","inordnades","inordnas","inordnats","inplaneras","inplanterades","inplanteras","inplanterats","inpräglas","inpräglats","inpräntades","inpräntas","inpräntats","inprogrammerats","inräknades","inräknas","inräknats","inramades","inramas","inramats","inrangeras","inrangerats","inrapporterades","inrapporteras","inrapporterats","inrättades","inrättas","inrättats","inredas","inreddes","inreds","inregistrerades","inregistreras","inregistrerats","inretts","inriktades","inriktas","inriktats","inringas","inristats","inrymdes","inrymmas","inryms","inrymts","insågs","insamlades","insamlas","insamlats","insänts","insättas","insattes","insatts","inseminerades","insemineras","inses","insinueras","insinuerats","insisteras","inskaffades","inskärpas","inskärptes","inskeppades","inskjutas","inskolas","inskränkas","inskränks","inskränktes","inskränkts","inskrevs","inskrivas","insöndras","insorteras","inspärras","inspekterades","inspekteras","inspekterats","inspelats","inspirationsgivs","inspirerades","inspireras","inspirerats","inställas","inställdes","installerades","installeras","installerats","inställs","inställts","instängas","instiftades","instiftas","instiftats","institutionaliserades","institutionaliseras","instruerades","instrueras","instruerats","instrumentaliseras","insvepas","insveps","insveptes","insvepts","intagas","intagits","intalleras","intas","intecknades","intecknas","intecknats","integrerades","integreras","integrerats","intellektualiseras","intellektualiserats","intensifierades","intensifieras","intensifierats","interfolierades","interfolieras","interfolierats","internationales","internationaliserades","internationaliseras","internationaliserats","internerades","interneras","internerats","internrekryterats","internutbildas","interpelleras","interpunkterades","intervjuades","intervjuas","intervjuats","intevjuas","intimiseras","intimiserats","intjänas","intogs","intressestyras","intrigeras","introducerades","introduceras","introducerats","intvingas","intygades","intygas","invaderades","invaderas","invaderats","invaggades","invaggas","invaggats","invaldes","invalidiserades","invalidiseras","invalidiserats","inväljas","inväljs","invalts","invändas","invandrades","inväntades","inväntas","invecklas","inventeras","inventerats","investerades","investeras","investerats","invigas","invigdes","invigs","inviskas","inviteras","inviterats","invlades","involverades","involveras","involverats","inympas","inympats","iordningsställts","iordningställas","iordningställdes","iordningställs","iordningställts","irriterades","irriteras","irriterats","isades","isas","iscensättas","iscensattes","iscensatts","iscensätts","isolerades","isoleras","isolerats","iståndsätts","ives","jagades","jagas","jagats","jäktas","jamas","jämföras","jämfördes","jämförs","jämförts","jämkades","jämkas","jämnades","jämnas","jämnats","jämnsides","jämnställs","jämställas","jämställdes","jämställes","jämställs","jämställts","järfällas","järnberikats","järnvägsgods","järvas","jäs","jäses","jävas","jävats","jävlas","jävlats","jayhawkes","jenufas","jesses","jippofieras","jobbades","jobbas","jobbats","jonglerades","jonhälls","joniseras","joniserats","jordbegravas","jordfästas","jordfästes","jordgas","journalföras","journalistbas","jublades","jublas","jublats","juckas","julas","justerades","justeras","justerats","kabilas","kablades","kablas","kablats","kacklades","kåges","käkopererats","kalätas","kalfatras","kalhöggs","kalkades","kalkas","kalkats","kalkylerades","kalkyleras","kalkylerats","kallades","kallas","kallats","kallistenes","kallpressas","kallrökas","kallrökts","källsorteras","kallsvettades","kallsvettas","kambodjas","kammades","kammas","kammats","kamouflagemålats","kamoufleras","kämpas","kanaliserades","kanaliseras","kanaliserats","kånkades","kånkas","kånkats","känndes","kännetecknades","kännetecknas","kännetecknats","kännts","kanoniserades","kanoniseras","käns","kantades","kantas","kantats","kantfållas","kantställas","kapades","kapas","kapats","kapitaliseras","kappades","kappseglas","kapslades","kapslas","kapslats","karaktäriserades","karaktäriseras","karaktäriserats","karakteriserades","karakteriseras","karakteriserats","karikeras","kärnades","kärnats","kartlades","kartläggas","kartläggs","kartlagts","karvas","kasserades","kasseras","kasserats","kastades","kastas","kastats","kastreras","kastrerats","katalas","katalogiseras","katalogiserats","kategoriseras","kategoriserats","kattas","kavlades","kavlas","keats","kedjades","kedjats","keldereks","kemtvättas","keynes","kickades","kickats","kidnappades","kidnappas","kidnappats","kikås","kilades","kilas","killas","kindpussas","kinshasas","kissas","kittades","kittlades","kittlas","klaas","kläckas","kläckningsplats","kläcks","kläcktes","kläckts","klädas","kladdades","kladdas","kladdats","kläddes","kläds","klagades","klagas","klagats","klämdes","klämmas","kläms","klämtas","klämts","klandrades","klandras","klandrats","klankas","klappades","klappas","klarades","klaras","klarats","klargjordes","klargjorts","klargöras","klargörs","klarlades","klarläggas","klarläggs","klarlagts","kläs","klassades","klassas","klassats","klassificerades","klassificeras","klassificerats","klättrades","klättras","klätts","klemas","kletas","kletats","klias","klickas","klimpades","klippas","klipps","klipptes","klippts","klipsades","klistrades","klistras","klistrats","klockades","klockas","klockats","klonas","klonats","kloreras","klorgas","klös","klösts","klottras","klottrats","klövs","klubbades","klubbas","klubbats","klubbhus","kluddats","klumpades","klumpas","kluvits","klyftas","klyvas","klyvs","klyvts","knackades","knäckas","knackats","knäcks","knäcktes","knäckts","knådas","knådats","knallas","knäopereras","knåpades","knåpas","knäppas","knäpps","knäpptes","knarkas","knas","knäsattes","knäsatts","kneps","knipas","knips","knivdödades","knivdödas","knivhöggs","knivhotas","knivhuggits","knivhuggs","knivmördades","knivskars","knivskärs","knockades","knockas","knockats","knölades","knopas","knorrades","knorras","knöts","knottrades","knuckles","knuffades","knuffas","knuffats","knusslades","knutits","knycklas","knycktes","knypplats","knystas","knytas","knyts","köas","kodas","kodats","kodifieras","kodifierats","kokades","kokas","kokats","kolgrillas","kollades","kollas","kollats","kollektivansluts","kolles","kolonialiseras","koloniserades","koloniseras","koloniserats","koloreras","kombinerades","kombineras","kombinerats","kommenderades","kommenderas","kommenderats","kommenterades","kommenteras","kommenterats","kommersialiseras","kommersialiserats","kommits","kommunaliserades","kommunaliseras","kommuniceras","kommunplacerades","kompades","kompas","kompenserades","kompenseras","kompenserats","kompetensutvecklas","komplettaras","kompletterades","kompletteras","kompletterats","komplicerades","kompliceras","komplicerats","komponerades","komponeras","komponerats","komposterades","komposteras","komposterats","komprimeras","komprimissas","komprometterats","kompromissas","kompromissats","könas","koncenteras","koncenterats","koncentreades","koncentrerades","koncentreras","koncentrerats","koncipierades","koncipieras","koncipierats","kondenserades","kondenseras","konditionstestas","konfektioneras","konfirmerades","konfirmeras","konfirmerats","konfiskerades","konfiskeras","konfiskerats","konfronterades","konfronteras","konfronterats","kongeliges","konkretiserades","konkretiseras","konkretiserats","konkurrensutsättas","konkurrensutsattes","konkurrensutsatts","konkurrerades","konkurreras","konkurrerats","konserverades","konserveras","konserverats","könskvoteras","könskvoterats","konsoliderades","konsolideras","konsoliderats","konspirerades","konstaterades","konstateras","konstaterats","konstgods","konstigtueras","konstituerades","konstitueras","konstmanifesteras","konstruerades","konstrueras","konstruerats","konsulterades","konsulteras","konsulterats","konsumerades","konsumeras","konsumerats","kontaktades","kontaktas","kontaktats","konterfejas","kontinentaliserats","kontollerats","kontrakteras","kontrakterats","kontras","kontrasterades","kontrasteras","kontrollerades","kontrolleras","kontrollerats","kontrollvägdes","kontrollvägts","konverteras","koordinerades","koordineras","köpas","kopierades","kopieras","kopierats","köplats","kopplades","kopplas","kopplats","köprekommenderades","köps","köptes","köpts","kopuleras","korades","koras","köras","korats","kördes","koreograferats","köres","korkades","korkas","korngolds","korporativiserats","korrekturläses","korreleras","korrigerades","korrigeras","korrigerats","korrumperas","korrumperats","körs","korsades","korsas","korsats","korsfästas","korsfästes","korsfästs","kortades","kortas","kortats","körts","kortslöts","kortsluts","korvas","kosroes","kostas","kostaterades","kostnadsberäknades","kostnadsberäknas","kostnadsberäknats","kostnadsföras","kotrollvägdes","kovacs","krackeleras","kramades","kramas","kramats","kramkalas","krängdes","krånglats","krängts","kränkas","kränks","kränktes","kränkts","kransats","krattas","krävas","krävdes","kräves","krävs","krävts","kreerades","kremerades","kremeras","kretsloppsanpassas","krigsplaceras","kriminaliserades","kriminaliseras","kringgärdades","kringgärdas","kringgås","kringgåtts","kringgicks","kringgjutits","kringränts","kringskäras","kringskars","kringvärvs","kristalliserades","kristalliseras","kristnades","kritas","kritiserades","kritiseras","kritiserats","krockades","krockprovas","krokades","krökas","krokats","kröks","kröktes","krönas","krönes","kröns","kröntes","krönts","kroppsvisiterades","kroppsvisiteras","krossades","krossas","krossats","krusades","krusas","kryddades","kryddas","kryddats","krympas","krymps","krymptes","krympts","krypteras","krypterats","krypts","kryssas","kryssats","kryssgarderas","kubbas","kuggades","kuggas","kullas","kullkastas","kultiveras","kultiverats","kulturminnesmärkas","kulturminnesskyddats","kulturprofileras","kulverteras","kulverterats","kumquats","kundanpassas","kundbas","kundes","kungjordes","kungjorts","kungörs","kunnas","kupades","kuperas","kuppats","kureras","kursas","kursras","kuvas","kuvats","kvackas","kvaddades","kvaddats","kvalificeras","kvalitetsäkras","kvalitetsprövats","kvalitetssäkras","kvalitetssäkrats","kvalitetsutbildats","kväljdes","kvällades","kvalplats","kvantifieras","kvarhållas","kvarhållits","kvarhålls","kvarhölls","kväsas","kvästes","kvävas","kvävdes","kvävs","kvinnoplats","kvittas","kvittats","kvitterades","kvitteras","kvotbelades","kvoteras","kvoterats","kylas","kyldes","kyls","kylts","kyssas","kysstes","laborades","laboreras","lackeras","lackerats","läcks","läckts","laddades","laddas","laddats","lades","lafis","lagades","lagas","lagats","lagerhållas","lagfästes","lagfästs","lagföras","lagfördes","läggas","lägges","lägggas","läggs","lagrades","lagrådsremitteras","lagras","lagrats","lagregleras","lagstadgades","lagstiftas","lagtrots","lågtrycksgjuts","lagts","läkarundersökas","läkarundersöktes","lakas","läkas","lakats","läks","läktes","läktrats","läkts","lambrecks","lamineras","lämnades","lämnas","lämnats","lämpades","lämpas","lämpats","lamslagits","lamslås","lamslogs","lånades","lånas","lånats","lanceras","landades","landsattes","landsatts","landsförvisades","landsförvisas","landsförvisats","lånefinansieras","langades","langas","långås","långsits","långtidslagras","långtidsparkerades","långtidsskolats","längts","languages","länkades","länkas","länkats","länsades","länsas","länsats","lanserades","lanseras","lanserats","lansertas","länspumpas","lapas","lappades","lappas","lappats","läras","lärdes","larmades","larmas","larmats","lärs","larses","lårskadades","lärts","las","lås","läs","låsas","läsas","laserats","låses","läses","lassades","lassas","låssas","lassats","låssats","lastades","lastas","lastats","låstes","lästes","låsts","lästs","låtits","lättades","lättas","lättats","läxats","leasades","leasas","leasats","ledas","leddes","ledes","ledigförklarades","ledigförklaras","ledigförklarats","leds","ledsagades","ledsagas","legalförskrevs","legaliserades","legaliseras","legaliserats","legeras","legitimerades","legitimeras","legitimerats","lekas","leks","lektes","lemlästades","lemlästas","lemlästats","lemströms","lenas","letades","letas","letats","letts","levandegörs","levas","levdes","leverades","leveraras","levererades","levereras","levererats","levertransplanteras","leves","levs","levts","lfinns","liberaliseras","liberaliserats","licensbryggs","licenserats","licenstillverkats","lidas","lidits","likformas","liknades","liknas","liknats","likställas","likställdes","likställs","likviderades","likvideras","limmades","limmas","limmats","lindades","lindas","lindats","lindrades","lindras","lindrats","linjeras","linoljebränns","lipas","lirades","liras","lirkas","lirkats","listades","listas","listats","livades","livas","lives","livnärs","livstidsförlängdes","ljögs","ljudas","ljudisoleras","ljugas","ljugs","ljummades","ljummas","ljumskskadades","ljussatts","lockades","lockas","lockats","lockoutas","lodas","lödas","löds","loggas","logothetis","logrones","lokaliserades","lokaliseras","lokaliserats","lomas","lönades","lönas","lönediskrimineras","lönediskriminerats","löneras","lönesättas","longeras","lönnbrännes","loopas","loopats","loosegoats","löpas","löps","lösas","löses","lösgivas","lösgjordes","lösgjorts","lösgöras","lösgöres","lösgörs","lossades","lossas","lossats","löstes","lösts","lotsades","lotsas","lotsats","lottades","lottas","lottats","lovades","lövades","lovas","lövas","lovats","lövats","lovordades","lovordas","lovordats","lovprisades","lovprisas","lovsjungits","lovsjungs","luckrades","luckras","luckrats","luftades","luftas","luftats","luftlandsattes","lugnades","lugnas","lukkes","lurades","luras","lurats","lusläses","luslästes","lussas","lutades","lutas","luttras","luttrats","lyckes","lyckets","lyckönskas","lycksönskades","lycktas","lydas","lyddes","lyftas","lyftes","lyfts","lynchades","lynchats","lys","lysas","lyses","lyss","lyssnas","lystes","lysts","lyxrenoveras","lyxsanerades","lyxsaneras","lyxsanerats","macoutes","måddes","mades","magallanes","magasinerades","magasineras","magasinerats","magpumpas","magpumpats","magras","majos","mäklades","makulerades","makuleras","målades","malas","målas","målats","malbas","målbestäms","maldes","mals","malts","mammograferats","manades","manas","månas","manats","mångdubblades","mångdubblas","mångdubblats","mångfaldigades","mångfaldigas","mångfaldigats","manglades","manglas","manglats","månglats","manifesterades","manifesteras","manifesterats","manipulerades","manipuleras","manipulerats","manövrerades","manövreras","manövrerats","mantalskrivas","mantalsskrivas","marantas","marginaliserades","marginaliseras","marginaliserats","marineras","marinerats","märkas","markerades","markeras","markerats","märkes","markets","markledes","marknadsanpassas","marknadsföras","marknadsfördes","marknadsförs","marknadsförts","marknadsintroducerades","märks","märktes","märkts","markurells","marples","marterades","martikas","mås","maskas","maskerades","maskeras","maskerats","maskintvättas","maskinveks","massakrerades","massakreras","mässas","masserades","masseras","massproduceras","masstillverkas","mastas","mästras","matades","matas","mätas","matats","matchades","matchas","matchats","matchinsats","materialiserades","materialiseras","materialiserats","mätes","matplats","mäts","mattades","mattas","måttas","mättas","mattats","mättats","mättes","mätts","matutes","maximeras","medagerandes","medaljeras","medaljhyllades","meddelades","meddelas","meddelats","medfinansieras","medföras","medfördes","medföres","medförs","medgavs","medges","medgivits","medhavas","medialiserats","medicineras","medicinerats","medikaliserades","medlas","medräknas","medtagas","medtages","medtas","medtogs","medvetandegöras","mefistofeles","mejades","mejas","mejats","mejslades","mekaniserats","memoreras","menades","menas","mennas","meritvärderas","mestadelas","metroiseras","midas","mikrats","mikrofilmades","mikrofilmas","mildrades","mildras","mildrats","miles","militariserades","militariseras","militariserats","miljöanpassas","miljöcertifierats","miljödeklareras","miljögranskats","miljöklassas","miljömärkas","miljömärkts","miljöprövas","miljöskyddas","mills","mimades","mimas","mineraliseras","mineras","minerats","minglats","minimerades","minimeras","minimerats","minnns","minskades","minskas","minskats","minsprängdes","minutes","misbruges","missades","missas","missats","missbrukades","missbrukas","missbrukats","missfärgas","missförstås","missförståtts","missförstods","missgynnades","missgynnas","missgynnats","misshandlades","misshandlas","misshandlats","misshushållas","missköts","misskötts","misskrediterades","missledas","missletts","misssgynnas","misssköts","misstänkas","misstänkliggjordes","misstänkliggöras","misstänkliggörs","misstänks","misstänktes","misstänkts","misstas","misstolkas","misstolkats","misstroddes","misstros","misstydas","missunnnas","missupfattas","missuppattades","missuppfattades","missuppfattas","missuppfattats","mixas","mjölkades","mjölkas","mjukades","mjukas","mjukats","mjukpressats","mobbades","mobbas","mobbats","mobiliserades","mobiliseras","mobiliserats","möblerades","möbleras","möblerats","mockades","modeinitierades","moderninserats","moderniserades","moderniseras","moderniserats","modifierades","modifieras","modifierats","mognadslagras","mogulrikets","möjas","möjliggjordes","möjliggjorts","möjliggöras","möjliggörs","möjligjorts","momsbefrias","momsbeläggas","momsbeläggs","momsbelagts","mondes","monkees","monograferats","monopoliseras","monopoliserats","monsterras","mönsterskyddats","mönstrades","mönstras","mönstrats","monterades","monteras","monterats","monumentaliseras","moraliseras","mörbultats","mördades","mördas","mördats","mordhotades","mordhotats","mörkas","mörklades","mörkläggas","mörkläggs","mörklagts","morrades","morras","mortuis","mosades","mosas","motades","motarbetades","motarbetas","motarbetats","motas","motats","motbevisas","motionerades","motioneras","motiverades","motiveras","motiverats","motoriseras","motsades","motsägas","motsäges","motsägs","motsagts","motstås","motsvarades","motsvaras","motsvarats","mottagas","mottages","mottagits","mottas","mottogs","motverkades","motverkas","motverkats","muddras","multipliceras","mulugetas","mumifieras","mumifierats","mumlades","mumlas","mumlats","mungnabbas","munhöggs","munhuggas","munhuggs","murades","muras","murats","musicerades","musiceras","mutades","mutas","mutats","muttrades","muttras","muttrats","mutts","muzungos","myers","myglades","myndigförklaras","myndighetsförklarats","myntades","myntas","myntats","mysas","mystifieras","mystifierats","mytifieras","nackas","nádas","nåddes","nådes","nafsades","nagelfaras","nagelfarits","nagelfars","nagelfors","naggades","naggas","naggats","naglades","naglas","nålas","nålats","namnades","nämnas","nämndes","nämnes","namngavs","namnges","namngetts","namngivits","nämns","namnskyddas","nämnts","näms","nämts","nändes","nännas","nänns","näns","nänts","näpsas","näras","närdes","näres","närmas","narracotts","narrades","narras","narrats","närs","närts","nas","nås","nasas","nästas","nationaliserades","nationaliseras","nationaliserats","natoanpassas","natofieras","nattas","nåtts","nattstädas","nattstängs","naturaliseras","naturligtivs","navotas","nedbringas","nedbringats","nedbrytas","nedflyttningsplats","nedgjordes","nedgraderas","nedkämpas","nedkämpats","nedlades","nedläggas","nedlagts","nedmonterades","nedmonteras","nedrangeras","nedreviderades","nedreviderats","nedrustas","nedsättas","nedsätts","nedsköljes","nedskrivas","nedslås","nedtecknades","nedtecknats","nedtynges","nedtystas","nedvärderas","nedvärderats","negeras","negligeras","negligerats","nekades","nekas","nekats","nerslås","nettoamorteras","nettoexporterades","nettoköptes","nettoköpts","nettosåldes","nettosålts","neurosedynskadades","neutraliserades","neutraliseras","neutraliserats","nickades","nickas","nitas","nivågrupperas","njutas","njutes","njuts","nobbades","nobbas","nobbats","nobelprisförbigåtts","nödbromsas","nödgades","nödgats","nödsakats","nödslaktades","nödslaktas","nödslaktats","nödstoppades","nödvändiggjordes","nollades","nollställas","nollställs","nollställts","nolltaxeras","nominerades","nomineras","nominerats","noms","nonchalerades","nonchaleras","nonchalerats","nordstedts","normalförklaras","normaliserades","normaliseras","normaliserats","nös","nötas","noterades","noteras","noterats","noteringsstoppades","nöts","nöttes","nötts","nuddas","numererats","numreras","numrerats","nuvärdeberäknas","nuvärdeberäknats","nuvärdesberäknas","nyanlagts","nyanmäldes","nyanserades","nyanseras","nyanserats","nyanställas","nyanställdes","nyanställs","nyanställts","nybeställas","nybyggas","nydanades","nyemitteras","nyetableras","nygestaltades","nyindustrialiseras","nyinvandrades","nyinvigts","nykryddats","nynnades","nynnas","nyordnas","nyorienteras","nyöversattes","nyöversatts","nyplanterades","nyprövas","nyps","nyrekryteras","nyritades","nyskapas","nystades","nystas","nystats","nytillverkas","nytolkas","nytrycktes","nyttjades","nyttjas","nyttjats","nyutexamineras","nyutgavs","nyvaldes","nyväljs","oakes","oates","obducerades","obduceras","obducerats","obligationsras","obs","observerades","observeras","observerats","ocksåses","ocksåstärkts","ocksåtas","ockuperades","ockuperas","ockuperats","ödas","ödelades","ödeläggas","ödeläggs","ödelagts","odlades","odlas","odlats","odödligförklarats","odödliggjordes","ödslas","ödslats","odugligförklarats","odyssevs","offentliggjordes","offentliggjorts","offentliggöras","offentliggörs","offereras","offererats","offetliggjordes","offrades","offras","offrats","ofredas","ogilitigförklaras","ogillades","ogillas","ogillats","ogiltigförklarades","ogiltigförklaras","ogiltigförklarats","öis","ojades","ojas","ökades","ökas","ökats","olagligförklaras","olagligförklarats","olas","olåtandes","oliktänkades","oljas","oljats","olövanes","olyckas","olycksfallsförsäkras","omarbetades","omarbetas","omarbetats","ombads","ombedas","ombedes","ombeds","ombes","ombesörjas","ombesörjdes","ombesörjs","ombesörjts","ombetts","ombildades","ombildas","ombildats","omdanades","omdanas","omdanats","omdaterats","omdefinieras","omdirigerades","omdirigeras","omdirigerats","omdisponeras","omdöpas","omdöps","omfamnades","omfamnas","omfatas","omfattades","omfattas","omfattats","omfatttas","omflytes","omfördelades","omfördelas","omfördelats","omförhandlades","omförhandlas","omförhandlats","omformades","omformas","omformulerades","omformuleras","omgärdades","omgärdas","omgärdats","omgavs","omges","omgestaltades","omgestaltas","omgestaltats","omgetts","omgivits","omgrupperas","omhäktades","omhändertagas","omhändertagits","omhändertas","omhändertogs","omhuldades","omhuldas","omhuldats","omintetgjordes","omintetgjorts","omintetgöras","omintetgörs","omisoleras","ömkas","omlokaliseras","ommöbleras","omnamnades","omnämnas","omnämndes","omnämns","omnämnts","omöjliggjordes","omöjliggjorts","omöjliggöras","omöjliggöres","omöjliggörs","omorganiserades","omorganiseras","omorganiserats","omorienteras","omplacerades","omplaceras","omplacerats","omplanteras","omprioriteras","omprogrammeras","omprövades","omprövas","omräknas","omramades","omregistreras","omringades","omringas","omritades","omröres","omsättas","omsattes","omsatts","omsätts","omskapades","omskapas","omskäras","omskolas","omskolats","omskrivas","omskrivits","omskrivs","omslingrades","omslöts","omslutas","omslutes","omsluts","omställas","omstöpas","omstöps","omstöpts","omstrukturerades","omstruktureras","omstrukturerats","omsusas","omsvärmades","omsvärmas","omtalades","omtalas","omtalats","omtöcknas","omtolkas","omvaldes","omväljas","omväljs","omvalts","omvändas","omvändes","omvandlades","omvandlas","omvandlats","omvänds","omvänts","omvärderades","omvärderas","omvärderats","omvittnades","omvittnas","omvittnats","omyndigförklaras","omyndigförklarats","onderwijs","onödiggöras","önskades","önskas","operades","opererades","opereras","opererats","öppnades","öppnas","öppnats","optimeras","ordas","ordats","ordinerades","ordineras","ordinerats","ordnades","ordnas","ordnats","oreras","orerats","organiserades","organiseras","organiserats","orienteras","orienterats","oroades","oroas","oroats","öronklippas","öronmärkas","öronmärks","öronmärktes","öronmärkts","örontisslas","orsakades","orsakas","orsakats","orsaksförklaras","ortelgas","ös","osäkras","ösas","oscarnominerades","oskadliggjordes","oskadliggöras","oskadliggörs","oskarsnominerats","östbergas","östes","ostgratinerats","östrogenbehandlas","östs","osynliggjorts","osynliggöras","osynliggörs","övades","övas","övats","öveföres","överanvänds","överarbetas","överås","överbefolkas","överbejakas","överbelastades","överbelastas","överbeskattas","överbetonades","överbetonats","överbevisades","överbevisas","överbevisats","överblickas","överbryggas","överdäckas","överdebiterats","överdimensionerats","överdoseras","överdramatiseras","överdrevs","överdrivas","överdrivits","överdrivs","överdrogs","överenskommits","överenskoms","överexponeras","överexponerats","överfallas","överfallits","överfalls","överflödades","överflyglades","överflyglas","överflyttades","överflyttas","överfölls","överföras","överfördes","överförs","överförts","överfyllas","övergavs","överges","övergetts","övergivas","övergivits","överglänses","överglänstes","övergöts","överhettades","överhettas","överinskrivas","överklagades","överklagas","överklagats","överklistras","överkompenseras","överlagras","överlämnades","överlämnas","överlämnats","överlappas","överlåtas","överlåtits","överlåts","överläts","överlevas","överlistas","övermannades","övermannas","övermannats","övermättas","överordnas","överös","överösas","överöses","överöstes","överösts","överprocuderas","överprövas","överprövats","överpudras","överräcks","överräcktes","överraskades","överraskas","överraskats","överröstades","överröstas","överrumplades","överrumplas","överrumplats","översändas","översändes","översänts","översättas","översattes","översatts","översätts","överskattades","överskattas","överskattats","översköljas","översköljs","översköljts","överskreds","överskridas","överskridits","överskrids","överskuggades","överskuggas","överskuggats","överspolas","överstigas","överstigs","överstimuleras","översvämmades","översvämmas","översvämmats","övertäckas","övertäcks","övertäcktes","övertages","övertagits","övertalades","övertalas","övertalats","övertas","övertecknades","övertecknas","övertecknats","övertogs","övertolkas","övertolkats","överträdas","överträdes","överträffades","överträffas","överträffats","övertrasserades","övertrasseras","övertrumfas","övertygades","övertygas","övertygats","överutnyttjades","överutnyttjas","övervägas","övervägdes","övervägs","övervägts","övervakades","övervakas","övervakats","överväldigades","överväldigas","överväldigats","övervältras","övervämmas","övervärderas","övervärderats","övervinnas","övervinns","övervintras","övervunnits","oxideras","påannonserades","påannonseras","påbjöds","påbjudes","påbjudits","påbjuds","påbörjades","påbörjas","påbörjats","pacificeras","packades","packas","packats","pådyvlades","pådyvlas","påfodras","påföras","påförs","påförts","påfrestas","påhejas","påkallas","påkallats","paketeras","paketerats","påkördes","påläggas","påläggs","pålagts","pålas","pålats","pallas","pallats","palmas","påmindes","påminnas","påminns","påmints","paneras","pangas","pantas","pantsattes","pånyttfödas","påområdes","påpekades","påpekas","påpekats","påprackas","parades","paraferades","påräknas","parallellkopplades","parallellkopplas","paralyseras","paralyserats","paras","parats","pareras","parkerades","parkeras","parkerats","parodieras","parras","parsas","påskrivs","påskyndades","påskyndas","påskyndats","passades","passas","passats","passerades","passeras","passerats","passglas","passiviseras","påstås","påståtts","pasteuriserades","pastischeras","påstods","pastöriseras","pastöriserats","påtalades","påtalas","påtalats","patentbeläggs","patenteras","patenterats","påträffades","påträffas","påträffats","patrokles","patrullerades","patrulleras","patrullerats","pats","påtvingades","påtvingas","påtvingats","påverkades","påverkanmotarbetades","påverkas","påverkats","påvisades","påvisas","påvisats","payrolls","pejlas","pekades","pekas","pekats","pelleas","pendlades","penetrerades","penetreras","penetrerats","pensionerades","pensioneras","pensionerats","penslas","peppades","peppas","peppras","peps","perforerades","perforeras","permanentades","permanentas","permanentats","permitteras","permitterats","perriéres","persenteras","personalförsörjs","personifierades","personifieras","personkontrolleras","personröstas","perverteras","pessoas","pestas","pestsmittades","petades","petas","petats","pharmacias","philos","piffades","piffas","piggats","pihelgas","pilats","pillas","pillras","pinades","pinas","pinats","pints","pips","piskades","piskas","piskats","pizzasås","pjoskades","placerades","placeras","placerats","pladdrats","plågades","plågas","plågats","plagieras","plagierats","plånades","planas","plånas","planats","plånats","planerades","planeras","planerats","plankades","plankas","planlades","planläggs","planlagts","planterades","planteras","planterats","plastades","plastas","plåstras","plåstrats","plåtas","platsbyggdes","plattades","plattats","plockades","plockas","plockats","plogades","plogas","plogats","plöjas","plöjdes","plöjs","plöjts","plomberades","plomberas","plomberats","plottats","plottras","plottrats","pluggas","plundrades","plundras","plundrats","plussades","plussas","plussats","plutades","poängbedöms","poängsättas","poängsattes","poängsatts","poängsätts","poängterades","poängteras","poängterats","poängvärderas","pocahontas","pocheras","pockas","pokuleras","polariserades","polariseras","polariserats","polerades","poleras","polerats","polinas","polisanmälas","polisanmäldes","polisanmäls","polisanmälts","politiserades","politiseras","politiserats","polydamas","polymeras","poneras","populariserats","portades","portas","portförbjudas","portförbjudits","portionerades","portioneras","porträtteras","porträtterats","porträttrades","portugaliseras","positioneras","postades","postas","postats","posterades","poststämplades","postuleras","prackats","präglades","präglas","präglats","praktiserades","praktiseras","praktiserats","prånglades","prånglats","präntades","präntas","prasslas","prästvigas","prästvigdes","prästvigs","prästvigts","pratades","pratas","pratats","preciserades","preciseras","preciserats","precisionsstyras","predestineras","predikades","predikas","predikats","prefabriceras","prejas","premiärprövades","premiärsändes","premiäruppförs","premiärutdelas","premiärvisades","premiärvisas","premiärvisats","premierades","premieras","premierats","prepareras","preparerats","presenterades","presenteras","presenterats","presenteres","preskriberas","preskriberats","pressades","pressas","pressats","prestenteras","presterades","presteras","presterats","prices","prickades","prickas","prickats","pricktestades","primärnoterats","printas","prioriterades","prioriteras","prioriterats","pripps","prisades","prisas","prisats","prisbelönades","prisbelönas","prisbelönats","prissättas","prissätts","privatimporterades","privatimporterats","privatiserades","privatiseras","privatiserats","problematiseras","problematiserats","proceedings","processas","processats","prodotes","producerades","produceras","producerats","profaneras","professionaliserades","professionaliseras","profeterats","proffsförklarades","profilerades","profileras","prognosticerades","prognostiseras","programmerades","programmeras","projekterades","projekteras","projicerades","projiceras","projicerats","pröjts","proklamerades","proklameras","proklamerats","proletariseras","prolongerades","prolongeras","promenerades","promeneras","promoverades","promoveras","promoverats","propagerades","propageras","propangas","proportioneras","proppades","proppas","prosperas","prostituerades","protokollfördes","provades","prövades","provas","prövas","provats","prövats","provbyggs","provflugits","provfotograferas","provköras","provkördes","provkörs","provmålats","provmäts","provocerades","provoceras","provocerats","provsås","provsittas","provsmakades","provsmakas","provtagas","prsenterats","prutades","prutas","prutats","pryddes","pryds","pryglas","prytts","pseudomonas","publicerades","publiceras","publicerats","publiserades","pudrats","puffas","pulvriserades","pulvriserats","pumpades","pumpas","pumpats","pundits","punktades","punkterades","punkteras","punkterats","punktmarkerats","purprades","pussades","pussas","pussats","pusslades","pusslas","pustas","putsades","putsas","putsats","puttades","puttas","puttats","puttrades","pyntas","pyntats","pysslades","pysslas","pytsas","pytsats","rabatteras","rabblas","räckes","räcktes","räckts","radades","radas","rådas","radats","räddades","räddas","räddats","råddes","raderades","raderas","raderats","rädes","rådfrågats","radiaksmittades","radikaliserades","radikaliseras","radikaliserats","radonsanerats","råds","raffineras","raffinerats","rafsas","raggades","raggats","raggefanns","rakades","rakas","rakats","råknas","raljerades","raljeras","ramades","ramas","ramats","rammades","rammas","rånades","rånas","rånats","rändes","rangeras","rangordnades","rangordnas","rankades","rankas","rankats","rankingras","rannsakades","rannsakas","rannsakats","ransonerades","ransoneras","rapporterades","rapporteras","rapporterats","rasas","raserades","raseras","raserats","rasslades","rastas","ratades","rätades","ratas","rätas","ratatas","ratats","rätats","ratificerades","ratificeras","ratificerats","ratifieras","rationaliseras","rationaliserats","rattades","rättades","rättas","rättats","ravennas","reades","readymades","reageras","reaktiveras","realiserades","realiseras","realiserats","reas","reavinstbeskattas","rebbes","recenserades","recenseras","recenserats","reciteras","redas","redbergslids","reddes","redigerades","redigeras","redigerats","redogjordes","redogjorts","redogörs","redovisades","redovisas","redovisats","reds","reducerades","reduceras","reducerats","refererades","refereras","refererats","reflekterades","reflekteras","reflexräddades","reformerades","reformeras","reformerats","refuserades","refuseras","refuserats","regelsattes","regenereras","regerades","regeras","regerats","regeringsbehandlas","regisserades","regisseras","regisserats","registeras","registerkontrolleras","registrerades","registreras","registrerats","registreringsbesiktigas","reglats","reglerades","regleras","reglerats","regummeras","rehabiliterades","rehabiliteras","rehabiliterats","reintegreras","reinvesteras","rekapituleras","rekatolicerades","reklamas","reklamerades","reklameras","reklamfinansieras","reklamplats","reklamspots","rekommederas","rekommenderades","rekommenderas","rekommenderats","rekommeneras","rekonstruerades","rekonstrueras","rekonstruerats","rekontextualiseras","rekryterades","rekryteras","rekryterats","rekryteringsbas","rekvierades","rekvirerades","rekvireras","rekvirerats","relanserades","relaterades","relateras","relaterats","relativiserades","relativiseras","relegerades","relegeras","relegerats","remissbehandlades","remissbehandlas","remissbehandlats","remitterades","remitteras","remitterats","remixas","renas","renats","rengjordes","rengjorts","rengöras","rengörs","rennes","renodlades","renodlas","renodlats","renoverades","renoveras","renoverats","renrakats","rensades","rensas","rensats","renskrapas","renskrivas","rentvås","reopererades","reparerades","repareras","reparerats","repas","repatrierades","repatrieras","repats","repererades","repeterades","repeteras","repeterats","reppas","reprenteras","representerades","representeras","representerats","repriserades","repriseras","reprisvisas","reproduceras","reproducerats","res","resas","reservades","reserverades","reserveras","reserverats","reserves","reses","resonerades","resoneras","respekterades","respekteras","respekterats","restaurerades","restaureras","restaurerats","restes","rests","resulterades","results","retts","returnerades","returneras","returnerats","retuscherades","retuscheras","retuscherats","revalveras","revbensopereras","reviderades","revideras","reviderats","revolutioneras","revolutionerats","revs","rhodes","rias","ridas","rids","riggades","riggas","riksdagsbehandlas","riktades","riktas","riktats","rimmas","ringades","ringaktas","ringas","ringats","ringbarkas","ringdes","ringmärks","ringmärktes","rings","ringts","risades","risas","risats","riseras","riskerades","riskeras","riskerats","rispades","rispats","ristades","ristas","ristats","ritades","ritas","ritats","ritualiserades","ritualiseras","rivas","rives","rivits","rivs","roades","roas","roats","robotbesköts","robotiseras","rockas","roddes","rohmers","rojas","röjas","röjdes","röjs","röjts","rökas","rökfylldes","roks","röks","rökskadas","röktes","rökts","rollas","rollbesatts","rollerblades","romanes","romantiserades","romantiseras","rommas","röntes","röntgades","röntgas","röntgats","rönts","ropades","ropas","ropats","röras","rördes","röres","rörs","rörts","ros","rös","rosades","rosafärgas","rosas","rosats","rosenqvists","rostades","röstades","rostas","röstas","rostats","röstats","rostkyddsbehandlas","rostskyddsbehandlas","rotades","rotas","rötas","rotats","rövades","rövas","rövats","rovdjursdödas","rubbades","rubbas","rubbats","rubricerades","rubriceras","rubricerats","ruckades","ruckas","ruckats","rufsats","ruggats","ruinerades","ruineras","ruinerats","rules","rullades","rullas","rullats","rumlades","rundades","rundas","rundats","rusades","ruskades","ruskas","rustades","rustas","rustats","ryckas","rycks","rycktes","ryckts","ryggskadas","ryktades","ryktas","ryktats","rymms","rynkades","rynkas","rynkats","sabbats","sablades","sablas","sablats","saboterades","saboteras","saboterats","såddes","sades","saftades","saftas","sågades","sågas","sägas","sågats","säges","sägs","sagts","säjs","sakades","sakas","sakbehandlas","säkerhetsklassas","säkerhetsklassats","säkerhetskontrollerats","säkerhetslås","säkerhetsprövas","säkerställas","säkerställs","säkerställts","saknades","saknas","saknats","säkrades","säkras","säkrats","saktades","saktas","såldes","salinas","säljas","säljes","säljs","sållades","sållas","sållats","saltades","saltas","saltats","sålts","saluföras","salufördes","saluförs","samägas","samägs","sambos","samhälls","samköras","samlades","samlas","samlats","samlokaliserats","sammanbindas","sammanblandas","sammanblandats","sammanbringats","sammanbyggts","sammandragits","sammandrogs","sammanfattades","sammanfattas","sammanfattats","sammanflätades","sammanflätas","sammanfogades","sammanfogas","sammanfogats","sammanföras","sammanfördes","sammanförs","sammanförts","sammanhålles","sammanhålls","sammanjämkas","sammankallades","sammankallas","sammankallats","sammanknippades","sammanknippas","sammankopplas","sammanlänkas","sammanlyses","sammansatts","sammanslås","sammansmälts","sammanställas","sammanställdes","sammanställs","sammanställts","sammansvetsas","sammanvägas","sammanvägs","sammanvävas","sammanvigs","samordnades","samordnas","samordnats","samövas","sampas","samplades","sams","samtalas","samverkas","sandas","sändas","sandblästrats","sändes","sänds","sanerades","saneras","sanerats","sängplats","sänkas","sänkes","sänks","sänktes","sanktioneras","sanktionerats","sänkts","sänts","saperas","sårades","såras","säras","sårats","särbehandlades","särbehandlas","särbehandlats","särbeskattas","sargades","sargas","sargats","särmärkas","särnoteras","sarrautes","särredovisas","särskildes","särskiljas","sas","sås","satanas","satsades","satsas","satsats","sättas","sattes","sättes","satts","såtts","sätts","scarletts","schabblas","schablonberäknas","schabloniserats","schackras","schackrats","schaktades","schaktas","schasas","schemalades","schemaläggas","schemaläggs","schnapps","schweppes","scorseses","scoutades","scoutats","seedades","seedas","seglades","seglarskolas","seglas","seglats","segregerats","sehlstedts","sehnsuchts","sekretessbeläggs","sekretessbelagts","sekretessläggs","sekretesstämplas","sekulariserades","sekulariseras","sekunderades","sekunderas","sekvenseras","selekteras","senarelades","senareläggas","senareläggs","senarelagts","sentimentaliserades","separerades","separeras","separerats","seriekopplas","serieproducerades","serietillverkas","serietillverkats","servas","serverades","serveras","serverats","setts","severas","sexdubblades","sexfaldigats","sextrakasseras","sfinnas","shardiks","shinglas","shonas","sias","sicas","sidenförsätts","sidoackrediteras","sidoordnas","sidsteppades","sifferbestämmas","signalerades","signaleras","signaliserades","signerades","signeras","signerats","siktades","siktas","siktats","silades","silas","simmas","simuleras","simulerats","sindings","sinkades","sinkas","sinkats","sintras","sirpas","sittas","sivas","sjabblades","sjabblas","självfinansieras","självregleras","sjanghajas","sjasas","sjöds","sjöngs","sjösättas","sjösattes","sjösatts","sjösätts","sjufaldigats","sjukdomsförklarats","sjukskrivas","sjukskrivits","sjukskrivs","sjungas","sjunges","sjungits","sjungs","skadades","skadas","skådas","skadats","skådats","skades","skaffades","skaffas","skaffats","skakades","skakas","skakats","skäktas","skalades","skålades","skalas","skålas","skalats","skalkeas","skallades","skållas","skällas","skälldes","skälls","skålslipas","skambeläggs","skämdes","skamfilats","skämmas","skäms","skämtades","skämtas","skämts","skändades","skandaliserades","skändas","skändats","skanderades","skanderas","skänkas","skänkes","skänks","skänktes","skänkts","skapades","skåpades","skapas","skåpas","skapats","skåras","skäras","skäres","skärhöras","skärmades","skärmas","skärpas","skarpnäcks","skärps","skärptes","skärpts","skars","skärs","skärscannrats","skärskådades","skärskådas","skarvades","skarvas","skattades","skattas","skattebefrias","skattefinansieras","skatteprivilegieras","skattesubventineras","skattesubventioneras","skattlades","skavas","skavdes","skavts","skenbeskattas","skeppades","skeppas","skeppats","skickades","skickas","skickats","skickliggjordes","skiftades","skiftas","skiftats","skiktas","skildes","skildrades","skildras","skildrats","skiljas","skiljdes","skiljs","skiljts","skilldes","skils","skilts","skingrades","skingras","skingrats","skinnades","skinnas","skinnheads","skins","skipades","skipas","skipats","skippades","skissades","skissas","skissats","skisserades","skisseras","skisserats","skivas","skivats","skivinspelas","skjöts","skjutas","skjutits","skjuts","skjutsades","skjutsas","skockades","skockas","skockats","skogas","skogås","skojades","skojas","skojats","skolades","skolas","skolats","sköljas","sköljdes","sköljs","sköljts","skolmognadstestas","skonades","skonas","skonats","skönjas","skönjdes","skönjes","skönjs","sköntaxeras","sköras","skördades","skördas","skördats","skörtats","skotas","skötas","sköts","skottas","skottats","sköttes","skötts","skottskadades","skottskadas","skottskadats","skovlades","skövlades","skovlas","skövlas","skövlats","skräddarsyddes","skräddarsys","skräddarsytts","skräddas","skrålades","skrålas","skrämdes","skrämmas","skräms","skränas","skrapades","skrapas","skrapats","skrattades","skrattas","skrattats","skrävlas","skreds","skreks","skrevs","skrikas","skriks","skringrats","skrinlades","skrinläggas","skrinläggs","skrinlagts","skrivas","skrives","skrivits","skrivs","skrotades","skrotas","skrotats","skröts","skrubbades","skrubbas","skrubbats","skrudas","skruvades","skruvas","skruvats","skrynklades","skuffades","skuffas","skuffats","skuggades","skuggas","skuggats","skuggboxades","skuggboxas","skuldbeläggs","skulpterades","skulpteras","skulpterats","skummas","skummats","skurades","skuras","skurats","skurits","skvallrades","skvallras","skvalpas","skvätts","skyddades","skyddas","skyddats","skyddes","skyfflades","skyfflas","skyfflats","skylas","skyles","skyllas","skylldes","skylls","skyllts","skyls","skyltades","skyltas","skyltats","skymdes","skymfas","skymfats","skymmas","skyms","skymtades","skymtas","skymts","skyndas","skyttegilles","släckas","släcks","släcktes","släckts","slaktades","slaktas","slaktats","slammades","slammas","slamras","slamsas","slängas","slängdes","slänges","slängs","slängts","släpades","släpas","släpats","slappades","släppas","släppptes","släpps","släpptes","släppts","slarvades","slarvas","slarvats","slås","slätades","slätas","slätats","slåttrades","slåttras","slavas","slets","slickades","slickas","slickats","slipades","slipas","slipats","slitas","slites","slitits","slits","slopades","slopas","slopats","slösas","slösats","slöts","slukades","slukas","slukats","slumpades","slumpas","slumsaneras","slungades","slungas","slungats","slussades","slussas","slussats","slutades","slutas","slutavverkades","slutbearbetas","slutbehandlas","slutbetalades","slutbetalas","slutes","slutföras","slutfördes","slutförhandlades","slutförhandlas","slutförhandlats","slutförs","slutförts","slutförvaras","slutits","slutlevereras","slutmonteras","slutnoterades","slutrepeteras","sluts","slutspelas","sluttestas","småbråkas","smädas","småfräs","småfrös","småjävlas","smakas","smaksättas","smaksättes","smaksatts","smaksätts","smakvarieras","smälldes","smalls","smälls","smällts","smalnas","smältas","smältes","smälts","småretades","smekas","smeks","smektes","smetades","smetas","smetats","smets","smidas","smiddes","smides","smidits","smids","sminkades","sminkas","smiskas","smittades","smittas","smittats","smitts","smögs","smordes","smörjas","smörjs","smorts","smugglades","smugglas","smugglats","smugits","smulades","smulas","smulats","smusslades","smusslas","smusslats","smutsades","smutsas","smutsats","smutskastas","smuttas","smyckades","smyckas","smyckats","smygas","smygavlyssnades","smygfilmades","smygits","smygs","snabbbehandlas","snabbehandlas","snabbfrysas","snabbinkallades","snabbinkallas","snabbkäftades","snabbkopieras","snabbladdas","snabbredigeras","snabbreparerats","snabbstoppades","snabbstoppas","snabbtolkas","snabbutbildas","snabbutredas","snabbutreds","snackades","snackas","snackats","snålas","snålkodas","snappades","snappas","snarats","snärjas","snärjdes","snärjs","snärjts","snattas","snävas","snävats","snedgås","snedvridas","snedvridits","snedvrids","sneglas","snickrades","snickrats","sniffas","snittas","snöpas","snördes","snörptes","snörs","snörts","snörvlades","snos","snotts","snubblas","snuddades","snurrades","snurras","snuttas","snuvades","snuvas","snuvats","snyftades","snyggas","snyggats","snyltas","soares","socialdelegerades","socialiseras","socialiserats","socialistes","sockras","sockrats","södras","sögs","sökas","sökes","söks","söktes","sökts","sölades","solas","solkas","solkats","solochvåras","sonas","soncks","sönderdelas","sönderskakas","sönderslets","sönderslitas","sönderstyckades","sondmatades","söndras","songs","sopades","sopas","sopats","söps","sörjdes","sörjes","sörjs","sorlades","sorlas","sörplas","sorterades","sorteras","sorterats","sotades","sötades","sotas","sötas","sötats","sovas","sövas","sövdes","sovelbitarnas","sovras","sovs","sövs","sövts","späckas","spacklas","spädas","spåddes","späddes","späds","spaghettisås","spaltades","spaltas","spanas","spändes","spångas","spännas","spanns","spänns","spänts","sparades","spårades","sparas","spåras","sparats","spårats","sparkades","sparkas","sparkats","spärrades","spärras","spärrats","spärrförklarats","spås","späs","spåtts","spätts","specialbeställas","specialbeställdes","specialbeställts","specialbevakas","specialbyggdes","specialbyggts","specialdesignats","specialdestineras","specialdrillas","specialgranskades","specialgranskats","specialinretts","specialiseras","specialistutbildades","specialkonstruerades","speciallottats","specialpreparerats","specialrekryterats","specialriktats","specialskrevs","specialskrivs","specialstuderades","specialtillverkas","specialutbildas","specialutbildats","specificerades","specificeras","specificerats","speedas","speglades","speglas","speglats","spejas","spekulerades","spekuleras","spekulerats","spelades","spelas","spelats","spenderades","spenderas","spenderats","spetsades","spetsas","spetsats","spikades","spikas","spikats","spillas","spilldes","spills","spillts","spinnas","spinns","spioneras","spionmisstänktes","spiras","spisas","spjälkades","spjälkas","splitsas","splitterskadades","splittrades","splittras","splittrats","spolades","spolas","spolats","spolierades","spolieras","spolierats","sponsrades","sponsras","sponsrats","spörjs","sporrades","sporras","spörs","sports","spottades","spottas","spräckas","spräcks","spräcktes","spräckts","språktestas","sprängas","sprangs","sprängs","sprängts","sprättades","sprättas","sprätts","sprayas","sprayats","spreds","sprejas","sprejats","spridas","spriddes","sprides","spridits","sprids","springas","springs","spritas","spritsas","spritsats","spritts","sprödvärmts","sprungits","sprutades","sprutas","spunnits","spurtades","stabiliserades","stabiliseras","stabiliserats","stäckas","stacks","stäcktes","städades","städas","städats","städes","stadfästas","stadfästes","stadfästs","stadgas","stadgats","städslades","städslas","städslats","stagades","stagas","stajlas","stakades","stakas","stakats","stålas","stallas","ställas","ställdes","ställes","ställs","ställts","stals","stämdes","stammas","stämmas","stampades","stampas","stämplades","stämplas","stämplats","stäms","stämts","ständigtmåstegöras","stångades","stångas","stängas","stångats","stängdes","stängs","stängts","stånkas","stänkas","stänkts","stannades","stansas","stansats","staplades","staplas","staplats","starkars","stärkas","stärks","stärktes","stärkts","startades","startas","startats","startgas","stås","stationerades","stationeras","stationerats","statuerades","statueras","stavades","stavas","stavats","stävjas","stegas","steglas","stegrades","stegras","stegrats","stekas","steks","stektes","stekts","stenades","stenas","stencilerats","stenungsundshems","steriliseras","stickas","stickats","sticks","stiftades","stiftas","stiftats","stigmatiserades","stigmatiseras","stiliserats","stillas","stillats","stills","stimmades","stimulerades","stimuleras","stimulerats","stipendierats","stipulerades","stipuleras","stjälas","stjälpas","stjälps","stjälptes","stjäls","stockas","stockholmsanpassats","stockholmutsätts","stöddes","stödjas","stöds","stöldanmäldes","stöldanmälts","stöldresas","stomiopererades","stomiopereras","stöpas","stoppades","stoppas","stoppats","stopppades","stöps","stöptes","stöpts","störas","stördes","storklas","stormades","stormas","stormats","stormfälldes","stormtrivas","stormtrivs","störs","storstädas","storstädats","störtades","störtas","störtats","stortrivas","stortrivdes","stortrivs","stortrutades","störts","stötas","stötes","stöts","stöttades","stöttas","stöttats","stöttes","stötts","sträckas","sträcks","sträcktes","sträckts","straffades","straffas","straffats","straffbeläggas","straffbeskattas","straffsanktioneras","strålas","strålbehandlas","strålbehandlats","strålningstestas","strålskadades","stramades","stramas","stramats","strandades","strandats","strandsattes","strävas","streckas","strejkas","strejkats","stressades","stressas","stretchats","strids","strilas","strimlas","strimlats","strimmades","ströddes","ströks","strömlinjeformas","ströps","strös","strötts","strukits","strukturerades","struktureras","strukturerats","strukturrationaliserades","strykas","strykes","stryks","strypas","strypes","stryps","stryptes","strypts","stuckits","studerades","studeras","studerats","stuffas","stukades","stukas","stukats","stulits","stunts","stuvades","stuvas","stuvats","styckades","styckas","styckats","stylades","stylas","stylats","stympades","stympas","stympats","styras","styrdes","styrkas","styrks","styrktes","styrkts","styrs","styrts","sublimeras","subtraheras","subventionerades","subventioneras","subventionerats","suckas","suddades","suddas","suddats","sufflerats","sugas","suges","sugits","sugs","summerades","summeras","summerats","supes","supits","sups","surkörs","surrades","surras","susades","suspenderades","suspenderas","suspenderats","svagbegåvades","svaldes","sväljas","sväljs","svalkas","svälldes","svältas","svälts","svämmas","svämmats","svängdes","svängs","svängts","svanskuperas","svarades","svaras","sväras","svärs","svärtades","svärtas","svärtats","svartlistades","svartlistas","svartlistats","svartmålades","svartmålas","svartmålats","svedas","svekivs","sveks","svennevads","svepas","svepes","sveps","sveptes","svepts","svetlas","svetsades","svetsas","svikas","svikits","sviks","svinas","svingades","svingas","svors","svurits","swandes","syddes","sydgas","syds","syftas","sykes","syltades","syltas","symboliserades","symboliseras","sympatilockoutas","sympatiseras","synades","synats","syndats","synkroniseras","synliggjordes","synliggjorts","synliggöras","synliggörs","syntetiserats","syresättas","syresätts","syrsätts","sys","sysselsättas","sysselsattes","sysselsätts","sytts","tackades","tackas","täckas","tacklades","tacklas","täcks","täcktes","täckts","tagas","tages","tagits","tags","talades","talas","tålas","talats","tåldes","tallas","tallriksserveras","tåls","talts","tämjas","tämjs","tämjts","tändas","tändes","tänds","tångas","tangerades","tangeras","tangerats","tangiers","tångonduleras","tänjas","tänjdes","tänjes","tänjs","tänjts","tankas","tänkas","tänkes","tänks","tänkts","tänts","tapetserades","tapetserats","tappades","tappas","tappats","täpps","tårades","tareras","tärnas","tärts","tarvas","tas","tasslades","tasslas","tätades","tätas","tävlades","tävlas","tävlats","taxeras","taxerats","technologies","tecknades","tecknas","tecknats","tegs","teiresias","tejakulas","tejpades","tejpas","tejpats","teknologiseras","telefaxbekräftas","telefonavlyssnas","telefonerades","telefonintervjuades","telefonterroriseras","telegraferats","televiserades","televiseras","telias","telomeras","tematiserades","tematiseras","tempereras","terminerats","terminssäkras","terroriserades","terroriseras","terroriserats","terroriststämplas","terroriststämplats","testades","testamenterats","testas","testats","testkörs","textas","thorgils","tidigarelades","tidigareläggas","tidigareläggs","tidigarelagts","tidsbegränsas","tidsbegränsats","tidsbestämdes","tidsbestämmas","tidsbestäms","tidsbestämts","tidsflödes","tidsordnats","tietotehdas","tigits","tigs","tillades","tillagas","tillägas","tilläggas","tilläggs","tilläggsdebiteras","tillägnades","tillägnas","tillägnats","tillämmpas","tillämpades","tillämpas","tillämpats","tillåtas","tillåtes","tillåtits","tillåts","tilläts","tillbads","tillbakabildas","tillbakabildats","tillbakavisades","tillbakavisas","tillbakavisats","tillbakes","tillbes","tillbetts","tillbringades","tillbringas","tillbyggts","tillbytas","tilldelades","tilldelas","tilldelats","tilldömas","tilldömdes","tilldöms","tilldömts","tillerkändes","tillerkännas","tillerkänns","tillerkänts","tillfångatagits","tillfångatas","tillfångatogs","tillfogades","tillfogas","tillfogats","tillföras","tillfördes","tillförs","tillförsäkras","tillförsäkrats","tillförts","tillfrågades","tillfrågas","tillfrågats","tillfredsställas","tillfredsställdes","tillfredsställs","tillgivits","tillgodoräknas","tillgodosågs","tillgodoses","tillgodosetts","tillgreps","tillgripas","tillgripes","tillgripits","tillgrips","tillhållas","tillhålls","tillhandahållas","tillhandahålles","tillhandahålls","tillhandahölls","tillhandhölls","tillhölls","tillintetgjorts","tillintetgörs","tillkallades","tillkallas","tillkallats","tillkännagavs","tillkännages","tillkännagetts","tillkännagivits","tillläggas","tilllämpas","tilllämpats","tilllåtas","tilllåtits","tilllåts","tillläts","tillmätas","tillmätits","tillmäts","tillmättes","tillmätts","tillmötesgås","tillönskas","tillordnas","tillråddes","tillrådes","tillråds","tillrättaläggs","tillrättavisas","tillredas","tillreds","tillretts","tillryggalades","tillsägs","tillsagts","tillsamamns","tillsammamns","tillsammas","tillsammns","tillsändas","tillsas","tillsättas","tillsattes","tillsatts","tillsätts","tillses","tillskapas","tillskapats","tillskjuts","tillskrevs","tillskrivas","tillskrives","tillskrivits","tillskrivs","tillspetsades","tillspetsas","tillspetsats","tillställas","tillställdes","tillställs","tillställts","tillstås","tillstyrks","tillstyrktes","tillstyrkts","tilltalades","tilltalas","tilltalats","tillträdas","tilltros","tillvaratagas","tillvaratagits","tillvaratas","tillvaratogs","tillverkades","tillverkas","tillverkats","tillvitades","tillvitas","tillvitats","tillyxas","tinas","tinats","tingades","tingas","tingats","tiodubblades","tiodubblas","tiodubblats","tiofaldigades","tiofaldigas","tiofaldigats","tippades","tippas","tippats","tipsades","tipsas","tipsats","tisslades","tisslas","tittas","titulerades","tituleras","tivs","tjafsas","tjågas","tjänades","tjänas","tjänats","tjatades","tjatas","tjatats","tjoas","tjubajs","tjudras","tjusades","tjusas","tjusats","tjuvkopplas","tjuvlästes","tjyvröktes","togs","töjdes","töjs","tolererades","tolereras","tolererats","tolkades","tolkas","tolkats","tolvdubblats","tolvfaldigats","tömdes","tömmas","tommingas","töms","tömts","tonades","tonas","tonats","toppades","toppas","toppats","topplaceras","topprenoverats","toppseedats","toppstyras","tordas","torgföras","torgfördes","torgförs","torkades","torkas","torkats","tornbas","torpederades","torpederas","torpederats","torrkokas","torrlades","torrläggas","torrläggs","torrlagts","torrmarineras","torrsättas","torrsätts","torterades","torteras","torterats","torts","totalassimilerats","totalavvekas","totalbojkottats","totaldemolerats","totalfinansieras","totalförbjöds","totalförbjudas","totalförbjudits","totalförbjuds","totalförlamades","totalförlamas","totalförstöras","totalförstördes","totalförstörs","totalförstörts","totalförsvarspliktigas","totalfredades","totalintegrerats","totalredovisas","totalrenoverades","totalrenoveras","totalsaneras","totalstoppas","tråcklas","tradades","tråddes","träddes","traderas","traderats","trades","trådhäftades","trådhäftas","träds","träffades","träffats","trafikerades","trafikeras","trafikerats","tragglas","trakasserades","trakasseras","trakasserats","trakterades","trakteras","trakterats","trampades","trampats","tramsas","tränades","tränas","tränats","trängas","trängdes","trängs","trängts","transformerades","transformeras","transformerats","transkriberas","transplanterades","transplanteras","transplanterats","transponeras","transporterades","transporteras","transporterats","transportvigas","trappades","trappas","trappats","träs","trasades","trasas","trasats","trasslas","trätas","trätts","traumatiserats","travades","travas","travats","travintresserades","tredskades","tredskas","tredubblades","tredubblas","tredubblats","trefaldigades","trefaldigas","trefaldigats","triffids","trimmades","trimmas","trimmats","trissades","trissats","trivialiserats","trixas","troddes","trollades","trollas","trollats","trollbands","trollbindas","trollbinds","trollbundits","tros","tröskas","tröskats","tröstades","tröstas","tröstats","tröttas","trotts","trotzigs","trubbades","trubbas","trubbats","trumfades","trumfas","trummas","trummats","trumpetades","tryckas","tryckes","trycks","trycktes","tryckts","tryfferades","tryfferas","tryfferats","tryggas","trygghetsavtalets","tryzas","tsokas","tsvetajevas","tubbades","tubbas","tudelades","tudelas","tuggades","tuggas","tuggats","tugindas","tuktades","tuktas","tuktats","tullas","tullbehandlas","tullinges","tullvisiteras","tummas","tunnades","tunnas","tunnats","turades","turas","turats","turistifierats","turneras","tusendubblats","tussas","tutades","tutas","tvåddes","tvålades","tvangs","tvångsanslutas","tvångsavverkades","tvångsevakuerats","tvångsförflyttades","tvångsförflyttas","tvångsförflyttats","tvångsförvaltas","tvångsinlösas","tvångsintagits","tvångskommenderades","tvångskommenderas","tvångsmatades","tvångsmatas","tvångsmatats","tvångsnedflyttades","tvångsomhändertagits","tvångsomhändertas","tvångsomhändertogs","tvångspensionerats","tvångsplaceras","tvångsrekryterades","tvångsrekryteras","tvångstömdes","tvångsvårdas","tvångsvårdats","tvångsvärvas","tvås","tvättades","tvättas","tvättats","tvingades","tvingas","tvingats","tvinnades","tvinnas","tvistades","tvistas","tvistats","tyas","tydas","tyddes","tydliggjordes","tydliggjorts","tydliggöras","tydliggörs","tyds","tyglades","tyglas","tyngas","tyngdes","tyngs","tyngts","typiseras","tyranniserats","tyrolersås","tystades","tystas","tystats","uefas","ugnsbakas","undandras","undanhållas","undanhållits","undanhålls","undanhölls","undanröjas","undanröjdes","undanröjs","undanröjts","undantagits","undantas","undantogs","undanträngas","undanträngs","underbalanseras","underblåses","underblåstes","underbyggs","underdånas","underförstås","undergrävas","undergrävdes","undergrävs","undergrävts","underhållas","underhållits","underhålls","underhölls","underkändes","underkännas","underkänns","underkänts","underkastades","underkastas","underkastats","underkuvas","underkuvats","underlåtas","underlättades","underlättas","underlättats","underminerades","undermineras","underminerats","underordnades","underordnas","underordnats","underrättades","underrättas","underrättats","underskattades","underskattas","underskattats","underskreds","underskridas","underskridits","underskrids","undersökas","undersöks","undersöktes","undersökts","underställas","underställs","understöddes","understödjas","understöds","understötts","underströks","understrukits","understrykas","understryks","undertecknades","undertecknas","undertecknats","underträffades","undertryckas","undertrycks","undertryckts","undervärderas","undervärderats","undervisades","undervisas","undervisats","undfägnades","undfägnas","undfägnats","undrades","undras","undrats","undsättas","undsattes","undvaras","undveks","undvikas","undvikes","undvikits","undviks","unitas","unlimiteds","unnades","unnas","unnras","uoppskattas","upgavs","upmanades","uppammas","uppammats","upparbetas","upparbetats","uppättades","uppbådades","uppbådas","uppbäras","uppbars","uppblandas","uppbrännas","uppbringades","uppbringas","uppbringats","uppbyggas","uppbyggnadsfas","uppdagades","uppdagas","uppdagats","uppdateras","uppdaterats","uppdelades","uppdelas","uppdragits","uppdras","uppdrogs","uppehållas","uppehölls","uppenbarades","uppenbaras","uppenbarats","uppfångades","uppfångas","uppfångats","uppfanns","uppfattades","uppfattas","uppfattats","uppfinnas","uppfinns","uppfödas","uppföddes","uppföds","uppföras","uppfördes","uppförs","uppförstorades","uppförstoras","uppförts","uppfostrades","uppfostras","uppfostrats","uppfunnits","uppfyllas","uppfylles","uppfylls","uppgavs","uppges","uppgetts","uppgives","uppgivits","uppgraderades","uppgraderas","uppgraderats","upphandlades","upphandlas","upphandlats","upphävas","upphävdes","upphävs","upphävts","upphettades","upphettas","upphöjas","upphöjdes","upphöjs","upphöjts","uppjusteras","uppjusterats","uppkallades","uppkallas","uppkallats","upplageras","uppläsas","uppläses","upplästes","upplästs","upplåtas","upplåtes","upplåtits","upplåts","uppläts","uppletas","upplevas","upplevdes","upplevs","upplevts","upplivades","upplös","upplösas","upplöses","upplöstes","upplösts","upplysas","upplyses","upplystes","upplysts","uppmäksammats","uppmålas","uppmanades","uppmanas","uppmanats","uppmandes","uppmärksammades","uppmärksammas","uppmärksammats","uppmätas","uppmäts","uppmättes","uppmätts","uppmuntrades","uppmuntras","uppmuntrats","uppnåddes","uppnås","uppnåtts","uppövats","upppdagas","uppräknades","upprätas","upprättades","upprättas","upprättats","upprätthållas","upprätthålles","upprätthållits","upprätthålls","upprätthölls","upprepades","upprepas","upprepats","uppresas","uppreses","upprestes","uppröras","upprördes","upprörs","upprörts","upprustas","uppsamlades","uppsändas","uppsättas","uppsattes","uppsatts","uppskalas","uppskattades","uppskattas","uppskattats","uppskjutas","uppskjutits","uppskjuts","uppsköts","uppslukades","uppslukas","uppslukats","uppsnappas","uppsökas","uppsöks","uppsöktes","uppsökts","uppställas","uppställs","uppställts","upptäckas","upptäcks","upptäcktes","upptäckts","upptagas","upptages","upptagits","upptändes","upptänds","upptänts","upptas","upptaxeras","upptecknades","upptecknats","upptogs","uppväckas","uppväcktes","uppvägas","uppvägdes","uppvägs","uppvägts","uppvaktades","uppvaktas","uppvaktats","uppvärderades","uppvärderas","uppvärmdes","uppvisades","uppvisas","uppvisningflygas","urbaniserats","urgröps","urholkades","urholkas","urholkats","urkalkas","urladdas","urlakats","ursäktas","ursäktats","urskiljas","urskiljs","urskuldas","uruppföras","uruppfördes","uruppförs","uruppförts","urvattnas","usurperats","utandades","utandas","utandats","utannonserades","utannonseras","utannonserats","utanordnats","utarbetades","utarbetas","utarbetats","utarmades","utarmas","utarmats","utarrenderas","utbasunerades","utbasuneras","utbetalades","utbetalas","utbetalats","utbildades","utbildas","utbildats","utbjöds","utbjudas","utbjuds","utbringades","utbringas","utbroderas","utbyts","utbyttes","utbytts","utdefinieras","utdelades","utdelas","utdelats","utdikades","utdömas","utdömdes","utdöms","utdömts","utdrivas","utelämnas","utelämnats","uteslöts","uteslutas","uteslutits","utesluts","utestängas","utestängdes","utestängs","utestängts","utexaminerades","utexamineras","utexaminerats","utfalls","utfärdades","utfärdas","utfärdats","utfästas","utfästs","utflyttas","utfodras","utföras","utfördelas","utfördes","utfordras","utfordrats","utföres","utformades","utformas","utformats","utförs","utförsäkras","utförsäljas","utforskades","utforskas","utförts","utfösas","utfrågades","utfrågas","utfrågats","utgavs","utges","utgetts","utgivits","utgjordes","utgjorts","utgjutits","utglesas","utgöras","utgöres","utgörs","uthärdas","uthyrdes","utjämnades","utjämnas","utjämnats","utkämpades","utkämpas","utkämpats","utklassats","utkommenderades","utkonkurrerades","utkonkurreras","utkoras","utkorats","utkrävas","utkrävdes","utkräves","utkrävts","utkrisalliseras","utkristalliserades","utkristalliseras","utkristalliserats","utkvitteras","utlades","utläggas","utläggs","utlämnades","utlämnas","utlämnats","utlandsstationerades","utlandstationerades","utläs","utläsas","utläses","utlokaliserades","utlokaliseras","utlokaliserats","utlösas","utlöses","utlöstes","utlösts","utlottades","utlottas","utlovades","utlovas","utlovats","utlys","utlysas","utlyses","utlystes","utlysts","utmålades","utmålas","utmålats","utmanades","utmanas","utmanats","utmanövrerades","utmanövreras","utmärkas","utmärks","utmärktes","utmärkts","utmätas","utmäts","utmattas","utmättes","utmätts","utmejslades","utminuterades","utmönstrades","utmönstras","utnämnas","utnämndes","utnämns","utnämnts","utnyttjades","utnyttjas","utnyttjats","utoands","utökades","utökas","utökats","utövades","utövas","utövats","utpekades","utpekas","utpekats","utplacerades","utplaceras","utplacerats","utplånades","utplånas","utplånats","utplanteras","utposteras","utpressas","utpressats","utprovades","utprovas","utprovats","utraderades","utraderas","utraderats","utrangeras","utrangerats","uträttades","uträttas","uträttats","utredas","utreddes","utredningshäktades","utreds","utrensades","utretts","utropades","utropas","utropats","utrotades","utrotas","utrotats","utrustades","utrustas","utrustats","utrycks","utrymdes","utrymmas","utryms","utrymts","utsades","utsägas","utsågs","utsägs","utsagts","utsändas","utsändes","utsänds","utsänts","utsättas","utsattes","utsättes","utsatts","utsätts","utses","utsetts","utsiras","utskeppas","utskiljas","utslungas","utslungats","utsmyckas","utsöndras","utspanns","utspelades","utspelas","utspelats","utspionerades","utspisades","utspisas","utspisats","utstakades","utstakats","utställas","utställdes","utställs","utstöttes","utsträckas","utsträcks","utsträcktes","utstrålas","utströs","uttages","uttagits","uttalades","uttalas","uttalats","uttänkas","uttas","uttnyttjas","uttogs","uttolkas","uttöms","utträttats","uttröttas","uttryckas","uttrycks","uttrycktes","uttryckts","utttrycks","uttunnades","uttunnas","uttydas","uttydes","uttyds","utuppfördes","utvaldes","utväljas","utvalts","utvanns","utvärderades","utvärderas","utvärderats","utvattnas","utväxlades","utväxlas","utväxlats","utveckas","utvecklades","utvecklas","utvecklats","utveklas","utverkats","utvidgades","utvidgas","utvidgats","utvinnas","utvinns","utvisades","utvisas","utvisats","utvunnits","uvecklas","uvecklats","vaccinerades","vaccineras","vaccinerats","vachettes","väckas","väcks","väcktes","väckts","vådaskjuts","vådasköts","vades","vädrades","vädras","vädrats","vågas","vägas","vägdes","väges","vaggades","vaggas","vaggats","vägledas","vägleddes","vägleds","vägletts","vägrades","vägras","vägrats","vägs","vägts","vakantsätts","vaktades","vaktas","vakuummöras","valderas","valdes","våldtagits","våldtas","våldtogs","valenciennes","väljas","väljes","väljs","välkomnades","välkomnas","välkomnats","vallades","vållades","vallas","vallås","vållas","vållats","vallfärdas","valsas","välsignades","välsignas","välsignats","vältas","vältes","vältrades","vältras","vältrats","valts","välts","välvdes","välvs","vämjdes","vanäras","våndades","vandaliserades","vandaliseras","vandaliserats","våndas","vändas","våndats","vandes","vändes","vandkunsts","vandrades","vandras","vänds","vändsteks","vanhedrats","vanhelgas","vanhelgats","vänjas","vankades","vankats","vanns","vanprydas","vanskötas","vansköts","vansköttes","vansläktades","vansläktas","vansläktats","vanställs","vanstyrs","väntades","väntas","väntats","vantolkas","vantolkats","vänts","vanvårdas","vanvårdats","våransas","varas","vårdades","vårdas","vårdats","värdebas","värderades","värderas","värderats","värdes","värdesättas","värdesattes","värdesatts","värdesätts","värdigades","värdigas","vares","vargas","varieras","varierats","värks","värmas","värmdes","varmhållas","varmkörs","varmmanglades","varmrökas","värms","värmts","varnades","värnades","varnas","värnas","varnats","värnats","vårseglats","varslades","varslas","varslats","varsnas","varvades","värvades","varvas","värvas","varvats","värvats","väs","vaskades","vaskas","vaskats","vässas","västallierades","västs","vattenfyllas","vattenfylls","vattengjutits","vattnades","vattnas","vattnats","vattrades","vattras","vävas","vävdes","vävs","vävts","växlades","växlas","växlats","växtfärgats","veckats","vecklades","vecklas","vederfaras","vederfares","vederfarits","vederfars","vederfors","vederlades","vederläggas","vederläggs","vederlagts","veks","veldes","venables","vendanges","veninivas","venstres","ventilerades","ventileras","ventilerats","verbaliseras","verderfarits","verdes","verifieras","verifierats","verkställas","verkställdes","verkställs","verkställts","vetas","veterinärundersökas","vetetortillas","vevades","vevas","vevats","vickas","vidarebefodrades","vidarebefordrades","vidarebefordras","vidarebefordrats","vidarebehandlas","vidareexporteras","vidareexporterats","vidareförsäljas","vidareförsäljs","vidaresändas","vidaresänts","vidareutbildas","vidareutvecklades","vidareutvecklas","vidareutvecklats","videodokumenteras","videofilmades","videofilmas","videofilmats","videoinspelats","vidgades","vidgas","vidgats","vidgåtts","vidhållas","vidimerades","vidimeras","vidkännas","vidmakthållas","vidmakthålles","vidmakthålls","vidmakthölls","vidröras","vidrörs","vidrörts","vidtagas","vidtages","vidtagits","vidtalades","vidtalas","vidtas","vidtogs","viftades","viftas","viftats","vigas","vigdes","vigs","vigts","vikas","vikits","viks","viktas","vikts","vilas","villfaras","villkoras","villkorats","villkorsändrades","vilseförts","vilseledas","vilseleddes","vilseleds","vilseletts","vimlades","vimlats","vindas","vindfälldes","vindtorkas","vineras","vingklippas","vinglas","vinifieras","vinkades","vinkas","vinklades","vinklas","vinnas","vinnes","vinns","vinschas","vinterförvarats","vinterkonserverats","vintersportades","vippas","virades","viras","virats","virkats","virvlades","virvlas","visades","visas","visats","visiones","visiterades","visiteras","viskades","viskas","viskats","vispades","vispas","vispats","visslades","visslas","visslats","visstes","visualiseras","vitaliserades","vitaliseras","vitaliserats","vitesföreläggas","vitesförelagts","vitlimmas","vitsordas","vittjas","vittjats","vittnas","vittras","vogts","voltas","vördades","vördas","voterades","vrakades","vräkas","vräks","vräktes","vräkts","vrålas","vrängas","vrängs","vranjes","vredgades","vredgas","vredgats","vreds","vrenskades","vrenskas","vridas","vrides","vridits","vrids","vunnits","walesas","walkabouts","wannadies","wästfelts","waves","williams","wokas","yeats","ylikangas","ympades","ympas","ympats","yorkbörs","yppades","yppas","yrkades","yrkas","ystades","ytbehandlas","yttrades","yttras","yttrats","zappas","zonindelades","zoomas"],{areWordsInSentence:X}=e.languageProcessing;function Y(s){return X(V,s)}const{AbstractResearcher:Z}=e.languageProcessing;class $ extends Z{constructor(s){super(s),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"sv",passiveConstructionType:"morphological",firstWordExceptions:t,functionWords:G,transitionWords:d,twoPartTransitionWords:H,keyphraseLength:J}),Object.assign(this.helpers,{getStemmer:U,isPassiveSentence:Y})}}(window.yoast=window.yoast||{}).Researcher=a})(); dist/languages/fa.js 0000644 00000125326 15174677550 0010433 0 ustar 00 (()=>{"use strict";var e={d:(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>b});const n=window.yoast.analysis,s=["اگر","اما","باری","پس","چون","چه","خواه","زیرا","لیکن","نیز","و","ولی","هم","یا","ازآنکه","اگرچه","اگرچنانکه","بالعکس","بلکه","چنانچه","چنانکه","همچنین","سپس","وانگهی","تااینکه","بااینکه","بنابراین","وگرنه","ولو"],r=s.concat(["ازآنجا که","از این رو","از این گذشته","از بس","از بس که","از بهر آنکه","اکنون که","الا اینکه","آنجا که","آنگاه که","با این حال","با وجود این","با وجود اینکه","بس که","به جز","به شرط آنکه","به طوری که","به هر حال","بی آنکه","تا آنکه","تا جایی که","چندان که","در حالیکه","در صورتی که","در نتیجه","علیرغم اینکه","مگر این که","وقتی که","هر چند","هر گاه که","هر وقت که","همان طور که","همان که","همین که","به غیر از","بر طبق","بر اساس","بر اثر","در خصوص","چونان که","با این وجود","برای این","آنجا که","برای این که","به شرطی که","به خاطر","به جهت","به استثنای","به علاوه ی","به اضافه","درباره ی","در مقابل","از جمله","از حیث","از لحاظ","از قبیل","با وجود","به معنای واقعی کلمه"]),o=function(e){let t=e;return e.forEach((n=>{(n=n.split("-")).length>0&&n.filter((t=>!e.includes(t))).length>0&&(t=t.concat(n))})),t}([].concat(["سه","چهار","پنج","شش","هفت","هشت","نه","ده","یازده","دوازده","سیزده","چهارده","پانزده","شانزده","هفده","هجده","نوزده","بیست","هزار","میلیون","میلیارد","هفتده","نونزده","و","سی","چهل","پنجاه","شصت","هفتاد","هشتاد","نود","دویست","تریلیارد"],["اول","اوّل","دوم","سوم","چهارم","پنجم","ششم","هفتم","هشتم","نهم","دهم","یازدهم","دوازدهم","سیزدهم","چهاردهم","پانزدهم","شانزدهم","هفدهم","هجدهم","نوزدهم","بیستم","پانزدهمین","هفتهمین","هجدهمین","نوزدهمین","بیستمین","یکم","ام","چهلم","پنجاهم","شصتم","هفتادم","هشتادم","نودم","صدم","دویستم","هزارم","میلیونم","میلیاردم","هفتهم"],["مرا","من","را","منرا","به","تو","اون","اونو","او","ایشان","ایشون","این","رو","اینو","ما","اونا","آنها","آنها","اونارو","همین","اینان","آنان"],["کی","کِی","کجا","چه","چرا","چطور","آیا"],["کمی","زیاد","فراوان","بیشتر","بسیار","مشتی","تعداد","زیادی","بسیارکم","بخش","چند","تمام"],["خودم","خودت","خودش","خودمان","خودتان","خودشان","خود"],[" هر","کس","هرکس","کسی","فلان","کس","هیچکس","شخصی","چیز","هیچچیز","همهچیز","چیزی","یکی","دیگر","کدام","هرکدام","هیچکدام","دیگری","بعضی","اندکی","دیگران","چندین "],["با","باری","نیز","ان","که","تا","اینکه","چونکه","اگرچه","باوجوداین","واسهی","بی","بر","چون","چندانکه","تااینکه","چنانچه","برای","چونان","زیرا","آنکه","اگرچنانچه","بس","واسه","چونانکه","زیراکه","تاآنکه","ازاینرو","الا","اینکه","یا","ای","چنان","آنجا","ازینرو","بسکه","چنانچه","همینکه","آنگاه","بااینحال","اندر","چنانکه","همانکه","ازآنجاکه","بااینکه","بهشرط","علیه","مگر","ازبس","بدون","خواه","چونکه","بلکه","آنکه","ازبسکه","بااینکه","ضد","جز","ازآنکه","الی","غیر","الاّ","بیرون","پایین","پشت","پهلوی","پی","توی","درون","دنبال","زیر","کنار","مانند","مثل","شبیه","نزدیک","پر","زی","سوای","وسیله","ازسر","درباره","درمورد","میان","درمیان","درخصوص","براثر","براساس","برطبق","برحسب","سبک","محلی","جدید","پرسروصدا","قدیمی","قوی","ساکت","درست","نرم","ضعیف","مرطوب","اشتباه","جوان","بزرگ","عمیق","طولانی","دراز","کشیده","باریک","کوتاه","کوچک","وسیع","ضخیم","نازک","ناخواسته","ناپاک","نااهل","بعضی وقت ها","امروز","امسال","فردا","همیشه","اینجا","آنجا","مدرسه","هر کجا","مسجد","خوب","آرامی","افتان","وخیزان","گریان","افسوس","متاسفانه","عجبا","شگفتا","حتماً","یقیناً","چگونه","شاید","پنداری","قطره","خدا","مانا","همانا","چنین","بکردار","بسان","وگر","ور","هرگز","اصلاً","ابداً","نخست","درآغاز","پیاپی","گروه","دسته","دوتا","جزکه","اتفاقاً","احتمالاً","دائماً","اجباراً","معمولاً","سریعاً","مخصوصاً","تقریباً"," آخرالامر","الآن","بالعکس"],["اما","پس","لیکن","ولی","هم","چنانکه","شرط","طوری","بنابراین","جایی","چندانکه","حالی","صورتی","نتیجه","وانگهی","وقتی","وگرنه","هرچند","گاه","وقت","همانطور","فقط"],["پرسیدن","فهمیدن","عقیده","مکالمه"],["خیلی","کاملا","تقریبا","انصافاً","انصافا","بیش ازحد","بخصوص","وحشتناک","نسبتا","واقعاً","واقعا","العاده"],["خواستن","باید","بایستن","شایستن","توانستن","داشتن","میشود","می شود","میشود","گشت","گردید","میگردد","خواهم","بود","است","نیست","باشد","میتوان","میتوان","شده","دارد","دارند"],["سیاه","سفید","آبی","خاکستری","سبز","نارنجی","ارغوانی","قرمز","زرد","دایره","راست","مربع","مثلث","تازه","تلخ","شور","ترش","تند","شیرین","بد","تمیز","پاک","تاریک","دشوار","تار","کثیف","خشک","ساده","خالی","گران","سریع","خارجی","کامل","سخت","سنگین","سفت","ارزان","فی","الفور","بالطبع","مادام","حتی","المقدور ","هنوز","نو","دوباره","باز","مجدد","خارج","بالا","عقب","همه جا","امیدوارم","الهی","خداکند","آرزومندم","ان شالله","احتمال","امکان","کند","آهسته","آسان","نیک","زشت","نالان","دیروز"],["اِه","دِ","اَه","آخ","آخیش","آخیییی","وا","ای بابا","ای وای","اِواا","نُچّ","اَاَ","بابا","هیس","وای","اُوه","حالا"],["شکستن","لایه","ورقه","زدن","دادن","چشیدن","برش","جوشیدن","ریختن","باربیکیو","پختن","غل","آشپزی","مواد","اولیه","دستور","پخت","دستورالعمل","ملاقه","کشیدن","جوشاندن","دست","زن","برقی","حرکت","باحرکت","جلووعقب","ورز","آتش","مستقیم","ادویه","روغن","اضافی","گرفتن","پیچیدن","پخته","نشده","پز","خام","یخ","زده","قاشق","چایخوری","فر","گاز","سطح","حرارت","ملایم","عصاره","مرغ","گوشت","سبزیجات","وپز","خمیر","کتاب"],["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند","صبح","عصر","مغرب","غروب","بامداد","نیمه","ساعت","روز","تقویم","دقیقه","اوایل","هفته","گذشته","آینده","بهار","تابستان","پاییز","زمستان","گرینویچ","دهه","قمری","شمسی","نجومی","شنی","عقربه","جهانی","لحظه","ماه","الان","ربع","روزمره","روزانه","اکنون","تاخیر"],["خیلی ","بسیاری","قدری","پاره ای","پارهای","چندان"],["آقا","آقای","خانم","دوشیزه","جناب","سرکار","دکتر"],["کاملاً","بعد"],["همدیگر","یکدیگر"],["نیم"],["ی","یک","برخی","از","معدود","چندتا","مقداری"],s)),a=[["چه","چه"],["خواه","خواه"],["نه","نه"],["هم","هم"],["یا","یا"]],c={recommendedLength:25},i=["برخی از","یک","ی","مقداری","چندتا","معدود","یک","دو","سه","چهار","پنج","شش","هفت","هشت","نه","ده","همان","همین","آنها","اینان","آنان","اینها","این","آن"],{regexHelpers:{searchAndReplaceWithRegex:u}}=n.languageProcessing,l=function(e){const t=[];return t.push("ن"+e),e.endsWith("ها")?t.push(...["یی","ی"].map((t=>e+t))):/([^وای]ه)$/i.test(e)?t.push(...["ای","یی","ام","ات","اش"].map((t=>e+t))):/([وا])$/i.test(e)?t.push(...["یی","یم","یت","یش"].map((t=>e+t))):(e.endsWith("ی")&&t.push(e+"ای"),t.push(...["مان","شان","تان","ش","ت","م","ی"].map((t=>e+t)))),t};function g(e){const t=[];t.push(...l(e));const n=function(e){return e.startsWith("ن")?e.slice(1,e.length):u(e,[["(و|ا)(یش|یت|یم|یی)$","$1"],["([^وای]ه)(یی|ای|اش|ات|ام)$","$1"],["(ی)ای$","$1"],["(ها)یی$","$1"],["(مان|شان|تان|ش|ت|م|ی)$",""]])}(e);return n&&(t.push(n),t.push(...l(n))),t}const{baseStemmer:h}=n.languageProcessing;function d(){return h}const p=["آراسته","آزرده","آزموده","آشفته","آغشته","آفریده","آلوده","آمده","آورده","آمیخته","آورده","آویخته","اُفتاده","اَفراشته","اَفروخته","اَفزوده","اَفشانده","اَنباشته","اَنداخته","اَندوخته","اِنگاشته","برانگیخته","باریده","بافته","بخشوده","بخشیده","برده","برگردانده","برگزیده","بسته","بلعیده","بوسیده","بوییده","پاشیده","پخته","پذیرفته","پراکنده","پرداخته","پرستیده","پرسیده","پژمرده","پسندیده","پنداریده","پوشیده","پوشانده","پیچیده","پیوسته","پیموده","تافته","تراشیده","ترسانده","ترکیده","ترکانده","تَکانده","تنیده","توانسته","جوشانده","جوشیده","جَویده","جوییده","چاپیده","چرخیده","چسبانده","چسبیده","چشیده","چیده","خاسته","خشکیده","خراشیده","خریده","خوانده","خورده","داده","دریده","دزدیده","دوخته","دوشیده","دیده","رانده","ربوده","رسانده","رسیده","رشته","رفته","ریخته","زاده","زده","زدوده","ساخته","سابیده","ساییده","ستانده","ستوده","سرشته","سروده","سوخته","سوزانده","شده","شسته","شکافته","شکانده","شکسته","شکفته","شکافیده","شمرده","شناسانده","شنفته","شنیده","طلبیده","فرساییده","فرستاده","فرسوده","فرموده","فروخته","فریفته","فشرده","کاسته","کاشته","کشته","کشیده","گفته","کوبیده","گداخته","گذاشته","گردانده","گرفته","گزارده","گَزیده","گُسترانده","گُسترده","گسسته","گسیخته","گشته","گشوده","گفته","گماشته","مالیده","نامیده","نگاشته","نواخته","نوردیده","نِوِشته","نوشیده","نهاده","نهفته","وابسته","واگذاشته","واگفته","وانهاده","انداخته","افتاده","ورانداخته","ورزیده","وزیده","ویرایش شده","یافته","ستانده شده","آغازشده","آماده","اَرزیده","آمده","پذیرایی شده","تولید شده","استفاده شده","آسفالت شده","اخراج شده","خلق شده","خیس شده","آماده شده","باز شده","بازپس گرفته شده","بشمار آمده","بررسی شده","پاره شده","پیدا شده","زخم خورده","انعام داده شده","زخم شده","ضایع شده","شکست یافته","شروع شده","گول خورده","دزدی رفته","انجام گرفته","فرمایش داده","فرمایش شده","به سر برده","سر رفته","سر آمده","روشن شده","راهنمایی شده","تکان خورده","زمین خورده","دیده شده","بر آمده","تلفیق شده","تخلیه شده","توافق شده","توجه شده","توقف شده","توقیف شده","حمله شده","خبردار شده","گرفتار شده","مسخره شده","مقصر شناخته شده","مضاعف شده","ممکن شده","نقشه کشیده","آغازشدن","آماده شدن","ارزیابی شدن","پذیرایی شدن","تولید شدن","استفاده شدن","آسفالت شدن","اخراج شدن","خلق شدن","خیس شدن","آماده شدن","باز کردن","باز پس گرفتن","بشمار آمدن","بررسی شدن","پاره شدن","پیدا شدن","زخم خوردن","انعام گرفتن","زخم شدن","ضایع شدن","شکست یافتن","شروع شدن","گول خوردن","دزدی رفتن","انجام گرفتن","فرمایش دادن","فرمایش شدن","به سر بردن","سر رفتن","سر آمدن","روشن شدن","راهنمایی کردن","تکان خوردن","زمین خوردن","دیده شدن","بر آمدن","تلفیق شدن","تخلیه شدن","توافق شدن","توجه شدن","توقف کردن","توقیف شدن","حمله شدن","خبردار شدن","گرفتار آمدن","مسخره شدن","مقصر شناخته شدن","مضاعف کردن","ممکن شدن","نقشه کشیدن","آغاز شده","آماده شد","ارزیابی شدم","پذیرایی شدم","تولید شد","استفاده شد","آسفالت شد","اخراج شدم","خلق شدم","خیس شدم","آماده شد","باز شد","باز پس گرفته شد","بشمار آمد","بررسی شد","پاره شد","پیدا شد","زخم خورد","انعام گرفتم","زخم شد","ضایع شد","شکست یافتم","شروع شد","گول خوردم","دزدی رفت","انجام گرفت","سر رفت","سر آمد","روشن شد","راهنمایی شدم","تکان خورد","زمین خورد","دیده شدم","تلفیق شد","تخلیه شد","توافق شد","توجه شد","توقف کرد","توقیف شدم","حمله شد","خبردار شدم","گرفتار آمد","مسخره شدم","مقصر شناخته شدم","مضاعف شد","ممکن شد","نقشه کشیده شد","آغاز شده است","آماده میشد","ارزیابی شدی","پذیرایی شدی","تولید میشد","استفاده میشد","آسفالت میشد","اخراج شدی","خلق شدی","خیس شدی","آماده میشد","باز شدند","باز پس گرفته شد","بشمار آمدند","بررسی شدند","پاره شدند","پیدا شدند","زخم خوردند","انعام گرفتی","زخم شدند","ضایع شدند","شکست یافتی","شروع میشد","گول خوردی","دزدی رفته","انجام گرفتند","سر میرفت","داشت سر میآمد","روشن شدند","راهنمایی شدی","تکان خوردند","زمین خواهد خورد","دیده شدی","تلفیق شدند","تخلیه شدند","توافق شده","توجه میشد","توقف کردند","توقیف شدی","حمله میشد","خبردار شدی","گرفتار آمده","مسخره شدی","مقصر شناخته شدی","مضاعف شده","ممکن شده","نقشه کشیده شده است","داشت آغاز میشد","داشت آماده میشد","ارزیابی شد","پذیرایی شد","داشت تولید میشد","داشت استفاده میشد","داشت آسفالت میشد","اخراج شد","خلق شد","خیس شد","آماده میشدند","باز میشد","داشت باز پس گرفته میشد","بشمار میآمد","بررسی میشد","پاره میشد","پیدا شده","زخم خورده","انعام گرفت","زخم شده","ضایع شده","شکست یافت","داشت شروع میشد","گول خورد","دزدی رفته است","انجام میگرفت","سر رفته","سر آمده","روشن میشد","راهنمایی شد","تکان میخورد","دیده شد","تلفیق میشد","تخلیه میشد","توافق شده است","توجه شده","توقف کرده","توقیف شد","داشت حمله میشد","خبردار شد","گرفتار آمده است","مسخره شد","مقصر شناخته شد","مضاعف شده است","ممکن شده است","نقشه کشیده خواهد شد","آغاز شده بود","آماده شده","ارزیابی شدیم","پذیرایی شدیم","تولید شده ","استفاده شده","آسفالت شده","اخراج شدیم","خلق شدیم","خیس شدیم","داشت آماده میشد","باز میشدند","داشتند باز پس گرفته میشدند","بشمار میآمدند","بررسی میشدند","پاره میشدند","پیدا شده است","زخم خورده است","انعام گرفتیم","زخم شده است","ضایع شده است","شکست یافتیم","شروع شده","گول خوردیم","دزدی رفته بود","انجام میگرفتند"," سر رفته است","سر آمده است","روشن میشدند","راهنمایی شدیم","تکان میخوردند","دیده شدیم","تلفیق میشدند","تخلیه میشدند","توافق شده بود","توجه شده است","توقف کرده است","توقیف شدیم","حمله شده","خبردار شدیم","گرفتار آمده بود","مسخره شدیم","مقصر شناخته شدیم","مضاعف شده بود","ممکن شده بود","آغاز شود","آماده شده است","ارزیابی شدید","پذیرایی شدید","تولید شده است","استفاده شده است","آسفالت شده است","اخراج شدید","خلق شدید","خیس شدید","داشتند آماده میشدند","داشت باز میشد","باز پس گرفته شده","داشت بشمار میآمد","داشت بررسی میشد","پاره شده","پیدا شده بود","زخم خورده بود","انعام گرفتید","زخم شدهاند","ضایع شده بود","شکست یافتید","شروع شده است","گول خوردید","دزدی میرود","داشت انجام میگرفت","سر رفته بود","سر آمده بود","داشت روشن میشد","راهنمایی شدید","داشت تکان میخورد","دیده شدید","داشت تلفیق میشد","داشت تخلیه میشد","توافق شود","توجه شده بود","توقف کرده بود","توقیف شدید","حمله شده است","خبردار شدید","گرفتار خواهد آمد","مسخره شدید","مقصر شناخته شدید","مضاعف شود","ممکن شود","آغاز میشود","آماده شده بود","ارزیابی شدند","پذیرایی شدند","تولید شده بود","استفاده شده بود","آسفالت شده بود","اخراج شدند","خلق شدند","خیس شدند","آماده شده","داشتند باز میشدند","باز پس گرفته شده است","داشتند بشمار میآمدند","داشتند بررسی میشدند","پاره شده است","پیدا شده بودند","زخم خورده بودند","انعام گرفتند","زخم شده بود","ضایع شده بودند","شکست یافتند","شروع شدهاند","گول خوردند","دزدی رفته باشد","داشتند انجام میگرفتند","دارد سر میرود","سر خواهد آمد","داشتند روشن میشدند","راهنمایی شدند","داشتند تکان میخوردند","دیده شدند","داشتند تلفیق میشدند","داشتند تخلیه میشدند","توافق میشود","توجه میشود","توقف میکند","توقیف شدند","حمله شده بود","خبردار شدند","مسخره شدند","مقصر شناخته شدند","مضاعف میشود","ممکن خواهد شد","آراستن","آزردن","آزمودن","آشفتن","آغشتن","آفریدن","آلودن","آمدن","آمیختن","آوردن","آویختن","اُفتادن","اَفراشتن","اَفروختن","اَفزودن","اَفشاندن","اَنباشتن","اَنداختن","اَندوختن","برانگیختن","بافتن","بخشودن","بخشیدن","بردن","برگرداندن","برگزیدن","بستن","بلعیدن","بوسیدن","بوییدن","پاشیدن","پختن","پذیرفتن","پراکندن","پرداختن","پرستیدن","پرسیدن","پژمردن","پسندیدن","پوشیدن","پوشاندن","پیچیدن","پیوستن","پیمودن","تافتن","تراشیدن","ترساندن","ترکیدن","ترکاندن","تَکاندن","تنیدن","توانستن","جوشاندن","جوشیدن","جَویدن","جوییدن","چاپیدن","چرخییدن","چسباندن","چسبیدن","چشیدن","چیدن","خاستن","خشکاندن","خراشیدن","خریدن","خواندن","خوردن","دادن","دریدن","دزدیدن","دوختن","دوشیدن","راندن","ربودن","رساندن","رسیدن","ریختن","زادن","زدن","زدودن","ساختن","سابیدن","ساییدن","ستاندن","ستودن","سرشتن","سرودن","سوختن","سوزاندن","انجام شدن","شستن","شکافتن","شکاندن","شکستن","شکُفتن","شمردن","شناساندن","شِنُفتن","شنیدن","طلبیدن","فرساییدن","فرستادن","فرسودن","فرمودن","فروختن","فریفتن","فِشُردن","کاستن","کاشتن","کُشتن","کشیدن","کَفتن","کوبیدن","گُداختن","گذاشتن","گرداندن","گرفتن","گزاردن","گَزیدن","گُستراندن","گُستَردن","گُسستن","گُسیختن","گشودن","گفتن","گُماشتن","مالیدن","نامیدن","نگاشتن","نواختن","نَوردیدن","نِوِشتن","نوشیدن","نهادن","نهفتن","واگذاشتن","وانهادن","افتادن","ورانداختن","ورزیدن","ویرایش کردن","یافتن","ستاندن","آراسته شد","آزرده شدم","آزموده شدم","آشفته شدم","آغشته شد","آفریده شد","آلوده شد","آمد","آمیخته شد","آورده شد","آویخته شد","افتاده شده","افراشته شد","افروخته شد","افزوده شد","افشانده شد","انباشته شد","انداخته شد","اندوخته شد","برانگیخته شد","بافته شد","بخشوده شد","بخشیده شد","برده شد","برگردانده شد","برگزیده شده","بسته شد","بلعیده شد","بوسیده شدم","بوییده شد","پاشیده شد","پخته شد","پذیرفته شدم","پراکنده شد","پرداخته شد","پرستیده شد","پرسیده شد","پژمرده شد","پسندیده شد","پوشیده شد","پیچیده شد","پیوسته شده","پیموده شد","تافته شد","تراشیده شد","ترسانده شدم","ترکیده شد","تکانده شد","تنیده شد","جوشانده شد","جوشیده شد","جویده شد","جوییده شده","چاپیده شدم","چرخیده شد","چسبانده شد","چسبیده شد","چشیده شد","چیده شد","خاسته شد","خشکیده شد","خراشیده شد","خریده شد","خوانده شد","خورده شد","داده شد","دریده شد","دزدیده شد","دوخته شد","دوشیده شد","رانده شد","ربوده شد","رسانده شد","رسیده شد","ریخته شد","زاده شد","زده شد","زدوده شد","ساخته شد","سابیده شد","ستانده شد","ستوده شد","سرشته شد","سروده میشود","سوخته شد","سوزانده شد","انجام شد","شسته شد","شکافته شد","شکانده شد","شکسته شد","شکفته شد","شمرده شد","شناسانده شد","شنفته شد","شنیده شد","طلبیده شدم","فرساییده شد","فرستاده شد","فرسوده شد","فرموده شد","فروخته شد","فریفته شد","فشرده شد","کاسته شد","کاشته شد","کشته شد","کشیده شد","گفته شد","کوبیده شد","گداخته شده","گذاشته شد","گردانده شد","گرفته شد","گزارده شد","گزیده شد","گسترانده شد","گسترده شد","گسسته شد","گسیخته شد","گشوده شد","گفته شد","گماشته شده","مالیده شد","نامیده شد","نگاشته شد","نواخته شد","نوردیده شد","نوشته شد","نوشیده شد","نهاده شد","نهفته شده","واگذاشته شد","وانهاده شد","افتاده شد","ورانداخته شد","ورزیده شد","ویرایش شد","یافته شد","ستانده شد","آراسته شدند","آزرده شدی","آزموده شدی","آشفته شدی","آغشته شده","آفریده شدیم","آلوده شدند","آمدند","آمیخته شدند","آورده شدند","آویخته شدند","افتاده شده است","افراشته شدند","داشت افروخته میشد","افزوده شدند","افشانده شدند","انباشته شدند","انداخته شدند","اندوخته شدند","برانگیخته میشد","بافته شدند","بخشوده شدند","بخشیده شدند","برده شدند","برگردانده شدند","برگزیده شده است","بسته شدند","بلعیده شدند","بوسیده شد","بوییده شده","پاشیده شده","پخته شدند","پذیرفته شد","پراکنده شدند","پرداخته شده","پرستیده میشود","پرسیده شدند","پژمرده شدند","پسندیده شدند","پوشیده شدند","پیچیده شده","پیوسته شده است","پیموده شده","تافته شدند","تراشیده شدند","ترسانده شد","ترکیده شده","تکانده شدند","تنیده شده","داشت جوشانده میشد","داشت جوشیده میشد","جویده شده","جوییده شده است","چاپیده شدی","چرخیده شدند","چسبانده شدند","چسبیده شدند","چشیده شدند","چیده شدند","خاسته شدند","خشکیده شدند","خراشیده شدند","خریده شدند","خوانده شدند","خورده شدند","داده شدند","دریده شدند","دزدیده شدند","دوخته شدند","دوشیده شدند","رانده شدند","ربوده شدند","رسانده شده","رسیده شده","داشت ریخته میشد","زاده شده","داشت زده میشد","زدوده شده","ساخته شدند","سابیده شدند","ستانده شده","ستوده میشد","سرشته شده","سروده شوده","داشت سوخته میشد","سوزانده شدند","انجام شدند","شسته شدند","شکافته شدند","شکانده شدند","شکسته شدند","شکفته شدند","شمرده شدند","شناسانده شدند","شنفته میشد","شنیده میشد","طلبیده شدی","فرساییده شدند","فرستاده شدند","فرسوده شدند","فرموده شده","فروخته شدند","داشت فریفته می شد","فشرده شده","کاسته میشد","کاشته شده","کشته شدند","کشیده شدند","گفته شده","داشت کوبیده میشد","گداخته شده است","داشت گذاشته میشد","گردانده شده","داشت گرفته میشد","گزارده شده","گزیده شدم","گسترانده شده","گسترده شده","گسسته شده","گسیخته شده","داشت گشوده میشد","داشت گفته میشد","گماشته شده است","مالیده شده","نامیده شده","داشت نگاشته میشد","نواخته میشد","نوردیده شده","نوشته شدند","نوشیده شده","نهاده شده","نهفته شده است","واگذاشته شده","وانهاده شده","افتاده شدند","ورانداخته شده","ورزیده شده","ویرایش شدند","یافته شدند","ستانده شده","آراسته شده","آزرده شد","آزموده شد","آشفته شد"," آغشته شده است","آفریده شدند","داشت آلوده میشد","داشت میآمد","آمیخته میشد","آورده میشد","آویخته شده","افتاده شده بود","افراشته شده","افروخته شده","داشت افزوده میشد","افشانده شده","داشت انباشته میشد","انداخته میشد","اندوخته میشد","برانگیخته شده","داشت بافته میشد","بخشوده شده","بخشیده شده","داشت برده میشد","برگردانده شده","برگزیده شده بود","بسته میشد","بلعیده شده","بوییده شده است","پاشیده شده است","پخته میشد","پذیرفته شدند","پراکنده میشد","پرداخته شده است","پرستیده خواهد شد","داشت پرسیده میشد","پژمرده میشد","پسندیده شده","داشت پوشیده میشد","پیچیده شده است","پیموده شده است","تافته شده","داشت تراشیده میشد","ترسانده شدند","ترکیده شده است","تکانده شده","تنیده شده است","جوشانده شده","جوشیده شده","جویده شده است","چاپیده شد","چرخیده شده","داشت چسبانده میشد","چسبیده شده","چشیده شده","داشت چیده میشد","خاسته شده","خشکیده شده","خراشیده شده","خریده شده","داشت خوانده میشد","خورده میشد","داده شده","دریده شده","داشت دزدیده میشد","داشت دوخته میشد","داشت دوشیده میشد","رانده شده","ربوده شده","رسانده شده است","رسیده شده است","ریخته شده","زاده شده است","زده شده","زدوده شده است","داشت ساخته میشد","داشت سابیده میشد","ستانده شده است","ستوده شده","سرشته شده است","سروده شوده است","داشتند سوخته میشدند","داشت سوزانده میشد","انجام میشد","شسته میشد","داشت شکافته میشد","داشت شکانده میشد","شکسته میشد","شکفته میشد","شمرده شده","شناسانده شده","داشت شنفته میشد","داشت شنیده میشد","طلبیده شد","فرساییده شده","فرستاده شده","داشت فرسوده میشد","فرموده شده است","فروخته میشد","فریفته شده","فشرده شده است","داشت کاسته میشد","کاشته شده است","کشته شده","داشت کشیده میشد","گفته شده است","کوبیده میشود","گداخته شد","گذاشته شده","گردانده شده است","گرفته شده","گزارده شده است","گزیده شدی","گسترانده شده است","گسترده شده است","گسسته شده است","گسیخته شده است","گشوده شده","گفته شده","گماشته خواهد شد","مالیده شده است","نامیده شده است","نگاشته شده","داشت نواخته میشد","نوردیده شده است","داشت نوشته میشد","نوشیده شده است","نهاده شده است","نهفته شده بود","واگذاشته شده است","وانهاده شده است","افتاده شده","ورانداخته شده است","ورزیده شده است","ویرایش شده","یافته شده","ستانده شده","آراسته شده است","آزرده شدیم","آزموده شدیم","آشفته شدیم","آغشته شده بود","آفریده شدهام","داشتند آلوده میشدند","آمیخته میشدند","آورده میشدند","آویخته شده است","افتاده شده بودند","افراشته شده است","افروخته شده است","داشتند افزوده میشدند","افشانده شده است","داشتند انباشته میشدند","انداخته میشدند","اندوخته میشدند","برانگیخته شده است","داشتند بافته میشدند","بخشوده شده است","بخشیده شده است","داشتند برده میشدند","برگردانده شده است","برگزیده خواهد شد","بسته میشدند","بلعیده شده است","پاشیده شده بود","پخته میشدند","پذیرفته شدهام","پراکنده میشدند","پرداخته شده بود","پرستیده بشود","پرسیده شده","پژمرده میشدند","پسندیده شده است","داشتند پوشیده میشدند","پیچیده شده بود","پیموده شده بود","تافته شده است","داشتند تراشیده میشدند","ترسانده شده","تکانده شده است","تنیده شده بود","جوشانده شده است","جوشیده شده است","جویده بشود","چاپیده شدیم","چرخیده شده است","چسبانده شده","چسبیده شده است","چشیده شده است","داشتند چیده میشدند","خاسته شده است","خشکیده شده است","خراشیده شده است","خریده شده است","داشتند خوانده میشدند","خورده میشدند","داده شده است","دریده شده است","دزدیده شده","داشتند دوخته میشدند","داشتند دوشیده میشدند","رانده شده است","ربوده شده است","رسانده شده بود","رسیده شده بود","ریخته شده است","زاده شده بود","زده شده است","زدوده شده بود","داشتند ساخته میشدند","داشتند سابیده میشدند","ستانده شده بود","ستوده شده است","سروده شوده بود","سوخته شده","داشتند سوزانده میشدند","انجام میشدند","شسته میشدند","داشتند شکافته میشدند","داشتند شکانده میشدند","شکسته میشدند","شکفته میشدند","شمرده شده است","شناسانده شده است","شنفته شده","شنیده شده","طلبیده شدیم","فرساییده شده است","فرستاده شده است","فرسوده شده","فروخته میشدند","فریفته شده است","فشرده شده بود","کاسته شده","کاشته شده بود","کشته شده است","کشیده شده","گفته شده بود","گذاشته شده است","گردانده بشود","گرفته شده است","گزارده شده باشد","گزیده شد","گسترانده شده بود","گسترده شده بود","گسسته شده بود","گشوده شده است","گفته شده است","مالیده میشود","نگاشته شده است","نواخته شده","دارد نوردیده میشود","داشتند نوشته میشدند","نوشیده شده بود","افتاده شده است","ورانداخته شده بود","ویرایش شده است","یافته شده است","ستانده شده بود","آراسته شده بود","آزرده شدید","آزموده شدید","آشفته شدید","آغشته شده بودند","آفریده شدهای","آلوده شده","آمده است","داشت آمیخته میشد","داشت آورده میشد","آویخته شدهاند","افتاده خواهد شد","افراشته شده بود","افروخته شده بود","افزوده شده","افشانده شده بود","انباشته شده","داشت انداخته میشد","داشت اندوخته میشد","برانگیخته شده بود","بافته شده","بخشوده شدهاند","بخشیده شده اند","برده شده","برگردانده شدهاند","داشت بسته میشد","داشت پخته میشد","پذیرفته شده","داشت پراکنده میشد","پرداخته شود","پرسیده شده است","داشت پژمرده میشد","پسندیده شده بود","پوشیده شده","پیموده خواهد شد","تافته شود","تراشیده شده","ترسانده شده است","تکانده شدهاند","جوشانده شده بود","جوشیده شده بود","چاپیده شدید","چرخیده شده بود","چسبانده شده است","چسبیده شدهاند","چشیده شده بود","چیده شده","خاسته شده بود","خشکیده شدهاند","خراشیده شده بود","خریده شده بودند","خوانده شده","داشت خورده میشد","داده شدهاند","دزدیده شده است","دوخته شده","دوشیده شده","رانده شده بود","ربوده شدهاند","رسانده میشود","رسیده خواهد شد","ریخته شده بود","زده شده بود","زدوده خواهد شد","ساخته شده","سابیده شده","ستانده شود","ستوده میشود","سوخته شده است","سوزانده شده","داشت انجام میشد","داشت شسته میشد","شکافته شده","شکانده شده","داشت شکسته میشد","داشت شکفته میشد","شمرده شده بود","شناسانده خواهد شد","شنفته شده است","شنیده شده است","طلبیده شدید","فرساییده شده بود","فرستاده شده بود","فرسوده شده است","داشت فروخته میشد","دارد فشرده میشود","کاسته شده است","کاشته شود","کشته شدهاند","کشیده شده است","گفته بشود","گذاشته شده بود","گرفته شده بود","گزیده شدیم","گسسته خواهد شد","گشوده شده بود","گفته شده بود","مالیده بشود","نواخته شده است","نوردیده بشود","نوشته شده","افتاده شده بود","ورانداخته خواهد شد","ویرایش شدهاند","یافته شدهاند","ستانده شود","آراسته شود","آزرده شدند","آزموده شدند","آشفته شدند","آفریده شده","آلوده شده است","آمدهاند","داشتند آمیخته میشدند","داشتند آورده میشدند","آویخته شده بود","افتاده خواهند شد","افراشته بشود","افروخته میشود","افزوده شده است","افشانده شده بودند","انباشته شده است","داشتند انداخته میشدند","اندوخته شده","برانگیخته شود","بافته شده است","بخشوده شود","بخشیده شود","برده شده است","برگردانده شده بود","داشتند بسته میشدند","پخته شده","پذیرفته شده است","داشتند پراکنده میشدند","پرداخته خواهد شد","پرسیده شدهاند","داشتند پژمرده میشدند","پسندیده شود","پوشیده شده است","پیموده بشود","تافته بشود","تراشیده شده است","ترسانده شدهاند","دارد جوشانده میشود","جوشیده شود","چاپیده شدند","چرخیده شده بودند","چسبانده شده بود","چسبیده شده بود","چشیده شود","چیده شده است","خشکیده خواهد شد","خراشیده شده بودند","خریده خواهد شد","خوانده شده است","داشتند خورده میشدند","داده شده بود","دزدیده شدهاند","دوخته شده است","دوشیده شده است","رانده شده باشد","ربوده شده بود","رسانده خواهد شد","رسیده شده باشد","دارد ریخته میشود","دارد زده میشود","ساخته شده است"," سابیده شده است","ستانده خواهد شد","ستوده میشوند","سوخته شدهاند","سوزانده شده است","داشتند انجام میشدند","داشتند شسته میشدند","شکافته شده است","شکانده شده است","داشتند شکسته میشدند","داشتند شکفته میشدند","شمرده شده بودند","شناسانده خواهند شد","شنفته میشود","شنیده شده بود","طلبیده شدند","فرساییده خواهد شد","فرستاده خواهد شد","فرسوده شده بود","داشتند فروخته میشدند","فشرده خواهد شد","کاسته شده بود","کاشته خواهد شد","کشته شده بود","کشیده شده بود","گرفته میشود","گزیده شدید","گشوده شده بودند","گفته شده باشد","نواخته شده بود","نوشته شده است","افتاده شده بودند","ورانداخته خواهند شد","ویرایش شده بود","یافته شده بود","ستانده خواهد شد"],{areWordsInSentence:f}=n.languageProcessing;function m(e){return f(p,e)}const{AbstractResearcher:y}=n.languageProcessing;class b extends y{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{passiveConstructionType:"morphological",language:"fa",functionWords:o,transitionWords:r,twoPartTransitionWords:a,sentenceLength:c,firstWordExceptions:i}),Object.assign(this.helpers,{createBasicWordForms:g,getStemmer:d,isPassiveSentence:m})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/default.js 0000644 00000001675 15174677550 0011471 0 ustar 00 (()=>{"use strict";var e={d:(t,s)=>{for(var r in s)e.o(s,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:s[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>o});const s=window.yoast.analysis,{baseStemmer:r}=s.languageProcessing;function n(){return r}const{AbstractResearcher:a}=s.languageProcessing;class o extends a{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,delete this.defaultResearches.getPassiveVoiceResult,delete this.defaultResearches.getSentenceBeginnings,delete this.defaultResearches.findTransitionWords,delete this.defaultResearches.functionWordsInKeyphrase,Object.assign(this.config,{functionWords:[]}),Object.assign(this.helpers,{getStemmer:n})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/ca.js 0000644 00000006723 15174677550 0010427 0 ustar 00 (()=>{"use strict";var e={d:(a,t)=>{for(var r in t)e.o(t,r)&&!e.o(a,r)&&Object.defineProperty(a,r,{enumerable:!0,get:t[r]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},a={};e.r(a),e.d(a,{default:()=>c});const t=window.yoast.analysis,r=["abans","així","alhora","aleshores","altrament","anteriorment","breument","bàsicament","contràriament","després","doncs","efectivament","endemés","especialment","evidentment","finalment","fins a","fins que","generalment","igualment","malgrat","mentre","mentrestant","parallelament","paral·lelament","però","perquè","quan","primerament","resumidament","resumint","segurament","segons això","sens dubte","sinó","sobretot","també","tanmateix"].concat(["a banda d'això","a continuació","a diferència de","a fi de","a fi que","a força de","a manera de resum","a més","a partir d'aquí","a partir d'ara","a tall d'exemple","a tall de recapitulació","a tall de resum","al capdavall","al contrari","al mateix temps","amb relació a","tot plegat","ara bé","atès que","com a conseqüència","com a exemple","com a resultat","com a resum","com que","comptat i debatut","considerant que","convé destacar","convé recalcar","convé ressaltar que","d'altra banda","d’una banda","d’una forma breu","de la mateixa manera","de manera parallela","de manera paral·lela","de manera que","de tota manera","degut a","deixant de banda","dit d'una altra manera","donat que","en a resum","en lloc de","en altres paraules","en aquest sentit","en canvi","en conclusió","en conjunt","en conseqüència","encara que","en darrer lloc","en darrer terme","en definitiva","en efecte","en general","en particular","en pocs mots","en poques paraules","en primer lloc","en relació amb","en resum","en segon lloc","en síntesi","en suma","en tercer lloc","en últim terme","és a dir","és més","és per això que","fins i tot","gràcies a","gràcies de","igual com","igual que","ja que","llevat que","més aviat","més tard","més endavant","no obstant","o sia","o sigui","òbviament","pel fet que","pel general","pel que","per acabar","per això","per altra banda","per aquest motiu","per causa de","per causa que","per cert","per començar","per concloure","per concretar","per contra","per exemple","per illustrar","per il·lustrar","per l'altra part","per l'altre cantó","per la qual cosa","per mitjà de","per posar un exemple","per raó de","per raó que","per tal de","per tal que","per tant","per últim","per un cantó","per un costat","per una altra banda","per una part","quant a","recapitulant","respecte de","s'ha de tenir en compte que","sempre que","tal com s’ha dit","tan bon punt","tan aviat com","tenint en compte que","tot i","tot seguit","val a dir","val la pena dir que","vist que"]),n=[["ara","ara"],["ni","ni"]],s={recommendedLength:25},{baseStemmer:l}=t.languageProcessing;function i(){return l}const{AbstractResearcher:o}=t.languageProcessing;class c extends o{constructor(e){super(e),delete this.defaultResearches.getFleschReadingScore,delete this.defaultResearches.getPassiveVoiceResult,delete this.defaultResearches.getSentenceBeginnings,delete this.defaultResearches.functionWordsInKeyphrase,Object.assign(this.config,{language:"ca",functionWords:[],transitionWords:r,twoPartTransitionWords:n,sentenceLength:s}),Object.assign(this.helpers,{getStemmer:i})}}(window.yoast=window.yoast||{}).Researcher=a})(); dist/languages/es.js 0000644 00000357156 15174677550 0010464 0 ustar 00 (()=>{"use strict";var a={d:(d,e)=>{for(var i in e)a.o(e,i)&&!a.o(d,i)&&Object.defineProperty(d,i,{enumerable:!0,get:e[i]})},o:(a,d)=>Object.prototype.hasOwnProperty.call(a,d),r:a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},d={};a.r(d),a.d(d,{default:()=>La});const e=window.yoast.analysis,i=["el","los","la","las","un","una","unas","unos","uno","dos","tres","cuatro","cinco","seis","siete","ocho","nueve","diez","este","estos","esta","estas","ese","esos","esa","esas","aquel","aquellos","aquella","aquellas","esto","eso","aquello"],r=["además","adicional","así","asimismo","aún","aunque","ciertamente","como","concluyendo","conque","contrariamente","cuando","decididamente","decisivamente","después","diferentemente","efectivamente","entonces","especialmente","específicamente","eventualmente","evidentemente","finalmente","frecuentemente","generalmente","igualmente","lógicamente","luego","mas","mientras","pero","por","porque","posteriormente","primero","principalmente","pronto","próximamente","pues","raramente","realmente","seguidamente","segundo","semejantemente","si","siguiente","sino","súbitamente","supongamos","también","tampoco","tercero","verbigracia","vice-versa","ya"],s=r.concat(["a causa de","a continuación","a diferencia de","a fin de cuentas","a la inversa","a la misma vez","a más de","a más de esto","a menos que","a no ser que","a pesar de","a pesar de eso","a pesar de todo","a peser de","a propósito","a saber","a todo esto","ahora bien","al contrario","al fin y al cabo","al final","al inicio","al mismo tiempo","al principio","ante todo","antes bien","antes de","antes de nada","antes que nada","aparte de","as así como","así como","así mismo","así pues","así que","así y todo","aún así","claro está que","claro que","claro que sí","como caso típico","como decíamos","como era de esperar","como es de esperar","como muestra","como resultado","como se ha notado","como sigue","comparado con","con el objeto de","con el propósito de","con que","con relación a","con tal de que","con todo","dado que","de ahí","de cierta manera","de cualquier manera","de cualquier modo","de ello resulta que","de este modo","de golpe","de hecho","de igual manera","de igual modo","de igualmanera","de la manera siguiente","de la misma forma","de la misma manera","de manera semejante","del mismo modo","de modo que","de nuevo","de otra manera","de otro modo","de pronto","de qualquier manera","de repente","de suerte que","de tal modo","de todas formas","de todas maneras","de todos modos","de veras","debido a","debido a que","del mismo modo","dentro de poco","desde entonces","después de","después de todo","ejemplo de esto","el caso es que","en aquel tiempo","en cambio","en cierto modo","en comparación con","en conclusión","en concreto","en conformidad con","en consecuencia","en consiguiente","en contraste con","en cualquier caso","en cuanto","en cuanto a","en definitiva","en efecto","en el caso de que","en este sentido","en fin","en fin de cuentas","en general","en lugar de","en otras palabras","en otro orden","en otros términos","en particular","en primer lugar","en primer término","en primera instancia","en realidad","en relación a","en relación con","en representación de","en resumen","en resumidas cuentas","en segundo lugar","en seguida","en síntesis","en suma","en todo caso","en último término","en verdad","en vez de","en virtud de","entre ellas figura","entre ellos figura","es cierto que","es decir","es evidente que","es incuestionable","es indudable","es más","está claro que","esto indica","excepto si","generalmente por ejemplo","gracias a","hasta aquí","hasta cierto punto","hasta el momento","hay que añadir","igual que","la mayor parte del tiempo","la mayoría del tiempo","lo que es peor","más tarde","mejor dicho","mientras tanto","mirándolo todo","nadie puede ignorar","no faltaría más","no obstante","o sea","otra vez","otro aspecto","para ilustrar","para concluir","para conclusión","para continuar","para empezar","para finalizar","para mencionar una cosa","para que","para resumir","para terminar","pongamos por caso","por añadidura","por cierto","por consiguiente","por ejemplo","por el consiguiente","por el contrario","por el hecho que","por eso","por esta razón","por esto","por fin","por la mayor parte","por lo general","por lo que","por lo tanto","por otro lado","por otra parte","por otro lado","por supuesto","por tanto","por último","por un lado","por una parte","primero que nada","primero que todo","pues bien","puesto que","rara vez","resulta que","sea como sea","seguidamente entre tanto","si bien","siempre que","siempre y cuando","sigue que","sin duda","sin embargo","sin ir más lejos","sobre todo","supuesto que","tal como","tales como","tan pronto como","tanto como","una vez","ya que"]);function n(a){let d=a;return a.forEach((e=>{(e=e.split("-")).length>0&&e.filter((d=>!a.includes(d))).length>0&&(d=d.concat(e))})),d}const o=["el","la","los","las","un","una","unos","unas"],c=["dos","tres","cuatro","cinco","seis","siete","ocho","nueve","diez","once","doce","trece","catorce","quince","dieciseis","diecisiete","dieciocho","diecinueve","veinte","cien","centena","mil","millon","millones"],t=["primera","segunda","tercera","cuarto","cuarta","quinto","quinta","sexto","sexta","septimo","septima","octavo","octava","noveno","novena","décimo","décima","vigésimo","vigésima","primeros","primeras","segundos","segundas","terceros","terceras","cuartos","cuartas","quintos","quintas","sextos","sextas","septimos","septimas","octavos","octavas","novenos","novenas","décimos","décimas","vigésimos","vigésimas"],l=["yo","yos","yoes","tú","él","ella","ello","nosotros","nosotras","vosotros","vosotras","ustedes","ellos","ellas"],u=["me","te","lo","se","nos","os","les"],m=["mí","ti","ud","uds","usted"],p=["conmigo","contigo","consigo"],b=["este","ese","aquel","esta","esa","aquella","estos","esos","aquellos","estas","esas","aquellas","esto","eso","aquello"],g=["mi","mis","mío","míos","mía","mías","nuestro","nuestros","nuestra","nuestras","tuyo","tuyos","tuya","tuyas","tu","tus","vuestro","vuestros","vuestra","vuestras","suyo","suyos","suya","suyas","su","sus"],z=["bastante","bastantes","mucho","muchas","mucha","muchos","más","muchísimo","muchísima","muchísimos","muchísimas","demasiado","demasiada","demasiados","demasiadas","poco","poca","pocos","pocas","menos","poquísimo","poquísima","poquísimos","poquísimas","demás","otros","otras","todo","toda","todos","todas"],f=["alguien","algo","algún","alguno","alguna","algunos","algunas","nadie","nada","ningún","ninguno","ninguna","ningunos","ningunas","tanto","tantos","tanta","tantas"],v=["cuyas","cual"],h=["cuyo"],j=["comoquiera","cualesquiera","cualquier","cuanta","cuantas","cuanto","cuantos","cuál","cuáles","cuánta","cuántas","cuánto","cuántos","cómo","dondequiera","dónde","quien","quienes","quienquiera","quién","quiénes","qué"],q=["allí","ahí","allá","aquí","acá","adónde","delante","detrás","debajo","adelante","atrás","adentro","afuera"],x=["he","has","ha","hay","hemos","habéis","han","hube","hubiste","hubo","hubimos","hubisteis","hubieron","había","habías","habíamos","habíais","habían","habría","habrías","habríais","habrían","habré","habrás","habrá","habremos","habréis","habrán","haya","hayas","hayamos","hayáis","hayan","hubiera","hubieras","hubiéramos","hubierais","hubieran","hubiese","hubieses","hubiésemos","hubieseis","hubiesen","hubiere","hubieres","hubiéremos","hubiereis","hubieren","habed","habido","debo","debes","debe","debemos","debéis","deben","debí","debiste","debió","debimos","debisteis","debieron","debía","debías","debíamos","debíais","debían","debería","deberías","deberíamos","deberíais","deberían","deberé","deberás","deberá","deberemos","deberéis","deberán","deba","debas","debamos","debáis","deban","debiera","debieras","debiéramos","debierais","debieran","debiese","debieses","debiésemos","debieseis","debiesen","debiere","debieres","debiéremos","debiereis","debieren","debed","debido","empiezo","empiezas","empieza","empezáis","empiezan","empecé","empezaste","empezó","empezamos","empezasteis","empezaron","empezaba","empezabas","empezábamos","empezabais","empezaban","empezaría","empezarías","empezaríamos","empezaríais","empezarían","empezaré","empezarás","empezará","empezaremos","empezaréis","empezarán","empiece","empieces","empecemos","empecéis","empiecen","empezara","empezaras","empezáramos","empezarais","empezaran","empezase","empezases","empezásemos","empezaseis","empezasen","empezare","empezares","empezáremos","empezareis","empezaren","empezad","empezado","comienzo","comienzas","comienza","comenzamos","comenzáis","comienzan","comencé","comenzaste","comenzó","comenzasteis","comenzaron","comenzaba","comenzabas","comenzábamos","comenzabais","comenzaban","comenzaría","comenzarías","comenzaríamos","comenzaríais","comenzarían","comenzaré","comenzarás","comenzará","comenzaremos","comenzaréis","comenzarán","comience","comiences","comencemos","comencéis","comiencen","comenzara","comenzaras","comenzáramos","comenzarais","comenzaran","comenzase","comenzases","comenzásemos","comenzaseis","comenzasen","comenzare","comenzares","comenzáremos","comenzareis","comenzaren","comenzad","comenzado","sigo","sigues","sigue","seguimos","seguis","siguen","seguí","seguiste","siguió","seguisteis","siguieron","seguía","seguías","seguíamos","seguíais","seguían","seguiría","seguirías","seguiríamos","seguiríais","seguirían","seguiré","seguirás","seguirá","seguiremos","seguiréis","seguirán","siga","sigas","sigamos","sigáis","sigan","siguiera","siguieras","siguiéramos","siguierais","siguieran","siguiese","siguieses","siguiésemos","siguieseis","siguiesen","siguiere","siguieres","siguiéremos","siguiereis","siguieren","seguid","seguido","tengo","tienes","tiene","tenemos","tenéis","tienen","tuve","tuviste","tuvo","tuvimos","tuvisteis","tuvieron","tenía","tenías","teníamos","teníais","tenían","tendría","tendrías","tendríamos","tendríais","tendrían","tendré","tendrás","tendrá","tendremos","tendréis","tendrán","tenga","tengas","tengamos","tengáis","tengan","tuviera","tuvieras","tuviéramos","tuvierais","tuvieran","tuviese","tuvieses","tuviésemos","tuvieseis","tuviesen","tuviere","tuvieres","tuviéremos","tuviereis","tuvieren","ten","tened","tenido","ando","andas","andamos","andáis","andan","anduve","anduviste","anduvo","anduvimos","anduvisteis","anduvieron","andaba","andabas","andábamos","andabais","andaban","andaría","andarías","andaríamos","andaríais","andarían","andaré","andarás","andará","andaremos","andaréis","andarán","ande","andes","andemos","andéis","anden","anduviera","anduvieras","anduviéramos","anduvierais","anduvieran","anduviese","anduvieses","anduviésemos","anduvieseis","anduviesen","anduviere","anduvieres","anduviéremos","anduviereis","anduvieren","andad","andado","quedo","quedas","queda","quedamos","quedáis","quedan","quedé","quedasteis","quedaron","quedaba","quedabas","quedábamos","quedabais","quedaban","quedaría","quedarías","quedaríamos","quedaríais","quedarían","quedaré","quedarás","quedará","quedaremos","quedaréis","quedarán","quede","quedes","quedemos","quedéis","queden","quedara","quedaras","quedáramos","quedarais","quedaran","quedase","quedases","quedásemos","quedaseis","quedasen","quedare","quedares","quedáremos","quedareis","quedaren","quedad","quedado","hallo","hallas","halla","hallamos","halláis","hallan","hallé","hallaste","halló","hallasteis","hallaron","hallaba","hallabas","hallábamos","hallabais","hallaban","hallaría","hallarías","hallaríamos","hallaríais","hallarían","hallaré","hallarás","hallará","hallaremos","hallaréis","hallarán","halle","halles","hallemos","halléis","hallen","hallara","hallaras","halláramos","hallarais","hallaran","hallase","hallases","hallásemos","hallaseis","hallasen","hallare","hallares","halláremos","hallareis","hallaren","hallad","hallado","vengo","vienes","viene","venimos","venis","vienen","vine","viniste","vino","vinimos","vinisteis","vinieron","venía","vanías","verníamos","veníais","venían","vendría","vendrías","vendríamos","vendíais","vendrían","vendré","vendrás","vendrá","vendremos","vendréis","vendrán","venga","vengas","vengamos","vengáis","vengan","viniera","vinieras","viniéramos","vinierais","vinieran","viniese","vinieses","viniésemos","vinieseis","viniesen","viniere","vinieres","viniéremos","viniereis","vinieren","ven","venid","venido","abro","abres","abre","abrismos","abrís","abren","abrí","abriste","abrió","abristeis","abrieron","abría","abrías","abríais","abrían","abriría","abrirías","abriríamos","abriríais","abrirían","abriré","abrirás","abrirá","abriremos","abriréis","abrirán","abra","abras","abramos","abráis","abran","abriera","abrieras","abriéramos","abrierais","abrieran","abriese","abrieses","abriésemos","abrieseis","abriesen","abriere","abrieres","abriéremos","abriereis","abrieren","abrid","abierto","voy","vas","va","vamos","vais","van","iba","ibas","íbamos","ibais","iban","iría","irías","iríamos","iríais","irían","iré","irás","irá","iremos","iréis","irán","vaya","vayas","vayamos","vayáis","vayan","ve","id","ido","acabo","acabas","acaba","acabamos","acabáis","acaban","acabé","acabaste","acabó","acabasteis","acabaron","acababa","acababas","acabábamos","acababais","acababan","acabaría","acabarías","acabaríamos","acabaríais","acabarían","acabaré","acabarás","acabará","acabaremos","acabaréis","acabarán","acabe","acabes","acabemos","acabéis","acaben","acabara","acabaras","acabáramos","acabarais","acabaran","acabase","acabases","acabásemos","acabaseis","acabasen","acabare","acabares","acabáremos","acabareis","acabaren","acabad","acabado","llevo","llevas","lleva","llevamos","lleváis","llevan","llevé","llevaste","llevó","llevasteis","llevaron","llevaba","llevabas","llevábamos","llevabais","llevaban","llevaría","llevarías","llevaríamos","llevaríais","llevarían","llevaré","llevarás","llevará","llevaremos","llevaréis","llevarán","lleve","lleves","llevemos","llevéis","lleven","llevara","llevaras","lleváramos","llevarais","llevaran","llevase","llevases","llevásemos","llevaseis","llevasen","llevare","llevares","lleváremos","llevareis","llevaren","llevad","llevado","alcanzo","alcanzas","alcanza","alcanzamos","alcanzáis","alcanzan","alcancé","alcanzaste","alcanzó","alcanzasteis","alcanzaron","alcanzaba","alcanzabas","alcanzábamos","alcanzabais","alcanzaban","alcanzaría","alcanzarías","alcanzaríamos","alcanzaríais","alcanzarían","alcanzaré","alcanzarás","alcanzará","alcanzaremos","alcanzaréis","alcanzarán","alcance","alcances","alcancemos","alcancéis","alcancen","alcanzara","alcanzaras","alcanzáramos","alcanzarais","alcanzaran","alcanzase","alcanzases","alcanzásemos","alcanzaseis","alcanzasen","alcanzare","alcanzares","alcanzáremos","alcanzareis","alcanzaren","alcanzad","alcanzado","digo","dices","dice","decimos","decís","dicen","dije","dijiste","dijo","dijimos","dijisteis","dijeron","decía","decías","decíamos","decíais","decían","diría","dirías","diríamos","diríais","dirían","diré","dirás","dirá","diremos","diréis","dirán","diga","digas","digamos","digáis","digan","dijera","dijeras","dijéramos","dijerais","dijeran","dijese","dijeses","dijésemos","dijeseis","dijesen","dijere","dijeres","dijéremos","dijereis","dijeren","di","decid","dicho","continúo","continúas","continúa","continuamos","continuáis","continúan","continué","continuaste","continuó","continuasteis","continuaron","continuaba","continuabas","continuábamos","continuabais","continuaban","continuaría","continuarías","continuaríamos","continuaríais","continuarían","continuaré","continuarás","continuará","continuaremos","continuaréis","continuarán","continúe","continúes","continuemos","continuéis","continúen","continuara","continuaras","continuáramos","continuarais","continuaran","continuase","continuases","continuásemos","continuaseis","continuasen","continuare","continuares","continuáremos","continuareis","continuaren","continuad","continuado","resulto","resultas","resulta","resultamos","resultáis","resultan","resulté","resultaste","resultó","resultasteis","resultaron","resultaba","resultabas","resultábamos","resultabais","resultaban","resultaría","resultarías","resultaríamos","resultaríais","resultarían","resultaré","resultarás","resultará","resultaremos","resultaréis","resultarán","resulte","resultes","resultemos","resultéis","resulten","resultara","resultaras","resultáramos","resultarais","resultaran","resultase","resultases","resultásemos","resultaseis","resultasen","resultare","resultares","resultáremos","resultareis","resultaren","resultad","resultado","puedo","puedes","puede","podemos","podéis","pueden","pude","pudiste","pudo","pudimos","pudisteis","pudieron","podía","podías","podíamos","podíais","podían","podría","podrías","podríamos","podríais","podrían","podré","podrás","podrá","podremos","podréis","podrán","pueda","puedas","podamos","podáis","puedan","pudiera","pudieras","pudiéramos","pudierais","pudieran","pudiese","pudieses","pudiésemos","pudieseis","pudiesen","pudiere","pudieres","pudiéremos","pudiereis","pudieren","poded","podido","quiero","quieres","quiere","queremos","queréis","quieren","quise","quisiste","quiso","quisimos","quisisteis","quisieron","quería","querías","queríamos","queríais","querían","querría","querrías","querríamos","querríais","querrían","querré","querrás","querrá","querremos","querréis","querrán","quiera","quieras","queramos","queráis","quieran","quisiera","quisieras","quisiéramos","quisierais","quisieran","quisiese","quisieses","quisiésemos","quisieseis","quisiesen","quisiere","quisieres","quisiéremos","quisiereis","quisieren","quered","querido","sabes","sabe","sabemos","sabéis","saben","supe","supiste","supo","supimos","supisteis","supieron","sabía","sabías","sabíamos","sabíais","sabían","sabría","sabrías","sabríamos","sabríais","sabrían","sabré","sabrás","sabrá","sabremos","sabréis","sabrán","sepa","sepas","sepamos","sepáis","sepan","supiera","supieras","supiéramos","supierais","supieran","supiese","supieses","supiésemos","supieseis","supiesen","supiere","supieres","supiéremos","supiereis","supieren","sabed","sabido","suelo","sueles","suele","solemos","soléis","suelen","solí","soliste","solió","solimos","solisteis","solieron","solía","solías","solíamos","solíais","solían","solería","solerías","soleríamos","soleríais","solerían","soleré","solerás","solerá","soleremos","soleréis","solerán","suela","suelas","solamos","soláis","suelan","soliera","solieras","soliéramos","solierais","solieran","soliese","solieses","soliésemos","solieseis","soliesen","soliere","solieres","soliéremos","soliereis","solieren","soled","solido","necesito","necesitas","necesitamos","necesitáis","necesitan","necesité","necesitaste","necesitó","necesitasteis","necesitaron","necesitaba","necesitabas","necesitábamos","necesitabais","necesitaban","necesitaría","necesitarías","necesitaríamos","necesitaríais","necesitarían","necesitaré","necesitarás","necesitará","necesitaremos","necesitaréis","necesitarán","necesite","necesites","necesitemos","necesitéis","necesiten","necesitara","necesitaras","necesitáramos","necesitarais","necesitaran","necesitase","necesitases","necesitásemos","necesitaseis","necesitasen","necesitare","necesitares","necesitáremos","necesitareis","necesitaren","necesita","necesitad","necesitado"],y=["haber","deber","empezar","comenzar","seguir","tener","andar","quedar","hallar","venir","abrir","ir","acabar","llevar","alcanzar","decir","continuar","resultar","poder","querer","saber","soler","necesitar"],w=["estoy","estás","está","estamos","estáis","están","estuve","estuviste","estuvo","estuvimos","estuvisteis","estuvieron","estuba","estabas","estábamos","estabais","estaban","estraría","estarías","estaríamos","estaríais","estarían","estaré","estarás","estará","estaremos","estaréis","estarán","esté","estés","estemos","estéis","estén","estuviera","estuviese","estuvieras","estuviéramos","estuvierais","estuvieran","estuvieses","estuviésemos","estuvieseis","estuviesen","estuviere","estuvieres","estuviéremos","estuviereis","estuvieren","estad","estado"],k=["soy","eres","es","somos","sois","son","fui","fuiste","fuimos","fuisteis","fueron","era","eras","éramos","erais","eran","sería","serías","seríamos","seríais","serían","seré","serás","seremos","seréis","serán","sea","seas","seamos","seáis","sean","fueras","fuéramos","fuerais","fueran","fuese","fueses","fuésemos","fueseis","fuesen","fuere","fueres","fuéremos","fuereis","fueren","sé","sed","sido"],S=["estar"],P=["ser"],T=["a","ante","abajo","adonde","al","allende","alrededor","amén","antes","arriba","aun","bajo","cabe","cabo","con","contigo","contra","de","dejante","del","dentro","desde","donde","durante","en","encima","entre","excepto","fuera","hacia","hasta","incluso","mediante","más","opuesto","par","para","próximo","salvo","según","sin","so","sobre","tras","versus","vía"],O=["cerca"],W=["o","y","entonces","e","u","ni","bien","ora"],R=["igual"],E=["apenas","segun","que"],L=["apunto","apunta","confieso","confiesa","confesaba","revelado","revelo","revela","revelaba","declarado","declaro","declara","declaba","señalo","señala","señalaba","declaraba","comento","comenta"],A=["muy","tan","completamente","suficiente","tal","tales"],C=["hago","haces","hace","hacemos","hacéis","hacen","hice","hiciste","hizo","hicimos","hicisteis","hicieron","hacía","hacías","hacíamos","hacíais","hacían","haría,","harías","haríamos","haríais","harían","haré","harás","hará","haremos","haréis","harán","haga","hagas","hagamos","hagáis","hagan","hiciera","hicieras","hiciéramos","hicierais","hicieran","hiciese","hicieses","hiciésemos","hicieseis","hiciesen","hiciere","hicieres","hiciéremos","hiciereis","hicieren","haz","haced","hecho","parezco","pareces","parece","parecemos","parecéis","parecen","parecí","pareciste","pareció","parecimos","parecisteis","parecieron","parecía","parecías","parecíamos","parecíais","parecían","parecería","parecerías","pareceríamos","pareceríais","parecerían","pareceré","parecerás","parecerá","pareceremos","pareceréis","parecerán","parezca","parezcas","parezcamos","parezcáis","parezcan","pareciera","parecieras","pareciéramos","parecierais","parecieran","pareciese","parecieses","pareciésemos","parecieseis","pareciesen","pareciere","parecieres","pareciéremos","pareciereis","parecieren","pareced","parecido","iba","ibais","iban","ibas","id","ido","iremos","irá","irán","irás","iré","iréis","iría","iríais","iríamos","irían","irías","va","vais","vamos","van","vas","vaya","vayamos","vayan","vayas","vayáis","ve","voy","yendo","íbamos"],M=["hacer","parecer","ir"],F=["enfrente","claro","bueno","mejor","mejores","buena","buenos","buenas","óptimo","óptimos","óptimas","bonísimo","bonísima","bonísimos","bonísimas","buenísimo","buenísima","buenísimos","buenísimas","buenérrimo","buenérrima","buenérrimos","buenérrimas","nuevo","nueva","nuevos","nuevas","novísimo","novísima","novísimos","novísimas","nuevísimo","nuevísima","nuevísimos","nuevísimas","viejo","viejos","vieja","viejas","anterior","grande","gran","grandes","mayores","mayor","máximo","máxima","grandísimo","grandísima","máximos","máximas","grandísimos","grandísimas","fácil","fáciles","rápido","rápida","rápidos","rápidas","lejos","lejas","lejote","lejotes","difícil","difíciles","propio","propios","propia","propias","largo","larga","largos","largas","bajos","baja","bajas","inferior","ínfimo","ínfima","ínfimos","ínfimas","bajísimo","bajísima","bajísimos","bajísimas","alto","alta","altos","altas","superior","superiores","supremo","suprema","supremos","supremas","sumo","suma","sumos","sumas","altísimo","altísima","altísimos","altísimas","regular","regulares","normal","pequeño","pequeña","pequeños","pequeñas","menor","pequeñísimo","pequeñísima","pequeñísimos","pequeñísimas","mínimo","mínima","mínimos","mínimas","diminuta","diminuto","diminutas","diminutos","chiquitito","chiquititos","chiquitita","chiquititas","corta","corto","cortas","cortos","principal","principales","mismo","mismos","misma","mismas","capaz","capaces","cierta","cierto","ciertas","ciertos","certísimos","certísimas","ciertísimo","ciertísima","ciertísimos","ciertísimas","llamado","llamada","llamados","llamadas","mayormente","reciente","recientes","completa","completo","completas","completos","absoluta","absoluto","absolutas","absolutos","últimamente","posible","común","comúnes","comúnmente","constantemente","continuamente","directamente","fácilmente","casi","ligeramente","estima","estimada","estimado","aproximada","aproximadamente","última","últimas","último","últimos","diferente","diferentes","similar","mal","malo","malos","mala","malas","peor","pésimo","pésima","malísimo","malísima","pésimos","pésimas","malísimos","malísimas","perfectamente","excelente","final","general"],B=["ah","eh","ejem","ele","achís","adiós","agur","ajá","ajajá","ala","alá","albricias","aleluya","alerta","alirón","aló","amalaya","ar","aro","arrarray","arre","arsa","atatay","aúpa","ax","ay","ayayay","bah","banzai","barajo","bla","bravo","buf","bum","ca","caguendiós","canastos","caracho","caracoles","carajo","caramba","carape","caray","cáscaras","cáspita","cataplum","ce","chao","chau","che","chis","chist","chitón","cho","chucho","chus","cielos","clo","coche","cochi","cojones","concho","coño","córcholis","cuchí","cuidado","cuz","demonio","demontre","despacio","diablo","diantre","dios","ea","epa","equilicuá","estúpido","eureka","evohé","exacto","fantástico","firmes","fo","forte","gua","gualá","guarte","guay","hala","hale","he","hi","hin","hola","hopo","huesque","huiche","huichó","huifa","hurra","huy","ja","jajajá","jajay","jaque","jau","jo","jobar","joder","jolín","jopo","leñe","listo","malhayas","mamola","mecachis","miéchica","mondo","moste","mutis","nanay","narices","oh","ojalá","ojo","okay","ole","olé","órdiga","oste","ostras","ox","oxte","paf","pardiez","paso","pucha","puf","puff","pumba","puñeta","quia","quiúbole","recórcholis","rediez","rediós","salve","sanseacabó","sniff","socorro","ta","tararira","tate","tururú","uf","uh","ui","upa","uste","uy","victoria","vítor","viva","za","zambomba","zapateta","zape","zas"],N=["kg","mg","gr","g","km","m","l","ml","cl"],D=["minuto","minutos","hora","horas","día","días","semana","semanas","mes","meses","año","años","hoy","mañana","ayer"],V=["cosa","cosas","manera","maneras","caso","casos","pieza","piezas","vez","veces","parte","partes","porcentaje","instancia","aspecto","aspectos","punto","puntos","objeto","objectos","persona","personas"],_=["no","euros","sí","síes","noes"],I=(n(F),n([].concat(t,y,S,P,M)),n([].concat(o,T,W,b,A,z,g)),n([].concat(r,l,u,m,p,B,c,x,w,k,L,C,f,R,E,v,h,j,q,_,O,N,D,V)),n([].concat(o,T,u,g,f,j,c,t,C,M,L,v,h,p,m,O))),J=n([].concat(w,S)),G=n([].concat(o,c,t,b,g,l,p,m,u,z,f,v,h,j,q,O,x,y,w,k,S,P,T,W,R,E,L,r,["básicamente","esencialmente","primeramente","siempre","nunca","ahora","quizá","acaso","inclusive","probablemente","verdaderamente","seguramente","jamás","obviamente","indiscutiblement","inmediatamente","previamente"],A,C,M,B,F,N,V,_,D,["sra","sras","srta","sr","sres","dra","dr","profa","prof"],["jr","sr"])),H=["pero","ora","aunque","aun","mientras","porque","apenas","si","antes","después","cómo","como","empero","que","cuanto","cuando","cual","cuales","quién","quien","quienes","dónde","adónde","cuyo","cuyos","cuya","cuyas"],K=[["de un lado","de otra parte"],["de un lado","de otro"],["no","sino que"],["no","sino"],["por un lado","por otro lado"],["por una parte","por otra parte"],["por una parte","por otra"],["tanto","como"],["bien","bien"]],Q=JSON.parse('{"vowels":"aeiouáéíóúü","deviations":{"vowels":[{"fragments":["i[ií]","[íú][aeo]","o[aáeéíóú]","uu","flu[iea]","ru[ie]","eio","eu[aá]","oi[aó]","[iu]ei","ui[éu]","^anti[aeoá]","^zoo","coo","microo"],"countModifier":1},{"fragments":["[eéó][aáeéíoóú]"],"countModifier":1},{"fragments":["[aáü][aáeéiíoóú]","eoi","oeu","[eu]au"],"countModifier":1}],"words":{"full":[{"word":"scooter","syllables":2},{"word":"y","syllables":1},{"word":"beat","syllables":1},{"word":"via","syllables":2},{"word":"ok","syllables":2}],"fragments":{"global":[{"word":"business","syllables":2},{"word":"coach","syllables":1},{"word":"reggae","syllables":2},{"word":"mail","syllables":1},{"word":"airbag","syllables":2},{"word":"affaire","syllables":2},{"word":"training","syllables":2},{"word":"hawaian","syllables":3},{"word":"saharaui","syllables":3},{"word":"nouveau","syllables":2},{"word":"chapeau","syllables":2},{"word":"free","syllables":1},{"word":"green","syllables":1},{"word":"jeep","syllables":1},{"word":"toffee","syllables":2},{"word":"tweet","syllables":1},{"word":"tweed","syllables":1},{"word":"semiautomátic","syllables":6},{"word":"estadou","syllables":4},{"word":"broadway","syllables":2},{"word":"board","syllables":1},{"word":"load","syllables":1},{"word":"roaming","syllables":2},{"word":"heavy","syllables":2},{"word":"break","syllables":1}]}}}}'),U={recommendedLength:25},X=["ababillad","abacorad","abadernad","abajad","abalanzad","abaldonad","abalead","abaluartad","abanad","abancalad","abanderad","abanderizad","abandonad","abanicad","abañad","abaratad","abarbetad","abarcad","abarload","abarquillad","abarracad","abarrad","abarrotad","abastad","abastardad","abastecid","abastionad","abatanad","abatatad","abatid","abatojad","abdicad","abducid","abejead","abejonead","abejorread","abeldad","abemolad","aberrad","abetunad","abiert","abigarrad","abisagrad","abismad","abjurad","ablacionad","ablandad","abluid","abnegad","abobad","abocad","abocetad","abochornad","abocinad","abofad","abofetead","abogad","abolid","abollad","abombad","abominad","abonad","abordad","aborrascad","aborrecid","aborregad","abortad","abotagad","abotargad","abotonad","abovedad","aboyad","abracad","abrasad","abrazad","abrevad","abreviad","abribonad","abrigad","abrillantad","abrochad","abrogad","abroncad","abrotoñad","abrumad","abscedid","abscondid","absolutizad","absorbid","abstenid","abstergid","abstraíd","absuelt","abuchead","abultad","abundad","abuñolad","aburguesad","aburrid","aburujad","abusad","acabad","acaballad","acachetead","academizad","acaecid","acairelad","acalambrad","acalenturad","acallad","acalmad","acalorad","acamad","acampad","acampanad","acanalad","acantilad","acantonad","acañonead","acaparad","acaramelad","acardenalad","acariciad","acarread","acartonad","acastillad","acatad","acatarrad","acaudillad","accedid","accesad","accidentad","accionad","acechad","acedad","aceitad","acelerad","acendrad","acensad","acensuad","acentuad","acepillad","aceptad","acerad","acercad","acerrojad","acertad","acervad","acetad","acetificad","acezad","achacad","achaflanad","achantad","achaparrad","achatad","achatarrad","achicad","achicharrad","achicopalad","achinad","achispad","achocolatad","acholad","achorad","achuchad","acibarad","acicalad","acicatead","acidificad","acidulad","aciemad","acitronad","aclamad","aclarad","aclimatad","acobardad","acobijad","acodad","acoderad","acogid","acogotad","acojinad","acojonad","acolad","acolchad","acolchonad","acolitad","acollad","acollarad","acometid","acomodad","acompañad","acompasad","acomplejad","acondicionad","aconductad","acongojad","aconsejad","acontecid","acopiad","acoplad","acoquinad","acorad","acorazad","acorchad","acordad","acordonad","acorralad","acorrid","acortad","acosad","acostad","acostumbrad","acotad","acotejad","acotolad","acovachad","acrecentad","acrecid","acreditad","acreíd","acremad","acrianzad","acribillad","acriminad","acrisolad","acristalad","activad","actuad","actualizad","acuantiad","acuarelad","acuartelad","acuatizad","acuchillad","acuciad","acuclillad","acudid","acuerpad","acuitad","aculad","aculebrad","aculturad","acumulad","acunad","acuñad","acurrucad","acusad","adamad","adamascad","adaptad","adarvad","adecentad","adecuad","adehesad","adelantad","adelgazad","ademad","adentrad","aderezad","adestrad","adeudad","adherid","adiad","adicionad","adiestrad","adietad","adinerad","adivinad","adjetivad","adjudicad","adjuntad","administrad","admirad","admitid","adobad","adocenad","adoctrinad","adolecid","adoptad","adoquinad","adorad","adormecid","adormid","adormilad","adornad","adosad","adquirid","adscript","adscrit","aducid","adueñad","adujad","adulad","adulterad","adurid","advenid","adverad","adversad","advertid","advocad","adyacid","aerad","aerografiad","aerotransportad","afamad","afanad","afantasmad","afead","afectad","afeitad","afelpad","afeminad","aferrad","afianzad","aficionad","afiebrad","afilad","afiliad","afiligranad","afinad","afincad","afirmad","aflamencad","afligid","aflojad","aflorad","afluid","aforad","aforrad","afortunad","afrancesad","afrentad","africanizad","afrontad","agachad","agarrad","agarrotad","agasajad","agavillad","agazapad","agenciad","agendad","agermanad","aggiornad","agigantad","agilipollad","agilizad","agitad","agitanad","aglomerad","aglutinad","agobiad","agolpad","agonizad","agorad","agostad","agotad","agraciad","agradad","agradecid","agrandad","agravad","agraviad","agredid","agregad","agremiad","agriad","agrietad","agringad","agripad","agrisad","agrumad","agrupad","aguad","aguaitad","aguantad","aguapad","aguardad","agudizad","agüevad","aguijad","aguijonead","aguisad","agüitad","agujerad","agujeread","agusanad","aguzad","ahajad","ahechad","aherrojad","aherrumbrad","ahijad","ahilad","ahincad","ahinojad","ahitad","ahogad","ahondad","ahorcad","ahorcajad","ahormad","ahorquillad","ahorrad","ahuecad","ahumad","ahusad","ahuyentad","airad","airead","aislad","ajad","ajamonad","ajardinad","ajetread","ajuarad","ajuntad","ajustad","ajusticiad","alabad","alabead","alaciad","alambicad","alambrad","alampad","alancead","alardead","alargad","alarmad","albead","albergad","alboread","alborotad","alborozad","alburead","alcahuetead","alcalinizad","alcanforad","alcantarillad","alcanzad","alcoholad","alcoholizad","alcorzad","alead","aleatorizad","alebrestad","aleccionad","alechugad","alegad","alegorizad","alegrad","alejad","alelad","alentad","alertad","aletargad","aletead","alevantad","alfabetizad","alfalfad","alfombrad","algodonad","alhajad","aliad","alicatad","alienad","aligerad","alijad","alijarad","alimentad","alindad","alinead","aliñad","alisad","alistad","aliviad","alivianad","allanad","allegad","almacenad","almagrad","almenad","almendrad","almibarad","almidonad","almizclad","almohadillad","almohazad","almorzad","alocad","alojad","alongad","alquilad","alquitarad","alquitranad","altead","alterad","altercad","alternad","aluciflipad","alucinad","aludid","alumbrad","alunizad","aluzad","alzad","amacollad","amad","amadrinad","amaestrad","amagad","amainad","amaitinad","amalgamad","amamantad","amancebad","amancillad","amanecid","amanerad","amansad","amanzanad","amañad","amarad","amargad","amariconad","amarillead","amarillecid","amarizad","amarrad","amartelad","amartillad","amartizad","amasad","amasijad","ambicionad","ambientad","amblad","ambulad","amedrentad","amelcochad","amenazad","amenguad","amenizad","americanizad","ameritad","amerizad","ametrallad","amigad","amilanad","aminorad","amistad","amnistiad","amoblad","amodorrad","amohinad","amojamad","amojonad","amolad","amoldad","amonad","amonedad","amonestad","amontonad","amoratad","amordazad","amorrad","amortajad","amortiguad","amortizad","amoscad","amostazad","amotinad","amovid","amparad","ampliad","amplificad","ampollad","amputad","amueblad","amurad","amurallad","amurrad","amusgad","anadead","analizad","anarquizad","anastomosad","anatematizad","anchad","anclad","ancorad","andad","andaluzad","andamiad","aneblad","anegad","anestesiad","anexad","anexionad","anglicanizad","anglificad","angostad","angulad","angustiad","anhelad","anidad","anihilad","anillad","animad","animalizad","aniñad","aniquilad","anisad","anochecid","anodizad","anonadad","anonimizad","anotad","anoticiad","anquilosad","ansiad","antagonizad","antecedid","antecogid","antedatad","antedich","antepagad","antepasad","antepuest","antevenid","antevist","anticipad","anticuad","antiguad","antojad","antologad","antologizad","antropizad","antropomorfizad","anualizad","anublad","anudad","anulad","anunciad","añadid","añejad","añorad","añublad","añudad","aojad","aovad","apabullad","apacentad","apachad","apachurrad","apaciguad","apadrinad","apagad","apalabrad","apalancad","apalead","apalizad","apanad","apandad","apaniguad","apantallad","apañad","apapachad","aparad","aparatad","aparcad","aparead","aparecid","aparejad","aparentad","apartad","apasionad","apatrullad","apayasad","apead","apechugad","apedazad","apedrad","apedread","apegad","apelad","apellidad","apelmazad","apelotad","apelotonad","apenad","apencad","apercibid","aperrad","aperread","apersonad","apertrechad","aperturad","apesadumbrad","apesarad","apestad","apetecid","apiadad","apilad","apiñad","apiolad","apipad","apisonad","aplacad","aplanad","aplanchad","aplastad","aplatanad","aplaudid","aplazad","aplegad","aplicad","aplomad","apocad","apocopad","apodad","apoderad","apolillad","apoltronad","apoquinad","aporread","aportad","aposentad","apostad","apostatad","apostillad","apostrofad","apoyad","apreciad","aprehendid","apremiad","aprendid","apresad","aprestad","apresurad","apretad","apretujad","apriscad","aprisionad","aprobad","aproblemad","aprontad","apropiad","apropriad","aprovechad","aprovisionad","aproximad","aptad","apuest","apuntad","apuntalad","apuntillad","apuñalad","apurad","aquejad","aquerenciad","aquietad","aquilatad","arabizad","arad","arañad","araucanizad","arbitrad","arbolad","arborizad","archivad","arcillad","ardid","arenad","arengad","argentad","argüendead","argüid","argumentad","arietad","armad","armonizad","aromad","aromatizad","arpegiad","arponad","arponead","arquead","arrabalizad","arracimad","arraigad","arramblad","arramplad","arrancad","arranchad","arrasad","arrastrad","arread","arrebañad","arrebatad","arrebolad","arrebujad","arreciad","arrecid","arredrad","arregazad","arreglad","arrejuntad","arrellanad","arremangad","arrematad","arremedad","arremetid","arremolinad","arrempujad","arrendad","arrepentid","arrestad","arriad","arribad","arriesgad","arrimad","arrinconad","arriostrad","arriscad","arrobad","arrodillad","arrogad","arrojad","arrollad","arromad","arropad","arrostrad","arroyad","arruad","arrugad","arruinad","arrullad","arrumad","arrumbad","articulad","artillad","aruñad","asad","asaetead","asalariad","asaltad","ascendid","asead","asechad","asediad","asegurad","asemejad","asenderead","asentad","asentid","aserrad","aserruchad","asesinad","asesorad","asestad","aseverad","asfaltad","asfixiad","asid","asignad","asilad","asilvestrad","asimilad","asistid","asociad","asolad","asolead","asomad","asombrad","asonantad","asordad","aspad","asperjad","aspirad","asquead","astillad","astreñid","astringid","astriñid","asturianizad","asumid","asustad","atacad","atad","atajad","atalayad","atañid","atarantad","atarazad","ataread","atarragad","atarugad","atascad","ataviad","atemorizad","atemperad","atenacead","atenazad","atendid","atenid","atentad","atenuad","aterid","aterrad","aterrazad","aterrizad","aterrorizad","atesad","atesorad","atestad","atestiguad","atezad","atiborrad","atiesad","atildad","atinad","atirantad","atisbad","atizad","atollad","atolondrad","atomizad","atontad","atorad","atorgad","atormentad","atornillad","atorrad","atosigad","atracad","atragantad","atraíd","atraillad","atrancad","atrapad","atrasad","atravesad","atreguad","atrevid","atribuid","atribulad","atrincherad","atrofiad","atrojad","atronad","atropad","atropellad","atufad","aturad","aturdid","aturrullad","aturullad","atusad","audicionad","auditad","augmentad","augurad","aullad","aumentad","aunad","aupad","aureolad","auscultad","ausentad","auspiciad","autenticad","autentificad","autoabastecid","autoadiestrad","autoadministrad","autoafirmad","autoaislad","autoalimentad","autoanalizad","autoaplicad","autoasignad","autobautizad","autobloquead","autobombead","autocalificad","autocensurad","autocompletad","autoconducid","autoconsiderad","autoconsumid","autoconvocad","autocoronad","autocorregid","autocremad","autodeclarad","autodefendid","autodefinid","autodelatad","autodenominad","autodescartad","autodescript","autodescrit","autodestruid","autodeterminad","autodirigid","autodisuelt","autoeditad","autoeliminad","autoengañad","autoensamblad","autoevacuad","autoevaluad","autoexcluid","autoexigid","autoexiliad","autoexplotad","autofinanciad","autogestionad","autogobernad","autografiad","autoidentificad","autoimpuest","autoinculpad","autoinmolad","autolesionad","autolimitad","automarginad","automatizad","automedicad","automejorad","automutilad","autonombrad","autonomizad","autopagad","autoparodiad","autopreparad","autopresentad","autoproclamad","autoproducid","autoprogramad","autopromocionad","autopropagad","autoprotegid","autopublicad","autoreconocid","autoregulad","autorizad","autorrealizad","autorreconocid","autorregulad","autorreportad","autorreproducid","autorretratad","autosabotead","autotitulad","auxiliad","avalad","avalentad","avalorad","avaluad","avanzad","avasallad","avecinad","avecindad","avellanad","avenid","aventad","aventajad","aventurad","averad","avergonzad","averiad","averiguad","avezad","aviad","avinagrad","avisad","avispad","avistad","avituallad","avivad","avizorad","avocad","avulsionad","ayudad","ayunad","ayuntad","ayustad","azadonad","azafranad","azarad","azogad","azolvad","azorad","azotad","azucarad","azufrad","azulad","azulead","azulejad","azuzad","babead","babosead","bachaquead","bachead","badajead","bailad","bailotead","bajad","bajonead","balacead","balad","balancead","balbucead","balbucid","balcanizad","balconead","baldad","baldead","balead","balizad","balotad","balsead","bambolead","banalizad","bancad","bancarizad","bandead","banderillead","banead","banquetead","bañad","baptizad","baquetead","baquiad","barajad","barajead","baratad","barbad","barbarizad","barbechad","barbotad","barbotead","baremad","barequead","barloventead","barnizad","barrad","barread","barrenad","barretead","barrid","barritad","barruntad","basad","basculad","bastad","bastardead","bastid","bastonead","basuread","batallad","batead","batid","bautizad","baylad","beatificad","bebid","becad","becerread","bendecid","bendit","beneficiad","berread","besad","besucad","besuquead","bichead","bifurcad","bilateralizad","binad","bioacumulad","bioconcentrad","biodegradad","biodiversificad","biofortificad","biografiad","biosintetizad","birlad","bisad","bisbisad","bisecad","biselad","bizcad","bizmad","bizquead","blandead","blandid","blanquead","blanquecid","blasfemad","blasonad","blindad","blocad","blofead","bloguead","bloquead","bobead","bobinad","bochad","bocinad","bofetead","bogad","boicotead","bojad","bojead","bolead","boletead","boletinad","bolivianizad","bolsead","bombardead","bombead","bonificad","bootead","boquead","borbollad","borbotad","borbotead","bordad","bordead","bordonead","borrad","borrajead","borronead","bosad","bosquejad","bostezad","botad","botanizad","botead","botonad","botonead","boxead","boyad","bracead","bramad","brasead","bread","bregad","brezad","bridad","brillad","brincad","brindad","britanizad","brizad","bromead","broncead","brotad","brujulead","bruñid","brutalizad","bucead","buelt","bufad","bufonead","buitread","bulead","bullid","burbujead","burilad","burlad","burocratizad","buscad","buzad","buzonead","bypasead","cabalgad","cabecead","cabestrad","cabestread","cabid","cabildead","cabizbajad","cablead","cablegrafiad","cabrahigad","cabread","cabrestead","cabrillead","cabriolad","cabriolead","çabullid","caçad","cacaread","cachad","cachead","cachetead","cachimbead","cachiporread","cachondead","cachuread","caducad","cafichad","cafichead","cagad","caíd","cairelad","cajonead","calabriad","calad","calafatead","calcad","calcetad","calcificad","calcinad","calculad","caldead","calefaccionad","calefactad","calendarizad","calentad","calibrad","calificad","caligrafiad","callad","callejead","calmad","calumniad","calzad","cambalachad","cambalachead","cambiad","camelad","caminad","camorread","camotead","campad","campanead","campead","campeonad","camuflad","camuflajead","canalizad","cancanead","cancelad","cancerad","candad","candidatad","candidatead","candidatizad","canead","canibalizad","canjead","canonizad","cansad","cantad","cantead","cantinflead","canturread","canturriad","cañonead","caotizad","capacitad","capad","capead","capitalizad","capitanead","capitulad","capolad","capotad","capotead","capsulad","captad","capturad","capuzad","caracolead","caracterizad","caramelizad","caratulad","carbonad","carbonead","carbonizad","carburad","carburizad","carcajead","carcomid","cardad","caread","carecid","carenad","cargad","cariad","caricaturad","caricaturizad","cariciad","carminad","carnavalead","carnavalizad","carnead","carnetizad","carpid","carraspead","carretead","carrilead","carrozad","cartead","cartelizad","carteread","cartografiad","casad","cascabelead","cascad","castañead","castañetead","castellanizad","castigad","castrad","catabolizad","catad","catalanizad","catalizad","catalogad","catapultad","catead","categorizad","catequizad","cativad","catolizad","caucionad","causad","cautelad","cauterizad","cautivad","cavad","cavilad","cazad","cebad","cecead","cedid","cedulad","cegad","cejad","celad","celebrad","cementad","cenad","cencerread","cendrad","censad","censurad","centellad","centellead","centrad","centralizad","centrifugad","centuplicad","ceñid","cepillad","cercad","cercenad","cerchad","cerciorad","cerdead","cernid","cerrad","certificad","cesad","cesantead","cespitad","chachad","chacharead","chacotead","chafad","chafardead","chalad","chamarilead","chambead","champurrad","chamullad","chamuscad","chamuyad","chancead","chancletead","chanelad","changuead","chantajead","chantead","chapad","chapalead","chapead","chapotead","chapucead","chapurrad","chapurread","chapuzad","chaquetead","charlad","charlatanead","charlotead","charolad","charquead","chascad","chasquead","chatead","chavetead","checad","chequead","chicanead","chichad","chicharrad","chicotead","chiflad","chillad","chinchad","chinead","chingad","chinguead","chipead","chiquead","chirlad","chirriad","chismead","chismorread","chismosead","chispad","chispead","chisporrotead","chistad","chivad","chivatead","chocad","chochead","chollad","chopead","choread","chorizad","chorread","chotad","chotead","chufad","chulead","chupad","chupetead","churrascad","churrasquead","churruscad","chusmead","chutad","chuzad","ciad","ciberacosad","cicatrizad","cifrad","cilindrad","cimad","cimblad","cimbrad","cimbread","cimentad","cincelad","cinchad","cinematografiad","cinglad","cintilad","circuid","circulad","circuncidad","circundad","circunferid","circunnavegad","circunscript","circunscrit","circunstanciad","circunvalad","circunvenid","circunvolad","ciscad","citad","ciudadanizad","civilizad","cizallad","cizañad","cizañead","clamad","clamoread","claread","clarificad","clasificad","claudicad","clausurad","clavad","clavetead","clicad","climatizad","cliquead","clocad","clonad","cloquead","clorad","clorinad","cloroformizad","coaccionad","coactuad","coadyuvad","coagulad","coaligad","coanimad","coartad","coauspiciad","cobijad","cobrad","cocead","cocid","cocinad","cocread","codead","codesarrollad","codescubiert","codiciad","codificad","codirigid","coeditad","coescript","coescrit","coestructurad","coevolucionad","coexistid","cofabricad","cofinanciad","cofundad","cogid","cogitad","cogobernad","cohabitad","cohechad","cohesionad","cohibid","cohondid","cohonestad","coimead","coincidid","cojead","colaborad","colad","colapsad","colchad","colead","coleccionad","colectad","colectivizad","colegiad","colegid","coleguead","colgad","colidid","coligad","colimad","colindad","colisionad","colmad","colmatad","colocad","colonizad","colorad","coloread","colorid","coludid","columbrad","columpiad","comadread","comandad","combad","combatid","combinad","comedid","comentad","comenzad","comerciad","comercializad","cometid","comid","comisad","comisariad","comiscad","comisionad","comisquead","compactad","compadecid","compadrad","compadread","compaginad","comparad","comparecid","compartid","compartimentad","compartimentalizad","compasad","compatibilizad","compelid","compendiad","compenetrad","compensad","competid","compilad","compinchad","complacid","complejizad","complementad","completad","complicad","complotad","comportad","compostad","comprad","comprehendid","comprendid","comprimid","comprobad","comprometid","compuest","compulsad","compungid","compurgad","computad","computarizad","computerizad","comulgad","comunicad","comunitarizad","concadenad","concatenad","concebid","concedid","concelebrad","concentrad","conceptuad","conceptualizad","concernid","concertad","concesionad","conchabad","concienciad","concientizad","conciliad","concitad","concluid","concordad","concretad","concretizad","conculcad","concurrid","concursad","condecorad","condenad","condensad","condesad","condescendid","condich","condicionad","condimentad","condolid","condonad","conducid","conectad","conexionad","confabulad","confeccionad","confederad","conferenciad","conferid","confesad","confiad","configurad","confinad","confirmad","confiscad","confitad","conflictuad","confligid","confluid","conformad","confortad","confraternizad","confrontad","confundid","congelad","congeniad","congestionad","conglomerad","congojad","congraciad","congratulad","congregad","conhortad","conjeturad","conjugad","conjuntad","conjurad","conllevad","conmemorad","conmensurad","conminad","conmocionad","conmovid","conmutad","connaturalizad","connotad","conocid","conquistad","consagrad","conseguid","consejad","consensuad","consentid","conservad","considerad","consignad","consistid","consolad","consolidad","consonad","consorciad","conspirad","constad","constatad","constelad","consternad","constipad","constitucionalizad","constituid","constreñid","construid","consultad","consumad","consumid","contabilizad","contactad","contad","contagiad","contaminad","contemplad","contemporizad","contendid","contenid","contentad","contestad","contextuad","contextualizad","continuad","contonead","contornad","contornead","contorsionad","contraargumentad","contraatacad","contrabalancead","contrabandead","contrademandad","contradich","contragolpead","contrahech","contraíd","contraindicad","contramandad","contramarchad","contrapesad","contraprogramad","contrapuest","contrapuntead","contrargumentad","contrariad","contrarrestad","contrastad","contratacad","contratad","contravenid","contribuid","contristad","controlad","controvertid","contundid","conturbad","contusionad","convalecid","convalidad","convencid","convenid","convergid","conversad","convertid","convidad","convivid","convocad","convulsionad","conzederad","cooperad","cooperativizad","cooptad","coordenad","coordinad","coorganizad","copad","copatrocinad","copead","copetead","copiad","copilotad","copresentad","copresidid","coproducid","coprotagonizad","copulad","coquetead","coquificad","corcovead","coread","coreografiad","corlad","corlead","cornead","coronad","corporizad","corregid","correlacionad","correspondid","corresponsabilizad","corretead","corrid","corroborad","corroíd","corrompid","corrugad","cortad","cortejad","cortocircuitad","corvad","coscad","cosechad","cosid","cosificad","cosmetizad","cosquillead","costad","costead","cotejad","cotillead","cotizad","cotorread","crackead","cranead","cread","crecid","creíd","cremad","creosotad","crepitad","crespad","crevad","criad","cribad","criminad","criminalizad","crinad","criogenizad","criopreservad","crismad","crispad","cristalizad","cristianad","cristianizad","cristinead","criticad","croad","cromad","cronificad","cronometrad","crotorad","crotoread","crucificad","crujid","cruzad","cuadrad","cuadriculad","cuadriplicad","cuadruplicad","cuajad","cualificad","cuantificad","cuantizad","cuartead","cuartelad","cuatriplicad","cubanizad","cubicad","cubiert","cubijad","cuchad","cucharead","cuchichead","cuchuchead","cueread","cuerpead","cuestionad","cuetead","cuidad","cuitad","culead","culebread","culiad","culminad","culpabilizad","culpad","cultivad","culturad","culturalizad","culturizad","cumplid","cumplimentad","cumulad","cundid","cunead","cuñad","cuotead","curad","curiosead","currad","currelad","cursad","curtid","curvad","curvead","custodiad","customizad","dactilografiad","dad","damnificad","danzad","dañad","dañinead","darlusad","datad","datead","deambulad","debatid","debelad","debid","debilitad","debitad","debutad","decaíd","decantad","decapad","decapitad","decebid","decelerad","decepcionad","decidid","decimalizad","declamad","declarad","declinad","decodificad","decolad","decolorad","decomisad","decomisionad","deconstruid","decorad","decrecid","decrementad","decretad","decuplad","decuplicad","decusad","dedead","dedicad","deducid","defecad","defeccionad","defendid","defenestrad","defensad","deferid","definid","deflagrad","deflectad","deflorad","defoliad","deforestad","deformad","defosforilad","defraudad","degenerad","deglutid","degollad","degradad","degustad","deificad","dejad","delaminad","delatad","delegad","deleitad","deletread","deleznad","delgazad","deliberad","delimitad","delinead","delinquid","delirad","deludid","demacrad","demandad","demaquillad","demarcad","demarrad","demediad","demeritad","democratizad","demodulad","demolid","demonizad","demorad","demostrad","demudad","denegad","denigrad","denodad","denominad","denostad","denotad","densificad","dentad","dentellead","dentrad","denudad","denunciad","deparad","departid","depauperad","dependid","depilad","deplorad","deportad","depositad","depravad","deprecad","depreciad","depredad","deprimid","depuest","depurad","deputad","derechizad","derelinquid","derivad","derogad","derramad","derrapad","derrelinquid","derrengad","derretid","derribad","derrocad","derrochad","derrot","derrotad","derruid","derrumbad","desabastecid","desabejad","desabotonad","desabrid","desabrigad","desabrochad","desacatad","desacelerad","desacertad","desacomodad","desaconsejad","desacoplad","desacordad","desacostumbrad","desacralizad","desacreditad","desactivad","desactualizad","desaduanizad","desafectad","desafiad","desafilad","desafiliad","desafinad","desaforad","desagotad","desagradad","desagradecid","desagraviad","desagregad","desaguad","desahijad","desahogad","desahuciad","desainad","desairad","desajustad","desalad","desalentad","desalinead","desalinizad","desaliñad","desalmacenad","desalojad","desalquilad","desamad","desamarrad","desambiguad","desamistad","desamortizad","desamparad","desandad","desangrad","desanimad","desanudad","desapalancad","desaparead","desaparecid","desapasionad","desapegad","desaplicad","desaprendid","desaprobad","desaprovechad","desarbolad","desarchivad","desarenad","desarmad","desarraigad","desarreglad","desarrollad","desarropad","desarrugad","desarticulad","desasid","desasnad","desasosegad","desatad","desatascad","desatendid","desatentad","desatinad","desatornillad","desatracad","desatraillad","desatrancad","desautorizad","desavenid","desayunad","desazolvad","desazonad","desballestad","desbancad","desbandad","desbarajustad","desbaratad","desbarrad","desbarrancad","desbastad","desbloquead","desbocad","desbordad","desbotonad","desbravad","desbrozad","descabalgad","descabellad","descabezad","descachad","descachimbad","descaecid","descafeinad","descalabrad","descalibrad","descalificad","descalzad","descambiad","descaminad","descampad","descansad","descapitalizad","descarad","descarapelad","descarbonatad","descarbonizad","descarboxilad","descargad","descarnad","descarriad","descarrilad","descartad","descasad","descascarad","descascarillad","descastad","descatalogad","descendid","descentrad","descentralizad","desceñid","descerebrad","descerrajad","descertificad","deschavad","deschongad","descifrad","desclasad","desclasificad","desclavad","descobijad","descocad","descocid","descodificad","descogid","descogollad","descohesionad","descojonad","descolgad","descollad","descolocad","descolonizad","descombrad","descomedid","descomid","descompensad","descompilad","descompresionad","descomprimid","descompuest","descomulgad","desconcentrad","desconceptuad","desconcertad","desconchad","desconectad","desconfiad","descongelad","descongestionad","desconocid","desconsagrad","desconsiderad","desconsolad","desconsolidad","descontad","descontaminad","descontentad","descontextualizad","descontinuad","descontracturad","descontratad","descontrolad","desconvenid","desconvocad","descoordinad","descorazonad","descorchad","descordad","descornad","descorrid","descortezad","descosid","descostillad","descoyuntad","descreíd","descriminalizad","descript","descrit","descruzad","descuadrad","descuajad","descualificad","descuartizad","descubiert","descuidad","desdeñad","desdibujad","desdich","desdoblad","desdolarizad","desdorad","desdramatizad","desead","desecad","desechad","desembalad","desembalsad","desembarazad","desembarcad","desembargad","desembarrancad","desembocad","desembolsad","desembolsillad","desemborrachad","desembozad","desembragad","desembrollad","desembrujad","desembuchad","desempacad","desempalmad","desempañad","desempaquetad","desempatad","desempedrad","desempeñad","desempolvad","desenamorad","desencabestrad","desencadenad","desencajad","desencallad","desencaminad","desencantad","desencasillad","desencerrad","desenchufad","desenclavad","desencontrad","desencorsetad","desencorvad","desencriptad","desendeudad","desenfadad","desenfardelad","desenfocad","desenfrenad","desenfundad","desenganchad","desengañad","desengrasad","desenlazad","desenmarañad","desenmascarad","desenojad","desenredad","desenrollad","desenroscad","desensamblad","desensibilizad","desensillad","desentendid","desenterrad","desentonad","desentrañad","desentubad","desentumecid","desenvainad","desenvuelt","desequilibrad","desertad","desertificad","desertizad","desescalad","desescolarizad","desescombrad","desesperad","desesperanzad","desestabilizad","desestacionalizad","desestimad","desestimulad","desestresad","desestructurad","desfalcad","desfallecid","desfasad","desfascistizad","desfavorecid","desfigurad","desfilad","desfinanciad","desflecad","desflorad","desfogad","desfondad","desforzad","desfragmentad","desgajad","desganad","desgañitad","desgarrad","desgastad","desglasad","desglosad","desgobernad","desgonzad","desgraciad","desgranad","desgravad","desguanguañad","desguarnecid","desguazad","desgubernamentalizad","desguinzad","deshabilitad","deshabitad","deshabituad","deshebrad","deshech","deshelad","desheredad","deshidratad","deshidrogenizad","deshilachad","deshilad","deshilvanad","deshinchad","deshojad","deshonorad","deshonrad","deshuesad","deshumanizad","deshumidificad","desidentificad","desideologizad","designad","desilusionad","desimpresionad","desimputad","desincentivad","desincorporad","desincronizad","desincrustad","desindustrializad","desinfectad","desinflad","desinflamad","desinformad","desinhibid","desinsectad","desinstalad","desintegrad","desinteresad","desintoxicad","desinvertid","desionizad","desistid","desjarretad","desjudicializad","deslastrad","deslavad","deslazad","deslegitimad","desleíd","deslenguad","desliad","desligad","deslindad","deslizad","deslocalizad","deslomad","deslucid","deslumbrad","deslustrad","desmadejad","desmadrad","desmalezad","desmandad","desmantelad","desmaquillad","desmarcad","desmarimbad","desmasculinizad","desmaterializad","desmayad","desmedid","desmedrad","desmejorad","desmelenad","desmembrad","desmentid","desmenuzad","desmerecid","desmeritad","desmesurad","desmigad","desmigajad","desmilitarizad","desminad","desmitificad","desmochad","desmoldad","desmonetizad","desmontad","desmonterad","desmoralizad","desmoronad","desmotad","desmotivad","desmovilizad","desmuert","desnacid","desnacionalizad","desnatad","desnaturalizad","desnivelad","desnortad","desnucad","desnuclearizad","desnudad","desnutrid","desobedecid","desobligad","desobstruid","desoccidentalizad","desocupad","desodorizad","desoíd","desolad","desoldad","desollad","desorbitad","desordenad","desorejad","desorganizad","desorientad","desornamentad","desosad","desosegad","desovad","desovillad","desoxigenad","despabilad","despachad","despachurrad","despampanad","despanzurrad","desparasitad","desparecid","desparpajad","desparramad","despartidizad","despatarrad","despechad","despedazad","despedid","despegad","despeinad","despejad","despellejad","despelotad","despeluzad","despenad","despenalizad","despeñad","despepitad","desperad","despercudid","desperdiciad","desperdigad","desperecid","desperezad","despersonalizad","despertad","despezad","despicad","despiezad","despilfarrad","despintad","despiojad","despistad","desplantad","desplazad","desplegad","desplomad","desplumad","despoblad","despoetizad","despojad","despolarizad","despolitizad","despollad","despolvad","despolvoread","desportillad","desposad","desposeíd","despotizad","despotricad","despreciad","desprecintad","desprendid","despreocupad","desprestigiad","desprivatizad","desprofesionalizad","desprogramad","desprotegid","desprotonad","desproveíd","desprovist","despuntad","desquebrajad","desquiciad","desquitad","desrabad","desrabotad","desratizad","desregulad","desregularizad","destacad","destapad","destartalad","destazad","destechad","destejid","destellad","destemplad","destendid","destensad","desteñid","desternillad","desterrad","destetad","destilad","destinad","destituid","destocad","destorcid","destornillad","destorvad","destrabad","destrancad","destratad","destrenzad","destrepad","destripad","destrocad","destronad","destroncad","destrozad","destruid","destupid","desturcad","desubicad","desunid","desuscript","desuscrit","desvaíd","desvainad","desvalijad","desvalorizad","desvanecid","desvariad","desvasad","desvelad","desvenad","desvencijad","desventad","desventajad","desventrad","desvertebrad","desvestid","desviad","desvinculad","desvirgad","desvirtuad","desvivid","detallad","detectad","detenid","detentad","detergid","deteriorad","determinad","detestad","detonad","detoxificad","detraíd","deturpad","devaluad","devanad","devastad","develad","devengad","devenid","devid","devisad","devorad","devuelt","dexad","dezmad","diabolizad","diafragmad","diagnosticad","diagonalizad","diagramad","dializad","dialogad","diamantad","dibujad","dich","dicotomizad","dictad","dictaminad","dietad","diezmad","difamad","diferenciad","diferid","dificultad","difractad","difuminad","difundid","digerid","digitad","digitalizad","dignad","dignificad","dilapidad","dilatad","diligenciad","dilucidad","diluid","dimanad","dimensionad","dimerizad","dimidiad","dimisionad","dimitid","dinamitad","dinamizad","diñad","diplomad","dippead","diptongad","diputad","direccionad","dirigid","dirimid","discad","discapacitad","discernid","disciplinad","discontinuad","discordad","discrepad","discretead","discriminad","disculpad","discurrid","discursad","discursead","discutid","disecad","diseccionad","disectad","diseminad","disentid","diseñad","disertad","disfamad","disfrazad","disfrutad","disgregad","disgustad","disimulad","disipad","dislocad","disminuid","disociad","disonad","disparad","disparatad","dispensad","dispensarizad","dispersad","dispuest","disputad","distad","distanciad","distendid","distilad","distinguid","distorsionad","distraíd","distribuid","disturbad","disuadid","disuelt","divagad","divergid","diversificad","divertid","dividid","divinad","divinizad","divisad","divorciad","divulgad","doblad","doblegad","dobletead","doctorad","doctrinad","documentad","dogmatizad","dolad","dolarizad","dolid","domad","domeñad","domesticad","domiciliad","dominad","donad","doñead","dopad","dorad","dormid","dormitad","dosificad","dotad","dovelad","draftead","dragad","dragonead","dramatizad","drapead","drenad","driblad","driblead","drogad","dubdad","duchad","dudad","dulcificad","duplicad","durad","echad","eclipsad","eclosionad","economizad","ecualizad","edificad","editad","editorializad","educad","educid","edulcorad","efectivizad","efectuad","efeminad","eficientad","eficientizad","efundid","egresad","ejecutad","ejecutoriad","ejemplarizad","ejemplificad","ejercid","ejercitad","elaborad","elect","electoralizad","electrificad","electrizad","electrocutad","elegid","elevad","elidid","eligid","elijad","eliminad","elogiad","elongad","elucidad","elucubrad","eludid","eluid","emanad","emancipad","emasculad","embadurnad","embaíd","embalad","embaldosad","embalsad","embalsamad","embanderad","embarazad","embarcad","embargad","embarrad","embarrancad","embarullad","embasad","embastad","embaucad","embaulad","embazad","embebecid","embebid","embejucad","embelecad","embelesad","embellecid","embestid","embetunad","emblanquecid","embobad","embocad","embodegad","embolad","embolizad","embolsad","embolsillad","embonad","emboquillad","emborrachad","emborronad","emboscad","embotad","embotellad","embovedad","embozad","embozalad","embragad","embravecid","embrazad","embread","embretad","embriagad","embridad","embrollad","embromad","embrujad","embrutecid","embuchad","embullad","embustead","embustid","embutid","emendad","emergid","emigrad","emitid","emocionad","empacad","empachad","empadronad","empalad","empalagad","empalidecid","empalizad","empalmad","empanad","empanizad","empantanad","empañad","empapad","empapelad","empapuciad","empapuzad","empaquetad","emparedad","emparejad","emparentad","emparrillad","empastad","empastillad","empatad","empatizad","empavad","empavesad","empecid","empecinad","empedernid","empedrad","empelad","empellad","empellid","empenachad","empeñad","empeorad","empequeñecid","emperad","emperejilad","emperifollad","emperrad","empezad","empiltrad","empinad","empingorotad","empitonad","emplatad","emplazad","emplead","emplomad","emplumad","empobrecid","empoderad","empodrecid","empollad","empolvad","emponzoñad","empotrad","empozad","emprendid","empreñad","emprestad","emproblemad","empujad","empuñad","emputad","emputecid","emulad","emulgid","emulsificad","emulsionad","emungid","enajenad","enalmagrad","enaltecid","enamorad","enamoriscad","enarbolad","enarcad","enardecid","enarenad","enastad","enbiad","encabad","encabalgad","encabestrad","encabezad","encabritad","encabronad","encachimbad","encadenad","encajad","encajonad","encalabozad","encalabrinad","encalad","encallad","encallecid","encalmad","encalzad","encamad","encaminad","encandilad","encanecid","encantad","encañonad","encaperuzad","encapotad","encaprichad","encapsulad","encapuchad","encapuzad","encarad","encaramad","encarcelad","encarecid","encargad","encariñad","encarnad","encarnecid","encarnizad","encarrilad","encartad","encasillad","encasquetad","encasquillad","encastad","encastillad","encastrad","encatusad","encausad","encauzad","encebad","enceguecid","encelad","encenagad","encendid","encenizad","encerad","encerrad","encestad","encetad","enchachad","enchapad","enchapopotad","encharcad","enchilad","enchinad","enchiquerad","enchironad","enchuecad","enchufad","enchuflad","enchulad","encimad","encintad","enclaustrad","enclavad","encofrad","encogid","encolad","encolerizad","encolumnad","encomendad","encomenzad","encomiad","enconad","enconchad","encontrad","encoñad","encopetad","encorajinad","encorazad","encordad","encornudad","encorsetad","encorvad","encostad","encostalad","encrespad","encriptad","encuadernad","encuadrad","encuartelad","encubad","encubertad","encubiert","encuclillad","encuerad","encuestad","enculad","encumbrad","encunetad","encurtid","endechad","endemoniad","enderezad","endeudad","endiablad","endilgad","endiñad","endiosad","endomingad","endosad","endrogad","endulzad","endurecid","enemistad","energizad","enervad","enfadad","enfangad","enfardad","enfatizad","enfebrecid","enfermad","enfervorizad","enfeudad","enfilad","enflacad","enflaquecid","enflorad","enfocad","enforcad","enfoscad","enfrascad","enfrenad","enfrentad","enfriad","enfrontad","enfundad","enfurecid","enfurruñad","engalanad","engalgad","engallad","enganchad","engangrenad","engañad","engarruchad","engarzad","engastad","engatillad","engatusad","engavetad","engendrad","englobad","engolfad","engolondrinad","engolosinad","engomad","engominad","engordad","engranad","engrandad","engrandecid","engrapad","engrasad","engravecid","engreíd","engrillad","engrilletad","engrosad","engrudad","engruesad","engrupid","enguacalad","enguantad","enguatad","enguirnaldad","engullid","enharinad","enhebrad","enherbolad","enhilad","enhornad","enjabonad","enjaezad","enjaguad","enjalbegad","enjalmad","enjambrad","enjaretad","enjaulad","enjoyad","enjuagad","enjugad","enjuiciad","enjuncad","enjutad","enlaciad","enladrillad","enlatad","enlazad","enlentecid","enlenzad","enlistad","enlodad","enloquecid","enlosad","enlozad","enlucid","enlutad","enmaderad","enmadrad","enmallad","enmanillad","enmarañad","enmarcad","enmarrocad","enmascarad","enmasillad","enmendad","enmohecid","enmoquetad","enmudecid","enmugrad","ennegrecid","ennoblecid","enojad","enorgullecid","enquistad","enrabietad","enracimad","enraizad","enramad","enranciad","enrarecid","enrasad","enratonad","enredad","enrejad","enrevesad","enrielad","enripiad","enriquecid","enriscad","enristrad","enrocad","enrojecid","enrolad","enrollad","enronquecid","enroscad","enrostrad","enrubiad","enrumbad","enrutad","ensalzad","ensamblad","ensanchad","ensangrentad","ensañad","ensartad","ensayad","ensebad","ensecad","enseñad","enseñoread","ensillad","ensimismad","ensoberbecid","ensobrad","ensogad","ensombrecid","ensoñad","ensopad","ensordecid","ensortijad","ensuciad","entablad","entablillad","entallad","entapizad","entecad","entendid","entenebrecid","enterad","entercad","enternecid","enterrad","entesad","entibiad","entiesad","entintad","entoldad","entomatad","entonad","entontecid","entorchad","entornad","entorpecid","entortijad","entrabad","entrad","entramad","entrampad","entrañad","entreabiert","entrecerrad","entrechocad","entrecomillad","entrecortad","entrecruzad","entredich","entregad","entrelazad","entremetid","entremezclad","entrenad","entreoíd","entresacad","entretejid","entretenid","entrevenid","entreverad","entrevist","entrevistad","entripad","entristecid","entrojad","entrometid","entronad","entroncad","entronizad","entropezad","entrujad","entubad","entumecid","entunicad","enturbiad","entusiasmad","enumerad","enunciad","envainad","envalentonad","envanecid","envarad","envasad","envejecid","envenenad","envergad","envergonzad","envestid","enviad","enviciad","envidad","envidiad","envigad","envilecid","enviscad","enviudad","envuelt","enyerbad","enyesad","enzacatad","enzarzad","epatad","epitomad","equidistad","equilibrad","equipad","equiparad","equivalid","equivocad","erguid","erigid","erizad","erogad","erosionad","erotizad","errad","erradicad","eructad","erupcionad","esbarad","esbozad","escabechad","escabiad","escabullid","escachad","escaecid","escalad","escaldad","escalentad","escalfad","escalofriad","escalonad","escamad","escamotead","escampad","escanciad","escandalizad","escandid","escanead","escapad","escaquead","escarabajead","escaramuzad","escarapelad","escarbad","escarchad","escardad","escariad","escarificad","escarmenad","escarmentad","escarnecid","escarpad","escasead","escatimad","escavad","escayolad","escenificad","escenografiad","escindid","esclarecid","esclavizad","esclerosad","esclerotizad","escobad","escobillad","escocid","escodad","escofinad","escogid","escolarizad","escoltad","escombrad","escondid","escoplead","escorad","escoriad","escorzad","escotad","escrachad","escript","escrit","escriturad","escrudiñad","escrupulizad","escrutad","escuadrad","escuadronad","escuchad","escudad","escudriñad","esculpid","escupid","escurrid","escusad","esencializad","esfollad","esforzad","esfumad","esgrafiad","esgrimid","esguazad","eslabonad","esleíd","esmaltad","esmerad","esmerilad","esmorecid","esnifad","espabilad","espachurrad","espaciad","espacializad","espantad","españolizad","esparcid","espartad","especiad","especializad","especificad","especulad","espejead","espeluznad","esperad","esperanzad","espesad","espetad","espiad","espichad","espigad","espinad","espirad","espiritualizad","esplanad","esplendid","esplicad","espolead","espoliad","espolvoread","esponjad","esponsorizad","espontanead","esposad","espresad","esprintad","espulgad","espumad","espumead","esputad","esquematizad","esquiad","esquilad","esquilmad","esquinad","esquinzad","esquivad","estabilizad","establecid","estabulad","estacad","estacionad","estacionalizad","estad","estafad","estallad","estampad","estampillad","estancad","estandarizad","estañad","estaquillad","estarcid","estatizad","estatuid","estelarizad","estendid","esterad","estercolad","estereotipad","esterificad","esterilizad","estetizad","estibad","estigmatizad","estilad","estilizad","estimad","estimulad","estipulad","estirad","estofad","estoquead","estorbad","estornudad","estozolad","estragad","estrangulad","estratificad","estrechad","estregad","estrellad","estremecid","estrenad","estreñid","estresad","estriad","estribad","estropead","estruchad","estructurad","estrujad","estucad","estudiad","esvarad","eterizad","eternizad","etimologizad","etiquetad","etoxilad","europeizad","euscaldunizad","euskaldunizad","evacuad","evadid","evaluad","evanescid","evangelizad","evaporad","evidenciad","eviscerad","evitad","evocad","evolucionad","exacerbad","exagerad","exaltad","examinad","exasperad","excarcelad","excavad","excedid","exceptuad","excitad","exclamad","exclaustrad","excluid","excomulgad","excoriad","excretad","exculpad","excusad","execrad","executad","exentad","exercitad","exfiltrad","exfoliad","exhalad","exhibid","exhortad","exhumad","exigid","exilad","exiliad","eximid","existid","existimad","exonerad","exorcizad","exornad","expandid","expansionad","expatriad","expectad","expectorad","expedicionad","expedid","expedientad","expeditad","expelid","expendid","experienciad","experimentad","expiad","expirad","explanad","explayad","explicad","explicitad","explorad","explosionad","explotad","expoliad","exponenciad","exportad","expresad","exprimid","expropiad","expuest","expugnad","expulsad","expurgad","extasiad","extendid","extenuad","exteriorizad","exterminad","externad","externalizad","extinguid","extirpad","extorsionad","extractad","extraditad","extraíd","extralimitad","extrañad","extrapolad","extravasad","extraviad","extremad","extrudid","extruid","extubad","exudad","exulcerad","exultad","eyaculad","eyectad","fabricad","fabulad","fachad","facilitad","factorizad","facturad","facultad","faenad","fagocitad","fajad","falagad","falcacead","faldead","fallad","fallecid","fallid","falsad","falsead","falsificad","faltad","familiarizad","fanatizad","fanfarronead","fantasead","fantasiad","fantasmead","farandulead","fardad","farfullad","farolead","farread","fascinad","fastidiad","fatigad","favelizad","favorecid","fech","fechad","fecundad","fecundizad","fedatad","fedatead","federad","federalizad","felicitad","femad","feminizad","fenecid","feriad","fermentad","ferrad","fertilizad","fervorizad","festejad","festinad","festonad","festonead","fetichizad","fiad","fibrilad","ficad","ficcionad","ficcionalizad","fichad","fidelizad","figurad","fijad","filad","fildead","filetead","filiad","filmad","filosofad","filtrad","finad","finalizad","financiad","fincad","fingid","finid","finiquitad","fintad","firmad","fiscalizad","fisgad","fisgonead","fisionad","fisurad","flagelad","flambead","flamead","flanquead","flaquead","flechad","fletad","flexead","flexibilizad","flexionad","flipad","flirtead","flojead","florad","floread","florecid","floretead","flotad","fluctuad","fluid","fluidizad","fluorad","focalizad","foguead","folgad","foliad","follad","folletead","fomentad","fondead","forcejad","forcejead","forestad","forjad","formad","formalizad","formatead","formulad","fornicad","forrad","forrajead","fortalecid","fortificad","forzad","fosfatad","fosfatizad","fosforecid","fosforescid","fosforilad","fosilizad","fotocopiad","fotografiad","fotoshopead","fracasad","fraccionad","fracturad","fragilizad","fragmentad","fraguad","franelead","frangid","franjead","franquead","franquiciad","frasead","fraternizad","frecuentad","fregad","fregotead","freíd","frenad","frentead","fresad","frezad","friccionad","frisad","frit","fritad","frivolizad","frizad","frotad","fructificad","fruid","fruncid","frustrad","frutad","fufad","fugad","fulgid","fulgurad","fulminad","fumad","fumblead","fumigad","funad","funcionad","fundad","fundamentad","fundid","fungid","fuñid","furtad","furulad","fusilad","fusionad","fustigad","gafad","gaguead","galantead","galardonad","galguead","gallardead","gallead","gallofead","galonead","galopad","galopead","galvanizad","gamberread","gambetead","ganad","gandujad","gandulead","gangrenad","ganguead","gañid","garabatead","garantid","garantizad","garapiñad","garbad","garchad","gargarizad","garlad","garpad","garrapatead","garrapiñad","garronead","garrotead","gasead","gasificad","gastad","gatead","gatillad","gayad","gelatinizad","gelificad","gemid","geminad","generad","generalizad","genotipad","gentrificad","geobloquead","geolocalizad","georeferenciad","georreferenciad","gerenciad","germanizad","germinad","gestad","gesticulad","gestionad","gibad","gilipollead","gimotead","girad","giroelongad","gitanead","glasead","globalizad","gloriad","glorificad","glosad","glotalizad","glotonead","gobernad","golead","golfead","golosead","golpead","golpetead","googlead","gorgotead","gorjead","gorread","gorronead","gostead","gotead","gozad","grabad","gradad","graduad","graffitead","graficad","grafitead","granad","granead","granizad","granjead","granulad","grapad","gratificad","gratinad","gravad","gravitad","graznad","grillad","griñotad","gripad","gritad","gruñid","guacaread","guadañad","guapead","guarachead","guardad","guarecid","guarid","guarnecid","guarnid","guasapead","guataquead","guayad","guerread","guglead","guiad","guillotinad","guinchad","guindad","guiñad","guionad","guionizad","guisad","guitarread","gulusmead","gustad","habid","habilitad","habitad","habituad","hablad","hacendad","hachad","hacinad","hackead","halad","halagad","hallad","halogenad","hamacad","hamaquead","hambread","hanguead","haraganead","hartad","hastiad","hech","hechizad","hedid","hegemonizad","helad","helenizad","helitransportad","henchid","hendid","heñid","herbad","herborizad","heredad","herid","hermanad","hermandad","hermetizad","hermosead","herniad","herrad","herrumbrad","hervid","hesitad","hibernad","hibridad","hidratad","hidrogenad","hidrolizad","higienizad","hilad","hilvanad","hincad","hinchad","hipad","hiperactivad","hiperbolizad","hipertrofiad","hiperventilad","hipnotizad","hipotecad","hipotetizad","hisopad","hispanizad","hispid","historiad","hocicad","hociquead","hojaldrad","hojead","holgad","holgazanead","hollad","hombread","homenajead","homogeneizad","homologad","homosexualizad","honestad","honorad","honrad","horadad","horizontalizad","hormigonad","hormiguead","hornead","horripilad","horrorizad","hospedad","hospitalizad","hostiad","hostigad","hostilizad","hozad","huevead","huid","humad","humanad","humanizad","humead","humectad","humedecid","humidificad","humillad","hundid","hurgad","huronead","hurtad","husmad","husmead","idead","idealizad","identificad","ideologizad","idiotizad","idolatrad","ignorad","igualad","ilegalizad","ilegitimad","iludid","iluminad","ilusionad","ilustrad","imaginad","imanad","imantad","imbecilizad","imbricad","imbuid","imitad","impacientad","impactad","impagad","impartid","impedid","impelid","impendid","imperad","impermeabilizad","impersonalizad","impetrad","implantad","implementad","implicad","implorad","implosionad","importad","importunad","imposibilitad","impostad","imprecad","impregnad","impres","impresionad","imprimad","imprimid","improbad","improvisad","impuest","impugnad","impulsad","impurificad","imputad","inactivad","inadmitid","inaugurad","incapacitad","incardinad","incautad","incendiad","incensad","incentivad","incidentad","incidid","incinerad","incitad","inclinad","incluid","incoad","incomodad","incomunicad","inconformad","incordiad","incorporad","incrementad","increpad","incriminad","incrustad","incubad","inculcad","inculpad","incumbid","incumplid","incurrid","incursionad","indagad","indemnizad","independizad","indexad","indicad","indiciad","indigestad","indignad","indisciplinad","indispuest","individualizad","indizad","inducid","indultad","industriad","industrializad","inejecutad","inervad","infamad","infantilizad","infartad","infatuad","infeccionad","infectad","inferid","infestad","infeudad","inficionad","infiltrad","inflacionad","inflad","inflamad","infligid","influenciad","influid","informad","informalizad","informatizad","infraccionad","infraexplotad","infrautilizad","infravalorad","infringid","infundid","infusionad","ingeniad","ingerid","ingresad","ingurgitad","inhabilitad","inhalad","inhibid","inhumad","iniciad","inicializad","injerid","injertad","injuriad","inmatriculad","inmigrad","inmiscuid","inmolad","inmortalizad","inmovilizad","inmunizad","inmutad","innovad","inobservad","inoculad","inquietad","inquinad","inquirid","inscript","inscrit","inseminad","insensibilizad","inserid","insertad","insidiad","insinuad","insistid","insolentad","insonorizad","inspeccionad","inspirad","instad","instalad","instanciad","instaurad","instigad","instilad","institucionalizad","instituid","instruid","instrumentad","instrumentalizad","insubordinad","insuflad","insultad","insumid","insurreccionad","integrad","inteligid","intencionad","intendid","intensificad","intentad","interaccionad","interactuad","intercalad","intercambiad","intercedid","interceptad","intercomunicad","interconectad","interconvertid","interdich","interesad","interferid","interfoliad","intergradad","interiorizad","interlocutad","intermediad","intermezclad","internacionalizad","internad","internalizad","interoperad","interpelad","interpolad","interpretad","interpuest","interrelacionad","interrogad","interrumpid","intersecad","intersectad","intervenid","intestad","intimad","intimidad","intitulad","intoxicad","intranquilizad","intricad","intrigad","intrincad","introducid","intrusad","intubad","intuid","inundad","inutilizad","invadid","invaginad","invalidad","invenid","inventad","inventariad","invernad","invertid","investid","investigad","inviabilizad","invisibilizad","invitad","invocad","involucionad","involucrad","inyectad","iñocid","ionizad","irisad","ironizad","irradiad","irrespetad","irrigad","irritad","irrogad","irrumpid","islamizad","italianizad","iterad","itinerad","izad","jabonad","jactad","jadead","jalad","jalbegad","jalead","jalonad","jalonead","jaquead","jaquid","jaranead","jaspead","jech","jerarquizad","jeringad","jibarizad","jimad","jinetead","jiñad","jodid","jonronead","jorobad","josead","jotead","jubilad","judaizad","judicializad","jugad","juguetead","jumad","juntad","jurad","juramentad","justad","justificad","justipreciad","juzgad","labializad","laborad","labrad","laburad","lacad","lacead","lacerad","lacrad","lacrimad","lactad","ladead","ladrad","lagartead","lagrimad","lagrimead","laicizad","lalad","lambid","lambiscad","lamentad","lamid","laminad","lampad","lampasead","lancead","languidecid","lanzad","lapidad","lapizad","laquead","largad","lascad","lastimad","lastrad","lateralizad","latid","latinad","latinizad","laudad","lauread","lavad","laxad","lazad","lechad","legad","legalizad","legislad","legitimad","legitimizad","leíd","lematizad","lengüetead","lentificad","leñad","lesead","lesionad","leudad","levad","levantad","levigad","levitad","lexicalizad","liad","libad","liberad","liberalizad","libertad","librad","licenciad","licitad","licuad","liderad","lideread","liderizad","lidiad","ligad","lignificad","lijad","likead","limad","limitad","limosnead","limpiad","linchad","lindad","linead","linealizad","liofilizad","liquenizad","liquidad","lisiad","lisonjead","listad","litad","litigad","litografiad","lixiviad","llagad","llamad","llamead","llavead","llegad","llenad","llevad","llorad","lloriquead","llovid","lloviznad","load","lobotomizad","localizad","locutad","logad","lograd","loguead","lonchead","loncotead","loquead","lotead","lotificad","lubricad","lubrificad","luchad","lucid","lucrad","ludid","ludificad","lustrad","luxad","macad","macerad","machacad","machad","machetead","machihembrad","machucad","macizad","macollad","maculad","madread","madrugad","madurad","magancead","magnetizad","magnificad","magread","magulad","magullad","maicead","majad","malabaread","malacostumbrad","malbaratad","malcriad","maldecid","maldit","malead","maleducad","maleficiad","malentendid","malfuncionad","malgastad","malherid","maliciad","malinformad","malinterpretad","mallad","malmatad","malograd","malparad","malparid","malpuest","malquerid","malquistad","maltead","maltraíd","maltratad","malvendid","malversad","malvivid","mamad","mamonead","mampostead","manad","mancad","manchad","mancillad","mancomunad","mancornad","mandad","mandatad","mandonead","mandrilad","manducad","manead","manejad","mangad","mangonead","manguead","maniatad","manifestad","maniobrad","manipulad","manosead","manotead","mantead","mantenid","manufacturad","manumitid","manuscript","manuscrit","manutenid","mañanead","mapead","mapuchizad","maquead","maquetad","maquilad","maquillad","maquinad","maravillad","marcad","marchad","marchitad","maread","marginad","marginalizad","maridad","marinad","mariposead","mariscad","marmolead","marrad","martillad","martillead","martirizad","masacrad","masad","masajead","mascad","mascujad","masculinizad","mascullad","masificad","masterizad","masticad","masturbad","matad","matasellad","matead","materializad","matizad","matonead","matraquead","matriculad","matrimoniad","maullad","maximizad","mayad","mazad","maznad","mead","mecanizad","mecanografiad","mecatead","mechad","mecid","mediad","mediatizad","medicad","medicalizad","medicinad","medid","meditad","medrad","mejorad","melad","melezinad","melgad","mellad","membretad","memorad","memorializad","memorizad","menad","mencionad","mendigad","menead","menguad","menoscabad","menospreciad","mensajead","menstruad","mensurad","mentad","mentalizad","mentid","mentorizad","menudead","menuzad","mercad","mercadead","mercantilizad","mercerizad","merecid","merendad","merengad","meritad","mermad","merodead","mesad","mestizad","mesturad","mesurad","metabolizad","metaforizad","metalizad","metamorfizad","metamorfosead","metastatizad","metastizad","meteorizad","metid","metilad","metodizad","metrificad","mexicanizad","mezclad","mezquinad","microfilmad","microfinanciad","microperforad","microscopiad","mielinizad","migad","migrad","militad","militarizad","mimad","mimeografiad","mimetizad","mimid","minad","mineralizad","miniad","miniaturizad","minimalizad","minimizad","ministerializad","ministrad","minorad","minusvalorad","mirad","misad","misionad","mistificad","mitificad","mitigad","mixturad","mocad","mochad","mochilead","mocionad","modelad","modelizad","moderad","modernizad","modificad","modorrad","modulad","modularizad","mofad","mojad","mojonad","mojonead","molad","moldad","moldead","moldurad","molestad","molid","molinad","momificad","mondad","monetarizad","monetizad","monitoread","monitorizad","monologad","monopolizad","montad","mopead","moquead","morad","moralizad","mordid","mordiscad","mordisquead","morfad","morigerad","morread","mortificad","moscad","mosquead","mostrad","mostread","motead","motejad","motivad","motorizad","movid","movilizad","mudad","muert","muertead","muestread","mufad","mugid","mulcid","muletead","mulgid","mullid","multad","multiplexad","multiplicad","mundializad","municionad","municipalizad","munid","muñid","murad","murmurad","musealizad","musicad","musicalizad","musid","musitad","mutad","mutilad","nacid","nacionalizad","nadad","nalguead","narcotizad","narrad","nasalizad","naturalizad","naufragad","navalizad","navegad","nebulizad","necead","necesitad","negad","negligid","negociad","negread","negrecid","negrificad","neocolonizad","neutralizad","nevad","neviscad","nidificad","nimbad","ningunead","niquelad","nitrificad","nivelad","nixtamalizad","nombrad","nominad","nominalizad","noquead","normad","normalizad","normativizad","notad","notariad","notarizad","noticiad","notificad","novad","novelad","novelizad","noviad","nublad","nuclead","nudrid","nukead","nulificad","numerad","nutrid","ñangotad","ñoñead","obcecad","obedecid","obispad","objetad","objetivad","obligad","obliterad","obnubilad","obrad","obscurecid","obsequiad","observad","obsesionad","obstaculizad","obstad","obstinad","obstruid","obtenid","obturad","obviad","ocasionad","occidentalizad","ocluid","ocultad","ocupad","ocurrid","odiad","ofendid","ofertad","oficiad","oficializad","ofrecid","ofrendad","ofuscad","oíd","ojead","okupad","olead","olfatead","olid","oliscad","olisquead","olvidad","ominad","omitid","ondead","ondulad","opacad","operad","operativizad","opinad","opositad","opresad","oprimid","optad","optimad","optimizad","opuest","opugnad","orad","oralizad","orbitad","ordenad","ordeñad","oread","organizad","orientad","orientalizad","originad","orillad","orinad","orlad","ornad","ornamentad","orquestad","ortigad","osad","oscilad","oscurecid","osead","osificad","ostentad","otad","otead","otorgad","ovacionad","ovad","ovillad","ovulad","oxead","oxidad","oxigenad","pacid","pacificad","pactad","padecid","pagad","paginad","pajaread","pajaronead","pajead","palabread","paladead","palatalizad","palead","paletizad","paliad","palidecid","paliquead","pallad","palmad","palmead","palmotead","palpad","palpitad","pandead","paniaguad","papad","parabolizad","parad","parafrasead","paralelad","paralelizad","paralizad","parametrad","parametrizad","parangonad","parapetad","parapetead","parasitad","parcelad","parchad","parchead","parcializad","paread","parecid","parid","parlad","parlamentad","parlotead","parodiad","parpad","parpadead","parquead","parquizad","partead","particionad","participad","particularizad","partid","partidizad","pasad","pasead","pasmad","pastad","pastead","pastelead","pasterizad","pasteurizad","pastoread","patalead","patead","patentad","patentizad","patinad","patologizad","patrimonializad","patrocinad","patronead","patrullad","patullad","pauperizad","pausad","pautad","pavimentad","pavonad","pavonead","payasead","peatonalizad","pecad","pechad","pedalead","pedid","pedorread","pegad","pegotead","peíd","peinad","pelad","pelead","pelechad","peletizad","peligrad","pellizcad","pelotead","peluquead","penad","penalizad","pendejead","pendid","pendonead","penetrad","penitenciad","pensad","pensionad","pepead","pepenad","peraltad","percatad","perchad","percibid","percolad","percudid","percutad","percutid","perdid","perdonad","perdurad","perecead","perecid","peregrinad","perennizad","perfeccionad","perfilad","perforad","performad","perfumad","pergeñad","periclitad","perifonead","perimetrad","periodizad","peritad","perjudicad","perjurad","perlad","permanecid","permeabilizad","permead","permitid","permutad","pernead","pernoctad","peronizad","perorad","perpetrad","perpetuad","perquirid","perread","perseguid","perseverad","persignad","persistid","personad","personalizad","personificad","persuadid","pertenecid","pertenid","pertrechad","perturbad","pervertid","pervivid","pesad","pescad","pescuecead","pespuntad","pespuntead","pesquisad","pestañead","petad","petardead","petead","peticionad","petrificad","photoshopead","piad","piafad","pialad","picad","pichad","pichicatead","pichulead","picotead","pifead","pifiad","pigmentad","pignorad","pilad","pillad","pilotad","pilotead","pimplad","pincelad","pinchad","pingad","pintad","pintarrajead","pintead","pintorread","pintorretead","pinzad","pipad","pipiad","piquetead","pirad","piratead","pirograbad","piropead","pirrad","pisad","pisotead","pispad","pispead","pistead","pitad","pitchead","pitorread","pivotad","pivotead","pixelad","pizcad","placad","placead","placid","plagad","plagiad","planchad","planchead","planead","planificad","planillad","plantad","plantead","plañid","plasmad","plastificad","platead","platicad","plebiscitad","plegad","pleitead","plisad","plorad","pluralizad","pluriemplead","plurinacionalizad","poblad","pochad","pochead","podad","podemizad","podid","podrid","poetizad","polarizad","polemizad","policromad","polid","polimerizad","polinizad","politiquead","politizad","pololead","ponchad","ponderad","pontificad","ponzoñad","popularizad","pordiosead","porfiad","pormenorizad","portad","portead","posad","poseíd","posesionad","posibilitad","posicionad","positivad","pospuest","postead","postensad","postergad","postpuest","postrad","postulad","posturead","potabilizad","potad","potenciad","potencializad","practicad","pread","preagrupad","prealimentad","preanunciad","preaprobad","prearmad","preavisad","prebendad","precalentad","precalificad","precargad","precarizad","precautelad","precavid","precedid","preceptuad","preciad","precintad","precipitad","precisad","precocid","precocinad","precompilad","precomprad","preconcebid","preconfigurad","preconizad","preconocid","preconstituid","preconvocad","predad","predestinad","predeterminad","predicad","predich","prediseñad","predispuest","predominad","preelaborad","preenvasad","preestablecid","preestrenad","preferid","prefigurad","prefijad","preformad","pregad","pregonad","preguntad","pregustad","preinscript","preinscrit","preinstalad","prejubilad","prejuiciad","prejuzgad","preludiad","premeditad","premiad","premostrad","premuert","prenasalizad","prendad","prendid","prensad","preñad","preocupad","preordenad","prepagad","preparad","prepintad","preponderad","preprogramad","presagiad","prescindid","prescript","prescrit","preseleccionad","presenciad","presentad","presentid","preservad","presidid","presionad","presolicitad","prestad","prestigiad","presumid","presupuest","presupuestad","presurizad","pretendid","pretensad","preterid","pretermitid","pretextad","prevalecid","prevalid","prevaricad","prevenid","previsionad","previst","previsualizad","primad","principalizad","principiad","pringad","priorizad","privad","privatizad","privilegiad","probad","problematizad","procedid","procesad","procesionad","proclamad","procrastinad","procread","procurad","prodigad","producid","profanad","proferid","profesad","profesionalizad","profetizad","profugad","profundad","profundizad","programad","progresad","prohibid","prohijad","proletarizad","proliferad","prologad","prolongad","promediad","promesad","prometid","promiscuad","promocionad","promovid","promulgad","pronominalizad","pronosticad","pronunciad","propagad","propalad","propasad","propendid","propiciad","propinad","proporcionad","propuest","propugnad","propulsad","prorratead","prorrogad","prorrumpid","proscript","proscrit","proseguid","prospectad","prosperad","prosternad","prostituid","protagonizad","protegid","protestad","protocolizad","protonad","prototipad","protruid","proveíd","provenid","provincializad","provisionad","provist","provocad","proyectad","psicoanalizad","publicad","publicitad","puentead","puest","pugnad","pujad","pulid","pulimentad","pulsad","pulsead","pululad","pulverizad","punchad","puncionad","pungid","punid","puntad","puntead","puntuad","puntualizad","punzad","punzonad","puñad","puñetead","purgad","purificad","purpurad","putañead","putead","puyad","quebrad","quebrantad","quedad","quejad","quelad","quemad","querellad","querid","quietad","quilatad","quimbad","quintaesenciad","quintuplicad","quitad","rabead","rabiad","racanead","racializad","raciocinad","racionad","racionalizad","radiad","radicad","radicalizad","radiodifundid","radiografiad","rafaguead","raíd","rajad","rajuñad","ralbad","ralead","ralentizad","rallad","ramblead","ramificad","ramonead","rancad","ranchad","ranchead","randomizad","rankead","ranquead","ranurad","rapad","rapead","rapiñad","raptad","raquead","rarificad","rasad","rascad","rascañad","rascuñad","rasgad","rasguead","rasguñad","raspad","rasquetead","rasterizad","rastrad","rastread","rastrillad","rasurad","ratead","ratificad","ratonad","rayad","razonad","reabastecid","reabiert","reabsorbid","reaccionad","reacomodad","reacondicionad","reactivad","reactualizad","readaptad","readecuad","readiestrad","readmitid","readquirid","reafirmad","reagrupad","reajustad","realimentad","realinead","realistad","realizad","realojad","realquilad","realzad","reanimad","reanudad","reaparecid","reaplicad","reaprendid","reaprovechad","reaprovisionad","reargüid","rearmad","rearticulad","reasegurad","reasentad","reasfaltad","reasignad","reasumid","reatad","reautorizad","reavivad","rebajad","rebalancead","rebalsad","rebanad","rebañad","rebasad","rebatad","rebatid","rebautizad","rebelad","reblandecid","rebobinad","rebordad","rebordead","rebosad","rebotad","rebozad","rebramad","rebrillad","rebrincad","rebrotad","rebullid","rebuscad","rebuznad","recabad","recaíd","recalad","recalcad","recalculad","recalendarizad","recalentad","recalibrad","recalificad","recamad","recapacitad","recapitalizad","recapitulad","recapturad","recargad","recatad","recatead","recategorizad","recauchutad","recaudad","recebid","recelad","recentad","recentralizad","recepcionad","receptad","recercad","recertificad","recesad","recetad","rechazad","rechinad","rechistad","recibid","reciclad","reciprocad","recirculad","recitad","reclamad","reclasificad","reclinad","recluid","reclutad","recobrad","recochinead","recocid","recocinad","recodad","recodificad","recogid","recolad","recolectad","recolegid","recolocad","recolonizad","recombinad","recomendad","recomenzad","recompensad","recompilad","recomprad","recompuest","reconcentrad","reconceptualizad","reconciliad","reconcomid","reconducid","reconectad","reconfigurad","reconfirmad","reconfortad","reconocid","reconquistad","reconsagrad","reconsiderad","reconstituid","reconstruid","recontad","recontextualizad","recontratad","reconvenid","reconvertid","recopilad","recordad","recorrid","recortad","recosid","recostad","recovad","recread","recrecid","recriad","recriminad","recristalizad","recrudecid","rectificad","rectorad","recuadrad","recubiert","recudid","reculad","recuperad","recurrid","recurvad","recusad","redactad","redargüid","redecorad","rededicad","redefinid","redemocratizad","redenominad","redensificad","redescript","redescrit","redescubiert","redesignad","redibujad","redich","redimensionad","redimid","redireccionad","redirigid","rediscutid","rediseñad","redistribuid","redituad","redoblad","redondead","reducid","redundad","reedificad","reeditad","reeducad","reelaborad","reelect","reelegid","reembarcad","reembolsad","reemitid","reemplazad","reemprendid","reenamorad","reencaminad","reencantad","reencarnad","reencauzad","reencontrad","reencuadernad","reenergizad","reenfocad","reenganchad","reensamblad","reenterrad","reentrad","reentrenad","reenvasad","reenviad","reequilibrad","reequipad","reescript","reescrit","reestabilizad","reestablecid","reestatizad","reestilizad","reestrenad","reestructurad","reevaluad","reexaminad","reexpedid","refaccionad","refacturad","refanfinflad","referenciad","referid","refigurad","refilad","refinad","refinanciad","reflectad","reflejad","reflexionad","reflotad","refluid","refocilad","reforestad","reforjad","reformad","reformalizad","reformatead","reformulad","reforzad","refotografiad","refractad","refregad","refreíd","refrenad","refrendad","refrescad","refrigerad","refrit","refugiad","refulgid","refundad","refundid","refunfuñad","refutad","regad","regalad","regalonead","regañad","regatead","regazad","regenerad","regentad","regentead","regid","regimentad","regionalizad","registrad","reglad","reglamentad","regobernad","regocijad","regodead","regoldad","regrabad","regresad","reguetonead","regulad","regularizad","regurgitad","rehabilitad","rehech","rehidratad","rehilad","rehogad","rehuid","rehundid","rehusad","reíd","reimaginad","reimplantad","reimpres","reimprimid","reimpuest","reimpulsad","reinad","reinaugurad","reincidid","reincorporad","reindustrializad","reingresad","reiniciad","reinscript","reinscrit","reinsertad","reinstalad","reinstaurad","reinstitucionalizad","reintegrad","reintensificad","reintentad","reinterpretad","reintroducid","reinventad","reinvertid","reiterad","reivindicad","rejuvenecid","relacionad","relajad","relamid","relampaguead","relanzad","relatad","relativizad","relegad","relegitimad","releíd","relevad","religad","relinchad","rellamad","rellenad","relocalizad","relojead","reluchad","relucid","relumbrad","remachad","remad","remangad","remansad","remanufacturad","remarcad","remasterizad","rematad","rembolsad","remecid","remedad","remediad","rememorad","remendad","remezclad","remirad","remitid","remixad","remodelad","remojad","remolcad","remoldead","remolinead","remolonead","remontad","remordid","remotorizad","removid","remozad","remplazad","rempujad","remudad","remunerad","remusgad","renacid","renacionalizad","renderizad","rendid","renegad","renegociad","renguead","renombrad","renovad","renquead","rentabilizad","rentad","renumerad","renunciad","reñid","reocupad","reordenad","reorganizad","reorientad","repagad","repanchigad","repantigad","repantingad","reparad","repartid","repasad","repatead","repatriad","repautad","repavimentad","repechad","repelad","repelid","repensad","repentizad","repercutid","reperfilad","repescad","repetid","repicad","repintad","repiquetead","repisad","replantad","replantead","replegad","repletad","replicad","repoblad","repolarizad","repolitizad","repollad","reportad","reportead","reposad","reposicionad","repostad","repostead","repostulad","repotenciad","repreguntad","reprehendid","reprendid","represad","represaliad","representad","reprimid","reprobad","reprocesad","reprochad","reproducid","reprogramad","reptad","republicad","repudiad","repuest","repugnad","repujad","repulsad","repuntad","reputad","requebrad","requemad","requerid","requintad","requisad","resabid","resacad","resaltad","resanad","resarcid","resbalad","rescaldad","rescatad","rescindid","rescript","resecad","resellad","resemblad","resembrad","resentid","reseñad","reservad","resetead","resfriad","resguardad","residenciad","residid","resignad","resignificad","resincronizad","resintonizad","resistid","resituad","resobad","resocializad","resollad","resonad","resondrad","resoplad","resorbid","respaldad","respectad","respetad","respingad","respirad","resplandecid","respondid","responsabilizad","resquebrad","resquebrajad","restablecid","restad","restallad","restañad","restaurad","restead","restituid","restregad","restringid","restructurad","resucitad","resuelt","resultad","resumid","resurgid","retad","retardad","retemblad","retemplad","retenid","reteñid","retimbrad","retipificad","retirad","retitulad","retocad","retomad","retoñad","retorcid","retornad","retortijad","retozad","retractad","retraducid","retraíd","retranquead","retransmitid","retrasad","retrasmitid","retratad","retrepad","retribuid","retroalimentad","retrocad","retrocedid","retrogradad","retroiluminad","retrotraíd","retrovendid","retrucad","retuitead","retumbad","retundid","retwitead","retwittead","reubicad","reunid","reunificad","reurbanizad","reusad","reutilizad","revacunad","revalidad","revalorad","revalorizad","revaluad","revelad","revencid","revendid","revenid","reventad","reverberad","reverdecid","reverenciad","reversad","reversionad","revertid","revesad","revestid","revictimizad","revinculad","revirad","revisad","revisionad","revisitad","revist","revistad","revitalizad","revivid","revivificad","revocad","revolad","revolcad","revolead","revolotead","revolucionad","revuelt","rezad","rezagad","rezongad","rezumad","rezurcid","ribetead","ridiculizad","rielad","rifad","rilad","rimad","rimbombad","ringad","ripead","ripiad","ripostad","ritualizad","rivalizad","rizad","robad","robotizad","robustecid","rochad","rociad","rockanrolead","rockead","rodad","rodead","rogad","roíd","rojead","rolad","romancead","romanizad","romantizad","romanzad","rompid","roncad","rondad","ronead","ronronead","ronzad","rootead","roquead","roscad","rosead","rostizad","rot","rotad","rotomoldead","rotulad","roturad","rozad","ruborizad","rubricad","rugad","rugid","ruinad","rulad","rumbead","rumbiad","rumiad","rumorad","rumoread","runrunead","ruralizad","rusificad","rusticad","rutead","rutilad","sabid","sablead","saboread","saborizad","sabotead","sacad","sacarificad","sachad","saciad","sacodid","sacralizad","sacramentad","sacrificad","sacudid","saetad","saetead","sahumad","sajad","salad","salariad","saldad","salid","salinizad","salivad","sallad","salmodiad","salpicad","salpimentad","salpresad","salsead","saltad","saltead","saludad","salvad","salvaguardad","sambenitad","samplead","sanad","sancionad","sancochad","sandunguead","sanead","sangrad","sanitizad","sanjad","santificad","santiguad","sapead","saponificad","saquead","sargentead","sarmentad","satanizad","satinad","satirizad","satisfech","saturad","sazonad","secad","seccionad","secretad","secretead","sectorizad","secuenciad","secuestrad","secularizad","secundad","sedad","sedentarizad","sedimentad","seducid","segad","segmentad","segregad","seguid","segundad","segurad","seleccionad","selfiad","sellad","semaforizad","semblad","sembrad","semejad","sementad","sensibilizad","sentad","sentenciad","sentid","señad","señalad","señalizad","señoread","separad","sepultad","sequestrad","serenad","seriad","serializad","serigrafiad","sermonead","serpead","serpentead","serrad","serruchad","servid","sesead","sesgad","sesionad","sestead","setead","sexad","sextuplicad","sexualizad","shockead","sicoanalizad","sid","sigilad","signad","significad","silabad","silabead","silbad","silenciad","siluetead","simbolizad","simpatizad","simplificad","simulad","simultanead","sincerad","sincopad","sincretizad","sincronizad","sindicad","sindicalizad","singad","singularizad","sinonimizad","sinterizad","sintetizad","sintonizad","sirgad","sisad","sisead","sistematizad","sitiad","situad","sobad","sobajad","sobornad","sobrad","sobreactuad","sobrealimentad","sobreasad","sobrecalentad","sobrecargad","sobrecogid","sobreconsumid","sobrecumplid","sobredemandad","sobredeterminad","sobredimensionad","sobredorad","sobredosificad","sobreentendid","sobreescript","sobreescrit","sobreestimad","sobreestimulad","sobreexcitad","sobreexplotad","sobreexpresad","sobreexpuest","sobregirad","sobregrabad","sobreimpres","sobreimprimid","sobreinfectad","sobrellenad","sobrellevad","sobremedicad","sobrenadad","sobrentendid","sobrepasad","sobrepoblad","sobreprotegid","sobrepuest","sobrepujad","sobrerreaccionad","sobrerrepresentad","sobresalid","sobresaltad","sobresaturad","sobrescript","sobrescrit","sobreseíd","sobrestimad","sobrevalorad","sobrevaluad","sobrevenid","sobrevirad","sobrevivid","sobrevolad","socarrad","socavad","sociabilizad","socializad","socorrid","sodomizad","sofisticad","sofocad","sofreíd","sofrenad","sofrit","soguead","sojuzgad","solad","solapad","solarizad","solazad","soldad","solead","solemnizad","solevad","solfead","solicitad","solid","solidad","solidarizad","solidificad","soliviantad","sollozad","soltad","solubilizad","solucionad","solventad","somatizad","sombrad","sombread","sometid","somorgujad","sompesad","sonad","sondad","sondead","sonorizad","sonreíd","sonrojad","sonrosad","sonsacad","soñad","sopad","sopesad","soplad","soportad","sorbid","sorprendid","sortead","sosegad","soslayad","sospechad","sostenid","sotad","soterrad","stalkead","suavizad","subalimentad","subalquilad","subalternizad","subarrendad","subastad","subclasificad","subcontratad","subdividid","subducid","subentendid","subestimad","subid","sublevad","sublimad","subministrad","subordinad","subrayad","subrogad","subsanad","subscript","subscrit","subseguid","subsidiad","subsistid","substanciad","substantivad","substituid","substraíd","subsumid","subtendid","subtitulad","subutilizad","subvaluad","subvencionad","subvenid","subvertid","subvirad","subyacid","subyugad","succionad","sucedid","sucitad","sucumbid","sudad","suelt","sufijad","sufragad","sufrid","sugerid","sugestionad","suicidad","sujetad","sujuzgad","sulcad","sulfatad","sulfurad","sumad","sumariad","sumergid","sumid","suministrad","supeditad","superad","superimpuest","superpoblad","superpuest","supervalorad","supervenid","supervigilad","supervisad","supervivid","suplantad","suplementad","suplicad","suplid","suprimid","supuest","supurad","suputad","surcad","surcid","surfead","surgid","surtid","suscitad","suscript","suscrit","suspendid","suspirad","sustanciad","sustantivad","sustentad","sustituid","sustraíd","susurrad","sutilizad","suturad","tabicad","tablad","tabletead","tabulad","tachad","tachonad","tacid","tacklead","taclead","taconead","tajad","talad","taladrad","tallad","tambalead","tamboread","tamborilead","tamizad","tamponad","tangad","tanquead","tantead","tañid","tapad","tapead","tapiad","tapiscad","tapizad","taponad","taponead","taquead","taquillad","taracead","tarad","tararead","tardad","tarifad","tarificad","tarjad","tartamudead","tasad","tascad","tatemad","tatuad","taxiad","teatralizad","techad","teclead","tecnificad","tejad","tejid","telefonead","telegrafiad","teleportad","teletrabajad","teletransportad","televisad","telonead","temad","tematizad","temblad","temblequead","temid","temperad","templad","temporizad","tendid","tenid","tensad","tensionad","tentad","teñid","teorizad","tercerizad","terciad","terciarizad","tergiversad","terminad","ternad","terracead","terraformad","terraplenad","territorializad","tertuliad","tesad","testad","testead","testificad","testiguad","testimoniad","textead","texturizad","tictaquead","tijeretead","tildad","timad","timbead","timbrad","timonead","tincad","tintad","tintinead","tinturad","tipad","tipead","tipificad","tipologizad","tirad","tiranizad","tiritad","tironead","tirotead","titilad","titrad","titubad","titubead","titulad","titularizad","tiznad","tocad","togad","toldad","tolerad","tollid","tomad","tongonead","tonificad","tonsurad","tontead","topad","topead","topetad","toquetead","torcid","toread","tormientad","tornad","tornead","torpedead","torrad","torturad","tosid","tostad","totalizad","toxificad","trabad","trabajad","trabucad","traccionad","traducid","traficad","tragad","traicionad","traíd","trajead","trajinad","tramad","tramitad","trampead","trancad","tranquead","tranquilizad","transad","transbordad","transcendid","transcodificad","transcript","transcrit","transcurrid","transfectad","transferid","transfigurad","transformad","transfundid","transgredid","transicionad","transigid","transistorizad","transitad","transladad","transliterad","translocad","translucid","transmigrad","transmitid","transmutad","transparentad","transpirad","transplantad","transportad","transpuest","transtornad","transustanciad","transvasad","transversalizad","tranzad","trapacead","trapalead","trapead","trapichead","traquetead","trasbordad","trascendid","trascript","trascrit","trascurrid","trasegad","trasferid","trasfigurad","trasformad","trasgredid","trashumad","trasladad","traslapad","trasliterad","trasluchad","traslucid","trasmigrad","trasmitid","trasmontad","trasmutad","trasnochad","trasoíd","traspalad","traspapelad","trasparentad","traspasad","traspillad","traspirad","trasplantad","trasportad","traspuest","trasquilad","trastabillad","trastabillead","trastead","trastocad","trastornad","trastrabillad","trastrocad","trasudad","trasuntad","trasvasad","tratad","traumad","traumatizad","travestid","trazad","trebejad","trechad","trefilad","tremid","tremolad","trenad","trenzad","trepad","trepanad","trepidad","triangulad","tribulad","tributad","tricotad","trillad","trinad","trincad","trinchad","triplicad","triptongad","tripulad","triscad","trisecad","tristead","triturad","triunfad","trivializad","trocad","trocead","trolead","trompetead","trompezad","trompicad","tronad","troncad","tronchad","tropezad","tropicalizad","troquelad","trotad","trovad","trozad","trucad","trucidad","trufad","truncad","truquead","tugurizad","tuitead","tullid","tumbad","tumultuad","tunad","tundid","tunead","tunelad","tupid","turbad","turbinad","turboalimentad","turbocargad","turistead","turistificad","turnad","turquead","tusad","tutead","tutelad","twitead","twittead","ubicad","ufanad","ulcerad","ultimad","ultracentrifugad","ultrajad","ululad","uncid","ungid","unid","unificad","uniformad","uniformizad","universalizad","untad","upad","urbanizad","urdid","urgid","uruguayizad","usad","ustedead","usucapid","usufructuad","usurpad","utilizad","vacacionad","vacad","vaciad","vacilad","vacunad","vadead","vagabundead","vagad","vaguead","valid","validad","vallad","valorad","valorizad","valsad","valuad","vampirizad","vanagloriad","vandalizad","vapead","vaporizad","vapulead","varad","varead","variad","vascularizad","vaticinad","vectorizad","vedad","vegetad","vehiculad","vehiculizad","vejad","velad","velarizad","velicad","venadead","vencid","vendad","vendid","vendimiad","venenciad","venerad","vengad","venid","ventad","ventead","ventilad","ventosead","veranead","verbalizad","verberad","verdead","verdeguead","verguead","verificad","versad","versead","versificad","versionad","versionead","vertebrad","verticalizad","vertid","vestid","vetad","vetead","vezad","viabilizad","viajad","viboread","vibrad","vichead","viciad","victimad","victimizad","victoread","videograbad","vidriad","vigilad","vigorizad","vilipendiad","vinculad","vindicad","vinificad","violad","violentad","virad","viralizad","virtualizad","visad","visibilizad","visionad","visitad","vislumbrad","visoriad","vist","visualizad","vitalizad","vitoread","vitrificad","vituperad","vivad","vivaquead","vivenciad","vivid","vivificad","vocalizad","vocead","vociferad","volad","volantead","volatilizad","volcad","volead","voltead","voltejead","vomitad","vosead","votad","voznad","vuelt","vulcanizad","vulgarizad","vulnerad","wasapead","whatsappead","wikificad","xerocopiad","xerografiad","yacid","yantad","yapad","yerad","yermad","yirad","yodurad","yugulad","yuxtapuest","zabordad","zabullid","zafad","zaherid","zamarread","zambullid","zampad","zancadillead","zancajead","zanganead","zanjad","zanquead","zapad","zapatead","zapead","zarandead","zarpad","zascandilead","zigzaguead","zombificad","zonificad","zorread","zozobrad","zumbad","zurcid","zuread","zurrad","zurriad","zurrid","zuzad"],{getWords:Y}=e.languageProcessing;const{precedenceException:Z,directPrecedenceException:$,values:aa}=e.languageProcessing,da=aa.Clause,ea=["ser","soy","eres","es","somos","sois","son","fui","fuiste","fue","fuimos","fuisteis","fueron","era","eras","era","éramos","erais","eran","sería","serías","seríamos","seríais","serían","seré","serás","será","seremos","seréis","serán","seas","sea","seamos","seáis","sean","fuera","fueras","fuéramos","fuerais","fueran","fuese","fueses","fuésemos","fueseis","fuesen","fuere","fueres","fuéremos","fuereis","fueren","sé","sed","siendo","sido"],{createRegexFromArray:ia,getClauses:ra}=e.languageProcessing,sa={Clause:class extends da{constructor(a,d){super(a,d),this._participles=function(a){return Y(a).filter((a=>function(a){return["a","o","as","os"].some((d=>{if(a.length>3&&a.endsWith(d)){const e=a.slice(0,-d.length);return X.includes(e)}}))}(a)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const a=this.getClauseText(),d=this.getParticiples().filter((d=>!$(a,d,I)&&!Z(a,d,J)));this.setPassive(d.length>0)}},stopwords:H,auxiliaries:ea,regexes:{auxiliaryRegex:ia(ea),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi,followingAuxiliaryExceptionRegex:ia(["el","la","los","las","una"])}};function na(a){return ra(a,sa)}const oa=window.lodash,ca=function(a,d="i"){return a.map((a=>function(a,d="i"){return 2===a.length?{reg:new RegExp(a[0],d),repl:a[1]}:3===a.length?{reg:new RegExp(a[0],d),repl1:a[1],repl2:a[2]}:null}(a,d)))};function ta(a,d){if(-1!==a.search(new RegExp(d[0])))return a.replace(new RegExp(d[0]),d[1])}const{buildFormRule:la,createRulesFromArrays:ua,findMatchingEndingInArray:ma}=e.languageProcessing,pa=function(a){return/[aeiouáéíóú]/gi.test(a)},ba=function(a){const d=["á","é","í","ó","ú"],e=["a","e","i","o","u"];for(let i=0;i<d.length;i++)a=a.replace(d[i],e[i]);return a},ga=function(a,d){return!(a.length<d.length)&&a.slice(-d.length)===d},za=function(a,d){const e=[];for(const i in d)ga(a,d[i])&&e.push(d[i]);return e.sort((function(a,d){return d.length-a.length}))[0]||""},fa=function(a,d){for(const e of d)if(e[1].includes(a))return e[0];return null},va=function(a,d){return""!==ma(d,["ano","anos","ana","anas"])?a.endsWith("s")?a.slice(0,a.length-2):a.slice(0,a.length-1):a},ha=function(a,d,e){return!ga(d,"mente")||e.notMenteAdverbs.includes(a)?a:la(a,ua(e.menteToStem))||a},ja=function(a,d,e){return""===ma(d,e.superlativeSuffixes)||e.notSuperlatives.includes(a)?a:la(a,ua(e.superlativeToStem))},qa=function(a,d){if(""===ma(a,["ito","ita","itos","itas","íto","íta","ítos","ítas"])||d.notDiminutives.includes(a))return a;const e=a.endsWith("s")?a.slice(0,a.length-2):a.slice(0,a.length-1);for(const a of d.irregularDiminutives)if(a[1].includes(e))return a[0];return la(a,ua(d.diminutiveToStem))||a},xa=function(a,d){for(const e of d.nouns)if(e.includes(a))return e[0];for(const e of d.adjectives)if(e.includes(a))return e[0];for(const e of d.verbs)if(e.includes(a))return e[0];return null},ya=function(a,d,e,i,r){const s=ma(e,["ya","ye","yan","yen","yeron","yendo","yo","yó","yas","yes","yais","yamos"]);if(""!==s&&"u"===a.slice(-s.length-1,-s.length)&&(a=a.slice(0,-s.length)),a!==d&&(e=a.slice(i)),a===d){const d=["arían","arías","arán","arás","aríais","aría","aréis","aríamos","aremos","ará","aré","erían","erías","erán","erás","eríais","ería","eréis","eríamos","eremos","erá","eré","irían","irías","irán","irás","iríais","iría","iréis","iríamos","iremos","irá","iré","aba","ada","ida","ía","ara","iera","ad","ed","id","ase","iese","aste","iste","an","aban","ían","aran","ieran","asen","iesen","aron","ieron","ado","ido","ando","iendo","ió","ar","er","ir","as","abas","adas","idas","ías","aras","ieras","ases","ieses","ís","áis","abais","íais","arais","ierais"," aseis","ieseis","asteis","isteis","ados","idos","amos","ábamos","íamos","imos","áramos","iéramos","iésemos","ásemos"],s=ma(e,d),n=ma(e,["en","es","éis","emos"]);if(""!==s)a=a.slice(0,-s.length);else if(""!==n){if(a=a.slice(0,-n.length),ga(a,"gu")&&(a=a.slice(0,-1)),r.wordsThatLookLikeButAreNot.notVerbForms.map(ba).includes(ba(a)))return a;const s=xa(a,r.stemsThatBelongToOneWord);if(s)return s;e=a.slice(i);const o=ma(e,d);""!==o&&(a=a.slice(0,-o.length))}}return a},wa=function(a){let d=a.length,e=a.length,i=a.length;for(let e=0;e<a.length-1&&d===a.length;e++)pa(a[e])&&!pa(a[e+1])&&(d=e+2);for(let i=d;i<a.length-1&&e===a.length;i++)pa(a[i])&&!pa(a[i+1])&&(e=i+2);return a.length>3&&(i=pa(a[1])?pa(a[0])&&pa(a[1])?function(a,d){const e=a.length;for(let d=2;d<e;d++)if(!pa(a[d]))return d;return e}(a)+1:3:function(a,d){const e=a.length;for(let d=2;d<e;d++)if(pa(a[d]))return d;return e}(a)+1),[d,e,i]},ka=function(a,d,e){const i=["iéndo","ándo","ár","ér","ír"],r=["iendo","ando","ar","er","ir"],s=ma(a,["me","se","sela","selo","selas","selos","la","le","lo","las","les","los","nos"]);if(""!==s&&!e.wordsThatLookLikeButAreNot.notVerbsEndingInPersonalPronouns.includes(a)){let e=ma(d.slice(0,-s.length),i);""===e?(e=ma(d.slice(0,-s.length),r),(""!==e||ga(a.slice(0,-s.length),"uyendo"))&&(a=a.slice(0,-s.length))):a=ba(a.slice(0,-s.length))}return a},Sa=function(a,d){const e=ma(d,["anza","anzas","ico","ica","icos","icas","ismo","ismos","able","ables","ible","ibles","ista","istas","oso","osa","osos","osas","amiento","amientos","imiento","imientos"]),i=ma(d,["icadora","icador","icación","icadoras","icadores","icaciones","icante","icantes","icancia","icancias","adora","ador","ación","adoras","adores","aciones","ante","antes","ancia","ancias"]),r=ma(d,["logía","logías"]),s=ma(d,["ución","uciones"]),n=ma(d,["encia","encias"]),o=ma(d,["abilidad","abilidades","icidad","icidades","ividad","ividades","idad","idades"]),c=ma(d,["ativa","ativo","ativas","ativos","iva","ivo","ivas","ivos"]);return""!==e?a=a.slice(0,-e.length):""!==i?a=a.slice(0,-i.length):""!==r?a=a.slice(0,-r.length)+"log":""!==s?a=a.slice(0,-s.length)+"u":""!==n?a=a.slice(0,-n.length)+"ente":""!==o?a=a.slice(0,-o.length):""!==c&&(a=a.slice(0,-c.length)),a},Pa=function(a,d,e){const i=za(d,["os","a","o","á","í","ó"]);return""!==i?a=a.slice(0,-i.length):""!==za(d,["e","é"])&&(d=(a=a.slice(0,-1)).slice(e),ga(d,"u")&&ga(a,"gu")&&(a=a.slice(0,-1))),a};const{baseStemmer:Ta}=e.languageProcessing;function Oa(a){const d=(0,oa.get)(a.getData("morphology"),"es",!1);return d?a=>function(a,d){a.toLowerCase();const e=fa(a,d.exceptionStemsWithFullForms);if(e)return e;if(d.wordsThatLookLikeButAreNot.nonPluralsOnS.includes(a))return ba(a);if(a.length<2)return ba(a);const[i,r,s]=wa(a);let n=a.slice(i),o=a.slice(r),c=a.slice(s);const t=a,l=va(a,n);if(l!==a)return ba(l);(a=ka(a,c,d))!==t&&(n=a.slice(i),o=a.slice(r),c=a.slice(s));const u=a;a=Sa(a,o);const m=ha(a,n,d.menteStemming);if(m!==a)return ba(m);const p=ja(a,n,d.superlativesStemming);if(p!==a)return ba(p);const b=qa(a,d.diminutivesStemming);if(b!==a)return ba(b);a!==u&&(c=a.slice(s));const g=a;let z=!1;const f=d.wordsThatLookLikeButAreNot.notVerbForms;if(u===g){let e=a;a.endsWith("s")&&(e=a.slice(0,-1)),f.includes(e)?(a=e,z=!0):a=ya(a,g,c,s,d)}c=a.slice(s),a=Pa(a,c,s);const v=xa(a,d.stemsThatBelongToOneWord);if(v)return v;if(!z){const e=function(a,d){const e=d.verbStemModifications,i=ta(a,e.quToC);if(i)return ta(i,e.ueToOSimple)||i;const r=function(a,d){if(d.includes(null))return a;for(let e=0;e<d.length;e++)if(!0===d[e].reg.test(a))return a.replace(d[e].reg,d[e].repl)}(a,ca([...e.stemModifications,e.ueToO]));return r||null}(a,d);if(e)return e}return ba(a)}(a,d):Ta}const{formatNumber:Wa}=e.helpers;function Ra(a){const d=206.84-1.02*a.numberOfWords/a.numberOfSentences-.6*a.syllablesPer100Words;return Wa(d)}const{AbstractResearcher:Ea}=e.languageProcessing;class La extends Ea{constructor(a){super(a),Object.assign(this.config,{language:"es",passiveConstructionType:"periphrastic",firstWordExceptions:i,functionWords:G,stopWords:H,transitionWords:s,twoPartTransitionWords:K,syllables:Q,sentenceLength:U}),Object.assign(this.helpers,{getClauses:na,getStemmer:Oa,fleschReadingScore:Ra})}}(window.yoast=window.yoast||{}).Researcher=d})(); dist/languages/pl.js 0000644 00001376141 15174677550 0010464 0 ustar 00 (()=>{"use strict";var a={d:(n,o)=>{for(var i in o)a.o(o,i)&&!a.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:o[i]})},o:(a,n)=>Object.prototype.hasOwnProperty.call(a,n),r:a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},n={};a.r(n),a.d(n,{default:()=>ka});const o=window.yoast.analysis,i=["jeden","jedna","jedno","dwa","dwie","trzy","cztery","pięć","sześć","siedem","osiem","dziewięć","dziesięć","ta","to","ten","te","ci","taki","tacy","taka","taką","takich","takie","takiego","takiej","takiemu","takim","takimi","tamten","tamta","tamto","tamci","tamte","tamtą","tamtego","tamtej","tamtemu","tamtych","tamtym","tamtymi","tą","tę","tego","tej","temu","tych","tymi","tym","tak"],z=["aby","abym","abyśmy","abyś","abyście","acz","aczkolwiek","albowiem","ale","aliści","bo","bowiem","bynajmniej","choć","chociaż","chociażby","czyli","dlatego","dodatkowo","dopóki","dotychczas","faktycznie","gdy","gdyż","jakkolwiek","iż","jednak","jednakże","jeśli","kiedy","lecz","mianowicie","mimo","np","najpierw","następnie","natomiast","ni","niemniej","niż","notabene","oczywiście","ogółem","ostatecznie","owszem","podobnie","podsumowując","pokrótce","pomimo","ponadto","ponieważ","poprzednio","potem","później","przecież","przeto","przynajmniej","raczej","również","rzeczywiście","skoro","także","też","toteż","tudzież","tymczasem","wedle","według","więc","właściwie","wobec","wpierw","wprawdzie","wreszcie","wskutek","wstępnie","wszakże","wszelako","zamiast","zanim","zarówno","zaś","zatem","zresztą","zwłaszcza","żeby","żebym","żebyś","żebyście","żebyśmy"],e=z.concat(["a konkretnie","a propos","aby wrocić do rzeczy","analogicznie do","bacząc na to że","bądź co bądź","bez wątpienia","bez względu","biorąc pod uwagę","choćby","chodzi o to","chyba że","co do","co gorsza","co prawda","co się tyczy","co ważniejsze","co więcej","dzięki czemu","dzięki któremu","dzięki której","dzięki którym","dzięki temu","faktem jest że","inaczej mówiąc","innymi słowy","jak dotąd","jak już mówiłam","jak już mówiłem","jak już wspomniano","jak widać","jak wiemy","jako przykład","jednym słowem","jeśli chodzi o","jeżeli chodzi o","konkretnie to","krótko mówiąc","łącznie z","mając to na uwadzę","mam na myśli","mamy na myśli","mówiąc w skrócie","na celu","na dłuższą metę","na dodatek","na koniec","na końcu","na przykład","na skutek","na wstęp","na wypadek gdyby","na zakończenie","nade wszystko","należy pamiętać","nawiasem mówiąc","nie mówiąc już","nie mówiąc o tym","nie pomijając","nie schodząc z tematu","nie wspominając już","nie wspominając o","nie wspominając to","nie wspominając że","nie zważając na","o ile","o tyle","od czasu do czasu","od momentu","odnośnie do","ogólnie mówiąc","ogólnie rzecz biorąc","oprócz tego","oznacza to że","po czwarte","po drugie","po piąte","po pierwsze","po to","po trzecie","pod warunkiem","podczas gdy","podczas kiedy","podobnym sposobem","ponad wszystko","poza tym","prawdę mówiąc","prawdę powiedziawszy","prędzej czy później","przechodząc do","przede wszystkim","przez co","przez tą","przez tego","przez to","przy tym","przypuściwszy że","raz na jakiś czas","rzecz jasna","ściśle biorąc","ściśle mówiąc","skutkiem tego","tak czy inaczej","tak czy owak","tak naprawdę","takich jak","takie jak","to znaczy","tym samym","w celu","w ciągu","w dodatku","w efekcie","w innych słowach","w istocie","w każdym razie","w końcu","w konsekwencji","w kwestii","w międzyczasie","w nadziei że","w obawie że","w odróżnieniu","w podobny sposób","w podsumowaniu","w przeciwieństwie do","w przeciwnym razie","w przypadku","w rezultacie","w rozumieniu że","w rzeczy samej","w rzeczywistości","w skrócie","w szczególności","w takim razie","w ten sposób","w tych okolicznościach","w tym przypadku","w wyniku","w wyniku tego","w związku z tym","wbrew pozorom","włącznie z","wracając do rzeczy","wracając do tematu","wręcz przeciwnie","z drugiej strony","z drugiej zaś strony","z jednej strony","z mocy że","z obawy że","z pewnością","z powodu","z przyczyny","z tą intencją","z tego powodu","z uwagi że","zacznijmy od","zakładając że","ze względu na","ze względu że","zważywszy na to","zważywszy że"]);function w(a){let n=a;return a.forEach((o=>{(o=o.split("-")).length>0&&o.filter((n=>!a.includes(n))).length>0&&(n=n.concat(o))})),n}const y=["czterech","czterem","czterema","czternaście","czternastce","czternastek","czternastka","czternastką","czternastkach","czternastkami","czternastkę","czternastki","czternastko","czternastkom","czternastoma","czternastu","cztery","czwórce","czwórek","czwórka","czwórką","czwórkach","czwórkami","czwórkę","czwórki","czwórko","czwórkom","czworo","dwa","dwadzieścia","dwanaście","dwie","dwiema","dwóch","dwójce","dwoje","dwójek","dwójka","dwójką","dwójkach","dwójkami","dwójki","dwójko","dwójkom","dwóm","dwoma","dwudziestce","dwudziestek","dwudziestka","dwudziestką","dwudziestkach","dwudziestkami","dwudziestkę","dwudziestki","dwudziestkom","dwudziestoma","dwudziestu","dwunastce","dwunastek","dwunastka","dwunastką","dwunastkach","dwunastkami","dwunastkę","dwunastki","dwunastko","dwunastkom","dwunastoma","dwunastu","dziesiątce","dziesiątek","dziesiątka","dziesiątką","dziesiątkach","dziesiątkami","dziesiątkę","dziesiątki","dziesiątko","dziesiątkom","dziesięć","dziesięcioma","dziesięciu","dziewiątce","dziewiątek","dziewiątka","dziewiątką","dziewiątkach","dziewiątkami","dziewiątkę","dziewiątki","dziewiątko","dziewiątkom","dziewięć","dziewięcioma","dziewięciorga","dziewięciorgiem","dziewięciorgu","dziewięcioro","dziewięciu","dziewiętnaście","dziewiętnastce","dziewiętnastek","dziewiętnastka","dziewiętnastką","dziewiętnastkach","dziewiętnastkami","dziewiętnastkę","dziewiętnastki","dziewiętnastkom","dziewiętnastoma","dziewiętnastu","jeden","jedenaście","jedenastce","jedenastek","jedenastka","jedenastką","jedenastkach","jedenastkami","jedenastkę","jedenastki","jedenastko","jedenastkom","jedenastoma","jedenastu","jedna","jedną","jednego","jednej","jednemu","jedno","jednym","jedynce","jedynek","jedynka","jedynką","jedynkach","jedynkami","jedynkę","jedynki","jedynko","jedynkom","miliard","miliarda","miliardach","miliardami","miliardem","miliardom","miliardów","miliardowi","miliardy","miliardzie","milion","miliona","milionach","milionami","milionem","milionie","milionom","milionów","milionowi","miliony","ósemce","ósemek","ósemka","ósemką","ósemkach","ósemkami","ósemkę","ósemki","ósemko","ósemkom","osiem","osiemnaście","osiemnastce","osiemnastek","osiemnastka","osiemnastką","osiemnastkach","osiemnastkam","osiemnastkę","osiemnastki","osiemnastko","osiemnastkom","osiemnastoma","osiemnastu","ośmioma","ośmiorga","ośmiorgiem","ośmiorgu","ośmioro","ośmiu","piątce","piątek","piątka","piątką","piątkach","piątkami","piątkę","piątki","piątko","piątkom","pięć","pięcioma","pięciorga","pięciorgiem","pięciorgu","pięcioro","pięciu","piętnaście","piętnastce","piętnastek","piętnastka","piętnastką","piętnastkach","piętnastkami","piętnastkę","piętnastki","piętnastko","piętnastkom","piętnastoma","piętnastu","raz","setce","setek","setka","setkach","setkami","setkę","setki","setkom","siedem","siedemnaście","siedemnastce","siedemnastek","siedemnastka","siedemnastką","siedemnastkach","siedemnastkami","siedemnastkę","siedemnastki","siedemnastko","siedemnastkom","siedemnastoma","siedemnastu","siedmioma","siedmiorga","siedmiorgiem","siedmiorgu","siedmioro","siedmiu","siódemce","siódemek","siódemka","siódemką","siódemkach","siódemkami","siódemkę","siódemki","siódemko","siódemkom","sto","stoma","stu","sześć","sześcioma","sześciorga","sześciorgiem","sześciorgu","sześcioro","sześciu","szesnaście","szesnastce","szesnastek","szesnastka","szesnastką","szesnastkach","szesnastkami","szesnastkę","szesnastki","szesnastko","szesnastkom","szesnastoma","szesnastu","szóstce","szóstek","szóstka","szóstką","szóstkach","szóstkami","szóstkę","szóstki","szóstko","szóstkom","trójce","troje","trójek","trójka","trójką","trójkach","trójkami","trójki","trójko","trójkom","trzech","trzem","trzema","trzy","trzynaście","trzynastce","trzynastek","trzynastka","trzynastką","trzynastkach","trzynastkami","trzynastkę","trzynastki","trzynastko","trzynastkom","trzynastoma","trzynastu","tysiąc","tysiąca","tysiącach","tysiącami","tysiące","tysiącem","tysiącom","tysiącowi","tysiącu","tysięcy"],r=["czternaści","czternasta","czternastą","czternaste","czternastego","czternastej","czternastemu","czternasty","czternastych","czternastym","czternastymi","czwarci","czwarta","czwartą","czwarte","czwartego","czwartej","czwartemu","czwarty","czwartych","czwartym","czwartymi","drudzy","druga","drugą","drugi","drugich","drugie","drugiego","drugiej","drugiemu","drugim","drugimi","dwudzieści","dwudziesta","dwudziestą","dwudzieste","dwudziestego","dwudziestej","dwudziestemu","dwudziesty","dwudziestych","dwudziestym","dwudziestymi","dwunaści","dwunasta","dwunastą","dwunaste","dwunastego","dwunastej","dwunastemu","dwunasty","dwunastych","dwunastym","dwunastymi","dziesiąci","dziesiąta","dziesiątą","dziesiąte","dziesiątego","dziesiątej","dziesiątemu","dziesiąty","dziesiątych","dziesiątym","dziesiątymi","dziewiąci","dziewiąta","dziewiątą","dziewiąte","dziewiątego","dziewiątej","dziewiątemu","dziewiąty","dziewiątych","dziewiątym","dziewiątymi","dziewiętnaści","dziewiętnasta","dziewiętnastą","dziewiętnaste","dziewiętnastego","dziewiętnastej","dziewiętnastemu","dziewiętnasty","dziewiętnastych","dziewiętnastym","dziewiętnastymi","jedenaści","jedenasta","jedenastą","jedenaste","jedenastego","jedenastej","jedenastemu","jedenasty","jedenastych","jedenastym","jedenastymi","osiemnaści","osiemnasta","osiemnastą","osiemnaste","osiemnastego","osiemnastej","osiemnastemu","osiemnasty","osiemnastych","osiemnastym","osiemnastymi","ósma","ósmą","ósme","ósmego","ósmej","ósmemu","óśmi","ósmy","ósmych","ósmym","ósmymi","piąci","piąta","piątą","piąte","piątego","piątej","piątemu","piąty","piątych","piątym","piątymi","pierwsi","pierwsza","pierwszą","pierwsze","pierwszego","pierwszej","pierwszemu","pierwszy","pierwszych","pierwszym","pierwszymi","piętnaści","piętnasta","piętnastą","piętnaste","piętnastego","piętnastej","piętnastemu","piętnasty","piętnastych","piętnastym","piętnastymi","siedemnaści","siedemnasta","siedemnastą","siedemnaste","siedemnastego","siedemnastej","siedemnastemu","siedemnasty","siedemnastych","siedemnastym","siedemnastymi","siódma","siódmą","siódme","siódmego","siódmej","siódmemu","siódmi","siódmy","siódmych","siódmym","siódmymi","szesnaści","szesnasta","szesnastą","szesnaste","szesnastego","szesnastej","szesnastemu","szesnasty","szesnastych","szesnastymi","szóści","szósta","szóstą","szóste","szóstego","szóstej","szóstemu","szósty","szóstych","szóstym","szóstymi","trzeci","trzecia","trzecią","trzecich","trzecie","trzeciego","trzeciej","trzeciemu","trzecim","trzecimi","trzynaści","trzynasta","trzynastą","trzynaste","trzynastego","trzynastej","trzynastemu","trzynasty","trzynastych","trzynastym","trzynastymi"],p=["ja","my","on","ona","one","oni","ono","ty","wy"],s=["cię","ciebie","go","ich","ją","je","jego","mnie","nas","nią","nich","nie","niego","was"],t=["jej","niej"],d=["mi","ci","im","jemu","mu","nam","niemu","nim","tobie","wam"],c=["mną","nami","nią","nim","nimi","tobą","wami"],k=["myśmy","wyście","żeście","żeśmy"],u=["doń","nań","zeń"],l=["ich","jego","jej","ma","mą","me","mego","mej","memu","moi","moich","moim","moimi","mój","moja","moją","moje","mojego","mojej","mojemu","mych","mym","mymi","nasi","nasz","nasza","naszą","nasze","naszego","naszej","naszemu","naszych","naszym","naszymi","swa","swą","swe","swego","swej","swemu","swoi","swoich","swoim","swoimi","swój","swoja","swoją","swoje","swojego","swojej","swojemu","swych","swym","swymi","twa","twą","twe","twego","twej","twemu","twoi","twoich","twoim","twoimi","twój","twoja","twoją","twoje","twojego","twojej","twojemu","twych","twym","twymi","wasi","wasz","wasza","waszą","wasze","waszego","waszej","waszemu","waszych","waszym","waszymi"],m=["się"],b=["siebie","sobą"],g=["czyi","czyich","czyim","czyimi","czyj","czyja","czyją","czyje","czyjego","czyjej","czyjemu","kim","kogo","komu","kto"],j=["czy","czyś","czyśbyś","dlaczego","dokąd","dokądże","dokądżeś","gdzie","gdzież","gdzieżeś","ile","ileż","jak","jakbyś","jakże","jakżebyś","jakżeś","kiedy","którędy","którędyż","skąd","skądże","skądżeś"],h=["co","czego","czemu","czym","jacy","jaka","jaką","jaki","jakich","jakie","jakiego","jakiej","jakiemu","jakim","jakimi","która","którą","które","którego","której","któremu","który","których","którym","którymi","którzy"],f=["coś","czegoś","czemuś","czyichkolwiek","czyichś","czyikolwiek","czyimikolwiek","czyimiś","czyimkolwiek","czyimkolwiem","czyimś","czyiś","czyjakolwiek","czyjąkolwiek","czyjaś","czyjąś","czyjegokolwiek","czyjegoś","czyjejkolwiek","czyjejś","czyjekolwiek","czyjemukolwiek","czyjemuś","czyjeś","czyjkolwiek","czymś","dlaczegoś","dokądkolwiek","dokądś","gdziekolwiek","gdzieś","ilekolwiek","ileś","jacykolwiek","jacyś","jakakolwiek","jakąkolwiek","jakaś","jakąś","jakichkolwiek","jakichś","jakiegokolwiek","jakiegoś","jakiejkolwiek","jakiejś","jakiekolwiek","jakiemukolwiek","jakiemuś","jakieś","jakikolwiek","jakimikolwiek","jakimkolwiek","jakimś","jakiś","jakkolwiek","jakoś","każda","każdą","każde","każdego","każdej","każdemu","każdy","każdym","kiedykolwiek","kiedyś","kimkolwiek","kimś","kogokolwiek","kogoś","komukolwiek","komuś","ktokolwiek","którakolwiek","którąkolwiek","któraś","którąś","którędykolwiek","którędyś","któregokolwiek","któregoś","którejkolwiek","którejś","którekolwiek","któremukolwiek","któremuś","któreś","którychkolwiek","którychś","którykolwiek","którymikolwiek","którymiś","którymkolwiek","którymś","któryś","którzykolwiek","którzyś","ktoś","nawzajem","nic","niczego","niczemu","niczyi","niczyich","niczyim","niczyimi","niczyj","niczyja","niczyją","niczyjego","niczyjej","niczyjemu","niczym","nikim","nikogo","nikogokolwiek","nikomu","nikt","skądkolwiek","skądś","wszyscy","wszyskiego","wszystkich","wszystkie","wszystkiemu","wszystkim","wszystkimi","wszystko","żaden","żadna","żadną","żadne","żadnego","żadnej","żadnemu","żadni","żadnych","żadnym","żadnymi"],x=["ci","dlatego","ów","owa","ową","owe","owego","owej","owemu","owi","owo","owych","owym","stąd","stamtąd","ta","tacy","tak","taka","taką","taki","takich","takie","takiego","takiej","takiemu","takim","takimi","tam","tamci","tamta","tamtą","tamte","tamtego","tamtej","tamtemu","tamten","tamto","tamtych","tamtym","tamtymi","tą","te","tę","tędy","tego","tegoż","tej","temu","ten","to","tu","tutaj","tych","tyle","tyloma","tylu","tym","tymi","wtedy"],P=["ciut","część","części","częścią","częściach","częściami","częściom","dość","dosyć","dużo","kilka","kilkadziesiąt","kilkanaście","kilkaset","kilknasty","kilkoma","kilku","kilkudziesiąte","kilkudziesiątego","kilkudziesiątej","kilkudziesiąty","kilkudziesiątych","kilkudziesiątym","kilkudziesiątymi","kilkudziesięcioma","kilkudziesięciu","kilkunasta","kilkunastą","kilkunaste","kilkunastego","kilkunastej","kilkunastemu","kilkunastoma","kilkunastu","kilkunastym","kilkuset","kilkustoma","kiludziesiąta","mało","malutko","mniej","mnóstwa","mnóstwem","mnóstwie","mnóstwo","mnóstwu","multum","nadto","najmniej","najwięcej","nieco","niedużo","niejednokroć","niektóre","niektórzy","niektórych","niektórym","niektórymi","niemało","niewiele","niewieloma","niewielu","oba","obaj","obie","oboje","obojga","obojgiem","obojgu","obóm","oboma","obu","obydwa","obydwaj","obydwie","obydwiema","obydwóch","obydwoje","obydwojgiem","obydwojgu","obydwóm","obydwoma","obydwu","odrobiną","odrobince","odrobinę","odrobinie","odrobinką","odrobinkę","odrobinki","odrobiny","parę","parędziesiąt","parędziesięcioma","parędziesięciu","paręnaście","paręnastoma","paręnastu","parokroć","paroma","paru","parze","pełno","pół","półczwarta","połowa","połową","połowie","połowy","półtora","półtorej","sporo","trochę","trochu","troszeczkę","troszkę","wcale","więcej","większość","większości","większością","większościach","większościami","większościom","wiele","wielokrotnie","wieloma","wielu"],S=["czasem","często","nigdy","rzadko","zawsze"],Z=["chcą","chcąc","chcąca","chcące","chcący","chce","chcę","chcecie","chcemy","chcesz","chciał","chciała","chciałaby","chciałabym","chciałabyś","chciałam","chciałaś","chciałby","chciałbym","chciałbyś","chciałem","chciałeś","chciały","chciałyby","chciałybyście","chciałybyśmy","chciałyście","chciałyśmy","chcieli","chcieliby","chcielibyście","chcieliście","chcieliśmy","chcono","ma","macie","mają","mając","mam","mamy","masz","miał","miała","miałaby","miałabym","miałabyś","miałam","miałaś","miałby","miałbym","miałbyś","miałem","miałeś","miało","miałoby","miały","miałyby","miałybyście","miałybyśmy","miałyście","miałyśmy","miano","miej","miejąca","miejące","miejący","miejcie","miejmy","mieli","mieliby","mielibyście","mielibyśmy","mieliście","mieliśmy","mogą","mogąc","mogąca","mogące","mogący","mogę","mógł","mogła","mogłaby","mogłabym","mogłabyś","mogłam","mogłaś","mógłby","mógłbym","mógłbyś","mogłem","mogłeś","mogli","mogliby","moglibyście","moglibyśmy","mogliście","mogliśmy","mogły","mogłyby","mogłybyście","mogłybyśmy","mogłyście","mogłyśmy","może","możecie","możemy","możesz","można","możnaby","musi","musiał","musiała","musiałaby","musiałabym","musiałabyś","musiałam","musiałaś","musiałby","musiałbym","musiałbyś","musiałem","musiałeś","musiało","musiałoby","musiały","musiałyby","musiałybyście","musiałybyśmy","musiałyście","musiałyśmy","musiano","musicie","musieli","musieliby","musielibyście","musielibyśmy","musieliście","musieliśmy","musimy","musisz","muszą","musząc","musząca","muszące","muszący","muszę","należy","niech","potrafi","potrafią","potrafiąc","potrafiąca","potrafiące","potrafiący","potraficie","potrafię","potrafiłaby","potrafiłabym","potrafiłabyś","potrafiłam","potrafiłaś","potrafiłbym","potrafiłbyś","potrafiłem","potrafiłeś","potrafili","potrafiliby","potrafilibyście","potrafilibyśmy","potrafiliście","potrafiliśmy","potrafiło","potrafiłoby","potrafiłyby","potrafiłybyście","potrafiłybyśmy","potrafiłyście","potrafiłyśmy","potrafimy","potrafiono","potrafisz","powinien","powinienem","powinieneś","powinna","powinnam","powinnaś","powinne","powinni","powinniście","powinniśmy","powinnyście","powinnyśmy","pozostaje","stają","stając","stająca","stające","stający","staje","staję","stajecie","stajemy","stajesz","stał","stała","stałaby","stałabym","stałabyś","stałam","stałaś","stałby","stałbym","stałbyś","stałem","stałeś","stali","staliby","stalibyście","stalibyśmy","staliście","staliśmy","stało","stały","stałyby","stałybyście","stałybyśmy","stałyście","stałyśmy","stanie","stano","stawać","stawając","stawająca","stawające","stawający","stawał","stawała","stawałaby","stawałabym","stawałabyś","stawałabyście","stawałam","stawałaś","stawałby","stawałbym","stawałbyś","stawałem","stawałeś","stawali","stawaliby","stawalibyście","stawalibyśmy","stawaliście","stawaliśmy","stawały","stawałyby","stawałybyśmy","stawałyście","stawałyśmy","stawano","stawawszy","stawszy","trzeba","warto","wystarczy"],v=["być","zostać"],T=["chcieć","mieć","móc","musieć","potrafić","stać"],C=["bez","beze","blisko","daleko","dla","do","dole","dookoła","górze","jako","koło","ku","między","mimo","na","nad","nade","naokoło","naprzeciwko","niedaleko","nieopodal","niż","o","obok","od","ode","około","oprócz","po","pod","podczas","pode","pomiędzy","ponad","poniżej","poprzek","poprzez","pośród","powyżej","poza","przeciw","przeciwko","przed","przede","przez","przeze","przy","spodem","spośród","spoza","u","w","wbrew","we","wedle","wewnątrz","wpół","wraz","wśród","wzdłuż","z","za","ze","zza"],O=["bliska","daleka","przodu","tyłu"],W=["albo","ani","bądź","i","lub","oraz","tylko"],U=["aż","by","czy","gdyby","jak","jeśli","jeżeli","że"],R=["ano","ciągu","coraz","dzięki","chyba","jakby","jednocześnie","jeszcze","już","nadal","nagle","znowu","prawdopodobnie","niestety","dziś","dzisiaj","oczywiście","względem","m.in.","właśnie","zaraz"],M=["bierz","bierzcie","bierzecie","bierzemy","bierzesz","bierzmy","biorą","biorąc","biorąca","biorące","biorący","biorę","brał","brała","brałaby","brałabym","brałabyś","brałam","brałaś","brałby","brałbym","brałbyś","brałem","brałeś","brali","braliby","bralibyście","bralibyśmy","braliście","braliśmy","brało","brałoby","brały","brałyby","brałybyście","brałybyśmy","brałyście","brałyśmy","brany","da","dacie","dadzą","daj","dają","dając","dająca","dające","dający","dajcie","daje","daję","dajecie","dajemy","dajesz","dajmy","dał","dała","dałaby","dałabym","dałabyś","dałam","dałaś","dałby","dałbym","dałbyś","dałem","dałeś","dali","daliby","dalibyście","dalibyśmy","daliście","daliśmy","dało","dałoby","dały","dałyby","dałybyście","dałybyśmy","dałyście","dałyśmy","dam","damy","dana","dano","dany","dasz","dawaj","dawajcie","dawajmy","dawał","dawała","dawałaby","dawałabym","dawałabyś","dawałam","dawałaś","dawałby","dawałbym","dawałbyś","dawałem","dawałeś","dawali","dawaliby","dawalibyście","dawalibyśmy","dawaliście","dawaliśmy","dawało","dawały","dawałyby","dawałybyście","dawałybyśmy","dawałyście","dawałyśmy","dawana","dawane","dawano","dawany","idą","idąc","idąca","idące","idący","idę","idź","idźcie","idzie","idziecie","idziemy","idziesz","idźmy","rób","róbcie","robi","robią","robiąc","robiąca","robiące","robiący","robicie","robię","robił","robiła","robiłaby","robiłabym","robiłabyś","robiłam","robiłaś","robiłby","robiłbym","robiłbyś","robiłem","robiłeś","robili","robilibiście","robiliby","robilibyśmy","robiliście","robiliśmy","robiło","robiły","robiłyby","robiłybyście","robiłybyśmy","robiłyście","robiłyśmy","robimy","robiono","robiony","robisz","róbmy","stanowi","stanowią","stanowiły","stanowili","stoi","stoicie","stoimy","stoisz","stój","stoją","stojąc","stojąca","stojące","stojący","stójcie","stoję","stójmy","świadczy","szedł","szedłby","szedłbym","szedłbyś","szedłem","szedłeś","szła","szłaby","szłabym","szłabyś","szłam","szłaś","szli","szliby","szlibyście","szlibyśmy","szliście","szliśmy","szło","szłoby","szły","szłyby","szłybyście","szłybyśmy","szłyście","uprawia","uprawiacie","uprawiają","uprawiając","uprawiająca","uprawiające","uprawiający","uprawiał","uprawiała","uprawiałaby","uprawiałabym","uprawiałabyś","uprawiałam","uprawiałaś","uprawiałby","uprawiałbym","uprawiałbyś","uprawiałem","uprawiałeś","uprawiali","uprawialiby","uprawialibyście","uprawialibyśmy","uprawialiście","uprawialiśmy","uprawiało","uprawiałoby","uprawiały","uprawiałyby","uprawiałybyście","uprawiałybyśmy","uprawiałyście","uprawiałyśmy","uprawiam","uprawiamy","uprawiana","uprawiane","uprawiano","uprawiany","uprawiasz","weź","weźcie","wezmą","wezmę","weźmie","weźmiecie","weźmiemy","weźmiesz","weźmy","wykonuj","wykonują","wykonując","wykonująca","wykonujące","wykonujący","wykonujcie","wykonuje","wykonuję","wykonujecie","wykonujemy","wykonujesz","wykonujmy","wykonywał","wykonywała","wykonywałaby","wykonywałabym","wykonywałabyś","wykonywałam","wykonywałaś","wykonywałby","wykonywałbym","wykonywałbyś","wykonywałem","wykonywałeś","wykonywali","wykonywaliby","wykonywalibyście","wykonywalibyśmy","wykonywaliście","wykonywaliśmy","wykonywało","wykonywałoby","wykonywały","wykonywałyby","wykonywałybyście","wykonywałybyśmy","wykonywałyście","wykonywałyśmy","wykonywana","wykonywane","wykonywany","wziął","wziąłby","wziąłbym","wziąłbyś","wziąłem","wziąłeś","wziąwszy","wzięła","wzięłaby","wzięłabym","wzięłabyś","wzięłam","wzięłaś","wzięli","wzięliby","wzięlibyście","wzięlibyśmy","wzięliście","wzięliśmy","wzięło","wzięłoby","wzięły","wzięłyby","wzięłybyście","wzięłybyśmy","wzięłyście","wzięłyśmy","zrób","zróbcie","zrobi","zrobią","zrobiąc","zrobiąca","zrobiące","zrobiący","zrobicie","zrobię","zrobił","zrobiła","zrobiłaby","zrobiłabym","zrobiłabyś","zrobiłam","zrobiłaś","zrobiłby","zrobiłbym","zrobiłbyś","zrobiłem","zrobiłeś","zrobili","zrobilibiście","zrobiliby","zrobilibyśmy","zrobiliście","zrobiliśmy","zrobiło","zrobiły","zrobiłyby","zrobiłybyście","zrobiłybyśmy","zrobiłyście","zrobiłyśmy","zrobimy","zrobiono","zrobiony","zrobisz","zróbmy","powinno","bywa","wiedzieć","znać","wiedział","wiedziała","wiedziały","wiedzieli","znał","znała","znali","znały","powie","wie","zna","zobaczy","powiedzą","powiedziano","powiem","wiedzą","wiedzące","wiedzący","wiedziało","wiedziano","wiem","znają","znające","znający","znało","znam","znane","znano","zobaczą","zobaczę","zobaczone","zobaczono","powiecie","powiedz","powiedzcie","powiedzenie","powiedział","powiedziała","powiedziałaby","powiedziałabym","powiedziałabyś","powiedziałam","powiedziałaś","powiedziałby","powiedziałbym","powiedziałbyś","powiedziałem","powiedziałeś","powiedziało","powiedziałoby","powiedziały","powiedziałyby","powiedziałybyście","powiedziałybyśmy","powiedziałyście","powiedziałyśmy","powiedziawszy","powiedzieć","powiedzieli","powiedzieliby","powiedzielibyście","powiedzielibyśmy","powiedzieliście","powiedzieliśmy","powiedzmy","powiemy","powiesz","wiecie","wiedz","wiedząc","wiedząca","wiedzcie","wiedziałaby","wiedziałabym","wiedziałabyś","wiedziałam","wiedziałaś","wiedziałby","wiedziałbym","wiedziałbyś","wiedziałem","wiedziałeś","wiedziałoby","wiedziałyby","wiedziałybyście","wiedziałybyśmy","wiedziałyście","wiedziałyśmy","wiedzieliby","wiedzielibyście","wiedzielibyśmy","wiedzieliście","wiedzieliśmy","wiedzmy","wiemy","wiesz","znacie","znaj","znając","znająca","znajcie","znajmy","znałaby","znałabym","znałabyś","znałam","znałaś","znałby","znałbym","znałbyś","znałem","znałeś","znaliby","znalibyście","znalibyśmy","znaliście","znaliśmy","znałoby","znałyby","znałybyście","znałybyśmy","znałyście","znałyśmy","znamy","znana","znani","znanie","znany","znasz","zobacz","zobaczcie","zobaczeni","zobaczenie","zobaczmy","zobaczona","zobaczony","zobaczyć","zobaczycie","zobaczył","zobaczyła","zobaczyłaby","zobaczyłabym","zobaczyłabyś","zobaczyłam","zobaczyłaś","zobaczyłby","zobaczyłbym","zobaczyłbyś","zobaczyłem","zobaczyłeś","zobaczyli","zobaczyliby","zobaczylibyście","zobaczylibyśmy","zobaczyliście","zobaczyliśmy","zobaczyło","zobaczyłoby","zobaczyły","zobaczyłyby","zobaczyłybyście","zobaczyłybyśmy","zobaczyłyście","zobaczyłyśmy","zobaczymy","zobaczysz","zobaczywszy"],A=["brać","dać","dawać","iść","robić","stanowić","uprawiać","wykonywać","wziąć","zrobić"],E=["informowali","informowały","informują","informuje","informuję","mówi","mówią","mówię","mówił","mówiła","mówili","mówiły","odpowiada","odpowiadają","odpowiadam","odpowiedział","odpowiedziała","odpowiedziałam","odpowiedziały","odpowiedzieli","odwiedziałam","poinformowałam","poinformowali","poinformowały","powiedział","powiedziała","powiedziałam","powiedziały","powiedzieli","pyta","pytać","pytał","pytała","pytałam","pytali","pytały","pytam","sądzą","sądzę","sądzi","sądzić","sądziłam","sądzili","sądziły","spytał","spytała","spytałam","spytali","spytały","stwierdziały","stwierdzieli","stwierdził","stwierdziła","stwierdziłam","twierdzą","twierdzę","twierdzi","twierdziały","twierdzić","twierdzieli","twierdził","twierdziła","twierdziłam","uważa","uważają","uważał","uważała","uważali","uważały","uważam","wyjaśnia","wyjaśniać","wyjaśniają","wyjaśniam","wyjaśnił","wyjaśniła","wyjaśnili","wyjaśniły","zapytał","zapytała","zapytałam","zapytali","zapytały","zaznacza","zaznaczają","zaznaczam","zaznaczył","zaznaczyła","zaznaczyłam","zaznaczyli","zaznaczyły"],D=["bardziej","bardzo","całkiem","całkowicie","doskonale","dość","dosyć","kompletnie","najbardziej","naprawdę","nawet","nieco","niezbyt","niezmiernie","niezwykle","ogromnie","strasznie","świetnie","wielce","wyjątkowo","zbyt","znacznie","zupełnie"],L=["cała","całą","całe","całego","całej","całemu","cali","cały","całych","całym","całymi","ciekawa","ciekawą","ciekawe","ciekawego","ciekawej","ciekawemu","ciekawi","ciekawy","ciekawych","ciekawym","ciekawymi","dłudzy","długa","długą","długi","długich","długie","długiego","długiej","długiemu","długim","długimi","dłużsi","dłuższa","dłuższą","dłuższe","dłuższego","dłuższej","dłuższemu","dłuższy","dłuższych","dłuższym","dłuższymi","dobra","dobrą","dobre","dobrego","dobrej","dobremu","dobry","dobrych","dobrym","dobrymi","dobrzy","fajna","fajną","fajne","fajnego","fajnej","fajnemu","fajni","fajny","fajnych","fajnym","fajnymi","główna","główną","główne","głównego","głównej","głównemu","główni","główny","głównych","głównym","głównymi","inna","inną","inne","innego","innej","innemu","inni","inny","innych","innym","innymi","krótcy","krótka","krótką","krótki","krótkich","krótkie","krótkiego","krótkiej","krótkiemu","krótkim","krótkimi","krótsi","krótsza","krótszą","krótsze","krótszego","krótszej","krótszemu","krótszych","krótszym","krótszymi","łatwe","łatwego","łatwiejsze","łatwym","lepsi","lepsza","lepszą","lepsze","lepszego","lepszej","lepszemu","lepszy","lepszych","lepszym","lepszymi","mała","małą","małe","małego","małej","małemu","mali","mały","małych","małym","małymi","mniejsi","mniejsza","mniejszą","mniejsze","mniejszego","mniejszej","mniejszemu","mniejszy","mniejszych","mniejszym","mniejszymi","najdłużsi","najdłuższa","najdłuższą","najdłuższe","najdłuższego","najdłuższej","najdłuższemu","najdłuższy","najdłuższych","najdłuższym","najdłuższymi","najkrótsi","najkrótsza","najkrótszą","najkrótsze","najkrótszego","najkrótszej","najkrótszemu","najkrótszych","najkrótszym","najkrótszymi","najłatwiejsze","najlepsi","najlepsza","najlepszą","najlepsze","najlepszego","najlepszej","najlepszemu","najlepszych","najlepszym","najlepszymi","najmniejsi","najmniejsza","najmniejszą","najmniejsze","najmniejszego","najmniejszej","najmniejszemu","najmniejszy","najmniejszych","najmniejszym","najmniejszymi","najniżsi","najniższa","najniższą","najniższe","najniższego","najniższej","najniższemu","najniższy","najniższych","najniższym","najniższymi","najtrudniejsze","najwięksi","największa","największą","największe","największego","największej","największemu","największych","największym","największymi","najwyżsi","najwyższa","najwyższą","najwyższe","najwyższego","najwyższej","najwyższemu","najwyższy","najwyższych","najwyższym","najwyższymi","następna","następną","następne","następnego","następnej","następni","następny","następnych","następnym","następnymi","niewłaściwa","niewłaściwą","niewłaściwe","niewłaściwego","niewłaściwej","niewłaściwemu","niewłaściwi","niewłaściwy","niewłaściwych","niewłaściwym","niewłaściwymi","niscy","niska","niską","niski","niskich","niskie","niskiego","niskiej","niskiemu","niskim","niskimi","niżsi","niższa","niższą","niższe","niższego","niższej","niższemu","niższy","niższych","niższym","niższymi","ostatni","ostatnia","ostatnią","ostatnich","ostatnie","ostatniego","ostatniej","ostatniemu","ostatnim","ostatnimi","poprzedni","poprzednia","poprzednią","poprzednich","poprzednie","poprzedniego","poprzedniej","poprzedniemu","poprzednim","poprzednimi","sam","sama","samą","same","samego","samej","samemu","sami","samo","samych","samym","samymi","trudne","trudnego","trudniejsze","trudnym","więksi","większa","większą","większe","większego","większej","większemu","większych","większym","większymi","wielcy","wielka","wielką","wielki","wielkich","wielkie","wielkiego","wielkiej","wielkiemu","wielkim","wielkimi","właściwa","właściwą","właściwe","właściwego","właściwej","właściwemu","właściwi","właściwy","właściwych","właściwym","właściwymi","wysocy","wysoka","wysoką","wysoki","wysokich","wysokie","wysokiego","wysokiej","wysokiemu","wysokim","wysokimi","wyżsi","wyższa","wyższą","wyższe","wyższego","wyższej","wyższemu","wyższy","wyższych","wyższym","wyższymi","kolejne","różne","złe","kolejnych","różnych","złych","kolejnego","kolejnej","kolejny","kolejnym","różnego","różnej","różny","różnym","złego","złej","zły","złym","kolejna","kolejną","kolejnemu","kolejni","kolejnymi","różna","różną","różnemu","różni","różnymi","zła","złą","złemu","źli","złymi"],F=["blisko","bliżej","ciągle","ciężko","czasami","czasem","częściej","często","dalej","daleko","dawniej","dawno","dobrze","dopiero","fajnie","fajniej","gorzej","inaczej","ładnie","łatwiej","łatwo","lepiej","najbliżej","najczęściej","najdalej","najdawniej","najfajniej","najgorzej","najłatwiej","najlepiej","najniżej","najpóźniej","najprościej","najszybciej","najtrudniej","najwcześniej","najwyżej","naprawdę","niedaleko","niedawno","nisko","niżej","ostatnio","pewno","póżniej","późno","prawie","prościej","prosto","prostu","szybciej","szybko","trochę","trudniej","trudno","wcześnie","wcześniej","wolno","wszędzie","wysoko","wyżej","zazwyczaj","źle","jedynie","obecnie","teraz","szczególnie","zwykle"],_=["dni","dnia","dniach","dniami","dnie","dzień","dzisiaj","godzin","godzina","godzinach","godzinami","godzinę","godziny","jutro","lata","latach","latami","miesiąc","miesiąca","miesiącach","miesiącami","miesiące","miesiącem","miesiącu","miesięcy","minut","minuta","minutach","minutę","minuty","pojutrze","przedwczoraj","rok","rokiem","roku","sekund","sekunda","sekundach","sekundę","sekundy","tydzień","tygodni","tygodnia","tygodniach","tygodniami","tygodnie","tygodniu","wczoraj"],B=["chwila","chwilą","chwilach","chwilami","chwile","chwilę","chwili","chwilom","część","części","częścią","częściach","częściami","częściom","momencie","moment","ogóle","osób","osoba","osobą","osobach","osobami","osobę","osobie","osobom","osoby","powód","powodach","powodami","powodem","powodom","powodów","powodowi","powodu","powody","powodzie","przypadkiem","przypadku","raz","razach","razami","razem","razie","razom","razów","razowi","razu","razy","rodzaj","rodzajach","rodzajami","rodzajem","rodzajom","rodzajów","rodzajowi","rodzaju","rzecz","rzeczą","rzeczach","rzeczami","rzeczom","rzeczy","sposób","sposobem","sprawa","sprawą","sprawach","sprawami","sprawę","sprawie","sprawom","sprawy","temacie","temat","tematach","tematami","tematem","tematom","tematów","tematowi","tematu","tematy"],q=["dr","dyr","mgr","p","pan","pani","panie","panowie","prof","hab"],G=["a","ach","aha","aj","akurat","ał","aua","auć","ba","brawo","e","ech","ehe","ehm","ej","ejże","ekhm","ekstra","jej","jejku","łał","och","oh","oho","oj","ojej","ojejku","phi","precz","super","uwaga","wow"],H=["°C","°F","ar","ary","arów","arach","c","cl","cm","cm²","cm³","dag","deka","dl","f","ft","g","gram","gramów","gramy","ha","hektar","hektary","hektarów","hektarach","in","kg","kilo","km","km²","cm³","l","litr","litrów","litry","łyżeczka","łyżeczkę","łyżeczki","łyżka","łyżkę","łyżki","m","m²","m³","mg","ml","mm","mm²","mm³","szczypta","szczyptę","szczypty","szklanka","szklankę","szklanki","tuzin"],I=["nie","no","oto","tak","sobie","ok","okej","itp","itd","tzw"],J=(w([].concat(r,L,F,A,T,v)),w([].concat(C,W,x,P,D,l,m,b)),w([].concat(z,R,y,p,s,t,d,c,k,u,g,j,h,f,S,O,U,M,E,_,B,q,G,H,I,Z)),w([].concat(C,k,l,y,r,M,A,E,h,g,j))),K=w([].concat(Z,T,m)),N=w([].concat(z,R,y,p,s,t,d,c,k,u,g,j,h,f,S,Z,O,U,M,E,_,B,q,G,H,I,["bądź","bądźcie","bądźmy","będą","będąc","będę","będzie","będziecie","będziemy","będziesz","by","był","była","byłaby","byłabym","byłabyś","byłam","byłaś","byłby","byłbym","byłbyś","byłem","byłeś","byli","byliby","bylibyście","bylibyśmy","byliście","byliśmy","było","byłoby","były","byłyby","byłybyście","byłybyśmy","byłyście","byłyśmy","bym","byś","byście","byśmy","byto","bywało","jest","jestem","jesteś","jesteście","jesteśmy","są","zostają","zostając","zostająca","zostające","zostający","zostaje","zostaję","zostajecie","zostajemy","zostajesz","został","została","zostałaby","zostałabym","zostałabyś","zostałam","zostałaś","zostałby","zostałbym","zostałbyś","zostałem","zostałeś","zostali","zostaliby","zostalibyście","zostalibyśmy","zostaliście","zostaliśmy","zostało","zostaloby","zostały","zostałyby","zostałybyście","zostałybyśmy","zostałyście","zostałyśmy","zostań","zostaną","zostańcie","zostanę","zostanie","zostaniecie","zostaniemy","zostaniesz","zostańmy","zostawało","zostawano","zostawszy"],C,W,x,P,D,l,m,b,r,L,F,A,T,v)),Q=["a","aby","albo","albowiem","ale","bo","bowiem","czy","gdy","gdyby","gdyż","iż","jeśli","jeżeli","lub","ponieważ","zanim","żeby","który","która","które","którzy","którego","której","których","któremu","którym","którą","którymi","że"],V=[["albo","albo"],["ani","ani"],["czy","czy"],["im","tym"],["tak","jak"]],X={percentages:{slightlyTooMany:15,farTooMany:20},cornerstonePercentages:{slightlyTooMany:15,farTooMany:20}},Y=window.lodash,$=["abdykowany","absorbowany","adaptowany","administrowany","adoptowany","adorowany","adresowany","afiszowany","agitowany","akcentowany","akceptowany","aklimatyzowany","akompaniowany","aktualizowany","aktywowany","akumulowany","alaromowany","alienowany","amerykanizowany","amortyzowany","amputowany","analizowany","angażowany","anihilowany","animowany","anonsowany","antropomorfizowany","antydatowany","anulowany","apelowany","aportowany","aranżowany","archiwizowany","aresztowany","argumentowany","artykułowany","ascendowany","asekurowany","asymilowany","asystowany","atakowany","autoryzowany","awanturowany","babrany","baczony","badany","bagatelizowany","bajerowany","bałamucony","balangowany","balansowany","banalizowany","bandażowany","bankrutowany","baraszkowany","barwiony","bawiony","bazgrany","bazowany","bębniony","bełkotany","besztany","biadolony","biczowany","bity","błagany","błaznowany","blefowany","błogosławiony","blokowany","bluzgany","błyskany","błyszczący","boczony","bogacony","bojkotowany","boksowany","bombardowany","bopowany","borowany","brandzlowany","brany","brasowany","bratany","bredzony","brnięty","brodzony","broniony","brudzony","brylowany","budowany","budzony","bujany","bulony","bulwersowany","bumelowany","burzony","butelkowany","bywany","cackany","całowany","capnięty","cechowany","celebrowany","celowany","ceniony","cenzurowany","chciany","chlany","chlapany","chlapnięty","chlastany","chłodzony","chlostany","chlubiony","chodowany","chomikowany","chorowany","chowany","chroniony","chrupany","chrzczony","chuty","chwalony","chwycony","chwytany","chybotany","chylony","ciachnięty","ciągany","ciągnięty","ciemiężony","cierpiany","cieszony","cięty","ciskany","ciśnięty","ciułany","cmokany","cmoknięty","cofany","cofnięty","ćpany","cucony","cudzołożony","cumowany","ćwiartowany","ćwiczony","cykany","cytowany","czajony","czarowany","czczony","czepiany","czepiony","czerpany","czesany","częstowany","czochrany","czołgany","czuty","czytany","czyty","darowany","darty","darzony","datowany","dawany","dbany","deaktywowany","debatowany","dedukowany","dedykowany","defibrylowany","defilowany","definiowany","defraudowany","degradowany","degustowany","deklamowany","deklarowany","dekodowany","dekompresowany","dekorowany","dekretowany","delegowany","delektowany","deliberowany","demaskowany","dementowany","demolowany","demonizowany","demonstrowany","demoralizowany","denerwowany","denuncjowany","depeszowany","depilowany","deportowany","deprawowany","deptany","deratyzowany","destabilizowany","destylowany","desygnowany","determinowany","detonowany","dewastowany","dewaulowany","dezaktywowany","dezorientowany","dezynfekowany","diagnozowany","dilowany","dłubany","dłużony","dmuchany","dmuchnięty","dobiegany","dobierany","dobijany","dobity","dobrany","dobudzony","dobyty","doceniany","doceniony","dochodzony","dochowany","dochowywany","dociągnięty","dociekany","docięty","docinany","dociskany","dociśnięty","doczekany","doczepiony","doczołgany","doczyszczony","doczytany","dodany","dodawany","dodrukowany","dodrukowywany","dofinansowany","dofinansowywany","dogadany","dogadywany","dogadzany","doganiany","doglądany","doglądnięty","dognany","dogodzony","dogoniony","dograny","dogryzany","dogryziony","dogrzany","dogrzebany","doinformowany","dojeżdżany","dojony","dojrzany","dojrzewany","dokańczany","dokarmiany","dokarmiony","dokazany","dokazywany","dokładany","doklejony","dokonany","dokończony","dokonywany","dokopany","dokopywany","dokowany","dokręcany","dokręcony","dokształcany","dokształcony","dokuczany","dokumentowany","dokupiony","dołączany","dołączony","doładowany","dolany","dolewany","doliczony","dołowany","dołożony","domagany","domalowany","domknięty","domniewywany","domówiony","domyślany","domyślony","domyty","doniesiony","donoszony","dopadany","dopadnięty","dopakowany","dopalony","dopasowany","dopasowywany","dopatrywany","dopatrzony","dopchany","dopchnięty","dopełniany","dopełniony","dopieszczony","dopięty","dopijany","dopilnowany","dopingowany","dopisany","dopisywany","dopity","dopłacany","dopłacony","dopłynięty","dopolerowany","dopompowany","dopowiedziany","dopracowany","dopracowywany","doprany","doprawiony","doprecyzowany","doproszony","doprowadzany","doprowadzony","dopucowany","dopuszczany","dopuszczony","dopytywany","dorabiany","doradzany","doradzony","doręczany","doręczony","dorobiony","dorównany","dorównywany","dorwany","dorysowany","dorzucany","dorzucony","doścignięty","dosiadany","dosięgnięty","doskoczony","doskonalony","dosładzany","dosłany","dosłyszany","dosolony","dośrodkowany","dossany","dostany","dostąpiony","dostarczany","dostarczony","dostawany","dostawiany","dostawiony","dostosowany","dostosowywany","dostrajany","dostrojony","dostrzegany","dosunięty","dosuwany","doświadczany","Doświetlony","dosypany","dosypywany","doszkolony","doszlifowany","doszorowany","doszukany","doszukiwany","doszyty","dotankowany","dotankowywany","dotargany","dotaszczony","dotknięty","dotleniony","dotłumaczony","dotowany","dotrwany","dotrzymany","dotrzymywany","dotykany","douczany","douczony","dowalony","dowieziony","dowodzony","dowożony","doznany","doznawany","dozorowany","dozowany","dożyty","dożywiony","dramatyzowany","drapany","drapnięty","draśnięty","drażniony","drążony","dręczony","drenowany","drgany","drgnięty","drukowany","dryblowany","dryfowany","drzemany","dubbingowany","dublowany","duplikowany","duszony","dworowany","dygotany","dyktowany","dymany","dymiony","dyrygowany","dyscyplinowany","dyskredytowany","dyskryminowany","dyskutowany","dyskwalifikowany","dysponowany","dystansowany","dystrybuowany","dywagowany","dźgany","dźgnięty","dziabnięty","dziedziczony","dziękowany","dzielony","dziergany","dzierżony","dziobany","dziurawiony","dziurkowany","dźwigany","dźwignięty","edukowany","edytowany","egzaminowany","egzekutowany","egzekwowany","ekscytowany","ekshumowany","ekskomunikowany","eksmitowany","ekspandowany","eksperymentowany","eksploatowany","eksplorowany","eksponowany","eksportowany","eksterminowany","ekstradowany","ekstrapolowany","eliminowany","emancypowany","emanoway","emigrowany","emitowany","energetyzowany","eskortowany","etykietowany","ewakuowany","ewaluowany","fabrykowany","falowany","fałszowany","farbowany","faszerowany","faulowany","faworyzowany","fechtowany","fermentowany","ferowany","figurowany","filetowany","filmowany","filtrowany","finalizowany","finansowany","firmowany","fleszowany","folgowany","formułowany","forsowany","fotografowany","fundowany","gadany","ganiany","garbiony","gardzony","garnirowany","gaszony","gawędzony","gaworzony","gazowany","gdakany","gderany","generalizowany","generowany","gięty","gilgotany","gładzony","głaskany","głodowany","głodzony","gloryfikowany","głosowany","głoszony","głowiony","gmatwany","gmerany","gnany","gnębiony","gnieciony","gnity","gnojony","godzony","gojony","golnięty","golony","goniony","googlowany","gospodarowany","goszczony","gotowany","grabiony","grany","grasowany","gratulowany","grillowany","grilowany","gromadzony","gromiony","grożony","gruchany","gruchnięty","grupowany","grywany","gryziony","grzany","grzechotany","gubiony","gustowany","gwałcony","gwarantowany","gwizdany","gwizdnięty","hackowany","haftowany","hajtnięty","hamowany","hańbiony","handlowany","harcowany","harmonizowany","harowany","hartowany","hibernowany","hipnotyzowany","hodowany","holowany","hołubiony","honorowany","hospitalizowany","huknięty","hulany","huśtany","idealizowany","identyfikowany","ignorowany","igrany","ilustrowany","imitowany","implantowany","implodowany","imponowany","importowany","improwizowany","indokrynowany","indukowany","infekowany","infiltrowany","informowany","ingerowany","inhalowany","inscenizowany","inspirowany","instalowany","instruowany","insynuowany","integrowany","interpretowany","interweniowany","intonowany","intubowany","inwestowany","inwigilowany","irytowany","iskrzony","izolowany","jadany","jawiony","jazgotany","jednoczony","jedzony","kablowany","kadzony","kalany","kaleczony","kalkulowany","kamerowany","kamienowany","kamuflowany","kanalizowany","kantowanty","kąpany","kapitulowany","kapowany","karany","karbonizowany","karcony","karczowany","karmiony","kartkowany","kąsany","kasowany","kastrowany","katalogowany","katapultowany","katowany","katrupiony","kierowany","kimany","kiszony","kiwany","kiwnięty","kłaniany","klapany","klapnięty","klarowany","klasyfikowany","klębiony","klejony","klepany","klepnięty","klikany","kliknięty","klonowany","kłopotany","kłuty","knocony","knuty","kochany","koczowany","kodowany","kojarzony","kojfnięty","kojony","kolekcjonowany","kolektywizowany","kolidowany","kolonizowany","kolorowany","koloryzowany","kołowany","kołysany","kombinowany","komenderowany","komentowany","komercjalizowany","kompensowany","komplementowany","komplikowany","komponowany","kompromitowany","komunikowany","konany","koncentrowany","kończony","konfabulowany","konfiskowany","konfrontowany","konserwowany","konspirowany","konstruowany","konsultowany","konsumowany","kontaktowany","kontestowany","kontrastowany","kontrolowany","kontrowany","kontynuowany","kontynuuowany","konwertowany","konwojowany","koordynowany","kopany","kopcony","kopiowany","kopnięty","kopulowany","korelowany","korkowany","koronowany","korygowany","korzony","korzystany","koszony","kotwiczony","kozaczony","kozłowany","kpity","kradziony","krajany","krążony","kręcony","kremowany","kreowany","krochmalony","krojony","kropiony","kruszony","krystalizowany","kryty","krytykowany","krzepnięty","krzyczany","krzyknięty","krzywdzony","krzywiony","krzyżowany","kserowany","księgowany","kształcony","kształtowany","kulony","kultywowany","kumulowany","kupczony","kupiony","kupowany","kupywany","kurczony","kurowany","kursowany","kurzony","kuszony","kuty","kwalifikowany","kwestionowany","łączony","ładowany","łagodzony","łajdaczony","lakierowany","łamany","lamentowany","lansowany","lany","łapany","łaskotany","łaszony","latany","łatany","lawirowany","leczony","legalizowany","legitymowany","lekceważony","lepiony","lewitowany","liberowany","licencjonowany","licytowany","liczony","likwidowany","linczowany","liniowany","literowany","litowany","lizany","liznięty","lobbowany","lokalizowany","losowany","łowiony","łożony","lubiany","łudzony","lunatykowany","łupany","łupiony","łuskany","lustrowany","łuszczony","luzowany","łykany","łyknięty","łyżeczkowany","macany","machany","machnięty","mącony","maczany","maganyzowany","maglowany","majaczony","majsterkowany","majtany","maksymalizowany","malowany","maltretowany","mamiony","mamrotany","manewrowany","manifestowany","manipulowany","markowany","marnotrawiony","marnowany","marszczony","marynowany","marznięty","masakrowany","maskowany","masowany","masturbowany","mataczony","materializowany","mawiany","mazany","maznięty","męczony","meldowany","merdany","metabolizowany","miażdżony","mielony","mierzony","mierzwiony","mieszany","miętolony","migany","migdalony","migotany","mijany","miksowany","milowany","minięty","minimalizowany","miotany","mistyfikowany","mitygowany","mizdrzony","mlany","mniemany","mnożony","mobilizowany","mocowany","moczony","modelowany","modernizowany","modlony","modulowany","modyfikowany","molestowany","monitorowany","monopolizowany","montowany","mordowany","motywowany","mówiony","mrożony","mrugany","mrużony","muskany","mutowany","mydlony","mylony","myszkowany","myty","nabazgrany","nabiegany","nabierany","nabity","nabrany","nabrojony","nabrudzony","nabyty","nabywany","nacelowany","nachapany","nachodzony","nachwalony","nachylony","naciągany","naciągnięty","nacierany","nacięty","nacinany","naciskany","naciśnięty","nacjonalizowany","naczepiony","nadany","nadawany","nadchodzony","nadciągany","nadciągnięty","nadcięty","nadesłany","nadgoniony","nadgryzany","nadgryziony","nadinterpretowany","nadłożony","nadmieniany","nadmieniony","nadmuchany","nadrabiany","nadrobiony","nadskakiwany","nadsłuchiwany","nadstawiany","nadstawiony","nadszarpnięty","naduszony","nadużyty","nadużywany","nadwerężany","nadwyrężany","nadwyrężony","nadziany","nadzorowany","naelektryzowany","nafaszerowany","nagabywany","nagadany","nagięty","naginany","nagłaszany","nagłośniony","nagoniony","nagradzany","nagrany","nagrodzony","nagromadzony","nagrywany","nagryzmolony","nagrzany","nagrzebany","nagrzewany","nagwizdany","naigrywany","najechany","najęty","najmowany","nakarmiany","nakarmiony","nakazany","nakazywany","nakierowany","nakierowywany","nakładany","nakłamany","nakłaniany","naklejany","naklejony","naklepany","nakłoniony","nakłuty","nakłuwany","nakopany","nakręcany","nakręcony","nakreślany","nakreślony","nakruszony","nakryty","nakrywany","nakrzyczany","nakupiony","naładowany","nalany","nałapany","nalepiony","nalewany","naliczony","nałowiony","nałożony","namaczany","namagnetyzowany","namalowany","namaszczany","namaszczony","namawiany","namęczony","namierzany","namieszany","namoczony","namówiony","namydlany","namyślony","naniesiony","naoliwiany","naoliwiony","naopowiadany","naostrzony","napadany","napadnięty","napakowany","napalony","naparzany","napastowany","napawany","napchany","napędzany","napełniany","napełniony","napierany","napiętnowany","napięty","napinany","napisany","napluty","napływany","napoczęty","napojony","napompowany","napotkany","napotykany","napraszany","naprawiany","naprawiony","naprężany","naprężony","napromieniowany","naprostowany","naprowadzany","naprowadzony","napsuty","napuszczany","napuszczony","napychany","napytany","narąbany","naradzany","naradzony","narastany","narażany","narażony","nareperowany","narkotyzowany","narodzony","naruszany","naruszony","narwany","narysowany","narzucany","narzucony","nasączany","nasączony","nasadzony","nasiąkany","nasilany","nasilony","naskakiwany","naskoczony","naskrobany","naśladowany","nasłany","nasłuchany","nasłuchiwany","nasmarowany","nastąpiony","nastawiany","nastawiony","nastraszany","nastrojony","nastukany","nasunięty","nasuwany","naświetlany","nasycony","nasyłany","nasypany","naszczany","naszkicowany","naszpikowany","naszprycowany","naszykowany","naszyty","naszywany","natarty","natchnięty","natknięty","natleniony","natłuszczony","natrafiony","natrząsany","natrząsnięty","nauczany","nauczony","nawadniany","nawalony","nawiązany","nawiązywany","nawiedzany","nawiedzony","nawiercony","nawiewany","nawieziony","nawigowany","nawijany","nawilżany","nawilżony","nawinięty","nawlekany","nawodniony","nawoływany","nawoskowany","nawożony","nawpychany","nawracany","nawrócony","nawrzucany","nawtykany","nawymyślany","nazbierany","nazmyślany","naznaczany","naznaczony","nazrywany","nazwany","nazywany","nęcony","negocjowany","negowany","nękany","neutralizowany","niańczony","niecierpliwiony","niedoceniany","niedowidziany","nienawidzony","niesiony","nikolony","niszczony","nitkowany","niuchany","niweczony","niwelowany","nokautowany","nominowany","notowany","nucony","numerowany","nurtowany","obaczony","obadany","obalany","obalony","obandażowany","obarczany","obarczony","obawiany","obchodzony","obciągnięty","obciążony","obcięty","obcinany","obcyndalany","obczajany","obczajony","obdarowany","obdarty","obdarzany","obdarzony","obdzielony","obdzierany","obdzwaniany","obdzwoniony","obejmowany","oberwany","obessany","obezwładniany","obezwładniony","obfotografowany","obfotografowywany","obgadany","obgadywany","obgryzany","obgryziony","obiecany","obiecywany","obierany","obijany","obity","objadany","objaśniany","objawiany","objawiony","objechany","objęty","objeżdżany","obkręcany","oblany","obłapiany","obłapywany","obłaskawiany","obłaskawiony","obleciany","obleganu","oblewany","obliczany","obliczony","oblizany","obłowiony","obłożony","obluzowany","obluzowywany","obmacany","obmacywany","obmawiany","obmyślany","obmyślony","obmyty","obmywany","obnażany","obniżany","obniżony","obnoszony","obowiązywany","obozowany","obrabiany","obrabowany","obracany","obradowany","obramowany","obraniany","obrany","obrastany","obrażany","obrażony","obrobiony","obrócony","obrodzony","obroniony","obrysowany","obrywany","obryzgany","obrzezany","obrzucany","obrzucony","obrzygany","obsadzany","obsadzony","obściskiwany","obserwowany","obsiany","obsikany","obsikiwany","obskakiwany","obskoczony","obskubany","obskubywany","obśliniany","obśliniony","obsługiwany","obsłużony","obsmarowany","obstawiany","obstawiony","obstrzeliwany","obsunięty","obsuwany","obsypany","obsypywany","obszukany","obszukiwany","obtaczany","obtarty","obtoczony","obudzony","obwąchany","obwąchiwany","obwiązany","obwiązywany","obwieszany","obwieszczany","obwieszczony","obwieszony","obwijany","obwiniany","obwinięty","obwołany","obyty","obżerany","ocalany","ocalony","ocechowany","oceniany","oceniony","ocenzurowany","ochładzany","ochlapany","ochlapywany","ochłodzony","ochłonięty","ochraniany","ochroniony","ochrzaniany","ochrzczony","ociągany","ocielony","ocieplany","ocieplony","ocierany","ocknięty","ocucony","ocuty","oczarowywany","oczekiwany","oczerniany","oczerniony","oczyszczany","oczyszczony","odarty","odbębniony","odbetonowany","odbezpieczany","odbezpieczony","odbijany","odbity","odblokowany","odbudowany","odbudowywany","odbutowany","odbyty","odcedzany","odchorowany","odchowany","odchudzany","odchudzony","odchylany","odchylony","odciągany","odciągnięty","odciążony","odcierpiony","odcięty","odcinany","odcisnięty","odcumowany","odcyfrowany","odcyfrowywany","odczarowany","odczekany","odczepiany","odczepiony","odczuty","odczuwany","odczyniony","odczytany","odczytywany","oddalany","oddany","oddawany","oddelegowany","oddychany","oddzielany","oddzielony","odebrany","odegnany","odegrany","odejmowany","odepchnięty","oderwany","odeskortowany","odesłany","odespany","odessany","odetkany","odetnięty","odezwany","odfiltrowany","odgadnięty","odgadywany","odganiany","odgarniany","odgarnięty","odgięty","odgniatany","odgoniony","odgradzany","odgrażany","odgrodzony","odgruzowany","odgrywany","odgryzany","odgryziony","odgrzany","odgrzebany","odgrzebywany","odgrzewany","odgwizdany","odhaczony","odholowany","odinstalowany","odizolowany","odjedzony","odjęty","odjonizowany","odkażany","odkażony","odkładany","odklejony","odkochany","odkodowany","odkodowywany","odkopany","odkopywany","odkorkowany","odkręcany","odkręcony","odkrojony","odkryty","odkrywany","odkupiony","odkupywany","odkurzany","odkurzony","odkuty","odłączany","odłączony","odłamywany","odlany","odlatywany","odlepiany","odlewany","odliczany","odliczony","odłożony","odłupany","odmachany","odmachiwany","odmalowany","odmarszczony","odmawiany","odmeldowany","odmieniany","odmieniony","odmierzany","odmierzony","odmieszany","odmontowany","odmówiony","odmrażany","odmrożony","odnajdowany","odnaleziony","odnawiany","odniesiony","odnoszony","odnotowany","odnotowywany","odnowiony","odpakowany","odpakowywany","odpalany","odpalony","odpałzowany","odparowany","odparty","odpędzany","odpicowany","odpieczętowany","odpierany","odpięty","odpiłowany","odpiłowywany","odpinany","odpisany","odpisywany","odpłacany","odplamiony","odplątany","odpłynięty","odpowietrzony","odpracowany","odpracowywany","odprasowany","odprawiany","odprawiony","odprężany","odprostowany","odprowadzany","odprowadzony","odpruty","odpryskany","odpukany","odpukiwany","odpuszczany","odpuszczony","odpychany","odrąbany","odrabiany","odrąbywany","odradzany","odradzony","odrapany","odrastany","odratowany","odreagowany","odremontowany","odrestaurowany","odrestaurowywany","odrobaczany","odrobiony","odroczony","odrodzony","odrośnięty","odróżniany","odróżniony","odrysowany","odrywany","odrzucany","odrzucony","odsączany","odsączony","odsadzony","odseparowany","odsiadywany","odsiany","odsiewany","odsłaniany","odsłonięty","odsłuchany","odsłuchiwany","odsłużony","odśnieżany","odśnieżony","odsolony","odśpiewany","odsprzedany","odsprzedawany","odstąpiony","odstawiany","odstawiony","odstępowany","odstraszany","odstręczony","odstresowany","odstrzeliwany","odstrzelony","odsunięty","odsuwany","odświeżany","odświeżony","odsyłany","odsypywany","odsysany","odszczekany","odszczekiwany","odsztafirowany","odszukany","odszyfrowany","odszyfrowywany","odszykowany","odtrąbiony","odtrącony","odtruty","odtwarzany","odtworzony","oduczony","odurzony","odwalany","odwalony","odwiązany","odwiązywany","odwiedzany","odwiedzony","odwieszony","odwieziony","odwijany","odwinięty","odwlekany","odwodniony","odwodzony","odwołany","odwoływany","odwożony","odwracany","odwrócony","odwzajemniony","odwzorowany","odżegnany","odziany","odziedziczony","odznaczany","odznaczony","odzwieciedlony","odzwierciedlany","odzwoniony","odzwyczajony","odzyskany","odzyskiwany","odżyty","odzywiany","odżywiony","oferowany","ofiarowany","ofiarowywany","ogarniany","ogarnięty","oglądany","ogłaszany","ogłoszony","ogłupiany","ogłupiony","ogłuszony","ogołocony","ogolony","ograbiany","ograbiony","ograniczany","ograniczony","ograny","ogrodzony","ogryziony","ogrzany","ogrzewany","okablowany","okaleczony","okantowany","okąpany","okazany","okazywany","okiełznany","okładany","okłamany","okłamywany","oklaskiwany","oklejony","oklepany","okopany","okopywany","okpiony","okradany","okradziony","okraszony","okrążany","okrążony","okręcany","okręcony","określany","określony","okrojony","okryty","okrywany","okrzyknięty","okulawiony","okupiony","okupowany","olany","olewany","olśnięty","omamiony","omawiany","omdlewany","omijany","ominięty","omotany","omówiony","onanizowany","onieśmielany","onieśmielony","opadnięty","opakowany","opalany","opalony","opancerzony","opanowany","opanowywany","oparty","oparzony","opasany","opatentowany","opatrywany","opatrzony","opatulony","opchnięty","opędzany","opędzony","operowany","opętany","opętywany","opieczętowany","opiekowany","opierany","opijany","opisany","opisywany","opity","opłacany","opłacony","opłakany","opłakiwany","opłukany","opluty","opluwany","opływany","opodatkowany","opodatkowywany","oponowany","oporządzany","oporządzony","opowiadany","opowiedziany","opóźniany","opóźniony","opracowany","opracowywany","oprawiany","oprawiony","oprowadzany","oprowadzony","opróżniany","opróżniony","opryskany","opryskiwany","opublikowany","opukany","opuszczany","opuszczony","opychany","opylony","orany","orbowany","organizowany","orientowany","oroszony","orzekany","orżnięty","osaczany","osaczony","osadzany","osądzany","osadzony","osądzony","oscylowany","osiadany","osiągany","osiągnięty","osiedlany","osiedlony","osiedzony","osierocony","osiodłany","oskalpowany","oskarżony","oskrobany","oskrzydlany","oskrzydlony","oskubany","oskubywany","osłabiany","osłabiony","oślepiany","oślepiony","oślepnięty","ośliniany","osłodzony","osłoniony","osłuchany","osmalony","ośmielony","ośmieszany","ośmieszony","ostrzegany","ostrzelany","ostrzelity","ostrzony","ostudzony","osunięty","osuszany","osuszony","osuwany","oswajany","oświadczany","oświadczony","oświecany","oświeciony","oświetlany","oświetlony","oswobadzany","oswobodzony","oswojony","oszacowany","oszałamiany","oszczany","oszczędzany","oszczędzony","oszklony","oszlifowany","oszołomiony","oszpecony","oszukany","oszukiwany","oszwabiony","otaczany","otarty","otoczony","otruty","otruwany","otrząsany","otrząśnięty","otrzepany","otrzeźwiony","otrzymany","otrzymywany","otulony","otumaniony","otwierany","otworzony","otwarty","owany","owdowiony","owiany","owijany","owinięty","ozdabiany","ozdobiony","ozdrowiony","ożeniony","oznaczany","oznaczony","oznajmiany","oznajmiony","oznakowany","ożyty","ożywany","ożywiany","ożywiony","pachnący","pacnąty","pakowany","paktowany","pałany","pałaszowany","palnięty","palony","pamiętany","panoszony","paprany","parafrazowany","paraliżowany","parkowany","parowany","partaczony","parzony","pastowany","paszony","patrolowany","patroszony","patrzony","pauzowany","pchany","pchnięty","pdholowany","pedałowany","pękany","pęknięty","pełniony","penetrowany","perforowany","perfumowany","perswadowany","piastowany","pichcony","pielęgnowany","pielony","pieniony","pieszczony","piętnowany","pięty","pijany","pikietowany","piknikowany","pikowany","pilnowany","pilotowany","piłowany","pisany","pisywany","pity","płacony","plądrowany","plamiony","planowany","płaszczony","plątany","płatany","pławiony","plewiony","płonący","płoszony","plotkowany","plugawiony","płukany","pluskany","pluty","pobaraszkowany","pobierany","pobity","pobłażany","pobłogosławiony","pobrany","pobrudzony","pobudzany","pobudzony","pobujany","pocałowany","pocerowany","pochłaniany","pochlapany","pochlebiany","pochłonięty","pochowany","pochwalany","pochwalony","pochwycony","pochylany","pochylony","pociachany","pociągany","pociągnięty","pocierany","pocieszany","pocieszony","pocięty","pocony","pocukrowany","poćwiartowany","poczesany","poczęstowany","poczęty","poczochrany","poczuty","poczytany","poczytywany","podany","podarowany","podarty","podawany","podążony","podbierany","podbijany","podbity","podbudowany","podbudowywany","podburzany","podburzony","podchwycony","podciągany","podciągnięty","podcierany","podcięty","podcinany","podczepiony","poddany","poddawany","podebrany","podejmowany","podejrzany","podejrzewany","podelektowany","podeptany","poderwany","podesłany","podglądany","podgolony","podgoniony","podgryzany","podgrzany","podgrzewany","podjadany","podjedzony","podjęty","podkablowany","podkarmiony","podkładany","podklejony","podkolorowany","podkołowany","podkopany","podkopywany","podkradany","podkradnięty","podkręcany","podkręcony","podkreślany","podkreślony","podkształcony","podkulony","podkupiony","podkurzony","podkuty","podłączany","podłączony","podładowany","podłamany","podlany","podłapany","podleczony","podlegany","podlewany","podliczany","podliczony","podlizany","podlizywany","podłożony","podmalowany","podmieniany","podmieniony","podmuchany","podmyty","podnajęty","podniecany","podniecony","podniesiony","podnoszony","podołany","podopingowany","podostrzony","podotykany","podpadnięty","podpalany","podpalony","podparty","podpatrywany","podpatrzony","podpieczętowany","podpiekany","podpierany","podpięty","podpiłowany","podpinany","podpisany","podpisywany","podpłacony","podpłynięty","podpompowany","podporządkowany","podporządkowywany","podpowiadany","podpowiedziany","podprowadzany","podpuszczany","podpuszczony","podpychany","podpytany","podrabiany","podrapany","podrasowany","podratowany","podrażniony","podręczony","podregulowany","podreperowany","podretuszowany","podrobiony","podroczony","podróżowany","podrygiwany","podrywany","podrzucany","podrzucony","podrzynany","podsadzony","podskubywany","podsłuchany","podsłuchiwany","podsmażany","podsmażony","podśpiewywany","podstawiany","podstawiony","podstemplowany","podstrojony","podsumowany","podsumowywany","podsunięty","podsuwany","podświetlany","podsycany","podsycony","podsyłany","podsypany","podszczypywany","podszkolony","podszlifowany","podszykowany","podszyty","podszywany","podtapiany","podtarty","podtopiony","podtrzymany","podtrzymywany","podtuczony","poduczany","podupadany","poduszony","podwajany","podwalany","podważany","podwędzony","podwiązany","podwieszany","podwieziony","podwijany","podwinięty","podwojony","podwożony","podwyżany","podwyższany","podwyższony","podyktowany","podyskutowany","podziabany","podziałany","podziałkowany","podziękowany","podzielony","podziurawiony","podziwiany","podźwignięty","poeksperymentowany","pofarbowany","pofatygowany","pofilmowany","poganiany","pogardzany","pogardzony","pogarszany","pogaszony","pogładzony","pogłaskany","pogłębiany","pogłębiony","pogłośniony","pogmatwany","pognębiony","pognieciony","pogodzony","pogoniony","pogorszony","pogotowany","pograbiony","pogrążany","pogrążony","pogrożony","pogrubiany","pogrubiony","pogruchany","pogruchotany","pogrupowany","pogrywany","pogryzany","pogryziony","pogrzany","pogrzebany","pogubiony","pogwałcany","pohamowany","pohandlowany","poharatowany","pohuśtany","poinformowany","poinstruowany","pojednany","pojęty","pojmięty","pojmowany","pojony","pokajany","pokaleczony","pokarany","pokarmiony","pokąsany","pokatalogowany","pokazany","pokazywany","pokiereszowany","pokierowany","pokiwany","pokładany","poklepany","poklepywany","pokłoniony","pokłuty","pokochany","pokolorowany","pokoloryzowany","pokołysany","pokombinowany","pokomplikowany","pokonany","pokończony","pokonywany","pokopany","pokrajany","pokrążony","pokręcony","pokrojony","pokruszony","pokryty","pokrywany","pokrzepiany","pokrzepiony","pokrzyżowany","pokuszony","pokutowany","połączony","polakierowany","połamany","polany","połapany","połaskotany","połatany","polecany","połechtany","polecony","poleczony","polegany","polemizowany","polepszany","polepszony","polerowany","polewany","policzkowany","policzony","polimeryzowany","polizany","połknięty","polowany","połowiony","położony","polubiony","poluźniony","poluzowany","połykany","pomacany","pomachany","pomagany","pomalowany","pomarynowany","pomasowany","pomazany","pomęczony","pomiatany","pomieszany","pomieszczony","pomijany","pominięty","pomiziany","pomknięty","pomnażany","pomniejszany","pomniejszony","pomnożony","pomoczony","pompowany","pomydlony","pomylony","pomyszkowany","pomywany","ponabijany","ponaciskany","ponadziewany","ponaglany","ponaglony","ponagrywany","ponaklejany","ponakłuwany","ponakrywany","ponaprawiany","ponawiany","poniańczony","poniechany","ponieiwerany","poniesiony","poniszczony","poniżany","poniżony","ponoszony","ponowiony","ponudzony","poobcinany","poobcowany","poobczajany","poobijany","poobmacywany","poobracany","poobserwowany","poodbijany","poodcinany","poodgryzany","poodkurzany","poodprawiany","poodsuwany","poodwalany","pooglądany","poograniczany","poopalany","poopiekany","poopwiadany","pootwierany","popadany","popakowany","popalony","poparty","poparzony","popchany","popchnięty","popędzany","popędzony","popękany","popełniany","popełniony","poperfumowany","popierany","popieszczony","popijany","popilnowany","popisany","popity","popłacony","popłakiwany","poplamiony","poplątany","popluskany","popodcinany","popodziwiany","popoprawiany","poprany","poprasowany","poprawiany","poprawiony","poproszony","poprowadzony","popryskany","poprzebierany","poprzeciągany","poprzecinany","poprzedzany","poprzeglądany","poprzeklinany","poprzekopywany","poprzemieszczany","poprzenoszony","poprzesadzany","poprześladowany","poprzestawiany","poprzesuwany","poprzewieszany","poprzewracany","poprzycinany","poprzymierzany","poprzytulany","poprzywiązywany","popsuty","popudrowany","popukany","popularyzowany","popuszczany","popuszczony","popychany","popykany","popytany","porabiany","porachowany","poraniony","poratowany","porażony","poręczony","porównany","porozbierany","porozbijany","porozciągany","porozcinany","porozdawany","porozdzielany","porozmieszczany","poróżniony","porozpędzany","porozpieszczany","porozprowadzany","porozpruwany","porozrzucany","porozstawiany","porozsyłany","porozumiewany","porozwalany","porozwiązywany","porozwieszany","porozwożony","portretowany","poruszany","poruszony","porwany","porysowany","porywany","porządkowany","porządzony","porzucany","porzucony","posądzany","posadzony","posądzony","pościągany","pościelony","pościerany","pościgany","pościnany","pościskany","posegregowany","posiadany","posiany","posiekany","posilany","posiłkowany","posilony","posiłowany","posiniaczony","posiorbany","poskąpiony","poskładany","posklejany","poskramiany","poskręcany","poskrobany","poskromiony","poskubany","posłany","posłodzony","poślubiany","poślubiony","posługiwany","posmakowany","posmarowany","posolony","posortowany","pospekulowany","pospieszany","pośpieszany","pośpiewany","pospinany","pospłacany","posprawdzany","posprzątany","posprzedawany","pośredniczony","possany","postanowiony","postany","postarany","postawiony","postemplowany","posterowany","postradany","postraszony","postrugany","postrzegany","postrzelany","postrzelony","postukany","postymulowany","posunięty","posuwany","poświącany","poświadczony","poświecony","poświęcony","poświętowany","poświntuszony","posyłany","posypany","posypywany","poszarpany","poszastany","poszatkowany","poszczuty","poszczycony","poszczypany","poszerzany","poszerzony","poszorowany","poszpiegowany","poszturchany","poszukany","poszukiwany","poszwędany","poszybowany","potakiwany","potarmoszony","potarty","potasowany","potęgowany","potępiany","potępiony","potknięty","potoczony","potopiony","potorturowany","potrącany","potrącony","potraktowany","potrojony","potruty","potrząsany","potrzaskany","potrząsnięty","potrząśnięty","potrzymany","Poturbowany","poturlany","potwierdzony","potykany","poucinany","pouczany","pouczony","poudawany","poukładany","pouprawiany","poupychany","pourywany","poustawiany","poużywany","powąchany","powachlowany","powalany","powalony","poważany","powbijany","powciągany","powciskany","powdychany","powęszony","powetowany","powiadamiany","powiadomiony","powiązany","powiedziany","powiedzony","powiększany","powielany","powielony","powierzany","powierzony","powieszony","powiewany","powinszowany","powitany","powity","powkładany","powlekany","powłóczony","powodowany","powołany","powoływany","powożony","powpychany","powrócony","powrzucany","powsadzany","powściągnięty","powspominany","powstrzymany","powtarzany","powtórzony","powybierany","powybijany","powycierany","powycinany","powyciskany","powydawany","powyganiany","powyginany","powyjaśniany","powyjmowany","powyłączany","powymiatany","powymieniany","powynoszony","powypełniany","powypisywany","powyrywany","powyrzucany","powystrzelany","powysyłany","powywalany","powywieszany","powywracany","powzięty","pozabawiany","pozabijany","pozacierany","pożądany","pożądlony","pozadzierany","pozakładany","pozaklinany","pozałatwiany","pozamiatany","pozamieniany","pozamrażany","pozamykany","pozapalany","pozapinany","pozapisywany","pozapraszany","pożarty","pozasłaniany","pozastrzelany","pozatykany","pozbawiany","pozbawiony","pozbierany","pozbyty","pozbywany","pozdejmowany","pozdrawiany","pozdrowiony","pożegnany","pożerany","pozmiatany","pozmieniany","pozmywany","poznaczony","poznany","poznawany","poznęcany","pozorowany","pozostawiany","pozostawiony","pozowany","pozrywany","pozszywany","pożuty","pozwalniany","pozwany","pozwiązywany","pozwiedzany","pozwolony","pożyczany","pożyczony","pozyskany","pożyty","pozywany","pożywiany","pożywiony","praktykowany","prany","prasowany","prawiony","prażony","precyzowany","preferowany","prenumerowany","prezentowany","próbowany","procesowany","produkowany","profanowany","profilowany","prognozowany","programowany","projektowany","proklamowany","prolongowany","promieniowany","promowany","propagowany","proponowany","prosperowany","prostowany","proszkowany","proszony","protestowany","protokołowany","prowadzony","prowokowany","pruty","pryskany","pryśnięty","przeanalizowany","przearanżowany","przebaczany","przebaczony","przebadany","przebiegnięty","przebierany","przebijany","przebity","przebolony","przebrany","przebudowany","przebudowywany","przebudzany","przebudzony","przebukowany","przebyty","przebywany","przeceniany","przeceniony","przechlapany","przechodzony","przechowany","przechowywany","przechrzcony","przechwycony","przechwytywany","przechylany","przechylony","przechytrzany","przechytrzony","przeciągany","przeciągnięty","przeciążany","przeciążony","przeciekany","przecierany","przecierpiany","przecięty","przecinany","przeciskany","przeciśnięty","przeciwstawiany","przećwiczony","przeczekany","przeczesany","przeczesywany","przeczołgany","przeczuty","przeczuwany","przeczyszczony","przeczytany","przedarty","przedawkowany","przedawkowywany","przedekorowany","przedłożony","przedłużany","przedłużony","przedmuchany","przedobrzony","przedostany","przedostawany","przedsiewzięty","przedstawiany","przedstawiony","przedymany","przedyskutowany","przedzierany","przedziurawiony","przedziurkowany","przeegzaminowany","przefaksowany","przefarbowany","przefasonowany","przefasowany","przefaxowany","przefiltrowany","przeformowany","przeforsowany","przegadany","przeganany","przeganiany","przegapiany","przegapiony","przegięty","przeginany","przeglądany","przeglądnięty","przegłodzony","przegłosowany","przegoniony","przegotowany","przegotowywany","przegrabiony","przegradzany","przegrany","przegrupowany","przegrupowywany","przegrywany","przegryzany","przegryziony","przegrzany","przegrzebany","przegrzewany","przehandlowany","przeholowany","przeinstalowany","przeistoczony","przejadany","przejaskrawiany","przejaśniony","przejawiany","przejawiony","przejechany","przejęty","przejeżdżany","przejmowany","przejrzany","przekabacany","przekabacony","przekablowany","przekalibrowany","przekalkulowany","przekarmiany","przekąszony","przekazywany","przekierowany","przekierowywany","przekimany","przekładany","przeklejony","przeklęty","przeklinany","przeklnięty","przekłuty","przekonany","przekonfigurowany","przekonstruowany","przekonwertowany","przekonywany","przekopany","przekopywany","przekoziołkowany","przekraczany","przekręcany","przekręcony","przekreślany","przekreślony","przekroczony","przekrojony","przekrzyczony","przekrzywiony","przekształcany","przekształcony","przekupiony","przekupywany","przekuty","przekwalifikowany","przełączany","przełączony","przeładowany","przeładowywany","przełamany","przełamywany","przelany","przelatywany","przeleciany","przelewany","przeleżany","przelicytowany","przeliczany","przeliczony","przeliterowany","przełknięty","przełożony","przełykany","przełyknięty","przemalowany","przemalowywany","przemaszerowany","przemawiany","przemeblowany","przemęczony","przemielony","przemieniany","przemierzony","przemieszczany","przemieszczony","przemijany","przemilczany","przemilczony","przeminięty","przemknięty","przemodelowany","przemusztrowany","przemycany","przemycony","przemyślany","przemyślony","przemyty","przemywany","przenegocjowany","przeniesiony","przenikany","przeniknięty","przenoszony","przeobrażany","przeobrażony","przeoczany","przeoczony","przeorany","przeorganizowany","przeorientowany","przepadany","przepakowany","przepalony","przeparkowany","przepchany","przepchnięty","przepędzany","przepędzony","przepełniany","przepełniony","przepijany","przepiłowany","przepisany","przepisywany","przepity","przepłacany","przepłacony","przepłakany","przeplanowany","przepłoszony","przepłukany","przepłukiwany","przepłynięty","przepływany","przepompowany","przepompowywany","przepowiadany","przepowiedziany","przepracowany","przepracowywany","przeprany","przeprawiany","przeprawiony","przeprogramowany","przeprojektowany","przeprowadzany","przeprowadzony","przepuszczany","przepuszczony","przepychany","przepytany","przepytywany","przerąbany","przerabiany","przeradzany","przerastany","przerażony","przeredagowany","przerejestrowany","przerobiony","przerodzony","przerośnięty","przerwany","przerysowany","przerywany","przerzedzany","przerzucany","przerzucony","przesączony","przesadzany","przesądzany","przesadzony","przesądzony","prześcigany","prześcignięty","przesiadany","przesiadywany","przesiany","przesiedlany","przesiedlony","przesiedziany","przesiewany","przesilony","przeskakiwany","przeskalowany","przeskanowany","przeskoczony","przeskrobany","prześladowany","przesłaniany","przesłany","prześledzony","prześlizgnięty","przesłodzony","przesłonięty","przesłuchany","przesłuchiwany","przesmarowany","przesolony","przesortowany","przespany","prześpiewany","przessany","przestawiany","przestawiony","przestemplowany","przestraszony","przestrojony","przestrzegany","przestrzelony","przestudiowany","przesunięty","przesuwany","prześwietlany","prześwietlony","przesyłany","przesypany","przesypiany","przesypywany","przeszarżowany","przeszczepiany","przeszczepiony","przeszkadzany","przeszkolony","przeszmuglowany","przeszukany","przeszukiwany","przeszyty","przeszywany","przetaczany","przetańczony","przetapetowany","przetarty","przetestowany","przetkany","przetoczony","przetopiony","przetrącony","przetransformowany","przetransmitowany","przetransponowany","przetransportowany","przetrawiony","przetrwany","przetrząsany","przetrząśnięty","przetrzepany","przetrzymany","przetrzymywany","przetwarzany","przetworzony","przewalany","przewalczony","przewaletowany","przewalony","przeważany","przeważony","przewertowany","przewiązany","przewiązywany","przewidywany","przewidziany","przewiercany","przewiercony","przewieszany","przewieszony","przewietrzony","przewieziony","przewijany","przewinięty","przewitany","przewodniczony","przewodzony","przewożony","przewracany","przewrócony","przewyższany","przeymierzany","przeżarty","przeżeglowany","przeżegnany","przeziębiony","przezimowany","przeznaczany","przeznaczony","przeżuty","przezwyciężany","przezwyciężony","przeżyty","przezywany","przeżywany","przodowany","przpochlebiony","przwdziewany","przybastowany","przybierany","przybijany","przybity","przybliżany","przybliżony","przybrany","przycelowany","przycepiony","przychylony","przyciągany","przyciągnięty","przyciemniony","przycięty","przycinany","przyciskany","przyciśnięty","przyciszony","przyćmiewany","przyćmiony","przycumowany","przyczepiany","przyczesany","przyczołgany","przyczyniony","przydepnięty","przydeptany","przyduszony","przydzielany","przydzielony","przygarnięty","przygaszony","przygazowany","przygładzany","przygnębiany","przygniatany","przygnieciony","przygotowany","przygruchany","przygrywany","przygryzany","przygryziony","przygrzany","przygwożdżony","przyhamowany","przyholowany","przyjany","przyjęty","przyjmowany","przyjrzany","przykładany","przyklejony","przyklepany","przykopany","przykręcany","przykręcony","przykrócony","przykryty","przykrywany","przykurzony","przykuty","przykuwany","przyłączany","przyłączony","przylany","przyłapany","przylegany","przylepiany","przylepiony","przyłożony","przymierzony","przymilany","przymknięty","przymocowany","przymuszany","przynależony","przyniesiony","przynoszony","przynudzany","przyostrzony","przyozdabiany","przyozdobiony","przypadnięty","przypakowany","przypakowywany","przypalany","przypalony","przyparty","przypasowany","przypatrywany","przypatrzony","przypieczętowany","przypiekany","przypierany","przypięty","przypilnowany","przypiłowany","przypinany","przypisany","przypisywany","przypłacony","przyplątany","przypłynięty","przypodobany","przypominany","przypomniany","przyporządkowany","przyprawiany","przyprawiony","przyprowadzony","przypucowany","przypudrowany","przypuszczany","przypuszczony","przyrównany","przyrządzany","przyrządzony","przysiadany","przysiągnięty","przyskrzydlony","przyskrzyniany","przyskrzyniony","przysłaniany","przysłany","przysłodzony","przysłoniony","przysłuchiwany","przysługiwany","przysłużony","przysmażany","przysmażony","przyspieszany","przyspieszony","przysporzony","przysposobiony","przyśrubowywany","przyssany","przystąpiony","przystawiany","przystawiony","przystemplowany","przystopowany","przystosowany","przystrojony","przysunięty","przysuwany","przyswajany","przyświecany","przyświęcony","przyswojony","przysyłany","przysypany","przyszpilony","przyszykowany","przyszyty","przyszywany","przytaczany","przytargany","przytarty","przytaszczany","przytępiany","przytępiony","przytkany","przytłaczany","przytłoczony","przytłumiony","przytoczony","przytrafiony","przytroczony","przytruwany","przytrzasnięty","przytrzymany","przytrzymywany","przytulany","przytulony","przytwierdzany","przytwierdzony","przytykany","przyuczony","przyuważony","przywabiony","przywalany","przywalony","przywarowany","przywarty","przywdziany","przywiązany","przywiązywany","przywidziany","przywieziony","przywitany","przywłaszczany","przywłaszczony","przywołany","przywoływany","przywożony","przywracany","przywrócony","przyznaczony","przyznany","przyznawany","przyzwalany","przyzwany","przyzwyczajany","przyzwyczajony","przyzywany","psiamany","pstrykany","pstryknięty","psuty","publikowany","puchnięty","pucowany","pudłowany","pudrowany","puknięty","punktowany","pustoszony","puszczany","puszczony","puszkowany","puszony","pykany","pytany","rabowany","rachowany","racjonalizowany","racjonowany","raczony","radowany","raniony","raportowany","ratowany","ratyfikowany","reaktywowany","realizowany","reanimowany","recytowany","ręczony","redagowany","redukowany","reformowany","refowany","regenerowany","regionalizowany","regulowany","reinkarnowany","rejestrowany","reklamowany","rekomendowany","rekompensowany","rekonstruowany","rekreowany","rekrutowany","rekwirowany","relacjonowany","relaksowany","remodulowany","remontowany","renegocjowany","reorganizowany","reperowany","replikowany","represejonowany","reprezentowany","reprodukowany","resetowany","resocjalizowany","respektowany","resuscytowany","retuszowany","rewanżowany","rewidowany","rezerwowany","rezonowany","rezygnowany","reżyserowany","robiony","rodzony","rojony","rolowany","romansowany","roniony","rozbawiany","rozbawiony","rozbierany","rozbijany","rozbity","rozbłyśnięty","rozbrajany","rozbrojony","rozbudowany","rozbudowywany","rozbudzany","rozbudzony","rozbujany","rozcapierzony","rozchmurzony","rozchodzony","rozchylany","rozchylony","rozciągany","rozciągnięty","rozcieńczany","rozcieńczony","rozcierany","rozcięty","rozcinany","rozczarowany","rozczarowywany","rozczesany","rozczłonkowany","rozczulany","rozczytany","rozdany","rozdawany","rozdeptany","rozdmuchany","rozdmuchiwany","rozdrabniany","rozdrapany","rozdrapywany","rozdrażniany","rozdrażniony","rozduszony","rozdwojony","rozdysponowany","rozdzielany","rozdzielony","rozdzierany","rozdziewiczony","rozebrany","rozedrany","rozegrany","rozegrywany","rozepchany","rozerwany","rozesłany","rozgarnięty","rozgaszczany","rozgięty","rozglaszany","rozgłoszony","rozgniatany","rozgnieciony","rozgniewany","rozgoniony","rozgraniczony","rozgrany","rozgromiony","rozgrywany","rozgryzany","rozgryziony","rozgrzany","rozgrzebywany","rozgrzeszony","rozgrzewany","rozhuśtany","rozjaśniany","rozjaśniony","rozjechany","rozjedzony","rozjuszany","rozjuszony","rozkazany","rozkazywany","rozkładany","rozklejany","rozklejony","rozkołysany","rozkopany","rozkopywany","rozkoszowany","rozkręcany","rozkręcony","rozkrojony","rozkruszony","rozkuty","rozkuwany","rozkwaszony","rozkwaterowany","rozkwitany","rozkwitnięty","rozłączony","rozładowany","rozładowywany","rozłamany","rozlany","rozlewany","rozliczany","rozliczony","rozlokowany","rozłożony","rozłupany","rozluźniany","rozmanażany","rozmasowany","rozmawiany","rozmazany","rozmazywany","rozmiękczony","rozmieniany","rozmieniony","rozmieszczany","rozmieszczony","rozminięty","rozmnożony","rozmontowany","rozmówiony","rozmrażany","rozmrożony","rozmyślany","rozmyty","różnicowany","rozniecany","roznieciony","rozniesiony","różniony","roznoszony","rozochocony","rozpaczany","rozpakowany","rozpakowywany","rozpalany","rozpalony","rozpamiętywany","rozpaskudzany","rozpatrywany","rozpatrzony","rozpędzany","rozpędzony","rozpętany","rozpieszczany","rozpieszczony","rozpięty","rozpiłowany","rozpinany","rozpisany","rozpisywany","rozplanowany","rozpłaszczany","rozpłaszczony","rozplątany","rozplątywany","rozpłynięty","rozpoczęty","rozpoczynany","rozpogodzony","rozporządzany","rozporządzony","rozpościerany","rozpostrzony","rozpowiadany","rozpowiedziany","rozpowszechniany","rozpowszechniony","rozpoznany","rozpoznawany","rozpracowany","rozpraszany","rozprawiany","rozprawiczony","rozprawiony","rozprostowany","rozproszony","rozprowadzany","rozprowadzony","rozpruty","rozpruwany","rozprzestrzeniany","rozprzestrzeniony","rozpuszczany","rozpuszczony","rozpychany","rozpylany","rozpylony","rozpytany","rozpytywany","rozrastany","rozreklamowany","rozrobiony","rozrośnięty","rozróżniany","rozróżniony","rozruszany","rozrysowany","rozrywany","rozrzucany","rozsadzany","rozsadzony","rozsądzony","rozścielony","rozsiany","rozsiekany","rozsiewany","rozsiodłany","rozsławiany","rozsławiony","rozsmarowany","rozsmarowywany","rozśmieszany","rozstany","rozstąpiony","rozstawany","rozstawiany","rozstawiony","rozstrojony","rozstrząsany","rozstrzeliwany","rozstrzelony","rozstrzygany","rozstrzygnięty","rozsunięty","rozsupłany","rozświetlany","rozświetlony","rozsyłany","rozsypany","rozsypywany","rozszarpany","rozszarpywany","rozszczepiany","rozszczepiony","rozszerzany","rozszerzony","rozszyfrowany","roztaczany","roztapiany","roztarty","roztoczony","roztopiony","roztrwoniony","roztrząsany","roztrzaskany","rozumiany","rozumowany","rozwalany","rozwalony","rozwarty","rozważany","rozważony","rozweselany","rozweselony","rozwiany","rozwiązany","rozwiązywany","rozwidniany","rozwiedziony","rozwierany","rozwiercony","rozwieszany","rozwieszony","rozwiewany","rozwieziony","rozwikłany","rozwinięty","rozwlekany","rozwodzony","rozwścieczany","rozwścieczony","rozzłoszczony","rugany","ruinowany","rujnowany","runięty","ruszany","ruszony","rwany","ryczany","ryglowany","rymowany","rysowany","ryty","ryzykowany","rządzony","rzeźbiony","rżnięty","rzucany","rzucony","rzygany","sabotażowany","sączony","sadzany","sadzony","sądzony","salutowany","salwowany","sankcjonowany","satysfakcjonowany","scalony","scementowany","scentrowany","scharakteryzowany","schładzany","schlany","schlapany","schlebiony","schłodzony","schowany","schroniony","schrupany","schrzaniony","schwytany","schylany","ściągnięty","ścielony","ściemniany","ściemniony","ścierany","ścierpiony","ścięty","ścigany","ścinany","ściskany","ściśnięty","ściszany","ściszony","sędziowany","segregowany","selekcjonowany","separowany","sępiony","serwowany","sfabrykowany","sfajczony","sfałszowany","sfaulowany","sfilmowany","sfinalizowany","sfinansowany","sfingowany","sformalizowany","sformatowany","sformowany","sformułowany","sforsowany","sfotografowany","shimmerowany","siany","siekany","siorbany","skadrowany","skakany","skalany","skaleczony","skalibrowany","skalkulowany","skalpowany","skanalizowany","skandowany","skanowany","skapitulowany","skarcony","skarżony","skasowany","skatalogowany","skazany","skażony","skazywany","skierowany","składany","składowany","skłaniany","sklasyfikowany","skleciony","sklejany","sklejony","sklepany","skłócony","skłoniony","sklonowany","sknocony","skojarzony","skolonizowany","skołowany","skombinowany","skomentowany","skompensowany","skompletowany","skomplikowany","skomponowany","skompresowany","skompromitowany","skomunikowany","skonany","skoncentrowany","skończony","skondensowany","skonfigurowany","skonfiskowany","skonfrontowany","skonkretyzowany","skonsolidowany","skonstruowany","skonsultowany","skonsumowany","skontaktowany","skontrolowany","skoordynowany","skopany","skopiowany","skorektowany","skorumpowany","skorygowany","skorzystany","skoszony","skracany","skradziony","skręcany","skręcony","skremowany","skreślany","skreślony","skrobany","skrobnięty","skrócony","skrojony","skropiony","skruszony","skrystalizowany","skryty","skrytykowany","skrywany","skrzecowany","skrzepnięty","skrzyczany","skrzyty","skrzywdzony","skrzyżowany","skserowany","skubany","skubnięty","skulony","skumulowany","skupiany","skupiony","skupowany","skurczony","skuszony","skuty","skuwany","skwitowany","słany","sławiony","śledzony","śliniony","ślizgany","słodzony","słuchany","słyszany","smagany","smarowany","smażony","śmiecony","smuty","smyrany","snuty","sondowany","sortowany","spafycikowany","spakowany","spalany","spałaszowany","spalony","spałowany","spamiętany","spaprany","sparafrazowany","sparaliżowany","sparowany","spartaczony","spartolony","sparzony","spasowany","spatałaszony","spauzowany","spawany","spawiony","specjalizowany","spędzany","spędzony","spekulowany","spełniany","spełniony","spenetrowany","spętany","spierany","spięty","śpiewany","spiłowany","spinany","spisany","spiskowany","spisywany","spity","spłacany","spłacony","splądrowany","splajtowany","splamiony","spłaszczony","splatany","splątany","spłatany","spławiany","spławiony","spłodzony","spłonięty","spłoszony","spłukany","spłukiwany","spluwany","spływany","spoczęty","spoczywany","spodziewany","spojony","spolaryzowany","spoliczkowany","sponiewierany","sponsorowany","spopielany","spopielony","spopularyzowany","sportretowany","sporządzany","sporządzony","spostrzegany","spotęgowany","spotkany","spotykany","spoufalany","spowalniany","spowiadany","spowodowany","spowolniony","spoźniony","spóźniony","spożytkowany","spożyty","spożywany","sprany","sprasowany","spraszany","sprawdzony","sprawiony","sprawowany","sprecyzowany","spreparowany","sprężany","sprężony","spróbowany","sprofanowany","sprofilowany","sprostowany","sproszkowany","sproszony","sprowadzany","sprowadzony","sprowokowany","spryskany","spryskiwany","sprywatyzowany","sprzątany","sprzątnięty","sprzeczany","sprzedany","sprzedawany","sprzeniewierzony","spudłowany","spustoszony","spuszczany","spuszczony","spychany","ssany","stabilizowany","stacjonowany","staczany","staranowany","starczany","stargowany","startowany","stawiany","stawiony","stemplowany","stenografowany","stepowany","sterowany","sterroryzowany","sterylizowany","stłamszony","stłumiony","stnięty","stoczony","stołowany","stonowany","stopiony","stopniowany","storpedowany","stosowany","strącany","stracony","strącony","strajkowany","straszony","stratowany","strawiony","streamowany","stresowany","streszczany","streszczony","strofowany","strojony","stroszony","strugany","struty","strymowany","strząsany","strzaskany","strząśnięty","strzelony","strzepany","strzępiony","strzepnięty","strzepywany","studiowany","studzony","stukany","stuknięty","stulony","stwardniony","stwarzany","stwierdzany","stwierdzony","stworzony","stykany","stylizowany","stymulowany","sugerowany","sumowany","sunięty","swatany","swawolony","świadczony","świecony","święcony","świerzbiony","świętowany","świntuszony","sycony","sygnalizowany","symulowany","synchronizowany","sypany","sypnięty","szachrowany","szacowany","szafowany","szamotany","szanowany","szargany","szarpany","szarpnięty","szarżowany","szasowany","szastany","szatkowany","szczędzony","szczepiony","szczerzony","szczuty","szczycony","szczypany","szczytowany","szefowany","szemrany","szepnięty","szeptany","szerzony","szkalowany","szkicowany","szklony","szkodzony","szkolony","szlachtowany","szlifowany","szmuglowany","szokowany","szorowany","szpachlowany","szpanowany","szperany","szprycowany","sztachnięty","szturchany","szturchnięty","szturmowany","szufladkowany","szuflowany","szukany","szulerowany","szwankowany","szydełkowany","szydzony","szyfrowany","szykanowany","szykowany","szyty","taktowany","tamowany","tankowany","tapetowany","taplany","taranowany","targany","targnięty","targowany","tarmoszony","tarty","tarzany","tasowany","taszczony","tatuowany","tchnięty","telefonowany","telegrfowany","teleportowany","temperowany","teoretyzowany","tępiony","terroryzowany","testowany","tkany","tknięty","tłamszony","tłoczony","tłumaczony","tłumiony","toczony","tolerowany","tonowany","topiony","torowany","torturowany","towarzyszony","trąbiony","trącany","tracony","trącony","trafiany","trafiony","tragizowany","traktowany","transferowany","transformowany","transmitowany","transportowany","tratowany","trawiony","trenowany","tresowany","triumfowany","tropiony","troszczony","truty","trwoniony","trymowany","tryskany","tryśnięty","tryumfowany","trywializowany","trzaskany","trzasnięty","trzepany","trzepnięty","trzepotany","trzęsiony","trzymany","tuczony","tułany","tulony","turlany","tuszowany","twistowany","tworzony","tykany","tyranizowany","tyrany","tytułowany","uaktualniany","uaktualniony","uaktywniany","uaktywniony","uargumentowany","uatrakcyjniony","ubabrany","ubarwiany","ubarwiony","ubawiony","ubezpieczany","ubezpieczony","ubezwłasnowolniony","ubiczowany","ubiegany","ubierany","ubijany","ubity","ubłagany","ubliżany","ubliżony","ubolewany","ubóstwiany","ubrany","ubroczony","ubrudzony","ucałowany","ucharakteryzowany","uchowany","uchroniony","uchwalany","uchwalony","uchwycony","uchylany","uchylony","uciągnięty","ucieleśniany","ucierany","ucierpiany","ucięty","ucinany","uciskany","uciśnięty","uciszany","uciszony","uciułany","ucywilizowany","uczczony","uczepiony","uczesany","uczęszczany","uczony","ucztowany","uczuty","uczyniony","udany","udaremniony","udawany","udekorowany","udeptywany","uderzany","uderzony","udobruchany","udokumentowany","udomawiany","udomowiony","udoskonalany","udoskonalony","udostępniany","udostępniony","udowadniany","udowodniony","Udramatyzowany","udręczony","udrożniony","udupiony","uduszony","udzielany","udzielony","udźwignięty","ueiwarygodniony","ufany","ufarbowany","uformowany","ufortyfikowany","ufundowany","ugadany","uganiany","ugaszany","ugaszony","ugięty","uginany","ugłaskany","ugniatany","ugodzony","ugoszczony","ugotowany","ugrany","ugruntowany","ugryziony","ugrzęznięty","uhistoryzowany","uhonorowany","uiścity","ujadany","ujarzmiany","ujarzmiony","ujawniany","ujawniony","ujęty","ujeżdżany","ujeżdżony","ujmowany","ujrzany","ukamieniowany","ukarany","ukartowany","ukąszony","ukatrupiony","ukazany","ukazywany","ukierowany","ukierunkowany","układany","uklepany","ukłoniony","ukłuty","uknuty","ukojony","ukołysany","ukończony","ukonkretniony","ukoronowany","ukradziony","ukręcany","ukręcony","ukrojony","ukryty","ukrywany","ukrzyżowany","ukształtowany","ukuty","ułagodzony","ułaskawiany","ułaskawiony","ulatniany","ułatwiany","ułatwiony","uleczany","uleczony","ulegany","ulepiony","ulepszany","ulepszony","ulokowany","ulotniony","ułożony","umacniany","umalowany","umartwiany","umawiany","umazany","umeblowany","umiejscowiony","umieszczany","umieszczony","umilany","umilony","umknięty","umniejszany","umniejszony","umocniony","umocowany","umoczony","umodelowany","umorzony","umotywowany","umówiony","umożliwiany","umożliwiony","umroczniony","umyty","unaoczniony","unicestwiany","unicestwiony","uniemożliwainy","uniemożliwiony","unierochomiony","uniesiony","unieszczęśliwiany","unieszczęśliwiony","unieszkodliwiany","unieszkodliwiony","unieważniany","unieważniony","uniewinniony","uniezależniony","unikany","uniknięty","unormowany","unoszony","unowoczesniany","unowocześniany","uodporniony","uogólniany","upakowany","upalany","upalony","upamiętniany","upamiętniony","upaństwowiony","upaprany","uparty","upaskudzony","upchany","upchnięty","upewniany","upewniony","upgradowany","upichcony","upiększany","upiększony","upierany","upierdolony","upięty","upijany","upilnowany","upinany","upity","uplastyczniony","upłynięty","upodabniany","upodobniony","upojony","upokorzany","upokorzony","upolowany","upominany","uporządkowany","upowszechniony","upozorowany","upozowany","uprany","uprasowany","upraszczany","uprawdopodobniony","uprawiany","uproszczony","uproszony","uprowadzany","uprowadzony","uprzątany","uprzątnięty","uprzedony","uprzedzany","uprzyjemniany","uprzyjemniony","uprzykrzany","uprzytomniony","upubliczniany","upubliczniony","upudrowany","upuszczany","upuszczony","upychany","urabiany","uraczany","uradowany","Urągany","uratowany","urażany","urażony","uregulowany","urobiony","uroniony","urośnięty","urozmaicany","urozmaicony","uruchamiany","uruchomiony","urwany","urywany","urządzany","urządzony","urzeczywistniany","urzeczywistniony","urżnięty","usadowiony","usadzony","usamowolniony","usankcjonowany","usatyfakcjonowany","uschnięty","uściskany","uścislony","uściśnięty","usidlony","usiedzony","uskładany","uskoczony","uskuteczniany","uskuteczniony","usłuchany","usługiwany","usłużony","usłyszany","usmażony","uśmiany","uśmiercany","uśmiercony","uśmierzony","uspany","uśpiony","uspokajany","uspokojony","uspołeczniany","usprawiedliwiany","usprawiedliwiony","usprawniony","usprzątany","ustabilizowany","ustalany","ustalony","ustanawiany","ustanowiony","ustąpiony","ustatkowany","ustawiany","ustawiony","ustępowany","ustosunkowany","ustrojony","ustrzegany","ustrzelony","usunięty","ususzony","usuwany","uświadamiany","uświadczony","uświadomiony","uświęcony","uświniony","usychany","usypany","usypiany","usystematyzowany","usytuowany","uszanowany","uszczelniany","uszczęśliwiany","uszczęśliwiony","uszczuplony","uszczypnięty","uszkadzany","uszkodzony","uszlachetniany","uszlachetniony","usztywniony","uszykowany","uszyty","utajniony","utargowany","utarty","utemperowany","utkany","utknięty","utkwiony","utoczony","utopiony","utorowany","utożsamiany","utożsamiony","utracony","utrącony","utrudniany","utrudniony","utrwalany","utrwalony","utrzymywany","utuczony","utulony","utwierdzany","utwierdzony","utworzony","utylizowany","uwalniany","uwalony","uwarunkowany","uważany","uwiązany","uwiązywany","uwidoczniony","uwieczniany","uwieczniony","uwielbiany","uwielbiony","uwieńczony","uwierany","uwierzony","uwieszony","uwieziony","uwięziony","uwijany","uwikłany","uwinięty","uwity","uwłaczany","uwłaszczony","uwodzony","uwolniony","uwsteczniany","uwsteczniony","uwydatniany","uwypiklony","uwzględniany","uwzględniony","użądlony","uzależniany","uzależniony","uzasadniany","uzasadniony","uzbierany","uzbrajany","uzbrojony","uzdrawiany","uzdrowiony","użerany","uzewnętrzniany","uzewnętrzniony","uzgadniany","uzgodniony","uziemiony","uzmysłowiony","uznany","uznawany","uzupełniany","uzupełniony","uzurpowany","użyczany","użyczony","uzyskany","uzyskiwany","użyty","używany","wabiony","wąchany","wachlowany","wahany","walczony","wałkowany","walnięty","walony","ważony","wbijany","wbity","wcelowany","wchłonięty","wciągany","wciągnięty","wcielany","wcielony","wcierany","wcięty","wcinany","wciskany","wciśnięty","wczepiony","wczołgany","wczuty","wczytany","wczytywany","wdany","wdarty","wdawany","wdepnięty","wdeptany","wdetonowany","wdmuchiwany","wdrapany","wdrapywany","wdrażany","wdrążony","wdrożony","wduszony","wdychany","wdzierany","wędkowany","wentylowany","wepchany","wepchnięty","werbowany","weryfikowany","wessany","wetkany","wetknięty","wezwany","wgłębiany","wgniatany","wgnieciony","wgrany","wgryzany","wgryziony","wiązany","wibrowany","widywany","widziany","wiedzony","wielbiony","wiercony","wierzgany","wierzony","wieszany","wietrzony","więżony","wikłany","windowany","winszowany","wiosłowany","wirowany","witany","wity","wizualizowany","wjeżdżany","wkalkulowany","wkładany","wklejany","wklejony","wklepany","wkłuty","wkomponowany","wkopany","wkopywany","wkraczany","wkradany","wkradziony","wkręcany","wkręcony","wkupiony","wkurwiany","wkuty","wkuwany","włączany","włączony","władany","władowany","włamany","włamywany","wlany","wlepiany","wlepiony","wlewany","wliczany","wliczony","włożony","wmanewrowany","wmanipulowany","wmawiany","wmieszany","wmówiony","wmurowany","wmuszony","wnerwiany","wnerwiony","wniesiony","wnikany","wniknięty","wnioskowany","wnoszony","wodowany","wojowany","wołany","woskowany","wożony","wpajany","wpakowany","wparowany","wpasowany","wpatrywany","wpędzany","wpędzony","wperswadowany","wpieniony","wpięty","wpisany","wpisywany","wpłacany","wpłacony","wplatany","wplątany","wplątywany","wpojony","wpompowany","wpraszany","wprawiany","wproszony","wprowadzany","wprowadzony","wpuszczony","wpychany","wrabiany","wręczany","wrobiony","wróżony","wryty","wrzucany","wrzucony","wrzynany","wsadzany","wsadzony","wskazany","wskazywany","wskórany","wskrzeszany","wskrzeszony","wślizgiwany","wślizgnięty","wsłuchany","wsparty","wspierany","wspięty","współczuty","współodczuwany","współtworzony","współżyty","wspomagany","wspominany","wspomniany","wstąpiony","wstawiany","wstawiony","wstrząsany","wstrząśnięty","wstrzelony","wstrzykiwany","wstrzyknięty","wstrzymany","wstrzymywany","wstukany","wsunięty","wsuwany","wsypany","wszamany","wszczepiany","wszczepiony","wszczęty","wszczynany","wszyty","wtajemniczany","wtajemniczony","wtapiany","wtargnięty","wtarty","wtaszczony","wtłoczony","wtopiony","wtrącony","wtryniany","wtulany","wtulony","wtykany","wwalony","wwiercany","wwiercony","wwieziony","wwożony","wyartykułowany","wyautowany","wybaczany","wybaczony","wybadany","wybatożony","wybawiony","wybebeszony","wybełkotany","wybiczowany","wybielany","wybielony","wybierany","wybijany","wybity","wybłagany","wyblaknięty","wybrandzlowany","wybrany","wybroniony","wybrzydzany","wybuchany","wybuchnięty","wybudowany","wybudzany","wybudzony","wyburzany","wyburzony","wycackany","wycałowany","wyceniany","wyceniony","wychlany","wychłostany","wychodowany","wychowany","wychowywany","wychrobotany","wychwalany","wychwycony","wychylany","wychylony","wyciągany","wyciągnięty","wyciekany","wycieniowany","wycierany","wycięty","wycinany","wyciskany","wyciśnięty","wyciszany","wyciszony","wycofany","wyćwiczony","wycyckany","wycyganiony","wyczarowany","wyczarterowany","wyczekany","wyczekiwany","wyczerpany","wyczesany","wyczołgany","wyczołgiwany","wyczuty","wyczuwany","wyczyniany","wyczyszczony","wyczytany","wyczytywany","wydalany","wydalony","wydany","wydębiony","wydedukowany","wydelegowany","wydepilowany","wydeptywany","wydłubany","wydłubywany","wydłużany","wydłużony","wydmuchany","wydmuchiwany","wydobyty","wydobywany","wydojony","wydoroślany","wydostany","wydrany","wydrapany","wydrapywany","wydrążony","wydrukowany","wydukany","wyduszony","wydychany","wydziedziczony","wydzielany","wydzielony","wydzierany","wydzierżawiony","wydziobany","wydziwiany","wydzwaniany","wyedukowany","wyedytowany","wyeeliminowany","wyegzekwowany","wyeksmitowany","wyekspediowany","wyeksploatowany","wyeksponowany","wyeksportowany","wyeliminowany","wyemigrowany","wyemitowany","wyewoluowany","wyfrunięty","wygadany","wygadywany","wyganiany","wygarbowany","wygarniany","wygarnięty","wygasany","wygaśnięty","wygaszany","wygaszony","wygenerowany","wygięty","wyginany","wygładzany","wygładzony","wygłaszany","wygłodzony","wygłosowany","wygłoszony","wygłówkowany","wygnany","wygolony","wygoniony","wygooglowany","wygospodarowany","wygotowany","wygrany","wygrawerowany","wygrażany","wygrywany","wygryziony","wygrzany","wygrzebany","wygrzebywany","wygrzewany","wygubiony","wyhaczony","wyhaftowany","wyhamowany","wyhodowany","wyizolowany","wyjadany","wyjaśniany","wyjaśniony","wyjawiany","wyjawiony","wyjedzony","wyjęty","wyjmowany","wykadrowany","wykalibrowany","wykalkulowany","wykańczany","wykantowany","wykąpany","wykaraskany","wykarczowany","wykarmiany","wykasowany","wykastrowany","wykazany","wykazywany","wykierowany","wykitowany","wykiwany","wykładany","wyklarowany","wyklepany","wyklinany","wykłócany","wykluczany","wykluczony","wykluty","wykłuty","wykminiony","wykolejony","wykołowany","wykombinowany","wykonany","wykończony","wykonywany","wykopany","wykopnięty","wykopywany","wykorkowany","wykorzeniany","wykorzeniony","wykorzystany","wykorzystywany","wykoszony","wykpity","wykradany","wykradnięty","wykręcany","wykręcony","wykreowany","wykreślany","wykreślony","wykrochmalony","wykrojony","wykrwawiany","wykrwawiony","wykryty","wykrywany","wykrzesany","wykrztuszony","wykrzyczony","wykrzykiwany","wykrzyknięty","wykrzywiany","wykształcony","wyksztuszony","wykupiony","wykupywany","wykuty","wykuwany","wyłączany","wyłączony","wylądowany","wyładowany","wyładowywany","wyłajany","wyłamany","wyłamywany","wyłaniany","wylansowany","wylany","wyłapany","wyłapywany","wyławiany","wyleasingowany","wyleczony","wylęgany","wylegimytowany","wylewany","wyłgany","wylicytowany","wyliczany","wyliczony","wylizany","wylizywany","wylogowany","wyłoniony","wylosowany","wyłowiony","wyłożony","wyłudzany","wyłudzony","wyłupany","wyłuskany","wyłuskiwany","wyłuszczony","wyluzowany","wymacany","wymachiwany","wymagany","wymahiwany","wymalowany","wymamrotany","wymanewrowany","wymarzony","wymasowany","wymawiany","wymazany","wymazywany","wymeldowany","wymeldowywany","wymiatany","wymieciony","wymieniany","wymieniony","wymierzany","wymieszany","wymigany","wymigiwany","wymijany","wyminięty","wymknięty","wymoczony","wymodelowany","wymontowany","wymordowany","wymsknięty","wymuszany","wymyślany","wymyślony","wymyty","wynagradzany","wynagrodzony","wynajdowany","wynajdywany","wynajęty","wynajmowany","wynaleziony","wynarodowiony","wynegocjowany","wyniesiony","wyniknięty","wyniszczany","wyniszczony","wyniuchany","wynoszony","wynurzany","wyobrażany","wyobrażony","wyodrębniony","wyolbrzymiany","wyolbrzymiony","wyorbowany","wyosiowany","wyostrzany","wyostrzony","wypaczany","wypakowany","wypakowywany","wypalany","wypalony","wypałowany","wyparowany","wyparty","wypasany","wypastowany","wypatroszony","wypatrywany","wypatrzony","wypchany","wypchnięty","wypędzany","wypędzlowany","wypełniany","wypełniony","wypersfadowany","wyperswadowany","wypierany","wypięty","wypijany","wypinany","wypisany","wypisywany","wypity","wypłacany","wypłacony","wypłakany","wypłakiwany","wypłaszczony","wyplatany","wyplątany","wypleniony","wyplewiony","wypłoszony","wypłukany","wypłukiwany","wypluty","wypluwany","wypocony","wypoczęty","wypolerowany","wypominany","wypomniany","wypompowany","wypompowywany","wyposażony","wypowiadany","wypowiedziany","wypoziomowany","wypożyczany","wypracowany","wypracowywany","wyprany","wyprasowany","wypraszany","wyprawiany","wyprawiony","wypróbowany","wyprodukowany","wyprojektowany","wypromieniowany","wypromowany","wyprostowany","wyprostowywany","wyproszony","wyprowadzany","wyprowadzony","wypróżniany","wypróżniony","wypruty","wypruwany","wyprzedany","wyprzedawany","wyprzedzany","wyprzedzony","wyprzęgany","wypstrykany","wypucowany","wypuszczany","wypuszczony","wypychany","wypytany","wypytywany","wyrąbany","wyrabiany","wyrąbywany","wyratowany","wyrażany","wyrażony","wyrecytowany","wyręczany","wyręczony","wyregulowany","wyrejestrowany","wyremontowany","wyreżyserowany","wyrobiony","wyrolowany","wyrośnięty","wyrównany","wyrównywany","wyróżniany","wyróżniony","wyrugowany","wyruszany","wyrwany","wyrypany","wyrysowany","wyryty","wyrywany","wyrządzony","wyrzeźbiony","wyrżnięty","wyrzucany","wyrzucony","wyrzygany","wyrzynany","wyrzywany","wysączony","wysadzany","wysadzony","wyschnięty","wyściskany","wyselekcjonowany","wysępiony","wysiadywany","wysiedzony","wysilany","wysilony","wyskakiwany","wyskalowany","wyskoczony","wyskrobany","wyskubywany","wysłany","wyśledzony","wyślizgiwany","wyślizgnięty","wysłowiony","wysłuchany","wysłuchiwany","wysmagany","wysmarkany","wysmarowany","wysmażany","wysmażony","wyśmiany","wyśmiewany","wysmołowany","wysmyrany","wyśniony","wysnuty","wysnuwany","wysondowany","wyspecjalizowany","wyśpiewany","wyśpiewywany","wyspowiadany","wysprzątany","wysprzedany","wyssany","wystartowany","wystawiony","wysterelizowany","wysterylizowany","wystosowany","wystosowywany","wystraszony","wystrojony","wystrugany","wystrychnięty","wystrzegany","wystrzelany","wystrzeliwany","wystrzelony","wystudzony","wystukany","wystukiwany","wystygnięty","wysunięty","wysuszany","wysuwany","wyswatany","wyświadczany","wyświadczony","wyświetlany","wyświetlony","wyswobodzony","wysyłany","wysypany","wysypywany","wysysany","wyszabrowany","wyszalany","wyszarpany","wyszarpnięty","wyszasowany","wyszczotkowany","wyszczuplony","wyszeptany","wyszkolony","wyszlifowany","wyszorowany","wyszperany","wyszukany","wyszukiwany","wyszumiony","wyszykowany","wyszyty","wytapetowany","wytargany","wytargowany","wytarty","wytarzany","wytaszczony","wytatuowany","wytchnięty","wytępiony","wytknięty","wytłoczony","wytłumaczony","wytłumiony","wytoczony","wytrąbiony","wytrącany","wytrącony","wytransmitowany","wytransportowany","wytrenowany","wytresowany","wytriangulowany","wytropiony","wytruty","wytrząsany","wytrzasnięty","wytrząśnięty","wytrzebiony","wytrzepany","wytrzeszczany","wytrzeźwiany","wytrzymany","wytrzymywany","wytwarzany","wytworzony","wytyczony","wytykany","wytypowany","wyuczony","wywabiany","wywabiony","wywąchany","wywalany","wywalczony","wywalony","wywarty","wywarzany","wyważany","wyważony","wywęszany","wywężykowany","wywiany","wywiązany","wywiązywany","wywierany","wywiercony","wywieszany","wywieszony","wywietrzony","wywieziony","wywijany","wywindowany","wywinięty","wywłaszczony","wywlekany","wywnętrzniony","wywnioskowany","wywodzony","wywolany","wywoływany","wywoskowany","wywożony","wywracany","wywrócony","wywróżony","wywyższany","wyżalony","wyzbyty","wyzdrowiony","wyżebrany","wyżerany","wyzerowany","wyzionięty","wyznaczany","wyznaczony","wyznany","wyznawany","wyzwalany","wyzwany","wyzwolony","wyzygzakowany","wyżynany","wyzyskany","wyzyskiwany","wyżyty","wyzywany","wyżywany","wyżywiony","wzbijany","wzbity","wzbogacany","wzbogacony","wzbraniany","wzbudzany","wzbudzony","wzburzany","wzburzony","wżeniony","wzięty","wzmacniony","wzmagany","wzmocniony","wznawiany","wzniecany","wznieciony","wzniesięty","wznoszony","wznowiony","wzorowany","wzrośnięty","wzruszony","wzwyżany","wzywany","zaabordowany","zaadaptowany","zaadoptowany","zaadresowany","zaakcentowany","zaakceptowany","zaaklimatyzowany","zaalarmowany","zaanektowany","zaangażowany","zaanonsowany","zaapelowany","zaaplikowany","zaaportowany","zaaprobowany","zaaranżowany","zaaresztowany","zaatakowany","zabaczony","zabalowany","zabandażowany","zabarwiony","zabarykadowany","zabawiany","zabawiony","zabepieczany","zabetonowany","zabezpieczony","zabierany","zabity","zabłądzony","zablefowany","zabłocony","zablokowany","zabraniany","zabrany","zabrnięty","zabroniony","zabrudzony","zabudowany","zabukowany","zabulony","zaburzony","zabutelkowany","zacementowany","zacerowany","zachciany","zachęcany","zachęcony","zachlapany","zachodzony","zachomikowany","zachorowany","zachowany","zachowywany","zachwalany","zachwalony","zachwiany","zachwycony","zaciągany","zaciągnięty","zaciążony","zaciekawiony","zaciemniany","zaciemniony","zacierany","zacieśniony","zacięty","zacinany","zaciskany","zaciśnięty","zaćmiony","zacumowany","zacytowany","zaczadzony","zaczarowany","Zaczepiany","zaczepiony","zaczerpany","zaczesany","zaczęty","zaczołgany","zaczynany","zadarty","zadawalany","zadawany","zadbany","zadebiutowany","zadedykowany","zadeklamowany","zadeklarowany","zademonstrowany","zadenucjowany","zadepeszowany","zadeptany","zadeptywany","zadęty","zadławiony","żądlony","zadłużany","zadłużony","zadokowany","zadomowiony","zadowalany","zadrapany","zadraśnięty","zadręczany","zadręczony","zadrutowany","zadurzany","zadurzony","zaduszony","zadymiony","zadźgany","zadziobany","zadziwiany","zadziwiony","zafakturowany","zafałszowany","zafarbowany","zafiksowany","zafundowany","zagadany","zagadnięty","zagadywany","zagajony","zaganiany","zagapiony","zagarażowany","zagarniany","zagarnięty","zagaszony","zagazowany","zagęszczony","zagięty","zaginany","zaginięty","zagłębiany","zagłębiony","zagłodzony","zagłuszany","zagłuszony","zagmatwany","zagnany","zagnieżdżony","zagojony","zagoniony","zagospodarowany","zagotowany","zagrabiony","zagradzany","zagrażany","zagrodzony","zagrywany","zagryzany","zagryziony","zagrzany","zagrzebany","zagrzewany","zagubiony","zagwarantowany","zahaczony","zahamowany","zahandlowany","zaharowany","zahartowany","zahipnotyzowany","zaholowany","zaimitowany","zaimplantowany","zaimplementowany","zaimprowizowany","zainaugurowany","zainfekowany","zainicjowany","zainkasowany","zainscenizowany","zainspirowany","zainstalowany","zainteresowany","zaintrygowany","zaintubowany","zainwestowany","zaizolowany","zajadany","zajany","zajarany","zajechany","zajęty","zajmowany","zakablowany","zakamuflowany","zakasany","zakasowany","zakąszany","zakatalogowany","zakatowany","zakatrupiony","zakazany","zakażany","zakazywany","zakiszony","zakładany","zaklasyfikowany","zaklejany","zaklejony","zaklepany","zaklepywany","zaklinany","zaklinowany","zakłócany","zakłócony","zaklopotany","zakłuty","zakneblowany","zakodowany","zakolczykowany","zakolorowany","zakołysany","zakomunikowany","zakończony","zakonserwowany","zakopany","zakopywany","zakorzeniany","zakorzeniony","zakoszony","zakosztowany","zakotwiczany","zakotwiczony","zakpiony","zakradany","zakręcany","zakręcony","zakreślany","zakreślony","zakrwawiony","zakryty","zakrywany","zakrzyczany","zakrzyknięty","zakrzywiany","zakrzywiony","zaksięgowany","zaktualizowany","zaktywizowany","zaktywowany","zakumany","zakupiony","zakurzony","zakuty","zakuwany","zakwaterowany","zakwestionować","zakwitnięty","załączony","załadowany","załagodzony","zalamany","zalaminowany","załamywany","zalany","załapany","załatany","załatwiany","załatwiony","zalatywany","zalecany","zalecony","zaleczony","zalegalizowany","zalegany","zalepiany","zalepiony","zalewany","zaliczany","zaliczony","załkany","zalogowany","żałowany","założony","zaludniony","zamacany","zamachnięty","zamącony","zamalowany","zamanewrowany","zamanifestowany","zamarkowany","zamartwiany","zamarynowany","zamarzany","zamarznięty","zamaskowany","zamawiany","zamazany","zamazywany","zamęczany","zamęczony","zameldowany","zamelinowany","zamerykanizowany","zamiatany","zamieniany","zamieniony","zamieszany","zamieszczany","zamieszczony","zamieszkany","zamieszkiwany","zaminowany","zamknięty","zamocowany","zamoczony","zamontowany","zamordowany","zamortyzowany","zamotany","zamówiony","zamrażany","zamroczony","zamrożony","zamulany","zamurowany","zamydlony","zamykany","zanalizowany","zanegowany","zaniechany","zanieczyszczany","zanieczyszczony","zaniedbany","zaniedbywany","zaniepokojony","zaniesiony","zanihilowany","zanikany","zaniknięty","zaniżany","zaniżony","zanoszony","zanotowany","zanucony","zanudzany","zanudzony","zanurzany","zanurzony","zanużony","zaobaczony","zaobserwowany","zaoferowany","zaofiarowany","zaogniany","zaogniony","zaokrąglany","zaokrąglony","zaokrętowany","zaopatrywany","zaopatrzony","zaopiekowany","zaorany","zaostrzany","zaostrzony","zaoszczędzony","zapadany","zapakowany","zapalany","zapalony","zapamiętany","zapamiętywany","zapanowany","zaparkowany","zaparowywany","zaparzany","zaparzony","zapaskudzony","zapauzowany","zapchany","zapędzany","zapełniany","zapełniony","zaperfumowany","zapeszany","zapewniany","zapewniony","zapieczętowany","zapierany","zapięty","zapijany","zapinany","zapisany","zapisuwany","zapity","zapłacony","zapładniany","zaplamiony","zaplanowany","zaplątany","zapłodniony","zaplombowany","zapobiegany","zapodany","zapodawany","zapodziany","zapokojony","zapolowany","zapominany","zapomniany","zapowiadany","zapowiedziany","zapoznany","zapoznawany","zapożyczony","zapracowywany","zaprany","zaprasowywany","zapraszany","zaprawiony","zaprenumerowany","zaprezentowany","Zaprogramowany","zaprojektowany","zaproponowany","zaproszony","zaprotokołowany","zaprowadzany","zaprowadzony","zaprzątany","zaprzeczany","zaprzeczony","zaprzedany","zaprzedawany","zaprzęgany","zaprzepaszczany","zaprzestany","zaprzestawany","zaprzyjaźniony","zapudłowany","zapunktowany","zapuszczany","zapuszczony","zapuszkowany","zapychany","zapylany","zapylony","zapytany","zarabiany","zaranżowany","zarażany","zarażony","zarecytowany","zaręczany","zaręczony","zarejestrowany","zareklamowany","zarekomendowany","zarekomondowany","zarekwirowany","zarezerwowany","zarobiony","żartowany","zarwany","zaryglowany","zarymowany","zarysowany","zarywany","zaryzykowany","zarządzany","zarżnięty","zarzucany","zarzynany","zasadzony","zaścielony","zasegurowany","zaserwowany","zasiadany","zasiany","zasiedlony","zasięgany","zasięgnięty","zasiewany","zasilany","zasilony","zaskakiwany","zaskarbiony","zaskoczony","zaskrobany","zasłaniany","zaślepiany","zaślepiony","zasłodzony","zasłoniony","zasłużony","zasmakowany","zaśmiecany","zaśmiecony","zasmradzany","zasmrodzony","zasmucany","zasmucony","zasolony","zaspakajany","zaśpiewany","zaspokajany","zaspokojony","zasponsorowany","zaśrubowywany","zassany","zastany","zastąpiony","zastawiany","zastawiony","zastępowany","zastopowany","zastosowany","zastraszany","zastraszony","zastrzelony","zasugerowany","zasunięty","zasuwany","zaświadczony","zaświecony","zaświoniony","zasyfiony","zasygnalizowany","zasymilowany","zasymulowany","zasypany","zasypywany","zasysany","zaszachowany","zaszantażowany","zaszargany","zaszczepiany","zaszczepiony","zaszczuty","zaszczycany","zaszczycony","zaszeptany","zaszeregowany","zaszlachtowany","zasznurowany","zaszpachlowany","zasztyletowany","zaszufladkowany","zaszyfrowany","zaszyty","zaszywany","zataczany","zatajany","zatajony","zatamowany","zatankowany","zatapiany","zatargany","zatarty","zatelegrafowany","zatemperowany","zatęskniony","zatkany","zatknięty","zatoczony","zatonięty","zatopiony","zatracany","zatracony","zatriumfowany","zatrudniany","zatrudniony","zatruty","zatruwany","zatrzaskiwany","zatrzaśnięty","zatrząśnięty","zatrzymany","zatrzymywany","zatuszowany","zatwierdzany","zatwierdzony","zatykany","zatynkowany","zatytułowany","zauploadowany","zauroczony","zautomatyzowany","zauważany","zauważony","zawadzany","zawalany","zawalczony","zawalony","zawarty","zaważony","zawdzięczany","zawetowany","zawężony","zawiadamiany","zawiadomiony","zawiązany","zawiązywany","zawiedzony","zawierany","zawierzony","zawieszany","zawieszony","zawieziony","zawijany","zawinięty","zawiniony","zawiśnięty","zawitany","zawładnięty","zawłaszczony","zawodzony","zawojowany","zawołany","zawoskowany","zawożony","zawracany","zawrócony","zawstydzany","zażądany","zażartowany","zazdroszczony","zażegnany","zażenowany","zaznaczany","zaznajomiony","zaznany","zaznawany","zażyczony","zażyty","zażywany","zbaczany","zbadany","zbagatelizowany","zbajerowany","zbałamucony","zbalansowany","zbalsamowany","zbankrutowany","zbawiany","zbawiony","zbesztany","zbezczeszczony","zbierany","zbijany","zbity","zbliżony","zbluzgany","zbojkotowany","zbrojony","zbrukany","zbszczecony","zbudowany","zbudzony","zbuntowany","zburzony","zbyty","zbywany","zchwytany","zcięty","zciszony","zdany","zdarty","zdeaktywowany","zdecydowany","zdefiniowany","zdeflorowany","zdegradowany","zdejmowany","zdeklarowany","zdekodowany","zdekompresowany","zdekoncentrowany","zdekonstruowany","zdelegalizowany","zdemaskowany","zdementowany","zdemolowany","zdemontowany","zdemoralizowany","zdenerwowany","zdeponowany","zdeprymowany","zdeptany","zderzany","zderzony","zdestabilizowany","Zdetonowany","zdetronizowany","zdewastowany","zdewaulowany","zdezerterowany","zdezintegrowany","zdezorientowany","zdezynfektowany","zdiagnozowany","zdjęty","zdławiony","zdmuchiwany","zdmuchnięty","zdobyty","zdobywany","zdołowany","zdominowany","zdopingowany","zdrabniany","zdradzany","zdradzony","zdrapany","zdrapywany","zdrutowany","zdruzgotany","zduplikowany","zduszony","zdwojony","zdyscyplinowany","zdyskredytowany","zdyskwalifikowany","zdystansowany","zdzielony","zdzierany","zdzierżony","zdziesiątkowany","Zdzwoniony","zebrany","zechciany","zedytowany","żegnany","żeniony","zepchnięty","zepsuty","żerowany","zerwany","zerżnięty","zeskakiwany","zeskanowany","zeskrobywany","zesłany","ześlizgiwany","ześlizgnięty","zesmolony","zespawiany","zespolony","zessany","zestawiany","zestawiony","zestresowany","zestrzeliwany","zestrzelony","zeswatany","zeszklony","zeszlifowany","zetknięty","zezłoszczony","zeznany","zeznawany","zezwalany","zezwolony","zfinansowany","zgadany","zgadywany","zgajany","zganiony","zgarnięty","zgaśnięty","zgaszony","zgięty","zginany","zgładzony","zgłaszany","zgłębiany","zgłębiony","zgłośniony","zgłoszony","zgłuszony","zgniatany","zgnieciony","zgnity","zgnojony","zgodzony","zgolony","zgoniony","zgotowany","zgrabiony","zgrillowany","zgromadzany","zgromadzony","zgrupowany","zgrzeszony","zgrzytany","zgubiony","zgwałcony","zhackowany","zhakowany","zhańbiony","zhandlowany","zharmonizowany","zidentyfikowany","ziewany","zignorowany","zilustrowany","zinfiltrowany","zintegrowany","zintensyfikowany","zinterpretowany","zinwentaryzowany","zirytowany","zjadany","zjawiany","zjednany","zjednoczony","zjedzony","zjeżdżony","zkontaktowany","zkserowany","złączony","złagodzony","złajany","złamany","zlany","złapany","zlecany","zlecony","zlekceważony","zlepiany","zlepiony","zlewany","zlicytowany","zliczany","zliczony","zlikwidowany","zlinczowany","zlitowany","zlizany","zlizywany","złoity","zlokalizowany","złomowany","żłopany","złowiony","złożony","złupiony","złuszczany","zluzowany","zmacany","zmącony","zmagany","zmagazynowany","zmajstrowany","zmaksylizowany","zmanipulowany","zmarnowany","zmartwychwstany","zmarznięty","zmasakrowany","zmaterializowany","zmawiany","zmazany","zmazywany","zmbobardowany","zmiatany","zmiażdżony","zmiękczony","zmielony","zmieniany","zmieniony","zmierzany","zmierzony","zmierzwiony","zmieszany","zmieszczony","zmiksowany","zminiaturyzowany","zminimalizowany","zmniejszany","zmniejszony","zmobilizowany","zmoczony","zmodernizowany","zmodyfikowany","zmoknięty","zmonopolizowany","zmontowany","zmostkowany","zmotywowany","zmówiony","zmrożony","zmrużony","zmumifikowany","zmuszany","zmuszony","zmutowany","zmyślany","zmyty","zmywany","znacjonalizowany","znajdowany","znajdywany","znakowany","znaleziony","znany","znęcany","zneutralizowany","zniechęcony","znieczulony","zniekształcany","zniekształcony","znienawidzony","znieprawiony","zniesiony","zniesławiany","zniesławiony","zniewalany","znieważany","znieważony","zniewolony","zniszczony","zniweczony","zniwelowany","zniżany","zniżony","znokautowany","znormalniony","znoszony","znudzony","zobaczony","zobowiązany","zobrazowany","zogniskowany","żonglowany","zoomowany","zoperowany","zoptymalizowany","zorbity","zorganizowany","zorientowany","zostawiany","zostawiony","zpłacony","zprowokowany","zrabowany","zrachowany","zracjonalizowany","zraniony","zraportowany","zrażany","zrażony","zrealizowany","zrecenzowany","zredagowany","zredukowany","zreferowany","zreformowany","zrefowany","zrefundowany","zregenerowany","zrehabilitowany","zreinkarnowany","zreintegrowany","zrekonfigurowany","zrekonstruowany","zrekrutowany","zrekrystalizowany","zrelacjonowany","zrelaksowany","zremiksowany","zremisowany","zreorganizowany","zreperowany","zreplikowany","zresetowany","zresocjalizowany","zrestartowany","zrestrukturyzowany","zrewanżowany","zrewidowany","zrewolucjonizowany","zrezygnowany","zrobiony","zrolowany","zroszony","zrównany","zrównoważony","zrównywany","zróżnicowany","zrozumiany","zrugany","zruinowany","zrujnowany","zrymowany","zrywany","zrzędzony","zrzeszony","zrzucany","zrzucony","zsumowany","zsunięty","zsuwany","zsynchronizowany","zsyntetyzowany","zsypywany","zszargany","zszokowany","zszyty","zszywany","ztarty","żuty","zutylizowany","zużyty","zużywany","zwabiany","zwabiony","zwalany","zwalczony","zwalniany","zwalony","zwany","zwaporyzowany","zwątpiony","zważany","zważony","zwędzony","zwerbalizowany","zwerbowany","zweryfikowany","zwęszony","zwężony","zwiastowany","związany","związywany","zwichnięty","zwiedzany","zwiedzony","zwiększony","zwieńczony","zwierzany","zwieszany","zwieszony","zwietrzony","zwijany","zwilżony","zwinięty","zwizualizowany","zwlekany","zwodowany","zwodzony","zwołany","zwolniony","zwoływany","zwożony","zwracany","zwrócony","zwyciężany","zwymiotowany","życzony","żygany","zygzakowany","zyskany","zyskiwany","żyty","zżarty","zżerany","zżynany","zżyty","abdykowana","absorbowana","adaptowana","administrowana","adoptowana","adorowana","adresowana","afiszowana","agitowana","akcentowana","akceptowana","aklimatyzowana","akompaniowana","aktualizowana","aktywowana","akumulowana","alaromowana","alienowana","amerykanizowana","amortyzowana","amputowana","analizowana","angażowana","anihilowana","animowana","anonsowana","antropomorfizowana","antydatowana","anulowana","apelowana","aportowana","aranżowana","archiwizowana","aresztowana","argumentowana","artykułowana","ascendowana","asekurowana","asymilowana","asystowana","atakowana","autoryzowana","awanturowana","babrana","baczona","badana","bagatelizowana","bajerowana","bałamucona","balangowana","balansowana","banalizowana","bandażowana","bankrutowana","baraszkowana","barwiona","bawiona","bazgrana","bazowana","bębniona","bełkotana","besztana","biadolona","biczowana","bita","błagana","błaznowana","blefowana","błogosławiona","blokowana","bluzgana","błyskana","błyszcząca","boczona","bogacona","bojkotowana","boksowana","bombardowana","bopowana","borowana","brandzlowana","brana","brasowana","bratana","bredzona","brnięta","brodzona","broniona","brudzona","brylowana","budowana","budzona","bujana","bulona","bulwersowana","bumelowana","burzona","butelkowana","bywana","cackana","całowana","capnięta","cechowana","celebrowana","celowana","ceniona","cenzurowana","chciana","chlana","chlapana","chlapnięta","chlastana","chłodzona","chlostana","chlubiona","chodowana","chomikowana","chorowana","chowana","chroniona","chrupana","chrzczona","chuta","chwalona","chwycona","chwytana","chybotana","chylona","ciachnięta","ciągana","ciągnięta","ciemiężona","cierpiana","cieszona","cięta","ciskana","ciśnięta","ciułana","cmokana","cmoknięta","cofana","cofnięta","ćpana","cucona","cudzołożona","cumowana","ćwiartowana","ćwiczona","cykana","cytowana","czajona","czarowana","czczona","czepiana","czepiona","czerpana","czesana","częstowana","czochrana","czołgana","czuta","czytana","czyta","darowana","darta","darzona","datowana","dawana","dbana","deaktywowana","debatowana","dedukowana","dedykowana","defibrylowana","defilowana","definiowana","defraudowana","degradowana","degustowana","deklamowana","deklarowana","dekodowana","dekompresowana","dekorowana","dekretowana","delegowana","delektowana","deliberowana","demaskowana","dementowana","demolowana","demonizowana","demonstrowana","demoralizowana","denerwowana","denuncjowana","depeszowana","depilowana","deportowana","deprawowana","deptana","deratyzowana","destabilizowana","destylowana","desygnowana","determinowana","detonowana","dewastowana","dewaulowana","dezaktywowana","dezorientowana","dezynfekowana","diagnozowana","dilowana","dłubana","dłużona","dmuchana","dmuchnięta","dobiegana","dobierana","dobijana","dobita","dobrana","dobudzona","dobyta","doceniana","doceniona","dochodzona","dochowana","dochowywana","dociągnięta","dociekana","docięta","docinana","dociskana","dociśnięta","doczekana","doczepiona","doczołgana","doczyszczona","doczytana","dodana","dodawana","dodrukowana","dodrukowywana","dofinansowana","dofinansowywana","dogadana","dogadywana","dogadzana","doganiana","doglądana","doglądnięta","dognana","dogodzona","dogoniona","dograna","dogryzana","dogryziona","dogrzana","dogrzebana","doinformowana","dojeżdżana","dojona","dojrzana","dojrzewana","dokańczana","dokarmiana","dokarmiona","dokazana","dokazywana","dokładana","doklejona","dokonana","dokończona","dokonywana","dokopana","dokopywana","dokowana","dokręcana","dokręcona","dokształcana","dokształcona","dokuczana","dokumentowana","dokupiona","dołączana","dołączona","doładowana","dolana","dolewana","doliczona","dołowana","dołożona","domagana","domalowana","domknięta","domniewywana","domówiona","domyślana","domyślona","domyta","doniesiona","donoszona","dopadana","dopadnięta","dopakowana","dopalona","dopasowana","dopasowywana","dopatrywana","dopatrzona","dopchana","dopchnięta","dopełniana","dopełniona","dopieszczona","dopięta","dopijana","dopilnowana","dopingowana","dopisana","dopisywana","dopita","dopłacana","dopłacona","dopłynięta","dopolerowana","dopompowana","dopowiedziana","dopracowana","dopracowywana","doprana","doprawiona","doprecyzowana","doproszona","doprowadzana","doprowadzona","dopucowana","dopuszczana","dopuszczona","dopytywana","dorabiana","doradzana","doradzona","doręczana","doręczona","dorobiona","dorównana","dorównywana","dorwana","dorysowana","dorzucana","dorzucona","doścignięta","dosiadana","dosięgnięta","doskoczona","doskonalona","dosładzana","dosłana","dosłyszana","dosolona","dośrodkowana","dossana","dostana","dostąpiona","dostarczana","dostarczona","dostawana","dostawiana","dostawiona","dostosowana","dostosowywana","dostrajana","dostrojona","dostrzegana","dosunięta","dosuwana","doświadczana","doświetlona","dosypana","dosypywana","doszkolona","doszlifowana","doszorowana","doszukana","doszukiwana","doszyta","dotankowana","dotankowywana","dotargana","dotaszczona","dotknięta","dotleniona","dotłumaczona","dotowana","dotrwana","dotrzymana","dotrzymywana","dotykana","douczana","douczona","dowalona","dowieziona","dowodzona","dowożona","doznana","doznawana","dozorowana","dozowana","dożyta","dożywiona","dramatyzowana","drapana","drapnięta","draśnięta","drażniona","drążona","dręczona","drenowana","drgana","drgnięta","drukowana","dryblowana","dryfowana","drzemana","dubbingowana","dublowana","duplikowana","duszona","dworowana","dygotana","dyktowana","dymana","dymiona","dyrygowana","dyscyplinowana","dyskredytowana","dyskryminowana","dyskutowana","dyskwalifikowana","dysponowana","dystansowana","dystrybuowana","dywagowana","dźgana","dźgnięta","dziabnięta","dziedziczona","dziękowana","dzielona","dziergana","dzierżona","dziobana","dziurawiona","dziurkowana","dźwigana","dźwignięta","edukowana","edytowana","egzaminowana","egzekutowana","egzekwowana","ekscytowana","ekshumowana","ekskomunikowana","eksmitowana","ekspandowana","eksperymentowana","eksploatowana","eksplorowana","eksponowana","eksportowana","eksterminowana","ekstradowana","ekstrapolowana","eliminowana","emancypowana","emanowaa","emigrowana","emitowana","energetyzowana","eskortowana","etykietowana","ewakuowana","ewaluowana","fabrykowana","falowana","fałszowana","farbowana","faszerowana","faulowana","faworyzowana","fechtowana","fermentowana","ferowana","figurowana","filetowana","filmowana","filtrowana","finalizowana","finansowana","firmowana","fleszowana","folgowana","formułowana","forsowana","fotografowana","fundowana","gadana","ganiana","garbiona","gardzona","garnirowana","gaszona","gawędzona","gaworzona","gazowana","gdakana","gderana","generalizowana","generowana","gięta","gilgotana","gładzona","głaskana","głodowana","głodzona","gloryfikowana","głosowana","głoszona","głowiona","gmatwana","gmerana","gnana","gnębiona","gnieciona","gnita","gnojona","godzona","gojona","golnięta","golona","goniona","googlowana","gospodarowana","goszczona","gotowana","grabiona","grana","grasowana","gratulowana","grillowana","grilowana","gromadzona","gromiona","grożona","gruchana","gruchnięta","grupowana","grywana","gryziona","grzana","grzechotana","gubiona","gustowana","gwałcona","gwarantowana","gwizdana","gwizdnięta","hackowana","haftowana","hajtnięta","hamowana","hańbiona","handlowana","harcowana","harmonizowana","harowana","hartowana","hibernowana","hipnotyzowana","hodowana","holowana","hołubiona","honorowana","hospitalizowana","huknięta","hulana","huśtana","idealizowana","identyfikowana","ignorowana","igrana","ilustrowana","imitowana","implantowana","implodowana","imponowana","importowana","improwizowana","indokrynowana","indukowana","infekowana","infiltrowana","informowana","ingerowana","inhalowana","inscenizowana","inspirowana","instalowana","instruowana","insynuowana","integrowana","interpretowana","interweniowana","intonowana","intubowana","inwestowana","inwigilowana","irytowana","iskrzona","izolowana","jadana","jawiona","jazgotana","jednoczona","jedzona","kablowana","kadzona","kalana","kaleczona","kalkulowana","kamerowana","kamienowana","kamuflowana","kanalizowana","kantowanta","kąpana","kapitulowana","kapowana","karana","karbonizowana","karcona","karczowana","karmiona","kartkowana","kąsana","kasowana","kastrowana","katalogowana","katapultowana","katowana","katrupiona","kierowana","kimana","kiszona","kiwana","kiwnięta","kłaniana","klapana","klapnięta","klarowana","klasyfikowana","klębiona","klejona","klepana","klepnięta","klikana","kliknięta","klonowana","kłopotana","kłuta","knocona","knuta","kochana","koczowana","kodowana","kojarzona","kojfnięta","kojona","kolekcjonowana","kolektywizowana","kolidowana","kolonizowana","kolorowana","koloryzowana","kołowana","kołysana","kombinowana","komenderowana","komentowana","komercjalizowana","kompensowana","komplementowana","komplikowana","komponowana","kompromitowana","komunikowana","konana","koncentrowana","kończona","konfabulowana","konfiskowana","konfrontowana","konserwowana","konspirowana","konstruowana","konsultowana","konsumowana","kontaktowana","kontestowana","kontrastowana","kontrolowana","kontrowana","kontynuowana","konwertowana","konwojowana","koordynowana","kopana","kopcona","kopiowana","kopnięta","kopulowana","korelowana","korkowana","koronowana","korygowana","korzona","korzystana","koszona","kotwiczona","kozaczona","kozłowana","kpita","kradziona","krajana","krążona","kręcona","kremowana","kreowana","krochmalona","krojona","kropiona","kruszona","krystalizowana","kryta","krytykowana","krzepnięta","krzyczana","krzyknięta","krzywdzona","krzywiona","krzyżowana","kserowana","księgowana","kształcona","kształtowana","kulona","kultywowana","kumulowana","kupczona","kupiona","kupowana","kupywana","kurczona","kurowana","kursowana","kurzona","kuszona","kuta","kwalifikowana","kwestionowana","łączona","ładowana","łagodzona","łajdaczona","lakierowana","łamana","lamentowana","lansowana","lana","łapana","łaskotana","łaszona","latana","łatana","lawirowana","leczona","legalizowana","legitymowana","lekceważona","lepiona","lewitowana","liberowana","licencjonowana","licytowana","liczona","likwidowana","linczowana","liniowana","literowana","litowana","lizana","liznięta","lobbowana","lokalizowana","losowana","łowiona","łożona","lubiana","łudzona","lunatykowana","łupana","łupiona","łuskana","lustrowana","łuszczona","luzowana","łykana","łyknięta","łyżeczkowana","macana","machana","machnięta","mącona","maczana","maganyzowana","maglowana","majaczona","majsterkowana","majtana","maksymalizowana","malowana","maltretowana","mamiona","mamrotana","manewrowana","manifestowana","manipulowana","markowana","marnotrawiona","marnowana","marszczona","marynowana","marznięta","masakrowana","maskowana","masowana","masturbowana","mataczona","materializowana","mawiana","mazana","maznięta","męczona","meldowana","merdana","metabolizowana","miażdżona","mielona","mierzona","mierzwiona","mieszana","miętolona","migana","migdalona","migotana","mijana","miksowana","milowana","minięta","minimalizowana","miotana","mistyfikowana","mitygowana","mizdrzona","mlana","mniemana","mnożona","mobilizowana","mocowana","moczona","modelowana","modernizowana","modlona","modulowana","modyfikowana","molestowana","monitorowana","monopolizowana","montowana","mordowana","motywowana","mówiona","mrożona","mrugana","mrużona","muskana","mutowana","mydlona","mylona","myszkowana","myta","nabazgrana","nabiegana","nabierana","nabita","nabrana","nabrojona","nabrudzona","nabyta","nabywana","nacelowana","nachapana","nachodzona","nachwalona","nachylona","naciągana","naciągnięta","nacierana","nacięta","nacinana","naciskana","naciśnięta","nacjonalizowana","naczepiona","nadana","nadawana","nadchodzona","nadciągana","nadciągnięta","nadcięta","nadesłana","nadgoniona","nadgryzana","nadgryziona","nadinterpretowana","nadłożona","nadmieniana","nadmieniona","nadmuchana","nadrabiana","nadrobiona","nadskakiwana","nadsłuchiwana","nadstawiana","nadstawiona","nadszarpnięta","naduszona","nadużyta","nadużywana","nadwerężana","nadwyrężana","nadwyrężona","nadziana","nadzorowana","naelektryzowana","nafaszerowana","nagabywana","nagadana","nagięta","naginana","nagłaszana","nagłośniona","nagoniona","nagradzana","nagrana","nagrodzona","nagromadzona","nagrywana","nagryzmolona","nagrzana","nagrzebana","nagrzewana","nagwizdana","naigrywana","najechana","najęta","najmowana","nakarmiana","nakarmiona","nakazana","nakazywana","nakierowana","nakierowywana","nakładana","nakłamana","nakłaniana","naklejana","naklejona","naklepana","nakłoniona","nakłuta","nakłuwana","nakopana","nakręcana","nakręcona","nakreślana","nakreślona","nakruszona","nakryta","nakrywana","nakrzyczana","nakupiona","naładowana","nalana","nałapana","nalepiona","nalewana","naliczona","nałowiona","nałożona","namaczana","namagnetyzowana","namalowana","namaszczana","namaszczona","namawiana","namęczona","namierzana","namieszana","namoczona","namówiona","namydlana","namyślona","naniesiona","naoliwiana","naoliwiona","naopowiadana","naostrzona","napadana","napadnięta","napakowana","napalona","naparzana","napastowana","napawana","napchana","napędzana","napełniana","napełniona","napierana","napiętnowana","napięta","napinana","napisana","napluta","napływana","napoczęta","napojona","napompowana","napotkana","napotykana","napraszana","naprawiana","naprawiona","naprężana","naprężona","napromieniowana","naprostowana","naprowadzana","naprowadzona","napsuta","napuszczana","napuszczona","napychana","napytana","narąbana","naradzana","naradzona","narastana","narażana","narażona","nareperowana","narkotyzowana","narodzona","naruszana","naruszona","narwana","narysowana","narzucana","narzucona","nasączana","nasączona","nasadzona","nasiąkana","nasilana","nasilona","naskakiwana","naskoczona","naskrobana","naśladowana","nasłana","nasłuchana","nasłuchiwana","nasmarowana","nastąpiona","nastawiana","nastawiona","nastraszana","nastrojona","nastukana","nasunięta","nasuwana","naświetlana","nasycona","nasyłana","nasypana","naszczana","naszkicowana","naszpikowana","naszprycowana","naszykowana","naszyta","naszywana","natarta","natchnięta","natknięta","natleniona","natłuszczona","natrafiona","natrząsana","natrząsnięta","nauczana","nauczona","nawadniana","nawalona","nawiązana","nawiązywana","nawiedzana","nawiedzona","nawiercona","nawiewana","nawieziona","nawigowana","nawijana","nawilżana","nawilżona","nawinięta","nawlekana","nawodniona","nawoływana","nawoskowana","nawożona","nawpychana","nawracana","nawrócona","nawrzucana","nawtykana","nawymyślana","nazbierana","nazmyślana","naznaczana","naznaczona","nazrywana","nazwana","nazywana","nęcona","negocjowana","negowana","nękana","neutralizowana","niańczona","niecierpliwiona","niedoceniana","niedowidziana","nienawidzona","niesiona","nikolona","niszczona","nitkowana","niuchana","niweczona","niwelowana","nokautowana","nominowana","notowana","nucona","numerowana","nurtowana","obaczona","obadana","obalana","obalona","obandażowana","obarczana","obarczona","obawiana","obchodzona","obciągnięta","obciążona","obcięta","obcinana","obcyndalana","obczajana","obczajona","obdarowana","obdarta","obdarzana","obdarzona","obdzielona","obdzierana","obdzwaniana","obdzwoniona","obejmowana","oberwana","obessana","obezwładniana","obezwładniona","obfotografowana","obfotografowywana","obgadana","obgadywana","obgryzana","obgryziona","obiecana","obiecywana","obierana","obijana","obita","objadana","objaśniana","objawiana","objawiona","objechana","objęta","objeżdżana","obkręcana","oblana","obłapiana","obłapywana","obłaskawiana","obłaskawiona","obleciana","oblegana","oblewana","obliczana","obliczona","oblizana","obłowiona","obłożona","obluzowana","obluzowywana","obmacana","obmacywana","obmawiana","obmyślana","obmyślona","obmyta","obmywana","obnażana","obniżana","obniżona","obnoszona","obowiązywana","obozowana","obrabiana","obrabowana","obracana","obradowana","obramowana","obraniana","obrana","obrastana","obrażana","obrażona","obrobiona","obrócona","obrodzona","obroniona","obrysowana","obrywana","obryzgana","obrzezana","obrzucana","obrzucona","obrzygana","obsadzana","obsadzona","obściskiwana","obserwowana","obsiana","obsikana","obsikiwana","obskakiwana","obskoczona","obskubana","obskubywana","obśliniana","obśliniona","obsługiwana","obsłużona","obsmarowana","obstawiana","obstawiona","obstrzeliwana","obsunięta","obsuwana","obsypana","obsypywana","obszukana","obszukiwana","obtaczana","obtarta","obtoczona","obudzona","obwąchana","obwąchiwana","obwiązana","obwiązywana","obwieszana","obwieszczana","obwieszczona","obwieszona","obwijana","obwiniana","obwinięta","obwołana","obyta","obżerana","ocalana","ocalona","ocechowana","oceniana","oceniona","ocenzurowana","ochładzana","ochlapana","ochlapywana","ochłodzona","ochłonięta","ochraniana","ochroniona","ochrzaniana","ochrzczona","ociągana","ocielona","ocieplana","ocieplona","ocierana","ocknięta","ocucona","ocuta","oczarowywana","oczekiwana","oczerniana","oczerniona","oczyszczana","oczyszczona","odarta","odbębniona","odbetonowana","odbezpieczana","odbezpieczona","odbijana","odbita","odblokowana","odbudowana","odbudowywana","odbutowana","odbyta","odcedzana","odchorowana","odchowana","odchudzana","odchudzona","odchylana","odchylona","odciągana","odciągnięta","odciążona","odcierpiona","odcięta","odcinana","odcisnięta","odcumowana","odcyfrowana","odcyfrowywana","odczarowana","odczekana","odczepiana","odczepiona","odczuta","odczuwana","odczyniona","odczytana","odczytywana","oddalana","oddana","oddawana","oddelegowana","oddychana","oddzielana","oddzielona","odebrana","odegnana","odegrana","odejmowana","odepchnięta","oderwana","odeskortowana","odesłana","odespana","odessana","odetkana","odetnięta","odezwana","odfiltrowana","odgadnięta","odgadywana","odganiana","odgarniana","odgarnięta","odgięta","odgniatana","odgoniona","odgradzana","odgrażana","odgrodzona","odgruzowana","odgrywana","odgryzana","odgryziona","odgrzana","odgrzebana","odgrzebywana","odgrzewana","odgwizdana","odhaczona","odholowana","odinstalowana","odizolowana","odjedzona","odjęta","odjonizowana","odkażana","odkażona","odkładana","odklejona","odkochana","odkodowana","odkodowywana","odkopana","odkopywana","odkorkowana","odkręcana","odkręcona","odkrojona","odkryta","odkrywana","odkupiona","odkupywana","odkurzana","odkurzona","odkuta","odłączana","odłączona","odłamywana","odlana","odlatywana","odlepiana","odlewana","odliczana","odliczona","odłożona","odłupana","odmachana","odmachiwana","odmalowana","odmarszczona","odmawiana","odmeldowana","odmieniana","odmieniona","odmierzana","odmierzona","odmieszana","odmontowana","odmówiona","odmrażana","odmrożona","odnajdowana","odnaleziona","odnawiana","odniesiona","odnoszona","odnotowana","odnotowywana","odnowiona","odpakowana","odpakowywana","odpalana","odpalona","odpałzowana","odparowana","odparta","odpędzana","odpicowana","odpieczętowana","odpierana","odpięta","odpiłowana","odpiłowywana","odpinana","odpisana","odpisywana","odpłacana","odplamiona","odplątana","odpłynięta","odpowietrzona","odpracowana","odpracowywana","odprasowana","odprawiana","odprawiona","odprężana","odprostowana","odprowadzana","odprowadzona","odpruta","odpryskana","odpukana","odpukiwana","odpuszczana","odpuszczona","odpychana","odrąbana","odrabiana","odrąbywana","odradzana","odradzona","odrapana","odrastana","odratowana","odreagowana","odremontowana","odrestaurowana","odrestaurowywana","odrobaczana","odrobiona","odroczona","odrodzona","odrośnięta","odróżniana","odróżniona","odrysowana","odrywana","odrzucana","odrzucona","odsączana","odsączona","odsadzona","odseparowana","odsiadywana","odsiana","odsiewana","odsłaniana","odsłonięta","odsłuchana","odsłuchiwana","odsłużona","odśnieżana","odśnieżona","odsolona","odśpiewana","odsprzedana","odsprzedawana","odstąpiona","odstawiana","odstawiona","odstępowana","odstraszana","odstręczona","odstresowana","odstrzeliwana","odstrzelona","odsunięta","odsuwana","odświeżana","odświeżona","odsyłana","odsypywana","odsysana","odszczekana","odszczekiwana","odsztafirowana","odszukana","odszyfrowana","odszyfrowywana","odszykowana","odtrąbiona","odtrącona","odtruta","odtwarzana","odtworzona","oduczona","odurzona","odwalana","odwalona","odwiązana","odwiązywana","odwiedzana","odwiedzona","odwieszona","odwieziona","odwijana","odwinięta","odwlekana","odwodniona","odwodzona","odwołana","odwoływana","odwożona","odwracana","odwrócona","odwzajemniona","odwzorowana","odżegnana","odziana","odziedziczona","odznaczana","odznaczona","odzwieciedlona","odzwierciedlana","odzwoniona","odzwyczajona","odzyskana","odzyskiwana","odżyta","odzywiana","odżywiona","oferowana","ofiarowana","ofiarowywana","ogarniana","ogarnięta","oglądana","ogłaszana","ogłoszona","ogłupiana","ogłupiona","ogłuszona","ogołocona","ogolona","ograbiana","ograbiona","ograniczana","ograniczona","ograna","ogrodzona","ogryziona","ogrzana","ogrzewana","okablowana","okaleczona","okantowana","okąpana","okazana","okazywana","okiełznana","okładana","okłamana","okłamywana","oklaskiwana","oklejona","oklepana","okopana","okopywana","okpiona","okradana","okradziona","okraszona","okrążana","okrążona","okręcana","okręcona","określana","określona","okrojona","okryta","okrywana","okrzyknięta","okulawiona","okupiona","okupowana","olana","olewana","olśnięta","omamiona","omawiana","omdlewana","omijana","ominięta","omotana","omówiona","onanizowana","onieśmielana","onieśmielona","opadnięta","opakowana","opalana","opalona","opancerzona","opanowana","opanowywana","oparta","oparzona","opasana","opatentowana","opatrywana","opatrzona","opatulona","opchnięta","opędzana","opędzona","operowana","opętana","opętywana","opieczętowana","opiekowana","opierana","opijana","opisana","opisywana","opita","opłacana","opłacona","opłakana","opłakiwana","opłukana","opluta","opluwana","opływana","opodatkowana","opodatkowywana","oponowana","oporządzana","oporządzona","opowiadana","opowiedziana","opóźniana","opóźniona","opracowana","opracowywana","oprawiana","oprawiona","oprowadzana","oprowadzona","opróżniana","opróżniona","opryskana","opryskiwana","opublikowana","opukana","opuszczana","opuszczona","opychana","opylona","orana","orbowana","organizowana","orientowana","oroszona","orzekana","orżnięta","osaczana","osaczona","osadzana","osądzana","osadzona","osądzona","oscylowana","osiadana","osiągana","osiągnięta","osiedlana","osiedlona","osiedzona","osierocona","osiodłana","oskalpowana","oskarżona","oskrobana","oskrzydlana","oskrzydlona","oskubana","oskubywana","osłabiana","osłabiona","oślepiana","oślepiona","oślepnięta","ośliniana","osłodzona","osłoniona","osłuchana","osmalona","ośmielona","ośmieszana","ośmieszona","ostrzegana","ostrzelana","ostrzelita","ostrzona","ostudzona","osunięta","osuszana","osuszona","osuwana","oswajana","oświadczana","oświadczona","oświecana","oświeciona","oświetlana","oświetlona","oswobadzana","oswobodzona","oswojona","oszacowana","oszałamiana","oszczana","oszczędzana","oszczędzona","oszklona","oszlifowana","oszołomiona","oszpecona","oszukana","oszukiwana","oszwabiona","otaczana","otarta","otoczona","otruta","otruwana","otrząsana","otrząśnięta","otrzepana","otrzeźwiona","otrzymana","otrzymywana","otulona","otumaniona","otwierana","otworzona","otwarta","owana","owdowiona","owiana","owijana","owinięta","ozdabiana","ozdobiona","ozdrowiona","ożeniona","oznaczana","oznaczona","oznajmiana","oznajmiona","oznakowana","ożyta","ożywana","ożywiana","ożywiona","pachnąca","pacnąta","pakowana","paktowana","pałana","pałaszowana","palnięta","palona","pamiętana","panoszona","paprana","parafrazowana","paraliżowana","parkowana","parowana","partaczona","parta","parzona","pastowana","paszona","patrolowana","patroszona","patrzona","pauzowana","pchana","pchnięta","pdholowana","pedałowana","pękana","pęknięta","pełniona","penetrowana","perforowana","perfumowana","perswadowana","piastowana","pichcona","pielęgnowana","pielona","pieniona","pieszczona","piętnowana","pięta","pijana","pikietowana","piknikowana","pikowana","pilnowana","pilotowana","piłowana","pisana","pisywana","pita","płacona","plądrowana","plamiona","planowana","płaszczona","plątana","płatana","pławiona","plewiona","płonąca","płoszona","plotkowana","plugawiona","płukana","pluskana","pluta","pobaraszkowana","pobierana","pobita","pobłażana","pobłogosławiona","pobrana","pobrudzona","pobudzana","pobudzona","pobujana","pocałowana","pocerowana","pochłaniana","pochlapana","pochlebiana","pochłonięta","pochowana","pochwalana","pochwalona","pochwycona","pochylana","pochylona","pociachana","pociągana","pociągnięta","pocierana","pocieszana","pocieszona","pocięta","pocona","pocukrowana","poćwiartowana","poczesana","poczęstowana","poczęta","poczochrana","poczuta","poczytana","poczytywana","podana","podarowana","podarta","podawana","podążona","podbierana","podbijana","podbita","podbudowana","podbudowywana","podburzana","podburzona","podchwycona","podciągana","podciągnięta","podcierana","podcięta","podcinana","podczepiona","poddana","poddawana","podebrana","podejmowana","podejrzana","podejrzewana","podelektowana","podeptana","poderwana","podesłana","podglądana","podgolona","podgoniona","podgryzana","podgrzana","podgrzewana","podjadana","podjedzona","podjęta","podkablowana","podkarmiona","podkładana","podklejona","podkolorowana","podkołowana","podkopana","podkopywana","podkradana","podkradnięta","podkręcana","podkręcona","podkreślana","podkreślona","podkształcona","podkulona","podkupiona","podkurzona","podkuta","podłączana","podłączona","podładowana","podłamana","podlana","podłapana","podleczona","podlegana","podlewana","podliczana","podliczona","podlizana","podlizywana","podłożona","podmalowana","podmieniana","podmieniona","podmuchana","podmyta","podnajęta","podniecana","podniecona","podniesiona","podnoszona","podołana","podopingowana","podostrzona","podotykana","podpadnięta","podpalana","podpalona","podparta","podpatrywana","podpatrzona","podpieczętowana","podpiekana","podpierana","podpięta","podpiłowana","podpinana","podpisana","podpisywana","podpłacona","podpłynięta","podpompowana","podporządkowana","podporządkowywana","podpowiadana","podpowiedziana","podprowadzana","podpuszczana","podpuszczona","podpychana","podpytana","podrabiana","podrapana","podrasowana","podratowana","podrażniona","podręczona","podregulowana","podreperowana","podretuszowana","podrobiona","podroczona","podróżowana","podrygiwana","podrywana","podrzucana","podrzucona","podrzynana","podsadzona","podskubywana","podsłuchana","podsłuchiwana","podsmażana","podsmażona","podśpiewywana","podstawiana","podstawiona","podstemplowana","podstrojona","podsumowana","podsumowywana","podsunięta","podsuwana","podświetlana","podsycana","podsycona","podsyłana","podsypana","podszczypywana","podszkolona","podszlifowana","podszykowana","podszyta","podszywana","podtapiana","podtarta","podtopiona","podtrzymana","podtrzymywana","podtuczona","poduczana","podupadana","poduszona","podwajana","podwalana","podważana","podwędzona","podwiązana","podwieszana","podwieziona","podwijana","podwinięta","podwojona","podwożona","podwyżana","podwyższana","podwyższona","podyktowana","podyskutowana","podziabana","podziałana","podziałkowana","podziękowana","podzielona","podziurawiona","podziwiana","podźwignięta","poeksperymentowana","pofarbowana","pofatygowana","pofilmowana","poganiana","pogardzana","pogardzona","pogarszana","pogaszona","pogładzona","pogłaskana","pogłębiana","pogłębiona","pogłośniona","pogmatwana","pognębiona","pognieciona","pogodzona","pogoniona","pogorszona","pogotowana","pograbiona","pogrążana","pogrążona","pogrożona","pogrubiana","pogrubiona","pogruchana","pogruchotana","pogrupowana","pogrywana","pogryzana","pogryziona","pogrzana","pogrzebana","pogubiona","pogwałcana","pohamowana","pohandlowana","poharatowana","pohuśtana","poinformowana","poinstruowana","pojednana","pojęta","pojmięta","pojmowana","pojona","pokajana","pokaleczona","pokarana","pokarmiona","pokąsana","pokatalogowana","pokazana","pokazywana","pokiereszowana","pokierowana","pokiwana","pokładana","poklepana","poklepywana","pokłoniona","pokłuta","pokochana","pokolorowana","pokoloryzowana","pokołysana","pokombinowana","pokomplikowana","pokonana","pokończona","pokonywana","pokopana","pokrajana","pokrążona","pokręcona","pokrojona","pokruszona","pokryta","pokrywana","pokrzepiana","pokrzepiona","pokrzyżowana","pokuszona","pokutowana","połączona","polakierowana","połamana","polana","połapana","połaskotana","połatana","polecana","połechtana","polecona","poleczona","polegana","polemizowana","polepszana","polepszona","polerowana","polewana","policzkowana","policzona","polimeryzowana","polizana","połknięta","polowana","połowiona","położona","polubiona","poluźniona","poluzowana","połykana","pomacana","pomachana","pomagana","pomalowana","pomarynowana","pomasowana","pomazana","pomęczona","pomiatana","pomieszana","pomieszczona","pomijana","pominięta","pomiziana","pomknięta","pomnażana","pomniejszana","pomniejszona","pomnożona","pomoczona","pompowana","pomydlona","pomylona","pomyszkowana","pomywana","ponabijana","ponaciskana","ponadziewana","ponaglana","ponaglona","ponagrywana","ponaklejana","ponakłuwana","ponakrywana","ponaprawiana","ponawiana","poniańczona","poniechana","ponieiwerana","poniesiona","poniszczona","poniżana","poniżona","ponoszona","ponowiona","ponudzona","poobcinana","poobcowana","poobczajana","poobijana","poobmacywana","poobracana","poobserwowana","poodbijana","poodcinana","poodgryzana","poodkurzana","poodprawiana","poodsuwana","poodwalana","pooglądana","poograniczana","poopalana","poopiekana","poopwiadana","pootwierana","popadana","popakowana","popalona","poparta","poparzona","popchana","popchnięta","popędzana","popędzona","popękana","popełniana","popełniona","poperfumowana","popierana","popieszczona","popijana","popilnowana","popisana","popita","popłacona","popłakiwana","poplamiona","poplątana","popluskana","popodcinana","popodziwiana","popoprawiana","poprana","poprasowana","poprawiana","poprawiona","poproszona","poprowadzona","popryskana","poprzebierana","poprzeciągana","poprzecinana","poprzedzana","poprzeglądana","poprzeklinana","poprzekopywana","poprzemieszczana","poprzenoszona","poprzesadzana","poprześladowana","poprzestawiana","poprzesuwana","poprzewieszana","poprzewracana","poprzycinana","poprzymierzana","poprzytulana","poprzywiązywana","popsuta","popudrowana","popukana","popularyzowana","popuszczana","popuszczona","popychana","popykana","popytana","porabiana","porachowana","poraniona","poratowana","porażona","poręczona","porównana","porozbierana","porozbijana","porozciągana","porozcinana","porozdawana","porozdzielana","porozmieszczana","poróżniona","porozpędzana","porozpieszczana","porozprowadzana","porozpruwana","porozrzucana","porozstawiana","porozsyłana","porozumiewana","porozwalana","porozwiązywana","porozwieszana","porozwożona","portretowana","poruszana","poruszona","porwana","porysowana","porywana","porządkowana","porządzona","porzucana","porzucona","posądzana","posadzona","posądzona","pościągana","pościelona","pościerana","pościgana","pościnana","pościskana","posegregowana","posiadana","posiana","posiekana","posilana","posiłkowana","posilona","posiłowana","posiniaczona","posiorbana","poskąpiona","poskładana","posklejana","poskramiana","poskręcana","poskrobana","poskromiona","poskubana","posłana","posłodzona","poślubiana","poślubiona","posługiwana","posmakowana","posmarowana","posolona","posortowana","pospekulowana","pospieszana","pośpieszana","pośpiewana","pospinana","pospłacana","posprawdzana","posprzątana","posprzedawana","pośredniczona","possana","postanowiona","postana","postarana","postawiona","postemplowana","posterowana","postradana","postraszona","postrugana","postrzegana","postrzelana","postrzelona","postukana","postymulowana","posunięta","posuwana","poświącana","poświadczona","poświecona","poświęcona","poświętowana","poświntuszona","posyłana","posypana","posypywana","poszarpana","poszastana","poszatkowana","poszczuta","poszczycona","poszczypana","poszerzana","poszerzona","poszorowana","poszpiegowana","poszturchana","poszukana","poszukiwana","poszwędana","poszybowana","potakiwana","potarmoszona","potarta","potasowana","potęgowana","potępiana","potępiona","potknięta","potoczona","potopiona","potorturowana","potrącana","potrącona","potraktowana","potrojona","potruta","potrząsana","potrzaskana","potrząsnięta","potrząśnięta","potrzymana","Poturbowana","poturlana","potwierdzona","potykana","poucinana","pouczana","pouczona","poudawana","poukładana","pouprawiana","poupychana","pourywana","poustawiana","poużywana","powąchana","powachlowana","powalana","powalona","poważana","powbijana","powciągana","powciskana","powdychana","powęszona","powetowana","powiadamiana","powiadomiona","powiązana","powiedziana","powiedzona","powiększana","powielana","powielona","powierzana","powierzona","powieszona","powiewana","powinszowana","powitana","powita","powkładana","powlekana","powłóczona","powodowana","powołana","powoływana","powożona","powpychana","powrócona","powrzucana","powsadzana","powściągnięta","powspominana","powstrzymana","powtarzana","powtórzona","powybierana","powybijana","powycierana","powycinana","powyciskana","powydawana","powyganiana","powyginana","powyjaśniana","powyjmowana","powyłączana","powymiatana","powymieniana","powynoszona","powypełniana","powypisywana","powyrywana","powyrzucana","powystrzelana","powysyłana","powywalana","powywieszana","powywracana","powzięta","pozabawiana","pozabijana","pozacierana","pożądana","pożądlona","pozadzierana","pozakładana","pozaklinana","pozałatwiana","pozamiatana","pozamieniana","pozamrażana","pozamykana","pozapalana","pozapinana","pozapisywana","pozapraszana","pożarta","pozasłaniana","pozastrzelana","pozatykana","pozbawiana","pozbawiona","pozbierana","pozbyta","pozbywana","pozdejmowana","pozdrawiana","pozdrowiona","pożegnana","pożerana","pozmiatana","pozmieniana","pozmywana","poznaczona","poznana","poznawana","poznęcana","pozorowana","pozostawiana","pozostawiona","pozowana","pozrywana","pozszywana","pożuta","pozwalniana","pozwana","pozwiązywana","pozwiedzana","pozwolona","pożyczana","pożyczona","pozyskana","pożyta","pozywana","pożywiana","pożywiona","praktykowana","prana","prasowana","prawiona","prażona","precyzowana","preferowana","prenumerowana","prezentowana","próbowana","procesowana","produkowana","profanowana","profilowana","prognozowana","programowana","projektowana","proklamowana","prolongowana","promieniowana","promowana","propagowana","proponowana","prosperowana","prostowana","proszkowana","proszona","protestowana","protokołowana","prowadzona","prowokowana","pruta","pryskana","pryśnięta","przeanalizowana","przearanżowana","przebaczana","przebaczona","przebadana","przebiegnięta","przebierana","przebijana","przebita","przebolona","przebrana","przebudowana","przebudowywana","przebudzana","przebudzona","przebukowana","przebyta","przebywana","przeceniana","przeceniona","przechlapana","przechodzona","przechowana","przechowywana","przechrzcona","przechwycona","przechwytywana","przechylana","przechylona","przechytrzana","przechytrzona","przeciągana","przeciągnięta","przeciążana","przeciążona","przeciekana","przecierana","przecierpiana","przecięta","przecinana","przeciskana","przeciśnięta","przeciwstawiana","przećwiczona","przeczekana","przeczesana","przeczesywana","przeczołgana","przeczuta","przeczuwana","przeczyszczona","przeczytana","przedarta","przedawkowana","przedawkowywana","przedekorowana","przedłożona","przedłużana","przedłużona","przedmuchana","przedobrzona","przedostana","przedostawana","przedsiewzięta","przedstawiana","przedstawiona","przedymana","przedyskutowana","przedzierana","przedziurawiona","przedziurkowana","przeegzaminowana","przefaksowana","przefarbowana","przefasonowana","przefasowana","przefaxowana","przefiltrowana","przeformowana","przeforsowana","przegadana","przeganana","przeganiana","przegapiana","przegapiona","przegięta","przeginana","przeglądana","przeglądnięta","przegłodzona","przegłosowana","przegoniona","przegotowana","przegotowywana","przegrabiona","przegradzana","przegrana","przegrupowana","przegrupowywana","przegrywana","przegryzana","przegryziona","przegrzana","przegrzebana","przegrzewana","przehandlowana","przeholowana","przeinstalowana","przeistoczona","przejadana","przejaskrawiana","przejaśniona","przejawiana","przejawiona","przejechana","przejęta","przejeżdżana","przejmowana","przejrzana","przekabacana","przekabacona","przekablowana","przekalibrowana","przekalkulowana","przekarmiana","przekąszona","przekazywana","przekierowana","przekierowywana","przekimana","przekładana","przeklejona","przeklęta","przeklinana","przeklnięta","przekłuta","przekonana","przekonfigurowana","przekonstruowana","przekonwertowana","przekonywana","przekopana","przekopywana","przekoziołkowana","przekraczana","przekręcana","przekręcona","przekreślana","przekreślona","przekroczona","przekrojona","przekrzyczona","przekrzywiona","przekształcana","przekształcona","przekupiona","przekupywana","przekuta","przekwalifikowana","przełączana","przełączona","przeładowana","przeładowywana","przełamana","przełamywana","przelana","przelatywana","przeleciana","przelewana","przeleżana","przelicytowana","przeliczana","przeliczona","przeliterowana","przełknięta","przełożona","przełykana","przełyknięta","przemalowana","przemalowywana","przemaszerowana","przemawiana","przemeblowana","przemęczona","przemielona","przemieniana","przemierzona","przemieszczana","przemieszczona","przemijana","przemilczana","przemilczona","przeminięta","przemknięta","przemodelowana","przemusztrowana","przemycana","przemycona","przemyślana","przemyślona","przemyta","przemywana","przenegocjowana","przeniesiona","przenikana","przeniknięta","przenoszona","przeobrażana","przeobrażona","przeoczana","przeoczona","przeorana","przeorganizowana","przeorientowana","przepadana","przepakowana","przepalona","przeparkowana","przepchana","przepchnięta","przepędzana","przepędzona","przepełniana","przepełniona","przepijana","przepiłowana","przepisana","przepisywana","przepita","przepłacana","przepłacona","przepłakana","przeplanowana","przepłoszona","przepłukana","przepłukiwana","przepłynięta","przepływana","przepompowana","przepompowywana","przepowiadana","przepowiedziana","przepracowana","przepracowywana","przeprana","przeprawiana","przeprawiona","przeprogramowana","przeprojektowana","przeprowadzana","przeprowadzona","przepuszczana","przepuszczona","przepychana","przepytana","przepytywana","przerąbana","przerabiana","przeradzana","przerastana","przerażona","przeredagowana","przerejestrowana","przerobiona","przerodzona","przerośnięta","przerwana","przerysowana","przerywana","przerzedzana","przerzucana","przerzucona","przesączona","przesadzana","przesądzana","przesadzona","przesądzona","prześcigana","prześcignięta","przesiadana","przesiadywana","przesiana","przesiedlana","przesiedlona","przesiedziana","przesiewana","przesilona","przeskakiwana","przeskalowana","przeskanowana","przeskoczona","przeskrobana","prześladowana","przesłaniana","przesłana","prześledziona","prześlizgnięta","przesłodzona","przesłonięta","przesłuchana","przesłuchiwana","przesmarowana","przesolona","przesortowana","przespana","prześpiewana","przessana","przestawiana","przestawiona","przestemplowana","przestraszona","przestrojona","przestrzegana","przestrzelona","przestudiowana","przesunięta","przesuwana","prześwietlana","prześwietlona","przesyłana","przesypana","przesypiana","przesypywana","przeszarżowana","przeszczepiana","przeszczepiona","przeszkadzana","przeszkolona","przeszmuglowana","przeszukana","przeszukiwana","przeszyta","przeszywana","przetaczana","przetańczona","przetapetowana","przetarta","przetestowana","przetkana","przetoczona","przetopiona","przetrącona","przetransformowana","przetransmitowana","przetransponowana","przetransportowana","przetrawiona","przetrwana","przetrząsana","przetrząśnięta","przetrzepana","przetrzymana","przetrzymywana","przetwarzana","przetworzona","przewalana","przewalczona","przewaletowana","przewalona","przeważana","przeważona","przewertowana","przewiązana","przewiązywana","przewidywana","przewidziana","przewiercana","przewiercona","przewieszana","przewieszona","przewietrzona","przewieziona","przewijana","przewinięta","przewitana","przewodniczona","przewodzona","przewożona","przewracana","przewrócona","przewyższana","przeymierzana","przeżarta","przeżeglowana","przeżegnana","przeziębiona","przezimowana","przeznaczana","przeznaczona","przeżuta","przezwyciężana","przezwyciężona","przeżyta","przezywana","przeżywana","przodowana","przpochlebiona","przwdziewana","przybastowana","przybierana","przybijana","przybita","przybliżana","przybliżona","przybrana","przycelowana","przycepiona","przychylona","przyciągana","przyciągnięta","przyciemniona","przycięta","przycinana","przyciskana","przyciśnięta","przyciszona","przyćmiewana","przyćmiona","przycumowana","przyczepiana","przyczesana","przyczołgana","przyczyniona","przydepnięta","przydeptana","przyduszona","przydzielana","przydzielona","przygarnięta","przygaszona","przygazowana","przygładzana","przygnębiana","przygniatana","przygnieciona","przygotowana","przygruchana","przygrywana","przygryzana","przygryziona","przygrzana","przygwożdżona","przyhamowana","przyholowana","przyjana","przyjęta","przyjmowana","przyjrzana","przykładana","przyklejona","przyklepana","przykopana","przykręcana","przykręcona","przykrócona","przykryta","przykrywana","przykurzona","przykuta","przykuwana","przyłączana","przyłączona","przylana","przyłapana","przylegana","przylepiana","przylepiona","przyłożona","przymierzona","przymilana","przymknięta","przymocowana","przymuszana","przynależona","przyniesiona","przynoszona","przynudzana","przyostrzona","przyozdabiana","przyozdobiona","przypadnięta","przypakowana","przypakowywana","przypalana","przypalona","przyparta","przypasowana","przypatrywana","przypatrzona","przypieczętowana","przypiekana","przypierana","przypięta","przypilnowana","przypiłowana","przypinana","przypisana","przypisywana","przypłacona","przyplątana","przypłynięta","przypodobana","przypominana","przypomniana","przyporządkowana","przyprawiana","przyprawiona","przyprowadzona","przypucowana","przypudrowana","przypuszczana","przypuszczona","przyrównana","przyrządzana","przyrządzona","przysiadana","przysiągnięta","przyskrzydlona","przyskrzyniana","przyskrzyniona","przysłaniana","przysłana","przysłodzona","przysłoniona","przysłuchiwana","przysługiwana","przysłużona","przysmażana","przysmażona","przyspieszana","przyspieszona","przysporzona","przysposobiona","przyśrubowywana","przyssana","przystąpiona","przystawiana","przystawiona","przystemplowana","przystopowana","przystosowana","przystrojona","przysunięta","przysuwana","przyswajana","przyświecana","przyświęcona","przyswojona","przysyłana","przysypana","przyszpilona","przyszykowana","przyszyta","przyszywana","przytaczana","przytargana","przytarta","przytaszczana","przytępiana","przytępiona","przytkana","przytłaczana","przytłoczona","przytłumiona","przytoczona","przytrafiona","przytroczona","przytruwana","przytrzasnięta","przytrzymana","przytrzymywana","przytulana","przytulona","przytwierdzana","przytwierdzona","przytykana","przyuczona","przyuważona","przywabiona","przywalana","przywalona","przywarowana","przywarta","przywdziana","przywiązana","przywiązywana","przywidziana","przywieziona","przywitana","przywłaszczana","przywłaszczona","przywołana","przywoływana","przywożona","przywracana","przywrócona","przyznaczona","przyznana","przyznawana","przyzwalana","przyzwana","przyzwyczajana","przyzwyczajona","przyzywana","psiamana","pstrykana","pstryknięta","psuta","publikowana","puchnięta","pucowana","pudłowana","pudrowana","puknięta","punktowana","pustoszona","puszczana","puszczona","puszkowana","puszona","pykana","pytana","rabowana","rachowana","racjonalizowana","racjonowana","raczona","radowana","raniona","raportowana","ratowana","ratyfikowana","reaktywowana","realizowana","reanimowana","recytowana","ręczona","redagowana","redukowana","reformowana","refowana","regenerowana","regionalizowana","regulowana","reinkarnowana","rejestrowana","reklamowana","rekomendowana","rekompensowana","rekonstruowana","rekreowana","rekrutowana","rekwirowana","relacjonowana","relaksowana","remodulowana","remontowana","renegocjowana","reorganizowana","reperowana","replikowana","represejonowana","reprezentowana","reprodukowana","resetowana","resocjalizowana","respektowana","resuscytowana","retuszowana","rewanżowana","rewidowana","rezerwowana","rezonowana","rezygnowana","reżyserowana","robiona","rodzona","rojona","rolowana","romansowana","roniona","rozbawiana","rozbawiona","rozbierana","rozbijana","rozbita","rozbłyśnięta","rozbrajana","rozbrojona","rozbudowana","rozbudowywana","rozbudzana","rozbudzona","rozbujana","rozcapierzona","rozchmurzona","rozchodzona","rozchylana","rozchylona","rozciągana","rozciągnięta","rozcieńczana","rozcieńczona","rozcierana","rozcięta","rozcinana","rozczarowana","rozczarowywana","rozczesana","rozczłonkowana","rozczulana","rozczytana","rozdana","rozdawana","rozdeptana","rozdmuchana","rozdmuchiwana","rozdrabniana","rozdrapana","rozdrapywana","rozdrażniana","rozdrażniona","rozduszona","rozdwojona","rozdysponowana","rozdzielana","rozdzielona","rozdzierana","rozdziewiczona","rozebrana","rozedrana","rozegrana","rozegrywana","rozepchana","rozerwana","rozesłana","rozgarnięta","rozgaszczana","rozgięta","rozglaszana","rozgłoszona","rozgniatana","rozgnieciona","rozgniewana","rozgoniona","rozgraniczona","rozgrana","rozgromiona","rozgrywana","rozgryzana","rozgryziona","rozgrzana","rozgrzebywana","rozgrzeszona","rozgrzewana","rozhuśtana","rozjaśniana","rozjaśniona","rozjechana","rozjedzona","rozjuszana","rozjuszona","rozkazana","rozkazywana","rozkładana","rozklejana","rozklejona","rozkołysana","rozkopana","rozkopywana","rozkoszowana","rozkręcana","rozkręcona","rozkrojona","rozkruszona","rozkuta","rozkuwana","rozkwaszona","rozkwaterowana","rozkwitana","rozkwitnięta","rozłączona","rozładowana","rozładowywana","rozłamana","rozlana","rozlewana","rozliczana","rozliczona","rozlokowana","rozłożona","rozłupana","rozluźniana","rozmanażana","rozmasowana","rozmawiana","rozmazana","rozmazywana","rozmiękczona","rozmieniana","rozmieniona","rozmieszczana","rozmieszczona","rozminięta","rozmnożona","rozmontowana","rozmówiona","rozmrażana","rozmrożona","rozmyślana","rozmyta","różnicowana","rozniecana","roznieciona","rozniesiona","różniona","roznoszona","rozochocona","rozpaczana","rozpakowana","rozpakowywana","rozpalana","rozpalona","rozpamiętywana","rozpaskudzana","rozpatrywana","rozpatrzona","rozpędzana","rozpędzona","rozpętana","rozpieszczana","rozpieszczona","rozpięta","rozpiłowana","rozpinana","rozpisana","rozpisywana","rozplanowana","rozpłaszczana","rozpłaszczona","rozplątana","rozplątywana","rozpłynięta","rozpoczęta","rozpoczynana","rozpogodzona","rozporządzana","rozporządzona","rozpościerana","rozpostrzona","rozpowiadana","rozpowiedziana","rozpowszechniana","rozpowszechniona","rozpoznana","rozpoznawana","rozpracowana","rozpraszana","rozprawiana","rozprawiczona","rozprawiona","rozprostowana","rozproszona","rozprowadzana","rozprowadzona","rozpruta","rozpruwana","rozprzestrzeniana","rozprzestrzeniona","rozpuszczana","rozpuszczona","rozpychana","rozpylana","rozpylona","rozpytana","rozpytywana","rozrastana","rozreklamowana","rozrobiona","rozrośnięta","rozróżniana","rozróżniona","rozruszana","rozrysowana","rozrywana","rozrzucana","rozsadzana","rozsadzona","rozsądzona","rozścielona","rozsiana","rozsiekana","rozsiewana","rozsiodłana","rozsławiana","rozsławiona","rozsmarowana","rozsmarowywana","rozśmieszana","rozstana","rozstąpiona","rozstawana","rozstawiana","rozstawiona","rozstrojona","rozstrząsana","rozstrzeliwana","rozstrzelona","rozstrzygana","rozstrzygnięta","rozsunięta","rozsupłana","rozświetlana","rozświetlona","rozsyłana","rozsypana","rozsypywana","rozszarpana","rozszarpywana","rozszczepiana","rozszczepiona","rozszerzana","rozszerzona","rozszyfrowana","roztaczana","roztapiana","roztarta","roztoczona","roztopiona","roztrwoniona","roztrząsana","roztrzaskana","rozumiana","rozumowana","rozwalana","rozwalona","rozwarta","rozważana","rozważona","rozweselana","rozweselona","rozwiana","rozwiązana","rozwiązywana","rozwidniana","rozwiedziona","rozwierana","rozwiercona","rozwieszana","rozwieszona","rozwiewana","rozwieziona","rozwikłana","rozwinięta","rozwlekana","rozwodzona","rozwścieczana","rozwścieczona","rozzłoszczona","rugana","ruinowana","rujnowana","runięta","ruszana","ruszona","rwana","ryczana","ryglowana","rymowana","rysowana","ryta","ryzykowana","rządzona","rzeźbiona","rżnięta","rzucana","rzucona","rzygana","sabotażowana","sączona","sadzana","sadzona","sądzona","salutowana","salwowana","sankcjonowana","satysfakcjonowana","scalona","scementowana","scentrowana","scharakteryzowana","schładzana","schlana","schlapana","schlebiona","schłodzona","schowana","schroniona","schrupana","schrzaniona","schwytana","schylana","ściągnięta","ścielona","ściemniana","ściemniona","ścierana","ścierpiona","ścięta","ścigana","ścinana","ściskana","ściśnięta","ściszana","ściszona","sędziowana","segregowana","selekcjonowana","separowana","sępiona","serwowana","sfabrykowana","sfajczona","sfałszowana","sfaulowana","sfilmowana","sfinalizowana","sfinansowana","sfingowana","sformalizowana","sformatowana","sformowana","sformułowana","sforsowana","sfotografowana","shimmerowana","siana","siekana","siorbana","skadrowana","skakana","skalana","skaleczona","skalibrowana","skalkulowana","skalpowana","skanalizowana","skandowana","skanowana","skapitulowana","skarcona","skarżona","skasowana","skatalogowana","skazana","skażona","skazywana","skierowana","składana","składowana","skłaniana","sklasyfikowana","skleciona","sklejana","sklejona","sklepana","skłócona","skłoniona","sklonowana","sknocona","skojarzona","skolonizowana","skołowana","skombinowana","skomentowana","skompensowana","skompletowana","skomplikowana","skomponowana","skompresowana","skompromitowana","skomunikowana","skonana","skoncentrowana","skończona","skondensowana","skonfigurowana","skonfiskowana","skonfrontowana","skonkretyzowana","skonsolidowana","skonstruowana","skonsultowana","skonsumowana","skontaktowana","skontrolowana","skoordynowana","skopana","skopiowana","skorektowana","skorumpowana","skorygowana","skorzystana","skoszona","skracana","skradziona","skręcana","skręcona","skremowana","skreślana","skreślona","skrobana","skrobnięta","skrócona","skrojona","skropiona","skruszona","skrystalizowana","skryta","skrytykowana","skrywana","skrzecowana","skrzepnięta","skrzyczana","skrzyta","skrzywdzona","skrzyżowana","skserowana","skubana","skubnięta","skulona","skumulowana","skupiana","skupiona","skupowana","skurczona","skuszona","skuta","skuwana","skwitowana","słana","sławiona","śledzona","śliniona","ślizgana","słodzona","słuchana","słyszana","smagana","smarowana","smażona","śmiecona","smuta","smyrana","snuta","sondowana","sortowana","spafycikowana","spakowana","spalana","spałaszowana","spalona","spałowana","spamiętana","spaprana","sparafrazowana","sparaliżowana","sparowana","spartaczona","spartolona","sparzona","spasowana","spatałaszona","spauzowana","spawana","spawiona","specjalizowana","spędzana","spędzona","spekulowana","spełniana","spełniona","spenetrowana","spętana","spierana","spięta","śpiewana","spiłowana","spinana","spisana","spiskowana","spisywana","spita","spłacana","spłacona","splądrowana","splajtowana","splamiona","spłaszczona","splatana","splątana","spłatana","spławiana","spławiona","spłodzona","spłonięta","spłoszona","spłukana","spłukiwana","spluwana","spływana","spoczęta","spoczywana","spodziewana","spojona","spolaryzowana","spoliczkowana","sponiewierana","sponsorowana","spopielana","spopielona","spopularyzowana","sportretowana","sporządzana","sporządzona","spostrzegana","spotęgowana","spotkana","spotykana","spoufalana","spowalniana","spowiadana","spowodowana","spowolniona","spoźniona","spóźniona","spożytkowana","spożyta","spożywana","sprana","sprasowana","spraszana","sprawdzona","sprawiona","sprawowana","sprecyzowana","spreparowana","sprężana","sprężona","spróbowana","sprofanowana","sprofilowana","sprostowana","sproszkowana","sproszona","sprowadzana","sprowadzona","sprowokowana","spryskana","spryskiwana","sprywatyzowana","sprzątana","sprzątnięta","sprzeczana","sprzedana","sprzedawana","sprzeniewierzona","spudłowana","spustoszona","spuszczana","spuszczona","spychana","ssana","stabilizowana","stacjonowana","staczana","staranowana","starczana","stargowana","startowana","stawiana","stawiona","stemplowana","stenografowana","stepowana","sterowana","sterroryzowana","sterylizowana","stłamszona","stłumiona","stnięta","stoczona","stołowana","stonowana","stopiona","stopniowana","storpedowana","stosowana","strącana","stracona","strącona","strajkowana","straszona","stratowana","strawiona","streamowana","stresowana","streszczana","streszczona","strofowana","strojona","stroszona","strugana","struta","strymowana","strząsana","strzaskana","strząśnięta","strzelona","strzepana","strzępiona","strzepnięta","strzepywana","studiowana","studzona","stukana","stuknięta","stulona","stwardniona","stwarzana","stwierdzana","stwierdzona","stworzona","stykana","stylizowana","stymulowana","sugerowana","sumowana","sunięta","swatana","swawolona","świadczona","świecona","święcona","świerzbiona","świętowana","świntuszona","sycona","sygnalizowana","symulowana","synchronizowana","sypana","sypnięta","szachrowana","szacowana","szafowana","szamotana","szanowana","szargana","szarpana","szarpnięta","szarżowana","szasowana","szastana","szatkowana","szczędzona","szczepiona","szczerzona","szczuta","szczycona","szczypana","szczytowana","szefowana","szemrana","szepnięta","szeptana","szerzona","szkalowana","szkicowana","szklona","szkodzona","szkolona","szlachtowana","szlifowana","szmuglowana","szokowana","szorowana","szpachlowana","szpanowana","szperana","szprycowana","sztachnięta","szturchana","szturchnięta","szturmowana","szufladkowana","szuflowana","szukana","szulerowana","szwankowana","szydełkowana","szydzona","szyfrowana","szykanowana","szykowana","szyta","taktowana","tamowana","tankowana","tapetowana","taplana","taranowana","targana","targnięta","targowana","tarmoszona","tarta","tarzana","tasowana","taszczona","tatuowana","tchnięta","telefonowana","telegrfowana","teleportowana","temperowana","teoretyzowana","tępiona","terroryzowana","testowana","tkana","tknięta","tłamszona","tłoczona","tłumaczona","tłumiona","toczona","tolerowana","tonowana","topiona","torowana","torturowana","towarzyszona","trąbiona","trącana","tracona","trącona","trafiana","trafiona","tragizowana","traktowana","transferowana","transformowana","transmitowana","transportowana","tratowana","trawiona","trenowana","tresowana","triumfowana","tropiona","troszczona","truta","trwoniona","trymowana","tryskana","tryśnięta","tryumfowana","trywializowana","trzaskana","trzasnięta","trzepana","trzepnięta","trzepotana","trzęsiona","trzymana","tuczona","tułana","tulona","turlana","tuszowana","twistowana","tworzona","tykana","tyranizowana","tyrana","tytułowana","uaktualniana","uaktualniona","uaktywniana","uaktywniona","uargumentowana","uatrakcyjniona","ubabrana","ubarwiana","ubarwiona","ubawiona","ubezpieczana","ubezpieczona","ubezwłasnowolniona","ubiczowana","ubiegana","ubierana","ubijana","ubita","ubłagana","ubliżana","ubliżona","ubolewana","ubóstwiana","ubrana","ubroczona","ubrudzona","ucałowana","ucharakteryzowana","uchowana","uchroniona","uchwalana","uchwalona","uchwycona","uchylana","uchylona","uciągnięta","ucieleśniana","ucierana","ucierpiana","ucięta","ucinana","uciskana","uciśnięta","uciszana","uciszona","uciułana","ucywilizowana","uczczona","uczepiona","uczesana","uczęszczana","uczona","ucztowana","uczuta","uczyniona","udana","udaremniona","udawana","udekorowana","udeptywana","uderzana","uderzona","udobruchana","udokumentowana","udomawiana","udomowiona","udoskonalana","udoskonalona","udostępniana","udostępniona","udowadniana","udowodniona","Udramatyzowana","udręczona","udrożniona","udupiona","uduszona","udzielana","udzielona","udźwignięta","ueiwarygodniona","ufana","ufarbowana","uformowana","ufortyfikowana","ufundowana","ugadana","uganiana","ugaszana","ugaszona","ugięta","uginana","ugłaskana","ugniatana","ugodzona","ugoszczona","ugotowana","ugrana","ugruntowana","ugryziona","ugrzęznięta","uhistoryzowana","uhonorowana","uiścita","ujadana","ujarzmiana","ujarzmiona","ujawniana","ujawniona","ujęta","ujeżdżana","ujeżdżona","ujmowana","ujrzana","ukamieniowana","ukarana","ukartowana","ukąszona","ukatrupiona","ukazana","ukazywana","ukierowana","ukierunkowana","układana","uklepana","ukłoniona","ukłuta","uknuta","ukojona","ukołysana","ukończona","ukonkretniona","ukoronowana","ukradziona","ukręcana","ukręcona","ukrojona","ukryta","ukrywana","ukrzyżowana","ukształtowana","ukuta","ułagodzona","ułaskawiana","ułaskawiona","ulatniana","ułatwiana","ułatwiona","uleczana","uleczona","ulegana","ulepiona","ulepszana","ulepszona","ulokowana","ulotniona","ułożona","umacniana","umalowana","umartwiana","umawiana","umazana","umeblowana","umiejscowiona","umieszczana","umieszczona","umilana","umilona","umknięta","umniejszana","umniejszona","umocniona","umocowana","umoczona","umodelowana","umorzona","umotywowana","umówiona","umożliwiana","umożliwiona","umroczniona","umyta","unaoczniona","unicestwiana","unicestwiona","uniemożliwaina","uniemożliwiona","unierochomiona","uniesiona","unieszczęśliwiana","unieszczęśliwiona","unieszkodliwiana","unieszkodliwiona","unieważniana","unieważniona","uniewinniona","uniezależniona","unikana","uniknięta","unormowana","unoszona","unowoczesniana","unowocześniana","uodporniona","uogólniana","upakowana","upalana","upalona","upamiętniana","upamiętniona","upaństwowiona","upaprana","uparta","upaskudzona","upchana","upchnięta","upewniana","upewniona","upgradowana","upichcona","upiększana","upiększona","upierana","upierdolona","upięta","upijana","upilnowana","upinana","upita","uplastyczniona","upłynięta","upodabniana","upodobniona","upojona","upokorzana","upokorzona","upolowana","upominana","uporządkowana","upowszechniona","upozorowana","upozowana","uprana","uprasowana","upraszczana","uprawdopodobniona","uprawiana","uproszczona","uproszona","uprowadzana","uprowadzona","uprzątana","uprzątnięta","uprzedona","uprzedzana","uprzyjemniana","uprzyjemniona","uprzykrzana","uprzytomniona","upubliczniana","upubliczniona","upudrowana","upuszczana","upuszczona","upychana","urabiana","uraczana","uradowana","Urągana","uratowana","urażana","urażona","uregulowana","urobiona","uroniona","urośnięta","urozmaicana","urozmaicona","uruchamiana","uruchomiona","urwana","urywana","urządzana","urządzona","urzeczywistniana","urzeczywistniona","urżnięta","usadowiona","usadzona","usamowolniona","usankcjonowana","usatyfakcjonowana","uschnięta","uściskana","uścislona","uściśnięta","usidlona","usiedzona","uskładana","uskoczona","uskuteczniana","uskuteczniona","usłuchana","usługiwana","usłużona","usłyszana","usmażona","uśmiana","uśmiercana","uśmiercona","uśmierzona","uspana","uśpiona","uspokajana","uspokojona","uspołeczniana","usprawiedliwiana","usprawiedliwiona","usprawniona","usprzątana","ustabilizowana","ustalana","ustalona","ustanawiana","ustanowiona","ustąpiona","ustatkowana","ustawiana","ustawiona","ustępowana","ustosunkowana","ustrojona","ustrzegana","ustrzelona","usunięta","ususzona","usuwana","uświadamiana","uświadczona","uświadomiona","uświęcona","uświniona","usychana","usypana","usypiana","usystematyzowana","usytuowana","uszanowana","uszczelniana","uszczęśliwiana","uszczęśliwiona","uszczuplona","uszczypnięta","uszkadzana","uszkodzona","uszlachetniana","uszlachetniona","usztywniona","uszykowana","uszyta","utajniona","utargowana","utarta","utemperowana","utkana","utknięta","utkwiona","utoczona","utopiona","utorowana","utożsamiana","utożsamiona","utracona","utrącona","utrudniana","utrudniona","utrwalana","utrwalona","utrzymywana","utuczona","utulona","utwierdzana","utwierdzona","utworzona","utylizowana","uwalniana","uwalona","uwarunkowana","uważana","uwiązana","uwiązywana","uwidoczniona","uwieczniana","uwieczniona","uwielbiana","uwielbiona","uwieńczona","uwierana","uwierzona","uwieszona","uwieziona","uwięziona","uwijana","uwikłana","uwinięta","uwita","uwłaczana","uwłaszczona","uwodzona","uwolniona","uwsteczniana","uwsteczniona","uwydatniana","uwypiklona","uwzględniana","uwzględniona","użądlona","uzależniana","uzależniona","uzasadniana","uzasadniona","uzbierana","uzbrajana","uzbrojona","uzdrawiana","uzdrowiona","użerana","uzewnętrzniana","uzewnętrzniona","uzgadniana","uzgodniona","uziemiona","uzmysłowiona","uznana","uznawana","uzupełniana","uzupełniona","uzurpowana","użyczana","użyczona","uzyskana","uzyskiwana","użyta","używana","wabiona","wąchana","wachlowana","wahana","walczona","wałkowana","walnięta","walona","ważona","wbijana","wbita","wcelowana","wchłonięta","wciągana","wciągnięta","wcielana","wcielona","wcierana","wcięta","wcinana","wciskana","wciśnięta","wczepiona","wczołgana","wczuta","wczytana","wczytywana","wdana","wdarta","wdawana","wdepnięta","wdeptana","wdetonowana","wdmuchiwana","wdrapana","wdrapywana","wdrażana","wdrążona","wdrożona","wduszona","wdychana","wdzierana","wędkowana","wentylowana","wepchana","wepchnięta","werbowana","weryfikowana","wessana","wetkana","wetknięta","wezwana","wgłębiana","wgniatana","wgnieciona","wgrana","wgryzana","wgryziona","wiązana","wibrowana","widywana","widziana","wiedzona","wielbiona","wiercona","wierzgana","wierzona","wieszana","wietrzona","więżona","wikłana","windowana","winszowana","wiosłowana","wirowana","witana","wita","wizualizowana","wjeżdżana","wkalkulowana","wkładana","wklejana","wklejona","wklepana","wkłuta","wkomponowana","wkopana","wkopywana","wkraczana","wkradana","wkradziona","wkręcana","wkręcona","wkupiona","wkurwiana","wkuta","wkuwana","włączana","włączona","władana","władowana","włamana","włamywana","wlana","wlepiana","wlepiona","wlewana","wliczana","wliczona","włożona","wmanewrowana","wmanipulowana","wmawiana","wmieszana","wmówiona","wmurowana","wmuszona","wnerwiana","wnerwiona","wniesiona","wnikana","wniknięta","wnioskowana","wnoszona","wodowana","wojowana","wołana","woskowana","wożona","wpajana","wpakowana","wparowana","wpasowana","wpatrywana","wpędzana","wpędzona","wperswadowana","wpieniona","wpięta","wpisana","wpisywana","wpłacana","wpłacona","wplatana","wplątana","wplątywana","wpojona","wpompowana","wpraszana","wprawiana","wproszona","wprowadzana","wprowadzona","wpuszczona","wpychana","wrabiana","wręczana","wrobiona","wróżona","wryta","wrzucana","wrzucona","wrzynana","wsadzana","wsadzona","wskazana","wskazywana","wskórana","wskrzeszana","wskrzeszona","wślizgiwana","wślizgnięta","wsłuchana","wsparta","wspierana","wspięta","współczuta","współodczuwana","współtworzona","współżyta","wspomagana","wspominana","wspomniana","wstąpiona","wstawiana","wstawiona","wstrząsana","wstrząśnięta","wstrzelona","wstrzykiwana","wstrzyknięta","wstrzymana","wstrzymywana","wstukana","wsunięta","wsuwana","wsypana","wszamana","wszczepiana","wszczepiona","wszczęta","wszczynana","wszyta","wtajemniczana","wtajemniczona","wtapiana","wtargnięta","wtarta","wtaszczona","wtłoczona","wtopiona","wtrącona","wtryniana","wtulana","wtulona","wtykana","wwalona","wwiercana","wwiercona","wwieziona","wwożona","wyartykułowana","wyautowana","wybaczana","wybaczona","wybadana","wybatożona","wybawiona","wybebeszona","wybełkotana","wybiczowana","wybielana","wybielona","wybierana","wybijana","wybita","wybłagana","wyblaknięta","wybrandzlowana","wybrana","wybroniona","wybrzydzana","wybuchana","wybuchnięta","wybudowana","wybudzana","wybudzona","wyburzana","wyburzona","wycackana","wycałowana","wyceniana","wyceniona","wychlana","wychłostana","wychodowana","wychowana","wychowywana","wychrobotana","wychwalana","wychwycona","wychylana","wychylona","wyciągana","wyciągnięta","wyciekana","wycieniowana","wycierana","wycięta","wycinana","wyciskana","wyciśnięta","wyciszana","wyciszona","wycofana","wyćwiczona","wycyckana","wycyganiona","wyczarowana","wyczarterowana","wyczekana","wyczekiwana","wyczerpana","wyczesana","wyczołgana","wyczołgiwana","wyczuta","wyczuwana","wyczyniana","wyczyszczona","wyczytana","wyczytywana","wydalana","wydalona","wydana","wydębiona","wydedukowana","wydelegowana","wydepilowana","wydeptywana","wydłubana","wydłubywana","wydłużana","wydłużona","wydmuchana","wydmuchiwana","wydobyta","wydobywana","wydojona","wydoroślana","wydostana","wydrana","wydrapana","wydrapywana","wydrążona","wydrukowana","wydukana","wyduszona","wydychana","wydziedziczona","wydzielana","wydzielona","wydzierana","wydzierżawiona","wydziobana","wydziwiana","wydzwaniana","wyedukowana","wyedytowana","wyeeliminowana","wyegzekwowana","wyeksmitowana","wyekspediowana","wyeksploatowana","wyeksponowana","wyeksportowana","wyeliminowana","wyemigrowana","wyemitowana","wyewoluowana","wyfrunięta","wygadana","wygadywana","wyganiana","wygarbowana","wygarniana","wygarnięta","wygasana","wygaśnięta","wygaszana","wygaszona","wygenerowana","wygięta","wyginana","wygładzana","wygładzona","wygłaszana","wygłodzona","wygłosowana","wygłoszona","wygłówkowana","wygnana","wygolona","wygoniona","wygooglowana","wygospodarowana","wygotowana","wygrana","wygrawerowana","wygrażana","wygrywana","wygryziona","wygrzana","wygrzebana","wygrzebywana","wygrzewana","wygubiona","wyhaczona","wyhaftowana","wyhamowana","wyhodowana","wyizolowana","wyjadana","wyjaśniana","wyjaśniona","wyjawiana","wyjawiona","wyjedzona","wyjęta","wyjmowana","wykadrowana","wykalibrowana","wykalkulowana","wykańczana","wykantowana","wykąpana","wykaraskana","wykarczowana","wykarmiana","wykasowana","wykastrowana","wykazana","wykazywana","wykierowana","wykitowana","wykiwana","wykładana","wyklarowana","wyklepana","wyklinana","wykłócana","wykluczana","wykluczona","wykluta","wykłuta","wykminiona","wykolejona","wykołowana","wykombinowana","wykonana","wykończona","wykonywana","wykopana","wykopnięta","wykopywana","wykorkowana","wykorzeniana","wykorzeniona","wykorzystana","wykorzystywana","wykoszona","wykpita","wykradana","wykradnięta","wykręcana","wykręcona","wykreowana","wykreślana","wykreślona","wykrochmalona","wykrojona","wykrwawiana","wykrwawiona","wykryta","wykrywana","wykrzesana","wykrztuszona","wykrzyczona","wykrzykiwana","wykrzyknięta","wykrzywiana","wykształcona","wyksztuszona","wykupiona","wykupywana","wykuta","wykuwana","wyłączana","wyłączona","wylądowana","wyładowana","wyładowywana","wyłajana","wyłamana","wyłamywana","wyłaniana","wylansowana","wylana","wyłapana","wyłapywana","wyławiana","wyleasingowana","wyleczona","wylęgana","wylegimytowana","wylewana","wyłgana","wylicytowana","wyliczana","wyliczona","wylizana","wylizywana","wylogowana","wyłoniona","wylosowana","wyłowiona","wyłożona","wyłudzana","wyłudzona","wyłupana","wyłuskana","wyłuskiwana","wyłuszczona","wyluzowana","wymacana","wymachiwana","wymagana","wymahiwana","wymalowana","wymamrotana","wymanewrowana","wymarzona","wymasowana","wymawiana","wymazana","wymazywana","wymeldowana","wymeldowywana","wymiatana","wymieciona","wymieniana","wymieniona","wymierzana","wymieszana","wymigana","wymigiwana","wymijana","wyminięta","wymknięta","wymoczona","wymodelowana","wymontowana","wymordowana","wymsknięta","wymuszana","wymyślana","wymyślona","wymyta","wynagradzana","wynagrodzona","wynajdowana","wynajdywana","wynajęta","wynajmowana","wynaleziona","wynarodowiona","wynegocjowana","wyniesiona","wyniknięta","wyniszczana","wyniszczona","wyniuchana","wynoszona","wynurzana","wyobrażana","wyobrażona","wyodrębniona","wyolbrzymiana","wyolbrzymiona","wyorbowana","wyosiowana","wyostrzana","wyostrzona","wypaczana","wypakowana","wypakowywana","wypalana","wypalona","wypałowana","wyparowana","wyparta","wypasana","wypastowana","wypatroszona","wypatrywana","wypatrzona","wypchana","wypchnięta","wypędzana","wypędzlowana","wypełniana","wypełniona","wypersfadowana","wyperswadowana","wypierana","wypięta","wypijana","wypinana","wypisana","wypisywana","wypita","wypłacana","wypłacona","wypłakana","wypłakiwana","wypłaszczona","wyplatana","wyplątana","wypleniona","wyplewiona","wypłoszona","wypłukana","wypłukiwana","wypluta","wypluwana","wypocona","wypoczęta","wypolerowana","wypominana","wypomniana","wypompowana","wypompowywana","wyposażona","wypowiadana","wypowiedziana","wypoziomowana","wypożyczana","wypracowana","wypracowywana","wyprana","wyprasowana","wypraszana","wyprawiana","wyprawiona","wypróbowana","wyprodukowana","wyprojektowana","wypromieniowana","wypromowana","wyprostowana","wyprostowywana","wyproszona","wyprowadzana","wyprowadzona","wypróżniana","wypróżniona","wypruta","wypruwana","wyprzedana","wyprzedawana","wyprzedzana","wyprzedzona","wyprzęgana","wypstrykana","wypucowana","wypuszczana","wypuszczona","wypychana","wypytana","wypytywana","wyrąbana","wyrabiana","wyrąbywana","wyratowana","wyrażana","wyrażona","wyrecytowana","wyręczana","wyręczona","wyregulowana","wyrejestrowana","wyremontowana","wyreżyserowana","wyrobiona","wyrolowana","wyrośnięta","wyrównana","wyrównywana","wyróżniana","wyróżniona","wyrugowana","wyruszana","wyrwana","wyrypana","wyrysowana","wyryta","wyrywana","wyrządzona","wyrzeźbiona","wyrżnięta","wyrzucana","wyrzucona","wyrzygana","wyrzynana","wyrzywana","wysączona","wysadzana","wysadzona","wyschnięta","wyściskana","wyselekcjonowana","wysępiona","wysiadywana","wysiedzona","wysilana","wysilona","wyskakiwana","wyskalowana","wyskoczona","wyskrobana","wyskubywana","wysłana","wyśledzona","wyślizgiwana","wyślizgnięta","wysłowiona","wysłuchana","wysłuchiwana","wysmagana","wysmarkana","wysmarowana","wysmażana","wysmażona","wyśmiana","wyśmiewana","wysmołowana","wysmyrana","wyśniona","wysnuta","wysnuwana","wysondowana","wyspecjalizowana","wyśpiewana","wyśpiewywana","wyspowiadana","wysprzątana","wysprzedana","wyssana","wystartowana","wystawiona","wysterelizowana","wysterylizowana","wystosowana","wystosowywana","wystraszona","wystrojona","wystrugana","wystrychnięta","wystrzegana","wystrzelana","wystrzeliwana","wystrzelona","wystudzona","wystukana","wystukiwana","wystygnięta","wysunięta","wysuszana","wysuwana","wyswatana","wyświadczana","wyświadczona","wyświetlana","wyświetlona","wyswobodzona","wysyłana","wysypana","wysypywana","wysysana","wyszabrowana","wyszalana","wyszarpana","wyszarpnięta","wyszasowana","wyszczotkowana","wyszczuplona","wyszeptana","wyszkolona","wyszlifowana","wyszorowana","wyszperana","wyszukana","wyszukiwana","wyszumiona","wyszykowana","wyszyta","wytapetowana","wytargana","wytargowana","wytarta","wytarzana","wytaszczona","wytatuowana","wytchnięta","wytępiona","wytknięta","wytłoczona","wytłumaczona","wytłumiona","wytoczona","wytrąbiona","wytrącana","wytrącona","wytransmitowana","wytransportowana","wytrenowana","wytresowana","wytriangulowana","wytropiona","wytruta","wytrząsana","wytrzasnięta","wytrząśnięta","wytrzebiona","wytrzepana","wytrzeszczana","wytrzeźwiana","wytrzymana","wytrzymywana","wytwarzana","wytworzona","wytyczona","wytykana","wytypowana","wyuczona","wywabiana","wywabiona","wywąchana","wywalana","wywalczona","wywalona","wywarta","wywarzana","wyważana","wyważona","wywęszana","wywężykowana","wywiana","wywiązana","wywiązywana","wywierana","wywiercona","wywieszana","wywieszona","wywietrzona","wywieziona","wywijana","wywindowana","wywinięta","wywłaszczona","wywlekana","wywnętrzniona","wywnioskowana","wywodzona","wywolana","wywoływana","wywoskowana","wywożona","wywracana","wywrócona","wywróżona","wywyższana","wyżalona","wyzbyta","wyzdrowiona","wyżebrana","wyżerana","wyzerowana","wyzionięta","wyznaczana","wyznaczona","wyznana","wyznawana","wyzwalana","wyzwana","wyzwolona","wyzygzakowana","wyżynana","wyzyskana","wyzyskiwana","wyżyta","wyzywana","wyżywana","wyżywiona","wzbijana","wzbita","wzbogacana","wzbogacona","wzbraniana","wzbudzana","wzbudzona","wzburzana","wzburzona","wżeniona","wzięta","wzmacniona","wzmagana","wzmocniona","wznawiana","wzniecana","wznieciona","wzniesięta","wznoszona","wznowiona","wzorowana","wzrośnięta","wzruszona","wzwyżana","wzywana","zaabordowana","zaadaptowana","zaadoptowana","zaadresowana","zaakcentowana","zaakceptowana","zaaklimatyzowana","zaalarmowana","zaanektowana","zaangażowana","zaanonsowana","zaapelowana","zaaplikowana","zaaportowana","zaaprobowana","zaaranżowana","zaaresztowana","zaatakowana","zabaczona","zabalowana","zabandażowana","zabarwiona","zabarykadowana","zabawiana","zabawiona","zabepieczana","zabetonowana","zabezpieczona","zabierana","zabita","zabłądzona","zablefowana","zabłocona","zablokowana","zabraniana","zabrana","zabrnięta","zabroniona","zabrudzona","zabudowana","zabukowana","zabulona","zaburzona","zabutelkowana","zacementowana","zacerowana","zachciana","zachęcana","zachęcona","zachlapana","zachodzona","zachomikowana","zachorowana","zachowana","zachowywana","zachwalana","zachwalona","zachwiana","zachwycona","zaciągana","zaciągnięta","zaciążona","zaciekawiona","zaciemniana","zaciemniona","zacierana","zacieśniona","zacięta","zacinana","zaciskana","zaciśnięta","zaćmiona","zacumowana","zacytowana","zaczadzona","zaczarowana","Zaczepiana","zaczepiona","zaczerpana","zaczesana","zaczęta","zaczołgana","zaczynana","zadarta","zadawalana","zadawana","zadbana","zadebiutowana","zadedykowana","zadeklamowana","zadeklarowana","zademonstrowana","zadenucjowana","zadepeszowana","zadeptana","zadeptywana","zadęta","zadławiona","żądlona","zadłużana","zadłużona","zadokowana","zadomowiona","zadowalana","zadrapana","zadraśnięta","zadręczana","zadręczona","zadrutowana","zadurzana","zadurzona","zaduszona","zadymiona","zadźgana","zadziobana","zadziwiana","zadziwiona","zafakturowana","zafałszowana","zafarbowana","zafiksowana","zafundowana","zagadana","zagadnięta","zagadywana","zagajona","zaganiana","zagapiona","zagarażowana","zagarniana","zagarnięta","zagaszona","zagazowana","zagęszczona","zagięta","zaginana","zaginięta","zagłębiana","zagłębiona","zagłodzona","zagłuszana","zagłuszona","zagmatwana","zagnana","zagnieżdżona","zagojona","zagoniona","zagospodarowana","zagotowana","zagrabiona","zagradzana","zagrażana","zagrodzona","zagrywana","zagryzana","zagryziona","zagrzana","zagrzebana","zagrzewana","zagubiona","zagwarantowana","zahaczona","zahamowana","zahandlowana","zaharowana","zahartowana","zahipnotyzowana","zaholowana","zaimitowana","zaimplantowana","zaimplementowana","zaimprowizowana","zainaugurowana","zainfekowana","zainicjowana","zainkasowana","zainscenizowana","zainspirowana","zainstalowana","zainteresowana","zaintrygowana","zaintubowana","zainwestowana","zaizolowana","zajadana","zajana","zajarana","zajechana","zajęta","zajmowana","zakablowana","zakamuflowana","zakasana","zakasowana","zakąszana","zakatalogowana","zakatowana","zakatrupiona","zakazana","zakażana","zakazywana","zakiszona","zakładana","zaklasyfikowana","zaklejana","zaklejona","zaklepana","zaklepywana","zaklinana","zaklinowana","zakłócana","zakłócona","zaklopotana","zakłuta","zakneblowana","zakodowana","zakolczykowana","zakolorowana","zakołysana","zakomunikowana","zakończona","zakonserwowana","zakopana","zakopywana","zakorzeniana","zakorzeniona","zakoszona","zakosztowana","zakotwiczana","zakotwiczona","zakpiona","zakradana","zakręcana","zakręcona","zakreślana","zakreślona","zakrwawiona","zakryta","zakrywana","zakrzyczana","zakrzyknięta","zakrzywiana","zakrzywiona","zaksięgowana","zaktualizowana","zaktywizowana","zaktywowana","zakumana","zakupiona","zakurzona","zakuta","zakuwana","zakwaterowana","zakwestionowaa","zakwitnięta","załączona","załadowana","załagodzona","zalamana","zalaminowana","załamywana","zalana","załapana","załatana","załatwiana","załatwiona","zalatywana","zalecana","zalecona","zaleczona","zalegalizowana","zalegana","zalepiana","zalepiona","zalewana","zaliczana","zaliczona","załkana","zalogowana","żałowana","założona","zaludniona","zamacana","zamachnięta","zamącona","zamalowana","zamanewrowana","zamanifestowana","zamarkowana","zamartwiana","zamarynowana","zamarzana","zamarznięta","zamaskowana","zamawiana","zamazana","zamazywana","zamęczana","zamęczona","zameldowana","zamelinowana","zamerykanizowana","zamiatana","zamieniana","zamieniona","zamieszana","zamieszczana","zamieszczona","zamieszkana","zamieszkiwana","zaminowana","zamknięta","zamocowana","zamoczona","zamontowana","zamordowana","zamortyzowana","zamotana","zamówiona","zamrażana","zamroczona","zamrożona","zamulana","zamurowana","zamydlona","zamykana","zanalizowana","zanegowana","zaniechana","zanieczyszczana","zanieczyszczona","zaniedbana","zaniedbywana","zaniepokojona","zaniesiona","zanihilowana","zanikana","zaniknięta","zaniżana","zaniżona","zanoszona","zanotowana","zanucona","zanudzana","zanudzona","zanurzana","zanurzona","zanużona","zaobaczona","zaobserwowana","zaoferowana","zaofiarowana","zaogniana","zaogniona","zaokrąglana","zaokrąglona","zaokrętowana","zaopatrywana","zaopatrzona","zaopiekowana","zaorana","zaostrzana","zaostrzona","zaoszczędzona","zapadana","zapakowana","zapalana","zapalona","zapamiętana","zapamiętywana","zapanowana","zaparkowana","zaparowywana","zaparzana","zaparzona","zapaskudzona","zapauzowana","zapchana","zapędzana","zapełniana","zapełniona","zaperfumowana","zapeszana","zapewniana","zapewniona","zapieczętowana","zapierana","zapięta","zapijana","zapinana","zapisana","zapisuwana","zapita","zapłacona","zapładniana","zaplamiona","zaplanowana","zaplątana","zapłodniona","zaplombowana","zapobiegana","zapodana","zapodawana","zapodziana","zapokojona","zapolowana","zapominana","zapomniana","zapowiadana","zapowiedziana","zapoznana","zapoznawana","zapożyczona","zapracowywana","zaprana","zaprasowywana","zapraszana","zaprawiona","zaprenumerowana","zaprezentowana","Zaprogramowana","zaprojektowana","zaproponowana","zaproszona","zaprotokołowana","zaprowadzana","zaprowadzona","zaprzątana","zaprzeczana","zaprzeczona","zaprzedana","zaprzedawana","zaprzęgana","zaprzepaszczana","zaprzestana","zaprzestawana","zaprzyjaźniona","zapudłowana","zapunktowana","zapuszczana","zapuszczona","zapuszkowana","zapychana","zapylana","zapylona","zapytana","zarabiana","zaranżowana","zarażana","zarażona","zarecytowana","zaręczana","zaręczona","zarejestrowana","zareklamowana","zarekomendowana","zarekomondowana","zarekwirowana","zarezerwowana","zarobiona","żartowana","zarwana","zaryglowana","zarymowana","zarysowana","zarywana","zaryzykowana","zarządzana","zarżnięta","zarzucana","zarzynana","zasadzona","zaścielona","zasegurowana","zaserwowana","zasiadana","zasiana","zasiedlona","zasięgana","zasięgnięta","zasiewana","zasilana","zasilona","zaskakiwana","zaskarbiona","zaskoczona","zaskrobana","zasłaniana","zaślepiana","zaślepiona","zasłodzona","zasłoniona","zasłużona","zasmakowana","zaśmiecana","zaśmiecona","zasmradzana","zasmrodzona","zasmucana","zasmucona","zasolona","zaspakajana","zaśpiewana","zaspokajana","zaspokojona","zasponsorowana","zaśrubowywana","zassana","zastana","zastąpiona","zastawiana","zastawiona","zastępowana","zastopowana","zastosowana","zastraszana","zastraszona","zastrzelona","zasugerowana","zasunięta","zasuwana","zaświadczona","zaświecona","zaświoniona","zasyfiona","zasygnalizowana","zasymilowana","zasymulowana","zasypana","zasypywana","zasysana","zaszachowana","zaszantażowana","zaszargana","zaszczepiana","zaszczepiona","zaszczuta","zaszczycana","zaszczycona","zaszeptana","zaszeregowana","zaszlachtowana","zasznurowana","zaszpachlowana","zasztyletowana","zaszufladkowana","zaszyfrowana","zaszyta","zaszywana","zataczana","zatajana","zatajona","zatamowana","zatankowana","zatapiana","zatargana","zatarta","zatelegrafowana","zatemperowana","zatęskniona","zatkana","zatknięta","zatoczona","zatonięta","zatopiona","zatracana","zatracona","zatriumfowana","zatrudniana","zatrudniona","zatruta","zatruwana","zatrzaskiwana","zatrzaśnięta","zatrząśnięta","zatrzymana","zatrzymywana","zatuszowana","zatwierdzana","zatwierdzona","zatykana","zatynkowana","zatytułowana","zauploadowana","zauroczona","zautomatyzowana","zauważana","zauważona","zawadzana","zawalana","zawalczona","zawalona","zawarta","zaważona","zawdzięczana","zawetowana","zawężona","zawiadamiana","zawiadomiona","zawiązana","zawiązywana","zawiedzona","zawierana","zawierzona","zawieszana","zawieszona","zawieziona","zawijana","zawinięta","zawiniona","zawiśnięta","zawitana","zawładnięta","zawłaszczona","zawodzona","zawojowana","zawołana","zawoskowana","zawożona","zawracana","zawrócona","zawstydzana","zażądana","zażartowana","zazdroszczona","zażegnana","zażenowana","zaznaczana","zaznajomiona","zaznana","zaznawana","zażyczona","zażyta","zażywana","zbaczana","zbadana","zbagatelizowana","zbajerowana","zbałamucona","zbalansowana","zbalsamowana","zbankrutowana","zbawiana","zbawiona","zbesztana","zbezczeszczona","zbierana","zbijana","zbita","zbliżona","zbluzgana","zbojkotowana","zbrojona","zbrukana","zbszczecona","zbudowana","zbudzona","zbuntowana","zburzona","zbyta","zbywana","zchwytana","zcięta","zciszona","zdana","zdarta","zdeaktywowana","zdecydowana","zdefiniowana","zdeflorowana","zdegradowana","zdejmowana","zdeklarowana","zdekodowana","zdekompresowana","zdekoncentrowana","zdekonstruowana","zdelegalizowana","zdemaskowana","zdementowana","zdemolowana","zdemontowana","zdemoralizowana","zdenerwowana","zdeponowana","zdeprymowana","zdeptana","zderzana","zderzona","zdestabilizowana","Zdetonowana","zdetronizowana","zdewastowana","zdewaulowana","zdezerterowana","zdezintegrowana","zdezorientowana","zdezynfektowana","zdiagnozowana","zdjęta","zdławiona","zdmuchiwana","zdmuchnięta","zdobyta","zdobywana","zdołowana","zdominowana","zdopingowana","zdrabniana","zdradzana","zdradzona","zdrapana","zdrapywana","zdrutowana","zdruzgotana","zduplikowana","zduszona","zdwojona","zdyscyplinowana","zdyskredytowana","zdyskwalifikowana","zdystansowana","zdzielona","zdzierana","zdzierżona","zdziesiątkowana","Zdzwoniona","zebrana","zechciana","zedytowana","żegnana","żeniona","zepchnięta","zepsuta","żerowana","zerwana","zerżnięta","zeskakiwana","zeskanowana","zeskrobywana","zesłana","ześlizgiwana","ześlizgnięta","zesmolona","zespawiana","zespolona","zessana","zestawiana","zestawiona","zestresowana","zestrzeliwana","zestrzelona","zeswatana","zeszklona","zeszlifowana","zetknięta","zezłoszczona","zeznana","zeznawana","zezwalana","zezwolona","zfinansowana","zgadana","zgadywana","zgajana","zganiona","zgarnięta","zgaśnięta","zgaszona","zgięta","zginana","zgładzona","zgłaszana","zgłębiana","zgłębiona","zgłośniona","zgłoszona","zgłuszona","zgniatana","zgnieciona","zgnita","zgnojona","zgodzona","zgolona","zgoniona","zgotowana","zgrabiona","zgrillowana","zgromadzana","zgromadzona","zgrupowana","zgrzeszona","zgrzytana","zgubiona","zgwałcona","zhackowana","zhakowana","zhańbiona","zhandlowana","zharmonizowana","zidentyfikowana","ziewana","zignorowana","zilustrowana","zinfiltrowana","zintegrowana","zintensyfikowana","zinterpretowana","zinwentaryzowana","zirytowana","zjadana","zjawiana","zjednana","zjednoczona","zjedzona","zjeżdżona","zkontaktowana","zkserowana","złączona","złagodzona","złajana","złamana","zlana","złapana","zlecana","zlecona","zlekceważona","zlepiana","zlepiona","zlewana","zlicytowana","zliczana","zliczona","zlikwidowana","zlinczowana","zlitowana","zlizana","zlizywana","złoita","zlokalizowana","złomowana","żłopana","złowiona","złożona","złupiona","złuszczana","zluzowana","zmacana","zmącona","zmagana","zmagazynowana","zmajstrowana","zmaksylizowana","zmanipulowana","zmarnowana","zmartwychwstana","zmarznięta","zmasakrowana","zmaterializowana","zmawiana","zmazana","zmazywana","zmbobardowana","zmiatana","zmiażdżona","zmiękczona","zmielona","zmieniana","zmieniona","zmierzana","zmierzona","zmierzwiona","zmieszana","zmieszczona","zmiksowana","zminiaturyzowana","zminimalizowana","zmniejszana","zmniejszona","zmobilizowana","zmoczona","zmodernizowana","zmodyfikowana","zmoknięta","zmonopolizowana","zmontowana","zmostkowana","zmotywowana","zmówiona","zmrożona","zmrużona","zmumifikowana","zmuszana","zmuszona","zmutowana","zmyślana","zmyta","zmywana","znacjonalizowana","znajdowana","znajdywana","znakowana","znaleziona","znana","znęcana","zneutralizowana","zniechęcona","znieczulona","zniekształcana","zniekształcona","znienawidzona","znieprawiona","zniesiona","zniesławiana","zniesławiona","zniewalana","znieważana","znieważona","zniewolona","zniszczona","zniweczona","zniwelowana","zniżana","zniżona","znokautowana","znormalniona","znoszona","znudzona","zobaczona","zobowiązana","zobrazowana","zogniskowana","żonglowana","zoomowana","zoperowana","zoptymalizowana","zorbita","zorganizowana","zorientowana","zostawiana","zostawiona","zpłacona","zprowokowana","zrabowana","zrachowana","zracjonalizowana","zraniona","zraportowana","zrażana","zrażona","zrealizowana","zrecenzowana","zredagowana","zredukowana","zreferowana","zreformowana","zrefowana","zrefundowana","zregenerowana","zrehabilitowana","zreinkarnowana","zreintegrowana","zrekonfigurowana","zrekonstruowana","zrekrutowana","zrekrystalizowana","zrelacjonowana","zrelaksowana","zremiksowana","zremisowana","zreorganizowana","zreperowana","zreplikowana","zresetowana","zresocjalizowana","zrestartowana","zrestrukturyzowana","zrewanżowana","zrewidowana","zrewolucjonizowana","zrezygnowana","zrobiona","zrolowana","zroszona","zrównana","zrównoważona","zrównywana","zróżnicowana","zrozumiana","zrugana","zruinowana","zrujnowana","zrymowana","zrywana","zrzędzona","zrzeszona","zrzucana","zrzucona","zsumowana","zsunięta","zsuwana","zsynchronizowana","zsyntetyzowana","zsypywana","zszargana","zszokowana","zszyta","zszywana","ztarta","żuta","zutylizowana","zużyta","zużywana","zwabiana","zwabiona","zwalana","zwalczona","zwalniana","zwalona","zwana","zwaporyzowana","zwątpiona","zważana","zważona","zwędzona","zwerbalizowana","zwerbowana","zweryfikowana","zwęszona","zwężona","zwiastowana","związana","związywana","zwichnięta","zwiedzana","zwiedzona","zwiększona","zwieńczona","zwierzana","zwieszana","zwieszona","zwietrzona","zwijana","zwilżona","zwinięta","zwizualizowana","zwlekana","zwodowana","zwodzona","zwołana","zwolniona","zwoływana","zwożona","zwracana","zwrócona","zwyciężana","zwymiotowana","życzona","żygana","zygzakowana","zyskana","zyskiwana","żyta","zżarta","zżerana","zżynana","zżyta","abdykowane","absorbowane","adaptowane","administrowane","adoptowane","adorowane","adresowane","afiszowane","agitowane","akcentowane","akceptowane","aklimatyzowane","akompaniowane","aktualizowane","aktywowane","akumulowane","alaromowane","alienowane","amerykanizowane","amortyzowane","amputowane","analizowane","angażowane","anihilowane","animowane","anonsowane","antropomorfizowane","antydatowane","anulowane","apelowane","aportowane","aranżowane","archiwizowane","aresztowane","argumentowane","artykułowane","ascendowane","asekurowane","asymilowane","asystowane","atakowane","autoryzowane","awanturowane","babrane","baczone","badane","bagatelizowane","bajerowane","bałamucone","balangowane","balansowane","banalizowane","bandażowane","bankrutowane","baraszkowane","barwione","bawione","bazgrane","bazowane","bębnione","bełkotane","besztane","biadolone","biczowane","bite","błagane","błaznowane","blefowane","błogosławione","blokowane","bluzgane","błyskane","błyszczące","boczone","bogacone","bojkotowane","boksowane","bombardowane","bopowane","borowane","brandzlowane","brane","brasowane","bratane","bredzone","brnięte","brodzone","bronione","brudzone","brylowane","budowane","budzone","bujane","bulone","bulwersowane","bumelowane","burzone","butelkowane","bywane","cackane","całowane","capnięte","cechowane","celebrowane","celowane","cenione","cenzurowane","chciane","chlane","chlapane","chlapnięte","chlastane","chłodzone","chlostane","chlubione","chodowane","chomikowane","chorowane","chowane","chronione","chrupane","chrzczone","chute","chwalone","chwycone","chwytane","chybotane","chylone","ciachnięte","ciągane","ciągnięte","ciemiężone","cierpiane","cieszone","cięte","ciskane","ciśnięte","ciułane","cmokane","cmoknięte","cofane","cofnięte","ćpane","cucone","cudzołożone","cumowane","ćwiartowane","ćwiczone","cykane","cytowane","czajone","czarowane","czczone","czepiane","czepione","czerpane","czesane","częstowane","czochrane","czołgane","czute","czytane","czyte","darowane","darte","darzone","datowane","dawane","dbane","deaktywowane","debatowane","dedukowane","dedykowane","defibrylowane","defilowane","definiowane","defraudowane","degradowane","degustowane","deklamowane","deklarowane","dekodowane","dekompresowane","dekorowane","dekretowane","delegowane","delektowane","deliberowane","demaskowane","dementowane","demolowane","demonizowane","demonstrowane","demoralizowane","denerwowane","denuncjowane","depeszowane","depilowane","deportowane","deprawowane","deptane","deratyzowane","destabilizowane","destylowane","desygnowane","determinowane","detonowane","dewastowane","dewaulowane","dezaktywowane","dezorientowane","dezynfekowane","diagnozowane","dilowane","dłubane","dłużone","dmuchane","dmuchnięte","dobiegane","dobierane","dobijane","dobite","dobrane","dobudzone","dobyte","doceniane","docenione","dochodzone","dochowane","dochowywane","dociągnięte","dociekane","docięte","docinane","dociskane","dociśnięte","doczekane","doczepione","doczołgane","doczyszczone","doczytane","dodane","dodawane","dodrukowane","dodrukowywane","dofinansowane","dofinansowywane","dogadane","dogadywane","dogadzane","doganiane","doglądane","doglądnięte","dognane","dogodzone","dogonione","dograne","dogryzane","dogryzione","dogrzane","dogrzebane","doinformowane","dojeżdżane","dojone","dojrzane","dojrzewane","dokańczane","dokarmiane","dokarmione","dokazane","dokazywane","dokładane","doklejone","dokonane","dokończone","dokonywane","dokopane","dokopywane","dokowane","dokręcane","dokręcone","dokształcane","dokształcone","dokuczane","dokumentowane","dokupione","dołączane","dołączone","doładowane","dolane","dolewane","doliczone","dołowane","dołożone","domagane","domalowane","domknięte","domniewywane","domówione","domyślane","domyślone","domyte","doniesione","donoszone","dopadane","dopadnięte","dopakowane","dopalone","dopasowane","dopasowywane","dopatrywane","dopatrzone","dopchane","dopchnięte","dopełniane","dopełnione","dopieszczone","dopięte","dopijane","dopilnowane","dopingowane","dopisane","dopisywane","dopite","dopłacane","dopłacone","dopłynięte","dopolerowane","dopompowane","dopowiedziane","dopracowane","dopracowywane","doprane","doprawione","doprecyzowane","doproszone","doprowadzane","doprowadzone","dopucowane","dopuszczane","dopuszczone","dopytywane","dorabiane","doradzane","doradzone","doręczane","doręczone","dorobione","dorównane","dorównywane","dorwane","dorysowane","dorzucane","dorzucone","doścignięte","dosiadane","dosięgnięte","doskoczone","doskonalone","dosładzane","dosłane","dosłyszane","dosolone","dośrodkowane","dossane","dostane","dostąpione","dostarczane","dostarczone","dostawane","dostawiane","dostawione","dostosowane","dostosowywane","dostrajane","dostrojone","dostrzegane","dosunięte","dosuwane","doświadczane","Doświetlone","dosypane","dosypywane","doszkolone","doszlifowane","doszorowane","doszukane","doszukiwane","doszyte","dotankowane","dotankowywane","dotargane","dotaszczone","dotknięte","dotlenione","dotłumaczone","dotowane","dotrwane","dotrzymane","dotrzymywane","dotykane","douczane","douczone","dowalone","dowiezione","dowodzone","dowożone","doznane","doznawane","dozorowane","dozowane","dożyte","dożywione","dramatyzowane","drapane","drapnięte","draśnięte","drażnione","drążone","dręczone","drenowane","drgane","drgnięte","drukowane","dryblowane","dryfowane","drzemane","dubbingowane","dublowane","duplikowane","duszone","dworowane","dygotane","dyktowane","dymane","dymione","dyrygowane","dyscyplinowane","dyskredytowane","dyskryminowane","dyskutowane","dyskwalifikowane","dysponowane","dystansowane","dystrybuowane","dywagowane","dźgane","dźgnięte","dziabnięte","dziedziczone","dziękowane","dzielone","dziergane","dzierżone","dziobane","dziurawione","dziurkowane","dźwigane","dźwignięte","edukowane","edytowane","egzaminowane","egzekutowane","egzekwowane","ekscytowane","ekshumowane","ekskomunikowane","eksmitowane","ekspandowane","eksperymentowane","eksploatowane","eksplorowane","eksponowane","eksportowane","eksterminowane","ekstradowane","ekstrapolowane","eliminowane","emancypowane","emanowae","emigrowane","emitowane","energetyzowane","eskortowane","etykietowane","ewakuowane","ewaluowane","fabrykowane","falowane","fałszowane","farbowane","faszerowane","faulowane","faworyzowane","fechtowane","fermentowane","ferowane","figurowane","filetowane","filmowane","filtrowane","finalizowane","finansowane","firmowane","fleszowane","folgowane","formułowane","forsowane","fotografowane","fundowane","gadane","ganiane","garbione","gardzone","garnirowane","gaszone","gawędzone","gaworzone","gazowane","gdakane","gderane","generalizowane","generowane","gięte","gilgotane","gładzone","głaskane","głodowane","głodzone","gloryfikowane","głosowane","głoszone","głowione","gmatwane","gmerane","gnane","gnębione","gniecione","gnite","gnojone","godzone","gojone","golnięte","golone","gonione","googlowane","gospodarowane","goszczone","gotowane","grabione","grane","grasowane","gratulowane","grillowane","grilowane","gromadzone","gromione","grożone","gruchane","gruchnięte","grupowane","grywane","gryzione","grzane","grzechotane","gubione","gustowane","gwałcone","gwarantowane","gwizdane","gwizdnięte","hackowane","haftowane","hajtnięte","hamowane","hańbione","handlowane","harcowane","harmonizowane","harowane","hartowane","hibernowane","hipnotyzowane","hodowane","holowane","hołubione","honorowane","hospitalizowane","huknięte","hulane","huśtane","idealizowane","identyfikowane","ignorowane","igrane","ilustrowane","imitowane","implantowane","implodowane","imponowane","importowane","improwizowane","indokrynowane","indukowane","infekowane","infiltrowane","informowane","ingerowane","inhalowane","inscenizowane","inspirowane","instalowane","instruowane","insynuowane","integrowane","interpretowane","interweniowane","intonowane","intubowane","inwestowane","inwigilowane","irytowane","iskrzone","izolowane","jadane","jawione","jazgotane","jednoczone","jedzone","kablowane","kadzone","kalane","kaleczone","kalkulowane","kamerowane","kamienowane","kamuflowane","kanalizowane","kantowante","kąpane","kapitulowane","kapowane","karane","karbonizowane","karcone","karczowane","karmione","kartkowane","kąsane","kasowane","kastrowane","katalogowane","katapultowane","katowane","katrupione","kierowane","kimane","kiszone","kiwane","kiwnięte","kłaniane","klapane","klapnięte","klarowane","klasyfikowane","klębione","klejone","klepane","klepnięte","klikane","kliknięte","klonowane","kłopotane","kłute","knocone","knute","kochane","koczowane","kodowane","kojarzone","kojfnięte","kojone","kolekcjonowane","kolektywizowane","kolidowane","kolonizowane","kolorowane","koloryzowane","kołowane","kołysane","kombinowane","komenderowane","komentowane","komercjalizowane","kompensowane","komplementowane","komplikowane","komponowane","kompromitowane","komunikowane","konane","koncentrowane","kończone","konfabulowane","konfiskowane","konfrontowane","konserwowane","konspirowane","konstruowane","konsultowane","konsumowane","kontaktowane","kontestowane","kontrastowane","kontrolowane","kontrowane","kontynuowane","kontynuuowane","konwertowane","konwojowane","koordynowane","kopane","kopcone","kopiowane","kopnięte","kopulowane","korelowane","korkowane","koronowane","korygowane","korzone","korzystane","koszone","kotwiczone","kozaczone","kozłowane","kpite","kradzione","krajane","krążone","kręcone","kremowane","kreowane","krochmalone","krojone","kropione","kruszone","krystalizowane","kryte","krytykowane","krzepnięte","krzyczane","krzyknięte","krzywdzone","krzywione","krzyżowane","kserowane","księgowane","kształcone","kształtowane","kulone","kultywowane","kumulowane","kupczone","kupione","kupowane","kupywane","kurczone","kurowane","kursowane","kurzone","kuszone","kute","kwalifikowane","kwestionowane","łączone","ładowane","łagodzone","łajdaczone","lakierowane","łamane","lamentowane","lansowane","lane","łapane","łaskotane","łaszone","latane","łatane","lawirowane","leczone","legalizowane","legitymowane","lekceważone","lepione","lewitowane","liberowane","licencjonowane","licytowane","liczone","likwidowane","linczowane","liniowane","literowane","litowane","lizane","liznięte","lobbowane","lokalizowane","losowane","łowione","łożone","lubiane","łudzone","lunatykowane","łupane","łupione","łuskane","lustrowane","łuszczone","luzowane","łykane","łyknięte","łyżeczkowane","macane","machane","machnięte","mącone","maczane","maganyzowane","maglowane","majaczone","majsterkowane","majtane","maksymalizowane","malowane","maltretowane","mamione","mamrotane","manewrowane","manifestowane","manipulowane","markowane","marnotrawione","marnowane","marszczone","marynowane","marznięte","masakrowane","maskowane","masowane","masturbowane","mataczone","materializowane","mawiane","mazane","maznięte","męczone","meldowane","merdane","metabolizowane","miażdżone","mielone","mierzone","mierzwione","mieszane","miętolone","migane","migdalone","migotane","mijane","miksowane","milowane","minięte","minimalizowane","miotane","mistyfikowane","mitygowane","mizdrzone","mlane","mniemane","mnożone","mobilizowane","mocowane","moczone","modelowane","modernizowane","modlone","modulowane","modyfikowane","molestowane","monitorowane","monopolizowane","montowane","mordowane","motywowane","mówione","mrożone","mrugane","mrużone","muskane","mutowane","mydlone","mylone","myszkowane","myte","nabazgrane","nabiegane","nabierane","nabite","nabrane","nabrojone","nabrudzone","nabyte","nabywane","nacelowane","nachapane","nachodzone","nachwalone","nachylone","naciągane","naciągnięte","nacierane","nacięte","nacinane","naciskane","naciśnięte","nacjonalizowane","naczepione","nadane","nadawane","nadchodzone","nadciągane","nadciągnięte","nadcięte","nadesłane","nadgonione","nadgryzane","nadgryzione","nadinterpretowane","nadłożone","nadmieniane","nadmienione","nadmuchane","nadrabiane","nadrobione","nadskakiwane","nadsłuchiwane","nadstawiane","nadstawione","nadszarpnięte","naduszone","nadużyte","nadużywane","nadwerężane","nadwyrężane","nadwyrężone","nadziane","nadzorowane","naelektryzowane","nafaszerowane","nagabywane","nagadane","nagięte","naginane","nagłaszane","nagłośnione","nagonione","nagradzane","nagrane","nagrodzone","nagromadzone","nagrywane","nagryzmolone","nagrzane","nagrzebane","nagrzewane","nagwizdane","naigrywane","najechane","najęte","najmowane","nakarmiane","nakarmione","nakazane","nakazywane","nakierowane","nakierowywane","nakładane","nakłamane","nakłaniane","naklejane","naklejone","naklepane","nakłonione","nakłute","nakłuwane","nakopane","nakręcane","nakręcone","nakreślane","nakreślone","nakruszone","nakryte","nakrywane","nakrzyczane","nakupione","naładowane","nalane","nałapane","nalepione","nalewane","naliczone","nałowione","nałożone","namaczane","namagnetyzowane","namalowane","namaszczane","namaszczone","namawiane","namęczone","namierzane","namieszane","namoczone","namówione","namydlane","namyślone","naniesione","naoliwiane","naoliwione","naopowiadane","naostrzone","napadane","napadnięte","napakowane","napalone","naparzane","napastowane","napawane","napchane","napędzane","napełniane","napełnione","napierane","napiętnowane","napięte","napinane","napisane","naplute","napływane","napoczęte","napojone","napompowane","napotkane","napotykane","napraszane","naprawiane","naprawione","naprężane","naprężone","napromieniowane","naprostowane","naprowadzane","naprowadzone","napsute","napuszczane","napuszczone","napychane","napytane","narąbane","naradzane","naradzone","narastane","narażane","narażone","nareperowane","narkotyzowane","narodzone","naruszane","naruszone","narwane","narysowane","narzucane","narzucone","nasączane","nasączone","nasadzone","nasiąkane","nasilane","nasilone","naskakiwane","naskoczone","naskrobane","naśladowane","nasłane","nasłuchane","nasłuchiwane","nasmarowane","nastąpione","nastawiane","nastawione","nastraszane","nastrojone","nastukane","nasunięte","nasuwane","naświetlane","nasycone","nasyłane","nasypane","naszczane","naszkicowane","naszpikowane","naszprycowane","naszykowane","naszyte","naszywane","natarte","natchnięte","natknięte","natlenione","natłuszczone","natrafione","natrząsane","natrząsnięte","nauczane","nauczone","nawadniane","nawalone","nawiązane","nawiązywane","nawiedzane","nawiedzone","nawiercone","nawiewane","nawiezione","nawigowane","nawijane","nawilżane","nawilżone","nawinięte","nawlekane","nawodnione","nawoływane","nawoskowane","nawożone","nawpychane","nawracane","nawrócone","nawrzucane","nawtykane","nawymyślane","nazbierane","nazmyślane","naznaczane","naznaczone","nazrywane","nazwane","nazywane","nęcone","negocjowane","negowane","nękane","neutralizowane","niańczone","niecierpliwione","niedoceniane","niedowidziane","nienawidzone","niesione","nikolone","niszczone","nitkowane","niuchane","niweczone","niwelowane","nokautowane","nominowane","notowane","nucone","numerowane","nurtowane","obaczone","obadane","obalane","obalone","obandażowane","obarczane","obarczone","obawiane","obchodzone","obciągnięte","obciążone","obcięte","obcinane","obcyndalane","obczajane","obczajone","obdarowane","obdarte","obdarzane","obdarzone","obdzielone","obdzierane","obdzwaniane","obdzwonione","obejmowane","oberwane","obessane","obezwładniane","obezwładnione","obfotografowane","obfotografowywane","obgadane","obgadywane","obgryzane","obgryzione","obiecane","obiecywane","obierane","obijane","obite","objadane","objaśniane","objawiane","objawione","objechane","objęte","objeżdżane","obkręcane","oblane","obłapiane","obłapywane","obłaskawiane","obłaskawione","obleciane","oblegane","oblewane","obliczane","obliczone","oblizane","obłowione","obłożone","obluzowane","obluzowywane","obmacane","obmacywane","obmawiane","obmyślane","obmyślone","obmyte","obmywane","obnażane","obniżane","obniżone","obnoszone","obowiązywane","obozowane","obrabiane","obrabowane","obracane","obradowane","obramowane","obraniane","obrane","obrastane","obrażane","obrażone","obrobione","obrócone","obrodzone","obronione","obrysowane","obrywane","obryzgane","obrzezane","obrzucane","obrzucone","obrzygane","obsadzane","obsadzone","obściskiwane","obserwowane","obsiane","obsikane","obsikiwane","obskakiwane","obskoczone","obskubane","obskubywane","obśliniane","obślinione","obsługiwane","obsłużone","obsmarowane","obstawiane","obstawione","obstrzeliwane","obsunięte","obsuwane","obsypane","obsypywane","obszukane","obszukiwane","obtaczane","obtarte","obtoczone","obudzone","obwąchane","obwąchiwane","obwiązane","obwiązywane","obwieszane","obwieszczane","obwieszczone","obwieszone","obwijane","obwiniane","obwinięte","obwołane","obyte","obżerane","ocalane","ocalone","ocechowane","oceniane","ocenione","ocenzurowane","ochładzane","ochlapane","ochlapywane","ochłodzone","ochłonięte","ochraniane","ochronione","ochrzaniane","ochrzczone","ociągane","ocielone","ocieplane","ocieplone","ocierane","ocknięte","ocucone","ocute","oczarowywane","oczekiwane","oczerniane","oczernione","oczyszczane","oczyszczone","odarte","odbębnione","odbetonowane","odbezpieczane","odbezpieczone","odbijane","odbite","odblokowane","odbudowane","odbudowywane","odbutowane","odbyte","odcedzane","odchorowane","odchowane","odchudzane","odchudzone","odchylane","odchylone","odciągane","odciągnięte","odciążone","odcierpione","odcięte","odcinane","odcisnięte","odcumowane","odcyfrowane","odcyfrowywane","odczarowane","odczekane","odczepiane","odczepione","odczute","odczuwane","odczynione","odczytane","odczytywane","oddalane","oddane","oddawane","oddelegowane","oddychane","oddzielane","oddzielone","odebrane","odegnane","odegrane","odejmowane","odepchnięte","oderwane","odeskortowane","odesłane","odespane","odessane","odetkane","odetnięte","odezwane","odfiltrowane","odgadnięte","odgadywane","odganiane","odgarniane","odgarnięte","odgięte","odgniatane","odgonione","odgradzane","odgrażane","odgrodzone","odgruzowane","odgrywane","odgryzane","odgryzione","odgrzane","odgrzebane","odgrzebywane","odgrzewane","odgwizdane","odhaczone","odholowane","odinstalowane","odizolowane","odjedzone","odjęte","odjonizowane","odkażane","odkażone","odkładane","odklejone","odkochane","odkodowane","odkodowywane","odkopane","odkopywane","odkorkowane","odkręcane","odkręcone","odkrojone","odkryte","odkrywane","odkupione","odkupywane","odkurzane","odkurzone","odkute","odłączane","odłączone","odłamywane","odlane","odlatywane","odlepiane","odlewane","odliczane","odliczone","odłożone","odłupane","odmachane","odmachiwane","odmalowane","odmarszczone","odmawiane","odmeldowane","odmieniane","odmienione","odmierzane","odmierzone","odmieszane","odmontowane","odmówione","odmrażane","odmrożone","odnajdowane","odnalezione","odnawiane","odniesione","odnoszone","odnotowane","odnotowywane","odnowione","odpakowane","odpakowywane","odpalane","odpalone","odpałzowane","odparowane","odparte","odpędzane","odpicowane","odpieczętowane","odpierane","odpięte","odpiłowane","odpiłowywane","odpinane","odpisane","odpisywane","odpłacane","odplamione","odplątane","odpłynięte","odpowietrzone","odpracowane","odpracowywane","odprasowane","odprawiane","odprawione","odprężane","odprostowane","odprowadzane","odprowadzone","odprute","odpryskane","odpukane","odpukiwane","odpuszczane","odpuszczone","odpychane","odrąbane","odrabiane","odrąbywane","odradzane","odradzone","odrapane","odrastane","odratowane","odreagowane","odremontowane","odrestaurowane","odrestaurowywane","odrobaczane","odrobione","odroczone","odrodzone","odrośnięte","odróżniane","odróżnione","odrysowane","odrywane","odrzucane","odrzucone","odsączane","odsączone","odsadzone","odseparowane","odsiadywane","odsiane","odsiewane","odsłaniane","odsłonięte","odsłuchane","odsłuchiwane","odsłużone","odśnieżane","odśnieżone","odsolone","odśpiewane","odsprzedane","odsprzedawane","odstąpione","odstawiane","odstawione","odstępowane","odstraszane","odstręczone","odstresowane","odstrzeliwane","odstrzelone","odsunięte","odsuwane","odświeżane","odświeżone","odsyłane","odsypywane","odsysane","odszczekane","odszczekiwane","odsztafirowane","odszukane","odszyfrowane","odszyfrowywane","odszykowane","odtrąbione","odtrącone","odtrute","odtwarzane","odtworzone","oduczone","odurzone","odwalane","odwalone","odwiązane","odwiązywane","odwiedzane","odwiedzone","odwieszone","odwiezione","odwijane","odwinięte","odwlekane","odwodnione","odwodzone","odwołane","odwoływane","odwożone","odwracane","odwrócone","odwzajemnione","odwzorowane","odżegnane","odziane","odziedziczone","odznaczane","odznaczone","odzwieciedlone","odzwierciedlane","odzwonione","odzwyczajone","odzyskane","odzyskiwane","odżyte","odzywiane","odżywione","oferowane","ofiarowane","ofiarowywane","ogarniane","ogarnięte","oglądane","ogłaszane","ogłoszone","ogłupiane","ogłupione","ogłuszone","ogołocone","ogolone","ograbiane","ograbione","ograniczane","ograniczone","ograne","ogrodzone","ogryzione","ogrzane","ogrzewane","okablowane","okaleczone","okantowane","okąpane","okazane","okazywane","okiełznane","okładane","okłamane","okłamywane","oklaskiwane","oklejone","oklepane","okopane","okopywane","okpione","okradane","okradzione","okraszone","okrążane","okrążone","okręcane","okręcone","określane","określone","okrojone","okryte","okrywane","okrzyknięte","okulawione","okupione","okupowane","olane","olewane","olśnięte","omamione","omawiane","omdlewane","omijane","ominięte","omotane","omówione","onanizowane","onieśmielane","onieśmielone","opadnięte","opakowane","opalane","opalone","opancerzone","opanowane","opanowywane","oparte","oparzone","opasane","opatentowane","opatrywane","opatrzone","opatulone","opchnięte","opędzane","opędzone","operowane","opętane","opętywane","opieczętowane","opiekowane","opierane","opijane","opisane","opisywane","opite","opłacane","opłacone","opłakane","opłakiwane","opłukane","oplute","opluwane","opływane","opodatkowane","opodatkowywane","oponowane","oporządzane","oporządzone","opowiadane","opowiedziane","opóźniane","opóźnione","opracowane","opracowywane","oprawiane","oprawione","oprowadzane","oprowadzone","opróżniane","opróżnione","opryskane","opryskiwane","opublikowane","opukane","opuszczane","opuszczone","opychane","opylone","orane","orbowane","organizowane","orientowane","oroszone","orzekane","orżnięte","osaczane","osaczone","osadzane","osądzane","osadzone","osądzone","oscylowane","osiadane","osiągane","osiągnięte","osiedlane","osiedlone","osiedzone","osierocone","osiodłane","oskalpowane","oskarżone","oskrobane","oskrzydlane","oskrzydlone","oskubane","oskubywane","osłabiane","osłabione","oślepiane","oślepione","oślepnięte","ośliniane","osłodzone","osłonione","osłuchane","osmalone","ośmielone","ośmieszane","ośmieszone","ostrzegane","ostrzelane","ostrzelite","ostrzone","ostudzone","osunięte","osuszane","osuszone","osuwane","oswajane","oświadczane","oświadczone","oświecane","oświecione","oświetlane","oświetlone","oswobadzane","oswobodzone","oswojone","oszacowane","oszałamiane","oszczane","oszczędzane","oszczędzone","oszklone","oszlifowane","oszołomione","oszpecone","oszukane","oszukiwane","oszwabione","otaczane","otarte","otoczone","otrute","otruwane","otrząsane","otrząśnięte","otrzepane","otrzeźwione","otrzymane","otrzymywane","otulone","otumanione","otwierane","otworzone","otwarte","owane","owdowione","owiane","owijane","owinięte","ozdabiane","ozdobione","ozdrowione","ożenione","oznaczane","oznaczone","oznajmiane","oznajmione","oznakowane","ożyte","ożywane","ożywiane","ożywione","pachnące","pacnąte","pakowane","paktowane","pałane","pałaszowane","palnięte","palone","pamiętane","panoszone","paprane","parafrazowane","paraliżowane","parkowane","parowane","partaczone","parte","parzone","pastowane","paszone","patrolowane","patroszone","patrzone","pauzowane","pchane","pchnięte","pdholowane","pedałowane","pękane","pęknięte","pełnione","penetrowane","perforowane","perfumowane","perswadowane","piastowane","pichcone","pielęgnowane","pielone","pienione","pieszczone","piętnowane","pięte","pijane","pikietowane","piknikowane","pikowane","pilnowane","pilotowane","piłowane","pisane","pisywane","pite","płacone","plądrowane","plamione","planowane","płaszczone","plątane","płatane","pławione","plewione","płonące","płoszone","plotkowane","plugawione","płukane","pluskane","plute","pobaraszkowane","pobierane","pobite","pobłażane","pobłogosławione","pobrane","pobrudzone","pobudzane","pobudzone","pobujane","pocałowane","pocerowane","pochłaniane","pochlapane","pochlebiane","pochłonięte","pochowane","pochwalane","pochwalone","pochwycone","pochylane","pochylone","pociachane","pociągane","pociągnięte","pocierane","pocieszane","pocieszone","pocięte","pocone","pocukrowane","poćwiartowane","poczesane","poczęstowane","poczęte","poczochrane","poczute","poczytane","poczytywane","podane","podarowane","podarte","podawane","podążone","podbierane","podbijane","podbite","podbudowane","podbudowywane","podburzane","podburzone","podchwycone","podciągane","podciągnięte","podcierane","podcięte","podcinane","podczepione","poddane","poddawane","podebrane","podejmowane","podejrzane","podejrzewane","podelektowane","podeptane","poderwane","podesłane","podglądane","podgolone","podgonione","podgryzane","podgrzane","podgrzewane","podjadane","podjedzone","podjęte","podkablowane","podkarmione","podkładane","podklejone","podkolorowane","podkołowane","podkopane","podkopywane","podkradane","podkradnięte","podkręcane","podkręcone","podkreślane","podkreślone","podkształcone","podkulone","podkupione","podkurzone","podkute","podłączane","podłączone","podładowane","podłamane","podlane","podłapane","podleczone","podlegane","podlewane","podliczane","podliczone","podlizane","podlizywane","podłożone","podmalowane","podmieniane","podmienione","podmuchane","podmyte","podnajęte","podniecane","podniecone","podniesione","podnoszone","podołane","podopingowane","podostrzone","podotykane","podpadnięte","podpalane","podpalone","podparte","podpatrywane","podpatrzone","podpieczętowane","podpiekane","podpierane","podpięte","podpiłowane","podpinane","podpisane","podpisywane","podpłacone","podpłynięte","podpompowane","podporządkowane","podporządkowywane","podpowiadane","podpowiedziane","podprowadzane","podpuszczane","podpuszczone","podpychane","podpytane","podrabiane","podrapane","podrasowane","podratowane","podrażnione","podręczone","podregulowane","podreperowane","podretuszowane","podrobione","podroczone","podróżowane","podrygiwane","podrywane","podrzucane","podrzucone","podrzynane","podsadzone","podskubywane","podsłuchane","podsłuchiwane","podsmażane","podsmażone","podśpiewywane","podstawiane","podstawione","podstemplowane","podstrojone","podsumowane","podsumowywane","podsunięte","podsuwane","podświetlane","podsycane","podsycone","podsyłane","podsypane","podszczypywane","podszkolone","podszlifowane","podszykowane","podszyte","podszywane","podtapiane","podtarte","podtopione","podtrzymane","podtrzymywane","podtuczone","poduczane","podupadane","poduszone","podwajane","podwalane","podważane","podwędzone","podwiązane","podwieszane","podwiezione","podwijane","podwinięte","podwojone","podwożone","podwyżane","podwyższane","podwyższone","podyktowane","podyskutowane","podziabane","podziałane","podziałkowane","podziękowane","podzielone","podziurawione","podziwiane","podźwignięte","poeksperymentowane","pofarbowane","pofatygowane","pofilmowane","poganiane","pogardzane","pogardzone","pogarszane","pogaszone","pogładzone","pogłaskane","pogłębiane","pogłębione","pogłośnione","pogmatwane","pognębione","pogniecione","pogodzone","pogonione","pogorszone","pogotowane","pograbione","pogrążane","pogrążone","pogrożone","pogrubiane","pogrubione","pogruchane","pogruchotane","pogrupowane","pogrywane","pogryzane","pogryzione","pogrzane","pogrzebane","pogubione","pogwałcane","pohamowane","pohandlowane","poharatowane","pohuśtane","poinformowane","poinstruowane","pojednane","pojęte","pojmięte","pojmowane","pojone","pokajane","pokaleczone","pokarane","pokarmione","pokąsane","pokatalogowane","pokazane","pokazywane","pokiereszowane","pokierowane","pokiwane","pokładane","poklepane","poklepywane","pokłonione","pokłute","pokochane","pokolorowane","pokoloryzowane","pokołysane","pokombinowane","pokomplikowane","pokonane","pokończone","pokonywane","pokopane","pokrajane","pokrążone","pokręcone","pokrojone","pokruszone","pokryte","pokrywane","pokrzepiane","pokrzepione","pokrzyżowane","pokuszone","pokutowane","połączone","polakierowane","połamane","polane","połapane","połaskotane","połatane","polecane","połechtane","polecone","poleczone","polegane","polemizowane","polepszane","polepszone","polerowane","polewane","policzkowane","policzone","polimeryzowane","polizane","połknięte","polowane","połowione","położone","polubione","poluźnione","poluzowane","połykane","pomacane","pomachane","pomagane","pomalowane","pomarynowane","pomasowane","pomazane","pomęczone","pomiatane","pomieszane","pomieszczone","pomijane","pominięte","pomiziane","pomknięte","pomnażane","pomniejszane","pomniejszone","pomnożone","pomoczone","pompowane","pomydlone","pomylone","pomyszkowane","pomywane","ponabijane","ponaciskane","ponadziewane","ponaglane","ponaglone","ponagrywane","ponaklejane","ponakłuwane","ponakrywane","ponaprawiane","ponawiane","poniańczone","poniechane","ponieiwerane","poniesione","poniszczone","poniżane","poniżone","ponoszone","ponowione","ponudzone","poobcinane","poobcowane","poobczajane","poobijane","poobmacywane","poobracane","poobserwowane","poodbijane","poodcinane","poodgryzane","poodkurzane","poodprawiane","poodsuwane","poodwalane","pooglądane","poograniczane","poopalane","poopiekane","poopwiadane","pootwierane","popadane","popakowane","popalone","poparte","poparzone","popchane","popchnięte","popędzane","popędzone","popękane","popełniane","popełnione","poperfumowane","popierane","popieszczone","popijane","popilnowane","popisane","popite","popłacone","popłakiwane","poplamione","poplątane","popluskane","popodcinane","popodziwiane","popoprawiane","poprane","poprasowane","poprawiane","poprawione","poproszone","poprowadzone","popryskane","poprzebierane","poprzeciągane","poprzecinane","poprzedzane","poprzeglądane","poprzeklinane","poprzekopywane","poprzemieszczane","poprzenoszone","poprzesadzane","poprześladowane","poprzestawiane","poprzesuwane","poprzewieszane","poprzewracane","poprzycinane","poprzymierzane","poprzytulane","poprzywiązywane","popsute","popudrowane","popukane","popularyzowane","popuszczane","popuszczone","popychane","popykane","popytane","porabiane","porachowane","poranione","poratowane","porażone","poręczone","porównane","porozbierane","porozbijane","porozciągane","porozcinane","porozdawane","porozdzielane","porozmieszczane","poróżnione","porozpędzane","porozpieszczane","porozprowadzane","porozpruwane","porozrzucane","porozstawiane","porozsyłane","porozumiewane","porozwalane","porozwiązywane","porozwieszane","porozwożone","portretowane","poruszane","poruszone","porwane","porysowane","porywane","porządkowane","porządzone","porzucane","porzucone","posądzane","posadzone","posądzone","pościągane","pościelone","pościerane","pościgane","pościnane","pościskane","posegregowane","posiadane","posiane","posiekane","posilane","posiłkowane","posilone","posiłowane","posiniaczone","posiorbane","poskąpione","poskładane","posklejane","poskramiane","poskręcane","poskrobane","poskromione","poskubane","posłane","posłodzone","poślubiane","poślubione","posługiwane","posmakowane","posmarowane","posolone","posortowane","pospekulowane","pospieszane","pośpieszane","pośpiewane","pospinane","pospłacane","posprawdzane","posprzątane","posprzedawane","pośredniczone","possane","postanowione","postane","postarane","postawione","postemplowane","posterowane","postradane","postraszone","postrugane","postrzegane","postrzelane","postrzelone","postukane","postymulowane","posunięte","posuwane","poświącane","poświadczone","poświecone","poświęcone","poświętowane","poświntuszone","posyłane","posypane","posypywane","poszarpane","poszastane","poszatkowane","poszczute","poszczycone","poszczypane","poszerzane","poszerzone","poszorowane","poszpiegowane","poszturchane","poszukane","poszukiwane","poszwędane","poszybowane","potakiwane","potarmoszone","potarte","potasowane","potęgowane","potępiane","potępione","potknięte","potoczone","potopione","potorturowane","potrącane","potrącone","potraktowane","potrojone","potrute","potrząsane","potrzaskane","potrząsnięte","potrząśnięte","potrzymane","Poturbowane","poturlane","potwierdzone","potykane","poucinane","pouczane","pouczone","poudawane","poukładane","pouprawiane","poupychane","pourywane","poustawiane","poużywane","powąchane","powachlowane","powalane","powalone","poważane","powbijane","powciągane","powciskane","powdychane","powęszone","powetowane","powiadamiane","powiadomione","powiązane","powiedziane","powiedzone","powiększane","powielane","powielone","powierzane","powierzone","powieszone","powiewane","powinszowane","powitane","powite","powkładane","powlekane","powłóczone","powodowane","powołane","powoływane","powożone","powpychane","powrócone","powrzucane","powsadzane","powściągnięte","powspominane","powstrzymane","powtarzane","powtórzone","powybierane","powybijane","powycierane","powycinane","powyciskane","powydawane","powyganiane","powyginane","powyjaśniane","powyjmowane","powyłączane","powymiatane","powymieniane","powynoszone","powypełniane","powypisywane","powyrywane","powyrzucane","powystrzelane","powysyłane","powywalane","powywieszane","powywracane","powzięte","pozabawiane","pozabijane","pozacierane","pożądane","pożądlone","pozadzierane","pozakładane","pozaklinane","pozałatwiane","pozamiatane","pozamieniane","pozamrażane","pozamykane","pozapalane","pozapinane","pozapisywane","pozapraszane","pożarte","pozasłaniane","pozastrzelane","pozatykane","pozbawiane","pozbawione","pozbierane","pozbyte","pozbywane","pozdejmowane","pozdrawiane","pozdrowione","pożegnane","pożerane","pozmiatane","pozmieniane","pozmywane","poznaczone","poznane","poznawane","poznęcane","pozorowane","pozostawiane","pozostawione","pozowane","pozrywane","pozszywane","pożute","pozwalniane","pozwane","pozwiązywane","pozwiedzane","pozwolone","pożyczane","pożyczone","pozyskane","pożyte","pozywane","pożywiane","pożywione","praktykowane","prane","prasowane","prawione","prażone","precyzowane","preferowane","prenumerowane","prezentowane","próbowane","procesowane","produkowane","profanowane","profilowane","prognozowane","programowane","projektowane","proklamowane","prolongowane","promieniowane","promowane","propagowane","proponowane","prosperowane","prostowane","proszkowane","proszone","protestowane","protokołowane","prowadzone","prowokowane","prute","pryskane","pryśnięte","przeanalizowane","przearanżowane","przebaczane","przebaczone","przebadane","przebiegnięte","przebierane","przebijane","przebite","przebolone","przebrane","przebudowane","przebudowywane","przebudzane","przebudzone","przebukowane","przebyte","przebywane","przeceniane","przecenione","przechlapane","przechodzone","przechowane","przechowywane","przechrzcone","przechwycone","przechwytywane","przechylane","przechylone","przechytrzane","przechytrzone","przeciągane","przeciągnięte","przeciążane","przeciążone","przeciekane","przecierane","przecierpiane","przecięte","przecinane","przeciskane","przeciśnięte","przeciwstawiane","przećwiczone","przeczekane","przeczesane","przeczesywane","przeczołgane","przeczute","przeczuwane","przeczyszczone","przeczytane","przedarte","przedawkowane","przedawkowywane","przedekorowane","przedłożone","przedłużane","przedłużone","przedmuchane","przedobrzone","przedostane","przedostawane","przedsiewzięte","przedstawiane","przedstawione","przedymane","przedyskutowane","przedzierane","przedziurawione","przedziurkowane","przeegzaminowane","przefaksowane","przefarbowane","przefasonowane","przefasowane","przefaxowane","przefiltrowane","przeformowane","przeforsowane","przegadane","przeganane","przeganiane","przegapiane","przegapione","przegięte","przeginane","przeglądane","przeglądnięte","przegłodzone","przegłosowane","przegonione","przegotowane","przegotowywane","przegrabione","przegradzane","przegrane","przegrupowane","przegrupowywane","przegrywane","przegryzane","przegryzione","przegrzane","przegrzebane","przegrzewane","przehandlowane","przeholowane","przeinstalowane","przeistoczone","przejadane","przejaskrawiane","przejaśnione","przejawiane","przejawione","przejechane","przejęte","przejeżdżane","przejmowane","przejrzane","przekabacane","przekabacone","przekablowane","przekalibrowane","przekalkulowane","przekarmiane","przekąszone","przekazywane","przekierowane","przekierowywane","przekimane","przekładane","przeklejone","przeklęte","przeklinane","przeklnięte","przekłute","przekonane","przekonfigurowane","przekonstruowane","przekonwertowane","przekonywane","przekopane","przekopywane","przekoziołkowane","przekraczane","przekręcane","przekręcone","przekreślane","przekreślone","przekroczone","przekrojone","przekrzyczone","przekrzywione","przekształcane","przekształcone","przekupione","przekupywane","przekute","przekwalifikowane","przełączane","przełączone","przeładowane","przeładowywane","przełamane","przełamywane","przelane","przelatywane","przeleciane","przelewane","przeleżane","przelicytowane","przeliczane","przeliczone","przeliterowane","przełknięte","przełożone","przełykane","przełyknięte","przemalowane","przemalowywane","przemaszerowane","przemawiane","przemeblowane","przemęczone","przemielone","przemieniane","przemierzone","przemieszczane","przemieszczone","przemijane","przemilczane","przemilczone","przeminięte","przemknięte","przemodelowane","przemusztrowane","przemycane","przemycone","przemyślane","przemyślone","przemyte","przemywane","przenegocjowane","przeniesione","przenikane","przeniknięte","przenoszone","przeobrażane","przeobrażone","przeoczane","przeoczone","przeorane","przeorganizowane","przeorientowane","przepadane","przepakowane","przepalone","przeparkowane","przepchane","przepchnięte","przepędzane","przepędzone","przepełniane","przepełnione","przepijane","przepiłowane","przepisane","przepisywane","przepite","przepłacane","przepłacone","przepłakane","przeplanowane","przepłoszone","przepłukane","przepłukiwane","przepłynięte","przepływane","przepompowane","przepompowywane","przepowiadane","przepowiedziane","przepracowane","przepracowywane","przeprane","przeprawiane","przeprawione","przeprogramowane","przeprojektowane","przeprowadzane","przeprowadzone","przepuszczane","przepuszczone","przepychane","przepytane","przepytywane","przerąbane","przerabiane","przeradzane","przerastane","przerażone","przeredagowane","przerejestrowane","przerobione","przerodzone","przerośnięte","przerwane","przerysowane","przerywane","przerzedzane","przerzucane","przerzucone","przesączone","przesadzane","przesądzane","przesadzone","przesądzone","prześcigane","prześcignięte","przesiadane","przesiadywane","przesiane","przesiedlane","przesiedlone","przesiedziane","przesiewane","przesilone","przeskakiwane","przeskalowane","przeskanowane","przeskoczone","przeskrobane","prześladowane","przesłaniane","przesłane","prześledzone","prześlizgnięte","przesłodzone","przesłonięte","przesłuchane","przesłuchiwane","przesmarowane","przesolone","przesortowane","przespane","prześpiewane","przessane","przestawiane","przestawione","przestemplowane","przestraszone","przestrojone","przestrzegane","przestrzelone","przestudiowane","przesunięte","przesuwane","prześwietlane","prześwietlone","przesyłane","przesypane","przesypiane","przesypywane","przeszarżowane","przeszczepiane","przeszczepione","przeszkadzane","przeszkolone","przeszmuglowane","przeszukane","przeszukiwane","przeszyte","przeszywane","przetaczane","przetańczone","przetapetowane","przetarte","przetestowane","przetkane","przetoczone","przetopione","przetrącone","przetransformowane","przetransmitowane","przetransponowane","przetransportowane","przetrawione","przetrwane","przetrząsane","przetrząśnięte","przetrzepane","przetrzymane","przetrzymywane","przetwarzane","przetworzone","przewalane","przewalczone","przewaletowane","przewalone","przeważane","przeważone","przewertowane","przewiązane","przewiązywane","przewidywane","przewidziane","przewiercane","przewiercone","przewieszane","przewieszone","przewietrzone","przewiezione","przewijane","przewinięte","przewitane","przewodniczone","przewodzone","przewożone","przewracane","przewrócone","przewyższane","przeymierzane","przeżarte","przeżeglowane","przeżegnane","przeziębione","przezimowane","przeznaczane","przeznaczone","przeżute","przezwyciężane","przezwyciężone","przeżyte","przezywane","przeżywane","przodowane","przpochlebione","przwdziewane","przybastowane","przybierane","przybijane","przybite","przybliżane","przybliżone","przybrane","przycelowane","przycepione","przychylone","przyciągane","przyciągnięte","przyciemnione","przycięte","przycinane","przyciskane","przyciśnięte","przyciszone","przyćmiewane","przyćmione","przycumowane","przyczepiane","przyczesane","przyczołgane","przyczynione","przydepnięte","przydeptane","przyduszone","przydzielane","przydzielone","przygarnięte","przygaszone","przygazowane","przygładzane","przygnębiane","przygniatane","przygniecione","przygotowane","przygruchane","przygrywane","przygryzane","przygryzione","przygrzane","przygwożdżone","przyhamowane","przyholowane","przyjane","przyjęte","przyjmowane","przyjrzane","przykładane","przyklejone","przyklepane","przykopane","przykręcane","przykręcone","przykrócone","przykryte","przykrywane","przykurzone","przykute","przykuwane","przyłączane","przyłączone","przylane","przyłapane","przylegane","przylepiane","przylepione","przyłożone","przymierzone","przymilane","przymknięte","przymocowane","przymuszane","przynależone","przyniesione","przynoszone","przynudzane","przyostrzone","przyozdabiane","przyozdobione","przypadnięte","przypakowane","przypakowywane","przypalane","przypalone","przyparte","przypasowane","przypatrywane","przypatrzone","przypieczętowane","przypiekane","przypierane","przypięte","przypilnowane","przypiłowane","przypinane","przypisane","przypisywane","przypłacone","przyplątane","przypłynięte","przypodobane","przypominane","przypomniane","przyporządkowane","przyprawiane","przyprawione","przyprowadzone","przypucowane","przypudrowane","przypuszczane","przypuszczone","przyrównane","przyrządzane","przyrządzone","przysiadane","przysiągnięte","przyskrzydlone","przyskrzyniane","przyskrzynione","przysłaniane","przysłane","przysłodzone","przysłonione","przysłuchiwane","przysługiwane","przysłużone","przysmażane","przysmażone","przyspieszane","przyspieszone","przysporzone","przysposobione","przyśrubowywane","przyssane","przystąpione","przystawiane","przystawione","przystemplowane","przystopowane","przystosowane","przystrojone","przysunięte","przysuwane","przyswajane","przyświecane","przyświęcone","przyswojone","przysyłane","przysypane","przyszpilone","przyszykowane","przyszyte","przyszywane","przytaczane","przytargane","przytarte","przytaszczane","przytępiane","przytępione","przytkane","przytłaczane","przytłoczone","przytłumione","przytoczone","przytrafione","przytroczone","przytruwane","przytrzasnięte","przytrzymane","przytrzymywane","przytulane","przytulone","przytwierdzane","przytwierdzone","przytykane","przyuczone","przyuważone","przywabione","przywalane","przywalone","przywarowane","przywarte","przywdziane","przywiązane","przywiązywane","przywidziane","przywiezione","przywitane","przywłaszczane","przywłaszczone","przywołane","przywoływane","przywożone","przywracane","przywrócone","przyznaczone","przyznane","przyznawane","przyzwalane","przyzwane","przyzwyczajane","przyzwyczajone","przyzywane","psiamane","pstrykane","pstryknięte","psute","publikowane","puchnięte","pucowane","pudłowane","pudrowane","puknięte","punktowane","pustoszone","puszczane","puszczone","puszkowane","puszone","pykane","pytane","rabowane","rachowane","racjonalizowane","racjonowane","raczone","radowane","ranione","raportowane","ratowane","ratyfikowane","reaktywowane","realizowane","reanimowane","recytowane","ręczone","redagowane","redukowane","reformowane","refowane","regenerowane","regionalizowane","regulowane","reinkarnowane","rejestrowane","reklamowane","rekomendowane","rekompensowane","rekonstruowane","rekreowane","rekrutowane","rekwirowane","relacjonowane","relaksowane","remodulowane","remontowane","renegocjowane","reorganizowane","reperowane","replikowane","represejonowane","reprezentowane","reprodukowane","resetowane","resocjalizowane","respektowane","resuscytowane","retuszowane","rewanżowane","rewidowane","rezerwowane","rezonowane","rezygnowane","reżyserowane","robione","rodzone","rojone","rolowane","romansowane","ronione","rozbawiane","rozbawione","rozbierane","rozbijane","rozbite","rozbłyśnięte","rozbrajane","rozbrojone","rozbudowane","rozbudowywane","rozbudzane","rozbudzone","rozbujane","rozcapierzone","rozchmurzone","rozchodzone","rozchylane","rozchylone","rozciągane","rozciągnięte","rozcieńczane","rozcieńczone","rozcierane","rozcięte","rozcinane","rozczarowane","rozczarowywane","rozczesane","rozczłonkowane","rozczulane","rozczytane","rozdane","rozdawane","rozdeptane","rozdmuchane","rozdmuchiwane","rozdrabniane","rozdrapane","rozdrapywane","rozdrażniane","rozdrażnione","rozduszone","rozdwojone","rozdysponowane","rozdzielane","rozdzielone","rozdzierane","rozdziewiczone","rozebrane","rozedrane","rozegrane","rozegrywane","rozepchane","rozerwane","rozesłane","rozgarnięte","rozgaszczane","rozgięte","rozglaszane","rozgłoszone","rozgniatane","rozgniecione","rozgniewane","rozgonione","rozgraniczone","rozgrane","rozgromione","rozgrywane","rozgryzane","rozgryzione","rozgrzane","rozgrzebywane","rozgrzeszone","rozgrzewane","rozhuśtane","rozjaśniane","rozjaśnione","rozjechane","rozjedzone","rozjuszane","rozjuszone","rozkazane","rozkazywane","rozkładane","rozklejane","rozklejone","rozkołysane","rozkopane","rozkopywane","rozkoszowane","rozkręcane","rozkręcone","rozkrojone","rozkruszone","rozkute","rozkuwane","rozkwaszone","rozkwaterowane","rozkwitane","rozkwitnięte","rozłączone","rozładowane","rozładowywane","rozłamane","rozlane","rozlewane","rozliczane","rozliczone","rozlokowane","rozłożone","rozłupane","rozluźniane","rozmanażane","rozmasowane","rozmawiane","rozmazane","rozmazywane","rozmiękczone","rozmieniane","rozmienione","rozmieszczane","rozmieszczone","rozminięte","rozmnożone","rozmontowane","rozmówione","rozmrażane","rozmrożone","rozmyślane","rozmyte","różnicowane","rozniecane","rozniecione","rozniesione","różnione","roznoszone","rozochocone","rozpaczane","rozpakowane","rozpakowywane","rozpalane","rozpalone","rozpamiętywane","rozpaskudzane","rozpatrywane","rozpatrzone","rozpędzane","rozpędzone","rozpętane","rozpieszczane","rozpieszczone","rozpięte","rozpiłowane","rozpinane","rozpisane","rozpisywane","rozplanowane","rozpłaszczane","rozpłaszczone","rozplątane","rozplątywane","rozpłynięte","rozpoczęte","rozpoczynane","rozpogodzone","rozporządzane","rozporządzone","rozpościerane","rozpostrzone","rozpowiadane","rozpowiedziane","rozpowszechniane","rozpowszechnione","rozpoznane","rozpoznawane","rozpracowane","rozpraszane","rozprawiane","rozprawiczone","rozprawione","rozprostowane","rozproszone","rozprowadzane","rozprowadzone","rozprute","rozpruwane","rozprzestrzeniane","rozprzestrzenione","rozpuszczane","rozpuszczone","rozpychane","rozpylane","rozpylone","rozpytane","rozpytywane","rozrastane","rozreklamowane","rozrobione","rozrośnięte","rozróżniane","rozróżnione","rozruszane","rozrysowane","rozrywane","rozrzucane","rozsadzane","rozsadzone","rozsądzone","rozścielone","rozsiane","rozsiekane","rozsiewane","rozsiodłane","rozsławiane","rozsławione","rozsmarowane","rozsmarowywane","rozśmieszane","rozstane","rozstąpione","rozstawane","rozstawiane","rozstawione","rozstrojone","rozstrząsane","rozstrzeliwane","rozstrzelone","rozstrzygane","rozstrzygnięte","rozsunięte","rozsupłane","rozświetlane","rozświetlone","rozsyłane","rozsypane","rozsypywane","rozszarpane","rozszarpywane","rozszczepiane","rozszczepione","rozszerzane","rozszerzone","rozszyfrowane","roztaczane","roztapiane","roztarte","roztoczone","roztopione","roztrwonione","roztrząsane","roztrzaskane","rozumiane","rozumowane","rozwalane","rozwalone","rozwarte","rozważane","rozważone","rozweselane","rozweselone","rozwiane","rozwiązane","rozwiązywane","rozwidniane","rozwiedzione","rozwierane","rozwiercone","rozwieszane","rozwieszone","rozwiewane","rozwiezione","rozwikłane","rozwinięte","rozwlekane","rozwodzone","rozwścieczane","rozwścieczone","rozzłoszczone","rugane","ruinowane","rujnowane","runięte","ruszane","ruszone","rwane","ryczane","ryglowane","rymowane","rysowane","ryte","ryzykowane","rządzone","rzeźbione","rżnięte","rzucane","rzucone","rzygane","sabotażowane","sączone","sadzane","sadzone","sądzone","salutowane","salwowane","sankcjonowane","satysfakcjonowane","scalone","scementowane","scentrowane","scharakteryzowane","schładzane","schlane","schlapane","schlebione","schłodzone","schowane","schronione","schrupane","schrzanione","schwytane","schylane","ściągnięte","ścielone","ściemniane","ściemnione","ścierane","ścierpione","ścięte","ścigane","ścinane","ściskane","ściśnięte","ściszane","ściszone","sędziowane","segregowane","selekcjonowane","separowane","sępione","serwowane","sfabrykowane","sfajczone","sfałszowane","sfaulowane","sfilmowane","sfinalizowane","sfinansowane","sfingowane","sformalizowane","sformatowane","sformowane","sformułowane","sforsowane","sfotografowane","shimmerowane","siane","siekane","siorbane","skadrowane","skakane","skalane","skaleczone","skalibrowane","skalkulowane","skalpowane","skanalizowane","skandowane","skanowane","skapitulowane","skarcone","skarżone","skasowane","skatalogowane","skazane","skażone","skazywane","skierowane","składane","składowane","skłaniane","sklasyfikowane","sklecione","sklejane","sklejone","sklepane","skłócone","skłonione","sklonowane","sknocone","skojarzone","skolonizowane","skołowane","skombinowane","skomentowane","skompensowane","skompletowane","skomplikowane","skomponowane","skompresowane","skompromitowane","skomunikowane","skonane","skoncentrowane","skończone","skondensowane","skonfigurowane","skonfiskowane","skonfrontowane","skonkretyzowane","skonsolidowane","skonstruowane","skonsultowane","skonsumowane","skontaktowane","skontrolowane","skoordynowane","skopane","skopiowane","skorektowane","skorumpowane","skorygowane","skorzystane","skoszone","skracane","skradzione","skręcane","skręcone","skremowane","skreślane","skreślone","skrobane","skrobnięte","skrócone","skrojone","skropione","skruszone","skrystalizowane","skryte","skrytykowane","skrywane","skrzecowane","skrzepnięte","skrzyczane","skrzyte","skrzywdzone","skrzyżowane","skserowane","skubane","skubnięte","skulone","skumulowane","skupiane","skupione","skupowane","skurczone","skuszone","skute","skuwane","skwitowane","słane","sławione","śledzone","ślinione","ślizgane","słodzone","słuchane","słyszane","smagane","smarowane","smażone","śmiecone","smute","smyrane","snute","sondowane","sortowane","spafycikowane","spakowane","spalane","spałaszowane","spalone","spałowane","spamiętane","spaprane","sparafrazowane","sparaliżowane","sparowane","spartaczone","spartolone","sparzone","spasowane","spatałaszone","spauzowane","spawane","spawione","specjalizowane","spędzane","spędzone","spekulowane","spełniane","spełnione","spenetrowane","spętane","spierane","spięte","śpiewane","spiłowane","spinane","spisane","spiskowane","spisywane","spite","spłacane","spłacone","splądrowane","splajtowane","splamione","spłaszczone","splatane","splątane","spłatane","spławiane","spławione","spłodzone","spłonięte","spłoszone","spłukane","spłukiwane","spluwane","spływane","spoczęte","spoczywane","spodziewane","spojone","spolaryzowane","spoliczkowane","sponiewierane","sponsorowane","spopielane","spopielone","spopularyzowane","sportretowane","sporządzane","sporządzone","spostrzegane","spotęgowane","spotkane","spotykane","spoufalane","spowalniane","spowiadane","spowodowane","spowolnione","spoźnione","spóźnione","spożytkowane","spożyte","spożywane","sprane","sprasowane","spraszane","sprawdzone","sprawione","sprawowane","sprecyzowane","spreparowane","sprężane","sprężone","spróbowane","sprofanowane","sprofilowane","sprostowane","sproszkowane","sproszone","sprowadzane","sprowadzone","sprowokowane","spryskane","spryskiwane","sprywatyzowane","sprzątane","sprzątnięte","sprzeczane","sprzedane","sprzedawane","sprzeniewierzone","spudłowane","spustoszone","spuszczane","spuszczone","spychane","ssane","stabilizowane","stacjonowane","staczane","staranowane","starczane","stargowane","startowane","stawiane","stawione","stemplowane","stenografowane","stepowane","sterowane","sterroryzowane","sterylizowane","stłamszone","stłumione","stnięte","stoczone","stołowane","stonowane","stopione","stopniowane","storpedowane","stosowane","strącane","stracone","strącone","strajkowane","straszone","stratowane","strawione","streamowane","stresowane","streszczane","streszczone","strofowane","strojone","stroszone","strugane","strute","strymowane","strząsane","strzaskane","strząśnięte","strzelone","strzepane","strzępione","strzepnięte","strzepywane","studiowane","studzone","stukane","stuknięte","stulone","stwardnione","stwarzane","stwierdzane","stwierdzone","stworzone","stykane","stylizowane","stymulowane","sugerowane","sumowane","sunięte","swatane","swawolone","świadczone","świecone","święcone","świerzbione","świętowane","świntuszone","sycone","sygnalizowane","symulowane","synchronizowane","sypane","sypnięte","szachrowane","szacowane","szafowane","szamotane","szanowane","szargane","szarpane","szarpnięte","szarżowane","szasowane","szastane","szatkowane","szczędzone","szczepione","szczerzone","szczute","szczycone","szczypane","szczytowane","szefowane","szemrane","szepnięte","szeptane","szerzone","szkalowane","szkicowane","szklone","szkodzone","szkolone","szlachtowane","szlifowane","szmuglowane","szokowane","szorowane","szpachlowane","szpanowane","szperane","szprycowane","sztachnięte","szturchane","szturchnięte","szturmowane","szufladkowane","szuflowane","szukane","szulerowane","szwankowane","szydełkowane","szydzone","szyfrowane","szykanowane","szykowane","szyte","taktowane","tamowane","tankowane","tapetowane","taplane","taranowane","targane","targnięte","targowane","tarmoszone","tarte","tarzane","tasowane","taszczone","tatuowane","tchnięte","telefonowane","telegrfowane","teleportowane","temperowane","teoretyzowane","tępione","terroryzowane","testowane","tkane","tknięte","tłamszone","tłoczone","tłumaczone","tłumione","toczone","tolerowane","tonowane","topione","torowane","torturowane","towarzyszone","trąbione","trącane","tracone","trącone","trafiane","trafione","tragizowane","traktowane","transferowane","transformowane","transmitowane","transportowane","tratowane","trawione","trenowane","tresowane","triumfowane","tropione","troszczone","trute","trwonione","trymowane","tryskane","tryśnięte","tryumfowane","trywializowane","trzaskane","trzasnięte","trzepane","trzepnięte","trzepotane","trzęsione","trzymane","tuczone","tułane","tulone","turlane","tuszowane","twistowane","tworzone","tykane","tyranizowane","tyrane","tytułowane","uaktualniane","uaktualnione","uaktywniane","uaktywnione","uargumentowane","uatrakcyjnione","ubabrane","ubarwiane","ubarwione","ubawione","ubezpieczane","ubezpieczone","ubezwłasnowolnione","ubiczowane","ubiegane","ubierane","ubijane","ubite","ubłagane","ubliżane","ubliżone","ubolewane","ubóstwiane","ubrane","ubroczone","ubrudzone","ucałowane","ucharakteryzowane","uchowane","uchronione","uchwalane","uchwalone","uchwycone","uchylane","uchylone","uciągnięte","ucieleśniane","ucierane","ucierpiane","ucięte","ucinane","uciskane","uciśnięte","uciszane","uciszone","uciułane","ucywilizowane","uczczone","uczepione","uczesane","uczęszczane","uczone","ucztowane","uczute","uczynione","udane","udaremnione","udawane","udekorowane","udeptywane","uderzane","uderzone","udobruchane","udokumentowane","udomawiane","udomowione","udoskonalane","udoskonalone","udostępniane","udostępnione","udowadniane","udowodnione","Udramatyzowane","udręczone","udrożnione","udupione","uduszone","udzielane","udzielone","udźwignięte","ueiwarygodnione","ufane","ufarbowane","uformowane","ufortyfikowane","ufundowane","ugadane","uganiane","ugaszane","ugaszone","ugięte","uginane","ugłaskane","ugniatane","ugodzone","ugoszczone","ugotowane","ugrane","ugruntowane","ugryzione","ugrzęznięte","uhistoryzowane","uhonorowane","uiścite","ujadane","ujarzmiane","ujarzmione","ujawniane","ujawnione","ujęte","ujeżdżane","ujeżdżone","ujmowane","ujrzane","ukamieniowane","ukarane","ukartowane","ukąszone","ukatrupione","ukazane","ukazywane","ukierowane","ukierunkowane","układane","uklepane","ukłonione","ukłute","uknute","ukojone","ukołysane","ukończone","ukonkretnione","ukoronowane","ukradzione","ukręcane","ukręcone","ukrojone","ukryte","ukrywane","ukrzyżowane","ukształtowane","ukute","ułagodzone","ułaskawiane","ułaskawione","ulatniane","ułatwiane","ułatwione","uleczane","uleczone","ulegane","ulepione","ulepszane","ulepszone","ulokowane","ulotnione","ułożone","umacniane","umalowane","umartwiane","umawiane","umazane","umeblowane","umiejscowione","umieszczane","umieszczone","umilane","umilone","umknięte","umniejszane","umniejszone","umocnione","umocowane","umoczone","umodelowane","umorzone","umotywowane","umówione","umożliwiane","umożliwione","umrocznione","umyte","unaocznione","unicestwiane","unicestwione","uniemożliwaine","uniemożliwione","unierochomione","uniesione","unieszczęśliwiane","unieszczęśliwione","unieszkodliwiane","unieszkodliwione","unieważniane","unieważnione","uniewinnione","uniezależnione","unikane","uniknięte","unormowane","unoszone","unowoczesniane","unowocześniane","uodpornione","uogólniane","upakowane","upalane","upalone","upamiętniane","upamiętnione","upaństwowione","upaprane","uparte","upaskudzone","upchane","upchnięte","upewniane","upewnione","upgradowane","upichcone","upiększane","upiększone","upierane","upierdolone","upięte","upijane","upilnowane","upinane","upite","uplastycznione","upłynięte","upodabniane","upodobnione","upojone","upokorzane","upokorzone","upolowane","upominane","uporządkowane","upowszechnione","upozorowane","upozowane","uprane","uprasowane","upraszczane","uprawdopodobnione","uprawiane","uproszczone","uproszone","uprowadzane","uprowadzone","uprzątane","uprzątnięte","uprzedone","uprzedzane","uprzyjemniane","uprzyjemnione","uprzykrzane","uprzytomnione","upubliczniane","upublicznione","upudrowane","upuszczane","upuszczone","upychane","urabiane","uraczane","uradowane","Urągane","uratowane","urażane","urażone","uregulowane","urobione","uronione","urośnięte","urozmaicane","urozmaicone","uruchamiane","uruchomione","urwane","urywane","urządzane","urządzone","urzeczywistniane","urzeczywistnione","urżnięte","usadowione","usadzone","usamowolnione","usankcjonowane","usatyfakcjonowane","uschnięte","uściskane","uścislone","uściśnięte","usidlone","usiedzone","uskładane","uskoczone","uskuteczniane","uskutecznione","usłuchane","usługiwane","usłużone","usłyszane","usmażone","uśmiane","uśmiercane","uśmiercone","uśmierzone","uspane","uśpione","uspokajane","uspokojone","uspołeczniane","usprawiedliwiane","usprawiedliwione","usprawnione","usprzątane","ustabilizowane","ustalane","ustalone","ustanawiane","ustanowione","ustąpione","ustatkowane","ustawiane","ustawione","ustępowane","ustosunkowane","ustrojone","ustrzegane","ustrzelone","usunięte","ususzone","usuwane","uświadamiane","uświadczone","uświadomione","uświęcone","uświnione","usychane","usypane","usypiane","usystematyzowane","usytuowane","uszanowane","uszczelniane","uszczęśliwiane","uszczęśliwione","uszczuplone","uszczypnięte","uszkadzane","uszkodzone","uszlachetniane","uszlachetnione","usztywnione","uszykowane","uszyte","utajnione","utargowane","utarte","utemperowane","utkane","utknięte","utkwione","utoczone","utopione","utorowane","utożsamiane","utożsamione","utracone","utrącone","utrudniane","utrudnione","utrwalane","utrwalone","utrzymywane","utuczone","utulone","utwierdzane","utwierdzone","utworzone","utylizowane","uwalniane","uwalone","uwarunkowane","uważane","uwiązane","uwiązywane","uwidocznione","uwieczniane","uwiecznione","uwielbiane","uwielbione","uwieńczone","uwierane","uwierzone","uwieszone","uwiezione","uwięzione","uwijane","uwikłane","uwinięte","uwite","uwłaczane","uwłaszczone","uwodzone","uwolnione","uwsteczniane","uwstecznione","uwydatniane","uwypiklone","uwzględniane","uwzględnione","użądlone","uzależniane","uzależnione","uzasadniane","uzasadnione","uzbierane","uzbrajane","uzbrojone","uzdrawiane","uzdrowione","użerane","uzewnętrzniane","uzewnętrznione","uzgadniane","uzgodnione","uziemione","uzmysłowione","uznane","uznawane","uzupełniane","uzupełnione","uzurpowane","użyczane","użyczone","uzyskane","uzyskiwane","użyte","używane","wabione","wąchane","wachlowane","wahane","walczone","wałkowane","walnięte","walone","ważone","wbijane","wbite","wcelowane","wchłonięte","wciągane","wciągnięte","wcielane","wcielone","wcierane","wcięte","wcinane","wciskane","wciśnięte","wczepione","wczołgane","wczute","wczytane","wczytywane","wdane","wdarte","wdawane","wdepnięte","wdeptane","wdetonowane","wdmuchiwane","wdrapane","wdrapywane","wdrażane","wdrążone","wdrożone","wduszone","wdychane","wdzierane","wędkowane","wentylowane","wepchane","wepchnięte","werbowane","weryfikowane","wessane","wetkane","wetknięte","wezwane","wgłębiane","wgniatane","wgniecione","wgrane","wgryzane","wgryzione","wiązane","wibrowane","widywane","widziane","wiedzone","wielbione","wiercone","wierzgane","wierzone","wieszane","wietrzone","więżone","wikłane","windowane","winszowane","wiosłowane","wirowane","witane","wite","wizualizowane","wjeżdżane","wkalkulowane","wkładane","wklejane","wklejone","wklepane","wkłute","wkomponowane","wkopane","wkopywane","wkraczane","wkradane","wkradzione","wkręcane","wkręcone","wkupione","wkurwiane","wkute","wkuwane","włączane","włączone","władane","władowane","włamane","włamywane","wlane","wlepiane","wlepione","wlewane","wliczane","wliczone","włożone","wmanewrowane","wmanipulowane","wmawiane","wmieszane","wmówione","wmurowane","wmuszone","wnerwiane","wnerwione","wniesione","wnikane","wniknięte","wnioskowane","wnoszone","wodowane","wojowane","wołane","woskowane","wożone","wpajane","wpakowane","wparowane","wpasowane","wpatrywane","wpędzane","wpędzone","wperswadowane","wpienione","wpięte","wpisane","wpisywane","wpłacane","wpłacone","wplatane","wplątane","wplątywane","wpojone","wpompowane","wpraszane","wprawiane","wproszone","wprowadzane","wprowadzone","wpuszczone","wpychane","wrabiane","wręczane","wrobione","wróżone","wryte","wrzucane","wrzucone","wrzynane","wsadzane","wsadzone","wskazane","wskazywane","wskórane","wskrzeszane","wskrzeszone","wślizgiwane","wślizgnięte","wsłuchane","wsparte","wspierane","wspięte","współczute","współodczuwane","współtworzone","współżyte","wspomagane","wspominane","wspomniane","wstąpione","wstawiane","wstawione","wstrząsane","wstrząśnięte","wstrzelone","wstrzykiwane","wstrzyknięte","wstrzymane","wstrzymywane","wstukane","wsunięte","wsuwane","wsypane","wszamane","wszczepiane","wszczepione","wszczęte","wszczynane","wszyte","wtajemniczane","wtajemniczone","wtapiane","wtargnięte","wtarte","wtaszczone","wtłoczone","wtopione","wtrącone","wtryniane","wtulane","wtulone","wtykane","wwalone","wwiercane","wwiercone","wwiezione","wwożone","wyartykułowane","wyautowane","wybaczane","wybaczone","wybadane","wybatożone","wybawione","wybebeszone","wybełkotane","wybiczowane","wybielane","wybielone","wybierane","wybijane","wybite","wybłagane","wyblaknięte","wybrandzlowane","wybrane","wybronione","wybrzydzane","wybuchane","wybuchnięte","wybudowane","wybudzane","wybudzone","wyburzane","wyburzone","wycackane","wycałowane","wyceniane","wycenione","wychlane","wychłostane","wychodowane","wychowane","wychowywane","wychrobotane","wychwalane","wychwycone","wychylane","wychylone","wyciągane","wyciągnięte","wyciekane","wycieniowane","wycierane","wycięte","wycinane","wyciskane","wyciśnięte","wyciszane","wyciszone","wycofane","wyćwiczone","wycyckane","wycyganione","wyczarowane","wyczarterowane","wyczekane","wyczekiwane","wyczerpane","wyczesane","wyczołgane","wyczołgiwane","wyczute","wyczuwane","wyczyniane","wyczyszczone","wyczytane","wyczytywane","wydalane","wydalone","wydane","wydębione","wydedukowane","wydelegowane","wydepilowane","wydeptywane","wydłubane","wydłubywane","wydłużane","wydłużone","wydmuchane","wydmuchiwane","wydobyte","wydobywane","wydojone","wydoroślane","wydostane","wydrane","wydrapane","wydrapywane","wydrążone","wydrukowane","wydukane","wyduszone","wydychane","wydziedziczone","wydzielane","wydzielone","wydzierane","wydzierżawione","wydziobane","wydziwiane","wydzwaniane","wyedukowane","wyedytowane","wyeeliminowane","wyegzekwowane","wyeksmitowane","wyekspediowane","wyeksploatowane","wyeksponowane","wyeksportowane","wyeliminowane","wyemigrowane","wyemitowane","wyewoluowane","wyfrunięte","wygadane","wygadywane","wyganiane","wygarbowane","wygarniane","wygarnięte","wygasane","wygaśnięte","wygaszane","wygaszone","wygenerowane","wygięte","wyginane","wygładzane","wygładzone","wygłaszane","wygłodzone","wygłosowane","wygłoszone","wygłówkowane","wygnane","wygolone","wygonione","wygooglowane","wygospodarowane","wygotowane","wygrane","wygrawerowane","wygrażane","wygrywane","wygryzione","wygrzane","wygrzebane","wygrzebywane","wygrzewane","wygubione","wyhaczone","wyhaftowane","wyhamowane","wyhodowane","wyizolowane","wyjadane","wyjaśniane","wyjaśnione","wyjawiane","wyjawione","wyjedzone","wyjęte","wyjmowane","wykadrowane","wykalibrowane","wykalkulowane","wykańczane","wykantowane","wykąpane","wykaraskane","wykarczowane","wykarmiane","wykasowane","wykastrowane","wykazane","wykazywane","wykierowane","wykitowane","wykiwane","wykładane","wyklarowane","wyklepane","wyklinane","wykłócane","wykluczane","wykluczone","wyklute","wykłute","wykminione","wykolejone","wykołowane","wykombinowane","wykonane","wykończone","wykonywane","wykopane","wykopnięte","wykopywane","wykorkowane","wykorzeniane","wykorzenione","wykorzystane","wykorzystywane","wykoszone","wykpite","wykradane","wykradnięte","wykręcane","wykręcone","wykreowane","wykreślane","wykreślone","wykrochmalone","wykrojone","wykrwawiane","wykrwawione","wykryte","wykrywane","wykrzesane","wykrztuszone","wykrzyczone","wykrzykiwane","wykrzyknięte","wykrzywiane","wykształcone","wyksztuszone","wykupione","wykupywane","wykute","wykuwane","wyłączane","wyłączone","wylądowane","wyładowane","wyładowywane","wyłajane","wyłamane","wyłamywane","wyłaniane","wylansowane","wylane","wyłapane","wyłapywane","wyławiane","wyleasingowane","wyleczone","wylęgane","wylegimytowane","wylewane","wyłgane","wylicytowane","wyliczane","wyliczone","wylizane","wylizywane","wylogowane","wyłonione","wylosowane","wyłowione","wyłożone","wyłudzane","wyłudzone","wyłupane","wyłuskane","wyłuskiwane","wyłuszczone","wyluzowane","wymacane","wymachiwane","wymagane","wymahiwane","wymalowane","wymamrotane","wymanewrowane","wymarzone","wymasowane","wymawiane","wymazane","wymazywane","wymeldowane","wymeldowywane","wymiatane","wymiecione","wymieniane","wymienione","wymierzane","wymieszane","wymigane","wymigiwane","wymijane","wyminięte","wymknięte","wymoczone","wymodelowane","wymontowane","wymordowane","wymsknięte","wymuszane","wymyślane","wymyślone","wymyte","wynagradzane","wynagrodzone","wynajdowane","wynajdywane","wynajęte","wynajmowane","wynalezione","wynarodowione","wynegocjowane","wyniesione","wyniknięte","wyniszczane","wyniszczone","wyniuchane","wynoszone","wynurzane","wyobrażane","wyobrażone","wyodrębnione","wyolbrzymiane","wyolbrzymione","wyorbowane","wyosiowane","wyostrzane","wyostrzone","wypaczane","wypakowane","wypakowywane","wypalane","wypalone","wypałowane","wyparowane","wyparte","wypasane","wypastowane","wypatroszone","wypatrywane","wypatrzone","wypchane","wypchnięte","wypędzane","wypędzlowane","wypełniane","wypełnione","wypersfadowane","wyperswadowane","wypierane","wypięte","wypijane","wypinane","wypisane","wypisywane","wypite","wypłacane","wypłacone","wypłakane","wypłakiwane","wypłaszczone","wyplatane","wyplątane","wyplenione","wyplewione","wypłoszone","wypłukane","wypłukiwane","wyplute","wypluwane","wypocone","wypoczęte","wypolerowane","wypominane","wypomniane","wypompowane","wypompowywane","wyposażone","wypowiadane","wypowiedziane","wypoziomowane","wypożyczane","wypracowane","wypracowywane","wyprane","wyprasowane","wypraszane","wyprawiane","wyprawione","wypróbowane","wyprodukowane","wyprojektowane","wypromieniowane","wypromowane","wyprostowane","wyprostowywane","wyproszone","wyprowadzane","wyprowadzone","wypróżniane","wypróżnione","wyprute","wypruwane","wyprzedane","wyprzedawane","wyprzedzane","wyprzedzone","wyprzęgane","wypstrykane","wypucowane","wypuszczane","wypuszczone","wypychane","wypytane","wypytywane","wyrąbane","wyrabiane","wyrąbywane","wyratowane","wyrażane","wyrażone","wyrecytowane","wyręczane","wyręczone","wyregulowane","wyrejestrowane","wyremontowane","wyreżyserowane","wyrobione","wyrolowane","wyrośnięte","wyrównane","wyrównywane","wyróżniane","wyróżnione","wyrugowane","wyruszane","wyrwane","wyrypane","wyrysowane","wyryte","wyrywane","wyrządzone","wyrzeźbione","wyrżnięte","wyrzucane","wyrzucone","wyrzygane","wyrzynane","wyrzywane","wysączone","wysadzane","wysadzone","wyschnięte","wyściskane","wyselekcjonowane","wysępione","wysiadywane","wysiedzone","wysilane","wysilone","wyskakiwane","wyskalowane","wyskoczone","wyskrobane","wyskubywane","wysłane","wyśledzone","wyślizgiwane","wyślizgnięte","wysłowione","wysłuchane","wysłuchiwane","wysmagane","wysmarkane","wysmarowane","wysmażane","wysmażone","wyśmiane","wyśmiewane","wysmołowane","wysmyrane","wyśnione","wysnute","wysnuwane","wysondowane","wyspecjalizowane","wyśpiewane","wyśpiewywane","wyspowiadane","wysprzątane","wysprzedane","wyssane","wystartowane","wystawione","wysterelizowane","wysterylizowane","wystosowane","wystosowywane","wystraszone","wystrojone","wystrugane","wystrychnięte","wystrzegane","wystrzelane","wystrzeliwane","wystrzelone","wystudzone","wystukane","wystukiwane","wystygnięte","wysunięte","wysuszane","wysuwane","wyswatane","wyświadczane","wyświadczone","wyświetlane","wyświetlone","wyswobodzone","wysyłane","wysypane","wysypywane","wysysane","wyszabrowane","wyszalane","wyszarpane","wyszarpnięte","wyszasowane","wyszczotkowane","wyszczuplone","wyszeptane","wyszkolone","wyszlifowane","wyszorowane","wyszperane","wyszukane","wyszukiwane","wyszumione","wyszykowane","wyszyte","wytapetowane","wytargane","wytargowane","wytarte","wytarzane","wytaszczone","wytatuowane","wytchnięte","wytępione","wytknięte","wytłoczone","wytłumaczone","wytłumione","wytoczone","wytrąbione","wytrącane","wytrącone","wytransmitowane","wytransportowane","wytrenowane","wytresowane","wytriangulowane","wytropione","wytrute","wytrząsane","wytrzasnięte","wytrząśnięte","wytrzebione","wytrzepane","wytrzeszczane","wytrzeźwiane","wytrzymane","wytrzymywane","wytwarzane","wytworzone","wytyczone","wytykane","wytypowane","wyuczone","wywabiane","wywabione","wywąchane","wywalane","wywalczone","wywalone","wywarte","wywarzane","wyważane","wyważone","wywęszane","wywężykowane","wywiane","wywiązane","wywiązywane","wywierane","wywiercone","wywieszane","wywieszone","wywietrzone","wywiezione","wywijane","wywindowane","wywinięte","wywłaszczone","wywlekane","wywnętrznione","wywnioskowane","wywodzone","wywolane","wywoływane","wywoskowane","wywożone","wywracane","wywrócone","wywróżone","wywyższane","wyżalone","wyzbyte","wyzdrowione","wyżebrane","wyżerane","wyzerowane","wyzionięte","wyznaczane","wyznaczone","wyznane","wyznawane","wyzwalane","wyzwane","wyzwolone","wyzygzakowane","wyżynane","wyzyskane","wyzyskiwane","wyżyte","wyzywane","wyżywane","wyżywione","wzbijane","wzbite","wzbogacane","wzbogacone","wzbraniane","wzbudzane","wzbudzone","wzburzane","wzburzone","wżenione","wzięte","wzmacnione","wzmagane","wzmocnione","wznawiane","wzniecane","wzniecione","wzniesięte","wznoszone","wznowione","wzorowane","wzrośnięte","wzruszone","wzwyżane","wzywane","zaabordowane","zaadaptowane","zaadoptowane","zaadresowane","zaakcentowane","zaakceptowane","zaaklimatyzowane","zaalarmowane","zaanektowane","zaangażowane","zaanonsowane","zaapelowane","zaaplikowane","zaaportowane","zaaprobowane","zaaranżowane","zaaresztowane","zaatakowane","zabaczone","zabalowane","zabandażowane","zabarwione","zabarykadowane","zabawiane","zabawione","zabepieczane","zabetonowane","zabezpieczone","zabierane","zabite","zabłądzone","zablefowane","zabłocone","zablokowane","zabraniane","zabrane","zabrnięte","zabronione","zabrudzone","zabudowane","zabukowane","zabulone","zaburzone","zabutelkowane","zacementowane","zacerowane","zachciane","zachęcane","zachęcone","zachlapane","zachodzone","zachomikowane","zachorowane","zachowane","zachowywane","zachwalane","zachwalone","zachwiane","zachwycone","zaciągane","zaciągnięte","zaciążone","zaciekawione","zaciemniane","zaciemnione","zacierane","zacieśnione","zacięte","zacinane","zaciskane","zaciśnięte","zaćmione","zacumowane","zacytowane","zaczadzone","zaczarowane","Zaczepiane","zaczepione","zaczerpane","zaczesane","zaczęte","zaczołgane","zaczynane","zadarte","zadawalane","zadawane","zadbane","zadebiutowane","zadedykowane","zadeklamowane","zadeklarowane","zademonstrowane","zadenucjowane","zadepeszowane","zadeptane","zadeptywane","zadęte","zadławione","żądlone","zadłużane","zadłużone","zadokowane","zadomowione","zadowalane","zadrapane","zadraśnięte","zadręczane","zadręczone","zadrutowane","zadurzane","zadurzone","zaduszone","zadymione","zadźgane","zadziobane","zadziwiane","zadziwione","zafakturowane","zafałszowane","zafarbowane","zafiksowane","zafundowane","zagadane","zagadnięte","zagadywane","zagajone","zaganiane","zagapione","zagarażowane","zagarniane","zagarnięte","zagaszone","zagazowane","zagęszczone","zagięte","zaginane","zaginięte","zagłębiane","zagłębione","zagłodzone","zagłuszane","zagłuszone","zagmatwane","zagnane","zagnieżdżone","zagojone","zagonione","zagospodarowane","zagotowane","zagrabione","zagradzane","zagrażane","zagrodzone","zagrywane","zagryzane","zagryzione","zagrzane","zagrzebane","zagrzewane","zagubione","zagwarantowane","zahaczone","zahamowane","zahandlowane","zaharowane","zahartowane","zahipnotyzowane","zaholowane","zaimitowane","zaimplantowane","zaimplementowane","zaimprowizowane","zainaugurowane","zainfekowane","zainicjowane","zainkasowane","zainscenizowane","zainspirowane","zainstalowane","zainteresowane","zaintrygowane","zaintubowane","zainwestowane","zaizolowane","zajadane","zajane","zajarane","zajechane","zajęte","zajmowane","zakablowane","zakamuflowane","zakasane","zakasowane","zakąszane","zakatalogowane","zakatowane","zakatrupione","zakazane","zakażane","zakazywane","zakiszone","zakładane","zaklasyfikowane","zaklejane","zaklejone","zaklepane","zaklepywane","zaklinane","zaklinowane","zakłócane","zakłócone","zaklopotane","zakłute","zakneblowane","zakodowane","zakolczykowane","zakolorowane","zakołysane","zakomunikowane","zakończone","zakonserwowane","zakopane","zakopywane","zakorzeniane","zakorzenione","zakoszone","zakosztowane","zakotwiczane","zakotwiczone","zakpione","zakradane","zakręcane","zakręcone","zakreślane","zakreślone","zakrwawione","zakryte","zakrywane","zakrzyczane","zakrzyknięte","zakrzywiane","zakrzywione","zaksięgowane","zaktualizowane","zaktywizowane","zaktywowane","zakumane","zakupione","zakurzone","zakute","zakuwane","zakwaterowane","zakwestionowae","zakwitnięte","załączone","załadowane","załagodzone","zalamane","zalaminowane","załamywane","zalane","załapane","załatane","załatwiane","załatwione","zalatywane","zalecane","zalecone","zaleczone","zalegalizowane","zalegane","zalepiane","zalepione","zalewane","zaliczane","zaliczone","załkane","zalogowane","żałowane","założone","zaludnione","zamacane","zamachnięte","zamącone","zamalowane","zamanewrowane","zamanifestowane","zamarkowane","zamartwiane","zamarynowane","zamarzane","zamarznięte","zamaskowane","zamawiane","zamazane","zamazywane","zamęczane","zamęczone","zameldowane","zamelinowane","zamerykanizowane","zamiatane","zamieniane","zamienione","zamieszane","zamieszczane","zamieszczone","zamieszkane","zamieszkiwane","zaminowane","zamknięte","zamocowane","zamoczone","zamontowane","zamordowane","zamortyzowane","zamotane","zamówione","zamrażane","zamroczone","zamrożone","zamulane","zamurowane","zamydlone","zamykane","zanalizowane","zanegowane","zaniechane","zanieczyszczane","zanieczyszczone","zaniedbane","zaniedbywane","zaniepokojone","zaniesione","zanihilowane","zanikane","zaniknięte","zaniżane","zaniżone","zanoszone","zanotowane","zanucone","zanudzane","zanudzone","zanurzane","zanurzone","zanużone","zaobaczone","zaobserwowane","zaoferowane","zaofiarowane","zaogniane","zaognione","zaokrąglane","zaokrąglone","zaokrętowane","zaopatrywane","zaopatrzone","zaopiekowane","zaorane","zaostrzane","zaostrzone","zaoszczędzone","zapadane","zapakowane","zapalane","zapalone","zapamiętane","zapamiętywane","zapanowane","zaparkowane","zaparowywane","zaparzane","zaparzone","zapaskudzone","zapauzowane","zapchane","zapędzane","zapełniane","zapełnione","zaperfumowane","zapeszane","zapewniane","zapewnione","zapieczętowane","zapierane","zapięte","zapijane","zapinane","zapisane","zapisuwane","zapite","zapłacone","zapładniane","zaplamione","zaplanowane","zaplątane","zapłodnione","zaplombowane","zapobiegane","zapodane","zapodawane","zapodziane","zapokojone","zapolowane","zapominane","zapomniane","zapowiadane","zapowiedziane","zapoznane","zapoznawane","zapożyczone","zapracowywane","zaprane","zaprasowywane","zapraszane","zaprawione","zaprenumerowane","zaprezentowane","Zaprogramowane","zaprojektowane","zaproponowane","zaproszone","zaprotokołowane","zaprowadzane","zaprowadzone","zaprzątane","zaprzeczane","zaprzeczone","zaprzedane","zaprzedawane","zaprzęgane","zaprzepaszczane","zaprzestane","zaprzestawane","zaprzyjaźnione","zapudłowane","zapunktowane","zapuszczane","zapuszczone","zapuszkowane","zapychane","zapylane","zapylone","zapytane","zarabiane","zaranżowane","zarażane","zarażone","zarecytowane","zaręczane","zaręczone","zarejestrowane","zareklamowane","zarekomendowane","zarekomondowane","zarekwirowane","zarezerwowane","zarobione","żartowane","zarwane","zaryglowane","zarymowane","zarysowane","zarywane","zaryzykowane","zarządzane","zarżnięte","zarzucane","zarzynane","zasadzone","zaścielone","zasegurowane","zaserwowane","zasiadane","zasiane","zasiedlone","zasięgane","zasięgnięte","zasiewane","zasilane","zasilone","zaskakiwane","zaskarbione","zaskoczone","zaskrobane","zasłaniane","zaślepiane","zaślepione","zasłodzone","zasłonione","zasłużone","zasmakowane","zaśmiecane","zaśmiecone","zasmradzane","zasmrodzone","zasmucane","zasmucone","zasolone","zaspakajane","zaśpiewane","zaspokajane","zaspokojone","zasponsorowane","zaśrubowywane","zassane","zastane","zastąpione","zastawiane","zastawione","zastępowane","zastopowane","zastosowane","zastraszane","zastraszone","zastrzelone","zasugerowane","zasunięte","zasuwane","zaświadczone","zaświecone","zaświonione","zasyfione","zasygnalizowane","zasymilowane","zasymulowane","zasypane","zasypywane","zasysane","zaszachowane","zaszantażowane","zaszargane","zaszczepiane","zaszczepione","zaszczute","zaszczycane","zaszczycone","zaszeptane","zaszeregowane","zaszlachtowane","zasznurowane","zaszpachlowane","zasztyletowane","zaszufladkowane","zaszyfrowane","zaszyte","zaszywane","zataczane","zatajane","zatajone","zatamowane","zatankowane","zatapiane","zatargane","zatarte","zatelegrafowane","zatemperowane","zatęsknione","zatkane","zatknięte","zatoczone","zatonięte","zatopione","zatracane","zatracone","zatriumfowane","zatrudniane","zatrudnione","zatrute","zatruwane","zatrzaskiwane","zatrzaśnięte","zatrząśnięte","zatrzymane","zatrzymywane","zatuszowane","zatwierdzane","zatwierdzone","zatykane","zatynkowane","zatytułowane","zauploadowane","zauroczone","zautomatyzowane","zauważane","zauważone","zawadzane","zawalane","zawalczone","zawalone","zawarte","zaważone","zawdzięczane","zawetowane","zawężone","zawiadamiane","zawiadomione","zawiązane","zawiązywane","zawiedzone","zawierane","zawierzone","zawieszane","zawieszone","zawiezione","zawijane","zawinięte","zawinione","zawiśnięte","zawitane","zawładnięte","zawłaszczone","zawodzone","zawojowane","zawołane","zawoskowane","zawożone","zawracane","zawrócone","zawstydzane","zażądane","zażartowane","zazdroszczone","zażegnane","zażenowane","zaznaczane","zaznajomione","zaznane","zaznawane","zażyczone","zażyte","zażywane","zbaczane","zbadane","zbagatelizowane","zbajerowane","zbałamucone","zbalansowane","zbalsamowane","zbankrutowane","zbawiane","zbawione","zbesztane","zbezczeszczone","zbierane","zbijane","zbite","zbliżone","zbluzgane","zbojkotowane","zbrojone","zbrukane","zbszczecone","zbudowane","zbudzone","zbuntowane","zburzone","zbyte","zbywane","zchwytane","zcięte","zciszone","zdane","zdarte","zdeaktywowane","zdecydowane","zdefiniowane","zdeflorowane","zdegradowane","zdejmowane","zdeklarowane","zdekodowane","zdekompresowane","zdekoncentrowane","zdekonstruowane","zdelegalizowane","zdemaskowane","zdementowane","zdemolowane","zdemontowane","zdemoralizowane","zdenerwowane","zdeponowane","zdeprymowane","zdeptane","zderzane","zderzone","zdestabilizowane","Zdetonowane","zdetronizowane","zdewastowane","zdewaulowane","zdezerterowane","zdezintegrowane","zdezorientowane","zdezynfektowane","zdiagnozowane","zdjęte","zdławione","zdmuchiwane","zdmuchnięte","zdobyte","zdobywane","zdołowane","zdominowane","zdopingowane","zdrabniane","zdradzane","zdradzone","zdrapane","zdrapywane","zdrutowane","zdruzgotane","zduplikowane","zduszone","zdwojone","zdyscyplinowane","zdyskredytowane","zdyskwalifikowane","zdystansowane","zdzielone","zdzierane","zdzierżone","zdziesiątkowane","Zdzwonione","zebrane","zechciane","zedytowane","żegnane","żenione","zepchnięte","zepsute","żerowane","zerwane","zerżnięte","zeskakiwane","zeskanowane","zeskrobywane","zesłane","ześlizgiwane","ześlizgnięte","zesmolone","zespawiane","zespolone","zessane","zestawiane","zestawione","zestresowane","zestrzeliwane","zestrzelone","zeswatane","zeszklone","zeszlifowane","zetknięte","zezłoszczone","zeznane","zeznawane","zezwalane","zezwolone","zfinansowane","zgadane","zgadywane","zgajane","zganione","zgarnięte","zgaśnięte","zgaszone","zgięte","zginane","zgładzone","zgłaszane","zgłębiane","zgłębione","zgłośnione","zgłoszone","zgłuszone","zgniatane","zgniecione","zgnite","zgnojone","zgodzone","zgolone","zgonione","zgotowane","zgrabione","zgrillowane","zgromadzane","zgromadzone","zgrupowane","zgrzeszone","zgrzytane","zgubione","zgwałcone","zhackowane","zhakowane","zhańbione","zhandlowane","zharmonizowane","zidentyfikowane","ziewane","zignorowane","zilustrowane","zinfiltrowane","zintegrowane","zintensyfikowane","zinterpretowane","zinwentaryzowane","zirytowane","zjadane","zjawiane","zjednane","zjednoczone","zjedzone","zjeżdżone","zkontaktowane","zkserowane","złączone","złagodzone","złajane","złamane","zlane","złapane","zlecane","zlecone","zlekceważone","zlepiane","zlepione","zlewane","zlicytowane","zliczane","zliczone","zlikwidowane","zlinczowane","zlitowane","zlizane","zlizywane","złoite","zlokalizowane","złomowane","żłopane","złowione","złożone","złupione","złuszczane","zluzowane","zmacane","zmącone","zmagane","zmagazynowane","zmajstrowane","zmaksylizowane","zmanipulowane","zmarnowane","zmartwychwstane","zmarznięte","zmasakrowane","zmaterializowane","zmawiane","zmazane","zmazywane","zmbobardowane","zmiatane","zmiażdżone","zmiękczone","zmielone","zmieniane","zmienione","zmierzane","zmierzone","zmierzwione","zmieszane","zmieszczone","zmiksowane","zminiaturyzowane","zminimalizowane","zmniejszane","zmniejszone","zmobilizowane","zmoczone","zmodernizowane","zmodyfikowane","zmoknięte","zmonopolizowane","zmontowane","zmostkowane","zmotywowane","zmówione","zmrożone","zmrużone","zmumifikowane","zmuszane","zmuszone","zmutowane","zmyślane","zmyte","zmywane","znacjonalizowane","znajdowane","znajdywane","znakowane","znalezione","znane","znęcane","zneutralizowane","zniechęcone","znieczulone","zniekształcane","zniekształcone","znienawidzone","znieprawione","zniesione","zniesławiane","zniesławione","zniewalane","znieważane","znieważone","zniewolone","zniszczone","zniweczone","zniwelowane","zniżane","zniżone","znokautowane","znormalnione","znoszone","znudzone","zobaczone","zobowiązane","zobrazowane","zogniskowane","żonglowane","zoomowane","zoperowane","zoptymalizowane","zorbite","zorganizowane","zorientowane","zostawiane","zostawione","zpłacone","zprowokowane","zrabowane","zrachowane","zracjonalizowane","zranione","zraportowane","zrażane","zrażone","zrealizowane","zrecenzowane","zredagowane","zredukowane","zreferowane","zreformowane","zrefowane","zrefundowane","zregenerowane","zrehabilitowane","zreinkarnowane","zreintegrowane","zrekonfigurowane","zrekonstruowane","zrekrutowane","zrekrystalizowane","zrelacjonowane","zrelaksowane","zremiksowane","zremisowane","zreorganizowane","zreperowane","zreplikowane","zresetowane","zresocjalizowane","zrestartowane","zrestrukturyzowane","zrewanżowane","zrewidowane","zrewolucjonizowane","zrezygnowane","zrobione","zrolowane","zroszone","zrównane","zrównoważone","zrównywane","zróżnicowane","zrozumiane","zrugane","zruinowane","zrujnowane","zrymowane","zrywane","zrzędzone","zrzeszone","zrzucane","zrzucone","zsumowane","zsunięte","zsuwane","zsynchronizowane","zsyntetyzowane","zsypywane","zszargane","zszokowane","zszyte","zszywane","ztarte","żute","zutylizowane","zużyte","zużywane","zwabiane","zwabione","zwalane","zwalczone","zwalniane","zwalone","zwane","zwaporyzowane","zwątpione","zważane","zważone","zwędzone","zwerbalizowane","zwerbowane","zweryfikowane","zwęszone","zwężone","zwiastowane","związane","związywane","zwichnięte","zwiedzane","zwiedzone","zwiększone","zwieńczone","zwierzane","zwieszane","zwieszone","zwietrzone","zwijane","zwilżone","zwinięte","zwizualizowane","zwlekane","zwodowane","zwodzone","zwołane","zwolnione","zwoływane","zwożone","zwracane","zwrócone","zwyciężane","zwymiotowane","życzone","żygane","zygzakowane","zyskane","zyskiwane","żyte","zżarte","zżerane","zżynane","zżyte","bici","brnięci","capnięci","chlapnięci","chuci","ciachnięci","ciągnięci","cięci","ciśnięci","cmoknięci","cofnięci","czuci","czyci","darci","dmuchnięci","dobici","dobyci","dociągnięci","docięci","dociśnięci","doglądnięci","domknięci","domyci","dopadnięci","dopchnięci","dopięci","dopici","dopłynięci","doścignięci","dosięgnięci","dosunięci","doszyci","dotknięci","dożyci","drapnięci","draśnięci","drgnięci","dźgnięci","dziabnięci","dźwignięci","gięci","gnici","golnięci","gruchnięci","gwizdnięci","hajtnięci","huknięci","kantowanci","kiwnięci","klapnięci","klepnięci","kliknięci","kłuci","knuci","kojfnięci","kopnięci","kpici","kryci","krzepnięci","krzyknięci","kuci","liznięci","łyknięci","machnięci","marznięci","maznięci","minięci","myci","nabici","nabyci","naciągnięci","nacięci","naciśnięci","nadciągnięci","nadcięci","nadszarpnięci","nadużyci","nagięci","najęci","nakłuci","nakryci","napadnięci","napięci","napluci","napoczęci","napsuci","nasunięci","naszyci","natarci","natchnięci","natknięci","natrząsnięci","nawinięci","obciągnięci","obcięci","obdarci","obici","objęci","obmyci","obsunięci","obtarci","obwinięci","obyci","ochłonięci","ocknięci","ocuci","odarci","odbici","odbyci","odciągnięci","odcięci","odcisnięci","odczuci","odepchnięci","odetnięci","odgadnięci","odgarnięci","odgięci","odjęci","odkryci","odkuci","odparci","odpięci","odpłynięci","odpruci","odrośnięci","odsłonięci","odsunięci","odtruci","odwinięci","odżyci","ogarnięci","okryci","okrzyknięci","olśnięci","ominięci","opadnięci","oparci","opchnięci","opici","opluci","orżnięci","osiągnięci","oślepnięci","ostrzelici","osunięci","otarci","otruci","otrząśnięci","owinięci","ożyci","pacnąci","palnięci","parci","pchnięci","pęknięci","pięci","pici","pluci","pobici","pochłonięci","pociągnięci","pocięci","poczęci","poczuci","podarci","podbici","podciągnięci","podcięci","podjęci","podkradnięci","podkuci","podmyci","podnajęci","podpadnięci","podparci","podpięci","podpłynięci","podsunięci","podszyci","podtarci","podwinięci","podźwignięci","pojęci","pojmięci","pokłuci","pokryci","połknięci","pominięci","pomknięci","poparci","popchnięci","popici","popsuci","posunięci","poszczuci","potarci","potknięci","potruci","potrząsnięci","potrząśnięci","powici","powściągnięci","powzięci","pożarci","pozbyci","pożuci","pożyci","pruci","pryśnięci","przebiegnięci","przebici","przebyci","przeciągnięci","przecięci","przeciśnięci","przeczuci","przedarci","przedsiewzięci","przegięci","przeglądnięci","przejęci","przeklęci","przeklnięci","przekłuci","przekuci","przełknięci","przełyknięci","przeminięci","przemknięci","przemyci","przeniknięci","przepchnięci","przepici","przepłynięci","przerośnięci","prześcignięci","prześlizgnięci","przesłonięci","przesunięci","przeszyci","przetarci","przetrząśnięci","przewinięci","przeżarci","przeżuci","przeżyci","przybici","przyciągnięci","przycięci","przyciśnięci","przydepnięci","przygarnięci","przyjęci","przykryci","przykuci","przymknięci","przypadnięci","przyparci","przypięci","przypłynięci","przysiągnięci","przysunięci","przyszyci","przytarci","przytrzasnięci","przywarci","pstryknięci","psuci","puchnięci","puknięci","rozbici","rozbłyśnięci","rozciągnięci","rozcięci","rozgarnięci","rozgięci","rozkuci","rozkwitnięci","rozminięci","rozmyci","rozpięci","rozpłynięci","rozpoczęci","rozpruci","rozrośnięci","rozstrzygnięci","rozsunięci","roztarci","rozwarci","rozwinięci","runięci","ryci","rżnięci","ściągnięci","ścięci","ściśnięci","skrobnięci","skryci","skrzepnięci","skrzyci","skubnięci","skuci","smuci","snuci","spięci","spici","spłonięci","spoczęci","spożyci","sprzątnięci","stnięci","struci","strząśnięci","strzepnięci","stuknięci","sunięci","sypnięci","szarpnięci","szczuci","szepnięci","sztachnięci","szturchnięci","szyci","targnięci","tarci","tchnięci","tknięci","truci","tryśnięci","trzasnięci","trzepnięci","ubici","uciągnięci","ucięci","uciśnięci","uczuci","udźwignięci","ugięci","ugrzęznięci","uiścici","ujęci","ukłuci","uknuci","ukryci","ukuci","umknięci","umyci","uniknięci","uparci","upchnięci","upięci","upici","upłynięci","uprzątnięci","urośnięci","urżnięci","uschnięci","uściśnięci","usunięci","uszczypnięci","uszyci","utarci","utknięci","uwinięci","uwici","użyci","walnięci","wbici","wchłonięci","wciągnięci","wcięci","wciśnięci","wczuci","wdarci","wdepnięci","wepchnięci","wetknięci","wici","wkłuci","wkuci","wniknięci","wpięci","wryci","wślizgnięci","wsparci","wspięci","współczuci","współżyci","wstrząśnięci","wstrzyknięci","wsunięci","wszczęci","wszyci","wtargnięci","wtarci","wybici","wyblaknięci","wybuchnięci","wyciągnięci","wycięci","wyciśnięci","wyczuci","wydobyci","wyfrunięci","wygarnięci","wygaśnięci","wygięci","wyjęci","wykluci","wykłuci","wykopnięci","wykpici","wykradnięci","wykryci","wykrzyknięci","wykuci","wyminięci","wymknięci","wymsknięci","wymyci","wynajęci","wyniknięci","wyparci","wypchnięci","wypięci","wypici","wypluci","wypoczęci","wypruci","wyrośnięci","wyryci","wyrżnięci","wyschnięci","wyślizgnięci","wysnuci","wystrychnięci","wystygnięci","wysunięci","wyszarpnięci","wyszyci","wytarci","wytchnięci","wytknięci","wytruci","wytrzasnięci","wytrząśnięci","wywarci","wywinięci","wyzbyci","wyzionięci","wyżyci","wzbici","wzięci","wzniesięci","wzrośnięci","zabici","zabrnięci","zaciągnięci","zacięci","zaciśnięci","zaczęci","zadarci","zadęci","zadraśnięci","zagadnięci","zagarnięci","zagięci","zaginięci","zajęci","zakłuci","zakryci","zakrzyknięci","zakuci","zakwitnięci","zamachnięci","zamarznięci","zamknięci","zaniknięci","zapięci","zapici","zarżnięci","zasięgnięci","zasunięci","zaszczuci","zaszyci","zatarci","zatknięci","zatonięci","zatruci","zatrzaśnięci","zatrząśnięci","zawarci","zawinięci","zawiśnięci","zawładnięci","zażyci","zbici","zbyci","zcięci","zdarci","zdjęci","zdmuchnięci","zdobyci","zepchnięci","zepsuci","zerżnięci","ześlizgnięci","zetknięci","zgarnięci","zgaśnięci","zgięci","zgnici","złoici","zmarznięci","zmoknięci","zmyci","zorbici","zsunięci","zszyci","ztarci","żuci","zużyci","zwichnięci","zwinięci","życi","zżarci","zżyci","abdykowani","absorbowani","adaptowani","administrowani","adoptowani","adorowani","adresowani","afiszowani","agitowani","akcentowani","akceptowani","aklimatyzowani","akompaniowani","aktualizowani","aktywowani","akumulowani","alaromowani","alienowani","amerykanizowani","amortyzowani","amputowani","analizowani","angażowani","anihilowani","animowani","anonsowani","antropomorfizowani","antydatowani","anulowani","apelowani","aportowani","aranżowani","archiwizowani","aresztowani","argumentowani","artykułowani","ascendowani","asekurowani","asymilowani","asystowani","atakowani","autoryzowani","awanturowani","babrani","baczeni","badani","bagatelizowani","bajerowani","bałamuceni","balangowani","balansowani","banalizowani","bandażowani","bankrutowani","baraszkowani","barwieni","bawieni","bazgrani","bazowani","bębnieni","bełkotani","besztani","biczowani","błagani","błaznowani","blefowani","błogosławieni","blokowani","bluzgani","błyskani","boczeni","bogaceni","bojkotowani","boksowani","bombardowani","bopowani","borowani","brandzlowani","brani","brasowani","bratani","brodzeni","bronieni","brudzeni","brylowani","budowani","budzeni","bujani","buleni","bulwersowani","bumelowani","burzeni","butelkowani","bywani","cackani","całowani","cechowani","celebrowani","celowani","cenieni","cenzurowani","chciani","chlani","chlapani","chlastani","chłodzeni","chlostani","chlubieni","chodowani","chomikowani","chorowani","chowani","chronieni","chrupani","chrzczeni","chwaleni","chwyceni","chwytani","chybotani","chyleni","ciągani","ciemiężeni","cierpiani","cieszeni","ciskani","ciułani","cmokani","cofani","ćpani","cuceni","cudzołożeni","cumowani","ćwiartowani","ćwiczeni","cykani","cytowani","czajeni","czarowani","czczeni","czepiani","czepieni","czerpani","czesani","częstowani","czochrani","czołgani","czytani","darowani","darzeni","datowani","dawani","dbani","deaktywowani","debatowani","dedukowani","dedykowani","defibrylowani","defilowani","definiowani","defraudowani","degradowani","degustowani","deklamowani","deklarowani","dekodowani","dekompresowani","dekorowani","dekretowani","delegowani","delektowani","deliberowani","demaskowani","dementowani","demolowani","demonizowani","demonstrowani","demoralizowani","denerwowani","denuncjowani","depeszowani","depilowani","deportowani","deprawowani","deptani","deratyzowani","destabilizowani","destylowani","desygnowani","determinowani","detonowani","dewastowani","dewaulowani","dezaktywowani","dezorientowani","dezynfekowani","diagnozowani","dilowani","dłubani","dłużeni","dmuchani","dobiegani","dobierani","dobijani","dobrani","dobudzeni","doceniani","docenieni","dochodzeni","dochowani","dochowywani","dociekani","docinani","dociskani","doczekani","doczepieni","doczołgani","doczyszczeni","doczytani","dodani","dodawani","dodrukowani","dodrukowywani","dofinansowani","dofinansowywani","dogadani","dogadywani","dogadzani","doganiani","doglądani","dognani","dogodzeni","dogonieni","dograni","dogryzani","dogryzioni","dogrzani","dogrzebani","doinformowani","dojeżdżani","dojeni","dojrzani","dojrzewani","dokańczani","dokarmiani","dokarmieni","dokazani","dokazywani","dokładani","doklejeni","dokonani","dokończeni","dokonywani","dokopani","dokopywani","dokowani","dokręcani","dokręceni","dokształcani","dokształceni","dokuczani","dokumentowani","dokupieni","dołączani","dołączeni","doładowani","dolani","dolewani","doliczeni","dołowani","dołożeni","domagani","domalowani","domniewywani","domówieni","domyślani","domyśleni","doniesieni","donoszeni","dopadani","dopakowani","dopaleni","dopasowani","dopasowywani","dopatrywani","dopatrzeni","dopchani","dopełniani","dopełnieni","dopieszczeni","dopijani","dopilnowani","dopingowani","dopisani","dopisywani","dopłacani","dopłaceni","dopolerowani","dopompowani","dopowiedziani","dopracowani","dopracowywani","doprani","doprawieni","doprecyzowani","doproszeni","doprowadzani","doprowadzeni","dopucowani","dopuszczani","dopuszczeni","dopytywani","dorabiani","doradzani","doradzeni","doręczani","doręczeni","dorobieni","dorównani","dorównywani","dorwani","dorysowani","dorzucani","dorzuceni","dosiadani","doskoczeni","doskonaleni","dosładzani","dosłani","dosłyszani","dosoleni","dośrodkowani","dossani","dostani","dostąpieni","dostarczani","dostarczeni","dostawani","dostawiani","dostawieni","dostosowani","dostosowywani","dostrajani","dostrojeni","dostrzegani","dosuwani","doświadczani","doświetleni","dosypani","dosypywani","doszkoleni","doszlifowani","doszorowani","doszukani","doszukiwani","dotankowani","dotankowywani","dotargani","dotaszczeni","dotlenieni","dotłumaczeni","dotowani","dotrwani","dotrzymani","dotrzymywani","dotykani","douczani","douczeni","dowaleni","dowiezieni","dowodzeni","dowożeni","doznani","doznawani","dozorowani","dozowani","dożywieni","dramatyzowani","drapani","drażnieni","drążeni","dręczeni","drenowani","drgani","drukowani","dryblowani","dryfowani","drzemani","dubbingowani","dublowani","duplikowani","duszeni","dworowani","dygotani","dyktowani","dymani","dymieni","dyrygowani","dyscyplinowani","dyskredytowani","dyskryminowani","dyskutowani","dyskwalifikowani","dysponowani","dystansowani","dystrybuowani","dywagowani","dźgani","dziedziczeni","dziękowani","dzieleni","dziergani","dzierżeni","dziobani","dziurawieni","dziurkowani","dźwigani","edukowani","edytowani","egzaminowani","egzekutowani","egzekwowani","ekscytowani","ekshumowani","ekskomunikowani","eksmitowani","ekspandowani","eksperymentowani","eksploatowani","eksplorowani","eksponowani","eksportowani","eksterminowani","ekstradowani","ekstrapolowani","eliminowani","emancypowani","emigrowani","emitowani","energetyzowani","eskortowani","etykietowani","ewakuowani","ewaluowani","fabrykowani","falowani","fałszowani","farbowani","faszerowani","faulowani","faworyzowani","fechtowani","fermentowani","ferowani","figurowani","filetowani","filmowani","filtrowani","finalizowani","finansowani","firmowani","fleszowani","folgowani","formułowani","forsowani","fotografowani","fundowani","gadani","ganiani","garbieni","gardzeni","garnirowani","gaszeni","gawędzeni","gaworzeni","gazowani","gdakani","gderani","generalizowani","generowani","gilgotani","gładzeni","głaskani","głodowani","głodzeni","gloryfikowani","głosowani","głoszeni","głowieni","gmatwani","gmerani","gnani","gnębieni","gnieceni","gnojeni","godzeni","goleni","gonieni","googlowani","gospodarowani","goszczeni","gotowani","grabieni","grani","grasowani","gratulowani","grillowani","grilowani","gromadzeni","gromieni","grożeni","gruchani","grupowani","grywani","gryzieni","grzani","grzechotani","gubieni","gustowani","gwałceni","gwarantowani","gwizdani","hackowani","haftowani","hamowani","hańbieni","handlowani","harcowani","harmonizowani","harowani","hartowani","hibernowani","hipnotyzowani","hodowani","holowani","hołubieni","honorowani","hospitalizowani","hulani","huśtani","idealizowani","identyfikowani","ignorowani","igrani","ilustrowani","imitowani","implantowani","implodowani","imponowani","importowani","improwizowani","indokrynowani","indukowani","infekowani","infiltrowani","informowani","ingerowani","inhalowani","inscenizowani","inspirowani","instalowani","instruowani","insynuowani","integrowani","interpretowani","interweniowani","intonowani","intubowani","inwestowani","inwigilowani","irytowani","iskrzeni","izolowani","jadani","jawieni","jazgotani","jednoczeni","jedzeni","kablowani","kadzeni","kalani","kaleczeni","kalkulowani","kamerowani","kamienowani","kamuflowani","kanalizowani","kąpani","kapitulowani","kapowani","karani","karbonizowani","karceni","karczowani","karmieni","kartkowani","kąsani","kasowani","kastrowani","katalogowani","katapultowani","katowani","katrupieni","kierowani","kimani","kiszeni","kiwani","kłaniani","klapani","klarowani","klasyfikowani","klębieni","klejeni","klepani","klikani","klonowani","kłopotani","knoceni","kochani","koczowani","kodowani","kojarzeni","kojeni","kolekcjonowani","kolektywizowani","kolidowani","kolonizowani","kolorowani","koloryzowani","kołowani","kołysani","kombinowani","komenderowani","komentowani","komercjalizowani","kompensowani","komplementowani","komplikowani","komponowani","kompromitowani","komunikowani","konani","koncentrowani","kończeni","konfabulowani","konfiskowani","konfrontowani","konserwowani","konspirowani","konstruowani","konsultowani","konsumowani","kontaktowani","kontestowani","kontrastowani","kontrolowani","kontrowani","kontynuowani","kontynuuowani","konwertowani","konwojowani","koordynowani","kopani","kopceni","kopiowani","kopulowani","korelowani","korkowani","koronowani","korygowani","korzystani","koszeni","kotwiczeni","kozaczeni","kozłowani","kradzieni","krajani","krążeni","kręceni","kremowani","kreowani","krochmaleni","krojeni","kropieni","kruszeni","krystalizowani","krytykowani","krzyczani","krzywdzeni","krzywieni","krzyżowani","kserowani","księgowani","kształceni","kształtowani","kuleni","kultywowani","kumulowani","kupczeni","kupieni","kupowani","kupywani","kurczeni","kurowani","kursowani","kurzeni","kuszeni","kwalifikowani","kwestionowani","łączeni","ładowani","łagodzeni","łajdaczeni","lakierowani","łamani","lamentowani","lansowani","lani","łapani","łaskotani","łaszeni","latani","łatani","lawirowani","leczeni","legalizowani","legitymowani","lekceważeni","lepieni","lewitowani","liberowani","licencjonowani","licytowani","liczeni","likwidowani","linczowani","liniowani","literowani","litowani","lizani","lobbowani","lokalizowani","losowani","łowieni","łożeni","lubiani","łudzeni","lunatykowani","łupani","łupieni","łuskani","lustrowani","łuszczeni","luzowani","łykani","łyżeczkowani","macani","machani","mąceni","maczani","maganyzowani","maglowani","majaczeni","majsterkowani","majtani","maksymalizowani","malowani","maltretowani","mamieni","mamrotani","manewrowani","manifestowani","manipulowani","markowani","marnotrawieni","marnowani","marszczeni","marynowani","masakrowani","maskowani","masowani","masturbowani","mataczeni","materializowani","mawiani","mazani","męczeni","meldowani","merdani","metabolizowani","miażdżeni","mieleni","mierzeni","mierzwieni","mieszani","miętoleni","migani","migdaleni","migotani","mijani","miksowani","milowani","minimalizowani","miotani","mistyfikowani","mitygowani","mizdrzeni","mlani","mniemani","mnożeni","mobilizowani","mocowani","moczeni","modelowani","modernizowani","modleni","modulowani","modyfikowani","molestowani","monitorowani","monopolizowani","montowani","mordowani","motywowani","mrożeni","mrugani","mrużeni","muskani","mutowani","mydleni","myleni","myszkowani","nabazgrani","nabiegani","nabierani","nabrani","nabrojeni","nabrudzeni","nabywani","nacelowani","nachapani","nachodzeni","nachwaleni","nachyleni","naciągani","nacierani","nacinani","naciskani","nacjonalizowani","naczepieni","nadani","nadawani","nadchodzeni","nadciągani","nadesłani","nadgonieni","nadgryzani","nadgryzieni","nadinterpretowani","nadłożeni","nadmieniani","nadmienieni","nadmuchani","nadrabiani","nadrobieni","nadskakiwani","nadsłuchiwani","nadstawiani","nadstawieni","naduszeni","nadużywani","nadwerężani","nadwyrężani","nadwyrężeni","nadziani","nadzorowani","naelektryzowani","nafaszerowani","nagabywani","nagadani","naginani","nagłaszani","nagłośnieni","nagonieni","nagradzani","nagrani","nagrodzeni","nagromadzeni","nagrywani","nagryzmoleni","nagrzani","nagrzebani","nagrzewani","nagwizdani","naigrywani","najechani","najmowani","nakarmiani","nakarmieni","nakazani","nakazywani","nakierowani","nakierowywani","nakładani","nakłamani","nakłaniani","naklejani","naklejeni","naklepani","nakłonieni","nakłuwani","nakopani","nakręcani","nakręceni","nakreślani","nakreśleni","nakruszeni","nakrywani","nakrzyczani","nakupieni","naładowani","nalani","nałapani","nalepieni","nalewani","naliczeni","nałowieni","nałożeni","namaczani","namagnetyzowani","namalowani","namaszczani","namaszczeni","namawiani","namęczeni","namierzani","namieszani","namoczeni","namówieni","namydlani","namyśleni","naniesieni","naoliwiani","naoliwieni","naopowiadani","naostrzeni","napadani","napakowani","napaleni","naparzani","napastowani","napawani","napchani","napędzani","napełniani","napełnieni","napierani","napiętnowani","napinani","napisani","napływani","napojeni","napompowani","napotkani","napotykani","napraszani","naprawiani","naprawieni","naprężani","naprężeni","napromieniowani","naprostowani","naprowadzani","naprowadzeni","napuszczani","napuszczeni","napychani","napytani","narąbani","naradzani","naradzeni","narastani","narażani","narażeni","nareperowani","narkotyzowani","narodzeni","naruszani","naruszeni","narwani","narysowani","narzucani","narzuceni","nasączani","nasączeni","nasadzeni","nasiąkani","nasilani","nasileni","naskakiwani","naskoczeni","naskrobani","naśladowani","nasłani","nasłuchani","nasłuchiwani","nasmarowani","nastąpieni","nastawiani","nastawieni","nastraszani","nastrojeni","nastukani","nasuwani","naświetlani","nasyceni","nasyłani","nasypani","naszczani","naszkicowani","naszpikowani","naszprycowani","naszykowani","naszywani","natlenieni","natłuszczeni","natrafieni","natrząsani","nauczani","nauczeni","nawadniani","nawaleni","nawiązani","nawiązywani","nawiedzani","nawiedzeni","nawierceni","nawiewani","nawiezieni","nawigowani","nawijani","nawilżani","nawilżeni","nawlekani","nawodnieni","nawoływani","nawoskowani","nawożeni","nawpychani","nawracani","nawróceni","nawrzucani","nawtykani","nawymyślani","nazbierani","nazmyślani","naznaczani","naznaczeni","nazrywani","nazwani","nazywani","nęceni","negocjowani","negowani","nękani","neutralizowani","niańczeni","niecierpliwieni","niedoceniani","niedowidziani","nienawidzeni","niesieni","nikoleni","niszczeni","nitkowani","niuchani","niweczeni","niwelowani","nokautowani","nominowani","notowani","nuceni","numerowani","nurtowani","obaczeni","obadani","obalani","obaleni","obandażowani","obarczani","obarczeni","obawiani","obchodzeni","obciążeni","obcinani","obcyndalani","obczajani","obczajeni","obdarowani","obdarzani","obdarzeni","obdzieleni","obdzierani","obdzwaniani","obdzwonieni","obejmowani","oberwani","obessani","obezwładniani","obezwładnieni","obfotografowani","obfotografowywani","obgadani","obgadywani","obgryzani","obgryzieni","obiecani","obiecywani","obierani","obijani","objadani","objaśniani","objawiani","objawieni","objechani","objeżdżani","obkręcani","oblani","obłapiani","obłapywani","obłaskawiani","obłaskawieni","obleciani","oblewani","obliczani","obliczeni","oblizani","obłowieni","obłożeni","obluzowani","obluzowywani","obmacani","obmacywani","obmawiani","obmyślani","obmyśleni","obmywani","obnażani","obniżani","obniżeni","obnoszeni","obowiązywani","obozowani","obrabiani","obrabowani","obracani","obradowani","obramowani","obraniani","obrani","obrastani","obrażani","obrażeni","obrobieni","obróceni","obrodzeni","obronieni","obrysowani","obrywani","obryzgani","obrzezani","obrzucani","obrzuceni","obrzygani","obsadzani","obsadzeni","obściskiwani","obserwowani","obsiani","obsikani","obsikiwani","obskakiwani","obskoczeni","obskubani","obskubywani","obśliniani","obślinieni","obsługiwani","obsłużeni","obsmarowani","obstawiani","obstawieni","obstrzeliwani","obsuwani","obsypani","obsypywani","obszukani","obszukiwani","obtaczani","obtoczeni","obudzeni","obwąchani","obwąchiwani","obwiązani","obwiązywani","obwieszani","obwieszczani","obwieszczeni","obwieszeni","obwijani","obwiniani","obwołani","obżerani","ocalani","ocaleni","ocechowani","oceniani","ocenieni","ocenzurowani","ochładzani","ochlapani","ochlapywani","ochłodzeni","ochraniani","ochronieni","ochrzaniani","ochrzczeni","ociągani","ocieleni","ocieplani","ociepleni","ocierani","ocuceni","oczarowywani","oczekiwani","oczerniani","oczernieni","oczyszczani","oczyszczeni","odbębnieni","odbetonowani","odbezpieczani","odbezpieczeni","odbijani","odblokowani","odbudowani","odbudowywani","odbutowani","odcedzani","odchorowani","odchowani","odchudzani","odchudzeni","odchylani","odchyleni","odciągani","odciążeni","odcierpieni","odcinani","odcumowani","odcyfrowani","odcyfrowywani","odczarowani","odczekani","odczepiani","odczepieni","odczuwani","odczynieni","odczytani","odczytywani","oddalani","oddani","oddawani","oddelegowani","oddychani","oddzielani","oddzieleni","odebrani","odegnani","odegrani","odejmowani","oderwani","odeskortowani","odesłani","odespani","odessani","odetkani","odezwani","odfiltrowani","odgadywani","odganiani","odgarniani","odgniatani","odgonieni","odgradzani","odgrażani","odgrodzeni","odgruzowani","odgrywani","odgryzani","odgryzieni","odgrzani","odgrzebani","odgrzebywani","odgrzewani","odgwizdani","odhaczeni","odholowani","odinstalowani","odizolowani","odjedzeni","odjonizowani","odkażani","odkażeni","odkładani","odklejeni","odkochani","odkodowani","odkodowywani","odkopani","odkopywani","odkorkowani","odkręcani","odkręceni","odkrojeni","odkrywani","odkupieni","odkupywani","odkurzani","odkurzeni","odłączani","odłączeni","odłamywani","odlani","odlatywani","odlepiani","odlewani","odliczani","odliczeni","odłożeni","odłupani","odmachani","odmachiwani","odmalowani","odmarszczeni","odmawiani","odmeldowani","odmieniani","odmienieni","odmierzani","odmierzeni","odmieszani","odmontowani","odmówieni","odmrażani","odmrożeni","odnajdowani","odnalezieni","odnawiani","odniesieni","odnoszeni","odnotowani","odnotowywani","odnowieni","odpakowani","odpakowywani","odpalani","odpaleni","odpałzowani","odparowani","odpędzani","odpicowani","odpieczętowani","odpierani","odpiłowani","odpiłowywani","odpinani","odpisani","odpisywani","odpłacani","odplamieni","odplątani","odpowietrzeni","odpracowani","odpracowywani","odprasowani","odprawiani","odprawieni","odprężani","odprostowani","odprowadzani","odprowadzeni","odpryskani","odpukani","odpukiwani","odpuszczani","odpuszczeni","odpychani","odrąbani","odrabiani","odrąbywani","odradzani","odradzeni","odrapani","odrastani","odratowani","odreagowani","odremontowani","odrestaurowani","odrestaurowywani","odrobaczani","odrobieni","odroczeni","odrodzeni","odróżniani","odróżnieni","odrysowani","odrywani","odrzucani","odrzuceni","odsączani","odsączeni","odsadzeni","odseparowani","odsiadywani","odsiani","odsiewani","odsłaniani","odsłuchani","odsłuchiwani","odsłużeni","odśnieżani","odśnieżeni","odsoleni","odśpiewani","odsprzedani","odsprzedawani","odstąpieni","odstawiani","odstawieni","odstępowani","odstraszani","odstręczeni","odstresowani","odstrzeliwani","odstrzeleni","odsuwani","odświeżani","odświeżeni","odsyłani","odsypywani","odsysani","odszczekani","odszczekiwani","odsztafirowani","odszukani","odszyfrowani","odszyfrowywani","odszykowani","odtrąbieni","odtrąceni","odtwarzani","odtworzeni","oduczeni","odurzeni","odwalani","odwaleni","odwiązani","odwiązywani","odwiedzani","odwiedzeni","odwieszeni","odwiezieni","odwijani","odwlekani","odwodnieni","odwodzeni","odwołani","odwoływani","odwożeni","odwracani","odwróceni","odwzajemnieni","odwzorowani","odżegnani","odziani","odziedziczeni","odznaczani","odznaczeni","odzwieciedleni","odzwierciedlani","odzwonieni","odzwyczajeni","odzyskani","odzyskiwani","odzywiani","odżywieni","oferowani","ofiarowani","ofiarowywani","ogarniani","oglądani","ogłaszani","ogłoszeni","ogłupiani","ogłupieni","ogłuszeni","ogołoceni","ogoleni","ograbiani","ograbieni","ograniczani","ograniczni","ograni","ogrodzeni","ogryzieni","ogrzani","ogrzewani","okablowani","okaleczeni","okantowani","okąpani","okazani","okazywani","okiełznani","okładani","okłamani","okłamywani","oklaskiwani","oklejeni","oklepani","okopani","okopywani","okpieni","okradani","okradzieni","okraszeni","okrążani","okrążeni","okręcani","okręceni","określani","określeni","okrojeni","okrywani","okulawieni","okupieni","okupowani","olani","olewani","omamieni","omawiani","omdlewani","omijani","omotani","omówieni","onanizowani","onieśmielani","onieśmieleni","opakowani","opalani","opaleni","opancerzeni","opanowani","opanowywani","oparzeni","opasani","opatentowani","opatrywani","opatrzeni","opatuleni","opędzani","opędzeni","operowani","opętani","opętywani","opieczętowani","opiekowani","opierani","opijani","opisani","opisywani","opłacani","opłaceni","opłakani","opłakiwani","opłukani","opluwani","opływani","opodatkowani","opodatkowywani","oponowani","oporządzani","oporządzeni","opowiadani","opowiedziani","opóźniani","opóźnieni","opracowani","opracowywani","oprawiani","oprawieni","oprowadzani","oprowadzeni","opróżniani","opróżnieni","opryskani","opryskiwani","opublikowani","opukani","opuszczani","opuszczeni","opychani","opyleni","orani","orbowani","organizowani","orientowani","oroszeni","orzekani","osaczani","osaczeni","osadzani","osądzani","osadzeni","osądzeni","oscylowani","osiadani","osiągani","osiedlani","osiedleni","osiedzeni","osieroceni","osiodłani","oskalpowani","oskarżeni","oskrobani","oskrzydlani","oskrzydleni","oskubani","oskubywani","osłabiani","osłabieni","oślepiani","oślepieni","ośliniani","osłodzeni","osłonieni","osłuchani","osmaleni","ośmieleni","ośmieszani","ośmieszeni","ostrzegani","ostrzelani","ostrzeni","ostudzeni","osuszani","osuszeni","osuwani","oswajani","oświadczani","oświadczeni","oświecani","oświecieni","oświetlani","oświetleni","oswobadzani","oswobodzeni","oswojeni","oszacowani","oszałamiani","oszczani","oszczędzani","oszczędzeni","oszkleni","oszlifowani","oszołomieni","oszpeceni","oszukani","oszukiwani","oszwabieni","otaczani","otoczeni","otruwani","otrząsani","otrzepani","otrzeźwieni","otrzymani","otrzymywani","otuleni","otumanieni","otwierani","otwarci","owani","owdowieni","owiani","owijani","ozdabiani","ozdobieni","ozdrowieni","ożenieni","oznaczani","oznaczeni","oznajmiani","oznajmieni","oznakowani","ożywani","ożywiani","ożywieni","pakowani","paktowani","pałani","pałaszowani","paleni","pamiętani","panoszeni","paprani","parafrazowani","paraliżowani","parkowani","parowani","partaczeni","parzeni","pastowani","paszeni","patrolowani","patroszeni","pauzowani","pchani","pdholowani","pedałowani","pękani","pełnieni","penetrowani","perforowani","perfumowani","perswadowani","piastowani","pichceni","pielęgnowani","pieleni","pienieni","pieszczeni","piętnowani","pijani","pikietowani","piknikowani","pikowani","pilnowani","pilotowani","piłowani","pisani","pisywani","płaceni","plądrowani","planowani","płaszczeni","plątani","płatani","pławieni","plewieni","płoszeni","plotkowani","plugawieni","płukani","pluskani","pobaraszkowani","pobierani","pobłażani","pobłogosławieni","pobrani","pobrudzeni","pobudzani","pobudzeni","pobujani","pocałowani","pocerowani","pochłaniani","pochlapani","pochlebiani","pochowani","pochwalani","pochwaleni","pochwyceni","pochylani","pochyleni","pociachani","pociągani","pocierani","pocieszani","pocieszeni","poceni","pocukrowani","poćwiartowani","poczesani","poczęstowani","poczochrani","poczytani","poczytywani","podani","podarowani","podawani","podążeni","podbierani","podbijani","podbudowani","podbudowywani","podburzani","podburzeni","podchwyceni","podciągani","podcierani","podcinani","podczepieni","poddani","poddawani","podebrani","podejmowani","podejrzani","podejrzewani","podelektowani","podeptani","poderwani","podesłani","podglądani","podgoleni","podgonieni","podgryzani","podgrzani","podgrzewani","podjadani","podjedzeni","podkablowani","podkarmieni","podkładani","podklejeni","podkolorowani","podkołowani","podkopani","podkopywani","podkradani","podkręcani","podkręceni","podkreślani","podkreśleni","podkształceni","podkuleni","podkupieni","podkurzeni","podłączani","podłączeni","podładowani","podłamani","podlani","podłapani","podleczeni","podlegani","podlewani","podliczani","podliczeni","podlizani","podlizywani","podłożeni","podmalowani","podmieniani","podmienieni","podmuchani","podniecani","podnieceni","podniesieni","podnoszeni","podołani","podopingowani","podostrzeni","podotykani","podpalani","podpaleni","podpatrywani","podpatrzeni","podpieczętowani","podpiekani","podpierani","podpiłowani","podpinani","podpisani","podpisywani","podpłaceni","podpompowani","podporządkowani","podporządkowywani","podpowiadani","podpowiedziani","podprowadzani","podpuszczani","podpuszczeni","podpychani","podpytani","podrabiani","podrapani","podrasowani","podratowani","podrażnieni","podręczeni","podregulowani","podreperowani","podretuszowani","podrobieni","podroczeni","podróżowani","podrygiwani","podrywani","podrzucani","podrzuceni","podrzynani","podsadzeni","podskubywani","podsłuchani","podsłuchiwani","podsmażani","podsmażeni","podśpiewywani","podstawiani","podstawieni","podstemplowani","podstrojeni","podsumowani","podsumowywani","podsuwani","podświetlani","podsycani","podsyceni","podsyłani","podsypani","podszczypywani","podszkoleni","podszlifowani","podszykowani","podszywani","podtapiani","podtopieni","podtrzymani","podtrzymywani","podtuczeni","poduczani","podupadani","poduszeni","podwajani","podwalani","podważani","podwędzeni","podwiązani","podwieszani","podwiezieni","podwijani","podwojeni","podwożeni","podwyżani","podwyższani","podwyższeni","podyktowani","podyskutowani","podziabani","podziałani","podziałkowani","podziękowani","podzieleni","podziurawieni","podziwiani","poeksperymentowani","pofarbowani","pofatygowani","pofilmowani","poganiani","pogardzani","pogardzeni","pogarszani","pogaszeni","pogładzeni","pogłaskani","pogłębiani","pogłębieni","pogłośnieni","pogmatwani","pognębieni","pogniecieni","pogodzeni","pogonieni","pogorszeni","pogotowani","pograbieni","pogrążani","pogrążeni","pogrożeni","pogrubiani","pogrubieni","pogruchani","pogruchotani","pogrupowani","pogrywani","pogryzani","pogryzieni","pogrzani","pogrzebani","pogubieni","pogwałcani","pohamowani","pohandlowani","poharatowani","pohuśtani","poinformowani","poinstruowani","pojednani","pojmowani","pojeni","pokajani","pokaleczeni","pokarani","pokarmieni","pokąsani","pokatalogowani","pokazani","pokazywani","pokiereszowani","pokierowani","pokiwani","pokładani","poklepani","poklepywani","pokłonieni","pokochani","pokolorowani","pokoloryzowani","pokołysani","pokombinowani","pokomplikowani","pokonani","pokończeni","pokonywani","pokopani","pokrajani","pokrążeni","pokręceni","pokrojeni","pokruszeni","pokrywani","pokrzepiani","pokrzepieni","pokrzyżowani","pokuszeni","pokutowani","połączeni","polakierowani","połamani","polani","połapani","połaskotani","połatani","polecani","połechtani","poleceni","poleczeni","polegani","polemizowani","polepszani","polepszeni","polerowani","polewani","policzkowani","policzeni","polimeryzowani","polizani","polowani","połowieni","położeni","polubieni","poluźnieni","poluzowani","połykani","pomacani","pomachani","pomagani","pomalowani","pomarynowani","pomasowani","pomazani","pomęczeni","pomiatani","pomieszani","pomieszczeni","pomijani","pomiziani","pomnażani","pomniejszani","pomniejszeni","pomnożeni","pomoczeni","pompowani","pomydleni","pomyleni","pomyszkowani","pomywani","ponabijani","ponaciskani","ponadziewani","ponaglani","ponagleni","ponagrywani","ponaklejani","ponakłuwani","ponakrywani","ponaprawiani","ponawiani","poniańczeni","poniechani","ponieiwerani","poniesieni","poniszczeni","poniżani","poniżeni","ponoszeni","ponowieni","ponudzeni","poobcinani","poobcowani","poobczajani","poobijani","poobmacywani","poobracani","poobserwowani","poodbijani","poodcinani","poodgryzani","poodkurzani","poodprawiani","poodsuwani","poodwalani","pooglądani","poograniczani","poopalani","poopiekani","poopwiadani","pootwierani","popadani","popakowani","popaleni","poparzeni","popchani","popędzani","popędzeni","popękani","popełniani","popełnieni","poperfumowani","popierani","popieszczeni","popijani","popilnowani","popisani","popłaceni","popłakiwani","poplamieni","poplątani","popluskani","popodcinani","popodziwiani","popoprawiani","poprani","poprasowani","poprawiani","poprawieni","poproszeni","poprowadzeni","popryskani","poprzebierani","poprzeciągani","poprzecinani","poprzedzani","poprzeglądani","poprzeklinani","poprzekopywani","poprzemieszczani","poprzenoszeni","poprzesadzani","poprześladowani","poprzestawiani","poprzesuwani","poprzewieszani","poprzewracani","poprzycinani","poprzymierzani","poprzytulani","poprzywiązywani","popudrowani","popukani","popularyzowani","popuszczani","popuszczeni","popychani","popykani","popytani","porabiani","porachowani","poranieni","poratowani","porażeni","poręczeni","porównani","porozbierani","porozbijani","porozciągani","porozcinani","porozdawani","porozdzielani","porozmieszczani","poróżnieni","porozpędzani","porozpieszczani","porozprowadzani","porozpruwani","porozrzucani","porozstawiani","porozsyłani","porozumiewani","porozwalani","porozwiązywani","porozwieszani","porozwożeni","portretowani","poruszani","poruszeni","porwani","porysowani","porywani","porządkowani","porządzeni","porzucani","porzuceni","posądzani","posadzeni","posądzeni","pościągani","pościeleni","pościerani","pościgani","pościnani","pościskani","posegregowani","posiadani","posiani","posiekani","posilani","posiłkowani","posileni","posiłowani","posiniaczeni","posiorbani","poskąpieni","poskładani","posklejani","poskramiani","poskręcani","poskrobani","poskromieni","poskubani","posłani","posłodzeni","poślubiani","poślubieni","posługiwani","posmakowani","posmarowani","posoleni","posortowani","pospekulowani","pospieszani","pośpieszani","pośpiewani","pospinani","pospłacani","posprawdzani","posprzątani","posprzedawani","pośredniczeni","possani","postanowieni","postani","postarani","postawieni","postemplowani","posterowani","postradani","postraszeni","postrugani","postrzegani","postrzelani","postrzeleni","postukani","postymulowani","posuwani","poświącani","poświadczeni","poświeceni","poświęceni","poświętowani","poświntuszeni","posyłani","posypani","posypywani","poszarpani","poszastani","poszatkowani","poszczyceni","poszczypani","poszerzani","poszerzeni","poszorowani","poszpiegowani","poszturchani","poszukani","poszukiwani","poszwędani","poszybowani","potakiwani","potarmoszeni","potasowani","potęgowani","potępiani","potępieni","potoczeni","potopieni","potorturowani","potrącani","potrąceni","potraktowani","potrojeni","potrząsani","potrzaskani","potrzymani","Poturbowani","poturlani","potwierdzeni","potykani","poucinani","pouczani","pouczeni","poudawani","poukładani","pouprawiani","poupychani","pourywani","poustawiani","poużywani","powąchani","powachlowani","powalani","powaleni","poważani","powbijani","powciągani","powciskani","powdychani","powęszeni","powetowani","powiadamiani","powiadomieni","powiązani","powiedziani","powiedzeni","powiększani","powielani","powieleni","powierzani","powierzeni","powieszeni","powiewani","powinszowani","powitani","powkładani","powlekani","powłóczeni","powodowani","powołani","powoływani","powożeni","powpychani","powróceni","powrzucani","powsadzani","powspominani","powstrzymani","powtarzani","powtórzeni","powybierani","powybijani","powycierani","powycinani","powyciskani","powydawani","powyganiani","powyginani","powyjaśniani","powyjmowani","powyłączani","powymiatani","powymieniani","powynoszeni","powypełniani","powypisywani","powyrywani","powyrzucani","powystrzelani","powysyłani","powywalani","powywieszani","powywracani","pozabawiani","pozabijani","pozacierani","pożądani","pożądleni","pozadzierani","pozakładani","pozaklinani","pozałatwiani","pozamiatani","pozamieniani","pozamrażani","pozamykani","pozapalani","pozapinani","pozapisywani","pozapraszani","pozasłaniani","pozastrzelani","pozatykani","pozbawiani","pozbawieni","pozbierani","pozbywani","pozdejmowani","pozdrawiani","pozdrowieni","pożegnani","pożerani","pozmiatani","pozmieniani","pozmywani","poznaczeni","poznani","poznawani","poznęcani","pozorowani","pozostawiani","pozostawieni","pozowani","pozrywani","pozszywani","pozwalniani","pozwani","pozwiązywani","pozwiedzani","pozwoleni","pożyczani","pożyczeni","pozyskani","pozywani","pożywiani","pożywieni","praktykowani","prani","prasowani","prawieni","prażeni","precyzowani","preferowani","prenumerowani","prezentowani","próbowani","procesowani","produkowani","profanowani","profilowani","prognozowani","programowani","projektowani","proklamowani","prolongowani","promieniowani","promowani","propagowani","proponowani","prosperowani","prostowani","proszkowani","proszeni","protestowani","protokołowani","prowadzeni","prowokowani","pryskani","przeanalizowani","przearanżowani","przebaczani","przebaczeni","przebadani","przebierani","przebijani","przeboleni","przebrani","przebudowani","przebudowywani","przebudzani","przebudzeni","przebukowani","przebywani","przeceniani","przecenieni","przechlapani","przechodzeni","przechowani","przechowywani","przechrzceni","przechwyceni","przechwytywani","przechylani","przechyleni","przechytrzani","przechytrzeni","przeciągani","przeciążani","przeciążeni","przeciekani","przecierani","przecierpiani","przecinani","przeciskani","przeciwstawiani","przećwiczeni","przeczekani","przeczesani","przeczesywani","przeczołgani","przeczuwani","przeczyszczeni","przeczytani","przedawkowani","przedawkowywani","przedekorowani","przedłożeni","przedłużani","przedłużeni","przedmuchani","przedobrzeni","przedostani","przedostawani","przedstawiani","przedstawieni","przedymani","przedyskutowani","przedzierani","przedziurawieni","przedziurkowani","przeegzaminowani","przefaksowani","przefarbowani","przefasonowani","przefasowani","przefaxowani","przefiltrowani","przeformowani","przeforsowani","przegadani","przeganani","przeganiani","przegapiani","przegapieni","przeginani","przeglądani","przegłodzeni","przegłosowani","przegonieni","przegotowani","przegotowywani","przegrabieni","przegradzani","przegrani","przegrupowani","przegrupowywani","przegrywani","przegryzani","przegryzieni","przegrzani","przegrzebani","przegrzewani","przehandlowani","przeholowani","przeinstalowani","przeistoczeni","przejadani","przejaskrawiani","przejaśnieni","przejawiani","przejawieni","przejechani","przejeżdżani","przejmowani","przejrzani","przekabacani","przekabaceni","przekablowani","przekalibrowani","przekalkulowani","przekarmiani","przekąszeni","przekazywani","przekierowani","przekierowywani","przekimani","przekładani","przeklejeni","przeklinani","przekonani","przekonfigurowani","przekonstruowani","przekonwertowani","przekonywani","przekopani","przekopywani","przekoziołkowani","przekraczani","przekręcani","przekręceni","przekreślani","przekreśleni","przekroczeni","przekrojeni","przekrzyczeni","przekrzywieni","przekształcani","przekształceni","przekupieni","przekupywani","przekwalifikowani","przełączani","przełączeni","przeładowani","przeładowywani","przełamani","przełamywani","przelani","przelatywani","przeleciani","przelewani","przeleżani","przelicytowani","przeliczani","przeliczeni","przeliterowani","przełożeni","przełykani","przemalowani","przemalowywani","przemaszerowani","przemawiani","przemeblowani","przemęczeni","przemieleni","przemieniani","przemierzeni","przemieszczani","przemieszczeni","przemijani","przemilczani","przemilczeni","przemodelowani","przemusztrowani","przemycani","przemyceni","przemyślani","przemyśleni","przemywani","przenegocjowani","przeniesieni","przenikani","przenoszeni","przeobrażani","przeobrażeni","przeoczani","przeoczeni","przeorani","przeorganizowani","przeorientowani","przepadani","przepakowani","przepaleni","przeparkowani","przepchani","przepędzani","przepędzeni","przepełniani","przepełnieni","przepijani","przepiłowani","przepisani","przepisywani","przepłacani","przepłaceni","przepłakani","przeplanowani","przepłoszeni","przepłukani","przepłukiwani","przepływani","przepompowani","przepompowywani","przepowiadani","przepowiedziani","przepracowani","przepracowywani","przeprani","przeprawiani","przeprawieni","przeprogramowani","przeprojektowani","przeprowadzani","przeprowadzeni","przepuszczani","przepuszczeni","przepychani","przepytani","przepytywani","przerąbani","przerabiani","przeradzani","przerastani","przerażeni","przeredagowani","przerejestrowani","przerobieni","przerodzeni","przerwani","przerysowani","przerywani","przerzedzani","przerzucani","przerzuceni","przesączeni","przesadzani","przesądzani","przesadzeni","przesądzeni","prześcigani","przesiadani","przesiadywani","przesiani","przesiedlani","przesiedleni","przesiedziani","przesiewani","przesileni","przeskakiwani","przeskalowani","przeskanowani","przeskoczeni","przeskrobani","prześladowani","przesłaniani","przesłani","prześledzeni","przesłodzeni","przesłuchani","przesłuchiwani","przesmarowani","przesoleni","przesortowani","przespani","prześpiewani","przessani","przestawiani","przestawieni","przestemplowani","przestraszeni","przestrojeni","przestrzegani","przestrzeleni","przestudiowani","przesuwani","prześwietlani","prześwietleni","przesyłani","przesypani","przesypiani","przesypywani","przeszarżowani","przeszczepiani","przeszczepieni","przeszkadzani","przeszkoleni","przeszmuglowani","przeszukani","przeszukiwani","przeszywani","przetaczani","przetapetowani","przetestowani","przetkani","przetoczeni","przetopieni","przetrąceni","przetransformowani","przetransmitowani","przetransponowani","przetransportowani","przetrawieni","przetrwani","przetrząsani","przetrzepani","przetrzymani","przetrzymywani","przetwarzani","przetworzeni","przewalani","przewalczeni","przewaletowani","przewaleni","przeważani","przeważeni","przewertowani","przewiązani","przewiązywani","przewidywani","przewidziani","przewiercani","przewierceni","przewieszani","przewieszeni","przewietrzeni","przewiezieni","przewijani","przewitani","przewodniczeni","przewodzeni","przewożeni","przewracani","przewróceni","przewyższani","przeymierzani","przeżeglowani","przeżegnani","przeziębieni","przezimowani","przeznaczani","przeznaczeni","przezwyciężani","przezwyciężeni","przezywani","przeżywani","przodowani","przpochlebieni","przwdziewani","przybastowani","przybierani","przybijani","przybliżani","przybliżeni","przybrani","przycelowani","przycepieni","przychyleni","przyciągani","przyciemnieni","przycinani","przyciskani","przyciszeni","przyćmiewani","przyćmieni","przycumowani","przyczepiani","przyczesani","przyczołgani","przyczynieni","przydeptani","przyduszeni","przydzielani","przydzieleni","przygaszeni","przygazowani","przygładzani","przygnębiani","przygniatani","przygniecieni","przygotowani","przygruchani","przygrywani","przygryzani","przygryzieni","przygrzani","przygwożdżeni","przyhamowani","przyholowani","przyjani","przyjmowani","przyjrzani","przykładani","przyklejeni","przyklepani","przykopani","przykręcani","przykręceni","przykróceni","przykrywani","przykurzeni","przykuwani","przyłączani","przyłączeni","przylani","przyłapani","przylegani","przylepiani","przylepieni","przyłożeni","przymierzeni","przymilani","przymocowani","przymuszani","przynależeni","przyniesieni","przynoszeni","przynudzani","przyostrzeni","przyozdabiani","przyozdobieni","przypakowani","przypakowywani","przypalani","przypaleni","przypasowani","przypatrywani","przypatrzeni","przypieczętowani","przypiekani","przypierani","przypilnowani","przypiłowani","przypinani","przypisani","przypisywani","przypłaceni","przyplątani","przypodobani","przypominani","przypomniani","przyporządkowani","przyprawiani","przyprawieni","przyprowadzeni","przypucowani","przypudrowani","przypuszczani","przypuszczeni","przyrównani","przyrządzani","przyrządzeni","przysiadani","przyskrzydleni","przyskrzyniani","przyskrzynieni","przysłaniani","przysłani","przysłodzeni","przysłonieni","przysłuchiwani","przysługiwani","przysłużeni","przysmażani","przysmażeni","przyspieszani","przyspieszeni","przysporzeni","przysposobieni","przyśrubowywani","przyssani","przystąpieni","przystawiani","przystawieni","przystemplowani","przystopowani","przystosowani","przystrojeni","przysuwani","przyswajani","przyświecani","przyświęceni","przyswojeni","przysyłani","przysypani","przyszpileni","przyszykowani","przyszywani","przytaczani","przytargani","przytaszczani","przytępiani","przytępieni","przytkani","przytłaczani","przytłoczeni","przytłumieni","przytoczeni","przytrafieni","przytroczeni","przytruwani","przytrzymani","przytrzymywani","przytulani","przytuleni","przytwierdzani","przytwierdzeni","przytykani","przyuczeni","przyuważeni","przywabieni","przywalani","przywaleni","przywarowani","przywdziani","przywiązani","przywiązywani","przywidziani","przywiezieni","przywitani","przywłaszczani","przywłaszczeni","przywołani","przywoływani","przywożeni","przywracani","przywróceni","przyznaczeni","przyznani","przyznawani","przyzwalani","przyzwani","przyzwyczajani","przyzwyczajeni","przyzywani","psiamani","pstrykani","publikowani","pucowani","pudłowani","pudrowani","punktowani","pustoszeni","puszczani","puszczeni","puszkowani","puszeni","pykani","pytani","rabowani","rachowani","racjonalizowani","racjonowani","raczeni","radowani","ranieni","raportowani","ratowani","ratyfikowani","reaktywowani","realizowani","reanimowani","recytowani","ręczeni","redagowani","redukowani","reformowani","refowani","regenerowani","regionalizowani","regulowani","reinkarnowani","rejestrowani","reklamowani","rekomendowani","rekompensowani","rekonstruowani","rekreowani","rekrutowani","rekwirowani","relacjonowani","relaksowani","remodulowani","remontowani","renegocjowani","reorganizowani","reperowani","replikowani","represejonowani","reprezentowani","reprodukowani","resetowani","resocjalizowani","respektowani","resuscytowani","retuszowani","rewanżowani","rewidowani","rezerwowani","rezonowani","rezygnowani","reżyserowani","robieni","rodzeni","rojeni","rolowani","romansowani","ronieni","rozbawiani","rozbawieni","rozbierani","rozbijani","rozbrajani","rozbrojeni","rozbudowani","rozbudowywani","rozbudzani","rozbudzeni","rozbujani","rozcapierzeni","rozchmurzeni","rozchodzeni","rozchylani","rozchyleni","rozciągani","rozcieńczani","rozcieńczeni","rozcierani","rozcinani","rozczarowani","rozczarowywani","rozczesani","rozczłonkowani","rozczulani","rozczytani","rozdani","rozdawani","rozdeptani","rozdmuchani","rozdmuchiwani","rozdrabniani","rozdrapani","rozdrapywani","rozdrażniani","rozdrażnieni","rozduszeni","rozdwojeni","rozdysponowani","rozdzielani","rozdzieleni","rozdzierani","rozdziewiczeni","rozebrani","rozedrani","rozegrani","rozegrywani","rozepchani","rozerwani","rozesłani","rozgaszczani","rozglaszani","rozgłoszeni","rozgniatani","rozgniecieni","rozgniewani","rozgonieni","rozgraniczeni","rozgrani","rozgromieni","rozgrywani","rozgryzani","rozgryzieni","rozgrzani","rozgrzebywani","rozgrzeszeni","rozgrzewani","rozhuśtani","rozjaśniani","rozjaśnieni","rozjechani","rozjedzeni","rozjuszani","rozjuszeni","rozkazani","rozkazywani","rozkładani","rozklejani","rozklejeni","rozkołysani","rozkopani","rozkopywani","rozkoszowani","rozkręcani","rozkręceni","rozkrojeni","rozkruszeni","rozkuwani","rozkwaszeni","rozkwaterowani","rozkwitani","rozłączeni","rozładowani","rozładowywani","rozłamani","rozlani","rozlewani","rozliczani","rozliczeni","rozlokowani","rozłożeni","rozłupani","rozluźniani","rozmanażani","rozmasowani","rozmawiani","rozmazani","rozmazywani","rozmiękczeni","rozmieniani","rozmienieni","rozmieszczani","rozmieszczeni","rozmnożeni","rozmontowani","rozmówieni","rozmrażani","rozmrożeni","rozmyślani","różnicowani","rozniecani","rozniecieni","rozniesieni","różnieni","roznoszeni","rozochoceni","rozpaczani","rozpakowani","rozpakowywani","rozpalani","rozpaleni","rozpamiętywani","rozpaskudzani","rozpatrywani","rozpatrzeni","rozpędzani","rozpędzeni","rozpętani","rozpieszczani","rozpieszczeni","rozpiłowani","rozpinani","rozpisani","rozpisywani","rozplanowani","rozpłaszczani","rozpłaszczeni","rozplątani","rozplątywani","rozpoczynani","rozpogodzeni","rozporządzani","rozporządzeni","rozpościerani","rozpostrzeni","rozpowiadani","rozpowiedziani","rozpowszechniani","rozpowszechnieni","rozpoznani","rozpoznawani","rozpracowani","rozpraszani","rozprawiani","rozprawiczeni","rozprawieni","rozprostowani","rozproszeni","rozprowadzani","rozprowadzeni","rozpruwani","rozprzestrzeniani","rozprzestrzenieni","rozpuszczani","rozpuszczeni","rozpychani","rozpylani","rozpyleni","rozpytani","rozpytywani","rozrastani","rozreklamowani","rozrobieni","rozróżniani","rozróżnieni","rozruszani","rozrysowani","rozrywani","rozrzucani","rozsadzani","rozsadzeni","rozsądzeni","rozścieleni","rozsiani","rozsiekani","rozsiewani","rozsiodłani","rozsławiani","rozsławieni","rozsmarowani","rozsmarowywani","rozśmieszani","rozstani","rozstąpieni","rozstawani","rozstawiani","rozstawieni","rozstrojeni","rozstrząsani","rozstrzeliwani","rozstrzeleni","rozstrzygani","rozsupłani","rozświetlani","rozświetleni","rozsyłani","rozsypani","rozsypywani","rozszarpani","rozszarpywani","rozszczepiani","rozszczepieni","rozszerzani","rozszerzeni","rozszyfrowani","roztaczani","roztapiani","roztoczeni","roztopieni","roztrwonieni","roztrząsani","roztrzaskani","rozumiani","rozumowani","rozwalani","rozwaleni","rozważani","rozważeni","rozweselani","rozweseleni","rozwiani","rozwiązani","rozwiązywani","rozwidniani","rozwiedzieni","rozwierani","rozwierceni","rozwieszani","rozwieszeni","rozwiewani","rozwiezieni","rozwikłani","rozwlekani","rozwodzeni","rozwścieczani","rozwścieczeni","rozzłoszczeni","rugani","ruinowani","rujnowani","ruszani","ruszeni","rwani","ryczani","ryglowani","rymowani","rysowani","ryzykowani","rządzeni","rzeźbieni","rzucani","rzuceni","rzygani","sabotażowani","sączeni","sadzani","sadzeni","sądzeni","salutowani","salwowani","sankcjonowani","satysfakcjonowani","scaleni","scementowani","scentrowani","scharakteryzowani","schładzani","schlani","schlapani","schlebieni","schłodzeni","schowani","schronieni","schrupani","schrzanieni","schwytani","schylani","ścieleni","ściemniani","ściemnieni","ścierani","ścierpieni","ścigani","ścinani","ściskani","ściszani","ściszeni","sędziowani","segregowani","selekcjonowani","separowani","sępieni","serwowani","sfabrykowani","sfajczeni","sfałszowani","sfaulowani","sfilmowani","sfinalizowani","sfinansowani","sfingowani","sformalizowani","sformatowani","sformowani","sformułowani","sforsowani","sfotografowani","shimmerowani","siani","siekani","siorbani","skadrowani","skakani","skalani","skaleczeni","skalibrowani","skalkulowani","skalpowani","skanalizowani","skandowani","skanowani","skapitulowani","skarceni","skarżeni","skasowani","skatalogowani","skazani","skażeni","skazywani","skierowani","składani","składowani","skłaniani","sklasyfikowani","sklecieni","sklejani","sklejeni","sklepani","skłóceni","skłonieni","sklonowani","sknoceni","skojarzeni","skolonizowani","skołowani","skombinowani","skomentowani","skompensowani","skompletowani","skomplikowani","skomponowani","skompresowani","skompromitowani","skomunikowani","skonani","skoncentrowani","skończeni","skondensowani","skonfigurowani","skonfiskowani","skonfrontowani","skonkretyzowani","skonsolidowani","skonstruowani","skonsultowani","skonsumowani","skontaktowani","skontrolowani","skoordynowani","skopani","skopiowani","skorektowani","skorumpowani","skorygowani","skorzystani","skoszeni","skracani","skradzieni","skręcani","skręceni","skremowani","skreślani","skreśleni","skrobani","skróceni","skrojeni","skropieni","skruszeni","skrystalizowani","skrytykowani","skrywani","skrzecowani","skrzyczani","skrzywdzeni","skrzyżowani","skserowani","skubani","skuleni","skumulowani","skupiani","skupieni","skupowani","skurczeni","skuszeni","skuwani","skwitowani","słani","sławieni","śledzeni","ślinieni","ślizgani","słodzeni","słuchani","słyszani","smagani","smarowani","smażeni","śmieceni","smyrani","sondowani","sortowani","spafycikowani","spakowani","spalani","spałaszowani","spaleni","spałowani","spamiętani","spaprani","sparafrazowani","sparaliżowani","sparowani","spartaczeni","spartoleni","sparzeni","spasowani","spatałaszeni","spauzowani","spawani","spawieni","specjalizowani","spędzani","spędzeni","spekulowani","spełniani","spełnieni","spenetrowani","spętani","spierani","śpiewani","spiłowani","spinani","spisani","spiskowani","spisywani","spłacani","spłaceni","splądrowani","splajtowani","splamieni","spłaszczeni","splatani","splątani","spłatani","spławiani","spławieni","spłodzeni","spłoszeni","spłukani","spłukiwani","spluwani","spływani","spoczywani","spodziewani","spojeni","spolaryzowani","spoliczkowani","sponiewierani","sponsorowani","spopielani","spopieleni","spopularyzowani","sportretowani","sporządzani","sporządzeni","spostrzegani","spotęgowani","spotkani","spotykani","spoufalani","spowalniani","spowiadani","spowodowani","spowolnieni","spoźnieni","spóźnieni","spożytkowani","spożywani","sprani","sprasowani","spraszani","sprawdzeni","sprawieni","sprawowani","sprecyzowani","spreparowani","sprężani","sprężeni","spróbowani","sprofanowani","sprofilowani","sprostowani","sproszkowani","sproszeni","sprowadzani","sprowadzeni","sprowokowani","spryskani","spryskiwani","sprywatyzowani","sprzątani","sprzeczani","sprzedani","sprzedawani","sprzeniewierzeni","spudłowani","spustoszeni","spuszczani","spuszczeni","spychani","ssani","stabilizowani","stacjonowani","staczani","staranowani","starczani","stargowani","startowani","stawiani","stawieni","stemplowani","stenografowani","stepowani","sterowani","sterroryzowani","sterylizowani","stłamszeni","stłumieni","stoczeni","stołowani","stonowani","stopieni","stopniowani","storpedowani","stosowani","strącani","straceni","strąceni","strajkowani","straszeni","stratowani","strawieni","streamowani","stresowani","streszczani","streszczeni","strofowani","strojeni","stroszeni","strugani","strymowani","strząsani","strzaskani","strzeleni","strzepani","strzępieni","strzepywani","studiowani","studzeni","stukani","stuleni","stwardnieni","stwarzani","stwierdzani","stwierdzeni","stworzeni","stykani","stylizowani","stymulowani","sugerowani","sumowani","swatani","swawoleni","świadczeni","świeceni","święceni","świerzbieni","świętowani","świntuszeni","syceni","sygnalizowani","symulowani","synchronizowani","sypani","szachrowani","szacowani","szafowani","szamotani","szanowani","szargani","szarpani","szarżowani","szasowani","szastani","szatkowani","szczędzeni","szczepieni","szczerzeni","szczyceni","szczypani","szczytowani","szefowani","szemrani","szeptani","szerzeni","szkalowani","szkicowani","szkleni","szkodzeni","szkoleni","szlachtowani","szlifowani","szmuglowani","szokowani","szorowani","szpachlowani","szpanowani","szperani","szprycowani","szturchani","szturmowani","szufladkowani","szuflowani","szukani","szulerowani","szwankowani","szydełkowani","szydzeni","szyfrowani","szykanowani","szykowani","taktowani","tamowani","tankowani","tapetowani","taplani","taranowani","targani","targowani","tarmoszeni","tarzani","tasowani","taszczeni","tatuowani","telefonowani","telegrfowani","teleportowani","temperowani","teoretyzowani","tępieni","terroryzowani","testowani","tkani","tłamszeni","tłoczeni","tłumaczeni","tłumieni","toczeni","tolerowani","tonowani","topieni","torowani","torturowani","towarzyszeni","trąbieni","trącani","traceni","trąceni","trafiani","trafieni","tragizowani","traktowani","transferowani","transformowani","transmitowani","transportowani","tratowani","trawieni","trenowani","tresowani","triumfowani","tropieni","troszczeni","trwonieni","trymowani","tryskani","tryumfowani","trywializowani","trzaskani","trzepani","trzepotani","trzęsieni","trzymani","tuczeni","tułani","tuleni","turlani","tuszowani","twistowani","tworzeni","tykani","tyranizowani","tyrani","tytułowani","uaktualniani","uaktualnieni","uaktywniani","uaktywnieni","uargumentowani","uatrakcyjnieni","ubabrani","ubarwiani","ubarwieni","ubawieni","ubezpieczani","ubezpieczeni","ubezwłasnowolnieni","ubiczowani","ubiegani","ubierani","ubijani","ubłagani","ubliżani","ubliżeni","ubolewani","ubóstwiani","ubrani","ubroczeni","ubrudzeni","ucałowani","ucharakteryzowani","uchowani","uchronieni","uchwalani","uchwaleni","uchwyceni","uchylani","uchyleni","ucieleśniani","ucierani","ucierpiani","ucinani","uciskani","uciszani","uciszeni","uciułani","ucywilizowani","uczczeni","uczepieni","uczesani","uczęszczani","uczeni","ucztowani","uczynieni","udani","udaremnieni","udawani","udekorowani","udeptywani","uderzani","uderzeni","udobruchani","udokumentowani","udomawiani","udomowieni","udoskonalani","udoskonaleni","udostępniani","udostępnieni","udowadniani","udowodnieni","Udramatyzowani","udręczeni","udrożnieni","udupieni","uduszeni","udzielani","udzieleni","ueiwarygodnieni","ufani","ufarbowani","uformowani","ufortyfikowani","ufundowani","ugadani","uganiani","ugaszani","ugaszeni","uginani","ugłaskani","ugniatani","ugodzeni","ugoszczeni","ugotowani","ugrani","ugruntowani","ugryzieni","uhistoryzowani","uhonorowani","ujadani","ujarzmiani","ujarzmieni","ujawniani","ujawnieni","ujeżdżani","ujeżdżeni","ujmowani","ujrzani","ukamieniowani","ukarani","ukartowani","ukąszeni","ukatrupieni","ukazani","ukazywani","ukierowani","ukierunkowani","układani","uklepani","ukłonieni","ukojeni","ukołysani","ukończeni","ukonkretnieni","ukoronowani","ukradzieni","ukręcani","ukręceni","ukrojeni","ukrywani","ukrzyżowani","ukształtowani","ułagodzeni","ułaskawiani","ułaskawieni","ulatniani","ułatwiani","ułatwieni","uleczani","uleczeni","ulegani","ulepieni","ulepszani","ulepszeni","ulokowani","ulotnieni","ułożeni","umacniani","umalowani","umartwiani","umawiani","umazani","umeblowani","umiejscowieni","umieszczani","umieszczeni","umilani","umileni","umniejszani","umniejszeni","umocnieni","umocowani","umoczeni","umodelowani","umorzeni","umotywowani","umówieni","umożliwiani","umożliwieni","umrocznieni","unaocznieni","unicestwiani","unicestwieni","uniemożliwaini","uniemożliwieni","unierochomieni","uniesieni","unieszczęśliwiani","unieszczęśliwieni","unieszkodliwiani","unieszkodliwieni","unieważniani","unieważnieni","uniewinnieni","uniezależnieni","unikani","unormowani","unoszeni","unowoczesniani","unowocześniani","uodpornieni","uogólniani","upakowani","upalani","upaleni","upamiętniani","upamiętnieni","upaństwowieni","upaprani","upaskudzeni","upchani","upewniani","upewnieni","upgradowani","upiększani","upiększeni","upierani","upierdoleni","upijani","upilnowani","upinani","uplastycznieni","upodabniani","upodobnieni","upojeni","upokorzani","upokorzeni","upolowani","upominani","uporządkowani","upowszechnieni","upozorowani","upozowani","uprani","uprasowani","upraszczani","uprawdopodobnieni","uprawiani","uproszczeni","uproszeni","uprowadzani","uprowadzeni","uprzątani","uprzedeni","uprzedzani","uprzyjemniani","uprzyjemnieni","uprzykrzani","uprzytomnieni","upubliczniani","upublicznieni","upudrowani","upuszczani","upuszczeni","upychani","urabiani","uraczani","uradowani","Urągani","uratowani","urażani","urażeni","uregulowani","urobieni","uronieni","urozmaicani","urozmaiceni","uruchamiani","uruchomieni","urwani","urywani","urządzani","urządzeni","urzeczywistniani","urzeczywistnieni","usadowieni","usadzeni","usamowolnieni","usankcjonowani","usatyfakcjonowani","uściskani","uścisleni","usidleni","usiedzeni","uskładani","uskoczeni","uskuteczniani","uskutecznieni","usłuchani","usługiwani","usłużeni","usłyszani","usmażeni","uśmiani","uśmiercani","uśmierceni","uśmierzeni","uspani","uśpieni","uspokajani","uspokojeni","uspołeczniani","usprawiedliwiani","usprawiedliwieni","usprawnieni","usprzątani","ustabilizowani","ustalani","ustaleni","ustanawiani","ustanowieni","ustąpieni","ustatkowani","ustawiani","ustawieni","ustępowani","ustosunkowani","ustrojeni","ustrzegani","ustrzeleni","ususzeni","usuwani","uświadamiani","uświadczeni","uświadomieni","uświęceni","uświnieni","usychani","usypani","usypiani","usystematyzowani","usytuowani","uszanowani","uszczelniani","uszczęśliwiani","uszczęśliwieni","uszczupleni","uszkadzani","uszkodzeni","uszlachetniani","uszlachetnieni","usztywnieni","uszykowani","utajnieni","utargowani","utemperowani","utkani","utkwieni","utoczeni","utopieni","utorowani","utożsamiani","utożsamieni","utraceni","utrąceni","utrudniani","utrudnieni","utrwalani","utrwaleni","utrzymywani","utuczeni","utuleni","utwierdzani","utwierdzeni","utworzeni","utylizowani","uwalniani","uwaleni","uwarunkowani","uważani","uwiązani","uwiązywani","uwidocznieni","uwieczniani","uwiecznieni","uwielbiani","uwielbieni","uwieńczeni","uwierani","uwierzeni","uwieszeni","uwiezieni","uwięzieni","uwijani","uwikłani","uwłaczani","uwłaszczeni","uwodzeni","uwolnieni","uwsteczniani","uwstecznieni","uwydatniani","uwypikleni","uwzględniani","uwzględnieni","użądleni","uzależniani","uzależnieni","uzasadniani","uzasadnieni","uzbierani","uzbrajani","uzbrojeni","uzdrawiani","uzdrowieni","użerani","uzewnętrzniani","uzewnętrznieni","uzgadniani","uzgodnieni","uziemieni","uzmysłowieni","uznani","uznawani","uzupełniani","uzupełnieni","uzurpowani","użyczani","użyczeni","uzyskani","uzyskiwani","używani","wabieni","wąchani","wachlowani","wahani","walczeni","wałkowani","waleni","ważeni","wbijani","wcelowani","wciągani","wcielani","wcieleni","wcierani","wcinani","wciskani","wczepieni","wczołgani","wczytani","wczytywani","wdani","wdawani","wdeptani","wdetonowani","wdmuchiwani","wdrapani","wdrapywani","wdrażani","wdrążeni","wdrożeni","wduszeni","wdychani","wdzierani","wędkowani","wentylowani","wepchani","werbowani","weryfikowani","wessani","wetkani","wezwani","wgłębiani","wgniatani","wgniecieni","wgrani","wgryzani","wgryzieni","wiązani","wibrowani","widywani","widziani","wiedzeni","wielbieni","wierceni","wierzgani","wierzeni","wieszani","wietrzeni","więżeni","wikłani","windowani","winszowani","wiosłowani","wirowani","witani","wizualizowani","wjeżdżani","wkalkulowani","wkładani","wklejani","wklejeni","wklepani","wkomponowani","wkopani","wkopywani","wkraczani","wkradani","wkradzieni","wkręcani","wkręceni","wkupieni","wkurwiani","wkuwani","włączani","włączeni","władani","władowani","włamani","włamywani","wlani","wlepiani","wlepieni","wlewani","wliczani","wliczeni","włożeni","wmanewrowani","wmanipulowani","wmawiani","wmieszani","wmówieni","wmurowani","wmuszeni","wnerwiani","wnerwieni","wniesieni","wnikani","wnioskowani","wnoszeni","wodowani","wojowani","wołani","woskowani","wożeni","wpajani","wpakowani","wparowani","wpasowani","wpatrywani","wpędzani","wpędzeni","wperswadowani","wpienieni","wpisani","wpisywani","wpłacani","wpłaceni","wplatani","wplątani","wplątywani","wpojeni","wpompowani","wpraszani","wprawiani","wproszeni","wprowadzani","wprowadzeni","wpuszczeni","wpychani","wrabiani","wręczani","wrobieni","wróżeni","wrzucani","wrzuceni","wrzynani","wsadzani","wsadzeni","wskazani","wskazywani","wskórani","wskrzeszani","wskrzeszeni","wślizgiwani","wsłuchani","wspierani","współodczuwani","współtworzeni","wspomagani","wspominani","wspomniani","wstąpieni","wstawiani","wstawieni","wstrząsani","wstrzeleni","wstrzykiwani","wstrzymani","wstrzymywani","wstukani","wsuwani","wsypani","wszamani","wszczepiani","wszczepieni","wszczynani","wtajemniczani","wtajemniczeni","wtapiani","wtaszczeni","wtłoczeni","wtopieni","wtrąceni","wtryniani","wtulani","wtuleni","wtykani","wwaleni","wwiercani","wwierceni","wwiezieni","wwożeni","wyartykułowani","wyautowani","wybaczani","wybaczeni","wybadani","wybatożeni","wybawieni","wybebeszeni","wybełkotani","wybiczowani","wybielani","wybieleni","wybierani","wybijani","wybłagani","wybrandzlowani","wybrani","wybronieni","wybrzydzani","wybuchani","wybudowani","wybudzani","wybudzeni","wyburzani","wyburzeni","wycackani","wycałowani","wyceniani","wycenieni","wychlani","wychłostani","wychodowani","wychowani","wychowywani","wychrobotani","wychwalani","wychwyceni","wychylani","wychyleni","wyciągani","wyciekani","wycieniowani","wycierani","wycinani","wyciskani","wyciszani","wyciszeni","wycofani","wyćwiczeni","wycyckani","wycyganieni","wyczarowani","wyczarterowani","wyczekani","wyczekiwani","wyczerpani","wyczesani","wyczołgani","wyczołgiwani","wyczuwani","wyczyniani","wyczyszczeni","wyczytani","wyczytywani","wydalani","wydaleni","wydani","wydębieni","wydedukowani","wydelegowani","wydepilowani","wydeptywani","wydłubani","wydłubywani","wydłużani","wydłużeni","wydmuchani","wydmuchiwani","wydobywani","wydojeni","wydoroślani","wydostani","wydrani","wydrapani","wydrapywani","wydrążeni","wydrukowani","wydukani","wyduszeni","wydychani","wydziedziczeni","wydzielani","wydzieleni","wydzierani","wydzierżawieni","wydziobani","wydziwiani","wydzwaniani","wyedukowani","wyedytowani","wyeeliminowani","wyegzekwowani","wyeksmitowani","wyekspediowani","wyeksploatowani","wyeksponowani","wyeksportowani","wyeliminowani","wyemigrowani","wyemitowani","wyewoluowani","wygadani","wygadywani","wyganiani","wygarbowani","wygarniani","wygasani","wygaszani","wygaszeni","wygenerowani","wyginani","wygładzani","wygładzeni","wygłaszani","wygłodzeni","wygłosowani","wygłoszeni","wygłówkowani","wygnani","wygoleni","wygonieni","wygooglowani","wygospodarowani","wygotowani","wygrani","wygrawerowani","wygrażani","wygrywani","wygryzieni","wygrzani","wygrzebani","wygrzebywani","wygrzewani","wygubieni","wyhaczeni","wyhaftowani","wyhamowani","wyhodowani","wyizolowani","wyjadani","wyjaśniani","wyjaśnieni","wyjawiani","wyjawieni","wyjedzeni","wyjmowani","wykadrowani","wykalibrowani","wykalkulowani","wykańczani","wykantowani","wykąpani","wykaraskani","wykarczowani","wykarmiani","wykasowani","wykastrowani","wykazani","wykazywani","wykierowani","wykitowani","wykiwani","wykładani","wyklarowani","wyklepani","wyklinani","wykłócani","wykluczani","wykluczeni","wykminieni","wykolejeni","wykołowani","wykombinowani","wykonani","wykończeni","wykonywani","wykopani","wykopywani","wykorkowani","wykorzeniani","wykorzenieni","wykorzystani","wykorzystywani","wykoszeni","wykradani","wykręcani","wykręceni","wykreowani","wykreślani","wykreśleni","wykrochmaleni","wykrojeni","wykrwawiani","wykrwawieni","wykrywani","wykrzesani","wykrztuszeni","wykrzyczeni","wykrzykiwani","wykrzywiani","wykształceni","wyksztuszeni","wykupieni","wykupywani","wykuwani","wyłączani","wyłączeni","wylądowani","wyładowani","wyładowywani","wyłajani","wyłamani","wyłamywani","wyłaniani","wylansowani","wylani","wyłapani","wyłapywani","wyławiani","wyleasingowani","wyleczeni","wylęgani","wylegimytowani","wylewani","wyłgani","wylicytowani","wyliczani","wyliczeni","wylizani","wylizywani","wylogowani","wyłonieni","wylosowani","wyłowieni","wyłożeni","wyłudzani","wyłudzeni","wyłupani","wyłuskani","wyłuskiwani","wyłuszczeni","wyluzowani","wymacani","wymachiwani","wymagani","wymahiwani","wymalowani","wymamrotani","wymanewrowani","wymarzeni","wymasowani","wymawiani","wymazani","wymazywani","wymeldowani","wymeldowywani","wymiatani","wymiecieni","wymieniani","wymienieni","wymierzani","wymieszani","wymigani","wymigiwani","wymijani","wymoczeni","wymodelowani","wymontowani","wymordowani","wymuszani","wymyślani","wymyśleni","wynagradzani","wynagrodzeni","wynajdowani","wynajdywani","wynajmowani","wynalezieni","wynarodowieni","wynegocjowani","wyniesieni","wyniszczani","wyniszczeni","wyniuchani","wynoszeni","wynurzani","wyobrażani","wyobrażeni","wyodrębnieni","wyolbrzymiani","wyolbrzymieni","wyorbowani","wyosiowani","wyostrzani","wyostrzeni","wypaczani","wypakowani","wypakowywani","wypalani","wypaleni","wypałowani","wyparowani","wypasani","wypastowani","wypatroszeni","wypatrywani","wypatrzeni","wypchani","wypędzani","wypędzlowani","wypełniani","wypełnieni","wypersfadowani","wyperswadowani","wypierani","wypijani","wypinani","wypisani","wypisywani","wypłacani","wypłaceni","wypłakani","wypłakiwani","wypłaszczeni","wyplatani","wyplątani","wyplenieni","wyplewieni","wypłoszeni","wypłukani","wypłukiwani","wypluwani","wypoceni","wypolerowani","wypominani","wypomniani","wypompowani","wypompowywani","wyposażeni","wypowiadani","wypowiedziani","wypoziomowani","wypożyczani","wypracowani","wypracowywani","wyprani","wyprasowani","wypraszani","wyprawiani","wyprawieni","wypróbowani","wyprodukowani","wyprojektowani","wypromieniowani","wypromowani","wyprostowani","wyprostowywani","wyproszeni","wyprowadzani","wyprowadzeni","wypróżniani","wypróżnieni","wypruwani","wyprzedani","wyprzedawani","wyprzedzani","wyprzedzeni","wyprzęgani","wypstrykani","wypucowani","wypuszczani","wypuszczeni","wypychani","wypytani","wypytywani","wyrąbani","wyrabiani","wyrąbywani","wyratowani","wyrażani","wyrażeni","wyrecytowani","wyręczani","wyręczeni","wyregulowani","wyrejestrowani","wyremontowani","wyreżyserowani","wyrobieni","wyrolowani","wyrównani","wyrównywani","wyróżniani","wyróżnieni","wyrugowani","wyruszani","wyrwani","wyrypani","wyrysowani","wyrywani","wyrządzeni","wyrzeźbieni","wyrzucani","wyrzuceni","wyrzygani","wyrzynani","wyrzywani","wysączeni","wysadzani","wysadzeni","wyściskani","wyselekcjonowani","wysępieni","wysiadywani","wysiedzeni","wysilani","wysileni","wyskakiwani","wyskalowani","wyskoczeni","wyskrobani","wyskubywani","wysłani","wyśledzeni","wyślizgiwani","wysłowieni","wysłuchani","wysłuchiwani","wysmagani","wysmarkani","wysmarowani","wysmażani","wysmażeni","wyśmiani","wyśmiewani","wysmołowani","wysmyrani","wyśnieni","wysnuwani","wysondowani","wyspecjalizowani","wyśpiewani","wyśpiewywani","wyspowiadani","wysprzątani","wysprzedani","wyssani","wystartowani","wystawieni","wysterelizowani","wysterylizowani","wystosowani","wystosowywani","wystraszeni","wystrojeni","wystrugani","wystrzegani","wystrzelani","wystrzeliwani","wystrzeleni","wystudzeni","wystukani","wystukiwani","wysuszani","wysuwani","wyswatani","wyświadczani","wyświadczeni","wyświetlani","wyświetleni","wyswobodzeni","wysyłani","wysypani","wysypywani","wysysani","wyszabrowani","wyszalani","wyszarpani","wyszasowani","wyszczotkowani","wyszczupleni","wyszeptani","wyszkoleni","wyszlifowani","wyszorowani","wyszperani","wyszukani","wyszukiwani","wyszumieni","wyszykowani","wytapetowani","wytargani","wytargowani","wytarzani","wytaszczeni","wytatuowani","wytępieni","wytłoczeni","wytłumaczeni","wytłumieni","wytoczeni","wytrąbieni","wytrącani","wytrąceni","wytransmitowani","wytransportowani","wytrenowani","wytresowani","wytriangulowani","wytropieni","wytrząsani","wytrzebieni","wytrzepani","wytrzeszczani","wytrzeźwiani","wytrzymani","wytrzymywani","wytwarzani","wytworzeni","wytyczeni","wytykani","wytypowani","wyuczeni","wywabiani","wywabieni","wywąchani","wywalani","wywalczeni","wywaleni","wywarzani","wyważani","wyważeni","wywęszani","wywężykowani","wywiani","wywiązani","wywiązywani","wywierani","wywierceni","wywieszani","wywieszeni","wywietrzeni","wywiezieni","wywijani","wywindowani","wywłaszczeni","wywlekani","wywnętrznieni","wywnioskowani","wywodzeni","wywolani","wywoływani","wywoskowani","wywożeni","wywracani","wywróceni","wywróżeni","wywyższani","wyżaleni","wyzdrowieni","wyżebrani","wyżerani","wyzerowani","wyznaczani","wyznaczeni","wyznani","wyznawani","wyzwalani","wyzwani","wyzwoleni","wyzygzakowani","wyżynani","wyzyskani","wyzyskiwani","wyzywani","wyżywani","wyżywieni","wzbijani","wzbogacani","wzbogaceni","wzbraniani","wzbudzani","wzbudzeni","wzburzani","wzburzeni","wżenieni","wzmacnieni","wzmagani","wzmocnieni","wznawiani","wzniecani","wzniecieni","wznoszeni","wznowieni","wzorowani","wzruszeni","wzwyżani","wzywani","zaabordowani","zaadaptowani","zaadoptowani","zaadresowani","zaakcentowani","zaakceptowani","zaaklimatyzowani","zaalarmowani","zaanektowani","zaangażowani","zaanonsowani","zaapelowani","zaaplikowani","zaaportowani","zaaprobowani","zaaranżowani","zaaresztowani","zaatakowani","zabaczeni","zabalowani","zabandażowani","zabarwieni","zabarykadowani","zabawiani","zabawieni","zabepieczani","zabetonowani","zabezpieczeni","zabierani","zabłądzeni","zablefowani","zabłoceni","zablokowani","zabraniani","zabrani","zabronieni","zabrudzeni","zabudowani","zabukowani","zabuleni","zaburzeni","zabutelkowani","zacementowani","zacerowani","zachciani","zachęcani","zachęceni","zachlapani","zachodzeni","zachomikowani","zachorowani","zachowani","zachowywani","zachwalani","zachwaleni","zachwiani","zachwyceni","zaciągani","zaciążeni","zaciekawieni","zaciemniani","zaciemnieni","zacierani","zacieśnieni","zacinani","zaciskani","zaćmieni","zacumowani","zacytowani","zaczadzeni","zaczarowani","zaczepiani","zaczepieni","zaczerpani","zaczesani","zaczołgani","zaczynani","zadawalani","zadawani","zadbani","zadebiutowani","zadedykowani","zadeklamowani","zadeklarowani","zademonstrowani","zadenucjowani","zadepeszowani","zadeptani","zadeptywani","zadławieni","żądleni","zadłużani","zadłużeni","zadokowani","zadomowieni","zadowalani","zadrapani","zadręczani","zadręczeni","zadrutowani","zadurzani","zadurzeni","zaduszeni","zadymieni","zadźgani","zadziobani","zadziwiani","zadziwieni","zafakturowani","zafałszowani","zafarbowani","zafiksowani","zafundowani","zagadani","zagadywani","zagajeni","zaganiani","zagapieni","zagarażowani","zagarniani","zagaszeni","zagazowani","zagęszczeni","zaginani","zagłębiani","zagłębieni","zagłodzeni","zagłuszani","zagłuszeni","zagmatwani","zagnani","zagnieżdżeni","zagojeni","zagonieni","zagospodarowani","zagotowani","zagrabieni","zagradzani","zagrażani","zagrodzeni","zagrywani","zagryzani","zagryzieni","zagrzani","zagrzebani","zagrzewani","zagubieni","zagwarantowani","zahaczeni","zahamowani","zahandlowani","zaharowani","zahartowani","zahipnotyzowani","zaholowani","zaimitowani","zaimplantowani","zaimplementowani","zaimprowizowani","zainaugurowani","zainfekowani","zainicjowani","zainkasowani","zainscenizowani","zainspirowani","zainstalowani","zainteresowani","zaintrygowani","zaintubowani","zainwestowani","zaizolowani","zajadani","zajani","zajarani","zajechani","zajmowani","zakablowani","zakamuflowani","zakasani","zakasowani","zakąszani","zakatalogowani","zakatowani","zakatrupieni","zakazani","zakażani","zakazywani","zakiszeni","zakładani","zaklasyfikowani","zaklejani","zaklejeni","zaklepani","zaklepywani","zaklinani","zaklinowani","zakłócani","zakłóceni","zaklopotani","zakneblowani","zakodowani","zakolczykowani","zakolorowani","zakołysani","zakomunikowani","zakończeni","zakonserwowani","zakopani","zakopywani","zakorzeniani","zakorzenieni","zakoszeni","zakosztowani","zakotwiczani","zakotwiczeni","zakpieni","zakradani","zakręcani","zakręceni","zakreślani","zakreśleni","zakrwawieni","zakrywani","zakrzyczani","zakrzywiani","zakrzywieni","zaksięgowani","zaktualizowani","zaktywizowani","zaktywowani","zakumani","zakupieni","zakurzeni","zakuwani","zakwaterowani","załączeni","załadowani","załagodzeni","zalamani","zalaminowani","załamywani","zalani","załapani","załatani","załatwiani","załatwieni","zalatywani","zalecani","zaleceni","zaleczeni","zalegalizowani","zalegani","zalepiani","zalepieni","zalewani","zaliczani","zaliczeni","załkani","zalogowani","żałowani","założeni","zaludnieni","zamacani","zamąceni","zamalowani","zamanewrowani","zamanifestowani","zamarkowani","zamartwiani","zamarynowani","zamarzani","zamaskowani","zamawiani","zamazani","zamazywani","zamęczani","zamęczeni","zameldowani","zamelinowani","zamerykanizowani","zamiatani","zamieniani","zamienieni","zamieszani","zamieszczani","zamieszczeni","zamieszkani","zamieszkiwani","zaminowani","zamocowani","zamoczeni","zamontowani","zamordowani","zamortyzowani","zamotani","zamówieni","zamrażani","zamroczeni","zamrożeni","zamulani","zamurowani","zamydleni","zamykani","zanalizowani","zanegowani","zaniechani","zanieczyszczani","zanieczyszczeni","zaniedbani","zaniedbywani","zaniepokojeni","zaniesieni","zanihilowani","zanikani","zaniżani","zaniżeni","zanoszeni","zanotowani","zanuceni","zanudzani","zanudzeni","zanurzani","zanurzeni","zanużeni","zaobaczeni","zaobserwowani","zaoferowani","zaofiarowani","zaogniani","zaognieni","zaokrąglani","zaokrągleni","zaokrętowani","zaopatrywani","zaopatrzeni","zaopiekowani","zaorani","zaostrzani","zaostrzeni","zaoszczędzeni","zapadani","zapakowani","zapalani","zapaleni","zapamiętani","zapamiętywani","zapanowani","zaparkowani","zaparowywani","zaparzani","zaparzeni","zapaskudzeni","zapauzowani","zapchani","zapędzani","zapełniani","zapełnieni","zaperfumowani","zapeszani","zapewniani","zapewnieni","zapieczętowani","zapierani","zapijani","zapinani","zapisani","zapisuwani","zapłaceni","zapładniani","zaplamieni","zaplanowani","zaplątani","zapłodnieni","zaplombowani","zapobiegani","zapodani","zapodawani","zapodziani","zapokojeni","zapolowani","zapominani","zapomniani","zapowiadani","zapowiedziani","zapoznani","zapoznawani","zapożyczeni","zapracowywani","zaprani","zaprasowywani","zapraszani","zaprawieni","zaprenumerowani","zaprezentowani","Zaprogramowani","zaprojektowani","zaproponowani","zaproszeni","zaprotokołowani","zaprowadzani","zaprowadzeni","zaprzątani","zaprzeczani","zaprzeczeni","zaprzedani","zaprzedawani","zaprzęgani","zaprzepaszczani","zaprzestani","zaprzestawani","zaprzyjaźnieni","zapudłowani","zapunktowani","zapuszczani","zapuszczeni","zapuszkowani","zapychani","zapylani","zapyleni","zapytani","zarabiani","zaranżowani","zarażani","zarażeni","zarecytowani","zaręczani","zaręczeni","zarejestrowani","zareklamowani","zarekomendowani","zarekomondowani","zarekwirowani","zarezerwowani","zarobieni","żartowani","zarwani","zaryglowani","zarymowani","zarysowani","zarywani","zaryzykowani","zarządzani","zarzucani","zarzynani","zasadzeni","zaścieleni","zasegurowani","zaserwowani","zasiadani","zasiani","zasiedleni","zasięgani","zasiewani","zasilani","zasileni","zaskakiwani","zaskarbieni","zaskoczeni","zaskrobani","zasłaniani","zaślepiani","zaślepieni","zasłodzeni","zasłonieni","zasłużeni","zasmakowani","zaśmiecani","zaśmieceni","zasmradzani","zasmrodzeni","zasmucani","zasmuceni","zasoleni","zaspakajani","zaśpiewani","zaspokajani","zaspokojeni","zasponsorowani","zaśrubowywani","zassani","zastani","zastąpieni","zastawiani","zastawieni","zastępowani","zastopowani","zastosowani","zastraszani","zastraszeni","zastrzeleni","zasugerowani","zasuwani","zaświadczeni","zaświeceni","zaświonieni","zasyfieni","zasygnalizowani","zasymilowani","zasymulowani","zasypani","zasypywani","zasysani","zaszachowani","zaszantażowani","zaszargani","zaszczepiani","zaszczepieni","zaszczycani","zaszczyceni","zaszeptani","zaszeregowani","zaszlachtowani","zasznurowani","zaszpachlowani","zasztyletowani","zaszufladkowani","zaszyfrowani","zaszywani","zataczani","zatajani","zatajeni","zatamowani","zatankowani","zatapiani","zatargani","zatelegrafowani","zatemperowani","zatęsknieni","zatkani","zatoczeni","zatopieni","zatracani","zatraceni","zatriumfowani","zatrudniani","zatrudnieni","zatruwani","zatrzaskiwani","zatrzymani","zatrzymywani","zatuszowani","zatwierdzani","zatwierdzeni","zatykani","zatynkowani","zatytułowani","zauploadowani","zauroczeni","zautomatyzowani","zauważani","zauważeni","zawadzani","zawalani","zawalczeni","zawaleni","zaważeni","zawdzięczani","zawetowani","zawężeni","zawiadamiani","zawiadomieni","zawiązani","zawiązywani","zawiedzeni","zawierani","zawierzeni","zawieszani","zawieszeni","zawiezieni","zawijani","zawinieni","zawitani","zawłaszczeni","zawodzeni","zawojowani","zawołani","zawoskowani","zawożeni","zawracani","zawróceni","zawstydzani","zażądani","zażartowani","zazdroszczeni","zażegnani","zażenowani","zaznaczani","zaznajomieni","zaznani","zaznawani","zażyczeni","zażywani","zbaczani","zbadani","zbagatelizowani","zbajerowani","zbałamuceni","zbalansowani","zbalsamowani","zbankrutowani","zbawiani","zbawieni","zbesztani","zbezczeszczeni","zbierani","zbijani","zbliżeni","zbluzgani","zbojkotowani","zbrojeni","zbrukani","zbszczeceni","zbudowani","zbudzeni","zbuntowani","zburzeni","zbywani","zchwytani","zciszeni","zdani","zdeaktywowani","zdecydowani","zdefiniowani","zdeflorowani","zdegradowani","zdejmowani","zdeklarowani","zdekodowani","zdekompresowani","zdekoncentrowani","zdekonstruowani","zdelegalizowani","zdemaskowani","zdementowani","zdemolowani","zdemontowani","zdemoralizowani","zdenerwowani","zdeponowani","zdeprymowani","zdeptani","zderzani","zderzeni","zdestabilizowani","Zdetonowani","zdetronizowani","zdewastowani","zdewaulowani","zdezerterowani","zdezintegrowani","zdezorientowani","zdezynfektowani","zdiagnozowani","zdławieni","zdmuchiwani","zdobywani","zdołowani","zdominowani","zdopingowani","zdrabniani","zdradzani","zdradzeni","zdrapani","zdrapywani","zdrutowani","zdruzgotani","zduplikowani","zduszeni","zdwojeni","zdyscyplinowani","zdyskredytowani","zdyskwalifikowani","zdystansowani","zdzieleni","zdzierani","zdzierżeni","zdziesiątkowani","zdzwonieni","zebrani","zechciani","zedytowani","żegnani","żenieni","żerowani","zerwani","zeskakiwani","zeskanowani","zeskrobywani","zesłani","ześlizgiwani","zesmoleni","zespawiani","zespoleni","zessani","zestawiani","zestawieni","zestresowani","zestrzeliwani","zestrzeleni","zeswatani","zeszkleni","zeszlifowani","zezłoszczeni","zeznani","zeznawani","zezwalani","zezwoleni","zfinansowani","zgadani","zgadywani","zgajani","zganieni","zgaszeni","zginani","zgładzeni","zgłaszani","zgłębiani","zgłębieni","zgłośnieni","zgłoszeni","zgłuszeni","zgniatani","zgniecieni","zgnojeni","zgodzeni","zgoleni","zgonieni","zgotowani","zgrabieni","zgrillowani","zgromadzani","zgromadzeni","zgrupowani","zgrzeszeni","zgrzytani","zgubieni","zgwałceni","zhackowani","zhakowani","zhańbieni","zhandlowani","zharmonizowani","zidentyfikowani","ziewani","zignorowani","zilustrowani","zinfiltrowani","zintegrowani","zintensyfikowani","zinterpretowani","zinwentaryzowani","zirytowani","zjadani","zjawiani","zjednani","zjednoczeni","zjedzeni","zjeżdżeni","zkontaktowani","zkserowani","złączeni","złagodzeni","złajani","złamani","zlani","złapani","zlecani","zleceni","zlekceważeni","zlepiani","zlepieni","zlewani","zlicytowani","zliczani","zliczeni","zlikwidowani","zlinczowani","zlitowani","zlizani","zlizywani","zlokalizowani","złomowani","żłopani","złowieni","złożeni","złupieni","złuszczani","zluzowani","zmacani","zmąceni","zmagani","zmagazynowani","zmajstrowani","zmaksylizowani","zmanipulowani","zmarnowani","zmartwychwstani","zmasakrowani","zmaterializowani","zmawiani","zmazani","zmazywani","zmbobardowani","zmiatani","zmiażdżeni","zmiękczeni","zmieleni","zmieniani","zmienieni","zmierzani","zmierzeni","zmierzwieni","zmieszani","zmieszczeni","zmiksowani","zminiaturyzowani","zminimalizowani","zmniejszani","zmniejszeni","zmobilizowani","zmoczeni","zmodernizowani","zmodyfikowani","zmonopolizowani","zmontowani","zmostkowani","zmotywowani","zmówieni","zmrożeni","zmrużeni","zmumifikowani","zmuszani","zmuszeni","zmutowani","zmyślani","zmywani","znacjonalizowani","znajdowani","znajdywani","znakowani","znalezieni","znani","znęcani","zneutralizowani","zniechęceni","znieczuleni","zniekształcani","zniekształceni","znienawidzeni","znieprawieni","zniesieni","zniesławiani","zniesławieni","zniewalani","znieważani","znieważeni","zniewoleni","zniszczeni","zniweczeni","zniwelowani","zniżani","zniżeni","znokautowani","znormalnieni","znoszeni","znudzeni","zobaczeni","zobowiązani","zobrazowani","zogniskowani","żonglowani","zoomowani","zoperowani","zoptymalizowani","zorganizowani","zorientowani","zostawiani","zostawieni","zpłaceni","zprowokowani","zrabowani","zrachowani","zracjonalizowani","zranieni","zraportowani","zrażani","zrażeni","zrealizowani","zrecenzowani","zredagowani","zredukowani","zreferowani","zreformowani","zrefowani","zrefundowani","zregenerowani","zrehabilitowani","zreinkarnowani","zreintegrowani","zrekonfigurowani","zrekonstruowani","zrekrutowani","zrekrystalizowani","zrelacjonowani","zrelaksowani","zremiksowani","zremisowani","zreorganizowani","zreperowani","zreplikowani","zresetowani","zresocjalizowani","zrestartowani","zrestrukturyzowani","zrewanżowani","zrewidowani","zrewolucjenizowani","zrezygnowani","zrobieni","zrolowani","zroszeni","zrównani","zrównoważeni","zrównywani","zróżnicowani","zrozumiani","zrugani","zruinowani","zrujnowani","zrymowani","zrywani","zrzędzeni","zrzeszeni","zrzucani","zrzuceni","zsumowani","zsuwani","zsynchronizowani","zsyntetyzowani","zsypywani","zszargani","zszokowani","zszywani","zutylizowani","zużywani","zwabiani","zwabieni","zwalani","zwalczeni","zwalniani","zwaleni","zwani","zwaporyzowani","zwątpieni","zważani","zważeni","zwędzeni","zwerbalizowani","zwerbowani","zweryfikowani","zwęszeni","zwężeni","zwiastowani","związani","związywani","zwiedzani","zwiedzeni","zwiększeni","zwieńczeni","zwierzani","zwieszani","zwieszeni","zwietrzeni","zwijani","zwilżeni","zwizualizowani","zwlekani","zwodowani","zwodzeni","zwołani","zwolnieni","zwoływani","zwożeni","zwracani","zwróceni","zwyciężani","zwymiotowani","życzeni","żygani","zygzakowani","zyskani","zyskiwani","zżerani","zżynani","konsakrowany","konsakrowana","konsakrowane","konsakrowani"],{getWords:aa}=o.languageProcessing,{nonDirectPrecedenceException:na,directPrecedenceException:oa,values:ia}=o.languageProcessing,{Clause:za}=ia,{getClausesSplitOnStopWords:ea,createRegexFromArray:wa}=o.languageProcessing,ya={Clause:class extends za{constructor(a,n){super(a,n),this._participles=function(a){return aa(a).filter((a=>(0,Y.includes)($,a)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const a=this.getClauseText(),n=this.getAuxiliaries(),o=this.getParticiples().filter((o=>!oa(a,o,J)&&!na(a,o,n,K)));this.setPassive(o.length>0)}},regexes:{auxiliaryRegex:wa(["być","jestem","jesteś","jest","jesteśmy","jesteście","są","byłam","byłem","byłeś","byłaś","był","była","było","byłoby","byliśmy","byłyśmy","byliście","byłyście","byli","były","będę","będziesz","będzie","będziemy","będziecie","będą","byłabym","byłbym","byłbyś","byłabyś","byłaby","byłby","bylibyśmy","byłybyśmy","bylibyście","byłybyście","byłby","byłaby","byliby","byłyby","zostać","zostaje","zostajesz","zostaję","zostajecie","zostajemy","zostają","zostanę","zostaniesz","zostanie","zostaniemy","zostaniecie","zostaną","zostałem","zostałam","zostałaś","zostałeś","został","została","zostało","zostaliśmy","zostałyśmy","zostaliście","zostałyście","zostali","zostały","zostałbym","zostałabym","zostałbyś","zostałabyś","zostałby","zostałaby","zostałybyśmy","zostalibyśmy","zostalibyście","zostałybyście","zostaliby","zostałyby"]),stopwordRegex:wa(Q)}};function ra(a){return ea(a,ya)}const pa=function(a,n,o,i){if(a.length>n){const n=function(a,n){return n.find((n=>a.endsWith(n)))||""}(a,o);if(""!==n)return a.slice(0,-i)}},sa=function(a,n){const o=Object.entries(n);for(const n of o){const o=n[1].wordShouldBeLongerThan,i=n[1].wordEndings,z=n[1].suffixLength,e=pa(a,o,i,z);if(e)return e}},{baseStemmer:ta}=o.languageProcessing;function da(a){const n=(0,Y.get)(a.getData("morphology"),"pl",!1);return n?a=>function(a,n){const o=n.externalStemmer;let i=n.dictionary.stems[a];return i&&(a=i),a.toLowerCase(),a.length<4?a:(i=sa(a,o.diminutiveSuffixes),i||(i=sa(a,o.nounSuffixes)),i||(i=sa(a,o.verbSuffixes)),i||(i=function(a,n){const o=sa(a,n.adjectiveAndAdverbSuffixes);if(o)return a.startsWith(n.superlativePrefix)?o.slice(3):o}(a,o)),i&&(a=i),i=sa(a,o.generalSuffixes),i||a)}(a,n):ta}const{AbstractResearcher:ca}=o.languageProcessing;class ka extends ca{constructor(a){super(a),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"pl",passiveConstructionType:"periphrastic",firstWordExceptions:i,functionWords:N,stopWords:Q,transitionWords:e,twoPartTransitionWords:V,sentenceLength:X}),Object.assign(this.helpers,{getClauses:ra,getStemmer:da})}}(window.yoast=window.yoast||{}).Researcher=n})(); dist/languages/nl.js 0000644 00000226446 15174677550 0010463 0 ustar 00 (()=>{"use strict";var e={d:(r,n)=>{for(var t in n)e.o(n,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:n[t]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};e.r(r),e.d(r,{default:()=>Ze});const n=window.yoast.analysis,t=["de","het","een","één","eén","twee","drie","vier","vijf","zes","zeven","acht","negen","tien","dit","dat","die","deze"],o=["aangezien","al","aldus","allereerst","als","alsook","anderzijds","bijgevolg","bijvoorbeeld","bovendien","concluderend","daardoor","daarentegen","daarmee","daarna","daarnaast","daarom","daartoe","daarvoor","dadelijk","dan","desondanks","dienovereenkomstig","dientegevolge","doch","doordat","dus","echter","eerst","evenals","eveneens","evenzeer","hierom","hoewel","immers","indien","integendeel","intussen","kortom","later","maar","mits","nadat","namelijk","net als","niettemin","noch","ofschoon","omdat","ondanks","ondertussen","ook","opdat","resumerend","samengevat","samenvattend","tegenwoordig","teneinde","tenzij","terwijl","tevens","toch","toen","uiteindelijk","vanwege","vervolgens","voorafgaand","vooralsnog","voordat","voorts","vroeger","waardoor","waarmee","waaronder","wanneer","want","zoals","zodat","zodoende","zodra"],d=o.concat(["aan de andere kant","aan de ene kant","aangenomen dat","al met al","alles afwegend","alles bij elkaar","alles in aanmerking nemend","als gevolg van","anders gezegd","daar staat tegenover","daarbij komt","daaruit volgt","dat betekent","dat blijkt uit","de oorzaak daarvan is","de oorzaak hiervan is","door middel van","een voorbeeld hiervan","een voorbeeld van","gesteld dat","hetzelfde als","hieruit kunnen we afleiden","hieruit volgt","hoe het ook zij","in de derde plaats","in de eerste plaats","in de tweede plaats","in één woord","in het bijzonder","in het geval dat","in plaats van","in tegenstelling tot","in vergelijking met","maar ook","met als doel","met andere woorden","met behulp van","met de bedoeling","neem nou","net als","om kort te gaan","onder andere","op dezelfde wijze","stel dat","te danken aan","te wijten aan","ten derde","ten eerste","ten gevolge van","ten slotte","ten tweede","ter conclusie","ter illustratie","ter verduidelijking","tot nog toe","tot slot","vandaar dat","vergeleken met","voor het geval dat"]);function a(e){let r=e;return e.forEach((n=>{(n=n.split("-")).length>0&&n.filter((r=>!e.includes(r))).length>0&&(r=r.concat(n))})),r}const l=["de","het","een","der","des","den"],s=["eén","één","twee","drie","vier","vijf","zes","zeven","acht","negen","tien","elf","twaalf","dertien","veertien","vijftien","zestien","zeventien","achttien","negentien","twintig","honderd","honderden","duizend","duizenden","miljoen","miljoenen","biljoen","biljoenen"],i=["eerste","tweede","derde","vierde","vijfde","zesde","zevende","achtste","negende","tiende","elfde","twaalfde","dertiende","veertiende","vijftiende","zestiende","zeventiende","achttiende","negentiende","twinstigste"],g=["ik","je","jij","hij","ze","we","wij","jullie","zij","u","ge","gij","men"],b=["mij","jou","hem","haar","hen","hun","uw"],v=["dit","dat","deze","die","zelf"],u=["mijn","mijne","jouw","jouwe","zijne","hare","ons","onze","hunne","uwe","elkaars","elkanders"],c=["alle","sommige","sommigen","weinig","weinige","weinigen","veel","vele","velen","geen","beetje","elke","elk","genoeg","meer","meest","meeste","meesten","paar","zoveel","enkele","enkelen","zoveelste","hoeveelste","laatste","laatsten","iedere","allemaal","zekere","ander","andere","gene","enig","enige","verscheidene","verschillende","voldoende","allerlei","allerhande","enerlei","enerhande","beiderlei","beiderhande","tweeërlei","tweeërhande","drieërlei","drieërhande","velerlei","velerhande","menigerlei","menigerhande","enigerlei","enigerhande","generlei","generhande"],h=["mezelf","mijzelf","jezelf","jouzelf","zichzelf","haarzelf","hemzelf","onszelf","julliezelf","henzelf","hunzelf","uzelf","zich"],m=["mekaar","elkaar","elkander","mekander"],w=["iedereen","ieder","eenieder","alleman","allen","alles","iemand","niemand","iets","niets","menigeen"],k=["ieders","aller","iedereens","eenieders"],p=["welke","welk","wat","wie","wiens","wier"],f=["hoe","waarom","waar","hoezo","hoeveel"],y=["daaraan","daarachter","daaraf","daarbij","daarbinnen","daarboven","daarbuiten","daardoorheen","daarheen","daarin","daarjegens","daarmede","daarnaar","daarnaartoe","daaromtrent","daaronder","daarop","daarover","daaroverheen","daarrond","daartegen","daartussen","daartussenuit","daaruit","daarvan","daarvandaan","eraan","erachter","erachteraan","eraf","erbij","erbinnen","erboven","erbuiten","erdoor","erdoorheen","erheen","erin","erjegens","ermede","ermee","erna","ernaar","ernaartoe","ernaast","erom","eromtrent","eronder","eronderdoor","erop","eropaf","eropuit","erover","eroverheen","errond","ertegen","ertegenaan","ertoe","ertussen","ertussenuit","eruit","ervan","ervandaan","ervandoor","ervoor","hieraan","hierachter","hieraf","hierbij","hierbinnen","hierboven","hierbuiten","hierdoor","hierdoorheen","hierheen","hierin","hierjegens","hierlangs","hiermede","hiermee","hierna","hiernaar","hiernaartoe","hiernaast","hieromheen","hieromtrent","hieronder","hierop","hierover","hieroverheen","hierrond","hiertegen","hiertoe","hiertussen","hiertussenuit","hieruit","hiervan","hiervandaan","hiervoor","vandaan","waaraan","waarachter","waaraf","waarbij","waarboven","waarbuiten","waardoorheen","waarheen","waarin","waarjegens","waarmede","waarna","waarnaar","waarnaartoe","waarnaast","waarop","waarover","waaroverheen","waarrond","waartegen","waartegenin","waartoe","waartussen","waartussenuit","waaruit","waarvan","waarvandaan","waarvoor"],j=["daar","hier","ginder","daarginds","ginds","ver","veraf","ergens","nergens","overal","dichtbij","kortbij"],z=["word","wordt","werd","werden","ben","bent","is","was","waren"],x=["worden","zijn"],S=["heb","hebt","heeft","hadden","had","kun","kan","kunt","kon","konden","mag","mocht","mochten","dien","dient","diende","dienden","moet","moest","moesten","ga","gaat","ging","gingen"],P=["hebben","kunnen","mogen","dienen","moeten","gaan"],E=["blijkt","blijk","bleek","bleken","gebleken","dunkt","dunk","dunkte","dunkten","gedunkt","heet","heette","heetten","geheten","lijkt","lijk","geleken","leek","leken","schijn","schijnt","scheen","schenen","toescheen","toeschijnt","toeschijn","toeschenen"],F=["blijken","dunken","heten","lijken","schijnen","toeschijnen"],B=["à","aan","aangaande","achter","behalve","behoudens","beneden","benevens","benoorden","benoordoosten","benoordwesten","beoosten","betreffende","bewesten","bezijden","bezuiden","bezuidoosten","bezuidwesten","bij","binnen","blijkens","boven","bovenaan","buiten","circa","conform","contra","cum","dankzij","door","gedurende","gezien","in","ingevolge","inzake","jegens","krachtens","langs","luidens","met","middels","na","naar","naast","nabij","namens","nevens","niettegenstaande","nopens","om","omstreeks","omtrent","onder","onderaan","ongeacht","onverminderd","op","over","overeenkomstig","per","plus","post","richting","rond","rondom","spijts","staande","te","tegen","tegenover","ten","ter","tijdens","tot","tussen","uit","van","vanaf","vanuit","versus","via","vis-à-vis","volgens","voor","voorbij","wegens","zijdens","zonder"],M=["af","heen","mee","toe","achterop","onderin","voorin","bovenop","buitenop","achteraan","onderop","binnenin","tevoren"],W=["en","alsmede","of","ofwel","en/of"],O=["zowel","evenmin","zomin","hetzij"],T=["vermits","dewijl","dorodien","naardien","nademaal","overmits","wijl","eer","eerdat","aleer","vooraleer","alvorens","totdat","zolang","sinds","sedert","ingeval","tenware","alhoewel","hoezeer","uitgezonderd","zoverre","zover","naargelang","naarmate","alsof"],I=["zegt","zei","vraagt","vroeg","denkt","dacht","stelt","pleit","pleitte"],V=["zeer","erg","redelijk","flink","tikkeltje","bijzonder","ernstig","enigszins","zo","tamelijk","nogal","behoorlijk","zwaar","heel","hele","reuze","buitengewoon","ontzettend","vreselijk"],A=["laat","liet","lieten","kom","komt","kwam","kwamen","maakt","maak","maakte","maakten","doe","doet","deed","deden","vindt","vind","vond","vonden"],D=["laten","komen","maken","doen","vinden"],C=["nieuw","nieuwe","nieuwer","nieuwere","nieuwst","nieuwste","oud","oude","ouder","oudere","oudst","oudste","vorig","vorige","goed","goede","beter","betere","best","beste","groot","grote","groter","grotere","grootst","grootste","makkelijk","makkelijke","makkelijker","makkelijkere","makkelijkst","makkelijste","gemakkelijk","gemakkelijke","gemakkelijker","gemakkelijkere","gemakkelijkst","gemakkelijste","simpel","simpele","simpeler","simpelere","simpelst","simpelste","snel","snelle","sneller","snellere","snelst","snelste","verre","verder","verdere","verst","verste","lang","lange","langer","langere","langst","langste","hard","harde","harder","hardere","hardst","hardste","minder","mindere","minst","minste","eigen","laag","lage","lager","lagere","laagst","laagste","hoog","hoge","hoger","hogere","hoogst","hoogste","klein","kleine","kleiner","kleinere","kleinst","kleinste","kort","korte","korter","kortere","kortst","kortste","herhaaldelijke","directe","ongeveer","slecht","slechte","slechter","slechtere","slechtst","slechtste","zulke","zulk","zo'n","zulks","er","extreem","extreme","bijbehorende","bijbehorend","niet"],R=["oh","wauw","hèhè","hè","hé","au","ai","jaja","welja","jawel","ssst","heremijntijd","hemeltjelief","aha","foei","hmm","nou","nee","tja","nja","okido","ho","halt","komaan","komop","verrek","nietwaar","brr","oef","ach","och","bah","enfin","afijn","haha","hihi","hatsjie","hatsjoe","hm","tring","vroem","boem","hopla"],N=["ml","cl","dl","l","tl","el","mg","g","gr","kg","ca","theel","min","sec","uur"],L=["seconde","secondes","seconden","minuut","minuten","uur","uren","dag","dagen","week","weken","maand","maanden","jaar","jaren","vandaag","morgen","overmorgen","gisteren","eergisteren","'s","morgens","avonds","middags","nachts"],H=["ding","dingen","manier","manieren","item","items","keer","maal","procent","geval","aspect","persoon","personen","deel"],$=["wel","ja","neen","oké","oke","okee","ok","zoiets","€","euro"],q=(a([].concat(x,P,F,D)),a([].concat(i,C)),a([].concat(l,B,W,v,V,c)),a([].concat(o,g,b,h,R,s,z,S,E,I,A,w,O,T,f,p,j,$,M,y,N,L,H,m,u)),a([].concat(l,f,s,u,h,k,E,F,B))),_=a([].concat(l,s,i,v,u,h,m,g,b,c,w,k,p,f,y,j,M,z,x,S,P,E,F,B,W,O,T,I,o,["absoluut","zeker","ongetwijfeld","sowieso","onmiddelijk","meteen","inclusief","direct","ogenblikkelijk","terstond","natuurlijk","vanzelfsprekend","gewoonlijk","normaliter","doorgaans","werkelijk","daadwerkelijk","inderdaad","waarachtig","oprecht","bijna","meestal","misschien","waarschijnlijk","wellicht","mogelijk","vermoedelijk","allicht","aannemelijk","oorspronkelijk","aanvankelijk","initieel","eigenlijk","feitelijk","wezenlijk","juist","reeds","alvast","bijv.","vaak","dikwijls","veelal","geregeld","menigmaal","regelmatig","veelvuldig","eenvoudigweg","simpelweg","louter","kortweg","stomweg","domweg","zomaar","eventueel","mogelijkerwijs","eens","weleens","nooit","ooit","anders","momenteel","thans","incidenteel","trouwens","elders","volgend","recent","onlangs","recentelijk","laatst","zojuist","relatief","duidelijk","overduidelijk","klaarblijkelijk","nadrukkelijk","ogenschijnlijk","kennelijk","schijnbaar","alweer","continu","herhaaldelijk","nog","steeds","nu"],V,A,D,R,C,N,H,$,L,["mevr","dhr","mr","dr","prof"],["jr","sr"])),G=["alhoewel","als","dan","doordat","hoewel","hoezeer","indien","mits","naargelang","naarmate","nadat","ofschoon","omdat","opdat","tenzij","toen","voordat","voorzover","wanneer","zoals","zodat","zodra","zolang","wie","wiens","wier","welke","welk"],J=[["aan de ene kant","aan de andere kant"],["enerzijds","anderzijds"],["natuurlijk","maar"],["niet alleen","maar ook"],["noch","noch"],["zowel","als"]],U=JSON.parse('{"vowels":"aáäâeéëêiíïîoóöôuúüûy","deviations":{"vowels":[{"fragments":["ue$","dge$","[tcp]iënt","ace$","[br]each","[ainpr]tiaal","[io]tiaan","gua[yc]","[^i]deal","tive$","load","[^e]coke","[^s]core$"],"countModifier":-1},{"fragments":["aä","aeu","aie","ao","ë","eo","eú","ieau","ea$","ea[^u]","ei[ej]","eu[iu]","ï","iei","ienne","[^l]ieu[^w]","[^l]ieu$","i[auiy]","stion","[^cstx]io","^sion","riè","oö","oa","oeing","oie","[eu]ü","[^q]u[aeèo]","uie","[bhnpr]ieel","[bhnpr]iël"],"countModifier":1},{"fragments":["[aeolu]y[aeéèoóu]"],"countModifier":1}],"words":{"full":[{"word":"bye","syllables":1},{"word":"core","syllables":1},{"word":"cure","syllables":1},{"word":"dei","syllables":2},{"word":"dope","syllables":1},{"word":"dude","syllables":1},{"word":"fake","syllables":1},{"word":"fame","syllables":1},{"word":"five","syllables":1},{"word":"hole","syllables":1},{"word":"least","syllables":1},{"word":"lone","syllables":1},{"word":"minute","syllables":2},{"word":"move","syllables":1},{"word":"nice","syllables":1},{"word":"one","syllables":1},{"word":"state","syllables":1},{"word":"surplace","syllables":2},{"word":"take","syllables":1},{"word":"trade","syllables":1},{"word":"wide","syllables":1}],"fragments":{"global":[{"word":"adieu","syllables":2},{"word":"airline","syllables":2},{"word":"airmiles","syllables":2},{"word":"alien","syllables":3},{"word":"ambient","syllables":3},{"word":"announcement","syllables":3},{"word":"appearance","syllables":3},{"word":"appeasement","syllables":3},{"word":"atheneum","syllables":4},{"word":"awesome","syllables":2},{"word":"baccalaurei","syllables":5},{"word":"baccalaureus","syllables":5},{"word":"baseball","syllables":3},{"word":"basejump","syllables":2},{"word":"banlieue","syllables":3},{"word":"bapao","syllables":2},{"word":"barbecue","syllables":3},{"word":"beamer","syllables":2},{"word":"beanie","syllables":2},{"word":"beat","syllables":1},{"word":"belle","syllables":2},{"word":"bête","syllables":1},{"word":"bingewatch","syllables":2},{"word":"blocnote","syllables":2},{"word":"blue","syllables":1},{"word":"board","syllables":1},{"word":"break","syllables":1},{"word":"broad","syllables":1},{"word":"bulls-eye","syllables":2},{"word":"business","syllables":2},{"word":"byebye","syllables":2},{"word":"cacao","syllables":2},{"word":"caesar","syllables":2},{"word":"camaieu","syllables":3},{"word":"caoutchouc","syllables":2},{"word":"carbolineum","syllables":5},{"word":"catchphrase","syllables":1},{"word":"carrier","syllables":3},{"word":"cheat","syllables":1},{"word":"cheese","syllables":1},{"word":"circonflexe","syllables":3},{"word":"clean","syllables":1},{"word":"cloak","syllables":1},{"word":"cobuying","syllables":3},{"word":"comeback","syllables":2},{"word":"comfortzone","syllables":3},{"word":"communiqué","syllables":4},{"word":"conopeum","syllables":4},{"word":"console","syllables":2},{"word":"corporate","syllables":3},{"word":"coûte","syllables":1},{"word":"creamer","syllables":2},{"word":"crime","syllables":1},{"word":"cruesli","syllables":2},{"word":"deadline","syllables":2},{"word":"deautoriseren","syllables":6},{"word":"deuce","syllables":1},{"word":"deum","syllables":2},{"word":"dirndl","syllables":2},{"word":"dread","syllables":2},{"word":"dreamteam","syllables":2},{"word":"drone","syllables":1},{"word":"enquête","syllables":3},{"word":"escape","syllables":2},{"word":"exposure","syllables":3},{"word":"extranei","syllables":4},{"word":"extraneus","syllables":4},{"word":"eyecatcher","syllables":3},{"word":"eyeliner","syllables":3},{"word":"eyeopener","syllables":4},{"word":"eyetracker","syllables":3},{"word":"eyetracking","syllables":3},{"word":"fairtrade","syllables":2},{"word":"fauteuil","syllables":2},{"word":"feature","syllables":2},{"word":"feuilletee","syllables":3},{"word":"feuilleton","syllables":3},{"word":"fisheye","syllables":2},{"word":"fineliner","syllables":3},{"word":"finetunen","syllables":3},{"word":"forehand","syllables":2},{"word":"freak","syllables":1},{"word":"fusioneren","syllables":4},{"word":"gayparade","syllables":3},{"word":"gaypride","syllables":2},{"word":"goal","syllables":1},{"word":"grapefruit","syllables":2},{"word":"gruyère","syllables":3},{"word":"guele","syllables":1},{"word":"guerrilla","syllables":3},{"word":"guest","syllables":1},{"word":"hardware","syllables":2},{"word":"haute","syllables":1},{"word":"healing","syllables":2},{"word":"heater","syllables":2},{"word":"heavy","syllables":2},{"word":"hoax","syllables":1},{"word":"hotline","syllables":2},{"word":"idee-fixe","syllables":3},{"word":"inclusive","syllables":3},{"word":"inline","syllables":2},{"word":"intake","syllables":2},{"word":"intensive","syllables":3},{"word":"jeans","syllables":1},{"word":"Jones","syllables":1},{"word":"jubileum","syllables":4},{"word":"kalfsribeye","syllables":3},{"word":"kraaiennest","syllables":3},{"word":"lastminute","syllables":3},{"word":"learning","syllables":2},{"word":"league","syllables":1},{"word":"line-up","syllables":2},{"word":"linoleum","syllables":4},{"word":"load","syllables":1},{"word":"loafer","syllables":2},{"word":"longread","syllables":2},{"word":"lookalike","syllables":3},{"word":"louis","syllables":3},{"word":"lyceum","syllables":3},{"word":"magazine","syllables":3},{"word":"mainstream","syllables":2},{"word":"make-over","syllables":3},{"word":"make-up","syllables":2},{"word":"malware","syllables":2},{"word":"marmoleum","syllables":4},{"word":"mausoleum","syllables":4},{"word":"medeauteur","syllables":4},{"word":"midlifecrisis","syllables":4},{"word":"migraineaura","syllables":5},{"word":"milkshake","syllables":2},{"word":"millefeuille","syllables":4},{"word":"mixed","syllables":1},{"word":"muesli","syllables":2},{"word":"museum","syllables":3},{"word":"must-have","syllables":2},{"word":"must-read","syllables":2},{"word":"notebook","syllables":2},{"word":"nonsense","syllables":2},{"word":"nowhere","syllables":2},{"word":"nurture","syllables":2},{"word":"offline","syllables":2},{"word":"oneliner","syllables":3},{"word":"onesie","syllables":2},{"word":"online","syllables":2},{"word":"opinion","syllables":3},{"word":"paella","syllables":3},{"word":"pacemaker","syllables":3},{"word":"panache","syllables":2},{"word":"papegaaienneus","syllables":5},{"word":"passe-partout","syllables":3},{"word":"peanuts","syllables":2},{"word":"perigeum","syllables":4},{"word":"perineum","syllables":4},{"word":"perpetuum","syllables":4},{"word":"petroleum","syllables":4},{"word":"phone","syllables":3},{"word":"picture","syllables":2},{"word":"placemat","syllables":2},{"word":"porte-manteau","syllables":3},{"word":"portefeuille","syllables":4},{"word":"presse-papier","syllables":3},{"word":"primetime","syllables":2},{"word":"queen","syllables":1},{"word":"questionnaire","syllables":3},{"word":"queue","syllables":1},{"word":"reader","syllables":2},{"word":"reality","syllables":3},{"word":"reallife","syllables":2},{"word":"remake","syllables":2},{"word":"repeat","syllables":2},{"word":"repertoire","syllables":3},{"word":"research","syllables":2},{"word":"reverence","syllables":3},{"word":"ribeye","syllables":2},{"word":"ringtone","syllables":3},{"word":"road","syllables":1},{"word":"roaming","syllables":2},{"word":"sciencefiction","syllables":4},{"word":"selfmade","syllables":2},{"word":"sidekick","syllables":2},{"word":"sightseeing","syllables":3},{"word":"skyline","syllables":2},{"word":"smile","syllables":1},{"word":"sneaky","syllables":2},{"word":"software","syllables":2},{"word":"sparerib","syllables":2},{"word":"speaker","syllables":2},{"word":"spread","syllables":1},{"word":"statement","syllables":2},{"word":"steak","syllables":1},{"word":"steeplechase","syllables":3},{"word":"stonewash","syllables":2},{"word":"store","syllables":1},{"word":"streaken","syllables":2},{"word":"stream","syllables":1},{"word":"streetware","syllables":1},{"word":"supersoaker","syllables":4},{"word":"surprise-party","syllables":4},{"word":"sweater","syllables":2},{"word":"teaser","syllables":2},{"word":"tenue","syllables":2},{"word":"template","syllables":2},{"word":"timeline","syllables":2},{"word":"tissue","syllables":2},{"word":"toast","syllables":1},{"word":"tête-à-tête","syllables":3},{"word":"typecast","syllables":2},{"word":"unique","syllables":2},{"word":"ureum","syllables":3},{"word":"vibe","syllables":1},{"word":"vieux","syllables":1},{"word":"ville","syllables":1},{"word":"vintage","syllables":2},{"word":"wandelyup","syllables":3},{"word":"wiseguy","syllables":2},{"word":"wake-up-call","syllables":3},{"word":"webcare","syllables":2},{"word":"winegum","syllables":2},{"word":"base","syllables":1,"notFollowedBy":["e","n","r"]},{"word":"game","syllables":1,"notFollowedBy":["n","l","r"]},{"word":"style","syllables":1,"notFollowedBy":["n","s"]},{"word":"douche","syllables":1,"notFollowedBy":["n","s"]},{"word":"space","syllables":1,"notFollowedBy":["n","s"]},{"word":"striptease","syllables":2,"notFollowedBy":["n","s"]},{"word":"jive","syllables":1,"notFollowedBy":["n","r"]},{"word":"keynote","syllables":2,"notFollowedBy":["n","r"]},{"word":"mountainbike","syllables":3,"notFollowedBy":["n","r"]},{"word":"face","syllables":1,"notFollowedBy":["n","t"]},{"word":"challenge","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"cruise","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"house","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"dance","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"franchise","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"freelance","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"lease","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"linedance","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"lounge","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"merchandise","syllables":3,"notFollowedBy":["n","r","s"]},{"word":"performance","syllables":3,"notFollowedBy":["n","r","s"]},{"word":"release","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"resource","syllables":2,"notFollowedBy":["n","r","s"]},{"word":"cache","syllables":1,"notFollowedBy":["c","l","n","t","x"]},{"word":"office","syllables":2,"notFollowedBy":["r","s"]},{"word":"close","syllables":1,"notFollowedBy":["r","t"]}],"atBeginningOrEnd":[{"word":"byte","syllables":1},{"word":"cake","syllables":1},{"word":"care","syllables":1},{"word":"coach","syllables":1},{"word":"coat","syllables":1},{"word":"earl","syllables":1},{"word":"foam","syllables":1},{"word":"gate","syllables":1},{"word":"head","syllables":1},{"word":"home","syllables":1},{"word":"live","syllables":1},{"word":"safe","syllables":1},{"word":"site","syllables":1},{"word":"soap","syllables":1},{"word":"teak","syllables":1},{"word":"team","syllables":1},{"word":"wave","syllables":1},{"word":"brace","syllables":1,"notFollowedBy":["s"]},{"word":"case","syllables":1,"notFollowedBy":["s"]},{"word":"fleece","syllables":1,"notFollowedBy":["s"]},{"word":"service","syllables":2,"notFollowedBy":["s"]},{"word":"voice","syllables":1,"notFollowedBy":["s"]},{"word":"kite","syllables":1,"notFollowedBy":["n","r"]},{"word":"skate","syllables":1,"notFollowedBy":["n","r"]},{"word":"race","syllables":1,"notFollowedBy":["n","r","s"]}],"atBeginning":[{"word":"coke","syllables":1},{"word":"deal","syllables":1},{"word":"image","syllables":2,"notFollowedBy":["s"]}],"atEnd":[{"word":"force","syllables":1},{"word":"tea","syllables":1},{"word":"time","syllables":1},{"word":"date","syllables":1,"alsoFollowedBy":["s"]},{"word":"hype","syllables":1,"alsoFollowedBy":["s"]},{"word":"quote","syllables":1,"alsoFollowedBy":["s"]},{"word":"tape","syllables":1,"alsoFollowedBy":["s"]},{"word":"upgrade","syllables":2,"alsoFollowedBy":["s"]}]}}}}'),Y={productPages:{parameters:{recommendedMinimum:3,recommendedMaximum:6,acceptableMaximum:7,acceptableMinimum:1}}},K=window.lodash,Q=["gebraad","gemoed","gebed","gebied","gebod","gebodsbord","geboorte-eiland","geboortestad","gebruikspaard","gedachtewereld","gedenkblad","gedenknaald","gedichtenwedstrijd","gedoogakkoord","gedoogbeleid","geduld","geestenwereld","geesteskind","geestestoestand","geesteswereld","gehandicaptenbeleid","gehoorafstand","gehoorsafstand","geitenbaard","geitenhuid","geld","geldhond","geldvoorraad","geleidehond","gelijkekansenbeleid","geloofsdaad","geloofsinhoud","geluidswand","gelukskind","gemeenschapsraad","gemeentebeleid","gemeenteraad","gemeenteraadslid","gemoedstoestand","genadeverbond","genderbeleid","geneesmiddelenbeleid","generaalsbewind","geslachtsdaad","gespreksavond","gespreksflard","getijdengebied","gevangenisbeleid","gevangeniswereld","gevechtsafstand","gevelwand","gevoelstoestand","gevoelswereld","gewelddaad","geweldigaard","geweldverbod","gezelschapshond","gezichtsafstand","gezichtshuid","gezinsbeleid","gezinsbond","gezinshoofd","gezinslid","gezinspaard","gezinstoestand","gezondheidsbeleid","gezondheidstoestand","gezondheidszorgbeleid","gecentreerd","geserreerd","gepolitoerd","gebocheld","gebrild","gegleufd","gekarteld","gemeubeld","gesausd","geaccidenteerd","geaccrediteerd","geacheveerd","geaderd","geaggregeerd","geagiteerd","geallieerd","geanimeerd","geanticipeerd","gearticuleerd","geassorteerd","gebenedijd","gebiedend","geblaseerd","geblindeerd","geborneerd","gebronzeerd","gebrouilleerd","gebruind","gecharmeerd","gechromeerd","geciviliseerd","geclausuleerd","gecoiffeerd","geconditioneerd","geconstipeerd","gecontinueerd","gecoöpteerd","gecrispeerd","gecultiveerd","gedecideerd","gedecolleteerd","gedegouteerd","gedemilitariseerd","gedemodeerd","gedesillusioneerd","gedesinteresseerd","gedetailleerd","gediplomeerd","gedisciplineerd","gedisponeerd","gedistingeerd","gedomicilieerd","gedoteerd","gedupeerd","geëigend","geestdodend","geestverruimend","geëxalteerd","geëxponeerd","gefigureerd","gefingeerd","geflatteerd","geforceerd","gefumeerd","gegeerd","gegeneerd","gegradueerd","gegriepeerd","gehaaid","gehandschoend","gehavend","gehomologeerd","gehorend","geïllustreerd","geïmponeerd","geïmproviseerd","geïncrimineerd","geïrriteerd","geklasseerd","gekmakend","gekuifd","gekwalificeerd","gelardeerd","geldend","geldverslindend","geleed","geleidend","gelieerd","geliefkoosd","gelijkluidend","gelinieerd","geluiddempend","geluidswerend","geluidwerend","gemarineerd","gematteerd","gemiddeld","geoccupeerd","geoutilleerd","geparaffineerd","geparfumeerd","gepatenteerd","gepermitteerd","geplafonneerd","geplisseerd","gepredisponeerd","geprefabriceerd","gepreoccupeerd","geproportioneerd","geraffineerd","gerandomiseerd","gereformeerd","gereglementeerd","geresigneerd","geresponsabiliseerd","gerimpeld","geringschattend","geruchtmakend","geruststellend","gesatureerd","gesauteerd","geschakeerd","gesepareerd","geseponeerd","gesofisticeerd","gesoigneerd","gespeend","gespikkeld","gestresseerd","geurenblind","gevergeerd","geverseerd","gezaghebbend","gezagsondermijnend","gezichtsbepalend","gezinsvervangend","gezwind","geit","gedragstherapeut","geveltoerist","gezant","gerant","gerst","gerstenat","geut","gebarenkunst","gebedsbijeenkomst","gebekvecht","gebiedsagent","gebit","geboorterecht","gebruikersovereenkomst","gebruiksrecht","gebruiksvoorschrift","gedragsvoorschrift","geest","geestdrift","geesteskracht","geestesproduct","geestkracht","gefluit","gehandicaptensport","geheimhoudingsplicht","geheimschrift","geheugenkunst","gehoorapparaat","geitenteelt","gekloot","geldautomaat","geldingskracht","geldingszucht","geldkist","geldmarkt","geldmarkttekort","geldpot","geldsoort","geldtekort","geldtransport","gelduitgifteautomaat","geldzucht","gelegenheidsargument","geloofsgenoot","geluidseffect","geluidsoverlast","geluidspoort","gemaksproduct","gemakzucht","gemberpot","gemeenschapsrecht","gemeenteadvocaat","gemeenteraadsbesluit","gemeenterecht","gemeentewet","gemeentewiet","gemoedsrust","geneeskracht","geneeskundestudent","geneeskunst","geneesmiddelenfabrikant","geneesmiddelenmarkt","generatieconflict","generatiegenoot","generatiepact","generatiestudent","genetkat","genocidewet","genot","genotsproduct","genotzucht","gent","geodeet","geologiedocent","gereedschapskist","gerucht","geruchtencircuit","geschiedenisdocent","geschiedenisstudent","geschiet","geschrift","gespreksgenoot","gesprekspunt","getijdenkracht","gevangenispoort","gevecht","gevechtskracht","gevechtssport","gevellijst","gevelornament","gewest","gewetensangst","gewetensconflict","gewicht","gewinzucht","gewondentransport","gewoonterecht","gewricht","gezagsapparaat","gezinsbudget","gezinsrapport","gezondheidseffect","gezondheidsklacht","gezondheidsproduct","gezondheidsrecht","gezondheidswet","gezondheidswinst","gerokt","gevlekt","gebuikt","gesaust","gebiedsgericht","geel-zwart","gehandicapt","gereformeerd-vrijgemaakt","gestuikt","geëtst","bed","bediendevakbond","bedrijfsbeleid","bedrijfsblad","bedrijfspand","bedrijfswereld","bedrijvenbond","beekdonderpad","beeld","beginselakkoord","begintoestand","begripsinhoud","begrotingsakkoord","begrotingsbeleid","behandelaanbod","beheerraad","beheersgebied","behoud","beiaard","bejaardenbeleid","bekerwedstrijd","belastinggebied","belastinggeld","belastingschuld","beleggingsbeleid","beleggingspand","beleid","beleidsdaad","beleidsgebied","belevingswereld","belplafond","beltegoed","bemanningslid","Bemiddelingsraad","bendehoofd","bendelid","benedenstad","benefietwedstrijd","benoemingenbeleid","benuttingsgraad","berberpaard","beregeningsverbod","bergeend","berggebied","bergland","bergpaard","bergpad","bergwand","beroepsarbeid","beroepsverbod","beroepswereld","beschermingsbeleid","beschermingsgebied","beslissingswedstrijd","besparingsbeleid","bestand","bestandsakkoord","besteleend","besturenbond","bestuursakkoord","bestuursbeleid","bestuurshoofd","bestuurslid","beukenblad","beursmaand","beursrecord","beurswaakhond","beurswereld","beveiligingsbeleid","bevolkingsbeleid","bewind","bewustzijnsinhoud","bewustzijnstoestand","bezuinigingsbeleid","beenhard","bebrild","beangstigend","bebaard","bedeesd","bederfwerend","bedreigend","bedrijvend","bedroevend","beduidend","beduusd","bedwelmend","beeldbepalend","beeldend","beeldvormend","beeldvullend","begeleidend","begerenswaard","begrijpend","behartenswaard","behartigenswaard","behoudend","bejaard","beklagenswaard","beklemmend","belanghebbend","belangstellend","belangwekkend","belastingbesparend","belastingbetalend","beledigend","beleerd","beleidsadviserend","belendend","belerend","bemoedigend","benauwend","benijdenswaard","bepalend","beperkend","beregoed","berekenend","beroemd","beroepsblind","beschaamd","beschamend","beschouwend","beschrijvend","besdragend","beslissend","bestaand","bestverkopend","beteuterd","betoverend","betraand","betreffend","betreurenswaard","bevelend","bevelhebbend","bevestigend","bevoegd","bevredigend","bevreemdend","bevriend","bewonderenswaard","bewustzijnsverruimend","bezwarend","beest","berggeit","betaalkracht","beerput","bergamot","beschuit","beademingsapparaat","beddenfabrikant","bedeltocht","bedevaart","bedevaartstocht","bediendecontract","bedieningsfout","bedilzucht","bedoeïenentent","bedrijfsadvocaat","bedrijfsfeest","bedrijfsfysiotherapeut","bedrijfsmanagement","bedrijfsopbrengst","bedrijfsrestaurant","bedrijfsresultaat","bedrijfssport","bedrijfswinst","bedrijvenmarkt","bedrust","beeldhouwkunst","beeldmoment","beeldrecht","beeldsnijkunst","beestenmarkt","beet","begeleidwonenproject","beginnersfout","beginpunt","begrippenapparaat","begrotingsdebat","begrotingsrecht","begrotingstekort","behaagzucht","behandelingsresultaat","behoudzucht","bejaardenpaspoort","bekerplant","bekerwinst","beklagrecht","beklemrecht","belangenconflict","belastingafdracht","belastingbiljet","belastingconsulent","belastingdienst","belastingexpert","belastingopbrengst","belastingplicht","belastingrecht","belastingspecialist","belastingwet","beleggersmarkt","beleggingsexpert","beleggingsmarkt","beleggingsopbrengst","beleggingsproduct","beleggingsresultaat","beleidsaspect","beleidsdebat","beleidsfout","beleidsresultaat","beleidsspecialist","belevingsrestaurant","belgicist","belminuut","beltegoedkaart","bemoeizucht","benefiet","benefietconcert","benoemingsbesluit","benzinelucht","benzinemarkt","benzinetekort","beoordelingsfout","beoordelingsrapport","berghut","bergklimaat","berglucht","bergrit","bergsport","bergtijdrit","bergtocht","berichtendienst","berkenhout","bermmonument","bermrecreant","bermsloot","bermtoerist","beroepsdiplomaat","beroepsernst","beroepsfout","beroepsgenoot","beroepsjournalist","beroepskracht","beroepsrecht","beroepssoldaat","beroepssport","berufsverbot","beschermingsbesluit","beschikkingsrecht","beslismoment","beslissingsrecht","besluit","bestaansrecht","bestandsformaat","bestelbiljet","bestelkaart","bestuursapparaat","bestuursassistent","bestuursbesluit","bestuursconflict","bestuurskracht","bestuurskundedocent","bestuursmandaat","bestuursprocesrecht","bestuursrecht","betaalautomaat","betaaldienst","betaalkaart","betaalopdracht","betalingsbalanstekort","betalingsopdracht","bètastudent","beterschapskaart","betrouwbaarheidsrit","beukenhout","beursapparaat","beursklimaat","beurskrant","beursmarkt","beursstudent","beurt","beverrat","bevoegdheidsconflict","bevrijdingsconcert","bevrijdingsfeest","bewaarplicht","bewegingsapparaat","bewegingsdocent","bewegingskunst","bewijskracht","bewijsrecht","bewustwordingsproject","bezemkast","bezit","bezitsrecht","bezoekrecht","bezuinigingsdrift","bezuinigingsopdracht","bezwaarschrift","beroepsgericht","bedompt","bedrijfsgericht","beginselvast","beleidsgericht","bewolkt","bezweet","verbeterblad","verband","verbeeldingswereld","verbod","verbodsbord","verbond","verdwaalarmband","verdwijnwoord","verenigingsblad","verenigingslid","verfhuid","vergismoord","vergunningenbeleid","verhalenpad","verhalenwedstrijd","verkeersaanbod","verkeersbeleid","verkeersbord","verkiezingsavond","verkleinwoord","verkoopbeleid","verkoopverbod","vernieuwingsbeleid","verpleeghuisbed","verraad","verschijningsverbod","verstand","vertoningsverbod","vertrekbeleid","vervalmaand","vervoerbeleid","vervoersaanbod","vervoersbeleid","vervoersbond","vervoersverbod","vervolgingsbeleid","verwijderingsbeleid","verzamelbeleid","verzekeringswereld","verzetsdaad","verzetsheld","verzuimbeleid","verdragend","verkeersremmend","verbazend","verbazingwekkend","verbijsterend","verblindend","verbluffend","verbouwereerd","verdaagd","verdedigend","verdovend","vereend","verfrissend","vergelijkend","verhalend","verheffend","verheugend","verkikkerd","verklarend","verkwikkend","verkwistend","verlammend","verlangend","verliesgevend","verlieslatend","verlieslijdend","verlokkend","verlossend","vermeend","vermeldenswaard","vermeldingswaard","vermoeiend","vermogend","vernederend","vernietigend","verontrustend","verpletterend","verrassend","verscheurend","verschillend","verslaafd","verspringend","verstikkend","verstrekkend","verstrooid","vertederend","vertrouwenwekkend","vertwijfeld","vervelend","verwaand","verwarrend","verwoestend","verzachtend","verziend","verzoenend","verwant","verantwoordingsplicht","verbandkist","verbeeldingskracht","verbintenissenrecht","verblijfsrecht","verbrandingsproduct","verbroederingsfeest","verdedigingsfout","verdragsrecht","verdriet","verdringingseffect","veredelingsproduct","verenigingsrecht","verffabrikant","verfpot","verfrest","vergiet","vergoedingslimiet","vergrotingsapparaat","vergunningplicht","verhaalsrecht","verhuiskist","verhuurboot","verjaardagsfeest","verjaardagsgast","verjaardagstaart","verjaarfeest","verjaringsfeest","verkeersagent","verkeersinfarct","verkeersmanagement","verkeersmarkt","verkeersoverlast","verkeerswet","verkenningstocht","verkiezingsbijeenkomst","verkiezingsbiljet","verkiezingsdebat","verkiezingsinkt","verkiezingsresultaat","verkiezingswinst","verkleedkist","verkoopapparaat","verkoopargument","verkoopopbrengst","verkoopopdracht","verkooprecht","verkoopresultaat","verkopersmarkt","verlatingsangst","verlovingsfeest","verminderingskaart","vermogensrecht","vermogenstekort","vermogenswinst","vernielzucht","vernietigingskracht","vernieuwingsdebat","vernieuwingsproject","veroveringstocht","veroveringszucht","verpleegassistent","verrassingseffect","verrassingsfeest","verrijkingsmarkt","verruimingskandidaat","verschoningsrecht","verschot","versproduct","versterfrecht","vertaalfout","vertaalproject","vertaalrecht","vertebraat","vertegenwoordigingsrecht","vervangingsmarkt","vervoersmanagement","vervoersmarkt","vervolgbijeenkomst","vervolgingsapparaat","vervolgopdracht","vervolgproject","vervreemdingseffect","verwijt","verzakingsrecht","verzamelkrant","verzekeringsagent","verzekeringsmarkt","verzekeringsproduct","verzekeringsrecht","verzekeringsresultaat","verzetskrant","verzoeningsbijeenkomst","verzorgingsproduct","slingerpad","avondgebed","bibbergeld","dageraad","drinkgeld","kalfsgebraad","leefgeld","ochtendgebed","ongelukskind","vluggerd","voltigeerpaard","voltigepaard","aandachtsgebied","aanlijngebod","aardbevingsgebied","abonnementsgeld","achtergrondgeluid","achterstandsgebied","actiegebied","afzetgebied","akkerbouwgebied","alpengebied","amazonegebied","ambtsgebied","ambtsgewaad","antigeluid","aspergebed","autonomiegebied","baggereiland","bangerd","bijgeluid","bijstandsgeld","binnenduingebied","blindengeleidehond","blowgebodsbord","boezemgebied","bongerd","bosgebied","bridgeavond","bridgebond","bridgewedstrijd","broedgebied","brongebied","budgetbeleid","burgerbewind","centrumgebied","collegelid","computergebied","concentratiegebied","conceptregeerakkoord","concessiegebied","conflictgebied","contactgeluid","crisisgebied","cultuurgebied","dankgebed","deelgebied","deelnemingenbeleid","deltagebied","deskundigheidsgebied","dierengeluid","doelgebied","doodsgewaad","doorgangsgebied","dopgeld","douanegebied","drempelgeld","driekoningenavond","duinengebied","duingebied","eigendomsvoorbehoud","energiegebied","engerd","eurogebied","feestgewaad","filmgebied","foerageergebied","formuliergebed","frequentiegebied","frontgebied","functioneringsgebied","gangenpaard","gitaargeluid","gitaargeweld","golfgebied","golflengtegebied","graangebied","grachtengebied","grensgebied","groeigebied","groengebied","groepsgeluid","groepsgeweld","grondgebied","grondwaterbeschermingsgebied","haflingerpaard","handelsgebied","havengebied","heidegebied","helikoptergeld","herkomstgebied","herwaarderingsgebied","hogedrukgebied","hogeronderwijsbeleid","hongersnood","hoogveengebied","ICT-gebied","immigratiegebied","inburgeringsbeleid","indicatiegebied","industriegebied","ingeland","inkomgeld","interessegebied","jachtgebied","jagershond","jongerenbeleid","jongerenblad","kantorengebied","kassengebied","keelgeluid","kennisgebied","kerngebied","kernwinkelgebied","kijkgeld","kindergeld","kleigebied","kloostergewaad","knipooggeweld","kogelwond","koorgebed","krapgeldbeleid","krijgsgeweld","krimpgebied","kruisgebed","kunstgebied","kustgebied","kwelgebied","lagedrukgebied","landbouwgebied","langeafstandspaard","langebaanwedstrijd","langetermijnbeleid","leefgebied","leergebied","leerstofgebied","legerpaard","legervoorraad","levensgebied","lidgeld","logeerbed","luchtvaartgebied","luistergeld","machtsgebied","managementbeleid","mandaatgebied","manegepaard","marktgebied","mededelingenblad","mededelingenbord","mediageweld","merengebied","middaggebed","middengebied","mijngebied","milieubeschermingsgebied","milieugebied","misgewaad","missiegebied","modegebied","moerasgebied","morgengebed","Morgenland","morgenstond","moslimgebied","motorgeluid","muilkorfgebod","nachtgewaad","nagelbed","natuurbeschermingsgebied","natuurgebied","natuurgeweld","natuurontwikkelingsgebied","NAVO-gebied","NAVO-grondgebied","nederzettingenbeleid","neerslaggebied","negerkind","no-gogebied","noodgebied","noordpoolgebied","Noordzeegebied","oceaangebied","octrooigebied","oefengebied","oerwoudgeluid","oliegebied","omgevingsbeleid","omgevingsgeluid","onderwijsgebied","onderzoeksgebied","onrustgebied","ontwikkelingsgebied","oorlogsgebied","oorlogsgeweld","oorsprongsgebied","operatiegebied","opleidingenaanbod","opmarsgebied","overgangsgebied","overlastgebied","overstromingsgebied","overwinteringsgebied","paaigebied","partnergeweld","ploegenwedstrijd","poldergebied","politiegeweld","potpoldergebied","presentiegeld","priestergewaad","regeerakkoord","regelafstand","regenboogkind","regenboogzebrapad","regenwoud","regeringsaanbod","regeringsbeleid","regeringsraad","regeringsstad","reizigersaanbod","richtingenstrijd","roggebrood","rouwgewaad","rugzakgeld","rustgebied","rustgeld","sabotagedaad","samenwerkingsgebied","schandegeld","Schengenakkoord","schietgebed","schoolgeld","servicegeweld","slangenhuid","sleutelgeld","slotgebed","smeekgebed","smeergeldstad","spaargeld","spanningsgebied","spiegelbeeld","spiegelwand","sportgebied","spraakgeluid","stemgeluid","stiltegebied","stoelgeld","stormgeweld","straatgeluid","straatgeweld","strafschopgebied","supportersgeweld","taalgebied","tegelpad","tegelwand","tegenbod","tegengeluid","tegengeweld","tegenspoed","tegenwind","televisiegeweld","tussengebied","uitgaansgeweld","uitgeefbeleid","uitgeversverbond","uitgeverswereld","ultrageluid","vaargebied","vagebond","vakantiegeld","veertigurengebed","vegetariërsbond","vingerhoed","vliegtuiggeluid","vluchtelingenbeleid","voetbalgeweld","vogelgeluid","vogelwereld","volksgezondheidsbeleid","voorzieningenaanbod","vormgevingsbeleid","vredesgeluid","vreemdelingenbeleid","vrijdaggebed","vrijgezellenavond","vrijwilligersbeleid","vuurwapengeweld","wapengeweld","waterbergingsgebied","watergebied","watergeweld","werkgelegenheidsbeleid","werkgeversaanbod","werkgeversbond","werkgeversverbond","wetgevingsbeleid","wiegenkind","wijngebied","wintersportgebied","wisselgeld","woestijngebied","zakgeld","zangersbond","zeegebied","zeehavengebied","ziektegeld","zigeunerkind","zigeunerpaard","zondegeld","zorgenkind","zwangerschapsmaand","zwijggeld","agent","afgezant","dirigent","echtgenoot","morgendienst","apologeet","budgetsupermarkt","burgerdienst","changement","dorpsgenoot","huisgenoot","krankzinnigengesticht","muggenbeet","nagerecht","omgevingsportret","politieagent","tijgerkat","tussengerecht","vogelmijt","voorgerecht","wegenwacht","wegenzout","wijkagent","wisselagent","zeegezicht","zorgbudget","aankoopbudget","aardappelgerecht","accountmanagement","achterhoedegevecht","adoptieagent","advertentiebudget","afspiegelingskabinet","agendahedonist","algemenebijstandswet","amandelgeest","ambtenarengerecht","apengezicht","arbeidsgerecht","aspergerobot","aspergeteelt","assetmanagement","baggerboot","baggermarkt","baggeropdracht","baggerproject","baggerschuit","baggervloot","balkanvergeet-mij-niet","barricadegevecht","bijgerecht","boemerangeffect","bouwmanagement","bovengebit","branchegenoot","bridgejournalist","bridgesport","budget","budgetrecht","budgettekort","bugnugget","burgemeestersambt","burgemeesterspost","burgerdocent","burgerplicht","burgerpot","burgerpresident","burgerrecht","burgerschapsrecht","buurtagent","buurtgenoot","capaciteitsmanagement","casemanagement","celgenoot","chef-dirigent","CIA-agent","clubgenoot","coalitiegenoot","collectiemanagement","collegebesluit","collegekaart","collegestudent","competentiemanagement","crisismanagement","defensiebudget","depannagedienst","deskundigenrapport","disgenoot","dopingexpert","draagvleugelboot","dreigement","driekoningenfeest","dubbelagent","dwerggeit","eerstgeboorterecht","eigendomsrecht","elftalgenoot","enkelgewricht","etalageruit","ex-agent","ex-echtgenoot","exploitatiebudget","FBI-agent","fractiegenoot","gadget","garagepoort","glogetuigschrift","groentegerecht","groentenugget","grondgevecht","halfgeleiderfabrikant","halsgerecht","halsgewricht","hamburgerrestaurant","hamburgertent","handelsagent","handgewricht","hanengevecht","hengelsport","hersengadget","heupgewricht","hogeschooldocent","hogeschoolstudent","hokjesgeest","hondengevecht","hoofdagent","hoofdgerecht","horlogekast","hotelmanagement","huishoudbudget","hulpagent","huwelijksvermogensrecht","inburgeringsplicht","inburgeringstraject","informatiemanagement","ingenieursdienst","ingenieursstudent","inlichtingenrapport","interim-management","internetevangelist","investeringsbudget","inzagerecht","jaarbudget","jongerenkrant","jongerenpaspoort","kaakgewricht","kaasgerecht","kaasnugget","kalfsgehakt","kamergenoot","kant-en-klaargerecht","kantongerecht","kennismanagement","kipnugget","klasgenoot","kniegewricht","kogelgewricht","kooigevecht","kredietmanagement","kroegentocht","kruidnagelsigaret","kunstbudget","kunstgeschiedenisdocent","kunstgeschiedenisstudent","kunstmanagement","kussengevecht","kwaliteitsmanagement","kwelgeest","lamsgehakt","langetermijneffect","leeftijdgenoot","leeftijdsgenoot","legercommandant","legerdienst","legerkrant","legerpredikant","legertent","lievelingsgerecht","logeergast","lotgenotencontact","loungerestaurant","low budget","lozingenbesluit","luchtagent","luchtgevecht","lunchgerecht","macrobudget","management","managementfout","melkgeit","mens-erger-je-niet","mergelgrot","milieumanagement","miljoenenbudget","mobiliteitsbudget","moddergevecht","monumentenbudget","morgenlicht","morgenpost","motoragent","muggenbult","narcotica-agent","NAVO-bondgenoot","negerhut","nepagent","nugget","ondergebit","onderwijsbudget","onderwijsmanagement","onderzoeksbudget","onderzoeksgerecht","on-en-minvermogenkaart","ongevallenwet","onteigeningswet","orgelconcert","orgeldocent","orgelkast","overheidsbudget","overheidsmanagement","overnamegevecht","overnemingsgevecht","paardengebit","passagebiljet","pastagerecht","persagent","personeelsbudget","personeelsmanagement","plaggenhut","ploegentijdrit","pluimgewicht","politiebudget","polsgewricht","postzegelformaat","prestigeproject","prins-regent","procesmanagement","productiebudget","projectmanagement","pseudovogelpest","publiciteitsagent","raffinageproduct","reclamebudget","reegeit","regeerambt","regelzucht","regenboogtricot","regenput","regent","regentaat","regenwaterput","regeringsapparaat","regeringsbesluit","regeringsbudget","regeringskrant","regeringsrapport","regeringssoldaat","reisagent","reisbudget","restauratiebudget","rijksbudget","rijstgerecht","risicomanagement","röntgenapparaat","ruggenmergsvocht","rundergehakt","scharniergewricht","scheidsgerecht","schijngevecht","schimmengevecht","schoolagent","schoolbegeleidingsdienst","schoolgenoot","schoolwijkagent","schoudergewricht","sergeant","slangenbeet","slangenhout","slingerplant","slowfoodgerecht","soortgenoot","spiegelgevecht","spiegelkast","spiegelruit","spiegelschrift","spiegeltent","spinazienugget","sportmanagement","spronggewricht","stagedocent","stageopdracht","stagerapport","stierengevecht","straatgevecht","streekgerecht","stressmanagement","studentenbudget","subsidiebudget","taalgenoot","tafelgenoot","tafelgenot","teamgeest","tegenargument","tegeneffect","tegenkracht","tentoonstellingsbudget","tijdgeest","tijdgenoot","tijdmanagement","tijdsgewricht","tijgerpunt","timemanagement","titanengevecht","titelgevecht","topdirigent","topmanagement","totaalbudget","totaalgewicht","tweegevecht","tweevingertest","twintigeurobiljet","undercoveragent","urgentierecht","veiligheidsagent","veiligheidsarrangement","veiligheidsmanagement","vijftigeurobiljet","vingerplant","visgerecht","visnugget","vleesgerecht","vleugelboot","vliegenkast","vliegerfeest","vluchtelingenrecht","vluchtelingentransport","VN-gezant","vogelmarkt","vogeltjesmarkt","vogelvangst","vogelvlucht","volksgericht","voorlichtingsbudget","vrachtwagenfabrikant","vrachtwagenmarkt","vragersmarkt","vredegerecht","vreemdelingenangst","vreemdelingenbesluit","vreemdelingendebat","vreemdelingenrecht","vreemdelingenstemrecht","vuistgevecht","vuurgevecht","watergeest","watergevecht","watermanagement","wegenbouwproject","wereldtitelgevecht","werkgelegenheidseffect","werkgelegenheidsproject","werkingsbudget","wervelgewricht","wetenschapsbudget","wetgevingsproject","wintergerst","wintergezicht","wrevelagent","zadelgewricht","zagevent","zanger-componist","zanger-gitarist","zangerscast","zangvogelsport","zeegevecht","zegelrecht","zegetocht","zelfmanagement","ziekenhuisbudget","zwangerschapstest","goedgevuld","aangebrand","welgevuld","afgeborsteld","donkergekleurd","goedgevormd","welgevormd","allesverzengend","bontgekleurd","doorgewinterd","goedgehumeurd","goedgeluimd","goedgezind","haatdragend","kegeldragend","lichtgekleurd","nagelbijtend","ongekleurd","ongemanierd","ongeverfd","rentedragend","risicodragend","roodgekleurd","slechtgehumeurd","slechtgezind","vruchtdragend","welgemanierd","welgezind","welopgevoed","woldragend","zaaddragend","zorgdragend","aanbodgestuurd","aangehuwd","aangetekend","aangetrouwd","aanliggend","aanmatigend","aanvoegend","achtereenvolgend","achterliggend","afgewend","allesdoordringend","allesvernietigend","alleszeggend","almogend","alvermogend","angstaanjagend","bijstandsgerechtigd","bloeddrukverhogend","bloeddrukverlagend","bloemdragend","braakliggend","brandvertragend","breedgerand","brildragend","cholesterolverlagend","christelijk-gereformeerd","computergestuurd","diepliggend","doodgemoedereerd","doordringend","doorslaggevend","dreigend","drempelverlagend","dringend","dwingend","eerstvolgend","eierleggend","Engelssprekend","ergerniswekkend","felgekleurd","godtergend","goedgekleed","goedgemanierd","goudgerand","grensverleggend","handenwringend","hemeltergend","hiernavolgend","hogergenoemd","hoogdringend","hoopgevend","indringend","ingebeeld","ingekankerd","ingekeerd","ingenaaid","ingewikkeld","ingeworteld","intrigerend","knoldragend","kogelwerend","laaggeletterd","leidinggevend","levensbedreigend","levensbeëindigend","levensverlengend","lichtgevend","lichtgewond","liggend","losliggend","maatgevend","meedogend","minvermogend","moedgevend","naastliggend","navolgend","neerbuigend","niet-geleidend","nietszeggend","normgevend","oergezond","omliggend","onaangediend","onbevredigend","ondergewaardeerd","onderliggend","ondeugend","ongeaccepteerd","ongeanimeerd","ongearticuleerd","ongeautoriseerd","ongecensureerd","ongeciviliseerd","ongeclausuleerd","ongecompliceerd","ongeconcentreerd","ongeconditioneerd","ongecontroleerd","ongecoördineerd","ongecorrigeerd","ongecultiveerd","ongedateerd","ongedefinieerd","ongedifferentieerd","ongediplomeerd","ongedisciplineerd","ongedoubleerd","ongeëmancipeerd","ongeëmotioneerd","ongeforceerd","ongefrankeerd","ongefundeerd","ongegeneerd","ongehavend","ongehonoreerd","ongeïdentificeerd","ongeïnformeerd","ongeïnspireerd","ongeïnteresseerd","ongekend","ongekwalificeerd","ongeleerd","ongelimiteerd","ongelinieerd","ongematteerd","ongemeend","ongemeubileerd","ongemonteerd","ongemotiveerd","ongemotoriseerd","ongenuanceerd","ongeoefend","ongeopend","ongeordend","ongeorganiseerd","ongepaneerd","ongepermitteerd","ongeprepareerd","ongepubliceerd","ongeraffineerd","ongerealiseerd","ongeregistreerd","ongereglementeerd","ongereguleerd","ongesigneerd","ongespecificeerd","ongestoffeerd","ongestructureerd","ongestudeerd","ongesubsidieerd","ongevaccineerd","ongewapend","onsamenhangend","onuitgenodigd","onuitgevoerd","onvermogend","onwelgezind","opeenvolgend","opvliegend","opvolgend","orthodox-gereformeerd","overtuigend","overwegend","overweldigend","plaatsvervangend","prangend","raadgevend","redengevend","rentegevend","rolbevestigend","roodgeverfd","rustgevend","samenhangend","schermdragend","schrikaanjagend","slechtgekleed","sneldrogend","statusverhogend","stilzwijgend","supergezond","tegemoetkomend","tergend","toegevend","toonaangevend","tussenliggend","uitdagend","uitgekiend","uitgeregend","uitgerekend","uitnodigend","vakoverstijgend","veelzeggend","vigerend","vleesvervangend","vliegend","volgend","voorbijgestreefd","vraaggestuurd","vreesaanjagend","Wajonggerechtigd","waterbergend","watergekoeld","welgekend","welgemeend","werkgelegenheidsbevorderend","wetgevend","winstgevend","witgehandschoend","witgepleisterd","witgeschilderd","witgeverfd","zelfcorrigerend","zelfdragend","zelfreinigend","zelfvernietigend","zelfverzorgend","zieltogend","zingevend","zoetgeurend","zogenaamd","zogenoemd","zwaargehavend","zwaargewapend","zwaargewond","zwaarwegend","zwartgeverfd","zwijgend","doelgericht","ontwikkelingsgericht","zwartgerokt","arbeidsmarktgericht","functiegericht","goedgemutst","kindgericht","aanbodgericht","aangedampt","actiegericht","arbeidsongeschikt","brongericht","buurtgericht","cliëntgericht","competentiegericht","consumentgericht","divergent","doelgroepgericht","doodongerust","effectgericht","ervaringsgericht","exportgericht","groepsgericht","ingemaakt","ingeroest","innovatiegericht","intelligent","klantgericht","kortgerokt","maatschappijgericht","marktgericht","mensgericht","nagelvast","natuurgericht","niet-gericht","ongekuist","ongericht","onuitgebracht","onuitgepakt","onuitgewerkt","oplossingsgericht","persoonsgericht","praktijkgericht","prestatiegericht","probleemgericht","procesgericht","productgericht","publieksgericht","resultaatgericht","roodgelakt","taakgericht","themagericht","toekomstgericht","toepassingsgericht","vakgericht","voortgezet","vraaggericht","wijkgericht","witgekalkt","witgelakt","zelfgemaakt","zwartgelakt","morgennacht","negenduizend","negenentwintigduizend","negenhonderd","negenhonderdduizend","negentienduizend","negentienhonderd","negentigduizend","morgenochtend","desgevallend","morgenavond","zogezegd","nergensland","ontbijtbord","onthaalbeleid","onthaalkind","ontmoedigingsbeleid","ontmoetingsavond","ontwapeningsakkoord","ontwerpakkoord","ontwerplandbouwakkoord","ontwerpwedstrijd","ontwikkelingsbeleid","ontwikkelingshulpbeleid","ontwikkelingsland","ontbeend","ontbrekend","onthullend","onthutsend","ontkennend","ontluisterend","ontoereikend","ontslagnemend","ontsmettend","ontspannend","ontstekingsremmend","ontstellend","ontwapenend","ontwijkend","ontwikkeld","ontzagwekkend","ontzettend","ontbijt","onthardingszout","ontzet","ontbijtbuffet","ontbindingsrecht","ontdekkingstocht","onterecht","ontkoppelingsbesluit","ontmijningsdienst","ontslagbesluit","ontslagdecreet","ontslagrecht","ontvangst","ontwerpbesluit","ontwerpfout","ontwerpgrondwet","ontwerpopdracht","ontwerprapport","ontwerpwet","ontwikkelingspot","ontwikkelingsproject","herdershond","herenakkoord","herenblad","herfstavond","herfstblad","herfstdraad","herfstmaand","herfstochtend","herfstwind","herkeuringsraad","heroïnehond","herseninhoud","herstelbeleid","hervormingsbeleid","herfst","hermafrodiet","hert","heraut","herfstlucht","heraanplant","herdenkingsbijeenkomst","herdenkingsconcert","herdenkingsfeest","heremietkreeft","herfstnacht","herfsttint","herinneringskunst","herkomst","heroïnespuit","heroïnetransport","heroïnevangst","herroepingsrecht","hersenkracht","hersenvlucht","hersenvocht","hersteldienst","herstelrecht","hervormingsproject","erwt","ernst","erbovenuit","ereambt","eregast","erepunt","erfenisrecht","erfrecht","ergotherapeut","ernaast","eronderuit","eropuit","ertussenuit","eruit","ervanuit","erytrocyt","eredivisiewedstrijd","erelid","erfgoedbeleid","erkenningsbeleid","errond","ervaringswereld","gebaart","gebeurt","gebiedt","gebood","gedenkt","gedraagt","geeuwt","gehoorzamt","geilt","geldt","geelt","gelooft","geneest","geniet","genoot","gerust","geurt","geeft","besnuffelt","bedeelt","bedelt","bekeert","beugelt","beamt","beantwoordt","beargumenteert","beatblogt","becijfert","becommentariërt","beconcurreert","bedaart","bedelft","bedenkt","bederft","bedient","bediscussiërt","bedoelt","bedraagt","bedreigt","bedriegt","bedrijft","bedroeft","bedwingt","beëindigt","beeldbelt","beetneemt","beft","begaat","begeleidt","begeert","begeeft","begint","begraaft","begrijpt","begroeit","behaalt","behandelt","behangt","beheert","behoedt","behoeft","behoort","behoudt","beïnvloedt","bekent","bekeurt","bekijkt","beklaagt","bekleedt","beklemt","beklimt","bekomt","bekritiseert","bekroont","belandt","beledigt","belegt","belemmert","beleeft","belt","beloont","belooft","belparkeert","beluistert","bemeesteert","bemeubelt","bemoedigt","bemoeit","benadert","benauwt","beneemt","bengelt","benieuwt","benoemt","beogt","beoordeelt","bepaalt","bepoteelt","bereidt","berekent","berooft","beschaamt","beschaaft","beschermt","beschildert","beschouwt","beschrijft","beschuldigt","beslaat","besloot","besnijdt","bespaart","bespeurt","bespioneert","bespreekt","bespringt","bestaat","bestempelt","bestrijdt","bestreed","bestudeert","bestuurt","beswaffeelt","betekent","betert","betont","betonneert","betovert","betreedt","betreft","betrekt","betreurt","betwijfelt","beult","bevalt","beeft","bevindt","bevoordeliigt","bevordert","bevraagt","bevriest","bewapent","beweert","bewijst","bewondert","bewoont","bewonersparkeert","bezaait","bezeert","beziet","bezat","bezoekt","bezorgt","bezuinigt","bezweert","verlaat","verliet","verschaalt","verspringt","vertelt","veraangenaamt","verabsoluteert","verachtvoudiigt","veradeemt","verafgoodt","verafschuwt","veralgemeent","verandert","verankert","verantwoordt","verarmt","verbabbelt","verbaliseert","verbant","verbaast","verbeeldt","verbeidt","verbergt","verbetert","verbeuzelt","verbiedt","verbood","verbijstert","verbindt","verblijft","verblindt","verbouwt","verbrandt","verbreekt","verdappert","verdedigt","verdeelt","verdenkt","verdient","verdort","verdooft","verdraait","verdraagt","verdrijft","verdringt","verdrinkt","verdroogt","verdubbelt","verdwaalt","verdwijnt","vereenvoudigt","vet","verenigt","vereert","vergaat","vergadeert","vergelijkt","vergt","vergeet","vergat","vergeeft","vergiftigt","vergoedt","vergrendelt","verhaalt","verhangt","verheldert","verheugt","verhindert","verhoogt","verhongert","verhoudt","verhuist","verhuurt","verifiërt","verjaagt","verkent","verkeert","verkiest","verklaart","verkleedt","verkleint","verkleurt","verknoeit","verkoopt","verkreukelt","verkrijgt","verlaagt","verlamt","verlangt","verleidt","verleent","verlengt","verliest","verloocheent","verloopt","verlooft","verluiert","verlummelt","vermagert","vermaalt","vermangelt","vermeldt","vermengt","vermenigvuldigt","vermijdt","vermindert","vermoedt","vermoeit","vermolmt","vermomt","vermoordt","vernauwt","verneemt","vernevelt","vernielt","vernietigt","vernieuwt","vernikkelt","vernoemt","vernummert","veronaangenaamt","veronachtzaamt","veronderstelt","verontheiliigt","verontreinigt","verontschuldigt","veroordeelt","veroorlooft","verootmoediigt","veropenbaart","verordonneert","verovert","verpandt","verpaupert","verpietert","verplegt","verplettert","verpulvert","verraadt","verried","verrechtvaardiigt","verregeent","verreist","verrekeent","verrijdt","verrijst","verroert","verrolt","verronselt","verruigt","verruilt","verruuwt","verscheurt","verschijnt","verschilt","verschimmelt","verschoont","verschraalt","verschrijft","verschroeit","verschrompelt","verschuilt","versiert","versimpelt","versjachert","versjouwt","verslaat","verslechtert","versleutelt","verslijt","versleet","verslindt","verslond","versluiert","versluist","versmaadt","versmalt","versmoort","versnelt","versnijdt","versnippert","versobert","versoepelt","versombert","verspeelt","verspeent","verspert","verspiedt","verspilt","verspint","versplintert","verspreidt","verstaat","verstond","verstaalt","verstart","verstelt","versteent","versterft","versteviigt","verstijft","verstilt","verstomt","verstoort","verstoot","verstiet","verstouwt","verstramt","verstrengt","verstrijkt","verstrooit","verstuift","verstuurt","verstuuwt","versuikert","versukkelt","vertaalt","vertedert","vertegenwoordigt","vertekeent","verteert","vertienvoudiigt","vertilt","vertimmert","vertint","vertoeft","vertoont","vertoornt","vertraagt","vertreedt","vertroebelt","vertroetelt","vertrouwt","vertwijfelt","vervaagt","vervaalt","vervalt","vervangt","vervelt","verft","verveent","verviervoudiigt","vervijfvoudiigt","vervliegt","vervloeit","vervluchtiigt","vervoedeert","vervoegt","vervoert","vervolgt","vervollediigt","vervordert","vervormt","vervreemdt","vervroegt","vervuilt","vervult","verwaait","verwaardiigt","verwaarloost","verwarmt","verwart","verwaseemt","verwatert","verwedt","verwelkoomt","verweert","verwerpt","verwerft","verweeft","verwijdt","verwijdert","verwijlt","verwijft","verwikkelt","verwildert","verwint","verwintert","verwisselt","verwittiigt","verwondt","verwondert","verwoont","verwoordt","verwringt","verwurgt","verzaagt","verzandt","verzegelt","verzegt","verzeilt","verzekert","verzelfstandiigt","verzendt","verzengt","verzesvoudiigt","verzilvert","verzinnebeeldt","verzint","verzoekt","verzoent","verzoolt","verzuilt","verzuurt","verzusteert","verzwagert","verzwaart","verzwelgt","verzwendelt","verzweert","verzwijgt","ontbiedt","ontbood","ontbeet","ontbindt","ontbolstert","ontbraamt","ontbreekt","ontcijfert","ontdoet","ontdeed","ontdooit","ontdubbelt","onteert","onterft","ontgaat","ontgeldt","ontglijdt","ontgloeit","ontgraaft","ontgrendelt","ontgroeit","ontgroent","onthaalt","onthalst","onthardt","onthaart","ontheft","ontheiligt","onthoofdt","onthoudt","onthield","onthult","ontkent","ontketeent","ontkiemt","ontkleurt","ontkoomt","ontkoppelt","ontlaadt","ontleent","ontleert","ontloopt","ontluist","ontmengt","ontmijnt","ontmoedigt","ontmythologiseert","ontneemt","ontradicaliseert","ontroert","ontrommeelt","ontruimt","ontslaat","ontspant","ontspult","ontstaat","ontstond","ontsteekt","ontvangt","ontvoert","ontvolgt","ontvoogdt","ontvriendt","ontvriest","ontwerpt","ontwijkt","ontwikkelt","ontzwavelt","herdenkt","herdacht","ergert","ekent","eruitzit","ervaart","erft"],X=["aaneengedraaid","aaneengeschakeld","aanschouwd","aanvaard","achtergebleven","achtergelaten","achterhaald","achteromgekeken","achteropgekomen","achteruitgegaan","achtervolgd","ademgehaald","bedolven","bedongen","bedorven","bedragen","bedreven","bedrogen","bedropen","bedwongen","beetgenomen","begeven","begonnen","begraven","begrepen","behangen","behouden","bekeken","beklommen","bekomen","bekropen","beleden","belezen","benomen","beraden","beschenen","beschoten","beschreven","beslagen","beslopen","besloten","besneden","besproken","besprongen","bestegen","bestolen","bestorven","bestreden","bestreken","betreden","betroffen","betrokken","bevallen","bevochten","bevolen","bevonden","bevroren","bewezen","bewogen","bezeten","bezien","beziggehouden","bezonnen","bezweken","bezworen","bijeengehouden","bijeengeroepen","blootgelegd","blootgesteld","bovengehaald","brandgesticht","buitengesloten","buitgemaakt","deelgenomen","dichtgebonden","dichtgedaan","diepgevroren","doodgegaan","doorbladerd","doorboord","doorbroken","doordacht","doordrongen","doorgrond","doorkruist","doorlopen","doorsneden","doorstaan","doorverteld","doorzien","doorzocht","drooggelegd","dwarsgezeten","ervaren","flauwgevallen","gebakken","gebannen","gebarsten","gebeden","gebersten","gebeten","geblazen","gebleken","gebleven","geblonken","geboden","gebogen","gebonden","geboren","geborgen","geborsten","gebraden","gebroken","gebrouwen","gedaan","gedoken","gedolven","gedongen","gedragen","gedreten","gedreven","gedrongen","gedronken","gedropen","gedwongen","gefloten","gegeten","gegeven","gegleden","geglommen","gegolden","gegoten","gegraven","gegrepen","gehangen","gehesen","geheven","geholpen","gehouden","gehouwen","gekeken","geklommen","geklonken","gekloven","geknepen","gekomen","gekorven","gekozen","gekregen","gekresen","gekreten","gekrompen","gekrooien","gekropen","gekunnen","gekweten","gelachen","geladen","gelaten","geleden","gelegen","geleken","gelezen","gelogen","geloken","gelopen","gemalen","gemeden","gemeten","gemoeten","gemogen","gemolken","genegen","genezen","genomen","genoten","geprezen","geraden","gereden","geregen","gereten","gerezen","geroepen","geroken","geschapen","gescheiden","geschenen","gescheten","gescholden","gescholen","geschonden","geschonken","geschoren","geschoten","geschoven","geschreden","geschreven","geschrokken","geslagen","geslapen","geslepen","gesleten","geslonken","geslopen","gesloten","gesmeten","gesmolten","gesneden","gesnoten","gesnoven","gespannen","gespeten","gespleten","gesponnen","gespoten","gesproken","gesprongen","gesproten","gestegen","gestoken","gestolen","gestonken","gestoten","gestoven","gestreden","gestreken","getreden","getroffen","getrokken","gevallen","gevangen","gevangengenomen","gevaren","gevezen","gevlochten","gevloden","gevlogen","gevloten","gevochten","gevonden","gevouwen","gevreten","gevroren","gewassen","geweken","geweten","geweven","gewezen","gewogen","gewonden","gewonnen","geworden","geworpen","geworven","gewoven","gewreten","gewreven","gewrongen","gezegen","gezeken","gezeten","gezien","gezoden","gezogen","gezonden","gezongen","gezonken","gezonnen","gezopen","gezouten","gezwegen","gezwolgen","gezwollen","gezwommen","gezwonden","gezworen","gezworven","hardgelopen","herladen","hernomen","herwonnen","herzien","huisgehouden","kennisgemaakt","klaargekomen","kortgesloten","kwaadgesproken","kwijtgeraakt","kwijtgescholden","langsgekomen","leeggelopen","leeggemaakt","lesgegeven","liefgehad","lipgelezen","meebetaald","misbruikt","misleid","mislukt","misprezen","nabewerkt","nedergedaald","omarmd","omfloerst","omhelsd","omkleed","omklemd","ommuurd","omringd","omschreven","omsingeld","omsloten","omvat","omvergeworpen","omwikkeld","omwonden","omzeild","omzoomd","omzworven","onderbouwd","onderbroken","onderdrukt","ondergaan","ondergraven","onderhandeld","onderhouden","onderkend","ondermijnd","ondernomen","onderscheiden","onderschept","ondersteund","onderstreept","ondertekend","onderverdeeld","ondervonden","ondervraagd","onderwezen","onderworpen","onderzocht","ontbeten","ontboden","ontbonden","ontbroken","ontdoken","ontgonnen","onthouden","ontkomen","ontladen","ontloken","ontlopen","ontnomen","ontraden","ontslagen","ontsloten","ontspannen","ontsprongen","ontsproten","ontstoken","onttrokken","ontvangen","ontweken","schoongemaakt","schoongewassen","stilgestaan","tandengepoetst","tegemoetgekomen","teleurgesteld","teloorgegaan","terechtgekomen","terechtgesteld","teweeggebracht","thuisbezorgd","thuisgekomen","toebehoord","toevertrouwd","tussengekomen","tussengeworpen","uitbesteed","uitbetaald","uitvergroot","uitverkocht","valsgespeeld","verbannen","verbleven","verboden","verbogen","verbonden","verborgen","verbroken","verdragen","verdreven","verdrongen","verdronken","verdroten","verdwenen","vergeleken","vergeten","vergeven","vergleden","vergolden","vergoten","vergrepen","verhangen","verheven","verholpen","verhouden","verkozen","verkregen","verladen","verlaten","verlopen","verloren","vermeden","vermogen","vernomen","verraden","verrezen","verscheiden","verschenen","verscholen","verschoten","verschoven","verschreven","verschrokken","verslagen","verslapen","versleten","verslonden","versmolten","verstoten","verstreken","vertrokken","vervallen","vervangen","vervlogen","verweten","verweven","verwezen","verworpen","verworven","verwrongen","verzonden","verzonken","verzonnen","verzopen","verzouten","verzwonden","volbracht","voldaan","voleindigd","volhard","volmaakt","volstaan","voltooid","voltrokken","voorbehouden","voorkomen","voorspeld","voorzien","wederhaald","weergalmd","weerhouden","weerkaatst","weerlegd","weerstaan"],{getWords:Z,matchRegularParticiples:ee}=n.languageProcessing,{directPrecedenceException:re,values:ne}=n.languageProcessing,{Clause:te}=ne,{getClausesSplitOnStopWords:oe,createRegexFromArray:de}=n.languageProcessing,ae={Clause:class extends te{constructor(e,r){super(e,r),this._participles=function(e){const r=Z(e),n=[/^(ge|be|ont|ver|her|er)\S+([dt])($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi,/^(aan|af|bij|binnen|los|mee|na|neer|om|onder|samen|terug|tegen|toe|uit|vast)(ge)\S+([dtn])($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi];return r.filter((e=>0!==ee(e,n).length||(0,K.includes)(X,e)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getParticiples().filter((e=>!(0,K.includes)(Q,e)&&!this.hasNonParticipleEnding(e)&&!re(this.getClauseText(),e,q)));this.setPassive(e.length>0)}hasNonParticipleEnding(e){return/\S+(heid|teit|tijd)($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi.test(e)}},regexes:{auxiliaryRegex:de(["word","wordt","worden","werd","werden","wordend"]),stopwordRegex:de(G)}};function le(e){return oe(e,ae)}const{exceptionListHelpers:{checkIfWordEndingIsOnExceptionList:se,checkIfWordIsOnListThatCanHavePrefix:ie}}=n.languageProcessing;function ge(e,r){const n=r.find((r=>-1!==e.search(new RegExp(r[0]))));return void 0!==n&&(e=e.replace(new RegExp(n[0]),n[1])),e}function be(e,r,n){const t=ie(e,r.getVowelDoubling,n),o=function(e,r,n){if(se(e,r.endingMatch)||ie(e,r.verbs,n)||r.exactMatch.includes(e))return!0}(e,r.noVowelDoubling,n),d=function(e){return e.charAt(e.length-4)!==e.charAt(e.length-3)}(e),a=function(e,r){return-1===e.search(new RegExp(r))}(e,r.noVowelDoubling.rule);return t||!o&&d&&a}const ve=function(e){let r=e.search(/[aeiouyèäüëïöáéíóú][^aeiouyèäüëïöáéíóú]/);return-1!==r&&(r+=2),-1!==r&&r<3&&(r=3),r},ue=function(e,r,n,t){const o=function(e,r,n){const t=Object.entries(r);for(const r of t){const t=r[1].suffixes.find((r=>new RegExp(r).exec(e)));if(t){const o=new RegExp(t).exec(e),d=o[o.length-1],a=e.lastIndexOf(d);if(-1!==n&&a>=n)return{suffixIndex:a,stemModification:r[1].stemModification}}}}(e,r,n);return void 0!==o&&(e=function(e,r,n,t,o){return"hedenToHeid"===t?ge(e,o.regularStemmer.stemModifications.hedenToHeid):(e=e.substring(0,n),"changeIedtoId"===t?ge(e,o.regularStemmer.stemModifications.iedToId):"changeInktoIng"===t&&e.endsWith("ink")?ge(e,o.regularStemmer.stemModifications.inkToIng):"vowelDoubling"===t&&be(e,o.regularStemmer.stemModifications.exceptionsStemModifications,o.pastParticipleStemmer.compoundVerbsPrefixes)?ge(e,o.regularStemmer.stemModifications.doubleVowel):e)}(e,0,o.suffixIndex,o.stemModification,t)),e},ce=function(e,r,n,t){const o=Object.entries(r);for(const r of o)e=ue(e,r[1],n,t);return e},{regexHelpers:{searchAndReplaceWithRegex:he,doesWordMatchRegex:me},exceptionListHelpers:{checkIfWordEndingIsOnExceptionList:we,checkIfWordIsOnListThatCanHavePrefix:ke}}=n.languageProcessing,pe=function(e,r,n){if(me(n,r[0])){const t=n.replace(new RegExp(r[0]),r[1]);if(be(t,e.regularStemmer.stemModifications.exceptionsStemModifications,e.pastParticipleStemmer.compoundVerbsPrefixes)){return he(t,e.regularStemmer.stemModifications.doubleVowel)||t}return t}return null},fe=function(e,r){const n=r.ambiguousTAndDEndings.tOrDArePartOfStem;let t=he(e,n.firstTOrDPartOfStem);if(t)return t;if(n.verbsDenShouldBeStemmed.includes(e))return e.slice(0,-3);if(we(e,n.wordsStemOnlyEnEnding.endingMatch)||ke(e,n.wordsStemOnlyEnEnding.verbs,r.pastParticipleStemmer.compoundVerbsPrefixes)||me(e,n.denEnding)){if(t=e.slice(0,-2),be(t,r.regularStemmer.stemModifications.exceptionsStemModifications,r.pastParticipleStemmer.compoundVerbsPrefixes)){return he(t,r.regularStemmer.stemModifications.doubleVowel)||t}return t}const o=n.deEnding;if(t=pe(r,o,e),t)return t;const d=n.teAndTenEndings;return t=pe(r,d,e),t||null};function ye(e,r){if(we(r,e.ambiguousTAndDEndings.wordsTShouldBeStemmed))return r.slice(0,-1);if(me(r,e.ambiguousTAndDEndings.tOrDArePartOfStem.tEnding))return r;return fe(r,e)||null}const{flattenSortLength:je}=n.languageProcessing,ze=function(e,r,n){const t=je(n).find((r=>e.startsWith(r)));"string"==typeof t&&(e=e.slice(t.length));for(let n=0;n<r.length;n++){const o=(0,K.flatten)(r[n]);for(let r=0;r<o.length;r++)if(o.includes(e))return"string"==typeof t?t+o[0]:o[0]}return null},xe=function(e,r){for(let n=0;n<r.length;n++){const t=(0,K.flatten)(r[n]);for(let r=0;r<t.length;r++)if(e.endsWith(t[r])){const n=e.slice(0,-t[r].length);return 1===n.length?null:n.length>1?n+t[0]:t[0]}}return null},Se=function(e,r){for(let n=0;n<r.length;n++){const t=(0,K.flatten)(r[n]);for(let r=0;r<t.length;r++)if(t.includes(e))return t[0]}return null};function Pe(e,r){const n=e.stemExceptions.stemmingExceptionStemsWithFullForms;let t=ze(r,n.verbs,e.pastParticipleStemmer.compoundVerbsPrefixes);return t||(t=xe(r,n.endingMatch),t||(t=Se(r,n.exactMatch),t||null))}const{regexHelpers:{doesWordMatchRegex:Ee}}=n.languageProcessing,Fe=function(e,r){return e.includes(r)?r.slice(0,-1):null},Be=function(e,r){return e.endsWith("t")?!!r.ambiguousTAndDEndings.wordsTShouldBeStemmed.includes(e)||!Ee(e,r.ambiguousTAndDEndings.tOrDArePartOfStem.tEnding)&&!r.stemExceptions.wordsNotToBeStemmedExceptions.verbs.includes(e):!r.pastParticipleStemmer.doNotStemD.includes(e)},Me=function(e,r){if(new RegExp("^"+e.pastParticipleStemmer.participleStemmingClasses[0].regex).test(r)){const n=Fe(e.pastParticipleStemmer.doNotStemGe,r);if(n)return n;let t=r.slice(2);return t.startsWith("ë")&&(t="e"+t.slice(1)),Be(t,e)?t.slice(0,-1):t}return null},We=function(e,r,n,t,o){for(const d of t)if(new RegExp("^"+d+o).test(r)){let t=r.slice(d.length-r.length);if(n){const r=Fe(e.pastParticipleStemmer.doNotStemGe,t);if(r)return d+r;t=t.slice(2)}return t.startsWith("ë")&&(t="e"+t.slice(1)),Be(t,e)?d+t.slice(0,-1):d+t}return null},Oe=function(e,r){for(const n of e.pastParticipleStemmer.participleStemmingClasses){const t=n.regex,o=n.separable,d=o?e.pastParticipleStemmer.compoundVerbsPrefixes.separable:e.pastParticipleStemmer.compoundVerbsPrefixes.inseparable,a=We(e,r,o,d,t);if(a)return a}return null},Te=function(e,r){return e.includes(r)},Ie=function(e,r,n,t){return e.map((e=>t.startsWith(e))).some((e=>!0===e))&&t.endsWith("end")&&!r.includes(t)?ge(t.slice(0,-3),n):null};function Ve(e,r){if(r.endsWith("heid")||r.endsWith("teit")||r.endsWith("tijd")||Q.includes(r))return"";if(Te(e.pastParticipleStemmer.inseparableCompoundVerbsNotToBeStemmed,r))return r;let n=Me(e,r);return n||(n=Fe(e.pastParticipleStemmer.inseparableCompoundVerbs,r),n||(n=Ie(e.pastParticipleStemmer.compoundVerbsPrefixes.inseparable,e.pastParticipleStemmer.pastParticiplesEndingOnEnd,e.regularStemmer.stemModifications.finalChanges,r),n||(n=Oe(e,r),n||null)))}const{exceptionListHelpers:{checkIfWordEndingIsOnExceptionList:Ae,checkIfWordIsOnListThatCanHavePrefix:De},stemHelpers:{removeSuffixFromFullForm:Ce,removeSuffixesFromFullForm:Re}}=n.languageProcessing,Ne=function(e,r){let n=function(e,r){for(const n of e.stemExceptions.removeSuffixesFromFullForms){const e=Re(n.forms,n.suffixes,r);if(e)return e}for(const n of e.stemExceptions.removeSuffixFromFullForms){const e=Ce(n.forms,n.suffix,r);if(e)return e}}(r,e);return n?be(n,r.regularStemmer.stemModifications.exceptionsStemModifications,r.pastParticipleStemmer.compoundVerbsPrefixes)?(n=ge(n,r.regularStemmer.stemModifications.doubleVowel),ge(n,r.regularStemmer.stemModifications.finalChanges)):ge(n,r.regularStemmer.stemModifications.finalChanges):null};const{exceptionListHelpers:{checkIfWordEndingIsOnExceptionList:Le,checkIfWordIsOnListThatCanHavePrefix:He}}=n.languageProcessing,$e=function(e,r,n){const t=e.stemExceptions.wordsNotToBeStemmedExceptions,o=e.stemExceptions.removeSuffixesFromFullForms[1].forms,d=e.ambiguousTAndDEndings.tOrDArePartOfStem.doNotStemTOrD;if(Ve(e,n)||ye(e,n)||He(n,t.verbs,e.pastParticipleStemmer.compoundVerbsPrefixes)||Le(n,t.endingMatch)||t.exactMatch.includes(n)||o.includes(r)||Pe(e,n)||r.endsWith("heid")||Le(r,d))return!0};function qe(e,r,n){return $e(e,r,n)?null:r.slice(0,-1)}const{flattenSortLength:_e,exceptionListHelpers:{checkExceptionListWithTwoStems:Ge}}=n.languageProcessing,Je=function(e,r){for(const n of Object.keys(e))for(const t of e[n]){const e=(0,K.flatten)(Object.values(t));if(e.includes(r))return e[0]}},{baseStemmer:Ue}=n.languageProcessing;function Ye(e){const r=(0,K.get)(e.getData("morphology"),"nl",!1);return r?e=>function(e,r){const n=function(e,r){let n=Pe(r,e);if(n)return n;if(n=Ve(r,e),n)return n;const t=r.stemExceptions.wordsNotToBeStemmedExceptions;if(De(e,t.verbs,r.pastParticipleStemmer.compoundVerbsPrefixes)||Ae(e,t.endingMatch)||t.exactMatch.includes(e))return e;const o=r.ambiguousTAndDEndings.otherTAndDEndings;for(const t of o)if(e.endsWith(t)&&(n=ye(r,e),n))return n;return n=Ne(e,r),n||function(e,r){e=ge(e,r.regularStemmer.stemModifications.IAndYToUppercase);const n=ve(e),t=r.regularStemmer.suffixes;return ge(e=ce(e,t,n,r),r.regularStemmer.stemModifications.finalChanges)}(e,r)}(e,r);let t=Ge(r.stemExceptions.stemmingExceptionsWithMultipleStems.stemmingExceptionsWithTwoStems,n);if(t)return t;if(t=function(e,r){let n=_e(e.pastParticipleStemmer.compoundVerbsPrefixes).find((e=>r.startsWith(e))),t="";e.stemExceptions.stemmingExceptionsWithMultipleStems.strongAndIrregularVerbs.doNotStemPrefix.find((e=>r.endsWith(e)))?n=null:n&&(t=r.slice(n.length,r.length),t.length>2?r=t:n=null);const o=e.stemExceptions.stemmingExceptionsWithMultipleStems.strongAndIrregularVerbs.strongVerbStems,d=[o.irregularStrongVerbs,o.regularStrongVerbs,o.bothRegularAndIrregularStrongVerbs];for(let e=0;e<d.length;e++)if(Je(d[e],r))return n?n+Je(d[e],r):Je(d[e],r)}(r,n),t)return t;const o=r.ambiguousTAndDEndings.tAndDEndings;for(const t of o)if(n.endsWith(t)){const t=qe(r,n,e);if(t)return t}return n}(e,r):Ue}const{formatNumber:Ke}=n.helpers;function Qe(e){const r=206.84-.77*e.syllablesPer100Words-.93*e.averageWordsPerSentence;return Ke(r)}const{AbstractResearcher:Xe}=n.languageProcessing;class Ze extends Xe{constructor(e){super(e),Object.assign(this.config,{language:"nl",passiveConstructionType:"periphrastic",firstWordExceptions:t,functionWords:_,stopWords:G,transitionWords:d,twoPartTransitionWords:J,syllables:U,keyphraseLength:Y}),Object.assign(this.helpers,{getClauses:le,getStemmer:Ye,fleschReadingScore:Qe})}}(window.yoast=window.yoast||{}).Researcher=r})(); dist/languages/sk.js 0000644 00000067444 15174677550 0010470 0 ustar 00 (()=>{"use strict";var n={d:(e,o)=>{for(var a in o)n.o(o,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:o[a]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r:n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},e={};n.r(e),n.d(e,{default:()=>S});const o=window.yoast.analysis,a=["ktorí","ktorých","ktorými","ktorá","ktorého","ktorému","ktorom","ktorým","ktorý","ktoré","ktorej","ktorou","ktorú","lebo","keby","že","aby","alebo","keďže","kedže","lenže","ale","nakoľko","pretože","či","ak","kedy"],t=["kvôli","miesto","pre","oproti","aj","i","ani","ale","avšak","však","preto","tak","teda","hoci","aby","ako","keď","keďže","kým","pokiaľ","ohľadne","takto","tiež ","potom","takže","odtiaľ","odteraz","lebo","akonáhle","lenže","okrem","nakoľko","pokým","pretože","čiže","jednako","doteraz","dosiaľ","najmä","napríklad","napr.","napokon","predsa","určite","dodatočne","ďalej","následne","napriek","hlavne","nakoniec","medzitým","inak ","ináč","obdobne","podobne","predovšetkým","naozaj","spočiatku ","najprv","najskôr","stručne","všeobecne","samozrejme","pravdaže","doposiaľ","nielen","než","síce","pričom","až","jednak","zato","nielenže","ibaže","skôr","prv","hoc","namiesto","buďto","inakšie","hneď","kedykoľvek"],i=t.concat(["ako aj","ako i","a tak ďalej","a tak","aj tak","a jednako","a naopak","a predsa","ale jednako","ale predsa","a tým","a to","i to","jednako však","predsa však","to jest","a preto","i keby","i keď","čo aj","keby aj","pretor, aby","odvtedy čo","zatiar čo","vzhľadom na to, že","berúc do úvahy, že","napriek tomu, že","preto, aby","za účelom","za týmto účelom","skôr či neskôr ","hneď ako","len čo","pokiaľ ide o","pokiaľ nie","pokiaľ viem","po prvé","čo sa týka","až do","až na","až po","z tohto dôvodu","z toho dôvodu","no predsa","iba ak","ak nie","keď nie","tobôž nie","pravdu povediac","ako napríklad","okrem toho ","v podstate","ako je uvedené ","v každom prípade","na rozdiel od","v porovnaní s","v oboch prípadoch","stručne povedané","inými slovami","na jednej strane","na druhej strane","s týmto cieľom"]),r=function(n){let e=n;return n.forEach((o=>{(o=o.split("-")).length>0&&o.filter((e=>!n.includes(e))).length>0&&(e=e.concat(o))})),e}(["to","sa","je","si","som","a","na","že","čo","nie","v","ako","tak","ale","by","s","mi","o","tu","do","ja","sme","ste","áno","z","len","ma","už","aby","dobre","ho","keď","ak","ty","ti","za","ťa","bol","pre","sú","tam","prečo","niečo","toto","no","teraz","aj","hej","mám","byť","ich","bude","ju","takže","ten","všetko","tom","nič","vás","kde","kto","k","po","bolo","bola","ešte","vám","toho","alebo","jej","má","môj","jeho","máš","viem","vieš","mňa","tým","veľmi","mal","prosím","potom","nikdy","možno","od","nás","ani","so","povedal","chcem","neviem","mu","ďakujem","ísť","vy","naozaj","stále","teba","pretože","viac","chceš","oh","nám","ahoj","on","pred","máme","moja","musím","tie","vo","sem","môžem","dnes","budem","ktorý","niekto","práve","pane","mali","pán","poďme","všetci","pozri","myslíš","či","mať","nemôžem","asi","ktoré","keby","veľa","vždy","tiež","moje","poď","mala","stalo","trochu","my","ľudia","tomu","pri","deň","máte","tú","musíme","iba","tvoj","tento","tá","jeden","bez","chcel","mohol","veci","zo","robiť","ide","dobrý","budeš","ok","mnou","môže","viete","kým","mne","až","presne","môžeš","dosť","vážne","preto","dobré","späť","všetky","tebou","urobiť","deje","robíš","vedieť","prepáč","vďaka","však","musíš","povedala","ona","budeme","nikto","kvôli","lebo","teda","vec","nech","hneď","im","každý","svoje","než","kedy","tvoja","prepáčte","nechcem","rokov","choď","povedz","potrebujem","daj","nemám","svoju","samozrejme","raz","chce","takto","také","mohli","preč","ním","nejaké","idem","spolu","vlastne","problém","musí","žiadne","chcete","vôbec","lepšie","vidieť","môžeme","urobil","tvoje","tebe","dostať","prišiel","hovoriť","vyzerá","ktorá","dlho","kam","niekedy","von","príliš","nich","sám","celý","úplne","tej","určite","nuž","môžete","pod","fajn","váš","seba","aký","nebude","cez","niekoho","u","všetkých","aké","majú","mojej","tých","rýchlo","taký","istý","znamená","môjho","tieto","koľko","predtým","medzi","dať","tejto","čom","chcela","neho","ideme","budú","dva","tri","nebol","nejaký","svoj","podľa","mohla","nájsť","pani","vaše","budete","ľúto","pozrite","zajtra","moju","hovorí","ktorú","túto","hore","dostal","super","ďalej","naše","vedel","tomto","náš","chvíľu","dal","proste","vie","okej","jedno","pohode","dole","aspoň","vaša","nej","táto","jedna","i","oni","robí","poviem","nemôžeš","dve","ku","skôr","ktorí","radšej","zlé","páči","nami","dúfam","skoro","čože","ňou","nemá","proti","nemal","neskôr","jednu","iné","odtiaľto","nad","hovoril","prvý","vami","svojho","musíte","zdá","skvelé","dobrá","znova","koho","och","minút","sebe","nebolo","musieť","nebudem","okolo","dvaja","príde","nemôže","veľký","vidíš","prišli","tohto","ideš","tvoju","uvidíme","celé","sama","haló","čokoľvek","nemáš","musel","jedného","vrátiť","buď","potrebujeme","taká","nebola","vonku","spraviť","prišla","moc","pokiaľ","skutočne","žiadny","svojej","dám","malý","pekne","co","ňu","odísť","nechať","inak","prísť","zatiaľ","vtedy","najlepšie","sebou","celú","možné","povedali","iste","znovu","dajte","páni","predsa","dobrú","čím","istá","ach","dokonca","videli","žiť","poďte","niekde","ďalší","iný","spôsob","nemáme","toľko","ňom","nemôžeme","nový","spravil","robíte","zle","tvojej","naša","akoby","robím","pekné","pôjdem","cestu","zase","hodín","nimi","oci","oči","dá","okrem","chápem","pripravený","chceli","konečne","aká","ano","mojom","mojich","veľké","priamo","počas","nechceš","jediný","týchto","rozumiem","zdravím","môžu","urobila","mohlo","nové","robil","chcú","jednoducho","choďte","prípad","mimo","nepovedal","isté","neskoro","povedzte","tvojho","dostali","pravdepodobne","vašu","vecí","svojich","nechcel","ďalšie","ze","nejakú","týmto","vziať","dni","jo","päť","nevieš","odkiaľ","malé","mrzí","našej","ďaleko","úžasné","nemohol","nevidel","okay","obaja","všetkým","dvoch","nemali","žiadna","dní","dr.","nemala","potrebovať","zostať","ktorého","sam","rovnako","rokmi","malo","vyzeráš","potrebuješ","strane","dňa","jediná","oveľa","urobím","ó","zastaviť","vašej","nikoho","najprv","nevedel","najlepší","našich","takmer","čau","dostala","ktorých","začal","nemusíš","opäť","urobili","ktorej","aha","stačí","išiel","zlý","čase","chceme","začať","moji","niekoľko","nevie","povieš","našu","nemôžete","naspäť","pôjdeme","štyri","poznáš","sveta","robia","chlape","rozprávať","spať","pekný","veľká","nemáte","nechce","nakoniec","ono","mysli","všade","vzal","blízko","chcieť","nášho","akú","vášho","naposledy","vidíte","šiel","odkedy","neboli","vedeli","možnosť","ah","stať","každého","vnútri","hodinu","prvé","vrátim","menej","nehovor","nebudeš","čakať","urob","žiaden","um","odtiaľ","malá","musela","nejako","okamžite","mojou","poslal","prvá","záleží","iného","ne","ha","skvelý","čoho","š","new","šťastie","jedlo","zmysel","čoskoro","snažím","nechajte","you","treba","hodiny","ocko","dala","yeah","nechal","zomrel","pracovať","madam","priatelia","časť","ruku","počuť","telefón","krv","zem","chyba","mesta","správy","práci","charlie","láska","mesto","jack","strach","volám","školy","kamoš","našla","neboj","tvár","počula","syna","zavolať","zemi","rodinu","pamätáš","polícia","roku","odišiel","párty","verím","nerob","skutočnosti","meste","zbrane","dali","auta","cesty","uveriť","zistiť","chlapče","dcéra","pána","tou","zavolám","dievčatá","volal","vypadni","myslieť","šťastný","radi","chlapík","hovorila","tím","hlavy","nejde","cesta","jasne","peňazí","muži","vrátil","škole","pol","hovoríte","večeru","sex","miesta","druhý","odo","snažil","michael","sľubujem","hovoria","šéf","žije","zachrániť","šesť","nikomu","rovno","dostane","dolu","musia","výborne","posledný","vezmi","posledné","jediné","náhodou","každú","dávno","začína","jednej","nevadí","napríklad","svojom","mesiac","dostanem","zobrať","tvojom","zabudol","môcť","často","existuje","dostaneme","povie","celá","druhej","mimochodom","žiadnu","pôjde","nejaká","snáď","nechcela","mesiacov","ostatní","navždy","desať","museli","urobíme","horšie","keďže","sami","najskôr","robíme","všetkom","pozrime","hovorili","tvojich","vezmem","zober","nedá","trošku","chvíľku","ktorým","nemu","mojím","lepší","dáš","sto","dvadsať","devätnásť","osemnásť","sedemnásť","šestnásť","dvakrát","pätnásť","štrnásť","trinásty","trinásť","dvanásty","dvanásť","jedenásty","jedenásť","desiaty","deviaty","deväť","ôsmy","osem","siedmy","sedem","šiesty","piaty","štvrtý","tretí","tí","tými","mojim","môjmu","mojimi","nim","ony","akonáhle","kedže","hoci","lenže","nakoľko","pokým","tobôž","čiže","vedľa","napriek","nadol","oproti","plus","nahor","dvojslovné","namiesto","trojslovné","navyše","tamto","včera","nedávno","ihneď","kdekoľvek","nikde","celkom","tvrdo","pomaly","opatrne","ťažko","sotva","väčšinou","absolútne","spoločne","osamote","zvyčajne","príležitostne","zriedka","tisíc","milión"].concat(t)),s=[["buď","buď"],["buď","alebo"],["ani","ani"],["aj","aj"],["tak","ako"],["nielenže","lež aj"],["nielen","lež aj"],["nielen","lež i"],["nielenže","lež i"],["či","alebo"],["i","i"],["nielen","ale i"],["síce","ale"]],d=["nejaký","nejaká","nejaké","jeden","jedna","jediný","dva","dvaja","dve","tri","trojka","traja","štyri ","štvoro","štyria","päť","pät","šesť","sedem","osem","deväť","desať","sto","tisíc","ten","tá","to","tento","táto","toto","tamten","tamtá","tamto","tí","tie","tieto","toho","tej","tomu","tú","tom","tým","tou","tých","tými","títo","tamtí","tamtie","tamtoho","tomuto","tohto"],{getWords:v}=o.languageProcessing,l=["letá","skriptá","dvojitá","autá","kráľovná","princezná","príbuzná","premenná","trstená","zelená","ošípaná","lesná","vyvolená","dobšiná","hádzaná","gazdiná","šrotovná","švagriná","výborná","záverečná","recepčná","konečná","dotyčná","černá","jediný","posledný","ostatný","neposledný","predposledný","štvrtý","dvojitý","postihnutý","svätý","zlotý","dôležitý","istý","určitý","svätý","bohatý","čistý","zlatý","častý","postihnutý","zložitý","okolitý","žltý","dohodnutý","skrytý","hustý","okamžitý","zvyknutý","krutý","zahrnutý","vzniknutý","vyvinutý","dotknutý","rozhodnutý","rozmanitý","rozvinutý","pokrytý","krytý","opitý","tekutý","spätý","neistý","prostý","nepretržitý","osobitý","prevzatý","jedovatý","zapnutý","ukradnutý","mletý","ženatý","sprostý","trávnatý","uhličitý","maloletý","nevyužitý","prežitý","skalnatý","ponúknutý","rozbehnutý","vydatý","náležitý","napätý","pustý","prenajatý","zvládnutý","vypnutý","pracovitý","zasiahnutý","neurčitý","piesočnatý","šitý","šťavnatý","zamrznutý","posadnutý","posunutý","urcitý","listnatý","guľatý","nečistý","dutý","ihličnatý","chlpatý","nápaditý","zaujatý","nedotknutý","členitý","presunutý","menovitý","hranatý","odobratý","zamknutý","zdvihnutý","natiahnutý","rovinatý","zabehnutý","novovzniknutý","potiahnutý","odtrhnutý","hornatý","zamietnutý","vyzretý","opretý","kamenistý","kľukatý","svalnatý","zarytý","prehratý","zajatý","rozpačitý","pohnutý","rozkvitnutý","stojatý","húževnatý","zlatistý","opuchnutý","hmlistý","prekrytý","vychudnutý","napnutý","plnoletý","odumretý","očitý","dojatý","strapatý","korenistý","stuhnutý","ostnatý","neplnoletý","odetý","zákonitý","vyňatý","vyschnutý","obutý","ohnutý","vlnitý","nafúknutý","zapadnutý","vystretý","mäsitý","svedomitý","spadnutý","vytiahnutý","špicatý","znamenitý","nepoužitý","ostražitý","tretý","nekrytý","uzamknutý","tienistý","zovretý","nultý","tlstý","rázovitý","ľudnatý","pospolitý","hlasitý","vychladnutý","rozpadnutý","odňatý","pritiahnutý","nedožitý","klenutý","pretiahnutý","podlhovastý","dvojitý","zaťatý","podnapitý","prasknutý","prikrytý","padnutý","vypätý","podčiarknutý","roztiahnutý","svatý","mrzutý","kopcovitý","svahovitý","guľovitý","zásaditý","bradatý","zmrznutý","zubatý","pomletý","zaniknutý","zažitý","piesčitý","zahnutý","nasiaknutý","zhnitý","iný","posledný","jediný","vlastný","hlavný","pekný","povinný","určený","vhodný","schopný","plný","samotný","silný","pripravený","voľný","podobný","spokojný","pracovný","súčasný","presvedčený","uvedený","medzinárodný","osobný","spoločný","daný","národný","základný","úspešný","potrebný","neregistrovaný","rodinný","kvalitný","finančný","zodpovedný","šťastný","skutočný","pôvodný","dnešný","otvorený","zameraný","príjemný","ročný","bežný","životný","výborný","možný","stavebný","ochotný","významný","zdravotný","vnútorný","obyčajný","hudobný","duchovný","presný","jasný","verejný","vybavený","príslušný","priemerný","červený","výrazný","samostatný","spojený","odborný","výkonný","trestný","umiestnený","moderný","schválený","obchodný","cestovný","informačný","spomínaný","vytvorený","nádherný","dostatočný","oprávnený","mobilný","zelený","náročný","úžasný","obľúbený","jedinečný","prirodzený","prítomný","obecný","slušný","kompletný","prekvapený","dostupný","operačný","pevný","večný","dolný","zvýšený","výnimočný","krvný","stanovený","súkromný","konečný","vianočný","vážený","ústavný","úplný","obmedzený","považovaný","skúsený","platný","slobodný","vyrobený","tradičný","nebezpečný","verný","vodný","všeobecný","smutný","dopravný","letný","mesačný","prírodný","drevený","osobitný","komplexný","nočný","vzdialený","denný","farebný","okresný","študijný","účinný","volebný","policajný","používaný","jemný","záverečný","sklamaný","unavený","menovaný","pokojný","zaradený","rozšírený","poškodený","odlišný","pravidelný","poverený","rozdelený","bezpečný","územný","zahraničný","slnečný","nepríjemný","horný","jednotný","zásadný","inteligentný","opačný","zimný","dotyčný","vďačný","víťazný","stručný","každodenný","slávnostný","podrobný","imunitný","stredný","značný","akčný","šikovný","prístupný","výsledný","funkčný","tohtoročný","nevyhnutný","orientovaný","ostatný","nadšený","bezpečnostný","studený","štandardný","zverejnený","situovaný","plánovaný","ochranný","podstatný","dlhoročný","perfektný","cirkevný","takzvaný","zložený","nevhodný","úprimný","stolný","stabilný","požadovaný","čestný","anonymný","lacný","reklamný","úvodný","kontrolný","nasledovný","výrobný","zábavný","viditeľný","divadelný","písomný","predpokladaný","medziročný","lesný","odolný","registrovaný","prípadný","nešťastný","jednoznačný","spôsobený","chudobný","udržateľný","luxusný","zadný","rozumný","tanečný","organizačný","drobný","zranený","zasvätený","rovný","užitočný","investičný","milovaný","hodný","hladný","bezplatný","pripojený","nekonečný","zemný","elegantný","pomocný","zbytočný","priemyselný","pohodlný","obvodný","mocný","pitný","oblečený","neobmedzený","strávený","plnohodnotný","rodný","vzájomný","prípravný","zaznamenaný","kamenný","kompaktný","vstupný","zabudovaný","peňažný","skromný","mohutný","externý","výskumný","ohrozený","predný","reprezentačný","primeraný","herný","výhodný","strašný","ný","polovičný","nezabudnuteľný","invalidný","narodený","cenný","následný","opatrný","ocenený","ústredný","sprievodný","svadobný","prepracovaný","neuveriteľný","zákonný","variabilný","využívaný","zariadený","napojený","strieborný","nazvaný","tajný","komunikačný","novotný","západný","zachovaný","nenávratný","vzdelaný","kladný","poistený","dobrovoľný","ucelený","označovaný","komerčný","vydarený","dočasný","prihlásený","hrozný","vtipný","chladný","kontaktný","komplikovaný","znížený","záväzný","jarný","večerný","odvodený","pohlavný","obklopený","zamestnaný","dôstojný","odkázaný","liečebný","netradičný","celodenný","naivný","riadený","severný","falošný","náhodný","južný","prechodný","talentovaný","závažný","dvojnásobný","jubilejný","nominovaný","nedostatočný","telekomunikačný","nainštalovaný","použiteľný","dodávaný","súťažný","prispôsobený","pripravovaný","nespokojný","získaný","tajomný","financovaný","ponúkaný","výtvarný","svetelný","zmenený","položený","vykonaný","zmluvný","vyvážený","vysvätený","potvrdený","sprevádzaný","limitovaný","služobný","postupný","podporený","registračný","vrchný","nezamestnaný","obytný","zostavený","vyplnený","príbuzný","prezentovaný","duševný","podaný","nevinný","tepelný","priestranný","ľahostajný","pridelený","náučný","zaručený","pozoruhodný","rekordný","zaslaný","nahnevaný","platený","ľubovoľný","platobný","navrhovaný","volený","ozajstný","podporovaný","úradný","pozorný","záručný","predčasný","týždenný","prepojený","nutný","popredný","vymenovaný","pilotný","požehnaný","kombinovaný","redakčný","zubný","telesný","minuloročný","ranný","temný","realitný","vyriešený","neschopný","zázračný","revolučný","interný","parný","bočný","zbavený","cestný","čudný","urobený","šialený","animovaný","veľkonočný","nudný","predbežný","oslobodený","divný","hraničný","prenosný","kvalifikovaný","prvotný","motivačný","obžalovaný","záhradný","odovzdaný","podmienený","východný","dominantný","spätný","nákladný","nenápadný","jesenný","výchovný","predmetný","detailný","drsný","špecializovaný","obranný","prehľadný","vyhradený","pyšný","spustený","podpivničený","osadený","nečakaný","porovnateľný","prepustený","nadriadený","povolaný","ovocný","výmenný","vyčerpaný","obnovený","písaný","overený","konkurenčný","kompatibilný","neúspešný","starobný","konverzný","záchranný","totožný","zastúpený","kompetentný","spodný","obohatený","chutný","firemný","relevantný","navigačný","uvoľnený","nasadený","vyjadrený","čiastočný","pamätný","posvätný","uznaný","pomenovaný","očný","kontroverzný","flexibilný","všestranný","neskutočný","zapojený","kladený","spotrebný","oddelený","nákupný","prijateľný","vyvolený","vinný","vyrábaný","nájdený","rekreačný","chybný","nemenovaný","tučný","neviditeľný","poradný","skalný","celovečerný","naladený","zateplený","hmotný","colný","zamilovaný","polyfunkčný","knižný","podriadený","hraný","vymedzený","nastaviteľný","nedeľný","priložený","odstránený","uzatvorený","renesančný","pružný","regulačný","poháňaný","vstavaný","hodnotný","splnený","vzdušný","putovný","zatvorený","porazený","vytúžený","skrátený","stíhaný","knižničný","realizačný","zmiešaný","pokrstený","aplikovaný","motivovaný","testovaný","vnímaný","milosrdný","úsporný","vítaný","čarovný","zaslúžený","nezvyčajný","pokorný","neopakovateľný","protimonopolný","učebný","odhodlaný","nádejný","povestný","železničný","podporný","obsadený","zmätený","výstižný","oboznámený","skúšobný","nadmerný","ozbrojený","rodený","čitateľný","opozičný","železný","orientačný","zavraždený","zhodný","kvalifikačný","ukrižovaný","autorizovaný","ladený","odporúčaný","oddaný","ohromný","znechutený","šokovaný","predajný","nenáročný","smrteľný","činný","uväznený","objavený","sledovaný","nosný","vecný","arogantný","hradný","zdatný","vymyslený","ohraničený","počiatočný","zanedbateľný","radostný","zrozumiteľný","hybridný","usporiadaný","multifunkčný","univerzitný","palubný","naklonený","zadaný","predposledný","narušený","naozajstný","spasený","udržiavaný","zabalený","komorný","spáchaný","stabilizačný","záhadný","osamotený","stavaný","dobrodružný","nakrútený","izolovaný","zaťažený","žiadaný","reklamačný","sviatočný","premyslený","vyhotovený","bezprostredný","údajný","korektný","dvojročný","krstný","obdobný","vyvolaný","nezmenený","koncipovaný","dodatočný","opísaný","žitný","odoslaný","zachytený","všedný","evidovaný","jazdný","černý","vylepšený","zaplatený","porušený","nevšedný","odporný","prospešný","opakovaný","trojročný","prenesený","slovný","prerobený","charakterizovaný","začarovaný","sobotný","oplotený","transparentný","uskutočnený","certifikovaný","nekompromisný","hromadný","murovaný","toaletný","varovný","diaľničný","zavesený","neplatný","hnusný","zlomený","pokazený","opravný","kúpeľný","nejasný","zaľúbený","akceptovaný","servisný","sústredený","kožený","výstavný","nápomocný","bezmocný","mravný","zaskočený","kľudný","enormný","predaný","rastlinný","nepatrný","odhalený","spisovný","preplnený","oslabený","žalovaný","útočný","nadaný","smädný","voliteľný","satelitný","účtovný","záložný","brušný","predvolebný","pravdepodobný","benefičný","relaxačný","nižný","diskusný","vyslaný","komfortný","povýšený","zaužívaný","renomovaný","zaistený","vzkriesený","výstupný","poslušný","nežný","osobnostný","hľadaný","predurčený","nezmyselný","predvedený","poistný","upozornený","poľný","úložný","referenčný","robustný","nenahraditeľný","zhubný","bezchybný","dvojpodlažný","vyšný","nájomný","predkladaný","neškodný","celoročný","stabilizovaný","nefunkčný","záporný","súhrnný","opätovný","vznešený","zasadený","celoživotný","tolerantný","statočný","zmysluplný","sprístupnený","odmenený","textilný","zhotovený","strešný","konštantný","priznaný","vyradený","bojovný","vyvíjaný","zakopaný","permanentný","nevídaný","koaličný","odložený","teplotný","priebežný","rovnocenný","pripútaný","uvádzaný","obrátený","zreteľný","adresovaný","vymastený","kultivovaný","dlžný","vytlačený","blahoslavený","zverený","umožnený","percentný","prenasledovaný","zjavný","pozáručný","zaneprázdnený","chápaný","ubytovaný","nerozhodný","neautorizovaný","prerokovaný","vypredaný","vyzvaný","približný","nemožný","operný","zjednodušený","prezývaný","vyznačený","zvyšný","recyklačný","komunitný","trojnásobný","excelentný","zablokovaný","koncentrovaný","stlačený","jednosmerný","posilnený","jednostranný","neobyčajný","vymenený","totalitný","kúpený","garantovaný","zadržaný","neprijateľný","zrealizovaný","želaný","dôsledný","rýchlostný","robený","ručný","využiteľný","zachránený","nerušený","parlamentný","dedičný","predávaný","vysnívaný","vysielaný","rekonštruovaný","útulný","doživotný","ropný","propagačný","poučený","mastný","koncertný","aktivovaný","zberný","prerušený","otočený","civilný","šetrný"],{values:p}=o.languageProcessing,{Clause:u}=p,{getClausesSplitOnStopWords:m,createRegexFromArray:k}=o.languageProcessing,c={Clause:class extends u{constructor(n,e){super(n,e),this._participles=function(n){const e=v(n),o=new RegExp("(ný|ní|tý|ná|tá|né|té)$");return e.filter((n=>o.test(n)))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const n=this.getParticiples().filter((n=>!l.includes(n)));this.setPassive(n.length>0)}},regexes:{auxiliaryRegex:k(["byť","som","si","je","sme","ste","sú","bol","bola","boli","bolo","budem","budeš","bude","budeme","budete","budú"]),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi,stopwordRegex:k(a)}};function h(n){return m(n,c)}const z=window.lodash;function b(n,e){const o=e.externalStemmer.palatalEndingsRegexes.find((e=>new RegExp(e[0]).test(n)));return o?n.replace(new RegExp(o[0]),o[1]):n.slice(0,-1)}const j=function(n,e){for(const o of e)if(o[1].includes(n))return o[0];return null},f=function(n,e){for(const o of e)if(o.includes(n))return o[0];return null};const{baseStemmer:y}=o.languageProcessing;function g(n){const e=(0,z.get)(n.getData("morphology"),"sk",!1);return e?n=>function(n,e){const o=j(n,e.exceptionLists.exceptionStemsWithFullForms);return o||(n=function(n,e){const o=e.externalStemmer.caseSuffixes,a=e.externalStemmer.caseRegexes;if(n.length>7&&n.endsWith(o.caseSuffix1))return n.slice(0,-5);if(n.length>6&&n.endsWith(o.caseSuffix2))return b(n.slice(0,-3),e);if(n.length>5){if(o.caseSuffixes3.includes(n.slice(-3)))return b(n.slice(0,-2),e);if(o.caseSuffixes4.includes(n.slice(-3)))return n.slice(0,-3)}if(n.length>4){if(n.endsWith(o.caseSuffix5))return b(n.slice(0,-1),e);if(o.caseSuffixes6.includes(n.slice(-2)))return b(n.slice(0,-2),e);if(o.caseSuffixes7.includes(n.slice(-2)))return n.slice(0,-2)}if(n.length>3){if(new RegExp(a.caseRegex1).test(n))return b(n,e);if(new RegExp(a.caseRegex2).test(n))return n.slice(0,-1)}return n}(n,e),n=function(n,e){const o=e.externalStemmer.possessiveSuffixes;if(n.length>5){if(n.endsWith(o.posSuffixOv))return n.slice(0,-2);if(n.endsWith(o.posSuffixIn))return b(n.slice(0,-1),e)}return n}(n,e),n=function(n,e){const o=e.externalStemmer.superlativePrefix;return n.length>6&&n.startsWith(o)&&(n=n.slice(3,n.length)),n.length>5&&e.externalStemmer.comparativeSuffixes.includes(n.slice(-3))&&(n=b(n.slice(0,-2),e)),n}(n,e),n=function(n,e){const o=e.externalStemmer.diminutiveSuffixes;if(n.length>7&&n.endsWith(o.diminutiveSuffix1))return n.slice(0,-5);if(n.length>6){if(o.diminutiveSuffixes2.includes(n.slice(-4)))return b(n.slice(0,-3),e);if(o.diminutiveSuffixes3.includes(n.slice(-4)))return b(n.slice(0,-4),e)}if(n.length>5){if(o.diminutiveSuffixes4.includes(n.slice(-3)))return b(n.slice(0,-3),e);if(o.diminutiveSuffixes5.includes(n.slice(-3)))return n.slice(0,-3)}if(n.length>4){if(o.diminutiveSuffixes6.includes(n.slice(-2)))return b(n.slice(0,-1),e);if(o.diminutiveSuffixes7.includes(n.slice(-2)))return n.slice(0,-1)}return n.length>3&&n.endsWith("k")&&!n.endsWith("isk")?n.slice(0,-1):n}(n,e),n=function(n,e){const o=e.externalStemmer.augmentativeSuffixes;return n.length>6&&n.endsWith(o.augmentativeSuffix1)?n.slice(0,-4):n.length>5&&o.augmentativeSuffixes2.includes(n.slice(-3))?b(n.slice(0,-2),e):n}(n,e),n=function(n,e){const o=e.externalStemmer.derivationalSuffixes;if(n.length>8&&n.endsWith(o.derivationalSuffix1))return n.slice(0,-6);if(n.length>7){if(n.endsWith(o.derivationalSuffix2))return b(n.slice(0,-4),e);if(o.derivationalSuffixes3.includes(n.slice(-5)))return n.slice(0,-5)}if(n.length>6){if(o.derivationalSuffixes4.includes(n.slice(-4)))return n.slice(0,-4);if(o.derivationalSuffixes5.includes(n.slice(-4)))return b(n.slice(0,-3),e)}if(n.length>5){if(n.endsWith(o.derivationalSuffix6))return n.slice(0,-3);if(o.derivationalSuffixes7.includes(n.slice(-3)))return b(n.slice(0,-2),e);if(o.derivationalSuffixes8.includes(n.slice(-3)))return n.slice(0,-3)}if(n.length>4){if(o.derivationalSuffixes9.includes(n.slice(-2)))return n.slice(0,-2);if(o.derivationalSuffixes10.includes(n.slice(-2)))return b(n.slice(0,-1),e)}const a=new RegExp(e.externalStemmer.derivationalRegex);return n.length>3&&a.test(n)?n.slice(0,-1):n}(n,e),f(n,e.exceptionLists.stemsThatBelongToOneWord)||n)}(n,e):y}const{AbstractResearcher:x}=o.languageProcessing;class S extends x{constructor(n){super(n),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"sk",passiveConstructionType:"periphrastic",stopWords:a,functionWords:r,transitionWords:i,twoPartTransitionWords:s,firstWordExceptions:d}),Object.assign(this.helpers,{getClauses:h,getStemmer:g})}}(window.yoast=window.yoast||{}).Researcher=e})(); dist/languages/tr.js 0000644 00000207407 15174677550 0010473 0 ustar 00 (()=>{"use strict";var i={d:(e,r)=>{for(var a in r)i.o(r,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o:(i,e)=>Object.prototype.hasOwnProperty.call(i,e),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},e={};i.r(e),i.d(e,{default:()=>p});const r=window.yoast.analysis,a=["bunlar","şunlar","onlar”, “burası","orası","şurası","burayı","orayı","şurayı”, “buraya","oraya","şuraya”, “burada","orada","şurada”, “buradan","oradan","şuradan","bu","şu","o","bir","íki","üç","dört","beş","altı","yedi","sekiz","dokuz","on"],s=["fakat","halbuki","hatta","üstelik","ancak","oysa","sonuçta","yalnız","çünkü","oysaki","kısacası","özetle","böylelikle","ama","lakin","ayrıca","açıkcası","yani","sonucunda","böylece","kısaca","veya","veyahut","zira","öyleyse","sonrasında","ardından","vakıa","gerçi","karşın","tümüyle","bütünüyle","tamamıyla","genelde","diğer","başka","önce","öncesinde","sonra","yanısıra","ama","muhakkak","kesinlikle","şüphesiz","elbet","elbette","kuşkusuz","başlıca","bilakis","aksine","tersine","devamında","özellikle","bilhassa","nihayet","nihayetinde","neticede","ayrıyeten","dahası","çoğunlukla","genellikle","genelde","dolayısıyla","gelgelelim","aslında","doğrusu","mamafih","binaenaleyh","evvelce","önceden","şöylelikle","örneğin","mesela","nitekim","mademki","şimdi","halihazırda","i̇laveten","aynen","nazaran","nedeniyle","yüzünden","umumiyetle","ekseriye","amacıyla","gayesiyle","velhasıl","ezcümle","özetlersek","etraflıca","tafsilatlı","genişçe","bilfiil","filhakika","evvela","i̇lkin","en önce","birincisi","i̇kincisi","üçüncüsü","sonuncusu","tıpkı","topyekun","hem","kah","ister","ya","gerekse","sayesinde","sebebiyle","üzere","göre","uyarınca","halen","gerçekten","madem","yoksa"],t=s.concat(["o halde","bundan böyle","demek ki","ne yazık ki","görüldüğü gibi","i̇lk olarak","son olarak","ne var ki","buna rağmen","yine de","başka bir deyişle","açıklamak gerekirse","özetlemek gerekirse","kısaca söylemek gerekirse","görüldüğü gibi","ve bunun gibi","halbu ki","buna göre","ona göre","ek olarak","her ne kadar","velev ki","olmakla beraber","bile olsa","i̇le beaber","i̇le birlikte","her şeye rağmen","bütün yanlarıyla","bütün yönleriyle","ele alacak olursak","baştan sona","diğer bir","başka bir","daha önce","daha sonra","bundan başka","bunun yanında","bunun yanı sıra","bununla birlikte","buna ilaveten","bunun dışında","elbette ki","muhakkak ki","belli başlı","karşılaştırmak gerekirse","karşılaştırmalı olarak","aynı zamanda","sonuç olarak","diğer taraftan","diğer bir taraftan","buna karşılık","tam tersine","buna bağlı olarak","buna parelel olarak","i̇kinci olarak","üçüncü olarak","aynı derecede","eşit olarak","başta olmak üzere","en sonunda","açık bir şekilde","ana hatlarıyla","genel itibariyle","genel anlamda","genel olarak","bunun için","bu nedenle","bundan dolayı","bu sebeple","dolayısı ile","her halükarda","aynı biçimde","aynı şekilde","bu esnada","bu arada","hal böyleyken","bağlı kalmaksızın","açık olarak","belli ki","ayrıntılı olarak","bundan önce","sözün kısası","az ve öz bir şekilde","tüm ayrıntılarıyla","bu şekilde","o yüzden","bu sayede","buradan hareketle","buna mukabil","en önemlisi","her şeyden önce","esas olarak","hepsinden önce","hepsinden öte","hepsinden ötesi","her şeyin üzerinde","her şeyin ötesinde","hepsinden önemlisi","asıl önemlisi","her şeyi hesaba katarak","bütün olarak","her şey göz önüne alındığında","pararel olarak","diğer bir nokta","diğer açıdan","öyle ya da böyle","doğrusunu söylemek gerekirse","i̇şin doğrusu","aslına bakılırsa","gerçek şu ki","hattı zatında","aslına bakıldığında","aslına bakarsak","i̇şin aslı","sonuç itibariyle","örnek olarak","örneleyecek olursak","görülebileceği gibi","görülebileceği üzere","görüldüğü üzere","söylendiği gibi","söylenildiği gibi","söylediği gibi","söylediğim gibi","olduğu kadar","önceden belirtildiği gibi","önceden söylendiği gibi","yukarıda gösterildiği gibi","eninde sonunda","önünde sonunda","şu anda","bu sırada","bununla beraber","bu noktada","bunun ışığında","bunların ışığında","aşikar olarak","aynı sebeple","bir de","doğru da olsa","doğru bile olsa","öyle bile olsa","öyle de olsa","i̇le ilgili","olsa bile","eğer ki","olsa dahi","ondan dolayı","o sebepten dolayı","bu yüzden","onun için","esas itibarıyla","aynı sebepten dolayı","bu amaçla","zaman zaman","arada sırada","dönem dönem","arada bir","diyelim ki","farz edelim ki","farz edersek","kısaca söylecek olursak","tek kelimeyle","birkaç kelimeyle","sözün özü","en nihayetinde","uzun uzadıya","her iki durumda da","özü itibariyle","amacı ile","olması için","başka bir ifadeyle","diğer bir deyişle","i̇lk önce","bir yandan","bir taraftan","hatırlatmak gerekirse","bu bağlamda","gel gelelim","her şey hesaba katılırsa","bütüne bakıldığında","belirtildiği gibi","bir başka ifadeyle","lafı toparlamak gerekirse","bu düşünceyle","bu maksatla","bu doğrultuda","bu niyetle","ne de","ya da","aksi durumda","bu durum","olup olmadığı","diğer yandan","öte yandan","ne olursa olsun"]),n=function(i){let e=i;return i.forEach((r=>{(r=r.split("-")).length>0&&r.filter((e=>!i.includes(e))).length>0&&(e=e.concat(r))})),e}([].concat(["bir"],["i̇ki","üç","dört","beş","altı","yedi","sekiz","dokuz","on","on bir","on i̇ki","on üç","on dört","on beş","on altı","on yedi","on sekiz","on dokuz","yirmi","yirmi bir","yirmi i̇ki","yirmi üç","yirmi dört","yirmi beş","yirmi altı","yirmi yedi","yirmi sekiz","yirmi dokuz","otuz","kırk","elli","altmış","yetmiş","seksen","doksan","yüz","bin","milyon","milyar"],["birinci","i̇kinci","üçüncü","dördüncü","beşinci","altıncı","yedinci","sekizinci","dokuzuncu","onuncu"],["tam","yarım","çeyrek","üçte biri","üçte ikisi","tamamı","yarısı","çeyreği","üçte biri","üçte ikisi"],["ben","sen","o","biz","siz","onlar","beni","seni","onu","bizi","sizi","onları","bizleri","sizleri","bana","sana","ona","bize","size","onlara","bizlere","sizlere","bende","sende","onda","bizde","sizde","onlarda","bizlerde","sizlerde","benden","senden","ondan","bizden","sizden","onlardan","bizlerden","sizlerden","benim","senin","onun","bizim","sizin","onların","bizlerin","sizlerin","bu","şu","o","öteki","beriki","bura","şura","ora","burası","şurası","orası","böylesi","şöylesi","öylesi","bunlar","şunlar","onlar","ötekiler","berikiler","buralar","şuralar","oralar","birbiri","birbirimiz","birbiriniz","birbirleri","birbirimizi","birbirinizi","birbirlerini","birbirimize","birbirinize","birbirlerine","birbirimizde","birbirinizde","birbirlerinde","birbirimizden","birbirinizden","birbirlerinden","birbirimizle","birbirinizle","birbirleriyle"],["kim","kimi","kime","kimde","kimden","kimin","kiminle","ne","neyi","neyde","neyden","neyle","ne için","niçin","niye","ne diye","nere","nereyi","nereye","nerede","nereden","neresi","neden","hangi","hangisi","kaç","kaçı","kaçıncı","kaçta","nasıl","ne kadar","ne zaman","mı","hangi","hangisi","kimler","kimleri","kimlere","kimlerde","kimlerden","neler","neleri","nelere","nelerde","nelerden","hangiler","hangileri","hangilere"],["hepsi","bazısı","çoğu","birçoğu","birazı","hepsi","bütünü","yeteri kadarı","birkaçı","biri","her ikisi","i̇kisinden biri","hiç biri","diğeri","tümü","bir kısmı","pek çoğu","her biri","bazı","çok","çoğu","birçok","biraz","bütün","yeteri kadar","birkaç","bir","her iki","hiç bir","diğer","tüm","bir kısım","pek çok","her bir"],["kendi","kendim","kendimi","kendime","kendimde","kendimden","kendin","kendini","kendine","kendinde","kendinden","kendisi","kendiyle","kendileri","kendilerine","kendilerinde","kendilerinden","kendileriyle"],["kimi","kimse","biri","birisi","başkası","bazısı","bir çoğu","bir takımı","birkaçı","birazı","herkes","hepsi","hepimiz","hiçbiri","herhangi biri","her biri","şey","falan","filan","falanca","öteberi","tümü","bütünü","kimileri","kimseler","birileri","başkaları","bazıları","bir çokları","herkesler"],["i̇çin","gibi","kadar","ancak","yalnız","i̇le","sadece","sanki","değil","üzere","dair","karşın","rağmen","özgü","doğru","dek","değin","ait","beri","başka","itibaren","dolayı","ötürü","adeta","sırf","diye","tek","karşı"],["ve","i̇le","veya","ya da","yahut","veyahut","ama","fakat","lakin","yalnız","ancak","oysa","oysaki","halbu ki","ne var ki","çünkü","zira","de","da","ki","meğer","madem","mademki","demek","demek ki","üstelik","hatta","yani","hem...hem","hem de","ne","kah","i̇ster","ister","açıkcası","bile","ya","da","ise","öyleyse","kim bilir","gerek","gerekse de","ta ki","zati"],["demek","dedim","dedin","dedi","dedik","dediniz","dediler","der","söylemek","söyledim","söyledin","söyledi","söyledik","söylediniz","söylediler","söyler","söylerler","sormak","sordum","sordun","sordu","sorduk","sordunuz","sordular","sorar","sorarlar","belirtmek","belirttim","belirttin","belirtti","belirttik","belirttiniz","belirttiler","belirtir","belirtirler","açıklamak","açıkladım","açıkladın","açıkladı","açıkladık","açıkladınız","açıkladılar","açıklar","açıklarlar","düşünmek","düşündüm","düşündün","düşündü","düşündük","düşündünüz","düşündüler","düşünür","düşünürler","konuşmak","konuşdum","konuştun","konuştu","konuştuk","konuştunuz","konuştular","konuşur","konuşurlar","bildirmek","bildirdim","bildirdin","bildirdi","bildirdik","bildirdiniz","bildirdiler","birdirir","bildirirler","ele","almak","aldım","aldın","aldı","aldık","aldınız","aldılar","önermek","önerdim","önerdin","önerdi","önerdik","önerdiniz","önerdiler","önerir","önerirler","anlamak","anladım","anladın","anladı","anladık","anladınız","anladılar","anlar","anlarlar"],["en","daha","pek çok","en çok","fazla","epey","epeyce","bayağı","oldukça","pek","gayet","fazlaca","fevkalede","tamamen","fena halde","fena şekilde","gerçekten","zerre kadar","biraz","son derece","deli gibi","en","çok","azıcık"],["etmek","olmak","yapmak","kalmak","gelmek","kalmak","bulunmak","demek","dilemek","söylemek","durmak","eylemek","yazmak","durmak","vermek","kabul","teşekkür","memnun","seyir","zan","bilmek"],["yeni","eski","önceki","i̇yi","büyük","küçük","kolay","zor","hızlı","yavaş","yüksek","alçak","kısa","uzun","i̇nce","kalın","gerçek","yalan","yanlış","basit","zor","aynı","farklı","belli","belirsiz","modern","geleneksel","muhtemel","yaygın","genç","yaşlı","zamansız","acı","tatlı","tuzlu","sıcak","soğuk","kalabalık","sakin","yalnız","dar","geniş","siyah","beyaz","mavi","kırmızı","sarı","temiz","kirli","muhteşem","nazik","kibar","akıllı","zeki","gizli","açık","kapalı","dikkatli","gürültülü","sevinçli","eski","önce","i̇yi","büyük","küçük","kolay","zor","hızlı","yavaş","yüksek","alçak","kısa","uzun","i̇nce","kalın","gerçek","yanlış","basit","zor","aynı","farklı","belli","belirsiz","modern","geleneksel","muhtemel","yaygın","nadir","genç","yaşlı","zamansız","acı","tatlı","tuzlu","sıcak","soğuk","kalabalık","sakin","yalnız","dar","geniş","siyah","beyaz","mavi","kırmızı","sarı","temiz","kirli","muhteşem","nazik","kibar","akıllı","zeki","gizli","açık","kapalı","dikkatle","gürültülü","uzun","sevinçle","aşağı","yukarı","sağa","sola","i̇çeri dışarı","bugün","yarın","haftaya","seneye","ne zaman","nereye","neden","niye","ne kadar","nasıl","ne"],["ey","hey","bre","hişt","şşt","ah","ahh","ee","vay","i̇mdat","hah","ay","aa","aaa","hay allah","aman","aman dikkat","vah","ya","yaa","ooo","of","tüh","peh","aman","haydi","sakın","yuh"],["çay kaşığı","çay k.","yemek kaşığı","yemek k.","tatlı kaşığı","tatlı k.","çay bardağı","çay b.","su bardağı","su b.","kahve fincanı","kahve f.","tepeleme","tepeleme kaşık","tepeleme bardak","gr","ml","kg","mg","cl","oz","çeyrek","tam","yarım","üçte biri","üçte ikisi","parmak"],["saniye","saniyeler","dakika","dakikalar","saat","saatler","gün","günler","hafta","haftalar","ay","aylar","yıl","yıllar","bugün","yarın","dün","sabah","öğlen","akşam","gece","gündüz"],["şey","şeyler","olasılık","çeşit","kişi"],["hapşu","hapşırık","hapşurmak","horr","horultu","horlamak","şırıl","şırıltı","şırıldamak","hışır","hışırtı","hışırdamak","gıcır","gıcırtı","gıcırdamak","çatır","çatırtı","çatırdamak","pat","patlamak","vın","vınlamak","zırr","zırıltı","zırlamak","tık","tıkırtı","tıkırdamak","çıt","çıtırtı","çıtırdamak","fokur","fokurtu","fokurdamak","kıt","kıtırtı","kıtırdamak","patırtı"],["bayan","bay","hanımefendi","hanfendi","hanım","beyefendi","beyfendi","bey","sayın","profesör","prof.","doktor","dr."],s)),h=[["ne","ne"],["gerek","gerek"],["olsun","olmasın"]],o={recommendedLength:15,percentages:{slightlyTooMany:20,farTooMany:25}},l=window.lodash;class u{get b(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$b")?this._$esjava$b:this._$esjava$b=""}set b(i){this._$esjava$b=i}length$esjava$0(){return this.b.length}replace$esjava$3(i,e,r){if(0===i&&e===this.b.length)this.b=r;else{const a=this.b.substring(0,i),s=this.b.substring(e);this.b=a+r+s}}substring$esjava$2(i,e){return this.b.substring(i,e)}charAt$esjava$1(i){return this.b.charCodeAt(i)}subSequence$esjava$2(i,e){throw new Error("NotImpl: CharSequence::subSequence")}toString$esjava$0(){return this.b}length(...i){return 0===i.length?this.length$esjava$0(...i):super.length(...i)}replace(...i){return 3===i.length?this.replace$esjava$3(...i):super.replace(...i)}substring(...i){return 2===i.length?this.substring$esjava$2(...i):super.substring(...i)}charAt(...i){return 1===i.length?this.charAt$esjava$1(...i):super.charAt(...i)}subSequence(...i){return 2===i.length?this.subSequence$esjava$2(...i):super.subSequence(...i)}toString(...i){return 0===i.length?this.toString$esjava$0(...i):super.toString(...i)}}class m{static toCharArray$esjava$1(i){const e=i.length,r=new Array(e);for(let a=0;a<e;a++)r[a]=i.charCodeAt(a);return r}constructor(i,e,r,a,s){this.s_size=i.length,this.s=m.toCharArray$esjava$1(i),this.substring_i=e,this.result=r,this.methodobject=s,this.method=a?s[a]:null}get s_size(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$s_size")?this._$esjava$s_size:this._$esjava$s_size=0}set s_size(i){this._$esjava$s_size=i}get s(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$s")?this._$esjava$s:this._$esjava$s=null}set s(i){this._$esjava$s=i}get substring_i(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$substring_i")?this._$esjava$substring_i:this._$esjava$substring_i=0}set substring_i(i){this._$esjava$substring_i=i}get result(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$result")?this._$esjava$result:this._$esjava$result=0}set result(i){this._$esjava$result=i}get method(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$method")?this._$esjava$method:this._$esjava$method=null}set method(i){this._$esjava$method=i}get methodobject(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$methodobject")?this._$esjava$methodobject:this._$esjava$methodobject=null}set methodobject(i){this._$esjava$methodobject=i}}class _{constructor(){this.current=new u,this.setCurrent$esjava$1("")}setCurrent$esjava$1(i){this.current.replace(0,this.current.length(),i),this.cursor=0,this.limit=this.current.length(),this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit}getCurrent$esjava$0(){const i=this.current.toString();return this.current=new u,i}get current(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$current")?this._$esjava$current:this._$esjava$current=null}set current(i){this._$esjava$current=i}get cursor(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$cursor")?this._$esjava$cursor:this._$esjava$cursor=0}set cursor(i){this._$esjava$cursor=i}get limit(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$limit")?this._$esjava$limit:this._$esjava$limit=0}set limit(i){this._$esjava$limit=i}get limit_backward(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$limit_backward")?this._$esjava$limit_backward:this._$esjava$limit_backward=0}set limit_backward(i){this._$esjava$limit_backward=i}get bra(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$bra")?this._$esjava$bra:this._$esjava$bra=0}set bra(i){this._$esjava$bra=i}get ket(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$ket")?this._$esjava$ket:this._$esjava$ket=0}set ket(i){this._$esjava$ket=i}copy_from$esjava$1(i){this.current=i.current,this.cursor=i.cursor,this.limit=i.limit,this.limit_backward=i.limit_backward,this.bra=i.bra,this.ket=i.ket}in_grouping$esjava$3(i,e,r){if(this.cursor>=this.limit)return!1;let a=this.current.charAt(this.cursor);return!(a>r||a<e||(a-=e,0==(i[a>>3]&1<<(7&a))||(this.cursor++,0)))}in_grouping_b$esjava$3(i,e,r){if(this.cursor<=this.limit_backward)return!1;let a=this.current.charAt(this.cursor-1);return!(a>r||a<e||(a-=e,0==(i[a>>3]&1<<(7&a))||(this.cursor--,0)))}out_grouping$esjava$3(i,e,r){if(this.cursor>=this.limit)return!1;let a=this.current.charAt(this.cursor);return a>r||a<e?(this.cursor++,!0):(a-=e,0==(i[a>>3]&1<<(7&a))&&(this.cursor++,!0))}out_grouping_b$esjava$3(i,e,r){if(this.cursor<=this.limit_backward)return!1;let a=this.current.charAt(this.cursor-1);return a>r||a<e?(this.cursor--,!0):(a-=e,0==(i[a>>3]&1<<(7&a))&&(this.cursor--,!0))}in_range$esjava$2(i,e){if(this.cursor>=this.limit)return!1;const r=this.current.charAt(this.cursor);return!(r>e||r<i||(this.cursor++,0))}in_range_b$esjava$2(i,e){if(this.cursor<=this.limit_backward)return!1;const r=this.current.charAt(this.cursor-1);return!(r>e||r<i||(this.cursor--,0))}out_range$esjava$2(i,e){if(this.cursor>=this.limit)return!1;const r=this.current.charAt(this.cursor);return(r>e||r<i)&&(this.cursor++,!0)}out_range_b$esjava$2(i,e){if(this.cursor<=this.limit_backward)return!1;const r=this.current.charAt(this.cursor-1);return(r>e||r<i)&&(this.cursor--,!0)}eq_s$esjava$2(i,e){if(this.limit-this.cursor<i)return!1;let r;for(r=0;r!==i;r++)if(this.current.charAt(this.cursor+r)!==e.charCodeAt(r))return!1;return this.cursor+=i,!0}eq_s_b$esjava$2(i,e){if(this.cursor-this.limit_backward<i)return!1;let r;for(r=0;r!==i;r++)if(this.current.charAt(this.cursor-i+r)!==e.charCodeAt(r))return!1;return this.cursor-=i,!0}eq_v$esjava$1(i){return this.eq_s$esjava$2(i.length(),i.toString())}eq_v_b$esjava$1(i){return this.eq_s_b$esjava$2(i.length(),i.toString())}find_among$esjava$2(i,e){let r=0,a=e;const s=this.cursor,t=this.limit;let n=0,h=0,o=!1;for(;;){const e=r+(a-r>>1);let l=0,u=n<h?n:h;const m=i[e];let _;for(_=u;_<m.s_size;_++){if(s+u===t){l=-1;break}if(l=this.current.charAt(s+u)-m.s[_],0!==l)break;u++}if(l<0?(a=e,h=u):(r=e,n=u),a-r<=1){if(r>0)break;if(a===r)break;if(o)break;o=!0}}for(;;){const e=i[r];if(n>=e.s_size){if(this.cursor=s+e.s_size,null===e.method)return e.result;let i;if(i=e.method.call(e.methodobject),this.cursor=s+e.s_size,i)return e.result}if(r=e.substring_i,r<0)return 0}}find_among_b$esjava$2(i,e){let r=0,a=e;const s=this.cursor,t=this.limit_backward;let n=0,h=0,o=!1;for(;;){const e=r+(a-r>>1);let l=0,u=n<h?n:h;const m=i[e];let _;for(_=m.s_size-1-u;_>=0;_--){if(s-u===t){l=-1;break}if(l=this.current.charAt(s-1-u)-m.s[_],0!==l)break;u++}if(l<0?(a=e,h=u):(r=e,n=u),a-r<=1){if(r>0)break;if(a===r)break;if(o)break;o=!0}}for(;;){const e=i[r];if(n>=e.s_size){if(this.cursor=s-e.s_size,null===e.method)return e.result;let i;if(i=e.method.call(e.methodobject),this.cursor=s-e.s_size,i)return e.result}if(r=e.substring_i,r<0)return 0}}replace_s$esjava$3(i,e,r){const a=r.length-(e-i);return this.current.replace(i,e,r),this.limit+=a,this.cursor>=e?this.cursor+=a:this.cursor>i&&(this.cursor=i),a}slice_check$esjava$0(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>this.current.length())throw new Error("Snowball: faulty slice operation")}slice_from$esjava$1(i){this.slice_check$esjava$0(),this.replace_s$esjava$3(this.bra,this.ket,i)}slice_del$esjava$0(){this.slice_from$esjava$1("")}insert$esjava$3(i,e,r){const a=this.replace_s$esjava$3(i,e,r);i<=this.bra&&(this.bra+=a),i<=this.ket&&(this.ket+=a)}slice_to$esjava$1(i){return this.slice_check$esjava$0(),i.replace(0,i.length(),this.current.substring(this.bra,this.ket)),i}setCurrent(...i){return 1===i.length?this.setCurrent$esjava$1(...i):super.setCurrent(...i)}getCurrent(...i){return 0===i.length?this.getCurrent$esjava$0(...i):super.getCurrent(...i)}copy_from(...i){return 1===i.length?this.copy_from$esjava$1(...i):super.copy_from(...i)}in_grouping(...i){return 3===i.length?this.in_grouping$esjava$3(...i):super.in_grouping(...i)}in_grouping_b(...i){return 3===i.length?this.in_grouping_b$esjava$3(...i):super.in_grouping_b(...i)}out_grouping(...i){return 3===i.length?this.out_grouping$esjava$3(...i):super.out_grouping(...i)}out_grouping_b(...i){return 3===i.length?this.out_grouping_b$esjava$3(...i):super.out_grouping_b(...i)}in_range(...i){return 2===i.length?this.in_range$esjava$2(...i):super.in_range(...i)}in_range_b(...i){return 2===i.length?this.in_range_b$esjava$2(...i):super.in_range_b(...i)}out_range(...i){return 2===i.length?this.out_range$esjava$2(...i):super.out_range(...i)}out_range_b(...i){return 2===i.length?this.out_range_b$esjava$2(...i):super.out_range_b(...i)}eq_s(...i){return 2===i.length?this.eq_s$esjava$2(...i):super.eq_s(...i)}eq_s_b(...i){return 2===i.length?this.eq_s_b$esjava$2(...i):super.eq_s_b(...i)}eq_v(...i){return 1===i.length?this.eq_v$esjava$1(...i):super.eq_v(...i)}eq_v_b(...i){return 1===i.length?this.eq_v_b$esjava$1(...i):super.eq_v_b(...i)}find_among(...i){return 2===i.length?this.find_among$esjava$2(...i):super.find_among(...i)}find_among_b(...i){return 2===i.length?this.find_among_b$esjava$2(...i):super.find_among_b(...i)}replace_s(...i){return 3===i.length?this.replace_s$esjava$3(...i):super.replace_s(...i)}slice_check(...i){return 0===i.length?this.slice_check$esjava$0(...i):super.slice_check(...i)}slice_from(...i){return 1===i.length?this.slice_from$esjava$1(...i):super.slice_from(...i)}slice_del(...i){return 0===i.length?this.slice_del$esjava$0(...i):super.slice_del(...i)}insert(...i){return 3===i.length?this.insert$esjava$3(...i):super.insert(...i)}slice_to(...i){return 1===i.length?this.slice_to$esjava$1(...i):super.slice_to(...i)}}class k extends _{stem$esjava$0(){throw"NotImpl < stem$esjava$0 >"}stem(...i){return 0===i.length?this.stem$esjava$0(...i):super.stem(...i)}}class c extends k{constructor(i){super(),c.morphologyData=i.externalStemmer}static get methodObject(){return delete c.methodObject,c.methodObject=null}static get a_0(){return delete c.a_0,c.a_0=[new m(c.morphologyData.a_0.SuffixM,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixN,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixMiz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixNiz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixMuz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixNuz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixMuzDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixNuzDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixMizUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_0.SuffixNizUndotted,-1,-1,"",c.methodObject)]}static get a_1(){return delete c.a_1,c.a_1=[new m(c.morphologyData.a_1.SuffixLeri,-1,-1,"",c.methodObject),new m(c.morphologyData.a_1.SuffixLariUndotted,-1,-1,"",c.methodObject)]}static get a_2(){return delete c.a_2,c.a_2=[new m(c.morphologyData.a_2.SuffixNi,-1,-1,"",c.methodObject),new m(c.morphologyData.a_2.SuffixNu,-1,-1,"",c.methodObject),new m(c.morphologyData.a_2.SuffixNuDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_2.SuffixNiUndotted,-1,-1,"",c.methodObject)]}static get a_3(){return delete c.a_3,c.a_3=[new m(c.morphologyData.a_3.SuffixInDotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_3.SuffixUn,-1,-1,"",c.methodObject),new m(c.morphologyData.a_3.SuffixUnDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_3.SuffixInUndotted,-1,-1,"",c.methodObject)]}static get a_4(){return delete c.a_4,c.a_4=[new m(c.morphologyData.a_4.SuffixA,-1,-1,"",c.methodObject),new m(c.morphologyData.a_4.SuffixE,-1,-1,"",c.methodObject)]}static get a_5(){return delete c.a_5,c.a_5=[new m(c.morphologyData.a_5.SuffixNa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_5.SuffixNe,-1,-1,"",c.methodObject)]}static get a_6(){return delete c.a_6,c.a_6=[new m(c.morphologyData.a_6.SuffixDa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_6.SuffixTa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_6.SuffixDe,-1,-1,"",c.methodObject),new m(c.morphologyData.a_6.SuffixTe,-1,-1,"",c.methodObject)]}static get a_7(){return delete c.a_7,c.a_7=[new m(c.morphologyData.a_7.SuffixNda,-1,-1,"",c.methodObject),new m(c.morphologyData.a_7.SuffixNde,-1,-1,"",c.methodObject)]}static get a_8(){return delete c.a_8,c.a_8=[new m(c.morphologyData.a_8.SuffixDan,-1,-1,"",c.methodObject),new m(c.morphologyData.a_8.SuffixTan,-1,-1,"",c.methodObject),new m(c.morphologyData.a_8.SuffixDen,-1,-1,"",c.methodObject),new m(c.morphologyData.a_8.SuffixTen,-1,-1,"",c.methodObject)]}static get a_9(){return delete c.a_9,c.a_9=[new m(c.morphologyData.a_9.SuffixNdan,-1,-1,"",c.methodObject),new m(c.morphologyData.a_9.SuffixNden,-1,-1,"",c.methodObject)]}static get a_10(){return delete c.a_10,c.a_10=[new m(c.morphologyData.a_10.SuffixLa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_10.SuffixLe,-1,-1,"",c.methodObject)]}static get a_11(){return delete c.a_11,c.a_11=[new m(c.morphologyData.a_11.SuffixCa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_11.SuffixCe,-1,-1,"",c.methodObject)]}static get a_12(){return delete c.a_12,c.a_12=[new m(c.morphologyData.a_12.SuffixImDotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_12.SuffixUm,-1,-1,"",c.methodObject),new m(c.morphologyData.a_12.SuffixUmDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_12.SuffixImUndotted,-1,-1,"",c.methodObject)]}static get a_13(){return delete c.a_13,c.a_13=[new m(c.morphologyData.a_13.SuffixSin,-1,-1,"",c.methodObject),new m(c.morphologyData.a_13.SuffixSun,-1,-1,"",c.methodObject),new m(c.morphologyData.a_13.SuffixSunDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_13.SuffixSinUndotted,-1,-1,"",c.methodObject)]}static get a_14(){return delete c.a_14,c.a_14=[new m(c.morphologyData.a_14.SuffixIzDotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_14.SuffixUz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_14.SuffixUzDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_14.SuffixIzUndotted,-1,-1,"",c.methodObject)]}static get a_15(){return delete c.a_15,c.a_15=[new m(c.morphologyData.a_15.SuffixSiniz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_15.SuffixSunuz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_15.SuffixSunuzDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_15.SuffixSinizUndotted,-1,-1,"",c.methodObject)]}static get a_16(){return delete c.a_16,c.a_16=[new m(c.morphologyData.a_16.SuffixLar,-1,-1,"",c.methodObject),new m(c.morphologyData.a_16.SuffixLer,-1,-1,"",c.methodObject)]}static get a_17(){return delete c.a_17,c.a_17=[new m(c.morphologyData.a_17.SuffixNiz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_17.SuffixNuz,-1,-1,"",c.methodObject),new m(c.morphologyData.a_17.SuffixNuzDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_17.SuffixNizUndotted,-1,-1,"",c.methodObject)]}static get a_18(){return delete c.a_18,c.a_18=[new m(c.morphologyData.a_18.SuffixDir,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixTir,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixDur,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixTur,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixDurDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixTurDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixDirUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_18.SuffixTirUndotted,-1,-1,"",c.methodObject)]}static get a_19(){return delete c.a_19,c.a_19=[new m(c.morphologyData.a_19.SuffixCasinaUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_19.SuffixCesine,-1,-1,"",c.methodObject)]}static get a_20(){return delete c.a_20,c.a_20=[new m(c.morphologyData.a_20.SuffixDi,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTi,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDik,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTik,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDuk,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTuk,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDukDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTukDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDikUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTikUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDim,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTim,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDum,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTum,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDumDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTumDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDimUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTimUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDin,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTin,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDun,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTun,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDunDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTunDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDinUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTinUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDu,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTu,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDuDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTuDieresis,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixDiUndotted,-1,-1,"",c.methodObject),new m(c.morphologyData.a_20.SuffixTiUndotted,-1,-1,"",c.methodObject)]}static get a_21(){return delete c.a_21,c.a_21=[new m(c.morphologyData.a_21.SuffixSa,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSe,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSak,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSek,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSam,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSem,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSan,-1,-1,"",c.methodObject),new m(c.morphologyData.a_21.SuffixSen,-1,-1,"",c.methodObject)]}static get a_22(){return delete c.a_22,c.a_22=[new m(c.morphologyData.a_22.SuffixMisCedilla,-1,-1,"",c.methodObject),new m(c.morphologyData.a_22.SuffixMusCedilla,-1,-1,"",c.methodObject),new m(c.morphologyData.a_22.SuffixMusDieresisCedilla,-1,-1,"",c.methodObject),new m(c.morphologyData.a_22.SuffixMisUndottedCedilla,-1,-1,"",c.methodObject)]}static get a_23(){return delete c.a_23,c.a_23=[new m(c.morphologyData.a_23.SuffixB,-1,1,"",c.methodObject),new m(c.morphologyData.a_23.SuffixC,-1,2,"",c.methodObject),new m(c.morphologyData.a_23.SuffixD,-1,3,"",c.methodObject),new m(c.morphologyData.a_23.SuffixGSoft,-1,4,"",c.methodObject)]}static get g_vowel(){return delete c.g_vowel,c.g_vowel=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,8,0,0,0,0,0,0,1]}static get g_U(){return delete c.g_U,c.g_U=[1,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,1]}static get g_vowel1(){return delete c.g_vowel1,c.g_vowel1=[1,64,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]}static get g_vowel2(){return delete c.g_vowel2,c.g_vowel2=[17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130]}static get g_vowel3(){return delete c.g_vowel3,c.g_vowel3=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]}static get g_vowel4(){return delete c.g_vowel4,c.g_vowel4=[17]}static get g_vowel5(){return delete c.g_vowel5,c.g_vowel5=[65]}static get g_vowel6(){return delete c.g_vowel6,c.g_vowel6=[65]}get B_continue_stemming_noun_suffixes(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$B_continue_stemming_noun_suffixes")?this._$esjava$B_continue_stemming_noun_suffixes:this._$esjava$B_continue_stemming_noun_suffixes=!1}set B_continue_stemming_noun_suffixes(i){this._$esjava$B_continue_stemming_noun_suffixes=i}get I_strlen(){return Object.prototype.hasOwnProperty.call(this,"_$esjava$I_strlen")?this._$esjava$I_strlen:this._$esjava$I_strlen=0}set I_strlen(i){this._$esjava$I_strlen=i}r_check_vowel_harmony$esjava$0(){let i,e,r,a,s,t,n,h,o,l,u;i=this.limit-this.cursor;i:for(;;){e=this.limit-this.cursor;e:do{if(!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break e;this.cursor=this.limit-e;break i}while(0);if(this.cursor=this.limit-e,this.cursor<=this.limit_backward)return!1;this.cursor--}i:do{r=this.limit-this.cursor;e:do{if(!this.eq_s_b$esjava$2(1,"a"))break e;r:for(;;){a=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel1,97,305))break a;this.cursor=this.limit-a;break r}while(0);if(this.cursor=this.limit-a,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"e"))break e;r:for(;;){s=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel2,101,252))break a;this.cursor=this.limit-s;break r}while(0);if(this.cursor=this.limit-s,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"ı"))break e;r:for(;;){t=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel3,97,305))break a;this.cursor=this.limit-t;break r}while(0);if(this.cursor=this.limit-t,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"i"))break e;r:for(;;){n=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel4,101,105))break a;this.cursor=this.limit-n;break r}while(0);if(this.cursor=this.limit-n,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"o"))break e;r:for(;;){h=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel5,111,117))break a;this.cursor=this.limit-h;break r}while(0);if(this.cursor=this.limit-h,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"ö"))break e;r:for(;;){o=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel6,246,252))break a;this.cursor=this.limit-o;break r}while(0);if(this.cursor=this.limit-o,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);this.cursor=this.limit-r;e:do{if(!this.eq_s_b$esjava$2(1,"u"))break e;r:for(;;){l=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel5,111,117))break a;this.cursor=this.limit-l;break r}while(0);if(this.cursor=this.limit-l,this.cursor<=this.limit_backward)break e;this.cursor--}break i}while(0);if(this.cursor=this.limit-r,!this.eq_s_b$esjava$2(1,"ü"))return!1;e:for(;;){u=this.limit-this.cursor;r:do{if(!this.in_grouping_b$esjava$3(c.g_vowel6,246,252))break r;this.cursor=this.limit-u;break e}while(0);if(this.cursor=this.limit-u,this.cursor<=this.limit_backward)return!1;this.cursor--}}while(0);return this.cursor=this.limit-i,!0}r_mark_suffix_with_optional_n_consonant$esjava$0(){let i,e,r,a,s,t,n;i:do{i=this.limit-this.cursor;e:do{if(e=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"n"))break e;if(this.cursor=this.limit-e,this.cursor<=this.limit_backward)break e;if(this.cursor--,r=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break e;this.cursor=this.limit-r;break i}while(0);this.cursor=this.limit-i,a=this.limit-this.cursor;e:do{if(s=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"n"))break e;return this.cursor=this.limit-s,!1}while(0);if(this.cursor=this.limit-a,t=this.limit-this.cursor,this.cursor<=this.limit_backward)return!1;if(this.cursor--,n=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))return!1;this.cursor=this.limit-n,this.cursor=this.limit-t}while(0);return!0}r_mark_suffix_with_optional_s_consonant$esjava$0(){let i,e,r,a,s,t,n;i:do{i=this.limit-this.cursor;e:do{if(e=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"s"))break e;if(this.cursor=this.limit-e,this.cursor<=this.limit_backward)break e;if(this.cursor--,r=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break e;this.cursor=this.limit-r;break i}while(0);this.cursor=this.limit-i,a=this.limit-this.cursor;e:do{if(s=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"s"))break e;return this.cursor=this.limit-s,!1}while(0);if(this.cursor=this.limit-a,t=this.limit-this.cursor,this.cursor<=this.limit_backward)return!1;if(this.cursor--,n=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))return!1;this.cursor=this.limit-n,this.cursor=this.limit-t}while(0);return!0}r_mark_suffix_with_optional_y_consonant$esjava$0(){let i,e,r,a,s,t,n;i:do{i=this.limit-this.cursor;e:do{if(e=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"y"))break e;if(this.cursor=this.limit-e,this.cursor<=this.limit_backward)break e;if(this.cursor--,r=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break e;this.cursor=this.limit-r;break i}while(0);this.cursor=this.limit-i,a=this.limit-this.cursor;e:do{if(s=this.limit-this.cursor,!this.eq_s_b$esjava$2(1,"y"))break e;return this.cursor=this.limit-s,!1}while(0);if(this.cursor=this.limit-a,t=this.limit-this.cursor,this.cursor<=this.limit_backward)return!1;if(this.cursor--,n=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_vowel,97,305))return!1;this.cursor=this.limit-n,this.cursor=this.limit-t}while(0);return!0}r_mark_suffix_with_optional_U_vowel$esjava$0(){let i,e,r,a,s,t,n;i:do{i=this.limit-this.cursor;e:do{if(e=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_U,105,305))break e;if(this.cursor=this.limit-e,this.cursor<=this.limit_backward)break e;if(this.cursor--,r=this.limit-this.cursor,!this.out_grouping_b$esjava$3(c.g_vowel,97,305))break e;this.cursor=this.limit-r;break i}while(0);this.cursor=this.limit-i,a=this.limit-this.cursor;e:do{if(s=this.limit-this.cursor,!this.in_grouping_b$esjava$3(c.g_U,105,305))break e;return this.cursor=this.limit-s,!1}while(0);if(this.cursor=this.limit-a,t=this.limit-this.cursor,this.cursor<=this.limit_backward)return!1;if(this.cursor--,n=this.limit-this.cursor,!this.out_grouping_b$esjava$3(c.g_vowel,97,305))return!1;this.cursor=this.limit-n,this.cursor=this.limit-t}while(0);return!0}r_mark_possessives$esjava$0(){return 0!==this.find_among_b$esjava$2(c.a_0,10)&&!!this.r_mark_suffix_with_optional_U_vowel$esjava$0()}r_mark_sU$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&!!this.in_grouping_b$esjava$3(c.g_U,105,305)&&!!this.r_mark_suffix_with_optional_s_consonant$esjava$0()}r_mark_lArI$esjava$0(){return 0!==this.find_among_b$esjava$2(c.a_1,2)}r_mark_yU$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&!!this.in_grouping_b$esjava$3(c.g_U,105,305)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_nU$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_2,4)}r_mark_nUn$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_3,4)&&!!this.r_mark_suffix_with_optional_n_consonant$esjava$0()}r_mark_yA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_4,2)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_nA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_5,2)}r_mark_DA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_6,4)}r_mark_ndA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_7,2)}r_mark_DAn$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_8,4)}r_mark_ndAn$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_9,2)}r_mark_ylA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_10,2)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_ki$esjava$0(){return!!this.eq_s_b$esjava$2(2,"ki")}r_mark_ncA$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_11,2)&&!!this.r_mark_suffix_with_optional_n_consonant$esjava$0()}r_mark_yUm$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_12,4)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_sUn$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_13,4)}r_mark_yUz$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_14,4)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_sUnUz$esjava$0(){return 0!==this.find_among_b$esjava$2(c.a_15,4)}r_mark_lAr$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_16,2)}r_mark_nUz$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_17,4)}r_mark_DUr$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_18,8)}r_mark_cAsInA$esjava$0(){return 0!==this.find_among_b$esjava$2(c.a_19,2)}r_mark_yDU$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_20,32)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_ysA$esjava$0(){return 0!==this.find_among_b$esjava$2(c.a_21,8)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_ymUs_$esjava$0(){return!!this.r_check_vowel_harmony$esjava$0()&&0!==this.find_among_b$esjava$2(c.a_22,4)&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_mark_yken$esjava$0(){return!!this.eq_s_b$esjava$2(3,"ken")&&!!this.r_mark_suffix_with_optional_y_consonant$esjava$0()}r_stem_nominal_verb_suffixes$esjava$0(){let i,e,r,a,s,t,n,h,o,l;this.ket=this.cursor,this.B_continue_stemming_noun_suffixes=!0;i:do{i=this.limit-this.cursor;e:do{r:do{e=this.limit-this.cursor;a:do{if(!this.r_mark_ymUs_$esjava$0())break a;break r}while(0);this.cursor=this.limit-e;a:do{if(!this.r_mark_yDU$esjava$0())break a;break r}while(0);this.cursor=this.limit-e;a:do{if(!this.r_mark_ysA$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-e,!this.r_mark_yken$esjava$0())break e}while(0);break i}while(0);this.cursor=this.limit-i;e:do{if(!this.r_mark_cAsInA$esjava$0())break e;r:do{r=this.limit-this.cursor;a:do{if(!this.r_mark_sUnUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-r;a:do{if(!this.r_mark_lAr$esjava$0())break a;break r}while(0);this.cursor=this.limit-r;a:do{if(!this.r_mark_yUm$esjava$0())break a;break r}while(0);this.cursor=this.limit-r;a:do{if(!this.r_mark_sUn$esjava$0())break a;break r}while(0);this.cursor=this.limit-r;a:do{if(!this.r_mark_yUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-r}while(0);if(!this.r_mark_ymUs_$esjava$0())break e;break i}while(0);this.cursor=this.limit-i;e:do{if(!this.r_mark_lAr$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),a=this.limit-this.cursor;r:do{this.ket=this.cursor;a:do{s=this.limit-this.cursor;s:do{if(!this.r_mark_DUr$esjava$0())break s;break a}while(0);this.cursor=this.limit-s;s:do{if(!this.r_mark_yDU$esjava$0())break s;break a}while(0);this.cursor=this.limit-s;s:do{if(!this.r_mark_ysA$esjava$0())break s;break a}while(0);if(this.cursor=this.limit-s,!this.r_mark_ymUs_$esjava$0()){this.cursor=this.limit-a;break r}}while(0)}while(0);this.B_continue_stemming_noun_suffixes=!1;break i}while(0);this.cursor=this.limit-i;e:do{if(!this.r_mark_nUz$esjava$0())break e;r:do{t=this.limit-this.cursor;a:do{if(!this.r_mark_yDU$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-t,!this.r_mark_ysA$esjava$0())break e}while(0);break i}while(0);this.cursor=this.limit-i;e:do{r:do{n=this.limit-this.cursor;a:do{if(!this.r_mark_sUnUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-n;a:do{if(!this.r_mark_yUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-n;a:do{if(!this.r_mark_sUn$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-n,!this.r_mark_yUm$esjava$0())break e}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),h=this.limit-this.cursor;r:do{if(this.ket=this.cursor,!this.r_mark_ymUs_$esjava$0()){this.cursor=this.limit-h;break r}}while(0);break i}while(0);if(this.cursor=this.limit-i,!this.r_mark_DUr$esjava$0())return!1;this.bra=this.cursor,this.slice_del$esjava$0(),o=this.limit-this.cursor;e:do{this.ket=this.cursor;r:do{l=this.limit-this.cursor;a:do{if(!this.r_mark_sUnUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-l;a:do{if(!this.r_mark_lAr$esjava$0())break a;break r}while(0);this.cursor=this.limit-l;a:do{if(!this.r_mark_yUm$esjava$0())break a;break r}while(0);this.cursor=this.limit-l;a:do{if(!this.r_mark_sUn$esjava$0())break a;break r}while(0);this.cursor=this.limit-l;a:do{if(!this.r_mark_yUz$esjava$0())break a;break r}while(0);this.cursor=this.limit-l}while(0);if(!this.r_mark_ymUs_$esjava$0()){this.cursor=this.limit-o;break e}}while(0)}while(0);return this.bra=this.cursor,this.slice_del$esjava$0(),!0}r_stem_suffix_chain_before_ki$esjava$0(){let i,e,r,a,s,t,n,h,o,l,u;if(this.ket=this.cursor,!this.r_mark_ki$esjava$0())return!1;i:do{i=this.limit-this.cursor;e:do{if(!this.r_mark_DA$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),e=this.limit-this.cursor;r:do{this.ket=this.cursor;a:do{r=this.limit-this.cursor;s:do{if(!this.r_mark_lAr$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0(),a=this.limit-this.cursor;t:do{if(!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-a;break t}}while(0);break a}while(0);if(this.cursor=this.limit-r,!this.r_mark_possessives$esjava$0()){this.cursor=this.limit-e;break r}this.bra=this.cursor,this.slice_del$esjava$0(),s=this.limit-this.cursor;s:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-s;break s}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-s;break s}}while(0)}while(0)}while(0);break i}while(0);this.cursor=this.limit-i;e:do{if(!this.r_mark_nUn$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),t=this.limit-this.cursor;r:do{this.ket=this.cursor;a:do{n=this.limit-this.cursor;s:do{if(!this.r_mark_lArI$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0();break a}while(0);this.cursor=this.limit-n;s:do{this.ket=this.cursor;t:do{h=this.limit-this.cursor;n:do{if(!this.r_mark_possessives$esjava$0())break n;break t}while(0);if(this.cursor=this.limit-h,!this.r_mark_sU$esjava$0())break s}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),o=this.limit-this.cursor;t:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-o;break t}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-o;break t}}while(0);break a}while(0);if(this.cursor=this.limit-n,!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-t;break r}}while(0)}while(0);break i}while(0);if(this.cursor=this.limit-i,!this.r_mark_ndA$esjava$0())return!1;e:do{l=this.limit-this.cursor;r:do{if(!this.r_mark_lArI$esjava$0())break r;this.bra=this.cursor,this.slice_del$esjava$0();break e}while(0);this.cursor=this.limit-l;r:do{if(!this.r_mark_sU$esjava$0())break r;this.bra=this.cursor,this.slice_del$esjava$0(),u=this.limit-this.cursor;a:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-u;break a}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-u;break a}}while(0);break e}while(0);if(this.cursor=this.limit-l,!this.r_stem_suffix_chain_before_ki$esjava$0())return!1}while(0)}while(0);return!0}r_stem_noun_suffixes$esjava$0(){let i,e,r,a,s,t,n,h,o,l,u,m,_,k,c,d,b,$,f,y,g,j,v,w,p,z,D;i:do{i=this.limit-this.cursor;e:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),e=this.limit-this.cursor;r:do{if(!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-e;break r}}while(0);break i}while(0);this.cursor=this.limit-i;e:do{if(this.ket=this.cursor,!this.r_mark_ncA$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),r=this.limit-this.cursor;r:do{a:do{a=this.limit-this.cursor;s:do{if(this.ket=this.cursor,!this.r_mark_lArI$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0();break a}while(0);this.cursor=this.limit-a;s:do{this.ket=this.cursor;t:do{s=this.limit-this.cursor;n:do{if(!this.r_mark_possessives$esjava$0())break n;break t}while(0);if(this.cursor=this.limit-s,!this.r_mark_sU$esjava$0())break s}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),t=this.limit-this.cursor;t:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-t;break t}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-t;break t}}while(0);break a}while(0);if(this.cursor=this.limit-a,this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-r;break r}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-r;break r}}while(0)}while(0);break i}while(0);this.cursor=this.limit-i;e:do{this.ket=this.cursor;r:do{n=this.limit-this.cursor;a:do{if(!this.r_mark_ndA$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-n,!this.r_mark_nA$esjava$0())break e}while(0);r:do{h=this.limit-this.cursor;a:do{if(!this.r_mark_lArI$esjava$0())break a;this.bra=this.cursor,this.slice_del$esjava$0();break r}while(0);this.cursor=this.limit-h;a:do{if(!this.r_mark_sU$esjava$0())break a;this.bra=this.cursor,this.slice_del$esjava$0(),o=this.limit-this.cursor;s:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-o;break s}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-o;break s}}while(0);break r}while(0);if(this.cursor=this.limit-h,!this.r_stem_suffix_chain_before_ki$esjava$0())break e}while(0);break i}while(0);this.cursor=this.limit-i;e:do{this.ket=this.cursor;r:do{l=this.limit-this.cursor;a:do{if(!this.r_mark_ndAn$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-l,!this.r_mark_nU$esjava$0())break e}while(0);r:do{u=this.limit-this.cursor;a:do{if(!this.r_mark_sU$esjava$0())break a;this.bra=this.cursor,this.slice_del$esjava$0(),m=this.limit-this.cursor;s:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-m;break s}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-m;break s}}while(0);break r}while(0);if(this.cursor=this.limit-u,!this.r_mark_lArI$esjava$0())break e}while(0);break i}while(0);this.cursor=this.limit-i;e:do{if(this.ket=this.cursor,!this.r_mark_DAn$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0(),_=this.limit-this.cursor;r:do{this.ket=this.cursor;a:do{k=this.limit-this.cursor;s:do{if(!this.r_mark_possessives$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0(),c=this.limit-this.cursor;t:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-c;break t}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-c;break t}}while(0);break a}while(0);this.cursor=this.limit-k;s:do{if(!this.r_mark_lAr$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0(),d=this.limit-this.cursor;t:do{if(!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-d;break t}}while(0);break a}while(0);if(this.cursor=this.limit-k,!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-_;break r}}while(0)}while(0);break i}while(0);this.cursor=this.limit-i;e:do{this.ket=this.cursor;r:do{b=this.limit-this.cursor;a:do{if(!this.r_mark_nUn$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-b,!this.r_mark_ylA$esjava$0())break e}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),$=this.limit-this.cursor;r:do{a:do{f=this.limit-this.cursor;s:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0())break s;if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0())break s;break a}while(0);this.cursor=this.limit-f;s:do{this.ket=this.cursor;t:do{y=this.limit-this.cursor;n:do{if(!this.r_mark_possessives$esjava$0())break n;break t}while(0);if(this.cursor=this.limit-y,!this.r_mark_sU$esjava$0())break s}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),g=this.limit-this.cursor;t:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-g;break t}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-g;break t}}while(0);break a}while(0);if(this.cursor=this.limit-f,!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-$;break r}}while(0)}while(0);break i}while(0);this.cursor=this.limit-i;e:do{if(this.ket=this.cursor,!this.r_mark_lArI$esjava$0())break e;this.bra=this.cursor,this.slice_del$esjava$0();break i}while(0);this.cursor=this.limit-i;e:do{if(!this.r_stem_suffix_chain_before_ki$esjava$0())break e;break i}while(0);this.cursor=this.limit-i;e:do{this.ket=this.cursor;r:do{j=this.limit-this.cursor;a:do{if(!this.r_mark_DA$esjava$0())break a;break r}while(0);this.cursor=this.limit-j;a:do{if(!this.r_mark_yU$esjava$0())break a;break r}while(0);if(this.cursor=this.limit-j,!this.r_mark_yA$esjava$0())break e}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),v=this.limit-this.cursor;r:do{this.ket=this.cursor;a:do{w=this.limit-this.cursor;s:do{if(!this.r_mark_possessives$esjava$0())break s;this.bra=this.cursor,this.slice_del$esjava$0(),p=this.limit-this.cursor;t:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-p;break t}}while(0);break a}while(0);if(this.cursor=this.limit-w,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-v;break r}}while(0);if(this.bra=this.cursor,this.slice_del$esjava$0(),this.ket=this.cursor,!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-v;break r}}while(0);break i}while(0);this.cursor=this.limit-i,this.ket=this.cursor;e:do{z=this.limit-this.cursor;r:do{if(!this.r_mark_possessives$esjava$0())break r;break e}while(0);if(this.cursor=this.limit-z,!this.r_mark_sU$esjava$0())return!1}while(0);this.bra=this.cursor,this.slice_del$esjava$0(),D=this.limit-this.cursor;e:do{if(this.ket=this.cursor,!this.r_mark_lAr$esjava$0()){this.cursor=this.limit-D;break e}if(this.bra=this.cursor,this.slice_del$esjava$0(),!this.r_stem_suffix_chain_before_ki$esjava$0()){this.cursor=this.limit-D;break e}}while(0)}while(0);return!0}r_post_process_last_consonants$esjava$0(){let i;if(this.ket=this.cursor,i=this.find_among_b$esjava$2(c.a_23,4),0===i)return!1;switch(this.bra=this.cursor,i){case 0:return!1;case 1:this.slice_from$esjava$1("p");break;case 2:this.slice_from$esjava$1("ç");break;case 3:this.slice_from$esjava$1("t");break;case 4:this.slice_from$esjava$1("k")}return!0}r_append_U_to_stems_ending_with_d_or_g$esjava$0(){let i,e,r,a,s,t,n,h,o,l,u,m,_,k,d;i=this.limit-this.cursor;i:do{e=this.limit-this.cursor;e:do{if(!this.eq_s_b$esjava$2(1,"d"))break e;break i}while(0);if(this.cursor=this.limit-e,!this.eq_s_b$esjava$2(1,"g"))return!1}while(0);this.cursor=this.limit-i;i:do{r=this.limit-this.cursor;e:do{a=this.limit-this.cursor;r:for(;;){s=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break a;this.cursor=this.limit-s;break r}while(0);if(this.cursor=this.limit-s,this.cursor<=this.limit_backward)break e;this.cursor--}r:do{t=this.limit-this.cursor;a:do{if(!this.eq_s_b$esjava$2(1,"a"))break a;break r}while(0);if(this.cursor=this.limit-t,!this.eq_s_b$esjava$2(1,"ı"))break e}while(0);this.cursor=this.limit-a;{const i=this.cursor;this.insert$esjava$3(this.cursor,this.cursor,"ı"),this.cursor=i}break i}while(0);this.cursor=this.limit-r;e:do{n=this.limit-this.cursor;r:for(;;){h=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break a;this.cursor=this.limit-h;break r}while(0);if(this.cursor=this.limit-h,this.cursor<=this.limit_backward)break e;this.cursor--}r:do{o=this.limit-this.cursor;a:do{if(!this.eq_s_b$esjava$2(1,"e"))break a;break r}while(0);if(this.cursor=this.limit-o,!this.eq_s_b$esjava$2(1,"i"))break e}while(0);this.cursor=this.limit-n;{const i=this.cursor;this.insert$esjava$3(this.cursor,this.cursor,"i"),this.cursor=i}break i}while(0);this.cursor=this.limit-r;e:do{l=this.limit-this.cursor;r:for(;;){u=this.limit-this.cursor;a:do{if(!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break a;this.cursor=this.limit-u;break r}while(0);if(this.cursor=this.limit-u,this.cursor<=this.limit_backward)break e;this.cursor--}r:do{m=this.limit-this.cursor;a:do{if(!this.eq_s_b$esjava$2(1,"o"))break a;break r}while(0);if(this.cursor=this.limit-m,!this.eq_s_b$esjava$2(1,"u"))break e}while(0);this.cursor=this.limit-l;{const i=this.cursor;this.insert$esjava$3(this.cursor,this.cursor,"u"),this.cursor=i}break i}while(0);this.cursor=this.limit-r,_=this.limit-this.cursor;e:for(;;){k=this.limit-this.cursor;r:do{if(!this.in_grouping_b$esjava$3(c.g_vowel,97,305))break r;this.cursor=this.limit-k;break e}while(0);if(this.cursor=this.limit-k,this.cursor<=this.limit_backward)return!1;this.cursor--}e:do{d=this.limit-this.cursor;r:do{if(!this.eq_s_b$esjava$2(1,"ö"))break r;break e}while(0);if(this.cursor=this.limit-d,!this.eq_s_b$esjava$2(1,"ü"))return!1}while(0);this.cursor=this.limit-_;{const i=this.cursor;this.insert$esjava$3(this.cursor,this.cursor,"ü"),this.cursor=i}}while(0);return!0}r_more_than_one_syllable_word$esjava$0(){let i,e;i=this.cursor;{let i=2;i:for(;;){e=this.cursor;e:do{r:for(;;){a:do{if(!this.in_grouping$esjava$3(c.g_vowel,97,305))break a;break r}while(0);if(this.cursor>=this.limit)break e;this.cursor++}i--;continue i}while(0);this.cursor=e;break i}if(i>0)return!1}return this.cursor=i,!0}r_is_reserved_word$esjava$0(){let i,e,r;i:do{i=this.cursor;e:do{e=this.cursor;r:for(;;){a:do{if(!this.eq_s$esjava$2(2,"ad"))break a;break r}while(0);if(this.cursor>=this.limit)break e;this.cursor++}if(this.I_strlen=2,this.I_strlen!==this.limit)break e;this.cursor=e;break i}while(0);this.cursor=i,r=this.cursor;e:for(;;){r:do{if(!this.eq_s$esjava$2(5,"soyad"))break r;break e}while(0);if(this.cursor>=this.limit)return!1;this.cursor++}if(this.I_strlen=5,this.I_strlen!==this.limit)return!1;this.cursor=r}while(0);return!0}r_postlude$esjava$0(){let i,e,r;i=this.cursor;i:do{if(!this.r_is_reserved_word$esjava$0())break i;return!1}while(0);this.cursor=i,this.limit_backward=this.cursor,this.cursor=this.limit,e=this.limit-this.cursor;i:do{if(!this.r_append_U_to_stems_ending_with_d_or_g$esjava$0())break i}while(0);this.cursor=this.limit-e,r=this.limit-this.cursor;i:do{if(!this.r_post_process_last_consonants$esjava$0())break i}while(0);return this.cursor=this.limit-r,this.cursor=this.limit_backward,!0}stem$esjava$0(){let i,e;if(!this.r_more_than_one_syllable_word$esjava$0())return!1;this.limit_backward=this.cursor,this.cursor=this.limit,i=this.limit-this.cursor;i:do{if(!this.r_stem_nominal_verb_suffixes$esjava$0())break i}while(0);if(this.cursor=this.limit-i,!this.B_continue_stemming_noun_suffixes)return!1;e=this.limit-this.cursor;i:do{if(!this.r_stem_noun_suffixes$esjava$0())break i}while(0);return this.cursor=this.limit-e,this.cursor=this.limit_backward,!!this.r_postlude$esjava$0()}stem(...i){return 0===i.length?this.stem$esjava$0(...i):super.stem(...i)}}const d=c,{baseStemmer:b}=r.languageProcessing;function $(i){const e=(0,l.get)(i.getData("morphology"),"tr",!1);return e?i=>function(i,e){i=(i=i.toLowerCase()).replace("'","");const r=new d(e);return r.setCurrent(i),r.stem(),r.getCurrent()}(i,e):b}const f=["nmak","nmek","nir","nır","nür","nur","nıyor","niyor","ndı","ndi","ndu","ndü","nmış","nmiş","nmuş","nmüş","necek","nacak","nmıştı","nmişti","nmuştu","nmüştü","nıyordu","niyordu","nuyordu","nüyordu","necekti","nacaktı","nsa","nse","nmalı","nmeli","nmaz","nmez","anmak","enmek","ınmak","inmek","unmak","ünmek","anır","enir","ınır","inir","unur","ünür","anıyor","eniyor","ınıyor","iniyor","unuyor","ünüyor","andı","endi","ındı","indi","undu","ündü","anmış","enmiş","ınmış","inmiş","unmuş","ünmüş","anacak","enecek","ınacak","inecek","unacak","ünecek","ınmıştı","inmişti","unmuştu","ünmüştü","ınıyordu","iniyordu","unuyordu","ünüyordu","necekti","nacaktı","ansa","ense","ınsa","inse","unsa","ünse","anmalı","enmeli","ınmalı","inmeli","unmalı","ünmeli","anmaz","enmez","ınmaz","inmez","unmaz","ünmez","ılmak","ilmek","ulmak","ülmek","ılır","ilir","ulur","ülür","ılınıyor","iliniyor","ulunuyor","ülüyor","ıldı","ildi","uldu","üldü","ılmış","ilmiş","ulmuş","ülmül","ılacak","ilecek","ulacak","ülecek","ılmıştı","ilmişti","ulmuştu","ülmüştü","ılıyordu","iliyordu","uluyordu","ülüyordu","necekti","nacaktı","ılsa","ilse","ulsa","ülse","ılmalı","ilmeli","ulmalı","ülmeli","ılmaz","ilmez","ulmaz","ülmez"],y=["kullanmak","ulanmak","bağlanmak","alınmak","boşanmak","kaçınmak","hazırlanmak","olunmak","sığınmak","taşınmak","arlanmak","sakınmak","zanmak","tırmanmak","i̇nanmak","arınmak","kullanmak","isınmak","yıkanmak","öğrenmek","öğrenmek","düşünmek","renmek","düşünmek","ünmek","dönmek","değinmek","eğlenmek","lenmek","öğünmek","deyinmek","örenmek","görünmek","öğrenmek","güvenmek","beğenmek","sünmek","geçinmek","tükenmek","kabullenmek","öğrenmek","kabullenmek","sinir","peynir","münir","alınır","kazanır","yorumlanır","kullanır","uygulanır","dayanır","sağlanır","i̇nanır","özenir","elenir","öğrenir","tersinir","yaşanır","toplanır","tanır","senir","rastlanır","renir","münir","kaynaklanır","bağlanır","hazırlanır","güvenir","enir","söylenir","başlanır","davranır","kapanır","oynanır","uzanır","tanımlanır","tanınır","souvenir","öğrenir","taşınır","konteyner","uyanır","beğenir","hesaplanır","sanır","saklanır","yakalanır","aranır","algılanır","hoşlanır","karşılanır","tamamlanır","münir","yayınlanır","yıkanır","tekrarlanır","atanır","bir","karasenir","i̇ndüklenir","zorlanır","avenir","erdenir","kas-sinir","utanır","üstenir","katlanır","beyazpeynir","şekillenir","sonuçlanır","doğranır","narin","faydalanır","kilinir","hızlanır","yararlanır","kutlanır","saptanır","nedendir","kalınır","ayarlanır","kıskanır","hastalanır","suvenir","yapılabilinir","canlanır","ekillenir","hacklenir","haşlanır","sonuçlanır","resetlenir","beğenir","açıklanır","programming-sinir","i̇sindir","odaklanır","pionir","çalınır","peynir","tutuklanır","sınır","taşımalık","anır","kanır","adanır","lanır","ültanır","rastlanır","haktanır","güneysınır","i̇nanır","açılır-kapanır","sağlanır","tanrı tanır","bağlanır","tanır","yansır","kullanır","açıklanır","dizaynır","düşünür","görünür","siyanür","dünür","düşünür","ünür","çürür","ömür","nür","öğünür","onur","aynur","i̇lknur","ayşenur","öznur","konur","binnur","alinur","gülnur","hükmolunur","atanur","rıza nur","yurdanur","şennur","fatmanur","şennur","zinnur","adanur","semanur","elanur","düşünür","baykonur","edanur","göknur","günnur","beyzanur","görünür","nisanur","saynur","mecnur","lunur","stem","cemalnur","i̇lknur","aynur","elnur","addolunur","ayşenur","birnur","sedanur","alanur","esmanur","elifnur","şahnur","aydanur","senanur","ecenur","havvanur","bozunur","bennur","en-nur","tennur","konur","reddolunur","sondur","olunur","şeymanur","şerefnur","fernur","stem","ceynur","zeynur","gökçenur","mervenur","ernur","sonunur","biyobozunur","şemsinur","haşrolunur","incinur","lanıyor","kulanıyor","nıyor","rastlanıyor","kullanıyor","kaynaklanıyor","kazanıyor","yaşanıyor","alınıyor","i̇nanıyor","tanıyor","hazırlanıyor","dayanıyor","söyleniyor","sanıyor","uygulanıyor","yanıyor","eleniyor","davranıyor","aranıyor","öğreniyor","sağlanıyor","kapanıyor","zorlanıyor","tanınıyor","kombinleniyor","yayınlanıyor","oynanıyor","beğeniyor","uyanıyor","planlanıyor","toplanıyor","reniyor","niyor","öğreniyor","bağlanıyor","uzanıyor","algılanıyor","söyleniyor","tanımlanıyor","vurgulanıyor","karşılanıyor","kınıyor","saklanıyor","başlanıyor","yükleniyor","sıralanıyor","alındı","kendi","pazubandı","nındı","irgandı","yapsındı","yarabandı","açıklandı","bağlandı","kendi","efendi","beyefendi","hanımefendi","i̇kindi","hocaefendi","hindi","bindi","gandi","nakşibendi","selendi","beyefendi","bondi","alindi","kazandı","veliefendi","hanendi","hacklendi","burundi","kullandı","i̇vrindi","başlandı","yasandı","lendi","yayınlandı","andı","merkezefendi","demirhindi","vivendi","grandi","ögrendi","aczmendi","mundi","kapandı","hanendi","kandil","i̇nsandı","çinhindi","randi","yandı","şimdi","semerkant","açıklandı","ravalpindi","tamamlandı","kadınefendi","landi","brendi","beğendi","gecekondu","hindu","soundu","katmandu","kundu","olsundu","poundu","katmandu","duşundu","emrolundu","vahyolundu","hindu","lundu","candu","roundu","göründü","paundu","fırdöndü","düşündü","fondü","üründü","gündöndü","mumsöndü","kendü","i̇nanmış","ınmış","i̇spatlanmış","nınmış","bağlanmış","hazırlanmış","lenmiş","hacklenmiş","öğrenmiş","i̇ndüklenmiş","sinterlenmiş","begenmiş","alinmiş","kombinlenmiş","lânetlenmiş","editlenmiş","yenmiş","temperlenmiş","beyenmiş","kazanmiş","olsunmuş","emrolunmuş","lunmuş","yunmuş","özüdönmüş","söylenecek","düşünecek","öğrenecek","lenecek","düşünecek","düzenlenecek","öğrenecek","renecek","nacak","alınacak","lanacak","kazanmıştı","lenmişti","emrolunmuştu","i̇nanıyordu","kullanıyordu","tanıyordu","dayanıyordu","görünüyordu","düşünüyordu","nuyordu","düşünüyordu","ünüyordu","fransa","floransa","lufthansa","prensa","yakınsa","konsa","hansa","sansa","mensa","türkiye-fransa","türbülansa","ofansa","hiltonsa","almanya-fransa","yünsa","jinsa","ınsa","nınsa","winsa","hünsa","extensa","demansa","fıransa","advansa","tnsa","ingiltere-fransa","ambiyansa","ünsa","rönesansa","cheonsa","malpensa","densa","finanse","ense","lanse","adsense","response","defense","sübvanse","pense","intense","expense","alphonse","kompanse","mumkunse","odense","fluminense","ninse","offense","intellisense","nonsense","anse","pfsense","immense","gorunse","hernedense","danse","mightyadsense","hisense","hortense","adriaanse","süspanse","önmeli","ögrenmeli","taşınmaz","kuşkonmaz","sınmaz","alınmaz","taşınmaz","lanmaz","osanmaz","hoşlanmaz","sönmez","dönmez","bölünmez","ersönmez","dönmez","görünmez","üşenmez","sönmez","görünmez","yinmez","sönmez","kullanmak","bağlanmak","boşanmak","hazırlanmak","öğrenmek","öğrenmek","renmek","eğlenmek","lenmek","örenmek","öğrenmek","sığınmak","değinmek","deyinmek","düşünmek","erişilebilir","güvenilir","aktarabilecek"],g=["sevi","giyi","gezi","ayrı","tıka","ayrı","sarı","övü","boşa","besle","kırı","soyu","yıka","süsle","içle","besle","tara","çeki","çözü","hazırla","üzü","yıkı","yıka","kovu","sıkı","söyle","kaçı","kapa","kası","koru","sarsı","sığı","kurula","yakı","yoru","taşı","uza","takı","yala","atı","iyileş","sinirle","dövü"],{getWords:j}=r.languageProcessing;function v(i){let e=j(i).filter((i=>i.length>5));return e=e.filter((i=>!y.includes(i))),e=function(i){return i.filter((i=>g.some((e=>f.some((function(r){return!new RegExp("^"+e+r+"$").test(i)}))))))}(e),e.some((i=>f.some((e=>i.endsWith(e)))))}const{AbstractResearcher:w}=r.languageProcessing;class p extends w{constructor(i){super(i),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"tr",passiveConstructionType:"morphological",firstWordExceptions:a,functionWords:n,transitionWords:t,twoPartTransitionWords:h,sentenceLength:o}),Object.assign(this.helpers,{getStemmer:$,isPassiveSentence:v})}}(window.yoast=window.yoast||{}).Researcher=e})(); dist/languages/ru.js 0000644 00001160062 15174677550 0010470 0 ustar 00 (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>Y});const r=window.yoast.analysis,n=["один","одна","одно","два","две","три","четыре","пять","шесть","семь","восемь","девять","десять","этот","этого","этому","этим","этом","эта","этой","эту","это","этого","этому","эти","этих","этим","этими","тот","того","тому","тем","том","та","той","ту","те","тех","тем","теми","тех","такой","такого","такому","таким","такая","такую","такое","такие","таких","таким","такими","стольких","стольким","столько","столькими","вот"],s=["безусловно","бесспорно","вероятно","вестимо","вдобавок","видимо","вишь","во-вторых","во-первых","вообще-то","впрочем","дабы","едва","ежели","если","затем ","зачем","ибо","итак","так","кабы","кажется","кажись","коли","кстати","лишь","лучше","наверно","наверное","например","небось","нежели","несомненно","но","однако","особенно","оттого","отчего","поди","пожалуй","позволь","позвольте","покамест","покуда","поскольку","потому","притом","причем","только","хотя","чтоб","чтобы","чуть","якобы"],o=s.concat(["а вдобавок","а вот","а именно","а не то","а не","а потом","а также","без всякого сомнения","без того чтобы не","без того, чтобы не","благодаря тому","более того","будто бы","будь то","буквально","в итоге","в конце концов","в общей сложности","в общем-то","в общем","в отношении того что","в отношении того, что","в принципе","в противовес тому что","в противовес тому, что","в противоположность тому","в результате","в самом деле","в свою очередь","в связи с тем что","в связи с тем","в силу того что","в силу того","в силу чего","в случа","в сравнении с тем","в сущности говоря","в сущности","в таком случае","в то время как","в то время, как","в том случае","в частности","в-третьих","ввиду того","вернее говоря","вероятнее всего","видите ли","видишь ли","вместе с тем","вместо того","вне всякого сомнения","вне сомнения","во всяком случае","воля ваша","воля твоя","вообще говоря","вопреки тому","вплоть до того","вроде того как","вроде того что","вроде того","вроде того","вследствие того что","вследствие чего","грубо говоря","да еще","да и то","дай бог память","даром что","для того чтобы","для того, чтобы","до тех пор пока","до тех пор, пока","до того как","до того, как","едва лишь","едва только","ежели бы","если угодно","жалко, что","жаль, что","за счет того что","за счет того, что","знамо дело","и вот еще","из-за того что","из-за того, что","иначе говоря","исходя из того","к вашему сведению","к несчастью","к огорчению","к примеру сказать","к примеру","к прискорбию","к радости","к слову сказать","к сожалению","к стыду своему","к стыду","к счастью","к твоему сведению","к тому же","к удивлению","к ужасу","к чести","как будто","как бы там ни было","как бы то ни было","как бы","как вам известно","как вдруг","как видите","как видишь","как видно","как водится","как выяснилось","как выясняется","как говорилось","как говорится","как если бы","как знать","как известно","как на заказ","как назло","как нарочно","как ни говори","как ни говорите","как ни странно","как оказалось","как оказывается","как полагается","как положено","как правило","как принято говорить","как принято","как сказано","как скоро","как следствие","как словно","как только","как хотите","как это ни странно","ко всему прочему","коль скоро","коль уж","коротко говоря","короче говоря","кроме всего прочего","кстати говоря","кстати сказать","лишь бы","лишь только","мало сказать","мало того","между нами говоря","между прочим","между тем как","может статься","можно подумать","мягко выражаясь","мягко говоря","на беду","на ваш взгляд","на мой взгляд","на несчастье","на основании того что","на основании того, что","на первый взгляд","на самом деле","на случай","на твой взгляд","на худой конец","надо полагать","наряду с тем что","наряду с тем","насчет того что","насчет того, что","не в пример тому как","не в пример тому, как","не то чтобы","невзирая на то","независимо от того","несмотря на то","ничего не скажешь","но вообще-то","кроме того","однако же","откровенно сказать","относительно того что","относительно того, что","перед тем","по вашему мнению","по видимости","по всей вероятности","по всей видимости","по данным","по замыслу","по идее","по крайней мере","по мере того как","по мере того, как","по мнению","по моему мнению","по обыкновению","по обычаю","по определению","по поводу того","по правде говоря","по правде сказать","по правде","по преданию","по причине того","по прогнозам","по сведениям","по своему обыкновению","по слухам","по совести говоря","по совести сказать","по совести","по сообщению","по сообщениям","по справедливости говоря","по справедливости","по сравнению","по статистике","по сути говоря","по сути дела","по сути","по существу говоря","по существу","по счастью","по твоему мнению","по чести говоря","по чести признаться","по чести сказать","по-вашему","по-видимому","по-ихнему","по-моему","по-нашему","по-твоему","под видом того что","под видом того, что","под предлогом","подобно тому","подумать только","помимо всего прочего","помимо всего","помимо того","помимо того","помимо этого","понятное дело","попросту говоря","попросту сказать","после того","потому как","потому что","правду говоря","правду сказать","правильнее говоря","прежде всего","прежде нежели","прежде чем","при всем том","при условии что","при условии, что","против обыкновения","проще говоря","проще сказать","прямо-таки как","пускай бы","равно как","ради того чтобы","разве что","разумеется","с вашего позволения","с вашего разрешения","с другой стороны","с моей точки зрения","с одной стороны","с позволения сказать","с твоего позволения","с твоего разрешения","с тем чтобы","с тех пор как","с той целью чтобы","с точки зрения","само собой разумеется","сверх того что","сверх того","сказать по правде","сказать по совести","сказать по чести","скорее всего","смотря по тому","со своей стороны","собственно говоря","совсем как","стало быть","стоит отметить","строго говоря","судя по всему","судя по тому","так или иначе","так как","так что","так чтобы","тем более что","тем не менее","тем паче что","то бишь","то есть","тогда как","только бы","только лишь","только чуть","точнее говоря","точнее сказать","точно так же","что и говорить","что ни говори","что ни говорите","чуть лишь","чуть только","шутка ли сказать","шутка ли","шутка сказать","это значит, что"]);function i(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}const c=["быть","был","была","было","были","будет","будут"],a=["мочь","мог","могла","могли","могу","можешь","может","можем","можете","могут","смочь","смогу","сможешь","сможет","сможем","сможете","смогут","решиться","решился","решилась","решились","решусь","решишься","решится","решимся","решитесь","решатся","делать","делал","делала","делало","делали","делали","делаю","делаешь","делает","делаем","делаете","делают","сделать","сделал","сделала","сделало","сделали","сделали","сделаю","сделаешь","сделает","сделаем","сделаете","сделают","иметь","имел","имела","имело","имели","имею","имеешь","имеет","имеем","имеете","имеют","следует","следовало","необходимо","необходим","необходима","необходимы","нужно","нужен","нужна","обязан","обязана","обязано","обязаны","должен","должна","должно","должны","требуется","требуются","имеется","имеются","есть","можно"],l=["появиться","появился","появилась","появилось","появились","появлюсь","появишься","появится","появимся","появитесь","появимся","появляться","появлялся","появлялась","появлялось","появлялись","появляюсь","появляешься","появляется","появляемся","появляются","появляетесь","стал","стала","стало","стану","станешь","станет","станем","станете","станут","становиться","становился","становилось","становилась","становились","становлюсь","становишься","становится","становимся","становитесь","становятся","прийти","пришел","пришёл","пришла","пришло","пришли","приду","придешь","придёшь","придет","придёт","придем","придём","придете","придёте","придут","приходить","приходил","приходила","приходило","приходили","прихожу","приходишь","приходит","приходим","приходите","происходить","происходил","происходила","происходило","происходили","происходит","происходят","держать","держал","держала","держало","держали","держу","держишь","держит","держим","держите","держут","содержать","содержал","содержала","содержало","содержали","содержу","содержишь","содержит","содержим","содержите","содержут","остаться","остался","осталась","осталось","остались","останусь","останешься","останется","останутся","останетесь","останемся","оставаться","оставался","оставалась","оставалось","оставались","остаюсь","остаешься","остаёшься","остается","остаётся","остаемся","остаёмся","остаетесь","остаётесь","остаются","изменяться","изменялся","изменялась","изменялось","изменялись","изменюсь","изменишься","изменится","изменимся","изменитесь","изменятся","успеть","успел","успела","успело","успели","успею","успеешь","успеет","успеем","успеете","успеют","заниматься","занимался","занималась","занимаюсь","занимаешься","занимается","занимаемся","занимаетесь","занимаемся","заняться","занялся","занялась","занялись","займусь","займешься","займется","займемся","займетесь","займутся","займёшься","займётся","займёмся","займётесь"],u=["сказать","сказал","сказала","сказали","говорить","говорил","говорила","говорили","говорит","говорю","говорим","говоришь","говорят","говорите","объявить","объявил","объявила","объявили","заявить","заявил","заявила","заявили","спросить","спросил","спросила","спросили","указать","указал","указала","указали","объяснить","объяснил","объяснила","объяснили","подумать","подумал","подумала","подумали","думать","думал","думала","думали","думаю","думает","думаешь","думаем","думаете","думают","рассказывать","рассказывал","рассказывала","рассказывали","рассказывают","рассказывает","рассказать","рассказал","рассказала","рассказали","обсудить","обсудил","обсудила","обсудили","предложить","предложил","предложила","предложили","понимать","понимал","понимала","понимали","понимаю","понимаешь","понимает","понимаем","понимаете","понимают","добавить","добавил","добавила","добавили","добавлю","добавишь","добавит","добавим","добавите","добавят"],f=["казаться","кажется","казалось","казалась","казался","казались","кажутся","давайте","давай","хотеть","хочу","хочешь","хочет","хотим","хотите","хотят","хотел","хотела","хотело","хотели","показать","показал","показала","показало","показали","покажу","покажешь","покажет","покажем","покажете","покажут","показывать","показывал","показывала","показывало","показывали","показываю","показываешь","показывает","показываем","показываете","показывают","идти","шел","шёл","шла","шло","шли","иду","идешь","идёшь","идет","идёт","идем","идём","идете","идёте","идут","брать","брал","брала","брало","брали","беру","берешь","берёшь","берёт","берем","берём","берёте","берут","взять","взял","взяла","взяло","взяли","возьму","возьмешь","возьмет","возьмем","возьмете","возьмут","класть","кладу","кладешь","кладет","кладёшь","кладёт","кладем","кладете","кладём","кладёте","кладут","положить","положил","положила","положило","положили","положу","положишь","положит","положим","положите","положат","использовать","использовал","использовала","использовало","использовали","использую","используешь","используем","используете","используют","пробовать","пробовал","пробовала","пробовало","пробовали","пробую","пробуешь","пробует","пробуем","пробуете","пробуют","попробовать","попробовал","попробовала","попробовало","попробовали","попробую","попробуешь","попробует","попробуем","попробуете","попробуют","иметь","имел","имела","имело","имели","имею","имеешь","имеет","имеем","имеете","имеют","означать","означал","означала","означало","означали","означает","означают","добавлять","добавлял","добавляла","добавляло","добавляли","добавляю","добавляешь","добавляет","добавляем","добавляете","добавляют","состоять","состоял","состояла","состояло","состояли","состою","состоишь","состоит","состоим","состоите","состоят","убеждаться","убедился","убедилась","убедилось","убедишься","убедится","убедимся","убедитесь","убедятся","убеждать","убедил","убедила","убедили","убедишь","убедит","убедим","убедите","убедят","являться","являлся","являлась","являлось","являлись","являюсь","являешься","является","являемся","являетесь","являются"],g=["один","одна","одно","одни","два","две","двое","двух","двоих","двум","двоим","двумя","двоими","три","трое","трех","трёх","троих","трем","трём","троим","тремя","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать","двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто","сто","сотни","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот","тысяча","тысячи","тысяче","тысячей","тысячам","тысячами","тысячах","тыс","миллион","миллиона","миллиону","миллионом","миллионе","миллионы","миллионов","миллионам","миллионами","миллионах","миллиард","миллиарда","миллиарду","миллиардом","миллиарде","миллиарды","миллиардов","миллиардам","миллиардами","миллиардах"],m=["первый","первого","первому","первом","первым","первая","первой","первое","первые","первых","первыми","второй","второго","второму","втором","вторым","вторая","второй","второе","вторые","вторых","вторыми","третий","третьего","третьему","третьим","третьем","третья","третьей","третье","третьи","третьих","третьими","четвертый","четвертого","четвертому","четвертым","четвертом","четвертая","четвертой","четвертое","четвертые","четвертых","четвертыми","пятый","пятого","пятому","пятом","пятым","пятая","пятое","пятые","пятых","пятыми","шестой","шестого","шестому","шестым","шестая","шестое","шестые","шестых","шестыми","седьмой","седьмого","седьмому","седьмым","седьмая","седьмое","седьмые","седьмых","седьмыми","восьмой","восьмого","восьмому","восьмым","восьмая","восьмое","восьмые","восьмых","восьмыми","девятый","девятого","девятому","девятым","девятая","девятое","девятые","девятых","девятыми","десятый","десятого","десятому","десятым","десятая","десятое","десятые","десятых","десятыми","одиннадцатый","одиннадцатого","одиннадцатому","одиннадцатым","одиннадцатая","одиннадцатое","одиннадцатые","одиннадцатых","одиннадцатыми","двенадцатый","двенадцатого","двенадцатому","двенадцатым","двенадцатая","двенадцатое","двенадцатые","двенадцатых","двенадцатыми","тринадцатый","тринадцатого","тринадцатому","тринадцатым","тринадцатая","тринадцатое","тринадцатые","тринадцатых","тринадцатыми","четырнадцатый","четырнадцатого","четырнадцатому","четырнадцатым","четырнадцатая","четырнадцатое","четырнадцатые","четырнадцатых","четырнадцатыми","пятнадцатый","пятнадцатого","пятнадцатому","пятнадцатым","пятнадцатая","пятнадцатое","пятнадцатые","пятнадцатых","пятнадцатыми","шестнадцатый","шестнадцатого","шестнадцатому","шестнадцатым","шестнадцатая","шестнадцатое","шестнадцатые","шестнадцатых","шестнадцатыми","семнадцатый","семнадцатого","семнадцатому","семнадцатым","семнадцатая","семнадцатое","семнадцатые","семнадцатых","семнадцатыми","восемнадцатый","восемнадцатого","восемнадцатому","восемнадцатым","восемнадцатая","восемнадцатое","восемнадцатые","восемнадцатых","восемнадцатыми","девятнадцатый","девятнадцатого","девятнадцатому","девятнадцатым","девятнадцатая","девятнадцатое","девятнадцатые","девятнадцатых","девятнадцатыми","двадцатый","двадцатого","двадцатому","двадцатым","двадцатая","двадцатое","двадцатые","двадцатых","двадцатыми","тридцатый","тридцатого","тридцатому","тридцатым","тридцатая","тридцатое","тридцатые","тридцатых","тридцатыми","сороковой","сорокового","сороковому","сороковым","сороковая","сороковое","сороковые","сороковых","сороковыми","пятидесятый","пятидесятого","пятидесятому","пятидесятым","пятидесятая","пятидесятое","пятидесятые","пятидесятых","пятидесятыми","шестидесятый","шестидесятого","шестидесятому","шестидесятым","шестидесятая","шестидесятое","шестидесятые","шестидесятых","шестидесятыми","семидесятый","семидесятого","семидесятому","семидесятым","семидесятая","семидесятое","семидесятые","семидесятых","семидесятыми","восьмидесятый","восьмидесятого","восьмидесятому","восьмидесятым","восьмидесятая","восьмидесятое","восьмидесятые","восьмидесятых","восьмидесятыми","девяностый","девяностого","девяностому","девяностым","девяностая","девяностое","девяностые","девяностых","девяностыми","сотый","сотого","сотому","сотым","сотая","сотое","сотые","сотых","сотыми","двухсотый","двухсотого","двухсотому","двухсотым","двухсотая","двухсотое","двухсотые","двухсотых","двухсотыми","трехсотый","трехсотого","трехсотому","трехсотым","трехсотая","трехсотое","трехсотые","трехсотых","трехсотыми","трёхсотый","трёхсотого","трёхсотому","трёхсотым","трёхсотая","трёхсотое","трёхсотые","трёхсотых","трёхсотыми","четырехсотый","четырехсотого","четырехсотому","четырехсотым","четырехсотая","четырехсотое","четырехсотые","четырехсотых","четырехсотыми","четырёхсотый","четырёхсотого","четырёхсотому","четырёхсотым","четырёхсотая","четырёхсотое","четырёхсотые","четырёхсотых","четырёхсотыми","пятисотый","пятисотого","пятисотому","пятисотым","пятисотая","пятисотое","пятисотые","пятисотых","пятисотыми","шестисотый","шестисотого","шестисотому","шестисотым","шестисотая","шестисотое","шестисотые","шестисотых","шестисотыми","семисотый","семисотого","семисотому","семисотым","семисотая","семисотое","семисотые","семисотых","семисотыми","восьмисотый","восьмисотого","восьмисотому","восьмисотым","восьмисотая","восьмисотое","восьмисотые","восьмисотых","восьмисотыми","девятисотый","девятисотого","девятисотому","девятисотым","девятисотая","девятисотое","девятисотые","девятисотых","девятисотыми","тысячный","тысячного","тысячному","тысячным","тысячная","тысячное","тысячные","тысячных","тысячными","миллионный","миллионного","миллионному","миллионным","миллионная","миллионное","миллионные","миллионных","миллионными","миллиардный","миллиардного","миллиардному","миллиардным","миллиардная","миллиардное","миллиардные","миллиардных","миллиардными"],d=["я","меня","мне","мной","мною","ты","тебя","тебе","тобой","он","его","него","ему","нему","нем","нём","им","ним","она","ее","нее","неё","её","ей","ею","ней","нею","оно","мы","нам","нас","нами","вы","вас","вам","вами","они","них","ими","ними","их"],x=["тот","тому","том","тем","того","та","той","ту","то","те","тех","теми","этот","этому","этом","этим","этого","эта","этой","эту","это","эти","этих","этими","такой","такого","такому","таким","таком","такая","такую","такое","такие","таких","такими","этакий","этакого","этакому","этаким","этаком","этакая","этакую","этакое","этакие","этаких","этакими"],S=["мой","моего","моему","моём","моим","моя","моей","мое","моё","мои","моих","моим","твой","твоего","твоему","твоём","твоем","твоим","твоя","твоей","твою","твое","твоё","твои","твоих","твоим","свой","своего","своему","своём","своем","своим","своя","своей","свою","свое","своё","свои","своих","своим","наш","нашего","нашему","нашем","наша","нашей","наше","наши","нашим","наших","ваш","вашего","вашему","вашем","ваша","вашей","ваше","ваши","вашим","ваших"],y=["некоторый","некоторого","некоторому","некоторым","некотором","некоторая","некоторую","некоторое","некоторые","некоторых","некоторыми","многие","многого","многому","многим","многом","многая","многую","многое","многие","многих","многими","много","множество","каждый","каждого","каждому","каждым","каждом","каждая","каждую","каждое","каждые","каждых","каждыми","достаточно","мало","более","больше","большинство","большинства","большинству","большинстве","несколько","нескольких","менее","меньше","наиболее","наименее","угодно","же"],b=["себя","себе"],h=["ничто","ничего","ничему","ничем","ни о чем","ни о чём","никто","никого","никому","никем","ни о ком","весь","всего","всему","всем","всём","все","всё","всех","всеми","всякий","всякого","всякому","всяким","всяком","всякая","всякой","всякую","всякое","всякие","всяких","всякими","кто-то","кого-то","кому-то","кем-то","ком-то","что-то","чего-то","чему-то","чем-то","чём-то","кто-либо","кого-либо","кому-либо","кем-либо","ком-либо","что-либо","чего-либо","чему-либо","чем-либо","чём-либо","кое-кто","кое-кого","кое-кому","кое-кем","кое-ком","кое-что","кое-чего","кое-чему","кое-чем","кое-чём","любой","любого","любому","любым","любом","любая","любую","любое","любые","любых","любыми","какой","какого","какому","каким","каком","какая","какую","какое","какие","каких","какими","какой-то","какого-то","какому-то","каким-то","каком-то","какая-то","какую-то","какое-то","какие-то","каких-то","какими-то"],p=["который","которого","которому","которым","котором","которая","которую","которое","которые","которых","которыми","чей","чьего","чьему","чьим","чьем","чьём","чья","чьей","чье","чьё","чьи","чьих","чьими"],v=["кто","кого","кому","кем","что","чего","чему","чем","чём"],w=["где","куда","откуда","как","почему","зачем","сколько","ли","когда"],O=["везде","нигде","там","здесь","повсюду"],P=["никогда","всегда","однажды","единожды","дважды","трижды","четырежды","уже"],E=["чрезвычайно","очень","крайне","абсолютно","полностью","совершенно","часто","чаще","довольно","несколько","значительно","немного","немножко","частично","просто"],W=["базовый","базового","базовому","базовым","базовом","базовая","базовой","базовое","базовые","базовых","базовым","базовыми","быстрый","быстрого","быстрому","быстрым","быстром","быстрая","быстрой","быстрое","быстрые","быстрых","быстрым","быстрыми","быстрейший","быстрейшего","быстрейшему","быстрейшим","быстрейшем","быстрейшая","быстрейшей","быстрейшее","быстрейшие","быстрейших","быстрейшим","быстрейшими","большой","большого","большому","большим","большом","большая","большое","большие","больших","большим","большими","быстрее","быстро","важный","важного","важному","важным","важном","важная","важной","важное","важные","важных","важным","важными","важнее","важно","возможный","возможного","возможному","возможным","возможном","возможная","возможной","возможное","возможные","возможных","возможным","возможными","высокий","высокого","высокому","высоким","высоком","высокая","высокой","высокое","высокие","высоких","высоким","высокими","выше","высоко","главный","главного","главному","главным","главном","главная","главной","главное","главные","главных","главным","главными","далекий","далекого","далекому","далеким","далеком","далекая","далекой","далекое","далекие","далеких","далеким","далекими","далёкий","далёкого","далёкому","далёким","далёком","далёкая","далёкой","далёкое","далёкие","далёких","далёким","далёкими","длиннее","длинный","длинного","длинному","длинным","длинном","длинная","длинной","длинное","длинные","длинных","длинным","длинными","доступный","доступного","доступному","доступным","доступном","доступная","доступной","доступное","доступные","доступных","доступным","доступными","жуткий","жуткого","жуткому","жутким","жутком","жуткая","жуткой","жуткое","жуткие","жутких","жутким","жуткими","законченный","законченного","законченному","законченным","законченном","законченная","законченной","законченное","законченные","законченных","законченным","законченными","занят","занята","заняты","занятой","занятого","занятому","занятым","занятом","занятая","занятое","занятые","занятых","занятым","занятыми","короткий","короткого","короткому","коротким","коротком","короткая","короткой","короткое","короткие","коротких","коротким","короткими","короче","кошмарный","кошмарного","кошмарному","кошмарным","кошмарном","кошмарная","кошмарной","кошмарное","кошмарные","кошмарных","кошмарным","кошмарными","красивый","красивого","красивому","красивым","красивом","красивая","красивой","красивое","красивые","красивых","красивым","красивыми","лёгкий","лёгкого","лёгкому","лёгким","лёгком","лёгкая","лёгкой","лёгкое","лёгкие","лёгких","лёгким","лёгкими","легкий","легкого","легкому","легким","легком","легкая","легкой","легкое","легкие","легких","легким","легкими","легко","легче","лучше","лучший","лучшего","лучшему","лучшим","лучшем","лучшая","лучшей","лучшее","лучшие","лучших","лучшим","лучшими","маленький","маленького","маленькому","маленьким","маленьком","маленькая","маленькой","маленькое","маленькие","маленьких","маленьким","маленькими","малюсенький","малюсенького","малюсенькому","малюсеньким","малюсеньком","малюсенькая","малюсенькой","малюсенькое","малюсенькие","малюсеньких","малюсеньким","малюсенькими","меньший","меньшего","меньшему","меньшим","меньшем","меньшая","меньшей","меньшее","меньшие","меньших","меньшим","меньшими","многочисленный","многочисленного","многочисленному","многочисленным","многочисленном","многочисленная","многочисленной","многочисленное","многочисленные","многочисленных","многочисленным","многочисленными","молодой","молодого","молодому","молодым","молодом","молодая","молодое","называемый","называемого","называемому","называемым","называемом","называемая","называемой","называемое","называемые","называемых","называемым","называемыми","больший","большего","большему","большим","большем","большая","большей","большее","большие","больших","большим","большими","наибольший","наибольшего","наибольшему","наибольшим","наибольшем","наибольшая","наибольшей","наибольшее","наибольшие","наибольших","наибольшим","наибольшими","меньший","меньшего","меньшему","меньшим","меньшем","меньшая","меньшей","меньшее","меньшие","меньших","меньшим","меньшими","наименьший","наименьшего","наименьшему","наименьшим","наименьшем","наименьшая","наименьшей","наименьшее","наименьшие","наименьших","наименьшим","наименьшими","наихудший","наихудшего","наихудшему","наихудшим","наихудшем","наихудшая","наихудшей","наихудшее","наихудшие","наихудших","наихудшим","наихудшими","напрямую","настоящий","настоящего","настоящему","настоящим","настоящем","настоящая","настоящей","настоящее","настоящие","настоящих","настоящим","настоящими","недавний","недавнего","недавнему","недавним","недавнем","недавняя","недавней","недавнее","недавние","недавних","недавним","недавними","необходимый","необходимого","необходимому","необходимым","необходимом","необходимая","необходимой","необходимое","необходимые","необходимых","необходимым","необходимыми","ниже","низкий","низкого","низкому","низким","низком","низкая","низкой","низкое","низкие","низких","низким","низкими","новейший","новейшего","новейшему","новейшим","новейшем","новейшая","новейшей","новейшее","новейшие","новейших","новейшим","новейшими","новый","нового","новому","новым","новом","новая","новое","новые","новых","новым","новыми","нормальный","нормального","нормальному","нормальным","нормальном","нормальная","нормальное","нормальные","нормальных","нормальным","нормальными","обыкновенный","обыкновенного","обыкновенному","обыкновенным","обыкновенном","обыкновенная","обыкновенное","обыкновенные","обыкновенных","обыкновенным","обыкновенными","обычный","обычного","обычному","обычным","обычном","обычная","обычное","обычные","обычных","обычным","обычными","основной","основного","основному","основным","основном","основная","основное","основные","основных","основным","основными","особенный","особенного","особенному","особенным","особенном","особенная","особенное","особенные","особенных","особенным","особенными","отличный","отличного","отличному","отличным","отличном","отличная","отличное","отличные","отличных","отличным","отличными","очевидный","очевидного","очевидному","очевидным","очевидном","очевидная","очевидное","очевидные","очевидных","очевидным","очевидными","плохой","плохого","плохому","плохим","плохом","плохая","плохое","плохие","плохих","плохим","плохими","последний","последнего","последнему","последним","последнем","последняя","последней","последнее","последние","последних","последним","последними","постоянно","постоянный","постоянного","постоянному","постоянным","постоянном","постоянная","постоянное","постоянные","постоянных","постоянным","постоянными","похожий","похожего","похожему","похожим","похожем","похожая","похожей","похожее","похожие","похожих","похожим","похожими","почти","предыдущий","предыдущего","предыдущему","предыдущим","предыдущем","предыдущая","предыдущей","предыдущее","предыдущие","предыдущих","предыдущим","предыдущими","простейший","простейшая","простейшей","простой","простого","простому","простым","простом","простая","простое","простые","простых","простым","простыми","проще","ранний","раннего","раннему","ранним","раннем","ранняя","ранней","раннее","ранние","ранних","ранним","ранними","разный","разного","разному","разным","разном","разная","разной","разное","разные","разных","разным","разными","самый","самого","самому","самым","самом","самая","самой","самое","самые","самых","самым","самыми","собственный","собственного","собственному","собственным","собственном","собственная","собственное","собственные","собственных","собственным","собственными","специальный","специального","специальному","специальным","специальном","специальная","специальное","специальные","специальных","специальным","специальными","специфичный","специфичного","специфичному","специфичным","специфичном","специфичная","специфичное","специфичные","специфичных","специфичным","специфичными","средний","среднего","среднему","средним","среднем","средняя","средней","среднее","средние","средних","средним","средними","старейший","старейшего","старейшему","старейшим","старейшем","старейшая","старейшей","старейшее","старейшие","старейших","старейшим","старейшими","старый","старого","старому","старым","старом","старая","старой","старое","старые","старых","старым","старыми","текущий","текущего","текущему","текущим","текущем","текущая","текущей","текущее","текущие","текущих","текущим","текущими","тяжелее","тяжёлый","тяжёлого","тяжёлому","тяжёлым","тяжёлом","тяжёлая","тяжёлое","тяжёлые","тяжёлых","тяжёлым","тяжёлыми","тяжелый","тяжелого","тяжелому","тяжелым","тяжелом","тяжелая","тяжелое","тяжелые","тяжелых","тяжелым","тяжелыми","хороший","хорошего","хорошему","хорошим","хорошем","хорошая","хорошей","хорошее","хорошие","хороших","хорошим","хорошими","хорошо","худший","худшего","худшему","худшим","худшем","худшая","худшей","худшее","худшие","худших","худшим","худшими","хуже","целый","целого","целому","целым","целом","целая","целой","целое","целые","целых","целым","целыми","именно","обязательно","действительно"],R=["а-ля","без","безо","без ведома","благодаря","близ","в","во","в адрес","в аспекте","в виде","в глазах","в глубь","в деле","в дополнение к","в духе","в завершение","в зависимости от","в заключение","в знак","в интересах","в качестве","в лице","в меру","в направлении","в направлении к","в направлении ко","в нарушение","в области","в обмен на","в обстановке","в обход","в ответ на","в отдалении от","в отличие от","в отношении","в память","в плане","в пользу","в порядке","в предвидении","в предвкушении","в преддверии","в присутствии","в продолжение","в противность","в противовес","в противоположность","в процессе","в разрезе","в районе","в рамках","в рассуждении","в расчете на","в результате","в роли","в ряду","в свете","в связи с","в связи со","в силу","в случае","в смысле","в согласии с","в сообществе с","в соответствии с","в соответствии со","в сопоставлении с","в сопровождении","в составе","в сравнении с","в сравнении со","в стороне от","в сторону","в сфере","в счет","в течение","в угоду","в унисон с","в условиях","в ущерб","в форме","в ходе","в целях","в честь","в числе","в число","вблизи","вблизи от","вверху","ввиду","вглубь","вдалеке от","вдали","вдали от","вдобавок к","вдобавок ко","вдогон","вдогонку","вдоль","вдоль по","взамен","включая","вкось","вкруг","вместе с","вместе со","вместо","вне","вне зависимости от","внизу","внутри","внутрь","вовнутрь","во время","во главе","во главе с","во главе со","во избежание","во изменение","во имя","во исполнение","во славу","возле","вокруг","волею","вопреки","вперед","впереди","вплоть до","впредь до","вразрез","времен","вроде","вслед","вослед","вслед за","вследствие","выше","для","до","за","за исключением","за счет","заботами","из","изо","из числа","из-за","из-под","из-подо","изнутри","именем","имени","исключая","исходя из","к","ко","к числу","касаемо","касательно","кончая","кроме","кругом","между","меж","промеж","промежду","на","мимо","минуя","на","на базе","на благо","на глазах у","на грани","на имя","на манер","на основании","на основе","на почве","на правах","на предмет","на протяжении","на пути","на пути к","на пути ко","на путях","на путях к","на путях ко","на радость","на случай","на смену","на стороне","на сторону","на уровне","на фоне","наверху","навстречу","над","надо","назади","накануне","наперекор","наперерез","наперехват","наподобие","напротив","наравне с","наравне со","наряду с","наряду со","насупротив","насчет","начиная","начиная от","начиная с","начиная со","не без","не в пример","не говоря о","не говоря об","не говоря обо","не до","не считая","невдалеке от","невзирая на","недалеко","недалеко от","независимо","независимо от","неподалеку от","несмотря на","ниже","о","об","обо","около","окрест","от","ото","от имени","от лица","относительно","памяти","перед","передо","пред","предо","перед","передо","пред","предо","перед лицом","плюс к","плюс ко","по","по адресу","по аналогии с","по аналогии со","по вине","по истечении","по линии","по мере","по направлению","по направлению к","по направлению ко","по отношению к","по отношению ко","по поводу","по праву","по примеру","по причине","по прошествии","по пути","по случаю","по сравнению с","по сравнению со","по стопам","по части","по-за","по-над","по-под","поблизости","поблизости от","поверх","погодя","под","подо","под видом","под знаком","под предлогом","под председательством","под эгидой","подле","подобно","позади","позднее","поздней","позже","помимо","поодаль от","поперед","поперек","порядка","посереди","посередине","посередке","посередь","после","посреди","посредине","посредством","превыше","прежде","при","при всей","при всем","при всех","при помощи","при посредстве","при условии","применительно к","применительно ко","про","против","противно","путем","ради","раньше","рядом с","рядом со","с","со","с ведома","с помощью","с учетом","с целью","сбоку","сбоку от","сверх","сверху","свыше","сзади","силами","сквозь","следом за","смотря по","снаружи","снизу","со стороны","совместно с","совместно со","совокупно с","согласно","согласно с","согласно со","сообразно","сообразно с","сообразно со","сообща с","сообща со","соответственно","соответственно с","соответственно со","соразмерно","соразмерно с","соразмерно со","спереди","спустя","сравнительно с","сравнительно со","среди","средь","сродни","судя по","супротив","считая","типа","у","ценой","ценою","через","что до"],j=["и","или","и/или","еще","ещё","а"],D=["если","даже"],N=["ох","вау","тю-тю","ох-ох-ох","эх","фуф","ага","угу","упс","ой","бее","ну","вот"],T=["ст","ч","л","кг","полкило","г","гр","мл","дл","пол-литра","мг","см","м","км"],k=["секунд","секунда","минут","минута","час","часа","часов","день","дня","дней","неделя","недели","недель","месяц","месяца","месяцев","год","года","году","годы","лет","гг","сегодня","завтра","послезавтра","вчера","позавчера","тыс до н э","н э","до н э","тыс до н"],A=["вещь","вещи","вещью","вещей","вещам","вещами","вещах","метод","метода","методом","методу","методе","методы","методам","методами","методах","способ","способа","способом","способу","способе","способы","способам","способами","способах","свойство","свойства","свойстве","свойств","свойствам","свойствах","свойствами","случай","случая","случаем","случаю","случае","случаи","случаям","случаями","случаях","дело","дела","делом","делу","деле","делам","делами","делах","сходство","сходства","сходстве","сходств","сходствам","сходствах","сходствами","часть","части","частью","частей","частям","частями","частях","штука","штуки","штуке","штуку","штук","штукам","штуками","штуках","раз","раза","разом","разу","разе","разы","разам","разами","разах","вид","вида","видом","виду","виде","виды","видам","видами","видах","процент","процента","процентом","проценту","проценте","проценты","процентам","процентами","процентах","аспект","аспекта","аспектом","аспекту","аспекте","аспекты","аспектам","аспектами","аспектах","пункт","пункта","пунктом","пункту","пункте","пункты","пунктам","пунктами","пунктах","идея","идеи","идее","идеей","идеям","идеями","идеях","тема","темы","теме","тему","темой","темам","темами","темах","человек","человека","человеком","человеку","человеке","деталь","детали","деталью","деталей","деталям","деталями","деталях","подробность","подробности","подробностью","подробностей","подробностям","подробностями","подробностях","фактор","фактора","фактором","фактору","факторе","факторы","факторам","факторами","факторах","разница","разницы","разнице","разницу","разницей","различие","различия","различию","различий","различиям","различиями","различиях","отличие","отличия","отличию","отличий","отличиям","отличиями","отличиях","ситуация","ситуации","ситуацией","ситуаций","ситуациям","ситуациями","ситуациях","сфера","сферы","сфере","сферу","сферой","сферам","сферами","сферах"],M=["нет","да","конечно","отлично","верх","низ","ок","окей","аминь","и т д","и т. д.","и так далее","и тому подобное","прости","простите","пожалуйста","тут","так","не","вдруг","теперь","точно","бы","сам","сама","само","сами","иногда","сейчас","тоже","также","пока","ведь","потом","поэтому","явно","ни","не","будто","напрочь","причем","причём","зато","вперед","вперёд","назад","сразу","пусть","пускай"],F=(i([].concat(m,W)),i([].concat(R,j,x,E,y,S)),i([].concat(s,P,d,b,N,g,c,a,l,u,f,h,D,p,v,w,O,M,T,k,A)),i([].concat(g,m,x,S,b,d,y,h,["чей-то","чьего-то","чьему-то","чьим-то","чьем-то","чьём-то","чья-то","чьей-то","чье-то","чьё-то","чьи-то","чьих-то","чьими-то","ничей","чьего","чьему","чьим","чьем","чьём","чья","чьей","чье","чьё","чьи","чьих","чьими","ничейный","ничейного","ничейному","ничейным","ничейном","ничейная","ничейной","ничейную","ничейное","ничейные","ничейных","ничейными"],p,v,w,O,P,c,a,l,R,j,D,u,s,E,f,N,W,T,A,M,["г-н","г-жа","тов","гр-н","гр-а","гр","проф"],["мл"],k))),G=[["будь то","или"],["возможно","а может быть"],["возможно","возможно"],["достаточно","чтобы"],["едва","как"],["ежели","то"],["если говорить о","то"],["если и не","то"],["если не","то"],["если","то"],["мало того что","еще и"],["мало того, что","еще и"],["не сказать чтобы","но"],["не сказать, чтобы","но"],["не столько","сколько"],["не то чтобы","но"],["не только не","но и"],["стоило","как"],["так как","то"],["только","как"],["хоть бы","а то"],["хоть","хоть"],["хотя","но"],["чем","лучше бы"],["чем","тем"],["что касается","то"]],I=JSON.parse('{"vowels":"аоиеёэыуюя","deviations":{"vowels":[{"fragments":["[аоиеёэыуюя][аоиеёэыуюя]"],"countModifier":1},{"fragments":["[аоиеёэыуюя][аоиеёэыуюя][аоиеёэыуюя]"],"countModifier":1}],"words":{"full":[],"fragments":[]}}}'),L={borders:{veryEasy:80,easy:70,fairlyEasy:60,okay:50,fairlyDifficult:40,difficult:20,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}},V={recommendedLength:15},_=window.lodash,B=function(e,t){return t.externalStemmer.vowels.includes(e)},C=function(e,t,r){const n=e.substring(0,r),s=e.substring(n.length);let o;if(Array.isArray(t)){if(o=new RegExp(t[0],"i"),o.test(s))return n+s.replace(o,"");o=new RegExp(t[1],"i")}else o=new RegExp(t,"i");return o.test(s)?e=n+s.replace(o,""):null},{baseStemmer:J}=r.languageProcessing;function q(e){const t=(0,_.get)(e.getData("morphology"),"ru",!1);return t?e=>function(e,t){if(t.doNotStemSuffix.includes(e))return e;const r=function(e,t){for(const r of t)if(r[1].includes(e))return r[0];return null}(e,t.exceptionStemsWithFullForms);if(r)return r;const n=function(e,t){let r=0,n=0;const s=e.length;for(let o=1;o<s;o++){const s=e.substring(o-1,o),i=e.substring(o,o+1);switch(n){case 0:B(i,t)&&(r=o+1,n=1);break;case 1:B(s,t)&&B(i,t)&&(n=2);break;case 2:if(B(s,t)&&B(i,t))return r}}return r}(e,t);e=function(e,t,r){const n=e.substring(0,r),s=e.substring(n.length),o=new RegExp(t.externalStemmer.regexPerfectiveEndings,"i");return("по"===n&&!s.startsWith("д")||"про"===n)&&o.test(s)&&(e=s),e}(e,t,n),e=function(e,t,r){const n=C(e,t.externalStemmer.regexDerivationalNounSuffix,r);if(n)return n;const s=C(e,[t.externalStemmer.regexPerfectiveGerunds1,t.externalStemmer.regexPerfectiveGerunds2],r);if(s)e=s;else{const n=C(e,t.externalStemmer.regexReflexives,r);n&&(e=n);const s=t.externalStemmer.regexAdjective,o=C(e,t.externalStemmer.regexParticiple+s,r),i=C(e,s,r);if(o)e=o;else if(i)e=i;else{const n=C(e,[t.externalStemmer.regexVerb1,t.externalStemmer.regexVerb2],r);if(n)e=n;else{const n=C(e,t.externalStemmer.regexNoun,r);n&&(e=n)}}}return e}(e,t,n);const s=C(e,t.externalStemmer.regexI,n);s&&(e=s),e.endsWith(t.externalStemmer.doubleN)&&(e=e.substring(0,e.length-1));const o=C(e,t.externalStemmer.regexSuperlative,n);o&&(e=o);const i=C(e,t.externalStemmer.regexSoftSign,n);i&&(e=i);const c=function(e,t){const r=t.find((t=>t.includes(e)));if(r)return r[0]}(e,t.stemsThatBelongToOneWord);return c||e}(e,t):J}const z=["абсолютизирован","абсолютизирована","абсолютизировано","абсолютизированы","абстрагирован","абстрагирована","абстрагировано","абстрагированы","автоматизирован","автоматизирована","автоматизировано","автоматизированы","адаптирован","адаптирована","адаптировано","адаптированы","адресован","адресована","адресовано","адресованы","адсорбирован","адсорбирована","адсорбировано","адсорбированы","аккредитован","аккредитована","аккредитовано","аккредитованы","аккумулирован","аккумулирована","аккумулировано","аккумулированы","активизирован","активизирована","активизировано","активизированы","активирован","активирована","активировано","активированы","актуализирован","актуализирована","актуализировано","актуализированы","акцентирован","акцентирована","акцентировано","акцентированы","амнистирован","амнистирована","амнистировано","амнистированы","амортизирован","амортизирована","амортизировано","амортизированы","ампутирован","ампутирована","ампутировано","ампутированы","ангажирован","ангажирована","ангажировано","ангажированы","аннулирован","аннулирована","аннулировано","аннулированы","анонсирован","анонсирована","анонсировано","анонсированы","апробирован","апробирована","апробировано","апробированы","аранжирован","аранжирована","аранжировано","аранжированы","аргументирован","аргументирована","аргументировано","аргументированы","арендован","арендована","арендовано","арендованы","арестован","арестована","арестовано","арестованы","ассигнован","ассигнована","ассигновано","ассигнованы","ассимилирован","ассимилирована","ассимилировано","ассимилированы","ассоциирован","ассоциирована","ассоциировано","ассоциированы","атакован","атакована","атаковано","атакованы","аттестован","аттестована","аттестовано","аттестованы","благословлен","благословлена","благословлено","благословлены","благоустроен","благоустроена","благоустроено","благоустроены","блокирован","блокирована","блокировано","блокированы","бойкотирован","бойкотирована","бойкотировано","бойкотированы","бронирован","бронирована","бронировано","бронированы","брошен","брошена","брошено","брошены","вакцинирован","вакцинирована","вакцинировано","вакцинированы","вбит","вбита","вбито","вбиты","вброшен","вброшена","вброшено","вброшены","вбухан","вбухана","вбухано","вбуханы","введен","введена","введено","введены","ввезен","ввезена","ввезено","ввезены","ввергнут","ввергнута","ввергнуто","ввергнуты","вверен","вверена","вверено","вверены","ввернут","ввернута","ввернуто","ввернуты","ввинчен","ввинчена","ввинчено","ввинчены","вдавлен","вдавлена","вдавлено","вдавлены","вдарен","вдарена","вдарено","вдарены","вдвинут","вдвинута","вдвинуто","вдвинуты","вделан","вделана","вделано","вделаны","вдет","вдета","вдето","вдеты","вдолблен","вдолблена","вдолблено","вдолблены","вдохновлен","вдохновлена","вдохновлено","вдохновлены","венчан","венчана","венчано","венчаны","вжат","вжата","вжато","вжаты","вживлен","вживлена","вживлено","вживлены","взбаламучен","взбаламучена","взбаламучено","взбаламучены","взбешен","взбешена","взбешено","взбешены","взбит","взбита","взбито","взбиты","взбодрен","взбодрена","взбодрено","взбодрены","взболтан","взболтана","взболтано","взболтаны","взбудоражена","взбудоражено","взбудоражены","взведен","взведена","взведено","взведены","взвешен","взвешена","взвешено","взвешены","взвинчен","взвинчена","взвинчено","взвинчены","взвихрен","взвихрена","взвихрено","взвихрены","взволнована","взволновано","взволнованы","взгромозжден","взгромозждена","взгромозждено","взгромозждены","вздернут","вздернута","вздернуто","вздернуты","вздет","вздета","вздето","вздеты","вздут","вздута","вздуто","вздуты","вздыблен","вздыблена","вздыблено","вздыблены","взлелеян","взлелеяна","взлелеяно","взлелеяны","взломан","взломана","взломано","взломаны","взлохмачен","взлохмачена","взлохмачено","взлохмачены","взметнут","взметнута","взметнуто","взметнуты","взмылен","взмылена","взмылено","взмылены","взнуздан","взнуздана","взнуздано","взнузданы","взорван","взорвана","взорвано","взорваны","взращен","взращена","взращено","взращены","взрезан","взрезана","взрезано","взрезаны","взрыхлен","взрыхлена","взрыхлено","взрыхлены","взъерошен","взъерошена","взъерошено","взъерошены","взыскан","взыскана","взыскано","взысканы","взят","взята","взято","взяты","видоизменен","видоизменена","видоизменено","видоизменены","визирован","визирована","визировано","визированы","вкачен","вкачена","вкачено","вкачены","вклеен","вклеена","вклеено","вклеены","включен","включена","включено","включены","вколот","вколота","вколото","вколоты","вколочен","вколочена","вколочено","вколочены","вкопан","вкопана","вкопано","вкопаны","вкраплен","вкраплена","вкраплено","вкраплены","вкушен","вкушена","вкушено","вкушены","влеплен","влеплена","влеплено","влеплены","влит","влита","влито","влиты","вложен","вложена","вложено","вложены","вмазан","вмазана","вмазано","вмазаны","вменен","вменена","вменено","вменены","вмещен","вмещена","вмещено","вмещены","вмонтирован","вмонтирована","вмонтировано","вмонтированы","вмурован","вмурована","вмуровано","вмурованы","вмят","вмята","вмято","вмяты","внедрен","внедрена","внедрено","внедрены","внесен","внесена","внесено","внесены","внушен","внушена","внушено","внушены","вобран","вобрана","вобрано","вобраны","вовлечен","вовлечена","вовлечено","вовлечены","вогнан","вогнана","вогнано","вогнаны","водворен","водворена","водворено","водворены","водружен","водружена","водружено","водружены","возбуждена","возбуждено","возбуждены","возведен","возведена","возведено","возведены","возвеличен","возвеличена","возвеличено","возвеличены","возвещен","возвещена","возвещено","возвещены","возвращен","возвращена","возвращено","возвращены","возвышен","возвышена","возвышено","возвышены","возглавлен","возглавлена","возглавлено","возглавлены","возглашен","возглашена","возглашено","возглашены","воздвигнут","воздвигнута","воздвигнуто","воздвигнуты","возделан","возделана","возделано","возделаны","возложен","возложена","возложено","возложены","возмещен","возмещена","возмещено","возмещены","возмущена","возмущено","возмущены","вознагражден","вознаграждена","вознаграждено","вознаграждены","вознесен","вознесена","вознесено","вознесены","возобновлен","возобновлена","возобновлено","возобновлены","возрожден","возрождена","возрождено","возрождены","воображен","воображена","воображено","воображены","воодушевлен","воодушевлена","воодушевлено","воодушевлены","вооружен","вооружена","вооружено","вооружены","воплощен","воплощена","воплощено","воплощены","вопрошен","вопрошена","вопрошено","вопрошены","воскрешен","воскрешена","воскрешено","воскрешены","воспет","воспета","воспето","воспеты","воспитана","воспитано","воспитаны","воспламенен","воспламенена","воспламенено","воспламенены","восполнен","восполнена","восполнено","восполнены","воспрещен","воспрещена","воспрещено","воспрещены","воспринят","воспринята","воспринято","восприняты","воспроизведен","воспроизведена","воспроизведено","воспроизведены","восславлен","восславлена","восславлено","восславлены","восстановлен","восстановлена","восстановлено","восстановлены","востребована","востребовано","востребованы","восхищен","восхищена","восхищено","восхищены","воткнут","воткнута","воткнуто","воткнуты","впаян","впаяна","впаяно","впаяны","впечатлен","впечатлена","впечатлено","впечатлены","вписан","вписана","вписано","вписаны","впитан","впитана","впитано","впитаны","впихнут","впихнута","впихнуто","впихнуты","вплетен","вплетена","вплетено","вплетены","вправлен","вправлена","вправлено","вправлены","впрыснут","впрыснута","впрыснуто","впрыснуты","впряжен","впряжена","впряжено","впряжены","впущен","впущена","впущено","впущены","вразумлен","вразумлена","вразумлено","вразумлены","врезан","врезана","врезано","врезаны","врублен","врублена","врублено","врублены","вручен","вручена","вручено","вручены","врыт","врыта","врыто","врыты","всажен","всажена","всажено","всажены","вселен","вселена","вселено","вселены","вскинут","вскинута","вскинуто","вскинуты","вскипячен","вскипячена","вскипячено","вскипячены","всколыхнут","всколыхнута","всколыхнуто","всколыхнуты","вскопан","вскопана","вскопано","вскопаны","вскормлен","вскормлена","вскормлено","вскормлены","вскружен","вскружена","вскружено","вскружены","вскрыт","вскрыта","вскрыто","вскрыты","всосан","всосана","всосано","всосаны","вспахан","вспахана","вспахано","вспаханы","вспенен","вспенена","вспенено","вспенены","всплеснут","всплеснута","всплеснуто","всплеснуты","всполошен","всполошена","всполошено","всполошены","вспорот","вспорота","вспорото","вспороты","вставлен","вставлена","вставлено","вставлены","встревожен","встревожена","встревожено","встревожены","встречен","встречена","встречено","встречены","встроен","встроена","встроено","встроены","встряхнут","встряхнута","встряхнуто","встряхнуты","всунут","всунута","всунуто","всунуты","всучен","всучена","всучено","всучены","втащен","втащена","втащено","втащены","втерт","втерта","втерто","втерты","втиснут","втиснута","втиснуто","втиснуты","втолкнут","втолкнута","втолкнуто","втолкнуты","втолкован","втолкована","втолковано","втолкованы","втоптан","втоптана","втоптано","втоптаны","втравлен","втравлена","втравлено","втравлены","втянут","втянута","втянуто","втянуты","вшит","вшита","вшито","вшиты","выбелен","выбелена","выбелено","выбелены","выбит","выбита","выбито","выбиты","выболтан","выболтана","выболтано","выболтаны","выбран","выбрана","выбрано","выбраны","выбрит","выбрита","выбрито","выбриты","выброшен","выброшена","выброшено","выброшены","вывален","вывалена","вывалено","вывалены","вывалян","вываляна","вываляно","вываляны","выварен","выварена","выварено","выварены","выведан","выведана","выведано","выведаны","выведен","выведена","выведено","выведены","вывезен","вывезена","вывезено","вывезены","выверен","выверена","выверено","выверены","вывернут","вывернута","вывернуто","вывернуты","выветрен","выветрена","выветрено","выветрены","вывешен","вывешена","вывешено","вывешены","вывихнут","вывихнута","вывихнуто","вывихнуты","вывожен","вывожена","вывожено","вывожены","выворочен","выворочена","выворочено","выворочены","выгадан","выгадана","выгадано","выгаданы","выглажен","выглажена","выглажено","выглажены","выгнан","выгнана","выгнано","выгнаны","выгнут","выгнута","выгнуто","выгнуты","выговорен","выговорена","выговорено","выговорены","выгорожен","выгорожена","выгорожено","выгорожены","выгравирован","выгравирована","выгравировано","выгравированы","выгребен","выгребена","выгребено","выгребены","выгружен","выгружена","выгружено","выгружены","выдавлен","выдавлена","выдавлено","выдавлены","выдвинут","выдвинута","выдвинуто","выдвинуты","выдворен","выдворена","выдворено","выдворены","выделан","выделана","выделано","выделаны","выделен","выделена","выделено","выделены","выдержан","выдержана","выдержано","выдержаны","выдернут","выдернута","выдернуто","выдернуты","выдолблен","выдолблена","выдолблено","выдолблены","выдохнут","выдохнута","выдохнуто","выдохнуты","выдран","выдрана","выдрано","выдраны","выдрессирована","выдрессировано","выдрессированы","выдуман","выдумана","выдумано","выдуманы","выдут","выдута","выдуто","выдуты","выжат","выжата","выжато","выжаты","выждан","выждана","выждано","выжданы","выжит","выжита","выжито","выжиты","выжран","выжрана","выжрано","выжраны","вызван","вызвана","вызвано","вызваны","вызволен","вызволена","вызволено","вызволены","вызнан","вызнана","вызнано","вызнаны","вызубрен","вызубрена","вызубрено","вызубрены","выигран","выиграна","выиграно","выиграны","выискан","выискана","выискано","выисканы","выказан","выказана","выказано","выказаны","выкачан","выкачана","выкачано","выкачаны","выкачен","выкачена","выкачено","выкачены","выкинут","выкинута","выкинуто","выкинуты","выклеван","выклевана","выклевано","выклеваны","выкликнут","выкликнута","выкликнуто","выкликнуты","выключен","выключена","выключено","выключены","выклянчен","выклянчена","выклянчено","выклянчены","выкован","выкована","выковано","выкованы","выковырян","выковыряна","выковыряно","выковыряны","выколот","выколота","выколото","выколоты","выколочен","выколочена","выколочено","выколочены","выкопан","выкопана","выкопано","выкопаны","выкормлен","выкормлена","выкормлено","выкормлены","выкорчеван","выкорчевана","выкорчевано","выкорчеваны","выкошен","выкошена","выкошено","выкошены","выкраден","выкрадена","выкрадено","выкрадены","выкрашен","выкрашена","выкрашено","выкрашены","выкрикнут","выкрикнута","выкрикнуто","выкрикнуты","выкроен","выкроена","выкроено","выкроены","выкручен","выкручена","выкручено","выкручены","выкупан","выкупана","выкупано","выкупаны","выкуплен","выкуплена","выкуплено","выкуплены","выкурен","выкурена","выкурено","выкурены","выкушен","выкушена","выкушено","выкушены","вылакан","вылакана","вылакано","вылаканы","вылеплен","вылеплена","вылеплено","вылеплены","вылечен","вылечена","вылечено","вылечены","вылизан","вылизана","вылизано","вылизаны","вылит","вылита","вылито","вылиты","выловлен","выловлена","выловлено","выловлены","выложен","выложена","выложено","выложены","выломан","выломана","выломано","выломаны","вылуплен","вылуплена","вылуплено","вылуплены","вымазан","вымазана","вымазано","вымазаны","выманен","выманена","выманено","выманены","вымаран","вымарана","вымарано","вымараны","вымахан","вымахана","вымахано","вымаханы","выменян","выменяна","выменяно","выменяны","выметен","выметена","выметено","выметены","вымолвлен","вымолвлена","вымолвлено","вымолвлены","вымолен","вымолена","вымолено","вымолены","вымотан","вымотана","вымотано","вымотаны","вымочен","вымочена","вымочено","вымочены","вымощен","вымощена","вымощено","вымощены","вымучен","вымучена","вымучено","вымучены","вымуштрован","вымуштрована","вымуштровано","вымуштрованы","вымыт","вымыта","вымыто","вымыты","вымышлен","вымышлена","вымышлено","вымышлены","вынесен","вынесена","вынесено","вынесены","выношен","выношена","выношено","выношены","вынужден","вынуждена","вынуждено","вынуждены","вынут","вынута","вынуто","вынуты","выпачкан","выпачкана","выпачкано","выпачканы","выпестован","выпестована","выпестовано","выпестованы","выпечен","выпечена","выпечено","выпечены","выпилен","выпилена","выпилено","выпилены","выписан","выписана","выписано","выписаны","выпит","выпита","выпито","выпиты","выпихнут","выпихнута","выпихнуто","выпихнуты","выплавлен","выплавлена","выплавлено","выплавлены","выплакан","выплакана","выплакано","выплаканы","выплачен","выплачена","выплачено","выплачены","выплеснут","выплеснута","выплеснуто","выплеснуты","выплюнут","выплюнута","выплюнуто","выплюнуты","выполнен","выполнена","выполнено","выполнены","выпорот","выпорота","выпорото","выпороты","выпотрошен","выпотрошена","выпотрошено","выпотрошены","выправлен","выправлена","выправлено","выправлены","выпровожен","выпровожена","выпровожено","выпровожены","выпростан","выпростана","выпростано","выпростаны","выпрошен","выпрошена","выпрошено","выпрошены","выпрямлен","выпрямлена","выпрямлено","выпрямлены","выпучен","выпучена","выпучено","выпучены","выпущен","выпущена","выпущено","выпущены","выпытан","выпытана","выпытано","выпытаны","выпячен","выпячена","выпячено","выпячены","выработан","выработана","выработано","выработаны","выражен","выражена","выражено","выражены","выращен","выращена","выращено","выращены","вырван","вырвана","вырвано","вырваны","вырезан","вырезана","вырезано","вырезаны","выровнян","выровняна","выровняно","выровняны","выронен","выронена","выронено","выронены","вырублен","вырублена","вырублено","вырублены","выруган","выругана","выругано","выруганы","выручен","выручена","выручено","выручены","вырыт","вырыта","вырыто","вырыты","высажен","высажена","высажено","высажены","высвечен","высвечена","высвечено","высвечены","высвобожден","высвобождена","высвобождено","высвобождены","выселен","выселена","выселено","выселены","высечен","высечена","высечено","высечены","высеян","высеяна","высеяно","высеяны","высижен","высижена","высижено","высижены","высказан","высказана","высказано","высказаны","выскоблен","выскоблена","выскоблено","выскоблены","выскребен","выскребена","выскребено","выскребены","выслан","выслана","выслано","высланы","выслежен","выслежена","выслежено","выслежены","выслужен","выслужена","выслужено","выслужены","выслушан","выслушана","выслушано","выслушаны","высмеян","высмеяна","высмеяно","высмеяны","высмотрен","высмотрена","высмотрено","высмотрены","высосан","высосана","высосано","высосаны","выспрошен","выспрошена","выспрошено","выспрошены","выставлен","выставлена","выставлено","выставлены","выстиран","выстирана","выстирано","выстираны","выстлан","выстлана","выстлано","выстланы","выстоян","выстояна","выстояно","выстояны","выстрадан","выстрадана","выстрадано","выстраданы","выстрелен","выстрелена","выстрелено","выстрелены","выстрижен","выстрижена","выстрижено","выстрижены","выстроен","выстроена","выстроено","выстроены","выструган","выстругана","выстругано","выструганы","выстужен","выстужена","выстужено","выстужены","высунут","высунута","высунуто","высунуты","высушен","высушена","высушено","высушены","высчитан","высчитана","высчитано","высчитаны","вытаращен","вытаращена","вытаращено","вытаращены","вытащен","вытащена","вытащено","вытащены","вытерплен","вытерплена","вытерплено","вытерплены","вытерт","вытерта","вытерто","вытерты","вытесан","вытесана","вытесано","вытесаны","вытеснен","вытеснена","вытеснено","вытеснены","выткан","выткана","выткано","вытканы","вытолкнут","вытолкнута","вытолкнуто","вытолкнуты","вытоптан","вытоптана","вытоптано","вытоптаны","выторгован","выторгована","выторговано","выторгованы","выточен","выточена","выточено","выточены","вытравлен","вытравлена","вытравлено","вытравлены","вытребован","вытребована","вытребовано","вытребованы","вытрясен","вытрясена","вытрясено","вытрясены","вытряхнут","вытряхнута","вытряхнуто","вытряхнуты","вытурен","вытурена","вытурено","вытурены","вытянут","вытянута","вытянуто","вытянуты","выужен","выужена","выужено","выужены","выучен","выучена","выучено","выучены","выхвачен","выхвачена","выхвачено","выхвачены","выхлебан","выхлебана","выхлебано","выхлебаны","выхлопотан","выхлопотана","выхлопотано","выхлопотаны","выхожен","выхожена","выхожено","выхожены","выхолощен","выхолощена","выхолощено","выхолощены","выцарапан","выцарапана","выцарапано","выцарапаны","вычеркнут","вычеркнута","вычеркнуто","вычеркнуты","вычерпан","вычерпана","вычерпано","вычерпаны","вычерчен","вычерчена","вычерчено","вычерчены","вычислен","вычислена","вычислено","вычислены","вычитан","вычитана","вычитано","вычитаны","вычищен","вычищена","вычищено","вычищены","вычленен","вычленена","вычленено","вычленены","вычтен","вычтена","вычтено","вычтены","вышвырнут","вышвырнута","вышвырнуто","вышвырнуты","вышит","вышита","вышито","вышиты","вышколен","вышколена","вышколено","вышколены","выщерблен","выщерблена","выщерблено","выщерблены","выщипан","выщипана","выщипано","выщипаны","выявлен","выявлена","выявлено","выявлены","выяснен","выяснена","выяснено","выяснены","газирована","газировано","газированы","гарантирован","гарантирована","гарантировано","гарантированы","гаркнут","гаркнута","гаркнуто","гаркнуты","гармонизирован","гармонизирована","гармонизировано","гармонизированы","герметизирован","герметизирована","герметизировано","герметизированы","глазирован","глазирована","глазировано","глазированы","госпитализирован","госпитализирована","госпитализировано","госпитализированы","грохнут","грохнута","грохнуто","грохнуты","дарован","дарована","даровано","дарованы","датирован","датирована","датировано","датированы","двинут","двинута","двинуто","двинуты","девальвирован","девальвирована","девальвировано","девальвированы","дегустирован","дегустирована","дегустировано","дегустированы","дезавуирован","дезавуирована","дезавуировано","дезавуированы","дезинфицирован","дезинфицирована","дезинфицировано","дезинфицированы","дезинформирован","дезинформирована","дезинформировано","дезинформированы","дезорганизован","дезорганизована","дезорганизовано","дезорганизованы","дезориентирован","дезориентирована","дезориентировано","дезориентированы","декларирован","декларирована","декларировано","декларированы","декорирован","декорирована","декорировано","декорированы","делегирован","делегирована","делегировано","делегированы","демаскирован","демаскирована","демаскировано","демаскированы","демобилизован","демобилизована","демобилизовано","демобилизованы","демонтирован","демонтирована","демонтировано","демонтированы","деморализован","деморализована","деморализовано","деморализованы","депонирован","депонирована","депонировано","депонированы","детализирован","детализирована","детализировано","детализированы","детерминирован","детерминирована","детерминировано","детерминированы","деформирован","деформирована","деформировано","деформированы","диагностирован","диагностирована","диагностировано","диагностированы","дисквалифицирован","дисквалифицирована","дисквалифицировано","дисквалифицированы","дискредитирован","дискредитирована","дискредитировано","дискредитированы","дискриминирован","дискриминирована","дискриминировано","дискриминированы","дислоцирован","дислоцирована","дислоцировано","дислоцированы","дисциплинирован","дисциплинирована","дисциплинировано","дисциплинированы","дифференцирован","дифференцирована","дифференцировано","дифференцированы","добавлен","добавлена","добавлено","добавлены","добит","добита","добито","добиты","доведен","доведена","доведено","доведены","довезен","довезена","довезено","довезены","доверен","доверена","доверено","доверены","довершен","довершена","довершено","довершены","довожен","довожена","довожено","довожены","догляжен","догляжена","догляжено","догляжены","догнан","догнана","догнано","догнаны","договорен","договорена","договорено","договорены","догонян","догоняна","догоняно","догоняны","доделан","доделана","доделано","доделаны","додуман","додумана","додумано","додуманы","дожат","дожата","дожато","дожаты","дожеван","дожевана","дожевано","дожеваны","дожит","дожита","дожито","дожиты","дозволен","дозволена","дозволено","дозволены","дозирован","дозирована","дозировано","дозированы","доигран","доиграна","доиграно","доиграны","доказан","доказана","доказано","доказаны","докончен","докончена","докончено","докончены","документирован","документирована","документировано","документированы","докурен","докурена","докурено","докурены","долбанут","долбанута","долбануто","долбануты","долит","долита","долито","долиты","доложен","доложена","доложено","доложены","домчан","домчана","домчано","домчаны","домыслен","домыслена","домыслено","домыслены","донесен","донесена","донесено","донесены","доношена","доношено","доношены","допет","допета","допето","допеты","допечен","допечена","допечено","допечены","дописан","дописана","дописано","дописаны","допит","допита","допито","допиты","доплачен","доплачена","доплачено","доплачены","дополнен","дополнена","дополнено","дополнены","допрошен","допрошена","допрошено","допрошены","допущен","допущена","допущено","допущены","доработан","доработана","доработано","доработаны","дорисован","дорисована","дорисовано","дорисованы","досажен","досажена","досажено","досажены","досказан","досказана","досказано","досказаны","дослушан","дослушана","дослушано","дослушаны","досмотрен","досмотрена","досмотрено","досмотрены","доставлен","доставлена","доставлено","доставлены","достроен","достроена","достроено","достроены","досчитан","досчитана","досчитано","досчитаны","дотащен","дотащена","дотащено","дотащены","дотянут","дотянута","дотянуто","дотянуты","дочитан","дочитана","дочитано","дочитаны","драматизирован","драматизирована","драматизировано","драматизированы","дренирован","дренирована","дренировано","дренированы","дублирован","дублирована","дублировано","дублированы","жахнут","жахнута","жахнуто","жахнуты","заасфальтирован","заасфальтирована","заасфальтировано","заасфальтированы","забаррикадирован","забаррикадирована","забаррикадировано","забаррикадированы","забинтован","забинтована","забинтовано","забинтованы","забит","забита","забито","забиты","заблеван","заблевана","заблевано","заблеваны","заблокирован","заблокирована","заблокировано","заблокированы","заболочена","заболочено","заболочены","заболтан","заболтана","заболтано","заболтаны","забракован","забракована","забраковано","забракованы","забран","забрана","забрано","забраны","забронирован","забронирована","забронировано","забронированы","забросан","забросана","забросано","забросаны","заброшен","заброшена","заброшено","заброшены","забрызган","забрызгана","забрызгано","забрызганы","завален","завалена","завалено","завалены","заварен","заварена","заварено","заварены","заведен","заведена","заведено","заведены","завезен","завезена","завезено","завезены","завербован","завербована","завербовано","завербованы","заверен","заверена","заверено","заверены","завернут","завернута","завернуто","завернуты","заверчен","заверчена","заверчено","заверчены","завершен","завершена","завершено","завершены","завешан","завешана","завешано","завешаны","завещан","завещана","завещано","завещаны","завиден","завидена","завидено","завидены","завизирован","завизирована","завизировано","завизированы","завинчен","завинчена","завинчено","завинчены","завит","завита","завито","завиты","завлечен","завлечена","завлечено","завлечены","завоеван","завоевана","завоевано","завоеваны","заворожен","заворожена","заворожено","заворожены","завуалирован","завуалирована","завуалировано","завуалированы","завышен","завышена","завышено","завышены","завязан","завязана","завязано","завязаны","загадан","загадана","загадано","загаданы","загажен","загажена","загажено","загажены","загашен","загашена","загашено","загашены","загипнотизирован","загипнотизирована","загипнотизировано","загипнотизированы","загипсован","загипсована","загипсовано","загипсованы","заглажен","заглажена","заглажено","заглажены","заглушен","заглушена","заглушено","заглушены","загнан","загнана","загнано","загнаны","загнут","загнута","загнуто","загнуты","заговорен","заговорена","заговорено","заговорены","загорожен","загорожена","загорожено","загорожены","заготовлен","заготовлена","заготовлено","заготовлены","заграбастан","заграбастана","заграбастано","заграбастаны","загребен","загребена","загребено","загребены","загримирован","загримирована","загримировано","загримированы","загромозжден","загромозждена","загромозждено","загромозждены","загружен","загружена","загружено","загружены","загрызен","загрызена","загрызено","загрызены","загрязнен","загрязнена","загрязнено","загрязнены","загублен","загублена","загублено","загублены","задавлен","задавлена","задавлено","задавлены","задвинут","задвинута","задвинуто","задвинуты","задействован","задействована","задействовано","задействованы","заделан","заделана","заделано","заделаны","задерган","задергана","задергано","задерганы","задержан","задержана","задержано","задержаны","задернут","задернута","задернуто","задернуты","задет","задета","задето","задеты","задобрен","задобрена","задобрено","задобрены","задолбан","задолбана","задолбано","задолбаны","задраен","задраена","задраено","задраены","задран","задрана","задрано","задраны","задрапирован","задрапирована","задрапировано","задрапированы","задуман","задумана","задумано","задуманы","задурен","задурена","задурено","задурены","задут","задута","задуто","задуты","задушен","задушена","задушено","задушены","задымлен","задымлена","задымлено","задымлены","заезжен","заезжена","заезжено","заезжены","зажарен","зажарена","зажарено","зажарены","зажат","зажата","зажато","зажаты","зажеван","зажевана","зажевано","зажеваны","зажит","зажита","зажито","зажиты","зажмурен","зажмурена","зажмурено","зажмурены","зазван","зазвана","зазвано","зазваны","заземлен","заземлена","заземлено","заземлены","зазубрен","зазубрена","зазубрено","зазубрены","заигран","заиграна","заиграно","заиграны","заимствован","заимствована","заимствовано","заимствованы","заинтересована","заинтересовано","заинтересованы","заинтригована","заинтриговано","заинтригованы","заказан","заказана","заказано","заказаны","закалена","закалено","закалены","закамуфлирован","закамуфлирована","закамуфлировано","закамуфлированы","закапан","закапана","закапано","закапаны","закатан","закатана","закатано","закатаны","закачан","закачана","закачано","закачаны","закачен","закачена","закачено","закачены","закидан","закидана","закидано","закиданы","закинут","закинута","закинуто","закинуты","заклеван","заклевана","заклевано","заклеваны","заклеен","заклеена","заклеено","заклеены","заклеймен","заклеймена","заклеймено","заклеймены","заклинен","заклинена","заклинено","заклинены","заключен","заключена","заключено","заключены","закован","закована","заковано","закованы","закодирован","закодирована","закодировано","закодированы","заколдован","заколдована","заколдовано","заколдованы","заколот","заколота","заколото","заколоты","заколочен","заколочена","заколочено","заколочены","закольцеван","закольцевана","закольцевано","закольцеваны","законсервирован","законсервирована","законсервировано","законсервированы","законспирирован","законспирирована","законспирировано","законспирированы","закончен","закончена","закончено","закончены","закопан","закопана","закопано","закопаны","закопчен","закопчена","закопчено","закопчены","закошен","закошена","закошено","закошены","закрашен","закрашена","закрашено","закрашены","закреплен","закреплена","закреплено","закреплены","закроен","закроена","закроено","закроены","закруглен","закруглена","закруглено","закруглены","закручен","закручена","закручено","закручены","закрыт","закрыта","закрыто","закрыты","закуплен","закуплена","закуплено","закуплены","закупорен","закупорена","закупорено","закупорены","закурен","закурена","закурено","закурены","закутан","закутана","закутано","закутаны","залажен","залажена","залажено","залажены","залатан","залатана","залатано","залатаны","залеплен","залеплена","залеплено","залеплены","залечен","залечена","залечено","залечены","зализан","зализана","зализано","зализаны","залит","залита","залито","залиты","заложен","заложена","заложено","заложены","заломлен","заломлена","заломлено","заломлены","заляпан","заляпана","заляпано","заляпаны","замазан","замазана","замазано","замазаны","заманен","заманена","заманено","заманены","замаран","замарана","замарано","замараны","замаскирован","замаскирована","замаскировано","замаскированы","замаслен","замаслена","замаслено","замаслены","замедлен","замедлена","замедлено","замедлены","заменен","заменена","заменено","заменены","замерен","замерена","замерено","замерены","замерян","замеряна","замеряно","замеряны","заметан","заметана","заметано","заметаны","заметен","заметена","заметено","заметены","замечен","замечена","замечено","замечены","замешан","замешана","замешано","замешаны","замешен","замешена","замешено","замешены","замещен","замещена","замещено","замещены","заминирован","заминирована","заминировано","заминированы","замкнут","замкнута","замкнуто","замкнуты","замолвлен","замолвлена","замолвлено","замолвлены","замолчан","замолчана","замолчано","замолчаны","замордован","замордована","замордовано","замордованы","заморен","заморена","заморено","заморены","заморожен","заморожена","заморожено","заморожены","заморочен","заморочена","заморочено","заморочены","замотан","замотана","замотано","замотаны","замочен","замочена","замочено","замочены","замурован","замурована","замуровано","замурованы","замусолен","замусолена","замусолено","замусолены","замутнен","замутнена","замутнено","замутнены","замучан","замучана","замучано","замучаны","замучен","замучена","замучено","замучены","замыкан","замыкана","замыкано","замыканы","замыт","замыта","замыто","замыты","замыщлен","замыщлена","замыщлено","замыщлены","замят","замята","замято","замяты","занавешен","занавешена","занавешено","занавешены","занесен","занесена","занесено","занесены","занижен","занижена","занижено","занижены","заношен","заношена","заношено","заношены","занят","занята","занято","заняты","заострен","заострена","заострено","заострены","запакован","запакована","запаковано","запакованы","запален","запалена","запалено","запалены","запасен","запасена","запасено","запасены","запатентован","запатентована","запатентовано","запатентованы","запахнут","запахнута","запахнуто","запахнуты","запачкан","запачкана","запачкано","запачканы","запаян","запаяна","запаяно","запаяны","запеленан","запеленана","запеленано","запеленаны","запеленгован","запеленгована","запеленговано","запеленгованы","заперт","заперта","заперто","заперты","запечатан","запечатана","запечатано","запечатаны","запечатлен","запечатлена","запечатлено","запечатлены","запечен","запечена","запечено","запечены","записан","записана","записано","записаны","запит","запита","запито","запиты","запихан","запихана","запихано","запиханы","запихнут","запихнута","запихнуто","запихнуты","запланирован","запланирована","запланировано","запланированы","заплатан","заплатана","заплатано","заплатаны","заплачен","заплачена","заплачено","заплачены","заплеван","заплевана","заплевано","заплеваны","заплетен","заплетена","заплетено","заплетены","запломбирован","запломбирована","запломбировано","запломбированы","заподозрен","заподозрена","заподозрено","заподозрены","заполнен","заполнена","заполнено","заполнены","заполонен","заполонена","заполонено","заполонены","заполучен","заполучена","заполучено","заполучены","запомнен","запомнена","запомнено","запомнены","запорот","запорота","запорото","запороты","запорошен","запорошена","запорошено","запорошены","заправлен","заправлена","заправлено","заправлены","запрещен","запрещена","запрещено","запрещены","запримечен","запримечена","запримечено","запримечены","запрограммирован","запрограммирована","запрограммировано","запрограммированы","запроектирован","запроектирована","запроектировано","запроектированы","запрокинут","запрокинута","запрокинуто","запрокинуты","запротоколирован","запротоколирована","запротоколировано","запротоколированы","запрошен","запрошена","запрошено","запрошены","запружен","запружена","запружено","запружены","запряжен","запряжена","запряжено","запряжены","запрятан","запрятана","запрятано","запрятаны","запуган","запугана","запугано","запуганы","запудрен","запудрена","запудрено","запудрены","запутан","запутана","запутано","запутаны","запущен","запущена","запущено","запущены","запылен","запылена","запылено","запылены","запятнан","запятнана","запятнано","запятнаны","заработан","заработана","заработано","заработаны","заражен","заражена","заражено","заражены","зарегистрирован","зарегистрирована","зарегистрировано","зарегистрированы","зарезан","зарезана","зарезано","зарезаны","зарезервирован","зарезервирована","зарезервировано","зарезервированы","зарекомендован","зарекомендована","зарекомендовано","зарекомендованы","зарешечен","зарешечена","зарешечено","зарешечены","зарисован","зарисована","зарисовано","зарисованы","зарифмован","зарифмована","зарифмовано","зарифмованы","зарублен","зарублена","зарублено","зарублены","зарыт","зарыта","зарыто","зарыты","заряжен","заряжена","заряжено","заряжены","засажен","засажена","засажено","засажены","засахарен","засахарена","засахарено","засахарены","засвечен","засвечена","засвечено","засвечены","засвидетельствован","засвидетельствована","засвидетельствовано","засвидетельствованы","засекречен","засекречена","засекречено","засекречены","заселен","заселена","заселено","заселены","засечен","засечена","засечено","засечены","засеян","засеяна","засеяно","засеяны","засижен","засижена","засижено","засижены","заскребен","заскребена","заскребено","заскребены","заслан","заслана","заслано","засланы","заслонен","заслонена","заслонено","заслонены","заслужен","заслужена","заслужено","заслужены","заслушан","заслушана","заслушано","заслушаны","заслышан","заслышана","заслышано","заслышаны","засмеян","засмеяна","засмеяно","засмеяны","заснят","заснята","заснято","засняты","засолен","засолена","засолено","засолены","засорен","засорена","засорено","засорены","засосан","засосана","засосано","засосаны","заспиртован","заспиртована","заспиртовано","заспиртованы","заставлен","заставлена","заставлено","заставлены","застазастат","застазастата","застазастато","застазастаты","застегнут","застегнута","застегнуто","застегнуты","застелен","застелена","застелено","застелены","застигнут","застигнута","застигнуто","застигнуты","застиран","застирана","застирано","застираны","застолблен","застолблена","застолблено","застолблены","застопорен","застопорена","застопорено","застопорены","застрахован","застрахована","застраховано","застрахованы","застрелен","застрелена","застрелено","застрелены","застроен","застроена","застроено","застроены","застрочен","застрочена","застрочено","застрочены","застужен","застужена","застужено","застужены","застукан","застукана","застукано","застуканы","заступлен","заступлена","заступлено","заступлены","засужен","засужена","засужено","засужены","засунут","засунута","засунуто","засунуты","засучен","засучена","засучено","засучены","засушен","засушена","засушено","засушены","засчитан","засчитана","засчитано","засчитаны","затаен","затаена","затаено","затаены","затаскан","затаскана","затаскано","затасканы","затащен","затащена","затащено","затащены","затворен","затворена","затворено","затворены","затемнен","затемнена","затемнено","затемнены","затенен","затенена","затенено","затенены","затерт","затерта","затерто","затерты","затерян","затеряна","затеряно","затеряны","затеян","затеяна","затеяно","затеяны","заткнут","заткнута","заткнуто","заткнуты","затмлен","затмлена","затмлено","затмлены","затолкан","затолкана","затолкано","затолканы","затоплен","затоплена","затоплено","затоплены","затоптан","затоптана","затоптано","затоптаны","заторможен","заторможена","заторможено","заторможены","затороплен","затороплена","затороплено","затороплены","заточен","заточена","заточено","заточены","затошнен","затошнена","затошнено","затошнены","затравлен","затравлена","затравлено","затравлены","затрачен","затрачена","затрачено","затрачены","затребован","затребована","затребовано","затребованы","затронут","затронута","затронуто","затронуты","затруднен","затруднена","затруднено","затруднены","затуманен","затуманена","затуманено","затуманены","затушеван","затушевана","затушевано","затушеваны","затушен","затушена","затушено","затушены","затыкан","затыкана","затыкано","затыканы","затянут","затянута","затянуто","затянуты","заужен","заужена","заужено","заужены","заучен","заучена","заучено","заучены","зафиксирован","зафиксирована","зафиксировано","зафиксированы","зафрахтован","зафрахтована","зафрахтовано","зафрахтованы","захвачен","захвачена","захвачено","захвачены","захламлен","захламлена","захламлено","захламлены","захлестнут","захлестнута","захлестнуто","захлестнуты","захлопнут","захлопнута","захлопнуто","захлопнуты","захожен","захожена","захожено","захожены","захоронен","захоронена","захоронено","захоронены","зацеплен","зацеплена","зацеплено","зацеплены","зачарована","зачаровано","зачарованы","зачат","зачата","зачато","зачаты","зачеркнут","зачеркнута","зачеркнуто","зачеркнуты","зачерпнут","зачерпнута","зачерпнуто","зачерпнуты","зачесан","зачесана","зачесано","зачесаны","зачехлен","зачехлена","зачехлено","зачехлены","зачислен","зачислена","зачислено","зачислены","зачитан","зачитана","зачитано","зачитаны","зачищен","зачищена","зачищено","зачищены","зачтен","зачтена","зачтено","зачтены","зашаркан","зашаркана","зашаркано","зашарканы","зашвырнут","зашвырнута","зашвырнуто","зашвырнуты","зашевелен","зашевелена","зашевелено","зашевелены","зашептан","зашептана","зашептано","зашептаны","зашит","зашита","зашито","зашиты","зашифрована","зашифровано","зашифрованы","зашнурован","зашнурована","зашнуровано","зашнурованы","заштопан","заштопана","заштопано","заштопаны","зашторен","зашторена","зашторено","зашторены","заштрихован","заштрихована","заштриховано","заштрихованы","защелкнут","защелкнута","защелкнуто","защелкнуты","защемлен","защемлена","защемлено","защемлены","защипан","защипана","защипано","защипаны","защищен","защищена","защищено","защищены","заявлен","заявлена","заявлено","заявлены","звезданут","звезданута","звездануто","звездануты","идеализирован","идеализирована","идеализировано","идеализированы","идентифицирован","идентифицирована","идентифицировано","идентифицированы","избавлен","избавлена","избавлено","избавлены","избалован","избалована","избаловано","избалованы","избит","избита","избито","избиты","изборозжден","изборозждена","изборозждено","изборозждены","избран","избрана","избрано","избраны","изваян","изваяна","изваяно","изваяны","изведан","изведана","изведано","изведаны","извергнут","извергнута","извергнуто","извергнуты","извещен","извещена","извещено","извещены","извинен","извинена","извинено","извинены","извлечен","извлечена","извлечено","извлечены","извращен","извращена","извращено","извращены","изгажен","изгажена","изгажено","изгажены","изгнан","изгнана","изгнано","изгнаны","изготовлен","изготовлена","изготовлено","изготовлены","изгрызен","изгрызена","изгрызено","изгрызены","издерган","издергана","издергано","издерганы","изжарен","изжарена","изжарено","изжарены","изжит","изжита","изжито","изжиты","излажен","излажена","излажено","излажены","излечен","излечена","излечено","излечены","излит","излита","излито","излиты","изловлен","изловлена","изловлено","изловлены","изложен","изложена","изложено","изложены","изломан","изломана","изломано","изломаны","измазан","измазана","измазано","измазаны","измельчен","измельчена","измельчено","измельчены","изменен","изменена","изменено","изменены","измерен","измерена","измерено","измерены","измерян","измеряна","измеряно","измеряны","измотан","измотана","измотано","измотаны","измочален","измочалена","измочалено","измочалены","измучен","измучена","измучено","измучены","измышлен","измышлена","измышлено","измышлены","измят","измята","измято","измяты","изнасилован","изнасилована","изнасиловано","изнасилованы","изничтожен","изничтожена","изничтожено","изничтожены","изношен","изношена","изношено","изношены","изнурен","изнурена","изнурено","изнурены","изобличен","изобличена","изобличено","изобличены","изображен","изображена","изображено","изображены","изобретен","изобретена","изобретено","изобретены","изодран","изодрана","изодрано","изодраны","изолирован","изолирована","изолировано","изолированы","изорван","изорвана","изорвано","изорваны","изранен","изранена","изранено","изранены","израсходован","израсходована","израсходовано","израсходованы","изрезан","изрезана","изрезано","изрезаны","изречен","изречена","изречено","изречены","изрешечен","изрешечена","изрешечено","изрешечены","изрисован","изрисована","изрисовано","изрисованы","изрублен","изрублена","изрублено","изрублены","изрыт","изрыта","изрыто","изрыты","изувечен","изувечена","изувечено","изувечены","изукрашен","изукрашена","изукрашено","изукрашены","изумлен","изумлена","изумлено","изумлены","изуродован","изуродована","изуродовано","изуродованы","изучен","изучена","изучено","изучены","изъезжен","изъезжена","изъезжено","изъезжены","изъявлен","изъявлена","изъявлено","изъявлены","изъят","изъята","изъято","изъяты","изыскан","изыскана","изыскано","изысканы","иллюстрирован","иллюстрирована","иллюстрировано","иллюстрированы","иммобилизован","иммобилизована","иммобилизовано","иммобилизованы","иммунизирован","иммунизирована","иммунизировано","иммунизированы","импортирован","импортирована","импортировано","импортированы","инвестирован","инвестирована","инвестировано","инвестированы","индивидуализирован","индивидуализирована","индивидуализировано","индивидуализированы","индуцирован","индуцирована","индуцировано","индуцированы","инкорпорирован","инкорпорирована","инкорпорировано","инкорпорированы","инкриминирован","инкриминирована","инкриминировано","инкриминированы","инкрустирован","инкрустирована","инкрустировано","инкрустированы","инкубирован","инкубирована","инкубировано","инкубированы","инспирирован","инспирирована","инспирировано","инспирированы","инсценирован","инсценирована","инсценировано","инсценированы","интегрирован","интегрирована","интегрировано","интегрированы","интенсифицирован","интенсифицирована","интенсифицировано","интенсифицированы","интервьюирован","интервьюирована","интервьюировано","интервьюированы","интернирован","интернирована","интернировано","интернированы","интерпретирован","интерпретирована","интерпретировано","интерпретированы","интонирован","интонирована","интонировано","интонированы","инфицирован","инфицирована","инфицировано","инфицированы","информирован","информирована","информировано","информированы","искажен","искажена","искажено","искажены","искалечен","искалечена","искалечено","искалечены","исключен","исключена","исключено","исключены","исковеркан","исковеркана","исковеркано","исковерканы","исколот","исколота","исколото","исколоты","искорежен","искорежена","искорежено","искорежены","искоренен","искоренена","искоренено","искоренены","искривлен","искривлена","искривлено","искривлены","искромсан","искромсана","искромсано","искромсаны","искрошен","искрошена","искрошено","искрошены","искупан","искупана","искупано","искупаны","искуплен","искуплена","искуплено","искуплены","искусан","искусана","искусано","искусаны","искушен","искушена","искушено","искушены","испачкан","испачкана","испачкано","испачканы","испепелен","испепелена","испепелено","испепелены","испечен","испечена","испечено","испечены","испещрен","испещрена","испещрено","испещрены","исписан","исписана","исписано","исписаны","испит","испита","испито","испиты","исповедан","исповедана","исповедано","исповеданы","исповедован","исповедована","исповедовано","исповедованы","испоганен","испоганена","испоганено","испоганены","исполнен","исполнена","исполнено","исполнены","исполосован","исполосована","исполосовано","исполосованы","использован","использована","использовано","использованы","испорчен","испорчена","испорчено","испорчены","исправлен","исправлена","исправлено","исправлены","испробован","испробована","испробовано","испробованы","испрошен","испрошена","испрошено","испрошены","испуган","испугана","испугано","испуганы","испущен","испущена","испущено","испущены","испытан","испытана","испытано","испытаны","иссечен","иссечена","иссечено","иссечены","исследован","исследована","исследовано","исследованы","иссушен","иссушена","иссушено","иссушены","истерзан","истерзана","истерзано","истерзаны","истерт","истерта","истерто","истерты","истолкован","истолкована","истолковано","истолкованы","истончен","истончена","истончено","истончены","истоплен","истоплена","истоплено","истоплены","истоптан","истоптана","истоптано","истоптаны","исторгнут","исторгнута","исторгнуто","исторгнуты","источен","источена","источено","источены","истощен","истощена","истощено","истощены","истрачен","истрачена","истрачено","истрачены","истреблен","истреблена","истреблено","истреблены","истребован","истребована","истребовано","истребованы","истрепан","истрепана","истрепано","истрепаны","исхожен","исхожена","исхожено","исхожены","исцарапан","исцарапана","исцарапано","исцарапаны","исцелен","исцелена","исцелено","исцелены","исчеркан","исчеркана","исчеркано","исчерканы","исчерпан","исчерпана","исчерпано","исчерпаны","исчислен","исчислена","исчислено","исчислены","казнен","казнена","казнено","казнены","канонизирован","канонизирована","канонизировано","канонизированы","капитализирован","капитализирована","капитализировано","капитализированы","кастрирован","кастрирована","кастрировано","кастрированы","катализирован","катализирована","катализировано","катализированы","катапультирован","катапультирована","катапультировано","катапультированы","квалифицирован","квалифицирована","квалифицировано","квалифицированы","кинут","кинута","кинуто","кинуты","классифицирован","классифицирована","классифицировано","классифицированы","кликнут","кликнута","кликнуто","кликнуты","клюнут","клюнута","клюнуто","клюнуты","ковырнут","ковырнута","ковырнуто","ковырнуты","кодирован","кодирована","кодировано","кодированы","кокнут","кокнута","кокнуто","кокнуты","командирован","командирована","командировано","командированы","комиссован","комиссована","комиссовано","комиссованы","компенсирован","компенсирована","компенсировано","компенсированы","конвертирован","конвертирована","конвертировано","конвертированы","конденсирован","конденсирована","конденсировано","конденсированы","кондиционирован","кондиционирована","кондиционировано","кондиционированы","конкретизирован","конкретизирована","конкретизировано","конкретизированы","консолидирован","консолидирована","консолидировано","консолидированы","констатирован","констатирована","констатировано","констатированы","конституирован","конституирована","конституировано","конституированы","контратакован","контратакована","контратаковано","контратакованы","контужен","контужена","контужено","контужены","конфискован","конфискована","конфисковано","конфискованы","кончен","кончена","кончено","кончены","координирован","координирована","координировано","координированы","коронован","коронована","короновано","коронованы","коррумпирована","коррумпировано","коррумпированы","кредитован","кредитована","кредитовано","кредитованы","кремирован","кремирована","кремировано","кремированы","крещен","крещена","крещено","крещены","куплен","куплена","куплено","куплены","курнут","курнута","курнуто","курнуты","куснут","куснута","куснуто","куснуты","легализован","легализована","легализовано","легализованы","легирован","легирована","легировано","легированы","ликвидирован","ликвидирована","ликвидировано","ликвидированы","лимитирован","лимитирована","лимитировано","лимитированы","лишен","лишена","лишено","лишены","лоббирован","лоббирована","лоббировано","лоббированы","локализован","локализована","локализовано","локализованы","лягнут","лягнута","лягнуто","лягнуты","маркирован","маркирована","маркировано","маркированы","массирован","массирована","массировано","массированы","материализован","материализована","материализовано","материализованы","механизирован","механизирована","механизировано","механизированы","минимизирован","минимизирована","минимизировано","минимизированы","минирован","минирована","минировано","минированы","минован","минована","миновано","минованы","мистифицирован","мистифицирована","мистифицировано","мистифицированы","мобилизован","мобилизована","мобилизовано","мобилизованы","моделирован","моделирована","моделировано","моделированы","модернизирован","модернизирована","модернизировано","модернизированы","модифицирован","модифицирована","модифицировано","модифицированы","монополизирован","монополизирована","монополизировано","монополизированы","мотивирована","мотивировано","мотивированы","мотнут","мотнута","мотнуто","мотнуты","набеган","набегана","набегано","набеганы","набит","набита","набито","набиты","наболтан","наболтана","наболтано","наболтаны","набран","набрана","набрано","набраны","набросан","набросана","набросано","набросаны","наброшен","наброшена","наброшено","наброшены","навален","навалена","навалено","навалены","наварен","наварена","наварено","наварены","наведен","наведена","наведено","наведены","навезен","навезена","навезено","навезены","навернут","навернута","навернуто","навернуты","наверстан","наверстана","наверстано","наверстаны","навешан","навешана","навешано","навешаны","навешен","навешена","навешено","навешены","навещен","навещена","навещено","навещены","навеян","навеяна","навеяно","навеяны","навлечен","навлечена","навлечено","навлечены","наводнен","наводнена","наводнено","наводнены","наворован","наворована","наворовано","наворованы","наворочен","наворочена","наворочено","наворочены","навострен","навострена","навострено","навострены","навьючен","навьючена","навьючено","навьючены","навязан","навязана","навязано","навязаны","нагадан","нагадана","нагадано","нагаданы","нагажен","нагажена","нагажено","нагажены","нагнан","нагнана","нагнано","нагнаны","нагнут","нагнута","нагнуто","нагнуты","наговорен","наговорена","наговорено","наговорены","нагонян","нагоняна","нагоняно","нагоняны","наготовлен","наготовлена","наготовлено","наготовлены","награблен","награблена","награблено","награблены","награжден","награждена","награждено","награждены","нагрет","нагрета","нагрето","нагреты","нагромозжден","нагромозждена","нагромозждено","нагромозждены","нагружен","нагружена","нагружено","нагружены","нагулян","нагуляна","нагуляно","нагуляны","надавлен","надавлена","надавлено","надавлены","надвинут","надвинута","надвинуто","надвинуты","наделан","наделана","наделано","наделаны","надерган","надергана","надергано","надерганы","надет","надета","надето","надеты","надкушен","надкушена","надкушено","надкушены","надломлен","надломлена","надломлено","надломлены","надоен","надоена","надоено","надоены","надорван","надорвана","надорвано","надорваны","надоумлен","надоумлена","надоумлено","надоумлены","надписан","надписана","надписано","надписаны","надраен","надраена","надраено","надраены","надран","надрана","надрано","надраны","надрезан","надрезана","надрезано","надрезаны","надстроен","надстроена","надстроено","надстроены","надуман","надумана","надумано","надуманы","надут","надута","надуто","надуты","надушен","надушена","надушено","надушены","нажарен","нажарена","нажарено","нажарены","нажат","нажата","нажато","нажаты","нажит","нажита","нажито","нажиты","назван","названа","названо","названы","назначен","назначена","назначено","назначены","наигран","наиграна","наиграно","наиграны","наказан","наказана","наказано","наказаны","накален","накалена","накалено","накалены","накапан","накапана","накапано","накапаны","накаркан","накаркана","накаркано","накарканы","накатан","накатана","накатано","накатаны","накачан","накачана","накачано","накачаны","накачен","накачена","накачено","накачены","накидан","накидана","накидано","накиданы","накинут","накинута","накинуто","накинуты","наклеен","наклеена","наклеено","наклеены","накликан","накликана","накликано","накликаны","наклонен","наклонена","наклонено","наклонены","наковырян","наковыряна","наковыряно","наковыряны","наколот","наколота","наколото","наколоты","накопан","накопана","накопано","накопаны","накоплен","накоплена","накоплено","накоплены","накормлен","накормлена","накормлено","накормлены","накостылян","накостыляна","накостыляно","накостыляны","накошен","накошена","накошено","накошены","накрахмален","накрахмалена","накрахмалено","накрахмалены","накрашен","накрашена","накрашено","накрашены","накрошен","накрошена","накрошено","накрошены","накручен","накручена","накручено","накручены","накрыт","накрыта","накрыто","накрыты","накуплен","накуплена","накуплено","накуплены","накурен","накурена","накурено","накурены","налажен","налажена","налажено","налажены","налеплен","налеплена","налеплено","налеплены","налетан","налетана","налетано","налетаны","налит","налита","налито","налиты","наловлен","наловлена","наловлено","наловлены","наложен","наложена","наложено","наложены","наломан","наломана","наломано","наломаны","намагничен","намагничена","намагничено","намагничены","намазан","намазана","намазано","намазаны","намалеван","намалевана","намалевано","намалеваны","наметан","наметана","наметано","наметаны","наметен","наметена","наметено","наметены","намечен","намечена","намечено","намечены","намешан","намешана","намешано","намешаны","намозолен","намозолена","намозолено","намозолены","наморщен","наморщена","наморщено","наморщены","намотан","намотана","намотано","намотаны","намочен","намочена","намочено","намочены","намылен","намылена","намылено","намылены","намыт","намыта","намыто","намыты","намят","намята","намято","намяты","нанесен","нанесена","нанесено","нанесены","нанизан","нанизана","нанизано","нанизаны","наношен","наношена","наношено","наношены","нанят","нанята","нанято","наняты","напет","напета","напето","напеты","напечатан","напечатана","напечатано","напечатаны","напечен","напечена","напечено","напечены","напилен","напилена","напилено","напилены","написан","написана","написано","написаны","напитан","напитана","напитано","напитаны","напихан","напихана","напихано","напиханы","напичкан","напичкана","напичкано","напичканы","наплакан","наплакана","наплакано","наплаканы","наплеван","наплевана","наплевано","наплеваны","наплетен","наплетена","наплетено","наплетены","напложен","напложена","напложено","напложены","напоен","напоена","напоено","напоены","наползан","наползана","наползано","наползаны","наполнен","наполнена","наполнено","наполнены","напомажен","напомажена","напомажено","напомажены","напомнен","напомнена","напомнено","напомнены","напорчен","напорчена","напорчено","напорчены","направлен","направлена","направлено","направлены","напророчен","напророчена","напророчено","напророчены","напряжен","напряжена","напряжено","напряжены","напуган","напугана","напугано","напуганы","напудрен","напудрена","напудрено","напудрены","напутан","напутана","напутано","напутаны","напутствован","напутствована","напутствовано","напутствованы","напущен","напущена","напущено","напущены","напялен","напялена","напялено","напялены","наработан","наработана","наработано","наработаны","наращен","наращена","наращено","наращены","нарезан","нарезана","нарезано","нарезаны","наречен","наречена","наречено","наречены","нарисован","нарисована","нарисовано","нарисованы","нарожден","нарождена","нарождено","нарождены","нарублен","нарублена","нарублено","нарублены","нарушен","нарушена","нарушено","нарушены","нарыт","нарыта","нарыто","нарыты","наряжен","наряжена","наряжено","наряжены","насажден","насаждена","насаждено","насаждены","насажен","насажена","насажено","насажены","населен","населена","населено","населены","насижен","насижена","насижено","насижены","наскребен","наскребена","наскребено","наскребены","наслан","наслана","наслано","насланы","наследован","наследована","наследовано","наследованы","насмешен","насмешена","насмешено","насмешены","насобиран","насобирана","насобирано","насобираны","насован","насована","насовано","насованы","насолен","насолена","насолено","насолены","наставлен","наставлена","наставлено","наставлены","настелен","настелена","настелено","настелены","настигнут","настигнута","настигнуто","настигнуты","настоян","настояна","настояно","настояны","настроен","настроена","настроено","настроены","настрочен","настрочена","настрочено","настрочены","насуплен","насуплена","насуплено","насуплены","насчитан","насчитана","насчитано","насчитаны","насыщен","насыщена","насыщено","насыщены","натаскан","натаскана","натаскано","натасканы","натерт","натерта","натерто","натерты","натолкнут","натолкнута","натолкнуто","натолкнуты","натоплен","натоплена","натоплено","натоплены","натоптан","натоптана","натоптано","натоптаны","наточен","наточена","наточено","наточены","натравлен","натравлена","натравлено","натравлены","натренирован","натренирована","натренировано","натренированы","натружен","натружена","натружено","натружены","натыкан","натыкана","натыкано","натыканы","натянут","натянута","натянуто","натянуты","научен","научена","научено","научены","нафарширован","нафарширована","нафаршировано","нафаршированы","нахлобучен","нахлобучена","нахлобучено","нахлобучены","нахмурен","нахмурена","нахмурено","нахмурены","нахожен","нахожена","нахожено","нахожены","нахохлен","нахохлена","нахохлено","нахохлены","нацарапан","нацарапана","нацарапано","нацарапаны","нацежен","нацежена","нацежено","нацежены","нацелен","нацелена","нацелено","нацелены","нацеплен","нацеплена","нацеплено","нацеплены","национализирован","национализирована","национализировано","национализированы","начат","начата","начато","начаты","начертан","начертана","начертано","начертаны","начерчен","начерчена","начерчено","начерчены","начинен","начинена","начинено","начинены","начислен","начислена","начислено","начислены","начищен","начищена","начищено","начищены","нашарен","нашарена","нашарено","нашарены","нашептан","нашептана","нашептано","нашептаны","нашинкован","нашинкована","нашинковано","нашинкованы","нашит","нашита","нашито","нашиты","нашпигован","нашпигована","нашпиговано","нашпигованы","нащупан","нащупана","нащупано","нащупаны","наэлектризован","наэлектризована","наэлектризовано","наэлектризованы","невзлюблен","невзлюблена","невзлюблено","невзлюблены","недогляжен","недогляжена","недогляжено","недогляжены","недоговорен","недоговорена","недоговорено","недоговорены","недоделан","недоделана","недоделано","недоделаны","недооценен","недооценена","недооценено","недооценены","недопит","недопита","недопито","недопиты","недоплачен","недоплачена","недоплачено","недоплачены","недополучен","недополучена","недополучено","недополучены","недопонят","недопонята","недопонято","недопоняты","недосказан","недосказана","недосказано","недосказаны","недослышан","недослышана","недослышано","недослышаны","недосмотрен","недосмотрена","недосмотрено","недосмотрены","опосредован","опосредована","опосредовано","опосредованы","оптимизирован","оптимизирована","оптимизировано","оптимизированы","отслежен","отслежена","отслежено","отслежены","перечеркнут","перечеркнута","перечеркнуто","перечеркнуты","перечислен","перечислена","перечислено","перечислены","перечитан","перечитана","перечитано","перечитаны","перечтен","перечтена","перечтено","перечтены","перешит","перешита","перешито","перешиты","персонифицирован","персонифицирована","персонифицировано","персонифицированы","пикирован","пикирована","пикировано","пикированы","пленен","пленена","пленено","пленены","плеснут","плеснута","плеснуто","плеснуты","пнут","пнута","пнуто","пнуты","побалован","побалована","побаловано","побалованы","побежден","побеждена","побеждено","побеждены","побелен","побелена","побелено","побелены","побережен","побережена","побережено","побережены","побеспокоен","побеспокоена","побеспокоено","побеспокоены","побит","побита","побито","побиты","поблагодарен","поблагодарена","поблагодарено","поблагодарены","побрит","побрита","побрито","побриты","побросан","побросана","побросано","побросаны","побужден","побуждена","побуждено","побуждены","побужен","побужена","побужено","побужены","повален","повалена","повалено","повалены","поведан","поведана","поведано","поведаны","поведен","поведена","поведено","поведены","повезен","повезена","повезено","повезены","повенчан","повенчана","повенчано","повенчаны","повергнут","повергнута","повергнуто","повергнуты","поверен","поверена","поверено","поверены","повернут","повернута","повернуто","повернуты","поверчен","поверчена","поверчено","поверчены","повешен","повешена","повешено","повешены","повеян","повеяна","повеяно","повеяны","повидан","повидана","повидано","повиданы","поврежден","повреждена","повреждено","повреждены","повторен","повторена","повторено","повторены","повышен","повышена","повышено","повышены","повязан","повязана","повязано","повязаны","погашен","погашена","погашено","погашены","поглажен","поглажена","поглажено","поглажены","поглощен","поглощена","поглощено","поглощены","погнут","погнута","погнуто","погнуты","пограблен","пограблена","пограблено","пограблены","погребен","погребена","погребено","погребены","погрет","погрета","погрето","погреты","погружен","погружена","погружено","погружены","погрызен","погрызена","погрызено","погрызены","погублен","погублена","погублено","погублены","подавлен","подавлена","подавлено","подавлены","подарен","подарена","подарено","подарены","подбит","подбита","подбито","подбиты","подбодрен","подбодрена","подбодрено","подбодрены","подброшен","подброшена","подброшено","подброшены","подвален","подвалена","подвалено","подвалены","подведен","подведена","подведено","подведены","подвезен","подвезена","подвезено","подвезены","подвергнут","подвергнута","подвергнуто","подвергнуты","подвернут","подвернута","подвернуто","подвернуты","подвешен","подвешена","подвешено","подвешены","подвигнут","подвигнута","подвигнуто","подвигнуты","подвинут","подвинута","подвинуто","подвинуты","подвязан","подвязана","подвязано","подвязаны","подгляжен","подгляжена","подгляжено","подгляжены","подговорен","подговорена","подговорено","подговорены","подготовлен","подготовлена","подготовлено","подготовлены","подделан","подделана","подделано","подделаны","поддержан","поддержана","поддержано","поддержаны","поддернут","поддернута","поддернуто","поддернуты","поддет","поддета","поддето","поддеты","поделен","поделена","поделено","поделены","подерган","подергана","подергано","подерганы","подержан","подержана","подержано","подержаны","подернут","подернута","подернуто","подернуты","поджарен","поджарена","поджарено","поджарены","поджат","поджата","поджато","поджаты","подзаработан","подзаработана","подзаработано","подзаработаны","подкараулен","подкараулена","подкараулено","подкараулены","подкачан","подкачана","подкачано","подкачаны","подкачен","подкачена","подкачено","подкачены","подкинут","подкинута","подкинуто","подкинуты","подклеен","подклеена","подклеено","подклеены","подключен","подключена","подключено","подключены","подкован","подкована","подковано","подкованы","подколот","подколота","подколото","подколоты","подкоплен","подкоплена","подкоплено","подкоплены","подкормлен","подкормлена","подкормлено","подкормлены","подкошен","подкошена","подкошено","подкошены","подкрашен","подкрашена","подкрашено","подкрашены","подкреплен","подкреплена","подкреплено","подкреплены","подкручен","подкручена","подкручено","подкручены","подкуплен","подкуплена","подкуплено","подкуплены","подлатан","подлатана","подлатано","подлатаны","подлечен","подлечена","подлечено","подлечены","подлит","подлита","подлито","подлиты","подловлен","подловлена","подловлено","подловлены","подложен","подложена","подложено","подложены","подмазан","подмазана","подмазано","подмазаны","подменен","подменена","подменено","подменены","подметан","подметана","подметано","подметаны","подметен","подметена","подметено","подметены","подмечен","подмечена","подмечено","подмечены","подмешан","подмешана","подмешано","подмешаны","подморожен","подморожена","подморожено","подморожены","подмочен","подмочена","подмочено","подмочены","подмыт","подмыта","подмыто","подмыты","подмят","подмята","подмято","подмяты","поднажат","поднажата","поднажато","поднажаты","поднесен","поднесена","поднесено","поднесены","подновлен","подновлена","подновлено","подновлены","подношен","подношена","подношено","подношены","поднят","поднята","поднято","подняты","подобран","подобрана","подобрано","подобраны","подогнан","подогнана","подогнано","подогнаны","подогнут","подогнута","подогнуто","подогнуты","подогрет","подогрета","подогрето","подогреты","пододвинут","пододвинута","пододвинуто","пододвинуты","подоен","подоена","подоено","подоены","подожжен","подожжена","подожжено","подожжены","подозван","подозвана","подозвано","подозваны","подорван","подорвана","подорвано","подорваны","подослан","подослана","подослано","подосланы","подоткнут","подоткнута","подоткнуто","подоткнуты","подпален","подпалена","подпалено","подпалены","подперт","подперта","подперто","подперты","подпилен","подпилена","подпилено","подпилены","подписан","подписана","подписано","подписаны","подпорчен","подпорчена","подпорчено","подпорчены","подпоясан","подпоясана","подпоясано","подпоясаны","подправлен","подправлена","подправлено","подправлены","подпущен","подпущена","подпущено","подпущены","подразделен","подразделена","подразделено","подразделены","подран","подрана","подрано","подраны","подрезан","подрезана","подрезано","подрезаны","подровнян","подровняна","подровняно","подровняны","подрублен","подрублена","подрублено","подрублены","подрулен","подрулена","подрулено","подрулены","подрумянен","подрумянена","подрумянено","подрумянены","подсажен","подсажена","подсажено","подсажены","подсвечен","подсвечена","подсвечено","подсвечены","подселен","подселена","подселено","подселены","подсечен","подсечена","подсечено","подсечены","подсказан","подсказана","подсказано","подсказаны","подслащен","подслащена","подслащено","подслащены","подслушан","подслушана","подслушано","подслушаны","подсмотрен","подсмотрена","подсмотрено","подсмотрены","подсоединен","подсоединена","подсоединено","подсоединены","подсолен","подсолена","подсолено","подсолены","подставлен","подставлена","подставлено","подставлены","подстегнут","подстегнута","подстегнуто","подстегнуты","подстелен","подстелена","подстелено","подстелены","подстережен","подстережена","подстережено","подстережены","подстрелен","подстрелена","подстрелено","подстрелены","подстрижен","подстрижена","подстрижено","подстрижены","подстроен","подстроена","подстроено","подстроены","подсунут","подсунута","подсунуто","подсунуты","подсушен","подсушена","подсушено","подсушены","подсчитан","подсчитана","подсчитано","подсчитаны","подтащен","подтащена","подтащено","подтащены","подтвержден","подтверждена","подтверждено","подтверждены","подтолкнут","подтолкнута","подтолкнуто","подтолкнуты","подточен","подточена","подточено","подточены","подтыкан","подтыкана","подтыкано","подтыканы","подтянут","подтянута","подтянуто","подтянуты","подучен","подучена","подучено","подучены","подхвачен","подхвачена","подхвачено","подхвачены","подцеплен","подцеплена","подцеплено","подцеплены","подчеркнут","подчеркнута","подчеркнуто","подчеркнуты","подчинен","подчинена","подчинено","подчинены","подчищен","подчищена","подчищено","подчищены","подшит","подшита","подшито","подшиты","подыгран","подыграна","подыграно","подыграны","подытожен","подытожена","подытожено","подытожены","пожалован","пожалована","пожаловано","пожалованы","пожарен","пожарена","пожарено","пожарены","пожат","пожата","пожато","пожаты","пожеван","пожевана","пожевано","пожеваны","пожертвован","пожертвована","пожертвовано","пожертвованы","пожран","пожрана","пожрано","пожраны","пожурен","пожурена","пожурено","пожурены","позабавлен","позабавлена","позабавлено","позабавлены","позаимствован","позаимствована","позаимствовано","позаимствованы","позван","позвана","позвано","позваны","позволен","позволена","позволено","позволены","поздравлен","поздравлена","поздравлено","поздравлены","позиционирован","позиционирована","позиционировано","позиционированы","познакомлен","познакомлена","познакомлено","познакомлены","познан","познана","познано","познаны","позолочен","позолочена","позолочено","позолочены","поигран","поиграна","поиграно","поиграны","поименован","поименована","поименовано","поименованы","пойман","поймана","поймано","пойманы","показан","показана","показано","показаны","покалечен","покалечена","покалечено","покалечены","покатан","покатана","покатано","покатаны","покачан","покачана","покачано","покачаны","покачен","покачена","покачено","покачены","покидан","покидана","покидано","покиданы","покинут","покинута","покинуто","покинуты","поклеван","поклевана","поклевано","поклеваны","поколебан","поколебана","поколебано","поколебаны","поколочен","поколочена","поколочено","поколочены","покончен","покончена","покончено","покончены","покорежен","покорежена","покорежено","покорежены","покорен","покорена","покорено","покорены","покормлен","покормлена","покормлено","покормлены","покороблен","покороблена","покороблено","покороблены","покошен","покошена","покошено","покошены","покрашен","покрашена","покрашено","покрашены","покривлен","покривлена","покривлено","покривлены","покритикован","покритикована","покритиковано","покритикованы","покрошен","покрошена","покрошено","покрошены","покружен","покружена","покружено","покружены","покручен","покручена","покручено","покручены","покрыт","покрыта","покрыто","покрыты","покупан","покупана","покупано","покупаны","покурен","покурена","покурено","покурены","покусан","покусана","покусано","покусаны","покушан","покушана","покушано","покушаны","полажен","полажена","полажено","полажены","полечен","полечена","полечено","полечены","полит","полита","полито","политы","половлен","половлена","половлено","половлены","положен","положена","положено","положены","поломан","поломана","поломано","поломаны","полоснут","полоснута","полоснуто","полоснуты","получен","получена","получено","получены","поляризован","поляризована","поляризовано","поляризованы","помазан","помазана","помазано","помазаны","помассирован","помассирована","помассировано","помассированы","поменян","поменяна","поменяно","поменяны","померен","померена","померено","померены","помечен","помечена","помечено","помечены","помешан","помешана","помешано","помешаны","помещен","помещена","помещено","помещены","помилован","помилована","помиловано","помилованы","помножен","помножена","помножено","помножены","помолвлен","помолвлена","помолвлено","помолвлены","помотан","помотана","помотано","помотаны","помрачен","помрачена","помрачено","помрачены","помыт","помыта","помыто","помыты","помянут","помянута","помянуто","помянуты","понаделан","понаделана","понаделано","понаделаны","понастроен","понастроена","понастроено","понастроены","понесен","понесена","понесено","понесены","понижен","понижена","понижено","понижены","поношена","поношено","поношены","понят","понята","понято","поняты","пообещан","пообещана","пообещано","пообещаны","поощрен","поощрена","поощрено","поощрены","поперчен","поперчена","поперчено","поперчены","попет","попета","попето","попеты","пописан","пописана","пописано","пописаны","попит","попита","попито","попиты","пополнен","пополнена","пополнено","пополнены","попорчен","попорчена","попорчено","попорчены","поправлен","поправлена","поправлено","поправлены","попран","попрана","попрано","попраны","попрекнут","попрекнута","попрекнуто","попрекнуты","поприветствован","поприветствована","поприветствовано","поприветствованы","попробован","попробована","попробовано","попробованы","попрошен","попрошена","попрошено","попрошены","попуган","попугана","попугано","попуганы","популяризирован","популяризирована","популяризировано","популяризированы","попутан","попутана","попутано","попутаны","порабощен","порабощена","порабощено","порабощены","порадован","порадована","порадовано","порадованы","поражен","поражена","поражено","поражены","поранен","поранена","поранено","поранены","пораскинут","пораскинута","пораскинуто","пораскинуты","порассказан","порассказана","порассказано","порассказаны","порасспрошен","порасспрошена","порасспрошено","порасспрошены","порван","порвана","порвано","порваны","порезан","порезана","порезано","порезаны","порекомендован","порекомендована","порекомендовано","порекомендованы","порешен","порешена","порешено","порешены","порожден","порождена","порождено","порождены","порубан","порубана","порубано","порубаны","порублен","порублена","порублено","порублены","поруган","поругана","поругано","поруганы","поручен","поручена","поручено","поручены","порушен","порушена","порушено","порушены","посажен","посажена","посажено","посажены","посвящен","посвящена","посвящено","посвящены","поселен","поселена","поселено","поселены","посеребрен","посеребрена","посеребрено","посеребрены","посещен","посещена","посещено","посещены","посеян","посеяна","посеяно","посеяны","поскребен","поскребена","поскребено","поскребены","послан","послана","послано","посланы","послушан","послушана","послушано","послушаны","посмотрен","посмотрена","посмотрено","посмотрены","посниман","поснимана","поснимано","посниманы","посолен","посолена","посолено","посолены","пососан","пососана","пососано","пососаны","посрамлен","посрамлена","посрамлено","посрамлены","поставлен","поставлена","поставлено","поставлены","постановлен","постановлена","постановлено","постановлены","постелен","постелена","постелено","постелены","постигнут","постигнута","постигнуто","постигнуты","постиран","постирана","постирано","постираны","пострелян","постреляна","постреляно","постреляны","пострижен","пострижена","пострижено","пострижены","построен","построена","построено","построены","постулирован","постулирована","постулировано","постулированы","посчитан","посчитана","посчитано","посчитаны","потереблен","потереблена","потереблено","потереблены","потерплен","потерплена","потерплено","потерплены","потерт","потерта","потерто","потерты","потерян","потеряна","потеряно","потеряны","потеснен","потеснена","потеснено","потеснены","потешен","потешена","потешено","потешены","потискан","потискана","потискано","потисканы","потоплен","потоплена","потоплено","потоплены","потоптан","потоптана","потоптано","потоптаны","потороплен","потороплена","потороплено","потороплены","потравлен","потравлена","потравлено","потравлены","потрачен","потрачена","потрачено","потрачены","потреблен","потреблена","потреблено","потреблены","потребован","потребована","потребовано","потребованы","потревожен","потревожена","потревожено","потревожены","потрепан","потрепана","потрепано","потрепаны","потроган","потрогана","потрогано","потроганы","потрушен","потрушена","потрушено","потрушены","потрясен","потрясена","потрясено","потрясены","потуплен","потуплена","потуплено","потуплены","потушен","потушена","потушено","потушены","потыкан","потыкана","потыкано","потыканы","потянут","потянута","потянуто","потянуты","поубавлен","поубавлена","поубавлено","поубавлены","поучен","поучена","поучено","поучены","похвален","похвалена","похвалено","похвалены","похерен","похерена","похерено","похерены","похищен","похищена","похищено","похищены","похлебан","похлебана","похлебано","похлебаны","похлопан","похлопана","похлопано","похлопаны","похоронен","похоронена","похоронено","похоронены","поцарапан","поцарапана","поцарапано","поцарапаны","поцелован","поцелована","поцеловано","поцелованы","почат","почата","почато","початы","почерпнут","почерпнута","почерпнуто","почерпнуты","почесан","почесана","почесано","почесаны","починен","починена","починено","починены","почитан","почитана","почитано","почитаны","почищен","почищена","почищено","почищены","почтен","почтена","почтено","почтены","почувствован","почувствована","почувствовано","почувствованы","пошатнут","пошатнута","пошатнуто","пошатнуты","пошевелен","пошевелена","пошевелено","пошевелены","пошит","пошита","пошито","пошиты","пощелкан","пощелкана","пощелкано","пощелканы","пощипан","пощипана","пощипано","пощипаны","пощупан","пощупана","пощупано","пощупаны","пояснен","пояснена","пояснено","пояснены","превозможен","превозможена","превозможено","превозможены","превращен","превращена","превращено","превращены","превышен","превышена","превышено","превышены","прегражен","прегражена","прегражено","прегражены","предварен","предварена","предварено","предварены","предвосхищен","предвосхищена","предвосхищено","предвосхищены","предложен","предложена","предложено","предложены","предназначен","предназначена","предназначено","предназначены","предначертан","предначертана","предначертано","предначертаны","предопределен","предопределена","предопределено","предопределены","предоставлен","предоставлена","предоставлено","предоставлены","предостережен","предостережена","предостережено","предостережены","предотвращен","предотвращена","предотвращено","предотвращены","предохранен","предохранена","предохранено","предохранены","предписан","предписана","предписано","предписаны","предположен","предположена","предположено","предположены","предпослан","предпослана","предпослано","предпосланы","предпочтен","предпочтена","предпочтено","предпочтены","предпринят","предпринята","предпринято","предприняты","предрасположен","предрасположена","предрасположено","предрасположены","предречен","предречена","предречено","предречены","предрешен","предрешена","предрешено","предрешены","предсказан","предсказана","предсказано","предсказаны","представлен","представлена","представлено","представлены","предугадан","предугадана","предугадано","предугаданы","предубежден","предубеждена","предубеждено","предубеждены","предусмотрен","предусмотрена","предусмотрено","предусмотрены","предъявлен","предъявлена","предъявлено","предъявлены","презентован","презентована","презентовано","презентованы","преисполнен","преисполнена","преисполнено","преисполнены","преклонен","преклонена","преклонено","преклонены","прекращен","прекращена","прекращено","прекращены","преломлен","преломлена","преломлено","преломлены","прельщен","прельщена","прельщено","прельщены","премирован","премирована","премировано","премированы","преображен","преображена","преображено","преображены","преодолен","преодолена","преодолено","преодолены","препарирован","препарирована","препарировано","препарированы","преподнесен","преподнесена","преподнесено","преподнесены","препровожен","препровожена","препровожено","препровожены","прерван","прервана","прервано","прерваны","пресечен","пресечена","пресечено","пресечены","преступлен","преступлена","преступлено","преступлены","претворен","претворена","претворено","претворены","претерплен","претерплена","претерплено","претерплены","преувеличен","преувеличена","преувеличено","преувеличены","прибавлен","прибавлена","прибавлено","прибавлены","прибережен","прибережена","прибережено","прибережены","прибит","прибита","прибито","прибиты","приближен","приближена","приближено","приближены","прибран","прибрана","прибрано","прибраны","привален","привалена","привалено","привалены","приварен","приварена","приварено","приварены","приведен","приведена","приведено","приведены","привезен","привезена","привезено","привезены","привешен","привешена","привешено","привешены","привинчен","привинчена","привинчено","привинчены","привит","привита","привито","привиты","привлечен","привлечена","привлечено","привлечены","привнесен","привнесена","привнесено","привнесены","приворожен","приворожена","приворожено","приворожены","привязан","привязана","привязано","привязаны","пригвозжен","пригвозжена","пригвозжено","пригвозжены","приглажен","приглажена","приглажено","приглажены","приглашен","приглашена","приглашено","приглашены","приглушен","приглушена","приглушено","приглушены","пригнан","пригнана","пригнано","пригнаны","пригнут","пригнута","пригнуто","пригнуты","приговорен","приговорена","приговорено","приговорены","приголублен","приголублена","приголублено","приголублены","приготовлен","приготовлена","приготовлено","приготовлены","пригрет","пригрета","пригрето","пригреты","пригублен","пригублена","пригублено","пригублены","придавлен","придавлена","придавлено","придавлены","придвинут","придвинута","придвинуто","придвинуты","приделан","приделана","приделано","приделаны","придержан","придержана","придержано","придержаны","придуман","придумана","придумано","придуманы","придушен","придушена","придушено","придушены","прижат","прижата","прижато","прижаты","прижит","прижита","прижито","прижиты","призван","призвана","призвано","призваны","приземлен","приземлена","приземлено","приземлены","признан","признана","признано","признаны","приказан","приказана","приказано","приказаны","прикарманен","прикарманена","прикарманено","прикарманены","прикачен","прикачена","прикачено","прикачены","прикинут","прикинута","прикинуто","прикинуты","приклеен","приклеена","приклеено","приклеены","приклонен","приклонена","приклонено","приклонены","прикован","прикована","приковано","прикованы","приколот","приколота","приколото","приколоты","приколочен","приколочена","приколочено","приколочены","прикомандирован","прикомандирована","прикомандировано","прикомандированы","прикончен","прикончена","прикончено","прикончены","прикормлен","прикормлена","прикормлено","прикормлены","прикреплен","прикреплена","прикреплено","прикреплены","прикручен","прикручена","прикручено","прикручены","прикрыт","прикрыта","прикрыто","прикрыты","прикуплен","прикуплена","прикуплено","прикуплены","прикушен","прикушена","прикушено","прикушены","прилажен","прилажена","прилажено","прилажены","приласкан","приласкана","приласкано","приласканы","прилеплен","прилеплена","прилеплено","прилеплены","прилит","прилита","прилито","прилиты","приложен","приложена","приложено","приложены","приманен","приманена","приманено","приманены","применен","применена","применено","применены","примерен","примерена","примерено","примерены","примерян","примеряна","примеряно","примеряны","примечен","примечена","примечено","примечены","примирен","примирена","примирено","примирены","приморожен","приморожена","приморожено","приморожены","примотан","примотана","примотано","примотаны","примят","примята","примято","примяты","принаряжен","принаряжена","принаряжено","принаряжены","принесен","принесена","принесено","принесены","принижен","принижена","принижено","принижены","принужден","принуждена","принуждено","принуждены","принят","принята","принято","приняты","приободрен","приободрена","приободрено","приободрены","приобретен","приобретена","приобретено","приобретены","приобщен","приобщена","приобщено","приобщены","приодет","приодета","приодето","приодеты","приостановлен","приостановлена","приостановлено","приостановлены","приотворен","приотворена","приотворено","приотворены","приоткрыт","приоткрыта","приоткрыто","приоткрыты","припаркован","припаркована","припарковано","припаркованы","припасен","припасена","припасено","припасены","припаян","припаяна","припаяно","припаяны","приперт","приперта","приперто","приперты","припечатан","припечатана","припечатано","припечатаны","припечен","припечена","припечено","припечены","приписан","приписана","приписано","приписаны","приплетен","приплетена","приплетено","приплетены","приплюснут","приплюснута","приплюснуто","приплюснуты","приплюсован","приплюсована","приплюсовано","приплюсованы","приподнят","приподнята","приподнято","приподняты","припомнен","припомнена","припомнено","припомнены","припорошен","припорошена","припорошено","припорошены","приправлен","приправлена","приправлено","приправлены","припрятан","припрятана","припрятано","припрятаны","припудрен","припудрена","припудрено","припудрены","припущен","припущена","припущено","припущены","приравнян","приравняна","приравняно","приравняны","приревнован","приревнована","приревновано","приревнованы","прирезан","прирезана","прирезано","прирезаны","пририсован","пририсована","пририсовано","пририсованы","приручен","приручена","приручено","приручены","присвоен","присвоена","присвоено","присвоены","прислан","прислана","прислано","присланы","прислонен","прислонена","прислонено","прислонены","присмотрен","присмотрена","присмотрено","присмотрены","присобачен","присобачена","присобачено","присобачены","присовокуплен","присовокуплена","присовокуплено","присовокуплены","присоединен","присоединена","присоединено","присоединены","присочинен","присочинена","присочинено","присочинены","приспособлен","приспособлена","приспособлено","приспособлены","приспущен","приспущена","приспущено","приспущены","приставлен","приставлена","приставлено","приставлены","пристегнут","пристегнута","пристегнуто","пристегнуты","пристрелен","пристрелена","пристрелено","пристрелены","пристрелян","пристреляна","пристреляно","пристреляны","пристроен","пристроена","пристроено","пристроены","приструнен","приструнена","приструнено","приструнены","пристукнут","пристукнута","пристукнуто","пристукнуты","пристыжен","пристыжена","пристыжено","пристыжены","присужден","присуждена","присуждено","присуждены","притащен","притащена","притащено","притащены","притворен","притворена","притворено","притворены","притерт","притерта","притерто","притерты","притиснут","притиснута","притиснуто","притиснуты","приткнут","приткнута","приткнуто","приткнуты","притоптан","притоптана","притоптано","притоптаны","приторможен","приторможена","приторможено","приторможены","притуплен","притуплена","притуплено","притуплены","притянут","притянута","притянуто","притянуты","приукрашен","приукрашена","приукрашено","приукрашены","приумножен","приумножена","приумножено","приумножены","приурочен","приурочена","приурочено","приурочены","приучен","приучена","приучено","приучены","прихвастнут","прихвастнута","прихвастнуто","прихвастнуты","прихвачен","прихвачена","прихвачено","прихвачены","прихлопнут","прихлопнута","прихлопнуто","прихлопнуты","прицеплен","прицеплена","прицеплено","прицеплены","причален","причалена","причалено","причалены","причащен","причащена","причащено","причащены","причесан","причесана","причесано","причесаны","причинен","причинена","причинено","причинены","причислен","причислена","причислено","причислены","пришит","пришита","пришито","пришиты","пришпилен","пришпилена","пришпилено","пришпилены","пришпорен","пришпорена","пришпорено","пришпорены","прищелкнут","прищелкнута","прищелкнуто","прищелкнуты","прищемлен","прищемлена","прищемлено","прищемлены","прищурен","прищурена","прищурено","прищурены","прищучен","прищучена","прищучено","прищучены","проанализирован","проанализирована","проанализировано","проанализированы","пробит","пробита","пробито","пробиты","проварен","проварена","проварено","проварены","проведан","проведана","проведано","проведаны","проведен","проведена","проведено","проведены","провезен","провезена","провезено","провезены","проверен","проверена","проверено","проверены","провернут","провернута","провернуто","провернуты","проветрен","проветрена","проветрено","проветрены","провозглашен","провозглашена","провозглашено","провозглашены","проглочен","проглочена","проглочено","проглочены","прогнан","прогнана","прогнано","прогнаны","прогнусавлен","прогнусавлена","прогнусавлено","прогнусавлены","проговорен","проговорена","проговорено","проговорены","прогрет","прогрета","прогрето","прогреты","прогрызен","прогрызена","прогрызено","прогрызены","прогулян","прогуляна","прогуляно","прогуляны","продавлен","продавлена","продавлено","продавлены","продвинут","продвинута","продвинуто","продвинуты","продезинфицирован","продезинфицирована","продезинфицировано","продезинфицированы","продекламирован","продекламирована","продекламировано","продекламированы","проделан","проделана","проделано","проделаны","продемонстрирован","продемонстрирована","продемонстрировано","продемонстрированы","продержан","продержана","продержано","продержаны","продернут","продернута","продернуто","продернуты","продет","продета","продето","продеты","продешевлен","продешевлена","продешевлено","продешевлены","продиктован","продиктована","продиктовано","продиктованы","продлен","продлена","продлено","продлены","продолжен","продолжена","продолжено","продолжены","продран","продрана","продрано","продраны","продублирован","продублирована","продублировано","продублированы","продуман","продумана","продумано","продуманы","продут","продута","продуто","продуты","продырявлен","продырявлена","продырявлено","продырявлены","прожарен","прожарена","прожарено","прожарены","прожеван","прожевана","прожевано","прожеваны","прожит","прожита","прожито","прожиты","прозван","прозвана","прозвано","прозваны","прозвонен","прозвонена","прозвонено","прозвонены","прознан","прознана","прознано","прознаны","проигран","проиграна","проиграно","проиграны","произведен","произведена","произведено","произведены","произнесен","произнесена","произнесено","произнесены","проиллюстрирован","проиллюстрирована","проиллюстрировано","проиллюстрированы","проинструктирован","проинструктирована","проинструктировано","проинструктированы","проинформирован","проинформирована","проинформировано","проинформированы","прокален","прокалена","прокалено","прокалены","прокатан","прокатана","прокатано","прокатаны","прокачан","прокачана","прокачано","прокачаны","прокачен","прокачена","прокачено","прокачены","прокипячен","прокипячена","прокипячено","прокипячены","проколот","проколота","проколото","проколоты","прокомментирован","прокомментирована","прокомментировано","прокомментированы","проконсультирован","проконсультирована","проконсультировано","проконсультированы","проконтролирован","проконтролирована","проконтролировано","проконтролированы","прокопан","прокопана","прокопано","прокопаны","прокопчен","прокопчена","прокопчено","прокопчены","прокручен","прокручена","прокручено","прокручены","прокурен","прокурена","прокурено","прокурены","прокушен","прокушена","прокушено","прокушены","пролечен","пролечена","пролечено","пролечены","пролистан","пролистана","пролистано","пролистаны","пролит","пролита","пролито","пролиты","проложен","проложена","проложено","проложены","проломлен","проломлена","проломлено","проломлены","пролонгирован","пролонгирована","пролонгировано","пролонгированы","промазан","промазана","промазано","промазаны","променян","променяна","променяно","променяны","промокнут","промокнута","промокнуто","промокнуты","промолвлен","промолвлена","промолвлено","промолвлены","проморожен","проморожена","проморожено","проморожены","промотан","промотана","промотано","промотаны","промочен","промочена","промочено","промочены","промыт","промыта","промыто","промыты","промямлен","промямлена","промямлено","промямлены","пронесен","пронесена","пронесено","пронесены","пронзен","пронзена","пронзено","пронзены","пронизан","пронизана","пронизано","пронизаны","проношен","проношена","проношено","проношены","пронумерован","пронумерована","пронумеровано","пронумерованы","пронюхан","пронюхана","пронюхано","пронюханы","пропахан","пропахана","пропахано","пропаханы","пропет","пропета","пропето","пропеты","пропечатан","пропечатана","пропечатано","пропечатаны","прописан","прописана","прописано","прописаны","пропит","пропита","пропито","пропиты","пропитан","пропитана","пропитано","пропитаны","пропихнут","пропихнута","пропихнуто","пропихнуты","проплакан","проплакана","проплакано","проплаканы","проплыт","проплыта","проплыто","проплыты","прополоскан","прополоскана","прополоскано","прополосканы","прополот","прополота","прополото","прополоты","пропорот","пропорота","пропорото","пропороты","пропущен","пропущена","пропущено","пропущены","пропылен","пропылена","пропылено","пропылены","проработан","проработана","проработано","проработаны","прорван","прорвана","прорвано","прорваны","прорежен","прорежена","прорежено","прорежены","прорезан","прорезана","прорезано","прорезаны","прорисован","прорисована","прорисовано","прорисованы","проронен","проронена","проронено","проронены","прорублен","прорублена","прорублено","прорублены","прорыт","прорыта","прорыто","прорыты","просажен","просажена","просажено","просажены","просверлен","просверлена","просверлено","просверлены","просветлен","просветлена","просветлено","просветлены","просвечен","просвечена","просвечено","просвечены","просвещен","просвещена","просвещено","просвещены","просвищен","просвищена","просвищено","просвищены","просечен","просечена","просечено","просечены","просеян","просеяна","просеяно","просеяны","просигнален","просигналена","просигналено","просигналены","просижен","просижена","просижено","просижены","просиплен","просиплена","просиплено","просиплены","прославлен","прославлена","прославлено","прославлены","прослежен","прослежена","прослежено","прослежены","прослушан","прослушана","прослушано","прослушаны","прослышан","прослышана","прослышано","прослышаны","просмолен","просмолена","просмолено","просмолены","просмотрен","просмотрена","просмотрено","просмотрены","просолен","просолена","просолено","просолены","просрочен","просрочена","просрочено","просрочены","проставлен","проставлена","проставлено","проставлены","простерт","простерта","простерто","простерты","простиран","простирана","простирано","простираны","прострелен","прострелена","прострелено","прострелены","прострочен","прострочена","прострочено","прострочены","простужен","простужена","простужено","простужены","простучан","простучана","простучано","простучаны","просунут","просунута","просунуто","просунуты","просушен","просушена","просушено","просушены","просчитан","просчитана","просчитано","просчитаны","протаранен","протаранена","протаранено","протаранены","протащен","протащена","протащено","протащены","протерт","протерта","протерто","протерты","противопоставлен","противопоставлена","противопоставлено","противопоставлены","проткнут","проткнута","проткнуто","проткнуты","протолкнут","протолкнута","протолкнуто","протолкнуты","протоплен","протоплена","протоплено","протоплены","протоптан","протоптана","протоптано","протоптаны","проторен","проторена","проторено","проторены","протыкан","протыкана","протыкано","протыканы","протянут","протянута","протянуто","протянуты","проучен","проучена","проучено","проучены","профильтрован","профильтрована","профильтровано","профильтрованы","профинансирован","профинансирована","профинансировано","профинансированы","профукан","профукана","профукано","профуканы","прохвачен","прохвачена","прохвачено","прохвачены","прохриплен","прохриплена","прохриплено","прохриплены","процарапан","процарапана","процарапано","процарапаны","процежен","процежена","процежено","процежены","процитирован","процитирована","процитировано","процитированы","прочерчен","прочерчена","прочерчено","прочерчены","прочесан","прочесана","прочесано","прочесаны","прочитан","прочитана","прочитано","прочитаны","прочищен","прочищена","прочищено","прочищены","прочтен","прочтена","прочтено","прочтены","прочувствован","прочувствована","прочувствовано","прочувствованы","прошаган","прошагана","прошагано","прошаганы","прошамкан","прошамкана","прошамкано","прошамканы","прошептан","прошептана","прошептано","прошептаны","прошиплен","прошиплена","прошиплено","прошиплены","прошит","прошита","прошито","прошиты","прошляплен","прошляплена","прошляплено","прошляплены","проштудирован","проштудирована","проштудировано","проштудированы","прощен","прощена","прощено","прощены","прощупан","прощупана","прощупано","прощупаны","проявлен","проявлена","проявлено","проявлены","прояснен","прояснена","прояснено","прояснены","пущен","пущена","пущено","пущены","пырнут","пырнута","пырнуто","пырнуты","радирован","радирована","радировано","радированы","разбавлен","разбавлена","разбавлено","разбавлены","разбазарен","разбазарена","разбазарено","разбазарены","разбережен","разбережена","разбережено","разбережены","разбит","разбита","разбито","разбиты","разболтан","разболтана","разболтано","разболтаны","разбомблен","разбомблена","разбомблено","разбомблены","разбросан","разбросана","разбросано","разбросаны","разбужен","разбужена","разбужено","разбужены","развален","развалена","развалено","развалены","разварен","разварена","разварено","разварены","разведан","разведана","разведано","разведаны","разведен","разведена","разведено","разведены","развезен","развезена","развезено","развезены","развенчан","развенчана","развенчано","развенчаны","развернут","развернута","развернуто","развернуты","развеселен","развеселена","развеселено","развеселены","развешан","развешана","развешано","развешаны","развешен","развешена","развешено","развешены","развеян","развеяна","развеяно","развеяны","развинчен","развинчена","развинчено","развинчены","развит","развита","развито","развиты","развлечен","развлечена","развлечено","развлечены","разворован","разворована","разворовано","разворованы","разворочен","разворочена","разворочено","разворочены","разворошен","разворошена","разворошено","разворошены","развращен","развращена","развращено","развращены","развязан","развязана","развязано","развязаны","разгадан","разгадана","разгадано","разгаданы","разглажен","разглажена","разглажено","разглажены","разглашен","разглашена","разглашено","разглашены","разгневан","разгневана","разгневано","разгневаны","разговорен","разговорена","разговорено","разговорены","разгорожен","разгорожена","разгорожено","разгорожены","разгорячен","разгорячена","разгорячено","разгорячены","разграблен","разграблена","разграблено","разграблены","разграничен","разграничена","разграничено","разграничены","разграфлен","разграфлена","разграфлено","разграфлены","разгребен","разгребена","разгребено","разгребены","разгромлен","разгромлена","разгромлено","разгромлены","разгружен","разгружена","разгружено","разгружены","разгрызен","разгрызена","разгрызено","разгрызены","раздавлен","раздавлена","раздавлено","раздавлены","раздарен","раздарена","раздарено","раздарены","раздвинут","раздвинута","раздвинуто","раздвинуты","раздвоен","раздвоена","раздвоено","раздвоены","разделан","разделана","разделано","разделаны","разделен","разделена","разделено","разделены","раздернут","раздернута","раздернуто","раздернуты","раздет","раздета","раздето","раздеты","раздолбан","раздолбана","раздолбано","раздолбаны","раздосадован","раздосадована","раздосадовано","раздосадованы","раздражен","раздражена","раздражено","раздражены","раздроблен","раздроблена","раздроблено","раздроблены","раздут","раздута","раздуто","раздуты","разжалоблен","разжалоблена","разжалоблено","разжалоблены","разжалован","разжалована","разжаловано","разжалованы","разжат","разжата","разжато","разжаты","разжеван","разжевана","разжевано","разжеваны","раззадорен","раззадорена","раззадорено","раззадорены","раззявлен","раззявлена","раззявлено","раззявлены","разинут","разинута","разинуто","разинуты","разлеплен","разлеплена","разлеплено","разлеплены","разлинован","разлинована","разлиновано","разлинованы","разлит","разлита","разлито","разлиты","различен","различена","различено","различены","разложен","разложена","разложено","разложены","разломан","разломана","разломано","разломаны","разломлен","разломлена","разломлено","разломлены","разлохмачен","разлохмачена","разлохмачено","разлохмачены","разлучен","разлучена","разлучено","разлучены","размазан","размазана","размазано","размазаны","размалеван","размалевана","размалевано","размалеваны","разменян","разменяна","разменяно","разменяны","разметан","разметана","разметано","разметаны","размечен","размечена","размечено","размечены","размешан","размешана","размешано","размешаны","размещен","размещена","размещено","размещены","разминирован","разминирована","разминировано","разминированы","размножен","размножена","размножено","размножены","размозжен","размозжена","размозжено","размозжены","размолот","размолота","размолото","размолоты","разморожен","разморожена","разморожено","разморожены","размотан","размотана","размотано","размотаны","размочен","размочена","размочено","размочены","размыкан","размыкана","размыкано","размыканы","размыт","размыта","размыто","размыты","размягчен","размягчена","размягчено","размягчены","размят","размята","размято","размяты","разнесен","разнесена","разнесено","разнесены","разношен","разношена","разношено","разношены","разнюхан","разнюхана","разнюхано","разнюханы","разнят","разнята","разнято","разняты","разоблачен","разоблачена","разоблачено","разоблачены","разобран","разобрана","разобрано","разобраны","разобщен","разобщена","разобщено","разобщены","разогнан","разогнана","разогнано","разогнаны","разогнут","разогнута","разогнуто","разогнуты","разогрет","разогрета","разогрето","разогреты","разодет","разодета","разодето","разодеты","разодран","разодрана","разодрано","разодраны","разожжен","разожжена","разожжено","разожжены","разозлен","разозлена","разозлено","разозлены","разомкнут","разомкнута","разомкнуто","разомкнуты","разорван","разорвана","разорвано","разорваны","разорен","разорена","разорено","разорены","разоружен","разоружена","разоружено","разоружены","разослан","разослана","разослано","разосланы","разостлан","разостлана","разостлано","разостланы","разочарован","разочарована","разочаровано","разочарованы","разработан","разработана","разработано","разработаны","разрежен","разрежена","разрежено","разрежены","разрезан","разрезана","разрезано","разрезаны","разрекламирован","разрекламирована","разрекламировано","разрекламированы","разрешен","разрешена","разрешено","разрешены","разрисован","разрисована","разрисовано","разрисованы","разрознен","разрознена","разрознено","разрознены","разрублен","разрублена","разрублено","разрублены","разрушен","разрушена","разрушено","разрушены","разрыт","разрыта","разрыто","разрыты","разряжен","разряжена","разряжено","разряжены","разубежден","разубеждена","разубеждено","разубеждены","разузнан","разузнана","разузнано","разузнаны","разукрашен","разукрашена","разукрашено","разукрашены","разут","разута","разуто","разуты","разучен","разучена","разучено","разучены","разъединен","разъединена","разъединено","разъединены","разъярен","разъярена","разъярено","разъярены","разъяснен","разъяснена","разъяснено","разъяснены","разъят","разъята","разъято","разъяты","разыгран","разыграна","разыграно","разыграны","разыскан","разыскана","разыскано","разысканы","ранен","ранена","ранено","ранены","ранжирован","ранжирована","ранжировано","ранжированы","раскален","раскалена","раскалено","раскалены","раскатан","раскатана","раскатано","раскатаны","раскачан","раскачана","раскачано","раскачаны","расквартирован","расквартирована","расквартировано","расквартированы","расквашен","расквашена","расквашено","расквашены","раскидан","раскидана","раскидано","раскиданы","раскинут","раскинута","раскинуто","раскинуты","расклеван","расклевана","расклевано","расклеваны","расклеен","расклеена","расклеено","расклеены","раскован","раскована","расковано","раскованы","расковырян","расковыряна","расковыряно","расковыряны","расколдован","расколдована","расколдовано","расколдованы","расколот","расколота","расколото","расколоты","расколочен","расколочена","расколочено","расколочены","раскопан","раскопана","раскопано","раскопаны","раскрашен","раскрашена","раскрашено","раскрашены","раскрепощен","раскрепощена","раскрепощено","раскрепощены","раскритикован","раскритикована","раскритиковано","раскритикованы","раскроен","раскроена","раскроено","раскроены","раскрошен","раскрошена","раскрошено","раскрошены","раскручен","раскручена","раскручено","раскручены","раскрыт","раскрыта","раскрыто","раскрыты","раскулачен","раскулачена","раскулачено","раскулачены","раскуплен","раскуплена","раскуплено","раскуплены","раскупорен","раскупорена","раскупорено","раскупорены","раскурен","раскурена","раскурено","раскурены","раскушен","раскушена","раскушено","раскушены","распакован","распакована","распаковано","распакованы","распален","распалена","распалено","распалены","распарен","распарена","распарено","распарены","распахан","распахана","распахано","распаханы","распахнут","распахнута","распахнуто","распахнуты","распечатан","распечатана","распечатано","распечатаны","распилен","распилена","распилено","распилены","расписан","расписана","расписано","расписаны","распит","распита","распито","распиты","расплавлен","расплавлена","расплавлено","расплавлены","распланирован","распланирована","распланировано","распланированы","распластан","распластана","распластано","распластаны","расплескан","расплескана","расплескано","расплесканы","расплющен","расплющена","расплющено","расплющены","распознан","распознана","распознано","распознаны","расположен","расположена","расположено","расположены","располосован","располосована","располосовано","располосованы","распорот","распорота","распорото","распороты","распотрошен","распотрошена","распотрошено","распотрошены","расправлен","расправлена","расправлено","расправлены","распределен","распределена","распределено","распределены","распробован","распробована","распробовано","распробованы","распростерт","распростерта","распростерто","распростерты","распространен","распространена","распространено","распространены","распряжен","распряжена","распряжено","распряжены","распрямлен","распрямлена","распрямлено","распрямлены","распуган","распугана","распугано","распуганы","распушен","распушена","распушено","распушены","распущен","распущена","распущено","распущены","распылен","распылена","распылено","распылены","распялен","распялена","распялено","распялены","распят","распята","распято","распяты","рассажен","рассажена","рассажено","рассажены","рассекречен","рассекречена","рассекречено","рассекречены","расселен","расселена","расселено","расселены","рассержен","рассержена","рассержено","рассержены","рассечен","рассечена","рассечено","рассечены","рассеян","рассеяна","рассеяно","рассеяны","рассказан","рассказана","рассказано","рассказаны","расследован","расследована","расследовано","расследованы","расслышан","расслышана","расслышано","расслышаны","рассмешен","рассмешена","рассмешено","рассмешены","рассмотрен","рассмотрена","рассмотрено","рассмотрены","рассортирован","рассортирована","рассортировано","рассортированы","расспрошен","расспрошена","расспрошено","расспрошены","рассредоточен","рассредоточена","рассредоточено","рассредоточены","расставлен","расставлена","расставлено","расставлены","расстегнут","расстегнута","расстегнуто","расстегнуты","расстелен","расстелена","расстелено","расстелены","расстрелян","расстреляна","расстреляно","расстреляны","расстроен","расстроена","расстроено","расстроены","рассчитан","рассчитана","рассчитано","рассчитаны","растащен","растащена","растащено","растащены","растворен","растворена","растворено","растворены","растерзан","растерзана","растерзано","растерзаны","растерт","растерта","растерто","растерты","растерян","растеряна","растеряно","растеряны","растлен","растлена","растлено","растлены","растолкан","растолкана","растолкано","растолканы","растолкован","растолкована","растолковано","растолкованы","растоплен","растоплена","растоплено","растоплены","растоптан","растоптана","растоптано","растоптаны","растопырен","растопырена","растопырено","растопырены","расторгнут","расторгнута","расторгнуто","расторгнуты","растормошен","растормошена","растормошено","растормошены","растравлен","растравлена","растравлено","растравлены","растрачен","растрачена","растрачено","растрачены","растревожен","растревожена","растревожено","растревожены","растрепан","растрепана","растрепано","растрепаны","растроган","растрогана","растрогано","растроганы","растрясен","растрясена","растрясено","растрясены","растянут","растянута","растянуто","растянуты","расфасован","расфасована","расфасовано","расфасованы","расформирован","расформирована","расформировано","расформированы","расхвален","расхвалена","расхвалено","расхвалены","расхлебан","расхлебана","расхлебано","расхлебаны","расцарапан","расцарапана","расцарапано","расцарапаны","расцвечен","расцвечена","расцвечено","расцвечены","расцелован","расцелована","расцеловано","расцелованы","расценен","расценена","расценено","расценены","расцеплен","расцеплена","расцеплено","расцеплены","расчерчен","расчерчена","расчерчено","расчерчены","расчесан","расчесана","расчесано","расчесаны","расчищен","расчищена","расчищено","расчищены","расчленен","расчленена","расчленено","расчленены","расшатан","расшатана","расшатано","расшатаны","расшвырян","расшвыряна","расшвыряно","расшвыряны","расшевелен","расшевелена","расшевелено","расшевелены","расширен","расширена","расширено","расширены","расшит","расшита","расшито","расшиты","расшифрован","расшифрована","расшифровано","расшифрованы","расщеплен","расщеплена","расщеплено","расщеплены","ратифицирован","ратифицирована","ратифицировано","ратифицированы","рационализирован","рационализирована","рационализировано","рационализированы","реабилитирован","реабилитирована","реабилитировано","реабилитированы","реализован","реализована","реализовано","реализованы","ревизован","ревизована","ревизовано","ревизованы","регенерирован","регенерирована","регенерировано","регенерированы","регламентирован","регламентирована","регламентировано","регламентированы","редуцирован","редуцирована","редуцировано","редуцированы","резервирован","резервирована","резервировано","резервированы","резюмирован","резюмирована","резюмировано","резюмированы","реквизирован","реквизирована","реквизировано","реквизированы","рекомендован","рекомендована","рекомендовано","рекомендованы","реконструирован","реконструирована","реконструировано","реконструированы","рекрутирован","рекрутирована","рекрутировано","рекрутированы","ремонтирован","ремонтирована","ремонтировано","ремонтированы","репрессирован","репрессирована","репрессировано","репрессированы","реставрирован","реставрирована","реставрировано","реставрированы","реформирован","реформирована","реформировано","реформированы","решен","решена","решено","решены","рожден","рождена","рождено","рождены","романтизирован","романтизирована","романтизировано","романтизированы","рукоположен","рукоположена","рукоположено","рукоположены","русифицирован","русифицирована","русифицировано","русифицированы","саботирован","саботирована","саботировано","саботированы","сагитирован","сагитирована","сагитировано","сагитированы","санкционирован","санкционирована","санкционировано","санкционированы","сбалансирован","сбалансирована","сбалансировано","сбалансированы","сбережен","сбережена","сбережено","сбережены","сбит","сбита","сбито","сбиты","сближен","сближена","сближено","сближены","сбрит","сбрита","сбрито","сбриты","сброшен","сброшена","сброшено","сброшены","сбрызнут","сбрызнута","сбрызнуто","сбрызнуты","свален","свалена","свалено","свалены","сварганен","сварганена","сварганено","сварганены","сварен","сварена","сварено","сварены","сведен","сведена","сведено","сведены","свезен","свезена","свезено","свезены","свергнут","свергнута","свергнуто","свергнуты","сверен","сверена","сверено","сверены","свернут","свернута","свернуто","свернуты","сверстан","сверстана","сверстано","сверстаны","свершен","свершена","свершено","свершены","свешен","свешена","свешено","свешены","свинчен","свинчена","свинчено","свинчены","свистнут","свистнута","свистнуто","свистнуты","свит","свита","свито","свиты","сворован","сворована","своровано","сворованы","сворочен","сворочена","сворочено","сворочены","связан","связана","связано","связаны","сглажен","сглажена","сглажено","сглажены","сгноен","сгноена","сгноено","сгноены","сгорблена","сгорблено","сгорблены","сготовлен","сготовлена","сготовлено","сготовлены","сгруппирован","сгруппирована","сгруппировано","сгруппированы","сгрызен","сгрызена","сгрызено","сгрызены","сгублен","сгублена","сгублено","сгублены","сгущен","сгущена","сгущено","сгущены","сдавлен","сдавлена","сдавлено","сдавлены","сдвинут","сдвинута","сдвинуто","сдвинуты","сдвоен","сдвоена","сдвоено","сдвоены","сделан","сделана","сделано","сделаны","сдержан","сдержана","сдержано","сдержаны","сдернут","сдернута","сдернуто","сдернуты","сдобрен","сдобрена","сдобрено","сдобрены","сдут","сдута","сдуто","сдуты","секуляризован","секуляризована","секуляризовано","секуляризованы","сенсибилизирован","сенсибилизирована","сенсибилизировано","сенсибилизированы","сервирован","сервирована","сервировано","сервированы","сжат","сжата","сжато","сжаты","сжеван","сжевана","сжевано","сжеваны","сжит","сжита","сжито","сжиты","сигнализирован","сигнализирована","сигнализировано","сигнализированы","симулирован","симулирована","симулировано","симулированы","синдицирован","синдицирована","синдицировано","синдицированы","синтезирован","синтезирована","синтезировано","синтезированы","синхронизирован","синхронизирована","синхронизировано","синхронизированы","систематизирован","систематизирована","систематизировано","систематизированы","сказан","сказана","сказано","сказаны","сказанут","сказанута","сказануто","сказануты","скачан","скачана","скачано","скачаны","скинут","скинута","скинуто","скинуты","складирован","складирована","складировано","складированы","склеван","склевана","склевано","склеваны","склеен","склеена","склеено","склеены","склонен","склонена","склонено","склонены","скован","скована","сковано","скованы","сколот","сколота","сколото","сколоты","сколочен","сколочена","сколочено","сколочены","скомандован","скомандована","скомандовано","скомандованы","скомкан","скомкана","скомкано","скомканы","скомпенсирован","скомпенсирована","скомпенсировано","скомпенсированы","скомпонован","скомпонована","скомпоновано","скомпонованы","скомпрометирован","скомпрометирована","скомпрометировано","скомпрометированы","сконструирован","сконструирована","сконструировано","сконструированы","сконцентрирован","сконцентрирована","сконцентрировано","сконцентрированы","скоординирован","скоординирована","скоординировано","скоординированы","скопирован","скопирована","скопировано","скопированы","скормлен","скормлена","скормлено","скормлены","скорректирован","скорректирована","скорректировано","скорректированы","скособочен","скособочена","скособочено","скособочены","скошен","скошена","скошено","скошены","скрашен","скрашена","скрашено","скрашены","скреплен","скреплена","скреплено","скреплены","скрещен","скрещена","скрещено","скрещены","скривлен","скривлена","скривлено","скривлены","скроен","скроена","скроено","скроены","скручен","скручена","скручено","скручены","скрыт","скрыта","скрыто","скрыты","скрючен","скрючена","скрючено","скрючены","скуплен","скуплена","скуплено","скуплены","скушан","скушана","скушано","скушаны","слажен","слажена","слажено","слажены","слеплен","слеплена","слеплено","слеплены","слизан","слизана","слизано","слизаны","слизнут","слизнута","слизнуто","слизнуты","слит","слита","слито","слиты","сличен","сличена","сличено","сличены","словлен","словлена","словлено","словлены","сложен","сложена","сложено","сложены","сломан","сломана","сломано","сломаны","сломлен","сломлена","сломлено","сломлены","слопан","слопана","слопано","слопаны","слуплен","слуплена","слуплено","слуплены","смазана","смазано","смазаны","смастерен","смастерена","смастерено","смастерены","сменен","сменена","сменено","сменены","сменян","сменяна","сменяно","сменяны","смерен","смерена","смерено","смерены","сметен","сметена","сметено","сметены","смешан","смешана","смешано","смешаны","смещен","смещена","смещено","смещены","смирен","смирена","смирено","смирены","смоделирован","смоделирована","смоделировано","смоделированы","смонтирован","смонтирована","смонтировано","смонтированы","сморен","сморена","сморено","сморены","сморожен","сморожена","сморожено","сморожены","сморщен","сморщена","сморщено","сморщены","смотан","смотана","смотано","смотаны","смочен","смочена","смочено","смочены","смыт","смыта","смыто","смыты","смягчен","смягчена","смягчено","смягчены","смят","смята","смято","смяты","снабжен","снабжена","снабжено","снабжены","снаряжен","снаряжена","снаряжено","снаряжены","снесен","снесена","снесено","снесены","снижен","снижена","снижено","снижены","снискан","снискана","снискано","снисканы","сношен","сношена","сношено","сношены","снят","снята","снято","сняты","соблазнен","соблазнена","соблазнено","соблазнены","соблюден","соблюдена","соблюдено","соблюдены","собран","собрана","собрано","собраны","совершен","совершена","совершено","совершены","совмещен","совмещена","совмещено","совмещены","совращен","совращена","совращено","совращены","согласован","согласована","согласовано","согласованы","согнан","согнана","согнано","согнаны","согнут","согнута","согнуто","согнуты","согрет","согрета","согрето","согреты","содеян","содеяна","содеяно","содеяны","содран","содрана","содрано","содраны","соединен","соединена","соединено","соединены","сожжен","сожжена","сожжено","сожжены","сожран","сожрана","сожрано","сожраны","созван","созвана","созвано","созваны","сокращен","сокращена","сокращено","сокращены","сокрушен","сокрушена","сокрушено","сокрушены","сокрыт","сокрыта","сокрыто","сокрыты","соображен","соображена","соображено","соображены","сообщен","сообщена","сообщено","сообщены","сооружен","сооружена","сооружено","сооружены","соотнесен","соотнесена","соотнесено","соотнесены","сопоставлен","сопоставлена","сопоставлено","сопоставлены","сопровожден","сопровождена","сопровождено","сопровождены","сопряжен","сопряжена","сопряжено","сопряжены","сорван","сорвана","сорвано","сорваны","сориентирован","сориентирована","сориентировано","сориентированы","сосватан","сосватана","сосватано","сосватаны","соскребен","соскребена","соскребено","соскребены","сослан","сослана","сослано","сосланы","сослужен","сослужена","сослужено","сослужены","сосредоточен","сосредоточена","сосредоточено","сосредоточены","составлен","составлена","составлено","составлены","состарен","состарена","состарено","состарены","сострижен","сострижена","сострижено","сострижены","состроен","состроена","состроено","состроены","состряпан","состряпана","состряпано","состряпаны","состыкован","состыкована","состыковано","состыкованы","сосчитан","сосчитана","сосчитано","сосчитаны","сотворен","сотворена","сотворено","сотворены","соткан","соткана","соткано","сотканы","сотрясен","сотрясена","сотрясено","сотрясены","сохранен","сохранена","сохранено","сохранены","сочинен","сочинена","сочинено","сочинены","сочтен","сочтена","сочтено","сочтены","спалена","спалено","спалены","спасен","спасена","спасено","спасены","спаян","спаяна","спаяно","спаяны","спеленан","спеленана","спеленано","спеленаны","сперт","сперта","сперто","сперты","спет","спета","спето","спеты","специализирован","специализирована","специализировано","специализированы","спешен","спешена","спешено","спешены","спилен","спилена","спилено","спилены","списан","списана","списано","списаны","спихнут","спихнута","спихнуто","спихнуты","сплавлен","сплавлена","сплавлено","сплавлены","спланирован","спланирована","спланировано","спланированы","сплетен","сплетена","сплетено","сплетены","сплочен","сплочена","сплочено","сплочены","сплюнут","сплюнута","сплюнуто","сплюнуты","сплющен","сплющена","сплющено","сплющены","сподоблен","сподоблена","сподоблено","сподоблены","сполоснут","сполоснута","сполоснуто","сполоснуты","спорот","спорота","спорото","спороты","справлен","справлена","справлено","справлены","спрессован","спрессована","спрессовано","спрессованы","спроважен","спроважена","спроважено","спроважены","спровоцирован","спровоцирована","спровоцировано","спровоцированы","спроектирован","спроектирована","спроектировано","спроектированы","спроецирован","спроецирована","спроецировано","спроецированы","спрошен","спрошена","спрошено","спрошены","спрятан","спрятана","спрятано","спрятаны","спущен","спущена","спущено","спущены","сработан","сработана","сработано","сработаны","сравнен","сравнена","сравнено","сравнены","сражен","сражена","сражено","сражены","сращен","сращена","сращено","сращены","срезан","срезана","срезано","срезаны","срисован","срисована","срисовано","срисованы","сровнян","сровняна","сровняно","сровняны","срубан","срубана","срубано","срубаны","срублен","срублена","срублено","срублены","ссажен","ссажена","ссажено","ссажены","ссужен","ссужена","ссужено","ссужены","стабилизирован","стабилизирована","стабилизировано","стабилизированы","станцеван","станцевана","станцевано","станцеваны","стащен","стащена","стащено","стащены","стерилизован","стерилизована","стерилизовано","стерилизованы","стерт","стерта","стерто","стерты","стесан","стесана","стесано","стесаны","стеснен","стеснена","стеснено","стеснены","стилизован","стилизована","стилизовано","стилизованы","стимулирован","стимулирована","стимулировано","стимулированы","стиснут","стиснута","стиснуто","стиснуты","столкнут","столкнута","столкнуто","столкнуты","стоптан","стоптана","стоптано","стоптаны","сточен","сточена","сточено","сточены","стравлен","стравлена","стравлено","стравлены","стрельнут","стрельнута","стрельнуто","стрельнуты","стреножен","стреножена","стреножено","стреножены","структурирован","структурирована","структурировано","структурированы","стряхнут","стряхнута","стряхнуто","стряхнуты","стукнут","стукнута","стукнуто","стукнуты","стырен","стырена","стырено","стырены","стянут","стянута","стянуто","стянуты","сублимирован","сублимирована","сублимировано","сублимированы","субсидирован","субсидирована","субсидировано","субсидированы","суммирован","суммирована","суммировано","суммированы","сунут","сунута","сунуто","сунуты","сфабрикован","сфабрикована","сфабриковано","сфабрикованы","сфокусирован","сфокусирована","сфокусировано","сфокусированы","сформирован","сформирована","сформировано","сформированы","сформулирован","сформулирована","сформулировано","сформулированы","сфотографирован","сфотографирована","сфотографировано","сфотографированы","схвачен","схвачена","схвачено","схвачены","схлопотан","схлопотана","схлопотано","схлопотаны","схоронен","схоронена","схоронено","схоронены","сцапан","сцапана","сцапано","сцапаны","сцементирован","сцементирована","сцементировано","сцементированы","сцеплен","сцеплена","сцеплено","сцеплены","сшит","сшита","сшито","сшиты","сыгран","сыграна","сыграно","сыграны","сэкономлен","сэкономлена","сэкономлено","сэкономлены","таранен","таранена","таранено","таранены","татуирован","татуирована","татуировано","татуированы","телеграфирован","телеграфирована","телеграфировано","телеграфированы","терроризирован","терроризирована","терроризировано","терроризированы","тиражирован","тиражирована","тиражировано","тиражированы","титулована","титуловано","титулованы","ткнут","ткнута","ткнуто","ткнуты","толкнут","толкнута","толкнуто","толкнуты","тонизирован","тонизирована","тонизировано","тонизированы","тонирован","тонирована","тонировано","тонированы","торпедирован","торпедирована","торпедировано","торпедированы","травмирован","травмирована","травмировано","травмированы","транслирован","транслирована","транслировано","транслированы","транспортирован","транспортирована","транспортировано","транспортированы","трансформирован","трансформирована","трансформировано","трансформированы","трассирован","трассирована","трассировано","трассированы","трахнут","трахнута","трахнуто","трахнуты","треснут","треснута","треснуто","треснуты","тронут","тронута","тронуто","тронуты","трудоустроен","трудоустроена","трудоустроено","трудоустроены","турнут","турнута","турнуто","турнуты","тюкнут","тюкнута","тюкнуто","тюкнуты","тяпнут","тяпнута","тяпнуто","тяпнуты","убавлен","убавлена","убавлено","убавлены","убаюкан","убаюкана","убаюкано","убаюканы","убежден","убеждена","убеждено","убеждены","убелен","убелена","убелено","убелены","убережен","убережена","убережено","убережены","убит","убита","убито","убиты","ублажен","ублажена","ублажено","ублажены","убран","убрана","убрано","убраны","убыстрен","убыстрена","убыстрено","убыстрены","уважен","уважена","уважено","уважены","уварен","уварена","уварено","уварены","уведен","уведена","уведено","уведены","уведомлен","уведомлена","уведомлено","уведомлены","увезен","увезена","увезено","увезены","увековечен","увековечена","увековечено","увековечены","увеличен","увеличена","увеличено","увеличены","увенчан","увенчана","увенчано","увенчаны","уверен","уверена","уверено","уверены","увешан","увешана","увешано","увешаны","увешен","увешена","увешено","увешены","увидан","увидана","увидано","увиданы","увиден","увидена","увидено","увидены","увит","увита","увито","увиты","увлажнен","увлажнена","увлажнено","увлажнены","увлечен","увлечена","увлечено","увлечены","увожен","увожена","увожено","увожены","уволен","уволена","уволено","уволены","уворован","уворована","уворовано","уворованы","увязан","увязана","увязано","увязаны","угадан","угадана","угадано","угаданы","углублен","углублена","углублено","углублены","угляжен","угляжена","угляжено","угляжены","угнан","угнана","угнано","угнаны","угнетен","угнетена","угнетено","угнетены","уговорен","уговорена","уговорено","уговорены","угомонен","угомонена","угомонено","угомонены","угонян","угоняна","угоняно","угоняны","угоразжен","угоразжена","угоразжено","угоразжены","уготован","уготована","уготовано","уготованы","уготовлен","уготовлена","уготовлено","уготовлены","угощен","угощена","угощено","угощены","угроблен","угроблена","угроблено","угроблены","угрохан","угрохана","угрохано","угроханы","удавлен","удавлена","удавлено","удавлены","удален","удалена","удалено","удалены","ударен","ударена","ударено","ударены","удвоен","удвоена","удвоено","удвоены","уделан","уделана","уделано","уделаны","уделен","уделена","уделено","уделены","удержан","удержана","удержано","удержаны","удесятерен","удесятерена","удесятерено","удесятерены","удешевлен","удешевлена","удешевлено","удешевлены","удивлен","удивлена","удивлено","удивлены","удлинен","удлинена","удлинено","удлинены","удобрен","удобрена","удобрено","удобрены","удовлетворен","удовлетворена","удовлетворено","удовлетворены","удостоверен","удостоверена","удостоверено","удостоверены","удостоен","удостоена","удостоено","удостоены","удочерен","удочерена","удочерено","удочерены","удружен","удружена","удружено","удружены","удручен","удручена","удручено","удручены","удуман","удумана","удумано","удуманы","удушен","удушена","удушено","удушены","ужален","ужалена","ужалено","ужалены","ужаснут","ужаснута","ужаснуто","ужаснуты","ужат","ужата","ужато","ужаты","узаконен","узаконена","узаконено","узаконены","узнан","узнана","узнано","узнаны","узурпирован","узурпирована","узурпировано","узурпированы","указан","указана","указано","указаны","укатан","укатана","укатано","укатаны","укачан","укачана","укачано","укачаны","укачен","укачена","укачено","укачены","укокошен","укокошена","укокошено","укокошены","уколот","уколота","уколото","уколоты","укомплектован","укомплектована","укомплектовано","укомплектованы","укорен","укорена","укорено","укорены","укоренен","укоренена","укоренено","укоренены","укорочен","укорочена","укорочено","укорочены","украден","украдена","украдено","украдены","украшен","украшена","украшено","украшены","укреплен","укреплена","укреплено","укреплены","укрощен","укрощена","укрощено","укрощены","укрупнен","укрупнена","укрупнено","укрупнены","укрыт","укрыта","укрыто","укрыты","укупорен","укупорена","укупорено","укупорены","укутан","укутана","укутано","укутаны","укушен","укушена","укушено","укушены","улажен","улажена","улажено","улажены","уличен","уличена","уличено","уличены","уловлен","уловлена","уловлено","уловлены","уложен","уложена","уложено","уложены","уломан","уломана","уломано","уломаны","улучен","улучена","улучено","улучены","улучшен","улучшена","улучшено","улучшены","умален","умалена","умалено","умалены","уменьшен","уменьшена","уменьшено","уменьшены","умерен","умерена","умерено","умерены","умерщвлен","умерщвлена","умерщвлено","умерщвлены","умещен","умещена","умещено","умещены","умилен","умилена","умилено","умилены","умиротворен","умиротворена","умиротворено","умиротворены","умножен","умножена","умножено","умножены","умолен","умолена","умолено","умолены","уморен","уморена","уморено","уморены","умотан","умотана","умотано","умотаны","умудрен","умудрена","умудрено","умудрены","умыкнут","умыкнута","умыкнуто","умыкнуты","умыт","умыта","умыто","умыты","умят","умята","умято","умяты","унаследован","унаследована","унаследовано","унаследованы","унесен","унесена","унесено","унесены","унижен","унижена","унижено","унижены","унизан","унизана","унизано","унизаны","унифицирован","унифицирована","унифицировано","унифицированы","уничтожен","уничтожена","уничтожено","уничтожены","унюхан","унюхана","унюхано","унюханы","унят","унята","унято","уняты","упакован","упакована","упаковано","упакованы","упасен","упасена","упасено","упасены","упечен","упечена","упечено","упечены","уплачен","уплачена","уплачено","уплачены","уплотнен","уплотнена","уплотнено","уплотнены","уподоблен","уподоблена","уподоблено","уподоблены","упоен","упоена","упоено","упоены","упокоен","упокоена","упокоено","упокоены","уполномочен","уполномочена","уполномочено","уполномочены","упомнен","упомнена","упомнено","упомнены","упомянут","упомянута","упомянуто","упомянуты","упорядочен","упорядочена","упорядочено","упорядочены","употреблен","употреблена","употреблено","употреблены","упразднен","упразднена","упразднено","упразднены","упрежден","упреждена","упреждено","упреждены","упрекнут","упрекнута","упрекнуто","упрекнуты","упрочен","упрочена","упрочено","упрочены","упрошен","упрошена","упрошено","упрошены","упрощен","упрощена","упрощено","упрощены","упрятан","упрятана","упрятано","упрятаны","упущен","упущена","упущено","упущены","уравновешен","уравновешена","уравновешено","уравновешены","уравнян","уравняна","уравняно","уравняны","урегулирован","урегулирована","урегулировано","урегулированы","урезан","урезана","урезано","урезаны","урезонен","урезонена","урезонено","урезонены","уронен","уронена","уронено","уронены","усажен","усажена","усажено","усажены","усвоен","усвоена","усвоено","усвоены","усечен","усечена","усечено","усечены","усеян","усеяна","усеяно","усеяны","усижен","усижена","усижено","усижены","усилен","усилена","усилено","усилены","ускорен","ускорена","ускорено","ускорены","услан","услана","услано","усланы","усложнен","усложнена","усложнено","усложнены","услыхан","услыхана","услыхано","услыханы","услышан","услышана","услышано","услышаны","усмирен","усмирена","усмирено","усмирены","усмотрен","усмотрена","усмотрено","усмотрены","усовершенствован","усовершенствована","усовершенствовано","усовершенствованы","успокоен","успокоена","успокоено","успокоены","усреднен","усреднена","усреднено","усреднены","уставлен","уставлена","уставлено","уставлены","установлен","установлена","установлено","установлены","устлан","устлана","устлано","устланы","устранен","устранена","устранено","устранены","устрашен","устрашена","устрашено","устрашены","устремлен","устремлена","устремлено","устремлены","устроен","устроена","устроено","устроены","уступлен","уступлена","уступлено","уступлены","усугублен","усугублена","усугублено","усугублены","усыновлен","усыновлена","усыновлено","усыновлены","усыплен","усыплена","усыплено","усыплены","утаен","утаена","утаено","утаены","утащен","утащена","утащено","утащены","утвержден","утверждена","утверждено","утверждены","утеплен","утеплена","утеплено","утеплены","утерт","утерта","утерто","утерты","утерян","утеряна","утеряно","утеряны","утешен","утешена","утешено","утешены","утилизирован","утилизирована","утилизировано","утилизированы","утихомирен","утихомирена","утихомирено","утихомирены","утолен","утолена","утолено","утолены","утопан","утопана","утопано","утопаны","утоплен","утоплена","утоплено","утоплены","утоптан","утоптана","утоптано","утоптаны","уточнен","уточнена","уточнено","уточнены","утрамбован","утрамбована","утрамбовано","утрамбованы","утрачен","утрачена","утрачено","утрачены","утрирован","утрирована","утрировано","утрированы","утроен","утроена","утроено","утроены","утрясен","утрясена","утрясено","утрясены","утыкан","утыкана","утыкано","утыканы","утяжелен","утяжелена","утяжелено","утяжелены","утянут","утянута","утянуто","утянуты","ухвачен","ухвачена","ухвачено","ухвачены","ухлопан","ухлопана","ухлопано","ухлопаны","ухожен","ухожена","ухожено","ухожены","ухудшен","ухудшена","ухудшено","ухудшены","уценен","уценена","уценено","уценены","учинен","учинена","учинено","учинены","учрежден","учреждена","учреждено","учреждены","учтен","учтена","учтено","учтены","учуян","учуяна","учуяно","учуяны","ушит","ушита","ушито","ушиты","ущемлен","ущемлена","ущемлено","ущемлены","ущипнут","ущипнута","ущипнуто","ущипнуты","уязвлен","уязвлена","уязвлено","уязвлены","уяснен","уяснена","уяснено","уяснены","фальсифицирован","фальсифицирована","фальсифицировано","фальсифицированы","фиксирован","фиксирована","фиксировано","фиксированы","финансирован","финансирована","финансировано","финансированы","фланкирован","фланкирована","фланкировано","фланкированы","форсирован","форсирована","форсировано","форсированы","характеризован","характеризована","характеризовано","характеризованы","хлестнут","хлестнута","хлестнуто","хлестнуты","хлопнут","хлопнута","хлопнуто","хлопнуты","цапнут","цапнута","цапнуто","цапнуты","царапнут","царапнута","царапнуто","царапнуты","централизован","централизована","централизовано","централизованы","центрифугирован","центрифугирована","центрифугировано","центрифугированы","цивилизован","цивилизована","цивилизовано","цивилизованы","черкнут","черкнута","черкнуто","черкнуты","четвертован","четвертована","четвертовано","четвертованы","чмокнут","чмокнута","чмокнуто","чмокнуты","шарахнут","шарахнута","шарахнуто","шарахнуты","швырнут","швырнута","швырнуто","швырнуты","шлепнут","шлепнута","шлепнуто","шлепнуты","шмякнут","шмякнута","шмякнуто","шмякнуты","шокирован","шокирована","шокировано","шокированы","щелкнут","щелкнута","щелкнуто","щелкнуты","эвакуирован","эвакуирована","эвакуировано","эвакуированы","экипирован","экипирована","экипировано","экипированы","экранизирован","экранизирована","экранизировано","экранизированы","экранирован","экранирована","экранировано","экранированы","экспонирован","экспонирована","экспонировано","экспонированы","экспортирован","экспортирована","экспортировано","экспортированы","экспроприирован","экспроприирована","экспроприировано","экспроприированы","экстрагирован","экстрагирована","экстрагировано","экстрагированы","экстраполирован","экстраполирована","экстраполировано","экстраполированы","эмитирован","эмитирована","эмитировано","эмитированы","эпатирован","эпатирована","эпатировано","эпатированы","этапирован","этапирована","этапировано","этапированы","эшелонирован","эшелонирована","эшелонировано","эшелонированы","явлен","явлена","явлено","явлены"].concat(["благословлён","введён","ввезён","вдохновлён","вживлён","взбешён","взбодрён","взведён","взвихрён","взгромозждён","взращён","взрыхлён","видоизменён","включён","вколочён","вкраплён","вкушён","вменён","вмещён","внедрён","внесён","внушён","вовлечён","водворён","водружён","возблагодарён","возбуждён","возведён","возвещён","возвращён","возглашён","возлюблён","возмещён","возмущён","вознаграждён","вознесён","возобновлён","возомнён","возрождён","вонждён","воображён","воодушевлён","вооружён","воплощён","вопрошён","ворочён","воскрешён","воспалён","воспламенён","воспрещён","воспроизведён","восстановлён","восхищён","вперён","впечатлён","вплетён","впряжён","вразумлён","врублён","вручён","вселён","вскипячён","вскормлён","вскружён","всполошён","выведён","доведён","довезён","довершён","догляжён","договорён","дозволён","донесён","допечён","дотерплён","завезён","завершён","завлечён","завожён","заворожён","загашён","заглублён","заглушён","заговорён","загорожён","загромозждён","загружён","загрязнён","задурён","задушён","задымлён","заземлён","зазубрён","закалён","заклеймён","заключён","закопчё","закреплён","закруглён","замедлён","заменён","заметён","замещён","заморён","занесён","заострён","запалён","запасён","запечатлён","запечён","заплетён","заполонён","запорошён","запрещён","запримечён","запрошён","запряжён","запылён","заражён","заряжён","заселён","заслонён","засолён","застолблён","застопорён","затаён","затворён","затемнён","затенён","затмлён","затруднён","захламлён","зацеплён","зачехлён","зачищён","зачтён","зашевелён","защемлён","защищён","избавлён","изборозждён","изведён","извещён","извинён","извлечён","извращён","измельчён","изменён","измышлён","изнурён","изобличён","изображён","изобретён","изречён","изумлён","изъявлён","искажён","исключён","искоренён","искривлён","искуплён","испепелён","испечён","испещрён","иссечён","иссушён","истончён","истощён","истреблён","казнён","крещён","лишён","наводнён","навострён","наговорён","награждён","нагромозждён","наделён","накалён","наклонён","наметён","нанесён","напечён","наплетён","напоён","напряжён","наречён","нарождён","насаждён","населён","насмешён","насторожён","натравлён","невзлюблён","недогляжён","недоговорён","недооценён","перечтён","пленён","побеждён","побелён","побережён","погашён","поглощён","погребён","погружён","подведён","подвезён","подговорён","подгребён","подключён","подкреплён","подкручён","подменён","поднесён","подожжён","подпалён","подразделён","подрублён","подрулён","подселён","подсечён","подслащён","подсоединён","подстелён","подстережён","подтверждён","подцеплён","подчинён","подчищён","поздравлён","позолочён","покорён","покривлён","помещён","понесён","поощрён","порабощён","поражён","порешён","порождён","посвящён","посеребрён","посмотрён","посрамлён","постановлён","потереблён","похоронён","почтён","пошевелён","пощажён","пояснён","превращён","прегражён","предварён","предвосхищён","предопределён","предостережён","предотвращён","предохранён","предпочтён","предречён","предрешён","предупреждён","презрён","преклонён","прекращён","преломлён","прельщён","преображён","преодолён","преподнесён","пресечён","преступлён","претворён","претерплён","прибережён","приближён","приведён","привезён","привлечён","привнесён","приворожён","пригвозжён","приглашён","приглушён","приговорён","приголублён","приземлён","приклонён","прикреплён","применён","принаряжён","принесён","принуждён","приободрён","приобретён","приобщён","приостановлён","приотворён","припасён","припечён","приплетён","приручён","прислонён","присмотрён","присовокуплён","присоединён","присочинён","приспособлён","приструнён","присуждён","притворён","провезён","проговорён","продешевлён","продлён","прозвонён","произведён","произнесён","прокалён","прокипячён","прокопчён","пронзён","пропылён","просверлён","просветлён","просвещён","просечён","просквожён","проторён","прочтён","прощён","проявлён","прояснён","разбережён","разбомблён","разведён","развезён","развеселён","разворошён","развращён","разглашён","разговорён","разгорожён","разгорячён","разграфлён","разгребён","разгромлён","разделён","раздражён","раздразнён","раздроблён","разлеплён","разлучён","размещён","размозжён","разморён","размягчён","разнесён","разоблачён","разобщён","разожжён","разозлён","разорён","разоружён","разрежён","разрешён","разубеждён","разъединён","разъярён","разъяснён","раскалён","расклешён","раскрепощён","раскроён","распалён","распотрошён","распределён","распространён","распряжён","распрямлён","рассмешён","растворён","растлён","растормошён","растрясён","расценён","расцеплён","расчленён","расшевелён","расщеплён","сбережён","свершён","сгноён","сгущён","сожжён","склонён","скреплён","скрещён","скривлён","скручён","сличён","словлён","сметён","смещён","смущён","смягчён","снабжён","снаряжён","снесён","соблазнён","соблюдён","совершён","совмещён","совращён","соединён","сокращён","сокрушён","соображён","сообщён","сооружён","соотнесён","сопоставлён","сопровождён","сопряжён","сотворён","сотрясён","сохранён","сочинён","сочтён","спалён","сплетён","сравнён","сражён","стеснён","съязвлён","убеждён","убелён","убережён","ублажён","убыстрён","уведён","увезён","увлажнён","увлечён","углублён","угнетён","уговорён","угомонён","угощён","удесятерён","удешевлён","удлинён","удобрён","удовлетворён","удочерён","удручён","укоренён","укреплён","укрощён","укрупнён","уличён","улучён","умалён","умерщвлён","умещён","умилён","умиротворён","умолён","уморён","умудрён","унесён","упасён","упечён","уплотнён","упоён","употреблён","упразднён","упреждён","упрощён","усечён","усложнён","усреднён","устранён","устрашён","устремлён","усыновлён","усыплён","утаён","утверждён","утеплён","утолён","утомлён","уточнён","утрясён","утяжелён","учреждён","учтён","ущемлён","уязвлён","уяснён","явлён"],["ввёрнут","ввёрнута","ввёрнуто","ввёрнуты","вздёрнут","вздёрнута","вздёрнуто","вздёрнуты","втёрт","втёрта","втёрто","втёрты","завёрнут","завёрнута","завёрнуто","завёрнуты","задёрнут","задёрнута","задёрнуто","задёрнуты","замётан","замётана","замётано","замётаны","запелёнан","запелёнана","запелёнано","запелёнаны","заплёван","заплёвана","заплёвано","заплёваны","затёрт","затёрта","затёрто","затёрты","зачёркнут","зачёркнута","зачёркнуто","зачёркнуты","зачёрпнут","зачёрпнута","зачёрпнуто","зачёрпнуты","зачёсан","зачёсана","зачёсано","зачёсаны","зашёптан","зашёптана","зашёптано","зашёптаны","защёлкнут","защёлкнута","защёлкнуто","защёлкнуты","искорёжен","искорёжена","искорёжено","искорёжены","истёрт","истёрта","истёрто","истёрты","исчёркан","исчёркана","исчёркано","исчёрканы","исчёрпан","исчёрпана","исчёрпано","исчёрпаны","навёрнут","навёрнута","навёрнуто","навёрнуты","намётан","намётана","намётано","намётаны","наплёван","наплёвана","наплёвано","наплёваны","натёрт","натёрта","натёрто","натёрты","начёртан","начёртана","начёртано","начёртаны","начёрчен","начёрчена","начёрчено","начёрчены","нашёптан","нашёптана","нашёптано","нашёптаны","перечёркнут","перечёркнута","перечёркнуто","перечёркнуты","повёрнут","повёрнута","повёрнуто","повёрнуты","подвёрнут","подвёрнута","подвёрнуто","подвёрнуты","подёрнут","подёрнута","подёрнуто","подёрнуты","поддёрнут","поддёрнута","поддёрнуто","поддёрнуты","подмётан","подмётана","подмётано","подмётаны","подпёрт","подпёрта","подпёрто","подпёрты","подчёркнут","подчёркнута","подчёркнуто","подчёркнуты","пожёван","пожёвана","пожёвано","пожёваны","покорёжен","покорёжена","покорёжено","покорёжены","потёрт","потёрта","потёрто","потёрты","пощёлкан","пощёлкана","пощёлкано","пощёлканы","почёрпнут","почёрпнута","почёрпнуто","почёрпнуты","почёсан","почёсана","почёсано","почёсаны","притёрт","притёрта","притёрто","притёрты","причёсан","причёсана","причёсано","причёсаны","прищёлкнут","прищёлкнута","прищёлкнуто","прищёлкнуты","провёрнут","провёрнута","провёрнуто","провёрнуты","продёрнут","продёрнута","продёрнуто","продёрнуты","прожёван","прожёвана","прожёвано","прожёваны","простёрт","простёрта","простёрто","простёрты","протёрт","протёрта","протёрто","протёрты","прочёсан","прочёсана","прочёсано","прочёсаны","прошёптан","прошёптана","прошёптано","прошёптаны","развёрнут","развёрнута","развёрнуто","развёрнуты","раздёрнут","раздёрнута","раздёрнуто","раздёрнуты","разжёван","разжёвана","разжёвано","разжёваны","размётан","размётана","размётано","размётаны","распростёрт","распростёрта","распростёрто","распростёрты","растёрт","растёрта","растёрто","растёрты","расчёсан","расчёсана","расчёсано","расчёсаны","свёрнут","свёрнута","свёрнуто","свёрнуты","свёрстан","свёрстана","свёрстано","свёрстаны","сдёрнут","сдёрнута","сдёрнуто","сдёрнуты","сжёван","сжёвана","сжёвано","сжёваны","склёван","склёвана","склёвано","склёваны","спелёнан","спелёнана","спелёнано","спелёнаны","стёрт","стёрта","стёрто","стёрты","стёсан","стёсана","стёсано","стёсаны","утёрт","утёрта","утёрто","утёрты","утомлён","утомлёна","утомлёно","утомлёны","чёркнут","чёркнута","чёркнуто","чёркнуты","щёлкнут","щёлкнута","щёлкнуто","щёлкнуты"],["взбудоражен","взволнован","возбужден","возмущен","воспитан","востребован","выдрессирован","газирован","доношен","заболочен","заинтересован","заинтригован","закален","зачарован","зашифрован","изогнут","изогнута","изогнуто","изогнуты","коррумпирован","мотивирован","помят","помята","помято","помяты","поношен","потаскан","потаскана","потаскано","потасканы","сгорблен","сконфужен","сконфужена","сконфужено","сконфужены","смазан","титулован","утомлен","утомлена","утомлено","утомлены"]),{areWordsInSentence:H}=r.languageProcessing;function K(e){return H(z,e)}const{formatNumber:Q}=r.helpers;function U(e){const t=206.835-1.3*e.numberOfWords/e.numberOfSentences-60.1*e.numberOfSyllables/e.numberOfWords;return Q(t)}const{AbstractResearcher:X}=r.languageProcessing;class Y extends X{constructor(e){super(e),Object.assign(this.config,{language:"ru",passiveConstructionType:"morphological",firstWordExceptions:n,functionWords:F,transitionWords:o,twoPartTransitionWords:G,syllables:I,fleschReadingEaseScores:L,sentenceLength:V}),Object.assign(this.helpers,{getStemmer:q,isPassiveSentence:K,fleschReadingScore:U})}}(window.yoast=window.yoast||{}).Researcher=t})(); dist/languages/id.js 0000644 00000054013 15174677550 0010433 0 ustar 00 (()=>{"use strict";var a={d:(i,e)=>{for(var n in e)a.o(e,n)&&!a.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:e[n]})},o:(a,i)=>Object.prototype.hasOwnProperty.call(a,i),r:a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},i={};a.r(i),a.d(i,{default:()=>oa});const e=window.yoast.analysis,n=["sebuah","seorang","sang","si","satu","dua","tiga","empat","lima","enam","tujuh","delapan","sembilan","sepuluh","sebelas","seratus","seribu","sejuta","semiliar","setriliun","ini","itu","hal","ia"],s=["adakalanya","agak","agar","akhirnya","alhasil","andaikan","bahkan","bahwasannya","berikut","betapapun","biarpun","biasanya","contohnya","dahulunya","diantaranya","dikarenakan","disebabkan","dulunya","faktanya","hasilnya","intinya","jadi","jua","juga","kadang-kadang","kapanpun","karena","karenanya","kedua","kelak","kemudian","kesimpulannya","khususnya","langsung","lantaran","maka","makanya","masih","memang","meski","meskipun","misalnya","mulanya","nantinya","nyatanya","pendeknya","pertama","ringkasnya","rupanya","seakan-akan","sebaliknya","sebelum","sebetulnya","sedangkan","segera","sehingga","sekali-sekali","sekalipun","sekiranya","selagi","selain","selama","selanjutnya","semasa","semasih","semenjak","sementara","semula","sepanjang","serasa","seraya","seringkali","sesungguhnya","setelahnya","seterusnya","setidak-tidaknya","setidaknya","sewaktu-waktu","sewaktu","tadinya","tentunya","terakhir","terdahulu","terlebih","ternyata","terpenting","terutama","terutamanya","tetapi","umpamanya","umumnya","utamanya","walau","walaupun","yaitu","yakni","akibatnya","hingga","kadang","kendatipun","ketiga","lainnya","manakala","namun","pastinya","pertama-tama","sampai-sampai","sebaliknya","sebelumnya","sebetulnya","sesekali"],t=s.concat(["agar supaya","akan tetapi","apa lagi","asal saja","bagaimanapun juga","bahkan jika","bahkan lebih","begitu juga","berbeda dari","biarpun begitu","biarpun demikian","bilamana saja","cepat atau lambat","dalam hal ini","dalam jangka panjang","dalam kasus ini","dalam kasus lain","dalam kedua kasus","dalam kenyataannya","dalam pandangan","dalam situasi ini","dalam situasi seperti itu","dan lagi","dari awal","dari pada","dari waktu ke waktu","demikian juga","demikian pula","dengan serentak","dengan cara yang sama","dengan jelas","dengan kata lain","dengan ketentuan","dengan nyata","dengan panjang lebar","dengan pemikiran ini","dengan syarat bahwa","dengan terang","di pihak lain","di sisi lain","dibandingkan dengan","disebabkan oleh","ditambah dengan","hanya jika","harus diingat","hasil dari","hingga kini","kalau tidak","kalau-kalau","kali ini","kapan saja","karena alasan itulah","karena alasan tersebut","kecuali kalau","kendatipun begitu","kendatipun demikian","lebih jauh","lebih lanjut","maka dari itu","meskipun demikian","oleh karena itu","oleh karenanya","oleh sebab itu","pada akhirnya","pada awalnya","pada dasarnya","pada intinya","pada kenyataannya","pada kesempatan ini","pada mulanya","pada saat ini","pada saat","pada situasi ini","pada umumnya","pada waktu yang sama","pada waktunya","paling tidak","pendek kata","penting untuk disadari","poin penting lainnya","saat ini","sama halnya","sama pentingnya","sama sekali","sampai sekarang","sebab itu","sebagai akibatnya","sebagai contoh","sebagai gambaran","sebagai gantinya","sebagai hasilnya","sebagai tambahan","sebelum itu","secara bersamaan","secara eksplisit","secara keseluruhan","secara keseluruhan","secara khusus","secara menyeluruh","secara signifikan","secara singkat","secara umum","sejalan dengan ini","sejalan dengan itu","sejauh ini","sekali lagi","sekalipun begitu","sekalipun demikian","sementara itu","seperti yang bisa dilihat","seperti yang sudah saya katakan","seperti yang sudah saya tunjukkan","sesudah itu","setelah ini","setelah itu","tak pelak lagi","tanpa menunda-nunda lagi","tentu saja","terutama sekali","tidak perlu dipertanyakan lagi","tidak sama","tidak seperti","untuk alasan ini","untuk alasan yang sama","untuk memperjelas","untuk menekankan","untuk menyimpulkan","untuk satu hal","untuk sebagian besar","untuk selanjutnya","untuk tujuan ini","walaupun demikian","yang lain","yang terakhir","yang terpenting","begitu pula","berbeda dengan","betapapun juga","dalam hal itu","di samping itu","hal pertama yang perlu diingat","kadang kala","karena itu","lagi pula","lambat laun","mengingat bahwa","meskipun begitu","pada umumnya","pada waktu","saat ini juga","sampai saat ini","sebagian besar","secara terperinci","selain itu","seperti yang sudah dijelaskan","seperti yang tertera di","tak seperti","tanpa memperhatikan","tentu saja","untuk memastikan","untuk menggambarkan","walaupun begitu"]);function u(a){let i=a;return a.forEach((e=>{(e=e.split("-")).length>0&&e.filter((i=>!a.includes(i))).length>0&&(i=i.concat(e))})),i}const r=["si","sang","kaum","sri","hang","dang","para"],d=["nol","satu","dua","tiga","empat","lima","enam","tujuh","delapan","sembilan","sepuluh","sebelas","seratus","seribu","sejuta","semiliar","setriliun"],k=["kesatu","pertama","kedua","ketiga","keempat","kelima","keenam","ketujuh","kedelapan","kesembilan","kesepuluh","kesebelas","keseratus","keseribu"],l=["aku","saya","engkau","kau","kamu","anda","kita","kami","kalian","ia","dia","beliau","mereka","dikau","daku","beta","sayalah","engkaulah","kaulah","kamulah","andalah","kitalah","kamilah","kalianlah","dialah","kamu-kamu","saya-saya","mereka-mereka","beliau-beliau","anda-anda","mereka-merekalah","beliau-beliaulah","kamu-kamulah","anda-andalah"],m=["yang"],g=["ini","itu","tersebut","tadi","inilah","itulah"],p=["milikku","milikmu","miliknya","punyanya","punyaku","punyamu","kepunyaannya","kepunyaanmu","kepunyaanku"],o=["belasan","puluhan","ribuan","miliaran","triliunan","setengah","seperdua","sepertiga","seperempat","seperlima","seperenam","sepertujuh","seperdelapan","sepersembilan","sepersepuluh","sedikit","setiap","banyak","semua","lebih","kurang","sebagian","cukup","beberapa","berpuluh-puluh","beratus-ratus","beribu-ribu","berjuta-juta","ratusan","paling","tiap-tiap"],h=["diriku","dirinya","dirimu"],b=["lain","lainnya","seseorang","sesuatu","siapa-siapa","apa-apa","semuanya","segalanya","seluruhnya","keduanya","ketiganya","ketiga-tiganya","kedua-duanya","dua-duanya","tiga-tiganya","masing-masing","apapun","siapapun","manapun","sedemikian","demikian"],y=["apa","manakah","mana","apanya","inikah","itukah","manalagi"],c=["siapa","siapakah","kamukah","andakah","sayakah","akukah","diakah","merekakah","engkaukah","kamikah","kitakah","beliaukah","iakah","dirinyakah","dirikukah","siapatah","siapalah","siapanya"],f=["bagaimana","mengapa","kenapa","kapan","berapa","kapankah","berapakah","bagaimanakah","apakah","kapanpun","apatah","apalah","berapatah","berapalah","mengapakah","mengapatah","mengapalah","kenapakah","kenapatah","kenapalah","kapantah","kapanlah","manatah","mananya","manalah","bagaimanatah","bagaimanalah","bilamana","bilamanakah","bilamanatah","bilamananya","bilamanalah","keberapa","mampukah","beginikah","begitukah"],j=["selalu","sekali","berkali-kali"],S=["dapat","dapatkah","bisa","bisakah","boleh","bolehkah","akan","akankah","bukan","dapatlah","bisatah","bisanya","bisalah","bolehtah","bolehnya","bolehlah","akantah","akannya","akanlah","harus","haruskah","harustah","harusnya","haruslah","bukankah","bukantah","bukannya","bukanlah","mungkin","mungkinkah","mungkintah","mungkinlah","belum","belumkah","belumlah","sudah","sudahkah","sudahlah","takkan","masih","masihkah","pernah","pernahkah"],w=["adalah","ialah","merupakan","ada","berada"],W=["antara","seantero","bagai","bagaikan","bagi","buat","dari","demi","dengan","di","terhadap","menjelang","ke","kecuali","sekeliling","mengenai","sekitar","melalui","selama","lepas","lewat","oleh","selewat","pada","sepanjang","per","seputar","bersama","sejak","semenjak","seperti","serta","tentang","menuju","menurut","untuk","tanpa","adapun","antar","diantara","silam","lalu","selaku","melalui","sebagai","bahwasanya"],x=["atas","bawah","dalam","luar","depan","belakang","sebelah","samping"],P=["dan","atau","lalu","kemudian","serta","sedangkan","sementara","sambil","seraya","ataupun","ataukah"],v=["maupun","bukan","begitu","baru","hanya"],N=["setelah","sehabis","sejak","sampai","ketika","waktu","tatkala","saat","kalau","jika","jikalau","bila","bilamana","apabila","asal","asalkan","seandainya","andaikata","sekiranya","karena","sebab","lantaran","gara-gara","mentang-mentang","kalau-kalau","supaya","agar","guna","sehingga","hingga","sampai","sebelum","sesudah","meski","meskipun","kendati","kendatipun","walau","walaupun","sekalipun","biarpun","sungguhpun","padahal","seakan-akan","seolah-olah","daripada","alih-alih","melainkan","apalagi","bahwa","saja"],R=["kata","bilang","berkata","mengeklaim","bertanya","menayakan","menyatakan","tanya","klaim","jelas","jelaskan","menjelaskan","dijelaskan","ditanya","pikir","berpikir","berbicara","membicarakan","mengumumkan","diumumkan","dibicarakan","mendiskusikan","menyarankan","disarankan","mengerti"],M=["sangat","amat","terlalu","terlampau","sungguh","serba","agak","begitu","demikian","makin","semakin","kian","tambah","bertambah","begini","amatlah"],O=["ada","punya","milik","terlihat","kelihatan","mari","marilah","membuat","dibuat","menunjukkan","ditunjukkan","pergi","ambil","diambil","meletkakkan","letakkan","ambilkan","mencoba","dicoba","bermakna","berarti","terdiri","memastikan","dipastikan","mengandung","termasuk","maknanya","artinya","ingin","inginkan"],B=["terbesar","besar","terkecil","kecil","terbaru","baru","tertua","tua","lalu","semudah","termudah","mudah","cepat","jauh","susah","keras","panjang","rendah","pendek","tinggi","biasa","simpel","kebanyakan","baru-baru","lagi","selesai","mungkin","umum","baik","buruk","bagus","utama","sama","tertentu","biasanya","spesifik","langsung","dekat","terbaru","berbeda","beda","sibuk","terkini","penting","terpenting","sebesar","sekecil","setua","termuda","semuda","muda","tercepat","secepat","termudah","semudah","terjauh","sejauh","tersusah","sesusah","terkeras","sekeras","sepanjang","terpanjang","terpendek","sependek","terbiasa","tersimpel","sesimpel","terbaik","sebaik","terburuk","seburuk","sebagus","terbagus","terutama","terdekat","sedekat","tersibuk","sepenting","lambat","terlambat","luas","terluas","seluas","keren","tersedia","cepat-cepat","erat-erat","betul-betul","diam-diam","keras-keras","jauh-jauh","secepat-cepatnya","baik-baik","sebaik-baiknya","sekeras-kerasnya","lekas-lekas","selekas-lekasnya","tinggi-tinggi","setinggi-tingginya","seberat-beratnya","sejauh-jauhnya","sedikit-dikitnya","sekurang-kurangnya","setidak-tidaknya","sedapat-dapatnya","seenak-enaknya","seenaknya","seadanya","sekenanya","selambat-lambatnya","selebih-lebihnya","sedikitnya","sepenuhnya","besar-besaran","kecil-kecilan","habis-habisan","mati-matian","terang-terangan","terus-terusan","untung-untungan","kesekian","berdua-dua","bertiga-tiga","berdua","bertiga","berempat","berlima","berenam","bertujuh","berdelapan","bersembilan","bersepuluh","bersebelas","berseratus","berseribu","berduaan","agaknya","sepenting-pentingnya","sepanjang-panjangnya","spesifik","spesial","semuda-mudanya","setua-tuanya","seburuk-buruknya","seluas-luasnya","terlebih","selamanya","selama-lamanya","mampu","begini","beginilah","begitu","begitulah","sebegini","sebegitu","semula","pasti","pastilah","pastinya","dini","sedini","sering","seringnya","jarang","terbanyak"],C=["bah","cis","ih","idih","sialan","buset","aduh","waduh","duh","aduhai","amboi","asyik","wah","syukur","alhamdulillah","untung","aduh","aih","aih","lo","duilah","eh","oh","ah","astaga","astagfirullah","masyaallah","masa","alamak","gila","ayo","yuk","mari","hai","he","hai","halo"],E=["sdm","sdt","gr","kg","cm","mg","ml","l","dl","cl","ons","lbr","cc","bh","ltr","pon"],F=["detik","menit","jam","detik-detik","menit-menit","jam-jam","hari","hari-hari","minggu","minggu-minggu","bulan","bulan-bulan","tahun","tahun-tahun","besok","kemarin","lusa","malam-malam","siang-siang","subuh","bedug","keesokan"],L=["cara","barang","masalah","bagian","bagian-bagian","aspek","aspek-aspek","ide","item","tema","hal","perkara","faktor","faktor-faktor","detil","perbedaan","adanya","beginian","rupanya","diri"],A=["tidak","iya","tak","tentu","ok","oke","amin","dll","maaf","tolong","mohon","jangan","sebagainya","hanya","cuma","jangankan","janganlah","tolonglah"],T=(u(["lah","pun","dong","kan","sih","toh","nah","lho","kok","ding"]),u([].concat(k,["sebuah","seorang","seekor","sebiji","selembar","secarik","sehelai","sebutir","sebatang","sebidang","sebentuk","sebilah","sekuntum","sepatah","sepucuk","setangkai","seutas","sebelah","segenggam","segugus","sepiring","sejenis","semacam","sepotong","setetes","suatu"])),u([].concat(r,P,g,M,p,["bu","pak","bang","nak","kak","dik"])),u([].concat(j,l,h,C,d,S,w,R,O,b,v,N,y,c,f,["putus-putusnya","jemu-jemunya","jera-jeranya","puas-puasnya","bosan-bosannya","henti-hentinya","berhenti-hentinya"],A,x,E,F,L,B,m,W,o,s)),u([].concat(r,d,k,g,p,h,l,o,b,y,c,f,x,j,S,w,W,P,v,N,R,["yakni","yaitu","artinya","awalnya","akhirnya","makanya","malahan","malah","memang","nantinya","nanti","pula","seketika","sekarang","benar-benar","kadang","justru","tetapi","tapi"],M,O,C,B,E,L,A,["tuan","nyonya","nona","bang","pak","bu","bang","kak","prof","gus","ning","kyai","ustad","ustadzah","nyai","raden","tengku"],m,s,F))),D=[["baik","maupun"],["bukan","melainkan"],["bukan","tetapi"],["bukannya","melainkan"],["bukannya","tetapi"],["tidak","melainkan"],["tidak","tetapi"],["tidak hanya","tetapi juga"],["begitu","sehingga"],["begitu","sampai"],["demikian","sehingga"],["demikian","sampai"],["sedemikian","sehingga"],["sedemikian","sampai"],["meskipun","namun"],["biarpun","namun"],["bukan hanya","melainkan juga"],["sedemikian rupa","sehingga"],["sebaiknya","daripada"],["entah","entah"],["kalau","maka"],["apabila","maka"],["apa","atau"],["jangankan","pun"],["saja","apalagi"],["apakah","atau"]],H=window.lodash,{buildFormRule:$,createRulesFromArrays:_}=e.languageProcessing,q=["a","e","i","o","u"];function z(a){let i=0;for(let n=0;n<a.length;n++)e=a[n],q.includes(e)&&i++;var e;return i}function G(a,i,e,n){if(e.includes(a))return a;const s=n.stemming.doNotStemWords.doNotStemK;if(a.endsWith("kan")){const i=a.substring(0,a.length-2);s.includes(i)&&(a=i)}const t=_(i);return $(a,t)||a}function I(a,i,e){const n=a.slice(i);return e.some((a=>n.startsWith(a)))}const{flattenSortLength:J,buildFormRule:K,createRulesFromArrays:Q}=e.languageProcessing,U=function(a,i){if((a.startsWith("ber")||a.startsWith("per"))&&I(a,3,i.stemming.beginningModification.rBeginning))return a.replace(/^(ber|per)/i,"r");if(/^peng/i.test(a)&&I(a,4,i.stemming.beginningModification.kBeginning))return a.replace(/^peng/i,"k");const e=Q(i.stemming.regexRules.removeSecondOrderPrefixes);return K(a,e)||a},V=function(a,i){let e=a.length;const n=i.stemming.regexRules.removeSuffixes,s=i.stemming.doNotStemWords.doNotStemSuffix,t=J(i.stemming.doNotStemWords.doNotStemPrefix.doNotStemFirstOrderPrefix),u=J(i.stemming.doNotStemWords.doNotStemPrefix.doNotStemSecondOrderPrefix);return t.some((i=>a.startsWith(i)))||(a=function(a,i){const e=function(a,i){const e=i.stemming.beginningModification;if(/^[mp]en/i.test(a)&&I(a,3,e.nBeginning))return a.replace(/^[mp]en/i,"n");if(/^[mp]eng/i.test(a)&&I(a,4,e.kBeginning))return a.replace(/^[mp]eng/i,"k");if(/^[mp]em/i.test(a)){if(I(a,3,e.pBeginning))return a.replace(/^(mem|pem)/i,"p");if(I(a,3,e.mBeginning))return a.replace(/^(mem|pem)/i,"m")}const n=function(a,i){const e=a.stemming.doNotStemWords.doNotStemPrefix.doNotStemFirstOrderPrefix.doNotStemTer;if(i.startsWith("keter")&&(i=i.substring(2,i.length)),i.startsWith("ter"))return e.some((a=>i.startsWith(a)))?i:I(i,3,a.stemming.beginningModification.rBeginning)?i.replace(/^ter/i,"r"):i.substring(3,i.length)}(i,a);return n||void 0}(a,i);if(e)return e;const n=Q(i.stemming.regexRules.removeFirstOrderPrefixes);return K(a,n)||a}(a,i)),e===a.length?(u.some((i=>a.startsWith(i)))||(a=U(a,i)),z(a)>2&&(a=G(a,n,s,i))):(e=a.length,z(a)>2&&(a=G(a,n,s,i)),e===a.length||u.includes(a)||z(a)>2&&(a=U(a,i))),a},X=function(a,i){a=function(a,i){const e=i.stemming.singleSyllableWords,n=i.stemming.singleSyllableWordsSuffixes,s=a;if(a=function(a,i){return a.startsWith("di")&&I(a,2,i.stemming.singleSyllableWords)?a.substring(2,a.length):/^[mp]enge/i.test(a)&&I(a,5,i.stemming.singleSyllableWords)?a.substring(5,a.length):a}(a,i),e.some((i=>a.startsWith(i)))&&z(a)<=3&&function(a,i){for(const e of i)if(a.match(e))return!0}(a,n)){a=G(a,i.stemming.regexRules.removeParticle,i.stemming.doNotStemWords.doNotStemParticle,i),a=G(a,i.stemming.regexRules.removePronoun,i.stemming.doNotStemWords.doNotStemPronounSuffix,i);const n=G(a,i.stemming.regexRules.removeSuffixes,i.stemming.doNotStemWords.doNotStemSuffix,i);e.includes(n)&&(a=n)}return(z(a)>1||1===a.length)&&(a=s),a}(a,i);const e=i.stemming.doNotStemWords.doNotStemParticle,n=i.stemming.doNotStemWords.doNotStemPronounSuffix;if(z(a)<=2)return a;const s=V(a,i);return e.includes(s)||n.includes(s)?s:(z(a=G(a,i.stemming.regexRules.removeParticle,e,i))>2&&(a=G(a,i.stemming.regexRules.removePronoun,n,i)),z(a)>2&&(a=V(a,i)),a)},{baseStemmer:Y}=e.languageProcessing;function Z(a){const i=(0,H.get)(a.getData("morphology"),"id",!1);return i?a=>function(a,i){if(i.stemming.shouldNotBeStemmed.includes(a))return a;const e=function(a,i){if(-1===a.indexOf("-"))return null;const e=a.split("-");if(2===e.length){let a=e[0],n=e[1];if(a=X(a,i),n=X(n,i),a.substring(1)===(n.startsWith("ng")||n.startsWith("ny")?n.substring(2):n.substring(1))){const e=i.stemming.nonPluralReduplications;return e.includes(a)&&e.includes(n)?a+"-"+a:a}}return null}(a,i);return e||X(a,i)}(a,i):Y}const aa=["diskontinuitas","diskualifikasi","diskriminatif","diskriminator","digitalisasi","disinformasi","disintegrasi","diskriminasi","disorientasi","distabilitas","diktatorial","disinfektan","disinsentif","diskrepansi","distributor","diagnostik","dialketika","diktatoris","dinosaurus","diplomatik","diplomatis","direktorat","dirgantara","disimilasi","diskontinu","diskulpasi","disparitas","dispensasi","distilator","distingtif","distribusi","diversitas","diafragma","diagnosis","diakritik","diakronis","dialektal","dialektik","dialektis","digenesis","digitalis","dilematik","diminutif","dinamisme","dingklang","diplomasi","dirgahayu","disertasi","disfungsi","diskredit","diskursif","disleksia","dislokasi","dismutasi","disonansi","disosiasi","dispenser","disposisi","distilasi","distingsi","divestasi","diabeter","diagonal","dialisis","diameter","diaspora","difraksi","digestif","diglosia","dikotomi","diktator","dilatasi","dimorfik","dinamika","dioksida","diopsida","diplomat","direktur","disentri","disensus","disiplin","diskotek","diskresi","dispersi","disrupsi","distansi","distorsi","diagram","difabel","digdaya","digital","digresi","diletan","dimensi","dinamik","dinamis","dinamit","dinasti","dioksin","diorama","diploma","diptera","direksi","dirigen","disagio","disiden","disjoki","diskoid","diskusi","disuasi","dividen","diadem","diakon","dialek","dialog","diaper","diayah","diesel","dilasi","dinamo","diniah","diorit","diare","diode","didih","didik","didis","digit","dikau","dikir","diksi","dikte","dinas","dipan","dirah","direk","disko","dinda","difusi","dilema","dingin","diniah","diorit","dirham","disket","diskon","divisi","diftong","difteri","dinding","dingkis","dingkit","dioksin","diorama","diploma","dirigen","disiden","displin","disjoki","diskusi","distrik","dividen","digestif","diglosia","dikotomi","dingklik","dioksida","diplomat","direktur","disentri","diskresi","disorder","dispersi","distansi","disrupsi","divergen","dingklang","diplomasi","dirgahayu","disertasi","disfungsi","disilabik","diskredit","disleksia","dislokasi","disosiasi","dispenser","disposisi","distilasi","dinosaurus","diplomatik","diplomatis","dirgantara","disimilasi","diskontinu","disparitas","distilator","distribusi","divergensi","diversitas","disabilitas","disinfektan","diskrepansi","disintegrasi","diskriminasi","diskriminatif","diskontinuitas","diskualifikasi"],{getWords:ia}=e.languageProcessing;function ea(a){const i=ia(a.toLowerCase());let e=i.filter((a=>a.length>4));if(e=e.filter((a=>a.startsWith("di"))),0===e.length)return!1;for(const a of aa)e=e.filter((i=>!i.startsWith(a)));return e=e.filter((function(a){let e=!0;const n=i.indexOf(a);return"untuk"===i[n-1]&&(e=!1),e})),0!==e.length}const na="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>",sa=(na.split(""),new RegExp("^["+na+"]+")),ta=new RegExp("["+na+"]+$"),ua=new Map([["amp;","&"],["lt;","<"],["gt;",">"],["quot;",'"'],["apos;","'"],["ndash;","–"],["mdash;","—"],["copy;","©"],["reg;","®"],["trade;","™"],["pound;","£"],["yen;","¥"],["euro;","€"],["dollar;","$"],["deg;","°"],["asymp;","≈"],["ne;","≠"],["nbsp;"," "]]),ra=(new RegExp("&("+[...ua.keys()].join("|")+")","ig"),new Map);ua.forEach(((a,i)=>ra.set("#"+i,a)));const da=new RegExp("^("+[...ra.keys()].join("|")+")"),ka=new RegExp("("+[...ra.keys()].join("|")+")$"),la=["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."].map((a=>a.toLocaleLowerCase())),ma=/([\s\t\u00A0\u2013\u2014[\]])/,ga=function(a){if(!a)return[];return(a=>{const i=[];return a.forEach((a=>{const e=[],n=[];for(;sa.test(a)&&!da.test(a);)e.push(a[0]),a=a.slice(1);for(;ta.test(a)&&!ka.test(a)&&!la.includes(a.toLocaleLowerCase());)n.unshift(a[a.length-1]),a=a.slice(0,-1);let s=[...e,a,...n];s=s.filter((a=>""!==a)),i.push(...s)})),i})(a.split(ma).filter((a=>""!==a)))},{AbstractResearcher:pa}=e.languageProcessing;class oa extends pa{constructor(a){super(a),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"id",passiveConstructionType:"morphological",firstWordExceptions:n,functionWords:T,transitionWords:t,twoPartTransitionWords:D,areHyphensWordBoundaries:!1}),Object.assign(this.helpers,{getStemmer:Z,isPassiveSentence:ea,splitIntoTokensCustom:ga})}}(window.yoast=window.yoast||{}).Researcher=i})(); dist/languages/fr.js 0000644 00000210460 15174677550 0010446 0 ustar 00 (()=>{"use strict";var e={d:(i,t)=>{for(var s in t)e.o(t,s)&&!e.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:t[s]})},o:(e,i)=>Object.prototype.hasOwnProperty.call(e,i),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},i={};e.r(i),e.d(i,{default:()=>qe});const t=window.yoast.analysis,s=["le","la","les","un","une","deux","trois","quatre","cinq","six","sept","huit","neuf","dix","celui","celle","ceux","celles","celui-ci","celle-là","celui-là","celle-ci"],l=["ainsi","alors","aussi","car","cependant","certainement","certes","conséquemment","d'abord","d'ailleurs","d'après","davantage","désormais","deuxièmement","donc","dorénavant","effectivement","également","enfin","ensuite","entre-temps","essentiellement","excepté","finalement","globalement","jusqu'ici","là-dessus","lorsque","mais","malgré","néanmoins","notamment","partant","plutôt","pourtant","précédemment","premièrement","probablement","puis","puisque","quoique","sauf","selon","semblablement","sinon","suivant","toutefois","troisièmement"],r=l.concat(["à cause de","à ce jour","à ce propos","à ce sujet","à cet égard","à cette fin","à compter de","à condition que","à défaut de","à force de","à juste titre","à la lumière de","à la suite de","à l'aide de","à l'appui de","à l'encontre de","à l'époque actuelle","à l'exception de","à l'exclusion de","à l'heure actuelle","à l'image de","à l'instar de","à l'inverse","à l'inverse de","à l'opposé","à la condition que","à mesure que","à moins que","à nouveau","à partir de","à première vue","à savoir","à seule fin que","à supposer que","à tel point que","à tout prendre","à vrai dire","afin de","afin d'attirer l'attention sur","afin que","ainsi donc","ainsi que","alors que","antérieurement","après cela","après quoi","après que","à propos de","en l'occurence","après réflexion","après tout","attendu que","au cas où","au contraire","au fond","au fur et à mesure","au lieu de","au même temps","au moment où","au moyen de","au point que","au risque de","au surplus","au total","aussi bien que","aussitôt que","autant que","autrement dit","avant que","avant tout","ayant fini","bien que","c'est à dire que","c'est ainsi que","c'est dans ce but que","c'est dire","c'est le cas de","c'est la raison pour laquelle","c'est pourquoi","c'est qu'en effet","c'est-à-dire","ça confirme que","ça montre que","ça prouve que","cela étant","cela dit","cependant que","compte tenu","comme l'illustre","comme le souligne","comme on pouvait s'y attendre","comme quoi","comme si","commençons par examiner","comparativement à","conformément à","contrairement à","considérons par exemple","d'autant plus","d'autant que","d'autre part","d'ici là","d'où","d'un autre côté","d'un côté","d'une façon générale","dans ce cas","dans ces conditions","dans cet esprit","dans l'ensemble","dans l'état actuel des choses","dans l'éventualité où","dans l'hypothèse où","dans la mesure où","dans le but de","dans le cadre de","dans le cas où","dans les circonstances actuelles","dans les grandes lignes","dans un autre ordre d'idée","dans un délai de","de ce fait","de cette façon","de crainte que","de façon à","de façon à ce que","de façon que","de fait","de l'autre côté","de la même manière","de la même façon que","de manière que","de même","de même qu'à","de même que","de nos jours","de peur que","de prime abord","de sorte que","de surcroît","de telle manière que","de telle sorte que","de toute évidence","de toute façon","de toute manière","depuis que","dès lors que","dès maintenant","dès qua","dès que","du fait que","du moins","du moment que","du point de vue de","du reste","d'ici là","d'ores et déjà","en admettant que","en attendant que","en bref","en cas de","en cas que","en ce cas","en ce domaine","en ce moment","en ce qui a trait à","en ce qui concerne","en ce sens","en cela","en comparaison de","en conclusion","en conformité avec","en conséquence","en d'autres termes","en définitive","en dépit de","pour cela","en dernier lieu","en deuxième lieu","en effet","en face de","en fait","en fin de compte","en général","en guise de conclusion","en matière de","en même temps que","en outre","en particulier","en plus","en premier lieu","en principe","en raison de","en réalité","en règle générale","en résumé","en revanche","en second lieu","en somme","en sorte que","en supposant que","en tant que","en terminant","en théorie","en tout cas","en tout premier lieu","en troisième lieu","en un mot","en vérité","en vue que","encore que","encore une fois","entre autres","et même","et puis","étant donné qu'à","étant donné que","face à","grâce à","il est à noter que","il est indéniable que","il est question de","il est vrai que","il faut dire aussi que","il faut reconnaître que","il faut souligner que","il ne faut pas oublier que","il s'ensuit que","il suffit de prendre pour exemple","jusqu'ici","il y a aussi","jusqu'à ce que","jusqu'à ce jour","jusqu'à maintenant","jusqu'à présent","jusqu'au moment où","jusqu'ici","l'aspect le plus important de","l'exemple le plus significatif","jusqu'au moment où","la preuve c'est que","loin que","mais en réalité","malgré cela","malgré tout","même si","mentionnons que","mis à part le fait que","notons que","nul doute que","ou bien","outre cela","où que","par ailleurs","par conséquent","par contre","par exception","par exemple","par la suite","par l'entremise de","par l'intermédiaire de","par rapport à","par suite","par suite de","par surcroît","parce que","pareillement","partant de ce fait","pas du tout","pendant que","plus précisément","plus tard","pour ainsi dire","pour autant que","pour ce qui est de","pour ces motifs","pour ces raisons","pour cette raison","pour commencer","pour conclure","pour le moment","pour marquer la causalité","pour l'instant","pour peu que","pour prendre un autre exemple","pour que","pour résumé","pour terminer","pour tout dire","pour toutes ces raisons","pourvu que","prenons le cas de","quand bien même que","quand même","quant à","quel que soit","qui plus est","surtout quand","qui que","quitte à","quoi qu'il en soit","quoi que","quoiqu'il en soit","sans délai","sans doute","sans parler de","sans préjuger","sans tarder","sauf si","selon que","si bien que","si ce n'est que","si l'on songe que","sitôt que","somme toute","sur ce point","surtout si","sous cette réserve","sous prétexte que","sous réserve de","sous réserve que","suivant que","supposé que","sur le plan de","tandis que","tant et si bien que","tant que","tel que","tellement que","touchant à","tout à fait","tout bien pesé","tout compte fait","tout d'abord","tout de même","tout en reconnaissant que","une fois de plus","vu que"]);function n(e){let i=e;return e.forEach((t=>{(t=t.split("-")).length>0&&t.filter((i=>!e.includes(i))).length>0&&(i=i.concat(t))})),i}const a=["le","la","les","un","une","des","aux","du","au","d'un","d'une","l'un","l'une"],o=["deux","trois","quatre","cinq","six","sept","huit","neuf","dix","onze","douze","treize","quatorze","quinze","seize","dix-sept","dix-huit","dix-neuf","vingt","trente","quarante","cinquante","soixante","soixante-dix","quatre-vingt","quatre-vingt-dix","septante","huitante","octante","nonante","cent","mille","million","milliard"],u=["second","secondes","deuxième","deuxièmes","troisième","troisièmes","quatrième","quatrièmes","cinquième","cinquièmes","sixième","sixièmes","septième","septièmes","huitième","huitièmes","neuvième","neuvièmes","dixième","dixièmes","onzième","onzièmes","douzième","douzièmes","treizième","treizièmes","quatorzième","quatorzièmes","quinzième","quinzièmes","seizième","seizièmes","dix-septième","dix-septièmes","dix-huitième","dix-huitièmes","dix-neuvième","dix-neuvièmes","vingtième","vingtièmes"],d=["je","tu","il","elle","on","nous","vous","ils","elles","qu'il","qu'elle","qu'ils","qu'elles","qu'on","d'elle","d'elles"],c=["moi","toi","lui","soi","eux","d'eux","qu'eux"],m=["me","te"],p=["celui","celle","ceux","celles","ce","celui-ci","celui-là","celle-ci","celle-là","ceux-ci","ceux-là","celles-ci","celles-là","ceci","cela","ça","cette","cet","ces"],b=["mon","ton","son","ma","ta","sa","mes","tes","ses","notre","votre","leur","nos","vos","leurs"],f=["beaucoup","peu","quelque","quelques","tous","tout","toute","toutes","plusieurs","plein","chaque","suffisant","suffisante","suffisantes","suffisants","faible","moins","tant","plus","divers","diverse","diverses"],v=["se"],g=["aucun","aucune","autre","autres","d'autres","certain","certaine","certaines","certains","chacun","chacune","même","mêmes","quelqu'un","quelqu'une","quelques'uns","quelques'unes","autrui","nul","personne","quiconque","rien","d'aucunes","d'aucuns","nuls","nules","l'autre","tel","telle","tels","telles"],y=["qui","que","lequel","laquelle","auquel","auxquels","auxquelles","duquel","desquels","desquelles","dont","où","quoi"],w=["combien","comment","pourquoi","d'où"],h=["quel","quels","quelle"],q=["y","n'y"],x=["là","ici","d'ici","voici"],z=["a","a-t-elle","a-t-il","a-t-on","ai","ai-je","aie","as","as-tu","aura","aurai","auraient","aurais","aurait","auras","aurez","auriez","aurons","auront","avaient","avais","avait","avez","avez-vous","aviez","avions","avons","avons-nous","ayez","ayons","eu","eûmes","eurent","eus","eut","eûtes","j'ai","j'aurai","j'avais","j'eus","ont","ont-elles","ont-ils","vais","vas","va","allons","allez","vont","vais-je","vas-tu","va-t-il","va-t-elle","va-t-on","allons-nous","allez-vous","vont-elles","vont-ils","allé","allés","j'allai","allai","allas","alla","allâmes","allâtes","allèrent","j'allais","allais","allait","allions","alliez","allaient","j'irai","iras","ira","irons","irez","iront","j'aille","aille","ailles","aillent","j'allasse","allasse","allasses","allât","allassions","allassiez","allassent","j'irais","irais","irait","irions","iriez","iraient","allant","viens","vient","venons","venez","viennent","viens-je","viens-de","vient-il","vient-elle","vient-on","venons-nous","venez-vous","viennent-elles","viennent-ils","vins","vint","vînmes","vîntes","vinrent","venu","venus","venais","venait","venions","veniez","venaient","viendrai","viendras","viendra","viendrons","viendrez","viendront","vienne","viennes","vinsse","vinsses","vînt","vinssions","vinssiez","vinssent","viendrais","viendrait","viendrions","viendriez","viendraient","venant","dois","doit","devons","devez","doivent","dois-je","dois-tu","doit-il","doit-elle","doit-on","devons-nous","devez-vous","doivent-elles","doivent-ils","dus","dut","dûmes","dûtes","durent","dû","devais","devait","devions","deviez","devaient","devrai","devras","devra","devrons","devrez","devront","doive","doives","dusse","dusses","dût","dussions","dussiez","dussent","devrais","devrait","devrions","devriez","devraient","peux","peut","pouvons","pouvez","peuvent","peux-je","peux-tu","peut-il","peut-elle","peut-on","pouvons-nous","pouvez-vous","peuvent-ils","peuvent-elles","pus","put","pûmes","pûtes","purent","pu","pouvais","pouvait","pouvions","pouviez","pouvaient","pourrai","pourras","pourra","pourrons","pourrez","pourront","puisse","puisses","puissions","puissiez","puissent","pusse","pusses","pût","pussions","pussiez","pussent","pourrais","pourrait","pourrions","pourriez","pourraient","pouvant","semble","sembles","semblons","semblez","semblent","semble-je","sembles-il","sembles-elle","sembles-on","semblons-nous","semblez-vous","semblent-ils","semblent-elles","semblai","semblas","sembla","semblâmes","semblâtes","semblèrent","semblais","semblait","semblions","sembliez","semblaient","semblerai","sembleras","semblera","semblerons","semblerez","sembleront","semblé","semblasse","semblasses","semblât","semblassions","semblassiez","semblassent","semblerais","semblerait","semblerions","sembleriez","sembleraient","parais","paraît","ait","paraissons","paraissez","paraissent","parais-je","parais-tu","paraît-il","paraît-elle","paraît-on","ait-il","ait-elle","ait-on","paraissons-nous","paraissez-vous","paraissent-ils","paraissent-elles","parus","parut","parûmes","parûtes","parurent","paraissais","paraissait","paraissions","paraissiez","paraissaient","paraîtrai","paraîtras","paraîtra","paraîtrons","paraîtrez","paraîtront","paru","paraisse","paraisses","parusse","parusses","parût","parussions","parussiez","parussent","paraîtrais","paraîtrait","paraîtrions","paraîtriez","paraîtraient","paraitrais","paraitrait","paraitrions","paraitriez","paraitraient","paraissant","mets","met","mettons","mettez","mettent","mets-je","mets-tu","met-il","met-elle","met-on","mettons-nous","mettez-vous","mettent-ils","mettent-elles","mis","mit","mîmes","mîtes","mirent","mettais","mettait","mettions","mettiez","mettaient","mettrai","mettras","mettra","mettrons","mettrez","mettront","mette","mettes","misse","misses","mît","missions","missiez","missent","mettrais","mettrait","mettrions","mettriez","mettraient","mettant","finis","finit","finissons","finissez","finissent","finis-je","finis-tu","finit-il","finit-elle","finit-on","finissons-nous","finissez-vous","finissent-ils","finissent-elles","finîmes","finîtes","finirent","finissais","finissait","finissions","finissiez","finissaient","finirai","finiras","finira","finirons","finirez","finiront","fini","finisse","finisses","finît","finirais","finirait","finirions","finiriez","finiraient","finissant","n'a","n'ai","n'aie","n'as","n'aura","n'aurai","n'auraient","n'aurais","n'aurait","n'auras","n'aurez","n'auriez","n'aurons","n'auront","n'avaient","n'avais","n'avait","n'avez","n'avez-vous","n'aviez","n'avions","n'avons","n'avons-nous","n'ayez","n'ayons","n'ont","n'ont-elles","n'ont-ils","n'allons","n'allez","n'allais","n'allait","n'allions","n'alliez","n'allaient","n'iras","n'ira","n'irons","n'irez","n'iront","qu'a"],j=["avoir","aller","venir","devoir","pouvoir","sembler","paraître","paraitre","mettre","finir","d'avoir","d'aller","n'avoir","l'avoir"],E=["suis","es","est","est-ce","n'est","sommes","êtes","sont","suis-je","es-tu","est-il","est-elle","est-on","sommes-nous","êtes-vous","sont-ils","sont-elles","étais","était","étions","étiez","étaient","serai","seras","sera","serons","serez","seront","serais","serait","serions","seriez","seraient","sois","soit","soyons","soyez","soient","été","n'es","n'est-ce","n'êtes","n'était","n'étais","n'étions","n'étiez","n'étaient","qu'est"],S=["être","d'être"],R=["à","après","d'après","au-delà","au-dessous","au-dessus","avant","avec","concernant","chez","contre","dans","de","depuis","derrière","dès","devant","durant","en","entre","envers","environ","hormis","hors","jusque","jusqu'à","jusqu'au","jusqu'aux","loin","moyennant","outre","par","parmi","pendant","pour","près","quant","sans","sous","sur","travers","vers","voilà"],P=["et","ni","or","ou"],C=["non","pas","seulement","sitôt","aussitôt","d'autre"],W=["afin","autant","comme","d'autant","d'ici","quand","lors","parce","si","tandis"],k=["dit","disent","dit-il","dit-elle","disent-ils","disent-elles","disait","disait-il","disait-elle","disaient-ils","disaient-elles","dirent","demande","demandent","demande-t-il","demande-t-elle","demandent-ils","demandent-elles","demandait","demandaient","demandait-il","demandait-elle","demandaient-ils","demandaient-elles","demanda","demanda-t-il","demanda-t-elle","demandé","pense","pensent","pense-t-il","pense-t-elle","pensent-ils","pensent-elles","pensait","pensaient","pensait-il","pensait-elle","pensaient-ils","pensaient-elles","pensa","pensa-t-il","pensa-t-elle","pensé","affirme","affirme-t-il","affirme-t-elle","affirmé","avoue","avoue-t-il","avoue-t-elle","avoué","concède","concède-t-il","concède-t-elle","concédé","confie","confie-t-il","confie-t-elle","confié","continue","continue-t-il","continue-t-elle","continué","déclame","déclame-t-il","déclame-t-elle","déclamé","déclare","déclare-t-il","déclare-t-elle","déclaré","déplore","déplore-t-il","déplore-t-elle","déploré","explique","explique-t-il","explique-t-elle","expliqué","lance","lance-t-il","lance-t-elle","lancé","narre","narre-t-il","narre-t-elle","narré","raconte","raconte-t-il","raconte-t-elle","raconté","rappelle","rappelle-t-il","rappelle-t-elle","rappelé","réagit","réagit-il","réagit-elle","réagi","répond","répond-il","répond-elle","répondu","rétorque","rétorque-t-il","rétorque-t-elle","rétorqué","souligne","souligne-t-il","souligne-t-elle","souligné","affirme-t-il","affirme-t-elle","ajoute-t-il","ajoute-t-elle","analyse-t-il","analyse-t-elle","avance-t-il","avance-t-elle","écrit-il","écrit-elle","indique-t-il","indique-t-elle","poursuit-il","poursuit-elle","précise-t-il","précise-t-elle","résume-t-il","résume-t-elle","souvient-il","souvient-elle","témoigne-t-il","témoigne-t-elle"],O=["dire","penser","demander","concéder","continuer","confier","déclamer","déclarer","déplorer","expliquer","lancer","narrer","raconter","rappeler","réagir","répondre","rétorquer","souligner","affirmer","ajouter","analyser","avancer","écrire","indiquer","poursuivre","préciser","résumer","témoigner"],A=["assez","trop","tellement","presque","très","absolument","extrêmement","quasi","quasiment","fort"],L=["fais","fait","faisons","faites","font","fais-je","fait-il","fait-elle","fait-on","faisons-nous","faites-vous","font-ils","font-elles","fis","fit","fîmes","fîtes","firent","faisais","faisait","faisions","faisiez","faisaient","ferai","feras","fera","ferons","ferez","feront","veux","veut","voulons","voulez","veulent","voulus","voulut","voulûmes","voulûtes","voulurent","voulais","voulait","voulions","vouliez","voulaient","voudrai","voudras","voudra","voudrons","voudrez","voudront","voulu","veux-je","veux-tu","veut-il","veut-elle","veut-on","voulons-nous","voulez-vous","veulent-ils","veulent-elles","voudrais","voudrait","voudrions","voudriez","voudraient","voulant"],T=["faire","vouloir"],$=["antérieur","antérieures","antérieurs","antérieure","précédent","précédents","précédente","précédentes","facile","faciles","simple","simples","vite","vites","vitesse","vitesses","difficile","difficiles","propre","propres","long","longe","longs","longes","longue","longues","bas","basse","basses","ordinaire","ordinaires","bref","brefs","brève","brèves","sûr","sûrs","sûre","sûres","sure","sures","surs","habituel","habituels","habituelle","habituelles","soi-disant","surtout","récent","récents","récente","récentes","total","totaux","totale","totales","complet","complets","complète","complètes","possible","possibles","communément","constamment","facilement","continuellement","directement","légèrement","dernier","derniers","dernière","dernières","différent","différents","différente","différentes","similaire","similaires","pareil","pareils","pareille","pareilles","largement","mal","super","bien","pire","pires","suivants","suivante","suivantes","prochain","prochaine","prochains","prochaines","proche","proches","fur"],M=["nouveau","nouvel","nouvelle","nouveaux","nouvelles","vieux","vieil","vieille","vieilles","beau","bel","belle","belles","bon","bons","bonne","bonnes","grand","grande","grands","grandes","haut","hauts","haute","hautes","petit","petite","petits","petites","meilleur","meilleurs","meilleure","meilleures","joli","jolis","jolie","jolies","gros","grosse","grosses","mauvais","mauvaise","mauvaises","dernier","derniers","dernière","dernières"],N=["ah","ha","oh","ho","bis","plouf","vlan","ciel","pouf","paf","crac","hurrah","allo","stop","bravo","ô","eh","hé","aïe","oef","ahi","fi","zest","hem","holà","chut"],V=["mg","g","kg","ml","dl","cl","l","grammes","gram","once","onces","oz","lbs","càc","cc","càd","càs","càt","cd","cs","ct"],B=["minute","minutes","heure","heures","journée","journées","semaine","semaines","mois","année","années","aujourd'hui","demain","hier","après-demain","avant-hier"],I=["chose","choses","façon","façons","pièce","pièces","truc","trucs","fois","cas","aspect","aspects","objet","objets","idée","idées","thème","thèmes","sujet","sujets","personnes","manière","manières","sorte","sortes"],D=["ne","oui","d'accord","amen","euro","euros","etc"],F=(n([].concat(u,j,T,S,O,M)),n($),n([].concat(a,R,P,p,A,f,b)),n([].concat(l,d,m,c,v,N,o,E,k,z,L,g,C,W,h,y,x,D,q,V,B,I)),[].concat(a,R,c,m,b,v,g,w,h,o,u,L,k,T)),_=[].concat(z,j),H=n([].concat(a,o,u,p,b,v,d,m,y,f,g,w,q,x,z,j,h,E,S,R,P,C,W,k,O,l,["encore","éternellement","immédiatement","compris","comprenant","inclus","naturellement","particulièrement","notablement","actuellement","maintenant","ordinairement","généralement","habituellement","d'habitude","vraiment","finalement","uniquement","peut-être","initialement","déjà","c.-à-d","souvent","fréquemment","régulièrement","simplement","éventuellement","quelquefois","parfois","probable","plausible","jamais","toujours","incidemment","accidentellement","récemment","dernièrement","relativement","clairement","évidemment","apparemment","pourvu"],A,L,T,N,$,M,V,I,D,B,["mme","mmes","mlle","mlles","mm","dr","pr"],["jr","sr"],c)),J=["et","ou","car","or","puisque","puisqu'il","puisqu'ils","puisqu'elle","puisqu'elles","puisqu'un","puisqu'une","puisqu'on","quand","lorsque","lorsqu'il","lorsqu'elle","lorsqu'ils","lorsqu'elles","lorsqu'on","lorsqu'un","lorsqu'une","quoique","quoiqu'il","quoiqu'ils","quoiqu'elle","quoiqu'elles","quoiqu'on","quoiqu'un","quoiqu'une","qu'elle","qu'il","qu'ils","qu'elles","qu'on","qu'un","qu'une","si","s'ils","s'il","quand bien même","pourquoi","après","avant","afin de","compte tenu de","pour ne pas dire","sinon","une fois","sitôt","dont","lequel","laquelle","lesquels","lesquelles","auquel","auxquels","auxquelles","duquel","desquels","desquelles","qui","où","d'où",":","allé","entré","resté","retombé","apparu","réapparu","devenu","redevenu","intervenu","provenu","resurvenu","survenu","allés","entrés","restés","retombés","apparus","réapparus","devenus","redevenus","intervenus","provenus","resurvenus","survenus","allée","entrée","restée","retombée","apparue","réapparue","devenue","redevenue","intervenue","provenue","resurvenue","survenue","allées","entrées","restées","retombées","apparues","réapparues","devenues","redevenues","intervenues","provenues","resurvenues","survenues"],U=[["à première vue","mais à bien considérer les choses"],["à première vue","mais toute réflexion faite"],["aussi","que"],["autant de","que"],["certes","mais"],["d'un côté","de l'autre côté"],["d'un côté","de l'autre"],["d'un côté","d'un autre côté"],["d'une part","d'autre part"],["d'une parte","de l'autre parte"],["moins de","que"],["non seulement","mais aussi"],["non seulement","mais en outre"],["non seulement","mais encore"],["plus de","que"],["quelque","que"],["si","que"],["soit","soit"],["tantôt","tantôt"],["tout d'abord","ensuite"],["tout","que"]],X=JSON.parse('{"vowels":"aeiouyàâéèêëîïûüùôæœ","deviations":{"vowels":[{"fragments":["[ptf]aon(ne)?[s]?$"],"countModifier":-1},{"fragments":["aoul","[^eéiïou]e(s|nt)?$","[qg]ue(s|nt)?$"],"countModifier":-1},{"fragments":["o[ëaéèï]"],"countModifier":1},{"fragments":["a[eéèïüo]","é[aâèéiîuo]","ii[oe]","[aeéuo]y[aâeéèoui]","coe[^u]","zoo","coop","coord","poly[ae]","[bcd]ry[oa]","[bcdfgptv][rl](ou|u|i)[aéèouâ]","ouez","[blmnt]uio","uoia","ment$","yua","[bcdfgptv][rl](i|u|eu)e([ltz]|r[s]?$|n[^t])","[^aeiuyàâéèêëîïûüùôæœqg]uie[rz]$"],"countModifier":1}],"words":{"full":[{"word":"ok","syllables":2},{"word":"eyeliner","syllables":3},{"word":"coati","syllables":3},{"word":"que","syllables":1},{"word":"flouer","syllables":2},{"word":"relouer","syllables":3},{"word":"évaluons","syllables":4},{"word":"instituons","syllables":4},{"word":"atténuons","syllables":4},{"word":"remuons","syllables":3},{"word":"redestribuons","syllables":5},{"word":"suons","syllables":2},{"word":"reconstituons","syllables":5},{"word":"dent","syllables":1},{"word":"fréquent","syllables":2},{"word":"permanent","syllables":3},{"word":"mécontent","syllables":3},{"word":"grandiloquent","syllables":4},{"word":"continent","syllables":3},{"word":"occident","syllables":3},{"word":"référent","syllables":3},{"word":"indigent","syllables":3},{"word":"concurrent","syllables":3},{"word":"gent","syllables":1},{"word":"différent","syllables":3},{"word":"strident","syllables":2},{"word":"équivalent","syllables":4},{"word":"ardent","syllables":2},{"word":"impotent","syllables":3},{"word":"argent","syllables":2},{"word":"immanent","syllables":3},{"word":"indécent","syllables":3},{"word":"effluent","syllables":3},{"word":"agent","syllables":2},{"word":"dolent","syllables":2},{"word":"contingent","syllables":3},{"word":"impénitent","syllables":4},{"word":"adjacent","syllables":3},{"word":"incident","syllables":3},{"word":"content","syllables":2},{"word":"incontinent","syllables":4},{"word":"éloquent","syllables":3},{"word":"convent","syllables":2},{"word":"dissident","syllables":3},{"word":"innocent","syllables":3},{"word":"ventripotent","syllables":4},{"word":"convalescent","syllables":4},{"word":"accident","syllables":3},{"word":"récent","syllables":2},{"word":"absent","syllables":2},{"word":"décadent","syllables":3},{"word":"réticent","syllables":3},{"word":"évent","syllables":2},{"word":"souvent","syllables":2},{"word":"intelligent","syllables":3},{"word":"inhérent","syllables":3},{"word":"adolescent","syllables":4},{"word":"couvent","syllables":2},{"word":"cent","syllables":1},{"word":"urgent","syllables":2},{"word":"précédent","syllables":3},{"word":"imprudent","syllables":3},{"word":"torrent","syllables":2},{"word":"abstinent","syllables":3},{"word":"indifférent","syllables":4},{"word":"excédent","syllables":3},{"word":"déférent","syllables":3},{"word":"incandescent","syllables":4},{"word":"intermittent","syllables":4},{"word":"présent","syllables":3},{"word":"astringent","syllables":3},{"word":"trident","syllables":2},{"word":"impertinent","syllables":4},{"word":"détergent","syllables":3},{"word":"évident","syllables":3},{"word":"influent","syllables":3},{"word":"pertinent","syllables":3},{"word":"subséquent","syllables":3},{"word":"féculent","syllables":3},{"word":"déférent","syllables":3},{"word":"ambivalent","syllables":4},{"word":"omnipotent","syllables":4},{"word":"décent","syllables":2},{"word":"compétent","syllables":3},{"word":"adhérent","syllables":3},{"word":"afférent","syllables":3},{"word":"luminescent","syllables":4},{"word":"lent","syllables":1},{"word":"apparent","syllables":3},{"word":"effervescent","syllables":4},{"word":"parent","syllables":2},{"word":"pénitent","syllables":3},{"word":"fluorescent","syllables":3},{"word":"impudent","syllables":3},{"word":"diligent","syllables":3},{"word":"entregent","syllables":3},{"word":"flatulent","syllables":3},{"word":"serpent","syllables":2},{"word":"violent","syllables":2},{"word":"somnolent","syllables":3},{"word":"déliquescent","syllables":4},{"word":"proéminent","syllables":4},{"word":"résident","syllables":3},{"word":"putrescent","syllables":3},{"word":"talent","syllables":2},{"word":"spumescent","syllables":3},{"word":"tangent","syllables":2},{"word":"chiendent","syllables":2},{"word":"négligent","syllables":3},{"word":"antécédent","syllables":4},{"word":"régent","syllables":2},{"word":"polyvalent","syllables":4},{"word":"latent","syllables":2},{"word":"opulent","syllables":3},{"word":"arpent","syllables":2},{"word":"adent","syllables":2},{"word":"concupiscent","syllables":4},{"word":"sanguinolent","syllables":4},{"word":"opalescent","syllables":4},{"word":"prudent","syllables":2},{"word":"conséquent","syllables":3},{"word":"pourcent","syllables":2},{"word":"transparent","syllables":3},{"word":"sergent","syllables":2},{"word":"diligent","syllables":3},{"word":"inconséquent","syllables":4},{"word":"turbulent","syllables":3},{"word":"fervent","syllables":2},{"word":"truculent","syllables":3},{"word":"interférent","syllables":4},{"word":"confluent","syllables":3},{"word":"succulent","syllables":3},{"word":"purulent","syllables":3},{"word":"patent","syllables":2},{"word":"indulgent","syllables":3},{"word":"engoulevent","syllables":4},{"word":"auvent","syllables":2},{"word":"président","syllables":3},{"word":"confident","syllables":3},{"word":"incompétent","syllables":4},{"word":"accent","syllables":2},{"word":"arborescent","syllables":4},{"word":"contrevent","syllables":3},{"word":"cohérent","syllables":3},{"word":"relent","syllables":2},{"word":"insolent","syllables":3},{"word":"virulent","syllables":3},{"word":"rémanent","syllables":3},{"word":"vent","syllables":1},{"word":"turgescent","syllables":3},{"word":"incohérent","syllables":4},{"word":"malcontent","syllables":3},{"word":"lactescent","syllables":3},{"word":"inintelligent","syllables":5},{"word":"omniprésent","syllables":4},{"word":"récurrent","syllables":3},{"word":"covalent","syllables":3},{"word":"éminent","syllables":3},{"word":"onguent","syllables":2},{"word":"indolent","syllables":3},{"word":"event","syllables":2},{"word":"corpulent","syllables":3},{"word":"divergent","syllables":3},{"word":"excellent","syllables":3},{"word":"phosphorescent","syllables":4},{"word":"évanescent","syllables":4},{"word":"paravent","syllables":3},{"word":"avent","syllables":2},{"word":"iridescent","syllables":4},{"word":"prénomment","syllables":2},{"word":"consument","syllables":2},{"word":"dégomment","syllables":2},{"word":"enveniment","syllables":3},{"word":"proclament","syllables":2},{"word":"chôment","syllables":1},{"word":"infirment","syllables":2},{"word":"briment","syllables":1},{"word":"fument","syllables":1},{"word":"acclament","syllables":2},{"word":"referment","syllables":2},{"word":"impriment","syllables":2},{"word":"paument","syllables":1},{"word":"déciment","syllables":2},{"word":"accoutument","syllables":3},{"word":"essaiment","syllables":2},{"word":"ferment","syllables":1},{"word":"dépriment","syllables":2},{"word":"raniment","syllables":2},{"word":"programment","syllables":2},{"word":"fantasment","syllables":2},{"word":"animent","syllables":2},{"word":"affirment","syllables":2},{"word":"filment","syllables":1},{"word":"dament","syllables":1},{"word":"parsèment","syllables":3},{"word":"priment","syllables":1},{"word":"assomment","syllables":2},{"word":"rament","syllables":1},{"word":"pâment","syllables":1},{"word":"conforment","syllables":2},{"word":"embaument","syllables":2},{"word":"calment","syllables":1},{"word":"blasphèment","syllables":2},{"word":"désarment","syllables":2},{"word":"consomment","syllables":2},{"word":"griment","syllables":1},{"word":"abîment","syllables":2},{"word":"blâment","syllables":1},{"word":"endorment","syllables":2},{"word":"allument","syllables":2},{"word":"blâment","syllables":1},{"word":"confirment","syllables":2},{"word":"escriment","syllables":2},{"word":"trament","syllables":1},{"word":"hument","syllables":1},{"word":"surnomment","syllables":2},{"word":"écument","syllables":2},{"word":"triment","syllables":1},{"word":"estiment","syllables":2},{"word":"rallument","syllables":2},{"word":"enflamment","syllables":2},{"word":"riment","syllables":1},{"word":"plument","syllables":1},{"word":"suppriment","syllables":2},{"word":"gomment","syllables":1},{"word":"affament","syllables":2},{"word":"friment","syllables":1},{"word":"clament","syllables":1},{"word":"dorment","syllables":1},{"word":"dénomment","syllables":2},{"word":"entament","syllables":2},{"word":"arriment","syllables":2},{"word":"résument","syllables":2},{"word":"enrhument","syllables":2},{"word":"rendorment","syllables":2},{"word":"compriment","syllables":2},{"word":"aiment","syllables":1},{"word":"rythment","syllables":1},{"word":"périment","syllables":2},{"word":"réclament","syllables":2},{"word":"subliment","syllables":2},{"word":"brument","syllables":1},{"word":"embrument","syllables":2},{"word":"germent","syllables":1},{"word":"renferment","syllables":2},{"word":"sèment","syllables":1},{"word":"reforment","syllables":2},{"word":"liment","syllables":1},{"word":"cament","syllables":1},{"word":"parfument","syllables":2},{"word":"arment","syllables":1},{"word":"brament","syllables":1},{"word":"déforment","syllables":2},{"word":"assument","syllables":2},{"word":"crament","syllables":1},{"word":"exclament","syllables":2},{"word":"forment","syllables":1},{"word":"diffament","syllables":2},{"word":"somment","syllables":1},{"word":"oppriment","syllables":2},{"word":"miment","syllables":1},{"word":"enferment","syllables":2},{"word":"nomment","syllables":1},{"word":"reprogramment","syllables":3},{"word":"transforment","syllables":2},{"word":"expriment","syllables":2},{"word":"informent","syllables":2},{"word":"légitiment","syllables":3},{"word":"de","syllables":1},{"word":"le","syllables":1},{"word":"je","syllables":1},{"word":"te","syllables":1},{"word":"ce","syllables":1},{"word":"ne","syllables":1},{"word":"re","syllables":1},{"word":"me","syllables":1},{"word":"se","syllables":1},{"word":"ses","syllables":1},{"word":"mes","syllables":1},{"word":"mes","syllables":1},{"word":"ces","syllables":1},{"word":"des","syllables":1},{"word":"tes","syllables":1},{"word":"les","syllables":1},{"word":"oye","syllables":1},{"word":"es","syllables":1},{"word":"remerciâmes","syllables":4},{"word":"herniaires","syllables":3},{"word":"autopsiais","syllables":4},{"word":"août","syllables":1}],"fragments":{"global":[{"word":"business","syllables":2},{"word":"skate","syllables":1},{"word":"board","syllables":1},{"word":"coach","syllables":1},{"word":"roadster","syllables":2},{"word":"soap","syllables":1},{"word":"goal","syllables":1},{"word":"coaltar","syllables":2},{"word":"loader","syllables":2},{"word":"coat","syllables":1},{"word":"baseball","syllables":2},{"word":"foëne","syllables":1},{"word":"cacaoyer","syllables":4},{"word":"scoop","syllables":1},{"word":"zoom","syllables":1},{"word":"bazooka","syllables":3},{"word":"tatoueu","syllables":3},{"word":"cloueu","syllables":2},{"word":"déchouer","syllables":2},{"word":"écrouelles","syllables":3},{"word":"maestria","syllables":3},{"word":"maestro","syllables":3},{"word":"vitae","syllables":3},{"word":"paella","syllables":3},{"word":"vae","syllables":2},{"word":"thaï","syllables":1},{"word":"skaï","syllables":1},{"word":"masaï","syllables":2},{"word":"samouraï","syllables":3},{"word":"bonsaï","syllables":2},{"word":"bonzaï","syllables":2},{"word":"aïkido","syllables":3},{"word":"daïquiri","syllables":3},{"word":"pagaïe","syllables":2},{"word":"chiite","syllables":2},{"word":"pays","syllables":2},{"word":"antiaérien","syllables":5},{"word":"bleui","syllables":2},{"word":"remerciai","syllables":4},{"word":"monstrueu","syllables":3},{"word":"niakoué","syllables":3},{"word":"minoen","syllables":3},{"word":"groenlandais","syllables":4},{"word":"remerciant","syllables":4},{"word":"skiant","syllables":2},{"word":"ruade","syllables":2},{"word":"weltanschauung","syllables":4}],"atBeginning":[{"word":"roast","syllables":1},{"word":"taï","syllables":1}],"atEnd":[{"word":"écrouer","syllables":3},{"word":"clouer","syllables":2}]}}}}'),G=window.lodash,K=["abâtardi","abattu","abêti","aboli","abouti","abruti","abstenu","abstrait","accompli","accouru","accroupi","accru","accueilli","adjoint","adouci","advenu","affadi","affaibli","affermi","agi","agrandi","aguerri","ahuri","aigri","alangui","alenti","alourdi","aluni","amaigri","amati","amerri","aminci","amoindri","amolli","amorti","anéanti","apâli","aperçu","aplani","appartenu","appauvri","appendu","appesanti","applaudi","approfondi","arrondi","assagi","assailli","assaini","asservi","assombri","assorti","assoupi","assoupli","assourdi","assouvi","assujetti","astreint","attendri","attendu","atterri","attiédi","attrait","autodétruit","avachi","aveuli","avili","banni","barri","bâti","battu","béni","blanchi","blêmi","bleui","blondi","blotti","bonni","bouffi","bouilli","bruni","bu","calmi","candi","ceint","chéri","choisi","circonscrit","circonvenu","combattu","comparu","compati","conclu","concouru","condescendu","conduit","confit","confondu","conjoint","connu","consenti","construit","contenu","contraint","contredit","contrefait","contrevenu","convaincu","convenu","converti","coproduit","correspondu","couru","cousu","craint","cramoisi","crépi","croupi","cru","cueilli","cuit","débattu","décati","déchu","déconfit","déconstruit","décousu","découvert","décrépi","décrit","décru","déçu","dédit","déduit","défailli","défendu","défini","défleuri","défraîchi","dégarni","dégluti","dégourdi","démenti","démoli","démordu","démuni","départi","dépeint","dépendu","dépéri","déplu","dépoli","dépourvu","désobéi","desservi","déteint","détendu","détenu","détruit","dévêtu","discouru","disjoint","disparu","distendu","distrait","dit","diverti","dormi","durci","ébahi","ébaubi","ébaudi","éclairci","éconduit","écrit","élargi","élu","embelli","embouti","émoulu","empli","empreint","empuanti","ému","enchéri","encouru","endolori","endormi","enduit","endurci","enfoui","enfreint","enfui","englouti","engourdi","enhardi","enjoint","enlaidi","ennobli","enorgueilli","enrichi","enseveli","entendu","entr'aperçu","entraperçu","entreclos","entremis","entretenu","entrevu","entrouvert","envahi","épanoui","éperdu","équarri","équivalu","estourbi","établi","éteint","étendu","étourdi","étréci","étreint","eu","évanoui","exclu","extrait","faibli","fait","fallu","farci","feint","fendu","fini","fléchi","fleuri","fondu","forci","foui","fourbi","fourni","foutu","fraîchi","franchi","frémi","frit","fui","garanti","garni","gauchi","gémi","glapi","grandi","grossi","guéri","haï","imparti","induit","infléchi","inscrit","instruit","interdit","interrompu","interverti","introduit","inverti","investi","jailli","jauni","joint","joui","langui","loti","lu","maintenu","méconnu","mécru","médit","menti","minci","moisi","moiti","molli","mordu","morfondu","moulu","mugi","muni","nanti","noirci","nourri","nui","obéi","obscurci","obtenu","offert","oint","ouï","ourdi","ouvert","pâli","parcouru","paru","pâti","peint","pendu","perçu","péri","perverti","pétri","plaint","portrait","pourfendu","pourri","poursuivi","pourvu","prédéfini","prédit","préétabli","prémuni","prescrit","prétendu","prévalu","prévenu","prévu","produit","promu","proscrit","pu","puni","rabattu","rabougri","radouci","raffermi","ragaillardi","raidi","rajeuni","ralenti","ramolli","ranci","ravi","réadmis","réagi","réappris","rebâti","rebattu","rebondi","rebu","reconnu","reconstruit","reconverti","recouru","recouvert","recrépi","récrit","recru","reçu","recueilli","recuit","redécouvert","redéfini","redit","réduit","réécrit","réélu","réentendu","refendu","réfléchi","refondu","refoutu","refroidi","regarni","régi","réinscrit","réintroduit","réinvesti","rejoint","réjoui","relu","relui","rembruni","remordu","rempli","renchéri","rendormi","rendu","rentrait","répandu","reparcouru","réparti","reparu","repeint","rependu","repenti","reperdu","répondu","reproduit","résolu","resplendi","ressaisi","resservi","restreint","resurgi","rétabli","retendu","retenu","retraduit","retrait","retranscrit","rétréci","réuni","réussi","revécu","revendu","reverdi","reverni","revêtu","revu","ri","roidi","rosi","rôti","rougi","roussi","rousti","rouvert","rugi","saisi","sali","satisfait","sauri","secouru","séduit","senti","serti","servi","sévi","souffert","souri","sous-entendu","sous-tendu","souscrit","soustrait","soutenu","souvenu","su","subi","subvenu","suffi","suivi","surenchéri","surgi","suri","survécu","suspendu","tapi","tari","teint","tendu","tenu","terni","terri","tiédi","tondu","tordu","traduit","trahi","trait","transcrit","transi","travesti","tressailli","uni","vagi","vaincu","valu","vécu","vendu","verdi","verni","vêtu","vieilli","vomi","voulu","vu"],Q=["absous","absoute","absoutes","dissous","dissoute","dissoutes","crû","crus","crue","crues","dû","dus","dues","mû","mus","mue","mues"],Y=["repris","démis","omis","dépris","retransmis","assis","promis","circoncis","permis","compris","mépris","inclus","soumis","rassis","sursis","enclos","acquis","compromis","commis","désappris","appris","conquis","transmis","remis","surpris","reconquis","mis","enquis","pris","admis","clos","émis","entrepris","épris","requis"],{getWords:Z,matchRegularParticiples:ee}=t.languageProcessing,ie=function(e,i,t){const s=[];return(0,G.forEach)(i,(function(i){const l=new RegExp("^"+i+t+"?$","ig"),r=e.match(l);r&&s.push(r[0])})),s};const te=["allé","arrivé","décédé","demeuré","entré","été","né","resté","retombé","tombé","achalandé","aéroporté","affilé","affixé","âgé","aîné","aisé","aligoté","alizé","alliacé","alluré","alphabétisé","alvéolé","aminé","ammoniaqué","ampoulé","archi-prouvé","archi-usé","asexué","autoguidé","autopropulsé","aviné","baleiné","barbelé","baryté","bien-aimé","bisexué","bouqueté","brioché","burkinabé","cagoulé","calamistré","cannelé","carabiné","carboné","caréné","carié","carminé","carné","carpé","censé","cérusé","charançonné","chenillé","chocolaté","chtarbé","citronné","cofondé","contrecollé","côtelé","courbaturé","crawlé","crossé","crustacé","cutané","damasquiné","damassé","débellé","décavé","déguenillé","demi-paralysé","denté","dépenaillé","désenchanté","désodé","diapré","ébranché","écervelé","effréné","effronté","éhonté","embourgeoisé","embroussaillé","embruiné","émerillonné","encalminé","encaustiqué","encorné","endiablé","endiamanté","enfoiré","enfouraillé","ensellé","entrelardé","éploré","ergoté","erroné","étagé","éthéré","éversé","éwé","ex-associé","exorbité","expansé","famé","férié","fibré","filoguidé","flammé","fleurdelisé","fliqué","flûté","forcené","fortuné","foulbé","frelaté","friqué","futé","gazonné","gracieusé","gradé","granulé","herminé","hiérarchisé","huppé","hydrogéné","igné","illettré","illimité","imbriqué","immaculé","immérité","immodéré","immunodéprimé","impayé","impensé","impollué","imprononcé","inaccoutumé","inachevé","inactivé","inadapté","inaltéré","inanimé","inapproprié","inarticulé","inavoué","inchangé","inconditionné","inconsidéré","inconsolé","incontesté","incontrôlé","incréé","indéfriché","indéterminé","indifférencié","indiscipliné","indiscuté","indivisé","indompté","inébranlé","inemployé","inentamé","inespéré","inexpérimenté","inexpliqué","inexploité","inexploré","inexprimé","infondé","informulé","infortuné","inhabité","inimité","injustifié","inné","innommé","inoccupé","inopiné","inorganisé","inoublié","insensé","insoupçonné","instantané","insubordonné","insurpassé","intentionné","interallié","intouché","inusité","inutilisé","invertébré","inviolé","iodé","irraisonné","irréalisé","lacté","lamé","lamifié","larvé","laryngé","léopardé","lettré","lié","lifté","losangé","luné","lunetté","madré","maillé","malaisé","malavisé","maléficié","malfamé","malformé","malintentionné","mendé","ménopausé","mentholé","mi-accablé","mi-allongé","mi-café","mi-consterné","mi-enterré","mi-étonné","mi-pincé","mi-terrorisé","miellé","millimétré","miraculé","momentané","monoclé","monté","mordoré","mort-né","névrosé","nitré","non-initié","nouveau-né","olé-olé","ongulé","paillé","palé","papilionacé","paqueté","paraffiné","passé","pasteurisé","patenté","paysagé","pédonculé","pestiféré","platiné","pocheté","polychromé","poplité","potelé","pourpré","praliné","précité","prédigéré","préencollé","préfabriqué","prématuré","premier-né","préprogrammé","prostré","protéiné","pyramidé","quadrilobé","racé","re-café","re-rêvé","re-vérifié","rebarré","redécoré","relargué","remonté","rentré","résiné","ressuscité","réticulé","retourné","revérifié","revivifié","rose-thé","safrané","satiné","saumoné","sébacé","sensé","sexué","sigillé","silicosé","simultané","sinistré","soufré","sous-cutané","sous-développé","sous-qualifié","soussigné","spiralé","spontané","stratifié","sulfaté","sulfuré","sulfurisé","suractivé","suranné","surbooké","surbrodé","surdéveloppé","surdimensionné","surdoué","surentraîné","suroxygéné","surpeuplé","surqualifié","susmentionné","susnommé","systématisé","tarabiscoté","taupé","thrombosé","tiercé","timoré","tiqueté","transcutané","triphasé","usagé","usité","vallonné","vanillé","vascularisé","veinulé","venté","vergé","vert-de-grisé","vertébré","vitaminé","vulcanisé","zélé"],se=["à-côté","abbé","absurdité","accessibilité","acerbité","acidité","acmé","acné","âcreté","activité","actualité","acuité","adaptabilité","adiposité","admissibilité","adversité","affabilité","affectivité","affidé","affinité","agilité","agressivité","alacrité","alcalinité","altérité","amabilité","ambiguïté","amé","aménité","américanité","amirauté","amitié","amoralité","ancestralité","ancienneté","anfractuosité","angulosité","animalité","animosité","anormalité","anti-acné","anti-cité","anti-criminalité","anti-gravité","anti-intimité","anti-société","antigravité","antiquité","anxiété","aparté","applicabilité","âpreté","archevêché","aridité","artificialité","asexualité","asociabilité","aspérité","assiduité","astarté","atrocité","austérité","authenticité","autodafé","autorité","avé","aveugle-né","avidité","ébriété","effectivité","efficacité","égalité","élasticité","électricité","élément-clé","élémentarité","éligibilité","émotivité","empaffé","énormité","entièreté","entité","enviandé","épitomé","équanimité","équité","étanchéité","éternité","ethnicité","étrangéité","étrangeté","euromarché","évêché","éventualité","ex-abbé","ex-fiancé","excentricité","exclusivité","exemplarité","exhaustivité","exiguïté","extériorité","externalité","exterritorialité","extrémité","idée-clé","identité","illégalité","illégitimité","imbécillité","immatérialité","immaturité","immédiateté","immensité","immobilité","immoralité","immortalité","immuabilité","immunité","immutabilité","impalpabilité","impartialité","impassibilité","impeccabilité","impécuniosité","impénétrabilité","imperméabilité","impersonnalité","impétuosité","impiété","implacabilité","impopularité","impossibilité","impraticabilité","imprévisibilité","improbabilité","impudicité","impulsivité","impunité","impureté","inaccessibilité","inactivité","inanité","inauthenticité","incapacité","incommodité","incommunicabilité","incompatibilité","incongruité","incorruptibilité","incrédibilité","incrédulité","incuriosité","indemnité","indestructibilité","indignité","indisponibilité","individualité","indivisibilité","indocilité","industrie-clé","inefficacité","inégalité","inéligibilité","inéluctabilité","inévitabilité","inexorabilité","infaillibilité","infécondité","infériorité","infertilité","infidélité","infinité","infirmité","inflammabilité","inflexibilité","ingéniosité","ingénuité","inhospitalité","inhumanité","inimitié","iniquité","innocuité","inopportunité","insalubrité","insanité","insécurité","insensibilité","inséparabilité","insincérité","insipidité","insonorité","instabilité","instantanéité","insularité","intangibilité","intégralité","intégrité","intelligibilité","intemporalité","intensité","intentionnalité","interactivité","intériorité","intimité","intrépidité","inusabilité","inutilité","invalidité","inventivité","invincibilité","inviolabilité","invisibilité","invulnérabilité","irrationalité","irréalité","irrecevabilité","irrégularité","irréligiosité","irresponsabilité","irréversibilité","irrévocabilité","irritabilité","obésité","objectivité","obliquité","obscénité","obscurité","obséquiosité","officialité","oiseau-clé","oisiveté","okoumé","onctuosité","opacité","opiniâtreté","opportunité","oralité","originalité","ubiquité","ukulélé","unanimité","unicité","uniformité","unilatéralité","unité","universalité","université","urbanité","utilité","yé-yé","yéyé","achillée","almée","aménorrhée","année","anti-nausée","apnée","apogée","araignée","arrière-pensée","assiettée","athénée","auloffée","aveugle-née","avrillée","azalée","échauffourée","écuellée","élysée","embardée","empyrée","épée","épopée","étuvée","ex-allée","ex-dulcinée","ex-fiancée","ex-lycée","idée","ipomée","odyssée","onomatopée","orchidée","orée","orphée","urée","banalité","bas-côté","beaupré","beauté","bébé","bédé","bénédicité","bénignité","bestialité","bien-fondé","biodiversité","bipolarité","bisexualité","blé","bonté","bout-rimé","bovidé","brièveté","brutalité","caducité","café","callosité","camélidé","canapé","capacité","capillarité","captivité","carte-clé","caté","catholicité","causalité","causticité","cavité","cécité","célébrité","célérité","cérébralité","cétacé","charité","chassé-croisé","chasteté","cherté","chétivité","chimpanzé","chrétienté","ciné","cinéma-vérité","circularité","citoyenneté","civilité","clandé","clandestinité","clarté","clé","clergé","co-propriété","coaccusé","cochonceté","code-clé","collectivité","collégialité","combativité","comestibilité","comité","commodité","communauté","communicabilité","compacité","comparabilité","compatibilité","compétitivité","complémentarité","complexité","complicité","comptabilité","comté","concavité","condé","conductibilité","conductivité","confidentialité","conformité","confraternité","congé","conjugalité","connectivité","consanguinité","constitutionnalité","contiguïté","continuité","contrariété","contre-gré","contre-plaqué","contre-vérité","contreplaqué","contrevérité","convexité","convivialité","coopé","copropriété","cordialité","coré","coriacité","corporalité","côté","créativité","crédibilité","crédulité","crétacé","criminalité","cruauté","crudité","culpabilité","cupidité","curiosité","cybercafé","cyprinidé","dangerosité","daphné","dé","débotté","décimalité","décision-clé","déclivité","déductibilité","défectuosité","degré","déité","déloyauté","demi-clarté","demi-degré","demi-liberté","demi-obscurité","demi-vérité","dénatalité","densité","député","dératé","dernier-né","désirabilité","dextérité","difficulté","difformité","dignité","discontinuité","disparité","disponibilité","diversité","divinité","docilité","domesticité","doyenné","dualité","duché","duplicité","durabilité","dureté","faculté","faillibilité","faisabilité","familiarité","fatalité","fatuité","fausseté","fébrilité","fécondité","félidé","félinité","féminité","féodalité","fermeté","férocité","ferté","fertilité","festivité","fétidité","fiabilité","fibrillé","fidélité","fierté","finalité","fiscalité","fixité","flaccidité","flatuosité","flexibilité","flexuosité","flottabilité","fluidité","fonctionnalité","formalité","fossé","fragilité","francité","fraternité","friabilité","frigidité","frilosité","fringillidé","frivolité","frugalité","fugacité","furtivité","futilité","gaieté","gaîté","gallinacé","gémellité","généralité","générosité","génialité","génitalité","germanité","gibbosité","globalité","godemiché","gracieuseté","gracilité","grand-duché","granité","gratuité","gravidité","gré","grossièreté","habileté","habitabilité","haute-fidélité","henné","hérédité","hétérogénéité","hétérosexualité","hilarité","histocompatibilité","historicité","homme-clé","homogénéité","homosexualité","honnêteté","honorabilité","horizontalité","hospitalité","hostilité","humanité","humidité","humilité","hyperacidité","hyperactivité","hypercoagulabilité","hyperémotivité","hypermarché","hyperréactivité","hypersensibilité","jovialité","joyeuseté","jubé","judaïcité","judaïté","judéité","juvénilité","karaoké","karaté","karité","kiné","koré","lâcheté","laïcité","lamedé","lascivité","latéralité","latinité","laubé","laxité","lé","légalité","légèreté","légitimité","lèse-majesté","létalité","lettre-clé","libéralité","liberté","licéité","limpidité","liquidité","lisibilité","littéralité","lividité","localité","longanimité","longévité","loquacité","loyauté","lubricité","lucidité","luminosité","macramé","magnanimité","majesté","majorité","mal-aimé","mal-baisé","malhonnêteté","malignité","malinké","malléabilité","malpropreté","maniabilité","manoeuvrabilité","marginalité","masculinité","maskinongé","massivité","matérialité","maternité","matité","maturité","mauvaiseté","méchanceté","médiocrité","médiumnité","mémé","mémorabilité","mendicité","mensualité","mentalité","merveillosité","méticulosité","mi-capacité","mi-été","mi-meublé","mi-porté","mi-réalité","mi-résigné","miché","microgravité","minorité","mitoyenneté","mixité","mobilité","mocheté","modalité","modernité","modicité","moment-clé","mondanité","monstruosité","mont-de-piété","monumentalité","mooré","moralité","morbidité","morosité","mortalité","mot-clé","motilité","motricité","mousmé","mucosité","multiplicité","multipropriété","municipalité","musicalité","mutabilité","mutité","mutualité","naïveté","narghilé","narguilé","natalité","nationalité","nativité","navigabilité","nébulosité","négativité","néné","nervosité","nescafé","netteté","neutralité","névé","niakoué","niébé","nocivité","non-conformité","non-culpabilité","nordicité","normalité","notabilité","notoriété","nouveauté","nouvelleté","nubilité","nudité","nue-propriété","nullité","nuptialité","papauté","papé","parenté","parité","partialité","particularité","passiveté","passivité","pâté","paternité","pause-café","pauses-café","pauvreté","pédé","pédégé","pénalité","pépé","pérennité","perfectibilité","périodicité","perméabilité","permissivité","péroné","perpétuité","perplexité","perré","personnage-clé","personnalité","perspicacité","perversité","pèse-bébé","petit-salé","photosensibilité","phrase-clé","pilosité","pisé","pitié","placidité","plasticité","plausibilité","pluralité","pluviosité","point-clé","poiré","poire-vérité","polarité","polycopié","polytonalité","ponctualité","pongé","popularité","porosité","portabilité","porte-bébé","porte-clé","position-clé","positivité","possessivité","possibilité","poste-clé","postérité","potentialité","pousse-café","pré","pré-salé","précarité","préciosité","précocité","prématurité","prévisibilité","prévôté","prieuré","primauté","principauté","priorité","privauté","probabilité","probité","prodigalité","productivité","profitabilité","prolixité","promiscuité","proportionnalité","propreté","propriété","prospérité","proximité","psyché","puberté","publicité","pudicité","puérilité","pugnacité","puîné","pureté","pusillanimité","qualité","quantité","quarté","quasi-impossibilité","quasi-impunité","quasi-nudité","quasi-totalité","quasi-unanimité","question-clé","quinté","quotidienneté","quotité","radioactivité","raisiné","rapacité","raphé","rapidité","rareté","rationalité","raucité","ré","réactivité","réalité","récépissé","réceptivité","recevabilité","réciprocité","récré","régularité","relativité","religiosité","rentabilité","reportage-vérité","respectabilité","responsabilité","réversibilité","rigidité","risibilité","rivalité","romanité","rotondité","roulé-boulé","royauté","rugosité","rusticité","sagacité","saint-honoré","sainteté","saké","salacité","saleté","salinité","salmonidé","salubrité","santé","sapidité","satiété","sauveté","scène-clé","scientificité","scissiparité","scolarité","scrupulosité","sécurité","sédentarité","sélectivité","semi-liberté","séné","sénevé","sénilité","sensibilité","sensorialité","sensualité","sentimentalité","septicité","sérénité","sergé","séropositivité","sérosité","serviabilité","servilité","sévérité","sexualité","similarité","simplicité","simultanéité","sincérité","singularité","sinuosité","sobriété","sociabilité","société","solennité","solidarité","solidité","solubilité","soluté","solvabilité","sommité","somptuosité","sonorité","sordidité","sororité","soudaineté","sous-comité","sous-humanité","souveraineté","spasticité","spécialité","spécificité","sphéricité","spiritualité","spontanéité","sportivité","spumosité","stabilité","sténopé","stérilité","stupidité","suavité","subjectivité","sublimité","subtilité","succédané","suggestibilité","suggestivité","superficialité","superfluité","supériorité","supermarché","supraconductivité","suractivité","surcapacité","surdité","sûreté","surgé","surhumanité","surintensité","surréalité","susceptibilité","suzeraineté","synthé","taboulé","taciturnité","tamouré","tangibilité","tarpé","technicité","télé","témérité","témoin-clé","temporalité","ténacité","tendreté","ténébrionidé","ténuité","territorialité","tévé","thé","théâtralité","tiaré","timidité","tollé","tonalité","tonicité","totalité","toxicité","traçabilité","tranquillité","translucidité","transsexualité","trinité","trivialité","tsé-tsé","tubérosité","turbé","vacuité","vahiné","validité","vanité","variabilité","variété","vassalité","vastité","velléité","vélocité","vénalité","vénusté","véracité","verbosité","vérité","versatilité","verticalité","vétusté","viabilité","vicinalité","vicomté","viduité","virginité","virilité","virtualité","virtuosité","viscosité","visibilité","vitalité","vivacité","volatilité","volonté","volubilité","volupté","voracité","vulgarité","vulnérabilité","batée","becquée","billevesée","bolée","bondrée","borée","bouée","bougainvillée","brouettée","buée","caducée","canne-épée","casserolée","cavée","centaurée","cépée","céphalée","charretée","chaudronnée","chicorée","chorée","cochlée","cochonnée","colée","contre-allée","contre-plongée","corvée","coryphée","cucurbitacée","cuillerée","culée","cylindrée","demi-journée","demi-volée","denrée","dernière-née","diarrhée","diatomée","dionée","dragée","dulcinée","dysménorrhée","dyspnée","fée","feuillée","flopée","fournée","fricassée","friselée","galathée","galée","giboulée","giroflée","gonorrhée","goulée","graminée","guinée","gynécée","haquenée","hottée","hyménée","hyperborée","hypogée","journée","lance-fusée","litée","logorrhée","lycée","macchabée","mainlevée","maisonnée","mal-aimée","mal-baisée","maréchaussée","marée","mausolée","mélopée","mi-effrontée","mi-journée","miellée","mijaurée","mosquée","moteur-fusée","muflée","nausée","nuée","nuitée","panacée","pâtée","peignée","pelletée","pépée","périgée","périnée","pharmacopée","pipée","platée","pochetée","pochetée","poignée","poirée","poisson-épée","porte-épée","potée","poupée","première-née","prérentrée","presse-purée","prytanée","purée","quasi-fiancée","ramée","raz-de-marée","resucée","rétrofusée","rez-de-chaussée","risée","ruchée","scarabée","séborrhée","sigisbée","simagrée","singe-araignée","soirée","solanacée","tablée","tinée","trachée","trâlée","transfusée","travée","trépanée","trochée","trophée","vallée","ventrée","vesprée"],le=["bé","cré","crédié","é","loucedé","eussé","hé","malgré","moitié-moitié","ohé","olé","ollé","sacrédié","quasi-instantanée"],{precedenceException:re,directPrecedenceException:ne,values:ae}=t.languageProcessing,{Clause:oe}=ae,ue=["être","d'être","suis","es","est","sommes","êtes","sont","n'est","n'es","n'êtes","été","j'étais","étais","était","étions","étiez","étaient","c'était","n'étais","n'était","n'étions","n'étiez","n'étaient","serai","seras","sera","serons","serez","seront","sois","soit","soyons","soyez","soient","fusse","fusses","fût","fussions","fussiez","fussent","serais","serait","serions","seriez","seraient","fus","fut","fûmes","fûtes","furent","suis-je","es-tu","est-il","est-elle","est-on","sommes-nous","êtes-vous","sont-ils","sont-elles","est-ce","étais-je","étais-tu","était-il","était-elle","était-on","était-ce","étions-nous","étiez-vous","étaient-ils","étaient-elles","serai-je","seras-tu","sera-t-il","sera-t-elle","sera-t-on","sera-ce","serons-nous","serez-vous","seront-ils","seront-elles","serais-je","serais-tu","serait-il","serait-elle","serait-on","serait-ce","serions-nous","seriez-vous","seraient-ils","seraient-elles","fus-je","fus-tu","fut-il","fut-elle","fut-on","fut-ce","fûmes-nous","fûtes-vous","furent-ils","furent-elles"],{createRegexFromArray:de,getClauses:ce}=t.languageProcessing,me={Clause:class extends oe{constructor(e,i){super(e,i),this._participles=function(e){const i=Z(e),t=[];return(0,G.forEach)(i,(function(e){0===ee(e,[/\S+(é|ée|és|ées)($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi]).length&&0===function(e){let i=[].concat(ie(e,K,"(e|s|es)"));return i=i.concat(ie(e,Y,"(e|es)")),(0,G.includes)(Q,e)&&i.push(e),i}(e).length||t.push(e)})),t}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getClauseText(),i=this.getParticiples().filter((i=>!(i.startsWith("l'")||i.startsWith("d'")||(0,G.includes)(le,i)||this.isOnAdjectiveVerbExceptionList(i)||this.isOnNounExceptionList(i)||ne(e,i,F)||re(e,i,_))));this.setPassive(i.length>0)}isOnAdjectiveVerbExceptionList(e){return!!te.includes(e)||(e.endsWith("es")?e=e.slice(0,-2):(e.endsWith("e")||e.endsWith("s"))&&(e=e.slice(0,-1)),te.includes(e))}isOnNounExceptionList(e){return!!se.includes(e)||(e.endsWith("s")&&(e=e.slice(0,-1)),se.includes(e))}},stopwords:J,auxiliaries:ue,regexes:{auxiliaryRegex:de(ue),stopCharacterRegex:/(,)(?=[ \n\r\t'"+\-»«‹›<>])/gi,followingAuxiliaryExceptionRegex:de(["le","la","les","une","l'un","l'une"]),directPrecedenceExceptionRegex:de(["se","me","te","s'y","m'y","t'y","nous nous","vous vous"]),elisionAuxiliaryExceptionRegex:de(["c'","s'","peut-"],!0)}};function pe(e){return ce(e,me)}const{exceptionListHelpers:{checkIfWordEndingIsOnExceptionList:be},regexHelpers:{applyAllReplacements:fe}}=t.languageProcessing,{baseStemmer:ve}=t.languageProcessing;function ge(e){const i=(0,G.get)(e.getData("morphology"),"fr",!1);return i?e=>function(e,i){const t=e=e.toLowerCase(),s=function(e,i){for(const t of i.cannotTakeExtraSuffixS)if(t[0]===e)return t[1];e.endsWith("s")&&(e=e.slice(0,-1));for(const t of i.canTakeExtraSuffixS)if(t[0]===e)return t[1]}(e,i.shortWordsAndStems);if(s)return s;const l=function(e,i){for(const t of i)if(t[1].includes(e))return t[0];return null}(e,i.exceptionStemsWithFullForms);if(l)return l;if(e.endsWith("x")&&i.pluralsWithXSuffix.includes(e))return e.slice(0,-1);if(e.endsWith("s")&&i.sShouldNotBeStemmed.includes(e))return e;const r=i.nonVerbsOnEnt;if(e.endsWith("ent")&&r.includes(e))return e;if(e.endsWith("ents")&&r.includes(e.slice(0,-1)))return e.slice(0,-1);const n=i.nonVerbsOnOns;if(e.endsWith("ons")&&n.includes(e))return e.slice(0,-1);e=fe(e,i.regularStemmer.preProcessingStepsRegexes);const[a,o,u]=function(e,i){let t;-1!==e.search(new RegExp(i.rvRegex1))||-1!==e.search(new RegExp(i.rvRegex2))?t=3:(t=e.substring(1).search(new RegExp(i.rvRegex3)),-1===t?t=e.length:t+=2);const s=new RegExp(i.r1Regex);let l=e.search(s),r="";-1===l?l=e.length:(l+=2,r=e.substring(l));let n=r.search(s);return-1===n?n=e.length:(n+=2,n+=l),-1!==l&&l<3&&(l=3),[l,n,t]}(e,i.regularStemmer.rIntervals),d=e=function(e,i,t,s,l){const r=e.search(new RegExp(i.standardSuffixes1)),n=e.search(new RegExp(i.standardSuffixes2)),a=e.search(new RegExp(i.standardSuffixes3[0])),o=e.search(new RegExp(i.standardSuffixes4[0])),u=e.search(new RegExp(i.standardSuffixes5[0])),d=e.search(new RegExp(i.standardSuffixes6)),c=e.search(new RegExp(i.standardSuffixes7)),m=e.search(new RegExp(i.standardSuffixes8)),p=e.search(new RegExp(i.standardSuffixes9[0])),b=e.search(new RegExp(i.standardSuffixes10[0])),f=e.search(new RegExp(i.standardSuffixes11[0])),v=e.search(new RegExp(i.standardSuffixes12)),g=e.search(new RegExp(i.standardSuffixes13[0])),y=e.search(new RegExp(i.standardSuffixes14[0])),w=e.search(new RegExp(i.standardSuffixes15));if(-1!==r&&r>=s)e=e.substring(0,r);else if(-1!==n&&n>=s){const t=(e=e.substring(0,n)).search(new RegExp(i.suffixesPrecedingChar1[0]));e=-1!==t&&t>=s?e.substring(0,t):e.replace(new RegExp(i.suffixesPrecedingChar1[0]),i.suffixesPrecedingChar1[1])}else if(-1!==a&&a>=s)e=e.slice(0,a)+i.standardSuffixes3[1];else if(-1!==o&&o>=s)e=e.slice(0,o)+i.standardSuffixes4[1];else if(-1!==u&&u>=s)e=e.slice(0,u)+i.standardSuffixes5[1];else if(-1!==v&&v>=t)e=e.substring(0,v+1);else if(-1!==d&&d>=l){const r=(e=e.substring(0,d)).search(new RegExp(i.suffixesPrecedingChar2[0])),n=e.search(new RegExp(i.suffixesPrecedingChar4[0])),a=e.search(new RegExp(i.suffixesPrecedingChar5[0])),o=e.search(new RegExp(i.suffixesPrecedingChar6[0]));if(r>=s){const t=(e=e.slice(0,r)+i.suffixesPrecedingChar2[1]).search(new RegExp(i.suffixesPrecedingChar3[0]));t>=s&&(e=e.slice(0,t)+i.suffixesPrecedingChar3[1])}else-1!==e.search(new RegExp(i.suffixesPrecedingChar4[0]))?n>=s?e=e.substring(0,n):n>=t&&(e=e.substring(0,n)+i.suffixesPrecedingChar4[1]):a>=s?e=e.slice(0,a)+i.suffixesPrecedingChar5[1]:o>=l&&(e=e.slice(0,o)+i.suffixesPrecedingChar6[1])}else if(-1!==c&&c>=s){const t=(e=e.substring(0,c)).search(new RegExp(i.suffixesPrecedingChar7[0])),l=e.search(new RegExp(i.suffixesPrecedingChar1[0]));-1!==t?e=t>=s?e.substring(0,t):e.substring(0,t)+i.suffixesPrecedingChar7[1]:-1!==l?e=-1!==l&&l>=s?e.substring(0,l):e.substring(0,l)+i.suffixesPrecedingChar1[1]:e.search(new RegExp(i.suffixesPrecedingChar2[0]))>=s&&(e=e.replace(new RegExp(i.suffixesPrecedingChar2[0]),i.suffixesPrecedingChar2[1]))}else if(-1!==m&&m>=s)(e=e.substring(0,m)).search(new RegExp(i.suffixesPrecedingChar3[0]))>=s&&(e=(e=e.replace(new RegExp(i.suffixesPrecedingChar3[0]),i.suffixesPrecedingChar3[1])).search(new RegExp(i.suffixesPrecedingChar1[0]))>=s?e.replace(new RegExp(i.suffixesPrecedingChar1[0]),""):e.replace(new RegExp(i.suffixesPrecedingChar1[0]),i.suffixesPrecedingChar1[1]));else if(-1!==p)e=e.replace(new RegExp(i.standardSuffixes9[0]),i.standardSuffixes9[1]);else if(b>=t)e=e.replace(new RegExp(i.standardSuffixes10[0]),i.standardSuffixes10[1]);else if(-1!==f){const l=e.search(new RegExp(i.standardSuffixes11[0]));l>=s?e=e.substring(0,l):l>=t&&(e=e.substring(0,l)+i.standardSuffixes11[1])}else-1!==g&&g>=l?e=e.replace(new RegExp(i.standardSuffixes13[0]),i.standardSuffixes13[1]):-1!==y&&y>=l?e=e.replace(new RegExp(i.standardSuffixes14[0]),i.standardSuffixes14[1]):-1!==w&&w>=l&&(e=e.substring(0,w+1));return e}(e,i.regularStemmer.standardSuffixes,a,o,u),c=function(e,i,t,s){let l=!1;if(i===e.toLowerCase()||be(i,s.exceptions)){l=!0;const i=new RegExp(s.suffixes[0]);e.search(i)>=t&&(e=e.replace(i,s.suffixes[1]))}return{word:e,step2aDone:l}}(e,t,u,i.regularStemmer.verbSuffixesWithIBeginning);e=c.word;const m=c.step2aDone;if(r.includes(e)||(e=function(e,i,t,s,l,r){const n=r.regularStemmer.otherVerbSuffixes;if(i&&t===e){const i=new RegExp(n[0]);if(e.search(i)>=s)return e.replace(i,"");for(let i=1;i<n.length;i++){const t=new RegExp(n[i]);if(e.search(t)>=l)return e.replace(t,"")}if(e.endsWith("ions"))return e;const t=new RegExp(r.regularStemmer.verbSuffixOns);e.search(t)>=l&&(e=e.replace(t,""))}return e}(e,m,d,o,u,i)),t===e.toLowerCase())e=function(e,i,t,s){const l=s.residualSuffixes;e.search(new RegExp(l.residualSuffixes1[0]))>=i&&(e=e.replace(new RegExp(l.residualSuffixes1[0]),l.residualSuffixes1[1]));const r=e.search(new RegExp(l.residualSuffix2));if(r>=t&&e.search(new RegExp(l.residualSuffix3))>=i)e=e.substring(0,r);else{let t=e.search(new RegExp(l.residualSuffixes4[0]));t>=i?e=e.substring(0,t)+l.residualSuffixes4[1]:(t=e.search(new RegExp(l.residualSuffix5)),t>=i?e=e.substring(0,t):(t=e.search(new RegExp(l.residualSuffix6[0])),t>=i&&(e=e.substring(0,t)+l.residualSuffix6[1])))}return e}(e,u,o,i.regularStemmer);else{const t=i.regularStemmer.yAndSoftCEndingAndReplacement.yEndingAndReplacement,s=i.regularStemmer.yAndSoftCEndingAndReplacement.softCEndingAndReplacement;e.endsWith(t[0])?e=e.slice(0,-1)+t[1]:e.endsWith(s[0])&&(e=e.slice(0,-1)+s[1])}e=fe(e,i.regularStemmer.finalConsonantUndoubling);const p=i.regularStemmer.unaccentERegex;return function(e,i){for(const t of i.adjectives)if(t.includes(e))return t[0];for(const t of i.verbs)if(t.includes(e))return t[0]}(e=(e=e.replace(new RegExp(p[0]),p[1])).toLowerCase(),i.stemsThatBelongToOneWord)||e}(e,i):ve}const{formatNumber:ye}=t.helpers;function we(e){const i=207-1.015*e.numberOfWords/e.numberOfSentences-73.6*e.numberOfSyllables/e.numberOfWords;return ye(i)}const{AbstractResearcher:he}=t.languageProcessing;class qe extends he{constructor(e){super(e),Object.assign(this.config,{language:"fr",passiveConstructionType:"periphrastic",firstWordExceptions:s,functionWords:H,stopWords:J,transitionWords:r,twoPartTransitionWords:U,syllables:X}),Object.assign(this.helpers,{getClauses:pe,getStemmer:ge,fleschReadingScore:we})}}(window.yoast=window.yoast||{}).Researcher=i})(); dist/languages/cs.js 0000644 00000055062 15174677550 0010451 0 ustar 00 (()=>{"use strict";var i={d:(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(i,e)=>Object.prototype.hasOwnProperty.call(i,e),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},e={};i.r(e),i.d(e,{default:()=>h});const t=window.yoast.analysis,n=["ten","nula","jeden","jedné","jedna","jedno","dva","dvě","dvou","tři","čtyři","pět","šest","sedm","osm","devět","deset","sto","tisíc","tento","ta","tato","to","toto","ti","tito","kdo","co"],s=["protože","když","sbohem","sotva","kdo","co","kde","odkud","kdy","odkdy","ačkoli","navzdory","ačkoli","když","kde","aby","pořádku","kdyby","jak","do","že","jako","přesně","jako","než","aby","kdo","kde","kdo","koho","kde","kolik","odkud","proč","kolik","nebo"],a=["předtím","vždyť","definitely","konečně","jasné","možné","ale","demzufolge","však","ačkoliv","protože","ovšem","zkrátka","potom","stejně","tím","jinak","zatímco","když","co","kdežto","ačkoli","přestože","čas","chvíle","chvilka","avšak","jenže","nicméně","přitom","aniž","a","proto","tedy","teda","totiž","mimoto","čímž","což","než","nejenže","také","jenom","přesto","jak","jelikož","takže","zda","sice","tudíž","jakoby","nýbrž","neboli","jen","čili","pak","jenomže","kdežto","leč","poněvadž","třeba","přece","nežli","zdali","buďto","totiž","jenom","leda","pakliže","třebaže","jakože","jakkoli","nechť","sotva","kterak","sic","jakkoliv","ledaže","ježto","třebas","jakž","pakli","zdalipak","takž","jakže","pokavaď","jakby","pokudž","sotvaže","pokad","kdyžtě","mezitímco","buďsi","byťsi","pokadž","tedyť","buďže","dle","vzhledem","místo","vedle","okolo","uprostřed","namísto","navzdory","krom","poblíž","blízko","nedaleko","začátkem","naproti","počátkem","počínaje","postupem","vlivem","vyjma","následkem","dík","zpoza","zásluhou","nevyjímaje","doprostřed","zpod","zespoda","závěrem","úvodem","přese","prostřed","nepočítaje","úměrně","vprostřed","navrch","vevnitř","zespodu","poblíže","počínajíc","nadtoť","zpozad","vyjímaje","začínaje","zespod","navrchu","vyjímajíc","navzdor","dál","veprostřed","končíc","začínajíc","nepočítajíc","zvíce","vprostředku","opodále","podále","naprostřed","vlastně","podle","samozřejmě","vždyť","zatím","dřív","radši","spíš","poprvé","nakonec","navíc","záleží","zbytek","kým","jakmile","skutečně","tentokrát","představit","jménem"],o=a.concat(["a proto","i když","i přestože","z tohoto důvodu","kromě toho","nějaký čas","k tomu","na jedné straně","stručně řečeno","jinými slovy","důvod je","důvodem je","hlavně protože","možným důvodem je","a potom","mimo to","z uvedených důvodů","z těchto důvodů","důvod je jednoduchý","teprve potom","hlavní důvod proč","nejdřív potom","přesto však","ale zároveň","ale také","během toho"]),u=function(i){let e=i;return i.forEach((t=>{(t=t.split("-")).length>0&&t.filter((e=>!i.includes(e))).length>0&&(e=e.concat(t))})),e}([].concat([],["nula","jeden","jedné","jedna","jedno","dva","dvě","dvou","tři","čtyři","pět","šest","sedm","osm","devět","deset","jedenáct","dvanáct","třináct","čtrnáct","patnáct","šestnáct","sedmnáct","osmnáct","devatenáct","dvacet","dvacet jedna","dvacet dva","dvacet tři","třicet","čtyřicet","padesát","šedesát","sedmdesát","osmdesát","devadesát","sto","dvě stě","tři sta","čtyři sta","pět set","šest set","sedm set","osm set","devět set","tisíc","dva tisíce","jedenáct tisíc","dvacet pět tisíc","sto třicet osm tisíc","milión","dva milióny","pět miliónů","šest miliónů","sedm miliónů","miliarda"],["první","druhý","druhé","třetí","čtvrtý","pátý","šestý","sedmý","osmý","devátý","desátý"],["já","ty","on","ona","ono","my","mě","mne","mi","mně","vy","oni","ony","tě","ti","tebe","tobě","jeho","něho","ho","jej","něj","ji","jí","ní","je","ně","jim","nim","jimi","nimi","jich","nich","jemu","němu","něm","mém","mým","mých","mou","mými","ním","mu","nás","nám","námi","vás","vám","mnou","námi","tebou","vámi","našich","tys","naši","můj","má","mé","mí","moje","mého","mojí","mých","mému","moji","tvůj","tvoje","tvá","tvé","tví","tvoji","tvého","tvojí","tvých","tvojích","tvému","tvým","tvou","tvém","tvých","tvými","jeho","její","náš","naše","váš","vaše","jejich","vaší","naší","ten","tento","ta","tato","to","toto","ti","tito","tyto","ty","tato","tohle","toho","abych","těch","tenhle","abyste","abychom","tyhle","tuhle","tohoto","čeho","čemu","téhle","těmi","této","tomhle","tou","tahle","žes","tímhle","těm","těchto","tomu","tu","ten","tom","tím","který","která","které","kterého","kterému","kterou","kterém","kterým","kteří","kterých","kterými","jenž","jež","jehož","jejž","něhož","nějž","jíž","níž","jemuž","němuž","jež","něž","němž","jímž","nímž","již","jichž","nichž","jimž","nimž","jimiž","nimiž","kdo","co","koho","čeho","komu","čemu","koho","kom","čem","kým","čím","cože","což","koho","jakou"],["co","čí","čím","jak","jaký","jaké","kde","kdo","kdý","kolik","který","jenž","proč"],["nějaký","nějaká","nějaké","žádný","nijaký","lecjaký","ledajaký","ledasjaký","kdejaký","kdekterý","všelijaký","veškerý","pár","hodně","celý","tolik","celou","celé","oba","buď","zbytek","žádná","nějakou","spoustu","několik"],["se","si","sebe","sobě","sebou","svůj","svoje","svá","své","svého","svojí","svému","svoji","svou","svém","svým","sví","svých","svými"],["někdo","někoho","někomu","někom","někým","něco","nic","něčeho","něčemu","něco","cokoli","cokoliv","něčem","něčím","některá","některé","některého","některému","některý","některou","některém","některým","někteří","některých","některými","nějaká","nějaké","nějakého","nějakému","nějaký","nějakou","nějakém","nějakým","nějací","nějakých","nějakými","něčí","něčího","něčímu","něčím","něčí","ničí","něčích","něčími","ledakdo","ledaco","ledajaký","ledakterý","kdokoliv","kdokoli","kohokoli","komukoli","kohokoli","komkoli","kýmkoli","cokoli","jakýkoli","jakýkoliv","kterýkoli","číkoli","kdos","kdosi","cosi","kterýsi","jakýsi","nikdo","čísi","leckdo","leckdos","ledakdo","ledaskdo","kdekdo","lecco","leccos","ledaco","ledacos","ledaco","ledasco","leckterý","kdekdo","kdečí","kdeco","lecčí","ledačí","ledasčí","někde","nikde","kdekoliv","kdekoli","všude","leckde","ledaskde","ledakde","někudy","kudysi","nikudy","kdekudy","odněkud","odkudsi","odnikud","odevšad","kdesi","všechen","málokdo","máloco","málokterý","zřídkakdo","zřídkaco","sotvakdo","sotvaco","sotva který","každý","každá","každé","každého","každému","každému","každou","každém","každým","každí","každých","každým","každými","všechen","všechna","všechno","vše","všeho","vší","všemu","všechnu","vším","všichni","všechny","všech","všem","všemi","takový","takové ","takového","takovou","cokoliv","jiného","jiný","taková","jiné","odtud"],["během","bez","blízko","do","od","okolo","kolem","u","vedle","z","ze","k","ke","kvůli","navzdor","navzdory","krom, vedle","kromě, vedle","místo","namísto","ohledně","podél","pomocí","oproti","naproti","proti","prostřednictvím","s","u","vlivem","vyjma","využitím","stran","díky","kvůli","podle","vůči","na","té","o","pro","přes","za","po","v","ve","mezi","s","se","nad","pod","před","mimo","skrz","při","jako","asi","dokud","ven","běž","odkud","ode","nahoře","nahoru","dovnitř","dne","beze","napříč","versus","via","vně","dovnitř","vpředu","vůkol","vespod","opodál","vepředu","svrchu","vnitř","zprostřed","naspodu","zdéli","okol","podál","naspod","kontra","vespodu","zponad","ponad","nadtož","kolkolem","zdélí","veskrz","popod","daleko","vůkolem"],["a","i","aby","ale","že","protože","neboť","když","až","jestli","jestliže","pokud","kdyby","nebo","anebo","či","proto","který","jenž","aniž","než","tak","takže","kvůli","kdybych","ach","zdá","zatím","během","kdybyste","jakožto","jakož","neb"],["řekl","říkala","řekla","řekne","říkal","říká","podle","neřekl","říkat","chtějí","neviděl","vypadáš","mluvil","rozumím","znám","cítím","nemyslím","víme","nevěřím","myslíte"],["jasně","velmi","vůbec","přesně","určitě","úplně","samozřejmě","docela","skutečně","rozhodně","vážně","spolu","jistě","naprosto","velice","hrozně","strašně","opravdu"],["mělo","přijít","podívat","dělej","dá","dala","přijde","stojí","udělám","mohlo","nechte","nemáme","dám","přišla","dělal","dejte"],["dobře","dobrý","dobrá","dobré","dost","dlouho","dlouha","nejlepší","poslední","rychle","lepší","vlastní","ostatní","velký","starý","líp","malé","špatný","lépe","hlavní","právo","úžasné","pěkný","stejné","spousta","skvělá","dobrej","horší","novou","stará","nového","nejdřív","druhou","naposledy","hezký","dlouhý","dobrý","malý","těžký","velký","zlý","delší","lepší","menší","těžší","větší","horší","nejdelší","nejlepší","nejmenší","nejtěžší","největší","nejhorší","pěkně","všelijak","nějak","jaksi","tak nějak","ijak","nikterak","akkoli","akkoliv","kdejak","už","jen","tady","teď","ještě","možná","nikdy","ani","taky","pak","trochu","prostě","víc","jenom","další","právě","zpátky","vždycky","pryč","zase","někdy","také","chvíli","znovu","snad","třeba","stále","zrovna","příliš","nějak","vždy","skoro","kolem","později","zpět","najednou","támhle","někam","hlavně","často","občas","společně","dokonce","zde","aspoň","jediný","pouze","stačí","mnohem","zas","nikam","dávno","již","dvakrát","vzhůru","pomalu","bohužel","raději","nejspíš","náhodou","okamžitě"],["jo","hej","oh","uh ","hele","fajn","ok","proboha","ah","okay"],[],["den","dnes","čas","ráno","zítra","dneska","minut","včera","času","dní","dni","dny","hodinu","hodin","týdny","měsíce","roku","měsíců"],["věc","věci","můžeš","člověk","lidi","člověka","člověku","člověče","člověku","člověkovi","lidech","lidem","lidé","lidí","člověkem","lidmi","chlap","místa"],["atd.","bůhvíkdo","bůhvíjaký","bůhvíčí","nevímco","nevímkdo a podobně","si","ne","ně","pan","pane","pana","paní","prosím","pořádku","líto","chlape","slečno","mimochodem"],a)),r=[["buď","nebo"],["buď","anebo"],["ani","ani"],["nejen","ale i"],["jak","tak"],["sice","ale"],["sice","však"],["jednak","jednak"]],d=["án","ána","áno","áni","ány","ován","ána","áno","áni","ány","en","ena","eno","eni","eny","ěn","ěna","ěno","ěni","ěny","et","eta","eto","eti","ety","it","ita","ito","iti","ity","at","ata","ato","ati","aty","yt","yta","yto","yti","yty","ut","uta","uto","uti","uty"],{getWords:f}=t.languageProcessing,{values:l}=t.languageProcessing,{Clause:c}=l,{getClausesSplitOnStopWords:k,createRegexFromArray:v}=t.languageProcessing,m={Clause:class extends c{constructor(i,e){super(i,e),this._participles=function(i){return f(i).filter((i=>d.some((e=>i.endsWith(e)))))}(this.getClauseText()),this.checkParticiples()}checkParticiples(){this.setPassive(this.getParticiples().length>0)}},regexes:{auxiliaryRegex:v(["být","byl","byla","bylo","byli","byly","je","jsem","jsi","jste","jste","jsme","jste","jsou","budu","budeš","budete","bude","budeme","budete","budou","nebyl","nebyla","nebylo","nebyli","nebily","nebudu","nebudeš","nebudete","nebude","nebudeme","nebudete","nebudou"]),stopCharacterRegex:/([:,])(?=[ \n\r\t'"+\-»«‹›<>])/gi,stopwordRegex:v(s)}};function b(i){return k(i,m)}const g=window.lodash,S=function(i,e){const t=e.externalStemmer.palataliseSuffixes,n=i.length;return i.substring(n-2,n)===t.palataliseSuffixCi||i.substring(n-2,n)===t.palataliseSuffixCe||i.substring(n-2,n)===t.palataliseSuffixCiCaron||i.substring(n-2,n)===t.palataliseSuffixCeCaron?i.replace(i.substring(n-2,n),t.palataliseSuffixK):i.substring(n-2,n)===t.palataliseSuffixZi||i.substring(n-2,n)===t.palataliseSuffixZe||i.substring(n-2,n)===t.palataliseSuffixZiCaron||i.substring(n-2,n)===t.palataliseSuffixZeCaron?i.replace(i.substring(n-2,n),t.palataliseSuffixH):i.substring(n-3,n)===t.palataliseSuffixCte||i.substring(n-3,n)===t.palataliseSuffixCti||i.substring(n-3,n)===t.palataliseSuffixCtiAccented?i.replace(i.substring(n-3,n),t.palataliseSuffixCk):i.substring(n-3,n)===t.palataliseSuffixSte||i.substring(n-3,n)===t.palataliseSuffixSti||i.substring(n-3,n)===t.palataliseSuffixStiAccented?i.replace(i.substring(n-3,n),t.palataliseSuffixSk):i.slice(0,-1)},{baseStemmer:x}=t.languageProcessing;function p(i){const e=(0,g.get)(i.getData("morphology"),"cs",!1);return e?i=>function(i,e){return i=function(i,e){for(const t of e.externalStemmer.exceptionStemsWithFullForms)if(t[1].includes(i))return t[0];return i}(i=i.toLowerCase(),e),i=function(i,e){const t=e.externalStemmer.caseSuffixes,n=i.length;if(n>7&&i.substring(n-5,n)===t.caseSuffixAtech)return i.slice(0,-5);if(n>6){if(i.substring(n-4,n)===t.caseSuffixEtem)return i=i.slice(0,-3),S(i,e);if(i.substring(n-4,n)===t.caseSuffixAtum)return i.slice(0,-4)}if(n>5){if(i.substring(n-3,n)===t.caseSuffixEch||i.substring(n-3,n)===t.caseSuffixIch||i.substring(n-3,n)===t.caseSuffixIchAccented||i.substring(n-3,n)===t.caseSuffixEho||i.substring(n-3,n)===t.caseSuffixEmiCaron||i.substring(n-3,n)===t.caseSuffixEmi||i.substring(n-3,n)===t.caseSuffixEmuAccented||i.substring(n-3,n)===t.caseSuffixEte||i.substring(n-3,n)===t.caseSuffixEti||i.substring(n-3,n)===t.caseSuffixIho||i.substring(n-3,n)===t.caseSuffixIhoAccented||i.substring(n-3,n)===t.caseSuffixImi||i.substring(n-3,n)===t.caseSuffixImu)return i=i.slice(0,-2),S(i,e);if(i.substring(n-3,n)===t.caseSuffixAchAccented||i.substring(n-3,n)===t.caseSuffixAta||i.substring(n-3,n)===t.caseSuffixAty||i.substring(n-3,n)===t.caseSuffixYch||i.substring(n-3,n)===t.caseSuffixAma||i.substring(n-3,n)===t.caseSuffixAmi||i.substring(n-3,n)===t.caseSuffixOve||i.substring(n-3,n)===t.caseSuffixOvi||i.substring(n-3,n)===t.caseSuffixYmi)return i.slice(0,-3)}if(n>4){if(i.substring(n-2,n)===t.caseSuffixEm)return i=i.slice(0,-1),S(i,e);if(i.substring(n-2,n)===t.caseSuffixEs||i.substring(n-2,n)===t.caseSuffixEmAccented||i.substring(n-2,n)===t.caseSuffixIm)return i=i.slice(0,-2),S(i,e);if(i.substring(n-2,n)===t.caseSuffixUm||i.substring(n-2,n)===t.caseSuffixAt||i.substring(n-2,n)===t.caseSuffixAm||i.substring(n-2,n)===t.caseSuffixOs||i.substring(n-2,n)===t.caseSuffixUs||i.substring(n-2,n)===t.caseSuffixYm||i.substring(n-2,n)===t.caseSuffixMi||i.substring(n-2,n)===t.caseSuffixOu)return i.slice(0,-2)}if(n>3){if(i.substring(n-1,n)===t.caseSuffixE||i.substring(n-1,n)===t.caseSuffixI||i.substring(n-1,n)===t.caseSuffixIAccented||i.substring(n-1,n)===t.caseSuffixECaron)return S(i,e);if(i.substring(n-1,n)===t.caseSuffixU||i.substring(n-1,n)===t.caseSuffixY||i.substring(n-1,n)===t.caseSuffixURing||i.substring(n-1,n)===t.caseSuffixA||i.substring(n-1,n)===t.caseSuffixO||i.substring(n-1,n)===t.caseSuffixAAccented||i.substring(n-1,n)===t.caseSuffixEAccented||i.substring(n-1,n)===t.caseSuffixYAccented)return i.slice(0,-1)}return i}(i,e),i=function(i,e){const t=e.externalStemmer.possessiveSuffixes,n=i.length;if(n>5){if(i.substring(n-2,n)===t.possessiveSuffixOv)return i.slice(0,-2);if(i.substring(n-2,n)===t.possessiveSuffixesUv)return i.slice(0,-2);if(i.substring(n-2,n)===t.possessiveSuffixIn)return i=i.slice(0,-1),S(i,e)}return i}(i,e),i=function(i,e){const t=e.externalStemmer.comparativeSuffixes,n=i.length;return n>5&&i.substring(n-3,n)===t.comparativeSuffixesEjs||i.substring(n-3,n)===t.comparativeSuffixesEjsCaron?(i=i.slice(0,-2),S(i,e)):i}(i,e),i=function(i,e){const t=e.externalStemmer.diminutiveSuffixes,n=i.length;if(n>7&&i.substring(n-5,n)===t.diminutiveSuffixOusek)return i.slice(0,-5);if(n>6){if(i.substring(n-4,n)===t.diminutiveSuffixEcek||i.substring(n-4,n)===t.diminutiveSuffixEcekAccented||i.substring(n-4,n)===t.diminutiveSuffixIcek||i.substring(n-4,n)===t.diminutiveSuffixIcekAccented||i.substring(n-4,n)===t.diminutiveSuffixEnek||i.substring(n-4,n)===t.diminutiveSuffixEnekAccented||i.substring(n-4,n)===t.diminutiveSuffixInek||i.substring(n-4,n)===t.diminutiveSuffixInekAccented)return i=i.slice(0,-3),S(i,e);if(i.substring(n-4,n)===t.diminutiveSuffixAcekAccented||i.substring(n-4,n)===t.diminutiveSuffixAcek||i.substring(n-4,n)===t.diminutiveSuffixOcek||i.substring(n-4,n)===t.diminutiveSuffixUcek||i.substring(n-4,n)===t.diminutiveSuffixAnek||i.substring(n-4,n)===t.diminutiveSuffixOnek||i.substring(n-4,n)===t.diminutiveSuffixUnek||i.substring(n-4,n)===t.diminutiveSuffixAnekAccented)return i.slice(0,-4)}if(n>5){if(i.substring(n-3,n)===t.diminutiveSuffixEck||i.substring(n-3,n)===t.diminutiveSuffixEckAccented||i.substring(n-3,n)===t.diminutiveSuffixIck||i.substring(n-3,n)===t.diminutiveSuffixIckAccented||i.substring(n-3,n)===t.diminutiveSuffixEnk||i.substring(n-3,n)===t.diminutiveSuffixEnkAccented||i.substring(n-3,n)===t.diminutiveSuffixInk||i.substring(n-3,n)===t.diminutiveSuffixInkAccented)return i=i.slice(0,-3),S(i,e);if(i.substring(n-3,n)===t.diminutiveSuffixAckAccented||i.substring(n-3,n)===t.diminutiveSuffixAck||i.substring(n-3,n)===t.diminutiveSuffixOck||i.substring(n-3,n)===t.diminutiveSuffixUck||i.substring(n-3,n)===t.diminutiveSuffixAnk||i.substring(n-3,n)===t.diminutiveSuffixOnk||i.substring(n-3,n)===t.diminutiveSuffixUnk)return i.slice(0,-3);if(i.substring(n-3,n)===t.diminutiveSuffixAtk||i.substring(n-3,n)===t.diminutiveSuffixAnkAccented||i.substring(n-3,n)===t.diminutiveSuffixUsk)return i.slice(0,-3)}if(n>4){if(i.substring(n-2,n)===t.diminutiveSuffixEk||i.substring(n-2,n)===t.diminutiveSuffixEkAccented||i.substring(n-2,n)===t.diminutiveSuffixIkAccented||i.substring(n-2,n)===t.diminutiveSuffixIk)return i=i.slice(0,-1),S(i,e);if(i.substring(n-2,n)===t.diminutiveSuffixAkAccented||i.substring(n-2,n)===t.diminutiveSuffixAk||i.substring(n-2,n)===t.diminutiveSuffixOk||i.substring(n-2,n)===t.diminutiveSuffixUk)return i.slice(0,-1)}return n>3&&i.substring(n-1,n)===t.diminutiveSuffixK?i.slice(0,-1):i}(i,e),i=function(i,e){const t=e.externalStemmer.augmentativeSuffixes,n=i.length;return n>6&&i.substring(n-4,n)===t.augmentativeSuffixAjzn?i.slice(0,-4):n>5&&i.substring(n-3,n)===t.augmentativeSuffixIzn||i.substring(n-3,n)===t.augmentativeSuffixIsk?(i=i.slice(0,-2),S(i,e)):i}(i,e),i=function(i,e){const t=e.externalStemmer.derivationalSuffixes,n=i.length;if(n>8&&i.substring(n-6,n)===t.derivationalSuffixObinec)return i.slice(0,-6);if(n>7){if(i.substring(n-5,n)===t.derivationalSuffixIonar)return i=i.slice(0,-4),S(i,e);if(i.substring(n-5,n)===t.derivationalSuffixOvisk||i.substring(n-5,n)===t.derivationalSuffixOvstv||i.substring(n-5,n)===t.derivationalSuffixOvist||i.substring(n-5,n)===t.derivationalSuffixOvnik)return i.slice(0,-5)}if(n>6){if(i.substring(n-4,n)===t.derivationalSuffixAsek||i.substring(n-4,n)===t.derivationalSuffixLoun||i.substring(n-4,n)===t.derivationalSuffixNost||i.substring(n-4,n)===t.derivationalSuffixTeln||i.substring(n-4,n)===t.derivationalSuffixOvec||i.substring(n-5,n)===t.derivationalSuffixOvik||i.substring(n-4,n)===t.derivationalSuffixOvtv||i.substring(n-4,n)===t.derivationalSuffixOvin||i.substring(n-4,n)===t.derivationalSuffixStin)return i.slice(0,-4);if(i.substring(n-4,n)===t.derivationalSuffixEnic||i.substring(n-4,n)===t.derivationalSuffixInec||i.substring(n-4,n)===t.derivationalSuffixItel)return i=i.slice(0,-3),S(i,e)}if(n>5){if(i.substring(n-3,n)===t.derivationalSuffixEnk||i.substring(n-3,n)===t.derivationalSuffixIan||i.substring(n-3,n)===t.derivationalSuffixIst||i.substring(n-3,n)===t.derivationalSuffixIsk||i.substring(n-3,n)===t.derivationalSuffixIstCaron||i.substring(n-3,n)===t.derivationalSuffixItb||i.substring(n-3,n)===t.derivationalSuffixIrn)return i=i.slice(0,-2),S(i,e);if(i.substring(n-3,n)===t.derivationalSuffixArn||i.substring(n-3,n)===t.derivationalSuffixOch||i.substring(n-3,n)===t.derivationalSuffixOst||i.substring(n-3,n)===t.derivationalSuffixOvn||i.substring(n-3,n)===t.derivationalSuffixOun||i.substring(n-3,n)===t.derivationalSuffixOut||i.substring(n-3,n)===t.derivationalSuffixOus||i.substring(n-3,n)===t.derivationalSuffixUsk||i.substring(n-3,n)===t.derivationalSuffixKyn||i.substring(n-3,n)===t.derivationalSuffixCan||i.substring(n-3,n)===t.derivationalSuffixKar||i.substring(n-3,n)===t.derivationalSuffixNer||i.substring(n-3,n)===t.derivationalSuffixNik||i.substring(n-3,n)===t.derivationalSuffixCtv||i.substring(n-3,n)===t.derivationalSuffixStv)return i.slice(0,-3)}if(n>4){if(i.substring(n-2,n)===t.derivationalSuffixAcAccented||i.substring(n-2,n)===t.derivationalSuffixAc||i.substring(n-2,n)===t.derivationalSuffixAnAccented||i.substring(n-2,n)===t.derivationalSuffixAn||i.substring(n-2,n)===t.derivationalSuffixAr||i.substring(n-2,n)===t.derivationalSuffixAs)return i.slice(0,-2);if(i.substring(n-2,n)===t.derivationalSuffixEc||i.substring(n-2,n)===t.derivationalSuffixEn||i.substring(n-2,n)===t.derivationalSuffixEnCaron||i.substring(n-2,n)===t.derivationalSuffixEr||i.substring(n-2,n)===t.derivationalSuffixIr||i.substring(n-2,n)===t.derivationalSuffixIc||i.substring(n-2,n)===t.derivationalSuffixIn||i.substring(n-2,n)===t.derivationalSuffixInAccented||i.substring(n-2,n)===t.derivationalSuffixIt||i.substring(n-2,n)===t.derivationalSuffixIv)return i=i.slice(0,-1),S(i,e);if(i.substring(n-2,n)===t.derivationalSuffixOb||i.substring(n-2,n)===t.derivationalSuffixOt||i.substring(n-2,n)===t.derivationalSuffixOv||i.substring(n-2,n)===t.derivationalSuffixOn||i.substring(n-2,n)===t.derivationalSuffixUl||i.substring(n-2,n)===t.derivationalSuffixYn||i.substring(n-2,n)===t.derivationalSuffixCk||i.substring(n-2,n)===t.derivationalSuffixCn||i.substring(n-2,n)===t.derivationalSuffixDl||i.substring(n-2,n)===t.derivationalSuffixNk||i.substring(n-2,n)===t.derivationalSuffixTv||i.substring(n-2,n)===t.derivationalSuffixTk||i.substring(n-2,n)===t.derivationalSuffixVk)return i.slice(0,-2)}return n>3&&(i.charAt(i.length-1)===t.derivationalSuffixC||i.charAt(i.length-1)===t.derivationalSuffixCCaron||i.charAt(i.length-1)===t.derivationalSuffixK||i.charAt(i.length-1)===t.derivationalSuffixL||i.charAt(i.length-1)===t.derivationalSuffixN||i.charAt(i.length-1)===t.derivationalSuffixT)?i.slice(0,-1):i}(i,e),function(i,e){for(const t of e.externalStemmer.stemsThatBelongToOneWord.nouns)if(t.includes(i))return t[0];return i}(i,e)}(i,e):x}const{AbstractResearcher:j}=t.languageProcessing;class h extends j{constructor(i){super(i),delete this.defaultResearches.getFleschReadingScore,Object.assign(this.config,{language:"cs",passiveConstructionType:"periphrastic",firstWordExceptions:n,stopWords:s,functionWords:u,transitionWords:o,twoPartTransitionWords:r}),Object.assign(this.helpers,{getClauses:b,getStemmer:p})}}(window.yoast=window.yoast||{}).Researcher=e})(); dist/languages/de.js 0000644 00000307627 15174677550 0010443 0 ustar 00 (()=>{var e={429:e=>{var t=function(e,t){var r;for(r=0;r<e.length;r++)if(e[r].regex.test(t))return e[r]},r=function(e,r){var s,n,l;for(s=0;s<r.length;s++)if(n=t(e,r.substring(0,s+1)))l=n;else if(l)return{max_index:s,rule:l};return l?{max_index:r.length,rule:l}:void 0};e.exports=function(e){var s="",n=[],l=1,a=1,i=function(t,r){e({type:r,src:t,line:l,col:a});var s=t.split("\n");l+=s.length-1,a=(s.length>1?1:a)+s[s.length-1].length};return{addRule:function(e,t){n.push({regex:e,type:t})},onText:function(e){for(var t=s+e,l=r(n,t);l&&l.max_index!==t.length;)i(t.substring(0,l.max_index),l.rule.type),t=t.substring(l.max_index),l=r(n,t);s=t},end:function(){if(0!==s.length){var e=t(n,s);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:s,line:l,col:a},r}i(s,e.type)}}}}}},t={};function r(s){var n=t[s];if(void 0!==n)return n.exports;var l=t[s]={exports:{}};return e[s](l,l.exports,r),l.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{default:()=>jt});const e=window.yoast.analysis,t=["das","dem","den","der","des","die","ein","eine","einem","einen","einer","eines","eins","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","denen","deren","derer","dessen","diese","diesem","diesen","dieser","dieses","jene","jenem","jenen","jener","jenes","welch","welcher","welches"],n=["bekommst","bekommt","bekamst","bekommest","bekommet","bekämest","bekämst","bekämet","bekämt","gekriegt","gehörst","gehört","gehörtest","gehörtet","gehörest","gehöret","erhältst","erhält","erhaltet","erhielt","erhieltest","erhieltst","erhieltet","erhaltest"],l=["werde","wirst","wird","werden","werdet","wurde","ward","wurdest","wardst","wurden","wurdet","worden","werdest","würde","würdest","würden","würdet","bekomme","bekommen","bekam","bekamen","bekäme","bekämen","kriege","kriegst","kriegt","kriegen","kriegte","kriegtest","kriegten","kriegtet","kriegest","krieget","gehöre","gehören","gehörte","gehörten","erhalte","erhalten","erhielten","erhielte"],a=["werden","bekommen","kriegen","gehören","erhalten"],i={participleLike:n,otherAuxiliaries:l.concat(a),filteredAuxiliaries:n.concat(l),infinitiveAuxiliaries:a,all:n.concat(l,a)},b=["aber","abschließend","abschliessend","alldieweil","allerdings","also","anderenteils","andererseits","andernteils","anfaenglich","anfänglich","anfangs","angenommen","anschliessend","anschließend","aufgrund","ausgenommen","ausserdem","außerdem","beispielsweise","bevor","beziehungsweise","bspw","bzw","d.h","da","dabei","dadurch","dafuer","dafür","dagegen","daher","dahingegen","danach","dann","darauf","darum","dass","davor","dazu","dementgegen","dementsprechend","demgegenüber","demgegenueber","demgemaess","demgemäß","demzufolge","denn","dennoch","dergestalt","derweil","desto","deshalb","desungeachtet","deswegen","doch","dort","drittens","ebenfalls","ebenso","endlich","ehe","einerseits","einesteils","entsprechend","entweder","erst","erstens","falls","ferner","folgerichtig","folglich","fürderhin","fuerderhin","genauso","hierdurch","hierzu","hingegen","immerhin","indem","indes","indessen","infolge","infolgedessen","insofern","insoweit","inzwischen","jedenfalls","jedoch","kurzum","m.a.w","mitnichten","mitunter","möglicherweise","moeglicherweise","nachdem","nebenher","nichtsdestotrotz","nichtsdestoweniger","ob","obenrein","obgleich","obschon","obwohl","obzwar","ohnehin","richtigerweise","schliesslich","schließlich","seit","seitdem","sobald","sodass","so dass","sofern","sogar","solang","solange","somit","sondern","sooft","soviel","soweit","sowie","sowohl","statt","stattdessen","trotz","trotzdem","überdies","übrigens","ueberdies","uebrigens","ungeachtet","vielmehr","vorausgesetzt","vorher","waehrend","während","währenddessen","waehrenddessen","weder","wegen","weil","weiter","weiterhin","wenn","wenngleich","wennschon","wennzwar","weshalb","widrigenfalls","wiewohl","wobei","wohingegen","z.b","zudem","zuerst","zufolge","zuletzt","zumal","zuvor","zwar","zweitens"],u=b.concat(["abgesehen von","abgesehen davon","als dass","als ob","als wenn","anders ausgedrückt","anders ausgedrueckt","anders formuliert","anders gefasst","anders gefragt","anders gesagt","anders gesprochen","anstatt dass","auch wenn","auf grund","auf jeden fall","aus diesem grund","ausser dass","außer dass","ausser wenn","außer wenn","besser ausgedrückt","besser ausgedrueckt","besser formuliert","besser gesagt","besser gesprochen","bloss dass","bloß dass","darüber hinaus","das heisst","das heißt","des weiteren","dessen ungeachtet","ebenso wie","genauso wie","geschweige denn","im fall","im falle","im folgenden","im gegensatz dazu","im gegenteil","im grunde genommen","in diesem sinne","je nachdem","kurz gesagt","mit anderen worten","ohne dass","so dass","umso mehr als","umso weniger als","umso mehr, als","umso weniger, als","unbeschadet dessen","und zwar","ungeachtet dessen","unter dem strich","zum beispiel","zunächst einmal"]);function g(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}const h=i.filteredAuxiliaries,o=["das","dem","den","der","des","die","ein","eine","einem","einen","einer","eines"],c=["eins","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf","zwölf","zwoelf","dreizehn","vierzehn","fünfzehn","fuenfzehn","sechzehn","siebzehn","achtzehn","neunzehn","zwanzig","hundert","einhundert","zweihundert","dreihundert","vierhundert","fünfhundert","fuenfhundert","sechshundert","siebenhundert","achthundert","neunhundert","tausend","million","milliarde","billion","billiarde"],d=["erste","erster","ersten","erstem","erstes","zweite","zweites","zweiter","zweitem","zweiten","dritte","dritter","drittes","dritten","drittem","vierter","vierten","viertem","viertes","vierte","fünfte","fünfter","fünftes","fünften","fünftem","fuenfte","fuenfter","fuenftem","fuenften","fuenftes","sechste","sechster","sechstes","sechsten","sechstem","siebte","siebter","siebten","siebtem","siebtes","achte","achter","achten","achtem","achtes","neunte","neunter","neuntes","neunten","neuntem","zehnte","zehnter","zehnten","zehntem","zehntes","elfte","elfter","elftes","elften","elftem","zwölfte","zwölfter","zwölften","zwölftem","zwölftes","zwoelfte","zwoelfter","zwoelften","zwoelftem","zwoelftes","dreizehnte","dreizehnter","dreizehntes","dreizehnten","dreizehntem","vierzehnte","vierzehnter","vierzehntes","vierzehnten","vierzehntem","fünfzehnte","fünfzehnten","fünfzehntem","fünfzehnter","fünfzehntes","fuenfzehnte","fuenfzehnten","fuenfzehntem","fuenfzehnter","fuenfzehntes","sechzehnte","sechzehnter","sechzehnten","sechzehntes","sechzehntem","siebzehnte","siebzehnter","siebzehntes","siebzehntem","siebzehnten","achtzehnter","achtzehnten","achtzehntem","achtzehntes","achtzehnte","nehnzehnte","nehnzehnter","nehnzehntem","nehnzehnten","nehnzehntes","zwanzigste","zwanzigster","zwanzigstem","zwanzigsten","zwanzigstes"],w=["ich","du","er","sie","es","wir","ihr"],m=["mich","dich","ihn","uns","euch"],f=["denen","deren","derer","dessen","diese","diesem","diesen","dieser","dieses","jene","jenem","jenen","jener","jenes","welch","welcher","welches","derjenige","desjenigen","demjenigen","denjenigen","diejenige","derjenigen","dasjenige","diejenigen"],p=["mein","meine","meinem","meiner","meines","meinen","dein","deine","deinem","deiner","deines","deinen","sein","seine","seinem","seiner","seines","ihre","ihrem","ihren","ihrer","ihres","unser","unsere","unserem","unseren","unserer","unseres","euer","eure","eurem","euren","eurer","eures","einanders"],k=["manche","manch","viele","viel","vieler","vielen","vielem","all","alle","aller","alles","allen","allem","allerlei","solcherlei","einige","etliche","wenige","weniger","wenigen","wenigem","weniges","wenig","wenigerer","wenigeren","wenigerem","wenigere","wenigeres","wenig","bisschen","paar","kein","keines","keinem","keinen","keine","mehr","genug","mehrere","mehrerer","mehreren","mehrerem","mehreres","verschiedene","verschiedener","verschiedenen","verschiedenem","verschiedenes","verschiedne","verschiedner","verschiednen","verschiednem","verschiednes","art","arten","sorte","sorten"],y=["sich"],z=["einander"],v=["andere","anderer","anderem","anderen","anderes","andren","andern","andrem","anderm","andre","andrer","andres","beide","beides","beidem","beider","beiden","etwas","irgendetwas","irgendein","irgendeinen","irgendeinem","irgendeines","irgendeine","irgendeiner","irgendwas","irgendwessen","irgendwer","irgendwen","irgendwem","irgendwelche","irgendwelcher","irgendwelchem","irgendwelchen","irgendwelches","irgendjemand","irgendjemanden","irgendjemandem","irgendjemandes","irgendwie","wer","wen","wem","wessen","was","welchen","welchem","welche","jeder","jedes","jedem","jeden","jede","jedweder","jedweden","jedwedem","jedwedes","jedwede","jeglicher","jeglichen","jeglichem","jegliches","jegliche","jedermann","jedermanns","jemand","jemanden","jemandem","jemands","jemandes","man","meinesgleichen","sämtlich","saemtlich","sämtlicher","saemtlicher","sämtlichen","saemtlichen","sämtlichem","saemtlichem","sämtliches","saemtliches","sämtliche","saemtliche","solche","solcher","solchen","solchem","solches","niemand","niemanden","niemandem","niemandes","niemands","nichts","zweiter"],E=["warum","wie","wo","woher","wohin","wann"],F=["dahinter","damit","daneben","daran","daraus","darin","darunter","darüber","darueber","davon","dazwischen","hieran","hierauf","hieraus","hierbei","hierfuer","hierfür","hiergegen","hierhinter","hierin","hiermit","hiernach","hierum","hierunter","hierueber","hierüber","hiervor","hierzwischen","hierneben","hiervon","wodurch","wofür","wofuer","wogegen","wohinter","womit","wonach","woneben","woran","worauf","woraus","worin","worum","worunter","worüber","worueber","wovon","wovor","wozu","wozwischen"],B=["hier","dorthin","hierher","dorther"],j=["allenfalls","keinesfalls","anderenfalls","andernfalls","andrenfalls","äußerstenfalls","bejahendenfalls","bestenfalls","eintretendenfalls","entgegengesetztenfalls","erforderlichenfalls","gegebenenfalls","geringstenfalls","gleichfalls","günstigenfalls","günstigstenfalls","höchstenfalls","möglichenfalls","notfalls","nötigenfalls","notwendigenfalls","schlimmstenfalls","vorkommendenfalls","zutreffendenfalls","keineswegs","durchwegs","geradenwegs","geradeswegs","geradewegs","gradenwegs","halbwegs","mittwegs","unterwegs"],x=["habe","hast","hat","habt","habest","habet","hatte","hattest","hatten","hätte","haette","hättest","haettest","hätten","haetten","haettet","hättet","hab","bin","bist","ist","sind","sei","seiest","seien","seiet","war","warst","waren","wart","wäre","waere","wärest","waerest","wärst","waerst","wären","waeren","wäret","waeret","wärt","waert","seid","darf","darfst","dürft","duerft","dürfe","duerfe","dürfest","duerfest","dürfet","duerfet","durfte","durftest","durften","durftet","dürfte","duerfte","dürftest","duerftest","dürften","duerften","dürftet","duerftet","kann","kannst","könnt","koennt","könne","koenne","könnest","koennest","könnet","koennet","konnte","konntest","konnten","konntet","könnte","koennte","könntest","koenntest","könnten","koennten","könntet","koenntet","mag","magst","mögt","moegt","möge","moege","mögest","moegest","möget","moeget","mochte","mochtest","mochten","mochtet","möchte","moechte","möchtest","moechtest","möchten","moechten","möchtet","moechtet","muss","muß","musst","mußt","müsst","muesst","müßt","mueßt","müsse","muesse","müssest","muessest","müsset","muesset","musste","mußte","musstest","mußtest","mussten","mußten","musstet","mußtet","müsste","muesste","müßte","mueßte","müsstest","muesstest","müßtest","mueßtest","müssten","muessten","müßten","mueßten","müsstet","muesstet","müßtet","mueßtet","soll","sollst","sollt","solle","sollest","sollet","sollte","solltest","sollten","solltet","will","willst","wollt","wolle","wollest","wollet","wollte","wolltest","wollten","wolltet","lasse","lässt","laesst","läßt","laeßt","lasst","laßt","lassest","lasset","ließ","ließest","ließt","ließen","ließe","ließet","liess","liessest","liesst","liessen","liesse","liesset"],A=["haben","dürfen","duerfen","können","koennen","mögen","moegen","müssen","muessen","sollen","wollen","lassen"],D=["bleibe","bleibst","bleibt","bleibest","bleibet","blieb","bliebst","bliebt","blieben","bliebe","bliebest","bliebet","heiße","heißt","heißest","heißet","heisse","heisst","heissest","heisset","hieß","hießest","hießt","hießen","hieße","hießet","hiess","hiessest","hiesst","hiessen","hiesse","hiesset","giltst","gilt","geltet","gelte","geltest","galt","galtest","galtst","galten","galtet","gälte","gaelte","gölte","goelte","gältest","gaeltest","göltest","goeltest","gälten","gaelten","gölten","goelten","gältet","gaeltet","göltet","goeltet","aussehe","aussiehst","aussieht","ausseht","aussehest","aussehet","aussah","aussahst","aussahen","aussaht","aussähe","aussaehe","aussähest","aussaehest","aussähst","aussaehst","aussähet","aussaehet","aussäht","aussaeht","aussähen","aussaehen","scheine","scheinst","scheint","scheinest","scheinet","schien","schienst","schienen","schient","schiene","schienest","schienet","erscheine","erscheinst","erscheint","erscheinest","erscheinet","erschien","erschienst","erschienen","erschient","erschiene","erschienest","erschienet"],S=["bleiben","heißen","heissen","gelten","aussehen","scheinen","erscheinen"],$=["a","à","ab","abseits","abzüglich","abzueglich","als","am","an","angelegentlich","angesichts","anhand","anlässlich","anlaesslich","ans","anstatt","anstelle","auf","aufs","aufseiten","aus","ausgangs","ausschließlich","ausschliesslich","außerhalb","ausserhalb","ausweislich","bar","behufs","bei","beidseits","beiderseits","beim","betreffs","bezüglich","bezueglich","binnen","bis","contra","dank","diesseits","durch","einbezüglich","einbezueglich","eingangs","eingedenk","einschließlich","einschliesslich","entgegen","entlang","exklusive","fern","fernab","fuer","für","fuers","fürs","gegen","gegenüber","gegenueber","gelegentlich","gemäß","gemaeß","gen","getreu","gleich","halber","hinsichtlich","hinter","hinterm","hinters","im","in","inklusive","inmitten","innerhalb","innert","ins","je","jenseits","kontra","kraft","längs","laengs","längsseits","laengsseits","laut","links","mangels","minus","mit","mithilfe","mitsamt","mittels","nach","nächst","naechst","nah","namens","neben","nebst","nördlich","noerdlich","nordöstlich","nordoestlich","nordwestlich","oberhalb","ohne","östlich","oestlich","per","plus","pro","quer","rechts","rücksichtlich","ruecksichtlich","samt","seitens","seitlich","seitwärts","seitwaerts","südlich","suedlich","südöstlich","suedoestlich","südwestlich","suedwestlich","über","ueber","überm","ueberm","übern","uebern","übers","uebers","um","ums","unbeschadet","unerachtet","unfern","unter","unterhalb","unterm","untern","unters","unweit","vermittels","vermittelst","vermöge","vermoege","via","vom","von","vonseiten","vor","vorbehaltlich","wegen","wider","zeit","zu","zugunsten","zulieb","zuliebe","zum","zur","zusätzlich","zusaetzlich","zuungunsten","zuwider","zuzüglich","zuzueglich","zwecks","zwischen"],C=["und","oder","umso"],R=["auch","noch","nur"],q=["nun","so","gleichwohl"],W=["sage","sagst","sagt","sagest","saget","sagte","sagtest","sagten","sagtet","gesagt","fragst","fragt","fragest","fraget","fragte","fragtest","fragten","fragtet","gefragt","erkläre","erklärst","erklärt","erklaere","erklaerst","erklaert","erklärte","erklärtest","erklärtet","erklärten","erklaerte","erklaertest","erklaertet","erklaerten","denke","denkst","denkt","denkest","denket","dachte","dachtest","dachten","dachtet","dächte","dächtest","dächten","dächtet","daechte","daechtest","daechten","daechtet","finde","findest","findet","gefunden"],T=["sagen","erklären","erklaeren","denken","finden"],P=["sehr","recht","überaus","ueberaus","ungemein","weitaus","einigermaßen","einigermassen","ganz","schwer","tierisch","ungleich","ziemlich","übelst","uebelst","stark","volkommen","durchaus","gar"],M=["geschienen","meinst","meint","meinest","meinet","meinte","meintest","meinten","meintet","gemeint","stehe","stehst","steht","gehe","gehst","geht","gegangen","ging","gingst","gingen","gingt"],O=["tun","machen","stehen","wissen","gehen","kommen"],U=["einerlei","egal","neu","neue","neuer","neuen","neues","neuem","neuerer","neueren","neuerem","neueres","neuere","neuester","neuster","neuesten","neusten","neuestem","neustem","neuestes","neustes","neueste","neuste","alt","alter","alten","altem","altes","alte","ältere","älteren","älterer","älteres","ältester","ältesten","ältestem","ältestes","älteste","aeltere","aelteren","aelterer","aelteres","aeltester","aeltesten","aeltestem","aeltestes","aelteste","gut","guter","gutem","guten","gutes","gute","besser","besserer","besseren","besserem","besseres","bester","besten","bestem","bestes","beste","größte","grösste","groß","großer","großen","großem","großes","große","großerer","großerem","großeren","großeres","großere","großter","großten","großtem","großtes","großte","gross","grosser","grossen","grossem","grosses","grosse","grosserer","grosserem","grosseren","grosseres","grossere","grosster","grossten","grosstem","grosstes","grosste","einfacher","einfachen","einfachem","einfaches","einfache","einfacherer","einfacheren","einfacherem","einfacheres","einfachere","einfachste","einfachster","einfachsten","einfachstes","einfachstem","schnell","schneller","schnellen","schnellem","schnelles","schnelle","schnellere","schnellerer","schnelleren","schnelleres","schnellerem","schnellster","schnellste","schnellsten","schnellstem","schnellstes","weit","weiten","weitem","weites","weiterer","weiteren","weiterem","weiteres","weitere","weitester","weitesten","weitestem","weitestes","weiteste","eigen","eigener","eigenen","eigenes","eigenem","eigene","eigenerer","eignerer","eigeneren","eigneren","eigenerem","eignerem","eigeneres","eigneres","eigenere","eignere","eigenster","eigensten","eigenstem","eigenstes","eigenste","wenigster","wenigsten","wenigstem","wenigstes","wenigste","minderer","minderen","minderem","mindere","minderes","mindester","mindesten","mindestes","mindestem","mindeste","lang","langer","langen","langem","langes","längerer","längeren","längerem","längeres","längere","längster","längsten","längstem","längstes","längste","laengerer","laengeren","laengerem","laengeres","laengere","laengster","laengsten","laengstem","laengstes","laengste","tief","tiefer","tiefen","tiefem","tiefes","tiefe","tieferer","tieferen","tieferem","tieferes","tiefere","tiefster","tiefsten","tiefstem","tiefste","tiefstes","hoch","hoher","hohen","hohem","hohes","hohe","höher","höherer","höhere","höheren","höherem","höheres","hoeherer","hoehere","hoeheren","hoeherem","hoeheres","höchster","höchste","höchsten","höchstem","höchstes","hoechster","hoechste","hoechsten","hoechstem","hoechstes","regulär","regulärer","regulären","regulärem","reguläres","reguläre","regulaer","regulaerer","regulaeren","regulaerem","regulaeres","regulaere","regulärerer","reguläreren","regulärerem","reguläreres","regulärere","regulaererer","regulaereren","regulaererem","regulaereres","regulaerere","regulärster","regulärsten","regulärstem","regulärstes","regulärste","regulaerster","regulaersten","regulaerstem","regulaerstes","regulaerste","normal","normaler","normalen","normalem","normales","normale","normalerer","normaleren","normalerem","normaleres","normalere","normalster","normalsten","normalstem","normalstes","normalste","klein","kleiner","kleinen","kleinem","kleines","kleine","kleinerer","kleineres","kleineren","kleinerem","kleinere","kleinster","kleinsten","kleinstem","kleinstes","kleinste","winzig","winziger","winzigen","winzigem","winziges","winzigerer","winzigeren","winzigerem","winzigeres","winzigere","winzigster","winzigsten","winzigstem","winzigste","winzigstes","sogenannt","sogenannter","sogenannten","sogenanntem","sogenanntes","sogenannte","kurz","kurzer","kurzen","kurzem","kurzes","kurze","kürzerer","kürzeres","kürzeren","kürzerem","kürzere","kuerzerer","kuerzeres","kuerzeren","kuerzerem","kuerzere","kürzester","kürzesten","kürzestem","kürzestes","kürzeste","kuerzester","kuerzesten","kuerzestem","kuerzestes","kuerzeste","wirklicher","wirklichen","wirklichem","wirkliches","wirkliche","wirklicherer","wirklicheren","wirklicherem","wirklicheres","wirklichere","wirklichster","wirklichsten","wirklichstes","wirklichstem","wirklichste","eigentlicher","eigentlichen","eigentlichem","eigentliches","eigentliche","schön","schöner","schönen","schönem","schönes","schöne","schönerer","schöneren","schönerem","schöneres","schönere","schönster","schönsten","schönstem","schönstes","schönste","real","realer","realen","realem","reales","realerer","realeren","realerem","realeres","realere","realster","realsten","realstem","realstes","realste","derselbe","denselben","demselben","desselben","dasselbe","dieselbe","derselben","dieselben","gleicher","gleichen","gleichem","gleiches","gleiche","gleicherer","gleicheren","gleicherem","gleicheres","gleichere","gleichster","gleichsten","gleichstem","gleichstes","gleichste","bestimmter","bestimmten","bestimmtem","bestimmtes","bestimmte","bestimmtere","bestimmterer","bestimmterem","bestimmteren","bestimmteres","bestimmtester","bestimmtesten","bestimmtestem","bestimmtestes","bestimmteste","überwiegend","ueberwiegend","zumeist","meistens","meisten","meiste","meistem","meistes","großenteils","grossenteils","meistenteils","weithin","ständig","staendig","laufend","dauernd","andauernd","immerfort","irgendwo","irgendwann","ähnlicher","ähnlichen","ähnlichem","ähnliches","ähnliche","ähnlich","ähnlicherer","ähnlicheren","ähnlicherem","ähnlicheres","ähnlichere","ähnlichster","ähnlichsten","ähnlichstem","ähnlichstes","ähnlichste","schlecht","schlechter","schlechten","schlechtem","schlechtes","schlechte","schlechterer","schlechteren","schlechterem","schlechteres","schlechtere","schlechtester","schlechtesten","schlechtestem","schlechtestes","schlechteste","schlimm","schlimmer","schlimmen","schlimmem","schlimmes","schlimme","schlimmerer","schlimmeren","schlimmerem","schlimmeres","schlimmere","schlimmster","schlimmsten","schlimmstem","schlimmstes","schlimmste","toll","toller","tollen","tollem","tolles","tolle","tollerer","tolleren","tollerem","tollere","tolleres","tollster","tollsten","tollstem","tollstes","tollste","super","mögliche","möglicher","mögliches","möglichen","möglichem","möglich","moegliche","moeglicher","moegliches","moeglichen","moeglichem","moeglich","nächsten","nächster","nächstem","nächste","nächstes","naechsten","voll","voller","vollen","vollem","volle","volles","vollerer","volleren","vollerem","vollere","volleres","vollster","vollsten","vollstem","vollste","vollstes","außen","ganzer","ganzen","ganzem","ganze","ganzes","gern","gerne","oben","unten","zurück","zurueck","nicht","eher","ehere","eherem","eheren","eheres","eheste","ehestem","ehensten","ehesten"],I=["ach","aha","oh","au","bäh","baeh","igitt","huch","hurra","hoppla","nanu","oha","olala","pfui","tja","uups","wow","grr","äh","aeh","ähm","aehm","öhm","oehm","hm","mei","mhm","okay","richtig","eijeijeijei"],N=["g","el","tl","wg","be","bd","cl","dl","dag","do","gl","gr","kg","kl","cb","ccm","l","ms","mg","ml","mi","pk","pr","pp","sc","sp","st","sk","ta","tr","cm","mass"],V=["sekunde","sekunden","minute","minuten","stunde","stunden","uhr","tag","tages","tags","tage","tagen","woche","wochen","monat","monate","monates","monats","monaten","jahr","jahres","jahrs","jahre","jahren","morgens","mittags","abends","nachts","heute","gestern","morgen","vorgestern","übermorgen","uebermorgen"],L=["ding","dinge","dinges","dinger","dingern","dingen","sache","sachen","weise","weisen","wahrscheinlichkeit","zeug","zeuge","zeuges","zeugen","mal","einmal","teil","teile","teiles","teilen","prozent","prozents","prozentes","prozente","prozenten","beispiel","beispiele","beispieles","beispiels","beispielen","aspekt","aspekte","aspektes","aspekts","aspekten","idee","ideen","ahnung","ahnungen","thema","themas","themata","themen","fall","falle","falles","fälle","fällen","faelle","faellen","mensch","menschen","leute"],_=["nix","nixe","nixes","nixen","usw.","amen","ja","nein","euro"],H=(g([].concat(A,a,O,S,T)),g([].concat(d,U)),g([].concat(o,$,C,f,P,k)),g([].concat(b,j,w,m,["mir","dir","ihm","ihnen"],y,I,c,D,W,x,h,M,v,R,q,E,B,_,F,N,V,L,z,p)),g([].concat(o,c,d,f,p,y,z,w,m,k,v,E,F,B,j,h,a,x,A,D,S,$,C,R,q,W,T,b,["etwa","absolut","unbedingt","wieder","definitiv","bestimmt","immer","äußerst","aeußerst","höchst","hoechst","sofort","augenblicklich","umgehend","direkt","unmittelbar","nämlich","naemlich","natürlich","natuerlich","besonders","hauptsächlich","hauptsaechlich","jetzt","eben","heutzutage","eindeutig","wirklich","echt","wahrhaft","ehrlich","aufrichtig","wahrheitsgemäß","letztlich","einmalig","unübertrefflich","normalerweise","gewöhnlich","gewoehnlich","üblicherweise","ueblicherweise","sonst","fast","nahezu","beinahe","knapp","annähernd","annaehernd","geradezu","bald","vielleicht","wahrscheinlich","wohl","voraussichtlich","zugegeben","ursprünglich","insgesamt","tatsächlich","eigentlich","wahrhaftig","bereits","schon","oft","häufig","haeufig","regelmäßig","regelmaeßig","gleichmäßig","gleichmaeßig","einfach","lediglich","bloß","bloss","halt","wahlweise","eventuell","manchmal","teilweise","nie","niemals","nimmer","jemals","allzeit","irgendeinmal","anders","momentan","gegenwärtig","gegenwaertig","nebenbei","anderswo","woanders","anderswohin","anderorts","insbesondere","namentlich","sonderlich","ausdrücklich","ausdruecklich","vollends","kürzlich","kuerzlich","jüngst","juengst","unlängst","unlaengst","neuerdings","neulich","letztens","neuerlich","verhältnismäßig","verhaeltnismaessig","deutlich","klar","offenbar","anscheinend","genau","u.a","damals","zumindest"],P,M,O,I,U,N,L,_,V,["fr","hr","dr","prof"],["jr","jun","sen","sr"]))),G=[":","aber","als","bevor","bis","da","damit","daß","dass","denn","doch","ehe","falls","gleichwohl","indem","indes","indessen","insofern","insoweit","nachdem","nun","ob","obgleich","obschon","obwohl","obzwar","oder","seitdem","sobald","sodass","sofern","solange","sondern","sooft","soviel","soweit","sowie","trotz","und","ungeachtet","waehrend","während","weil","welche","welchem","welchen","welcher","welches","wem","wen","wenn","wenngleich","wennschon","wer","wes","wessen","wie","wiewohl","wohingegen","zumal"],Z=[["anstatt","dass"],["bald","bald"],["dadurch","dass"],["dessen ungeachtet","dass"],["entweder","oder"],["einerseits","andererseits"],["erst","wenn"],["je","desto"],["je","umso"],["umso","umso"],["mal","mal"],["nicht nur","sondern auch"],["ob","oder"],["ohne","dass"],["so","dass"],["sowohl","als auch"],["sowohl","wie auch"],["teils","teils"],["unbeschadet dessen","dass"],["weder","noch"],["wenn","auch"],["wenn","schon"],["nicht weil","sondern"]],Q=JSON.parse('{"vowels":"aeiouyäöüáéâàèîêâûôœ","deviations":{"vowels":[{"fragments":["ouil","deaux","deau$","oard","äthiop","euil","veau","eau$","ueue","lienisch","ance$","ence$","time$","once$","ziat","guette","ête","ôte$","[hp]omme$","[qdscn]ue$","aire$","ture$","êpe$","[^q]ui$","tiche$","vice$","oile$","zial","cruis","leas","coa[ct]","[^i]deal","[fw]eat","[lsx]ed$"],"countModifier":-1},{"fragments":["aau","a[äöüo]","äue","äeu","aei","aue","aeu","ael","ai[aeo]","saik","aismus","ä[aeoi]","auä","éa","e[äaoö]","ei[eo]","ee[aeiou]","eu[aäe]","eum$","eü","o[aäöü]","poet","oo[eo]","oie","oei[^l]","oeu[^f]","öa","[fgrz]ieu","mieun","tieur","ieum","i[aiuü]","[^l]iä","[^s]chien","io[bcdfhjkmpqtuvwx]","[bdhmprv]ion","[lr]ior","[^g]io[gs]","[dr]ioz","elioz","zioni","bio[lnorz]","iö[^s]","ie[ei]","rier$","öi[eg]","[^r]öisch","[^gqv]u[aeéioöuü]","quie$","quie[^s]","uäu","^us-","^it-","üe","naiv","aisch$","aische$","aische[nrs]$","[lst]ien","dien$","gois","[^g]rient","[aeiou]y[aeiou]","byi","yä","[a-z]y[ao]","yau","koor","scient","eriel","[dg]oing"],"countModifier":1},{"fragments":["eauü","ioi","ioo","ioa","iii","oai","eueu"],"countModifier":1}],"words":{"full":[{"word":"beach","syllables":1},{"word":"beat","syllables":1},{"word":"beau","syllables":1},{"word":"beaune","syllables":1},{"word":"belle","syllables":1},{"word":"bouche","syllables":1},{"word":"brake","syllables":1},{"word":"cache","syllables":1},{"word":"chaiselongue","syllables":2},{"word":"choke","syllables":1},{"word":"cordiale","syllables":3},{"word":"core","syllables":1},{"word":"dope","syllables":1},{"word":"eat","syllables":1},{"word":"eye","syllables":1},{"word":"fake","syllables":1},{"word":"fame","syllables":1},{"word":"fatigue","syllables":2},{"word":"femme","syllables":1},{"word":"force","syllables":1},{"word":"game","syllables":1},{"word":"games","syllables":1},{"word":"gate","syllables":1},{"word":"grande","syllables":1},{"word":"ice","syllables":1},{"word":"ion","syllables":2},{"word":"joke","syllables":1},{"word":"jupe","syllables":1},{"word":"maisch","syllables":1},{"word":"maische","syllables":2},{"word":"move","syllables":1},{"word":"native","syllables":2},{"word":"nice","syllables":1},{"word":"one","syllables":1},{"word":"pipe","syllables":1},{"word":"prime","syllables":1},{"word":"rate","syllables":1},{"word":"rhythm","syllables":2},{"word":"ride","syllables":1},{"word":"rides","syllables":1},{"word":"rien","syllables":2},{"word":"save","syllables":1},{"word":"science","syllables":2},{"word":"siècle","syllables":1},{"word":"site","syllables":1},{"word":"suite","syllables":1},{"word":"take","syllables":1},{"word":"taupe","syllables":1},{"word":"universe","syllables":3},{"word":"vogue","syllables":1},{"word":"wave","syllables":1},{"word":"zion","syllables":2}],"fragments":{"global":[{"word":"abreaktion","syllables":4},{"word":"adware","syllables":2},{"word":"affaire","syllables":3},{"word":"aiguière","syllables":2},{"word":"anisette","syllables":3},{"word":"appeal","syllables":2},{"word":"backstage","syllables":2},{"word":"bankrate","syllables":2},{"word":"baseball","syllables":2},{"word":"basejump","syllables":2},{"word":"beachcomber","syllables":3},{"word":"beachvolleyball","syllables":4},{"word":"beagle","syllables":2},{"word":"beamer","syllables":2},{"word":"beamer","syllables":2},{"word":"béarnaise","syllables":3},{"word":"beaufort","syllables":2},{"word":"beaujolais","syllables":3},{"word":"beauté","syllables":2},{"word":"beauty","syllables":2},{"word":"belgier","syllables":3},{"word":"bestien","syllables":2},{"word":"biskuit","syllables":2},{"word":"bleach","syllables":1},{"word":"blue","syllables":1},{"word":"board","syllables":1},{"word":"boat","syllables":1},{"word":"bodysuit","syllables":3},{"word":"bordelaise","syllables":3},{"word":"break","syllables":1},{"word":"build","syllables":1},{"word":"bureau","syllables":2},{"word":"business","syllables":2},{"word":"cabrio","syllables":3},{"word":"cabriolet","syllables":4},{"word":"cachesexe","syllables":2},{"word":"camaieu","syllables":3},{"word":"canyon","syllables":2},{"word":"case","syllables":1},{"word":"catsuit","syllables":2},{"word":"centime","syllables":3},{"word":"chaise","syllables":2},{"word":"champion","syllables":2},{"word":"championat","syllables":3},{"word":"chapiteau","syllables":3},{"word":"chateau","syllables":2},{"word":"château","syllables":2},{"word":"cheat","syllables":1},{"word":"cheese","syllables":1},{"word":"chihuahua","syllables":3},{"word":"choice","syllables":1},{"word":"circonflexe","syllables":3},{"word":"clean","syllables":1},{"word":"cloche","syllables":1},{"word":"close","syllables":1},{"word":"clothes","syllables":1},{"word":"commerce","syllables":2},{"word":"crime","syllables":1},{"word":"crossrate","syllables":2},{"word":"cuisine","syllables":2},{"word":"culotte","syllables":2},{"word":"death","syllables":1},{"word":"defense","syllables":2},{"word":"détente","syllables":2},{"word":"dread","syllables":1},{"word":"dream","syllables":1},{"word":"dresscode","syllables":2},{"word":"dungeon","syllables":2},{"word":"easy","syllables":2},{"word":"engagement","syllables":3},{"word":"entente","syllables":2},{"word":"eye-catcher","syllables":3},{"word":"eyecatcher","syllables":3},{"word":"eyeliner","syllables":3},{"word":"eyeword","syllables":2},{"word":"fashion","syllables":2},{"word":"feature","syllables":2},{"word":"ferien","syllables":3},{"word":"fineliner","syllables":3},{"word":"fisheye","syllables":2},{"word":"flake","syllables":1},{"word":"flambeau","syllables":2},{"word":"flatrate","syllables":2},{"word":"fleece","syllables":1},{"word":"fraîche","syllables":1},{"word":"freak","syllables":1},{"word":"frites","syllables":1},{"word":"future","syllables":2},{"word":"gaelic","syllables":2},{"word":"game-show","syllables":2},{"word":"gameboy","syllables":2},{"word":"gamepad","syllables":2},{"word":"gameplay","syllables":2},{"word":"gameport","syllables":2},{"word":"gameshow","syllables":2},{"word":"garigue","syllables":2},{"word":"garrigue","syllables":2},{"word":"gatefold","syllables":2},{"word":"gateway","syllables":2},{"word":"geflashed","syllables":2},{"word":"georgier","syllables":4},{"word":"goal","syllables":1},{"word":"grapefruit","syllables":2},{"word":"great","syllables":1},{"word":"groupware","syllables":2},{"word":"gueule","syllables":1},{"word":"guide","syllables":1},{"word":"guilloche","syllables":2},{"word":"gynäzeen","syllables":4},{"word":"gynözeen","syllables":4},{"word":"haircare","syllables":2},{"word":"hardcore","syllables":2},{"word":"hardware","syllables":2},{"word":"head","syllables":1},{"word":"hearing","syllables":2},{"word":"heart","syllables":1},{"word":"heavy","syllables":2},{"word":"hedge","syllables":1},{"word":"heroin","syllables":3},{"word":"inclusive","syllables":3},{"word":"initiative","syllables":4},{"word":"inside","syllables":2},{"word":"jaguar","syllables":3},{"word":"jalousette","syllables":3},{"word":"jeans","syllables":1},{"word":"jeunesse","syllables":2},{"word":"juice","syllables":1},{"word":"jukebox","syllables":2},{"word":"jumpsuit","syllables":2},{"word":"kanarien","syllables":4},{"word":"kapriole","syllables":4},{"word":"karosserielinie","syllables":6},{"word":"konopeen","syllables":4},{"word":"lacrosse","syllables":2},{"word":"laplace","syllables":2},{"word":"late-","syllables":1},{"word":"lead","syllables":1},{"word":"league","syllables":1},{"word":"learn","syllables":1},{"word":"légière","syllables":2},{"word":"lizenziat","syllables":4},{"word":"load","syllables":1},{"word":"lotterielos","syllables":4},{"word":"lounge","syllables":1},{"word":"lyzeen","syllables":3},{"word":"madame","syllables":2},{"word":"mademoiselle","syllables":3},{"word":"magier","syllables":3},{"word":"make-up","syllables":2},{"word":"malware","syllables":2},{"word":"management","syllables":3},{"word":"manteau","syllables":2},{"word":"mausoleen","syllables":4},{"word":"mauve","syllables":1},{"word":"medien","syllables":3},{"word":"mesdames","syllables":2},{"word":"mesopotamien","syllables":6},{"word":"milliarde","syllables":3},{"word":"missile","syllables":2},{"word":"miszellaneen","syllables":5},{"word":"mousse","syllables":1},{"word":"mousseline","syllables":3},{"word":"museen","syllables":3},{"word":"musette","syllables":2},{"word":"nahuatl","syllables":2},{"word":"noisette","syllables":2},{"word":"notebook","syllables":2},{"word":"nuance","syllables":3},{"word":"nuklease","syllables":4},{"word":"odeen","syllables":3},{"word":"offline","syllables":2},{"word":"offside","syllables":2},{"word":"oleaster","syllables":4},{"word":"on-stage","syllables":2},{"word":"online","syllables":2},{"word":"orpheen","syllables":3},{"word":"parforceritt","syllables":3},{"word":"patiens","syllables":2},{"word":"patient","syllables":2},{"word":"peace","syllables":1},{"word":"peace","syllables":1},{"word":"peanuts","syllables":2},{"word":"people","syllables":2},{"word":"perineen","syllables":4},{"word":"peritoneen","syllables":5},{"word":"picture","syllables":2},{"word":"piece","syllables":1},{"word":"pipeline","syllables":2},{"word":"plateau","syllables":2},{"word":"poesie","syllables":3},{"word":"poleposition","syllables":4},{"word":"portemanteau","syllables":3},{"word":"portemonnaie","syllables":3},{"word":"primerate","syllables":2},{"word":"primerate","syllables":2},{"word":"primetime","syllables":2},{"word":"protease","syllables":4},{"word":"protein","syllables":3},{"word":"prytaneen","syllables":4},{"word":"quotient","syllables":2},{"word":"radio","syllables":3},{"word":"reader","syllables":2},{"word":"ready","syllables":2},{"word":"reallife","syllables":2},{"word":"repeat","syllables":2},{"word":"retake","syllables":2},{"word":"rigole","syllables":2},{"word":"risolle","syllables":2},{"word":"road","syllables":1},{"word":"roaming","syllables":2},{"word":"roquefort","syllables":2},{"word":"safe","syllables":1},{"word":"savonette","syllables":3},{"word":"sciencefiction","syllables":3},{"word":"search","syllables":1},{"word":"selfmade","syllables":2},{"word":"septime","syllables":3},{"word":"serapeen","syllables":4},{"word":"service","syllables":2},{"word":"serviette","syllables":2},{"word":"share","syllables":1},{"word":"shave","syllables":1},{"word":"shore","syllables":1},{"word":"sidebar","syllables":2},{"word":"sideboard","syllables":2},{"word":"sidekick","syllables":2},{"word":"silhouette","syllables":3},{"word":"sitemap","syllables":2},{"word":"slide","syllables":1},{"word":"sneak","syllables":1},{"word":"soap","syllables":1},{"word":"softcore","syllables":2},{"word":"software","syllables":2},{"word":"soutanelle","syllables":3},{"word":"speak","syllables":1},{"word":"special","syllables":2},{"word":"spracheinstellung","syllables":5},{"word":"spyware","syllables":2},{"word":"square","syllables":1},{"word":"stagediving","syllables":3},{"word":"stakeholder","syllables":3},{"word":"statement","syllables":2},{"word":"steady","syllables":2},{"word":"steak","syllables":1},{"word":"stealth","syllables":1},{"word":"steam","syllables":1},{"word":"stoned","syllables":1},{"word":"stracciatella","syllables":4},{"word":"stream","syllables":1},{"word":"stride","syllables":1},{"word":"strike","syllables":1},{"word":"suitcase","syllables":2},{"word":"sweepstake","syllables":2},{"word":"t-bone","syllables":2},{"word":"t-shirt","syllables":1},{"word":"tailgate","syllables":2},{"word":"take-off","syllables":2},{"word":"take-over","syllables":3},{"word":"takeaway","syllables":3},{"word":"takeoff","syllables":2},{"word":"takeover","syllables":3},{"word":"throat","syllables":1},{"word":"time-out","syllables":2},{"word":"timelag","syllables":2},{"word":"timeline","syllables":2},{"word":"timesharing","syllables":3},{"word":"toast","syllables":1},{"word":"traubenmaische","syllables":4},{"word":"tristesse","syllables":2},{"word":"usenet","syllables":2},{"word":"varietät","syllables":4},{"word":"varieté","syllables":4},{"word":"vinaigrette","syllables":3},{"word":"vintage","syllables":2},{"word":"violett","syllables":3},{"word":"voice","syllables":1},{"word":"wakeboard","syllables":2},{"word":"washed","syllables":1},{"word":"waveboard","syllables":2},{"word":"wear","syllables":1},{"word":"wear","syllables":1},{"word":"website","syllables":2},{"word":"white","syllables":1},{"word":"widescreen","syllables":2},{"word":"wire","syllables":1},{"word":"yacht","syllables":1},{"word":"yorkshire","syllables":2},{"word":"éprouvette","syllables":3,"notFollowedBy":["n"]},{"word":"galette","syllables":2,"notFollowedBy":["n"]},{"word":"gigue","syllables":1,"notFollowedBy":["n"]},{"word":"groove","syllables":1,"notFollowedBy":["n"]},{"word":"morgue","syllables":1,"notFollowedBy":["n"]},{"word":"paillette","syllables":2,"notFollowedBy":["n"]},{"word":"raclette","syllables":2,"notFollowedBy":["n"]},{"word":"roulette","syllables":2,"notFollowedBy":["n"]},{"word":"spike","syllables":1,"notFollowedBy":["n"]},{"word":"style","syllables":1,"notFollowedBy":["n"]},{"word":"tablette","syllables":2,"notFollowedBy":["n"]},{"word":"grunge","syllables":1,"notFollowedBy":["r"]},{"word":"size","syllables":1,"notFollowedBy":["r"]},{"word":"value","syllables":1,"notFollowedBy":["r"]},{"word":"quiche","syllables":1,"notFollowedBy":["s"]},{"word":"house","syllables":1,"notFollowedBy":["n","s"]},{"word":"sauce","syllables":1,"notFollowedBy":["n","s"]},{"word":"space","syllables":1,"notFollowedBy":["n","s"]},{"word":"airline","syllables":2,"notFollowedBy":["n","r"]},{"word":"autosave","syllables":3,"notFollowedBy":["n","r"]},{"word":"bagpipe","syllables":2,"notFollowedBy":["n","r"]},{"word":"bike","syllables":1,"notFollowedBy":["n","r"]},{"word":"dance","syllables":1,"notFollowedBy":["n","r"]},{"word":"deadline","syllables":2,"notFollowedBy":["n","r"]},{"word":"halfpipe","syllables":2,"notFollowedBy":["n","r"]},{"word":"headline","syllables":2,"notFollowedBy":["n","r"]},{"word":"home","syllables":1,"notFollowedBy":["n","r"]},{"word":"hornpipe","syllables":2,"notFollowedBy":["n","r"]},{"word":"hotline","syllables":2,"notFollowedBy":["n","r"]},{"word":"infoline","syllables":3,"notFollowedBy":["n","r"]},{"word":"inline","syllables":2,"notFollowedBy":["n","r"]},{"word":"kite","syllables":1,"notFollowedBy":["n","r"]},{"word":"rollerblade","syllables":1,"notFollowedBy":["n","r"]},{"word":"score","syllables":1,"notFollowedBy":["n","r"]},{"word":"skyline","syllables":2,"notFollowedBy":["n","r"]},{"word":"slackline","syllables":2,"notFollowedBy":["n","r"]},{"word":"slice","syllables":1,"notFollowedBy":["n","r","s"]},{"word":"snooze","syllables":1,"notFollowedBy":["n","r"]},{"word":"storyline","syllables":3,"notFollowedBy":["n","r"]},{"word":"office","syllables":2,"notFollowedBy":["s","r"]},{"word":"space","syllables":1,"notFollowedBy":["n","s","r"]},{"word":"tease","syllables":1,"notFollowedBy":["n","s","r"]},{"word":"cache","syllables":1,"notFollowedBy":["t"]}],"atBeginningOrEnd":[{"word":"case","syllables":1},{"word":"life","syllables":1},{"word":"teak","syllables":1},{"word":"team","syllables":1},{"word":"creme","syllables":1,"notFollowedBy":["n","r"]},{"word":"crème","syllables":1,"notFollowedBy":["n","r"]},{"word":"drive","syllables":1,"notFollowedBy":["n","r"]},{"word":"skate","syllables":1,"notFollowedBy":["n","r"]},{"word":"update","syllables":2,"notFollowedBy":["n","r"]},{"word":"upgrade","syllables":2,"notFollowedBy":["n","r"]}],"atBeginning":[{"word":"anion","syllables":3},{"word":"facelift","syllables":2},{"word":"jiu","syllables":1},{"word":"pace","syllables":1},{"word":"shake","syllables":1},{"word":"tea","syllables":1},{"word":"trade","syllables":1},{"word":"deal","syllables":1}],"atEnd":[{"word":"face","syllables":1},{"word":"file","syllables":1},{"word":"mousse","syllables":1},{"word":"plate","syllables":1},{"word":"tape","syllables":1},{"word":"byte","syllables":1,"alsoFollowedBy":["s"]},{"word":"cape","syllables":1,"alsoFollowedBy":["s"]},{"word":"five","syllables":1,"alsoFollowedBy":["s"]},{"word":"hype","syllables":1,"alsoFollowedBy":["s"]},{"word":"leak","syllables":1,"alsoFollowedBy":["s"]},{"word":"like","syllables":1,"alsoFollowedBy":["s"]},{"word":"make","syllables":1,"alsoFollowedBy":["s"]},{"word":"phone","syllables":1,"alsoFollowedBy":["s"]},{"word":"rave","syllables":1,"alsoFollowedBy":["s"]},{"word":"regime","syllables":2,"alsoFollowedBy":["s"]},{"word":"statue","syllables":2,"alsoFollowedBy":["s"]},{"word":"store","syllables":1,"alsoFollowedBy":["s"]},{"word":"wave","syllables":1,"alsoFollowedBy":["s"]},{"word":"date","syllables":1,"notFollowedBy":["n"]},{"word":"image","syllables":2,"notFollowedBy":["s"]}]}}}}'),J={productPages:{parameters:{recommendedMinimum:3,recommendedMaximum:6,acceptableMaximum:7,acceptableMinimum:1}}},Y=window.lodash;var K=r(429),X=r.n(K);const ee=new RegExp("["+["'","‘","’","‛","`","‹","›"].join("")+"]","g");function te(e){return function(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}(function(e){return e.replace(ee,"'")}(e))}const re=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],se=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],ne=(new RegExp("^("+re.join("|")+")$","i"),new RegExp("^("+se.join("|")+")$","i"),new RegExp("^<("+re.join("|")+")[^>]*?>$","i")),le=new RegExp("^</("+re.join("|")+")[^>]*?>$","i"),ae=new RegExp("^<("+se.join("|")+")[^>]*>$","i"),ie=new RegExp("^</("+se.join("|")+")[^>]*>$","i"),be=/^<([^>\s/]+)[^>]*>$/,ue=/^<\/([^>\s]+)[^>]*>$/,ge=/^[^<]+$/,he=/^<[^><]*$/,oe=/<!--(.|[\r\n])*?-->/g;let ce,de=[];(0,Y.memoize)((function(e){const t=[];let r=0,s="",n="",l="";return e=e.replace(oe,""),de=[],ce=X()((function(e){de.push(e)})),ce.addRule(ge,"content"),ce.addRule(he,"greater-than-sign-content"),ce.addRule(ne,"block-start"),ce.addRule(le,"block-end"),ce.addRule(ae,"inline-start"),ce.addRule(ie,"inline-end"),ce.addRule(be,"other-element-start"),ce.addRule(ue,"other-element-end"),ce.onText(e),ce.end(),(0,Y.forEach)(de,(function(e,a){const i=de[a+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==r||"block-start"!==i.type&&"block-end"!==i.type)?n+=e.src:(n+=e.src,t.push(n),s="",n="",l="");break;case"block-start":0!==r&&(""!==n.trim()&&t.push(n),n="",l=""),r++,s=e.src;break;case"block-end":r--,l=e.src,""!==s&&""!==l?t.push(s+n+l):""!==n.trim()&&t.push(n),s="",n="",l=""}r<0&&(r=0)})),t})),new RegExp("^<("+re.join("|")+")[^>]*?>","i"),new RegExp("</("+re.join("|")+")[^>]*?>$","i");const we=new RegExp("^[.]$"),me=/^<[^><]*$/,fe=/^<([^>\s/]+)[^>]*>$/im,pe=/^<\/([^>\s]+)[^>]*>$/im,ke=/^\s*[[({]\s*$/,ye=/^\s*[\])}]\s*$/,ze=function(e,t=!1,r="",s=!1){const n="("+(e=(0,Y.map)(e,(function(e){return s&&(e=function(e){const t=[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];for(let r=0;r<t.length;r++)e=e.replace(t[r].letters,t[r].base);return e}(e)),e=function(e){return function(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}(e=e.replace(/(<([^>]+)>)/gi," "))}(function(e){return function(e){return e.replace(/\s/g," ")}(e=function(e){return e.replace(/\u2014/g," ")}(e=function(e){return e.replace(/ /g," ")}(e)))}(e)),t?e:function(e,t=!1,r="",s=""){let n,l;return n="id"===s?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+r+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+r+"<>",l=t?"($|((?="+n+"]))|((['‘’‛`])("+n+"])))":"($|("+n+"])|((['‘’‛`])("+n+"])))","(^|"+n+"'‘’‛`])"+e+l}(e,!0,r)}))).join(")|(")+")";return new RegExp(n,"ig")}(["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."].map((e=>e.replace(".","\\.")))),ve="(^|$|["+[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"].map((e=>"\\"+e)).join("")+"])",Ee=new RegExp(ve+"[A-Za-z]$"),Fe=/<\/?([^\s]+?)(\s|>)/,Be=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];class je{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,Y.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=te(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return(0,Y.isUndefined)(e[0])||(t+=e[0].src),(0,Y.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((t=>t.test(e)))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,Y.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,Y.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,s){return!(0,Y.isUndefined)(e)&&!(0,Y.isUndefined)(r)&&!(0,Y.isUndefined)(s)&&!(0,Y.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&Ee.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===s.type}tokenizeSmallerThanContent(e,t,r){const s=e.src.substring(1),n=this.createTokenizer();this.tokenize(n.tokenizer,s);const l=this.getSentencesFromTokens(n.tokens,!1);if(l[0]=(0,Y.isUndefined)(l[0])?"<":"<"+l[0],this.isValidSentenceBeginning(l[0])&&(t.push(r),r=""),r+=l[0],l.length>1){t.push(r),r="",l.shift();const e=l.pop();l.forEach((e=>{t.push(e)}));const s=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(s)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],s=X()((function(e){r.push(e)}));return s.addRule(we,"full-stop"),s.addRule(me,"smaller-than-sign-content"),s.addRule(fe,"html-start"),s.addRule(pe,"html-end"),s.addRule(ke,"block-start"),s.addRule(ye,"block-end"),s.addRule(e,"sentence-delimiter"),s.addRule(t,"sentence"),{tokenizer:s,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(ze);if(!t)return!1;const r=t.pop();return e.endsWith(r)}isValidTagPair(e,t){const r=e.src,s=t.src,n=r.match(Fe)[1];return n===s.match(Fe)[1]&&Be.includes(n)}getSentencesFromTokens(e,t=!0){let r,s,n=[],l="";do{s=!1;const t=e[0],r=e[e.length-1];t&&r&&"html-start"===t.type&&"html-end"===r.type&&this.isValidTagPair(t,r)&&(e=e.slice(1,e.length-1),s=!0)}while(s&&e.length>1);return e.forEach(((t,s)=>{let a,i,b;const u=e[s+1],g=e[s-1],h=e[s+2];switch(i=this.getNextTwoCharacters([u,h]),a=i.length>=2,r=a?i[1]:"",t.type){case"html-start":case"html-end":this.isBreakTag(t.src)?(n.push(l),l=""):l+=t.src;break;case"smaller-than-sign-content":b=this.tokenizeSmallerThanContent(t,n,l),n=b.tokenSentences,l=b.currentSentence;break;case"sentence":case"block-start":l+=t.src;break;case"sentence-delimiter":if(l+=t.src,!(0,Y.isUndefined)(u)&&"block-end"!==u.type&&"sentence-delimiter"!==u.type&&this.isCharacterASpace(u.src[0])){if(this.isQuotation(t.src)&&g&&"."!==g.src)break;this.isQuotation(t.src)||"…"===t.src?l=this.getValidSentence(a,r,i,u,n,l):(n.push(l),l="")}break;case"full-stop":if(l+=t.src,i=this.getNextTwoCharacters([u,h]),a=i.length>=2,r=a?i[1]:"",this.endsWithAbbreviation(l))break;if(a&&this.isNumber(i[0]))break;if(this.isPartOfPersonInitial(t,g,u,h))break;if(this.endsWithOrdinalDot(l))break;l=this.getValidSentence(a,r,i,u,n,l);break;case"block-end":if(l+=t.src,i=this.getNextTwoCharacters([u,h]),a=i.length>=2,r=a?i[0]:"",a&&this.isNumber(i[0])||this.isSentenceEnding(g)&&!this.isValidSentenceBeginning(r)&&!this.isSentenceStart(u))break;this.isSentenceEnding(g)&&(this.isSentenceStart(u)||this.isValidSentenceBeginning(r))&&(n.push(l),l="")}})),""!==l&&n.push(l),t&&(n=(0,Y.map)(n,(function(e){return e.trim()}))),n}getValidSentence(e,t,r,s,n,l){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(s))&&(n.push(l),l=""),l}isCharacterASpace(e){return/\s/.test(e)}}const xe="(^|["+[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"].map((e=>"\\"+e)).join("")+"])",Ae=new RegExp(xe+"\\d{1,3}\\.$");class De extends je{constructor(){super()}endsWithOrdinalDot(e){return Ae.test(e.trim())}}const Se=(0,Y.memoize)((function(e,t=!0){const r=new De,{tokenizer:s,tokens:n}=r.createTokenizer();return r.tokenize(s,e),0===n.length?[]:r.getSentencesFromTokens(n,t)}),((...e)=>JSON.stringify(e))),$e=/^((ge)\S+t($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>]))/gi,Ce=/^(((be|ent|er|her|ver|zer|über|ueber)\S+([^s]t|sst))($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>]))/gi,Re=/(ab|an|auf|aus|vor|wieder|zurück)(ge)\S+t($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi,qe=/((ab|an|auf|aus|vor|wieder|zurück)(be|ent|er|her|ver|zer|über|ueber)\S+([^s]t|sst))($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi,We=/\S+iert($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi,Te=function(e){return e.match($e)||[]},Pe=function(e){return e.match(Ce)||[]},Me=function(e){return e.match(Re)||[]},Oe=function(e){return e.match(qe)||[]},Ue=function(e){return e.match(We)||[]};function Ie(){return{verbsBeginningWithGe:Te,verbsBeginningWithErVerEntBeZerHerUber:Pe,verbsWithGeInMiddle:Me,verbsWithErVerEntBeZerHerUberInMiddle:Oe,verbsEndingWithIert:Ue}}const Ne=["angefangen","aufgerissen","ausgesehen","befohlen","befunden","begonnen","bekommen","bewiesen","beworben","empfohlen","empfunden","entschieden","erschrocken","erwogen","gebacken","gebeten","gebissen","geblasen","geblieben","gebogen","geboren","geborgen","geboten","gebraten","gebrochen","gebunden","gediehen","gedroschen","gedrungen","gefahren","gefallen","gefangen","geflogen","geflohen","geflossen","gefressen","gefroren","gefunden","gegangen","gegeben","gegessen","geglichen","geglitten","gelungen","gegolten","gegoren","gegossen","gegraben","gegriffen","gehalten","gehangen","gehauen","geheissen","geheißen","gehoben","geholfen","geklungen","gekniffen","gekommen","gekrochen","geladen","gelassen","gelaufen","gelegen","gelesen","geliehen","gelitten","gelogen","gelungen","gemessen","gemieden","genesen","genommen","genossen","gepfiffen","gepriesen","gequollen","geraten","gerieben","gerissen","geritten","gerochen","geronnen","gerufen","gerungen","geschaffen","geschehen","geschieden","geschienen","geschlafen","geschlagen","geschlichen","geschliffen","geschlossen","geschlungen","geschmissen","geschmolzen","geschnitten","geschoben","gescholten","geschoren","geschossen","geschrieben","geschrien","geschritten","geschunden","geschwiegen","geschwollen","geschwommen","geschworen","geschwunden","geschwungen","gesehen","gesessen","gesoffen","gesonnen","gespien","gesponnen","gesprochen","gesprossen","gesprungen","gestanden","gestiegen","gestochen","gestohlen","gestorben","gestoßen","gestossen","gestrichen","gestritten","gesungen","gesunken","getan","getragen","getreten","getrieben","getroffen","getrogen","getrunken","gewachsen","gewaschen","gewichen","gewiesen","gewoben","gewogen","gewonnen","geworben","geworfen","gewrungen","gezogen","gezwungen","misslungen","überbacken","ueberbacken","überbehalten","ueberbehalten","überbekommen","ueberbekommen","überbelegen","ueberbelegen","überbezahlen","ueberbezahlen","überboten","ueberboten","übergebunden","uebergebunden","überbunden","ueberbunden","überblasen","ueberblasen","überbraten","ueberbraten","übergebraten","uebergebraten","überbremst","ueberbremst","übergeblieben","uebergeblieben","übereinandergelegen","uebereinandergelegen","übereinandergeschlagen","uebereinandergeschlagen","übereinandergesessen","uebereinandergesessen","übereinandergestanden","uebereinandergestanden","übereingefallen","uebereingefallen","übereingekommen","uebereingekommen","übereingetroffen","uebereingetroffen","übergefallen","uebergefallen","übergessen","uebergessen","überfahren","ueberfahren","übergefahren","uebergefahren","überfallen","ueberfallen","überfangen","ueberfangen","überflogen","ueberflogen","überflossen","ueberflossen","übergeflossen","uebergeflossen","überfressen","ueberfressen","überfroren","ueberfroren","übergegeben","uebergegeben","übergeben","uebergeben","übergegangen","uebergegangen","übergangen","uebergangen","übergangen","uebergangen","übergossen","uebergossen","übergriffen","uebergriffen","übergegriffen","uebergegriffen","übergehalten","uebergehalten","überhandgenommen","ueberhandgenommen","überhangen","ueberhangen","übergehangen","uebergehangen","übergehoben","uebergehoben","überhoben","ueberhoben","überkommen","ueberkommen","übergekommen","uebergekommen","überladen","ueberladen","übergeladen","uebergeladen","überlassen","ueberlassen","übergelassen","uebergelassen","überlaufen","ueberlaufen","übergelaufen","uebergelaufen","überlesen","ueberlesen","übergelegen","uebergelegen","übergenommen","uebergenommen","übernommen","uebernommen","übergequollen","uebergequollen","überrissen","ueberrissen","überritten","ueberritten","übergeschossen","uebergeschossen","überschlafen","ueberschlafen","überschlagen","ueberschlagen","übergeschlagen","uebergeschlagen","übergeschlossen","uebergeschlossen","überschnitten","ueberschnitten","überschrieben","ueberschrieben","überschrieen","ueberschrieen","überschrien","ueberschrien","überschritten","ueberschritten","überschwungen","ueberschwungen","übergesehen","uebergesehen","übersehen","uebersehen","übergesotten","uebergesotten","übergesotten","uebergesotten","übersponnen","uebersponnen","übersprochen","uebersprochen","übersprungen","uebersprungen","übergesprungen","uebergesprungen","überstochen","ueberstochen","übergestochen","uebergestochen","überstanden","ueberstanden","übergestanden","uebergestanden","überstiegen","ueberstiegen","übergestiegen","uebergestiegen","übergestrichen","uebergestrichen","überstrichen","ueberstrichen","übertragen","uebertragen","übertroffen","uebertroffen","übertrieben","uebertrieben","übertreten","uebertreten","übergetreten","uebergetreten","überwachsen","ueberwachsen","überwiesen","ueberwiesen","überworfen","ueberworfen","übergeworfen","uebergeworfen","überwogen","ueberwogen","überwunden","ueberwunden","überzogen","ueberzogen","übergezogen","uebergezogen","verdorben","vergessen","verglichen","verloren","verstanden","verschwunden","vorgeschlagen"],{getWords:Ve}=e.languageProcessing,Le=Ie(),_e=Le.verbsBeginningWithErVerEntBeZerHerUber,He=Le.verbsBeginningWithGe,Ge=Le.verbsWithGeInMiddle,Ze=Le.verbsWithErVerEntBeZerHerUberInMiddle,Qe=Le.verbsEndingWithIert,Je=["geht","gämsbart","gemsbart","geäst","gebarungsbericht","geähnelt","geartet","gebäudetrakt","gebet","gebiet","gebietsrepräsentant","gebildbrot","gebirgsart","gebirgsgrat","gebirgskurort","gebirgsluft","gebirgsschlucht","geblüt","geblütsrecht","gebohntkraut","gebot","gebrauchsgut","gebrauchstext","gebrauchsverlust","gebrauchtgerät","gebrauchtwagengeschäft","gebrauchtwagenmarkt","geburt","geburtsakt","geburtsgeschwulst","geburtsgewicht","geburtsort","geburtsrecht","geburtsstadt","geburtstagsfest","geckenart","gedächtniskonzert","gedächtniskunst","gedächtnisverlust","gedankenarmut","gedankenexperiment","gedankenflucht","gedankengut","gedankenschritt","gedankenwelt","gedenkkonzert","gedicht","geest","gefahrengebiet","gefahrenmoment","gefahrenpunkt","gefahrgut","gefahrguttransport","gefährt","gefälligkeitsakzept","gefallsucht","gefangenenanstalt","gefangenentransport","gefängnisarzt","gefängniskluft","gefäßnaht","gefecht","gefechtsabschnitt","gefechtsbereit","gefechtsgebiet","gefechtsgewicht","gefechtshut","gefechtsmast","gefechtsmast","geflecht","geflügelaufzucht","geflügelleberwurst","geflügelmarkt","geflügelmast","geflügelpest","geflügelsalat","geflügelwurst","geflügelzucht","gefolgsleute","gefrett","gefriergerät","gefriergut","gefrierobst","gefrierpunkt","gefrierschnitt","gefühlsarmut","gefühlswelt","gegenangebot","gegenansicht","gegenargument","gegengeschäft","gegengewalt","gegengewicht","gegenkandidat","gegenkompliment","gegenkonzept","gegenlicht","gegenmacht","gegenpapst","gegenpart","gegensatzwort","gegenstandpunkt","gegenstandsgebiet","gegenwart","gegenwartskunst","gegenwelt","gegenwort","gehaart","gehandicapt","gehandikapt","geheimagent","geheimbericht","geheimdokument","geheimfavorit","geheimkontakt","geheimkult","geheimnisverrat","geheimpolizist","geheimrat","geheimrezept","geheimtext","gehirnakrobat","gehirngeschwulst","gehirnhaut","gehirnsandgeschwulst","gehirntot","gehirntrust","gehöft","gehörlosensport","geigenkonzert","geißbart","geißblatt","geißhirte","geißhirt","geist","geisterfahrt","geisterstadt","geisterwelt","geistesarmut","geistesart","geistesfürst","geistesgegenwart","geistesgestört","geistesprodukt","geistestat","geistesverwandt","geisteswelt","geklüft","geländefahrt","geländeritt","geländesport","gelangweilt","gelaut","geläut","gelblicht","gelbrost","gelbsucht","gelbwurst","gelcoat","geldausgabeautomat","geldautomat","geldgeschäft","geldheirat","geldinstitut","geldmarkt","geldsurrogat","geldtransport","geldverlust","gelehrtenstreit","gelehrtenwelt","geleit","geleitboot","geleitwort","gelenkgicht","gelenkwassersucht","geleucht","geltungssucht","gelüst","gemächt","gemeindeamt","gemeindebürgerrecht","gemeindegut","gemeindekirchenrat","gemeindepräsident","gemeinderat","gemeingeist","gemeingut","gemeinschaftsgeist","gemeinschaftsprojekt","gemeinschaftsunterkunft","gemengesaat","gemüseart","gemüsebeet","gemüsegeschäft","gemüsemarkt","gemüsesaft","gemüsesalat","gemüsezucht","gemüt","gemütsarmut","gemütsart","gemütsathlet","gemütskalt","genausogut","genausooft","genausoweit","gendefekt","generalagent","generalarzt","generalat","generalbassinstrument","generalbaßinstrument","generalbundesanwalt","generalgouvernement","generalintendant","generalist","generalkonsulat","generalleutnant","generaloberst","generalresident","generalsekretariat","generalstaaten","generalstaatsanwalt","generalsuperintendent","generalüberholt","generalvikariat","generalvollmacht","generationenkonflikt","generativist","genist","genitivattribut","genitivobjekt","genmanipuliert","gennesaret","genotzüchtigt","gent","genuasamt","genussgift","genußgift","genusssucht","genuss-sucht","genußsucht","genverändert","geobiont","geodät","geografieunterricht","geographieunterricht","geokrat","geophyt","gepäckfracht","geradeausfahrt","geradesogut","gefälligst","gerant","gerät","gerätewart","geräuschlaut","gerbextrakt","gericht","gerichtsarzt","gerichtsort","gerichtspräsident","germanisiert","germanist","germanistikstudent","gerodelt","geröllschicht","geröllschutt","geront","gerontokrat","gerstenbrot","gerstensaft","gerstenschrot","gerücht","gerüst","gesamtansicht","gesamtaspekt","gesamtdurchschnitt","gesamtgewicht","gesamtgut","gesamt","gesamtklassement","gesamtunterricht","gesandtschaftsrat","gesangskunst","gesangspart","gesangssolist","gesangsunterricht","gesangunterricht","geschäft","geschäftsaufsicht","geschäftsbericht","geschäftsgeist","geschäftswelt","geschenkpaket","geschichtsunterricht","geschicklichkeitstest","geschicklichkeitstest","geschlecht","geschlechtsakt","geschlechtslust","geschlechtsprodukt","geschlechtswort","geschmackstest","geschwindigkeitslimit","geschworenengericht","geschwulst","gesellschaftsfahrt","gesellschaftsschicht","gesetzblatt","gesetzespaket","gesetzestext","gesicht","gesichtshaut","gesichtspunkt","gesichtsschnitt","gesichtsverlust","gespenst","gespensterfurcht","gespinst","gespött","gesprächstherapeut","gestalt","gestaltungselement","gesteinsart","gesteinschutt","gesteinsschicht","gestüt","gestüthengst","verantwortungsbewusst","verantwortungsbewußt","getast","getränkeabholmarkt","getränkeautomat","getränkemarkt","getreideart","getreideaussaat","getreideexport","getreideimport","getreideprodukt","getreideschnitt","getreidevorrat","gewährfrist","gewalt","gewaltakt","gewaltbereit","gewalttat","gesprächsbereit","gewaltverbot","gewaltverzicht","gewässerbett","gewässerwart","gewebeschicht","gewebsrest","gewicht","gewichtsprozent","gewichtsverlust","gewerbeamt","gewerbearzt","gewerbeaufsicht","gewerbeaufsichtsamt","gewerbegebiet","gewerberecht","gewerbsunzucht","gewerkschaft","gewerkschaftsjournalist","gewindestift","gewinnsucht","gewinst","gewissensangst","gewissenskonflikt","gewitterfront","gewitterluft","gewohnheitsrecht","gewürzextrakt","gewürzkraut","gezücht","erbbaurecht","erbfolgerecht","erbfolgestreit","erbgut","erbhofrecht","erblast","erbpacht","erbrecht","erbschaftsstreit","erbsenkraut","erbbedingt","erbberechtigt","erblasst","erblaßt","erbswurst","erbverzicht","erbwort","erbzinsgut","erdbebengebiet","erdbeerjogurt","erdbeerjoghurt","erdbeeryoghurt","erdbeerkompott","erdbeerrot","erdbeersaft","erdbeersekt","erdengut","erdenlust","erdfrucht","erdgeist","erdkundeunterricht","erdlicht","erdmittelpunkt","erdnussfett","erdölprodukt","erdölproduzent","erdsatellit","erdschicht","erdsicht","erdtrabant","erdverhaftet","eremit","erfahrungsbericht","erfahrungshorizont","erfahrungswelt","erfindergeist","erfolgsaussicht","erfolgsorientiert","erfolgsrezept","erfolgsverwöhnt","erfüllungsort","erfurt","ergänzungsheft","ergänzungssport","ergänzungstest","ergostat","ergotherapeut","erholungsgebiet","erholungsort","erkundungsfahrt","erlaucht","erläuterungstext","erlebnisbericht","erlebnisorientiert","erlebniswelt","ernährungsamt","ernst","ernstgemeint","ernteaussicht","erntedankfest","erntefest","erntemonat","ernteresultat","eroberungsabsicht","eroberungsgeist","eroberungslust","eroberungssucht","eröffnungskonzert","ersatzgeschwächt","ersatzgut","ersatzkandidat","ersatzobjekt","ersatzpräparat","ersatzreservist","ersatztorwart","erscheinungsfest","erscheinungsort","erscheinungswelt","erschließungsgebiet","erst","erstbundesligist","erstfahrt","erstgebot","erstgeburt","erstgeburtsrecht","erstklassbillett","erstklaßbillett","erstkommunikant","erstkonsument","erstligist","erstplatziert","erstplaciert","erstplaziert","erstrecht","ertragsaussicht","erwartungsangst","erwartungshorizont","erwerbseinkünfte","erythrit","erythroblast","erythrozyt","erzählertalent","erzählgut","erzählkunst","erzähltalent","erzamt","erzdemokrat","erzeugungsschlacht","erzfaschist","erziehungsanstalt","erziehungsberechtigt","erziehungsinstitut","erzkommunist","erzprotestant","veranlassungswort","veranschaulicht","veranschlagt","verantwortungsbewusst","verantwortungsbewußt","veräußerungsverbot","verbalist","verbalkontrakt","verbändestaat","verbannungsort","verbildlicht","verbindungspunkt","verbindungsstudent","verbraucherkredit","verbrauchermarkt","verbrauchsgut","verbrechernest","verbrechersyndikat","verbrecherwelt","verbreitungsgebiet","verbrennungsprodukt","verdachtsmoment","verdampfungsgerät","verdauungstrakt","verdikt","veredelungsprodukt","verehrerpost","vereinspräsident","vereinsrecht","vereinssport","verfahrensrecht","verfassungsfahrt","verfassungsgericht","verfassungsrecht","verfassungsstaat","verfolgungsrecht","verfremdungseffekt","verfügungsgewalt","verfügungsrecht","verfügungsberechtigt","verführungskunst","vergegenständlicht","vergegenwärtigt","vergeltungsakt","vergenossenschaftlicht","vergissmeinnicht","vergißmeinnicht","vergleichsmonat","vergleichsobjekt","vergleichspunkt","vergnügungsetablissement","vergnügungsfahrt","vergnügungssucht","vergrößerungsgerät","verhaltensgestört","verhältniswahlrecht","verhältniswort","verhandlungsangebot","verhandlungsbereit","versandbereit","verteidigungsbereit","verhandlungsmandat","verhandlungsort","verhandlungspunkt","verhöramt","verist","verjährungsfrist","verkaufsagent","verkaufsangebot","verkaufsargument","verkaufsautomat","verkaufsfront","verkaufshit","verkaufsobjekt","verkaufsorientiert","verkaufspunkt","verkehrsamt","verkehrsdelikt","verkehrsinfarkt","verkehrsknotenpunkt","verkehrslicht","verkehrsnachricht","verkehrspolizist","verkehrsrecht","verkehrsunterricht","verkehrsverbot","verklarungsbericht","verknüpfungspunkt","verkündungsblatt","verlagsanstalt","verlagsprospekt","verlagsrecht","verlagsrepräsentant","verlagssignet","verlust","verlustgeschäft","verlust","verlustgeschäft","verlustpunkt","vermessungsamt","vermittlungsamt","vermögensrecht","vermont","vermummungsverbot","verneinungswort","vernichtungswut","vernunft","vernunftheirat","verordnungsblatt","verpackungsflut","verpflichtungsgeschäft","verrat","versammlungsort","versammlungsrecht","versandgeschäft","versandgut","versart","verschlusslaut","verschnitt","verschwendungssucht","versehrtensport","versicherungsagent","versicherungsanstalt","versicherungsrecht","verskunst","versöhnungsfest","versorgungsamt","versorgungsberechtigt","versorgungsgebiet","versorgungsgut","versorgungsstaat","verstakt","verständigungsbereit","verstellungskunst","verstürznaht","versuchsanstalt","versuchsobjekt","versuchsprojekt","vertebrat","verteidigungsbudget","verteidigungsetat","verteidigungspakt","verteilungskonflikt","verteilungszahlwort","vertikalschnitt","vertikutiergerät","vertragsgerecht","vertragspunkt","vertragsrecht","vertragsstaat","vertragstext","vertragswerkstatt","vertrauensanwalt","vertrauensarzt","vertrauensverlust","vertriebsrecht","vervielfältigungsrecht","vervielfältigungszahlwort","verwaltungsakt","verwaltungsgericht","verwaltungsrat","verwaltungsrecht","verwundetentransport","verzicht","verzweiflungsakt","verzweiflungstat","entbindungsanstalt","entdeckungsfahrt","entenbrust","entenfett","entertainment","enthusiast","entlastungsmoment","entlüftungsschacht","entnazifizierungsgericht","entoblast","entoparasit","entrechat","entrefilet","entrepot","entscheidungsfurcht","entscheidungsgewalt","entscheidungsrecht","entscheidungsschlacht","entstehungsort","entsteht","entwässerungsschacht","entwicklungsabschnitt","entwicklungsinstitut","entwicklungsprojekt","entwicklungsschritt","entziehungsanstalt","zerat","zerebrallaut","zerfallsprodukt","zergliederungskunst","zerit","zermatt","zersetzungsprodukt","zerstörungslust","zerstörungswut","zertifikat","zerussit","zervelat","zervelatwurst","beamtenrecht","beamtenschicht","beamtenstaat","beat","beatmungsgerät","beaufort","becherfrucht","beckengurt","becquereleffekt","bedarfsgut","bedenkfrist","bedienungselement","bedienungsgerät","bedienungskomfort","bedingtgut","bedürfnisanstalt","beeinflusst","beeinflußt","beerdigungsanstalt","beerdigungsinstitut","beerenfrucht","beerenobst","beerensaft","beet","befasst","befaßt","befehlsgewalt","beförderungsentgelt","beförderungsrecht","begabungstest","begegnungsort","begleitinstrument","begleittext","begleitwort","begnadigungsrecht","begräbt","begrenzungslicht","begriffswelt","begriffswort","begrüßungswort","behaviorist","behebungsfrist","behelfsausfahrt","behelfsunterkunft","behindertengerecht","behindertensport","behindertentransport","behmlot","beiblatt","beiboot","beignet","beiheft","beikost","beilast","beileidswort","beinamputiert","beinhaut","beirat","beirut","beistandskredit","beistandspakt","beitritt","beitrittsabsicht","beitrittsgebiet","beiwacht","beiwort","beizgerät","bekehrungswut","bekennergeist","bekennermut","bekleidungsamt","bekommen","belegarzt","belegbett","belegfrist","belehrungssucht","belemnit","belesprit","beleuchtungseffekt","beleuchtungsgerät","belfast","belkantist","belcantist","belletrist","bellizist","belt","benedikt","benediktenkraut","benefiziant","benefiziat","benefizkonzert","beneluxstaat","bentonit","benzindunst","beratungspunkt","bereit","bereicherungsabsicht","bereitschaftsarzt","bergamt","bergeslast","bergfahrt","bergfest","berggeist","berggrat","bergluft","bergpredigt","bergsport","berg-und-Tal-Fahrt","bergwacht","bergwelt","bericht","berichtsmonat","beritt","bermudashort","bernbiet","berserkerwut","berufsaussicht","berufssoldat","berufssport","berufsstart","berufstracht","berufsverbot","berufungsfrist","berufungsgericht","berufungsrecht","berührungsangst","berührungspunkt","besanmast","besatzungsgebiet","besatzungsmacht","besatzungsrecht","besatzungssoldat","besatzungsstatut","beschaffungsamt","beschäftigungstherapeut","beschlächt","beschlussrecht","beschlußrecht","beschmet","beschneidungsfest","beschlächt","beschlussrecht","beschlußrecht","beschmet","beschneidungsfest","beschwerdefrist","beschwerderecht","beschwörungskunst","beseitigungsanstalt","besetzungsgebiet","besetzungsmacht","besetzungsstatut","besichtigungsfahrt","besitzrecht","besoldungsrecht","besprechungspunkt","besserungsanstalt","bestattungsinstitut","bestimmungsort","bestimmungswort","bestinformiert","bestqualifiziert","bestrahlungsgerät","bestrenommiert","bestsituiert","bestverkauft","besucherrat","besuchsrecht","betpult","betracht","betreibungsamt","betriebsarzt","betriebsfest","betriebsrat","betriebswirt","bett","bettelmusikant","bettelvogt","bettstatt","bettwurst","beulenpest","beutegut","beutekunst","beuterecht","bevölkerungsschicht","bewahranstalt","bewährungsfrist","bewegungsarmut","beweislast","bewußt","bewusst","beziehungsgeflecht","bezirksamt","bezirksarzt","bezirksgericht","bezirkskabinett","bezirksschulrat","bezirksstadt","bezugspunkt","bezugsrecht","heraklit","herat","herbalist","herbst","herbstmonat","herbstpunkt","herdbuchzucht","herdeninstinkt","herfahrt","heringsfilet","heringssalat","herkuleskraut","herkunft","herkunftsort","hermaphrodit","heroenkult","heroinsucht","heroldsamt","heroldskunst","herostrat","herrenabfahrt","herrenbrot","herrendienst","herrenfest","herrenhut","herrenrecht","herrenschnitt","herrenwelt","herrgott","herrnhut","herrschaftsgebiet","herrschaftsgewalt","herrschaftsinstrument","herrschergeschlecht","herrscherkult","herrschsucht","herstellungsart","herzacht","herzangst","herzblatt","herzblut","herzensangst","herzensgut","herzenslust","herzenstrost","herzgeliebt","herzinfarkt","herzinnenhaut","herzklappendefekt","herzogshut","herzlichst","herzpatient","herzpunkt","herzspezialist","überbackt","ueberbackt","überbacktet","ueberbacktet","überbietet","ueberbietet","überbot","ueberbot","überbotet","ueberbotet","überbindet","ueberbindet","überbandet","ueberbandet","überbläst","ueberblaest","überbliest","ueberbliest","überbrät","ueberbraet","überbratet","ueberbratet","überbriet","ueberbriet","überbrietet","ueberbrietet","überbringt","ueberbringt","überbrachtet","ueberbrachtet","überbrücktet","ueberbruecktet","überbrühtet","ueberbrühtet","überbrülltet","ueberbruelltet","überbuchtet","ueberbuchtet","überbürdetet","ueberbuerdetet","überdecktet","ueberdecktet","überdehntet","ueberdehntet","überdenkt","ueberdenkt","überdachtet","ueberdachtet","überdosiertet","ueberdosiertet","überdrehtet","ueberdrehtet","überdrucktet","ueberdrucktet","überdüngtet","ueberdüngtet","übereignetet","uebereignetet","übereiltet","uebereiltet","übererfülltet","uebererfuelltet","überißt","ueberisst","ueberißt","überisst","überesst","ueberesst","übereßt","uebereßt","überaßt","ueberaßt","überesset","ueberesset","überäßet","ueberaesset","überfährt","ueberfaehrt","überfahrt","ueberfahrt","überfuhrt","ueberfuhrt","überfällt","ueberfaellt","überfallet","ueberfallet","überfielt","ueberfielt","überfielet","ueberfielet","überfängt","ueberfaengt","überfingt","ueberfingt","überfinget","ueberfinget","überfärbet","ueberfaerbet","überfettetet","ueberfettetet","überfirnisset","ueberfirnisset","überfirnißtet","ueberfirnisstet","überfischet","ueberfischet","überfischtet","ueberfischtet","überflanktet","ueberflanktet","überflanktet","ueberflanktet","überfliegt","ueberfliegt","überflieget","ueberflieget","überflöget","ueberflöget","überflösset","ueberfloesset","überflosst","ueberflosst","überfloßt","ueberflosst","überfließt","ueberfliesst","überflutetet","ueberflutetet","überformet","ueberformet","überformtet","ueberformtet","überfrachtetet","ueberfrachtetet","überfracht","ueberfracht","überfraget","ueberfraget","überfragtet","ueberfragtet","überfremdetet","ueberfremdetet","überfrisst","ueberfrisst","überfrißt","ueberfrißt","überfresst","ueberfresst","überfreßt","ueberfreßt","überfresset","ueberfresset","überfraßt","ueberfraßt","ueberfrasst","überfräßet","ueberfraesset","überfriert","ueberfriert","überfrieret","ueberfrieret","überfrort","ueberfrort","überfröret","ueberfroeret","überfrört","ueberfroert","überführet","ueberfuehret","überführtet","ueberfuehrtet","überfüllet","ueberfuellet","übergibt","uebergibt","übergebt","uebergebt","übergebet","uebergebet","übergabt","uebergabt","übergäbet","uebergaebet","übergäbt","uebergaebt","übergeht","uebergeht","übergehet","uebergehet","übergingt","uebergingt","übergewichtetet","uebergewichtetet","übergießet","uebergiesset","übergießt","uebergiesst","übergösset","uebergoesset","übergosst","uebergosst","uebergoßt","übergipset","uebergipset","übergipstet","uebergipstet","übergipset","uebergipset","übergipstet","uebergipstet","überglänzet","ueberglaenzet","überglänztet","ueberglaenztet","überglaset","ueberglaset","überglastet","ueberglastet","überglühet","uebergluehet","überglühtet","uebergluehtet","übergoldetet","uebergoldetet","übergraset","uebergraset","übergrastet","uebergrastet","übergrätschet","uebergraetschet","übergrätschtet","uebergraetschtet","übergreift","uebergreift","übergreifet","uebergreifet","übergrifft","uebergrifft","übergriffet","uebergriffet","übergreift","uebergreift","übergreifet","uebergreifet","übergriffet","uebergriffet","übergrifft","uebergrifft","übergrünet","uebergruenet","übergrüntet","uebergruentet","überhat","ueberhat","überhabt","ueberhabt","überhabet","ueberhabet","überhattet","ueberhattet","überhättet","ueberhaettet","überhält","ueberhaelt","überhaltet","ueberhaltet","überhielt","ueberhielt","überhieltet","ueberhieltet","überhändiget","ueberhaendiget","überhändigtet","ueberhaendigtet","überhängt","ueberhaengt","überhänget","ueberhaenget","überhingt","ueberhingt","überhinget","ueberhinget","überhängt","ueberhaengt","überhänget","ueberhaenget","überhängtet","ueberhaengtet","überhänget","ueberhaenget","überhängtet","ueberhaengtet","überhängt","ueberhaengt","überhänget","ueberhaenget","überhingt","ueberhingt","überhinget","ueberhinget","überhastetet","ueberhastetet","überhäufet","ueberhaeufet","überhäuftet","ueberhaeuftet","überhebt","ueberhebt","überhebet","ueberhebet","überhobt","ueberhobt","überhöbet","ueberhoebet","überhebt","ueberhebt","überhebet","ueberhebet","überhobt","ueberhobt","überheiztet","ueberheiztet","überheizet","ueberheizet","überhöhet","ueberhoehet","überhöhtet","ueberhoehtet","überhitzet","ueberhitzet","überhitztet","ueberhitztet","überholet","ueberholet","überholtet","ueberholtet","überhöret","ueberhoeret","überhörtet","ueberhoertet","überinterpretieret","ueberinterpretieret","überinterpretiertet","ueberinterpretiertet","überinterpretieret","ueberinterpretieret","überinterpretiertet","ueberinterpretiertet","überklebet","ueberklebet","überklebtet","ueberklebtet","überkleidetet","ueberkleidetet","überkochet","ueberkochet","überkochtet","ueberkochtet","überkommet","ueberkommet","überkamt","ueberkamt","überkämet","ueberkaemet","überkämt","ueberkaemt","überkompensieret","ueberkompensieret","überkompensiertet","ueberkompensiertet","überkreuzet","ueberkreuzet","überkreuztet","ueberkreuztet","überkronet","ueberkronet","überkrontet","ueberkrontet","überkrustetet","ueberkrustetet","überladet","ueberladet","überludet","ueberludet","überlüdet","ueberluedet","überlappet","ueberlappet","überlapptet","ueberlapptet","überlasset","ueberlasset","überlaßt","ueberlaßt","ueberlasst","ueberlasst","überlässt","ueberlaesst","überließt","ueberließt","ueberliesst","überließet","ueberließet","ueberliesset","überlastet","ueberlastet","überlastetet","ueberlastetet","überläuft","ueberlaeuft","überlaufet","ueberlaufet","überlieft","ueberlieft","überliefet","ueberliefet","überlebet","ueberlebet","überlebtet","ueberlebtet","überleget","ueberleget","überlegtet","ueberlegtet","überlegt","ueberlegt","überleget","ueberleget","überlegtet","ueberlegtet","überleitet","ueberleitet","überleitetet","ueberleitetet","überleset","ueberleset","überlast","ueberlast","überläset","ueberlaeset","überliegt","ueberliegt","überlieget","ueberlieget","überlagt","ueberlagt","überläget","ueberlaeget","überlägt","ueberlaegt","überlistetet","ueberlistetet","übermachet","uebermachet","übermachtet","uebermachtet","übermalet","uebermalet","übermaltet","uebermaltet","übermalet","uebermalet","übermaltet","uebermaltet","übermannet","uebermannet","übermanntet","uebermanntet","übermarchtet","uebermarchtet","übermarchet","uebermarchet","übermästetet","uebermaestetet","übermüdetet","uebermuedetet","übernächtiget","uebernaechtiget","übernächtigtet","uebernaechtigtet","übernimmt","uebernimmt","übernehmt","uebernehmt","übernehmet","uebernehmet","übernahmt","uebernahmt","übernähmet","uebernaehmet","übernähmt","uebernaehmt","übernutzet","uebernutzet","übernutztet","uebernutztet","überpflanzt","ueberpflanzt","überpflanzet","ueberpflanzet","überpflanztet","ueberpflanztet","überplanet","ueberplanet","überplantet","ueberplantet","überprüfet","ueberpruefet","überprüftet","ueberprueftet","überquillt","ueberquillt","überquellt","ueberquellt","überquellet","ueberquellet","überquollt","ueberquollt","überquöllet","ueberquoellet","ueberquöllt","ueberquoellt","überqueret","ueberqueret","überquertet","ueberquertet","überraget","ueberraget","überragtet","ueberragtet","überragt","ueberragt","überraget","ueberraget","überragtet","ueberragtet","überraschet","ueberraschet","überraschtet","ueberraschtet","überreagieret","ueberreagieret","überreagiertet","ueberreagiertet","überrechnetet","ueberrechnetet","überredetet","ueberredetet","überreglementieret","ueberreglementieret","überreglementiertet","ueberreglementiertet","überregulieret","ueberregulieret","überreguliertet","ueberreguliertet","überreichet","ueberreichet","überreichtet","ueberreichtet","überreißet","ueberreisset","überrisset","ueberrisset","überreitet","ueberreitet","überrittet","ueberrittet","überreizet","ueberreizet","überreiztet","ueberreiztet","überrennet","ueberrennet","überrenntet","ueberrenntet","überrollet","ueberrollet","überrolltet","ueberrolltet","überrundetet","ueberrundetet","übersäet","uebersaeet","übersätet","uebersaetet","übersättiget","uebersaettiget","uebersaettigtet","übersättigtet","überschattetet","ueberschattetet","überschätzet","ueberschaetzet","überschätztet","ueberschaetztet","überschauet","ueberschauet","überschautet","ueberschautet","überschäumt","ueberschaeumt","überschäumet","ueberschaeumet","überschäumtet","ueberschaeumtet","überschießt","ueberschießt","ueberschiesst","überschießet","ueberschiesset","ueberschießet","überschosst","ueberschosst","überschosst","ueberschosst","überschoßt","ueberschoßt","überschösset","ueberschoesset","überschlafet","ueberschlafet","überschliefet","ueberschliefet","überschlieft","ueberschlieft","überschlaget","ueberschlaget","überschlüget","ueberschlueget","überschlügt","ueberschluegt","überschlägt","ueberschlaegt","überschlagt","ueberschlagt","überschlaget","ueberschlaget","überschlugt","ueberschlugt","überschlüget","ueberschlueget","überschlügt","ueberschluegt","überschlägt","ueberschlaegt","überschlagt","ueberschlagt","überschlaget","ueberschlaget","überschlugt","ueberschlugt","überschlüget","ueberschlueget","ueberschluegt","überschlügt","überschließt","ueberschließt","ueberschliesst","überschließet","ueberschliesset","überschlosst","ueberschlosst","überschloßt","ueberschlosst","überschlösset","ueberschloesset","überschmieret","ueberschmieret","überschmiertet","ueberschmiertet","überschminket","ueberschminket","überschminktet","ueberschminktet","überschnappt","ueberschnappt","überschnappet","ueberschnappet","überschnapptet","ueberschnapptet","überschneidet","ueberschneidet","überschnittet","ueberschnittet","überschneiet","ueberschneiet","überschneitet","ueberschneitet","überschreibet","ueberschreibet","überschriebet","ueberschriebet","überschriebt","ueberschriebt","überschreiet","ueberschreiet","überschrieet","ueberschrieet","überschriet","ueberschriet","überschriet","ueberschriet","überschreitet","ueberschreitet","überschritt","ueberschritt","überschrittet","ueberschrittet","überschuldetet","ueberschuldetet","überschüttet","ueberschüttet","überschüttetet","ueberschüttetet","überschüttetet","ueberschuettetet","überschwappt","ueberschwappt","überschwappet","ueberschwappet","überschwapptet","ueberschwapptet","überschwemmet","ueberschwemmet","überschwemmtet","ueberschwemmtet","überschwinget","ueberschwinget","überschwangt","ueberschwangt","überschwänget","ueberschwaenget","überschwängt","ueberschwaengt","übersieht","uebersieht","überseht","ueberseht","übersehet","uebersehet","übersaht","uebersaht","übersähet","uebersaehet","übersäht","uebersaeht","übersähet","uebersaehet","übersäht","uebersaeht","übersandtet","uebersandtet","übersendetet","uebersendetet","übersensibilisieret","uebersensibilisieret","übersensibilisiertet","uebersensibilisiertet","übersetzt","uebersetzt","übersetzet","uebersetzet","übersetztet","uebersetztet","übersetzet","uebersetzet","übersetztet","uebersetztet","übersiedet","uebersiedet","übersiedetet","uebersiedetet","übersott","uebersott","übersottet","uebersottet","übersöttet","uebersoettet","übersiedet","uebersiedet","übersiedetet","uebersiedetet","übersott","uebersott","übersottet","uebersottet","übersöttet","uebersoettet","überspannet","ueberspannet","überspanntet","ueberspanntet","überspielet","ueberspielet","überspieltet","ueberspieltet","überspinnet","ueberspinnet","überspännet","ueberspaennet","überspännt","ueberspaennt","überspönnet","ueberspoennet","überspönnt","ueberspoennt","überspitzet","ueberspitzet","überspitztet","ueberspitztet","übersprechet","uebersprechet","überspracht","ueberspracht","übersprächet","ueberspraechet","übersprächt","ueberspraecht","überspringt","ueberspringt","überspringet","ueberspringet","überspränget","ueberspraenget","übersprängt","ueberspraengt","überspringt","ueberspringt","überspringet","ueberspringet","übersprangt","uebersprangt","überspränget","ueberspraenget","übersprängt","ueberspraengt","übersprühet","ueberspruehet","übersprühtet","ueberspruehtet","übersprühet","ueberspruehet","übersprühtet","ueberspruehtet","überspület","ueberspuelet","überspültet","überspueltet","übersticht","uebersticht","überstecht","ueberstecht","überstechet","ueberstechet","überstacht","ueberstacht","überstächet","ueberstaechet","überstächt","ueberstaecht","übersticht","uebersticht","überstecht","ueberstecht","überstechet","ueberstechet","überstacht","ueberstacht","überstächet","ueberstaechet","überstächt","ueberstaecht","überstehet","ueberstehet","überstandet","überstandet","überständet","überstaendet","überstündet","überstuendet","übersteht","uebersteht","überstehet","ueberstehet","überstandet","ueberstandet","überständet","ueberstaendet","überstündet","ueberstuendet","übersteiget","uebersteiget","überstieget","ueberstieget","überstiegt","ueberstiegt","übersteigt","uebersteigt","übersteiget","uebersteiget","überstiegt","ueberstiegt","überstieget","ueberstieget","überstellet","ueberstellet","überstilisieret","ueberstilisieret","überstimmet","ueberstimmet","überstimmtet","ueberstimmtet","überstrahlet","ueberstrahlet","überstrahltet","ueberstrahltet","überstrapazieret","ueberstrapazieret","überstrapaziertet","ueberstrapaziertet","überstreicht","ueberstreicht","überstreichet","ueberstreichet","überstricht","ueberstricht","überstrichet","ueberstrichet","überstreichet","ueberstreichet","überstrichet","ueberstrichet","überstricht","ueberstricht","überstreift","ueberstreift","überstreifet","ueberstreifet","überstreiftet","ueberstreiftet","überstreuet","ueberstreuet","überstreutet","ueberstreutet","überströmet","ueberstroemet","überströmtet","überstroemtet","überstülpt","überstuelpt","ueberstuelpet","überstülpet","überstülptet","ueberstuelptet","überstürzet","ueberstuerzet","überstürztet","ueberstuerztet","übertäubet","uebertaeubet","übertäubtet","uebertaeubtet","übertauchet","uebertauchet","übertauchtet","uebertauchtet","übertippet","uebertippet","übertipptet","uebertipptet","übertönet","uebertoenet","übertöntet","uebertoentet","übertouret","uebertouret","übertourtet","uebertourtet","überträgt","uebertraegt","übertragt","uebertragt","übertraget","uebertraget","übertrugt","uebertrugt","übertrüget","uebertrueget","übertrügt","uebertruegt","übertrainieret","uebertrainieret","übertrainiertet","uebertrainiertet","übertreffet","uebertreffet","übertraft","uebertraft","überträfet","uebertraefet","überträft","uebertraeft","übertreibt","uebertreibt","übertreibet","uebertreibet","übertriebet","uebertriebet","übertriebt","uebertriebt","übertritt","uebertritt","übertretet","uebertretet","übertrat","uebertrat","übertratet","uebertratet","überträtet","uebertraetet","übertritt","uebertritt","übertretet","uebertretet","übertrat","uebertrat","übertratet","uebertratet","überträtet","uebertraetet","übertrumpfet","uebertrumpfet","übertrumpftet","uebertrumpftet","übertünchet","uebertuenchet","übertünchtet","überversorget","ueberversorget","überversorgtet","ueberversorgtet","übervorteilet","uebervorteilet","übervorteiltet","uebervorteiltet","überwachet","ueberwachet","überwachtet","ueberwachtet","überwachset","ueberwachset","überwüchset","ueberwuechset","überwallt","ueberwallt","überwallet","ueberwallet","überwalltet","ueberwalltet","überwallet","ueberwallet","überwalltet","ueberwalltet","überwältiget","ueberwaeltiget","überwältigtet","ueberwaeltigtet","überwalzet","ueberwalzet","überwalztet","ueberwalztet","überwälzet","ueberwaelzet","überwälztet","ueberwaelztet","überwechtetet","ueberwechtetet","überwächtetet","ueberwaechtetet","überwehet","ueberwehet","überwehtet","ueberwehtet","überweidetet","ueberweidetet","überweist","ueberweist","überweiset","ueberweiset","überwiest","ueberwiest","überwieset","ueberwieset","überweißet","ueberweisset","überweißtet","ueberweisstet","überwirft","ueberwirft","überwerft","ueberwerft","überwerfet","ueberwerfet","überwarft","ueberwarft","überwürfet","ueberwuerfet","überwürft","ueberwuerft","überwirft","ueberwirft","überwerft","ueberwerft","überwerfet","ueberwerfet","überwarft","ueberwarft","überwürfet","ueberwuerfet","überwürft","ueberwuerft","überwertetet","ueberwertetet","überwiegt","ueberwiegt","überwieget","ueberwieget","überwogt","ueberwogt","überwöget","ueberwoeget","überwögt","ueberwoegt","überwindet","ueberwindet","überwandet","ueberwandet","überwändet","ueberwaendet","überwölbet","ueberwoelbet","überwölbtet","ueberwoelbtet","ueberwuerzet","ueberwuerzet","überwürztet","ueberwuerztet","überzahlet","ueberzahlet","überzahltet","ueberzahltet","überzahltet","ueberzahltet","überzeichnetet","ueberzeichnetet","überzeuget","ueberzeuget","überzeugtet","ueberzeugtet","überzieht","ueberzieht","überziehet","ueberziehet","überzogt","ueberzogt","überzöget","ueberzoeget","überzögt","ueberzoegt","überzüchtetet","ueberzuechtetet","überangebot","ueberangebot","überbrückungskredit","ueberbrückungskredit","übereinkunft","uebereinkunft","überfahrt","ueberfahrt","überflugverbot","ueberflugverbot","überflutungsgebiet","ueberflutungsgebiet","überfracht","ueberfracht","überfrucht","ueberfrucht","übergangslaut","uebergangslaut","übergebot","uebergebot","übergewicht","uebergewicht","überhangmandat","ueberhangmandat","überhangsrecht","ueberhangsrecht","überholverbot","ueberholverbot","überladenheit","ueberladenheit","überlandfahrt","ueberlandfahrt","überlast","ueberlast","überlegenheit","ueberlegenheit","übermacht","uebermacht","übermaßverbot","uebermassverbot","übermut","uebermut","überraschungseffekt","ueberraschungseffekt","überraschungsgast","ueberraschungsgast","überraschungsmoment","ueberraschungsmoment","überredungskunst","ueberredungskunst","überreiztheit","ueberreiztheit","überrest","ueberrest","überschicht","ueberschicht","überschnitt","ueberschnitt","überschrift","ueberschrift","überschwemmungsgebiet","ueberschwemmungsgebiet","überseegebiet","ueberseegebiet","überseegeschäft","ueberseegeschaeft","übersicht","uebersicht","überspanntheit","ueberspanntheit","überspitztheit","ueberspitztheit","übertragungsrecht","uebertragungsrecht","übertriebenheit","uebertriebenheit","übertritt","uebertritt","überwachungsdienst","ueberwachungsdienst","überwachungsstaat","ueberwachungsstaat","überwelt","ueberwelt","überwinterungsgebiet","ueberwinterungsgebiet","überzeugtheit","ueberzeugtheit","überzeugungstat","ueberzeugungstat","überziehungskredit","ueberziehungskredit"],{indices:Ye,values:Ke}=e.languageProcessing,{getIndicesByWord:Xe,getIndicesByWordList:et}=Ye,{Clause:tt}=Ke,rt=/\S+(apparat|arbeit|dienst|haft|halt|keit|kraft|not|pflicht|schaft|schrift|tät|wert|zeit)($|[ \n\r\t.,'()"+-;!?:/»«‹›<>])/gi,{getClausesSplitOnStopWords:st,createRegexFromArray:nt}=e.languageProcessing,lt={Clause:class extends tt{constructor(e,t){super(e,t),this._participles=function(e){const t=Ve(e),r=[];return(0,Y.forEach)(t,(function(e){(0!==He(e).length||0!==Ge(e).length||0!==_e(e).length||0!==Ze(e).length||0!==Qe(e).length||Ne.includes(e))&&r.push(e)})),r}(this.getClauseText()),this.checkParticiples()}checkParticiples(){const e=this.getParticiples().filter((e=>!(this.hasNounSuffix(e)||(0,Y.includes)(Je,e)||this.hasHabenSeinException(e)||(0,Y.includes)(n,e))));this.setPassive(e.length>0)}hasNounSuffix(e){return null!==e.match(rt)}hasHabenSeinException(e){const t=Xe(e,this.getClauseText());let r=et(["haben","sein"],this.getClauseText());if(0===t.length||0===r.length)return!1;r=(0,Y.map)(r,"index");const s=t[0];return(0,Y.includes)(r,s.index+s.match.length+1)}},regexes:{auxiliaryRegex:nt(i.all),stopwordRegex:nt(G)}};function at(e){return st(e,lt)}const it=function(e,t){const r=new RegExp("^"+e.participleStemmingClasses[1].regex);return new RegExp("^"+e.participleStemmingClasses[0].regex).test(t)?t.slice(2,t.length-2):r.test(t)?t.slice(2,t.length-1):null},bt=function(e,t,r,s,n){for(const l of t)if(new RegExp("^"+l+r).test(e)){const t=e.slice(l.length-e.length);return l+t.slice(s,t.length-n)}return null},ut=function(e,t){const r=e.prefixes.separableOrInseparable;for(const s of e.participleStemmingClasses){const n=s.regex,l=s.startStem,a=s.endStem,i=s.separable?e.prefixes.separable:e.prefixes.inseparable;let b=bt(t,i,n,l,a);if(b)return b;if(b=bt(t,r,n,l,a),b)return b}return null},gt=function(e){let t=e.search(/[aeiouyäöü][^aeiouyäöü]/);return-1!==t&&(t+=2),-1!==t&&t<3&&(t=3),t},ht=function(e){const t=e.search(/(em|ern|er)$/g),r=e.search(/(e|en|es)$/g);let s=e.search(/([bdfghklmnrt]s)$/g);-1!==s&&s++;let n="",l=1e4;return-1!==t?(n="a",l=t,{index1:l,optionUsed1:n}):-1!==r?(n="b",l=r,{index1:l,optionUsed1:n}):-1!==s?(n="c",l=s,{index1:l,optionUsed1:n}):{index1:l,optionUsed1:n}},ot=function(e){const t=e.search(/(en|er|est)$/g);let r=e.search(/(.{3}[bdfghklmnt]st)$/g);-1!==r&&(r+=4);let s=1e4;return-1!==t?s=t:-1!==r&&(s=r),s},ct=function(e,t,r,s){return 1e4!==t&&-1!==s&&t>=s&&(e=e.substring(0,t),"b"===r&&-1!==e.search(/niss$/)&&(e=e.substring(0,e.length-1))),e},dt=function(e,t,r){return 1e4!==t&&-1!==r&&t>=r&&(e=e.substring(0,t)),e},wt=function(e,t){const r=e.veryIrregularVerbs.find((e=>e.forms.includes(t)));return r?r.stem:null},{flattenSortLength:mt}=e.languageProcessing,ft=function(e,t){for(const r of e){const e=r.find((e=>t.endsWith(e)));if(e)return t.slice(0,t.length-e.length)+r[0]}return null},pt=function(e,t){const r=e.exceptions;for(const e of Object.keys(r)){const s=r[e];for(const e of s)if(e.includes(t))return e[0]}return null},kt=function(e,t){let r=t;const s=e.strongAndIrregularVerbs.stems;let n=mt(e.prefixes).find((e=>t.startsWith(e)));if(n){const e=r.slice(n.length,r.length);e.length>2?r=e:n=null}for(const e of s){let t=e.stems;if(t=(0,Y.flatten)(Object.values(t)),t.includes(r))return n?n+e.stems.present:e.stems.present}return null};const{baseStemmer:yt}=e.languageProcessing;function zt(e){const t=(0,Y.get)(e.getData("morphology"),"de",!1);return t?e=>function(e,t){const r=t.nouns.umlautException||[],s=ft(r,e);if(s)return s;const n=t.verbs,l=function(e,t){const r=wt(e,t);if(r)return r;t=(t=(t=(t=t.replace(/([aeiouyäöü])u([aeiouyäöü])/g,"$1U$2")).replace(/([aeiouyäöü])y([aeiouyäöü])/g,"$1Y$2")).replace(/([aeiouyäöü])i([aeiouyäöü])/g,"$1I$2")).replace(/([aeiouyäöü])e([aeiouyäöü])/g,"$1E$2");const s=gt(t),n=ht(t).index1,l=ht(t).optionUsed1;t=ct(t,n,l,s);const a=ot(t);return(t=(t=(t=(t=dt(t,a,s)).replace(/U/g,"u")).replace(/Y/g,"y")).replace(/I/g,"i")).replace(/E/g,"e")}(n,e);return ft(t.nouns.exceptionStems,l)||pt(t.adjectives,l)||kt(n,l)||function(e,t){if(Ie().length>0||Je.includes(t))return"";let r=it(e,t);return r||(r=ut(e,t),r||null)}(n,e)||l}(e,t):yt}const{formatNumber:vt}=e.helpers;function Et(e){const t=180-e.averageWordsPerSentence-58.5*e.numberOfSyllables/e.numberOfWords;return vt(t)}function Ft(e){return e=e.toLowerCase(),H.includes(e)}const{AbstractResearcher:Bt}=e.languageProcessing;class jt extends Bt{constructor(e){super(e),Object.assign(this.config,{language:"de",passiveConstructionType:"periphrastic",firstWordExceptions:t,functionWords:H,stopWords:G,transitionWords:u,twoPartTransitionWords:Z,syllables:Q,keyphraseLength:J}),Object.assign(this.helpers,{getClauses:at,getStemmer:zt,fleschReadingScore:Et,memoizedTokenizer:Se,checkIfWordIsFunction:Ft})}}})(),(window.yoast=window.yoast||{}).Researcher=s})(); dist/dynamic-blocks.js 0000644 00000002017 15174677550 0010765 0 ustar 00 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var s in r)e.o(r,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:r[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blockEditor,r=window.wp.blocks,s=window.wp.serverSideRender;var o=e.n(s);const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.8","name":"yoast-seo/breadcrumbs","title":"Yoast Breadcrumbs","description":"Adds the Yoast SEO breadcrumbs to your template or content.","category":"yoast-internal-linking-blocks","icon":"admin-links","keywords":["SEO","breadcrumbs","internal linking","site structure"],"textdomain":"wordpress-seo","attributes":{"className":{"type":"string"}},"example":{"attributes":{}}}'),a=window.ReactJSXRuntime;(0,r.registerBlockType)(n,{edit:e=>{const r=(0,t.useBlockProps)();return(0,a.jsx)("div",{...r,children:(0,a.jsx)(o(),{block:"yoast-seo/breadcrumbs",attributes:e.attributes})})},save:()=>null})})(); dist/plans.js 0000644 00000116457 15174677550 0007221 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var i=typeof s;if("string"===i||"number"===i)e.push(s);else if(Array.isArray(s)){if(s.length){var n=r.apply(null,s);n&&e.push(n)}}else if("object"===i){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var l in s)a.call(s,l)&&s[l]&&e.push(l)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(s=function(){return r}.apply(t,[]))||(e.exports=s)}()}},t={};function s(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.components,t=window.wp.data,a=window.wp.domReady;var r=s.n(a);const i=window.wp.element,n=window.yoast.uiLibrary,l=window.lodash,o=window.wp.i18n,c=(e,t)=>{try{return(0,i.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},d="@yoast/plans",p={premium:"premium",woo:"woo"},m=window.React;var f,u,y,h,g,v,x;function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},w.apply(null,arguments)}const _=e=>m.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 254 96"},e),f||(f=m.createElement("defs",null,m.createElement("radialGradient",{id:"premium-plans_svg__b",cx:132.75,cy:69.66,r:12.86,fx:132.75,fy:69.66,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#9fda4f"}),m.createElement("stop",{offset:1,stopColor:"#77b227"})),m.createElement("radialGradient",{id:"premium-plans_svg__d",cx:124.22,cy:44.84,r:10.3,fx:124.22,fy:44.84,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#fec228"}),m.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),m.createElement("stop",{offset:1,stopColor:"#f49a00"})),m.createElement("radialGradient",{id:"premium-plans_svg__e",cx:113.13,cy:30.08,r:5.04,fx:113.13,fy:30.08,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#ff4e47"}),m.createElement("stop",{offset:1,stopColor:"#ed261f"})),m.createElement("linearGradient",{id:"premium-plans_svg__a",x1:-1.92,x2:258.06,y1:97.88,y2:1.33,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:.17,stopColor:"#5d237a"}),m.createElement("stop",{offset:.42,stopColor:"#7c2072"}),m.createElement("stop",{offset:.71,stopColor:"#9a1e6b"}),m.createElement("stop",{offset:.87,stopColor:"#a61e69"})))),u||(u=m.createElement("path",{fill:"url(#premium-plans_svg__a)",d:"M-7.4 0h268.8v96H-7.4z"})),y||(y=m.createElement("path",{fill:"url(#premium-plans_svg__b)",d:"M146.82 22.22c-6.18-3.49-14.02-1.31-17.51 4.87S128 41.11 134.18 44.6s14.02 1.31 17.51-4.87 1.31-14.02-4.87-17.51"})),h||(h=m.createElement("path",{fill:"url(#premium-plans_svg__d)",d:"M133.83 48.96s-.01 0-.02-.01h-.02a8.386 8.386 0 0 0-11.44 3.18c-2.28 4.04-.86 9.16 3.18 11.44 4.04 2.27 9.15.84 11.42-3.19 2.28-4.03.86-9.13-3.14-11.42"})),g||(g=m.createElement("path",{fill:"url(#premium-plans_svg__e)",d:"M122.05 70.4a5.035 5.035 0 0 0-5.04-5.04c-2.78 0-5.05 2.25-5.05 5.04s2.25 5.05 5.04 5.05 5.05-2.25 5.05-5.04"})),v||(v=m.createElement("path",{fill:"#fff",d:"M102.23 61v4.58c2.83-.12 5.05-1.05 6.92-2.95 1.88-1.9 3.59-4.98 5.23-9.56l12.14-32.51h-5.87l-9.78 27.16-4.85-15.23h-5.38l7.13 18.33c.69 1.76.69 3.72 0 5.48-.72 1.86-2.02 4.05-5.54 4.71Z"})),x||(x=m.createElement("path",{fill:"#cd82ab",d:"M152.37 74.41h-11.8v1.04h11.8zm-3.19-4.09-2.71-4.99-2.71 4.99-4.17-2.96.98 6.68h11.8l.98-6.68z"}))),b=m.forwardRef((function(e,t){return m.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),m.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));var E=s(4184),A=s.n(E);const S=m.forwardRef((function(e,t){return m.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),k=window.ReactJSXRuntime,j=({href:e,children:t,...s})=>(0,k.jsxs)(n.Button,{className:"yst-gap-2 yst-w-full yst-px-2 yst-leading-5",...s,as:"a",href:e,target:"_blank",rel:"noopener",children:[t,(0,k.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,o.__)("(Opens in a new browser tab)","wordpress-seo")})]}),C=({href:e,label:t,variant:s,iconClassName:a="",...r})=>{const i=(0,n.useSvgAria)();return(0,k.jsxs)(j,{...r,href:e,variant:s,children:[t,(0,k.jsx)(S,{className:A()("yst-w-5 yst-h-5 yst-shrink-0 rtl:yst-rotate-180",a),...i})]})},O=m.forwardRef((function(e,t){return m.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),P=({href:e,label:t,...s})=>{const a=(0,n.useSvgAria)();return(0,k.jsxs)(j,{...s,href:e,variant:"primary",children:[t,(0,k.jsx)(O,{className:"yst-h-5 yst-w-5 yst-shrink-0 rtl:yst-rotate-[270deg]",...a})]})},L=({variant:e,className:t,children:s})=>(0,k.jsx)("div",{className:"yst-absolute yst-top-0 yst--translate-y-1/2 yst-w-full yst-text-center",children:(0,k.jsx)(n.Badge,{size:"small",className:A()("yst-border",t),variant:e,children:s})}),M=({hasHighlight:e,isActiveHighlight:t,isBlackFridayPromotionActive:s,isLicenseRequired:a})=>a?e?(0,k.jsx)(L,{variant:t?"success":"error",children:t?(0,o.__)("Current active plan","wordpress-seo"):(0,o.__)("Plan not activated","wordpress-seo")}):s&&(0,k.jsx)(L,{className:"yst-bg-black yst-text-amber-300 yst-border-amber-300",children:(0,o.__)("30% off - Black Friday","wordpress-seo")}):e&&(0,k.jsx)(L,{variant:"success",children:(0,o.__)("Active","wordpress-seo")}),N=({hasHighlight:e=!1,isActiveHighlight:t=!1,isLicenseRequired:s=!0,isManageAvailable:a,buttonOverride:r=null,header:i,title:l,description:c,listDescription:d="",list:p,includes:m,buyLink:f,buyConfig:u,manageLink:y,learnMoreOverride:h=null,learnMoreLink:g,isBlackFridayPromotionActive:v})=>{const x=(0,n.useSvgAria)();return(0,k.jsxs)("div",{className:"yst-flex yst-relative yst-max-w-64",children:[(0,k.jsxs)(n.Card,{className:A()(e&&"yst-shadow-md",e&&(t?"yst-border-green-400":"yst-border-red-400")),children:[(0,k.jsx)(n.Card.Header,{className:"yst-overflow-hidden yst-h-auto yst-p-0",children:i}),(0,k.jsxs)(n.Card.Content,{className:"yst-flex yst-flex-col",children:[(0,k.jsx)(n.Title,{as:"h2",children:l}),(0,k.jsx)("p",{className:"yst-mt-3",children:c}),(0,k.jsx)("hr",{className:"yst-my-6 yst-border-t yst-border-slate-200"}),d&&(0,k.jsx)("p",{className:"yst-mb-3",children:d}),(0,k.jsx)("div",{className:"yst-flex yst-flex-col yst-gap-y-2",role:"list",children:p.map(((e,t)=>(0,k.jsxs)("div",{className:"yst-flex yst-gap-x-2",role:"listitem",children:[(0,k.jsx)(b,{className:"yst-w-5 yst-h-5 yst-shrink-0 yst-text-green-500",...x}),e]},`list-item--${t}`)))})]}),(0,k.jsxs)(n.Card.Footer,{className:"yst-pt-4",children:[m&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:"yst-block yst-font-medium yst-leading-none",children:(0,o.__)("Now includes:","wordpress-seo")}),(0,k.jsx)("span",{className:"yst-text-xxs yst-text-slate-500",children:m}),(0,k.jsx)("hr",{className:"yst-mt-4 yst-mb-6 yst-border-t yst-border-slate-200"})]}),(0,k.jsxs)("div",{className:"yst-flex yst-flex-col yst-gap-y-1",children:[r,!r&&(a?(0,k.jsx)(P,{href:y,label:(0,o.sprintf)(/* translators: %s expands to "MyYoast". */ (0,o.__)("Manage in %s","wordpress-seo"),"MyYoast")}):(0,k.jsx)(C,{variant:"upsell",href:f,label:(0,o.__)("Buy product","wordpress-seo"),...u})),h||(0,k.jsx)(C,{variant:"tertiary",className:"yst-py-0 yst-mt-2",iconClassName:"yst-ml-1.5",href:g,label:(0,o.__)("Learn more","wordpress-seo")})]})]})]}),(0,k.jsx)(M,{isLicenseRequired:s,hasHighlight:e,isActiveHighlight:t,isBlackFridayPromotionActive:v})]})},U=()=>{const{isActive:e,hasLicense:s,isWooActive:a,buyLink:r,buyConfig:i,manageLink:n,learnMoreLink:l,isBlackFridayPromotionActive:m}=(0,t.useSelect)((e=>{const t=e(d);return{isActive:t.selectAddOnIsActive(p.premium),hasLicense:t.selectAddOnHasLicense(p.premium),isWooActive:t.selectAddOnIsActive(p.woo),buyLink:t.selectLink("http://yoa.st/plans-premium-buy"),buyConfig:t.selectAddOnClickToBuyAsProps(p.premium),manageLink:t.selectLink("http://yoa.st/plans-premium-manage"),learnMoreLink:t.selectLink("http://yoa.st/plans-premium-learn-more"),isBlackFridayPromotionActive:t.isPromotionActive("black-friday-promotion")}}),[]);return(0,k.jsx)(N,{hasHighlight:e&&!a,isActiveHighlight:s,isManageAvailable:s,header:(0,k.jsx)(_,{}),title:"Yoast SEO Premium",description:(0,o.sprintf)(/* translators: %s expands to "Yoast SEO Premium". */ (0,o.__)("%s gives entrepreneurs and in-house teams real-time SEO guidance, so content meets best practices and drives visibility, no expert knowledge needed.","wordpress-seo"),"Yoast SEO Premium"),listDescription:c((0,o.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing span tag for styling. */ (0,o.__)("Includes all %1$sFree%2$s features, plus:","wordpress-seo"),"<span>","</span>"),{span:(0,k.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),list:[(0,o.__)("AI-enhanced optimization, built right in at no extra cost","wordpress-seo"),(0,o.__)("Smarter content tools; internal linking suggestions and redirect automation","wordpress-seo"),(0,o.__)("Advanced tools to scale your SEO workflow","wordpress-seo")],buyLink:r,buyConfig:i,manageLink:n,learnMoreLink:l,includes:"Local SEO + Video SEO + News SEO",isBlackFridayPromotionActive:m})};var B,I,H,T,D,Z,G;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},F.apply(null,arguments)}const R=e=>m.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 254 96"},e),B||(B=m.createElement("defs",null,m.createElement("radialGradient",{id:"woo-plans_svg__b",cx:132.75,cy:69.66,r:12.86,fx:132.75,fy:69.66,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#9fda4f"}),m.createElement("stop",{offset:1,stopColor:"#77b227"})),m.createElement("radialGradient",{id:"woo-plans_svg__d",cx:124.22,cy:44.84,r:10.3,fx:124.22,fy:44.84,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#fec228"}),m.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),m.createElement("stop",{offset:1,stopColor:"#f49a00"})),m.createElement("radialGradient",{id:"woo-plans_svg__e",cx:113.13,cy:30.08,r:5.04,fx:113.13,fy:30.08,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#ff4e47"}),m.createElement("stop",{offset:1,stopColor:"#ed261f"})),m.createElement("linearGradient",{id:"woo-plans_svg__a",x1:-1.92,x2:258.06,y1:97.88,y2:1.33,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:.17,stopColor:"#0e1e65"}),m.createElement("stop",{offset:.48,stopColor:"#064b8d"}),m.createElement("stop",{offset:.73,stopColor:"#0169a8"}),m.createElement("stop",{offset:.87,stopColor:"#0075b3"})))),I||(I=m.createElement("path",{fill:"url(#woo-plans_svg__a)",d:"M-7.4 0h268.8v96H-7.4z"})),H||(H=m.createElement("path",{fill:"url(#woo-plans_svg__b)",d:"M146.82 22.22c-6.18-3.49-14.02-1.31-17.51 4.87S128 41.11 134.18 44.6s14.02 1.31 17.51-4.87 1.31-14.02-4.87-17.51"})),T||(T=m.createElement("path",{fill:"url(#woo-plans_svg__d)",d:"M133.83 48.96s-.01 0-.02-.01h-.02a8.386 8.386 0 0 0-11.44 3.18c-2.28 4.04-.86 9.16 3.18 11.44 4.04 2.27 9.15.84 11.42-3.19 2.28-4.03.86-9.13-3.14-11.42"})),D||(D=m.createElement("path",{fill:"url(#woo-plans_svg__e)",d:"M122.05 70.4a5.035 5.035 0 0 0-5.04-5.04c-2.78 0-5.05 2.25-5.05 5.04s2.25 5.05 5.04 5.05 5.05-2.25 5.05-5.04"})),Z||(Z=m.createElement("path",{fill:"#fff",d:"M102.23 61v4.58c2.83-.12 5.05-1.05 6.92-2.95 1.88-1.9 3.59-4.98 5.23-9.56l12.14-32.51h-5.87l-9.78 27.16-4.85-15.23h-5.38l7.13 18.33c.69 1.76.69 3.72 0 5.48-.72 1.86-2.02 4.05-5.54 4.71Z"})),G||(G=m.createElement("path",{fill:"#a1cce3",d:"M152.19 64.83c-.46 0-.87.31-.99.76l-.13.47c-2.96-.06-5.92.29-8.79 1.02h-.03c-.22.07-.33.3-.26.52.45 1.34.99 2.66 1.61 3.94.07.14.21.23.37.23h6.1c.52 0 .98.33 1.16.82h-8.1c-.22 0-.41.18-.41.41s.18.41.41.41h8.58c.22 0 .41-.18.41-.41 0-.93-.63-1.74-1.53-1.98l1.39-5.22c.02-.09.1-.15.2-.15h.75c.22 0 .41-.18.41-.41s-.18-.41-.41-.41h-.76Zm-.88 10.61c-.45 0-.82-.36-.82-.82s.36-.82.82-.82.82.36.82.82-.36.82-.82.82m-6.94 0c-.45 0-.82-.36-.82-.82s.36-.82.82-.82.82.36.82.82-.36.82-.82.82"}))),z=()=>{const{isActive:e,hasLicense:s,buyLink:a,buyConfig:r,manageLink:i,learnMoreLink:n,isBlackFridayPromotionActive:l}=(0,t.useSelect)((e=>{const t=e(d);return{isActive:t.selectAddOnIsActive(p.woo),hasLicense:t.selectAddOnHasLicense(p.woo),buyLink:t.selectLink("http://yoa.st/plans-woocommerce-buy"),buyConfig:t.selectAddOnClickToBuyAsProps(p.woo),manageLink:t.selectLink("http://yoa.st/plans-woocommerce-manage"),learnMoreLink:t.selectLink("http://yoa.st/plans-woocommerce-learn-more"),isBlackFridayPromotionActive:t.isPromotionActive("black-friday-promotion")}}),[]);return(0,k.jsx)(N,{hasHighlight:e,isActiveHighlight:s,isManageAvailable:s,header:(0,k.jsx)(R,{}),title:"Yoast WooCommerce SEO",description:(0,o.sprintf)(/* translators: %s expands to "Yoast SEO Premium". */ (0,o.__)("Built for WooCommerce stores, this bundle helps your products stand out in Google with rich results and smart SEO, plus %s to save time and boost visibility.","wordpress-seo"),"Yoast SEO Premium"),listDescription:c((0,o.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing span tag for styling. */ (0,o.__)("Includes all %1$sPremium%2$s features, plus:","wordpress-seo"),"<span>","</span>"),{span:(0,k.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),list:[(0,o.__)("Increase organic visibility for your products","wordpress-seo"),(0,o.__)("Generate standout product titles and descriptions","wordpress-seo"),(0,o.__)("Get tailored SEO analysis for your product pages","wordpress-seo")],buyLink:a,buyConfig:r,manageLink:i,learnMoreLink:n,includes:"Local SEO + Video SEO + News SEO",isBlackFridayPromotionActive:l})};var V,$,W,Y,q,J,Q,X;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},K.apply(null,arguments)}const ee=e=>m.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 254 96"},e),V||(V=m.createElement("defs",null,m.createElement("radialGradient",{id:"ai-plus-plans_svg__b",cx:132.75,cy:69.66,r:12.85,fx:132.75,fy:69.66,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#9fda4f"}),m.createElement("stop",{offset:1,stopColor:"#77b227"})),m.createElement("radialGradient",{id:"ai-plus-plans_svg__d",cx:124.22,cy:44.84,r:10.3,fx:124.22,fy:44.84,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#fec228"}),m.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),m.createElement("stop",{offset:1,stopColor:"#f49a00"})),m.createElement("radialGradient",{id:"ai-plus-plans_svg__e",cx:113.13,cy:30.08,r:5.04,fx:113.13,fy:30.08,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#ff4e47"}),m.createElement("stop",{offset:1,stopColor:"#ed261f"})),m.createElement("linearGradient",{id:"ai-plus-plans_svg__a",x1:-1.91,x2:258.06,y1:97.88,y2:1.32,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:.17,stopColor:"#6366f1"}),m.createElement("stop",{offset:.36,stopColor:"#794ec3"}),m.createElement("stop",{offset:.59,stopColor:"#913492"}),m.createElement("stop",{offset:.77,stopColor:"#a02474"}),m.createElement("stop",{offset:.87,stopColor:"#a61e69"})))),$||($=m.createElement("path",{fill:"url(#ai-plus-plans_svg__a)",d:"M-7.4 0h268.8v96H-7.4z"})),W||(W=m.createElement("path",{fill:"url(#ai-plus-plans_svg__b)",d:"M146.82 22.22c-6.18-3.49-14.02-1.31-17.51 4.87S128 41.11 134.18 44.6s14.02 1.31 17.51-4.87 1.31-14.02-4.87-17.51"})),Y||(Y=m.createElement("path",{fill:"url(#ai-plus-plans_svg__d)",d:"M133.83 48.96s-.01 0-.02-.01l-.02-.01a8.386 8.386 0 0 0-11.44 3.18c-2.28 4.04-.85 9.16 3.18 11.44 4.04 2.27 9.15.84 11.42-3.19a8.4 8.4 0 0 0-3.15-11.42"})),q||(q=m.createElement("path",{fill:"url(#ai-plus-plans_svg__e)",d:"M122.05 70.4c0-1.76-.92-3.46-2.55-4.39-.78-.44-1.63-.65-2.48-.65-2.78 0-5.05 2.25-5.05 5.04s2.25 5.05 5.04 5.05 5.05-2.25 5.05-5.04"})),J||(J=m.createElement("path",{fill:"#fff",d:"M102.23 61v4.58c2.83-.12 5.05-1.05 6.92-2.95s3.59-4.98 5.23-9.56l12.14-32.51h-5.87l-9.78 27.16-4.85-15.23h-5.37l7.13 18.33c.69 1.76.69 3.72 0 5.48-.72 1.86-2.02 4.05-5.54 4.71Z"})),Q||(Q=m.createElement("path",{fill:"#d4b8d5",fillRule:"evenodd",d:"M150.02 67.33c.15 0 .28.1.32.24l.36 1.27c.16.55.59.99 1.15 1.15l1.27.36a.333.333 0 0 1 0 .64l-1.27.36c-.55.16-.99.59-1.15 1.15l-.36 1.27a.333.333 0 0 1-.64 0l-.36-1.27c-.16-.55-.59-.99-1.15-1.15l-1.27-.36a.333.333 0 0 1 0-.64l1.27-.36c.55-.16.99-.59 1.15-1.15l.36-1.27c.04-.14.17-.24.32-.24m-3.26-2.6c.1 0 .19.07.21.17l.08.3c.07.28.28.49.56.56l.3.08c.12.03.19.15.16.27-.02.08-.08.14-.16.16l-.3.08a.76.76 0 0 0-.56.56l-.08.3a.22.22 0 0 1-.27.16.22.22 0 0 1-.16-.16l-.08-.3a.76.76 0 0 0-.56-.56l-.3-.08a.22.22 0 0 1-.16-.27c.02-.08.08-.14.16-.16l.3-.08a.76.76 0 0 0 .56-.56l.08-.3c.02-.1.11-.17.21-.17Zm-2.5 5.31c.05 0 .1.03.12.09l.07.2c.02.07.08.13.16.16l.2.07c.07.02.1.09.08.16-.01.04-.04.07-.08.08l-.2.07c-.07.02-.13.08-.16.16l-.07.2c-.02.07-.09.1-.16.08a.11.11 0 0 1-.08-.08l-.07-.2a.25.25 0 0 0-.16-.16l-.2-.07c-.07-.02-.1-.09-.08-.16.01-.04.04-.07.08-.08l.2-.07c.07-.02.13-.08.16-.16l.07-.2c.02-.05.06-.09.12-.09m-1.28 2.39c.05 0 .1.03.12.09l.07.2c.02.07.08.13.16.16l.2.07c.07.02.1.09.08.16-.01.04-.04.07-.08.08l-.2.07c-.07.02-.13.08-.16.16l-.07.2c-.02.07-.09.1-.16.08a.11.11 0 0 1-.08-.08l-.07-.2a.25.25 0 0 0-.16-.16l-.2-.07c-.07-.02-.1-.09-.08-.16.01-.04.04-.07.08-.08l.2-.07c.07-.02.13-.08.16-.16l.07-.2c.02-.05.06-.09.12-.09"})),X||(X=m.createElement("path",{fill:"#d4b8d5",d:"M142.84 72.13c-.17-.46-.27-.95-.27-1.46 0-1.8 1.15-3.34 2.75-3.93l-.21-.56a4.79 4.79 0 0 0-3.14 4.49c0 .59.11 1.15.3 1.66zm6.52 1.8c-.71.57-1.62.91-2.6.91-1.2 0-2.29-.51-3.05-1.33l-.44.41c.87.94 2.12 1.52 3.5 1.52 1.12 0 2.16-.39 2.97-1.04l-.37-.48Zm-2.6-5.5c.6 0 1.14.23 1.54.62l.4-.45a2.831 2.831 0 0 0-4.62 1.15l.56.21a2.24 2.24 0 0 1 2.12-1.52Zm1.53 3.86c-.4.38-.94.61-1.54.61-.99 0-1.83-.64-2.12-1.53l-.57.19a2.83 2.83 0 0 0 2.69 1.94c.75 0 1.44-.29 1.94-.77l-.41-.44Z"}))),te=({title:e,description:t,listDescription:s,list:a,includes:r,learnMoreLink:i})=>{const l=(0,n.useSvgAria)();return(0,k.jsx)("div",{className:"yst-flex yst-relative yst-max-w-64",children:(0,k.jsxs)(n.Card,{children:[(0,k.jsx)(n.Card.Header,{className:"yst-overflow-hidden yst-h-auto yst-p-0",children:(0,k.jsx)(ee,{})}),(0,k.jsxs)(n.Card.Content,{className:"yst-flex yst-flex-col",children:[(0,k.jsx)(n.Title,{as:"h2",children:e}),(0,k.jsx)("p",{className:"yst-mt-3",children:t}),(0,k.jsx)("hr",{className:"yst-my-6 yst-border-t yst-border-slate-200"}),s&&(0,k.jsx)("p",{className:"yst-mb-3",children:s}),(0,k.jsx)("div",{className:"yst-flex yst-flex-col yst-gap-y-2",role:"list",children:a.map(((e,t)=>(0,k.jsxs)("div",{className:"yst-flex yst-gap-x-2",role:"listitem",children:[(0,k.jsx)(b,{className:"yst-w-5 yst-h-5 yst-shrink-0 yst-text-green-500",...l}),e]},`list-item--${t}`)))})]}),(0,k.jsxs)(n.Card.Footer,{className:"yst-pt-4 yst-mt-auto",children:[r&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:"yst-block yst-font-medium yst-leading-none",children:(0,o.__)("Now includes:","wordpress-seo")}),(0,k.jsx)("span",{className:"yst-text-xxs yst-text-slate-500",children:r}),(0,k.jsx)("hr",{className:"yst-mt-4 yst-mb-6 yst-border-t yst-border-slate-200"})]}),(0,k.jsx)(C,{variant:"primary",label:(0,o.__)("Learn more","wordpress-seo"),href:i})]})]})})},se=()=>{const e=(0,t.useSelect)((e=>e(d).selectLink("https://yoa.st/plans-ai-plus-learn-more")),[]);return(0,k.jsx)(te,{header:(0,k.jsx)(ee,{}),title:"Yoast SEO AI+",description:(0,o.__)("For marketers and content publishers looking to boost brand awareness and visibility, this package combines powerful on page SEO tools with AI brand monitoring and insights.","wordpress-seo"),listDescription:c((0,o.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing span tag for styling. */ (0,o.__)("Includes all %1$sWooCommerce SEO%2$s features, plus:","wordpress-seo"),"<span>","</span>"),{span:(0,k.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),list:[(0,o.__)("Track and measure brand visibility in AI platforms","wordpress-seo"),(0,o.__)("Build and protect your brand reputation with insights","wordpress-seo"),(0,o.__)("Optimize your site for visitors, search and LLMs","wordpress-seo")],learnMoreLink:e,includes:"Local SEO + Video SEO + News SEO"})};var ae,re,ie;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ne.apply(null,arguments)}const le=e=>m.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",width:254,height:96,fill:"none"},e),ae||(ae=m.createElement("path",{fill:"#5D237A",d:"M0 0h254v96H0z"})),re||(re=m.createElement("g",{clipPath:"url(#duplicate-post-plans_svg__a)"},m.createElement("path",{fill:"#5D237A",d:"M86 8h80v80H86z"}),m.createElement("path",{fill:"#5D237A",d:"M98.8 8h54.4A12.799 12.799 0 0 1 166 20.8V88H98.8A12.8 12.8 0 0 1 86 75.2V20.8A12.8 12.8 0 0 1 98.8 8Z"}),m.createElement("path",{fill:"#fff",d:"M131.411 66.643H95.632V14.405h28.344l7.435 7.235v45.003Z"}),m.createElement("path",{fill:"#fff",d:"M123.976 21.64h7.395l-7.395-7.235v7.235Z"}),m.createElement("path",{fill:"#A4286A",d:"m131.663 21.382-7.423-7.224-.011-.01a.3.3 0 0 0-.075-.054l-.021-.01a.32.32 0 0 0-.086-.03.427.427 0 0 0-.064 0h-28.35a.36.36 0 0 0-.353.346v52.243a.36.36 0 0 0 .36.36h35.771a.36.36 0 0 0 .36-.36V21.64a.362.362 0 0 0-.108-.258Zm-1.175-.102h-6.152v-6.02l6.152 6.02ZM95.992 66.283v-51.52h27.624v6.88a.359.359 0 0 0 .36.36h7.075v44.28H95.992Z"}),m.createElement("path",{fill:"#A4286A",d:"M106.509 40.144a3.164 3.164 0 0 1-1-.382c-.084-.048-.13-.08-.184-.117l-.13-.091c-.085-.064-.16-.132-.245-.204a3.37 3.37 0 0 1-.52-.601 3.196 3.196 0 0 1-.16-.272 3.292 3.292 0 0 1-.4-1.571v-9.463c0-.548.138-1.088.4-1.57.049-.093.102-.184.16-.273.059-.086.123-.173.192-.254.202-.247.439-.462.703-.64.088-.06.179-.116.272-.16a3.263 3.263 0 0 1 1.571-.4h8.189l.32-.884h-8.504a4.192 4.192 0 0 0-4.188 4.186v9.466a4.195 4.195 0 0 0 4.188 4.187h.547v-.885h-.547a3.306 3.306 0 0 1-.664-.072Zm14.265-16.624-.067-.024-.307.824.069.026c.143.054.282.117.417.19.093.051.184.107.272.16a3.339 3.339 0 0 1 .895.894c.059.095.115.181.16.274.261.482.399 1.021.4 1.57v12.768h-8.354l-.022.037c-.148.259-.301.505-.458.732l-.078.116h9.798V27.443a4.212 4.212 0 0 0-2.725-3.923Z"}),m.createElement("path",{fill:"#A4286A",d:"M108.768 40.29v2.22c1.376-.052 2.45-.51 3.36-1.427.939-.944 1.746-2.416 2.539-4.64l5.893-15.768h-2.853l-4.742 13.171-2.359-7.385H108l3.461 8.89a3.658 3.658 0 0 1 0 2.66c-.352.903-.981 1.963-2.693 2.279Z"}),m.createElement("path",{fill:"#fff",d:"M156.368 81.595h-35.779V29.357h28.345l7.434 7.235v45.003Z"}),m.createElement("path",{fill:"#fff",d:"M148.934 36.592h7.396l-7.396-7.235v7.235Z"}),m.createElement("path",{fill:"#A4286A",d:"m156.619 36.335-7.434-7.236a.3.3 0 0 0-.076-.054l-.02-.011a.368.368 0 0 0-.088-.03.468.468 0 0 0-.067 0h-28.345a.36.36 0 0 0-.36.36V81.6a.358.358 0 0 0 .36.36h35.779a.359.359 0 0 0 .36-.36V36.592a.355.355 0 0 0-.109-.258Zm-1.173-.103h-6.152v-6.02l6.152 6.02Zm-34.497 45.003v-51.52h27.625v6.88a.358.358 0 0 0 .36.36h7.074v44.28h-35.059Z"}),m.createElement("path",{fill:"#A4286A",d:"M131.468 54.42a4.128 4.128 0 0 1-.32-.08 2.809 2.809 0 0 1-.45-.18 4.83 4.83 0 0 1-.23-.123 2.072 2.072 0 0 1-.184-.115c-.053-.037-.088-.061-.13-.093a3.39 3.39 0 0 1-.765-.805 2.292 2.292 0 0 1-.16-.272 3.304 3.304 0 0 1-.4-1.571V41.72a3.304 3.304 0 0 1 .4-1.571c.051-.093.107-.184.16-.272a3.344 3.344 0 0 1 .895-.894c.088-.06.179-.116.272-.16a3.29 3.29 0 0 1 1.571-.4h8.193l.32-.884h-8.508a4.192 4.192 0 0 0-4.188 4.187v9.458a4.195 4.195 0 0 0 4.188 4.187h.545v-.883h-.545c-.224 0-.446-.022-.664-.067Zm14.265-16.623-.069-.026-.304.829.068.026c.144.053.284.117.419.192.093.048.184.102.272.16a3.344 3.344 0 0 1 .894.894c.058.088.111.179.16.272.263.482.401 1.022.402 1.571v12.768h-8.359l-.02.037a11.29 11.29 0 0 1-.458.733l-.078.113h9.798V41.72a4.205 4.205 0 0 0-2.725-3.923Z"}),m.createElement("path",{fill:"#A4286A",d:"M133.726 54.56v2.22c1.376-.054 2.448-.511 3.36-1.428.939-.942 1.746-2.414 2.539-4.632l5.885-15.774h-2.845l-4.742 13.17-2.359-7.38h-2.606l3.461 8.89a3.658 3.658 0 0 1 0 2.66c-.352.904-.979 1.965-2.693 2.274Z"}),m.createElement("path",{fill:"#96CB06",d:"m127.866 58.5 11.414 10.018-11.406 9.493v-5.59s-14.858.712-15.909-16.81c4.352 9.12 15.909 8.405 15.909 8.405l-.008-5.515Z"}))),ie||(ie=m.createElement("defs",null,m.createElement("clipPath",{id:"duplicate-post-plans_svg__a"},m.createElement("path",{fill:"#fff",d:"M86 8h80v80H86z"}))))),oe=()=>{const{isDuplicatePostInstalled:e,isDuplicatePostActive:s,duplicatePostInstallationUrl:a,duplicatePostActivationUrl:r,userCanActivatePlugin:n,userCanInstallPlugin:l,learnMoreLink:c,isBlackFridayPromotionActive:p}=(0,t.useSelect)((e=>{const t=e(d);return{isDuplicatePostInstalled:t.selectDuplicatePostParam("isInstalled"),isDuplicatePostActive:t.selectDuplicatePostParam("isActivated"),duplicatePostInstallationUrl:t.selectDuplicatePostParam("installationUrl"),duplicatePostActivationUrl:t.selectDuplicatePostParam("activationUrl"),userCanActivatePlugin:t.selectUserCan("activatePlugin"),userCanInstallPlugin:t.selectUserCan("installPlugin"),learnMoreLink:t.selectLink("http://yoa.st/plans-duplicate-post-learn-more"),isBlackFridayPromotionActive:t.isPromotionActive("black-friday-promotion")}}),[]),{buttonLink:m,buttonDisabled:f}=(0,i.useMemo)((()=>{const t={buttonLink:null,buttonDisabled:!0};return s?t:e?n?{buttonLink:r,buttonDisabled:!1}:t:l?{buttonLink:a,buttonDisabled:!1}:t}),[e,s,a,r,n,l]);return(0,k.jsx)(N,{hasHighlight:s,isActiveHighlight:s,isManageAvailable:!1,isLicenseRequired:!1,header:(0,k.jsx)(le,{}),title:"Yoast Duplicate Post",description:(0,o.__)("Easily copy posts and pages in one click to save time when reusing or updating content.","wordpress-seo"),list:[(0,o.__)("Duplicate any post or page instantly","wordpress-seo"),(0,o.__)("Perfect for creating templates or testing updates","wordpress-seo"),(0,o.__)("Trusted by over 4+ million WordPress sites","wordpress-seo")],buttonOverride:(0,k.jsx)(P,{href:m,label:(0,o.__)("Install plugin","wordpress-seo"),disabled:f}),learnMoreLink:c,isBlackFridayPromotionActive:p})};var ce,de,pe,me,fe,ue,ye,he,ge;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ve.apply(null,arguments)}const xe=e=>m.createElement("svg",ve({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 254 96"},e),ce||(ce=m.createElement("defs",null,m.createElement("radialGradient",{id:"docs-plans_svg__e",cx:131.18,cy:64.28,r:9.34,fx:131.18,fy:64.28,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#9fda4f"}),m.createElement("stop",{offset:1,stopColor:"#77b227"})),m.createElement("radialGradient",{id:"docs-plans_svg__f",cx:124.98,cy:46.26,r:7.48,fx:124.98,fy:46.26,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#fec228"}),m.createElement("stop",{offset:.22,stopColor:"#fbb81e"}),m.createElement("stop",{offset:1,stopColor:"#f49a00"})),m.createElement("radialGradient",{id:"docs-plans_svg__h",cx:116.92,cy:35.54,r:3.66,fx:116.92,fy:35.54,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#ff4e47"}),m.createElement("stop",{offset:1,stopColor:"#ed261f"})),m.createElement("linearGradient",{id:"docs-plans_svg__a",x1:-1.92,x2:258.06,y1:97.88,y2:1.33,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:.17,stopColor:"#e6aacb"}),m.createElement("stop",{offset:.39,stopColor:"#d88fb7"}),m.createElement("stop",{offset:.7,stopColor:"#c971a1"}),m.createElement("stop",{offset:.87,stopColor:"#c46699"})),m.createElement("linearGradient",{id:"docs-plans_svg__b",x1:93.51,x2:160.26,y1:59.73,y2:34.94,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:.17,stopColor:"#a61e69"}),m.createElement("stop",{offset:.33,stopColor:"#951f5f"}),m.createElement("stop",{offset:.67,stopColor:"#77234e"}),m.createElement("stop",{offset:.87,stopColor:"#6c2548"})),m.createElement("linearGradient",{id:"docs-plans_svg__d",x1:139.71,x2:147.97,y1:68.89,y2:62.04,gradientTransform:"matrix(1 0 0 -1 0 98)",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{offset:0,stopColor:"#374151",stopOpacity:.4}),m.createElement("stop",{offset:.92,stopColor:"#111827",stopOpacity:.02})))),de||(de=m.createElement("path",{fill:"url(#docs-plans_svg__a)",d:"M-7.4 0h268.8v96H-7.4z"})),pe||(pe=m.createElement("path",{fill:"url(#docs-plans_svg__b)",d:"M152.68 31.91v51.56h-45.64c-3.16 0-5.73-2.57-5.73-5.73V18.27c0-3.16 2.57-5.73 5.73-5.73h26.37c5.55 7.58 11.97 14.04 19.26 19.37Z"})),me||(me=m.createElement("path",{fill:"url(#docs-plans_svg__d)",d:"m134.83 29.9 17.85 17.95V31.91z"})),fe||(fe=m.createElement("path",{fill:"url(#docs-plans_svg__e)",d:"M141.4 29.28a9.34 9.34 0 0 0-12.72 3.54c-2.54 4.49-.95 10.18 3.54 12.72s10.18.95 12.72-3.54a9.34 9.34 0 0 0-3.54-12.72"})),ue||(ue=m.createElement("path",{fill:"url(#docs-plans_svg__f)",d:"M131.96 48.7h-.03c-3.1-1.71-6.72-.5-8.31 2.31a6.097 6.097 0 0 0 2.31 8.31c2.93 1.65 6.64.61 8.3-2.32a6.11 6.11 0 0 0-2.28-8.3"})),ye||(ye=m.createElement("path",{fill:"url(#docs-plans_svg__h)",d:"M123.4 64.27c0-1.28-.67-2.52-1.86-3.19a3.7 3.7 0 0 0-1.8-.48c-2.02 0-3.66 1.63-3.66 3.66s1.63 3.66 3.66 3.66 3.66-1.63 3.66-3.66"})),he||(he=m.createElement("path",{fill:"#fff",d:"M109.01 57.44v3.32c2.06-.08 3.66-.76 5.03-2.14 1.36-1.38 2.61-3.62 3.8-6.94l8.82-23.61h-4.26l-7.1 19.73-3.52-11.06h-3.9l5.18 13.31c.5 1.28.5 2.7 0 3.98-.52 1.35-1.46 2.94-4.03 3.42Z"})),ge||(ge=m.createElement("path",{fill:"#e2accc",d:"M133.42 26.18V12.54l19.26 19.37h-13.53c-3.16 0-5.73-2.57-5.73-5.73"}))),we=()=>{const{isPremiumActive:e,installAddonLink:s,buyPremiumLink:a,buyPremiumConfig:r,learnMoreLink:i,isBlackFridayPromotionActive:n}=(0,t.useSelect)((e=>{const t=e(d);return{isPremiumActive:t.selectAddOnIsActive(p.premium),installAddonLink:t.selectLink("https://yoa.st/plans-google-docs-add-on-install"),buyPremiumLink:t.selectLink("https://yoa.st/plans-premium-buy-google-docs-addon"),buyPremiumConfig:t.selectAddOnClickToBuyAsProps(p.premium),learnMoreLink:t.selectLink("https://yoa.st/plans-google-docs-add-on-learn-more"),isBlackFridayPromotionActive:t.isPromotionActive("black-friday-promotion")}}),[]);return(0,k.jsx)(N,{hasHighlight:!1,isActiveHighlight:!1,isManageAvailable:!1,isLicenseRequired:!1,header:(0,k.jsx)(xe,{}),title:"Yoast SEO Google Docs Add-on",description:(0,o.__)("Write and optimize your content directly in Google Docs.","wordpress-seo"),list:[(0,o.__)("Get instant SEO and readability analysis while you write","wordpress-seo"),(0,o.__)("Collaborate with your team and create consistent SEO-ready drafts faster","wordpress-seo"),(0,o.__)("One free seat available with all Yoast subscriptions","wordpress-seo")],buttonOverride:e&&(0,k.jsx)(P,{href:s,label:(0,o.__)("Install add-on","wordpress-seo")}),buyLink:a,buyConfig:r,learnMoreLink:i,learnMoreOverride:!e&&(0,k.jsx)("div",{className:"yst-font-medium yst-italic yst-text-center yst-pt-3",children:(0,o.__)("Included in Premium","wordpress-seo")}),isBlackFridayPromotionActive:n})},_e=()=>(0,k.jsx)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-mb-8 xl:yst-mb-0",children:(0,k.jsxs)(n.Paper,{as:"main",className:"yst-max-w-page",children:[(0,k.jsx)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200",children:(0,k.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,k.jsx)(n.Title,{children:(0,o.__)("Plans","wordpress-seo")}),(0,k.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,o.__)("Compare plans and find the perfect fit for your site - from essential SEO features to advanced automation.","wordpress-seo")})]})}),(0,k.jsxs)("div",{className:"yst-h-full yst-p-8",children:[(0,k.jsxs)("div",{className:"yst-max-w-6xl yst-flex yst-gap-6 yst-flex-wrap yst-pb-8 yst-border-b yst-border-slate-200",children:[(0,k.jsx)(U,{}),(0,k.jsx)(z,{}),(0,k.jsx)(se,{})]}),(0,k.jsxs)("div",{className:"yst-pt-6",children:[(0,k.jsx)(n.Title,{children:(0,o.__)("Add-ons","wordpress-seo")}),(0,k.jsx)("p",{className:"yst-text-tiny yst-mt-3",children:(0,o.__)("Boost your productivity with tools that simplify writing, editing, and publishing.","wordpress-seo")})]}),(0,k.jsxs)("div",{className:"yst-max-w-6xl yst-flex yst-gap-6 yst-flex-wrap yst-pt-6",children:[(0,k.jsx)(oe,{}),(0,k.jsx)(we,{})]})]})]})}),be=window.yoast.reduxJsToolkit,Ee="adminUrl",Ae=(0,be.createSlice)({name:Ee,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),Se=(Ae.getInitialState,{selectAdminUrl:e=>(0,l.get)(e,Ee,"")});Se.selectAdminLink=(0,be.createSelector)([Se.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),Ae.actions,Ae.reducer,window.wp.apiFetch;const ke="hasConsent",je=(0,be.createSlice)({name:ke,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),Ce=(je.getInitialState,je.actions,je.reducer,window.wp.url),Oe="linkParams",Pe=(0,be.createSlice)({name:Oe,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),Le=Pe.getInitialState,Me={selectLinkParam:(e,t,s={})=>(0,l.get)(e,`${Oe}.${t}`,s),selectLinkParams:e=>(0,l.get)(e,Oe,{})};Me.selectLink=(0,be.createSelector)([Me.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,Ce.addQueryArgs)(t,{...e,...s})));const Ne=Pe.actions,Ue=Pe.reducer,Be=(0,be.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,be.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,l.omit)(e,t)}}),Ie=(Be.getInitialState,Be.actions,Be.reducer,"pluginUrl"),He=(0,be.createSlice)({name:Ie,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),Te=(He.getInitialState,{selectPluginUrl:e=>(0,l.get)(e,Ie,"")});Te.selectImageLink=(0,be.createSelector)([Te.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,l.trimEnd)(e,"/"),(0,l.trim)(t,"/"),(0,l.trimStart)(s,"/")].join("/"))),He.actions,He.reducer;const De="wistiaEmbedPermission",Ze=(0,be.createSlice)({name:De,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${De}/request`,(e=>{e.status="loading"})),e.addCase(`${De}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${De}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,l.get)(t,"error.code",500),message:(0,l.get)(t,"error.message","Unknown")}}))}});var Ge;Ze.getInitialState,Ze.actions,Ze.reducer;const Fe=(0,be.createSlice)({name:"documentTitle",initialState:(0,l.defaultTo)(null===(Ge=document)||void 0===Ge?void 0:Ge.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),Re=(Fe.getInitialState,Fe.actions,Fe.reducer,"addOns"),ze=(0,be.createEntityAdapter)({selectId:e=>e.id,sortComparer:(e,t)=>e.id.localeCompare(t.id)}),Ve=e=>"object"==typeof e&&Object.keys(p).includes(String(e.id))?{id:String(e.id),isActive:Boolean(e.isActive),hasLicense:Boolean(e.hasLicense),ctb:{action:(0,l.get)(e,"ctb.action",""),id:(0,l.get)(e,"ctb.id","")}}:null,$e=(0,be.createSlice)({name:Re,initialState:ze.getInitialState(),reducers:{addManyAddOns:{reducer:ze.addMany,prepare:e=>({payload:(0,l.filter)((0,l.map)(e,Ve),Boolean)})}}}),We=$e.getInitialState,Ye={selectAddOnById:ze.getSelectors((e=>e[Re])).selectById};Ye.selectAddOnIsActive=(0,be.createSelector)([Ye.selectAddOnById],(e=>e.isActive)),Ye.selectAddOnHasLicense=(0,be.createSelector)([Ye.selectAddOnById],(e=>e.hasLicense)),Ye.selectAddOnClickToBuy=(0,be.createSelector)([Ye.selectAddOnById],(e=>e.ctb)),Ye.selectAddOnClickToBuyAsProps=(0,be.createSelector)([Ye.selectAddOnClickToBuy],(e=>({"data-action":e.action,"data-ctb-id":e.id})));const qe=$e.actions,Je=$e.reducer,Qe="preferences",Xe=(0,be.createSlice)({name:Qe,initialState:{},reducers:{}}),Ke=Xe.getInitialState,et={selectPreference:(e,t,s=!1)=>(0,l.get)(e,[Qe,t],s),selectPreferences:e=>(0,l.get)(e,Qe,{})},tt=Xe.actions,st=Xe.reducer,at="duplicatePost",rt=(0,be.createSlice)({name:at,initialState:{},reducers:{}}),it=rt.getInitialState,nt={selectDuplicatePostParam:(e,t,s=!1)=>(0,l.get)(e,[at,t],s)},lt=rt.actions,ot=rt.reducer,ct="userCan",dt=(0,be.createSlice)({name:ct,initialState:{},reducers:{}}),pt=dt.getInitialState,mt={selectUserCan:(e,t,s=!1)=>(0,l.get)(e,[ct,t],s)},ft=dt.actions,ut=dt.reducer,yt=window.yoast.externals.redux,{currentPromotions:ht}=yt.reducers,{isPromotionActive:gt}=yt.selectors,vt="currentPromotions";r()((()=>{const s=document.getElementById("yoast-seo-plans");if(!s)return;(({initialState:e={}}={})=>{(0,t.register)((({initialState:e})=>(0,t.createReduxStore)(d,{actions:{...qe,...lt,...Ne,...tt,...ft},selectors:{...Ye,...nt,...Me,...et,...mt,isPromotionActive:gt},initialState:(0,l.merge)({},{[Re]:We(),[vt]:{promotions:[]},[at]:it(),[Oe]:Le(),[Qe]:Ke(),[ct]:pt()},e),reducer:(0,t.combineReducers)({[Re]:Je,[at]:ot,[Oe]:Ue,[Qe]:st,[ct]:ut,currentPromotions:ht})}))({initialState:e}))})({initialState:{[Oe]:(0,l.get)(window,"wpseoScriptData.linkParams",{}),[Qe]:(0,l.get)(window,"wpseoScriptData.preferences",{}),[at]:(0,l.get)(window,"wpseoScriptData.duplicatePost",{}),[ct]:(0,l.get)(window,"wpseoScriptData.userCan",{}),[vt]:{promotions:(0,l.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(0,t.dispatch)(d).addManyAddOns((0,l.get)(window,"wpseoScriptData.addOns",{})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const a=(0,t.select)(d).selectPreference("isRtl",!1);(0,i.createRoot)(s).render((0,k.jsx)(n.Root,{context:{isRtl:a},children:(0,k.jsx)(e.SlotFillProvider,{children:(0,k.jsx)(_e,{})})}))}))})()})(); dist/network-admin.js 0000644 00000004420 15174677550 0010645 0 ustar 00 (()=>{var e={2322:e=>{var t,n,a="",r=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}((function(){t=document.getElementById("a11y-speak-polite"),n=document.getElementById("a11y-speak-assertive"),null===t&&(t=r("polite")),null===n&&(n=r("assertive"))})),e.exports=function(e,r){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/g," "),a===e&&(e+=" "),a=e,n&&"assertive"===r?n.textContent=e:t&&(t.textContent=e)}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(2322),t=n.n(e);const a=window.jQuery;!function(e){function n(n){var a,r,o=e(".wrap > h1");n.length&&(a=n.map((function(e){return"<div class='"+e.type+" notice'><p>"+e.message+"</p></div>"})),o.after(a.join("")),r=wpseoNetworkAdminGlobalL10n.error_prefix,"updated"===n[0].type&&(r=wpseoNetworkAdminGlobalL10n.success_prefix),t()(r.replace("%s",n[0].message),"assertive"))}function a(t){var a=e(this),r=a.find("[type='submit']:focus"),o=a.serialize();return t.preventDefault(),e(".wrap > .notice").remove(),r.length||(r=e(".wpseotab.active [type='submit']")),"action"===r.attr("name")&&(o=o.replace(/action=([a-zA-Z0-9_]+)/,"action="+r.val())),e.ajax({type:"POST",url:ajaxurl,data:o}).done((function(e){e.data&&n(e.data)})).fail((function(e){var t=e.responseJSON;t&&t.data&&n(t.data)})),!1}e(document).ready((function(){var t=e("#wpseo-conf");t.length&&t.on("submit",a)}))}(n.n(a)())})()})(); dist/externals-contexts.js 0000644 00000001467 15174677550 0011750 0 ustar 00 (()=>{"use strict";var o={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},d:(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(o,e)=>Object.prototype.hasOwnProperty.call(o,e)};const e=window.wp.element,t=(0,e.createContext)("location"),n=t.Provider,r=t.Consumer,a=window.yoast.propTypes;var s=o.n(a);const i=window.ReactJSXRuntime,c={},d=(0,e.createContext)(c),w=({children:o,context:e={}})=>(0,i.jsx)(d.Provider,{value:{...c,...e},children:o});w.propTypes={children:s().node.isRequired,context:s().object};const l=w;window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.contexts={LocationContext:t,LocationProvider:n,LocationConsumer:r,RootContext:d,Root:l,useRootContext:()=>(0,e.useContext)(d)}})(); dist/block-editor.js 0000644 00000604472 15174677550 0010461 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var r=typeof s;if("string"===r||"number"===r)e.push(s);else if(Array.isArray(s)){if(s.length){var n=o.apply(null,s);n&&e.push(n)}}else if("object"===r){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)i.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(s=function(){return o}.apply(t,[]))||(e.exports=s)}()}},t={};function s(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.blocks,t=window.wp.data,i=window.wp.editor,o=window.wp.element,r=window.wp.i18n,n=window.wp.plugins,a=window.wp.richText,l=window.yoast.externals.contexts,c=window.yoast.externals.redux,d=window.lodash;function p(){return(0,d.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const u=window.yoast.propTypes;var h=s.n(u);const g=window.yoast.styledComponents;var m=s.n(g);const y=window.ReactJSXRuntime,f=m().svg` width: ${e=>e.size}px; height: ${e=>e.size}px; &&& path { fill: ${e=>e.color}; } &&& circle.yoast-icon-readability-score { fill: ${e=>e.readabilityScoreColor}; display: ${e=>e.isContentAnalysisActive?"inline":"none"}; } &&& circle.yoast-icon-seo-score { fill: ${e=>e.seoScoreColor}; display: ${e=>e.isKeywordAnalysisActive?"inline":"none"}; } `,w=({readabilityScoreColor:e="#000000",isContentAnalysisActive:t=!1,seoScoreColor:s="#000000",isKeywordAnalysisActive:i=!1,size:o=20,color:r="#000001",...n})=>(0,y.jsxs)(f,{readabilityScoreColor:e,isContentAnalysisActive:t,seoScoreColor:s,isKeywordAnalysisActive:i,size:o,color:r,...n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27",children:[(0,y.jsx)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),(0,y.jsx)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),(0,y.jsx)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),(0,y.jsx)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"})]});w.propTypes={readabilityScoreColor:h().string,isContentAnalysisActive:h().bool,seoScoreColor:h().string,isKeywordAnalysisActive:h().bool,size:h().number,color:h().string};const b=w,x=window.wp.components,v=window.yoast.uiLibrary;function k(e){return void 0===e.length?e:(0,d.flatten)(e).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority))}const _=window.React;var j=s.n(_);_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));const S=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}};h().string.isRequired;const T=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),R=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));h().string.isRequired,h().string.isRequired,h().shape({src:h().string.isRequired,width:h().string,height:h().string}).isRequired,h().shape({value:h().bool.isRequired,status:h().string.isRequired,set:h().func.isRequired}).isRequired,h().string,h().string,h().string;const C=({handleRefreshClick:e,supportLink:t})=>(0,y.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,y.jsx)(v.Button,{onClick:e,children:(0,r.__)("Refresh this page","wordpress-seo")}),(0,y.jsx)(v.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,r.__)("Contact support","wordpress-seo")})]});C.propTypes={handleRefreshClick:h().func.isRequired,supportLink:h().string.isRequired};const E=({handleRefreshClick:e,supportLink:t})=>(0,y.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,y.jsx)(v.Button,{className:"yst-order-last",onClick:e,children:(0,r.__)("Refresh this page","wordpress-seo")}),(0,y.jsx)(v.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,r.__)("Contact support","wordpress-seo")})]});E.propTypes={handleRefreshClick:h().func.isRequired,supportLink:h().string.isRequired};const I=({error:e,children:t=null})=>(0,y.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,y.jsx)(v.Title,{children:(0,r.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,y.jsx)("p",{children:(0,r.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,y.jsx)(v.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,r.__)("Undefined error message.","wordpress-seo")}),(0,y.jsx)("p",{children:(0,r.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});I.propTypes={error:h().object.isRequired,children:h().node},I.VerticalButtons=E,I.HorizontalButtons=C;h().string,h().node.isRequired,h().node.isRequired,h().node,h().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const L=window.ReactDOM;var A,F,P;(F=A||(A={})).Pop="POP",F.Push="PUSH",F.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(P||(P={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const M=["post","put","patch","delete"],q=(new Set(M),["get",...M]);new Set(q),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),_.Component,_.startTransition,new Promise((()=>{})),_.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var O,N,D,U;new Map,_.startTransition,L.flushSync,_.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(U=O||(O={})).UseScrollRestoration="useScrollRestoration",U.UseSubmit="useSubmit",U.UseSubmitFetcher="useSubmitFetcher",U.UseFetcher="useFetcher",U.useViewTransitionState="useViewTransitionState",(D=N||(N={})).UseFetcher="useFetcher",D.UseFetchers="useFetchers",D.UseScrollRestoration="useScrollRestoration",h().string.isRequired,h().string;h().string.isRequired,h().node;const W=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));(0,r.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,r.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,r.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,r.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,r.__)("Add product details to help your listings stand out","wordpress-seo"),(0,r.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,r.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,r.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,r.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,r.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,r.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,r.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,r.__)("Internal links and redirect management, easy","wordpress-seo"),(0,r.__)("Access to friendly help when you need it, day or night","wordpress-seo");var $=s(4184),B=s.n($);var K;function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},H.apply(null,arguments)}h().string.isRequired,h().object.isRequired,h().func.isRequired,_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));const z=e=>_.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),K||(K=_.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));h().string.isRequired,h().object,h().func.isRequired,h().bool.isRequired,h().string.isRequired,h().object.isRequired,h().string.isRequired,h().func.isRequired,h().bool.isRequired,_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),h().bool.isRequired,h().func,h().func,h().string.isRequired,h().string.isRequired,h().string.isRequired,h().string.isRequired;window.yoast.reactHelmet;h().string.isRequired,h().shape({src:h().string.isRequired,width:h().string,height:h().string}).isRequired,h().shape({value:h().bool.isRequired,status:h().string.isRequired,set:h().func.isRequired}).isRequired,h().bool,_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),h().bool.isRequired,h().func.isRequired,h().func,h().string,h().func.isRequired,h().string.isRequired,h().string.isRequired,h().string.isRequired,h().string.isRequired;const Y=window.yoast.componentsNew,V=window.yoast.styleGuide,G=window.yoast.analysis;function Z(e){switch(e){case"loading":return{icon:"loading-spinner",color:V.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:V.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:V.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:V.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:V.colors.$color_ok};default:return{icon:"seo-score-bad",color:V.colors.$color_red}}}function X({target:e,children:t}){let s=e;return"string"==typeof e&&(s=document.getElementById(e)),s?(0,o.createPortal)(t,s):null}X.propTypes={target:h().oneOfType([h().string,h().object]).isRequired,children:h().node.isRequired};const Q=({target:e,scoreIndicator:t})=>(0,y.jsx)(X,{target:e,children:(0,y.jsx)(Y.SvgIcon,{...Z(t)})});Q.propTypes={target:h().string.isRequired,scoreIndicator:h().string.isRequired};const J=Q,ee=({error:e})=>{const s=(0,o.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),r=(0,t.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,o.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,y.jsx)(v.Root,{context:{isRtl:r},children:(0,y.jsxs)(I,{error:e,children:[(0,y.jsx)(I.HorizontalButtons,{supportLink:i,handleRefreshClick:s}),(0,y.jsx)(J,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,y.jsx)(J,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,y.jsx)(J,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})]})})};ee.propTypes={error:h().object.isRequired};const te=({theme:e,location:t,children:s})=>(0,y.jsx)(l.LocationProvider,{value:t,children:(0,y.jsx)(g.ThemeProvider,{theme:e,children:s})});te.propTypes={theme:h().object.isRequired,location:h().oneOf(["sidebar","metabox","modal"]).isRequired,children:h().node.isRequired};const se=te;function ie({theme:e}){return(0,y.jsx)(se,{theme:e,location:"metabox",children:(0,y.jsx)(v.ErrorBoundary,{FallbackComponent:ee,children:(0,y.jsx)(x.Slot,{name:"YoastMetabox",children:e=>k(e)})})})}const oe=window.wp.compose,re=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),ne=(e=null)=>(0,_.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]),ae=({className:e="",...t})=>(0,y.jsx)("span",{className:B()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp","yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-start",e),...t});ae.displayName="MetaboxButton.Text",ae.propTypes={className:h().string};const le=({className:e="",...t})=>(0,y.jsx)("button",{type:"button",className:B()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pe-4 yst-ps-6 yst-space-x-2 rtl:yst-space-x-reverse","yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0]","focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...t});le.propTypes={className:h().string},le.Text=ae;const ce=window.yoast.helpers,de=m().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } `,pe=(m().div` @media screen and ( min-width: 600px ) { max-width: 420px; } `,m()(Y.Icon)` float: ${(0,ce.getDirectionalStyle)("right","left")}; margin: ${(0,ce.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; && { width: 150px; height: 150px; @media screen and ( max-width: 680px ) { width: 80px; height: 80px; } } `,({title:e="Yoast SEO",className:t="yoast yoast-gutenberg-modal",showYoastIcon:s=!0,children:i=null,additionalClassName:o="",...r})=>{const n=s?(0,y.jsx)("span",{className:"yoast-icon"}):null;return(0,y.jsx)(x.Modal,{title:e,className:`${t} ${o}`,icon:n,...r,children:i})});pe.propTypes={title:h().string,className:h().string,showYoastIcon:h().bool,children:h().oneOfType([h().node,h().arrayOf(h().node)]),additionalClassName:h().string};const ue=pe;var he,ge;function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},me.apply(null,arguments)}const ye=e=>_.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),he||(he=_.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),ge||(ge=_.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),fe=({onClick:e,title:t,id:s="",subTitle:i="",suffixIcon:o=null,SuffixHeroIcon:r=null,prefixIcon:n=null,children:a=null})=>(0,y.jsx)("div",{className:"yoast components-panel__body",children:(0,y.jsx)("h2",{className:"components-panel__body-title",children:(0,y.jsxs)("button",{id:s,onClick:e,className:"components-button components-panel__body-toggle",type:"button",children:[n&&(0,y.jsx)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`},children:(0,y.jsx)(Y.SvgIcon,{size:n.size,icon:n.icon})}),(0,y.jsxs)("span",{className:"yoast-title-container",children:[(0,y.jsx)("div",{className:"yoast-title",children:t}),(0,y.jsx)("div",{className:"yoast-subtitle",children:i})]}),a,o&&(0,y.jsx)(Y.SvgIcon,{size:o.size,icon:o.icon}),r]})})}),we=fe;fe.propTypes={onClick:h().func.isRequired,title:h().string.isRequired,id:h().string,subTitle:h().string,suffixIcon:h().object,SuffixHeroIcon:h().element,prefixIcon:h().object,children:h().node};const be=window.moment;var xe=s.n(be);const ve=window.wp.apiFetch;var ke=s.n(ve);async function _e(e,t,s,i=200){try{const o=await e();return!!o&&(o.status===i?t(o):s(o))}catch(e){console.error(e.message)}}async function je(e){try{return await ke()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function Se(e){return(0,d.isArray)(e)||(e=[e]),await je({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const Te=({data:e,mapChartDataToTableData:t=null,dataTableCaption:s,dataTableHeaderLabels:i,isDataTableVisuallyHidden:o=!0})=>e.length!==i.length?(0,y.jsx)("p",{children:(0,r.__)("The number of headers and header labels don't match.","wordpress-seo")}):(0,y.jsx)("div",{className:o?"screen-reader-text":null,children:(0,y.jsxs)("table",{children:[(0,y.jsx)("caption",{children:s}),(0,y.jsx)("thead",{children:(0,y.jsx)("tr",{children:i.map(((e,t)=>(0,y.jsx)("th",{children:e},t)))})}),(0,y.jsx)("tbody",{children:(0,y.jsx)("tr",{children:e.map(((e,s)=>(0,y.jsx)("td",{children:t(e.y)},s)))})})]})});Te.propTypes={data:h().arrayOf(h().shape({x:h().number,y:h().number})).isRequired,mapChartDataToTableData:h().func,dataTableCaption:h().string.isRequired,dataTableHeaderLabels:h().array.isRequired,isDataTableVisuallyHidden:h().bool};const Re=Te,Ce=({data:e,width:t,height:s,fillColor:i=null,strokeColor:r="#000000",strokeWidth:n=1,className:a="",mapChartDataToTableData:l=null,dataTableCaption:c,dataTableHeaderLabels:d,isDataTableVisuallyHidden:p=!0})=>{const u=Math.max(1,Math.max(...e.map((e=>e.x)))),h=Math.max(1,Math.max(...e.map((e=>e.y)))),g=s-n,m=e.map((e=>`${e.x/u*t},${g-e.y/h*g+n}`)).join(" "),f=`0,${g+n} `+m+` ${t},${g+n}`;return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsxs)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:a,role:"img","aria-hidden":"true",focusable:"false",children:[(0,y.jsx)("polygon",{fill:i,points:f}),(0,y.jsx)("polyline",{fill:"none",stroke:r,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:m})]}),l&&(0,y.jsx)(Re,{data:e,mapChartDataToTableData:l,dataTableCaption:c,dataTableHeaderLabels:d,isDataTableVisuallyHidden:p})]})};Ce.propTypes={data:h().arrayOf(h().shape({x:h().number,y:h().number})).isRequired,width:h().number.isRequired,height:h().number.isRequired,fillColor:h().string,strokeColor:h().string,strokeWidth:h().number,className:h().string,mapChartDataToTableData:h().func,dataTableCaption:h().string.isRequired,dataTableHeaderLabels:h().array.isRequired,isDataTableVisuallyHidden:h().bool};const Ee=Ce,Ie=()=>(0,y.jsxs)("p",{className:"yoast-wincher-seo-performance-modal__loading-message",children:[(0,r.__)("Tracking the ranking position…","wordpress-seo")," ",(0,y.jsx)(Y.SvgIcon,{icon:"loading-spinner"})]}),Le=m()(Y.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; `,Ae=m().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; `,Fe=m().td` padding-right: 0 !important; & > div { margin: 0px; } `,Pe=m().td` padding-left: 2px !important; `,Me=m().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } `,qe=m().div` display: flex; align-items: center; & > a { box-sizing: border-box; } `,Oe=m().button` background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; display: flex; align-items: center; `,Ne=m().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; `;function De(e){return Math.round(100*e)}function Ue({chartData:e={}}){if((0,d.isEmpty)(e)||(0,d.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,r.sprintf)((0,r._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:31-e.value})));return(0,y.jsx)(Ee,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:De,dataTableCaption:(0,r.__)("Keyphrase position in the last 90 days on a scale from 0 to 30.","wordpress-seo"),dataTableHeaderLabels:t})}function We({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:i}){return i?(0,y.jsx)(Y.SvgIcon,{icon:"loading-spinner"}):(0,y.jsx)(Y.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}function $e(e){return!e||!e.position||e.position.value>30?"> 30":e.position.value}Ue.propTypes={chartData:h().object};const Be=e=>xe()(e).fromNow(),Ke=({rowData:e={}})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,y.jsx)(Ue,{chartData:e});const s=e.position.change<0;return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(Ue,{chartData:e}),(0,y.jsx)(Ae,{isImproving:s,children:Math.abs(e.position.change)}),(0,y.jsx)(Le,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s})]})};function He({rowData:e,websiteId:t,keyphrase:s,onSelectKeyphrases:i}){const n=(0,o.useCallback)((()=>{i([s])}),[i,s]),a=!(0,d.isEmpty)(e),l=e&&e.updated_at&&xe()(e.updated_at)>=xe()().subtract(7,"days"),c=e?`https://app.wincher.com/websites/${t}/keywords?serp=${e.id}&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast`:null;return a?l?(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)("td",{children:(0,y.jsxs)(qe,{children:[$e(e),(0,y.jsx)(Y.ButtonStyledLink,{variant:"secondary",href:c,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank",children:(0,r.__)("View","wordpress-seo")})]})}),(0,y.jsx)("td",{className:"yoast-table--nopadding",children:(0,y.jsx)(Oe,{type:"button",onClick:n,children:(0,y.jsx)(Ke,{rowData:e})})}),(0,y.jsx)("td",{children:Be(e.updated_at)})]}):(0,y.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,y.jsx)(Ie,{})}):(0,y.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,y.jsx)("i",{children:(0,r.__)("Activate tracking to show the ranking position","wordpress-seo")})})}function ze({keyphrase:e,rowData:t={},onTrackKeyphrase:s=d.noop,onUntrackKeyphrase:i=d.noop,isFocusKeyphrase:r=!1,isDisabled:n=!1,isLoading:a=!1,websiteId:l="",isSelected:c,onSelectKeyphrases:p}){var u;const h=!(0,d.isEmpty)(t),g=!(0,d.isEmpty)(null==t||null===(u=t.position)||void 0===u?void 0:u.history),m=(0,o.useCallback)((()=>{n||(h?i(e,t.id):s(e))}),[e,s,i,h,t,n]),f=(0,o.useCallback)((()=>{p((t=>c?t.filter((t=>t!==e)):t.concat(e)))}),[p,c,e]);return(0,y.jsxs)(Ne,{isEnabled:h,children:[(0,y.jsx)(Fe,{children:g&&(0,y.jsx)(Y.Checkbox,{id:"select-"+e,onChange:f,checked:c,label:""})}),(0,y.jsxs)(Pe,{children:[e,r&&(0,y.jsx)("span",{children:"*"})]}),He({rowData:t,websiteId:l,keyphrase:e,onSelectKeyphrases:p}),(0,y.jsx)(Me,{children:We({keyphrase:e,isEnabled:h,toggleAction:m,isLoading:a})})]})}Ke.propTypes={rowData:h().object},ze.propTypes={rowData:h().object,keyphrase:h().string.isRequired,onTrackKeyphrase:h().func,onUntrackKeyphrase:h().func,isFocusKeyphrase:h().bool,isDisabled:h().bool,isLoading:h().bool,websiteId:h().string,isSelected:h().bool.isRequired,onSelectKeyphrases:h().func.isRequired};const Ye=(0,ce.makeOutboundLink)(),Ve=m().span` display: block; font-style: italic; @media (min-width: 782px) { display: inline; position: absolute; ${(0,ce.getDirectionalStyle)("right","left")}: 8px; } `,Ge=m().div` width: 100%; overflow-y: auto; `,Ze=m().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } `,Xe=m().th` padding-left: 2px !important; `,Qe=e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e})),t.current},Je=(0,d.debounce)((async function(e=null,t=null,s=null,i){return await je({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:i})}),500,{leading:!0}),et=({addTrackedKeyphrase:e,isLoggedIn:t=!1,isNewlyAuthenticated:s=!1,keyphrases:i=[],newRequest:n,removeTrackedKeyphrase:a,setRequestFailed:l,setKeyphraseLimitReached:c,setRequestSucceeded:p,setTrackedKeyphrases:u,setHasTrackedAll:h,trackAll:g=!1,trackedKeyphrases:m=null,websiteId:f="",permalink:w,focusKeyphrase:b="",startAt:x=null,selectedKeyphrases:v,onSelectKeyphrases:k})=>{const _=(0,o.useRef)(),j=(0,o.useRef)(),S=(0,o.useRef)(!1),[T,R]=(0,o.useState)([]),C=(0,o.useCallback)((e=>{const t=e.toLowerCase();return m&&!(0,d.isEmpty)(m)&&m.hasOwnProperty(t)?m[t]:null}),[m]),E=(0,o.useMemo)((()=>async()=>{await _e((()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,Je(i,x,w,j.current.signal))),(e=>{p(e),u(e.results)}),(e=>{l(e)}))}),[p,l,u,i,w,x]),I=(0,o.useCallback)((async t=>{const s=(Array.isArray(t)?t:[t]).map((e=>e.toLowerCase()));R((e=>[...e,...s])),await _e((()=>Se(s)),(t=>{p(t),e(t.results),E()}),(e=>{400===e.status&&e.limit&&c(e.limit),l(e)}),201),R((e=>(0,d.without)(e,...s)))}),[p,l,c,e,E]),L=(0,o.useCallback)((async(e,t)=>{e=e.toLowerCase(),R((t=>[...t,e])),await _e((()=>async function(e){return await je({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{p(t),a(e)}),(e=>{l(e)})),R((t=>(0,d.without)(t,e)))}),[p,a,l]),A=(0,o.useCallback)((async e=>{n(),await I(e)}),[n,I]),F=Qe(w),P=Qe(i),M=Qe(x),q=w&&x;(0,o.useEffect)((()=>{t&&q&&(w!==F||(0,d.difference)(i,P).length||x!==M)&&E()}),[t,w,F,i,P,E,q,x,M]),(0,o.useEffect)((()=>{if(t&&g&&null!==m){const e=i.filter((e=>!C(e)));e.length&&I(e),h()}}),[t,g,m,I,h,C,i]),(0,o.useEffect)((()=>{s&&!S.current&&(E(),S.current=!0)}),[s,E]),(0,o.useEffect)((()=>{if(t&&!(0,d.isEmpty)(m))return(0,d.filter)(m,(e=>(0,d.isEmpty)(e.updated_at))).length>0&&(_.current=setInterval((()=>{E()}),1e4)),()=>{clearInterval(_.current)}}),[t,m,E]);const O=t&&null===m,N=(0,o.useMemo)((()=>(0,d.isEmpty)(m)?[]:Object.values(m).filter((e=>{var t;return!(0,d.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[m]),D=(0,o.useMemo)((()=>v.length>0&&N.length>0&&N.every((e=>v.includes(e)))),[v,N]),U=(0,o.useCallback)((()=>{k(D?[]:N)}),[k,D,N]),W=(0,o.useMemo)((()=>(0,d.orderBy)(i,[e=>Object.values(m||{}).map((e=>e.keyword)).includes(e)],["desc"])),[i,m]);return i&&!(0,d.isEmpty)(i)&&(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(Ge,{children:(0,y.jsxs)("table",{className:"yoast yoast-table",children:[(0,y.jsx)("thead",{children:(0,y.jsxs)("tr",{children:[(0,y.jsx)(Ze,{isDisabled:0===N.length,children:(0,y.jsx)(Y.Checkbox,{id:"select-all",onChange:U,checked:D,label:""})}),(0,y.jsx)(Xe,{scope:"col",abbr:(0,r.__)("Keyphrase","wordpress-seo"),children:(0,r.__)("Keyphrase","wordpress-seo")}),(0,y.jsx)("th",{scope:"col",abbr:(0,r.__)("Position","wordpress-seo"),children:(0,r.__)("Position","wordpress-seo")}),(0,y.jsx)("th",{scope:"col",abbr:(0,r.__)("Position over time","wordpress-seo"),children:(0,r.__)("Position over time","wordpress-seo")}),(0,y.jsx)("th",{scope:"col",abbr:(0,r.__)("Last updated","wordpress-seo"),children:(0,r.__)("Last updated","wordpress-seo")}),(0,y.jsx)("th",{scope:"col",abbr:(0,r.__)("Tracking","wordpress-seo"),children:(0,r.__)("Tracking","wordpress-seo")})]})}),(0,y.jsx)("tbody",{children:W.map(((e,s)=>(0,y.jsx)(ze,{keyphrase:e,onTrackKeyphrase:A,onUntrackKeyphrase:L,rowData:C(e),isFocusKeyphrase:e===b.trim().toLowerCase(),websiteId:f,isDisabled:!t,isLoading:O||T.indexOf(e.toLowerCase())>=0,isSelected:v.includes(e),onSelectKeyphrases:k},`trackable-keyphrase-${s}`)))})]})}),(0,y.jsxs)("p",{style:{marginBottom:0,position:"relative"},children:[(0,y.jsx)(Ye,{href:wpseoAdminGlobalL10n["links.wincher.login"],children:(0,r.sprintf)(/* translators: %s expands to Wincher */ (0,r.__)("Get more insights over at %s","wordpress-seo"),"Wincher")}),(0,y.jsx)(Ve,{children:(0,r.__)("* focus keyphrase","wordpress-seo")})]})]})};et.propTypes={addTrackedKeyphrase:h().func.isRequired,isLoggedIn:h().bool,isNewlyAuthenticated:h().bool,keyphrases:h().array,newRequest:h().func.isRequired,removeTrackedKeyphrase:h().func.isRequired,setRequestFailed:h().func.isRequired,setKeyphraseLimitReached:h().func.isRequired,setRequestSucceeded:h().func.isRequired,setTrackedKeyphrases:h().func.isRequired,setHasTrackedAll:h().func.isRequired,trackAll:h().bool,trackedKeyphrases:h().object,websiteId:h().string,permalink:h().string.isRequired,focusKeyphrase:h().string,startAt:h().string,selectedKeyphrases:h().arrayOf(h().string).isRequired,onSelectKeyphrases:h().func.isRequired};const tt=et,st=(0,oe.compose)([(0,t.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:i,getWincherPermalink:o,getFocusKeyphrase:r,isWincherNewlyAuthenticated:n,shouldWincherTrackAll:a}=e("yoast-seo/editor");return{focusKeyphrase:r(),keyphrases:s(),isLoggedIn:i(),trackAll:a(),websiteId:t(),isNewlyAuthenticated:n(),permalink:o()}})),(0,t.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherSetKeyphraseLimitReached:o,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:n,setWincherTrackAllKeyphrases:a,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},setKeyphraseLimitReached:e=>{o(e)},addTrackedKeyphrase:e=>{n(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{a(!1)}}}))])(tt);class it{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,i=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,i.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:i}=e;i===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const ot=()=>(0,y.jsx)(Y.Alert,{type:"info",children:(0,r.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,r.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")}),rt=()=>(0,y.jsx)(Y.Alert,{type:"success",children:(0,r.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,r.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")}),nt=()=>(0,y.jsx)(Y.Alert,{type:"info",children:(0,r.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,r.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")}),at=(0,ce.makeOutboundLink)(),lt=(0,ce.makeOutboundLink)(),ct=()=>{const e=(0,r.sprintf)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ (0,r.__)("With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"<wincherLink/>","<wincherReadMoreLink/>");return(0,y.jsx)("p",{children:S(e,{wincherLink:(0,y.jsx)(at,{href:wpseoAdminGlobalL10n["links.wincher.website"],children:"Wincher"}),wincherReadMoreLink:(0,y.jsx)(lt,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"],children:(0,r.__)("Read more about keyphrase tracking with Wincher","wordpress-seo")})})})},dt=(0,ce.makeOutboundLink)(),pt=({limit:e=10})=>{const t=(0,r.sprintf)(/* translators: %1$d expands to the amount of allowed keyphrases on a free account, %2$s expands to a link to Wincher plans. */ (0,r.__)("You've reached the maximum amount of %1$d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %2$s.","wordpress-seo"),e,"<UpdateWincherPlanLink/>");return(0,y.jsx)(Y.Alert,{type:"error",children:S(t,{UpdateWincherPlanLink:(0,y.jsx)(dt,{href:wpseoAdminGlobalL10n["links.wincher.pricing"],children:(0,r.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,r.__)("upgrade your %s plan","wordpress-seo"),"Wincher")})})})};pt.propTypes={limit:h().number};const ut=pt,ht=()=>(0,y.jsx)(Y.Alert,{type:"error",children:(0,r.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")}),gt=()=>(0,y.jsx)(Y.Alert,{type:"error",children:(0,r.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")}),mt=({onReconnect:e,className:t=""})=>{const s=(0,r.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ (0,r.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"<reconnectToWincher/>","Wincher");return(0,y.jsx)(Y.Alert,{type:"error",className:t,children:S(s,{reconnectToWincher:(0,y.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),e()},children:(0,r.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,r.__)("reconnect to %s","wordpress-seo"),"Wincher")})})})};mt.propTypes={onReconnect:h().func.isRequired,className:h().string};const yt=mt,ft=()=>(0,y.jsx)(Y.Alert,{type:"error",children:(0,r.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")}),wt=m().p` color: ${V.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; `,bt=m()(Y.SvgIcon)` margin-right: 5px; vertical-align: middle; `,xt=m().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; `,vt=m().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; `,kt=m().div` position: relative; background: ${e=>e.isTitleShortened?"#f5f7f7":"transparent"}; border: 1px solid #c7c7c7; border-left: 4px solid${V.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; `,_t=({limit:e,usage:t,isTitleShortened:s=!1,isFreeAccount:i=!1})=>{const o=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),t,e),n=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),a=i?o:n,l=(0,r.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,r.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),c=s?l:a;return(0,y.jsxs)(wt,{children:[s&&(0,y.jsx)(bt,{icon:"exclamation-triangle",color:V.colors.$color_pink_dark,size:"14px"}),c]})};_t.propTypes={limit:h().number.isRequired,usage:h().number.isRequired,isTitleShortened:h().bool,isFreeAccount:h().bool};const jt=(0,ce.makeOutboundLink)(),St=({discount:e,months:t})=>{const s=(0,y.jsx)(jt,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600},children:(0,r.sprintf)(/* Translators: %s : Expands to "Wincher". */ (0,r.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher")});if(!e||!t)return(0,y.jsx)(vt,{children:s});const i=100*e,o=(0,r.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ (0,r.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"<wincherAccountUpgradeLink/>",i+"%",t);return(0,y.jsx)(vt,{children:S(o,{wincherAccountUpgradeLink:s})})};St.propTypes={discount:h().number,months:h().number};const Tt=({onClose:e=null,isTitleShortened:t=!1,trackingInfo:s=null})=>{const i=(()=>{const[e,t]=(0,o.useState)(null);return(0,o.useEffect)((()=>{e||async function(){return await je({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:n,usage:a}=s;if(!(n&&a/n>=.8))return null;const l=Boolean(null==i?void 0:i.discount);return(0,y.jsxs)(kt,{isTitleShortened:t,children:[e&&(0,y.jsx)(xt,{type:"button","aria-label":(0,r.__)("Close the upgrade callout","wordpress-seo"),onClick:e,children:(0,y.jsx)(Y.SvgIcon,{icon:"times-circle",color:V.colors.$color_pink_dark,size:"14px"})}),(0,y.jsx)(_t,{...s,isTitleShortened:t,isFreeAccount:l}),(0,y.jsx)(St,{discount:null==i?void 0:i.discount,months:null==i?void 0:i.months})]})};Tt.propTypes={onClose:h().func,isTitleShortened:h().bool,trackingInfo:h().object};const Rt=Tt,Ct=window.yoast["chart.js"],Et="label";function It(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Lt(e,t){e.labels=t}function At(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et;const i=[];e.datasets=t.map((t=>{const o=e.datasets.find((e=>e[s]===t[s]));return o&&t.data&&!i.includes(o)?(i.push(o),Object.assign(o,t),o):{...t}}))}function Ft(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Et;const s={labels:[],datasets:[]};return Lt(s,e.labels),At(s,e.datasets,t),s}function Pt(e,t){const{height:s=150,width:i=300,redraw:o=!1,datasetIdKey:r,type:n,data:a,options:l,plugins:c=[],fallbackContent:d,updateMode:p,...u}=e,h=(0,_.useRef)(null),g=(0,_.useRef)(),m=()=>{h.current&&(g.current=new Ct.Chart(h.current,{type:n,data:Ft(a,r),options:l&&{...l},plugins:c}),It(t,g.current))},y=()=>{It(t,null),g.current&&(g.current.destroy(),g.current=null)};return(0,_.useEffect)((()=>{!o&&g.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(g.current,l)}),[o,l]),(0,_.useEffect)((()=>{!o&&g.current&&Lt(g.current.config.data,a.labels)}),[o,a.labels]),(0,_.useEffect)((()=>{!o&&g.current&&a.datasets&&At(g.current.config.data,a.datasets,r)}),[o,a.datasets]),(0,_.useEffect)((()=>{g.current&&(o?(y(),setTimeout(m)):g.current.update(p))}),[o,l,a.labels,a.datasets,p]),(0,_.useEffect)((()=>{g.current&&(y(),setTimeout(m))}),[n]),(0,_.useEffect)((()=>(m(),()=>y())),[]),_.createElement("canvas",Object.assign({ref:h,role:"img",height:s,width:i},u),d)}const Mt=(0,_.forwardRef)(Pt);function qt(e,t){return Ct.Chart.register(t),(0,_.forwardRef)(((t,s)=>_.createElement(Mt,Object.assign({},t,{ref:s,type:e}))))}const Ot=qt("line",Ct.LineController),Nt={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Ct._adapters._date.override("function"==typeof xe()?{_id:"moment",formats:function(){return Nt},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=xe()(e,t):e instanceof xe()||(e=xe()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return xe()(e).format(t)},add:function(e,t,s){return xe()(e).add(t,s).valueOf()},diff:function(e,t,s){return xe()(e).diff(xe()(t),s)},startOf:function(e,t,s){return e=xe()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return xe()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Dt=["top","right","bottom","left"];function Ut(e,t,s){const i={};s=s?"-"+s:"";for(let o=0;o<4;o++){const r=Dt[o];i[r]=parseFloat(e[t+"-"+r+s])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),Ct.Chart.register(Ct.CategoryScale,Ct.LineController,Ct.LineElement,Ct.PointElement,Ct.LinearScale,Ct.TimeScale,Ct.Legend,Ct.Tooltip);const Wt=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function $t({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const i=(0,o.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,Wt[t%Wt.length]])))),[s]),r=e.map((e=>{const t=i[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,y.jsx)(Ot,{height:100,data:{datasets:r},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:d.noop},tooltip:{enabled:!0,callbacks:{title:e=>xe()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:31}}}})}Ct.Interaction.modes.xPoint=(e,t,s,i)=>{const o=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:i}=t,o=(h=s).ownerDocument.defaultView.getComputedStyle(h,null),r="border-box"===o.boxSizing,n=Ut(o,"padding"),a=Ut(o,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,i=s&&s.length?s[0]:e,{offsetX:o,offsetY:r}=i;let n,a,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(o,r,e.target))n=o,a=r;else{const e=t.getBoundingClientRect();n=i.clientX-e.left,a=i.clientY-e.top,l=!0}return{x:n,y:a,box:l}}(e,s),p=n.left+(d&&a.left),u=n.top+(d&&a.top);var h;let{width:g,height:m}=t;return r&&(g-=n.width+a.width,m-=n.height+a.height),{x:Math.round((l-p)/g*s.width/i),y:Math.round((c-u)/m*s.height/i)}}(t,e);let r=[];if(Ct.Interaction.evaluateInteractionItems(e,"x",o,((e,t,s)=>{e.inXRange(o.x,i)&&r.push({element:e,datasetIndex:t,index:s})})),0===r.length)return r;const n=r.reduce(((e,t)=>Math.abs(o.x-e.element.x)<Math.abs(o.x-t.element.x)?e:t)).element.x;return r=r.filter((e=>e.element.x===n)),r.some((e=>Math.abs(e.element.y-o.y)<10))?r:[]},$t.propTypes={datasets:h().arrayOf(h().shape({label:h().string.isRequired,data:h().arrayOf(h().shape({datetime:h().string.isRequired,value:h().number.isRequired})).isRequired,selected:h().bool})).isRequired,isChartShown:h().bool.isRequired,keyphrases:h().array.isRequired};const Bt=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,y.jsx)(yt,{onReconnect:t}):(0,y.jsx)(ft,{});Bt.propTypes={response:h().object.isRequired,onLogin:h().func.isRequired};const Kt=({isSuccess:e,response:t={},allKeyphrasesMissRanking:s,onLogin:i,keyphraseLimitReached:o,limit:r})=>o?(0,y.jsx)(ut,{limit:r}):(0,d.isEmpty)(t)||e?s?(0,y.jsx)(nt,{}):null:(0,y.jsx)(Bt,{response:t,onLogin:i});Kt.propTypes={isSuccess:h().bool.isRequired,allKeyphrasesMissRanking:h().bool.isRequired,response:h().object,onLogin:h().func.isRequired,keyphraseLimitReached:h().bool.isRequired,limit:h().number.isRequired};let Ht=null;const zt=async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r})=>{if(Ht&&!Ht.isClosed())return void Ht.focus();const{url:n}=await async function(){return await je({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Ht=new it(n,{success:{type:"wincher:oauth:success",callback:n=>(async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)=>{await _e((()=>async function(e){const{code:t,websiteId:s}=e;return await je({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(n)),(async a=>{e(!0,!0,n.websiteId.toString()),t(a);const l=(Array.isArray(i)?i:[i]).map((e=>e.toLowerCase()));await _e((()=>Se(l)),(e=>{t(e),o(e.results)}),(e=>{400===e.status&&e.limit&&r(e.limit),s(e)}),201);const c=Ht.getPopup();c&&c.close()}),(async e=>s(e)))})({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)},error:{type:"wincher:oauth:error",callback:()=>e(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Ht.createPopup()},Yt=e=>e.isLoggedIn?null:(0,y.jsx)("p",{children:(0,y.jsx)(Y.NewButton,{onClick:e.onLogin,variant:"primary",children:(0,r.sprintf)(/* translators: %s expands to Wincher */ (0,r.__)("Connect with %s","wordpress-seo"),"Wincher")})});Yt.propTypes={isLoggedIn:h().bool.isRequired,onLogin:h().func.isRequired};const Vt=m().div` p { margin: 1em 0; } `,Gt=m().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; `,Zt=m().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); `,Xt=m().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; `,Qt=m().div` margin: 8px 0; `,Jt=xe().utc().startOf("day"),es=[{name:(0,r.__)("Last day","wordpress-seo"),value:xe()(Jt).subtract(1,"days").format(),defaultIndex:1},{name:(0,r.__)("Last week","wordpress-seo"),value:xe()(Jt).subtract(1,"week").format(),defaultIndex:2},{name:(0,r.__)("Last month","wordpress-seo"),value:xe()(Jt).subtract(1,"month").format(),defaultIndex:3},{name:(0,r.__)("Last year","wordpress-seo"),value:xe()(Jt).subtract(1,"year").format(),defaultIndex:0}],ts=({onSelect:e,selected:t=null,options:s,isLoggedIn:i})=>i?s.length<1?null:(0,y.jsx)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==t?void 0:t.value)||s[0].value,onChange:e,children:s.map((e=>(0,y.jsx)("option",{value:e.value,children:e.name},e.name)))}):null;ts.propTypes={onSelect:h().func.isRequired,selected:h().object,options:h().array.isRequired,isLoggedIn:h().bool.isRequired};const ss=({trackedKeyphrases:e=null,isLoggedIn:t,keyphrases:s,shouldTrackAll:i,permalink:n,historyDaysLimit:a=0})=>{if(!n&&t)return(0,y.jsx)(gt,{});if(0===s.length)return(0,y.jsx)(ht,{});const l=xe()(Jt).subtract(a,"days"),c=es.filter((e=>xe()(e.value).isSameOrAfter(l))),p=(0,d.orderBy)(c,(e=>e.defaultIndex),"desc")[0],[u,h]=(0,o.useState)(p),[g,m]=(0,o.useState)([]),f=g.length>0,w=(0,oe.usePrevious)(e);(0,o.useEffect)((()=>{if(!(0,d.isEmpty)(e)&&(0,d.difference)(Object.keys(e),Object.keys(w||[])).length){const t=Object.values(e).map((e=>e.keyword));m(t)}}),[e,w]),(0,o.useEffect)((()=>{h(p)}),[null==p?void 0:p.name]);const b=(0,o.useCallback)((e=>{const t=es.find((t=>t.value===e.target.value));t&&h(t)}),[h]),x=(0,o.useMemo)((()=>(0,d.isEmpty)(g)||(0,d.isEmpty)(e)?[]:Object.values(e).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:g.includes(e.keyword)&&!(0,d.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[g,e]);return(0,y.jsxs)(Gt,{isDisabled:!t,children:[(0,y.jsx)("p",{children:(0,r.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")}),t&&i&&(0,y.jsx)(ot,{}),(0,y.jsx)(Xt,{children:(0,y.jsx)(ts,{selected:u,onSelect:b,options:c,isLoggedIn:t})}),(0,y.jsx)(Qt,{children:(0,y.jsx)($t,{isChartShown:f,datasets:x,keyphrases:s})}),(0,y.jsx)(st,{startAt:null==u?void 0:u.value,selectedKeyphrases:g,onSelectKeyphrases:m,trackedKeyphrases:e})]})};function is({trackedKeyphrases:e=null,addTrackedKeyphrase:t,isLoggedIn:s=!1,isNewlyAuthenticated:i=!1,keyphrases:n=[],response:a={},shouldTrackAll:l=!1,permalink:c="",allKeyphrasesMissRanking:d,isSuccess:p,keyphraseLimitReached:u,limit:h,setRequestSucceeded:g,setRequestFailed:m,setKeyphraseLimitReached:f,onAuthentication:w}){const b=(0,o.useCallback)((()=>{zt({onAuthentication:w,setRequestSucceeded:g,setRequestFailed:m,keyphrases:n,addTrackedKeyphrase:t,setKeyphraseLimitReached:f})}),[zt,w,g,m,n,t,f]),x=(e=>{const[t,s]=(0,o.useState)(null);return(0,o.useEffect)((()=>{e&&!t&&async function(){return await je({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t})(s);return(0,y.jsxs)(Vt,{children:[i&&(0,y.jsx)(rt,{}),s&&(0,y.jsx)(Rt,{trackingInfo:x}),(0,y.jsxs)(Zt,{children:[(0,r.__)("SEO performance","wordpress-seo"),(0,y.jsx)(Y.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about the SEO performance feature.","wordpress-seo")})]}),(0,y.jsx)(ct,{}),(0,y.jsx)(Yt,{isLoggedIn:s,onLogin:b}),(0,y.jsx)(Kt,{isSuccess:p,response:a,allKeyphrasesMissRanking:d,keyphraseLimitReached:u,limit:h,onLogin:b}),(0,y.jsx)(ss,{trackedKeyphrases:e,isLoggedIn:s,keyphrases:n,shouldTrackAll:l,permalink:c,historyDaysLimit:(null==x?void 0:x.historyDays)||31})]})}ss.propTypes={trackedKeyphrases:h().object,keyphrases:h().array.isRequired,isLoggedIn:h().bool.isRequired,shouldTrackAll:h().bool.isRequired,permalink:h().string.isRequired,historyDaysLimit:h().number},is.propTypes={trackedKeyphrases:h().object,addTrackedKeyphrase:h().func.isRequired,isLoggedIn:h().bool,isNewlyAuthenticated:h().bool,keyphrases:h().array,response:h().object,shouldTrackAll:h().bool,permalink:h().string,allKeyphrasesMissRanking:h().bool.isRequired,isSuccess:h().bool.isRequired,keyphraseLimitReached:h().bool.isRequired,limit:h().number.isRequired,setRequestSucceeded:h().func.isRequired,setRequestFailed:h().func.isRequired,setKeyphraseLimitReached:h().func.isRequired,onAuthentication:h().func.isRequired};const os=(0,oe.compose)([(0,t.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:i,getWincherLoginStatus:o,getWincherRequestIsSuccess:r,getWincherRequestResponse:n,getWincherTrackableKeyphrases:a,getWincherTrackedKeyphrases:l,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:d,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:a(),trackedKeyphrases:l(),allKeyphrasesMissRanking:c(),isLoggedIn:o(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:s(),limit:i(),response:n(),shouldTrackAll:p(),permalink:d()}})),(0,t.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherTrackingForKeyphrase:o,setWincherSetKeyphraseLimitReached:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},addTrackedKeyphrase:e=>{o(e)},setKeyphraseLimitReached:e=>{r(e)},onAuthentication:(e,s,i)=>{t(i),n(e,s)}}}))])(is),rs=m()(re)` width: 18px; height: 18px; margin: 3px; `;function ns({keyphrases:e,onNoKeyphraseSet:t,onOpen:s,location:i}){if(!e.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void t()}s(i)}function as({location:e="",whichModalOpen:t="none",shouldCloseOnClickOutside:s=!0,keyphrases:i,onNoKeyphraseSet:n,onOpen:a,onClose:l}){const c=(0,o.useCallback)((()=>{ns({keyphrases:i,onNoKeyphraseSet:n,onOpen:a,location:e})}),[ns,i,n,a,e]),d=(0,r.__)("Track SEO performance","wordpress-seo"),p=ne();return(0,y.jsxs)(o.Fragment,{children:[t===e&&(0,y.jsx)(ue,{title:d,onRequestClose:l,icon:(0,y.jsx)(ye,{}),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:s,children:(0,y.jsx)(de,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content",children:(0,y.jsx)(os,{})})}),"sidebar"===e&&(0,y.jsx)(we,{id:`wincher-open-button-${e}`,title:d,SuffixHeroIcon:(0,y.jsx)(rs,{className:"yst-text-slate-500",...p}),onClick:c}),"metabox"===e&&(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsxs)(le,{id:`wincher-open-button-${e}`,onClick:c,children:[(0,y.jsx)(le.Text,{children:d}),(0,y.jsx)(re,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...p})]})})]})}as.propTypes={location:h().string,whichModalOpen:h().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:h().bool,keyphrases:h().array.isRequired,onNoKeyphraseSet:h().func.isRequired,onOpen:h().func.isRequired,onClose:h().func.isRequired};const ls=(0,oe.compose)([(0,t.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,t.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:i}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{i()}}}))])(as),cs=window.yoast.externals.components;function ds(){return(0,oe.createHigherOrderComponent)((function(e){return(0,oe.pure)((function(t){const s=(0,o.useContext)(l.LocationContext);return(0,o.createElement)(e,{...t,location:s})}))}),"withLocation")}const ps=(0,oe.compose)([(0,t.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,t.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),ds()])(cs.CollapsibleCornerstone),us=window.yoast.searchMetadataPreviews,hs=m()(Y.StyledSection)` &${Y.StyledSectionBase} { padding: 0; & ${Y.StyledHeading} { ${(0,ce.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${(0,ce.getDirectionalStyle)("0","20px")}; } } `,gs=({children:e=null,title:t="",icon:s="",hasPaperStyle:i=!0,shoppingData:o=null})=>(0,y.jsx)(hs,{headingLevel:3,headingText:t,headingIcon:s,headingIconColor:"#555",hasPaperStyle:i,shoppingData:o,children:e});gs.propTypes={children:h().element,title:h().string,icon:h().string,hasPaperStyle:h().bool,shoppingData:h().object};const ms=gs,ys=window.wp.sanitize,fs="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function ws(e,t,s="",i=!1){const o="string"==typeof t?(0,ce.decodeHTML)(t):t;return{type:fs,name:e,value:o,label:s,hidden:i}}function bs(e){return e.charAt(0).toUpperCase()+e.slice(1)}const{stripHTMLTags:xs}=ce.strings,vs=["slug","content","contentImage","snippetPreviewImageURL"];function ks(e,t="_"){return e.replace(/\s/g,t)}function _s(e,t=156){return(e=(e=(0,ys.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const js=(0,d.memoize)(((e,t)=>0===e?d.noop:(0,d.debounce)((s=>t(s,e)),500))),Ss=({link:e,text:t})=>(0,y.jsxs)(v.Root,{children:[(0,y.jsx)("p",{children:t}),(0,y.jsxs)(v.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener",children:[(0,y.jsx)(T,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,r.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,r.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")]})]});Ss.propTypes={link:h().string.isRequired,text:h().string.isRequired};const Ts=Ss,Rs=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,d.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,d.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,d.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],d.identity);return{url:e.url,title:xs(t(e.title)),description:xs(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?xs(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:xs(s("data_page_title",e.title)),description:xs(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?xs(s("data_page_title",e.filteredSEOTitle)):""}}(e)},Cs=(0,oe.compose)([(0,t.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:i,getRecommendedReplaceVars:o,getReplaceVars:r,getShoppingData:n,getSiteIconUrlFromSettings:a,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:h,getContentLocale:g,getSiteName:m}=e("yoast-seo/editor"),y=r();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:a(),keyword:i(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:o(),replacementVariables:y,shoppingData:n(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:h(),locale:g(),siteName:m()}})),(0,t.withDispatch)((function(e,t,{select:s}){const{updateData:i,switchMode:o,updateAnalysisData:r,findCustomFields:n}=e("yoast-seo/editor"),a=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":o(t);break;case"slug":i({slug:t}),a&&a.editPost({slug:t});break;default:i({[e]:t})}},onChangeAnalysisData:r,onReplacementVariableSearchChange:js(l,n)}}))])((e=>{const s=(0,t.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/product-google-preview-metabox")),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").getIsWooSeoUpsell()),[]),o=(0,r.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,y.jsx)(l.LocationConsumer,{children:t=>(0,y.jsx)(ms,{icon:"eye",hasPaperStyle:e.hasPaperStyle,children:(0,y.jsxs)(y.Fragment,{children:[i&&(0,y.jsx)(Ts,{link:s,text:o}),(0,y.jsx)(us.SnippetEditor,{...e,descriptionPlaceholder:(0,r.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Rs,showCloseButton:!1,idSuffix:t})]})})})})),Es=(0,t.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(Y.Warning),Is=window.yoast.featureFlag,Ls=m()(Y.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,As=e=>(0,y.jsx)(Ls,{hasPadding:!0,hasSeparator:!0,...e}),Fs=()=>{const e=(0,t.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),s=(0,o.useMemo)((()=>(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,y.jsx)(Y.InsightsCard,{amount:e,unit:(0,r._n)("minute","minutes",e,"wordpress-seo"),title:(0,r.__)("Reading time","wordpress-seo"),linkTo:s /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about reading time","wordpress-seo")})},Ps=(0,ce.makeOutboundLink)();function Ms(e,t){return-1===e?(0,r.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo"):(0,r.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult') */ (0,r.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case G.DIFFICULTY.NO_DATA:return(0,r.__)("no data","wordpress-seo");case G.DIFFICULTY.VERY_EASY:return(0,r.__)("very easy","wordpress-seo");case G.DIFFICULTY.EASY:return(0,r.__)("easy","wordpress-seo");case G.DIFFICULTY.FAIRLY_EASY:return(0,r.__)("fairly easy","wordpress-seo");case G.DIFFICULTY.OKAY:return(0,r.__)("okay","wordpress-seo");case G.DIFFICULTY.FAIRLY_DIFFICULT:return(0,r.__)("fairly difficult","wordpress-seo");case G.DIFFICULTY.DIFFICULT:return(0,r.__)("difficult","wordpress-seo");case G.DIFFICULTY.VERY_DIFFICULT:return(0,r.__)("very difficult","wordpress-seo")}}(t))}const qs=()=>{let e=(0,t.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const s=(0,o.useMemo)((()=>(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),n=(0,o.useMemo)((()=>{const t=(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return function(e,t,s){const i=function(e){switch(e){case G.DIFFICULTY.FAIRLY_DIFFICULT:case G.DIFFICULTY.DIFFICULT:case G.DIFFICULTY.VERY_DIFFICULT:return(0,r.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case G.DIFFICULTY.NO_DATA:return(0,r.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,r.__)("Good job!","wordpress-seo")}}(t);return(0,y.jsxs)("span",{children:[Ms(e,t)," ",t>=G.DIFFICULTY.FAIRLY_DIFFICULT?(0,y.jsx)(Ps,{href:s,children:i+"."}):i]})}(e,i,t)}),[e,i]);return-1===e&&(e="?"),(0,y.jsx)(Y.InsightsCard,{amount:e,unit:(0,r.__)("out of 100","wordpress-seo"),title:(0,r.__)("Flesch reading ease","wordpress-seo"),linkTo:s /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about Flesch reading ease","wordpress-seo"),description:n})},Os=({data:e=[],itemScreenReaderText:t="",className:s="",...i})=>{const n=(0,o.useMemo)((()=>{var t,s;return null!==(t=null===(s=(0,d.maxBy)(e,"number"))||void 0===s?void 0:s.number)&&void 0!==t?t:0}),[e]);return(0,y.jsx)("ul",{className:B()("yoast-data-model",s),...i,children:e.map((({name:e,number:s})=>(0,y.jsxs)("li",{style:{"--yoast-width":s/n*100+"%"},children:[e,(0,y.jsx)("span",{children:s}),t&&(0,y.jsx)("span",{className:"screen-reader-text",children:(0,r.sprintf)(t,s)})]},`${e}_dataItem`)))})};Os.propTypes={data:h().arrayOf(h().shape({name:h().string.isRequired,number:h().number.isRequired})),itemScreenReaderText:h().string,className:h().string};const Ns=Os,Ds=window.wp.url,Us=(0,ce.makeOutboundLink)(),Ws=({location:e})=>{const s=(0,t.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),n=(0,o.useMemo)((()=>(0,d.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),a=(0,o.useMemo)((()=>{const e=(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return S((0,r.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,r.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:(0,y.jsx)(Us,{href:e})})}),[]),c=(0,o.useMemo)((()=>S((0,r.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,r.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,y.jsx)("b",{})})),[]),p=(0,t.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),u=(0,o.useMemo)((()=>{const e=(0,r.sprintf)( // translators: %1$s expands to Yoast SEO Premium. (0,r.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),h=(0,o.useMemo)((()=>i?u:p.map((({word:e,occurrence:t})=>({name:e,number:t})))),[p,u]);if(!s)return null;const{locationContext:g}=(0,l.useRootContext)();return(0,y.jsxs)("div",{className:"yoast-prominent-words",children:[(0,y.jsx)("div",{className:"yoast-field-group__title",children:(0,y.jsx)("b",{children:(0,r.__)("Prominent words","wordpress-seo")})}),!i&&(0,y.jsx)("p",{children:0===h.length?(0,r.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,r.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")}),i&&(0,y.jsx)("p",{children:c}),i&&(0,y.jsxs)(Us,{href:(0,Ds.addQueryArgs)(n,{context:g}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell",children:[(0,r.sprintf)( // translators: %s expands to `Premium` (part of add-on name). (0,r.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,y.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]}),(0,y.jsx)("p",{children:a}),(0,y.jsx)(Ns,{data:h,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ (0,r.__)("%d occurrences","wordpress-seo"),"aria-label":(0,r.__)("Prominent words","wordpress-seo"),className:i?"yoast-data-model--upsell":null})]})};Ws.propTypes={location:h().string.isRequired};const $s=Ws,Bs=()=>{const e=(0,t.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),s=(0,o.useMemo)((()=>(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let i=(0,r._n)("word","words",e.count,"wordpress-seo"),n=(0,r.__)("Word count","wordpress-seo"),a=(0,r.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(i=(0,r._n)("character","characters",e.count,"wordpress-seo"),n=(0,r.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ a=(0,r.__)("Learn more about character count","wordpress-seo")),(0,y.jsx)(Y.InsightsCard,{amount:e.count,unit:i,title:n,linkTo:s,linkText:a})},Ks=(0,ce.makeOutboundLink)(),Hs=({location:e})=>{const t=(0,o.useMemo)((()=>(0,d.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,o.useMemo)((()=>S((0,r.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,r.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,y.jsx)("b",{})})),[]);return(0,y.jsx)(o.Fragment,{children:(0,y.jsxs)("div",{children:[(0,y.jsx)("p",{children:s}),(0,y.jsxs)(Ks,{href:t,className:"yoast-button yoast-button-upsell",children:[(0,r.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). (0,r.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,y.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]})]})})};Hs.propTypes={location:h().string.isRequired};const zs=Hs,Ys=({location:e,name:s})=>{const i=(0,t.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),o=p().isPremium,n=o?(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,d.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),a=(0,r.__)("Read more about text formality.","wordpress-seo");return i?(0,y.jsxs)("div",{className:"yoast-text-formality",children:[(0,y.jsxs)("div",{className:"yoast-field-group__title",children:[(0,y.jsx)("b",{children:(0,r.__)("Text formality","wordpress-seo")}),(0,y.jsx)(Y.HelpIcon,{linkTo:n,linkText:a})]}),o?(0,y.jsx)(x.Slot,{name:s}):(0,y.jsx)(zs,{location:e})]}):null};Ys.propTypes={location:h().string.isRequired,name:h().string.isRequired};const Vs=Ys,Gs=({location:e="metabox"})=>{const s=(0,t.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,y.jsxs)(As,{title:(0,r.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${e}`,className:"yoast-insights",children:[(0,y.jsx)($s,{location:e}),(0,y.jsxs)("div",{children:[s&&(0,y.jsx)("div",{className:"yoast-insights-row",children:(0,y.jsx)(qs,{})}),(0,y.jsxs)("div",{className:"yoast-insights-row yoast-insights-row--columns",children:[(0,y.jsx)(Fs,{}),(0,y.jsx)(Bs,{})]}),(0,Is.isFeatureEnabled)("TEXT_FORMALITY")&&(0,y.jsx)(Vs,{location:e,name:"YoastTextFormalityMetabox"})]})]})};Gs.propTypes={location:h().string};const Zs=Gs,Xs=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),Qs=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),Js=({isOpen:e,onClose:s,id:i,upsellLink:n,title:a="",description:l="",benefits:c=[],note:d="",ctbId:p="",modalTitle:u})=>{const{isBlackFriday:h,isWooCommerceActive:g,isProductEntity:m,isWooSEOActive:f}=(0,t.useSelect)((e=>{const t=e("yoast-seo/editor");return{isProductEntity:t.getIsProductEntity(),isWooCommerceActive:t.getIsWooCommerceActive(),isBlackFriday:t.isPromotionActive("black-friday-promotion"),isWooSEOActive:t.getIsWooSeoActive()}}),[]),w=(0,o.useMemo)((()=>g&&m),[g,m]),b=(0,o.useRef)(null);return(0,y.jsx)(v.Modal,{isOpen:e,onClose:s,id:i,initialFocus:b,children:(0,y.jsx)(v.Modal.Panel,{className:"yst-max-w-md yst-p-0",hasCloseButton:!1,children:(0,y.jsxs)(v.Modal.Container,{children:[(0,y.jsxs)(v.Modal.Container.Header,{className:"yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex yst-justify-start yst-gap-3 yst-items-center",children:[w?(0,y.jsx)(Qs,{className:"yst-text-woo-light yst-w-6 yst-h-6 yst-scale-x-[-1]"}):(0,y.jsx)(ye,{className:"yst-fill-primary-500 yst-w-5 yst-h-5"}),(0,y.jsx)(v.Modal.Title,{as:"h3",className:B()(w?"yst-text-woo-light":"yst-text-primary-500","yst-text-base yst-font-normal"),children:u}),(0,y.jsx)(v.Modal.CloseButton,{className:"yst-top-2",onClick:s,screenReaderText:(0,r.__)("Close modal","wordpress-seo")})]}),(0,y.jsxs)(v.Modal.Container.Content,{className:"yst-p-0",children:[h&&(0,y.jsx)("div",{className:"yst-flex yst-font-semibold yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6",children:(0,y.jsx)("div",{className:"yst-mx-auto",children:(0,r.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})}),(0,y.jsxs)("div",{className:"yst-py-6 yst-px-12",children:[(0,y.jsx)(v.Title,{as:"h3",className:"yst-mb-1 yst-leading-5 yst-text-sm yst-font-medium yst-text-slate-800",children:a}),(0,y.jsx)("p",{className:"yst-mb-2",children:l}),Array.isArray(c)&&c.length>0&&(0,y.jsx)("ul",{className:"yst-my-2",children:c.map(((e,t)=>(0,y.jsxs)("li",{className:"yst-flex yst-gap-1 yst-mb-2",children:[(0,y.jsx)(W,{className:"yst-mr-1 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),(0,y.jsx)("p",{className:"yst-text-slate-600",children:e})]},`${i}-upsell-benefit-${t}`)))}),"function"==typeof c&&c(),(0,y.jsxs)("div",{className:"yst-text-center",children:[(0,y.jsxs)(v.Button,{as:"a",variant:"upsell",className:"yst-my-2 yst-gap-1.5 yst-w-full",href:n,target:"_blank","data-action":"load-nfd-ctb","data-ctb-id":p,ref:b,children:[(0,y.jsx)(T,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,r.sprintf)(/* translators: %s expands to 'Yoast SEO Premium' or 'Yoast Woocommerce SEO'. */ (0,r.__)("Explore %s","wordpress-seo"),w&&!f?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,y.jsx)("span",{className:"yst-sr-only",children:(0,r.__)("Opens in a new tab","wordpress-seo")})]}),(0,y.jsx)("div",{className:"yst-italic yst-text-slate-500 yst-mt-1",children:d})]})]})]})]})})})},ei=()=>{const[e,,,t,s]=(0,v.useToggleState)(!1),{locationContext:i}=(0,l.useRootContext)(),o=(0,v.useSvgAria)(),n=i.includes("sidebar"),a=i.includes("metabox"),c=n?"sidebar":"metabox",d=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Js,{isOpen:e,onClose:s,id:`yoast-internal-linking-suggestions-upsell-${c}`,upsellLink:(0,Ds.addQueryArgs)(d,{context:i}),modalTitle:(0,r.__)("Add smarter internal links with Premium","wordpress-seo"),title:(0,r.__)("Connect related content without the guesswork","wordpress-seo"),description:S((0,r.sprintf)(/* translators: %s expands to be tag. */ (0,r.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles. %sScans your content to:","wordpress-seo"),"<br />"),{br:(0,y.jsx)("br",{})}),benefits:[(0,r.__)("Suggest internal links based on your content’s main topics","wordpress-seo"),(0,r.__)("Build relevant internal links faster","wordpress-seo"),(0,r.__)("Strengthen your site’s structure","wordpress-seo"),(0,r.__)("Keep visitors exploring longer","wordpress-seo")],note:(0,r.__)("Upgrade to link your content with ease","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),n&&(0,y.jsx)(we,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,r.__)("Internal linking suggestions","wordpress-seo"),onClick:t,children:(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsx)(v.Badge,{size:"small",variant:"upsell",children:(0,y.jsx)(Xs,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...o})})})}),a&&(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsxs)(le,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t,children:[(0,y.jsx)(le.Text,{children:(0,r.__)("Internal linking suggestions","wordpress-seo")}),(0,y.jsxs)(v.Badge,{size:"small",variant:"upsell",children:[(0,y.jsx)(Xs,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...o}),(0,y.jsx)("span",{children:"Premium"})]})]})})]})},ti=({children:e})=>(0,y.jsx)("div",{children:e});ti.propTypes={renderPriority:h().number.isRequired,children:h().node.isRequired};const si=ti,ii=({noIndex:e,onNoIndexChange:t,editorContext:s,isPrivateBlog:i=!1})=>{const n=(e=>{const t=(0,r.__)("No","wordpress-seo"),s=(0,r.__)("Yes","wordpress-seo"),i=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,r.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,r.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,r.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,r.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(s);return(0,y.jsx)(l.LocationConsumer,{children:s=>(0,y.jsxs)(o.Fragment,{children:[i&&(0,y.jsx)(Y.Alert,{type:"warning",children:(0,r.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")}),(0,y.jsx)(Y.Select,{label:(0,r.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:t,id:(0,ce.join)(["yoast-meta-robots-noindex",s]),options:n,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})]})})};ii.propTypes={noIndex:h().string.isRequired,onNoIndexChange:h().func.isRequired,editorContext:h().object.isRequired,isPrivateBlog:h().bool};const oi=({noFollow:e,onNoFollowChange:t})=>(0,y.jsx)(l.LocationConsumer,{children:s=>{const i=(0,ce.join)(["yoast-meta-robots-nofollow",s]);return(0,y.jsx)(Y.RadioButtonGroup,{id:i,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,r.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:i,onChange:t,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}});oi.propTypes={noFollow:h().string.isRequired,onNoFollowChange:h().func.isRequired};const ri=({advanced:e,onAdvancedChange:t})=>(0,y.jsx)(l.LocationConsumer,{children:s=>{const i=(0,ce.join)(["yoast-meta-robots-advanced",s]),o=`${i}-input`;return(0,y.jsx)(Y.MultiSelect,{label:(0,r.__)("Meta robots advanced","wordpress-seo"),onChange:t,id:i,inputId:o,options:[{name:(0,r.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,r.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,r.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}});ri.propTypes={advanced:h().array.isRequired,onAdvancedChange:h().func.isRequired};const ni=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:t})=>(0,y.jsx)(l.LocationConsumer,{children:s=>(0,y.jsx)(Y.TextInput,{label:(0,r.__)("Breadcrumbs Title","wordpress-seo"),id:(0,ce.join)(["yoast-breadcrumbs-title",s]),onChange:t,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})});ni.propTypes={breadcrumbsTitle:h().string.isRequired,onBreadcrumbsTitleChange:h().func.isRequired};const ai=({canonical:e,onCanonicalChange:t})=>(0,y.jsx)(l.LocationConsumer,{children:s=>(0,y.jsx)(Y.TextInput,{label:(0,r.__)("Canonical URL","wordpress-seo"),id:(0,ce.join)(["yoast-canonical",s]),onChange:t,value:e,linkTo:"https://yoa.st/canonical-url" /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})});ai.propTypes={canonical:h().string.isRequired,onCanonicalChange:h().func.isRequired};const li=({noIndex:e,canonical:t,onNoIndexChange:s,onCanonicalChange:i,onLoad:r,isLoading:n,editorContext:a,isBreadcrumbsDisabled:l,advanced:c=[],onAdvancedChange:p=d.noop,noFollow:u="",onNoFollowChange:h=d.noop,breadcrumbsTitle:g="",onBreadcrumbsTitleChange:m=d.noop,isPrivateBlog:f=!1})=>{(0,o.useEffect)((()=>{setTimeout((()=>{n&&r()}))}));const w={noIndex:e,onNoIndexChange:s,editorContext:a,isPrivateBlog:f},b={noFollow:u,onNoFollowChange:h},x={advanced:c,onAdvancedChange:p},v={breadcrumbsTitle:g,onBreadcrumbsTitleChange:m},k={canonical:t,onCanonicalChange:i};return n?null:(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(ii,{...w}),a.isPost&&(0,y.jsx)(oi,{...b}),a.isPost&&(0,y.jsx)(ri,{...x}),!l&&(0,y.jsx)(ni,{...v}),(0,y.jsx)(ai,{...k})]})};li.propTypes={noIndex:h().string.isRequired,canonical:h().string.isRequired,onNoIndexChange:h().func.isRequired,onCanonicalChange:h().func.isRequired,onLoad:h().func.isRequired,isLoading:h().bool.isRequired,editorContext:h().object.isRequired,isBreadcrumbsDisabled:h().bool.isRequired,isPrivateBlog:h().bool,advanced:h().array,onAdvancedChange:h().func,noFollow:h().string,onNoFollowChange:h().func,breadcrumbsTitle:h().string,onBreadcrumbsTitleChange:h().func};const ci=li,di=(0,oe.compose)([(0,t.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:i,getBreadcrumbsTitle:o,getCanonical:r,getIsLoading:n,getEditorContext:a,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:c,isPrivateBlog:d}=l();return{noIndex:t(),noFollow:s(),advanced:i(),breadcrumbsTitle:o(),canonical:r(),isLoading:n(),editorContext:a(),isBreadcrumbsDisabled:c,isPrivateBlog:d}})),(0,t.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:i,setBreadcrumbsTitle:o,setCanonical:r,loadAdvancedSettingsData:n}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:i,onBreadcrumbsTitleChange:o,onCanonicalChange:r,onLoad:n}}))])(ci),pi=m().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,ui=e=>{const{siteUrl:t}=e;return(0,y.jsxs)(_.Fragment,{children:[(0,y.jsx)("span",{className:"screen-reader-text",children:t}),(0,y.jsx)(pi,{"aria-hidden":"true",children:(0,y.jsx)("span",{children:t})})]})};ui.propTypes={siteUrl:h().string.isRequired};const hi=ui,gi=window.yoast.socialMetadataForms,mi=m().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,yi=m().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,fi=m().div` padding-bottom: ${e=>e.aspectRatio}%; `,wi=({imageProps:e,width:t,height:s,imageMode:i="landscape"})=>"landscape"===i?(0,y.jsx)(fi,{aspectRatio:e.aspectRatio,children:(0,y.jsx)(yi,{src:e.src,alt:e.alt})}):(0,y.jsx)(mi,{src:e.src,alt:e.alt,width:t,height:s,imageProperties:e});function bi(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function xi(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function vi(e,t,s=!1){const i=await function(e){return new Promise(((t,s)=>{const i=new Image;i.onload=()=>{t({width:i.width,height:i.height})},i.onerror=s,i.src=e}))}(e);let o=s?"landscape":"square";"Facebook"===t&&(o=(0,gi.determineFacebookImageMode)(i));const r=function(e){return"Twitter"===e?gi.TWITTER_IMAGE_SIZES:gi.FACEBOOK_IMAGE_SIZES}(t),n=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:xi(t,bi(e,t,s))}(r,i,o);return{mode:o,height:n.height,width:n.width}}async function ki(e,t,s=!1){try{return{imageProperties:await vi(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}wi.propTypes={imageProps:h().shape({src:h().string.isRequired,alt:h().string.isRequired,aspectRatio:h().number.isRequired}).isRequired,width:h().number.isRequired,height:h().number.isRequired,imageMode:h().string};const _i=m().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${V.colors.$color_white}; `,ji=m().div` box-sizing: border-box; max-width: ${gi.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${gi.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${V.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class Si extends _.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await ki(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:gi.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:gi.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:gi.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:gi.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:gi.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:gi.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,y.jsx)(ji,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,r.__)("Select image","wordpress-seo")});const s=this.retrieveContainerDimensions(e.mode);return(0,y.jsx)(_i,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,y.jsx)(wi,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:gi.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}Si.propTypes={src:h().string,alt:h().string,onImageLoaded:h().func,onImageClick:h().func,onMouseEnter:h().func,onMouseLeave:h().func},Si.defaultProps={src:"",alt:"",onImageLoaded:d.noop,onImageClick:d.noop,onMouseEnter:d.noop,onMouseLeave:d.noop};const Ti=Si,Ri=m().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,Ci=m().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,Ei=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},Ii=m().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,Li=m().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class Ai extends _.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=j().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,i=this.getTitleLineCount();let o=t-i;"portrait"===s&&(o=5===i?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,y.jsxs)(Ii,{id:"facebookPreview",mode:e,children:[(0,y.jsx)(Ti,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,y.jsxs)(Li,{mode:e,children:[(0,y.jsx)(hi,{siteUrl:this.props.siteUrl,mode:e}),(0,y.jsx)(Ri,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t,children:this.props.title}),s>0&&(0,y.jsx)(Ci,{maxWidth:Ei(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s,children:this.props.description})]})]})}}Ai.propTypes={siteUrl:h().string.isRequired,title:h().string.isRequired,description:h().string,imageUrl:h().string,imageFallbackUrl:h().string,alt:h().string,onSelect:h().func,onImageClick:h().func,onMouseHover:h().func},Ai.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const Fi=Ai,Pi=m().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,Mi=e=>(0,y.jsx)(Pi,{children:(0,y.jsx)("span",{children:e.siteUrl})});Mi.propTypes={siteUrl:h().string.isRequired};const qi=Mi,Oi=(e,t=!0)=>e?`\n\t\t\tmax-width: ${gi.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${gi.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Ni=m().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>Oi(e.isLarge)} `,Di=m().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>Oi(e.isLarge,!1)} `,Ui=m()(Di)` ${e=>e.isLarge&&`height: ${gi.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class Wi extends j().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await ki(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,y.jsx)(Ui,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,r.__)("Select image","wordpress-seo")}):(0,y.jsx)(Ni,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,y.jsx)(wi,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:gi.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode})})}}Wi.propTypes={isLarge:h().bool.isRequired,src:h().string,alt:h().string,onImageClick:h().func,onMouseEnter:h().func,onMouseLeave:h().func},Wi.defaultProps={src:"",alt:"",onMouseEnter:d.noop,onImageClick:d.noop,onMouseLeave:d.noop};const $i=m().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,Bi=e=>(0,y.jsx)($i,{children:e.children});Bi.propTypes={children:h().array.isRequired};const Ki=Bi,Hi=m().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,zi=m().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${gi.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,Yi=m().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,Vi=m()(Yi)` flex-direction: column; max-height: 370px; `,Gi=m()(Yi)` flex-direction: row; height: 125px; `;class Zi extends _.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:i,title:o,description:r,siteUrl:n}=this.props,a=e?Vi:Gi;return(0,y.jsxs)(a,{id:"twitterPreview",children:[(0,y.jsx)(Wi,{src:t||s,alt:i,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,y.jsxs)(Ki,{children:[(0,y.jsx)(qi,{siteUrl:n}),(0,y.jsx)(Hi,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:o}),(0,y.jsx)(zi,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:r})]})]})}}Zi.propTypes={siteUrl:h().string.isRequired,title:h().string.isRequired,description:h().string,isLarge:h().bool,imageUrl:h().string,imageFallbackUrl:h().string,alt:h().string,onSelect:h().func,onImageClick:h().func,onMouseHover:h().func},Zi.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Xi=Zi,Qi=window.yoast.replacementVariableEditor;class Ji extends _.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?Fi:Xi,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:i,socialMediumName:o,imageWarnings:r,siteUrl:n,description:a,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:p,alt:u,title:h,titleInputPlaceholder:g,titlePreviewFallback:m,replacementVariables:f,recommendedReplacementVariables:w,applyReplacementVariables:b,onReplacementVariableSearchChange:x,isPremium:v,isLarge:k,socialPreviewLabel:_,idSuffix:S,activeMetaTabId:T}=this.props,R=b({title:h||m,description:a||c});return(0,y.jsxs)(j().Fragment,{children:[_&&(0,y.jsx)(Y.SimulatedLabel,{children:_}),(0,y.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:n,title:R.title,description:R.description,imageUrl:d,imageFallbackUrl:p,alt:u,isLarge:k,activeMetaTabId:T}),(0,y.jsx)(gi.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:h,titleInputPlaceholder:g,onRemoveImageClick:i,imageSelected:!!d,imageUrl:d,imageFallbackUrl:p,onTitleChange:t,onSelectImageClick:s,description:a,descriptionInputPlaceholder:l,imageWarnings:r,replacementVariables:f,recommendedReplacementVariables:w,onReplacementVariableSearchChange:x,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:S})]})}}Ji.propTypes={title:h().string.isRequired,onTitleChange:h().func.isRequired,description:h().string.isRequired,onDescriptionChange:h().func.isRequired,imageUrl:h().string.isRequired,imageFallbackUrl:h().string.isRequired,onSelectImageClick:h().func.isRequired,onRemoveImageClick:h().func.isRequired,socialMediumName:h().string.isRequired,alt:h().string,isPremium:h().bool,imageWarnings:h().array,isLarge:h().bool,siteUrl:h().string,descriptionInputPlaceholder:h().string,titleInputPlaceholder:h().string,descriptionPreviewFallback:h().string,titlePreviewFallback:h().string,replacementVariables:Qi.replacementVariablesShape,recommendedReplacementVariables:Qi.recommendedReplacementVariablesShape,applyReplacementVariables:h().func,onReplacementVariableSearchChange:h().func,socialPreviewLabel:h().string,idSuffix:h().string,activeMetaTabId:h().string},Ji.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const eo={},to=(e,t,{log:s=console.warn}={})=>{eo[e]||(eo[e]=!0,s(t))},so=(e,t=d.noop)=>{const s={};for(const i in e)Object.hasOwn(e,i)&&Object.defineProperty(s,i,{set:s=>{e[i]=s,t("set",i,s)},get:()=>(t("get",i),e[i])});return s};so({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>to(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),so({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>to(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const io=m().div` max-width: calc(527px + 1.5rem); `,oo=e=>{const t="X"===e.socialMediumName?(0,r.__)("X share preview","wordpress-seo"):(0,r.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,v.useRootContext)();return(0,y.jsx)(v.Root,{children:(0,y.jsx)(io,{children:(0,y.jsx)(v.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,Ds.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,r.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,r.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:(0,y.jsxs)("div",{className:"yst-grayscale yst-opacity-50",children:[(0,y.jsx)(v.Label,{children:t}),(0,y.jsx)(Fi,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:d.noop,onImageClick:d.noop,onMouseHover:d.noop})]})})})})};oo.propTypes={socialMediumName:h().oneOf(["Social","Twitter","X"]).isRequired};const ro=oo;class no extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:i,socialMediumName:r,imageWarnings:n,description:a,descriptionInputPlaceholder:l,imageUrl:c,imageFallbackUrl:d,alt:p,title:u,titleInputPlaceholder:h,replacementVariables:g,recommendedReplacementVariables:m,onReplacementVariableSearchChange:f,isPremium:w,location:b}=this.props;return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(ro,{socialMediumName:r}),(0,y.jsx)(gi.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:u,titleInputPlaceholder:h,onRemoveImageClick:i,imageSelected:!!c,imageUrl:c,imageFallbackUrl:d,imageAltText:p,onTitleChange:t,onSelectImageClick:s,description:a,descriptionInputPlaceholder:l,imageWarnings:n,replacementVariables:g,recommendedReplacementVariables:m,onReplacementVariableSearchChange:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:w,setEditorRef:this.setEditorRef,idSuffix:b})]})}}no.propTypes={title:h().string.isRequired,onTitleChange:h().func.isRequired,description:h().string.isRequired,onDescriptionChange:h().func.isRequired,imageUrl:h().string.isRequired,imageFallbackUrl:h().string,onSelectImageClick:h().func.isRequired,onRemoveImageClick:h().func.isRequired,socialMediumName:h().string.isRequired,isPremium:h().bool,imageWarnings:h().array,descriptionInputPlaceholder:h().string,titleInputPlaceholder:h().string,replacementVariables:Qi.replacementVariablesShape,recommendedReplacementVariables:Qi.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:h().func,location:h().string,alt:h().string},no.defaultProps={imageWarnings:[],imageFallbackUrl:"",recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const ao=no,lo=(e,t,s)=>{const[i,n]=(0,o.useState)(!1),a=(0,r.sprintf)( /* Translators: %1$s expands to the jpg format, %2$s expands to the png format, %3$s expands to the webp format, %4$s expands to the gif format. */ (0,r.__)("No image was found that we can automatically set as your social image. Please use %1$s, %2$s, %3$s or %4$s formats to ensure it displays correctly on social media.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return(0,o.useEffect)((()=>{n(""===t&&e.toLowerCase().endsWith(".avif"))}),[e,t]),i?[a]:s},co=({isPremium:e,onLoad:t,location:s,imageFallbackUrl:i="",imageUrl:r="",imageWarnings:n=[],...a})=>{const[l,c]=(0,o.useState)(""),d=lo(i,r,n),p=(0,o.useCallback)((e=>{c(e.detail.metaTabId)}),[c]);(0,o.useEffect)((()=>(setTimeout(t),window.addEventListener("YoastSEO:metaTabChange",p),()=>{window.removeEventListener("YoastSEO:metaTabChange",p)})),[]);const u={isPremium:e,onLoad:t,location:s,imageFallbackUrl:i,imageUrl:r,imageWarnings:d,activeMetaTabId:l,...a};return e?(0,y.jsx)(x.Slot,{name:`YoastFacebookPremium${s.charAt(0).toUpperCase()+s.slice(1)}`,fillProps:u}):(0,y.jsx)(ao,{...u})};co.propTypes={isPremium:h().bool.isRequired,onLoad:h().func.isRequired,location:h().string.isRequired,imageFallbackUrl:h().string,imageUrl:h().string,imageWarnings:h().array};const po=co;function uo(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var i;e({type:(i=s.attributes).subtype,width:i.width,height:i.height,url:i.url,id:i.id,sizes:i.sizes,alt:i.alt||i.title||i.name})})),t})(e).open()}const ho=()=>{uo((e=>(0,t.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,i=(0,gi.determineFacebookImageMode)({width:t,height:s}),o=gi.FACEBOOK_IMAGE_SIZES[i+"Width"],r=gi.FACEBOOK_IMAGE_SIZES[i+"Height"],n=Object.values(e.sizes).find((e=>e.width>=o&&e.height>=r));return{url:n?n.url:e.url,id:e.id,warnings:(0,ce.validateFacebookImage)(e),alt:e.alt||""}})(e))))},go=(0,oe.compose)([(0,t.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:i,getSeoTitle:o,getFacebookImageUrl:r,getImageFallback:n,getFacebookWarnings:a,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:u,getSeoTitleTemplateNoFallback:h,getSocialTitleTemplate:g,getSeoDescriptionTemplate:m,getSocialDescriptionTemplate:y,getReplacedExcerpt:f,getFacebookAltText:w}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:n(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:y()||s()||m()||f()||"",title:i(),titlePreviewFallback:g()||o()||h()||u()||"",imageWarnings:a(),siteUrl:d(),isPremium:!!p().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:w()}})),(0,t.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:i,setFacebookPreviewDescription:o,clearFacebookPreviewImage:r,loadFacebookPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:ho,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:js(l,a)}})),ds()])(po),mo=({isPremium:e,onLoad:t,location:s,imageFallbackUrl:i="",imageUrl:r="",imageWarnings:n=[],...a})=>{const l=lo(i,r,n);(0,o.useEffect)((()=>{setTimeout(t)}),[]);const c={isPremium:e,onLoad:t,location:s,imageFallbackUrl:i,imageUrl:r,imageWarnings:l,...a};return e?(0,y.jsx)(x.Slot,{name:`YoastTwitterPremium${s.charAt(0).toUpperCase()+s.slice(1)}`,fillProps:c}):(0,y.jsx)(ao,{...c})};mo.propTypes={isPremium:h().bool.isRequired,onLoad:h().func.isRequired,location:h().string.isRequired,imageFallbackUrl:h().string,imageUrl:h().string,imageWarnings:h().array};const yo=mo,fo=()=>{uo((e=>(0,t.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,d.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=gi.TWITTER_IMAGE_SIZES[t+"Width"],i=gi.TWITTER_IMAGE_SIZES[t+"Height"],o=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=i));return{url:o?o.url:e.url,id:e.id,warnings:(0,ce.validateTwitterImage)(e),alt:e.alt||""}})(e))))},wo=(0,oe.compose)([(0,t.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:i,getFacebookImageUrl:o,getFacebookTitle:r,getFacebookDescription:n,getDescription:a,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:u,getRecommendedReplaceVars:h,getReplaceVars:g,getSiteUrl:m,getSeoTitleTemplate:y,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:w,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:x,getReplacedExcerpt:v,getTwitterAltText:k}=e("yoast-seo/editor");return{imageUrl:i(),imageFallbackUrl:o()||u(),recommendedReplacementVariables:h(),replacementVariables:g(),description:t(),descriptionPreviewFallback:x()||n()||a()||b()||v()||"",title:s(),titlePreviewFallback:w()||r()||l()||f()||y()||"",imageWarnings:c(),siteUrl:m(),isPremium:!!p().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:k()}})),(0,t.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:i,setTwitterPreviewDescription:o,clearTwitterPreviewImage:r,loadTwitterPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:fo,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:js(l,a)}})),ds()])(yo),bo=m().legend` margin: 16px 0; padding: 0; color: ${V.colors.$color_headings}; font-size: 12px; font-weight: 300; `,xo=m().legend` margin: 0 0 16px; padding: 0; color: ${V.colors.$color_headings}; font-size: 12px; font-weight: 300; `,vo=m().div` padding: 16px; `,ko=({useOpenGraphData:e,useTwitterData:t})=>(0,y.jsxs)(o.Fragment,{children:[t&&e&&(0,y.jsxs)(o.Fragment,{children:[(0,y.jsxs)(As,{hasSeparator:!1 /* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,r.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0,children:[(0,y.jsx)(xo,{children:(0,r.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,y.jsx)(go,{}),(0,y.jsx)(bo,{children:(0,r.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo")})]}),(0,y.jsx)(As,{title:(0,r.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1,children:(0,y.jsx)(wo,{})})]}),e&&!t&&(0,y.jsxs)(vo,{children:[(0,y.jsx)(xo,{children:(0,r.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,y.jsx)(go,{})]}),!e&&t&&(0,y.jsxs)(vo,{children:[(0,y.jsx)(xo,{children:(0,r.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")}),(0,y.jsx)(wo,{})]})]});ko.propTypes={useOpenGraphData:h().bool.isRequired,useTwitterData:h().bool.isRequired};const _o=ko,jo=(0,t.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:s,useTwitterData:i}=t();return{useOpenGraphData:s,useTwitterData:i}}))(_o);function So({target:e}){return(0,y.jsx)(X,{target:e,children:(0,y.jsx)(jo,{})})}So.propTypes={target:h().string.isRequired};const To=(0,ce.makeOutboundLink)(),Ro=m().div` padding: 16px; `,Co="yoast-seo/editor";function Eo({location:e,show:t}){return t?(0,y.jsxs)(Y.Alert,{type:"info",children:[(0,r.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ (0,r.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,y.jsx)(To,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`],children:(0,r.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ (0,r.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO")})]}):null}Eo.propTypes={show:h().bool.isRequired,location:h().string.isRequired};const Io=(e,s,i)=>{const o=(0,t.useSelect)((e=>e(Co).getIsProduct()),[]),n=(0,t.useSelect)((e=>e(Co).getIsWooSeoActive()),[]),a=o&&n?{name:(0,r.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===s));return[{name:(0,r.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ (0,r.__)("Default for %1$s (%2$s)","wordpress-seo"),i,a?a.name:""),value:""},...e]},Lo=(e,t)=>S((e=>(0,r.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ (0,r.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"<link>","</link>"))(e),{link:(0,y.jsx)("a",{href:t,target:"_blank",rel:"noreferrer"})}),Ao=({helpTextTitle:e,helpTextLink:t,helpTextDescription:s})=>(0,y.jsx)(Y.FieldGroup,{label:e,linkTo:t /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:s});Ao.propTypes={helpTextTitle:h().string.isRequired,helpTextLink:h().string.isRequired,helpTextDescription:h().string.isRequired};const Fo=({schemaPageTypeChange:e=d.noop,schemaPageTypeSelected:s=null,pageTypeOptions:i,schemaArticleTypeChange:n=d.noop,schemaArticleTypeSelected:a=null,articleTypeOptions:l,showArticleTypeInput:c,additionalHelpTextLink:p,helpTextLink:u,helpTextTitle:h,helpTextDescription:g,postTypeName:m,displayFooter:f=!1,defaultPageType:w,defaultArticleType:b,location:x,isNewsEnabled:v=!1})=>{const k=Io(i,w,m),_=Io(l,b,m),j=(0,t.useSelect)((e=>e(Co).selectLink("https://yoa.st/product-schema-metabox")),[]),S=(0,t.useSelect)((e=>e(Co).getIsWooSeoUpsell()),[]),[T,R]=(0,o.useState)(a),C=(0,r.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),E=(0,t.useSelect)((e=>e(Co).getIsProduct()),[]),I=(0,t.useSelect)((e=>e(Co).getIsWooSeoActive()),[]),L=(0,t.useSelect)((e=>e(Co).selectAdminLink("?page=wpseo_page_settings")),[]),A=E&&I,F=(0,o.useCallback)(((e,t)=>{R(t)}),[]);return(0,o.useEffect)((()=>{F(null,a)}),[a]),(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(Ao,{helpTextLink:u,helpTextTitle:h,helpTextDescription:g}),(0,y.jsx)(Y.FieldGroup,{label:(0,r.__)("What type of page or content is this?","wordpress-seo"),linkTo:p /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about page or content types","wordpress-seo")}),S&&(0,y.jsx)(Ts,{link:j,text:C}),(0,y.jsx)(Y.Select,{id:(0,ce.join)(["yoast-schema-page-type",x]),options:k,label:(0,r.__)("Page type","wordpress-seo"),onChange:e,selected:A?"ItemPage":s,disabled:A}),c&&(0,y.jsx)(Y.Select,{id:(0,ce.join)(["yoast-schema-article-type",x]),options:_,label:(0,r.__)("Article type","wordpress-seo"),onChange:n,selected:a,onOptionFocus:F}),(0,y.jsx)(Eo,{location:x,show:!v&&(P=T,M=b,"NewsArticle"===P||""===P&&"NewsArticle"===M)}),f&&!A&&(0,y.jsx)("p",{children:Lo(m,L)}),A&&(0,y.jsx)("p",{children:(0,r.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,r.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")})]});var P,M},Po=h().arrayOf(h().shape({name:h().string,value:h().string}));Fo.propTypes={schemaPageTypeChange:h().func,schemaPageTypeSelected:h().string,pageTypeOptions:Po.isRequired,schemaArticleTypeChange:h().func,schemaArticleTypeSelected:h().string,articleTypeOptions:Po.isRequired,showArticleTypeInput:h().bool.isRequired,additionalHelpTextLink:h().string.isRequired,helpTextLink:h().string.isRequired,helpTextTitle:h().string.isRequired,helpTextDescription:h().string.isRequired,postTypeName:h().string.isRequired,displayFooter:h().bool,defaultPageType:h().string.isRequired,defaultArticleType:h().string.isRequired,location:h().string.isRequired,isNewsEnabled:h().bool};const Mo=({isMetabox:e,showArticleTypeInput:t=!1,articleTypeLabel:s="",additionalHelpTextLink:i="",pageTypeLabel:r,helpTextLink:n,helpTextTitle:a,helpTextDescription:l,postTypeName:c,displayFooter:d=!1,loadSchemaArticleData:p,loadSchemaPageData:u,location:h,...g})=>{const m=(0,y.jsx)(Fo,{showArticleTypeInput:t,articleTypeLabel:s,additionalHelpTextLink:i,pageTypeLabel:r,helpTextLink:n,helpTextTitle:a,helpTextDescription:l,postTypeName:c,displayFooter:d,loadSchemaArticleData:p,loadSchemaPageData:u,location:h,...g});return e?(0,o.createPortal)((0,y.jsx)(Ro,{children:m}),document.getElementById("wpseo-meta-section-schema")):m};Mo.propTypes={isMetabox:h().bool.isRequired,showArticleTypeInput:h().bool,articleTypeLabel:h().string,additionalHelpTextLink:h().string,pageTypeLabel:h().string.isRequired,helpTextLink:h().string.isRequired,helpTextTitle:h().string.isRequired,helpTextDescription:h().string.isRequired,postTypeName:h().string.isRequired,displayFooter:h().bool,loadSchemaArticleData:h().func.isRequired,loadSchemaPageData:h().func.isRequired,location:h().string.isRequired};const qo=Mo;class Oo{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return Oo.articleTypeInput.getAttribute("data-default")}static get articleType(){return Oo.articleTypeInput.value}static set articleType(e){Oo.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return Oo.pageTypeInput.getAttribute("data-default")}static get pageType(){return Oo.pageTypeInput.value}static set pageType(e){Oo.pageTypeInput.value=e}}const No=e=>{const t=null!==Oo.articleTypeInput;(0,o.useEffect)((()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:i}=window.wpseoScriptData.metabox.schema,n={articleTypeLabel:(0,r.__)("Article type","wordpress-seo"),pageTypeLabel:(0,r.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,r.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,r.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:s,articleTypeOptions:i},a={...e,...n,...(l=e.location,"metabox"===l?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var l;return(0,y.jsx)(qo,{...a})};No.propTypes={displayFooter:h().bool.isRequired,schemaPageTypeSelected:h().string.isRequired,schemaArticleTypeSelected:h().string.isRequired,defaultArticleType:h().string.isRequired,defaultPageType:h().string.isRequired,loadSchemaPageData:h().func.isRequired,loadSchemaArticleData:h().func.isRequired,schemaPageTypeChange:h().func.isRequired,schemaArticleTypeChange:h().func.isRequired,location:h().string.isRequired};const Do=(0,oe.compose)([(0,t.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:i,getArticleType:o,getDefaultArticleType:r}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:n,isNewsEnabled:a}=t();return{displayFooter:n,isNewsEnabled:a,schemaPageTypeSelected:s(),schemaArticleTypeSelected:o(),defaultArticleType:r(),defaultPageType:i()}})),(0,t.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:i,getSchemaArticleData:o}=e("yoast-seo/editor");return{loadSchemaPageData:i,loadSchemaArticleData:o,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),ds()])(No),Uo=window.yoast.relatedKeyphraseSuggestions;function Wo({requestLimitReached:e,isSuccess:t,response:s,requestHasData:i,relatedKeyphrases:o}){return e?"requestLimitReached":!t&&function(e){return"invalid_json"===(null==e?void 0:e.code)||"fetch_error"===(null==e?void 0:e.code)||!(0,d.isEmpty)(e)&&"error"in e}(s)?"requestFailed":i?function(e){return e&&e.length>=4}(o)?"maxRelatedKeyphrases":null:"requestEmpty"}function $o({keyphrase:e="",relatedKeyphrases:t=[],renderAction:s=null,requestLimitReached:i=!1,countryCode:r,setCountry:n,newRequest:a,response:l={},isRtl:c=!1,userLocale:d="en_US",isPending:p=!1,isSuccess:u=!1,requestHasData:h=!0,isPremium:g=!1,semrushUpsellLink:m="",premiumUpsellLink:f=""}){var w,b;const[x,k]=(0,o.useState)(r),_=(0,o.useCallback)((async()=>{a(r,e),k(r)}),[r,e,a]);return(0,y.jsxs)(v.Root,{context:{isRtl:c},children:[!i&&!g&&(0,y.jsx)(Uo.PremiumUpsell,{url:f,className:"yst-mb-4"}),!i&&(0,y.jsx)(Uo.CountrySelector,{countryCode:r,activeCountryCode:x,onChange:n,onClick:_,className:"yst-mb-4",userLocale:d.split("_")[0]}),!p&&(0,y.jsx)(Uo.UserMessage,{variant:Wo({requestLimitReached:i,isSuccess:u,response:l,requestHasData:h,relatedKeyphrases:t}),upsellLink:m}),(0,y.jsx)(Uo.KeyphrasesTable,{relatedKeyphrases:t,columnNames:null==l||null===(w=l.results)||void 0===w?void 0:w.columnNames,data:null==l||null===(b=l.results)||void 0===b?void 0:b.rows,isPending:p,renderButton:s,className:"yst-mt-4"})]})}$o.propTypes={keyphrase:h().string,relatedKeyphrases:h().array,renderAction:h().func,requestLimitReached:h().bool,countryCode:h().string.isRequired,setCountry:h().func.isRequired,newRequest:h().func.isRequired,response:h().object,isRtl:h().bool,userLocale:h().string,isPending:h().bool,isSuccess:h().bool,requestHasData:h().bool,isPremium:h().bool,semrushUpsellLink:h().string,premiumUpsellLink:h().string};const Bo=(0,oe.compose)([(0,t.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:i,getSEMrushRequestResponse:o,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:n,getSEMrushRequestHasData:a,getPreference:l,getIsPremium:c,selectLinkParams:d}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:i(),response:o(),isSuccess:r(),isPending:n(),requestHasData:a(),isRtl:l("isRtl",!1),userLocale:l("userLocale","en_US"),isPremium:c(),semrushUpsellLink:(0,Ds.addQueryArgs)("https://yoa.st/semrush-prices",d()),premiumUpsellLink:(0,Ds.addQueryArgs)("https://yoa.st/413",d())}})),(0,t.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)}}}))])($o),Ko=({isOpen:e,closeModal:t,id:s,upsellLink:i})=>(0,y.jsx)(Js,{isOpen:e,onClose:t,id:s,upsellLink:i,title:(0,r.__)("Cover more search intent with related keyphrases","wordpress-seo"),description:(0,r.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles - helping it get discovered by a wider audience.","wordpress-seo"),note:(0,r.__)("Fine-tune your content for every audience","wordpress-seo"),modalTitle:(0,r.__)("Add more keyphrases with Premium","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),Ho=()=>{const[e,,,t,s]=(0,v.useToggleState)(!1),i=(0,o.useContext)(l.LocationContext),{locationContext:n}=(0,l.useRootContext)(),a=(0,v.useSvgAria)(),c=wpseoAdminL10n["sidebar"===i.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Ko,{isOpen:e,closeModal:s,upsellLink:(0,Ds.addQueryArgs)(c,{context:n}),id:`yoast-additional-keyphrases-modal-${i}`}),"sidebar"===i&&(0,y.jsx)(we,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,r.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:V.colors.$color_grey_medium_dark},onClick:t,children:(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsx)(v.Badge,{size:"small",variant:"upsell",children:(0,y.jsx)(Xs,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...a})})})}),"metabox"===i&&(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsxs)(le,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:t,children:[(0,y.jsx)(Y.SvgIcon,{icon:"plus",color:V.colors.$color_grey_medium_dark}),(0,y.jsx)(le.Text,{children:(0,r.__)("Add related keyphrase","wordpress-seo")}),(0,y.jsxs)(v.Badge,{size:"small",variant:"upsell",children:[(0,y.jsx)(Xs,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...a}),(0,y.jsx)("span",{children:"Premium"})]})]})})]})},zo=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Yo=({store:e="yoast-seo/editor",location:s="sidebar"})=>{const i="black-friday-promotion",n=(0,t.useSelect)((t=>t(e).getIsPremium()),[e]),a=(0,t.useSelect)((t=>t(e).selectLinkParams()),[e]),l=(0,t.useSelect)((t=>t(e).isPromotionActive(i)),[e]),c=(0,t.useSelect)((t=>t(e).getIsWooCommerceActive()),[e]),d=(0,t.useSelect)((t=>t(e).isAlertDismissed(i)),[e]),p=(0,t.useSelect)((t=>t(e).getIsElementorEditor()),[e]),u=(0,o.useCallback)((()=>{(0,t.dispatch)(e).dismissAlert(i)}),[e,i]),h=(0,Ds.addQueryArgs)("https://yoa.st/black-friday-sale",a),g=(0,v.useSvgAria)();return n||!l||d?null:(0,y.jsx)("div",{className:"yst-root",children:(0,y.jsxs)("div",{className:B()("sidebar"!==s||p?"yst-mx-4":"yst-mx-0","yst-border yst-rounded-lg yst-p-4 yst-max-w-md yst-mt-6 yst-relative yst-shadow-sm",c?"yst-border-woo-light":"yst-border-primary-200"),children:[(0,y.jsxs)(v.Badge,{size:"small",className:"yst-text-[10px] yst-bg-black yst-text-amber-300 yst-absolute yst--top-2",children:[(0,r.__)("BLACK FRIDAY","wordpress-seo")," "]}),(0,y.jsxs)("button",{className:"yst-absolute yst-top-4 yst-end-4",onClick:u,children:[(0,y.jsx)(zo,{className:"yst-w-4 yst-text-slate-400 yst-shrink-0 yst--mt-0.5"}),(0,y.jsx)("div",{className:"yst-sr-only",children:(0,r.__)("Dismiss","wordpress-seo")})]}),(0,y.jsxs)("div",{className:B()("sidebar"===s?"":"yst-flex yst-justify-between yst-gap-3"),children:[(0,y.jsxs)("div",{className:c?"yst-text-woo-light":"yst-text-primary-500",children:[(0,y.jsx)("div",{className:"yst-text-2xl yst-font-bold",children:(0,r.__)("30% OFF","wordpress-seo")}),(0,y.jsx)("div",{className:"yst-flex yst-gap-2 yst-font-semibold yst-text-tiny",children:c?(0,y.jsxs)(y.Fragment,{children:["Yoast WooCommerce SEO ",(0,y.jsx)(Qs,{className:"yst-w-4 yst-scale-x-[-1]",...g})]}):(0,y.jsxs)(y.Fragment,{children:[" Yoast SEO Premium ",(0,y.jsx)(z,{className:"yst-w-4",...g})]})})]}),(0,y.jsx)("div",{className:"yst-flex yst-items-end",children:(0,y.jsxs)(v.Button,{as:"a",className:B()("sidebar"===s?"yst-w-full":"yst-w-[140px]","yst-flex yst-gap-1 yst-w-[140px] yst-h-7 yst-mt-4"),variant:"upsell",href:h,target:"_blank",rel:"noreferrer",children:[(0,r.__)("Buy now!","wordpress-seo"),(0,y.jsx)(R,{className:"yst-w-4 rtl:yst-rotate-180",...g})]})})]})]})})};function Vo(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}Yo.propTypes={store:h().string,location:h().oneOf(["sidebar","metabox"])};const Go=()=>{const{editorMode:e,activeAIButtonId:s}=(0,t.useSelect)((e=>({editorMode:e("core/edit-post").getEditorMode(),activeAIButtonId:e("yoast-seo/editor").getActiveAIFixesButton()})),[]),{setMarkerStatus:i}=(0,t.useDispatch)("yoast-seo/editor");(0,o.useEffect)((()=>(i("visual"===e&&s||"text"===e?"disabled":"enabled"),()=>{i("disabled")})),[e,s])},Zo=(Xo=Yo,e=>!(()=>{var e,s;const i=(0,t.select)("yoast-seo/editor").getIsPremium(),o=(0,t.select)("yoast-seo/editor").getWarningMessage();return(i&&null!==(e=null===(s=(0,t.select)("yoast-seo-premium/editor"))||void 0===s?void 0:s.getMetaboxWarning())&&void 0!==e?e:[]).length>0||o.length>0})()&&(0,y.jsx)(Xo,{...e}));var Xo;function Qo({settings:e}){const{isTerm:s}=(0,t.useSelect)((e=>({isTerm:e("yoast-seo/editor").getIsTerm(),isProduct:e("yoast-seo/editor").getIsProduct(),isWooCommerceActive:e("yoast-seo/editor").getIsWooCommerceActive()})),[]),i=Vo();return i&&Go(),(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(x.Fill,{name:"YoastMetabox",children:[(0,y.jsx)(si,{renderPriority:1,children:(0,y.jsx)(Es,{})},"warning"),(0,y.jsx)(si,{renderPriority:2,children:(0,y.jsx)(Zo,{location:"metabox"})},"time-constrained-notification"),e.isKeywordAnalysisActive&&(0,y.jsxs)(si,{renderPriority:8,children:[(0,y.jsx)(cs.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,y.jsx)(x.Fill,{name:"YoastRelatedKeyphrases",children:(0,y.jsx)(Bo,{})})]},"keyword-input"),(0,y.jsx)(si,{renderPriority:9,children:(0,y.jsx)(As,{id:"yoast-snippet-editor-metabox",title:(0,r.__)("Search appearance","wordpress-seo"),initialIsOpen:!0,children:(0,y.jsx)(Cs,{hasPaperStyle:!1})})},"search-appearance"),e.isContentAnalysisActive&&(0,y.jsx)(si,{renderPriority:10,children:(0,y.jsx)(cs.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})},"readability-analysis"),e.isKeywordAnalysisActive&&(0,y.jsx)(si,{renderPriority:20,children:(0,y.jsx)(o.Fragment,{children:(0,y.jsx)(cs.SeoAnalysis,{shouldUpsell:e.shouldUpsell})})},"seo-analysis"),e.isInclusiveLanguageAnalysisActive&&(0,y.jsx)(si,{renderPriority:21,children:(0,y.jsx)(cs.InclusiveLanguageAnalysis,{})},"inclusive-language-analysis"),e.isKeywordAnalysisActive&&(0,y.jsx)(si,{renderPriority:22,children:e.shouldUpsell&&(0,y.jsx)(Ho,{})},"additional-keywords-upsell"),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,y.jsx)(si,{renderPriority:23,children:(0,y.jsx)(ls,{location:"metabox"})},"wincher-seo-performance"),e.shouldUpsell&&!s&&(0,y.jsx)(si,{renderPriority:25,children:(0,y.jsx)(ei,{})},"internal-linking-suggestions-upsell"),e.isCornerstoneActive&&(0,y.jsx)(si,{renderPriority:30,children:(0,y.jsx)(ps,{})},"cornerstone"),e.displayAdvancedTab&&(0,y.jsx)(si,{renderPriority:40,children:(0,y.jsx)(As,{id:"collapsible-advanced-settings",title:(0,r.__)("Advanced","wordpress-seo"),children:(0,y.jsx)(di,{})})},"advanced"),e.displaySchemaSettings&&(0,y.jsx)(si,{renderPriority:50,children:(0,y.jsx)(Do,{})},"schema"),i&&(0,y.jsx)(si,{renderPriority:24,children:(0,y.jsx)(cs.ContentBlocks,{})},"content-blocks"),(0,y.jsx)(si,{renderPriority:-1,children:(0,y.jsx)(So,{target:"wpseo-section-social"})},"social"),e.isInsightsEnabled&&(0,y.jsx)(si,{renderPriority:52,children:(0,y.jsx)(Zs,{location:"metabox"})},"insights")]})})}Qo.propTypes={settings:h().object.isRequired};const Jo=(0,oe.compose)([(0,t.withSelect)(((e,t)=>{const{getPreferences:s}=e("yoast-seo/editor");return{settings:s(),store:t.store}}))])(Qo);function er({target:e,store:t,theme:s}){return(0,y.jsxs)(X,{target:e,children:[(0,y.jsx)(ie,{store:t,theme:s}),(0,y.jsx)(Jo,{store:t,theme:s})]})}er.propTypes={target:h().string.isRequired,store:h().object.isRequired,theme:h().object.isRequired};const tr=({error:e})=>{const s=(0,o.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/sidebar-error-support")),[]),r=(0,t.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,y.jsx)(v.Root,{context:{isRtl:r},children:(0,y.jsx)(I,{error:e,children:(0,y.jsx)(I.VerticalButtons,{supportLink:i,handleRefreshClick:s})})})};function sr({theme:e}){return(0,y.jsx)(se,{theme:e,location:"sidebar",children:(0,y.jsx)(v.ErrorBoundary,{FallbackComponent:tr,children:(0,y.jsx)(x.Slot,{name:"YoastSidebar",children:e=>k(e)})})})}function ir({score:e,label:t,scoreValue:s=""}){return(0,y.jsxs)("div",{className:"yoast-analysis-check",children:[(0,y.jsx)(Y.SvgIcon,{...Z(e)}),(0,y.jsxs)("span",{children:[" ",t," ",s&&(0,y.jsx)("strong",{children:s})]})]})}function or({checklist:e,onClick:t}){const s=e.every((e=>"good"===e.score));return(0,y.jsxs)(o.Fragment,{children:[e.map((e=>(0,y.jsx)(ir,{...e},e.label))),(0,y.jsx)("br",{}),!s&&(0,y.jsx)(v.Root,{children:(0,y.jsx)(v.Button,{variant:"secondary",size:"small",onClick:t,children:(0,r.__)("Improve your post with Yoast SEO","wordpress-seo")})})]})}function rr(e){return(0,d.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(G.interpreters.scoreToRating(e))}function nr(e,t){const{isKeywordAnalysisActive:s}=t.getPreferences();if(s){const s=rr(t.getReadabilityResults().overallScore);e.push({label:(0,r.__)("Readability analysis:","wordpress-seo"),score:s.className,scoreValue:s.screenReaderReadabilityText})}}function ar(e,t){const{isContentAnalysisActive:s}=t.getPreferences();if(s){const s=rr(t.getResultsForFocusKeyword().overallScore),i=p().isPremium;e.push({label:i?(0,r.__)("Premium SEO analysis:","wordpress-seo"):(0,r.__)("SEO analysis:","wordpress-seo"),score:s.className,scoreValue:s.screenReaderReadabilityText})}}function lr(e,t){const{isInclusiveLanguageAnalysisActive:s}=t.getPreferences();if(s){const s=rr(t.getInclusiveLanguageResults().overallScore);e.push({label:(0,r.__)("Inclusive language:","wordpress-seo"),score:s.className,scoreValue:s.screenReaderInclusiveLanguageText})}}tr.propTypes={error:h().object.isRequired},ir.propTypes={score:u.string.isRequired,label:u.string.isRequired,scoreValue:u.string},or.propTypes={checklist:h().array.isRequired,onClick:h().func.isRequired};const cr=(0,oe.compose)([(0,t.withSelect)((function(e){const t=e("yoast-seo/editor"),s=[];return ar(s,t),nr(s,t),lr(s,t),s.push(...Object.values(t.getChecklistItems())),{checklist:s}})),(0,t.withDispatch)((function(e){const{openGeneralSidebar:t}=e("core/edit-post");return{onClick:()=>{t("yoast-seo/seo-sidebar")}}}))])(or),dr=(0,oe.compose)([(0,t.withSelect)((e=>{const t=e("yoast-seo/editor"),s=rr(t.getResultsForFocusKeyword().overallScore),i=rr(t.getReadabilityResults().overallScore),{isKeywordAnalysisActive:o,isContentAnalysisActive:r}=t.getPreferences();let n,a;switch(i.className){case"good":n=V.colors.$color_good;break;case"ok":n=V.colors.$color_ok;break;default:n=V.colors.$color_bad}switch(s.className){case"good":a=V.colors.$color_good;break;case"ok":a=V.colors.$color_ok;break;default:a=V.colors.$color_bad}return{readabilityScoreColor:n,seoScoreColor:a,isKeywordAnalysisActive:o,isContentAnalysisActive:r}}))])(b);var pr;function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},ur.apply(null,arguments)}const hr=e=>_.createElement("svg",ur({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1600 1600"},e),pr||(pr=_.createElement("g",{fill:"none",fillRule:"evenodd"},_.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790"}),_.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z"}))));var gr;function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},mr.apply(null,arguments)}const yr=e=>_.createElement("svg",mr({xmlns:"http://www.w3.org/2000/svg",fill:"current",viewBox:"0 0 1200 1227"},e),gr||(gr=_.createElement("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})));function fr({permalink:e}){const t=encodeURI(e);return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)("div",{children:(0,r.__)("Share your post!","wordpress-seo")}),(0,y.jsxs)("ul",{className:"yoast-seo-social-share-buttons",children:[(0,y.jsx)("li",{children:(0,y.jsxs)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+t,target:"_blank",rel:"noopener noreferrer",children:[(0,y.jsx)(hr,{}),(0,r.__)("Facebook","wordpress-seo"),(0,y.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,r.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,y.jsx)("li",{children:(0,y.jsxs)("a",{href:"https://twitter.com/share?url="+t,target:"_blank",rel:"noopener noreferrer",className:"x-share",children:[(0,y.jsx)(yr,{}),(0,r.__)("X","wordpress-seo"),(0,y.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,r.__)("(Opens in a new browser tab)","wordpress-seo")})]})})]})]})}fr.propTypes={permalink:h().string.isRequired};const wr=(0,oe.compose)([(0,t.withSelect)((e=>({permalink:e("core/editor").getPermalink()})))])(fr),br=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),xr=window.wp.hooks,vr=e=>{var s,i;const r=null===(s=(0,t.useDispatch)("core/edit-post"))||void 0===s?void 0:s.openGeneralSidebar,n=null===(i=(0,t.useDispatch)("core/editor"))||void 0===i?void 0:i.closePublishSidebar,{openEditorModal:a}=(0,t.useDispatch)("yoast-seo/editor");return(0,o.useCallback)((()=>{n(),r("yoast-seo/seo-sidebar"),e&&a("yoast-search-appearance-modal")}),[n,r,a])},kr="yoast-seo/editor";function _r({isSeoDataDefault:e}){const s=(0,t.select)(kr).getPostType(),i=(0,o.useMemo)((()=>(null==e?void 0:e.isAllTitlesDefault)||!1),[e]),n=(0,o.useMemo)((()=>(null==e?void 0:e.isAllDescriptionsDefault)||!1),[e]),a=(0,o.useMemo)((()=>"post"===s&&(i||n)),[s,i,n]),l=(0,o.useMemo)((()=>i&&n?(0,r.__)("custom SEO titles and meta descriptions","wordpress-seo"):i?(0,r.__)("custom SEO titles","wordpress-seo"):n?(0,r.__)("custom meta descriptions","wordpress-seo"):void 0),[i,n]),c=(0,o.useMemo)((()=>i&&n?(0,r.__)("quick optimized SEO titles and meta descriptions","wordpress-seo"):i?(0,r.__)("quick optimized SEO titles","wordpress-seo"):n?(0,r.__)("quick optimized meta descriptions","wordpress-seo"):void 0),[i,n]),d=(0,o.useMemo)((()=>(0,r.sprintf)(/* translators: %1$s expands to "custom SEO titles" or "custom meta descriptions" or both. */ (0,r.__)("Stand out in the search results and attract more visitors by adding %1$s.","wordpress-seo"),l)),[l]),p=(0,o.useMemo)((()=>S((0,r.sprintf)( /* translators: %1$s, %2$s expands to strong tags. %3$s, %4$s expands to emphasis tags. %5$s expands to "quick optimized SEO titles" or "quick optimized meta descriptions" or both */ (0,r.__)("%1$sPro tip%2$s: Use %3$sAI Generate%4$s for %5$s.","wordpress-seo"),"<strong>","</strong>","<em>","</em>",c),{strong:(0,y.jsx)("strong",{}),em:(0,y.jsx)("em",{})})),[c]),u=(0,o.useMemo)((()=>i?n?[]:(0,xr.applyFilters)("yoast.replacementVariableEditor.additionalButtons",[],{fieldId:"yoast-google-preview-pre-publish",type:"title"}):[]),[i,n]),h=(0,o.useMemo)((()=>n?(0,xr.applyFilters)("yoast.replacementVariableEditor.additionalButtons",[],{fieldId:"yoast-google-preview-pre-publish",type:"description"}):[]),[i,n]),g=vr(!0),m=(0,o.useCallback)((()=>{g()}),[g]);return a&&(0,y.jsxs)(o.Fragment,{children:[(0,y.jsxs)("div",{className:"yst-flex yst-items-center yst-gap-1 yst-mb-[-25px]",children:[(0,y.jsx)(br,{className:"yst-w-4 yst-h-4 yst-text-amber-500"}),(0,y.jsx)("h4",{children:(0,r.__)("Default SEO data detected","wordpress-seo")})]}),(0,y.jsx)("p",{children:d}),u.length+h.length>0&&(0,y.jsx)("p",{children:p}),(0,y.jsx)(x.Slot,{name:"yoast.replacementVariableEditor.additionalButtons.yoast-google-preview-pre-publish"}),u.map(((e,t)=>(0,y.jsx)(o.Fragment,{children:e},`additional-button-pre-publish-sidebar-title-${t}`))),h.map(((e,t)=>(0,y.jsx)(o.Fragment,{children:e},`additional-button-pre-publish-sidebar-description-${t}`))),(0,y.jsx)(v.Root,{children:(0,y.jsx)(v.Button,{variant:"secondary",size:"small",className:"yst-mt-2",onClick:m,children:(0,r.__)("Write custom SEO data","wordpress-seo")})})]})}function jr({checklist:e,onClick:t,isSeoDataDefault:s}){let i;return i=e.every((e=>"good"===e.score))?(0,r.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):(0,r.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),(0,y.jsx)(o.Fragment,{children:(0,y.jsxs)(l.LocationProvider,{value:"pre-publish",children:[(0,y.jsx)("p",{children:i}),(0,y.jsx)(or,{checklist:e,onClick:t}),(0,y.jsx)(_r,{isSeoDataDefault:s})]})})}function Sr(e){const{isRecentTitlesDefault:t,isRecentDescriptionsDefault:s}=e.getPreferences(),i=e.getSnippetEditorData(),o=e.getSeoTitleTemplate(),r=e.getSeoDescriptionTemplate(),n=i.title.trim()===o.trim(),a=i.description.trim()===r.trim();return{isAllTitlesDefault:t&&n,isAllDescriptionsDefault:s&&a}}_r.propTypes={isSeoDataDefault:h().object.isRequired},jr.propTypes={checklist:h().array.isRequired,onClick:h().func.isRequired,isSeoDataDefault:h().object.isRequired};const Tr=(0,oe.compose)([(0,t.withSelect)((function(e){const t=e("yoast-seo/editor"),s=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:(0,r.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(s,t),ar(s,t),nr(s,t),lr(s,t),s.push(...Object.values(t.getChecklistItems())),{checklist:s,isSeoDataDefault:Sr(t)}})),(0,t.withDispatch)((function(e){const{closePublishSidebar:t,openGeneralSidebar:s}=e("core/edit-post");return{onClick:()=>{t(),s("yoast-seo/seo-sidebar")}}}))])(jr),Rr=(0,oe.compose)([(0,t.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,t.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),Cr=({children:e,id:t,hasIcon:s=!0,title:i,image:o=null,isAlertDismissed:n,onDismissed:a})=>n?null:(0,y.jsxs)("div",{id:t,className:"notice-yoast yoast is-dismissible yoast-webinar-dashboard yoast-general-page-notices",children:[(0,y.jsxs)("div",{className:"notice-yoast__container",children:[(0,y.jsxs)("div",{children:[(0,y.jsxs)("div",{className:"notice-yoast__header",children:[s&&(0,y.jsx)("span",{className:"yoast-icon"}),(0,y.jsx)("h2",{className:"notice-yoast__header-heading yoast-notice-migrated-header",children:i})]}),(0,y.jsx)("div",{className:"notice-yoast-content",children:(0,y.jsx)("p",{children:e})})]}),o&&(0,y.jsx)(o,{height:"60"})]}),(0,y.jsx)("button",{type:"button",className:"notice-dismiss",onClick:a,children:(0,y.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,r.__)("Dismiss this notice.","wordpress-seo")})})]});Cr.propTypes={children:h().node.isRequired,id:h().string.isRequired,hasIcon:h().bool,title:h().any.isRequired,image:h().elementType,isAlertDismissed:h().bool.isRequired,onDismissed:h().func.isRequired};const Er=Rr(Cr),Ir="trustpilot-review-notification",Lr="yoast-seo/editor",Ar=()=>{const e=(0,t.useSelect)((e=>e(Lr).getIsPremium()),[]),s=(0,t.useSelect)((e=>e(Lr).isAlertDismissed(Ir)),[]),{overallScore:i}=(0,t.useSelect)((e=>e(Lr).getResultsForFocusKeyword()),[]),{dismissAlert:r}=(0,t.useDispatch)(Lr),n=(0,o.useCallback)((()=>r(Ir)),[r]),[a,l]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{var e;"good"===(null===(e=rr(i))||void 0===e?void 0:e.className)&&l(!0)}),[i]),{shouldShow:!e&&!s&&a,dismiss:n}},Fr=(0,ce.makeOutboundLink)(),Pr=()=>{const{shouldShow:e,dismiss:s}=Ar(),{locationContext:i}=(0,l.useRootContext)(),o=(0,t.useSelect)((e=>e(Lr).selectLink("https://yoa.st/trustpilot-review",{context:i})),[i]);return(0,y.jsxs)(Cr,{alertKey:Ir,store:Lr,id:Ir,title:(0,r.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:s,children:[(0,r.__)("Happy with the plugin?","wordpress-seo")," ",(0,y.jsx)(Fr,{href:o,rel:"noopener noreferrer",children:(0,r.__)("Leave a quick review","wordpress-seo")}),"."]})};var Mr,qr,Or,Nr,Dr,Ur,Wr,$r,Br,Kr,Hr,zr,Yr,Vr,Gr,Zr,Xr,Qr,Jr,en,tn,sn,on,rn,nn,an,ln,cn,dn,pn,un,hn,gn,mn,yn,fn,wn,bn,xn,vn,kn,jn,Sn,Tn,Rn,Cn,En;function In(){return In=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},In.apply(null,arguments)}const Ln=e=>_.createElement("svg",In({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Mr||(Mr=_.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),qr||(qr=_.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),Or||(Or=_.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),Nr||(Nr=_.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),Dr||(Dr=_.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),Ur||(Ur=_.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),Wr||(Wr=_.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),$r||($r=_.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),Br||(Br=_.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),Kr||(Kr=_.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),Hr||(Hr=_.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),zr||(zr=_.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Yr||(Yr=_.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),Vr||(Vr=_.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),Gr||(Gr=_.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Zr||(Zr=_.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),Xr||(Xr=_.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),Qr||(Qr=_.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),Jr||(Jr=_.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),en||(en=_.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),tn||(tn=_.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),sn||(sn=_.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),on||(on=_.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),rn||(rn=_.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),nn||(nn=_.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),an||(an=_.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),ln||(ln=_.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),cn||(cn=_.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),dn||(dn=_.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),pn||(pn=_.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),un||(un=_.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),hn||(hn=_.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),gn||(gn=_.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),mn||(mn=_.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),yn||(yn=_.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),fn||(fn=_.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),wn||(wn=_.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),bn||(bn=_.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),xn||(xn=_.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),vn||(vn=_.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),kn||(kn=_.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),jn||(jn=_.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Sn||(Sn=_.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Tn||(Tn=_.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),Rn||(Rn=_.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Cn||(Cn=_.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),En||(En=_.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),An=({store:e="yoast-seo/editor",image:s=Ln,url:i,...o})=>(0,t.useSelect)((t=>t(e).getIsPremium()))?null:(0,y.jsxs)(Er,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,r.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:s,url:i,...o,children:[(0,r.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,y.jsx)("a",{href:i,target:"_blank",rel:"noreferrer",children:(0,r.__)("Sign up today!","wordpress-seo")})]});An.propTypes={store:h().string,image:h().elementType,url:h().string.isRequired};const Fn=An,Pn=(e="yoast-seo/editor")=>{const s=(0,t.select)(e).isPromotionActive("black-friday-promotion"),i=(0,t.select)(e).isAlertDismissed("black-friday-promotion");return!s||i},Mn=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),qn=({id:e,postTypeName:t,children:s,title:i,isOpen:n,open:a,close:c,shouldCloseOnClickOutside:d=!0,showChangesWarning:p=!0,SuffixHeroIcon:u=null})=>(0,y.jsxs)(o.Fragment,{children:[n&&(0,y.jsx)(l.LocationProvider,{value:"modal",children:(0,y.jsxs)(ue,{title:i,onRequestClose:c,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:d,children:[(0,y.jsx)("div",{className:"yoast-content-container",children:(0,y.jsx)("div",{className:"yoast-modal-content",children:s})}),(0,y.jsxs)("div",{className:"yoast-notice-container",children:[(0,y.jsx)("hr",{}),(0,y.jsxs)("div",{className:"yoast-button-container",children:[p&&(0,y.jsx)("p",{children:/* Translators: %s translates to the Post Label in singular form */ (0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)}),(0,y.jsx)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:c,children:/* Translators: %s translates to the Post Label in singular form */ (0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),t)})]})]})]})}),(0,y.jsx)(we,{id:e+"-open-button",title:i,SuffixHeroIcon:u,suffixIcon:u?null:{size:"20px",icon:"pencil-square"},onClick:a})]});qn.propTypes={id:h().string.isRequired,postTypeName:h().string.isRequired,children:h().oneOfType([h().node,h().arrayOf(h().node)]).isRequired,title:h().string.isRequired,isOpen:h().bool.isRequired,open:h().func.isRequired,close:h().func.isRequired,shouldCloseOnClickOutside:h().bool,showChangesWarning:h().bool,SuffixHeroIcon:h().element};const On=qn,Nn=(0,oe.compose)([(0,t.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:i}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:i(t.id)}})),(0,t.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:i}=e("yoast-seo/editor");return{open:()=>s(t.id),close:i}}))])(On),Dn=m()(Mn)` width: 18px; height: 18px; margin: 3px; `,Un=({location:e="sidebar"})=>{const s=(0,t.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),i=(0,t.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),o=ne();return(0,y.jsx)(Nn,{title:(0,r.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!s,showChangesWarning:!1,SuffixHeroIcon:(0,y.jsx)(Dn,{className:"yst-text-slate-500",...o}),children:(0,y.jsxs)("div",{className:"yoast-insights yoast-modal-content--columns",children:[(0,y.jsx)($s,{location:e}),(0,y.jsxs)("div",{children:[i&&(0,y.jsx)("div",{className:"yoast-insights-row",children:(0,y.jsx)(qs,{})}),(0,y.jsxs)("div",{className:"yoast-insights-row yoast-insights-row--columns",children:[(0,y.jsx)(Fs,{}),(0,y.jsx)(Bs,{})]}),(0,Is.isFeatureEnabled)("TEXT_FORMALITY")&&(0,y.jsx)(Vs,{location:e,name:"YoastTextFormalityMetabox"})]})]})})};Un.propTypes={location:h().string};const Wn=Un,$n=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));class Bn{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,d.isString)(e)?(0,d.isUndefined)(t)||(0,d.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,d.isString)(e)?(0,d.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,d.isString)(e)?(0,d.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,i){if(!(0,d.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,d.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,d.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const o={callable:t,origin:s,priority:(0,d.isNumber)(i)?i:10};return(0,d.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}_registerAssessment(e,t,s,i){return(0,d.isString)(t)?(0,d.isObject)(s)?(0,d.isString)(i)?(t=i+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+i+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let i=this.modifications[e];return!(0,d.isArray)(i)||i.length<1||(i=this._stripIllegalModifications(i),i.sort(((e,t)=>e.priority-t.priority)),(0,d.forEach)(i,(function(i){const o=i.callable(t,s);typeof o==typeof t?t=o:console.error("Modification with name "+e+" performed by plugin with name "+i.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,d.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,d.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,d.forEach)(this.plugins,(function(e,t){(0,d.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,d.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,d.isUndefined)(this.plugins[e])}}let Kn=null;const Hn=()=>{if(null===Kn){const e=(0,t.dispatch)("yoast-seo/editor").runAnalysis;Kn=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new Bn(e)}return Kn},zn=(e,t,s)=>Hn().loaded?Hn()._applyModifications(e,t,s):t,{stripHTMLTags:Yn}=ce.strings,Vn=(e,s)=>{const i=(0,t.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=i.title),""===e.description&&(e.description=i.description);let o=0;return s.shortenedBaseUrl&&"string"==typeof s.shortenedBaseUrl&&(o=s.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[o]&&(e.url=e.url.slice(0,o)+e.url.slice(o+1)),{url:e.url,title:Yn(zn("data_page_title",e.title)),description:Yn(zn("data_meta_desc",e.description)),filteredSEOTitle:Yn(zn("data_page_title",e.filteredSEOTitle))}},Gn=({isLoading:e,onLoad:t,location:s,...i})=>((0,o.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,y.jsx)(ms,{icon:"eye",hasPaperStyle:i.hasPaperStyle,children:(0,y.jsx)(us.SnippetEditor,{...i,descriptionPlaceholder:(0,r.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Vn,showCloseButton:!1,idSuffix:s})}));Gn.propTypes={isLoading:h().bool.isRequired,onLoad:h().func.isRequired,hasPaperStyle:h().bool.isRequired,location:h().string.isRequired};const Zn=(0,oe.compose)([(0,t.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:s,getEditorDataImageUrl:i,getFocusKeyphrase:o,getRecommendedReplaceVars:r,getSiteIconUrlFromSettings:n,getSnippetEditorData:a,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:h,getReplaceVars:g}=e("yoast-seo/editor");return{baseUrl:t(),data:a(),date:s(),faviconSrc:n(),isLoading:l(),keyword:o(),mobileImageSrc:i(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:g(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:h()}})),(0,t.withDispatch)((e=>{const{updateData:t,switchMode:s,updateAnalysisData:i,loadSnippetEditorData:o}=e("yoast-seo/editor");return{onChange:(e,i)=>{switch(e){case"mode":s(i);break;case"slug":t({slug:i});break;default:t({[e]:i})}},onChangeAnalysisData:i,onLoad:o}})),ds()])(Gn),Xn=m()($n)` width: 18px; height: 18px; margin: 3px; `,Qn=()=>{const e=ne(),s=(0,t.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,y.jsxs)(Nn,{title:(0,r.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,y.jsx)(Xn,{className:"yst-text-slate-500",...e}),children:[!0===s&&(0,y.jsx)(Zn,{showCloseButton:!1,hasPaperStyle:!1}),!1===s&&(0,y.jsx)(Cs,{showCloseButton:!1,hasPaperStyle:!1})]})},Jn=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),ea=m()(Y.Collapsible)` h2 > button { padding-left: 0; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,ta=e=>(0,y.jsx)(ea,{hasPadding:!1,hasSeparator:!0,...e}),sa=m()(Jn)` width: 18px; height: 18px; margin: 3px; `,ia=e=>{const{useOpenGraphData:t,useTwitterData:s}=e;if(!t&&!s)return;const i=ne();return(0,y.jsxs)(Nn /* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,r.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,y.jsx)(sa,{className:"yst-text-slate-500",...i}),children:[t&&(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(xo,{children:(0,r.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,y.jsx)(go,{}),s&&(0,y.jsx)(bo,{children:(0,r.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo")})]}),t&&s&&(0,y.jsx)(ta,{title:(0,r.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1,children:(0,y.jsx)(wo,{})}),!t&&s&&(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(xo,{children:(0,r.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")}),(0,y.jsx)(wo,{})]})]})};ia.propTypes={useOpenGraphData:h().bool.isRequired,useTwitterData:h().bool.isRequired};const oa=ia,ra=({title:e,children:t,prefixIcon:s=null,subTitle:i="",hasBetaBadgeLabel:r=!1,hasNewBadgeLabel:n=!1,buttonId:a=null,renderNewBadgeLabel:l=(()=>{})})=>{const[c,d]=(0,o.useState)(!1),p=(0,o.useCallback)((()=>{d((e=>!e))}),[d]);return(0,y.jsxs)("div",{className:"yoast components-panel__body "+(c?"is-opened":""),children:[(0,y.jsx)("h2",{className:"components-panel__body-title",children:(0,y.jsxs)("button",{onClick:p,className:"components-button components-panel__body-toggle",type:"button",id:a,children:[(0,y.jsx)("span",{className:"yoast-icon-span",style:{fill:`${s&&s.color||""}`},children:s&&(0,y.jsx)(Y.SvgIcon,{icon:s.icon,color:s.color,size:s.size})}),!n&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("span",{className:"yoast-title-container",children:[(0,y.jsx)("div",{className:"yoast-title",children:e}),i&&(0,y.jsx)("div",{className:"yoast-subtitle",children:i})]}),r&&(0,y.jsx)(Y.BetaBadge,{})]}),n&&(0,y.jsxs)("div",{className:"yst-flex-grow yst-flex yst-items-center yst-gap-2",children:[(0,y.jsxs)("span",{className:"yst-overflow-x-hidden yst-leading-normal",children:[(0,y.jsx)("div",{className:"yoast-title",children:e}),i&&(0,y.jsx)("div",{className:"yoast-subtitle",children:i})]}),l()]}),(0,y.jsx)("span",{className:"yoast-chevron","aria-hidden":"true"})]})}),c&&t]})},na=ra;function aa({settings:e}){const t=(({webinarIntroUrl:e})=>{const{shouldShow:t}=Ar(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>t,component:Pr},{getIsEligible:Pn,component:()=>(0,y.jsx)(Fn,{hasIcon:!1,image:null,url:e})},{getIsEligible:()=>!0,component:()=>(0,y.jsx)(Yo,{})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,d.get)(window,"wpseoScriptData.webinarIntroBlockEditorUrl","https://yoa.st/webinar-intro-block-editor")}),s=Vo();return s&&Go(),(0,y.jsx)(o.Fragment,{children:(0,y.jsxs)(x.Fill,{name:"YoastSidebar",children:[(0,y.jsxs)(si,{renderPriority:1,children:[(0,y.jsx)(Es,{}),(0,y.jsx)("div",{style:{margin:"0 16px"},children:t&&(0,y.jsx)(t,{})})]},"warning"),e.isKeywordAnalysisActive&&(0,y.jsx)(si,{renderPriority:8,children:(0,y.jsx)(cs.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive})},"keyword-input"),e.isKeywordAnalysisActive&&(0,y.jsx)(si,{renderPriority:10,children:(0,y.jsx)(o.Fragment,{children:(0,y.jsx)(cs.SeoAnalysis,{shouldUpsell:e.shouldUpsell})})},"seo"),e.isContentAnalysisActive&&(0,y.jsx)(si,{renderPriority:20,children:(0,y.jsx)(cs.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})},"readability"),e.isInclusiveLanguageAnalysisActive&&(0,y.jsx)(si,{renderPriority:21,children:(0,y.jsx)(cs.InclusiveLanguageAnalysis,{})},"inclusive-language-analysis"),e.isKeywordAnalysisActive&&(0,y.jsx)(si,{renderPriority:22,children:e.shouldUpsell&&(0,y.jsx)(Ho,{})},"additional-keywords-upsell"),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,y.jsx)(si,{renderPriority:23,children:(0,y.jsx)(ls,{location:"sidebar"})}),e.shouldUpsell&&(0,y.jsx)(si,{renderPriority:25,children:(0,y.jsx)(ei,{})},"internal-linking-suggestions-upsell"),(0,y.jsx)(si,{renderPriority:26,children:(0,y.jsx)(Qn,{})},"search-appearance"),(e.useOpenGraphData||e.useTwitterData)&&(0,y.jsx)(si,{renderPriority:27,children:(0,y.jsx)(oa,{useOpenGraphData:e.useOpenGraphData,useTwitterData:e.useTwitterData})},"social-appearance"),e.displaySchemaSettings&&(0,y.jsx)(si,{renderPriority:28,children:(0,y.jsx)(na,{title:(0,r.__)("Schema","wordpress-seo"),children:(0,y.jsx)(Do,{})})},"schema"),s&&(0,y.jsx)(si,{renderPriority:29,children:(0,y.jsx)(cs.ContentBlocks,{})},"content-blocks"),e.displayAdvancedTab&&(0,y.jsx)(si,{renderPriority:30,children:(0,y.jsx)(na,{title:(0,r.__)("Advanced","wordpress-seo"),children:(0,y.jsx)(di,{})})},"advanced"),e.isCornerstoneActive&&(0,y.jsx)(si,{renderPriority:31,children:(0,y.jsx)(ps,{})},"cornerstone"),e.isInsightsEnabled&&(0,y.jsx)(si,{renderPriority:32,children:(0,y.jsx)(Wn,{location:"sidebar"})})]})})}ra.propTypes={title:h().string.isRequired,children:h().oneOfType([h().node,h().arrayOf(h().node)]).isRequired,prefixIcon:h().object,subTitle:h().string,hasBetaBadgeLabel:h().bool,hasNewBadgeLabel:h().bool,buttonId:h().string,renderNewBadgeLabel:h().func},aa.propTypes={settings:h().object.isRequired};const la=(0,t.withSelect)(((e,t)=>{const{getPreferences:s}=e("yoast-seo/editor");return{settings:s(),store:t.store}}))(aa);function ca({trackAll:e=d.noop,hasTrackedKeyphrases:t=!1}){return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(Y.FieldGroup,{label:(0,r.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] /* translators: Hidden accessibility text. */,linkText:(0,r.__)("Learn more about the SEO performance feature.","wordpress-seo"),wrapperClassName:"yoast-field-group yoast-wincher-post-publish"}),(0,y.jsx)(ct,{}),t&&(0,y.jsx)("p",{children:(0,r.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")}),(0,y.jsx)("div",{className:"yoast",children:(0,y.jsx)(Y.NewButton,{variant:"secondary",small:!0,onClick:e,children:(0,r.__)("Track all keyphrases on this page","wordpress-seo")})}),(0,y.jsx)(ls,{location:"postpublish"})]})}ca.propTypes={trackAll:h().func,hasTrackedKeyphrases:h().bool};const da=(0,oe.compose)([(0,t.withSelect)((e=>{const{getWincherTrackedKeyphrases:t,hasWincherTrackedKeyphrases:s}=e("yoast-seo/editor");return{trackedKeyphrases:t(),hasTrackedKeyphrases:s()}})),(0,t.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherTrackAllKeyphrases:s}=e("yoast-seo/editor");return{trackAll:()=>{s(!0),t("postpublish")}}}))])(ca);window.wp.annotations;const pa=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:ua}=G.helpers.htmlEntities,ha=e=>{let t=0;return(0,d.forEachRight)(e,(e=>{const[s]=e;let i=s.length;/^<\/?br/.test(s)&&(i-=1),t+=i})),t},ga="<yoastmark class='yoast-text-mark'>",ma="</yoastmark>",ya='<yoastmark class="yoast-text-mark">';function fa(e,t,s,i,o){const r=i.clientId,n=(0,a.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,d.flatMap)(o,(s=>{let o;return o=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,i,o){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),r=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const i="yoast/faq-block"===s?'<strong class="schema-faq-question">':'<strong class="schema-how-to-step-name">';return{blockStartOffset:e-=i.length,blockEndOffset:t-=i.length}})(t,r,s);t=e.blockStartOffset,r=e.blockEndOffset}if(i.slice(t,r)===o.slice(t,r))return[{startOffset:t,endOffset:r}];const n=((e,t,s)=>{const i=s.slice(0,e),o=s.slice(0,t),r=((e,t,s,i)=>{const o=[...e.matchAll(pa)];s-=ha(o);const r=[...t.matchAll(pa)];return{blockStartOffset:s,blockEndOffset:i-=ha(r)}})(i,o,e,t),n=((e,t,s,i)=>{let o=[...e.matchAll(ua)];return(0,d.forEachRight)(o,(e=>{const[,t]=e;s-=t.length})),o=[...t.matchAll(ua)],(0,d.forEachRight)(o,(e=>{const[,t]=e;i-=t.length})),{blockStartOffset:s,blockEndOffset:i}})(i,o,e=r.blockStartOffset,t=r.blockEndOffset);return{blockStartOffset:e=n.blockStartOffset,blockEndOffset:t=n.blockEndOffset}})(t,r,i);return[{startOffset:n.blockStartOffset,endOffset:n.blockEndOffset}]}return[]}(s,r,i.name,e,n):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),i=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t,s=!0){const i=[];if(0===e.length)return i;let o,r=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,r))>-1;)i.push(o),r=o+t.length;return i}(e,s);if(0===o.length)return[];const r=function(e){let t=e.indexOf(ga);const s=t>=0;s||(t=e.indexOf(ya));let i=null;const o=[];for(;t>=0;){if(i=(e=s?e.replace(ga,""):e.replace(ya,"")).indexOf(ma),i<t)return[];e=e.replace(ma,""),o.push({startOffset:t,endOffset:i}),t=s?e.indexOf(ga):e.indexOf(ya),i=null}return o}(i),n=[];return r.forEach((e=>{o.forEach((i=>{const o=i+e.startOffset;let r=i+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(r=i+s.length),n.push({startOffset:o,endOffset:r})}))})),n}(n,s),o?o.map((e=>({...e,block:r,richTextIdentifier:t}))):[]}))}const wa=e=>e[0].toUpperCase()+e.slice(1),ba=(e,t,s,i,o)=>(e=e.map((e=>{const r=`${e.id}-${o[0]}`,n=`${e.id}-${o[1]}`,a=wa(o[0]),l=wa(o[1]),c=e[`json${a}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=fa(c,r,s,i,p),g=fa(d,n,s,i,u);return h.concat(g)})),(0,d.flattenDeep)(e)),xa="yoast";let va=[];const ka={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function _a(){const e=va.shift();e&&((0,t.dispatch)("core/annotations").__experimentalAddAnnotation(e),ja())}function ja(){(0,d.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(_a,{timeout:1e3}):setTimeout(_a,150)}function Sa(){const e=(0,t.select)("core/block-editor").getSelectedBlock(),s=(0,t.select)("yoast-seo/editor").getActiveMarker();if(!e||!s)return;var i;i=e.clientId,(0,t.select)("core/annotations").__experimentalGetAnnotations().filter((e=>e.blockClientId===i&&e.source===xa)).forEach((e=>{(0,t.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));const o=(0,t.select)("yoast-seo/editor").getResultById(s);if(void 0===o)return;const r=o.marks;var n;n=((e,t)=>{return(0,d.flatMap)((s=e.name,ka.hasOwnProperty(s)?ka[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];return 0===i.length?[]:ba(i,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];if(i&&0===i.length)return[];const o=[];return"steps"===e.key&&o.push(ba(i,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),o.push(fa(i,"description",e,t,s))),(0,d.flattenDeep)(o)})(s,e,t):function(e,t,s){const i=e.key,o=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:(s||"").toString()})(t,i);return fa(o,i,e,t,s)}(s,e,t)));var s})(e,r),va=n.map((e=>({blockClientId:e.block,source:xa,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),ja()}const Ta=window.wp.htmlEntities,Ra=(0,ce.makeOutboundLink)(m().a` display: inline-block; position: relative; outline: none; text-decoration: none; border-radius: 100%; width: 24px; height: 24px; margin: -4px 0; vertical-align: middle; color: ${V.colors.$color_help_text}; &:hover, &:focus { color: ${V.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { color: ${V.colors.$color_help_text}; } &::before { position: absolute; top: 0; left: 0; padding: 2px; content: "\f223"; } `);function Ca({isActive:e=!1,activeAttributes:t={},addingLink:s=!1,value:i={},onChange:n=d.noop,speak:l,stopAddingLink:c,contentRef:p={}}){const u=(0,o.useMemo)(d.uniqueId,[s]),[h,g]=(0,o.useState)(),m=(0,a.useAnchor)({editableContentElement:p.current,settings:{...Aa,isActive:e}}),f=(0,a.getActiveFormat)(i,"core/link"),w=e=>{var t;const{formats:s,start:i,text:o}=e,r=null==f||null===(t=f.attributes)||void 0===t?void 0:t.url;let n=i,a=i;const l=e=>{var t;return null===(t=s[e])||void 0===t?void 0:t.some((e=>{var t;return"core/link"===(null==e?void 0:e.type)&&(null==e||null===(t=e.attributes)||void 0===t?void 0:t.url)===r}))};for(!l(n)&&n>0&&l(n-1)&&(n--,a=n);n>0&&l(n-1);)n--;for(;a<((null==o?void 0:o.length)||0)&&l(a);)a++;return{start:n,end:a}};let b="";if(e&&f){const{start:e,end:t}=w(i);e<t&&(b=i.text.substring(e,t))}else i.start!==i.end&&(b=(0,a.getTextContent)((0,a.slice)(i)));const v={url:t.url,type:t.type,id:t.id,opensInNewTab:"_blank"===t.target,noFollow:t.rel&&t.rel.split(" ").includes("nofollow"),sponsored:t.rel&&t.rel.split(" ").includes("sponsored"),title:b,className:t.class,...h},k=e=>v.url===e.url&&(v.opensInNewTab!==e.opensInNewTab||v.noFollow!==e.noFollow||v.sponsored!==e.sponsored),_=e=>{if("number"==typeof e||"string"==typeof e)return String(e)},j=(0,y.jsx)(Ra,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons",children:(0,y.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,r.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo")})}),T=S((0,r.sprintf)( // translators: %1$s and %2$s are opening and closing code tags, %3$s is a help link. (0,r.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:(0,y.jsx)("code",{}),helplink:j}),R=S((0,r.sprintf)( // translators: %1$s and %2$s are opening and closing code tags, %3$s is a help link. (0,r.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:(0,y.jsx)("code",{}),helplink:j}),C=[{id:"opensInNewTab",title:(0,r.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:T},{id:"sponsored",title:R}],{__experimentalLinkControl:E}=window.wp.blockEditor;return(0,y.jsx)(x.Popover,{anchor:m,focusOnMount:!!s&&"firstElement",onClose:c,position:"bottom center",placement:"bottom",shift:!0,children:(0,y.jsx)(E,{value:v,onChange:t=>{t={...h,...t};const s=k(t);if((e=>k(e)&&!e.url)(t=(e=>{var t;return k(t=e)&&!0===t.sponsored&&!0!==v.sponsored&&(e.noFollow=!0),(e=>k(e)&&!1===e.noFollow&&!1!==v.noFollow)(e)&&(e.sponsored=!1),e})(t)))return void g(t);const o=(0,Ds.prependHTTP)(t.url),p=function({url:e,type:t,id:s,opensInNewWindow:i,noFollow:o,sponsored:r,className:n}){const a={type:"core/link",attributes:{url:e}};t&&(a.attributes.type=t),s&&(a.attributes.id=s);let l=[];return i&&(a.attributes.target="_blank",l.push("noreferrer noopener")),r&&(l.push("sponsored"),l.push("nofollow")),o&&l.push("nofollow"),l.length>0&&(l=(0,d.uniq)(l),a.attributes.rel=l.join(" ")),n&&(a.attributes.class=n),a}({url:o,type:t.type,id:_(t.id),opensInNewWindow:t.opensInNewTab,noFollow:t.noFollow,sponsored:t.sponsored,className:t.className});(0,a.isCollapsed)(i)&&!e?((e,t,s)=>{const o=((e,t)=>e.title?e.title:t)(t,s),r=(0,a.applyFormat)((0,a.create)({text:o}),e,0,o.length);n((0,a.insert)(i,r))})(p,t,o):((e,t)=>{const{start:s,end:o}=w(i),r=s<o?i.text.substring(s,o):"";let l;if(void 0!==t&&""!==t&&t!==r&&s<o){const r=(0,a.remove)(i,s,o);r.start=s,r.end=s;const n=(0,a.applyFormat)((0,a.create)({text:t}),e,0,t.length);l=(0,a.insert)(r,n)}else l=(0,a.applyFormat)(i,e),l.start=l.end;l.activeFormats=[],n(l)})(p,t.title),s||c(),(t=>{!function(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,Ds.getProtocol)(t);if(!(0,Ds.isValidProtocol)(e))return!1;if((0,d.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const s=(0,Ds.getAuthority)(t);if(!(0,Ds.isValidAuthority)(s))return!1;const i=(0,Ds.getPath)(t);if(i&&!(0,Ds.isValidPath)(i))return!1;const o=(0,Ds.getQueryString)(t);if(o&&!(0,Ds.isValidQueryString)(o))return!1;const r=(0,Ds.getFragment)(t);if(r&&!(0,Ds.isValidFragment)(r))return!1}return!((0,d.startsWith)(t,"#")&&!(0,Ds.isValidFragment)(t))}(t)?l((0,r.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive"):l(e?(0,r.__)("Link edited.","wordpress-seo"):(0,r.__)("Link inserted.","wordpress-seo"),"assertive")})(o)},forceIsEditingLink:s,hasTextControl:!0,settings:C})},u)}Ca.propTypes={isActive:h().bool,activeAttributes:h().object,addingLink:h().bool,value:h().object,onChange:h().func,speak:h().func.isRequired,stopAddingLink:h().func.isRequired,contentRef:h().object};const Ea=(0,x.withSpokenMessages)(Ca),Ia="core/link",La=(0,r.__)("Link","wordpress-seo"),Aa={name:Ia,title:La,tagName:"a",className:null,attributes:{url:"href",type:"type",id:"id",target:"target",rel:"rel",class:"class"},replaces:"core/link",__unstablePasteRule(e,{html:t,plainText:s}){if((0,a.isCollapsed)(e))return e;const i=(t||s).replace(/<[^>]+>/g,"").trim();return(0,Ds.isURL)(i)?(window.console.log("Created link:\n\n",i),(0,a.applyFormat)(e,{type:Ia,attributes:{url:(0,Ta.decodeEntities)(i)}})):e},edit:(0,x.withSpokenMessages)(class extends o.Component{constructor(){super(...arguments),this.addLink=this.addLink.bind(this),this.stopAddingLink=this.stopAddingLink.bind(this),this.onRemoveFormat=this.onRemoveFormat.bind(this),this.state={addingLink:!1}}addLink(){const{value:e,onChange:t}=this.props,s=(0,a.getTextContent)((0,a.slice)(e));s&&(0,Ds.isURL)(s)?t((0,a.applyFormat)(e,{type:Ia,attributes:{url:s}})):s&&(0,Ds.isEmail)(s)?t((0,a.applyFormat)(e,{type:Ia,attributes:{url:`mailto:${s}`}})):this.setState({addingLink:!0})}stopAddingLink(){this.setState({addingLink:!1}),this.props.onFocus()}onRemoveFormat(){const{value:e,onChange:t,speak:s}=this.props;t((0,a.removeFormat)(e,Ia)),s((0,r.__)("Link removed.","wordpress-seo"),"assertive")}render(){const{isActive:e,activeAttributes:t,value:s,onChange:i}=this.props,{RichTextToolbarButton:n,RichTextShortcut:a}=window.wp.blockEditor;return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(a,{type:"primary",character:"k",onUse:this.addLink}),(0,y.jsx)(a,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&(0,y.jsx)(n,{name:"link",icon:"editor-unlink",title:(0,r.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&(0,y.jsx)(n,{name:"link",icon:"admin-links",title:La,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&(0,y.jsx)(Ea,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:t,value:s,onChange:i,contentRef:this.props.contentRef})]})}})};function Fa(){const e=p();return(0,d.get)(e,"contentLocale","en_US")}const{updateReplacementVariable:Pa,updateData:Ma,hideReplacementVariables:qa,setContentImage:Oa,updateSettings:Na,setEditorDataContent:Da,setEditorDataTitle:Ua,setEditorDataExcerpt:Wa,setEditorDataImageUrl:$a,setEditorDataSlug:Ba}=c.actions,Ka=s.g.jQuery;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(s){(function(s){const a=p(),c=a.isPremium?"Yoast SEO Premium":"Yoast SEO",d=(0,y.jsx)(b,{});(0,e.updateCategory)("yoast-structured-data-blocks",{icon:d}),(0,e.updateCategory)("yoast-internal-linking-blocks",{icon:d}),(0,e.updateCategory)("yoast-ai-blocks",{icon:d});const u={isRtl:a.isRtl},h=s.getState().preferences,g=h.isKeywordAnalysisActive||h.isContentAnalysisActive,m=h.isKeywordAnalysisActive&&h.isWincherIntegrationActive;!function(){var e;const s="yoast-seo/document-panel",i=null===(e=(0,t.select)("core/preferences"))||void 0===e?void 0:e.get("core","openPanels");var o;i&&!i.includes(s)&&(null===(o=(0,t.dispatch)("core/editor"))||void 0===o||o.toggleEditorPanelOpened(s))}();const f={locationContext:"block-sidebar"},w={locationContext:"block-metabox"};(0,n.registerPlugin)("yoast-seo",{render:()=>(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(i.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:(0,y.jsx)(dr,{}),children:c}),(0,y.jsx)(i.PluginSidebar,{name:"seo-sidebar",title:c,children:(0,y.jsx)(l.Root,{context:f,children:(0,y.jsx)(sr,{store:s,theme:u})})}),(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(la,{store:s,theme:u}),(0,y.jsx)(l.Root,{context:w,children:(0,y.jsx)(er,{target:"wpseo-metabox-root",store:s,theme:u})})]}),g&&(0,y.jsx)(i.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,r.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,y.jsx)(o.Fragment,{}),children:(0,y.jsx)(Tr,{})}),(0,y.jsxs)(i.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,r.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,y.jsx)(o.Fragment,{}),children:[(0,y.jsx)(wr,{}),m&&(0,y.jsx)(da,{})]}),g&&(0,y.jsx)(i.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,r.__)("Yoast SEO","wordpress-seo"),icon:(0,y.jsx)(o.Fragment,{}),children:(0,y.jsx)(cr,{})})]}),icon:(0,y.jsx)(dr,{})})})(s),function(){if("function"==typeof(0,d.get)(window,"wp.blockEditor.__experimentalLinkControl")){const e=(0,t.select)("core/rich-text").getFormatType("core/link"),s=(0,t.select)("core/rich-text").getFormatType("core/unknown");void 0!==s&&(0,t.dispatch)("core/rich-text").removeFormatTypes("core/unknown"),[Aa].forEach((({name:s,replaces:i,...o})=>{if(i&&(0,t.dispatch)("core/rich-text").removeFormatTypes(i),s){const t=e&&"core/link"===s?{...e,...o}:o;(0,a.registerFormatType)(s,t)}})),void 0!==s&&(0,a.registerFormatType)("core/unknown",s)}else console.warn((0,r.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,r.sprintf)( // translators: %1$s expands to Yoast SEO. (0,r.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO"))}(),function(e){(0,t.select)("core/editor")&&(0,t.select)("core/block-editor")&&(0,d.isFunction)((0,t.select)("core/block-editor").getBlocks)&&(0,t.select)("core/annotations")&&(0,d.isFunction)((0,t.dispatch)("core/annotations").__experimentalAddAnnotation)&&e.dispatch(c.actions.setMarkerStatus("enabled"))}(s)},window.yoast.EditorData=class{constructor(e,t){this._refresh=e,this._store=t,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){var s,i;this._data=this.getInitialData(e),s=this._data,i=this._store,(0,d.forEach)(s,((e,t)=>{vs.includes(t)||i.dispatch(ws(t,e))})),this._store.dispatch(qa(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}getInitialData(e){const t=this.collectGutenbergData();return e=function(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,d.forEach)(e.custom_taxonomies,((e,t)=>{const{name:i,label:o,descriptionName:r,descriptionLabel:n}=function(e){const t=ks(e);return{name:"ct_"+t,label:bs(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:bs(e+" description (custom taxonomy)")}}(t),a="string"==typeof e.name?(0,ce.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,ce.decodeHTML)(e.description):e.description;s[i]={value:a,label:o},s[r]={value:l,label:n}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(s)),(0,d.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,d.forEach)(e.custom_fields,((e,s)=>{const{name:i,label:o}=function(e){return{name:"cf_"+ks(e),label:bs(e+" (custom field)")}}(s);t.dispatch(ws(i,e,o))})),(0,d.omit)({...e},"custom_fields")):e}(e,this._store),this._store),{...e,...t}}setRefresh(e){this._refresh=e}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(e.hasOwnProperty(s)&&(!(s in t)||e[s]!==t[s]))return!1;return!0}getMediaById(e){return this._coreDataSelect||(this._coreDataSelect=(0,t.select)("core")),this._coreDataSelect.getMedia(e)}getPostAttribute(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,t.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}getSlug(){if("auto-draft"===this.getPostAttribute("status"))return"";let e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");const t=this.getPostAttribute("slug")||e;try{return decodeURI(t)}catch(e){return t}}getPostBaseUrl(){const e=(0,t.select)("core/editor").getPermalinkParts();if(null===e||null==e||!e.prefix)return window.wpseoScriptData.metabox.base_url;let s=e.prefix;if((0,t.select)("core/editor").isEditedPostNew())try{const e=new URL(s);s=e.origin+e.pathname}catch(e){}return s.endsWith("/")||(s+="/"),s}collectGutenbergData(){let s=(0,t.select)("core/editor").getEditedPostContent();const i=(0,t.select)("core/editor").getEditorBlocks();1===i.length&&"core/freeform"===i[0].name&&(s=(0,e.getBlockContent)(i[0]));const o=this.calculateContentImage(s),r=this.getPostAttribute("excerpt")||"";return{content:s,title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:r||_s(s,"ja"===Fa()?80:156),excerpt_only:r,snippetPreviewImageURL:this.getFeaturedImage()||o,contentImage:o,baseUrl:this.getPostBaseUrl()}}getFeaturedImage(){const e=this.getPostAttribute("featured_media");if(e){const t=this.getMediaById(e);if(t)return t.source_url}return null}calculateContentImage(e){const t=G.languageProcessing.imageInText(e);if(0===t.length)return"";const s=Ka.parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}handleEditorChange(e){this._data.content!==e.content&&this._store.dispatch(Da(e.content)),this._data.title!==e.title&&(this._store.dispatch(Ua(e.title)),this._store.dispatch(Pa("title",e.title))),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Wa(e.excerpt)),this._store.dispatch(Pa("excerpt",e.excerpt)),this._store.dispatch(Pa("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&(this._store.dispatch(Ba(e.slug)),this._store.dispatch(Ma({slug:e.slug}))),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&(this._store.dispatch($a(e.snippetPreviewImageURL)),this._store.dispatch(Ma({snippetPreviewImageURL:e.snippetPreviewImageURL}))),this._data.contentImage!==e.contentImage&&this._store.dispatch(Oa(e.contentImage)),this._data.baseUrl!==e.baseUrl&&this._store.dispatch(Na({baseUrl:e.baseUrl}))}reapplyMarkers(){const{getActiveMarker:e,getMarkerPauseStatus:s}=(0,t.select)("yoast-seo/editor"),i=e(),o=s();i&&!o&&Sa()}refreshYoastSEO(){const e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}areNewAnalysisResultsAvailable(){const e=(0,t.select)("yoast-seo/editor"),s=e.getReadabilityResults(),i=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==s||this._previousSeoResults!==i)&&(this._previousReadabilityResults=s,this._previousSeoResults=i,!0)}onNewAnalysisResultsAvailable(){this.reapplyMarkers()}subscribeToGutenberg(){this._previousRenderingMode=(0,t.select)("core/editor").getRenderingMode&&(0,t.select)("core/editor").getRenderingMode(),this.subscriber=(0,d.debounce)((()=>{const e=(0,t.select)("core/editor").getRenderingMode&&(0,t.select)("core/editor").getRenderingMode();if(e!==this._previousRenderingMode)return this._previousRenderingMode=e,void this._refresh();this.refreshYoastSEO()}),500),(0,t.subscribe)(this.subscriber)}subscribeToYoastSEO(){this.yoastSubscriber=()=>{this.areNewAnalysisResultsAvailable()&&this.onNewAnalysisResultsAvailable()},(0,t.subscribe)(this.yoastSubscriber)}getData(){return this._data}}})()})(); dist/settings.js 0000644 00000043056 15174677550 0007736 0 ustar 00 (()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DISMISS_ALERT:()=>d});const i=window.wp.domReady;var s=e.n(i);const n=window.jQuery;var o=e.n(n);const a=window.wp.i18n,c=window.lodash,r=window.wp.data,l=window.yoast.externals.redux;function d({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}const{currentPromotions:m,dismissedAlerts:p,isPremium:h,linkParams:f,documentTitle:w}=l.reducers,{isAlertDismissed:g,getIsPremium:u,isPromotionActive:y,selectLinkParams:b,selectLink:v,selectDocumentFullTitle:E}=l.selectors,{dismissAlert:x,setCurrentPromotions:_,setDismissedAlerts:k,setLinkParams:P,setIsPremium:D,setDocumentTitle:z}=l.actions,S=window.wp.element,M=window.wp.url,T=window.yoast.styledComponents,j=window.yoast.propTypes;var A=e.n(j);const C=(0,window.wp.compose.compose)([(0,r.withSelect)(((e,t)=>{const{isAlertDismissed:i}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:i(t.alertKey)}})),(0,r.withDispatch)(((e,t)=>{const{dismissAlert:i}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>i(t.alertKey)}}))]),R=C,I=window.ReactJSXRuntime,O=({children:e,id:t,hasIcon:i=!0,title:s,image:n=null,isAlertDismissed:o,onDismissed:c})=>o?null:(0,I.jsxs)("div",{id:t,className:"notice-yoast yoast is-dismissible yoast-webinar-dashboard yoast-general-page-notices",children:[(0,I.jsxs)("div",{className:"notice-yoast__container",children:[(0,I.jsxs)("div",{children:[(0,I.jsxs)("div",{className:"notice-yoast__header",children:[i&&(0,I.jsx)("span",{className:"yoast-icon"}),(0,I.jsx)("h2",{className:"notice-yoast__header-heading yoast-notice-migrated-header",children:s})]}),(0,I.jsx)("div",{className:"notice-yoast-content",children:(0,I.jsx)("p",{children:e})})]}),n&&(0,I.jsx)(n,{height:"60"})]}),(0,I.jsx)("button",{type:"button",className:"notice-dismiss",onClick:c,children:(0,I.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,a.__)("Dismiss this notice.","wordpress-seo")})})]});O.propTypes={children:A().node.isRequired,id:A().string.isRequired,hasIcon:A().bool,title:A().any.isRequired,image:A().elementType,isAlertDismissed:A().bool.isRequired,onDismissed:A().func.isRequired};const L=R(O),N=window.React;var F,q,B,K,H,J,Q,U,V,W,X,Y,G,Z,$,ee,te,ie,se,ne,oe,ae,ce,re,le,de,me,pe,he,fe,we,ge,ue,ye,be,ve,Ee,xe,_e,ke,Pe,De,ze,Se,Me,Te,je;function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},Ae.apply(null,arguments)}const Ce=e=>N.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),F||(F=N.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),q||(q=N.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),B||(B=N.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),K||(K=N.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),H||(H=N.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),J||(J=N.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),Q||(Q=N.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),U||(U=N.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),V||(V=N.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),W||(W=N.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),X||(X=N.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),Y||(Y=N.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),G||(G=N.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),Z||(Z=N.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),$||($=N.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),ee||(ee=N.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),te||(te=N.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),ie||(ie=N.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),se||(se=N.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),ne||(ne=N.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),oe||(oe=N.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),ae||(ae=N.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),ce||(ce=N.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),re||(re=N.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),le||(le=N.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),de||(de=N.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),me||(me=N.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),pe||(pe=N.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),he||(he=N.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),fe||(fe=N.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),we||(we=N.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),ge||(ge=N.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),ue||(ue=N.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),ye||(ye=N.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),be||(be=N.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),ve||(ve=N.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Ee||(Ee=N.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),xe||(xe=N.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),_e||(_e=N.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),ke||(ke=N.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Pe||(Pe=N.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),De||(De=N.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ze||(ze=N.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Se||(Se=N.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),Me||(Me=N.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Te||(Te=N.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),je||(je=N.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Re=({store:e="yoast-seo/editor",image:t=Ce,url:i,...s})=>(0,r.useSelect)((t=>t(e).getIsPremium()))?null:(0,I.jsxs)(L,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,a.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:t,url:i,...s,children:[(0,a.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,I.jsx)("a",{href:i,target:"_blank",rel:"noreferrer",children:(0,a.__)("Sign up today!","wordpress-seo")})]});Re.propTypes={store:A().string,image:A().elementType,url:A().string.isRequired};const Ie=Re;var Oe;!function(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function i(){var t=e("#wpseo-conf");if(t.length){var i=t.attr("action").split("#")[0];t.attr("action",i+window.location.hash)}}function s(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function n(t){const i=e("#noindex-author-noposts-wpseo-container");t?i.show():i.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,i=t+e(this).outerHeight(),s=e(window).scrollTop(),n=s+e(window).height();return t>s&&i<n},e(window).on("hashchange",(function(){s(),i()})),window.setWPOption=function(t,i,s,n){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:i,_wpnonce:n},(function(t){t&&e("#"+s).hide()}))},window.wpseoCopyHomeMeta=t,window.wpseoSetTabHash=i,e(document).ready((function(){i(),"function"==typeof window.wpseoRedirectOldFeaturesTabToNewSettings&&window.wpseoRedirectOldFeaturesTabToNewSettings(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");const o=e("#noindex-author-wpseo-off"),r=e("#noindex-author-wpseo-on");o.is(":checked")||n(!1),r.on("change",(()=>{e(this).is(":checked")||n(!1)})),o.on("change",(()=>{e(this).is(":checked")||n(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#wpseo-tabs").find("a").on("click",(function(t){var i,s,n,o=!0;if(i=e(this),s=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,n=!!i.filter("#first-time-configuration-tab").length,s&&!n&&window.isStepBeingEdited&&(o=confirm((0,a.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),o){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var c=e(this).attr("id").replace("-tab",""),r=e("#"+c);r.addClass("active"),e(this).addClass("nav-tab-active"),r.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===c?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(t=>{const i=e(t.currentTarget),s=i.parent().siblings(".toggleable-container");s.toggleClass("toggleable-container-hidden"),i.attr("aria-expanded",!s.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));const l=e("#opengraph"),d=e("#wpseo-opengraph-settings");l.length&&d.length&&(d.toggle(l[0].checked),l.on("change",(e=>{d.toggle(e.target.checked)}))),t(),s(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),i=e("#wpseo-submit-container-fixed");if(!t.length||!i.length)return;function s(){t._wpseoIsInViewport()?i.hide():i.show()}e(window).on("resize scroll",(0,c.debounce)(s,100)),e(window).on("yoast-seo-tab-change",s);const n=e(".wpseo-message");n.length&&window.setTimeout((()=>{n.fadeOut()}),5e3),s()}()}))}(o()),wpseoScriptData&&(void 0!==wpseoScriptData.dismissedAlerts&&((Oe=(0,r.registerStore)("yoast-seo/settings",{reducer:(0,r.combineReducers)({currentPromotions:m,dismissedAlerts:p,isPremium:h,linkParams:f,documentTitle:w}),selectors:{isAlertDismissed:g,getIsPremium:u,isPromotionActive:y,selectLinkParams:b,selectDocumentFullTitle:E,selectLink:v},actions:{dismissAlert:x,setCurrentPromotions:_,setDismissedAlerts:k,setLinkParams:P,setIsPremium:D,setDocumentTitle:z},controls:t})).dispatch(k((0,c.get)(window,"wpseoScriptData.dismissedAlerts",{}))),Oe.dispatch(D(Boolean((0,c.get)(window,"wpseoScriptData.isPremium",!1)))),Oe.dispatch(_((0,c.get)(window,"wpseoScriptData.currentPromotions",{}))),Oe.dispatch(P((0,c.get)(window,"wpseoScriptData.linkParams",{})))),s()((()=>{(()=>{const e=document.getElementById("yst-settings-header-root"),t=Boolean((0,c.get)(window,"wpseoScriptData.isRtl",!1)),i=(0,r.select)("yoast-seo/settings").selectLinkParams(),s=(0,M.addQueryArgs)("https://yoa.st/webinar-intro-settings",i);e&&(0,S.createRoot)(e).render((0,I.jsx)(T.ThemeProvider,{theme:{isRtl:t},children:(0,I.jsx)(Ie,{store:"yoast-seo/settings",url:s})}))})()})))})(); dist/term-edit.js 0000644 00000165420 15174677550 0007770 0 ustar 00 (()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var i in s)e.o(s,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:s[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DISMISS_ALERT:()=>A,NEW_REQUEST:()=>D,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>M,wistiaEmbedPermission:()=>I});const s=window.wp.domReady;var i=e.n(s);const n=window.jQuery;var o=e.n(n);const a=window.lodash,r=window.wp.i18n;const c=window.wp.data,d=window.yoast.externals.redux,l=window.yoast.reduxJsToolkit,p="adminUrl",u=(0,l.createSlice)({name:p,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),h=(u.getInitialState,{selectAdminUrl:e=>(0,a.get)(e,p,"")});h.selectAdminLink=(0,l.createSelector)([h.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.reducer;const g=window.wp.apiFetch;var w=e.n(g);const f="hasConsent",y=(0,l.createSlice)({name:f,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),m=(y.getInitialState,y.actions,y.reducer,window.wp.url),b="linkParams",_=(0,l.createSlice)({name:b,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),S=(_.getInitialState,{selectLinkParam:(e,t,s={})=>(0,a.get)(e,`${b}.${t}`,s),selectLinkParams:e=>(0,a.get)(e,b,{})});S.selectLink=(0,l.createSelector)([S.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,m.addQueryArgs)(t,{...e,...s}))),_.actions,_.reducer;const v=(0,l.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:i,description:n})=>({payload:{id:e||(0,l.nanoid)(),variant:t,size:s,title:i||"",description:n}})},removeNotification:(e,{payload:t})=>(0,a.omit)(e,t)}}),k=(v.getInitialState,v.actions,v.reducer,"pluginUrl"),E=(0,l.createSlice)({name:k,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),x=(E.getInitialState,{selectPluginUrl:e=>(0,a.get)(e,k,"")});x.selectImageLink=(0,l.createSelector)([x.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,a.trimEnd)(e,"/"),(0,a.trim)(t,"/"),(0,a.trimStart)(s,"/")].join("/"))),E.actions,E.reducer;const R="wistiaEmbedPermission",O=(0,l.createSlice)({name:R,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${R}/request`,(e=>{e.status="loading"})),e.addCase(`${R}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${R}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,a.get)(t,"error.code",500),message:(0,a.get)(t,"error.message","Unknown")}}))}}),T=(O.getInitialState,O.actions,{[R]:async({payload:e})=>w()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});var P;O.reducer;const C=(0,l.createSlice)({name:"documentTitle",initialState:(0,a.defaultTo)(null===(P=document)||void 0===P?void 0:P.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}});function A({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function M({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}C.getInitialState,C.actions,C.reducer;const D=async({countryCode:e,keyphrase:t})=>(w()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}}),w()({path:(0,m.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:e})})),I=T[R];const F=window.yoast.analysis,B=window.wp.isShallowEqual,U="yoastmark";function Y(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function L(e,t,s){const i=e.dom;let n=e.getContent();if(n=F.markers.removeMarks(n),(0,a.isEmpty)(s))return void e.setContent(n);n=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,a.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const i=e[s];Y(i,t)||(t=i.applyWithPosition(t))}return t}(s,n):function(e,t,s,i){const{fieldsToMark:n,selectedHTML:o}=F.languageProcessing.getFieldsToMark(s,i);return(0,a.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=F.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=F.languageProcessing.normalizeHTML(t._properties.original)),n.length>0?o.forEach((e=>{const s=t.applyWithReplace(e);i=i.replace(e,s)})):i=t.applyWithReplace(i)})),i}(e,0,s,n),e.setContent(n),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const o=i.select(U);(0,a.forEach)(o,(function(e){e.setAttribute("data-mce-bogus","1")}))}function j(e){return window.test=e,L.bind(null,e)}const N="et_pb_main_editor_wrap",K=class{static isActive(){return!!document.getElementById(N)}static isTinyMCEHidden(){const e=document.getElementById(N);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(N),this.classicEditorContainer&&new MutationObserver((t=>{(0,a.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},q=class{static isActive(){return!!window.VCV_I18N}},Q={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},V=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){K.isActive()&&(this.diviActive=!0),q.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,a.defaults)(e,Q),this.diviActive&&(new K).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!K.isTinyMCEHidden())}};let W;const z="content",H="description";function $(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function G(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(i){const n=i.editor;n.id===e&&(0,a.forEach)(t,(function(e){n.on(e,s)}))}))}function J(){(0,a.isUndefined)(W)||W.dispatch(d.actions.setMarkerStatus("disabled"))}function X(){(0,a.isUndefined)(W)||W.dispatch(d.actions.setMarkerStatus("enabled"))}class Z{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,a.isString)(e)?(0,a.isUndefined)(t)||(0,a.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,i){if(!(0,a.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,a.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,a.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const n={callable:t,origin:s,priority:(0,a.isNumber)(i)?i:10};return(0,a.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(n),!0}_registerAssessment(e,t,s,i){return(0,a.isString)(t)?(0,a.isObject)(s)?(0,a.isString)(i)?(t=i+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+i+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+i+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let i=this.modifications[e];return!(0,a.isArray)(i)||i.length<1||(i=this._stripIllegalModifications(i),i.sort(((e,t)=>e.priority-t.priority)),(0,a.forEach)(i,(function(i){const n=i.callable(t,s);typeof n==typeof t?t=n:console.error("Modification with name "+e+" performed by plugin with name "+i.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,a.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,a.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,a.forEach)(this.plugins,(function(e,t){(0,a.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,a.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,a.isUndefined)(this.plugins[e])}}function ee(e,t,s){e("morphology",new F.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(d.actions.updateWordsToHighlight((0,a.uniq)((0,a.flatten)(s))))})).catch((()=>{t.dispatch(d.actions.updateWordsToHighlight([]))}))}const te=window.wp.api;function se(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}var ie={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},ne=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,a.defaults)(s,ie)};ne.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},ne.prototype.setSource=function(e){this.options.source=e},ne.prototype.hasScope=function(){return!(0,a.isEmpty)(this.options.scope)},ne.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},ne.prototype.inScope=function(e){return!this.hasScope()||(0,a.indexOf)(this.options.scope,e)>-1},ne.prototype.hasAlias=function(){return!(0,a.isEmpty)(this.options.aliases)},ne.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},ne.prototype.getAliases=function(){return this.options.aliases};const oe=ne,{removeReplacementVariable:ae,updateReplacementVariable:re,refreshSnippetEditor:ce}=d.actions;var de=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],le={},pe={},ue=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};ue.prototype.registerReplacements=function(){this.addReplacement(new oe("%%author_first_name%%","author_first_name")),this.addReplacement(new oe("%%author_last_name%%","author_last_name")),this.addReplacement(new oe("%%category%%","category")),this.addReplacement(new oe("%%category_title%%","category_title")),this.addReplacement(new oe("%%currentdate%%","currentdate")),this.addReplacement(new oe("%%currentday%%","currentday")),this.addReplacement(new oe("%%currentmonth%%","currentmonth")),this.addReplacement(new oe("%%currenttime%%","currenttime")),this.addReplacement(new oe("%%currentyear%%","currentyear")),this.addReplacement(new oe("%%date%%","date")),this.addReplacement(new oe("%%id%%","id")),this.addReplacement(new oe("%%page%%","page")),this.addReplacement(new oe("%%permalink%%","permalink")),this.addReplacement(new oe("%%post_content%%","post_content")),this.addReplacement(new oe("%%post_month%%","post_month")),this.addReplacement(new oe("%%post_year%%","post_year")),this.addReplacement(new oe("%%searchphrase%%","searchphrase")),this.addReplacement(new oe("%%sitedesc%%","sitedesc")),this.addReplacement(new oe("%%sitename%%","sitename")),this.addReplacement(new oe("%%userid%%","userid")),this.addReplacement(new oe("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new oe("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new oe("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new oe("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new oe("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new oe("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new oe("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new oe("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new oe("%%sep%%(\\s*%%sep%%)*","sep"))},ue.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},ue.prototype.subscribeToGutenberg=function(){if(!se())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const i=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==i&&t!==i)return t=i,i<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,a.isUndefined)(e[i])?void te.loadPromise.done((()=>{new te.models.Page({id:i}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[i]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[i],void this.declareReloaded())}))},ue.prototype.addReplacement=function(e){le[e.placeholder]=e},ue.prototype.removeReplacement=function(e){delete le[e.getPlaceholder()]},ue.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,a.forEach)(de,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},ue.prototype.replaceVariables=function(e){return(0,a.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},ue.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,a.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},ue.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},ue.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},ue.prototype.replacePlaceholders=function(e){return(0,a.forEach)(le,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},ue.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(ce())},ue.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},ue.prototype.parseTaxonomies=function(e,t){(0,a.isUndefined)(pe[t])&&(pe[t]={});const s=[];(0,a.forEach)(e,function(e){const i=(e=jQuery(e)).val(),n=this.getCategoryName(e),o=e.prop("checked");pe[t][i]={label:n,checked:o},o&&-1===s.indexOf(n)&&s.push(n)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(re(t,s.join(", ")))},ue.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},ue.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},ue.prototype.replaceCustomTaxonomy=function(e){return(0,a.forEach)(pe,function(t,s){var i="%%ct_"+s+"%%";"category"===s&&(i="%%"+s+"%%"),e=e.replace(i,this.getTaxonomyReplaceVar(s))}.bind(this)),e},ue.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=pe[e];return!0===(0,a.isUndefined)(s)?"":((0,a.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},ue.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),i=jQuery("#"+t.id+"-value").val();const n="cf_"+this.sanitizeCustomFieldNames(s),o=s+" (custom field)";this._store.dispatch(re(n,i,o)),this.addReplacement(new oe(`%%${n}%%`,i,{source:"direct"}))}.bind(this))},ue.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},ue.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},ue.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},ue.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},ue.prototype.removeCustomFields=function(){var e=(0,a.filter)(le,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,a.forEach)(e,function(e){this._store.dispatch(ae((0,a.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},ue.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),se()&&!(0,a.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},ue.prototype.hasParentTitle=function(e){return!(0,a.isUndefined)(e)&&!(0,a.isUndefined)(e.prop("options"))},ue.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===(0,r.__)("(no parent)","wordpress-seo")?"":t},ue.ReplaceVar=oe;const he=ue,ge=window.wp.hooks,we="[^<>&/\\[\\]\0- =]+?",fe=new RegExp("\\["+we+"( [^\\]]+?)?\\]","g"),ye=new RegExp("\\[/"+we+"\\]","g");class me{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:i},n){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=i,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const o="("+n.join("|")+")";this.shortcodesRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(fe,"")).replace(ye,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,a.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,a.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const be=me,{updateShortcodesForParsing:_e}=d.actions;function Se(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),i=jQuery("#wpseo-traffic-light-desc"),n=e.className||"na";t.attr("class","yst-traffic-light "+n),s.attr("aria-describedby","wpseo-traffic-light-desc"),i.length>0?i.text(e.screenReaderText):s.closest("li").append("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}function ve(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function ke(){return(0,a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function Ee(){const e=ke();return(0,a.get)(e,"contentLocale","en_US")}function xe(){const e=ke();return!0===(0,a.get)(e,"contentAnalysisActive",!1)}function Re(){const e=ke();return!0===(0,a.get)(e,"keywordAnalysisActive",!1)}function Oe(){const e=ke();return!0===(0,a.get)(e,"inclusiveLanguageAnalysisActive",!1)}const Te=window.yoast.featureFlag;function Pe(){}let Ce=!1;function Ae(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function Me(e,t,s,i,n){if(!Ce)return;const o=F.Paper.parse(t());e.analyze(o).then((a=>{const{result:{seo:r,readability:c,inclusiveLanguage:l}}=a;if(r){const e=r[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),e.results=Ae(e.results),i.dispatch(d.actions.setSeoResultsForKeyword(o.getKeyword(),e.results)),i.dispatch(d.actions.setOverallSeoScore(e.score,o.getKeyword())),i.dispatch(d.actions.refreshSnippetEditor()),n.saveScores(e.score,o.getKeyword())}c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),c.results=Ae(c.results),i.dispatch(d.actions.setReadabilityResults(c.results)),i.dispatch(d.actions.setOverallReadabilityScore(c.score)),i.dispatch(d.actions.refreshSnippetEditor()),n.saveContentScore(c.score)),l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),l.results=Ae(l.results),i.dispatch(d.actions.setInclusiveLanguageResults(l.results)),i.dispatch(d.actions.setOverallInclusiveLanguageScore(l.score)),i.dispatch(d.actions.refreshSnippetEditor()),n.saveInclusiveLanguageScore(l.score)),(0,ge.doAction)("yoast.analysis.refresh",a,{paper:o,worker:e,collectData:t,applyMarks:s,store:i,dataCollector:n})})).catch(Pe)}const De=window.wp.blocks,Ie="yoast-measurement-element";function Fe(e){let t=document.getElementById(Ie);return t||(t=function(){const e=document.createElement("div");return e.id=Ie,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}const Be=e=>(e=e.filter((e=>e.isValid))).map((e=>{const t=(0,De.serialize)([e],{isInnerBlocks:!1});return e.blockLength=t&&t.length,e.innerBlocks&&(e.innerBlocks=Be(e.innerBlocks)),e}));function Ue(e){return(0,a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(F.interpreters.scoreToRating(e))}const Ye=jQuery,Le=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._store=e.store};Le.prototype.getData=function(){const e={title:this.getSnippetTitle(),keyword:Re()?this.getKeyword():"",text:this.getText(),permalink:this.getPermalink(),snippetCite:this.getSnippetCite(),snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),name:this.getName(),baseUrl:this.getBaseUrl(),pageTitle:this.getSnippetTitle(),titleWidth:Fe(this.getSnippetTitle())},t=this._store.getState();return{...e,metaTitle:(0,a.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,a.get)(t,["snippetEditor","data","slug"],this.getSlug()),meta:(0,a.get)(t,["analysisData","snippet","description"],this.getSnippetMeta())}},Le.prototype.getKeyword=function(){return document.getElementById("hidden_wpseo_focuskw").value},Le.prototype.getText=function(){return function(e){let t="";var s;return t=!1===$(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}(H)},Le.prototype.getSlug=function(){return document.getElementById("slug").value},Le.prototype.getPermalink=function(){const e=this.getSlug();return this.getBaseUrl()+e+"/"},Le.prototype.getSnippetCite=function(){return this.getSlug()},Le.prototype.getSnippetTitle=function(){return document.getElementById("hidden_wpseo_title").value},Le.prototype.getSnippetMeta=function(){const e=document.getElementById("hidden_wpseo_desc");return e?e.value:""},Le.prototype.getName=function(){return document.getElementById("name").value},Le.prototype.getBaseUrl=function(){return wpseoScriptData.metabox.base_url},Le.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("hidden_wpseo_desc").value=e;break;case"snippet_cite":document.getElementById("slug").value=e;break;case"snippet_title":document.getElementById("hidden_wpseo_title").value=e}},Le.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},Le.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e)},Le.prototype.inputElementEventBinder=function(e){const t=["name",H,"slug","wpseo_focuskw"];for(let s=0;s<t.length;s++)null!==document.getElementById(t[s])&&document.getElementById(t[s]).addEventListener("input",e);!function(e,t){G(t,["input","change","cut","paste"],e),G(t,["hide"],J);const s=["show"];(new V).isPageBuilderActive()||s.push("init"),G(t,s,X),G("content",["focus"],(function(e){const t=e.target;(function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+U)})(t)&&(function(e){j(e)(null,[])}(t),YoastSEO.app.disableMarkers()),(0,a.isUndefined)(W)||W.dispatch(d.actions.setMarkerPauseStatus(!0))})),G("content",["blur"],(function(){(0,a.isUndefined)(W)||W.dispatch(d.actions.setMarkerPauseStatus(!1))}))}(e,H)},Le.prototype.saveScores=function(e){const t=Ue(e);document.getElementById("hidden_wpseo_linkdex").value=e,jQuery(window).trigger("YoastSEO:numericScore",e),Se(t),ve(t)},Le.prototype.saveContentScore=function(e){const t=Ue(e);Re()||(Se(t),ve(t)),Ye("#hidden_wpseo_content_score").val(e)},Le.prototype.saveInclusiveLanguageScore=function(e){const t=Ue(e);Re()||xe()||(Se(t),ve(t)),Ye("#hidden_wpseo_inclusive_language_score").val(e)};const je=Le;class Ne{constructor(){this._callbacks=[],this.register=this.register.bind(this)}register(e){(0,a.isFunction)(e)&&this._callbacks.push(e)}getData(){let e={};return this._callbacks.forEach((t=>{e=(0,a.merge)(e,t())})),e}}window.wp.annotations;const Ke=function(e){return(0,a.uniq)((0,a.flatten)(e.map((e=>{if(!(0,a.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},qe=window.wp.richText,Qe=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Ve}=F.helpers.htmlEntities,We=e=>{let t=0;return(0,a.forEachRight)(e,(e=>{const[s]=e;let i=s.length;/^<\/?br/.test(s)&&(i-=1),t+=i})),t},ze="<yoastmark class='yoast-text-mark'>",He="</yoastmark>",$e='<yoastmark class="yoast-text-mark">';function Ge(e,t,s,i,n){const o=i.clientId,r=(0,qe.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,a.flatMap)(n,(s=>{let n;return n=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,i,n){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const i="yoast/faq-block"===s?'<strong class="schema-faq-question">':'<strong class="schema-how-to-step-name">';return{blockStartOffset:e-=i.length,blockEndOffset:t-=i.length}})(t,o,s);t=e.blockStartOffset,o=e.blockEndOffset}if(i.slice(t,o)===n.slice(t,o))return[{startOffset:t,endOffset:o}];const r=((e,t,s)=>{const i=s.slice(0,e),n=s.slice(0,t),o=((e,t,s,i)=>{const n=[...e.matchAll(Qe)];s-=We(n);const o=[...t.matchAll(Qe)];return{blockStartOffset:s,blockEndOffset:i-=We(o)}})(i,n,e,t),r=((e,t,s,i)=>{let n=[...e.matchAll(Ve)];return(0,a.forEachRight)(n,(e=>{const[,t]=e;s-=t.length})),n=[...t.matchAll(Ve)],(0,a.forEachRight)(n,(e=>{const[,t]=e;i-=t.length})),{blockStartOffset:s,blockEndOffset:i}})(i,n,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=r.blockStartOffset,blockEndOffset:t=r.blockEndOffset}})(t,o,i);return[{startOffset:r.blockStartOffset,endOffset:r.blockEndOffset}]}return[]}(s,o,i.name,e,r):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),i=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),n=function(e,t,s=!0){const i=[];if(0===e.length)return i;let n,o=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(n=e.indexOf(t,o))>-1;)i.push(n),o=n+t.length;return i}(e,s);if(0===n.length)return[];const o=function(e){let t=e.indexOf(ze);const s=t>=0;s||(t=e.indexOf($e));let i=null;const n=[];for(;t>=0;){if(i=(e=s?e.replace(ze,""):e.replace($e,"")).indexOf(He),i<t)return[];e=e.replace(He,""),n.push({startOffset:t,endOffset:i}),t=s?e.indexOf(ze):e.indexOf($e),i=null}return n}(i),a=[];return o.forEach((e=>{n.forEach((i=>{const n=i+e.startOffset;let o=i+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=i+s.length),a.push({startOffset:n,endOffset:o})}))})),a}(r,s),n?n.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const Je=e=>e[0].toUpperCase()+e.slice(1),Xe=(e,t,s,i,n)=>(e=e.map((e=>{const o=`${e.id}-${n[0]}`,a=`${e.id}-${n[1]}`,r=Je(n[0]),c=Je(n[1]),d=e[`json${r}`],l=e[`json${c}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=Ge(d,o,s,i,p),g=Ge(l,a,s,i,u);return h.concat(g)})),(0,a.flattenDeep)(e)),Ze="yoast";let et=[];const tt={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function st(){const e=et.shift();e&&((0,c.dispatch)("core/annotations").__experimentalAddAnnotation(e),it())}function it(){(0,a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(st,{timeout:1e3}):setTimeout(st,150)}const nt=(e,t)=>{return(0,a.flatMap)((s=e.name,tt.hasOwnProperty(s)?tt[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];return 0===i.length?[]:Xe(i,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const i=t.attributes[e.key];if(i&&0===i.length)return[];const n=[];return"steps"===e.key&&n.push(Xe(i,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),n.push(Ge(i,"description",e,t,s))),(0,a.flattenDeep)(n)})(s,e,t):function(e,t,s){const i=e.key,n=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:(s||"").toString()})(t,i);return Ge(n,i,e,t,s)}(s,e,t)));var s};function ot(e,t){return(0,a.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?ot(e.innerBlocks,t):[];return nt(e,t).concat(s)}))}function at(e){et=[],(0,c.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Ze);const t=Ke(e);if(0===e.length)return;const s=(0,c.select)("core/block-editor"),i="template-locked"===(0,c.select)("core/editor").getRenderingMode(),n=s.getBlocksByName("core/post-content");let o=i&&null!=n&&n.length?s.getBlocks(n[0]):s.getBlocks();var a;t.length>0&&(o=o.filter((e=>t.some((t=>"core/"+t===e.name))))),a=ot(o,e),et=a.map((e=>({blockClientId:e.block,source:Ze,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),it()}function rt(e,t){let s;$(z)&&((0,a.isUndefined)(s)&&(s=j(tinyMCE.get(z))),s(e,t)),(0,c.select)("core/editor")&&(0,c.select)("core/block-editor")&&(0,a.isFunction)((0,c.select)("core/block-editor").getBlocks)&&(0,c.select)("core/annotations")&&(0,a.isFunction)((0,c.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>j(e))).forEach((s=>s(e,t)))}(e,t),at(t)),(0,ge.doAction)("yoast.analysis.applyMarks",t)}var ct=jQuery;function dt(e,t,s,i,n){this._scriptUrl=i,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=ct("#post_ID, [name=tag_ID]").val(),this._taxonomy=ct("[name=taxonomy]").val()||"",this._nonce=n,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}dt.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,a.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,a.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},dt.prototype.setKeyword=function(e){(0,a.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},dt.prototype.requestKeywordUsage=function(e){ct.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},dt.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,i=t.keyword_usage,n=t.post_types;i&&(0,a.isArray)(i)&&(this._keywordUsage[e]=i,this._usedKeywordsPostTypes[e]=n,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{refreshSnippetEditor:lt,updateData:pt,setFocusKeyword:ut,setCornerstoneContent:ht,setMarkerStatus:gt,setReadabilityResults:wt,setSeoResultsForKeyword:ft}=d.actions;function yt(e,t,s){var i,n;const o=new Ne;function r(){const e={slug:n.val()};window.YoastSEO.store.dispatch(pt(e))}function d(e){(0,a.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,a.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let l;function p(e,t){const s=l||"";l=e.getState().analysisData.snippet,!(0,B.isShallowEqualObjects)(s,l)&&t()}!function(){var l,u,h,g,w,f,y,m,b;h=jQuery(".term-description-wrap").find("td"),g=jQuery(".term-description-wrap").find("label"),w=h.find("textarea").val(),f=document.getElementById("wp-description-wrap"),y=h.find("p"),h.html(""),h.append(f).append(y),document.getElementById("description").value=w,g.replaceWith(g.html()),u=new je({store:t}),l={elementTarget:[H,"yoast_wpseo_focuskw","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:(m={},Re()&&(m.output="does-not-really-exist-but-it-needs-something"),xe()&&(m.contentOutput="also-does-not-really-exist-but-it-needs-something"),m),callbacks:{getData:u.getData.bind(u)},locale:wpseoScriptData.metabox.contentLocale,contentAnalysisActive:xe(),keywordAnalysisActive:Re(),debouncedRefresh:!1,researcher:new window.yoast.Researcher.default},Re()&&(t.dispatch(ut(u.getKeyword())),l.callbacks.saveScores=u.saveScores.bind(u),l.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(ft(s,e)),t.dispatch(lt())}),xe()&&(t.dispatch(gt("hidden")),l.callbacks.saveContentScore=u.saveContentScore.bind(u),l.callbacks.updatedContentResults=function(e){t.dispatch(wt(e)),t.dispatch(lt())}),i=new F.App(l),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=i,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,a.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,F.createWorker)(e),s=(0,a.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),i=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const n=t.innerHTML.slice(214),o=n.indexOf(","),a=n.slice(0,o-1);try{const e=/}}\s*\);/.exec(n).index+2,t=JSON.parse(n.slice(o+1,e));i.push([a,t])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:i}),new F.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,i,n,o){const r=(0,a.cloneDeep)(t.getState());(0,a.merge)(r,s.getData());const c=e.getData();let d=null;if(n){const e="template-locked"===(null==o?void 0:o.getRenderingMode()),t=n.getBlocksByName("core/post-content");d=e&&null!=t&&t.length?n.getBlocks(t[0]):n.getBlocks(),d=JSON.parse(JSON.stringify(d)),d=Be(d)}const l={text:c.content,textTitle:c.title,keyword:r.focusKeyword,synonyms:r.synonyms,description:r.analysisData.snippet.description||r.snippetEditor.data.description,title:r.analysisData.snippet.title||r.snippetEditor.data.title,slug:r.snippetEditor.data.slug,permalink:r.settings.snippetEditor.baseUrl+r.snippetEditor.data.slug,wpBlocks:d,date:r.settings.snippetEditor.date};i.loaded&&(l.title=i._applyModifications("data_page_title",l.title),l.title=i._applyModifications("title",l.title),l.description=i._applyModifications("data_meta_desc",l.description),l.text=i._applyModifications("content",l.text),l.wpBlocks=i._applyModifications("wpBlocks",l.wpBlocks));const p=r.analysisData.snippet.filteredSEOTitle;return l.titleWidth=Fe(p||r.snippetEditor.data.title),l.locale=Ee(),l.writingDirection=function(){let e="LTR";return ke().isRtl&&(e="RTL"),e}(),l.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],l.isFrontPage="1"===(0,a.get)(window,"wpseoScriptData.isFrontPage","0"),F.Paper.parse((0,ge.applyFilters)("yoast.analysis.data",l))}(s,window.YoastSEO.store,o,window.YoastSEO.app.pluggable),window.YoastSEO.analysis.applyMarks=(e,t)=>function(){const e=(0,c.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,c.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?a.noop:rt}()(e,t),window.YoastSEO.app.refresh=(0,a.debounce)((()=>Me(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500),window.YoastSEO.app.registerCustomDataCallback=o.register,window.YoastSEO.app.pluggable=new Z(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,a.isUndefined)(i.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(i.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(i.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Pe),window.YoastSEO.app.refresh()},function(e,t,s){const i=ke();if(!i.previouslyUsedKeywordActive)return;const n=new dt("get_term_keyword_usage",i,e,(0,a.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,a.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));n.init();let o={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==o.focusKeyword&&(o=e,n.setKeyword(e.focusKeyword))}))}(i.refresh,0,t),t.subscribe(p.bind(null,t,i.refresh)),Re()&&(i.seoAssessor=new F.TaxonomyAssessor(i.config.researcher),i.seoAssessorPresenter.assessor=i.seoAssessor),window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new he(i,t),function(e,t){let s=[];s=(0,ge.applyFilters)("yoast.analysis.shortcodes",s);const i=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>i.includes(e))),s.length>0&&(t.dispatch(_e(s)),window.YoastSEO.wp.shortcodePlugin=new me({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(i,t),window.YoastSEO.analyzerArgs=l,(n=e("#slug")).on("change",r),u.bindElementEvents((0,a.debounce)((()=>Me(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500)),Re()&&(Se(b=Ue(e("#hidden_wpseo_linkdex").val())),ve(b)),xe()&&function(){var t=Ue(e("#hidden_wpseo_content_score").val());Se(t),ve(t)}(),Oe()&&function(){const t=Ue(e("#hidden_wpseo_inclusive_language_score").val());Se(t),ve(t)}(),window.YoastSEO.analysis.worker.initialize(function(e={}){const t={locale:Ee(),contentAnalysisActive:xe(),keywordAnalysisActive:Re(),inclusiveLanguageAnalysisActive:Oe(),defaultQueryParams:(0,a.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,a.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,Te.enabledFeatures)()};return(0,a.merge)(t,e)}({useTaxonomy:!0})).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(Pe),d(i);const _=i.initAssessorPresenters.bind(i);i.initAssessorPresenters=function(){_(),d(i)};let S={title:(v=u).getSnippetTitle(),slug:v.getSnippetCite(),description:v.getSnippetMeta()};var v;!function(e){const s=document.getElementById("hidden_wpseo_is_cornerstone");let i="1"===s.value;t.dispatch(ht(i)),e.changeAssessorOptions({useCornerstone:i}),t.subscribe((()=>{const n=t.getState();n.isCornerstone!==i&&(i=n.isCornerstone,s.value=i?"1":"0",e.changeAssessorOptions({useCornerstone:i}))}))}(i);const k=function(e){const t={};if((0,a.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,a.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);S=function(e,t){const s={...e};return(0,a.forEach)(t,((t,i)=>{(0,a.has)(e,i)&&""===e[i]&&(s[i]=t)})),s}(S,k),t.dispatch(pt(S));let E=t.getState().focusKeyword;ee(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,E);const x=(0,a.debounce)((()=>{i.refresh()}),50);t.subscribe((()=>{const e=t.getState().focusKeyword;E!==e&&(E=e,ee(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,E),document.getElementById("hidden_wpseo_focuskw").value=E,x());const s=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(t),i=function(e,t){const s={...e};return(0,a.forEach)(t,((t,i)=>{(0,a.has)(e,i)&&e[i].trim()===t&&(s[i]="")})),s}(s,k);S.title!==s.title&&u.setDataFromSnippet(i.title,"snippet_title"),S.slug!==s.slug&&u.setDataFromSnippet(i.slug,"snippet_cite"),S.description!==s.description&&u.setDataFromSnippet(i.description,"snippet_meta"),S.title=s.title,S.slug=s.slug,S.description=s.description})),Ce=!0,window.YoastSEO.app.refresh()}()}window.yoastHideMarkers=!0,window.YoastReplaceVarPlugin=he,window.YoastShortcodePlugin=be;let mt=null;const bt=()=>{if(null===mt){const e=(0,c.dispatch)("yoast-seo/editor").runAnalysis;mt=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new Z(e)}return mt},_t=(e,t,s)=>bt().loaded?bt()._applyModifications(e,t,s):t;function St(){const{getAnalysisData:e,getEditorDataTitle:t,getIsFrontPage:s}=(0,c.select)("yoast-seo/editor");let i=e();i={...i,textTitle:t(),isFrontPage:s()};const n=function(e){return e.title=_t("data_page_title",e.title),e.title=_t("title",e.title),e.description=_t("data_meta_desc",e.description),e.text=_t("content",e.text),e}(i);return(0,ge.applyFilters)("yoast.analysis.data",n)}(0,a.debounce)((async function(e,t){const{text:s,...i}=t,n=new F.Paper(s,i);try{const t=await e.analyze(n),{seo:s,readability:i,inclusiveLanguage:o}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(n,e.marks)})),e.results=Ae(e.results),(0,c.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(n.getKeyword(),e.results),(0,c.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,n.getKeyword())}i&&(i.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(n,e.marks)})),i.results=Ae(i.results),(0,c.dispatch)("yoast-seo/editor").setReadabilityResults(i.results),(0,c.dispatch)("yoast-seo/editor").setOverallReadabilityScore(i.score)),o&&(o.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(n,e.marks)})),o.results=Ae(o.results),(0,c.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),(0,c.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),(0,ge.doAction)("yoast.analysis.run",t,{paper:n})}catch(e){}}),500);const vt=()=>{const{getContentLocale:e}=(0,c.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,St),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,c.dispatch)("yoast-seo/editor"),i=(0,a.get)(window,"YoastSEO.analysis.worker.runResearch",a.noop);return()=>{const n=F.Paper.parse(St());i("readingTime",n).then((t=>e(t.result))),i("getFleschReadingScore",n).then((e=>{e.result&&t(e.result)})),i("wordCountInText",n).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const i=e();(0,a.isEqual)(i,s)||(s=i,t((0,a.clone)(i)))}})(t,s)};i()((()=>{window.wpseoTermScraperL10n=window.wpseoScriptData.metabox,function(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function s(){var t=e("#wpseo-conf");if(t.length){var s=t.attr("action").split("#")[0];t.attr("action",s+window.location.hash)}}function i(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function n(t){const s=e("#noindex-author-noposts-wpseo-container");t?s.show():s.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,s=t+e(this).outerHeight(),i=e(window).scrollTop(),n=i+e(window).height();return t>i&&s<n},e(window).on("hashchange",(function(){i(),s()})),window.setWPOption=function(t,s,i,n){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:s,_wpnonce:n},(function(t){t&&e("#"+i).hide()}))},window.wpseoCopyHomeMeta=t,window.wpseoSetTabHash=s,e(document).ready((function(){s(),"function"==typeof window.wpseoRedirectOldFeaturesTabToNewSettings&&window.wpseoRedirectOldFeaturesTabToNewSettings(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");const o=e("#noindex-author-wpseo-off"),c=e("#noindex-author-wpseo-on");o.is(":checked")||n(!1),c.on("change",(()=>{e(this).is(":checked")||n(!1)})),o.on("change",(()=>{e(this).is(":checked")||n(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#wpseo-tabs").find("a").on("click",(function(t){var s,i,n,o=!0;if(s=e(this),i=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,n=!!s.filter("#first-time-configuration-tab").length,i&&!n&&window.isStepBeingEdited&&(o=confirm((0,r.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),o){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var a=e(this).attr("id").replace("-tab",""),c=e("#"+a);c.addClass("active"),e(this).addClass("nav-tab-active"),c.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===a?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(t=>{const s=e(t.currentTarget),i=s.parent().siblings(".toggleable-container");i.toggleClass("toggleable-container-hidden"),s.attr("aria-expanded",!i.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));const d=e("#opengraph"),l=e("#wpseo-opengraph-settings");d.length&&l.length&&(l.toggle(d[0].checked),d.on("change",(e=>{l.toggle(e.target.checked)}))),t(),i(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),s=e("#wpseo-submit-container-fixed");if(!t.length||!s.length)return;function i(){t._wpseoIsInViewport()?s.hide():s.show()}e(window).on("resize scroll",(0,a.debounce)(i,100)),e(window).on("yoast-seo-tab-change",i);const n=e(".wpseo-message");n.length&&window.setTimeout((()=>{n.fadeOut()}),5e3),i()}()}))}(o()),function(e){function t(e){e&&(e.focus(),e.click())}function s(){if(e(".wpseo-meta-section").length>0){const t=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),t.on("click",(function(s){var i=e(this).attr("id"),n=e(this).attr("href"),o=e(n);s.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===n&&e(".wpseo-meta-section-react").addClass("active"),o.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const a=function(e,t={}){return new CustomEvent("YoastSEO:metaTabChange",{detail:t})}(0,{metaTabId:i});window.dispatchEvent(a),this&&(t.attr({"aria-selected":"false",tabIndex:"-1"}),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}}window.wpseoInitTabs=s,window.wpseo_init_tabs=s,e(".wpseo-meta-section").each((function(t,s){e(s).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),function(){const s=e(".yoast-aria-tabs"),i=s.find("[role='tab']"),n=s.attr("aria-orientation")||"horizontal";i.attr({"aria-selected":!1,tabIndex:"-1"}),i.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),i.on("keydown",(function(s){-1!==[32,35,36,37,38,39,40].indexOf(s.which)&&("horizontal"===n&&-1!==[38,40].indexOf(s.which)||"vertical"===n&&-1!==[37,39].indexOf(s.which)||function(s,i){const n=s.which,o=i.index(e(s.target));switch(n){case 32:s.preventDefault(),t(i[o]);break;case 35:s.preventDefault(),t(i[i.length-1]);break;case 36:s.preventDefault(),t(i[0]);break;case 37:case 38:s.preventDefault(),t(i[o-1<0?i.length-1:o-1]);break;case 39:case 40:s.preventDefault(),t(i[o+1===i.length?0:o+1])}}(s,i))}))}()}(o());const e=function(){const e=(0,c.registerStore)("yoast-seo/editor",{reducer:(0,c.combineReducers)(d.reducers),selectors:d.selectors,actions:(0,a.pickBy)(d.actions,(e=>"function"==typeof e)),controls:t});return(e=>{e.dispatch(d.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.sitewideSocialImage,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(d.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(d.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(d.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(d.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(d.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(d.actions.setDismissedAlerts((0,a.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(d.actions.setCurrentPromotions((0,a.get)(window,"wpseoScriptData.currentPromotions",[]))),e.dispatch(d.actions.setIsPremium(Boolean((0,a.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(d.actions.setPostId(Number((0,a.get)(window,"wpseoScriptData.postId",null)))),e.dispatch(d.actions.setAdminUrl((0,a.get)(window,"wpseoScriptData.adminUrl",""))),e.dispatch(d.actions.setLinkParams((0,a.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(d.actions.setPluginUrl((0,a.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(d.actions.setWistiaEmbedPermissionValue("1"===(0,a.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(e),e}();window.yoast.initEditorIntegration(e);const s=new window.yoast.EditorData(a.noop,e,H);s.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars),yt(o(),e,s),(()=>{if((0,c.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,c.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,c.subscribe)((0,a.debounce)(vt(),1500,{maxWait:3e3}))})()}))})(); dist/classic-editor.js 0000644 00000424051 15174677550 0011001 0 ustar 00 (()=>{var e={4184:(e,t)=>{var s;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var r=typeof s;if("string"===r||"number"===r)e.push(s);else if(Array.isArray(s)){if(s.length){var n=o.apply(null,s);n&&e.push(n)}}else if("object"===r){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)i.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(s=function(){return o}.apply(t,[]))||(e.exports=s)}()}},t={};function s(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.element,t=window.wp.components,i=window.yoast.propTypes;var o=s.n(i);const r=window.yoast.uiLibrary,n=window.lodash,a=window.wp.data;const l=window.React;var c=s.n(l);l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));const d=window.wp.i18n,p=(t,s)=>{try{return(0,e.createInterpolateElement)(t,s)}catch(e){return console.error("Error in translation for:",t,e),t}},u=window.ReactJSXRuntime;o().string.isRequired;const h=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),g=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));o().string.isRequired,o().string.isRequired,o().shape({src:o().string.isRequired,width:o().string,height:o().string}).isRequired,o().shape({value:o().bool.isRequired,status:o().string.isRequired,set:o().func.isRequired}).isRequired,o().string,o().string,o().string;const m=({handleRefreshClick:e,supportLink:t})=>(0,u.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,u.jsx)(r.Button,{onClick:e,children:(0,d.__)("Refresh this page","wordpress-seo")}),(0,u.jsx)(r.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,d.__)("Contact support","wordpress-seo")})]});m.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const y=({handleRefreshClick:e,supportLink:t})=>(0,u.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,u.jsx)(r.Button,{className:"yst-order-last",onClick:e,children:(0,d.__)("Refresh this page","wordpress-seo")}),(0,u.jsx)(r.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,d.__)("Contact support","wordpress-seo")})]});y.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const w=({error:e,children:t=null})=>(0,u.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,u.jsx)(r.Title,{children:(0,d.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,u.jsx)("p",{children:(0,d.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,u.jsx)(r.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,d.__)("Undefined error message.","wordpress-seo")}),(0,u.jsx)("p",{children:(0,d.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});w.propTypes={error:o().object.isRequired,children:o().node},w.VerticalButtons=y,w.HorizontalButtons=m;o().string,o().node.isRequired,o().node.isRequired,o().node,o().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const f=window.ReactDOM;var x,b,v;(b=x||(x={})).Pop="POP",b.Push="PUSH",b.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const k=["post","put","patch","delete"],_=(new Set(k),["get",...k]);new Set(_),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),l.Component,l.startTransition,new Promise((()=>{})),l.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var T,R,j,S;new Map,l.startTransition,f.flushSync,l.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(S=T||(T={})).UseScrollRestoration="useScrollRestoration",S.UseSubmit="useSubmit",S.UseSubmitFetcher="useSubmitFetcher",S.UseFetcher="useFetcher",S.useViewTransitionState="useViewTransitionState",(j=R||(R={})).UseFetcher="useFetcher",j.UseFetchers="useFetchers",j.UseScrollRestoration="useScrollRestoration",o().string.isRequired,o().string;o().string.isRequired,o().node;const I=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));(0,d.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,d.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,d.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,d.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,d.__)("Add product details to help your listings stand out","wordpress-seo"),(0,d.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,d.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,d.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,d.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,d.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,d.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,d.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,d.__)("Internal links and redirect management, easy","wordpress-seo"),(0,d.__)("Access to friendly help when you need it, day or night","wordpress-seo");var C=s(4184),E=s.n(C);var L;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},A.apply(null,arguments)}o().string.isRequired,o().object.isRequired,o().func.isRequired,l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));const q=e=>l.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),L||(L=l.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));o().string.isRequired,o().object,o().func.isRequired,o().bool.isRequired,o().string.isRequired,o().object.isRequired,o().string.isRequired,o().func.isRequired,o().bool.isRequired,l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),o().bool.isRequired,o().func,o().func,o().string.isRequired,o().string.isRequired,o().string.isRequired,o().string.isRequired;window.yoast.reactHelmet;o().string.isRequired,o().shape({src:o().string.isRequired,width:o().string,height:o().string}).isRequired,o().shape({value:o().bool.isRequired,status:o().string.isRequired,set:o().func.isRequired}).isRequired,o().bool,l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),o().bool.isRequired,o().func.isRequired,o().func,o().string,o().func.isRequired,o().string.isRequired,o().string.isRequired,o().string.isRequired,o().string.isRequired;const F=window.yoast.componentsNew,P=window.yoast.styleGuide,M=window.yoast.analysis;function D(e){switch(e){case"loading":return{icon:"loading-spinner",color:P.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:P.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:P.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:P.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:P.colors.$color_ok};default:return{icon:"seo-score-bad",color:P.colors.$color_red}}}function O({target:t,children:s}){let i=t;return"string"==typeof t&&(i=document.getElementById(t)),i?(0,e.createPortal)(s,i):null}O.propTypes={target:o().oneOfType([o().string,o().object]).isRequired,children:o().node.isRequired};const N=({target:e,scoreIndicator:t})=>(0,u.jsx)(O,{target:e,children:(0,u.jsx)(F.SvgIcon,{...D(t)})});N.propTypes={target:o().string.isRequired,scoreIndicator:o().string.isRequired};const U=N,W=({error:t})=>{const s=(0,e.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),i=(0,a.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),o=(0,a.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,e.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,u.jsx)(r.Root,{context:{isRtl:o},children:(0,u.jsxs)(w,{error:t,children:[(0,u.jsx)(w.HorizontalButtons,{supportLink:i,handleRefreshClick:s}),(0,u.jsx)(U,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,u.jsx)(U,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,u.jsx)(U,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})]})})};W.propTypes={error:o().object.isRequired};const $=window.yoast.externals.contexts,B=window.yoast.styledComponents;var H=s.n(B);const K=({theme:e,location:t,children:s})=>(0,u.jsx)($.LocationProvider,{value:t,children:(0,u.jsx)(B.ThemeProvider,{theme:e,children:s})});K.propTypes={theme:o().object.isRequired,location:o().oneOf(["sidebar","metabox","modal"]).isRequired,children:o().node.isRequired};const Y=K;function z({theme:e}){return(0,u.jsx)(Y,{theme:e,location:"metabox",children:(0,u.jsx)(r.ErrorBoundary,{FallbackComponent:W,children:(0,u.jsx)(t.Slot,{name:"YoastMetabox",children:e=>{return void 0===(t=e).length?t:(0,n.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t}})})})}const V=window.wp.compose,G=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),Z=({className:e="",...t})=>(0,u.jsx)("span",{className:E()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp","yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-start",e),...t});Z.displayName="MetaboxButton.Text",Z.propTypes={className:o().string};const X=({className:e="",...t})=>(0,u.jsx)("button",{type:"button",className:E()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pe-4 yst-ps-6 yst-space-x-2 rtl:yst-space-x-reverse","yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0]","focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...t});X.propTypes={className:o().string},X.Text=Z;const Q=window.yoast.helpers,J=H().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } `,ee=(H().div` @media screen and ( min-width: 600px ) { max-width: 420px; } `,H()(F.Icon)` float: ${(0,Q.getDirectionalStyle)("right","left")}; margin: ${(0,Q.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; && { width: 150px; height: 150px; @media screen and ( max-width: 680px ) { width: 80px; height: 80px; } } `,({title:e="Yoast SEO",className:s="yoast yoast-gutenberg-modal",showYoastIcon:i=!0,children:o=null,additionalClassName:r="",...n})=>{const a=i?(0,u.jsx)("span",{className:"yoast-icon"}):null;return(0,u.jsx)(t.Modal,{title:e,className:`${s} ${r}`,icon:a,...n,children:o})});ee.propTypes={title:o().string,className:o().string,showYoastIcon:o().bool,children:o().oneOfType([o().node,o().arrayOf(o().node)]),additionalClassName:o().string};const te=ee;var se,ie;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},oe.apply(null,arguments)}const re=e=>l.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),se||(se=l.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),ie||(ie=l.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),ne=({onClick:e,title:t,id:s="",subTitle:i="",suffixIcon:o=null,SuffixHeroIcon:r=null,prefixIcon:n=null,children:a=null})=>(0,u.jsx)("div",{className:"yoast components-panel__body",children:(0,u.jsx)("h2",{className:"components-panel__body-title",children:(0,u.jsxs)("button",{id:s,onClick:e,className:"components-button components-panel__body-toggle",type:"button",children:[n&&(0,u.jsx)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`},children:(0,u.jsx)(F.SvgIcon,{size:n.size,icon:n.icon})}),(0,u.jsxs)("span",{className:"yoast-title-container",children:[(0,u.jsx)("div",{className:"yoast-title",children:t}),(0,u.jsx)("div",{className:"yoast-subtitle",children:i})]}),a,o&&(0,u.jsx)(F.SvgIcon,{size:o.size,icon:o.icon}),r]})})}),ae=ne;ne.propTypes={onClick:o().func.isRequired,title:o().string.isRequired,id:o().string,subTitle:o().string,suffixIcon:o().object,SuffixHeroIcon:o().element,prefixIcon:o().object,children:o().node};const le=window.moment;var ce=s.n(le);const de=window.wp.apiFetch;var pe=s.n(de);async function ue(e,t,s,i=200){try{const o=await e();return!!o&&(o.status===i?t(o):s(o))}catch(e){console.error(e.message)}}async function he(e){try{return await pe()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function ge(e){return(0,n.isArray)(e)||(e=[e]),await he({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const me=({data:e,mapChartDataToTableData:t=null,dataTableCaption:s,dataTableHeaderLabels:i,isDataTableVisuallyHidden:o=!0})=>e.length!==i.length?(0,u.jsx)("p",{children:(0,d.__)("The number of headers and header labels don't match.","wordpress-seo")}):(0,u.jsx)("div",{className:o?"screen-reader-text":null,children:(0,u.jsxs)("table",{children:[(0,u.jsx)("caption",{children:s}),(0,u.jsx)("thead",{children:(0,u.jsx)("tr",{children:i.map(((e,t)=>(0,u.jsx)("th",{children:e},t)))})}),(0,u.jsx)("tbody",{children:(0,u.jsx)("tr",{children:e.map(((e,s)=>(0,u.jsx)("td",{children:t(e.y)},s)))})})]})});me.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool};const ye=me,we=({data:t,width:s,height:i,fillColor:o=null,strokeColor:r="#000000",strokeWidth:n=1,className:a="",mapChartDataToTableData:l=null,dataTableCaption:c,dataTableHeaderLabels:d,isDataTableVisuallyHidden:p=!0})=>{const h=Math.max(1,Math.max(...t.map((e=>e.x)))),g=Math.max(1,Math.max(...t.map((e=>e.y)))),m=i-n,y=t.map((e=>`${e.x/h*s},${m-e.y/g*m+n}`)).join(" "),w=`0,${m+n} `+y+` ${s},${m+n}`;return(0,u.jsxs)(e.Fragment,{children:[(0,u.jsxs)("svg",{width:s,height:i,viewBox:`0 0 ${s} ${i}`,className:a,role:"img","aria-hidden":"true",focusable:"false",children:[(0,u.jsx)("polygon",{fill:o,points:w}),(0,u.jsx)("polyline",{fill:"none",stroke:r,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:y})]}),l&&(0,u.jsx)(ye,{data:t,mapChartDataToTableData:l,dataTableCaption:c,dataTableHeaderLabels:d,isDataTableVisuallyHidden:p})]})};we.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,width:o().number.isRequired,height:o().number.isRequired,fillColor:o().string,strokeColor:o().string,strokeWidth:o().number,className:o().string,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool};const fe=we,xe=()=>(0,u.jsxs)("p",{className:"yoast-wincher-seo-performance-modal__loading-message",children:[(0,d.__)("Tracking the ranking position…","wordpress-seo")," ",(0,u.jsx)(F.SvgIcon,{icon:"loading-spinner"})]}),be=H()(F.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; `,ve=H().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; `,ke=H().td` padding-right: 0 !important; & > div { margin: 0px; } `,_e=H().td` padding-left: 2px !important; `,Te=H().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } `,Re=H().div` display: flex; align-items: center; & > a { box-sizing: border-box; } `,je=H().button` background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; display: flex; align-items: center; `,Se=H().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; `;function Ie(e){return Math.round(100*e)}function Ce({chartData:e={}}){if((0,n.isEmpty)(e)||(0,n.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,d.sprintf)((0,d._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:31-e.value})));return(0,u.jsx)(fe,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Ie,dataTableCaption:(0,d.__)("Keyphrase position in the last 90 days on a scale from 0 to 30.","wordpress-seo"),dataTableHeaderLabels:t})}function Ee({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:i}){return i?(0,u.jsx)(F.SvgIcon,{icon:"loading-spinner"}):(0,u.jsx)(F.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}function Le(e){return!e||!e.position||e.position.value>30?"> 30":e.position.value}Ce.propTypes={chartData:o().object};const Ae=e=>ce()(e).fromNow(),qe=({rowData:t={}})=>{var s;if(null==t||null===(s=t.position)||void 0===s||!s.change)return(0,u.jsx)(Ce,{chartData:t});const i=t.position.change<0;return(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)(Ce,{chartData:t}),(0,u.jsx)(ve,{isImproving:i,children:Math.abs(t.position.change)}),(0,u.jsx)(be,{icon:"caret-right",color:i?"#69AB56":"#DC3332",size:"14px",isImproving:i})]})};function Fe({rowData:t,websiteId:s,keyphrase:i,onSelectKeyphrases:o}){const r=(0,e.useCallback)((()=>{o([i])}),[o,i]),a=!(0,n.isEmpty)(t),l=t&&t.updated_at&&ce()(t.updated_at)>=ce()().subtract(7,"days"),c=t?`https://app.wincher.com/websites/${s}/keywords?serp=${t.id}&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast`:null;return a?l?(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)("td",{children:(0,u.jsxs)(Re,{children:[Le(t),(0,u.jsx)(F.ButtonStyledLink,{variant:"secondary",href:c,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank",children:(0,d.__)("View","wordpress-seo")})]})}),(0,u.jsx)("td",{className:"yoast-table--nopadding",children:(0,u.jsx)(je,{type:"button",onClick:r,children:(0,u.jsx)(qe,{rowData:t})})}),(0,u.jsx)("td",{children:Ae(t.updated_at)})]}):(0,u.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,u.jsx)(xe,{})}):(0,u.jsx)("td",{className:"yoast-table--nopadding",colSpan:"3",children:(0,u.jsx)("i",{children:(0,d.__)("Activate tracking to show the ranking position","wordpress-seo")})})}function Pe({keyphrase:t,rowData:s={},onTrackKeyphrase:i=n.noop,onUntrackKeyphrase:o=n.noop,isFocusKeyphrase:r=!1,isDisabled:a=!1,isLoading:l=!1,websiteId:c="",isSelected:d,onSelectKeyphrases:p}){var h;const g=!(0,n.isEmpty)(s),m=!(0,n.isEmpty)(null==s||null===(h=s.position)||void 0===h?void 0:h.history),y=(0,e.useCallback)((()=>{a||(g?o(t,s.id):i(t))}),[t,i,o,g,s,a]),w=(0,e.useCallback)((()=>{p((e=>d?e.filter((e=>e!==t)):e.concat(t)))}),[p,d,t]);return(0,u.jsxs)(Se,{isEnabled:g,children:[(0,u.jsx)(ke,{children:m&&(0,u.jsx)(F.Checkbox,{id:"select-"+t,onChange:w,checked:d,label:""})}),(0,u.jsxs)(_e,{children:[t,r&&(0,u.jsx)("span",{children:"*"})]}),Fe({rowData:s,websiteId:c,keyphrase:t,onSelectKeyphrases:p}),(0,u.jsx)(Te,{children:Ee({keyphrase:t,isEnabled:g,toggleAction:y,isLoading:l})})]})}qe.propTypes={rowData:o().object},Pe.propTypes={rowData:o().object,keyphrase:o().string.isRequired,onTrackKeyphrase:o().func,onUntrackKeyphrase:o().func,isFocusKeyphrase:o().bool,isDisabled:o().bool,isLoading:o().bool,websiteId:o().string,isSelected:o().bool.isRequired,onSelectKeyphrases:o().func.isRequired};const Me=(0,Q.makeOutboundLink)(),De=H().span` display: block; font-style: italic; @media (min-width: 782px) { display: inline; position: absolute; ${(0,Q.getDirectionalStyle)("right","left")}: 8px; } `,Oe=H().div` width: 100%; overflow-y: auto; `,Ne=H().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } `,Ue=H().th` padding-left: 2px !important; `,We=t=>{const s=(0,e.useRef)();return(0,e.useEffect)((()=>{s.current=t})),s.current},$e=(0,n.debounce)((async function(e=null,t=null,s=null,i){return await he({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:i})}),500,{leading:!0}),Be=({addTrackedKeyphrase:t,isLoggedIn:s=!1,isNewlyAuthenticated:i=!1,keyphrases:o=[],newRequest:r,removeTrackedKeyphrase:a,setRequestFailed:l,setKeyphraseLimitReached:c,setRequestSucceeded:p,setTrackedKeyphrases:h,setHasTrackedAll:g,trackAll:m=!1,trackedKeyphrases:y=null,websiteId:w="",permalink:f,focusKeyphrase:x="",startAt:b=null,selectedKeyphrases:v,onSelectKeyphrases:k})=>{const _=(0,e.useRef)(),T=(0,e.useRef)(),R=(0,e.useRef)(!1),[j,S]=(0,e.useState)([]),I=(0,e.useCallback)((e=>{const t=e.toLowerCase();return y&&!(0,n.isEmpty)(y)&&y.hasOwnProperty(t)?y[t]:null}),[y]),C=(0,e.useMemo)((()=>async()=>{await ue((()=>(T.current&&T.current.abort(),T.current="undefined"==typeof AbortController?null:new AbortController,$e(o,b,f,T.current.signal))),(e=>{p(e),h(e.results)}),(e=>{l(e)}))}),[p,l,h,o,f,b]),E=(0,e.useCallback)((async e=>{const s=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));S((e=>[...e,...s])),await ue((()=>ge(s)),(e=>{p(e),t(e.results),C()}),(e=>{400===e.status&&e.limit&&c(e.limit),l(e)}),201),S((e=>(0,n.without)(e,...s)))}),[p,l,c,t,C]),L=(0,e.useCallback)((async(e,t)=>{e=e.toLowerCase(),S((t=>[...t,e])),await ue((()=>async function(e){return await he({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{p(t),a(e)}),(e=>{l(e)})),S((t=>(0,n.without)(t,e)))}),[p,a,l]),A=(0,e.useCallback)((async e=>{r(),await E(e)}),[r,E]),q=We(f),P=We(o),M=We(b),D=f&&b;(0,e.useEffect)((()=>{s&&D&&(f!==q||(0,n.difference)(o,P).length||b!==M)&&C()}),[s,f,q,o,P,C,D,b,M]),(0,e.useEffect)((()=>{if(s&&m&&null!==y){const e=o.filter((e=>!I(e)));e.length&&E(e),g()}}),[s,m,y,E,g,I,o]),(0,e.useEffect)((()=>{i&&!R.current&&(C(),R.current=!0)}),[i,C]),(0,e.useEffect)((()=>{if(s&&!(0,n.isEmpty)(y))return(0,n.filter)(y,(e=>(0,n.isEmpty)(e.updated_at))).length>0&&(_.current=setInterval((()=>{C()}),1e4)),()=>{clearInterval(_.current)}}),[s,y,C]);const O=s&&null===y,N=(0,e.useMemo)((()=>(0,n.isEmpty)(y)?[]:Object.values(y).filter((e=>{var t;return!(0,n.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[y]),U=(0,e.useMemo)((()=>v.length>0&&N.length>0&&N.every((e=>v.includes(e)))),[v,N]),W=(0,e.useCallback)((()=>{k(U?[]:N)}),[k,U,N]),$=(0,e.useMemo)((()=>(0,n.orderBy)(o,[e=>Object.values(y||{}).map((e=>e.keyword)).includes(e)],["desc"])),[o,y]);return o&&!(0,n.isEmpty)(o)&&(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)(Oe,{children:(0,u.jsxs)("table",{className:"yoast yoast-table",children:[(0,u.jsx)("thead",{children:(0,u.jsxs)("tr",{children:[(0,u.jsx)(Ne,{isDisabled:0===N.length,children:(0,u.jsx)(F.Checkbox,{id:"select-all",onChange:W,checked:U,label:""})}),(0,u.jsx)(Ue,{scope:"col",abbr:(0,d.__)("Keyphrase","wordpress-seo"),children:(0,d.__)("Keyphrase","wordpress-seo")}),(0,u.jsx)("th",{scope:"col",abbr:(0,d.__)("Position","wordpress-seo"),children:(0,d.__)("Position","wordpress-seo")}),(0,u.jsx)("th",{scope:"col",abbr:(0,d.__)("Position over time","wordpress-seo"),children:(0,d.__)("Position over time","wordpress-seo")}),(0,u.jsx)("th",{scope:"col",abbr:(0,d.__)("Last updated","wordpress-seo"),children:(0,d.__)("Last updated","wordpress-seo")}),(0,u.jsx)("th",{scope:"col",abbr:(0,d.__)("Tracking","wordpress-seo"),children:(0,d.__)("Tracking","wordpress-seo")})]})}),(0,u.jsx)("tbody",{children:$.map(((e,t)=>(0,u.jsx)(Pe,{keyphrase:e,onTrackKeyphrase:A,onUntrackKeyphrase:L,rowData:I(e),isFocusKeyphrase:e===x.trim().toLowerCase(),websiteId:w,isDisabled:!s,isLoading:O||j.indexOf(e.toLowerCase())>=0,isSelected:v.includes(e),onSelectKeyphrases:k},`trackable-keyphrase-${t}`)))})]})}),(0,u.jsxs)("p",{style:{marginBottom:0,position:"relative"},children:[(0,u.jsx)(Me,{href:wpseoAdminGlobalL10n["links.wincher.login"],children:(0,d.sprintf)(/* translators: %s expands to Wincher */ (0,d.__)("Get more insights over at %s","wordpress-seo"),"Wincher")}),(0,u.jsx)(De,{children:(0,d.__)("* focus keyphrase","wordpress-seo")})]})]})};Be.propTypes={addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,newRequest:o().func.isRequired,removeTrackedKeyphrase:o().func.isRequired,setRequestFailed:o().func.isRequired,setKeyphraseLimitReached:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setTrackedKeyphrases:o().func.isRequired,setHasTrackedAll:o().func.isRequired,trackAll:o().bool,trackedKeyphrases:o().object,websiteId:o().string,permalink:o().string.isRequired,focusKeyphrase:o().string,startAt:o().string,selectedKeyphrases:o().arrayOf(o().string).isRequired,onSelectKeyphrases:o().func.isRequired};const He=Be,Ke=(0,V.compose)([(0,a.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:i,getWincherPermalink:o,getFocusKeyphrase:r,isWincherNewlyAuthenticated:n,shouldWincherTrackAll:a}=e("yoast-seo/editor");return{focusKeyphrase:r(),keyphrases:s(),isLoggedIn:i(),trackAll:a(),websiteId:t(),isNewlyAuthenticated:n(),permalink:o()}})),(0,a.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherSetKeyphraseLimitReached:o,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:n,setWincherTrackAllKeyphrases:a,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},setKeyphraseLimitReached:e=>{o(e)},addTrackedKeyphrase:e=>{n(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{a(!1)}}}))])(He);class Ye{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,i=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,i.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:i}=e;i===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const ze=()=>(0,u.jsx)(F.Alert,{type:"info",children:(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,d.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")}),Ve=()=>(0,u.jsx)(F.Alert,{type:"success",children:(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,d.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")}),Ge=()=>(0,u.jsx)(F.Alert,{type:"info",children:(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,d.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")}),Ze=(0,Q.makeOutboundLink)(),Xe=(0,Q.makeOutboundLink)(),Qe=()=>{const e=(0,d.sprintf)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ (0,d.__)("With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"<wincherLink/>","<wincherReadMoreLink/>");return(0,u.jsx)("p",{children:p(e,{wincherLink:(0,u.jsx)(Ze,{href:wpseoAdminGlobalL10n["links.wincher.website"],children:"Wincher"}),wincherReadMoreLink:(0,u.jsx)(Xe,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"],children:(0,d.__)("Read more about keyphrase tracking with Wincher","wordpress-seo")})})})},Je=(0,Q.makeOutboundLink)(),et=({limit:e=10})=>{const t=(0,d.sprintf)(/* translators: %1$d expands to the amount of allowed keyphrases on a free account, %2$s expands to a link to Wincher plans. */ (0,d.__)("You've reached the maximum amount of %1$d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %2$s.","wordpress-seo"),e,"<UpdateWincherPlanLink/>");return(0,u.jsx)(F.Alert,{type:"error",children:p(t,{UpdateWincherPlanLink:(0,u.jsx)(Je,{href:wpseoAdminGlobalL10n["links.wincher.pricing"],children:(0,d.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,d.__)("upgrade your %s plan","wordpress-seo"),"Wincher")})})})};et.propTypes={limit:o().number};const tt=et,st=()=>(0,u.jsx)(F.Alert,{type:"error",children:(0,d.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")}),it=()=>(0,u.jsx)(F.Alert,{type:"error",children:(0,d.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")}),ot=({onReconnect:e,className:t=""})=>{const s=(0,d.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ (0,d.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"<reconnectToWincher/>","Wincher");return(0,u.jsx)(F.Alert,{type:"error",className:t,children:p(s,{reconnectToWincher:(0,u.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),e()},children:(0,d.sprintf)(/* translators: %s : Expands to "Wincher". */ (0,d.__)("reconnect to %s","wordpress-seo"),"Wincher")})})})};ot.propTypes={onReconnect:o().func.isRequired,className:o().string};const rt=ot,nt=()=>(0,u.jsx)(F.Alert,{type:"error",children:(0,d.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")}),at=H().p` color: ${P.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; `,lt=H()(F.SvgIcon)` margin-right: 5px; vertical-align: middle; `,ct=H().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; `,dt=H().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; `,pt=H().div` position: relative; background: ${e=>e.isTitleShortened?"#f5f7f7":"transparent"}; border: 1px solid #c7c7c7; border-left: 4px solid${P.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; `,ut=({limit:e,usage:t,isTitleShortened:s=!1,isFreeAccount:i=!1})=>{const o=(0,d.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,d.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),t,e),r=(0,d.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,d.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),n=i?o:r,a=(0,d.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,d.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?a:n;return(0,u.jsxs)(at,{children:[s&&(0,u.jsx)(lt,{icon:"exclamation-triangle",color:P.colors.$color_pink_dark,size:"14px"}),l]})};ut.propTypes={limit:o().number.isRequired,usage:o().number.isRequired,isTitleShortened:o().bool,isFreeAccount:o().bool};const ht=(0,Q.makeOutboundLink)(),gt=({discount:e,months:t})=>{const s=(0,u.jsx)(ht,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600},children:(0,d.sprintf)(/* Translators: %s : Expands to "Wincher". */ (0,d.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher")});if(!e||!t)return(0,u.jsx)(dt,{children:s});const i=100*e,o=(0,d.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ (0,d.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"<wincherAccountUpgradeLink/>",i+"%",t);return(0,u.jsx)(dt,{children:p(o,{wincherAccountUpgradeLink:s})})};gt.propTypes={discount:o().number,months:o().number};const mt=({onClose:t=null,isTitleShortened:s=!1,trackingInfo:i=null})=>{const o=(()=>{const[t,s]=(0,e.useState)(null);return(0,e.useEffect)((()=>{t||async function(){return await he({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>s(e)))}),[t]),t})();if(null===i)return null;const{limit:r,usage:n}=i;if(!(r&&n/r>=.8))return null;const a=Boolean(null==o?void 0:o.discount);return(0,u.jsxs)(pt,{isTitleShortened:s,children:[t&&(0,u.jsx)(ct,{type:"button","aria-label":(0,d.__)("Close the upgrade callout","wordpress-seo"),onClick:t,children:(0,u.jsx)(F.SvgIcon,{icon:"times-circle",color:P.colors.$color_pink_dark,size:"14px"})}),(0,u.jsx)(ut,{...i,isTitleShortened:s,isFreeAccount:a}),(0,u.jsx)(gt,{discount:null==o?void 0:o.discount,months:null==o?void 0:o.months})]})};mt.propTypes={onClose:o().func,isTitleShortened:o().bool,trackingInfo:o().object};const yt=mt,wt=window.yoast["chart.js"],ft="label";function xt(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function bt(e,t){e.labels=t}function vt(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ft;const i=[];e.datasets=t.map((t=>{const o=e.datasets.find((e=>e[s]===t[s]));return o&&t.data&&!i.includes(o)?(i.push(o),Object.assign(o,t),o):{...t}}))}function kt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ft;const s={labels:[],datasets:[]};return bt(s,e.labels),vt(s,e.datasets,t),s}function _t(e,t){const{height:s=150,width:i=300,redraw:o=!1,datasetIdKey:r,type:n,data:a,options:c,plugins:d=[],fallbackContent:p,updateMode:u,...h}=e,g=(0,l.useRef)(null),m=(0,l.useRef)(),y=()=>{g.current&&(m.current=new wt.Chart(g.current,{type:n,data:kt(a,r),options:c&&{...c},plugins:d}),xt(t,m.current))},w=()=>{xt(t,null),m.current&&(m.current.destroy(),m.current=null)};return(0,l.useEffect)((()=>{!o&&m.current&&c&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(m.current,c)}),[o,c]),(0,l.useEffect)((()=>{!o&&m.current&&bt(m.current.config.data,a.labels)}),[o,a.labels]),(0,l.useEffect)((()=>{!o&&m.current&&a.datasets&&vt(m.current.config.data,a.datasets,r)}),[o,a.datasets]),(0,l.useEffect)((()=>{m.current&&(o?(w(),setTimeout(y)):m.current.update(u))}),[o,c,a.labels,a.datasets,u]),(0,l.useEffect)((()=>{m.current&&(w(),setTimeout(y))}),[n]),(0,l.useEffect)((()=>(y(),()=>w())),[]),l.createElement("canvas",Object.assign({ref:g,role:"img",height:s,width:i},h),p)}const Tt=(0,l.forwardRef)(_t);function Rt(e,t){return wt.Chart.register(t),(0,l.forwardRef)(((t,s)=>l.createElement(Tt,Object.assign({},t,{ref:s,type:e}))))}const jt=Rt("line",wt.LineController),St={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};wt._adapters._date.override("function"==typeof ce()?{_id:"moment",formats:function(){return St},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=ce()(e,t):e instanceof ce()||(e=ce()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return ce()(e).format(t)},add:function(e,t,s){return ce()(e).add(t,s).valueOf()},diff:function(e,t,s){return ce()(e).diff(ce()(t),s)},startOf:function(e,t,s){return e=ce()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return ce()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const It=["top","right","bottom","left"];function Ct(e,t,s){const i={};s=s?"-"+s:"";for(let o=0;o<4;o++){const r=It[o];i[r]=parseFloat(e[t+"-"+r+s])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),wt.Chart.register(wt.CategoryScale,wt.LineController,wt.LineElement,wt.PointElement,wt.LinearScale,wt.TimeScale,wt.Legend,wt.Tooltip);const Et=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Lt({datasets:t,isChartShown:s,keyphrases:i}){if(!s)return null;const o=(0,e.useMemo)((()=>Object.fromEntries([...i].sort().map(((e,t)=>[e,Et[t%Et.length]])))),[i]),r=t.map((e=>{const t=o[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,u.jsx)(jt,{height:100,data:{datasets:r},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:n.noop},tooltip:{enabled:!0,callbacks:{title:e=>ce()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:31}}}})}wt.Interaction.modes.xPoint=(e,t,s,i)=>{const o=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:i}=t,o=(h=s).ownerDocument.defaultView.getComputedStyle(h,null),r="border-box"===o.boxSizing,n=Ct(o,"padding"),a=Ct(o,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,i=s&&s.length?s[0]:e,{offsetX:o,offsetY:r}=i;let n,a,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(o,r,e.target))n=o,a=r;else{const e=t.getBoundingClientRect();n=i.clientX-e.left,a=i.clientY-e.top,l=!0}return{x:n,y:a,box:l}}(e,s),p=n.left+(d&&a.left),u=n.top+(d&&a.top);var h;let{width:g,height:m}=t;return r&&(g-=n.width+a.width,m-=n.height+a.height),{x:Math.round((l-p)/g*s.width/i),y:Math.round((c-u)/m*s.height/i)}}(t,e);let r=[];if(wt.Interaction.evaluateInteractionItems(e,"x",o,((e,t,s)=>{e.inXRange(o.x,i)&&r.push({element:e,datasetIndex:t,index:s})})),0===r.length)return r;const n=r.reduce(((e,t)=>Math.abs(o.x-e.element.x)<Math.abs(o.x-t.element.x)?e:t)).element.x;return r=r.filter((e=>e.element.x===n)),r.some((e=>Math.abs(e.element.y-o.y)<10))?r:[]},Lt.propTypes={datasets:o().arrayOf(o().shape({label:o().string.isRequired,data:o().arrayOf(o().shape({datetime:o().string.isRequired,value:o().number.isRequired})).isRequired,selected:o().bool})).isRequired,isChartShown:o().bool.isRequired,keyphrases:o().array.isRequired};const At=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,u.jsx)(rt,{onReconnect:t}):(0,u.jsx)(nt,{});At.propTypes={response:o().object.isRequired,onLogin:o().func.isRequired};const qt=({isSuccess:e,response:t={},allKeyphrasesMissRanking:s,onLogin:i,keyphraseLimitReached:o,limit:r})=>o?(0,u.jsx)(tt,{limit:r}):(0,n.isEmpty)(t)||e?s?(0,u.jsx)(Ge,{}):null:(0,u.jsx)(At,{response:t,onLogin:i});qt.propTypes={isSuccess:o().bool.isRequired,allKeyphrasesMissRanking:o().bool.isRequired,response:o().object,onLogin:o().func.isRequired,keyphraseLimitReached:o().bool.isRequired,limit:o().number.isRequired};let Ft=null;const Pt=async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r})=>{if(Ft&&!Ft.isClosed())return void Ft.focus();const{url:n}=await async function(){return await he({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Ft=new Ye(n,{success:{type:"wincher:oauth:success",callback:n=>(async({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)=>{await ue((()=>async function(e){const{code:t,websiteId:s}=e;return await he({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(n)),(async a=>{e(!0,!0,n.websiteId.toString()),t(a);const l=(Array.isArray(i)?i:[i]).map((e=>e.toLowerCase()));await ue((()=>ge(l)),(e=>{t(e),o(e.results)}),(e=>{400===e.status&&e.limit&&r(e.limit),s(e)}),201);const c=Ft.getPopup();c&&c.close()}),(async e=>s(e)))})({onAuthentication:e,setRequestSucceeded:t,setRequestFailed:s,keyphrases:i,addTrackedKeyphrase:o,setKeyphraseLimitReached:r},n)},error:{type:"wincher:oauth:error",callback:()=>e(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Ft.createPopup()},Mt=e=>e.isLoggedIn?null:(0,u.jsx)("p",{children:(0,u.jsx)(F.NewButton,{onClick:e.onLogin,variant:"primary",children:(0,d.sprintf)(/* translators: %s expands to Wincher */ (0,d.__)("Connect with %s","wordpress-seo"),"Wincher")})});Mt.propTypes={isLoggedIn:o().bool.isRequired,onLogin:o().func.isRequired};const Dt=H().div` p { margin: 1em 0; } `,Ot=H().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; `,Nt=H().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); `,Ut=H().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; `,Wt=H().div` margin: 8px 0; `,$t=ce().utc().startOf("day"),Bt=[{name:(0,d.__)("Last day","wordpress-seo"),value:ce()($t).subtract(1,"days").format(),defaultIndex:1},{name:(0,d.__)("Last week","wordpress-seo"),value:ce()($t).subtract(1,"week").format(),defaultIndex:2},{name:(0,d.__)("Last month","wordpress-seo"),value:ce()($t).subtract(1,"month").format(),defaultIndex:3},{name:(0,d.__)("Last year","wordpress-seo"),value:ce()($t).subtract(1,"year").format(),defaultIndex:0}],Ht=({onSelect:e,selected:t=null,options:s,isLoggedIn:i})=>i?s.length<1?null:(0,u.jsx)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==t?void 0:t.value)||s[0].value,onChange:e,children:s.map((e=>(0,u.jsx)("option",{value:e.value,children:e.name},e.name)))}):null;Ht.propTypes={onSelect:o().func.isRequired,selected:o().object,options:o().array.isRequired,isLoggedIn:o().bool.isRequired};const Kt=({trackedKeyphrases:t=null,isLoggedIn:s,keyphrases:i,shouldTrackAll:o,permalink:r,historyDaysLimit:a=0})=>{if(!r&&s)return(0,u.jsx)(it,{});if(0===i.length)return(0,u.jsx)(st,{});const l=ce()($t).subtract(a,"days"),c=Bt.filter((e=>ce()(e.value).isSameOrAfter(l))),p=(0,n.orderBy)(c,(e=>e.defaultIndex),"desc")[0],[h,g]=(0,e.useState)(p),[m,y]=(0,e.useState)([]),w=m.length>0,f=(0,V.usePrevious)(t);(0,e.useEffect)((()=>{if(!(0,n.isEmpty)(t)&&(0,n.difference)(Object.keys(t),Object.keys(f||[])).length){const e=Object.values(t).map((e=>e.keyword));y(e)}}),[t,f]),(0,e.useEffect)((()=>{g(p)}),[null==p?void 0:p.name]);const x=(0,e.useCallback)((e=>{const t=Bt.find((t=>t.value===e.target.value));t&&g(t)}),[g]),b=(0,e.useMemo)((()=>(0,n.isEmpty)(m)||(0,n.isEmpty)(t)?[]:Object.values(t).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:m.includes(e.keyword)&&!(0,n.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[m,t]);return(0,u.jsxs)(Ot,{isDisabled:!s,children:[(0,u.jsx)("p",{children:(0,d.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")}),s&&o&&(0,u.jsx)(ze,{}),(0,u.jsx)(Ut,{children:(0,u.jsx)(Ht,{selected:h,onSelect:x,options:c,isLoggedIn:s})}),(0,u.jsx)(Wt,{children:(0,u.jsx)(Lt,{isChartShown:w,datasets:b,keyphrases:i})}),(0,u.jsx)(Ke,{startAt:null==h?void 0:h.value,selectedKeyphrases:m,onSelectKeyphrases:y,trackedKeyphrases:t})]})};function Yt({trackedKeyphrases:t=null,addTrackedKeyphrase:s,isLoggedIn:i=!1,isNewlyAuthenticated:o=!1,keyphrases:r=[],response:n={},shouldTrackAll:a=!1,permalink:l="",allKeyphrasesMissRanking:c,isSuccess:p,keyphraseLimitReached:h,limit:g,setRequestSucceeded:m,setRequestFailed:y,setKeyphraseLimitReached:w,onAuthentication:f}){const x=(0,e.useCallback)((()=>{Pt({onAuthentication:f,setRequestSucceeded:m,setRequestFailed:y,keyphrases:r,addTrackedKeyphrase:s,setKeyphraseLimitReached:w})}),[Pt,f,m,y,r,s,w]),b=(t=>{const[s,i]=(0,e.useState)(null);return(0,e.useEffect)((()=>{t&&!s&&async function(){return await he({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>i(e)))}),[s]),s})(i);return(0,u.jsxs)(Dt,{children:[o&&(0,u.jsx)(Ve,{}),i&&(0,u.jsx)(yt,{trackingInfo:b}),(0,u.jsxs)(Nt,{children:[(0,d.__)("SEO performance","wordpress-seo"),(0,u.jsx)(F.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the SEO performance feature.","wordpress-seo")})]}),(0,u.jsx)(Qe,{}),(0,u.jsx)(Mt,{isLoggedIn:i,onLogin:x}),(0,u.jsx)(qt,{isSuccess:p,response:n,allKeyphrasesMissRanking:c,keyphraseLimitReached:h,limit:g,onLogin:x}),(0,u.jsx)(Kt,{trackedKeyphrases:t,isLoggedIn:i,keyphrases:r,shouldTrackAll:a,permalink:l,historyDaysLimit:(null==b?void 0:b.historyDays)||31})]})}Kt.propTypes={trackedKeyphrases:o().object,keyphrases:o().array.isRequired,isLoggedIn:o().bool.isRequired,shouldTrackAll:o().bool.isRequired,permalink:o().string.isRequired,historyDaysLimit:o().number},Yt.propTypes={trackedKeyphrases:o().object,addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,response:o().object,shouldTrackAll:o().bool,permalink:o().string,allKeyphrasesMissRanking:o().bool.isRequired,isSuccess:o().bool.isRequired,keyphraseLimitReached:o().bool.isRequired,limit:o().number.isRequired,setRequestSucceeded:o().func.isRequired,setRequestFailed:o().func.isRequired,setKeyphraseLimitReached:o().func.isRequired,onAuthentication:o().func.isRequired};const zt=(0,V.compose)([(0,a.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:i,getWincherLoginStatus:o,getWincherRequestIsSuccess:r,getWincherRequestResponse:n,getWincherTrackableKeyphrases:a,getWincherTrackedKeyphrases:l,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:d,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:a(),trackedKeyphrases:l(),allKeyphrasesMissRanking:c(),isLoggedIn:o(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:s(),limit:i(),response:n(),shouldTrackAll:p(),permalink:d()}})),(0,a.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:i,setWincherTrackingForKeyphrase:o,setWincherSetKeyphraseLimitReached:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{i(e)},addTrackedKeyphrase:e=>{o(e)},setKeyphraseLimitReached:e=>{r(e)},onAuthentication:(e,s,i)=>{t(i),n(e,s)}}}))])(Yt),Vt=H()(G)` width: 18px; height: 18px; margin: 3px; `;function Gt({keyphrases:e,onNoKeyphraseSet:t,onOpen:s,location:i}){if(!e.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void t()}s(i)}function Zt({location:t="",whichModalOpen:s="none",shouldCloseOnClickOutside:i=!0,keyphrases:o,onNoKeyphraseSet:r,onOpen:n,onClose:a}){const c=(0,e.useCallback)((()=>{Gt({keyphrases:o,onNoKeyphraseSet:r,onOpen:n,location:t})}),[Gt,o,r,n,t]),p=(0,d.__)("Track SEO performance","wordpress-seo"),h=((e=null)=>(0,l.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]))();return(0,u.jsxs)(e.Fragment,{children:[s===t&&(0,u.jsx)(te,{title:p,onRequestClose:a,icon:(0,u.jsx)(re,{}),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:i,children:(0,u.jsx)(J,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content",children:(0,u.jsx)(zt,{})})}),"sidebar"===t&&(0,u.jsx)(ae,{id:`wincher-open-button-${t}`,title:p,SuffixHeroIcon:(0,u.jsx)(Vt,{className:"yst-text-slate-500",...h}),onClick:c}),"metabox"===t&&(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)(X,{id:`wincher-open-button-${t}`,onClick:c,children:[(0,u.jsx)(X.Text,{children:p}),(0,u.jsx)(G,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...h})]})})]})}Zt.propTypes={location:o().string,whichModalOpen:o().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:o().bool,keyphrases:o().array.isRequired,onNoKeyphraseSet:o().func.isRequired,onOpen:o().func.isRequired,onClose:o().func.isRequired};const Xt=(0,V.compose)([(0,a.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,a.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:i}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{i()}}}))])(Zt),Qt=window.yoast.externals.components;function Jt(){return(0,V.createHigherOrderComponent)((function(t){return(0,V.pure)((function(s){const i=(0,e.useContext)($.LocationContext);return(0,e.createElement)(t,{...s,location:i})}))}),"withLocation")}const es=(0,V.compose)([(0,a.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,a.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),Jt()])(Qt.CollapsibleCornerstone),ts=window.yoast.searchMetadataPreviews,ss=H()(F.StyledSection)` &${F.StyledSectionBase} { padding: 0; & ${F.StyledHeading} { ${(0,Q.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${(0,Q.getDirectionalStyle)("0","20px")}; } } `,is=({children:e=null,title:t="",icon:s="",hasPaperStyle:i=!0,shoppingData:o=null})=>(0,u.jsx)(ss,{headingLevel:3,headingText:t,headingIcon:s,headingIconColor:"#555",hasPaperStyle:i,shoppingData:o,children:e});is.propTypes={children:o().element,title:o().string,icon:o().string,hasPaperStyle:o().bool,shoppingData:o().object};const os=is,rs=window.wp.sanitize,ns="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function as(e,t,s="",i=!1){const o="string"==typeof t?(0,Q.decodeHTML)(t):t;return{type:ns,name:e,value:o,label:s,hidden:i}}function ls(e){return e.charAt(0).toUpperCase()+e.slice(1)}const{stripHTMLTags:cs}=Q.strings,ds=["slug","content","contentImage","snippetPreviewImageURL"];function ps(e,t="_"){return e.replace(/\s/g,t)}const us=(0,n.memoize)(((e,t)=>0===e?n.noop:(0,n.debounce)((s=>t(s,e)),500))),hs=({link:e,text:t})=>(0,u.jsxs)(r.Root,{children:[(0,u.jsx)("p",{children:t}),(0,u.jsxs)(r.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener",children:[(0,u.jsx)(h,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,d.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,d.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")]})]});hs.propTypes={link:o().string.isRequired,text:o().string.isRequired};const gs=hs,ms=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,n.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,n.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,n.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],n.identity);return{url:e.url,title:cs(t(e.title)),description:cs(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?cs(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:cs(s("data_page_title",e.title)),description:cs(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?cs(s("data_page_title",e.filteredSEOTitle)):""}}(e)},ys=(0,V.compose)([(0,a.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:i,getRecommendedReplaceVars:o,getReplaceVars:r,getShoppingData:n,getSiteIconUrlFromSettings:a,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:h,getContentLocale:g,getSiteName:m}=e("yoast-seo/editor"),y=r();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:a(),keyword:i(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:o(),replacementVariables:y,shoppingData:n(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:h(),locale:g(),siteName:m()}})),(0,a.withDispatch)((function(e,t,{select:s}){const{updateData:i,switchMode:o,updateAnalysisData:r,findCustomFields:n}=e("yoast-seo/editor"),a=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":o(t);break;case"slug":i({slug:t}),a&&a.editPost({slug:t});break;default:i({[e]:t})}},onChangeAnalysisData:r,onReplacementVariableSearchChange:us(l,n)}}))])((e=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/product-google-preview-metabox")),[]),s=(0,a.useSelect)((e=>e("yoast-seo/editor").getIsWooSeoUpsell()),[]),i=(0,d.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,u.jsx)($.LocationConsumer,{children:o=>(0,u.jsx)(os,{icon:"eye",hasPaperStyle:e.hasPaperStyle,children:(0,u.jsxs)(u.Fragment,{children:[s&&(0,u.jsx)(gs,{link:t,text:i}),(0,u.jsx)(ts.SnippetEditor,{...e,descriptionPlaceholder:(0,d.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:ms,showCloseButton:!1,idSuffix:o})]})})})})),ws=(0,a.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(F.Warning),fs=window.yoast.featureFlag,xs=H()(F.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,bs=e=>(0,u.jsx)(xs,{hasPadding:!0,hasSeparator:!0,...e}),vs=()=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),s=(0,e.useMemo)((()=>(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,u.jsx)(F.InsightsCard,{amount:t,unit:(0,d._n)("minute","minutes",t,"wordpress-seo"),title:(0,d.__)("Reading time","wordpress-seo"),linkTo:s /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about reading time","wordpress-seo")})},ks=(0,Q.makeOutboundLink)();function _s(e,t){return-1===e?(0,d.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo"):(0,d.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult') */ (0,d.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case M.DIFFICULTY.NO_DATA:return(0,d.__)("no data","wordpress-seo");case M.DIFFICULTY.VERY_EASY:return(0,d.__)("very easy","wordpress-seo");case M.DIFFICULTY.EASY:return(0,d.__)("easy","wordpress-seo");case M.DIFFICULTY.FAIRLY_EASY:return(0,d.__)("fairly easy","wordpress-seo");case M.DIFFICULTY.OKAY:return(0,d.__)("okay","wordpress-seo");case M.DIFFICULTY.FAIRLY_DIFFICULT:return(0,d.__)("fairly difficult","wordpress-seo");case M.DIFFICULTY.DIFFICULT:return(0,d.__)("difficult","wordpress-seo");case M.DIFFICULTY.VERY_DIFFICULT:return(0,d.__)("very difficult","wordpress-seo")}}(t))}const Ts=()=>{let t=(0,a.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const s=(0,e.useMemo)((()=>(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),i=(0,a.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[t]),o=(0,e.useMemo)((()=>{const e=(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return function(e,t,s){const i=function(e){switch(e){case M.DIFFICULTY.FAIRLY_DIFFICULT:case M.DIFFICULTY.DIFFICULT:case M.DIFFICULTY.VERY_DIFFICULT:return(0,d.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case M.DIFFICULTY.NO_DATA:return(0,d.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,d.__)("Good job!","wordpress-seo")}}(t);return(0,u.jsxs)("span",{children:[_s(e,t)," ",t>=M.DIFFICULTY.FAIRLY_DIFFICULT?(0,u.jsx)(ks,{href:s,children:i+"."}):i]})}(t,i,e)}),[t,i]);return-1===t&&(t="?"),(0,u.jsx)(F.InsightsCard,{amount:t,unit:(0,d.__)("out of 100","wordpress-seo"),title:(0,d.__)("Flesch reading ease","wordpress-seo"),linkTo:s /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about Flesch reading ease","wordpress-seo"),description:o})},Rs=({data:t=[],itemScreenReaderText:s="",className:i="",...o})=>{const r=(0,e.useMemo)((()=>{var e,s;return null!==(e=null===(s=(0,n.maxBy)(t,"number"))||void 0===s?void 0:s.number)&&void 0!==e?e:0}),[t]);return(0,u.jsx)("ul",{className:E()("yoast-data-model",i),...o,children:t.map((({name:e,number:t})=>(0,u.jsxs)("li",{style:{"--yoast-width":t/r*100+"%"},children:[e,(0,u.jsx)("span",{children:t}),s&&(0,u.jsx)("span",{className:"screen-reader-text",children:(0,d.sprintf)(s,t)})]},`${e}_dataItem`)))})};Rs.propTypes={data:o().arrayOf(o().shape({name:o().string.isRequired,number:o().number.isRequired})),itemScreenReaderText:o().string,className:o().string};const js=Rs,Ss=window.wp.url,Is=(0,Q.makeOutboundLink)(),Cs=({location:t})=>{const s=(0,a.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),i=(0,a.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),o=(0,e.useMemo)((()=>(0,n.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,"")),[t]),r=(0,e.useMemo)((()=>{const e=(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return p((0,d.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing <a> tags. (0,d.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:(0,u.jsx)(Is,{href:e})})}),[]),l=(0,e.useMemo)((()=>p((0,d.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,d.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,u.jsx)("b",{})})),[]),c=(0,a.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),h=(0,e.useMemo)((()=>{const e=(0,d.sprintf)( // translators: %1$s expands to Yoast SEO Premium. (0,d.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),g=(0,e.useMemo)((()=>i?h:c.map((({word:e,occurrence:t})=>({name:e,number:t})))),[c,h]);if(!s)return null;const{locationContext:m}=(0,$.useRootContext)();return(0,u.jsxs)("div",{className:"yoast-prominent-words",children:[(0,u.jsx)("div",{className:"yoast-field-group__title",children:(0,u.jsx)("b",{children:(0,d.__)("Prominent words","wordpress-seo")})}),!i&&(0,u.jsx)("p",{children:0===g.length?(0,d.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,d.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")}),i&&(0,u.jsx)("p",{children:l}),i&&(0,u.jsxs)(Is,{href:(0,Ss.addQueryArgs)(o,{context:m}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell",children:[(0,d.sprintf)( // translators: %s expands to `Premium` (part of add-on name). (0,d.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,u.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]}),(0,u.jsx)("p",{children:r}),(0,u.jsx)(js,{data:g,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ (0,d.__)("%d occurrences","wordpress-seo"),"aria-label":(0,d.__)("Prominent words","wordpress-seo"),className:i?"yoast-data-model--upsell":null})]})};Cs.propTypes={location:o().string.isRequired};const Es=Cs,Ls=()=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),s=(0,e.useMemo)((()=>(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let i=(0,d._n)("word","words",t.count,"wordpress-seo"),o=(0,d.__)("Word count","wordpress-seo"),r=(0,d.__)("Learn more about word count","wordpress-seo");return"character"===t.unit&&(i=(0,d._n)("character","characters",t.count,"wordpress-seo"),o=(0,d.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ r=(0,d.__)("Learn more about character count","wordpress-seo")),(0,u.jsx)(F.InsightsCard,{amount:t.count,unit:i,title:o,linkTo:s,linkText:r})},As=(0,Q.makeOutboundLink)(),qs=({location:t})=>{const s=(0,e.useMemo)((()=>(0,n.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,"")),[t]),i=(0,e.useMemo)((()=>p((0,d.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,d.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:(0,u.jsx)("b",{})})),[]);return(0,u.jsx)(e.Fragment,{children:(0,u.jsxs)("div",{children:[(0,u.jsx)("p",{children:i}),(0,u.jsxs)(As,{href:s,className:"yoast-button yoast-button-upsell",children:[(0,d.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). (0,d.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,u.jsx)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})]})]})})};qs.propTypes={location:o().string.isRequired};const Fs=qs;function Ps(){return(0,n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const Ms=({location:e,name:s})=>{const i=(0,a.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),o=Ps().isPremium,r=o?(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,n.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),l=(0,d.__)("Read more about text formality.","wordpress-seo");return i?(0,u.jsxs)("div",{className:"yoast-text-formality",children:[(0,u.jsxs)("div",{className:"yoast-field-group__title",children:[(0,u.jsx)("b",{children:(0,d.__)("Text formality","wordpress-seo")}),(0,u.jsx)(F.HelpIcon,{linkTo:r,linkText:l})]}),o?(0,u.jsx)(t.Slot,{name:s}):(0,u.jsx)(Fs,{location:e})]}):null};Ms.propTypes={location:o().string.isRequired,name:o().string.isRequired};const Ds=Ms,Os=({location:e="metabox"})=>{const t=(0,a.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,u.jsxs)(bs,{title:(0,d.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${e}`,className:"yoast-insights",children:[(0,u.jsx)(Es,{location:e}),(0,u.jsxs)("div",{children:[t&&(0,u.jsx)("div",{className:"yoast-insights-row",children:(0,u.jsx)(Ts,{})}),(0,u.jsxs)("div",{className:"yoast-insights-row yoast-insights-row--columns",children:[(0,u.jsx)(vs,{}),(0,u.jsx)(Ls,{})]}),(0,fs.isFeatureEnabled)("TEXT_FORMALITY")&&(0,u.jsx)(Ds,{location:e,name:"YoastTextFormalityMetabox"})]})]})};Os.propTypes={location:o().string};const Ns=Os,Us=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),Ws=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),$s=({isOpen:t,onClose:s,id:i,upsellLink:o,title:n="",description:l="",benefits:c=[],note:p="",ctbId:g="",modalTitle:m})=>{const{isBlackFriday:y,isWooCommerceActive:w,isProductEntity:f,isWooSEOActive:x}=(0,a.useSelect)((e=>{const t=e("yoast-seo/editor");return{isProductEntity:t.getIsProductEntity(),isWooCommerceActive:t.getIsWooCommerceActive(),isBlackFriday:t.isPromotionActive("black-friday-promotion"),isWooSEOActive:t.getIsWooSeoActive()}}),[]),b=(0,e.useMemo)((()=>w&&f),[w,f]),v=(0,e.useRef)(null);return(0,u.jsx)(r.Modal,{isOpen:t,onClose:s,id:i,initialFocus:v,children:(0,u.jsx)(r.Modal.Panel,{className:"yst-max-w-md yst-p-0",hasCloseButton:!1,children:(0,u.jsxs)(r.Modal.Container,{children:[(0,u.jsxs)(r.Modal.Container.Header,{className:"yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex yst-justify-start yst-gap-3 yst-items-center",children:[b?(0,u.jsx)(Ws,{className:"yst-text-woo-light yst-w-6 yst-h-6 yst-scale-x-[-1]"}):(0,u.jsx)(re,{className:"yst-fill-primary-500 yst-w-5 yst-h-5"}),(0,u.jsx)(r.Modal.Title,{as:"h3",className:E()(b?"yst-text-woo-light":"yst-text-primary-500","yst-text-base yst-font-normal"),children:m}),(0,u.jsx)(r.Modal.CloseButton,{className:"yst-top-2",onClick:s,screenReaderText:(0,d.__)("Close modal","wordpress-seo")})]}),(0,u.jsxs)(r.Modal.Container.Content,{className:"yst-p-0",children:[y&&(0,u.jsx)("div",{className:"yst-flex yst-font-semibold yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6",children:(0,u.jsx)("div",{className:"yst-mx-auto",children:(0,d.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})}),(0,u.jsxs)("div",{className:"yst-py-6 yst-px-12",children:[(0,u.jsx)(r.Title,{as:"h3",className:"yst-mb-1 yst-leading-5 yst-text-sm yst-font-medium yst-text-slate-800",children:n}),(0,u.jsx)("p",{className:"yst-mb-2",children:l}),Array.isArray(c)&&c.length>0&&(0,u.jsx)("ul",{className:"yst-my-2",children:c.map(((e,t)=>(0,u.jsxs)("li",{className:"yst-flex yst-gap-1 yst-mb-2",children:[(0,u.jsx)(I,{className:"yst-mr-1 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),(0,u.jsx)("p",{className:"yst-text-slate-600",children:e})]},`${i}-upsell-benefit-${t}`)))}),"function"==typeof c&&c(),(0,u.jsxs)("div",{className:"yst-text-center",children:[(0,u.jsxs)(r.Button,{as:"a",variant:"upsell",className:"yst-my-2 yst-gap-1.5 yst-w-full",href:o,target:"_blank","data-action":"load-nfd-ctb","data-ctb-id":g,ref:v,children:[(0,u.jsx)(h,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,d.sprintf)(/* translators: %s expands to 'Yoast SEO Premium' or 'Yoast Woocommerce SEO'. */ (0,d.__)("Explore %s","wordpress-seo"),b&&!x?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,u.jsx)("span",{className:"yst-sr-only",children:(0,d.__)("Opens in a new tab","wordpress-seo")})]}),(0,u.jsx)("div",{className:"yst-italic yst-text-slate-500 yst-mt-1",children:p})]})]})]})]})})})},Bs=()=>{const[e,,,t,s]=(0,r.useToggleState)(!1),{locationContext:i}=(0,$.useRootContext)(),o=(0,r.useSvgAria)(),n=i.includes("sidebar"),a=i.includes("metabox"),l=n?"sidebar":"metabox",c=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($s,{isOpen:e,onClose:s,id:`yoast-internal-linking-suggestions-upsell-${l}`,upsellLink:(0,Ss.addQueryArgs)(c,{context:i}),modalTitle:(0,d.__)("Add smarter internal links with Premium","wordpress-seo"),title:(0,d.__)("Connect related content without the guesswork","wordpress-seo"),description:p((0,d.sprintf)(/* translators: %s expands to be tag. */ (0,d.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles. %sScans your content to:","wordpress-seo"),"<br />"),{br:(0,u.jsx)("br",{})}),benefits:[(0,d.__)("Suggest internal links based on your content’s main topics","wordpress-seo"),(0,d.__)("Build relevant internal links faster","wordpress-seo"),(0,d.__)("Strengthen your site’s structure","wordpress-seo"),(0,d.__)("Keep visitors exploring longer","wordpress-seo")],note:(0,d.__)("Upgrade to link your content with ease","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),n&&(0,u.jsx)(ae,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,d.__)("Internal linking suggestions","wordpress-seo"),onClick:t,children:(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsx)(r.Badge,{size:"small",variant:"upsell",children:(0,u.jsx)(Us,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...o})})})}),a&&(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)(X,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t,children:[(0,u.jsx)(X.Text,{children:(0,d.__)("Internal linking suggestions","wordpress-seo")}),(0,u.jsxs)(r.Badge,{size:"small",variant:"upsell",children:[(0,u.jsx)(Us,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...o}),(0,u.jsx)("span",{children:"Premium"})]})]})})]})},Hs=({children:e})=>(0,u.jsx)("div",{children:e});Hs.propTypes={renderPriority:o().number.isRequired,children:o().node.isRequired};const Ks=Hs,Ys=({noIndex:t,onNoIndexChange:s,editorContext:i,isPrivateBlog:o=!1})=>{const r=(e=>{const t=(0,d.__)("No","wordpress-seo"),s=(0,d.__)("Yes","wordpress-seo"),i=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,d.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,d.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,d.sprintf)(/* translators: %1$s translates to "yes" or "no", %2$s translates to the content type label in plural form */ (0,d.__)("%1$s (current default for %2$s)","wordpress-seo"),i,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(i);return(0,u.jsx)($.LocationConsumer,{children:i=>(0,u.jsxs)(e.Fragment,{children:[o&&(0,u.jsx)(F.Alert,{type:"warning",children:(0,d.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")}),(0,u.jsx)(F.Select,{label:(0,d.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:s,id:(0,Q.join)(["yoast-meta-robots-noindex",i]),options:r,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})]})})};Ys.propTypes={noIndex:o().string.isRequired,onNoIndexChange:o().func.isRequired,editorContext:o().object.isRequired,isPrivateBlog:o().bool};const zs=({noFollow:e,onNoFollowChange:t})=>(0,u.jsx)($.LocationConsumer,{children:s=>{const i=(0,Q.join)(["yoast-meta-robots-nofollow",s]);return(0,u.jsx)(F.RadioButtonGroup,{id:i,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,d.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:i,onChange:t,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}});zs.propTypes={noFollow:o().string.isRequired,onNoFollowChange:o().func.isRequired};const Vs=({advanced:e,onAdvancedChange:t})=>(0,u.jsx)($.LocationConsumer,{children:s=>{const i=(0,Q.join)(["yoast-meta-robots-advanced",s]),o=`${i}-input`;return(0,u.jsx)(F.MultiSelect,{label:(0,d.__)("Meta robots advanced","wordpress-seo"),onChange:t,id:i,inputId:o,options:[{name:(0,d.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,d.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,d.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}});Vs.propTypes={advanced:o().array.isRequired,onAdvancedChange:o().func.isRequired};const Gs=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:t})=>(0,u.jsx)($.LocationConsumer,{children:s=>(0,u.jsx)(F.TextInput,{label:(0,d.__)("Breadcrumbs Title","wordpress-seo"),id:(0,Q.join)(["yoast-breadcrumbs-title",s]),onChange:t,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})});Gs.propTypes={breadcrumbsTitle:o().string.isRequired,onBreadcrumbsTitleChange:o().func.isRequired};const Zs=({canonical:e,onCanonicalChange:t})=>(0,u.jsx)($.LocationConsumer,{children:s=>(0,u.jsx)(F.TextInput,{label:(0,d.__)("Canonical URL","wordpress-seo"),id:(0,Q.join)(["yoast-canonical",s]),onChange:t,value:e,linkTo:"https://yoa.st/canonical-url" /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})});Zs.propTypes={canonical:o().string.isRequired,onCanonicalChange:o().func.isRequired};const Xs=({noIndex:t,canonical:s,onNoIndexChange:i,onCanonicalChange:o,onLoad:r,isLoading:a,editorContext:l,isBreadcrumbsDisabled:c,advanced:d=[],onAdvancedChange:p=n.noop,noFollow:h="",onNoFollowChange:g=n.noop,breadcrumbsTitle:m="",onBreadcrumbsTitleChange:y=n.noop,isPrivateBlog:w=!1})=>{(0,e.useEffect)((()=>{setTimeout((()=>{a&&r()}))}));const f={noIndex:t,onNoIndexChange:i,editorContext:l,isPrivateBlog:w},x={noFollow:h,onNoFollowChange:g},b={advanced:d,onAdvancedChange:p},v={breadcrumbsTitle:m,onBreadcrumbsTitleChange:y},k={canonical:s,onCanonicalChange:o};return a?null:(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)(Ys,{...f}),l.isPost&&(0,u.jsx)(zs,{...x}),l.isPost&&(0,u.jsx)(Vs,{...b}),!c&&(0,u.jsx)(Gs,{...v}),(0,u.jsx)(Zs,{...k})]})};Xs.propTypes={noIndex:o().string.isRequired,canonical:o().string.isRequired,onNoIndexChange:o().func.isRequired,onCanonicalChange:o().func.isRequired,onLoad:o().func.isRequired,isLoading:o().bool.isRequired,editorContext:o().object.isRequired,isBreadcrumbsDisabled:o().bool.isRequired,isPrivateBlog:o().bool,advanced:o().array,onAdvancedChange:o().func,noFollow:o().string,onNoFollowChange:o().func,breadcrumbsTitle:o().string,onBreadcrumbsTitleChange:o().func};const Qs=Xs,Js=(0,V.compose)([(0,a.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:i,getBreadcrumbsTitle:o,getCanonical:r,getIsLoading:n,getEditorContext:a,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:c,isPrivateBlog:d}=l();return{noIndex:t(),noFollow:s(),advanced:i(),breadcrumbsTitle:o(),canonical:r(),isLoading:n(),editorContext:a(),isBreadcrumbsDisabled:c,isPrivateBlog:d}})),(0,a.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:i,setBreadcrumbsTitle:o,setCanonical:r,loadAdvancedSettingsData:n}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:i,onBreadcrumbsTitleChange:o,onCanonicalChange:r,onLoad:n}}))])(Qs),ei=H().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,ti=e=>{const{siteUrl:t}=e;return(0,u.jsxs)(l.Fragment,{children:[(0,u.jsx)("span",{className:"screen-reader-text",children:t}),(0,u.jsx)(ei,{"aria-hidden":"true",children:(0,u.jsx)("span",{children:t})})]})};ti.propTypes={siteUrl:o().string.isRequired};const si=ti,ii=window.yoast.socialMetadataForms,oi=H().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,ri=H().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,ni=H().div` padding-bottom: ${e=>e.aspectRatio}%; `,ai=({imageProps:e,width:t,height:s,imageMode:i="landscape"})=>"landscape"===i?(0,u.jsx)(ni,{aspectRatio:e.aspectRatio,children:(0,u.jsx)(ri,{src:e.src,alt:e.alt})}):(0,u.jsx)(oi,{src:e.src,alt:e.alt,width:t,height:s,imageProperties:e});function li(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function ci(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function di(e,t,s=!1){const i=await function(e){return new Promise(((t,s)=>{const i=new Image;i.onload=()=>{t({width:i.width,height:i.height})},i.onerror=s,i.src=e}))}(e);let o=s?"landscape":"square";"Facebook"===t&&(o=(0,ii.determineFacebookImageMode)(i));const r=function(e){return"Twitter"===e?ii.TWITTER_IMAGE_SIZES:ii.FACEBOOK_IMAGE_SIZES}(t),n=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:ci(t,li(e,t,s))}(r,i,o);return{mode:o,height:n.height,width:n.width}}async function pi(e,t,s=!1){try{return{imageProperties:await di(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}ai.propTypes={imageProps:o().shape({src:o().string.isRequired,alt:o().string.isRequired,aspectRatio:o().number.isRequired}).isRequired,width:o().number.isRequired,height:o().number.isRequired,imageMode:o().string};const ui=H().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${P.colors.$color_white}; `,hi=H().div` box-sizing: border-box; max-width: ${ii.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${ii.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${P.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class gi extends l.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await pi(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:ii.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:ii.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:ii.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:ii.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:ii.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:ii.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,u.jsx)(hi,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,d.__)("Select image","wordpress-seo")});const s=this.retrieveContainerDimensions(e.mode);return(0,u.jsx)(ui,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,u.jsx)(ai,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:ii.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}gi.propTypes={src:o().string,alt:o().string,onImageLoaded:o().func,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},gi.defaultProps={src:"",alt:"",onImageLoaded:n.noop,onImageClick:n.noop,onMouseEnter:n.noop,onMouseLeave:n.noop};const mi=gi,yi=H().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,wi=H().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,fi=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},xi=H().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,bi=H().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class vi extends l.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=c().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,i=this.getTitleLineCount();let o=t-i;"portrait"===s&&(o=5===i?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,u.jsxs)(xi,{id:"facebookPreview",mode:e,children:[(0,u.jsx)(mi,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,u.jsxs)(bi,{mode:e,children:[(0,u.jsx)(si,{siteUrl:this.props.siteUrl,mode:e}),(0,u.jsx)(yi,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t,children:this.props.title}),s>0&&(0,u.jsx)(wi,{maxWidth:fi(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s,children:this.props.description})]})]})}}vi.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},vi.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const ki=vi,_i=H().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,Ti=e=>(0,u.jsx)(_i,{children:(0,u.jsx)("span",{children:e.siteUrl})});Ti.propTypes={siteUrl:o().string.isRequired};const Ri=Ti,ji=(e,t=!0)=>e?`\n\t\t\tmax-width: ${ii.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${ii.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Si=H().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>ji(e.isLarge)} `,Ii=H().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>ji(e.isLarge,!1)} `,Ci=H()(Ii)` ${e=>e.isLarge&&`height: ${ii.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class Ei extends c().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await pi(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,u.jsx)(Ci,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,d.__)("Select image","wordpress-seo")}):(0,u.jsx)(Si,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,u.jsx)(ai,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:ii.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode})})}}Ei.propTypes={isLarge:o().bool.isRequired,src:o().string,alt:o().string,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},Ei.defaultProps={src:"",alt:"",onMouseEnter:n.noop,onImageClick:n.noop,onMouseLeave:n.noop};const Li=H().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,Ai=e=>(0,u.jsx)(Li,{children:e.children});Ai.propTypes={children:o().array.isRequired};const qi=Ai,Fi=H().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,Pi=H().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${ii.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,Mi=H().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,Di=H()(Mi)` flex-direction: column; max-height: 370px; `,Oi=H()(Mi)` flex-direction: row; height: 125px; `;class Ni extends l.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:i,title:o,description:r,siteUrl:n}=this.props,a=e?Di:Oi;return(0,u.jsxs)(a,{id:"twitterPreview",children:[(0,u.jsx)(Ei,{src:t||s,alt:i,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,u.jsxs)(qi,{children:[(0,u.jsx)(Ri,{siteUrl:n}),(0,u.jsx)(Fi,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:o}),(0,u.jsx)(Pi,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:r})]})]})}}Ni.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,isLarge:o().bool,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},Ni.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Ui=Ni,Wi=window.yoast.replacementVariableEditor;class $i extends l.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?ki:Ui,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:i,socialMediumName:o,imageWarnings:r,siteUrl:n,description:a,descriptionInputPlaceholder:l,descriptionPreviewFallback:d,imageUrl:p,imageFallbackUrl:h,alt:g,title:m,titleInputPlaceholder:y,titlePreviewFallback:w,replacementVariables:f,recommendedReplacementVariables:x,applyReplacementVariables:b,onReplacementVariableSearchChange:v,isPremium:k,isLarge:_,socialPreviewLabel:T,idSuffix:R,activeMetaTabId:j}=this.props,S=b({title:m||w,description:a||d});return(0,u.jsxs)(c().Fragment,{children:[T&&(0,u.jsx)(F.SimulatedLabel,{children:T}),(0,u.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:n,title:S.title,description:S.description,imageUrl:p,imageFallbackUrl:h,alt:g,isLarge:_,activeMetaTabId:j}),(0,u.jsx)(ii.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:m,titleInputPlaceholder:y,onRemoveImageClick:i,imageSelected:!!p,imageUrl:p,imageFallbackUrl:h,onTitleChange:t,onSelectImageClick:s,description:a,descriptionInputPlaceholder:l,imageWarnings:r,replacementVariables:f,recommendedReplacementVariables:x,onReplacementVariableSearchChange:v,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:R})]})}}$i.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,imageFallbackUrl:o().string.isRequired,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,alt:o().string,isPremium:o().bool,imageWarnings:o().array,isLarge:o().bool,siteUrl:o().string,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,descriptionPreviewFallback:o().string,titlePreviewFallback:o().string,replacementVariables:Wi.replacementVariablesShape,recommendedReplacementVariables:Wi.recommendedReplacementVariablesShape,applyReplacementVariables:o().func,onReplacementVariableSearchChange:o().func,socialPreviewLabel:o().string,idSuffix:o().string,activeMetaTabId:o().string},$i.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Bi={},Hi=(e,t,{log:s=console.warn}={})=>{Bi[e]||(Bi[e]=!0,s(t))},Ki=(e,t=n.noop)=>{const s={};for(const i in e)Object.hasOwn(e,i)&&Object.defineProperty(s,i,{set:s=>{e[i]=s,t("set",i,s)},get:()=>(t("get",i),e[i])});return s};Ki({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>Hi(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Ki({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>Hi(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const Yi=H().div` max-width: calc(527px + 1.5rem); `,zi=e=>{const t="X"===e.socialMediumName?(0,d.__)("X share preview","wordpress-seo"):(0,d.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,r.useRootContext)();return(0,u.jsx)(r.Root,{children:(0,u.jsx)(Yi,{children:(0,u.jsx)(r.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,Ss.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,d.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,d.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:(0,u.jsxs)("div",{className:"yst-grayscale yst-opacity-50",children:[(0,u.jsx)(r.Label,{children:t}),(0,u.jsx)(ki,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:n.noop,onImageClick:n.noop,onMouseHover:n.noop})]})})})})};zi.propTypes={socialMediumName:o().oneOf(["Social","Twitter","X"]).isRequired};const Vi=zi;class Gi extends e.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:t,onTitleChange:s,onSelectImageClick:i,onRemoveImageClick:o,socialMediumName:r,imageWarnings:n,description:a,descriptionInputPlaceholder:l,imageUrl:c,imageFallbackUrl:d,alt:p,title:h,titleInputPlaceholder:g,replacementVariables:m,recommendedReplacementVariables:y,onReplacementVariableSearchChange:w,isPremium:f,location:x}=this.props;return(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)(Vi,{socialMediumName:r}),(0,u.jsx)(ii.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:r,title:h,titleInputPlaceholder:g,onRemoveImageClick:o,imageSelected:!!c,imageUrl:c,imageFallbackUrl:d,imageAltText:p,onTitleChange:s,onSelectImageClick:i,description:a,descriptionInputPlaceholder:l,imageWarnings:n,replacementVariables:m,recommendedReplacementVariables:y,onReplacementVariableSearchChange:w,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:x})]})}}Gi.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,imageFallbackUrl:o().string,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,isPremium:o().bool,imageWarnings:o().array,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,replacementVariables:Wi.replacementVariablesShape,recommendedReplacementVariables:Wi.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:o().func,location:o().string,alt:o().string},Gi.defaultProps={imageWarnings:[],imageFallbackUrl:"",recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const Zi=Gi,Xi=(t,s,i)=>{const[o,r]=(0,e.useState)(!1),n=(0,d.sprintf)( /* Translators: %1$s expands to the jpg format, %2$s expands to the png format, %3$s expands to the webp format, %4$s expands to the gif format. */ (0,d.__)("No image was found that we can automatically set as your social image. Please use %1$s, %2$s, %3$s or %4$s formats to ensure it displays correctly on social media.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return(0,e.useEffect)((()=>{r(""===s&&t.toLowerCase().endsWith(".avif"))}),[t,s]),o?[n]:i},Qi=({isPremium:s,onLoad:i,location:o,imageFallbackUrl:r="",imageUrl:n="",imageWarnings:a=[],...l})=>{const[c,d]=(0,e.useState)(""),p=Xi(r,n,a),h=(0,e.useCallback)((e=>{d(e.detail.metaTabId)}),[d]);(0,e.useEffect)((()=>(setTimeout(i),window.addEventListener("YoastSEO:metaTabChange",h),()=>{window.removeEventListener("YoastSEO:metaTabChange",h)})),[]);const g={isPremium:s,onLoad:i,location:o,imageFallbackUrl:r,imageUrl:n,imageWarnings:p,activeMetaTabId:c,...l};return s?(0,u.jsx)(t.Slot,{name:`YoastFacebookPremium${o.charAt(0).toUpperCase()+o.slice(1)}`,fillProps:g}):(0,u.jsx)(Zi,{...g})};Qi.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired,imageFallbackUrl:o().string,imageUrl:o().string,imageWarnings:o().array};const Ji=Qi;function eo(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var i;e({type:(i=s.attributes).subtype,width:i.width,height:i.height,url:i.url,id:i.id,sizes:i.sizes,alt:i.alt||i.title||i.name})})),t})(e).open()}const to=()=>{eo((e=>(0,a.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,i=(0,ii.determineFacebookImageMode)({width:t,height:s}),o=ii.FACEBOOK_IMAGE_SIZES[i+"Width"],r=ii.FACEBOOK_IMAGE_SIZES[i+"Height"],n=Object.values(e.sizes).find((e=>e.width>=o&&e.height>=r));return{url:n?n.url:e.url,id:e.id,warnings:(0,Q.validateFacebookImage)(e),alt:e.alt||""}})(e))))},so=(0,V.compose)([(0,a.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:i,getSeoTitle:o,getFacebookImageUrl:r,getImageFallback:n,getFacebookWarnings:a,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:h,getSeoDescriptionTemplate:g,getSocialDescriptionTemplate:m,getReplacedExcerpt:y,getFacebookAltText:w}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:n(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:m()||s()||g()||y()||"",title:i(),titlePreviewFallback:h()||o()||u()||p()||"",imageWarnings:a(),siteUrl:d(),isPremium:!!Ps().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:w()}})),(0,a.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:i,setFacebookPreviewDescription:o,clearFacebookPreviewImage:r,loadFacebookPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:to,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:us(l,a)}})),Jt()])(Ji),io=({isPremium:s,onLoad:i,location:o,imageFallbackUrl:r="",imageUrl:n="",imageWarnings:a=[],...l})=>{const c=Xi(r,n,a);(0,e.useEffect)((()=>{setTimeout(i)}),[]);const d={isPremium:s,onLoad:i,location:o,imageFallbackUrl:r,imageUrl:n,imageWarnings:c,...l};return s?(0,u.jsx)(t.Slot,{name:`YoastTwitterPremium${o.charAt(0).toUpperCase()+o.slice(1)}`,fillProps:d}):(0,u.jsx)(Zi,{...d})};io.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired,imageFallbackUrl:o().string,imageUrl:o().string,imageWarnings:o().array};const oo=io,ro=()=>{eo((e=>(0,a.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,n.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=ii.TWITTER_IMAGE_SIZES[t+"Width"],i=ii.TWITTER_IMAGE_SIZES[t+"Height"],o=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=i));return{url:o?o.url:e.url,id:e.id,warnings:(0,Q.validateTwitterImage)(e),alt:e.alt||""}})(e))))},no=(0,V.compose)([(0,a.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:i,getFacebookImageUrl:o,getFacebookTitle:r,getFacebookDescription:n,getDescription:a,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:h,getSiteUrl:g,getSeoTitleTemplate:m,getSeoTitleTemplateNoFallback:y,getSocialTitleTemplate:w,getSeoDescriptionTemplate:f,getSocialDescriptionTemplate:x,getReplacedExcerpt:b,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:i(),imageFallbackUrl:o()||p(),recommendedReplacementVariables:u(),replacementVariables:h(),description:t(),descriptionPreviewFallback:x()||n()||a()||f()||b()||"",title:s(),titlePreviewFallback:w()||r()||l()||y()||m()||"",imageWarnings:c(),siteUrl:g(),isPremium:!!Ps().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,a.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:i,setTwitterPreviewDescription:o,clearTwitterPreviewImage:r,loadTwitterPreviewData:n,findCustomFields:a}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:ro,onRemoveImageClick:r,onDescriptionChange:o,onTitleChange:i,onLoad:n,onReplacementVariableSearchChange:us(l,a)}})),Jt()])(oo),ao=H().legend` margin: 16px 0; padding: 0; color: ${P.colors.$color_headings}; font-size: 12px; font-weight: 300; `,lo=H().legend` margin: 0 0 16px; padding: 0; color: ${P.colors.$color_headings}; font-size: 12px; font-weight: 300; `,co=H().div` padding: 16px; `,po=({useOpenGraphData:t,useTwitterData:s})=>(0,u.jsxs)(e.Fragment,{children:[s&&t&&(0,u.jsxs)(e.Fragment,{children:[(0,u.jsxs)(bs,{hasSeparator:!1 /* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,d.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0,children:[(0,u.jsx)(lo,{children:(0,d.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,u.jsx)(so,{}),(0,u.jsx)(ao,{children:(0,d.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo")})]}),(0,u.jsx)(bs,{title:(0,d.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1,children:(0,u.jsx)(no,{})})]}),t&&!s&&(0,u.jsxs)(co,{children:[(0,u.jsx)(lo,{children:(0,d.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")}),(0,u.jsx)(so,{})]}),!t&&s&&(0,u.jsxs)(co,{children:[(0,u.jsx)(lo,{children:(0,d.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")}),(0,u.jsx)(no,{})]})]});po.propTypes={useOpenGraphData:o().bool.isRequired,useTwitterData:o().bool.isRequired};const uo=po,ho=(0,a.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:s,useTwitterData:i}=t();return{useOpenGraphData:s,useTwitterData:i}}))(uo);function go({target:e}){return(0,u.jsx)(O,{target:e,children:(0,u.jsx)(ho,{})})}go.propTypes={target:o().string.isRequired};const mo=(0,Q.makeOutboundLink)(),yo=H().div` padding: 16px; `,wo="yoast-seo/editor";function fo({location:e,show:t}){return t?(0,u.jsxs)(F.Alert,{type:"info",children:[(0,d.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ (0,d.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,u.jsx)(mo,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`],children:(0,d.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ (0,d.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO")})]}):null}fo.propTypes={show:o().bool.isRequired,location:o().string.isRequired};const xo=(e,t,s)=>{const i=(0,a.useSelect)((e=>e(wo).getIsProduct()),[]),o=(0,a.useSelect)((e=>e(wo).getIsWooSeoActive()),[]),r=i&&o?{name:(0,d.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,d.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ (0,d.__)("Default for %1$s (%2$s)","wordpress-seo"),s,r?r.name:""),value:""},...e]},bo=(e,t)=>p((e=>(0,d.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ (0,d.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"<link>","</link>"))(e),{link:(0,u.jsx)("a",{href:t,target:"_blank",rel:"noreferrer"})}),vo=({helpTextTitle:e,helpTextLink:t,helpTextDescription:s})=>(0,u.jsx)(F.FieldGroup,{label:e,linkTo:t /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:s});vo.propTypes={helpTextTitle:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextDescription:o().string.isRequired};const ko=({schemaPageTypeChange:t=n.noop,schemaPageTypeSelected:s=null,pageTypeOptions:i,schemaArticleTypeChange:o=n.noop,schemaArticleTypeSelected:r=null,articleTypeOptions:l,showArticleTypeInput:c,additionalHelpTextLink:p,helpTextLink:h,helpTextTitle:g,helpTextDescription:m,postTypeName:y,displayFooter:w=!1,defaultPageType:f,defaultArticleType:x,location:b,isNewsEnabled:v=!1})=>{const k=xo(i,f,y),_=xo(l,x,y),T=(0,a.useSelect)((e=>e(wo).selectLink("https://yoa.st/product-schema-metabox")),[]),R=(0,a.useSelect)((e=>e(wo).getIsWooSeoUpsell()),[]),[j,S]=(0,e.useState)(r),I=(0,d.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),C=(0,a.useSelect)((e=>e(wo).getIsProduct()),[]),E=(0,a.useSelect)((e=>e(wo).getIsWooSeoActive()),[]),L=(0,a.useSelect)((e=>e(wo).selectAdminLink("?page=wpseo_page_settings")),[]),A=C&&E,q=(0,e.useCallback)(((e,t)=>{S(t)}),[]);return(0,e.useEffect)((()=>{q(null,r)}),[r]),(0,u.jsxs)(e.Fragment,{children:[(0,u.jsx)(vo,{helpTextLink:h,helpTextTitle:g,helpTextDescription:m}),(0,u.jsx)(F.FieldGroup,{label:(0,d.__)("What type of page or content is this?","wordpress-seo"),linkTo:p /* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about page or content types","wordpress-seo")}),R&&(0,u.jsx)(gs,{link:T,text:I}),(0,u.jsx)(F.Select,{id:(0,Q.join)(["yoast-schema-page-type",b]),options:k,label:(0,d.__)("Page type","wordpress-seo"),onChange:t,selected:A?"ItemPage":s,disabled:A}),c&&(0,u.jsx)(F.Select,{id:(0,Q.join)(["yoast-schema-article-type",b]),options:_,label:(0,d.__)("Article type","wordpress-seo"),onChange:o,selected:r,onOptionFocus:q}),(0,u.jsx)(fo,{location:b,show:!v&&(P=j,M=x,"NewsArticle"===P||""===P&&"NewsArticle"===M)}),w&&!A&&(0,u.jsx)("p",{children:bo(y,L)}),A&&(0,u.jsx)("p",{children:(0,d.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,d.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")})]});var P,M},_o=o().arrayOf(o().shape({name:o().string,value:o().string}));ko.propTypes={schemaPageTypeChange:o().func,schemaPageTypeSelected:o().string,pageTypeOptions:_o.isRequired,schemaArticleTypeChange:o().func,schemaArticleTypeSelected:o().string,articleTypeOptions:_o.isRequired,showArticleTypeInput:o().bool.isRequired,additionalHelpTextLink:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,defaultPageType:o().string.isRequired,defaultArticleType:o().string.isRequired,location:o().string.isRequired,isNewsEnabled:o().bool};const To=({isMetabox:t,showArticleTypeInput:s=!1,articleTypeLabel:i="",additionalHelpTextLink:o="",pageTypeLabel:r,helpTextLink:n,helpTextTitle:a,helpTextDescription:l,postTypeName:c,displayFooter:d=!1,loadSchemaArticleData:p,loadSchemaPageData:h,location:g,...m})=>{const y=(0,u.jsx)(ko,{showArticleTypeInput:s,articleTypeLabel:i,additionalHelpTextLink:o,pageTypeLabel:r,helpTextLink:n,helpTextTitle:a,helpTextDescription:l,postTypeName:c,displayFooter:d,loadSchemaArticleData:p,loadSchemaPageData:h,location:g,...m});return t?(0,e.createPortal)((0,u.jsx)(yo,{children:y}),document.getElementById("wpseo-meta-section-schema")):y};To.propTypes={isMetabox:o().bool.isRequired,showArticleTypeInput:o().bool,articleTypeLabel:o().string,additionalHelpTextLink:o().string,pageTypeLabel:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,loadSchemaArticleData:o().func.isRequired,loadSchemaPageData:o().func.isRequired,location:o().string.isRequired};const Ro=To;class jo{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return jo.articleTypeInput.getAttribute("data-default")}static get articleType(){return jo.articleTypeInput.value}static set articleType(e){jo.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return jo.pageTypeInput.getAttribute("data-default")}static get pageType(){return jo.pageTypeInput.value}static set pageType(e){jo.pageTypeInput.value=e}}const So=t=>{const s=null!==jo.articleTypeInput;(0,e.useEffect)((()=>{t.loadSchemaPageData(),s&&t.loadSchemaArticleData()}),[]);const{pageTypeOptions:i,articleTypeOptions:o}=window.wpseoScriptData.metabox.schema,r={articleTypeLabel:(0,d.__)("Article type","wordpress-seo"),pageTypeLabel:(0,d.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,d.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,d.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:s,pageTypeOptions:i,articleTypeOptions:o},n={...t,...r,...(a=t.location,"metabox"===a?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var a;return(0,u.jsx)(Ro,{...n})};So.propTypes={displayFooter:o().bool.isRequired,schemaPageTypeSelected:o().string.isRequired,schemaArticleTypeSelected:o().string.isRequired,defaultArticleType:o().string.isRequired,defaultPageType:o().string.isRequired,loadSchemaPageData:o().func.isRequired,loadSchemaArticleData:o().func.isRequired,schemaPageTypeChange:o().func.isRequired,schemaArticleTypeChange:o().func.isRequired,location:o().string.isRequired};const Io=(0,V.compose)([(0,a.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:i,getArticleType:o,getDefaultArticleType:r}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:n,isNewsEnabled:a}=t();return{displayFooter:n,isNewsEnabled:a,schemaPageTypeSelected:s(),schemaArticleTypeSelected:o(),defaultArticleType:r(),defaultPageType:i()}})),(0,a.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:i,getSchemaArticleData:o}=e("yoast-seo/editor");return{loadSchemaPageData:i,loadSchemaArticleData:o,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),Jt()])(So),Co=window.yoast.relatedKeyphraseSuggestions;function Eo({requestLimitReached:e,isSuccess:t,response:s,requestHasData:i,relatedKeyphrases:o}){return e?"requestLimitReached":!t&&function(e){return"invalid_json"===(null==e?void 0:e.code)||"fetch_error"===(null==e?void 0:e.code)||!(0,n.isEmpty)(e)&&"error"in e}(s)?"requestFailed":i?function(e){return e&&e.length>=4}(o)?"maxRelatedKeyphrases":null:"requestEmpty"}function Lo({keyphrase:t="",relatedKeyphrases:s=[],renderAction:i=null,requestLimitReached:o=!1,countryCode:n,setCountry:a,newRequest:l,response:c={},isRtl:d=!1,userLocale:p="en_US",isPending:h=!1,isSuccess:g=!1,requestHasData:m=!0,isPremium:y=!1,semrushUpsellLink:w="",premiumUpsellLink:f=""}){var x,b;const[v,k]=(0,e.useState)(n),_=(0,e.useCallback)((async()=>{l(n,t),k(n)}),[n,t,l]);return(0,u.jsxs)(r.Root,{context:{isRtl:d},children:[!o&&!y&&(0,u.jsx)(Co.PremiumUpsell,{url:f,className:"yst-mb-4"}),!o&&(0,u.jsx)(Co.CountrySelector,{countryCode:n,activeCountryCode:v,onChange:a,onClick:_,className:"yst-mb-4",userLocale:p.split("_")[0]}),!h&&(0,u.jsx)(Co.UserMessage,{variant:Eo({requestLimitReached:o,isSuccess:g,response:c,requestHasData:m,relatedKeyphrases:s}),upsellLink:w}),(0,u.jsx)(Co.KeyphrasesTable,{relatedKeyphrases:s,columnNames:null==c||null===(x=c.results)||void 0===x?void 0:x.columnNames,data:null==c||null===(b=c.results)||void 0===b?void 0:b.rows,isPending:h,renderButton:i,className:"yst-mt-4"})]})}Lo.propTypes={keyphrase:o().string,relatedKeyphrases:o().array,renderAction:o().func,requestLimitReached:o().bool,countryCode:o().string.isRequired,setCountry:o().func.isRequired,newRequest:o().func.isRequired,response:o().object,isRtl:o().bool,userLocale:o().string,isPending:o().bool,isSuccess:o().bool,requestHasData:o().bool,isPremium:o().bool,semrushUpsellLink:o().string,premiumUpsellLink:o().string};const Ao=(0,V.compose)([(0,a.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:i,getSEMrushRequestResponse:o,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:n,getSEMrushRequestHasData:a,getPreference:l,getIsPremium:c,selectLinkParams:d}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:i(),response:o(),isSuccess:r(),isPending:n(),requestHasData:a(),isRtl:l("isRtl",!1),userLocale:l("userLocale","en_US"),isPremium:c(),semrushUpsellLink:(0,Ss.addQueryArgs)("https://yoa.st/semrush-prices",d()),premiumUpsellLink:(0,Ss.addQueryArgs)("https://yoa.st/413",d())}})),(0,a.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)}}}))])(Lo),qo=({isOpen:e,closeModal:t,id:s,upsellLink:i})=>(0,u.jsx)($s,{isOpen:e,onClose:t,id:s,upsellLink:i,title:(0,d.__)("Cover more search intent with related keyphrases","wordpress-seo"),description:(0,d.__)("Optimize for up to 5 keyphrases to shape your content around different themes, audiences, and angles - helping it get discovered by a wider audience.","wordpress-seo"),note:(0,d.__)("Fine-tune your content for every audience","wordpress-seo"),modalTitle:(0,d.__)("Add more keyphrases with Premium","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),Fo=()=>{const[t,,,s,i]=(0,r.useToggleState)(!1),o=(0,e.useContext)($.LocationContext),{locationContext:n}=(0,$.useRootContext)(),a=(0,r.useSvgAria)(),l=wpseoAdminL10n["sidebar"===o.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(qo,{isOpen:t,closeModal:i,upsellLink:(0,Ss.addQueryArgs)(l,{context:n}),id:`yoast-additional-keyphrases-modal-${o}`}),"sidebar"===o&&(0,u.jsx)(ae,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,d.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:P.colors.$color_grey_medium_dark},onClick:s,children:(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsx)(r.Badge,{size:"small",variant:"upsell",children:(0,u.jsx)(Us,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...a})})})}),"metabox"===o&&(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)(X,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:s,children:[(0,u.jsx)(F.SvgIcon,{icon:"plus",color:P.colors.$color_grey_medium_dark}),(0,u.jsx)(X.Text,{children:(0,d.__)("Add related keyphrase","wordpress-seo")}),(0,u.jsxs)(r.Badge,{size:"small",variant:"upsell",children:[(0,u.jsx)(Us,{className:"yst-w-2.5 yst-h-2.5 yst-me-1 yst-shrink-0",...a}),(0,u.jsx)("span",{children:"Premium"})]})]})})]})},Po=l.forwardRef((function(e,t){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),l.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Mo=({store:t="yoast-seo/editor",location:s="sidebar"})=>{const i="black-friday-promotion",o=(0,a.useSelect)((e=>e(t).getIsPremium()),[t]),n=(0,a.useSelect)((e=>e(t).selectLinkParams()),[t]),l=(0,a.useSelect)((e=>e(t).isPromotionActive(i)),[t]),c=(0,a.useSelect)((e=>e(t).getIsWooCommerceActive()),[t]),p=(0,a.useSelect)((e=>e(t).isAlertDismissed(i)),[t]),h=(0,a.useSelect)((e=>e(t).getIsElementorEditor()),[t]),m=(0,e.useCallback)((()=>{(0,a.dispatch)(t).dismissAlert(i)}),[t,i]),y=(0,Ss.addQueryArgs)("https://yoa.st/black-friday-sale",n),w=(0,r.useSvgAria)();return o||!l||p?null:(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)("div",{className:E()("sidebar"!==s||h?"yst-mx-4":"yst-mx-0","yst-border yst-rounded-lg yst-p-4 yst-max-w-md yst-mt-6 yst-relative yst-shadow-sm",c?"yst-border-woo-light":"yst-border-primary-200"),children:[(0,u.jsxs)(r.Badge,{size:"small",className:"yst-text-[10px] yst-bg-black yst-text-amber-300 yst-absolute yst--top-2",children:[(0,d.__)("BLACK FRIDAY","wordpress-seo")," "]}),(0,u.jsxs)("button",{className:"yst-absolute yst-top-4 yst-end-4",onClick:m,children:[(0,u.jsx)(Po,{className:"yst-w-4 yst-text-slate-400 yst-shrink-0 yst--mt-0.5"}),(0,u.jsx)("div",{className:"yst-sr-only",children:(0,d.__)("Dismiss","wordpress-seo")})]}),(0,u.jsxs)("div",{className:E()("sidebar"===s?"":"yst-flex yst-justify-between yst-gap-3"),children:[(0,u.jsxs)("div",{className:c?"yst-text-woo-light":"yst-text-primary-500",children:[(0,u.jsx)("div",{className:"yst-text-2xl yst-font-bold",children:(0,d.__)("30% OFF","wordpress-seo")}),(0,u.jsx)("div",{className:"yst-flex yst-gap-2 yst-font-semibold yst-text-tiny",children:c?(0,u.jsxs)(u.Fragment,{children:["Yoast WooCommerce SEO ",(0,u.jsx)(Ws,{className:"yst-w-4 yst-scale-x-[-1]",...w})]}):(0,u.jsxs)(u.Fragment,{children:[" Yoast SEO Premium ",(0,u.jsx)(q,{className:"yst-w-4",...w})]})})]}),(0,u.jsx)("div",{className:"yst-flex yst-items-end",children:(0,u.jsxs)(r.Button,{as:"a",className:E()("sidebar"===s?"yst-w-full":"yst-w-[140px]","yst-flex yst-gap-1 yst-w-[140px] yst-h-7 yst-mt-4"),variant:"upsell",href:y,target:"_blank",rel:"noreferrer",children:[(0,d.__)("Buy now!","wordpress-seo"),(0,u.jsx)(g,{className:"yst-w-4 rtl:yst-rotate-180",...w})]})})]})]})})};Mo.propTypes={store:o().string,location:o().oneOf(["sidebar","metabox"])};const Do=(Oo=Mo,e=>!(()=>{var e,t;const s=(0,a.select)("yoast-seo/editor").getIsPremium(),i=(0,a.select)("yoast-seo/editor").getWarningMessage();return(s&&null!==(e=null===(t=(0,a.select)("yoast-seo-premium/editor"))||void 0===t?void 0:t.getMetaboxWarning())&&void 0!==e?e:[]).length>0||i.length>0})()&&(0,u.jsx)(Oo,{...e}));var Oo;function No({settings:s}){const{isTerm:i}=(0,a.useSelect)((e=>({isTerm:e("yoast-seo/editor").getIsTerm(),isProduct:e("yoast-seo/editor").getIsProduct(),isWooCommerceActive:e("yoast-seo/editor").getIsWooCommerceActive()})),[]),o=window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor;return o&&(()=>{const{editorMode:t,activeAIButtonId:s}=(0,a.useSelect)((e=>({editorMode:e("core/edit-post").getEditorMode(),activeAIButtonId:e("yoast-seo/editor").getActiveAIFixesButton()})),[]),{setMarkerStatus:i}=(0,a.useDispatch)("yoast-seo/editor");(0,e.useEffect)((()=>(i("visual"===t&&s||"text"===t?"disabled":"enabled"),()=>{i("disabled")})),[t,s])})(),(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(t.Fill,{name:"YoastMetabox",children:[(0,u.jsx)(Ks,{renderPriority:1,children:(0,u.jsx)(ws,{})},"warning"),(0,u.jsx)(Ks,{renderPriority:2,children:(0,u.jsx)(Do,{location:"metabox"})},"time-constrained-notification"),s.isKeywordAnalysisActive&&(0,u.jsxs)(Ks,{renderPriority:8,children:[(0,u.jsx)(Qt.KeywordInput,{isSEMrushIntegrationActive:s.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,u.jsx)(t.Fill,{name:"YoastRelatedKeyphrases",children:(0,u.jsx)(Ao,{})})]},"keyword-input"),(0,u.jsx)(Ks,{renderPriority:9,children:(0,u.jsx)(bs,{id:"yoast-snippet-editor-metabox",title:(0,d.__)("Search appearance","wordpress-seo"),initialIsOpen:!0,children:(0,u.jsx)(ys,{hasPaperStyle:!1})})},"search-appearance"),s.isContentAnalysisActive&&(0,u.jsx)(Ks,{renderPriority:10,children:(0,u.jsx)(Qt.ReadabilityAnalysis,{shouldUpsell:s.shouldUpsell})},"readability-analysis"),s.isKeywordAnalysisActive&&(0,u.jsx)(Ks,{renderPriority:20,children:(0,u.jsx)(e.Fragment,{children:(0,u.jsx)(Qt.SeoAnalysis,{shouldUpsell:s.shouldUpsell})})},"seo-analysis"),s.isInclusiveLanguageAnalysisActive&&(0,u.jsx)(Ks,{renderPriority:21,children:(0,u.jsx)(Qt.InclusiveLanguageAnalysis,{})},"inclusive-language-analysis"),s.isKeywordAnalysisActive&&(0,u.jsx)(Ks,{renderPriority:22,children:s.shouldUpsell&&(0,u.jsx)(Fo,{})},"additional-keywords-upsell"),s.isKeywordAnalysisActive&&s.isWincherIntegrationActive&&(0,u.jsx)(Ks,{renderPriority:23,children:(0,u.jsx)(Xt,{location:"metabox"})},"wincher-seo-performance"),s.shouldUpsell&&!i&&(0,u.jsx)(Ks,{renderPriority:25,children:(0,u.jsx)(Bs,{})},"internal-linking-suggestions-upsell"),s.isCornerstoneActive&&(0,u.jsx)(Ks,{renderPriority:30,children:(0,u.jsx)(es,{})},"cornerstone"),s.displayAdvancedTab&&(0,u.jsx)(Ks,{renderPriority:40,children:(0,u.jsx)(bs,{id:"collapsible-advanced-settings",title:(0,d.__)("Advanced","wordpress-seo"),children:(0,u.jsx)(Js,{})})},"advanced"),s.displaySchemaSettings&&(0,u.jsx)(Ks,{renderPriority:50,children:(0,u.jsx)(Io,{})},"schema"),o&&(0,u.jsx)(Ks,{renderPriority:24,children:(0,u.jsx)(Qt.ContentBlocks,{})},"content-blocks"),(0,u.jsx)(Ks,{renderPriority:-1,children:(0,u.jsx)(go,{target:"wpseo-section-social"})},"social"),s.isInsightsEnabled&&(0,u.jsx)(Ks,{renderPriority:52,children:(0,u.jsx)(Ns,{location:"metabox"})},"insights")]})})}No.propTypes={settings:o().object.isRequired};const Uo=(0,V.compose)([(0,a.withSelect)(((e,t)=>{const{getPreferences:s}=e("yoast-seo/editor");return{settings:s(),store:t.store}}))])(No);function Wo({target:e,store:t,theme:s}){return(0,u.jsxs)(O,{target:e,children:[(0,u.jsx)(z,{store:t,theme:s}),(0,u.jsx)(Uo,{store:t,theme:s})]})}Wo.propTypes={target:o().string.isRequired,store:o().object.isRequired,theme:o().object.isRequired};const $o=[];let Bo=null;class Ho extends e.Component{constructor(e){super(e),this.state={registeredComponents:[...$o]}}registerComponent(e,t){this.setState((s=>({...s,registeredComponents:[...s.registeredComponents,{key:e,Component:t}]})))}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,u.jsx)(e,{},t)))}}function Ko(e,t){null===Bo||null===Bo.current?$o.push({key:e,Component:t}):Bo.current.registerComponent(e,t)}const Yo=window.yoast.externals.redux,zo=window.jQuery;var Vo=s.n(zo);function Go(e){let t="";var s;return t=!1===function(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}n.noop,n.noop,n.noop;const{removeMarks:Zo}=M.markers,{updateReplacementVariable:Xo,updateData:Qo,hideReplacementVariables:Jo,setContentImage:er,setEditorDataContent:tr,setEditorDataTitle:sr,setEditorDataExcerpt:ir,setEditorDataImageUrl:or,setEditorDataSlug:rr}=Yo.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(s){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=Ko,function(s){const i=Ps();Bo=(0,e.createRef)();const o={isRtl:i.isRtl};(0,e.createRoot)(document.getElementById("wpseo-metabox-root")).render((0,u.jsxs)(t.SlotFillProvider,{children:[(0,u.jsx)($.Root,{context:{locationContext:"classic-metabox"},children:(0,u.jsx)(Wo,{target:"wpseo-metabox-root",store:s,theme:o})}),(0,u.jsx)(Ho,{ref:Bo})]}))}(s)},window.yoast.EditorData=class{constructor(e,t,s="content"){this._refresh=e,this._store=t,this._tinyMceId=s,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){const s=this.getInitialData(e);var i,o;i=s,o=this._store,(0,n.forEach)(i,((e,t)=>{ds.includes(t)||o.dispatch(as(t,e))})),this._store.dispatch(Jo(t)),this._previousEditorData.content=s.content,this._store.dispatch(tr(s.content)),this._previousEditorData.contentImage=s.contentImage,this._store.dispatch(er(s.contentImage)),this.setImageInSnippetPreview(s.snippetPreviewImageURL||s.contentImage),this._previousEditorData.slug=s.slug,this._store.dispatch(rr(s.slug)),this.updateReplacementData({target:{value:s.title}},"title"),this.updateReplacementData({target:{value:s.excerpt}},"excerpt"),this.updateReplacementData({target:{value:s.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if((0,n.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(tr(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(er(t)),this.setImageInSnippetPreview(t))};Vo()(document).on("tinymce-editor-init",((t,s)=>{s.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach((t=>s.on(t,(0,n.debounce)(e,1e3)))))}));const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",(t=>e(t.target.value))))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(rr(e)),this._store.dispatch(Qo({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",(t=>e(t.target.value)));const s=document.getElementById("post_name");s&&s.addEventListener("input",(t=>e(t.target.value)));const i=document.getElementById("edit-slug-buttons");i&&new MutationObserver(((t,s)=>t.forEach((t=>{t.addedNodes.forEach((t=>{var i,o;if(null==t||null===(i=t.classList)||void 0===i||!i.contains("edit-slug"))return;const r=null===(o=document.getElementById("editable-post-name-full"))||void 0===o?void 0:o.innerText;r&&(e(r),s.disconnect(),this.subscribeToSlug())}))})))).observe(i,{childList:!0})}subscribeToSnippetPreviewImage(){if((0,n.isUndefined)(wp.media)||(0,n.isUndefined)(wp.media.featuredImage))return;Vo()("#postimagediv").on("click","#remove-post-thumbnail",(()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))}));const e=wp.media.featuredImage.frame();var t,s,i;e.on("select",(()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))})),t=this._tinyMceId,s=["init"],i=()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(er(e)),this.setImageInSnippetPreview(t)},"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){const o=e.editor;o.id===t&&(0,n.forEach)(s,(function(e){o.on(e,i)}))}))}getFeaturedImage(){const e=Vo()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(or(e)),this._store.dispatch(Qo({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=M.languageProcessing.imageInText(e);if(0===t.length)return"";const s=Vo().parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(e=!0){const t=document.getElementById("excerpt"),s=t&&t.value||"",i="ja"===function(){const e=Ps();return(0,n.get)(e,"contentLocale","en_US")}()?80:156;return""!==s||!1===e?s:function(e,t=156){return(e=(e=(0,rs.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}(this.getContent(),i)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return Zo(Go(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const s=document.getElementById(e);s&&s.addEventListener("input",(e=>{this.updateReplacementData(e,t)}))}updateReplacementData(e,t){let s=e.target.value;if("excerpt"===t&&""===s&&(s=this.getExcerpt()),this._previousEditorData[t]!==s){switch(this._previousEditorData[t]=s,t){case"title":this._store.dispatch(sr(s));break;case"excerpt":this._store.dispatch(ir(s))}this._store.dispatch(Xo(t,s))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(e.hasOwnProperty(s)&&(!(s in t)||e[s]!==t[s]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Xo("excerpt",e.excerpt)),this._store.dispatch(Xo("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(rr(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(sr(e.title))}subscribeToStore(){this.subscriber=(0,n.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=function(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,n.forEach)(e.custom_taxonomies,((e,t)=>{const{name:i,label:o,descriptionName:r,descriptionLabel:n}=function(e){const t=ps(e);return{name:"ct_"+t,label:ls(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:ls(e+" description (custom taxonomy)")}}(t),a="string"==typeof e.name?(0,Q.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,Q.decodeHTML)(e.description):e.description;s[i]={value:a,label:o},s[r]={value:l,label:n}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(s)),(0,n.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,n.forEach)(e.custom_fields,((e,s)=>{const{name:i,label:o}=function(e){return{name:"cf_"+ps(e),label:ls(e+" (custom field)")}}(s);t.dispatch(as(i,e,o))})),(0,n.omit)({...e},"custom_fields")):e}(e,this._store),this._store);const t=this.getContent(),s=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:s,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}})()})(); dist/addon-installation.js 0000644 00000007755 15174677550 0011670 0 ustar 00 (()=>{"use strict";var e={n:n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return e.d(s,{a:s}),s},d:(n,s)=>{for(var t in s)e.o(s,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:s[t]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window.wp.element,s=window.wp.i18n,t=window.yoast.componentsNew,o=window.yoast.propTypes;var a=e.n(o);const l=window.yoast.styledComponents;var i=e.n(l);const r=window.React;var d,c;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var t in s)({}).hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e},p.apply(null,arguments)}const w=e=>r.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),d||(d=r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),c||(c=r.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),u=window.wp.components,h=window.ReactJSXRuntime,m=({title:e="Yoast SEO",className:n="yoast yoast-gutenberg-modal",showYoastIcon:s=!0,children:t=null,additionalClassName:o="",...a})=>{const l=s?(0,h.jsx)("span",{className:"yoast-icon"}):null;return(0,h.jsx)(u.Modal,{title:e,className:`${n} ${o}`,icon:l,...a,children:t})};m.propTypes={title:a().string,className:a().string,showYoastIcon:a().bool,children:a().oneOfType([a().node,a().arrayOf(a().node)]),additionalClassName:a().string};const y=m,g=i().div` display: flex; justify-content: flex-end; gap: 8px; `,v=({nonce:e,addons:o=[]})=>{const[a,l]=(0,n.useState)(!0),i=(0,n.useCallback)((()=>{l(!1)}),[l]),r=(0,n.useCallback)((()=>{window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e}),[e]),d=(0,n.useCallback)((()=>(0,h.jsx)(t.Button,{onClick:i,id:"close-addon-installation-dialog",children:(0,s.__)("Cancel","wordpress-seo")})),[i]),c=(0,s.sprintf)(/* translators: %s expands to Yoast */ (0,s.__)("%s SEO installation","wordpress-seo"),"Yoast");let p,u=(0,s.__)("the following addons","wordpress-seo");return 1===o.length&&(u=o[0]),1!==o.length&&(p=(0,h.jsx)("ul",{className:"ul-disc",children:o.map(((e,n)=>(0,h.jsx)("li",{children:e},"addon-"+n)))})),a?(0,h.jsxs)(y,{title:c,onRequestClose:i,icon:(0,h.jsx)(w,{}),isDismissible:!1,children:[(0,h.jsx)("p",{children:(0,s.sprintf)(/* translators: %s expands to Yoast SEO Premium */ (0,s.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)}),p,(0,h.jsxs)(g,{children:[d(),(0,h.jsx)(t.Button,{onClick:r,id:"continue-addon-installation-dialog",className:"yoast-button--primary",children:(0,s.__)("Install and activate","wordpress-seo")})]})]}):null};v.propTypes={nonce:a().string.isRequired,addons:a().array};const f=v,x=document.createElement("div");x.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(x),(0,n.createRoot)(x).render((0,h.jsx)(f,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}))})(); dist/bulk-editor.js 0000644 00000005003 15174677550 0010305 0 ustar 00 (()=>{"use strict";var e={n:n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return e.d(s,{a:s}),s},d:(n,s)=>{for(var t in s)e.o(s,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:s[t]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window.jQuery;var s,t=e.n(n);s=function(e){var n=e.find("[class^=wpseo-new]").first().attr("class"),s="#"+n+"-",i=s.replace("new","existing"),a=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),o=n.replace("-new-","_save_"),l="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],r=o.replace("wpseo_save_",""),c={newClass:"."+n,newId:s,existingId:i},d={submit_new:function(e){d.submitNew(e)},submitNew:function(e){var n,s=c.newId+e,i=c.existingId+e;n="select-one"===t()(c.newId+e).prop("type")?t()(s).find(":selected").text():t()(s).val();var l=t()(i).html();if(n===l)t()(s).val("");else{if(""===n&&!window.confirm("Are you sure you want to remove the existing "+a+"?"))return void t()(s).val("");var r={action:o,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:n,existing_value:l};t().post(ajaxurl,r,d.handleResponse)}},submit_all:function(e){d.submitAll(e)},submitAll:function(e){e.preventDefault();var n={action:l,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};t()(c.newClass).each((function(){var e=t()(this).data("id"),s=t()(this).val(),i=t()(c.existingId+e).html();""!==s&&(s===i?t()(c.newId+e).val(""):(n.send=!0,n.items[e]=s,n.existingItems[e]=i))})),n.send&&t().post(ajaxurl,n,d.handleResponses)},handle_response:function(e,n){d.handleResponse(e,n)},handleResponse:function(e,n){if("success"===n){var s=e;if("string"==typeof s&&(s=JSON.parse(s)),s instanceof Array)t().each(s,(function(){d.handleResponse(this,n)}));else if("success"===s.status){var i=s["new_"+r];t()(c.existingId+s.post_id).text(i.replace(/\\(?!\\)/g,"")),t()(c.newId+s.post_id).val("")}}},handle_responses:function(e,n){d.handleResponses(e,n)},handleResponses:function(e,n){var s=t().parseJSON(e);t().each(s,(function(){d.handleResponse(this,n)}))},set_events:function(){d.setEvents()},setEvents:function(){e.find(".wpseo-save").click((function(e){var n=t()(this).data("id");e.preventDefault(),d.submitNew(n,this)})),e.find(".wpseo-save-all").click(d.submitAll),e.find(c.newClass).keydown((function(e){if(13===e.which){e.preventDefault();var n=t()(this).data("id");d.submitNew(n,this)}}))}};return d},window.bulk_editor=s,window.bulkEditor=s,t()(document).ready((function(){t()('table[class*="wpseo_bulk"]').each((function(e,n){var i=t()(n);s(i).setEvents()}))}))})(); dist/redirect-old-features-tab.js 0000644 00000000355 15174677550 0013026 0 ustar 00 window.wpseoRedirectOldFeaturesTabToNewSettings=function(){if("#top#features"===window.location.hash){const e=window.location.href.replace("wpseo_dashboard#top#features","wpseo_page_settings#/site-features");window.location.replace(e)}}; dist/editor-modules.js 0000644 00000364657 15174677550 0011047 0 ustar 00 (()=>{var e={4184:(e,s)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],s=0;s<arguments.length;s++){var t=arguments[s];if(t){var i=typeof t;if("string"===i||"number"===i)e.push(t);else if(Array.isArray(t)){if(t.length){var a=o.apply(null,t);a&&e.push(a)}}else if("object"===i){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var n in t)r.call(t,n)&&t[n]&&e.push(n)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(t=function(){return o}.apply(s,[]))||(e.exports=t)}()}},s={};function t(r){var o=s[r];if(void 0!==o)return o.exports;var i=s[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};t.r(e),t.d(e,{refreshDelay:()=>n});var s={};t.r(s),t.d(s,{default:()=>x,initializationDone:()=>f,sortResultsByIdentifier:()=>y});var r={};t.r(r),t.d(r,{default:()=>K,getIconForScore:()=>z});var o={};t.r(o),t.d(o,{doAjaxRequest:()=>ze});var i={};t.r(i),t.d(i,{applyReplaceUsingPlugin:()=>cs,createLabelFromName:()=>ss,excerptFromContent:()=>ls,fillReplacementVariables:()=>Xe,handlePrefixes:()=>es,mapCustomFields:()=>ns,mapCustomTaxonomies:()=>as,nonReplaceVars:()=>Je,prepareCustomFieldForDispatch:()=>os,prepareCustomTaxonomyForDispatch:()=>is,pushNewReplaceVar:()=>ts,replaceSpaces:()=>rs});const a=window.yoast.externals.contexts,n=500,l=window.lodash;function c(){return(0,l.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const d=window.wp.i18n,u=window.yoast.analysis,p=window.wp.hooks,h=window.yoast.externals.redux;function m(){}let g=!1;function y(e){return e.sort(((e,s)=>e._identifier.localeCompare(s._identifier)))}function x(e,s,t,r,o){if(!g)return;const i=u.Paper.parse(s());e.analyze(i).then((a=>{const{result:{seo:n,readability:l,inclusiveLanguage:c}}=a;if(n){const e=n[""];e.results.forEach((e=>{e.getMarker=()=>()=>t(i,e.marks)})),e.results=y(e.results),r.dispatch(h.actions.setSeoResultsForKeyword(i.getKeyword(),e.results)),r.dispatch(h.actions.setOverallSeoScore(e.score,i.getKeyword())),r.dispatch(h.actions.refreshSnippetEditor()),o.saveScores(e.score,i.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>t(i,e.marks)})),l.results=y(l.results),r.dispatch(h.actions.setReadabilityResults(l.results)),r.dispatch(h.actions.setOverallReadabilityScore(l.score)),r.dispatch(h.actions.refreshSnippetEditor()),o.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>t(i,e.marks)})),c.results=y(c.results),r.dispatch(h.actions.setInclusiveLanguageResults(c.results)),r.dispatch(h.actions.setOverallInclusiveLanguageScore(c.score)),r.dispatch(h.actions.refreshSnippetEditor()),o.saveInclusiveLanguageScore(c.score)),(0,p.doAction)("yoast.analysis.refresh",a,{paper:i,worker:e,collectData:s,applyMarks:t,store:r,dataCollector:o})})).catch(m)}function f(){g=!0}const w=window.wp.element,b=window.yoast.styledComponents;var v=t.n(b);const k=window.yoast.propTypes;var S=t.n(k);const _=window.yoast.componentsNew,j=window.yoast.helpers,R=window.yoast.styleGuide,C=window.ReactJSXRuntime,I=R.colors.$color_bad,E=R.colors.$palette_error_background,L=R.colors.$color_grey_text_light,N=R.colors.$palette_error_text,M=v().div` display: flex; flex-direction: column; `,T=v().label` font-size: var(--yoast-font-size-default); font-weight: var(--yoast-font-weight-bold); ${(0,j.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")}; `,P=v().span` margin-bottom: 0.5em; `,A=v()(_.InputField)` flex: 1 !important; box-sizing: border-box; max-width: 100%; margin: 0; // Reset margins inherited from WordPress. // Hide native X in Edge and IE11. &::-ms-clear { display: none; } &.has-error { border-color: ${I} !important; background-color: ${E} !important; &:focus { box-shadow: 0 0 2px ${I} !important; } } `,F=v().ul` color: ${N}; list-style-type: disc; list-style-position: outside; margin: 0; margin-left: 1.2em; `,q=v().li` color: ${N}; margin: 0 0 0.5em 0; `,O=(0,_.addFocusStyle)(v().button` border: 1px solid transparent; box-shadow: none; background: none; flex: 0 0 32px; height: 32px; max-width: 32px; padding: 0; cursor: pointer; `);O.propTypes={type:S().string,focusColor:S().string,focusBackgroundColor:S().string,focusBorderColor:S().string},O.defaultProps={type:"button",focusColor:R.colors.$color_button_text_hover,focusBackgroundColor:"transparent",focusBorderColor:R.colors.$color_blue};const $=v()(_.SvgIcon)` margin-top: 4px; `,B=v().div` display: flex; flex-direction: row; align-items: center; &.has-remove-keyword-button { ${A} { ${(0,j.getDirectionalStyle)("padding-right: 40px","padding-left: 40px")}; } ${O} { ${(0,j.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")}; } } `;class U extends w.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:s,helpLink:t}=this.props;return(0,C.jsxs)(P,{children:[(0,C.jsx)(T,{htmlFor:e,children:s}),t]})}renderErrorMessages(){const e=[...this.props.errorMessages];return!(0,l.isEmpty)(e)&&(0,C.jsx)(F,{children:e.map(((e,s)=>(0,C.jsx)(q,{children:(0,C.jsx)("span",{role:"alert",children:e})},s)))})}render(){const{id:e,showLabel:s,keyword:t,onRemoveKeyword:r,onBlurKeyword:o,onFocusKeyword:i,hasError:a}=this.props,n=!s,c=r!==l.noop;return(0,C.jsxs)(M,{children:[s&&this.renderLabel(),a&&this.renderErrorMessages(),(0,C.jsxs)(B,{className:c?"has-remove-keyword-button":null,children:[(0,C.jsx)(A,{"aria-label":n?this.props.label:null,type:"text",id:e,className:a?"has-error":null,onChange:this.handleChange,onFocus:i,onBlur:o,value:t,autoComplete:"off"}),c&&(0,C.jsx)(O,{onClick:r,focusBoxShadowColor:"#084A67",children:(0,C.jsx)($,{size:"18px",icon:"times-circle",color:L})})]})]})}}U.propTypes={id:S().string.isRequired,showLabel:S().bool,keyword:S().string,onChange:S().func.isRequired,onRemoveKeyword:S().func,onBlurKeyword:S().func,onFocusKeyword:S().func,label:S().string.isRequired,helpLink:S().node,hasError:S().bool,errorMessages:S().arrayOf(S().string)},U.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:l.noop,onBlurKeyword:l.noop,onFocusKeyword:l.noop,helpLink:null,hasError:!1,errorMessages:[]};const H=U;function D(e,s=""){const t=e.getIdentifier(),r={score:e.score,rating:u.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:t,text:e.text,markerId:s.length>0?`${s}:${t}`:t,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),hasAIFixes:e.hasAIFixes(),editFieldName:e.editFieldName,editFieldAriaLabel:e.editFieldAriaLabel};return"ok"===r.rating&&(r.rating="OK"),r}function W(e,s){switch(e.rating){case"error":s.errorsResults.push(e);break;case"feedback":s.considerationsResults.push(e);break;case"bad":s.problemsResults.push(e);break;case"OK":s.improvementsResults.push(e);break;case"good":s.goodResults.push(e)}return s}function z(e){switch(e){case"loading":return{icon:"loading-spinner",color:R.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:R.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:R.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:R.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:R.colors.$color_ok};default:return{icon:"seo-score-bad",color:R.colors.$color_red}}}function K(e,s=""){let t={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return t;for(let r=0;r<e.length;r++){const o=e[r];o.text&&(t=W(D(o,s),t))}return t}const V=(0,j.makeOutboundLink)(v().a` display: inline-block; position: relative; outline: none; text-decoration: none; border-radius: 100%; width: 24px; height: 24px; margin: -4px 0; vertical-align: middle; color: ${R.colors.$color_help_text}; &:hover, &:focus { color: ${R.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { color: ${R.colors.$color_help_text}; } &::before { position: absolute; top: 0; left: 0; padding: 2px; content: "\f223"; } `),G=v()(_.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,Y=window.wp.components,Z=({title:e="Yoast SEO",className:s="yoast yoast-gutenberg-modal",showYoastIcon:t=!0,children:r=null,additionalClassName:o="",...i})=>{const a=t?(0,C.jsx)("span",{className:"yoast-icon"}):null;return(0,C.jsx)(Y.Modal,{title:e,className:`${s} ${o}`,icon:a,...i,children:r})};Z.propTypes={title:S().string,className:S().string,showYoastIcon:S().bool,children:S().oneOfType([S().node,S().arrayOf(S().node)]),additionalClassName:S().string};const Q=Z,J=window.yoast.socialMetadataForms,X=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});const ee=({hiddenField:e,hiddenFieldImageId:s="",hiddenFieldFallbackImageId:t="",hasImageValidation:r=!1,...o})=>{const[i,a]=(0,w.useState)(null!==document.getElementById(t)),n=(0,w.useMemo)((()=>document.getElementById(e))),l=(0,w.useMemo)((()=>document.getElementById(s)));let c=null;c=t&&document.getElementById(t)?(0,w.useMemo)((()=>document.getElementById(t))):l;const[d,u]=(0,w.useState)({url:n?n.value:"",id:c?parseInt(c.value,10):"",alt:""}),[p,h]=(0,w.useState)([]),m=(0,w.useCallback)((e=>{n&&(n.value=e.url),c&&(c.value=e.id)})),g=(0,w.useCallback)((()=>{(function(e){const s=window.wp.media();return s.on("select",(()=>{const t=s.state().get("selection").first();e(X(t.attributes))})),s})((e=>{c=l,u(e),m(e),r&&h((0,j.validateFacebookImage)(e)),a(!1)})).open()}),[r,m]),y=(0,w.useCallback)((()=>{c=l;const e={url:"",id:"",alt:""};u(e),m(e),h([]),a(!0)}),[m]);return(0,w.useEffect)((()=>{var e;d.id&&!d.alt&&(e=d.id,new Promise(((s,t)=>{window.wp.media.attachment||t(),window.wp.media.attachment(e).fetch().then((e=>{s(X(e))})).catch((()=>t()))}))).then((e=>u(e)))}),[d]),(0,C.jsx)(_.ImageSelect,{...o,usingFallback:i,imageUrl:d.url,imageId:d.id,imageAltText:d.alt,onClick:g,onRemoveImageClick:y,warnings:p})};ee.propTypes={hiddenField:S().string.isRequired,hiddenFieldImageId:S().string,hiddenFieldFallbackImageId:S().string,hasImageValidation:S().bool};const se=ee;function te({target:e,children:s}){let t=e;return"string"==typeof e&&(t=document.getElementById(e)),t?(0,w.createPortal)(s,t):null}function re({target:e,label:s,hasPreview:t,hiddenField:r,hiddenFieldImageId:o="",hiddenFieldFallbackImageId:i="",selectImageButtonId:a="",replaceImageButtonId:n="",removeImageButtonId:l="",hasNewBadge:c=!1,isDisabled:d=!1,hasPremiumBadge:u=!1,hasImageValidation:p=!1}){return(0,C.jsx)(te,{target:e,children:(0,C.jsx)(se,{label:s,hasPreview:t,hiddenField:r,hiddenFieldImageId:o,hiddenFieldFallbackImageId:i,selectImageButtonId:a,replaceImageButtonId:n,removeImageButtonId:l,hasNewBadge:c,isDisabled:d,hasPremiumBadge:u,hasImageValidation:p})})}te.propTypes={target:S().oneOfType([S().string,S().object]).isRequired,children:S().node.isRequired},re.propTypes={target:S().string.isRequired,label:S().string.isRequired,hasPreview:S().bool.isRequired,hiddenField:S().string.isRequired,hiddenFieldImageId:S().string,hiddenFieldFallbackImageId:S().string,selectImageButtonId:S().string,replaceImageButtonId:S().string,removeImageButtonId:S().string,hasNewBadge:S().bool,isDisabled:S().bool,hasPremiumBadge:S().bool,hasImageValidation:S().bool};const oe=({target:e,scoreIndicator:s})=>(0,C.jsx)(te,{target:e,children:(0,C.jsx)(_.SvgIcon,{...z(s)})});oe.propTypes={target:S().string.isRequired,scoreIndicator:S().string.isRequired};const ie=oe,ae=({title:e,children:s,prefixIcon:t=null,subTitle:r="",hasBetaBadgeLabel:o=!1,hasNewBadgeLabel:i=!1,buttonId:a=null,renderNewBadgeLabel:n=(()=>{})})=>{const[l,c]=(0,w.useState)(!1),d=(0,w.useCallback)((()=>{c((e=>!e))}),[c]);return(0,C.jsxs)("div",{className:"yoast components-panel__body "+(l?"is-opened":""),children:[(0,C.jsx)("h2",{className:"components-panel__body-title",children:(0,C.jsxs)("button",{onClick:d,className:"components-button components-panel__body-toggle",type:"button",id:a,children:[(0,C.jsx)("span",{className:"yoast-icon-span",style:{fill:`${t&&t.color||""}`},children:t&&(0,C.jsx)(_.SvgIcon,{icon:t.icon,color:t.color,size:t.size})}),!i&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("span",{className:"yoast-title-container",children:[(0,C.jsx)("div",{className:"yoast-title",children:e}),r&&(0,C.jsx)("div",{className:"yoast-subtitle",children:r})]}),o&&(0,C.jsx)(_.BetaBadge,{})]}),i&&(0,C.jsxs)("div",{className:"yst-flex-grow yst-flex yst-items-center yst-gap-2",children:[(0,C.jsxs)("span",{className:"yst-overflow-x-hidden yst-leading-normal",children:[(0,C.jsx)("div",{className:"yoast-title",children:e}),r&&(0,C.jsx)("div",{className:"yoast-subtitle",children:r})]}),n()]}),(0,C.jsx)("span",{className:"yoast-chevron","aria-hidden":"true"})]})}),l&&s]})},ne=ae;ae.propTypes={title:S().string.isRequired,children:S().oneOfType([S().node,S().arrayOf(S().node)]).isRequired,prefixIcon:S().object,subTitle:S().string,hasBetaBadgeLabel:S().bool,hasNewBadgeLabel:S().bool,buttonId:S().string,renderNewBadgeLabel:S().func};const le=({children:e})=>(0,C.jsx)("div",{children:e});le.propTypes={renderPriority:S().number.isRequired,children:S().node.isRequired};const ce=le,de=({theme:e,location:s,children:t})=>(0,C.jsx)(a.LocationProvider,{value:s,children:(0,C.jsx)(b.ThemeProvider,{theme:e,children:t})});de.propTypes={theme:S().object.isRequired,location:S().oneOf(["sidebar","metabox","modal"]).isRequired,children:S().node.isRequired};const ue=de,pe=window.wp.compose,he=window.wp.data,me=({onClick:e,title:s,id:t="",subTitle:r="",suffixIcon:o=null,SuffixHeroIcon:i=null,prefixIcon:a=null,children:n=null})=>(0,C.jsx)("div",{className:"yoast components-panel__body",children:(0,C.jsx)("h2",{className:"components-panel__body-title",children:(0,C.jsxs)("button",{id:t,onClick:e,className:"components-button components-panel__body-toggle",type:"button",children:[a&&(0,C.jsx)("span",{className:"yoast-icon-span",style:{fill:`${a&&a.color||""}`},children:(0,C.jsx)(_.SvgIcon,{size:a.size,icon:a.icon})}),(0,C.jsxs)("span",{className:"yoast-title-container",children:[(0,C.jsx)("div",{className:"yoast-title",children:s}),(0,C.jsx)("div",{className:"yoast-subtitle",children:r})]}),n,o&&(0,C.jsx)(_.SvgIcon,{size:o.size,icon:o.icon}),i]})})}),ge=me;me.propTypes={onClick:S().func.isRequired,title:S().string.isRequired,id:S().string,subTitle:S().string,suffixIcon:S().object,SuffixHeroIcon:S().element,prefixIcon:S().object,children:S().node};const ye=({id:e,postTypeName:s,children:t,title:r,isOpen:o,open:i,close:n,shouldCloseOnClickOutside:l=!0,showChangesWarning:c=!0,SuffixHeroIcon:u=null})=>(0,C.jsxs)(w.Fragment,{children:[o&&(0,C.jsx)(a.LocationProvider,{value:"modal",children:(0,C.jsxs)(Q,{title:r,onRequestClose:n,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:l,children:[(0,C.jsx)("div",{className:"yoast-content-container",children:(0,C.jsx)("div",{className:"yoast-modal-content",children:t})}),(0,C.jsxs)("div",{className:"yoast-notice-container",children:[(0,C.jsx)("hr",{}),(0,C.jsxs)("div",{className:"yoast-button-container",children:[c&&(0,C.jsx)("p",{children:/* Translators: %s translates to the Post Label in singular form */ (0,d.sprintf)((0,d.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),s)}),(0,C.jsx)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:n,children:/* Translators: %s translates to the Post Label in singular form */ (0,d.sprintf)((0,d.__)("Return to your %s","wordpress-seo"),s)})]})]})]})}),(0,C.jsx)(ge,{id:e+"-open-button",title:r,SuffixHeroIcon:u,suffixIcon:u?null:{size:"20px",icon:"pencil-square"},onClick:i})]});ye.propTypes={id:S().string.isRequired,postTypeName:S().string.isRequired,children:S().oneOfType([S().node,S().arrayOf(S().node)]).isRequired,title:S().string.isRequired,isOpen:S().bool.isRequired,open:S().func.isRequired,close:S().func.isRequired,shouldCloseOnClickOutside:S().bool,showChangesWarning:S().bool,SuffixHeroIcon:S().element};const xe=ye,fe=(0,pe.compose)([(0,he.withSelect)(((e,s)=>{const{getPostOrPageString:t,getIsModalOpen:r}=e("yoast-seo/editor");return{postTypeName:t(),isOpen:r(s.id)}})),(0,he.withDispatch)(((e,s)=>{const{openEditorModal:t,closeEditorModal:r}=e("yoast-seo/editor");return{open:()=>t(s.id),close:r}}))])(xe),we=(0,pe.compose)([(0,he.withSelect)(((e,s)=>{const{isAlertDismissed:t}=e(s.store||"yoast-seo/editor");return{isAlertDismissed:t(s.alertKey)}})),(0,he.withDispatch)(((e,s)=>{const{dismissAlert:t}=e(s.store||"yoast-seo/editor");return{onDismissed:()=>t(s.alertKey)}}))])(_.Alert),be=window.yoast.analysisReport,ve=window.yoast.uiLibrary,ke=window.React;var Se=t.n(ke);const _e=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),je=window.wp.url,Re=(e,s)=>{try{return(0,w.createInterpolateElement)(e,s)}catch(s){return console.error("Error in translation for:",e,s),e}};var Ce,Ie;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ee.apply(null,arguments)}const Le=e=>ke.createElement("svg",Ee({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),Ce||(Ce=ke.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),Ie||(Ie=ke.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),Ne=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Me=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),Te=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));var Pe=t(4184),Ae=t.n(Pe);const Fe=({isOpen:e,onClose:s,id:t,upsellLink:r,title:o="",description:i="",benefits:a=[],note:n="",ctbId:l="",modalTitle:c})=>{const{isBlackFriday:u,isWooCommerceActive:p,isProductEntity:h,isWooSEOActive:m}=(0,he.useSelect)((e=>{const s=e("yoast-seo/editor");return{isProductEntity:s.getIsProductEntity(),isWooCommerceActive:s.getIsWooCommerceActive(),isBlackFriday:s.isPromotionActive("black-friday-promotion"),isWooSEOActive:s.getIsWooSeoActive()}}),[]),g=(0,w.useMemo)((()=>p&&h),[p,h]),y=(0,w.useRef)(null);return(0,C.jsx)(ve.Modal,{isOpen:e,onClose:s,id:t,initialFocus:y,children:(0,C.jsx)(ve.Modal.Panel,{className:"yst-max-w-md yst-p-0",hasCloseButton:!1,children:(0,C.jsxs)(ve.Modal.Container,{children:[(0,C.jsxs)(ve.Modal.Container.Header,{className:"yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex yst-justify-start yst-gap-3 yst-items-center",children:[g?(0,C.jsx)(Me,{className:"yst-text-woo-light yst-w-6 yst-h-6 yst-scale-x-[-1]"}):(0,C.jsx)(Le,{className:"yst-fill-primary-500 yst-w-5 yst-h-5"}),(0,C.jsx)(ve.Modal.Title,{as:"h3",className:Ae()(g?"yst-text-woo-light":"yst-text-primary-500","yst-text-base yst-font-normal"),children:c}),(0,C.jsx)(ve.Modal.CloseButton,{className:"yst-top-2",onClick:s,screenReaderText:(0,d.__)("Close modal","wordpress-seo")})]}),(0,C.jsxs)(ve.Modal.Container.Content,{className:"yst-p-0",children:[u&&(0,C.jsx)("div",{className:"yst-flex yst-font-semibold yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6",children:(0,C.jsx)("div",{className:"yst-mx-auto",children:(0,d.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})}),(0,C.jsxs)("div",{className:"yst-py-6 yst-px-12",children:[(0,C.jsx)(ve.Title,{as:"h3",className:"yst-mb-1 yst-leading-5 yst-text-sm yst-font-medium yst-text-slate-800",children:o}),(0,C.jsx)("p",{className:"yst-mb-2",children:i}),Array.isArray(a)&&a.length>0&&(0,C.jsx)("ul",{className:"yst-my-2",children:a.map(((e,s)=>(0,C.jsxs)("li",{className:"yst-flex yst-gap-1 yst-mb-2",children:[(0,C.jsx)(Te,{className:"yst-mr-1 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),(0,C.jsx)("p",{className:"yst-text-slate-600",children:e})]},`${t}-upsell-benefit-${s}`)))}),"function"==typeof a&&a(),(0,C.jsxs)("div",{className:"yst-text-center",children:[(0,C.jsxs)(ve.Button,{as:"a",variant:"upsell",className:"yst-my-2 yst-gap-1.5 yst-w-full",href:r,target:"_blank","data-action":"load-nfd-ctb","data-ctb-id":l,ref:y,children:[(0,C.jsx)(Ne,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,d.sprintf)(/* translators: %s expands to 'Yoast SEO Premium' or 'Yoast Woocommerce SEO'. */ (0,d.__)("Explore %s","wordpress-seo"),g&&!m?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,C.jsx)("span",{className:"yst-sr-only",children:(0,d.__)("Opens in a new tab","wordpress-seo")})]}),(0,C.jsx)("div",{className:"yst-italic yst-text-slate-500 yst-mt-1",children:n})]})]})]})]})})})},qe=({isOpen:e,closeModal:s,id:t,upsellLink:r})=>{const{locationContext:o}=(0,a.useRootContext)(),i=(0,je.addQueryArgs)(wpseoAdminL10n[r],{context:o}),n=[Re((0,d.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,d.__)("%1$sKeyphrase distribution:%2$s See if your keywords are spread evenly so search engines understand your topic","wordpress-seo"),"<span>","</span>"),{span:(0,C.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),Re((0,d.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,d.__)("%1$sTitle check:%2$s Instantly spot missing titles and fix them for better click-through rates","wordpress-seo"),"<span>","</span>"),{span:(0,C.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),Re((0,d.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,d.__)("%1$sSynonyms:%2$s Include synonyms of your keyphrase for a more natural flow and smarter suggestions","wordpress-seo"),"<span>","</span>"),{span:(0,C.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})})];return(0,C.jsx)(Fe,{isOpen:e,onClose:s,id:t,modalTitle:(0,d.__)("Get deeper SEO insights with Premium","wordpress-seo"),title:(0,d.__)("Find new ways to grow your rankings.","wordpress-seo"),description:(0,d.__)("Premium gives you advanced content checks that reveal new ranking opportunities and help you reach more readers.","wordpress-seo"),upsellLink:i,benefits:n,note:(0,d.__)("Upgrade to optimize with precision","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})};qe.propTypes={isOpen:S().bool.isRequired,closeModal:S().func.isRequired,id:S().string.isRequired,upsellLink:S().string.isRequired};class Oe extends w.Component{constructor(e){super(e);const s=this.props.results;this.state={mappedResults:{}},null!==s&&(this.state={mappedResults:K(s,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:K(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:s,className:t,status:r,onClick:o,isPressed:i}){return(0,C.jsxs)(w.Fragment,{children:[(0,C.jsx)(_.IconButtonToggle,{marksButtonStatus:r,className:t,onClick:o,id:s,icon:"eye",pressed:i,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,C.jsx)("div",{className:"yst-root",children:(0,C.jsx)(ve.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--end-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell",children:(0,C.jsx)(_e,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1})})})]})}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,s){this.props.setActiveMarker(e),s()}handleMarkButtonClick(e,s){const t=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;this.props.activeAIFixesButton&&this.props.setActiveAIFixesButton(null),t===this.props.activeMarker?this.deactivateMarker():this.activateMarker(t,s)}handleResultsChange(e,s,t){const r=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;r===this.props.activeMarker&&(t?(0,l.isUndefined)(s)||this.activateMarker(r,s):this.deactivateMarker())}focusOnKeyphraseField(e){const s=this.props.keywordKey,t=""===s?"focus-keyword-input-"+e:"yoast-keyword-input-"+s+"-"+e,r=document.getElementById(t);r.focus(),r.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,s){const t=document.getElementById("yoast-google-preview-"+e+"-"+s);t.focus(),t.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e,s){var t;null==s||null===(t=s.currentTarget)||void 0===t||t.blur();const r=this.props.location;"keyphrase"!==e?(["description","title","slug"].includes(e)&&this.handleGooglePreviewFocus(r,e),(0,p.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(r)}handleGooglePreviewFocus(e,s){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(s,"modal")),500);else{const t=document.getElementById("yoast-snippet-editor-metabox");t&&"false"===t.getAttribute("aria-expanded")?(t.click(),setTimeout((()=>this.focusOnGooglePreviewField(s,e)),100)):this.focusOnGooglePreviewField(s,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new u.Paper("",{}),[])}renderHighlightingUpsell(e,s){const t=(0,d.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return(0,C.jsx)(qe,{isOpen:e,closeModal:s,id:"yoast-premium-seo-analysis-highlighting-modal",upsellLink:this.props.highlightingUpsellLink,description:t})}render(){const{mappedResults:e}=this.state,{errorsResults:s,improvementsResults:t,goodResults:r,considerationsResults:o,problemsResults:i}=e,{upsellResults:a,resultCategoryLabels:n}=this.props,l={errors:(0,d.__)("Errors","wordpress-seo"),problems:(0,d.__)("Problems","wordpress-seo"),improvements:(0,d.__)("Improvements","wordpress-seo"),considerations:(0,d.__)("Considerations","wordpress-seo"),goodResults:(0,d.__)("Good results","wordpress-seo")},c=Object.assign(l,n);let u=this.props.marksButtonStatus;return"enabled"===u&&this.props.shortcodesForParsing.length>0&&(u="disabled"),(0,C.jsx)(w.Fragment,{children:(0,C.jsx)(be.ContentAnalysis,{errorsResults:s,problemsResults:i,upsellResults:a,improvementsResults:t,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:u,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:c,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderAIOptimizeButton:this.props.renderAIOptimizeButton,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton})})}}Oe.propTypes={results:S().array,upsellResults:S().array,marksButtonClassName:S().string,editButtonClassName:S().string,marksButtonStatus:S().oneOf(["enabled","disabled","hidden"]),setActiveMarker:S().func.isRequired,setMarkerPauseStatus:S().func.isRequired,setActiveAIFixesButton:S().func.isRequired,activeMarker:S().string,activeAIFixesButton:S().string,keywordKey:S().string,location:S().string,isPremium:S().bool,resultCategoryLabels:S().shape({errors:S().string,problems:S().string,improvements:S().string,considerations:S().string,goodResults:S().string}),shortcodesForParsing:S().array,shouldUpsellHighlighting:S().bool,highlightingUpsellLink:S().string,renderAIOptimizeButton:S().func},Oe.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,activeAIFixesButton:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:"",renderAIOptimizeButton:()=>{}};const $e=Oe,Be=(0,pe.compose)([(0,he.withSelect)((e=>{const{getActiveMarker:s,getIsPremium:t,getShortcodesForParsing:r,getActiveAIFixesButton:o}=e("yoast-seo/editor");return{activeMarker:s(),isPremium:t(),shortcodesForParsing:r(),activeAIFixesButton:o()}})),(0,he.withDispatch)((e=>{const{setActiveMarker:s,setMarkerPauseStatus:t,setActiveAIFixesButton:r}=e("yoast-seo/editor");return{setActiveMarker:s,setMarkerPauseStatus:t,setActiveAIFixesButton:r}}))])($e),Ue=window.yoast.relatedKeyphraseSuggestions;function He({requestLimitReached:e,isSuccess:s,response:t,requestHasData:r,relatedKeyphrases:o}){return e?"requestLimitReached":!s&&function(e){return"invalid_json"===(null==e?void 0:e.code)||"fetch_error"===(null==e?void 0:e.code)||!(0,l.isEmpty)(e)&&"error"in e}(t)?"requestFailed":r?function(e){return e&&e.length>=4}(o)?"maxRelatedKeyphrases":null:"requestEmpty"}function De({keyphrase:e="",relatedKeyphrases:s=[],renderAction:t=null,requestLimitReached:r=!1,countryCode:o,setCountry:i,newRequest:a,response:n={},isRtl:l=!1,userLocale:c="en_US",isPending:d=!1,isSuccess:u=!1,requestHasData:p=!0,isPremium:h=!1,semrushUpsellLink:m="",premiumUpsellLink:g=""}){var y,x;const[f,b]=(0,w.useState)(o),v=(0,w.useCallback)((async()=>{a(o,e),b(o)}),[o,e,a]);return(0,C.jsxs)(ve.Root,{context:{isRtl:l},children:[!r&&!h&&(0,C.jsx)(Ue.PremiumUpsell,{url:g,className:"yst-mb-4"}),!r&&(0,C.jsx)(Ue.CountrySelector,{countryCode:o,activeCountryCode:f,onChange:i,onClick:v,className:"yst-mb-4",userLocale:c.split("_")[0]}),!d&&(0,C.jsx)(Ue.UserMessage,{variant:He({requestLimitReached:r,isSuccess:u,response:n,requestHasData:p,relatedKeyphrases:s}),upsellLink:m}),(0,C.jsx)(Ue.KeyphrasesTable,{relatedKeyphrases:s,columnNames:null==n||null===(y=n.results)||void 0===y?void 0:y.columnNames,data:null==n||null===(x=n.results)||void 0===x?void 0:x.rows,isPending:d,renderButton:t,className:"yst-mt-4"})]})}De.propTypes={keyphrase:S().string,relatedKeyphrases:S().array,renderAction:S().func,requestLimitReached:S().bool,countryCode:S().string.isRequired,setCountry:S().func.isRequired,newRequest:S().func.isRequired,response:S().object,isRtl:S().bool,userLocale:S().string,isPending:S().bool,isSuccess:S().bool,requestHasData:S().bool,isPremium:S().bool,semrushUpsellLink:S().string,premiumUpsellLink:S().string};const We=(0,pe.compose)([(0,he.withSelect)((e=>{const{getFocusKeyphrase:s,getSEMrushSelectedCountry:t,getSEMrushRequestLimitReached:r,getSEMrushRequestResponse:o,getSEMrushRequestIsSuccess:i,getSEMrushIsRequestPending:a,getSEMrushRequestHasData:n,getPreference:l,getIsPremium:c,selectLinkParams:d}=e("yoast-seo/editor");return{keyphrase:s(),countryCode:t(),requestLimitReached:r(),response:o(),isSuccess:i(),isPending:a(),requestHasData:n(),isRtl:l("isRtl",!1),userLocale:l("userLocale","en_US"),isPremium:c(),semrushUpsellLink:(0,je.addQueryArgs)("https://yoa.st/semrush-prices",d()),premiumUpsellLink:(0,je.addQueryArgs)("https://yoa.st/413",d())}})),(0,he.withDispatch)((e=>{const{setSEMrushChangeCountry:s,setSEMrushNewRequest:t}=e("yoast-seo/editor");return{setCountry:e=>{s(e)},newRequest:(e,s)=>{t(e,s)}}}))])(De);function ze(e,s,t,r){return new Promise(((o,i)=>{jQuery.ajax({type:e,url:s,beforeSend:t?e=>{e.setRequestHeader("X-WP-Nonce",t)}:null,data:r,dataType:"json",success:o,error:i})}))}const Ke=window.wp.sanitize,Ve="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",Ge="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH";function Ye(e,s,t="",r=!1){const o="string"==typeof s?(0,j.decodeHTML)(s):s;return{type:Ve,name:e,value:o,label:t,hidden:r}}function Ze(e){return e.charAt(0).toUpperCase()+e.slice(1)}const{stripHTMLTags:Qe}=j.strings,Je=["slug","content","contentImage","snippetPreviewImageURL"];function Xe(e,s){(0,l.forEach)(e,((e,t)=>{Je.includes(t)||s.dispatch(Ye(t,e))}))}function es(e){if(!["ct_","cf_","pt_"].includes(e.substring(0,3)))return e.replace(/_/g," ");const s=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),s){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function ss(e){return Ze(e=es(e))}function ts(e,s){return e.push({name:s.name,label:s.label||ss(s.name),value:s.value}),e}function rs(e,s="_"){return e.replace(/\s/g,s)}function os(e){return{name:"cf_"+rs(e),label:Ze(e+" (custom field)")}}function is(e){const s=rs(e);return{name:"ct_"+s,label:Ze(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+s,descriptionLabel:Ze(e+" description (custom taxonomy)")}}function as(e,s){if(!e.custom_taxonomies)return e;const t={};return(0,l.forEach)(e.custom_taxonomies,((e,s)=>{const{name:r,label:o,descriptionName:i,descriptionLabel:a}=is(s),n="string"==typeof e.name?(0,j.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,j.decodeHTML)(e.description):e.description;t[r]={value:n,label:o},t[i]={value:l,label:a}})),s.dispatch(function(e){return{type:Ge,updatedVariables:e}}(t)),(0,l.omit)({...e},"custom_taxonomies")}function ns(e,s){return e.custom_fields?((0,l.forEach)(e.custom_fields,((e,t)=>{const{name:r,label:o}=os(t);s.dispatch(Ye(r,e,o))})),(0,l.omit)({...e},"custom_fields")):e}function ls(e,s=156){return(e=(e=(0,Ke.stripTags)(e)).trim()).length<=s||(e=e.substring(0,s),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const cs=function(e){const s=(0,l.get)(window,["YoastSEO","app","pluggable"],!1);if(!s||!(0,l.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const s=(0,l.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],l.identity);return{url:e.url,title:Qe(s(e.title)),description:Qe(s(e.description)),filteredSEOTitle:e.filteredSEOTitle?Qe(s(e.filteredSEOTitle)):""}}(e);const t=s._applyModifications.bind(s);return{url:e.url,title:Qe(t("data_page_title",e.title)),description:Qe(t("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Qe(t("data_page_title",e.filteredSEOTitle)):""}};var ds="score-text",us="image yoast-logo svg",ps=jQuery;function hs(e,s,t=null){var r,o,i,a,n;if(null!==t)return(0,l.get)(t,s,"");const c=(0,he.select)("yoast-seo/editor").getIsPremium(),u={na:(0,d.__)("Not available","wordpress-seo"),bad:(0,d.__)("Needs improvement","wordpress-seo"),ok:(0,d.__)("OK","wordpress-seo"),good:(0,d.__)("Good","wordpress-seo")},p={keyword:{label:c?(0,d.__)("Premium SEO analysis:","wordpress-seo"):(0,d.__)("SEO analysis:","wordpress-seo"),anchor:"yoast-seo-analysis-collapsible-metabox",status:u},content:{label:(0,d.__)("Readability analysis:","wordpress-seo"),anchor:"yoast-readability-analysis-collapsible-metabox",status:u},"inclusive-language":{label:(0,d.__)("Inclusive language:","wordpress-seo"),anchor:"yoast-inclusive-language-analysis-collapsible-metabox",status:{...u,ok:(0,d.__)("Potentially non-inclusive","wordpress-seo")}}};return null!=p&&null!==(r=p[e])&&void 0!==r&&null!==(o=r.status)&&void 0!==o&&o[s]?`<a href="#${null===(i=p[e])||void 0===i?void 0:i.anchor}">${null===(a=p[e])||void 0===a?void 0:a.label}</a> <strong>${null===(n=p[e])||void 0===n?void 0:n.status[s]}</strong>`:""}ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));S().string.isRequired;const ms=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));S().string.isRequired,S().string.isRequired,S().shape({src:S().string.isRequired,width:S().string,height:S().string}).isRequired,S().shape({value:S().bool.isRequired,status:S().string.isRequired,set:S().func.isRequired}).isRequired,S().string,S().string,S().string;const gs=({handleRefreshClick:e,supportLink:s})=>(0,C.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,C.jsx)(ve.Button,{onClick:e,children:(0,d.__)("Refresh this page","wordpress-seo")}),(0,C.jsx)(ve.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener",children:(0,d.__)("Contact support","wordpress-seo")})]});gs.propTypes={handleRefreshClick:S().func.isRequired,supportLink:S().string.isRequired};const ys=({handleRefreshClick:e,supportLink:s})=>(0,C.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,C.jsx)(ve.Button,{className:"yst-order-last",onClick:e,children:(0,d.__)("Refresh this page","wordpress-seo")}),(0,C.jsx)(ve.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener",children:(0,d.__)("Contact support","wordpress-seo")})]});ys.propTypes={handleRefreshClick:S().func.isRequired,supportLink:S().string.isRequired};const xs=({error:e,children:s=null})=>(0,C.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,C.jsx)(ve.Title,{children:(0,d.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,C.jsx)("p",{children:(0,d.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,C.jsx)(ve.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,d.__)("Undefined error message.","wordpress-seo")}),(0,C.jsx)("p",{children:(0,d.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),s]});xs.propTypes={error:S().object.isRequired,children:S().node},xs.VerticalButtons=ys,xs.HorizontalButtons=gs;const fs={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},ws=({id:e,children:s,title:t,description:r=null,variant:o="2xl"})=>(0,C.jsxs)("section",{id:e,className:fs.variant[o].grid,children:[(0,C.jsx)("div",{className:fs.variant[o].col1,children:(0,C.jsxs)("div",{className:"yst-max-w-screen-sm",children:[(0,C.jsx)(ve.Title,{as:"h2",size:"4",children:t}),r&&(0,C.jsx)("p",{className:"yst-mt-2",children:r})]})}),(0,C.jsxs)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${fs.variant[o].col2}`,children:[(0,C.jsx)("legend",{className:"yst-sr-only",children:t}),(0,C.jsx)("div",{className:"yst-space-y-8",children:s})]})]});ws.propTypes={id:S().string,children:S().node.isRequired,title:S().node.isRequired,description:S().node,variant:S().oneOf(Object.keys(fs.variant))};const bs=window.ReactDOM;var vs,ks,Ss;(ks=vs||(vs={})).Pop="POP",ks.Push="PUSH",ks.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Ss||(Ss={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const _s=["post","put","patch","delete"],js=(new Set(_s),["get",..._s]);new Set(js),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),ke.Component,ke.startTransition,new Promise((()=>{})),ke.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var Rs,Cs,Is,Es;new Map,ke.startTransition,bs.flushSync,ke.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(Es=Rs||(Rs={})).UseScrollRestoration="useScrollRestoration",Es.UseSubmit="useSubmit",Es.UseSubmitFetcher="useSubmitFetcher",Es.UseFetcher="useFetcher",Es.useViewTransitionState="useViewTransitionState",(Is=Cs||(Cs={})).UseFetcher="useFetcher",Is.UseFetchers="useFetchers",Is.UseScrollRestoration="useScrollRestoration",S().string.isRequired,S().string;const Ls=({href:e,children:s=null,...t})=>(0,C.jsxs)(ve.Link,{target:"_blank",rel:"noopener noreferrer",...t,href:e,children:[s,(0,C.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,d.__)("(Opens in a new browser tab)","wordpress-seo")})]});Ls.propTypes={href:S().string.isRequired,children:S().node};(0,d.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,d.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,d.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,d.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,d.__)("Add product details to help your listings stand out","wordpress-seo"),(0,d.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,d.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,d.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,d.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,d.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,d.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,d.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,d.__)("Internal links and redirect management, easy","wordpress-seo"),(0,d.__)("Access to friendly help when you need it, day or night","wordpress-seo");S().string.isRequired,S().object.isRequired,S().func.isRequired,ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),S().string.isRequired,S().object,S().func.isRequired,S().bool.isRequired,S().string.isRequired,S().object.isRequired,S().string.isRequired,S().func.isRequired,S().bool.isRequired;const Ns=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),Ms=({isOpen:e,onClose:s=l.noop,onDiscard:t=l.noop,title:r,description:o,dismissLabel:i,discardLabel:a})=>{const n=(0,ve.useSvgAria)();return(0,C.jsx)(ve.Modal,{isOpen:e,onClose:s,children:(0,C.jsxs)(ve.Modal.Panel,{closeButtonScreenReaderText:(0,d.__)("Close","wordpress-seo"),children:[(0,C.jsxs)("div",{className:"sm:yst-flex sm:yst-items-start",children:[(0,C.jsx)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10",children:(0,C.jsx)(Ns,{className:"yst-h-6 yst-w-6 yst-text-red-600",...n})}),(0,C.jsxs)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ms-4 sm:yst-text-start",children:[(0,C.jsx)(ve.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900 yst-mb-3",children:r}),(0,C.jsx)(ve.Modal.Description,{className:"yst-text-sm yst-text-slate-500",children:o})]})]}),(0,C.jsxs)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6",children:[(0,C.jsx)(ve.Button,{type:"button",variant:"error",onClick:t,className:"yst-block",children:a}),(0,C.jsx)(ve.Button,{type:"button",variant:"secondary",onClick:s,className:"yst-block",children:i})]})]})})};Ms.propTypes={isOpen:S().bool.isRequired,onClose:S().func,onDiscard:S().func,title:S().string.isRequired,description:S().string.isRequired,dismissLabel:S().string.isRequired,discardLabel:S().string.isRequired};const Ts=window.yoast.reactHelmet,Ps="error",As="loading",Fs="showPlay",qs="askPermission",Os="isPlaying",$s=({videoId:e,thumbnail:s,wistiaEmbedPermission:t,className:r=""})=>{const[o,i]=(0,w.useState)(t.value?Os:Fs),a=(0,w.useCallback)((()=>i(Os)),[i]),n=(0,w.useCallback)((()=>{t.value?a():i(qs)}),[t.value,a,i]),l=(0,w.useCallback)((()=>i(Fs)),[i]),c=(0,w.useCallback)((()=>{t.set(!0),a()}),[t.set,a]);return(0,C.jsxs)(C.Fragment,{children:[t.value&&(0,C.jsx)(Ts.Helmet,{children:(0,C.jsx)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})}),(0,C.jsxs)("div",{className:Ae()("yst-relative yst-w-full yst-h-0 yst-pt-[47.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white",r),children:[o===Fs&&(0,C.jsx)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:n,children:(0,C.jsx)("img",{className:"yst-w-full yst-h-auto yst-object-contain",alt:"",loading:"lazy",decoding:"async",...s})}),o===qs&&(0,C.jsxs)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white",children:[(0,C.jsxs)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center",children:[t.status===As&&(0,C.jsx)(ve.Spinner,{}),t.status!==As&&(0,d.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ (0,d.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")]}),(0,C.jsxs)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4",children:[(0,C.jsx)(ve.Button,{type:"button",variant:"secondary",onClick:l,disabled:t.status===As,children:(0,d.__)("Deny","wordpress-seo")}),(0,C.jsx)(ve.Button,{type:"button",variant:"primary",onClick:c,disabled:t.status===As,children:(0,d.__)("Allow","wordpress-seo")})]})]}),t.value&&o===Os&&(0,C.jsxs)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-right-0",children:[null===e&&(0,C.jsx)(ve.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,C.jsx)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`})]})]})]})};var Bs,Us;function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Hs.apply(null,arguments)}$s.propTypes={videoId:S().string.isRequired,thumbnail:S().shape({src:S().string.isRequired,width:S().string,height:S().string}).isRequired,wistiaEmbedPermission:S().shape({value:S().bool.isRequired,status:S().string.isRequired,set:S().func.isRequired}).isRequired,hasPadding:S().bool},ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),S().bool.isRequired,S().func.isRequired,S().func,S().string;const Ds=({onGiveConsent:e,learnMoreLink:s,privacyPolicyLink:t,termsOfServiceLink:r,imageLink:o})=>{const{onClose:i,initialFocus:a}=(0,ve.useModalContext)(),[n,l]=(0,ve.useToggleState)(!1),c=(0,w.useMemo)((()=>({src:o,width:"432",height:"244"})),[o]),u=Re((0,d.sprintf)(/* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */ (0,d.__)("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,C.jsx)(Ls,{href:r}),a2:(0,C.jsx)(Ls,{href:t})}),[p,h]=(0,ve.useToggleState)(!1),m=(0,w.useCallback)((async()=>{h(),await e(),h()}),[e]);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:(0,C.jsx)("div",{className:"yst-relative yst-w-full",children:(0,C.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:"",loading:"lazy",decoding:"async",...c})})}),(0,C.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,C.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,C.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,d.sprintf)(/* translators: %s expands to Yoast AI. */ (0,d.__)("Grant consent for %s","wordpress-seo"),"Yoast AI")}),(0,C.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:Re((0,d.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */ (0,d.__)("Enable AI-powered SEO! Use all Yoast AI features to boost your efficiency. Just give us the green light. %1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),{a:(0,C.jsx)(Ls,{href:s,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,C.jsx)(ms,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,C.jsx)("br",{})})})]}),(0,C.jsx)("div",{className:"yst-flex yst-w-full yst-mt-6",children:(0,C.jsx)("hr",{className:"yst-w-full yst-text-gray-200"})}),(0,C.jsxs)("div",{className:"yst-flex yst-items-start yst-mt-4",children:[(0,C.jsx)("input",{type:"checkbox",id:"yst-ai-consent-checkbox",name:"yst-ai-consent-checkbox",checked:n,value:n?"true":"false",onChange:l,className:"yst-checkbox__input",ref:a}),(0,C.jsx)("label",{htmlFor:"yst-ai-consent-checkbox",className:"yst-label yst-checkbox__label yst-text-xs yst-font-normal yst-text-slate-500",children:u})]}),(0,C.jsx)("div",{className:"yst-w-full yst-flex yst-mt-4",children:(0,C.jsxs)(ve.Button,{as:"button",className:"yst-grow",size:"large",disabled:!n,onClick:m,children:[p&&(0,C.jsx)(ve.Spinner,{className:"yst-me-2"}),(0,d.__)("Grant consent","wordpress-seo")]})}),(0,C.jsx)(ve.Button,{as:"button",className:"yst-mt-4",variant:"tertiary",onClick:i,children:(0,d.__)("Close","wordpress-seo")})]})]})};Ds.propTypes={onGiveConsent:S().func.isRequired,learnMoreLink:S().string.isRequired,privacyPolicyLink:S().string.isRequired,termsOfServiceLink:S().string.isRequired,imageLink:S().string.isRequired};ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),window.yoast.aiFrontend;const Ws="yoast-seo/ai-generator",zs="yoast-seo/editor",Ks="google",Vs="social",Gs="twitter",Ys="title",Zs="description",Qs="post",Js="term",Xs={post:"title",term:"term_title"},et=(0,l.mapValues)(Xs,(e=>`%%${e}%%`)),st={idle:"idle",loading:"loading",success:"success",error:"error"},tt="success",rt="error",ot="abort",it=window.wp.apiFetch;var at=t.n(it);let nt,lt=!1;const ct=["_formal","_informal","_ao90"],dt=e=>{for(const s of ct)if(e.endsWith(s))return e.slice(0,-s.length);return e},ut=async({endpoint:e,data:s})=>{let t;const r=1e3*(0,l.get)(window,"wpseoAiGenerator.requestTimeout",30);try{nt&&nt.abort(),nt=new AbortController,lt=!1,t=setTimeout((()=>{lt=!0,nt.abort()}),r);const o=await at()({path:e,method:"POST",data:s,parse:!1,signal:nt.signal}),i=await o.json();return{status:tt,payload:i}}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return lt?{status:rt,payload:{message:"timeout",code:408}}:{status:ot};const{message:s,missingLicenses:t,errorIdentifier:r}=await(async e=>{try{const s=e.body.getReader(),{value:t}=await s.read(),r=new TextDecoder("utf-8").decode(t);return console.error(r),JSON.parse(r)}catch(e){return{message:"Unknown"}}})(e);return{status:rt,payload:{message:s,code:e.status||500,missingLicenses:t,errorIdentifier:r}}}finally{clearTimeout(t)}},pt="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>";pt.split(""),new RegExp("^["+pt+"]+"),new RegExp("["+pt+"]+$");new RegExp("["+pt+"#$%&*+/=@^`{|}~ -¿–-⁊ -₠-⃀]","g");const ht=e=>{const s={...e};return""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(s.value="%%"+e.name+"%%"),s.badge=`<badge>${e.label}</badge>`,s},mt={editType:Ys,previewType:Ks,postType:"post",contentType:Qs},gt=(0,w.createContext)(mt),yt=(gt.Provider,()=>(0,w.useContext)(gt)),xt=()=>(0,w.useContext)(a.LocationContext),ft=e=>{const s=(0,w.useRef)(null);return(0,w.useCallback)((t=>{(0,l.attempt)((()=>s.current&&s.current.disconnect())),null!==t&&(s.current=new ResizeObserver((s=>{(0,l.forEach)(s,(s=>e(s)))})),s.current.observe(t))}),[e])},wt=window.yoast.reduxJsToolkit,bt=(0,wt.createSlice)({name:"suggestions",initialState:{status:st.loading,error:{code:200,message:""},entities:[],selected:""},reducers:{setLoading:e=>{e.status=st.loading},setSuccess:(e,{payload:s})=>{e.status=st.success,e.selected=s[0],e.entities.push(...s)},setError:(e,{payload:s})=>{e.status=st.error,e.error=s},setSelected:(e,{payload:s})=>{e.selected=s}}}),vt=e=>{switch(e){case Vs:return"Facebook";case Gs:return"Twitter";default:return"Google"}},kt=window.yoast.searchMetadataPreviews,St="usageCount",_t="fetchUsageCount",jt=`${_t}/success`,Rt={errorCode:null,errorIdentifier:null,errorMessage:null},Ct=(0,wt.createSlice)({name:St,initialState:{status:"idle",count:0,limit:10,endpoint:"yoast/v1/ai_generator/get_usage",error:Rt},reducers:{addUsageCount:(e,{payload:s=1})=>{e.count+=s},setUsageCount:(e,{payload:s})=>{e.count=s},setUsageCountEndpoint:(e,{payload:s})=>{e.endpoint=s},setUsageCountLimit:(e,{payload:s})=>{e.limit=s}},extraReducers:e=>{e.addCase(`${_t}/request`,(e=>{e.status=As,e.error=Rt})),e.addCase(jt,((e,{payload:s})=>{e.status="success",e.count=s.count,e.limit=s.limit,e.error=Rt})),e.addCase(`${_t}/${Ps}`,((e,{payload:s})=>{e.status="error",e.error={errorCode:502,...s}}))}}),It=(Ct.getInitialState,{selectUsageCountStatus:e=>(0,l.get)(e,[St,"status"],Ct.getInitialState()),selectUsageCount:e=>(0,l.get)(e,[St,"count"],Ct.getInitialState().count),selectUsageCountLimit:e=>(0,l.get)(e,[St,"limit"],Ct.getInitialState().limit),selectUsageCountEndpoint:e=>(0,l.get)(e,[St,"endpoint"],Ct.getInitialState().endpoint),selectUsageCountError:e=>(0,l.get)(e,[St,"error"],Ct.getInitialState().error)});It.selectUsageCountRemaining=(0,wt.createSelector)([It.selectUsageCount,It.selectUsageCountLimit],((e,s)=>Math.max(s-e,0))),It.isUsageCountLimitReached=(0,wt.createSelector)([It.selectUsageCount,It.selectUsageCountLimit,It.selectUsageCountError],((e,s,t)=>429===t.errorCode||e>=s)),Ct.actions,Ct.reducer;const Et=()=>{const e=(0,he.useSelect)((e=>e(zs).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Something went wrong","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,d.__)("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,C.jsx)(Ls,{variant:"error",href:e}),a2:(0,C.jsx)(Ls,{variant:"error",href:s})})})]})},Lt=()=>{const e=(0,he.useSelect)((e=>e(zs).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Not enough content","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,d.__)("Please add more content to ensure a valuable AI suggestion. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,C.jsx)(Ls,{variant:"error",href:e}),a2:(0,C.jsx)(Ls,{variant:"error",href:s})})})]})},Nt=()=>{const e=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_settings#/site-features#card-wpseo-keyword_analysis_active")),[]),s=(0,w.useCallback)((()=>{window.location.reload()}),[]),{onClose:t}=(0,ve.useModalContext)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("SEO analysis required","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)( /** * translators: * %1$s expands to Yoast SEO. * %2$s and %3$s expand to an opening and closing anchor tag, respectively, that links to the settings page. * %4$s expands to Yoast AI. */ (0,d.__)("%4$s requires the SEO analysis to be enabled. To enable it, please navigate to %2$sSite features%3$s in %1$s, turn on the SEO analysis, and click 'Save changes'. If it's disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.","wordpress-seo"),"Yoast SEO","<a>","</a>","Yoast AI"),{a:(0,C.jsx)(Ls,{variant:"error",href:e})})})]}),(0,C.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,C.jsx)(ve.Button,{variant:"secondary",onClick:t,children:(0,d.__)("Close","wordpress-seo")}),(0,C.jsx)(ve.Button,{className:"yst-revoke-button",variant:"primary",onClick:s,children:(0,d.__)("Refresh page","wordpress-seo")})]})]})},Mt=()=>{const e=(0,he.useSelect)((e=>e(zs).selectLink("https://yoa.st/ai-generator-rate-limit-help")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("You've reached the Yoast AI rate limit","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,d.__)("You might have reached your Yoast AI rate limit for a specific time frame or your sparks limit for this month. If you have reached your rate limit, please reduce the frequency of your requests to continue using Yoast AI features. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.","wordpress-seo"),"<a>","</a>"),{a:(0,C.jsx)(Ls,{variant:"error",href:e})})})]})},Tt=({invalidSubscriptions:e=[]})=>{const{newYoastWooLink:s,activateYoastWooLink:t,newPremiumLink:r,activatePremiumLink:o}=(0,he.useSelect)((e=>{const s=e(zs);return{newYoastWooLink:s.selectLink("https://yoa.st/ai-generator-new-yoast-woocommerce"),activateYoastWooLink:s.selectLink("https://yoa.st/ai-generator-activate-yoast-woocommerce"),newPremiumLink:s.selectLink("https://yoa.st/ai-generator-new-premium"),activatePremiumLink:s.selectLink("https://yoa.st/ai-generator-activate-premium")}}),[]),{onClose:i}=(0,ve.useModalContext)(),a=(0,w.useCallback)((async()=>{try{await at()({path:"yoast/v1/ai_generator/bust_subscription_cache",method:"POST",parse:!1})}catch(e){console.error(e)}window.location.reload()}),[]);let n,l,c;return e.includes("Yoast WooCommerce SEO")?(n="Yoast WooCommerce SEO",l=t,c=s):e.includes("Yoast SEO Premium")&&(n="Yoast SEO Premium",l=o,c=r),(0,C.jsxs)(w.Fragment,{children:[(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Subscription required","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)( /** * translators: * %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. * %2$s expands to MyYoast. * %3$s and %4$s expand to an opening and closing anchor tag, respectively, to activate your subscription. * %5$s and %6$s expand to an opening and closing anchor tag, respectively, to get a new subscription. **/ (0,d.__)("To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.","wordpress-seo"),n,"MyYoast","<Activate>","</Activate>","<New>","</New>"),{Activate:(0,C.jsx)(Ls,{variant:"error",href:l}),New:(0,C.jsx)(Ls,{variant:"error",href:c})})})]}),(0,C.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,C.jsx)(ve.Button,{variant:"secondary",onClick:i,children:(0,d.__)("Close","wordpress-seo")}),(0,C.jsx)(ve.Button,{variant:"primary",onClick:a,children:(0,d.__)("Refresh page","wordpress-seo")})]})]})};Tt.propTypes={invalidSubscriptions:S().arrayOf(S().string)};const Pt=()=>{const e=(0,he.useSelect)((e=>e(zs).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Connection timeout","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,d.__)("It seems that a connection timeout has occurred. Please check your internet connection and try again later. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,C.jsx)(Ls,{variant:"error",href:e}),a2:(0,C.jsx)(Ls,{variant:"error",href:s})})})]})},At=()=>{const e=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Usage policy violation","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)( /* translators: %1$s, %2$s, %3$s, %4$s are anchor tags. * %5$s expands to OpenAI. */ (0,d.__)("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:(0,C.jsx)(Ls,{variant:"error",href:"https://openai.com/policies/usage-policies"}),a2:(0,C.jsx)(Ls,{variant:"error",href:e})})})]})},Ft=({errorMessage:e=""})=>{const s=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Something went wrong","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:(0,d.sprintf)(/* translators: %s is the error response of the request. */ (0,d.__)("The request came back with the following error: '%s'.","wordpress-seo"),e)}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,d.__)("Please try again later. If the issue persists, please %1$scontact our support team%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,C.jsx)(Ls,{variant:"error",href:s})})})]})};Ft.propTypes={errorMessage:S().string};const qt=()=>{const e=(0,he.useSelect)((e=>e(zs).selectAdminLink("plugins.php")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Something went wrong","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. %2$s expands to an opening link tag. %3$s expands to a closing link tag. */ (0,d.__)("The version of %1$s is outdated. Please upgrade %1$s %2$shere%3$s!","wordpress-seo"),"Yoast SEO Premium","<a>","</a>"),{a:(0,C.jsx)(Ls,{variant:"error",href:e})})})]})},Ot=()=>{const e=(0,he.useSelect)((e=>e(zs).selectLink("https://yoa.st/ai-common-errors")),[]),s=(0,he.useSelect)((e=>e(zs).selectAdminLink("?page=wpseo_page_support")),[]);return(0,C.jsxs)(ve.Alert,{variant:"error",children:[(0,C.jsx)("span",{className:"yst-block yst-font-medium",children:(0,d.__)("Yoast AI cannot reach your site","wordpress-seo")}),(0,C.jsx)("p",{className:"yst-mt-2",children:Re((0,d.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,d.__)("To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,C.jsx)(Ls,{variant:"error",href:e}),a2:(0,C.jsx)(Ls,{variant:"error",href:s})})})]})},$t=({errorCode:e,errorIdentifier:s="",errorMessage:t=""})=>{switch(e){case 400:switch(s){case"SITE_UNREACHABLE":return(0,C.jsx)(Ot,{});case"WP_HTTP_REQUEST_ERROR":return(0,C.jsx)(Ft,{errorMessage:t});default:return(0,C.jsx)(Et,{})}case 429:return(0,C.jsx)(Mt,{});default:return(0,C.jsx)(Et,{})}};$t.propTypes={errorCode:S().number.isRequired,errorIdentifier:S().string,errorMessage:S().string};const Bt=({currentSubscriptions:e,isSeoAnalysisActive:s=!0})=>{const{isPremium:t,usageCountStatus:r,usageCountError:o,isWooProductEntity:i,isWooSeoActive:a}=(0,he.useSelect)((e=>{const s=e(zs);return{isPremium:s.getIsPremium(),usageCountStatus:e(Ws).selectUsageCountStatus(),usageCountError:e(Ws).selectUsageCountError(),isWooProductEntity:s.getIsWooProductEntity(),isWooSeoActive:s.getIsWooSeoActive()}}),[]),n=(0,w.useMemo)((()=>!e.wooCommerceSubscription&&i),[e.wooCommerceSubscription]),l=(0,w.useMemo)((()=>{const s=[];return!t&&!i||e.premiumSubscription||s.push("Yoast SEO Premium"),n&&a&&s.push("Yoast WooCommerce SEO"),s}),[t,e.premiumSubscription,n,a,i]);return l.length>0?(0,C.jsx)(Tt,{invalidSubscriptions:l}):s?r===st.error?(0,C.jsx)($t,{...o}):void 0:(0,C.jsx)(Nt,{})};Bt.propTypes={currentSubscriptions:S().object.isRequired,isSeoAnalysisActive:S().bool};const Ut=({onStartGenerating:e})=>{const{termsOfServiceLink:s,privacyPolicyLink:t,learnMoreLink:r,imageLink:o,consentEndpoint:i}=(0,he.useSelect)((e=>({termsOfServiceLink:e(zs).selectLink("https://yoa.st/ai-generator-terms-of-service"),privacyPolicyLink:e(zs).selectLink("https://yoa.st/ai-generator-privacy-policy"),learnMoreLink:e(zs).selectLink("https://yoa.st/ai-generator-learn-more"),imageLink:e(zs).selectImageLink("ai-consent.png"),consentEndpoint:e(Ws).selectAiGeneratorConsentEndpoint()})),[]),{storeAiGeneratorConsent:a}=(0,he.useDispatch)(Ws),n=(0,w.useCallback)((async()=>{await a(!0,i),e()}),[a,e,i]);return(0,C.jsx)(Ds,{termsOfServiceLink:s,privacyPolicyLink:t,learnMoreLink:r,imageLink:o,onGiveConsent:n})};Ut.propTypes={onStartGenerating:S().func.isRequired};const Ht=ke.forwardRef((function(e,s){return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),Dt=e=>{var s,t;const r=null===(s=(0,he.useDispatch)("core/edit-post"))||void 0===s?void 0:s.openGeneralSidebar,o=null===(t=(0,he.useDispatch)("core/editor"))||void 0===t?void 0:t.closePublishSidebar,{openEditorModal:i}=(0,he.useDispatch)("yoast-seo/editor");return(0,w.useCallback)((()=>{o(),r("yoast-seo/seo-sidebar"),e&&i("yoast-search-appearance-modal")}),[o,r,i])},Wt=/(?<start><\/badge>|^(?!<badge>))(?<wrap>[\s\S]+?)(?<end><badge>|$)/g,zt=({total:e,current:s,onNavigate:t,disabled:r=!1,...o})=>(0,C.jsxs)("div",{className:"yst-flex yst-justify-between yst-gap-x-2 yst-items-start",children:[(0,C.jsx)("p",{className:"yst-text-slate-500 yst-text-xxs yst-mt-1",children:(0,d.__)("Text generated by AI may be offensive or inaccurate.","wordpress-seo")}),e>1&&(0,C.jsx)(ve.Pagination,{className:"yst-shrink-0",current:s,total:e,onNavigate:t,disabled:r,variant:"text" /* translators: Hidden accessibility text. */,screenReaderTextPrevious:(0,d.__)("Previous","wordpress-seo") /* translators: Hidden accessibility text. */,screenReaderTextNext:(0,d.__)("Next","wordpress-seo"),...o})]}),Kt=({height:e})=>{const[s,t]=(0,w.useState)(""),{onClose:r}=(0,ve.useModalContext)(),{editType:o,previewType:i,contentType:a}=yt(),n=(()=>{const{editType:e,previewType:s}=yt();let t="SEO";switch(s){case Vs:t="social";break;case Gs:t="X"}switch(e){case Ys:return(0,d.sprintf)(/* translators: %s is the type of title. */ (0,d.__)("Generated %s titles","wordpress-seo"),t);case Zs:return s===Ks&&(t="meta"),(0,d.sprintf)(/* translators: %s is the type of description. */ (0,d.__)("Generated %s descriptions","wordpress-seo"),t)}})(),c=(()=>{const{editType:e,previewType:s}=yt();let t="SEO";switch(s){case Vs:t="social";break;case Gs:t="X"}switch(e){case Ys:return(0,d.sprintf)(/* translators: %s is the type of title. */ (0,d.__)("Apply %s title","wordpress-seo"),t);case Zs:return s===Ks&&(t="meta"),(0,d.sprintf)(/* translators: %s is the type of description. */ (0,d.__)("Apply %s description","wordpress-seo"),t)}})(),p=xt(),{suggestions:h,fetchSuggestions:m,setSelectedSuggestion:g}=(()=>{const[e,s]=(0,w.useReducer)(bt.reducer,bt.getInitialState()),{editType:t,previewType:r,postType:o,contentType:i}=yt(),a=(0,he.useSelect)((e=>e(Ws).selectPromptContent()),[]),{contentLocale:n,focusKeyphrase:l,isWooCommerceActive:c,isGutenberg:d,isElementor:p}=(0,he.useSelect)((e=>({contentLocale:e(zs).getContentLocale(),focusKeyphrase:e(zs).getFocusKeyphrase(),isWooCommerceActive:e(zs).getIsWooCommerceActive(),isGutenberg:e(zs).getIsBlockEditor(),isElementor:e(zs).getIsElementorEditor()})),[]);let h,m=u.languageProcessing.helpers.processExactMatchRequest(l).keyphrase;m.length>191&&(m=m.slice(0,191)),h=p?"elementor":d?"gutenberg":"classic";const g=((e,s,t,r)=>{const o=e===Zs?"meta-description":"seo-title";let i=((e,s)=>{if(e)switch(s){case"product":return"product-";case"product_cat":case"product_tag":return"product-taxonomy-"}return""})(s,t);return i&&s||r!==Js||(i="taxonomy-"),`${i}${o}`})(t,c,o,i);return{suggestions:e,fetchSuggestions:(0,w.useCallback)((async(e=!0)=>{s(bt.actions.setLoading());const{status:t,payload:o}=await ut({endpoint:"yoast/v1/ai_generator/get_suggestions/",canAbort:e,data:{type:g,prompt_content:a,focus_keyphrase:m,platform:vt(r),language:dt(n).replace("_","-"),editor:h}});switch(t){case ot:break;case rt:s(bt.actions.setError(o));break;case tt:s(bt.actions.setSuccess(o))}return t}),[s]),setSelectedSuggestion:(0,w.useCallback)((e=>s(bt.actions.setSelected(e))),[s])}})(),y=(()=>{const{previewType:e}=yt();switch(e){case Vs:return Jt;case Gs:return so;default:return Vt}})(),{addAppliedSuggestion:x,addUsageCount:f}=(0,he.useDispatch)(Ws),{isUsageCountLimitReached:b,isWooProductEntity:v,hasValidPremiumSubscription:k,hasValidWooSubscription:S}=(0,he.useSelect)((e=>{const s=e(Ws),t=e(zs);return{isUsageCountLimitReached:s.isUsageCountLimitReached(),isPremium:t.getIsPremium(),isWooProductEntity:t.getIsWooProductEntity(),isWooSeoActive:t.getIsWooSeoActive(),hasValidPremiumSubscription:s.selectPremiumSubscription(),hasValidWooSubscription:s.selectWooCommerceSubscription()}}),[]),_=(0,w.useMemo)((()=>h.status===st.loading||!(S||!b||!v)||!(k||!b)),[k,b,h.status,v,S]),j=(0,ve.usePrevious)(e),R=h.status===st.success?e:j,I=`calc(${0===R?"50%":R/2+"px"} - 40vh)`,[E,L]=(0,w.useState)(!1),N=(0,w.useCallback)((e=>{L(e.target.offsetHeight!==e.target.scrollHeight)}),[L]),M=ft(N),T=(()=>{const{editType:e,previewType:s,contentType:t}=yt(),r=(()=>{const{previewType:e}=yt();return(0,w.useMemo)((()=>{switch(e){case Ks:return()=>(0,he.select)(zs).getSnippetEditorData().title;case Vs:return(0,he.select)(zs).getFacebookTitleOrFallback;case Gs:return(0,he.select)(zs).getTwitterTitleOrFallback;default:return(0,l.constant)("")}}),[e])})(),o=(0,he.useSelect)((t=>t(Ws).selectAppliedSuggestionFor({editType:e,previewType:s})),[e,s]);return(0,w.useMemo)((()=>{let s=r();return e===Zs?s:(o&&(s=s.replace(o,et[t])),((e,s)=>e.includes(et[s])?e:et[s])(s,t))}),[e,r])})(),P=(()=>{const e=(()=>{const{previewType:e}=yt();return(0,w.useMemo)((()=>{switch(e){case Ks:return()=>(0,he.select)(zs).getSnippetEditorData().description;case Vs:return(0,he.select)(zs).getFacebookDescriptionOrFallback;case Gs:return(0,he.select)(zs).getTwitterDescriptionOrFallback;default:return(0,l.constant)("")}}),[e])})();return(0,w.useMemo)(e,[e])})(),A=(()=>{const e=(0,he.useSelect)((e=>e(zs).getReplaceVars()),[]),s=(0,w.useMemo)((()=>e.map(ht)),[e]);return(0,w.useCallback)(((e,{key:t="value",overrides:r={},applyPluggable:o=!0,editType:i=Ys,contentType:a=Qs}={})=>{for(const o of s)e=e.replace(new RegExp("%%"+(0,l.escapeRegExp)(o.name)+"%%","g"),(0,l.get)(r,o.name,o[t]));return a===Js&&(e=e.replace(" Archives","")),o?((e,s=Ys)=>{const t=cs({title:"",description:"",[s]:u.languageProcessing.stripSpaces(e)});return(0,l.get)(t,s,e)})(e,i):e}),[s])})(),F=(0,w.useMemo)((()=>o===Ys?{[Xs[a]]:h.selected}:{}),[o,a,h.selected]),q=(0,w.useMemo)((()=>A(T,{overrides:F,contentType:a})),[A,T,o,a,h.selected]),O=(0,w.useMemo)((()=>A(T,{overrides:{...F,sep:"",sitename:""},contentType:a})),[A,T,o,a,h.selected]),$=(0,w.useMemo)((()=>o===Zs?h.selected:A(P,{editType:Zs})),[A,P,o,h.selected]),B=(0,w.useCallback)((e=>A(T,{overrides:{[Xs[a]]:e},key:"badge",applyPluggable:!1,contentType:a})),[A,T,a]),{currentPage:U,setCurrentPage:H,isOnLastPage:D,totalPages:W,getItemsOnCurrentPage:z}=(({totalItems:e=0,perPage:s=5})=>{const[t,r]=(0,w.useState)(1),o=(0,w.useMemo)((()=>Math.ceil(e/s)),[e,s]),i=(0,w.useMemo)((()=>t*s),[t,s]),a=(0,w.useMemo)((()=>i-s),[i,s]),n=(0,w.useMemo)((()=>1===t),[t]),c=(0,w.useMemo)((()=>t===o),[t,o]),d=(0,w.useCallback)((()=>{t>1&&r(t-1)}),[t,r]),u=(0,w.useCallback)((()=>{t<o&&r(t+1)}),[t,r,o]),p=(0,w.useCallback)((e=>(0,l.slice)(e,a,i)),[a,i]);return{currentPage:t,setCurrentPage:r,totalPages:o,isOnFirstPage:n,isOnLastPage:c,previousPage:d,nextPage:u,firstOnPage:a,lastOnPage:i,getItemsOnCurrentPage:p}})({totalItems:h.status===st.loading||h.status===st.error?h.entities.length+5:h.entities.length,perPage:5}),K=(0,w.useMemo)((()=>(0,l.map)(z(h.entities),(e=>{let s=e;return o===Ys&&(s=B(e),s=s.replace(Wt,((e,s,t,r,o,i,{start:a,wrap:n,end:l})=>{const c=n.trim();return 0===c.length?`${a}${n}${l}`:`${a}<span>${c}</span>${l}`})),s=Re(s,{badge:(0,C.jsx)(ve.Badge,{className:"yst-me-2 last:yst-me-0",variant:"plain",children:" "}),span:(0,C.jsx)("span",{className:"yst-flex yst-items-center yst-me-2 last:yst-me-0"})})),{value:e,label:s}}))),[h.entities,z,o,B]),V=(0,w.useMemo)((()=>h.status!==st.error||h.status===st.error&&!D),[h.status,D]),G=(0,w.useMemo)((()=>h.status===st.loading&&D),[h.status,D]),Y=(0,w.useMemo)((()=>h.status===st.error&&D),[h.status,D]),Z=(0,w.useCallback)((()=>{_||(H(h.status===st.error?W:W+1),m().then((e=>{e===tt&&f()})))}),[m,h.status,W,H,g,b]),Q=(0,w.useCallback)((()=>t("")),[t]),J=(()=>{const{editType:e}=yt();switch(e){case Ys:return(()=>{const{previewType:e}=yt(),{updateData:s,setFacebookPreviewTitle:t,setTwitterPreviewTitle:r}=(0,he.useDispatch)(zs);return(0,w.useMemo)((()=>{switch(e){case Ks:return e=>s({title:e});case Vs:return t;case Gs:return r;default:return l.noop}}),[e,s,t,r])})();case Zs:return(()=>{const{previewType:e}=yt(),{updateData:s,setFacebookPreviewDescription:t,setTwitterPreviewDescription:r}=(0,he.useDispatch)(zs);return(0,w.useMemo)((()=>{switch(e){case Ks:return e=>s({description:e});case Vs:return t;case Gs:return r;default:return l.noop}}),[e,s,t,r])})();default:return l.noop}})(),X=Dt(!0),ee=(0,w.useCallback)((()=>{const e=o===Ys?T.replace(new RegExp(et[a]+"( Archives)?"),h.selected):h.selected;J(e),x({editType:o,previewType:i,suggestion:h.selected}),r(),"pre-publish"===p&&X()}),[J,o,i,h.selected,T,r,x,X,p]);return((e,s=[])=>{const t=(0,w.useRef)(!1);(0,w.useEffect)((()=>{t.current||(t.current=!0,e().finally((()=>{t.current=!1})))}),[e,s])})((()=>""===s?m().then((e=>{t(e),e===tt&&f()})):Promise.resolve()),[s,f,m]),s===rt||h.status===st.error&&402===h.error.code?(0,C.jsx)("div",{className:"yst-flex yst-flex-col yst-space-y-6 yst-mt-6",children:(0,C.jsx)(Vr,{errorCode:h.error.code,errorIdentifier:h.error.errorIdentifier,invalidSubscriptions:h.error.missingLicenses,showActions:!0,onRetry:Q,errorMessage:h.error.message})}):(0,C.jsxs)(w.Fragment,{children:[(0,C.jsxs)(ve.Modal.Container.Content,{ref:M,className:"yst-flex yst-flex-col yst-py-6 yst-space-y-2",children:[(0,C.jsx)(y,{title:q,description:$,status:h.status,titleForLength:O,showPreviewSkeleton:""===s,showLengthProgress:!G}),V&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:"yst-flex yst-space-y-4",children:[(0,C.jsx)(ve.Label,{as:"span",className:"yst-flex-grow yst-cursor-default yst-mt-auto",children:n}),(0,C.jsx)(ve.Button,{variant:"ai-secondary",size:"small",onClick:h.status===st.loading?l.noop:Z,isLoading:h.status===st.loading,disabled:_,children:(0,d.__)("Generate 5 more","wordpress-seo")})]}),G?(0,C.jsx)(Jr,{idSuffix:p,suggestionClassNames:o===Ys?[["yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-8/12"]]:void 0}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Zr,{idSuffix:p,suggestions:K,selected:h.selected,onChange:g}),(0,C.jsx)(zt,{current:U,total:W,onNavigate:H,disabled:h.status===st.loading||Y})]})]}),h.status===st.error&&D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"yst-mt-8"}),(0,C.jsx)(Vr,{errorCode:h.error.code,errorIdentifier:h.error.errorIdentifier,invalidSubscriptions:h.error.missingLicenses,errorMessage:h.error.message}),(0,C.jsx)(zt,{current:U,total:W,onNavigate:H,disabled:h.status===st.loading})]})]}),(0,C.jsxs)(ve.Modal.Container.Footer,{children:[E&&(0,C.jsx)("div",{className:"yst-absolute yst-inset-x-0 yst--mt-10 yst-me-[calc(2.5rem-1px)] yst-h-10 yst-pointer-events-none yst-bg-gradient-to-t yst-from-slate-50"}),(0,C.jsx)("hr",{className:"yst-mb-6 yst--mx-6"}),(0,C.jsxs)("div",{className:"sm:yst-flex sm:yst-justify-end sm:yst-space-x-2 sm:rtl:yst-space-x-reverse",children:[(0,C.jsx)("div",{className:"yst-hidden sm:yst-inline",children:(0,C.jsx)(ve.Button,{variant:"secondary",onClick:r,children:(0,d.__)("Close","wordpress-seo")})}),(0,C.jsx)("div",{className:"yst-block sm:yst-inline",children:(0,C.jsxs)(ve.Button,{className:"yst-w-full sm:yst-w-auto",variant:"primary",onClick:ee,disabled:""===h.selected||h.status===st.loading||Y,children:[(0,C.jsx)(Ht,{className:"yst--ms-1 yst-me-1 yst-h-4 yst-w-4 yst-text-white"}),c]})}),(0,C.jsx)("div",{className:"yst-mt-3 sm:yst-hidden",children:(0,C.jsx)(ve.Button,{variant:"secondary",onClick:r,className:"yst-w-full sm:yst-w-auto",children:(0,d.__)("Close","wordpress-seo")})})]})]}),(0,C.jsxs)(ve.Notifications,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all",style:{marginTop:I},position:"bottom-left",children:[h.status!==st.loading&&(0,C.jsx)(lo,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all"}),(h.status===st.success||h.status===st.loading)&&(0,C.jsx)(eo,{})]})]})};Kt.propTypes={height:S().number.isRequired};S().func.isRequired;const Vt=({title:e,description:s,status:t,titleForLength:r,showPreviewSkeleton:o,showLengthProgress:i})=>{const a=(0,he.useSelect)((e=>e(zs).getSnippetEditorMode()),[]),[n,l]=(0,w.useState)(a),{editType:c}=yt(),u=xt(),p=(({editType:e,title:s,description:t})=>{const r=(0,he.useSelect)((e=>e(zs).getDateFromSettings()),[]),o=(0,he.useSelect)((e=>e(zs).getContentLocale()),[]),i=(0,he.useSelect)((e=>e(zs).isCornerstoneContent()),[]),a=(0,he.useSelect)((e=>e(zs).getIsTerm()),[]);return(0,w.useMemo)((()=>e===Zs?(0,kt.getDescriptionProgress)(t,r,i,a,o):(0,kt.getTitleProgress)(s)),[e,s,t,r,i,a,o])})({editType:c,title:r,description:s});return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kt.ModeSwitcher,{onChange:l,active:n,id:`yst-ai-google-preview-mode-switcher-${u}`,disabled:t===st.loading}),o?(0,C.jsx)(Zt,{}):(0,C.jsx)(Yt,{mode:n,title:e,description:s}),(0,C.jsxs)("div",{className:"yst-pt-4",children:[(0,C.jsx)(ve.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:c===Ys?(0,d.__)("SEO title width","wordpress-seo"):(0,d.__)("Meta description length","wordpress-seo")}),(0,C.jsx)(Qt,{className:"yst-mt-2",progress:i?p.actual:0,min:0,max:p.max,score:p.score})]})]})};Vt.propTypes={title:S().string.isRequired,description:S().string.isRequired,status:S().oneOf(Object.keys(st)).isRequired,titleForLength:S().string.isRequired,showPreviewSkeleton:S().bool.isRequired,showLengthProgress:S().bool.isRequired};const Gt=/mobi/i,Yt=({mode:e,title:s,description:t})=>{var r,o;const i=(0,he.useSelect)((e=>e(zs).getBaseUrlFromSettings()),[]),a=(0,he.useSelect)((e=>e(zs).getSnippetEditorData().slug||""),[]),n=(0,he.useSelect)((e=>e(zs).getDateFromSettings()),[]),c=(0,he.useSelect)((e=>e(zs).getFocusKeyphrase()),[]),d=(0,he.useSelect)((e=>e(zs).getSnippetEditorPreviewImageUrl()),[]),u=(0,he.useSelect)((e=>e(zs).getSiteIconUrlFromSettings()),[]),p=(0,he.useSelect)((e=>e(zs).getShoppingData()),[]),h=(0,he.useSelect)((e=>e(zs).getSnippetEditorWordsToHighlight()),[]),m=(0,he.useSelect)((e=>e(zs).getSiteName()),[]),g=(0,he.useSelect)((e=>e(zs).getContentLocale()),[]),y=(0,w.useMemo)((()=>i+a),[i,a]),x=(0,w.useMemo)((()=>{var e,s;return Gt.test(null===(e=window)||void 0===e||null===(s=e.navigator)||void 0===s?void 0:s.userAgent)}),[null===(r=window)||void 0===r||null===(o=r.navigator)||void 0===o?void 0:o.userAgent]);return(0,C.jsx)("div",{className:`yst-ai-generator-preview-section ${e}${x?" yst-user-agent__mobile":""}`,children:(0,C.jsx)(kt.SnippetPreview,{title:s,description:t,mode:e,url:y,keyword:c,date:n,faviconSrc:u,mobileImageSrc:d,wordsToHighlight:h,siteName:m,locale:g,shoppingData:p,onMouseUp:l.noop})})};Yt.propTypes={mode:S().oneOf(Object.keys({mobile:"mobile",desktop:"desktop"})).isRequired,title:S().string.isRequired,description:S().string.isRequired};const Zt=()=>(0,C.jsxs)("div",{className:"yst-max-w-[400px] yst-py-4 yst-px-3 yst-border yst-rounded-lg yst-w-full yst-mx-auto",children:[(0,C.jsxs)("div",{className:"yst-flex yst-gap-x-3",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-flex-shrink-0 yst-h-7 yst-w-7 yst-rounded-full"}),(0,C.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-full yst-gap-y-1",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-2.5 yst-w-10/12"})]})]}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-4 yst-w-full yst-mt-6 yst-mb-4"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-full"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-10/12 yst-mt-2.5"})]}),Qt=({className:e="",progress:s,max:t,score:r})=>{const o=(0,w.useMemo)((()=>(e=>e>=7?"yst-score-good":e>=5?"yst-score-ok":"yst-score-bad")(r)),[r]);return(0,C.jsx)(ve.ProgressBar,{className:Ae()("yst-length-progress-bar",o,e),progress:s,min:0,max:t})};Qt.propTypes={className:S().string,progress:S().number.isRequired,max:S().number.isRequired,score:S().number.isRequired};const Jt=({title:e,description:s,showPreviewSkeleton:t})=>(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,C.jsx)(ve.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,d.__)("Social preview","wordpress-seo")})}),t?(0,C.jsx)(zr,{}):(0,C.jsx)(Wr,{title:e,description:s})]});Jt.propTypes={title:S().string.isRequired,description:S().string.isRequired,showPreviewSkeleton:S().bool.isRequired};const Xt=v().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,er=e=>{const{siteUrl:s}=e;return(0,C.jsxs)(ke.Fragment,{children:[(0,C.jsx)("span",{className:"screen-reader-text",children:s}),(0,C.jsx)(Xt,{"aria-hidden":"true",children:(0,C.jsx)("span",{children:s})})]})};er.propTypes={siteUrl:S().string.isRequired};const sr=er,tr=v().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,rr=v().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,or=v().div` padding-bottom: ${e=>e.aspectRatio}%; `,ir=({imageProps:e,width:s,height:t,imageMode:r="landscape"})=>"landscape"===r?(0,C.jsx)(or,{aspectRatio:e.aspectRatio,children:(0,C.jsx)(rr,{src:e.src,alt:e.alt})}):(0,C.jsx)(tr,{src:e.src,alt:e.alt,width:s,height:t,imageProperties:e});function ar(e,s,t){return"landscape"===t?{widthRatio:s.width/e.landscapeWidth,heightRatio:s.height/e.landscapeHeight}:"portrait"===t?{widthRatio:s.width/e.portraitWidth,heightRatio:s.height/e.portraitHeight}:{widthRatio:s.width/e.squareWidth,heightRatio:s.height/e.squareHeight}}function nr(e,s){return s.widthRatio<=s.heightRatio?{width:Math.round(e.width/s.widthRatio),height:Math.round(e.height/s.widthRatio)}:{width:Math.round(e.width/s.heightRatio),height:Math.round(e.height/s.heightRatio)}}async function lr(e,s,t=!1){const r=await function(e){return new Promise(((s,t)=>{const r=new Image;r.onload=()=>{s({width:r.width,height:r.height})},r.onerror=t,r.src=e}))}(e);let o=t?"landscape":"square";"Facebook"===s&&(o=(0,J.determineFacebookImageMode)(r));const i=function(e){return"Twitter"===e?J.TWITTER_IMAGE_SIZES:J.FACEBOOK_IMAGE_SIZES}(s),a=function(e,s,t){return"square"===t&&s.width===s.height?{width:e.squareWidth,height:e.squareHeight}:nr(s,ar(e,s,t))}(i,r,o);return{mode:o,height:a.height,width:a.width}}async function cr(e,s,t=!1){try{return{imageProperties:await lr(e,s,t),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}ir.propTypes={imageProps:S().shape({src:S().string.isRequired,alt:S().string.isRequired,aspectRatio:S().number.isRequired}).isRequired,width:S().number.isRequired,height:S().number.isRequired,imageMode:S().string};const dr=v().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${R.colors.$color_white}; `,ur=v().div` box-sizing: border-box; max-width: ${J.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${J.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${R.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class pr extends ke.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await cr(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:J.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:J.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:J.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:J.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:J.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:J.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:s}=this.state;if("loading"===s||""===this.props.src||"errored"===s)return(0,C.jsx)(ur,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,d.__)("Select image","wordpress-seo")});const t=this.retrieveContainerDimensions(e.mode);return(0,C.jsx)(dr,{mode:e.mode,dimensions:t,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,C.jsx)(ir,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:J.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}pr.propTypes={src:S().string,alt:S().string,onImageLoaded:S().func,onImageClick:S().func,onMouseEnter:S().func,onMouseLeave:S().func},pr.defaultProps={src:"",alt:"",onImageLoaded:l.noop,onImageClick:l.noop,onMouseEnter:l.noop,onMouseLeave:l.noop};const hr=pr,mr=v().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,gr=v().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,yr=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},xr=v().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,fr=v().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class wr extends ke.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=Se().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:s}=this.state,t="landscape"===e?2:5;t!==s&&this.setState({maxLineCount:t})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:s,imageMode:t}=this.state,r=this.getTitleLineCount();let o=s-r;"portrait"===t&&(o=5===r?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:s,descriptionLineCount:t}=this.state;return(0,C.jsxs)(xr,{id:"facebookPreview",mode:e,children:[(0,C.jsx)(hr,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,C.jsxs)(fr,{mode:e,children:[(0,C.jsx)(sr,{siteUrl:this.props.siteUrl,mode:e}),(0,C.jsx)(mr,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:s,children:this.props.title}),t>0&&(0,C.jsx)(gr,{maxWidth:yr(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:t,children:this.props.description})]})]})}}wr.propTypes={siteUrl:S().string.isRequired,title:S().string.isRequired,description:S().string,imageUrl:S().string,imageFallbackUrl:S().string,alt:S().string,onSelect:S().func,onImageClick:S().func,onMouseHover:S().func},wr.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const br=wr,vr=v().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,kr=e=>(0,C.jsx)(vr,{children:(0,C.jsx)("span",{children:e.siteUrl})});kr.propTypes={siteUrl:S().string.isRequired};const Sr=kr,_r=(e,s=!0)=>e?`\n\t\t\tmax-width: ${J.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${s?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${J.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${s?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,jr=v().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>_r(e.isLarge)} `,Rr=v().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>_r(e.isLarge,!1)} `,Cr=v()(Rr)` ${e=>e.isLarge&&`height: ${J.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class Ir extends Se().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await cr(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:s}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,C.jsx)(Cr,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,d.__)("Select image","wordpress-seo")}):(0,C.jsx)(jr,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,C.jsx)(ir,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:J.TWITTER_IMAGE_SIZES.aspectRatio},width:s.width,height:s.height,imageMode:s.mode})})}}Ir.propTypes={isLarge:S().bool.isRequired,src:S().string,alt:S().string,onImageClick:S().func,onMouseEnter:S().func,onMouseLeave:S().func},Ir.defaultProps={src:"",alt:"",onMouseEnter:l.noop,onImageClick:l.noop,onMouseLeave:l.noop};const Er=v().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,Lr=e=>(0,C.jsx)(Er,{children:e.children});Lr.propTypes={children:S().array.isRequired};const Nr=Lr,Mr=v().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,Tr=v().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${J.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,Pr=v().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,Ar=v()(Pr)` flex-direction: column; max-height: 370px; `,Fr=v()(Pr)` flex-direction: row; height: 125px; `;class qr extends ke.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:s,imageFallbackUrl:t,alt:r,title:o,description:i,siteUrl:a}=this.props,n=e?Ar:Fr;return(0,C.jsxs)(n,{id:"twitterPreview",children:[(0,C.jsx)(Ir,{src:s||t,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,C.jsxs)(Nr,{children:[(0,C.jsx)(Sr,{siteUrl:a}),(0,C.jsx)(Mr,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:o}),(0,C.jsx)(Tr,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:i})]})]})}}qr.propTypes={siteUrl:S().string.isRequired,title:S().string.isRequired,description:S().string,isLarge:S().bool,imageUrl:S().string,imageFallbackUrl:S().string,alt:S().string,onSelect:S().func,onImageClick:S().func,onMouseHover:S().func},qr.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Or=qr,$r=window.yoast.replacementVariableEditor;class Br extends ke.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?br:Or,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,s){switch(e){case"title":this.titleEditorRef=s;break;case"description":this.descriptionEditorRef=s}}render(){const{onDescriptionChange:e,onTitleChange:s,onSelectImageClick:t,onRemoveImageClick:r,socialMediumName:o,imageWarnings:i,siteUrl:a,description:n,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:u,alt:p,title:h,titleInputPlaceholder:m,titlePreviewFallback:g,replacementVariables:y,recommendedReplacementVariables:x,applyReplacementVariables:f,onReplacementVariableSearchChange:w,isPremium:b,isLarge:v,socialPreviewLabel:k,idSuffix:S,activeMetaTabId:j}=this.props,R=f({title:h||g,description:n||c});return(0,C.jsxs)(Se().Fragment,{children:[k&&(0,C.jsx)(_.SimulatedLabel,{children:k}),(0,C.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:t,siteUrl:a,title:R.title,description:R.description,imageUrl:d,imageFallbackUrl:u,alt:p,isLarge:v,activeMetaTabId:j}),(0,C.jsx)(J.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:h,titleInputPlaceholder:m,onRemoveImageClick:r,imageSelected:!!d,imageUrl:d,imageFallbackUrl:u,onTitleChange:s,onSelectImageClick:t,description:n,descriptionInputPlaceholder:l,imageWarnings:i,replacementVariables:y,recommendedReplacementVariables:x,onReplacementVariableSearchChange:w,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:b,setEditorRef:this.setEditorRef,idSuffix:S})]})}}Br.propTypes={title:S().string.isRequired,onTitleChange:S().func.isRequired,description:S().string.isRequired,onDescriptionChange:S().func.isRequired,imageUrl:S().string.isRequired,imageFallbackUrl:S().string.isRequired,onSelectImageClick:S().func.isRequired,onRemoveImageClick:S().func.isRequired,socialMediumName:S().string.isRequired,alt:S().string,isPremium:S().bool,imageWarnings:S().array,isLarge:S().bool,siteUrl:S().string,descriptionInputPlaceholder:S().string,titleInputPlaceholder:S().string,descriptionPreviewFallback:S().string,titlePreviewFallback:S().string,replacementVariables:$r.replacementVariablesShape,recommendedReplacementVariables:$r.recommendedReplacementVariablesShape,applyReplacementVariables:S().func,onReplacementVariableSearchChange:S().func,socialPreviewLabel:S().string,idSuffix:S().string,activeMetaTabId:S().string},Br.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Ur={},Hr=(e,s,{log:t=console.warn}={})=>{Ur[e]||(Ur[e]=!0,t(s))},Dr=(e,s=l.noop)=>{const t={};for(const r in e)Object.hasOwn(e,r)&&Object.defineProperty(t,r,{set:t=>{e[r]=t,s("set",r,t)},get:()=>(s("get",r),e[r])});return t};Dr({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,s)=>Hr(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${s}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${s}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Dr({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,s)=>Hr(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${s}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${s}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const Wr=({title:e,description:s})=>{const t=(0,he.useSelect)((e=>e(zs).getSiteUrl()),[]),r=(0,he.useSelect)((e=>e(zs).getFacebookImageUrl()),[]),o=(0,he.useSelect)((e=>e(zs).getEditorDataImageFallback()),[]),i=(0,he.useSelect)((e=>e(zs).getFacebookAltText()),[]);return(0,C.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,C.jsx)(br,{title:e,description:s,siteUrl:t,imageUrl:r,imageFallbackUrl:o,alt:i,onSelect:l.noop,onImageClick:l.noop,onMouseHover:l.noop})})};Wr.propTypes={title:S().string.isRequired,description:S().string.isRequired};const zr=()=>(0,C.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-[527px] yst-border yst-mx-auto",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-[273px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,C.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),Kr=({children:e,onRetry:s})=>{const{onClose:t}=(0,ve.useModalContext)();return(0,C.jsxs)(w.Fragment,{children:[e,(0,C.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,C.jsx)(ve.Button,{variant:"secondary",onClick:t,children:(0,d.__)("Close","wordpress-seo")}),(0,C.jsx)(ve.Button,{variant:"primary",onClick:s,children:(0,d.__)("Try again","wordpress-seo")})]})]})};Kr.propTypes={children:S().node.isRequired,onRetry:S().func.isRequired};const Vr=({errorCode:e,errorIdentifier:s,invalidSubscriptions:t=[],showActions:r=!1,onRetry:o=l.noop,errorMessage:i=""})=>{switch(e){case 400:switch(s){case"AI_CONTENT_FILTER":return(0,C.jsx)(At,{});case"NOT_ENOUGH_CONTENT":return(0,C.jsx)(Lt,{});case"SITE_UNREACHABLE":return(0,C.jsx)(Ot,{});case"WP_HTTP_REQUEST_ERROR":return r?(0,C.jsx)(Kr,{onRetry:o,children:(0,C.jsx)(Ft,{errorMessage:i})}):(0,C.jsx)(Ft,{errorMessage:i});default:return r?(0,C.jsx)(Kr,{onRetry:o,children:(0,C.jsx)(Et,{})}):(0,C.jsx)(Et,{})}case 402:return(0,C.jsx)(Tt,{invalidSubscriptions:t});case 408:return r?(0,C.jsx)(Kr,{onRetry:o,children:(0,C.jsx)(Pt,{})}):(0,C.jsx)(Pt,{});case 429:return"USAGE_LIMIT_REACHED"===s?(0,C.jsx)(Tt,{invalidSubscriptions:t}):(0,C.jsx)(Mt,{});case 410:return(0,C.jsx)(qt,{});default:return r?(0,C.jsx)(Kr,{onRetry:o,children:(0,C.jsx)(Et,{})}):(0,C.jsx)(Et,{})}};Vr.propTypes={errorCode:S().number.isRequired,errorIdentifier:S().string.isRequired,invalidSubscriptions:S().array,showActions:S().bool,onRetry:S().func,errorMessage:S().string};const Gr=S().shape({value:S().string.isRequired,label:S().node.isRequired}),Yr=({id:e,name:s,suggestion:t,isChecked:r,onChange:o})=>{const i=(0,w.useCallback)((()=>o(t.value)),[t,o]);return(0,C.jsxs)("label",{htmlFor:e,className:Ae()("yst-flex yst-p-4 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",r&&"yst-z-10 yst-border-primary-500"),children:[(0,C.jsx)("input",{type:"radio",id:e,name:s,className:"yst-radio__input",value:t.value,checked:r,onChange:i}),(0,C.jsx)("div",{className:Ae()("yst-label yst-radio__label yst-flex yst-flex-wrap yst-items-center",!r&&"yst-text-slate-600"),children:t.label})]})};Yr.propTypes={id:S().string.isRequired,name:S().string.isRequired,suggestion:Gr.isRequired,isChecked:S().bool.isRequired,onChange:S().func.isRequired};const Zr=({idSuffix:e,suggestions:s,selected:t,onChange:r})=>(0,C.jsx)("div",{children:(0,C.jsx)(ve.RadioGroup,{className:"yst-suggestions-radio-group yst-flex yst-flex-col",id:`yst-ai-suggestions-radio-group__${e}`,children:s.map(((s,o)=>(0,C.jsx)(Yr,{id:`yst-ai-suggestions-radio-${e}__${o}`,name:`ai-suggestion__${e}`,isChecked:s.value===t,onChange:r,suggestion:s},`yst-ai-suggestions-radio-${e}__${o}`)))})});Zr.propTypes={idSuffix:S().string.isRequired,suggestions:S().arrayOf(Gr).isRequired,selected:S().string.isRequired,onChange:S().func.isRequired};const Qr=[["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-8/12"]],Jr=({suggestionClassNames:e=Qr})=>(0,C.jsx)("div",{className:"yst-flex yst-flex-col yst--space-y-[1px]",children:e.map(((e,s)=>(0,C.jsxs)("div",{className:"yst-flex yst-p-4 yst-gap-x-3 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",children:[(0,C.jsx)("input",{type:"radio",disabled:!0,className:"yst-my-0.5"}),(0,C.jsx)("div",{className:"yst-flex yst-flex-col yst-w-full",children:e.map(((e,t)=>(0,C.jsx)(ve.SkeletonLoader,{className:e},`yst-ai-suggestion-radio-skeleton-${s}__${t}`)))})]},`yst-ai-suggestion-radio-skeleton__${s}`)))});Jr.propTypes={suggestionClassNames:S().arrayOf(S().arrayOf(S().string))};const Xr="ai_generator_tip_notification",eo=()=>{const e=(0,he.useSelect)((e=>e(zs).isAlertDismissed(Xr)),[]),s=(0,he.useSelect)((e=>e(zs).getEditorDataContent()),[]),t=(0,he.useSelect)((e=>e(zs).getIsWooProductEntity()),[]),[r,,,o]=(0,ve.useToggleState)(!1),{editType:i,contentType:a}=yt(),{dismissAlert:n}=(0,he.useDispatch)(zs),l=(0,w.useCallback)((()=>{n(Xr)}),[n]),c=(0,w.useMemo)((()=>i===Zs?(0,d.__)("%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.","wordpress-seo"):(0,d.__)("%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.","wordpress-seo") /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */),[i]),u=(0,w.useMemo)((()=>((e,s)=>e||s===Js?150:300)(t,a)),[a,t]);return e||r||s.length>u?null:(0,C.jsxs)(ve.Notifications.Notification,{id:"ai-generator-content-tip",variant:"info",dismissScreenReaderLabel:(0,d.__)("Dismiss","wordpress-seo"),children:[Re((0,d.sprintf)(c,"<span>","</span>"),{span:(0,C.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),(0,C.jsxs)("div",{className:"yst-flex yst-mt-3 yst--ms-3 yst-gap-1",children:[(0,C.jsx)(ve.Button,{type:"button",variant:"tertiary",onClick:l,children:(0,d.__)("Don’t show again","wordpress-seo")}),(0,C.jsx)(ve.Button,{type:"button",variant:"tertiary",className:"yst-text-slate-800",onClick:o,children:(0,d.__)("Dismiss","wordpress-seo")})]})]})},so=({title:e,description:s,showPreviewSkeleton:t})=>(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,C.jsx)(ve.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,d.__)("X preview","wordpress-seo")})}),t?(0,C.jsx)(ro,{}):(0,C.jsx)(to,{title:e,description:s})]});so.propTypes={title:S().string.isRequired,description:S().string.isRequired,showPreviewSkeleton:S().bool.isRequired};const to=({title:e,description:s})=>{const t=(0,he.useSelect)((e=>e(zs).getSiteUrl()),[]),r=(0,he.useSelect)((e=>e(zs).getTwitterImageUrl()),[]),o=(0,he.useSelect)((e=>e(zs).getFacebookImageUrl()),[]),i=(0,he.useSelect)((e=>e(zs).getEditorDataImageFallback()),[]),a=(0,he.useSelect)((e=>e(zs).getTwitterImageType()),[]),n=(0,he.useSelect)((e=>e(zs).getTwitterAltText()),[]);return(0,C.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,C.jsx)(Or,{title:e,description:s,siteUrl:t,imageUrl:r,imageFallbackUrl:o||i,isLarge:"summary"!==a,alt:n,onSelect:l.noop,onImageClick:l.noop,onMouseHover:l.noop})})};to.propTypes={title:S().string.isRequired,description:S().string.isRequired};const ro=()=>(0,C.jsxs)("div",{className:"yst-flex yst-flex-col yst-max-h-[370px] yst-w-[507px] yst-border yst-rounded-t-[14px] yst-overflow-hidden yst-mx-auto",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-[265px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,C.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,C.jsx)(ve.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),oo="yst-mt-1 yst-mb-3",io="yst-flex yst-justify-end yst--me-8 yst-gap-3 yst--ms-2",ao=({onClose:e})=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("p",{className:oo,children:(0,d.__)("As long as this is a beta feature, you get unlimited sparks.","wordpress-seo")}),(0,C.jsx)("div",{className:io,children:(0,C.jsx)(ve.Button,{type:"button",variant:"primary",size:"small",onClick:e,children:(0,d.__)("Got it!","wordpress-seo")})})]}),no=({onClose:e,upsellLink:s,isWooProductEntity:t=!1,ctbId:r="f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})=>{const o=(0,ve.useSvgAria)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("p",{className:oo,children:(0,d.sprintf)(/* translators: %s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,d.__)("Keep the momentum going, unlock unlimited sparks with %s!","wordpress-seo"),t?"Yoast WooCommerce SEO":"Yoast SEO Premium")}),(0,C.jsxs)("div",{className:io,children:[(0,C.jsx)(ve.Button,{type:"button",variant:"tertiary",size:"small",onClick:e,children:(0,d.__)("Close","wordpress-seo")}),(0,C.jsxs)(ve.Button,{as:"a",size:"small",variant:"upsell",href:s,target:"_blank",rel:"noopener noreferrer","data-action":"load-nfd-ctb","data-ctb-id":r,children:[(0,C.jsx)(Ne,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-me-2 yst-shrink-0",...o}),(0,d.sprintf)(/* translators: %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,d.__)("Unlock with %1$s","wordpress-seo"),t?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,C.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,d.__)("(Opens in a new browser tab)","wordpress-seo")})]})]})]})},lo=({className:e=""})=>{const{isUsageCountLimitReached:s,usageCount:t,usageCountLimit:r,premiumUpsellLink:o,wooUpsellLink:i,isWooProductEntity:a,hasValidPremiumSubscription:n,hasValidWooSubscription:l}=(0,he.useSelect)((e=>{const s=e(Ws),t=e(zs);return{isUsageCountLimitReached:s.isUsageCountLimitReached(),usageCount:s.selectUsageCount(),usageCountLimit:s.selectUsageCountLimit(),premiumUpsellLink:t.selectLink("https://yoa.st/ai-toast-out-of-free-sparks"),wooUpsellLink:t.selectLink("https://yoa.st/ai-toast-out-of-free-sparks-woo"),isWooProductEntity:t.getIsWooProductEntity(),hasValidPremiumSubscription:s.selectPremiumSubscription(),hasValidWooSubscription:s.selectWooCommerceSubscription()}}),[]),c=(0,w.useMemo)((()=>n&&!a||a&&l&&n),[n,a,l]),[u,,p,,h]=(0,ve.useToggleState)(t===r);(0,w.useEffect)((()=>{p(c&&t===r||!c&&s)}),[t,r,c,s]);const m=(0,w.useMemo)((()=>a?i:o),[a,i,o]),g=(0,w.useMemo)((()=>a&&!l),[a,l]);return u&&(0,C.jsx)(ve.Notifications.Notification,{id:"ai-sparks-limit",className:e,variant:"info",dismissScreenReaderLabel:(0,d.__)("Close","wordpress-seo"),title:c?(0,d.sprintf)(/* translators: %s is the number of the sparks. */ (0,d._n)("You've used %s spark this month.","You've used %s sparks this month.",r,"wordpress-seo"),r):(0,d.__)("You're out of free sparks!","wordpress-seo"),size:c?"default":"large",children:c?(0,C.jsx)(ao,{onClose:h}):(0,C.jsx)(no,{onClose:h,upsellLink:m,isWooUpsell:g})})};window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:c,getContentLocale:function(){const e=c();return(0,l.get)(e,"contentLocale","en_US")},getIndicatorForScore:function(e){return(0,l.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,d.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,d.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,d.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(u.interpreters.scoreToRating(e))},constants:e,refreshAnalysis:s},aiGenerator:{components:{Introduction:Ut,SuggestionError:Vr,SparksLimitNotification:lo,FeatureError:Bt},helpers:{removesLocaleVariantSuffixes:dt,fetchSuggestions:ut}},components:{HelpLink:V,TopLevelProviders:ue,higherorder:{withYoastSidebarPriority:e=>{const s=({renderPriority:s,...t})=>(0,C.jsx)(e,{...t});return s.propTypes={renderPriority:S().number},s}},contentAnalysis:{KeywordInput:H,mapResults:r},contexts:{location:{LocationContext:a.LocationContext,LocationProvider:a.LocationProvider,LocationConsumer:a.LocationConsumer}},SidebarItem:ce,SidebarCollapsible:ne,MetaboxCollapsible:e=>(0,C.jsx)(G,{hasPadding:!0,hasSeparator:!0,...e}),Modal:Q,portals:{Portal:te,ImageSelectPortal:re,ScoreIconPortal:ie},FieldsetLayout:ws,UnsavedChangesModal:Ms,YoastLogo:e=>ke.createElement("svg",Hs({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"yoast-logo_svg__w-40",viewBox:"0 0 842 224"},e),Bs||(Bs=ke.createElement("path",{fill:"#a61e69",d:"M166.55 54.09c-38.69 0-54.17 25.97-54.17 54.88s15.25 56.02 54.17 56.02 54.07-27.19 54-54.26c-.09-32.97-16.77-56.65-54-56.65Zm-23.44 56.52c.94-38.69 30.66-38.65 40.59-24.79 9.05 12.63 10.9 55.81-17.14 55.5-12.92-.14-23.06-8.87-23.44-30.71Zm337.25 27.55V82.11h20.04V57.78h-20.04V28.39h-30.95v29.39h-15.7v24.33h15.7v52.87c0 30.05 20.95 47.91 43.06 51.61l9.24-24.88c-12.89-1.63-21.23-11.27-21.35-23.54Zm-156.15-8.87V87.16c0-1.54-.1-2.98-.25-4.39-2.68-34.04-51.02-33.97-88.46-20.9l10.82 21.78c24.38-11.58 38.97-8.59 44.07-2.89.13.15.26.29.38.45.01.02.03.04.04.06 2.6 3.51 1.98 9.05 1.98 13.41-31.86 0-65.77 4.23-65.77 39.17 0 26.56 33.28 43.65 68.06 18.33l5.16 12.45h29.81c-2.66-14.62-5.85-27.14-5.85-35.34Zm-31.18-.23c-24.51 27.43-46.96 1.61-23.97-9.65 6.77-2.31 15.95-2.41 23.97-2.41v12.06Zm78.75-44.17c0-10.38 16.61-15.23 42.82-3.27l9.06-22.01c-35.27-10.66-83.44-11.62-83.75 25.28-.15 17.68 11.19 27.19 27.52 33.26 11.31 4.2 27.64 6.38 27.59 15.39-.06 11.77-25.38 13.57-48.42-2.26l-9.31 23.87c31.43 15.64 89.87 16.08 89.56-23.12-.31-38.76-55.08-32.11-55.08-47.14ZM99.3 1 54.44 125.61 32.95 58.32H1l35.78 91.89a33.49 33.49 0 0 1 0 24.33c-4 10.25-10.65 19.03-26.87 21.21v27.24c31.58 0 48.65-19.41 63.88-61.96L133.48 1H99.3ZM598.64 139.05c0 8.17-2.96 14.58-8.87 19.23-5.91 4.65-14.07 6.98-24.47 6.98s-18.92-1.61-25.54-4.84v-14.2c4.19 1.97 8.65 3.52 13.37 4.65 4.72 1.13 9.11 1.7 13.18 1.7 5.95 0 10.35-1.13 13.18-3.39 2.83-2.26 4.25-5.3 4.25-9.11 0-3.43-1.3-6.35-3.9-8.74-2.6-2.39-7.97-5.22-16.1-8.48-8.39-3.39-14.3-7.27-17.74-11.63-3.44-4.36-5.16-9.59-5.16-15.71 0-7.67 2.72-13.7 8.18-18.1 5.45-4.4 12.77-6.6 21.95-6.6s17.57 1.93 26.29 5.78l-4.78 12.26c-8.18-3.43-15.47-5.15-21.89-5.15-4.87 0-8.55 1.06-11.07 3.17-2.52 2.12-3.77 4.91-3.77 8.39 0 2.39.5 4.43 1.51 6.13s2.66 3.3 4.97 4.81c2.3 1.51 6.46 3.5 12.45 5.97 6.75 2.81 11.7 5.43 14.85 7.86 3.15 2.43 5.45 5.18 6.92 8.23 1.46 3.06 2.2 6.66 2.2 10.81Zm68.53 24.96h-52.02V72.12h52.02v12.7h-36.99v25.01h34.66v12.57h-34.66v28.85h36.99v12.76Zm100.24-46.07c0 14.96-3.74 26.59-11.23 34.88-7.49 8.3-18.08 12.44-31.8 12.44s-24.54-4.12-31.99-12.35c-7.44-8.23-11.17-19.93-11.17-35.1s3.74-26.82 11.23-34.95c7.49-8.13 18.17-12.19 32.05-12.19s24.24 4.13 31.7 12.38c7.47 8.26 11.2 19.88 11.2 34.88Zm-70.2 0c0 11.31 2.29 19.89 6.86 25.74 4.57 5.85 11.35 8.77 20.32 8.77s15.67-2.89 20.22-8.67c4.55-5.78 6.82-14.39 6.82-25.83s-2.25-19.82-6.76-25.64-11.23-8.74-20.16-8.74-15.82 2.91-20.41 8.74c-4.59 5.82-6.89 14.37-6.89 25.64Z"})),Us||(Us=ke.createElement("path",{fill:"#77b227",d:"m790.45 165.35 36.05-94.96H840l-36.02 94.96h-13.53z"}))),SidebarLayout:({contentClassName:e="",children:s})=>(0,C.jsx)("div",{className:"yst-flex yst-gap-6 xl:yst-flex-row yst-flex-col relative",children:(0,C.jsx)("div",{className:Ae()("yst-@container yst-flex yst-flex-grow yst-flex-col",e),children:s})}),ErrorFallback:xs},containers:{EditorModal:fe,PersistentDismissableAlert:we,Results:Be,SEMrushRelatedKeyphrases:We},helpers:{ajaxHelper:o,createInterpolateElement:Re,createWatcher:(e,s)=>{let t=e();return()=>{const r=e();(0,l.isEqual)(r,t)||(t=r,s((0,l.clone)(r)))}},isBlockEditor:function(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor},i18n:{setTextdomainL10n:function(e,s="wpseoYoastJSL10n"){const t=(0,l.get)(window,[s,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===t?(0,d.setLocaleData)({"":{}},e):(0,d.setLocaleData)(t,e)}},replacementVariableHelpers:i,publishBox:{updateScore:function(e,s,t=null){var r=ps("#"+e+"-score"),o=us+" "+s;r.children(".image").attr("class",o);var i=hs(e,s,t);r.children("."+ds).html(i)},createScoresInPublishBox:function(e,s,t=null){const r=ps("<div />",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),o=ps("<span />",{class:ds,html:hs(e,s,t)}),i=ps("<span>").attr("class",us+" na");r.append(i).append(o),ps("#yoast-seo-publishbox-section").append(r)},scrollToCollapsible:function(e){const s=ps("#wpadminbar"),t=ps(e);if(!s||!t)return;const r="fixed"===s.css("position")?s.height():0;ps([document.documentElement,document.body]).animate({scrollTop:t.offset().top-r},1e3),t.trigger("focus"),0===t.parent().siblings().length&&t.trigger("click")}},updateAdminBar:function(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)},updateTrafficLight:function(e){var s=jQuery(".yst-traffic-light"),t=s.closest(".wpseo-meta-section-link"),r=jQuery("#wpseo-traffic-light-desc"),o=e.className||"na";s.attr("class","yst-traffic-light "+o),t.attr("aria-describedby","wpseo-traffic-light-desc"),r.length>0?r.text(e.screenReaderText):t.closest("li").append("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}}}})()})(); dist/help-scout-beacon.js 0000644 00000011520 15174677550 0011375 0 ustar 00 (()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,n=window.wp.i18n,o=window.yoast.styledComponents;var i=e.n(o);const a=window.ReactJSXRuntime,r=o.createGlobalStyle` @media only screen and (min-width: 1024px) { .BeaconFabButtonFrame.BeaconFabButtonFrame { ${e=>"1"===e.isRtl?"left":"right"}: 340px !important; } } `;function s(e){const n=document.createElement("div");n.setAttribute("id","yoast-helpscout-beacon"),(0,t.createRoot)(n).render(e),document.body.appendChild(n)}function c(){return!!document.getElementById("sidebar")}function l(e,t=""){!function(e,t){let n=e.Beacon||function(){};function o(){const e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,o){e.Beacon.readyQueue.push({method:t,options:n,data:o})},n.readyQueue=[],"complete"===t.readyState)return o();e.attachEvent?e.attachEvent("onload",o):e.addEventListener("load",o,!1)}(window,document,window.Beacon),window.Beacon("init",e),function(e){""!==e&&(void 0!==(e=JSON.parse(e)).name&&void 0!==e.email&&(window.Beacon("prefill",{name:e.name,email:e.email}),delete e.name,delete e.email),window.Beacon("session-data",e))}(t),"1"===window.wpseoAdminGlobalL10n.isRtl&&window.Beacon("config",{display:{position:"left"}}),c()&&s((0,a.jsx)(r,{isRtl:window.wpseoAdminGlobalL10n.isRtl}))}window.wpseoHelpScoutBeacon=l,window.wpseoHelpScoutBeaconConsent=function(e,o=null){const d=i().div` border-radius: 60px; height: 60px; position: fixed; transform: scale(1); width: 60px; z-index: 1049; bottom: 40px; box-shadow: rgba(0, 0, 0, 0.1) 0 4px 7px; ${e=>"1"===e.isRtl?"left":"right"}: 40px; top: auto; border-width: initial; border-style: none; border-color: initial; border-image: initial; transition: box-shadow 250ms ease 0s, opacity 0.4s ease 0s, scale 1000ms ease-in-out 0s, transform 0.2s ease-in-out 0s; `,p=i().span` -webkit-box-align: center; align-items: center; color: white; cursor: pointer; display: flex; height: 100%; -webkit-box-pack: center; justify-content: center; left: 0; pointer-events: none; position: absolute; text-indent: -99999px; top: 0; width: 60px; will-change: opacity, transform; opacity: 1 !important; transform: rotate(0deg) scale(1) !important; transition: opacity 80ms linear 0s, transform 160ms linear 0s; `,w=()=>(0,a.jsx)(p,{children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",children:(0,a.jsx)("path",{d:"M27.031 32h-2.488v-2.046c0-.635.077-1.21.232-1.72.154-.513.366-.972.639-1.381.272-.41.58-.779.923-1.109.345-.328.694-.652 1.049-.97l.995-.854a6.432 6.432 0 0 0 1.475-1.568c.39-.59.585-1.329.585-2.216 0-.635-.117-1.203-.355-1.703a3.7 3.7 0 0 0-.96-1.263 4.305 4.305 0 0 0-1.401-.783A5.324 5.324 0 0 0 26 16.114c-1.28 0-2.316.375-3.11 1.124-.795.75-1.286 1.705-1.475 2.865L19 19.693c.356-1.772 1.166-3.165 2.434-4.176C22.701 14.507 24.26 14 26.107 14c.947 0 1.842.131 2.682.392.84.262 1.57.648 2.185 1.16a5.652 5.652 0 0 1 1.475 1.892c.368.75.551 1.602.551 2.556 0 .728-.083 1.364-.248 1.909a5.315 5.315 0 0 1-.693 1.467 6.276 6.276 0 0 1-1.048 1.176c-.403.351-.83.71-1.28 1.073-.498.387-.918.738-1.26 1.057a4.698 4.698 0 0 0-.836 1.006 3.847 3.847 0 0 0-.462 1.176c-.095.432-.142.955-.142 1.568V32zM26 37a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",fill:"#FFF"})})}),u=i().button` -webkit-appearance: none; -webkit-box-align: center; align-items: center; bottom: 0; display: block; height: 60px; -webkit-box-pack: center; justify-content: center; line-height: 60px; position: relative; user-select: none; z-index: 899; background-color: rgb(164, 40, 106); color: white; cursor: pointer; min-width: 60px; -webkit-tap-highlight-color: transparent; border-radius: 200px; margin: 0; outline: none; padding: 0; border-width: initial; border-style: none; border-color: initial; border-image: initial; transition: background-color 200ms linear 0s, transform 200ms linear 0s; `,m=()=>{const[i,s]=(0,t.useState)(!0),p=c();return(0,a.jsxs)(t.Fragment,{children:[p&&(0,a.jsx)(r,{isRtl:window.wpseoAdminGlobalL10n.isRtl}),i&&(0,a.jsx)(d,{className:p?"BeaconFabButtonFrame":"",isRtl:window.wpseoAdminGlobalL10n.isRtl,children:(0,a.jsx)(u,{type:"button",onClick:function(){const t=(0,n.__)("When you click OK we will open our HelpScout beacon where you can find answers to your questions. This beacon will load our support data and also potentially set cookies.","wordpress-seo");window.confirm(t)&&(l(e,o),window.Beacon("open"),window.setTimeout((()=>{s(!1)}),1e3))},children:(0,a.jsx)(w,{})})})]})};s((0,a.jsx)(m,{}))}})(); dist/externals/styleGuide.js 0000644 00000015506 15174677550 0012220 0 ustar 00 (()=>{"use strict";var e={34130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.angleRight=t.angleLeft=void 0,t.rgba=function(e,t){return"rgba( "+function(e){if("string"!=typeof e)throw new Error("Please pass a string representation of a color in hex notation.");if(e.match(/^#[a-fA-F0-9]{6}$/))return parseInt(`${e[1]}${e[2]}`,16)+", "+parseInt(`${e[3]}${e[4]}`,16)+", "+parseInt(`${e[5]}${e[6]}`,16);if(e.match(/^#[a-fA-F0-9]{3}$/))return parseInt(`${e[1]}${e[1]}`,16)+", "+parseInt(`${e[2]}${e[2]}`,16)+", "+parseInt(` ${e[3]}${e[3]}`,16);throw new Error("Couldn't parse the color string. Please provide the color as a string in hex notation.")}(e)+", "+t+" )"},t.withCaretStyles=void 0;var o=a(r(98487)),l=r(23695),_=a(r(29769));function a(e){return e&&e.__esModule?e:{default:e}}const c=e=>"data:image/svg+xml;charset=utf8,"+encodeURIComponent('<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="'+e+'" d="M1152 896q0 26-19 45l-448 448q-19 19-45 19t-45-19-19-45v-896q0-26 19-45t45-19 45 19l448 448q19 19 19 45z" /></svg>');t.angleRight=c;const n=e=>"data:image/svg+xml;charset=utf8,"+encodeURIComponent('<svg width="1792" height="1792" viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg"><path fill="'+e+'" d="M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"/></svg>');function i(e){return(0,l.getDirectionalStyle)(c($(e)),n($(e)))(e)}function $(e){return e.isActive?_.default.$color_snippet_focus:e.isHovered?_.default.$color_snippet_hover:"transparent"}t.angleLeft=n,t.withCaretStyles=e=>(0,o.default)(e)` &::before { display: block; position: absolute; top: 4px; ${(0,l.getDirectionalStyle)("left","right")}: -25px; width: 24px; height: 24px; background-image: url( ${i} ); background-size: 25px; content: ""; } `},23695:e=>{e.exports=window.yoast.helpers},98487:e=>{e.exports=window.yoast.styledComponents},29769:e=>{e.exports=JSON.parse('{"$palette_white":"#fff","$palette_grey_ultra_light":"#f7f7f7","$palette_grey_light":"#f1f1f1","$palette_grey_medium_light":"#e2e4e7","$palette_grey":"#ddd","$palette_grey_medium":"#ccc","$palette_grey_disabled":"#a0a5aa","$palette_grey_medium_dark":"#888","$palette_grey_text_light":"#767676","$palette_grey_text":"#616161","$palette_grey_dark":"#555","$palette_black":"#000","$palette_purple":"#5d237a","$palette_purple_dark":"#6c2548","$palette_pink":"#d73763","$palette_pink_light":"#e1bee7","$palette_pink_dark":"#a4286a","$palette_blue":"#0066cd","$palette_blue_light":"#a9a9ce","$palette_blue_medium":"#1e8cbe","$palette_blue_link":"#0073aa","$palette_blue_focus":"#5b9dd9","$palette_yoast_focus":"#007fff","$palette_blue_dark":"#084a67","$palette_green":"#77b227","$palette_green_light":"#7ad03a","$palette_green_medium_light":"#64a60a","$palette_green_medium":"#008a00","$palette_green_blue":"#009288","$palette_orange":"#dc5c04","$palette_orange_light":"#ee7c1b","$palette_red":"#dc3232","$palette_red_light":"#f9bdbd","$palette_yellow":"#ffeb3b","$palette_yellow_score":"#f5c819","$palette_button_upsell":"#fec228","$palette_button_upsell_hover":"#f2ae01","$palette_link_text":"#004973","$palette_error_background":"#f9dcdc","$palette_error_text":"#8f1919","$palette_error_emphasis":"#dc3232","$palette_info_background":"#cce5ff","$palette_info_text":"#00468f","$palette_info_emphasis":"#007dff","$palette_success_background":"#e2f2cc","$palette_success_text":"#395315","$palette_success_emphasis":"#6ea029","$palette_warning_background":"#fff3cd","$palette_warning_text":"#674e00","$palette_warning_emphasis":"#ffc201","$color_bad":"#dc3232","$color_ok":"#ee7c1b","$color_good":"#7ad03a","$color_noindex":"#1e8cbe","$color_score_icon":"#888","$color_white":"#fff","$color_black":"#000","$color_green":"#77b227","$color_green_medium":"#008a00","$color_green_blue":"#009288","$color_grey":"#ddd","$color_grey_dark":"#555","$color_purple":"#5d237a","$color_purple_dark":"#6c2548","$color_pink":"#d73763","$color_pink_light":"#e1bee7","$color_pink_dark":"#a4286a","$color_blue":"#0066cd","$color_blue_light":"#a9a9ce","$color_blue_dark":"#084a67","$color_red":"#dc3232","$color_border_light":"#f7f7f7","$color_border_gutenberg":"#e2e4e7","$color_border":"#ccc","$color_input_border":"#ddd","$color_help_text":"#767676","$color_upsell_text":"#767676","$color_background_light":"#f7f7f7","$color_button":"#f7f7f7","$color_button_text":"#555","$color_button_border":"#ccc","$color_button_hover":"#fff","$color_button_border_hover":"#888","$color_button_text_hover":"#000","$color_button_border_active":"#000","$color_button_upsell":"#fec228","$color_button_upsell_hover":"#f2ae01","$color_headings":"#555","$color_marker_inactive":"#555","$color_marker_active":"#fff","$color_marker_disabled":"#a0a5aa","$color_error":"#dc3232","$color_orange":"#dc5c04","$color_orange_hover":"#c35204","$color_grey_hover":"#cecece","$color_pink_hover":"#cc2956","$color_grey_cta":"#ddd","$color_grey_line":"#ddd","$color_grey_quote":"#616161","$color_grey_text":"#616161","$color_grey_text_light":"#767676","$color_snippet_focus":"#1e8cbe","$color_snippet_hover":"#ccc","$color_snippet_active":"#555","$color_blue_link":"#0073aa","$color_blue_focus":"#5b9dd9","$color_blue_focus_shadow":"#1e8cbe","$color_yoast_focus":"#007fff","$color_yoast_focus_outer":"rgba(0,127,255,0.25)","$color_grey_medium_dark":"#888","$color_green_medium_light":"#64a60a","$color_grey_disabled":"#a0a5aa","$color_grey_medium":"#ccc","$color_grey_light":"#f1f1f1","$color_yellow":"#ffeb3b","$color_yellow_score":"#f5c819","$color_error_message":"#f9bdbd","$color_alert_link_text":"#004973","$color_alert_error_text":"#8f1919","$color_alert_error_background":"#f9dcdc","$color_alert_info_text":"#00468f","$color_alert_info_background":"#cce5ff","$color_alert_success_text":"#395315","$color_alert_success_background":"#e2f2cc","$color_alert_warning_text":"#674e00","$color_alert_warning_background":"#fff3cd"}')},28587:e=>{e.exports=JSON.parse('{"mobile":"768px","tablet":"1224px"}')}},t={};function r(o){var l=t[o];if(void 0!==l)return l.exports;var _=t[o]={exports:{}};return e[o](_,_.exports,r),_.exports}var o={};(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"angleLeft",{enumerable:!0,get:function(){return _.angleLeft}}),Object.defineProperty(e,"angleRight",{enumerable:!0,get:function(){return _.angleRight}}),Object.defineProperty(e,"breakpoints",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"colors",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"rgba",{enumerable:!0,get:function(){return _.rgba}}),Object.defineProperty(e,"withCaretStyles",{enumerable:!0,get:function(){return _.withCaretStyles}});var t=a(r(29769)),l=a(r(28587)),_=r(34130);function a(e){return e&&e.__esModule?e:{default:e}}})(),(window.yoast=window.yoast||{}).styleGuide=o})(); dist/externals/dashboardFrontend.js 0000644 00000213015 15174677550 0013524 0 ustar 00 (()=>{var e={20841:(e,t)=>{var a;!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=o(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)s.call(e,a)&&e[a]&&(t=o(t,a));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()}},t={};function a(s){var r=t[s];if(void 0!==r)return r.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";a.r(s),a.d(s,{ComparisonMetricsDataFormatter:()=>yt,Dashboard:()=>st,DataFormatterInterface:()=>ut,DataProvider:()=>Dt,GetTasksErrorRow:()=>ga,OrganicSessionsWidget:()=>ve,PlainMetricsDataFormatter:()=>pt,RemoteCachedDataProvider:()=>St,RemoteDataProvider:()=>Et,ScoreWidget:()=>at,SearchRankingCompareWidget:()=>X,TASK_LIST_NAME:()=>ha,TaskModal:()=>aa,TaskRow:()=>ca,TasksProgressBar:()=>ua,TopPagesWidget:()=>A,TopQueriesWidget:()=>B,Widget:()=>w,WidgetDataSources:()=>f,WidgetErrorBoundary:()=>E,WidgetFactory:()=>It,WidgetTitle:()=>g,WidgetTooltip:()=>h,fetchJson:()=>Je,getInitialTaskListState:()=>wa,taskListActions:()=>va,taskListControls:()=>ba,taskListReducer:()=>ka,taskListSelectors:()=>Ra,useFetch:()=>Ue});const e=window.React,t=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}))})),r=window.wp.i18n,n=window.yoast.uiLibrary,o=window.wp.element;var l=a(20841),c=a.n(l);const i=(e,t)=>{try{return(0,o.createInterpolateElement)((0,r.sprintf)(e,"<link>","</link>"),{link:t})}catch(t){return(0,r.sprintf)(e,"","")}},m=({error:e,supportLink:t,className:a=""})=>{if(!e)return null;const s=React.createElement(n.Link,{variant:"error",href:t}," ");return React.createElement(n.Alert,{variant:"error",className:c()("yst-max-w-2xl",a)},((e,t)=>{switch(!0){case 408===e.status||"TimeoutError"===e.name:return i(/* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */ (0,r.__)("The request timed out. Try refreshing the page. If the problem persists, please check our %1$sSupport page%2$s.","wordpress-seo"),t);case 403===e.status:return i(/* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */ (0,r.__)("You don’t have permission to access this resource. Please contact your admin for access. In case you need further help, please check our %1$sSupport page%2$s.","wordpress-seo"),t);default:return i(/* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */ (0,r.__)("Something went wrong. Try refreshing the page. If the problem persists, please check our %1$sSupport page%2$s.","wordpress-seo"),t)}})(e,s))},d=({className:e="yst-mt-4"})=>React.createElement("p",{className:e},(0,r.__)("No data to display: Your site hasn't received any visitors yet.","wordpress-seo"));function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},u.apply(null,arguments)}const p=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),y=({children:e})=>React.createElement(n.TooltipContainer,{as:"div",className:"yst-h-fit yst-leading-[0]"},React.createElement(n.TooltipTrigger,null,React.createElement(p,{className:"yst-w-5 yst-h-5 yst-text-slate-400"})),React.createElement(n.TooltipWithContext,{variant:"light",className:"yst-leading-normal yst-max-w-80 yst-p-4 yst-shadow-md",position:"left"},e)),g=({children:e,...t})=>React.createElement(n.Title,u({as:"h2"},t),e);g.displayName="Widget.Title";const h=({content:e,children:t})=>React.createElement(y,null,React.createElement("p",{className:"yst-mb-2 yst-text-slate-600"},e),t);h.displayName="Widget.Tooltip";const f=({dataSources:e})=>React.createElement("div",{className:"yst-border-t yst-mt-3 yst-border-slate-200 yst-italic yst-text-xxs"},React.createElement("div",{className:"yst-mt-3 yst-font-semibold yst-text-slate-800"},(0,r.__)("Data provided by:","wordpress-seo")),React.createElement("ul",null,e.map(((e,t)=>React.createElement("li",{className:"yst-text-slate-500",key:t},e.feature?React.createElement(React.Fragment,null,React.createElement("span",{className:"yst-font-medium"},e.source," - "),e.feature):e.source)))));f.displayName="Widget.DataSources";const E=({className:t="yst-mt-4",supportLink:a,children:s,...r})=>{const o=(0,e.useCallback)((({error:e})=>React.createElement(m,{error:e,className:t,supportLink:a})),[t,a]);return React.createElement(n.ErrorBoundary,u({},r,{FallbackComponent:o}),s)};E.displayName="Widget.ErrorBoundary";const w=({className:e="yst-paper__content",title:t,tooltip:a,dataSources:s,children:r,errorSupportLink:o})=>React.createElement(n.Paper,{className:c()("yst-shadow-md",e)},(t||a)&&React.createElement("div",{className:"yst-flex yst-justify-between"},t&&React.createElement(g,null,t),a&&React.createElement(h,{content:a},s&&s.length>0&&React.createElement(f,{dataSources:s}))),o?React.createElement(E,{supportLink:o},r):r),R={good:{label:(0,r.__)("Good","wordpress-seo"),color:"yst-bg-analysis-good",hex:"#7ad03a"},ok:{label:(0,r.__)("OK","wordpress-seo"),color:"yst-bg-analysis-ok",hex:"#ee7c1b"},bad:{label:(0,r.__)("Needs improvement","wordpress-seo"),color:"yst-bg-analysis-bad",hex:"#dc3232"},notAnalyzed:{label:(0,r.__)("Not analyzed","wordpress-seo"),color:"yst-bg-analysis-na",hex:"#cbd5e1"}},v={seo:{good:(0,r.__)("Most of your content has a good SEO score. Well done!","wordpress-seo"),ok:(0,r.__)("Your content has an average SEO score. Time to find opportunities for improvement!","wordpress-seo"),bad:(0,r.__)("Some of your content could use a little extra care. Take a look and start improving!","wordpress-seo"),notAnalyzed:(0,r.__)("Some of your content hasn't been analyzed yet. Please open it in your editor, ensure a focus keyphrase is entered, and save it so we can start the analysis.","wordpress-seo")},readability:{good:(0,r.__)("Most of your content has a good readability score. Well done!","wordpress-seo"),ok:(0,r.__)("Your content has an average readability score. Time to find opportunities for improvement!","wordpress-seo"),bad:(0,r.__)("Some of your content could use a little extra care. Take a look and start improving!","wordpress-seo"),notAnalyzed:(0,r.__)("Some of your content hasn't been analyzed yet. Please open it and save it in your editor so we can start the analysis.","wordpress-seo")}},b={seo:{notAnalyzed:(0,r.__)("We haven’t analyzed this content yet. Please open it in your editor, ensure a focus keyphrase is entered, and save it so we can start the analysis.","wordpress-seo")},readability:{notAnalyzed:(0,r.__)("We haven’t analyzed this content yet. Please open it in your editor and save it so we can start the analysis.","wordpress-seo")}},k=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),x=({tooltip:e,id:t})=>React.createElement(n.TooltipContainer,{className:"yst-h-4"},React.createElement(n.TooltipTrigger,{ariaDescribedby:t},React.createElement(k,{className:"yst-w-4 yst-h-4 yst-text-slate-400"}),React.createElement("span",{className:"yst-sr-only"},(0,r.__)("Disabled","wordpress-seo"))),e&&React.createElement(n.TooltipWithContext,{position:"left",id:t},e)),N=({score:e,id:t})=>{var a;return React.createElement(n.TooltipContainer,{className:"yst-h-4 yst-flex yst-items-center yst-justify-center"},React.createElement(n.TooltipTrigger,{ariaDescribedby:t},React.createElement("div",{className:c()("yst-shrink-0 yst-w-3 yst-aspect-square yst-rounded-full",R[e].color)},React.createElement("span",{className:"yst-sr-only"},R[e].label))),(null===(a=R[e])||void 0===a?void 0:a.tooltip)&&React.createElement(n.TooltipWithContext,{position:"left",id:t},"notAnalyzed"===e?(0,r.__)("Content analysis hasn't started. Please open this page in your editor, enter a focus keyphrase and save.","wordpress-seo"):R[e].tooltip))},_=({score:e,isIndexablesEnabled:t,isSeoAnalysisEnabled:a,isEditable:s,id:n})=>t&&a?s?React.createElement(N,{score:e,id:n}):React.createElement(x,{id:n,tooltip:(0,r.__)("We can’t provide an SEO score for this page.","wordpress-seo")}):React.createElement(x,{id:n}),S=({children:e})=>React.createElement("div",{className:"yst-overflow-auto"},React.createElement(n.Table,{variant:"minimal"},e));S.Head=({children:e})=>React.createElement(n.Table.Head,null,React.createElement(n.Table.Row,null,React.createElement(n.Table.Header,{className:"yst-px-0 yst-w-5"},""),e)),S.Row=({children:e,index:t})=>React.createElement(n.Table.Row,null,React.createElement(n.Table.Cell,{className:"yst-px-0 yst-text-slate-500"},t+1,". "),e),S.Cell=n.Table.Cell,S.Header=n.Table.Header,S.Body=n.Table.Body;const C=window.yoast.reduxJsToolkit,L=window.lodash,T=(0,C.createSlice)({name:"data",initialState:{data:void 0,error:void 0,isPending:!0},reducers:{setData(e,t){e.data=t.payload,e.error=void 0,e.isPending=!1},setError(e,t){e.error=t.payload,e.isPending=!1},setIsPending(e,t){e.isPending=Boolean(t.payload)}}}),P=(t,a=L.identity)=>{const[s,r]=(0,e.useReducer)(T.reducer,{},T.getInitialState),n=(0,e.useRef)();return(0,e.useEffect)((()=>{var e,s;return null===(e=n.current)||void 0===e||e.abort(),n.current=new AbortController,r(T.actions.setIsPending(!0)),t({signal:null===(s=n.current)||void 0===s?void 0:s.signal}).then((e=>r(T.actions.setData(a(e))))).catch((e=>{"AbortError"!==(null==e?void 0:e.name)&&r(T.actions.setError(e))})),()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.abort()}}),[t]),s},F=({isIndexablesEnabled:e,isSeoAnalysisEnabled:t})=>{if(e&&t)return React.createElement(React.Fragment,null,"Yoast",React.createElement("br",null),(0,r.__)("SEO score","wordpress-seo"));let a;return e?t||(a=(0,r.__)("We can’t provide SEO scores, because the SEO analysis is disabled for your site.","wordpress-seo")):a=(0,r.__)("We can’t analyze your content, because you’re in a non-production environment.","wordpress-seo"),React.createElement(n.TooltipContainer,{className:"yst-inline-block"},React.createElement(n.TooltipTrigger,{ariaDescribedby:"yst-disabled-score-header-tooltip",className:"yst-cursor-help yst-underline yst-decoration-dotted yst-underline-offset-4"},"Yoast",React.createElement("br",null),(0,r.__)("SEO score","wordpress-seo")),React.createElement(n.TooltipWithContext,{position:"bottom",id:"yst-disabled-score-header-tooltip",className:"yst-w-52"},a))},D=({index:e})=>React.createElement(S.Row,{index:e},React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,null,"https://example.com/page")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"10")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"100")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"0.12")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"12.34")),React.createElement(S.Cell,null,React.createElement("div",{className:"yst-flex yst-justify-center"},React.createElement(n.SkeletonLoader,{className:"yst-shrink-0 yst-w-3 yst-aspect-square yst-rounded-full"}))),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"Edit"))),j=({data:e,children:a,isIndexablesEnabled:s=!0,isSeoAnalysisEnabled:o=!0})=>React.createElement(S,null,React.createElement(S.Head,null,React.createElement(S.Header,null,(0,r.__)("Landing page","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Clicks","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Impressions","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("CTR","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Average position","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-center"},React.createElement(F,{isIndexablesEnabled:s,isSeoAnalysisEnabled:o})),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Actions","wordpress-seo"))),React.createElement(S.Body,null,a||e.map((({subject:e,clicks:a,impressions:l,ctr:c,position:i,seoScore:m,links:d},u)=>React.createElement(S.Row,{key:`most-popular-content-${u}`,index:u},React.createElement(S.Cell,{className:"yst-text-slate-900 yst-font-medium"},e),React.createElement(S.Cell,{className:"yst-text-end"},a),React.createElement(S.Cell,{className:"yst-text-end"},l),React.createElement(S.Cell,{className:"yst-text-end"},c),React.createElement(S.Cell,{className:"yst-text-end"},i),React.createElement(S.Cell,null,React.createElement("div",{className:"yst-flex yst-justify-center"},React.createElement(_,{id:`yst-top-pages-widget__seo-score-${u}`,score:m,isIndexablesEnabled:s,isSeoAnalysisEnabled:o,isEditable:null==d?void 0:d.edit}))),React.createElement(S.Cell,{className:"yst-text-end"},React.createElement(n.Button,{variant:"tertiary",size:"small",as:"a",href:null==d?void 0:d.edit,className:"yst-px-0 yst-me-1",disabled:!(null!=d&&d.edit),"aria-disabled":!(null!=d&&d.edit),role:"link"},React.createElement(t,{className:"yst-w-4 yst-h-4 yst-me-1.5"}),(0,r.__)("Edit","wordpress-seo")))))))),M=({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r})=>{const{data:n,isPending:o,error:l}=(({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r=5})=>{const n=(0,e.useCallback)((e=>a.fetchJson(t.getEndpoint("timeBasedSeoMetrics"),{limit:r.toString(10),options:{widget:"page"}},e)),[t,r]),o=(0,e.useMemo)((()=>(e=>(t=[])=>t.map((t=>({subject:e.format(t.subject,"subject",{widget:"topPages"}),clicks:e.format(t.clicks,"clicks",{widget:"topPages"}),impressions:e.format(t.impressions,"impressions",{widget:"topPages"}),ctr:e.format(t.ctr,"ctr",{widget:"topPages"}),position:e.format(t.position,"position",{widget:"topPages"}),seoScore:e.format(t.seoScore,"seoScore",{widget:"topPages"}),links:e.format(t.links,"links",{widget:"topPages"})}))))(s)),[s]);return P(n,o)})({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r});return o?React.createElement(j,null,Array.from({length:r},((e,t)=>React.createElement(D,{key:`top-pages-table--row__${t}`,index:t})))):l?React.createElement(m,{error:l,supportLink:t.getLink("errorSupport"),className:"yst-mt-4"}):0===n.length?React.createElement(d,null):React.createElement(j,{data:n,isIndexablesEnabled:t.hasFeature("indexables"),isSeoAnalysisEnabled:t.hasFeature("seoAnalysis")})},A=({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s=5})=>React.createElement(w,{className:"yst-paper__content yst-col-span-4",title:(0,r.__)("Top 5 most popular content","wordpress-seo"),tooltip:(0,r.__)("The top 5 URLs on your website with the highest number of clicks over the last 28 days.","wordpress-seo"),dataSources:[{source:"Site Kit by Google",feature:(0,r.__)("Clicks, Impressions, CTR, Position","wordpress-seo")},{source:"Yoast SEO",feature:(0,r.sprintf)(/* translators: 1: Yoast SEO. */ (0,r.__)("%1$s score","wordpress-seo"),"Yoast SEO")}],errorSupportLink:e.getLink("errorSupport")},React.createElement(M,{dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s})),W=({index:e})=>React.createElement(S.Row,{index:e},React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,null,"focus keyphrase")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"10")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"100")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"0.12")),React.createElement(S.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"12.34"))),O=({data:e,children:t})=>React.createElement(S,null,React.createElement(S.Head,null,React.createElement(S.Header,null,(0,r.__)("Query","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Clicks","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("Impressions","wordpress-seo")),React.createElement(S.Header,{className:"yst-text-end"},(0,r.__)("CTR","wordpress-seo")),React.createElement(S.Header,null,React.createElement("div",{className:"yst-flex yst-justify-end"},React.createElement("div",{className:"yst-w-min yst-text-end"},(0,r.__)("Average position","wordpress-seo"))))),React.createElement(S.Body,null,t||e.map((({subject:e,clicks:t,impressions:a,ctr:s,position:r},n)=>React.createElement(S.Row,{key:`most-popular-content-${n}`,index:n},React.createElement(S.Cell,{className:"yst-text-slate-900 yst-font-medium"},e),React.createElement(S.Cell,{className:"yst-text-end"},t),React.createElement(S.Cell,{className:"yst-text-end"},a),React.createElement(S.Cell,{className:"yst-text-end"},s),React.createElement(S.Cell,{className:"yst-text-end"},r)))))),I=({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r=5})=>{const{data:n,error:o,isPending:l}=(({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r})=>{const n=(0,e.useCallback)((e=>a.fetchJson(t.getEndpoint("timeBasedSeoMetrics"),{limit:r.toString(10),options:{widget:"query"}},e)),[t,r]),o=(0,e.useMemo)((()=>(e=>(t=[])=>t.map((t=>({subject:e.format(t.subject,"subject",{widget:"topQueries"}),clicks:e.format(t.clicks,"clicks",{widget:"topQueries"}),impressions:e.format(t.impressions,"impressions",{widget:"topQueries"}),ctr:e.format(t.ctr,"ctr",{widget:"topQueries"}),position:e.format(t.position,"position",{widget:"topQueries"})}))))(s)),[s]);return P(n,o)})({dataProvider:t,remoteDataProvider:a,dataFormatter:s,limit:r});return l?React.createElement(O,null,Array.from({length:r},((e,t)=>React.createElement(W,{key:`top-queries-table--row__${t}`,index:t})))):o?React.createElement(m,{error:o,supportLink:t.getLink("errorSupport"),className:"yst-mt-4"}):0===n.length?React.createElement(d,null):React.createElement(O,{data:n})},B=({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s=5})=>React.createElement(w,{className:"yst-paper__content yst-col-span-4",title:(0,r.__)("Top 5 search queries","wordpress-seo"),tooltip:(0,r.__)("The top 5 search queries on your website with the highest number of clicks over the last 28 days.","wordpress-seo"),dataSources:[{source:"Site Kit by Google"}],errorSupportLink:e.getLink("errorSupport")},React.createElement(I,{dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s})),z=({value:e,formattedValue:t,moreIsGood:a})=>{if(!e)return null;const s=e>=0,r=a?"yst-text-green-600":"yst-text-red-600",n=a?"yst-text-red-600":"yst-text-green-600";return React.createElement("div",{className:c()("yst-flex yst-items-center yst-font-semibold",s?r:n)},[s?"+":"",t].join(""))},$=({className:e,children:t})=>React.createElement("div",{className:c()("yst-flex yst-gap-4 yst-justify-center yst-bg-white","yst-col-span-4 @lg:yst-col-span-2 @3xl:yst-col-span-1","yst-ps-0 yst-pe-0 yst-pt-4 yst-pb-4 first:yst-pt-0 last:yst-pb-0","@lg:yst-ps-0 @lg:yst-pe-0 @lg:yst-pt-0 @lg:yst-pb-0","@3xl:yst-ps-4 @3xl:yst-pe-4 @3xl:yst-pt-0 @3xl:yst-pb-0 @3xl:first:yst-ps-0 @3xl:last:yst-pe-0",e)},t),H=({children:e})=>React.createElement("div",{className:"yst-flex yst-flex-col yst-items-center yst-min-w-28 @3xl:yst-min-w-0"},e),G=({className:e,tooltipLocalizedContent:t,dataSources:a})=>React.createElement($,{className:e},React.createElement("div",{className:"yst-w-5"}),React.createElement(H,null,React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-2xl yst-font-bold yst-text-slate-900"},"12345"),React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-sm yst-mt-2"},"Dummy"),React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-sm yst-mt-2 yst-font-semibold"},"- 13%")),React.createElement("div",{className:"yst-mt-2"},React.createElement(h,{content:t},React.createElement(f,{dataSources:a})))),V=({className:e,metricName:t,data:a,dataSources:s,tooltipLocalizedContent:r,moreIsGood:n})=>React.createElement($,{className:e},React.createElement("div",{className:"yst-w-5"}),React.createElement(H,null,React.createElement("div",{className:"yst-text-center yst-text-2xl yst-font-bold yst-text-slate-900"},a.formattedValue),React.createElement("div",{className:"yst-text-center"},t),React.createElement("div",{className:"yst-text-center yst-mt-2"},React.createElement(z,{value:a.delta,formattedValue:a.formattedDelta,moreIsGood:n}))),React.createElement("div",{className:"yst-mt-2"},React.createElement(h,{content:r},React.createElement(f,{dataSources:s})))),Q=e=>!e&&0!==e,q=(e,t)=>Q(e)||Q(t)?NaN:e===t?0:0===t?1:(e-t)/t,J={impressions:{name:(0,r._x)("Impressions","The number of times your website appeared in the Google search results","wordpress-seo"),tooltip:(0,r.__)("The number of times your website appeared in the Google search results over the last 28 days.","wordpress-seo"),dataSources:[{source:(0,r.__)("Site Kit by Google","wordpress-seo")}]},clicks:{name:(0,r._x)("Clicks","The number of times users clicked on your website's link in the Google search results","wordpress-seo"),tooltip:(0,r.__)("The number of times users clicked on your website's link in the Google search results over the last 28 days.","wordpress-seo"),dataSources:[{source:(0,r.__)("Site Kit by Google","wordpress-seo")}]},ctr:{name:(0,r._x)("Average CTR","Click-through-rate for your website in the Google search results","wordpress-seo"),tooltip:(0,r.__)("The average click-through-rate for your website in the Google search results over the last 28 days.","wordpress-seo"),dataSources:[{source:(0,r.__)("Site Kit by Google","wordpress-seo")}]},position:{name:(0,r._x)("Average position","Average position of your website in the Google search results","wordpress-seo"),tooltip:(0,r.__)("The average position of your website in the Google search results over the last 28 days.","wordpress-seo"),dataSources:[{source:(0,r.__)("Site Kit by Google","wordpress-seo")}]}},U=({children:e})=>React.createElement("div",{className:"yst-grid yst-grid-cols-4 yst-gap-px yst-bg-slate-200"},e),K=()=>React.createElement(U,null,React.createElement(G,{className:"@lg:yst-pe-4 @lg:yst-pb-4",tooltipLocalizedContent:J.impressions.tooltip,dataSources:J.impressions.dataSources}),React.createElement(G,{className:"@lg:yst-ps-4 @lg:yst-pb-4",tooltipLocalizedContent:J.clicks.tooltip,dataSources:J.clicks.dataSources}),React.createElement(G,{className:"@lg:yst-pe-4 @lg:yst-pt-4",tooltipLocalizedContent:J.ctr.tooltip,dataSources:J.ctr.dataSources}),React.createElement(G,{className:"@lg:yst-ps-4 @lg:yst-pt-4",tooltipLocalizedContent:J.position.tooltip,dataSources:J.position.dataSources})),Y=({dataProvider:t,remoteDataProvider:a,dataFormatter:s,setShowTitle:r})=>{const{data:n,error:o,isPending:l}=(({dataProvider:t,remoteDataProvider:a,dataFormatter:s})=>{const r=(0,e.useCallback)((e=>a.fetchJson(t.getEndpoint("timeBasedSeoMetrics"),{options:{widget:"searchRankingCompare"}},e)),[t]),n=(0,e.useMemo)((()=>e=>(e=>t=>null===t?null:{impressions:e.format(t.impressions,"impressions"),clicks:e.format(t.clicks,"clicks"),ctr:e.format(t.ctr,"ctr"),position:e.format(t.position,"position")})(s)((e=>{if(0===e.length)return null;const t={impressions:{value:e[0].current.total_impressions,delta:q(e[0].current.total_impressions,e[0].previous.total_impressions)},clicks:{value:e[0].current.total_clicks,delta:q(e[0].current.total_clicks,e[0].previous.total_clicks)},ctr:null,position:null};return e[0].current.average_ctr&&(t.ctr={value:e[0].current.average_ctr,delta:q(e[0].current.average_ctr,e[0].previous.average_ctr)}),e[0].current.average_position&&(t.position={value:e[0].current.average_position,delta:e[0].current.average_position-e[0].previous.average_position}),t})(e))),[s]);return P(r,n)})({dataProvider:t,remoteDataProvider:a,dataFormatter:s});return(0,e.useEffect)((()=>{r(!l&&(o||null===n))}),[n,o,l,r]),l?React.createElement(K,null):o?React.createElement(m,{error:o,supportLink:t.getLink("errorSupport"),className:"yst-mt-4"}):null===n?React.createElement(d,null):React.createElement(U,null,React.createElement(V,{className:"@lg:yst-pe-4 @lg:yst-pb-4",metricName:J.impressions.name,data:n.impressions,tooltipLocalizedContent:J.impressions.tooltip,dataSources:J.impressions.dataSources,moreIsGood:!0}),React.createElement(V,{className:"@lg:yst-ps-4 @lg:yst-pb-4",metricName:J.clicks.name,data:n.clicks,tooltipLocalizedContent:J.clicks.tooltip,dataSources:J.clicks.dataSources,moreIsGood:!0}),React.createElement(V,{className:"@lg:yst-pe-4 @lg:yst-pt-4",metricName:J.ctr.name,data:n.ctr,tooltipLocalizedContent:J.ctr.tooltip,dataSources:J.ctr.dataSources,moreIsGood:!0}),React.createElement(V,{className:"@lg:yst-ps-4 @lg:yst-pt-4",metricName:J.position.name,data:n.position,tooltipLocalizedContent:J.position.tooltip,dataSources:J.position.dataSources,moreIsGood:!1}))},X=({dataProvider:t,remoteDataProvider:a,dataFormatter:s})=>{const[o,l]=(0,e.useState)(!1),[c,,,i]=(0,n.useToggleState)(!1);return React.createElement(w,{className:"yst-paper__content yst-col-span-4",title:(o||c)&&(0,r.__)("Impressions, Clicks, Site CTR, Average position","wordpress-seo")},React.createElement(E,{supportLink:t.getLink("errorSupport"),onError:i},React.createElement(Y,{dataProvider:t,remoteDataProvider:a,dataFormatter:s,setShowTitle:l})))},Z=({children:e})=>React.createElement("div",{className:"yst-flex yst-flex-col yst-gap-1"},React.createElement("div",{className:"yst-flex yst-gap-3"},e),React.createElement("span",null,(0,r.__)("Last 28 days","wordpress-seo"))),ee=({data:e,isPending:t,error:a,supportLink:s})=>t?React.createElement(Z,null,React.createElement(n.SkeletonLoader,{className:"yst-title yst-title--1"},"10_000"),React.createElement(n.SkeletonLoader,null,"^ +100%")):a?React.createElement(m,{error:a,supportLink:s}):React.createElement(Z,null,React.createElement(n.Title,{as:"h2",size:"1",className:"yst-font-bold"},e.sessions),React.createElement(z,{value:e.difference,formattedValue:e.formattedDifference,moreIsGood:!0})),te=window.yoast["chart.js"],ae="label";function se(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function re(e,t){e.labels=t}function ne(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ae;const s=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[a]===t[a]));return r&&t.data&&!s.includes(r)?(s.push(r),Object.assign(r,t),r):{...t}}))}function oe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae;const a={labels:[],datasets:[]};return re(a,e.labels),ne(a,e.datasets,t),a}function le(t,a){const{height:s=150,width:r=300,redraw:n=!1,datasetIdKey:o,type:l,data:c,options:i,plugins:m=[],fallbackContent:d,updateMode:u,...p}=t,y=(0,e.useRef)(null),g=(0,e.useRef)(),h=()=>{y.current&&(g.current=new te.Chart(y.current,{type:l,data:oe(c,o),options:i&&{...i},plugins:m}),se(a,g.current))},f=()=>{se(a,null),g.current&&(g.current.destroy(),g.current=null)};return(0,e.useEffect)((()=>{!n&&g.current&&i&&function(e,t){const a=e.options;a&&t&&Object.assign(a,t)}(g.current,i)}),[n,i]),(0,e.useEffect)((()=>{!n&&g.current&&re(g.current.config.data,c.labels)}),[n,c.labels]),(0,e.useEffect)((()=>{!n&&g.current&&c.datasets&&ne(g.current.config.data,c.datasets,o)}),[n,c.datasets]),(0,e.useEffect)((()=>{g.current&&(n?(f(),setTimeout(h)):g.current.update(u))}),[n,i,c.labels,c.datasets,u]),(0,e.useEffect)((()=>{g.current&&(f(),setTimeout(h))}),[l]),(0,e.useEffect)((()=>(h(),()=>f())),[]),e.createElement("canvas",Object.assign({ref:y,role:"img",height:s,width:r},p),d)}const ce=(0,e.forwardRef)(le);function ie(t,a){return te.Chart.register(a),(0,e.forwardRef)(((a,s)=>e.createElement(ce,Object.assign({},a,{ref:s,type:t}))))}const me=ie("line",te.LineController),de=ie("doughnut",te.DoughnutController);var ue,pe;te.Chart.register(te.Filler,te.CategoryScale,te.LinearScale,te.LineElement,te.PointElement,te.Tooltip);const ye="rgba(166, 30, 105, 1)",ge="transparent",he=null===(ue=document.createElement("canvas"))||void 0===ue||null===(pe=ue.getContext("2d"))||void 0===pe?void 0:pe.createLinearGradient(0,0,0,225);null==he||he.addColorStop(0,"rgba(166, 30, 105, 0.2)"),null==he||he.addColorStop(1,"rgba(166, 30, 105, 0)");const fe={parsing:{xAxisKey:"date",yAxisKey:"sessions"},elements:{point:{radius:5,borderWidth:2,borderColor:"white",backgroundColor:ye},line:{tension:.3,borderWidth:3,borderColor:ye,backgroundColor:he||ge}},layout:{padding:{left:-20}},scales:{x:{grid:{color:"oklch(0.869 0.022 252.894)",drawTicks:!1},ticks:{font:{size:12,weight:400},padding:12,maxRotation:0,maxTicksLimit:14}},y:{grid:{color:e=>e.tick.value%1?ge:"oklch(0.929 0.013 255.508)",drawTicks:!1},ticks:{color:"oklch(0.554 0.046 257.417)",font:{size:14,weight:400},padding:20,callback:function(e){return e%1?"":this.getLabelForValue(e)}}}},responsive:!0,maintainAspectRatio:!1,plugins:{legend:!1,tooltip:{displayColors:!1,callbacks:{title:()=>"",label:e=>`${e.label}: ${null==e?void 0:e.formattedValue}`}}}},Ee=({data:e})=>React.createElement(React.Fragment,null,React.createElement("div",{className:"yst-w-full yst-h-60"},React.createElement(me,{"aria-hidden":!0,options:fe,data:e})),React.createElement("table",{className:"yst-sr-only yst-table-fixed"},React.createElement("caption",null,(0,r.__)("Organic sessions chart","wordpress-seo")),React.createElement("thead",null,React.createElement("tr",null,e.labels.map((e=>React.createElement("th",{key:e},e))))),React.createElement("tbody",null,React.createElement("tr",null,e.datasets[0].data.map((({date:e,sessions:t})=>React.createElement("td",{key:e},String(t)))))))),we=({data:e,isPending:t,error:a,supportLink:s})=>t?React.createElement(n.SkeletonLoader,{className:"yst-w-full yst-h-52 yst-mt-8"}):a?React.createElement(m,{className:"yst-mt-4",error:a,supportLink:s}):React.createElement(Ee,{data:e}),Re=({dataProvider:t,remoteDataProvider:a,dataFormatter:s})=>{var r;const n=t.getLink("errorSupport"),o=((t,a,s)=>{const r=(0,e.useCallback)((e=>a.fetchJson(t.getEndpoint("timeBasedSeoMetrics"),{options:{widget:"organicSessionsDaily"}},e)),[t]),n=(0,e.useMemo)((()=>(e=[])=>{return t=(e=>(t=[])=>t.map((t=>({date:e.format(t.date,"date",{widget:"organicSessions"}),sessions:Number(t.sessions)}))))(s)(e),{labels:t.map((({date:e})=>e)),datasets:[{fill:"origin",data:t}]};var t}),[s]);return P(r,n)})(t,a,s),l=((t,a,s)=>{const r=(0,e.useCallback)((e=>a.fetchJson(t.getEndpoint("timeBasedSeoMetrics"),{options:{widget:"organicSessionsCompare"}},e)),[t]),n=(0,e.useMemo)((()=>(e=>([t])=>{var a,s;const r=(null==t||null===(a=t.current)||void 0===a?void 0:a.sessions)||NaN,n=q(r,(null==t||null===(s=t.previous)||void 0===s?void 0:s.sessions)||NaN);return{sessions:e.format(r,"sessions",{widget:"organicSessions"}),difference:n,formattedDifference:e.format(n,"difference",{widget:"organicSessions"})}})(s)),[s]);return P(r,n)})(t,a,s);return l.error&&o.error&&(0,L.isEqual)(l.error,o.error)?React.createElement(m,{className:"yst-mt-4",error:l.error,supportLink:n}):0===(null===(r=o.data)||void 0===r?void 0:r.labels.length)?React.createElement(d,null):React.createElement(React.Fragment,null,React.createElement("div",{className:"yst-flex yst-justify-between yst-mt-4"},React.createElement(ee,{data:l.data,error:l.error,isPending:l.isPending,supportLink:n})),React.createElement(we,{data:o.data,error:o.error,isPending:o.isPending,supportLink:n}))},ve=({dataProvider:e,remoteDataProvider:t,dataFormatter:a})=>React.createElement(w,{className:"yst-paper__content yst-col-span-4",title:(0,r.__)("Organic sessions","wordpress-seo"),tooltip:(0,r.__)("The number of organic sessions that began on your website.","wordpress-seo"),dataSources:[{source:"Site Kit by Google"}],errorSupportLink:e.getLink("errorSupport")},React.createElement(Re,{dataProvider:e,remoteDataProvider:t,dataFormatter:a})),be=new RegExp("�?39;","g");function ke(e){return(0,L.replace)((0,L.unescape)(e),be,"'")}const xe=({idSuffix:t,contentTypes:a,selected:s,onChange:o})=>{const[l,c]=(0,e.useState)((()=>a)),i=(0,e.useCallback)((e=>{o(a.find((({name:t})=>t===e)))}),[a]),m=(0,e.useCallback)((e=>{const t=e.target.value.trim().toLowerCase();c(t?a.filter((({name:e,label:a})=>a.toLowerCase().includes(t)||e.toLowerCase().includes(t))):a)}),[a]);return React.createElement(n.AutocompleteField,{id:`content-type--${t}`,label:(0,r.__)("Content type","wordpress-seo"),value:null==s?void 0:s.name,selectedLabel:ke(null==s?void 0:s.label)||"",onChange:i,onQueryChange:m},l.map((({name:e,label:t})=>{const a=ke(t);return React.createElement(n.AutocompleteField.Option,{key:e,value:e},a)})))},Ne=({scores:e,descriptions:t})=>{const a=(0,L.maxBy)(e,"amount");return React.createElement("p",{className:"yst-max-w-2xl"},t[null==a?void 0:a.name]||"")};te.Chart.register(te.ArcElement,te.Tooltip);const _e=e=>({labels:e.map((({name:e})=>R[e].label)),datasets:[{cutout:"82%",data:e.map((({amount:e})=>e)),backgroundColor:e.map((({name:e})=>R[e].hex)),borderWidth:0,offset:0,hoverOffset:5,spacing:1,weight:1,animation:{animateRotate:!0}}]}),Se={plugins:{legend:!1,tooltip:{displayColors:!1,callbacks:{title:()=>"",label:e=>`${e.label}: ${null==e?void 0:e.formattedValue}`}}},layout:{padding:5}},Ce=({className:e})=>React.createElement("div",{className:c()(e,"yst-relative")},React.createElement(n.SkeletonLoader,{className:"yst-w-full yst-aspect-square yst-rounded-full"}),React.createElement("div",{className:"yst-absolute yst-inset-5 yst-aspect-square yst-bg-white yst-rounded-full"})),Le=({className:e,scores:t})=>React.createElement("div",{className:e},React.createElement(de,{options:Se,data:_e(t)})),Te="yst-flex yst-items-center yst-py-3 first:yst-pt-0 last:yst-pb-0 yst-border-b last:yst-border-b-0",Pe="yst-shrink-0 yst-w-3 yst-aspect-square yst-rounded-full",Fe="yst-ms-3 yst-me-2",De=({className:e})=>React.createElement("ul",{className:e},Object.entries(R).map((([e,{label:t}])=>React.createElement("li",{key:`skeleton-loader--${e}`,className:Te},React.createElement(n.SkeletonLoader,{className:Pe}),React.createElement(n.SkeletonLoader,{className:Fe},t),React.createElement(n.SkeletonLoader,{className:"yst-w-7 yst-me-3"},"1"),React.createElement(n.SkeletonLoader,{className:"yst-ms-auto yst-button yst-button--small"},(0,r.__)("View","wordpress-seo")))))),je=({score:e})=>React.createElement(React.Fragment,null,React.createElement("span",{className:c()(Pe,R[e.name].color)}),React.createElement(n.Label,{as:"span",className:c()(Fe,"yst-leading-4 yst-py-1.5")},R[e.name].label),React.createElement(n.Badge,{variant:"plain",className:c()(e.links.view&&"yst-me-3")},e.amount)),Me=({score:e,idSuffix:t,tooltip:a})=>{const s=`tooltip--${t}__${e.name}`;return React.createElement(n.TooltipContainer,null,React.createElement(n.TooltipTrigger,{className:"yst-flex yst-items-center",ariaDescribedby:s},React.createElement(je,{score:e})),React.createElement(n.TooltipWithContext,{id:s,className:"max-[784px]:yst-max-w-full"},a))},Ae=({score:e,idSuffix:t,tooltips:a})=>{const s=a[e.name]?Me:je;return React.createElement("li",{className:Te},React.createElement(s,{score:e,idSuffix:t,tooltip:a[e.name]}),e.links.view&&React.createElement(n.Button,{as:"a",variant:"secondary",size:"small",href:e.links.view,className:"yst-ms-auto"},(0,r.__)("View","wordpress-seo")))},We=({className:e,scores:t,idSuffix:a,tooltips:s})=>React.createElement("ul",{className:e},t.map((e=>React.createElement(Ae,{key:e.name,score:e,idSuffix:a,tooltips:s})))),Oe="yst-flex yst-flex-col @md:yst-flex-row yst-gap-12 yst-mt-6",Ie="yst-grow",Be="yst-w-[calc(11.5rem+3px)] yst-aspect-square",ze=()=>React.createElement(React.Fragment,null,React.createElement(n.SkeletonLoader,{className:"yst-w-full"}," "),React.createElement("div",{className:Oe},React.createElement(De,{className:Ie}),React.createElement(Ce,{className:Be}))),$e=({scores:e=[],isLoading:t,descriptions:a,tooltips:s,idSuffix:r})=>t?React.createElement(ze,null):React.createElement(React.Fragment,null,React.createElement(Ne,{scores:e,descriptions:a}),React.createElement("div",{className:Oe},e&&React.createElement(We,{className:Ie,scores:e,idSuffix:r,tooltips:s}),e&&React.createElement(Le,{className:Be,scores:e}))),He="idle",Ge="error",Ve="request",Qe="success",qe="error",Je=async(e,t)=>{try{const a=await fetch(e,t);if(!a.ok){const e=new Error(a.statusText);throw e.status=a.status,e}return a.json()}catch(e){return Promise.reject(e)}},Ue=({dependencies:t,url:a,options:s,prepareData:r=L.identity,doFetch:n=Je,fetchDelay:o=200})=>{const[l,c]=(0,e.useState)(!0),[i,m]=(0,e.useState)(),[d,u]=(0,e.useState)(),p=(0,e.useRef)(),y=(0,e.useCallback)((0,L.debounce)(((...e)=>{n(...e).then((e=>{u(r(e)),m(void 0)})).catch((e=>{"AbortError"!==(null==e?void 0:e.name)&&m(e)})).finally((()=>{c(!1)}))}),o),[]);return(0,e.useEffect)((()=>{var e;return c(!0),null===(e=p.current)||void 0===e||e.abort(),p.current=new AbortController,y(a,{signal:p.current.signal,...s}),()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.abort()}}),t),{data:d,error:i,isPending:l}},Ke=(e,t)=>{const a=new URL(e);return a.searchParams.set("search",t),a.searchParams.set("_fields",["id","name"]),a},Ye=e=>({name:String(e.id),label:(0,L.unescape)(e.name)}),Xe=({terms:e})=>0===e.length?React.createElement("div",{className:"yst-autocomplete__option"},(0,r.__)("Nothing found","wordpress-seo")):e.map((({name:e,label:t})=>React.createElement(n.AutocompleteField.Option,{key:e,value:e},t))),Ze=({idSuffix:t,taxonomy:a,selected:s,onChange:o})=>{const[l,c]=(0,e.useState)(""),{data:i=[],error:m,isPending:d}=Ue({dependencies:[a.links.search,l],url:Ke(a.links.search,l),options:{headers:{"Content-Type":"application/json"}},prepareData:e=>e.map(Ye)}),u=(0,e.useCallback)((e=>{null===e&&c(""),o(i.find((({name:t})=>t===e)))}),[i]),p=(0,e.useCallback)((e=>{var t,a,s;c((null==e||null===(t=e.target)||void 0===t||null===(a=t.value)||void 0===a||null===(s=a.trim())||void 0===s?void 0:s.toLowerCase())||"")}),[]);return React.createElement(n.AutocompleteField,{id:`term--${t}`,label:a.label,value:(null==s?void 0:s.name)||"",selectedLabel:(null==s?void 0:s.label)||l,onChange:u,onQueryChange:p,placeholder:(0,r.__)("All","wordpress-seo"),nullable:!0,clearButtonScreenReaderText:(0,r.__)("Clear filter","wordpress-seo"),validation:m&&{variant:"error",message:(0,r.__)("Something went wrong.","wordpress-seo")}},d&&React.createElement("div",{className:"yst-autocomplete__option"},React.createElement(n.Spinner,null)),!d&&React.createElement(Xe,{terms:i}))},et=e=>null==e?void 0:e.scores,tt=({analysisType:t,contentTypes:a,dataProvider:s,remoteDataProvider:r})=>{var n,o;const[l,c]=(0,e.useState)(a[0]),[i,d]=(0,e.useState)(),u=(0,e.useCallback)((e=>r.fetchJson(s.getEndpoint(t+"Scores"),((e,t)=>{var a;const s={contentType:null==e?void 0:e.name};return null!=e&&null!==(a=e.taxonomy)&&void 0!==a&&a.name&&null!=t&&t.name&&(s.taxonomy=e.taxonomy.name,s.term=t.name),s})(l,i),e)),[s,t,l,i]),{data:p,error:y,isPending:g}=P(u,et);return(0,e.useEffect)((()=>{d(void 0)}),[null==l?void 0:l.name]),React.createElement(React.Fragment,null,React.createElement("div",{className:"yst-grid yst-grid-cols-1 @md:yst-grid-cols-2 yst-gap-6 yst-mt-4"},React.createElement(xe,{idSuffix:t,contentTypes:a,selected:l,onChange:c}),l.taxonomy&&(null===(n=l.taxonomy)||void 0===n||null===(o=n.links)||void 0===o?void 0:o.search)&&React.createElement(Ze,{idSuffix:t,taxonomy:l.taxonomy,selected:i,onChange:d})),React.createElement("div",{className:"yst-mt-6"},React.createElement(m,{error:y,supportLink:s.getLink("errorSupport")}),!y&&React.createElement($e,{scores:p,isLoading:g,descriptions:v[t],tooltips:b[t],idSuffix:t})))},at=({analysisType:t,dataProvider:a,remoteDataProvider:s})=>{const[n,o]=(0,e.useState)((()=>a.getContentTypes()));return(0,e.useEffect)((()=>{o(a.getContentTypes())}),[a]),null!=n&&n.length?React.createElement(w,{className:"yst-paper__content yst-@container @3xl:yst-col-span-2 yst-col-span-4",title:"readability"===t?(0,r.__)("Readability scores","wordpress-seo"):(0,r.__)("SEO scores","wordpress-seo"),errorSupportLink:a.getLink("errorSupport")},React.createElement(tt,{analysisType:t,contentTypes:n,dataProvider:a,remoteDataProvider:s})):null},st=({widgetFactory:e})=>React.createElement(React.Fragment,null,(0,L.values)(e.types).map((t=>e.createWidget(t))));function rt(e){return rt="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},rt(e)}function nt(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=rt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var s=a.call(e,"string");if("object"!=rt(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ot(e,t){return e.get(function(e,t,a){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:a;throw new TypeError("Private element is not present on this object")}(e,t))}function lt(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,ot(t,e))}function ct(e,t,a){return function(e,t,a){if(t.set)t.set.call(e,a);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=a}}(e,ot(t,e),a),a}function it(e,t,a){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,a)}var mt=new WeakMap,dt=new WeakMap;class ut{constructor({locale:e="en-US"}={}){if(it(this,mt,{writable:!0,value:void 0}),it(this,dt,{writable:!0,value:{}}),new.target===ut)throw new Error("DataFormatterInterface cannot be instantiated directly.");ct(this,mt,e),lt(this,dt).nonFractional=new Intl.NumberFormat(e,{maximumFractionDigits:0}),lt(this,dt).compactNonFractional=new Intl.NumberFormat(e,{maximumFractionDigits:0,notation:"compact",compactDisplay:"short"}),lt(this,dt).percentage=new Intl.NumberFormat(e,{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}),lt(this,dt).twoFractions=new Intl.NumberFormat(e,{maximumFractionDigits:2,minimumFractionDigits:2})}get numberFormat(){return lt(this,dt)}get locale(){return lt(this,mt)}format(e,t,a={}){throw new Error("You must implement the format() method before using it.")}}nt(ut,"safeUrl",(e=>{try{return new URL(e)}catch{return null}})),nt(ut,"safeNumberFormat",((e,t)=>{try{return t.format(e)}catch{return e.toString(10)}}));class pt extends ut{formatLandingPage(e){const t=ut.safeUrl(e);return null===t?e:decodeURI(t.pathname)}format(e,t,a={}){switch(t){case"subject":switch(a.widget){case"topPages":return this.formatLandingPage(e);case"topQueries":return String(e);default:return e}case"clicks":case"impressions":return ut.safeNumberFormat(e,this.numberFormat.nonFractional);case"ctr":return ut.safeNumberFormat(e,this.numberFormat.percentage);case"position":return ut.safeNumberFormat(e,this.numberFormat.twoFractions);case"seoScore":return Object.keys(R).includes(e)?e:"notAnalyzed";default:return e}}}class yt extends ut{format(e,t,a={}){switch(t){case"impressions":case"clicks":return{formattedValue:ut.safeNumberFormat(e.value,this.numberFormat.nonFractional),delta:e.delta,formattedDelta:ut.safeNumberFormat(e.delta,this.numberFormat.percentage)};case"ctr":return null===e?{formattedValue:"-",delta:null,formattedDelta:"-"}:{formattedValue:ut.safeNumberFormat(e.value,this.numberFormat.percentage),delta:e.delta,formattedDelta:ut.safeNumberFormat(e.delta,this.numberFormat.percentage)};case"position":return null===e?{formattedValue:"-",delta:null,formattedDelta:"-"}:{formattedValue:ut.safeNumberFormat(e.value,this.numberFormat.twoFractions),delta:e.delta,formattedDelta:ut.safeNumberFormat(e.delta,this.numberFormat.twoFractions)};case"date":return new Date(Date.UTC(e.slice(0,4),e.slice(4,6)-1,e.slice(6,8))).toLocaleDateString(this.locale,{month:"short",day:"numeric"});case"sessions":return ut.safeNumberFormat(e||0,this.numberFormat.nonFractional);case"difference":return ut.safeNumberFormat(e,this.numberFormat.percentage);default:return e}}}function gt(e,t,a){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,a)}var ht=new WeakMap,ft=new WeakMap;class Et{constructor(e,t=Je){gt(this,ht,{writable:!0,value:void 0}),gt(this,ft,{writable:!0,value:void 0}),ct(this,ht,e),ct(this,ft,t)}getOptions(){return lt(this,ht)}getUrl(e,t){const a=new URL(e);return(0,L.forEach)(t,((e,t)=>{"object"==typeof e?(0,L.forEach)(e,((e,s)=>{a.searchParams.append(`${t}[${s}]`,e)})):a.searchParams.append(t,e)})),a}async fetchJson(e,t,a){return lt(this,ft).call(this,this.getUrl(e,t),(0,L.defaultsDeep)(a,lt(this,ht),{headers:{"Content-Type":"application/json"}}))}}let wt,Rt=["sessionStorage","localStorage"];const vt=e=>{const t=a.g[e];if(!t)return!1;try{const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==t.length}},bt=()=>{if(void 0!==wt)return wt;for(const e of Rt)wt||vt(e)&&(wt=a.g[e]);return void 0===wt&&(wt=null),wt};function kt(e,t,a){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,a)}var xt=new WeakMap,Nt=new WeakMap,_t=new WeakMap;class St extends Et{constructor(e,t,a,s){if(super(e),kt(this,xt,{writable:!0,value:void 0}),kt(this,Nt,{writable:!0,value:void 0}),kt(this,_t,{writable:!0,value:void 0}),ct(this,xt,t),ct(this,Nt,a),!Number.isInteger(s)||s<=0)throw new TypeError("The TTL provided must be a positive integer.");ct(this,_t,s)}async fetchJson(e,t,s){const r="yoastseo_"+lt(this,Nt)+"_"+lt(this,xt)+"_"+t.options.widget,{cacheHit:n,value:o}=(e=>{const t=bt();if(t){const a=t.getItem(e);if(a){const e=JSON.parse(a),{timestamp:t,ttl:s,value:r}=e;if(t&&(!s||Math.round(Date.now()/1e3)-t<s))return{cacheHit:!0,value:r}}}return{cacheHit:!1,value:void 0}})(r);if(n)return o;const l=await super.fetchJson(e,t,s);return((e,t,{ttl:s=3600,timestamp:r=Math.round(Date.now()/1e3)}={})=>{const n=bt();if(n)try{return n.setItem(e,JSON.stringify({timestamp:r,ttl:s,value:t})),!0}catch(e){return a.g.console.warn("Encountered an unexpected storage error:",e),!1}})(r,l,{ttl:lt(this,_t)}),l}}function Ct(e,t,a){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,a)}var Lt=new WeakMap,Tt=new WeakMap,Pt=new WeakMap,Ft=new WeakMap;class Dt{constructor({contentTypes:e,features:t,endpoints:a,links:s}){Ct(this,Lt,{writable:!0,value:void 0}),Ct(this,Tt,{writable:!0,value:void 0}),Ct(this,Pt,{writable:!0,value:void 0}),Ct(this,Ft,{writable:!0,value:void 0}),ct(this,Lt,e),ct(this,Tt,t),ct(this,Pt,a),ct(this,Ft,s)}getContentTypes(){return lt(this,Lt)}hasFeature(e){var t;return!0===(null===(t=lt(this,Tt))||void 0===t?void 0:t[e])}getEndpoint(e){var t;return null===(t=lt(this,Pt))||void 0===t?void 0:t[e]}getLink(e){var t;return null===(t=lt(this,Ft))||void 0===t?void 0:t[e]}}function jt(e,t,a){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,a)}var Mt=new WeakMap,At=new WeakMap,Wt=new WeakMap,Ot=new WeakMap;class It{constructor(e,t,a,s){jt(this,Mt,{writable:!0,value:void 0}),jt(this,At,{writable:!0,value:void 0}),jt(this,Wt,{writable:!0,value:void 0}),jt(this,Ot,{writable:!0,value:void 0}),ct(this,Mt,e),ct(this,At,t),ct(this,Wt,a),ct(this,Ot,s)}getRemoteDataProvider(e){var t;return null!==(t=lt(this,Wt)[e])&&void 0!==t?t:lt(this,At)}get types(){return{searchRankingCompare:"searchRankingCompare",organicSessions:"organicSessions",topPages:"topPages",topQueries:"topQueries",seoScores:"seoScores",readabilityScores:"readabilityScores"}}createWidget(e){switch(e){case this.types.seoScores:return lt(this,Mt).hasFeature("indexables")&<(this,Mt).hasFeature("seoAnalysis")?React.createElement(at,{key:e,analysisType:"seo",dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e)}):null;case this.types.readabilityScores:return lt(this,Mt).hasFeature("indexables")&<(this,Mt).hasFeature("readabilityAnalysis")?React.createElement(at,{key:e,analysisType:"readability",dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e)}):null;case this.types.topPages:return React.createElement(A,{key:e,dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:lt(this,Ot).plainMetricsDataFormatter});case this.types.topQueries:return React.createElement(B,{key:e,dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:lt(this,Ot).plainMetricsDataFormatter});case this.types.searchRankingCompare:return React.createElement(X,{key:e,dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:lt(this,Ot).comparisonMetricsDataFormatter});case this.types.organicSessions:return React.createElement(ve,{key:e,dataProvider:lt(this,Mt),remoteDataProvider:this.getRemoteDataProvider(e),dataFormatter:lt(this,Ot).comparisonMetricsDataFormatter});default:return null}}}const Bt=e=>React.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e),React.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"}),React.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81"})),zt=e=>React.createElement("svg",u({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M7.61333 10.1133L11.5 14C11.8333 14.3227 12.2801 14.5014 12.7441 14.4976C13.208 14.4939 13.6518 14.3079 13.9799 13.9799C14.3079 13.6518 14.4939 13.208 14.4976 12.7441C14.5014 12.2801 14.3227 11.8333 14 11.5L10.082 7.582M7.61333 10.1133L9.27733 8.09333C9.48866 7.83733 9.77066 7.676 10.0827 7.58267C10.4493 7.47333 10.858 7.45733 11.2447 7.48933C11.7659 7.53409 12.2897 7.44177 12.7643 7.22154C13.2388 7.00131 13.6475 6.66083 13.9498 6.23387C14.2521 5.80691 14.4374 5.30833 14.4875 4.7876C14.5376 4.26687 14.4507 3.74209 14.2353 3.26533L12.0513 5.45C11.6859 5.36551 11.3516 5.18011 11.0864 4.91492C10.8212 4.64973 10.6358 4.3154 10.5513 3.95L12.7353 1.766C12.2586 1.55064 11.7338 1.4637 11.2131 1.51379C10.6923 1.56388 10.1938 1.74927 9.76679 2.05157C9.33984 2.35386 8.99935 2.76254 8.77912 3.23706C8.55889 3.71159 8.46657 4.23545 8.51133 4.75667C8.572 5.474 8.464 6.266 7.90866 6.72333L7.84066 6.78M7.61333 10.1133L4.51 13.882C4.35959 14.0653 4.17247 14.2152 3.96066 14.3218C3.74886 14.4285 3.51707 14.4896 3.28022 14.5012C3.04337 14.5129 2.8067 14.4748 2.58544 14.3895C2.36419 14.3042 2.16326 14.1734 1.99557 14.0058C1.82789 13.8381 1.69718 13.6371 1.61184 13.4159C1.52651 13.1946 1.48844 12.958 1.5001 12.7211C1.51176 12.4843 1.57288 12.2525 1.67953 12.0407C1.78618 11.8289 1.93599 11.6417 2.11933 11.4913L6.67733 7.738L3.93933 5H3L1.5 2.5L2.5 1.5L5 3V3.93933L7.84 6.77933L6.67666 7.73733M12.25 12.25L10.5 10.5M3.24466 12.75H3.25V12.7553H3.24466V12.75Z",stroke:"#94A3B8",strokeLinecap:"round",strokeLinejoin:"round"})),$t=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Ht=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))})),Gt=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Vt=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),Qt=({type:e,label:t,href:a,onClick:s,taskId:l,disabled:c=!1,isLoading:i=!1})=>{const m=((e,t,a,s,r,n)=>{const o="link"!==e&&"add"!==e&&!r&&n,l={variant:"primary",id:`cta-button-${s}`,className:o?"yst-flex yst-items-center":"yst-flex yst-items-center yst-gap-1",disabled:r,isLoading:o};return["link","add"].includes(e)&&a?window.location.href.split("#")[0]===a.split("#")[0]?l.onClick=()=>{window.location.href=a}:l.href=a:l.onClick=t,l})(e,(0,o.useCallback)((()=>{s&&s(l)}),[s,l]),a,l,c,i);return"add"===e?React.createElement(n.Button,u({},m,{as:c?"button":"a"}),React.createElement(Ht,{className:"yst-w-4 yst-text-white"}),t):"delete"===e?React.createElement(n.Button,u({},m,{variant:"error"}),m.isLoading?null:React.createElement(Gt,{className:"yst-w-4 yst-text-white"}),m.isLoading?(0,r.__)("Deleting…","wordpress-seo"):t):"link"===e?React.createElement(n.Button,u({},m,{as:c?"button":"a"}),t,React.createElement(Vt,{className:"yst-w-4 yst-text-white rtl:yst-rotate-180"})):React.createElement(n.Button,m,m.isLoading?(0,r.__)("Generating…","wordpress-seo"):t)},qt=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 11l7-7 7 7M5 19l7-7 7 7"}))})),Jt=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8h16M4 16h16"}))})),Ut=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 13l-7 7-7-7m14-8l-7 7-7-7"}))})),Kt={low:(0,r.__)("Low","wordpress-seo"),medium:(0,r.__)("Medium","wordpress-seo"),high:(0,r.__)("High","wordpress-seo")},Yt=({level:e="low",isLoading:t=!1,className:a=""})=>{const s=(0,n.useSvgAria)();return React.createElement("span",{className:c()("yst-text-xs yst-text-slate-600 yst-flex yst-gap-1",a)},t?React.createElement(React.Fragment,null,React.createElement(Jt,u({className:"yst-w-4 yst-text-slate-400"},s)),React.createElement(n.SkeletonLoader,{className:"yst-w-11 yst-h-[18px]"})):React.createElement(React.Fragment,null,(e=>{const t=(0,n.useSvgAria)();switch(e){case"high":return React.createElement(qt,u({className:"yst-w-4 yst-text-red-600"},t));case"medium":return React.createElement(Jt,u({className:"yst-w-4 yst-text-amber-500"},t));default:return React.createElement(Ut,u({className:"yst-w-4 yst-text-slate-400"},t))}})(e),React.createElement("span",{className:"sm:yst-inline-block yst-hidden"},Kt[e])))},Xt=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Zt=({minutes:e,isLoading:t=!1})=>{const a=(0,n.useSvgAria)();return React.createElement("span",{className:"yst-text-xs yst-text-slate-600 yst-flex yst-gap-0.5 yst-items-center"},React.createElement(Xt,u({className:"yst-w-4 yst-text-slate-400"},a)),t?React.createElement(n.SkeletonLoader,{className:"yst-w-8 yst-h-[18px] yst-ms-0.5"}):React.createElement(React.Fragment,null,e,/* translators: This is a unit abbreviation for minutes. */ (0,r._x)("m","Abbreviation for minutes","wordpress-seo")))},ea=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),ta=()=>{const e=(0,n.useSvgAria)();return React.createElement("span",{className:"yst-text-xs yst-text-slate-600 yst-flex yst-gap-0.5 yst-items-center"},React.createElement(ea,u({className:"yst-w-4 yst-text-green-500"},e)),(0,r.__)("Completed","wordpress-seo"))},aa=({isOpen:e,onClose:t,callToAction:a,title:s,duration:o,priority:l,why:c,how:i,taskId:m,isCompleted:d,isLoading:p=!1,isError:y=!1,errorMessage:g})=>{const h=(0,n.useSvgAria)();return React.createElement(n.Modal,{isOpen:e,onClose:t,position:"center"},React.createElement(n.Modal.Panel,{className:"yst-p-0"},React.createElement(n.Modal.Container,null,React.createElement(n.Modal.Container.Header,{className:"yst-p-6 yst-flex yst-gap-3 yst-border-b yst-border-slate-200 yst-items-start"},React.createElement(Bt,u({className:"yst-w-4 yst-fill-primary-500 yst-pt-1 lg:yst-pt-0.5"},h)),React.createElement("div",null,React.createElement(n.Modal.Title,{as:"h3",className:"yst-mb-2 yst-text-lg yst-max-w-lg "+(d?"yst-text-slate-500":"")},s),React.createElement("div",{className:"yst-flex yst-gap-1"},d&&React.createElement(React.Fragment,null,React.createElement(ta,null),"·"),React.createElement(Zt,{minutes:o}),"· ",React.createElement(Yt,{level:l})))),React.createElement(n.Modal.Container.Content,{className:"yst-py-2 yst-px-12"},y&&React.createElement(n.Alert,{role:"alert",variant:"error",className:"yst-mt-4 yst-mb-2"},React.createElement("p",{className:"yst-font-medium yst-mb-2"},(0,r.__)("Oops! Something went wrong.","wordpress-seo")),React.createElement("p",null,g||(0,r.__)("Please try again.","wordpress-seo")," ",(0,r.__)("If the issue continues, our support team is here to help!","wordpress-seo"))),React.createElement("ul",null,React.createElement("li",{className:"yst-flex yst-flex-col yst-py-4 yst-items-start last:yst-border-b-0 yst-border-b yst-border-slate-200"},React.createElement("div",{className:"yst-flex yst-gap-1 yst-items-center yst-mb-1"},React.createElement($t,u({},h,{className:"yst-w-4 yst-text-slate-400 yst-flex-shrink-0"})),React.createElement(n.Title,{as:"h4",className:"yst-text-sm yst-font-medium yst-text-slate-800"},(0,r.__)("Why this matters","wordpress-seo"))),React.createElement("p",{className:"yst-text-xs yst-text-slate-600"},c)),i&&React.createElement("li",{className:"yst-flex yst-flex-col yst-py-4 yst-items-start"},React.createElement("div",{className:"yst-flex yst-gap-1 yst-items-center yst-mb-1"},React.createElement(zt,u({},h,{className:"yst-w-4 yst-text-slate-400 yst-flex-shrink-0"})),React.createElement(n.Title,{as:"h4",className:"yst-text-sm yst-font-medium yst-text-slate-800"},(0,r.__)("How to solve","wordpress-seo"))),React.createElement("p",{className:"yst-text-xs yst-text-slate-600"},i)))),React.createElement(n.Modal.Container.Footer,{className:"yst-flex yst-justify-end yst-gap-2 yst-p-6 yst-border-t yst-border-slate-200"},React.createElement(n.Button,{variant:"secondary",onClick:t},(0,r.__)("Close","wordpress-seo")),React.createElement(Qt,u({},a,{taskId:m,disabled:d,isLoading:p}))))))},sa=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"}))})),ra={premium:{label:"Premium",variant:"upsell"},woo:{label:"Woo SEO",variant:"info"},ai:{label:"AI+",variant:"ai"}},na=({type:e})=>React.createElement(n.Badge,{variant:ra[e].variant,size:"small",className:"yst-no-underline"},ra[e].label),oa=e=>React.createElement("svg",u({},e,{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),React.createElement("circle",{cx:"6.4",cy:"6.4",r:"6.4",fill:"currentColor"})),la=["premium","woo","ai"],ca=({title:t,duration:a,priority:s,badge:o,isCompleted:l,onClick:i,children:m})=>{const d=(0,n.useSvgAria)(),[p,,,y,g]=(0,n.useToggleState)(!1),h=(0,e.useMemo)((()=>p?"yst-bg-slate-50":"group-hover:yst-bg-slate-50"),[p]);return React.createElement(n.Table.Row,{className:"yst-cursor-pointer yst-group",onClick:i,"aria-label":(0,r.__)("Open task modal","wordpress-seo")},React.createElement(n.Table.Cell,{className:h},React.createElement("div",{className:"yst-flex yst-items-center yst-gap-2"},l?React.createElement(ea,u({className:"yst-w-4 yst-text-green-500 yst-shrink-0"},d)):React.createElement(oa,u({className:"yst-w-4 yst-text-slate-200 yst-shrink-0"},d)),React.createElement("button",{"aria-haspopup":"dialog",type:"button",className:c()("yst-font-medium focus:yst-outline-none focus-visible:yst-outline-none yst-text-start",l?"yst-text-slate-500":"yst-text-slate-800 hover:yst-text-slate-900",p?"yst-underline":"group-hover:yst-underline"),onFocus:y,onBlur:g},t,React.createElement("span",{className:"yst-sr-only"},l?(0,r.__)("(Completed)","wordpress-seo"):(0,r.__)("(Not completed)","wordpress-seo"))),la.includes(o)&&React.createElement(na,{type:o}))),React.createElement(n.Table.Cell,{className:c()(h,l?"yst-opacity-50":"")},React.createElement(Zt,{minutes:a})),React.createElement(n.Table.Cell,{className:c()("yst-pe-5",h)},React.createElement("div",{className:"yst-flex yst-justify-between"},React.createElement(Yt,{level:s,className:l?"yst-opacity-50":""}),React.createElement(sa,u({className:c()("yst-w-4 yst-text-slate-600 rtl:yst-rotate-180 yst-transition yst-duration-300 yst-ease-in-out yst-shrink-0",p?"yst-text-slate-800 yst-translate-x-2":"group-hover:yst-text-slate-800 group-hover:yst-translate-x-2")},d))),m))};ca.Loading=({title:e})=>{const t=(0,n.useSvgAria)();return React.createElement(n.Table.Row,null,React.createElement(n.Table.Cell,{className:"yst-font-medium yst-text-slate-800"},React.createElement("div",{className:"yst-flex yst-items-center yst-gap-2"},React.createElement(oa,u({className:"yst-w-4 yst-text-slate-200"},t)),React.createElement(n.SkeletonLoader,{className:"yst-h-[18px]"},e))),React.createElement(n.Table.Cell,null,React.createElement(Zt,{isLoading:!0})),React.createElement(n.Table.Cell,null,React.createElement("div",{className:"yst-flex yst-justify-between"},React.createElement(Yt,{isLoading:!0}),React.createElement(sa,u({className:"yst-w-4 yst-text-slate-600 rtl:yst-rotate-180"},t)))))};const ia=()=>React.createElement(React.Fragment,null,React.createElement(n.SkeletonLoader,{className:"yst-w-[184px] yst-h-1.5"}),React.createElement(n.SkeletonLoader,{className:"yst-w-9 yst-h-5"})),ma=()=>React.createElement(React.Fragment,null,React.createElement("div",{className:"yst-w-[184px] yst-h-1.5 yst-bg-slate-200 yst-rounded"}),React.createElement("span",{className:"yst-w-9 yst-h-5 yst-bg-slate-200 yst-rounded"})),da=({children:e})=>React.createElement("div",null,React.createElement(n.Title,{as:"h2",className:"yst-text-lg yst-font-medium yst-text-slate-900 yst-mb-2"},(0,r.__)("Tasks","wordpress-seo")),React.createElement("div",{className:"yst-flex yst-gap-3 yst-items-center"},e)),ua=({completedTasks:e,totalTasks:t,isLoading:a})=>{if(a)return React.createElement(da,null,React.createElement(ia,null));if(!t||e>t)return React.createElement(da,null,React.createElement(ma,null));const s=(0,r.sprintf)(/* translators: %1$d expands to the number of completed tasks, %2$d expands to the total number of tasks. */ (0,r.__)("%1$d out of %2$d tasks completed","wordpress-seo"),e,t);return React.createElement(da,null,React.createElement(n.ProgressBar,{label:(0,r.__)("Tasks Progress","wordpress-seo"),progress:e,min:0,max:t,className:"yst-w-[184px] yst-h-1.5",progressClassName:"yst-bg-green-500"}),React.createElement("span",{className:"yst-sr-only"},s),React.createElement("span",{className:"yst-text-tiny yst-font-medium yst-leading-5"},React.createElement("span",{className:"yst-text-slate-600"},e),React.createElement("span",{className:"yst-text-slate-500"},"/",t)))},pa=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),ya=e.forwardRef((function(t,a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))})),ga=({message:e})=>{const t=(0,o.useCallback)((()=>{window.location.reload()}),[]);return(0,o.useEffect)((()=>{e&&console.error("Error fetching tasks:",e)}),[e]),React.createElement(n.Table.Row,null,React.createElement(n.Table.Cell,{colSpan:3,className:"yst-text-center lg:yst-py-[155px] yst-py-10"},React.createElement("div",{className:"yst-flex yst-justify-center yst-items-center yst-flex-col yst-max-w-[300px] yst-m-auto"},React.createElement("div",{className:"yst-rounded-full yst-bg-red-100 yst-p-2 yst-w-12 yst-h-12 yst-flex yst-items-center yst-justify-center yst-mb-4 yst-m-auto"},React.createElement(pa,{className:"yst-h-7 yst-w-7 yst-text-red-600"})),React.createElement(n.Title,{className:"yst-mb-2",size:"2",as:"h3"},(0,r.__)("Oops! Something went wrong","wordpress-seo")),React.createElement("p",null,(0,r.__)("Please refresh the page. If the issue continues, our support team is here to help!","wordpress-seo")),React.createElement(n.Button,{className:"yst-mt-6 yst-ps-2 yst-flex yst-items-center yst-gap-1.5",onClick:t},React.createElement(ya,{className:"yst-w-4 yst-h-4"}),(0,r.__)("Refresh Page","wordpress-seo")))))},ha="taskList",fa="completeTask",Ea=(0,C.createSlice)({name:ha,initialState:{enabled:!1,tasks:{},endpoints:{completeTask:"",getTasks:""},nonce:""},reducers:{setTasks(e,{payload:t}){(0,L.keys)(t).forEach((e=>{t[e].status=He,t[e].error=null,t[e].badge=null})),e.tasks=t},setTaskCompleted(e,{payload:t}){e.tasks[t]&&(e.tasks[t].isCompleted=!0)},resetTaskError(e,{payload:t}){e.tasks[t]&&e.tasks[t].status===Ge&&(e.tasks[t].error=null,e.tasks[t].status=He)}},extraReducers:e=>{e.addCase(`${fa}/${Ve}`,((e,{payload:{id:t}})=>{e.tasks[t].status="loading"})),e.addCase(`${fa}/${Qe}`,((e,{payload:{id:t}})=>{e.tasks[t].status="success",e.tasks[t].error=null,e.tasks[t].isCompleted=!0})),e.addCase(`${fa}/${qe}`,((e,{payload:{error:t,id:a}})=>{e.tasks[a].status=Ge,e.tasks[a].error=t.message}))}}),wa=Ea.getInitialState,Ra={selectIsTaskListEnabled:e=>(0,L.get)(e,[ha,"enabled"],!1),selectTasks:e=>(0,L.get)(e,[ha,"tasks"],{}),selectTaskStatus:(e,t)=>(0,L.get)(e,[ha,"tasks",t,"status"],He),selectTaskError:(e,t)=>(0,L.get)(e,[ha,"tasks",t,"error"],null),selectTasksEndpoints:e=>(0,L.get)(e,[ha,"endpoints"],{}),selectNonce:e=>(0,L.get)(e,[ha,"nonce"],""),selectIsTaskCompleted:(e,t)=>(0,L.get)(e,[ha,"tasks",t,"isCompleted"],null)},va={...Ea.actions,completeTask:function*(e,t,a){yield{type:`${fa}/${Ve}`,payload:{id:e}};try{const s=yield{type:fa,payload:{id:e,nonce:a,endpoint:t}};if(!s.success)throw new Error(s.error);return{type:`${fa}/${Qe}`,payload:{id:e}}}catch(t){return{type:`${fa}/${qe}`,payload:{error:t,id:e}}}}},ba={[fa]:async({payload:e})=>{const t=new URLSearchParams({"options[task]":e.id}),a=`${e.endpoint}?${t.toString()}`;try{const t=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":e.nonce}});return await t.json()}catch(e){return e}}},ka=Ea.reducer})(),(window.yoast=window.yoast||{}).dashboardFrontend=s})(); dist/externals/jed.js 0000644 00000040104 15174677550 0010634 0 ustar 00 (()=>{var t={42353:function(t,e){!function(r,n){var i=Array.prototype,s=Object.prototype,o=i.slice,l=s.hasOwnProperty,a=i.forEach,h={},c={forEach:function(t,e,r){var n,i,s;if(null!==t)if(a&&t.forEach===a)t.forEach(e,r);else if(t.length===+t.length){for(n=0,i=t.length;n<i;n++)if(n in t&&e.call(r,t[n],n,t)===h)return}else for(s in t)if(l.call(t,s)&&e.call(r,t[s],s,t)===h)return},extend:function(t){return this.forEach(o.call(arguments,1),(function(e){for(var r in e)t[r]=e[r]})),t}},u=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+t.domain+"`")};function p(t){return u.PF.compile(t||"nplurals=2; plural=(n != 1);")}function f(t,e){this._key=t,this._i18n=e}u.context_delimiter=String.fromCharCode(4),c.extend(f.prototype,{onDomain:function(t){return this._domain=t,this},withContext:function(t){return this._context=t,this},ifPlural:function(t,e){return this._val=t,this._pkey=e,this},fetch:function(t){return"[object Array]"!={}.toString.call(t)&&(t=[].slice.call(arguments,0)),(t&&t.length?u.sprintf:function(t){return t})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),t)}}),c.extend(u.prototype,{translate:function(t){return new f(t,this)},textdomain:function(t){if(!t)return this._textdomain;this._textdomain=t},gettext:function(t){return this.dcnpgettext.call(this,n,n,t)},dgettext:function(t,e){return this.dcnpgettext.call(this,t,n,e)},dcgettext:function(t,e){return this.dcnpgettext.call(this,t,n,e)},ngettext:function(t,e,r){return this.dcnpgettext.call(this,n,n,t,e,r)},dngettext:function(t,e,r,i){return this.dcnpgettext.call(this,t,n,e,r,i)},dcngettext:function(t,e,r,i){return this.dcnpgettext.call(this,t,n,e,r,i)},pgettext:function(t,e){return this.dcnpgettext.call(this,n,t,e)},dpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},dcpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},npgettext:function(t,e,r,i){return this.dcnpgettext.call(this,n,t,e,r,i)},dnpgettext:function(t,e,r,n,i){return this.dcnpgettext.call(this,t,e,r,n,i)},dcnpgettext:function(t,e,r,n,i){var s;if(n=n||r,t=t||this._textdomain,!this.options)return(s=new u).dcnpgettext.call(s,void 0,void 0,r,n,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[t])throw new Error("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])throw new Error("No locale meta information provided.");if(!r)throw new Error("No translation key found.");var o,l,a,h=e?e+u.context_delimiter+r:r,c=this.options.locale_data,f=c[t],g=(c.messages||this.defaults.locale_data.messages)[""],y=f[""].plural_forms||f[""]["Plural-Forms"]||f[""]["plural-forms"]||g.plural_forms||g["Plural-Forms"]||g["plural-forms"];if(void 0===i)a=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");a=p(y)(i)}if(!f)throw new Error("No domain named `"+t+"` could be found.");return!(o=f[h])||a>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(h,t),l=[r,n],!0===this.options.debug&&console.log(l[p(y)(i)]),l[p()(i)]):(l=o[a])||(l=[r,n])[p()(i)]}});var g,y=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var r=[];e>0;r[--e]=t);return r.join("")}var r=function(){return r.cache.hasOwnProperty(arguments[0])||(r.cache[arguments[0]]=r.parse(arguments[0])),r.format.call(null,r.cache[arguments[0]],arguments)};return r.format=function(r,n){var i,s,o,l,a,h,c,u=1,p=r.length,f="",g=[];for(s=0;s<p;s++)if("string"===(f=t(r[s])))g.push(r[s]);else if("array"===f){if((l=r[s])[2])for(i=n[u],o=0;o<l[2].length;o++){if(!i.hasOwnProperty(l[2][o]))throw y('[sprintf] property "%s" does not exist',l[2][o]);i=i[l[2][o]]}else i=l[1]?n[l[1]]:n[u++];if(/[^s]/.test(l[8])&&"number"!=t(i))throw y("[sprintf] expecting number but found %s",t(i));switch(null==i&&(i=""),l[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=l[7]?i.toExponential(l[7]):i.toExponential();break;case"f":i=l[7]?parseFloat(i).toFixed(l[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&l[7]?i.substring(0,l[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(l[8])&&l[3]&&i>=0?"+"+i:i,h=l[4]?"0"==l[4]?"0":l[4].charAt(1):" ",c=l[6]-String(i).length,a=l[6]?e(h,c):"",g.push(l[5]?i+a:a+i)}return g.join("")},r.cache={},r.parse=function(t){for(var e=t,r=[],n=[],i=0;e;){if(null!==(r=/^[^\x25]+/.exec(e)))n.push(r[0]);else if(null!==(r=/^\x25{2}/.exec(e)))n.push("%");else{if(null===(r=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(r[2]){i|=1;var s=[],o=r[2],l=[];if(null===(l=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(s.push(l[1]);""!==(o=o.substring(l[0].length));)if(null!==(l=/^\.([a-z_][a-z_\d]*)/i.exec(o)))s.push(l[1]);else{if(null===(l=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";s.push(l[1])}r[2]=s}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";n.push(r)}e=e.substring(r[0].length)}return n},r}();u.parse_plural=function(t,e){return t=t.replace(/n/g,e),u.parse_expression(t)},u.sprintf=function(t,e){return"[object Array]"=={}.toString.call(e)?function(t,e){return e.unshift(t),y.apply(null,e)}(t,[].slice.call(e)):y.apply(this,[].slice.call(arguments))},u.prototype.sprintf=function(){return u.sprintf.apply(this,arguments)},(u.PF={}).parse=function(t){var e=u.PF.extractPluralExpr(t);return u.PF.parser.parse.call(u.PF.parser,e)},u.PF.compile=function(t){var e=u.PF.parse(t);return function(t){return!0===(r=u.PF.interpreter(e)(t))?1:r||0;var r}},u.PF.interpreter=function(t){return function(e){switch(t.type){case"GROUP":return u.PF.interpreter(t.expr)(e);case"TERNARY":return u.PF.interpreter(t.expr)(e)?u.PF.interpreter(t.truthy)(e):u.PF.interpreter(t.falsey)(e);case"OR":return u.PF.interpreter(t.left)(e)||u.PF.interpreter(t.right)(e);case"AND":return u.PF.interpreter(t.left)(e)&&u.PF.interpreter(t.right)(e);case"LT":return u.PF.interpreter(t.left)(e)<u.PF.interpreter(t.right)(e);case"GT":return u.PF.interpreter(t.left)(e)>u.PF.interpreter(t.right)(e);case"LTE":return u.PF.interpreter(t.left)(e)<=u.PF.interpreter(t.right)(e);case"GTE":return u.PF.interpreter(t.left)(e)>=u.PF.interpreter(t.right)(e);case"EQ":return u.PF.interpreter(t.left)(e)==u.PF.interpreter(t.right)(e);case"NEQ":return u.PF.interpreter(t.left)(e)!=u.PF.interpreter(t.right)(e);case"MOD":return u.PF.interpreter(t.left)(e)%u.PF.interpreter(t.right)(e);case"VAR":return e;case"NUM":return t.val;default:throw new Error("Invalid Token found.")}}},u.PF.extractPluralExpr=function(t){t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(t)||(t=t.concat(";"));var e,r=/nplurals\=(\d+);/,n=t.match(r);if(!(n.length>1))throw new Error("nplurals not found in plural_forms string: "+t);if(n[1],!((e=(t=t.replace(r,"")).match(/plural\=(.*);/))&&e.length>1))throw new Error("`plural` expression not found: "+t);return e[1]},u.PF.parser=((g={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(t,e,r,n,i,s,o){var l=s.length-1;switch(i){case 1:return{type:"GROUP",expr:s[l-1]};case 2:this.$={type:"TERNARY",expr:s[l-4],truthy:s[l-2],falsey:s[l]};break;case 3:this.$={type:"OR",left:s[l-2],right:s[l]};break;case 4:this.$={type:"AND",left:s[l-2],right:s[l]};break;case 5:this.$={type:"LT",left:s[l-2],right:s[l]};break;case 6:this.$={type:"LTE",left:s[l-2],right:s[l]};break;case 7:this.$={type:"GT",left:s[l-2],right:s[l]};break;case 8:this.$={type:"GTE",left:s[l-2],right:s[l]};break;case 9:this.$={type:"NEQ",left:s[l-2],right:s[l]};break;case 10:this.$={type:"EQ",left:s[l-2],right:s[l]};break;case 11:this.$={type:"MOD",left:s[l-2],right:s[l]};break;case 12:this.$={type:"GROUP",expr:s[l-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(t)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,r=[0],n=[null],i=[],s=this.table,o="",l=0,a=0,h=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function u(){var t;return"number"!=typeof(t=e.lexer.lex()||1)&&(t=e.symbols_[t]||t),t}i.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,f,g,y,d,x,m,_,b,w={};;){if(g=r[r.length-1],this.defaultActions[g]?y=this.defaultActions[g]:(null==p&&(p=u()),y=s[g]&&s[g][p]),void 0===y||!y.length||!y[0]){if(!h){for(x in b=[],s[g])this.terminals_[x]&&x>2&&b.push("'"+this.terminals_[x]+"'");var P="";P=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+this.terminals_[p]+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(P,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:b})}if(3==h){if(1==p)throw new Error(P||"Parsing halted.");a=this.lexer.yyleng,o=this.lexer.yytext,l=this.lexer.yylineno,c=this.lexer.yylloc,p=u()}for(;!(2..toString()in s[g]);){if(0==g)throw new Error(P||"Parsing halted.");1,r.length=r.length-2,n.length=n.length-1,i.length=i.length-1,g=r[r.length-1]}f=p,p=2,y=s[g=r[r.length-1]]&&s[g][2],h=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+p);switch(y[0]){case 1:r.push(p),n.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(y[1]),p=null,f?(p=f,f=null):(a=this.lexer.yyleng,o=this.lexer.yytext,l=this.lexer.yylineno,c=this.lexer.yylloc,h>0&&h--);break;case 2:if(m=this.productions_[y[1]][1],w.$=n[n.length-m],w._$={first_line:i[i.length-(m||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(m||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(d=this.performAction.call(w,o,a,l,this.yy,y[1],n,i)))return d;m&&(r=r.slice(0,-1*m*2),n=n.slice(0,-1*m),i=i.slice(0,-1*m)),r.push(this.productions_[y[1]][0]),n.push(w.$),i.push(w._$),_=s[r[r.length-2]][r[r.length-1]],r.push(_);break;case 3:return!0}}return!0}}).lexer={EOF:1,parseError:function(t,e){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.match+=t,this.matched+=t,t.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),t},unput:function(t){return this._input=t+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),n=0;n<r.length;n++)if(t=this._input.match(this.rules[r[n]]))return(e=t[0].match(/\n.*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],this.performAction.call(this,this.yy,this,r[n],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},performAction:function(t,e,r,n){switch(r){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}},g),t.exports&&(e=t.exports=u),e.Jed=u}()}},e={},r=function r(n){var i=e[n];if(void 0!==i)return i.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,r),s.exports}(42353);(window.yoast=window.yoast||{}).jed=r})(); dist/externals/redux.js 0000644 00000013100 15174677550 0011215 0 ustar 00 (()=>{"use strict";var e={67121:(e,t,n)=>{n.d(t,{Z:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{applyMiddleware:()=>p,bindActionCreators:()=>f,combineReducers:()=>c,compose:()=>s,createStore:()=>u});const e=window.lodash.isPlainObject;var t=n.n(e),o=n(67121),i={INIT:"@@redux/INIT"};function u(e,n,r){var a;if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(e,n)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,d=n,f=[],s=f,l=!1;function p(){s===f&&(s=f.slice())}function y(){return d}function h(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return p(),s.push(e),function(){if(t){t=!1,p();var n=s.indexOf(e);s.splice(n,1)}}}function v(e){if(!t()(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,d=c(d,e)}finally{l=!1}for(var n=f=s,r=0;r<n.length;r++)(0,n[r])();return e}return v({type:i.INIT}),(a={dispatch:v,subscribe:h,getState:y,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,v({type:i.INIT})}})[o.Z]=function(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(y())}return n(),{unsubscribe:t(n)}}})[o.Z]=function(){return this},e},a}function a(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var u=Object.keys(n),c=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){c=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(c)throw c;for(var r=!1,o={},i=0;i<u.length;i++){var d=u[i],f=n[d],s=e[d],l=f(s,t);if(void 0===l){var p=a(d,t);throw new Error(p)}o[d]=l,r=r||l!==s}return r?o:e}}function d(e,t){return function(){return t(e.apply(void 0,arguments))}}function f(e,t){if("function"==typeof e)return d(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o],u=e[i];"function"==typeof u&&(r[i]=d(u,t))}return r}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i,u=e(n,r,o),a=u.dispatch,c={getState:u.getState,dispatch:function(e){return a(e)}};return i=t.map((function(e){return e(c)})),a=s.apply(void 0,i)(u.dispatch),l({},u,{dispatch:a})}}}})(),(window.yoast=window.yoast||{}).redux=r})(); dist/externals/chart.js.js 0000644 00000610524 15174677550 0011617 0 ustar 00 (()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){return t+.5|0}t.r(e),t.d(e,{Animation:()=>wi,Animations:()=>ki,ArcElement:()=>Dn,BarController:()=>Yi,BarElement:()=>jn,BasePlatform:()=>vs,BasicPlatform:()=>Ms,BubbleController:()=>Ui,CategoryScale:()=>Ho,Chart:()=>wn,Colors:()=>Gn,DatasetController:()=>zi,Decimation:()=>Qn,DomPlatform:()=>Fs,DoughnutController:()=>Xi,Element:()=>Bs,Filler:()=>mo,Interaction:()=>ls,Legend:()=>yo,LineController:()=>qi,LineElement:()=>In,LinearScale:()=>Yo,LogarithmicScale:()=>Go,PieController:()=>Gi,PointElement:()=>Fn,PolarAreaController:()=>Ki,RadarController:()=>Zi,RadialLinearScale:()=>sa,Scale:()=>qs,ScatterController:()=>Ji,SubTitle:()=>ko,Ticks:()=>Gt,TimeScale:()=>da,TimeSeriesScale:()=>fa,Title:()=>Mo,Tooltip:()=>Bo,_adapters:()=>is,_detectPlatform:()=>Vs,animator:()=>yi,controllers:()=>Qi,defaults:()=>ie,elements:()=>$n,layouts:()=>ys,plugins:()=>Wo,registerables:()=>pa,registry:()=>Zs,scales:()=>ga});const s=(t,e,i)=>Math.max(Math.min(t,i),e);function n(t){return s(i(2.55*t),0,255)}function o(t){return s(i(255*t),0,255)}function a(t){return s(i(t/2.55)/100,0,1)}function r(t){return s(i(100*t),0,100)}const l={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},h=[..."0123456789ABCDEF"],c=t=>h[15&t],d=t=>h[(240&t)>>4]+h[15&t],u=t=>(240&t)>>4==(15&t);const f=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function g(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function p(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function m(t,e,i){const s=g(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function b(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function x(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(o)}function _(t,e,i){return x(g,t,e,i)}function y(t){return(t%360+360)%360}const v={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},M={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let w;const k=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,S=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,P=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function D(t,e,i){if(t){let s=b(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=_(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function C(t,e){return t?Object.assign(e||{},t):t}function O(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=o(t[3]))):(e=C(t,{r:0,g:0,b:0,a:1})).a=o(e.a),e}function A(t){return"r"===t.charAt(0)?function(t){const e=k.exec(t);let i,o,a,r=255;if(e){if(e[7]!==i){const t=+e[7];r=e[8]?n(t):s(255*t,0,255)}return i=+e[1],o=+e[3],a=+e[5],i=255&(e[2]?n(i):s(i,0,255)),o=255&(e[4]?n(o):s(o,0,255)),a=255&(e[6]?n(a):s(a,0,255)),{r:i,g:o,b:a,a:r}}}(t):function(t){const e=f.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?n(+e[5]):o(+e[5]));const a=y(+e[2]),r=+e[3]/100,l=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return x(m,t,e,i)}(a,r,l):"hsv"===e[1]?function(t,e,i){return x(p,t,e,i)}(a,r,l):_(a,r,l),{r:i[0],g:i[1],b:i[2],a:s}}(t)}class T{constructor(t){if(t instanceof T)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=O(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*l[s[1]],g:255&17*l[s[2]],b:255&17*l[s[3]],a:5===o?17*l[s[4]]:255}:7!==o&&9!==o||(n={r:l[s[1]]<<4|l[s[2]],g:l[s[3]]<<4|l[s[4]],b:l[s[5]]<<4|l[s[6]],a:9===o?l[s[7]]<<4|l[s[8]]:255})),i=n||function(t){w||(w=function(){const t={},e=Object.keys(M),i=Object.keys(v);let s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<i.length;n++)o=i[n],r=r.replace(o,v[o]);o=parseInt(M[a],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),w.transparent=[0,0,0,0]);const e=w[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||A(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=C(this._rgb);return t&&(t.a=a(t.a)),t}set rgb(t){this._rgb=O(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${a(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?(t=this._rgb,e=(t=>u(t.r)&&u(t.g)&&u(t.b)&&u(t.a))(t)?c:d,t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0):void 0;var t,e}hslString(){return this._valid?function(t){if(!t)return;const e=b(t),i=e[0],s=r(e[1]),n=r(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${a(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=P(a(t.r)),n=P(a(t.g)),r=P(a(t.b));return{r:o(S(s+i*(P(a(e.r))-s))),g:o(S(n+i*(P(a(e.g))-n))),b:o(S(r+i*(P(a(e.b))-r))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new T(this.rgb)}alpha(t){return this._rgb.a=o(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=i(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return D(this._rgb,2,t),this}darken(t){return D(this._rgb,2,-t),this}saturate(t){return D(this._rgb,1,t),this}desaturate(t){return D(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=b(t);i[0]=y(i[0]+e),i=_(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function L(){}const E=(()=>{let t=0;return()=>t++})();function R(t){return null==t}function I(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function z(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function F(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function V(t,e){return F(t)?t:e}function B(t,e){return void 0===t?e:t}const W=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function N(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function H(t,e,i,s){let n,o,a;if(I(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(z(t))for(a=Object.keys(t),o=a.length,n=0;n<o;n++)e.call(i,t[a[n]],a[n])}function j(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function $(t){if(I(t))return t.map($);if(z(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=$(t[i[n]]);return e}return t}function Y(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function U(t,e,i,s){if(!Y(t))return;const n=e[t],o=i[t];z(n)&&z(o)?X(n,o,s):e[t]=$(o)}function X(t,e,i){const s=I(e)?e:[e],n=s.length;if(!z(t))return t;const o=(i=i||{}).merger||U;let a;for(let e=0;e<n;++e){if(a=s[e],!z(a))continue;const n=Object.keys(a);for(let e=0,s=n.length;e<s;++e)o(n[e],t,a,i)}return t}function q(t,e){return X(t,e,{merger:K})}function K(t,e,i){if(!Y(t))return;const s=e[t],n=i[t];z(s)&&z(n)?q(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=$(n))}const G={"":t=>t,x:t=>t.x,y:t=>t.y};function Z(t,e){const i=G[e]||(G[e]=function(t){const e=function(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function J(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Q=t=>void 0!==t,tt=t=>"function"==typeof t,et=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},it=Math.PI,st=2*it,nt=st+it,ot=Number.POSITIVE_INFINITY,at=it/180,rt=it/2,lt=it/4,ht=2*it/3,ct=Math.log10,dt=Math.sign;function ut(t,e,i){return Math.abs(t-e)<i}function ft(t){const e=Math.round(t);t=ut(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(ct(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function gt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function pt(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function mt(t){return t*(it/180)}function bt(t){return t*(180/it)}function xt(t){if(!F(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function _t(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*it&&(o+=st),{angle:o,distance:n}}function yt(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function vt(t,e){return(t-e+nt)%st-it}function Mt(t){return(t%st+st)%st}function wt(t,e,i,s){const n=Mt(t),o=Mt(e),a=Mt(i),r=Mt(o-n),l=Mt(a-n),h=Mt(n-o),c=Mt(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function kt(t,e,i){return Math.max(e,Math.min(i,t))}function St(t,e,i,s=1e-6){return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Pt(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const Dt=(t,e,i,s)=>Pt(t,i,s?s=>{const n=t[s][e];return n<i||n===i&&t[s+1][e]===i}:s=>t[s][e]<i),Ct=(t,e,i)=>Pt(t,i,(s=>t[s][e]>=i)),Ot=["push","pop","shift","splice","unshift"];function At(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(Ot.forEach((e=>{delete t[e]})),delete t._chartjs)}function Tt(t){const e=new Set;let i,s;for(i=0,s=t.length;i<s;++i)e.add(t[i]);return e.size===s?t:Array.from(e)}const Lt="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function Et(t,e){let i=[],s=!1;return function(...n){i=n,s||(s=!0,Lt.call(window,(()=>{s=!1,t.apply(e,i)})))}}const Rt=t=>"start"===t?"left":"end"===t?"right":"center",It=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2;function zt(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,l=a.axis,{min:h,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=kt(Math.min(Dt(r,a.axis,h).lo,i?s:Dt(e,l,a.getPixelForValue(h)).lo),0,s-1)),o=u?kt(Math.max(Dt(r,a.axis,c,!0).hi+1,i?0:Dt(e,l,a.getPixelForValue(c),!0).hi+1),n,s)-n:s-n}return{start:n,count:o}}function Ft(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}const Vt=t=>0===t||1===t,Bt=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*st/i),Wt=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*st/i)+1,Nt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*rt),easeOutSine:t=>Math.sin(t*rt),easeInOutSine:t=>-.5*(Math.cos(it*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Vt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Vt(t)?t:Bt(t,.075,.3),easeOutElastic:t=>Vt(t)?t:Wt(t,.075,.3),easeInOutElastic(t){const e=.1125;return Vt(t)?t:t<.5?.5*Bt(2*t,e,.45):.5+.5*Wt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Nt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Nt.easeInBounce(2*t):.5*Nt.easeOutBounce(2*t-1)+.5};function Ht(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function jt(t){return Ht(t)?t:new T(t)}function $t(t){return Ht(t)?t:new T(t).saturate(.5).darken(.1).hexString()}const Yt=["x","y","borderWidth","radius","tension"],Ut=["color","borderColor","backgroundColor"],Xt=new Map;function qt(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=Xt.get(i);return s||(s=new Intl.NumberFormat(t,e),Xt.set(i,s)),s}(e,i).format(t)}const Kt={values:t=>I(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const a=ct(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),qt(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=i[e].significand||t/Math.pow(10,Math.floor(ct(t)));return[1,2,3,5,10,15].includes(s)||e>.8*i.length?Kt.numeric.call(this,t,e,i):""}};var Gt={formatters:Kt};const Zt=Object.create(null),Jt=Object.create(null);function Qt(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;e<s;++e){const s=i[e];t=t[s]||(t[s]=Object.create(null))}return t}function te(t,e,i){return"string"==typeof e?X(Qt(t,e),i):X(Qt(t,""),e)}class ee{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>$t(e.backgroundColor),this.hoverBorderColor=(t,e)=>$t(e.borderColor),this.hoverColor=(t,e)=>$t(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return te(this,t,e)}get(t){return Qt(this,t)}describe(t,e){return te(Jt,t,e)}override(t,e){return te(Zt,t,e)}route(t,e,i,s){const n=Qt(this,t),o=Qt(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return z(t)?Object.assign({},e,t):B(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ie=new ee({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Ut},numbers:{type:"number",properties:Yt}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Gt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function se(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function ne(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;l<r;l++)if(d=i[l],null!=d&&!0!==I(d))a=se(t,n,o,a,d);else if(I(d))for(h=0,c=d.length;h<c;h++)u=d[h],null==u||I(u)||(a=se(t,n,o,a,u));t.restore();const f=o.length/2;if(f>i.length){for(l=0;l<f;l++)delete n[o[l]];o.splice(0,f)}return a}function oe(t,e,i){const s=t.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((e-n)*s)/s+n}function ae(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function re(t,e,i,s){le(t,e,i,s,null)}function le(t,e,i,s,n){let o,a,r,l,h,c,d,u;const f=e.pointStyle,g=e.rotation,p=e.radius;let m=(g||0)*at;if(f&&"object"==typeof f&&(o=f.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(i,s),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(p)||p<=0)){switch(t.beginPath(),f){default:n?t.ellipse(i,s,n/2,p,0,0,st):t.arc(i,s,p,0,st),t.closePath();break;case"triangle":c=n?n/2:p,t.moveTo(i+Math.sin(m)*c,s-Math.cos(m)*p),m+=ht,t.lineTo(i+Math.sin(m)*c,s-Math.cos(m)*p),m+=ht,t.lineTo(i+Math.sin(m)*c,s-Math.cos(m)*p),t.closePath();break;case"rectRounded":h=.516*p,l=p-h,a=Math.cos(m+lt)*l,d=Math.cos(m+lt)*(n?n/2-h:l),r=Math.sin(m+lt)*l,u=Math.sin(m+lt)*(n?n/2-h:l),t.arc(i-d,s-r,h,m-it,m-rt),t.arc(i+u,s-a,h,m-rt,m),t.arc(i+d,s+r,h,m,m+rt),t.arc(i-u,s+a,h,m+rt,m+it),t.closePath();break;case"rect":if(!g){l=Math.SQRT1_2*p,c=n?n/2:l,t.rect(i-c,s-l,2*c,2*l);break}m+=lt;case"rectRot":d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),t.moveTo(i-d,s-r),t.lineTo(i+u,s-a),t.lineTo(i+d,s+r),t.lineTo(i-u,s+a),t.closePath();break;case"crossRot":m+=lt;case"cross":d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),t.moveTo(i-d,s-r),t.lineTo(i+d,s+r),t.moveTo(i+u,s-a),t.lineTo(i-u,s+a);break;case"star":d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),t.moveTo(i-d,s-r),t.lineTo(i+d,s+r),t.moveTo(i+u,s-a),t.lineTo(i-u,s+a),m+=lt,d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),t.moveTo(i-d,s-r),t.lineTo(i+d,s+r),t.moveTo(i+u,s-a),t.lineTo(i-u,s+a);break;case"line":a=n?n/2:Math.cos(m)*p,r=Math.sin(m)*p,t.moveTo(i-a,s-r),t.lineTo(i+a,s+r);break;case"dash":t.moveTo(i,s),t.lineTo(i+Math.cos(m)*(n?n/2:p),s+Math.sin(m)*p);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function he(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function ce(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function de(t){t.restore()}function ue(t,e,i,s,n){if(!e)return t.lineTo(i.x,i.y);if("middle"===n){const s=(e.x+i.x)/2;t.lineTo(s,e.y),t.lineTo(s,i.y)}else"after"===n!=!!s?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function fe(t,e,i,s){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(s?e.cp1x:e.cp2x,s?e.cp1y:e.cp2y,s?i.cp2x:i.cp1x,s?i.cp2y:i.cp1y,i.x,i.y)}function ge(t,e,i,s,n,o={}){const a=I(e)?e:[e],r=o.strokeWidth>0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),R(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l<a.length;++l)h=a[l],o.backdrop&&me(t,o.backdrop),r&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),R(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,i,s,o.maxWidth)),t.fillText(h,i,s,o.maxWidth),pe(t,i,s,h,o),s+=n.lineHeight;t.restore()}function pe(t,e,i,s,n){if(n.strikethrough||n.underline){const o=t.measureText(s),a=e-o.actualBoundingBoxLeft,r=e+o.actualBoundingBoxRight,l=i-o.actualBoundingBoxAscent,h=i+o.actualBoundingBoxDescent,c=n.strikethrough?(l+h)/2:h;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=n.decorationWidth||2,t.moveTo(a,c),t.lineTo(r,c),t.stroke()}}function me(t,e){const i=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=i}function be(t,e){const{x:i,y:s,w:n,h:o,radius:a}=e;t.arc(i+a.topLeft,s+a.topLeft,a.topLeft,-rt,it,!0),t.lineTo(i,s+o-a.bottomLeft),t.arc(i+a.bottomLeft,s+o-a.bottomLeft,a.bottomLeft,it,rt,!0),t.lineTo(i+n-a.bottomRight,s+o),t.arc(i+n-a.bottomRight,s+o-a.bottomRight,a.bottomRight,rt,0,!0),t.lineTo(i+n,s+a.topRight),t.arc(i+n-a.topRight,s+a.topRight,a.topRight,0,-rt,!0),t.lineTo(i+a.topLeft,s)}const xe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,_e=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function ye(t,e){const i=(""+t).match(xe);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}const ve=t=>+t||0;function Me(t,e){const i={},s=z(e),n=s?Object.keys(e):e,o=z(t)?s?i=>B(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=ve(o(t));return i}function we(t){return Me(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ke(t){return Me(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Se(t){const e=we(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Pe(t,e){t=t||{},e=e||ie.font;let i=B(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=B(t.style,e.style);s&&!(""+s).match(_e)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:B(t.family,e.family),lineHeight:ye(B(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:B(t.weight,e.weight),string:""};return n.string=function(t){return!t||R(t.size)||R(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n}function De(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;n<o;++n)if(a=t[n],void 0!==a&&(void 0!==e&&"function"==typeof a&&(a=a(e),r=!1),void 0!==i&&I(a)&&(a=a[i%a.length],r=!1),void 0!==a))return s&&!r&&(s.cacheable=!1),a}function Ce(t,e){return Object.assign(Object.create(t),e)}function Oe(t,e=[""],i=t,s,n=(()=>t[0])){Q(s)||(s=We("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>Oe([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Re(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=We(Le(o,t),i),Q(n))return Ee(t,n)?Ve(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ne(t).includes(e),ownKeys:t=>Ne(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Ae(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Te(t,s),setContext:e=>Ae(t,e,i,s),override:n=>Ae(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Re(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];return tt(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);return r.add(t),e=e(o,a||s),r.delete(t),Ee(t,e)&&(e=Ve(n._scopes,n,t,e)),e}(e,r,t,i)),I(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(Q(o.index)&&s(t))e=e[o.index%e.length];else if(z(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Ve(s,n,t,l);e.push(Ae(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable)),Ee(e,r)&&(r=Ae(r,n,o&&o[e],a)),r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Te(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:tt(i)?i:()=>i,isIndexable:tt(s)?s:()=>s}}const Le=(t,e)=>t?t+J(e):e,Ee=(t,e)=>z(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Re(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function Ie(t,e,i){return tt(t)?t(e,i):t}const ze=(t,e)=>!0===t?e:"string"==typeof t?Z(e,t):void 0;function Fe(t,e,i,s,n){for(const o of e){const e=ze(i,o);if(e){t.add(e);const o=Ie(e._fallback,i,n);if(Q(o)&&o!==i&&o!==s)return o}else if(!1===e&&Q(s)&&i!==s)return null}return!1}function Ve(t,e,i,s){const n=e._rootScopes,o=Ie(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=Be(r,a,i,o||i,s);return null!==l&&(!Q(o)||o===i||(l=Be(r,a,o,l,s),null!==l))&&Oe(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];return I(n)&&z(i)?i:n||{}}(e,i,s)))}function Be(t,e,i,s,n){for(;i;)i=Fe(t,e,i,s,n);return i}function We(t,e){for(const i of e){if(!i)continue;const e=i[t];if(Q(e))return e}}function Ne(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function He(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={r:n.parse(Z(c,o),h)};return a}const je=Number.EPSILON||1e-14,$e=(t,e)=>e<t.length&&!t[e].skip&&t[e],Ye=t=>"x"===t?"y":"x";function Ue(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=yt(o,n),l=yt(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function Xe(t,e,i){return Math.max(Math.min(t,i),e)}function qe(t,e,i,s,n){let o,a,r,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){const i=Ye(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=$e(t,0);for(a=0;a<s;++a)if(r=l,l=h,h=$e(t,a+1),l){if(h){const t=h[e]-l[e];n[a]=0!==t?(h[i]-l[i])/t:0}o[a]=r?h?dt(n[a-1])!==dt(n[a])?0:(n[a-1]+n[a])/2:n[a-1]:n[a]}!function(t,e,i){const s=t.length;let n,o,a,r,l,h=$e(t,0);for(let c=0;c<s-1;++c)l=h,h=$e(t,c+1),l&&h&&(ut(e[c],0,je)?i[c]=i[c+1]=0:(n=i[c]/e[c],o=i[c+1]/e[c],r=Math.pow(n,2)+Math.pow(o,2),r<=9||(a=3/Math.sqrt(r),i[c]=n*a*e[c],i[c+1]=o*a*e[c])))}(t,n,o),function(t,e,i="x"){const s=Ye(i),n=t.length;let o,a,r,l=$e(t,0);for(let h=0;h<n;++h){if(a=r,r=l,l=$e(t,h+1),!r)continue;const n=r[i],c=r[s];a&&(o=(n-a[i])/3,r[`cp1${i}`]=n-o,r[`cp1${s}`]=c-o*e[h]),l&&(o=(l[i]-n)/3,r[`cp2${i}`]=n+o,r[`cp2${s}`]=c+o*e[h])}}(t,o,e)}(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)r=t[o],l=Ue(i,r,t[Math.min(o+1,a-(s?0:1))%a],e.tension),r.cp1x=l.previous.x,r.cp1y=l.previous.y,r.cp2x=l.next.x,r.cp2y=l.next.y,i=r}e.capBezierPoints&&function(t,e){let i,s,n,o,a,r=he(t[0],e);for(i=0,s=t.length;i<s;++i)a=o,o=r,r=i<s-1&&he(t[i+1],e),o&&(n=t[i],a&&(n.cp1x=Xe(n.cp1x,e.left,e.right),n.cp1y=Xe(n.cp1y,e.top,e.bottom)),r&&(n.cp2x=Xe(n.cp2x,e.left,e.right),n.cp2y=Xe(n.cp2y,e.top,e.bottom)))}(t,i)}function Ke(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ge(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Ze(t,e,i){let s;return"string"==typeof t?(s=parseInt(t,10),-1!==t.indexOf("%")&&(s=s/100*e.parentNode[i])):s=t,s}const Je=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),Qe=["top","right","bottom","left"];function ti(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=Qe[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const ei=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ii(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=Je(i),o="border-box"===n.boxSizing,a=ti(n,"padding"),r=ti(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(ei(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const si=t=>Math.round(10*t)/10;function ni(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const oi=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function ai(t,e){const i=function(t,e){return Je(t).getPropertyValue(e)}(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function ri(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function li(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function hi(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=ri(t,n,i),r=ri(n,o,i),l=ri(o,e,i),h=ri(a,r,i),c=ri(r,l,i);return ri(h,c,i)}function ci(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function di(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function ui(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function fi(t){return"angle"===t?{between:wt,compare:vt,normalize:Mt}:{between:St,compare:(t,e)=>t-e,normalize:t=>t}}function gi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function pi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=fi(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=fi(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;h<c&&a(r(e[d%l][s]),n,o);++h)d--,u--;d%=l,u%=l}return u<d&&(u+=l),{start:d,end:u,loop:f,style:t.style}}(t,e,i),g=[];let p,m,b,x=!1,_=null;for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==b&&(x=l(p,n,o),null===_&&(x||l(n,b,p)&&0!==r(n,b))&&(_=0===r(p,n)?t:i),null!==_&&(!x||0===r(o,p)||l(o,b,p))&&(g.push(gi({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(gi({start:_,end:d,loop:u,count:a,style:f})),g}function mi(t,e){const i=[],s=t.segments;for(let n=0;n<s.length;n++){const o=pi(s[n],t.points,e);o.length&&i.push(...o)}return i}function bi(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function xi(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}class _i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=Lt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var yi=new _i;const vi="transparent",Mi={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=jt(t||vi),n=s.valid&&jt(e||vi);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class wi{constructor(t,e,i,s){const n=e[i];s=De([t.to,s,n,t.from]);const o=De([t.from,n,s]);this._active=!0,this._fn=t.fn||Mi[t.type||typeof o],this._easing=Nt[t.easing]||Nt.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=De([t.to,e,s,t.from]),this._from=De([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e<i),!this._active)return this._target[s]=a,void this._notify(!0);e<0?this._target[s]=n:(r=e/i%2,r=o&&r>1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}class ki{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!z(t))return;const e=Object.keys(ie.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach((s=>{const n=t[s];if(!z(n))return;const o={};for(const t of e)o[t]=n[t];(I(n.properties)&&n.properties||[s]).forEach((t=>{t!==s&&i.has(t)||i.set(t,o)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e<s.length;e++){const n=t[s[e]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new wi(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(yi.add(this._chart,i),!0):void 0}}function Si(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function Pi(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n<o;++n)i.push(s[n].index);return i}function Di(t,e,i,s={}){const n=t.keys,o="single"===s.mode;let a,r,l,h;if(null!==e){for(a=0,r=n.length;a<r;++a){if(l=+n[a],l===i){if(s.all)continue;break}h=t.values[l],F(h)&&(o||0===e||dt(e)===dt(h))&&(e+=h)}return e}}function Ci(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function Oi(t,e,i){const s=t[e]||(t[e]={});return s[i]||(s[i]={})}function Ai(t,e,i,s){for(const n of e.getMatchingVisibleMetas(s).reverse()){const e=t[n.index];if(i&&e>0||!i&&e<0)return n.index}return null}function Ti(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;t<d;++t){const i=e[t],{[l]:o,[h]:d}=i;u=(i._stacks||(i._stacks={}))[h]=Oi(n,c,o),u[r]=d,u._top=Ai(u,a,!0,s.type),u._bottom=Ai(u,a,!1,s.type),(u._visualValues||(u._visualValues={}))[r]=d}}function Li(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function Ei(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i],void 0!==e[s]._visualValues&&void 0!==e[s]._visualValues[i]&&delete e[s]._visualValues[i]}}}const Ri=t=>"reset"===t||"none"===t,Ii=(t,e)=>e?t:Object.assign({},t);class zi{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Ci(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ei(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=B(i.xAxisID,Li(t,"x")),o=e.yAxisID=B(i.yAxisID,Li(t,"y")),a=e.rAxisID=B(i.rAxisID,Li(t,"r")),r=e.indexAxis,l=e.iAxisID=s(r,n,o,a),h=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&At(this._data,this),t._stacked&&Ei(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(z(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s],i[s]={x:o,y:t[o]};return i}(e);else if(i!==e){if(i){At(i,this);const t=this._cachedMeta;Ei(t),t._parsed=[]}e&&Object.isExtensible(e)&&(this,(s=e)._chartjs?s._chartjs.listeners.push(this):(Object.defineProperty(s,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),Ot.forEach((t=>{const e="_onData"+J(t),i=s[t];Object.defineProperty(s,t,{configurable:!0,enumerable:!1,value(...t){const n=i.apply(this,t);return s._chartjs.listeners.forEach((i=>{"function"==typeof i[e]&&i[e](...t)})),n}})})))),this._syncList=[],this._data=e}var s}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const n=e._stacked;e._stacked=Ci(e.vScale,e),e.stack!==i.stack&&(s=!0,Ei(e),e.stack=i.stack),this._resyncElements(t),(s||n!==e._stacked)&&Ti(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:s}=this,{iScale:n,_stacked:o}=i,a=n.axis;let r,l,h,c=0===t&&e===s.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,h=s;else{h=I(s[t])?this.parseArrayData(i,s,t,e):z(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===l[a]||d&&l[a]<d[a];for(r=0;r<e;++r)i._parsed[r+t]=l=h[r],c&&(n()&&(c=!1),d=l);i._sorted=c}o&&Ti(this,h)}parsePrimitiveData(t,e,i,s){const{iScale:n,vScale:o}=t,a=n.axis,r=o.axis,l=n.getLabels(),h=n===o,c=new Array(s);let d,u,f;for(d=0,u=s;d<u;++d)f=d+i,c[d]={[a]:h||n.parse(l[f],f),[r]:o.parse(e[f],f)};return c}parseArrayData(t,e,i,s){const{xScale:n,yScale:o}=t,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={x:n.parse(c[0],h),y:o.parse(c[1],h)};return a}parseObjectData(t,e,i,s){const{xScale:n,yScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l=new Array(s);let h,c,d,u;for(h=0,c=s;h<c;++h)d=h+i,u=e[d],l[h]={x:n.parse(Z(u,a),d),y:o.parse(Z(u,r),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const s=this.chart,n=this._cachedMeta,o=e[t.axis];return Di({keys:Pi(s,!0),values:e._stacks[t.axis]._visualValues},o,n.index,{mode:i})}updateRangeFromParsed(t,e,i,s){const n=i[e.axis];let o=null===n?NaN:n;const a=s&&i._stacks[e.axis];s&&a&&(s.values=a,o=Di(s,n,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this._cachedMeta,s=i._parsed,n=i._sorted&&t===i.iScale,o=s.length,a=this._getOtherScale(t),r=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:Pi(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!F(u[t.axis])||h>e||c<e}for(d=0;d<o&&(f()||(this.updateRangeFromParsed(l,t,u,r),!n));++d);if(n)for(d=o-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,t,u,r);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s][t.axis],F(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,s=e.vScale,n=this.getParsed(t);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:s?""+s.getLabelForValue(n[s.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,s,n;return z(t)?(e=t.top,i=t.right,s=t.bottom,n=t.left):e=i=s=n=t,{top:e,right:i,bottom:s,left:n,disabled:!1===t}}(B(this.options.clip,function(t,e,i){if(!1===i)return!1;const s=Si(t,i),n=Si(e,i);return{top:n.end,right:s.end,bottom:n.start,left:s.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,s=i.data||[],n=e.chartArea,o=[],a=this._drawStart||0,r=this._drawCount||s.length-a,l=this.options.drawActiveElementsOnTop;let h;for(i.dataset&&i.dataset.draw(t,n,a,r),h=a;h<a+r;++h){const e=s[h];e.hidden||(e.active&&l?o.push(e):e.draw(t,n))}for(h=0;h<o.length;++h)o[h].draw(t,n)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const s=this.getDataset();let n;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];n=e.$context||(e.$context=function(t,e,i){return Ce(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),n.parsed=this.getParsed(t),n.raw=s.data[t],n.index=n.dataIndex=t}else n=this.$context||(this.$context=function(t,e){return Ce(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=s,n.index=n.datasetIndex=this.index;return n.active=!!e,n.mode=i,n}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const s="active"===e,n=this._cachedDataOpts,o=t+"-"+e,a=n[o],r=this.enableOptionSharing&&Q(i);if(a)return Ii(a,r);const l=this.chart.config,h=l.datasetElementScopeKeys(this._type,t),c=s?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),h),u=Object.keys(ie.elements[t]),f=l.resolveNamedOptions(d,u,(()=>this.getContext(i,s,e)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Ii(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new ki(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ri(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){Ri(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Ri(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n<s&&this._removeElements(n,s-n)}_insertElements(t,e,i=!0){const s=this._cachedMeta,n=s.data,o=t+e;let a;const r=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a<o;++a)n[a]=new this.dataElementType;this._parsing&&r(s._parsed),this.parse(t,e),i&&this.updateElements(n,t,e,"reset")}updateElements(t,e,i,s){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const s=i._parsed.splice(t,e);i._stacked&&Ei(i,s)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,s]=t;this[e](i,s)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Fi(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;e<n;e++)s=s.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=Tt(s.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(Q(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;s<n;++s)o=e.getPixelForValue(i[s]),l();for(a=void 0,s=0,n=e.ticks.length;s<n;++s)o=e.getPixelForTick(s),l();return r}function Vi(t,e,i,s){return I(t)?function(t,e,i,s){const n=i.parse(t[0],s),o=i.parse(t[1],s),a=Math.min(n,o),r=Math.max(n,o);let l=a,h=r;Math.abs(a)>Math.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function Bi(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;h<c;++h)u=e[h],d={},d[n.axis]=r||n.parse(a[h],h),l.push(Vi(u,d,o,h));return l}function Wi(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Ni(t,e,i,s){let n=e.borderSkipped;const o={};if(!n)return void(t.borderSkipped=o);if(!0===n)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:r,reverse:l,top:h,bottom:c}=function(t){let e,i,s,n,o;return t.horizontal?(e=t.base>t.x,i="left",s="right"):(e=t.base<t.y,i="bottom",s="top"),e?(n="end",o="start"):(n="start",o="end"),{start:i,end:s,reverse:e,top:n,bottom:o}}(t);"middle"===n&&i&&(t.enableBorderRadius=!0,(i._top||0)===s?n=h:(i._bottom||0)===s?n=c:(o[Hi(c,a,r,l)]=!0,n=h)),o[Hi(n,a,r,l)]=!0,t.borderSkipped=o}function Hi(t,e,i,s){var n,o,a;return s?(a=i,t=ji(t=(n=t)===(o=e)?a:n===a?o:n,i,e)):t=ji(t,e,i),t}function ji(t,e,i){return"start"===t?e:"end"===t?i:t}function $i(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}class Yi extends zi{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,i,s){return Bi(t,e,i,s)}parseArrayData(t,e,i,s){return Bi(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l="x"===n.axis?a:r,h="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;d<u;++d)g=e[d],f={},f[n.axis]=n.parse(Z(g,l),d),c.push(Vi(Z(g,h),f,o,d));return c}updateRangeFromParsed(t,e,i,s){super.updateRangeFromParsed(t,e,i,s);const n=i._custom;n&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,n.min),t.max=Math.max(t.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:s}=e,n=this.getParsed(t),o=n._custom,a=Wi(o)?"["+o.start+", "+o.end+"]":""+s.getLabelForValue(n[s.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,s){const n="reset"===s,{index:o,_cachedMeta:{vScale:a}}=this,r=a.getBasePixel(),l=a.isHorizontal(),h=this._getRuler(),{sharedOptions:c,includeOptions:d}=this._getSharedOptions(e,s);for(let u=e;u<e+i;u++){const e=this.getParsed(u),i=n||R(e[a.axis])?{base:r,head:r}:this._calculateBarValuePixels(u),f=this._calculateBarIndexPixels(u,h),g=(e._stacks||{})[a.axis],p={horizontal:l,base:i.base,enableBorderRadius:!g||Wi(e._custom)||o===g._top||o===g._bottom,x:l?i.head:f.center,y:l?f.center:i.head,height:l?f.size:Math.abs(i.size),width:l?Math.abs(i.size):f.size};d&&(p.options=c||this.resolveDataElementOptions(u,t[u].active?"active":s));const m=p.options||t[u].options;Ni(p,m,g,o),$i(p,m,h.ratio),this.updateElement(t[u],u,p,s)}}_getStacks(t,e){const{iScale:i}=this._cachedMeta,s=i.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),n=i.options.stacked,o=[],a=t=>{const i=t.controller.getParsed(e),s=i&&i[t.vScale.axis];if(R(s)||isNaN(s))return!0};for(const i of s)if((void 0===e||!a(i))&&((!1===n||-1===o.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&o.push(i.stack),i.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n<o;++n)s.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));const a=t.barThickness;return{min:a||Fi(e),pixels:s,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i,index:s},options:{base:n,minBarLength:o}}=this,a=n||0,r=this.getParsed(t),l=r._custom,h=Wi(l);let c,d,u=r[e.axis],f=0,g=i?this.applyStack(e,r,i):u;g!==u&&(f=g-u,g=u),h&&(u=l.barStart,g=l.barEnd-l.barStart,0!==u&&dt(u)!==dt(l.barEnd)&&(f=0),f+=u);const p=R(n)||h?f:n;let m=e.getPixelForValue(p);if(c=this.chart.getDataVisibility(t)?e.getPixelForValue(f+g):m,d=c-m,Math.abs(d)<o){d=function(t,e,i){return 0!==t?dt(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(d,e,a)*o,u===a&&(m-=d/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),l=Math.min(t,n),f=Math.max(t,n);m=Math.max(Math.min(m,f),l),c=m+d,i&&!h&&(r._stacks[e.axis]._visualValues[s]=e.getValueForPixel(c)-e.getValueForPixel(m))}if(m===e.getPixelForValue(a)){const t=dt(d)*e.getLineWidthForValue(a)/2;m+=t,d-=t}return{size:d,base:m,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=B(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,l="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t<n.length-1?n[t+1]:null;const l=i.categoryPercentage;null===a&&(a=o-(null===r?e.end-e.start:r-o)),null===r&&(r=o+o-a);const h=o-(o-Math.min(a,r))/2*l;return{chunk:Math.abs(r-a)/2*l/s,ratio:i.barPercentage,start:h}}(t,e,s,i):function(t,e,i,s){const n=i.barThickness;let o,a;return R(n)?(o=e.min*i.categoryPercentage,a=i.barPercentage):(o=n*s,a=1),{chunk:o/s,ratio:a,start:e.pixels[t]-o/2}}(t,e,s,i),h=this._getStackIndex(this.index,this._cachedMeta.stack,n?t:void 0);a=l.start+l.chunk*h+l.chunk/2,r=Math.min(o,l.chunk*l.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),r=Math.min(o,e.min*e.ratio);return{base:a-r/2,head:a+r/2,center:a,size:r}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,s=i.length;let n=0;for(;n<s;++n)null!==this.getParsed(n)[e.axis]&&i[n].draw(this._ctx)}}class Ui extends zi{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,s){const n=super.parsePrimitiveData(t,e,i,s);for(let t=0;t<n.length;t++)n[t]._custom=this.resolveDataElementOptions(t+i).radius;return n}parseArrayData(t,e,i,s){const n=super.parseArrayData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=B(s[2],this.resolveDataElementOptions(t+i).radius)}return n}parseObjectData(t,e,i,s){const n=super.parseObjectData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=B(s&&s.r&&+s.r,this.resolveDataElementOptions(t+i).radius)}return n}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y),l=o._custom;return{label:i[t]||"",value:"("+a+", "+r+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:l}=this._getSharedOptions(e,s),h=o.axis,c=a.axis;for(let d=e;d<e+i;d++){const e=t[d],i=!n&&this.getParsed(d),u={},f=u[h]=n?o.getPixelForDecimal(.5):o.getPixelForValue(i[h]),g=u[c]=n?a.getBasePixel():a.getPixelForValue(i[c]);u.skip=isNaN(f)||isNaN(g),l&&(u.options=r||this.resolveDataElementOptions(d,e.active?"active":s),n&&(u.options.radius=0)),this.updateElement(e,d,u,s)}}resolveDataElementOptions(t,e){const i=this.getParsed(t);let s=super.resolveDataElementOptions(t,e);s.$shared&&(s=Object.assign({},s,{$shared:!1}));const n=s.radius;return"active"!==e&&(s.radius=0),s.radius+=B(i&&i._custom,n),s}}class Xi extends zi{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,o,a=t=>+i[t];if(z(i[t])){const{key:t="value"}=this._parsing;a=e=>+Z(i[e],t)}for(n=t,o=t+e;n<o;++n)s._parsed[n]=a(n)}}_getRotation(){return mt(this.options.rotation-90)}_getCircumference(){return mt(this.options.circumference)}_getRotationExtents(){let t=st,e=-st;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){const s=this.chart.getDatasetMeta(i).controller,n=s._getRotation(),o=s._getCircumference();t=Math.min(t,n),e=Math.max(e,n+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,s=this._cachedMeta,n=s.data,o=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,a=Math.max((Math.min(i.width,i.height)-o)/2,0),r=Math.min((h=a,"string"==typeof(l=this.options.cutout)&&l.endsWith("%")?parseFloat(l)/100:+l/h),1);var l,h;const c=this._getRingWeight(this.index),{circumference:d,rotation:u}=this._getRotationExtents(),{ratioX:f,ratioY:g,offsetX:p,offsetY:m}=function(t,e,i){let s=1,n=1,o=0,a=0;if(e<st){const r=t,l=r+e,h=Math.cos(r),c=Math.sin(r),d=Math.cos(l),u=Math.sin(l),f=(t,e,s)=>wt(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>wt(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(rt,c,u),b=g(it,h,d),x=g(it+rt,c,u);s=(p-b)/2,n=(m-x)/2,o=-(p+b)/2,a=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(u,d,r),b=(i.width-o)/f,x=(i.height-o)/g,_=Math.max(Math.min(b,x)/2,0),y=W(this.options.radius,_),v=(y-Math.max(y*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=m*y,s.total=this.calculateTotal(),this.outerRadius=y-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*c,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/st)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,s);let p,m=this._getRotation();for(p=0;p<e;++p)m+=this._circumference(p,n);for(p=e;p<e+i;++p){const e=this._circumference(p,n),i=t[p],o={x:l+this.offsetX,y:h+this.offsetY,startAngle:m,endAngle:m+e,circumference:e,outerRadius:u,innerRadius:d};g&&(o.options=f||this.resolveDataElementOptions(p,i.active?"active":s)),m+=e,this.updateElement(i,p,o,s)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,s=0;for(i=0;i<e.length;i++){const n=t._parsed[i];null===n||isNaN(n)||!this.chart.getDataVisibility(i)||e[i].hidden||(s+=Math.abs(n))}return s}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?st*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=qt(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s<n;++s)if(i.isDatasetVisible(s)){o=i.getDatasetMeta(s),t=o.data,a=o.controller;break}if(!t)return 0;for(s=0,n=t.length;s<n;++s)r=a.resolveDataElementOptions(s),"inner"!==r.borderAlign&&(e=Math.max(e,r.borderWidth||0,r.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,s=t.length;i<s;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(B(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class qi extends zi{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:s=[],_dataset:n}=e,o=this.chart._animationsDisabled;let{start:a,count:r}=zt(e,s,o);this._drawStart=a,this._drawCount=r,Ft(e)&&(a=0,r=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=s;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:l},t),this.updateElements(s,a,r,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:l}=this._cachedMeta,{sharedOptions:h,includeOptions:c}=this._getSharedOptions(e,s),d=o.axis,u=a.axis,{spanGaps:f,segment:g}=this.options,p=gt(f)?f:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||n||"none"===s,b=e+i,x=t.length;let _=e>0&&this.getParsed(e-1);for(let i=0;i<x;++i){const f=t[i],x=m?f:{};if(i<e||i>=b){x.skip=!0;continue}const y=this.getParsed(i),v=R(y[u]),M=x[d]=o.getPixelForValue(y[d],i),w=x[u]=n||v?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,y,r):y[u],i);x.skip=isNaN(M)||isNaN(w)||v,x.stop=i>0&&Math.abs(y[d]-_[d])>p,g&&(x.parsed=y,x.raw=l.data[i]),c&&(x.options=h||this.resolveDataElementOptions(i,f.active?"active":s)),m||this.updateElement(f,i,x,s),_=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}class Ki extends zi{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=qt(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return He.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(s<e.min&&(e.min=s),s>e.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,l=r.xCenter,h=r.yCenter,c=r.getIndexAngle(0)-.5*it;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d<e;++d)u+=this._computeAngle(d,s,f);for(d=e;d<e+i;d++){const e=t[d];let i=u,g=u+this._computeAngle(d,s,f),p=o.getDataVisibility(d)?r.getDistanceFromCenterForValue(this.getParsed(d).r):0;u=g,n&&(a.animateScale&&(p=0),a.animateRotate&&(i=g=c));const m={x:l,y:h,innerRadius:0,outerRadius:p,startAngle:i,endAngle:g,options:this.resolveDataElementOptions(d,e.active?"active":s)};this.updateElement(e,d,m,s)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?mt(this.resolveDataElementOptions(t,e).angle||i):0}}class Gi extends Xi{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class Zi extends zi{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return He.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a<e+i;a++){const e=t[a],i=this.resolveDataElementOptions(a,e.active?"active":s),r=n.getPointPositionForValue(a,this.getParsed(a).r),l=o?n.xCenter:r.x,h=o?n.yCenter:r.y,c={x:l,y:h,angle:r.angle,skip:isNaN(l)||isNaN(h),options:i};this.updateElement(e,a,c,s)}}}class Ji extends zi{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y);return{label:i[t]||"",value:"("+a+", "+r+")"}}update(t){const e=this._cachedMeta,{data:i=[]}=e,s=this.chart._animationsDisabled;let{start:n,count:o}=zt(e,i,s);if(this._drawStart=n,this._drawCount=o,Ft(e)&&(n=0,o=i.length),this.options.showLine){const{dataset:n,_dataset:o}=e;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=i;const a=this.resolveDatasetElementOptions(t);a.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:a},t)}this.updateElements(i,n,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:l}=this._cachedMeta,h=this.resolveDataElementOptions(e,s),c=this.getSharedOptions(h),d=this.includeOptions(s,c),u=o.axis,f=a.axis,{spanGaps:g,segment:p}=this.options,m=gt(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||n||"none"===s;let x=e>0&&this.getParsed(e-1);for(let h=e;h<e+i;++h){const e=t[h],i=this.getParsed(h),g=b?e:{},_=R(i[f]),y=g[u]=o.getPixelForValue(i[u],h),v=g[f]=n||_?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,i,r):i[f],h);g.skip=isNaN(y)||isNaN(v)||_,g.stop=h>0&&Math.abs(i[u]-x[u])>m,p&&(g.parsed=i,g.raw=l.data[h]),d&&(g.options=c||this.resolveDataElementOptions(h,e.active?"active":s)),b||this.updateElement(e,h,g,s),x=i}this.updateSharedOptions(c,s,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}var Qi=Object.freeze({__proto__:null,BarController:Yi,BubbleController:Ui,DoughnutController:Xi,LineController:qi,PolarAreaController:Ki,PieController:Gi,RadarController:Zi,ScatterController:Ji});function ts(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class es{static override(t){Object.assign(es.prototype,t)}constructor(t){this.options=t||{}}init(){}formats(){return ts()}parse(){return ts()}format(){return ts()}add(){return ts()}diff(){return ts()}startOf(){return ts()}endOf(){return ts()}}var is={_date:es};function ss(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?Ct:Dt;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function ns(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t<i;++t){const{index:i,data:r}=o[t],{lo:l,hi:h}=ss(o[t],e,a,n);for(let t=l;t<=h;++t){const e=r[t];e.skip||s(e,i,t)}}}function os(t,e,i,s,n){const o=[];return n||t.isPointInArea(e)?(ns(t,i,e,(function(i,a,r){(n||he(i,t.chartArea,0))&&i.inRange(e.x,e.y,s)&&o.push({element:i,datasetIndex:a,index:r})}),!0),o):o}function as(t,e,i,s,n,o){return o||t.isPointInArea(e)?"r"!==i||s?function(t,e,i,s,n,o){let a=[];const r=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,s){const n=e?Math.abs(t.x-s.x):0,o=i?Math.abs(t.y-s.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2))}}(i);let l=Number.POSITIVE_INFINITY;return ns(t,i,e,(function(i,h,c){const d=i.inRange(e.x,e.y,n);if(s&&!d)return;const u=i.getCenterPoint(n);if(!o&&!t.isPointInArea(u)&&!d)return;const f=r(e,u);f<l?(a=[{element:i,datasetIndex:h,index:c}],l=f):f===l&&a.push({element:i,datasetIndex:h,index:c})})),a}(t,e,i,s,n,o):function(t,e,i,s){let n=[];return ns(t,i,e,(function(t,i,o){const{startAngle:a,endAngle:r}=t.getProps(["startAngle","endAngle"],s),{angle:l}=_t(t,{x:e.x,y:e.y});wt(l,a,r)&&n.push({element:t,datasetIndex:i,index:o})})),n}(t,e,i,n):[]}function rs(t,e,i,s,n){const o=[],a="x"===i?"inXRange":"inYRange";let r=!1;return ns(t,i,e,((t,s,l)=>{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:l}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var ls={evaluateInteractionItems:ns,modes:{index(t,e,i,s){const n=ii(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?os(t,n,o,s,a):as(t,n,o,!1,s,a),l=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,s){const n=ii(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?os(t,n,o,s,a):as(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;t<i.length;++t)r.push({element:i[t],datasetIndex:e,index:t})}return r},point:(t,e,i,s)=>os(t,ii(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ii(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return as(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>rs(t,ii(e,t),"x",i.intersect,s),y:(t,e,i,s)=>rs(t,ii(e,t),"y",i.intersect,s)}};const hs=["left","top","right","bottom"];function cs(t,e){return t.filter((t=>t.pos===e))}function ds(t,e){return t.filter((t=>-1===hs.indexOf(t.pos)&&t.box.axis===e))}function us(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function fs(t,e,i,s){return Math.max(t[i],e[i])+Math.max(t[s],e[s])}function gs(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function ps(t,e,i,s){const{pos:n,box:o}=i,a=t.maxPadding;if(!z(n)){i.size&&(t[n]-=i.size);const e=s[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[n]+=i.size}o.getPadding&&gs(a,o.getPadding());const r=Math.max(0,e.outerWidth-fs(a,t,"left","right")),l=Math.max(0,e.outerHeight-fs(a,t,"top","bottom")),h=r!==t.w,c=l!==t.h;return t.w=r,t.h=l,i.horizontal?{same:h,other:c}:{same:c,other:h}}function ms(t,e){const i=e.maxPadding;return function(t){const s={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{s[t]=Math.max(e[t],i[t])})),s}(t?["left","right"]:["top","bottom"])}function bs(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;o<a;++o){r=t[o],l=r.box,l.update(r.width||e.w,r.height||e.h,ms(r.horizontal,e));const{same:a,other:d}=ps(e,i,r,s);h|=a&&n.length,c=c||d,l.fullSize||n.push(r)}return h&&bs(n,e,i,s)||c}function xs(t,e,i,s,n){t.top=i,t.left=e,t.right=e+s,t.bottom=i+n,t.width=s,t.height=n}function _s(t,e,i,s){const n=i.padding;let{x:o,y:a}=e;for(const r of t){const t=r.box,l=s[r.stack]||{count:1,placed:0,weight:1},h=r.stackWeight/l.weight||1;if(r.horizontal){const s=e.w*h,o=l.size||t.height;Q(l.start)&&(a=l.start),t.fullSize?xs(t,n.left,a,i.outerWidth-n.right-n.left,o):xs(t,e.left+l.placed,a,s,o),l.start=a,l.placed+=s,a=t.bottom}else{const s=e.h*h,a=l.size||t.width;Q(l.start)&&(o=l.start),t.fullSize?xs(t,o,n.top,a,i.outerHeight-n.bottom-n.top):xs(t,o,e.top+l.placed,a,s),l.start=o,l.placed+=s,o=t.right}}e.x=o,e.y=a}var ys={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,s){if(!t)return;const n=Se(t.options.layout.padding),o=Math.max(e-n.width,0),a=Math.max(i-n.height,0),r=function(t){const e=function(t){const e=[];let i,s,n,o,a,r;for(i=0,s=(t||[]).length;i<s;++i)n=t[i],({position:o,options:{stack:a,stackWeight:r=1}}=n),e.push({index:i,box:n,pos:o,horizontal:n.isHorizontal(),weight:n.weight,stack:a&&o+a,stackWeight:r});return e}(t),i=us(e.filter((t=>t.box.fullSize)),!0),s=us(cs(e,"left"),!0),n=us(cs(e,"right")),o=us(cs(e,"top"),!0),a=us(cs(e,"bottom")),r=ds(e,"x"),l=ds(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:cs(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;H(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);gs(u,Se(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=function(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!hs.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o<a;++o){r=t[o];const{fullSize:a}=r.box,l=i[r.stack],h=l&&r.stackWeight/l.weight;r.horizontal?(r.width=h?h*s:a&&e.availableWidth,r.height=n):(r.width=s,r.height=h?h*n:a&&e.availableHeight)}return i}(l.concat(h),d);bs(r.fullSize,f,d,g),bs(l,f,d,g),bs(h,f,d,g)&&bs(l,f,d,g),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),_s(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,_s(r.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},H(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class vs{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class Ms extends vs{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ws="$chartjs",ks={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ss=t=>null===t||""===t,Ps=!!oi&&{passive:!0};function Ds(t,e,i){t.canvas.removeEventListener(e,i,Ps)}function Cs(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Os(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cs(i.addedNodes,s),e=e&&!Cs(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function As(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cs(i.removedNodes,s),e=e&&!Cs(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Ts=new Map;let Ls=0;function Es(){const t=window.devicePixelRatio;t!==Ls&&(Ls=t,Ts.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Rs(t,e,i){const s=t.canvas,n=s&&Ge(s);if(!n)return;const o=Et(((t,e)=>{const s=n.clientWidth;i(t,e),s<n.clientWidth&&i()}),window),a=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||o(i,s)}));return a.observe(n),function(t,e){Ts.size||window.addEventListener("resize",Es),Ts.set(t,e)}(t,o),a}function Is(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Ts.delete(t),Ts.size||window.removeEventListener("resize",Es)}(t)}function zs(t,e,i){const s=t.canvas,n=Et((e=>{null!==t.ctx&&i(function(t,e){const i=ks[t.type]||t.type,{x:s,y:n}=ii(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t);return function(t,e,i){t.addEventListener(e,i,Ps)}(s,e,n),n}class Fs extends vs{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t[ws]={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ss(n)){const e=ai(t,"width");void 0!==e&&(t.width=e)}if(Ss(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ai(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[ws])return!1;const i=e[ws].initial;["height","width"].forEach((t=>{const s=i[t];R(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e[ws],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:Os,detach:As,resize:Rs}[e]||zs;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];s&&(({attach:Is,detach:Is,resize:Is}[e]||Ds)(t,e,s),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return function(t,e,i,s){const n=Je(t),o=ti(n,"margin"),a=Ze(n.maxWidth,t,"clientWidth")||ot,r=Ze(n.maxHeight,t,"clientHeight")||ot,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=Ge(t);if(o){const t=o.getBoundingClientRect(),a=Je(o),r=ti(a,"border","width"),l=ti(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=Ze(a.maxWidth,o,"clientWidth"),n=Ze(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||ot,maxHeight:n||ot}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=ti(n,"border","width"),e=ti(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?h/s:c-o.height),h=si(Math.min(h,a,l.maxWidth)),c=si(Math.min(c,r,l.maxHeight)),h&&!c&&(c=si(h/2)),(void 0!==e||void 0!==i)&&s&&l.height&&c>l.height&&(c=l.height,h=si(Math.floor(c*s))),{width:h,height:c}}(t,e,i,s)}isAttached(t){const e=Ge(t);return!(!e||!e.isConnected)}}function Vs(t){return!Ke()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Ms:Fs}class Bs{static defaults={};static defaultRoutes=void 0;active=!1;tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return gt(this.x)&>(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach((t=>{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}function Ws(t,e,i,s,n){const o=B(s,0),a=Math.min(B(n,t.length),t.length);let r,l,h,c=0;for(i=Math.ceil(i),n&&(r=n-s,i=r/Math.floor(r/i)),h=o;h<0;)c++,h=Math.round(o+c*i);for(l=Math.max(o,0);l<a;l++)l===h&&(e.push(t[l]),c++,h=Math.round(o+c*i))}const Ns=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i,Hs=(t,e)=>Math.min(e||t,t);function js(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;o<n;o+=s)i.push(t[Math.floor(o)]);return i}function $s(t,e,i){const s=t.ticks.length,n=Math.min(e,s-1),o=t._startPixel,a=t._endPixel,r=1e-6;let l,h=t.getPixelForTick(n);if(!(i&&(l=1===s?Math.max(h-o,a-h):0===e?(t.getPixelForTick(1)-h)/2:(h-t.getPixelForTick(n-1))/2,h+=n<e?l:-l,h<o-r||h>a+r)))return h}function Ys(t){return t.drawTicks?t.tickLength:0}function Us(t,e){if(!t.display)return 0;const i=Pe(t.font,e),s=Se(t.padding);return(I(t.text)?t.text.length:1)*i.lineHeight+s.height}function Xs(t,e,i){let s=Rt(t);return(i&&"right"!==e||!i&&"right"===e)&&(s=(t=>"left"===t?"right":"right"===t?"left":t)(s)),s}class qs extends Bs{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=V(t,Number.POSITIVE_INFINITY),e=V(e,Number.NEGATIVE_INFINITY),i=V(i,Number.POSITIVE_INFINITY),s=V(s,Number.NEGATIVE_INFINITY),{min:V(t,i),max:V(e,s),minDefined:F(t),maxDefined:F(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;r<l;++r)e=a[r].controller.getMinMax(this,t),n||(i=Math.min(i,e.min)),o||(s=Math.max(s,e.max));return i=o&&i>s?s:i,s=n&&i>s?i:s,{min:V(i,V(s,i)),max:V(s,V(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){N(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,i){const{min:s,max:n}=t,o=W(e,(n-s)/2),a=(t,e)=>i&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a<this.ticks.length;this._convertTicksToLabels(r?js(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function(t,e){const i=t.options.ticks,s=function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),n=Math.min(i.maxTicksLimit||s,s),o=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;i<s;i++)t[i].major&&e.push(i);return e}(e):[],a=o.length,r=o[0],l=o[a-1],h=[];if(a>n)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;n<t.length;n++)n===a&&(e.push(t[n]),o++,a=i[o*s])}(e,h,o,a/n),h;const c=function(t,e,i){const s=function(t){const e=t.length;let i,s;if(e<2)return!1;for(s=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==s)return!1;return s}(t),n=e.length/i;if(!s)return Math.max(n,1);const o=function(t){const e=[],i=Math.sqrt(t);let s;for(s=1;s<i;s++)t%s==0&&(e.push(s),e.push(t/s));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}(s);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>n)return e}return Math.max(n,1)}(o,e,n);if(a>0){let t,i;const s=a>1?Math.round((l-r)/(a-1)):null;for(Ws(e,h,c,R(s)?0:r-s,r),t=0,i=a-1;t<i;t++)Ws(e,h,c,o[t],o[t+1]);return Ws(e,h,c,l,R(s)?e.length:l+s),h}return Ws(e,h,c),h}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),r&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){N(this.options.afterUpdate,[this])}beforeSetDimensions(){N(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){N(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),N(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){N(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,s,n;for(i=0,s=t.length;i<s;i++)n=t[i],n.label=N(e.callback,[n.value,i,t],this)}afterTickToLabelConversion(){N(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){N(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=Hs(this.ticks.length,t.ticks.maxTicksLimit),s=e.minRotation||0,n=e.maxRotation;let o,a,r,l=s;if(!this._isVisible()||!e.display||s>=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=kt(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Ys(t.grid)-e.padding-Us(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=bt(Math.min(Math.asin(kt((h.highest.height+6)/o,-1,1)),Math.asin(kt(a/r,-1,1))-Math.asin(kt(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){N(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){N(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Us(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ys(n)+o):(t.height=this.maxHeight,t.width=Ys(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=mt(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){N(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)R(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=js(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,i){const{ctx:s,_longestTextCache:n}=this,o=[],a=[],r=Math.floor(e/Hs(e,i));let l,h,c,d,u,f,g,p,m,b,x,_=0,y=0;for(l=0;l<e;l+=r){if(d=t[l].label,u=this._resolveTickFontOptions(l),s.font=f=u.string,g=n[f]=n[f]||{data:{},gc:[]},p=u.lineHeight,m=b=0,R(d)||I(d)){if(I(d))for(h=0,c=d.length;h<c;++h)x=d[h],R(x)||I(x)||(m=se(s,g.data,g.gc,m,x),b+=p)}else m=se(s,g.data,g.gc,m,d),b=p;o.push(m),a.push(b),_=Math.max(m,_),y=Math.max(b,y)}!function(t,e){H(t,(t=>{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n<s;++n)delete t.data[i[n]];i.splice(0,s)}}))}(n,e);const v=o.indexOf(_),M=a.indexOf(y),w=t=>({width:o[t]||0,height:a[t]||0});return{first:w(0),last:w(e-1),widest:w(v),highest:w(M),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return kt(this._alignToPixels?oe(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return Ce(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=Ce(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=mt(this.labelRotation),i=Math.abs(Math.cos(e)),s=Math.abs(Math.sin(e)),n=this._getLabelSizes(),o=t.autoSkipPadding||0,a=n?n.widest.width+o:0,r=n?n.highest.height+o:0;return this.isHorizontal()?r*i>a*s?a/i:r/s:r*s<a*i?r/i:a/s}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o,border:a}=s,r=n.offset,l=this.isHorizontal(),h=this.ticks.length+(r?1:0),c=Ys(n),d=[],u=a.setContext(this.getContext()),f=u.display?u.width:0,g=f/2,p=function(t){return oe(i,t,f)};let m,b,x,_,y,v,M,w,k,S,P,D;if("top"===o)m=p(this.bottom),v=this.bottom-c,w=m-g,S=p(t.top)+g,D=t.bottom;else if("bottom"===o)m=p(this.top),S=t.top,D=p(t.bottom)-g,v=m+g,w=this.top+c;else if("left"===o)m=p(this.right),y=this.right-c,M=m-g,k=p(t.left)+g,P=t.right;else if("right"===o)m=p(this.left),k=t.left,P=p(t.right)-g,y=m+g,M=this.left+c;else if("x"===e){if("center"===o)m=p((t.top+t.bottom)/2+.5);else if(z(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}S=t.top,D=t.bottom,v=m+g,w=v+c}else if("y"===e){if("center"===o)m=p((t.left+t.right)/2);else if(z(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}y=m-g,M=y-c,k=t.left,P=t.right}const C=B(s.ticks.maxTicksLimit,h),O=Math.max(1,Math.ceil(h/C));for(b=0;b<h;b+=O){const t=this.getContext(b),e=n.setContext(t),s=a.setContext(t),o=e.lineWidth,h=e.color,c=s.dash||[],u=s.dashOffset,f=e.tickWidth,g=e.tickColor,p=e.tickBorderDash||[],m=e.tickBorderDashOffset;x=$s(this,b,r),void 0!==x&&(_=oe(i,x,o),l?y=M=k=P=_:v=w=S=D=_,d.push({tx1:y,ty1:v,tx2:M,ty2:w,x1:k,y1:S,x2:P,y2:D,width:o,color:h,borderDash:c,borderDashOffset:u,tickWidth:f,tickColor:g,tickBorderDash:p,tickBorderDashOffset:m}))}return this._ticksLength=h,this._borderValue=m,d}_computeLabelItems(t){const e=this.axis,i=this.options,{position:s,ticks:n}=i,o=this.isHorizontal(),a=this.ticks,{align:r,crossAlign:l,padding:h,mirror:c}=n,d=Ys(i.grid),u=d+h,f=c?-h:u,g=-mt(this.labelRotation),p=[];let m,b,x,_,y,v,M,w,k,S,P,D,C="middle";if("top"===s)v=this.bottom-f,M=this._getXAxisLabelAlignment();else if("bottom"===s)v=this.top+f,M=this._getXAxisLabelAlignment();else if("left"===s){const t=this._getYAxisLabelAlignment(d);M=t.textAlign,y=t.x}else if("right"===s){const t=this._getYAxisLabelAlignment(d);M=t.textAlign,y=t.x}else if("x"===e){if("center"===s)v=(t.top+t.bottom)/2+u;else if(z(s)){const t=Object.keys(s)[0],e=s[t];v=this.chart.scales[t].getPixelForValue(e)+u}M=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===s)y=(t.left+t.right)/2-u;else if(z(s)){const t=Object.keys(s)[0],e=s[t];y=this.chart.scales[t].getPixelForValue(e)}M=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===r?C="top":"end"===r&&(C="bottom"));const O=this._getLabelSizes();for(m=0,b=a.length;m<b;++m){x=a[m],_=x.label;const t=n.setContext(this.getContext(m));w=this.getPixelForTick(m)+n.labelOffset,k=this._resolveTickFontOptions(m),S=k.lineHeight,P=I(_)?_.length:1;const e=P/2,i=t.color,r=t.textStrokeColor,h=t.textStrokeWidth;let d,u=M;if(o?(y=w,"inner"===M&&(u=m===b-1?this.options.reverse?"left":"right":0===m?this.options.reverse?"right":"left":"center"),D="top"===s?"near"===l||0!==g?-P*S+S/2:"center"===l?-O.highest.height/2-e*S+S:-O.highest.height+S/2:"near"===l||0!==g?S/2:"center"===l?O.highest.height/2-e*S:O.highest.height-P*S,c&&(D*=-1),0===g||t.showLabelBackdrop||(y+=S/2*Math.sin(g))):(v=w,D=(1-P)*S/2),t.showLabelBackdrop){const e=Se(t.backdropPadding),i=O.heights[m],s=O.widths[m];let n=D-e.top,o=0-e.left;switch(C){case"middle":n-=i/2;break;case"bottom":n-=i}switch(M){case"center":o-=s/2;break;case"right":o-=s}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}p.push({label:_,font:k,textOffset:D,options:{rotation:g,color:i,strokeColor:r,strokeWidth:h,textAlign:u,textBaseline:C,translation:[y,v],backdrop:d}})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-mt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,l;return"left"===e?s?(l=this.right+n,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l+=a)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l=this.left)):"right"===e?s?(l=this.left+n,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l-=a)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n<o;++n){const t=s[n];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:i,grid:s}}=this,n=i.setContext(this.getContext()),o=i.display?n.width:0;if(!o)return;const a=s.setContext(this.getContext(0)).lineWidth,r=this._borderValue;let l,h,c,d;this.isHorizontal()?(l=oe(t,this.left,o)-o/2,h=oe(t,this.right,a)+a/2,c=d=r):(c=oe(t,this.top,o)-o/2,d=oe(t,this.bottom,a)+a/2,l=h=r),e.save(),e.lineWidth=n.width,e.strokeStyle=n.color,e.beginPath(),e.moveTo(l,c),e.lineTo(h,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&ce(e,i);const s=this.getLabelItems(t);for(const t of s){const i=t.options,s=t.font;ge(e,t.label,0,t.textOffset,s,i)}i&&de(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:s}}=this;if(!i.display)return;const n=Pe(i.font),o=Se(i.padding),a=i.align;let r=n.lineHeight/2;"bottom"===e||"center"===e||z(e)?(r+=o.bottom,I(i.text)&&(r+=n.lineHeight*(i.text.length-1))):r+=o.top;const{titleX:l,titleY:h,maxWidth:c,rotation:d}=function(t,e,i,s){const{top:n,left:o,bottom:a,right:r,chart:l}=t,{chartArea:h,scales:c}=l;let d,u,f,g=0;const p=a-n,m=r-o;if(t.isHorizontal()){if(u=It(s,o,r),z(i)){const t=Object.keys(i)[0],s=i[t];f=c[t].getPixelForValue(s)+p-e}else f="center"===i?(h.bottom+h.top)/2+p-e:Ns(t,i,e);d=r-o}else{if(z(i)){const t=Object.keys(i)[0],s=i[t];u=c[t].getPixelForValue(s)-m+e}else u="center"===i?(h.left+h.right)/2-m+e:Ns(t,i,e);f=It(s,a,n),g="left"===i?-rt:rt}return{titleX:u,titleY:f,maxWidth:d,rotation:g}}(this,r,e,a);ge(t,i.text,0,0,n,{color:i.color,maxWidth:c,rotation:d,textAlign:Xs(a,e,s),textBaseline:"middle",translation:[l,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=B(t.grid&&t.grid.z,-1),s=B(t.border&&t.border.z,0);return this._isVisible()&&this.draw===qs.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n<o;++n){const o=e[n];o[i]!==this.id||t&&o.type!==t||s.push(o)}return s}_resolveTickFontOptions(t){return Pe(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Ks{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const s=this.items,n=t.id,o=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+t);return n in s||(s[n]=t,function(t,e,i){const s=X(Object.create(null),[i?ie.get(i):{},ie.get(e),t.defaults]);ie.set(e,s),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");ie.route(o,n,l,r)}))}(e,t.defaultRoutes),t.descriptors&&ie.describe(e,t.descriptors)}(t,o,i),this.override&&ie.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in ie[s]&&(delete ie[s][i],this.override&&delete Zt[i])}}class Gs{constructor(){this.controllers=new Ks(zi,"datasets",!0),this.elements=new Ks(Bs,"elements"),this.plugins=new Ks(Object,"plugins"),this.scales=new Ks(qs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):H(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=J(t);N(i["before"+s],[],i),e[t](i),N(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const s=e.get(t);if(void 0===s)throw new Error('"'+t+'" is not a registered '+i+".");return s}}var Zs=new Gs;class Js{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const n=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(n,t,e,i);return"afterDestroy"===e&&(this._notify(n,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,s){s=s||{};for(const n of t){const t=n.plugin;if(!1===N(t[i],[e,s,n.options],t)&&s.cancelable)return!1}return!0}invalidate(){R(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,s=B(i.options&&i.options.plugins,{}),n=function(t){const e={},i=[],s=Object.keys(Zs.plugins.items);for(let t=0;t<s.length;t++)i.push(Zs.getPlugin(s[t]));const n=t.plugins||[];for(let t=0;t<n.length;t++){const s=n[t];-1===i.indexOf(s)&&(i.push(s),e[s.id]=!0)}return{plugins:i,localIds:e}}(i);return!1!==s||e?function(t,{plugins:e,localIds:i},s,n){const o=[],a=t.getContext();for(const r of e){const e=r.id,l=Qs(s[e],n);null!==l&&o.push({plugin:r,options:tn(t.config,{plugin:r,local:i[e]},l,a)})}return o}(t,n,s,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,s=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Qs(t,e){return e||!1!==t?!0===t?{}:t:null}function tn(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function en(t,e){const i=ie.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function sn(t,e){if("x"===t||"y"===t||"r"===t)return t;var i;if(t=e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&sn(t[0].toLowerCase(),e))return t;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function nn(t){const e=t.options||(t.options={});e.plugins=B(e.plugins,{}),e.scales=function(t,e){const i=Zt[t.type]||{scales:{}},s=e.scales||{},n=en(t.type,e),o=Object.create(null);return Object.keys(s).forEach((t=>{const e=s[t];if(!z(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const a=sn(t,e),r=function(t,e){return t===e?"_index_":"_value_"}(a,n),l=i.scales||{};o[t]=q(Object.create(null),[{axis:a},e,l[a],l[r]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,a=i.indexAxis||en(n,e),r=(Zt[n]||{}).scales||{};Object.keys(r).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,a),n=i[e+"AxisID"]||e;o[n]=o[n]||Object.create(null),q(o[n],[{axis:e},s[n],r[t]])}))})),Object.keys(o).forEach((t=>{const e=o[t];q(e,[ie.scales[e.type],ie.scale])})),o}(t,e)}function on(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const an=new Map,rn=new Set;function ln(t,e){let i=an.get(t);return i||(i=e(),an.set(t,i),rn.add(i)),i}const hn=(t,e,i)=>{const s=Z(e,i);void 0!==s&&t.add(s)};class cn{constructor(t){this._config=function(t){return(t=t||{}).data=on(t.data),nn(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=on(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),nn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ln(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return ln(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return ln(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return ln(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>hn(r,t,e)))),e.forEach((t=>hn(r,s,t))),e.forEach((t=>hn(r,Zt[n]||{},t))),e.forEach((t=>hn(r,ie,t))),e.forEach((t=>hn(r,Jt,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),rn.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,Zt[e]||{},ie.datasets[e]||{},{type:e},ie,Jt]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=dn(this._resolverCache,t,s);let r=o;(function(t,e){const{isScriptable:i,isIndexable:s}=Te(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(tt(a)||un(a))||o&&I(a))return!0}return!1})(o,e)&&(n.$shared=!1,r=Ae(o,i=tt(i)?i():i,this.createResolver(t,i,a)));for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=dn(this._resolverCache,t,i);return z(e)?Ae(n,e,void 0,s):n}}function dn(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);return o||(o={resolver:Oe(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)),o}const un=t=>z(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||tt(t[i])),!1),fn=["top","bottom","left","right","chartArea"];function gn(t,e){return"top"===t||"bottom"===t||-1===fn.indexOf(t)&&"x"===e}function pn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function mn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),N(i&&i.onComplete,[t],e)}function bn(t){const e=t.chart,i=e.options.animation;N(i&&i.onProgress,[t],e)}function xn(t){return Ke()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const yn={},vn=t=>{const e=xn(t);return Object.values(yn).filter((t=>t.canvas===e)).pop()};function Mn(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class wn{static defaults=ie;static instances=yn;static overrides=Zt;static registry=Zs;static version="4.2.1";static getChart=vn;static register(...t){Zs.add(...t),kn()}static unregister(...t){Zs.remove(...t),kn()}constructor(t,e){const i=this.config=new cn(e),s=xn(t),n=vn(s);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Vs(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),r=a&&a.canvas,l=r&&r.height,h=r&&r.width;this.id=E(),this.ctx=a,this.canvas=r,this.width=h,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Js,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],yn[this.id]=this,a&&r?(yi.listen(this,"complete",mn),yi.listen(this,"progress",bn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return R(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Zs}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ni(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ae(this.canvas,this.ctx),this}stop(){return yi.stop(this),this}resize(t,e){yi.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ni(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),N(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){H(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=sn(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),H(n,(e=>{const n=e.options,o=n.id,a=sn(o,n),r=B(n.type,e.dtype);void 0!==n.position&&gn(n.position,a)===gn(e.dposition)||(n.position=e.dposition),s[o]=!0;let l=null;o in i&&i[o].type===r?l=i[o]:(l=new(Zs.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[l.id]=l),l.init(n,t)})),H(s,((t,e)=>{t||delete i[e]})),H(i,(t=>{ys.configure(this,t,t.options),ys.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(pn("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i<s;i++){const s=e[i];let n=this.getDatasetMeta(i);const o=s.type||this.config.type;if(n.type&&n.type!==o&&(this._destroyDatasetMeta(i),n=this.getDatasetMeta(i)),n.type=o,n.indexAxis=s.indexAxis||en(o,this.options),n.order=s.order||0,n.index=i,n.label=""+s.label,n.visible=this.isDatasetVisible(i),n.controller)n.controller.updateIndex(i),n.controller.linkScales();else{const e=Zs.getController(o),{datasetElementType:s,dataElementType:a}=ie.datasets[o];Object.assign(e,{dataElementType:Zs.getElement(a),datasetElementType:s&&Zs.getElement(s)}),n.controller=new e(this,i),t.push(n.controller)}}return this._updateMetasets(),t}_resetElements(){H(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!s&&-1===n.indexOf(e);e.buildOrUpdateElements(i),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),s||H(n,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(pn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){H(this.scales,(t=>{ys.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);et(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e)Mn(t,s,"_removeElements"===i?-n:n)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;t<e;t++)if(!et(s,i(t)))return;return Array.from(s).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ys.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],H(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,tt(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),s={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",s)&&(i.controller._update(e),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(yi.has(this)?this.attached&&!yi.running(this)&&yi.start(this):(this.draw(),mn({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let s,n;for(s=0,n=e.length;s<n;++s){const n=e[s];t&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=function(t){const{xScale:e,yScale:i}=t;if(e&&i)return{left:e.left,right:e.right,top:i.top,bottom:i.bottom}}(t)||this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&ce(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&de(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return he(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=ls.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Ce(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);Q(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),yi.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),ae(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete yn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};H(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){H(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},H(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a<r;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[s+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!j(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,N(n.onHover,[t,a,this],this),r&&N(n.onClick,[t,a,this],this));const h=!j(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}function kn(){return H(wn.instances,(t=>t._plugins.invalidate()))}function Sn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Pn(t,e,i,s,n,o){const{x:a,y:r,startAngle:l,pixelMargin:h,innerRadius:c}=e,d=Math.max(e.outerRadius+s+i-h,0),u=c>0?c+s+i+h:0;let f=0;const g=n-l;if(s){const t=((c>0?c-s:0)+(d>0?d-s:0))/2;f=(g-(0!==t?g*t/(t+s):g))/2}const p=(g-Math.max(.001,g*d-i/it)/d)/2,m=l+p+f,b=n-p-f,{outerStart:x,outerEnd:_,innerStart:y,innerEnd:v}=function(t,e,i,s){const n=Me(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return kt(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:kt(n.innerStart,0,a),innerEnd:kt(n.innerEnd,0,a)}}(e,u,d,b-m),M=d-x,w=d-_,k=m+x/M,S=b-_/w,P=u+y,D=u+v,C=m+y/P,O=b-v/D;if(t.beginPath(),o){const e=(k+S)/2;if(t.arc(a,r,d,k,e),t.arc(a,r,d,e,S),_>0){const e=Sn(w,S,a,r);t.arc(e.x,e.y,_,S,b+rt)}const i=Sn(D,b,a,r);if(t.lineTo(i.x,i.y),v>0){const e=Sn(D,O,a,r);t.arc(e.x,e.y,v,b+rt,O+Math.PI)}const s=(b-v/u+(m+y/u))/2;if(t.arc(a,r,u,b-v/u,s,!0),t.arc(a,r,u,s,m+y/u,!0),y>0){const e=Sn(P,C,a,r);t.arc(e.x,e.y,y,C+Math.PI,m-rt)}const n=Sn(M,m,a,r);if(t.lineTo(n.x,n.y),x>0){const e=Sn(M,k,a,r);t.arc(e.x,e.y,x,m-rt,k)}}else{t.moveTo(a,r);const e=Math.cos(k)*d+a,i=Math.sin(k)*d+r;t.lineTo(e,i);const s=Math.cos(S)*d+a,n=Math.sin(S)*d+r;t.lineTo(s,n)}t.closePath()}class Dn extends Bs{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=_t(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:l,outerRadius:h,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=this.options.spacing/2,u=B(c,r-a)>=st||wt(n,a,r),f=St(o,l+d,h+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,n=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>st?Math.floor(i/st):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const r=s*(1-Math.sin(Math.min(it,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r}=e;let l=e.endAngle;if(o){Pn(t,e,i,s,l,n);for(let e=0;e<o;++e)t.fill();isNaN(r)||(l=a+(r%st||st))}Pn(t,e,i,s,l,n),t.fill()}(t,this,r,n,o),function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r,options:l}=e,{borderWidth:h,borderJoinStyle:c}=l,d="inner"===l.borderAlign;if(!h)return;d?(t.lineWidth=2*h,t.lineJoin=c||"round"):(t.lineWidth=h,t.lineJoin=c||"bevel");let u=e.endAngle;if(o){Pn(t,e,i,s,u,n);for(let e=0;e<o;++e)t.stroke();isNaN(r)||(u=a+(r%st||st))}d&&function(t,e,i){const{startAngle:s,pixelMargin:n,x:o,y:a,outerRadius:r,innerRadius:l}=e;let h=n/r;t.beginPath(),t.arc(o,a,r,s-h,i+h),l>n?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+rt,s-rt),t.closePath(),t.clip()}(t,e,u),o||(Pn(t,e,i,s,u,n),t.stroke())}(t,this,r,n,o),t.restore()}}function Cn(t,e,i=e){t.lineCap=B(i.borderCapStyle,e.borderCapStyle),t.setLineDash(B(i.borderDash,e.borderDash)),t.lineDashOffset=B(i.borderDashOffset,e.borderDashOffset),t.lineJoin=B(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=B(i.borderWidth,e.borderWidth),t.strokeStyle=B(i.borderColor,e.borderColor)}function On(t,e,i){t.lineTo(i.x,i.y)}function An(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,l=Math.max(n,a),h=Math.min(o,r),c=n<a&&o<a||n>r&&o>r;return{count:s,start:l,loop:e.loop,ilen:h<l&&!c?s+h-l:h-l}}function Tn(t,e,i,s){const{points:n,options:o}=e,{count:a,start:r,loop:l,ilen:h}=An(n,i,s),c=function(t){return t.stepped?ue:t.tension||"monotone"===t.cubicInterpolationMode?fe:On}(o);let d,u,f,{move:g=!0,reverse:p}=s||{};for(d=0;d<=h;++d)u=n[(r+(p?h-d:d))%a],u.skip||(g?(t.moveTo(u.x,u.y),g=!1):c(t,f,u,p,o.stepped),f=u);return l&&(u=n[(r+(p?h:0))%a],c(t,f,u,p,o.stepped)),!!l}function Ln(t,e,i,s){const n=e.points,{count:o,start:a,ilen:r}=An(n,i,s),{move:l=!0,reverse:h}=s||{};let c,d,u,f,g,p,m=0,b=0;const x=t=>(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[x(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[x(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(i<f?f=i:i>g&&(g=i),m=(b*m+e)/++b):(_(),t.lineTo(e,i),u=s,b=0,f=g=i),p=i}_()}function En(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?Tn:Ln}const Rn="function"==typeof Path2D;class In extends Bs{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;qe(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const i=t.points,s=t.options.spanGaps,n=i.length;if(!n)return[];const o=!!t._loop,{start:a,end:r}=function(t,e,i,s){let n=0,o=e-1;if(i&&!s)for(;n<e&&!t[n].skip;)n++;for(;n<e&&t[n].skip;)n++;for(n%=e,i&&(o+=n);o>n&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);return function(t,e,i,s){return s&&s.setContext&&i?function(t,e,i,s){const n=t._chart.getContext(),o=bi(t.options),{_datasetIndex:a,options:{spanGaps:r}}=t,l=i.length,h=[];let c=o,d=e[0].start,u=d;function f(t,e,s,n){const o=r?-1:1;if(t!==e){for(t+=l;i[t%l].skip;)t-=o;for(;i[e%l].skip;)e+=o;t%l!=e%l&&(h.push({start:t%l,end:e%l,loop:s,style:n}),c=n,d=e%l)}}for(const t of e){d=r?d:t.start;let e,o=i[d%l];for(u=d+1;u<=t.end;u++){const r=i[u%l];e=bi(s.setContext(Ce(n,{type:"segment",p0:o,p1:r,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:a}))),xi(e,c)&&f(d,u-1,t.loop,c),o=r,c=e}d<u-1&&f(d,u-1,t.loop,c)}return h}(t,e,i,s):e}(t,!0===s?[{start:a,end:r,loop:o}]:function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r<a?r+n:r,!!t._fullLoop&&0===a&&r===n-1),i,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=mi(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?li:t.tension||"monotone"===t.cubicInterpolationMode?hi:ri}(i);let l,h;for(l=0,h=o.length;l<h;++l){const{start:h,end:c}=o[l],d=n[h],u=n[c];if(d===u){a.push(d);continue}const f=r(d,u,Math.abs((s-d[e])/(u[e]-d[e])),i.stepped);f[e]=t[e],a.push(f)}return 1===a.length?a[0]:a}pathSegment(t,e,i){return En(this)(t,this,e,i)}path(t,e,i){const s=this.segments,n=En(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const a of s)o&=n(t,this,a,{start:e,end:e+i-1});return!!o}draw(t,e,i,s){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(t.save(),function(t,e,i,s){Rn&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Cn(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=En(e);for(const r of n)Cn(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}(t,this,i,s),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function zn(t,e,i,s){const n=t.options,{[i]:o}=t.getProps([i],s);return Math.abs(e-o)<n.radius+n.hitRadius}class Fn extends Bs{static id="point";static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(t,e){return zn(this,t,"x",e)}inYRange(t,e){return zn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!he(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,re(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Vn(t,e){const{x:i,y:s,base:n,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let r,l,h,c,d;return t.horizontal?(d=a/2,r=Math.min(i,n),l=Math.max(i,n),h=s-d,c=s+d):(d=o/2,r=i-d,l=i+d,h=Math.min(s,n),c=Math.max(s,n)),{left:r,top:h,right:l,bottom:c}}function Bn(t,e,i,s){return t?0:kt(e,i,s)}function Wn(t,e,i,s){const n=null===e,o=null===i,a=t&&!(n&&o)&&Vn(t,s);return a&&(n||St(e,a.left,a.right))&&(o||St(i,a.top,a.bottom))}function Nn(t,e){t.rect(e.x,e.y,e.w,e.h)}function Hn(t,e,i={}){const s=t.x!==i.x?-e:0,n=t.y!==i.y?-e:0,o=(t.x+t.w!==i.x+i.w?e:0)-s,a=(t.y+t.h!==i.y+i.h?e:0)-n;return{x:t.x+s,y:t.y+n,w:t.w+o,h:t.h+a,radius:t.radius}}class jn extends Bs{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:s}}=this,{inner:n,outer:o}=function(t){const e=Vn(t),i=e.right-e.left,s=e.bottom-e.top,n=function(t,e,i){const s=t.options.borderWidth,n=t.borderSkipped,o=we(s);return{t:Bn(n.top,o.top,0,i),r:Bn(n.right,o.right,0,e),b:Bn(n.bottom,o.bottom,0,i),l:Bn(n.left,o.left,0,e)}}(t,i/2,s/2),o=function(t,e,i){const{enableBorderRadius:s}=t.getProps(["enableBorderRadius"]),n=t.options.borderRadius,o=ke(n),a=Math.min(e,i),r=t.borderSkipped,l=s||z(n);return{topLeft:Bn(!l||r.top||r.left,o.topLeft,0,a),topRight:Bn(!l||r.top||r.right,o.topRight,0,a),bottomLeft:Bn(!l||r.bottom||r.left,o.bottomLeft,0,a),bottomRight:Bn(!l||r.bottom||r.right,o.bottomRight,0,a)}}(t,i/2,s/2);return{outer:{x:e.left,y:e.top,w:i,h:s,radius:o},inner:{x:e.left+n.l,y:e.top+n.t,w:i-n.l-n.r,h:s-n.t-n.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,o.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(n.b,n.r))}}}}(this),a=(r=o.radius).topLeft||r.topRight||r.bottomLeft||r.bottomRight?be:Nn;var r;t.save(),o.w===n.w&&o.h===n.h||(t.beginPath(),a(t,Hn(o,e,n)),t.clip(),a(t,Hn(n,-e,o)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,Hn(n,e)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,e,i){return Wn(this,t,e,i)}inXRange(t,e){return Wn(this,t,null,e)}inYRange(t,e){return Wn(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:s,horizontal:n}=this.getProps(["x","y","base","horizontal"],t);return{x:n?(e+s)/2:e,y:n?i:(i+s)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}var $n=Object.freeze({__proto__:null,ArcElement:Dn,LineElement:In,PointElement:Fn,BarElement:jn});const Yn=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Un=Yn.map((t=>t.replace("rgb(","rgba(").replace(")",", 0.5)")));function Xn(t){return Yn[t%Yn.length]}function qn(t){return Un[t%Un.length]}function Kn(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var Gn={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,i){if(!i.enabled)return;const{data:{datasets:s},options:n}=t.config,{elements:o}=n;if(!i.forceOverride&&(Kn(s)||(a=n)&&(a.borderColor||a.backgroundColor)||o&&Kn(o)))return;var a;const r=function(t){let e=0;return(i,s)=>{const n=t.getDatasetMeta(s).controller;n instanceof Xi?e=function(t,e){return t.backgroundColor=t.data.map((()=>Xn(e++))),e}(i,e):n instanceof Ki?e=function(t,e){return t.backgroundColor=t.data.map((()=>qn(e++))),e}(i,e):n&&(e=function(t,e){return t.borderColor=Xn(e),t.backgroundColor=qn(e),++e}(i,e))}}(t);s.forEach(r)}};function Zn(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Jn(t){t.data.datasets.forEach((t=>{Zn(t)}))}var Qn={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Jn(t);const s=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:a}=e,r=t.getDatasetMeta(n),l=o||e.data;if("y"===De([a,t.options.indexAxis]))return;if(!r.controller.supportsDecimation)return;const h=t.scales[r.xAxisID];if("linear"!==h.type&&"time"!==h.type)return;if(t.options.parsing)return;let c,{start:d,count:u}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=kt(Dt(e,o.axis,a).lo,0,i-1)),s=h?kt(Dt(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(r,l);if(u<=(i.threshold||4*s))Zn(e);else{switch(R(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":c=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;c<o-2;c++){let s,n=0,o=0;const h=Math.floor((c+1)*r)+1+e,m=Math.min(Math.floor((c+2)*r)+1,i)+e,b=m-h;for(s=h;s<m;s++)n+=t[s].x,o+=t[s].y;n/=b,o/=b;const x=Math.floor(c*r)+1+e,_=Math.min(Math.floor((c+1)*r)+1,i)+e,{x:y,y:v}=t[p];for(u=f=-1,s=x;s<_;s++)f=.5*Math.abs((y-n)*(t[s].y-v)-(y-t[s].x)*(o-v)),f>u&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(l,d,u,s,i);break;case"min-max":c=function(t,e,i,s){let n,o,a,r,l,h,c,d,u,f,g=0,p=0;const m=[],b=e+i-1,x=t[e].x,_=t[b].x-x;for(n=e;n<e+i;++n){o=t[n],a=(o.x-x)/_*s,r=o.y;const e=0|a;if(e===l)r<u?(u=r,h=n):r>f&&(f=r,c=n),g=(p*g+o.x)/++p;else{const i=n-1;if(!R(h)&&!R(c)){const e=Math.min(h,c),s=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:g}),s!==d&&s!==i&&m.push({...t[s],x:g})}n>0&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=f=r,h=c=d=n}}return m}(l,d,u,s);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=c}}))},destroy(t){Jn(t)}};function to(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=Mt(n),o=Mt(o)),{property:t,start:n,end:o}}function eo(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function io(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function so(t,e){let i=[],s=!1;return I(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=eo(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new In({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function no(t){return t&&!1!==t.fill}function oo(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!F(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function ao(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=B(i&&i.target,i);return void 0===s&&(s=!!e.backgroundColor),!1!==s&&null!==s&&(!0===s?"origin":s)}(t);if(z(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return F(n)&&Math.floor(n)===n?function(t,e,i,s){return"-"!==t&&"+"!==t||(i=e+i),!(i===e||i<0||i>=s)&&i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ro(t,e,i){const s=[];for(let n=0;n<i.length;n++){const o=i[n],{first:a,last:r,point:l}=lo(o,e,"x");if(!(!l||a&&r))if(a)s.unshift(l);else if(t.push(l),!r)break}t.push(...s)}function lo(t,e,i){const s=t.interpolate(e,i);if(!s)return{};const n=s[i],o=t.segments,a=t.points;let r=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],s=a[e.start][i],h=a[e.end][i];if(St(n,s,h)){r=n===s,l=n===h;break}}return{first:r,last:l,point:s}}class ho{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:s,y:n,radius:o}=this;return e=e||{start:0,end:st},t.arc(s,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:s}=this,n=t.angle;return{x:e+Math.cos(n)*s,y:i+Math.sin(n)*s,angle:n}}}function co(t,e,i){const s=function(t){const{chart:e,fill:i,line:s}=t;if(F(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:s}=t,n=[],o=s.segments,a=s.points,r=function(t,e){const i=[],s=t.getMatchingVisibleMetas("line");for(let t=0;t<s.length;t++){const n=s[t];if(n.index===e)break;n.hidden||i.unshift(n.dataset)}return i}(e,i);r.push(so({x:null,y:e.bottom},s));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)ro(n,a[t],r)}return new In({points:n,options:{}})}(t);if("shape"===i)return!0;const n=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,s=e.options,n=e.getLabels().length,o=s.reverse?e.max:e.min,a=function(t,e,i){let s;return s="start"===t?i:"end"===t?e.options.reverse?e.min:e.max:z(t)?t.value:e.getBaseValue(),s}(i,e,o),r=[];if(s.grid.circular){const t=e.getPointPositionForValue(0,o);return new ho({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<n;++t)r.push(e.getPointPositionForValue(t,a));return r}(t):function(t){const{scale:e={},fill:i}=t,s=function(t,e){let i=null;return"start"===t?i=e.bottom:"end"===t?i=e.top:z(t)?i=e.getPixelForValue(t.value):e.getBasePixel&&(i=e.getBasePixel()),i}(i,e);if(F(s)){const t=e.isHorizontal();return{x:t?s:null,y:t?null:s}}return null}(t)}(t);return n instanceof ho?n:so(n,s)}(e),{line:n,scale:o,axis:a}=e,r=n.options,l=r.fill,h=r.backgroundColor,{above:c=h,below:d=h}=l||{};s&&n.points.length&&(ce(t,i),function(t,e){const{line:i,target:s,above:n,below:o,area:a,scale:r}=e,l=i._loop?"angle":e.axis;t.save(),"x"===l&&o!==n&&(uo(t,s,a.top),fo(t,{line:i,target:s,color:n,scale:r,property:l}),t.restore(),t.save(),uo(t,s,a.bottom)),fo(t,{line:i,target:s,color:o,scale:r,property:l}),t.restore()}(t,{line:n,target:s,above:c,below:d,area:i,scale:o,axis:a}),de(t))}function uo(t,e,i){const{segments:s,points:n}=e;let o=!0,a=!1;t.beginPath();for(const r of s){const{start:s,end:l}=r,h=n[s],c=n[eo(s,l,n)];o?(t.moveTo(h.x,h.y),o=!1):(t.lineTo(h.x,i),t.lineTo(h.x,h.y)),a=!!e.pathSegment(t,r,{move:a}),a?t.closePath():t.lineTo(c.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function fo(t,e){const{line:i,target:s,property:n,color:o,scale:a}=e,r=function(t,e,i){const s=t.segments,n=t.points,o=e.points,a=[];for(const t of s){let{start:s,end:r}=t;r=eo(s,r,n);const l=to(i,n[s],n[r],t.loop);if(!e.segments){a.push({source:t,target:l,start:n[s],end:n[r]});continue}const h=mi(e,l);for(const e of h){const s=to(i,o[e.start],o[e.end],e.loop),r=pi(t,n,s);for(const t of r)a.push({source:t,target:e,start:{[i]:io(l,s,"start",Math.max)},end:{[i]:io(l,s,"end",Math.min)}})}}return a}(i,s,n);for(const{source:e,target:l,start:h,end:c}of r){const{style:{backgroundColor:r=o}={}}=e,d=!0!==s;t.save(),t.fillStyle=r,go(t,a,d&&to(n,h,c)),t.beginPath();const u=!!i.pathSegment(t,e);let f;if(d){u?t.closePath():po(t,s,c,n);const e=!!s.pathSegment(t,l,{move:u,reverse:!0});f=u&&e,f||po(t,s,h,n)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function go(t,e,i){const{top:s,bottom:n}=e.chart.chartArea,{property:o,start:a,end:r}=i||{};"x"===o&&(t.beginPath(),t.rect(a,s,r-a,n-s),t.clip())}function po(t,e,i,s){const n=e.interpolate(i,s);n&&t.lineTo(n.x,n.y)}var mo={id:"filler",afterDatasetsUpdate(t,e,i){const s=(t.data.datasets||[]).length,n=[];let o,a,r,l;for(a=0;a<s;++a)o=t.getDatasetMeta(a),r=o.dataset,l=null,r&&r.options&&r instanceof In&&(l={visible:t.isDatasetVisible(a),index:a,fill:ao(r,a,s),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:r}),o.$filler=l,n.push(l);for(a=0;a<s;++a)l=n[a],l&&!1!==l.fill&&(l.fill=oo(n,a,i.propagate))},beforeDraw(t,e,i){const s="beforeDraw"===i.drawTime,n=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=n.length-1;e>=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&i.fill&&co(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;no(i)&&co(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;no(s)&&"beforeDatasetDraw"===i.drawTime&&co(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const bo=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class xo extends Bs{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=N(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=Pe(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=bo(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,s,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,s,n){const o=function(t,e,i,s){let n=t.text;return n&&"string"!=typeof n&&(n=n.reduce(((t,e)=>t.length>e.length?t:e))),e+i.size/2+s.measureText(n).width}(s,t,e,i),a=function(t,e,i){let s=t;return"string"!=typeof e.text&&(s=_o(e,i)),s}(n,s,e.lineHeight);return{itemWidth:o,itemHeight:a}}(i,e,n,t,s);o>0&&u+m+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:n}}=this,o=ci(n,this.left,this.width);if(this.isHorizontal()){let n=0,a=It(i,this.left+s,this.right-this.lineWidths[n]);for(const r of e)n!==r.row&&(n=r.row,a=It(i,this.left+s,this.right-this.lineWidths[n])),r.top+=this.top+t+s,r.left=o.leftForLtr(o.x(a),r.width),a+=r.width+s}else{let n=0,a=It(i,this.top+t+s,this.bottom-this.columnSizes[n].height);for(const r of e)r.col!==n&&(n=r.col,a=It(i,this.top+t+s,this.bottom-this.columnSizes[n].height)),r.top=a,r.left+=this.left+s,r.left=o.leftForLtr(o.x(r.left),r.width),a+=r.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;ce(t,this),this._draw(),de(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:n,labels:o}=t,a=ie.color,r=ci(t.rtl,this.left,this.width),l=Pe(o.font),{padding:h}=o,c=l.size,d=c/2;let u;this.drawTitle(),s.textAlign=r.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=l.string;const{boxWidth:f,boxHeight:g,itemHeight:p}=bo(o,c),m=this.isHorizontal(),b=this._computeTitleHeight();u=m?{x:It(n,this.left+h,this.right-i[0]),y:this.top+h+b,line:0}:{x:this.left+h,y:It(n,this.top+b+h,this.bottom-e[0].height),line:0},di(this.ctx,t.textDirection);const x=p+h;this.legendItems.forEach(((_,y)=>{s.strokeStyle=_.fontColor,s.fillStyle=_.fontColor;const v=s.measureText(_.text).width,M=r.textAlign(_.textAlign||(_.textAlign=o.textAlign)),w=f+d+v;let k=u.x,S=u.y;if(r.setWidth(this.width),m?y>0&&k+w+h>this.right&&(S=u.y+=x,u.line++,k=u.x=It(n,this.left+h,this.right-i[u.line])):y>0&&S+x>this.bottom&&(k=u.x=k+e[u.line].width+h,u.line++,S=u.y=It(n,this.top+b+h,this.bottom-e[u.line].height)),function(t,e,i){if(isNaN(f)||f<=0||isNaN(g)||g<0)return;s.save();const n=B(i.lineWidth,1);if(s.fillStyle=B(i.fillStyle,a),s.lineCap=B(i.lineCap,"butt"),s.lineDashOffset=B(i.lineDashOffset,0),s.lineJoin=B(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=B(i.strokeStyle,a),s.setLineDash(B(i.lineDash,[])),o.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},l=r.xPlus(t,f/2);le(s,a,l,e+d,o.pointStyleWidth&&f)}else{const o=e+Math.max((c-g)/2,0),a=r.leftForLtr(t,f),l=ke(i.borderRadius);s.beginPath(),Object.values(l).some((t=>0!==t))?be(s,{x:a,y:o,w:f,h:g,radius:l}):s.rect(a,o,f,g),s.fill(),0!==n&&s.stroke()}s.restore()}(r.x(k),S,_),k=((t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e)(M,k+f+d,m?k+w:this.right,t.rtl),function(t,e,i){ge(s,i.text,t,e+p/2,l,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(k),S,_),m)u.x+=w+h;else if("string"!=typeof _.text){const t=l.lineHeight;u.y+=_o(_,t)}else u.y+=x})),ui(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=Pe(e.font),s=Se(e.padding);if(!e.display)return;const n=ci(t.rtl,this.left,this.width),o=this.ctx,a=e.position,r=i.size/2,l=s.top+r;let h,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+l,c=It(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);h=l+It(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=It(a,c,c+d);o.textAlign=n.textAlign(Rt(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,ge(o,e.text,u,h,i)}_computeTitleHeight(){const t=this.options.title,e=Pe(t.font),i=Se(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(St(t,this.left,this.right)&&St(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(s=n[i],St(t,s.left,s.left+s.width)&&St(e,s.top,s.top+s.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const o=this._hoveredItem,a=(n=i,null!==(s=o)&&null!==n&&s.datasetIndex===n.datasetIndex&&s.index===n.index);o&&!a&&N(e.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!a&&N(e.onHover,[t,i,this],this)}else i&&N(e.onClick,[t,i,this],this);var s,n}}function _o(t,e){return e*(t.text?t.text.length+.5:0)}var yo={id:"legend",_element:xo,start(t,e,i){const s=t.legend=new xo({ctx:t.ctx,options:i,chart:t});ys.configure(t,s,i),ys.addBox(t,s)},stop(t){ys.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const s=t.legend;ys.configure(t,s,i),s.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const s=e.datasetIndex,n=i.chart;n.isDatasetVisible(s)?(n.hide(s),e.hidden=!0):(n.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const l=t.controller.getStyle(i?0:void 0),h=Se(l.borderWidth);return{text:e[t.index].label,fillStyle:l.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:l.borderColor,pointStyle:s||l.pointStyle,rotation:l.rotation,textAlign:n||l.textAlign,borderRadius:a&&(r||l.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class vo extends Bs{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=I(i.text)?i.text.length:1;this._padding=Se(i.padding);const n=s*Pe(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:n,options:o}=this,a=o.align;let r,l,h,c=0;return this.isHorizontal()?(l=It(a,i,n),h=e+t,r=n-i):("left"===o.position?(l=i+t,h=It(a,s,e),c=-.5*it):(l=n-t,h=It(a,e,s),c=.5*it),r=s-e),{titleX:l,titleY:h,maxWidth:r,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=Pe(e.font),s=i.lineHeight/2+this._padding.top,{titleX:n,titleY:o,maxWidth:a,rotation:r}=this._drawArgs(s);ge(t,e.text,0,0,i,{color:e.color,maxWidth:a,rotation:r,textAlign:Rt(e.align),textBaseline:"middle",translation:[n,o]})}}var Mo={id:"title",_element:vo,start(t,e,i){!function(t,e){const i=new vo({ctx:t.ctx,options:e,chart:t});ys.configure(t,i,e),ys.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;ys.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;ys.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const wo=new WeakMap;var ko={id:"subtitle",start(t,e,i){const s=new vo({ctx:t.ctx,options:i,chart:t});ys.configure(t,s,i),ys.addBox(t,s),wo.set(t,s)},stop(t){ys.removeBox(t,wo.get(t)),wo.delete(t)},beforeUpdate(t,e,i){const s=wo.get(t);ys.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const So={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();s+=t.x,n+=t.y,++o}}return{x:s/o,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i<s;++i){const s=t[i].element;if(s&&s.hasValue()){const t=yt(e,s.getCenterPoint());t<r&&(r=t,n=s)}}if(n){const t=n.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function Po(t,e){return e&&(I(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Do(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Co(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Oo(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=Pe(e.bodyFont),h=Pe(e.titleFont),c=Pe(e.footerFont),d=o.length,u=n.length,f=s.length,g=Se(e.padding);let p=g.height,m=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);b+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b&&(p+=f*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(b-f)*l.lineHeight+(b-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let x=0;const _=function(t){m=Math.max(m,i.measureText(t).width+x)};return i.save(),i.font=h.string,H(t.title,_),i.font=l.string,H(t.beforeBody.concat(t.afterBody),_),x=e.displayColors?a+2+e.boxPadding:0,H(s,(t=>{H(t.before,_),H(t.lines,_),H(t.after,_)})),x=0,i.font=c.string,H(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function Ao(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function To(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return i<s/2?"top":i>t.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Ao(t,e,i,s),yAlign:s}}function Lo(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ke(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:kt(g,0,s.width-e.width),y:kt(p,0,s.height-e.height)}}function Eo(t,e,i){const s=Se(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Ro(t){return Po([],Do(t))}function Io(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const zo={beforeTitle:L,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex<s)return i[e.dataIndex]}return""},afterTitle:L,beforeBody:L,beforeLabel:L,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const i=t.formattedValue;return R(i)||(e+=i),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:L,afterBody:L,beforeFooter:L,footer:L,afterFooter:L};function Fo(t,e,i,s){const n=t[e].call(i,s);return void 0===n?zo[e].call(i,s):n}class Vo extends Bs{static positioners=So;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,n=new ki(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(this,Ce(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"})))}getTitle(t,e){const{callbacks:i}=e,s=Fo(i,"beforeTitle",this,t),n=Fo(i,"title",this,t),o=Fo(i,"afterTitle",this,t);let a=[];return a=Po(a,Do(s)),a=Po(a,Do(n)),a=Po(a,Do(o)),a}getBeforeBody(t,e){return Ro(Fo(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:i}=e,s=[];return H(t,(t=>{const e={before:[],lines:[],after:[]},n=Io(i,t);Po(e.before,Do(Fo(n,"beforeLabel",this,t))),Po(e.lines,Fo(n,"label",this,t)),Po(e.after,Do(Fo(n,"afterLabel",this,t))),s.push(e)})),s}getAfterBody(t,e){return Ro(Fo(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,s=Fo(i,"beforeFooter",this,t),n=Fo(i,"footer",this,t),o=Fo(i,"afterFooter",this,t);let a=[];return a=Po(a,Do(s)),a=Po(a,Do(n)),a=Po(a,Do(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;a<r;++a)l.push(Co(this.chart,e[a]));return t.filter&&(l=l.filter(((e,s,n)=>t.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),H(l,(e=>{const i=Io(t.callbacks,e);s.push(Fo(i,"labelColor",this,e)),n.push(Fo(i,"labelPointStyle",this,e)),o.push(Fo(i,"labelTextColor",this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=So[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Oo(this,i),a=Object.assign({},t,e),r=To(this.chart,i,a),l=Lo(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=ke(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,b,x,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,x=_+o,y=_-o):(p=d+f,m=p+o,x=_-o,y=_+o),b=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(x=u,_=x-o,p=m-o,b=m+o):(x=u+g,_=x+o,p=m+o,b=m-o),y=x),{x1:p,x2:m,x3:b,y1:x,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=ci(i.rtl,this.x,this.width);for(t.x=Eo(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=Pe(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r<n;++r)e.fillText(s[r],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,r+1===n&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,e,i,s,n){const o=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:r,boxWidth:l,boxPadding:h}=n,c=Pe(n.bodyFont),d=Eo(this,"left",n),u=s.x(d),f=r<c.lineHeight?(c.lineHeight-r)/2:0,g=e.y+f;if(n.usePointStyle){const e={radius:Math.min(l,r)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},i=s.leftForLtr(u,l)+l/2,h=g+r/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,re(t,e,i,h),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,re(t,e,i,h)}else{t.lineWidth=z(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=s.leftForLtr(u,l-h),i=s.leftForLtr(s.xPlus(u,1),l-h-2),a=ke(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,be(t,{x:e,y:g,w:l,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),be(t,{x:i,y:g+1,w:l-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,l,r),t.strokeRect(e,g,l,r),t.fillStyle=o.backgroundColor,t.fillRect(i,g+1,l-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=Pe(i.bodyFont);let d=c.lineHeight,u=0;const f=ci(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,b,x,_,y,v,M;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Eo(this,p,i),e.fillStyle=i.bodyColor,H(this.beforeBody,g),u=a&&"right"!==p?"center"===o?l/2+h:l+2+h:0,_=0,v=s.length;_<v;++_){for(m=s[_],b=this.labelTextColors[_],e.fillStyle=b,H(m.before,g),x=m.lines,a&&x.length&&(this._drawColorBox(e,t,_,f,i),d=Math.max(c.lineHeight,r)),y=0,M=x.length;y<M;++y)g(x[y]),d=c.lineHeight;H(m.after,g)}u=0,d=c.lineHeight,H(this.afterBody,g),t.y-=n}drawFooter(t,e,i){const s=this.footer,n=s.length;let o,a;if(n){const r=ci(i.rtl,this.x,this.width);for(t.x=Eo(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=r.textAlign(i.footerAlign),e.textBaseline="middle",o=Pe(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,a=0;a<n;++a)e.fillText(s[a],r.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,s){const{xAlign:n,yAlign:o}=this,{x:a,y:r}=t,{width:l,height:h}=i,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ke(s.cornerRadius);e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,e.lineWidth=s.borderWidth,e.beginPath(),e.moveTo(a+c,r),"top"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+l-d,r),e.quadraticCurveTo(a+l,r,a+l,r+d),"center"===o&&"right"===n&&this.drawCaret(t,e,i,s),e.lineTo(a+l,r+h-f),e.quadraticCurveTo(a+l,r+h,a+l-f,r+h),"bottom"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+u,r+h),e.quadraticCurveTo(a,r+h,a,r+h-u),"center"===o&&"left"===n&&this.drawCaret(t,e,i,s),e.lineTo(a,r+c),e.quadraticCurveTo(a,r,a+c,r),e.closePath(),e.fill(),s.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=So[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Oo(this,t),a=Object.assign({},i,this._size),r=To(e,t,a),l=Lo(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Se(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),di(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),ui(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!j(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!j(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=So[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}var Bo={id:"tooltip",_element:Vo,positioners:So,afterInit(t,e,i){i&&(t.tooltip=new Vo({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:zo},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Wo=Object.freeze({__proto__:null,Colors:Gn,Decimation:Qn,Filler:mo,Legend:yo,SubTitle:ko,Title:Mo,Tooltip:Bo});function No(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Ho extends qs{static id="category";static defaults={ticks:{callback:No}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(R(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:kt(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:function(t,e,i,s){const n=t.indexOf(e);return-1===n?((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s):n!==t.lastIndexOf(e)?i:n}(i,t,B(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){return No.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function jo(t,e,{horizontal:i,minRotation:s}){const n=mt(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class $o extends qs{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return R(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=dt(s),e=dt(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=0===n?1:Math.abs(.05*n);a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function(t,e){const i=[],{bounds:s,step:n,min:o,max:a,precision:r,count:l,maxTicks:h,maxDigits:c,includeBounds:d}=t,u=n||1,f=h-1,{min:g,max:p}=e,m=!R(o),b=!R(a),x=!R(l),_=(p-g)/(c+1);let y,v,M,w,k=ft((p-g)/f/u)*u;if(k<1e-14&&!m&&!b)return[{value:g},{value:p}];w=Math.ceil(p/k)-Math.floor(g/k),w>f&&(k=ft(w*k/f/u)*u),R(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,M=Math.ceil(p/k)*k):(v=g,M=p),m&&b&&n&&function(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}((a-o)/n,k/1e3)?(w=Math.round(Math.min((a-o)/k,h)),k=(a-o)/w,v=o,M=a):x?(v=m?o:v,M=b?a:M,w=l-1,k=(M-v)/w):(w=(M-v)/k,w=ut(w,Math.round(w),k/1e3)?Math.round(w):Math.ceil(w));const S=Math.max(xt(k),xt(v));y=Math.pow(10,R(r)?S:r),v=Math.round(v*y)/y,M=Math.round(M*y)/y;let P=0;for(m&&(d&&v!==o?(i.push({value:o}),v<o&&P++,ut(Math.round((v+P*k)*y)/y,o,jo(o,_,t))&&P++):v<o&&P++);P<w;++P)i.push({value:Math.round((v+P*k)*y)/y});return b&&d&&M!==a?i.length&&ut(i[i.length-1].value,a,jo(a,_,t))?i[i.length-1].value=a:i.push({value:a}):b&&M!==a||i.push({value:M}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&pt(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return qt(t,this.chart.options.locale,this.options.ticks.format)}}class Yo extends $o{static id="linear";static defaults={ticks:{callback:Gt.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=F(t)?t:0,this.max=F(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=mt(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const Uo=t=>Math.floor(ct(t)),Xo=(t,e)=>Math.pow(10,Uo(t)+e);function qo(t){return 1==t/Math.pow(10,Uo(t))}function Ko(t,e,i){const s=Math.pow(10,i),n=Math.floor(t/s);return Math.ceil(e/s)-n}class Go extends qs{static id="logarithmic";static defaults={ticks:{callback:Gt.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=$o.prototype.parse.apply(this,[t,e]);if(0!==i)return F(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=F(t)?Math.max(0,t):null,this.max=F(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!F(this._userMin)&&(this.min=t===Xo(this.min,0)?Xo(this.min,-1):Xo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t;i===s&&(i<=0?(n(1),o(10)):(n(Xo(i,-1)),o(Xo(s,1)))),i<=0&&n(Xo(s,-1)),s<=0&&o(Xo(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=function(t,{min:e,max:i}){e=V(t.min,e);const s=[],n=Uo(e);let o=function(t,e){let i=Uo(e-t);for(;Ko(t,e,i)>10;)i++;for(;Ko(t,e,i)<10;)i--;return Math.min(i,Uo(t))}(e,i),a=o<0?Math.pow(10,Math.abs(o)):1;const r=Math.pow(10,o),l=n>o?Math.pow(10,n):0,h=Math.round((e-l)*a)/a,c=Math.floor((e-l)/r/10)*r*10;let d=Math.floor((h-c)/Math.pow(10,o)),u=V(t.min,Math.round((l+c+d*Math.pow(10,o))*a)/a);for(;u<i;)s.push({value:u,major:qo(u),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,a=o>=0?1:a),u=Math.round((l+c+d*Math.pow(10,o))*a)/a;const f=V(t.max,u);return s.push({value:f,major:qo(f),significand:d}),s}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&pt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":qt(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=ct(t),this._valueRange=ct(this.max)-ct(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ct(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Zo(t){const e=t.ticks;if(e.display&&t.display){const t=Se(e.backdropPadding);return B(e.font&&e.font.size,ie.font.size)+t.height}return 0}function Jo(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:t<s||t>n?{start:e-i,end:e}:{start:e,end:e+i}}function Qo(t,e,i,s,n){const o=Math.abs(Math.sin(i)),a=Math.abs(Math.cos(i));let r=0,l=0;s.start<e.l?(r=(e.l-s.start)/o,t.l=Math.min(t.l,e.l-r)):s.end>e.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.start<e.t?(l=(e.t-n.start)/a,t.t=Math.min(t.t,e.t-l)):n.end>e.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function ta(t){return 0===t||180===t?"center":t<180?"left":"right"}function ea(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function ia(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,st);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;o<s;o++)i=t.getPointPosition(o,e),n.lineTo(i.x,i.y)}}class sa extends $o{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Gt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Se(Zo(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=F(t)&&!isNaN(t)?t:0,this.max=F(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Zo(this.options))}generateTickLabels(t){$o.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=N(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?it/o:0;for(let d=0;d<o;d++){const o=a.setContext(t.getPointLabelContext(d));n[d]=o.padding;const u=t.getPointPosition(d,t.drawingArea+n[d],r),f=Pe(o.font),g=(l=t.ctx,h=f,c=I(c=t._pointLabels[d])?c:[c],{w:ne(l,h.string,c),h:c.length*h.lineHeight});s[d]=g;const p=Mt(t.getIndexAngle(d)+r),m=Math.round(bt(p));Qo(i,e,p,Jo(m,u.x,g.w,0,180),Jo(m,u.y,g.h,90,270))}var l,h,c;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const s=[],n=t._pointLabels.length,o=t.options,a=Zo(o)/2,r=t.drawingArea,l=o.pointLabels.centerPointLabels?it/n:0;for(let o=0;o<n;o++){const n=t.getPointPosition(o,r+a+i[o],l),u=Math.round(bt(Mt(n.angle+rt))),f=e[o],g=ea(n.y,f.h,u),p=ta(u),m=(h=n.x,c=f.w,"right"===(d=p)?h-=c:"center"===d&&(h-=c/2),h);s.push({x:n.x,y:g,textAlign:p,left:m,top:g,right:m+f.w,bottom:g+f.h})}var h,c,d;return s}(t,s,n)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return Mt(t*(st/(this._pointLabels.length||1))+mt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(R(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(R(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return Ce(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const s=this.getIndexAngle(t)-rt+i;return{x:Math.cos(s)*e+this.xCenter,y:Math.sin(s)*e+this.yCenter,angle:s}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:s,bottom:n}=this._pointLabelItems[t];return{left:e,top:i,right:s,bottom:n}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),ia(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:s,border:n}=e,o=this._pointLabels.length;let a,r,l;if(e.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:s}}=t;for(let n=e-1;n>=0;n--){const e=s.setContext(t.getPointLabelContext(n)),o=Pe(e.font),{x:a,y:r,textAlign:l,left:h,top:c,right:d,bottom:u}=t._pointLabelItems[n],{backdropColor:f}=e;if(!R(f)){const t=ke(e.borderRadius),s=Se(e.backdropPadding);i.fillStyle=f;const n=h-s.left,o=c-s.top,a=d-h+s.width,r=u-c+s.height;Object.values(t).some((t=>0!==t))?(i.beginPath(),be(i,{x:n,y:o,w:a,h:r,radius:t}),i.fill()):i.fillRect(n,o,a,r)}ge(i,t._pointLabels[n],a,r+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e){r=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),a=s.setContext(i),l=n.setContext(i);!function(t,e,i,s,n){const o=t.ctx,a=e.circular,{color:r,lineWidth:l}=e;!a&&!s||!r||!l||i<0||(o.save(),o.strokeStyle=r,o.lineWidth=l,o.setLineDash(n.dash),o.lineDashOffset=n.dashOffset,o.beginPath(),ia(t,i,a,s),o.closePath(),o.stroke(),o.restore())}(this,a,r,o,l)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=Pe(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=Se(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}ge(t,s.label,0,-n,l,{color:r.color})})),t.restore()}drawTitle(){}}const na={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},oa=Object.keys(na);function aa(t,e){return t-e}function ra(t,e){if(R(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),F(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!gt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function la(t,e,i,s){const n=oa.length;for(let o=oa.indexOf(t);o<n-1;++o){const t=na[oa[o]],n=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(n*t.size))<=s)return oa[o]}return oa[n-1]}function ha(t,e,i){if(i){if(i.length){const{lo:s,hi:n}=Pt(i,e);t[i[s]>=e?i[s]:i[n]]=!0}}else t[e]=!0}function ca(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a<o;++a)r=e[a],n[r]=a,s.push({value:r,major:!1});return 0!==o&&i?function(t,e,i,s){const n=t._adapter,o=+n.startOf(e[0].value,s),a=e[e.length-1].value;let r,l;for(r=o;r<=a;r=+n.add(r,1,s))l=i[r],l>=0&&(e[l].major=!0);return e}(t,s,n,i):s}class da extends qs{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),s=this._adapter=new is._date(t.adapters.date);s.init(e),q(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ra(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=F(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=F(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=function(t,e,i){let s=0,n=t.length;for(;s<n&&t[s]<e;)s++;for(;n>s&&t[n-1]>i;)n--;return s>0||n<t.length?t.slice(s,n):t}(s,n,this.max);return this._unit=e.unit||(i.autoSkip?la(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=oa.length-1;o>=oa.indexOf(i);o--){const i=oa[o];if(na[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return oa[i?oa.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=oa.indexOf(t)+1,i=oa.length;e<i;++e)if(na[oa[e]].common)return oa[e]}(this._unit):void 0,this.initOffsets(s),t.reverse&&o.reverse(),ca(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t=[]){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=kt(s,0,o),n=kt(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||la(n.minUnit,e,i,this._getLabelCapacity(e)),a=B(s.ticks.stepSize,1),r="week"===o&&n.isoWeekday,l=gt(r)||!0===r,h={};let c,d,u=e;if(l&&(u=+t.startOf(u,"isoWeek",r)),u=+t.startOf(u,l?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c<i;c=+t.add(c,a,o),d++)ha(h,c,f);return c!==i&&"ticks"!==s.bounds&&1!==d||ha(h,c,f),Object.keys(h).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,s=this._unit,n=e||i[s];return this._adapter.format(t,n)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.ticks.callback;if(o)return N(o,[t,e,i],this);const a=n.time.displayFormats,r=this._unit,l=this._majorUnit,h=r&&a[r],c=l&&a[l],d=i[e],u=l&&c&&d&&d.major;return this._adapter.format(t,s||(u?c:h))}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e<i;++e)s=t[e],s.label=this._tickFormatFunction(s.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,s=mt(this.isHorizontal()?e.maxRotation:e.minRotation),n=Math.cos(s),o=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:i*n+a*o,h:i*o+a*n}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,s=i[e.unit]||i.millisecond,n=this._tickFormatFunction(t,0,ca(this,[t],this._majorUnit),s),o=this._getLabelSize(n),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t<e;++t)i=i.concat(s[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const s=this.getLabels();for(e=0,i=s.length;e<i;++e)t.push(ra(this,s[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Tt(t.sort(aa))}}function ua(t,e,i){let s,n,o,a,r=0,l=t.length-1;i?(e>=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=Dt(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=Dt(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}class fa extends da{static id="timeseries";static defaults=da.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=ua(e,this.min),this._tableRange=ua(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o<a;++o)l=t[o],l>=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o<a;++o)h=s[o+1],r=s[o-1],l=s[o],Math.round((h+r)/2)!==l&&n.push({time:l,pos:o/(a-1)});return n}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(ua(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return ua(this._table,i*this._tableRange+this._minPos,!0)}}var ga=Object.freeze({__proto__:null,CategoryScale:Ho,LinearScale:Yo,LogarithmicScale:Go,RadialLinearScale:sa,TimeScale:da,TimeSeriesScale:fa});const pa=[Qi,$n,Wo,ga];(window.yoast=window.yoast||{})["chart.js"]=e})(); dist/externals/componentsNew.js 0000644 00001001202 15174677550 0012726 0 ustar 00 (()=>{var e={57990:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(85890)),o=d(n(99196)),a=d(n(98487)),l=n(65736),i=n(23695),s=n(37188),u=d(n(46362)),c=d(n(78386));function d(e){return e&&e.__esModule?e:{default:e}}const f=a.default.div` display: flex; align-items: flex-start; font-size: 13px; line-height: 1.5; border: 1px solid rgba(0, 0, 0, 0.2); padding: 16px; color: ${e=>e.alertColor}; background: ${e=>e.alertBackground}; margin-bottom: 20px; `,p=a.default.div` flex-grow: 1; a { color: ${s.colors.$color_alert_link_text}; } p { margin-top: 0; } `,h=(0,a.default)(c.default)` margin-top: 0.1rem; ${(0,i.getDirectionalStyle)("margin-right: 8px","margin-left: 8px")}; `,m=(0,a.default)(u.default)` ${(0,i.getDirectionalStyle)("margin: -8px -12px -8px 8px","margin: -8px 8px -12px -8px")}; font-size: 24px; line-height: 1.4; color: ${e=>e.alertDismissColor}; flex-shrink: 0; min-width: 36px; height: 36px; // Override the base button style: get rid of the button styling. padding: 0; &, &:hover, &:active { /* Inherits box-sizing: border-box so this doesn't change the rendered size. */ border: 2px solid transparent; background: transparent; box-shadow: none; color: ${e=>e.alertDismissColor}; } /* Inherits focus style from the Button component. */ &:focus { background: transparent; color: ${e=>e.alertDismissColor}; border-color: ${s.colors.$color_yoast_focus}; box-shadow: 0px 0px 0px 3px ${s.colors.$color_yoast_focus_outer}; } `;class g extends o.default.Component{getTypeDisplayOptions(e){switch(e){case"error":return{color:s.colors.$color_alert_error_text,background:s.colors.$color_alert_error_background,icon:"alert-error"};case"info":return{color:s.colors.$color_alert_info_text,background:s.colors.$color_alert_info_background,icon:"alert-info"};case"success":return{color:s.colors.$color_alert_success_text,background:s.colors.$color_alert_success_background,icon:"alert-success"};case"warning":return{color:s.colors.$color_alert_warning_text,background:s.colors.$color_alert_warning_background,icon:"alert-warning"}}}render(){if(!0===this.props.isAlertDismissed)return null;const e=this.getTypeDisplayOptions(this.props.type),t=this.props.dismissAriaLabel||(0,l.__)("Dismiss this alert","wordpress-seo"); /* translators: Hidden accessibility text. */return o.default.createElement(f,{alertColor:e.color,alertBackground:e.background,className:this.props.className},o.default.createElement(h,{icon:e.icon,color:e.color}),o.default.createElement(p,null,this.props.children),"function"==typeof this.props.onDismissed?o.default.createElement(m,{alertDismissColor:e.color,onClick:this.props.onDismissed,"aria-label":t},"×"):null)}}g.propTypes={children:r.default.any.isRequired,type:r.default.oneOf(["error","info","success","warning"]).isRequired,onDismissed:r.default.func,isAlertDismissed:r.default.bool,dismissAriaLabel:r.default.string,className:r.default.string},g.defaultProps={onDismissed:null,isAlertDismissed:!1,dismissAriaLabel:"",className:""},t.default=g},47529:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(99196)),o=i(n(85890)),a=i(n(98487)),l=n(23695);function i(e){return e&&e.__esModule?e:{default:e}}const s=a.default.div` box-sizing: border-box; p { margin: 0; font-size: 14px; } `,u=a.default.h3` margin: 8px 0; font-size: 1em; `,c=a.default.ul` margin: 0; list-style: none; padding: 0; `,d=(0,l.makeOutboundLink)(a.default.a` display: inline-block; margin-bottom: 4px; font-size: 14px; `),f=a.default.li` margin: 8px 0; `,p=a.default.div` a { margin: 8px 0 0; } `,h=e=>r.default.createElement(f,{className:e.className},r.default.createElement(d,{className:`${e.className}-link`,href:e.link},e.title),r.default.createElement("p",{className:`${e.className}-description`},e.description));h.propTypes={className:o.default.string.isRequired,title:o.default.string.isRequired,link:o.default.string.isRequired,description:o.default.string.isRequired};const m=e=>r.default.createElement(s,{className:e.className},r.default.createElement(u,{className:`${e.className}__header`},e.title?e.title:e.feed.title),r.default.createElement(c,{className:`${e.className}__posts`,role:"list"},e.feed.items.map((t=>r.default.createElement(h,{className:`${e.className}__post`,key:t.link,title:t.title,link:t.link,description:t.description})))),e.footerLinkText&&r.default.createElement(p,{className:`${e.className}__footer`},r.default.createElement(d,{className:`${e.className}__footer-link`,href:e.feedLink?e.feedLink:e.feed.link},e.footerLinkText)));m.propTypes={className:o.default.string,feed:o.default.object.isRequired,title:o.default.string,footerLinkText:o.default.string,feedLink:o.default.string},m.defaultProps={className:"articlelist-feed"},t.default=m},79743:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FullHeightCard=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),o=u(n(85890)),a=u(n(98487)),l=n(37188),i=n(23695),s=u(n(97230));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const d=a.default.div` position: relative; display: flex; flex-direction: column; background-color: ${l.colors.$color_white}; width: 100%; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); `,f=a.default.img` width: 100%; vertical-align: bottom; `,p=a.default.div` padding: 12px 16px; display: flex; flex-direction: column; flex-grow: 1; `,h=a.default.a` text-decoration: none; color: ${l.colors.$color_pink_dark}; /* IE11 bug header image height see https://github.com/philipwalton/flexbugs#flexbug-5 */ overflow: hidden; &:hover, &:focus, &:active { text-decoration: underline; color: ${l.colors.$color_pink_dark}; } &:focus, &:active { box-shadow: none; } `,m=a.default.h2` margin: 16px 16px 0 16px; font-weight: 400; font-size: 1.5em; line-height: 1.2; color: currentColor; `,g=(0,i.makeOutboundLink)(h);class b extends r.default.Component{getHeader(){return this.props.header?this.props.header.link?r.default.createElement(g,{href:this.props.header.link},r.default.createElement(f,{src:this.props.header.image,alt:""}),r.default.createElement(m,null,this.props.header.title)):r.default.createElement(r.Fragment,null,r.default.createElement(f,{src:this.props.header.image,alt:""}),";",r.default.createElement(m,null,this.props.header.title)):null}getBanner(){return this.props.banner?r.default.createElement(s.default,this.props.banner,this.props.banner.text):null}render(){return r.default.createElement(d,{className:this.props.className,id:this.props.id},this.getHeader(),this.getBanner(),r.default.createElement(p,null,this.props.children))}}t.default=b,t.FullHeightCard=(0,a.default)(b)` height: 100%; `,b.propTypes={className:o.default.string,id:o.default.string,header:o.default.shape({title:o.default.string,image:o.default.string.isRequired,link:o.default.string}),banner:o.default.shape({text:o.default.string.isRequired,textColor:o.default.string,backgroundColor:o.default.string}),children:o.default.any},b.defaultProps={className:"",id:"",header:null,banner:null,children:null}},97230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),o=i(n(85890)),a=i(n(98487)),l=n(37188);function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const u=a.default.span` position: absolute; top: 8px; left: -8px; font-weight: 500; color: ${e=>e.textColor}; line-height: 16px; background-color: ${e=>e.backgroundColor}; padding: 8px 16px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); `,c=a.default.span` position: absolute; top: 40px; left: -8px; /* This code makes the triangle. */ border-top: 8px solid ${l.colors.$color_purple_dark}; border-left: 8px solid transparent; `;function d(e){return r.default.createElement(r.Fragment,null,r.default.createElement(u,{backgroundColor:e.backgroundColor,textColor:e.textColor},e.children),r.default.createElement(c,null))}d.propTypes={backgroundColor:o.default.string,textColor:o.default.string,children:o.default.any},d.defaultProps={backgroundColor:l.colors.$color_pink_dark,textColor:l.colors.$color_white,children:null}},57272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collapsible=void 0,t.CollapsibleStateless=y,t.default=t.StyledIconsButton=t.StyledContainerTopLevel=t.StyledContainer=void 0,t.wrapInHeading=b;var r=n(23695),o=n(37188),a=n(92819),l=d(n(85890)),i=d(n(99196)),s=d(n(98487)),u=d(n(71875)),c=n(91752);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(null,arguments)}const p=s.default.div` padding: 0 16px; margin-bottom: 16px; `,h=t.StyledContainer=s.default.div` background-color: ${o.colors.$color_white}; `,m=t.StyledContainerTopLevel=(0,s.default)(h)` border-top: var(--yoast-border-default); `,g=t.StyledIconsButton=(0,s.default)(u.default)` width: 100%; background-color: ${o.colors.$color_white}; padding: 16px; justify-content: flex-start; border-color: transparent; border: none; border-radius: 0; box-shadow: none; font-weight: normal; :focus { outline: 1px solid ${o.colors.$color_blue}; outline-offset: -1px; } :active { box-shadow: none; background-color: ${o.colors.$color_white}; } svg { ${e=>e.hasSubTitle?"align-self: flex-start;":""} &:first-child { ${(0,r.getDirectionalStyle)("margin-right: 8px","margin-left: 8px")}; } &:last-child { ${(0,r.getDirectionalStyle)("margin-left: 8px","margin-right: 8px")}; } } `;function b(e,t){const n=`h${t.level}`,r=(0,s.default)(n)` margin: 0 !important; padding: 0 !important; font-size: ${t.fontSize} !important; font-weight: ${t.fontWeight} !important; color: ${t.color} !important; ${c.StyledTitle} { font-weight: ${t.fontWeight}; color: ${t.color}; } `;return function(t){return i.default.createElement(r,null,i.default.createElement(e,t))}}const v=b(g,{level:2,fontSize:"1rem",fontWeight:"normal"});function y(e){const{children:t,className:n,hasPadding:r,hasSeparator:o,Heading:a,id:l,isOpen:s,onToggle:u,prefixIcon:d,prefixIconCollapsed:f,suffixIcon:g,suffixIconCollapsed:b,subTitle:v,title:y,titleScreenReaderText:_,renderNewBadgeLabel:x,hasNewBadgeLabel:O}=e;let w=t;s&&r&&(w=i.default.createElement(p,{className:"collapsible_content"},t));const C=o?m:h;return i.default.createElement(C,{className:n},i.default.createElement(a,{id:l,"aria-expanded":s,onClick:u,prefixIcon:s?d:f,suffixIcon:s?g:b,hasSubTitle:!!v},i.default.createElement(c.SectionTitle,{title:y,titleScreenReaderText:_,subTitle:v,renderNewBadgeLabel:x,hasNewBadgeLabel:O})),w)}y.propTypes={children:l.default.oneOfType([l.default.arrayOf(l.default.node),l.default.node]),className:l.default.string,Heading:l.default.func,isOpen:l.default.bool.isRequired,hasSeparator:l.default.bool,hasPadding:l.default.bool,onToggle:l.default.func.isRequired,prefixIcon:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),prefixIconCollapsed:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),subTitle:l.default.string,suffixIcon:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),suffixIconCollapsed:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),title:l.default.string.isRequired,titleScreenReaderText:l.default.string,id:l.default.string,renderNewBadgeLabel:l.default.func,hasNewBadgeLabel:l.default.bool},y.defaultProps={Heading:v,id:null,children:null,className:null,subTitle:null,titleScreenReaderText:null,hasSeparator:!1,hasPadding:!1,prefixIcon:null,prefixIconCollapsed:null,suffixIcon:null,suffixIconCollapsed:null,renderNewBadgeLabel:()=>{},hasNewBadgeLabel:!1};class _ extends i.default.Component{constructor(e){super(e),this.state={isOpen:e.initialIsOpen,headingProps:e.headingProps,Heading:b(g,e.headingProps)},this.toggleCollapse=this.toggleCollapse.bind(this)}static getDerivedStateFromProps(e,t){return e.headingProps.level!==t.headingProps.level||e.headingProps.fontSize!==t.headingProps.fontSize||e.headingProps.fontWeight!==t.headingProps.fontWeight||e.headingProps.color!==t.headingProps.color?{...t,headingProps:e.headingProps,Heading:b(g,e.headingProps)}:null}toggleCollapse(){const{isOpen:e}=this.state,{onToggle:t}=this.props;t&&!1===t(e)||this.setState({isOpen:!e})}render(){const{isOpen:e}=this.state,{children:t}=this.props,n=(0,a.omit)(this.props,["children","onToggle"]);return i.default.createElement(y,f({Heading:this.state.Heading,isOpen:e,onToggle:this.toggleCollapse},n),e&&t)}}t.Collapsible=_,_.propTypes={children:l.default.oneOfType([l.default.arrayOf(l.default.node),l.default.node]),className:l.default.string,initialIsOpen:l.default.bool,hasSeparator:l.default.bool,hasPadding:l.default.bool,prefixIcon:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),prefixIconCollapsed:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),suffixIcon:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),suffixIconCollapsed:l.default.shape({icon:l.default.string,color:l.default.string,size:l.default.string}),title:l.default.string.isRequired,titleScreenReaderText:l.default.string,subTitle:l.default.string,headingProps:l.default.shape({level:l.default.number,fontSize:l.default.string,fontWeight:l.default.string,color:l.default.string}),onToggle:l.default.func,renderNewBadgeLabel:l.default.func,hasNewBadgeLabel:l.default.bool},_.defaultProps={hasSeparator:!1,hasPadding:!1,initialIsOpen:!1,subTitle:null,titleScreenReaderText:null,children:null,className:null,prefixIcon:null,prefixIconCollapsed:null,suffixIcon:{icon:"chevron-up",color:o.colors.$black,size:"24px"},suffixIconCollapsed:{icon:"chevron-down",color:o.colors.$black,size:"24px"},headingProps:{level:2,fontSize:"1rem",fontWeight:"normal",color:o.colors.$color_headings},onToggle:null,renderNewBadgeLabel:()=>{},hasNewBadgeLabel:!1},t.default=_},69424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),o=s(n(85890)),a=s(n(98487)),l=n(37188),i=n(23695);function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const c=a.default.a` color: ${l.colors.$color_black}; white-space: nowrap; display: block; border-radius: 4px; background-color: ${l.colors.$color_grey_cta}; padding: 12px 16px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); border: none; text-decoration: none; font-weight: bold; font-size: inherit; margin-bottom: 8px; &:hover, &:focus, &:active { color: ${l.colors.$color_black}; background-color: ${l.colors.$color_grey_hover}; } &:active { background-color: ${l.colors.$color_grey_hover}; transform: translateY( 1px ); box-shadow: none; filter: none; } `,d=a.default.a` cursor: pointer; color: ${l.colors.$color_black}; white-space: nowrap; display: block; border-radius: 4px; background-color: ${l.colors.$color_button_upsell}; padding: 12px 16px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); border: none; text-decoration: none; font-weight: bold; font-size: inherit; margin-top: 0; margin-bottom: 8px; &:hover, &:focus, &:active { color: ${l.colors.$color_black}; background: ${l.colors.$color_button_upsell_hover}; } &:active { background-color: ${l.colors.$color_button_hover_upsell}; transform: translateY( 1px ); box-shadow: none; filter: none; } `,f=a.default.a` font-weight: bold; `,p=(0,i.makeOutboundLink)(f),h=a.default.div` text-align: center; `,m=a.default.div` ul { list-style-type: none; margin: 0; padding: 0; } li { position: relative; ${(0,i.getDirectionalStyle)("margin-left","margin-right")}: 16px; &:before { content: "✓"; color: ${l.colors.$color_green}; position: absolute; font-weight: bold; display: inline-block; ${(0,i.getDirectionalStyle)("left","right")}: -16px; } } `,g=a.default.div` margin-bottom: 12px; border-bottom: 1px ${l.colors.$color_grey} solid; flex-grow: 1; `;class b extends r.default.Component{getActionBlock(e,t){const n=(0,i.makeOutboundLink)(e);return"true"===t?r.default.createElement(h,null,r.default.createElement(n,{href:this.props.courseUrl},this.props.ctaButtonData.ctaButtonCopy)):r.default.createElement(h,null,r.default.createElement(n,{href:this.props.ctaButtonData.ctaButtonUrl},this.props.ctaButtonData.ctaButtonCopy),r.default.createElement(p,{href:this.props.courseUrl},this.props.readMoreLinkText))}render(){const e="regular"===this.props.ctaButtonData.ctaButtonType?c:d;return r.default.createElement(r.Fragment,null,r.default.createElement(g,null,r.default.createElement(m,{dangerouslySetInnerHTML:{__html:this.props.description}})),this.getActionBlock(e,this.props.isBundle))}}t.default=b,b.propTypes={description:o.default.string,courseUrl:o.default.string,ctaButtonData:o.default.object,readMoreLinkText:o.default.string,isBundle:o.default.string},b.defaultProps={description:"",courseUrl:"",ctaButtonData:{},readMoreLinkText:"",isBundle:""}},27938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(99196)),o=u(n(85890)),a=u(n(98487)),l=n(65736),i=n(25158),s=n(37188);function u(e){return e&&e.__esModule?e:{default:e}}const c=a.default.p` text-align: center; margin: 0 0 16px; padding: 16px 16px 8px 16px; border-bottom: 4px solid ${s.colors.$color_bad}; background: ${s.colors.$color_white}; `;class d extends r.default.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){if(this.state.hasError){const e=(0,l.__)("Something went wrong. Please reload the page.","wordpress-seo");return(0,i.speak)(e,"assertive"),r.default.createElement(c,null,e)}return this.props.children}}t.default=d,d.propTypes={children:o.default.any},d.defaultProps={children:null}},9802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getId=t.default=void 0;const n=()=>Math.random().toString(36).substring(2,6);t.getId=e=>e||n(),t.default=n},33014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const t=`h${e.level}`;return r.default.createElement(t,{className:e.className},e.children)};l.propTypes={level:o.default.number,className:o.default.string,children:o.default.any},l.defaultProps={level:1},t.default=l},30812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.helpTextPropType=t.default=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),o=i(n(85890)),a=i(n(98487)),l=n(37188);function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const u=a.default.p` color: ${e=>e.textColor}; font-size: ${e=>e.textFontSize}; margin-top: 0; `;class c extends r.PureComponent{render(){const{children:e,textColor:t,textFontSize:n}=this.props;return r.default.createElement(u,{textColor:t,textFontSize:n},e)}}t.default=c;const d=t.helpTextPropType={children:o.default.oneOfType([o.default.string,o.default.array]),textColor:o.default.string,textFontSize:o.default.string};c.propTypes={...d,children:d.children.isRequired},c.defaultProps={textColor:l.colors.$color_help_text}},77844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}function i(e){return r.default.createElement("iframe",l({title:e.title},e))}i.propTypes={title:o.default.string.isRequired}},7992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(99196)),o=i(n(85890)),a=i(n(98487)),l=i(n(16653));function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}const u=e=>{const t=(0,a.default)(e.icon)` width: ${e.width}; height: ${e.height}; ${e.color?`fill: ${e.color};`:""} flex: 0 0 auto; `,n=(0,l.default)(e,["icon","width","height","color"]);return r.default.createElement(t,s({role:"img","aria-hidden":"true",focusable:"false"},n))};u.propTypes={icon:o.default.func.isRequired,width:o.default.string,height:o.default.string,color:o.default.string},u.defaultProps={width:"16px",height:"16px"},t.default=u},64213:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r},a=n(37188);const l=o.default.button` align-items: center; justify-content: center; box-sizing: border-box; min-width: 32px; display: inline-flex; border: 1px solid ${a.colors.$color_button_border}; background-color: ${e=>e.pressed?e.pressedBackground:e.unpressedBackground}; box-shadow: ${e=>e.pressed?`inset 0 2px 0 ${(0,a.rgba)(e.pressedBoxShadowColor,.7)}`:`0 1px 0 ${(0,a.rgba)(e.unpressedBoxShadowColor,.7)}`}; border-radius: 3px; cursor: pointer; padding: 0; height: 24px; &:hover { border-color: ${e=>e.hoverBorderColor}; } &:disabled { background-color: ${e=>e.unpressedBackground}; box-shadow: none; border: none; cursor: default; } `;t.default=l},21529:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(99196)),o=s(n(85890)),a=n(37188),l=s(n(78386)),i=s(n(64213));function s(e){return e&&e.__esModule?e:{default:e}}const u=function(e){const t="disabled"===e.marksButtonStatus;let n;return n=t?e.disabledIconColor:e.pressed?e.pressedIconColor:e.unpressedIconColor,r.default.createElement(i.default,{disabled:t,type:"button",onClick:e.onClick,pressed:e.pressed,unpressedBoxShadowColor:e.unpressedBoxShadowColor,pressedBoxShadowColor:e.pressedBoxShadowColor,pressedBackground:e.pressedBackground,unpressedBackground:e.unpressedBackground,id:e.id,"aria-label":e.ariaLabel,"aria-pressed":e.pressed,unpressedIconColor:t?e.disabledIconColor:e.unpressedIconColor,pressedIconColor:e.pressedIconColor,hoverBorderColor:e.hoverBorderColor,className:e.className},r.default.createElement(l.default,{icon:e.icon,color:n,size:"18px"}))};u.propTypes={id:o.default.string.isRequired,ariaLabel:o.default.string.isRequired,onClick:o.default.func.isRequired,unpressedBoxShadowColor:o.default.string,pressedBoxShadowColor:o.default.string,pressedBackground:o.default.string,unpressedBackground:o.default.string,pressedIconColor:o.default.string,unpressedIconColor:o.default.string,icon:o.default.string.isRequired,pressed:o.default.bool.isRequired,hoverBorderColor:o.default.string,marksButtonStatus:o.default.string,disabledIconColor:o.default.string,className:o.default.string},u.defaultProps={unpressedBoxShadowColor:a.colors.$color_button_border,pressedBoxShadowColor:a.colors.$color_purple,pressedBackground:a.colors.$color_pink_dark,unpressedBackground:a.colors.$color_button,pressedIconColor:a.colors.$color_white,unpressedIconColor:a.colors.$color_button_text,hoverBorderColor:a.colors.$color_white,marksButtonStatus:"enabled",disabledIconColor:a.colors.$color_grey},t.default=u},22027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(99196)),o=s(n(98487)),a=s(n(85890)),l=n(37188),i=s(n(78386));function s(e){return e&&e.__esModule?e:{default:e}}const u=o.default.button` align-items: center; justify-content: center; box-sizing: border-box; min-width: 32px; display: inline-flex; border: 1px solid ${l.colors.$color_button_border}; background-color: ${e=>e.background}; box-shadow: ${e=>e.boxShadowColor}; border-radius: 3px; cursor: pointer; padding: 0; height: 24px; &:hover { border-color: ${e=>e.hoverBorderColor}; } `,c=function(e){return r.default.createElement(u,{type:"button",onClick:e.onClick,boxShadowColor:e.boxShadowColor,background:e.background,id:e.id,"aria-label":e.ariaLabel,iconColor:e.iconColor,hoverBorderColor:e.hoverBorderColor,className:e.className},r.default.createElement(i.default,{icon:e.icon,color:e.iconColor,size:"18px"}))};c.propTypes={id:a.default.string.isRequired,ariaLabel:a.default.string.isRequired,onClick:a.default.func.isRequired,boxShadowColor:a.default.string,background:a.default.string,iconColor:a.default.string,icon:a.default.string.isRequired,hoverBorderColor:a.default.string,className:a.default.string},c.defaultProps={boxShadowColor:l.colors.$color_button_border,background:l.colors.$color_button,iconColor:l.colors.$color_button_text,hoverBorderColor:l.colors.$color_white},t.default=c},1453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SimulatedLabel=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(98487));function l(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}t.SimulatedLabel=a.default.div` cursor: pointer; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 4px 0; color: #303030; font-weight: 500; `;const s=e=>r.default.createElement("label",i({htmlFor:e.for,className:e.className},e.optionalAttributes),e.children);s.propTypes={for:o.default.string.isRequired,optionalAttributes:o.default.shape({"aria-label":o.default.string,onClick:o.default.func,className:o.default.string}),children:o.default.any.isRequired,className:o.default.string},s.defaultProps={className:"",optionalAttributes:{}},t.default=s},44722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.languageNoticePropType=t.default=void 0;var r=n(65736),o=n(23695),a=c(n(85890)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),i=c(n(98487)),s=n(23461);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}const d=i.default.p` margin: 1em 0; `,f=(0,o.makeOutboundLink)(i.default.a` margin-left: 4px; `);class p extends l.PureComponent{render(){const{changeLanguageLink:e,canChangeLanguage:t,language:n,showLanguageNotice:o}=this.props;if(!o)return null;let a=(0,r.sprintf)(/* Translators: %s expands to the actual language. */ (0,r.__)("Your site language is set to %s.","wordpress-seo"),`<strong>${n}</strong>`);return t||(a=(0,r.sprintf)(/* Translators: %s expands to the actual language. */ (0,r.__)("Your site language is set to %s. If this is not correct, contact your site administrator.","wordpress-seo"),`<strong>${n}</strong>`)),a=(0,s.safeCreateInterpolateElement)(a,{strong:l.default.createElement("strong",null)}),l.default.createElement(d,null,a,t&&l.default.createElement(f,{href:e},(0,r.__)("Change language","wordpress-seo")))}}t.default=p;const h=t.languageNoticePropType={changeLanguageLink:a.default.string.isRequired,canChangeLanguage:a.default.bool,language:a.default.string.isRequired,showLanguageNotice:a.default.bool};p.propTypes=h,p.defaultProps={canChangeLanguage:!1,showLanguageNotice:!1}},50933:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(99196)),o=i(n(85890)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(98487));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function i(e){return e&&e.__esModule?e:{default:e}}const s=({className:e})=>(""!==e&&(e+=" "),e+="yoast-loader",r.default.createElement("svg",{version:"1.1",id:"Y__x2B__bg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:e},r.default.createElement("g",null,r.default.createElement("g",null,r.default.createElement("linearGradient",{id:"SVGID_1_",gradientUnits:"userSpaceOnUse",x1:"250",y1:"428.6121",x2:"250",y2:"77.122"},r.default.createElement("stop",{offset:"0",style:{stopColor:"#570732"}}),r.default.createElement("stop",{offset:"2.377558e-02",style:{stopColor:"#5D0936"}}),r.default.createElement("stop",{offset:"0.1559",style:{stopColor:"#771549"}}),r.default.createElement("stop",{offset:"0.3019",style:{stopColor:"#8B1D58"}}),r.default.createElement("stop",{offset:"0.4669",style:{stopColor:"#992362"}}),r.default.createElement("stop",{offset:"0.6671",style:{stopColor:"#A12768"}}),r.default.createElement("stop",{offset:"1",style:{stopColor:"#A4286A"}})),r.default.createElement("path",{fill:"url(#SVGID_1_)",d:"M454.7,428.6H118.4c-40.2,0-73.2-32.9-73.2-73.2V150.3c0-40.2,32.9-73.2,73.2-73.2h263.1 c40.2,0,73.2,32.9,73.2,73.2V428.6z"})),r.default.createElement("g",null,r.default.createElement("g",null,r.default.createElement("g",null,r.default.createElement("g",null,r.default.createElement("path",{fill:"#A4286A",d:"M357.1,102.4l-43.8,9.4L239.9,277l-47.2-147.8h-70.2l78.6,201.9c6.7,17.2,6.7,36.3,0,53.5 c-6.7,17.2,45.1-84.1,24.7-75.7c0,0,34.9,97.6,36.4,94.5c7-14.3,13.7-30.3,20.2-48.5L387.4,72 C387.4,72,358.4,102.4,357.1,102.4z"}))))),r.default.createElement("g",null,r.default.createElement("linearGradient",{id:"SVGID_2_",gradientUnits:"userSpaceOnUse",x1:"266.5665",y1:"-6.9686",x2:"266.5665",y2:"378.4586"},r.default.createElement("stop",{offset:"0",style:{stopColor:"#77B227"}}),r.default.createElement("stop",{offset:"0.4669",style:{stopColor:"#75B027"}}),r.default.createElement("stop",{offset:"0.635",style:{stopColor:"#6EAB27"}}),r.default.createElement("stop",{offset:"0.7549",style:{stopColor:"#63A027"}}),r.default.createElement("stop",{offset:"0.8518",style:{stopColor:"#529228"}}),r.default.createElement("stop",{offset:"0.9339",style:{stopColor:"#3C7F28"}}),r.default.createElement("stop",{offset:"1",style:{stopColor:"#246B29"}})),r.default.createElement("path",{fill:"url(#SVGID_2_)",d:"M337,6.1l-98.6,273.8l-47.2-147.8H121L199.6,334c6.7,17.2,6.7,36.3,0,53.5 c-8.8,22.5-23.4,41.8-59,46.6v59.9c69.4,0,106.9-42.6,140.3-136.1L412.1,6.1H337z"}),r.default.createElement("path",{fill:"#FFFFFF",d:"M140.6,500h-6.1v-71.4l5.3-0.7c34.8-4.7,46.9-24.2,54.1-42.7c6.2-15.8,6.2-33.2,0-49l-81.9-210.3h83.7 l43.1,134.9L332.7,0h88.3L286.7,359.9c-17.9,50-36.4,83.4-58.1,105.3C205,488.9,177,500,140.6,500z M146.7,439.2v48.3 c29.9-1.2,53.3-11.1,73.1-31.1c20.4-20.5,38-52.6,55.3-100.9L403.2,12.3h-61.9L238.1,299l-51.3-160.8H130l75.3,193.5 c7.3,18.7,7.3,39.2,0,57.9C197.7,409.3,184.1,432.4,146.7,439.2z"})))));s.propTypes={className:o.default.string},s.defaultProps={className:""};const u=a.keyframes` 0% { transform: scale( 0.70 ); opacity: 0.4; } 80% { opacity: 1 } 100% { transform: scale( 0.95 ); opacity: 1 } `;t.default=(0,a.default)(s)` animation: ${u} 1.15s infinite; animation-direction: alternate; animation-timing-function: cubic-bezier(0.96, 0.02, 0.63, 0.86); `},73028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(99196))&&r.__esModule?r:{default:r};function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}t.default=e=>o.default.createElement("svg",a({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 520 240"}),o.default.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"476.05",y1:"194.48",x2:"476.05",y2:"36.513"},o.default.createElement("stop",{offset:"0",style:{stopColor:"#570732"}}),o.default.createElement("stop",{offset:".038",style:{stopColor:"#610b39"}}),o.default.createElement("stop",{offset:".155",style:{stopColor:"#79164b"}}),o.default.createElement("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),o.default.createElement("stop",{offset:".44",style:{stopColor:"#9a2463"}}),o.default.createElement("stop",{offset:".633",style:{stopColor:"#a22768"}}),o.default.createElement("stop",{offset:"1",style:{stopColor:"#a4286a"}})),o.default.createElement("path",{fill:"url(#a)",d:"M488.7 146.1v-56h20V65.9h-20V36.5h-30.9v29.3h-15.7v24.3h15.7v52.8c0 30 20.9 47.8 43 51.5l9.2-24.8c-12.9-1.6-21.2-11.2-21.3-23.5z"}),o.default.createElement("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"287.149",y1:"172.553",x2:"287.149",y2:"61.835"},o.default.createElement("stop",{offset:"0",style:{stopColor:"#570732"}}),o.default.createElement("stop",{offset:".038",style:{stopColor:"#610b39"}}),o.default.createElement("stop",{offset:".155",style:{stopColor:"#79164b"}}),o.default.createElement("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),o.default.createElement("stop",{offset:".44",style:{stopColor:"#9a2463"}}),o.default.createElement("stop",{offset:".633",style:{stopColor:"#a22768"}}),o.default.createElement("stop",{offset:"1",style:{stopColor:"#a4286a"}})),o.default.createElement("path",{fill:"url(#b)",d:"M332.8 137.3V95.2c0-1.5-.1-3-.2-4.4-2.7-34-51-33.9-88.3-20.9L255 91.7c24.3-11.6 38.9-8.6 44-2.9l.4.4v.1c2.6 3.5 2 9 2 13.4-31.8 0-65.7 4.2-65.7 39.1 0 26.5 33.2 43.6 68 18.3l5.2 12.4h29.8c-2.8-14.5-5.9-27-5.9-35.2zm-31.2-.3c-24.5 27.4-46.9 1.6-23.9-9.6 6.8-2.3 15.9-2.4 23.9-2.4v12z"}),o.default.createElement("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"390.54",y1:"172.989",x2:"390.54",y2:"61.266"},o.default.createElement("stop",{offset:"0",style:{stopColor:"#570732"}}),o.default.createElement("stop",{offset:".038",style:{stopColor:"#610b39"}}),o.default.createElement("stop",{offset:".155",style:{stopColor:"#79164b"}}),o.default.createElement("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),o.default.createElement("stop",{offset:".44",style:{stopColor:"#9a2463"}}),o.default.createElement("stop",{offset:".633",style:{stopColor:"#a22768"}}),o.default.createElement("stop",{offset:"1",style:{stopColor:"#a4286a"}})),o.default.createElement("path",{fill:"url(#c)",d:"M380.3 92.9c0-10.4 16.6-15.2 42.8-3.3l9.1-22C397 57 348.9 56 348.6 92.8c-.1 17.7 11.2 27.2 27.5 33.2 11.3 4.2 27.6 6.4 27.6 15.4-.1 11.8-25.3 13.6-48.4-2.3l-9.3 23.8c31.4 15.6 89.7 16.1 89.4-23.1-.4-38.5-55.1-31.9-55.1-46.9z"}),o.default.createElement("linearGradient",{id:"d",gradientUnits:"userSpaceOnUse",x1:"76.149",y1:"3.197",x2:"76.149",y2:"178.39"},o.default.createElement("stop",{offset:"0",style:{stopColor:"#77b227"}}),o.default.createElement("stop",{offset:".467",style:{stopColor:"#75b027"}}),o.default.createElement("stop",{offset:".635",style:{stopColor:"#6eab27"}}),o.default.createElement("stop",{offset:".755",style:{stopColor:"#63a027"}}),o.default.createElement("stop",{offset:".852",style:{stopColor:"#529228"}}),o.default.createElement("stop",{offset:".934",style:{stopColor:"#3c7f28"}}),o.default.createElement("stop",{offset:"1",style:{stopColor:"#246b29"}})),o.default.createElement("path",{fill:"url(#d)",d:"M108.2 9.2L63.4 133.6 41.9 66.4H10l35.7 91.8c3 7.8 3 16.5 0 24.3-4 10.2-10.6 19-26.8 21.2v27.2c31.5 0 48.6-19.4 63.8-61.9L142.3 9.2h-34.1z"}),o.default.createElement("linearGradient",{id:"e",gradientUnits:"userSpaceOnUse",x1:"175.228",y1:"172.923",x2:"175.228",y2:"62.17"},o.default.createElement("stop",{offset:"0",style:{stopColor:"#570732"}}),o.default.createElement("stop",{offset:".038",style:{stopColor:"#610b39"}}),o.default.createElement("stop",{offset:".155",style:{stopColor:"#79164b"}}),o.default.createElement("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),o.default.createElement("stop",{offset:".44",style:{stopColor:"#9a2463"}}),o.default.createElement("stop",{offset:".633",style:{stopColor:"#a22768"}}),o.default.createElement("stop",{offset:"1",style:{stopColor:"#a4286a"}})),o.default.createElement("path",{fill:"url(#e)",d:"M175.2 62.2c-38.6 0-54 27.3-54 56.2 0 30 15.1 54.6 54 54.6 38.7 0 54.1-27.6 54-54.6-.1-33-16.8-56.2-54-56.2zm0 87.1c-15.7 0-23.4-11.7-23.4-30.9s8.3-32.9 23.4-32.9c15 0 23.2 13.7 23.2 32.9s-7.5 30.9-23.2 30.9z"}))},79610:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(99196)),o=u(n(85890)),a=u(n(83253)),l=u(n(98487)),i=n(37188),s=u(n(78386));function u(e){return e&&e.__esModule?e:{default:e}}const c=l.default.h1` float: left; margin: -4px 0 2rem; font-size: 1rem; `,d=l.default.button` float: right; width: 44px; height: 44px; background: transparent; border: 0; margin: -16px -16px 0 0; padding: 0; cursor: pointer; `;class f extends r.default.Component{constructor(e){super(e)}render(){return r.default.createElement(a.default,{isOpen:this.props.isOpen,onRequestClose:this.props.onClose,role:"dialog",contentLabel:this.props.modalAriaLabel,overlayClassName:`yoast-modal__overlay ${this.props.className}`,className:`yoast-modal__content ${this.props.className}`,appElement:this.props.appElement,bodyOpenClassName:"yoast-modal_is-open"},r.default.createElement("div",null,this.props.heading&&r.default.createElement(c,{className:"yoast-modal__title"},this.props.heading),this.props.closeIconButton&&r.default.createElement(d,{type:"button",onClick:this.props.onClose,className:`yoast-modal__button-close-icon ${this.props.closeIconButtonClassName}`,"aria-label":this.props.closeIconButton},r.default.createElement(s.default,{icon:"times",color:i.colors.$color_grey_text}))),r.default.createElement("div",{className:"yoast-modal__inside"},this.props.children),this.props.closeButton&&r.default.createElement("div",{className:"yoast-modal__actions"},r.default.createElement("button",{type:"button",onClick:this.props.onClose,className:`yoast-modal__button-close ${this.props.closeButtonClassName}`},this.props.closeButton)))}}f.propTypes={children:o.default.any,className:o.default.string,isOpen:o.default.bool,onClose:o.default.func.isRequired,modalAriaLabel:o.default.string.isRequired,appElement:o.default.object.isRequired,heading:o.default.string,closeIconButton:o.default.string,closeIconButtonClassName:o.default.string,closeButton:o.default.string,closeButtonClassName:o.default.string},f.defaultProps={children:null,className:"",heading:"",closeIconButton:"",closeIconButtonClassName:"",closeButton:"",closeButtonClassName:"",isOpen:!1};const p=(0,l.default)(f)` &.yoast-modal__overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); transition: background 100ms ease-out; z-index: 999999; } &.yoast-modal__content { position: absolute; top: 50%; left: 50%; right: auto; bottom: auto; width: auto; max-width: 90%; max-height: 90%; border: 0; border-radius: 0; margin-right: -50%; padding: 24px; transform: translate(-50%, -50%); background-color: #fff; outline: none; @media screen and ( max-width: 500px ) { overflow-y: auto; } @media screen and ( max-height: 640px ) { overflow-y: auto; } } .yoast-modal__inside { clear: both; } .yoast-modal__actions { text-align: right; } .yoast-modal__actions button { margin: 24px 0 0 8px; } `;t.default=p},64737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(99196)),o=s(n(85890)),a=s(n(98487)),l=n(37188),i=s(n(78386));function s(e){return e&&e.__esModule?e:{default:e}}const u=a.default.div` padding: 8px; `,c=a.default.ol` padding: 0; margin: 0; list-style: none; counter-reset: multi-step-progress-counter; li { counter-increment: multi-step-progress-counter; } `,d=a.default.li` display: flex; align-items: baseline; margin: 8px 0; :first-child { margin-top: 0; } :last-child { margin-bottom: 0; } span { margin: 0 8px; } svg { position: relative; top: 2px; } ::before { content: counter( multi-step-progress-counter ); font-size: 12px; background: ${l.colors.$color_pink_dark}; border-radius: 50%; min-width: 16px; height: 16px; padding: 4px; color: ${l.colors.$color_white}; text-align: center; } `,f=(0,a.default)(d)` span { color: ${l.colors.$palette_grey_text_light}; } ::before { background-color: ${l.colors.$palette_grey_medium_dark}; } `,p=(0,a.default)(d)` ::before { background-color: ${l.colors.$palette_grey_medium_dark}; } `;class h extends r.default.Component{render(){return r.default.createElement(u,{role:"status","aria-live":"polite","aria-relevant":"additions text","aria-atomic":!0},r.default.createElement(c,null,this.props.steps.map((e=>{switch(e.status){case"running":return this.renderRunningState(e);case"failed":return this.renderFailedState(e);case"finished":return this.renderFinishedState(e);default:return this.renderPendingState(e)}}))))}renderPendingState(e){return r.default.createElement(f,{key:e.id},r.default.createElement("span",null,e.text))}renderRunningState(e){return r.default.createElement(p,{key:e.id},r.default.createElement("span",null,e.text),r.default.createElement(i.default,{icon:"loading-spinner"}))}renderFinishedState(e){return r.default.createElement(d,{key:e.id},r.default.createElement("span",null,e.text),r.default.createElement(i.default,{icon:"check",color:l.colors.$color_green_medium_light}))}renderFailedState(e){return r.default.createElement(d,{key:e.id},r.default.createElement("span",null,e.text),r.default.createElement(i.default,{icon:"times",color:l.colors.$color_red}))}}h.defaultProps={steps:[]},h.propTypes={steps:o.default.arrayOf(o.default.shape({status:o.default.oneOf(["pending","running","finished","failed"]).isRequired,text:o.default.string.isRequired,id:o.default.string.isRequired}))},t.default=h},18506:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(99196)),o=c(n(85890)),a=c(n(98487)),l=n(65736),i=n(37188),s=c(n(8272)),u=c(n(78386));function c(e){return e&&e.__esModule?e:{default:e}}const d=a.default.div` display: flex; align-items: center; padding: 24px; h1, h2, h3, h4, h5, h6 { font-size: 1.4em; line-height: 1; margin: 0 0 4px 0; @media screen and ( max-width: ${i.breakpoints.mobile} ) { ${e=>e.isDismissable?"margin-right: 30px;":""} } } p:last-child { margin: 0; } @media screen and ( max-width: ${i.breakpoints.mobile} ) { display: block; position: relative; padding: 16px; } `,f=a.default.img` flex: 0 0 ${e=>e.imageWidth?e.imageWidth:"auto"}; height: ${e=>e.imageHeight?e.imageHeight:"auto"}; margin-right: 24px; @media screen and ( max-width: ${i.breakpoints.mobile} ) { display: none; } `,p=a.default.div` flex: 1 1 auto; `,h=a.default.button` flex: 0 0 40px; height: 40px; border: 0; margin: 0 0 0 10px; padding: 0; background: transparent; cursor: pointer; @media screen and ( max-width: ${i.breakpoints.mobile} ) { width: 40px; position: absolute; top: 5px; right: 5px; margin: 0; } `,m=(0,a.default)(u.default)` vertical-align: middle; `;function g(e){const t=`${e.headingLevel}`;return r.default.createElement(s.default,null,r.default.createElement(d,{isDismissable:e.isDismissable},e.imageSrc&&r.default.createElement(f,{src:e.imageSrc,imageWidth:e.imageWidth,imageHeight:e.imageHeight,alt:""}),r.default.createElement(p,null,r.default.createElement(t,null,e.title),r.default.createElement("p",{className:"prova",dangerouslySetInnerHTML:{__html:e.html}})),e.isDismissable&&r.default.createElement(h,{onClick:e.onClick,type:"button","aria-label":(0,l.__)("Dismiss this notice","wordpress-seo")},r.default.createElement(m,{icon:"times",color:i.colors.$color_grey_text,size:"24px"}))))}g.propTypes={imageSrc:o.default.string,imageWidth:o.default.string,imageHeight:o.default.string,title:o.default.string,html:o.default.string,isDismissable:o.default.bool,onClick:o.default.func,headingLevel:o.default.string},g.defaultProps={isDismissable:!1,headingLevel:"h3"},t.default=g},8272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(85890)),o=l(n(98487)),a=n(37188);function l(e){return e&&e.__esModule?e:{default:e}}const i=o.default.div` box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); background-color: ${e=>e.backgroundColor}; min-height: ${e=>e.minHeight}; `;i.propTypes={backgroundColor:r.default.string,minHeight:r.default.string},i.defaultProps={backgroundColor:a.colors.$color_white,minHeight:"0"},t.default=i},57186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(85890)),o=l(n(98487)),a=n(37188);function l(e){return e&&e.__esModule?e:{default:e}}const i=o.default.progress` box-sizing: border-box; width: 100%; height: 8px; display: block; margin-top: 8px; appearance: none; background-color: ${e=>e.backgroundColor}; border: 1px solid ${e=>e.borderColor}; ::-webkit-progress-bar { background-color: ${e=>e.backgroundColor}; } ::-webkit-progress-value { background-color: ${e=>e.progressColor}; transition: width 250ms; } ::-moz-progress-bar { background-color: ${e=>e.progressColor}; } ::-ms-fill { background-color: ${e=>e.progressColor}; border: 0; } `;i.defaultProps={max:1,value:0,progressColor:a.colors.$color_good,backgroundColor:a.colors.$color_background_light,borderColor:a.colors.$color_input_border,"aria-hidden":"true"},i.propTypes={max:r.default.number,value:r.default.number,progressColor:r.default.string,backgroundColor:r.default.string,borderColor:r.default.string,"aria-hidden":r.default.string},t.default=i},5180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(23695),o=i(n(99196)),a=i(n(85890)),l=i(n(98487));function i(e){return e&&e.__esModule?e:{default:e}}const{stripTagsFromHtmlString:s}=r.strings,u=["a","b","strong","em","i","span","p","ul","ol","li","div"],c=l.default.li` display: table-row; font-size: 14px; `,d=l.default.span` display: table-cell; padding: 2px; `,f=(0,l.default)(d)` position: relative; top: 1px; display: inline-block; height: 8px; width: 8px; border-radius: 50%; background-color: ${e=>e.scoreColor}; `;f.propTypes={scoreColor:a.default.string.isRequired};const p=(0,l.default)(d)` padding-left: 8px; width: 100%; `,h=(0,l.default)(d)` font-weight: 600; text-align: right; padding-left: 16px; `,m=e=>o.default.createElement(c,{className:`${e.className}`},o.default.createElement(f,{className:`${e.className}-bullet`,scoreColor:e.scoreColor}),o.default.createElement(p,{className:`${e.className}-text`,dangerouslySetInnerHTML:{__html:s(e.html,u)}}),e.value&&o.default.createElement(h,{className:`${e.className}-score`},e.value));m.propTypes={className:a.default.string.isRequired,scoreColor:a.default.string.isRequired,html:a.default.string.isRequired,value:a.default.number};const g=l.default.ul` display: table; box-sizing: border-box; list-style: none; max-width: 100%; min-width: 200px; margin: 8px 0; padding: 0 8px; `,b=e=>o.default.createElement(g,{className:e.className,role:"list"},e.items.map(((t,n)=>o.default.createElement(m,{className:`${e.className}__item`,key:n,scoreColor:t.color,html:t.html,value:t.value}))));b.propTypes={className:a.default.string,items:a.default.arrayOf(a.default.shape({color:a.default.string.isRequired,html:a.default.string.isRequired,value:a.default.number}))},b.defaultProps={className:"score-assessments"},t.default=b},37553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(33014));function l(e){return e&&e.__esModule?e:{default:e}}const i=e=>r.default.createElement("section",{className:e.className},e.headingText&&r.default.createElement(a.default,{level:e.headingLevel,className:e.headingClassName},e.headingText),e.children);i.propTypes={className:o.default.string,headingText:o.default.string,headingLevel:o.default.number,headingClassName:o.default.string,children:o.default.any},i.defaultProps={headingLevel:1},t.default=i},91752:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StyledTitleContainer=t.StyledTitle=t.StyledSubTitle=t.SectionTitle=void 0;var r=s(n(99196)),o=s(n(85890)),a=s(n(98487)),l=n(37188),i=s(n(42479));function s(e){return e&&e.__esModule?e:{default:e}}const u=t.StyledTitleContainer=a.default.span` ${e=>e.hasNewBadgeLabel?"":"flex-grow: 1;"} overflow-x: hidden; line-height: normal; // Avoid vertical scrollbar in IE 11 when rendered in the WP sidebar. `,c=t.StyledTitle=a.default.span` display: block; line-height: 1.5; text-overflow: ellipsis; overflow: hidden; color: ${l.colors.$color_headings}; `,d=t.StyledSubTitle=a.default.span` display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 0.8125rem; margin-top: 2px; `,f=a.default.div` flex-grow: 1; display: flex; align-items: center; gap: 0.5rem; `,p=({title:e,subTitle:t="",titleScreenReaderText:n="",renderNewBadgeLabel:o=(()=>{}),hasNewBadgeLabel:a=!1})=>{const l=r.default.createElement(r.default.Fragment,null,r.default.createElement(c,null,e,n&&r.default.createElement(i.default,null," "+n)),t&&r.default.createElement(d,null,t));return r.default.createElement(r.default.Fragment,null,a?r.default.createElement(f,null,r.default.createElement(u,{hasNewBadgeLabel:!0},l),o()):r.default.createElement(u,{hasNewBadgeLabel:!1},l))};t.SectionTitle=p,p.propTypes={title:o.default.string.isRequired,titleScreenReaderText:o.default.string,subTitle:o.default.string,renderNewBadgeLabel:o.default.func,hasNewBadgeLabel:o.default.bool}},49526:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(98487));function l(e){return e&&e.__esModule?e:{default:e}}const i=a.default.div` margin: 8px 0; height: ${e=>e.barHeight}; overflow: hidden; `,s=a.default.span` display: inline-block; vertical-align: top; width: ${e=>`${e.progressWidth}%`}; background-color: ${e=>e.progressColor}; height: 100%; `;s.propTypes={progressWidth:o.default.number.isRequired,progressColor:o.default.string.isRequired};const u=e=>{let t=0;for(let n=0;n<e.items.length;n++)e.items[n].value=Math.max(e.items[n].value,0),t+=e.items[n].value;return t<=0?null:r.default.createElement(i,{className:e.className,barHeight:e.barHeight},e.items.map(((n,o)=>r.default.createElement(s,{className:`${e.className}__part`,key:o,progressColor:n.color,progressWidth:n.value/t*100}))))};u.propTypes={className:o.default.string,items:o.default.arrayOf(o.default.shape({value:o.default.number.isRequired,color:o.default.string.isRequired})),barHeight:o.default.string},u.defaultProps={className:"stacked-progress-bar",barHeight:"24px"},t.default=u},78538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StyledSectionBase=t.StyledIcon=t.StyledHeading=void 0;var r=d(n(99196)),o=d(n(85890)),a=d(n(98487)),l=n(37188),i=n(23695),s=d(n(37553)),u=d(n(33014)),c=d(n(78386));function d(e){return e&&e.__esModule?e:{default:e}}const f=t.StyledHeading=(0,a.default)(u.default)` margin-left: ${(0,i.getDirectionalStyle)("0","20px")}; padding: ${(0,i.getDirectionalStyle)("0","20px")}; `,p=t.StyledIcon=(0,a.default)(c.default)``,h=t.StyledSectionBase=(0,a.default)(s.default)` box-shadow: ${e=>e.hasPaperStyle?`0 1px 2px ${(0,l.rgba)(l.colors.$color_black,.2)}`:"none"}; background-color: ${e=>e.hasPaperStyle?l.colors.$color_white:"transparent"}; padding-right: ${e=>e.hasPaperStyle?"20px":"0"}; padding-left: ${e=>e.hasPaperStyle?"20px":"0"}; padding-bottom: ${e=>e.headingText?"0":"10px"}; padding-top: ${e=>e.headingText?"0":"10px"}; *, & { box-sizing: border-box; &:before, &:after { box-sizing: border-box; } } & ${f} { display: flex; align-items: center; padding: 8px 0 0; font-size: 1rem; line-height: 1.5; margin: 0 0 16px; font-family: "Open Sans", sans-serif; font-weight: 300; color: ${e=>e.headingColor?e.headingColor:`${l.colors.$color_grey_dark}`}; } & ${p} { flex: 0 0 auto; ${(0,i.getDirectionalStyle)("margin-right","margin-left")}: 8px; } `,m=e=>r.default.createElement(h,{className:e.className,headingColor:e.headingColor,hasPaperStyle:e.hasPaperStyle},e.headingText&&r.default.createElement(f,{level:e.headingLevel,className:e.headingClassName},e.headingIcon&&r.default.createElement(p,{icon:e.headingIcon,color:e.headingIconColor,size:e.headingIconSize}),e.headingText),e.children);m.propTypes={className:o.default.string,headingLevel:o.default.number,headingClassName:o.default.string,headingColor:o.default.string,headingIcon:o.default.string,headingIconColor:o.default.string,headingIconSize:o.default.string,headingText:o.default.string,hasPaperStyle:o.default.bool,children:o.default.any},m.defaultProps={className:"yoast-section",headingLevel:2,hasPaperStyle:!0},t.default=m},78386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.icons=t.default=void 0;var r=l(n(99196)),o=l(n(98487)),a=n(23695);function l(e){return e&&e.__esModule?e:{default:e}}const i=o.default.svg` width: ${e=>e.size}; height: ${e=>e.size}; flex: none; animation: loadingSpinnerRotator 1.4s linear infinite; & .path { stroke: ${e=>e.fill}; stroke-dasharray: 187; stroke-dashoffset: 0; transform-origin: center; animation: loadingSpinnerDash 1.4s ease-in-out infinite; } @keyframes loadingSpinnerRotator { 0% { transform: rotate( 0deg ); } 100% { transform: rotate( 270deg ); } } @keyframes loadingSpinnerDash { 0% { stroke-dashoffset: 187; } 50% { stroke-dashoffset: 47; transform:rotate( 135deg ); } 100% { stroke-dashoffset: 187; transform: rotate( 450deg ); } } `,s="0 0 1792 1792",u=t.icons={"chevron-down":{viewbox:"0 0 24 24",width:"24px",path:[r.default.createElement("g",{key:"1"},r.default.createElement("path",{fill:"none",d:"M0,0h24v24H0V0z"})),r.default.createElement("g",{key:"2"},r.default.createElement("path",{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"}))]},"chevron-up":{viewbox:"0 0 24 24",width:"24px",path:[r.default.createElement("g",{key:"1"},r.default.createElement("path",{fill:"none",d:"M0,0h24v24H0V0z"})),r.default.createElement("g",{key:"2"},r.default.createElement("path",{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))]},clipboard:{viewbox:s,path:"M768 1664h896v-640h-416q-40 0-68-28t-28-68v-416h-384v1152zm256-1440v-64q0-13-9.5-22.5t-22.5-9.5h-704q-13 0-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h704q13 0 22.5-9.5t9.5-22.5zm256 672h299l-299-299v299zm512 128v672q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-544q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h1088q40 0 68 28t28 68v328q21 13 36 28l408 408q28 28 48 76t20 88z"},check:{viewbox:s,path:"M249.2,431.2c-23,0-45.6,9.4-61.8,25.6L25.6,618.6C9.4,634.8,0,657.4,0,680.4c0,23,9.4,45.6,25.6,61.8 l593.1,593.1c16.2,16.2,38.8,25.6,61.8,25.6c23,0,45.6-9.4,61.8-25.6L1766.4,311c16.2-16.2,25.6-38.8,25.6-61.8 s-9.4-45.6-25.6-61.8L1604.5,25.6C1588.3,9.4,1565.8,0,1542.8,0c-23,0-45.6,9.4-61.8,25.6L680.4,827L311,456.3 C294.8,440.5,272.3,431.2,249.2,431.2z"},"angle-down":{viewbox:s,path:"M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-left":{viewbox:s,path:"M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-right":{viewbox:s,path:"M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"},"angle-up":{viewbox:s,path:"M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"},"arrow-down":{viewbox:s,path:"M896 1791L120.91 448.5L1671.09 448.5z"},"arrow-left":{viewbox:s,path:"M1343.5 1671.09L1 896L1343.5 120.91z"},"arrow-right":{viewbox:s,path:"M1791 896L448.5 1671.09L448.5 120.91z"},"arrow-up":{viewbox:s,path:"M1671.09 1343.5L120.91 1343.5L896 1z"},"caret-right":{viewbox:"0 0 192 512",path:"M 0 384.662 V 127.338 c 0 -17.818 21.543 -26.741 34.142 -14.142 l 128.662 128.662 c 7.81 7.81 7.81 20.474 0 28.284 L 34.142 398.804 C 21.543 411.404 0 402.48 0 384.662 Z"},circle:{viewbox:s,path:"M1664 896q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},desktop:{viewbox:s,path:"M1728 992v-832q0-13-9.5-22.5t-22.5-9.5h-1600q-13 0-22.5 9.5t-9.5 22.5v832q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-832v1088q0 66-47 113t-113 47h-544q0 37 16 77.5t32 71 16 43.5q0 26-19 45t-45 19h-512q-26 0-45-19t-19-45q0-14 16-44t32-70 16-78h-544q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1600q66 0 113 47t47 113z"},edit:{viewbox:s,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"},eye:{viewbox:s,path:"M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"},"exclamation-triangle":{viewbox:s,path:"M1024 1375v-190q0-14-9.5-23.5T992 1152H800q-13 0-22.5 9.5T768 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11H786q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17H128q-34 0-63.5-17T18 1601q-37-63-2-126L784 67q17-31 47-49t65-18 65 18 47 49z"},"file-text":{viewbox:s,path:"M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-1024-864q0-14 9-23t23-9h704q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64zm736 224q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704zm0 256q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704z"},gear:{viewbox:s,path:"M1800 800h-218q-26 -107 -81 -193l154 -154l-210 -210l-154 154q-88 -55 -191 -79v-218h-300v218q-103 24 -191 79l-154 -154l-212 212l154 154q-55 88 -79 191h-218v297h217q23 101 80 194l-154 154l210 210l154 -154q85 54 193 81v218h300v-218q103 -24 191 -79 l154 154l212 -212l-154 -154q57 -93 80 -194h217v-297zM950 650q124 0 212 88t88 212t-88 212t-212 88t-212 -88t-88 -212t88 -212t212 -88z"},key:{viewbox:s,path:"M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5t-102.5-265.5q0-160 95-313t248-248 313-95q163 0 265.5 102.5t102.5 265.5q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z"},list:{viewbox:s,path:"M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"},"loading-spinner":{viewbox:"0 0 66 66",CustomComponent:i,path:[r.default.createElement("circle",{key:"5",className:"path",fill:"none",strokeWidth:"6",strokeLinecap:"round",cx:"33",cy:"33",r:"30"})]},mobile:{viewbox:s,path:"M976 1408q0-33-23.5-56.5t-56.5-23.5-56.5 23.5-23.5 56.5 23.5 56.5 56.5 23.5 56.5-23.5 23.5-56.5zm208-160v-704q0-13-9.5-22.5t-22.5-9.5h-512q-13 0-22.5 9.5t-9.5 22.5v704q0 13 9.5 22.5t22.5 9.5h512q13 0 22.5-9.5t9.5-22.5zm-192-848q0-16-16-16h-160q-16 0-16 16t16 16h160q16 0 16-16zm288-16v1024q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-1024q0-52 38-90t90-38h512q52 0 90 38t38 90z"},"pencil-square":{viewbox:s,path:"M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"},plus:{viewbox:s,path:"M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"},"plus-circle":{viewbox:s,path:"M1344 960v-128q0-26-19-45t-45-19h-256v-256q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v256h-256q-26 0-45 19t-19 45v128q0 26 19 45t45 19h256v256q0 26 19 45t45 19h128q26 0 45-19t19-45v-256h256q26 0 45-19t19-45zm320-64q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},"question-circle":{viewbox:s,path:"M1024 1376v-192q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23-9t9-23zm256-672q0-88-55.5-163t-138.5-116-170-41q-243 0-371 213-15 24 8 42l132 100q7 6 19 6 16 0 25-12 53-68 86-92 34-24 86-24 48 0 85.5 26t37.5 59q0 38-20 61t-68 45q-63 28-115.5 86.5t-52.5 125.5v36q0 14 9 23t23 9h192q14 0 23-9t9-23q0-19 21.5-49.5t54.5-49.5q32-18 49-28.5t46-35 44.5-48 28-60.5 12.5-81zm384 192q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},search:{viewbox:s,path:"M1216 832q0-185-131.5-316.5t-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5 316.5-131.5 131.5-316.5zm512 832q0 52-38 90t-90 38q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225-55.5-273.5 55.5-273.5 150-225 225-150 273.5-55.5 273.5 55.5 225 150 150 225 55.5 273.5q0 220-124 399l343 343q37 37 37 90z"},"seo-score-bad":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M338.2 394.2C315.8 367.4 282.9 352 248 352s-67.8 15.4-90.2 42.2c-13.5 16.3-38.1-4.2-24.6-20.5C161.7 339.6 203.6 320 248 320 s86.3 19.6 114.7 53.8C376.3 390 351.7 410.5 338.2 394.2L338.2 394.2z"},"seo-score-good":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M362.8 346.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5c22.4 26.9 55.2 42.2 90.2 42.2 s67.8-15.4 90.2-42.2C351.6 309.5 376.3 329.9 362.8 346.2L362.8 346.2z"},"seo-score-none":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z"},"seo-score-ok":{viewbox:"0 0 496 512",path:"M248 8c137 0 248 111 248 248S385 504 248 504S0 393 0 256S111 8 248 8z M360 208c0-17.7-14.3-32-32-32 s-32 14.3-32 32s14.3 32 32 32S360 225.7 360 208z M344 368c21.2 0 21.2-32 0-32H152c-21.2 0-21.2 32 0 32H344z M200 208 c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32S200 225.7 200 208z"},times:{viewbox:s,path:"M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"},"times-circle":{viewbox:"0 0 20 20",path:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"},"alert-info":{viewbox:"0 0 512 512",path:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},"alert-error":{viewbox:"0 0 512 512",path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},"alert-success":{viewbox:"0 0 512 512",path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},"alert-warning":{viewbox:"0 0 576 512",path:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},"chart-square-bar":{viewbox:"0 0 24 24",path:[r.default.createElement("path",{key:"1",fill:"#ffffff",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})]}};t.default=(0,a.createSvgIconComponent)(u)},97485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(99196)),o=c(n(85890)),a=c(n(98487)),l=n(3199),i=n(23613),s=n(82572),u=n(23695);function c(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}const f=a.default.span` margin-bottom: 0.5em; `,p=(0,a.default)(s.InputLabel)` display: inline-block; margin-bottom: 0; ${(0,u.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")}; `,h=e=>{const{label:t,helpLink:n,...o}=e;return r.default.createElement(l.InputContainer,null,r.default.createElement(f,null,r.default.createElement(p,{htmlFor:o.id},t),n),r.default.createElement(i.InputField,d({},o,{autoComplete:"off"})))};h.propTypes={type:o.default.string,id:o.default.string.isRequired,label:o.default.string,helpLink:o.default.node},h.defaultProps={type:"text",label:"",helpLink:null},t.default=h},22386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}class i extends r.default.Component{constructor(e){super(e),this.setReference=this.setReference.bind(this)}render(){return r.default.createElement("textarea",l({ref:this.setReference,name:this.props.name,value:this.props.value,onChange:this.props.onChange},this.props.optionalAttributes))}setReference(e){this.ref=e}componentDidUpdate(){this.props.hasFocus&&this.ref.focus()}}i.propTypes={name:o.default.string,value:o.default.string,onChange:o.default.func,optionalAttributes:o.default.object,hasFocus:o.default.bool},i.defaultProps={name:"textarea",value:"",hasFocus:!1,onChange:null,optionalAttributes:{}},t.default=i},18547:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(99196)),o=s(n(85890)),a=s(n(1453)),l=s(n(66763)),i=s(n(22386));function s(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{constructor(e){super(e),this.optionalAttributes=this.parseOptionalAttributes()}render(){return this.optionalAttributes=this.parseOptionalAttributes(),this.props.class&&(this.optionalAttributes.container.className=this.props.class),r.default.createElement("div",this.optionalAttributes.container,r.default.createElement(a.default,{for:this.props.name,optionalAttributes:this.optionalAttributes.label},this.props.label),this.getTextField())}getTextField(){return!0===this.props.multiline?r.default.createElement("div",null,r.default.createElement(i.default,{name:this.props.name,id:this.props.name,onChange:this.props.onChange,optionalAttributes:this.optionalAttributes.field,hasFocus:this.props.hasFocus,value:this.props.value}),this.props.explanation&&r.default.createElement("p",null,this.props.explanation)):r.default.createElement("div",null,r.default.createElement(l.default,{name:this.props.name,id:this.props.name,type:"text",onChange:this.props.onChange,value:this.props.value,hasFocus:this.props.hasFocus,autoComplete:this.props.autoComplete,optionalAttributes:this.optionalAttributes.field}),this.props.explanation&&r.default.createElement("p",null,this.props.explanation))}parseOptionalAttributes(){const e={},t={},n={id:this.props.name};return Object.keys(this.props).forEach(function(r){r.startsWith("label-")&&(t[r.split("-").pop()]=this.props[r]),r.startsWith("field-")&&(n[r.split("-").pop()]=this.props[r]),r.startsWith("container-")&&(e[r.split("-").pop()]=this.props[r])}.bind(this)),{label:t,field:n,container:e}}}u.propTypes={label:o.default.string.isRequired,name:o.default.string.isRequired,onChange:o.default.func.isRequired,value:o.default.string,optionalAttributes:o.default.object,multiline:o.default.bool,hasFocus:o.default.bool,class:o.default.string,explanation:o.default.string,autoComplete:o.default.string},u.defaultProps={optionalAttributes:{},multiline:!1,hasFocus:!1,value:null,class:null,explanation:!1,autoComplete:null},t.default=u},47816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(85890)),o=u(n(99196)),a=u(n(98487)),l=n(65736),i=n(23695),s=n(37188);function u(e){return e&&e.__esModule?e:{default:e}}const c=a.default.div` display: flex; width: 100%; justify-content: space-between; align-items: center; position: relative; `,d=a.default.span` ${(0,i.getDirectionalStyle)("margin-right","margin-left")}: 16px; flex: 1; cursor: pointer; `,f=a.default.div` background-color: ${e=>e.isEnabled?"#a5d6a7":s.colors.$color_button_border}; border-radius: 7px; height: 14px; width: 30px; cursor: pointer; margin: 0; outline: 0; &:focus > span { box-shadow: inset 0 0 0 1px ${s.colors.$color_white}, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } `,p=a.default.span` background-color: ${e=>e.isEnabled?s.colors.$color_green_medium_light:s.colors.$color_grey_medium_dark}; ${e=>e.isEnabled?(0,i.getDirectionalStyle)("margin-left: 12px;","margin-right: 12px;"):(0,i.getDirectionalStyle)("margin-left: -2px;","margin-right: -2px;")}; box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.1); border-radius: 100%; height: 20px; width: 20px; position: absolute; margin-top: -3px; `,h=a.default.span` font-size: 14px; line-height: 20px; ${(0,i.getDirectionalStyle)("margin-left","margin-right")}: 8px; font-style: italic; `;class m extends o.default.Component{constructor(e){super(e),this.onClick=this.props.onToggleDisabled,this.onKeyUp=this.props.onToggleDisabled,this.setToggleState=this.setToggleState.bind(this),this.handleOnKeyDown=this.handleOnKeyDown.bind(this),!0!==e.disable&&(this.onClick=this.setToggleState.bind(this),this.onKeyUp=this.setToggleState.bind(this))}setToggleState(e){"keyup"===e.type&&32!==e.keyCode||this.props.onSetToggleState(!this.props.isEnabled)}handleOnKeyDown(e){32===e.keyCode&&e.preventDefault()}render(){return o.default.createElement(c,null,this.props.labelText&&o.default.createElement(d,{id:this.props.id,onClick:this.onClick},this.props.labelText),o.default.createElement(f,{isEnabled:this.props.isEnabled,onKeyDown:this.handleOnKeyDown,onClick:this.onClick,onKeyUp:this.onKeyUp,tabIndex:"0",role:"checkbox","aria-labelledby":this.props.id,"aria-checked":this.props.isEnabled,"aria-disabled":this.props.disable},o.default.createElement(p,{isEnabled:this.props.isEnabled})),this.props.showToggleStateLabel&&o.default.createElement(h,{"aria-hidden":"true"},this.props.isEnabled?(0,l.__)("On","wordpress-seo"):(0,l.__)("Off","wordpress-seo")))}}m.propTypes={isEnabled:r.default.bool,onSetToggleState:r.default.func,disable:r.default.bool,onToggleDisabled:r.default.func,id:r.default.string.isRequired,labelText:r.default.string,showToggleStateLabel:r.default.bool},m.defaultProps={isEnabled:!1,onSetToggleState:()=>{},labelText:"",disable:!1,onToggleDisabled:()=>{},showToggleStateLabel:!0},t.default=m},1382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(66366)),o=c(n(85890)),a=c(n(99196)),l=c(n(98487)),i=n(37188),s=n(23695),u=c(n(78386));function c(e){return e&&e.__esModule?e:{default:e}}const d=l.default.div` display: flex; padding: 16px; background: ${i.colors.$color_alert_warning_background}; color: ${i.colors.$color_alert_warning_text}; `,f=(0,l.default)(u.default)` margin-top: 2px; `,p=l.default.div` margin: ${(0,s.getDirectionalStyle)("0 0 0 8px","0 8px 0 0")}; `;class h extends a.default.Component{render(){const{message:e}=this.props;return(0,r.default)(e)?null:a.default.createElement(d,null,a.default.createElement(f,{icon:"exclamation-triangle",size:"16px"}),a.default.createElement(p,null,e))}}h.propTypes={message:o.default.array},h.defaultProps={message:[]},t.default=h},64385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{console.warn("The WordList component has been deprecated and will be removed in a future release.");const{title:t,classNamePrefix:n,words:o,header:a,footer:l}=e,i=r.default.createElement("ol",{className:n+"__list"},o.map((e=>r.default.createElement("li",{key:e,className:n+"__item"},e))));return r.default.createElement("div",{className:n},r.default.createElement("p",null,r.default.createElement("strong",null,t)),a,i,l)};l.propTypes={words:o.default.array.isRequired,title:o.default.string.isRequired,header:o.default.string,footer:o.default.string,classNamePrefix:o.default.string},l.defaultProps={classNamePrefix:"",header:"",footer:""},t.default=l},1993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(99196)),o=s(n(85890)),a=n(65736),l=n(23461),i=s(n(31367));function s(e){return e&&e.__esModule?e:{default:e}}const u=({words:e,researchArticleLink:t})=>{const n=r.default.createElement("p",{className:"yoast-field-group__title"},(0,a.__)("Prominent words","wordpress-seo")),o=r.default.createElement("p",null,0===e.length?(0,a.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,a.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),s=r.default.createElement("p",null,(e=>{const t=(0,a.sprintf)( // translators: %1$s: opening link tag, %2$s: closing link tag (0,a.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>");return(0,l.safeCreateInterpolateElement)(t,{a:r.default.createElement("a",{href:e,target:"_blank",rel:"noreferrer"})})})(t));return r.default.createElement(i.default,{words:e,header:n,introduction:o,footer:s})};u.propTypes={words:o.default.arrayOf(o.default.object).isRequired,researchArticleLink:o.default.string.isRequired},t.default=u},31367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(74643));function l(e){return e&&e.__esModule?e:{default:e}}class i extends r.default.Component{constructor(e){super(e),this.state={words:[]}}static getDerivedStateFromProps(e){const t=[...e.words];t.sort(((e,t)=>t.getOccurrences()-e.getOccurrences()));const n=t.map((e=>e.getOccurrences())),r=Math.max(...n);return{words:t.map((e=>{const t=e.getOccurrences();return{name:e.getWord(),number:t,width:t/r*100}}))}}render(){return r.default.createElement("div",null,this.props.header,this.props.introduction,r.default.createElement(a.default,{items:this.state.words}),this.props.footer)}}i.propTypes={words:o.default.array.isRequired,header:o.default.element,introduction:o.default.element,footer:o.default.element},i.defaultProps={header:null,introduction:null,footer:null},t.default=i},14085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(99196))&&r.__esModule?r:{default:r};function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}t.default=e=>o.default.createElement("svg",a({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"}),o.default.createElement("path",{d:"M80,0H420a80,80,0,0,1,80,80V500a0,0,0,0,1,0,0H80A80,80,0,0,1,0,420V80A80,80,0,0,1,80,0Z",fill:"#a4286a"}),o.default.createElement("path",{d:"M437.61,2,155.89,500H500V80A80,80,0,0,0,437.61,2Z",fill:"#6c2548"}),o.default.createElement("path",{d:"M74.4,337.3v34.9c21.6-.9,38.5-8,52.8-22.5s27.4-38,39.9-72.9l92.6-248H214.9L140.3, 236l-37-116.2h-41l54.4,139.8a57.54,57.54,0,0,1,0,41.8C111.2,315.6,101.3,332.3,74.4,337.3Z",fill:"#fff"}),o.default.createElement("circle",{cx:"368.33",cy:"124.68",r:"97.34",transform:"translate(19.72 296.97) rotate(-45)",fill:"#9fda4f"}),o.default.createElement("path",{d:"M416.2,39.93,320.46,209.44A97.34,97.34,0,1,0,416.2,39.93Z",fill:"#77b227"}),o.default.createElement("path",{d:"M294.78,254.75h0l-.15-.08-.13-.07h0a63.6,63.6,0,0,0-62.56,110.76h0l.07,0,.06,0h0a63.6,63.6,0,0,0,62.71-110.67Z",fill:"#fec228"}),o.default.createElement("path",{d:"M294.5,254.59,231.94,365.35A63.6,63.6,0,1,0,294.5,254.59Z",fill:"#f49a00"}),o.default.createElement("path",{d:"M222.31,450.07A38.16,38.16,0,0,0,203,416.83h0l0,0h0a38.18,38.18,0,1,0,19.41,33.27Z",fill:"#ff4e47"}),o.default.createElement("path",{d:"M202.9,416.8l-37.54,66.48A38.17,38.17,0,0,0,202.9,416.8Z",fill:"#ed261f"}))},72768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=i(n(99196)),o=i(n(85890)),a=i(n(98487)),l=i(n(77844));function i(e){return e&&e.__esModule?e:{default:e}}const s=a.default.div` position: relative; padding-bottom: 56.25%; /* 16:9 */ height: 0; overflow: hidden; iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } `;function u(e){return r.default.createElement(s,null,r.default.createElement(l.default,e))}u.propTypes={width:o.default.number,height:o.default.number,src:o.default.string.isRequired,title:o.default.string.isRequired,frameBorder:o.default.number,allowFullScreen:o.default.bool},u.defaultProps={width:560,height:315,frameBorder:0,allowFullScreen:!0}},76916:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(43905));function l(e){return e&&e.__esModule?e:{default:e}}class i extends r.default.Component{constructor(){super(),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.state={focused:!1}}focus(){this.setState({focused:!0})}blur(){this.setState({focused:!1})}getStyles(){return!0===this.state.focused?a.default.ScreenReaderText.focused:a.default.ScreenReaderText.default}render(){return r.default.createElement("a",{href:"#"+this.props.anchor,className:"screen-reader-shortcut",style:this.getStyles(),onFocus:this.focus,onBlur:this.blur},this.props.children)}}i.propTypes={anchor:o.default.string.isRequired,children:o.default.string.isRequired},t.default=i},42479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=l(n(43905));function l(e){return e&&e.__esModule?e:{default:e}}const i=e=>r.default.createElement("span",{className:"screen-reader-text",style:a.default.ScreenReaderText.default},e.children);i.propTypes={children:o.default.string.isRequired},t.default=i},43905:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={ScreenReaderText:{default:{clip:"rect(1px, 1px, 1px, 1px)",position:"absolute",height:"1px",width:"1px",overflow:"hidden"},focused:{clip:"auto",display:"block",left:"5px",top:"5px",height:"auto",width:"auto",zIndex:"100000",position:"absolute",backgroundColor:"#eeeeee ",padding:"10px"}}}},75377:(e,t,n)=>{"use strict";n(89364),n(26242),n(91370),n(68798),n(16798)},41834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(99196))&&r.__esModule?r:{default:r},a=n(65736);t.default=()=>o.default.createElement("span",{className:"yoast-badge yoast-beta-badge"},(0,a.__)("Beta","wordpress-seo"))},40815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BetaBadge",{enumerable:!0,get:function(){return o.default}}),n(15446),n(54760);var r,o=(r=n(41834))&&r.__esModule?r:{default:r}},22490:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonStyledLink=t.Button=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}n(40367);const i="yoast-button yoast-button--",s={buy:{iconAfter:"yoast-button--buy__caret"},edit:{iconBefore:"yoast-button--edit"},upsell:{iconAfter:"yoast-button--buy__caret"}},u={primary:i+"primary",secondary:i+"secondary",buy:i+"buy",hide:"yoast-hide",remove:"yoast-remove",upsell:i+"buy",purple:i+"primary",grey:i+"secondary",yellow:i+"buy",edit:i+"primary"},c=(e,t)=>{let n=u[e];return t&&(n+=" yoast-button--small"),n},d=e=>s[e]||null,f=e=>{const{children:t,className:n,variant:o,small:a,type:i,buttonRef:s,...u}=e,f=d(o),p=f&&f.iconBefore,h=f&&f.iconAfter;return r.default.createElement("button",l({ref:s,className:n||c(o,a),type:i},u),!!p&&r.default.createElement("span",{className:p}),t,!!h&&r.default.createElement("span",{className:h}))};t.Button=f,f.propTypes={onClick:o.default.func,type:o.default.string,className:o.default.string,buttonRef:o.default.object,small:o.default.bool,variant:o.default.oneOf(Object.keys(u)),children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)])},f.defaultProps={className:"",type:"button",variant:"primary",small:!1,children:null,onClick:null,buttonRef:null};const p=e=>{const{children:t,className:n,variant:o,small:a,buttonRef:i,...s}=e,u=d(o),f=u&&u.iconBefore,p=u&&u.iconAfter;return r.default.createElement("a",l({className:n||c(o,a),ref:i},s),!!f&&r.default.createElement("span",{className:f}),t,!!p&&r.default.createElement("span",{className:p}))};t.ButtonStyledLink=p,p.propTypes={href:o.default.string.isRequired,variant:o.default.oneOf(Object.keys(u)),small:o.default.bool,className:o.default.string,buttonRef:o.default.object,children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)])},p.defaultProps={className:"",variant:"primary",small:!1,children:null,buttonRef:null}},13537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseButton=void 0;var r=l(n(99196)),o=l(n(85890));n(40367);var a=n(65736);function l(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}const s=r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512",role:"img","aria-hidden":"true",focusable:"false"},r.default.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),u=e=>r.default.createElement("button",i({className:"yoast-close","aria-label":(0,a.__)("Close","wordpress-seo"),type:"button"},e),s);t.CloseButton=u,u.propTypes={onClick:o.default.func.isRequired}},76149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ButtonStyledLink",{enumerable:!0,get:function(){return r.ButtonStyledLink}}),Object.defineProperty(t,"CloseButton",{enumerable:!0,get:function(){return o.CloseButton}}),Object.defineProperty(t,"NewButton",{enumerable:!0,get:function(){return r.Button}}),n(40367);var r=n(22490),o=n(13537)},46362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseButton=void 0,t.addActiveStyle=h,t.addBaseStyle=d,t.addButtonStyles=void 0,t.addFocusStyle=f,t.addHoverStyle=p,t.default=void 0;var r=s(n(98487)),o=s(n(57349)),a=s(n(85890)),l=n(37188),i=n(23695);function s(e){return e&&e.__esModule?e:{default:e}}const u={minHeight:32,verticalPadding:4,borderWidth:1},c=u.minHeight-2*u.verticalPadding-2*u.borderWidth;function d(e){return(0,r.default)(e)` display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; border-width: ${`${u.borderWidth}px`}; border-style: solid; margin: 0; padding: ${`${u.verticalPadding}px`} 10px; border-radius: 3px; cursor: pointer; box-sizing: border-box; font-size: inherit; font-family: inherit; font-weight: inherit; text-align: ${(0,i.getDirectionalStyle)("left","right")}; overflow: visible; min-height: ${`${u.minHeight}px`}; transition: var(--yoast-transition-default); svg { // Safari 10 align-self: center; } // Only needed for IE 10+. Don't add spaces within brackets for this to work. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { ::after { display: inline-block; content: ""; min-height: ${`${c}px`}; } } `}function f(e){return(0,r.default)(e)` &::-moz-focus-inner { border-width: 0; } &:focus { outline: none; border-color: ${e=>e.focusBorderColor}; color: ${e=>e.focusColor}; background-color: ${e=>e.focusBackgroundColor}; box-shadow: 0 0 3px ${e=>(0,l.rgba)(e.focusBoxShadowColor,.8)} } `}function p(e){return(0,r.default)(e)` &:hover { color: ${e=>e.hoverColor}; background-color: ${e=>e.hoverBackgroundColor}; border-color: var(--yoast-color-border--default); } `}function h(e){return(0,r.default)(e)` &:active { color: ${e=>e.activeColor}; background-color: ${e=>e.activeBackgroundColor}; border-color: ${e=>e.hoverBorderColor}; box-shadow: inset 0 2px 5px -3px ${e=>(0,l.rgba)(e.activeBorderColor,.5)} } `}const m=t.addButtonStyles=(0,o.default)([h,f,p,d]),g=t.BaseButton=m(r.default.button` color: ${e=>e.textColor}; border-color: ${e=>e.borderColor}; background: ${e=>e.backgroundColor}; box-shadow: 0 1px 0 ${e=>(0,l.rgba)(e.boxShadowColor,1)}; `);g.propTypes={type:a.default.string,backgroundColor:a.default.string,textColor:a.default.string,borderColor:a.default.string,boxShadowColor:a.default.string,hoverColor:a.default.string,hoverBackgroundColor:a.default.string,activeColor:a.default.string,activeBackgroundColor:a.default.string,activeBorderColor:a.default.string,focusColor:a.default.string,focusBackgroundColor:a.default.string,focusBorderColor:a.default.string,focusBoxShadowColor:a.default.string},g.defaultProps={type:"button",backgroundColor:l.colors.$color_button,textColor:l.colors.$color_button_text,borderColor:l.colors.$color_button_border,boxShadowColor:l.colors.$color_button_border,hoverColor:l.colors.$color_button_text_hover,hoverBackgroundColor:l.colors.$color_button_hover,activeColor:l.colors.$color_button_text_hover,activeBackgroundColor:l.colors.$color_button,activeBorderColor:l.colors.$color_button_border_active,focusColor:l.colors.$color_button_text_hover,focusBackgroundColor:l.colors.$color_white,focusBorderColor:l.colors.$color_blue,focusBoxShadowColor:l.colors.$color_blue_dark},t.default=g},4532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(99196)),o=c(n(85890)),a=c(n(98487)),l=c(n(16653)),i=n(23695),s=c(n(46362)),u=n(95235);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{children:t,icon:n,iconColor:o}=e;let c=u.SvgIcon;t&&(c=function(e){return(0,a.default)(e)` margin: ${(0,i.getDirectionalStyle)("0 8px 0 0","0 0 0 8px")}; flex-shrink: 0; `}(c));const d=(0,l.default)(e,"icon");return r.default.createElement(s.default,d,r.default.createElement(c,{icon:n,color:o}),t)};d.propTypes={icon:o.default.string.isRequired,iconColor:o.default.string,children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node,o.default.string])},d.defaultProps={iconColor:"#000"},t.default=d},3234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(99196)),o=d(n(98487)),a=d(n(85890)),l=d(n(57349)),i=d(n(16653)),s=n(37188),u=d(n(78386)),c=n(46362);function d(e){return e&&e.__esModule?e:{default:e}}const f=(0,l.default)([c.addActiveStyle,c.addFocusStyle,c.addHoverStyle])(o.default.button` display: inline-flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; box-sizing: border-box; border: 1px solid transparent; margin: 0; padding: 8px; overflow: visible; font-family: inherit; font-weight: inherit; color: ${e=>e.textColor}; background: ${e=>e.backgroundColor}; font-size: ${e=>e.textFontSize}; svg { margin: 0 0 8px; flex-shrink: 0; fill: currentColor; // Safari 10 align-self: center; } &:active { box-shadow: none; } `),p=e=>{const{children:t,icon:n,textColor:o}=e,a=(0,i.default)(e,"icon");return r.default.createElement(f,a,r.default.createElement(u.default,{icon:n,color:o}),t)};p.propTypes={type:a.default.string,icon:a.default.string.isRequired,textColor:a.default.string,textFontSize:a.default.string,backgroundColor:a.default.string,borderColor:a.default.string,hoverColor:a.default.string,hoverBackgroundColor:a.default.string,hoverBorderColor:a.default.string,activeColor:a.default.string,activeBackgroundColor:a.default.string,activeBorderColor:a.default.string,focusColor:a.default.string,focusBackgroundColor:a.default.string,focusBorderColor:a.default.string,focusBoxShadowColor:a.default.string,children:a.default.oneOfType([a.default.arrayOf(a.default.node),a.default.node,a.default.string]).isRequired},p.defaultProps={type:"button",textColor:s.colors.$color_blue,textFontSize:"inherit",backgroundColor:"transparent",borderColor:"transparent",hoverColor:s.colors.$color_white,hoverBackgroundColor:s.colors.$color_blue,hoverBorderColor:s.colors.$color_button_border_hover,activeColor:s.colors.$color_white,activeBackgroundColor:s.colors.$color_blue,activeBorderColor:s.colors.$color_button_border_active,focusColor:s.colors.$color_white,focusBackgroundColor:s.colors.$color_blue,focusBorderColor:s.colors.$color_blue,focusBoxShadowColor:s.colors.$color_blue_dark},t.default=p},71875:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(99196)),o=i(n(85890)),a=i(n(46362)),l=n(95235);function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}const u=e=>{const{children:t,className:n,prefixIcon:o,suffixIcon:i,...u}=e;return r.default.createElement(a.default,s({className:n},u),o&&o.icon&&r.default.createElement(l.SvgIcon,{icon:o.icon,color:o.color,size:o.size}),t,i&&i.icon&&r.default.createElement(l.SvgIcon,{icon:i.icon,color:i.color,size:i.size}))};u.propTypes={className:o.default.string,prefixIcon:o.default.shape({icon:o.default.string,color:o.default.string,size:o.default.string}),suffixIcon:o.default.shape({icon:o.default.string,color:o.default.string,size:o.default.string}),children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node,o.default.string])},t.default=u},16785:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkButton=void 0;var r=i(n(98487)),o=i(n(85890)),a=n(37188),l=n(46362);function i(e){return e&&e.__esModule?e:{default:e}}const s=t.LinkButton=(0,l.addButtonStyles)(r.default.a` text-decoration: none; color: ${e=>e.textColor}; border-color: ${e=>e.borderColor}; background: ${e=>e.backgroundColor}; box-shadow: 0 1px 0 ${e=>(0,a.rgba)(e.boxShadowColor,1)}; `);s.propTypes={backgroundColor:o.default.string,textColor:o.default.string,borderColor:o.default.string,boxShadowColor:o.default.string,hoverColor:o.default.string,hoverBackgroundColor:o.default.string,hoverBorderColor:o.default.string,activeColor:o.default.string,activeBackgroundColor:o.default.string,activeBorderColor:o.default.string,focusColor:o.default.string,focusBackgroundColor:o.default.string,focusBorderColor:o.default.string,focusBoxShadowColor:o.default.string},s.defaultProps={backgroundColor:a.colors.$color_button,textColor:a.colors.$color_button_text,borderColor:a.colors.$color_button_border,boxShadowColor:a.colors.$color_button_border,hoverColor:a.colors.$color_button_text_hover,hoverBackgroundColor:a.colors.$color_button_hover,hoverBorderColor:a.colors.$color_button_border_hover,activeColor:a.colors.$color_button_text_hover,activeBackgroundColor:a.colors.$color_button,activeBorderColor:a.colors.$color_button_border_hover,focusColor:a.colors.$color_button_text_hover,focusBackgroundColor:a.colors.$color_white,focusBorderColor:a.colors.$color_blue,focusBoxShadowColor:a.colors.$color_blue_dark}},60813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpsellButtonBase=t.UpsellButton=void 0,t.addButtonStyles=p;var r=u(n(99196)),o=u(n(85890)),a=u(n(98487)),l=n(37188),i=u(n(78386)),s=n(83908);function u(e){return e&&e.__esModule?e:{default:e}}const c={minHeight:48,verticalPadding:8,borderWidth:0},d=c.minHeight-2*c.verticalPadding-2*c.borderWidth,f=(0,a.default)(i.default)` margin: 2px 4px 0 4px; flex-shrink: 0; `;function p(e){return(0,a.default)(e)` display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; min-height: ${`${c.minHeight}px`}; margin: 0; overflow: auto; min-width: 152px; padding: 0 16px; padding: ${`${c.verticalPadding}px`} 8px ${`${c.verticalPadding}px`} 16px; border: 0; border-radius: 4px; box-sizing: border-box; font: 400 16px/24px "Open Sans", sans-serif; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); transition: box-shadow 150ms ease-out; &:hover, &:focus, &:active { background: ${l.colors.$color_button_upsell_hover}; } &:active { transform: translateY( 1px ); box-shadow: none; filter: none; } // Only needed for IE 10+. Don't add spaces within brackets for this to work. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { ::after { display: inline-block; content: ""; min-height: ${`${d}px`}; } } `}const h=t.UpsellButtonBase=p((0,a.default)(s.YoastButtonBase)` color: ${e=>e.textColor}; background: ${e=>e.backgroundColor}; overflow: visible; cursor: pointer; &::-moz-focus-inner { border-width: 0; } // Only needed for Safari 10 and only for buttons. span { display: inherit; align-items: inherit; justify-content: inherit; width: 100%; } `);h.propTypes={backgroundColor:o.default.string,hoverColor:o.default.string,textColor:o.default.string},h.defaultProps={backgroundColor:l.colors.$color_button_upsell,hoverColor:l.colors.$color_button_hover_upsell,textColor:l.colors.$color_black};const m=e=>{const{children:t}=e;return r.default.createElement(h,e,t,r.default.createElement(f,{icon:"caret-right",color:l.colors.$color_black,size:"16px"}))};t.UpsellButton=m,m.propTypes={backgroundColor:o.default.string,hoverColor:o.default.string,textColor:o.default.string,children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node])}},71732:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpsellLinkButton=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r},a=n(37188);t.UpsellLinkButton=o.default.a` align-items: center; justify-content: center; vertical-align: middle; color: ${a.colors.$color_black}; white-space: nowrap; display: inline-flex; border-radius: 4px; background-color: ${a.colors.$color_button_upsell}; padding: 4px 8px 8px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); border: none; text-decoration: none; font-size: inherit; &:hover, &:focus, &:active { color: ${a.colors.$color_black}; background: ${a.colors.$color_button_upsell_hover}; } &:active { background-color: ${a.colors.$color_button_hover_upsell}; transform: translateY( 1px ); box-shadow: none; filter: none; } `},83908:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastButtonBase=t.YoastButton=void 0,t.addButtonStyles=c;var r=i(n(99196)),o=i(n(85890)),a=i(n(98487)),l=n(37188);function i(e){return e&&e.__esModule?e:{default:e}}const s={minHeight:48,verticalPadding:0,borderWidth:0},u=s.minHeight-2*s.verticalPadding-2*s.borderWidth;function c(e){return(0,a.default)(e)` display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; min-height: ${`${s.minHeight}px`}; margin: 0; padding: 0 16px; padding: ${`${s.verticalPadding}px`} 16px; border: 0; border-radius: 4px; box-sizing: border-box; font: 400 14px/24px "Open Sans", sans-serif; text-transform: uppercase; box-shadow: 0 2px 8px 0 ${(0,l.rgba)(l.colors.$color_black,.3)}; transition: box-shadow 150ms ease-out; &:hover, &:focus, &:active { box-shadow: 0 4px 10px 0 ${(0,l.rgba)(l.colors.$color_black,.2)}, inset 0 0 0 100px ${(0,l.rgba)(l.colors.$color_black,.1)}; color: ${e=>e.textColor}; } &:active { transform: translateY( 1px ); box-shadow: none; } // Only needed for IE 10+. Don't add spaces within brackets for this to work. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { ::after { display: inline-block; content: ""; min-height: ${`${u}px`}; } } `}const d=({className:e,onClick:t,type:n,children:o,isExpanded:a})=>r.default.createElement("button",{className:e,onClick:t,type:n,"aria-expanded":a},r.default.createElement("span",null,o));t.YoastButtonBase=d,d.propTypes={className:o.default.string,onClick:o.default.func,type:o.default.string,isExpanded:o.default.bool,children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node,o.default.string])},d.defaultProps={type:"button"};const f=t.YoastButton=c((0,a.default)(d)` color: ${e=>e.textColor}; background: ${e=>e.backgroundColor}; min-width: 152px; ${e=>e.withTextShadow?`text-shadow: 0 0 2px ${l.colors.$color_black}`:""}; overflow: visible; cursor: pointer; &::-moz-focus-inner { border-width: 0; } // Only needed for Safari 10 and only for buttons. span { display: inherit; align-items: inherit; justify-content: inherit; width: 100%; } `);f.propTypes={backgroundColor:o.default.string,textColor:o.default.string,withTextShadow:o.default.bool},f.defaultProps={backgroundColor:l.colors.$color_green_medium_light,textColor:l.colors.$color_white,withTextShadow:!0}},78892:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastLinkButton=void 0;var r=i(n(85890)),o=i(n(98487)),a=n(37188),l=n(83908);function i(e){return e&&e.__esModule?e:{default:e}}const s=t.YoastLinkButton=(0,l.addButtonStyles)(o.default.a` text-decoration: none; color: ${e=>e.textColor}; background: ${e=>e.backgroundColor}; min-width: 152px; ${e=>e.withTextShadow?`text-shadow: 0 0 2px ${a.colors.$color_black}`:""}; `);s.propTypes={backgroundColor:r.default.string,textColor:r.default.string,withTextShadow:r.default.bool},s.defaultProps={backgroundColor:a.colors.$color_green_medium_light,textColor:a.colors.$color_white,withTextShadow:!0}},24764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r,o=(r=n(85890))&&r.__esModule?r:{default:r},a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),l=n(36925);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(e){const t=(0,a.useCallback)((t=>{e.onChange(t.target.value)}),[e.onChange]);return a.default.createElement(l.FieldGroup,{wrapperClassName:"yoast-field-group yoast-field-group__checkbox"},a.default.createElement("input",{type:"checkbox",id:e.id,checked:e.checked,onChange:t}),a.default.createElement("label",{htmlFor:e.id},e.label))}n(79520),s.propTypes={id:o.default.string.isRequired,label:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.node),o.default.node]).isRequired,checked:o.default.bool,onChange:o.default.func.isRequired},s.defaultProps={checked:!1}},16236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function(){return o.default}}),n(79520);var r,o=(r=n(24764))&&r.__esModule?r:{default:r}},74643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=n(65736);function l(e){return e&&e.__esModule?e:{default:e}}n(8436);const i={width:o.default.number.isRequired,name:o.default.string.isRequired,number:o.default.number.isRequired},s=e=>{ /* translators: Hidden accessibility text; %d expands to number of occurrences. */ const t=(0,a.sprintf)((0,a.__)("%d occurrences","wordpress-seo"),e.number);return r.default.createElement("li",{key:e.name+"_dataItem",style:{"--yoast-width":`${e.width}%`}},e.name,r.default.createElement("span",null,e.number),r.default.createElement("span",{className:"screen-reader-text"},t))};s.propTypes=i;const u=e=>r.default.createElement("ul",{className:"yoast-data-model","aria-label":(0,a.__)("Prominent words","wordpress-seo")},e.items.map(s));u.propTypes={items:o.default.arrayOf(o.default.shape(i))},u.defaultProps={items:[]},t.default=u},35957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DataModel",{enumerable:!0,get:function(){return o.default}}),n(8436);var r,o=(r=n(74643))&&r.__esModule?r:{default:r}},84084:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FieldGroupProps=t.FieldGroupDefaultProps=void 0;var r=u(n(99196)),o=u(n(85890));n(86264);var a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(14764)),l=u(n(70610)),i=u(n(46708));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}const c=({htmlFor:e,label:t,linkTo:n,linkText:o,description:s,children:u,wrapperClassName:c,titleClassName:d,hasNewBadge:f,hasPremiumBadge:p})=>{const h=e?r.default.createElement("label",{htmlFor:e},t):r.default.createElement("b",null,t);return r.default.createElement("div",{className:c},""!==t&&r.default.createElement("div",{className:d},h,p&&r.default.createElement(i.default,{inLabel:!0}),f&&r.default.createElement(l.default,{inLabel:!0}),""!==n&&r.default.createElement(a.default,{linkTo:n,linkText:o})),""!==s&&r.default.createElement("p",{className:"field-group-description"},s),u)},d=t.FieldGroupProps={label:o.default.string,description:o.default.string,children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]),wrapperClassName:o.default.string,titleClassName:o.default.string,htmlFor:o.default.string,...a.helpIconProps},f=t.FieldGroupDefaultProps={label:"",description:"",children:[],wrapperClassName:"yoast-field-group",titleClassName:"yoast-field-group__title",htmlFor:"",...a.helpIconDefaultProps};c.propTypes=d,c.defaultProps=f,t.default=c},36925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FieldGroup",{enumerable:!0,get:function(){return o.default}}),n(86264);var r,o=(r=n(84084))&&r.__esModule?r:{default:r}},14764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.helpIconProps=t.helpIconDefaultProps=t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=n(65736);function l(e){return e&&e.__esModule?e:{default:e}}n(14640);const i=t.helpIconProps={linkTo:o.default.string,linkText:o.default.string},s=t.helpIconDefaultProps={linkTo:"",linkText:""},u=({linkTo:e,linkText:t})=>r.default.createElement("a",{className:"yoast-help",target:"_blank",href:e,rel:"noopener noreferrer"},r.default.createElement("span",{className:"yoast-help__icon"},r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",role:"img","aria-hidden":"true",focusable:"false"},r.default.createElement("path",{d:"M12 6A6 6 0 110 6a6 6 0 0112 0zM6.2 2C4.8 2 4 2.5 3.3 3.5l.1.4.8.7.4-.1c.5-.5.8-.9 1.4-.9.5 0 1.1.4 1.1.8s-.3.6-.7.9C5.8 5.6 5 6 5 7c0 .2.2.4.3.4h1.4L7 7c0-.8 2-.8 2-2.6C9 3 7.5 2 6.2 2zM6 8a1.1 1.1 0 100 2.2A1.1 1.1 0 006 8z"}))),r.default.createElement("span",{className:"screen-reader-text"},t),r.default.createElement("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ (0,a.__)("(Opens in a new browser tab)","wordpress-seo")));u.propTypes=i,u.defaultProps=s,t.default=u},5057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HelpIcon",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"helpIconDefaultProps",{enumerable:!0,get:function(){return r.helpIconDefaultProps}}),Object.defineProperty(t,"helpIconProps",{enumerable:!0,get:function(){return r.helpIconProps}}),n(14640);var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(r,l,i):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(14764));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}},42345:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(99196)),o=n(65736),a=u(n(67967)),l=u(n(85890)),i=u(n(84084)),s=u(n(57990));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){const t=!1===e.usingFallback&&""!==e.imageUrl,n=e.imageUrl||e.defaultImageUrl||"",l=e.warnings.length>0&&(t||e.usingFallback),u=["yoast-image-select__preview"];""===n&&u.push("yoast-image-select__preview--no-preview"),l&&u.push("yoast-image-select__preview-has-warnings");const c={imageSelected:t,onClick:e.onClick,onRemoveImageClick:e.onRemoveImageClick,selectImageButtonId:e.selectImageButtonId,replaceImageButtonId:e.replaceImageButtonId,removeImageButtonId:e.removeImageButtonId,isDisabled:e.isDisabled},d=()=>r.default.createElement("span",{className:"screen-reader-text"},t?(0,o.__)("Replace image","wordpress-seo"):(0,o.__)("Select image","wordpress-seo"));return r.default.createElement("div",{className:"yoast-image-select",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},r.default.createElement(i.default,{label:e.label,hasNewBadge:e.hasNewBadge,hasPremiumBadge:e.hasPremiumBadge},e.hasPreview&&r.default.createElement("button",{className:u.join(" "),onClick:e.onClick,type:"button",disabled:e.isDisabled},""!==n&&r.default.createElement("img",{src:n,alt:e.imageAltText,className:"yoast-image-select__preview--image"}),r.default.createElement(d,null)),l&&r.default.createElement("div",{role:"alert"},e.warnings.map(((e,t)=>r.default.createElement(s.default,{key:`warning${t}`,type:"warning"},e)))),r.default.createElement(a.default,c)))}t.default=c,c.propTypes={defaultImageUrl:l.default.string,imageUrl:l.default.string,imageAltText:l.default.string,hasPreview:l.default.bool.isRequired,label:l.default.string.isRequired,onClick:l.default.func,onMouseEnter:l.default.func,onMouseLeave:l.default.func,onRemoveImageClick:l.default.func,selectImageButtonId:l.default.string,replaceImageButtonId:l.default.string,removeImageButtonId:l.default.string,warnings:l.default.arrayOf(l.default.string),hasNewBadge:l.default.bool,isDisabled:l.default.bool,usingFallback:l.default.bool,hasPremiumBadge:l.default.bool},c.defaultProps={defaultImageUrl:"",imageUrl:"",imageAltText:"",onClick:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},onRemoveImageClick:()=>{},selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",warnings:[],hasNewBadge:!1,isDisabled:!1,usingFallback:!1,hasPremiumBadge:!1}},67967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(99196)),a=n(76149),l=n(65736),i=(r=n(85890))&&r.__esModule?r:{default:r};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const u=e=>{const{imageSelected:t,onClick:n,onRemoveImageClick:r,selectImageButtonId:i,replaceImageButtonId:s,removeImageButtonId:u,isDisabled:c}=e,d=(0,o.useCallback)((e=>{e.target.previousElementSibling.focus(),r()}),[r]);return o.default.createElement("div",{className:"yoast-image-select-buttons"},o.default.createElement(a.NewButton,{variant:"secondary",id:t?s:i,onClick:n,disabled:c},t?(0,l.__)("Replace image","wordpress-seo"):(0,l.__)("Select image","wordpress-seo")),t&&o.default.createElement(a.NewButton,{variant:"remove",id:u,onClick:d,disabled:c},(0,l.__)("Remove image","wordpress-seo")))};t.default=u,u.propTypes={imageSelected:i.default.bool,onClick:i.default.func,onRemoveImageClick:i.default.func,selectImageButtonId:i.default.string,replaceImageButtonId:i.default.string,removeImageButtonId:i.default.string,isDisabled:i.default.bool},u.defaultProps={imageSelected:!1,onClick:()=>{},onRemoveImageClick:()=>{},selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",isDisabled:!1}},38951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageSelect",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"ImageSelectButtons",{enumerable:!0,get:function(){return o.default}}),n(55022);var r=a(n(42345)),o=a(n(67967));function a(e){return e&&e.__esModule?e:{default:e}}},95235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={StyledSection:!0,StyledHeading:!0,StyledSectionBase:!0,LinkButton:!0,Button:!0,BaseButton:!0,addHoverStyle:!0,addActiveStyle:!0,addFocusStyle:!0,addBaseStyle:!0,addButtonStyles:!0,Collapsible:!0,CollapsibleStateless:!0,StyledIconsButton:!0,StyledContainer:!0,StyledContainerTopLevel:!0,wrapInHeading:!0,Alert:!0,ArticleList:!0,Card:!0,FullHeightCard:!0,CardBanner:!0,CourseDetails:!0,IconLabeledButton:!0,IconButton:!0,IconsButton:!0,ErrorBoundary:!0,Heading:!0,HelpText:!0,Icon:!0,IconButtonBase:!0,IconButtonToggle:!0,IconCTAEditButton:!0,IFrame:!0,Input:!0,WordOccurrenceInsights:!0,KeywordSuggestions:!0,Label:!0,SimulatedLabel:!0,LanguageNotice:!0,languageNoticePropType:!0,Loader:!0,MultiStepProgress:!0,Notification:!0,Paper:!0,ProgressBar:!0,Section:!0,SectionTitle:!0,ScoreAssessments:!0,StackedProgressBar:!0,SvgIcon:!0,icons:!0,SynonymsInput:!0,Textarea:!0,Textfield:!0,Toggle:!0,UpsellButton:!0,UpsellLinkButton:!0,YoastButton:!0,InputField:!0,YoastLinkButton:!0,Logo:!0,Modal:!0,YoastSeoIcon:!0,Warning:!0,YouTubeVideo:!0,WordList:!0,WordOccurrences:!0,VariableEditorInputContainer:!0,ListTable:!0,ZebrafiedListTable:!0,Row:!0,ScreenReaderText:!0,ScreenReaderShortcut:!0};Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"ArticleList",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"BaseButton",{enumerable:!0,get:function(){return O.BaseButton}}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"CardBanner",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"CollapsibleStateless",{enumerable:!0,get:function(){return w.CollapsibleStateless}}),Object.defineProperty(t,"CourseDetails",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"ErrorBoundary",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"FullHeightCard",{enumerable:!0,get:function(){return k.FullHeightCard}}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"HelpText",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"IFrame",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"IconButtonBase",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"IconButtonToggle",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"IconCTAEditButton",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"IconLabeledButton",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"IconsButton",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"InputField",{enumerable:!0,get:function(){return ie.InputField}}),Object.defineProperty(t,"KeywordSuggestions",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"Label",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"LanguageNotice",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"LinkButton",{enumerable:!0,get:function(){return a.LinkButton}}),Object.defineProperty(t,"ListTable",{enumerable:!0,get:function(){return be.ListTable}}),Object.defineProperty(t,"Loader",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"Logo",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"MultiStepProgress",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"Paper",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return ve.Row}}),Object.defineProperty(t,"ScoreAssessments",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"ScreenReaderShortcut",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(t,"ScreenReaderText",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(t,"Section",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"SectionTitle",{enumerable:!0,get:function(){return Z.SectionTitle}}),Object.defineProperty(t,"SimulatedLabel",{enumerable:!0,get:function(){return z.SimulatedLabel}}),Object.defineProperty(t,"StackedProgressBar",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"StyledContainer",{enumerable:!0,get:function(){return w.StyledContainer}}),Object.defineProperty(t,"StyledContainerTopLevel",{enumerable:!0,get:function(){return w.StyledContainerTopLevel}}),Object.defineProperty(t,"StyledHeading",{enumerable:!0,get:function(){return o.StyledHeading}}),Object.defineProperty(t,"StyledIconsButton",{enumerable:!0,get:function(){return w.StyledIconsButton}}),Object.defineProperty(t,"StyledSection",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"StyledSectionBase",{enumerable:!0,get:function(){return o.StyledSectionBase}}),Object.defineProperty(t,"SvgIcon",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"SynonymsInput",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"Textarea",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"Textfield",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"Toggle",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"UpsellButton",{enumerable:!0,get:function(){return oe.UpsellButton}}),Object.defineProperty(t,"UpsellLinkButton",{enumerable:!0,get:function(){return ae.UpsellLinkButton}}),Object.defineProperty(t,"VariableEditorInputContainer",{enumerable:!0,get:function(){return ge.VariableEditorInputContainer}}),Object.defineProperty(t,"Warning",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"WordList",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"WordOccurrenceInsights",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"WordOccurrences",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"YoastButton",{enumerable:!0,get:function(){return le.YoastButton}}),Object.defineProperty(t,"YoastLinkButton",{enumerable:!0,get:function(){return se.YoastLinkButton}}),Object.defineProperty(t,"YoastSeoIcon",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"YouTubeVideo",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"ZebrafiedListTable",{enumerable:!0,get:function(){return be.ZebrafiedListTable}}),Object.defineProperty(t,"addActiveStyle",{enumerable:!0,get:function(){return O.addActiveStyle}}),Object.defineProperty(t,"addBaseStyle",{enumerable:!0,get:function(){return O.addBaseStyle}}),Object.defineProperty(t,"addButtonStyles",{enumerable:!0,get:function(){return O.addButtonStyles}}),Object.defineProperty(t,"addFocusStyle",{enumerable:!0,get:function(){return O.addFocusStyle}}),Object.defineProperty(t,"addHoverStyle",{enumerable:!0,get:function(){return O.addHoverStyle}}),Object.defineProperty(t,"icons",{enumerable:!0,get:function(){return Q.icons}}),Object.defineProperty(t,"languageNoticePropType",{enumerable:!0,get:function(){return V.languageNoticePropType}}),Object.defineProperty(t,"wrapInHeading",{enumerable:!0,get:function(){return w.wrapInHeading}}),n(75377),n(37704);var o=we(n(78538)),a=n(16785),l=n(76149);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var i=n(16236);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=n(35957);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var u=n(36925);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=n(38951);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var d=n(24420);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var f=n(54297);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var p=n(46465);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var h=n(55138);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var m=n(5185);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));var g=n(5057);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}));var b=n(43781);Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))}));var v=n(8850);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var y=n(51495);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var _=n(40815);Object.keys(_).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}}))}));var x=n(31233);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var O=we(n(46362)),w=we(n(57272)),C=xe(n(57990)),P=xe(n(47529)),k=we(n(79743)),E=xe(n(97230)),S=xe(n(69424)),M=xe(n(3234)),j=xe(n(4532)),I=xe(n(71875)),T=xe(n(27938)),$=xe(n(33014)),B=xe(n(30812)),R=xe(n(7992)),L=xe(n(64213)),N=xe(n(21529)),q=xe(n(22027)),D=xe(n(77844)),F=xe(n(66763)),A=xe(n(1993)),z=we(n(1453)),V=we(n(44722)),H=xe(n(50933)),U=xe(n(64737)),W=xe(n(18506)),G=xe(n(8272)),Y=xe(n(57186)),K=xe(n(37553)),Z=n(91752),X=xe(n(5180)),J=xe(n(49526)),Q=we(n(78386)),ee=xe(n(97485)),te=xe(n(22386)),ne=xe(n(18547)),re=xe(n(47816)),oe=n(60813),ae=n(71732),le=n(83908),ie=n(23613),se=n(78892),ue=xe(n(73028)),ce=xe(n(79610)),de=xe(n(14085)),fe=xe(n(1382)),pe=xe(n(72768)),he=xe(n(64385)),me=xe(n(31367)),ge=n(3199),be=n(98872),ve=n(87923),ye=xe(n(42479)),_e=xe(n(76916));function xe(e){return e&&e.__esModule?e:{default:e}}function Oe(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Oe=function(e){return e?n:t})(e)}function we(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Oe(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}},66763:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}class i extends r.default.Component{constructor(e){super(e),this.setReference=this.setReference.bind(this)}componentDidUpdate(){this.props.hasFocus&&this.ref.focus()}setReference(e){this.ref=e}render(){return r.default.createElement("input",l({ref:this.setReference,type:this.props.type,name:this.props.name,defaultValue:this.props.value,onChange:this.props.onChange,autoComplete:this.props.autoComplete,className:this.props.className},this.props.optionalAttributes))}}i.propTypes={name:o.default.string,type:o.default.oneOf(["button","checkbox","number","password","progress","radio","submit","text"]),value:o.default.any,onChange:o.default.func,optionalAttributes:o.default.object,hasFocus:o.default.bool,autoComplete:o.default.string,className:o.default.string},i.defaultProps={name:"input",type:"text",value:"",hasFocus:!1,className:"",onChange:null,optionalAttributes:{},autoComplete:null},t.default=i},3199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VariableEditorInputContainer=t.InputContainer=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r};t.VariableEditorInputContainer=o.default.div.attrs({})` flex: 0 1 100%; border: 1px solid ${e=>e.isActive?"#5b9dd9":"#ddd"}; padding: 4px 5px; box-sizing: border-box; box-shadow: ${e=>e.isActive?"0 0 2px rgba(30,140,190,.8);":"inset 0 1px 2px rgba(0,0,0,.07)"}; background-color: #fff; color: #32373c; outline: 0; transition: 50ms border-color ease-in-out; position: relative; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; cursor: text; `,t.InputContainer=o.default.div` display: flex; flex-direction: column; margin: 1em 0; `},23613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r},a=n(37188);t.InputField=o.default.input` &&& { padding: 0 8px; min-height: 34px; font-size: 1em; box-shadow: inset 0 1px 2px ${(0,a.rgba)(a.colors.$color_black,.07)}; border: 1px solid ${a.colors.$color_input_border}; border-radius: 0; &:focus { border-color: #5b9dd9; box-shadow: 0 0 2px ${(0,a.rgba)(a.colors.$color_snippet_focus,.8)}; } } `},82572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputLabel=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r};t.InputLabel=o.default.label` font-size: 1em; font-weight: bold; margin-bottom: 0.5em; display: block; `},91315:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(99196)),o=u(n(85890)),a=n(92819),l=n(65736);n(60526);var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(84084));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return{hours:Math.floor(e/3600),minutes:Math.floor(e%3600/60),seconds:e%3600%60}}class d extends r.default.Component{constructor(e){super(e),this.state={...c(e.duration)},this.onHoursChange=this.onHoursChange.bind(this),this.onMinutesChange=this.onMinutesChange.bind(this),this.onSecondsChange=this.onSecondsChange.bind(this)}formatValue(e,t=Number.MIN_VALUE,n=Number.MAX_VALUE){const r=parseInt(e.target.value,10)||0;return(0,a.clamp)(r,t,n)}onHoursChange(e){this.props.onChange(3600*this.formatValue(e,0)+60*this.state.minutes+this.state.seconds)}onMinutesChange(e){this.props.onChange(3600*this.state.hours+60*this.formatValue(e,0,59)+this.state.seconds)}onSecondsChange(e){this.props.onChange(3600*this.state.hours+60*this.state.minutes+this.formatValue(e,0,59))}static getDerivedStateFromProps(e,t){const n=c(e.duration);return(0,a.isEqual)(n,t)?null:{...n}}render(){const e=this.props,t=e.id;return r.default.createElement(i.default,e,r.default.createElement("div",{className:"duration-inputs__wrapper"},r.default.createElement("div",{className:"duration-inputs__input-wrapper"},r.default.createElement("label",{htmlFor:t+"-hours"},(0,l.__)("hours","wordpress-seo")),r.default.createElement("input",{id:t+"-hours",name:"hours",value:this.state.hours,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.hoursAriaDescribedBy,readOnly:e.readOnly,min:0,onChange:this.onHoursChange})),r.default.createElement("div",{className:"duration-inputs__input-wrapper"},r.default.createElement("label",{htmlFor:t+"-minutes"},(0,l.__)("minutes","wordpress-seo")),r.default.createElement("input",{id:t+"-minutes",name:"minutes",value:this.state.minutes,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.minutesAriaDescribedBy,readOnly:e.readOnly,min:0,max:59,onChange:this.onMinutesChange})),r.default.createElement("div",{className:"duration-inputs__input-wrapper"},r.default.createElement("label",{htmlFor:t+"-seconds"},(0,l.__)("seconds","wordpress-seo")),r.default.createElement("input",{id:t+"-seconds",name:"seconds",value:this.state.seconds,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.secondsAriaDescribedBy,readOnly:e.readOnly,min:0,max:59,onChange:this.onSecondsChange}))))}}d.propTypes={duration:o.default.number.isRequired,hoursAriaDescribedBy:o.default.string,minutesAriaDescribedBy:o.default.string,secondsAriaDescribedBy:o.default.string,id:o.default.string.isRequired,...i.FieldGroupProps},d.defaultProps={hoursAriaDescribedBy:"",minutesAriaDescribedBy:"",secondsAriaDescribedBy:"",...i.FieldGroupDefaultProps},t.default=d},70399:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inputTypes=t.default=void 0;var r=i(n(99196)),o=i(n(85890)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(84084));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function i(e){return e&&e.__esModule?e:{default:e}}n(60526);const s=t.inputTypes=["text","color","date","datetime-local","email","hidden","month","number","password","search","tel","time","url","week","range"],u=e=>{const t={...e};return e.id&&(t.htmlFor=e.id),r.default.createElement(a.default,t,r.default.createElement("input",{id:e.id,name:e.name,value:e.value,type:e.type,className:"yoast-field-group__inputfield","aria-describedby":e.ariaDescribedBy,placeholder:e.placeholder,readOnly:e.readOnly,min:e.min,max:e.max,step:e.step,onChange:(n=e.onChange,e=>{n(e.target.value)})}));var n};u.propTypes={id:o.default.string,name:o.default.string,value:o.default.string,type:o.default.oneOf(s),ariaDescribedBy:o.default.string,placeholder:o.default.string,readOnly:o.default.bool,min:o.default.number,max:o.default.number,step:o.default.number,onChange:o.default.func,...a.FieldGroupProps},u.defaultProps={id:"",name:"",value:"",ariaDescribedBy:"",readOnly:!1,type:"text",placeholder:void 0,min:void 0,max:void 0,step:void 0,onChange:void 0,...a.FieldGroupDefaultProps},t.default=u},24420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DurationInput",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TextInput",{enumerable:!0,get:function(){return r.default}}),n(60526);var r=a(n(70399)),o=a(n(91315));function a(e){return e&&e.__esModule?e:{default:e}}},77509:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=n(36925);function l(e){return e&&e.__esModule?e:{default:e}}class i extends r.default.Component{getInsightsCardContent(){return r.default.createElement("div",{className:"yoast-insights-card__content"},r.default.createElement("p",{className:"yoast-insights-card__score"},r.default.createElement("span",{className:"yoast-insights-card__amount"},this.props.amount),this.props.unit),this.props.description&&r.default.createElement("div",{className:"yoast-insights-card__description"},this.props.description))}render(){return r.default.createElement(a.FieldGroup,{label:this.props.title,linkTo:this.props.linkTo,linkText:this.props.linkText,wrapperClassName:"yoast-insights-card"},this.getInsightsCardContent())}}t.default=i,i.propTypes={title:o.default.string,amount:o.default.oneOfType([o.default.number,o.default.oneOf(["?"])]).isRequired,description:o.default.element,unit:o.default.string,linkTo:o.default.string,linkText:o.default.string},i.defaultProps={title:"",description:null,unit:"",linkTo:"",linkText:""}},54297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InsightsCard",{enumerable:!0,get:function(){return o.default}}),n(70418);var r,o=(r=n(77509))&&r.__esModule?r:{default:r}},70610:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(99196)),o=l(n(85890)),a=n(65736);function l(e){return e&&e.__esModule?e:{default:e}}const i=({inLabel:e})=>r.default.createElement("span",{className:e?"yoast-badge yoast-badge__in-label yoast-new-badge":"yoast-badge yoast-new-badge"},(0,a.__)("New","wordpress-seo"));i.propTypes={inLabel:o.default.bool},i.defaultProps={inLabel:!1},t.default=i},8850:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NewBadge",{enumerable:!0,get:function(){return o.default}}),n(15446),n(15210);var r,o=(r=n(70610))&&r.__esModule?r:{default:r}},46708:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}const l=({inLabel:e})=>r.default.createElement("span",{className:e?"yoast-badge yoast-badge__in-label yoast-premium-badge":"yoast-badge yoast-premium-badge"},"Premium");l.propTypes={inLabel:o.default.bool},l.defaultProps={inLabel:!1},t.default=l},51495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PremiumBadge",{enumerable:!0,get:function(){return o.default}}),n(15446),n(29001);var r,o=(r=n(46708))&&r.__esModule?r:{default:r}},17230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=c(n(99196)),a=(r=n(85890))&&r.__esModule?r:{default:r},l=n(92819),i=c(n(84084)),s=n(9802);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}n(17672);const f={options:a.default.array.isRequired,onChange:a.default.func.isRequired,groupName:a.default.string.isRequired,id:a.default.string.isRequired,selected:a.default.oneOfType([a.default.string,a.default.number])},p={selected:null},h=({value:e,label:t,checked:n,onChange:r,groupName:a,id:l})=>o.default.createElement(o.Fragment,null,o.default.createElement("input",{type:"radio",name:a,id:l,value:e,onChange:r,checked:n}),o.default.createElement("label",{htmlFor:l},t));h.propTypes={value:a.default.oneOfType([a.default.string,a.default.number]).isRequired,label:a.default.string.isRequired,checked:a.default.bool,groupName:a.default.string.isRequired,onChange:a.default.func,id:a.default.string.isRequired},h.defaultProps={checked:!1,onChange:l.noop};const m=({options:e,onChange:t,groupName:n,id:r,selected:a})=>o.default.createElement("div",{className:"yoast-field-group__radiobutton"},e.map((e=>o.default.createElement(h,d({key:e.value,groupName:n,checked:a===e.value,onChange:t,id:`${r}_${e.value}`},e)))));m.propTypes=f,m.defaultProps=p;const g=({options:e,onChange:t,groupName:n,id:r,selected:a})=>o.default.createElement("div",{onChange:t},e.map((e=>o.default.createElement("div",{className:"yoast-field-group__radiobutton yoast-field-group__radiobutton--vertical",key:e.value},o.default.createElement(h,d({groupName:n,checked:a===e.value,id:`${r}_${e.value}`},e))))));g.propTypes=f,g.defaultProps=p;const b=e=>{const{id:t,options:n,groupName:r,onChange:a,vertical:l,selected:u,...c}=e,d={options:n,groupName:r,selected:u,onChange:e=>a(e.target.value),id:(0,s.getId)(t)};return o.default.createElement(i.default,c,l?o.default.createElement(g,d):o.default.createElement(m,d))};b.propTypes={id:a.default.string,groupName:a.default.string.isRequired,options:a.default.arrayOf(a.default.shape({value:a.default.oneOfType([a.default.string,a.default.number]).isRequired,label:a.default.string.isRequired})).isRequired,selected:a.default.oneOfType([a.default.string,a.default.number]),onChange:a.default.func,vertical:a.default.bool,...i.FieldGroupProps},b.defaultProps={id:"",vertical:!1,selected:null,onChange:()=>{},...i.FieldGroupDefaultProps},t.default=b},46465:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioButtonGroup",{enumerable:!0,get:function(){return o.default}}),n(17672);var r,o=(r=n(17230))&&r.__esModule?r:{default:r}},23461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeCreateInterpolateElement=void 0;var r=n(69307);t.safeCreateInterpolateElement=(e,t)=>{try{return(0,r.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}}},69970:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastReactSelect=t.SingleSelect=t.Select=t.MultiSelect=void 0;var r=n(92819),o=c(n(99196)),a=s(n(85890)),l=c(n(84084)),i=s(n(50830));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}n(67496);const f=a.default.shape({name:a.default.string,value:a.default.string}),p={id:a.default.string.isRequired,name:a.default.string,options:a.default.arrayOf(f).isRequired,selected:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.string]),onChange:a.default.func,disabled:a.default.bool,...l.FieldGroupProps},h={name:"",selected:[],onChange:()=>{},disabled:!1,...l.FieldGroupDefaultProps},m=({name:e,value:t})=>o.default.createElement("option",{key:t,value:t},e);m.propTypes={name:a.default.string.isRequired,value:a.default.string.isRequired};const g=e=>{const{id:t,isMulti:n,isSearchable:r,inputId:a,selected:s,options:u,name:c,onChange:f,...p}=e,h=Array.isArray(s)?s:[s],m=(e=>e.map((e=>({value:e.value,label:e.name}))))(u),g=m.filter((e=>h.includes(e.value)));return o.default.createElement(l.default,d({},p,{htmlFor:a}),o.default.createElement(i.default,{isMulti:n,id:t,name:c,inputId:a,value:g,options:m,hideSelectedOptions:!1,onChange:f,className:"yoast-select-container",classNamePrefix:"yoast-select",isClearable:!1,isSearchable:r,placeholder:""}))};t.YoastReactSelect=g,g.propTypes=p,g.defaultProps=h;const b=e=>{const{onChange:t}=e,n=(0,o.useCallback)((e=>t(e.value)));return o.default.createElement(g,d({},e,{isMulti:!1,isSearchable:!0,onChange:n}))};t.SingleSelect=b,b.propTypes=p,b.defaultProps=h;const v=e=>{const{onChange:t}=e,n=(0,o.useCallback)((e=>{e||(e=[]),t(e.map((e=>e.value)))}));return o.default.createElement(g,d({},e,{isMulti:!0,isSearchable:!1,onChange:n}))};t.MultiSelect=v,v.propTypes=p,v.defaultProps=h;class y extends o.default.Component{constructor(e){super(e),this.onBlurHandler=this.onBlurHandler.bind(this),this.onInputHandler=this.onInputHandler.bind(this),this.state={selected:this.props.selected}}onBlurHandler(e){this.props.onChange(e.target.value)}onInputHandler(e){this.setState({selected:e.target.value}),this.props.onOptionFocus&&this.props.onOptionFocus(e.target.name,e.target.value)}componentDidUpdate(e){e.selected!==this.props.selected&&this.setState({selected:this.props.selected})}render(){const{id:e,options:t,name:n,disabled:a,...i}=this.props;return o.default.createElement(l.default,d({},i,{htmlFor:e}),o.default.createElement("select",{id:e,name:n,value:this.state.selected,onBlur:this.onBlurHandler,onInput:this.onInputHandler,onChange:r.noop,disabled:a},t.map(m)))}}t.Select=y,y.propTypes={...p,onOptionFocus:a.default.func},y.defaultProps={...h,onOptionFocus:null}},55138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MultiSelect",{enumerable:!0,get:function(){return r.MultiSelect}}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return r.Select}}),Object.defineProperty(t,"SingleSelect",{enumerable:!0,get:function(){return r.SingleSelect}}),n(67496);var r=n(69970)},37677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(99196)),o=a(n(85890));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let t=e.rating;t<0&&(t=0),t>5&&(t=5);const n=20*t;return r.default.createElement("div",{"aria-hidden":"true",className:"yoast-star-rating"},r.default.createElement("span",{className:"yoast-star-rating__placeholder",role:"img"},r.default.createElement("span",{className:"yoast-star-rating__fill",style:{width:n+"%"}})))}t.default=l,l.propTypes={rating:o.default.number.isRequired}},5185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StarRating",{enumerable:!0,get:function(){return o.default}}),n(10205);var r,o=(r=n(37677))&&r.__esModule?r:{default:r}},98872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZebrafiedListTable=t.ListTable=void 0,t.makeFullWidth=function(e){return(0,a.default)(e)` @media screen and ( max-width: 800px ) { min-width: 100%; margin-top: 1em; padding-right: 0; padding-left: 0; } `};var r=i(n(85890)),o=i(n(99196)),a=i(n(98487)),l=n(37188);function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}const u=a.default.ul` margin: 0; padding: 0; list-style: none; position: relative; width: 100%; li:first-child { & > span::before { left: auto; } } `;u.propTypes={children:r.default.any};class c extends o.default.Component{constructor(e){super(e)}getChildren(){return 1===this.props.children?[this.props.children]:this.props.children}render(){const e=this.getChildren();return o.default.createElement(u,{role:"list"},e)}}t.ListTable=c,t.ZebrafiedListTable=class extends c{constructor(e){super(e),this.zebraProps=Object.assign({},e)}zebrafyChildren(){let e=this.props.children;this.props.children.map||(e=[e]),this.zebraProps.children=e.map(((e,t)=>o.default.cloneElement(e,{background:t%2==1?l.colors.$color_white:l.colors.$color_background_light,key:t})))}render(){return this.zebrafyChildren(),o.default.createElement(u,s({role:"list"},this.zebraProps))}},c.propTypes={children:r.default.oneOfType([r.default.arrayOf(r.default.node),r.default.node])},c.defaultProps={children:[]}},87923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowResponsiveWrap=t.Row=void 0;var r=l(n(85890)),o=l(n(98487)),a=n(37188);function l(e){return e&&e.__esModule?e:{default:e}}const i=t.Row=o.default.li` background: ${e=>e.background}; display: flex; min-height: ${e=>e.rowHeight}; align-items: center; justify-content: space-between; `;i.propTypes={background:r.default.string,hasHeaderLabels:r.default.bool,rowHeight:r.default.string},i.defaultProps={background:a.colors.$color_white,hasHeaderLabels:!0},t.RowResponsiveWrap=(0,o.default)(i)` @media screen and ( max-width: 800px ) { flex-wrap: wrap; align-items: flex-start; &:first-child { margin-top: ${e=>e.hasHeaderLabels?"24px":"0"}; } // Use the column headers (if any) as labels. & > span::before { position: static; display: inline-block; padding-right: 0.5em; font-size: inherit; } & > span { padding-left: 0; } } `},43781:(e,t,n)=>{"use strict";n(20784)},37704:(e,t,n)=>{"use strict";n(82221)},31233:(e,t,n)=>{"use strict";n(40265)},58875:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},15446:(e,t,n)=>{"use strict";n.r(t)},89364:(e,t,n)=>{"use strict";n.r(t)},26242:(e,t,n)=>{"use strict";n.r(t)},91370:(e,t,n)=>{"use strict";n.r(t)},68798:(e,t,n)=>{"use strict";n.r(t)},16798:(e,t,n)=>{"use strict";n.r(t)},54760:(e,t,n)=>{"use strict";n.r(t)},40367:(e,t,n)=>{"use strict";n.r(t)},79520:(e,t,n)=>{"use strict";n.r(t)},8436:(e,t,n)=>{"use strict";n.r(t)},86264:(e,t,n)=>{"use strict";n.r(t)},14640:(e,t,n)=>{"use strict";n.r(t)},55022:(e,t,n)=>{"use strict";n.r(t)},60526:(e,t,n)=>{"use strict";n.r(t)},70418:(e,t,n)=>{"use strict";n.r(t)},15210:(e,t,n)=>{"use strict";n.r(t)},29001:(e,t,n)=>{"use strict";n.r(t)},17672:(e,t,n)=>{"use strict";n.r(t)},67496:(e,t,n)=>{"use strict";n.r(t)},10205:(e,t,n)=>{"use strict";n.r(t)},20784:(e,t,n)=>{"use strict";n.r(t)},82221:(e,t,n)=>{"use strict";n.r(t)},40265:(e,t,n)=>{"use strict";n.r(t)},69921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,i=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case s:return e;default:return t}}case o:return t}}}function O(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=i,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return O(e)||x(e)===c},t.isConcurrentMode=O,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===i},t.isStrictMode=function(e){return x(e)===l},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===i||e===l||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===_||e.$$typeof===b)},t.typeOf=x},59864:(e,t,n)=>{"use strict";e.exports=n(69921)},46871:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function l(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,l=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?l="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==l||null!==i){var s=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==l?"\n "+l:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>l}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},29983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(99196),l=h(a),i=h(n(91850)),s=h(n(85890)),u=h(n(28747)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(57149)),d=n(51112),f=h(d),p=n(46871);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=t.portalClassName="ReactModalPortal",b=t.bodyOpenClassName="ReactModal__Body--open",v=d.canUseDOM&&void 0!==i.default.createPortal,y=function(){return v?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function _(e){return e()}var x=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return n=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.removePortal=function(){!v&&i.default.unmountComponentAtNode(o.node);var e=_(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=y()(o,l.default.createElement(u.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},m(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(v||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,_(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:_(e.parentSelector),nextParent:_(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(d.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var l=n.prevParent,i=n.nextParent;i!==l&&(l.removeChild(this.node),i.appendChild(this.node)),(e.isOpen||o)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&v?(!this.node&&v&&(this.node=document.createElement("div")),y()(l.default.createElement(u.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(a.Component);x.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.instanceOf(f.default),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},x.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:b,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return l.default.createElement("div",e,t)},contentElement:function(e,t){return l.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(x),t.default=x},28747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="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},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(99196),i=m(n(85890)),s=h(n(99685)),u=m(n(88338)),c=h(n(57149)),d=h(n(32409)),f=m(n(51112)),p=m(n(89623));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}n(35063);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},b=0,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&d.remove(document.body,a),o&&d.remove(document.getElementsByTagName("html")[0],o),r&&b>0&&0==(b-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),p.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&d.add(document.body,o),r&&d.add(document.getElementsByTagName("html")[0],r),n&&(b+=1,c.hide(t)),p.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,a=e.defaultStyles,l=e.children,i=n?{}:a.content,s=o?{}:a.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},i,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(c,l);return this.props.overlayElement(u,d)}}]),t}(l.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:i.default.bool.isRequired,defaultStyles:i.default.shape({content:i.default.object,overlay:i.default.object}),style:i.default.shape({content:i.default.object,overlay:i.default.object}),className:i.default.oneOfType([i.default.string,i.default.object]),overlayClassName:i.default.oneOfType([i.default.string,i.default.object]),bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,ariaHideApp:i.default.bool,appElement:i.default.instanceOf(f.default),onAfterOpen:i.default.func,onAfterClose:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,role:i.default.string,contentLabel:i.default.string,aria:i.default.object,data:i.default.object,children:i.default.node,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func,testId:i.default.string},t.default=v,e.exports=t.default},57149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=i,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t="length"in n?n[0]:n}return l=t||l},t.validateElement=s,t.hide=function(e){s(e)&&(e||l).setAttribute("aria-hidden","true")},t.show=function(e){s(e)&&(e||l).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){l=null},t.resetForTesting=function(){l=null};var r,o=(r=n(42473))&&r.__esModule?r:{default:r},a=n(51112),l=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){return!(!e&&!l&&((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),1))}},35063:(e,t,n)=>{"use strict";var r,o=(r=n(89623))&&r.__esModule?r:{default:r},a=void 0,l=void 0,i=[];function s(){0!==i.length&&i[i.length-1].focusContent()}o.default.subscribe((function(e,t){a&&l||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",s),(l=a.cloneNode()).addEventListener("focus",s)),(i=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==l&&document.body.appendChild(l)):(a.parentElement&&a.parentElement.removeChild(a),l.parentElement&&l.parentElement.removeChild(l))}))},32409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){};var n={},r={};t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)}));var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)}));var o,a}},99685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=s,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",u))};var r,o=(r=n(37845))&&r.__esModule?r:{default:r},a=[],l=null,i=!1;function s(){i=!0}function u(){if(i){if(i=!1,!l)return;setTimeout((function(){l.contains(document.activeElement)||((0,o.default)(l)[0]||l).focus()}),0)}}},89623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]};t.default=n,e.exports=t.default},51112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,o=((r=n(58875))&&r.__esModule?r:{default:r}).default,a=o.canUseDOM?window.HTMLElement:{};t.canUseDOM=o.canUseDOM,t.default=a},88338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(n.length){var r=void 0,a=t.shiftKey,l=n[0],i=n[n.length-1];if(e===document.activeElement){if(!a)return;r=i}if(i!==document.activeElement||a||(r=l),l===document.activeElement&&a&&(r=i),r)return t.preventDefault(),void r.focus();var s=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=s&&"Chrome"!=s[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var u=n.indexOf(document.activeElement);if(u>-1&&(u+=a?-1:1),void 0===(r=n[u]))return t.preventDefault(),void(r=a?i:l).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,o=(r=n(37845))&&r.__esModule?r:{default:r};e.exports=t.default},37845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default},83253:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(29983))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},50830:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}function c(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 r,o,a,l,i=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw o}}return i}}(e,t)||u(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 d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.r(t),n.d(t,{NonceProvider:()=>Or,components:()=>xn,createFilter:()=>qn,default:()=>xr,defaultTheme:()=>ar,mergeStyles:()=>or,useStateManager:()=>h});var f=n(99196),p=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function h(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,l=void 0===a?null:a,s=e.inputValue,u=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,b=e.onMenuOpen,v=e.value,y=d(e,p),_=c((0,f.useState)(void 0!==s?s:n),2),x=_[0],O=_[1],w=c((0,f.useState)(void 0!==u?u:o),2),C=w[0],P=w[1],k=c((0,f.useState)(void 0!==v?v:l),2),E=k[0],S=k[1],M=(0,f.useCallback)((function(e,t){"function"==typeof h&&h(e,t),S(e)}),[h]),j=(0,f.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),O(void 0!==n?n:e)}),[m]),I=(0,f.useCallback)((function(){"function"==typeof b&&b(),P(!0)}),[b]),T=(0,f.useCallback)((function(){"function"==typeof g&&g(),P(!1)}),[g]),$=void 0!==s?s:x,B=void 0!==u?u:C,R=void 0!==v?v:E;return i(i({},y),{},{inputValue:$,menuIsOpen:B,onChange:M,onInputChange:j,onMenuClose:T,onMenuOpen:I,value:R})}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function _(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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.")}()}var x=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),O=Math.abs,w=String.fromCharCode,C=Object.assign;function P(e){return e.trim()}function k(e,t,n){return e.replace(t,n)}function E(e,t){return e.indexOf(t)}function S(e,t){return 0|e.charCodeAt(t)}function M(e,t,n){return e.slice(t,n)}function j(e){return e.length}function I(e){return e.length}function T(e,t){return t.push(e),e}var $=1,B=1,R=0,L=0,N=0,q="";function D(e,t,n,r,o,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:$,column:B,length:l,return:""}}function F(e,t){return C(D("",null,null,"",null,null,0),e,{length:-e.length},t)}function A(){return N=L>0?S(q,--L):0,B--,10===N&&(B=1,$--),N}function z(){return N=L<R?S(q,L++):0,B++,10===N&&(B=1,$++),N}function V(){return S(q,L)}function H(){return L}function U(e,t){return M(q,e,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(e){return $=B=1,R=j(q=e),L=0,[]}function Y(e){return q="",e}function K(e){return P(U(L-1,J(91===e?e+2:40===e?e+1:e)))}function Z(e){for(;(N=V())&&N<33;)z();return W(e)>2||W(N)>3?"":" "}function X(e,t){for(;--t&&z()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return U(e,H()+(t<6&&32==V()&&32==z()))}function J(e){for(;z();)switch(N){case e:return L;case 34:case 39:34!==e&&39!==e&&J(N);break;case 40:41===e&&J(e);break;case 92:z()}return L}function Q(e,t){for(;z()&&e+N!==57&&(e+N!==84||47!==V()););return"/*"+U(t,L-1)+"*"+w(47===e?e:z())}function ee(e){for(;!W(V());)z();return U(e,L)}var te="-ms-",ne="-moz-",re="-webkit-",oe="comm",ae="rule",le="decl",ie="@keyframes";function se(e,t){for(var n="",r=I(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ue(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case le:return e.return=e.return||e.value;case oe:return"";case ie:return e.return=e.value+"{"+se(e.children,r)+"}";case ae:e.value=e.props.join(",")}return j(n=se(e.children,r))?e.return=e.value+"{"+n+"}":""}function ce(e){return Y(de("",null,null,null,[""],e=G(e),0,[0],e))}function de(e,t,n,r,o,a,l,i,s){for(var u=0,c=0,d=l,f=0,p=0,h=0,m=1,g=1,b=1,v=0,y="",_=o,x=a,O=r,C=y;g;)switch(h=v,v=z()){case 40:if(108!=h&&58==S(C,d-1)){-1!=E(C+=k(K(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=K(v);break;case 9:case 10:case 13:case 32:C+=Z(h);break;case 92:C+=X(H()-1,7);continue;case 47:switch(V()){case 42:case 47:T(pe(Q(z(),H()),t,n),s);break;default:C+="/"}break;case 123*m:i[u++]=j(C)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(C=k(C,/\f/g,"")),p>0&&j(C)-d&&T(p>32?he(C+";",r,n,d-1):he(k(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(T(O=fe(C,t,n,u,c,o,i,y,_=[],x=[],d),a),123===v)if(0===c)de(C,t,O,O,_,a,d,i,x);else switch(99===f&&110===S(C,3)?100:f){case 100:case 108:case 109:case 115:de(e,O,O,r&&T(fe(e,O,O,0,0,o,i,y,o,_=[],d),x),o,x,d,i,r?_:x);break;default:de(C,O,O,O,[""],x,0,i,x)}}u=c=p=0,m=b=1,y=C="",d=l;break;case 58:d=1+j(C),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==A())continue;switch(C+=w(v),v*m){case 38:b=c>0?1:(C+="\f",-1);break;case 44:i[u++]=(j(C)-1)*b,b=1;break;case 64:45===V()&&(C+=K(z())),f=V(),c=d=j(y=C+=ee(H())),v++;break;case 45:45===h&&2==j(C)&&(m=0)}}return a}function fe(e,t,n,r,o,a,l,i,s,u,c){for(var d=o-1,f=0===o?a:[""],p=I(f),h=0,m=0,g=0;h<r;++h)for(var b=0,v=M(e,d+1,d=O(m=l[h])),y=e;b<p;++b)(y=P(m>0?f[b]+" "+v:k(v,/&\f/g,f[b])))&&(s[g++]=y);return D(e,t,n,0===o?ae:i,s,u,c)}function pe(e,t,n){return D(e,t,n,oe,w(N),M(e,2,-2),0)}function he(e,t,n,r){return D(e,t,n,le,M(e,0,r),M(e,r+1,-1),r)}var me=function(e,t,n){for(var r=0,o=0;r=o,o=V(),38===r&&12===o&&(t[n]=1),!W(o);)z();return U(e,L)},ge=new WeakMap,be=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ge.get(n))&&!r){ge.set(e,!0);for(var o=[],a=function(e,t){return Y(function(e,t){var n=-1,r=44;do{switch(W(r)){case 0:38===r&&12===V()&&(t[n]=1),e[n]+=me(L-1,t,n);break;case 2:e[n]+=K(r);break;case 4:if(44===r){e[++n]=58===V()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=w(r)}}while(r=z());return e}(G(e),t))}(t,o),l=n.props,i=0,s=0;i<a.length;i++)for(var u=0;u<l.length;u++,s++)e.props[s]=o[i]?a[i].replace(/&\f/g,l[u]):l[u]+" "+a[i]}}},ve=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ye(e,t){switch(function(e,t){return 45^S(e,0)?(((t<<2^S(e,0))<<2^S(e,1))<<2^S(e,2))<<2^S(e,3):0}(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+ne+e+te+e+e;case 6828:case 4268:return re+e+te+e+e;case 6165:return re+e+te+"flex-"+e+e;case 5187:return re+e+k(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+te+"flex-$1$2")+e;case 5443:return re+e+te+"flex-item-"+k(e,/flex-|-self/,"")+e;case 4675:return re+e+te+"flex-line-pack"+k(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+te+k(e,"shrink","negative")+e;case 5292:return re+e+te+k(e,"basis","preferred-size")+e;case 6060:return re+"box-"+k(e,"-grow","")+re+e+te+k(e,"grow","positive")+e;case 4554:return re+k(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(e)-1-t>6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+ne+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~E(e,"stretch")?ye(k(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==S(e,t+1))break;case 6444:switch(S(e,j(e)-3-(~E(e,"!important")&&10))){case 107:return k(e,":",":"+re)+e;case 101:return k(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(45===S(e,14)?"inline-":"")+"box$3$1"+re+"$2$3$1"+te+"$2box$3")+e}break;case 5936:switch(S(e,t+11)){case 114:return re+e+te+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+te+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+te+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+te+e+e}return e}var _e=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case le:e.return=ye(e.value,e.length);break;case ie:return se([F(e,{value:k(e.value,"@","@"+re)})],r);case ae:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return se([F(e,{props:[k(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return se([F(e,{props:[k(t,/:(plac\w+)/,":"+re+"input-$1")]}),F(e,{props:[k(t,/:(plac\w+)/,":-moz-$1")]}),F(e,{props:[k(t,/:(plac\w+)/,te+"input-$1")]})],r)}return""}))}}],xe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||_e,l={},i=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;i.push(e)}));var s,u,c,d,f=[ue,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[be,ve].concat(a,f),c=I(u),function(e,t,n,r){for(var o="",a=0;a<c;a++)o+=u[a](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,se(ce(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new x({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:o};return h.sheet.hydrate(i),h},Oe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},we={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ce(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Pe=!1,ke=/[A-Z]|^ms/g,Ee=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Se=function(e){return 45===e.charCodeAt(1)},Me=function(e){return null!=e&&"boolean"!=typeof e},je=Ce((function(e){return Se(e)?e:e.replace(ke,"-$&").toLowerCase()})),Ie=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ee,(function(e,t,n){return Be={name:t,styles:n,next:Be},t}))}return 1===we[e]||Se(e)||"number"!=typeof t||0===t?t:t+"px"},Te="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $e(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Be={name:o.name,styles:o.styles,next:Be},o.name;var a=n;if(void 0!==a.styles){var l=a.next;if(void 0!==l)for(;void 0!==l;)Be={name:l.name,styles:l.styles,next:Be},l=l.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=$e(e,t,n[o])+";";else for(var a in n){var l=n[a];if("object"!=typeof l){var i=l;null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Me(i)&&(r+=je(a)+":"+Ie(a,i)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&Pe)throw new Error(Te);if(!Array.isArray(l)||"string"!=typeof l[0]||null!=t&&void 0!==t[l[0]]){var s=$e(e,t,l);switch(a){case"animation":case"animationName":r+=je(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<l.length;u++)Me(l[u])&&(r+=je(a)+":"+Ie(a,l[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Be,s=n(e);return Be=i,$e(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Be,Re=/label:\s*([^\s;{]+)\s*(;|$)/g;function Le(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Be=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=$e(n,t,a)):o+=a[0];for(var l=1;l<e.length;l++)o+=$e(n,t,e[l]),r&&(o+=a[l]);Re.lastIndex=0;for(var i,s="";null!==(i=Re.exec(o));)s+="-"+i[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Be}}var Ne,qe,De=!!f.useInsertionEffect&&f.useInsertionEffect,Fe=De||function(e){return e()},Ae=(De||f.useLayoutEffect,f.createContext("undefined"!=typeof HTMLElement?xe({key:"css"}):null)),ze=Ae.Provider,Ve=function(e){return(0,f.forwardRef)((function(t,n){var r=(0,f.useContext)(Ae);return e(t,r,n)}))},He=f.createContext({}),Ue={}.hasOwnProperty,We="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ge=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Oe(t,n,r),Fe((function(){return function(e,t,n){Oe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Ye=Ve((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[We],a=[r],l="";"string"==typeof e.className?l=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}(t.registered,a,e.className):null!=e.className&&(l=e.className+" ");var i=Le(a,void 0,f.useContext(He));l+=t.key+"-"+i.name;var s={};for(var u in e)Ue.call(e,u)&&"css"!==u&&u!==We&&(s[u]=e[u]);return s.className=l,n&&(s.ref=n),f.createElement(f.Fragment,null,f.createElement(Ge,{cache:t,serialized:i,isStringTag:"string"==typeof o}),f.createElement(o,s))})),Ke=Ye,Ze=(n(24022),function(e,t){var n=arguments;if(null==t||!Ue.call(t,"css"))return f.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=function(e,t){var n={};for(var r in t)Ue.call(t,r)&&(n[r]=t[r]);return n[We]=e,n}(e,t);for(var a=2;a<r;a++)o[a]=n[a];return f.createElement.apply(null,o)});function Xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Le(t)}Ne=Ze||(Ze={}),qe||(qe=Ne.JSX||(Ne.JSX={}));var Je=n(91850);const Qe=Math.min,et=Math.max,tt=Math.round,nt=Math.floor,rt=e=>({x:e,y:e});function ot(){return"undefined"!=typeof window}function at(e){return st(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function it(e){var t;return null==(t=(st(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function st(e){return!!ot()&&(e instanceof Node||e instanceof lt(e).Node)}function ut(e){return!!ot()&&(e instanceof Element||e instanceof lt(e).Element)}function ct(e){return!!ot()&&(e instanceof HTMLElement||e instanceof lt(e).HTMLElement)}function dt(e){return!(!ot()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot)}const ft=new Set(["inline","contents"]);function pt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ft.has(o)}const ht=new Set(["html","body","#document"]);function mt(e){return lt(e).getComputedStyle(e)}function gt(e){const t=function(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||dt(e)&&e.host||it(e);return dt(t)?t.host:t}(e);return function(e){return ht.has(at(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ct(t)&&pt(t)?t:gt(t)}function bt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=gt(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),l=lt(o);if(a){const e=vt(l);return t.concat(l,l.visualViewport||[],pt(o)?o:[],e&&n?bt(e):[])}return t.concat(o,bt(o,[],n))}function vt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yt(e){return ut(e)?e:e.contextElement}function _t(e){const t=yt(e);if(!ct(t))return rt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=function(e){const t=mt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ct(e),a=o?e.offsetWidth:n,l=o?e.offsetHeight:r,i=tt(n)!==a||tt(r)!==l;return i&&(n=a,r=l),{width:n,height:r,$:i}}(t);let l=(a?tt(n.width):n.width)/r,i=(a?tt(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),i&&Number.isFinite(i)||(i=1),{x:l,y:i}}const xt=rt(0);function Ot(e){const t=lt(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:xt}function wt(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=yt(e);let l=rt(1);t&&(r?ut(r)&&(l=_t(r)):l=_t(e));const i=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==lt(e))&&t}(a,n,r)?Ot(a):rt(0);let s=(o.left+i.x)/l.x,u=(o.top+i.y)/l.y,c=o.width/l.x,d=o.height/l.y;if(a){const e=lt(a),t=r&&ut(r)?lt(r):r;let n=e,o=vt(n);for(;o&&r&&t!==n;){const e=_t(o),t=o.getBoundingClientRect(),r=mt(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,u*=e.y,c*=e.x,d*=e.y,s+=a,u+=l,n=lt(o),o=vt(n)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:d,x:s,y:u})}function Ct(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Pt=f.useLayoutEffect,kt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Et=function(){};function St(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Mt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&a.push("".concat(St(e,l)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var jt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===r(e)&&null!==e?[e]:[];var t},It=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,i({},d(e,kt))},Tt=function(e,t,n){var r=e.cx,o=e.getStyles,a=e.getClassNames,l=e.className;return{css:o(t,e),className:r(null!=n?n:{},a(t,e),l)}};function $t(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Bt(e){return $t(e)?window.pageYOffset:e.scrollTop}function Rt(e,t){$t(e)?window.scrollTo(0,t):e.scrollTop=t}function Lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Et,o=Bt(e),a=t-o,l=0;!function t(){var i,s=a*((i=(i=l+=10)/n-1)*i*i+1)+o;Rt(e,s),l<n?window.requestAnimationFrame(t):r(e)}()}function Nt(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Rt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Rt(e,Math.max(t.offsetTop-o,0))}function qt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Dt=!1,Ft={get passive(){return Dt=!0}},At="undefined"!=typeof window?window:{};At.addEventListener&&At.removeEventListener&&(At.addEventListener("p",Et,Ft),At.removeEventListener("p",Et,!1));var zt=Dt;function Vt(e){return null!=e}function Ht(e,t,n){return e?t:n}var Ut=["children","innerProps"],Wt=["children","innerProps"];var Gt,Yt,Kt,Zt=function(e){return"auto"===e?"bottom":e},Xt=(0,f.createContext)(null),Jt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,l=e.menuShouldScrollIntoView,s=e.theme,u=((0,f.useContext)(Xt)||{}).setPortalPlacement,d=(0,f.useRef)(null),p=c((0,f.useState)(r),2),h=p[0],m=p[1],g=c((0,f.useState)(null),2),b=g[0],v=g[1],y=s.spacing.controlHeight;return Pt((function(){var e=d.current;if(e){var t="fixed"===a,i=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,l=e.isFixedPosition,i=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,b=l||$t(c=s)?window.innerHeight:c.clientHeight,v=Bt(s),y=parseInt(getComputedStyle(n).marginBottom,10),_=parseInt(getComputedStyle(n).marginTop,10),x=g-_,O=b-m,w=x+v,C=d-v-m,P=p-b+v+y,k=v+m-_,E=160;switch(o){case"auto":case"bottom":if(O>=h)return{placement:"bottom",maxHeight:t};if(C>=h&&!l)return a&&Lt(s,P,E),{placement:"bottom",maxHeight:t};if(!l&&C>=r||l&&O>=r)return a&&Lt(s,P,E),{placement:"bottom",maxHeight:l?O-y:C-y};if("auto"===o||l){var S=t,M=l?x:w;return M>=r&&(S=Math.min(M-y-i,t)),{placement:"top",maxHeight:S}}if("bottom"===o)return a&&Rt(s,P),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(w>=h&&!l)return a&&Lt(s,k,E),{placement:"top",maxHeight:t};if(!l&&w>=r||l&&x>=r){var j=t;return(!l&&w>=r||l&&x>=r)&&(j=l?x-_:w-_),a&&Lt(s,k,E),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:y});m(i.maxHeight),v(i.placement),null==u||u(i.placement)}}),[r,o,a,l,n,u,y]),t({ref:d,placerProps:i(i({},e),{},{placement:b||Zt(o),maxHeight:h})})},Qt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return i({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},en=Qt,tn=Qt,nn=["size"],rn=["innerProps","isRtl","size"],on={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},an=function(e){var t=e.size,n=d(e,nn);return Ze("svg",m({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:on},n))},ln=function(e){return Ze(an,m({size:20},e),Ze("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},sn=function(e){return Ze(an,m({size:20},e),Ze("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},un=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return i({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},cn=un,dn=un,fn=function(){var e=Xe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Gt||(Yt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Kt||(Kt=Yt.slice(0)),Gt=Object.freeze(Object.defineProperties(Yt,{raw:{value:Object.freeze(Kt)}})))),pn=function(e){var t=e.delay,n=e.offset;return Ze("span",{css:Xe({animation:"".concat(fn," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},hn=["data"],mn=["innerRef","isDisabled","isHidden","inputClassName"],gn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},bn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":i({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},gn)},vn=function(e){return i({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},gn)},yn=function(e){var t=e.children,n=e.innerProps;return Ze("div",n,t)},xn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ze("div",m({},Tt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ze(ln,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,a=e.innerProps,l=e.menuIsOpen;return Ze("div",m({ref:o},Tt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),a,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ze("div",m({},Tt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ze(sn,null))},DownChevron:sn,CrossIcon:ln,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,a=e.Heading,l=e.headingProps,i=e.innerProps,s=e.label,u=e.theme,c=e.selectProps;return Ze("div",m({},Tt(e,"group",{group:!0}),i),Ze(a,m({},l,{selectProps:c,theme:u,getStyles:r,getClassNames:o,cx:n}),s),Ze("div",null,t))},GroupHeading:function(e){var t=It(e);t.data;var n=d(t,hn);return Ze("div",m({},Tt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ze("div",m({},Tt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ze("span",m({},t,Tt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=It(e),o=r.innerRef,a=r.isDisabled,l=r.isHidden,i=r.inputClassName,s=d(r,mn);return Ze("div",m({},Tt(e,"input",{"input-container":!0}),{"data-value":n||""}),Ze("input",m({className:t({input:!0},i),ref:o,style:vn(l),disabled:a},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,a=d(e,rn);return Ze("div",m({},Tt(i(i({},a),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ze(pn,{delay:0,offset:n}),Ze(pn,{delay:160,offset:!0}),Ze(pn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ze("div",m({},Tt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ze("div",m({},Tt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,a=e.menuPlacement,l=e.menuPosition,s=(0,f.useRef)(null),u=(0,f.useRef)(null),d=c((0,f.useState)(Zt(a)),2),p=d[0],h=d[1],g=(0,f.useMemo)((function(){return{setPortalPlacement:h}}),[]),b=c((0,f.useState)(null),2),v=b[0],y=b[1],_=(0,f.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}}),[r,l,p,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Pt((function(){_()}),[_]);var x=(0,f.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:i="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=yt(e),c=o||a?[...u?bt(u):[],...bt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const d=u&&i?function(e,t){let n,r=null;const o=it(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(i,s){void 0===i&&(i=!1),void 0===s&&(s=1),a();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(i||t(),!f||!p)return;const h={rootMargin:-nt(d)+"px "+-nt(o.clientWidth-(c+f))+"px "+-nt(o.clientHeight-(d+p))+"px "+-nt(c)+"px",threshold:et(0,Qe(1,s))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!m)return l();r?l(!1,r):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}1!==r||Ct(u,e.getBoundingClientRect())||l(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),a}(u,n):null;let f,p=-1,h=null;l&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),u&&!s&&h.observe(u),h.observe(t));let m=s?wt(e):null;return s&&function t(){const r=wt(e);m&&!Ct(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}(r,s.current,_,{elementResize:"ResizeObserver"in window}))}),[r,_]);Pt((function(){x()}),[x]);var O=(0,f.useCallback)((function(e){s.current=e,x()}),[x]);if(!t&&"fixed"!==l||!v)return null;var w=Ze("div",m({ref:O},Tt(i(i({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Ze(Xt.Provider,{value:g},t?(0,Je.createPortal)(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=d(e,Wt);return Ze("div",m({},Tt(i(i({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=d(e,Ut);return Ze("div",m({},Tt(i(i({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,a=e.isDisabled,l=e.removeProps,s=e.selectProps,u=n.Container,c=n.Label,d=n.Remove;return Ze(u,{data:r,innerProps:i(i({},Tt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:s},Ze(c,{data:r,innerProps:i({},Tt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ze(d,{data:r,innerProps:i(i({},Tt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:s}))},MultiValueContainer:yn,MultiValueLabel:yn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ze("div",m({role:"button"},n),t||Ze(ln,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.innerRef,l=e.innerProps;return Ze("div",m({},Tt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:a,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ze("div",m({},Tt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ze("div",m({},Tt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ze("div",m({},Tt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Ze("div",m({},Tt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},On=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function wn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||On(r)&&On(o)))return!1;var r,o;return!0}for(var Cn={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Pn=function(e){return Ze("span",m({css:Cn},e))},kn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,a=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,l=e.selectValue,i=e.isDisabled,s=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&l)return"value ".concat(a," focused, ").concat(c(l,n),".");if("menu"===t&&u){var d=i?" disabled":"",f="".concat(s?" selected":"").concat(d);return"".concat(a).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},En=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,l=e.selectValue,s=e.selectProps,u=e.id,c=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,g=s.isOptionDisabled,b=s.isSearchable,v=s.menuIsOpen,y=s.options,_=s.screenReaderStatus,x=s.tabSelectsValue,O=s.isLoading,w=s["aria-label"],C=s["aria-live"],P=(0,f.useMemo)((function(){return i(i({},kn),d||{})}),[d]),k=(0,f.useMemo)((function(){var e,n="";if(t&&P.onChange){var r=t.option,o=t.options,a=t.removedValue,s=t.removedValues,u=t.value,c=a||r||(e=u,Array.isArray(e)?null:e),d=c?p(c):"",f=o||s||void 0,h=f?f.map(p):[],m=i({isDisabled:c&&g(c,l),label:d,labels:h},t);n=P.onChange(m)}return n}),[t,P,g,l,p]),E=(0,f.useMemo)((function(){var e="",t=n||r,a=!!(n&&l&&l.includes(n));if(t&&P.onFocus){var i={focused:t,label:p(t),isDisabled:g(t,l),isSelected:a,options:o,context:t===n?"menu":"value",selectValue:l,isAppleDevice:c};e=P.onFocus(i)}return e}),[n,r,p,g,P,o,l,c]),S=(0,f.useMemo)((function(){var e="";if(v&&y.length&&!O&&P.onFilter){var t=_({count:o.length});e=P.onFilter({inputValue:h,resultsMessage:t})}return e}),[o,h,v,P,y,_,O]),M="initial-input-focus"===(null==t?void 0:t.action),j=(0,f.useMemo)((function(){var e="";if(P.guidance){var t=r?"value":v?"menu":"input";e=P.guidance({"aria-label":w,context:t,isDisabled:n&&g(n,l),isMulti:m,isSearchable:b,tabSelectsValue:x,isInitialFocus:M})}return e}),[w,n,r,m,g,b,v,P,l,x,M]),I=Ze(f.Fragment,null,Ze("span",{id:"aria-selection"},k),Ze("span",{id:"aria-focused"},E),Ze("span",{id:"aria-results"},S),Ze("span",{id:"aria-guidance"},j));return Ze(f.Fragment,null,Ze(Pn,{id:u},M&&I),Ze(Pn,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!M&&I))},Sn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Mn=new RegExp("["+Sn.map((function(e){return e.letters})).join("")+"]","g"),jn={},In=0;In<Sn.length;In++)for(var Tn=Sn[In],$n=0;$n<Tn.letters.length;$n++)jn[Tn.letters[$n]]=Tn.base;var Bn=function(e){return e.replace(Mn,(function(e){return jn[e]}))},Rn=function(e,t){void 0===t&&(t=wn);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(Bn),Ln=function(e){return e.replace(/^\s+|\s+$/g,"")},Nn=function(e){return"".concat(e.label," ").concat(e.value)},qn=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=i({ignoreCase:!0,ignoreAccents:!0,stringify:Nn,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,a=r.ignoreAccents,l=r.stringify,s=r.trim,u=r.matchFrom,c=s?Ln(n):n,d=s?Ln(l(t)):l(t);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),a&&(c=Rn(c),d=Bn(d)),"start"===u?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Dn=["innerRef"];function Fn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=c(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=c(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(d(e,Dn),"onExited","in","enter","exit","appear");return Ze("input",m({ref:t},n,{css:Xe({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var An=["boxSizing","height","overflow","paddingRight","position"],zn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Vn(e){e.cancelable&&e.preventDefault()}function Hn(e){e.stopPropagation()}function Un(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Wn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Gn=!("undefined"==typeof window||!window.document||!window.document.createElement),Yn=0,Kn={capture:!1,passive:!1},Zn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Xn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Jn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,l=(0,f.useRef)(!1),i=(0,f.useRef)(!1),s=(0,f.useRef)(0),u=(0,f.useRef)(null),c=(0,f.useCallback)((function(e,t){if(null!==u.current){var s=u.current,c=s.scrollTop,d=s.scrollHeight,f=s.clientHeight,p=u.current,h=t>0,m=d-f-c,g=!1;m>t&&l.current&&(r&&r(e),l.current=!1),h&&i.current&&(a&&a(e),i.current=!1),h&&t>m?(n&&!l.current&&n(e),p.scrollTop=d,g=!0,l.current=!0):!h&&-t>c&&(o&&!i.current&&o(e),p.scrollTop=0,g=!0,i.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),d=(0,f.useCallback)((function(e){c(e,e.deltaY)}),[c]),p=(0,f.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),h=(0,f.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;c(e,t)}),[c]),m=(0,f.useCallback)((function(e){if(e){var t=!!zt&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}}),[h,p,d]),g=(0,f.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))}),[h,p,d]);return(0,f.useEffect)((function(){if(t){var e=u.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,f.useRef)({}),a=(0,f.useRef)(null),l=(0,f.useCallback)((function(e){if(Gn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Yn<1){var a=parseInt(o.current.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,i=window.innerWidth-l+a||0;Object.keys(zn).forEach((function(e){var t=zn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(i,"px"))}t&&Wn()&&(t.addEventListener("touchmove",Vn,Kn),e&&(e.addEventListener("touchstart",Un,Kn),e.addEventListener("touchmove",Hn,Kn))),Yn+=1}}),[r]),i=(0,f.useCallback)((function(e){if(Gn){var t=document.body,n=t&&t.style;Yn=Math.max(Yn-1,0),r&&Yn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Wn()&&(t.removeEventListener("touchmove",Vn,Kn),e&&(e.removeEventListener("touchstart",Un,Kn),e.removeEventListener("touchmove",Hn,Kn)))}}),[r]);return(0,f.useEffect)((function(){if(t){var e=a.current;return l(e),function(){i(e)}}}),[t,l,i]),function(e){a.current=e}}({isEnabled:n});return Ze(f.Fragment,null,n&&Ze("div",{onClick:Zn,css:Xn}),t((function(e){o(e),a(e)})))}var Qn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},er=function(e){var t=e.name,n=e.onFocus;return Ze("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Qn,value:"",onChange:function(){}})};function tr(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function nr(){return tr(/^Mac/i)}var rr={clearIndicator:dn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,a=o.colors,l=o.borderRadius;return i({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},dropdownIndicator:cn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return i({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return i({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,l=o.colors;return i(i({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},bn),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:l.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,l=o.spacing.baseUnit;return i({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*l})},loadingMessage:tn,menu:function(e,t){var n,r=e.placement,o=e.theme,l=o.borderRadius,s=o.spacing,u=o.colors;return i((a(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),a(n,"position","absolute"),a(n,"width","100%"),a(n,"zIndex",1),n),t?{}:{backgroundColor:u.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return i({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors;return i({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return i({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors,l=e.isFocused;return i({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:l?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},noOptionsMessage:en,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,l=a.spacing,s=a.colors;return i({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*l.baseUnit,"px ").concat(3*l.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return i({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,a=r.colors;return i({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return i({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}};function or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i({},e);return Object.keys(t).forEach((function(r){var o=r;e[o]?n[o]=function(n,r){return t[o](e[o](n,r),r)}:n[o]=t[o]})),n}var ar={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},lr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:qt(),captureMenuScroll:!qt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:qn(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ir(e,t,n,r){return{type:"option",data:t,isDisabled:mr(e,t,n),isSelected:gr(e,t,n),label:pr(e,t),value:hr(e,t),index:r}}function sr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return ir(e,n,t,r)})).filter((function(t){return dr(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=ir(e,n,t,r);return dr(e,a)?a:void 0})).filter(Vt)}function ur(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,_(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function cr(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,_(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function dr(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,l=t.label,i=t.value;return(!vr(e)||!a)&&br(e,{label:l,value:i,data:o},r)}var fr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},pr=function(e,t){return e.getOptionLabel(t)},hr=function(e,t){return e.getOptionValue(t)};function mr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function gr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=hr(e,t);return n.some((function(t){return hr(e,t)===r}))}function br(e,t,n){return!e.filterOption||e.filterOption(t,n)}var vr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},yr=1,_r=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(n,e);var t=function(e){var t=y();return function(){var n,o=v(e);if(t){var a=v(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,a=n.name;t.name=a,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,a=o.closeMenuOnSelect,l=o.isMulti,i=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:i}),a&&(r.setState({inputIsHiddenAfterUpdate:!l}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,a=t.name,l=r.state.selectValue,i=o&&r.isOptionSelected(e,l),s=r.isOptionDisabled(e,l);if(i){var u=r.getOptionValue(e);r.setValue(l.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(s)return void r.ariaOnChange(e,{action:"select-option",option:e,name:a});o?r.setValue([].concat(_(l),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),a=n.filter((function(e){return r.getOptionValue(e)!==o})),l=Ht(t,a,a[0]||null);r.onChange(l,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Ht(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),a=Ht(e,o,o[0]||null);n&&r.onChange(a,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return fr(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return cr(sr(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mt.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return pr(r.props,e)},r.getOptionValue=function(e){return hr(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=rr[e](t,n);o.boxSizing="border-box";var a=r.props.styles[e];return a?a(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,i(i({},xn),e.components);var e},r.buildCategorizedOptions=function(){return sr(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return ur(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:i({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&$t(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),a=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||a>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return vr(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,a=t.escapeClearsValue,l=t.inputValue,i=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||l)return;r.focusValue("previous");break;case"ArrowRight":if(!n||l)return;r.focusValue("next");break;case"Delete":case"Backspace":if(l)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():i&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:l}),r.onMenuClose()):i&&a&&r.clearValue();break;case" ":if(l)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++yr),r.state.selectValue=jt(e.value),e.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),a=r.buildFocusableOptions(),l=a.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=a[l],r.state.focusedOptionId=fr(o,a[l])}return r}return function(e,t,n){t&&g(e.prototype,t),n&&g(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Nt(this.menuListRef,this.focusedOptionRef),(nr()||tr(/^iPhone/i)||tr(/^iPad/i)||nr()&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Nt(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),l="first"===e?0:a.length-1;if(!this.props.isMulti){var i=a.indexOf(r[0]);i>-1&&(l=i)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[l],focusedOptionId:this.getFocusedOptionId(a[l])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,l=-1;if(n.length){switch(e){case"previous":l=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(l=o+1)}this.setState({inputIsHidden:-1!==l,focusedValue:n[l]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ar):i(i({},ar),this.props.theme):ar}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,l=this.setValue,i=this.props,s=i.isMulti,u=i.isRtl,c=i.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,selectProps:i,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return mr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return gr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return br(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,l=e.form,s=e.menuIsOpen,u=e.required,c=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,g=this.commonProps,b=r||this.getElementId("input"),v=i(i(i({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?f.createElement(c,m({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:b,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:l,type:"text",value:o},v)):f.createElement(Fn,m({id:b,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Et,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,i=t.Placeholder,s=this.commonProps,u=this.props,c=u.controlShouldRenderValue,d=u.isDisabled,p=u.isMulti,h=u.inputValue,g=u.placeholder,b=this.state,v=b.selectValue,y=b.focusedValue,_=b.isFocused;if(!this.hasValue()||!c)return h?null:f.createElement(i,m({},s,{key:"placeholder",isDisabled:d,isFocused:_,innerProps:{id:this.getElementId("placeholder")}}),g);if(p)return v.map((function(t,l){var i=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return f.createElement(n,m({},s,{components:{Container:r,Label:o,Remove:a},isFocused:i,isDisabled:d,key:u,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var x=v[0];return f.createElement(l,m({},s,{data:x,isDisabled:d}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(e,m({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return e&&o?f.createElement(e,m({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return f.createElement(n,m({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(e,m({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,l=t.MenuPortal,i=t.LoadingMessage,s=t.NoOptionsMessage,u=t.Option,c=this.commonProps,d=this.state.focusedOption,p=this.props,h=p.captureMenuScroll,g=p.inputValue,b=p.isLoading,v=p.loadingMessage,y=p.minMenuHeight,_=p.maxMenuHeight,x=p.menuIsOpen,O=p.menuPlacement,w=p.menuPosition,C=p.menuPortalTarget,P=p.menuShouldBlockScroll,k=p.menuShouldScrollIntoView,E=p.noOptionsMessage,S=p.onMenuScrollToTop,M=p.onMenuScrollToBottom;if(!x)return null;var j,I=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,l=t.isSelected,i=t.label,s=t.value,p=d===o,h=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},b="".concat(e.getElementId("option"),"-").concat(n),v={id:b,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:l};return f.createElement(u,m({},c,{innerProps:v,data:o,isDisabled:a,isSelected:l,key:b,label:i,type:r,value:s,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())j=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,l=t.index,i="".concat(e.getElementId("group"),"-").concat(l),s="".concat(i,"-heading");return f.createElement(n,m({},c,{key:i,data:o,options:a,Heading:r,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return I(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return I(t,"".concat(t.index))}));else if(b){var T=v({inputValue:g});if(null===T)return null;j=f.createElement(i,c,T)}else{var $=E({inputValue:g});if(null===$)return null;j=f.createElement(s,c,$)}var B={minMenuHeight:y,maxMenuHeight:_,menuPlacement:O,menuPosition:w,menuShouldScrollIntoView:k},R=f.createElement(Jt,m({},c,B),(function(t){var n=t.ref,r=t.placerProps,l=r.placement,i=r.maxHeight;return f.createElement(o,m({},c,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:b,placement:l}),f.createElement(Jn,{captureEnabled:h,onTopArrive:S,onBottomArrive:M,lockEnabled:P},(function(t){return f.createElement(a,m({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:b,maxHeight:i,focusedOption:d}),j)})))}));return C||"fixed"===w?f.createElement(l,m({},c,{appendTo:C,controlElement:this.controlRef,menuPlacement:O,menuPosition:w}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,l=t.required,i=this.state.selectValue;if(l&&!this.hasValue()&&!r)return f.createElement(er,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){if(n){var s=i.map((function(t){return e.getOptionValue(t)})).join(n);return f.createElement("input",{name:a,type:"hidden",value:s})}var u=i.length>0?i.map((function(t,n){return f.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):f.createElement("input",{name:a,type:"hidden",value:""});return f.createElement("div",null,u)}var c=i[0]?this.getOptionValue(i[0]):"";return f.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,l=t.selectValue,i=this.getFocusableOptions();return f.createElement(En,m({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:l,focusableOptions:i,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,l=a.className,i=a.id,s=a.isDisabled,u=a.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return f.createElement(r,m({},d,{className:l,innerProps:{id:i,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:c}),this.renderLiveRegion(),f.createElement(t,m({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:c,menuIsOpen:u}),f.createElement(o,m({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),f.createElement(n,m({},d,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,l=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,f=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=jt(d),g={};if(n&&(d!==n.value||c!==n.options||f!==n.menuIsOpen||p!==n.inputValue)){var b=f?function(e,t){return ur(sr(e,t))}(e,m):[],v=f?cr(sr(e,m),"".concat(u,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,_=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,b);g={selectValue:m,focusedOption:_,focusedOptionId:fr(v,_),focusableOptionsWithIds:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},O=a,w=l&&s;return l&&!w&&(O={value:Ht(h,m,m[0]||null),options:m,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==a?void 0:a.action)&&(O=null),i(i(i({},g),x),{},{prevProps:e,ariaSelection:O,prevWasFocused:w})}}]),n}(f.Component);_r.defaultProps=lr;var xr=(0,f.forwardRef)((function(e,t){var n=h(e);return f.createElement(_r,m({ref:t},n))})),Or=function(e){var t=e.nonce,n=e.children,r=e.cacheKey,o=(0,f.useMemo)((function(){return xe({key:r,nonce:t})}),[r,t]);return f.createElement(ze,{value:o},n)}},24022:(e,t,n)=>{"use strict";var r=n(59864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function s(e){return r.isMemo(e)?l:i[e.$$typeof]||o}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=l;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var l=c(n);d&&(l=l.concat(d(n)));for(var i=s(t),m=s(n),g=0;g<l.length;++g){var b=l[g];if(!(a[b]||r&&r[b]||m&&m[b]||i&&i[b])){var v=f(n,b);try{u(t,b,v)}catch(e){}}}}return t}},42473:e=>{"use strict";e.exports=function(){}},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},57349:e=>{"use strict";e.exports=window.lodash.flow},66366:e=>{"use strict";e.exports=window.lodash.isEmpty},16653:e=>{"use strict";e.exports=window.lodash.omit},25158:e=>{"use strict";e.exports=window.wp.a11y},69307:e=>{"use strict";e.exports=window.wp.element},65736:e=>{"use strict";e.exports=window.wp.i18n},23695:e=>{"use strict";e.exports=window.yoast.helpers},85890:e=>{"use strict";e.exports=window.yoast.propTypes},37188:e=>{"use strict";e.exports=window.yoast.styleGuide},98487:e=>{"use strict";e.exports=window.yoast.styledComponents}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r=n(95235);(window.yoast=window.yoast||{}).componentsNew=r})(); dist/externals/analysis.js 0000644 00003225041 15174677550 0011725 0 ustar 00 (()=>{var e={12552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=g(r(4855)),a=r(49061),o=g(r(85551)),l=g(r(82304)),u=g(r(20019)),c=g(r(96908)),d=g(r(45632)),h=g(r(14539)),f=g(r(66225)),p=g(r(44885));function g(e){return e&&e.__esModule?e:{default:e}}const m={callbacks:{bindElementEvents:n.noop,updateSnippetValues:n.noop,saveScores:n.noop,saveContentScore:n.noop,updatedContentResults:n.noop,updatedKeywordsResults:n.noop},sampleText:{baseUrl:"example.org/",snippetCite:"example-post/",title:"",keyword:"Choose a focus keyword",meta:"",text:"Start writing your text!"},queue:["wordCount","keywordDensity","subHeadings","stopwords","fleschReading","linkCount","imageCount","slugKeyword","urlLength","metaDescription","pageTitleKeyword","pageTitleWidth","firstParagraph","'keywordDoubles"],typeDelay:3e3,typeDelayStep:1500,maxTypeDelay:5e3,dynamicDelay:!0,locale:"en_US",translations:{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}},replaceTarget:[],resetTarget:[],elementTarget:[],marker:n.noop,keywordAnalysisActive:!0,contentAnalysisActive:!0,debounceRefresh:!0};t.default=class{constructor(e){(0,n.isObject)(e)||(e={}),(0,n.defaultsDeep)(e,m),function(e){if(!(0,n.isObject)(e.callbacks.getData))throw new o.default("The app requires an object with a getdata callback.");if(!(0,n.isObject)(e.targets))throw new o.default("`targets` is a required App argument, `targets` is not an object.")}(e),this.config=e,!0===e.debouncedRefresh&&(this.refresh=(0,n.debounce)(this.refresh.bind(this),800)),this._pureRefresh=(0,n.throttle)(this._pureRefresh.bind(this),this.config.typeDelay),this.callbacks=this.config.callbacks,this.researcher=this.config.researcher,(0,s.setLocaleData)(this.config.translations.locale_data["wordpress-seo"],"wordpress-seo"),this.initializeAssessors(e),this.pluggable=new u.default(this),this.getData(),this.defaultOutputElement=this.getDefaultOutputElement(e),""!==this.defaultOutputElement&&this.showLoadingDialog(),this._assessorOptions={useCornerStone:!1},this.initAssessorPresenters()}getDefaultOutputElement(e){return e.keywordAnalysisActive?e.targets.output:e.contentAnalysisActive?e.targets.contentOutput:""}changeAssessorOptions(e){this._assessorOptions=(0,n.merge)(this._assessorOptions,e),this.seoAssessor=this.getSeoAssessor(),this.contentAssessor=this.getContentAssessor(),this.initAssessorPresenters(),this.refresh()}getSeoAssessor(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneSeoAssessor:this.defaultSeoAssessor}getContentAssessor(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneContentAssessor:this.defaultContentAssessor}initializeAssessors(e){this.initializeSEOAssessor(e),this.initializeContentAssessor(e)}initializeSEOAssessor(e){e.keywordAnalysisActive&&(this.defaultSeoAssessor=new p.default(this.researcher,{marker:this.config.marker}),this.cornerStoneSeoAssessor=new f.default(this.researcher,{marker:this.config.marker}),(0,n.isUndefined)(e.seoAssessor)?this.seoAssessor=this.defaultSeoAssessor:this.seoAssessor=e.seoAssessor)}initializeContentAssessor(e){e.contentAnalysisActive&&(this.defaultContentAssessor=new d.default(this.researcher,{marker:this.config.marker,locale:this.config.locale}),this.cornerStoneContentAssessor=new h.default(this.researcher,{marker:this.config.marker,locale:this.config.locale}),(0,n.isUndefined)(e._contentAssessor)?this.contentAssessor=this.defaultContentAssessor:this.contentAssessor=e._contentAssessor)}extendConfig(e){return e.sampleText=this.extendSampleText(e.sampleText),e.locale=e.locale||"en_US",e}extendSampleText(e){const t=m.sampleText;if((0,n.isUndefined)(e))return t;for(const r in e)(0,n.isUndefined)(e[r])&&(e[r]=t[r]);return e}registerCustomDataCallback(e){this.callbacks.custom||(this.callbacks.custom=[]),(0,n.isFunction)(e)&&this.callbacks.custom.push(e)}getData(){this.rawData=this.callbacks.getData(),(0,n.isArray)(this.callbacks.custom)&&this.callbacks.custom.forEach((e=>{const t=e();this.rawData=(0,n.merge)(this.rawData,t)})),this.pluggable.loaded&&(this.rawData.metaTitle=this.pluggable._applyModifications("data_page_title",this.rawData.metaTitle),this.rawData.meta=this.pluggable._applyModifications("data_meta_desc",this.rawData.meta)),this.rawData.titleWidth=(0,a.measureTextWidth)(this.rawData.metaTitle),this.rawData.locale=this.config.locale}refresh(){this.pluggable.loaded&&this._pureRefresh()}_pureRefresh(){this.getData(),this.runAnalyzer()}initAssessorPresenters(){(0,n.isUndefined)(this.config.targets.output)||(this.seoAssessorPresenter=new i.default({targets:{output:this.config.targets.output},assessor:this.seoAssessor})),(0,n.isUndefined)(this.config.targets.contentOutput)||(this.contentAssessorPresenter=new i.default({targets:{output:this.config.targets.contentOutput},assessor:this.contentAssessor}))}startTime(){this.startTimestamp=(new Date).getTime()}endTime(){this.endTimestamp=(new Date).getTime(),this.endTimestamp-this.startTimestamp>this.config.typeDelay&&this.config.typeDelay<this.config.maxTypeDelay-this.config.typeDelayStep&&(this.config.typeDelay+=this.config.typeDelayStep)}runAnalyzer(){if(!1===this.pluggable.loaded)return;this.config.dynamicDelay&&this.startTime(),this.analyzerData=this.modifyData(this.rawData);let e=this.analyzerData.text;e=(0,c.default)(e);const t=this.analyzerData.titleWidth;this.paper=new l.default(e,{keyword:this.analyzerData.keyword,synonyms:this.analyzerData.synonyms,description:this.analyzerData.meta,slug:this.analyzerData.slug,title:this.analyzerData.metaTitle,titleWidth:t,locale:this.config.locale,permalink:this.analyzerData.permalink}),this.config.researcher.setPaper(this.paper),this.runKeywordAnalysis(),this.runContentAnalysis(),this._renderAnalysisResults(),this.config.dynamicDelay&&this.endTime()}runKeywordAnalysis(){if(this.config.keywordAnalysisActive){this.seoAssessor.assess(this.paper);const e=this.seoAssessor.calculateOverallScore();(0,n.isUndefined)(this.callbacks.updatedKeywordsResults)||this.callbacks.updatedKeywordsResults(this.seoAssessor.results,e),(0,n.isUndefined)(this.callbacks.saveScores)||this.callbacks.saveScores(e,this.seoAssessorPresenter)}}runContentAnalysis(){if(this.config.contentAnalysisActive){this.contentAssessor.assess(this.paper);const e=this.contentAssessor.calculateOverallScore();(0,n.isUndefined)(this.callbacks.updatedContentResults)||this.callbacks.updatedContentResults(this.contentAssessor.results,e),(0,n.isUndefined)(this.callbacks.saveContentScore)||this.callbacks.saveContentScore(e,this.contentAssessorPresenter)}}modifyData(e){return(e=JSON.parse(JSON.stringify(e))).text=this.pluggable._applyModifications("content",e.text),e.metaTitle=this.pluggable._applyModifications("title",e.metaTitle),e}pluginsLoaded(){this.removeLoadingDialog(),this.refresh()}showLoadingDialog(){const e=document.getElementById(this.defaultOutputElement);if(""!==this.defaultOutputElement&&!(0,n.isEmpty)(e)){const e=document.createElement("div");e.className="YoastSEO_msg",e.id="YoastSEO-plugin-loading",document.getElementById(this.defaultOutputElement).appendChild(e)}}updateLoadingDialog(e){const t=document.getElementById(this.defaultOutputElement);if(""===this.defaultOutputElement||(0,n.isEmpty)(t))return;const r=document.getElementById("YoastSEO-plugin-loading");r.textContent="",(0,n.forEach)(e,(function(e,t){r.innerHTML+="<span class=left>"+t+"</span><span class=right "+e.status+">"+e.status+"</span><br />"})),r.innerHTML+="<span class=bufferbar></span>"}removeLoadingDialog(){const e=document.getElementById(this.defaultOutputElement),t=document.getElementById("YoastSEO-plugin-loading");""===this.defaultOutputElement||(0,n.isEmpty)(e)||(0,n.isEmpty)(t)||document.getElementById(this.defaultOutputElement).removeChild(document.getElementById("YoastSEO-plugin-loading"))}registerPlugin(e,t){return this.pluggable._registerPlugin(e,t)}pluginReady(e){return this.pluggable._ready(e)}pluginReloaded(e){return this.pluggable._reloaded(e)}registerModification(e,t,r,s){return this.pluggable._registerModification(e,t,r,s)}registerAssessment(e,t,r){if(!(0,n.isUndefined)(this.seoAssessor))return this.pluggable._registerAssessment(this.defaultSeoAssessor,e,t,r)&&this.pluggable._registerAssessment(this.cornerStoneSeoAssessor,e,t,r)}disableMarkers(){(0,n.isUndefined)(this.seoAssessorPresenter)||this.seoAssessorPresenter.disableMarker(),(0,n.isUndefined)(this.contentAssessorPresenter)||this.contentAssessorPresenter.disableMarker()}_renderAnalysisResults(){this.config.contentAnalysisActive&&!(0,n.isUndefined)(this.contentAssessorPresenter)&&this.contentAssessorPresenter.renderIndividualRatings(),this.config.keywordAnalysisActive&&!(0,n.isUndefined)(this.seoAssessorPresenter)&&(this.seoAssessorPresenter.setKeyword(this.paper.getKeyword()),this.seoAssessorPresenter.render())}analyzeTimer(){this.refresh()}registerTest(){console.error("This function is deprecated, please use registerAssessment")}switchAssessors(e){console.warn("Switch assessor is deprecated since YoastSEO.js version 1.35.0"),this.changeAssessorOptions({useCornerStone:e})}}},74059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"usedKeywords",{enumerable:!0,get:function(){return n.default}});var s,n=(s=r(41156))&&s.__esModule?s:{default:s}},41156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(85551)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e,t){if((0,n.isUndefined)(e))throw new i.default("The previously keyword plugin requires the YoastSEO app");(0,n.isUndefined)(t)&&(t={usedKeywords:{},usedKeywordsPostTypes:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.usedKeywordsPostTypes=t.usedKeywordsPostTypes,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=(0,a.createAnchorOpeningTag)("https://yoa.st/33x"),this.urlCallToAction=(0,a.createAnchorOpeningTag)("https://yoa.st/33y")}registerPlugin(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this)},"previouslyUsedKeywords")}updateKeywordUsage(e,t){this.usedKeywords=e,this.usedKeywordsPostTypes=t}scoreAssessment(e,t){if(0===Object.keys(e).length)return{text:(0,s.sprintf)( /* translators: %1$s and %2$s expand to a link to an article on yoast.com, %3$s expands to an anchor end tag. */ (0,s.__)("%1$sPreviously used keyphrase%3$s: No focus keyphrase was set for this page. %2$sPlease add a focus keyphrase you haven't used before on other content%3$s.","wordpress-seo"),this.urlTitle,this.urlCallToAction,"</a>"),score:1};const r=e.count,n=e.id,i=e.postTypeToDisplay;let a;return 0===r?{text:(0,s.sprintf)( /* translators: %1$s expands to a link to an article on yoast.com, %2$s expands to an anchor end tag. */ (0,s.__)("%1$sPreviously used keyphrase%2$s: You've not used this keyphrase before, very good.","wordpress-seo"),this.urlTitle,"</a>"),score:9}:1===r?(a=`<a href='${this.postUrl.replace("{id}",n)}' target='_blank'>`,{ /* translators: %1$s expands to an admin link where the keyphrase is already used, %2$s expands to the anchor end tag, %3$s and %4$s expand to links on yoast.com. */ text:(0,s.sprintf)((0,s.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$sonce before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"</a>",this.urlTitle,this.urlCallToAction),score:6}):r>1?(a=i?`<a href='${this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))}&post_type=${i}' target='_blank'>`:`<a href='${this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))}' target='_blank'>`,{ /* translators: %1$s expands to a link to the admin search page for the keyphrase, %2$s expands to the anchor end tag, %3$s and %4$s expand to links to yoast.com */ text:(0,s.sprintf)((0,s.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$smultiple times before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"</a>",this.urlTitle,this.urlCallToAction),score:1}):void 0}researchPreviouslyUsedKeywords(e){const t=e.getKeyword();if(!t)return{};let r=0,s="",i=0;return!(0,n.isUndefined)(this.usedKeywords[t])&&this.usedKeywords[t].length>0&&(r=this.usedKeywords[t].length,t in this.usedKeywordsPostTypes&&(s=this.usedKeywordsPostTypes[t][0]),i=this.usedKeywords[t][0]),{id:i,count:r,postTypeToDisplay:s}}assess(e){const t=this.researchPreviouslyUsedKeywords(e),r=this.scoreAssessment(t,e),s=new o.default;return s.setScore(r.score),s.setText(r.text),s}}},24910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}]}},43879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];const t=(0,n.default)(e);return"nb"===t||"nn"===t?a.nbnn:"bal"===t||"ca"===t?a.ca:a[t]||[]},t.transliterations=void 0;var s,n=(s=r(67404))&&s.__esModule?s:{default:s},i=r(92819);const a=t.transliterations={es:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00FA\u00FC]/g,alternative:"u"},{letter:/[\u00DA\u00DC]/g,alternative:"U"}],pl:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u017A\u017C]/g,alternative:"z"},{letter:/[\u0179\u017B]/g,alternative:"Z"}],de:[{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00DF]/g,alternative:"ss"},{letter:/[\u1E9E]/g,alternative:"SS"}],nbnn:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00F3\u00F2\u00F4]/g,alternative:"o"},{letter:/[\u00D3\u00D2\u00D4]/g,alternative:"O"}],sv:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"}],fi:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u017E]/g,alternative:"zh"},{letter:/[\u017D]/g,alternative:"Zh"},{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"}],da:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"}],tr:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u0131\u00EE]/g,alternative:"i"},{letter:/[\u0130\u00CE]/g,alternative:"I"},{letter:/[\u00FC\u00FB]/g,alternative:"u"},{letter:/[\u00DC\u00DB]/g,alternative:"U"}],lv:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"}],is:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3\u00F6]/g,alternative:"o"},{letter:/[\u00D3\u00D6]/g,alternative:"O"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00DE]/g,alternative:"Th"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],fa:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00F3\u00F8]/g,alternative:"o"},{letter:/[\u00D3\u00D8]/g,alternative:"O"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],cs:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u00E9\u011B]/g,alternative:"e"},{letter:/[\u00C9\u011A]/g,alternative:"E"},{letter:/[\u00FA\u016F]/g,alternative:"u"},{letter:/[\u00DA\u016E]/g,alternative:"U"}],ru:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0456\u0438\u0439]/g,alternative:"i"},{letter:/[\u0406\u0418\u0419]/g,alternative:"I"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044A]/g,alternative:"ie"},{letter:/[\u042A]/g,alternative:"Ie"},{letter:/[\u044B]/g,alternative:"y"},{letter:/[\u042B]/g,alternative:"Y"},{letter:/[\u044C]/g,alternative:""},{letter:/[\u042C]/g,alternative:""},{letter:/[\u0451\u044D]/g,alternative:"e"},{letter:/[\u0401\u042D]/g,alternative:"E"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/[\u042E]/g,alternative:"Iu"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/[\u042F]/g,alternative:"Ia"}],eo:[{letter:/[\u0109]/g,alternative:"ch"},{letter:/[\u0108]/g,alternative:"Ch"},{letter:/[\u011d]/g,alternative:"gh"},{letter:/[\u011c]/g,alternative:"Gh"},{letter:/[\u0125]/g,alternative:"hx"},{letter:/[\u0124]/g,alternative:"Hx"},{letter:/[\u0135]/g,alternative:"jx"},{letter:/[\u0134]/g,alternative:"Jx"},{letter:/[\u015d]/g,alternative:"sx"},{letter:/[\u015c]/g,alternative:"Sx"},{letter:/[\u016d]/g,alternative:"ux"},{letter:/[\u016c]/g,alternative:"Ux"}],af:[{letter:/[\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00CB\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00EE\u00EF]/g,alternative:"i"},{letter:/[\u00CE\u00CF]/g,alternative:"I"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00DB\u00DC]/g,alternative:"U"}],ca:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9|\u00E8]/g,alternative:"e"},{letter:/[\u00C9|\u00C8]/g,alternative:"E"},{letter:/[\u00ED|\u00EF]/g,alternative:"i"},{letter:/[\u00CD|\u00CF]/g,alternative:"I"},{letter:/[\u00F3|\u00F2]/g,alternative:"o"},{letter:/[\u00D3|\u00D2]/g,alternative:"O"},{letter:/[\u00FA|\u00FC]/g,alternative:"u"},{letter:/[\u00DA|\u00DC]/g,alternative:"U"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"}],ast:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],an:[{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00F1]/g,alternative:"ny"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00D1]/g,alternative:"Ny"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00C1]/g,alternative:"A"}],ay:[{letter:/(([\u00EF])|([\u00ED]))/g,alternative:"i"},{letter:/(([\u00CF])|([\u00CD]))/g,alternative:"I"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u0027]/g,alternative:""},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],en:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00EB\u00E9]/g,alternative:"e"},{letter:/[\u00C9\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],fr:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EB\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CB\u00CA]/g,alternative:"E"},{letter:/[\u00E0\u00E2]/g,alternative:"a"},{letter:/[\u00C0\u00C2]/g,alternative:"A"},{letter:/[\u00EF\u00EE]/g,alternative:"i"},{letter:/[\u00CF\u00CE]/g,alternative:"I"},{letter:/[\u00F9\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00D9\u00DB\u00DC]/g,alternative:"U"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],it:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9\u00E8]/g,alternative:"e"},{letter:/[\u00C9\u00C8]/g,alternative:"E"},{letter:/[\u00EC\u00ED\u00EE]/g,alternative:"i"},{letter:/[\u00CC\u00CD\u00CE]/g,alternative:"I"},{letter:/[\u00F3\u00F2]/g,alternative:"o"},{letter:/[\u00D3\u00D2]/g,alternative:"O"},{letter:/[\u00F9\u00FA]/g,alternative:"u"},{letter:/[\u00D9\u00DA]/g,alternative:"U"}],nl:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E9\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],bm:[{letter:/[\u025B]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0272]/g,alternative:"ny"},{letter:/[\u019D]/g,alternative:"Ny"},{letter:/[\u014B]/g,alternative:"ng"},{letter:/[\u014A]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"}],uk:[{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"h"},{letter:/[\u0413]/g,alternative:"H"},{letter:/[\u0491]/g,alternative:"g"},{letter:/[\u0490]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u0070]/g,alternative:"r"},{letter:/[\u0050]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044C\u042C]/g,alternative:""},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0438]/g,alternative:"y"},{letter:/[\u0418]/g,alternative:"Y"},{letter:/^[\u0454]/g,alternative:"ye"},{letter:/[\s][\u0454]/g,alternative:" ye"},{letter:/[\u0454]/g,alternative:"ie"},{letter:/^[\u0404]/g,alternative:"Ye"},{letter:/[\s][\u0404]/g,alternative:" Ye"},{letter:/[\u0404]/g,alternative:"IE"},{letter:/^[\u0457]/g,alternative:"yi"},{letter:/[\s][\u0457]/g,alternative:" yi"},{letter:/[\u0457]/g,alternative:"i"},{letter:/^[\u0407]/g,alternative:"Yi"},{letter:/[\s][\u0407]/g,alternative:" Yi"},{letter:/[\u0407]/g,alternative:"I"},{letter:/^[\u0439]/g,alternative:"y"},{letter:/[\s][\u0439]/g,alternative:" y"},{letter:/[\u0439]/g,alternative:"i"},{letter:/^[\u0419]/g,alternative:"Y"},{letter:/[\s][\u0419]/g,alternative:" Y"},{letter:/[\u0419]/g,alternative:"I"},{letter:/^[\u044E]/g,alternative:"yu"},{letter:/[\s][\u044E]/g,alternative:" yu"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/^[\u042E]/g,alternative:"Yu"},{letter:/[\s][\u042E]/g,alternative:" Yu"},{letter:/[\u042E]/g,alternative:"IU"},{letter:/^[\u044F]/g,alternative:"ya"},{letter:/[\s][\u044F]/g,alternative:" ya"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/^[\u042F]/g,alternative:"Ya"},{letter:/[\s][\u042F]/g,alternative:" Ya"},{letter:/[\u042F]/g,alternative:"IA"}],br:[{letter:/\u0063\u0027\u0068/g,alternative:"ch"},{letter:/\u0043\u0027\u0048/g,alternative:"CH"},{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],ch:[{letter:/[\u0027]/g,alternative:""},{letter:/[\u00e5]/g,alternative:"a"},{letter:/[\u00c5]/g,alternative:"A"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],co:[{letter:/[\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00e6\u04d5]/g,alternative:"ae"},{letter:/[\u00c6\u04d4]/g,alternative:"Ae"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e9\u00ea\u00e8\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00ca\u00c8\u00cb]/g,alternative:"E"},{letter:/[\u00ec\u00ee\u00ef]/g,alternative:"i"},{letter:/[\u00cc\u00ce\u00cf]/g,alternative:"I"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00f4\u00f2]/g,alternative:"o"},{letter:/[\u00d4\u00d2]/g,alternative:"O"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]]/g,alternative:"Oe"},{letter:/[\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00ff]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"}],csb:[{letter:/[\u0105\u00e3]/g,alternative:"a"},{letter:/[\u0104\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00cb]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00f2\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u017c]/g,alternative:"z"},{letter:/[\u017b]/g,alternative:"Z"}],cy:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0176]/g,alternative:"Y"}],ee:[{letter:/[\u0256]/g,alternative:"d"},{letter:/[\u0189]/g,alternative:"D"},{letter:/[\u025b]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0192]/g,alternative:"f"},{letter:/[\u0191]/g,alternative:"F"},{letter:/[\u0263]/g,alternative:"g"},{letter:/[\u0194]/g,alternative:"G"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"},{letter:/[\u028b]/g,alternative:"w"},{letter:/[\u01b2]/g,alternative:"W"},{letter:/\u0061\u0303/g,alternative:"a"},{letter:/[\u00e1\u00e0\u01ce\u00e2\u00e3]/g,alternative:"a"},{letter:/\u0041\u0303/g,alternative:"A"},{letter:/[\u00c1\u00c0\u01cd\u00c2\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00e8\u011b\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u011a\u00ca]/g,alternative:"E"},{letter:/[\u00f3\u00f2\u01d2\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u01d1\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u00f9\u01d4\u00fb]/g,alternative:"u"},{letter:/[\u00da\u00d9\u01d3\u00db]/g,alternative:"U"},{letter:/[\u00ed\u00ec\u01d0\u00ee]/g,alternative:"i"},{letter:/[\u00cd\u00cc\u01cf\u00ce]/g,alternative:"I"}],et:[{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"},{letter:/[\u017e]/g,alternative:"zh"},{letter:/[\u017d]/g,alternative:"Zh"},{letter:/[\u00f5\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d5]/g,alternative:"O"},{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],eu:[{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],fuc:[{letter:/[\u0253]/g,alternative:"b"},{letter:/[\u0181]/g,alternative:"B"},{letter:/[\u0257]/g,alternative:"d"},{letter:/[\u018a]/g,alternative:"D"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0272\u00f1]/g,alternative:"ny"},{letter:/[\u019d\u00d1]/g,alternative:"Ny"},{letter:/[\u01b4]/g,alternative:"y"},{letter:/[\u01b3]/g,alternative:"Y"},{letter:/[\u0260]/g,alternative:"g"},{letter:/[\u0193]/g,alternative:"G"}],fj:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u016a]/g,alternative:"U"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u014c]/g,alternative:"O"}],frp:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00ca\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"}],fur:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00e0\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ec\u00ee]/g,alternative:"i"},{letter:/[\u00cc\u00ce]/g,alternative:"I"},{letter:/[\u00f2\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d4]/g,alternative:"O"},{letter:/[\u00f9\u00fb]/g,alternative:"u"},{letter:/[\u00d9\u00db]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u011f]/g,alternative:"g"},{letter:/[\u011e]/g,alternative:"G"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"}],fy:[{letter:/[\u00e2\u0101\u00e4\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u0100\u00c4\u00c5]/g,alternative:"A"},{letter:/[\u00ea\u00e9\u0113]/g,alternative:"e"},{letter:/[\u00ca\u00c9\u0112]/g,alternative:"E"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d4\u00d6]/g,alternative:"O"},{letter:/[\u00fa\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u0111\u00f0]/g,alternative:"d"},{letter:/[\u0110\u00d0]/g,alternative:"D"}],ga:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"}],gd:[{letter:/[\u00e0]/g,alternative:"a"},{letter:/[\u00c0]/g,alternative:"A"},{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u00ec]/g,alternative:"i"},{letter:/[\u00cc]/g,alternative:"I"}],gl:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],gn:[{letter:/[\u2019]/g,alternative:""},{letter:/\u0067\u0303/g,alternative:"g"},{letter:/\u0047\u0303/g,alternative:"G"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u1ebd]/g,alternative:"e"},{letter:/[\u1ebc]/g,alternative:"E"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u00f5]/g,alternative:"o"},{letter:/[\u00d5]/g,alternative:"O"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u1ef9]/g,alternative:"y"},{letter:/[\u1ef8]/g,alternative:"Y"}],gsw:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00f6]/g,alternative:"o"},{letter:/[\u00d6]/g,alternative:"O"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],hat:[{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"}],haw:[{letter:/[\u02bb\u0027\u2019]/g,alternative:""},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u014c]/g,alternative:"O"},{letter:/[\u016a]/g,alternative:"U"}],hr:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"dj"},{letter:/[\u0110]/g,alternative:"Dj"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"}],ka:[{letter:/[\u10d0]/g,alternative:"a"},{letter:/[\u10d1]/g,alternative:"b"},{letter:/[\u10d2]/g,alternative:"g"},{letter:/[\u10d3]/g,alternative:"d"},{letter:/[\u10d4]/g,alternative:"e"},{letter:/[\u10d5]/g,alternative:"v"},{letter:/[\u10d6]/g,alternative:"z"},{letter:/[\u10d7]/g,alternative:"t"},{letter:/[\u10d8]/g,alternative:"i"},{letter:/[\u10d9]/g,alternative:"k"},{letter:/[\u10da]/g,alternative:"l"},{letter:/[\u10db]/g,alternative:"m"},{letter:/[\u10dc]/g,alternative:"n"},{letter:/[\u10dd]/g,alternative:"o"},{letter:/[\u10de]/g,alternative:"p"},{letter:/[\u10df]/g,alternative:"zh"},{letter:/[\u10e0]/g,alternative:"r"},{letter:/[\u10e1]/g,alternative:"s"},{letter:/[\u10e2]/g,alternative:"t"},{letter:/[\u10e3]/g,alternative:"u"},{letter:/[\u10e4]/g,alternative:"p"},{letter:/[\u10e5]/g,alternative:"k"},{letter:/[\u10e6]/g,alternative:"gh"},{letter:/[\u10e7]/g,alternative:"q"},{letter:/[\u10e8]/g,alternative:"sh"},{letter:/[\u10e9]/g,alternative:"ch"},{letter:/[\u10ea]/g,alternative:"ts"},{letter:/[\u10eb]/g,alternative:"dz"},{letter:/[\u10ec]/g,alternative:"ts"},{letter:/[\u10ed]/g,alternative:"ch"},{letter:/[\u10ee]/g,alternative:"kh"},{letter:/[\u10ef]/g,alternative:"j"},{letter:/[\u10f0]/g,alternative:"h"}],kal:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"}],kin:[{letter:/[\u2019\u0027]/g,alternative:""}],lb:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e9]/g,alternative:"e"},{letter:/[\u00cb\u00c9]/g,alternative:"E"}],li:[{letter:/[\u00e1\u00e2\u00e0\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c0\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00cb\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00f6\u00f3]/g,alternative:"o"},{letter:/[\u00d6\u00d3]/g,alternative:"O"}],lin:[{letter:/[\u00e1\u00e2\u01ce]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u01cd]/g,alternative:"A"},{letter:/\u025b\u0301/g,alternative:"e"},{letter:/\u025b\u0302/g,alternative:"e"},{letter:/\u025b\u030c/g,alternative:"e"},{letter:/[\u00e9\u00ea\u011b\u025b]/g,alternative:"e"},{letter:/\u0190\u0301/g,alternative:"E"},{letter:/\u0190\u0302/g,alternative:"E"},{letter:/\u0190\u030c/g,alternative:"E"},{letter:/[\u00c9\u00ca\u011a\u0190]/g,alternative:"E"},{letter:/[\u00ed\u00ee\u01d0]/g,alternative:"i"},{letter:/[\u00cd\u00ce\u01cf]/g,alternative:"I"},{letter:/\u0254\u0301/g,alternative:"o"},{letter:/\u0254\u0302/g,alternative:"o"},{letter:/\u0254\u030c/g,alternative:"o"},{letter:/[\u00f3\u00f4\u01d2\u0254]/g,alternative:"o"},{letter:/\u0186\u0301/g,alternative:"O"},{letter:/\u0186\u0302/g,alternative:"O"},{letter:/\u0186\u030c/g,alternative:"O"},{letter:/[\u00d3\u00d4\u01d1\u0186]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],lt:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u0119\u0117]/g,alternative:"e"},{letter:/[\u0118\u0116]/g,alternative:"E"},{letter:/[\u012f]/g,alternative:"i"},{letter:/[\u012e]/g,alternative:"I"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0173\u016b]/g,alternative:"u"},{letter:/[\u0172\u016a]/g,alternative:"U"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],mg:[{letter:/[\u00f4]/g,alternative:"ao"},{letter:/[\u00d4]/g,alternative:"Ao"}],mk:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0453]/g,alternative:"gj"},{letter:/[\u0403]/g,alternative:"Gj"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0455]/g,alternative:"dz"},{letter:/[\u0405]/g,alternative:"Dz"},{letter:/[\u0438]/g,alternative:"i"},{letter:/[\u0418]/g,alternative:"I"},{letter:/[\u0458]/g,alternative:"j"},{letter:/[\u0408]/g,alternative:"J"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u0459]/g,alternative:"lj"},{letter:/[\u0409]/g,alternative:"Lj"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u045A]/g,alternative:"nj"},{letter:/[\u040A]/g,alternative:"Nj"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u045C]/g,alternative:"kj"},{letter:/[\u040C]/g,alternative:"Kj"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"h"},{letter:/[\u0425]/g,alternative:"H"},{letter:/[\u0446]/g,alternative:"c"},{letter:/[\u0426]/g,alternative:"C"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u045F]/g,alternative:"dj"},{letter:/[\u040F]/g,alternative:"Dj"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"}],mri:[{letter:/[\u0101]/g,alternative:"aa"},{letter:/[\u0100]/g,alternative:"Aa"},{letter:/[\u0113]/g,alternative:"ee"},{letter:/[\u0112]/g,alternative:"Ee"},{letter:/[\u012b]/g,alternative:"ii"},{letter:/[\u012a]/g,alternative:"Ii"},{letter:/[\u014d]/g,alternative:"oo"},{letter:/[\u014c]/g,alternative:"Oo"},{letter:/[\u016b]/g,alternative:"uu"},{letter:/[\u016a]/g,alternative:"Uu"}],mwl:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u0169]/g,alternative:"u"},{letter:/[\u00da\u0168]/g,alternative:"U"}],oci:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00b7]/g,alternative:""}],orm:[{letter:/[\u0027]/g,alternative:""}],pt:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1\u00e2\u00e3\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c3\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u00d3\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],roh:[{letter:/[\u00e9\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ef]/g,alternative:"i"},{letter:/[\u00cf]/g,alternative:"I"},{letter:/[\u00f6]/g,alternative:"oe"},{letter:/[\u00d6]/g,alternative:"Oe"},{letter:/[\u00fc]/g,alternative:"ue"},{letter:/[\u00dc]/g,alternative:"Ue"},{letter:/[\u00e4]/g,alternative:"ae"},{letter:/[\u00c4]/g,alternative:"Ae"}],rup:[{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"}],ro:[{letter:/[\u0103\u00e2]/g,alternative:"a"},{letter:/[\u0102\u00c2]/g,alternative:"A"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u0219\u015f]/g,alternative:"s"},{letter:/[\u0218\u015e]/g,alternative:"S"},{letter:/[\u021b\u0163]/g,alternative:"t"},{letter:/[\u021a\u0162]/g,alternative:"T"}],tlh:[{letter:/[\u2019\u0027]/g,alternative:""}],sk:[{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"},{letter:/[\u00e1\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c4]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u010f]/g,alternative:"d"},{letter:/[\u010e]/g,alternative:"D"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u013e\u013a]/g,alternative:"l"},{letter:/[\u013d\u0139]/g,alternative:"L"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00fd]/g,alternative:"y"},{letter:/[\u00dd]/g,alternative:"Y"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],sl:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u00e0\u00e1\u0203\u0201]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u0202\u0200]/g,alternative:"A"},{letter:/[\u00e8\u00e9\u0207\u0205]/g,alternative:"e"},{letter:/\u01dd\u0300/g,alternative:"e"},{letter:/\u01dd\u030f/g,alternative:"e"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb9\u0311/g,alternative:"e"},{letter:/[\u00c8\u00c9\u0206\u0204]/g,alternative:"E"},{letter:/\u018e\u030f/g,alternative:"E"},{letter:/\u018e\u0300/g,alternative:"E"},{letter:/\u1eb8\u0311/g,alternative:"E"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/[\u00ec\u00ed\u020b\u0209]/g,alternative:"i"},{letter:/[\u00cc\u00cd\u020a\u0208]/g,alternative:"I"},{letter:/[\u00f2\u00f3\u020f\u020d]/g,alternative:"o"},{letter:/\u1ecd\u0311/g,alternative:"o"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0311/g,alternative:"O"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/[\u00d2\u00d3\u020e\u020c]/g,alternative:"O"},{letter:/[\u00f9\u00fa\u0217\u0215]/g,alternative:"u"},{letter:/[\u00d9\u00da\u0216\u0214]/g,alternative:"U"},{letter:/[\u0155\u0213]/g,alternative:"r"},{letter:/[\u0154\u0212]/g,alternative:"R"}],sq:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00eb]/g,alternative:"e"},{letter:/[\u00cb]/g,alternative:"E"}],hu:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f6\u0151]/g,alternative:"o"},{letter:/[\u00d3\u00d6\u0150]/g,alternative:"O"},{letter:/[\u00fa\u00fc\u0171]/g,alternative:"u"},{letter:/[\u00da\u00dc\u0170]/g,alternative:"U"}],srd:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"}],szl:[{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u0142]/g,alternative:"u"},{letter:/[\u0141]/g,alternative:"U"},{letter:/[\u006e]/g,alternative:"n"},{letter:/[\u004e]/g,alternative:"N"},{letter:/[\u014f\u014d\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u014e\u014c\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u015b]/g,alternative:"s"},{letter:/[\u015a]/g,alternative:"S"},{letter:/[\u017a\u017c\u017e]/g,alternative:"z"},{letter:/[\u0179\u017b\u017d]/g,alternative:"Z"},{letter:/[\u016f]/g,alternative:"u"},{letter:/[\u016e]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"cz"},{letter:/[\u010c]/g,alternative:"Cz"},{letter:/[\u0159]/g,alternative:"rz"},{letter:/[\u0158]/g,alternative:"Rz"},{letter:/[\u0161]/g,alternative:"sz"},{letter:/[\u0160]/g,alternative:"Sz"}],tah:[{letter:/[\u0101\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u0100\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00ef\u00ee\u00ec]/g,alternative:"i"},{letter:/[\u00cf\u00ce\u00cc]/g,alternative:"I"},{letter:/[\u0113\u00ea\u00e9]/g,alternative:"e"},{letter:/[\u0112\u00ca\u00c9]/g,alternative:"E"},{letter:/[\u016b\u00fb\u00fa]/g,alternative:"u"},{letter:/[\u016a\u00db\u00da]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f2\u00f4\u014d]/g,alternative:"o"},{letter:/[\u00d2\u00d4\u014c]/g,alternative:"O"},{letter:/[\u2019\u0027\u2018]/g,alternative:""}],vec:[{letter:/\u0073\u002d\u0063/g,alternative:"sc"},{letter:/\u0053\u002d\u0043/g,alternative:"SC"},{letter:/\u0073\u0027\u0063/g,alternative:"sc"},{letter:/\u0053\u0027\u0043/g,alternative:"SC"},{letter:/\u0073\u2019\u0063/g,alternative:"sc"},{letter:/\u0053\u2019\u0043/g,alternative:"SC"},{letter:/\u0073\u2018\u0063/g,alternative:"sc"},{letter:/\u0053\u2018\u0043/g,alternative:"SC"},{letter:/\u0053\u002d\u0063/g,alternative:"Sc"},{letter:/\u0053\u0027\u0063/g,alternative:"Sc"},{letter:/\u0053\u2019\u0063/g,alternative:"Sc"},{letter:/\u0053\u2018\u0063/g,alternative:"Sc"},{letter:/\u0063\u2019/g,alternative:"c"},{letter:/\u0043\u2019/g,alternative:"C"},{letter:/\u0063\u2018/g,alternative:"c"},{letter:/\u0043\u2018/g,alternative:"C"},{letter:/\u0063\u0027/g,alternative:"c"},{letter:/\u0043\u0027/g,alternative:"C"},{letter:/[\u00e0\u00e1\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00f9\u00fa]/g,alternative:"u"},{letter:/[\u00d9\u00da]/g,alternative:"U"},{letter:/[\u00e7\u010d\u010b]/g,alternative:"c"},{letter:/[\u00c7\u010c\u010a]/g,alternative:"C"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u00a3\u0141]/g,alternative:"L"},{letter:/\ud835\udeff/g,alternative:"dh"},{letter:/[\u0111\u03b4]/g,alternative:"dh"},{letter:/[\u0110\u0394]/g,alternative:"Dh"}],wa:[{letter:/[\u00e2\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u00c5]/g,alternative:"A"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/\u0065\u030a/g,alternative:"e"},{letter:/\u0045\u030a/g,alternative:"E"},{letter:/[\u00eb\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca\u00cb]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"}],yor:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00ec\u00ed]/g,alternative:"i"},{letter:/[\u00cc\u00cd]/g,alternative:"I"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/\u1ecd\u0300/g,alternative:"o"},{letter:/\u1ecc\u0300/g,alternative:"O"},{letter:/[\u00f3\u00f2\u1ecd]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u1ecc]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/\u1eb9\u0300/g,alternative:"e"},{letter:/\u1eb8\u0300/g,alternative:"E"},{letter:/[\u00e9\u00e8\u1eb9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u1eb8]/g,alternative:"E"},{letter:/[\u1e63]/g,alternative:"s"},{letter:/[\u1e62]/g,alternative:"S"}]}},78035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"presenter",{enumerable:!0,get:function(){return n.default}});var s,n=(s=r(1456))&&s.__esModule?s:{default:s}},1456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,s.__)("Content optimization:","wordpress-seo");return{feedback:{className:"na",screenReaderText:(0,s.__)("Feedback","wordpress-seo"),fullText:`${e} ${(0,s.__)("Has feedback","wordpress-seo")}`,screenReaderReadabilityText:""},bad:{className:"bad",screenReaderText:(0,s.__)("Needs improvement","wordpress-seo"),fullText:`${e} ${(0,s.__)("Needs improvement","wordpress-seo")}`,screenReaderReadabilityText:(0,s.__)("Needs improvement","wordpress-seo")},ok:{className:"ok",screenReaderText:(0,s.__)("OK SEO score","wordpress-seo"),fullText:`${e} ${(0,s.__)("OK SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,s.__)("OK","wordpress-seo")},good:{className:"good",screenReaderText:(0,s.__)("Good SEO score","wordpress-seo"),fullText:`${e} ${(0,s.__)("Good SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,s.__)("Good","wordpress-seo")}}};var s=r(65736)},23324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];let t=a;return t=t.concat(d((0,n.default)(e))),t};var s,n=(s=r(67404))&&s.__esModule?s:{default:s},i=r(92819);const a=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternative:"o"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00F8]/g,alternative:"o"},{letter:/[\u00F9]/g,alternative:"u"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00FB]/g,alternative:"u"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0102]/g,alternative:"A"},{letter:/[\u0103]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0108]/g,alternative:"C"},{letter:/[\u0109]/g,alternative:"c"},{letter:/[\u010A]/g,alternative:"C"},{letter:/[\u010B]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0114]/g,alternative:"E"},{letter:/[\u0115]/g,alternative:"e"},{letter:/[\u0116]/g,alternative:"E"},{letter:/[\u0117]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u011A]/g,alternative:"E"},{letter:/[\u011B]/g,alternative:"e"},{letter:/[\u011C]/g,alternative:"G"},{letter:/[\u011D]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u0120]/g,alternative:"G"},{letter:/[\u0121]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0124]/g,alternative:"H"},{letter:/[\u0125]/g,alternative:"h"},{letter:/[\u0126]/g,alternative:"H"},{letter:/[\u0127]/g,alternative:"h"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012C]/g,alternative:"I"},{letter:/[\u012D]/g,alternative:"i"},{letter:/[\u012E]/g,alternative:"I"},{letter:/[\u012F]/g,alternative:"i"},{letter:/[\u0130]/g,alternative:"I"},{letter:/[\u0131]/g,alternative:"i"},{letter:/[\u0132]/g,alternative:"IJ"},{letter:/[\u0133]/g,alternative:"ij"},{letter:/[\u0134]/g,alternative:"J"},{letter:/[\u0135]/g,alternative:"j"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0138]/g,alternative:"k"},{letter:/[\u0139]/g,alternative:"L"},{letter:/[\u013A]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013D]/g,alternative:"L"},{letter:/[\u013E]/g,alternative:"l"},{letter:/[\u013F]/g,alternative:"L"},{letter:/[\u0140]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0149]/g,alternative:"n"},{letter:/[\u014A]/g,alternative:"N"},{letter:/[\u014B]/g,alternative:"n"},{letter:/[\u014C]/g,alternative:"O"},{letter:/[\u014D]/g,alternative:"o"},{letter:/[\u014E]/g,alternative:"O"},{letter:/[\u014F]/g,alternative:"o"},{letter:/[\u0150]/g,alternative:"O"},{letter:/[\u0151]/g,alternative:"o"},{letter:/[\u0152]/g,alternative:"OE"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0156]/g,alternative:"R"},{letter:/[\u0157]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015C]/g,alternative:"S"},{letter:/[\u015D]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0162]/g,alternative:"T"},{letter:/[\u0163]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0166]/g,alternative:"T"},{letter:/[\u0167]/g,alternative:"t"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016C]/g,alternative:"U"},{letter:/[\u016D]/g,alternative:"u"},{letter:/[\u016E]/g,alternative:"U"},{letter:/[\u016F]/g,alternative:"u"},{letter:/[\u0170]/g,alternative:"U"},{letter:/[\u0171]/g,alternative:"u"},{letter:/[\u0172]/g,alternative:"U"},{letter:/[\u0173]/g,alternative:"u"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0176]/g,alternative:"Y"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u0179]/g,alternative:"Z"},{letter:/[\u017A]/g,alternative:"z"},{letter:/[\u017B]/g,alternative:"Z"},{letter:/[\u017C]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017F]/g,alternative:"s"},{letter:/[\u01A0]/g,alternative:"O"},{letter:/[\u01A1]/g,alternative:"o"},{letter:/[\u01AF]/g,alternative:"U"},{letter:/[\u01B0]/g,alternative:"u"},{letter:/[\u01CD]/g,alternative:"A"},{letter:/[\u01CE]/g,alternative:"a"},{letter:/[\u01CF]/g,alternative:"I"},{letter:/[\u01D0]/g,alternative:"i"},{letter:/[\u01D1]/g,alternative:"O"},{letter:/[\u01D2]/g,alternative:"o"},{letter:/[\u01D3]/g,alternative:"U"},{letter:/[\u01D4]/g,alternative:"u"},{letter:/[\u01D5]/g,alternative:"U"},{letter:/[\u01D6]/g,alternative:"u"},{letter:/[\u01D7]/g,alternative:"U"},{letter:/[\u01D8]/g,alternative:"u"},{letter:/[\u01D9]/g,alternative:"U"},{letter:/[\u01DA]/g,alternative:"u"},{letter:/[\u01DB]/g,alternative:"U"},{letter:/[\u01DC]/g,alternative:"u"},{letter:/[\u0218]/g,alternative:"S"},{letter:/[\u0219]/g,alternative:"s"},{letter:/[\u021A]/g,alternative:"T"},{letter:/[\u021B]/g,alternative:"t"},{letter:/[\u0251]/g,alternative:"a"},{letter:/[\u1EA0]/g,alternative:"A"},{letter:/[\u1EA1]/g,alternative:"a"},{letter:/[\u1EA2]/g,alternative:"A"},{letter:/[\u1EA3]/g,alternative:"a"},{letter:/[\u1EA4]/g,alternative:"A"},{letter:/[\u1EA5]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EA7]/g,alternative:"a"},{letter:/[\u1EA8]/g,alternative:"A"},{letter:/[\u1EA9]/g,alternative:"a"},{letter:/[\u1EAA]/g,alternative:"A"},{letter:/[\u1EAB]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EAD]/g,alternative:"a"},{letter:/[\u1EAE]/g,alternative:"A"},{letter:/[\u1EAF]/g,alternative:"a"},{letter:/[\u1EB0]/g,alternative:"A"},{letter:/[\u1EB1]/g,alternative:"a"},{letter:/[\u1EB2]/g,alternative:"A"},{letter:/[\u1EB3]/g,alternative:"a"},{letter:/[\u1EB4]/g,alternative:"A"},{letter:/[\u1EB5]/g,alternative:"a"},{letter:/[\u1EB6]/g,alternative:"A"},{letter:/[\u1EB7]/g,alternative:"a"},{letter:/[\u1EB8]/g,alternative:"E"},{letter:/[\u1EB9]/g,alternative:"e"},{letter:/[\u1EBA]/g,alternative:"E"},{letter:/[\u1EBB]/g,alternative:"e"},{letter:/[\u1EBC]/g,alternative:"E"},{letter:/[\u1EBD]/g,alternative:"e"},{letter:/[\u1EBE]/g,alternative:"E"},{letter:/[\u1EBF]/g,alternative:"e"},{letter:/[\u1EC0]/g,alternative:"E"},{letter:/[\u1EC1]/g,alternative:"e"},{letter:/[\u1EC2]/g,alternative:"E"},{letter:/[\u1EC3]/g,alternative:"e"},{letter:/[\u1EC4]/g,alternative:"E"},{letter:/[\u1EC5]/g,alternative:"e"},{letter:/[\u1EC6]/g,alternative:"E"},{letter:/[\u1EC7]/g,alternative:"e"},{letter:/[\u1EC8]/g,alternative:"I"},{letter:/[\u1EC9]/g,alternative:"i"},{letter:/[\u1ECA]/g,alternative:"I"},{letter:/[\u1ECB]/g,alternative:"i"},{letter:/[\u1ECC]/g,alternative:"O"},{letter:/[\u1ECD]/g,alternative:"o"},{letter:/[\u1ECE]/g,alternative:"O"},{letter:/[\u1ECF]/g,alternative:"o"},{letter:/[\u1ED0]/g,alternative:"O"},{letter:/[\u1ED1]/g,alternative:"o"},{letter:/[\u1ED2]/g,alternative:"O"},{letter:/[\u1ED3]/g,alternative:"o"},{letter:/[\u1ED4]/g,alternative:"O"},{letter:/[\u1ED5]/g,alternative:"o"},{letter:/[\u1ED6]/g,alternative:"O"},{letter:/[\u1ED7]/g,alternative:"o"},{letter:/[\u1ED8]/g,alternative:"O"},{letter:/[\u1ED9]/g,alternative:"o"},{letter:/[\u1EDA]/g,alternative:"O"},{letter:/[\u1EDB]/g,alternative:"o"},{letter:/[\u1EDC]/g,alternative:"O"},{letter:/[\u1EDD]/g,alternative:"o"},{letter:/[\u1EDE]/g,alternative:"O"},{letter:/[\u1EDF]/g,alternative:"o"},{letter:/[\u1EE0]/g,alternative:"O"},{letter:/[\u1EE1]/g,alternative:"o"},{letter:/[\u1EE2]/g,alternative:"O"},{letter:/[\u1EE3]/g,alternative:"o"},{letter:/[\u1EE4]/g,alternative:"U"},{letter:/[\u1EE5]/g,alternative:"u"},{letter:/[\u1EE6]/g,alternative:"U"},{letter:/[\u1EE7]/g,alternative:"u"},{letter:/[\u1EE8]/g,alternative:"U"},{letter:/[\u1EE9]/g,alternative:"u"},{letter:/[\u1EEA]/g,alternative:"U"},{letter:/[\u1EEB]/g,alternative:"u"},{letter:/[\u1EEC]/g,alternative:"U"},{letter:/[\u1EED]/g,alternative:"u"},{letter:/[\u1EEE]/g,alternative:"U"},{letter:/[\u1EEF]/g,alternative:"u"},{letter:/[\u1EF0]/g,alternative:"U"},{letter:/[\u1EF1]/g,alternative:"u"},{letter:/[\u1EF2]/g,alternative:"Y"},{letter:/[\u1EF3]/g,alternative:"y"},{letter:/[\u1EF4]/g,alternative:"Y"},{letter:/[\u1EF5]/g,alternative:"y"},{letter:/[\u1EF6]/g,alternative:"Y"},{letter:/[\u1EF7]/g,alternative:"y"},{letter:/[\u1EF8]/g,alternative:"Y"},{letter:/[\u1EF9]/g,alternative:"y"}],o=[{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u1E9E]/g,alternative:"SS"},{letter:/[\u00DF]/g,alternative:"ss"}],l=[{letter:/[\u00C6]/g,alternative:"Ae"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E5]/g,alternative:"aa"}],u=[{letter:/[\u00B7]/g,alternative:"ll"}],c=[{letter:/[\u0110]/g,alternative:"DJ"},{letter:/[\u0111]/g,alternative:"dj"}],d=function(e){switch(e){case"de":return o;case"da":return l;case"ca":return u;case"sr":case"bs":return c;default:return[]}}},35468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"]}},10152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORD_BOUNDARY_WITH_HYPHEN=t.WORD_BOUNDARY_WITHOUT_HYPHEN=void 0,t.WORD_BOUNDARY_WITH_HYPHEN="[\\s\\u2013\\u002d]",t.WORD_BOUNDARY_WITHOUT_HYPHEN="[\\s\\u2013]"},62887:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r extends Error{constructor(e){super(e),this.name="InvalidTypeError"}}t.default=r},85551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r extends Error{constructor(e){super(e),this.name="MissingArgumentError"}}t.default=r},25003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.measureTextWidth=void 0;const r="yoast-measurement-element";t.measureTextWidth=function(e){let t=document.getElementById(r);return t||(t=function(){const e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}},47661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.showTrace=n;var s=r(92819);function n(e){(0,s.isUndefined)(e)&&(e=""),(0,s.isUndefined)(console)||(0,s.isUndefined)(console.trace)||console.trace(e)}t.default={showTrace:n}},52453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);t.default=class{static buildMockElement(){const e=[];return e.nodeType=1,e}static buildMockResearcher(e,t=!1,r=!1,n=!1,i=!1){return!t||"object"!=typeof e&&"object"!=typeof i&&"object"!=typeof n?{getResearch:function(){return e},getData:function(){return r},getHelper:function(){return i},hasHelper:function(e){return!(0,s.isUndefined)(i[e])},getConfig:function(){return n},hasConfig:function(t){return!(0,s.isUndefined)(e[t])}}:{getResearch:function(t){return e[t]},hasResearch:function(t){return!(0,s.isUndefined)(e[t])},addResearch:function(t,r){e[t]=r},getData:function(){return r},getHelper:function(e){return i[e]},hasHelper:function(e){return!(0,s.isUndefined)(i[e])},addHelper:function(e,t){i||(i={}),i[e]=t},getConfig:function(e){return n[e]},hasConfig:function(e){return!(0,s.isUndefined)(n[e])},addConfig:function(e,t){n[e]=t}}}static buildMockString(e,t){let r="";e=e||"Test ",t=t||1;for(let s=0;s<t;s++)r+=e;return r}}},17179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10}},54057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="%%"){r=(0,s.escapeRegExp)(r);const n=new RegExp(`${r}(.+?)${r}`,"g");let i,a=e;for(;null!==(i=n.exec(e));){const e=i[1],n=new RegExp(`${r}${(0,s.escapeRegExp)(e)}${r}`,"g");e in t&&(a=a.replace(n,t[e]))}return a};var s=r(92819)},89175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordComplexity=function(){return["en","es","de","fr"]}},73816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordFormSupport=function(){return["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk","el","ja"]}},36832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{de:n.default,en:s.default,es:i.default,fr:a.default}[e]};var s=o(r(92518)),n=o(r(24081)),i=o(r(45072)),a=o(r(20712));function o(e){return e&&e.__esModule?e:{default:e}}},19772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{de:s.default,en:n.default,es:i.default,fr:a.default}[e]};var s=o(r(60645)),n=o(r(46882)),i=o(r(66676)),a=o(r(8920));function o(e){return e&&e.__esModule?e:{default:e}}},33888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEntitiesRegex=t.htmlEntities=t.hashedHtmlEntitiesRegexStart=t.hashedHtmlEntitiesRegexEnd=t.hashedHtmlEntities=void 0;const r=t.htmlEntities=new Map([["amp;","&"],["lt;","<"],["gt;",">"],["quot;",'"'],["apos;","'"],["ndash;","–"],["mdash;","—"],["copy;","©"],["reg;","®"],["trade;","™"],["pound;","£"],["yen;","¥"],["euro;","€"],["dollar;","$"],["deg;","°"],["asymp;","≈"],["ne;","≠"],["nbsp;"," "]]),s=(t.htmlEntitiesRegex=new RegExp("&("+[...r.keys()].join("|")+")","ig"),t.hashedHtmlEntities=new Map);r.forEach(((e,t)=>s.set("#"+t,e))),t.hashedHtmlEntitiesRegexStart=new RegExp("^("+[...s.keys()].join("|")+")"),t.hashedHtmlEntitiesRegexEnd=new RegExp("("+[...s.keys()].join("|")+")$")},64495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r=0;r<t.length;r++)if((0,s.includes)(e,t[r]))return!0;return!1};var s=r(92819)},49061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAnchorOpeningTag",{enumerable:!0,get:function(){return o.createAnchorOpeningTag}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getLanguagesWithWordComplexity",{enumerable:!0,get:function(){return a.getLanguagesWithWordComplexity}}),Object.defineProperty(t,"getLanguagesWithWordFormSupport",{enumerable:!0,get:function(){return n.getLanguagesWithWordFormSupport}}),Object.defineProperty(t,"getWordComplexityConfig",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"getWordComplexityHelper",{enumerable:!0,get:function(){return l.default}}),t.htmlEntities=void 0,Object.defineProperty(t,"measureTextWidth",{enumerable:!0,get:function(){return s.measureTextWidth}});var s=r(25003),n=r(73816),i=h(r(17179)),a=r(89175),o=r(33140),l=h(r(19772)),u=h(r(36832)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}(r(33888));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}t.htmlEntities=c},23319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e={}){this.configure(e)}configure(e){this._config={params:{},...e}}static createQueryString(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}append(e,t={}){let s=encodeURI(e);const n=r.createQueryString({...this._config.params,...t});return""!==n&&(s+="?"+n),s}createAnchorOpeningTag(e,t={}){return`<a href='${this.append(e,t)}' target='_blank'>`}}t.default=r},33140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(28774);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},28774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configureShortlinker=function(e){a().configure(e)},t.createAnchorOpeningTag=function(e,t={}){return a().createAnchorOpeningTag(e,t)},t.createShortlink=function(e,t={}){return a().append(e,t)};var s,n=(s=r(23319))&&s.__esModule?s:{default:s};let i;function a(){return null===i.yoast.shortlinker&&(i.yoast.shortlinker=new n.default),i.yoast.shortlinker}i="undefined"==typeof window?"undefined"==typeof self?r.g:self:window,i.yoast=i.yoast||{},i.yoast.shortlinker=i.yoast.shortlinker||null},67986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=j(r(62887)),i=j(r(85551)),a=j(r(40027)),o=j(r(99447)),l=j(r(86232)),u=j(r(14117)),c=j(r(69564)),d=j(r(3479)),h=j(r(63216)),f=j(r(82163)),p=H(r(78160)),g=j(r(901)),m=j(r(45095)),_=j(r(41564)),y=j(r(72619)),T=j(r(52364)),E=j(r(18807)),v=j(r(58743)),A=j(r(93540)),b=j(r(21706)),S=j(r(31051)),O=j(r(52948)),C=j(r(57419)),w=H(r(82242)),I=r(74066),N=j(r(72286)),k=j(r(90497)),P=j(r(96458)),L=j(r(31015)),R=j(r(33035)),D=j(r(48799)),M=j(r(25969)),x=j(r(99074)),F=j(r(44518)),U=j(r(47647));function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(B=function(e){return e?r:t})(e)}function H(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=B(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}function j(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this.paper=e,this.defaultResearches={altTagCount:a.default,countSentencesFromText:o.default,findKeywordInFirstParagraph:l.default,findKeyphraseInSEOTitle:u.default,findTransitionWords:c.default,functionWordsInKeyphrase:d.default,getAnchorsWithKeyphrase:h.default,getFleschReadingScore:f.default,getKeyphraseCount:w.default,getKeyphraseDensity:p.default,getKeywordDensity:p.getKeywordDensity,getLinks:g.default,getLinkStatistics:m.default,getParagraphs:_.default,getParagraphLength:y.default,getProminentWordsForInsights:E.default,getProminentWordsForInternalLinking:v.default,getSentenceBeginnings:A.default,getSubheadingTextLengths:b.default,h1s:S.default,imageCount:O.default,keyphraseLength:C.default,keywordCount:w.keywordCount,keywordCountInSlug:I.keywordCountInSlug,keywordCountInUrl:I.keywordCountInUrl,matchKeywordInSubheadings:N.default,metaDescriptionKeyword:k.default,metaDescriptionLength:P.default,morphology:L.default,pageTitleWidth:R.default,readingTime:D.default,sentences:M.default,wordCountInText:F.default,videoCount:x.default,getPassiveVoiceResult:T.default},this._data={},this.customResearches={},this.helpers={memoizedTokenizer:U.default},this.config={areHyphensWordBoundaries:!0,centerClasses:["has-text-align-center"]}}setPaper(e){this.paper=e}addResearch(e,t){if((0,s.isUndefined)(e)||(0,s.isEmpty)(e))throw new i.default("Research name cannot be empty");if(!(t instanceof Function))throw new n.default("The research requires a Function callback.");this.customResearches[e]=t}addResearchData(e,t){this._data[e]=t}addHelper(e,t){if((0,s.isUndefined)(e)||(0,s.isEmpty)(e))throw new i.default("Helper name cannot be empty");if(!(t instanceof Function))throw new n.default("The research requires a Function callback.");this.helpers[e]=t}addConfig(e,t){if((0,s.isUndefined)(e)||(0,s.isEmpty)(e))throw new i.default("Failed to add the custom researcher config. Config name cannot be empty.");if((0,s.isUndefined)(t)||(0,s.isEmpty)(t)&&t===Object(t))throw new i.default("Failed to add the custom researcher config. Config cannot be empty.");this.config[e]=t}hasResearch(e){return Object.keys(this.getAvailableResearches()).filter((function(t){return t===e})).length>0}hasHelper(e){return Object.keys(this.getAvailableHelpers()).filter((function(t){return t===e})).length>0}hasConfig(e){return Object.keys(this.getAvailableConfig()).filter((function(t){return t===e})).length>0}hasResearchData(e){return Object.keys(this.getAvailableResearchData()).filter((function(t){return t===e})).length>0}getAvailableResearches(){return(0,s.merge)(this.defaultResearches,this.customResearches)}getAvailableHelpers(){return this.helpers}getAvailableConfig(){return this.config}getAvailableResearchData(){return this._data}getResearch(e){if((0,s.isUndefined)(e)||(0,s.isEmpty)(e))throw new i.default("Research name cannot be empty");return!!this.hasResearch(e)&&this.getAvailableResearches()[e](this.paper,this)}getData(e){return!!this.hasResearchData(e)&&this._data[e]}getConfig(e){return!!this.hasConfig(e)&&this.config[e]}getHelper(e){return!!this.hasHelper(e)&&this.helpers[e]}}},82676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(41054))&&s.__esModule?s:{default:s};t.default=function(e,t,r=!1){if(0===t.length)return[];const s=((e,t)=>{const r=e.tokens,s=[];for(let e=r.length-1;e>=0;e--){const n=r[e];t.some((e=>e.sourceCodeRange.startOffset===n.sourceCodeRange.startOffset||e.sourceCodeRange.endOffset===n.sourceCodeRange.endOffset))?s.unshift("<yoastmark class='yoast-text-mark'>",n.text,"</yoastmark>"):s.unshift(n.text)}return s.join("").replace(new RegExp("</yoastmark>([ ]?)<yoastmark class='yoast-text-mark'>","ig"),"$1")})(e,t);return(e=>{const t=[];return e.sort((function(e,t){return e.getPositionStart()-t.getPositionStart()})),e.forEach((e=>{if(0===t.length)return void t.push(e);const r=t[t.length-1];r.getPositionEnd()+1===e.getPositionStart()||e.getPositionStart()<=r.getPositionEnd()?(r.setPositionEnd(e.getPositionEnd()),r.setBlockPositionEnd(e.getBlockPositionEnd())):t.push(e)})),t})(t.map((t=>{const i=e.parentAttributeId,a=e.isParentFirstSectionOfBlock;let o=e.parentStartOffset,l=e.parentClientId;if(r&&!i){const r=e.sentenceParentNode,s=Array.isArray(r)&&r.find((e=>{const r=e.sourceCodeLocation;return t.sourceCodeRange.startOffset>=r.startOffset&&t.sourceCodeRange.endOffset<=r.endOffset}));s&&(o=s.sourceCodeLocation.startTag.endOffset,l=s.clientId)}const u=t.sourceCodeRange.startOffset,c=t.sourceCodeRange.endOffset;return new n.default({position:{startOffset:u,endOffset:c,startOffsetBlock:u-(o||0),endOffsetBlock:c-(o||0),clientId:l||"",attributeId:i||"",isFirstSection:a||!1},marked:s,original:e.text})})))}},29368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldsToMark=function(e,t){const r=(0,s.uniq)((0,s.flatten)(e.map((e=>{if(!(0,s.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()})))),i=[];return r.forEach((e=>{"heading"===e&&(0,n.getSubheadings)(t).forEach((e=>{i.push(e[0])}))})),{fieldsToMark:r,selectedHTML:i}};var s=r(92819),n=r(84285)},89272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[...e.matchAll(new RegExp("<h([1-6])(?:[^>]+)?>(.*?)<\\/h\\1>","ig"))],r=[];return t.forEach(((e,n)=>{const i=e[0],a=e.index,o=t[n+1];let l;l=(0,s.isUndefined)(o)?e.input.length:o.index;const u=e.input.slice(a+i.length,l);r.push({subheading:i,text:u,index:a})})),r};var s=r(92819)},84285:(e,t)=>{"use strict";function r(e){const t=[],r=/<h([1-6])(?:[^>]+)?>(.*?)<\/h\1>/gi;let s;for(;null!==(s=r.exec(e));)t.push(s);return t}function s(e){const t=[],r=/<h([2-3])(?:[^>]+)?>(.*?)<\/h\1>/gi;let s;for(;null!==(s=r.exec(e));)t.push(s);return t}function n(e){return r(e).map((e=>e[0]))}function i(e){return s(e).map((e=>e[0]))}function a(e){return e.replace(/<h([2-3])(?:[^>]+)?>(.*?)<\/h\1>/gi,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSubheadingContents=n,t.getSubheadingContentsTopLevel=i,t.getSubheadings=r,t.getSubheadingsTopLevel=s,t.removeSubheadingsTopLevel=a,t.default={getSubheadings:r,getSubheadingsTopLevel:s,getSubheadingContents:n,getSubheadingContentsTopLevel:i,removeSubheadingsTopLevel:a}},1831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineElements=t.getBlocks=t.default=t.blockElements=void 0,t.isBlockElement=v,t.isInlineElement=A;var s,n=r(92819),i=(s=r(14429))&&s.__esModule?s:{default:s};const a=t.blockElements=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],o=t.inlineElements=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],l=new RegExp("^("+a.join("|")+")$","i"),u=new RegExp("^("+o.join("|")+")$","i"),c=new RegExp("^<("+a.join("|")+")[^>]*?>$","i"),d=new RegExp("^</("+a.join("|")+")[^>]*?>$","i"),h=new RegExp("^<("+o.join("|")+")[^>]*>$","i"),f=new RegExp("^</("+o.join("|")+")[^>]*>$","i"),p=/^<([^>\s/]+)[^>]*>$/,g=/^<\/([^>\s]+)[^>]*>$/,m=/^[^<]+$/,_=/^<[^><]*$/,y=/<!--(.|[\r\n])*?-->/g;let T,E=[];function v(e){return l.test(e)}function A(e){return u.test(e)}const b=t.getBlocks=(0,n.memoize)((function(e){const t=[];let r=0,s="",a="",o="";return e=e.replace(y,""),E=[],T=(0,i.default)((function(e){E.push(e)})),T.addRule(m,"content"),T.addRule(_,"greater-than-sign-content"),T.addRule(c,"block-start"),T.addRule(d,"block-end"),T.addRule(h,"inline-start"),T.addRule(f,"inline-end"),T.addRule(p,"other-element-start"),T.addRule(g,"other-element-end"),T.onText(e),T.end(),(0,n.forEach)(E,(function(e,n){const i=E[n+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==r||"block-start"!==i.type&&"block-end"!==i.type)?a+=e.src:(a+=e.src,t.push(a),s="",a="",o="");break;case"block-start":0!==r&&(""!==a.trim()&&t.push(a),a="",o=""),r++,s=e.src;break;case"block-end":r--,o=e.src,""!==s&&""!==o?t.push(s+a+o):""!==a.trim()&&t.push(a),s="",a="",o=""}r<0&&(r=0)})),t}));t.default={blockElements:a,inlineElements:o,isBlockElement:v,isInlineElement:A,getBlocks:b}},96908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IGNORED_CLASSES=void 0,t.default=function(e,t){i=[],a=!1,o=[];const r=t||u;return c._cbs.onopentag=function(e,t){if(a)return void o.push(e);const s=t.class?t.class.split(" "):[];if(l.includes(e)||s.some((e=>r.includes(e))))return a=!0,void o.push(e);const n=Object.keys(t);let u="";n.forEach((function(e){u+=" "+e+"='"+t[e]+"'"})),i.push("<"+e+u+">")},c.write(e),c.parseComplete(),i.join("")};var s,n=(s=r(23719))&&s.__esModule?s:{default:s};let i=[],a=!1,o=[];const l=["script","style","code","pre","blockquote","textarea"],u=t.IGNORED_CLASSES=["yoast-ai-summarize","yoast-table-of-contents","yoast-reading-time__wrapper","elementor-button-wrapper","elementor-divider","elementor-spacer","elementor-custom-embed","elementor-icon-wrapper","elementor-icon-box-wrapper","elementor-counter","elementor-progress-wrapper","elementor-alert","elementor-soundcloud-wrapper","elementor-shortcode","elementor-menu-anchor","elementor-title"],c=new n.default.Parser({onopentag:function(e,t){if(a)return void o.push(e);const r=t.class?t.class.split(" "):[];if(l.includes(e)||r.some((e=>u.includes(e))))return a=!0,void o.push(e);const s=Object.keys(t);let n="";s.forEach((function(e){n+=" "+e+"='"+t[e]+"'"})),i.push("<"+e+n+">")},ontext:function(e){a||i.push(e)},onclosetag:function(e){if(1===o.length&&o[0]===e)return a=!1,void(o=[]);a?o.pop():i.push("</"+e+">")}},{decodeEntities:!0})},88567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(new DOMParser).parseFromString(e,"text/html").body.innerHTML.replace(/ /g," ")}},15770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="";return"img"===e.name&&(t=(0,n.default)(e.attributes.alt||""),t=t.replace(/"/g,'"'),t=t.replace(/'/g,"'")),t};var s,n=(s=r(47793))&&s.__esModule?s:{default:s}},92017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.getTree();return t?t.findAll((e=>"img"===e.name)):[]}},61440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"!=typeof e?[]:e.match(r)||[]},t.imageRegex=void 0;const r=t.imageRegex=new RegExp("<img(?:[^>]+)?>(</img>)*","ig")},29866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createShortcodeTagsRegex",{enumerable:!0,get:function(){return n.createShortcodeTagsRegex}}),Object.defineProperty(t,"filterShortcodesFromHTML",{enumerable:!0,get:function(){return n.filterShortcodesFromHTML}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return s.normalize}}),Object.defineProperty(t,"processExactMatchRequest",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"removeHtmlBlocks",{enumerable:!0,get:function(){return a.default}});var s=r(37361),n=r(24533),i=o(r(83927)),a=o(r(96908));function o(e){return e&&e.__esModule?e:{default:e}}},67404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("_")[0]}},88782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="Dofollow";const r=new n.default.Parser({onopentag:function(e,r){"a"===e&&r.rel&&r.rel.toLowerCase().split(/\s/).includes("nofollow")&&(t="Nofollow")}});return r.write(e),r.end(),t};var s,n=(s=r(23719))&&s.__esModule?s:{default:s}},30341:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;return t=e.match(/<a[\s]+(?:[^>]+)>((?:.|[\n\r\u2028\u2029])*?)<\/a>/gi),null===t&&(t=[]),t}},25930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=n.default.getFromAnchorTag(e),s=n.default.getProtocol(r);return s&&!n.default.protocolIsHttpScheme(s)||n.default.isRelativeFragmentURL(r)?"other":n.default.isInternalLink(r,t)?"internal":"external"};var s,n=(s=r(20917))&&s.__esModule?s:{default:s}},36478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findWordFormsInString=t.findTopicFormsInString=void 0;var s,n=r(92819),i=(s=r(7407))&&s.__esModule?s:{default:s};const a=function(e,t,r,s){const a=e.length,o=Array(a);let l=[],u=[];for(let n=0;n<a;n++){const a=(0,i.default)(t,e[n],r,s);o[n]=a.count>0?1:0,l.push(a.position),u=u.concat(a.matches)}const c=(0,n.sum)(o),d={countWordMatches:c,percentWordMatches:0,matches:u};return a>0&&(d.percentWordMatches=Math.round(c/a*100)),l=l.filter((e=>e>=0)),d.position=0===l.length?-1:Math.min(...l),d};t.findWordFormsInString=a,t.findTopicFormsInString=function(e,t,r,s,i){let o=a(e.keyphraseForms,t,s,i);if(o.keyphraseOrSynonym="keyphrase",100===o.percentWordMatches||!1===r||(0,n.isEmpty)(e.synonymsForms))return o;const l=[];for(let r=0;r<e.synonymsForms.length;r++){const n=e.synonymsForms[r];l[r]=a(n,t,s,i)}const u=l.map((e=>e.percentWordMatches)),c=u.indexOf(Math.max(...u));return o.percentWordMatches>=l[c].percentWordMatches||(o=l[c],o.keyphraseOrSynonym="synonym"),o}},23116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(21389))&&s.__esModule?s:{default:s},i=r(92819);t.default=e=>(0,i.includes)(n.default,e[0])&&(0,i.includes)(n.default,e[e.length-1])},7407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="en_EN",s){let a=0,o=[],l=[];return(0,i.uniq)(t).forEach((function(t){const i=(0,n.default)(e,t,r,s);a+=i.count,o=o.concat(i.matches),l.push(i.position)})),l=l.filter((e=>e>=0)),{count:a,matches:o,position:0===l.length?-1:Math.min(...l)}};var s,n=(s=r(75118))&&s.__esModule?s:{default:s},i=r(92819)},95785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const c=(0,u.getLanguage)(r);let h=d(t,c);if("tr"===c){const e=(0,l.replaceTurkishIsMemoized)(t);h=new RegExp(e.map((e=>(0,n.default)(e))).join("|"),"ig")}const f=e.match(h)||[];e=e.replace(h,"");const p=(0,a.default)(t,r),g=d(p,c),m=e.match(g)||[];let _=f.concat(m);const y=(0,o.default)(t,r);if(y!==p){const t=d(y,c),r=e.match(t)||[];_=_.concat(r)}return(0,s.map)(_,(function(e){return(0,i.default)(e)}))};var s=r(92819),n=c(r(28875)),i=c(r(47793)),a=c(r(36064)),o=c(r(78087)),l=r(81011),u=r(58677);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){return e=(0,n.default)(e,!1,"",t),new RegExp(e,"ig")}},75118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,c){e=(0,s.default)(e),e=(0,a.unifyAllSpaces)(e),e=(0,l.normalize)(e),t=(0,l.normalize)(t);let d=c?c(e,t):(0,o.default)(e,t,r);d=(0,u.map)(d,(function(e){return(0,n.default)((0,i.default)(e))}));const h=(0,u.map)(d,(function(t){return e.indexOf(t)}));return{count:d.length,matches:d,position:0===h.length?-1:Math.min(...h)}};var s=c(r(57719)),n=c(r(47793)),i=c(r(8737)),a=r(81831),o=c(r(95785)),l=r(37361),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}},57329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenizeKeyphraseFormsForExactMatching=t.default=void 0;var s=i(r(95785)),n=i(r(7337));function i(e){return e&&e.__esModule?e:{default:e}}const a=(e,t)=>{const r=e[0];return t?t(r):(0,n.default)(r)};t.tokenizeKeyphraseFormsForExactMatching=a;t.default=(e,t,r,n,i=!1,o)=>i&&!n?((e,t,r,n)=>{const i={count:0,matches:[]},o=a(t,n),l=e.tokens;let u=0,c=0,d=[];for(;c<l.length;){const e=l[c].text,t=o[u];(0,s.default)(e.toLowerCase(),t.toLowerCase(),r).length>0?(d.push(l[c]),u++):(u=0,d=[]),d.length===o.length&&(i.matches.push(...d),i.count++,u=0,d=[]),c++}return i})(e,t,r,o):((e,t,r,n)=>{const i={count:0,matches:[]};return t.forEach((t=>{let a=[];a=n?n(e,t):((e,t,r)=>{let n=[];return e.forEach((e=>{(0,s.default)(e.text,t,r).length>0&&(n=n.concat(e))})),n})(e.tokens.slice(),t,r),i.count+=a.length,i.matches=i.matches.concat(a)})),i})(e,t,r,n)},83927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={exactMatchRequested:!1,keyphrase:e};return(0,n.default)(e)&&(t.keyphrase=e.substring(1,e.length-1),t.exactMatchRequested=!0),t};var s,n=(s=r(23116))&&s.__esModule?s:{default:s}},42992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},19605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.includes(null))return e;for(let r=0;r<t.length;r++)if(!0===t[r].reg.test(e))return e.replace(t[r].reg,t[r].repl)}},17811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StemOriginalPair=c,t.buildStems=t.TopicPhrase=void 0,t.collectStems=function(e,t,r,s,n){return h(r,s,n)(e,t)},t.primeLanguageSpecificData=void 0;var s=l(r(1105)),n=r(37361),i=r(10152),a=r(92819),o=l(r(23116));function l(e){return e&&e.__esModule?e:{default:e}}class u{constructor(e=[],t=!1){this.stemOriginalPairs=e,this.exactMatch=t}getStems(){return this.exactMatch?[]:this.stemOriginalPairs.map((e=>e.stem))}}function c(e,t){this.stem=e,this.original=t}t.TopicPhrase=u;const d=function(e,t,r,l){if((0,a.isUndefined)(e)||""===e)return new u;if((0,o.default)(e))return e=e.substring(1,e.length-1),new u([new c((0,a.escapeRegExp)(e),e)],!0);let d=l?(0,s.default)(e,i.WORD_BOUNDARY_WITH_HYPHEN):(0,s.default)(e,i.WORD_BOUNDARY_WITHOUT_HYPHEN);const h=d.filter((e=>!r.includes(e)));h.length>0&&(d=h);const f=d.map((e=>new c(t((0,n.normalizeSingle)((0,a.escapeRegExp)(e))),e)));return new u(f)};t.buildStems=d;const h=t.primeLanguageSpecificData=(0,a.memoize)(((e,t,r)=>(0,a.memoize)(((s,n)=>function(e,t,r,s,n){return{keyphraseStems:d(e,r,s,n),synonymsStems:t.map((e=>d(e,r,s,n)))}}(s,n,e,t,r)),((e,t)=>e+","+t.join(",")))))},53371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createSingleRuleFromArray=t.createRulesFromArrays=void 0;const r=function(e,t="i"){return 2===e.length?{reg:new RegExp(e[0],t),repl:e[1]}:3===e.length?{reg:new RegExp(e[0],t),repl1:e[1],repl2:e[2]}:null};t.createSingleRuleFromArray=r;const s=function(e,t="i"){return e.map((e=>r(e,t)))};t.createRulesFromArrays=s,t.default=s},74252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkExceptionListWithTwoStems=function(e,t){for(const r of e){const e=r.find((e=>t.endsWith(e)));if(e)return t.slice(0,t.length-e.length)+r[0]}},t.checkIfWordEndingIsOnExceptionList=function(e,t){for(let r=0;r<t.length;r++)if(e.endsWith(t[r]))return!0;return!1},t.checkIfWordIsOnListThatCanHavePrefix=function(e,t,r){const s=(0,n.default)(r).find((t=>e.startsWith(t)));let i="";return"string"==typeof s&&(i=e.slice(s.length),i.length>2&&(e=i)),t.includes(e)};var s,n=(s=r(44949))&&s.__esModule?s:{default:s}},30259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(const s in t)e.endsWith(t[s])&&r.push(t[s]);const s=r.sort((function(e,t){return t.length-e.length}))[0];return s||""}},44949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.flatten)(Object.values(e)).sort(((e,t)=>t.length-e.length||e.localeCompare(t)))};var s=r(92819)},90831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getText(),c=(0,l.default)(e).map((e=>(0,n.default)(e))),d=[r,e.getTitle(),e.getSlug(),(0,a.default)(e.getSlug()),e.getDescription(),c.join(" ")].join(" ");return(t?(0,o.default)(d,u.WORD_BOUNDARY_WITH_HYPHEN):(0,o.default)(d,u.WORD_BOUNDARY_WITHOUT_HYPHEN)).map((e=>(0,i.normalizeSingle)((0,s.escapeRegExp)(e))))};var s=r(92819),n=c(r(15770)),i=r(37361),a=c(r(84159)),o=c(r(1105)),l=c(r(92017)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}},64396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyAllReplacements=function(e,t){return t.forEach((function(t){e=e.replace(new RegExp(t[0]),t[1])})),e},t.doesWordMatchRegex=function(e,t){return RegExp(t).test(e)},t.searchAndReplaceWithRegex=function(e,t){for(const r of t)if(-1!==e.search(new RegExp(r[0])))return e.replace(new RegExp(r[0]),r[1])}},74694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSuffixFromFullForm=function(e,t,r){for(let s=0;s<e.length;s++)if(r.endsWith(e[s]))return r.slice(0,-t.length)},t.removeSuffixesFromFullForm=function(e,t,r){for(let s=0;s<e.length;s++)if(r.startsWith(e[s])){const n=r.substring(e[s].length);for(let e=0;e<t.length;e++)if(t[e]===n)return r.slice(0,-n.length)}}},66382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stemPrefixedFunctionWords=function(e,t){let r=e,s="";const n=e.match(t);return n&&(s=n[0],r=e.slice(s.length)),{stem:r,prefix:s}}},23107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const s=(0,i.default)(e).map((e=>e.toLowerCase())),a=s.indexOf(t.toLowerCase());if(a<1)return!1;const o=s[a-1];return(0,n.includes)(r,o)};var s,n=r(92819),i=(s=r(1105))&&s.__esModule?s:{default:s}},80053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(92819),i=(s=r(47793))&&s.__esModule?s:{default:s};t.default=function(e,t){const r=t.regexes.auxiliaryRegex;if(null===e.match(r))return[];let s;const a=e.match(t.regexes.stopwordRegex)||[];return s=function(e,t){const r=[];return(0,n.forEach)(t,(function(t){const s=e.split(t);(0,n.isEmpty)(s[0])||r.push(s[0]);const a=e.indexOf(t),o=e.length;e=(0,i.default)(e.substring(a,o))})),r.push(e),r}(e,a),void 0!==t.regexes.stopCharacterRegex&&1===s.length&&(s=function(e,t){const r=e.split(t);for(let e=0;e<r.length;e++)" "===r[e][0]&&(r[e]=r[e].substring(1,r[e].length));return r}(e,t.regexes.stopCharacterRegex)),function(e,t){const r=[];return(0,n.forEach)(e,(function(e){const s=(a=e.match(t.regexes.auxiliaryRegex||[]),(0,n.map)(a,(function(e){return(0,i.default)(e)})));var a;0!==s.length&&r.push(new t.Clause(e,s))})),r}(s,t)}},95580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){const l=(0,s.uniq)(r),u=(0,a.getIndicesByWordListSorted)(l,e),c=e.indexOf(t),d=(0,n.default)(o),h=u.filter((e=>e.index<c));if(0===h.length)return!1;const f=h[h.length-1];return(0,i.default)(e,d).filter((e=>e.index>f.index&&e.index<c)).length>0};var s=r(92819),n=o(r(18072)),i=o(r(40404)),a=r(61403);function o(e){return e&&e.__esModule?e:{default:e}}},43527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return f(e,t)};var s=r(61403),n=c(r(47793)),i=r(37361),a=c(r(40404)),o=c(r(9803)),l=c(r(89032)),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t,r){const s=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(s,e.index)&&(t=t.filter((function(t){return t.index!==e.index})))})),t},h=function(e,t){const{auxiliaryRegex:r,directPrecedenceExceptionRegex:i,followingAuxiliaryExceptionRegex:o}=t;let c=e.match(r)||[];if(void 0!==i||void 0!==o){let t=(0,s.getIndicesByWordList)(c,e);void 0!==i&&(t=d(e,t,i)),t=function(e,t,r){const s=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,l.default)(s,e)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,t,o),c=[],(0,u.forEach)(t,(function(e){c.push(e.match)}))}return(0,u.map)(c,(function(e){return(0,n.default)(e)}))},f=function(e,t){const r=[],l=t.regexes.auxiliaryRegex;if(null===(e=(0,i.normalizeSingle)(e)).match(l))return r;const c=function(e,t){e=e.toLocaleLowerCase();const{regexes:r}=t;let n=(0,s.getIndicesByWordList)(t.auxiliaries,e);const i=function(e,t){let r;const s=[];for(t.lastIndex=0;null!==(r=t.exec(e));)s.push({index:r.index,match:r[0]});return s}(e,r.stopCharacterRegex);let l=(0,s.getIndicesByWordList)(t.stopwords,e);t.otherStopWordIndices&&t.otherStopWordIndices.length>0&&(l=l.concat(t.otherStopWordIndices)),void 0!==r.directPrecedenceExceptionRegex&&(n=d(e,n,r.directPrecedenceExceptionRegex)),void 0!==r.elisionAuxiliaryExceptionRegex&&(n=function(e,t,r){const s=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(s,e.index,!1)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,n,r.elisionAuxiliaryExceptionRegex));let c=n.concat(l,i);return c=(0,s.filterIndices)(c),(0,s.sortIndices)(c)}(e,t);for(let s=0;s<c.length;s++){let i=e.length;(0,u.isUndefined)(c[s+1])||(i=c[s+1].index);const a=(0,n.default)(e.substring(c[s].index,i)),o=h(a,t.regexes);if(0!==o.length){const e=new t.Clause(a,o);r.push(e)}}return r}},40404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(let s=t.exec(e);null!==s;s=t.exec(e))r.push({match:s[0],index:s.index});return r}},2329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=[];return t.forEach((function(t){const s=e.match(t);null!==s&&r.push(s)})),r=(0,s.flattenDeep)(r),r};var s=r(92819)},14456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const s=(0,i.default)(e).map((e=>e.toLowerCase())),a=s.indexOf(t.toLowerCase());if(a<1)return!1;for(let e=0;e<a;e++)if((0,n.includes)(r,s[e]))return!0;return!1};var s,n=r(92819),i=(s=r(1105))&&s.__esModule?s:{default:s}},85683:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collapseProminentWordsOnStem=d,t.default=void 0,t.filterProminentWords=u,t.getProminentWords=m,t.getProminentWordsFromPaperAttributes=_,t.retrieveAbbreviations=h,t.sortProminentWords=c;var s=r(92819),n=o(r(1105)),i=r(37361),a=o(r(4446));function o(e){return e&&e.__esModule?e:{default:e}}const l=/[1234567890‘’“”"'.…?!:;,¿¡«»&*@#±^%$|~=+§`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\s]/g;function u(e,t=2){return e.filter((function(e){return e.getOccurrences()>=t&&""!==e.getWord().replace(l,"")}))}function c(e){e.sort((function(e,t){const r=t.getOccurrences()-e.getOccurrences();return 0!==r?r:e.getStem().localeCompare(t.getStem())}))}function d(e){if(0===e.length)return[];e.sort((function(e,t){return e.getStem().localeCompare(t.getStem())}));const t=[];let r=new a.default(e[0].getWord(),e[0].getStem(),e[0].getOccurrences());for(let s=1;s<e.length;s++){const n=new a.default(e[s].getWord(),e[s].getStem(),e[s].getOccurrences());n.getStem()===r.getStem()?(r.setOccurrences(r.getOccurrences()+n.getOccurrences()),n.getWord()!==r.getStem()&&n.getWord().toLocaleLowerCase()!==r.getStem()||r.setWord(n.getWord())):(t.push(r),r=n)}return t.push(r),t}function h(e){const t=(0,n.default)((0,i.normalizeSingle)(e)),r=[];return t.forEach((function(e){e.length>1&&e.length<5&&e===e.toLocaleUpperCase()&&r.push(e.toLocaleLowerCase())})),(0,s.uniq)(r)}function f(e,t,r,n){if(0===e.length)return[];const i=(0,s.uniq)(e.filter((e=>!n.includes(e.trim())))),o=[];return i.forEach((function(s){t.includes(s)?o.push(new a.default(s.toLocaleUpperCase(),s,e.filter((e=>e===s)).length)):o.push(new a.default(s,r(s),e.filter((e=>e===s)).length))})),d(o)}const p=e=>{let t=0;if(!e.length)return t;for(let r=0;r<e.length;r++){const s=e[r];for(let e=0;e<s.length;e++)t=31*t+s.charCodeAt(e)|0}return t},g=(0,s.memoize)(((e,t,r,s)=>f(e,t,r,s)),((e,t,r,s)=>p(e)+"|"+p(t)+"|"+p(s)));function m(e,t,r,s,a){if(""===e)return[];const o=a?a((0,i.normalizeSingle)(e).toLocaleLowerCase()):(0,n.default)((0,i.normalizeSingle)(e).toLocaleLowerCase());return g(o,t,r,s)}function _(e,t,r,s,i){return f(i?i(e.join(" ").toLocaleLowerCase()):(0,n.default)(e.join(" ").toLocaleLowerCase()),t,r,s)}t.default={getProminentWords:m,getProminentWordsFromPaperAttributes:_,filterProminentWords:u,sortProminentWords:c,collapseProminentWordsOnStem:d,retrieveAbbreviations:h}},18072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",o=!1){const l="("+(e=(0,s.map)(e,(function(e){return o&&(e=(0,i.default)(e)),e=(0,a.default)(e),t?e:(0,n.default)(e,!0,r)}))).join(")|(")+")";return new RegExp(l,"ig")};var s=r(92819),n=o(r(28875)),i=o(r(74169)),a=o(r(86697));function o(e){return e&&e.__esModule?e:{default:e}}},21389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"]},24533:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterShortcodesFromHTML=t.default=t.createShortcodeTagsRegex=void 0;const r=e=>{const t=`\\[\\/?(${e.join("|")})[^\\]]*\\]`;return new RegExp(t,"g")};t.createShortcodeTagsRegex=r,t.filterShortcodesFromHTML=(e,t)=>{if(!t||0===t.length)return e;const s=r(t);return e.replace(s,"")};const s=(e,t,r,s)=>s&&r.includes(e[t].text)&&(((e,t)=>e[t-1]&&"["===e[t-1].text)(e,t)||((e,t)=>e[t-1]&&"/"===e[t-1].text&&e[t-2]&&"["===e[t-2].text)(e,t)),n=(e,t,r)=>{e.sentences&&e.sentences.forEach((e=>{((e,t,r)=>{const n=e.tokens;let i=!1;for(let e=n.length-1;e>=0;e--)if("]"===n[e].text&&(i=!0),s(n,e,t,i)){for(;"]"!==n[e].text;)n.splice(e,1);for(n.splice(e,1),i=!1;n[e-1]&&"[/".includes(n[e-1].text);)n.splice(e-1,1),e--}e.tokens=n,e.text=e.text.replace(r,"")})(e,t,r)})),e.childNodes&&e.childNodes.forEach((e=>{n(e,t,r)}))};t.default=(e,t)=>{if(!t||0===t.length)return;const s=r(t);n(e,t,s)}},10840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeListItems=function(e){return(e=(e=e.replace(/<\/?(o|ul)(?:[^>]+)?>/g,"")).replace(/\s?<\/?li(?:[^>]+)?>\s?/g," ")).replace(/\s+/g," ")}},73481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.split(",");return t=t.map((e=>(0,n.default)((0,s.default)(e)))).filter((e=>e)),t};var s=i(r(47793)),n=i(r(50544));function i(e){return e&&e.__esModule?e:{default:e}}},37361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SINGLE_QUOTES_REGEX=t.SINGLE_QUOTES_ARRAY=void 0,t.normalize=a,t.normalizeDouble=i,t.normalizeSingle=n;const r=t.SINGLE_QUOTES_ARRAY=["'","‘","’","‛","`","‹","›"],s=t.SINGLE_QUOTES_REGEX=new RegExp("["+r.join("")+"]","g");function n(e){return e.replace(s,"'")}function i(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}function a(e){return i(n(e))}t.default={normalizeSingle:n,normalizeDouble:i,normalize:a}},32879:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("[^\\s@]+@[^\\s@]+\\.[^\\s@]+","igm")},8737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(0,s.unifyNonBreakingSpace)(e)).replace("&","");const t=new RegExp("(\\\\)","g");return(e=(e=e.replace(t,"")).replace(i,"")).replace(a,"")},t.punctuationRegexString=t.punctuationRegexStart=t.punctuationRegexEnd=t.punctuationList=void 0;var s=r(81831);const n=t.punctuationRegexString="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>",i=(t.punctuationList=n.split(""),t.punctuationRegexStart=new RegExp("^["+n+"]+")),a=t.punctuationRegexEnd=new RegExp("["+n+"]+$")},50544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=e.replace(s,"")).replace(n,"")};const r="[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+",s=new RegExp("^"+r),n=new RegExp(r+"$")},85476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("(ftp|http(s)?:\\/\\/.)(www\\\\.)?[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)|www\\.[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)","igm")},86697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=(0,n.unifyAllSpaces)(e),(0,s.stripFullTags)(e)};var s=r(62240),n=r(81831)},62240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var s,n=(s=r(47793))&&s.__esModule?s:{default:s},i=r(1831);const a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),o=new RegExp("</("+i.blockElements.join("|")+")[^>]*?>$","i"),l=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=l;const u=function(e){return(e=e.replace(a,"")).replace(o,"")};t.stripBlockTagsAtStartEnd=u;const c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,n.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:l,stripBlockTagsAtStartEnd:u}},57719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/<(?!li|\/li|p|\/p|h1|\/h1|h2|\/h2|h3|\/h3|h4|\/h4|h5|\/h5|h6|\/h6|dd).*?>/g,""),(0,n.default)(e)};var s,n=(s=r(47793))&&s.__esModule?s:{default:s}},86812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/\b[0-9]+\b/g,""),"."===(e=(0,n.default)(e))&&(e=""),e};var s,n=(s=r(47793))&&s.__esModule?s:{default:s}},47793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}},52731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripWordBoundariesStart=t.stripWordBoundariesEverywhere=t.stripWordBoundariesEnd=t.default=void 0;const r="[ \\u00a0\\u06d4\\u061f\\u060C\\u061B \\n\\r\\t.,'()\"+\\-;!?:/»«‹›<>]",s=new RegExp("^("+r+"+)","ig"),n=new RegExp("("+r+"+$)","ig"),i=function(e){return e.replace(s,"")};t.stripWordBoundariesStart=i;const a=function(e){return e.replace(n,"")};t.stripWordBoundariesEnd=a;const o=function(e){return(e=e.replace(s,"")).replace(n,"")};t.stripWordBoundariesEverywhere=o,t.default={stripWordBoundariesStart:i,stripWordBoundariesEnd:a,stripWordBoundariesEverywhere:o}},81831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unifyWhiteSpace=t.unifyNonBreakingSpace=t.unifyEmDash=t.unifyAllSpaces=t.default=void 0;const r=function(e){return e.replace(/ /g," ")};t.unifyNonBreakingSpace=r;const s=function(e){return e.replace(/\u2014/g," ")};t.unifyEmDash=s;const n=function(e){return e.replace(/\s/g," ")};t.unifyWhiteSpace=n;const i=function(e){return e=r(e),e=s(e),n(e)};t.unifyAllSpaces=i,t.default={unifyNonBreakingSpace:r,unifyEmDash:s,unifyWhiteSpace:n,unifyAllSpaces:i}},29003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=u(r(14429)),i=r(37361),a=u(r(31946)),o=u(r(18072)),l=u(r(35468));function u(e){return e&&e.__esModule?e:{default:e}}const c=new RegExp("^[.]$"),d=/^<[^><]*$/,h=/^<([^>\s/]+)[^>]*>$/im,f=/^<\/([^>\s]+)[^>]*>$/im,p=/^\s*[[({]\s*$/,g=/^\s*[\])}]\s*$/,m=a.default.map((e=>e.replace(".","\\."))),_=(0,o.default)(m),y="(^|$|["+(0,l.default)().map((e=>"\\"+e)).join("")+"])",T=new RegExp(y+"[A-Za-z]$"),E=/<\/?([^\s]+?)(\s|>)/,v=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];t.default=class{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,s.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=(0,i.normalize)(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return(0,s.isUndefined)(e[0])||(t+=e[0].src),(0,s.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((t=>t.test(e)))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,s.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,s.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,n){return!(0,s.isUndefined)(e)&&!(0,s.isUndefined)(r)&&!(0,s.isUndefined)(n)&&!(0,s.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&T.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===n.type}tokenizeSmallerThanContent(e,t,r){const n=e.src.substring(1),i=this.createTokenizer();this.tokenize(i.tokenizer,n);const a=this.getSentencesFromTokens(i.tokens,!1);if(a[0]=(0,s.isUndefined)(a[0])?"<":"<"+a[0],this.isValidSentenceBeginning(a[0])&&(t.push(r),r=""),r+=a[0],a.length>1){t.push(r),r="",a.shift();const e=a.pop();a.forEach((e=>{t.push(e)}));const s=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(s)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],s=(0,n.default)((function(e){r.push(e)}));return s.addRule(c,"full-stop"),s.addRule(d,"smaller-than-sign-content"),s.addRule(h,"html-start"),s.addRule(f,"html-end"),s.addRule(p,"block-start"),s.addRule(g,"block-end"),s.addRule(e,"sentence-delimiter"),s.addRule(t,"sentence"),{tokenizer:s,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(_);if(!t)return!1;const r=t.pop();return e.endsWith(r)}isValidTagPair(e,t){const r=e.src,s=t.src,n=r.match(E)[1];return n===s.match(E)[1]&&v.includes(n)}getSentencesFromTokens(e,t=!0){let r,n,i=[],a="";do{n=!1;const t=e[0],r=e[e.length-1];t&&r&&"html-start"===t.type&&"html-end"===r.type&&this.isValidTagPair(t,r)&&(e=e.slice(1,e.length-1),n=!0)}while(n&&e.length>1);return e.forEach(((t,n)=>{let o,l,u;const c=e[n+1],d=e[n-1],h=e[n+2];switch(l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",t.type){case"html-start":case"html-end":this.isBreakTag(t.src)?(i.push(a),a=""):a+=t.src;break;case"smaller-than-sign-content":u=this.tokenizeSmallerThanContent(t,i,a),i=u.tokenSentences,a=u.currentSentence;break;case"sentence":case"block-start":a+=t.src;break;case"sentence-delimiter":if(a+=t.src,!(0,s.isUndefined)(c)&&"block-end"!==c.type&&"sentence-delimiter"!==c.type&&this.isCharacterASpace(c.src[0])){if(this.isQuotation(t.src)&&d&&"."!==d.src)break;this.isQuotation(t.src)||"…"===t.src?a=this.getValidSentence(o,r,l,c,i,a):(i.push(a),a="")}break;case"full-stop":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",this.endsWithAbbreviation(a))break;if(o&&this.isNumber(l[0]))break;if(this.isPartOfPersonInitial(t,d,c,h))break;if(this.endsWithOrdinalDot(a))break;a=this.getValidSentence(o,r,l,c,i,a);break;case"block-end":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[0]:"",o&&this.isNumber(l[0])||this.isSentenceEnding(d)&&!this.isValidSentenceBeginning(r)&&!this.isSentenceStart(c))break;this.isSentenceEnding(d)&&(this.isSentenceStart(c)||this.isValidSentenceBeginning(r))&&(i.push(a),a="")}})),""!==a&&i.push(a),t&&(i=(0,s.map)(i,(function(e){return e.trim()}))),i}getValidSentence(e,t,r,s,n,i){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(s))&&(n.push(i),i=""),i}isCharacterASpace(e){return/\s/.test(e)}}},55473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(e,t);let s=0;for(let e=0;e<r.length;e++)s++;return s};var s,n=(s=r(9862))&&s.__esModule?s:{default:s}},9862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=u.default){e=(e=(0,l.unifyNonBreakingSpace)(e)).replace(a.imageRegex,"");let r=(0,i.getBlocks)(e);r=(0,n.flatMap)(r,(function(e){return e.split(c)})),r=r.filter((e=>!d.test(e)));let s=r.map((e=>t(e))).flat();return s=s.map((e=>(0,o.stripBlockTagsAtStartEnd)(e).trim())),(0,n.filter)(s,(0,n.negate)(n.isEmpty))};var s,n=r(92819),i=r(1831),a=r(61440),o=r(62240),l=r(81831),u=(s=r(47647))&&s.__esModule?s:{default:s};const c=new RegExp("\n\r|\n|\r"),d=new RegExp("^(<p>|</p>)$")},54241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1){return e.findAll((e=>!!e.sentences)).flatMap((r=>r.sentences.map((s=>(s.setParentAttributes(r,e,t),s)))))}},47647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(29003))&&s.__esModule?s:{default:s},i=r(92819);t.default=(0,i.memoize)((function(e,t=!0){const r=new n.default,{tokenizer:s,tokens:i}=r.createTokenizer();return r.tokenize(s,e),0===i.length?[]:r.getSentencesFromTokens(i,t)}),((...e)=>JSON.stringify(e)))},91916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("customCountLength");return e.map((e=>{const t=r?r(e.text):(0,s.getWordsFromTokens)(e.tokens,!1).length;if(t>0)return{sentence:e,sentenceLength:t,firstToken:e.getFirstToken()||null,lastToken:e.getLastToken()||null}})).filter(Boolean)};var s=r(60914)},58766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);t.default=class{constructor(e){this._location=e.location,this._fragment=e.word,this._syllables=e.syllables,this._regex=null,this._options=(0,s.pick)(e,["notFollowedBy","alsoFollowedBy"])}createRegex(){const e=this._options;let t,r=this._fragment;switch((0,s.isUndefined)(e.notFollowedBy)||(r+="(?!["+e.notFollowedBy.join("")+"])"),(0,s.isUndefined)(e.alsoFollowedBy)||(r+="["+e.alsoFollowedBy.join("")+"]?"),this._location){case"atBeginning":t="^"+r;break;case"atEnd":t=r+"$";break;case"atBeginningOrEnd":t="(^"+r+")|("+r+"$)";break;default:t=r}this._regex=new RegExp(t)}getRegex(){return null===this._regex&&this.createRegex(),this._regex}occursIn(e){return this.getRegex().test(e)}removeFrom(e){return e.replace(this._fragment," ")}getSyllables(){return this._syllables}}},39617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.countSyllablesInWord=void 0;var s=o(r(1105)),n=r(92819),i=o(r(15495)),a=o(r(58766));function o(e){return e&&e.__esModule?e:{default:e}}const l=(0,n.memoize)((function(e){let t=[];const r=e.deviations;return t=(0,n.flatMap)(r.words.fragments,(function(e,t){return(0,n.map)(e,(function(e){return e.location=t,new a.default(e)}))})),t})),u=function(e,t){let r=0;if(!(0,n.isUndefined)(t.deviations)&&!(0,n.isUndefined)(t.deviations.words)){if(!(0,n.isUndefined)(t.deviations.words.full)){const r=function(e,t){const r=t.deviations.words.full,s=(0,n.find)(r,(function(t){return t.word===e}));return(0,n.isUndefined)(s)?0:s.syllables}(e,t);if(0!==r)return r}if(!(0,n.isUndefined)(t.deviations.words.fragments)){const s=function(e,t){const r=l(t);let s=e,i=0;return(0,n.forEach)(r,(function(e){e.occursIn(s)&&(s=e.removeFrom(s),i+=e.getSyllables())})),{word:s,syllableCount:i}}(e,t);e=s.word,r+=s.syllableCount}}return r+=function(e,t){let r=0;return r+=function(e,t){let r=0;const s=new RegExp("[^"+t.vowels+"]","ig"),i=e.split(s);return r+=(0,n.filter)(i,(function(e){return""!==e})).length,r}(e,t),(0,n.isUndefined)(t.deviations)||(0,n.isUndefined)(t.deviations.vowels)||(r+=function(e,t){return new i.default(t).countSyllables(e)}(e,t)),r}(e,t),r};t.countSyllablesInWord=u,t.default=function(e,t){e=e.toLocaleLowerCase();const r=(0,s.default)(e),i=(0,n.map)(r,(function(e){return u(e,t)}));return(0,n.sum)(i)}},15495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(87743))&&s.__esModule?s:{default:s},i=r(92819);t.default=class{constructor(e){this.countSteps=[],(0,i.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)}createSyllableCountSteps(e){(0,i.forEach)(e,function(e){this.countSteps.push(new n.default(e))}.bind(this))}getAvailableSyllableCountSteps(){return this.countSteps}countSyllables(e){let t=0;return(0,i.forEach)(this.countSteps,(function(r){t+=r.countSyllables(e)})),t}}},87743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(92819),i=(s=r(18072))&&s.__esModule?s:{default:s};t.default=class{constructor(e){this._hasRegex=!1,this._regex="",this._multiplier="",this.createRegex(e)}hasRegex(){return this._hasRegex}createRegex(e){(0,n.isUndefined)(e)||(0,n.isUndefined)(e.fragments)||(this._hasRegex=!0,this._regex=(0,i.default)(e.fragments,!0),this._multiplier=e.countModifier)}getRegex(){return this._regex}countSyllables(e){return this._hasRegex?(e.match(this._regex)||[]).length*this._multiplier:0}}},85336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}},74169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)();for(let r=0;r<t.length;r++)e=e.replace(t[r].letters,t[r].base);return e};var s,n=(s=r(24910))&&s.__esModule?s:{default:s}},81011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arraysDifference=l,t.arraysOverlap=u,t.combinations=c,t.getIndicesOfCharacter=o,t.getIndicesOfWords=a,t.replaceTurkishIs=h,t.replaceTurkishIsMemoized=void 0;var s,n=r(92819),i=(s=r(1105))&&s.__esModule?s:{default:s};function a(e){const t=[],r=(0,i.default)(e);let s=0;return r.forEach((function(r){const n=e.indexOf(r,s);t.push(n),s=n+r.length})),t}function o(e,t){const r=[];if(e.indexOf(t)>-1)for(let s=0;s<e.length;s++)e[s]===t&&r.push(s);return r}function l(e,t){return(0,n.filter)(e,(function(e){return!(0,n.includes)(t,e)}))}function u(e,t){return(0,n.filter)(e,(function(e){return(0,n.includes)(t,e)}))}function c(e){return function e(t,r){const s=t[0];if(void 0===s)return r;for(let e=0,t=r.length;e<t;++e)r.push(r[e].concat(s));return e(t.slice(1),r)}(e,[[]]).slice(1).concat([[]])}function d(e,t,r){const s=e.split("");return t.forEach((function(e){s.splice(e,1,r)})),s.join("")}function h(e){const t=o(e,"İ").concat(o(e,"I"),o(e,"i"),o(e,"ı"));if(t.sort(),0===t.length)return[e];const r=u(a(e),t),s=[];c(r).forEach((function(e){if((0,n.isEqual)(e,r))s.push([e,[],[],[]]);else{const t=l(r,e);c(t).forEach((function(r){if((0,n.isEqual)(r,t))s.push([e,r,[],[]]);else{const i=l(t,r);c(i).forEach((function(t){if((0,n.isEqual)(t,i))s.push([e,r,t,[]]);else{const n=l(i,t);s.push([e,r,t,n])}}))}}))}}));const i=[];return s.forEach((function(t){const r=d(e,t[0],"İ"),s=d(r,t[1],"I"),n=d(s,t[2],"i"),a=d(n,t[3],"ı");i.push(a)})),i}t.replaceTurkishIsMemoized=(0,n.memoize)(h)},36064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(t);for(let t=0;t<r.length;t++)e=e.replace(r[t].letter,r[t].alternative);return e};var s,n=(s=r(43879))&&s.__esModule?s:{default:s}},78087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(t);for(let t=r.length-1;t>=0;t--)e=e.replace(r[t].letter,r[t].alternative);return e};var s,n=(s=r(23324))&&s.__esModule?s:{default:s}},84159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[-_]/gi," ")}},20917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(8575))&&s.__esModule?s:{default:s};const i=/href=(["'])([^"']+)\1/i;function a(e){return e.split("#")[0]}function o(e){return e.split("?")[0]}function l(e){return e.replace(/\/$/,"")}function u(e){return l(e)+"/"}t.default={removeHash:a,removeQueryArgs:o,removeTrailingSlash:l,addTrailingSlash:u,getFromAnchorTag:function(e){const t=i.exec(e);return null===t?"":t[2]},areEqual:function(e,t){return e=o(a(e)),t=o(a(t)),u(e)===u(t)},getHostname:function(e){return(e=n.default.parse(e)).hostname},getProtocol:function(e){return n.default.parse(e).protocol},isInternalLink:function(e,t){const r=n.default.parse(e,!1,!0).hostname;return-1===e.indexOf("//")&&0===e.indexOf("/")||0!==e.indexOf("#")&&(!r||r===t||r===n.default.parse(t).hostname)},protocolIsHttpScheme:function(e){return!!e&&("http:"===e||"https:"===e)},isRelativeFragmentURL:function(e){return 0===e.indexOf("#")}}},28875:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",s=""){let n,i;return n="id"===s?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+r+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+r+"<>",i=t?"($|((?="+n+"]))|((['‘’‛`])("+n+"])))":"($|("+n+"])|((['‘’‛`])("+n+"])))","(^|"+n+"'‘’‛`])"+e+i}},11475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 0!==(0,n.filter)((0,i.default)(t),(function(t){return e.includes(t.toLocaleLowerCase())})).length};var s,n=r(92819),i=(s=r(1105))&&s.__esModule?s:{default:s}},40231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=t.length;return""!==e&&r>0&&(r+=e.length+3),r}},33870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e).length};var s,n=(s=r(1105))&&s.__esModule?s:{default:s}},16431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(8737),i=r(33888);const a=((s=r(31946))&&s.__esModule?s:{default:s}).default.map((e=>e.toLocaleLowerCase()));t.default=e=>{const t=[];return e.forEach((e=>{const r=[],s=[];for(;n.punctuationRegexStart.test(e)&&!i.hashedHtmlEntitiesRegexStart.test(e);)r.push(e[0]),e=e.slice(1);for(;n.punctuationRegexEnd.test(e)&&!i.hashedHtmlEntitiesRegexEnd.test(e)&&!a.includes(e.toLocaleLowerCase());)s.unshift(e[e.length-1]),e=e.slice(0,-1);let o=[...r,e,...s];o=o.filter((e=>""!==e)),t.push(...o)})),t}},49325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=[]){return(0,s.filter)(e,(function(e){return!(0,s.includes)(t,e.trim().toLocaleLowerCase())}))};var s=r(92819)},89032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,s.isEmpty)(e))return!1;const r=t.index+t.match.length,n=[];return(0,s.forEach)(e,(function(e){n.push(e.index)})),(0,s.includes)(n,r)};var s=r(92819)},60914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e.getTree());return o((0,n.flatMap)(t.map((e=>e.tokens))))},t.getWordsFromTokens=o;var s=a(r(54241)),n=r(92819),i=a(r(8737));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t=!0){let r=e.map((e=>e.text));return t||function(e,t){for(;-1!==e.indexOf(t);){if(0===e.indexOf(t)||e.indexOf(t)===e.length-1){e.splice(e.indexOf(t),1);continue}const r=e.indexOf(t),s=e[r-1],n=e[r+1];e.splice(r-1,3,s+t+n)}}(r,"-"),r=r.map((e=>(0,i.default)(e))),r.filter((e=>""!==e.trim()))}},1105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="\\s",r=!0){if(""===(e=(0,n.default)(e)))return[];const s=new RegExp(t,"g");let o=e.split(s);return o=r?o.map(a.default):(0,i.flatMap)(o,(e=>e.replace(l," $1 ").split(" "))),(0,i.filter)(o,(function(e){return""!==e.trim()}))};var s,n=(s=r(86697))&&s.__esModule?s:{default:s},i=r(92819),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}(r(8737));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}const l=new RegExp(`([${a.punctuationRegexString}])`,"g")},9803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!0){const n=r?1:0;if((0,s.isEmpty)(e))return!1;const i=[];return(0,s.forEach)(e,(function(e){const t=e.index+e.match.length+n;i.push(t)})),(0,s.includes)(i,t)};var s=r(92819)},61403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterIndices=t.default=void 0,t.getIndicesByWord=o,t.sortIndices=t.getIndicesByWordListSorted=t.getIndicesByWordList=void 0;var s,n=r(92819),i=(s=r(47793))&&s.__esModule?s:{default:s},a=r(30043);function o(e,t){let r=0;const s=e.length;let n;const i=[];for(;(n=t.indexOf(e,r))>-1;){const o=(0,a.characterInBoundary)(t[n-1])||0===n,l=(0,a.characterInBoundary)(t[n+s])||t.length===n+s;o&&l&&i.push({index:n,match:e}),r=n+s}return i}const l=function(e,t){let r=[];return(0,n.forEach)(e,(function(e){e=(0,i.default)(e),(0,a.isWordInSentence)(e,t)&&(r=r.concat(o(e,t)))})),r};t.getIndicesByWordList=l;const u=function(e){return e.sort((function(e,t){return e.index-t.index}))};t.sortIndices=u;const c=function(e){e=u(e);const t=[];for(let r=0;r<e.length;r++)!(0,n.isUndefined)(e[r+1])&&e[r+1].index<e[r].index+e[r].match.length?(t.push(e[r]),r++):t.push(e[r]);return t};t.filterIndices=c;const d=function(e,t){let r=[];return(0,n.forEach)(e,(function(e){if(e=(0,i.default)(e),!(0,a.isWordInSentence)(e,t))return r;r=r.concat(o(e,t))})),r=r.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0})),r};t.getIndicesByWordListSorted=d,t.default={getIndicesByWord:o,getIndicesByWordList:l,filterIndices:c,sortIndices:u,getIndicesByWordListSorted:d}},48024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deConstructAnchor=t.collectMarkingsInSentence=void 0,t.markWordsInASentence=g,t.markWordsInSentences=function(e,t,r,n){let i=[],a=[];return t.forEach((function(t){i=(0,s.default)(t,e,r,n).matches,i.length>0&&(a=a.concat(g(t,i,n)))})),a},t.reConstructAnchor=void 0;var s=c(r(7407)),n=c(r(18072)),i=c(r(5262)),a=c(r(41054)),o=r(92819),l=c(r(30341)),u=r(37361);function c(e){return e&&e.__esModule?e:{default:e}}const d=/(<a[\s]+[^>]+>)([^]*?)(<\/a>)/,h=function(e){const[,t,r]=e.match(d);return{openTag:t,content:r}};t.deConstructAnchor=h;const f=function(e,t){return`${e}${t}</a>`};t.reConstructAnchor=f;const p=function(e,t,r){const s=[];t.forEach((e=>{const t=e.match(u.SINGLE_QUOTES_REGEX);t?u.SINGLE_QUOTES_ARRAY.forEach((r=>{t.forEach((t=>{s.push((0,o.escapeRegExp)(e.replace(new RegExp(t,"g"),r)))}))})):s.push((0,o.escapeRegExp)(e))}));const a=r?(0,n.default)(s,!0):(0,n.default)(s),{anchors:c,markedAnchors:d}=function(e,t){const r=(0,l.default)(e),s=r.map((e=>{const{openTag:r,content:s}=h(e),n=s.replace(t,(e=>(0,i.default)(e)));return f(r,n)}));return{anchors:r,markedAnchors:s}}(e,a);let p=e.replace(a,(function(e){return(0,i.default)(e)}));if(c.length>0){const e=(0,l.default)(p);for(let t=0;t<e.length;t++)p=p.replace(e[t],d[t])}return p.replace(new RegExp("</yoastmark> <yoastmark class='yoast-text-mark'>","ig")," ")};function g(e,t,r){return[new a.default({original:e,marked:p(e,t,r)})]}t.collectMarkingsInSentence=p},30043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWordInSentence=t.default=t.characterInBoundary=void 0;var s=a(r(35468)),n=r(92819),i=a(r(28875));function a(e){return e&&e.__esModule?e:{default:e}}const o=new Set((0,s.default)()),l=function(e){return o.has(e)};t.characterInBoundary=l;const u=function(e,t){e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase();const r=(0,i.default)((0,n.escapeRegExp)(e));let s=t.search(new RegExp(r,"ig"));if(-1===s)return!1;s>0&&(s+=1);const a=s+e.length,o=l(t[s-1])||0===s,u=l(t[a])||a===t.length;return o&&u};t.isWordInSentence=u,t.default={characterInBoundary:l,isWordInSentence:u}},7337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(16431))&&s.__esModule?s:{default:s};const i=/([\s\t\u00A0\u2013\u2014\u002d[\]]|#nbsp;)/;t.default=e=>{if(!e)return[];const t=e.split(i).filter((e=>""!==e));return(0,n.default)(t)}},58677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbstractResearcher",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"areWordsInSentence",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"baseStemmer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"buildFormRule",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"collectMarkingsInSentence",{enumerable:!0,get:function(){return H.collectMarkingsInSentence}}),Object.defineProperty(t,"countMetaDescriptionLength",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"createRegexFromArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createRulesFromArrays",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createSingleRuleFromArray",{enumerable:!0,get:function(){return p.createSingleRuleFromArray}}),Object.defineProperty(t,"directPrecedenceException",{enumerable:!0,get:function(){return m.default}}),t.exceptionListHelpers=void 0,Object.defineProperty(t,"findMatchingEndingInArray",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"findWordFormsInString",{enumerable:!0,get:function(){return B.findWordFormsInString}}),Object.defineProperty(t,"flattenSortLength",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"getClauses",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"getClausesSplitOnStopWords",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"getFieldsToMark",{enumerable:!0,get:function(){return M.getFieldsToMark}}),Object.defineProperty(t,"getLanguage",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"getSentences",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"getWords",{enumerable:!0,get:function(){return u.default}}),t.helpers=void 0,Object.defineProperty(t,"imageInText",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"indices",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"markWordsInSentences",{enumerable:!0,get:function(){return H.markWordsInSentences}}),Object.defineProperty(t,"matchRegularParticiples",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"mergeListItems",{enumerable:!0,get:function(){return U.mergeListItems}}),Object.defineProperty(t,"nonDirectPrecedenceException",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"normalizeHTML",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"normalizeSingle",{enumerable:!0,get:function(){return x.normalizeSingle}}),Object.defineProperty(t,"parseSynonyms",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"precedenceException",{enumerable:!0,get:function(){return _.default}}),t.regexHelpers=void 0,Object.defineProperty(t,"removePunctuation",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"replaceDiacritics",{enumerable:!0,get:function(){return s.default}}),t.researches=void 0,Object.defineProperty(t,"sanitizeString",{enumerable:!0,get:function(){return I.default}}),t.stemHelpers=void 0,Object.defineProperty(t,"stripBlockTagsAtStartEnd",{enumerable:!0,get:function(){return w.stripBlockTagsAtStartEnd}}),Object.defineProperty(t,"stripHTMLTags",{enumerable:!0,get:function(){return w.stripFullTags}}),Object.defineProperty(t,"stripSpaces",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"transliterate",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"unifyAllSpaces",{enumerable:!0,get:function(){return N.unifyAllSpaces}}),t.values=void 0;var s=q(r(74169)),n=q(r(36064)),i=q(r(18072)),a=q(r(61440)),o=q(r(47793)),l=q(r(42992)),u=q(r(1105)),c=q(r(67986)),d=q(r(44949)),h=q(r(61403)),f=q(r(19605)),p=G(r(53371)),g=q(r(2329)),m=q(r(23107)),_=q(r(14456)),y=q(r(95580)),T=q(r(30259)),E=G(r(64396));t.regexHelpers=E;var v=G(r(74252));t.exceptionListHelpers=v;var A=G(r(74694));t.stemHelpers=A;var b=G(r(62390));t.values=b;var S=q(r(11475)),O=q(r(43527)),C=q(r(80053)),w=r(62240),I=q(r(86697)),N=r(81831),k=q(r(8737)),P=q(r(88567)),L=q(r(40231)),R=q(r(67404)),D=q(r(9862)),M=r(29368),x=r(37361),F=q(r(73481)),U=r(10840),B=r(36478),H=r(48024),j=G(r(29866));t.helpers=j;var $=G(r(42299));function W(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(W=function(e){return e?r:t})(e)}function G(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=W(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}function q(e){return e&&e.__esModule?e:{default:e}}t.researches=$},24081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:10}},60645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,s){const n=e.wordLength,i=s.frequencyList.list;return!((t=t.toLowerCase()).length<=n)&&(!i.includes(t)&&(!r.test(t)||(t=t.replace(r,""),!i.includes(t))))};const r=new RegExp("(en|e|s)$")},31946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."]},89456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonNouns=t.filteredAtEnding=t.filteredAtBeginningAndEnding=t.filteredAnywhere=t.default=t.cannotDirectlyPrecedePassiveParticiple=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=t.all=void 0;var s,n=r(64998),i=r(27350),a=(s=r(85336))&&s.__esModule?s:{default:s};const o=["the","an","a"],l=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty","hundred","hundreds","thousand","thousands","million","millions","billion","billions"],u=["first","second","third","fourth","fifth","sixth","seventh","eighth","ninth","tenth","eleventh","twelfth","thirteenth","fourteenth","fifteenth","sixteenth","seventeenth","eighteenth","nineteenth","twentieth"],c=["i","you","he","she","it","we","they"],d=["me","him","us","them"],h=["this","that","these","those"],f=["my","your","his","her","its","their","our","mine","yours","hers","theirs","ours"],p=["all","some","many","lot","lots","ton","tons","bit","no","every","enough","little","much","more","most","plenty","several","few","fewer","kind","kinds"],g=["myself","yourself","himself","herself","itself","oneself","ourselves","yourselves","themselves"],m=["none","nobody","everyone","everybody","someone","somebody","anyone","anybody","nothing","everything","something","anything","each","other","whatever","whichever","whoever","whomever","whomsoever","whosoever","others","neither","both","either","any","such"],_=["one's","nobody's","everyone's","everybody's","someone's","somebody's","anyone's","anybody's","nothing's","everything's","something's","anything's","whoever's","others'","other's","another's","neither's","either's"],y=["which","what","whose"],T=["who","whom"],E=["where","how","why","whether","wherever","whyever","wheresoever","whensoever","howsoever","whysoever","whatsoever","whereso","whomso","whenso","howso","whyso","whoso","whatso"],v=["therefor","therein","hereby","hereto","wherein","therewith","herewith","wherewith","thereby"],A=["there","here","whither","thither","hither","whence","thence"],b=["always","once","twice","thrice"],S=["can","cannot","can't","could","couldn't","could've","dare","dares","dared","do","don't","does","doesn't","did","didn't","done","have","haven't","had","hadn't","has","hasn't","i've","you've","we've","they've","i'd","you'd","he'd","she'd","it'd","we'd","they'd","would","wouldn't","would've","may","might","must","need","needn't","needs","ought","shall","shalln't","shan't","should","shouldn't","will","won't","i'll","you'll","he'll","she'll","it'll","we'll","they'll","there's","there're","there'll","here's","here're","there'll"],O=["appear","appears","appeared","become","becomes","became","come","comes","came","keep","keeps","kept","remain","remains","remained","stay","stays","stayed","turn","turns","turned"],C=["doing","daring","having","appearing","becoming","coming","keeping","remaining","staying","saying","asking","stating","seeming","letting","making","setting","showing","putting","adding","going","using","trying","containing"],w=["in","from","with","under","throughout","atop","for","on","of","to","aboard","about","above","abreast","absent","across","adjacent","after","against","along","alongside","amid","mid","among","apropos","apud","around","as","astride","at","ontop","afore","tofore","behind","ahind","below","ablow","beneath","neath","beside","between","atween","beyond","ayond","by","chez","circa","spite","down","except","into","less","like","minus","near","nearer","nearest","anear","notwithstanding","off","onto","opposite","out","outen","over","past","per","pre","qua","sans","sithence","through","thru","truout","toward","underneath","up","upon","upside","versus","via","vis-à-vis","without","ago","apart","aside","aslant","away","withal","towards","amidst","amongst","midst","whilst"],I=["back","within","forward","backward","ahead"],N=["and","or","and/or","yet"],k=["sooner","just","only"],P=["if","even"],L=["say","says","said","claimed","ask","asks","asked","stated","explain","explains","explained","think","thinks","talks","talked","announces","announced","tells","told","discusses","discussed","suggests","suggested","understands","understood"],R=["again","definitely","eternally","expressively","instead","expressly","immediately","including","instantly","namely","naturally","next","notably","now","nowadays","ordinarily","positively","truly","ultimately","uniquely","usually","almost","maybe","probably","granted","initially","too","actually","already","e.g","i.e","often","regularly","simply","optionally","perhaps","sometimes","likely","never","ever","else","inasmuch","provided","currently","incidentally","elsewhere","particular","recently","relatively","f.i","clearly","apparently"],D=["highly","very","really","extremely","absolutely","completely","totally","utterly","quite","somewhat","seriously","fairly","fully","amazingly"],M=["seem","seems","seemed","let","let's","lets","make","makes","made","want","showed","shown","go","goes","went","gone","take","takes","took","taken","put","puts","use","used","try","tries","tried","mean","means","meant","called","based","add","adds","added","contain","contains","contained","consist","consists","consisted","ensure","ensures","ensured"],x=["new","newer","newest","old","older","oldest","previous","good","well","better","best","big","bigger","biggest","easy","easier","easiest","fast","faster","fastest","far","hard","harder","hardest","least","own","large","larger","largest","long","longer","longest","low","lower","lowest","high","higher","highest","regular","simple","simpler","simplest","small","smaller","smallest","tiny","tinier","tiniest","short","shorter","shortest","main","actual","nice","nicer","nicest","real","same","able","certain","usual","so-called","mainly","mostly","recent","anymore","complete","lately","possible","commonly","constantly","continually","directly","easily","nearly","slightly","somewhere","estimated","latest","different","similar","widely","bad","worse","worst","great","specific","available","average","awful","awesome","basic","beautiful","busy","current","entire","everywhere","important","major","multiple","normal","necessary","obvious","partly","special","last","early","earlier","earliest","young","younger","youngest"],F=["oh","wow","tut-tut","tsk-tsk","ugh","whew","phew","yeah","yea","shh","oops","ouch","aha","yikes"],U=["tbs","tbsp","spk","lb","qt","pk","bu","oz","pt","mod","doz","hr","f.g","ml","dl","cl","l","mg","g","kg","quart"],B=["seconds","minute","minutes","hour","hours","day","days","week","weeks","month","months","year","years","today","tomorrow","yesterday"],H=["thing","things","way","ways","matter","case","likelihood","ones","piece","pieces","stuff","times","part","parts","percent","instance","instances","aspect","aspects","item","items","idea","theme","person","instance","instances","detail","details","factor","factors","difference","differences"],j=["not","yes","sure","top","bottom","ok","okay","amen","aka","etc","etcetera","sorry","please"],$=["jr","sr"],W=t.filteredAtEnding=(0,a.default)([].concat(u,C,x)),G=t.filteredAtBeginningAndEnding=(0,a.default)([].concat(o,w,N,h,D,p,f)),q=t.filteredAnywhere=(0,a.default)([].concat(i.singleWords,b,c,d,g,F,l,n.all,S,O,L,M,m,k,P,y,T,E,A,j,I,v,U,B,H)),V=t.cannotDirectlyPrecedePassiveParticiple=(0,a.default)([].concat(o,w,h,f,u,C,p)),K=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=(0,a.default)([].concat(S,O,L,M)),Y=(t.nonNouns=(0,a.default)([].concat(o,l,u,h,f,g,c,d,p,m,C,_,y,T,E,v,A,b,I,n.all,S,O,w,N,k,P,L,i.singleWords,R,D,M,F,x,U,j,$)),t.all=(0,a.default)([].concat(o,l,u,h,f,g,c,d,p,m,C,_,y,T,E,v,A,b,I,n.all,S,O,w,N,k,P,L,i.singleWords,R,D,M,F,x,U,H,j,B,["ms","mss","mrs","mr","dr","prof"],$)));t.default={filteredAtEnding:W,filteredAtBeginningAndEnding:G,filteredAnywhere:q,cannotDirectlyPrecedePassiveParticiple:V,cannotBeBetweenPassiveAuxiliaryAndParticiple:K,all:Y}},64998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.other=t.negatedFormsOfToBe=t.formsOfToGet=t.formsOfToBe=t.default=t.all=void 0;const r=t.formsOfToBe=["am","is","are","was","were","been","be","she's","he's","it's","i'm","we're","they're","you're","that's","being"],s=t.negatedFormsOfToBe=["isn't","weren't","wasn't","aren't"],n=t.formsOfToGet=["get","gets","got","gotten","getting"],i=t.other=["having","what's"],a=t.all=r.concat(s,n,i);t.default=a},89597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["arisen","awoken","reawoken","babysat","backslid","backslidden","beat","beaten","become","begun","bent","unbent","bet","bid","outbid","rebid","underbid","overbid","bidden","bitten","blown","bought","overbought","bound","unbound","rebound","broadcast","rebroadcast","broken","brought","browbeat","browbeaten","built","prebuilt","rebuilt","overbuilt","burnt","burst","bust","cast","miscast","recast","caught","chosen","clung","come","overcome","cost","crept","cut","undercut","recut","daydreamt","dealt","misdealt","redealt","disproven","done","predone","outdone","misdone","redone","overdone","undone","drawn","outdrawn","redrawn","overdrawn","dreamt","driven","outdriven","drunk","outdrunk","overdrunk","dug","dwelt","eaten","overeaten","fallen","felt","fit","refit","retrofit","flown","outflown","flung","forbidden","forecast","foregone","foreseen","foretold","forgiven","forgotten","forsaken","fought","outfought","found","frostbitten","frozen","unfrozen","given","gone","undergone","gotten","ground","reground","grown","outgrown","regrown","had","handwritten","heard","reheard","misheard","overheard","held","hewn","hidden","unhidden","hit","hung","rehung","overhung","unhung","hurt","inlaid","input","interwound","interwoven","jerry-built","kept","knelt","knit","reknit","unknit","known","laid","mislaid","relaid","overlaid","lain","underlain","leant","leapt","outleapt","learnt","unlearnt","relearnt","mislearnt","left","lent","let","lip-read","lit","relit","lost","made","premade","remade","meant","met","mown","offset","paid","prepaid","repaid","overpaid","partaken","proofread","proven","put","quick-frozen","quit","read","misread","reread","retread","rewaken","rid","ridden","outridden","overridden","risen","roughcast","run","outrun","rerun","overrun","rung","said","sand-cast","sat","outsat","sawn","seen","overseen","sent","resent","set","preset","reset","misset","sewn","resewn","oversewn","unsewn","shaken","shat","shaven","shit","shone","outshone","shorn","shot","outshot","overshot","shown","shrunk","preshrunk","shut","sight-read","slain","slept","outslept","overslept","slid","slit","slung","unslung","slunk","smelt","outsmelt","snuck","sold","undersold","presold","outsold","resold","oversold","sought","sown","spat","spelt","misspelt","spent","underspent","outspent","misspent","overspent","spilt","overspilt","spit","split","spoilt","spoken","outspoken","misspoken","overspoken","spread","sprung","spun","unspun","stolen","stood","understood","misunderstood","strewn","stricken","stridden","striven","struck","strung","unstrung","stuck","unstuck","stung","stunk","sublet","sunburnt","sung","outsung","sunk","sweat","swept","swollen","sworn","outsworn","swum","outswum","swung","taken","undertaken","mistaken","retaken","overtaken","taught","mistaught","retaught","telecast","test-driven","test-flown","thought","outthought","rethought","overthought","thrown","outthrown","overthrown","thrust","told","retold","torn","retorn","trod","trodden","typecast","typeset","upheld","upset","waylaid","wept","wet","rewet","withdrawn","withheld","withstood","woken","won","rewon","worn","reworn","wound","rewound","overwound","unwound","woven","rewoven","unwoven","written","typewritten","underwritten","outwritten","miswritten","rewritten","overwritten","wrung"]},74016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regularParticiplesRegex=void 0,t.regularParticiplesRegex=/\w+ed($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi},27350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.singleWords=t.multipleWords=t.default=t.allWords=void 0;const r=t.singleWords=["accordingly","additionally","afterward","afterwards","albeit","also","although","altogether","another","basically","because","before","besides","but","certainly","chiefly","comparatively","concurrently","consequently","contrarily","conversely","correspondingly","despite","doubtedly","during","e.g.","earlier","emphatically","equally","especially","eventually","evidently","explicitly","finally","firstly","following","formerly","forthwith","fourthly","further","furthermore","generally","hence","henceforth","however","i.e.","identically","indeed","initially","instead","last","lastly","later","lest","likewise","markedly","meanwhile","moreover","nevertheless","nonetheless","nor","notwithstanding","obviously","occasionally","otherwise","overall","particularly","presently","previously","rather","regardless","secondly","shortly","significantly","similarly","simultaneously","since","so","soon","specifically","still","straightaway","subsequently","surely","surprisingly","than","then","thereafter","therefore","thereupon","thirdly","though","thus","till","undeniably","undoubtedly","unless","unlike","unquestionably","until","when","whenever","whereas","while","whether","if","actually","anyway","anyways","anyhow","mostly","namely","including","suddenly"],s=t.multipleWords=["above all","after all","after that","all in all","all of a sudden","all things considered","analogous to","although this may be true","analogous to","another key point","as a matter of fact","as a result","as an illustration","as can be seen","as has been noted","as I have noted","as I have said","as I have shown","as long as","as much as","as opposed to","as shown above","as soon as","as well as","at any rate","at first","at last","at least","at length","at the present time","at the same time","at this instant","at this point","at this time","balanced against","being that","by all means","by and large","by comparison","by the same token","by the time","compared to","be that as it may","coupled with","different from","due to","equally important","even if","even more","even so","even though","first thing to remember","for example","for fear that","for instance","for one thing","for that reason","for the most part","for the purpose of","for the same reason","for this purpose","for this reason","from time to time","given that","given these points","important to realize","in a word","in addition","in another case","in any case","in any event","in brief","in case","in conclusion","in contrast","in detail","in due time","in effect","in either case","either way","in essence","in fact","in general","in light of","in like fashion","in like manner","in order that","in order to","in other words","in particular","in reality","in short","in similar fashion","in spite of","in sum","in summary","in that case","in the event that","in the final analysis","in the first place","in the fourth place","in the hope that","in the light of","in the long run","in the meantime","in the same fashion","in the same way","in the second place","in the third place","in this case","in this situation","in time","in truth","in view of","inasmuch as","most compelling evidence","most important","must be remembered","not only","not to mention","note that","now that","of course","on account of","on balance","on condition that","on one hand","on the condition that","on the contrary","on the negative side","on the other hand","on the positive side","on the whole","on this occasion","all at once","once in a while","only if","owing to","point often overlooked","prior to","provided that","seeing that","so as to","so far","so long as","so that","sooner or later","such as","summing up","take the case of","that is","that is to say","then again","this time","to be sure","to begin with","to clarify","to conclude","to demonstrate","to emphasize","to enumerate","to explain","to illustrate","to list","to point out","to put it another way","to put it differently","to repeat","to rephrase it","to say nothing of","to sum up","to summarize","to that end","to the end that","to this end","together with","under those circumstances","until now","up against","up to the present time","vis a vis","what's more","what is more","while it may be true","while this may be true","with attention to","with the result that","with this in mind","with this intention","with this purpose in mind","without a doubt","without delay","without doubt","without reservation","according to","no sooner","at most","at the most","from now on"],n=t.allWords=r.concat(s);t.default=n},92518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7,doesUpperCaseDecreaseComplexity:!0}},46882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list,o=e.doesUpperCaseDecreaseComplexity;if(t.length<=i)return!1;if(o&&t[0].toLowerCase()!==t[0])return!1;if(a.includes(t))return!1;if(r){const e=(0,s.default)(t,(0,n.default)(r.nouns.regexNoun.singularize));return!a.includes(e)}return!0};var s=i(r(19605)),n=i(r(53371));function i(e){return e&&e.__esModule?e:{default:e}}},45072:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7}},66676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i){const a=e.wordLength,o=i.frequencyList.list;return!(t.length<=a)&&(t[0].toLowerCase()===t[0]&&(!o.includes(t)&&(s.test(t)?(t=t.replace(n,""),!o.includes(t)):!r.test(t)||(t=t.replace(n,""),!o.includes(t)))))};const r=new RegExp("[aeiuoyáéíóúñ](s)$"),s=new RegExp("[bcdfghjklmnpqrstvwxzñ](es)$"),n=new RegExp("(s|es)$")},20712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:9}},8920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list;if(t=(0,s.normalizeSingle)(t),n.test(t)&&(t=t.replace(n,"")),t.length<=i)return!1;if(a.includes(t))return!1;if(t[0].toLowerCase()===t[0]){const e=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithSplural),s=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithXplural),n=r.suffixGroupsComplexity.irregularPluralSingularSuffixes,i=new RegExp(n[0]);return e.test(t)||s.test(t)?t=t.substring(0,t.length-1):i.test(t)&&(t=t.replace(i,n[1])),!a.includes(t)}return!1};var s=r(37361);const n=new RegExp("^(c'|d'|l'|s')")},49581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={recommendedMaximumLength:60,maximumLength:80}},40027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,a.default)(e),s=t.getResearch("morphology"),n=t.getHelper("matchWordCustomHelper");return l(r,s,e.getLocale(),n)};var s=o(r(15770)),n=r(36478),i=r(92819),a=o(r(92017));function o(e){return e&&e.__esModule?e:{default:e}}const l=function(e,t,r,a){const o={noAlt:0,withAlt:0,withAltKeyword:0,withAltNonKeyword:0};return e.forEach((e=>{const l=(0,s.default)(e);""!==l?(0,i.isEmpty)(t.keyphraseForms)?o.withAlt++:(0,n.findTopicFormsInString)(t,l,!0,r,a).percentWordMatches>=50?o.withAltKeyword++:o.withAltNonKeyword++:o.noAlt++})),o}},99447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(e.getTree());return(0,s.default)(r,t)};var s=i(r(91916)),n=i(r(54241));function i(e){return e&&e.__esModule?e:{default:e}}},14117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=c(r(75118)),i=r(36478),a=r(66382),o=c(r(83927)),l=c(r(1105)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}let d=[];const h=function(e,t){return 0===t||0===d.length?t:function(e){e=e.toLocaleLowerCase();let t=(0,l.default)(e.toLocaleLowerCase(),u.WORD_BOUNDARY_WITH_HYPHEN);return t=(0,s.filter)(t,(function(e){return!(0,s.includes)(d,e.trim().toLocaleLowerCase())})),(0,s.isEmpty)(t)}(e.substring(0,t))?0:t};t.default=function(e,t){d=t.getConfig("functionWords");let r=(0,s.escapeRegExp)(e.getKeyword());const l=e.getTitle(),u=e.getLocale();let c={exactMatchFound:!1,allWordsFound:!1,position:-1,exactMatchKeyphrase:!1};const f=(0,o.default)(r);f.exactMatchRequested&&(r=f.keyphrase,c.exactMatchKeyphrase=!0);const p=t.getConfig("prefixedFunctionWordsRegex"),g=(0,n.default)(l,r,u,!1);return g.count>0&&!p?(c.exactMatchFound=!0,c.allWordsFound=!0,c.position=h(l,g.position),c):(c=function(e,t,r,o,l){const u=e.getTitle(),c=e.getLocale(),d=t.getResearch("morphology"),f=(0,i.findTopicFormsInString)(d,u,!1,c,!1);if(100===f.percentWordMatches){if(l){const{exactMatchFound:e,position:t}=function(e,t,r,i,o,l){const u=(0,s.uniq)(e.matches.map((e=>(0,a.stemPrefixedFunctionWords)(e,i).prefix)).concat([""])),c=t.split(" ").map((e=>u.map((t=>t+e)).filter((e=>(0,n.default)(o,e,l,!1).count>0))));if(!c.find((e=>0===e.length)))for(const e of function*(...e){const t=e.map((e=>e.length)),r=Array(e.length).fill(0);for(;;){yield r.map(((t,r)=>e[r][t]));let s=e.length-1;for(;s>=0&&++r[s]===t[s];)r[s]=0,s--;if(s<0)break}}(...c)){const t=Array.isArray(e)?e.join(" "):e,s=(0,n.default)(o,t,l,!1);if(s.count>0){r.exactMatchFound=!0,r.position=h(o,s.position);break}}return 0===e.position&&(r.position=0),r}(f,r,o,l,u,c);o={...o,exactMatchFound:e,position:t}}o.allWordsFound=!0}return o}(e,t,r,c,p),c)}},86232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=t.getResearch("getParagraphs");const a=e.getTree();r=r.filter((e=>{const t=e.getParentNode(a);return!(e.isImplicit&&t&&"figcaption"===t.name)})),r=r.filter((e=>!(e.childNodes&&e.childNodes[0]&&(0,i.createShortcodeTagsRegex)(["caption","gallery","embed","playlist"]).test(e.childNodes[0].value))));const o=r[0],l=t.getResearch("morphology"),u=t.getHelper("matchWordCustomHelper"),c=e.getLocale(),d=o&&o.sourceCodeLocation.startOffset,h=e._attributes.wpBlocks,f=h&&h.filter((e=>(0,s.inRange)(d,e.startOffset,e.endOffset)))[0],p=null==o?void 0:o.getParentNode(a),g={foundInOneSentence:!1,foundInParagraph:!1,keyphraseOrSynonym:"",introduction:o,parentBlock:f||p};if((0,s.isEmpty)(o))return g;const m=o.sentences.map((e=>e.text));if(!(0,s.isEmpty)(m)){const e=m.map((e=>(0,n.findTopicFormsInString)(l,e,!0,c,u))).find((e=>100===e.percentWordMatches));if(e)return g.foundInOneSentence=!0,g.foundInParagraph=!0,g.keyphraseOrSynonym=e.keyphraseOrSynonym,g;const t=(0,n.findTopicFormsInString)(l,o.innerText(),!0,c,u);if(100===t.percentWordMatches)return g.foundInParagraph=!0,g.keyphraseOrSynonym=t.keyphraseOrSynonym,g}return g};var s=r(92819),n=r(36478),i=r(29866)},69564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("customCountLength"),o=t.getHelper("matchTransitionWordsHelper"),l=t.getConfig("transitionWords"),u=t.getConfig("twoPartTransitionWords"),d=(0,s.default)(e.getTree()),h=c(d,l,u,o);let f=(0,n.default)(e).length;if(r){var p;let t=e.getText();t=(0,i.default)(t),t=(0,a.filterShortcodesFromHTML)(t,(null===(p=e._attributes)||void 0===p?void 0:p.shortcodes)||[]),f=r(t)}return{sentenceResults:h,totalSentences:d.length,transitionWordSentences:h.length,textLength:f}};var s=l(r(54241)),n=l(r(60914)),i=l(r(96908)),a=r(24533),o=r(88626);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){return t.filter((t=>{const r=t.toLocaleLowerCase().split(" "),s=e.tokens.filter((e=>" "!==e.text)).map((e=>e.text.toLocaleLowerCase()));return(0,o.includesConsecutiveWords)(s,r).length}))},c=function(e,t,r,s){const n=[];return e.forEach((e=>{if(r){const t=function(e,t){return t.filter((t=>{const r=t[0],s=t[1],n=u(e,[r]),i=u(e,[s]);return n.length&&i.length}))}(e,r);if(0!==t.length)return void n.push({sentence:e,transitionWords:t})}const i=s?s(e.text,t):u(e,t);0!==i.length&&n.push({sentence:e,transitionWords:i})})),n}},3479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("getWordsCustomHelper"),l=e.getKeyword();if((0,i.default)(l).exactMatchRequested)return!1;let u=o?o(l):(0,n.default)(l,a.WORD_BOUNDARY_WITH_HYPHEN);return u=(0,s.filter)(u,(function(e){return!(0,s.includes)(r,e.trim().toLocaleLowerCase())})),(0,s.isEmpty)(u)};var s=r(92819),n=o(r(1105)),i=o(r(83927)),a=r(10152);function o(e){return e&&e.__esModule?e:{default:e}}},63216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){f=t.getConfig("functionWords");const r=t.getConfig("areHyphensWordBoundaries"),h={anchorsWithKeyphrase:[],anchorsWithKeyphraseCount:0};if(""===e.getText())return h;const p=e.getKeyword();if(""===p)return h;const g=(0,l.default)(e.getSynonyms());g.push(p);let m=e.getTree().findAll((e=>"a"===e.name));if(m=function(e,t){const r=e.map((function(e){const r=e.attributes.href;return!!r&&function(e,t){return Boolean(c.default.areEqual(e,t)||c.default.isRelativeFragmentURL(e))}(r,t)}));return e.filter(((e,t)=>!r[t]))}(m,e.getPermalink()),0===m.length)return h;const _=e.getLocale(),y=t.getResearch("morphology"),T={matchWordCustomHelper:t.getHelper("matchWordCustomHelper"),getWordsCustomHelper:t.getHelper("getWordsCustomHelper")};if(m=function(e,t,r,s){const n=e.map((function(e){const n=e.innerText();return 100===(0,i.findTopicFormsInString)(t,n,!0,r,s).percentWordMatches}));return e.filter(((e,t)=>n[t]))}(m,y,_,T.matchWordCustomHelper),0===m.length)return h;return m=function(e,t,r,i,l,u){const c=i.matchWordCustomHelper,h=i.getWordsCustomHelper,p=[(0,s.flatten)(t.keyphraseForms)];t.synonymsForms.forEach((e=>p.push((0,s.flatten)(e))));const g=[];return e.forEach((function(e){const t=e.innerText();let i;i=h?(0,s.uniq)(h(t)):u?(0,s.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITH_HYPHEN)):(0,s.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITHOUT_HYPHEN));const m=(0,n.default)(i,f);m.length>0&&(i=m),l.forEach((e=>{e.exactMatchRequested&&i.every((t=>e.keyphrase.includes(t)))&&g.push(!0)}));for(let e=0;e<p.length;e++){const t=p[e];if(i.every((e=>(0,o.default)(e,t,r,c).count>0))){g.push(!0);break}}})),e.filter(((e,t)=>g[t]))}(m,y,_,T,g.map((e=>(0,u.default)(e))),r),{anchorsWithKeyphrase:m,anchorsWithKeyphraseCount:m.length}};var s=r(92819),n=h(r(49325)),i=r(36478),a=h(r(1105)),o=h(r(7407)),l=h(r(73481)),u=h(r(83927)),c=h(r(20917)),d=r(10152);function h(e){return e&&e.__esModule?e:{default:e}}let f=[]},82163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DIFFICULTY=void 0,t.default=function(e,t){const r=t.getConfig("syllables"),l=t.getHelper("memoizedTokenizer"),d=function(e){return e.getConfig("fleschReadingEaseScores")||{borders:{veryEasy:90,easy:80,fairlyEasy:70,okay:60,fairlyDifficult:50,difficult:30,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}}}(t);let h=e.getText();if(""===h)return{score:-1,difficulty:c.NO_DATA};h=(0,s.default)(h);const f=(0,n.default)(h,l),p=(0,i.default)(h);if(f<1||p<=10)return{score:-1,difficulty:c.NO_DATA};const g=(0,a.default)(h,r),m={numberOfSentences:f,numberOfWords:p,numberOfSyllables:g,averageWordsPerSentence:u(p,f),syllablesPer100Words:g*(100/p)},_=t.getHelper("fleschReadingScore"),y=(0,o.clamp)(_(m),0,100),T=function(e,t){return e>=t.borders.veryEasy?c.VERY_EASY:(0,o.inRange)(e,t.borders.easy,t.borders.veryEasy)?c.EASY:(0,o.inRange)(e,t.borders.fairlyEasy,t.borders.easy)?c.FAIRLY_EASY:(0,o.inRange)(e,t.borders.okay,t.borders.fairlyEasy)?c.OKAY:(0,o.inRange)(e,t.borders.fairlyDifficult,t.borders.okay)?c.FAIRLY_DIFFICULT:(0,o.inRange)(e,t.borders.difficult,t.borders.fairlyDifficult)?c.DIFFICULT:c.VERY_DIFFICULT}(y,d);return{score:y,difficulty:T}};var s=l(r(86812)),n=l(r(55473)),i=l(r(33870)),a=l(r(39617)),o=r(92819);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){return e/t},c=t.DIFFICULTY={NO_DATA:-1,VERY_EASY:0,EASY:1,FAIRLY_EASY:2,OKAY:3,FAIRLY_DIFFICULT:4,DIFFICULT:5,VERY_DIFFICULT:6}},78160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.getKeywordDensity=function(e,t){return console.warn("This function is deprecated, use getKeyphraseDensity instead."),i(e,t)};var s,n=(s=r(60914))&&s.__esModule?s:{default:s};function i(e,t){const r=t.getHelper("getWordsCustomHelper");let s=0;return s=r?r(e.getText()).length:(0,n.default)(e).length,0===s?{density:0,textLength:0}:{density:t.getResearch("getKeyphraseCount").count/s*100,textLength:s}}},45095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.default)(e.getText()),r=(0,n.default)(t),o=e.getPermalink(),l={total:r.length,internalTotal:0,internalDofollow:0,internalNofollow:0,externalTotal:0,externalDofollow:0,externalNofollow:0,otherTotal:0,otherDofollow:0,otherNofollow:0};for(let e=0;e<r.length;e++){const t=r[e],n=(0,i.default)(t,o),a=(0,s.default)(t);l[n+"Total"]++,l[n+a]++}return l};var s=o(r(88782)),n=o(r(30341)),i=o(r(25930)),a=o(r(96908));function o(e){return e&&e.__esModule?e:{default:e}}},901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e.getText());return(0,n.map)(t,i.default.getFromAnchorTag)};var s=a(r(30341)),n=r(92819),i=a(r(20917));function a(e){return e&&e.__esModule?e:{default:e}}},37228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getTree(),a=r.findAll((e=>"p"===e.name)),o=r.findAll((e=>i.test(e.name))),l=t.getConfig("centerClasses");return function(e,t){return e.filter((e=>!!e.attributes.class&&(0,s.intersection)([...e.attributes.class],t).length>0&&e.innerText().length>n))}(a.concat(o),l)};var s=r(92819);const n=50,i=/^h[1-6]$/},72619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getTree().findAll((e=>"p"===e.name)),n=[];return r.forEach((e=>{const r=t.getHelper("customCountLength"),i=e.sentences.map((e=>e.tokens)).flat(),a=r?r(e.innerText()):(0,s.getWordsFromTokens)(i,!1).length;a>0&&n.push({paragraph:e,paragraphLength:a})})),n};var s=r(60914)},41564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getTree().findAll((e=>"p"===e.name));return t=(0,s.reject)(t,(e=>0===e.sentences.length)),t=(0,s.reject)(t,(e=>e.childNodes.every((e=>"a"===e.name)))),t};var s=r(92819)},52364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("passiveConstructionType");return"periphrastic"===r?d(e,t):"morphological"===r?c(e,t):h(e,t)},t.getPeriphrasticPassives=t.getMorphologicalPassives=void 0;var s=u(r(9862)),n=r(62240),i=u(r(18812)),a=r(92819),o=u(r(96908)),l=r(29866);function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t){const r=t.getHelper("isPassiveSentence");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,s.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,f=[];return(0,a.forEach)(d,(function(e){const t=(0,n.stripFullTags)(e.getSentenceText()).toLocaleLowerCase();e.setPassive(r(t)),!0===e.isPassive()&&f.push(e.getSentenceText())})),{total:h,passives:f}};t.getMorphologicalPassives=c;const d=function(e,t){const r=t.getHelper("getClauses");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,s.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,f=[];return(0,a.forEach)(d,(function(e){const t=(0,n.stripFullTags)(e.getSentenceText()).toLocaleLowerCase(),s=r(t);e.setClauses(s),e.isPassive()&&f.push(e.getSentenceText())})),{total:h,passives:f}};t.getPeriphrasticPassives=d;const h=function(e,t){const r=c(e,t),s=d(e,t).passives;return{total:r.total,passives:s.concat(r.passives)}}},18807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=r(85683),i=o(r(85476)),a=o(r(32879));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("customGetStemmer"),l=o?o(t):t.getHelper("getStemmer")(t),u=t.getHelper("getWordsCustomHelper");let c=e.getText();c=(0,i.default)(c),c=(0,a.default)(c);const d=u?[]:(0,n.retrieveAbbreviations)(c),h=(0,n.getProminentWords)(c,d,l,r,u),f=(0,n.collapseProminentWordsOnStem)(h);return(0,n.sortProminentWords)(f),(0,s.take)((0,n.filterProminentWords)(f,5),20)}},58743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=c(r(33870)),i=r(85683),a=r(84285),o=c(r(42992)),l=c(r(85476)),u=c(r(32879));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e){return e=(0,l.default)(e),(0,u.default)(e)};t.default=function(e,t){const r=t.getConfig("functionWords"),l=t.getHelper("customGetStemmer"),u=l?l(t):t.getHelper("getStemmer")(t),c=t.getHelper("getWordsCustomHelper"),h=t.getHelper("customCountLength"),f=d(e.getText()),p=d(e.getDescription()),g=d(e.getTitle()),m={};if(m.hasMetaDescription=""!==p,m.hasTitle=""!==g,m.prominentWords=[],h){if(h(f)<200)return m}else if((0,n.default)(f)<100)return m;const _=(0,a.getSubheadingsTopLevel)(f).map((e=>e[2])),y=[e.getKeyword(),e.getSynonyms(),g,p,_.join(" ")],T=c?[]:(0,i.retrieveAbbreviations)(f.concat(y.join(" "))),E=(0,a.removeSubheadingsTopLevel)(f),v=(0,i.getProminentWords)(E,T,u,r,c),A=(0,i.getProminentWordsFromPaperAttributes)(y,T,u,r,c);A.forEach((e=>e.setOccurrences(3*e.getOccurrences())));const b=(0,i.collapseProminentWordsOnStem)(A.concat(v));(0,i.sortProminentWords)(b);let S=4;return u===o.default&&(S=2),m.prominentWords=(0,s.take)((0,i.filterProminentWords)(b,S),100),m}},93540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=u(r(47793)),n=u(r(54241)),i=r(60914),a=r(59603),o=u(r(46705)),l=r(92819);function u(e){return e&&e.__esModule?e:{default:e}}t.default=(e,t)=>{const r=t.getConfig("firstWordExceptions"),u=t.getConfig("secondWordExceptions"),c=[(0,a.elementHasName)("ol"),(0,a.elementHasName)("ul"),(0,a.elementHasName)("table"),(0,a.elementHasClass)("wp-block-table")];let d=(0,l.cloneDeep)(e.getTree());d=(0,o.default)(d,c);const h=(0,n.default)(d).filter((e=>e.tokens.length>0)),f=h.map((e=>((e,t,r)=>{const n=(0,i.getWordsFromTokens)(e.tokens,!1).filter((e=>" "!==(0,s.default)(e)));if(0===n.length)return"";let a=n[0].toLowerCase();return t.includes(a)&&n.length>1&&(a+=" "+n[1].toLowerCase(),r&&r.includes(n[1])&&(a+=" "+n[2].toLowerCase())),a})(e,r,u)));return((e,t)=>{const r=[];let s=[];return e.forEach(((n,i)=>{const a=e[i+1];s.push(t[i]),n&&n!==a&&(r.push({word:n,count:s.length,sentences:s}),s=[])})),r})(f,h)}},21706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,a.default)(r),r=(0,o.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes);const l=(0,s.default)(r),u=t.getHelper("customCountLength"),c=[];(0,i.forEach)(l,(function(e){c.push({subheading:e.subheading,text:e.text,countLength:u?u(e.text):(0,n.default)(e.text),index:e.index})}));let d=0,h="";if(c.length>0){const e=c[0];h=r.slice(0,e.index),d=u?u(h):(0,n.default)(h)}return d>0&&""!==h&&c.unshift({subheading:"",text:h,countLength:d}),c};var s=l(r(89272)),n=l(r(33870)),i=r(92819),a=l(r(96908)),o=r(29866);function l(e){return e&&e.__esModule?e:{default:e}}},31015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),s=t.getHelper("getStemmer")(t),i=t.getHelper("createBasicWordForms"),l=t.getConfig("language"),f=t.getConfig("areHyphensWordBoundaries"),p=(0,a.default)(e,f).map((e=>e.toLocaleLowerCase(l)));return function(e,t,r,s,i,a,o){const l=(0,n.collectStems)(e,t,i,s,o),f=l.keyphraseStems,p=l.synonymsStems;if(0===f.stemOriginalPairs.length&&0===p.length)return new c;if([f,...p].every((e=>!0===e.exactMatch)))return new c([[f.stemOriginalPairs[0].stem]],p.map((e=>[[e.stemOriginalPairs[0].stem]])));const g=[...new Set(d(f,p))],m=[...new Set(r.filter((e=>!s.includes(e))))].map((e=>new n.StemOriginalPair(i(e),e))).filter((e=>g.includes(e.stem))).sort(((e,t)=>e.stem.localeCompare(t.stem))).reduce((function(e,t){const r=e[e.length-1];return 0===e.length||r.stem!==t.stem?e.push(new u(t.stem,[t.original])):r.forms.push(t.original),e}),[]);return new c(h(f,m,a),p.map((e=>h(e,m,a))))}(e.getKeyword().toLocaleLowerCase(l).trim(),(0,o.default)(e.getSynonyms().toLocaleLowerCase(l).trim()),p,r,s,i,f)};var s=r(37361),n=r(17811),i=r(92819),a=l(r(90831)),o=l(r(73481));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){this.stem=e,this.forms=t}function c(e=[],t=[]){this.keyphraseForms=e,this.synonymsForms=t}function d(e,t){const r=0===e.stemOriginalPairs.length?[]:e.getStems(),s=0===t.length?[]:t.map((e=>e.getStems()));return[...r,...(0,i.flattenDeep)(s)]}function h(e,t,r){return 0===e.stemOriginalPairs.length?[]:e.exactMatch?[[e.stemOriginalPairs[0].stem]]:e.stemOriginalPairs.map((function(e){return function(e,t,r){const n=t.find((t=>t.stem===e.stem)),a=(0,s.normalizeSingle)((0,i.escapeRegExp)(e.original)),o=n?[a,...n.forms]:[a];return r&&o.push(...r(e.original)),[...new Set(o)]}(e,t,r)}))}},31051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.getTree().findAll((e=>"h1"===e.name)).map((e=>({tag:"h1",content:e.findAll((e=>"#text"===e.name)).map((e=>e.value)).join(""),position:{startOffset:e.sourceCodeLocation.startTag.endOffset,endOffset:e.sourceCodeLocation.endTag.startOffset,clientId:e.clientId||""}}))).filter((e=>!!e.content))}},52948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e).length};var s,n=(s=r(92017))&&s.__esModule?s:{default:s}},42299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLongCenterAlignedTexts",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"keyphraseDistribution",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"wordComplexity",{enumerable:!0,get:function(){return n.default}});var s=a(r(37228)),n=a(r(53201)),i=a(r(53127));function a(e){return e&&e.__esModule?e:{default:e}}},53127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maximizeSentenceScores=t.keyphraseDistributionResearcher=t.getDistraction=t.default=t.computeScoresPerSentence=void 0;var s=r(92819),n=g(r(73481)),i=g(r(54241)),a=g(r(82676)),o=g(r(57329)),l=g(r(9862)),u=r(29866),c=r(48024),d=r(10840),h=g(r(96908)),f=g(r(23116)),p=g(r(29003));function g(e){return e&&e.__esModule?e:{default:e}}const m=function(e,t,r,n,i=!1,a,l){return t.map((t=>{const u=e.map((e=>(0,o.default)(t,e,r,a,i,l))),c=u.reduce(((e,{count:t})=>t>0?e+1:e),0),d=(0,s.flattenDeep)(u.map((e=>e.matches))),h=e.length>0?Math.round(c/e.length*100):0;return n&&100===h||!n&&h>=50?{score:9,matches:d}:{score:3,matches:[]}}))};t.computeScoresPerSentence=m;const _=function(e){return e[0].map((function(t,r){return e.map((function(e){return e[r]}))})).map((function(e){return e.reduce(((e,t)=>t.score>e.score?{score:t.score,matches:[...e.matches,...t.matches]}:{score:e.score,matches:[...e.matches,...t.matches]}),{score:-1,matches:[]})}))};t.maximizeSentenceScores=_;const y=function(e){const t=e.length,r=e.map(((e,t)=>e>3?t:-1)).filter((e=>-1!==e));if(0===r.length)return t;const n=[-1,...r,t],i=n.slice(1).map(((e,t)=>e-n[t]-1));return(0,s.max)(i)};t.getDistraction=y;const T=e=>{var t,r;return"li"===(null==e?void 0:e.name)&&!(null!=e&&null!==(t=e.attributes)&&void 0!==t&&null!==(r=t.class)&&void 0!==r&&r.has("schema-how-to-step"))},E=(e,t)=>{const r=new p.default,s=r.getSentenceDelimiters(),n=new RegExp("^[."+s+"]$"),i=e.getLastToken(),a=t.getFirstToken();return n.test(i.text)&&a&&r.isValidSentenceBeginning(a.text[0])},v=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("matchWordCustomHelper"),p=t.getHelper("getContentWords"),g=t.getHelper("wordsCharacterCount"),v=t.getHelper("splitIntoTokensCustom"),A=t.getHelper("memoizedTokenizer"),b=t.getConfig("topicLength").lengthCriteria;let S=[];if(o){let t=e.getText();t=(0,h.default)(t),t=(0,u.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),t=(0,d.mergeListItems)(t),S=(0,l.default)(t,A)}else S=(0,i.default)(e.getTree(),!0),S=(e=>{const t=[...e],r=[];let n=0;for(;n<t.length;){let e=t[n];if(T(e.sentenceParentNode)){let a=e.text,o=[...e.tokens];const l=[e.sentenceParentNode];let u=e.sourceCodeRange.endOffset,c=n+1;for(;c<t.length&&T(null===(i=t[c])||void 0===i?void 0:i.sentenceParentNode)&&!E(e,t[c]);){var i;a+=" "+t[c].text,o=[...o,...t[c].tokens],l.push(t[c].sentenceParentNode),u=t[c].sourceCodeRange.endOffset,e=t[c],c++}const d=(0,s.cloneDeep)(t[n]);d.text=a,d.tokens=o,d.sentenceParentNode=l,d.sourceCodeRange.endOffset=u,r.push(d),n=c}else r.push(e),n++}return r})(S);const O=t.getResearch("morphology"),C=[];p&&(C.push(p(e.getKeyword())),(0,n.default)(e.getSynonyms()).forEach((e=>C.push(p(e)))));const w=e.getLocale(),I=(0,f.default)(e.getKeyword()),N=[O.keyphraseForms];O.synonymsForms.forEach((function(e){N.push(e)}));const{maximizedSentenceScores:k,sentencesToHighlight:P}=function(e,t,r,s,n,i=4,o,l,u,d){const h=s.length>0,f=t.map(((t,s)=>{if(!h)return m(t,e,r,!0,d,n,u);const a=l?l(o[s]):t.length;return m(t,e,r,a<i,d,n,u)})),p=_(f),g=e.map(((e,t)=>{const{score:r,matches:s}=p[t];return{sentence:e,score:r,matches:s}})).filter((e=>e.score>3)).map((({sentence:e,matches:t})=>n?(0,c.markWordsInASentence)(e,t,n):(0,a.default)(e,t,!0)));return{maximizedSentenceScores:p.map((e=>e.score)),sentencesToHighlight:g}}(S,N,w,r,o,b,C,g,v,I),L=((e,t)=>e>=15?y(t)/e*100:t.includes(9)?10:100)(S.length,k);return{sentencesToHighlight:(0,s.flattenDeep)(P),keyphraseDistractionPercentage:L}};t.keyphraseDistributionResearcher=v,t.default=v},57419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("morphology"),s=t.getConfig("functionWords");return{keyphraseLength:r.keyphraseForms.length,functionWords:s}}},82242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.countKeyphraseInText=f,t.default=p,t.keywordCount=function(e,t){return console.warn("This function is deprecated, use getKeyphraseCount instead."),p(e,t)};var s=r(92819),n=h(r(54241)),i=r(37361),a=h(r(82676)),o=h(r(57329)),l=h(r(23116)),u=r(48024),c=h(r(9862)),d=r(29866);function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r,n,i,l){const c={count:0,markings:[]};return e.forEach((e=>{const d=t.map((t=>(0,o.default)(e,t,r,n,i,l)));if(d.every((e=>e.count>0))){const t=d.map((e=>e.count)),r=Math.min(...t),i=(0,s.flattenDeep)(d.map((e=>e.matches)));let o=[];o=n?(0,u.markWordsInASentence)(e,i,n):(0,a.default)(e,i),c.count+=r,c.markings.push(o)}})),c}function p(e,t){const r={count:0,markings:[],keyphraseLength:0};let a=t.getResearch("morphology").keyphraseForms;const o=a.length;if(a=a.map((e=>e.map((e=>(0,i.normalizeSingle)(e))))),0===o)return r;const u=t.getHelper("matchWordCustomHelper"),h=t.getHelper("memoizedTokenizer"),p=t.getHelper("splitIntoTokensCustom"),g=e.getLocale(),m=u?(0,d.filterShortcodesFromHTML)(e.getText(),e._attributes&&e._attributes.shortcodes):e.getText(),_=f(u?(0,c.default)(m,h):(0,n.default)(e.getTree()),a,g,u,(0,l.default)(e.getKeyword()),p);return r.count=_.count,r.markings=(0,s.flatten)(_.markings),r.keyphraseLength=o,r}},74066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.keywordCountInSlug=o,t.keywordCountInUrl=function(e,t){return console.warn("This function is deprecated, use keywordCountInSlug instead."),o(e,t)};var s,n=(s=r(84159))&&s.__esModule?s:{default:s},i=r(36478),a=r(92819);function o(e,t){const r=(0,a.cloneDeep)(t);r.addConfig("areHyphensWordBoundaries",!0);const s=r.getResearch("morphology"),o=(0,n.default)(e.getSlug()),l=e.getLocale(),u=(0,i.findTopicFormsInString)(s,o,!1,l,!1);return{keyphraseLength:s.keyphraseForms.length,percentWordMatches:u.percentWordMatches}}t.default=o},72286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),i=t.getHelper("matchWordCustomHelper"),u=t.getHelper("customCountLength");let d=e.getText();d=(0,a.default)(d),d=(0,o.filterShortcodesFromHTML)(d,e._attributes&&e._attributes.shortcodes),d=(0,n.default)(d);const h=t.getResearch("morphology"),f=e.getLocale(),p={count:0,matches:0,percentReflectingTopic:0,text:d,textLength:u?u(d):(0,l.default)(d).length},g=(0,s.getSubheadingContentsTopLevel)(d);return 0!==g.length&&(p.count=g.length,p.matches=c(h,g,!0,f,r,i),p.percentReflectingTopic=p.matches/p.count*100),p};var s=r(84285),n=u(r(57719)),i=r(36478),a=u(r(96908)),o=r(29866),l=u(r(1105));function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t,r,s,n,a){return t.filter((t=>{const o=(0,i.findTopicFormsInString)(e,t,r,s,a);return 0===n.length?100===o.percentWordMatches:o.percentWordMatches>50})).length}},90497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getDescription(),s=e.getLocale(),i=t.getResearch("morphology"),a=t.getHelper("matchWordCustomHelper"),l=t.getHelper("memoizedTokenizer");return(0,n.default)(r,l).map((e=>o(e,i,s,a))).reduce(((e,t)=>e+t),0)};var s=i(r(7407)),n=i(r(9862));function i(e){return e&&e.__esModule?e:{default:e}}const a=function(e,t,r){return t.forEach((t=>t.matches.slice(0,r).forEach((t=>{e=e.replace(t,"")})))),e},o=function(e,t,r,n){const i=t.keyphraseForms.map((t=>(0,s.default)(e,t,r,n))),o=Math.min(...i.map((e=>e.count)));return e=a(e,i,o),[o,...t.synonymsForms.map((t=>{const o=t.map((t=>(0,s.default)(e,t,r,n))),l=Math.min(...o.map((e=>e.count)));return e=a(e,i,l),l}))].reduce(((e,t)=>e+t),0)}},96458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e.getDate(),e.getDescription())};var s,n=(s=r(40231))&&s.__esModule?s:{default:s}},33035:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.hasTitle()?e.getTitleWidth():0}},48799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(e.getLocale()),a=t.getHelper("getWordsCustomHelper"),o=t.getHelper("wordsCharacterCount"),l={ar:138,cn:158,de:179,en:228,es:218,fi:161,fr:195,he:187,it:188,nl:202,pl:166,pt:181,ru:184,sl:180,sv:199,tr:166},u=l[r],c={ja:357}[r];let d,h=(0,n.default)(e).count;c?(h=o(a(e.getText())),d=h/c):d=u?h/u:h/(Object.values(l).reduce(((e,t)=>e+t))/Object.keys(l).length);const f=(0,i.default)(e);return Math.ceil(d+.2*f)};var s=a(r(67404)),n=a(r(44518)),i=a(r(52948));function a(e){return e&&e.__esModule?e:{default:e}}},25969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let a=e.getText();return a=(0,n.default)(a),a=(0,i.filterShortcodesFromHTML)(a,e._attributes&&e._attributes.shortcodes),(0,s.default)(a,r)};var s=a(r(9862)),n=a(r(96908)),i=r(29866);function a(e){return e&&e.__esModule?e:{default:e}}},99074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=new RegExp("(<video).*?(</video>)","igs");let r=e.getText().match(t);return null===r&&(r=[]),r.length}},53201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let s=e.getText();s=(0,a.default)(s),s=(0,o.filterShortcodesFromHTML)(s,e._attributes&&e._attributes.shortcodes);const l=(0,n.default)(s,r),u=t.getResearch("morphology");let h=l.map((e=>c(e,t,u)));h=h.filter((e=>0!==e.complexWords.length));const f=(0,i.default)(s);return{complexWords:h,percentage:d(h,f)}};var s=r(92819),n=u(r(9862)),i=u(r(1105)),a=u(r(96908)),o=r(29866),l=r(36478);function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t,r){const n=t.getConfig("language"),a=t.getHelper("checkIfWordIsComplex"),o=t.getConfig("functionWords"),u=t.getConfig("wordComplexity"),c=t.getHelper("checkIfWordIsFunction"),d=(0,s.get)(t.getData("morphology"),n,!1);let h=(0,i.default)(e);const f=t.getHelper("matchWordCustomHelper"),p=(0,l.findTopicFormsInString)(r,e,!1,t.paper.getLocale(),f);h=h.filter((e=>!p.matches.includes(e))),h=h.filter((e=>!(c?c(e):o.includes(e))));const g={complexWords:[],sentence:e};return d?(h.forEach((e=>{a(u,e,d)&&g.complexWords.push(e)})),g):g},d=function(e,t){return 0===t.length?0:+((0,s.flatMap)(e,(e=>e.complexWords)).length/t.length*100).toFixed(2)}},44518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getText();const r=i.IGNORED_CLASSES.filter((e=>"yoast-ai-summarize"!==e));return t=(0,i.default)(t,r),t=(0,a.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),{text:t,count:(0,n.default)(t),unit:"word"}};var s,n=(s=r(33870))&&s.__esModule?s:{default:s},i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}(r(96908)),a=r(29866);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}},83937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t){this._clauseText=e,this._auxiliaries=t,this._isPassive=!1,this._participles=[]}getClauseText(){return this._clauseText}isPassive(){return this._isPassive}getAuxiliaries(){return this._auxiliaries}setPassive(e){this._isPassive=e}setParticiples(e){this._participles=e}getParticiples(){return this._participles}serialize(){return{_parseClass:"Clause",clauseText:this._clauseText,auxiliaries:this._auxiliaries,isPassive:this._isPassive,participles:this._participles}}static parse(e){const t=new r(e.clauseText,e.auxiliaries);return t.setPassive(e.isPassive),t}}t.default=r},4446:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t,r){this._word=e,this._stem=t||e,this._occurrences=r||0}setWord(e){this._word=e}getWord(){return this._word}getStem(){return this._stem}setOccurrences(e){this._occurrences=e}getOccurrences(){return this._occurrences}serialize(){return{_parseClass:"ProminentWord",word:this._word,stem:this._stem,occurrences:this._occurrences}}static parse(e){return new r(e.word,e.stem,e.occurrences)}}t.default=r},18812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e){this._sentenceText=e||"",this._isPassive=!1,this._clauses=[]}getSentenceText(){return this._sentenceText}isPassive(){return this._isPassive}setPassive(e){this._isPassive=e}getClauses(){return this._clauses}setClauses(e){this._clauses=e,this.setSentencePassiveness()}setSentencePassiveness(){const e=this.getClauses().filter((e=>!0===e.isPassive()));this.setPassive(e.length>0)}serialize(){return{_parseClass:"Sentence",sentenceText:this._sentenceText,isPassive:this._isPassive,clauses:this._clauses}}static parse(e){const t=new r(e.sentenceText);return t.setClauses(e.clauses),t.setPassive(e.isPassive),t}}t.default=r},62390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Clause",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ProminentWord",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Sentence",{enumerable:!0,get:function(){return i.default}});var s=a(r(83937)),n=a(r(4446)),i=a(r(18812));function a(e){return e&&e.__esModule?e:{default:e}}},15010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"<yoastmark class='yoast-text-mark'>"+e+"</yoastmark>"}},5262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.stripWordBoundariesStart)(e);let r="",i="";if(t!==e){const s=e.search((0,n.escapeRegExp)(t));r=e.substring(0,s)}const a=(0,s.stripWordBoundariesEnd)(t);if(a!==t){const e=t.search((0,n.escapeRegExp)(a))+a.length;i=t.substring(e)}return r+"<yoastmark class='yoast-text-mark'>"+a+"</yoastmark>"+i};var s=r(52731),n=r(92819)},84476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addMark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"removeMarks",{enumerable:!0,get:function(){return s.default}});var s=i(r(78970)),n=i(r(15010));function i(e){return e&&e.__esModule?e:{default:e}}},52505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);t.default=function(e){return e&&(0===e.length||e[0].hasPosition())?e:(0,s.uniqBy)(e,(function(e){return e.getOriginal()}))}},78970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(new RegExp("<yoastmark[^>]*>","g"),"").replace(new RegExp("</yoastmark>","g"),"")}},87908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let h=e.getText();h=h.replace(d.htmlEntitiesRegex,"#$1");let f=(0,n.default)((0,s.parseFragment)(h,{sourceCodeLocationInfo:!0}));return f.childNodes&&f.childNodes.length>0&&(0,u.default)(e,f),f=(0,l.filterBeforeTokenizing)(f),f=(0,i.default)(f,t),r&&(0,c.default)(f,r),(0,a.default)(f,o.default)};var s=r(52225),n=h(r(70734)),i=h(r(63596)),a=h(r(46705)),o=h(r(67929)),l=r(12045),u=h(r(85990)),c=h(r(24533)),d=r(33888);function h(e){return e&&e.__esModule?e:{default:e}}},7104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return n.default}});var s,n=(s=r(87908))&&s.__esModule?s:{default:s}},70734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if("#text"===t.nodeName)return new o.Text(t);let r=[],l=!1;(0,a.isEmpty)(t.childNodes)||(r=t.childNodes.map(e),function(e){return!(u(e)||(0,i.default)(e)||c(e))}(t.nodeName)&&(r=(0,s.default)(r,t.sourceCodeLocation)),function(e,t){return u(e)&&t.some(((e,t,r)=>{const s=r.length-1!==t&&r[t+1];return"br"===e.name&&s&&"br"===s.name}))}(t.nodeName,r)&&(l=!0,r=(0,s.default)(r,t.sourceCodeLocation)));const d=(0,n.default)(t.attrs);if(u(t.nodeName))return new o.Paragraph(d,r,t.sourceCodeLocation,!1,l);if(c(t.nodeName)){const e=parseInt(t.nodeName[1],10);return new o.Heading(e,d,r,t.sourceCodeLocation)}return new o.Node(t.nodeName,d,r,t.sourceCodeLocation)};var s=l(r(38884)),n=l(r(54637)),i=l(r(33319)),a=r(92819),o=r(67330);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return"p"===e}function c(e){return["h1","h2","h3","h4","h5","h6"].includes(e)}},54637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(90666))&&s.__esModule?s:{default:s};t.default=function(e){if(!e)return{};const t={};return e.forEach((({name:e,value:r})=>{"class"===e&&(r=(0,n.default)(r)),t[e]=r})),t}},67929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.canBeChildOfParagraph=void 0;var s=r(59603);t.canBeChildOfParagraph=["code","kbd","math","q","samp","script","var","#comment","cite","form","map","noscript","output"];const n=[(0,s.elementHasClass)("yoast-table-of-contents"),(0,s.elementHasClass)("yoast-reading-time__wrapper"),(0,s.elementHasClass)("yoast-ai-summarize"),(0,s.elementHasID)("breadcrumbs"),(0,s.elementHasClass)("elementor-button-wrapper"),(0,s.elementHasClass)("elementor-divider"),(0,s.elementHasClass)("elementor-spacer"),(0,s.elementHasClass)("elementor-custom-embed"),(0,s.elementHasClass)("elementor-icon-wrapper"),(0,s.elementHasClass)("elementor-icon-box-wrapper"),(0,s.elementHasClass)("elementor-counter"),(0,s.elementHasClass)("elementor-progress-wrapper"),(0,s.elementHasClass)("elementor-title"),(0,s.elementHasClass)("elementor-alert"),(0,s.elementHasClass)("elementor-soundcloud-wrapper"),(0,s.elementHasClass)("elementor-shortcode"),(0,s.elementHasClass)("elementor-menu-anchor"),(0,s.elementHasClass)("e-rating"),(0,s.elementHasName)("base"),(0,s.elementHasName)("blockquote"),(0,s.elementHasName)("canvas"),(0,s.elementHasName)("code"),(0,s.elementHasName)("head"),(0,s.elementHasName)("iframe"),(0,s.elementHasName)("input"),(0,s.elementHasName)("kbd"),(0,s.elementHasName)("link"),(0,s.elementHasName)("math"),(0,s.elementHasName)("meta"),(0,s.elementHasName)("meter"),(0,s.elementHasName)("noscript"),(0,s.elementHasName)("object"),(0,s.elementHasName)("portal"),(0,s.elementHasName)("pre"),(0,s.elementHasName)("progress"),(0,s.elementHasName)("q"),(0,s.elementHasName)("samp"),(0,s.elementHasName)("script"),(0,s.elementHasName)("slot"),(0,s.elementHasName)("style"),(0,s.elementHasName)("svg"),(0,s.elementHasName)("template"),(0,s.elementHasName)("textarea"),(0,s.elementHasName)("title"),(0,s.elementHasName)("var"),(0,s.elementHasName)("#comment"),(0,s.elementHasName)("cite"),(0,s.elementHasName)("form"),(0,s.elementHasName)("map"),(0,s.elementHasName)("noscript"),(0,s.elementHasName)("output")];t.default=n},38884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(33319)),n=r(67330),i=r(92819),a=o(r(42036));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return e&&e.childNodes.length>0}const u=e=>{const[t]=e.childNodes.slice(0),[r]=e.childNodes.slice(-1);if((t.sourceCodeRange||t.sourceCodeLocation)&&(r.sourceCodeRange||r.sourceCodeLocation)){const s=t.sourceCodeRange?t.sourceCodeRange.startOffset:t.sourceCodeLocation.startOffset,n=r.sourceCodeRange?r.sourceCodeRange.endOffset:r.sourceCodeLocation.endOffset;e.sourceCodeLocation=new a.default({startOffset:s,endOffset:n})}};t.default=function(e,t={}){const r=[];let o={};if((0,i.isEmpty)(t)){const t=e[0],r=e[e.length-1];t&&r&&t.sourceCodeLocation&&r.sourceCodeLocation&&(o=new a.default({startOffset:t.sourceCodeLocation.startOffset,endOffset:r.sourceCodeLocation.endOffset}))}else o=new a.default({startOffset:t.startTag?t.startTag.endOffset:t.startOffset,endOffset:t.endTag?t.endTag.startOffset:t.endOffset});let c=n.Paragraph.createImplicit({},[],o);return e.forEach(((e,t,i)=>{const a=0!==t&&i[t-1],d=i.length-1!==t&&i[t+1];!(0,s.default)(e.name)||function(e){return"#text"===e.name&&e.value&&e.value.match(/^[\n\s]+$/g)}(e)||((e,t,r)=>{const s=t&&"br"===t.name,n=r&&"br"===r.name;return"br"===e.name&&(s||n)})(e,a,d)?(l(c)&&(u(c),e.sourceCodeLocation&&(o.startOffset=e.sourceCodeLocation.endOffset),r.push(c),c=n.Paragraph.createImplicit({},[],o)),r.push(e)):c.childNodes.push(e)})),l(c)&&(u(c),r.push(c)),r}},12045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterBeforeTokenizing=function e(t){return n.canBeChildOfParagraph.includes(t.name)&&(t.childNodes=[]),(0,s.isEmpty)(t.childNodes)||t.childNodes.map(e),t};var s=r(92819),n=r(67929)},59603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementHasClass=function(e){return t=>!!t.attributes.class&&t.attributes.class.has(e)},t.elementHasID=function(e){return t=>t.attributes.id===e},t.elementHasName=function(e){return t=>t.name===e}},46705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if(!(function(e,t){return"#text"!==e.name&&t.some((t=>t(e)))}(t,r)||t.childNodes&&(t.childNodes=t.childNodes.filter((t=>e(t,r))),0===t.childNodes.length&&t instanceof s.Paragraph&&t.isImplicit)))return t};var s=r(67330)},25397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=-1){if(0===t.length||!e.sourceCodeLocation)return t;let s,a=r>=0?r:i(e),o=[];if(e.findAll){const t=e.findAll((e=>e.sourceCodeLocation),!0);t.length>0&&(o=function(e){const t=[];return e.forEach((e=>{if(n.canBeChildOfParagraph.includes(e.name))t.push(e.sourceCodeLocation);else{if(e.sourceCodeLocation.startTag){const r={startOffset:e.sourceCodeLocation.startTag.startOffset,endOffset:e.sourceCodeLocation.startTag.endOffset};"br"===e.name&&(r.endOffset=r.endOffset-1),t.push(r)}e.sourceCodeLocation.endTag&&t.push(e.sourceCodeLocation.endTag)}})),t.sort(((e,t)=>e.startOffset-t.startOffset)),t}(t))}return t.forEach((e=>{s=a+e.text.length,o.length>0&&(s=function(e,t,r){return e.forEach((e=>{e.startOffset>=t&&e.startOffset<r&&(r+=e.endOffset-e.startOffset)})),r}(o,a,s),a=function(e,t){return e.forEach((e=>{e.startOffset===t&&(t+=e.endOffset-e.startOffset)})),t}(o,a)),e.sourceCodeRange={startOffset:a,endOffset:s},a=s})),t};var s=r(67330),n=r(67929);const i=e=>e instanceof s.Paragraph&&e.isImplicit?e.sourceCodeLocation.startOffset:e.sourceCodeLocation.startTag.endOffset},90666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Set(e.split(" "))}},33319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"];t.default=function(e){return r.includes(e)||"#text"===e}},85990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e._attributes.wpBlocks||[];n.lastIndex=0,a(r,e.getText());o(t,i(e),void 0)},t.updateBlocksOffset=a;var s=r(92819);const n=/<!--\s+wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g,i=e=>{const t=e._attributes.wpBlocks,r=[];return t&&t.length>0?(t.forEach((e=>{if(e.innerBlocks.length>0){const t=e.innerBlocks;r.push(e,...t)}else r.push(e)})),r):[]};function a(e,t){0!==e.length&&e.forEach(((r,s)=>{const i=n.exec(t);if("core/freeform"===r.name){const t=e[s-1];if(t){const e=t.endOffset+2;r.startOffset=e,r.endOffset=e+r.blockLength,r.contentOffset=e}else r.startOffset=0,r.endOffset=0+r.blockLength,r.contentOffset=0}else{if(null===i)return;const[e]=i,t=i.index,s=e.length;r.startOffset=t,r.endOffset=t+r.blockLength,r.contentOffset=t+s+1}r.innerBlocks&&r.innerBlocks.length>0&&a(r.innerBlocks,t)}))}function o(e,t,r){if(!e)return;let n=r;if(e.sourceCodeLocation&&!(0,s.isUndefined)(e.sourceCodeLocation.startOffset)){const r=t.find((t=>t.contentOffset===e.sourceCodeLocation.startOffset));r&&(n=r.clientId)}n&&(e.clientId=n),(e.childNodes||[]).forEach((e=>{e.attributes&&e.attributes.id&&e.childNodes&&e.childNodes.length>3&&(e.childNodes[0].attributeId=e.attributes.id,e.childNodes[0].isFirstSection=!0,e.childNodes[2].attributeId=e.attributes.id,e.childNodes[2].isFirstSection=!1),o(e,t,n)}))}},63596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(67330),i=(s=r(25397))&&s.__esModule?s:{default:s},a=r(33888);t.default=function e(t,r){return(t instanceof n.Paragraph&&"p-overarching"!==t.name||t instanceof n.Heading)&&(t.sentences=function(e,t){let r=t.splitIntoSentences(e.innerText());return r=(0,i.default)(e,r),r.map((r=>(r=function(e,t,r){return t.tokens=r.splitIntoTokens(t),t.tokens=(0,i.default)(e,t.tokens,t.sourceCodeRange.startOffset),t}(e,r,t),a.hashedHtmlEntities.forEach(((e,t)=>{const s=new RegExp(t,"g");r.text=r.text.replace(s,e),r.tokens.map((t=>(t.text=t.text.replace(s,e),t)))})),r)))}(t,r)),t.childNodes&&(t.childNodes=t.childNodes.map((t=>e(t,r)))),t}},49781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(99286)),n=a(r(82615)),i=a(r(7337));function a(e){return e&&e.__esModule?e:{default:e}}const o=/^\s+$/;t.default=class{constructor(e){this.researcher=e}splitIntoSentences(e){const t=this.researcher.getHelper("memoizedTokenizer")(e,!1);return o.test(t[t.length-1])&&t.pop(),t.map((function(e){return new s.default(e)}))}splitIntoTokens(e){const t=e.text,r=this.researcher.getHelper("splitIntoTokensCustom");return r?r(t).map((e=>new n.default(e))):(0,i.default)(t).map((e=>new n.default(e)))}}},71927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(81056))&&s.__esModule?s:{default:s};class i extends n.default{constructor(e,t={},r=[],s={}){super(`h${e}`,t,r,s),this.level=e}}t.default=i},81056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(93078),i=(s=r(42036))&&s.__esModule?s:{default:s},a=r(92819);t.default=class{constructor(e,t={},r=[],s={}){this.name=e,this.attributes=t,this.childNodes=r,(0,a.isEmpty)(s)||(this.sourceCodeLocation=new i.default(s))}findAll(e,t=!1){return(0,n.findAllInTree)(this,e,t)}getParentNode(e){return(0,n.getParentNode)(e,this)}innerText(){return(0,n.innerText)(this)}getStartOffset(){var e,t,r;return(null===(e=this.sourceCodeLocation)||void 0===e||null===(t=e.startTag)||void 0===t?void 0:t.endOffset)||(null===(r=this.sourceCodeLocation)||void 0===r?void 0:r.startOffset)||0}}},66741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(81056))&&s.__esModule?s:{default:s};class i extends n.default{constructor(e={},t=[],r={},s=!1,n=!1){super(n?"p-overarching":"p",e,t,r),this.isImplicit=s}static createImplicit(e={},t=[],r={}){return new i(e,t,r,!0)}}t.default=i},99286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){this.text=e,this.tokens=[],this.sourceCodeRange={}}getFirstToken(){return this.tokens.find((({text:e})=>" "!==e))}getLastToken(){return this.tokens.findLast((({text:e})=>" "!==e))}setParentAttributes(e,t,r=!1){const s=e;e.isImplicit&&(e=e.getParentNode(t)),r&&(this.sentenceParentNode=e),this.parentStartOffset=e.getStartOffset(),this.parentClientId=e.clientId||"",this.parentAttributeId=s.attributeId||"",this.isParentFirstSectionOfBlock=s.isFirstSection||!1}}},42036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){e.startTag&&(this.startTag={startOffset:e.startTag.startOffset,endOffset:e.startTag.endOffset}),e.endTag&&(this.endTag={startOffset:e.endTag.startOffset,endOffset:e.endTag.endOffset}),this.startOffset=e.startOffset,this.endOffset=e.endOffset}}},76342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(42036))&&s.__esModule?s:{default:s};t.default=class{constructor(e){this.name="#text",this.value=e.value,this.sourceCodeRange=new n.default({startOffset:e.sourceCodeLocation.startOffset,endOffset:e.sourceCodeLocation.endOffset})}}},82615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(58677);t.default=class{constructor(e,t={}){this.text=(0,s.normalizeSingle)(e),this.sourceCodeRange=t}}},67330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.default}});var s=o(r(81056)),n=o(r(71927)),i=o(r(66741)),a=o(r(76342));function o(e){return e&&e.__esModule?e:{default:e}}},45613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,s=!1){const n=[];return t.childNodes?(t.childNodes.forEach((t=>{r(t)?(n.push(t),s&&n.push(...e(t,r,s))):n.push(...e(t,r,s))})),n):n}},96531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.findAll((e=>{var r;return null===(r=e.childNodes)||void 0===r?void 0:r.includes(t)}))[0]||t}},93078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findAllInTree",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getParentNode",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"innerText",{enumerable:!0,get:function(){return i.default}});var s=a(r(45613)),n=a(r(96531)),i=a(r(41225));function a(e){return e&&e.__esModule?e:{default:e}}},41225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let r="";return(0,s.isEmpty)(t.childNodes)||t.childNodes.forEach((t=>{"#text"===t.name?r+=t.value:"br"===t.name?r+="\n":r+=e(t)})),r};var s=r(92819)},20019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(92819),i=(s=r(62887))&&s.__esModule?s:{default:s};t.default=class{constructor(e){this.app=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this.customTests=[],setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return"string"!=typeof e?(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1):(0,n.isUndefined)(t)||"object"==typeof t?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1)}_ready(e){return"string"!=typeof e?(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1):(0,n.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0)}_reloaded(e){return"string"!=typeof e?(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1):(0,n.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.app.refresh(),!0)}_registerModification(e,t,r,s){if("string"!=typeof e)return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if("function"!=typeof t)return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if("string"!=typeof r)return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;const i={callable:t,origin:r,priority:"number"==typeof s?s:10};return(0,n.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerTest(){console.error("This function is deprecated, please use _registerAssessment")}_registerAssessment(e,t,r,s){if(!(0,n.isString)(t))throw new i.default("Failed to register test for plugin "+s+". Expected parameter `name` to be a string.");if(!(0,n.isObject)(r))throw new i.default("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function.");if(!(0,n.isString)(s))throw new i.default("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string.");return t=s+"-"+t,e.addAssessment(t,r),!0}_pollLoadingPlugins(e){e=(0,n.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.app.pluginsLoaded()):e>=this.preloadThreshold?this._pollTimeExceeded():(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,n.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,n.forEach)(this.plugins,(function(e,t){(0,n.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})),this.loaded=!0,this.app.pluginsLoaded()}_applyModifications(e,t,r){let s=this.modifications[e];return s instanceof Array&&s.length>0&&(s=this._stripIllegalModifications(s),s.sort((function(e,t){return e.priority-t.priority})),(0,n.forEach)(s,(function(s){const n=(0,s.callable)(t,r);typeof n==typeof t?t=n:console.error("Modification with name "+e+" performed by plugin with name "+s.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_addPluginTests(e){this.customTests.map((function(t){this._addPluginTest(e,t)}),this)}_addPluginTest(e,t){e.addAnalysis({name:t.name,callable:t.analysis}),e.analyzeScorer.addScoring({name:t.name,scoring:t.scoring})}_stripIllegalModifications(e){return(0,n.forEach)(e,function(t,r){!1===this._validateOrigin(t.origin)&&delete e[r]}.bind(this)),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,n.isUndefined)(this.plugins[e])}}},9017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(58677),i=r(29866);t.default=class{getResult(e,t){throw"The method getResult is not implemented"}isApplicable(e,t){return!0}hasEnoughContentForAssessment(e,t=50){let r=e.getText();return r=(0,i.removeHtmlBlocks)(r),r=(0,i.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes),(0,n.sanitizeString)(r).length>=t}formatResultText(e,t,r){return(0,s.sprintf)(e,t,r,"</a>")}}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=d(r(73054)),a=d(r(41054)),o=d(r(15010)),l=r(49061),u=r(58677),c=r(88626);function d(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor({identifier:e,nonInclusivePhrases:t,inclusiveAlternatives:r,score:s,feedbackFormat:i,learnMoreUrl:a,rule:o,ruleDescription:u,caseSensitive:d,category:h}){this.identifier=e,this.nonInclusivePhrases=t,this.inclusiveAlternatives=r,(0,n.isString)(this.inclusiveAlternatives)&&(this.inclusiveAlternatives=[this.inclusiveAlternatives]),this.score=s,this.feedbackFormat=i,this.learnMoreUrl=(0,l.createAnchorOpeningTag)(a),this.rule=o||c.includesConsecutiveWords,this.ruleDescription=u,this.caseSensitive=d||!1,this.category=h}isApplicable(e,t){const r=t.getResearch("sentences"),s=e.getTextTitle();return r.push(s),this.foundPhrases=[],r.forEach((e=>{let t=(0,u.getWords)(e,"\\s",!1);this.caseSensitive||(t=t.map((e=>e.toLocaleLowerCase())));const r=this.nonInclusivePhrases.find((e=>this.rule(t,(0,u.getWords)(e,"\\s",!1)).length>=1));r&&this.foundPhrases.push({sentence:e,phrase:r})})),this.foundPhrases.length>=1}getResult(){const e=(0,s.sprintf)("%1$sLearn more.%2$s",this.learnMoreUrl,"</a>"),t=(0,s.sprintf)(this.feedbackFormat,this.foundPhrases[0].phrase,...this.inclusiveAlternatives),r=new i.default({score:this.score,text:`${t} ${e}`});return r.setIdentifier(this.identifier),r.setHasMarks(!0),r}getMarks(){return this.foundPhrases?this.foundPhrases.map((e=>new a.default({original:e.sentence,marked:(0,o.default)(e.sentence)}))):[]}}},46176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(78261),i=r(35946),a=r(17864),o=r(64948),l=r(88626),u=r(28045),c=(s=r(77965))&&s.__esModule?s:{default:s},d=r(29700);const h=[{identifier:"seniorCitizen",nonInclusivePhrases:["senior citizen"],inclusiveAlternatives:["<i>older person, older citizen</i>","<i>person older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"seniorCitizens",nonInclusivePhrases:["senior citizens"],inclusiveAlternatives:["<i>older people, older citizens</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"agingDependants",nonInclusivePhrases:["aging dependants"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"elderly",nonInclusivePhrases:["elderly"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"senile",nonInclusivePhrases:["senile"],inclusiveAlternatives:"a specific characteristic or experience if it is known (e.g. <i>has Alzheimer's</i>)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"senility",nonInclusivePhrases:["senility"],inclusiveAlternatives:"<i>dementia</i>",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"seniors",nonInclusivePhrases:["seniors"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["high school","college","graduating","juniors and"])).filter((0,o.isNotFollowedByException)(e,t,["in high school","in college","who are graduating"])),ruleDescription:(0,d.notPrecededAndNotFollowed)(["high school","college","graduating","juniors and"],["in high school","in college","who are graduating"])},{identifier:"theAged",nonInclusivePhrases:["the aged"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:[n.redHarmful,i.specificAgeGroup].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t)),ruleDescription:d.nonInclusiveWhenStandalone}];h.forEach((e=>{e.category="age",e.learnMoreUrl="https://yoa.st/inclusive-language-age"})),t.default=h},9214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(78261),i=r(28045),a=r(88626),o=(s=r(77965))&&s.__esModule?s:{default:s},l=r(29700);const u=[{identifier:"albinos",nonInclusivePhrases:["albinos"],inclusiveAlternatives:"<i>people with albinism, albino people</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"anAlbino",nonInclusivePhrases:["an albino"],inclusiveAlternatives:"<i>person with albinism, albino person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t)),ruleDescription:l.nonInclusiveWhenStandalone},{identifier:"obese",nonInclusivePhrases:["obese","overweight"],inclusiveAlternatives:"<i>has a higher weight, higher-weight person, person in higher weight body, heavier person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,n.preferredDescriptorIfKnown].join(" ")},{identifier:"obesitySingular",nonInclusivePhrases:["person with obesity","fat person"],inclusiveAlternatives:"<i>person who has a higher weight, higher-weight person, person in higher weight body, heavier person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,n.preferredDescriptorIfKnown].join(" ")},{identifier:"obesityPlural",nonInclusivePhrases:["people with obesity","fat people"],inclusiveAlternatives:"<i>people who have a higher weight, higher-weight people, people in higher weight bodies, heavier people</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants].join(" ")},{identifier:"verticallyChallenged",nonInclusivePhrases:["vertically challenged"],inclusiveAlternatives:"<i>little person, has short stature, someone with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"midget",nonInclusivePhrases:["midget"],inclusiveAlternatives:"<i>little person, has short stature, someone with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"midgets",nonInclusivePhrases:["midgets"],inclusiveAlternatives:"<i>little people, have short stature, people with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"harelip",nonInclusivePhrases:["harelip"],inclusiveAlternatives:"<i>cleft lip, cleft palate</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful}];u.forEach((e=>{e.category="appearance",e.learnMoreUrl="https://yoa.st/inclusive-language-appearance"})),t.default=u},20117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(28045),n=r(88626),i=r(64948),a=r(78261),o=r(38362),l=r(29700);const u=[{identifier:"firstWorld",nonInclusivePhrases:["First World"],inclusiveAlternatives:"the specific name for the region or country",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0,rule:(e,t)=>(0,n.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Assembly","assembly"])),ruleDescription:(0,l.notFollowed)(["War","war","Assembly","assembly"])},{identifier:"thirdWorld",nonInclusivePhrases:["Third World"],inclusiveAlternatives:"the specific name for the region or country",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0,rule:(e,t)=>(0,n.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Quarterly","quarterly","country"])),ruleDescription:(0,l.notFollowed)(["War","war","Quarterly","quarterly","country"])},{identifier:"tribe",nonInclusivePhrases:["tribe"],inclusiveAlternatives:"<i>group, cohort, crew, league, guild, team, union</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureUsesTerm},{identifier:"tribes",nonInclusivePhrases:["tribes"],inclusiveAlternatives:"<i>groups, cohorts, crews, leagues, guilds, teams, unions</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureUsesTerm},{identifier:"exotic",nonInclusivePhrases:["exotic"],inclusiveAlternatives:"<i>unfamiliar, foreign, peculiar, fascinating, alluring, bizarre, non-native, introduced</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.beCarefulHarmful+" Unless you are referring to animals or scientific terms, consider using an alternative, such as %2$s.",rule:(e,t)=>(0,n.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["longhair","longhairs","shorthair","shorthairs","bloom","blooms","species","florals","botanical","botanicals","leather","leathers","material","materials","timber","timbers","composite","composites","atom","atoms","molecule","molecules","hadron","hadrons","sphere","spheres","star","stars","car","cars","sports car","sports cars"])),ruleDescription:(0,l.notFollowed)(["longhair","longhairs","shorthair","shorthairs","bloom","blooms","species","florals","botanical","botanicals","leather","leathers","material","materials","timber","timbers","composite","composites","atom","atoms","molecule","molecules","hadron","hadrons","sphere","spheres","star","stars","car","cars","sports car","sports cars"])},{identifier:"sherpa",nonInclusivePhrases:["sherpa"],inclusiveAlternatives:"<i>commander, coach, mastermind, coach, mentor</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureOfOrigin},{identifier:"guru",nonInclusivePhrases:["guru"],inclusiveAlternatives:"<i>mentor, doyen, coach, mastermind, virtuoso, expert</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureOfOrigin},{identifier:"gurus",nonInclusivePhrases:["gurus"],inclusiveAlternatives:"<i>mentors, doyens, coaches, masterminds, virtuosos, experts</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureOfOrigin},{identifier:"nonWhite",nonInclusivePhrases:["non-white"],inclusiveAlternatives:"<i>people of color, POC, BIPOC</i> or specifying the racial groups mentioned",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"oriental",nonInclusivePhrases:["oriental"],inclusiveAlternatives:"<i>Asian</i>. When possible, be more specific (e.g. <i>East Asian</i>)",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.orangeUnlessAnimalsObjects},{identifier:"asianAmerican",nonInclusivePhrases:["Asian-American"],inclusiveAlternatives:"<i>Asian American</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0},{identifier:"asianAmericans",nonInclusivePhrases:["Asian-Americans"],inclusiveAlternatives:"<i>Asian Americans</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0},{identifier:"africanAmerican",nonInclusivePhrases:["African-American"],inclusiveAlternatives:"<i>African American, Black, American of African descent</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0},{identifier:"africanAmericans",nonInclusivePhrases:["African-Americans"],inclusiveAlternatives:"<i>African Americans, Black, Americans of African descent</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful,caseSensitive:!0},{identifier:"whiteRace",nonInclusivePhrases:["the White race"],inclusiveAlternatives:"",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.avoidHarmful,caseSensitive:!0},{identifier:"whitelist",nonInclusivePhrases:["whitelist"],inclusiveAlternatives:"<i>allowlist</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"whitelists",nonInclusivePhrases:["whitelists"],inclusiveAlternatives:"<i>allowlists</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"whitelisting",nonInclusivePhrases:["whitelisting"],inclusiveAlternatives:"<i>allowlisting</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"whitelisted",nonInclusivePhrases:["whitelisted"],inclusiveAlternatives:"<i>allowlisted</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"blacklist",nonInclusivePhrases:["blacklist"],inclusiveAlternatives:"<i>blocklist, denylist, faillist, redlist</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"blacklists",nonInclusivePhrases:["blacklists"],inclusiveAlternatives:"<i>blocklists, denylists, faillists, redlists</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"blacklisting",nonInclusivePhrases:["blacklisting"],inclusiveAlternatives:"<i>blocklisting, denylisting, faillisting, redlisting</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"blacklisted",nonInclusivePhrases:["blacklisted"],inclusiveAlternatives:"<i>blocklisted, denylisted, faillisted, redlisted</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"gyp",nonInclusivePhrases:["gyp"],inclusiveAlternatives:"<i>fraud, cheat, swindle, rip-off</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"gyps",nonInclusivePhrases:["gyps"],inclusiveAlternatives:"<i>frauds, cheats, swindles, rips off, rip-offs</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"gypped",nonInclusivePhrases:["gypped"],inclusiveAlternatives:"<i>cheated, swindled, ripped off</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"gypping",nonInclusivePhrases:["gypping"],inclusiveAlternatives:"<i>cheating, swindling, ripping off</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"gypsy",nonInclusivePhrases:["gypsy","gipsy"],inclusiveAlternatives:["<i>Rom, Roma person, Romani, Romani person</i>","<i>traveler, wanderer, free-spirited</i>"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.orangeUnlessSomeoneWants,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"gypsies",nonInclusivePhrases:["gypsies","gipsies"],inclusiveAlternatives:["<i>Roma, Romani, Romani people</i>","<i>travelers, wanderers, free-spirited</i>"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.orangeUnlessSomeoneWants,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"eskimo",nonInclusivePhrases:["eskimo","eskimos"],inclusiveAlternatives:"the specific name of the Indigenous community (for example, <i>Inuit</i>)",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.orangeUnlessSomeoneWants},{identifier:"coloredPerson",nonInclusivePhrases:["colored person"],inclusiveAlternatives:"<i>person of color, POC, BIPOC</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"coloredPeople",nonInclusivePhrases:["colored people"],inclusiveAlternatives:"<i>people of color, POC, BIPOC</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"americanIndians",nonInclusivePhrases:["American Indian","American Indians"],inclusiveAlternatives:"<i>Native American(s), Indigenous peoples of America</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.orangeUnlessSomeoneWants,caseSensitive:!0},{identifier:"mulatto",nonInclusivePhrases:["mulatto","mulattos","mulattoes"],inclusiveAlternatives:"<i>mixed, biracial, multiracial</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"savage",nonInclusivePhrases:["savage"],inclusiveAlternatives:"<i>severe, dreadful, untamed, brutal, fearless, fierce, brilliant, amazing</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"civilized",nonInclusivePhrases:["civilized"],inclusiveAlternatives:"<i>proper, well-mannered, enlightened, respectful</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"primitive",nonInclusivePhrases:["primitive"],inclusiveAlternatives:"<i>early, rudimentary</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"powWow",nonInclusivePhrases:["pow-wow"],inclusiveAlternatives:"<i>chat, brief conversation, brainstorm, huddle</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureOfOrigin},{identifier:"lowManOnTheTotemPole",nonInclusivePhrases:["low man on the totem pole"],inclusiveAlternatives:"<i>person of lower rank, junior-level</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"spiritAnimal",nonInclusivePhrases:["spirit animal"],inclusiveAlternatives:"<i>inspiration, hero, icon, idol</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.orangeUnlessCultureOfOrigin},{identifier:"firstWorldCountries",nonInclusivePhrases:["first world countries"],inclusiveAlternatives:"the specific name for the regions or countries",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"firstWorldHyphen",nonInclusivePhrases:["first-world"],inclusiveAlternatives:"the specific name for the region or country",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third-world country"],inclusiveAlternatives:"<i>low-income country, developing country</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third world country"],inclusiveAlternatives:"<i>low-income country, developing country</i>",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:a.redHarmful},{identifier:"underdevelopedCountry",nonInclusivePhrases:["underdeveloped country"],inclusiveAlternatives:"developing country",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as <i>%2$s</i> instead or be more specific about what aspect this word refers to."},{identifier:"underdevelopedCountries",nonInclusivePhrases:["underdeveloped countries"],inclusiveAlternatives:"developing countries",score:s.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as <i>%2$s</i> instead or be more specific about what aspect this word refers to."}];u.forEach((e=>{e.category="culture",e.learnMoreUrl="https://yoa.st/inclusive-language-culture"})),t.default=u},77018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(78261),i=r(69960),a=r(17864),o=r(64948),l=r(5719),u=r(88626),c=r(28045),d=(s=r(77965))&&s.__esModule?s:{default:s},h=r(538),f=r(65736),p=r(29700);const g=[{identifier:"binge",nonInclusivePhrases:["binge"],inclusiveAlternatives:"<i>indulge, satiate, wallow, spree, marathon, consume excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"])),ruleDescription:(0,p.notFollowed)(["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"])},{identifier:"bingeing",nonInclusivePhrases:["bingeing","binging"],inclusiveAlternatives:"<i>indulging, satiating, wallowing, spreeing, marathoning, consuming excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purging","behavior","behaviors","behaviour","behaviours"])),ruleDescription:(0,p.notFollowed)(["and purging","behavior","behaviors","behaviour","behaviours"])},{identifier:"binged",nonInclusivePhrases:["binged"],inclusiveAlternatives:"<i>indulged, satiated, wallowed, spreed, marathoned, consumed excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purged"])),ruleDescription:(0,p.notFollowed)(["and purged"])},{identifier:"binges",nonInclusivePhrases:["binges"],inclusiveAlternatives:"<i>indulges, satiates, wallows, sprees, marathons, consumes excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purges"])),ruleDescription:(0,p.notFollowed)(["and purges"])},{identifier:"wheelchairBound",nonInclusivePhrases:["wheelchair-bound","wheelchair bound","confined to a wheelchair"],inclusiveAlternatives:"<i>uses a wheelchair, is a wheelchair user</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"mentallyRetarded",nonInclusivePhrases:["mentally retarded"],inclusiveAlternatives:"<i>person with an intellectual disability</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"retarded",nonInclusivePhrases:["retarded"],inclusiveAlternatives:"<i>uninformed, ignorant, foolish, irrational, insensible</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidDerogatory,n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally"])),ruleDescription:(0,p.notPreceded)(["mentally"])},{identifier:"alcoholic",nonInclusivePhrases:["an alcoholic"],inclusiveAlternatives:"<i>person with alcohol use disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["drink","beverage"])),ruleDescription:(0,p.notFollowed)(["drink","beverage"])},{identifier:"alcoholics",nonInclusivePhrases:["alcoholics"],inclusiveAlternatives:"<i>people with alcohol use disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["anonymous"])),ruleDescription:(0,p.notFollowed)(["anonymous"])},{identifier:"cripple",nonInclusivePhrases:["a cripple"],inclusiveAlternatives:"<i>person with a physical disability, a physically disabled person</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidDerogatory,n.alternative].join(" ")},{identifier:"crippled",nonInclusivePhrases:["crippled"],inclusiveAlternatives:"<i>has a physical disability, is physically disabled</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"daft",nonInclusivePhrases:["daft"],inclusiveAlternatives:"<i>uninformed, ignorant, foolish, inconsiderate, irrational, reckless</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicapped",nonInclusivePhrases:["handicapped"],inclusiveAlternatives:"<i>disabled, person with a disability</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicap",nonInclusivePhrases:["handicap"],inclusiveAlternatives:"<i>disability</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["toilet","toilets","parking","bathroom","bathrooms","stall","stalls"])),ruleDescription:(0,p.notFollowed)(["toilet","toilets","parking","bathroom","bathrooms","stall","stalls"])},{identifier:"insane",nonInclusivePhrases:["insane"],inclusiveAlternatives:"<i>wild, confusing, unpredictable, impulsive, reckless, out of control, unbelievable, amazing, incomprehensible, nonsensical, outrageous, ridiculous</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,h.shouldNotPrecedeStandaloneCrazy)).filter((0,l.isNotFollowedAndPrecededByException)(e,t,h.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,h.shouldNotFollowStandaloneCrazyWhenPrecededByToBe)),ruleDescription:"Not targeted with this feedback when part of a more specific phrase that we target ('to drive insane', 'to go insane')."},{identifier:"insanely",nonInclusivePhrases:["insanely"],inclusiveAlternatives:"<i>extremely, amazingly, wildly, ferociously, ridiculously, unbelievably</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"imbecile",nonInclusivePhrases:["imbecile"],inclusiveAlternatives:"<i>uninformed, ignorant, foolish, inconsiderate, irrational, reckless</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidDerogatory,n.alternative].join(" ")},{identifier:"specialNeeds",nonInclusivePhrases:["special needs"],inclusiveAlternatives:["<i>functional needs, support needs</i>","<i>disabled, person with a disability</i>"],score:c.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidHarmful,"Consider using an alternative, such as %2$s when referring to someone's needs, or %3$s when referring to a person."].join(" ")},{identifier:"hardOfHearing",nonInclusivePhrases:["hard-of-hearing"],inclusiveAlternatives:"<i>hard of hearing, partially deaf, has partial hearing loss</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"hearingImpaired",nonInclusivePhrases:["hearing impaired"],inclusiveAlternatives:"<i>deaf or hard of hearing, partially deaf, has partial hearing loss</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"functioning",nonInclusivePhrases:["high functioning","low functioning"],inclusiveAlternatives:"describing the specific characteristic or experience",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["autism"])),ruleDescription:(0,p.notFollowed)(["autism"])},{identifier:"autismHigh",nonInclusivePhrases:["high functioning autism","high-functioning autism"],inclusiveAlternatives:"<i>autism with high support needs</i> or describing the specific characteristic or experience",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"autismLow",nonInclusivePhrases:["low functioning autism","low-functioning autism"],inclusiveAlternatives:"<i>autism with low support needs</i> or describing the specific characteristic or experience",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"birthDefect",nonInclusivePhrases:["birth defect"],inclusiveAlternatives:"<i>congenital disability, born with a disability, disability since birth</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> to describe someone's specific condition. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"lame",nonInclusivePhrases:["lame"],inclusiveAlternatives:["<i>boring, lousy, unimpressive, sad, corny</i>","<i>person with a disability, person who has difficulty with walking</i>"],score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it is potentially harmful. Unless you are using it as a noun to refer to an object (such as the kitchen tool), consider using an alternative. For example, %2$s. If referring to someone's disability, use an alternative such as %3$s."},{identifier:"lamer",nonInclusivePhrases:["lamer"],inclusiveAlternatives:"<i>more boring, lousier, more unimpressive, sadder, cornier</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"lamest",nonInclusivePhrases:["lamest"],inclusiveAlternatives:"<i>most boring, lousiest, most unimpressive, saddest, corniest</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"commitSuicide",nonInclusivePhrases:["commit suicide"],inclusiveAlternatives:"<i>take one's life, die by suicide, kill oneself</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"committingSuicide",nonInclusivePhrases:["committing suicide"],inclusiveAlternatives:"<i>taking one's life, dying by suicide, killing oneself</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"commitsSuicide",nonInclusivePhrases:["commits suicide"],inclusiveAlternatives:"<i>takes one's life, dies by suicide, kills oneself</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"committedSuicide",nonInclusivePhrases:["committed suicide"],inclusiveAlternatives:"<i>took one's life, died by suicide, killed themself</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicapParking",nonInclusivePhrases:["handicap parking"],inclusiveAlternatives:"<i>accessible parking</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"fellOnDeafEars",nonInclusivePhrases:["fell on deaf ears"],inclusiveAlternatives:"<i>was not addressed, was ignored, was disregarded</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"turnOnBlindEye",nonInclusivePhrases:["turn a blind eye"],inclusiveAlternatives:"<i>ignore, pretend not to notice</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"blindLeadingBlind",nonInclusivePhrases:["the blind leading the blind"],inclusiveAlternatives:"<i>ignorant, misguided, incompetent, unqualified, insensitive, unaware</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicapBathroom",nonInclusivePhrases:["handicap bathroom","handicap bathrooms"],inclusiveAlternatives:"<i>accessible bathroom(s)</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicapToilet",nonInclusivePhrases:["handicap toilet","handicap toilets"],inclusiveAlternatives:"<i>accessible toilet(s)</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"handicapStall",nonInclusivePhrases:["handicap stall","handicap stalls"],inclusiveAlternatives:"<i>accessible stall(s)</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"stupid",nonInclusivePhrases:["stupid"],inclusiveAlternatives:["<i>uninformed, ignorant, foolish, inconsiderate, irrational, reckless</i>"],score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbDown",nonInclusivePhrases:["dumb down"],inclusiveAlternatives:"<i>oversimplify</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbingDown",nonInclusivePhrases:["dumbing down"],inclusiveAlternatives:"<i>oversimplifying</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbedDown",nonInclusivePhrases:["dumbed down"],inclusiveAlternatives:"<i>oversimplified</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbItDown",nonInclusivePhrases:["dumb it down"],inclusiveAlternatives:"<i>oversimplify it</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbingItDown",nonInclusivePhrases:["dumbing it down"],inclusiveAlternatives:"<i>oversimplifying it</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumbedItDown",nonInclusivePhrases:["dumbed it down"],inclusiveAlternatives:"<i>oversimplified it</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"dumb",nonInclusivePhrases:["dumb","dumber","dumbest"],inclusiveAlternatives:["<i>uninformed, ignorant, foolish, inconsiderate, irrational, reckless</i>"],score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["deaf and"])).filter((0,o.isNotFollowedByException)(e,t,["down"])).filter((0,o.isNotFollowedByException)(e,t,["it down"])),ruleDescription:(0,p.notPreceded)(["deaf and"])},{identifier:"deaf",nonInclusivePhrases:["deaf-mute","deaf and dumb"],inclusiveAlternatives:"<i>deaf</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"addict",nonInclusivePhrases:["addict"],inclusiveAlternatives:"<i>person with a (drug, alcohol, ...) addiction, person with substance abuse disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"addicts",nonInclusivePhrases:["addicts"],inclusiveAlternatives:"<i>people with a (drug, alcohol, ...) addiction, people with substance abuse disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"brainDamaged",nonInclusivePhrases:["brain-damaged"],inclusiveAlternatives:"<i>person with a (traumatic) brain injury</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"differentlyAbled",nonInclusivePhrases:["differently abled","differently-abled"],inclusiveAlternatives:"<i>disabled, person with a disability</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"epilepticFit",nonInclusivePhrases:["epileptic fit"],inclusiveAlternatives:"<i>epileptic seizure</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"epilepticFits",nonInclusivePhrases:["epileptic fits"],inclusiveAlternatives:"<i>epileptic seizures</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"sanityCheck",nonInclusivePhrases:["sanity check"],inclusiveAlternatives:"<i>final check, confidence check, rationality check, soundness check</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"to not be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"<i>to not be impressed by, to not be enthusiastic about, to not be into, to not like</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to not be crazy about</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToBeNotWithOptionalIntensifier)),ruleDescription:"Targeted when preceded by a negated form of 'to be' or 'to get' and an optional intensifier."},{identifier:"to be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"<i>to love, to be obsessed with, to be infatuated with</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to be crazy about</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToBeWithOptionalIntensifier)),ruleDescription:"Targeted when preceded by a form of 'to be' or 'to get' and an optional intensifier."},{identifier:"to be nuts about",nonInclusivePhrases:["nuts about"],inclusiveAlternatives:"<i>to love, to be obsessed with, to be infatuated with</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to be nuts about</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToBeWithOptionalIntensifier)),ruleDescription:"Targeted when preceded by a form of 'to be' or 'to get' and an optional intensifier."},{identifier:"to be bananas about",nonInclusivePhrases:["bananas about"],inclusiveAlternatives:"<i>to love, to be obsessed with, to be infatuated with</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to be bananas about</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToBeWithOptionalIntensifier)),ruleDescription:"Targeted when preceded by a form of 'to be' or 'to get' and an optional intensifier."},{identifier:"crazy in love",nonInclusivePhrases:["crazy in love"],inclusiveAlternatives:"<i>wildly in love, head over heels, infatuated</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"to go crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"<i>to go wild, to go out of control, to go up the wall, to be aggravated, to get confused</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to go crazy</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToGo)),ruleDescription:(0,p.isPreceded)(h.formsOfToGo)},{identifier:"to go insane",nonInclusivePhrases:["insane"],inclusiveAlternatives:"<i>to go wild, to go out of control, to go up the wall, to be aggravated, to get confused</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to go insane</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToGo)),ruleDescription:(0,p.isPreceded)(h.formsOfToGo)},{identifier:"to go mad",nonInclusivePhrases:["mad"],inclusiveAlternatives:"<i>to go wild, to go out of control, to go up the wall, to be aggravated, to get confused</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to go mad</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToGo)),ruleDescription:(0,p.isPreceded)(h.formsOfToGo)},{identifier:"to go nuts",nonInclusivePhrases:["nuts"],inclusiveAlternatives:"<i>to go wild, to go out of control, to go up the wall, to be aggravated, to get confused</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to go nuts</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToGo)),ruleDescription:(0,p.isPreceded)(h.formsOfToGo)},{identifier:"to go bananas",nonInclusivePhrases:["bananas"],inclusiveAlternatives:"<i>to go wild, to go out of control, to go up the wall, to be aggravated, to get confused</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to go bananas</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToGo)),ruleDescription:(0,p.isPreceded)(h.formsOfToGo)},{identifier:"to drive crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"<i>to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to drive crazy</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.combinationsOfDriveAndObjectPronoun)),ruleDescription:"Targeted when preceded by a form of 'to drive' and an object pronoun (e.g. 'driving me')"},{identifier:"to drive insane",nonInclusivePhrases:["insane"],inclusiveAlternatives:"<i>to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to drive insane</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.combinationsOfDriveAndObjectPronoun)),ruleDescription:"Targeted when preceded by a form of 'to drive' and an object pronoun (e.g. 'driving me')"},{identifier:"to drive mad",nonInclusivePhrases:["mad"],inclusiveAlternatives:"<i>to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to drive mad</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.combinationsOfDriveAndObjectPronoun)),ruleDescription:"Targeted when preceded by a form of 'to drive' and an object pronoun (e.g. 'driving me')"},{identifier:"to drive nuts",nonInclusivePhrases:["nuts"],inclusiveAlternatives:"<i>to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to drive nuts</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.combinationsOfDriveAndObjectPronoun)),ruleDescription:"Targeted when preceded by a form of 'to drive' and an object pronoun (e.g. 'driving me')"},{identifier:"to drive bananas",nonInclusivePhrases:["bananas"],inclusiveAlternatives:"<i>to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using <i>to drive bananas</i> as it is potentially harmful.",n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.combinationsOfDriveAndObjectPronoun)),ruleDescription:"Targeted when preceded by a form of 'to drive' and an object pronoun (e.g. 'driving me')"},{identifier:"nuts",nonInclusivePhrases:["nuts"],inclusiveAlternatives:"<i>wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.shouldPrecedeNutsBananasWithIntensifier)).filter((0,l.isNotFollowedAndPrecededByException)(e,t,h.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,h.shouldNotFollowStandaloneCrazyWhenPrecededByToBe)),ruleDescription:"Targeted when preceded by is/he's/she's and an optional intensifier and when it's not part of a more specific phrase that we target ('to go nuts', 'to drive nuts', 'to be nuts about')."},{identifier:"bananas",nonInclusivePhrases:["bananas"],inclusiveAlternatives:"<i>wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.shouldPrecedeNutsBananasWithIntensifier)).filter((0,l.isNotFollowedAndPrecededByException)(e,t,h.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,h.shouldNotFollowStandaloneCrazyWhenPrecededByToBe)),ruleDescription:"Targeted when preceded by is/he's/she's and an optional intensifier and when it's not part of a more specific phrase that we target ('to go bananas', 'to drive bananas', 'to be bananas about')."},{identifier:"crazier",nonInclusivePhrases:["crazier"],inclusiveAlternatives:"<i>more wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"craziest",nonInclusivePhrases:["craziest"],inclusiveAlternatives:"<i>most wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"psychopathic",nonInclusivePhrases:["psychopath","psychopaths","psychopathic"],inclusiveAlternatives:"<i>toxic, manipulative, unpredictable, impulsive, reckless, out of control</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"schizophrenic",nonInclusivePhrases:["schizophrenic","bipolar"],inclusiveAlternatives:"<i>of two minds, chaotic, confusing</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeUnlessMedicalCondition,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["disorder"])),ruleDescription:(0,p.notFollowed)(["disorder"])},{identifier:"paranoid",nonInclusivePhrases:["paranoid"],inclusiveAlternatives:"<i>overly suspicious, unreasonable, defensive</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeUnlessMedicalCondition,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["personality disorder","delusion","delusions","ideation"])),ruleDescription:(0,p.notFollowed)(["personality disorder","delusion","delusions","ideation"])},{identifier:"manic",nonInclusivePhrases:["manic"],inclusiveAlternatives:"<i>excited, raving, unbalanced, wild</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeUnlessMedicalCondition,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["episode","episodes","state","states","symptoms","and depressive episodes","and hypomanic","or hypomanic"])),ruleDescription:(0,p.notFollowed)(["episode","episodes","state","states","symptoms","and depressive episodes","and hypomanic","or hypomanic"])},{identifier:"hysterical",nonInclusivePhrases:["hysterical"],inclusiveAlternatives:"<i>intense, vehement, piercing, chaotic</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"psycho",nonInclusivePhrases:["psycho","psychos"],inclusiveAlternatives:"<i>toxic, distraught, unpredictable, reckless, out of control</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"neurotic",nonInclusivePhrases:["neurotic","lunatic"],inclusiveAlternatives:"<i>distraught, unstable, startling, confusing, baffling</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"sociopath",nonInclusivePhrases:["sociopath"],inclusiveAlternatives:["<i>person with antisocial personality disorder</i>","<i>toxic, manipulative, cruel</i>"],score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"sociopaths",nonInclusivePhrases:["sociopaths"],inclusiveAlternatives:["<i>people with antisocial personality disorder</i>","<i>toxic, manipulative, cruel</i>"],score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"spaz",nonInclusivePhrases:["spaz","spazz"],inclusiveAlternatives:["<i>incompetent person, erratic person, inept person, hyperactive person, agitated person, amateur, unqualified person, ignorant person</i>","<i>lose control, flip out, throw a tantrum, behave erratically, go on the fritz, twitch, move clumsily, move awkwardly</i>"],score:c.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as %2$s when referring to a person, or %3$s when referring to an action.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["out"])),ruleDescription:(0,p.notFollowed)(["out"])},{identifier:"spazzes",nonInclusivePhrases:["spazzes"],inclusiveAlternatives:["<i>incompetent people, erratic people, inept people, hyperactive people, agitated people, amateurs, unqualified people, ignorant people</i>","<i>loses control, flips out, throws a tantrum, behaves erratically, goes on the fritz, twitches, moves clumsily, moves awkwardly</i>"],score:c.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using <i>%1$s</i> as it is potentially harmful. Consider using an alternative, such as %2$s when referring to a person, or %3$s when referring to an action.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["out"])),ruleDescription:(0,p.notFollowed)(["out"])},{identifier:"spazzing",nonInclusivePhrases:["spazzing"],inclusiveAlternatives:"<i>losing control, flipping out, throwing a tantrum, behaving erratically, going on the fritz, twitching, moving clumsily, moving awkwardly</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["out"])),ruleDescription:(0,p.notFollowed)(["out"])},{identifier:"spazzed",nonInclusivePhrases:["spazzed"],inclusiveAlternatives:"<i>lost control, flipped out, threw a tantrum, behaved erratically, went on the fritz, twitched, moved clumsily, moved awkwardly</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"spazOut",nonInclusivePhrases:["spaz out","spazz out"],inclusiveAlternatives:"<i>flip out, throw a tantrum, lose control, move clumsily, move awkwardly</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"spazzesOut",nonInclusivePhrases:["spazzes out"],inclusiveAlternatives:"<i>flips out, throws a tantrum, loses control, moves clumsily, moves awkwardly</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"spazzingOut",nonInclusivePhrases:["spazzing out"],inclusiveAlternatives:"<i>flipping out, throwing a tantrum, losing control, moving clumsily, moving awkwardly</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"<i>wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,h.shouldNotPrecedeStandaloneCrazy)).filter((0,o.isNotFollowedByException)(e,t,h.shouldNotFollowStandaloneCrazy)).filter((0,l.isNotFollowedAndPrecededByException)(e,t,h.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,h.shouldNotFollowStandaloneCrazyWhenPrecededByToBe)),ruleDescription:"Not targeted with this feedback when part of a more specific phrase that we target ('to drive crazy', to go crazy', 'to (not) be crazy about', 'crazy in love')."},{identifier:"narcissistic",nonInclusivePhrases:["narcissistic"],inclusiveAlternatives:["<i>person with narcissistic personality disorder</i>","<i>selfish, egotistical, self-centered, self-absorbed, vain, toxic, manipulative</i>"],score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["personality disorder"])),ruleDescription:(0,p.notFollowed)(["personality disorder"])},{identifier:"OCD",nonInclusivePhrases:["ocd"],inclusiveAlternatives:"<i>pedantic, obsessed, perfectionist</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[(0,f.sprintf)(i.orangeUnlessMedicalCondition,"OCD","%2$s"),"If you are referring to someone who has the medical condition, then state that they have OCD rather than that they are OCD."].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isPrecededByException)(e,h.formsOfToBeAndToBeNotWithOptionalIntensifier)),ruleDescription:"Targeted when preceded by a form of 'to be' or 'to get' (including their negated forms)and an optional intensifier"},{identifier:"theMentallyIll",nonInclusivePhrases:["the mentally ill"],inclusiveAlternatives:"<i>people who are mentally ill</i>, <i>mentally ill people</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,d.default)(e,t)),ruleDescription:p.nonInclusiveWhenStandalone},{identifier:"theDisabled",nonInclusivePhrases:["the disabled"],inclusiveAlternatives:"<i>people who have a disability</i>, <i>disabled people</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,d.default)(e,t)),ruleDescription:p.nonInclusiveWhenStandalone}];g.forEach((e=>{e.category="disability",e.learnMoreUrl="https://yoa.st/inclusive-language-disability"})),t.default=g},538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPrecedeNutsBananasWithIntensifier=t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=t.shouldNotPrecedeStandaloneCrazy=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=t.shouldNotFollowStandaloneCrazy=t.formsOfToGo=t.formsOfToBeWithOptionalIntensifier=t.formsOfToBeNotWithOptionalIntensifier=t.formsOfToBeAndToBeNotWithOptionalIntensifier=t.default=t.combinationsOfDriveAndObjectPronoun=void 0;var s=r(64998),n=r(92819);const i=["so","very","a bit","really","pretty","kind of","that","too","totally","completely","absolutely","even","also","as"],a=s.formsOfToBe.concat(s.formsOfToGet),o=function(e,t){return(0,n.flatMap)(e,(e=>(0,n.flatMap)(t,(t=>`${e} ${t}`))))},l=o(a,i),u=t.formsOfToBeWithOptionalIntensifier=l.concat(a);let c=(0,n.flatMap)(a,(e=>`${e} not`));c=c.concat(s.negatedFormsOfToBe);const d=o(c,i),h=t.formsOfToBeNotWithOptionalIntensifier=d.concat(c),f=t.formsOfToBeAndToBeNotWithOptionalIntensifier=u.concat(h),p=t.combinationsOfDriveAndObjectPronoun=o(["driving","drive","drove","drives","driven"],["me","you","them","him","her","someone","somebody","anyone","anybody","everyone","everybody"]),g=t.formsOfToGo=["go","goes","going","gone","went"],m=t.shouldNotPrecedeStandaloneCrazy=p.concat(g),_=t.shouldNotFollowStandaloneCrazy=["in love"],y=t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=u.concat(h),T=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=["about"],E=["is","she's","he's"],v=t.shouldPrecedeNutsBananasWithIntensifier=o(E,i).concat(E);t.default={formsOfToBeWithOptionalIntensifier:u,formsOfToBeNotWithOptionalIntensifier:h,formsOfToBeAndToBeNotWithOptionalIntensifier:f,combinationsOfDriveAndObjectPronoun:p,formsOfToGo:g,shouldNotPrecedeStandaloneCrazy:m,shouldNotFollowStandaloneCrazy:_,shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout:y,shouldNotFollowStandaloneCrazyWhenPrecededByToBe:T,shouldPrecedeNutsBananasWithIntensifier:v}},35946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.specificAgeGroup=void 0,t.specificAgeGroup="Or, if possible, be specific about the group you are referring to (e.g. %3$s)."},38362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orangeUnlessCultureUsesTerm=t.orangeUnlessCultureOfOrigin=void 0;var s=r(78261);t.orangeUnlessCultureOfOrigin=[s.beCarefulHarmful,"Consider using an alternative, such as %2$s instead, unless you are referring to the culture in which this term originated."].join(" "),t.orangeUnlessCultureUsesTerm=[s.beCarefulHarmful,"Consider using an alternative, such as %2$s instead, unless you are referring to a culture that uses this term."].join(" ")},69960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orangeUnlessMedicalCondition=void 0;var s=r(78261);t.orangeUnlessMedicalCondition=s.beCarefulHarmful+" Unless you are referencing the specific medical condition, consider using another alternative to describe the trait or behavior, such as %2$s."},85805:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orangeExclusionaryUnlessUseTheTerm=t.orangeExclusionaryUnlessTwoGenders=t.orangeExclusionaryUnlessMenAndWomen=t.orangeExclusionaryUnlessMen=t.orangeExclusionaryUnless=void 0,t.orangeExclusionaryUnless="Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of %1$s, use an alternative, such as %2$s.",t.orangeExclusionaryUnlessMen="Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of men, use an alternative, such as %2$s.",t.orangeExclusionaryUnlessMenAndWomen="Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of men and women, use an alternative, such as %2$s.",t.orangeExclusionaryUnlessTwoGenders="Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of two genders, use an alternative, such as %2$s.",t.orangeExclusionaryUnlessUseTheTerm="Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of people who use this term, use an alternative, such as %2$s."},78261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redPotentiallyExclusionary=t.redHarmful=t.redExclusionary=t.preferredDescriptorIfKnown=t.orangeUnlessSomeoneWants=t.orangeUnlessAnimalsObjects=t.orangeNoUnless=t.orangeExclusionaryNoUnless=t.beCarefulHarmful=t.avoidHarmful=t.avoidDerogatory=t.alternative=void 0,t.avoidDerogatory="Avoid using <i>%1$s</i> as it is derogatory.";const r=t.avoidHarmful="Avoid using <i>%1$s</i> as it is potentially harmful.",s=t.beCarefulHarmful="Be careful when using <i>%1$s</i> as it is potentially harmful.",n=t.alternative="Consider using an alternative, such as %2$s.";t.preferredDescriptorIfKnown="Alternatively, if talking about a specific person, use their preferred descriptor if known.",t.orangeNoUnless=[s,n].join(" "),t.orangeExclusionaryNoUnless=["Be careful when using <i>%1$s</i> as it is potentially exclusionary.",n].join(" "),t.orangeUnlessAnimalsObjects=[s,"Unless you are referring to objects or animals, consider using an alternative, such as %2$s."].join(" "),t.orangeUnlessSomeoneWants=[s,"Consider using an alternative, such as %2$s, unless referring to someone who explicitly wants to be referred to with this term."].join(" "),t.redHarmful=[r,n].join(" "),t.redExclusionary=["Avoid using <i>%1$s</i> as it is exclusionary.",n].join(" "),t.redPotentiallyExclusionary=["Avoid using <i>%1$s</i> as it is potentially exclusionary.",n].join(" ")},556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(78261),i=r(85805),a=r(28045),o=r(88626),l=(s=r(77965))&&s.__esModule?s:{default:s},u=r(29700);const c=[{identifier:"firemen",nonInclusivePhrases:["firemen"],inclusiveAlternatives:"<i>firefighters</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnlessMen},{identifier:"policemen",nonInclusivePhrases:["policemen"],inclusiveAlternatives:"<i>police officers</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnlessMen},{identifier:"menAndWomen",nonInclusivePhrases:["men and women","women and men"],inclusiveAlternatives:"<i>people, people of all genders, individuals, human beings</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnless},{identifier:"boysAndGirls",nonInclusivePhrases:["boys and girls","girls and boys"],inclusiveAlternatives:"<i>kids, children</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnless},{identifier:"heOrShe",nonInclusivePhrases:["he/she","he or she","she or he","(s)he"],inclusiveAlternatives:"<i>they</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeExclusionaryNoUnless},{identifier:"birthSex",nonInclusivePhrases:["birth sex","natal sex"],inclusiveAlternatives:"<i>assigned sex, assigned sex at birth</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"mankind",nonInclusivePhrases:["mankind"],inclusiveAlternatives:"<i>individuals, people, persons, human beings, humanity</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"preferredPronouns",nonInclusivePhrases:["preferred pronouns"],inclusiveAlternatives:"<i>pronouns</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeNoUnless.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own pronouns."].join("")},{identifier:"oppositeGender",nonInclusivePhrases:["opposite gender"],inclusiveAlternatives:"<i>another gender</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"oppositeSex",nonInclusivePhrases:["opposite sex"],inclusiveAlternatives:"<i>another sex</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"femaleBodied",nonInclusivePhrases:["female-bodied"],inclusiveAlternatives:"<i>assigned female at birth</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redPotentiallyExclusionary.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to <i>%1$s</i>."},{identifier:"maleBodied",nonInclusivePhrases:["male-bodied"],inclusiveAlternatives:"<i>assigned male at birth</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redPotentiallyExclusionary.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to <i>%1$s</i>."},{identifier:"hermaphrodite",nonInclusivePhrases:["hermaphrodite"],inclusiveAlternatives:"<i>intersex</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"hermaphrodites",nonInclusivePhrases:["hermaphrodites"],inclusiveAlternatives:"<i>intersex people</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"bothGenders",nonInclusivePhrases:["both genders"],inclusiveAlternatives:"<i>people, folks, human beings, all genders</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnlessTwoGenders},{identifier:"ladiesAndGentleman",nonInclusivePhrases:["ladies and gentlemen"],inclusiveAlternatives:"<i>everyone, folks, honored guests</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnlessMenAndWomen},{identifier:"husbandAndWife",nonInclusivePhrases:["husband and wife","husbands and wives"],inclusiveAlternatives:"<i>spouses, partners</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeExclusionaryNoUnless.slice(0,-1)+", unless referring to someone who explicitly wants to be referred to with this term."},{identifier:"mothersAndFathers",nonInclusivePhrases:["mothers and fathers","fathers and mothers"],inclusiveAlternatives:"<i>parents</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:i.orangeExclusionaryUnlessUseTheTerm},{identifier:"manHours",nonInclusivePhrases:["man-hours"],inclusiveAlternatives:"<i>person-hours, business hours</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"preferredName",nonInclusivePhrases:["preferred name"],inclusiveAlternatives:"<i>name, affirming name</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeNoUnless.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own name."].join("")},{identifier:"transgenders",nonInclusivePhrases:["transgenders"],inclusiveAlternatives:"<i>trans people, transgender people</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidDerogatory,n.alternative].join(" ")},{identifier:"transsexual",nonInclusivePhrases:["transsexual"],inclusiveAlternatives:"<i>transgender</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transsexuals",nonInclusivePhrases:["transsexuals"],inclusiveAlternatives:"<i>trans people, transgender people</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transWoman",nonInclusivePhrases:["transwoman"],inclusiveAlternatives:"<i>trans woman, transgender woman</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transWomen",nonInclusivePhrases:["transwomen"],inclusiveAlternatives:"<i>trans women, transgender women</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transMan",nonInclusivePhrases:["transman"],inclusiveAlternatives:"<i>trans man, transgender man</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transMen",nonInclusivePhrases:["transmen"],inclusiveAlternatives:"<i>trans men, transgender men</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"transgendered",nonInclusivePhrases:["transgendered"],inclusiveAlternatives:["<i>transgender, trans</i>","transitioned, went through a gender transition"],score:a.SCORES.NON_INCLUSIVE,feedbackFormat:[n.redHarmful.slice(0,-1),"if referring to a person. If referring to a transition process, consider using an alternative such as <i>%3$s</i>."].join(" ")},{identifier:"maleToFemale",nonInclusivePhrases:["male-to-female","mtf"],inclusiveAlternatives:"<i>trans woman, transgender woman</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"femaleToMale",nonInclusivePhrases:["female-to-male","ftm"],inclusiveAlternatives:"<i>trans man, transgender man</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"heShe",nonInclusivePhrases:["he-she"],inclusiveAlternatives:"",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.avoidDerogatory},{identifier:"shemale",nonInclusivePhrases:["shemale","she-male"],inclusiveAlternatives:"",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.avoidDerogatory},{identifier:"manMade",nonInclusivePhrases:["man-made","manmade"],inclusiveAlternatives:"<i>artificial, synthetic, machine-made</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"toEachTheirOwn",nonInclusivePhrases:["to each his own"],inclusiveAlternatives:"<i>to each their own</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"manned",nonInclusivePhrases:["manned"],inclusiveAlternatives:"<i>crewed</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redExclusionary},{identifier:"aTransgender",nonInclusivePhrases:["a transgender","the transgender"],inclusiveAlternatives:"<i>transgender person</i>",score:a.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,o.includesConsecutiveWords)(e,t).filter((0,l.default)(e,t)),ruleDescription:u.nonInclusiveWhenStandalone},{identifier:"pregnant women",nonInclusivePhrases:["pregnant women"],inclusiveAlternatives:"<i>pregnant people</i>",score:a.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i> as it can be exclusionary. Unless you are sure that the group you refer to only consists of women, use an alternative, such as %2$s."}];c.forEach((e=>{e.category="gender",e.learnMoreUrl="https://yoa.st/inclusive-language-gender"})),t.default=c},66064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=d(r(46176)),n=d(r(9214)),i=d(r(77018)),a=d(r(556)),o=d(r(20117)),l=d(r(27540)),u=d(r(12297)),c=d(r(32296));function d(e){return e&&e.__esModule?e:{default:e}}t.default=[...s.default,...n.default,...i.default,...a.default,...o.default,...l.default,...u.default,...c.default]},12297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(28045),n=r(78261),i=r(88626),a=r(17864),o=r(29700);const l=[{identifier:"minorities",nonInclusivePhrases:["minorities"],inclusiveAlternatives:["<i>members of the LGBTQ+ community</i>","<i>Indigenous peoples</i>","<i>marginalized groups</i>","<i>religious minorities</i>"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.beCarefulHarmful,"Consider using an alternative by being specific about which group(s) of people you are referring to. For example: %2$s, %3$s, %4$s. In case an alternative is not available, make sure to specify the type of minorities you are referring to, e.g., %5$s."].join(" ")},{identifier:"normalPerson",nonInclusivePhrases:["normal person"],inclusiveAlternatives:["<i>typical person, average person</i> or describing the person's specific trait, experience, or behavior"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"])),ruleDescription:(0,o.notPreceded)(["mentally","behaviorally","behaviourally"])},{identifier:"normalPeople",nonInclusivePhrases:["normal people","Normal people"],inclusiveAlternatives:["<i>typical people, average people</i> or describing people's specific trait, experience, or behavior"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,caseSensitive:!0,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"])),ruleDescription:(0,o.notPreceded)(["mentally","behaviorally","behaviourally"])},{identifier:"mentallyNormal",nonInclusivePhrases:["mentally normal"],inclusiveAlternatives:["<i>people without mental health conditions</i>, <i>mentally healthy people</i>"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidHarmful,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: <i>people who don’t have anxiety disorders</i>, <i>people who haven't experienced trauma</i>, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyNormal",nonInclusivePhrases:["behaviorally normal","behaviourally normal"],inclusiveAlternatives:["<i>showing typical behavior</i> or describing the specific behavior"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessAnimalsObjects},{identifier:"abnormalPerson",nonInclusivePhrases:["abnormal person"],inclusiveAlternatives:["describing the person's specific trait, experience, or behavior"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"abnormalPeople",nonInclusivePhrases:["abnormal people"],inclusiveAlternatives:["describing people's specific trait, experience, or behavior"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"mentallyAbnormal",nonInclusivePhrases:["mentally abnormal"],inclusiveAlternatives:["<i>people with a mental health condition</i>, <i>people with mental health problems</i>"],score:s.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidHarmful,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: <i>people who have anxiety disorders, people who have experienced trauma</i>, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyAbnormal",nonInclusivePhrases:["behaviorally abnormal","behaviourally abnormal"],inclusiveAlternatives:["<i>showing atypical behavior, showing dysfunctional behavior</i> or describing the specific behavior"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessAnimalsObjects},{identifier:"abnormalBehavior",nonInclusivePhrases:["abnormal behavior","abnormal behaviour"],inclusiveAlternatives:["<i>atypical behavior, unusual behavior</i> or describing the specific behavior"],score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessAnimalsObjects}];l.forEach((e=>{e.category="other",e.learnMoreUrl="https://yoa.st/inclusive-language-other"})),t.default=l},28045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCORES=void 0,t.SCORES={NON_INCLUSIVE:3,POTENTIALLY_NON_INCLUSIVE:6}},27540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(78261),i=r(28045),a=r(88626),o=(s=r(77965))&&s.__esModule?s:{default:s},l=r(29700);const u=[{identifier:"illegalImmigrant",nonInclusivePhrases:["illegal immigrant","illegal alien"],inclusiveAlternatives:"<i>undocumented person, person without papers, immigrant without papers</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"illegalImmigrants",nonInclusivePhrases:["illegal immigrants","illegal aliens"],inclusiveAlternatives:"<i>undocumented people, people without papers, immigrants without papers</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"povertyStricken",nonInclusivePhrases:["poverty stricken"],inclusiveAlternatives:"<i>people whose income is below the poverty threshold, people with low-income</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"welfareReliant",nonInclusivePhrases:["welfare reliant"],inclusiveAlternatives:"<i>receiving welfare</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"prostitute",nonInclusivePhrases:["prostitute"],inclusiveAlternatives:"<i>sex worker</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"prostitutes",nonInclusivePhrases:["prostitutes"],inclusiveAlternatives:"<i>sex workers</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"ex-con",nonInclusivePhrases:["ex-con"],inclusiveAlternatives:"<i>person who has had felony convictions, person who has been incarcerated</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"ex-cons",nonInclusivePhrases:["ex-cons"],inclusiveAlternatives:"<i>people who have had felony convictions, people who have been incarcerated</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"felon",nonInclusivePhrases:["felon"],inclusiveAlternatives:"<i>person with felony convictions, person who has been incarcerated</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"felons",nonInclusivePhrases:["felons"],inclusiveAlternatives:"<i>people with felony convictions, people who have been incarcerated</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"ex-offender",nonInclusivePhrases:["ex-offender"],inclusiveAlternatives:"<i>formerly incarcerated person</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"ex-offenders",nonInclusivePhrases:["ex-offenders"],inclusiveAlternatives:"<i>formerly incarcerated people</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"theHomeless",nonInclusivePhrases:["the homeless"],inclusiveAlternatives:"<i>people experiencing homelessness</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t)),ruleDescription:l.nonInclusiveWhenStandalone},{identifier:"theUndocumented",nonInclusivePhrases:["the undocumented"],inclusiveAlternatives:"<i>people who are undocumented, undocumented people, people without papers</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t)),ruleDescription:l.nonInclusiveWhenStandalone},{identifier:"thePoor",nonInclusivePhrases:["the poor"],inclusiveAlternatives:"<i>people whose income is below the poverty threshold, people with low-income</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t)),ruleDescription:l.nonInclusiveWhenStandalone}];u.forEach((e=>{e.category="ses",e.learnMoreUrl="https://yoa.st/inclusive-language-ses"})),t.default=u},32296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(28045),n=r(78261);const i=[{identifier:"homosexuals",nonInclusivePhrases:["homosexuals"],inclusiveAlternatives:"<i>gay people, queer people, lesbians, gay men, people in same-gender relationships</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,"Be as specific possible and use people's preferred labels if they are known."].join(" ")}];i.forEach((e=>{e.category="sexualOrientation",e.learnMoreUrl="https://yoa.st/inclusive-language-orientation"})),t.default=i},29700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPreceded=function(e){return"Targeted when preceded by '"+e.join("', '")+"'."},t.nonInclusiveWhenStandalone=void 0,t.notFollowed=function(e){return"Targeted unless followed by '"+e.join("', '")+"'."},t.notPreceded=function(e){return"Targeted unless preceded by '"+e.join("', '")+"'."},t.notPrecededAndNotFollowed=function(e,t){return"Targeted unless preceded by '"+e.join("', '")+"' and/or followed by '"+t.join("', '")+"'."},t.nonInclusiveWhenStandalone="Targeted when followed by a participle, a function word (other than a noun), or punctuation."},88626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesConsecutiveWords=function(e,t){const r=[];return e.forEach(((n,i)=>{(0,s.includesWordsAtPosition)(t,i,e)&&r.push(i)})),r};var s=r(40880)},40880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesWordsAtPosition=function(e,t,r){return e.every(((e,s)=>r[t+s]===e))}},5719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedAndPrecededByException=i,t.isNotFollowedAndPrecededByException=function(e,t,r,s){return n=>!i(e,t,r,s)(n)};var s=r(64948),n=r(17864);function i(e,t,r,i){return a=>(0,s.isFollowedByException)(e,t,i)(a)&&(0,n.isPrecededByException)(e,r)(a)}},64948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByException=i,t.isNotFollowedByException=function(e,t,r){return s=>!i(e,t,r)(s)};var s=r(58677),n=r(40880);function i(e,t,r){const i=r.map((e=>(0,s.getWords)(e,"\\s",!1)));return r=>i.some((s=>{const i=r+t.length;return i>=0&&(0,n.includesWordsAtPosition)(s,i,e)}))}},88883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByParticiple=function(e,t){return r=>{const s=r+t.length;return s<e.length&&o(e[s])}},t.isParticiple=o;var s,n=r(92819),i=(s=r(89597))&&s.__esModule?s:{default:s},a=r(74016);function o(e){const t=e.match(a.regularParticiplesRegex);return!(0,n.isNull)(t)&&t[0]===e||(0,n.includes)(i.default,e)}},17864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNotPrecededByException=function(e,t){return r=>!i(e,t)(r)},t.isPrecededByException=i;var s=r(58677),n=r(40880);function i(e,t){const r=t.map((e=>(0,s.getWords)(e,"\\s",!1)));return t=>r.some((r=>{const s=t-r.length;return s>=0&&(0,n.includesWordsAtPosition)(r,s,e)}))}},77965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r=>(0,s.isFollowedByException)(e,t,i.nonNouns)(r)||(0,n.isFollowedByParticiple)(e,t)(r)||(0,s.isFollowedByException)(e,t,l)(r)};var s=r(64948),n=r(88883),i=r(89456),a=r(8737),o=r(58677);const l=a.punctuationList.filter((e=>(0,o.getWords)(e,"\\s",!1).length>0))},43947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seo=t.readability=t.inclusiveLanguage=void 0;var s=F(r(40774)),n=F(r(25636)),i=F(r(38196)),a=F(r(86089)),o=F(r(7261)),l=F(r(35780)),u=F(r(62318)),c=F(r(57749)),d=F(r(50791)),h=F(r(97758)),f=F(r(3139)),p=F(r(92922)),g=F(r(90575)),m=F(r(99815)),_=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=x(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}(r(70966)),y=F(r(34847)),T=F(r(70476)),E=F(r(27661)),v=F(r(46430)),A=F(r(47502)),b=F(r(17915)),S=F(r(69360)),O=F(r(57480)),C=F(r(46787)),w=r(80009),I=F(r(8980)),N=F(r(38754)),k=F(r(58850)),P=F(r(77428)),L=F(r(40826)),R=F(r(76369)),D=F(r(11842)),M=F(r(96682));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(x=function(e){return e?r:t})(e)}function F(e){return e&&e.__esModule?e:{default:e}}t.readability={ListAssessment:h.default,ParagraphTooLongAssessment:s.default,PassiveVoiceAssessment:n.default,SentenceBeginningsAssessment:i.default,SentenceLengthInTextAssessment:a.default,SubheadingDistributionTooLongAssessment:o.default,TextAlignmentAssessment:c.default,TextPresenceAssessment:l.default,TransitionWordsAssessment:u.default,WordComplexityAssessment:d.default},t.seo={FunctionWordsInKeyphraseAssessment:f.default,ImageAltTagsAssessment:L.default,ImageCountAssessment:N.default,ImageKeyphraseAssessment:I.default,InternalLinksAssessment:p.default,IntroductionKeywordAssessment:g.default,KeyphraseDistributionAssessment:k.default,KeyphraseInSEOTitleAssessment:C.default,KeyphraseLengthAssessment:m.default,KeyphraseDensityAssessment:_.default,KeywordDensityAssessment:_.KeywordDensityAssessment,MetaDescriptionKeywordAssessment:y.default,MetaDescriptionLengthAssessment:T.default,OutboundLinksAssessment:E.default,PageTitleWidthAssessment:v.default,ProductIdentifiersAssessment:R.default,ProductSKUAssessment:D.default,SingleH1Assessment:A.default,SubheadingsKeywordAssessment:b.default,TextCompetingLinksAssessment:S.default,TextLengthAssessment:O.default,TextTitleAssessment:P.default,SlugKeywordAssessment:w.SlugKeywordAssessment,UrlKeywordAssessment:w.UrlKeywordAssessment},t.inclusiveLanguage={InclusiveLanguageAssessment:M.default}},97758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=o(r(9017)),i=o(r(73054)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this._config=(0,s.merge)({urlTitle:"https://yoa.st/shopify38",urlCallToAction:"https://yoa.st/shopify39",scores:{bad:3,good:9},callbacks:{}},e),this.identifier="listsPresence"}findList(e){return e.getTree().findAll((e=>"ul"===e.name||"ol"===e.name)).some((e=>e.childNodes.some((e=>"li"===e.name&&e.childNodes.some((e=>"p"===e.name))))))}getResult(e){this.textContainsList=this.findList(e);const t=this.calculateResult(),r=new i.default;return r.setScore(t.score),r.setText(t.resultText),r}calculateResult(){const{good:e,bad:t}=this.getFeedbackStrings();return this.textContainsList?{score:this._config.scores.good,resultText:e}:{score:this._config.scores.bad,resultText:t}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:"%1$sLists%3$s: There is at least one list on this page. Great!",bad:"%1$sLists%3$s: No lists appear on this page. %2$sAdd at least one ordered or unordered list%3$s!"};return(0,s.mapValues)(r,(r=>this.formatResultText(r,e,t)))}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}}t.default=l},40774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=r(49061),a=r(76663),o=c(r(73054)),l=c(r(41054)),u=c(r(9017));function c(e){return e&&e.__esModule?e:{default:e}}class d extends u.default{constructor(e={},t=!1){super();const r={urlTitle:(0,i.createAnchorOpeningTag)("https://yoa.st/35d"),urlCallToAction:(0,i.createAnchorOpeningTag)("https://yoa.st/35e"),countCharacters:!1,parameters:{recommendedLength:150,maximumRecommendedLength:200}};this.identifier="textParagraphTooLong",this._config=(0,n.merge)(r,e),this._isProduct=t}getTooLongParagraphs(e,t){return e.filter((e=>e.paragraphLength>t.parameters.recommendedLength))}getConfig(e){const t=this._config,r=e.getConfig("paragraphLength");return r&&(t.parameters=this._isProduct?r.productPageParams:r.defaultPageParams),t}getScore(e,t){if(0===e.length)return 9;const r=e.sort(((e,t)=>t.paragraphLength-e.paragraphLength))[0].paragraphLength;let s;return r<=t.parameters.recommendedLength&&(s=9),(0,a.inRangeEndInclusive)(r,t.parameters.recommendedLength,t.parameters.maximumRecommendedLength)&&(s=6),r>t.parameters.maximumRecommendedLength&&(s=3),s}calculateResult(e,t){const r=this.getTooLongParagraphs(e,t),n=new o.default,i=this.getScore(e,t);if(n.setScore(i),i>=7)return n.setHasMarks(!1),n.setText((0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sParagraph length%2$s: There are no paragraphs that are too long. Great job!","wordpress-seo"),t.urlTitle,"</a>")),n;const a=(0,s.sprintf)( /* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */ (0,s._n)("%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum number of words (%4$d). %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum number of words (%4$d). %5$sShorten your paragraphs%2$s!",r.length,"wordpress-seo"),t.urlTitle,"</a>",r.length,t.parameters.recommendedLength,t.urlCallToAction),l=(0,s.sprintf)( /* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */ (0,s._n)("%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum number of characters (%4$d). %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum number of characters (%4$d). %5$sShorten your paragraphs%2$s!",r.length,"wordpress-seo"),t.urlTitle,"</a>",r.length,t.parameters.recommendedLength,t.urlCallToAction);return n.setHasMarks(!0),n.setText(t.countCharacters?l:a),n.setHasAIFixes(!0),n}getMarks(e,t){const r=t.getResearch("getParagraphLength");return this.getTooLongParagraphs(r,this.getConfig(t)).flatMap((({paragraph:e})=>{const t=e.sourceCodeLocation;return new l.default({position:{startOffset:t.startTag?t.startTag.endOffset:t.startOffset,endOffset:t.endTag?t.endTag.startOffset:t.endOffset,startOffsetBlock:0,endOffsetBlock:t.endOffset-t.startOffset,clientId:e.clientId||"",attributeId:e.attributeId||"",isFirstSection:e.isFirstSection||!1}})}))}getResult(e,t){const r=t.getResearch("getParagraphLength");return this._config.countCharacters=!!t.getConfig("countCharacters"),this.calculateResult(r,this.getConfig(t))}}t.default=d},25636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=f(r(17179)),a=r(76663),o=f(r(15010)),l=r(49061),u=r(62240),c=f(r(73054)),d=f(r(41054)),h=f(r(9017));function f(e){return e&&e.__esModule?e:{default:e}}class p extends h.default{constructor(e={}){super();const t={urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/34t"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/34u")};this.identifier="passiveVoice",this._config=(0,n.merge)(t,e)}calculatePassiveVoiceResult(e){let t=0,r=0;0!==e.total&&(r=(0,i.default)(e.passives.length/e.total*100));const n=r>0;return r<=10&&(t=9),(0,a.inRangeEndInclusive)(r,10,15)&&(t=6),r>15&&(t=3),t>=7?{score:t,hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sPassive voice%2$s: You are not using too much passive voice. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:t,hasMarks:n,text:(0,s.sprintf)( /* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag, %3$s expands to the percentage of sentences in passive voice, %4$s expands to the recommended value. */ (0,s.__)("%1$sPassive voice%2$s: %3$s of the sentences contain passive voice, which is more than the recommended maximum of %4$s. %5$sTry to use their active counterparts%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",r+"%","10%",this._config.urlCallToAction)}}getMarks(e,t){const r=t.getResearch("getPassiveVoiceResult");return(0,n.map)(r.passives,(function(e){e=(0,u.stripIncompleteTags)(e);const t=(0,o.default)(e);return new d.default({original:e,marked:t})}))}getResult(e,t){const r=t.getResearch("getPassiveVoiceResult"),s=this.calculatePassiveVoiceResult(r),n=new c.default;return n.setScore(s.score),n.setText(s.text),n.setHasMarks(s.hasMarks),n}isApplicable(e,t){return t.hasResearch("getPassiveVoiceResult")}}t.default=p},38196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=r(65736),i=r(49061),a=u(r(73054)),o=u(r(41054)),l=u(r(9017));function u(e){return e&&e.__esModule?e:{default:e}}class c extends l.default{constructor(e={}){super();const t={urlTitle:(0,i.createAnchorOpeningTag)("https://yoa.st/35f"),urlCallToAction:(0,i.createAnchorOpeningTag)("https://yoa.st/35g")};this.identifier="sentenceBeginnings",this._config=(0,s.merge)(t,e)}groupSentenceBeginnings(e){const t=(0,s.partition)(e,(e=>e.count>2));if(0===t[0].length)return{total:0,lowestCount:0};const r=(0,s.sortBy)(t[0],(e=>e.count));return{total:t[0].length,lowestCount:r[0].count}}calculateSentenceBeginningsResult(e){const t=new a.default;return e.total>0?(t.setScore(3),t.setHasMarks(!0),t.setText((0,n.sprintf)( /* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of consecutive sentences starting with the same word, %4$d expands to the number of instances where 3 or more consecutive sentences start with the same word. */ (0,n._n)("%1$sConsecutive sentences%2$s: The text contains %3$d consecutive sentences starting with the same word. %5$sTry to mix things up%2$s!","%1$sConsecutive sentences%2$s: The text contains %4$d instances where %3$d or more consecutive sentences start with the same word. %5$sTry to mix things up%2$s!",e.total,"wordpress-seo"),this._config.urlTitle,"</a>",e.lowestCount,e.total,this._config.urlCallToAction))):(t.setScore(9),t.setHasMarks(!1),t.setText((0,n.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,n.__)("%1$sConsecutive sentences%2$s: There are no repetitive sentence beginnings. That's great!","wordpress-seo"),this._config.urlTitle,"</a>"))),t}getMarks(e,t){return t.getResearch("getSentenceBeginnings").filter((e=>e.count>2)).flatMap((e=>e.sentences)).map((e=>{var t,r;const s=(null===(t=e.getFirstToken())||void 0===t?void 0:t.sourceCodeRange.startOffset)||0,n=(null===(r=e.getLastToken())||void 0===r?void 0:r.sourceCodeRange.endOffset)||0;return new o.default({position:{startOffset:s,endOffset:n,startOffsetBlock:s-(e.parentStartOffset||0),endOffsetBlock:n-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1}})}))}getResult(e,t){const r=t.getResearch("getSentenceBeginnings"),s=this.groupSentenceBeginnings(r);return this.calculateSentenceBeginningsResult(s)}isApplicable(e,t){return t.hasResearch("getSentenceBeginnings")}}t.default=c},86089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=d(r(9017)),a=d(r(17179)),o=r(76663),l=r(49061),u=d(r(73054)),c=d(r(41054));function d(e){return e&&e.__esModule?e:{default:e}}class h extends i.default{constructor(e={},t=!1,r=!1){super();const s={recommendedLength:20,slightlyTooMany:25,farTooMany:30,urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/34v"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/34w"),countCharacters:!1};this._config=(0,n.merge)(s,e),this._isCornerstone=t,this._isProduct=r,this.identifier="textSentenceLength"}getResult(e,t){const r=t.getResearch("countSentencesFromText");t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t)),this._config.countCharacters=!!t.getConfig("countCharacters");const s=this.calculatePercentage(r),n=this.calculateScore(s),i=new u.default;return n<9&&i.setHasAIFixes(!0),i.setScore(n),i.setText(this.translateScore(n,s)),i.setHasMarks(s>0),i}getMarks(e,t){const r=t.getResearch("countSentencesFromText");return t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t)),this.getTooLongSentences(r).map((e=>{const{sentence:t,firstToken:r,lastToken:s}=e,n=r.sourceCodeRange.startOffset,i=s.sourceCodeRange.endOffset;return new c.default({position:{startOffset:n,endOffset:i,startOffsetBlock:n-(t.parentStartOffset||0),endOffsetBlock:i-(t.parentStartOffset||0),clientId:t.parentClientId||"",attributeId:t.parentAttributeId||"",isFirstSection:t.isParentFirstSectionOfBlock||!1}})}))}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("sentenceLength");return r.hasOwnProperty("recommendedLength")&&(t.recommendedLength=r.recommendedLength),!0===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("cornerstonePercentages")?(0,n.merge)(t,r.cornerstonePercentages):!1===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("percentages")?(0,n.merge)(t,r.percentages):t}translateScore(e,t){if(e>=7)return(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSentence length%2$s: Great!","wordpress-seo"),this._config.urlTitle,"</a>");const r=(0,s.sprintf)( /* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length, %5$s expands to the recommended maximum percentage. */ (0,s._n)("%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d word, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.","%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d words, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.",this._config.recommendedLength,"wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.recommendedLength,this._config.slightlyTooMany+"%",this._config.urlCallToAction),n=(0,s.sprintf)( /* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length, %5$s expands to the recommended maximum percentage. */ (0,s._n)("%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d character, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.","%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d characters, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.",this._config.recommendedLength,"wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.recommendedLength,this._config.slightlyTooMany+"%",this._config.urlCallToAction);return this._config.countCharacters?n:r}calculatePercentage(e){let t=0;if(0!==e.length){const r=this.getTooLongSentences(e).length;t=(0,a.default)(r/e.length*100)}return t}calculateScore(e){let t;return e<=this._config.slightlyTooMany&&(t=9),(0,o.inRangeEndInclusive)(e,this._config.slightlyTooMany,this._config.farTooMany)&&(t=6),e>this._config.farTooMany&&(t=3),t}getTooLongSentences(e){return e.filter((e=>e.sentenceLength>this._config.recommendedLength))}}t.default=h},7261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=m(r(15010)),a=m(r(41054)),o=m(r(9017)),l=r(76663),u=r(49061),c=r(84285),d=m(r(1105)),h=m(r(73054)),f=r(62240),p=m(r(96908)),g=r(29866);function m(e){return e&&e.__esModule?e:{default:e}}class _ extends o.default{constructor(e={}){super();const t={parameters:{recommendedMaximumLength:300,slightlyTooMany:300,farTooMany:350},urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/34x"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/34y"),scores:{goodShortTextNoSubheadings:9,goodSubheadings:9,okSubheadings:6,badSubheadings:3,badLongTextNoSubheadings:2},cornerstoneContent:!1,countCharacters:!1};this.identifier="subheadingsTooLong",this._config=(0,n.merge)(t,e)}checkTextBeforeFirstSubheadingLength(e){let t={isLong:!1,isVeryLong:!1};if(e.length>0&&""===e[0].subheading&&""!==e[0].text){const r=e[0].countLength;t={isLong:(0,l.inRangeEndInclusive)(r,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany),isVeryLong:r>this._config.parameters.farTooMany}}return t}getTextLength(e,t){const r=t.getHelper("customCountLength");let s=e.getText();return s=(0,p.default)(s),s=(0,g.filterShortcodesFromHTML)(s,e._attributes&&e._attributes.shortcodes),r?r(s):(0,d.default)(s).length}getResult(e,t){this._subheadingTextsLength=t.getResearch("getSubheadingTextLengths"),t.getConfig("subheadingsTooLong")&&(this._config=this.getLanguageSpecificConfig(t)),this._config.countCharacters=!!t.getConfig("countCharacters"),this._hasSubheadings=this.hasSubheadings(e),this._tooLongTextsNumber=this.getTooLongSubheadingTexts().length,this._textLength=this.getTextLength(e,t);const r=this.checkTextBeforeFirstSubheadingLength(this._subheadingTextsLength);this._subheadingTextsLength=this._subheadingTextsLength.sort(((e,t)=>t.countLength-e.countLength));const s=this.calculateResult(r),n=new h.default;return n.setIdentifier(this.identifier),n.setScore(s.score),n.setText(s.resultText),n.setHasMarks(s.hasMarks),n}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("subheadingsTooLong");return!0===t.cornerstoneContent&&Object.hasOwn(r,"cornerstoneParameters")?(0,n.merge)(t,r.cornerstoneParameters):(0,n.merge)(t,r.defaultParameters)}hasSubheadings(e){let t=e.getText();return t=(0,p.default)(t),t=(0,g.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),(0,c.getSubheadings)(t).length>0}getMarks(){return this.getTooLongSubheadingTexts().map((({subheading:e})=>{e=(0,f.stripFullTags)(e);const t=(0,i.default)(e);return new a.default({original:e,marked:t,fieldsToMark:["heading"]})})).filter((e=>""!==e.getOriginal()))}getTooLongSubheadingTexts(){return this._subheadingTextsLength.filter((e=>e.countLength>this._config.parameters.recommendedMaximumLength))}getFeedbackTexts(){return{beginning:e=>{const t=(0,s.sprintf)(/* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */ (0,s._n)("%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d word and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s","%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d words and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s",this._config.parameters.recommendedMaximumLength,"wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,this._config.parameters.recommendedMaximumLength),r=(0,s.sprintf)(/* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */ (0,s._n)("%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d character and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s","%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d characters and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s",this._config.parameters.recommendedMaximumLength,"wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,this._config.parameters.recommendedMaximumLength);return e?r:t},nonBeginning:e=>{const t=(0,s.sprintf)(/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */ (0,s._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than the recommended number of words (%4$d) and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than the recommended number of words (%4$d) and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction),r=(0,s.sprintf)(/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */ (0,s._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than the recommended number of characters (%4$d) and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than the recommended number of characters (%4$d) and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction);return e?r:t}}}calculateResultForLongTextWithoutSubheadings(e){const t=this.getFeedbackTexts();if(this._hasSubheadings){if(e.isLong&&this._tooLongTextsNumber<2)return{score:this._config.scores.okSubheadings,hasMarks:!1,resultText:t.beginning(this._config.countCharacters)};if(e.isVeryLong&&this._tooLongTextsNumber<2)return{score:this._config.scores.badSubheadings,hasMarks:!1,resultText:t.beginning(this._config.countCharacters)};const r=this._subheadingTextsLength[0].countLength;return r<=this._config.parameters.slightlyTooMany?{score:this._config.scores.goodSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:(0,l.inRangeEndInclusive)(r,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany)?{score:this._config.scores.okSubheadings,hasMarks:!0,resultText:t.nonBeginning(this._config.countCharacters)}:{score:this._config.scores.badSubheadings,hasMarks:!0,resultText:t.nonBeginning(this._config.countCharacters)}}return{score:this._config.scores.badLongTextNoSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, although your text is rather long. %3$sTry and add some subheadings%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}}calculateResult(e){return this._textLength>this._config.parameters.recommendedMaximumLength?this.calculateResultForLongTextWithoutSubheadings(e):this._hasSubheadings?{score:this._config.scores.goodSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.goodShortTextNoSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=_},57749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=l(r(9017)),i=l(r(41054)),a=l(r(73054)),o=r(49061);function l(e){return e&&e.__esModule?e:{default:e}}class u extends n.default{constructor(e={}){super(),this._config=(0,s.merge)({urlTitle:"https://yoa.st/assessment-alignment",urlCallToAction:"https://yoa.st/assessment-alignment-cta",scores:{bad:2},callbacks:{}},e),this.identifier="textAlignment"}getResult(e,t){const r=t.getResearch("getLongCenterAlignedTexts");this.numberOfLongCenterAlignedTexts=r.length;const s=new a.default;if(0===this.numberOfLongCenterAlignedTexts)return s;const n=this.calculateResult(e,this.numberOfLongCenterAlignedTexts);return s.setScore(n.score),s.setText(n.resultText),s.setHasMarks(!0),s}getMarks(e,t){return t.getResearch("getLongCenterAlignedTexts").map((e=>new i.default({position:{clientId:e.clientId||"",startOffset:e.sourceCodeLocation.startOffset,endOffset:e.sourceCodeLocation.endOffset,startOffsetBlock:0,endOffsetBlock:e.sourceCodeLocation.endOffset-e.sourceCodeLocation.startOffset}})))}isApplicable(e,t){return t.hasResearch("getLongCenterAlignedTexts")}calculateResult(e,t){const{rightToLeft:r,leftToRight:s}=this.getFeedbackStrings();if(t>0)return"RTL"===e.getWritingDirection()?{score:this._config.scores.bad,resultText:r}:{score:this._config.scores.bad,resultText:s}}getFeedbackStrings(){const e=(0,o.createAnchorOpeningTag)(this._config.urlTitle),t=(0,o.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={rightToLeft:"%1$sAlignment%3$s: There are long sections of center-aligned text. %2$sWe recommend making them right-aligned%3$s.",leftToRight:"%1$sAlignment%3$s: There are long sections of center-aligned text. %2$sWe recommend making them left-aligned%3$s."};return 1===this.numberOfLongCenterAlignedTexts&&(r.rightToLeft="%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.",r.leftToRight="%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s."),(0,s.mapValues)(r,(r=>this.formatResultText(r,e,t)))}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t,numberOfLongCenterAlignedTexts:this.numberOfLongCenterAlignedTexts})}}t.default=u},35780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(33140),i=l(r(73054)),a=l(r(9017)),o=r(92819);function l(e){return e&&e.__esModule?e:{default:e}}class u extends a.default{constructor(e={}){super();const t={urlTitle:(0,n.createAnchorOpeningTag)("https://yoa.st/35h"),urlCallToAction:(0,n.createAnchorOpeningTag)("https://yoa.st/35i")};this.identifier="textPresence",this._config=(0,o.merge)(t,e)}getResult(e){if(!this.hasEnoughContentForAssessment(e)){const e=new i.default;return e.setText((0,s.sprintf)( /* translators: %1$s and %3$s expand to links to articles on Yoast.com, %2$s expands to the anchor end tag*/ (0,s.__)("%1$sNot enough content%2$s: %3$sPlease add some content to enable a good analysis%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)),e.setScore(3),e}return new i.default}}t.default=u},62318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=d(r(17179)),a=r(76663),o=r(33140),l=d(r(73054)),u=d(r(41054)),c=d(r(9017));function d(e){return e&&e.__esModule?e:{default:e}}class h extends c.default{constructor(e={}){super();const t={urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/34z"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/35a"),transitionWordsNeededIfTextLongerThan:200};this.identifier="textTransitionWords",this._config=(0,n.merge)(t,e)}calculateTransitionWordPercentage(e){const{totalSentences:t,transitionWordSentences:r}=e;return 0===r||0===t?0:(0,i.default)(r/t*100)}calculateScoreFromPercentage(e){return e<20?3:(0,a.inRangeStartInclusive)(e,20,30)?6:9}calculateTransitionWordResult(e){const t=this.calculateTransitionWordPercentage(e),r=this.calculateScoreFromPercentage(t),n=t>0;return e.textLength<this._config.transitionWordsNeededIfTextLongerThan?t>0?{score:(0,i.default)(9),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sTransition words%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:(0,i.default)(9),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sTransition words%2$s: You are not using any transition words, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}:r<7&&0===t?{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s and %3$s expand to a link to yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sTransition words%2$s: None of the sentences contain transition words. %3$sUse some%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}:r<7?{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)( /* translators: %1$s and %4$s expand to a link to yoast.com, %2$s expands to the anchor end tag, %3$s expands to the percentage of sentences containing transition words */ (0,s.__)("%1$sTransition words%2$s: Only %3$s of the sentences contain transition words, which is not enough. %4$sUse more of them%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.urlCallToAction)}:{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sTransition words%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}}getResult(e,t){const r=t.getConfig("assessmentApplicability").transitionWords;r&&(this._config.transitionWordsNeededIfTextLongerThan=r);const s=t.getResearch("findTransitionWords"),n=this.calculateTransitionWordResult(s),i=new l.default;return i.setScore(n.score),i.setText(n.text),i.setHasMarks(n.hasMarks),i}getMarks(e,t){return t.getResearch("findTransitionWords").sentenceResults.map((({sentence:e})=>{var t,r;const s=(null===(t=e.getFirstToken())||void 0===t?void 0:t.sourceCodeRange.startOffset)||0,n=(null===(r=e.getLastToken())||void 0===r?void 0:r.sourceCodeRange.endOffset)||0;return new u.default({position:{startOffset:s,endOffset:n,startOffsetBlock:s-(e.parentStartOffset||0),endOffsetBlock:n-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1}})}))}isApplicable(e,t){return t.hasResearch("findTransitionWords")}}t.default=h},50791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=u(r(9017)),i=u(r(41054)),a=u(r(73054)),o=r(49061),l=r(48024);function u(e){return e&&e.__esModule?e:{default:e}}class c extends n.default{constructor(e={}){super(),this.identifier="wordComplexity",this._config=(0,s.merge)({scores:{acceptableAmount:6,goodAmount:9},urlTitle:"https://yoa.st/4ls",urlCallToAction:"https://yoa.st/4lt",callbacks:{}},e)}getResult(e,t){this._wordComplexity=t.getResearch("wordComplexity");const r=this.calculateResult(),s=new a.default;return s.setScore(r.score),s.setText(r.resultText),s.setHasMarks(r.hasMarks),s}calculateResult(){const e=this._wordComplexity.percentage,t=e>0,{goodAmount:r,acceptableAmount:s}=this.getFeedbackStrings();return e<10?{score:this._config.scores.goodAmount,hasMarks:t,resultText:r}:{score:this._config.scores.acceptableAmount,hasMarks:t,resultText:s}}getFeedbackStrings(){const e=(0,o.createAnchorOpeningTag)(this._config.urlTitle),t=(0,o.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={acceptableAmount:"%1$sWord complexity%3$s: Some words in your text are considered complex. %2$sTry to use shorter and more familiar words to improve readability%3$s.",goodAmount:"%1$sWord complexity%3$s: You are not using too many complex words, which makes your text easy to read. Good job!"};return(0,s.mapValues)(r,(r=>this.formatResultText(r,e,t)))}const r=this._wordComplexity.percentage;return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t,complexWordsPercentage:r})}getMarks(e,t){const r=t.getResearch("wordComplexity").complexWords,s=t.getHelper("matchWordCustomHelper"),n=[];return r.forEach((e=>{const t=e.complexWords,r=e.sentence;t.length>0&&n.push(new i.default({original:r,marked:(0,l.collectMarkingsInSentence)(r,t,s)}))})),n}isApplicable(e,t){return t.hasResearch("wordComplexity")}}t.default=c},3139:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(33140),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{onlyFunctionWords:0},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-1"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-2")};this.identifier="functionWordsInKeyphrase",this._config=(0,n.merge)(t,e)}getResult(e,t){this._functionWordsInKeyphrase=t.getResearch("functionWordsInKeyphrase"),this._keyword=(0,n.escape)(e.getKeyword());const r=new o.default;return this._functionWordsInKeyphrase&&(r.setScore(this._config.scores.onlyFunctionWords),r.setText((0,s.sprintf)( /** * translators: * %1$s and %2$s expand to links on yoast.com, * %3$s expands to the anchor end tag, * %4$s expands to the focus keyphrase of the article. */ (0,s.__)('%1$sFunction words in keyphrase%3$s: Your keyphrase "%4$s" contains function words only. %2$sLearn more about what makes a good keyphrase.%3$s',"wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._keyword)),r.setHasJumps(!0),r.setEditFieldName("keyphrase"),r.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo"))),r}isApplicable(e,t){return e.hasKeyword()&&t.hasResearch("functionWordsInKeyphrase")}}t.default=u},40826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=o(r(9017)),i=o(r(73054)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this.identifier="imageAltTags",this._config=(0,s.merge)({scores:{bad:3,good:9},urlTitle:"",urlCallToAction:"",callbacks:{}},e)}getResult(e,t){this.altTagsProperties=t.getResearch("altTagCount"),this.imageCount=t.getResearch("imageCount");const r=this.calculateResult(),s=new i.default;return s.setScore(r.score),s.setText(r.resultText),s}calculateResult(){const e=this.altTagsProperties.noAlt,{good:t,noImagesBad:r,noneHasAltBad:s,someHaveAltBad:n}=this.getFeedbackStrings();return 0===this.imageCount?{score:this._config.scores.bad,resultText:r}:e===this.imageCount?{score:this._config.scores.bad,resultText:s}:e>0?{score:this._config.scores.bad,resultText:n}:{score:this._config.scores.good,resultText:t}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction),r=this.altTagsProperties.noAlt;if(!this._config.callbacks.getResultTexts){const n={good:"%1$sImage alt attributes%3$s: All images have alt attributes. Good job!",noneHasAltBad:"%1$sImage alt attributes%3$s: None of the images have alt attributes. %2$sAdd alt attributes to your images%3$s!",noImagesBad:"%1$sImage alt attributes%3$s: This page does not have images with alt attributes. %2$sAdd some%3$s!",someHaveAltBad:"%1$sImage alt attributes%3$s: Some images don't have alt attributes. %2$sAdd alt attributes to your images%3$s!"};return 1===r&&(n.someHaveAltBad="%1$sImage alt attributes%3$s: One image doesn't have alt attributes. %2$sAdd alt attributes to your images%3$s!"),(0,s.mapValues)(n,(r=>this.formatResultText(r,e,t)))}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t,numberOfImagesWithoutAlt:r,totalNumberOfImages:this.imageCount})}}t.default=l},38754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=r(76663),a=u(r(9017)),o=r(49061),l=u(r(73054));function u(e){return e&&e.__esModule?e:{default:e}}class c extends a.default{constructor(e={},t=!1){super();const r={scores:{bad:3,good:9},recommendedCount:1,urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/4f4"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/4f5")};this.identifier="images",this._config=(0,n.merge)(r,e),this._countVideos=t}getResult(e,t){this.imageCount=t.getResearch("imageCount"),this.videoCount=t.getResearch("videoCount");const r=this.calculateResult(),s=new l.default;return s.setScore(r.score),s.setText(r.resultText),s}calculateResult(){const e=this._countVideos?this.imageCount+this.videoCount:this.imageCount;if(0===e)return this._countVideos?{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sImages and videos%3$s: No images or videos appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sImages%3$s: No images appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this._config.scores.okay){if((0,i.inRangeStartEndInclusive)(e,1,3)&&!this._countVideos)return{score:this._config.scores.okay,resultText:(0,s.sprintf)( /* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag, * %1$d expands to the number of images found in the text, * %2$d expands to the recommended number of images in the text, */ (0,s._n)("%3$sImages%5$s: Only %1$d image appears on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!","%3$sImages%5$s: Only %1$d images appear on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")};if((0,i.inRangeStartEndInclusive)(e,1,3)&&this._countVideos)return{score:this._config.scores.okay,resultText:(0,s.sprintf)( /* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag, * %1$d expands to the number of images found in the text, * %2$d expands to the recommended number of images in the text, */ (0,s._n)("%3$sImages and videos%5$s: Only %1$d image or video appears on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!","%3$sImages and videos%5$s: Only %1$d images or videos appear on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}return this._countVideos?{score:this._config.scores.good,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link on yoast.com, * %2$s expands to the anchor end tag. */ (0,s.__)("%1$sImages and videos%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.good,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link on yoast.com, * %2$s expands to the anchor end tag. */ (0,s.__)("%1$sImages%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=c},92922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={parameters:{recommendedMinimum:1},scores:{allInternalFollow:9,someInternalFollow:8,noneInternalFollow:7,noInternal:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33z"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34a")};this.identifier="internalLinks",this._config=(0,n.merge)(t,e)}getResult(e,t){this.linkStatistics=t.getResearch("getLinkStatistics");const r=new o.default,s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),r}calculateResult(){return 0===this.linkStatistics.internalTotal?{score:this._config.scores.noInternal,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sInternal links%3$s: No internal links appear in this page, %2$smake sure to add some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalNofollow===this.linkStatistics.internalTotal?{score:this._config.scores.noneInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sInternal links%3$s: The internal links in this page are all nofollowed. %2$sAdd some good internal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalDofollow===this.linkStatistics.internalTotal?{score:this._config.scores.allInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sInternal links%2$s: You have enough internal links. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.someInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sInternal links%2$s: There are both nofollowed and normal internal links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=u},90575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{good:9,okay:6,bad:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33e"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/33f")};this.identifier="introductionKeyword",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=new o.default;this._canAssess=!1,e.hasKeyword()&&e.hasText()&&(this._firstParagraphMatches=t.getResearch("findKeywordInFirstParagraph"),this._canAssess=!0);const s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),s.score<9&&r.setHasAIFixes(!0),r}calculateResult(){return this._canAssess?this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in introduction%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._firstParagraphMatches.foundInParagraph?{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms do not appear in the first paragraph. %2$sMake sure the topic is clear immediately%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in introduction%3$s: %2$sPlease add both a keyphrase and an introduction containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=u},58850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=o(r(9017)),i=o(r(73054)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this.identifier="keyphraseDistribution",this._config=(0,s.merge)({parameters:{maxGoodDistractionPercentage:30,maxAcceptableDistractionPercentage:50},scores:{good:9,okay:6,bad:1,noKeyphraseOrText:1},urlTitle:"https://yoa.st/33q",urlCallToAction:"https://yoa.st/33u",callbacks:{}},e)}getResult(e,t){this._canAssess=!1,this._keyphraseDistribution=t.getResearch("keyphraseDistribution"),e.hasKeyword()&&e.hasText()&&(this._canAssess=!0);const r=new i.default,s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),r.setHasMarks(s.hasMarks),s.score<9&&r.setHasAIFixes(!0),r}calculateResult(){var e;const{good:t,okay:r,bad:s,noKeyphraseOrText:n}=this.getFeedbackStrings(),i=this._keyphraseDistribution.keyphraseDistractionPercentage,a=(null===(e=this._keyphraseDistribution.sentencesToHighlight)||void 0===e?void 0:e.length)>0;return this._canAssess&&100!==i?i>this._config.parameters.maxAcceptableDistractionPercentage?{score:this._config.scores.bad,hasMarks:a,resultText:s}:i>this._config.parameters.maxGoodDistractionPercentage&&i<=this._config.parameters.maxAcceptableDistractionPercentage?{score:this._config.scores.okay,hasMarks:a,resultText:r}:{score:this._config.scores.good,hasMarks:a,resultText:t}:{score:this._config.scores.noKeyphraseOrText,hasMarks:a,resultText:n}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:"%1$sKeyphrase distribution%3$s: Good job!",okay:"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.",bad:"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.",noKeyphraseOrText:"%1$sKeyphrase distribution%3$s: %2$sPlease add both a keyphrase and some text containing the keyphrase or its synonyms%3$s."};return(0,s.mapValues)(r,(r=>this.formatResultText(r,e,t)))}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}getMarks(){return this._keyphraseDistribution.sentencesToHighlight}}t.default=l},8980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=u(r(9017)),a=r(76663),o=r(49061),l=u(r(73054));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={}){super();const t={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{withAltGoodNumberOfKeywordMatches:9,withAltTooFewKeywordMatches:6,withAltTooManyKeywordMatches:6,withAltNonKeyword:6,noAlt:6,noImagesOrKeyphrase:3},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/4f7"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/4f6")};this.identifier="imageKeyphrase",this._config=(0,n.merge)(t,e)}getResult(e,t){this.imageCount=t.getResearch("imageCount"),this.imageCount>0&&(this.altProperties=t.getResearch("altTagCount"),this._minNumberOfKeyphraseMatches=Math.ceil(this.imageCount*this._config.parameters.lowerBoundary),this._maxNumberOfKeyphraseMatches=Math.floor(this.imageCount*this._config.parameters.upperBoundary));const r=this.calculateResult(e),s=new l.default;return s.setScore(r.score),s.setText(r.resultText),s}hasTooFewMatches(){return this.imageCount>4&&this.altProperties.withAltKeyword>0&&this.altProperties.withAltKeyword<this._minNumberOfKeyphraseMatches}hasGoodNumberOfMatches(){return this.imageCount<5&&this.altProperties.withAltKeyword>0||5===this.imageCount&&(0,a.inRangeStartEndInclusive)(this.altProperties.withAltKeyword,2,4)||this.imageCount>4&&(0,a.inRangeStartEndInclusive)(this.altProperties.withAltKeyword,this._minNumberOfKeyphraseMatches,this._maxNumberOfKeyphraseMatches)}hasTooManyMatches(){return this.imageCount>4&&this.altProperties.withAltKeyword>this._maxNumberOfKeyphraseMatches}hasNoKeyphraseMatches(){return this.altProperties.withAltNonKeyword>0&&0===this.altProperties.withAltKeyword}calculateResult(e){return e.hasKeyword()&&0!==this.imageCount?this.hasNoKeyphraseMatches()?{score:this._config.scores.withAltNonKeyword,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in image alt attributes%3$s: Images on this page do not have alt attributes with at least half of the words from your keyphrase. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooFewMatches()?{score:this._config.scores.withAltTooFewKeywordMatches,resultText:(0,s.sprintf)( /* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase, * %2$d expands to the total number of images, %3$s and %4$s expand to links on yoast.com, * %5$s expands to the anchor end tag. */ (0,s._n)("%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, only %1$d has an alt attribute that reflects the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!","%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, only %1$d have alt attributes that reflect the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!",this.altProperties.withAltKeyword,"wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.withAltGoodNumberOfKeywordMatches,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link on yoast.com, * %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in image alt attributes%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.withAltTooManyKeywordMatches,resultText:(0,s.sprintf)( /* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase, * %2$d expands to the total number of images, %3$s and %4$s expand to a link on yoast.com, * %5$s expands to the anchor end tag. */ (0,s.__)("%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, %1$d have alt attributes with words from your keyphrase or synonyms. That's a bit much. %4$sOnly include the keyphrase or its synonyms when it really fits the image%5$s.","wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noAlt,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in image alt attributes%3$s: Images on this page do not have alt attributes that reflect the topic of your text. %2$sAdd your keyphrase or synonyms to the alt tags of relevant images%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noImagesOrKeyphrase,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in image alt attributes%3$s: This page does not have images, a keyphrase, or both. %2$sAdd some images with alt attributes that include the keyphrase or synonyms%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=c},46787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=u(r(67404)),a=u(r(9017)),o=r(49061),l=u(r(73054));function u(e){return e&&e.__esModule?e:{default:e}}class c extends a.default{constructor(e={}){super();const t={parameters:{recommendedPosition:0},scores:{good:9,okay:6,bad:2},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/33g"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/33h"),feedbackStrings:{bad:(0,s.__)("For the best SEO results write the exact match of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo")}};this.identifier="keyphraseInSEOTitle", /* translators: This is the name of the 'Keyphrase in SEO title' SEO assessment. It appears before the feedback in the analysis, for example in the feedback string: "Keyphrase in SEO title: The focus keyphrase appears at the beginning of the SEO title. Good job!" */ this.name=(0,s.__)("Keyphrase in SEO title","wordpress-seo"),this._config=(0,n.merge)(t,e)}getResult(e,t){const r=(0,i.default)(e.getLocale());this._canAssess=!1,e.hasKeyword()&&e.hasTitle()&&(this._keyphraseMatches=t.getResearch("findKeyphraseInSEOTitle"),this._keyphrase=(0,n.escape)(e.getKeyword()),this._canAssess=!0);const a=new l.default,o=this.calculateResult(this._keyphrase,r);return a.setScore(o.score),a.setText(o.resultText),a.getScore()<9&&(a.setHasJumps(!0),e.hasKeyword()?(a.setEditFieldName("title"),a.setEditFieldAriaLabel((0,s.__)("Edit your SEO title","wordpress-seo"))):(a.setEditFieldName("keyphrase"),a.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo")))),a}calculateResult(e,t){const r=this._config.urlTitle+this.name+"</a>";if(!this._canAssess)return{score:this._config.scores.bad,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$s: %2$sPlease add both a keyphrase and an SEO title beginning with the keyphrase%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")};const n=this._config.feedbackStrings;"ja"===t&&(n.bad=(0,s.__)("For the best SEO results include all words of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo"));const i=this._keyphraseMatches.exactMatchFound,a=this._keyphraseMatches.position,o=this._keyphraseMatches.allWordsFound,l=this._keyphraseMatches.exactMatchKeyphrase;return!0===i?0===a?{score:this._config.scores.good,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. */ (0,s.__)("%1$s: The exact match of the focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),r)}:{score:this._config.scores.okay,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$s: The exact match of the focus keyphrase appears in the SEO title, but not at the beginning. %2$sMove it to the beginning for the best results%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:o?"ja"===t?0===a?{score:this._config.scores.good,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. */ (0,s.__)("%1$s: The focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),r,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$s: Title does not begin with the focus keyphrase. %2$sMove your focus keyphrase to the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:l?{score:this._config.scores.bad,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>",e)}:{score:this._config.scores.bad,resultText:(0,s.sprintf)( /* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language) and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag, %4$s expands to the keyphrase of the article, %5$s expands to the call to action text. */ (0,s.__)('%1$s: Not all the words from your keyphrase "%4$s" appear in the SEO title. %2$s%5$s%3$s.',"wordpress-seo"),r,this._config.urlCallToAction,"</a>",e,n.bad)}}}t.default=c},99815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=c(r(9017)),a=r(49061),o=c(r(73054)),l=r(76663),u=c(r(83927));function c(e){return e&&e.__esModule?e:{default:e}}const d=Object.freeze({WORDS:"words",CONTENT_WORDS:"content words",CHARACTERS:"characters"});class h extends i.default{constructor(e,t=!1){super(),this.defaultConfig={parameters:{recommendedMinimum:1,recommendedMaximum:4,acceptableMaximum:8},parametersNoFunctionWordSupport:{recommendedMaximum:6,acceptableMaximum:9},scores:{veryBad:-999,bad:3,okay:6,good:9},countTextIn:d.WORDS,urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33i"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/33j"),isRelatedKeyphrase:!1},this.identifier="keyphraseLength",this._config=(0,n.merge)(this.defaultConfig,e),this._isProductPage=t}getResult(e,t){this._keyphraseLengthData=t.getResearch("keyphraseLength");const r=new o.default;t.getConfig("countCharacters")&&(this._config.countTextIn=d.CHARACTERS);const i=e.getKeyword();this._keyphraseLengthData.functionWords.length>0&&!(0,u.default)(i).exactMatchRequested&&(this._config.countTextIn=d.CONTENT_WORDS),t.getConfig("keyphraseLength")?this._config=this.getCustomConfig(t):0===this._keyphraseLengthData.functionWords.length&&(this._config.parameters=(0,n.merge)({},this._config.parameters,this._config.parametersNoFunctionWordSupport)),this._boundaries=this._config.parameters;const a=this.calculateResult();return r.setScore(a.score),r.setText(a.resultText),r.getScore()<9&&(r.setHasJumps(!0),r.setEditFieldName("keyphrase"),r.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo"))),r}getCustomConfig(e){const t=e.getConfig("keyphraseLength");return this._isProductPage&&Object.hasOwn(t,"productPages")?(0,n.merge)(this._config,t.productPages):(0,n.merge)(this._config,t.defaultAnalysis)}getFeedbackTexts(){return{firstSentence:e=>{const t=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d word.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d words.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>"),r=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d content word.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d content words.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d character.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d characters.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>");return e===d.WORDS?t:e===d.CONTENT_WORDS?r:n},moreThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's more than the recommended maximum of %1$d word. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's more than the recommended maximum of %1$d content word. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d content words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's more than the recommended maximum of %1$d character. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d characters. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},wayMoreThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way more than the recommended maximum of %1$d word. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way more than the recommended maximum of %1$d content word. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d content words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way more than the recommended maximum of %1$d character. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d characters. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},lessThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's less than the recommended minimum of %1$d word. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's less than the recommended minimum of %1$d content word. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d content words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's less than the recommended minimum of %1$d character. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d characters. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},wayLessThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way less than the recommended minimum of %1$d word. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way less than the recommended minimum of %1$d content word. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d content words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s That's way less than the recommended minimum of %1$d character. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d characters. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i}}}calculateResultForProduct(){if(0===this._keyphraseLengthData.keyphraseLength)return this.getNoKeyphraseFeedback();if((0,l.inRangeStartEndInclusive)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum))return{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")};const e=this.getFeedbackTexts(),t=e.firstSentence(this._config.countTextIn);return this._keyphraseLengthData.keyphraseLength<=this._boundaries.acceptableMinimum?{score:this._config.scores.bad,resultText:e.wayLessThanMinimum(this._config.countTextIn,t)}:this._keyphraseLengthData.keyphraseLength>this._boundaries.acceptableMaximum?{score:this._config.scores.bad,resultText:e.wayMoreThanMinimum(this._config.countTextIn,t)}:(0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.acceptableMinimum,this._boundaries.recommendedMinimum)?{score:this._config.scores.okay,resultText:e.lessThanMinimum(this._config.countTextIn,t)}:{score:this._config.scores.okay,resultText:e.moreThanMinimum(this._config.countTextIn,t)}}getNoKeyphraseFeedback(){return this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}calculateResult(){if(this._isProductPage)return this.calculateResultForProduct();if(this._keyphraseLengthData.keyphraseLength<this._boundaries.recommendedMinimum)return this.getNoKeyphraseFeedback();if((0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1))return{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")};const e=this.getFeedbackTexts(),t=e.firstSentence(this._config.countTextIn);return(0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._config.scores.okay,resultText:e.moreThanMinimum(this._config.countTextIn,t)}:{score:this._config.scores.bad,resultText:e.wayMoreThanMinimum(this._config.countTextIn,t)}}}t.default=h},70966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.KeywordDensityAssessment=t.KeyphraseDensityAssessment=void 0;var s=r(65736),n=r(92819),i=d(r(68055)),a=d(r(9017)),o=d(r(73054)),l=r(76663),u=r(49061),c=d(r(4913));function d(e){return e&&e.__esModule?e:{default:e}}class h extends a.default{constructor(e={}){super();const t={parameters:{noWordForms:{overMaximum:4,maximum:3,minimum:.5},multipleWordForms:{overMaximum:4,maximum:3.5,minimum:.5}},scores:{wayOverMaximum:-50,overMaximum:-10,correctDensity:9,underMinimum:4,noKeyphraseOrText:-50},urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/33v"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/33w")};this.identifier="keyphraseDensity",this._config=(0,n.merge)(t,e)}setBoundaries(e,t){this._boundaries=this._config.parameters.noWordForms,this._hasMorphologicalForms&&(this._boundaries=this._config.parameters.multipleWordForms),this._minRecommendedKeyphraseCount=(0,i.default)(e,this._boundaries.minimum,"min",t),this._maxRecommendedKeyphraseCount=(0,i.default)(e,this._boundaries.maximum,"max",t)}getResult(e,t){const r=new o.default;let s;if(this._canAssess=e.hasKeyword()&&e.hasText(),this._canAssess)if(this._keyphraseCount=t.getResearch("getKeyphraseCount"),this._keyphraseDensityResult=t.getResearch("getKeyphraseDensity"),this._textLength=this._keyphraseDensityResult.textLength,r.setHasMarks(this._keyphraseCount.count>0),this._textLength<100)this._minRecommendedKeyphraseCount=1,this._maxRecommendedKeyphraseCount=this._textLength>50?2:1,s=this.calculateResultShortText();else{var n,i;this._hasMorphologicalForms=!1!==t.getData("morphology");const e=this._keyphraseCount.keyphraseLength;this.setBoundaries(e,this._textLength);const r=null!==(n=null===(i=this._keyphraseDensityResult)||void 0===i?void 0:i.density)&&void 0!==n?n:0;this._keyphraseDensity=r*(0,c.default)(e),s=this.calculateResult()}else s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),(s.score===this._config.scores.underMinimum||s.score===this._config.scores.noKeyphraseOrText&&!this._canAssess)&&r.setHasAIFixes(!0),r}hasNoMatches(){return 0===this._keyphraseCount.count}hasTooFewMatches(){return(0,l.inRangeStartInclusive)(this._keyphraseDensity,0,this._boundaries.minimum)||1===this._keyphraseCount.count}hasGoodNumberOfMatches(){return(0,l.inRangeStartEndInclusive)(this._keyphraseDensity,this._boundaries.minimum,this._boundaries.maximum)||2===this._keyphraseCount.count&&this._minRecommendedKeyphraseCount<=2}hasTooManyMatches(){return(0,l.inRangeEndInclusive)(this._keyphraseDensity,this._boundaries.maximum,this._boundaries.overMaximum)}hasGoodNumberOfMatchesShortText(){return(0,l.inRangeStartEndInclusive)(this._keyphraseCount.count,this._minRecommendedKeyphraseCount,this._maxRecommendedKeyphraseCount)}hasTooManyMatchesShortText(){return this._keyphraseCount.count===this._maxRecommendedKeyphraseCount+1}getFeedbackStringsFirstSentence(){return(0,s.sprintf)( /* translators: %1$s expands to a link to Yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of times the keyphrase occurred in the text. */ (0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time.","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times.",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)}calculateResultShortText(){if(this.hasNoMatches())return{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)( /* translators: %1$s and %4$s expand to links to Yoast.com, %2$s expands to the anchor end tag, %3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */ (0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d time for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeyphraseCount,this._config.urlCallToAction)};if(this.hasGoodNumberOfMatchesShortText())return{score:this._config.scores.correctDensity,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link to Yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of times the keyphrase occurred in the text. */ (0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times. This is great!",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)};const e=this.getFeedbackStringsFirstSentence();return this.hasTooManyMatchesShortText()?{score:this._config.scores.overMaximum,resultText:(0,s.sprintf)( /* translators: %1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).", %2$d expands to the recommended maximum number of times the keyphrase should occur in the text, %3$s expands to a link to Yoast.com., %4$s expands to the anchor end tag, */ (0,s._n)("%1$s That's more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.wayOverMaximum,resultText:(0,s.sprintf)( /* translators: %1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).", %2$d expands to the recommended maximum number of times the keyphrase should occur in the text, %3$s expands to a link to Yoast.com., %4$s expands to the anchor end tag, */ (0,s._n)("%1$s That's way more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's way more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}}calculateResult(){if(!this._canAssess)return{score:this._config.scores.noKeyphraseOrText,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase density%3$s: %2$sPlease add both a keyphrase and some text containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this.hasNoMatches())return{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)( /* translators: %1$s and %4$s expand to links to Yoast.com, %2$s expands to the anchor end tag, %3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */ (0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d time for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeyphraseCount,this._config.urlCallToAction)};const e=this.getFeedbackStringsFirstSentence();return this.hasTooFewMatches()?{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)( /* translators: %1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).", %2$d expands to the recommended minimum number of times the keyphrase should occur in the text, %3$s expands to a link to Yoast.com., %4$s expands to the anchor end tag, */ (0,s._n)("%1$s That's less than the recommended minimum of %2$d time for a text of this length. %3$sFocus on your keyphrase%4$s!","%1$s That's less than the recommended minimum of %2$d times for a text of this length. %3$sFocus on your keyphrase%4$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),e,this._minRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.correctDensity,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link to Yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of times the keyphrase occurred in the text. */ (0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times. This is great!",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)}:this.hasTooManyMatches()?{score:this._config.scores.overMaximum,resultText:(0,s.sprintf)( /* translators: %1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).", %2$d expands to the recommended maximum number of times the keyphrase should occur in the text, %3$s expands to a link to Yoast.com., %4$s expands to the anchor end tag, */ (0,s._n)("%1$s That's more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.wayOverMaximum,resultText:(0,s.sprintf)( /* translators: %1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).", %2$d expands to the recommended maximum number of times the keyphrase should occur in the text, %3$s expands to a link to Yoast.com., %4$s expands to the anchor end tag, */ (0,s._n)("%1$s That's way more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's way more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}}getMarks(){return this._keyphraseCount.markings}}t.KeyphraseDensityAssessment=h,t.KeywordDensityAssessment=class extends h{constructor(e={}){super(e),this.identifier="keywordDensity",console.warn("This object is deprecated, use KeyphraseDensityAssessment instead.")}},t.default=h},34847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{good:9,bad:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33k"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/33l")};this.identifier="metaDescriptionKeyword",this._config=(0,n.merge)(t,e)}getResult(e,t){this._canAssess=!1,e.hasKeyword()&&e.hasDescription()&&(this._keyphraseCounts=t.getResearch("metaDescriptionKeyword"),this._canAssess=!0);const r=new o.default,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r.getScore()<9&&(r.setHasJumps(!0),e.hasKeyword()?(r.setEditFieldName("description"),r.setEditFieldAriaLabel((0,s.__)("Edit your meta description","wordpress-seo"))):(r.setEditFieldName("keyphrase"),r.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo")))),r}calculateResult(){return this._canAssess?1===this._keyphraseCounts||2===this._keyphraseCounts?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in meta description%2$s: Keyphrase or synonym appear in the meta description. Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._keyphraseCounts>=3?{score:this._config.scores.bad,resultText:(0,s.sprintf)( /** * translators: * %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag, * %3$s expands to the number of sentences containing the keyphrase, * %4$s expands to a link on yoast.com, %5$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in meta description%2$s: The meta description contains the keyphrase %3$s times, which is over the advised maximum of 2 times. %4$sLimit that%5$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCounts,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)( /** * translators: * %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. * %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in meta description%2$s: The meta description has been specified, but it does not contain the keyphrase. %3$sFix that%4$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in meta description%3$s: %2$sPlease add both a keyphrase and a meta description containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=u},70476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=u(r(9017)),a=r(49061),o=u(r(73054)),l=u(r(49581));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={}){super();const t={recommendedMaximumLength:120,maximumLength:156,scores:{noMetaDescription:1,tooLong:6,tooShort:6,correctLength:9},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/34d"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34e")};this.identifier="metaDescriptionLength",this._config=(0,n.merge)(t,e)}getMaximumLength(e){return this.getConfig(e).maximumLength}getConfig(e){let t=this._config;return"ja"===e&&(t=(0,n.merge)(t,l.default)),t}getResult(e,t){const r=t.getResearch("metaDescriptionLength"),n=new o.default,i=t.getConfig("language"),a=this.getConfig(i);return n.setScore(this.calculateScore(r,i)),n.setText(this.translateScore(r,a)),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName("description"),n.setEditFieldAriaLabel((0,s.__)("Edit your meta description","wordpress-seo"))),n.max=a.maximumLength,n.actual=r,n}calculateScore(e,t){const r=this.getConfig(t);return 0===e?r.scores.noMetaDescription:e<=this._config.recommendedMaximumLength?r.scores.tooShort:e>this._config.maximumLength?r.scores.tooLong:r.scores.correctLength}translateScore(e,t){return 0===e?(0,s.sprintf)(/* translators: %1$s and %2$s expand to a links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sMeta description length%3$s: No meta description has been specified. Search engines will display copy from the page instead. %2$sMake sure to write one%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>"):e<=t.recommendedMaximumLength?(0,s.sprintf)( /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag, %4$d expands to the number of characters in the meta description, %5$d expands to the total available number of characters in the meta description */ (0,s.__)("%1$sMeta description length%3$s: The meta description is too short (under %4$d characters). Up to %5$d characters are available. %2$sUse the space%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.recommendedMaximumLength,t.maximumLength):e>t.maximumLength?(0,s.sprintf)( /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag, %4$d expands to the total available number of characters in the meta description */ (0,s.__)("%1$sMeta description length%3$s: The meta description is over %4$d characters. To ensure the entire description will be visible, %2$syou should reduce the length%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.maximumLength):(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sMeta description length%2$s: Well done!","wordpress-seo"),t.urlTitle,"</a>")}}t.default=c},27661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{noLinks:3,allNofollowed:7,someNoFollowed:8,allFollowed:9},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/34f"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34g")};this.identifier="externalLinks",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=t.getResearch("getLinkStatistics"),s=new o.default;return(0,n.isEmpty)(r)||(s.setScore(this.calculateScore(r)),s.setText(this.translateScore(r))),s}calculateScore(e){return 0===e.externalTotal?this._config.scores.noLinks:e.externalNofollow===e.externalTotal?this._config.scores.allNofollowed:e.externalDofollow<e.externalTotal?this._config.scores.someNoFollowed:e.externalDofollow===e.externalTotal?this._config.scores.allFollowed:0}translateScore(e){return 0===e.externalTotal?(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sOutbound links%3$s: No outbound links appear in this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalNofollow===e.externalTotal?(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sOutbound links%3$s: All outbound links on this page are nofollowed. %2$sAdd some normal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalDofollow===e.externalTotal?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sOutbound links%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e.externalDofollow<e.externalTotal?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sOutbound links%2$s: There are both nofollowed and normal outbound links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):""}}t.default=u},46430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=u(r(9017)),a=r(76663),o=r(33140),l=u(r(73054));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={},t=!1){super();const r={minLength:400,maxLength:600,scores:{noTitle:1,widthTooShort:6,widthTooLong:3,widthCorrect:9},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/34h"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/34i")};this._allowShortTitle=t,this.identifier="titleWidth",this._config=(0,n.merge)(r,e)}getMaximumLength(){return 600}getResult(e,t){const r=t.getResearch("pageTitleWidth"),n=new l.default;return n.setScore(this.calculateScore(r)),n.setText(this.translateScore(r)),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName("title"),n.setEditFieldAriaLabel((0,s.__)("Edit your SEO title","wordpress-seo"))),n.max=this._config.maxLength,n.actual=r,n}calculateScore(e){return(0,a.inRangeEndInclusive)(e,1,400)?this._config.scores.widthTooShort:(0,a.inRangeEndInclusive)(e,this._config.minLength,this._config.maxLength)?this._config.scores.widthCorrect:e>this._config.maxLength?this._config.scores.widthTooLong:this._config.scores.noTitle}translateScore(e){return(0,a.inRangeEndInclusive)(e,1,400)?this._allowShortTitle?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sSEO title width%3$s: The SEO title is too short. %2$sUse the space to add keyphrase variations or create compelling call-to-action copy%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):(0,a.inRangeEndInclusive)(e,this._config.minLength,this._config.maxLength)?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e>this._config.maxLength?(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sSEO title width%3$s: The SEO title is wider than the viewable limit. %2$sTry to make it shorter%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sSEO title width%3$s: %2$sPlease create an SEO title%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}t.default=c},76369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=o(r(9017)),i=o(r(73054)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this.identifier="productIdentifier",this._config=(0,s.merge)({scores:{good:9,ok:6},urlTitle:"https://yoa.st/4ly",urlCallToAction:"https://yoa.st/4lz",assessVariants:!1,shouldShowEditButton:!1,editFieldAriaLabel:"Edit your product identifiers",callbacks:{}},e)}getResult(e){const t=e.getCustomData(),r=this.scoreProductIdentifier(t,this._config),s=new i.default;return r&&(s.setScore(r.score),s.setText(r.text)),s.getScore()<9&&this._config.shouldShowEditButton&&(s.setHasJumps(!0),s.setEditFieldName("productIdentifier"),s.setEditFieldAriaLabel(this._config.editFieldAriaLabel)),s}isApplicable(e){const t=e.getCustomData();return!(!1===t.canRetrieveGlobalIdentifier&&(["simple","external","grouped"].includes(t.productType)||!1===t.hasVariants)||!1===t.canRetrieveVariantIdentifiers&&!0===t.hasVariants&&"variable"===t.productType||!1===this._config.assessVariants&&t.hasVariants)}scoreProductIdentifier(e,t){const{good:r,okay:s}=this.getFeedbackStrings();return["simple","grouped","external"].includes(e.productType)||"variable"===e.productType&&!e.hasVariants?e.hasGlobalIdentifier?{score:t.scores.good,text:r.withoutVariants}:{score:t.scores.ok,text:s.withoutVariants}:"variable"===e.productType&&e.hasVariants?e.doAllVariantsHaveIdentifier?{score:t.scores.good,text:r.withVariants}:{score:t.scores.ok,text:s.withVariants}:{}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:{withoutVariants:"%1$sProduct identifier%3$s: Your product has an identifier. Good job!",withVariants:"%1$sProduct identifier%3$s: All your product variants have an identifier. Good job!"},okay:{withoutVariants:"%1$sProduct identifier%3$s: Your product is missing an identifier (like a GTIN code). %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s",withVariants:"%1$sProduct identifier%3$s: Not all your product variants have an identifier. %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s"}};return r.good=(0,s.mapValues)(r.good,(r=>this.formatResultText(r,e,t))),r.okay=(0,s.mapValues)(r.okay,(r=>this.formatResultText(r,e,t))),r}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}}t.default=l},11842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=o(r(9017)),i=o(r(73054)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this.identifier="productSKU",this._config=(0,s.merge)({scores:{good:9,ok:6},urlTitle:"https://yoa.st/4lw",urlCallToAction:"https://yoa.st/4lx",assessVariants:!1,shouldShowEditButton:!1,editFieldAriaLabel:"Edit your SKU",callbacks:{}},e)}getResult(e){const t=e.getCustomData(),r=this.scoreProductSKU(t,this._config),s=new i.default;return r&&(s.setScore(r.score),s.setText(r.text)),s.getScore()<9&&this._config.shouldShowEditButton&&(s.setHasJumps(!0),s.setEditFieldName("productSKU"),s.setEditFieldAriaLabel(this._config.editFieldAriaLabel)),s}isApplicable(e){const t=e.getCustomData();return!(!1===t.canRetrieveGlobalSku&&(["simple","external"].includes(t.productType)||!1===t.hasVariants)||!1===t.canRetrieveVariantSkus&&!0===t.hasVariants&&"variable"===t.productType||!1===this._config.assessVariants&&t.hasVariants)}scoreProductSKU(e,t){const{good:r,okay:s}=this.getFeedbackStrings();return["simple","external","grouped"].includes(e.productType)||"variable"===e.productType&&!e.hasVariants?e.hasGlobalSKU?{score:t.scores.good,text:r.withoutVariants}:{score:t.scores.ok,text:s.withoutVariants}:"variable"===e.productType&&e.hasVariants?e.doAllVariantsHaveSKU?{score:t.scores.good,text:r.withVariants}:{score:t.scores.ok,text:s.withVariants}:{}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:{withoutVariants:"%1$sSKU%3$s: Your product has a SKU. Good job!",withVariants:"%1$sSKU%3$s: All your product variants have a SKU. Good job!"},okay:{withoutVariants:"%1$sSKU%3$s: Your product is missing a SKU. %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s",withVariants:"%1$sSKU%3$s: Not all your product variants have a SKU. %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s"}};return r.good=(0,s.mapValues)(r.good,(r=>this.formatResultText(r,e,t))),r.okay=(0,s.mapValues)(r.okay,(r=>this.formatResultText(r,e,t))),r}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}}t.default=l},47502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=c(r(9017)),a=r(49061),o=c(r(15010)),l=c(r(73054)),u=c(r(41054));function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default{constructor(e={}){super();const t={scores:{good:8,bad:1},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/3a6"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/3a7")};this.identifier="singleH1",this._config=(0,n.merge)(t,e)}getResult(e,t){this._h1s=t.getResearch("h1s");const r=new l.default,s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),1===s.score&&r.setHasMarks(!0),r}calculateResult(){return this._h1s.length<=1?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sSingle title%2$s: You don't have multiple H1 headings, well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._h1s.length>1?{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sSingle title%3$s: H1s should only be used as your main title. Find all H1s in your text that aren't your main title and %2$schange them to a lower heading level%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:void 0}getMarks(){return this._h1s.map((function(e){return new u.default({original:"<h1>"+e.content+"</h1>",marked:"<h1>"+(0,o.default)(e.content)+"</h1>",position:{startOffset:e.position.startOffset,endOffset:e.position.endOffset,startOffsetBlock:0,endOffsetBlock:e.position.endOffset-e.position.startOffset,clientId:e.position.clientId}})}))}}t.default=d},17915:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=r(84285),a=c(r(9017)),o=r(33140),l=r(76663),u=c(r(73054));function c(e){return e&&e.__esModule?e:{default:e}}class d extends a.default{constructor(e={}){super();const t={parameters:{lowerBoundary:.3,recommendedMaximumLength:300,upperBoundary:.75},scores:{noKeyphraseOrText:1,badLongTextNoSubheadings:2,noMatches:3,tooFewMatches:3,goodNumberOfMatches:9,goodShortTextNoSubheadings:9,tooManyMatches:3},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/33m"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/33n"),cornerstoneContent:!1};this.identifier="subheadingsKeyword",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=t.getConfig("subheadingsTooLong");r&&(this._config=this.getLanguageSpecificConfig(t,r)),this._subHeadingsResearchResult=t.getResearch("matchKeywordInSubheadings");const s=new u.default;this._minNumberOfSubheadings=Math.ceil(this._subHeadingsResearchResult.count*this._config.parameters.lowerBoundary),this._maxNumberOfSubheadings=Math.floor(this._subHeadingsResearchResult.count*this._config.parameters.upperBoundary);const n=this.calculateResult(e);return s.setScore(n.score),s.setText(n.resultText),s}getLanguageSpecificConfig(e,t){const r=this._config;return!0===r.cornerstoneContent&&Object.hasOwn(t,"cornerstoneParameters")?(0,n.merge)(r,t.cornerstoneParameters):(0,n.merge)(r,t.defaultParameters)}hasSubheadings(e){return(0,i.getSubheadingsTopLevel)(e.getText()).length>0}hasTooFewMatches(){return this._subHeadingsResearchResult.matches>0&&this._subHeadingsResearchResult.matches<this._minNumberOfSubheadings}hasTooManyMatches(){return this._subHeadingsResearchResult.count>1&&this._subHeadingsResearchResult.matches>this._maxNumberOfSubheadings}isOneOfOne(){return 1===this._subHeadingsResearchResult.count&&1===this._subHeadingsResearchResult.matches}hasGoodNumberOfMatches(){return(0,l.inRangeStartEndInclusive)(this._subHeadingsResearchResult.matches,this._minNumberOfSubheadings,this._maxNumberOfSubheadings)}getResultForNoSubheadings(){const e=this._subHeadingsResearchResult.textLength;return e>=this._config.parameters.recommendedMaximumLength?{score:this._config.scores.badLongTextNoSubheadings,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%3$s: You are not using any higher-level subheadings containing the keyphrase or its synonyms. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:e<this._config.parameters.recommendedMaximumLength?{score:this._config.scores.goodShortTextNoSubheadings,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com and %2$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%2$s: You are not using any higher-level subheadings containing the keyphrase or its synonyms, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}:void 0}calculateResult(e){return e.hasKeyword()&&e.hasText()?this.hasSubheadings(e)?this.hasTooFewMatches()?{score:this._config.scores.tooFewMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.tooManyMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%3$s: More than 75%% of your H2 and H3 subheadings reflect the topic of your copy. That's too much. %2$sDon't over-optimize%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.isOneOfOne()?{score:this._config.scores.goodNumberOfMatches,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of subheadings containing the keyphrase. */ (0,s.__)("%1$sKeyphrase in subheading%2$s: Your H2 or H3 subheading reflects the topic of your copy. Good job!","wordpress-seo"),this._config.urlTitle,"</a>",this._subHeadingsResearchResult.matches)}:this.hasGoodNumberOfMatches()?{score:this._config.scores.goodNumberOfMatches,resultText:(0,s.sprintf)( /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of subheadings containing the keyphrase. */ (0,s._n)("%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflects the topic of your copy. Good job!","%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflect the topic of your copy. Good job!",this._subHeadingsResearchResult.matches,"wordpress-seo"),this._config.urlTitle,"</a>",this._subHeadingsResearchResult.matches)}:{score:this._config.scores.noMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.getResultForNoSubheadings():{score:this._config.scores.noKeyphraseOrText,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sPlease add both a keyphrase and some text to receive relevant feedback%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=d},69360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={parameters:{recommendedMaximum:0},scores:{good:8,bad:2},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/34l"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34m")};this.identifier="textCompetingLinks",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=new o.default;this.totalAnchorsWithKeyphrase=t.getResearch("getAnchorsWithKeyphrase").anchorsWithKeyphraseCount;const s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),r.setHasMarks(!1),r}calculateResult(){return this.totalAnchorsWithKeyphrase===this._config.parameters.recommendedMaximum?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sCompeting links%2$s: There are no links which use your keyphrase or synonym as their anchor text. Nice!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.totalAnchorsWithKeyphrase>this._config.parameters.recommendedMaximum?{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sCompeting links%3$s: You have a link which uses your keyphrase or synonym as its anchor text. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:void 0}}t.default=u},57480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={recommendedMinimum:300,slightlyBelowMinimum:250,belowMinimum:200,veryFarBelowMinimum:100,scores:{recommendedMinimum:9,slightlyBelowMinimum:6,belowMinimum:3,farBelowMinimum:-10,veryFarBelowMinimum:-20},countCharacters:!1,urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/34n"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34o"),cornerstoneContent:!1,customContentType:""};this.identifier="textLength",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=t.getResearch("wordCountInText");t.getConfig("textLength")&&(this._config=this.getLanguageSpecificConfig(t)),this._config.countCharacters=!!t.getConfig("countCharacters");const s=this.calculateResult(r.count),n=new o.default;return n.setScore(s.score),n.setText(s.resultText),n}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("textLength");return Object.hasOwn(r,t.customContentType)?(0,n.merge)(t,r[t.customContentType]):!0===t.cornerstoneContent&&""===t.customContentType&&Object.hasOwn(r,"defaultCornerstone")?(0,n.merge)(t,r.defaultCornerstone):(0,n.merge)(t,r.defaultAnalysis)}getFeedbackTexts(){return{firstSentence:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s._n)("%2$sText length%3$s: The text contains %1$d word.","%2$sText length%3$s: The text contains %1$d words.",t,"wordpress-seo"),t,this._config.urlTitle,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s._n)("%2$sText length%3$s: The text contains %1$d character.","%2$sText length%3$s: The text contains %1$d characters.",t,"wordpress-seo"),t,this._config.urlTitle,"</a>");return e?n:r},good:e=>(0,s.sprintf)(/* translators: %1$s expands to the sentence "The text contains X word(s)." or "The text contains X character(s)." */ (0,s.__)("%1$s Good job!","wordpress-seo"),e),slightlyBelow:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is slightly below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is slightly below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is slightly below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is slightly below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r},below:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r},farBelow:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is far below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is far below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ (0,s._n)("%2$s This is far below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is far below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r}}}calculateTaxonomyResult(e){const t=this.getFeedbackTexts(),r=t.firstSentence(this._config.countCharacters,e);return e>=this._config.recommendedMinimum?{score:this._config.scores.recommendedMinimum,resultText:t.good(r)}:(0,n.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?{score:this._config.scores.slightlyBelowMinimum,resultText:t.slightlyBelow(this._config.countCharacters,r)}:(0,n.inRange)(e,this._config.veryFarBelowMinimum,this._config.slightlyBelowMinimum)?{score:this._config.scores.belowMinimum,resultText:t.below(this._config.countCharacters,r)}:{score:this._config.scores.veryFarBelowMinimum,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ (0,s.__)("%1$sText length%3$s: %2$sPlease add some content%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}calculateResult(e){if(["taxonomyAssessor","collectionSEOAssessor","collectionCornerstoneSEOAssessor"].includes(this._config.customContentType))return this.calculateTaxonomyResult(e);const t=this.getFeedbackTexts(),r=t.firstSentence(this._config.countCharacters,e);if(e>=this._config.recommendedMinimum)return{score:this._config.scores.recommendedMinimum,resultText:t.good(r)};if((0,n.inRange)(e,0,this._config.belowMinimum)){let s=this._config.scores.farBelowMinimum;return(0,n.inRange)(e,0,this._config.veryFarBelowMinimum)&&(s=this._config.scores.veryFarBelowMinimum),{score:s,resultText:t.farBelow(this._config.countCharacters,r)}}return(0,n.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?!1===this._config.cornerstoneContent?{score:this._config.scores.slightlyBelowMinimum,resultText:t.slightlyBelow(this._config.countCharacters,r)}:{score:this._config.scores.slightlyBelowMinimum,resultText:t.below(this._config.countCharacters,r)}:{score:this._config.scores.belowMinimum,resultText:t.below(this._config.countCharacters,r)}}}t.default=u},77428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=l(r(9017)),i=l(r(73054)),a=r(49061),o=r(81831);function l(e){return e&&e.__esModule?e:{default:e}}class u extends n.default{constructor(e={}){super(),this.identifier="textTitleAssessment",this._config=(0,s.merge)({scores:{good:9,bad:-1e4},urlTitle:"https://yoa.st/4nh",urlCallToAction:"https://yoa.st/4ni",callbacks:{}},e)}getTextTitle(e){let t=e.getTextTitle();return t=(0,o.unifyAllSpaces)(t),t=t.trim(),t.length>0}getResult(e){const t=this.getTextTitle(e),r=this.calculateResult(t),s=new i.default;return s.setScore(r.score),s.setText(r.resultText),s}calculateResult(e){const{good:t,bad:r}=this.getFeedbackStrings();return e?{score:this._config.scores.good,resultText:t}:{score:this._config.scores.bad,resultText:r}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:"%1$sTitle%3$s: Your page has a title. Well done!",bad:"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!"};return(0,s.mapValues)(r,(r=>this.formatResultText(r,e,t)))}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}}t.default=u},80009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UrlKeywordAssessment=t.SlugKeywordAssessment=void 0;var s=r(65736),n=r(92819),i=l(r(9017)),a=r(49061),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{bad:3,okay:6,good:9},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33o"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/33p")};this.identifier="slugKeyword",this._config=(0,n.merge)(t,e)}getResult(e,t){this._canAssess=!1,e.hasKeyword()&&e.hasSlug()&&(this._keywordInSlug=t.getResearch("keywordCountInSlug"),this._canAssess=!0);const r=new o.default,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r.getScore()<9&&(r.setHasJumps(!0),e.hasKeyword()?(r.setEditFieldName("slug"),r.setEditFieldAriaLabel((0,s.__)("Edit your slug","wordpress-seo"))):(r.setEditFieldName("keyphrase"),r.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo")))),r}isApplicable(e,t){return!e.isFrontPage()&&t.hasResearch("keywordCountInSlug")}calculateResult(){return this._canAssess?this._keywordInSlug.keyphraseLength<3?100===this._keywordInSlug.percentWordMatches?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in slug%2$s: Great work!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this._keywordInSlug.percentWordMatches>50?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in slug%2$s: More than half of your keyphrase appears in the slug. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,s.__)("%1$sKeyphrase in slug%3$s: %2$sPlease add both a keyphrase and a slug containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.SlugKeywordAssessment=t.default=u,t.UrlKeywordAssessment=class extends u{constructor(e={}){super(e),this.identifier="urlKeyword",console.warn("This object is deprecated, use SlugKeywordAssessment instead.")}}},90488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(65736),n=r(92819),i=d(r(73054)),a=r(7104),o=d(r(49781)),l=d(r(85551)),u=d(r(52505)),c=r(47661);function d(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e,t){this.type="assessor",this.setResearcher(e),this._assessments=[],this.results=[],this._options=t||{},this._scoreAggregator=null}setResearcher(e){if((0,n.isUndefined)(e))throw new l.default("The assessor requires a researcher.");this._researcher=e}getAvailableAssessments(){return this._assessments}isApplicable(e,t,r){return void 0===e.isApplicable||e.isApplicable(t,r)}hasMarker(e){return(0,n.isFunction)(this._options.marker)&&(Object.hasOwn(e,"getMarks")||"function"==typeof e.getMarks)}getSpecificMarker(){return this._options.marker}getPaper(){return this._lastPaper}getMarker(e,t,r){const s=this._options.marker;return function(){let n=e.getMarks(t,r);n=(0,u.default)(n),s(t,n)}}assess(e){this._researcher.setPaper(e);const t=new o.default(this._researcher),r=e._attributes&&e._attributes.shortcodes;e.setTree((0,a.build)(e,t,r));let s=this.getAvailableAssessments();s=s.filter((t=>this.isApplicable(t,e,this._researcher))),this.setHasMarkers(!1),this.results=s.map((t=>this.executeAssessment(e,this._researcher,t))),this._lastPaper=e}setHasMarkers(e){this._hasMarkers=e}hasMarkers(){return this._hasMarkers}executeAssessment(e,t,r){let n;try{n=r.getResult(e,t),n.setIdentifier(r.identifier),n.hasMarks()&&(n.marks=r.getMarks(e,t),n.marks=(0,u.default)(n.marks)),n.hasMarks()&&this.hasMarker(r)&&(this.setHasMarkers(!0),n.setMarker(this.getMarker(r,e,t)))}catch(e){(0,c.showTrace)(e),n=new i.default,n.setScore(-1),n.setText((0,s.sprintf)(/* translators: %1$s expands to the name of the assessment. */ (0,s.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),r.identifier,e))}return n}getValidResults(){return this.results.filter((e=>this.isValidResult(e)))}isValidResult(e){return e.hasScore()&&e.hasText()}calculateOverallScore(){const e=this.getValidResults(),t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(t/(9*e.length)*100)||0}addAssessment(e,t){return Object.hasOwn(t,"identifier")||(t.identifier=e),this.getAssessment(t.identifier)&&this.removeAssessment(t.identifier),this._assessments.push(t),!0}removeAssessment(e){const t=this._assessments.findIndex((t=>Object.hasOwn(t,"identifier")&&e===t.identifier));-1!==t&&this._assessments.splice(t,1)}getAssessment(e){return this._assessments.find((t=>Object.hasOwn(t,"identifier")&&e===t.identifier))}getApplicableAssessments(){return this.getAvailableAssessments().filter((e=>this.isApplicable(e,this.getPaper(),this._researcher)))}getScoreAggregator(){return this._scoreAggregator}}},19334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(14174))&&s.__esModule?s:{default:s};class i extends n.default{constructor(e,t){super(e,t),this.type="collectionRelatedKeywordAssessor"}}t.default=i},16330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(92109)),n=o(r(57480)),i=r(49061),a=o(r(65748));function o(e){return e&&e.__esModule?e:{default:e}}class l extends s.default{constructor(e,t){super(e,t),this.type="collectionCornerstoneSEOAssessor",this.addAssessment("textLength",new n.default({recommendedMinimum:30,slightlyBelowMinimum:10,veryFarBelowMinimum:1,urlTitle:(0,i.createAnchorOpeningTag)("https://yoa.st/shopify58"),urlCallToAction:(0,i.createAnchorOpeningTag)("https://yoa.st/shopify59"),cornerstoneContent:!0,customContentType:this.type})),this._scoreAggregator=new a.default}}t.default=l},14174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=c(r(62178)),n=c(r(90575)),i=c(r(99815)),a=c(r(70966)),o=c(r(34847)),l=c(r(3139)),u=r(49061);function c(e){return e&&e.__esModule?e:{default:e}}class d extends s.default{constructor(e,t){super(e,t),this.type="collectionRelatedKeywordAssessor",this._assessments=[new n.default({urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify8"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify9")}),new i.default({isRelatedKeyphrase:!0,urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new a.default({urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify12"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify13")}),new o.default({urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new l.default({urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify50"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/shopify51")})]}}t.default=d},92109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=_(r(44885)),n=_(r(90575)),i=_(r(99815)),a=_(r(70966)),o=_(r(34847)),l=_(r(3139)),u=_(r(70476)),c=_(r(57480)),d=_(r(46787)),h=_(r(46430)),f=_(r(80009)),p=_(r(47502)),g=r(49061),m=_(r(65748));function _(e){return e&&e.__esModule?e:{default:e}}class y extends s.default{constructor(e,t){super(e,t),this.type="collectionSEOAssessor",this._assessments=[new n.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify8"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify9")}),new i.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new a.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify12"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify13")}),new o.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new u.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify47")}),new c.default({recommendedMinimum:30,slightlyBelowMinimum:10,veryFarBelowMinimum:1,urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify58"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify59"),customContentType:this.type}),new d.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify24"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify25")}),new h.default({scores:{widthTooShort:9},urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify52"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify53")},!0),new f.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify26"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify27")}),new l.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify50"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify51")}),new p.default({urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify54"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/shopify55")})],this._scoreAggregator=new m.default}}t.default=y},45632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=p(r(90488)),i=p(r(40774)),a=p(r(86089)),o=p(r(7261)),l=p(r(62318)),u=p(r(25636)),c=p(r(38196)),d=p(r(35780)),h=p(r(17413)),f=r(83819);function p(e){return e&&e.__esModule?e:{default:e}}class g extends n.default{constructor(e,t){super(e,t),this.type="contentAssessor",this._assessments=[new o.default,new i.default,new a.default,new l.default,new u.default,new d.default,new c.default],this._scoreAggregator=new f.ReadabilityScoreAggregator}calculatePenaltyPointsFullSupport(e){switch(e){case"bad":return 3;case"ok":return 2;default:return 0}}calculatePenaltyPointsPartialSupport(e){switch(e){case"bad":return 4;case"ok":return 2;default:return 0}}_allAssessmentsSupported(){const e=this._assessments.length;return this.getApplicableAssessments().length===e}calculatePenaltyPoints(){const e=this.getValidResults(),t=(0,s.map)(e,function(e){const t=(0,h.default)(e.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(t):this.calculatePenaltyPointsPartialSupport(t)}.bind(this));return(0,s.sum)(t)}_ratePenaltyPoints(e){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(e>6)return 30;if(e>4)return 60}else{if(e>4)return 30;if(e>2)return 60}return 90}calculateOverallScore(){if(0===this.getValidResults().length)return 30;const e=this.calculatePenaltyPoints();return this._ratePenaltyPoints(e)}}t.default=g},14539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(45632)),n=a(r(86089)),i=a(r(7261));function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="cornerstoneContentAssessor",this.addAssessment("subheadingsTooLong",new i.default({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},cornerstoneContent:!0})),this.addAssessment("textSentenceLength",new n.default({slightlyTooMany:20,farTooMany:25},!0))}}t.default=o},58557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(r(62178)),n=i(r(8980));function i(e){return e&&e.__esModule?e:{default:e}}class a extends s.default{constructor(e,t){super(e,t),this.type="cornerstoneRelatedKeywordAssessor",this.addAssessment("imageKeyphrase",new n.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}}))}}t.default=a},66225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=c(r(44885)),n=c(r(70476)),i=c(r(8980)),a=c(r(57480)),o=c(r(46430)),l=c(r(80009)),u=c(r(17915));function c(e){return e&&e.__esModule?e:{default:e}}class d extends s.default{constructor(e,t){super(e,t),this.type="cornerstoneSEOAssessor",this.addAssessment("metaDescriptionLength",new n.default({scores:{tooLong:3,tooShort:3}})),this.addAssessment("imageKeyphrase",new i.default({scores:{withAltNonKeyword:3,noAlt:3}})),this.addAssessment("textLength",new a.default({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},cornerstoneContent:!0})),this.addAssessment("titleWidth",new o.default({scores:{widthTooShort:9}},!0)),this.addAssessment("slugKeyword",new l.default({scores:{okay:3}})),this.addAssessment("subheadingsKeyword",new u.default({cornerstoneContent:!0,parameters:{recommendedMaximumLength:250}}))}}t.default=d},56466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(90488)),n=a(r(66064)),i=a(r(96682));function a(e){return e&&e.__esModule?e:{default:e}}const o={infoLinks:{}};class l extends s.default{constructor(e,t={}){super(e,t),this.type="inclusiveLanguageAssessor",this._options=Object.assign({},o,t);const r=this._options.infoLinks;this._assessments=n.default.map((e=>(r[e.category]&&(e.learnMoreUrl=r[e.category]),new i.default(e))))}calculateOverallScore(){const e=this.getValidResults(),t=e.filter((e=>6===e.getScore()));return e.filter((e=>3===e.getScore())).length>=1?30:t.length>=1?60:90}}t.default=l},90603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Assessor",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"CollectionCornerstoneRelatedKeywordAssessor",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"CollectionCornerstoneSEOAssessor",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"CollectionRelatedKeywordAssessor",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"CollectionSEOAssessor",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"ContentAssessor",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"CornerstoneContentAssessor",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"CornerstoneRelatedKeywordAssessor",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"CornerstoneSEOAssessor",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"InclusiveLanguageAssessor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"KeyphraseAssessor",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"KeyphraseUseAssessor",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"MetaDescriptionAssessor",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"ProductContentAssessor",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"ProductCornerstoneContentAssessor",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"ProductCornerstoneRelatedKeywordAssessor",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"ProductCornerstoneSEOAssessor",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"ProductRelatedKeywordAssessor",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"ProductSEOAssessor",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"RelatedKeywordAssessor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"RelatedKeywordTaxonomyAssessor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SEOAssessor",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"SeoTitleAssessor",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"StoreBlogCornerstoneSEOAssessor",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"StoreBlogSEOAssessor",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"StorePostsAndPagesContentAssessor",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"StorePostsAndPagesCornerstoneContentAssessor",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"StorePostsAndPagesCornerstoneRelatedKeywordAssessor",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"StorePostsAndPagesCornerstoneSEOAssessor",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"StorePostsAndPagesRelatedKeywordAssessor",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"StorePostsAndPagesSEOAssessor",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"TaxonomyAssessor",{enumerable:!0,get:function(){return u.default}});var s=M(r(90488)),n=M(r(45632)),i=M(r(56466)),a=M(r(62178)),o=M(r(56402)),l=M(r(44885)),u=M(r(40863)),c=M(r(14539)),d=M(r(58557)),h=M(r(66225)),f=M(r(19334)),p=M(r(16330)),g=M(r(14174)),m=M(r(92109)),_=M(r(72095)),y=M(r(25058)),T=M(r(79848)),E=M(r(63338)),v=M(r(906)),A=M(r(19067)),b=M(r(4960)),S=M(r(39725)),O=M(r(88110)),C=M(r(64181)),w=M(r(75279)),I=M(r(81712)),N=M(r(79483)),k=M(r(76525)),P=M(r(85802)),L=M(r(10367)),R=M(r(86953)),D=M(r(33003));function M(e){return e&&e.__esModule?e:{default:e}}},33003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(90488)),n=a(r(99815)),i=a(r(3139));function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="keyphraseAssessor",this._assessments=[new n.default,new i.default]}}t.default=o},86953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=l(r(90488)),n=l(r(90575)),i=l(r(70966)),a=l(r(17915)),o=l(r(8980));function l(e){return e&&e.__esModule?e:{default:e}}class u extends s.default{constructor(e,t){super(e,t),this.type="keyphraseUseAssessor",this._assessments=[new n.default,new i.default,new a.default,new o.default]}}t.default=u},85802:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(90488)),n=a(r(34847)),i=a(r(70476));function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="metaDescriptionAssessor",this._assessments=[new n.default,new i.default]}}t.default=o},63338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=d(r(45632)),n=d(r(7261)),i=d(r(40774)),a=d(r(86089)),o=d(r(62318)),l=d(r(25636)),u=d(r(35780)),c=r(49061);function d(e){return e&&e.__esModule?e:{default:e}}class h extends s.default{constructor(e,t){super(e,t),this.type="productContentAssessor",this._assessments=[new n.default({urlTitle:(0,c.createAnchorOpeningTag)(t.subheadingUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.subheadingCTAUrl)}),new i.default({parameters:{recommendedLength:70,maximumRecommendedLength:100},urlTitle:(0,c.createAnchorOpeningTag)(t.paragraphUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.paragraphCTAUrl)},!0),new a.default({slightlyTooMany:20,farTooMany:25,urlTitle:(0,c.createAnchorOpeningTag)(t.sentenceLengthUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.sentenceLengthCTAUrl)},!1,!0),new o.default({urlTitle:(0,c.createAnchorOpeningTag)(t.transitionWordsUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.transitionWordsCTAUrl)}),new l.default({urlTitle:(0,c.createAnchorOpeningTag)(t.passiveVoiceUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.passiveVoiceCTAUrl)}),new u.default({urlTitle:(0,c.createAnchorOpeningTag)(t.textPresenceUrlTitle),urlCallToAction:(0,c.createAnchorOpeningTag)(t.textPresenceCTAUrl)})]}}t.default=h},72095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(63338)),n=o(r(7261)),i=o(r(86089)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends s.default{constructor(e,t){super(e,t),this.type="productCornerstoneContentAssessor",this.addAssessment("subheadingsTooLong",new n.default({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},urlTitle:(0,a.createAnchorOpeningTag)(t.subheadingUrlTitle),urlCallToAction:(0,a.createAnchorOpeningTag)(t.subheadingCTAUrl),cornerstoneContent:!0})),this.addAssessment("textSentenceLength",new i.default({slightlyTooMany:15,farTooMany:20,urlTitle:(0,a.createAnchorOpeningTag)(t.sentenceLengthUrlTitle),urlCallToAction:(0,a.createAnchorOpeningTag)(t.sentenceLengthCTAUrl)},!0,!0))}}t.default=l},25058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(906)),n=a(r(8980)),i=r(49061);function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="productPageCornerstoneRelatedKeywordAssessor",this.addAssessment("imageKeyphrase",new n.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3},urlTitle:(0,i.createAnchorOpeningTag)(t.imageKeyphraseUrlTitle),urlCallToAction:(0,i.createAnchorOpeningTag)(t.imageKeyphraseCTAUrl)}))}}t.default=o},79848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=c(r(19067)),n=c(r(70476)),i=c(r(57480)),a=c(r(80009)),o=c(r(8980)),l=c(r(17915)),u=r(49061);function c(e){return e&&e.__esModule?e:{default:e}}class d extends s.default{constructor(e,t){super(e,t),this.type="productCornerstoneSEOAssessor",this.addAssessment("metaDescriptionLength",new n.default({scores:{tooLong:3,tooShort:3},urlTitle:(0,u.createAnchorOpeningTag)(t.metaDescriptionLengthUrlTitle),urlCallToAction:(0,u.createAnchorOpeningTag)(t.metaDescriptionLengthCTAUrl)})),this.addAssessment("textLength",new i.default({recommendedMinimum:400,slightlyBelowMinimum:300,belowMinimum:200,scores:{belowMinimum:-20,farBelowMinimum:-20},urlTitle:(0,u.createAnchorOpeningTag)(t.textLengthUrlTitle),urlCallToAction:(0,u.createAnchorOpeningTag)(t.textLengthCTAUrl),cornerstoneContent:!0,customContentType:this.type})),this.addAssessment("slugKeyword",new a.default({scores:{okay:3},urlTitle:(0,u.createAnchorOpeningTag)(t.urlKeyphraseUrlTitle),urlCallToAction:(0,u.createAnchorOpeningTag)(t.urlKeyphraseCTAUrl)})),this.addAssessment("imageKeyphrase",new o.default({scores:{withAltNonKeyword:3,noAlt:3},urlTitle:(0,u.createAnchorOpeningTag)(t.imageKeyphraseUrlTitle),urlCallToAction:(0,u.createAnchorOpeningTag)(t.imageKeyphraseCTAUrl)})),this.addAssessment("subheadingsKeyword",new l.default({cornerstoneContent:!0,parameters:{recommendedMaximumLength:250},urlTitle:(0,u.createAnchorOpeningTag)(t.subheadingsKeyphraseUrlTitle),urlCallToAction:(0,u.createAnchorOpeningTag)(t.subheadingsKeyphraseCTAUrl)}))}}t.default=d},906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(62178)),n=h(r(90575)),i=h(r(99815)),a=h(r(70966)),o=h(r(34847)),l=h(r(69360)),u=h(r(3139)),c=h(r(8980)),d=r(49061);function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="productPageRelatedKeywordAssessor",this._assessments=[new n.default({urlTitle:(0,d.createAnchorOpeningTag)(t.introductionKeyphraseUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.introductionKeyphraseCTAUrl)}),new i.default({parameters:{recommendedMinimum:4,recommendedMaximum:6,acceptableMaximum:8,acceptableMinimum:2},isRelatedKeyphrase:!0,urlTitle:(0,d.createAnchorOpeningTag)(t.keyphraseLengthUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.keyphraseLengthCTAUrl)},!0),new a.default({urlTitle:(0,d.createAnchorOpeningTag)(t.keyphraseDensityUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.keyphraseDensityCTAUrl)}),new o.default({urlTitle:(0,d.createAnchorOpeningTag)(t.metaDescriptionKeyphraseUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.metaDescriptionKeyphraseCTAUrl)}),new u.default({urlTitle:(0,d.createAnchorOpeningTag)(t.functionWordsInKeyphraseUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.functionWordsInKeyphraseCTAUrl)}),new l.default({urlTitle:(0,d.createAnchorOpeningTag)(t.textCompetingLinksUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.textCompetingLinksCTAUrl)}),new c.default({urlTitle:(0,d.createAnchorOpeningTag)(t.imageKeyphraseUrlTitle),urlCallToAction:(0,d.createAnchorOpeningTag)(t.imageKeyphraseCTAUrl)})]}}t.default=f},19067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=E(r(44885)),n=E(r(90575)),i=E(r(99815)),a=E(r(70966)),o=E(r(34847)),l=E(r(69360)),u=E(r(3139)),c=E(r(8980)),d=E(r(70476)),h=E(r(17915)),f=E(r(57480)),p=E(r(46787)),g=E(r(46430)),m=E(r(80009)),_=E(r(47502)),y=E(r(38754)),T=r(49061);function E(e){return e&&e.__esModule?e:{default:e}}class v extends s.default{constructor(e,t){super(e,t),this.type="productSEOAssessor",this._assessments=[new n.default({urlTitle:(0,T.createAnchorOpeningTag)(t.introductionKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.introductionKeyphraseCTAUrl)}),new i.default({parameters:{recommendedMinimum:4,recommendedMaximum:6,acceptableMaximum:8,acceptableMinimum:2},urlTitle:(0,T.createAnchorOpeningTag)(t.keyphraseLengthUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.keyphraseLengthCTAUrl)},!0),new a.default({urlTitle:(0,T.createAnchorOpeningTag)(t.keyphraseDensityUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.keyphraseDensityCTAUrl)}),new o.default({urlTitle:(0,T.createAnchorOpeningTag)(t.metaDescriptionKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.metaDescriptionKeyphraseCTAUrl)}),new d.default({urlTitle:(0,T.createAnchorOpeningTag)(t.metaDescriptionLengthUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.metaDescriptionLengthCTAUrl)}),new h.default({urlTitle:(0,T.createAnchorOpeningTag)(t.subheadingsKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.subheadingsKeyphraseCTAUrl)}),new l.default({urlTitle:(0,T.createAnchorOpeningTag)(t.textCompetingLinksUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.textCompetingLinksCTAUrl)}),new f.default({recommendedMinimum:200,slightlyBelowMinimum:150,belowMinimum:100,veryFarBelowMinimum:50,urlTitle:(0,T.createAnchorOpeningTag)(t.textLengthUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.textLengthCTAUrl),customContentType:this.type}),new p.default({urlTitle:(0,T.createAnchorOpeningTag)(t.titleKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.titleKeyphraseCTAUrl)}),new g.default({scores:{widthTooShort:9},urlTitle:(0,T.createAnchorOpeningTag)(t.titleWidthUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.titleWidthCTAUrl)},!0),new m.default({urlTitle:(0,T.createAnchorOpeningTag)(t.urlKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.urlKeyphraseCTAUrl)}),new u.default({urlTitle:(0,T.createAnchorOpeningTag)(t.functionWordsInKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.functionWordsInKeyphraseCTAUrl)}),new _.default({urlTitle:(0,T.createAnchorOpeningTag)(t.singleH1UrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.singleH1CTAUrl)}),new y.default({scores:{okay:6},recommendedCount:4,urlTitle:(0,T.createAnchorOpeningTag)(t.imageCountUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.imageCountCTAUrl)},t.countVideos),new c.default({urlTitle:(0,T.createAnchorOpeningTag)(t.imageKeyphraseUrlTitle),urlCallToAction:(0,T.createAnchorOpeningTag)(t.imageKeyphraseCTAUrl)})]}}t.default=v},62178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(90488)),n=h(r(90575)),i=h(r(99815)),a=h(r(70966)),o=h(r(34847)),l=h(r(69360)),u=h(r(3139)),c=h(r(8980)),d=h(r(65748));function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="relatedKeywordAssessor",this._assessments=[new n.default,new i.default({isRelatedKeyphrase:!0}),new a.default,new o.default,new u.default,new l.default,new c.default],this._scoreAggregator=new d.default}}t.default=f},56402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(62178))&&s.__esModule?s:{default:s};class i extends n.default{constructor(e,t){super(e,t),this.type="relatedKeywordsTaxonomyAssessor",this.removeAssessment("textCompetingLinks"),this.removeAssessment("imageKeyphrase")}}t.default=i},44885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=A(r(90488)),n=A(r(90575)),i=A(r(99815)),a=A(r(70966)),o=A(r(34847)),l=A(r(69360)),u=A(r(92922)),c=A(r(46787)),d=A(r(80009)),h=A(r(70476)),f=A(r(17915)),p=A(r(8980)),g=A(r(38754)),m=A(r(57480)),_=A(r(27661)),y=A(r(46430)),T=A(r(3139)),E=A(r(47502)),v=A(r(50734));function A(e){return e&&e.__esModule?e:{default:e}}class b extends s.default{constructor(e,t){super(e,t),this.type="SEOAssessor",this._assessments=[new n.default,new i.default,new a.default,new o.default,new h.default,new f.default,new l.default,new p.default,new g.default,new m.default,new _.default,new c.default,new u.default,new y.default({scores:{widthTooShort:9}},!0),new d.default,new T.default,new E.default],this._scoreAggregator=new v.default}}t.default=b},10367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(90488)),n=a(r(46430)),i=a(r(46787));function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="seoTitleAssessor",this._assessments=[new n.default,new i.default]}}t.default=o},4960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(39725)),n=o(r(70476)),i=o(r(80009)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends s.default{constructor(e,t){super(e,t),this.type="storeBlogCornerstoneSEOAssessor",this.addAssessment("metaDescriptionLength",new n.default({scores:{tooLong:3,tooShort:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify47")})),this.addAssessment("slugKeyword",new i.default({scores:{okay:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify26"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify27")}))}}t.default=l},39725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(44885)),n=h(r(99815)),i=h(r(34847)),a=h(r(70476)),o=h(r(46787)),l=h(r(46430)),u=h(r(80009)),c=h(r(3139)),d=r(49061);function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="storeBlogSEOAssessor",this._assessments=[new n.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new i.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new a.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify47")}),new o.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify24"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify25")}),new l.default({scores:{widthTooShort:9},urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify52"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify53")},!0),new u.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify26"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify27")}),new c.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify50"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify51")})]}}t.default=f},81712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(45632)),n=h(r(7261)),i=h(r(40774)),a=h(r(86089)),o=h(r(62318)),l=h(r(25636)),u=h(r(35780)),c=h(r(38196)),d=r(49061);function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesContentAssessor",this._assessments=[new n.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify68"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify69")}),new i.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify66"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify67")}),new a.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify48"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify49")}),new o.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify44"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify45")}),new l.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify42"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify43")}),new u.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify56"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify57")}),new c.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify5"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify65")})]}}t.default=f},88110:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(r(81712)),n=o(r(7261)),i=o(r(86089)),a=r(49061);function o(e){return e&&e.__esModule?e:{default:e}}class l extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesCornerstoneContentAssessor",this.addAssessment("subheadingsTooLong",new n.default({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify68"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify69"),cornerstoneContent:!0})),this.addAssessment("textSentenceLength",new i.default({slightlyTooMany:20,farTooMany:25,urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify48"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/shopify49")},!0))}}t.default=l},64181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(79483)),n=a(r(8980)),i=r(49061);function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesCornerstoneRelatedKeywordAssessor",this.addAssessment("imageKeyphrase",new n.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3},urlTitle:(0,i.createAnchorOpeningTag)("https://yoa.st/shopify22"),urlCallToAction:(0,i.createAnchorOpeningTag)("https://yoa.st/shopify23")}))}}t.default=o},75279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=u(r(76525)),n=u(r(70476)),i=u(r(57480)),a=u(r(80009)),o=u(r(8980)),l=r(49061);function u(e){return e&&e.__esModule?e:{default:e}}class c extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesCornerstoneSEOAssessor",this.addAssessment("metaDescriptionLength",new n.default({scores:{tooLong:3,tooShort:3},urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify47")})),this.addAssessment("textLength",new i.default({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify58"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify59"),cornerstoneContent:!0})),this.addAssessment("slugKeyword",new a.default({scores:{okay:3},urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify26"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify27")})),this.addAssessment("imageKeyphrase",new o.default({scores:{withAltNonKeyword:3,noAlt:3},urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify22"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/shopify23")}))}}t.default=c},79483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(62178)),n=h(r(90575)),i=h(r(99815)),a=h(r(70966)),o=h(r(34847)),l=h(r(69360)),u=h(r(3139)),c=h(r(8980)),d=r(49061);function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesRelatedKeywordAssessor",this._assessments=[new n.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify8"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify9")}),new i.default({isRelatedKeyphrase:!0,urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new a.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify12"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify13")}),new o.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new u.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify50"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify51")}),new l.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify18"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify19")}),new c.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify22"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify23")})]}}t.default=f},76525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=A(r(44885)),n=A(r(90575)),i=A(r(99815)),a=A(r(70966)),o=A(r(34847)),l=A(r(70476)),u=A(r(17915)),c=A(r(69360)),d=A(r(3139)),h=A(r(8980)),f=A(r(38754)),p=A(r(57480)),g=A(r(27661)),m=A(r(46787)),_=A(r(92922)),y=A(r(46430)),T=A(r(80009)),E=A(r(47502)),v=r(49061);function A(e){return e&&e.__esModule?e:{default:e}}class b extends s.default{constructor(e,t){super(e,t),this.type="storePostsAndPagesSEOAssessor",this._assessments=[new n.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify8"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify9")}),new i.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new a.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify12"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify13")}),new o.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new l.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify47")}),new u.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify16"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify17")}),new c.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify18"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify19")}),new h.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify22"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify23")}),new f.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify20"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify21")}),new p.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify58"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify59")}),new g.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify62"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify63")}),new m.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify24"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify25")}),new _.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify60"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify61")}),new y.default({scores:{widthTooShort:9},urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify52"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify53")},!0),new T.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify26"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify27")}),new d.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify50"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify51")}),new E.default({urlTitle:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify54"),urlCallToAction:(0,v.createAnchorOpeningTag)("https://yoa.st/shopify55")})]}}t.default=b},40863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTextLengthAssessment=t.default=void 0;var s=_(r(90488)),n=_(r(90575)),i=_(r(99815)),a=_(r(70966)),o=_(r(34847)),l=_(r(46787)),u=_(r(80009)),c=_(r(70476)),d=_(r(57480)),h=_(r(46430)),f=_(r(3139)),p=_(r(47502)),g=r(49061),m=_(r(50734));function _(e){return e&&e.__esModule?e:{default:e}}const y=()=>new d.default({recommendedMinimum:30,slightlyBelowMinimum:10,veryFarBelowMinimum:1,urlTitle:(0,g.createAnchorOpeningTag)("https://yoa.st/34j"),urlCallToAction:(0,g.createAnchorOpeningTag)("https://yoa.st/34k"),customContentType:"taxonomyAssessor"});t.getTextLengthAssessment=y;class T extends s.default{constructor(e,t){super(e,t),this.type="taxonomyAssessor",this._assessments=[new n.default,new i.default,new a.default,new o.default,new c.default,y(),new l.default,new h.default({scores:{widthTooShort:9}},!0),new u.default,new f.default,new p.default],this._scoreAggregator=new m.default}}t.default=T},76663:(e,t)=>{"use strict";function r(e,t,r){return e>t&&e<=r}function s(e,t,r){return e>=t&&e<r}function n(e,t,r){return e>=t&&e<=r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.inRangeEndInclusive=t.inRange=r,t.inRangeStartEndInclusive=n,t.inRangeStartInclusive=s,t.default={inRange:r,inRangeStartInclusive:s,inRangeEndInclusive:r,inRangeStartEndInclusive:n}},4913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return.7+e/3}},68055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,s){if(0===s)return 0;const i=t*s/(100*(0,n.default)(e));return i<2?2:"min"===r?Math.ceil(i):Math.floor(i)};var s,n=(s=r(4913))&&s.__esModule?s:{default:s}},80572:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"scoreToRating",{enumerable:!0,get:function(){return n.default}});var s,n=(s=r(17413))&&s.__esModule?s:{default:s}},17413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return-1===e?"error":0===e?"feedback":e<=4?"bad":e>4&&e<=7?"ok":e>7?"good":""}},4855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819),n=a(r(17413)),i=a(r(1456));function a(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this.keyword=e.keyword,this.assessor=e.assessor,this.output=e.targets.output,this.overall=e.targets.overall||"overallScore",this.presenterConfig=(0,i.default)(),this._disableMarkerButtons=!1,this._activeMarker=!1}setKeyword(e){this.keyword=e}configHasProperty(e){return this.presenterConfig.hasOwnProperty(e)}getIndicator(e){return{className:this.getIndicatorColorClass(e),screenReaderText:this.getIndicatorScreenReaderText(e),fullText:this.getIndicatorFullText(e),screenReaderReadabilityText:this.getIndicatorScreenReaderReadabilityText(e)}}getIndicatorColorClass(e){return this.configHasProperty(e)?this.presenterConfig[e].className:""}getIndicatorScreenReaderText(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderText:""}getIndicatorScreenReaderReadabilityText(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderReadabilityText:""}getIndicatorFullText(e){return this.configHasProperty(e)?this.presenterConfig[e].fullText:""}resultToRating(e){return(0,s.isObject)(e)?(e.rating=(0,n.default)(e.score),e):""}getIndividualRatings(){const e={},t=this.sort(this.assessor.getValidResults()).map(this.resultToRating);return(0,s.forEach)(t,function(t,r){e[r]=this.addRating(t)}.bind(this)),e}excludeFromResults(e,t){return(0,s.difference)(e,t)}sort(e){const t=this.getUndefinedScores(e),r=this.excludeFromResults(e,t);return r.sort((function(e,t){return e.score-t.score})),t.concat(r)}getUndefinedScores(e){return e.filter((function(e){return(0,s.isUndefined)(e.score)||0===e.score}))}addRating(e){const t=this.getIndicator(e.rating);return t.text=e.text,t.identifier=e.getIdentifier(),e.hasMarker()&&(t.marker=e.getMarker()),t}getOverallRating(e){let t=0;return""===this.keyword||(0,s.isNumber)(e)&&(t=e/10),this.resultToRating({score:t})}markAssessment(e,t){this._activeMarker===e?(this.removeAllMarks(),this._activeMarker=!1):(t(),this._activeMarker=e),this.render()}disableMarker(){this._activeMarker=!1,this.render()}disableMarkerButtons(){this._disableMarkerButtons=!0,this.render()}enableMarkerButtons(){this._disableMarkerButtons=!1,this.render()}addMarkerEventHandler(e,t){document.getElementById(this.output).getElementsByClassName("js-assessment-results__mark-"+e)[0].addEventListener("click",this.markAssessment.bind(this,e,t))}render(){this.renderIndividualRatings(),this.renderOverallRating()}bindMarkButtons(e){(0,s.forEach)(e,function(e){e.hasOwnProperty("marker")&&this.addMarkerEventHandler(e.identifier,e.marker)}.bind(this))}removeAllMarks(){this.assessor.getSpecificMarker()(this.assessor.getPaper(),[])}renderIndividualRatings(){}renderOverallRating(){const e=this.getOverallRating(this.assessor.calculateOverallScore()),t=document.getElementById(this.overall);t&&(t.className="overallScore "+this.getIndicatorColorClass(e.rating))}}},9286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.READABILITY_SCORES=void 0;var s=a(r(67404)),n=r(80572),i=a(r(34115));function a(e){return e&&e.__esModule?e:{default:e}}const o={bad:3,ok:2,good:0},l={bad:4,ok:2,good:0},u=t.READABILITY_SCORES={GOOD:90,OKAY:60,NEEDS_IMPROVEMENT:30,NOT_AVAILABLE:0},c=["en","nl","de","it","ru","fr","es"];class d extends i.default{isFullySupported(e){if(e&&e.includes("_")){const t=(0,s.default)(e);return c.includes(t)}return!1}calculateScore(e,t){if(e){if(t>6)return u.NEEDS_IMPROVEMENT;if(t>4)return u.OKAY}else{if(t>4)return u.NEEDS_IMPROVEMENT;if(t>2)return u.OKAY}return u.GOOD}calculatePenalty(e){return e.reduce(((e,t)=>{const r=(0,n.scoreToRating)(t.getScore()),s=this.isFullySupported(this.locale)?o[r]:l[r];return s?e+s:e}),0)}getValidResults(e){return e.filter((e=>e.hasScore()&&e.hasText()))}aggregate(e){const t=this.getValidResults(e);if(t.length<=1)return u.NOT_AVAILABLE;const r=this.calculatePenalty(t),s=this.isFullySupported(this.locale);return this.calculateScore(s,r)}}t.default=d},50734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(34115))&&s.__esModule?s:{default:s};class i extends n.default{aggregate(e){const t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(100*t/(9*e.length))||0}}t.default=i},34115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{setLocale(e){this.locale=e}aggregate(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}}},65748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(50734))&&s.__esModule?s:{default:s};class i extends n.default{getValidResults(e){return e.filter((e=>e.hasScore()))}aggregate(e){const t=this.getValidResults(e);return super.aggregate(t)}}t.default=i},83819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReadabilityScoreAggregator",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"SEOScoreAggregator",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ScoreAggregator",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ValidOnlyResultsScoreAggregator",{enumerable:!0,get:function(){return n.default}});var s=o(r(9286)),n=o(r(65748)),i=o(r(34115)),a=o(r(50734));function o(e){return e&&e.__esModule?e:{default:e}}},73054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(92819),i=(s=r(41054))&&s.__esModule?s:{default:s};const a=()=>[];class o{constructor(e){this._hasScore=!1,this._identifier="",this._hasAIFixes=!1,this._hasMarks=!1,this._hasJumps=!1,this._hasEditFieldName=!1,this._hasEditFieldAriaLabel=!1,this._marker=a,this._hasBetaBadge=!1,this.score=0,this.text="",this.marks=[],this.editFieldName="",this.editFieldAriaLabel="",(0,n.isUndefined)(e)&&(e={}),(0,n.isUndefined)(e.score)||this.setScore(e.score),(0,n.isUndefined)(e.text)||this.setText(e.text),(0,n.isUndefined)(e.marks)||this.setMarks(e.marks),(0,n.isUndefined)(e._hasBetaBadge)||this.setHasBetaBadge(e._hasBetaBadge),(0,n.isUndefined)(e._hasJumps)||this.setHasJumps(e._hasJumps),(0,n.isUndefined)(e.editFieldName)||this.setEditFieldName(e.editFieldName),(0,n.isUndefined)(e.editFieldAriaLabel)||this.setEditFieldAriaLabel(e.editFieldAriaLabel),(0,n.isUndefined)(e._hasAIFixes)||this.setHasAIFixes(e._hasAIFixes)}hasScore(){return this._hasScore}getScore(){return this.score}setScore(e){(0,n.isNumber)(e)&&(this.score=e,this._hasScore=!0)}hasText(){return""!==this.text}getText(){return this.text}setText(e){(0,n.isUndefined)(e)&&(e=""),this.text=e}getMarks(){return this.marks}setMarks(e){(0,n.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)}setIdentifier(e){this._identifier=e}getIdentifier(){return this._identifier}setMarker(e){this._marker=e}hasMarker(){return this._hasMarks&&this._marker!==a}getMarker(){return this._marker}setHasMarks(e){this._hasMarks=e}hasMarks(){return this._hasMarks}setHasBetaBadge(e){this._hasBetaBadge=e}hasBetaBadge(){return this._hasBetaBadge}setHasJumps(e){this._hasJumps=e}hasJumps(){return this._hasJumps}hasEditFieldName(){return this._hasEditFieldName}getEditFieldName(){return this.editFieldName}setEditFieldName(e){""!==e&&(this.editFieldName=e,this._hasEditFieldName=!0)}hasEditFieldAriaLabel(){return this._hasEditFieldAriaLabel}getEditFieldAriaLabel(){return this.editFieldAriaLabel}setEditFieldAriaLabel(e){""!==e&&(this.editFieldAriaLabel=e,this._hasEditFieldAriaLabel=!0)}setHasAIFixes(e){this._hasAIFixes=e}hasAIFixes(){return this._hasAIFixes}serialize(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map((e=>e.serialize())),_hasBetaBadge:this._hasBetaBadge,_hasJumps:this._hasJumps,_hasAIFixes:this._hasAIFixes,editFieldName:this.editFieldName,editFieldAriaLabel:this.editFieldAriaLabel}}static parse(e){const t=new o({text:e.text,score:e.score,marks:e.marks.map((e=>i.default.parse(e))),_hasBetaBadge:e._hasBetaBadge,_hasJumps:e._hasJumps,_hasAIFixes:e._hasAIFixes,editFieldName:e.editFieldName,editFieldAriaLabel:e.editFieldAriaLabel});return t.setIdentifier(e.identifier),t}}t.default=o},41054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);const n={original:"",marked:"",fieldsToMark:[]};class i{constructor(e){e=e||{},(0,s.defaults)(e,n),this._properties=e,this.isValid()}getOriginal(){return this._properties.original}getMarked(){return this._properties.marked}getFieldsToMark(){return this._properties.fieldsToMark}getPosition(){return this._properties.position}getPositionStart(){return this._properties.position&&this._properties.position.startOffset}getPositionEnd(){return this._properties.position&&this._properties.position.endOffset}setPositionStart(e){this._properties.position.startOffset=e}setPositionEnd(e){this._properties.position.endOffset=e}setBlockPositionStart(e){this._properties.position.startOffsetBlock=e}setBlockPositionEnd(e){this._properties.position.endOffsetBlock=e}getBlockClientId(){return this._properties.position&&this._properties.position.clientId}getBlockAttributeId(){return this._properties.position&&this._properties.position.attributeId}isMarkForFirstBlockSection(){return this._properties.position&&this._properties.position.isFirstSection}getBlockPositionStart(){return this._properties.position&&this._properties.position.startOffsetBlock}getBlockPositionEnd(){return this._properties.position&&this._properties.position.endOffsetBlock}applyWithReplace(e){return e.split(this._properties.original).join(this._properties.marked)}applyWithPosition(e){const t=this.getPositionEnd()+35;return(e=e.substring(0,this.getPositionStart())+"<yoastmark class='yoast-text-mark'>"+e.substring(this.getPositionStart())).substring(0,t)+"</yoastmark>"+e.substring(t)}serialize(){return{_parseClass:"Mark",...this._properties}}isValid(){if(!(0,s.isUndefined)(this.getPositionStart())&&this.getPositionStart()<0)throw new RangeError("positionStart should be larger or equal than 0.");if(!(0,s.isUndefined)(this.getPositionEnd())&&this.getPositionEnd()<=0)throw new RangeError("positionEnd should be larger than 0.");if(!(0,s.isUndefined)(this.getPositionStart())&&!(0,s.isUndefined)(this.getPositionEnd())&&this.getPositionStart()>=this.getPositionEnd())throw new RangeError("The positionStart should be smaller than the positionEnd.");if((0,s.isUndefined)(this.getPositionStart())&&!(0,s.isUndefined)(this.getPositionEnd())||(0,s.isUndefined)(this.getPositionEnd())&&!(0,s.isUndefined)(this.getPositionStart()))throw new Error("A mark object should either have start and end defined or start and end undefined.")}hasPosition(){return!(0,s.isUndefined)(this.getPositionStart())}hasBlockPosition(){return!(0,s.isUndefined)(this.getBlockPositionStart())}static parse(e){return delete e._parseClass,new i(e)}}t.default=i},82304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);const n={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,slug:"",locale:"en_US",permalink:"",date:"",customData:{},textTitle:"",writingDirection:"LTR",wpBlocks:[],isFrontPage:!1,shortcodes:[]};class i{constructor(e,t){this._text=e||"",this._tree=null,t=t||{},(0,s.defaults)(t,n),""===t.locale&&(t.locale=n.locale),t.hasOwnProperty("url")&&(console.warn("The 'url' attribute is deprecated, use 'slug' instead."),t.slug=t.url||t.slug);const r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\s]/g,"");(0,s.isEmpty)(r)&&(t.keyword=n.keyword),this._attributes=t}hasKeyword(){return""!==this._attributes.keyword}getKeyword(){return this._attributes.keyword}hasSynonyms(){return""!==this._attributes.synonyms}getSynonyms(){return this._attributes.synonyms}hasText(){return""!==this._text}getText(){return this._text}setTree(e){this._tree=e}getTree(){return this._tree}hasDescription(){return""!==this._attributes.description}getDescription(){return this._attributes.description}hasTitle(){return""!==this._attributes.title}getTitle(){return this._attributes.title}hasTitleWidth(){return 0!==this._attributes.titleWidth}getTitleWidth(){return this._attributes.titleWidth}hasSlug(){return""!==this._attributes.slug}getSlug(){return this._attributes.slug}isFrontPage(){return this._attributes.isFrontPage}hasUrl(){return console.warn("This function is deprecated, use hasSlug instead"),this.hasSlug()}getUrl(){return console.warn("This function is deprecated, use getSlug instead"),this.getSlug()}hasLocale(){return""!==this._attributes.locale}getLocale(){return this._attributes.locale}getWritingDirection(){return this._attributes.writingDirection}hasPermalink(){return""!==this._attributes.permalink}getPermalink(){return this._attributes.permalink}hasDate(){return""!==this._attributes.date}getDate(){return this._attributes.date}hasCustomData(){return!(0,s.isEmpty)(this._attributes.customData)}getCustomData(){return this._attributes.customData}hasTextTitle(){return""!==this._attributes.textTitle&&!(0,s.isNil)(this._attributes.textTitle)}getTextTitle(){return this._attributes.textTitle}serialize(){return{_parseClass:"Paper",text:this._text,...this._attributes}}equals(e){return this._text===e.getText()&&(0,s.isEqual)(this._attributes,e._attributes)}static parse(e){if(e instanceof i)return e;const{text:t,_parseClass:r,...s}=e;return new i(t,s)}}t.default=i},73728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AssessmentResult",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Mark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Paper",{enumerable:!0,get:function(){return i.default}});var s=a(r(73054)),n=a(r(41054)),i=a(r(82304));function a(e){return e&&e.__esModule?e:{default:e}}},86912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(14715),n=r(65736),i=r(92819),a=r(2043),o=r(7104),l=r(33140),u=C(r(62887)),c=C(r(64495)),d=C(r(49781)),h=C(r(85551)),f=C(r(82304)),p=C(r(96224)),g=C(r(46746)),m=C(r(72557)),_=C(r(45632)),y=C(r(14539)),T=C(r(58557)),E=C(r(66225)),v=C(r(56466)),A=C(r(62178)),b=C(r(56402)),S=C(r(44885)),O=C(r(40863));function C(e){return e&&e.__esModule?e:{default:e}}const w=(0,a.getLogger)("yoast-analysis-worker");w.setDefaultLevel("error");class I{constructor(e,t){this._scope=e,this._configuration={contentAnalysisActive:!0,keywordAnalysisActive:!0,inclusiveLanguageAnalysisActive:!1,useCornerstone:!1,useTaxonomy:!1,locale:"en_US",customAnalysisType:""},this._scheduler=new p.default,this._paper=null,this._relatedKeywords={},this._researcher=t,this._contentAssessor=null,this._seoAssessor=null,this._relatedKeywordAssessor=null,this.additionalAssessors={},this._inclusiveLanguageOptions={},this._results={readability:{results:[],score:0},seo:{"":{results:[],score:0}},inclusiveLanguage:{results:[],score:0}},this._registeredAssessments=[],this._registeredMessageHandlers={},this._registeredParsers=[],this._CustomSEOAssessorClasses={},this._CustomCornerstoneSEOAssessorClasses={},this._CustomContentAssessorClasses={},this._CustomCornerstoneContentAssessorClasses={},this._CustomRelatedKeywordAssessorClasses={},this._CustomCornerstoneRelatedKeywordAssessorClasses={},this._CustomSEOAssessorOptions={},this._CustomCornerstoneSEOAssessorOptions={},this._CustomContentAssessorOptions={},this._CustomCornerstoneContentAssessorOptions={},this._CustomRelatedKeywordAssessorOptions={},this._CustomCornerstoneRelatedKeywordAssessorOptions={},this.bindActions(),this.assessRelatedKeywords=this.assessRelatedKeywords.bind(this),this.registerAssessment=this.registerAssessment.bind(this),this.registerMessageHandler=this.registerMessageHandler.bind(this),this.refreshAssessment=this.refreshAssessment.bind(this),this.setCustomContentAssessorClass=this.setCustomContentAssessorClass.bind(this),this.setCustomCornerstoneContentAssessorClass=this.setCustomCornerstoneContentAssessorClass.bind(this),this.setCustomSEOAssessorClass=this.setCustomSEOAssessorClass.bind(this),this.setCustomCornerstoneSEOAssessorClass=this.setCustomCornerstoneSEOAssessorClass.bind(this),this.setCustomRelatedKeywordAssessorClass=this.setCustomRelatedKeywordAssessorClass.bind(this),this.setCustomCornerstoneRelatedKeywordAssessorClass=this.setCustomCornerstoneRelatedKeywordAssessorClass.bind(this),this.registerAssessor=this.registerAssessor.bind(this),this.registerResearch=this.registerResearch.bind(this),this.registerHelper=this.registerHelper.bind(this),this.registerResearcherConfig=this.registerResearcherConfig.bind(this),this.setInclusiveLanguageOptions=this.setInclusiveLanguageOptions.bind(this),this.handleMessage=this.handleMessage.bind(this),this.analyzeRelatedKeywords=(0,m.default)(w,this.analyze,"An error occurred while running the related keywords analysis."),this.analyze=(0,m.default)(w,this.analyze,"An error occurred while running the analysis."),this.runResearch=(0,m.default)(w,this.runResearch,"An error occurred after running the '%%name%%' research.")}bindActions(){this.analyze=this.analyze.bind(this),this.analyzeDone=this.analyzeDone.bind(this),this.analyzeRelatedKeywordsDone=this.analyzeRelatedKeywordsDone.bind(this),this.loadScript=this.loadScript.bind(this),this.loadScriptDone=this.loadScriptDone.bind(this),this.customMessage=this.customMessage.bind(this),this.customMessageDone=this.customMessageDone.bind(this),this.clearCache=this.clearCache.bind(this),this.runResearch=this.runResearch.bind(this),this.runResearchDone=this.runResearchDone.bind(this)}setCustomContentAssessorClass(e,t,r){this._CustomContentAssessorClasses[t]=e,this._CustomContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomCornerstoneContentAssessorClass(e,t,r){this._CustomCornerstoneContentAssessorClasses[t]=e,this._CustomCornerstoneContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomSEOAssessorClass(e,t,r){this._CustomSEOAssessorClasses[t]=e,this._CustomSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomCornerstoneSEOAssessorClass(e,t,r){this._CustomCornerstoneSEOAssessorClasses[t]=e,this._CustomCornerstoneSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomRelatedKeywordAssessorClass(e,t,r){this._CustomRelatedKeywordAssessorClasses[t]=e,this._CustomRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setCustomCornerstoneRelatedKeywordAssessorClass(e,t,r){this._CustomCornerstoneRelatedKeywordAssessorClasses[t]=e,this._CustomCornerstoneRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setInclusiveLanguageOptions(e){this._inclusiveLanguageOptions=e}register(){this._scope.onmessage=this.handleMessage,this._scope.analysisWorker=this}handleMessage({data:{type:e,id:t,payload:r}}){switch(r=g.default.parse(r),w.debug("AnalysisWebWorker incoming:",e,t,r),e){case"initialize":this.initialize(t,r),this._scheduler.startPolling();break;case"analyze":this._scheduler.schedule({id:t,execute:this.analyze,done:this.analyzeDone,data:r,type:e});break;case"analyzeRelatedKeywords":this._scheduler.schedule({id:t,execute:this.analyzeRelatedKeywords,done:this.analyzeRelatedKeywordsDone,data:r,type:e});break;case"loadScript":this._scheduler.schedule({id:t,execute:this.loadScript,done:this.loadScriptDone,data:r,type:e});break;case"runResearch":this._scheduler.schedule({id:t,execute:this.runResearch,done:this.runResearchDone,data:r});break;case"customMessage":{const s=r.name;if(s&&this._registeredMessageHandlers[s]){this._scheduler.schedule({id:t,execute:this.customMessage,done:this.customMessageDone,data:r,type:e});break}this.customMessageDone(t,{error:new Error("No message handler registered for messages with name: "+s)});break}default:console.warn("AnalysisWebWorker unrecognized action:",e)}}createContentAssessor(){const{contentAnalysisActive:e,useCornerstone:t,customAnalysisType:r}=this._configuration;if(!1===e)return null;let s;return!0===t?(s=this._CustomCornerstoneContentAssessorClasses[r]?new this._CustomCornerstoneContentAssessorClasses[r](this._researcher,this._CustomCornerstoneContentAssessorOptions[r]):new y.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"cornerstoneReadability"===r&&s.addAssessment(e,t)}))):(s=this._CustomContentAssessorClasses[r]?new this._CustomContentAssessorClasses[r](this._researcher,this._CustomContentAssessorOptions[r]):new _.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"readability"===r&&s.addAssessment(e,t)}))),s}createSEOAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:s}=this._configuration;if(!1===e)return null;let n;return n=!0===r?new O.default(this._researcher):!0===t?this._CustomCornerstoneSEOAssessorClasses[s]?new this._CustomCornerstoneSEOAssessorClasses[s](this._researcher,this._CustomCornerstoneSEOAssessorOptions[s]):new E.default(this._researcher):this._CustomSEOAssessorClasses[s]?new this._CustomSEOAssessorClasses[s](this._researcher,this._CustomSEOAssessorOptions[s]):new S.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"seo"===r&&n.addAssessment(e,t)})),n}createInclusiveLanguageAssessor(){const{inclusiveLanguageAnalysisActive:e}=this._configuration;return e?new v.default(this._researcher,this._inclusiveLanguageOptions):null}createRelatedKeywordsAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:s}=this._configuration;if(!1===e)return null;let n;return n=!0===r?new b.default(this._researcher):!0===t?this._CustomCornerstoneRelatedKeywordAssessorClasses[s]?new this._CustomCornerstoneRelatedKeywordAssessorClasses[s](this._researcher,this._CustomCornerstoneRelatedKeywordAssessorOptions[s]):new T.default(this._researcher):this._CustomRelatedKeywordAssessorClasses[s]?new this._CustomRelatedKeywordAssessorClasses[s](this._researcher,this._CustomRelatedKeywordAssessorOptions[s]):new A.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"relatedKeyphrase"===r&&n.addAssessment(e,t)})),n}send(e,t,r={}){w.debug("AnalysisWebWorker outgoing:",e,t,r),r=g.default.serialize(r),this._scope.postMessage({type:e,id:t,payload:r})}static shouldAssessorsUpdate(e,t=null,r=null,s=null){const n=Object.keys(e);return{readability:(0,i.isNull)(t)||(0,c.default)(n,["contentAnalysisActive","useCornerstone","locale","translations","customAnalysisType"]),seo:(0,i.isNull)(r)||(0,c.default)(n,["keywordAnalysisActive","useCornerstone","useTaxonomy","locale","translations","researchData","customAnalysisType"]),inclusiveLanguage:(0,i.isNull)(s)||(0,c.default)(n,["inclusiveLanguageAnalysisActive","locale","translations"])}}initialize(e,t){const r=I.shouldAssessorsUpdate(t,this._contentAssessor,this._seoAssessor,this._inclusiveLanguageAssessor);(0,i.has)(t,"translations")&&Object.values(t.translations).forEach((e=>{if(e){const{domain:t,locale_data:r}=e;(0,n.setLocaleData)(r[t],t)}})),(0,i.has)(t,"researchData")&&((0,i.forEach)(t.researchData,((e,t)=>{this._researcher.addResearchData(t,e)})),delete t.researchData),(0,i.has)(t,"defaultQueryParams")&&((0,l.configureShortlinker)({params:t.defaultQueryParams}),delete t.defaultQueryParams),(0,i.has)(t,"logLevel")&&(w.setLevel(t.logLevel,!1),delete t.logLevel),(0,i.has)(t,"enabledFeatures")&&((0,s.enableFeatures)(t.enabledFeatures),delete t.enabledFeatures),this._configuration=(0,i.merge)(this._configuration,t),r.readability&&(this._contentAssessor=this.createContentAssessor()),r.seo&&(this._seoAssessor=this.createSEOAssessor(),this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()),r.inclusiveLanguage&&(this._inclusiveLanguageAssessor=this.createInclusiveLanguageAssessor()),this.clearCache(),this.send("initialize:done",e)}registerAssessor(e,t,r){const s=new t(this._researcher);this.additionalAssessors[e]={assessor:s,shouldUpdate:r}}registerAssessment(e,t,r,s="seo"){const{useCornerstone:n}=this._configuration;if(!(0,i.isString)(e))throw new u.default("Failed to register assessment for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new u.default("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function.");if(!(0,i.isString)(r))throw new u.default("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string.");const a=r+"-"+e;return null!==this._seoAssessor&&"seo"===s&&this._seoAssessor.addAssessment(a,t),null!==this._contentAssessor&&"readability"===s&&this._contentAssessor.addAssessment(a,t),null!==this._contentAssessor&&"cornerstoneReadability"===s&&n&&this._contentAssessor.addAssessment(a,t),null!==this._relatedKeywordAssessor&&"relatedKeyphrase"===s&&this._relatedKeywordAssessor.addAssessment(a,t),this._registeredAssessments.push({combinedName:a,assessment:t,type:s}),this.refreshAssessment(e,r),!0}registerMessageHandler(e,t,r){if(!(0,i.isString)(e))throw new u.default("Failed to register handler for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new u.default("Failed to register handler for plugin "+r+". Expected parameter `handler` to be a function.");if(!(0,i.isString)(r))throw new u.default("Failed to register handler for plugin "+r+". Expected parameter `pluginName` to be a string.");return e=r+"-"+e,this._registeredMessageHandlers[e]=t,!0}refreshAssessment(e,t){if(!(0,i.isString)(e))throw new u.default("Failed to refresh assessment for plugin "+t+". Expected parameter `name` to be a string.");if(!(0,i.isString)(t))throw new u.default("Failed to refresh assessment for plugin "+t+". Expected parameter `pluginName` to be a string.");return this.clearCache(),!0}clearCache(){this._paper=null}setLocale(e){this._configuration.locale!==e&&(this._configuration.locale=e,this._contentAssessor=this.createContentAssessor())}shouldReadabilityUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getKeyword()!==e.getKeyword()||!(0,i.isEqual)(this._paper._attributes.wpBlocks,e._attributes.wpBlocks)||this._paper.getLocale()!==e.getLocale()}shouldInclusiveLanguageUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getTextTitle()!==e.getTextTitle()||this._paper.getLocale()!==e.getLocale()}updateInclusiveLanguageAssessor(e){this._configuration.inclusiveLanguageAnalysisActive&&this._inclusiveLanguageAssessor&&e&&(this._inclusiveLanguageAssessor.assess(this._paper),this._results.inclusiveLanguage={results:this._inclusiveLanguageAssessor.results,score:this._inclusiveLanguageAssessor.calculateOverallScore()})}shouldSeoUpdate(e,{keyword:t,synonyms:r}){return!!(0,i.isUndefined)(this._relatedKeywords[e])||this._relatedKeywords[e].keyword!==t||this._relatedKeywords[e].synonyms!==r}shouldAdditionalAssessorsUpdate(e){const t={};return Object.keys(this.additionalAssessors).forEach((r=>{t[r]=this.additionalAssessors[r].shouldUpdate(this._paper,e)})),t}updateAdditionalAssessors(e){Object.keys(this.additionalAssessors).forEach((t=>{const{assessor:r}=this.additionalAssessors[t];this._results[t]&&!e[t]||(r.assess(this._paper),this._results[t]={results:r.results,score:r.calculateOverallScore()})}))}async analyze(e,{paper:t,relatedKeywords:r={}}){const s=null===this._paper||!this._paper.equals(t),n=this.shouldReadabilityUpdate(t),a=this.shouldInclusiveLanguageUpdate(t),l=this.shouldAdditionalAssessorsUpdate(t);if(s){this._paper=t,this._researcher.setPaper(this._paper);const e=new d.default(this._researcher),r=this._paper._attributes&&this._paper._attributes.shortcodes;this._paper.setTree((0,o.build)(this._paper,e,r)),this.setLocale(this._paper.getLocale())}if(this._configuration.keywordAnalysisActive&&this._seoAssessor&&(s&&(this._results.seo[""]=await this.assess(this._paper,this._seoAssessor)),!(0,i.isEmpty)(r))){const e=Object.keys(r);(await this.assessRelatedKeywords(t,r)).forEach((e=>{this._results.seo[e.key]=e.results})),e.length>1&&(this._results.seo=(0,i.pickBy)(this._results.seo,((t,r)=>(0,i.includes)(e,r)||""===r)))}return this._configuration.contentAnalysisActive&&this._contentAssessor&&n&&(this._contentAssessor.getScoreAggregator().setLocale(this._configuration.locale),this._results.readability=await this.assess(this._paper,this._contentAssessor)),this.updateInclusiveLanguageAssessor(a),this.updateAdditionalAssessors(l),this._results}async assess(e,t){t.assess(e);const r=t.results;return{results:r,score:t.getScoreAggregator().aggregate(r)}}async assessRelatedKeywords(e,t){const r=Object.keys(t);return await Promise.all(r.map((r=>{this._relatedKeywords[r]=t[r];const s=f.default.parse({...e.serialize(),keyword:this._relatedKeywords[r].keyword,synonyms:this._relatedKeywords[r].synonyms});return this.assess(s,this._relatedKeywordAssessor).then((e=>({key:r,results:e})))})))}loadScript(e,{url:t}){if((0,i.isUndefined)(t))return{loaded:!1,url:t,message:"Load Script was called without an URL."};try{this._scope.importScripts(t)}catch(e){return{loaded:!1,url:t,message:e.message}}return{loaded:!0,url:t}}loadScriptDone(e,t){t.loaded?this.send("loadScript:done",e,t):this.send("loadScript:failed",e,t)}analyzeDone(e,t){t.error?this.send("analyze:failed",e,t):this.send("analyze:done",e,t)}analyzeRelatedKeywordsDone(e,t){t.error?this.send("analyzeRelatedKeywords:failed",e,t):this.send("analyzeRelatedKeywords:done",e,t)}customMessage(e,{name:t,data:r}){try{return{success:!0,data:this._registeredMessageHandlers[t](r)}}catch(e){return{error:e}}}customMessageDone(e,t){t.success?this.send("customMessage:done",e,t.data):this.send("customMessage:failed",t.error)}registerResearch(e,t){if(!(0,i.isString)(e))throw new u.default("Failed to register the custom research. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new u.default("Failed to register the custom research. Expected parameter `research` to be a function.");const r=this._researcher;r.hasResearch(e)||r.addResearch(e,t)}runResearch(e,{name:t,paper:r=null}){const s=this._researcher.getData("morphology"),n=this._researcher;if(null!==r&&(n.setPaper(r),n.addResearchData("morphology",s),null===r.getTree())){const e=new d.default(n),t=r._attributes&&r._attributes.shortcodes;r.setTree((0,o.build)(r,e,t))}return n.getResearch(t)}runResearchDone(e,t){t.error?this.send("runResearch:failed",e,t):this.send("runResearch:done",e,t)}registerHelper(e,t){if(!(0,i.isString)(e))throw new u.default("Failed to register the custom helper. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new u.default("Failed to register the custom helper. Expected parameter `helper` to be a function.");const r=this._researcher;r.hasHelper(e)||r.addHelper(e,t)}registerResearcherConfig(e,t){if(!(0,i.isString)(e))throw new u.default("Failed to register the custom researcher config. Expected parameter `name` to be a string.");if((0,i.isUndefined)(t)||(0,i.isEmpty)(t))throw new h.default("Failed to register the custom researcher config. Expected parameter `researcherConfig` to be defined.");const r=this._researcher;r.hasConfig(e)||r.addConfig(e,t)}}t.default=I},49326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(r(31769)),n=i(r(46746));function i(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this._worker=e,this._requests={},this._autoIncrementedRequestId=-1,this.initialize=this.initialize.bind(this),this.analyze=this.analyze.bind(this),this.analyzeRelatedKeywords=this.analyzeRelatedKeywords.bind(this),this.loadScript=this.loadScript.bind(this),this.sendMessage=this.sendMessage.bind(this),this.runResearch=this.runResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.handleMessageError=this.handleMessageError.bind(this),this.handleError=this.handleError.bind(this),this._worker.onmessage=this.handleMessage,this._worker.onmessageerror=this.handleMessageError,this._worker.onerror=this.handleError}handleMessage({data:{type:e,id:t,payload:r}}){const s=this._requests[t];if(s){switch(r=n.default.parse(r),e){case"initialize:done":case"loadScript:done":case"customMessage:done":case"runResearch:done":case"analyzeRelatedKeywords:done":case"analyze:done":s.resolve(r);break;case"analyze:failed":case"loadScript:failed":case"customMessage:failed":case"runResearch:failed":case"analyzeRelatedKeywords:failed":s.reject(r);break;default:console.warn("AnalysisWebWorker unrecognized action:",e)}delete this._requests[t]}else console.warn("AnalysisWebWorker unmatched response:",r)}handleMessageError(e){console.warn("AnalysisWebWorker message error:",e)}handleError(e){const t=Object.keys(this._requests),r=t[t.length-1],s=this._requests[r];s?s.reject(e):console.error("AnalysisWebWorker error:",e)}createRequestId(){return this._autoIncrementedRequestId++,this._autoIncrementedRequestId}createRequestPromise(e,t={}){return new Promise(((r,n)=>{this._requests[e]=new s.default(r,n,t)}))}sendRequest(e,t,r={}){const s=this.createRequestId(),n=this.createRequestPromise(s,r);return this.send(e,s,t),n}send(e,t,r={}){r=n.default.serialize(r),this._worker.postMessage({type:e,id:t,payload:r})}initialize(e){return this.sendRequest("initialize",e)}analyzeRelatedKeywords(e,t={}){return this.sendRequest("analyzeRelatedKeywords",{paper:e,relatedKeywords:t})}analyze(e){return this.sendRequest("analyze",{paper:e})}loadScript(e){return this.sendRequest("loadScript",{url:e})}sendMessage(e,t,r){return e=r+"-"+e,this.sendRequest("customMessage",{name:e,data:t},t)}runResearch(e,t=null){return this.sendRequest("runResearch",{name:e,paper:t})}}},7718:(e,t)=>{"use strict";function r(e){return`\n\t\ttry {\n\t\t\t${e}\n\t\t} catch ( error ) {\n\t\t\tconsole.log( "Error occurred during worker initialization:" );\n\t\t\tconsole.log( error );\n\t\t}\n\t`}function s(e){return`\n\t\tself.yoastOriginalUrl = '${e}';\n\t\timportScripts('${e}');\n\t`}function n(e,t){const r=new URL(e,window.location.origin),s=new URL(t,window.location.origin);return r.hostname===s.hostname&&r.port===s.port&&r.protocol===s.protocol}function i(e){const t=window.URL||window.webkitURL,n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,i=r(s(e));let a;try{a=new Blob([i],{type:"application/javascript"})}catch(e){const t=new n;t.append(i),a=t.getBlob("application/javascript")}return t.createObjectURL(a)}function a(e){const t=i(e);return new Worker(t)}function o(e){if(!n(window.location,e)||window.wpseoAdminL10n&&"1"===window.wpseoAdminL10n.isWebStoriesIntegrationActive)return a(e);let t=null;try{t=new Worker(e)}catch(r){t=a(e)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobScript=s,t.createBlobURL=i,t.createExceptionHandler=r,t.createWorker=o,t.createWorkerFallback=a,t.default=void 0,t.isSameOrigin=n,t.default=o},77687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnalysisWebWorker",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"createWorker",{enumerable:!0,get:function(){return i.default}});var s=a(r(86912)),n=a(r(49326)),i=a(r(7718));function a(e){return e&&e.__esModule?e:{default:e}}},90256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(19832))&&s.__esModule?s:{default:s};t.default=class{constructor(e,t,r={}){this._resolve=e,this._reject=t,this._data=r}resolve(e={}){const t=new n.default(e,this._data);this._resolve(t)}reject(e={}){const t=new n.default(e,this._data);this._reject(t)}}},19832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t={}){this.result=e,this.data=t}}},31769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(90256))&&s.__esModule?s:{default:s};t.default=n.default},30271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(92819),i=(s=r(11506))&&s.__esModule?s:{default:s};const a={pollTime:50};t.default=class{constructor(e={}){this._configuration=(0,n.merge)(a,e),this._tasks={standard:[],extensions:[],analyze:[],analyzeRelatedKeywords:[]},this._pollHandle=null,this._started=!1,this.startPolling=this.startPolling.bind(this),this.stopPolling=this.stopPolling.bind(this),this.tick=this.tick.bind(this)}startPolling(){this._started||(this._started=!0,this.tick())}tick(){this.executeNextTask().then((()=>{this._pollHandle=setTimeout(this.tick,this._configuration.pollTime)}))}stopPolling(){clearTimeout(this._pollHandle),this._pollHandle=null,this._started=!1}schedule({id:e,execute:t,done:r,data:s,type:n}){const a=new i.default(e,t,r,s,n);switch(n){case"customMessage":case"loadScript":this._tasks.extensions.push(a);break;case"analyze":this._tasks.analyze=[a];break;case"analyzeRelatedKeywords":this._tasks.analyzeRelatedKeywords=[a];break;default:this._tasks.standard.push(a)}}getNextTask(){return this._tasks.extensions.length>0?this._tasks.extensions.shift():this._tasks.analyze.length>0?this._tasks.analyze.shift():this._tasks.analyzeRelatedKeywords.length>0?this._tasks.analyzeRelatedKeywords.shift():this._tasks.standard.length>0?this._tasks.standard.shift():null}executeNextTask(){const e=this.getNextTask();return null===e?Promise.resolve(null):Promise.resolve().then((()=>e.execute(e.id,e.data))).then((t=>(e.done(e.id,t),t)))}}},11506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(92819);t.default=class{constructor(e,t,r,n={},i="analyze"){if(!(0,s.isNumber)(e))throw new Error("Task.id should be a number.");if(!(0,s.isFunction)(t))throw new Error("Task.execute should be a function.");if(!(0,s.isFunction)(r))throw new Error("Task.done should be a function.");if(!(0,s.isObject)(n))throw new Error("Task.data should be an object.");this.id=e,this.execute=t,this.done=r,this.data=n,this.type=i}}},96224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(30271))&&s.__esModule?s:{default:s};t.default=n.default},46746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(r(6658)),n=i(r(61854));function i(e){return e&&e.__esModule?e:{default:e}}t.default={parse:s.default,serialize:n.default}},6658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,s.isArray)(t))return t.map(e);const r=(0,s.isObject)(t);return r&&t._parseClass&&d[t._parseClass]?d[t._parseClass].parse(t):r?(0,s.mapValues)(t,(t=>e(t))):t};var s=r(92819),n=c(r(73054)),i=c(r(41054)),a=c(r(82304)),o=c(r(18812)),l=c(r(83937)),u=c(r(4446));function c(e){return e&&e.__esModule?e:{default:e}}const d={AssessmentResult:n.default,Mark:i.default,Paper:a.default,Sentence:o.default,Clause:l.default,ProminentWord:u.default}},61854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,s.isArray)(t))return t.map(e);const r=(0,s.isObject)(t);return r&&t.serialize?t.serialize():r?(0,s.mapValues)(t,(t=>e(t))):t};var s=r(92819)},72557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=""){return async(...s)=>{try{return await t(...s)}catch(t){return{error:i(e,t,s[1],r)}}}};var s,n=(s=r(54057))&&s.__esModule?s:{default:s};const i=function(e,t,r,s=""){r&&(s=(0,n.default)(s,r));let i=s?[s]:[];return t.name&&t.message&&(t.stack&&e.debug(t.stack),i.push(`${t.name}: ${t.message}`)),i=i.join("\n\t"),e.error(i),i}},79742:(e,t)=>{"use strict";t.byteLength=function(e){var t=o(e),r=t[0],s=t[1];return 3*(r+s)/4-s},t.toByteArray=function(e){var t,r,i=o(e),a=i[0],l=i[1],u=new n(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),c=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=s[e.charCodeAt(r)]<<18|s[e.charCodeAt(r+1)]<<12|s[e.charCodeAt(r+2)]<<6|s[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=s[e.charCodeAt(r)]<<2|s[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===l&&(t=s[e.charCodeAt(r)]<<10|s[e.charCodeAt(r+1)]<<4|s[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,s=e.length,n=s%3,i=[],a=16383,o=0,u=s-n;o<u;o+=a)i.push(l(e,o,o+a>u?u:o+a));return 1===n?(t=e[s-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[s-2]<<8)+e[s-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],s=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=i[a],s[i.charCodeAt(a)]=a;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,s){for(var n,i,a=[],o=t;o<s;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(r[(i=n)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";var s=r(79742),n=r(80645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),s=o(r),n=s.write(e,t);return n!==r&&(s=s.slice(0,n)),s}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(null!=s&&s!==e)return l.from(s,t,r);var n=function(e){if(l.isBuffer(e)){var t=0|p(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||$(e.length)?o(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),o(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),r=o(t),s=0;s<t;s+=1)r[s]=255&e[s];return r}function f(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var s;return s=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(s,l.prototype),s}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,s=arguments.length>2&&!0===arguments[2];if(!s&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(n)return s?-1:U(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function _(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function y(e,t,r,s,n){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),$(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=l.from(t,s)),l.isBuffer(t))return 0===t.length?-1:T(e,t,r,s,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,s,n){var i,a=1,o=e.length,l=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(n){var c=-1;for(i=r;i<o;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+l>o&&(r=o-l),i=r;i>=0;i--){for(var d=!0,h=0;h<l;h++)if(u(e,i+h)!==u(t,h)){d=!1;break}if(d)return i}return-1}function E(e,t,r,s){r=Number(r)||0;var n=e.length-r;s?(s=Number(s))>n&&(s=n):s=n;var i=t.length;s>i/2&&(s=i/2);for(var a=0;a<s;++a){var o=parseInt(t.substr(2*a,2),16);if($(o))return a;e[r+a]=o}return a}function v(e,t,r,s){return H(U(t,e.length-r),e,r,s)}function A(e,t,r,s){return H(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function b(e,t,r,s){return H(B(t),e,r,s)}function S(e,t,r,s){return H(function(e,t){for(var r,s,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)s=(r=e.charCodeAt(a))>>8,n=r%256,i.push(n),i.push(s);return i}(t,e.length-r),e,r,s)}function O(e,t,r){return 0===t&&r===e.length?s.fromByteArray(e):s.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var s=[],n=t;n<r;){var i,a,o,l,u=e[n],c=null,d=u>239?4:u>223?3:u>191?2:1;if(n+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[n+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[n+1],a=e[n+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[n+1],a=e[n+2],o=e[n+3],128==(192&i)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,s.push(c>>>10&1023|55296),c=56320|1023&c),s.push(c),n+=d}return function(e){var t=e.length;if(t<=w)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=w));return r}(s)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(j(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,s=t.length,n=0,i=Math.min(r,s);n<i;++n)if(e[n]!==t[n]){r=e[n],s=t[n];break}return r<s?-1:s<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=l.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(j(i,Uint8Array))n+i.length>s.length?l.from(i).copy(s,n):Uint8Array.prototype.set.call(s,i,n);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n)}n+=i.length}return s},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,s,n){if(j(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===s&&(s=0),void 0===n&&(n=this.length),t<0||r>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=r)return 0;if(s>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(s>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(i,a),u=this.slice(s,n),c=e.slice(t,r),d=0;d<o;++d)if(u[d]!==c[d]){i=u[d],a=c[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===s&&(s="utf8")):(s=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var i=!1;;)switch(s){case"hex":return E(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":case"latin1":case"binary":return A(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var w=4096;function I(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(127&e[n]);return s}function N(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(e[n]);return s}function k(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var n="",i=t;i<r;++i)n+=W[e[i]];return n}function P(e,t,r){for(var s=e.slice(t,r),n="",i=0;i<s.length-1;i+=2)n+=String.fromCharCode(s[i]+256*s[i+1]);return n}function L(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,s,n,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}function D(e,t,r,s,n,i){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,s,i){return t=+t,r>>>=0,i||D(e,0,r,4),n.write(e,t,r,s,23,4),r+4}function x(e,t,r,s,i){return t=+t,r>>>=0,i||D(e,0,r,8),n.write(e,t,r,s,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var s=this.subarray(e,t);return Object.setPrototypeOf(s,l.prototype),s},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var s=t,n=1,i=this[e+--s];s>0&&(n*=256);)i+=this[e+--s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),n.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),n.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),n.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),n.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,s){e=+e,t>>>=0,r>>>=0,s||R(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,s){e=+e,t>>>=0,r>>>=0,s||R(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t>>>=0,!s){var n=Math.pow(2,8*r-1);R(this,e,t,r,n-1,-n)}var i=0,a=1,o=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t>>>=0,!s){var n=Math.pow(2,8*r-1);R(this,e,t,r,n-1,-n)}var i=r-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,s){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var n=s-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,s):Uint8Array.prototype.set.call(e,this.subarray(r,s),t),n},l.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!l.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(1===e.length){var n=e.charCodeAt(0);("utf8"===s&&n<128||"latin1"===s)&&(e=n)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,s),o=a.length;if(0===o)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%o]}return this};var F=/[^+/0-9A-Za-z-_]/g;function U(e,t){var r;t=t||1/0;for(var s=e.length,n=null,i=[],a=0;a<s;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===s){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function B(e){return s.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,r,s){for(var n=0;n<s&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function $(e){return e!=e}var W=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var s=16*r,n=0;n<16;++n)t[s+n]=e[r]+e[n];return t}()},21924:(e,t,r)=>{"use strict";var s=r(10492),n=r(55559),i=n(s("String.prototype.indexOf"));e.exports=function(e,t){var r=s(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?n(r):r}},55559:(e,t,r)=>{"use strict";var s=r(58612),n=r(10492),i=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||s.call(a,i),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=o(s,a,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var d=function(){return o(s,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},10492:(e,t,r)=>{"use strict";var s,n=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(38626)(),h=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"==typeof Uint8Array?s:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?s:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?s:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):s,"%AsyncFromSyncIteratorPrototype%":s,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?s:Atomics,"%BigInt%":"undefined"==typeof BigInt?s:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?s:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?s:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?s:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?s:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?s:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?s:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?s:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):s,"%JSON%":"object"==typeof JSON?JSON:s,"%Map%":"undefined"==typeof Map?s:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):s,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?s:Promise,"%Proxy%":"undefined"==typeof Proxy?s:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?s:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?s:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):s,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?s:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):s,"%Symbol%":d?Symbol:s,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?s:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?s:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?s:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?s:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?s:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?s:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?s:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var s=e("%AsyncGeneratorFunction%");s&&(r=s.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&(r=h(n.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),T=r(17642),E=y.call(Function.call,Array.prototype.concat),v=y.call(Function.apply,Array.prototype.splice),A=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,C=function(e,t){var r,s=e;if(T(_,s)&&(s="%"+(r=_[s])[0]+"%"),T(g,s)){var i=g[s];if(i===f&&(i=m(s)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:s,value:i}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new n("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new n("invalid intrinsic syntax, expected opening `%`");var s=[];return A(e,S,(function(e,t,r,n){s[s.length]=r?A(n,O,"$1"):t||e})),s}(e),s=r.length>0?r[0]:"",i=C("%"+s+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(s=d[0],v(r,E([0,1],d)));for(var h=1,f=!0;h<r.length;h+=1){var p=r[h],m=b(p,0,1),_=b(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===_||"'"===_||"`"===_)&&m!==_)throw new n("property names with quotes must have matching quotes");if("constructor"!==p&&f||(c=!0),T(g,o="%"+(s+="."+p)+"%"))u=g[o];else if(null!=u){if(!(p in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&h+1>=r.length){var y=l(u,p);u=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=T(u,p),u=u[p];f&&!c&&(g[o]=u)}}return u}},38626:(e,t,r)=>{"use strict";var s="undefined"!=typeof Symbol&&Symbol,n=r(19305);e.exports=function(){return"function"==typeof s&&"function"==typeof Symbol&&"symbol"==typeof s("foo")&&"symbol"==typeof Symbol("bar")&&n()}},19305:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var s=Object.getOwnPropertySymbols(e);if(1!==s.length||s[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(e,t);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},17187:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,s=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var n=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,s){function n(r){e.removeListener(t,i),s(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",n),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,n)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function u(e,t,r,s){var n,i,a,u;if(o(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=s?[r,a]:[a,r]:s?a.unshift(r):a.push(r),(n=l(e))>0&&a.length>n&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var s={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},n=c.bind(s);return n.listener=r,s.wrapFn=n,n}function h(e,t,r){var s=e._events;if(void 0===s)return[];var n=s[t];return void 0===n?[]:"function"==typeof n?r?[n.listener||n]:[n]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(n):p(n,n.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),s=0;s<t;++s)r[s]=e[s];return r}function g(e,t,r,s){if("function"==typeof e.on)s.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function n(i){s.once&&e.removeEventListener(t,n),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)s(l,this,t);else{var u=l.length,c=p(l,u);for(r=0;r<u;++r)s(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return u(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return u(this,e,t,!0)},i.prototype.once=function(e,t){return o(t),this.on(e,d(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return o(t),this.prependListener(e,d(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,s,n,i,a;if(o(t),void 0===(s=this._events))return this;if(void 0===(r=s[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete s[e],s.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(n=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,n=i;break}if(n<0)return this;0===n?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,n),1===r.length&&(s[e]=r[0]),void 0!==s.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,s;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var n,i=Object.keys(r);for(s=0;s<i.length;++s)"removeListener"!==(n=i[s])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(s=t.length-1;s>=0;s--)this.removeListener(e,t[s]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},i.prototype.listenerCount=f,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},17648:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var s=this;if("function"!=typeof s||"[object Function]"!==r.call(s))throw new TypeError("Function.prototype.bind called on incompatible "+s);for(var n,i=t.call(arguments,1),a=Math.max(0,s.length-i.length),o=[],l=0;l<a;l++)o.push("$"+l);if(n=Function("binder","return function ("+o.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var r=s.apply(this,i.concat(t.call(arguments)));return Object(r)===r?r:this}return s.apply(e,i.concat(t.call(arguments)))})),s.prototype){var u=function(){};u.prototype=s.prototype,n.prototype=new u,u.prototype=null}return n}},58612:(e,t,r)=>{"use strict";var s=r(17648);e.exports=Function.prototype.bind||s},17642:(e,t,r)=>{"use strict";var s=r(58612);e.exports=s.call(Function.call,Object.prototype.hasOwnProperty)},95449:(e,t,r)=>{function s(e){this._cbs=e||{},this.events=[]}e.exports=s;var n=r(23719).EVENTS;Object.keys(n).forEach((function(e){if(0===n[e])e="on"+e,s.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===n[e])e="on"+e,s.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==n[e])throw Error("wrong number of arguments");e="on"+e,s.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),s.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},s.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},63870:(e,t,r)=>{var s=r(29730),n=r(29443);function i(e,t){this.init(e,t)}function a(e,t){return n.getElementsByTagName(e,t,!0)}function o(e,t){return n.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return n.getText(n.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,s,n){var i=l(r,s,n);i&&(e[t]=i)}r(35717)(i,s),i.prototype.init=s;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},n=o(c,this.dom);n&&("feed"===n.name?(t=n.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=o("channel",n.children).children,r.type=n.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=a("item",n.children).map((function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,s.prototype._handleCallback.call(this,n?null:Error("couldn't find root of feed"))},e.exports=i},50763:(e,t,r)=>{var s=r(39889),n={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:n,input:n,output:n,button:n,datalist:n,textarea:n,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(s=this._options.Tokenizer),this._tokenizer=new s(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(35717)(c,r(17187).EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in o?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in o||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},76321:(e,t,r)=>{function s(e){this._cbs=e||{}}e.exports=s;var n=r(23719).EVENTS;Object.keys(n).forEach((function(e){if(0===n[e])e="on"+e,s.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===n[e])e="on"+e,s.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==n[e])throw Error("wrong number of arguments");e="on"+e,s.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},89924:(e,t,r)=>{e.exports=n;var s=r(83621);function n(e){s.call(this,new i(this),e)}function i(e){this.scope=e}r(35717)(n,s),n.prototype.readable=!0;var a=r(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},39889:(e,t,r)=>{e.exports=me;var s=r(58894),n=r(23042),i=r(60317),a=r(51373),o=0,l=o++,u=o++,c=o++,d=o++,h=o++,f=o++,p=o++,g=o++,m=o++,_=o++,y=o++,T=o++,E=o++,v=o++,A=o++,b=o++,S=o++,O=o++,C=o++,w=o++,I=o++,N=o++,k=o++,P=o++,L=o++,R=o++,D=o++,M=o++,x=o++,F=o++,U=o++,B=o++,H=o++,j=o++,$=o++,W=o++,G=o++,q=o++,V=o++,K=o++,Y=o++,z=o++,Q=o++,X=o++,J=o++,Z=o++,ee=o++,te=o++,re=o++,se=o++,ne=o++,ie=o++,ae=o++,oe=o++,le=o++,ue=0,ce=ue++,de=ue++,he=ue++;function fe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function pe(e,t,r){var s=e.toLowerCase();return e===s?function(e){e===s?this._state=t:(this._state=r,this._index--)}:function(n){n===s||n===e?this._state=t:(this._state=r,this._index--)}}function ge(e,t){var r=e.toLowerCase();return function(s){s===r||s===e?this._state=t:(this._state=c,this._index--)}}function me(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ne,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||fe(e)?this._state=l:"!"===e?(this._state=A,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:U,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||fe(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){fe(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=B:(this._state=l,this._index--):(this._state=f,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||fe(e))&&(this._emitToken("onclosetag"),this._state=p,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=d:fe(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):fe(e)||(this._state=g,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||fe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):fe(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=T,this._sectionStart=this._index+1):"'"===e?(this._state=E,this._sectionStart=this._index+1):fe(e)||(this._state=v,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){fe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?N:"-"===e?O:b},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=b},me.prototype._stateInComment=function(e){"-"===e&&(this._state=w)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?I:C},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},me.prototype._stateBeforeCdata1=pe("C",k,b),me.prototype._stateBeforeCdata2=pe("D",P,b),me.prototype._stateBeforeCdata3=pe("A",L,b),me.prototype._stateBeforeCdata4=pe("T",R,b),me.prototype._stateBeforeCdata5=pe("A",D,b),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=M,this._sectionStart=this._index+1):(this._state=b,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=x)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:M},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=M)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=H:"t"===e||"T"===e?this._state=Q:(this._state=c,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==de||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=q},me.prototype._stateBeforeScript1=ge("R",j),me.prototype._stateBeforeScript2=ge("I",$),me.prototype._stateBeforeScript3=ge("P",W),me.prototype._stateBeforeScript4=ge("T",G),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||fe(e))&&(this._special=de),this._state=c,this._index--},me.prototype._stateAfterScript1=pe("R",V,l),me.prototype._stateAfterScript2=pe("I",K,l),me.prototype._stateAfterScript3=pe("P",Y,l),me.prototype._stateAfterScript4=pe("T",z,l),me.prototype._stateAfterScript5=function(e){">"===e||fe(e)?(this._special=ce,this._state=f,this._sectionStart=this._index-6,this._index--):this._state=l},me.prototype._stateBeforeStyle1=ge("Y",X),me.prototype._stateBeforeStyle2=ge("L",J),me.prototype._stateBeforeStyle3=ge("E",Z),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||fe(e))&&(this._special=he),this._state=c,this._index--},me.prototype._stateAfterStyle1=pe("Y",te,l),me.prototype._stateAfterStyle2=pe("L",re,l),me.prototype._stateAfterStyle3=pe("E",se,l),me.prototype._stateAfterStyle4=function(e){">"===e||fe(e)?(this._special=ce,this._state=f,this._sectionStart=this._index-5,this._index--):this._state=l},me.prototype._stateBeforeEntity=pe("#",ie,ae),me.prototype._stateBeforeNumericEntity=pe("X",le,oe),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:n;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},me.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var n=this._buffer.substring(r,this._index),i=parseInt(n,t);this._emitPartial(s(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===u?this._stateBeforeTagName(e):this._state===c?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===f?this._stateInCloseingTagName(e):this._state===p?this._stateAfterCloseingTagName(e):this._state===d?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===m?this._stateInAttributeName(e):this._state===_?this._stateAfterAttributeName(e):this._state===y?this._stateBeforeAttributeValue(e):this._state===T?this._stateInAttributeValueDoubleQuotes(e):this._state===E?this._stateInAttributeValueSingleQuotes(e):this._state===v?this._stateInAttributeValueNoQuotes(e):this._state===A?this._stateBeforeDeclaration(e):this._state===b?this._stateInDeclaration(e):this._state===S?this._stateInProcessingInstruction(e):this._state===O?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===w?this._stateAfterComment1(e):this._state===I?this._stateAfterComment2(e):this._state===N?this._stateBeforeCdata1(e):this._state===k?this._stateBeforeCdata2(e):this._state===P?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===R?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===M?this._stateInCdata(e):this._state===x?this._stateAfterCdata1(e):this._state===F?this._stateAfterCdata2(e):this._state===U?this._stateBeforeSpecial(e):this._state===B?this._stateBeforeSpecialEnd(e):this._state===H?this._stateBeforeScript1(e):this._state===j?this._stateBeforeScript2(e):this._state===$?this._stateBeforeScript3(e):this._state===W?this._stateBeforeScript4(e):this._state===G?this._stateBeforeScript5(e):this._state===q?this._stateAfterScript1(e):this._state===V?this._stateAfterScript2(e):this._state===K?this._stateAfterScript3(e):this._state===Y?this._stateAfterScript4(e):this._state===z?this._stateAfterScript5(e):this._state===Q?this._stateBeforeStyle1(e):this._state===X?this._stateBeforeStyle2(e):this._state===J?this._stateBeforeStyle3(e):this._state===Z?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===se?this._stateAfterStyle4(e):this._state===ne?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===oe?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},me.prototype.pause=function(){this._running=!1},me.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},me.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},me.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},me.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===M||this._state===x||this._state===F?this._cbs.oncdata(e):this._state===C||this._state===w||this._state===I?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==oe||this._xmlMode?this._state!==le||this._xmlMode?this._state!==c&&this._state!==g&&this._state!==y&&this._state!==_&&this._state!==m&&this._state!==E&&this._state!==T&&this._state!==v&&this._state!==f&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},me.prototype.reset=function(){me.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},me.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},me.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},me.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},me.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},83621:(e,t,r)=>{e.exports=o;var s=r(50763),n=r(50247).Writable,i=r(32553).s,a=r(48764).Buffer;function o(e,t){var r=this._parser=new s(e,t),a=this._decoder=new i;n.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(35717)(o,n),o.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},23719:(e,t,r)=>{var s=r(50763),n=r(29730);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:s,Tokenizer:r(39889),ElementType:r(62391),DomHandler:n,get FeedHandler(){return i("FeedHandler",r(63870))},get Stream(){return i("Stream",r(89924))},get WritableStream(){return i("WritableStream",r(83621))},get ProxyHandler(){return i("ProxyHandler",r(76321))},get DomUtils(){return i("DomUtils",r(29443))},get CollectingHandler(){return i("CollectingHandler",r(95449))},DefaultHandler:n,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new n(t);return new s(r,t).end(e),r.dom},parseFeed:function(t,r){var n=new e.exports.FeedHandler(r);return new s(n,r).end(t),n.dom},createDomStream:function(e,t,r){var i=new n(e,t,r);return new s(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},88066:(e,t,r)=>{var s=r(82570),n=r(81137),i=r(79004);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",n=0;n<e.length;n++){var i=e[n];"root"===i.type?r+=l(i.children,t):s.isTag(i)?r+=c(i,t):i.type===s.Directive?r+=d(i):i.type===s.Comment?r+=p(i):i.type===s.CDATA?r+=f(i):r+=h(i,t)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function c(e,t){"foreign"===t.xmlMode&&(e.name=i.elementNames[e.name]||e.name,e.parent&&u.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,s=function(e,t){if(e){var r,s="";for(var a in e)r=e[a],s&&(s+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),s+=a,(null!==r&&""!==r||t.xmlMode)&&(s+='="'+(t.decodeEntities?n.encodeXML(r):r.replace(/\"/g,"""))+'"');return s}}(e.attribs,t);return s&&(r+=" "+s),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),o[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function d(e){return"<"+e.data+">"}function h(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=n.encodeXML(r)),r}function f(e){return"<![CDATA["+e.children[0].data+"]]>"}function p(e){return"\x3c!--"+e.data+"--\x3e"}},82570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=void 0,t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},80162:function(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var n=s(r(53082)),i=s(r(23195)),a=s(r(61210)),o=s(r(64914)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(n.default);var c=function(e,t){return e<t?1:-1};function d(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?o.default(parseInt(t.substr(3),16)):o.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(i.default).sort(c),t=Object.keys(n.default).sort(c),r=0,s=0;r<t.length;r++)e[s]===t[r]?(t[r]+=";?",s++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=d(n.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),o(e)}return function(e){return String(e).replace(a,l)}}()},64914:function(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(33523)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in n.default&&(e=n.default[e]),i(e))}},60670:function(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var n=c(s(r(61210)).default),i=d(n);t.encodeXML=m(n);var a,o,l=c(s(r(53082)).default),u=d(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function d(e){for(var t=[],r=[],s=0,n=Object.keys(e);s<n.length;s++){var i=n[s];1===i.length?t.push("\\"+i):r.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var o=a;o<t.length-1&&t[o].charCodeAt(1)+1===t[o+1].charCodeAt(1);)o+=1;var l=1+o-a;l<3||t.splice(a,l,t[a]+"-"+t[o])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,o=u,function(e){return e.replace(o,(function(e){return a[e]})).replace(h,p)}),t.encodeNonAsciiHTML=m(l);var h=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function p(e){return"&#x"+(e.length>1?f(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(i.source+"|"+h.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||p(t)}))}}t.escape=function(e){return e.replace(g,p)},t.escapeUTF8=function(e){return e.replace(i,p)}},81137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var s=r(80162),n=r(60670);t.decode=function(e,t){return(!t||t<=0?s.decodeXML:s.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?s.decodeXML:s.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var i=r(60670);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(80162);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},62391:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},29730:(e,t,r)=>{var s=r(62391),n=/\s+/g,i=r(16805),a=r(7359);function o(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};o.prototype.onparserinit=function(e){this._parser=e},o.prototype.onreset=function(){o.call(this,this._callback,this._options,this._elementCB)},o.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},o.prototype._handleCallback=o.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},o.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},o.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},o.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,s=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),s?(e.prev=s,s.next=e):e.prev=null,r.push(e),e.parent=t||null},o.prototype.onopentag=function(e,t){var r={type:"script"===e?s.Script:"style"===e?s.Style:s.Tag,name:e,attribs:t,children:[]},n=this._createDomElement(r);this._addDomElement(n),this._tagStack.push(n)},o.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===s.Text)r?t.data=(t.data+e).replace(n," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===s.Text)r?t.data=(t.data+e).replace(n," "):t.data+=e;else{r&&(e=e.replace(n," "));var i=this._createDomElement({data:e,type:s.Text});this._addDomElement(i)}},o.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===s.Comment)t.data+=e;else{var r={data:e,type:s.Comment},n=this._createDomElement(r);this._addDomElement(n),this._tagStack.push(n)}},o.prototype.oncdatastart=function(){var e={children:[{data:"",type:s.Text}],type:s.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},o.prototype.oncommentend=o.prototype.oncdataend=function(){this._tagStack.pop()},o.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:s.Directive});this._addDomElement(r)},e.exports=o},7359:(e,t,r)=>{var s=r(16805),n=e.exports=Object.create(s),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:e=>{var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return s[this.type]||s.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},s={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var s=r[e];Object.defineProperty(t,e,{get:function(){return this[s]||null},set:function(e){return this[s]=e,e}})}))},29443:(e,t,r)=>{var s=e.exports;[r(72178),r(61699),r(26167),r(46754),r(55355),r(99256)].forEach((function(e){Object.keys(e).forEach((function(t){s[t]=e[t].bind(s)}))}))},99256:(e,t)=>{t.removeSubsets=function(e){for(var t,r,s,n=e.length;--n>-1;){for(t=r=e[n],e[n]=null,s=!0;r;){if(e.indexOf(r)>-1){s=!1,e.splice(n,1);break}r=r.parent}s&&(e[n]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,s,n,i,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(n=(s=l[o-1]).children,i=l[o],a=u[o],n.indexOf(i)>n.indexOf(a)?s===t?20:4:s===e?10:2)};t.uniqueSort=function(e){var t,s,n=e.length;for(e=e.slice();--n>-1;)t=e[n],(s=e.indexOf(t))>-1&&s<n&&e.splice(n,1);return e.sort((function(e,t){var s=r(e,t);return 2&s?-1:4&s?1:0})),e}},55355:(e,t,r)=>{var s=r(62391),n=t.isTag=s.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!n(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(n(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return n(t)&&e(t.name)}:"*"===e?n:function(t){return n(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!n(t)&&e(t.data)}:function(t){return!n(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,s){var n=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===n.length?[]:this.filter(n.reduce(o),t,r,s)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,s){return this.filter(i.tag_name(e),t,r,s)},t.getElementsByTagType=function(e,t,r,s){return this.filter(i.tag_type(e),t,r,s)}},26167:(e,t)=>{t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var s=t.next=e.next;s&&(s.prev=t);var n=t.parent=e.parent;if(n){var i=n.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,s=e.next;if(t.next=s,t.prev=e,e.next=t,t.parent=r,s){if(s.prev=t,r){var n=r.children;n.splice(n.lastIndexOf(s),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var s=r.children;s.splice(s.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},46754:(e,t,r)=>{var s=r(62391).isTag;function n(e,t,r,s){for(var i,a=[],o=0,l=t.length;o<l&&!(e(t[o])&&(a.push(t[o]),--s<=0))&&(i=t[o].children,!(r&&i&&i.length>0&&(i=n(e,i,r,s),a=a.concat(i),(s-=i.length)<=0)));o++);return a}e.exports={filter:function(e,t,r,s){return Array.isArray(t)||(t=[t]),"number"==typeof s&&isFinite(s)||(s=1/0),n(e,t,!1!==r,s)},find:n,findOneChild:function(e,t){for(var r=0,s=t.length;r<s;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){for(var n=null,i=0,a=r.length;i<a&&!n;i++)s(r[i])&&(t(r[i])?n=r[i]:r[i].children.length>0&&(n=e(t,r[i].children)));return n},existsOne:function e(t,r){for(var n=0,i=r.length;n<i;n++)if(s(r[n])&&(t(r[n])||r[n].children.length>0&&e(t,r[n].children)))return!0;return!1},findAll:function(e,t){for(var r=[],n=t.slice();n.length;){var i=n.shift();s(i)&&(i.children&&i.children.length>0&&n.unshift.apply(n,i.children),e(i)&&r.push(i))}return r}}},72178:(e,t,r)=>{var s=r(62391),n=r(88066),i=s.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return n(e,t)})).join(""):""},getOuterHTML:n,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===s.CDATA?e(t.children):t.type===s.Text?t.data:""}}},61699:(e,t)=>{var r=t.getChildren=function(e){return e.children},s=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=s(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},58894:(e,t,r)=>{var s=r(42968);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in s&&(e=s[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},80645:(e,t)=>{t.read=function(e,t,r,s,n){var i,a,o=8*n-s-1,l=(1<<o)-1,u=l>>1,c=-7,d=r?n-1:0,h=r?-1:1,f=e[t+d];for(d+=h,i=f&(1<<-c)-1,f>>=-c,c+=o;c>0;i=256*i+e[t+d],d+=h,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,s),i-=u}return(f?-1:1)*a*Math.pow(2,i-s)},t.write=function(e,t,r,s,n,i){var a,o,l,u=8*i-n-1,c=(1<<u)-1,d=c>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=s?0:i-1,p=s?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(o=0,a=c):a+d>=1?(o=(t*l-1)*Math.pow(2,n),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,n),a=0));n>=8;e[r+f]=255&o,f+=p,o/=256,n-=8);for(a=a<<n|o,u+=n;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*g}},35717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},2043:function(e,t,r){var s,n;!function(i,a){"use strict";s=function(){var e=function(){},t="undefined",r=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"],n={},i=null;function a(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(t){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function o(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(){for(var r=this.getLevel(),n=0;n<s.length;n++){var i=s[n];this[i]=n<r?e:this.methodFactory(i,r,this.name)}if(this.log=this.debug,typeof console===t&&r<this.levels.SILENT)return"No console available for logging"}function u(e){return function(){typeof console!==t&&(l.call(this),this[e].apply(this,arguments))}}function c(s,n,i){return function(s){return"debug"===s&&(s="log"),typeof console!==t&&("trace"===s&&r?o:void 0!==console[s]?a(console,s):void 0!==console.log?a(console,"log"):e)}(s)||u.apply(this,arguments)}function d(e,r){var a,o,u,d=this,h="loglevel";function f(){var e;if(typeof window!==t&&h){try{e=window.localStorage[h]}catch(e){}if(typeof e===t)try{var r=window.document.cookie,s=encodeURIComponent(h),n=r.indexOf(s+"=");-1!==n&&(e=/^([^;]+)/.exec(r.slice(n+s.length+1))[1])}catch(e){}return void 0===d.levels[e]&&(e=void 0),e}}function p(e){var t=e;if("string"==typeof t&&void 0!==d.levels[t.toUpperCase()]&&(t=d.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=d.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?h+=":"+e:"symbol"==typeof e&&(h=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=r||c,d.getLevel=function(){return null!=u?u:null!=o?o:a},d.setLevel=function(e,r){return u=p(e),!1!==r&&function(e){var r=(s[e]||"silent").toUpperCase();if(typeof window!==t&&h){try{return void(window.localStorage[h]=r)}catch(e){}try{window.document.cookie=encodeURIComponent(h)+"="+r+";"}catch(e){}}}(u),l.call(d)},d.setDefaultLevel=function(e){o=p(e),f()||d.setLevel(e,!1)},d.resetLevel=function(){u=null,function(){if(typeof window!==t&&h){try{window.localStorage.removeItem(h)}catch(e){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),l.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(i!==d&&(a=p(i.getLevel())),l.call(d),i===d)for(var e in n)n[e].rebuild()},a=p(i?i.getLevel():"WARN");var g=f();null!=g&&(u=p(g)),l.call(d)}(i=new d).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=n[e];return t||(t=n[e]=new d(e,i.methodFactory)),t};var h=typeof window!==t?window.log:void 0;return i.noConflict=function(){return typeof window!==t&&window.log===i&&(window.log=h),i},i.getLoggers=function(){return n},i.default=i,i},void 0===(n=s.call(t,r,t,e))||(e.exports=n)}()},37478:(e,t,r)=>{"use strict";var s=r(45388),n=r(21924),i=r(27470),a=s("%TypeError%"),o=s("%WeakMap%",!0),l=s("%Map%",!0),u=n("WeakMap.prototype.get",!0),c=n("WeakMap.prototype.set",!0),d=n("WeakMap.prototype.has",!0),h=n("Map.prototype.get",!0),f=n("Map.prototype.set",!0),p=n("Map.prototype.has",!0),g=function(e,t){for(var r,s=e;null!==(r=s.next);s=r)if(r.key===t)return s.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,s={assert:function(e){if(!s.has(e))throw new a("Side channel does not contain "+i(e))},get:function(s){if(o&&s&&("object"==typeof s||"function"==typeof s)){if(e)return u(e,s)}else if(l){if(t)return h(t,s)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,s)},has:function(s){if(o&&s&&("object"==typeof s||"function"==typeof s)){if(e)return d(e,s)}else if(l){if(t)return p(t,s)}else if(r)return function(e,t){return!!g(e,t)}(r,s);return!1},set:function(s,n){o&&s&&("object"==typeof s||"function"==typeof s)?(e||(e=new o),c(e,s,n)):l?(t||(t=new l),f(t,s,n)):(r||(r={key:{},next:null}),function(e,t,r){var s=g(e,t);s?s.value=r:e.next={key:t,next:e.next,value:r}}(r,s,n))}};return s}},45388:(e,t,r)=>{"use strict";var s,n=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(19193)(),h=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"==typeof Uint8Array?s:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?s:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?s:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):s,"%AsyncFromSyncIteratorPrototype%":s,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?s:Atomics,"%BigInt%":"undefined"==typeof BigInt?s:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?s:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?s:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?s:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?s:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?s:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?s:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?s:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):s,"%JSON%":"object"==typeof JSON?JSON:s,"%Map%":"undefined"==typeof Map?s:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):s,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?s:Promise,"%Proxy%":"undefined"==typeof Proxy?s:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?s:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?s:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):s,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?s:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):s,"%Symbol%":d?Symbol:s,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?s:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?s:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?s:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?s:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?s:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?s:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?s:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var s=e("%AsyncGeneratorFunction%");s&&(r=s.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&(r=h(n.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),T=r(17642),E=y.call(Function.call,Array.prototype.concat),v=y.call(Function.apply,Array.prototype.splice),A=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,C=function(e,t){var r,s=e;if(T(_,s)&&(s="%"+(r=_[s])[0]+"%"),T(g,s)){var i=g[s];if(i===f&&(i=m(s)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:s,value:i}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new n("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new n("invalid intrinsic syntax, expected opening `%`");var s=[];return A(e,S,(function(e,t,r,n){s[s.length]=r?A(n,O,"$1"):t||e})),s}(e),s=r.length>0?r[0]:"",i=C("%"+s+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(s=d[0],v(r,E([0,1],d)));for(var h=1,f=!0;h<r.length;h+=1){var p=r[h],m=b(p,0,1),_=b(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===_||"'"===_||"`"===_)&&m!==_)throw new n("property names with quotes must have matching quotes");if("constructor"!==p&&f||(c=!0),T(g,o="%"+(s+="."+p)+"%"))u=g[o];else if(null!=u){if(!(p in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&h+1>=r.length){var y=l(u,p);u=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=T(u,p),u=u[p];f&&!c&&(g[o]=u)}}return u}},19193:(e,t,r)=>{"use strict";var s="undefined"!=typeof Symbol&&Symbol,n=r(6105);e.exports=function(){return"function"==typeof s&&"function"==typeof Symbol&&"symbol"==typeof s("foo")&&"symbol"==typeof Symbol("bar")&&n()}},6105:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var s=Object.getOwnPropertySymbols(e);if(1!==s.length||s[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(e,t);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},27470:(e,t,r)=>{var s="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=s&&n&&"function"==typeof n.get?n.get:null,a=s&&Map.prototype.forEach,o="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=o&&l&&"function"==typeof l.get?l.get:null,c=o&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f=Boolean.prototype.valueOf,p=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,y=Object.getOwnPropertySymbols,T="function"==typeof Symbol?Symbol.prototype.toString:null,E=Object.prototype.propertyIsEnumerable,v=r(47165).custom,A=v&&C(v)?v:null;function b(e,t,r){var s="double"===(r.quoteStyle||t)?'"':"'";return s+e+s}function S(e){return String(e).replace(/"/g,""")}function O(e){return"[object Array]"===N(e)}function C(e){return"[object Symbol]"===N(e)}e.exports=function e(t,r,s,n){var o=r||{};if(I(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!I(o,"customInspect")||o.customInspect;if("boolean"!=typeof l)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(I(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return P(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var p=void 0===o.depth?5:o.depth;if(void 0===s&&(s=0),s>=p&&p>0&&"object"==typeof t)return O(t)?"[Array]":"[Object]";var y,E=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(o,s);if(void 0===n)n=[];else if(k(n,t)>=0)return"[Circular]";function v(t,r,i){if(r&&(n=n.slice()).push(r),i){var a={depth:o.depth};return I(o,"quoteStyle")&&(a.quoteStyle=o.quoteStyle),e(t,a,s+1,n)}return e(t,o,s+1,n)}if("function"==typeof t){var w=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),L=F(t,v);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(L.length>0?" { "+L.join(", ")+" }":"")}if(C(t)){var U=T.call(t);return"object"==typeof t?R(U):U}if((y=t)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var B="<"+String(t.nodeName).toLowerCase(),H=t.attributes||[],j=0;j<H.length;j++)B+=" "+H[j].name+"="+b(S(H[j].value),"double",o);return B+=">",t.childNodes&&t.childNodes.length&&(B+="..."),B+"</"+String(t.nodeName).toLowerCase()+">"}if(O(t)){if(0===t.length)return"[]";var $=F(t,v);return E&&!function(e){for(var t=0;t<e.length;t++)if(k(e[t],"\n")>=0)return!1;return!0}($)?"["+x($,E)+"]":"[ "+$.join(", ")+" ]"}if(function(e){return"[object Error]"===N(e)}(t)){var W=F(t,v);return 0===W.length?"["+String(t)+"]":"{ ["+String(t)+"] "+W.join(", ")+" }"}if("object"==typeof t&&l){if(A&&"function"==typeof t[A])return t[A]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var G=[];return a.call(t,(function(e,r){G.push(v(r,t,!0)+" => "+v(e,t))})),M("Map",i.call(t),G,E)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var q=[];return c.call(t,(function(e){q.push(v(e,t))})),M("Set",u.call(t),q,E)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return D("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return D("WeakSet");if(function(e){return"[object Number]"===N(e)}(t))return R(v(Number(t)));if(function(e){return"[object BigInt]"===N(e)}(t))return R(v(_.call(t)));if(function(e){return"[object Boolean]"===N(e)}(t))return R(f.call(t));if(function(e){return"[object String]"===N(e)}(t))return R(v(String(t)));if(!function(e){return"[object Date]"===N(e)}(t)&&!function(e){return"[object RegExp]"===N(e)}(t)){var V=F(t,v);return 0===V.length?"{}":E?"{"+x(V,E)+"}":"{ "+V.join(", ")+" }"}return String(t)};var w=Object.prototype.hasOwnProperty||function(e){return e in this};function I(e,t){return w.call(e,t)}function N(e){return p.call(e)}function k(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,s=e.length;r<s;r++)if(e[r]===t)return r;return-1}function P(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,s="... "+r+" more character"+(r>1?"s":"");return P(e.slice(0,t.maxStringLength),t)+s}return b(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",t)}function L(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function R(e){return"Object("+e+")"}function D(e){return e+" { ? }"}function M(e,t,r,s){return e+" ("+t+") {"+(s?x(r,s):r.join(", "))+"}"}function x(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function F(e,t){var r=O(e),s=[];if(r){s.length=e.length;for(var n=0;n<e.length;n++)s[n]=I(e,n)?t(e[n],e):""}for(var i in e)I(e,i)&&(r&&String(Number(i))===i&&i<e.length||(/[^\w$]/.test(i)?s.push(t(i,e)+": "+t(e[i],e)):s.push(i+": "+t(e[i],e))));if("function"==typeof y)for(var a=y(e),o=0;o<a.length;o++)E.call(e,a[o])&&s.push("["+t(a[o])+"]: "+t(e[a[o]],e));return s}},32553:(e,t,r)=>{"use strict";var s=r(40396).Buffer,n=s.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(s.isEncoding===n||!n(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var s=t.length-1;if(s<r)return 0;var n=a(t[s]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--s<r||-2===n?0:(n=a(t[s]))>=0?(n>0&&(e.lastNeed=n-2),n):--s<r||-2===n?0:(n=a(t[s]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,s),e.toString("utf8",t,s)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},40396:(e,t,r)=>{var s=r(48764),n=s.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=s:(i(s,t),t.Buffer=a),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var s=n(e);return void 0!==t?"string"==typeof r?s.fill(t,r):s.fill(t):s.fill(0),s},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s.SlowBuffer(e)}},14429:e=>{var t=function(e,t){var r;for(r=0;r<e.length;r++)if(e[r].regex.test(t))return e[r]},r=function(e,r){var s,n,i;for(s=0;s<r.length;s++)if(n=t(e,r.substring(0,s+1)))i=n;else if(i)return{max_index:s,rule:i};return i?{max_index:r.length,rule:i}:void 0};e.exports=function(e){var s="",n=[],i=1,a=1,o=function(t,r){e({type:r,src:t,line:i,col:a});var s=t.split("\n");i+=s.length-1,a=(s.length>1?1:a)+s[s.length-1].length};return{addRule:function(e,t){n.push({regex:e,type:t})},onText:function(e){for(var t=s+e,i=r(n,t);i&&i.max_index!==t.length;)o(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=r(n,t);s=t},end:function(){if(0!==s.length){var e=t(n,s);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:s,line:i,col:a},r}o(s,e.type)}}}}},52511:function(e,t,r){var s;e=r.nmd(e),function(n){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,o=2147483647,l=36,u=26,c=38,d=700,h=/^xn--/,f=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=l-1,_=Math.floor,y=String.fromCharCode;function T(e){throw new RangeError(g[e])}function E(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}function v(e,t){var r=e.split("@"),s="";return r.length>1&&(s=r[0]+"@",e=r[1]),s+E((e=e.replace(p,".")).split("."),t).join(".")}function A(e){for(var t,r,s=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),n--):s.push(t);return s}function b(e){return E(e,(function(e){var t="";return e>65535&&(t+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+y(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var s=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>m*u>>1;s+=l)e=_(e/m);return _(s+(m+1)*e/(e+c))}function C(e){var t,r,s,n,i,a,c,d,h,f,p,g=[],m=e.length,y=0,E=128,v=72;for((r=e.lastIndexOf("-"))<0&&(r=0),s=0;s<r;++s)e.charCodeAt(s)>=128&&T("not-basic"),g.push(e.charCodeAt(s));for(n=r>0?r+1:0;n<m;){for(i=y,a=1,c=l;n>=m&&T("invalid-input"),((d=(p=e.charCodeAt(n++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:l)>=l||d>_((o-y)/a))&&T("overflow"),y+=d*a,!(d<(h=c<=v?1:c>=v+u?u:c-v));c+=l)a>_(o/(f=l-h))&&T("overflow"),a*=f;v=O(y-i,t=g.length+1,0==i),_(y/t)>o-E&&T("overflow"),E+=_(y/t),y%=t,g.splice(y++,0,E)}return b(g)}function w(e){var t,r,s,n,i,a,c,d,h,f,p,g,m,E,v,b=[];for(g=(e=A(e)).length,t=128,r=0,i=72,a=0;a<g;++a)(p=e[a])<128&&b.push(y(p));for(s=n=b.length,n&&b.push("-");s<g;){for(c=o,a=0;a<g;++a)(p=e[a])>=t&&p<c&&(c=p);for(c-t>_((o-r)/(m=s+1))&&T("overflow"),r+=(c-t)*m,t=c,a=0;a<g;++a)if((p=e[a])<t&&++r>o&&T("overflow"),p==t){for(d=r,h=l;!(d<(f=h<=i?1:h>=i+u?u:h-i));h+=l)v=d-f,E=l-f,b.push(y(S(f+v%E,0))),d=_(v/E);b.push(y(S(d,0))),i=O(r,m,s==n),r=0,++s}++r,++t}return b.join("")}a={version:"1.4.1",ucs2:{decode:A,encode:b},decode:C,encode:w,toASCII:function(e){return v(e,(function(e){return f.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return v(e,(function(e){return h.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(s=function(){return a}.call(t,r,t,e))||(e.exports=s)}()},39532:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,s="RFC3986";e.exports={default:s,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:s}},35984:(e,t,r)=>{"use strict";var s=r(24730),n=r(7325),i=r(39532);e.exports={formats:i,parse:n,stringify:s}},7325:(e,t,r)=>{"use strict";var s=r(19368),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:s.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,s){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=o?i.slice(0,o.index):i,c=[];if(u){if(!r.plainObjects&&n.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(o=a.exec(i))&&d<r.depth;){if(d+=1,!r.plainObjects&&n.call(Object.prototype,o[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(o[1])}return o&&c.push("["+i.slice(o.index)+"]"),function(e,t,r,s){for(var n=s?t:l(t,r),i=e.length-1;i>=0;--i){var a,o=e[i];if("[]"===o&&r.parseArrays)a=[].concat(n);else{a=r.plainObjects?Object.create(null):{};var u="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&o!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=n:"__proto__"!==u&&(a[u]=n):a={0:n}}n=a}return n}(c,t,r,s)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||s.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,h=c.split(t.delimiter,d),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r<h.length;++r)0===h[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[r]?p="utf-8":"utf8=%26%2310003%3B"===h[r]&&(p="iso-8859-1"),f=r,r=h.length);for(r=0;r<h.length;++r)if(r!==f){var g,m,_=h[r],y=_.indexOf("]="),T=-1===y?_.indexOf("="):y+1;-1===T?(g=t.decoder(_,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(_.slice(0,T),a.decoder,p,"key"),m=s.maybeMap(l(_.slice(T+1),t),(function(e){return t.decoder(e,a.decoder,p,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=o(m)),_.indexOf("[]=")>-1&&(m=i(m)?[m]:m),n.call(u,g)?u[g]=s.combine(u[g],m):u[g]=m}return u}(e,r):e,d=r.plainObjects?Object.create(null):{},h=Object.keys(c),f=0;f<h.length;++f){var p=h[f],g=u(p,c[p],r,"string"==typeof e);d=s.merge(d,g,r)}return!0===r.allowSparse?d:s.compact(d)}},24730:(e,t,r)=>{"use strict";var s=r(37478),n=r(19368),i=r(39532),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,r,i,a,o,u,d,h,g,m,_,y,T,E,v,A){for(var b,S=t,O=A,C=0,w=!1;void 0!==(O=O.get(p))&&!w;){var I=O.get(t);if(C+=1,void 0!==I){if(I===C)throw new RangeError("Cyclic object value");w=!0}void 0===O.get(p)&&(C=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=_(S):"comma"===i&&l(S)&&(S=n.maybeMap(S,(function(e){return e instanceof Date?_(e):e}))),null===S){if(o)return d&&!E?d(r,f.encoder,v,"key",y):r;S=""}if("string"==typeof(b=S)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||n.isBuffer(S))return d?[T(E?r:d(r,f.encoder,v,"key",y))+"="+T(d(S,f.encoder,v,"value",y))]:[T(r)+"="+T(String(S))];var N,k=[];if(void 0===S)return k;if("comma"===i&&l(S))E&&d&&(S=n.maybeMap(S,d)),N=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(h))N=h;else{var P=Object.keys(S);N=g?P.sort(g):P}for(var L=a&&l(S)&&1===S.length?r+"[]":r,R=0;R<N.length;++R){var D=N[R],M="object"==typeof D&&void 0!==D.value?D.value:S[D];if(!u||null!==M){var x=l(S)?"function"==typeof i?i(L,D):L:L+(m?"."+D:"["+D+"]");A.set(t,C);var F=s();F.set(p,A),c(k,e(M,x,i,a,o,u,"comma"===i&&E&&l(S)?null:d,h,g,m,_,y,T,E,v,F))}}return k};e.exports=function(e,t){var r,n=e,u=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var s=i.formatters[r],n=f.filter;return("function"==typeof e.filter||l(e.filter))&&(n=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:n,format:r,formatter:s,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof u.filter?n=(0,u.filter)("",n):l(u.filter)&&(r=u.filter);var d,h=[];if("object"!=typeof n||null===n)return"";d=t&&t.arrayFormat in o?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=o[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===p&&t&&t.commaRoundTrip;r||(r=Object.keys(n)),u.sort&&r.sort(u.sort);for(var _=s(),y=0;y<r.length;++y){var T=r[y];u.skipNulls&&null===n[T]||c(h,g(n[T],T,p,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,_))}var E=h.join(u.delimiter),v=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),E.length>0?v+E:""}},19368:(e,t,r)=>{"use strict";var s=r(39532),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),o=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},s=0;s<e.length;++s)void 0!==e[s]&&(r[s]=e[s]);return r};e.exports={arrayToObject:o,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],s=0;s<t.length;++s)for(var n=t[s],a=n.obj[n.prop],o=Object.keys(a),l=0;l<o.length;++l){var u=o[l],c=a[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var s=[],n=0;n<r.length;++n)void 0!==r[n]&&s.push(r[n]);t.obj[t.prop]=s}}}(t),e},decode:function(e,t,r){var s=e.replace(/\+/g," ");if("iso-8859-1"===r)return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch(e){return s}},encode:function(e,t,r,n,i){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<o.length;++u){var c=o.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===s.RFC1738&&(40===c||41===c)?l+=o.charAt(u):c<128?l+=a[c]:c<2048?l+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?l+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(u)),l+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],s=0;s<e.length;s+=1)r.push(t(e[s]));return r}return t(e)},merge:function e(t,r,s){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(s&&(s.plainObjects||s.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return i(t)&&!i(r)&&(a=o(t,s)),i(t)&&i(r)?(r.forEach((function(r,i){if(n.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,s):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,i){var a=r[i];return n.call(t,i)?t[i]=e(t[i],a,s):t[i]=a,t}),a)}}},8575:(e,t,r)=>{"use strict";var s=r(52511);function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r(35984);function y(e,t,r){if(e&&"object"==typeof e&&e instanceof n)return e;var s=new n;return s.parse(e,t,r),s}n.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),a=-1!==n&&n<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(a);if(y=y.trim(),!r&&1===e.split("#").length){var T=o.exec(y);if(T)return this.path=y,this.href=y,this.pathname=T[1],T[2]?(this.search=T[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(y);if(E){var v=(E=E[0]).toLowerCase();this.protocol=v,y=y.substr(E.length)}if(r||E||y.match(/^\/\/[^@/]+@[^@/]+/)){var A="//"===y.substr(0,2);!A||E&&g[E]||(y=y.substr(2),this.slashes=!0)}if(!g[E]&&(A||E&&!m[E])){for(var b,S,O=-1,C=0;C<d.length;C++)-1!==(w=y.indexOf(d[C]))&&(-1===O||w<O)&&(O=w);for(-1!==(S=-1===O?y.lastIndexOf("@"):y.lastIndexOf("@",O))&&(b=y.slice(0,S),y=y.slice(S+1),this.auth=decodeURIComponent(b)),O=-1,C=0;C<c.length;C++){var w;-1!==(w=y.indexOf(c[C]))&&(-1===O||w<O)&&(O=w)}-1===O&&(O=y.length),this.host=y.slice(0,O),y=y.slice(O),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var N=this.hostname.split(/\./),k=(C=0,N.length);C<k;C++){var P=N[C];if(P&&!P.match(h)){for(var L="",R=0,D=P.length;R<D;R++)P.charCodeAt(R)>127?L+="x":L+=P[R];if(!L.match(h)){var M=N.slice(0,C),x=N.slice(C+1),F=P.match(f);F&&(M.push(F[1]),x.unshift(F[2])),x.length&&(y="/"+x.join(".")+y),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=s.toASCII(this.hostname));var U=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+U,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[v])for(C=0,k=u.length;C<k;C++){var H=u[C];if(-1!==y.indexOf(H)){var j=encodeURIComponent(H);j===H&&(j=escape(H)),y=y.split(H).join(j)}}var $=y.indexOf("#");-1!==$&&(this.hash=y.substr($),y=y.slice(0,$));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=_.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),m[v]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var G=this.search||"";this.path=U+G}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",s=this.hash||"",n=!1,i="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=_.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),s&&"#"!==s.charAt(0)&&(s="#"+s),a&&"?"!==a.charAt(0)&&(a="?"+a),t+n+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+s},n.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if("string"==typeof e){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,s=Object.keys(this),i=0;i<s.length;i++){var a=s[i];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),l=0;l<o.length;l++){var u=o[l];"protocol"!==u&&(r[u]=e[u])}return m[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!m[e.protocol]){for(var c=Object.keys(e),d=0;d<c.length;d++){var h=c[d];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",_=r.search||"";r.path=p+_}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),T=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=T||y||r.host&&e.pathname,v=E,A=r.pathname&&r.pathname.split("/")||[],b=(f=e.pathname&&e.pathname.split("/")||[],r.protocol&&!m[r.protocol]);if(b&&(r.hostname="",r.port=null,r.host&&(""===A[0]?A[0]=r.host:A.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),E=E&&(""===f[0]||""===A[0])),T)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,A=f;else if(f.length)A||(A=[]),A.pop(),A=A.concat(f),r.search=e.search,r.query=e.query;else if(null!=e.search)return b&&(r.host=A.shift(),r.hostname=r.host,(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)),r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=A.slice(-1)[0],O=(r.host||e.host||A.length>1)&&("."===S||".."===S)||""===S,C=0,w=A.length;w>=0;w--)"."===(S=A[w])?A.splice(w,1):".."===S?(A.splice(w,1),C++):C&&(A.splice(w,1),C--);if(!E&&!v)for(;C--;C)A.unshift("..");!E||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),O&&"/"!==A.join("/").substr(-1)&&A.push("");var I,N=""===A[0]||A[0]&&"/"===A[0].charAt(0);return b&&(r.hostname=N?"":A.length?A.shift():"",r.host=r.hostname,(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)),(E=E||r.host&&A.length)&&!N&&A.unshift(""),A.length>0?r.pathname=A.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof n?e.format():n.prototype.format.call(e)},t.Url=n},92819:e=>{"use strict";e.exports=window.lodash},65736:e=>{"use strict";e.exports=window.wp.i18n},14715:e=>{"use strict";e.exports=window.yoast.featureFlag},50247:()=>{},47165:()=>{},52225:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorCodes:()=>g,Parser:()=>Ue,Token:()=>s,Tokenizer:()=>Y,TokenizerMode:()=>j,defaultTreeAdapter:()=>ce,foreignContent:()=>i,html:()=>n,parse:()=>Gt,parseFragment:()=>qt,serialize:()=>Ht,serializeOuter:()=>jt});var s={};r.r(s),r.d(s,{TokenType:()=>m,getTokenAttr:()=>y});var n={};r.r(n),r.d(n,{ATTRS:()=>C,DOCUMENT_MODE:()=>w,NS:()=>O,NUMBERED_HEADERS:()=>F,SPECIAL_ELEMENTS:()=>x,TAG_ID:()=>N,TAG_NAMES:()=>I,getTagID:()=>D,hasUnescapedText:()=>B});var i={};r.r(i),r.d(i,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>be,adjustTokenMathMLAttrs:()=>Ce,adjustTokenSVGAttrs:()=>we,adjustTokenSVGTagName:()=>Ne,adjustTokenXMLAttrs:()=>Ie,causesExit:()=>Oe,isIntegrationPoint:()=>ke});const a=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),o="�";var l;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(l||(l={}));const u="[CDATA[",c="doctype",d="script";function h(e){return e>=55296&&e<=57343}function f(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function p(e){return e>=64976&&e<=65007||a.has(e)}var g,m;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(g||(g={}));class _{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:s,offset:n}=this,i=s+t,a=n+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:a,endOffset:a}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,l.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,l.EOF;const r=this.html.charCodeAt(t);return r===l.CARRIAGE_RETURN?l.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,l.EOF;let e=this.html.charCodeAt(this.pos);return e===l.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,l.LINE_FEED):e===l.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,h(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===l.LINE_FEED||e===l.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){f(e)?this._err(g.controlCharacterInInputStream):p(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function y(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(m||(m={}));const T=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0))));const E=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var v,A,b,S,O,C,w,I,N;function k(e){return e>=v.ZERO&&e<=v.NINE}String.fromCodePoint,function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(v||(v={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(A||(A={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(b||(b={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(S||(S={}));class P{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=b.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=S.Strict}startEntity(e){this.decodeMode=e,this.state=b.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case b.EntityStart:return e.charCodeAt(t)===v.NUM?(this.state=b.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=b.NamedEntity,this.stateNamedEntity(e,t));case b.NumericStart:return this.stateNumericStart(e,t);case b.NumericDecimal:return this.stateNumericDecimal(e,t);case b.NumericHex:return this.stateNumericHex(e,t);case b.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===v.LOWER_X?(this.state=b.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=b.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,s){if(t!==r){const n=r-t;this.result=this.result*Math.pow(s,n)+Number.parseInt(e.substr(t,n),s),this.consumed+=n}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!(k(n)||(s=n,s>=v.UPPER_A&&s<=v.UPPER_F||s>=v.LOWER_A&&s<=v.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3);t+=1}var s;return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const s=e.charCodeAt(t);if(!k(s))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(s,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===v.SEMI)this.consumed+=1;else if(this.decodeMode===S.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=E.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==v.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let s=r[this.treeIndex],n=(s&A.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const a=e.charCodeAt(t);if(this.treeIndex=L(r,s,this.treeIndex+Math.max(1,n),a),this.treeIndex<0)return 0===this.result||this.decodeMode===S.Attribute&&(0===n||((i=a)===v.EQUALS||function(e){return e>=v.UPPER_A&&e<=v.UPPER_Z||e>=v.LOWER_A&&e<=v.LOWER_Z||k(e)}(i)))?0:this.emitNotTerminatedNamedEntity();if(s=r[this.treeIndex],n=(s&A.VALUE_LENGTH)>>14,0!==n){if(a===v.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==S.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var i;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,s=(r[t]&A.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,s,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:s}=this;return this.emitCodePoint(1===t?s[e]&~A.VALUE_LENGTH:s[e+1],r),3===t&&this.emitCodePoint(s[e+2],r),r}end(){var e;switch(this.state){case b.NamedEntity:return 0===this.result||this.decodeMode===S.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case b.NumericDecimal:return this.emitNumericEntity(0,2);case b.NumericHex:return this.emitNumericEntity(0,3);case b.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case b.EntityStart:return 0}}}function L(e,t,r,s){const n=(t&A.BRANCH_LENGTH)>>7,i=t&A.JUMP_TABLE;if(0===n)return 0!==i&&s===i?r:-1;if(i){const t=s-i;return t<0||t>=n?-1:e[r+t]-1}let a=r,o=a+n-1;for(;a<=o;){const t=a+o>>>1,r=e[t];if(r<s)a=t+1;else{if(!(r>s))return e[t+n];o=t-1}}return-1}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(O||(O={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(C||(C={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(w||(w={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(I||(I={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(N||(N={}));const R=new Map([[I.A,N.A],[I.ADDRESS,N.ADDRESS],[I.ANNOTATION_XML,N.ANNOTATION_XML],[I.APPLET,N.APPLET],[I.AREA,N.AREA],[I.ARTICLE,N.ARTICLE],[I.ASIDE,N.ASIDE],[I.B,N.B],[I.BASE,N.BASE],[I.BASEFONT,N.BASEFONT],[I.BGSOUND,N.BGSOUND],[I.BIG,N.BIG],[I.BLOCKQUOTE,N.BLOCKQUOTE],[I.BODY,N.BODY],[I.BR,N.BR],[I.BUTTON,N.BUTTON],[I.CAPTION,N.CAPTION],[I.CENTER,N.CENTER],[I.CODE,N.CODE],[I.COL,N.COL],[I.COLGROUP,N.COLGROUP],[I.DD,N.DD],[I.DESC,N.DESC],[I.DETAILS,N.DETAILS],[I.DIALOG,N.DIALOG],[I.DIR,N.DIR],[I.DIV,N.DIV],[I.DL,N.DL],[I.DT,N.DT],[I.EM,N.EM],[I.EMBED,N.EMBED],[I.FIELDSET,N.FIELDSET],[I.FIGCAPTION,N.FIGCAPTION],[I.FIGURE,N.FIGURE],[I.FONT,N.FONT],[I.FOOTER,N.FOOTER],[I.FOREIGN_OBJECT,N.FOREIGN_OBJECT],[I.FORM,N.FORM],[I.FRAME,N.FRAME],[I.FRAMESET,N.FRAMESET],[I.H1,N.H1],[I.H2,N.H2],[I.H3,N.H3],[I.H4,N.H4],[I.H5,N.H5],[I.H6,N.H6],[I.HEAD,N.HEAD],[I.HEADER,N.HEADER],[I.HGROUP,N.HGROUP],[I.HR,N.HR],[I.HTML,N.HTML],[I.I,N.I],[I.IMG,N.IMG],[I.IMAGE,N.IMAGE],[I.INPUT,N.INPUT],[I.IFRAME,N.IFRAME],[I.KEYGEN,N.KEYGEN],[I.LABEL,N.LABEL],[I.LI,N.LI],[I.LINK,N.LINK],[I.LISTING,N.LISTING],[I.MAIN,N.MAIN],[I.MALIGNMARK,N.MALIGNMARK],[I.MARQUEE,N.MARQUEE],[I.MATH,N.MATH],[I.MENU,N.MENU],[I.META,N.META],[I.MGLYPH,N.MGLYPH],[I.MI,N.MI],[I.MO,N.MO],[I.MN,N.MN],[I.MS,N.MS],[I.MTEXT,N.MTEXT],[I.NAV,N.NAV],[I.NOBR,N.NOBR],[I.NOFRAMES,N.NOFRAMES],[I.NOEMBED,N.NOEMBED],[I.NOSCRIPT,N.NOSCRIPT],[I.OBJECT,N.OBJECT],[I.OL,N.OL],[I.OPTGROUP,N.OPTGROUP],[I.OPTION,N.OPTION],[I.P,N.P],[I.PARAM,N.PARAM],[I.PLAINTEXT,N.PLAINTEXT],[I.PRE,N.PRE],[I.RB,N.RB],[I.RP,N.RP],[I.RT,N.RT],[I.RTC,N.RTC],[I.RUBY,N.RUBY],[I.S,N.S],[I.SCRIPT,N.SCRIPT],[I.SEARCH,N.SEARCH],[I.SECTION,N.SECTION],[I.SELECT,N.SELECT],[I.SOURCE,N.SOURCE],[I.SMALL,N.SMALL],[I.SPAN,N.SPAN],[I.STRIKE,N.STRIKE],[I.STRONG,N.STRONG],[I.STYLE,N.STYLE],[I.SUB,N.SUB],[I.SUMMARY,N.SUMMARY],[I.SUP,N.SUP],[I.TABLE,N.TABLE],[I.TBODY,N.TBODY],[I.TEMPLATE,N.TEMPLATE],[I.TEXTAREA,N.TEXTAREA],[I.TFOOT,N.TFOOT],[I.TD,N.TD],[I.TH,N.TH],[I.THEAD,N.THEAD],[I.TITLE,N.TITLE],[I.TR,N.TR],[I.TRACK,N.TRACK],[I.TT,N.TT],[I.U,N.U],[I.UL,N.UL],[I.SVG,N.SVG],[I.VAR,N.VAR],[I.WBR,N.WBR],[I.XMP,N.XMP]]);function D(e){var t;return null!==(t=R.get(e))&&void 0!==t?t:N.UNKNOWN}const M=N,x={[O.HTML]:new Set([M.ADDRESS,M.APPLET,M.AREA,M.ARTICLE,M.ASIDE,M.BASE,M.BASEFONT,M.BGSOUND,M.BLOCKQUOTE,M.BODY,M.BR,M.BUTTON,M.CAPTION,M.CENTER,M.COL,M.COLGROUP,M.DD,M.DETAILS,M.DIR,M.DIV,M.DL,M.DT,M.EMBED,M.FIELDSET,M.FIGCAPTION,M.FIGURE,M.FOOTER,M.FORM,M.FRAME,M.FRAMESET,M.H1,M.H2,M.H3,M.H4,M.H5,M.H6,M.HEAD,M.HEADER,M.HGROUP,M.HR,M.HTML,M.IFRAME,M.IMG,M.INPUT,M.LI,M.LINK,M.LISTING,M.MAIN,M.MARQUEE,M.MENU,M.META,M.NAV,M.NOEMBED,M.NOFRAMES,M.NOSCRIPT,M.OBJECT,M.OL,M.P,M.PARAM,M.PLAINTEXT,M.PRE,M.SCRIPT,M.SECTION,M.SELECT,M.SOURCE,M.STYLE,M.SUMMARY,M.TABLE,M.TBODY,M.TD,M.TEMPLATE,M.TEXTAREA,M.TFOOT,M.TH,M.THEAD,M.TITLE,M.TR,M.TRACK,M.UL,M.WBR,M.XMP]),[O.MATHML]:new Set([M.MI,M.MO,M.MN,M.MS,M.MTEXT,M.ANNOTATION_XML]),[O.SVG]:new Set([M.TITLE,M.FOREIGN_OBJECT,M.DESC]),[O.XLINK]:new Set,[O.XML]:new Set,[O.XMLNS]:new Set},F=new Set([M.H1,M.H2,M.H3,M.H4,M.H5,M.H6]),U=new Set([I.STYLE,I.SCRIPT,I.XMP,I.IFRAME,I.NOEMBED,I.NOFRAMES,I.PLAINTEXT]);function B(e,t){return U.has(e)||t&&e===I.NOSCRIPT}var H;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(H||(H={}));const j={DATA:H.DATA,RCDATA:H.RCDATA,RAWTEXT:H.RAWTEXT,SCRIPT_DATA:H.SCRIPT_DATA,PLAINTEXT:H.PLAINTEXT,CDATA_SECTION:H.CDATA_SECTION};function $(e){return e>=l.LATIN_CAPITAL_A&&e<=l.LATIN_CAPITAL_Z}function W(e){return function(e){return e>=l.LATIN_SMALL_A&&e<=l.LATIN_SMALL_Z}(e)||$(e)}function G(e){return W(e)||function(e){return e>=l.DIGIT_0&&e<=l.DIGIT_9}(e)}function q(e){return e+32}function V(e){return e===l.SPACE||e===l.LINE_FEED||e===l.TABULATION||e===l.FORM_FEED}function K(e){return V(e)||e===l.SOLIDUS||e===l.GREATER_THAN_SIGN}class Y{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=H.DATA,this.returnState=H.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new _(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new P(T,((e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)}),t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(g.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(g.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===l.NULL?g.nullCharacterReference:e>1114111?g.characterReferenceOutsideUnicodeRange:h(e)?g.surrogateCharacterReference:p(e)?g.noncharacterCharacterReference:f(e)||e===l.CARRIAGE_RETURN?g.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var r,s;null===(s=(r=this.handler).onParseError)||void 0===s||s.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:m.START_TAG,tagName:"",tagID:N.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:m.END_TAG,tagName:"",tagID:N.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:m.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:m.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;null===y(r,this.currentAttr.name)?(r.attrs.push(this.currentAttr),r.location&&this.currentLocation&&((null!==(e=(t=r.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(g.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=D(e.tagName),e.type===m.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=V(e)?m.WHITESPACE_CHARACTER:e===l.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=H.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?S.Attribute:S.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===H.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===H.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===H.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case H.DATA:this._stateData(e);break;case H.RCDATA:this._stateRcdata(e);break;case H.RAWTEXT:this._stateRawtext(e);break;case H.SCRIPT_DATA:this._stateScriptData(e);break;case H.PLAINTEXT:this._statePlaintext(e);break;case H.TAG_OPEN:this._stateTagOpen(e);break;case H.END_TAG_OPEN:this._stateEndTagOpen(e);break;case H.TAG_NAME:this._stateTagName(e);break;case H.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case H.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case H.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case H.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case H.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case H.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case H.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case H.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case H.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case H.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case H.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case H.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case H.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case H.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case H.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case H.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case H.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case H.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case H.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case H.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case H.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case H.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case H.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case H.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case H.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case H.BOGUS_COMMENT:this._stateBogusComment(e);break;case H.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case H.COMMENT_START:this._stateCommentStart(e);break;case H.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case H.COMMENT:this._stateComment(e);break;case H.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case H.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case H.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case H.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case H.COMMENT_END:this._stateCommentEnd(e);break;case H.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case H.DOCTYPE:this._stateDoctype(e);break;case H.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case H.DOCTYPE_NAME:this._stateDoctypeName(e);break;case H.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case H.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case H.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case H.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case H.CDATA_SECTION:this._stateCdataSection(e);break;case H.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case H.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case H.CHARACTER_REFERENCE:this._stateCharacterReference();break;case H.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case l.LESS_THAN_SIGN:this.state=H.TAG_OPEN;break;case l.AMPERSAND:this._startCharacterReference();break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case l.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case l.AMPERSAND:this._startCharacterReference();break;case l.LESS_THAN_SIGN:this.state=H.RCDATA_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case l.LESS_THAN_SIGN:this.state=H.RAWTEXT_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(W(e))this._createStartTagToken(),this.state=H.TAG_NAME,this._stateTagName(e);else switch(e){case l.EXCLAMATION_MARK:this.state=H.MARKUP_DECLARATION_OPEN;break;case l.SOLIDUS:this.state=H.END_TAG_OPEN;break;case l.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=H.BOGUS_COMMENT,this._stateBogusComment(e);break;case l.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=H.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(W(e))this._createEndTagToken(),this.state=H.TAG_NAME,this._stateTagName(e);else switch(e){case l.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=H.DATA;break;case l.EOF:this._err(g.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=H.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.BEFORE_ATTRIBUTE_NAME;break;case l.SOLIDUS:this.state=H.SELF_CLOSING_START_TAG;break;case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentTagToken();break;case l.NULL:this._err(g.unexpectedNullCharacter),t.tagName+=o;break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint($(e)?q(e):e)}}_stateRcdataLessThanSign(e){e===l.SOLIDUS?this.state=H.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=H.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){W(e)?(this.state=H.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=H.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=H.BEFORE_ATTRIBUTE_NAME,!1;case l.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=H.SELF_CLOSING_START_TAG,!1;case l.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=H.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=H.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===l.SOLIDUS?this.state=H.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=H.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){W(e)?(this.state=H.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=H.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=H.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case l.SOLIDUS:this.state=H.SCRIPT_DATA_END_TAG_OPEN;break;case l.EXCLAMATION_MARK:this.state=H.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=H.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){W(e)?(this.state=H.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=H.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=H.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===l.HYPHEN_MINUS?(this.state=H.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=H.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===l.HYPHEN_MINUS?(this.state=H.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=H.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case l.HYPHEN_MINUS:this.state=H.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case l.HYPHEN_MINUS:this.state=H.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_ESCAPED,this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=H.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case l.HYPHEN_MINUS:this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case l.GREATER_THAN_SIGN:this.state=H.SCRIPT_DATA,this._emitChars(">");break;case l.NULL:this._err(g.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_ESCAPED,this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=H.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===l.SOLIDUS?this.state=H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:W(e)?(this._emitChars("<"),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){W(e)?(this.state=H.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(d,!1)&&K(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case l.HYPHEN_MINUS:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case l.NULL:this._err(g.unexpectedNullCharacter),this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case l.HYPHEN_MINUS:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case l.NULL:this._err(g.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case l.HYPHEN_MINUS:this._emitChars("-");break;case l.LESS_THAN_SIGN:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case l.GREATER_THAN_SIGN:this.state=H.SCRIPT_DATA,this._emitChars(">");break;case l.NULL:this._err(g.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(o);break;case l.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===l.SOLIDUS?(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(d,!1)&&K(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=H.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.SOLIDUS:case l.GREATER_THAN_SIGN:case l.EOF:this.state=H.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case l.EQUALS_SIGN:this._err(g.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=H.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=H.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:case l.SOLIDUS:case l.GREATER_THAN_SIGN:case l.EOF:this._leaveAttrName(),this.state=H.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case l.EQUALS_SIGN:this._leaveAttrName(),this.state=H.BEFORE_ATTRIBUTE_VALUE;break;case l.QUOTATION_MARK:case l.APOSTROPHE:case l.LESS_THAN_SIGN:this._err(g.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case l.NULL:this._err(g.unexpectedNullCharacter),this.currentAttr.name+=o;break;default:this.currentAttr.name+=String.fromCodePoint($(e)?q(e):e)}}_stateAfterAttributeName(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.SOLIDUS:this.state=H.SELF_CLOSING_START_TAG;break;case l.EQUALS_SIGN:this.state=H.BEFORE_ATTRIBUTE_VALUE;break;case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentTagToken();break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=H.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:this.state=H.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case l.APOSTROPHE:this.state=H.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case l.GREATER_THAN_SIGN:this._err(g.missingAttributeValue),this.state=H.DATA,this.emitCurrentTagToken();break;default:this.state=H.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case l.QUOTATION_MARK:this.state=H.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case l.AMPERSAND:this._startCharacterReference();break;case l.NULL:this._err(g.unexpectedNullCharacter),this.currentAttr.value+=o;break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case l.APOSTROPHE:this.state=H.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case l.AMPERSAND:this._startCharacterReference();break;case l.NULL:this._err(g.unexpectedNullCharacter),this.currentAttr.value+=o;break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this._leaveAttrValue(),this.state=H.BEFORE_ATTRIBUTE_NAME;break;case l.AMPERSAND:this._startCharacterReference();break;case l.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=H.DATA,this.emitCurrentTagToken();break;case l.NULL:this._err(g.unexpectedNullCharacter),this.currentAttr.value+=o;break;case l.QUOTATION_MARK:case l.APOSTROPHE:case l.LESS_THAN_SIGN:case l.EQUALS_SIGN:case l.GRAVE_ACCENT:this._err(g.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this._leaveAttrValue(),this.state=H.BEFORE_ATTRIBUTE_NAME;break;case l.SOLIDUS:this._leaveAttrValue(),this.state=H.SELF_CLOSING_START_TAG;break;case l.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=H.DATA,this.emitCurrentTagToken();break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this._err(g.missingWhitespaceBetweenAttributes),this.state=H.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case l.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=H.DATA,this.emitCurrentTagToken();break;case l.EOF:this._err(g.eofInTag),this._emitEOFToken();break;default:this._err(g.unexpectedSolidusInTag),this.state=H.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentComment(t);break;case l.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case l.NULL:this._err(g.unexpectedNullCharacter),t.data+=o;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=H.COMMENT_START):this._consumeSequenceIfMatch(c,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=H.DOCTYPE):this._consumeSequenceIfMatch(u,!0)?this.inForeignNode?this.state=H.CDATA_SECTION:(this._err(g.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=H.BOGUS_COMMENT):this._ensureHibernation()||(this._err(g.incorrectlyOpenedComment),this._createCommentToken(2),this.state=H.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case l.HYPHEN_MINUS:this.state=H.COMMENT_START_DASH;break;case l.GREATER_THAN_SIGN:{this._err(g.abruptClosingOfEmptyComment),this.state=H.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=H.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case l.HYPHEN_MINUS:this.state=H.COMMENT_END;break;case l.GREATER_THAN_SIGN:this._err(g.abruptClosingOfEmptyComment),this.state=H.DATA,this.emitCurrentComment(t);break;case l.EOF:this._err(g.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=H.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case l.HYPHEN_MINUS:this.state=H.COMMENT_END_DASH;break;case l.LESS_THAN_SIGN:t.data+="<",this.state=H.COMMENT_LESS_THAN_SIGN;break;case l.NULL:this._err(g.unexpectedNullCharacter),t.data+=o;break;case l.EOF:this._err(g.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case l.EXCLAMATION_MARK:t.data+="!",this.state=H.COMMENT_LESS_THAN_SIGN_BANG;break;case l.LESS_THAN_SIGN:t.data+="<";break;default:this.state=H.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===l.HYPHEN_MINUS?this.state=H.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=H.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===l.HYPHEN_MINUS?this.state=H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=H.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==l.GREATER_THAN_SIGN&&e!==l.EOF&&this._err(g.nestedComment),this.state=H.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case l.HYPHEN_MINUS:this.state=H.COMMENT_END;break;case l.EOF:this._err(g.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=H.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentComment(t);break;case l.EXCLAMATION_MARK:this.state=H.COMMENT_END_BANG;break;case l.HYPHEN_MINUS:t.data+="-";break;case l.EOF:this._err(g.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=H.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case l.HYPHEN_MINUS:t.data+="--!",this.state=H.COMMENT_END_DASH;break;case l.GREATER_THAN_SIGN:this._err(g.incorrectlyClosedComment),this.state=H.DATA,this.emitCurrentComment(t);break;case l.EOF:this._err(g.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=H.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.BEFORE_DOCTYPE_NAME;break;case l.GREATER_THAN_SIGN:this.state=H.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case l.EOF:{this._err(g.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(g.missingWhitespaceBeforeDoctypeName),this.state=H.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if($(e))this._createDoctypeToken(String.fromCharCode(q(e))),this.state=H.DOCTYPE_NAME;else switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.NULL:this._err(g.unexpectedNullCharacter),this._createDoctypeToken(o),this.state=H.DOCTYPE_NAME;break;case l.GREATER_THAN_SIGN:{this._err(g.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=H.DATA;break}case l.EOF:{this._err(g.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=H.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.AFTER_DOCTYPE_NAME;break;case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.NULL:this._err(g.unexpectedNullCharacter),t.name+=o;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint($(e)?q(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=H.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=H.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(g.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case l.QUOTATION_MARK:this._err(g.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:this._err(g.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case l.GREATER_THAN_SIGN:this._err(g.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:t.publicId="",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:t.publicId="",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case l.GREATER_THAN_SIGN:this._err(g.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case l.QUOTATION_MARK:this.state=H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case l.NULL:this._err(g.unexpectedNullCharacter),t.publicId+=o;break;case l.GREATER_THAN_SIGN:this._err(g.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case l.APOSTROPHE:this.state=H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case l.NULL:this._err(g.unexpectedNullCharacter),t.publicId+=o;break;case l.GREATER_THAN_SIGN:this._err(g.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case l.GREATER_THAN_SIGN:this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.QUOTATION_MARK:this._err(g.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:this._err(g.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.QUOTATION_MARK:t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:this.state=H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case l.QUOTATION_MARK:this._err(g.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:this._err(g.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case l.GREATER_THAN_SIGN:this._err(g.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.QUOTATION_MARK:t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case l.APOSTROPHE:t.systemId="",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case l.GREATER_THAN_SIGN:this._err(g.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(t);break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case l.QUOTATION_MARK:this.state=H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case l.NULL:this._err(g.unexpectedNullCharacter),t.systemId+=o;break;case l.GREATER_THAN_SIGN:this._err(g.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case l.APOSTROPHE:this.state=H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case l.NULL:this._err(g.unexpectedNullCharacter),t.systemId+=o;break;case l.GREATER_THAN_SIGN:this._err(g.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case l.SPACE:case l.LINE_FEED:case l.TABULATION:case l.FORM_FEED:break;case l.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.EOF:this._err(g.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(g.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case l.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=H.DATA;break;case l.NULL:this._err(g.unexpectedNullCharacter);break;case l.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case l.RIGHT_SQUARE_BRACKET:this.state=H.CDATA_SECTION_BRACKET;break;case l.EOF:this._err(g.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===l.RIGHT_SQUARE_BRACKET?this.state=H.CDATA_SECTION_END:(this._emitChars("]"),this.state=H.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case l.GREATER_THAN_SIGN:this.state=H.DATA;break;case l.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=H.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(l.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&G(this.preprocessor.peek(1))?H.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){G(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===l.SEMICOLON&&this._err(g.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const z=new Set([N.DD,N.DT,N.LI,N.OPTGROUP,N.OPTION,N.P,N.RB,N.RP,N.RT,N.RTC]),Q=new Set([...z,N.CAPTION,N.COLGROUP,N.TBODY,N.TD,N.TFOOT,N.TH,N.THEAD,N.TR]),X=new Set([N.APPLET,N.CAPTION,N.HTML,N.MARQUEE,N.OBJECT,N.TABLE,N.TD,N.TEMPLATE,N.TH]),J=new Set([...X,N.OL,N.UL]),Z=new Set([...X,N.BUTTON]),ee=new Set([N.ANNOTATION_XML,N.MI,N.MN,N.MO,N.MS,N.MTEXT]),te=new Set([N.DESC,N.FOREIGN_OBJECT,N.TITLE]),re=new Set([N.TR,N.TEMPLATE,N.HTML]),se=new Set([N.TBODY,N.TFOOT,N.THEAD,N.TEMPLATE,N.HTML]),ne=new Set([N.TABLE,N.TEMPLATE,N.HTML]),ie=new Set([N.TD,N.TH]);class ae{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=N.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===N.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===O.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const s=this._indexOf(e)+1;this.items.splice(s,0,t),this.tagIDs.splice(s,0,r),this.stackTop++,s===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,s===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==O.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(F,O.HTML)}popUntilTableCellPopped(){this.popUntilPopped(ie,O.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(ne,O.HTML)}clearBackToTableBodyContext(){this.clearBackTo(se,O.HTML)}clearBackToTableRowContext(){this.clearBackTo(re,O.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===N.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===N.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const s=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case O.HTML:if(s===e)return!0;if(t.has(s))return!1;break;case O.SVG:if(te.has(s))return!1;break;case O.MATHML:if(ee.has(s))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,X)}hasInListItemScope(e){return this.hasInDynamicScope(e,J)}hasInButtonScope(e){return this.hasInDynamicScope(e,Z)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case O.HTML:if(F.has(t))return!0;if(X.has(t))return!1;break;case O.SVG:if(te.has(t))return!1;break;case O.MATHML:if(ee.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case e:return!0;case N.TABLE:case N.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===O.HTML)switch(this.tagIDs[e]){case N.TBODY:case N.THEAD:case N.TFOOT:return!0;case N.TABLE:case N.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case e:return!0;case N.OPTION:case N.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&z.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&Q.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&Q.has(this.currentTagId);)this.pop()}}var oe;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(oe||(oe={}));const le={type:oe.Marker};class ue{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],s=t.length,n=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===oe.Marker)break;const{element:a}=t;if(this.treeAdapter.getTagName(a)===n&&this.treeAdapter.getNamespaceURI(a)===i){const t=this.treeAdapter.getAttrList(a);t.length===s&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<3)return;const s=new Map(t.map((e=>[e.name,e.value])));let n=0;for(let e=0;e<r.length;e++){const t=r[e];t.attrs.every((e=>s.get(e.name)===e.value))&&(n+=1,n>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(le)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:oe.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:oe.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(le);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===oe.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===oe.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===oe.Element&&t.element===e))}}const ce={createDocument:()=>({nodeName:"#document",mode:w.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const s=e.childNodes.indexOf(r);e.childNodes.splice(s,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,r,s){const n=e.childNodes.find((e=>"#documentType"===e.nodeName));if(n)n.name=t,n.publicId=r,n.systemId=s;else{const n={nodeName:"#documentType",name:t,publicId:r,systemId:s,parentNode:null};ce.appendChild(e,n)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(ce.isTextNode(r))return void(r.value+=t)}ce.appendChild(e,ce.createTextNode(t))},insertTextBefore(e,t,r){const s=e.childNodes[e.childNodes.indexOf(r)-1];s&&ce.isTextNode(s)?s.value+=t:ce.insertBefore(e,ce.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map((e=>e.name)));for(let s=0;s<t.length;s++)r.has(t[s].name)||e.attrs.push(t[s])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},de="html",he=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],fe=[...he,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],pe=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ge=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],me=[...ge,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function _e(e,t){return t.some((t=>e.startsWith(t)))}const ye={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Te="definitionurl",Ee="definitionURL",ve=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),Ae=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:O.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:O.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:O.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:O.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:O.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:O.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:O.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:O.XML}],["xml:space",{prefix:"xml",name:"space",namespace:O.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:O.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:O.XMLNS}]]),be=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),Se=new Set([N.B,N.BIG,N.BLOCKQUOTE,N.BODY,N.BR,N.CENTER,N.CODE,N.DD,N.DIV,N.DL,N.DT,N.EM,N.EMBED,N.H1,N.H2,N.H3,N.H4,N.H5,N.H6,N.HEAD,N.HR,N.I,N.IMG,N.LI,N.LISTING,N.MENU,N.META,N.NOBR,N.OL,N.P,N.PRE,N.RUBY,N.S,N.SMALL,N.SPAN,N.STRONG,N.STRIKE,N.SUB,N.SUP,N.TABLE,N.TT,N.U,N.UL,N.VAR]);function Oe(e){const t=e.tagID;return t===N.FONT&&e.attrs.some((({name:e})=>e===C.COLOR||e===C.SIZE||e===C.FACE))||Se.has(t)}function Ce(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Te){e.attrs[t].name=Ee;break}}function we(e){for(let t=0;t<e.attrs.length;t++){const r=ve.get(e.attrs[t].name);null!=r&&(e.attrs[t].name=r)}}function Ie(e){for(let t=0;t<e.attrs.length;t++){const r=Ae.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function Ne(e){const t=be.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=D(e.tagName))}function ke(e,t,r,s){return(!s||s===O.HTML)&&function(e,t,r){if(t===O.MATHML&&e===N.ANNOTATION_XML)for(let e=0;e<r.length;e++)if(r[e].name===C.ENCODING){const t=r[e].value.toLowerCase();return t===ye.TEXT_HTML||t===ye.APPLICATION_XML}return t===O.SVG&&(e===N.FOREIGN_OBJECT||e===N.DESC||e===N.TITLE)}(e,t,r)||(!s||s===O.MATHML)&&function(e,t){return t===O.MATHML&&(e===N.MI||e===N.MO||e===N.MN||e===N.MS||e===N.MTEXT)}(e,t)}const Pe="hidden",Le=8,Re=3;var De;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(De||(De={}));const Me={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},xe=new Set([N.TABLE,N.TBODY,N.TFOOT,N.THEAD,N.TR]),Fe={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ce,onParseError:null};class Ue{constructor(e,t,r=null,s=null){this.fragmentContext=r,this.scriptHandler=s,this.currentToken=null,this.stopped=!1,this.insertionMode=De.INITIAL,this.originalInsertionMode=De.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Fe,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new Y(this.options,this),this.activeFormattingElements=new ue(this.treeAdapter),this.fragmentContextID=r?D(this.treeAdapter.getTagName(r)):N.UNKNOWN,this._setContextModes(null!=r?r:this.document,this.fragmentContextID),this.openElements=new ae(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Fe,...t};null!=e||(e=r.treeAdapter.createElement(I.TEMPLATE,O.HTML,[]));const s=r.treeAdapter.createElement("documentmock",O.HTML,[]),n=new this(r,s,e);return n.fragmentContextID===N.TEMPLATE&&n.tmplInsertionModeStack.unshift(De.IN_TEMPLATE),n._initTokenizerForFragmentParsing(),n._insertFakeRootElement(),n._resetInsertionMode(),n._findFormInFragmentContext(),n}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var s;if(!this.onParseError)return;const n=null!==(s=e.location)&&void 0!==s?s:Me,i={code:t,startLine:n.startLine,startCol:n.startCol,startOffset:n.startOffset,endLine:r?n.startLine:n.endLine,endCol:r?n.startCol:n.endCol,endOffset:r?n.startOffset:n.endOffset};this.onParseError(i)}onItemPush(e,t,r){var s,n;null===(n=(s=this.treeAdapter).onItemPush)||void 0===n||n.call(s,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,s;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(s=(r=this.treeAdapter).onItemPop)||void 0===s||s.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const r=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===O.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,O.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=De.TEXT}switchToPlaintextParsing(){this.insertionMode=De.TEXT,this.originalInsertionMode=De.IN_BODY,this.tokenizer.state=j.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===I.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===O.HTML)switch(this.fragmentContextID){case N.TITLE:case N.TEXTAREA:this.tokenizer.state=j.RCDATA;break;case N.STYLE:case N.XMP:case N.IFRAME:case N.NOEMBED:case N.NOFRAMES:case N.NOSCRIPT:this.tokenizer.state=j.RAWTEXT;break;case N.SCRIPT:this.tokenizer.state=j.SCRIPT_DATA;break;case N.PLAINTEXT:this.tokenizer.state=j.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",s=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,s),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,O.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,O.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(I.HTML,O.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,N.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:r}=this._findFosterParentingLocation()),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const s=this.treeAdapter.getChildNodes(t),n=r?s.lastIndexOf(r):s.length,i=s[n-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:r,endOffset:s}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:r,endOffset:s})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,s=this.treeAdapter.getTagName(e),n=t.type===m.END_TAG&&s===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,n)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):({current:t,currentTagId:r}=this.openElements),(e.tagID!==N.SVG||this.treeAdapter.getTagName(t)!==I.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==O.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===N.MGLYPH||e.tagID===N.MALIGNMARK)&&void 0!==r&&!this._isIntegrationPoint(r,t,O.HTML))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){return ke(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===oe.Marker||this.openElements.contains(e.element)));for(let r=-1===t?e-1:t-1;r>=0;r--){const e=this.activeFormattingElements.entries[r];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=De.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(N.P),this.openElements.popUntilTagNamePopped(N.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case N.TR:return void(this.insertionMode=De.IN_ROW);case N.TBODY:case N.THEAD:case N.TFOOT:return void(this.insertionMode=De.IN_TABLE_BODY);case N.CAPTION:return void(this.insertionMode=De.IN_CAPTION);case N.COLGROUP:return void(this.insertionMode=De.IN_COLUMN_GROUP);case N.TABLE:return void(this.insertionMode=De.IN_TABLE);case N.BODY:return void(this.insertionMode=De.IN_BODY);case N.FRAMESET:return void(this.insertionMode=De.IN_FRAMESET);case N.SELECT:return void this._resetInsertionModeForSelect(e);case N.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case N.HTML:return void(this.insertionMode=this.headElement?De.AFTER_HEAD:De.BEFORE_HEAD);case N.TD:case N.TH:if(e>0)return void(this.insertionMode=De.IN_CELL);break;case N.HEAD:if(e>0)return void(this.insertionMode=De.IN_HEAD)}this.insertionMode=De.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===N.TEMPLATE)break;if(e===N.TABLE)return void(this.insertionMode=De.IN_SELECT_IN_TABLE)}this.insertionMode=De.IN_SELECT}_isElementCausesFosterParenting(e){return xe.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case N.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===O.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case N.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return x[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case De.INITIAL:Ye(this,e);break;case De.BEFORE_HTML:ze(this,e);break;case De.BEFORE_HEAD:Qe(this,e);break;case De.IN_HEAD:Ze(this,e);break;case De.IN_HEAD_NO_SCRIPT:et(this,e);break;case De.AFTER_HEAD:tt(this,e);break;case De.IN_BODY:case De.IN_CAPTION:case De.IN_CELL:case De.IN_TEMPLATE:nt(this,e);break;case De.TEXT:case De.IN_SELECT:case De.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case De.IN_TABLE:case De.IN_TABLE_BODY:case De.IN_ROW:ft(this,e);break;case De.IN_TABLE_TEXT:yt(this,e);break;case De.IN_COLUMN_GROUP:At(this,e);break;case De.AFTER_BODY:Pt(this,e);break;case De.AFTER_AFTER_BODY:Lt(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=o,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case De.INITIAL:Ye(this,e);break;case De.BEFORE_HTML:ze(this,e);break;case De.BEFORE_HEAD:Qe(this,e);break;case De.IN_HEAD:Ze(this,e);break;case De.IN_HEAD_NO_SCRIPT:et(this,e);break;case De.AFTER_HEAD:tt(this,e);break;case De.TEXT:this._insertCharacters(e);break;case De.IN_TABLE:case De.IN_TABLE_BODY:case De.IN_ROW:ft(this,e);break;case De.IN_COLUMN_GROUP:At(this,e);break;case De.AFTER_BODY:Pt(this,e);break;case De.AFTER_AFTER_BODY:Lt(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Ve(this,e);else switch(this.insertionMode){case De.INITIAL:case De.BEFORE_HTML:case De.BEFORE_HEAD:case De.IN_HEAD:case De.IN_HEAD_NO_SCRIPT:case De.AFTER_HEAD:case De.IN_BODY:case De.IN_TABLE:case De.IN_CAPTION:case De.IN_COLUMN_GROUP:case De.IN_TABLE_BODY:case De.IN_ROW:case De.IN_CELL:case De.IN_SELECT:case De.IN_SELECT_IN_TABLE:case De.IN_TEMPLATE:case De.IN_FRAMESET:case De.AFTER_FRAMESET:Ve(this,e);break;case De.IN_TABLE_TEXT:Tt(this,e);break;case De.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case De.AFTER_AFTER_BODY:case De.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case De.INITIAL:!function(e,t){e._setDocumentType(t);const r=t.forceQuirks?w.QUIRKS:function(e){if(e.name!==de)return w.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return w.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),pe.has(r))return w.QUIRKS;let e=null===t?fe:he;if(_e(r,e))return w.QUIRKS;if(e=null===t?ge:me,_e(r,e))return w.LIMITED_QUIRKS}return w.NO_QUIRKS}(t);(function(e){return e.name===de&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=De.BEFORE_HTML}(this,e);break;case De.BEFORE_HEAD:case De.IN_HEAD:case De.IN_HEAD_NO_SCRIPT:case De.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case De.IN_TABLE_TEXT:Tt(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(Oe(t))Rt(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),s=e.treeAdapter.getNamespaceURI(r);s===O.MATHML?Ce(t):s===O.SVG&&(Ne(t),we(t)),Ie(t),t.selfClosing?e._appendElement(t,s):e._insertElement(t,s),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case De.INITIAL:Ye(this,e);break;case De.BEFORE_HTML:!function(e,t){t.tagID===N.HTML?(e._insertElement(t,O.HTML),e.insertionMode=De.BEFORE_HEAD):ze(e,t)}(this,e);break;case De.BEFORE_HEAD:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.HEAD:e._insertElement(t,O.HTML),e.headElement=e.openElements.current,e.insertionMode=De.IN_HEAD;break;default:Qe(e,t)}}(this,e);break;case De.IN_HEAD:Xe(this,e);break;case De.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.BASEFONT:case N.BGSOUND:case N.HEAD:case N.LINK:case N.META:case N.NOFRAMES:case N.STYLE:Xe(e,t);break;case N.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:et(e,t)}}(this,e);break;case De.AFTER_HEAD:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.BODY:e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=De.IN_BODY;break;case N.FRAMESET:e._insertElement(t,O.HTML),e.insertionMode=De.IN_FRAMESET;break;case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:case N.NOFRAMES:case N.SCRIPT:case N.STYLE:case N.TEMPLATE:case N.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,N.HEAD),Xe(e,t),e.openElements.remove(e.headElement);break;case N.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tt(e,t)}}(this,e);break;case De.IN_BODY:ut(this,e);break;case De.IN_TABLE:pt(this,e);break;case De.IN_TABLE_TEXT:Tt(this,e);break;case De.IN_CAPTION:!function(e,t){const r=t.tagID;Et.has(r)?e.openElements.hasInTableScope(N.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=De.IN_TABLE,pt(e,t)):ut(e,t)}(this,e);break;case De.IN_COLUMN_GROUP:vt(this,e);break;case De.IN_TABLE_BODY:bt(this,e);break;case De.IN_ROW:Ot(this,e);break;case De.IN_CELL:!function(e,t){const r=t.tagID;Et.has(r)?(e.openElements.hasInTableScope(N.TD)||e.openElements.hasInTableScope(N.TH))&&(e._closeTableCell(),Ot(e,t)):ut(e,t)}(this,e);break;case De.IN_SELECT:wt(this,e);break;case De.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===N.CAPTION||r===N.TABLE||r===N.TBODY||r===N.TFOOT||r===N.THEAD||r===N.TR||r===N.TD||r===N.TH?(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),e._processStartTag(t)):wt(e,t)}(this,e);break;case De.IN_TEMPLATE:!function(e,t){switch(t.tagID){case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:case N.NOFRAMES:case N.SCRIPT:case N.STYLE:case N.TEMPLATE:case N.TITLE:Xe(e,t);break;case N.CAPTION:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:e.tmplInsertionModeStack[0]=De.IN_TABLE,e.insertionMode=De.IN_TABLE,pt(e,t);break;case N.COL:e.tmplInsertionModeStack[0]=De.IN_COLUMN_GROUP,e.insertionMode=De.IN_COLUMN_GROUP,vt(e,t);break;case N.TR:e.tmplInsertionModeStack[0]=De.IN_TABLE_BODY,e.insertionMode=De.IN_TABLE_BODY,bt(e,t);break;case N.TD:case N.TH:e.tmplInsertionModeStack[0]=De.IN_ROW,e.insertionMode=De.IN_ROW,Ot(e,t);break;default:e.tmplInsertionModeStack[0]=De.IN_BODY,e.insertionMode=De.IN_BODY,ut(e,t)}}(this,e);break;case De.AFTER_BODY:!function(e,t){t.tagID===N.HTML?ut(e,t):Pt(e,t)}(this,e);break;case De.IN_FRAMESET:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.FRAMESET:e._insertElement(t,O.HTML);break;case N.FRAME:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case N.NOFRAMES:Xe(e,t)}}(this,e);break;case De.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.NOFRAMES:Xe(e,t)}}(this,e);break;case De.AFTER_AFTER_BODY:!function(e,t){t.tagID===N.HTML?ut(e,t):Lt(e,t)}(this,e);break;case De.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.NOFRAMES:Xe(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===N.P||t.tagID===N.BR)return Rt(e),void e._endTagOutsideForeignContent(t);for(let r=e.openElements.stackTop;r>0;r--){const s=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(s)===O.HTML){e._endTagOutsideForeignContent(t);break}const n=e.treeAdapter.getTagName(s);if(n.toLowerCase()===t.tagName){t.tagName=n,e.openElements.shortenToLength(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case De.INITIAL:Ye(this,e);break;case De.BEFORE_HTML:!function(e,t){const r=t.tagID;r!==N.HTML&&r!==N.HEAD&&r!==N.BODY&&r!==N.BR||ze(e,t)}(this,e);break;case De.BEFORE_HEAD:!function(e,t){const r=t.tagID;r===N.HEAD||r===N.BODY||r===N.HTML||r===N.BR?Qe(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case De.IN_HEAD:!function(e,t){switch(t.tagID){case N.HEAD:e.openElements.pop(),e.insertionMode=De.AFTER_HEAD;break;case N.BODY:case N.BR:case N.HTML:Ze(e,t);break;case N.TEMPLATE:Je(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case De.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case N.NOSCRIPT:e.openElements.pop(),e.insertionMode=De.IN_HEAD;break;case N.BR:et(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case De.AFTER_HEAD:!function(e,t){switch(t.tagID){case N.BODY:case N.HTML:case N.BR:tt(e,t);break;case N.TEMPLATE:Je(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case De.IN_BODY:dt(this,e);break;case De.TEXT:!function(e,t){var r;t.tagID===N.SCRIPT&&(null===(r=e.scriptHandler)||void 0===r||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case De.IN_TABLE:gt(this,e);break;case De.IN_TABLE_TEXT:Tt(this,e);break;case De.IN_CAPTION:!function(e,t){const r=t.tagID;switch(r){case N.CAPTION:case N.TABLE:e.openElements.hasInTableScope(N.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=De.IN_TABLE,r===N.TABLE&>(e,t));break;case N.BODY:case N.COL:case N.COLGROUP:case N.HTML:case N.TBODY:case N.TD:case N.TFOOT:case N.TH:case N.THEAD:case N.TR:break;default:dt(e,t)}}(this,e);break;case De.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case N.COLGROUP:e.openElements.currentTagId===N.COLGROUP&&(e.openElements.pop(),e.insertionMode=De.IN_TABLE);break;case N.TEMPLATE:Je(e,t);break;case N.COL:break;default:At(e,t)}}(this,e);break;case De.IN_TABLE_BODY:St(this,e);break;case De.IN_ROW:Ct(this,e);break;case De.IN_CELL:!function(e,t){const r=t.tagID;switch(r){case N.TD:case N.TH:e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=De.IN_ROW);break;case N.TABLE:case N.TBODY:case N.TFOOT:case N.THEAD:case N.TR:e.openElements.hasInTableScope(r)&&(e._closeTableCell(),Ct(e,t));break;case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:break;default:dt(e,t)}}(this,e);break;case De.IN_SELECT:It(this,e);break;case De.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===N.CAPTION||r===N.TABLE||r===N.TBODY||r===N.TFOOT||r===N.THEAD||r===N.TR||r===N.TD||r===N.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),e.onEndTag(t)):It(e,t)}(this,e);break;case De.IN_TEMPLATE:!function(e,t){t.tagID===N.TEMPLATE&&Je(e,t)}(this,e);break;case De.AFTER_BODY:kt(this,e);break;case De.IN_FRAMESET:!function(e,t){t.tagID!==N.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===N.FRAMESET||(e.insertionMode=De.AFTER_FRAMESET))}(this,e);break;case De.AFTER_FRAMESET:!function(e,t){t.tagID===N.HTML&&(e.insertionMode=De.AFTER_AFTER_FRAMESET)}(this,e);break;case De.AFTER_AFTER_BODY:Lt(this,e)}}onEof(e){switch(this.insertionMode){case De.INITIAL:Ye(this,e);break;case De.BEFORE_HTML:ze(this,e);break;case De.BEFORE_HEAD:Qe(this,e);break;case De.IN_HEAD:Ze(this,e);break;case De.IN_HEAD_NO_SCRIPT:et(this,e);break;case De.AFTER_HEAD:tt(this,e);break;case De.IN_BODY:case De.IN_TABLE:case De.IN_CAPTION:case De.IN_COLUMN_GROUP:case De.IN_TABLE_BODY:case De.IN_ROW:case De.IN_CELL:case De.IN_SELECT:case De.IN_SELECT_IN_TABLE:ht(this,e);break;case De.TEXT:!function(e,t){e._err(t,g.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case De.IN_TABLE_TEXT:Tt(this,e);break;case De.IN_TEMPLATE:Nt(this,e);break;case De.AFTER_BODY:case De.IN_FRAMESET:case De.AFTER_FRAMESET:case De.AFTER_AFTER_BODY:case De.AFTER_AFTER_FRAMESET:Ke(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===l.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case De.IN_HEAD:case De.IN_HEAD_NO_SCRIPT:case De.AFTER_HEAD:case De.TEXT:case De.IN_COLUMN_GROUP:case De.IN_SELECT:case De.IN_SELECT_IN_TABLE:case De.IN_FRAMESET:case De.AFTER_FRAMESET:this._insertCharacters(e);break;case De.IN_BODY:case De.IN_CAPTION:case De.IN_CELL:case De.IN_TEMPLATE:case De.AFTER_BODY:case De.AFTER_AFTER_BODY:case De.AFTER_AFTER_FRAMESET:st(this,e);break;case De.IN_TABLE:case De.IN_TABLE_BODY:case De.IN_ROW:ft(this,e);break;case De.IN_TABLE_TEXT:_t(this,e)}}}function Be(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):ct(e,t),r}function He(e,t){let r=null,s=e.openElements.stackTop;for(;s>=0;s--){const n=e.openElements.items[s];if(n===t.element)break;e._isSpecialElement(n,e.openElements.tagIDs[s])&&(r=n)}return r||(e.openElements.shortenToLength(Math.max(s,0)),e.activeFormattingElements.removeEntry(t)),r}function je(e,t,r){let s=t,n=e.openElements.getCommonAncestor(t);for(let i=0,a=n;a!==r;i++,a=n){n=e.openElements.getCommonAncestor(a);const r=e.activeFormattingElements.getElementEntry(a),o=r&&i>=Re;!r||o?(o&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(a)):(a=$e(e,r),s===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(s),e.treeAdapter.appendChild(a,s),s=a)}return s}function $e(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),s=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,s),t.element=s,s}function We(e,t,r){const s=D(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(s))e._fosterParentElement(r);else{const n=e.treeAdapter.getNamespaceURI(t);s===N.TEMPLATE&&n===O.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function Ge(e,t,r){const s=e.treeAdapter.getNamespaceURI(r.element),{token:n}=r,i=e.treeAdapter.createElement(n.tagName,s,n.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,n.tagID)}function qe(e,t){for(let r=0;r<Le;r++){const r=Be(e,t);if(!r)break;const s=He(e,r);if(!s)break;e.activeFormattingElements.bookmark=r;const n=je(e,s,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(n),i&&We(e,i,n),Ge(e,s,r)}}function Ve(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Ke(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let s=e.openElements.stackTop;s>=r;s--)e._setEndLocation(e.openElements.items[s],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],s=e.treeAdapter.getNodeSourceCodeLocation(r);if(s&&!s.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const r=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(r);s&&!s.endTag&&e._setEndLocation(r,t)}}}}function Ye(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,w.QUIRKS),e.insertionMode=De.BEFORE_HTML,e._processToken(t)}function ze(e,t){e._insertFakeRootElement(),e.insertionMode=De.BEFORE_HEAD,e._processToken(t)}function Qe(e,t){e._insertFakeElement(I.HEAD,N.HEAD),e.headElement=e.openElements.current,e.insertionMode=De.IN_HEAD,e._processToken(t)}function Xe(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case N.TITLE:e._switchToTextParsing(t,j.RCDATA);break;case N.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,j.RAWTEXT):(e._insertElement(t,O.HTML),e.insertionMode=De.IN_HEAD_NO_SCRIPT);break;case N.NOFRAMES:case N.STYLE:e._switchToTextParsing(t,j.RAWTEXT);break;case N.SCRIPT:e._switchToTextParsing(t,j.SCRIPT_DATA);break;case N.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=De.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(De.IN_TEMPLATE);break;case N.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:Ze(e,t)}}function Je(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==N.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(N.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function Ze(e,t){e.openElements.pop(),e.insertionMode=De.AFTER_HEAD,e._processToken(t)}function et(e,t){const r=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=De.IN_HEAD,e._processToken(t)}function tt(e,t){e._insertFakeElement(I.BODY,N.BODY),e.insertionMode=De.IN_BODY,rt(e,t)}function rt(e,t){switch(t.type){case m.CHARACTER:nt(e,t);break;case m.WHITESPACE_CHARACTER:st(e,t);break;case m.COMMENT:Ve(e,t);break;case m.START_TAG:ut(e,t);break;case m.END_TAG:dt(e,t);break;case m.EOF:ht(e,t)}}function st(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function nt(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function it(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function at(e){const t=y(e,C.TYPE);return null!=t&&t.toLowerCase()===Pe}function ot(e,t){e._switchToTextParsing(t,j.RAWTEXT)}function lt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function ut(e,t){switch(t.tagID){case N.I:case N.S:case N.B:case N.U:case N.EM:case N.TT:case N.BIG:case N.CODE:case N.FONT:case N.SMALL:case N.STRIKE:case N.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case N.A:!function(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(I.A);r&&(qe(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case N.H1:case N.H2:case N.H3:case N.H4:case N.H5:case N.H6:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&F.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,O.HTML)}(e,t);break;case N.P:case N.DL:case N.OL:case N.UL:case N.DIV:case N.DIR:case N.NAV:case N.MAIN:case N.MENU:case N.ASIDE:case N.CENTER:case N.FIGURE:case N.FOOTER:case N.HEADER:case N.HGROUP:case N.DIALOG:case N.DETAILS:case N.ADDRESS:case N.ARTICLE:case N.SEARCH:case N.SECTION:case N.SUMMARY:case N.FIELDSET:case N.BLOCKQUOTE:case N.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML)}(e,t);break;case N.LI:case N.DD:case N.DT:!function(e,t){e.framesetOk=!1;const r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const s=e.openElements.tagIDs[t];if(r===N.LI&&s===N.LI||(r===N.DD||r===N.DT)&&(s===N.DD||s===N.DT)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.popUntilTagNamePopped(s);break}if(s!==N.ADDRESS&&s!==N.DIV&&s!==N.P&&e._isSpecialElement(e.openElements.items[t],s))break}e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML)}(e,t);break;case N.BR:case N.IMG:case N.WBR:case N.AREA:case N.EMBED:case N.KEYGEN:it(e,t);break;case N.HR:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case N.RB:case N.RTC:!function(e,t){e.openElements.hasInScope(N.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,O.HTML)}(e,t);break;case N.RT:case N.RP:!function(e,t){e.openElements.hasInScope(N.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(N.RTC),e._insertElement(t,O.HTML)}(e,t);break;case N.PRE:case N.LISTING:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case N.XMP:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,j.RAWTEXT)}(e,t);break;case N.SVG:!function(e,t){e._reconstructActiveFormattingElements(),we(t),Ie(t),t.selfClosing?e._appendElement(t,O.SVG):e._insertElement(t,O.SVG),t.ackSelfClosing=!0}(e,t);break;case N.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case N.BASE:case N.LINK:case N.META:case N.STYLE:case N.TITLE:case N.SCRIPT:case N.BGSOUND:case N.BASEFONT:case N.TEMPLATE:Xe(e,t);break;case N.BODY:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}(e,t);break;case N.FORM:!function(e,t){const r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML),r||(e.formElement=e.openElements.current))}(e,t);break;case N.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(N.NOBR)&&(qe(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case N.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Ce(t),Ie(t),t.selfClosing?e._appendElement(t,O.MATHML):e._insertElement(t,O.MATHML),t.ackSelfClosing=!0}(e,t);break;case N.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==w.QUIRKS&&e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=De.IN_TABLE}(e,t);break;case N.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),at(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case N.PARAM:case N.TRACK:case N.SOURCE:!function(e,t){e._appendElement(t,O.HTML),t.ackSelfClosing=!0}(e,t);break;case N.IMAGE:!function(e,t){t.tagName=I.IMG,t.tagID=N.IMG,it(e,t)}(e,t);break;case N.BUTTON:!function(e,t){e.openElements.hasInScope(N.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1}(e,t);break;case N.APPLET:case N.OBJECT:case N.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case N.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,j.RAWTEXT)}(e,t);break;case N.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===De.IN_TABLE||e.insertionMode===De.IN_CAPTION||e.insertionMode===De.IN_TABLE_BODY||e.insertionMode===De.IN_ROW||e.insertionMode===De.IN_CELL?De.IN_SELECT_IN_TABLE:De.IN_SELECT}(e,t);break;case N.OPTION:case N.OPTGROUP:!function(e,t){e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}(e,t);break;case N.NOEMBED:case N.NOFRAMES:ot(e,t);break;case N.FRAMESET:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_FRAMESET)}(e,t);break;case N.TEXTAREA:!function(e,t){e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.tokenizer.state=j.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=De.TEXT}(e,t);break;case N.NOSCRIPT:e.options.scriptingEnabled?ot(e,t):lt(e,t);break;case N.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.tokenizer.state=j.PLAINTEXT}(e,t);break;case N.COL:case N.TH:case N.TD:case N.TR:case N.HEAD:case N.FRAME:case N.TBODY:case N.TFOOT:case N.THEAD:case N.CAPTION:case N.COLGROUP:break;default:lt(e,t)}}function ct(e,t){const r=t.tagName,s=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const n=e.openElements.items[t],i=e.openElements.tagIDs[t];if(s===i&&(s!==N.UNKNOWN||e.treeAdapter.getTagName(n)===r)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(n,i))break}}function dt(e,t){switch(t.tagID){case N.A:case N.B:case N.I:case N.S:case N.U:case N.EM:case N.TT:case N.BIG:case N.CODE:case N.FONT:case N.NOBR:case N.SMALL:case N.STRIKE:case N.STRONG:qe(e,t);break;case N.P:!function(e){e.openElements.hasInButtonScope(N.P)||e._insertFakeElement(I.P,N.P),e._closePElement()}(e);break;case N.DL:case N.UL:case N.OL:case N.DIR:case N.DIV:case N.NAV:case N.PRE:case N.MAIN:case N.MENU:case N.ASIDE:case N.BUTTON:case N.CENTER:case N.FIGURE:case N.FOOTER:case N.HEADER:case N.HGROUP:case N.DIALOG:case N.ADDRESS:case N.ARTICLE:case N.DETAILS:case N.SEARCH:case N.SECTION:case N.SUMMARY:case N.LISTING:case N.FIELDSET:case N.BLOCKQUOTE:case N.FIGCAPTION:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case N.LI:!function(e){e.openElements.hasInListItemScope(N.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(N.LI),e.openElements.popUntilTagNamePopped(N.LI))}(e);break;case N.DD:case N.DT:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case N.H1:case N.H2:case N.H3:case N.H4:case N.H5:case N.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case N.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(I.BR,N.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case N.BODY:!function(e,t){if(e.openElements.hasInScope(N.BODY)&&(e.insertionMode=De.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}(e,t);break;case N.HTML:!function(e,t){e.openElements.hasInScope(N.BODY)&&(e.insertionMode=De.AFTER_BODY,kt(e,t))}(e,t);break;case N.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(N.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(N.FORM):r&&e.openElements.remove(r))}(e);break;case N.APPLET:case N.OBJECT:case N.MARQUEE:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case N.TEMPLATE:Je(e,t);break;default:ct(e,t)}}function ht(e,t){e.tmplInsertionModeStack.length>0?Nt(e,t):Ke(e,t)}function ft(e,t){if(void 0!==e.openElements.currentTagId&&xe.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=De.IN_TABLE_TEXT,t.type){case m.CHARACTER:yt(e,t);break;case m.WHITESPACE_CHARACTER:_t(e,t)}else mt(e,t)}function pt(e,t){switch(t.tagID){case N.TD:case N.TH:case N.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.TBODY,N.TBODY),e.insertionMode=De.IN_TABLE_BODY,bt(e,t)}(e,t);break;case N.STYLE:case N.SCRIPT:case N.TEMPLATE:Xe(e,t);break;case N.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.COLGROUP,N.COLGROUP),e.insertionMode=De.IN_COLUMN_GROUP,vt(e,t)}(e,t);break;case N.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,O.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case N.TABLE:!function(e,t){e.openElements.hasInTableScope(N.TABLE)&&(e.openElements.popUntilTagNamePopped(N.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case N.TBODY:case N.TFOOT:case N.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_TABLE_BODY}(e,t);break;case N.INPUT:!function(e,t){at(t)?e._appendElement(t,O.HTML):mt(e,t),t.ackSelfClosing=!0}(e,t);break;case N.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_CAPTION}(e,t);break;case N.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_COLUMN_GROUP}(e,t);break;default:mt(e,t)}}function gt(e,t){switch(t.tagID){case N.TABLE:e.openElements.hasInTableScope(N.TABLE)&&(e.openElements.popUntilTagNamePopped(N.TABLE),e._resetInsertionMode());break;case N.TEMPLATE:Je(e,t);break;case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TBODY:case N.TD:case N.TFOOT:case N.TH:case N.THEAD:case N.TR:break;default:mt(e,t)}}function mt(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,rt(e,t),e.fosterParentingEnabled=r}function _t(e,t){e.pendingCharacterTokens.push(t)}function yt(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Tt(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)mt(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Et=new Set([N.CAPTION,N.COL,N.COLGROUP,N.TBODY,N.TD,N.TFOOT,N.TH,N.THEAD,N.TR]);function vt(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.COL:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case N.TEMPLATE:Xe(e,t);break;default:At(e,t)}}function At(e,t){e.openElements.currentTagId===N.COLGROUP&&(e.openElements.pop(),e.insertionMode=De.IN_TABLE,e._processToken(t))}function bt(e,t){switch(t.tagID){case N.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_ROW;break;case N.TH:case N.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(I.TR,N.TR),e.insertionMode=De.IN_ROW,Ot(e,t);break;case N.CAPTION:case N.COL:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE,pt(e,t));break;default:pt(e,t)}}function St(e,t){const r=t.tagID;switch(t.tagID){case N.TBODY:case N.TFOOT:case N.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE);break;case N.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE,gt(e,t));break;case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TD:case N.TH:case N.TR:break;default:gt(e,t)}}function Ot(e,t){switch(t.tagID){case N.TH:case N.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,O.HTML),e.insertionMode=De.IN_CELL,e.activeFormattingElements.insertMarker();break;case N.CAPTION:case N.COL:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:case N.TR:e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE_BODY,bt(e,t));break;default:pt(e,t)}}function Ct(e,t){switch(t.tagID){case N.TR:e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE_BODY);break;case N.TABLE:e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE_BODY,St(e,t));break;case N.TBODY:case N.TFOOT:case N.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(N.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=De.IN_TABLE_BODY,St(e,t));break;case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TD:case N.TH:break;default:gt(e,t)}}function wt(e,t){switch(t.tagID){case N.HTML:ut(e,t);break;case N.OPTION:e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e._insertElement(t,O.HTML);break;case N.OPTGROUP:e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop(),e._insertElement(t,O.HTML);break;case N.HR:e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop(),e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case N.INPUT:case N.KEYGEN:case N.TEXTAREA:case N.SELECT:e.openElements.hasInSelectScope(N.SELECT)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),t.tagID!==N.SELECT&&e._processStartTag(t));break;case N.SCRIPT:case N.TEMPLATE:Xe(e,t)}}function It(e,t){switch(t.tagID){case N.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===N.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===N.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop();break;case N.OPTION:e.openElements.currentTagId===N.OPTION&&e.openElements.pop();break;case N.SELECT:e.openElements.hasInSelectScope(N.SELECT)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode());break;case N.TEMPLATE:Je(e,t)}}function Nt(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(N.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ke(e,t)}function kt(e,t){var r;if(t.tagID===N.HTML){if(e.fragmentContext||(e.insertionMode=De.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===N.HTML){e._setEndLocation(e.openElements.items[0],t);const s=e.openElements.items[1];s&&!(null===(r=e.treeAdapter.getNodeSourceCodeLocation(s))||void 0===r?void 0:r.endTag)&&e._setEndLocation(s,t)}}else Pt(e,t)}function Pt(e,t){e.insertionMode=De.IN_BODY,rt(e,t)}function Lt(e,t){e.insertionMode=De.IN_BODY,rt(e,t)}function Rt(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==O.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Dt(e,t){return function(r){let s,n=0,i="";for(;s=e.exec(r);)n!==s.index&&(i+=r.substring(n,s.index)),i+=t.get(s[0].charCodeAt(0)),n=s.index+1;return i+r.substring(n)}}new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),String.prototype.codePointAt;const Mt=Dt(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),xt=Dt(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),Ft=new Set([I.AREA,I.BASE,I.BASEFONT,I.BGSOUND,I.BR,I.COL,I.EMBED,I.FRAME,I.HR,I.IMG,I.INPUT,I.KEYGEN,I.LINK,I.META,I.PARAM,I.SOURCE,I.TRACK,I.WBR]);function Ut(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===O.HTML&&Ft.has(t.treeAdapter.getTagName(e))}const Bt={treeAdapter:ce,scriptingEnabled:!0};function Ht(e,t){const r={...Bt,...t};return Ut(e,r)?"":$t(e,r)}function jt(e,t){return Wt(e,{...Bt,...t})}function $t(e,t){let r="";const s=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===I.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===O.HTML?t.treeAdapter.getTemplateContent(e):e,n=t.treeAdapter.getChildNodes(s);if(n)for(const e of n)r+=Wt(e,t);return r}function Wt(e,t){return t.treeAdapter.isElementNode(e)?function(e,t){const r=t.treeAdapter.getTagName(e);return`<${r}${function(e,{treeAdapter:t}){let r="";for(const s of t.getAttrList(e)){if(r+=" ",s.namespace)switch(s.namespace){case O.XML:r+=`xml:${s.name}`;break;case O.XMLNS:"xmlns"!==s.name&&(r+="xmlns:"),r+=s.name;break;case O.XLINK:r+=`xlink:${s.name}`;break;default:r+=`${s.prefix}:${s.name}`}else r+=s.name;r+=`="${Mt(s.value)}"`}return r}(e,t)}>${Ut(e,t)?"":`${$t(e,t)}</${r}>`}`}(e,t):t.treeAdapter.isTextNode(e)?function(e,t){const{treeAdapter:r}=t,s=r.getTextNodeContent(e),n=r.getParentNode(e),i=n&&r.isElementNode(n)&&r.getTagName(n);return i&&r.getNamespaceURI(n)===O.HTML&&B(i,t.scriptingEnabled)?s:xt(s)}(e,t):t.treeAdapter.isCommentNode(e)?function(e,{treeAdapter:t}){return`\x3c!--${t.getCommentNodeContent(e)}--\x3e`}(e,t):t.treeAdapter.isDocumentTypeNode(e)?function(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`}(e,t):""}function Gt(e,t){return Ue.parse(e,t)}function qt(e,t,r){"string"==typeof e&&(r=t,t=e,e=null);const s=Ue.getFragmentParser(e,r);return s.tokenizer.write(t,!0),s.getFragment()}},79004:e=>{"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},33523:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},53082:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},23195:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},61210:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},42968:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},23042:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},60317:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},51373:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(s){var n=t[s];if(void 0!==n)return n.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var s={};(()=>{"use strict";var e=s;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnalysisWebWorker",{enumerable:!0,get:function(){return t.AnalysisWebWorker}}),Object.defineProperty(e,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return t.AnalysisWorkerWrapper}}),Object.defineProperty(e,"App",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Assessment",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"AssessmentResult",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"Assessor",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ContentAssessor",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"DIFFICULTY",{enumerable:!0,get:function(){return A.DIFFICULTY}}),Object.defineProperty(e,"Factory",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Paper",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"Pluggable",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"SeoAssessor",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"TaxonomyAssessor",{enumerable:!0,get:function(){return _.default}}),e.config=e.bundledPlugins=e.assessors=e.assessments=void 0,Object.defineProperty(e,"createWorker",{enumerable:!0,get:function(){return t.createWorker}}),e.values=e.markers=e.languageProcessing=e.interpreters=e.helpers=e.default=void 0;var t=r(77687),n=C(r(43947));e.assessments=n;var i=C(r(74059));e.bundledPlugins=i;var a=C(r(49061));e.helpers=a;var o=C(r(84476));e.markers=o;var l=C(r(80572));e.interpreters=l;var u=C(r(78035));e.config=u;var c=C(r(58677));e.languageProcessing=c;var d=C(r(73728));e.values=d;var h=C(r(90603));e.assessors=h;var f=S(r(12552)),p=S(r(90488)),g=S(r(45632)),m=S(r(44885)),_=S(r(40863)),y=S(r(20019)),T=S(r(82304)),E=S(r(73054)),v=S(r(9017)),A=r(82163),b=S(r(52453));function S(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(O=function(e){return e?r:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=O(t);if(r&&r.has(e))return r.get(e);var s={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(s,i,a):s[i]=e[i]}return s.default=e,r&&r.set(e,s),s}e.default={App:f.default,Assessor:p.default,ContentAssessor:g.default,TaxonomyAssessor:_.default,Pluggable:y.default,Paper:T.default,AssessmentResult:E.default,AnalysisWebWorker:t.AnalysisWebWorker,AnalysisWorkerWrapper:t.AnalysisWorkerWrapper,createWorker:t.createWorker,assessments:n,bundledPlugins:i,config:u,helpers:a,markers:o,interpreters:l,languageProcessing:c,values:d}})(),(window.yoast=window.yoast||{}).analysis=s})(); dist/externals/draftJs.js 0000644 00000665311 15174677550 0011504 0 ustar 00 (()=>{var t={19785:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(10329),a=r(4516),s=r(38777),u=r(67953),c=r(42307),l=r(14289),f=r(25027),p=r(68642),h=r(43393),d=r(61173),g=p("draft_tree_data_support"),y=g?u:s,v=h.List,m=h.Repeat,_={insertAtomicBlock:function(t,e,r){var i=t.getCurrentContent(),s=t.getSelection(),u=c.removeRange(i,s,"backward"),p=u.getSelectionAfter(),h=c.splitBlock(u,p),d=h.getSelectionAfter(),_=c.setBlockType(h,d,"atomic"),b=a.create({entity:e}),S={key:f(),type:"atomic",text:r,characterList:v(m(b,r.length))},w={key:f(),type:"unstyled"};g&&(S=n({},S,{nextSibling:w.key}),w=n({},w,{prevSibling:S.key}));var x=[new y(S),new y(w)],k=o.createFromArray(x),C=c.replaceWithFragment(_,d,k),E=C.merge({selectionBefore:s,selectionAfter:C.getSelectionAfter().set("hasFocus",!0)});return l.push(t,E,"insert-fragment")},moveAtomicBlock:function(t,e,r,n){var i,o=t.getCurrentContent(),a=t.getSelection();if("before"===n||"after"===n){var s=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=d(o,e,s,n)}else{var u=c.removeRange(o,r,"backward"),f=u.getSelectionAfter(),p=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=d(u,e,p,"before");else if(f.getEndOffset()===p.getLength())i=d(u,e,p,"after");else{var h=c.splitBlock(u,f),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());i=d(h,e,y,"before")}}var v=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=_},10329:(t,e,r)=>{"use strict";var n=r(43393).OrderedMap,i={createFromArray:function(t){return n(t.map((function(t){return[t.getKey(),t]})))}};t.exports=i},34365:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(29407),o=r(96495),a=r(43393),s=a.List,u=a.Repeat,c=a.Record,l=function(){return!0},f=c({start:null,end:null}),p=c({start:null,end:null,decoratorKey:null,leaves:null}),h={generate:function(t,e,r){var n=e.getLength();if(!n)return s.of(new p({start:0,end:0,decoratorKey:null,leaves:s.of(new f({start:0,end:0}))}));var o=[],a=r?r.getDecorations(e,t):s(u(null,n)),c=e.getCharacterList();return i(a,d,l,(function(t,e){var r,n,u,h;o.push(new p({start:t,end:e,decoratorKey:a.get(t),leaves:(r=c.slice(t,e).toList(),n=t,u=[],h=r.map((function(t){return t.getStyle()})).toList(),i(h,d,l,(function(t,e){u.push(new f({start:t+n,end:e+n}))})),s(u))}))})),s(o)},fromJS:function(t){var e=t.leaves,r=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["leaves"]);return new p(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r,{leaves:null!=e?s(Array.isArray(e)?e:o(e)).map((function(t){return f(t)})):null}))}};function d(t,e){return t===e}t.exports=h},4516:(t,e,r)=>{"use strict";var n=r(43393),i=n.Map,o=n.OrderedSet,a=n.Record,s=o(),u={style:s,entity:null},c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},n.applyStyle=function(t,e){var r=t.set("style",t.getStyle().add(e));return n.create(r)},n.removeStyle=function(t,e){var r=t.set("style",t.getStyle().remove(e));return n.create(r)},n.applyEntity=function(t,e){var r=t.getEntity()===e?t:t.set("entity",e);return n.create(r)},n.create=function(t){if(!t)return l;var e=i({style:s,entity:null}).merge(t),r=f.get(e);if(r)return r;var o=new n(e);return f=f.set(e,o),o},n.fromJS=function(t){var e=t.style,r=t.entity;return new n({style:Array.isArray(e)?o(e):e,entity:Array.isArray(r)?o(r):r})},n}(a(u)),l=new c,f=i([[i(u),l]]);c.EMPTY=l,t.exports=c},25369:(t,e,r)=>{"use strict";var n=r(43393).List,i=function(){function t(t){var e,r;r=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var r=Array(t.getText().length).fill(null);return this._decorators.forEach((function(n,i){var o=0;(0,n.strategy)(t,(function(t,e){(function(t,e,r){for(var n=e;n<r;n++)if(null!=t[n])return!1;return!0})(r,t,e)&&(function(t,e,r,n){for(var i=e;i<r;i++)t[i]=n}(r,t,e,i+"."+o),o++)}),e)})),n(r)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=i},38777:(t,e,r)=>{"use strict";var n=r(4516),i=r(29407),o=r(43393),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=function(t){var e,r;function o(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t}(e))||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=o.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},s.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},o}(c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function h(t,e){return t.getStyle()===e.getStyle()}function d(t,e){return t.getEntity()===e.getEntity()}t.exports=p},67953:(t,e,r)=>{"use strict";var n=r(4516),i=r(29407),o=r(43393),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},h=function(t,e){return t.getStyle()===e.getStyle()},d=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){var e,r;function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return t.call(this,function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t}(e))||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=o.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.getChildKeys=function(){return this.get("children")},s.getParentKey=function(){return this.get("parent")},s.getPrevSiblingKey=function(){return this.get("prevSibling")},s.getNextSiblingKey=function(){return this.get("nextSibling")},s.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},s.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},o}(c(p));t.exports=g},66912:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(10329),a=r(4516),s=r(38777),u=r(67953),c=r(82222),l=r(25110),f=r(25027),p=r(96495),h=r(68642),d=r(43393),g=r(55283),y=d.List,v=d.Record,m=d.Repeat,_=d.Map,b=d.OrderedMap,S=v({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),w=h("draft_tree_data_support")?u:s,x=function(t){var e,r;function i(){return t.apply(this,arguments)||this}r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=i.prototype;return s.getEntityMap=function(){return c},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,r){return r===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,r){return r===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,r){return c.__create(t,e,r),this},s.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},s.addEntity=function(t){return c.__add(t),this},s.getEntity=function(t){return c.__get(t)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(t){return c.__loadWithEntities(t)},i.createFromBlockArray=function(t,e){var r=Array.isArray(t)?t:t.contentBlocks,n=o.createFromArray(r),a=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new i({blockMap:n,entityMap:e||c,selectionBefore:a,selectionAfter:a})},i.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(e).map((function(t){return t=g(t),new w({key:f(),text:t,type:"unstyled",characterList:y(m(a.EMPTY,t.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(t){return new i(n({},t,{blockMap:b(t.blockMap).map(i.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},i.createContentBlockFromJS=function(t){var e=t.characterList;return new w(n({},t,{data:_(t.data),characterList:null!=e?y((Array.isArray(e)?e:p(e)).map((function(t){return a.fromJS(t)}))):void 0}))},i}(S);t.exports=x},13483:(t,e,r)=>{"use strict";var n=r(4516),i=r(43393).Map,o={add:function(t,e,r){return a(t,e,r,!0)},remove:function(t,e,r){return a(t,e,r,!1)}};function a(t,e,r,o){var a=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===c})).concat(i([[c,a.get(c)]])).map((function(t,e){var i,a;s===c?(i=u,a=l):(i=e===s?u:0,a=e===c?l:t.getLength());for(var f,p=t.getCharacterList();i<a;)f=p.get(i),p=p.set(i,o?n.applyStyle(f,r):n.removeStyle(f,r)),i++;return t.set("characterList",p)}));return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=o},77907:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(4856),o=r(69270),a=r(48083),s=r(43393),u=r(73759),c=r(22045),l=s.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=i.isBrowser("IE <= 11"),h=function(){function t(t){var e=this;n(this,"observer",void 0),n(this,"container",void 0),n(this,"mutations",void 0),n(this,"onCharData",void 0),this.container=t,this.mutations=l();var r=a(t);r.MutationObserver&&!p?this.observer=new r.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||u(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,r=t.target,n=t.removedNodes;if("characterData"===e){if(""!==r.textContent)return p?r.textContent.replace("\n",""):r.textContent}else if("childList"===e){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var r=c(o(t.target));this.mutations=this.mutations.set(r,e)}},t}();t.exports=h},526:(t,e,r)=>{"use strict";var n=r(99196),i=r(62620),o=(0,r(43393).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:n.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:n.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:n.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=o},37619:t=>{"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},9041:(t,e,r)=>{"use strict";var n=r(19785),i=r(10329),o=r(4516),a=r(25369),s=r(38777),u=r(66912),c=r(526),l=r(37619),f=r(87210),p=r(37898),h=r(82222),d=r(42307),g=r(39006),y=r(14289),v=r(47387),m=r(70054),_=r(41947),b=r(25110),S=r(79981),w=r(99607),x=r(25027),k=r(41714),C=r(96629),E={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,RawDraftContentState:m,SelectionState:b,AtomicBlockUtils:n,KeyBindingUtil:v,Modifier:d,RichUtils:_,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:r(67841),convertFromRaw:w,convertToRaw:S,genKey:x,getDefaultKeyBinding:k,getVisibleSelectionRect:C};t.exports=E},87210:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){s(t,e,r[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c=r(526),l=r(37619),f=r(33418),p=r(87791),h=r(61494),d=r(19394),g=r(4083),y=r(28094),v=r(5880),m=r(14289),_=r(99196),b=r(65994),S=r(19051),w=r(4856),x=r(62620),k=r(25027),C=r(41714),E=r(79749),O=r(68642),D=r(73759),K=r(20717),T=r(22045),M=w.isBrowser("IE"),A=!M,I={edit:d,composite:f,drag:h,cut:null,render:null},B=!1,L=function(t){function e(){return t.apply(this,arguments)||this}u(e,t);var r=e.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(_.Component),R=function(t){function e(e){var r;return s(a(r=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(r),"_clipboard",void 0),s(a(r),"_handler",void 0),s(a(r),"_dragCount",void 0),s(a(r),"_internalDrag",void 0),s(a(r),"_editorKey",void 0),s(a(r),"_placeholderAccessibilityID",void 0),s(a(r),"_latestEditorState",void 0),s(a(r),"_latestCommittedEditorState",void 0),s(a(r),"_pendingStateFromBeforeInput",void 0),s(a(r),"_onBeforeInput",void 0),s(a(r),"_onBlur",void 0),s(a(r),"_onCharacterData",void 0),s(a(r),"_onCompositionEnd",void 0),s(a(r),"_onCompositionStart",void 0),s(a(r),"_onCopy",void 0),s(a(r),"_onCut",void 0),s(a(r),"_onDragEnd",void 0),s(a(r),"_onDragOver",void 0),s(a(r),"_onDragStart",void 0),s(a(r),"_onDrop",void 0),s(a(r),"_onInput",void 0),s(a(r),"_onFocus",void 0),s(a(r),"_onKeyDown",void 0),s(a(r),"_onKeyPress",void 0),s(a(r),"_onKeyUp",void 0),s(a(r),"_onMouseDown",void 0),s(a(r),"_onMouseUp",void 0),s(a(r),"_onPaste",void 0),s(a(r),"_onSelect",void 0),s(a(r),"editor",void 0),s(a(r),"editorContainer",void 0),s(a(r),"focus",void 0),s(a(r),"blur",void 0),s(a(r),"setMode",void 0),s(a(r),"exitCurrentMode",void 0),s(a(r),"restoreEditorDOM",void 0),s(a(r),"setClipboard",void 0),s(a(r),"getClipboard",void 0),s(a(r),"getEditorKey",void 0),s(a(r),"update",void 0),s(a(r),"onDragEnter",void 0),s(a(r),"onDragLeave",void 0),s(a(r),"_handleEditorContainerRef",(function(t){r.editorContainer=t,r.editor=null!==t?t.firstChild:null})),s(a(r),"focus",(function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),i=r.editor;if(i){var o=S.getScrollParent(i),a=t||E(o),s=a.x,u=a.y;K(i)||D(!1),i.focus(),o===window?window.scrollTo(s,u):b.setTop(o,u),n||r.update(m.forceSelection(e,e.getSelection()))}})),s(a(r),"blur",(function(){var t=r.editor;t&&(K(t)||D(!1),t.blur())})),s(a(r),"setMode",(function(t){var e=r.props,n=e.onPaste,i=e.onCut,a=e.onCopy,s=o({},I.edit);n&&(s.onPaste=n),i&&(s.onCut=i),a&&(s.onCopy=a);var u=o({},I,{edit:s});r._handler=u[t]})),s(a(r),"exitCurrentMode",(function(){r.setMode("edit")})),s(a(r),"restoreEditorDOM",(function(t){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(t)}))})),s(a(r),"setClipboard",(function(t){r._clipboard=t})),s(a(r),"getClipboard",(function(){return r._clipboard})),s(a(r),"update",(function(t){r._latestEditorState=t,r.props.onChange(t)})),s(a(r),"onDragEnter",(function(){r._dragCount++})),s(a(r),"onDragLeave",(function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()})),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=e.editorKey||k(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=e.editorState,r._latestCommittedEditorState=e.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}u(e,t);var n=e.prototype;return n._buildHandler=function(t){var e=this;return function(r){if(!e.props.readOnly){var n=e._handler&&e._handler[t];n&&(g?g((function(){return n(e,r)})):n(e,r))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:T(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return _.createElement(y,t)}return null},n._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},n.render=function(){var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,u=t.editorState,c=t.preventScroll,f=t.readOnly,h=t.textAlignment,d=t.textDirectionality,g=x({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===h,"DraftEditor/alignRight":"right"===h,"DraftEditor/alignCenter":"center"===h}),y=this.props.role||"textbox",v="combobox"===y?!!this.props.ariaExpanded:null,m={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,customStyleMap:o({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:u,preventScroll:c,textDirectionality:d};return _.createElement("div",{className:g},this._renderPlaceholder(),_.createElement("div",{className:x("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},_.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":f?null:v,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:x({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:f?null:y,spellCheck:A&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},_.createElement(L,{editor:this,editorState:u}),_.createElement(p,i({},m,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B&&O("draft_ods_enabled")&&(B=!0,v.initODS()),this.setMode("edit"),M&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):r.g.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(_.Component);s(R,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=R},37898:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}var o=r(42282),a=r(22146),s=r(99196),u=r(65994),c=r(19051),l=r(54191),f=r(16633),p=r(62620),h=r(55258),d=r(79749),g=r(70746),y=r(73759),v=r(20717),m=r(22045),_=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},b=function(t){var e,r;function n(){for(var e,r,n,i,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return i=void 0,(n="_node")in(r=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var b=n.prototype;return b.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||_(t.selection,t.block.getKey())&&t.forceSelection},b.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this._node;if(null!=r){var n,i=c.getScrollParent(r),o=d(i);if(i===window){var a=h(r);(n=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+n+10)}else v(r)||y(!1),(n=r.offsetHeight+r.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&u.setTop(i,u.getTop(i)+n+10)}}}},b._renderChildren=function(){var t=this,e=this.props.block,r=e.getKey(),n=e.getText(),u=this.props.tree.size-1,c=_(this.props.selection,r);return this.props.tree.map((function(p,h){var d=p.get("leaves");if(0===d.size)return null;var g=d.size-1,y=d.map((function(i,l){var f=a.encode(r,h,l),p=i.get("start"),d=i.get("end");return s.createElement(o,{key:f,offsetKey:f,block:e,start:p,selection:c?t.props.selection:null,forceSelection:t.props.forceSelection,text:n.slice(p,d),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:h===u&&l===g})})).toArray(),v=p.get("decoratorKey");if(null==v)return y;if(!t.props.decorator)return y;var _=m(t.props.decorator),b=_.getComponentForKey(v);if(!b)return y;var S=_.getPropsForKey(v),w=a.encode(r,h,0),x=d.first().get("start"),k=d.last().get("end"),C=n.slice(x,k),E=e.getEntityAt(p.get("start")),O=f.getHTMLDirIfDifferent(l.getDirection(C),t.props.direction),D={contentState:t.props.contentState,decoratedText:C,dir:O,start:x,end:k,blockKey:r,entityKey:E,offsetKey:w};return s.createElement(b,i({},S,D,{key:w}),y)})).toArray()},b.render=function(){var t=this,e=this.props,r=e.direction,n=e.offsetKey,i=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return s.createElement("div",{"data-offset-key":n,className:i,ref:function(e){return t._node=e}},this._renderChildren())},n}(s.Component);t.exports=b},25821:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){a(t,e,r[e])}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(59513),u=r(22146),c=r(99196),l=r(65994),f=r(19051),p=r(55258),h=r(79749),d=r(70746),g=r(43393),y=r(73759),v=r(20717),m=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),_=function(t,e){var r=e.get(t.getType())||e.get("unstyled"),n=r.wrapper;return{Element:r.element||e.get("unstyled").element,wrapperTemplate:n}},b=function(t,e){var r=e(t);return r?{CustomComponent:r.component,customProps:r.props,customEditable:r.editable}:{}},S=function(t,e,r,n,i,a){var s={"data-block":!0,"data-editor":e,"data-offset-key":r,key:t.getKey(),ref:a},u=n(t);return u&&(s.className=u),void 0!==i.customEditable&&(s=o({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},w=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return a(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(n))||this),"wrapperRef",c.createRef()),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var g=n.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,r=e.block,n=e.direction,i=e.tree,o=!r.getChildKeys().isEmpty(),a=r!==t.block||i!==t.tree||n!==t.direction||m(t.selection,t.block.getKey())&&t.forceSelection;return o||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this.wrapperRef.current;if(r){var n,i=f.getScrollParent(r),o=h(i);if(i===window){var a=p(r);(n=a.y+a.height-d().height)>0&&window.scrollTo(o.x,o.y+n+10)}else{v(r)||y(!1);var s=r;(n=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&l.setTop(i,l.getTop(i)+n+10)}}}},g.render=function(){var t=this,e=this.props,r=e.block,a=e.blockRenderMap,l=e.blockRendererFn,f=e.blockStyleFn,p=e.contentState,h=e.decorator,d=e.editorKey,g=e.editorState,y=e.customStyleFn,v=e.customStyleMap,w=e.direction,x=e.forceSelection,k=e.selection,C=e.tree,E=null;r.children.size&&(E=r.children.reduce((function(e,r){var i=u.encode(r,0,0),s=p.getBlockForKey(r),h=b(s,l),y=h.CustomComponent||n,v=_(s,a),m=v.Element,w=v.wrapperTemplate,x=S(s,d,i,f,h,null),k=o({},t.props,{tree:g.getBlockTree(r),blockProps:h.customProps,offsetKey:i,block:s});return e.push(c.createElement(m,x,c.createElement(y,k))),!w||function(t,e){var r=t.getNextSiblingKey();return!!r&&e.getBlockForKey(r).getType()===t.getType()}(s,p)||function(t,e,r){var n=[],i=!0,o=!1,a=void 0;try{for(var s,l=r.reverse()[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var f=s.value;if(f.type!==e)break;n.push(f)}}catch(t){o=!0,a=t}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),h=p[0].key;r.push(c.cloneElement(t,{key:"".concat(h,"-wrap"),"data-offset-key":u.encode(h,0,0)},p))}(w,m,e),e}),[]));var O=r.getKey(),D=u.encode(O,0,0),K=b(r,l),T=K.CustomComponent,M=null!=T?c.createElement(T,i({},this.props,{tree:g.getBlockTree(O),blockProps:K.customProps,offsetKey:D,block:r})):c.createElement(s,{block:r,children:E,contentState:p,customStyleFn:y,customStyleMap:v,decorator:h,direction:w,forceSelection:x,hasSelection:m(k,O),selection:k,tree:C});if(r.getParentKey())return M;var A=_(r,a).Element,I=S(r,d,D,f,K,this.wrapperRef);return c.createElement(A,I,M)},n}(c.Component);t.exports=w},33418:(t,e,r)=>{"use strict";var n=r(77907),i=r(42307),o=r(22146),a=r(14289),s=r(25399),u=r(4856),c=r(14507),l=r(84907),f=r(1244),p=r(42128),h=r(22045),d=u.isBrowser("IE"),g=!1,y=!1,v=null,m={onCompositionStart:function(t){y=!0,function(t){v||(v=new n(l(t))).start()}(t)},onCompositionEnd:function(t){g=!1,y=!1,setTimeout((function(){g||m.resolveComposition(t)}),20)},onSelect:c,onKeyDown:function(t,e){if(!y)return m.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=h(v).stopAndFlushMutations();v=null,g=!0;var r=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var n=r.getCurrentContent();e.forEach((function(t,e){var s=o.decode(e),u=s.blockKey,c=s.decoratorKey,l=s.leafKey,f=r.getBlockTree(u).getIn([c,"leaves",l]),h=f.start,d=f.end,g=r.getSelection().merge({anchorKey:u,focusKey:u,anchorOffset:h,focusOffset:d,isBackward:!1}),y=p(n,g),v=n.getBlockForKey(u).getInlineStyleAt(h);n=i.replaceText(n,g,t,v,y),r=a.set(r,{currentContent:n})}));var s=f(r,l(t)).selectionState;t.restoreEditorDOM();var u=d?a.forceSelection(r,s):a.acceptSelection(r,s);t.update(a.push(u,n,"insert-characters"))}else t.update(r)}}};t.exports=m},88795:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){a(t,e,r[e])}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(37898),u=r(22146),c=r(99196),l=r(62620),f=r(71108),p=r(22045),h=function(t,e,r,n){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":r,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===n,"public/DraftStyleDefault/listRTL":"RTL"===n})},d=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,d=t.editorState,g=t.editorKey,y=t.preventScroll,v=t.textDirectionality,m=d.getCurrentContent(),_=d.getSelection(),b=d.mustForceSelection(),S=d.getDecorator(),w=p(d.getDirectionMap()),x=m.getBlocksAsArray(),k=[],C=null,E=null,O=0;O<x.length;O++){var D=x[O],K=D.getKey(),T=D.getType(),M=r(D),A=void 0,I=void 0,B=void 0;M&&(A=M.component,I=M.props,B=M.editable);var L=v||w.get(K),R=u.encode(K,0,0),N={contentState:m,block:D,blockProps:I,blockStyleFn:n,customStyleMap:a,customStyleFn:l,decorator:S,direction:L,forceSelection:b,offsetKey:R,preventScroll:y,selection:_,tree:d.getBlockTree(K)},F=e.get(T)||e.get("unstyled"),P=F.wrapper,z=F.element||e.get("unstyled").element,j=D.getDepth(),U="";n&&(U=n(D)),"li"===z&&(U=f(U,h(T,j,E!==P||null===C||j>C,L)));var q=A||s,H={className:U,"data-block":!0,"data-editor":g,"data-offset-key":R,key:K};void 0!==B&&(H=o({},H,{contentEditable:B,suppressContentEditableWarning:!0}));var W=c.createElement(z,H,c.createElement(q,i({},N,{key:K})));k.push({block:W,wrapperTemplate:P,key:K,offsetKey:R}),C=P?D.getDepth():null,E=P}for(var V=[],G=0;G<k.length;){var J=k[G];if(J.wrapperTemplate){var X=[];do{X.push(k[G].block),G++}while(G<k.length&&k[G].wrapperTemplate===J.wrapperTemplate);var Y=c.cloneElement(J.wrapperTemplate,{key:J.key+"-wrap","data-offset-key":J.offsetKey},X);V.push(Y)}else V.push(J.block),G++}return c.createElement("div",{"data-contents":"true"},V)},n}(c.Component);t.exports=d},87791:(t,e,r)=>{"use strict";var n=r(68642)("draft_tree_data_support");t.exports=r(n?69459:88795)},69459:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}var o=r(25821),a=r(22146),s=r(99196),u=r(22045),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var c=n.prototype;return c.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},c.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,c=t.customStyleMap,l=t.customStyleFn,f=t.editorState,p=t.editorKey,h=t.textDirectionality,d=f.getCurrentContent(),g=f.getSelection(),y=f.mustForceSelection(),v=f.getDecorator(),m=u(f.getDirectionMap()),_=[],b=d.getBlocksAsArray()[0];b;){var S=b.getKey(),w={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,contentState:d,customStyleFn:l,customStyleMap:c,decorator:v,editorKey:p,editorState:f,forceSelection:y,selection:g,block:b,direction:h||m.get(S),tree:f.getBlockTree(S)},x=(e.get(b.getType())||e.get("unstyled")).wrapper;_.push({block:s.createElement(o,i({key:S},w)),wrapperTemplate:x,key:S,offsetKey:a.encode(S,0,0)});var k=b.getNextSiblingKey();b=k?d.getBlockForKey(k):null}for(var C=[],E=0;E<_.length;){var O=_[E];if(O.wrapperTemplate){var D=[];do{D.push(_[E].block),E++}while(E<_.length&&_[E].wrapperTemplate===O.wrapperTemplate);var K=s.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},D);C.push(K)}else C.push(O.block),E++}return s.createElement("div",{"data-contents":"true"},C)},n}(s.Component);t.exports=c},3259:(t,e,r)=>{"use strict";var n=r(27418);function i(){return i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}var o=r(22146),a=r(99196),s=r(54191),u=r(16633),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,n.prototype.render=function(){var t=this.props,e=t.block,r=t.children,n=t.contentState,c=t.decorator,l=t.decoratorKey,f=t.direction,p=t.leafSet,h=t.text,d=e.getKey(),g=p.get("leaves"),y=c.getComponentForKey(l),v=c.getPropsForKey(l),m=o.encode(d,parseInt(l,10),0),_=h.slice(g.first().get("start"),g.last().get("end")),b=u.getHTMLDirIfDifferent(s.getDirection(_),f);return a.createElement(y,i({},v,{contentState:n,decoratedText:_,dir:b,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),r)},n}(a.Component);t.exports=c},61494:(t,e,r)=>{"use strict";var n=r(44891),i=r(42307),o=r(14289),a=r(69270),s=r(75795),u=r(21738),c=r(94486),l=r(48083),f=r(42177),p=r(22045),h={onDragEnd:function(t){t.exitCurrentMode(),d(t)},onDrop:function(t,e){var r=new n(e.nativeEvent.dataTransfer),l=t._latestEditorState,h=function(t,e){var r=null,n=null,i=s(t.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(t.x,t.y);r=o.startContainer,n=o.startOffset}else{if(!t.rangeParent)return null;r=t.rangeParent,n=t.rangeOffset}r=p(r),n=p(n);var u=p(a(r));return c(e,u,n,u,n)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=h){var y=r.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&f(t.props.handleDroppedFiles(h,y)))return;u(y,(function(e){e&&t.update(g(l,h,e))}))}else{var v=t._internalDrag?"internal":"external";t.props.handleDrop&&f(t.props.handleDrop(h,r,v))||(t._internalDrag?t.update(function(t,e){var r=i.moveText(t.getCurrentContent(),t.getSelection(),e);return o.push(t,r,"insert-fragment")}(l,h)):t.update(g(l,h,r.getText()))),d(t)}}}};function d(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var r=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}function g(t,e,r){var n=i.insertText(t.getCurrentContent(),e,r,t.getCurrentInlineStyle());return o.push(t,n,"insert-fragment")}t.exports=h},19394:(t,e,r)=>{"use strict";var n=r(4856),i=r(26396),o=r(43421),a=r(6155),s=r(69328),u=r(73935),c=r(39499),l=r(80981),f=r(62186),p=r(29971),h=r(46397),d=r(6089),g=r(14507),y=n.isBrowser("Chrome"),v=n.isBrowser("Firefox"),m=y||v?g:function(t){},_={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:h,onPaste:d,onSelect:g,onMouseUp:m,onKeyUp:m};t.exports=_},4083:(t,e,r)=>{"use strict";var n=r(91850).unstable_flushControlled;t.exports=n},42282:(t,e,r)=>{"use strict";var n=r(27418),i=r(80052),o=r(99196),a=r(73759),s=r(16581),u=r(45412).setDraftEditorSelection,c=function(t){var e,r;function c(){for(var e,r,n,i,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return i=void 0,(n="leaf")in(r=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,e}r=t,(e=c).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var l=c.prototype;return l._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,r=e.block,n=e.start,i=e.text,o=r.getKey(),c=n+i.length;if(t.hasEdgeWithin(o,n,c)){var l=this.leaf;l||a(!1);var f,p=l.firstChild;p||a(!1),p.nodeType===Node.TEXT_NODE?f=p:s(p)?f=l:(f=p.firstChild)||a(!1),u(t,f,o,n,c)}}},l.shouldComponentUpdate=function(t){var e=this.leaf;return e||a(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},l.componentDidUpdate=function(){this._setSelection()},l.componentDidMount=function(){this._setSelection()},l.render=function(){var t=this,e=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var a=this.props,s=a.customStyleMap,u=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce((function(t,e){var r={},i=s[e];return void 0!==i&&t.textDecoration!==i.textDecoration&&(r.textDecoration=[t.textDecoration,i.textDecoration].join(" ").trim()),n(t,i,r)}),{});if(u){var p=u(l,e);f=n(f,p)}return o.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f},o.createElement(i,null,r))},c}(o.Component);t.exports=c},59513:(t,e,r)=>{"use strict";var n=r(3259),i=r(42282),o=r(22146),a=r(43393),s=r(99196),u=r(62620),c=(a.List,function(t){var e,r;function a(){return t.apply(this,arguments)||this}return r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,a.prototype.render=function(){var t=this.props,e=t.block,r=t.contentState,a=t.customStyleFn,c=t.customStyleMap,l=t.decorator,f=t.direction,p=t.forceSelection,h=t.hasSelection,d=t.selection,g=t.tree,y=e.getKey(),v=e.getText(),m=g.size-1,_=this.props.children||g.map((function(t,u){var g=t.get("decoratorKey"),_=t.get("leaves"),b=_.size-1,S=_.map((function(t,r){var n=o.encode(y,u,r),l=t.get("start"),f=t.get("end");return s.createElement(i,{key:n,offsetKey:n,block:e,start:l,selection:h?d:null,forceSelection:p,text:v.slice(l,f),styleSet:e.getInlineStyleAt(l),customStyleMap:c,customStyleFn:a,isLast:g===m&&r===b})})).toArray();return g&&l?s.createElement(n,{block:e,children:S,contentState:r,decorator:l,decoratorKey:g,direction:f,leafSet:t,text:v,key:u}):S})).toArray();return s.createElement("div",{"data-offset-key":o.encode(y,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},_)},a}(s.Component));t.exports=c},28094:(t,e,r)=>{"use strict";var n=r(99196),i=r(62620),o=function(t){var e,r;function o(){return t.apply(this,arguments)||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return n.createElement("div",{className:e},n.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},o}(n.Component);t.exports=o},80052:(t,e,r)=>{"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(99196),a=r(4856),s=r(73759),u=r(84368),c=a.isBrowser("IE <= 11"),l=function(t){var e,r;function a(e){var r;return i(n(r=t.call(this,e)||this),"_forceFlag",void 0),i(n(r),"_node",void 0),r._forceFlag=!1,r}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,r=""===t.children;u(e)||s(!1);var n=e;return r?!function(t){return c?"\n"===t.textContent:"BR"===t.tagName}(n):n.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},c?o.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return c?o.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(o.Component);t.exports=l},5880:t=>{"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},82222:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(39006),o=r(43393),a=r(73759),s=r(76363),u=(0,o.Map)(),c=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var f={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),f.__getLastCreatedEntityKey()},create:function(t,e,r){return l("DraftEntity.create","contentState.createEntity"),f.__create(t,e,r)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),f.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),f.__get(t)},__getAll:function(){return u},__loadWithEntities:function(t){u=t,c=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),f.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),f.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return c},__create:function(t,e,r){return f.__add(new i({type:t,mutability:e,data:r||{}}))},__add:function(t){return c=s(),u=u.set(c,t),c},__get:function(t){var e=u.get(t);return e||a(!1),e},__mergeData:function(t,e){var r=f.__get(t),i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r.getData(),e),o=r.set("data",i);return u=u.set(t,o),o},__replaceData:function(t,e){var r=f.__get(t).set("data",e);return u=u.set(t,r),r}};t.exports=f},39006:(t,e,r)=>{"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},n}((0,r(43393).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=n},5195:t=>{"use strict";t.exports={getRemovalRange:function(t,e,r,n,i){var o=r.split(" ");o=o.map((function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t}));for(var a,s=n,u=null,c=null,l=0;l<o.length;l++){if(t<(a=s+o[l].length)&&s<e)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var f=n+r.length,p=u===n,h=c===f;return(!p&&h||p&&!h)&&("forward"===i?c!==f&&c++:u!==n&&u--),{start:u,end:c}}}},97432:t=>{"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},42307:(t,e,r)=>{"use strict";var n=r(4516),i=r(13483),o=r(68750),a=r(81446),s=r(88687),u=r(43393),c=r(54542),l=r(18467),f=r(73759),p=r(57429),h=r(14017),d=r(54879),g=r(36043),y=u.OrderedSet,v={replaceText:function(t,e,r,i,o){var a=h(t,e),s=d(a,e),u=n.create({style:i||y(),entity:o||null});return l(s,s.getSelectionAfter(),r,u)},insertText:function(t,e,r,n,i){return e.isCollapsed()||f(!1),v.replaceText(t,e,r,n,i)},moveText:function(t,e,r){var n=s(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,r,n)},replaceWithFragment:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=h(t,e),o=d(i,e);return c(o,o.getSelectionAfter(),r,n)},removeRange:function(t,e,r){var n,i,o,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),n=e.getAnchorKey(),i=e.getFocusKey(),o=t.getBlockForKey(n),s=t.getBlockForKey(i);var u=e.getStartOffset(),c=e.getEndOffset(),l=o.getEntityAt(u),f=s.getEntityAt(c-1);if(n===i&&l&&l===f){var p=a(t.getEntityMap(),o,s,e,r);return d(t,p)}var g=h(t,e);return d(g,e)},splitBlock:function(t,e){var r=h(t,e),n=d(r,e);return g(n,n.getSelectionAfter())},applyInlineStyle:function(t,e,r){return i.add(t,e,r)},removeInlineStyle:function(t,e,r){return i.remove(t,e,r)},setBlockType:function(t,e,r){return p(t,e,(function(t){return t.merge({type:r,depth:0})}))},setBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:r})}))},mergeBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:t.getData().merge(r)})}))},applyEntity:function(t,e,r){var n=h(t,e);return o(n,e,r)}};t.exports=v},22146:t=>{"use strict";var e="-",r={encode:function(t,r,n){return t+e+r+e+n},decode:function(t){var r=t.split(e).reverse(),n=r[0],i=r[1];return{blockKey:r.slice(2).reverse().join(e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}};t.exports=r},45712:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(38777),o=r(67953),a=r(67841),s=r(25027),u=r(36543),c=r(68642),l=r(43393),f=r(55283),p=l.List,h=l.Repeat,d=c("draft_tree_data_support"),g=d?o:i,y={processHTML:function(t,e){return a(t,u,e)},processText:function(t,e,r){return t.reduce((function(t,i,o){i=f(i);var a=s(),u={key:a,type:r,text:i,characterList:p(h(e,i.length))};if(d&&0!==o){var c=o-1;u=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},u,{prevSibling:(t[c]=t[c].merge({nextSibling:a})).getKey()})}return t.push(new g(u)),t}),[])}};t.exports=y},73932:(t,e,r)=>{"use strict";var n="['‘’]",i="\\s|(?![_])"+r(65724).getPunctuation(),o=new RegExp("^(?:"+i+")*(?:"+n+"|(?!"+i+").)*(?:(?!"+i+").)"),a=new RegExp("(?:(?!"+i+").)(?:"+n+"|(?!"+i+").)*(?:"+i+")*$");function s(t,e){var r=e?a.exec(t):o.exec(t);return r?r[0]:t}var u={getBackward:function(t){return s(t,!0)},getForward:function(t){return s(t,!1)}};t.exports=u},86155:t=>{"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},68957:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(25027),a=r(73759),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},u={fromRawTreeStateToRawState:function(t){var e=t.blocks,r=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var i=[].concat(t).reverse();i.length;){var o=i.pop();l=void 0,l=n({},c=o),s(c)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?n({},e,{depth:(t.depth||0)+1}):e})))}(c),null!=c.children&&c.children.length>0)||(delete l.children,r.push(l));var u=o.children;Array.isArray(u)||a(!1),i=i.concat([].concat(u.reverse()))}var c,l}(e),t.blocks=r,n({},t,{blocks:r})):t},fromRawStateToRawTreeState:function(t){var e=[],r=[];return t.blocks.forEach((function(t){var i=s(t),a=t.depth||0,u=n({},t,{children:[]});if(i){var c=r[0];if(null==c&&0===a)e.push(u);else if(null==c||c.depth<a-1){var l={key:o(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(l),1===a?e.push(l):null!=c&&c.children.push(l),l.children.push(u)}else if(c.depth===a-1)c.children.push(u);else{for(;null!=c&&c.depth>=a;)r.shift(),c=r[0];a>0?c.children.push(u):e.push(u)}}else e.push(u)})),n({},t,{blocks:e})}};t.exports=u},61622:(t,e,r)=>{"use strict";r(63620),t.exports={isValidBlock:function(t,e){var r=t.getKey(),n=t.getParentKey();if(null!=n&&!e.get(n).getChildKeys().includes(r))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===r})))return!1;var i=t.getPrevSiblingKey();if(null!=i&&e.get(i).getNextSiblingKey()!==r)return!1;var o=t.getNextSiblingKey();return(null==o||e.get(o).getPrevSiblingKey()===r)&&!(null!==o&&null!==i&&i===o||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var r=0,n=e.shift().getKey(),i=[];null!=n;){var o=t.get(n),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==u)return!1;n=u.getKey()}else n=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();r++}return r===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(r){return e.isValidBlock(r,t)}))&&this.isConnectedTree(t)}}},33337:(t,e,r)=>{"use strict";var n,i=r(7902),o=r(43393),a=r(22045),s=o.OrderedMap,u={getDirectionMap:function(t,e){n?n.reset():n=new i;var r=t.getBlockMap(),u=r.valueSeq().map((function(t){return a(n).getDirection(t.getText())})),c=s(r.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}};t.exports=u},14289:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(34365),a=r(66912),s=r(33337),u=r(25110),c=r(43393),l=c.OrderedSet,f=c.Record,p=c.Stack,h=c.OrderedMap,d=c.List,g=f({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,r){return e.createWithContent(a.createFromText(t),r)},e.createWithContent=function(t,r){if(0===t.getBlockMap().count())return e.createEmpty(r);var n=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:r||null,selection:u.createEmpty(n)})},e.create=function(t){var r=t.currentContent,i=n({},t,{treeMap:m(r,t.decorator),directionMap:s.getDirectionMap(r)});return new e(new g(i))},e.fromJS=function(t){return new e(new g(n({},t,{directionMap:null!=t.directionMap?h(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?p(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new u(t.selection):t.selection,treeMap:null!=t.treeMap?h(t.treeMap).map((function(t){return d(t).map((function(t){return o.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?p(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,r){return new e(t.getImmutable().withMutations((function(e){var n=e.get("decorator"),i=n;null===r.decorator?i=null:r.decorator&&(i=r.decorator);var a=r.currentContent||t.getCurrentContent();if(i!==n){var s,u=e.get("treeMap");return s=i&&n?function(t,e,r,n,i){return r.merge(e.toSeq().filter((function(e){return n.getDecorations(e,t)!==i.getDecorations(e,t)})).map((function(e){return o.generate(t,e,n)})))}(a,a.getBlockMap(),u,i,n):m(a,i),void e.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,r,n){var i=t.getCurrentContent().set("entityMap",r),a=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return o.generate(i,t,n)})))}(t,a.getBlockMap(),a.getEntityMap(),i)),e.merge(r)})))};var t=e.prototype;function e(t){i(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,r){return e.set(t,{inlineStyleOverride:r})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),r=this.getSelection();return r.isCollapsed()?function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);return n>0?i.getInlineStyleAt(n-1):i.getLength()?i.getInlineStyleAt(0):_(t,r)}(e,r):function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);return n<i.getLength()?i.getInlineStyleAt(n):n>0?i.getInlineStyleAt(n-1):_(t,r)}(e,r)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return v(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),v(t,e,!0)},e.moveSelectionToEnd=function(t){var r=t.getCurrentContent().getLastBlock(),n=r.getKey(),i=r.getLength();return e.acceptSelection(t,new u({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var r=e.moveSelectionToEnd(t);return e.forceSelection(r,r.getSelection())},e.push=function(t,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===r)return t;var o=s.getDirectionMap(r,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:r,directionMap:o,lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=r;a!==u.getSelectionAfter()||function(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(t,n)?(c=c.push(u),l=l.set("selectionBefore",a)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(l=l.set("selectionBefore",u.getSelectionBefore()));var f=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(n)&&(f=null);var h={currentContent:l,directionMap:o,undoStack:c,redoStack:p(),lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var r=t.getUndoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:r.shift(),redoStack:t.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var r=t.getRedoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:t.getUndoStack().push(i),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function v(t,e,r){return y.set(t,{selection:e,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(t,e){return t.getBlockMap().map((function(r){return o.generate(t,r,e)})).toOrderedMap()}function _(t,e){var r=t.getBlockMap().reverse().skipUntil((function(t,r){return r===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return r?r.getInlineStyleAt(r.getLength()-1):l()}t.exports=y},47387:(t,e,r)=>{"use strict";var n=r(4856),i=r(17797),o=n.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:i};t.exports=a},70054:()=>{},41947:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(1665),a=r(22045),s={currentBlockContainsLink:function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=r.getEntityMap();return r.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===n.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,r){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=n.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),r=i.push(t,e,"insert-characters");return i.forceSelection(r,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var r=t.getCurrentContent(),n=e.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var a=r.getBlockMap().delete(o.getKey()),u=r.merge({blockMap:a,selectionAfter:e});if(u!==r)return i.push(t,u,"remove-range")}var c=s.tryToRemoveBlockStyle(t);return c?i.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var r=t.getCurrentContent(),o=e.getStartKey(),a=r.getBlockForKey(o).getLength();if(e.getStartOffset()<a)return null;var s=r.getBlockAfter(o);if(!s||"atomic"!==s.getType())return null;var u=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=n.removeRange(r,u,"forward");return c!==r?i.push(t,c,"remove-range"):null},onTab:function(t,e,r){var n=e.getSelection(),a=n.getAnchorKey();if(a!==n.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=u.getDepth();if(!t.shiftKey&&l===r)return e;var f=o(s,n,t.shiftKey?-1:1,r);return i.push(e,f,"adjust-depth")},toggleBlockType:function(t,e){var r=t.getSelection(),o=r.getStartKey(),s=r.getEndKey(),u=t.getCurrentContent(),c=r;if(o!==s&&0===r.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile((function(t,e){return e!==o})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var f=u.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,n.setBlockType(u,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=e.getFocusKey();return e.isCollapsed()||r!==n?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var r=t.getSelection(),o=t.getCurrentInlineStyle();if(r.isCollapsed())return i.setInlineStyleOverride(t,o.has(e)?o.remove(e):o.add(e));var a,s=t.getCurrentContent();return a=o.has(e)?n.removeInlineStyle(s,r,e):n.applyInlineStyle(s,r,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,r){var o=n.applyEntity(t.getCurrentContent(),e,r);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),r=e.getAnchorOffset();if(e.isCollapsed()&&0===r){var i=e.getAnchorKey(),o=t.getCurrentContent(),a=o.getBlockForKey(i).getType(),s=o.getBlockBefore(i);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return n.setBlockType(o,e,"unstyled")}return null}};t.exports=s},83751:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(88687),a=r(22045),s=null,u={cut:function(t){var e=t.getCurrentContent(),r=t.getSelection(),u=null;if(r.isCollapsed()){var c=r.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===r.getAnchorOffset()){var f=e.getKeyAfter(c);if(null==f)return t;u=r.set("focusKey",f).set("focusOffset",0)}else u=r.set("focusOffset",l)}else u=r;u=a(u),s=o(e,u);var p=n.removeRange(e,u,"forward");return p===e?t:i.push(t,p,"remove-range")},paste:function(t){if(!s)return t;var e=n.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return i.push(t,e,"insert-fragment")}};t.exports=u},25110:(t,e,r)=>{"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(t,e,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===t){var o=this.getStartOffset(),a=this.getEndOffset();return e<=o&&o<=r||e<=a&&a<=r}if(t!==n&&t!==i)return!1;var s=t===n?this.getAnchorOffset():this.getFocusOffset();return e<=s&&r>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},n.createEmpty=function(t){return new n({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},n}((0,r(43393).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=n},1665:t=>{"use strict";t.exports=function(t,e,r,n){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat([[o,a.get(o)]]).map((function(t){var e=t.getDepth()+r;return e=Math.max(0,Math.min(e,n)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},2835:(t,e,r)=>{"use strict";var n=r(4516);t.exports=function(t,e,r,i){for(var o=e,a=t.getCharacterList();o<r;)a=a.set(o,n.applyEntity(a.get(o),i)),o++;return t.set("characterList",a)}},68750:(t,e,r)=>{"use strict";var n=r(2835),i=r(43393);t.exports=function(t,e,r){var o=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=o.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===u})).toOrderedMap().merge(i.OrderedMap([[u,o.get(u)]])).map((function(t,e){var i=e===a?s:0,o=e===u?c:t.getLength();return n(t,i,o,r)}));return t.merge({blockMap:o.merge(l),selectionBefore:e,selectionAfter:e})}},79981:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(38777),o=r(67953),a=r(86155),s=r(56265),u=r(31487),c=r(73759),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:u(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var r=e.entityMap,s=[],u={},f={},p=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var n=t.getEntityAt(e),i=a.stringify(n);f[i]||(f[i]=n,r[i]="".concat(p),p++)})),function(t,e,r,a){if(t instanceof i)r.push(l(t,e));else{t instanceof o||c(!1);var s=t.getParentKey(),u=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(u):r.push(u)}}(t,r,s,u)})),{blocks:s,entityMap:r}}(t,e),e=function(t,e){var r=e.blocks,n=e.entityMap,i={};return Object.keys(n).forEach((function(e,r){var n=t.getEntity(a.unstringify(e));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}})),{blocks:r,entityMap:i}}(t,e),e}},67841:(t,e,r)=>{"use strict";var n;function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r(4516),s=r(38777),u=r(67953),c=r(526),l=r(82222),f=r(61425),p=r(62620),h=r(25027),d=r(36543),g=r(68642),y=r(43393),v=y.List,m=y.Map,_=y.OrderedSet,b=r(78241),S=r(16581),w=r(20717),x=r(35039),k=g("draft_tree_data_support"),C=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("^\n","g"),D=new RegExp(" ","g"),K=new RegExp(" ?","g"),T=new RegExp("​?","g"),M=["bold","bolder","500","600","700","800","900"],A=["light","lighter","normal","100","200","300","400"],I=["className","href","rel","target","title"],B=["alt","className","height","src","width"],L=(o(n={},p("public/DraftStyleDefault/depth0"),0),o(n,p("public/DraftStyleDefault/depth1"),1),o(n,p("public/DraftStyleDefault/depth2"),2),o(n,p("public/DraftStyleDefault/depth3"),3),o(n,p("public/DraftStyleDefault/depth4"),4),n),R=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),N=function(t){return w(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},F=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some((function(r){t.classList.contains(r)&&(e=L[r])})),e},P=function(t){if(!b(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new f(e.href),!0}catch(t){return!1}},z=function(t){if(!x(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},j=function(t,e){if(!w(t))return e;var r=t,n=r.style.fontWeight,i=r.style.fontStyle,o=r.style.textDecoration;return e.withMutations((function(t){M.indexOf(n)>=0?t.add("BOLD"):A.indexOf(n)>=0&&t.remove("BOLD"),"italic"===i?t.add("ITALIC"):"normal"===i&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},U=function(t){return"ul"===t||"ol"===t},q=function(){function t(t,e){o(this,"characterList",v()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",l),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=v(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],_())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(k?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=i({key:t.key||h(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:v(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=v(),this.currentBlockType="unstyled",this.currentText="",e},e._toBlockConfigs=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=i.nodeName.toLowerCase();if("body"===o||U(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;U(o)&&(this.wrapper=o,U(s)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(z(i))this._addImgNode(i,e);else if(P(i))this._addAnchorNode(i,r,e);else{var c=e;R.has(o)&&(c=c.add(R.get(o))),c=j(i,c);var l=N(i);null!=l&&(c=c.add(l)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,e);else this._addTextNode(i,e);else{this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var f=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!k&&w(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var d=i;this.currentDepth=F(d,this.currentDepth)}var g=h(),y=this._toBlockConfigs(Array.from(i.childNodes),e);this._trimCurrentText(),r.push(this._makeBlockConfig({key:g,childConfigs:y,type:u})),this.currentDepth=f,this.wrapper=p}}}return r},e._appendText=function(t,e){var r;this.currentText+=t;var n=a.create({style:e,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(t.length).fill(n))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==n?Math.min(e,n[0]):e)>(r=void 0!==(n=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(r,t-n[0]):r)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(e,r),this.characterList=this.characterList.slice(e,r))},e._addTextNode=function(t,e){var r=t.textContent;""===r.trim()&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=(r=r.replace(O,"")).replace(E," ")),this._appendText(r,e)},e._addBreakNode=function(t,e){S(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(x(t)){var r=t,n={};B.forEach((function(t){var e=r.getAttribute(t);e&&(n[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",n),g("draftjs_fix_paste_for_img")?"presentation"!==r.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,r){if(b(t)){var n=t,i={};I.forEach((function(t){var e=n.getAttribute(t);e&&(i[t]=e)})),i.url=new f(n.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),r)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.length-1,n=0;n<=r;n++){var o=t[n];o.parent=e,o.prevSibling=n>0?t[n-1].key:null,o.nextSibling=n<r?t[n+1].key:null,o.children=v(o.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new u(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return v(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var r=e._extractTextFromBlockConfigs(t.childConfigs),n=r.text,o=r.characterList;e.contentBlocks.push(new s(i({},t,{text:t.text+n,characterList:t.characterList.concat(o)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,r="",n=v(),i=0;i<=e;i++){var o=t[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);r+=a.text,n=n.concat(a.characterList)}return{text:r,characterList:n}},t}();t.exports=function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:d)(t=t.trim().replace(C,"").replace(D," ").replace(K,"").replace(T,""));if(!r)return null;var n=function(t){var e={};return t.mapKeys((function(t,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach((function(r){void 0===e[r]?e[r]=t:"string"==typeof e[r]?e[r]=[e[r],t]:e[r].push(t)}))})),m(e)}(e);return new q(n,(function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null})).addDOMNode(r).getContentBlocks()}},99607:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(38777),a=r(67953),s=r(66912),u=r(82222),c=r(68957),l=(r(61622),r(25110)),f=r(86019),p=r(67134),h=r(59672),d=r(25027),g=r(68642),y=r(43393),v=r(73759),m=g("draft_tree_data_support"),_=y.List,b=y.Map,S=y.OrderedMap,w=function(t,e){var r=t.key,n=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:n||"unstyled",key:r||d(),data:b(i),characterList:x(t,e)}},x=function(t,e){var r=t.text,i=t.entityRanges,o=t.inlineStyleRanges,a=i||[];return f(h(r,o||[]),p(r,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return n({},t,{key:e[t.key]})}))))},k=function(t){return n({},t,{key:t.key||d()})},C=function(t,e,r){var i=e.map((function(t){return n({},t,{parentRef:r})}));return t.concat(i.reverse())};t.exports=function(t){Array.isArray(t.blocks)||v(!1);var e=function(t){var e=t.entityMap,r={};return Object.keys(e).forEach((function(t){var n=e[t],i=n.type,o=n.mutability,a=n.data;r[t]=u.__create(i,o,a||{})})),r}(t),r=function(t,e){var r=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),i=m&&!r?c.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!m)return function(t,e){return S(t.map((function(t){var r=new o(w(t,e));return[r.getKey(),r]})))}(r?c.fromRawTreeStateToRawState(t).blocks:i,e);var s=function(t,e){return t.map(k).reduce((function(r,i,o){Array.isArray(i.children)||v(!1);var s=i.children.map(k),u=new a(n({},w(i,e),{prevSibling:0===o?null:t[o-1].key,nextSibling:o===t.length-1?null:t[o+1].key,children:_(s.map((function(t){return t.key})))}));r=r.set(u.getKey(),u);for(var c=C([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||v(!1);break}var g=l.children.map(k),y=new a(n({},w(l,e),{parent:f.getKey(),children:_(g.map((function(t){return t.key}))),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));r=r.set(y.getKey(),y),c=C(c,g,y)}return r}),S())}(i,e);return s}(t,e),i=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new s({blockMap:r,entityMap:e,selectionBefore:i,selectionAfter:i})}},86019:(t,e,r)=>{"use strict";var n=r(4516),i=r(43393).List;t.exports=function(t,e){var r=t.map((function(t,r){var i=e[r];return n.create({style:t,entity:i})}));return i(r)}},67134:(t,e,r)=>{"use strict";var n=r(38935).substr;t.exports=function(t,e){var r=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var i=n(t,0,e.offset).length,o=i+n(t,e.offset,e.length).length,a=i;a<o;a++)r[a]=e.key})),r}},59672:(t,e,r)=>{"use strict";var n=r(38935),i=r(43393).OrderedSet,o=n.substr,a=i();t.exports=function(t,e){var r=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var n=o(t,0,e.offset).length,i=n+o(t,e.offset,e.length).length;n<i;)r[n]=r[n].add(e.style),n++})),r}},99407:t=>{"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},26396:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(4856),a=r(42128),s=r(42177),u=r(40258),c=r(22045),l=r(56926),f=o.isBrowser("Firefox");function p(t,e,r,o,a){var s=n.replaceText(t.getCurrentContent(),t.getSelection(),e,r,o);return i.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t._latestEditorState,n=e.data;if(n)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(n,r,e.timeStamp)))e.preventDefault();else{var o=r.getSelection(),h=o.getStartOffset(),d=o.getAnchorKey();if(!o.isCollapsed())return e.preventDefault(),void t.update(p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!0));var g,y=p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!1),v=!1;if(v||(v=u(t._latestCommittedEditorState)),!v){var m=r.getBlockTree(d),_=y.getBlockTree(d);v=m.size!==_.size||m.zip(_).some((function(t){var e=t[0],r=t[1],i=e.get("start"),o=i+(i>=h?n.length:0),a=e.get("end"),s=a+(a>=h?n.length:0),u=r.get("start"),c=r.get("end"),l=r.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==r.get("leaves").size||o!==u||s!==c||null!=l&&c-u!=a-i}))}if(v||(g=n,v=f&&("'"==g||"/"==g)),v||(v=c(y.getDirectionMap()).get(d)!==c(r.getDirectionMap()).get(d)),v)return e.preventDefault(),y=i.set(y,{forceSelection:!0}),void t.update(y);y=i.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},43421:(t,e,r)=>{"use strict";var n=r(14289),i=r(67476),o=r(31003);t.exports=function(t,e){var r=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&o(r)===r.body){var a=r.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var u=t._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(n.acceptSelection(u,l))}}},6155:(t,e,r)=>{"use strict";var n=r(14289);t.exports=function(t,e){t.setMode("composite"),t.update(n.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},69328:(t,e,r)=>{"use strict";var n=r(94882);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(n(t._latestEditorState))}},73935:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(19051),a=r(94882),s=r(79749),u=r(80809);t.exports=function(t,e){var r,c=t._latestEditorState,l=c.getSelection(),f=e.target;if(l.isCollapsed())e.preventDefault();else{if(u(f)){var p=f;r=s(o.getScrollParent(p))}var h=a(c);t.setClipboard(h),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(r),t.exitCurrentMode(),t.update(function(t){var e=n.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return i.push(t,e,"remove-range")}(c))}),0)}}},39499:t=>{"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},80981:t=>{"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},62186:(t,e,r)=>{"use strict";var n=r(14289),i=r(4856);t.exports=function(t,e){var r=t._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),i.isBrowser("Chrome < 60.0.3081.0")?t.update(n.forceSelection(r,a)):t.update(n.acceptSelection(r,a))}}},29971:(t,e,r)=>{"use strict";var n=r(42307),i=r(22146),o=r(14289),a=r(4856),s=r(99407).notEmptyKey,u=r(69270),c=r(62800),l=r(22045),f=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t.editor.ownerDocument.defaultView.getSelection(),a=r.anchorNode,p=r.isCollapsed,h=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!h){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var d=a.parentNode;if(null==d)return;a.nodeValue=d.textContent;for(var g=d.firstChild;null!=g;g=g.nextSibling)g!==a&&d.removeChild(g)}var y=a.textContent,v=t._latestEditorState,m=l(u(a)),_=i.decode(m),b=_.blockKey,S=_.decoratorKey,w=_.leafKey,x=v.getBlockTree(b).getIn([S,"leaves",w]),k=x.start,C=x.end,E=v.getCurrentContent(),O=E.getBlockForKey(b),D=O.getText().slice(k,C);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==D){var K,T,M,A,I=v.getSelection(),B=I.merge({anchorOffset:k,focusOffset:C,isBackward:!1}),L=O.getEntityAt(k),R=s(L)?E.getEntity(L):null,N="MUTABLE"===(null!=R?R.getMutability():null),F=N?"spellcheck-change":"apply-entity",P=n.replaceText(E,B,y,O.getInlineStyleAt(k),N?O.getEntityAt(k):null);if(f)K=r.anchorOffset,T=r.focusOffset,A=(M=k+Math.min(K,T))+Math.abs(K-T),K=M,T=A;else{var z=y.length-D.length;M=I.getStartOffset(),A=I.getEndOffset(),K=p?A+z:M,T=A+z}var j=P.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:K,focusOffset:T})});t.update(o.push(v,j,F))}else{var U=e.nativeEvent.inputType;if(U){var q=function(t,e){return"deleteContentBackward"===t?c(e):e}(U,v);if(q!==v)return t.restoreEditorDOM(),void t.update(q)}}}}},46397:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(47387),a=r(25399),s=r(83751),u=r(4856),c=r(42177),l=r(49779),f=r(51050),p=r(13767),h=r(77978),d=r(67217),g=r(8425),y=r(62800),v=r(13998),m=r(53318),_=r(87051),b=o.isOptionKeyCommand,S=u.isBrowser("Chrome");t.exports=function(t,e){var r=e.which,o=t._latestEditorState;function u(r){var n=t.props[r];return!!n&&(n(e),!0)}switch(r){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,o)))return;break;case a.ESC:if(e.preventDefault(),u("onEscape"))return;break;case a.TAB:if(u("onTab"))return;break;case a.UP:if(u("onUpArrow"))return;break;case a.RIGHT:if(u("onRightArrow"))return;break;case a.DOWN:if(u("onDownArrow"))return;break;case a.LEFT:if(u("onLeftArrow"))return;break;case a.SPACE:S&&b(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null!=w&&""!==w)if("undo"!==w){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(w,o,e.timeStamp))){var x=function(t,e,r){switch(t){case"redo":return i.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e,r);case"split-block":return h(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return d(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(w,o,e);x!==o&&t.update(x)}}else _(e,o,t.update);else if(r===a.SPACE&&S&&b(e)){var k=n.replaceText(o.getCurrentContent(),o.getSelection()," ");t.update(i.push(o,k,"insert-characters"))}}},6089:(t,e,r)=>{"use strict";var n=r(10329),i=r(4516),o=r(44891),a=r(42307),s=r(45712),u=r(14289),c=r(41947),l=r(42128),f=r(21738),p=r(42177),h=r(44300);function d(t,e,r){var n=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n.set("entityMap",r),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var r=new o(e.clipboardData);if(!r.isRichText()){var g=r.getFiles(),y=r.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;return void f(g,(function(e){if(e=e||y){var r=t._latestEditorState,o=h(e),f=i.create({style:r.getCurrentInlineStyle(),entity:l(r.getCurrentContent(),r.getSelection())}),p=c.getCurrentBlockType(r),d=s.processText(o,f,p),g=n.createFromArray(d),v=a.replaceWithFragment(r.getCurrentContent(),r.getSelection(),g);t.update(u.push(r,v,"insert-fragment"))}}))}}var v=[],m=r.getText(),_=r.getHTML(),b=t._latestEditorState;if(t.props.formatPastedText){var S=t.props.formatPastedText(m,_);m=S.text,_=S.html}if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,_,b))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var w,x=t.getClipboard();if(!t.props.formatPastedText&&r.isRichText()&&x){if(-1!==(null===(w=_)||void 0===w?void 0:w.indexOf(t.getEditorKey()))||1===v.length&&1===x.size&&x.first().getText()===m)return void t.update(d(t._latestEditorState,x))}else if(x&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,r){return e.getText()===t[r]}))}(v,x))return void t.update(d(t._latestEditorState,x));if(_){var k=s.processHTML(_,t.props.blockRenderMap);if(k){var C=k.contentBlocks,E=k.entityMap;if(C){var O=n.createFromArray(C);return void t.update(d(t._latestEditorState,O,E))}}}t.setClipboard(null)}if(v.length){var D=i.create({style:b.getCurrentInlineStyle(),entity:l(b.getCurrentContent(),b.getSelection())}),K=c.getCurrentBlockType(b),T=s.processText(v,D,K),M=n.createFromArray(T);t.update(d(t._latestEditorState,M))}}}},14507:(t,e,r)=>{"use strict";var n=r(97432),i=r(14289),o=r(84907),a=r(1244);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var r=t.props.editorState,s=a(r,o(t)),u=s.selectionState;u!==r.getSelection()&&(r=s.needsRecovery?i.forceSelection(r,u):i.acceptSelection(r,u),t.update(r))}}},56265:(t,e,r)=>{"use strict";var n=r(86155),i=r(38935).strlen;t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(o,a){var s=t.getText(),u=t.getEntityAt(o);r.push({offset:i(s.slice(0,o)),length:i(s.slice(o,a)),key:Number(e[n.stringify(u)])})})),r}},31487:(t,e,r)=>{"use strict";var n=r(38935),i=r(29407),o=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),r=e.flatten().toSet().map((function(r){return function(t,e,r){var s=[],u=e.map((function(t){return t.has(r)})).toList();return i(u,o,a,(function(e,i){var o=t.getText();s.push({offset:n.strlen(o.slice(0,e)),length:n.strlen(o.slice(e,i)),style:r})})),s}(t,e,r)}));return Array.prototype.concat.apply(s,r.toJS())}},88182:(t,e,r)=>{"use strict";var n=r(38935),i=r(75795),o=r(6092),a=r(73759);function s(t,e){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(r=Math.min(r,s.top),n=Math.min(n,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=n&&i-r<e&&o-n<e}function u(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var r=function(t){var e=getComputedStyle(t),r=i(t),n=r.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var o=r.body;o||a(!1),o.appendChild(n);var s=n.getBoundingClientRect();return o.removeChild(n),s.height}(e),c=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(o(t),r)&&(c=t.startContainer,l=t.startOffset,c.parentNode||a(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,p=l-1;;){for(var h=f.nodeValue,d=p;d>=0;d--)if(!(null!=h&&d>0&&n.isSurrogatePair(h,d-1))){if(t.setStart(f,d),!s(o(t),r))break;c=f,l=d}if(-1===d||0===f.childNodes.length)break;p=u(f=f.childNodes[d])}return t.setStart(c,l),t}},69270:(t,e,r)=>{"use strict";var n=r(75795),i=r(93578);t.exports=function(t){for(var e=t;e&&e!==n(t).documentElement;){var r=i(e);if(null!=r)return r;e=e.parentNode}return null}},29407:t=>{"use strict";t.exports=function(t,e,r,n){if(t.size){var i=0;t.reduce((function(t,o,a){return e(t,o)||(r(t)&&n(i,a),i=a),o})),r(t.last())&&n(i,t.count())}}},25027:t=>{"use strict";var e={},r=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*r).toString(32);return e[t]=!0,t}},81446:(t,e,r)=>{"use strict";var n=r(5195),i=r(64994),o=r(73759);function a(t,e,r,a,s,u,c){var l=r.getStartOffset(),f=r.getEndOffset(),p=t.__get(s).getMutability(),h=c?l:f;if("MUTABLE"===p)return r;var d=i(e,s).filter((function(t){return h<=t.end&&h>=t.start}));1!=d.length&&o(!1);var g=d[0];if("IMMUTABLE"===p)return r.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});u||(c?f=g.end:l=g.start);var y=n.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return r.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,r,n,i){var o=n.getStartOffset(),s=n.getEndOffset(),u=e.getEntityAt(o),c=r.getEntityAt(s-1);if(!u&&!c)return n;var l=n;if(u&&u===c)l=a(t,e,l,i,u,!0,!0);else if(u&&c){var f=a(t,e,l,i,u,!1,!0),p=a(t,r,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(u){var h=a(t,e,l,i,u,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var d=a(t,r,l,i,c,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}},84907:(t,e,r)=>{"use strict";var n=r(73759),i=r(20717);t.exports=function(t){var e=t.editorContainer;return e||n(!1),i(e.firstChild)||n(!1),e.firstChild}},88687:(t,e,r)=>{"use strict";var n=r(98555),i=r(14017);t.exports=function(t,e){var r=e.getStartKey(),o=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e).getBlockMap(),c=u.keySeq(),l=c.indexOf(r),f=c.indexOf(a)+1;return n(u.slice(l,f).map((function(t,e){var n=t.getText(),i=t.getCharacterList();return r===a?t.merge({text:n.slice(o,s),characterList:i.slice(o,s)}):e===r?t.merge({text:n.slice(o),characterList:i.slice(o)}):e===a?t.merge({text:n.slice(0,s),characterList:i.slice(0,s)}):t})))}},75795:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},41714:(t,e,r)=>{"use strict";var n=r(47387),i=r(25399),o=r(4856),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),u=n.hasCommandModifier,c=n.isCtrlKeyCommand;function l(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return u(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return u(t)?"italic":null;case 74:return u(t)?"code":null;case 75:return a&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return a&&c(t)?"transpose-characters":null;case 85:return u(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:return c(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return u(t)?t.shiftKey?"redo":"undo":null}(t)||null;case i.RETURN:return"split-block";case i.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case i.BACKSPACE:return function(t){return u(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case i.LEFT:return s&&u(t)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&u(t)?"move-selection-to-end-of-block":null;default:return null}}},1244:(t,e,r)=>{"use strict";var n=r(8101);t.exports=function(t,e){var r=e.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;return 0===r.rangeCount||null==i||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(t,e,i,o,a,s)}},8101:(t,e,r)=>{"use strict";var n=r(69270),i=r(93578),o=r(94486),a=r(73759),s=r(84368),u=r(22045);function c(t,e,r){var o=e,c=n(o);if(null!=c||t&&(t===o||t.firstChild===o)||a(!1),t===o&&(o=o.firstChild,s(o)||a(!1),"true"!==o.getAttribute("data-contents")&&a(!1),r>0&&(r=o.childNodes.length)),0===r){var f=null;if(null!=c)f=c;else{var p=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||i(t.firstChild));)t=t.firstChild;return t}(o);f=u(i(p))}return{key:f,offset:0}}var h=o.childNodes[r-1],d=null,g=null;if(i(h)){var y=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||i(t.lastChild));)t=t.lastChild;return t}(h);d=u(i(y)),g=l(y)}else d=u(c),g=l(h);return{key:d,offset:g}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,r,i,a,s){var l=r.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:o(t,u(n(r)),i,u(n(a)),s),needsRecovery:!1};var p=null,h=null,d=!0;return l?(p={key:u(n(r)),offset:i},h=c(e,a,s)):f?(h={key:u(n(a)),offset:s},p=c(e,r,i)):(p=c(e,r,i),h=c(e,a,s),r===a&&i===s&&(d=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(t,p.key,p.offset,h.key,h.offset),needsRecovery:d}}},42128:(t,e,r)=>{"use strict";var n=r(99407).notEmptyKey;function i(t,e){return n(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var r;if(e.isCollapsed()){var n=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(r=t.getBlockForKey(n).getEntityAt(o-1))!==t.getBlockForKey(n).getEntityAt(o)?null:i(t.getEntityMap(),r):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return r=s===u.getLength()?null:u.getEntityAt(s),i(t.getEntityMap(),r)}},94882:(t,e,r)=>{"use strict";var n=r(88687);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:n(t.getCurrentContent(),e)}},39506:(t,e,r)=>{"use strict";var n=r(67953);t.exports=function(t,e){if(!(t instanceof n))return null;var r=t.getNextSiblingKey();if(r)return r;var i=t.getParentKey();if(!i)return null;for(var o=e.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?e.get(a):null}return o?o.getNextSiblingKey():null}},96495:t=>{"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},98056:(t,e,r)=>{"use strict";var n=r(6092);t.exports=function(t){var e=n(t),r=0,i=0,o=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];r=s.top,i=s.right,o=s.bottom,a=s.left}else{var u=e[0];r=u.top,i=u.right,o=u.bottom,a=u.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(r=Math.min(r,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}return{top:r,right:i,bottom:o,left:a,width:i-a,height:o-r}}},6092:(t,e,r)=>{"use strict";var n=r(4856),i=r(73759),o=n.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),r=[],n=t.endContainer;null!=n;n=n.parentNode){var o=n===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(r.push(s),o)return r.reverse(),(a=[]).concat.apply(a,r);e.setEndBefore(n)}i(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=o},64994:(t,e,r)=>{"use strict";var n=r(73759);t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){r.push({start:t,end:e})})),r.length||n(!1),r}},36543:(t,e,r)=>{"use strict";var n=r(4856),i=r(73759),o=n.isBrowser("IE <= 9");t.exports=function(t){var e,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),e.documentElement.innerHTML=t,r=e.getElementsByTagName("body")[0]),r}},93578:(t,e,r)=>{"use strict";var n=r(84368);t.exports=function t(e){if(n(e)){var r=e,i=r.getAttribute("data-offset-key");if(i)return i;for(var o=0;o<r.childNodes.length;o++){var a=t(r.childNodes[o]);if(a)return a}}return null}},21738:(t,e,r)=>{"use strict";var n=r(73759),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach((function(u){!function(t,e){if(!r.g.FileReader||t.type&&!(t.type in o))e("");else{if(""===t.type){var a="";return i.test(t.name)&&(a=t.name.replace(i,"")),void e(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&n(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}}(u,(function(r){a++,r&&s.push(r.slice(0,5e3)),a==t.length&&e(s.join("\r"))}))}))}},94486:(t,e,r)=>{"use strict";var n=r(22146),i=r(22045);t.exports=function(t,e,r,o,a){var s=i(t.getSelection());if(!e||!o)return s;var u=n.decode(e),c=u.blockKey,l=t.getBlockTree(c),f=l&&l.getIn([u.decoratorKey,"leaves",u.leafKey]),p=n.decode(o),h=p.blockKey,d=t.getBlockTree(h),g=d&&d.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!g)return s;var y=f.get("start"),v=g.get("start"),m=f?y+r:null,_=g?v+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===m&&s.getFocusKey()===h&&s.getFocusOffset()===_)return s;var b=!1;if(c===h){var S=f.get("end"),w=g.get("end");b=v===y&&w===S?a<r:v<y}else b=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===c||t===h})).first()===h;return s.merge({anchorKey:c,anchorOffset:m,focusKey:h,focusOffset:_,isBackward:b})}},96629:(t,e,r)=>{"use strict";var n=r(98056);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var r=e.getRangeAt(0),i=n(r),o=i.top,a=i.right,s=i.bottom,u=i.left;return 0===o&&0===a&&0===s&&0===u?null:i}},48083:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},68642:t=>{"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},54542:(t,e,r)=>{"use strict";var n=r(10329),i=r(67953),o=r(43393),a=r(40779),s=r(73759),u=r(98555),c=o.List;t.exports=function(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var l=t.getBlockMap(),f=u(r),p=e.getStartKey(),h=e.getStartOffset(),d=l.get(p);return d instanceof i&&(d.getChildKeys().isEmpty()||s(!1)),1===f.size?function(t,e,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=r.get(i),c=u.getText(),l=u.getCharacterList(),f=i,p=o+n.getText().length,h=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":h=n.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":h=n.getData()}var d=u.getType();c&&"unstyled"===d&&(d=n.getType());var g=u.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:a(l,n.getCharacterList(),o),type:d,data:h});return t.merge({blockMap:r.set(i,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})}(t,e,l,f.first(),p,h,o):function(t,e,r,o,a,s){var u=r.first()instanceof i,l=[],f=o.size,p=r.get(a),h=o.first(),d=o.last(),g=d.getLength(),y=d.getKey(),v=u&&(!p.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());r.forEach((function(t,e){e===a?(v?l.push(t):l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.slice(0,e),a=i.slice(0,e),s=r.first();return t.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?t.getType():s.getType(),data:s.getData()})}(t,s,o)),o.slice(v?0:1,f-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.length,a=n.slice(e,o),s=i.slice(e,o),u=r.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(t,s,o))):l.push(t)}));var m=n.createFromArray(l);return u&&(m=function(t,e,r,n){return t.withMutations((function(e){var i=r.getKey(),o=n.getKey(),a=r.getNextSiblingKey(),s=r.getParentKey(),u=function(t,e){var r=t.getKey(),n=t,i=[];for(e.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=e.get(o)}return i}(n,t),l=u[u.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],n.getNextSiblingKey()),e.setIn([n.getNextSiblingKey(),"prevSibling"],i)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),u.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var f=t.get(s).getChildKeys(),p=f.indexOf(i)+1,h=f.toArray();h.splice.apply(h,[p,0].concat(u)),e.setIn([s,"children"],c(h))}}))}(m,0,p,h)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})}(t,e,l,f,p,h)}},40779:t=>{"use strict";t.exports=function(t,e,r){var n=t;if(r===n.count())e.forEach((function(t){n=n.push(t)}));else if(0===r)e.reverse().forEach((function(t){n=n.unshift(t)}));else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(e,o).toList()}return n}},18467:(t,e,r)=>{"use strict";var n=r(43393),i=r(40779),o=r(73759),a=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=u.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),l)}),d=l+s;return t.merge({blockMap:u.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},84368:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},42177:t=>{"use strict";t.exports=function(t){return"handled"===t||!0===t}},78241:(t,e,r)=>{"use strict";var n=r(84368);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"A"===t.nodeName}},16581:(t,e,r)=>{"use strict";var n=r(84368);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"BR"===t.nodeName}},20717:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},35039:(t,e,r)=>{"use strict";var n=r(84368);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"IMG"===t.nodeName}},80809:t=>{"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},40258:t=>{"use strict";t.exports=function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=t.getBlockTree(r),i=e.getStartOffset(),o=!1;return n.some((function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return i===e&&(o=!0,!0)}))})),o}},17797:(t,e,r)=>{"use strict";var n=r(25399);t.exports=function(t){return t.which===n.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},49779:(t,e,r)=>{"use strict";var n=r(14289),i=r(88182),o=r(8101),a=r(53268),s=r(14730);t.exports=function(t,e){var r=s(t,(function(t){var r=t.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return a(t,1);var n=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return n=i(n),o(t,null,n.endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState}),"backward");return r===t.getCurrentContent()?t:n.push(t,r,"remove-range")}},51050:(t,e,r)=>{"use strict";var n=r(73932),i=r(14289),o=r(53268),a=r(14730);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=e.getStartOffset();if(0===r)return o(t,1);var i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(0,r),s=n.getBackward(a);return o(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},13767:(t,e,r)=>{"use strict";var n=r(73932),i=r(14289),o=r(19417),a=r(14730);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=e.getStartOffset(),i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(r),s=n.getForward(a);return o(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},77978:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289);t.exports=function(t){var e=n.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}},67217:(t,e,r)=>{"use strict";var n=r(14289);t.exports=function(t){var e=t.getSelection(),r=e.getEndKey(),i=t.getCurrentContent().getBlockForKey(r).getLength();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0})}},8425:(t,e,r)=>{"use strict";var n=r(14289);t.exports=function(t){var e=t.getSelection(),r=e.getStartKey();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}},62800:(t,e,r)=>{"use strict";var n=r(14289),i=r(38935),o=r(53268),a=r(14730);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a-1];return o(t,s?i.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}},13998:(t,e,r)=>{"use strict";var n=r(14289),i=r(38935),o=r(19417),a=r(14730);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(t,s?i.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},53318:(t,e,r)=>{"use strict";var n=r(42307),i=r(14289),o=r(88687);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var r=e.getAnchorOffset();if(0===r)return t;var a,s,u=e.getAnchorKey(),c=t.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return t;r===l?(a=e.set("anchorOffset",r-1),s=e):s=(a=e.set("focusOffset",r+1)).set("anchorOffset",r+1);var f=o(c,a),p=n.removeRange(c,a,"backward"),h=p.getSelectionAfter(),d=h.getAnchorOffset()-1,g=h.merge({anchorOffset:d,focusOffset:d}),y=n.replaceWithFragment(p,g,f),v=i.push(t,y,"insert-fragment");return i.acceptSelection(v,s)}},87051:(t,e,r)=>{"use strict";var n=r(14289);t.exports=function(t,e,r){var i=n.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(r(n.set(e,{nativelyRenderedContent:null})),setTimeout((function(){r(i)}),0)):r(i);else{var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}))}}},57429:(t,e,r)=>{"use strict";var n=r(43393).Map;t.exports=function(t,e,r){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat(n([[o,a.get(o)]])).map(r);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},61173:(t,e,r)=>{"use strict";var n=r(67953),i=r(39506),o=r(43393),a=r(73759),s=o.OrderedMap,u=o.List,c=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},l=function(t,e,r,n,i){if(!i)return t;var o="after"===n,a=e.getKey(),s=r.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=r.getParentKey(),d=o?r.getNextSiblingKey():s,g=o?s:r.getPrevSiblingKey();return t.withMutations((function(t){c(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),c(p,t,(function(t){return t.merge({nextSibling:f})})),c(f,t,(function(t){return t.merge({prevSibling:p})})),c(d,t,(function(t){return t.merge({prevSibling:a})})),c(g,t,(function(t){return t.merge({nextSibling:a})})),c(h,t,(function(t){var e=t.getChildKeys(),r=e.indexOf(s),n=o?r+1:0!==r?r-1:0,i=e.toArray();return i.splice(n,0,a),t.merge({children:u(i)})})),c(a,t,(function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})}))}))};t.exports=function(t,e,r,o){"replace"===o&&a(!1);var u=r.getKey(),c=e.getKey();c===u&&a(!1);var f=t.getBlockMap(),p=e instanceof n,h=[e],d=f.delete(c);p&&(h=[],d=f.withMutations((function(t){var r=e.getNextSiblingKey(),n=i(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===c})).takeWhile((function(t){var e=t.getKey(),i=e===c,o=r&&e!==r,a=!r&&t.getParentKey()&&(!n||e!==n);return!!(i||o||a)})).forEach((function(e){h.push(e),t.delete(e.getKey())}))})));var g=d.toSeq().takeUntil((function(t){return t===r})),y=d.toSeq().skipUntil((function(t){return t===r})).skip(1),v=h.map((function(t){return[t.getKey(),t]})),m=s();if("before"===o){var _=t.getBlockBefore(u);_&&_.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[u,r]]),y).toOrderedMap()}else if("after"===o){var b=t.getBlockAfter(u);b&&b.getKey()===c&&a(!1),m=g.concat([[u,r]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,r,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},53268:(t,e,r)=>{"use strict";r(63620),t.exports=function(t,e){var r=t.getSelection(),n=t.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),a=i,s=0;if(e>o){var u=n.getKeyBefore(i);null==u?a=i:(a=u,s=n.getBlockForKey(u).getText().length)}else s=o-e;return r.merge({focusKey:a,focusOffset:s,isBackward:!0})}},19417:(t,e,r)=>{"use strict";r(63620),t.exports=function(t,e){var r,n=t.getSelection(),i=n.getStartKey(),o=n.getStartOffset(),a=t.getCurrentContent(),s=i;return e>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+e,n.merge({focusKey:s,focusOffset:r})}},98555:(t,e,r)=>{"use strict";var n=r(67953),i=r(25027),o=r(43393).OrderedMap;t.exports=function(t){return t.first()instanceof n?function(t){var e,r={};return o(t.withMutations((function(t){t.forEach((function(n,o){var a=n.getKey(),s=n.getNextSiblingKey(),u=n.getPrevSiblingKey(),c=n.getChildKeys(),l=n.getParentKey(),f=i();if(r[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),u&&(t.get(u)?t.setIn([u,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(n.getKey()),f))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],r[e.getKey()])),e=t.get(a);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],n.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[r[t.getKey()],t.set("key",r[t.getKey()])]})))}(t):function(t){return o(t.toArray().map((function(t){var e=i();return[e,t.set("key",e)]})))}(t)}},14017:(t,e,r)=>{"use strict";var n=r(4516),i=r(29407),o=r(73759);function a(t,e,r){var a=e.getCharacterList(),s=r>0?a.get(r-1):void 0,u=r<a.count()?a.get(r):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,r){var n;return i(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=r&&e>=r&&(n={start:t,end:e})})),"object"!=typeof n&&o(!1),n}(a,l,r),h=p.start,d=p.end;h<d;)f=a.get(h),a=a.set(h,n.applyEntity(f,null)),h++;return e.set("characterList",a)}return e}t.exports=function(t,e){var r=t.getBlockMap(),n=t.getEntityMap(),i={},o=e.getStartKey(),s=e.getStartOffset(),u=r.get(o),c=a(n,u,s);c!==u&&(i[o]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=r.get(l);o===l&&(p=c);var h=a(n,p,f);return h!==p&&(i[l]=h),Object.keys(i).length?t.merge({blockMap:r.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}},54879:(t,e,r)=>{"use strict";var n=r(67953),i=r(39506),o=r(43393),a=(o.List,o.Map),s=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},u=function(t,e){var r=[];if(!t)return r;for(var n=e.get(t);n&&n.getParentKey();){var i=n.getParentKey();i&&r.push(i),n=i?e.get(i):null}return r},c=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getNextSiblingKey();n&&!e.get(n);)n=r.get(n).getNextSiblingKey()||null;return n},l=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getPrevSiblingKey();n&&!e.get(n);)n=r.get(n).getPrevSiblingKey()||null;return n};t.exports=function(t,e){if(e.isCollapsed())return t;var r,o=t.getBlockMap(),f=e.getStartKey(),p=e.getStartOffset(),h=e.getEndKey(),d=e.getEndOffset(),g=o.get(f),y=o.get(h),v=g instanceof n,m=[];if(v){var _=y.getChildKeys(),b=u(h,o);y.getNextSiblingKey()&&(m=m.concat(b)),_.isEmpty()||(m=m.concat(b.concat([h]))),m=m.concat(u(i(y,o),o))}r=g===y?function(t,e,r){if(0===e)for(;e<r;)t=t.shift(),e++;else if(r===t.count())for(;r>e;)t=t.pop(),r--;else{var n=t.slice(0,e),i=t.slice(r);t=n.concat(i).toList()}return t}(g.getCharacterList(),p,d):g.getCharacterList().slice(0,p).concat(y.getCharacterList().slice(d));var S=g.merge({text:g.getText().slice(0,p)+y.getText().slice(d),characterList:r}),w=v&&0===p&&0===d&&y.getParentKey()===f&&null==y.getPrevSiblingKey()?a([[f,null]]):o.toSeq().skipUntil((function(t,e){return e===f})).takeUntil((function(t,e){return e===h})).filter((function(t,e){return-1===m.indexOf(e)})).concat(a([[h,null]])).map((function(t,e){return e===f?S:null})),x=o.merge(w).filter((function(t){return!!t}));return v&&g!==y&&(x=function(t,e,r,n){return t.withMutations((function(o){if(s(e.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),s(r.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),u(e.getKey(),n).forEach((function(t){return s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),s(e.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n)})})),s(r.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:l(t,o,n)})})),s(r.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:r.getNextSiblingKey()})})),u(r.getKey(),n).forEach((function(t){s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),function(t,e){var r=[];if(!t)return r;for(var n=i(t,e);n&&e.get(n);){var o=e.get(n);r.push(n),n=o.getParentKey()?i(o,e):null}return r}(r,n).forEach((function(t){return s(t,o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),null==t.get(e.getKey())&&null!=t.get(r.getKey())&&r.getParentKey()===e.getKey()&&null==r.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(r.getKey(),o,(function(t){return t.merge({prevSibling:a})})),s(a,o,(function(t){return t.merge({nextSibling:r.getKey()})}));var f=a?t.get(a):null,p=f?f.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,o,(function(t){return t.merge({parent:p})}))})),null!=p){var h=t.get(p);s(p,o,(function(t){return t.merge({children:h.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),o,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(x,g,y,o)),t.merge({blockMap:x,selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})}},14730:(t,e,r)=>{"use strict";var n=r(42307),i=r(68642)("draft_tree_data_support");t.exports=function(t,e,r){var o=t.getSelection(),a=t.getCurrentContent(),s=o,u=o.getAnchorKey(),c=o.getFocusKey(),l=a.getBlockForKey(u);if(i&&"forward"===r&&u!==c)return a;if(o.isCollapsed()){if("forward"===r){if(t.isSelectionAtEndOfContent())return a;if(i&&o.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===o)return a}return n.removeRange(a,s,r)}},55283:t=>{"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},45412:(t,e,r)=>{"use strict";var n=r(5880),i=r(97432),o=r(4856),a=r(67476),s=r(31003),u=r(75795),c=r(73759),l=r(84368),f=o.isBrowser("IE");function p(t,e){if(!t)return"[empty]";var r=h(t,e);return r.nodeType===Node.TEXT_NODE?r.textContent:(l(r)||c(!1),r.outerHTML)}function h(t,e){var r=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var n=t.textContent.length;return u(t).createTextNode("[text "+n+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var o=t.childNodes,a=0;a<o.length;a++)i.appendChild(h(o[a],e));return i}function d(t,e){for(var r=t,n=r;r;){if(l(r)&&n.hasAttribute("contenteditable"))return p(r,e);n=r=r.parentNode}return"Could not find contentEditable parent of node"}function g(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function y(t,e,r,n){var o=s();if(t.extend&&null!=e&&a(o,e)){r>g(e)&&i.logSelectionStateFailure({anonymizedDom:d(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var u=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(a){throw i.logSelectionStateFailure({anonymizedDom:d(e,(function(e){var r=[];return e===o&&r.push("active element"),e===t.anchorNode&&r.push("selection anchor node"),e===t.focusNode&&r.push("selection focus node"),r})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:u,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,r),t.addRange(c.cloneRange())}}function v(t,e,r,o){var a=u(e).createRange();if(r>g(e)&&(i.logSelectionStateFailure({anonymizedDom:d(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),a.setStart(e,r),f)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,r,n,i){var o=u(e);if(a(o.documentElement,e)){var s=o.defaultView.getSelection(),c=t.getAnchorKey(),l=t.getAnchorOffset(),f=t.getFocusKey(),p=t.getFocusOffset(),h=t.getIsBackward();if(!s.extend&&h){var d=c,g=l;c=f,l=p,f=d,p=g,h=!1}var m=c===r&&n<=l&&i>=l,_=f===r&&n<=p&&i>=p;if(m&&_)return s.removeAllRanges(),v(s,e,l-n,t),void y(s,e,p-n,t);if(h){if(_&&(s.removeAllRanges(),v(s,e,p-n,t)),m){var b=s.focusNode,S=s.focusOffset;s.removeAllRanges(),v(s,e,l-n,t),y(s,b,S,t)}}else m&&(s.removeAllRanges(),v(s,e,l-n,t)),_&&y(s,e,p-n,t)}},addFocusToSelection:y}},36043:(t,e,r)=>{"use strict";var n=r(67953),i=r(25027),o=r(43393),a=r(73759),s=r(57429),u=o.List,c=o.Map,l=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var r=e.getAnchorKey(),o=t.getBlockMap(),f=o.get(r),p=f.getText();if(!p){var h=f.getType();if("unordered-list-item"===h||"ordered-list-item"===h)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var d=e.getAnchorOffset(),g=f.getCharacterList(),y=i(),v=f instanceof n,m=f.merge({text:p.slice(0,d),characterList:g.slice(0,d)}),_=m.merge({key:y,text:p.slice(d),characterList:g.slice(d),data:c()}),b=o.toSeq().takeUntil((function(t){return t===f})),S=o.toSeq().skipUntil((function(t){return t===f})).rest(),w=b.concat([[r,m],[y,_]],S).toOrderedMap();return v&&(f.getChildKeys().isEmpty()||a(!1),w=function(t,e,r){return t.withMutations((function(t){var n=e.getKey(),i=r.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),r=e.indexOf(n)+1,o=e.toArray();return o.splice(r,0,i),t.merge({children:u(o)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:i})})),l(n,t,(function(t){return t.merge({nextSibling:i})})),l(i,t,(function(t){return t.merge({prevSibling:n})}))}))}(w,m,_)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},44300:t=>{"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},76363:t=>{"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},44891:(t,e,r)=>{"use strict";var n=r(51006),i=r(89825),o=r(60139),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?i(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),r=0;r<e.length;r++){var i=e[r].type;if(!n.isImage(i))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=c},25399:t=>{"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},51006:t=>{"use strict";var e={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var n=r(t);return e.isImage(t)&&("jpeg"===n[1]||"pjpeg"===n[1])}};function r(t){return t.split("/")}t.exports=e},65994:t=>{"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var r={getTop:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollTop=n.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=r:t.scrollLeft=r}};t.exports=r},19051:(t,e,r)=>{"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r(85466),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},65724:t=>{"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},61425:t=>{"use strict";var e=function(){function t(t){var e,r;r=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},54191:(t,e,r)=>{"use strict";var n=r(16633),i=r(73759),o="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+o+a+"]"),u=new RegExp("["+o+a+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=c(t);return null==e?n.NEUTRAL:u.exec(e)?n.RTL:n.LTR}function f(t,e){if(e=e||n.NEUTRAL,!t.length)return e;var r=l(t);return r===n.NEUTRAL?e:r}function p(t,e){return e||(e=n.getGlobalDir()),n.isStrong(e)||i(!1),f(t,e)}var h={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===n.LTR},isDirectionRTL:function(t,e){return p(t,e)===n.RTL}};t.exports=h},16633:(t,e,r)=>{"use strict";var n=r(73759),i="LTR",o="RTL",a=null;function s(t){return t===i||t===o}function u(t){return s(t)||n(!1),t===i?"ltr":"rtl"}function c(t){a=t}var l={NEUTRAL:"NEUTRAL",LTR:i,RTL:o,isStrong:s,getHTMLDir:u,getHTMLDirIfDifferent:function(t,e){return s(t)||n(!1),s(e)||n(!1),t===e?null:u(t)},setGlobalDir:c,initGlobalDir:function(){c(i)},getGlobalDir:function(){return a||this.initGlobalDir(),a||n(!1),a}};t.exports=l},7902:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(54191),o=r(16633),a=r(73759),s=function(){function t(t){n(this,"_defaultDir",void 0),n(this,"_lastDir",void 0),t?o.isStrong(t)||a(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=i.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},38935:(t,e,r)=>{"use strict";var n=r(73759),i=55296,o=57343,a=/[\uD800-\uDFFF]/;function s(t){return i<=t&&t<=o}function u(t){return a.test(t)}function c(t,e){return 1+s(t.charCodeAt(e))}function l(t,e,r){if(e=e||0,r=void 0===r?1/0:r||0,!u(t))return t.substr(e,r);var n=t.length;if(n<=0||e>n||r<=0)return"";var i=0;if(e>0){for(;e>0&&i<n;e--)i+=c(t,i);if(i>=n)return""}else if(e<0){for(i=n;e<0&&0<i;e++)i-=c(t,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=c(t,o);return t.substring(i,o)}var f={getCodePoints:function(t){for(var e=[],r=0;r<t.length;r+=c(t,r))e.push(t.codePointAt(r));return e},getUTF16Length:c,hasSurrogateUnit:u,isCodeUnitInSurrogateRange:s,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||n(!1),e+1===t.length)return!1;var r=t.charCodeAt(e),a=t.charCodeAt(e+1);return i<=r&&r<=56319&&56320<=a&&a<=o},strlen:function(t){if(!u(t))return t.length;for(var e=0,r=0;r<t.length;r+=c(t,r))e++;return e},substring:function(t,e,r){(e=e||0)<0&&(e=0),(r=void 0===r?1/0:r||0)<0&&(r=0);var n=Math.abs(r-e);return l(t,e=e<r?e:r,n)},substr:l};t.exports=f},4856:(t,e,r)=>{"use strict";var n=r(95845),i=r(59859),o=r(79467),a=r(51767);function s(t,e,r,n){if(t===r)return!0;if(!r.startsWith(t))return!1;var o=r.slice(t.length);return!!e&&(o=n?n(o):o,i.contains(o,e))}function u(t){return"Windows"===n.platformName?t.replace(/^\s*NT/,""):t}var c={isBrowser:function(t){return s(n.browserName,n.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(n.browserArchitecture,null,t)},isDevice:function(t){return s(n.deviceName,null,t)},isEngine:function(t){return s(n.engineName,n.engineVersion,t)},isPlatform:function(t){return s(n.platformName,n.platformFullVersion,t,u)},isPlatformArchitecture:function(t){return s(n.platformArchitecture,null,t)}};t.exports=o(c,a)},95845:(t,e,r)=>{"use strict";var n,i="Unknown",o=(new(r(42238))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(o.browser.version),s={browserArchitecture:o.cpu.architecture||i,browserFullVersion:o.browser.version||i,browserMinorVersion:a.minor||i,browserName:o.browser.name||i,browserVersion:o.browser.major||i,deviceName:o.device.model||i,engineName:o.engine.name||i,engineVersion:o.engine.version||i,platformArchitecture:o.cpu.architecture||i,platformName:(n=o.os.name,{"Mac OS":"Mac OS X"}[n]||n||i),platformVersion:o.os.version||i,platformFullVersion:o.os.version||i};t.exports=s},59859:(t,e,r)=>{"use strict";var n=r(73759),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var r,n=e.split(i),o=p(t),a=o.modifier,s=o.rangeComponents;switch(a){case"<":return l(n,s);case"<=":return-1===(r=m(n,s))||0===r;case">=":return f(n,s);case">":return 1===m(n,s);case"~":case"~>":return function(t,e){var r=e.slice(),n=e.slice();n.length>1&&n.pop();var i=n.length-1,o=parseInt(n[i],10);return h(o)&&(n[i]=o+1+""),f(t,r)&&l(t,n)}(n,s);default:return function(t,e){return 0===m(t,e)}(n,s)}}function l(t,e){return-1===m(t,e)}function f(t,e){var r=m(t,e);return 1===r||0===r}function p(t){var e=t.split(i),r=e[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function h(t){return!isNaN(t)&&isFinite(t)}function d(t){return!p(t).modifier}function g(t,e){for(var r=t.length;r<e;r++)t[r]="0"}function y(t,e){var r=t.match(u)[1],n=e.match(u)[1],i=parseInt(r,10),o=parseInt(n,10);return h(i)&&h(o)&&i!==o?v(i,o):v(t,e)}function v(t,e){return typeof t!=typeof e&&n(!1),t>e?1:t<e?-1:0}function m(t,e){for(var r=function(t,e){g(t=t.slice(),(e=e.slice()).length);for(var r=0;r<e.length;r++){var n=e[r].match(/^[x*]$/i);if(n&&(e[r]=t[r]="0","*"===n[0]&&r===e.length-1))for(var i=r;i<t.length;i++)t[i]="0"}return g(e,t.length),[t,e]}(t,e),n=r[0],i=r[1],o=0;o<i.length;o++){var a=y(n[o],i[o]);if(a)return a}return 0}var _={contains:function(t,e){return function(t,e){var r=t.split(o);return r.length>1?r.some((function(t){return _.contains(t,e)})):function(t,e){var r=t.split(a);if(r.length>0&&r.length<=2||n(!1),1===r.length)return c(r[0],e);var i=r[0],o=r[1];return d(i)&&d(o)||n(!1),c(">="+i,e)&&c("<="+o,e)}(t=r[0].trim(),e)}(t.trim(),e.trim())}};t.exports=_},52297:t=>{"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},67476:(t,e,r)=>{"use strict";var n=r(52334);t.exports=function t(e,r){return!(!e||!r)&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},89825:(t,e,r)=>{"use strict";var n=r(73759);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&n(!1),"number"!=typeof e&&n(!1),0===e||e-1 in t||n(!1),"function"==typeof t.callee&&n(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var r=Array(e),i=0;i<e;i++)r[i]=t[i];return r}(t):[t]}},62620:t=>{"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},60139:t=>{"use strict";function e(t){return function(){return t}}var r=function(){};r.thatReturns=e,r.thatReturnsFalse=e(!1),r.thatReturnsTrue=e(!0),r.thatReturnsNull=e(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},31003:t=>{"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},35179:t=>{"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},55258:(t,e,r)=>{"use strict";var n=r(23123);t.exports=function(t){var e=n(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},23123:(t,e,r)=>{"use strict";var n=r(67476);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!n(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}},79749:(t,e,r)=>{"use strict";var n=r(35179),i=r(30787);t.exports=function(t){var e=n(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=i(t),o=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-o.clientWidth,s=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,a)),r.y=Math.max(0,Math.min(r.y,s)),r}},85466:(t,e,r)=>{"use strict";var n=r(52297),i=r(89349);function o(t){return null==t?t:String(t)}t.exports=function(t,e){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null)))return o(r.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null))return o(r.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?o("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[n(e)]):o(t.style&&t.style[n(e)])}},30787:t=>{"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},70746:t=>{"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function r(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function n(){return{width:window.innerWidth||e(),height:window.innerHeight||r()}}n.withoutScrollbars=function(){return{width:e(),height:r()}},t.exports=n},89349:t=>{"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},73759:t=>{"use strict";t.exports=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(!t){var o;if(void 0===e)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(e.replace(/%s/g,(function(){return String(n[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}}},20901:t=>{"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},52334:(t,e,r)=>{"use strict";var n=r(20901);t.exports=function(t){return n(t)&&3==t.nodeType}},71108:t=>{"use strict";t.exports=function(t){var e=t||"",r=arguments.length;if(r>1)for(var n=1;n<r;n++){var i=arguments[n];i&&(e=(e?e+" ":"")+i)}return e}},79467:t=>{"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){if(!t)return null;var i={};for(var o in t)e.call(t,o)&&(i[o]=r.call(n,t[o],o,t));return i}},51767:t=>{"use strict";t.exports=function(t){var e={};return function(r){return e.hasOwnProperty(r)||(e[r]=t.call(this,r)),e[r]}}},22045:t=>{"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},56926:(t,e,r)=>{"use strict";r(24889),t.exports=r.g.setImmediate},63620:(t,e,r)=>{"use strict";var n=r(60139);t.exports=n},43393:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function r(t){return a(t)?t:G(t)}function n(t){return s(t)?t:J(t)}function i(t){return u(t)?t:X(t)}function o(t){return a(t)&&!c(t)?t:Y(t)}function a(t){return!(!t||!t[f])}function s(t){return!(!t||!t[p])}function u(t){return!(!t||!t[h])}function c(t){return s(t)||u(t)}function l(t){return!(!t||!t[d])}e(n,r),e(i,r),e(o,r),r.isIterable=a,r.isKeyed=s,r.isIndexed=u,r.isAssociative=c,r.isOrdered=l,r.Keyed=n,r.Indexed=i,r.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,v=1<<y,m=v-1,_={},b={value:!1},S={value:!1};function w(t){return t.value=!1,t}function x(t){t&&(t.value=!0)}function k(){}function C(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function E(t){return void 0===t.size&&(t.size=t.__iterate(D)),t.size}function O(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?E(t)+e:e}function D(){return!0}function K(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function T(t,e){return A(t,e,0)}function M(t,e){return A(t,e,e)}function A(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I=0,B=1,L=2,R="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",F=R||N;function P(t){this.next=t}function z(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function j(){return{value:void 0,done:!0}}function U(t){return!!W(t)}function q(t){return t&&"function"==typeof t.next}function H(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(R&&t[R]||t[N]);if("function"==typeof e)return e}function V(t){return t&&"number"==typeof t.length}function G(t){return null==t?at():a(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new rt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function J(t){return null==t?at().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function X(t){return null==t?at():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ut(t)}function Y(t){return(null==t?at():a(t)?s(t)?t.entrySeq():t:ut(t)).toSetSeq()}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=I,P.VALUES=B,P.ENTRIES=L,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[F]=function(){return this},e(G,r),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(t,e){return lt(this,t,e,!0)},G.prototype.__iterator=function(t,e){return ft(this,t,e,!0)},e(J,G),J.prototype.toKeyedSeq=function(){return this},e(X,G),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(t,e){return lt(this,t,e,!1)},X.prototype.__iterator=function(t,e){return ft(this,t,e,!1)},e(Y,G),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},G.isSeq=ot,G.Keyed=J,G.Set=Y,G.Indexed=X;var $,Z,Q,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function rt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function at(){return $||($=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():q(t)?new it(t).fromEntrySeq():U(t)?new nt(t).fromEntrySeq():"object"==typeof t?new rt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ut(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return V(t)?new et(t):q(t)?new it(t):U(t)?new nt(t):void 0}function lt(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[r?o-a:a];if(!1===e(s[1],n?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,r)}function ft(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,a=0;return new P((function(){var t=i[r?o-a:a];return a++>o?{value:void 0,done:!0}:z(e,n?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,r)}function pt(t,e){return e?ht(e,t,"",{"":t}):dt(t)}function ht(t,e,r,n){return Array.isArray(e)?t.call(n,r,X(e).map((function(r,n){return ht(t,r,n,e)}))):gt(e)?t.call(n,r,J(e).map((function(r,n){return ht(t,r,n,e)}))):e}function dt(t){return Array.isArray(t)?X(t).map(dt).toList():gt(t)?J(t).map(dt).toMap():t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function yt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function vt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||u(t)!==u(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(l(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&yt(i[1],t)&&(r||yt(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,p=e.__iterate((function(e,n){if(r?!t.has(e):i?!yt(e,t.get(n,_)):!yt(t.get(n,_),e))return f=!1,!1}));return f&&t.size===p}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function _t(t,e){if(!t)throw new Error(e)}function bt(t,e,r){if(!(this instanceof bt))return new bt(t,e,r);if(_t(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(Q)return Q;Q=this}}function St(){throw TypeError("Abstract")}function wt(){}function xt(){}function kt(){}G.prototype[tt]=!0,e(et,X),et.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},et.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},et.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new P((function(){return i>n?{value:void 0,done:!0}:z(t,i,r[e?n-i++:i++])}))},e(rt,J),rt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},rt.prototype.has=function(t){return this._object.hasOwnProperty(t)},rt.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var a=n[e?i-o:o];if(!1===t(r[a],a,this))return o+1}return o},rt.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new P((function(){var a=n[e?i-o:o];return o++>i?{value:void 0,done:!0}:z(t,a,r[a])}))},rt.prototype[d]=!0,e(nt,X),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=H(this._iterable),n=0;if(q(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=H(this._iterable);if(!q(r))return new P(j);var n=0;return new P((function(){var e=r.next();return e.done?e:z(t,n++,e.value)}))},e(it,X),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var a=r.value;if(i[o]=a,!1===t(a,o++,this))break}return o},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new P((function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return z(t,i,n[i++])}))},e(mt,X),mt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},mt.prototype.get=function(t,e){return this.has(t)?this._value:e},mt.prototype.includes=function(t){return yt(this._value,t)},mt.prototype.slice=function(t,e){var r=this.size;return K(t,e,r)?this:new mt(this._value,M(e,r)-T(t,r))},mt.prototype.reverse=function(){return this},mt.prototype.indexOf=function(t){return yt(this._value,t)?0:-1},mt.prototype.lastIndexOf=function(t){return yt(this._value,t)?this.size:-1},mt.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},mt.prototype.__iterator=function(t,e){var r=this,n=0;return new P((function(){return n<r.size?z(t,n++,r._value):{value:void 0,done:!0}}))},mt.prototype.equals=function(t){return t instanceof mt?yt(this._value,t._value):vt(t)},e(bt,X),bt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},bt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},bt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},bt.prototype.slice=function(t,e){return K(t,e,this.size)?this:(t=T(t,this.size),(e=M(e,this.size))<=t?new bt(0,0):new bt(this.get(t,this._end),this.get(e,this._end),this._step))},bt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},bt.prototype.lastIndexOf=function(t){return this.indexOf(t)},bt.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},bt.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new P((function(){var a=i;return i+=e?-n:n,o>r?{value:void 0,done:!0}:z(t,o++,a)}))},bt.prototype.equals=function(t){return t instanceof bt?this._start===t._start&&this._end===t._end&&this._step===t._step:vt(this,t)},e(St,r),e(wt,St),e(xt,St),e(kt,St),St.Keyed=wt,St.Indexed=xt,St.Set=kt;var Ct="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function Et(t){return t>>>1&1073741824|3221225471&t}function Ot(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return Et(r)}if("string"===e)return t.length>Lt?function(t){var e=Ft[t];return void 0===e&&(e=Dt(t),Nt===Rt&&(Nt=0,Ft={}),Nt++,Ft[t]=e),e}(t):Dt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(At&&void 0!==(e=Mt.get(t)))return e;if(void 0!==(e=t[Bt]))return e;if(!Tt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Bt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++It,1073741824&It&&(It=0),At)Mt.set(t,e);else{if(void 0!==Kt&&!1===Kt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Tt)Object.defineProperty(t,Bt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Bt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Bt]=e}}return e}(t);if("function"==typeof t.toString)return Dt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Dt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return Et(e)}var Kt=Object.isExtensible,Tt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var Mt,At="function"==typeof WeakMap;At&&(Mt=new WeakMap);var It=0,Bt="__immutablehash__";"function"==typeof Symbol&&(Bt=Symbol(Bt));var Lt=16,Rt=255,Nt=0,Ft={};function Pt(t){_t(t!==1/0,"Cannot perform this action with an infinite size.")}function zt(t){return null==t?te():jt(t)&&!l(t)?t:te().withMutations((function(e){var r=n(t);Pt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function jt(t){return!(!t||!t[qt])}e(zt,wt),zt.prototype.toString=function(){return this.__toString("Map {","}")},zt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},zt.prototype.set=function(t,e){return ee(this,t,e)},zt.prototype.setIn=function(t,e){return this.updateIn(t,_,(function(){return e}))},zt.prototype.remove=function(t){return ee(this,t,_)},zt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return _}))},zt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},zt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=ce(this,or(t),e,r);return n===_?void 0:n},zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},zt.prototype.merge=function(){return oe(this,void 0,arguments)},zt.prototype.mergeWith=function(e){return oe(this,e,t.call(arguments,1))},zt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,r):r[r.length-1]}))},zt.prototype.mergeDeep=function(){return oe(this,ae,arguments)},zt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return oe(this,se(e),r)},zt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]}))},zt.prototype.sort=function(t){return Ae(Je(this,t))},zt.prototype.sortBy=function(t,e){return Ae(Je(this,e,t))},zt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},zt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},zt.prototype.asImmutable=function(){return this.__ensureOwner()},zt.prototype.wasAltered=function(){return this.__altered},zt.prototype.__iterator=function(t,e){return new Yt(this,t,e)},zt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},zt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Qt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},zt.isMap=jt;var Ut,qt="@@__IMMUTABLE_MAP__@@",Ht=zt.prototype;function Wt(t,e){this.ownerID=t,this.entries=e}function Vt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Gt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Jt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function Xt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function Yt(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&Zt(t._root)}function $t(t,e){return z(t,e[0],e[1])}function Zt(t,e){return{node:t,index:0,__prev:e}}function Qt(t,e,r,n){var i=Object.create(Ht);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function te(){return Ut||(Ut=Qt(0))}function ee(t,e,r){var n,i;if(t._root){var o=w(b),a=w(S);if(n=re(t._root,t.__ownerID,0,void 0,e,r,o,a),!a.value)return t;i=t.size+(o.value?r===_?-1:1:0)}else{if(r===_)return t;i=1,n=new Wt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?Qt(i,n):te()}function re(t,e,r,n,i,o,a,s){return t?t.update(e,r,n,i,o,a,s):o===_?t:(x(s),x(a),new Xt(e,n,[i,o]))}function ne(t){return t.constructor===Xt||t.constructor===Jt}function ie(t,e,r,n,i){if(t.keyHash===n)return new Jt(e,n,[t.entry,i]);var o,a=(0===r?t.keyHash:t.keyHash>>>r)&m,s=(0===r?n:n>>>r)&m;return new Vt(e,1<<a|1<<s,a===s?[ie(t,e,r+y,n,i)]:(o=new Xt(e,n,i),a<s?[t,o]:[o,t]))}function oe(t,e,r){for(var i=[],o=0;o<r.length;o++){var s=r[o],u=n(s);a(s)||(u=u.map((function(t){return pt(t)}))),i.push(u)}return ue(t,e,i)}function ae(t,e,r){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):yt(t,e)?t:e}function se(t){return function(e,r,n){if(e&&e.mergeDeepWith&&a(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return yt(e,i)?e:i}}function ue(t,e,r){return 0===(r=r.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var n=e?function(r,n){t.update(n,_,(function(t){return t===_?r:e(t,r,n)}))}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)})):t.constructor(r[0])}function ce(t,e,r,n){var i=t===_,o=e.next();if(o.done){var a=i?r:t,s=n(a);return s===a?t:s}_t(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?_:t.get(u,_),l=ce(c,e,r,n);return l===c?t:l===_?t.remove(u):(i?te():t).set(u,l)}function le(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function fe(t,e,r,n){var i=n?t:C(t);return i[e]=r,i}Ht[qt]=!0,Ht[g]=Ht.remove,Ht.removeIn=Ht.deleteIn,Wt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(yt(r,i[o][0]))return i[o][1];return n},Wt.prototype.update=function(t,e,r,n,i,o,a){for(var s=i===_,u=this.entries,c=0,l=u.length;c<l&&!yt(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(x(a),(s||!f)&&x(o),!s||1!==u.length){if(!f&&!s&&u.length>=pe)return function(t,e,r,n){t||(t=new k);for(var i=new Xt(t,Ot(r),[r,n]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}(t,u,n,i);var p=t&&t===this.ownerID,h=p?u:C(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Wt(t,h)}},Vt.prototype.get=function(t,e,r,n){void 0===e&&(e=Ot(r));var i=1<<((0===t?e:e>>>t)&m),o=this.bitmap;return 0==(o&i)?n:this.nodes[le(o&i-1)].get(t+y,e,r,n)},Vt.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=Ot(n));var s=(0===e?r:r>>>e)&m,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===_)return this;var f=le(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=re(h,t,e+y,r,n,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=he)return function(t,e,r,n,i){for(var o=0,a=new Array(v),s=0;0!==r;s++,r>>>=1)a[s]=1&r?e[o++]:void 0;return a[n]=i,new Gt(t,o+1,a)}(t,p,c,s,d);if(l&&!d&&2===p.length&&ne(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&ne(d))return d;var g=t&&t===this.ownerID,b=l?d?c:c^u:c|u,S=l?d?fe(p,f,d,g):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,a=0;a<n;a++)a===e&&(o=1),i[a]=t[a+o];return i}(p,f,g):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),a=0,s=0;s<i;s++)s===e?(o[s]=r,a=-1):o[s]=t[s+a];return o}(p,f,d,g);return g?(this.bitmap=b,this.nodes=S,this):new Vt(t,b,S)},Gt.prototype.get=function(t,e,r,n){void 0===e&&(e=Ot(r));var i=(0===t?e:e>>>t)&m,o=this.nodes[i];return o?o.get(t+y,e,r,n):n},Gt.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=Ot(n));var s=(0===e?r:r>>>e)&m,u=i===_,c=this.nodes,l=c[s];if(u&&!l)return this;var f=re(l,t,e+y,r,n,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<de)return function(t,e,r,n){for(var i=0,o=0,a=new Array(r),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==n&&(i|=u,a[o++]=l)}return new Vt(t,i,a)}(t,c,p,s)}else p++;var h=t&&t===this.ownerID,d=fe(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new Gt(t,p,d)},Jt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(yt(r,i[o][0]))return i[o][1];return n},Jt.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=Ot(n));var s=i===_;if(r!==this.keyHash)return s?this:(x(a),x(o),ie(this,t,e,r,[n,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!yt(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(x(a),(s||!f)&&x(o),s&&2===l)return new Xt(t,this.keyHash,u[1^c]);var p=t&&t===this.ownerID,h=p?u:C(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Jt(t,this.keyHash,h)},Xt.prototype.get=function(t,e,r,n){return yt(r,this.entry[0])?this.entry[1]:n},Xt.prototype.update=function(t,e,r,n,i,o,a){var s=i===_,u=yt(n,this.entry[0]);return(u?i===this.entry[1]:s)?this:(x(a),s?void x(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Xt(t,this.keyHash,[n,i]):(x(o),ie(this,t,e,Ot(n),[n,i])))},Wt.prototype.iterate=Jt.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},Vt.prototype.iterate=Gt.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},Xt.prototype.iterate=function(t,e){return t(this.entry)},e(Yt,P),Yt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return $t(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return $t(t,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return $t(t,o.entry);e=this._stack=Zt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var pe=v/4,he=v/2,de=v/4;function ge(t){var e=Ce();if(null==t)return e;if(ye(t))return t;var r=i(t),n=r.size;return 0===n?e:(Pt(n),n>0&&n<v?ke(0,n,y,null,new _e(r.toArray())):e.withMutations((function(t){t.setSize(n),r.forEach((function(e,r){return t.set(r,e)}))})))}function ye(t){return!(!t||!t[ve])}e(ge,xt),ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var r=De(this,t+=this._origin);return r&&r.array[t&m]}return e},ge.prototype.set=function(t,e){return function(t,e,r){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Ke(t,e).set(0,r):Ke(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=w(S);return e>=Me(t._capacity)?n=Ee(n,t.__ownerID,0,e,r,o):i=Ee(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):ke(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},ge.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ge.prototype.insert=function(t,e){return this.splice(t,0,e)},ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ce()},ge.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){Ke(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},ge.prototype.pop=function(){return Ke(this,0,-1)},ge.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Ke(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},ge.prototype.shift=function(){return Ke(this,1)},ge.prototype.merge=function(){return Te(this,void 0,arguments)},ge.prototype.mergeWith=function(e){return Te(this,e,t.call(arguments,1))},ge.prototype.mergeDeep=function(){return Te(this,ae,arguments)},ge.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return Te(this,se(e),r)},ge.prototype.setSize=function(t){return Ke(this,0,t)},ge.prototype.slice=function(t,e){var r=this.size;return K(t,e,r)?this:Ke(this,T(t,r),M(e,r))},ge.prototype.__iterator=function(t,e){var r=0,n=xe(this,e);return new P((function(){var e=n();return e===we?{value:void 0,done:!0}:z(t,r++,e)}))},ge.prototype.__iterate=function(t,e){for(var r,n=0,i=xe(this,e);(r=i())!==we&&!1!==t(r,n++,this););return n},ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ke(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ge.isList=ye;var ve="@@__IMMUTABLE_LIST__@@",me=ge.prototype;function _e(t,e){this.array=t,this.ownerID=e}me[ve]=!0,me[g]=me.remove,me.setIn=Ht.setIn,me.deleteIn=me.removeIn=Ht.removeIn,me.update=Ht.update,me.updateIn=Ht.updateIn,me.mergeIn=Ht.mergeIn,me.mergeDeepIn=Ht.mergeDeepIn,me.withMutations=Ht.withMutations,me.asMutable=Ht.asMutable,me.asImmutable=Ht.asImmutable,me.wasAltered=Ht.wasAltered,_e.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&m;if(n>=this.array.length)return new _e([],t);var i,o=0===n;if(e>0){var a=this.array[n];if((i=a&&a.removeBefore(t,e-y,r))===a&&o)return this}if(o&&!i)return this;var s=Oe(this,t);if(!o)for(var u=0;u<n;u++)s.array[u]=void 0;return i&&(s.array[n]=i),s},_e.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&m;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-y,r))===o&&i===this.array.length-1)return this}var a=Oe(this,t);return a.array.splice(i+1),n&&(a.array[i]=n),a};var be,Se,we={};function xe(t,e){var r=t._origin,n=t._capacity,i=Me(n),o=t._tail;return a(t._root,t._level,0);function a(t,s,u){return 0===s?function(t,a){var s=a===i?o&&o.array:t&&t.array,u=a>r?0:r-a,c=n-a;return c>v&&(c=v),function(){if(u===c)return we;var t=e?--c:u++;return s&&s[t]}}(t,u):function(t,i,o){var s,u=t&&t.array,c=o>r?0:r-o>>i,l=1+(n-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var t=s();if(t!==we)return t;s=null}if(c===l)return we;var r=e?--l:c++;s=a(u&&u[r],i-y,o+(r<<i))}}}(t,s,u)}}function ke(t,e,r,n,i,o,a){var s=Object.create(me);return s.size=e-t,s._origin=t,s._capacity=e,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Ce(){return be||(be=ke(0,0,y))}function Ee(t,e,r,n,i,o){var a,s=n>>>r&m,u=t&&s<t.array.length;if(!u&&void 0===i)return t;if(r>0){var c=t&&t.array[s],l=Ee(c,e,r-y,n,i,o);return l===c?t:((a=Oe(t,e)).array[s]=l,a)}return u&&t.array[s]===i?t:(x(o),a=Oe(t,e),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Oe(t,e){return e&&t&&e===t.ownerID?t:new _e(t?t.array.slice():[],e)}function De(t,e){if(e>=Me(t._capacity))return t._tail;if(e<1<<t._level+y){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&m],n-=y;return r}}function Ke(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new k,i=t._origin,o=t._capacity,a=i+e,s=void 0===r?o:r<0?o+r:i+r;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new _e(c&&c.array.length?[void 0,c]:[],n),l+=1<<(u+=y);l&&(a+=l,i+=l,s+=l,o+=l);for(var f=Me(o),p=Me(s);p>=1<<u+y;)c=new _e(c&&c.array.length?[c]:[],n),u+=y;var h=t._tail,d=p<f?De(t,s-1):p>f?new _e([],n):h;if(h&&p>f&&a<o&&h.array.length){for(var g=c=Oe(c,n),v=u;v>y;v-=y){var _=f>>>v&m;g=g.array[_]=Oe(g.array[_],n)}g.array[f>>>y&m]=h}if(s<o&&(d=d&&d.removeAfter(n,0,s)),a>=p)a-=p,s-=p,u=y,c=null,d=d&&d.removeBefore(n,0,a);else if(a>i||p<f){for(l=0;c;){var b=a>>>u&m;if(b!==p>>>u&m)break;b&&(l+=(1<<u)*b),u-=y,c=c.array[b]}c&&a>i&&(c=c.removeBefore(n,u,a-l)),c&&p<f&&(c=c.removeAfter(n,u,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):ke(a,s,u,c,d)}function Te(t,e,r){for(var n=[],o=0,s=0;s<r.length;s++){var u=r[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(t){return pt(t)}))),n.push(c)}return o>t.size&&(t=t.setSize(o)),ue(t,e,n)}function Me(t){return t<v?0:t-1>>>y<<y}function Ae(t){return null==t?Le():Ie(t)?t:Le().withMutations((function(e){var r=n(t);Pt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Ie(t){return jt(t)&&l(t)}function Be(t,e,r,n){var i=Object.create(Ae.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function Le(){return Se||(Se=Be(te(),Ce()))}function Re(t,e,r){var n,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(r===_){if(!u)return t;a.size>=v&&a.size>=2*o.size?(n=(i=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(r===a.get(s)[1])return t;n=o,i=a.set(s,[e,r])}else n=o.set(e,a.size),i=a.set(a.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):Be(n,i)}function Ne(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Fe(t){this._iter=t,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function ze(t){this._iter=t,this.size=t.size}function je(t){var e=rr(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=nr,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(e===L){var n=t.__iterator(e,r);return new P((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===B?I:B,r)},e}function Ue(t,e,r){var n=rr(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,_);return o===_?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,a){return!1!==n(e.call(r,t,i,a),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(L,i);return new P((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return z(n,s,e.call(r,a[1],s,t),i)}))},n}function qe(t,e){var r=rr(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=je(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=nr,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function He(t,e,r,n){var i=rr(t);return n&&(i.has=function(n){var i=t.get(n,_);return i!==_&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,_);return o!==_&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate((function(t,o,u){if(e.call(r,t,o,u))return s++,i(t,n?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(L,o),s=0;return new P((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(r,l,c,t))return z(i,n?c:s++,l,o)}}))},i}function We(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r|=0),K(e,r,i))return t;var o=T(e,i),a=M(r,i);if(o!=o||a!=a)return We(t.toSeq().cacheResult(),e,r,n);var s,u=a-o;u==u&&(s=u<0?0:u);var c=rr(t);return c.size=0===s?s:t.size&&s||void 0,!n&&ot(t)&&s>=0&&(c.get=function(e,r){return(e=O(this,e))>=0&&e<s?t.get(e+o,r):r}),c.__iterateUncached=function(e,r){var i=this;if(0===s)return 0;if(r)return this.cacheResult().__iterate(e,r);var a=0,u=!0,c=0;return t.__iterate((function(t,r){if(!u||!(u=a++<o))return c++,!1!==e(t,n?r:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(e,r){if(0!==s&&r)return this.cacheResult().__iterator(e,r);var i=0!==s&&t.__iterator(e,r),a=0,u=0;return new P((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var t=i.next();return n||e===B?t:z(e,u-1,e===I?void 0:t.value[1],t)}))},c}function Ve(t,e,r,n){var i=rr(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate((function(t,o,c){if(!s||!(s=e.call(r,t,o,c)))return u++,i(t,n?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(L,o),u=!0,c=0;return new P((function(){var t,o,l;do{if((t=s.next()).done)return n||i===B?t:z(i,c++,i===I?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(r,l,o,a))}while(u);return i===L?t:z(i,o,l,t)}))},i}function Ge(t,e,r){var n=rr(t);return n.__iterateUncached=function(n,i){var o=0,s=!1;return function t(u,c){var l=this;u.__iterate((function(i,u){return(!e||c<e)&&a(i)?t(i,c+1):!1===n(i,r?u:o++,l)&&(s=!0),!s}),i)}(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),s=[],u=0;return new P((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(n===L&&(c=c[1]),e&&!(s.length<e)||!a(c))return r?t:z(n,u++,c,t);s.push(o),o=c.__iterator(n,i)}else o=s.pop()}return{value:void 0,done:!0}}))},n}function Je(t,e,r){e||(e=ir);var n=s(t),i=0,o=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).toArray();return o.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?J(o):u(t)?X(o):Y(o)}function Xe(t,e,r){if(e||(e=ir),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return Ye(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return Ye(e,t,r)?r:t}))}function Ye(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function $e(t,e,n){var i=rr(t);return i.size=new et(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(B,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),H(i?t.reverse():t)})),a=0,s=!1;return new P((function(){var r;return s||(r=o.map((function(t){return t.next()})),s=r.some((function(t){return t.done}))),s?{value:void 0,done:!0}:z(t,a++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Ze(t,e){return ot(t)?e:t.constructor(e)}function Qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tr(t){return Pt(t.size),E(t)}function er(t){return s(t)?n:u(t)?i:o}function rr(t){return Object.create((s(t)?J:u(t)?X:Y).prototype)}function nr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function ir(t,e){return t>e?1:t<e?-1:0}function or(t){var e=H(t);if(!e){if(!V(t))throw new TypeError("Expected iterable or array-like: "+t);e=H(r(t))}return e}function ar(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(lr.bind(void 0,t))}catch(t){}})(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=zt(o)},i=n.prototype=Object.create(sr);return i.constructor=n,n}e(Ae,zt),Ae.of=function(){return this(arguments)},Ae.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ae.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Le()},Ae.prototype.set=function(t,e){return Re(this,t,e)},Ae.prototype.remove=function(t){return Re(this,t,_)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ae.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},Ae.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?Be(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Ae.isOrderedMap=Ie,Ae.prototype[d]=!0,Ae.prototype[g]=Ae.prototype.remove,e(Ne,J),Ne.prototype.get=function(t,e){return this._iter.get(t,e)},Ne.prototype.has=function(t){return this._iter.has(t)},Ne.prototype.valueSeq=function(){return this._iter.valueSeq()},Ne.prototype.reverse=function(){var t=this,e=qe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ne.prototype.map=function(t,e){var r=this,n=Ue(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},Ne.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?tr(this):0,function(i){return t(i,e?--r:r++,n)}),e)},Ne.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(B,e),n=e?tr(this):0;return new P((function(){var i=r.next();return i.done?i:z(t,e?--n:n++,i.value,i)}))},Ne.prototype[d]=!0,e(Fe,X),Fe.prototype.includes=function(t){return this._iter.includes(t)},Fe.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate((function(e){return t(e,n++,r)}),e)},Fe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e),n=0;return new P((function(){var e=r.next();return e.done?e:z(t,n++,e.value,e)}))},e(Pe,Y),Pe.prototype.has=function(t){return this._iter.includes(t)},Pe.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},Pe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e);return new P((function(){var e=r.next();return e.done?e:z(t,e.value,e.value,e)}))},e(ze,J),ze.prototype.entrySeq=function(){return this._iter.toSeq()},ze.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){Qe(e);var n=a(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},ze.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e);return new P((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){Qe(n);var i=a(n);return z(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},Fe.prototype.cacheResult=Ne.prototype.cacheResult=Pe.prototype.cacheResult=ze.prototype.cacheResult=nr,e(ar,wt),ar.prototype.toString=function(){return this.__toString(cr(this)+" {","}")},ar.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},ar.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},ar.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=ur(this,te()))},ar.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+cr(this));var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:ur(this,r)},ar.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:ur(this,e)},ar.prototype.wasAltered=function(){return this._map.wasAltered()},ar.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterator(t,e)},ar.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterate(t,e)},ar.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?ur(this,e,t):(this.__ownerID=t,this._map=e,this)};var sr=ar.prototype;function ur(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function cr(t){return t._name||t.constructor.name||"Record"}function lr(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){_t(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function fr(t){return null==t?mr():pr(t)&&!l(t)?t:mr().withMutations((function(e){var r=o(t);Pt(r.size),r.forEach((function(t){return e.add(t)}))}))}function pr(t){return!(!t||!t[dr])}sr[g]=sr.remove,sr.deleteIn=sr.removeIn=Ht.removeIn,sr.merge=Ht.merge,sr.mergeWith=Ht.mergeWith,sr.mergeIn=Ht.mergeIn,sr.mergeDeep=Ht.mergeDeep,sr.mergeDeepWith=Ht.mergeDeepWith,sr.mergeDeepIn=Ht.mergeDeepIn,sr.setIn=Ht.setIn,sr.update=Ht.update,sr.updateIn=Ht.updateIn,sr.withMutations=Ht.withMutations,sr.asMutable=Ht.asMutable,sr.asImmutable=Ht.asImmutable,e(fr,kt),fr.of=function(){return this(arguments)},fr.fromKeys=function(t){return this(n(t).keySeq())},fr.prototype.toString=function(){return this.__toString("Set {","}")},fr.prototype.has=function(t){return this._map.has(t)},fr.prototype.add=function(t){return yr(this,this._map.set(t,!0))},fr.prototype.remove=function(t){return yr(this,this._map.remove(t))},fr.prototype.clear=function(){return yr(this,this._map.clear())},fr.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var r=0;r<e.length;r++)o(e[r]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},fr.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.every((function(t){return t.includes(r)}))||t.remove(r)}))}))},fr.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.some((function(t){return t.includes(r)}))&&t.remove(r)}))}))},fr.prototype.merge=function(){return this.union.apply(this,arguments)},fr.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},fr.prototype.sort=function(t){return _r(Je(this,t))},fr.prototype.sortBy=function(t,e){return _r(Je(this,e,t))},fr.prototype.wasAltered=function(){return this._map.wasAltered()},fr.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e,n){return t(n,n,r)}),e)},fr.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},fr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},fr.isSet=pr;var hr,dr="@@__IMMUTABLE_SET__@@",gr=fr.prototype;function yr(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function vr(t,e){var r=Object.create(gr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function mr(){return hr||(hr=vr(te()))}function _r(t){return null==t?kr():br(t)?t:kr().withMutations((function(e){var r=o(t);Pt(r.size),r.forEach((function(t){return e.add(t)}))}))}function br(t){return pr(t)&&l(t)}gr[dr]=!0,gr[g]=gr.remove,gr.mergeDeep=gr.merge,gr.mergeDeepWith=gr.mergeWith,gr.withMutations=Ht.withMutations,gr.asMutable=Ht.asMutable,gr.asImmutable=Ht.asImmutable,gr.__empty=mr,gr.__make=vr,e(_r,fr),_r.of=function(){return this(arguments)},_r.fromKeys=function(t){return this(n(t).keySeq())},_r.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_r.isOrderedSet=br;var Sr,wr=_r.prototype;function xr(t,e){var r=Object.create(wr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function kr(){return Sr||(Sr=xr(Le()))}function Cr(t){return null==t?Mr():Er(t)?t:Mr().unshiftAll(t)}function Er(t){return!(!t||!t[Dr])}wr[d]=!0,wr.__empty=kr,wr.__make=xr,e(Cr,xt),Cr.of=function(){return this(arguments)},Cr.prototype.toString=function(){return this.__toString("Stack [","]")},Cr.prototype.get=function(t,e){var r=this._head;for(t=O(this,t);r&&t--;)r=r.next;return r?r.value:e},Cr.prototype.peek=function(){return this._head&&this._head.value},Cr.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Tr(t,e)},Cr.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Pt(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):Tr(e,r)},Cr.prototype.pop=function(){return this.slice(1)},Cr.prototype.unshift=function(){return this.push.apply(this,arguments)},Cr.prototype.unshiftAll=function(t){return this.pushAll(t)},Cr.prototype.shift=function(){return this.pop.apply(this,arguments)},Cr.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Mr()},Cr.prototype.slice=function(t,e){if(K(t,e,this.size))return this;var r=T(t,this.size);if(M(e,this.size)!==this.size)return xt.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):Tr(n,i)},Cr.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Tr(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Cr.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},Cr.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new P((function(){if(n){var e=n.value;return n=n.next,z(t,r++,e)}return{value:void 0,done:!0}}))},Cr.isStack=Er;var Or,Dr="@@__IMMUTABLE_STACK__@@",Kr=Cr.prototype;function Tr(t,e,r,n){var i=Object.create(Kr);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Mr(){return Or||(Or=Tr(0))}function Ar(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}Kr[Dr]=!0,Kr.withMutations=Ht.withMutations,Kr.asMutable=Ht.asMutable,Kr.asImmutable=Ht.asImmutable,Kr.wasAltered=Ht.wasAltered,r.Iterator=P,Ar(r,{toArray:function(){Pt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Fe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ne(this,!0)},toMap:function(){return zt(this.toKeyedSeq())},toObject:function(){Pt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return Ae(this.toKeyedSeq())},toOrderedSet:function(){return _r(s(this)?this.valueSeq():this)},toSet:function(){return fr(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Pe(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Cr(s(this)?this.valueSeq():this)},toList:function(){return ge(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,function(t,e){var r=s(t),i=[t].concat(e).map((function(t){return a(t)?r&&(t=n(t)):t=r?st(t):ut(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&s(o)||u(t)&&u(o))return o}var c=new et(i);return r?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),c}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return yt(e,t)}))},entries:function(){return this.__iterator(L)},every:function(t,e){Pt(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return Ze(this,He(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},findEntry:function(t,e){var r;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Pt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Pt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(I)},map:function(t,e){return Ze(this,Ue(this,t,e))},reduce:function(t,e,r){var n,i;return Pt(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return Ze(this,qe(this,!0))},slice:function(t,e){return Ze(this,We(this,t,e,!0))},some:function(t,e){return!this.every(Nr(t),e)},sort:function(t){return Ze(this,Je(this,t))},values:function(){return this.__iterator(B)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=zt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return vt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Rr).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Nr(t),e)},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},first:function(){return this.find(D)},flatMap:function(t,e){return Ze(this,function(t,e,r){var n=er(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,Ge(this,t,!0))},fromEntrySeq:function(){return new ze(this)},get:function(t,e){return this.find((function(e,r){return yt(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=or(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,_):_)===_)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=s(t),i=(l(t)?Ae():zt()).asMutable();t.__iterate((function(o,a){i.update(e.call(r,o,a,t),(function(t){return(t=t||[]).push(n?[a,o]:o),t}))}));var o=er(t);return i.map((function(e){return Ze(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,_)!==_},hasIn:function(t){return this.getIn(t,_)!==_},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Lr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Xe(this,t)},maxBy:function(t,e){return Xe(this,e,t)},min:function(t){return Xe(this,t?Fr(t):jr)},minBy:function(t,e){return Xe(this,e?Fr(e):jr,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,Ve(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Nr(t),e)},sortBy:function(t,e){return Ze(this,Je(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,r){var n=rr(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var a=0;return t.__iterate((function(t,i,s){return e.call(r,t,i,s)&&++a&&n(t,i,o)})),a},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var a=t.__iterator(L,i),s=!0;return new P((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(r,c,u,o)?n===L?t:z(n,u,c,t):(s=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Nr(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),r=s(t),n=e?1:0;return function(t,e){return e=Ct(e,3432918353),e=Ct(e<<15|e>>>-15,461845907),e=Ct(e<<13|e>>>-13,5),e=Ct((e=(e+3864292196|0)^t)^e>>>16,2246822507),Et((e=Ct(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+Ur(Ot(t),Ot(e))|0}:function(t,e){n=n+Ur(Ot(t),Ot(e))|0}:e?function(t){n=31*n+Ot(t)|0}:function(t){n=n+Ot(t)|0}),n)}(this))}});var Ir=r.prototype;Ir[f]=!0,Ir[F]=Ir.values,Ir.__toJS=Ir.toArray,Ir.__toStringMapper=Pr,Ir.inspect=Ir.toSource=function(){return this.toString()},Ir.chain=Ir.flatMap,Ir.contains=Ir.includes,function(){try{Object.defineProperty(Ir,"length",{get:function(){if(!r.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Ar(n,{flip:function(){return Ze(this,je(this))},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return yt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return yt(e,t)}))},mapEntries:function(t,e){var r=this,n=0;return Ze(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Ze(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var Br=n.prototype;function Lr(t,e){return e}function Rr(t,e){return[e,t]}function Nr(t){return function(){return!t.apply(this,arguments)}}function Fr(t){return function(){return-t.apply(this,arguments)}}function Pr(t){return"string"==typeof t?JSON.stringify(t):t}function zr(){return C(arguments)}function jr(t,e){return t<e?1:t>e?-1:0}function Ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Br[p]=!0,Br[F]=Ir.entries,Br.__toJS=Ir.toObject,Br.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Pr(t)},Ar(i,{toKeyedSeq:function(){return new Ne(this,!1)},filter:function(t,e){return Ze(this,He(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,qe(this,!1))},slice:function(t,e){return Ze(this,We(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=T(t,t<0?this.count():this.size);var n=this.slice(0,t);return Ze(this,1===r?n:n.concat(C(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.toKeyedSeq().findLastKey(t,e);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(t){return Ze(this,Ge(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ze(this,function(t,e){var r=rr(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate((function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(B,n),a=0;return new P((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?z(r,a++,e):z(r,a++,i.value,i)}))},r}(this,t))},interleave:function(){var t=[this].concat(C(arguments)),e=$e(this.toSeq(),X.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),Ze(this,r)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ze(this,Ve(this,t,e,!1))},zip:function(){return Ze(this,$e(this,zr,[this].concat(C(arguments))))},zipWith:function(t){var e=C(arguments);return e[0]=this,Ze(this,$e(this,t,e))}}),i.prototype[h]=!0,i.prototype[d]=!0,Ar(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Ir.includes,Ar(J,n.prototype),Ar(X,i.prototype),Ar(Y,o.prototype),Ar(wt,n.prototype),Ar(xt,i.prototype),Ar(kt,o.prototype),{Iterable:r,Seq:G,Collection:St,Map:zt,OrderedMap:Ae,List:ge,Stack:Cr,Set:fr,OrderedSet:_r,Record:ar,Range:bt,Repeat:mt,is:yt,fromJS:pt}}()},27418:t=>{"use strict";var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var o,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))r.call(o,c)&&(s[c]=o[c]);if(e){a=e(o);for(var l=0;l<a.length;l++)n.call(o,a[l])&&(s[a[l]]=o[a[l]])}}return s}},24889:function(t,e,r){!function(t,e){"use strict";if(!t.setImmediate){var r,n,i,o,a,s=1,u={},c=!1,l=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){process.nextTick((function(){h(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(o="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&h(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),r=function(e){t.postMessage(o+e,"*")}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):r=function(t){setTimeout(h,0,t)},f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return u[s]=i,r(s),s++},f.clearImmediate=p}function p(t){delete u[t]}function h(t){if(c)setTimeout(h,0,t);else{var e=u[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(undefined,r)}}(e)}finally{p(t),c=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},42238:function(t,e,r){var n;!function(i,o){"use strict";var a="function",s="object",u="model",c="name",l="type",f="vendor",p="version",h="architecture",d="console",g="mobile",y="tablet",v="smarttv",m="wearable",_={extend:function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:o},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},b={rgx:function(t,e){for(var r,n,i,u,c,l,f=0;f<e.length&&!c;){var p=e[f],h=e[f+1];for(r=n=0;r<p.length&&!c;)if(c=p[r++].exec(t))for(i=0;i<h.length;i++)l=c[++n],typeof(u=h[i])===s&&u.length>0?2==u.length?typeof u[1]==a?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3==u.length?typeof u[1]!==a||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):o:this[u[0]]=l?u[1].call(this,l,u[2]):o:4==u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):o):this[u]=l||o;f+=2}},str:function(t,e){for(var r in e)if(typeof e[r]===s&&e[r].length>0){for(var n=0;n<e[r].length;n++)if(_.has(e[r][n],t))return"?"===r?o:r}else if(_.has(e[r],t))return"?"===r?o:r;return t}},S={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},w={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6}).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[c,p],[/(opios)[\/\s]+([\w\.]+)/i],[[c,"Opera Mini"],p],[/\s(opr)\/([\w\.]+)/i],[[c,"Opera"],p],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|instagram)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i],[c,p],[/(konqueror)\/([\w\.]+)/i],[[c,"Konqueror"],p],[/(trident).+rv[:\s]([\w\.]{1,9}).+like\sgecko/i],[[c,"IE"],p],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[c,"Edge"],p],[/(yabrowser)\/([\w\.]+)/i],[[c,"Yandex"],p],[/(Avast)\/([\w\.]+)/i],[[c,"Avast Secure Browser"],p],[/(AVG)\/([\w\.]+)/i],[[c,"AVG Secure Browser"],p],[/(focus)\/([\w\.]+)/i],[[c,"Firefox Focus"],p],[/(opt)\/([\w\.]+)/i],[[c,"Opera Touch"],p],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[c,"UCBrowser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/((?:windowswechat)? qbcore)\/([\w\.]+).*(?:windowswechat)?/i],[[c,"WeChat(Win) Desktop"],p],[/(micromessenger)\/([\w\.]+)/i],[[c,"WeChat"],p],[/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[c,p],[/(MetaSr)[\/\s]?([\w\.]+)/i],[c],[/(LBBROWSER)/i],[c],[/(weibo)__([\d\.]+)/i],[c,p],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[p,[c,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[c,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/droid.+(line)\/([\w\.]+)\/iab/i],[c,p],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[p,[c,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[c,/(.+)/,"$1 WebView"],p],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[c,/(.+(?:g|us))(.+)/,"$1 $2"],p],[/droid.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[p,[c,"Android Browser"]],[/(coc_coc_browser)\/([\w\.]+)/i],[[c,"Coc Coc"],p],[/(sailfishbrowser)\/([\w\.]+)/i],[[c,"Sailfish Browser"],p],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[c,p],[/(dolfin)\/([\w\.]+)/i],[[c,"Dolphin"],p],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[c,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[c,"Chrome"],p],[/(coast)\/([\w\.]+)/i],[[c,"Opera Coast"],p],[/fxios\/([\w\.-]+)/i],[p,[c,"Firefox"]],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[p,c],[/webkit.+?(gsa)\/([\w\.]+)\s.*(mobile\s?safari|safari)(\/[\w\.]+)/i],[[c,"GSA"],p],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[c,[p,b.str,S.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape)\/([\w\.-]+)/i],[[c,"Netscape"],p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,_.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[h,/ower/,"",_.lowerize]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[h,_.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[u,f,[l,y]],[/applecoremedia\/[\w\.]+ \((ipad)/],[u,[f,"Apple"],[l,y]],[/(apple\s{0,1}tv)/i],[[u,"Apple TV"],[f,"Apple"],[l,v]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[f,u,[l,y]],[/(alexa)webm/i,/(kf[A-z]+)(\sbuild\/|\)).+silk\//i],[u,[f,"Amazon"],[l,y]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[u,b.str,S.device.amazon.model],[f,"Amazon"],[l,g]],[/droid.+aft([\w])(\sbuild\/|\))/i],[u,[f,"Amazon"],[l,v]],[/\((ip(?:hone|od)[\s\w]*);/i],[u,[f,"Apple"],[l,g]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[f,u,[l,g]],[/\(bb10;\s(\w+)/i],[u,[f,"BlackBerry"],[l,g]],[/droid.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[u,[f,"Asus"],[l,y]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[u,"Xperia Tablet"],[f,"Sony"],[l,y]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,"Sony"],[l,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[f,u,[l,d]],[/droid.+;\s(shield)\sbuild/i],[u,[f,"Nvidia"],[l,d]],[/(playstation\s[345portablevi]+)/i],[u,[f,"Sony"],[l,d]],[/(sprint\s(\w+))/i],[[f,b.str,S.device.sprint.vendor],[u,b.str,S.device.sprint.model],[l,g]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[f,[u,/_/g," "],[l,g]],[/(nexus\s9)/i],[u,[f,"HTC"],[l,y]],[/d\/huawei([\w\s-]+)[;\)]/i,/droid.+\s(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?)/i,/droid.+\s((?:A(?:GS2?|KA|LP|N[AE]|QM|RE|SK|TH)|B(?:A(?:C|H2)|G2|KL|LA|MH|Z[AKT])|C(?:AZ|DY|LT|OL|[MOR]R)|DUK|E(?:BG|DI|L[ES]|ML|V[AR])|FRD|G(?:LK|RA)|H(?:D[LN]|MA|LK|RY|WI)|INE|J(?:DN2|MM|NY|SN)|K(?:NT|OB|SA)|L(?:IO|LD|ON|[RY]A)|M(?:AR|ED|[HL]A|ON|RX|T7)|N(?:EO|TS|XT)|OXF|P(?:AR|CT|IC|LK|RA)|R(?:IO|VL)|S(?:C[ML]|EA|HT|PN|TF)|T(?:A[HS]|NY)|V(?:[CI]E|KY|OG|RD)|W(?:AS|LZ)|Y(?:635|AL))-[ATU][LN][01259][019])[;\)\s]/i],[u,[f,"Huawei"],[l,g]],[/droid.+(bah2?-a?[lw]\d{2})/i],[u,[f,"Huawei"],[l,y]],[/(microsoft);\s(lumia[\s\w]+)/i],[f,u,[l,g]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[u,[f,"Microsoft"],[l,d]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,"Microsoft"],[l,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/\smot[\s-](\w*)/i,/(moto[\s\w\(\)]+(?=\sbuild|\)))/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[u,[f,"Motorola"],[l,g]],[/droid.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[u,[f,"Motorola"],[l,y]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[f,_.trim],[u,_.trim],[l,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,"Samsung"],[l,v]],[/\(dtv[\);].+(aquos)/i],[u,[f,"Sharp"],[l,v]],[/droid.+((sch-i[89]0\d|shw-m380s|SM-P605|SM-P610|SM-P587|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[f,"Samsung"],u,[l,y]],[/smart-tv.+(samsung)/i],[f,[l,v],u],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/\s(sam)(?:sung)[\s-]([\w-]+)/i,/sec-((sgh\w+))/i],[[f,"Samsung"],u,[l,g]],[/sie-(\w*)/i],[u,[f,"Siemens"],[l,g]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w\.-]*)/i],[[f,"Nokia"],u,[l,g]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[u,[f,"Acer"],[l,y]],[/droid.+([vl]k\-?\d{3})\s+build/i],[u,[f,"LG"],[l,y]],[/droid\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[f,"LG"],u,[l,y]],[/linux;\snetcast.+smarttv/i,/lg\snetcast\.tv-201\d/i],[[f,"LG"],u,[l,v]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/droid.+lg(\-?[\d\w]+)\s+build/i],[u,[f,"LG"],[l,g]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|[\w-]+)/i],[f,u,[l,y]],[/droid.+(ideatab[a-z0-9\-\s]+)/i],[u,[f,"Lenovo"],[l,y]],[/(lenovo)[_\s-]?([\w-]+)/i],[f,u,[l,g]],[/linux;.+((jolla));/i],[f,u,[l,g]],[/((pebble))app\/[\d\.]+\s/i],[f,u,[l,m]],[/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[f,u,[l,g]],[/crkey/i],[[u,"Chromecast"],[f,"Google"],[l,v]],[/droid.+;\s(glass)\s\d/i],[u,[f,"Google"],[l,m]],[/droid.+;\s(pixel c)[\s)]/i],[u,[f,"Google"],[l,y]],[/droid.+;\s(pixel( [2-9]a?)?( xl)?)[\s)]/i],[u,[f,"Google"],[l,g]],[/droid.+;\s(\w+)\s+build\/hm\1/i,/droid.+(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/droid.+(redmi[\s\-_]?(?:note|k)?(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i,/droid.+(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[u,/_/g," "],[f,"Xiaomi"],[l,g]],[/droid.+(mi[\s\-_]?(?:pad)(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i],[[u,/_/g," "],[f,"Xiaomi"],[l,y]],[/droid.+;\s(m[1-5]\snote)\sbuild/i],[u,[f,"Meizu"],[l,g]],[/(mz)-([\w-]{2,})/i],[[f,"Meizu"],u,[l,g]],[/droid.+a000(1)\s+build/i,/droid.+oneplus\s(a\d{4})[\s)]/i],[u,[f,"OnePlus"],[l,g]],[/droid.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[u,[f,"RCA"],[l,y]],[/droid.+[;\/\s](Venue[\d\s]{2,7})\s+build/i],[u,[f,"Dell"],[l,y]],[/droid.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[u,[f,"Verizon"],[l,y]],[/droid.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(\S(?:.*\S)?)\s+build/i],[[f,"Barnes & Noble"],u,[l,y]],[/droid.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[u,[f,"NuVision"],[l,y]],[/droid.+;\s(k88)\sbuild/i],[u,[f,"ZTE"],[l,y]],[/droid.+;\s(nx\d{3}j)\sbuild/i],[u,[f,"ZTE"],[l,g]],[/droid.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[u,[f,"Swiss"],[l,g]],[/droid.+[;\/]\s*(zur\d{3})\s+build/i],[u,[f,"Swiss"],[l,y]],[/droid.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[u,[f,"Zeki"],[l,y]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/droid.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[f,"Dragon Touch"],u,[l,y]],[/droid.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[u,[f,"Insignia"],[l,y]],[/droid.+[;\/]\s*((NXA|Next)-?\w{0,9})\s+build/i],[u,[f,"NextBook"],[l,y]],[/droid.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[f,"Voice"],u,[l,g]],[/droid.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[f,"LvTel"],u,[l,g]],[/droid.+;\s(PH-1)\s/i],[u,[f,"Essential"],[l,g]],[/droid.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[u,[f,"Envizen"],[l,y]],[/droid.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[f,u,[l,y]],[/droid.+[;\/]\s*(Trio[\s\w\-\.]+)\s+build/i],[u,[f,"MachSpeed"],[l,y]],[/droid.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[f,u,[l,y]],[/droid.+[;\/]\s*TU_(1491)\s+build/i],[u,[f,"Rotor"],[l,y]],[/droid.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[f,u,[l,y]],[/[\s\/\(](android\stv|smart-?tv)[;\)\s]/i],[[l,v]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[u,[l,g]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[u,[l,y]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[l,_.lowerize],f,u],[/(android[\w\.\s\-]{0,9});.+build/i],[u,[f,"Generic"]],[/(phone)/i],[[l,g]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[c,p],[/rv\:([\w\.]{1,9}).+(gecko)/i],[p,c]],os:[[/(xbox);\s+xbox\s([^\);]+)/i,/microsoft\s(windows)\s(vista|xp)/i],[c,p],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[c,[p,b.str,S.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[c,"Windows"],[p,b.str,S.os.windows.version]],[/\((bb)(10);/i],[[c,"BlackBerry"],p],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[c,p],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[c,"Symbian"],p],[/\((series40);/i],[c],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[c,"Firefox OS"],p],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[c,p],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(sunos)\s?([\w\.\d]*)/i],[[c,"Solaris"],p],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[c,p],[/(haiku)\s(\w+)/i],[c,p],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[c,p]]},x=function(t,e){if("object"==typeof t&&(e=t,t=o),!(this instanceof x))return new x(t,e).getResult();var r=t||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),n=e?_.extend(w,e):w;return this.getBrowser=function(){var t={name:o,version:o};return b.rgx.call(t,r,n.browser),t.major=_.major(t.version),t},this.getCPU=function(){var t={architecture:o};return b.rgx.call(t,r,n.cpu),t},this.getDevice=function(){var t={vendor:o,model:o,type:o};return b.rgx.call(t,r,n.device),t},this.getEngine=function(){var t={name:o,version:o};return b.rgx.call(t,r,n.engine),t},this.getOS=function(){var t={name:o,version:o};return b.rgx.call(t,r,n.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=t,this},this};x.VERSION="0.7.25",x.BROWSER={NAME:c,MAJOR:"major",VERSION:p},x.CPU={ARCHITECTURE:h},x.DEVICE={MODEL:u,VENDOR:f,TYPE:l,CONSOLE:d,MOBILE:g,SMARTTV:v,TABLET:y,WEARABLE:m,EMBEDDED:"embedded"},x.ENGINE={NAME:c,VERSION:p},x.OS={NAME:c,VERSION:p},void 0!==e?(t.exports&&(e=t.exports=x),e.UAParser=x):(n=function(){return x}.call(e,r,e,t))===o||(t.exports=n);var k=void 0!==i&&(i.jQuery||i.Zepto);if(k&&!k.ua){var C=new x;k.ua=C.getResult(),k.ua.get=function(){return C.getUA()},k.ua.set=function(t){C.setUA(t);var e=C.getResult();for(var r in e)k.ua[r]=e[r]}}}("object"==typeof window?window:this)},99196:t=>{"use strict";t.exports=window.React},91850:t=>{"use strict";t.exports=window.ReactDOM}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var n=r(9041);(window.yoast=window.yoast||{}).draftJs=n})(); dist/externals/analysisReport.js 0000644 00000022235 15174677550 0013116 0 ustar 00 (()=>{"use strict";var s={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(s,e)=>Object.prototype.hasOwnProperty.call(s,e),r:s=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}},e={};s.r(e),s.d(e,{AnalysisList:()=>_,AnalysisResult:()=>w,ContentAnalysis:()=>S,SiteSEOReport:()=>j,renderRatingToColor:()=>I});const t=window.wp.i18n,o=window.yoast.styleGuide,r=window.lodash.noop;var n=s.n(r);const i=window.yoast.propTypes;var l=s.n(i);const a=window.React;var u=s.n(a);const d=window.yoast.styledComponents;var p=s.n(d);const g=window.yoast.componentsNew,c=window.yoast.helpers,m=window.lodash,h=window.ReactJSXRuntime,{stripTagsFromHtmlString:k}=c.strings,B=["a","b","strong","em","i"],b=p().div` display: grid; grid-template-rows: 1fr; max-width: 32px; // This gap value is half the gap value between assessment result list items, which is 12px. gap: 6px; `,C=p().li` // This is the height of the IconButtonToggle. min-height: 24px; margin-bottom: 12px; padding: 0; display: flex; align-items: flex-start; position: relative; gap: 12px; `,x=p()(g.SvgIcon)` margin: 3px 0 0 0; `,y=p().p` margin: 0; flex: 1 1 auto; color: ${s=>s.suppressedText?"rgba(30,30,30,0.5)":"inherit"}; `,R=({ariaLabel:s,id:e,className:t,status:o,onClick:r,isPressed:n})=>(0,h.jsx)(g.IconButtonToggle,{marksButtonStatus:o,className:t,onClick:r,id:e,icon:"eye",pressed:n,ariaLabel:s}),f=({ariaLabelMarks:s,ariaLabelEdit:e="",bulletColor:t,buttonIdMarks:o,buttonIdEdit:r="",editButtonClassName:n="",hasAIFixes:i=!1,hasBetaBadgeLabel:l=!1,hasEditButton:u=!1,hasMarksButton:d,id:p="",isPremium:c=!1,marker:f=m.noop,markButtonFactory:w=null,marksButtonStatus:v="enabled",marksButtonClassName:I="",onButtonClickMarks:_,onButtonClickEdit:N=m.noop,onResultChange:A=m.noop,pressed:M,renderHighlightingUpsell:S=m.noop,renderAIOptimizeButton:H=m.noop,shouldUpsellHighlighting:E=!1,suppressedText:T=!1,text:j})=>{const[L,O]=(0,a.useState)(!1),P=(0,a.useCallback)((()=>O(!1)),[]),U=(0,a.useCallback)((()=>O(!0)),[]);w=w||R;let F=null;return function(s,e){return!s||"hidden"===e}(d,v)||(F=w({onClick:E?U:_,status:v,className:I,id:o,isPressed:M,ariaLabel:s})),(0,a.useEffect)((()=>{A(p,f,d)}),[p,f,d]),(0,h.jsxs)(C,{children:[(0,h.jsx)(x,{icon:"circle",color:t,size:"13px"}),(0,h.jsxs)(y,{suppressedText:T,children:[l&&(0,h.jsx)(g.BetaBadge,{}),(0,h.jsx)("span",{dangerouslySetInnerHTML:{__html:k(j,B)}})]}),(0,h.jsxs)(b,{children:[F,S(L,P),u&&c&&(0,h.jsx)(g.IconCTAEditButton,{className:n,onClick:N,id:r,icon:"edit",ariaLabel:e}),H(i,p)]})]})};f.propTypes={text:l().string.isRequired,suppressedText:l().bool,bulletColor:l().string.isRequired,hasMarksButton:l().bool.isRequired,hasEditButton:l().bool,hasAIFixes:l().bool,buttonIdMarks:l().string.isRequired,buttonIdEdit:l().string,pressed:l().bool.isRequired,ariaLabelMarks:l().string.isRequired,ariaLabelEdit:l().string,onButtonClickMarks:l().func.isRequired,onButtonClickEdit:l().func,marksButtonStatus:l().string,marksButtonClassName:l().string,markButtonFactory:l().func,editButtonClassName:l().string,hasBetaBadgeLabel:l().bool,isPremium:l().bool,onResultChange:l().func,id:l().string,marker:l().oneOfType([l().func,l().array]),shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func};const w=f,v=p().ul` margin: 8px 0; padding: 0; list-style: none; `;function I(s){switch(s){case"good":return o.colors.$color_good;case"OK":return o.colors.$color_ok;case"bad":return o.colors.$color_bad;default:return o.colors.$color_score_icon}}function _({results:s,marksButtonActivatedResult:e="",marksButtonStatus:o="enabled",marksButtonClassName:r="",editButtonClassName:i="",markButtonFactory:l=null,onMarksButtonClick:a=n(),onEditButtonClick:u=n(),isPremium:d=!1,onResultChange:p=n(),shouldUpsellHighlighting:g=!1,renderHighlightingUpsell:c=n(),renderAIOptimizeButton:m=n()}){return(0,h.jsx)(v,{role:"list",children:s.map((s=>{const n=I(s.rating),k=s.markerId===e,B=s.editFieldName,b=s.id+"Mark",C=B+"Edit";let x="";x="disabled"===o?(0,t.__)("Highlighting is currently disabled","wordpress-seo"):k?(0,t.__)("Remove highlight from the text","wordpress-seo"):(0,t.__)("Highlight this result in the text","wordpress-seo");const y=s.editFieldAriaLabel;return(0,h.jsx)(w,{id:s.id,text:s.text,marker:s.marker,bulletColor:n,hasMarksButton:s.hasMarks,hasEditButton:s.hasJumps,hasAIFixes:s.hasAIFixes,ariaLabelMarks:x,ariaLabelEdit:y,pressed:k,suppressedText:"upsell"===s.rating,buttonIdMarks:b,buttonIdEdit:C,onButtonClickMarks:()=>a(s.id,s.marker),onButtonClickEdit:s=>u(B,s),marksButtonClassName:r,editButtonClassName:i,marksButtonStatus:o,hasBetaBadgeLabel:s.hasBetaBadge,isPremium:d,onResultChange:p,markButtonFactory:l,shouldUpsellHighlighting:g,renderAIOptimizeButton:m,renderHighlightingUpsell:c},s.id)}))})}_.propTypes={results:l().array.isRequired,marksButtonActivatedResult:l().string,marksButtonStatus:l().string,marksButtonClassName:l().string,editButtonClassName:l().string,markButtonFactory:l().func,onMarksButtonClick:l().func,onEditButtonClick:l().func,isPremium:l().bool,onResultChange:l().func,shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func};const N=p().div` width: 100%; background-color: white; border-bottom: 1px solid transparent; // Avoid parent and child margin collapsing. `,A=p()(g.Collapsible)` margin-bottom: 8px; ${g.StyledIconsButton} { padding: 8px 0; color: ${o.colors.$color_blue}; margin: -2px 8px 0 -2px; // Compensate icon size set to 18px. } `;class M extends u().Component{renderCollapsible(s,e,t){return(0,h.jsx)(A,{initialIsOpen:!0,title:`${s} (${t.length})`,prefixIcon:{icon:"angle-up",color:o.colors.$color_grey_dark,size:"18px"},prefixIconCollapsed:{icon:"angle-down",color:o.colors.$color_grey_dark,size:"18px"},suffixIcon:null,suffixIconCollapsed:null,headingProps:{level:e,fontSize:"13px",fontWeight:"500",color:"#1e1e1e"},children:(0,h.jsx)(_,{results:t,marksButtonActivatedResult:this.props.activeMarker,marksButtonStatus:this.props.marksButtonStatus,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,markButtonFactory:this.props.markButtonFactory,onMarksButtonClick:this.props.onMarkButtonClick,onEditButtonClick:this.props.onEditButtonClick,renderAIOptimizeButton:this.props.renderAIOptimizeButton,isPremium:this.props.isPremium,onResultChange:this.props.onResultChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.props.renderHighlightingUpsell})})}render(){const{problemsResults:s,improvementsResults:e,goodResults:o,considerationsResults:r,errorsResults:n,upsellResults:i,headingLevel:l,resultCategoryLabels:a}=this.props,u=n.length,d=s.length,p=e.length,g=r.length,c=o.length,m=i.length,k={errors:(0,t.__)("Errors","wordpress-seo"),problems:(0,t.__)("Problems","wordpress-seo"),improvements:(0,t.__)("Improvements","wordpress-seo"),considerations:(0,t.__)("Considerations","wordpress-seo"),goodResults:(0,t.__)("Good results","wordpress-seo")},B=Object.assign(k,a);return(0,h.jsxs)(N,{children:[u>0&&this.renderCollapsible(B.errors,l,n),d+m>0&&this.renderCollapsible(B.problems,l,[...i,...s]),p>0&&this.renderCollapsible(B.improvements,l,e),g>0&&this.renderCollapsible(B.considerations,l,r),c>0&&this.renderCollapsible(B.goodResults,l,o)]})}}M.propTypes={onMarkButtonClick:l().func,onEditButtonClick:l().func,problemsResults:l().array,improvementsResults:l().array,goodResults:l().array,considerationsResults:l().array,errorsResults:l().array,upsellResults:l().array,headingLevel:l().number,marksButtonStatus:l().string,marksButtonClassName:l().string,markButtonFactory:l().func,editButtonClassName:l().string,activeMarker:l().string,isPremium:l().bool,resultCategoryLabels:l().shape({errors:l().string,problems:l().string,improvements:l().string,considerations:l().string,goodResults:l().string}),onResultChange:l().func,shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func},M.defaultProps={onMarkButtonClick:()=>{},onEditButtonClick:()=>{},problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[],errorsResults:[],upsellResults:[],headingLevel:4,marksButtonStatus:"enabled",marksButtonClassName:"",markButtonFactory:null,editButtonClassName:"",activeMarker:"",isPremium:!1,resultCategoryLabels:{},onResultChange:()=>{},shouldUpsellHighlighting:!1,renderHighlightingUpsell:()=>{},renderAIOptimizeButton:()=>{}};const S=M,H=p().div` `,E=p().p` font-size: 14px; `,T=({className:s="seo-assessment",seoAssessmentText:e="SEO Assessment",seoAssessmentItems:t=null,barHeight:o="24px"})=>(0,h.jsxs)(H,{className:s,children:[(0,h.jsx)(E,{className:`${s}__text`,children:e}),(0,h.jsx)(g.StackedProgressBar,{className:"progress",items:t,barHeight:o}),(0,h.jsx)(g.ScoreAssessments,{className:"assessments",items:t})]});T.propTypes={className:l().string,seoAssessmentText:l().string,seoAssessmentItems:l().arrayOf(l().shape({html:l().string.isRequired,value:l().number.isRequired,color:l().string.isRequired})),barHeight:l().string};const j=T;(window.yoast=window.yoast||{}).analysisReport=e})(); dist/externals/reactHelmet.js 0000644 00000040277 15174677550 0012342 0 ustar 00 (()=>{var e={27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var s in i=Object(arguments[c]))r.call(i,s)&&(u[s]=i[s]);if(t){a=t(i);for(var f=0;f<a.length;f++)n.call(i,a[f])&&(u[a[f]]=i[a[f]])}}return u}},69590:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var u,c,s,f;if(Array.isArray(e)){if((u=e.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(e[c],a[c]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;for(f=e.entries();!(c=f.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((u=e.length)!=a.length)return!1;for(c=u;0!=c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((u=(s=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,s[c]))return!1;if(t&&e instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!e.$$typeof)&&!i(e[s[c]],a[s[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},83524:(e,t,r)=>{"use strict";var n,o=r(99196),i=(n=o)&&"object"==typeof n&&"default"in n?n.default:n;function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,r){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(n){if("function"!=typeof n)throw new Error("Expected WrappedComponent to be a React component.");var c,s=[];function f(){c=e(s.map((function(e){return e.props}))),l.canUseDOM?t(c):r&&(c=r(c))}var l=function(e){var t,r;function o(){return e.apply(this,arguments)||this}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,s=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),f()},a.render=function(){return i.createElement(n,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),a(l,"canUseDOM",u),l}}},99196:e=>{"use strict";e.exports=window.React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{Helmet:()=>re,default:()=>ne});const e=window.yoast.propTypes;var t,o,i,a,u=r.n(e),c=r(83524),s=r.n(c),f=r(69590),l=r.n(f),p=r(99196),d=r.n(p),y=r(27418),h=r.n(y),b="bodyAttributes",m="htmlAttributes",T={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},g=(Object.keys(T).map((function(e){return T[e]})),"charset"),v="cssText",w="href",O="innerHTML",A="itemprop",C="rel",S={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},j=Object.keys(S).reduce((function(e,t){return e[S[t]]=t,e}),{}),E=[T.NOSCRIPT,T.SCRIPT,T.STYLE],P="data-react-helmet",k="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},x=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},M=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},N=function(e){var t=B(e,T.TITLE),r=B(e,"titleTemplate");if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=B(e,"defaultTitle");return t||n||void 0},R=function(e){return B(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return L({},e,t)}),{})},H=function(e,t){return t.filter((function(e){return void 0!==e[T.BASE]})).map((function(e){return e[T.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o<n.length;o++){var i=n[o].toLowerCase();if(-1!==e.indexOf(i)&&r[i])return t.concat(r)}return t}),[])},q=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&z("Helmet: "+e+' should be of type "Array". Instead found type "'+k(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var o={};r.filter((function(e){for(var r=void 0,i=Object.keys(e),a=0;a<i.length;a++){var u=i[a],c=u.toLowerCase();-1===t.indexOf(c)||r===C&&"canonical"===e[r].toLowerCase()||c===C&&"stylesheet"===e[c].toLowerCase()||(r=c),-1===t.indexOf(u)||u!==O&&u!==v&&u!==A||(r=u)}if(!r||!e[r])return!1;var s=e[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][s]&&(o[r][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var u=i[a],c=h()({},n[u],o[u]);n[u]=c}return e}),[]).reverse()},B=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},D=(t=Date.now(),function(e){var r=Date.now();r-t>16?(t=r,e(r)):setTimeout((function(){D(e)}),0)}),F=function(e){return clearTimeout(e)},Y="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||D:r.g.requestAnimationFrame||D,U="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||F:r.g.cancelAnimationFrame||F,z=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},K=null,V=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,c=e.onChangeClientState,s=e.scriptTags,f=e.styleTags,l=e.title,p=e.titleAttributes;G(T.BODY,n),G(T.HTML,o),$(l,p);var d={baseTag:J(T.BASE,r),linkTags:J(T.LINK,i),metaTags:J(T.META,a),noscriptTags:J(T.NOSCRIPT,u),scriptTags:J(T.SCRIPT,s),styleTags:J(T.STYLE,f)},y={},h={};Object.keys(d).forEach((function(e){var t=d[e],r=t.newTags,n=t.oldTags;r.length&&(y[e]=r),n.length&&(h[e]=d[e].oldTags)})),t&&t(),c(e,y,h)},W=function(e){return Array.isArray(e)?e.join(""):e},$=function(e,t){void 0!==e&&document.title!==e&&(document.title=W(e)),G(T.TITLE,t)},G=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(P),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),u=0;u<a.length;u++){var c=a[u],s=t[c]||"";r.getAttribute(c)!==s&&r.setAttribute(c,s),-1===o.indexOf(c)&&o.push(c);var f=i.indexOf(c);-1!==f&&i.splice(f,1)}for(var l=i.length-1;l>=0;l--)r.removeAttribute(i[l]);o.length===i.length?r.removeAttribute(P):r.getAttribute(P)!==a.join(",")&&r.setAttribute(P,a.join(","))}},J=function(e,t){var r=document.head||document.querySelector(T.HEAD),n=r.querySelectorAll(e+"["+P+"]"),o=Array.prototype.slice.call(n),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===O)r.innerHTML=t.innerHTML;else if(n===v)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var u=void 0===t[n]?"":t[n];r.setAttribute(n,u)}r.setAttribute(P,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},Q=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[S[r]||r]=e[r],t}),t)},Z=function(e,t,r){switch(e){case T.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(n={key:e})[P]=!0,o=X(r,n),[d().createElement(T.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=Q(r),i=W(t);return o?"<"+e+" "+P+'="true" '+o+">"+M(i,n)+"</"+e+">":"<"+e+" "+P+'="true">'+M(i,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case b:case m:return{toComponent:function(){return X(t)},toString:function(){return Q(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,o=((n={key:r})[P]=!0,n);return Object.keys(t).forEach((function(e){var r=S[e]||e;if(r===O||r===v){var n=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:n}}else o[r]=t[e]})),d().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!(e===O||e===v)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+M(n[t],r)+'"';return e?e+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===E.indexOf(e);return t+"<"+e+" "+P+'="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,r)}}}},ee=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,c=e.scriptTags,s=e.styleTags,f=e.title,l=void 0===f?"":f,p=e.titleAttributes;return{base:Z(T.BASE,t,n),bodyAttributes:Z(b,r,n),htmlAttributes:Z(m,o,n),link:Z(T.LINK,i,n),meta:Z(T.META,a,n),noscript:Z(T.NOSCRIPT,u,n),script:Z(T.SCRIPT,c,n),style:Z(T.STYLE,s,n),title:Z(T.TITLE,{title:l,titleAttributes:p},n)}},te=s()((function(e){return{baseTag:H([w,"target"],e),bodyAttributes:_(b,e),defer:B(e,"defer"),encode:B(e,"encodeSpecialCharacters"),htmlAttributes:_(m,e),linkTags:q(T.LINK,[C,w],e),metaTags:q(T.META,["name",g,"http-equiv","property",A],e),noscriptTags:q(T.NOSCRIPT,[O],e),onChangeClientState:R(e),scriptTags:q(T.SCRIPT,["src",O],e),styleTags:q(T.STYLE,[v],e),title:N(e),titleAttributes:_("titleAttributes",e)}}),(function(e){K&&U(K),e.defer?K=Y((function(){V(e,(function(){K=null}))})):(V(e),K=null)}),ee)((function(){return null})),re=(o=te,a=i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!l()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case T.SCRIPT:case T.NOSCRIPT:return{innerHTML:t};case T.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return L({},n,((t={})[r.type]=[].concat(n[r.type]||[],[L({},o,this.mapNestedChildrenToProps(r,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case T.TITLE:return L({},o,((t={})[n.type]=a,t.titleAttributes=L({},i),t));case T.BODY:return L({},o,{bodyAttributes:L({},i)});case T.HTML:return L({},o,{htmlAttributes:L({},i)})}return L({},o,((r={})[n.type]=L({},i),r))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=L({},t);return Object.keys(e).forEach((function(t){var n;r=L({},r,((n={})[t]=e[t],n))})),r},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var r=this,n={};return d().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[j[r]||r]=e[r],t}),t)}(I(o,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case T.LINK:case T.META:case T.NOSCRIPT:case T.SCRIPT:case T.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:a,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},t.prototype.render=function(){var e=this.props,t=e.children,r=I(e,["children"]),n=L({},r);return t&&(n=this.mapChildrenToProps(t,n)),d().createElement(o,n)},x(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(d().Component),i.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=ee({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);re.renderStatic=re.rewind;const ne=re})(),(window.yoast=window.yoast||{}).reactHelmet=n})(); dist/externals/styledComponents.js 0000644 00000106762 15174677550 0013461 0 ustar 00 (()=>{var e={69921:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case m:case c:return e;default:return t}}case o:return t}}}function k(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===S||e.$$typeof===y)},t.typeOf=w},59864:(e,t,r)=>{"use strict";e.exports=r(69921)},96774:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],f=t[l];if(!1===(o=r?r.call(n,u,f,l):void 0)||void 0===o&&u!==f)return!1}return!0}},67591:(e,t,r)=>{"use strict";var n=r(59864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),m=c(r),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=d(r,y);try{l(t,y,v)}catch(e){}}}}return t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var n={};(()=>{"use strict";r.r(n),r.d(n,{ServerStyleSheet:()=>Fe,StyleSheetConsumer:()=>oe,StyleSheetContext:()=>ne,StyleSheetManager:()=>ue,ThemeConsumer:()=>je,ThemeContext:()=>Te,ThemeProvider:()=>_e,__PRIVATE__:()=>He,createGlobalStyle:()=>De,css:()=>Se,default:()=>We,isStyledComponent:()=>S,keyframes:()=>Le,useTheme:()=>Ge,version:()=>k,withTheme:()=>Be});var e=r(59864);const t=window.React;var o=r.n(t),a=r(96774),i=r.n(a);const s=function(e){function t(e,n,c,l,d){for(var p,h,m,g,S,k=0,C=0,A=0,x=0,P=0,j=0,$=m=p=0,N=0,z=0,D=0,L=0,F=c.length,B=F-1,G="",H="",W="",Y="";N<F;){if(h=c.charCodeAt(N),N===B&&0!==C+x+A+k&&(0!==C&&(h=47===C?10:47),x=A=k=0,F++,B++),0===C+x+A+k){if(N===B&&(0<z&&(G=G.replace(f,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(N)}h=59}switch(h){case 123:for(p=(G=G.trim()).charCodeAt(0),m=1,L=++N;N<F;){switch(h=c.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(N+1)){case 42:case 47:e:{for($=N+1;$<B;++$)switch(c.charCodeAt($)){case 47:if(42===h&&42===c.charCodeAt($-1)&&N+2!==$){N=$+1;break e}break;case 10:if(47===h){N=$+1;break e}}N=$}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<B&&c.charCodeAt(N)!==h;);}if(0===m)break;N++}if(m=c.substring(L,N),0===p&&(p=(G=G.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<z&&(G=G.replace(f,"")),h=G.charCodeAt(1)){case 100:case 109:case 115:case 45:z=n;break;default:z=T}if(L=(m=t(n,z,m,h,d+1)).length,0<_&&(S=s(3,m,z=r(T,G,D),n,O,I,L,h,d,l),G=z.join(""),void 0!==S&&0===(L=(m=S.trim()).length)&&(h=0,m="")),0<L)switch(h){case 115:G=G.replace(w,i);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(y,"$1 $2"))+"{"+m+"}",m=1===R||2===R&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===l&&(H+=m,m="")}else m=""}else m=t(n,r(n,G,D),m,l,d+1);W+=m,m=D=z=$=p=0,G="",h=c.charCodeAt(++N);break;case 125:case 59:if(1<(L=(G=(0<z?G.replace(f,""):G).trim()).length))switch(0===$&&(p=G.charCodeAt(0),45===p||96<p&&123>p)&&(L=(G=G.replace(" ",":")).length),0<_&&void 0!==(S=s(1,G,n,e,O,I,H.length,l,d,l))&&0===(L=(G=S.trim()).length)&&(G="\0\0"),p=G.charCodeAt(0),h=G.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=G+c.charAt(N);break}default:58!==G.charCodeAt(L-1)&&(H+=o(G,p,h,G.charCodeAt(2)))}D=z=$=p=0,G="",h=c.charCodeAt(++N)}}switch(h){case 13:case 10:47===C?C=0:0===1+p&&107!==l&&0<G.length&&(z=1,G+="\0"),0<_*M&&s(0,G,n,e,O,I,H.length,l,d,l),I=1,O++;break;case 59:case 125:if(0===C+x+A+k){I++;break}default:switch(I++,g=c.charAt(N),h){case 9:case 32:if(0===x+k+C)switch(P){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===x+C+k&&(z=D=1,g="\f"+g);break;case 108:if(0===x+C+k+E&&0<$)switch(N-$){case 2:112===P&&58===c.charCodeAt(N-3)&&(E=P);case 8:111===j&&(E=j)}break;case 58:0===x+C+k&&($=N);break;case 44:0===C+A+x+k&&(z=1,g+="\r");break;case 34:case 39:0===C&&(x=x===h?0:0===x?h:x);break;case 91:0===x+C+A&&k++;break;case 93:0===x+C+A&&k--;break;case 41:0===x+C+k&&A--;break;case 40:0===x+C+k&&(0===p&&(2*P+3*j==533||(p=1)),A++);break;case 64:0===C+A+x+k+$+m&&(m=1);break;case 42:case 47:if(!(0<x+k+A))switch(C){case 0:switch(2*h+3*c.charCodeAt(N+1)){case 235:C=47;break;case 220:L=N,C=42}break;case 42:47===h&&42===P&&L+2!==N&&(33===c.charCodeAt(L+2)&&(H+=c.substring(L,N+1)),g="",C=0)}}0===C&&(G+=g)}j=P,P=h,N++}if(0<(L=H.length)){if(z=n,0<_&&void 0!==(S=s(2,H,z,e,O,I,L,l,d,l))&&0===(H=S).length)return Y+H+W;if(H=z.join(",")+"{"+H+"}",0!=R*E){switch(2!==R||a(H,2)||(E=0),E){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(v,"::-webkit-input-$1")+H.replace(v,"::-moz-$1")+H.replace(v,":-ms-input-$1")+H}E=0}}return Y+H+W}function r(e,t,r){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===R||2===R&&a(c,1)?"-webkit-"+c+c:c}if(0===R||2===R&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(P,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(S,"tb");break;case 232:c=i.replace(S,"tb-rl");break;case 220:c=i.replace(S,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),$(2!==t?n:n.replace(A,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,c,u){for(var f,d=0,p=t;d<_;++d)switch(f=j[d].call(l,e,p,r,n,o,a,i,s,c,u)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&($=null,e?"function"!=typeof e?R=1:(R=2,$=e):R=0),c}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var o=s(-1,r,n,n,O,I,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(T,n,r,0,0);return 0<_&&void 0!==(o=s(-2,a,n,n,O,I,a.length,0,0,0))&&(a=o),E=0,I=O=1,a}var u=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,S=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,P=/([^-])(image-set\()/,I=1,O=1,E=0,R=1,T=[],j=[],_=0,$=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:_=j.length=0;break;default:if("function"==typeof t)j[_++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else M=0|!!t}return e},l.set=c,void 0!==e&&c(e),l},c={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const u=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=(r=e,l.test(r)||111===r.charCodeAt(0)&&110===r.charCodeAt(1)&&r.charCodeAt(2)<91)),t[e];var r}}();var f=r(67591),d=r.n(f);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},m=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,e.typeOf)(t)},g=Object.freeze([]),y=Object.freeze({});function v(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var w="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",k="5.3.6",C="undefined"!=typeof window&&"HTMLElement"in window,A=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),x={};function P(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var I=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&P(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),O=new Map,E=new Map,R=1,T=function(e){if(O.has(e))return O.get(e);for(;E.has(R);)R++;var t=R++;return O.set(e,t),E.set(t,e),t},j=function(e){return E.get(e)},_=function(e,t){t>=R&&(R=t+1),O.set(e,t),E.set(t,e)},$="style["+w+'][data-styled-version="5.3.6"]',M=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},z=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(M);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(_(l,c),N(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},D=function(){return r.nc},L=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(w))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(w,"active"),n.setAttribute("data-styled-version","5.3.6");var i=D();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},F=function(){function e(e){var t=this.element=L(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}P(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),B=function(){function e(e){var t=this.element=L(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),G=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=C,W={isServer:!C,useCSSOMInjection:!A},Y=function(){function e(e,t,r){void 0===e&&(e=y),void 0===t&&(t={}),this.options=p({},W,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&C&&H&&(H=!1,function(e){for(var t=document.querySelectorAll($),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(w)&&(z(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return T(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(p({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new G(o):n?new F(o):new B(o),new I(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(T(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(T(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(T(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=j(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(i&&s&&i.size){var c=w+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),U=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=q(t%52)+r;return(q(t%52)+r).replace(U,"$1-$2")}var X=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Z=function(e){return X(5381,e)};function J(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(v(r)&&!S(r))return!1}return!0}var K=Z("5.3.6"),Q=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&J(e),this.componentId=t,this.baseHash=X(K,t),this.baseStyle=r,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=ve(this.rules,e,t,r).join(""),i=V(X(this.baseHash,a)>>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=X(this.baseHash,r.hash),u="",f=0;f<c;f++){var d=this.rules[f];if("string"==typeof d)u+=d;else if(d){var p=ve(d,e,t,r),h=Array.isArray(p)?p.join(""):p;l=X(l,h+f),u+=h}}if(u){var m=V(l>>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function re(e){var t,r,n,o,a=void 0===e?y:e,i=a.options,c=void 0===i?y:i,l=a.plugins,u=void 0===l?g:l,f=new s(c),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,f){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,n,a){return 0===n&&-1!==te.indexOf(a[r.length])||a.match(o)?e:"."+t};function m(e,a,i,s){void 0===s&&(s="&");var c=e.replace(ee,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),f(i||!a?"":a,l)}return f.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||P(15),X(e,t.name)}),5381).toString():"",m}var ne=o().createContext(),oe=ne.Consumer,ae=o().createContext(),ie=(ae.Consumer,new Y),se=re();function ce(){return(0,t.useContext)(ne)||ie}function le(){return(0,t.useContext)(ae)||se}function ue(e){var r=(0,t.useState)(e.stylisPlugins),n=r[0],a=r[1],s=ce(),c=(0,t.useMemo)((function(){var t=s;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,t.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,t.useEffect)((function(){i()(n,e.stylisPlugins)||a(e.stylisPlugins)}),[e.stylisPlugins]),o().createElement(ne.Provider,{value:c},o().createElement(ae.Provider,{value:l},e.children))}var fe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return P(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,pe=/([A-Z])/g,he=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ge(e){return de.test(e)?e.replace(pe,me).replace(he,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i<s;i+=1)""!==(o=ve(e[i],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}return ye(e)?"":S(e)?"."+e.styledComponentId:v(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ve(e(t),t,r,n):e instanceof fe?r?(e.inject(r,n),e.getName(n)):e:m(e)?function e(t,r){var n,o,a=[];for(var i in t)t.hasOwnProperty(i)&&!ye(t[i])&&(Array.isArray(t[i])&&t[i].isCss||v(t[i])?a.push(ge(i)+":",t[i],";"):m(t[i])?a.push.apply(a,e(t[i],i)):a.push(ge(i)+": "+(n=i,(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in c?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(a,["}"]):a}(e):e.toString();var l}var be=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Se(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return v(e)||m(e)?be(ve(h(g,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:be(ve(h(e,r)))}new Set;var we=function(e,t,r){return void 0===r&&(r=y),e.theme!==r.theme&&e.theme||t||r.theme},ke=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ce=/(^-|-$)/g;function Ae(e){return e.replace(ke,"-").replace(Ce,"")}var xe=function(e){return V(Z(e)>>>0)};function Pe(e){return"string"==typeof e&&!0}var Ie=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Oe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ee(e,t,r){var n=e[r];Ie(t)&&Ie(n)?Re(n,t):e[r]=t}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(Ie(i))for(var s in i)Oe(s)&&Ee(e,i[s],s)}return e}var Te=o().createContext(),je=Te.Consumer;function _e(e){var r=(0,t.useContext)(Te),n=(0,t.useMemo)((function(){return function(e,t){return e?v(e)?e(t):Array.isArray(e)||"object"!=typeof e?P(8):t?p({},t,{},e):e:P(14)}(e.theme,r)}),[e.theme,r]);return e.children?o().createElement(Te.Provider,{value:n},e.children):null}var $e={};function Me(e,r,n){var a=S(e),i=!Pe(e),s=r.attrs,c=void 0===s?g:s,l=r.componentId,f=void 0===l?function(e,t){var r="string"!=typeof e?"sc":Ae(e);$e[r]=($e[r]||0)+1;var n=r+"-"+xe("5.3.6"+r+$e[r]);return t?t+"-"+n:n}(r.displayName,r.parentComponentId):l,h=r.displayName,m=void 0===h?function(e){return Pe(e)?"styled."+e:"Styled("+b(e)+")"}(e):h,w=r.displayName&&r.componentId?Ae(r.displayName)+"-"+r.componentId:r.componentId||f,k=a&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,C=r.shouldForwardProp;a&&e.shouldForwardProp&&(C=r.shouldForwardProp?function(t,n,o){return e.shouldForwardProp(t,n,o)&&r.shouldForwardProp(t,n,o)}:e.shouldForwardProp);var A,x=new Q(n,w,a?e.componentStyle:void 0),P=x.isStatic&&0===c.length,I=function(e,r){return function(e,r,n,o){var a=e.attrs,i=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,l=e.shouldForwardProp,f=e.styledComponentId,d=e.target,h=function(e,t,r){void 0===e&&(e=y);var n=p({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in v(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}(we(r,(0,t.useContext)(Te),s)||y,r,a),m=h[0],g=h[1],b=function(e,t,r,n){var o=ce(),a=le();return t?e.generateAndInjectStyles(y,o,a):e.generateAndInjectStyles(r,o,a)}(i,o,m),S=n,w=g.$as||r.$as||g.as||r.as||d,k=Pe(w),C=g!==r?p({},r,{},g):r,A={};for(var x in C)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?A.as=C[x]:(l?l(x,u,w):!k||u(x))&&(A[x]=C[x]));return r.style&&g.style!==r.style&&(A.style=p({},r.style,{},g.style)),A.className=Array.prototype.concat(c,f,b!==f?b:null,r.className,g.className).filter(Boolean).join(" "),A.ref=S,(0,t.createElement)(w,A)}(A,e,r,P)};return I.displayName=m,(A=o().forwardRef(I)).attrs=k,A.componentStyle=x,A.displayName=m,A.shouldForwardProp=C,A.foldedComponentIds=a?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,A.styledComponentId=w,A.target=a?e.target:e,A.withComponent=function(e){var t=r.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(Pe(e)?e:Ae(b(e)));return Me(e,p({},o,{attrs:k,componentId:a}),n)},Object.defineProperty(A,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?Re({},e.defaultProps,t):t}}),A.toString=function(){return"."+A.styledComponentId},i&&d()(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),A}var Ne=function(t){return function t(r,n,o){if(void 0===o&&(o=y),!(0,e.isValidElementType)(n))return P(1,String(n));var a=function(){return r(n,o,Se.apply(void 0,arguments))};return a.withConfig=function(e){return t(r,n,p({},o,{},e))},a.attrs=function(e){return t(r,n,p({},o,{attrs:Array.prototype.concat(o.attrs,e).filter(Boolean)}))},a}(Me,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ne[e]=Ne(e)}));var ze=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),Y.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(ve(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function De(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var i=Se.apply(void 0,[e].concat(n)),s="sc-global-"+xe(JSON.stringify(i)),c=new ze(i,s);function l(e){var r=ce(),n=le(),o=(0,t.useContext)(Te),a=(0,t.useRef)(r.allocateGSInstance(s)).current;return r.server&&u(a,e,r,o,n),(0,t.useLayoutEffect)((function(){if(!r.server)return u(a,e,r,o,n),function(){return c.removeStyles(a,r)}}),[a,e,r,o,n]),null}function u(e,t,r,n,o){if(c.isStatic)c.renderStyles(e,x,r,o);else{var a=p({},t,{theme:we(t,n,l.defaultProps)});c.renderStyles(e,a,r,o)}}return o().memo(l)}function Le(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Se.apply(void 0,[e].concat(r)).join(""),a=xe(o);return new fe(a,o)}var Fe=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=D();return"<style "+[r&&'nonce="'+r+'"',w+'="true"','data-styled-version="5.3.6"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?P(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return P(2);var r=((t={})[w]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=D();return n&&(r.nonce=n),[o().createElement("style",p({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?P(2):o().createElement(ue,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return P(3)},e}(),Be=function(e){var r=o().forwardRef((function(r,n){var a=(0,t.useContext)(Te),i=e.defaultProps,s=we(r,a,i);return o().createElement(e,p({},r,{theme:s,ref:n}))}));return d()(r,e),r.displayName="WithTheme("+b(e)+")",r},Ge=function(){return(0,t.useContext)(Te)},He={StyleSheet:Y,masterSheet:ie};const We=Ne})(),(window.yoast=window.yoast||{}).styledComponents=n})(); dist/externals/propTypes.js 0000644 00000001707 15174677550 0012105 0 ustar 00 (()=>{var e={92703:(e,r,t)=>{"use strict";var o=t(50414);function n(){}function p(){}p.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,p,s){if(s!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:p,resetWarningCache:n};return t.PropTypes=t,t}},45697:(e,r,t)=>{e.exports=t(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},r={},t=function t(o){var n=r[o];if(void 0!==n)return n.exports;var p=r[o]={exports:{}};return e[o](p,p.exports,t),p.exports}(45697);(window.yoast=window.yoast||{}).propTypes=t})(); dist/externals/uiLibrary.js 0000644 00000464446 15174677550 0012057 0 ustar 00 (()=>{var e={94184:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===s){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},35800:function(e,t,n){!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=n(t);function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}var s={error:null},o=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state=s,t.resetErrorBoundary=function(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];null==t.props.onReset||(e=t.props).onReset.apply(e,a),t.reset()},t}var n,o;o=e,(n=t).prototype=Object.create(o.prototype),n.prototype.constructor=n,r(n,o),t.getDerivedStateFromError=function(e){return{error:e}};var i=t.prototype;return i.reset=function(){this.setState(s)},i.componentDidCatch=function(e,t){var n,a;null==(n=(a=this.props).onError)||n.call(a,e,t)},i.componentDidUpdate=function(e,t){var n,a,r,s,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&(void 0===(r=e.resetKeys)&&(r=[]),void 0===(s=i)&&(s=[]),r.length!==s.length||r.some((function(e,t){return!Object.is(e,s[t])})))&&(null==(n=(a=this.props).onResetKeysChange)||n.call(a,e.resetKeys,i),this.reset())},i.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,s=t.fallback;if(null!==e){var o={error:e,resetErrorBoundary:this.resetErrorBoundary};if(a.isValidElement(s))return s;if("function"==typeof n)return n(o);if(r)return a.createElement(r,o);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(a.Component);e.ErrorBoundary=o,e.useErrorHandler=function(e){var t=a.useState(null),n=t[0],r=t[1];if(null!=e)throw e;if(null!=n)throw n;return r},e.withErrorBoundary=function(e,t){var n=function(n){return a.createElement(o,t,a.createElement(e,n))},r=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+r+")",n},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(99196))},99196:e=>{"use strict";e.exports=window.React}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var s=t[a]={exports:{}};return e[a].call(s.exports,s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},e.apply(this,arguments)}n.r(a),n.d(a,{Alert:()=>O,Autocomplete:()=>jt,AutocompleteField:()=>Ia,Badge:()=>Vt,Button:()=>Pt,Card:()=>qa,Checkbox:()=>Gt,CheckboxGroup:()=>Ba,ChildrenLimiter:()=>Ga,Code:()=>Zt,DropdownMenu:()=>Bo,ErrorBoundary:()=>Xt,FILE_IMPORT_STATUS:()=>ar,FeatureUpsell:()=>Xa,FileImport:()=>lr,ImageSelect:()=>Ko,Label:()=>Wt,Link:()=>tn,Modal:()=>ns,Notifications:()=>cs,Pagination:()=>Es,Paper:()=>ln,Popover:()=>Ps,ProgressBar:()=>un,Radio:()=>pn,RadioGroup:()=>Ls,Root:()=>qs,Select:()=>Fn,SelectField:()=>Bs,SidebarNavigation:()=>ro,SkeletonLoader:()=>An,Spinner:()=>Ct,Stepper:()=>$o,Table:()=>Kn,TagField:()=>oo,TagInput:()=>Zn,TextField:()=>lo,TextInput:()=>Jn,Textarea:()=>ta,TextareaField:()=>uo,Title:()=>ra,Toast:()=>pa,Toggle:()=>Ta,ToggleField:()=>mo,Tooltip:()=>ka,TooltipContainer:()=>bo,TooltipTrigger:()=>vo,TooltipWithContext:()=>go,VALIDATION_ICON_MAP:()=>b,VALIDATION_VARIANTS:()=>y,ValidationIcon:()=>h,ValidationInput:()=>Lt,ValidationMessage:()=>x,useBeforeUnload:()=>Qo,useDescribedBy:()=>Pa,useImageSelectContext:()=>Uo,useKeydown:()=>Yo,useMediaQuery:()=>Jo,useModalContext:()=>Yr,useNavigationContext:()=>no,useNotificationsContext:()=>rs,usePopoverContext:()=>ws,usePrevious:()=>Zo,useRootContext:()=>Xo,useSvgAria:()=>u,useToastContext:()=>oa,useToggleState:()=>Wa,useTooltipContext:()=>yo});var t=n(94184),r=n.n(t);const s=window.yoast.propTypes;var o=n.n(s),i=n(99196),l=n.n(i);const c=window.lodash,u=(e=null)=>(0,i.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]),d=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),p=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),m=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))})),f=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),y={success:"success",warning:"warning",info:"info",error:"error"},b={success:d,warning:p,info:m,error:f},v={variant:{success:"yst-validation-icon--success",warning:"yst-validation-icon--warning",info:"yst-validation-icon--info",error:"yst-validation-icon--error"}},g=({variant:t="info",className:n="",...a})=>{const s=(0,i.useMemo)((()=>b[t]),[t]),o=u();return s?l().createElement(s,e({},o,a,{className:r()("yst-validation-icon",v.variant[t],n)})):null};g.propTypes={variant:o().oneOf((0,c.values)(y)),className:o().string};const h=g,N={variant:{success:"yst-validation-message--success",warning:"yst-validation-message--warning",info:"yst-validation-message--info",error:"yst-validation-message--error"}},E=({as:t="p",variant:n="info",children:a,className:s="",...o})=>l().createElement(t,e({},o,{className:r()("yst-validation-message",N.variant[n],s)}),a);E.propTypes={as:o().elementType,variant:o().oneOf((0,c.keys)(N.variant)),message:o().node,className:o().string,children:o().node.isRequired};const x=E,R={variant:{info:"yst-alert--info",warning:"yst-alert--warning",success:"yst-alert--success",error:"yst-alert--error"}},w={alert:"alert",status:"status"},T=(0,i.forwardRef)((({children:t,role:n="status",as:a="span",variant:s="info",className:o="",...i},c)=>l().createElement(a,e({ref:c,className:r()("yst-alert",R.variant[s],o),role:w[n]},i),l().createElement(h,{variant:s,className:"yst-alert__icon"}),l().createElement(x,{as:"div",variant:s,className:"yst-alert__message"},t)))),C={children:o().node.isRequired,as:o().elementType,variant:o().oneOf(Object.keys(R.variant)),className:o().string,role:o().oneOf(Object.keys(w))};T.displayName="Alert",T.propTypes=C,T.defaultProps={as:"span",variant:"info",className:"",role:"status"};const O=T;var S=Object.defineProperty,k=(e,t,n)=>(((e,t,n)=>{t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let P=new class{constructor(){k(this,"current",this.detect()),k(this,"handoffState","pending"),k(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},_=(e,t)=>{P.isServer?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)};function I(e){let t=(0,i.useRef)(e);return _((()=>{t.current=e}),[e]),t}function L(e,t){let[n,a]=(0,i.useState)(e),r=I(e);return _((()=>a(r.current)),[r,a,...t]),n}function M(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function D(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,a,r)=>(e.addEventListener(t,a,r),n.add((()=>e.removeEventListener(t,a,r)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return M((()=>{t.current&&e[0]()})),n.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}function F(){let[e]=(0,i.useState)(D);return(0,i.useEffect)((()=>()=>e.dispose()),[e]),e}let q=function(e){let t=I(e);return i.useCallback(((...e)=>t.current(...e)),[t])};function A(){let[e,t]=(0,i.useState)(P.isHandoffComplete);return e&&!1===P.isHandoffComplete&&t(!1),(0,i.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,i.useEffect)((()=>P.handoff()),[]),e}var B;let j=null!=(B=i.useId)?B:function(){let e=A(),[t,n]=i.useState(e?()=>P.nextId():null);return _((()=>{null===t&&n(P.nextId())}),[t]),null!=t?""+t:void 0};function H(e,t,...n){if(e in t){let a=t[e];return"function"==typeof a?a(...n):a}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,H),a}function z(e){return P.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let $=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var V,U,W=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(W||{}),K=((U=K||{})[U.Error=0]="Error",U[U.Overflow=1]="Overflow",U[U.Success=2]="Success",U[U.Underflow=3]="Underflow",U),G=((V=G||{})[V.Previous=-1]="Previous",V[V.Next=1]="Next",V);function Q(e=document.body){return null==e?[]:Array.from(e.querySelectorAll($)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Y||{});function Z(e,t=0){var n;return e!==(null==(n=z(e))?void 0:n.body)&&H(t,{0:()=>e.matches($),1(){let t=e;for(;null!==t;){if(t.matches($))return!0;t=t.parentElement}return!1}})}function X(e){let t=z(e);D().nextFrame((()=>{t&&!Z(t.activeElement,0)&&J(e)}))}function J(e){null==e||e.focus({preventScroll:!0})}let ee=["textarea","input"].join(",");function te(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let a=t(e),r=t(n);if(null===a||null===r)return 0;let s=a.compareDocumentPosition(r);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function ne(e,t,{sorted:n=!0,relativeTo:a=null,skipElements:r=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?te(e):e:Q(e);r.length>0&&o.length>1&&(o=o.filter((e=>!r.includes(e)))),a=null!=a?a:s.activeElement;let i,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(a))-1;if(4&t)return Math.max(0,o.indexOf(a))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,p=o.length;do{if(d>=p||d+p<=0)return 0;let e=c+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}i=o[e],null==i||i.focus(u),d+=l}while(i!==s.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ee))&&n}(i)&&i.select(),i.hasAttribute("tabindex")||i.setAttribute("tabindex","0"),2}function ae(e,t,n){let a=I(t);(0,i.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function re(e,t,n=!0){let a=(0,i.useRef)(!1);function r(n,r){if(!a.current||n.defaultPrevented)return;let s=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),o=r(n);if(null!==o&&o.getRootNode().contains(o)){for(let e of s){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!Z(o,Y.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}}(0,i.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let s=(0,i.useRef)(null);ae("mousedown",(e=>{var t,n;a.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),ae("click",(e=>{!s.current||(r(e,(()=>s.current)),s.current=null)}),!0),ae("blur",(e=>r(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function se(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function oe(e,t){let[n,a]=(0,i.useState)((()=>se(e)));return _((()=>{a(se(e))}),[e.type,e.as]),_((()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}let ie=Symbol();function le(e,t=!0){return Object.assign(e,{[ie]:t})}function ce(...e){let t=(0,i.useRef)(e);(0,i.useEffect)((()=>{t.current=e}),[e]);let n=q((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[ie])))?void 0:n}function ue({container:e,accept:t,walk:n,enabled:a=!0}){let r=(0,i.useRef)(t),s=(0,i.useRef)(n);(0,i.useEffect)((()=>{r.current=t,s.current=n}),[t,n]),_((()=>{if(!e||!a)return;let t=z(e);if(!t)return;let n=r.current,o=s.current,i=Object.assign((e=>n(e)),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)o(l.currentNode)}),[e,a,r,s])}var de=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(de||{});function pe(e,t){let n=t.resolveItems();if(n.length<=0)return null;let a=t.resolveActiveIndex(),r=null!=a?a:-1,s=(()=>{switch(e.focus){case 0:return n.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=n.slice().reverse().findIndex(((e,n,a)=>!(-1!==r&&a.length-n-1>=r||t.resolveDisabled(e))));return-1===e?e:n.length-1-e}case 2:return n.findIndex(((e,n)=>!(n<=r||t.resolveDisabled(e))));case 3:{let e=n.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 4:return n.findIndex((n=>t.resolveId(n)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===s?a:s}function me(...e){return e.filter(Boolean).join(" ")}var fe,ye=((fe=ye||{})[fe.None=0]="None",fe[fe.RenderStrategy=1]="RenderStrategy",fe[fe.Static=2]="Static",fe),be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(be||{});function ve({ourProps:e,theirProps:t,slot:n,defaultTag:a,features:r,visible:s=!0,name:o}){let i=he(t,e);if(s)return ge(i,n,a,o);let l=null!=r?r:0;if(2&l){let{static:e=!1,...t}=i;if(e)return ge(t,n,a,o)}if(1&l){let{unmount:e=!0,...t}=i;return H(e?0:1,{0:()=>null,1:()=>ge({...t,hidden:!0,style:{display:"none"}},n,a,o)})}return ge(i,n,a,o)}function ge(e,t={},n,a){var r;let{as:s=n,children:o,refName:l="ref",...c}=xe(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof o?o(t):o;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,n=[];for(let[a,r]of Object.entries(t))"boolean"==typeof r&&(e=!0),!0===r&&n.push(a);e&&(p["data-headlessui-state"]=n.join(" "))}if(s===i.Fragment&&Object.keys(Ee(c)).length>0){if(!(0,i.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=me(null==(r=d.props)?void 0:r.className,c.className),t=e?{className:e}:{};return(0,i.cloneElement)(d,Object.assign({},he(d.props,Ee(xe(c,["ref"]))),p,u,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,u.ref),t))}return(0,i.createElement)(s,Object.assign({},xe(c,["ref"]),s!==i.Fragment&&u,s!==i.Fragment&&p),d)}function he(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let a of e)for(let e in a)e.startsWith("on")&&"function"==typeof a[e]?(null!=n[e]||(n[e]=[]),n[e].push(a[e])):t[e]=a[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...a){let r=n[e];for(let e of r){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...a)}}});return t}function Ne(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Ee(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function xe(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Re(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let a=""===(null==t?void 0:t.getAttribute("disabled"));return(!a||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&a}function we(e={},t=null,n=[]){for(let[a,r]of Object.entries(e))Ce(n,Te(t,a),r);return n}function Te(e,t){return e?e+"["+t+"]":t}function Ce(e,t,n){if(Array.isArray(n))for(let[a,r]of n.entries())Ce(e,Te(t,a.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):we(n,t,e)}var Oe=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Oe||{});let Se=Ne((function(e,t){let{features:n=1,...a}=e;return ve({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})})),ke=(0,i.createContext)(null);ke.displayName="OpenClosedContext";var Pe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Pe||{});function _e(){return(0,i.useContext)(ke)}function Ie({value:e,children:t}){return i.createElement(ke.Provider,{value:e},t)}var Le=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Le||{});function Me(e,t,n){let[a,r]=(0,i.useState)(n),s=void 0!==e,o=(0,i.useRef)(s),l=(0,i.useRef)(!1),c=(0,i.useRef)(!1);return!s||o.current||l.current?!s&&o.current&&!c.current&&(c.current=!0,o.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,o.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:a,q((e=>(s||r(e),null==t?void 0:t(e))))]}function De(e,t){let n=(0,i.useRef)([]),a=q(e);(0,i.useEffect)((()=>{let e=[...n.current];for(let[r,s]of t.entries())if(n.current[r]!==s){let r=a(t,e);return n.current=t,r}}),[a,...t])}function Fe(e){return[e.screenX,e.screenY]}function qe(){let e=(0,i.useRef)([-1,-1]);return{wasMoved(t){let n=Fe(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=Fe(t)}}}var Ae=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ae||{}),Be=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Be||{}),je=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(je||{}),He=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(He||{});function ze(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,a=te(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),r=n?a.indexOf(n):null;return-1===r&&(r=null),{options:a,activeOptionIndex:r}}let $e={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,a=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==a&&(t=a),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let a=ze(e);if(null===a.activeOptionIndex){let e=a.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(a.activeOptionIndex=e)}let r=pe(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,activeOptionIndex:r,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},a=ze(e,(e=>[...e,n]));null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(n));let r={...e,...a,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(r.activeOptionIndex=0),r},4:(e,t)=>{let n=ze(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},Ve=(0,i.createContext)(null);function Ue(e){let t=(0,i.useContext)(Ve);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ue),t}return t}Ve.displayName="ComboboxActionsContext";let We=(0,i.createContext)(null);function Ke(e){let t=(0,i.useContext)(We);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ke),t}return t}function Ge(e,t){return H(t.type,$e,e,t)}We.displayName="ComboboxDataContext";let Qe=i.Fragment,Ye=Ne((function(e,t){let{value:n,defaultValue:a,onChange:r,name:s,by:o=((e,t)=>e===t),disabled:l=!1,__demoMode:c=!1,nullable:u=!1,multiple:d=!1,...p}=e,[m=(d?[]:void 0),f]=Me(n,r,a),[y,b]=(0,i.useReducer)(Ge,{dataRef:(0,i.createRef)(),comboboxState:c?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),v=(0,i.useRef)(!1),g=(0,i.useRef)({static:!1,hold:!1}),h=(0,i.useRef)(null),N=(0,i.useRef)(null),E=(0,i.useRef)(null),x=(0,i.useRef)(null),R=q("string"==typeof o?(e,t)=>{let n=o;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:o),w=(0,i.useCallback)((e=>H(T.mode,{1:()=>m.some((t=>R(t,e))),0:()=>R(m,e)})),[m]),T=(0,i.useMemo)((()=>({...y,optionsPropsRef:g,labelRef:h,inputRef:N,buttonRef:E,optionsRef:x,value:m,defaultValue:a,disabled:l,mode:d?1:0,get activeOptionIndex(){if(v.current&&null===y.activeOptionIndex&&y.options.length>0){let e=y.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return y.activeOptionIndex},compare:R,isSelected:w,nullable:u,__demoMode:c})),[m,a,l,d,u,c,y]);_((()=>{y.dataRef.current=T}),[T]),re([T.buttonRef,T.inputRef,T.optionsRef],(()=>A.closeCombobox()),0===T.comboboxState);let C=(0,i.useMemo)((()=>({open:0===T.comboboxState,disabled:l,activeIndex:T.activeOptionIndex,activeOption:null===T.activeOptionIndex?null:T.options[T.activeOptionIndex].dataRef.current.value,value:m})),[T,l,m]),O=q((e=>{let t=T.options.find((t=>t.id===e));!t||D(t.dataRef.current.value)})),S=q((()=>{if(null!==T.activeOptionIndex){let{dataRef:e,id:t}=T.options[T.activeOptionIndex];D(e.current.value),A.goToOption(de.Specific,t)}})),k=q((()=>{b({type:0}),v.current=!0})),P=q((()=>{b({type:1}),v.current=!1})),I=q(((e,t,n)=>(v.current=!1,e===de.Specific?b({type:2,focus:de.Specific,id:t,trigger:n}):b({type:2,focus:e,trigger:n})))),L=q(((e,t)=>(b({type:3,id:e,dataRef:t}),()=>b({type:4,id:e})))),M=q((e=>(b({type:5,id:e}),()=>b({type:5,id:null})))),D=q((e=>H(T.mode,{0:()=>null==f?void 0:f(e),1(){let t=T.value.slice(),n=t.findIndex((t=>R(t,e)));return-1===n?t.push(e):t.splice(n,1),null==f?void 0:f(t)}}))),A=(0,i.useMemo)((()=>({onChange:D,registerOption:L,registerLabel:M,goToOption:I,closeCombobox:P,openCombobox:k,selectActiveOption:S,selectOption:O})),[]),B=null===t?{}:{ref:t},j=(0,i.useRef)(null),z=F();return(0,i.useEffect)((()=>{!j.current||void 0!==a&&z.addEventListener(j.current,"reset",(()=>{D(a)}))}),[j,D]),i.createElement(Ve.Provider,{value:A},i.createElement(We.Provider,{value:T},i.createElement(Ie,{value:H(T.comboboxState,{0:Pe.Open,1:Pe.Closed})},null!=s&&null!=m&&we({[s]:m}).map((([e,t],n)=>i.createElement(Se,{features:Oe.Hidden,ref:0===n?e=>{var t;j.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ee({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),ve({ourProps:B,theirProps:p,slot:C,defaultTag:Qe,name:"Combobox"}))))})),Ze=Ne((function(e,t){var n,a,r,s;let o=j(),{id:l=`headlessui-combobox-input-${o}`,onChange:c,displayValue:u,type:d="text",...p}=e,m=Ke("Combobox.Input"),f=Ue("Combobox.Input"),y=ce(m.inputRef,t),b=(0,i.useRef)(!1),v=F();var g;De((([e,t],[n,a])=>{b.current||!m.inputRef.current||(0===a&&1===t||e!==n)&&(m.inputRef.current.value=e)}),["function"==typeof u&&void 0!==m.value?null!=(g=u(m.value))?g:"":"string"==typeof m.value?m.value:"",m.comboboxState]),De((([e],[t])=>{if(0===e&&1===t){let e=m.inputRef.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:a,selectionDirection:r}=e;e.value="",e.value=t,null!==r?e.setSelectionRange(n,a,r):e.setSelectionRange(n,a)}}),[m.comboboxState]);let h=(0,i.useRef)(!1),N=q((()=>{h.current=!0})),E=q((()=>{setTimeout((()=>{h.current=!1}))})),x=q((e=>{switch(b.current=!0,e.key){case Le.Backspace:case Le.Delete:if(0!==m.mode||!m.nullable)return;let t=e.currentTarget;v.requestAnimationFrame((()=>{""===t.value&&(f.onChange(null),m.optionsRef.current&&(m.optionsRef.current.scrollTop=0),f.goToOption(de.Nothing))}));break;case Le.Enter:if(b.current=!1,0!==m.comboboxState||h.current)return;if(e.preventDefault(),e.stopPropagation(),null===m.activeOptionIndex)return void f.closeCombobox();f.selectActiveOption(),0===m.mode&&f.closeCombobox();break;case Le.ArrowDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),H(m.comboboxState,{0:()=>{f.goToOption(de.Next)},1:()=>{f.openCombobox()}});case Le.ArrowUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),H(m.comboboxState,{0:()=>{f.goToOption(de.Previous)},1:()=>{f.openCombobox(),v.nextFrame((()=>{m.value||f.goToOption(de.Last)}))}});case Le.Home:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(de.First);case Le.PageUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(de.First);case Le.End:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(de.Last);case Le.PageDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(de.Last);case Le.Escape:return b.current=!1,0!==m.comboboxState?void 0:(e.preventDefault(),m.optionsRef.current&&!m.optionsPropsRef.current.static&&e.stopPropagation(),f.closeCombobox());case Le.Tab:if(b.current=!1,0!==m.comboboxState)return;0===m.mode&&f.selectActiveOption(),f.closeCombobox()}})),R=q((e=>{f.openCombobox(),null==c||c(e)})),w=q((()=>{b.current=!1})),T=L((()=>{if(m.labelId)return[m.labelId].join(" ")}),[m.labelId]),C=(0,i.useMemo)((()=>({open:0===m.comboboxState,disabled:m.disabled})),[m]);return ve({ourProps:{ref:y,id:l,role:"combobox",type:d,"aria-controls":null==(n=m.optionsRef.current)?void 0:n.id,"aria-expanded":m.disabled?void 0:0===m.comboboxState,"aria-activedescendant":null===m.activeOptionIndex||null==(a=m.options[m.activeOptionIndex])?void 0:a.id,"aria-multiselectable":1===m.mode||void 0,"aria-labelledby":T,"aria-autocomplete":"list",defaultValue:null!=(s=null!=(r=e.defaultValue)?r:void 0!==m.defaultValue?null==u?void 0:u(m.defaultValue):null)?s:m.defaultValue,disabled:m.disabled,onCompositionStart:N,onCompositionEnd:E,onKeyDown:x,onChange:R,onBlur:w},theirProps:p,slot:C,defaultTag:"input",name:"Combobox.Input"})})),Xe=Ne((function(e,t){var n;let a=Ke("Combobox.Button"),r=Ue("Combobox.Button"),s=ce(a.buttonRef,t),o=j(),{id:l=`headlessui-combobox-button-${o}`,...c}=e,u=F(),d=q((e=>{switch(e.key){case Le.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&r.openCombobox(),u.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case Le.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(r.openCombobox(),u.nextFrame((()=>{a.value||r.goToOption(de.Last)}))),u.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case Le.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),r.closeCombobox(),u.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),p=q((e=>{if(Re(e.currentTarget))return e.preventDefault();0===a.comboboxState?r.closeCombobox():(e.preventDefault(),r.openCombobox()),u.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),m=L((()=>{if(a.labelId)return[a.labelId,l].join(" ")}),[a.labelId,l]),f=(0,i.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return ve({ourProps:{ref:s,id:l,type:oe(e,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=a.optionsRef.current)?void 0:n.id,"aria-expanded":a.disabled?void 0:0===a.comboboxState,"aria-labelledby":m,disabled:a.disabled,onClick:p,onKeyDown:d},theirProps:c,slot:f,defaultTag:"button",name:"Combobox.Button"})})),Je=Ne((function(e,t){let n=j(),{id:a=`headlessui-combobox-label-${n}`,...r}=e,s=Ke("Combobox.Label"),o=Ue("Combobox.Label"),l=ce(s.labelRef,t);_((()=>o.registerLabel(a)),[a]);let c=q((()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})})),u=(0,i.useMemo)((()=>({open:0===s.comboboxState,disabled:s.disabled})),[s]);return ve({ourProps:{ref:l,id:a,onClick:c},theirProps:r,slot:u,defaultTag:"label",name:"Combobox.Label"})})),et=ye.RenderStrategy|ye.Static,tt=Ne((function(e,t){let n=j(),{id:a=`headlessui-combobox-options-${n}`,hold:r=!1,...s}=e,o=Ke("Combobox.Options"),l=ce(o.optionsRef,t),c=_e(),u=null!==c?c===Pe.Open:0===o.comboboxState;_((()=>{var t;o.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[o.optionsPropsRef,e.static]),_((()=>{o.optionsPropsRef.current.hold=r}),[o.optionsPropsRef,r]),ue({container:o.optionsRef.current,enabled:0===o.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let d=L((()=>{var e,t;return null!=(t=o.labelId)?t:null==(e=o.buttonRef.current)?void 0:e.id}),[o.labelId,o.buttonRef.current]);return ve({ourProps:{"aria-labelledby":d,role:"listbox",id:a,ref:l},theirProps:s,slot:(0,i.useMemo)((()=>({open:0===o.comboboxState})),[o]),defaultTag:"ul",features:et,visible:u,name:"Combobox.Options"})})),nt=Ne((function(e,t){var n,a;let r=j(),{id:s=`headlessui-combobox-option-${r}`,disabled:o=!1,value:l,...c}=e,u=Ke("Combobox.Option"),d=Ue("Combobox.Option"),p=null!==u.activeOptionIndex&&u.options[u.activeOptionIndex].id===s,m=u.isSelected(l),f=(0,i.useRef)(null),y=I({disabled:o,value:l,domRef:f,textValue:null==(a=null==(n=f.current)?void 0:n.textContent)?void 0:a.toLowerCase()}),b=ce(t,f),v=q((()=>d.selectOption(s)));_((()=>d.registerOption(s,y)),[y,s]);let g=(0,i.useRef)(!u.__demoMode);_((()=>{if(!u.__demoMode)return;let e=D();return e.requestAnimationFrame((()=>{g.current=!0})),e.dispose}),[]),_((()=>{if(0!==u.comboboxState||!p||!g.current||0===u.activationTrigger)return;let e=D();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[f,p,u.comboboxState,u.activationTrigger,u.activeOptionIndex]);let h=q((e=>{if(o)return e.preventDefault();v(),0===u.mode&&d.closeCombobox()})),N=q((()=>{if(o)return d.goToOption(de.Nothing);d.goToOption(de.Specific,s)})),E=qe(),x=q((e=>E.update(e))),R=q((e=>{!E.wasMoved(e)||o||p||d.goToOption(de.Specific,s,0)})),w=q((e=>{!E.wasMoved(e)||o||!p||u.optionsPropsRef.current.hold||d.goToOption(de.Nothing)})),T=(0,i.useMemo)((()=>({active:p,selected:m,disabled:o})),[p,m,o]);return ve({ourProps:{id:s,ref:b,role:"option",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,"aria-selected":m,disabled:void 0,onClick:h,onFocus:N,onPointerEnter:x,onMouseEnter:x,onPointerMove:R,onMouseMove:R,onPointerLeave:w,onMouseLeave:w},theirProps:c,slot:T,defaultTag:"li",name:"Combobox.Option"})})),at=Object.assign(Ye,{Input:Ze,Button:Xe,Label:Je,Options:tt,Option:nt});function rt(){let e=(0,i.useRef)(!1);return _((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function st(e,...t){e&&t.length>0&&e.classList.add(...t)}function ot(e,...t){e&&t.length>0&&e.classList.remove(...t)}function it(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let lt=(0,i.createContext)(null);lt.displayName="TransitionContext";var ct=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ct||{});let ut=(0,i.createContext)(null);function dt(e){return"children"in e?dt(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function pt(e,t){let n=I(e),a=(0,i.useRef)([]),r=rt(),s=F(),o=q(((e,t=be.Hidden)=>{let o=a.current.findIndex((({el:t})=>t===e));-1!==o&&(H(t,{[be.Unmount](){a.current.splice(o,1)},[be.Hidden](){a.current[o].state="hidden"}}),s.microTask((()=>{var e;!dt(a)&&r.current&&(null==(e=n.current)||e.call(n))})))})),l=q((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>o(e,be.Unmount)})),c=(0,i.useRef)([]),u=(0,i.useRef)(Promise.resolve()),d=(0,i.useRef)({enter:[],leave:[],idle:[]}),p=q(((e,n,a)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>a(n))):a(n)})),m=q(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,i.useMemo)((()=>({children:a,register:l,unregister:o,onStart:p,onStop:m,wait:u,chains:d})),[l,o,a,p,m,d,u])}function mt(){}ut.displayName="NestingContext";let ft=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function yt(e){var t;let n={};for(let a of ft)n[a]=null!=(t=e[a])?t:mt;return n}let bt=ye.RenderStrategy,vt=Ne((function(e,t){let{beforeEnter:n,afterEnter:a,beforeLeave:r,afterLeave:s,enter:o,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:p,leaveTo:m,...f}=e,y=(0,i.useRef)(null),b=ce(y,t),v=f.unmount?be.Unmount:be.Hidden,{show:g,appear:h,initial:N}=function(){let e=(0,i.useContext)(lt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[E,x]=(0,i.useState)(g?"visible":"hidden"),R=function(){let e=(0,i.useContext)(ut);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:w,unregister:T}=R,C=(0,i.useRef)(null);(0,i.useEffect)((()=>w(y)),[w,y]),(0,i.useEffect)((()=>{if(v===be.Hidden&&y.current)return g&&"visible"!==E?void x("visible"):H(E,{hidden:()=>T(y),visible:()=>w(y)})}),[E,y,w,T,g,v]);let O=I({enter:it(o),enterFrom:it(l),enterTo:it(c),entered:it(u),leave:it(d),leaveFrom:it(p),leaveTo:it(m)}),S=function(e){let t=(0,i.useRef)(yt(e));return(0,i.useEffect)((()=>{t.current=yt(e)}),[e]),t}({beforeEnter:n,afterEnter:a,beforeLeave:r,afterLeave:s}),k=A();(0,i.useEffect)((()=>{if(k&&"visible"===E&&null===y.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[y,E,k]);let L=N&&!h,M=!k||L||C.current===g?"idle":g?"enter":"leave",B=q((e=>H(e,{enter:()=>S.current.beforeEnter(),leave:()=>S.current.beforeLeave(),idle:()=>{}}))),j=q((e=>H(e,{enter:()=>S.current.afterEnter(),leave:()=>S.current.afterLeave(),idle:()=>{}}))),z=pt((()=>{x("hidden"),T(y)}),R);(function({container:e,direction:t,classes:n,onStart:a,onStop:r}){let s=rt(),o=F(),i=I(t);_((()=>{let t=D();o.add(t.dispose);let l=e.current;if(l&&"idle"!==i.current&&s.current)return t.dispose(),a.current(i.current),t.add(function(e,t,n,a){let r=n?"enter":"leave",s=D(),o=void 0!==a?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(a):()=>{};"enter"===r&&(e.removeAttribute("hidden"),e.style.display="");let i=H(r,{enter:()=>t.enter,leave:()=>t.leave}),l=H(r,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=H(r,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ot(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),st(e,...i,...c),s.nextFrame((()=>{ot(e,...c),st(e,...l),function(e,t){let n=D();if(!e)return n.dispose;let{transitionDuration:a,transitionDelay:r}=getComputedStyle(e),[s,o]=[a,r].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(s+o!==0){let a=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),a())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(ot(e,...i),st(e,...t.entered),o())))})),s.dispose}(l,n.current,"enter"===i.current,(()=>{t.dispose(),r.current(i.current)}))),t.dispose}),[t])})({container:y,classes:O,direction:M,onStart:I((e=>{z.onStart(y,e,B)})),onStop:I((e=>{z.onStop(y,e,j),"leave"===e&&!dt(z)&&(x("hidden"),T(y))}))}),(0,i.useEffect)((()=>{!L||(v===be.Hidden?C.current=null:C.current=g)}),[g,L,E]);let $=f,V={ref:b};return h&&g&&P.isServer&&($={...$,className:me(f.className,...O.current.enter,...O.current.enterFrom)}),i.createElement(ut.Provider,{value:z},i.createElement(Ie,{value:H(E,{visible:Pe.Open,hidden:Pe.Closed})},ve({ourProps:V,theirProps:$,defaultTag:"div",features:bt,visible:"visible"===E,name:"Transition.Child"})))})),gt=Ne((function(e,t){let{show:n,appear:a=!1,unmount:r,...s}=e,o=(0,i.useRef)(null),l=ce(o,t);A();let c=_e();if(void 0===n&&null!==c&&(n=H(c,{[Pe.Open]:!0,[Pe.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,i.useState)(n?"visible":"hidden"),p=pt((()=>{d("hidden")})),[m,f]=(0,i.useState)(!0),y=(0,i.useRef)([n]);_((()=>{!1!==m&&y.current[y.current.length-1]!==n&&(y.current.push(n),f(!1))}),[y,n]);let b=(0,i.useMemo)((()=>({show:n,appear:a,initial:m})),[n,a,m]);(0,i.useEffect)((()=>{if(n)d("visible");else if(dt(p)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,p]);let v={unmount:r};return i.createElement(ut.Provider,{value:p},i.createElement(lt.Provider,{value:b},ve({ourProps:{...v,as:i.Fragment,children:i.createElement(vt,{ref:l,...v,...s})},theirProps:{},defaultTag:i.Fragment,features:bt,visible:"visible"===u,name:"Transition"})))})),ht=Ne((function(e,t){let n=null!==(0,i.useContext)(lt),a=null!==_e();return i.createElement(i.Fragment,null,!n&&a?i.createElement(gt,{ref:t,...e}):i.createElement(vt,{ref:t,...e}))})),Nt=Object.assign(gt,{Child:ht,Root:gt});const Et=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),xt=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),Rt=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),wt={variant:{default:"",primary:"yst-text-primary-500",white:"yst-text-white"},size:{3:"yst-w-3 yst-h-3",4:"yst-w-4 yst-h-4",8:"yst-w-8 yst-h-8"}},Tt=(0,i.forwardRef)((({variant:t,size:n,className:a},s)=>{const o=u();return l().createElement("svg",e({ref:s,xmlns:"http://www.w3.org/2000/svg/",fill:"none",viewBox:"0 0 24 24",className:r()("yst-animate-spin",wt.variant[t],wt.size[n],a)},o),l().createElement("circle",{className:"yst-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),l().createElement("path",{className:"yst-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}));Tt.displayName="Spinner",Tt.propTypes={variant:o().oneOf((0,c.keys)(wt.variant)),size:o().oneOf((0,c.keys)(wt.size)),className:o().string},Tt.defaultProps={variant:"default",size:"4",className:""};const Ct=Tt,Ot=({pressed:e=!1,className:t=""})=>{const n=`gradient-${(0,i.useId)()}`;return l().createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},l().createElement("path",{d:"M3.33284 2.96991V5.63658M1.99951 4.30324H4.66618M3.99951 12.3032V14.9699M2.66618 13.6366H5.33284M8.66618 2.96991L10.19 7.54134L13.9995 8.96991L10.19 10.3985L8.66618 14.9699L7.14237 10.3985L3.33284 8.96991L7.14237 7.54134L8.66618 2.96991Z",strokeLinecap:"round",strokeLinejoin:"round",stroke:e?"white":`url(#${n})`,style:{strokeWidth:"1.33333px"}}),l().createElement("defs",null,l().createElement("linearGradient",{id:n,x1:"1.99951",y1:"2.96991",x2:"15.3308",y2:"4.69764",gradientUnits:"userSpaceOnUse"},l().createElement("stop",{offset:"0%",stopColor:"#A61E69"}),l().createElement("stop",{offset:"100%",stopColor:"#6366F1"}))))};Ot.propTypes={pressed:o().bool,className:o().string};const St={variant:{primary:"yst-button--primary",secondary:"yst-button--secondary",tertiary:"yst-button--tertiary",error:"yst-button--error",upsell:"yst-button--upsell","ai-primary":"yst-button--ai-primary","ai-secondary":"yst-button--ai-secondary"},size:{default:"",small:"yst-button--small",large:"yst-button--large","extra-large":"yst-button--extra-large"}},kt=(0,i.forwardRef)((({children:t,as:n,type:a,variant:s,size:o,isLoading:i,disabled:c,className:d,...p},m)=>{const f=u();return l().createElement(n,e({type:a||"button"===n&&"button"||void 0,disabled:c,ref:m,className:r()("yst-button",St.variant[s],St.size[o],i&&"yst-cursor-wait",c&&"yst-button--disabled",d)},p),i&&l().createElement(Ct,e({size:"small"===o?"3":"4",className:"yst-button--loading"},f)),s.startsWith("ai-")&&l().createElement(Ot,e({className:"yst-button--sparkles-icon yst-shrink-0"},f)),t)}));kt.displayName="Button",kt.propTypes={children:o().node.isRequired,as:o().elementType,type:o().oneOf(["button","submit","reset"]),variant:o().oneOf((0,c.keys)(St.variant)),size:o().oneOf((0,c.keys)(St.size)),isLoading:o().bool,disabled:o().bool,className:o().string},kt.defaultProps={as:"button",type:void 0,variant:"primary",size:"default",isLoading:!1,disabled:!1,className:""};const Pt=kt,_t={variant:{success:"yst-validation-input--success",warning:"yst-validation-input--warning",info:"yst-validation-input--info",error:"yst-validation-input--error"}},It=(0,i.forwardRef)((({as:t,validation:n={},className:a="",...s},o)=>l().createElement("div",{className:r()("yst-validation-input",(null==n?void 0:n.message)&&_t.variant[null==n?void 0:n.variant])},l().createElement(t,e({ref:o},s,{className:r()("yst-validation-input__input",a)})),(null==n?void 0:n.message)&&l().createElement(h,{variant:null==n?void 0:n.variant,className:"yst-validation-input__icon"}))));It.displayName="ValidationInput",It.propTypes={as:o().elementType.isRequired,validation:o().shape({variant:o().string,message:o().node}),className:o().string},It.defaultProps={validation:{},className:""};const Lt=It,Mt=(0,i.forwardRef)(((t,n)=>l().createElement(at.Button,e({as:"div",ref:n},t))));Mt.displayName="AutocompleteButton";const Dt=({children:t=null,value:n})=>{const a=u(),s=(0,i.useCallback)((({active:e,selected:t})=>r()("yst-autocomplete__option",t&&"yst-autocomplete__option--selected",e&&!t&&"yst-autocomplete__option--active")),[]);return l().createElement(at.Option,{className:s,value:n},(({selected:n})=>l().createElement(l().Fragment,null,l().createElement("span",{className:r()("yst-autocomplete__option-label",n&&"yst-font-semibold")},t),n&&l().createElement(xt,e({className:"yst-autocomplete__option-check"},a)))))},Ft={children:o().node,value:o().oneOfType([o().string,o().number,o().bool]).isRequired};Dt.propTypes=Ft;const qt=({onClear:t,svgAriaProps:n,screenReaderText:a})=>{const r=(0,i.useCallback)((e=>{e.preventDefault(),t(null)}),[t]);return l().createElement(Pt,{variant:"tertiary",className:"yst-autocomplete__clear-action",onClick:r},l().createElement("span",{className:"yst-sr-only"},a),l().createElement(Et,e({className:"yst-autocomplete__action-icon"},n)))};qt.propTypes={onClear:o().func.isRequired,svgAriaProps:o().object.isRequired,screenReaderText:o().string.isRequired};const At=(0,i.forwardRef)((({id:t,value:n,children:a,selectedLabel:s,label:o,labelProps:d,labelSuffix:p,onChange:m,onQueryChange:f,onClear:y,validation:b,placeholder:v,className:g,buttonProps:h,clearButtonScreenReaderText:N,nullable:E,disabled:x,...R},w)=>{const T=(0,i.useCallback)((0,c.constant)(s),[s]),C=u(),O=E&&s,S=!(null!=b&&b.message),k=O||S;return l().createElement(at,e({ref:w,as:"div",value:n,onChange:m,className:r()("yst-autocomplete",x&&"yst-autocomplete--disabled",g),disabled:x},R),o&&l().createElement("div",{className:"yst-flex yst-items-center yst-mb-2"},l().createElement(at.Label,d,o),p),l().createElement("div",{className:"yst-relative"},l().createElement(Lt,e({as:Mt,"data-id":t,validation:b,className:"yst-autocomplete__button"},h),l().createElement(at.Input,{className:"yst-autocomplete__input",autoComplete:"off",placeholder:v,displayValue:T,onChange:f}),k&&l().createElement("div",{className:"yst-autocomplete__action-container"},O&&l().createElement(l().Fragment,null,l().createElement(qt,{onClear:y||m,svgAriaProps:C,screenReaderText:N}),l().createElement("hr",{className:"yst-autocomplete__action-separator"})),S&&l().createElement(Rt,e({className:"yst-autocomplete__action-icon yst-pointer-events-none"},C)))),l().createElement(Nt,{as:i.Fragment,enter:"yst-transition yst-duration-100 yst-ease-out",enterFrom:"yst-transform yst-scale-95 yst-opacity-0",enterTo:"yst-transform yst-scale-100 yst-opacity-100",leave:"yst-transition yst-duration-75 yst-ease-out",leaveFrom:"yst-transform yst-scale-100 yst-opacity-100",leaveTo:"yst-transform yst-scale-95 yst-opacity-0"},l().createElement(at.Options,{className:"yst-autocomplete__options"},a))))})),Bt={id:o().string.isRequired,value:o().oneOfType([o().string,o().number,o().bool]),children:o().node,selectedLabel:o().string,label:o().string,labelProps:o().object,labelSuffix:o().node,onChange:o().func.isRequired,onQueryChange:o().func.isRequired,validation:o().shape({variant:o().string,message:o().node}),placeholder:o().string,className:o().string,buttonProps:o().object,clearButtonScreenReaderText:o().string,nullable:o().bool,onClear:o().func,disabled:o().bool};At.displayName="Autocomplete",At.propTypes=Bt,At.defaultProps={children:null,value:null,selectedLabel:"",label:"",labelProps:{},labelSuffix:null,validation:{},placeholder:"",className:"",buttonProps:{},clearButtonScreenReaderText:"Clear",nullable:!1,onClear:null,disabled:!1},At.Option=Dt,At.Option.displayName="Autocomplete.Option";const jt=At,Ht={variant:{info:"yst-badge--info",upsell:"yst-badge--upsell",plain:"yst-badge--plain",success:"yst-badge--success",error:"yst-badge--error",ai:"yst-badge--ai"},size:{default:"",small:"yst-badge--small",large:"yst-badge--large"}},zt=(0,i.forwardRef)((({children:t,as:n,variant:a,size:s,className:o,...i},c)=>l().createElement(n,e({ref:c,className:r()("yst-badge",Ht.variant[a],Ht.size[s],o)},i),t))),$t={children:o().node.isRequired,as:o().elementType,variant:o().oneOf(Object.keys(Ht.variant)),size:o().oneOf(Object.keys(Ht.size)),className:o().string};zt.displayName="Badge",zt.propTypes=$t,zt.defaultProps={as:"span",variant:"info",size:"default",className:""};const Vt=zt,Ut=(0,i.forwardRef)((({as:t,className:n,label:a,children:s,...o},i)=>l().createElement(t,e({ref:i,className:r()("yst-label",n)},o),a||s||null)));Ut.displayName="Label",Ut.propTypes={label:o().string,children:o().string,as:o().elementType,className:o().string},Ut.defaultProps={label:"",children:"",as:"label",className:""};const Wt=Ut,Kt=(0,i.forwardRef)((({id:t,name:n,value:a,label:s="",disabled:o=!1,className:i="",...c},u)=>l().createElement("div",{className:r()("yst-checkbox",o&&"yst-checkbox--disabled",i)},l().createElement("input",e({ref:u,type:"checkbox",id:t,name:n,value:a,disabled:o,className:"yst-checkbox__input"},c)),s&&l().createElement(Wt,{htmlFor:t,className:"yst-checkbox__label",label:s}))));Kt.displayName="Checkbox",Kt.propTypes={id:o().string.isRequired,name:o().string.isRequired,value:o().string.isRequired,label:o().string,className:o().string,disabled:o().bool},Kt.defaultProps={className:"",disabled:!1,label:""};const Gt=Kt,Qt={variant:{default:"",block:"yst-code--block"}},Yt=(0,i.forwardRef)((({children:t,variant:n="default",className:a="",...s},o)=>l().createElement("code",e({ref:o,className:r()("yst-code",Qt.variant[n],a)},s),t)));Yt.displayName="Code",Yt.propTypes={children:o().node.isRequired,variant:o().oneOf(Object.keys(Qt.variant)),className:o().string},Yt.defaultProps={variant:"default",className:""};const Zt=Yt,Xt=n(35800).ErrorBoundary,Jt={variant:{default:"yst-link--default",primary:"yst-link--primary",error:"yst-link--error"}},en=(0,i.forwardRef)((({as:t,variant:n,className:a,children:s,...o},i)=>l().createElement(t,e({ref:i,className:r()("yst-link",Jt.variant[n],a)},o),s)));en.displayName="Link",en.propTypes={children:o().node.isRequired,variant:o().oneOf(Object.keys(Jt.variant)),as:o().elementType,className:o().string},en.defaultProps={as:"a",variant:"default",className:""};const tn=en,nn=({as:e="div",className:t="",children:n})=>l().createElement(e,{className:r()("yst-paper__content",t)},n);nn.propTypes={as:o().node,className:o().string,children:o().node.isRequired};const an=nn,rn=({as:e="header",className:t="",children:n})=>l().createElement(e,{className:r()("yst-paper__header",t)},n);rn.propTypes={as:o().node,className:o().string,children:o().node.isRequired};const sn=rn,on=(0,i.forwardRef)((({as:e="div",className:t="",children:n},a)=>l().createElement(e,{ref:a,className:r()("yst-paper",t)},n)));on.displayName="Paper",on.propTypes={as:o().node,className:o().string,children:o().node.isRequired},on.defaultProps={as:"div",className:""},on.Header=sn,on.Header.displayName="Paper.Header",on.Content=an,on.Content.displayName="Paper.Content";const ln=on,cn=(0,i.forwardRef)((({min:t,max:n,progress:a,className:s="",progressClassName:o="",...c},u)=>{const d=(0,i.useMemo)((()=>a/(n-t)*100),[t,n,a]);return l().createElement("div",e({ref:u,"aria-hidden":"true",className:r()("yst-progress-bar",s)},c),l().createElement("div",{className:r()("yst-progress-bar__progress",o),style:{width:`${d}%`}}))}));cn.displayName="ProgressBar",cn.propTypes={min:o().number.isRequired,max:o().number.isRequired,progress:o().number.isRequired,progressClassName:o().string,className:o().string},cn.defaultProps={className:""};const un=cn,dn=(0,i.forwardRef)((({id:t,name:n,value:a,label:s,screenReaderLabel:o,variant:i,disabled:c,className:p,isLabelDangerousHtml:m,...f},y)=>{const b=u();return"inline-block"===i?l().createElement("div",{className:r()("yst-radio","yst-radio--inline-block",c&&"yst-radio--disabled",p)},l().createElement("input",e({type:"radio",id:t,name:n,value:a,disabled:c,className:"yst-radio__input","aria-label":o},f)),l().createElement("span",{className:"yst-radio__content"},l().createElement(Wt,{htmlFor:t,className:"yst-radio__label",label:m?null:s,dangerouslySetInnerHTML:m?{__html:s}:null}),l().createElement(d,e({className:"yst-radio__check"},b)))):l().createElement("div",{className:r()("yst-radio",c&&"yst-radio--disabled",p)},l().createElement("input",e({ref:y,type:"radio",id:t,name:n,value:a,disabled:c,className:"yst-radio__input"},f)),l().createElement(Wt,{htmlFor:t,className:"yst-radio__label",label:m?null:s,dangerouslySetInnerHTML:m?{__html:s}:null}))}));dn.displayName="Radio",dn.propTypes={name:o().string.isRequired,id:o().string.isRequired,value:o().string.isRequired,label:o().string.isRequired,isLabelDangerousHtml:o().bool,screenReaderLabel:o().string,variant:o().oneOf(Object.keys({default:"","inline-block":"yst-radio--inline-block"})),disabled:o().bool,className:o().string},dn.defaultProps={screenReaderLabel:"",variant:"default",disabled:!1,className:"",isLabelDangerousHtml:!1};const pn=dn;var mn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(mn||{}),fn=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(fn||{}),yn=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(yn||{}),bn=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(bn||{});function vn(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,a=te(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),r=n?a.indexOf(n):null;return-1===r&&(r=null),{options:a,activeOptionIndex:r}}let gn={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,a=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==a&&(t=a),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a=vn(e),r=pe(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,searchQuery:"",activeOptionIndex:r,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,a=e.searchQuery+t.value.toLowerCase(),r=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find((e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(a))})),s=r?e.options.indexOf(r):-1;return-1===s||s===e.activeOptionIndex?{...e,searchQuery:a}:{...e,searchQuery:a,activeOptionIndex:s,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},a=vn(e,(e=>[...e,n]));return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(n)),{...e,...a}},6:(e,t)=>{let n=vn(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},hn=(0,i.createContext)(null);function Nn(e){let t=(0,i.useContext)(hn);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Nn),t}return t}hn.displayName="ListboxActionsContext";let En=(0,i.createContext)(null);function xn(e){let t=(0,i.useContext)(En);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,xn),t}return t}function Rn(e,t){return H(t.type,gn,e,t)}En.displayName="ListboxDataContext";let wn=i.Fragment,Tn=Ne((function(e,t){let{value:n,defaultValue:a,name:r,onChange:s,by:o=((e,t)=>e===t),disabled:l=!1,horizontal:c=!1,multiple:u=!1,...d}=e;const p=c?"horizontal":"vertical";let m=ce(t),[f=(u?[]:void 0),y]=Me(n,s,a),[b,v]=(0,i.useReducer)(Rn,{dataRef:(0,i.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),g=(0,i.useRef)({static:!1,hold:!1}),h=(0,i.useRef)(null),N=(0,i.useRef)(null),E=(0,i.useRef)(null),x=q("string"==typeof o?(e,t)=>{let n=o;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:o),R=(0,i.useCallback)((e=>H(w.mode,{1:()=>f.some((t=>x(t,e))),0:()=>x(f,e)})),[f]),w=(0,i.useMemo)((()=>({...b,value:f,disabled:l,mode:u?1:0,orientation:p,compare:x,isSelected:R,optionsPropsRef:g,labelRef:h,buttonRef:N,optionsRef:E})),[f,l,u,b]);_((()=>{b.dataRef.current=w}),[w]),re([w.buttonRef,w.optionsRef],((e,t)=>{var n;v({type:1}),Z(t,Y.Loose)||(e.preventDefault(),null==(n=w.buttonRef.current)||n.focus())}),0===w.listboxState);let T=(0,i.useMemo)((()=>({open:0===w.listboxState,disabled:l,value:f})),[w,l,f]),C=q((e=>{let t=w.options.find((t=>t.id===e));!t||M(t.dataRef.current.value)})),O=q((()=>{if(null!==w.activeOptionIndex){let{dataRef:e,id:t}=w.options[w.activeOptionIndex];M(e.current.value),v({type:2,focus:de.Specific,id:t})}})),S=q((()=>v({type:0}))),k=q((()=>v({type:1}))),P=q(((e,t,n)=>e===de.Specific?v({type:2,focus:de.Specific,id:t,trigger:n}):v({type:2,focus:e,trigger:n}))),I=q(((e,t)=>(v({type:5,id:e,dataRef:t}),()=>v({type:6,id:e})))),L=q((e=>(v({type:7,id:e}),()=>v({type:7,id:null})))),M=q((e=>H(w.mode,{0:()=>null==y?void 0:y(e),1(){let t=w.value.slice(),n=t.findIndex((t=>x(t,e)));return-1===n?t.push(e):t.splice(n,1),null==y?void 0:y(t)}}))),D=q((e=>v({type:3,value:e}))),A=q((()=>v({type:4}))),B=(0,i.useMemo)((()=>({onChange:M,registerOption:I,registerLabel:L,goToOption:P,closeListbox:k,openListbox:S,selectActiveOption:O,selectOption:C,search:D,clearSearch:A})),[]),j={ref:m},z=(0,i.useRef)(null),$=F();return(0,i.useEffect)((()=>{!z.current||void 0!==a&&$.addEventListener(z.current,"reset",(()=>{M(a)}))}),[z,M]),i.createElement(hn.Provider,{value:B},i.createElement(En.Provider,{value:w},i.createElement(Ie,{value:H(w.listboxState,{0:Pe.Open,1:Pe.Closed})},null!=r&&null!=f&&we({[r]:f}).map((([e,t],n)=>i.createElement(Se,{features:Oe.Hidden,ref:0===n?e=>{var t;z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ee({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),ve({ourProps:j,theirProps:d,slot:T,defaultTag:wn,name:"Listbox"}))))})),Cn=Ne((function(e,t){var n;let a=j(),{id:r=`headlessui-listbox-button-${a}`,...s}=e,o=xn("Listbox.Button"),l=Nn("Listbox.Button"),c=ce(o.buttonRef,t),u=F(),d=q((e=>{switch(e.key){case Le.Space:case Le.Enter:case Le.ArrowDown:e.preventDefault(),l.openListbox(),u.nextFrame((()=>{o.value||l.goToOption(de.First)}));break;case Le.ArrowUp:e.preventDefault(),l.openListbox(),u.nextFrame((()=>{o.value||l.goToOption(de.Last)}))}})),p=q((e=>{e.key===Le.Space&&e.preventDefault()})),m=q((e=>{if(Re(e.currentTarget))return e.preventDefault();0===o.listboxState?(l.closeListbox(),u.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),l.openListbox())})),f=L((()=>{if(o.labelId)return[o.labelId,r].join(" ")}),[o.labelId,r]),y=(0,i.useMemo)((()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value})),[o]);return ve({ourProps:{ref:c,id:r,type:oe(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.listboxState,"aria-labelledby":f,disabled:o.disabled,onKeyDown:d,onKeyUp:p,onClick:m},theirProps:s,slot:y,defaultTag:"button",name:"Listbox.Button"})})),On=Ne((function(e,t){let n=j(),{id:a=`headlessui-listbox-label-${n}`,...r}=e,s=xn("Listbox.Label"),o=Nn("Listbox.Label"),l=ce(s.labelRef,t);_((()=>o.registerLabel(a)),[a]);let c=q((()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})})),u=(0,i.useMemo)((()=>({open:0===s.listboxState,disabled:s.disabled})),[s]);return ve({ourProps:{ref:l,id:a,onClick:c},theirProps:r,slot:u,defaultTag:"label",name:"Listbox.Label"})})),Sn=ye.RenderStrategy|ye.Static,kn=Ne((function(e,t){var n;let a=j(),{id:r=`headlessui-listbox-options-${a}`,...s}=e,o=xn("Listbox.Options"),l=Nn("Listbox.Options"),c=ce(o.optionsRef,t),u=F(),d=F(),p=_e(),m=null!==p?p===Pe.Open:0===o.listboxState;(0,i.useEffect)((()=>{var e;let t=o.optionsRef.current;!t||0===o.listboxState&&t!==(null==(e=z(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})}),[o.listboxState,o.optionsRef]);let f=q((e=>{switch(d.dispose(),e.key){case Le.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),l.search(e.key);case Le.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];l.onChange(e.current.value)}0===o.mode&&(l.closeListbox(),D().nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})));break;case H(o.orientation,{vertical:Le.ArrowDown,horizontal:Le.ArrowRight}):return e.preventDefault(),e.stopPropagation(),l.goToOption(de.Next);case H(o.orientation,{vertical:Le.ArrowUp,horizontal:Le.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),l.goToOption(de.Previous);case Le.Home:case Le.PageUp:return e.preventDefault(),e.stopPropagation(),l.goToOption(de.First);case Le.End:case Le.PageDown:return e.preventDefault(),e.stopPropagation(),l.goToOption(de.Last);case Le.Escape:return e.preventDefault(),e.stopPropagation(),l.closeListbox(),u.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case Le.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(l.search(e.key),d.setTimeout((()=>l.clearSearch()),350))}})),y=L((()=>{var e,t,n;return null!=(n=null==(e=o.labelRef.current)?void 0:e.id)?n:null==(t=o.buttonRef.current)?void 0:t.id}),[o.labelRef.current,o.buttonRef.current]),b=(0,i.useMemo)((()=>({open:0===o.listboxState})),[o]);return ve({ourProps:{"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":y,"aria-orientation":o.orientation,id:r,onKeyDown:f,role:"listbox",tabIndex:0,ref:c},theirProps:s,slot:b,defaultTag:"ul",features:Sn,visible:m,name:"Listbox.Options"})})),Pn=Ne((function(e,t){let n=j(),{id:a=`headlessui-listbox-option-${n}`,disabled:r=!1,value:s,...o}=e,l=xn("Listbox.Option"),c=Nn("Listbox.Option"),u=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===a,d=l.isSelected(s),p=(0,i.useRef)(null),m=I({disabled:r,value:s,domRef:p,get textValue(){var e,t;return null==(t=null==(e=p.current)?void 0:e.textContent)?void 0:t.toLowerCase()}}),f=ce(t,p);_((()=>{if(0!==l.listboxState||!u||0===l.activationTrigger)return;let e=D();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[p,u,l.listboxState,l.activationTrigger,l.activeOptionIndex]),_((()=>c.registerOption(a,m)),[m,a]);let y=q((e=>{if(r)return e.preventDefault();c.onChange(s),0===l.mode&&(c.closeListbox(),D().nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})})))})),b=q((()=>{if(r)return c.goToOption(de.Nothing);c.goToOption(de.Specific,a)})),v=qe(),g=q((e=>v.update(e))),h=q((e=>{!v.wasMoved(e)||r||u||c.goToOption(de.Specific,a,0)})),N=q((e=>{!v.wasMoved(e)||r||!u||c.goToOption(de.Nothing)})),E=(0,i.useMemo)((()=>({active:u,selected:d,disabled:r})),[u,d,r]);return ve({ourProps:{id:a,ref:f,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":d,disabled:void 0,onClick:y,onFocus:b,onPointerEnter:g,onMouseEnter:g,onPointerMove:h,onMouseMove:h,onPointerLeave:N,onMouseLeave:N},theirProps:o,slot:E,defaultTag:"li",name:"Listbox.Option"})})),In=Object.assign(Tn,{Button:Cn,Label:On,Options:kn,Option:Pn});const Ln={value:o().oneOfType([o().string,o().number,o().bool]).isRequired,label:o().string.isRequired},Mn=({value:t,label:n})=>{const a=u(),s=(0,i.useCallback)((({active:e,selected:t})=>r()("yst-select__option",e&&"yst-select__option--active",t&&"yst-select__option--selected")),[]);return l().createElement(In.Option,{value:t,className:s},(({selected:t})=>l().createElement(l().Fragment,null,l().createElement("span",{className:r()("yst-select__option-label",t&&"yst-font-semibold")},n),t&&l().createElement(xt,e({className:"yst-select__option-check"},a)))))};Mn.propTypes=Ln;const Dn=(0,i.forwardRef)((({id:t,value:n,options:a,children:s,selectedLabel:o,label:c,labelProps:d,labelSuffix:p,onChange:m,disabled:f,validation:y,className:b,buttonProps:v,...g},h)=>{const N=(0,i.useMemo)((()=>a.find((e=>n===(null==e?void 0:e.value)))||a[0]),[n,a]),E=u();return l().createElement(In,e({ref:h,as:"div",value:n,onChange:m,disabled:f,className:r()("yst-select",f&&"yst-select--disabled",b)},g),c&&l().createElement("div",{className:"yst-flex yst-items-center yst-mb-2"},l().createElement(In.Label,e({as:Wt},d),c),p),l().createElement(Lt,e({as:In.Button,"data-id":t,className:"yst-select__button",validation:y},v),l().createElement("span",{className:"yst-select__button-label"},o||(null==N?void 0:N.label)||""),!(null!=y&&y.message)&&l().createElement(Rt,e({className:"yst-select__button-icon"},E))),l().createElement(Nt,{as:i.Fragment,enter:"yst-transition yst-duration-100 yst-ease-out",enterFrom:"yst-transform yst-scale-95 yst-opacity-0",enterTo:"yst-transform yst-scale-100 yst-opacity-100",leave:"yst-transition yst-duration-75 yst-ease-out",leaveFrom:"yst-transform yst-scale-100 yst-opacity-100",leaveTo:"yst-transform yst-scale-95 yst-opacity-0"},l().createElement(In.Options,{className:"yst-select__options"},s||a.map((t=>l().createElement(Mn,e({key:t.value},t)))))))}));Dn.displayName="Select",Dn.propTypes={id:o().string.isRequired,value:o().oneOfType([o().string,o().number,o().bool]).isRequired,options:o().arrayOf(o().shape(Ln)),children:o().node,selectedLabel:o().string,label:o().string,labelProps:o().object,labelSuffix:o().node,onChange:o().func.isRequired,disabled:o().bool,validation:o().shape({variant:o().string,message:o().node}),className:o().string,buttonProps:o().object},Dn.defaultProps={options:[],children:null,selectedLabel:"",label:"",labelProps:{},labelSuffix:null,disabled:!1,validation:{},className:"",buttonProps:{}},Dn.Option=Mn,Dn.Option.displayName="Select.Option";const Fn=Dn,qn=({as:e="span",className:t="",children:n=null})=>l().createElement(e,{className:r()("yst-skeleton-loader",t)},n&&l().createElement("div",{className:"yst-pointer-events-none yst-invisible"},n));qn.propTypes={as:o().elementType,className:o().string,children:o().node};const An=qn,Bn={variant:{striped:"[&>*]:even:yst-bg-slate-50 [&>*]:odd:yst-bg-white",plain:""}},jn=({children:t,className:n="",...a})=>l().createElement("td",e({className:r()("yst-table-cell",n)},a),t);jn.propTypes={children:o().node.isRequired,className:o().string};const Hn=({children:t,variant:n="plain",className:a="",...s})=>l().createElement("tr",e({className:r()("yst-table-row",Bn.variant[n],a)},s),t);Hn.propTypes={children:o().node.isRequired,variant:o().oneOf(Object.keys(Bn.variant)),className:o().string};const zn=({children:t,className:n="",...a})=>l().createElement("th",e({className:r()("yst-table-header",n)},a),t);zn.propTypes={children:o().node.isRequired,className:o().string};const $n=({children:t,className:n="",...a})=>l().createElement("thead",e({className:n},a),t);$n.propTypes={children:o().node.isRequired,className:o().string};const Vn=({children:t,className:n="",...a})=>l().createElement("tbody",e({className:n},a),t);Vn.propTypes={children:o().node.isRequired,className:o().string};const Un={default:"yst-table--default",minimal:"yst-table--minimal"},Wn=(0,i.forwardRef)((({children:t,className:n="",variant:a="default",...s},o)=>l().createElement("div",{className:r()("yst-table-wrapper",Un[a])},l().createElement("table",e({className:n},s,{ref:o}),t))));Wn.displayName="Table",Wn.propTypes={children:o().node.isRequired,className:o().string,variant:o().oneOf(Object.keys(Un))},Wn.defaultProps={className:"",variant:"default"},Wn.Head=$n,Wn.Head.displayName="Table.Head",Wn.Body=Vn,Wn.Body.displayName="Table.Body",Wn.Header=zn,Wn.Header.displayName="Table.Header",Wn.Row=Hn,Wn.Row.displayName="Table.Row",Wn.Cell=jn,Wn.Cell.displayName="Table.Cell";const Kn=Wn,Gn=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Qn=({tag:t,index:n,disabled:a=!1,onRemoveTag:r,screenReaderRemoveTag:s,...o})=>{const c=(0,i.useCallback)((e=>{if(!a)switch(null==e?void 0:e.key){case"Delete":case"Backspace":return r(n),e.preventDefault(),!0}}),[n,a,r]),u=(0,i.useCallback)((e=>{if(!a)return r(n),e.preventDefault(),!0}),[n,a,r]);return l().createElement(Vt,e({onKeyDown:c},o,{variant:"plain",className:"yst-tag-input__tag"}),l().createElement("span",{className:"yst-mb-px"},t),l().createElement("button",{type:"button",onClick:u,className:"yst-tag-input__remove-tag"},l().createElement("span",{className:"yst-sr-only"},s),l().createElement(Gn,{className:"yst-h-3 yst-w-3"})))};Qn.propTypes={tag:o().string.isRequired,index:o().number.isRequired,disabled:o().bool,onRemoveTag:o().func.isRequired,screenReaderRemoveTag:o().string.isRequired};const Yn=(0,i.forwardRef)((({tags:t=[],children:n,className:a,disabled:s,onAddTag:o,onRemoveTag:u,onSetTags:d,onBlur:p,screenReaderRemoveTag:m,...f},y)=>{const[b,v]=(0,i.useState)(""),g=(0,i.useCallback)((e=>{var t;(0,c.isString)(null==e||null===(t=e.target)||void 0===t?void 0:t.value)&&v(e.target.value)}),[v]),h=(0,i.useCallback)((e=>{switch(e.key){case",":case"Enter":return b.length>0&&(o(b),v("")),e.preventDefault(),!0;case"Backspace":if(0!==b.length||0===t.length)break;return u(t.length-1),e.ctrlKey&&d([]),e.preventDefault(),!0}}),[b,t,v,o]),N=(0,i.useCallback)((e=>{b.length>0&&(o(b),v("")),p(e)}),[b,o,v,p]);return l().createElement("div",{className:r()("yst-tag-input",s&&"yst-tag-input--disabled",a)},n||(0,c.map)(t,((e,t)=>l().createElement(Qn,{key:`tag-${t}`,tag:e,index:t,disabled:s,onRemoveTag:u,screenReaderRemoveTag:m}))),l().createElement("input",e({ref:y,type:"text",disabled:s,className:"yst-tag-input__input",onKeyDown:h},f,{onChange:g,onBlur:N,value:b})))}));Yn.displayName="TagInput",Yn.propTypes={tags:o().arrayOf(o().string),children:o().node,className:o().string,disabled:o().bool,onAddTag:o().func,onRemoveTag:o().func,onSetTags:o().func,onBlur:o().func,screenReaderRemoveTag:o().string},Yn.defaultProps={tags:[],children:null,className:"",disabled:!1,onAddTag:c.noop,onRemoveTag:c.noop,onSetTags:c.noop,onBlur:c.noop,screenReaderRemoveTag:"Remove tag"},Yn.Tag=Qn,Yn.Tag.displayName="TagInput.Tag";const Zn=Yn,Xn=(0,i.forwardRef)((({type:t,className:n,disabled:a,readOnly:s,...o},i)=>l().createElement("input",e({ref:i,type:t,className:r()("yst-text-input",a&&"yst-text-input--disabled",s&&"yst-text-input--read-only",n),disabled:a,readOnly:s},o))));Xn.displayName="TextInput",Xn.propTypes={type:o().string,className:o().string,disabled:o().bool,readOnly:o().bool},Xn.defaultProps={type:"text",className:"",disabled:!1,readOnly:!1};const Jn=Xn,ea=(0,i.forwardRef)((({disabled:t,cols:n,rows:a,className:s,...o},i)=>l().createElement("textarea",e({ref:i,disabled:t,cols:n,rows:a,className:r()("yst-textarea",t&&"yst-textarea--disabled",s)},o))));ea.displayName="Textarea",ea.propTypes={className:o().string,disabled:o().bool,cols:o().number,rows:o().number},ea.defaultProps={className:"",disabled:!1,cols:20,rows:2};const ta=ea,na={size:{1:"yst-title--1",2:"yst-title--2",3:"yst-title--3",4:"yst-title--4",5:"yst-title--5"}},aa=(0,i.forwardRef)((({children:t,as:n,size:a,className:s,...o},i)=>l().createElement(n,e({ref:i,className:r()("yst-title",na.size[a||n[1]],s)},o),t)));aa.displayName="Title",aa.propTypes={children:o().node.isRequired,as:o().elementType,size:o().oneOf(Object.keys(na.size)),className:o().string},aa.defaultProps={as:"h1",size:void 0,className:""};const ra=aa,sa=(0,i.createContext)({handleDismiss:c.noop}),oa=()=>(0,i.useContext)(sa),ia={position:{"bottom-center":"yst-translate-y-full","bottom-left":"yst-translate-y-full","top-center":"yst--translate-y-full"}},la=({dismissScreenReaderLabel:e})=>{const{handleDismiss:t}=oa();return l().createElement("div",{className:"yst-flex-shrink-0 yst-flex yst-self-start"},l().createElement("button",{type:"button",onClick:t,className:"yst-bg-transparent yst-rounded-md yst-inline-flex yst-text-slate-400 hover:yst-text-slate-500 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500"},l().createElement("span",{className:"yst-sr-only"},e),l().createElement(Et,{className:"yst-h-5 yst-w-5"})))};la.propTypes={dismissScreenReaderLabel:o().string.isRequired};const ca=({description:e=null,className:t=""})=>(0,c.isArray)(e)?l().createElement("ul",{className:r()("yst-list-disc yst-ms-4",t)},e.map(((e,t)=>l().createElement("li",{className:"yst-pt-1",key:`${e}-${t}`},e)))):l().createElement("p",{className:t},e);ca.propTypes={description:o().oneOfType([o().node,o().arrayOf(o().node)]),className:o().string};const ua=({title:e,className:t=""})=>l().createElement("p",{className:r()("yst-text-sm yst-font-medium yst-text-slate-800",t)},e);ua.propTypes={title:o().string.isRequired,className:o().string};const da=({children:e=null,id:t,className:n="",position:a="bottom-left",onDismiss:s=c.noop,autoDismiss:o=null,isVisible:u,setIsVisible:d})=>{const p=(0,i.useCallback)((()=>{d(!1),setTimeout((()=>{s(t)}),150)}),[s,t]);return(0,i.useEffect)((()=>{let e;return d(!0),o&&(e=setTimeout((()=>{p()}),o)),()=>clearTimeout(e)}),[]),l().createElement(sa.Provider,{value:{handleDismiss:p}},l().createElement(Nt,{show:u,enter:"yst-transition yst-ease-in-out yst-duration-150",enterFrom:r()("yst-opacity-0",ia.position[a]),enterTo:"yst-translate-y-0",leave:"yst-transition yst-ease-in-out yst-duration-150",leaveFrom:"yst-translate-y-0",leaveTo:r()("yst-opacity-0",ia.position[a]),className:r()("yst-toast",n),role:"alert"},e))};da.propTypes={children:o().node,id:o().string.isRequired,className:o().string,position:o().oneOf(Object.keys(ia.position)),onDismiss:o().func,autoDismiss:o().number,isVisible:o().bool.isRequired,setIsVisible:o().func.isRequired},da.Close=la,da.Description=ca,da.Title=ua;const pa=da;let ma=(0,i.createContext)(null);function fa(){let e=(0,i.useContext)(ma);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,fa),e}return e}let ya=Ne((function(e,t){let n=j(),{id:a=`headlessui-label-${n}`,passive:r=!1,...s}=e,o=fa(),i=ce(t);_((()=>o.register(a)),[a,o.register]);let l={ref:i,...o.props,id:a};return r&&("onClick"in l&&delete l.onClick,"onClick"in s&&delete s.onClick),ve({ourProps:l,theirProps:s,slot:o.slot||{},defaultTag:"label",name:o.name||"Label"})})),ba=(0,i.createContext)(null);function va(){let e=(0,i.useContext)(ba);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,va),e}return e}function ga(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)((()=>function(e){let n=q((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),a=n.indexOf(e);return-1!==a&&n.splice(a,1),n}))))),a=(0,i.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return i.createElement(ba.Provider,{value:a},e.children)}),[t])]}let ha=Ne((function(e,t){let n=j(),{id:a=`headlessui-description-${n}`,...r}=e,s=va(),o=ce(t);return _((()=>s.register(a)),[a,s.register]),ve({ourProps:{ref:o,...s.props,id:a},theirProps:r,slot:s.slot||{},defaultTag:"p",name:s.name||"Description"})})),Na=(0,i.createContext)(null);Na.displayName="GroupContext";let Ea=i.Fragment,xa=Ne((function(e,t){let n=j(),{id:a=`headlessui-switch-${n}`,checked:r,defaultChecked:s=!1,onChange:o,name:l,value:c,...u}=e,d=(0,i.useContext)(Na),p=(0,i.useRef)(null),m=ce(p,t,null===d?null:d.setSwitch),[f,y]=Me(r,o,s),b=q((()=>null==y?void 0:y(!f))),v=q((e=>{if(Re(e.currentTarget))return e.preventDefault();e.preventDefault(),b()})),g=q((e=>{e.key===Le.Space?(e.preventDefault(),b()):e.key===Le.Enter&&function(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n)for(let e of n.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),h=q((e=>e.preventDefault())),N=(0,i.useMemo)((()=>({checked:f})),[f]),E={id:a,ref:m,role:"switch",type:oe(e,p),tabIndex:0,"aria-checked":f,"aria-labelledby":null==d?void 0:d.labelledby,"aria-describedby":null==d?void 0:d.describedby,onClick:v,onKeyUp:g,onKeyPress:h},x=F();return(0,i.useEffect)((()=>{var e;let t=null==(e=p.current)?void 0:e.closest("form");!t||void 0!==s&&x.addEventListener(t,"reset",(()=>{y(s)}))}),[p,y]),i.createElement(i.Fragment,null,null!=l&&f&&i.createElement(Se,{features:Oe.Hidden,...Ee({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:f,name:l,value:c})}),ve({ourProps:E,theirProps:u,slot:N,defaultTag:"button",name:"Switch"}))})),Ra=Object.assign(xa,{Group:function(e){let[t,n]=(0,i.useState)(null),[a,r]=function(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)((()=>function(e){let n=q((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),a=n.indexOf(e);return-1!==a&&n.splice(a,1),n}))))),a=(0,i.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return i.createElement(ma.Provider,{value:a},e.children)}),[t])]}(),[s,o]=ga(),l=(0,i.useMemo)((()=>({switch:t,setSwitch:n,labelledby:a,describedby:s})),[t,n,a,s]),c=e;return i.createElement(o,{name:"Switch.Description"},i.createElement(r,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},i.createElement(Na.Provider,{value:l},ve({ourProps:{},theirProps:c,defaultTag:Ea,name:"Switch.Group"}))))},Label:ya,Description:ha});const wa=(0,i.forwardRef)((({id:t,as:n,checked:a,screenReaderLabel:s,onChange:o,disabled:i,className:d,type:p,checkedIcon:m,unCheckedIcon:f,...y},b)=>{const v=u();return l().createElement(Ra,e({ref:b,as:n,checked:a,disabled:i,onChange:i?c.noop:o,className:r()("yst-toggle",a&&"yst-toggle--checked",i&&"yst-toggle--disabled",d),"data-id":t},y,{type:"button"===n?"button":p}),l().createElement("span",{className:"yst-sr-only"},s),l().createElement("span",{className:"yst-toggle__handle"},l().createElement(Nt,{show:a,unmount:!1,as:"span","aria-hidden":!a,enter:"",enterFrom:"yst-opacity-0 yst-hidden",enterTo:"yst-opacity-100",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0 yst-hidden"},m||l().createElement(xt,e({className:"yst-toggle__icon yst-toggle__icon--check"},v))),l().createElement(Nt,{show:!a,unmount:!1,as:"span","aria-hidden":a,enterFrom:"yst-opacity-0 yst-hidden",enterTo:"yst-opacity-100",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0 yst-hidden"},f||l().createElement(Gn,e({className:"yst-toggle__icon yst-toggle__icon--x"},v)))))}));wa.displayName="Toggle",wa.propTypes={as:o().elementType,id:o().string.isRequired,checked:o().bool,screenReaderLabel:o().string.isRequired,onChange:o().func.isRequired,disabled:o().bool,type:o().string,className:o().string,checkedIcon:o().node,unCheckedIcon:o().node},wa.defaultProps={as:"button",checked:!1,disabled:!1,type:"",className:"",checkedIcon:void 0,unCheckedIcon:void 0};const Ta=wa,Ca={top:"yst-tooltip--top","top-left":"yst-tooltip--top-left","top-right":"yst-tooltip--top-right",right:"yst-tooltip--right",bottom:"yst-tooltip--bottom","bottom-left":"yst-tooltip--bottom-left","bottom-right":"yst-tooltip--bottom-right",left:"yst-tooltip--left"},Oa={light:"yst-tooltip--light",dark:""},Sa=(0,i.forwardRef)((({children:t,as:n,className:a,position:s,...o},i)=>l().createElement(n,e({ref:i,className:r()("yst-tooltip",Ca[s],Oa[o.variant],a),role:"tooltip"},o),t)));Sa.displayName="Tooltip",Sa.propTypes={as:o().elementType,children:o().node,className:o().string,position:o().oneOf(Object.keys(Ca)),variant:o().oneOf(Object.keys(Oa))},Sa.defaultProps={as:"div",children:null,className:"",position:"top",variant:"dark"};const ka=Sa,Pa=(e,t)=>{const n=(0,i.useMemo)((()=>(0,c.reduce)(t,((t,n,a)=>n?(t[a]=`${e}__${a}`,t):t),{})),[e,t]),a=(0,i.useMemo)((()=>(0,c.values)(n).join(" ")||null),[n]);return{ids:n,describedBy:a}},_a=(0,i.forwardRef)((({id:t,label:n,disabled:a,description:s,validation:o,className:i,...c},u)=>{const{ids:d,describedBy:p}=Pa(t,{validation:null==o?void 0:o.message,description:s});return l().createElement("div",{className:r()("yst-autocomplete-field",a&&"yst-autocomplete-field--disabled",i)},l().createElement(jt,e({ref:u,id:t,label:n,labelProps:{as:"label",className:"yst-label yst-autocomplete-field__label"},validation:o,className:"yst-autocomplete-field__select",buttonProps:{"aria-describedby":p},disabled:a},c)),(null==o?void 0:o.message)&&l().createElement(x,{variant:null==o?void 0:o.variant,id:d.validation,className:"yst-autocomplete-field__validation"},o.message),s&&l().createElement("div",{id:d.description,className:"yst-autocomplete-field__description"},s))}));_a.displayName="AutocompleteField",_a.propTypes={id:o().string.isRequired,label:o().string.isRequired,disabled:o().bool,description:o().node,validation:o().shape({variant:o().string,message:o().node}),className:o().string},_a.defaultProps={disabled:!1,description:null,validation:{},className:""},_a.Option=jt.Option,_a.Option.displayName="AutocompleteField.Option";const Ia=_a,La=({as:t="div",children:n,className:a="",...s})=>l().createElement(t,e({},s,{className:r()("yst-card__header",a)}),n);La.propTypes={as:s.PropTypes.element,children:s.PropTypes.node.isRequired,className:s.PropTypes.string};const Ma=({as:t="div",children:n,className:a="",...s})=>l().createElement(t,e({},s,{className:r()("yst-card__content",a)}),n);Ma.propTypes={as:s.PropTypes.element,children:s.PropTypes.node.isRequired,className:s.PropTypes.string};const Da=({as:t="div",children:n,className:a="",...s})=>l().createElement(t,e({},s,{className:r()("yst-card__footer",a)}),n);Da.propTypes={as:s.PropTypes.element,children:s.PropTypes.node.isRequired,className:s.PropTypes.string};const Fa=(0,i.forwardRef)((({as:t,children:n,className:a,...s},o)=>l().createElement(t,e({},s,{className:r()("yst-card",a),ref:o}),n)));Fa.displayName="Card",Fa.propTypes={as:s.PropTypes.elementType,children:s.PropTypes.node.isRequired,className:s.PropTypes.string},Fa.defaultProps={as:"div",className:""},Fa.Header=La,Fa.Header.displayName="Card.Header",Fa.Content=Ma,Fa.Content.displayName="Card.Content",Fa.Footer=Da,Fa.Footer.displayName="Card.Footer";const qa=Fa,Aa=({children:t=null,id:n="",name:a="",values:s=[],label:o="",description:u="",disabled:d=!1,options:p=[],onChange:m=c.noop,className:f="",...y})=>{const b=(0,i.useCallback)((({target:e})=>{if(e.checked&&!(0,c.includes)(s,e.value))return m([...s,e.value]);m((0,c.without)(s,e.value))}),[s,m]);return l().createElement("fieldset",{id:`checkbox-group-${n}`,className:r()("yst-checkbox-group",d&&"yst-checkbox-group--disabled",f)},l().createElement(Wt,{as:"legend",className:"yst-checkbox-group__label",label:o}),u&&l().createElement("div",{className:"yst-checkbox-group__description"},u),l().createElement("div",{className:"yst-checkbox-group__options"},t||p.map(((t,r)=>{const o=`checkbox-${n}-${r}`;return l().createElement(Gt,e({key:o,id:o,name:a,value:t.value,label:t.label,checked:(0,c.includes)(s,t.value),disabled:d,onChange:b},y))}))))};Aa.propTypes={children:o().node,id:o().string,name:o().string,values:o().arrayOf(o().string),label:o().string,disabled:o().bool,description:o().string,options:o().arrayOf(o().shape({value:o().string.isRequired,label:o().string.isRequired})),onChange:o().func,className:o().string},(Aa.Checkbox=Gt).displayName="CheckboxGroup.Checkbox";const Ba=Aa,ja=window.yoast.reduxJsToolkit;function Ha(e){return"string"==typeof e&&"%"===e[e.length-1]&&function(e){const t=parseFloat(e);return!isNaN(t)&&isFinite(t)}(e.substring(0,e.length-1))}function za(e,t){0===t&&(null==e?void 0:e.style)&&(e.style.display="none")}const $a={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function Va(e,t){return[e.static,0===t&&e.staticHeightZero,t>0&&e.staticHeightSpecific,"auto"===t&&e.staticHeightAuto].filter((e=>e)).join(" ")}const Ua=e=>{var{animateOpacity:t=!1,animationStateClasses:n={},applyInlineTransitions:a=!0,children:r,className:s="",contentClassName:o,delay:l=0,duration:c=500,easing:u="ease",height:d,onHeightAnimationEnd:p,onHeightAnimationStart:m,style:f}=e,y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style"]);const b=(0,i.useRef)(d),v=(0,i.useRef)(null),g=(0,i.useRef)(),h=(0,i.useRef)(),N=(0,i.useRef)(Object.assign(Object.assign({},$a),n)),E="undefined"!=typeof window,x=(0,i.useRef)(!(!E||!window.matchMedia)&&window.matchMedia("(prefers-reduced-motion)").matches),R=x.current?0:l,w=x.current?0:c;let T=d,C="visible";"number"==typeof T?(T=d<0?0:d,C="hidden"):Ha(T)&&(T="0%"===d?0:d,C="hidden");const[O,S]=(0,i.useState)(T),[k,P]=(0,i.useState)(C),[_,I]=(0,i.useState)(!1),[L,M]=(0,i.useState)(Va(N.current,d));(0,i.useEffect)((()=>{za(v.current,O)}),[]),(0,i.useEffect)((()=>{if(d!==b.current&&v.current){!function(e,t){0===t&&(null==e?void 0:e.style)&&(e.style.display="")}(v.current,b.current),v.current.style.overflow="hidden";const e=v.current.offsetHeight;v.current.style.overflow="";const t=w+R;let n,a,r,s="hidden";const o="auto"===b.current;"number"==typeof d?(n=d<0?0:d,a=n):Ha(d)?(n="0%"===d?0:d,a=n):(n=e,a="auto",s=void 0),o&&(a=n,n=e);const i=[N.current.animating,("auto"===b.current||d<b.current)&&N.current.animatingUp,("auto"===d||d>b.current)&&N.current.animatingDown,0===a&&N.current.animatingToHeightZero,"auto"===a&&N.current.animatingToHeightAuto,a>0&&N.current.animatingToHeightSpecific].filter((e=>e)).join(" "),l=Va(N.current,a);S(n),P("hidden"),I(!o),M(i),clearTimeout(h.current),clearTimeout(g.current),o?(r=!0,h.current=setTimeout((()=>{S(a),P(s),I(r),null==m||m(a)}),50),g.current=setTimeout((()=>{I(!1),M(l),za(v.current,a),null==p||p(a)}),t)):(null==m||m(n),h.current=setTimeout((()=>{S(a),P(s),I(!1),M(l),"auto"!==d&&za(v.current,n),null==p||p(n)}),t))}return b.current=d,()=>{clearTimeout(h.current),clearTimeout(g.current)}}),[d]);const D=Object.assign(Object.assign({},f),{height:O,overflow:k||(null==f?void 0:f.overflow)});_&&a&&(D.transition=`height ${w}ms ${u} ${R}ms`,(null==f?void 0:f.transition)&&(D.transition=`${f.transition}, ${D.transition}`),D.WebkitTransition=D.transition);const F={};t&&(F.transition=`opacity ${w}ms ${u} ${R}ms`,F.WebkitTransition=F.transition,0===O&&(F.opacity=0));const q=void 0!==y["aria-hidden"]?y["aria-hidden"]:0===d;return i.createElement("div",Object.assign({},y,{"aria-hidden":q,className:`${L} ${s}`,style:D}),i.createElement("div",{className:o,style:F,ref:v},r))},Wa=(e=!0)=>{const[t,n]=(0,i.useState)(e),a=(0,i.useCallback)((()=>n(!t)),[t,n]),r=(0,i.useCallback)((()=>n(!0)),[n]),s=(0,i.useCallback)((()=>n(!1)),[n]);return[t,a,n,r,s]},Ka=({limit:e,children:t,renderButton:n,initialShow:a=!1,id:r=""})=>{const[s,o]=Wa(a),u=(0,i.useMemo)((()=>(0,c.flatten)(t)),[t]),d=(0,i.useMemo)((()=>(0,c.slice)(u,0,e)),[u]),p=(0,i.useMemo)((()=>(0,c.slice)(u,e)),[u]),m=(0,i.useMemo)((()=>r||`yst-animate-height-${(0,ja.nanoid)()}`),[r]),f=(0,i.useMemo)((()=>({"aria-expanded":s,"aria-controls":m})),[s,m]);return e<0||u.length<=e?t:l().createElement(l().Fragment,null,d,l().createElement(Ua,{id:m,easing:"ease-in-out",duration:300,height:s?"auto":0,animateOpacity:!0},p),n({show:s,toggle:o,ariaProps:f}))};Ka.propTypes={limit:o().number.isRequired,children:o().arrayOf(o().node).isRequired,renderButton:o().func.isRequired,initialShow:o().bool,id:o().string};const Ga=Ka,Qa=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Ya={variant:{default:"yst-feature-upsell--default",card:"yst-feature-upsell--card"}},Za=({children:t,shouldUpsell:n=!0,className:a="",variant:s="card",cardLink:o="",cardText:i="",...c})=>{const d=u();return n?l().createElement("div",{className:r()("yst-feature-upsell",Ya.variant[s],a)},l().createElement("div",{className:"yst-space-y-8 yst-grayscale"},t),l().createElement("div",{className:"yst-absolute yst-inset-0 yst-ring-1 yst-ring-black yst-ring-opacity-5 yst-shadow-lg yst-rounded-md"}),l().createElement("div",{className:"yst-absolute yst-inset-0 yst-flex yst-items-center yst-justify-center"},l().createElement(Pt,e({as:"a",className:"yst-gap-2 yst-shadow-lg yst-shadow-amber-700/30",variant:"upsell",href:o,target:"_blank",rel:"noopener"},c),l().createElement(Qa,e({className:r()("yst-w-5 yst-h-5 yst-shrink-0",i&&"yst--ms-1")},d)),i))):t};Za.propTypes={children:o().node.isRequired,shouldUpsell:o().bool,className:o().string,variant:o().oneOf(Object.keys(Ya.variant)),cardLink:o().string,cardText:o().string};const Xa=Za,Ja=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),er=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),tr=(0,i.forwardRef)((({id:t,name:n,value:a,selectLabel:s,dropLabel:o,screenReaderLabel:u,selectDescription:d,disabled:p,iconAs:m,onChange:f,onDrop:y,className:b,...v},g)=>{const[h,N]=(0,i.useState)(!1),E=(0,i.useCallback)((e=>{e.preventDefault(),(0,c.isEmpty)(e.dataTransfer.items)||N(!0)}),[N]),x=(0,i.useCallback)((e=>{e.preventDefault(),N(!1)}),[N]),R=(0,i.useCallback)((e=>{e.preventDefault()}),[]),w=(0,i.useCallback)((e=>{e.preventDefault(),N(!1),y(e)}),[N,y]);return l().createElement("div",{onDragEnter:E,onDragLeave:x,onDragOver:R,onDrop:w,className:r()("yst-file-input",{"yst-is-drag-over":h,"yst-is-disabled":p,className:b})},l().createElement("div",{className:"yst-file-input__content"},l().createElement(m,{className:"yst-file-input__icon"}),l().createElement("div",{className:"yst-file-input__labels"},l().createElement("input",e({ref:g,type:"file",id:t,name:n,value:a,onChange:f,className:"yst-file-input__input","aria-labelledby":u,disabled:p},v)),l().createElement(tn,{as:"label",htmlFor:t,className:"yst-file-input__select-label"},s),l().createElement("span",null," "),o),d&&l().createElement("span",null,d)))}));tr.displayName="FileInput",tr.propTypes={id:o().string.isRequired,name:o().string.isRequired,value:o().string.isRequired,selectLabel:o().string.isRequired,dropLabel:o().string.isRequired,screenReaderLabel:o().string.isRequired,selectDescription:o().string,disabled:o().bool,iconAs:o().elementType,onChange:o().func.isRequired,onDrop:o().func,className:o().string},tr.defaultProps={selectDescription:"",disabled:!1,iconAs:er,className:"",onDrop:c.noop};const nr=tr,ar={idle:"idle",selected:"selected",loading:"loading",success:"success",aborted:"aborted",error:"error"},rr=(0,i.createContext)({status:ar.idle}),sr={enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",leave:"yst-transition-opacity yst-ease-in-out yst-duration-200",leaveFrom:"yst-opacity-0",leaveTo:"yst-opacity-100",className:"yst-absolute"},or=e=>{const t=({children:t=null})=>{const{status:n}=(0,i.useContext)(rr);return l().createElement(Nt,{show:n===e,enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",className:"yst-mt-6"},t)};return t.propTypes={children:o().node},t.displayName=`FileImport.${(0,c.capitalize)(e)}`,t},ir=(0,i.forwardRef)((({children:t="",id:n,name:a,selectLabel:r,dropLabel:s,screenReaderLabel:o,abortScreenReaderLabel:u,selectDescription:d,status:p,onChange:m,onAbort:f,feedbackTitle:y,feedbackDescription:b,progressMin:v,progressMax:g,progress:N},E)=>{const x=(0,i.useMemo)((()=>p===ar.selected),[p]),R=(0,i.useMemo)((()=>p===ar.loading),[p]),w=(0,i.useMemo)((()=>p===ar.success),[p]),T=(0,i.useMemo)((()=>p===ar.aborted),[p]),C=(0,i.useMemo)((()=>p===ar.error),[p]),O=(0,i.useMemo)((()=>(0,c.includes)([ar.selected,ar.loading,ar.success,ar.aborted,ar.error],p)),[p]),S=(0,i.useCallback)((e=>{(0,c.isEmpty)(e.target.files)||m(e.target.files[0])}),[m]),k=(0,i.useCallback)((e=>{if(!(0,c.isEmpty)(e.dataTransfer.files)){const t=e.dataTransfer.files[0];t&&m(t)}}),[m]);return l().createElement(rr.Provider,{value:{status:p}},l().createElement("div",{className:"yst-file-import"},l().createElement(nr,{ref:E,id:n,name:a,value:"",onChange:S,onDrop:k,className:"yst-file-import__input","aria-labelledby":o,disabled:R,selectLabel:r,dropLabel:s,screenReaderLabel:o,selectDescription:d}),l().createElement(Nt,{show:O,enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},l().createElement("div",{className:"yst-file-import__feedback"},l().createElement("header",{className:"yst-file-import__feedback-header"},l().createElement("div",{className:"yst-file-import__feedback-figure"},l().createElement(Ja,null)),l().createElement("div",{className:"yst-flex-1"},l().createElement("span",{className:"yst-file-import__feedback-title"},y),l().createElement("p",{className:"yst-file-import__feedback-description"},b),!(0,c.isNull)(N)&&l().createElement(un,{min:v,max:g,progress:N,className:"yst-mt-1.5"})),l().createElement("div",{className:"yst-relative yst-h-5 yst-w-5"},l().createElement(Nt,e({show:x},sr),l().createElement(h,{variant:"info",className:"yst-w-5 yst-h-5"})),l().createElement(Nt,e({show:R},sr),l().createElement("button",{type:"button",onClick:f,className:"yst-file-import__abort-button"},l().createElement("span",{className:"yst-sr-only"},u),l().createElement(Et,null))),l().createElement(Nt,e({show:w},sr),l().createElement(h,{variant:"success",className:"yst-w-5 yst-h-5"})),l().createElement(Nt,e({show:T},sr),l().createElement(h,{variant:"warning",className:"yst-w-5 yst-h-5"})),l().createElement(Nt,e({show:C},sr),l().createElement(h,{variant:"error",className:"yst-w-5 yst-h-5"})))),t))))}));ir.displayName="FileImport",ir.propTypes={children:o().node,id:o().string.isRequired,name:o().string.isRequired,selectLabel:o().string.isRequired,dropLabel:o().string.isRequired,screenReaderLabel:o().string.isRequired,abortScreenReaderLabel:o().string.isRequired,selectDescription:o().string,feedbackTitle:o().string.isRequired,feedbackDescription:o().string,progressMin:o().number,progressMax:o().number,progress:o().number,status:o().oneOf((0,c.values)(ar)),onChange:o().func.isRequired,onAbort:o().func.isRequired},ir.defaultProps={children:null,selectDescription:"",feedbackDescription:"",progressMin:null,progressMax:null,progress:null,status:ar.idle},ir.Selected=or(ar.selected),ir.Loading=or(ar.loading),ir.Success=or(ar.success),ir.Aborted=or(ar.aborted),ir.Error=or(ar.error);const lr=ir;var cr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(cr||{});function ur(...e){return(0,i.useMemo)((()=>z(...e)),[...e])}function dr(e,t,n,a){let r=I(n);(0,i.useEffect)((()=>{function n(e){r.current(e)}return(e=null!=e?e:window).addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}),[e,t,a])}var pr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(pr||{});let mr=Object.assign(Ne((function(e,t){let n=(0,i.useRef)(null),a=ce(n,t),{initialFocus:r,containers:s,features:o=30,...l}=e;A()||(o=1);let c=ur(n);!function({ownerDocument:e},t){let n=(0,i.useRef)(null);dr(null==e?void 0:e.defaultView,"focusout",(e=>{!t||n.current||(n.current=e.target)}),!0),De((()=>{t||((null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&J(n.current),n.current=null)}),[t]);let a=(0,i.useRef)(!1);(0,i.useEffect)((()=>(a.current=!1,()=>{a.current=!0,M((()=>{!a.current||(J(n.current),n.current=null)}))})),[])}({ownerDocument:c},Boolean(16&o));let u=function({ownerDocument:e,container:t,initialFocus:n},a){let r=(0,i.useRef)(null),s=rt();return De((()=>{if(!a)return;let o=t.current;!o||M((()=>{if(!s.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(r.current=t)}else if(o.contains(t))return void(r.current=t);null!=n&&n.current?J(n.current):ne(o,W.First)===K.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),r.current=null==e?void 0:e.activeElement}))}),[a]),r}({ownerDocument:c,container:n,initialFocus:r},Boolean(2&o));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:a},r){let s=rt();dr(null==e?void 0:e.defaultView,"focus",(e=>{if(!r||!s.current)return;let o=new Set(null==n?void 0:n.current);o.add(t);let i=a.current;if(!i)return;let l=e.target;l&&l instanceof HTMLElement?fr(o,l)?(a.current=l,J(l)):(e.preventDefault(),e.stopPropagation(),J(i)):J(a.current)}),!0)}({ownerDocument:c,container:n,containers:s,previousActiveElement:u},Boolean(8&o));let d=function(){let e=(0,i.useRef)(0);return function(e,t,n){let a=I(t);(0,i.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),p=q((e=>{let t=n.current;t&&H(d.current,{[cr.Forwards]:()=>{ne(t,W.First,{skipElements:[e.relatedTarget]})},[cr.Backwards]:()=>{ne(t,W.Last,{skipElements:[e.relatedTarget]})}})})),m=F(),f=(0,i.useRef)(!1),y={ref:a,onKeyDown(e){"Tab"==e.key&&(f.current=!0,m.requestAnimationFrame((()=>{f.current=!1})))},onBlur(e){let t=new Set(null==s?void 0:s.current);t.add(n);let a=e.relatedTarget;a instanceof HTMLElement&&"true"!==a.dataset.headlessuiFocusGuard&&(fr(t,a)||(f.current?ne(n.current,H(d.current,{[cr.Forwards]:()=>W.Next,[cr.Backwards]:()=>W.Previous})|W.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&J(e.target)))}};return i.createElement(i.Fragment,null,Boolean(4&o)&&i.createElement(Se,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Oe.Focusable}),ve({ourProps:y,theirProps:l,defaultTag:"div",name:"FocusTrap"}),Boolean(4&o)&&i.createElement(Se,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Oe.Focusable}))})),{features:pr});function fr(e,t){var n;for(let a of e)if(null!=(n=a.current)&&n.contains(t))return!0;return!1}let yr=new Set,br=new Map;function vr(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function gr(e){let t=br.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}const hr=window.ReactDOM;let Nr=(0,i.createContext)(!1);function Er(){return(0,i.useContext)(Nr)}function xr(e){return i.createElement(Nr.Provider,{value:e.force},e.children)}let Rr=i.Fragment,wr=Ne((function(e,t){let n=e,a=(0,i.useRef)(null),r=ce(le((e=>{a.current=e})),t),s=ur(a),o=function(e){let t=Er(),n=(0,i.useContext)(Cr),a=ur(e),[r,s]=(0,i.useState)((()=>{if(!t&&null!==n||P.isServer)return null;let e=null==a?void 0:a.getElementById("headlessui-portal-root");if(e)return e;if(null===a)return null;let r=a.createElement("div");return r.setAttribute("id","headlessui-portal-root"),a.body.appendChild(r)}));return(0,i.useEffect)((()=>{null!==r&&(null!=a&&a.body.contains(r)||null==a||a.body.appendChild(r))}),[r,a]),(0,i.useEffect)((()=>{t||null!==n&&s(n.current)}),[n,s,t]),r}(a),[l]=(0,i.useState)((()=>{var e;return P.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=A(),u=(0,i.useRef)(!1);return _((()=>{if(u.current=!1,o&&l)return o.contains(l)||(l.setAttribute("data-headlessui-portal",""),o.appendChild(l)),()=>{u.current=!0,M((()=>{var e;!u.current||!o||!l||(l instanceof Node&&o.contains(l)&&o.removeChild(l),o.childNodes.length<=0&&(null==(e=o.parentElement)||e.removeChild(o)))}))}}),[o,l]),c&&o&&l?(0,hr.createPortal)(ve({ourProps:{ref:r},theirProps:n,defaultTag:Rr,name:"Portal"}),l):null})),Tr=i.Fragment,Cr=(0,i.createContext)(null),Or=Ne((function(e,t){let{target:n,...a}=e,r={ref:ce(t)};return i.createElement(Cr.Provider,{value:n},ve({ourProps:r,theirProps:a,defaultTag:Tr,name:"Popover.Group"}))})),Sr=Object.assign(wr,{Group:Or}),kr=(0,i.createContext)((()=>{}));kr.displayName="StackContext";var Pr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Pr||{});function _r({children:e,onUpdate:t,type:n,element:a,enabled:r}){let s=(0,i.useContext)(kr),o=q(((...e)=>{null==t||t(...e),s(...e)}));return _((()=>{let e=void 0===r||!0===r;return e&&o(0,n,a),()=>{e&&o(1,n,a)}}),[o,n,a,r]),i.createElement(kr.Provider,{value:o},e)}var Ir=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ir||{}),Lr=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Lr||{});let Mr={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Dr=(0,i.createContext)(null);function Fr(e){let t=(0,i.useContext)(Dr);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Fr),t}return t}function qr(e,t){return H(t.type,Mr,e,t)}Dr.displayName="DialogContext";let Ar=ye.RenderStrategy|ye.Static,Br=Ne((function(e,t){let n=j(),{id:a=`headlessui-dialog-${n}`,open:r,onClose:s,initialFocus:o,__demoMode:l=!1,...c}=e,[u,d]=(0,i.useState)(0),p=_e();void 0===r&&null!==p&&(r=H(p,{[Pe.Open]:!0,[Pe.Closed]:!1}));let m=(0,i.useRef)(new Set),f=(0,i.useRef)(null),y=ce(f,t),b=(0,i.useRef)(null),v=ur(f),g=e.hasOwnProperty("open")||null!==p,h=e.hasOwnProperty("onClose");if(!g&&!h)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!g)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!h)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof r)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${r}`);if("function"!=typeof s)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${s}`);let N=r?0:1,[E,x]=(0,i.useReducer)(qr,{titleId:null,descriptionId:null,panelRef:(0,i.createRef)()}),R=q((()=>s(!1))),w=q((e=>x({type:0,id:e}))),T=!!A()&&!l&&0===N,C=u>1,O=null!==(0,i.useContext)(Dr),S=C?"parent":"leaf";!function(e,t=!0){_((()=>{if(!t||!e.current)return;let n=e.current,a=z(n);if(a){yr.add(n);for(let e of br.keys())e.contains(n)&&(gr(e),br.delete(e));return a.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement){for(let t of yr)if(e.contains(t))return;1===yr.size&&(br.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),vr(e))}})),()=>{if(yr.delete(n),yr.size>0)a.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement&&!br.has(e)){for(let t of yr)if(e.contains(t))return;br.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),vr(e)}}));else for(let e of br.keys())gr(e),br.delete(e)}}}),[t])}(f,!!C&&T);let k=q((()=>{var e,t;return[...Array.from(null!=(e=null==v?void 0:v.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(b.current)||E.panelRef.current&&e.contains(E.panelRef.current)))),null!=(t=E.panelRef.current)?t:f.current]}));re((()=>k()),R,T&&!C),dr(null==v?void 0:v.defaultView,"keydown",(e=>{e.defaultPrevented||e.key===Le.Escape&&0===N&&(C||(e.preventDefault(),e.stopPropagation(),R()))})),function(e,t,n=(()=>[document.body])){(0,i.useEffect)((()=>{var a;if(!t||!e)return;let r=D(),s=window.pageYOffset;function o(e,t,n){let a=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),r.add((()=>{Object.assign(e.style,{[t]:a})}))}let i=e.documentElement,l=(null!=(a=e.defaultView)?a:window).innerWidth-i.clientWidth;if(o(i,"overflow","hidden"),l>0&&o(i,"paddingRight",l-(i.clientWidth-i.offsetWidth)+"px"),/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0){o(e.body,"marginTop",`-${s}px`),window.scrollTo(0,0);let t=null;r.addEventListener(e,"click",(a=>{if(a.target instanceof HTMLElement)try{let r=a.target.closest("a");if(!r)return;let{hash:s}=new URL(r.href),o=e.querySelector(s);o&&!n().some((e=>e.contains(o)))&&(t=o)}catch{}}),!0),r.addEventListener(e,"touchmove",(e=>{e.target instanceof HTMLElement&&!n().some((t=>t.contains(e.target)))&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+s),t&&t.isConnected&&(t.scrollIntoView({block:"nearest"}),t=null)}))}return r.dispose}),[e,t])}(v,0===N&&!O,k),(0,i.useEffect)((()=>{if(0!==N||!f.current)return;let e=new IntersectionObserver((e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&R()}));return e.observe(f.current),()=>e.disconnect()}),[N,f,R]);let[P,I]=ga(),L=(0,i.useMemo)((()=>[{dialogState:N,close:R,setTitleId:w},E]),[N,E,R,w]),M=(0,i.useMemo)((()=>({open:0===N})),[N]),F={ref:y,id:a,role:"dialog","aria-modal":0===N||void 0,"aria-labelledby":E.titleId,"aria-describedby":P};return i.createElement(_r,{type:"Dialog",enabled:0===N,element:f,onUpdate:q(((e,t,n)=>{"Dialog"===t&&H(e,{[Pr.Add](){m.current.add(n),d((e=>e+1))},[Pr.Remove](){m.current.add(n),d((e=>e-1))}})}))},i.createElement(xr,{force:!0},i.createElement(Sr,null,i.createElement(Dr.Provider,{value:L},i.createElement(Sr.Group,{target:f},i.createElement(xr,{force:!1},i.createElement(I,{slot:M,name:"Dialog.Description"},i.createElement(mr,{initialFocus:o,containers:m,features:T?H(S,{parent:mr.features.RestoreFocus,leaf:mr.features.All&~mr.features.FocusLock}):mr.features.None},ve({ourProps:F,theirProps:c,slot:M,defaultTag:"div",features:Ar,visible:0===N,name:"Dialog"})))))))),i.createElement(Se,{features:Oe.Hidden,ref:b}))})),jr=Ne((function(e,t){let n=j(),{id:a=`headlessui-dialog-overlay-${n}`,...r}=e,[{dialogState:s,close:o}]=Fr("Dialog.Overlay");return ve({ourProps:{ref:ce(t),id:a,"aria-hidden":!0,onClick:q((e=>{if(e.target===e.currentTarget){if(Re(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),o()}}))},theirProps:r,slot:(0,i.useMemo)((()=>({open:0===s})),[s]),defaultTag:"div",name:"Dialog.Overlay"})})),Hr=Ne((function(e,t){let n=j(),{id:a=`headlessui-dialog-backdrop-${n}`,...r}=e,[{dialogState:s},o]=Fr("Dialog.Backdrop"),l=ce(t);(0,i.useEffect)((()=>{if(null===o.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[o.panelRef]);let c=(0,i.useMemo)((()=>({open:0===s})),[s]);return i.createElement(xr,{force:!0},i.createElement(Sr,null,ve({ourProps:{ref:l,id:a,"aria-hidden":!0},theirProps:r,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),zr=Ne((function(e,t){let n=j(),{id:a=`headlessui-dialog-panel-${n}`,...r}=e,[{dialogState:s},o]=Fr("Dialog.Panel"),l=ce(t,o.panelRef),c=(0,i.useMemo)((()=>({open:0===s})),[s]);return ve({ourProps:{ref:l,id:a,onClick:q((e=>{e.stopPropagation()}))},theirProps:r,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),$r=Ne((function(e,t){let n=j(),{id:a=`headlessui-dialog-title-${n}`,...r}=e,[{dialogState:s,setTitleId:o}]=Fr("Dialog.Title"),l=ce(t);(0,i.useEffect)((()=>(o(a),()=>o(null))),[a,o]);let c=(0,i.useMemo)((()=>({open:0===s})),[s]);return ve({ourProps:{ref:l,id:a},theirProps:r,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),Vr=Object.assign(Br,{Backdrop:Hr,Panel:zr,Overlay:jr,Title:$r,Description:ha});const Ur=(0,i.forwardRef)((({children:e,className:t},n)=>l().createElement("div",{ref:n,className:r()("yst-modal__container-header",t)},e)));Ur.displayName="Modal.Container.Header",Ur.propTypes={children:o().node.isRequired,className:o().string},Ur.defaultProps={className:""};const Wr=(0,i.forwardRef)((({children:e,className:t},n)=>l().createElement("div",{ref:n,className:r()("yst-modal__container-content",t)},e)));Wr.displayName="Modal.Container.Content",Wr.propTypes={children:o().node.isRequired,className:o().string},Wr.defaultProps={className:""};const Kr=(0,i.forwardRef)((({children:e,className:t},n)=>l().createElement("div",{ref:n,className:r()("yst-modal__container-footer",t)},e)));Kr.displayName="Modal.Container.Footer",Kr.propTypes={children:o().node.isRequired,className:o().string},Kr.defaultProps={className:""};const Gr=(0,i.forwardRef)((({children:e,className:t},n)=>l().createElement("div",{ref:n,className:r()("yst-modal__container",t)},e)));Gr.displayName="Modal.Container",Gr.propTypes={children:o().node.isRequired,className:o().string},Gr.defaultProps={className:""},Gr.Header=Ur,Gr.Content=Wr,Gr.Footer=Kr;const Qr=(0,i.createContext)({isOpen:!1,onClose:c.noop}),Yr=()=>(0,i.useContext)(Qr),Zr=(0,i.forwardRef)((({children:t,size:n,className:a,as:s,...o},i)=>l().createElement(Vr.Title,e({as:s,ref:i,className:r()("yst-title",n?na.size[n]:"",a)},o),t)));Zr.displayName="Modal.Title",Zr.propTypes={size:o().oneOf(Object.keys(na.size)),className:o().string,children:o().node.isRequired,as:o().elementType},Zr.defaultProps={size:void 0,className:"",as:"h1"};const Xr=(0,i.forwardRef)((({className:t,onClick:n,screenReaderText:a,children:s,...o},i)=>{const{onClose:c}=Yr(),d=u();return l().createElement("div",{className:"yst-modal__close"},l().createElement("button",e({ref:i,type:"button",onClick:n||c,className:r()("yst-modal__close-button",t)},o),s||l().createElement(l().Fragment,null,l().createElement("span",{className:"yst-sr-only"},a),l().createElement(Et,e({className:"yst-h-6 yst-w-6"},d)))))}));Xr.displayName="Modal.CloseButton",Xr.propTypes={className:o().string,onClick:o().func,screenReaderText:o().string,children:o().node},Xr.defaultProps={className:"",onClick:void 0,screenReaderText:"Close",children:void 0};const Jr=(0,i.forwardRef)((({children:t,className:n="",hasCloseButton:a=!0,closeButtonScreenReaderText:s="Close",...o},i)=>l().createElement(Vr.Panel,e({ref:i,className:r()("yst-modal__panel",n)},o),a&&l().createElement(Xr,{screenReaderText:s}),t)));Jr.displayName="Modal.Panel",Jr.propTypes={children:o().node.isRequired,className:o().string,hasCloseButton:o().bool,closeButtonScreenReaderText:o().string},Jr.defaultProps={className:"",hasCloseButton:!0,closeButtonScreenReaderText:"Close"};const es={position:{center:"yst-modal--center","top-center":"yst-modal--top-center"}},ts=(0,i.forwardRef)((({isOpen:t,onClose:n,children:a,className:s="",position:o="center",initialFocus:c=null,...u},d)=>l().createElement(Qr.Provider,{value:{isOpen:t,onClose:n,initialFocus:c}},l().createElement(Nt.Root,{show:t,as:i.Fragment},l().createElement(Vr,e({as:"div",ref:d,className:"yst-root",open:t,onClose:n,initialFocus:c},u),l().createElement("div",{className:r()("yst-modal",es.position[o],s)},l().createElement(Nt.Child,{as:i.Fragment,enter:"yst-ease-out yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",leave:"yst-ease-in yst-duration-200",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0"},l().createElement("div",{className:"yst-modal__overlay"})),l().createElement("div",{className:"yst-modal__layout"},l().createElement(Nt.Child,{as:i.Fragment,enter:"yst-ease-out yst-duration-300",enterFrom:"yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-95",enterTo:"yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leave:"yst-ease-in yst-duration-200",leaveFrom:"yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leaveTo:"yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-95"},a))))))));ts.displayName="Modal",ts.propTypes={isOpen:o().bool.isRequired,onClose:o().func.isRequired,children:o().node.isRequired,className:o().string,position:o().oneOf(Object.keys(es.position)),initialFocus:o().oneOfType([o().func,o().object])},ts.defaultProps={className:"",position:"center",initialFocus:null},ts.Panel=Jr,ts.Title=Zr,ts.CloseButton=Xr,ts.Description=Vr.Description,ts.Description.displayName="Modal.Description",ts.Container=Gr;const ns=ts,as=(0,i.createContext)({position:"bottom-left"}),rs=()=>(0,i.useContext)(as),ss={variant:{info:"yst-notification--info",warning:"yst-notification--warning",success:"yst-notification--success",error:"yst-notification--error"},size:{default:"",large:"yst-notification--large"}},os=({children:e=null,id:t,variant:n="info",size:a="default",title:s="",description:o="",onDismiss:u=c.noop,autoDismiss:d=null,dismissScreenReaderLabel:p})=>{const{position:m}=rs(),[f,y]=(0,i.useState)(!1);return l().createElement(pa,{id:t,className:r()("yst-notification",ss.variant[n],ss.size[a]),position:m,size:a,onDismiss:u,autoDismiss:d,dismissScreenReaderLabel:p,isVisible:f,setIsVisible:y},l().createElement("div",{className:"yst-flex yst-items-start yst-gap-3"},l().createElement("div",{className:"yst-flex-shrink-0"},l().createElement(h,{variant:n,className:"yst-notification__icon"})),l().createElement("div",{className:"yst-w-0 yst-flex-1"},s&&l().createElement(pa.Title,{title:s}),e||o&&l().createElement(pa.Description,{description:o})),u&&l().createElement(pa.Close,{dismissScreenReaderLabel:p})))};os.propTypes={children:o().node,id:o().string.isRequired,variant:o().oneOf((0,c.keys)(ss.variant)),size:o().oneOf((0,c.keys)(ss.size)),title:o().string,description:o().oneOfType([o().node,o().arrayOf(o().node)]),onDismiss:o().func,autoDismiss:o().number,dismissScreenReaderLabel:o().string.isRequired};const is={position:{"bottom-center":"yst-notifications--bottom-center","bottom-left":"yst-notifications--bottom-left","top-center":"yst-notifications--top-center"}},ls=({children:t=null,className:n="",position:a="bottom-left",...s})=>l().createElement(as.Provider,{value:{position:a}},l().createElement("aside",e({className:r()("yst-notifications",is.position[a],n)},s),t));ls.propTypes={children:o().node,className:o().string,position:o().oneOf((0,c.keys)(is.position))},(ls.Notification=os).displayName="Notifications.Notification";const cs=ls,us=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))})),ds=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),ps=({className:t="",children:n,active:a=!1,disabled:s=!1,...o})=>l().createElement("button",e({type:"button",className:r()("yst-pagination__button",t,a&&!s&&"yst-pagination__button--active",s&&"yst-pagination__button--disabled"),disabled:s},o),n);ps.displayName="Pagination.Button",ps.propTypes={className:o().string,children:o().node.isRequired,active:o().bool,disabled:o().bool};const ms=ps,fs=()=>l().createElement("span",{className:"yst-pagination-display__truncated"},"..."),ys=({current:e,total:t,onNavigate:n,maxPageButtons:a,disabled:r})=>{const s=(0,i.useMemo)((()=>(0,c.clamp)(t,1,a)),[t,a]),o=(0,i.useMemo)((()=>(0,c.round)(s/2,0)),[s]),u=(0,i.useMemo)((()=>t>a&&a>1&&e!==o+1),[t,a,o]),d=(0,i.useMemo)((()=>t-(s-o)+1),[t,s,o]),p=(0,i.useMemo)((()=>e>o&&e<d),[e,o,d]);return l().createElement(l().Fragment,null,(0,c.range)(o).map((t=>{const a=t+1;return l().createElement(ms,{key:a,className:"yst-px-4",onClick:n,"data-page":a,active:a===e,disabled:r},a)})),u&&l().createElement(fs,null),p&&l().createElement(l().Fragment,null,l().createElement(ms,{className:"yst-px-4",onClick:n,"data-page":e,active:!0,disabled:r},e),e!==d-1&&l().createElement(fs,null)),(0,c.rangeRight)(s-o).map((a=>{const s=t-a;return l().createElement(ms,{key:s,className:"yst-px-4",onClick:n,"data-page":s,active:s===e,disabled:r},s)})))};ys.displayName="Pagination.DisplayButtons",ys.propTypes={current:o().number.isRequired,total:o().number.isRequired,onNavigate:o().func.isRequired,maxPageButtons:o().number.isRequired,disabled:o().bool.isRequired};const bs=ys,vs=({current:e,total:t})=>l().createElement("bdo",{dir:"ltr",className:"yst-pagination-display__text"},l().createElement("span",{className:"yst-pagination-display__current-text"},e)," / ",t);vs.displayName="Pagination.DisplayText",vs.propTypes={current:o().number.isRequired,total:o().number.isRequired};const gs=vs,hs={buttons:"buttons",text:"text"},Ns=({className:t="",current:n,total:a,onNavigate:s,variant:o=hs.buttons,maxPageButtons:d=6,disabled:p=!1,screenReaderTextPrevious:m,screenReaderTextNext:f,...y})=>{const b=u(),v=(0,i.useCallback)((({target:e})=>s((0,c.parseInt)(e.dataset.page))),[s]);return l().createElement("nav",e({className:r()("yst-pagination",t)},y),l().createElement(ms,{className:"yst-rounded-s-md",onClick:v,"data-page":n-1,disabled:p||n-1<1},l().createElement("span",{className:"yst-pointer-events-none yst-sr-only"},m),l().createElement(us,e({className:"yst-pointer-events-none yst-h-5 yst-w-5"},b))),o===hs.text&&l().createElement(gs,{current:n,total:a}),o===hs.buttons&&l().createElement(bs,{current:n,total:a,maxPageButtons:d,onNavigate:v,disabled:p}),l().createElement(ms,{className:"yst-rounded-e-md",onClick:v,"data-page":n+1,disabled:p||n+1>a},l().createElement("span",{className:"yst-pointer-events-none yst-sr-only"},f),l().createElement(ds,e({className:"yst-pointer-events-none yst-h-5 yst-w-5"},b))))};Ns.propTypes={className:o().string,current:o().number.isRequired,total:o().number.isRequired,onNavigate:o().func.isRequired,variant:o().oneOf(Object.keys(hs)),maxPageButtons:o().number,disabled:o().bool,screenReaderTextPrevious:o().string.isRequired,screenReaderTextNext:o().string.isRequired};const Es=Ns,xs=(0,i.createContext)({handleDismiss:c.noop}),Rs={"no-arrow":"yst-popover--no-arrow",top:"yst-popover--top","top-left":"yst-popover--top-left","top-right":"yst-popover--top-right",right:"yst-popover--right",bottom:"yst-popover--bottom",left:"yst-popover--left","bottom-left":"yst-popover--bottom-left","bottom-right":"yst-popover--bottom-right"},ws=()=>(0,i.useContext)(xs),Ts=(0,i.forwardRef)((({screenReaderLabel:t="Close",onClick:n=null,className:a="",children:s=null,...o},i)=>{const{handleDismiss:c}=ws(),d=u();return l().createElement("div",{className:"yst-popover__close"},l().createElement("button",e({type:"button",ref:i,onClick:n||c,className:r()("yst-popover__close-button",a)},o),s||l().createElement(l().Fragment,null,l().createElement("span",{className:"yst-sr-only"},t),l().createElement(Et,e({className:"yst-h-5 yst-w-5"},d)))))}));Ts.displayName="Popover.CloseButton",Ts.propTypes={screenReaderLabel:o().string,onClick:o().func,children:o().node,className:o().string};const Cs=({className:t="",children:n=null,...a})=>l().createElement(ra,e({className:r()("yst-popover__title",t),size:"5"},a),n);Cs.displayName="Popover.Title",Cs.propTypes={children:o().node,className:o().string};const Os=({children:t=null,as:n="p",className:a="",...s})=>l().createElement(n,e({className:r()("yst-popover__content",a)},s),t);Os.displayName="Popover.Content",Os.propTypes={className:o().string,as:o().elementType,children:o().oneOfType([o().node,o().arrayOf(o().node)])};const Ss=({className:t="",isVisible:n,...a})=>l().createElement(Nt,e({as:"div",show:n,appear:!0,unmount:!0,enter:r()("yst-popover__backdrop yst-transition yst-duration-150 yst-ease-in",t),enterFrom:"yst-bg-opacity-0",enterTo:"yst-bg-opacity-75",entered:r()("yst-popover__backdrop",t),leave:r()("yst-popover__backdrop yst-transition yst-duration-150 yst-ease-in",t),leaveFrom:"yst-bg-opacity-75",leaveTo:"yst-bg-opacity-0"},a));Ss.displayName="Popover.Backdrop",Ss.propTypes={className:o().string,isVisible:o().bool.isRequired};const ks=(0,i.forwardRef)((({children:t,role:n="dialog",as:a="div",className:s="",isVisible:o=!1,setIsVisible:u=c.noop,position:d="no-arrow",hasBackdrop:p=!1,...m},f)=>{const y=(0,i.useCallback)((()=>{u(!1)}),[u]);return l().createElement(xs.Provider,{value:{handleDismiss:y}},p&&l().createElement(Ss,{isVisible:o}),l().createElement(Nt,{as:i.Fragment,show:o,appear:!0,enter:"yst-transition yst-ease-in-out yst-duration-50",enterFrom:"yst-bg-opacity-0",enterTo:"yst-bg-opacity-100",leave:"yst-transition yst-ease-in-out yst-duration-50",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0",unmount:!0},l().createElement(a,e({ref:f,role:n,"aria-modal":"true",className:r()("yst-popover",Rs[d],s)},m),t)))}));ks.displayName="Popover",ks.propTypes={as:o().elementType,children:o().node.isRequired,role:o().string,className:o().string,isVisible:o().bool,setIsVisible:o().func,position:o().oneOf(Object.keys(Rs)),hasBackdrop:o().bool},ks.Title=Cs,ks.CloseButton=Ts,ks.Content=Os,ks.Backdrop=Ss;const Ps=ks,_s={variant:{default:"","inline-block":"yst-radio-group--inline-block"}},Is=({children:t=null,id:n="",name:a="",value:s="",label:o="",description:u="",options:d=[],onChange:p=c.noop,variant:m="default",disabled:f=!1,className:y="",...b})=>{const v=(0,i.useCallback)((({target:e})=>e.checked&&p(e.value)),[p]);return l().createElement("fieldset",{id:`radio-group-${n}`,className:r()("yst-radio-group",f&&"yst-radio-group--disabled",_s.variant[m],y)},o&&l().createElement(Wt,{as:"legend",className:"yst-radio-group__label",label:o}),u&&l().createElement("div",{className:"yst-radio-group__description"},u),l().createElement("div",{className:"yst-radio-group__options"},t||d.map(((t,r)=>{const o=`radio-${n}-${r}`;return l().createElement(pn,e({key:o,id:o,name:a,value:t.value,label:t.label,screenReaderLabel:t.screenReaderLabel,variant:m,checked:s===t.value,onChange:v,disabled:f},b))}))))};Is.propTypes={children:o().node,id:o().string,name:o().string,value:o().string,label:o().string,description:o().string,options:o().arrayOf(o().shape({value:o().string.isRequired,label:o().string.isRequired,screenReaderLabel:o().string})),onChange:o().func,variant:o().oneOf(Object.keys(_s.variant)),disabled:o().bool,className:o().string},(Is.Radio=pn).displayName="RadioGroup.Radio";const Ls=Is,Ms={isRtl:!1},Ds=(0,i.createContext)(Ms),Fs=({children:t,context:n={},...a})=>l().createElement(Ds.Provider,{value:{...Ms,...n}},l().createElement("div",e({className:"yst-root"},a),t));Fs.propTypes={children:o().node.isRequired,context:o().shape({isRtl:o().bool})};const qs=Fs,As=(0,i.forwardRef)((({id:t,label:n,description:a,disabled:s,validation:o,className:i,...c},u)=>{const{ids:d,describedBy:p}=Pa(t,{validation:null==o?void 0:o.message,description:a});return l().createElement("div",{className:r()("yst-select-field",s&&"yst-select-field--disabled",i)},l().createElement(Fn,e({ref:u,id:t,label:n,labelProps:{as:"label",className:"yst-label yst-select-field__label"},disabled:s,validation:o,className:"yst-select-field__select",buttonProps:{"aria-describedby":p}},c)),(null==o?void 0:o.message)&&l().createElement(x,{variant:null==o?void 0:o.variant,id:d.validation,className:"yst-select-field__validation"},o.message),a&&l().createElement("div",{id:d.description,className:"yst-select-field__description"},a))}));As.displayName="SelectField",As.propTypes={id:o().string.isRequired,label:o().string.isRequired,description:o().node,disabled:o().bool,validation:o().shape({variant:o().string,message:o().node}),className:o().string},As.defaultProps={description:null,disabled:!1,validation:{},className:""},As.Option=Fn.Option,As.Option.displayName="SelectField.Option";const Bs=As,js=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),Hs=({as:t="span",children:n=null,className:a="",...s})=>l().createElement(t,e({className:r()("yst-sidebar-navigation__icon",a)},s),n);Hs.displayName="SidebarNavigation.Icon",Hs.propTypes={as:o().elementType,children:o().node,className:o().string};const zs=({as:t="div",label:n,icon:a=null,children:s=null,defaultOpen:o=!0,id:c,...u})=>{const{history:d,addToHistory:p,removeFromHistory:m}=no(),[f,y,,b]=Wa(o),v=(0,i.useCallback)((()=>{y(),f?m(c):p(c)}),[y,c,f,p,m]);return(0,i.useEffect)((()=>{d.includes(c)&&b()}),[d,c,b]),l().createElement(t,{className:"yst-sidebar-navigation__collapsible"},l().createElement("button",e({type:"button",className:"yst-sidebar-navigation__collapsible-button yst-group",onClick:v,"aria-expanded":f},u),a&&l().createElement(Hs,{as:a,className:"yst-h-6 yst-w-6"}),n,l().createElement(Hs,{as:js,className:r()("yst-ms-auto yst-h-4 yst-w-4 yst-stroke-3",f&&"yst-rotate-180")})),f&&s)};zs.displayName="SidebarNavigation.Collapsible",zs.propTypes={as:o().elementType,icon:o().elementType,label:o().string.isRequired,defaultOpen:o().bool,children:o().node,id:o().string.isRequired};const $s=({as:t="li",children:n=null,className:a="",...s})=>l().createElement(t,e({className:r()("yst-sidebar-navigation__item",a)},s),n);$s.displayName="SidebarNavigation.Item",$s.propTypes={as:o().elementType,children:o().node,className:o().string};const Vs=({as:t="a",pathProp:n="href",children:a=null,className:s="",onClick:o=null,...c})=>{const{activePath:u,setMobileMenuOpen:d}=no(),p=(0,i.useCallback)((()=>{d(!1),null==o||o()}),[d]);return l().createElement(t,e({className:r()("yst-sidebar-navigation__link yst-group",u===(null==c?void 0:c[n])&&"yst-sidebar-navigation__item--active",s),"aria-current":u===(null==c?void 0:c[n])?"page":null},c,{onClick:p}),a)};Vs.displayName="SidebarNavigation.Link",Vs.propTypes={as:o().elementType,pathProp:o().string,children:o().node,className:o().string,onClick:o().func};const Us=({as:t="ul",children:n=null,isIndented:a=!1,className:s="",...o})=>l().createElement(t,e({role:"list",className:r()("yst-sidebar-navigation__list",a&&"yst-sidebar-navigation__list--indented",s)},o),n);Us.displayName="SidebarNavigation.List",Us.propTypes={as:o().elementType,children:o().node,isIndented:o().bool,className:o().string};const Ws=({label:t,icon:n=null,children:a=null,defaultOpen:r=!0,id:s,...o})=>l().createElement(zs,e({label:t,icon:n,defaultOpen:r,id:s},o),l().createElement(Us,{isIndented:!0},a));Ws.propTypes={label:o().string.isRequired,icon:o().elementType,defaultOpen:o().bool,children:o().node,id:o().string.isRequired};const Ks=Ws,Gs=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h7"}))})),Qs=({children:e,openButtonId:t=null,closeButtonId:n=null,openButtonScreenReaderText:a="Open",closeButtonScreenReaderText:r="Close","aria-label":s=""})=>{const{isMobileMenuOpen:o,setMobileMenuOpen:c}=no(),u=(0,i.useCallback)((()=>c(!0)),[c]),d=(0,i.useCallback)((()=>c(!1)),[c]);return l().createElement(l().Fragment,null,l().createElement(Vr,{className:"yst-root",open:o,onClose:d,"aria-label":s},l().createElement("div",{className:"yst-mobile-navigation__dialog"},l().createElement("div",{className:"yst-fixed yst-inset-0 yst-bg-slate-600 yst-bg-opacity-75 yst-z-30","aria-hidden":"true"}),l().createElement(Vr.Panel,{className:"yst-relative yst-flex yst-flex-1 yst-flex-col yst-max-w-xs yst-w-full yst-z-40 yst-bg-slate-100"},l().createElement("div",{className:"yst-absolute yst-top-0 yst-end-0 yst--me-14 yst-p-1"},l().createElement("button",{type:"button",id:n,className:"yst-flex yst-h-12 yst-w-12 yst-items-center yst-justify-center yst-rounded-full focus:yst-outline-none yst-bg-slate-600 focus:yst-ring-2 focus:yst-ring-inset focus:yst-ring-primary-500",onClick:d},l().createElement("span",{className:"yst-sr-only"},r),l().createElement(Et,{className:"yst-h-6 yst-w-6 yst-text-white"}))),l().createElement("div",{className:"yst-flex-1 yst-h-0 yst-overflow-y-auto"},l().createElement("nav",{className:"yst-h-full yst-flex yst-flex-col yst-py-6 yst-px-2"},e))))),l().createElement("div",{className:"yst-mobile-navigation__top"},l().createElement("div",{className:"yst-flex yst-relative yst-flex-shrink-0 yst-h-16 yst-z-10 yst-bg-white yst-border-b yst-border-slate-200"},l().createElement("button",{type:"button",id:t,className:"yst-px-4 yst-border-r yst-border-slate-200 yst-text-slate-500 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-inset focus:yst-ring-primary-500",onClick:u},l().createElement("span",{className:"yst-sr-only"},a),l().createElement(Gs,{className:"yst-w-6 yst-h-6"})))))};Qs.propTypes={children:o().node.isRequired,openButtonId:o().string,closeButtonId:o().string,openButtonScreenReaderText:o().string,closeButtonScreenReaderText:o().string,"aria-label":o().string};const Ys=Qs,Zs=({children:e,className:t=""})=>l().createElement("nav",{className:r()("yst-sidebar-navigation__sidebar",t)},e);Zs.propTypes={children:o().node.isRequired,className:o().string};const Xs=Zs,Js=({as:t="a",pathProp:n="href",label:a,...r})=>l().createElement($s,null,l().createElement(Vs,e({as:t,pathProp:n},r),a));Js.propTypes={as:o().elementType,pathProp:o().string,label:o().node.isRequired,isActive:o().bool};const eo=Js,to=(0,i.createContext)({activePath:"",isMobileMenuOpen:!1,setMobileMenuOpen:c.noop,history:[],setHistory:c.noop,removeFromHistory:c.noop,addToHistory:c.noop}),no=()=>(0,i.useContext)(to),ao=({activePath:e="",children:t})=>{const[n,a]=(0,i.useState)(!1),[r,s]=(0,i.useState)([]),o=(0,i.useCallback)((e=>{s((0,c.uniq)([...r,e]))}),[r]),u=(0,i.useCallback)((e=>{s(r.filter((t=>t!==e)))}),[r]);return l().createElement(to.Provider,{value:{activePath:e,isMobileMenuOpen:n,setMobileMenuOpen:a,history:r,setHistory:s,removeFromHistory:u,addToHistory:o}},t)};ao.propTypes={activePath:o().string,children:o().node.isRequired},(ao.Sidebar=Xs).displayName="SidebarNavigation.Sidebar",(ao.Mobile=Ys).displayName="SidebarNavigation.Mobile",(ao.MenuItem=Ks).displayName="SidebarNavigation.MenuItem",(ao.SubmenuItem=eo).displayName="SidebarNavigation.SubmenuItem",ao.List=Us,ao.Item=$s,ao.Collapsible=zs,ao.Link=Vs,ao.Icon=Hs;const ro=ao,so=(0,i.forwardRef)((({id:t,label:n,labelSuffix:a,disabled:s,className:o,description:i,validation:c,...u},d)=>{const{ids:p,describedBy:m}=Pa(t,{validation:null==c?void 0:c.message,description:i});return l().createElement("div",{className:r()("yst-tag-field",s&&"yst-tag-field--disabled",o)},l().createElement("div",{className:"yst-flex yst-items-center yst-mb-2"},l().createElement(Wt,{className:"yst-tag-field__label",htmlFor:t,label:n}),a),l().createElement(Lt,e({as:Zn,ref:d,id:t,disabled:s,className:"yst-tag-field__input","aria-describedby":m,validation:c},u)),(null==c?void 0:c.message)&&l().createElement(x,{variant:null==c?void 0:c.variant,id:p.validation,className:"yst-tag-field__validation"},c.message),i&&l().createElement("p",{id:p.description,className:"yst-tag-field__description"},i))}));so.displayName="TagField",so.propTypes={id:o().string.isRequired,label:o().string.isRequired,labelSuffix:o().node,disabled:o().bool,className:o().string,description:o().node,validation:o().shape({variant:o().string,message:o().node})},so.defaultProps={labelSuffix:null,disabled:!1,className:"",description:null,validation:{}};const oo=so,io=(0,i.forwardRef)((({id:t,onChange:n,label:a,labelSuffix:s,disabled:o,readOnly:i,className:c,description:u,validation:d,...p},m)=>{const{ids:f,describedBy:y}=Pa(t,{validation:null==d?void 0:d.message,description:u});return l().createElement("div",{className:r()("yst-text-field",o&&"yst-text-field--disabled",i&&"yst-text-field--read-only",c)},l().createElement("div",{className:"yst-flex yst-items-center yst-mb-2"},l().createElement(Wt,{className:"yst-text-field__label",htmlFor:t},a),s),l().createElement(Lt,e({as:Jn,ref:m,id:t,onChange:n,disabled:o,readOnly:i,className:"yst-text-field__input","aria-describedby":y,validation:d},p)),(null==d?void 0:d.message)&&l().createElement(x,{variant:null==d?void 0:d.variant,id:f.validation,className:"yst-text-field__validation"},d.message),u&&l().createElement("p",{id:f.description,className:"yst-text-field__description"},u))}));io.displayName="TextField",io.propTypes={id:o().string.isRequired,onChange:o().func.isRequired,label:o().string.isRequired,labelSuffix:o().node,disabled:o().bool,readOnly:o().bool,className:o().string,description:o().node,validation:o().shape({variant:o().string,message:o().node})},io.defaultProps={labelSuffix:null,disabled:!1,readOnly:!1,className:"",description:null,validation:{}};const lo=io,co=(0,i.forwardRef)((({id:t,label:n,className:a="",description:s="",validation:o={},disabled:i,readOnly:c,...u},d)=>{const{ids:p,describedBy:m}=Pa(t,{validation:null==o?void 0:o.message,description:s});return l().createElement("div",{className:r()("yst-textarea-field",i&&"yst-textarea-field--disabled",c&&"yst-textarea-field--read-only",a)},l().createElement("div",{className:"yst-flex yst-items-center yst-mb-2"},l().createElement(Wt,{className:"yst-textarea-field__label",htmlFor:t},n)),l().createElement(Lt,e({as:ta,ref:d,id:t,className:"yst-textarea-field__input","aria-describedby":m,validation:o,disabled:i,readOnly:c},u)),(null==o?void 0:o.message)&&l().createElement(x,{variant:null==o?void 0:o.variant,id:p.validation,className:"yst-textarea-field__validation"},o.message),s&&l().createElement("p",{id:p.description,className:"yst-textarea-field__description"},s))}));co.displayName="TextareaField",co.propTypes={id:o().string.isRequired,label:o().string.isRequired,className:o().string,description:o().node,disabled:o().bool,readOnly:o().bool,validation:o().shape({variant:o().string,message:o().node})},co.defaultProps={className:"",description:null,disabled:!1,readOnly:!1,validation:{}};const uo=co,po=(0,i.forwardRef)((({id:t,children:n,label:a,labelSuffix:s,description:o,checked:i,disabled:c,onChange:u,className:d,"aria-label":p,...m},f)=>l().createElement(Ra.Group,{as:"div",className:r()("yst-toggle-field",c&&"yst-toggle-field--disabled",d)},l().createElement("div",{className:"yst-toggle-field__header"},a&&l().createElement("div",{className:"yst-toggle-field__label-wrapper"},l().createElement(Wt,{as:Ra.Label,className:"yst-toggle-field__label",label:a,"aria-label":p}),s),l().createElement(Ta,e({id:t,ref:f,checked:i,onChange:u,screenReaderLabel:a,disabled:c},m))),(o||n)&&l().createElement(Ra.Description,{as:"div",className:"yst-toggle-field__description"},o||n))));po.displayName="ToggleField",po.propTypes={id:o().string.isRequired,children:o().node,label:o().string.isRequired,labelSuffix:o().node,description:o().node,checked:o().bool.isRequired,disabled:o().bool,onChange:o().func.isRequired,className:o().string,"aria-label":o().string},po.defaultProps={children:null,labelSuffix:null,description:null,disabled:!1,className:"","aria-label":null};const mo=po,fo=(0,i.createContext)({isVisible:!1,show:c.noop,hide:c.noop,tooltipPosition:{},setTooltipPosition:c.noop}),yo=()=>(0,i.useContext)(fo),bo=({as:e="span",className:t="",children:n=null})=>{const[a,,,s,o]=Wa(!1),[c,u]=(0,i.useState)({}),d=(0,i.useCallback)((e=>{"Escape"===e.key&&a&&(o(),e.stopPropagation())}),[a,o]),p=(0,i.useMemo)((()=>({isVisible:a,show:s,hide:o,tooltipPosition:c,setTooltipPosition:u})),[a,s,o,c]);return l().createElement(fo.Provider,{value:p},l().createElement(e,{className:r()("yst-tooltip-container",t),onKeyDown:d},n))};bo.propTypes={as:o().elementType,children:o().node,className:o().string};const vo=({as:t="button",className:n="",children:a=null,ariaDescribedby:s=null,...o})=>{const{show:u,hide:d,tooltipPosition:p,isVisible:m}=yo(),f=(0,i.useRef)();return(0,i.useEffect)((()=>{const e=(0,c.debounce)((e=>{const t=f.current.getBoundingClientRect(),n=t.top-10,a=t.right+10,r=t.bottom+10,s=t.left-10,o=e.clientX,i=e.clientY,l=o<p.left||o>p.right||i<p.top||i>p.bottom;(o<s||o>a||i<n||i>r)&&document.activeElement!==f.current&&l?d():u()}),100);return document.addEventListener("pointermove",e),()=>{document.removeEventListener("pointermove",e),e.cancel()}}),[u,d,f.current,p,m]),l().createElement(t,e({ref:f,className:r()("yst-tooltip-trigger",n),"aria-describedby":s,"aria-disabled":!0},o),a)};vo.propTypes={as:o().elementType,children:o().node,className:o().string,ariaDescribedby:o().string};const go=({className:t="",children:n=null,...a})=>{const{isVisible:s,setTooltipPosition:o}=yo(),c=(0,i.useRef)();return(0,i.useEffect)((()=>{const e=c.current.getBoundingClientRect();o({top:e.top,right:e.right,bottom:e.bottom,left:e.left})}),[c.current,o,s]),l().createElement(ka,e({ref:c,className:r()(t,{"yst-hidden":!s})},a),n)};go.propTypes={className:o().string,children:o().node};const ho=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"}))}));var No=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(No||{}),Eo=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Eo||{}),xo=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(xo||{});function Ro(e,t=(e=>e)){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,a=te(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),r=n?a.indexOf(n):null;return-1===r&&(r=null),{items:a,activeItemIndex:r}}let wo={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let a=Ro(e),r=pe(t,{resolveItems:()=>a.items,resolveActiveIndex:()=>a.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,searchQuery:"",activeItemIndex:r,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,a=e.searchQuery+t.value.toLowerCase(),r=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(a))&&!e.dataRef.current.disabled})),s=r?e.items.indexOf(r):-1;return-1===s||s===e.activeItemIndex?{...e,searchQuery:a}:{...e,searchQuery:a,activeItemIndex:s,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=Ro(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=Ro(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},To=(0,i.createContext)(null);function Co(e){let t=(0,i.useContext)(To);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Co),t}return t}function Oo(e,t){return H(t.type,wo,e,t)}To.displayName="MenuContext";let So=i.Fragment,ko=Ne((function(e,t){let n=(0,i.useReducer)(Oo,{menuState:1,buttonRef:(0,i.createRef)(),itemsRef:(0,i.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:r,buttonRef:s},o]=n,l=ce(t);re([s,r],((e,t)=>{var n;o({type:1}),Z(t,Y.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())}),0===a);let c=q((()=>{o({type:1})})),u=(0,i.useMemo)((()=>({open:0===a,close:c})),[a,c]),d=e,p={ref:l};return i.createElement(To.Provider,{value:n},i.createElement(Ie,{value:H(a,{0:Pe.Open,1:Pe.Closed})},ve({ourProps:p,theirProps:d,slot:u,defaultTag:So,name:"Menu"})))})),Po=Ne((function(e,t){var n;let a=j(),{id:r=`headlessui-menu-button-${a}`,...s}=e,[o,l]=Co("Menu.Button"),c=ce(o.buttonRef,t),u=F(),d=q((e=>{switch(e.key){case Le.Space:case Le.Enter:case Le.ArrowDown:e.preventDefault(),e.stopPropagation(),l({type:0}),u.nextFrame((()=>l({type:2,focus:de.First})));break;case Le.ArrowUp:e.preventDefault(),e.stopPropagation(),l({type:0}),u.nextFrame((()=>l({type:2,focus:de.Last})))}})),p=q((e=>{e.key===Le.Space&&e.preventDefault()})),m=q((t=>{if(Re(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(l({type:1}),u.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),l({type:0})))})),f=(0,i.useMemo)((()=>({open:0===o.menuState})),[o]);return ve({ourProps:{ref:c,id:r,type:oe(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===o.menuState,onKeyDown:d,onKeyUp:p,onClick:m},theirProps:s,slot:f,defaultTag:"button",name:"Menu.Button"})})),_o=ye.RenderStrategy|ye.Static,Io=Ne((function(e,t){var n,a;let r=j(),{id:s=`headlessui-menu-items-${r}`,...o}=e,[l,c]=Co("Menu.Items"),u=ce(l.itemsRef,t),d=ur(l.itemsRef),p=F(),m=_e(),f=null!==m?m===Pe.Open:0===l.menuState;(0,i.useEffect)((()=>{let e=l.itemsRef.current;!e||0===l.menuState&&e!==(null==d?void 0:d.activeElement)&&e.focus({preventScroll:!0})}),[l.menuState,l.itemsRef,d]),ue({container:l.itemsRef.current,enabled:0===l.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let y=q((e=>{var t,n;switch(p.dispose(),e.key){case Le.Space:if(""!==l.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:3,value:e.key});case Le.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:1}),null!==l.activeItemIndex){let{dataRef:e}=l.items[l.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}X(l.buttonRef.current);break;case Le.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:de.Next});case Le.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:de.Previous});case Le.Home:case Le.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:de.First});case Le.End:case Le.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:de.Last});case Le.Escape:e.preventDefault(),e.stopPropagation(),c({type:1}),D().nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case Le.Tab:e.preventDefault(),e.stopPropagation(),c({type:1}),D().nextFrame((()=>{!function(e,t){ne(Q(),t,{relativeTo:e})}(l.buttonRef.current,e.shiftKey?W.Previous:W.Next)}));break;default:1===e.key.length&&(c({type:3,value:e.key}),p.setTimeout((()=>c({type:4})),350))}})),b=q((e=>{e.key===Le.Space&&e.preventDefault()})),v=(0,i.useMemo)((()=>({open:0===l.menuState})),[l]);return ve({ourProps:{"aria-activedescendant":null===l.activeItemIndex||null==(n=l.items[l.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(a=l.buttonRef.current)?void 0:a.id,id:s,onKeyDown:y,onKeyUp:b,role:"menu",tabIndex:0,ref:u},theirProps:o,slot:v,defaultTag:"div",features:_o,visible:f,name:"Menu.Items"})})),Lo=i.Fragment,Mo=Ne((function(e,t){let n=j(),{id:a=`headlessui-menu-item-${n}`,disabled:r=!1,...s}=e,[o,l]=Co("Menu.Item"),c=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===a,u=(0,i.useRef)(null),d=ce(t,u);_((()=>{if(0!==o.menuState||!c||0===o.activationTrigger)return;let e=D();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[u,c,o.menuState,o.activationTrigger,o.activeItemIndex]);let p=(0,i.useRef)({disabled:r,domRef:u});_((()=>{p.current.disabled=r}),[p,r]),_((()=>{var e,t;p.current.textValue=null==(t=null==(e=u.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[p,u]),_((()=>(l({type:5,id:a,dataRef:p}),()=>l({type:6,id:a}))),[p,a]);let m=q((()=>{l({type:1})})),f=q((e=>{if(r)return e.preventDefault();l({type:1}),X(o.buttonRef.current)})),y=q((()=>{if(r)return l({type:2,focus:de.Nothing});l({type:2,focus:de.Specific,id:a})})),b=qe(),v=q((e=>b.update(e))),g=q((e=>{!b.wasMoved(e)||r||c||l({type:2,focus:de.Specific,id:a,trigger:0})})),h=q((e=>{!b.wasMoved(e)||r||!c||l({type:2,focus:de.Nothing})})),N=(0,i.useMemo)((()=>({active:c,disabled:r,close:m})),[c,r,m]);return ve({ourProps:{id:a,ref:d,role:"menuitem",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,disabled:void 0,onClick:f,onFocus:y,onPointerEnter:v,onMouseEnter:v,onPointerMove:g,onMouseMove:g,onPointerLeave:h,onMouseLeave:h},theirProps:s,slot:N,defaultTag:Lo,name:"Menu.Item"})})),Do=Object.assign(ko,{Button:Po,Items:Io,Item:Mo});const Fo=({children:t,className:n="",...a})=>l().createElement(Do.Item,null,(({active:s})=>l().createElement(Pt,e({variant:"tertiary"},a,{className:r()("yst-dropdown-menu__item--button",s?"yst-bg-slate-100":"",n)}),t)));Fo.propTypes={children:o().node.isRequired,className:o().string};const qo=({className:t="",screenReaderTriggerLabel:n,Icon:a=ho,...s})=>l().createElement(Do.Button,e({},s,{className:r()("yst-dropdown-menu__icon-trigger",t)}),(({open:e})=>l().createElement(l().Fragment,null,l().createElement(a,{className:r()("yst-h-6 yst-w-6 hover:yst-text-slate-600",e?"yst-text-slate-600":"")}),l().createElement("span",{className:"yst-sr-only"},n))));qo.propTypes={className:o().string,screenReaderTriggerLabel:o().string.isRequired,Icon:o().node};const Ao=({children:t,className:n="",...a})=>l().createElement(Nt,{as:i.Fragment,enter:"yst-transition yst-ease-out yst-duration-100",enterFrom:"yst-transform yst-opacity-0 yst-scale-95",enterTo:"yst-transform yst-opacity-100 yst-scale-100",leave:"yst-transition yst-ease-in yst-duration-75",leaveFrom:"yst-transform yst-opacity-100 yst-scale-100",leaveTo:"yst-transform yst-opacity-0 yst-scale-95"},l().createElement(Do.Items,e({},a,{className:r()("yst-dropdown-menu__list",n)}),t));Ao.propTypes={children:o().node.isRequired,className:o().string};const Bo=({children:e,...t})=>l().createElement(Do,t,e);Bo.propTypes={children:o().node.isRequired},Bo.Item=Do.Item,Bo.Item.displayName="DropdownMenu.Item",Bo.ButtonItem=Fo,Bo.ButtonItem.displayName="DropdownMenu.ButtonItem",Bo.IconTrigger=qo,Bo.IconTrigger.displayName="DropdownMenu.IconTrigger",Bo.Trigger=Do.Button,Bo.Trigger.displayName="DropdownMenu.Trigger",Bo.List=Ao,Bo.List.displayName="DropdownMenu.List",Bo.displayName="DropdownMenu";const jo=(0,i.createContext)({addStepRef:c.noop,currentStep:0}),Ho=({as:t=un,...n})=>l().createElement(t,e({className:"yst-absolute yst-top-3 yst-w-auto yst-h-0.5",min:0,max:100},n));Ho.displayName="Stepper.ProgressBar",Ho.propTypes={as:o().elementType};const zo=({children:e,index:t,id:n})=>{const{addStepRef:a,currentStep:s}=(0,i.useContext)(jo),o=t===s,c=t<s;return l().createElement("div",{ref:a,className:r()("yst-step",c&&"yst-step--complete",o&&"yst-step--active"),id:n},l().createElement("div",{className:"yst-step__circle"},l().createElement("div",{className:r()("yst-step__icon yst-bg-primary-500 yst-w-2 yst-h-2 yst-rounded-full yst-delay-500",!c&&o?"yst-opacity-100":"yst-opacity-0")}),c&&l().createElement(xt,{className:"yst-step__icon yst-w-4"})),l().createElement("div",{className:"yst-font-semibold yst-text-xxs yst-mt-3"},e))};zo.displayName="Stepper.Step",zo.propTypes={children:o().node.isRequired,index:o().number.isRequired,id:o().string.isRequired};const $o=(0,i.forwardRef)((({children:e,currentStep:t=0,className:n="",steps:a=[],ProgressBar:s=Ho},o)=>{const[c,u]=(0,i.useState)({left:0,right:0,stepsLengthPercentage:[]}),[d,p]=(0,i.useState)([]);(0,i.useLayoutEffect)((()=>{let t=[];a.length>0&&(t=a.map((e=>d.find((t=>t&&t.id===e.id))))),e&&(t=l().Children.map(e,(e=>d.find((t=>t&&t.id===e.props.id))))),p(t.filter(Boolean))}),[a,e,t]),(0,i.useLayoutEffect)((()=>{if(0===d.length)return void u({left:0,right:0,stepsLengthPercentage:[]});const e=d[0].getBoundingClientRect(),t=d[d.length-1].getBoundingClientRect(),n=((e,t)=>t.right-e.left-e.width/2-t.width/2)(e,t),a=((e,t,n)=>{const a=t.left+t.width/2;return e.map(((t,r)=>0===r?0:r>=e.length-1?100:((null==t?void 0:t.getBoundingClientRect().right)-a-(null==t?void 0:t.getBoundingClientRect().width)/2)/n*100))})(d,e,n);u({left:e.width/2,right:t.width/2,stepsLengthPercentage:a})}),[d]);const m=(0,i.useCallback)((e=>{e&&!d.includes(e)&&p((t=>[...t,e]))}),[d]);return 0!==a.length||e?l().createElement(jo.Provider,{value:{addStepRef:m,currentStep:t}},l().createElement("div",{className:r()(n,"yst-stepper"),ref:o},l().createElement(s,{style:{right:c.right,left:c.left},progress:(f=c.stepsLengthPercentage,y=t,y&&f?null!==(b=f[y])&&void 0!==b?b:100:0)}),e||a.map(((e,t)=>l().createElement(zo,{key:`${e.id}-step`,index:t,id:e.id},e.children))))):null;var f,y,b}));$o.displayName="Stepper",$o.propTypes={currentStep:o().number,children:o().node,className:o().string,steps:o().arrayOf(o().shape({id:o().string.isRequired,children:o().node.isRequired})),ProgressBar:o().elementType},$o.defaultProps={className:"",steps:[],children:void 0,currentStep:0,ProgressBar:Ho},$o.Context=jo,$o.ProgressBar=Ho,$o.Step=zo;const Vo=(0,i.createContext)({buttonLabel:"Select image",imageUrl:"",onSelectImage:c.noop,isDisabled:!1,id:"yst-image-select",isLoading:!1}),Uo=()=>(0,i.useContext)(Vo),Wo=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Ko=(0,i.forwardRef)((({children:e,className:t="",label:n,imageUrl:a,selectButtonLabel:s,replaceButtonLabel:o,onSelectImage:i,isDisabled:c,isLoading:u=!1,id:d},p)=>{const m=a?o:s;return l().createElement(Vo.Provider,{value:{imageUrl:a,buttonLabel:m,onSelectImage:i,id:d,isDisabled:c,isLoading:u}},l().createElement("div",{className:r()("yst-image-select",t),ref:p,id:d},l().createElement("div",{className:"yst-mb-2 yst-text-slate-900 yst-font-semibold",id:`${d}-label`},n),e))})),Go={default:"yst-max-h-32 yst-w-32 yst-min-h-20","medium-rect":"yst-h-48 yst-w-96","medium-square":"yst-h-48 yst-w-48",custom:""};Ko.displayName="ImageSelect",Ko.Preview=({imageAltText:t,className:n="",selectDescription:a="",size:s="default"})=>{const{id:o,isDisabled:i,buttonLabel:c,imageUrl:d,onSelectImage:p,isLoading:m}=Uo(),f=u();return l().createElement("button",{className:r()("yst-image-select-preview",d?"":"yst-border-2 yst-border-dashed",{"yst-cursor-wait":m},s in Go?Go[s]:"",n),id:`${o}-preview`,"aria-labelledby":`${o}-label ${o}-preview`,"aria-busy":m,onClick:p,type:"button",disabled:i||m},d?l().createElement("img",{src:d,alt:t,className:r()("yst-image-select-preview-image",m&&"yst-image-select-preview-image--loading")}):l().createElement("div",null,l().createElement(Wo,e({className:"yst-image-select-preview-icon"},f)),a&&l().createElement("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-px-8 yst-max-w-48"},a)),l().createElement("span",{className:"yst-sr-only"},c))},Ko.Preview.displayName="ImageSelect.Preview",Ko.Buttons=({removeLabel:e,onRemoveImage:t})=>{const{isDisabled:n,buttonLabel:a,imageUrl:r,onSelectImage:s,id:o,isLoading:i}=Uo();return l().createElement("div",{className:"yst-mt-3 yst-flex yst-gap-4 yst-justify-start"},l().createElement(Pt,{variant:"secondary",id:r?`${o}-replace-button`:`${o}-select-button`,onClick:s,disabled:n||i,isLoading:i,"aria-busy":i},a),r&&l().createElement(tn,{as:"button",id:`${o}-remove-button`,onClick:t,disabled:n,className:"yst-text-red-600"},e))},Ko.Buttons.displayName="ImageSelect.Buttons";const Qo=(e,t=!0)=>{const n=(0,i.useCallback)((e=>((e||window.event).returnValue=t,t)),[t]);(0,i.useEffect)((()=>(e&&window.addEventListener("beforeunload",n),()=>window.removeEventListener("beforeunload",n))),[e,n])},Yo=(e,t)=>{(0,i.useEffect)((()=>(t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)})),[e])},Zo=e=>{const t=(0,i.useRef)(e);return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},Xo=()=>(0,i.useContext)(Ds),Jo=e=>{const t=(0,i.useMemo)((()=>window.matchMedia(e)),[e]),[n,a]=(0,i.useState)(t.matches),r=(0,i.useCallback)((e=>{a(e.matches)}),[a]);return(0,i.useEffect)((()=>(t.addEventListener("change",r),()=>{t.removeEventListener("change",r)})),[t,r]),{matches:n}}})(),(window.yoast=window.yoast||{}).uiLibrary=a})(); dist/externals/featureFlag.js 0000644 00000001014 15174677550 0012314 0 ustar 00 (()=>{"use strict";var e,s={};e=s,Object.defineProperty(e,"__esModule",{value:!0}),e.isFeatureEnabled=e.enabledFeatures=e.enableFeatures=void 0,e.isFeatureEnabled=function(e){return!!self.wpseoFeatureFlags&&self.wpseoFeatureFlags.includes(e)},e.enableFeatures=function(e){self.wpseoFeatureFlags||(self.wpseoFeatureFlags=[]),e.forEach((e=>{self.wpseoFeatureFlags.includes(e)||self.wpseoFeatureFlags.push(e)}))},e.enabledFeatures=function(){return self.wpseoFeatureFlags||[]},(window.yoast=window.yoast||{}).featureFlag=s})(); dist/externals/relatedKeyphraseSuggestions.js 0000644 00000062541 15174677550 0015632 0 ustar 00 (()=>{var e={54776:(e,a)=>{var t;!function(){"use strict";var l={}.hasOwnProperty;function s(){for(var e="",a=0;a<arguments.length;a++){var t=arguments[a];t&&(e=n(e,r(t)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var t in e)l.call(e,t)&&e[t]&&(a=n(a,t));return a}function n(e,a){return a?e?e+" "+a:e+a:e}e.exports?(s.default=s,e.exports=s):void 0===(t=function(){return s}.apply(a,[]))||(e.exports=t)}()}},a={};function t(l){var s=a[l];if(void 0!==s)return s.exports;var r=a[l]={exports:{}};return e[l](r,r.exports,t),r.exports}t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},t.d=(e,a)=>{for(var l in a)t.o(a,l)&&!t.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};(()=>{"use strict";t.r(l),t.d(l,{CountrySelector:()=>B,DifficultyBullet:()=>w,IntentBadge:()=>v,KeyphrasesTable:()=>_,Modal:()=>D,PremiumUpsell:()=>O,TableButton:()=>S,TrendGraph:()=>c,UserMessage:()=>z});const e=window.React;var a=t.n(e);const s=window.yoast.propTypes;var r=t.n(s);const n=window.wp.i18n,o=[(0,n.__)("Twelve months ago","wordpress-seo"),(0,n.__)("Eleven months ago","wordpress-seo"),(0,n.__)("Ten months ago","wordpress-seo"),(0,n.__)("Nine months ago","wordpress-seo"),(0,n.__)("Eight months ago","wordpress-seo"),(0,n.__)("Seven months ago","wordpress-seo"),(0,n.__)("Six months ago","wordpress-seo"),(0,n.__)("Five months ago","wordpress-seo"),(0,n.__)("Four months ago","wordpress-seo"),(0,n.__)("Three months ago","wordpress-seo"),(0,n.__)("Two months ago","wordpress-seo"),(0,n.__)("Last month","wordpress-seo")],i=({data:e})=>{if(e.length!==o.length)throw new Error("The number of headers and header labels don't match.");return a().createElement("div",{className:"yst-sr-only"},a().createElement("table",null,a().createElement("caption",null,(0,n.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo")),a().createElement("thead",null,a().createElement("tr",null,o.map(((e,t)=>a().createElement("th",{key:t},e))))),a().createElement("tbody",null,a().createElement("tr",null,e.map(((e,t)=>{return a().createElement("td",{key:t},(l=e,Math.round(100*l)));var l}))))))};i.propTypes={data:r().arrayOf(r().number).isRequired};const c=({data:e})=>{if(12!==e.length){const a=12-e.length;for(let t=0;t<a;t++)e.unshift(0)}const t=Math.max(1,...e.map((e=>e))),l=e.map(((e,a)=>`${a/11*66},${22.2-e/t*22.2+1.8}`)).join(" "),s="0,24 "+l+" 66,24";return a().createElement(a().Fragment,null,a().createElement("svg",{width:66,height:24,viewBox:"0 0 66 24",className:"yst-block",role:"img","aria-hidden":"true",focusable:"false"},a().createElement("polygon",{className:"yst-fill-sky-200",points:s}),a().createElement("polyline",{fill:"none",className:"yst-stroke-blue-500",strokeWidth:1.8,strokeLinejoin:"round",strokeLinecap:"round",points:l})),a().createElement(i,{data:e}))};function u(){return u=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)({}).hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},u.apply(null,arguments)}c.propTypes={data:r().arrayOf(r().number).isRequired};const m=window.yoast.uiLibrary,d=window.lodash;var p=t(54776),y=t.n(p);const b={i:{title:(0,n.__)("Informational","wordpress-seo"),description:(0,n.__)("The user wants to find an answer to a specific question.","wordpress-seo")},n:{title:(0,n.__)("Navigational","wordpress-seo"),description:(0,n.__)("The user wants to find a specific page or site.","wordpress-seo")},c:{title:(0,n.__)("Commercial","wordpress-seo"),description:(0,n.__)("The user wants to investigate brands or services.","wordpress-seo")},t:{title:(0,n.__)("Transactional","wordpress-seo"),description:(0,n.__)("The user wants to complete an action (conversion).","wordpress-seo")}},v=({id:e,value:t,className:l=""})=>b[t]?a().createElement(m.TooltipContainer,null,a().createElement(m.TooltipTrigger,{ariaDescribedby:e,className:y()("yst-intent-badge",`yst-intent-badge--${t}`,l)},t),a().createElement(m.TooltipWithContext,{id:e,className:"yst-w-48 yst-text-xs yst-leading-4 yst-font-normal"},a().createElement("div",{className:"yst-font-medium"},b[t].title," "),b[t].description)):null;v.propTypes={id:r().string.isRequired,value:r().oneOf(["i","n","c","t"]).isRequired,className:r().string};const h=[{min:0,max:14,name:"very-easy",tooltip:{title:(0,n.__)("Very easy","wordpress-seo"),description:(0,n.__)("Your chance to start ranking new pages.","wordpress-seo")}},{min:15,max:29,name:"easy",tooltip:{title:(0,n.__)("Easy","wordpress-seo"),description:(0,n.__)("You will need quality content focused on the keyword’s intent.","wordpress-seo")}},{min:30,max:49,name:"possible",tooltip:{title:(0,n.__)("Possible","wordpress-seo"),description:(0,n.__)("You will need well-structured and unique content.","wordpress-seo")}},{min:50,max:69,name:"difficult",tooltip:{title:(0,n.__)("Difficult","wordpress-seo"),description:(0,n.__)("You will need lots of ref. domains and optimized content.","wordpress-seo")}},{min:70,max:84,name:"hard",tooltip:{title:(0,n.__)("Hard","wordpress-seo"),description:(0,n.__)("You will need lots of high-quality ref. domains and optimized content.","wordpress-seo")}},{min:85,max:100,name:"very-hard",tooltip:{title:(0,n.__)("Very hard","wordpress-seo"),description:(0,n.__)("It will take a lot of on-page SEO, link building, and content promotion efforts.","wordpress-seo")}}],w=({value:e,id:t})=>{const l=(e=>{for(const a of h)if(a.min<=e&&e<=a.max)return a})(e);return l?a().createElement(m.TooltipContainer,null,a().createElement(m.TooltipTrigger,{ariaDescribedby:t,className:"yst-flex yst-gap-2 yst-items-center yst-relative yst-w-10"},a().createElement("div",{className:"yst-text-right yst-w-5"},e),a().createElement("div",{className:y()("yst-w-3 yst-h-3 yst-rounded-full",`yst-difficulty--${l.name}`)})),a().createElement(m.TooltipWithContext,{id:t,className:"yst-w-48 yst-text-xs yst-leading-4 yst-font-normal",position:"left"},a().createElement("div",{className:"yst-font-medium"},l.tooltip.title," "),l.tooltip.description)):null};w.propTypes={value:r().number.isRequired,id:r().string.isRequired};const g=({keyword:e="",searchVolume:t="",trends:l=[],keywordDifficultyIndex:s=-1,intent:r=[],renderButton:n=null,relatedKeyphrases:o=[],id:i})=>a().createElement(m.Table.Row,{id:i},a().createElement(m.Table.Cell,null,e),a().createElement(m.Table.Cell,null,a().createElement("div",{className:"yst-flex yst-gap-2"},r.length>0&&r.map(((e,t)=>a().createElement(v,{id:`${i}__intent-${t}-${e}`,key:`${i}-${t}-${e}`,value:e}))))),a().createElement(m.Table.Cell,null,a().createElement("div",{className:"yst-flex yst-justify-end"},t)),a().createElement(m.Table.Cell,null,a().createElement(c,{data:l})),a().createElement(m.Table.Cell,null,a().createElement("div",{className:"yst-flex yst-justify-end"},a().createElement(w,{value:s,id:`${i}__difficulty-index`}))),(0,d.isFunction)(n)&&a().createElement(m.Table.Cell,null,n(e,o)));g.propTypes={keyword:r().string,searchVolume:r().string,trends:r().arrayOf(r().number),keywordDifficultyIndex:r().number,intent:r().arrayOf(r().string),renderButton:r().func,relatedKeyphrases:r().arrayOf(r().shape({key:r().string,keyword:r().string,results:r().array,score:r().number})),id:r().string.isRequired};const f=({withButton:e=!1})=>a().createElement(m.Table.Row,null,a().createElement(m.Table.Cell,{className:"yst-w-44"},a().createElement(m.SkeletonLoader,{className:"yst-w-36 yst-h-5"})),a().createElement(m.Table.Cell,null,a().createElement(m.SkeletonLoader,{className:"yst-w-5 yst-h-5"})),a().createElement(m.Table.Cell,null,a().createElement("div",{className:"yst-flex yst-justify-end"},a().createElement(m.SkeletonLoader,{className:"yst-w-14 yst-h-5"}))),a().createElement(m.Table.Cell,null,a().createElement(m.SkeletonLoader,{className:"yst-w-16 yst-h-5"})),a().createElement(m.Table.Cell,null,a().createElement("div",{className:"yst-flex yst-gap-2 yst-justify-end"},a().createElement(m.SkeletonLoader,{className:"yst-w-4 yst-h-5"}),a().createElement(m.SkeletonLoader,{className:"yst-w-3 yst-h-5"}))),e&&a().createElement(m.Table.Cell,{className:"yst-w-32"},a().createElement("div",{className:"yst-flex yst-justify-end"},a().createElement(m.SkeletonLoader,{className:"yst-w-16 yst-h-7"}))));f.propTypes={withButton:r().bool};const E=["i","n","t","c"],_=({columnNames:e=[],data:t=[],renderButton:l=null,relatedKeyphrases:s=[],className:r="",userLocale:o="en",isPending:i=!1,idPrefix:c="yoast-seo"})=>{let p;try{p=new Intl.NumberFormat(o,{notation:"compact",compactDisplay:"short"})}catch(e){p=new Intl.NumberFormat(navigator.language.split("-")[0],{notation:"compact",compactDisplay:"short"})}const y=null==t?void 0:t.map((a=>((e,a,t)=>{const l={};return e.forEach(((e,s)=>{switch(e){case"Trends":l.trends=a[s].split(",").map((e=>parseFloat(e)));break;case"Intent":l.intent=a[s].split(",").map((e=>E[Number(e)]));break;case"Keyword Difficulty Index":l.keywordDifficultyIndex=Number(a[s]);break;case"Search Volume":l.searchVolume=t.format(a[s]);break;default:l[e.toLowerCase()]=a[s]}})),l})(e,a,p)));return y&&0!==y.length||i?a().createElement(m.Table,{className:r},a().createElement(m.Table.Head,null,a().createElement(m.Table.Row,null,a().createElement(m.Table.Header,{className:"yst-text-start"},(0,n.__)("Related keyphrase","wordpress-seo")),a().createElement(m.Table.Header,{className:"yst-text-start"},(0,n.__)("Intent","wordpress-seo")),a().createElement(m.Table.Header,null,a().createElement("div",{className:"yst-flex yst-justify-end"},(0,n.__)("Volume","wordpress-seo"))),a().createElement(m.Table.Header,{className:"yst-text-start"},(0,n.__)("Trend","wordpress-seo")),a().createElement(m.Table.Header,{className:"yst-whitespace-nowrap"},a().createElement("div",{className:"yst-flex yst-justify-end"},(0,n.__)("Difficulty %","wordpress-seo"))),l&&a().createElement(m.Table.Header,null,a().createElement("div",{className:"yst-flex yst-justify-end"},a().createElement("div",{className:"yst-text-end yst-w-[88px]"},(0,n.__)("Add keyphrase","wordpress-seo")))))),a().createElement(m.Table.Body,null,!i&&y&&y.map(((e,t)=>a().createElement(g,u({key:`${c}-related-keyphrase-${t}`,id:`${c}-related-keyphrase-${t}`,renderButton:l,relatedKeyphrases:s},e)))),i&&Array.from({length:10},((e,t)=>a().createElement(f,{key:`loading-row-${t}`,withButton:(0,d.isFunction)(l)}))))):null};_.propTypes={columnNames:r().arrayOf(r().string),data:r().arrayOf(r().arrayOf(r().string)),relatedKeyphrases:r().arrayOf(r().shape({key:r().string,keyword:r().string,results:r().array,score:r().number})),renderButton:r().func,className:r().string,isPending:r().bool,userLocale:r().string,idPrefix:r().string},_.displayName="KeyphrasesTable";const N=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))})),k=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),T=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),x=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),C={add:{button:{Icon:N,label:(0,n.__)("Add","wordpress-seo"),variant:"secondary"},success:{Icon:k,label:(0,n.__)("Added!","wordpress-seo")}},remove:{button:{Icon:T,label:(0,n.__)("Remove","wordpress-seo"),variant:"tertiary"},success:{Icon:x,label:(0,n.__)("Removed!","wordpress-seo")}}},L=({variant:e="add",className:t=""})=>{const l=C[e].success.Icon;return a().createElement("div",{role:"alert",className:y()("yst-success-message yst-animate-appear-disappear",`yst-success-message-${e}`,t)},a().createElement(l,{className:"yst-success-icon"}),C[e].success.label)};L.propTypes={variant:r().oneOf(["add","remove"]),className:r().string};const S=(0,e.forwardRef)((({variant:e="add",className:t="",...l},s)=>{const r=C[e].button.Icon;return a().createElement(m.Button,u({},l,{ref:s,variant:C[e].button.variant,size:"small",className:y()("yst-table-button",t)}),a().createElement(r,{className:"yst-button-icon yst--mx-1"}),C[e].button.label)}));S.propTypes={variant:r().oneOf(["add","remove"]).isRequired,className:r().string},S.displayName="TableButton",S.SuccessMessage=L;const M=[{value:"us",label:"United States - US"},{value:"uk",label:"United Kingdom - UK"},{value:"ca",label:"Canada - CA"},{value:"ru",label:"Russia - RU"},{value:"de",label:"Germany - DE"},{value:"fr",label:"France - FR"},{value:"es",label:"Spain - ES"},{value:"it",label:"Italy - IT"},{value:"br",label:"Brazil - BR"},{value:"au",label:"Australia - AU"},{value:"ar",label:"Argentina - AR"},{value:"be",label:"Belgium - BE"},{value:"ch",label:"Switzerland - CH"},{value:"dk",label:"Denmark - DK"},{value:"fi",label:"Finland - FI"},{value:"hk",label:"Hong Kong - HK"},{value:"ie",label:"Ireland - IE"},{value:"il",label:"Israel - IL"},{value:"mx",label:"Mexico - MX"},{value:"nl",label:"Netherlands - NL"},{value:"no",label:"Norway - NO"},{value:"pl",label:"Poland - PL"},{value:"se",label:"Sweden - SE"},{value:"sg",label:"Singapore - SG"},{value:"tr",label:"Turkey - TR"},{value:"jp",label:"Japan - JP"},{value:"in",label:"India - IN"},{value:"hu",label:"Hungary - HU"},{value:"af",label:"Afghanistan - AF"},{value:"al",label:"Albania - AL"},{value:"dz",label:"Algeria - DZ"},{value:"ao",label:"Angola - AO"},{value:"am",label:"Armenia - AM"},{value:"at",label:"Austria - AT"},{value:"az",label:"Azerbaijan - AZ"},{value:"bh",label:"Bahrain - BH"},{value:"bd",label:"Bangladesh - BD"},{value:"by",label:"Belarus - BY"},{value:"bz",label:"Belize - BZ"},{value:"bo",label:"Bolivia - BO"},{value:"ba",label:"Bosnia and Herzegovina - BA"},{value:"bw",label:"Botswana - BW"},{value:"bn",label:"Brunei - BN"},{value:"bg",label:"Bulgaria - BG"},{value:"cv",label:"Cabo Verde - CV"},{value:"kh",label:"Cambodia - KH"},{value:"cm",label:"Cameroon - CM"},{value:"cl",label:"Chile - CL"},{value:"co",label:"Colombia - CO"},{value:"cr",label:"Costa Rica - CR"},{value:"hr",label:"Croatia - HR"},{value:"cy",label:"Cyprus - CY"},{value:"cz",label:"Czech Republic - CZ"},{value:"cd",label:"Congo - CD"},{value:"do",label:"Dominican Republic - DO"},{value:"ec",label:"Ecuador - EC"},{value:"eg",label:"Egypt - EG"},{value:"sv",label:"El Salvador - SV"},{value:"ee",label:"Estonia - EE"},{value:"et",label:"Ethiopia - ET"},{value:"ge",label:"Georgia - GE"},{value:"gh",label:"Ghana - GH"},{value:"gr",label:"Greece - GR"},{value:"gt",label:"Guatemala - GT"},{value:"gy",label:"Guyana - GY"},{value:"ht",label:"Haiti - HT"},{value:"hn",label:"Honduras - HN"},{value:"is",label:"Iceland - IS"},{value:"id",label:"Indonesia - ID"},{value:"jm",label:"Jamaica - JM"},{value:"jo",label:"Jordan - JO"},{value:"kz",label:"Kazakhstan - KZ"},{value:"kw",label:"Kuwait - KW"},{value:"lv",label:"Latvia - LV"},{value:"lb",label:"Lebanon - LB"},{value:"lt",label:"Lithuania - LT"},{value:"lu",label:"Luxembourg - LU"},{value:"mg",label:"Madagascar - MG"},{value:"my",label:"Malaysia - MY"},{value:"mt",label:"Malta - MT"},{value:"mu",label:"Mauritius - MU"},{value:"md",label:"Moldova - MD"},{value:"mn",label:"Mongolia - MN"},{value:"me",label:"Montenegro - ME"},{value:"ma",label:"Morocco - MA"},{value:"mz",label:"Mozambique - MZ"},{value:"na",label:"Namibia - NA"},{value:"np",label:"Nepal - NP"},{value:"nz",label:"New Zealand - NZ"},{value:"ni",label:"Nicaragua - NI"},{value:"ng",label:"Nigeria - NG"},{value:"om",label:"Oman - OM"},{value:"py",label:"Paraguay - PY"},{value:"pe",label:"Peru - PE"},{value:"ph",label:"Philippines - PH"},{value:"pt",label:"Portugal - PT"},{value:"ro",label:"Romania - RO"},{value:"sa",label:"Saudi Arabia - SA"},{value:"sn",label:"Senegal - SN"},{value:"rs",label:"Serbia - RS"},{value:"sk",label:"Slovakia - SK"},{value:"si",label:"Slovenia - SI"},{value:"za",label:"South Africa - ZA"},{value:"kr",label:"South Korea - KR"},{value:"lk",label:"Sri Lanka - LK"},{value:"th",label:"Thailand - TH"},{value:"bs",label:"Bahamas - BS"},{value:"tt",label:"Trinidad and Tobago - TT"},{value:"tn",label:"Tunisia - TN"},{value:"ua",label:"Ukraine - UA"},{value:"ae",label:"United Arab Emirates - AE"},{value:"uy",label:"Uruguay - UY"},{value:"ve",label:"Venezuela - VE"},{value:"vn",label:"Vietnam - VN"},{value:"zm",label:"Zambia - ZM"},{value:"zw",label:"Zimbabwe - ZW"},{value:"ly",label:"Libya - LY"}],B=({countryCode:t="us",activeCountryCode:l="us",onChange:s,onClick:r,className:o="",userLocale:i="en"})=>{let c;try{c=new Intl.DisplayNames([i],{type:"region"})}catch(e){c=new Intl.DisplayNames([navigator.language.split("-")[0]],{type:"region"})}const[u,p]=(0,e.useState)(""),b=(0,e.useMemo)((()=>(0,d.filter)(M,(e=>!u||c.of(e.value.toUpperCase()).toLowerCase().startsWith(u)))),[u]),v=(0,e.useCallback)((e=>{p(e.target.value.toLowerCase())}),[p]);return a().createElement("div",{className:y()("yst-flex yst-items-end yst-gap-2",o)},a().createElement(m.AutocompleteField,{id:"yst-country-selector__select",label:(0,n.__)("Show results for:","wordpress-seo"),value:t,selectedLabel:t?c.of(t.toUpperCase()):"",onChange:s,onQueryChange:v,className:"sm:yst-w-96"},b.map((e=>a().createElement(m.AutocompleteField.Option,{key:e.value,value:e.value},c.of(e.value.toUpperCase()))))),a().createElement(m.Button,{id:"yst-country-selector__button",size:"large",variant:l===t?"secondary":"primary",onClick:r},(0,n.__)("Change country","wordpress-seo")))};B.propTypes={countryCode:r().string,activeCountryCode:r().string,onChange:r().func.isRequired,onClick:r().func.isRequired,className:r().string,userLocale:r().string};const R=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),O=({url:e,className:t=""})=>a().createElement("div",{className:t},a().createElement("p",null,(0,n.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ (0,n.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")),a().createElement(m.Button,{variant:"upsell",as:"a",href:e,className:"yst-mt-4 yst-gap-2",target:"_blank"},a().createElement(R,{className:"yst-w-4 yst-h-4 yst-text-amber-900"}),(0,n.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ (0,n.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo"))));O.propTypes={url:r().string.isRequired,className:r().string};const A=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),j=({upsellLink:e="",className:t=""})=>a().createElement(m.Alert,{variant:"warning",className:t},a().createElement("div",{className:"yst-flex yst-flex-col yst-items-start"},(0,n.sprintf)(/* translators: %s : Expands to "Semrush". */ (0,n.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush"),e&&a().createElement(m.Button,{variant:"upsell",className:"yst-mt-3 yst-gap-1.5",as:"a",href:e,target:"_blank"},(0,n.sprintf)(/* translators: %s : Expands to "Semrush". */ (0,n.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),a().createElement(A,{className:"yst-w-4 yst-h-4 yst-text-amber-900 rtl:yst-rotate-180"}))));j.propTypes={upsellLink:r().string,className:r().string};const H=({className:e=""})=>a().createElement(m.Alert,{variant:"error",className:e},(0,n.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"));H.propTypes={className:r().string};const I=({className:e=""})=>a().createElement(m.Alert,{variant:"info",className:e},(0,n.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"));I.propTypes={className:r().string};const q=({className:e=""})=>a().createElement(m.Alert,{variant:"warning",className:e},(0,n.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ (0,n.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));q.propTypes={className:r().string};const z=({variant:e=null,upsellLink:t="",className:l=""})=>{switch(e){case"requestLimitReached":return a().createElement(j,{upsellLink:t,className:l});case"requestFailed":return a().createElement(H,{className:l});case"requestEmpty":return a().createElement(I,{className:l});case"maxRelatedKeyphrases":return a().createElement(q,{className:l});default:return null}};z.propTypes={variant:r().oneOf(["requestLimitReached","requestFailed","requestEmpty","maxRelatedKeyphrases"]),upsellLink:r().string,className:r().string};const P=e.forwardRef((function(a,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},a),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),K=()=>a().createElement("svg",{className:"yst-w-[17px] yst-h-[17px] yst-fill-primary-500 yst-mt-[3px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},a().createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"}),a().createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81"})),D=({isOpen:e,onClose:t,insightsLink:l,learnMoreLink:s,children:r=null})=>a().createElement(m.Modal,{onClose:t,isOpen:e},a().createElement(m.Modal.Panel,{className:"yst-p-0 yst-max-w-2xl"},a().createElement(m.Modal.Container.Header,{className:"yst-flex yst-gap-3 yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex-row"},a().createElement(K,null),a().createElement(m.Modal.Title,{as:"h3",className:"yst-text-lg yst-font-medium"},(0,n.__)("Related keyphrases","wordpress-seo"))),a().createElement(m.Modal.Container.Content,{className:"yst-related-keyphrase-modal-content yst-m-0"},r),a().createElement(m.Modal.Container.Footer,{className:"yst-p-6 yst-border-t yst-border-t-slate-200 yst-flex yst-justify-between"},a().createElement(m.Link,{href:l,className:"yst-modal-footer-link",target:"_blank"},(0,n.sprintf)(/* translators: %s expands to Semrush */ (0,n.__)("Get more insights at %s","wordpress-seo"),"Semrush"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo")),a().createElement(P,{className:"yst-link-icon rtl:yst-rotate-[270deg]"})),a().createElement(m.Link,{href:s,className:"yst-modal-footer-link yst-text-primary-500",target:"_blank"},(0,n.__)("Learn more about the metrics","wordpress-seo"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo")),a().createElement(A,{className:"yst-link-icon rtl:yst-rotate-180"})))));D.propTypes={isOpen:r().bool.isRequired,onClose:r().func.isRequired,insightsLink:r().string.isRequired,learnMoreLink:r().string.isRequired,children:r().node}})(),(window.yoast=window.yoast||{}).relatedKeyphraseSuggestions=l})(); dist/externals/searchMetadataPreviews.js 0000644 00001021462 15174677550 0014534 0 ustar 00 (()=>{var e={30888:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastSlideToggle=void 0;var n=s(r(99196)),a=s(r(85890)),o=s(r(98487)),i=r(64317),l=r(90876);function s(e){return e&&e.__esModule?e:{default:e}}const d=o.default.div` & > :first-child { overflow: hidden; transition: height ${e=>`${e.duration}ms`} ease-out; } `;class c extends n.default.Component{resetHeight(e){e.style.height="0"}setHeight(e){const t=(0,l.getHeight)(e);e.style.height=t+"px"}removeHeight(e){e.style.height=null}render(){return n.default.createElement(d,{duration:this.props.duration},n.default.createElement(i.CSSTransition,{in:this.props.isOpen,timeout:this.props.duration,classNames:"slide",unmountOnExit:!0,onEnter:this.resetHeight,onEntering:this.setHeight,onEntered:this.removeHeight,onExit:this.setHeight,onExiting:this.resetHeight},this.props.children))}}t.YoastSlideToggle=c,c.propTypes={isOpen:a.default.bool.isRequired,duration:a.default.number,children:a.default.node},c.defaultProps={duration:300,children:[]}},90876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHeight=function(e){return Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight)}},76990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTitleProgress=t.getDescriptionProgress=void 0;var n=r(42982);t.getTitleProgress=e=>{const t=n.helpers.measureTextWidth(e),r=new n.assessments.seo.PageTitleWidthAssessment({scores:{widthTooShort:9}},!0),a=r.calculateScore(t);return{max:r.getMaximumLength(),actual:t,score:a}},t.getDescriptionProgress=(e,t,r,a,o)=>{const i=n.languageProcessing.countMetaDescriptionLength(t,e),l=r&&!a?new n.assessments.seo.MetaDescriptionLengthAssessment({scores:{tooLong:3,tooShort:3}}):new n.assessments.seo.MetaDescriptionLengthAssessment,s=l.calculateScore(i,o);return{max:l.getMaximumLength(o),actual:i,score:s}}},40412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeCreateInterpolateElement=void 0;var n=r(69307);t.safeCreateInterpolateElement=(e,t)=>{try{return(0,n.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}}},90695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=r(65736),o=r(9120),i=r(2942),l=r(18594),s=r(99806);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(null,arguments)}t.default=({onChange:e,active:t,id:r,disabled:d=!1})=>{const u=(0,l.useSvgAria)(),h=(0,n.useCallback)((()=>{const r=t===s.MODE_DESKTOP?s.MODE_MOBILE:s.MODE_DESKTOP;e(r)}),[e,t]),f=(0,a.__)("Google preview","wordpress-seo"),w=t===s.MODE_DESKTOP?(0,a.__)("Switch to mobile preview. Currently showing desktop preview.","wordpress-seo"):(0,a.__)("Switch to desktop preview. Currently showing mobile preview.","wordpress-seo");return n.default.createElement(l.Root,null,n.default.createElement("div",{className:"yst-flex yst-justify-between yst-mb-4"},n.default.createElement(l.Label,null,f),n.default.createElement("div",{className:"yst-flex yst-gap-3 yst-items-center",role:"group"},n.default.createElement("span",{className:t===s.MODE_MOBILE?"yst-text-slate-800":"yst-text-slate-500","aria-hidden":"true"},(0,a.__)("Mobile","wordpress-seo")),n.default.createElement(l.Toggle,{id:r,className:"yst-bg-primary-500",checked:t===s.MODE_DESKTOP,onChange:h,checkedIcon:n.default.createElement(i.DesktopComputerIcon,c({className:"yst-shrink-0 yst-grow-0 yst-transition-opacity yst-ease-out yst-duration-100 yst-text-slate-800 yst-stroke-0 yst-h-4 yst-w-4"},u)),unCheckedIcon:n.default.createElement(o.DeviceMobileIcon,c({className:"yst-toggle__icon yst-text-slate-800 yst-h-4 yst-w-4"},u)),screenReaderLabel:`${f}: ${w}`,disabled:d}),n.default.createElement("span",{className:t===s.MODE_DESKTOP?"yst-text-slate-800":"yst-text-slate-500","aria-hidden":"true"},(0,a.__)("Desktop","wordpress-seo")))))}},24861:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=E(r(98487)),a=E(r(99196)),o=E(r(85890)),i=r(65736),l=r(92819),s=r(42982),d=r(81413),c=r(37188),u=r(23695),h=r(10224),f=r(76990),w=r(99806),v=E(r(64475)),p=E(r(17582)),m=r(95157),g=E(r(90695));function E(e){return e&&e.__esModule?e:{default:e}}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(null,arguments)}const M=n.default.legend` margin: 0 0 16px; padding: 0; color: ${c.colors.$color_headings}; font-size: 12px; font-weight: 300; `,k=(0,n.default)(d.Button)` height: 33px; border: 1px solid #dbdbdb; box-shadow: none; font-family: Arial, Roboto-Regular, HelveticaNeue, sans-serif; `,R=(0,n.default)(k)` margin: ${(0,u.getDirectionalStyle)("10px 0 0 4px","10px 4px 0 0")}; fill: ${c.colors.$color_grey_dark}; padding-left: 8px; & svg { ${(0,u.getDirectionalStyle)("margin-right","margin-left")}: 7px; } `,b=(0,n.default)(k)` margin-top: 24px; `,C=new RegExp("(%%sep%%|%%sitename%%)","g");class L extends a.default.Component{constructor(e){super(e);const t=this.mapDataToMeasurements(e.data);this.state={isOpen:!e.showCloseButton,activeField:null,hoveredField:null,titleLengthProgress:(0,f.getTitleProgress)(t.filteredSEOTitle),descriptionLengthProgress:(0,f.getDescriptionProgress)(t.description,this.props.date,this.props.isCornerstone,this.props.isTaxonomy,this.props.locale)},this.setFieldFocus=this.setFieldFocus.bind(this),this.unsetFieldFocus=this.unsetFieldFocus.bind(this),this.onChangeMode=this.onChangeMode.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this),this.open=this.open.bind(this),this.close=this.close.bind(this),this.setEditButtonRef=this.setEditButtonRef.bind(this),this.handleChange=this.handleChange.bind(this),this.haveReplaceVarsChanged=this.haveReplaceVarsChanged.bind(this)}shallowCompareData(e,t){let r=!1;return e.data.description===t.data.description&&e.data.slug===t.data.slug&&e.data.title===t.data.title&&e.isCornerstone===t.isCornerstone&&e.isTaxonomy===t.isTaxonomy&&e.locale===t.locale||(r=!0),this.haveReplaceVarsChanged(e.replacementVariables,t.replacementVariables)&&(r=!0),r}haveReplaceVarsChanged(e,t){return JSON.stringify(e)!==JSON.stringify(t)}componentDidUpdate(e){if(this.shallowCompareData(this.props,e)){const e=this.mapDataToMeasurements(this.props.data,this.props.replacementVariables);this.setState({titleLengthProgress:(0,f.getTitleProgress)(e.filteredSEOTitle),descriptionLengthProgress:(0,f.getDescriptionProgress)(e.description,this.props.date,this.props.isCornerstone,this.props.isTaxonomy,this.props.locale)}),this.props.onChangeAnalysisData(e)}}handleChange(e,t){this.props.onChange(e,t);const r=this.mapDataToMeasurements({...this.props.data,[e]:t});this.props.onChangeAnalysisData(r)}renderEditor(){const{data:e,descriptionEditorFieldPlaceholder:t,onReplacementVariableSearchChange:r,replacementVariables:n,recommendedReplacementVariables:o,hasPaperStyle:l,showCloseButton:s,idSuffix:d}=this.props,{activeField:c,hoveredField:h,isOpen:f,titleLengthProgress:w,descriptionLengthProgress:v}=this.state;return f?a.default.createElement(a.default.Fragment,null,a.default.createElement(p.default,{data:e,activeField:c,hoveredField:h,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.unsetFieldFocus,onReplacementVariableSearchChange:r,replacementVariables:n,recommendedReplacementVariables:o,titleLengthProgress:w,descriptionLengthProgress:v,descriptionEditorFieldPlaceholder:t,containerPadding:l?"0 20px":"0",titleInputId:(0,u.join)(["yoast-google-preview-title",d]),slugInputId:(0,u.join)(["yoast-google-preview-slug",d]),descriptionInputId:(0,u.join)(["yoast-google-preview-description",d])}),s&&a.default.createElement(b,{onClick:this.close},(0,i.__)("Close snippet editor","wordpress-seo"))):null}setFieldFocus(e){e=this.mapFieldToEditor(e),this.setState({activeField:e})}unsetFieldFocus(){this.setState({activeField:null})}onChangeMode(e){this.props.onChange("mode",e)}onMouseUp(e){this.state.isOpen?this.setFieldFocus(e):this.open().then(this.setFieldFocus.bind(this,e))}onMouseEnter(e){this.setState({hoveredField:this.mapFieldToEditor(e)})}onMouseLeave(){this.setState({hoveredField:null})}open(){return new Promise((e=>{this.setState({isOpen:!0},e)}))}close(){this.setState({isOpen:!1,activeField:null},(()=>{this._editButton.focus()}))}processReplacementVariables(e,t=this.props.replacementVariables){if(this.props.applyReplacementVariables)return this.props.applyReplacementVariables(e);for(const{name:r,value:n}of t)e=e.replace(new RegExp("%%"+(0,l.escapeRegExp)(r)+"%%","g"),n);return e}mapDataToMeasurements(e,t=this.props.replacementVariables){const{baseUrl:r,mapEditorDataToPreview:n}=this.props;let a=this.processReplacementVariables(e.description,t);a=s.languageProcessing.stripSpaces(a);const o=r.replace(/^https?:\/\//i,""),i=e.title.replace(C,""),l={title:this.processReplacementVariables(e.title,t),url:r+e.slug,description:a,filteredSEOTitle:this.processReplacementVariables(i,t)};return n?n(l,{shortenedBaseUrl:o}):l}mapDataToPreview(e){return{title:e.title,url:e.url,description:e.description}}mapFieldToPreview(e){return"slug"===e&&(e="url"),e}mapFieldToEditor(e){return"url"===e&&(e="slug"),e}setEditButtonRef(e){this._editButton=e}render(){const{data:e,mode:t,date:r,locale:n,keyword:o,wordsToHighlight:l,showCloseButton:s,faviconSrc:c,mobileImageSrc:u,idSuffix:h,shoppingData:f,siteName:w}=this.props,{activeField:p,hoveredField:m,isOpen:E}=this.state,k=this.mapDataToMeasurements(e),b=this.mapDataToPreview(k);return a.default.createElement(d.ErrorBoundary,null,a.default.createElement("div",null,a.default.createElement(M,null,(0,i.__)("Determine how your post should look in the search results.","wordpress-seo")),a.default.createElement(g.default,{onChange:this.onChangeMode,active:t,id:`yoast-google-preview-mode-switcher-${h}`}),a.default.createElement(v.default,x({keyword:o,wordsToHighlight:l,mode:t,date:r,siteName:w,activeField:this.mapFieldToPreview(p),hoveredField:this.mapFieldToPreview(m),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseUp:this.onMouseUp,locale:n,faviconSrc:c,mobileImageSrc:u,shoppingData:f},b)),s&&a.default.createElement(R,{onClick:E?this.close:this.open,"aria-expanded":E,ref:this.setEditButtonRef},a.default.createElement(d.SvgIcon,{icon:"edit"}),(0,i.__)("Edit snippet","wordpress-seo")),this.renderEditor()))}}L.propTypes={onReplacementVariableSearchChange:o.default.func,replacementVariables:h.replacementVariablesShape,recommendedReplacementVariables:h.recommendedReplacementVariablesShape,data:o.default.shape({title:o.default.string.isRequired,slug:o.default.string.isRequired,description:o.default.string.isRequired}).isRequired,descriptionEditorFieldPlaceholder:o.default.string,baseUrl:o.default.string.isRequired,mode:o.default.oneOf(w.MODES),date:o.default.string,onChange:o.default.func.isRequired,onChangeAnalysisData:o.default.func,titleLengthProgress:m.lengthProgressShape,descriptionLengthProgress:m.lengthProgressShape,applyReplacementVariables:o.default.func,mapEditorDataToPreview:o.default.func,keyword:o.default.string,wordsToHighlight:o.default.array,locale:o.default.string,hasPaperStyle:o.default.bool,showCloseButton:o.default.bool,faviconSrc:o.default.string,mobileImageSrc:o.default.string,idSuffix:o.default.string,shoppingData:o.default.object,isCornerstone:o.default.bool,isTaxonomy:o.default.bool,siteName:o.default.string.isRequired},L.defaultProps={mode:w.DEFAULT_MODE,date:"",wordsToHighlight:[],onReplacementVariableSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},applyReplacementVariables:null,mapEditorDataToPreview:null,keyword:"",locale:"en",descriptionEditorFieldPlaceholder:"",onChangeAnalysisData:l.noop,hasPaperStyle:!0,showCloseButton:!0,faviconSrc:"",mobileImageSrc:"",idSuffix:"",shoppingData:{},isCornerstone:!1,isTaxonomy:!1},t.default=L},17582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h(r(99196)),a=h(r(98487)),o=h(r(85890)),i=h(r(12049)),l=r(65736),s=r(37188),d=r(10224),c=r(81413),u=r(95157);function h(e){return e&&e.__esModule?e:{default:e}}const f=a.default.input` border: none; width: 100%; height: inherit; line-height: 1.71428571; // 24px based on 14px font-size font-family: inherit; font-size: inherit; color: inherit; &:focus { outline: 0; } `,w=(0,s.withCaretStyles)(c.VariableEditorInputContainer);class v extends n.default.Component{constructor(e){super(e),this.elements={title:null,slug:null,description:null},this.uniqueId=(0,i.default)("snippet-editor-field-"),this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setSlugRef=this.setSlugRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusSlug=this.onFocusSlug.bind(this),this.focusSlug=this.focusSlug.bind(this),this.onChangeSlug=this.onChangeSlug.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(e,t){this.elements[e]=t}setTitleRef(e){this.setRef("title",e)}setSlugRef(e){this.setRef("slug",e)}setDescriptionRef(e){this.setRef("description",e)}componentDidUpdate(e){e.activeField!==this.props.activeField&&this.focusOnActiveFieldChange()}focusOnActiveFieldChange(){const{activeField:e}=this.props,t=e?this.elements[e]:null;t&&t.focus()}triggerReplacementVariableSuggestions(e){this.elements[e].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(e){this.props.onChange("title",e)}onFocusSlug(){this.props.onFocus("slug")}focusSlug(){this.elements.slug.focus()}onChangeSlug(e){this.props.onChange("slug",e.target.value)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(e){this.props.onChange("description",e)}render(){const{activeField:e,hoveredField:t,onReplacementVariableSearchChange:r,replacementVariables:a,recommendedReplacementVariables:o,titleLengthProgress:i,descriptionLengthProgress:s,onBlur:u,descriptionEditorFieldPlaceholder:h,data:{title:v,slug:p,description:m},containerPadding:g,titleInputId:E,slugInputId:x,descriptionInputId:M}=this.props,k=`${this.uniqueId}-slug`;return n.default.createElement(d.StyledEditor,{padding:g},n.default.createElement(d.ReplacementVariableEditor,{withCaret:!0,label:(0,l.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:u,isActive:"title"===e,isHovered:"title"===t,editorRef:this.setTitleRef,replacementVariables:a,recommendedReplacementVariables:o,content:v,onChange:this.onChangeTitle,onSearchChange:r,fieldId:E,type:"title"}),n.default.createElement(c.ProgressBar,{max:i.max,value:i.actual,progressColor:this.getProgressColor(i.score)}),n.default.createElement(c.SimulatedLabel,{id:k,onClick:this.onFocusSlug},(0,l.__)("Slug","wordpress-seo")),n.default.createElement(w,{onClick:this.focusSlug,isActive:"slug"===e,isHovered:"slug"===t},n.default.createElement(f,{value:p,onChange:this.onChangeSlug,onFocus:this.onFocusSlug,onBlur:u,ref:this.setSlugRef,"aria-labelledby":this.uniqueId+"-slug",id:x})),n.default.createElement(d.ReplacementVariableEditor,{withCaret:!0,type:"description",placeholder:h,label:(0,l.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:u,isActive:"description"===e,isHovered:"description"===t,editorRef:this.setDescriptionRef,replacementVariables:a,recommendedReplacementVariables:o,content:m,onChange:this.onChangeDescription,onSearchChange:r,fieldId:M}),n.default.createElement(c.ProgressBar,{max:s.max,value:s.actual,progressColor:this.getProgressColor(s.score)}))}getProgressColor(e){return e>=7?s.colors.$color_good:e>=5?s.colors.$color_ok:s.colors.$color_bad}}v.propTypes={replacementVariables:d.replacementVariablesShape,recommendedReplacementVariables:d.recommendedReplacementVariablesShape,onChange:o.default.func.isRequired,onFocus:o.default.func,onBlur:o.default.func,onReplacementVariableSearchChange:o.default.func,data:o.default.shape({title:o.default.string.isRequired,slug:o.default.string.isRequired,description:o.default.string.isRequired}).isRequired,activeField:o.default.oneOf(["title","slug","description"]),hoveredField:o.default.oneOf(["title","slug","description"]),titleLengthProgress:u.lengthProgressShape,descriptionLengthProgress:u.lengthProgressShape,descriptionEditorFieldPlaceholder:o.default.string,containerPadding:o.default.string,titleInputId:o.default.string,slugInputId:o.default.string,descriptionInputId:o.default.string},v.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},onReplacementVariableSearchChange:null,activeField:null,hoveredField:null,titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},descriptionEditorFieldPlaceholder:null,containerPadding:"0 20px",titleInputId:"yoast-google-preview-title",slugInputId:"yoast-google-preview-slug",descriptionInputId:"yoast-google-preview-description"},t.default=v},95157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lengthProgressShape=void 0;var n,a=(n=r(85890))&&n.__esModule?n:{default:n};t.lengthProgressShape=a.default.shape({max:a.default.number,actual:a.default.number,score:a.default.number})},12330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=s(r(98487)),o=s(r(85890)),i=s(r(25853)),l=r(65736);function s(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}const c=/mobi/i,u=a.default.div` overflow: auto; width: ${e=>e.widthValue}px; padding: 0 ${e=>e.paddingValue}px; max-width: 100%; box-sizing: border-box; `,h=a.default.div` width: ${e=>e.widthValue}px; `,f=a.default.div` text-align: center; margin: 1rem 0 0.5rem; `,w=a.default.div` display: inline-block; box-sizing: border-box; &:before{ display: inline-block; margin-right: 10px; font-size: 20px; line-height: 20px; vertical-align: text-top; content: "\\21c4"; box-sizing: border-box; } `;class v extends n.Component{constructor(e){super(e),this.state={showScrollHint:!1,isMobileUserAgent:!1},this.setContainerRef=this.setContainerRef.bind(this),this.determineSize=(0,i.default)(this.determineSize.bind(this),100)}setContainerRef(e){if(!e)return null;this._container=e,this.determineSize(),window.addEventListener("resize",this.determineSize)}determineSize(){var e,t,r,n;this.setState({showScrollHint:(null===(e=this._container)||void 0===e?void 0:e.offsetWidth)!==(null===(t=this._container)||void 0===t?void 0:t.scrollWidth),isMobileUserAgent:c.test(null===(r=window)||void 0===r||null===(n=r.navigator)||void 0===n?void 0:n.userAgent)})}componentWillUnmount(){window.removeEventListener("resize",this.determineSize)}render(){const{width:e,padding:t,children:r,className:a,id:o}=this.props,i=a||o,s=e-2*t;return n.default.createElement("div",{className:`${i}__wrapper`},n.default.createElement(u,{id:o,className:i,widthValue:e,paddingValue:t,ref:this.setContainerRef},n.default.createElement(h,{widthValue:s},r)),this.state.showScrollHint&&n.default.createElement(f,null,n.default.createElement(w,null,this.state.isMobileUserAgent?(0,l.__)("Drag to view the full preview.","wordpress-seo"):(0,l.__)("Scroll to see the preview content.","wordpress-seo"))))}}t.default=v,v.propTypes={id:o.default.string,width:o.default.number.isRequired,padding:o.default.number,children:o.default.node.isRequired,className:o.default.string},v.defaultProps={id:"",padding:0,className:""}},78854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(99196)),a=u(r(85890)),o=u(r(98487)),i=u(r(12049)),l=r(81413),s=r(23695),d=r(37188),c=r(30888);function u(e){return e&&e.__esModule?e:{default:e}}const h=o.default.div` max-width: 600px; font-weight: normal; // Don't apply a bottom margin to avoid "jumpiness". margin: ${(0,s.getDirectionalStyle)("0 20px 0 25px","0 20px 0 15px")}; `,f=o.default.div` max-width: ${e=>e.panelMaxWidth}; `,w=(0,o.default)(l.Button)` min-width: 14px; min-height: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent; box-shadow: none; display: block; margin: -44px -10px 10px 0; background-color: transparent; float: ${(0,s.getDirectionalStyle)("right","left")}; padding: ${(0,s.getDirectionalStyle)("3px 0 0 6px","3px 0 0 5px")}; &:hover { color: ${d.colors.$color_blue}; } &:focus { border: 1px solid ${d.colors.$color_blue}; outline: none; box-shadow: 0 0 3px ${(0,d.rgba)(d.colors.$color_blue_dark,.8)}; svg { fill: ${d.colors.$color_blue}; color: ${d.colors.$color_blue}; } } &:active { box-shadow: none; } `,v=(0,o.default)(l.SvgIcon)` &:hover { fill: ${d.colors.$color_blue}; } `;class p extends n.default.Component{constructor(e){super(e),this.state={isExpanded:!1},this.uniqueId=(0,i.default)("yoast-help-"),this.onButtonClick=this.onButtonClick.bind(this)}onButtonClick(){this.setState((e=>({isExpanded:!e.isExpanded})))}render(){const e=`${this.uniqueId}-panel`,{isExpanded:t}=this.state;return n.default.createElement(h,{className:this.props.className},n.default.createElement(w,{className:this.props.className+"__button",onClick:this.onButtonClick,"aria-expanded":t,"aria-controls":t?e:null,"aria-label":this.props.helpTextButtonLabel},n.default.createElement(v,{size:"16px",color:d.colors.$color_grey_text,icon:"question-circle"})),n.default.createElement(c.YoastSlideToggle,{isOpen:t},n.default.createElement(f,{id:e,className:this.props.className+"__panel",panelMaxWidth:this.props.panelMaxWidth},n.default.createElement(l.HelpText,null,this.props.helpText))))}}p.propTypes={className:a.default.string,helpTextButtonLabel:a.default.string.isRequired,panelMaxWidth:a.default.string,helpText:a.default.oneOfType([a.default.string,a.default.array])},p.defaultProps={className:"yoast-help",panelMaxWidth:null,helpText:""},t.default=p},72676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=d(r(85890)),o=d(r(98487)),i=r(65736),l=r(92819),s=r(81413);function d(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}const u=o.default.span` color: #70757a; line-height: 1.7; `;function h(e){const{shoppingData:t}=e,r=(0,i.sprintf)((0,i.__)("Rating: %s","wordpress-seo"),(0,l.round)(2*t.rating,1)+"/10"),a=(0,i.sprintf)((0,i.__)("%s reviews","wordpress-seo"),t.reviewCount); /* Translators: %s expands to the actual rating, e.g. 8/10. */return n.default.createElement(u,null,t.reviewCount>0&&n.default.createElement(n.Fragment,null,n.default.createElement(s.StarRating,{rating:t.rating}),n.default.createElement("span",null," ",r," · "),n.default.createElement("span",null,a," · ")),t.price&&n.default.createElement(n.Fragment,null,n.default.createElement("span",{dangerouslySetInnerHTML:{__html:t.price}})),t.availability&&n.default.createElement("span",null,` · ${(0,l.capitalize)(t.availability)}`))}t.default=h,h.propTypes={shoppingData:a.default.shape({rating:a.default.number,reviewCount:a.default.number,availability:a.default.string,price:a.default.string}).isRequired}},98463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(99196)),a=d(r(85890)),o=d(r(98487)),i=r(65736),l=r(92819),s=r(81413);function d(e){return e&&e.__esModule?e:{default:e}}const c=o.default.div` display: flex; margin-top: -16px; line-height: 1.6; `,u=o.default.div` flex: 1; max-width: 50%; `,h=o.default.div` flex: 1; max-width: 25%; `,f=o.default.div` color: #70757a; `;function w(e){const{shoppingData:t}=e;return n.default.createElement(c,null,t.rating>0&&n.default.createElement(u,{className:"yoast-shopping-data-preview__column"},n.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,i.__)("Rating","wordpress-seo")),n.default.createElement(f,{className:"yoast-shopping-data-preview__lower"},n.default.createElement("span",null,(0,l.round)(2*t.rating,1),"/10 "),n.default.createElement(s.StarRating,{rating:t.rating}),n.default.createElement("span",null," (",t.reviewCount,")"))),t.price&&n.default.createElement(h,{className:"yoast-shopping-data-preview__column"},n.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,i.__)("Price","wordpress-seo")),n.default.createElement(f,{className:"yoast-shopping-data-preview__lower",dangerouslySetInnerHTML:{__html:t.price}})),t.availability&&n.default.createElement(h,{className:"yoast-shopping-data-preview__column"},n.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,i.__)("Availability","wordpress-seo")),n.default.createElement(f,{className:"yoast-shopping-data-preview__lower"},(0,l.capitalize)(t.availability))))}t.default=w,w.propTypes={shoppingData:a.default.shape({rating:a.default.number,reviewCount:a.default.number,availability:a.default.string,price:a.default.string}).isRequired}},64475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=m(r(98487)),o=m(r(85890)),i=m(r(38550)),l=r(65736),s=r(37188),d=r(42982),c=r(23695),u=r(81413),h=r(40412),f=m(r(12330)),w=m(r(72676)),v=m(r(98463)),p=r(99806);function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(null,arguments)}const{transliterate:x,createRegexFromArray:M,replaceDiacritics:k}=d.languageProcessing,R=600,b=(0,a.default)(f.default)` background-color: #fff; font-family: arial, sans-serif; box-sizing: border-box; `,C=a.default.div` border-bottom: 1px hidden #fff; border-radius: 8px; box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); font-family: Arial, Roboto-Regular, HelveticaNeue, sans-serif; max-width: ${400}px; box-sizing: border-box; font-size: 14px; `,L=a.default.div` cursor: pointer; position: relative; `;function z(e,t,r){return(0,a.default)(e)` &::before { display: block; position: absolute; top: 0; ${(0,c.getDirectionalStyle)("left","right")}: ${()=>r===p.MODE_DESKTOP?"-22px":"-40px"}; width: 22px; height: 22px; background-image: url( ${(0,c.getDirectionalStyle)((0,s.angleRight)(t),(0,s.angleLeft)(t))} ); background-size: 24px; background-repeat: no-repeat; background-position: center; content: ""; } `}const j=a.default.div` color: ${e=>e.screenMode===p.MODE_DESKTOP?"#1a0dab":"#1558d6"}; text-decoration: none; font-size: ${e=>(e.screenMode,p.MODE_DESKTOP,"20px")}; line-height: ${e=>e.screenMode===p.MODE_DESKTOP?"1.3":"26px"}; font-weight: normal; margin: 0; display: inline-block; overflow: hidden; max-width: ${R}px; vertical-align: top; text-overflow: ellipsis; `,O=(0,a.default)(j)` max-width: ${R}px; vertical-align: top; text-overflow: ellipsis; `,I=a.default.span` display: inline-block; max-width: ${240}px; overflow: hidden; vertical-align: top; text-overflow: ellipsis; margin-left: 4px; `,B=a.default.span` white-space: nowrap; `,V=a.default.span` display: inline-block; max-height: 52px; // max two lines of text padding-top: 1px; vertical-align: top; overflow: hidden; text-overflow: ellipsis; `,H=a.default.div` display: inline-block; cursor: pointer; position: relative; width: calc( 100% + 7px ); white-space: nowrap; font-size: 14px; line-height: 16px; vertical-align: top; `;H.displayName="BaseUrl";const A=(0,a.default)(H)` display: flex; align-items: center; overflow: hidden; justify-content: space-between; text-overflow: ellipsis; max-width: 100%; margin-bottom: 12px; padding-top: 1px; line-height: 20px; vertical-align: bottom; column-gap: 12px; `;A.displayName="BaseUrlOverflowContainer";const y=a.default.span` font-size: ${e=>e.screenMode===p.MODE_DESKTOP?"14px":"12px"}; line-height: ${e=>e.screenMode===p.MODE_DESKTOP?"1.3":"20px"}; color: ${e=>e.screenMode===p.MODE_DESKTOP?"#4d5156":"#3c4043"}; flex-grow: 1; `,S=a.default.span` color: ${e=>e.screenMode===p.MODE_DESKTOP?"#4d5156":"#70757a"}; `,D=a.default.div` width: 28px; height: 28px; border-radius: 50px; display: flex; align-items: center; justify-content: center; background: #f1f3f4; min-width: 28px; `;A.displayName="SnippetPreview__BaseUrlOverflowContainer";const W=a.default.div` color: ${e=>(e.isDescriptionPlaceholder,"#4d5156")}; cursor: pointer; position: relative; max-width: ${R}px; padding-top: ${e=>e.screenMode===p.MODE_DESKTOP?"0":"1px"}; font-size: 14px; line-height: 1.58; `,_=a.default.div` color: ${"#3c4043"}; font-size: 14px; cursor: pointer; position: relative; line-height: 1.4; max-width: ${R}px; /* Clearing pseudo element to contain the floated image. */ &:after { display: table; content: ""; clear: both; } `,P=a.default.div` float: right; width: 104px; height: 104px; margin: 4px 0 4px 16px; border-radius: 8px; overflow: hidden; `,T=a.default.img` /* Higher specificity is necessary to make sure inherited CSS rules don't alter the image ratio. */ &&& { display: block; width: 104px; height: 104px; object-fit: cover; } `,F=a.default.div` padding: 12px 16px; &:first-child { margin-bottom: -16px; } `,N=a.default.div` line-height: 18px; font-size: 14px; color: black; max-width: ${e=>e.screenMode===p.MODE_DESKTOP?"100%":"300px"}; overflow: hidden; `,U=a.default.div` `,$=a.default.span` display: inline-block; height: 18px; line-height: 18px; padding-left: 8px; vertical-align:bottom; `,K=a.default.span` color: ${e=>e.screenMode===p.MODE_DESKTOP?"#777":"#70757a"}; `,G=a.default.img` width: 18px; height: 18px; margin: 0 5px; vertical-align: middle; `,q=a.default.div` background-size: 100% 100%; display: inline-block; height: 12px; width: 12px; margin-bottom: -1px; opacity: 0.46; margin-right: 6px; background-image: url( ${"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAABr0lEQVR4AbWWJYCUURhFD04Zi7hrLzgFd4nzV9x6wKHinmYb7g4zq71gIw2LWBnZ3Q8df/fh96Tn/t2HVIw4CVKk+fSFNCkSxInxW1pFkhLmoMRjVvFLmkEX5ocuZuBVPw5jv8hh+iEU5QEmuMK+prz7RN3dPMMEGQYzxpH/lGjzou5jgl7mAvOdZfcbF+jbm3MAbFZ7VX9SJnlL1D8UMyjLe+BrAYDb+jJUr59JrlNWRtcqX9GkrPCR4QBAf4qYJAkQoyQrbKKs8RiaEjEI0GvvQ1mLMC9xaBFFBaZS1TbMSwJSomg39erDF+TxpCCNOXjGQJTCvG6qn4ZPzkcxA61Tjhaf4KMj+6Q3XvW6Lopraa8IozRQxIi0a7NXorULc5JyHX/3F3q+0PsFYytVTaGgjz/AvCyiegE69IUsPxHNBMpa738i6tGWlzkAABjKe/+j9YeRHGVd9oWRnwe2ewDASp/L/UqoPQ5AmFeYZMavBP8dAJz0GWWDHQlzXApMdz4KYUfKICcxkKeOfGmQyrIPcgE9m+g/+kT812/Nr3+0kqzitxQjoKXh6xfor99nlEdFjyvH15gAAAAASUVORK5CYII="} ); `,Q=e=>{try{return decodeURI(e)}catch(t){return e}},Y=({screenMode:e})=>n.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:e===p.MODE_DESKTOP?"#4d5156":"#70757a",style:{width:"18px"}},n.default.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));Y.propTypes={screenMode:o.default.string.isRequired};class X extends n.PureComponent{constructor(e){super(e),this.state={title:e.title,description:e.description,isDescriptionPlaceholder:!0},this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this)}setTitleRef(e){this._titleElement=e}setDescriptionRef(e){this._descriptionElement=e}hasOverflowedContent(e){return Math.abs(e.clientHeight-e.scrollHeight)>=2}fitTitle(){const e=this._titleElement;if(this.hasOverflowedContent(e)){let t=this.state.title;const r=e.clientWidth/3;t.length>r&&(t=t.substring(0,r));const n=this.dropLastWord(t);this.setState({title:n})}}dropLastWord(e){const t=e.split(" ");return t.pop(),t.join(" ")}getTitle(){return this.props.title!==this.state.title?this.state.title+" ...":this.props.title}getDescription(){return this.props.description?(0,i.default)(this.props.description,{length:156,separator:" ",omission:" ..."}):(0,l.__)("Please provide a meta description by editing the snippet below. If you don’t, Google will try to find a relevant part of your post to show in the search results.","wordpress-seo")}renderDate(){const e=this.props.mode===p.MODE_DESKTOP?"—":"-";return this.props.date&&n.default.createElement(K,{screenMode:this.props.mode},this.props.date," ",e," ")}addCaretStyles(e,t){const{mode:r,hoveredField:n,activeField:a}=this.props;return a===e?z(t,s.colors.$color_snippet_active,r):n===e?z(t,s.colors.$color_snippet_hover,r):t}getBreadcrumbs(e){const{breadcrumbs:t}=this.props;let r;try{r=new URL(e)}catch(t){return{hostname:e,breadcrumbs:""}}const n=Q(r.hostname);let a=t||r.pathname.split("/");return a=a.filter((e=>Boolean(e))).map((e=>Q(e))),{hostname:n,breadcrumbs:" › "+a.join(" › ")}}renderUrl(){const{url:e,onMouseUp:t,onMouseEnter:r,onMouseLeave:a,mode:o,faviconSrc:i,siteName:s}=this.props,d=o===p.MODE_MOBILE,{hostname:c,breadcrumbs:h}=this.getBreadcrumbs(e),f=this.addCaretStyles("url",H);return n.default.createElement(n.default.Fragment,null,n.default.createElement(u.ScreenReaderText,null,/* translators: Hidden accessibility text. */ (0,l.__)("Url preview","wordpress-seo")+":"),n.default.createElement(f,null,n.default.createElement(A,{onMouseUp:t.bind(null,"url"),onMouseEnter:r.bind(null,"url"),onMouseLeave:a.bind(null),screenMode:o},n.default.createElement(D,null,n.default.createElement(G,{src:i||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0MWUDo16FYABMGP6ZfUcRnWtm27jVPbtm3bttuH2t3eFPcY9pLz7NxiLjCyVd87pKnHyqXyxtCs8APd0rnyxiu4qSeA3QEDrAwBDrT1s1Rc/OrjLZwqVmOSu6+Lamcpp2KKMA9PH1BYXMe1mUP5qotvXTywsOEEYHXxrY+3cqk6TMkYpNr2FeoY3KIr0RPtn9wQ2unlA+GMkRw6+9TFw4YTwDUzx/JVvARj9KaedXRO8P5B1Du2S32smzqUrcKGEyA+uAgQjKX7zf0boWHGfn71jIKj2689gxp7OAGShNcBUmLMPVjZuiKcA2vuWHHDCQxMCz629kXAIU4ApY15QwggAFbfOP9DhgBJ+nWVJ1AZAfICAj1pAlY6hCADZnveQf7bQIwzVONGJonhLIlS9gr5mFg44Xd+4S3XHoGNPdJl1INIwKyEgHckEhgTe1bGiFY9GSFBYUwLh1IkiJUbY407E7syBSFxKTszEoiE/YdrgCEayDmtaJwCI9uu8TKMuZSVfSa4BpGgzvomBR/INhLGzrqDotp01ZR8pn/1L0JN9d9XNyx0AAAAAElFTkSuQmCC",alt:""})),n.default.createElement(y,{screenMode:o},n.default.createElement(N,{screenMode:o},s),n.default.createElement(S,{screenMode:o},c),!d&&n.default.createElement(I,null,h),!d&&n.default.createElement($,null,n.default.createElement(Y,{screenMode:o}))),d&&n.default.createElement(Y,{screenMode:o}))))}componentDidUpdate(e){const t={};this.props.title!==e.title&&(t.title=this.props.title),this.props.description!==e.description&&(t.description=this.props.description),this.setState({...t,isDescriptionPlaceholder:!this.props.description}),this.props.mode===p.MODE_MOBILE&&(clearTimeout(this.fitTitleTimeout),this.fitTitleTimeout=setTimeout((()=>{this.fitTitle()}),10))}componentDidMount(){this.setState({isDescriptionPlaceholder:!this.props.description})}componentWillUnmount(){clearTimeout(this.fitTitleTimeout)}renderDescription(){const{wordsToHighlight:e,locale:t,onMouseUp:r,onMouseLeave:a,onMouseEnter:o,mode:i,mobileImageSrc:l}=this.props,s=this.renderDate(),d={isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,onMouseUp:r.bind(null,"description"),onMouseEnter:o.bind(null,"description"),onMouseLeave:a.bind(null)};if(i===p.MODE_DESKTOP){const r=this.addCaretStyles("description",W);return n.default.createElement(r,E({},d,{ref:this.setDescriptionRef}),s,function(e,t,r,a){if(0===t.length)return r;let o=r;const i=[];t.forEach((function(t){i.push(t);const r=x(t,e);r!==t&&i.push(r)}));const l=M(i,!1,"",!1);return o=o.replace(l,(function(e){return`<strong>${e}</strong>`})),(0,h.safeCreateInterpolateElement)(o,{strong:n.default.createElement("strong",null)})}(t,e,this.getDescription()))}if(i===p.MODE_MOBILE){const e=this.addCaretStyles("description",_);return n.default.createElement(e,d,n.default.createElement(_,{isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,ref:this.setDescriptionRef},l&&n.default.createElement(P,null,n.default.createElement(T,{src:l,alt:""})),s,this.getDescription()))}return null}renderProductData(e){const{mode:t,shoppingData:r}=this.props;if(0===Object.values(r).length)return null;const a={availability:r.availability||"",price:r.price?(0,c.decodeHTML)(r.price):"",rating:r.rating||0,reviewCount:r.reviewCount||0};return t===p.MODE_DESKTOP?n.default.createElement(e,{className:"yoast-shopping-data-preview--desktop"},n.default.createElement(u.ScreenReaderText,null,/* translators: Hidden accessibility text. */ (0,l.__)("Shopping data preview:","wordpress-seo")),n.default.createElement(w.default,{shoppingData:a})):t===p.MODE_MOBILE?n.default.createElement(e,{className:"yoast-shopping-data-preview--mobile"},n.default.createElement(u.ScreenReaderText,null,/* translators: Hidden accessibility text. */ (0,l.__)("Shopping data preview:","wordpress-seo")),n.default.createElement(v.default,{shoppingData:a})):null}render(){const{onMouseUp:e,onMouseLeave:t,onMouseEnter:r,mode:a,isAmp:o}=this.props,{PartContainer:i,Container:s,TitleUnbounded:d,SnippetTitle:c}=this.getPreparedComponents(a),h=a===p.MODE_DESKTOP,f=h||!o?null:n.default.createElement(q,null);return n.default.createElement("section",{className:"yoast-snippet-preview-section"},n.default.createElement(s,{id:"yoast-snippet-preview-container",className:"yoast-snippet-preview-container",width:h?640:null,padding:20},n.default.createElement(i,null,this.renderUrl(),n.default.createElement(u.ScreenReaderText,null,(0,l.__)("SEO title preview","wordpress-seo")+":"),n.default.createElement(c,{onMouseUp:e.bind(null,"title"),onMouseEnter:r.bind(null,"title"),onMouseLeave:t.bind(null)},n.default.createElement(O,{screenMode:a},n.default.createElement(d,{ref:this.setTitleRef},this.getTitle()))),f),n.default.createElement(i,null,n.default.createElement(u.ScreenReaderText,null,(0,l.__)("Meta description preview:","wordpress-seo")),this.renderDescription()),this.renderProductData(i)))}getPreparedComponents(e){return{PartContainer:e===p.MODE_DESKTOP?U:F,Container:e===p.MODE_DESKTOP?b:C,TitleUnbounded:e===p.MODE_DESKTOP?B:V,SnippetTitle:this.addCaretStyles("title",L)}}}t.default=X,X.propTypes={title:o.default.string.isRequired,url:o.default.string.isRequired,siteName:o.default.string.isRequired,description:o.default.string.isRequired,date:o.default.string,breadcrumbs:o.default.array,hoveredField:o.default.string,activeField:o.default.string,keyword:o.default.string,wordsToHighlight:o.default.array,locale:o.default.string,mode:o.default.oneOf(p.MODES),isAmp:o.default.bool,faviconSrc:o.default.string,mobileImageSrc:o.default.string,shoppingData:o.default.object,onMouseUp:o.default.func.isRequired,onHover:o.default.func,onMouseEnter:o.default.func,onMouseLeave:o.default.func},X.defaultProps={date:"",keyword:"",wordsToHighlight:[],breadcrumbs:null,locale:"en",hoveredField:"",activeField:"",mode:p.DEFAULT_MODE,isAmp:!1,faviconSrc:"",mobileImageSrc:"",shoppingData:{},onHover:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{}}},99806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MODE_MOBILE=t.MODE_DESKTOP=t.MODES=t.DEFAULT_MODE=void 0;const r=t.MODE_MOBILE="mobile",n=t.MODE_DESKTOP="desktop",a=t.MODES=[n,r],o=t.DEFAULT_MODE=r;t.default={MODE_MOBILE:r,MODE_DESKTOP:n,MODES:a,DEFAULT_MODE:o}},98141:(e,t,r)=>{"use strict";var n=r(64836);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,a.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var a=n(r(90404));e.exports=t.default},90404:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},10602:e=>{"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,r){e.classList?e.classList.remove(r):"string"==typeof e.className?e.className=t(e.className,r):e.setAttribute("class",t(e.className&&e.className.baseVal||"",r))}},46871:(e,t,r)=>{"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function a(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function o(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,i=null,l=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==r||null!==i||null!==l){var s=e.displayName||e.name,d="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+d+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==i?"\n "+i:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=a),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;c.call(this,e,t,n)}}return e}r.r(t),r.d(t,{polyfill:()=>i}),n.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},80129:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}t.default=e}(r(85890));var n=l(r(98141)),a=l(r(10602)),o=l(r(99196)),i=l(r(60644));function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}r(54726);var d=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,n.default)(e,t)}))},c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,a.default)(e,t)}))},u=function(e){var t,r;function n(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).onEnter=function(e,r){var n=t.getClassNames(r?"appear":"enter").className;t.removeClasses(e,"exit"),d(e,n),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.getClassNames(r?"appear":"enter").activeClassName;t.reflowAndAddClass(e,n),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.getClassNames("appear").doneClassName,a=t.getClassNames("enter").doneClassName,o=r?n+" "+a:a;t.removeClasses(e,r?"appear":"enter"),d(e,o),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),d(e,r),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,r),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),d(e,r),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var r=t.props.classNames,n="string"==typeof r,a=n?(n&&r?r+"-":"")+e:r[e];return{className:a,activeClassName:n?a+"-active":r[e+"Active"],doneClassName:n?a+"-done":r[e+"Done"]}},t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=n.prototype;return a.removeClasses=function(e,t){var r=this.getClassNames(t),n=r.className,a=r.activeClassName,o=r.doneClassName;n&&c(e,n),a&&c(e,a),o&&c(e,o)},a.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,d(e,t))},a.render=function(){var e=s({},this.props);return delete e.classNames,o.default.createElement(i.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(o.default.Component);u.defaultProps={classNames:""},u.propTypes={};var h=u;t.default=h,e.exports=t.default},26093:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0,i(r(85890));var n=i(r(99196)),a=r(91850),o=i(r(92381));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t,r;function i(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEnter",0,r)},t.handleEntering=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntering",0,r)},t.handleEntered=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntered",0,r)},t.handleExit=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExit",1,r)},t.handleExiting=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExiting",1,r)},t.handleExited=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExited",1,r)},t}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var l=i.prototype;return l.handleLifecycle=function(e,t,r){var o,i=this.props.children,l=n.default.Children.toArray(i)[t];l.props[e]&&(o=l.props)[e].apply(o,r),this.props[e]&&this.props[e]((0,a.findDOMNode)(this))},l.render=function(){var e=this.props,t=e.children,r=e.in,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,["children","in"]),i=n.default.Children.toArray(t),l=i[0],s=i[1];return delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,n.default.createElement(o.default,a,r?n.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},i}(n.default.Component);l.propTypes={};var s=l;t.default=s,e.exports=t.default},60644:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(85890)),a=l(r(99196)),o=l(r(91850)),i=r(46871);function l(e){return e&&e.__esModule?e:{default:e}}r(54726);var s="unmounted";t.UNMOUNTED=s;var d="exited";t.EXITED=d;var c="entering";t.ENTERING=c;var u="entered";t.ENTERED=u;var h="exiting";t.EXITING=h;var f=function(e){var t,r;function n(t,r){var n;n=e.call(this,t,r)||this;var a,o=r.transitionGroup,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(a=d,n.appearStatus=c):a=u:a=t.unmountOnExit||t.mountOnEnter?s:d,n.state={status:a},n.nextCallback=null,n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i=n.prototype;return i.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===s?{status:d}:null},i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==c&&r!==u&&(t=c):r!==c&&r!==u||(t=h)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var r=o.default.findDOMNode(this);t===c?this.performEnter(r,e):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:s})},i.performEnter=function(e,t){var r=this,n=this.props.enter,a=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),i=a?o.appear:o.enter;t||n?(this.props.onEnter(e,a),this.safeSetState({status:c},(function(){r.props.onEntering(e,a),r.onTransitionEnd(e,i,(function(){r.safeSetState({status:u},(function(){r.props.onEntered(e,a)}))}))}))):this.safeSetState({status:u},(function(){r.props.onEntered(e)}))},i.performExit=function(e){var t=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(e),this.safeSetState({status:h},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:d},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:d},(function(){t.props.onExited(e)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},i.onTransitionEnd=function(e,t,r){this.setNextCallback(r);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===s)return null;var t=this.props,r=t.children,n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(e,n);var o=a.default.Children.only(r);return a.default.cloneElement(o,n)},n}(a.default.Component);function w(){}f.contextTypes={transitionGroup:n.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:w,onEntering:w,onEntered:w,onExit:w,onExiting:w,onExited:w},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var v=(0,i.polyfill)(f);t.default=v},92381:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=l(r(85890)),a=l(r(99196)),o=r(46871),i=r(40537);function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},u=function(e){var t,r;function n(t,r){var n,a=(n=e.call(this,t,r)||this).handleExited.bind(d(d(n)));return n.state={handleExited:a,firstRender:!0},n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var r=t.children,n=t.handleExited;return{children:t.firstRender?(0,i.getInitialChildMapping)(e,n):(0,i.getNextChildMapping)(e,r,n),firstRender:!1}},o.handleExited=function(e,t){var r=(0,i.getChildMapping)(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=s({},t.children);return delete r[e.key],{children:r}})))},o.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,["component","childFactory"]),o=c(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?o:a.default.createElement(t,n,o)},n}(a.default.Component);u.childContextTypes={transitionGroup:n.default.object.isRequired},u.propTypes={},u.defaultProps={component:"div",childFactory:function(e){return e}};var h=(0,o.polyfill)(u);t.default=h,e.exports=t.default},64317:(e,t,r)=>{"use strict";var n=l(r(80129)),a=l(r(26093)),o=l(r(92381)),i=l(r(60644));function l(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:i.default,TransitionGroup:o.default,ReplaceTransition:a.default,CSSTransition:n.default}},40537:(e,t,r)=>{"use strict";t.__esModule=!0,t.getChildMapping=a,t.mergeChildMappings=o,t.getInitialChildMapping=function(e,t){return a(e.children,(function(r){return(0,n.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:i(r,"appear",e),enter:i(r,"enter",e),exit:i(r,"exit",e)})}))},t.getNextChildMapping=function(e,t,r){var l=a(e.children),s=o(t,l);return Object.keys(s).forEach((function(a){var o=s[a];if((0,n.isValidElement)(o)){var d=a in t,c=a in l,u=t[a],h=(0,n.isValidElement)(u)&&!u.props.in;!c||d&&!h?c||!d||h?c&&d&&(0,n.isValidElement)(u)&&(s[a]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:u.props.in,exit:i(o,"exit",e),enter:i(o,"enter",e)})):s[a]=(0,n.cloneElement)(o,{in:!1}):s[a]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:i(o,"exit",e),enter:i(o,"enter",e)})}})),s};var n=r(99196);function a(e,t){var r=Object.create(null);return e&&n.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,n.isValidElement)(e)?t(e):e}(e)})),r}function o(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,a=Object.create(null),o=[];for(var i in e)i in t?o.length&&(a[i]=o,o=[]):o.push(i);var l={};for(var s in t){if(a[s])for(n=0;n<a[s].length;n++){var d=a[s][n];l[a[s][n]]=r(d)}l[s]=r(s)}for(n=0;n<o.length;n++)l[o[n]]=r(o[n]);return l}function i(e,t,r){return null!=r[t]?r[t]:e.props[t]}},54726:(e,t,r)=>{"use strict";var n;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(n=r(85890))&&n.__esModule,t.timeoutsShape=null,t.classNamesShape=null},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},25853:e=>{"use strict";e.exports=window.lodash.debounce},38550:e=>{"use strict";e.exports=window.lodash.truncate},12049:e=>{"use strict";e.exports=window.lodash.uniqueId},69307:e=>{"use strict";e.exports=window.wp.element},65736:e=>{"use strict";e.exports=window.wp.i18n},42982:e=>{"use strict";e.exports=window.yoast.analysis},81413:e=>{"use strict";e.exports=window.yoast.componentsNew},23695:e=>{"use strict";e.exports=window.yoast.helpers},85890:e=>{"use strict";e.exports=window.yoast.propTypes},10224:e=>{"use strict";e.exports=window.yoast.replacementVariableEditor},37188:e=>{"use strict";e.exports=window.yoast.styleGuide},98487:e=>{"use strict";e.exports=window.yoast.styledComponents},18594:e=>{"use strict";e.exports=window.yoast.uiLibrary},64836:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AcademicCapIcon:()=>a,AdjustmentsIcon:()=>o,AnnotationIcon:()=>i,ArchiveIcon:()=>l,ArrowCircleDownIcon:()=>s,ArrowCircleLeftIcon:()=>d,ArrowCircleRightIcon:()=>c,ArrowCircleUpIcon:()=>u,ArrowDownIcon:()=>h,ArrowLeftIcon:()=>f,ArrowNarrowDownIcon:()=>w,ArrowNarrowLeftIcon:()=>v,ArrowNarrowRightIcon:()=>p,ArrowNarrowUpIcon:()=>m,ArrowRightIcon:()=>g,ArrowSmDownIcon:()=>E,ArrowSmLeftIcon:()=>x,ArrowSmRightIcon:()=>M,ArrowSmUpIcon:()=>k,ArrowUpIcon:()=>R,ArrowsExpandIcon:()=>b,AtSymbolIcon:()=>C,BackspaceIcon:()=>L,BadgeCheckIcon:()=>z,BanIcon:()=>j,BeakerIcon:()=>O,BellIcon:()=>I,BookOpenIcon:()=>B,BookmarkAltIcon:()=>V,BookmarkIcon:()=>H,BriefcaseIcon:()=>A,CakeIcon:()=>y,CalculatorIcon:()=>S,CalendarIcon:()=>D,CameraIcon:()=>W,CashIcon:()=>_,ChartBarIcon:()=>P,ChartPieIcon:()=>T,ChartSquareBarIcon:()=>F,ChatAlt2Icon:()=>N,ChatAltIcon:()=>U,ChatIcon:()=>$,CheckCircleIcon:()=>K,CheckIcon:()=>G,ChevronDoubleDownIcon:()=>q,ChevronDoubleLeftIcon:()=>Q,ChevronDoubleRightIcon:()=>Y,ChevronDoubleUpIcon:()=>X,ChevronDownIcon:()=>J,ChevronLeftIcon:()=>Z,ChevronRightIcon:()=>ee,ChevronUpIcon:()=>te,ChipIcon:()=>re,ClipboardCheckIcon:()=>ne,ClipboardCopyIcon:()=>ae,ClipboardIcon:()=>ie,ClipboardListIcon:()=>oe,ClockIcon:()=>le,CloudDownloadIcon:()=>se,CloudIcon:()=>ce,CloudUploadIcon:()=>de,CodeIcon:()=>ue,CogIcon:()=>he,CollectionIcon:()=>fe,ColorSwatchIcon:()=>we,CreditCardIcon:()=>ve,CubeIcon:()=>me,CubeTransparentIcon:()=>pe,CurrencyBangladeshiIcon:()=>ge,CurrencyDollarIcon:()=>Ee,CurrencyEuroIcon:()=>xe,CurrencyPoundIcon:()=>Me,CurrencyRupeeIcon:()=>ke,CurrencyYenIcon:()=>Re,CursorClickIcon:()=>be,DatabaseIcon:()=>Ce,DesktopComputerIcon:()=>Le,DeviceMobileIcon:()=>ze,DeviceTabletIcon:()=>je,DocumentAddIcon:()=>Oe,DocumentDownloadIcon:()=>Ie,DocumentDuplicateIcon:()=>Be,DocumentIcon:()=>Se,DocumentRemoveIcon:()=>Ve,DocumentReportIcon:()=>He,DocumentSearchIcon:()=>Ae,DocumentTextIcon:()=>ye,DotsCircleHorizontalIcon:()=>De,DotsHorizontalIcon:()=>We,DotsVerticalIcon:()=>_e,DownloadIcon:()=>Pe,DuplicateIcon:()=>Te,EmojiHappyIcon:()=>Fe,EmojiSadIcon:()=>Ne,ExclamationCircleIcon:()=>Ue,ExclamationIcon:()=>$e,ExternalLinkIcon:()=>Ke,EyeIcon:()=>qe,EyeOffIcon:()=>Ge,FastForwardIcon:()=>Qe,FilmIcon:()=>Ye,FilterIcon:()=>Xe,FingerPrintIcon:()=>Je,FireIcon:()=>Ze,FlagIcon:()=>et,FolderAddIcon:()=>tt,FolderDownloadIcon:()=>rt,FolderIcon:()=>ot,FolderOpenIcon:()=>nt,FolderRemoveIcon:()=>at,GiftIcon:()=>it,GlobeAltIcon:()=>lt,GlobeIcon:()=>st,HandIcon:()=>dt,HashtagIcon:()=>ct,HeartIcon:()=>ut,HomeIcon:()=>ht,IdentificationIcon:()=>ft,InboxIcon:()=>vt,InboxInIcon:()=>wt,InformationCircleIcon:()=>pt,KeyIcon:()=>mt,LibraryIcon:()=>gt,LightBulbIcon:()=>Et,LightningBoltIcon:()=>xt,LinkIcon:()=>Mt,LocationMarkerIcon:()=>kt,LockClosedIcon:()=>Rt,LockOpenIcon:()=>bt,LoginIcon:()=>Ct,LogoutIcon:()=>Lt,MailIcon:()=>jt,MailOpenIcon:()=>zt,MapIcon:()=>Ot,MenuAlt1Icon:()=>It,MenuAlt2Icon:()=>Bt,MenuAlt3Icon:()=>Vt,MenuAlt4Icon:()=>Ht,MenuIcon:()=>At,MicrophoneIcon:()=>yt,MinusCircleIcon:()=>St,MinusIcon:()=>Wt,MinusSmIcon:()=>Dt,MoonIcon:()=>_t,MusicNoteIcon:()=>Pt,NewspaperIcon:()=>Tt,OfficeBuildingIcon:()=>Ft,PaperAirplaneIcon:()=>Nt,PaperClipIcon:()=>Ut,PauseIcon:()=>$t,PencilAltIcon:()=>Kt,PencilIcon:()=>Gt,PhoneIcon:()=>Xt,PhoneIncomingIcon:()=>qt,PhoneMissedCallIcon:()=>Qt,PhoneOutgoingIcon:()=>Yt,PhotographIcon:()=>Jt,PlayIcon:()=>Zt,PlusCircleIcon:()=>er,PlusIcon:()=>rr,PlusSmIcon:()=>tr,PresentationChartBarIcon:()=>nr,PresentationChartLineIcon:()=>ar,PrinterIcon:()=>or,PuzzleIcon:()=>ir,QrcodeIcon:()=>lr,QuestionMarkCircleIcon:()=>sr,ReceiptRefundIcon:()=>dr,ReceiptTaxIcon:()=>cr,RefreshIcon:()=>ur,ReplyIcon:()=>hr,RewindIcon:()=>fr,RssIcon:()=>wr,SaveAsIcon:()=>vr,SaveIcon:()=>pr,ScaleIcon:()=>mr,ScissorsIcon:()=>gr,SearchCircleIcon:()=>Er,SearchIcon:()=>xr,SelectorIcon:()=>Mr,ServerIcon:()=>kr,ShareIcon:()=>Rr,ShieldCheckIcon:()=>br,ShieldExclamationIcon:()=>Cr,ShoppingBagIcon:()=>Lr,ShoppingCartIcon:()=>zr,SortAscendingIcon:()=>jr,SortDescendingIcon:()=>Or,SparklesIcon:()=>Ir,SpeakerphoneIcon:()=>Br,StarIcon:()=>Vr,StatusOfflineIcon:()=>Hr,StatusOnlineIcon:()=>Ar,StopIcon:()=>yr,SunIcon:()=>Sr,SupportIcon:()=>Dr,SwitchHorizontalIcon:()=>Wr,SwitchVerticalIcon:()=>_r,TableIcon:()=>Pr,TagIcon:()=>Tr,TemplateIcon:()=>Fr,TerminalIcon:()=>Nr,ThumbDownIcon:()=>Ur,ThumbUpIcon:()=>$r,TicketIcon:()=>Kr,TranslateIcon:()=>Gr,TrashIcon:()=>qr,TrendingDownIcon:()=>Qr,TrendingUpIcon:()=>Yr,TruckIcon:()=>Xr,UploadIcon:()=>Jr,UserAddIcon:()=>Zr,UserCircleIcon:()=>en,UserGroupIcon:()=>tn,UserIcon:()=>nn,UserRemoveIcon:()=>rn,UsersIcon:()=>an,VariableIcon:()=>on,VideoCameraIcon:()=>ln,ViewBoardsIcon:()=>sn,ViewGridAddIcon:()=>dn,ViewGridIcon:()=>cn,ViewListIcon:()=>un,VolumeOffIcon:()=>hn,VolumeUpIcon:()=>fn,WifiIcon:()=>wn,XCircleIcon:()=>vn,XIcon:()=>pn,ZoomInIcon:()=>mn,ZoomOutIcon:()=>gn});var n=r(99196);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M12 14l9-5-9-5-9 5 9 5z"}),n.createElement("path",{d:"M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"}))})),o=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"}))})),l=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"}))})),s=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 13l-3 3m0 0l-3-3m3 3V8m0 13a9 9 0 110-18 9 9 0 010 18z"}))})),d=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 15l-3-3m0 0l3-3m-3 3h8M3 12a9 9 0 1118 0 9 9 0 01-18 0z"}))})),c=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z"}))})),u=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 11l3-3m0 0l3 3m-3-3v8m0-13a9 9 0 110 18 9 9 0 010-18z"}))})),h=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 14l-7 7m0 0l-7-7m7 7V3"}))})),f=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 19l-7-7m0 0l7-7m-7 7h18"}))})),w=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 17l-4 4m0 0l-4-4m4 4V3"}))})),v=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16l-4-4m0 0l4-4m-4 4h18"}))})),p=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),m=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7l4-4m0 0l4 4m-4-4v18"}))})),g=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14 5l7 7m0 0l-7 7m7-7H3"}))})),E=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 13l-5 5m0 0l-5-5m5 5V6"}))})),x=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 17l-5-5m0 0l5-5m-5 5h12"}))})),M=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7l5 5m0 0l-5 5m5-5H6"}))})),k=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 11l5-5m0 0l5 5m-5-5v12"}))})),R=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 10l7-7m0 0l7 7m-7-7v18"}))})),b=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"}))})),C=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207"}))})),L=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2M3 12l6.414 6.414a2 2 0 001.414.586H19a2 2 0 002-2V7a2 2 0 00-2-2h-8.172a2 2 0 00-1.414.586L3 12z"}))})),z=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))})),j=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))})),O=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"}))})),I=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"}))})),B=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))})),V=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 4v12l-4-2-4 2V4M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),H=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"}))})),A=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),y=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 15.546c-.523 0-1.046.151-1.5.454a2.704 2.704 0 01-3 0 2.704 2.704 0 00-3 0 2.704 2.704 0 01-3 0 2.704 2.704 0 00-3 0 2.704 2.704 0 01-3 0 2.701 2.701 0 00-1.5-.454M9 6v2m3-2v2m3-2v2M9 3h.01M12 3h.01M15 3h.01M21 21v-7a2 2 0 00-2-2H5a2 2 0 00-2 2v7h18zm-3-9v-2a2 2 0 00-2-2H8a2 2 0 00-2 2v2h12z"}))})),S=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"}))})),D=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),W=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 13a3 3 0 11-6 0 3 3 0 016 0z"}))})),_=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z"}))})),P=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"}))})),T=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"}))})),F=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),N=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z"}))})),U=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"}))})),$=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))})),K=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))})),G=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),q=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 13l-7 7-7-7m14-8l-7 7-7-7"}))})),Q=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 19l-7-7 7-7m8 14l-7-7 7-7"}))})),Y=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 5l7 7-7 7M5 5l7 7-7 7"}))})),X=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 11l7-7 7 7M5 19l7-7 7 7"}))})),J=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),Z=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"}))})),ee=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"}))})),te=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))})),re=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"}))})),ne=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"}))})),ae=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"}))})),oe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"}))})),ie=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"}))})),le=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))})),se=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"}))})),de=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"}))})),ce=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"}))})),ue=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"}))})),he=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))})),fe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"}))})),we=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))})),ve=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"}))})),pe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14 10l-2 1m0 0l-2-1m2 1v2.5M20 7l-2 1m2-1l-2-1m2 1v2.5M14 4l-2-1-2 1M4 7l2-1M4 7l2 1M4 7v2.5M12 21l-2-1m2 1l2-1m-2 1v-2.5M6 18l-2-1v-2.5M18 18l2-1v-2.5"}))})),me=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"}))})),ge=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 11V9a2 2 0 00-2-2m2 4v4a2 2 0 104 0v-1m-4-3H9m2 0h4m6 1a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Ee=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),xe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.121 15.536c-1.171 1.952-3.07 1.952-4.242 0-1.172-1.953-1.172-5.119 0-7.072 1.171-1.952 3.07-1.952 4.242 0M8 10.5h4m-4 3h4m9-1.5a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Me=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 9a2 2 0 10-4 0v5a2 2 0 01-2 2h6m-6-4h4m8 0a9 9 0 11-18 0 9 9 0 0118 0z"}))})),ke=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8h6m-5 0a3 3 0 110 6H9l3 3m-3-6h6m6 1a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Re=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8l3 5m0 0l3-5m-3 5v4m-3-5h6m-6 3h6m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))})),be=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"}))})),Ce=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"}))})),Le=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),ze=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z"}))})),je=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"}))})),Oe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),Ie=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),Be=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"}))})),Ve=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),He=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17v-2m3 2v-4m3 4v-6m2 10H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),Ae=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z"}))})),ye=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),Se=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"}))})),De=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),We=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"}))})),_e=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"}))})),Pe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))})),Te=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"}))})),Fe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Ne=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Ue=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),$e=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),Ke=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Ge=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"}))})),qe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"}))})),Qe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.933 12.8a1 1 0 000-1.6L6.6 7.2A1 1 0 005 8v8a1 1 0 001.6.8l5.333-4zM19.933 12.8a1 1 0 000-1.6l-5.333-4A1 1 0 0013 8v8a1 1 0 001.6.8l5.333-4z"}))})),Ye=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z"}))})),Xe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"}))})),Je=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 11c0 3.517-1.009 6.799-2.753 9.571m-3.44-2.04l.054-.09A13.916 13.916 0 008 11a4 4 0 118 0c0 1.017-.07 2.019-.203 3m-2.118 6.844A21.88 21.88 0 0015.171 17m3.839 1.132c.645-2.266.99-4.659.99-7.132A8 8 0 008 4.07M3 15.364c.64-1.319 1-2.8 1-4.364 0-1.457.39-2.823 1.07-4"}))})),Ze=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.657 18.657A8 8 0 016.343 7.343S7 9 9 10c0-2 .5-5 2.986-7C14 5 16.09 5.777 17.656 7.343A7.975 7.975 0 0120 13a7.975 7.975 0 01-2.343 5.657z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 16.121A3 3 0 1012.015 11L11 14H9c0 .768.293 1.536.879 2.121z"}))})),et=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 21v-4m0 0V5a2 2 0 012-2h6.5l1 1H21l-3 6 3 6h-8.5l-1-1H5a2 2 0 00-2 2zm9-13.5V9"}))})),tt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"}))})),rt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10v6m0 0l-3-3m3 3l3-3M3 17V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"}))})),nt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 19a2 2 0 01-2-2V7a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1M5 19h14a2 2 0 002-2v-5a2 2 0 00-2-2H9a2 2 0 00-2 2v5a2 2 0 01-2 2z"}))})),at=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6M3 17V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"}))})),ot=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"}))})),it=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"}))})),lt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"}))})),st=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),dt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 11.5V14m0-2.5v-6a1.5 1.5 0 113 0m-3 6a1.5 1.5 0 00-3 0v2a7.5 7.5 0 0015 0v-5a1.5 1.5 0 00-3 0m-6-3V11m0-5.5v-1a1.5 1.5 0 013 0v1m0 0V11m0-5.5a1.5 1.5 0 013 0v3m0 0V11"}))})),ct=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 20l4-16m2 16l4-16M6 9h14M4 15h14"}))})),ut=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"}))})),ht=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"}))})),ft=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2"}))})),wt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 4H6a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-2m-4-1v8m0 0l3-3m-3 3L9 8m-5 5h2.586a1 1 0 01.707.293l2.414 2.414a1 1 0 00.707.293h3.172a1 1 0 00.707-.293l2.414-2.414a1 1 0 01.707-.293H20"}))})),vt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"}))})),pt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),mt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"}))})),gt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 14v3m4-3v3m4-3v3M3 21h18M3 10h18M3 7l9-4 9 4M4 10h16v11H4V10z"}))})),Et=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"}))})),xt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 10V3L4 14h7v7l9-11h-7z"}))})),Mt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"}))})),kt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"}))})),Rt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"}))})),bt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Ct=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"}))})),Lt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"}))})),zt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 19v-8.93a2 2 0 01.89-1.664l7-4.666a2 2 0 012.22 0l7 4.666A2 2 0 0121 10.07V19M3 19a2 2 0 002 2h14a2 2 0 002-2M3 19l6.75-4.5M21 19l-6.75-4.5M3 10l6.75 4.5M21 10l-6.75 4.5m0 0l-1.14.76a2 2 0 01-2.22 0l-1.14-.76"}))})),jt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),Ot=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"}))})),It=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h8m-8 6h16"}))})),Bt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h7"}))})),Vt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16m-7 6h7"}))})),Ht=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8h16M4 16h16"}))})),At=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"}))})),yt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"}))})),St=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Dt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 12H6"}))})),Wt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 12H4"}))})),_t=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"}))})),Pt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"}))})),Tt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),Ft=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"}))})),Nt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"}))})),Ut=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13"}))})),$t=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 9v6m4-6v6m7-3a9 9 0 11-18 0 9 9 0 0118 0z"}))})),Kt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"}))})),Gt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}))})),qt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 3l-6 6m0 0V4m0 5h5M5 3a2 2 0 00-2 2v1c0 8.284 6.716 15 15 15h1a2 2 0 002-2v-3.28a1 1 0 00-.684-.948l-4.493-1.498a1 1 0 00-1.21.502l-1.13 2.257a11.042 11.042 0 01-5.516-5.517l2.257-1.128a1 1 0 00.502-1.21L9.228 3.683A1 1 0 008.279 3H5z"}))})),Qt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 8l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2M5 3a2 2 0 00-2 2v1c0 8.284 6.716 15 15 15h1a2 2 0 002-2v-3.28a1 1 0 00-.684-.948l-4.493-1.498a1 1 0 00-1.21.502l-1.13 2.257a11.042 11.042 0 01-5.516-5.517l2.257-1.128a1 1 0 00.502-1.21L9.228 3.683A1 1 0 008.279 3H5z"}))})),Yt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 3h5m0 0v5m0-5l-6 6M5 3a2 2 0 00-2 2v1c0 8.284 6.716 15 15 15h1a2 2 0 002-2v-3.28a1 1 0 00-.684-.948l-4.493-1.498a1 1 0 00-1.21.502l-1.13 2.257a11.042 11.042 0 01-5.516-5.517l2.257-1.128a1 1 0 00.502-1.21L9.228 3.683A1 1 0 008.279 3H5z"}))})),Xt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"}))})),Jt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Zt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),er=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}))})),tr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6m0 0v6m0-6h6m-6 0H6"}))})),rr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))})),nr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"}))})),ar=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"}))})),or=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 17h2a2 2 0 002-2v-4a2 2 0 00-2-2H5a2 2 0 00-2 2v4a2 2 0 002 2h2m2 4h6a2 2 0 002-2v-4a2 2 0 00-2-2H9a2 2 0 00-2 2v4a2 2 0 002 2zm8-12V5a2 2 0 00-2-2H9a2 2 0 00-2 2v4h10z"}))})),ir=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z"}))})),lr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"}))})),sr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),dr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 15v-1a4 4 0 00-4-4H8m0 0l3 3m-3-3l3-3m9 14V5a2 2 0 00-2-2H6a2 2 0 00-2 2v16l4-2 4 2 4-2 4 2z"}))})),cr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 14l6-6m-5.5.5h.01m4.99 5h.01M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16l3.5-2 3.5 2 3.5-2 3.5 2zM10 8.5a.5.5 0 11-1 0 .5.5 0 011 0zm5 5a.5.5 0 11-1 0 .5.5 0 011 0z"}))})),ur=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))})),hr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6"}))})),fr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.066 11.2a1 1 0 000 1.6l5.334 4A1 1 0 0019 16V8a1 1 0 00-1.6-.8l-5.333 4zM4.066 11.2a1 1 0 000 1.6l5.334 4A1 1 0 0011 16V8a1 1 0 00-1.6-.8l-5.334 4z"}))})),wr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 5c7.18 0 13 5.82 13 13M6 11a7 7 0 017 7m-6 0a1 1 0 11-2 0 1 1 0 012 0z"}))})),vr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-1m-1 4l-3 3m0 0l-3-3m3 3V3"}))})),pr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4"}))})),mr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 6l3 1m0 0l-3 9a5.002 5.002 0 006.001 0M6 7l3 9M6 7l6-2m6 2l3-1m-3 1l-3 9a5.002 5.002 0 006.001 0M18 7l3 9m-3-9l-6-2m0-2v2m0 16V5m0 16H9m3 0h3"}))})),gr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.121 14.121L19 19m-7-7l7-7m-7 7l-2.879 2.879M12 12L9.121 9.121m0 5.758a3 3 0 10-4.243 4.243 3 3 0 004.243-4.243zm0-5.758a3 3 0 10-4.243-4.243 3 3 0 004.243 4.243z"}))})),Er=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16l2.879-2.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242zM21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),xr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),Mr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 9l4-4 4 4m0 6l-4 4-4-4"}))})),kr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"}))})),Rr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"}))})),br=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"}))})),Cr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.618 5.984A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016zM12 9v2m0 4h.01"}))})),Lr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"}))})),zr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"}))})),jr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12"}))})),Or=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4"}))})),Ir=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"}))})),Br=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z"}))})),Vr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"}))})),Hr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 5.636a9 9 0 010 12.728m0 0l-2.829-2.829m2.829 2.829L21 21M15.536 8.464a5 5 0 010 7.072m0 0l-2.829-2.829m-4.243 2.829a4.978 4.978 0 01-1.414-2.83m-1.414 5.658a9 9 0 01-2.167-9.238m7.824 2.167a1 1 0 111.414 1.414m-1.414-1.414L3 3m8.293 8.293l1.414 1.414"}))})),Ar=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728m-9.9-2.829a5 5 0 010-7.07m7.072 0a5 5 0 010 7.07M13 12a1 1 0 11-2 0 1 1 0 012 0z"}))})),yr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 10a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4z"}))})),Sr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"}))})),Dr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"}))})),Wr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4"}))})),_r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"}))})),Pr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"}))})),Tr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"}))})),Fr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"}))})),Nr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Ur=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 14H5.236a2 2 0 01-1.789-2.894l3.5-7A2 2 0 018.736 3h4.018a2 2 0 01.485.06l3.76.94m-7 10v5a2 2 0 002 2h.096c.5 0 .905-.405.905-.904 0-.715.211-1.413.608-2.008L17 13V4m-7 10h2m5-10h2a2 2 0 012 2v6a2 2 0 01-2 2h-2.5"}))})),$r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14 10h4.764a2 2 0 011.789 2.894l-3.5 7A2 2 0 0115.263 21h-4.017c-.163 0-.326-.02-.485-.06L7 20m7-10V5a2 2 0 00-2-2h-.095c-.5 0-.905.405-.905.905 0 .714-.211 1.412-.608 2.006L7 11v9m7-10h-2M7 20H5a2 2 0 01-2-2v-6a2 2 0 012-2h2.5"}))})),Kr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"}))})),Gr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129"}))})),qr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Qr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 17h8m0 0V9m0 8l-8-8-4 4-6-6"}))})),Yr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"}))})),Xr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 17a2 2 0 11-4 0 2 2 0 014 0zM19 17a2 2 0 11-4 0 2 2 0 014 0z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10a1 1 0 001 1h1m8-1a1 1 0 01-1 1H9m4-1V8a1 1 0 011-1h2.586a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707V16a1 1 0 01-1 1h-1m-6-1a1 1 0 001 1h1M5 17a2 2 0 104 0m-4 0a2 2 0 114 0m6 0a2 2 0 104 0m-4 0a2 2 0 114 0"}))})),Jr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"}))})),Zr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))})),en=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))})),tn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"}))})),rn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7a4 4 0 11-8 0 4 4 0 018 0zM9 14a6 6 0 00-6 6v1h12v-1a6 6 0 00-6-6zM21 12h-6"}))})),nn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}))})),an=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"}))})),on=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.871 4A17.926 17.926 0 003 12c0 2.874.673 5.59 1.871 8m14.13 0a17.926 17.926 0 001.87-8c0-2.874-.673-5.59-1.87-8M9 9h1.246a1 1 0 01.961.725l1.586 5.55a1 1 0 00.961.725H15m1-7h-.08a2 2 0 00-1.519.698L9.6 15.302A2 2 0 018.08 16H8"}))})),ln=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"}))})),sn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17V7m0 10a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h2a2 2 0 012 2m0 10a2 2 0 002 2h2a2 2 0 002-2M9 7a2 2 0 012-2h2a2 2 0 012 2m0 10V7m0 10a2 2 0 002 2h2a2 2 0 002-2V7a2 2 0 00-2-2h-2a2 2 0 00-2 2"}))})),dn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 14v6m-3-3h6M6 10h2a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2zm10 0h2a2 2 0 002-2V6a2 2 0 00-2-2h-2a2 2 0 00-2 2v2a2 2 0 002 2zM6 20h2a2 2 0 002-2v-2a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2z"}))})),cn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"}))})),un=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 10h16M4 14h16M4 18h16"}))})),hn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z",clipRule:"evenodd"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2"}))})),fn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"}))})),wn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.111 16.404a5.5 5.5 0 017.778 0M12 20h.01m-7.08-7.071c3.904-3.905 10.236-3.905 14.141 0M1.394 9.393c5.857-5.857 15.355-5.857 21.213 0"}))})),vn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}))})),pn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),mn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"}))})),gn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"}))}))},2942:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AcademicCapIcon:()=>a,AdjustmentsIcon:()=>o,AnnotationIcon:()=>i,ArchiveIcon:()=>l,ArrowCircleDownIcon:()=>s,ArrowCircleLeftIcon:()=>d,ArrowCircleRightIcon:()=>c,ArrowCircleUpIcon:()=>u,ArrowDownIcon:()=>h,ArrowLeftIcon:()=>f,ArrowNarrowDownIcon:()=>w,ArrowNarrowLeftIcon:()=>v,ArrowNarrowRightIcon:()=>p,ArrowNarrowUpIcon:()=>m,ArrowRightIcon:()=>g,ArrowSmDownIcon:()=>E,ArrowSmLeftIcon:()=>x,ArrowSmRightIcon:()=>M,ArrowSmUpIcon:()=>k,ArrowUpIcon:()=>R,ArrowsExpandIcon:()=>b,AtSymbolIcon:()=>C,BackspaceIcon:()=>L,BadgeCheckIcon:()=>z,BanIcon:()=>j,BeakerIcon:()=>O,BellIcon:()=>I,BookOpenIcon:()=>B,BookmarkAltIcon:()=>V,BookmarkIcon:()=>H,BriefcaseIcon:()=>A,CakeIcon:()=>y,CalculatorIcon:()=>S,CalendarIcon:()=>D,CameraIcon:()=>W,CashIcon:()=>_,ChartBarIcon:()=>P,ChartPieIcon:()=>T,ChartSquareBarIcon:()=>F,ChatAlt2Icon:()=>N,ChatAltIcon:()=>U,ChatIcon:()=>$,CheckCircleIcon:()=>K,CheckIcon:()=>G,ChevronDoubleDownIcon:()=>q,ChevronDoubleLeftIcon:()=>Q,ChevronDoubleRightIcon:()=>Y,ChevronDoubleUpIcon:()=>X,ChevronDownIcon:()=>J,ChevronLeftIcon:()=>Z,ChevronRightIcon:()=>ee,ChevronUpIcon:()=>te,ChipIcon:()=>re,ClipboardCheckIcon:()=>ne,ClipboardCopyIcon:()=>ae,ClipboardIcon:()=>ie,ClipboardListIcon:()=>oe,ClockIcon:()=>le,CloudDownloadIcon:()=>se,CloudIcon:()=>ce,CloudUploadIcon:()=>de,CodeIcon:()=>ue,CogIcon:()=>he,CollectionIcon:()=>fe,ColorSwatchIcon:()=>we,CreditCardIcon:()=>ve,CubeIcon:()=>me,CubeTransparentIcon:()=>pe,CurrencyBangladeshiIcon:()=>ge,CurrencyDollarIcon:()=>Ee,CurrencyEuroIcon:()=>xe,CurrencyPoundIcon:()=>Me,CurrencyRupeeIcon:()=>ke,CurrencyYenIcon:()=>Re,CursorClickIcon:()=>be,DatabaseIcon:()=>Ce,DesktopComputerIcon:()=>Le,DeviceMobileIcon:()=>ze,DeviceTabletIcon:()=>je,DocumentAddIcon:()=>Oe,DocumentDownloadIcon:()=>Ie,DocumentDuplicateIcon:()=>Be,DocumentIcon:()=>Se,DocumentRemoveIcon:()=>Ve,DocumentReportIcon:()=>He,DocumentSearchIcon:()=>Ae,DocumentTextIcon:()=>ye,DotsCircleHorizontalIcon:()=>De,DotsHorizontalIcon:()=>We,DotsVerticalIcon:()=>_e,DownloadIcon:()=>Pe,DuplicateIcon:()=>Te,EmojiHappyIcon:()=>Fe,EmojiSadIcon:()=>Ne,ExclamationCircleIcon:()=>Ue,ExclamationIcon:()=>$e,ExternalLinkIcon:()=>Ke,EyeIcon:()=>qe,EyeOffIcon:()=>Ge,FastForwardIcon:()=>Qe,FilmIcon:()=>Ye,FilterIcon:()=>Xe,FingerPrintIcon:()=>Je,FireIcon:()=>Ze,FlagIcon:()=>et,FolderAddIcon:()=>tt,FolderDownloadIcon:()=>rt,FolderIcon:()=>ot,FolderOpenIcon:()=>nt,FolderRemoveIcon:()=>at,GiftIcon:()=>it,GlobeAltIcon:()=>lt,GlobeIcon:()=>st,HandIcon:()=>dt,HashtagIcon:()=>ct,HeartIcon:()=>ut,HomeIcon:()=>ht,IdentificationIcon:()=>ft,InboxIcon:()=>vt,InboxInIcon:()=>wt,InformationCircleIcon:()=>pt,KeyIcon:()=>mt,LibraryIcon:()=>gt,LightBulbIcon:()=>Et,LightningBoltIcon:()=>xt,LinkIcon:()=>Mt,LocationMarkerIcon:()=>kt,LockClosedIcon:()=>Rt,LockOpenIcon:()=>bt,LoginIcon:()=>Ct,LogoutIcon:()=>Lt,MailIcon:()=>jt,MailOpenIcon:()=>zt,MapIcon:()=>Ot,MenuAlt1Icon:()=>It,MenuAlt2Icon:()=>Bt,MenuAlt3Icon:()=>Vt,MenuAlt4Icon:()=>Ht,MenuIcon:()=>At,MicrophoneIcon:()=>yt,MinusCircleIcon:()=>St,MinusIcon:()=>Wt,MinusSmIcon:()=>Dt,MoonIcon:()=>_t,MusicNoteIcon:()=>Pt,NewspaperIcon:()=>Tt,OfficeBuildingIcon:()=>Ft,PaperAirplaneIcon:()=>Nt,PaperClipIcon:()=>Ut,PauseIcon:()=>$t,PencilAltIcon:()=>Kt,PencilIcon:()=>Gt,PhoneIcon:()=>Xt,PhoneIncomingIcon:()=>qt,PhoneMissedCallIcon:()=>Qt,PhoneOutgoingIcon:()=>Yt,PhotographIcon:()=>Jt,PlayIcon:()=>Zt,PlusCircleIcon:()=>er,PlusIcon:()=>rr,PlusSmIcon:()=>tr,PresentationChartBarIcon:()=>nr,PresentationChartLineIcon:()=>ar,PrinterIcon:()=>or,PuzzleIcon:()=>ir,QrcodeIcon:()=>lr,QuestionMarkCircleIcon:()=>sr,ReceiptRefundIcon:()=>dr,ReceiptTaxIcon:()=>cr,RefreshIcon:()=>ur,ReplyIcon:()=>hr,RewindIcon:()=>fr,RssIcon:()=>wr,SaveAsIcon:()=>vr,SaveIcon:()=>pr,ScaleIcon:()=>mr,ScissorsIcon:()=>gr,SearchCircleIcon:()=>Er,SearchIcon:()=>xr,SelectorIcon:()=>Mr,ServerIcon:()=>kr,ShareIcon:()=>Rr,ShieldCheckIcon:()=>br,ShieldExclamationIcon:()=>Cr,ShoppingBagIcon:()=>Lr,ShoppingCartIcon:()=>zr,SortAscendingIcon:()=>jr,SortDescendingIcon:()=>Or,SparklesIcon:()=>Ir,SpeakerphoneIcon:()=>Br,StarIcon:()=>Vr,StatusOfflineIcon:()=>Hr,StatusOnlineIcon:()=>Ar,StopIcon:()=>yr,SunIcon:()=>Sr,SupportIcon:()=>Dr,SwitchHorizontalIcon:()=>Wr,SwitchVerticalIcon:()=>_r,TableIcon:()=>Pr,TagIcon:()=>Tr,TemplateIcon:()=>Fr,TerminalIcon:()=>Nr,ThumbDownIcon:()=>Ur,ThumbUpIcon:()=>$r,TicketIcon:()=>Kr,TranslateIcon:()=>Gr,TrashIcon:()=>qr,TrendingDownIcon:()=>Qr,TrendingUpIcon:()=>Yr,TruckIcon:()=>Xr,UploadIcon:()=>Jr,UserAddIcon:()=>Zr,UserCircleIcon:()=>en,UserGroupIcon:()=>tn,UserIcon:()=>nn,UserRemoveIcon:()=>rn,UsersIcon:()=>an,VariableIcon:()=>on,VideoCameraIcon:()=>ln,ViewBoardsIcon:()=>sn,ViewGridAddIcon:()=>dn,ViewGridIcon:()=>cn,ViewListIcon:()=>un,VolumeOffIcon:()=>hn,VolumeUpIcon:()=>fn,WifiIcon:()=>wn,XCircleIcon:()=>vn,XIcon:()=>pn,ZoomInIcon:()=>mn,ZoomOutIcon:()=>gn});var n=r(99196);const a=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10.394 2.08a1 1 0 00-.788 0l-7 3a1 1 0 000 1.84L5.25 8.051a.999.999 0 01.356-.257l4-1.714a1 1 0 11.788 1.838L7.667 9.088l1.94.831a1 1 0 00.787 0l7-3a1 1 0 000-1.838l-7-3zM3.31 9.397L5 10.12v4.102a8.969 8.969 0 00-1.05-.174 1 1 0 01-.89-.89 11.115 11.115 0 01.25-3.762zM9.3 16.573A9.026 9.026 0 007 14.935v-3.957l1.818.78a3 3 0 002.364 0l5.508-2.361a11.026 11.026 0 01.25 3.762 1 1 0 01-.89.89 8.968 8.968 0 00-5.35 2.524 1 1 0 01-1.4 0zM6 18a1 1 0 001-1v-2.065a8.935 8.935 0 00-2-.712V17a1 1 0 001 1z"}))})),o=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))})),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z",clipRule:"evenodd"}))})),l=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M4 3a2 2 0 100 4h12a2 2 0 100-4H4z"}),n.createElement("path",{fillRule:"evenodd",d:"M3 8h14v7a2 2 0 01-2 2H5a2 2 0 01-2-2V8zm5 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z",clipRule:"evenodd"}))})),s=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v3.586L7.707 9.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 10.586V7z",clipRule:"evenodd"}))})),d=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.707-10.293a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L9.414 11H13a1 1 0 100-2H9.414l1.293-1.293z",clipRule:"evenodd"}))})),c=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z",clipRule:"evenodd"}))})),u=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 0l-3 3a1 1 0 001.414 1.414L9 9.414V13a1 1 0 102 0V9.414l1.293 1.293a1 1 0 001.414-1.414z",clipRule:"evenodd"}))})),h=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M16.707 10.293a1 1 0 010 1.414l-6 6a1 1 0 01-1.414 0l-6-6a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l4.293-4.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),f=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"}))})),w=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),v=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l2.293 2.293a1 1 0 010 1.414z",clipRule:"evenodd"}))})),p=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),m=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),g=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),E=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),x=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L7.414 9H15a1 1 0 110 2H7.414l2.293 2.293a1 1 0 010 1.414z",clipRule:"evenodd"}))})),M=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),k=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),R=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L4.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),b=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 4a1 1 0 011-1h4a1 1 0 010 2H6.414l2.293 2.293a1 1 0 01-1.414 1.414L5 6.414V8a1 1 0 01-2 0V4zm9 1a1 1 0 110-2h4a1 1 0 011 1v4a1 1 0 11-2 0V6.414l-2.293 2.293a1 1 0 11-1.414-1.414L13.586 5H12zm-9 7a1 1 0 112 0v1.586l2.293-2.293a1 1 0 011.414 1.414L6.414 15H8a1 1 0 110 2H4a1 1 0 01-1-1v-4zm13-1a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 110-2h1.586l-2.293-2.293a1 1 0 011.414-1.414L15 13.586V12a1 1 0 011-1z",clipRule:"evenodd"}))})),C=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.243 5.757a6 6 0 10-.986 9.284 1 1 0 111.087 1.678A8 8 0 1118 10a3 3 0 01-4.8 2.401A4 4 0 1114 10a1 1 0 102 0c0-1.537-.586-3.07-1.757-4.243zM12 10a2 2 0 10-4 0 2 2 0 004 0z",clipRule:"evenodd"}))})),L=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6.707 4.879A3 3 0 018.828 4H15a3 3 0 013 3v6a3 3 0 01-3 3H8.828a3 3 0 01-2.12-.879l-4.415-4.414a1 1 0 010-1.414l4.414-4.414zm4 2.414a1 1 0 00-1.414 1.414L10.586 10l-1.293 1.293a1 1 0 101.414 1.414L12 11.414l1.293 1.293a1 1 0 001.414-1.414L13.414 10l1.293-1.293a1 1 0 00-1.414-1.414L12 8.586l-1.293-1.293z",clipRule:"evenodd"}))})),z=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),j=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M13.477 14.89A6 6 0 015.11 6.524l8.367 8.368zm1.414-1.414L6.524 5.11a6 6 0 018.367 8.367zM18 10a8 8 0 11-16 0 8 8 0 0116 0z",clipRule:"evenodd"}))})),O=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7 2a1 1 0 00-.707 1.707L7 4.414v3.758a1 1 0 01-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0113 8.172V4.414l.707-.707A1 1 0 0013 2H7zm2 6.172V4h2v4.172a3 3 0 00.879 2.12l1.027 1.028a4 4 0 00-2.171.102l-.47.156a4 4 0 01-2.53 0l-.563-.187a1.993 1.993 0 00-.114-.035l1.063-1.063A3 3 0 009 8.172z",clipRule:"evenodd"}))})),I=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}))})),B=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 4.804A7.968 7.968 0 005.5 4c-1.255 0-2.443.29-3.5.804v10A7.969 7.969 0 015.5 14c1.669 0 3.218.51 4.5 1.385A7.962 7.962 0 0114.5 14c1.255 0 2.443.29 3.5.804v-10A7.968 7.968 0 0014.5 4c-1.255 0-2.443.29-3.5.804V12a1 1 0 11-2 0V4.804z"}))})),V=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 012-2h10a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V5zm11 1H6v8l4-2 4 2V6z",clipRule:"evenodd"}))})),H=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 4a2 2 0 012-2h6a2 2 0 012 2v14l-5-2.5L5 18V4z"}))})),A=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 6V5a3 3 0 013-3h2a3 3 0 013 3v1h2a2 2 0 012 2v3.57A22.952 22.952 0 0110 13a22.95 22.95 0 01-8-1.43V8a2 2 0 012-2h2zm2-1a1 1 0 011-1h2a1 1 0 011 1v1H8V5zm1 5a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1z",clipRule:"evenodd"}),n.createElement("path",{d:"M2 13.692V16a2 2 0 002 2h12a2 2 0 002-2v-2.308A24.974 24.974 0 0110 15c-2.796 0-5.487-.46-8-1.308z"}))})),y=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 3a1 1 0 011-1h.01a1 1 0 010 2H7a1 1 0 01-1-1zm2 3a1 1 0 00-2 0v1a2 2 0 00-2 2v1a2 2 0 00-2 2v.683a3.7 3.7 0 011.055.485 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0A3.7 3.7 0 0118 12.683V12a2 2 0 00-2-2V9a2 2 0 00-2-2V6a1 1 0 10-2 0v1h-1V6a1 1 0 10-2 0v1H8V6zm10 8.868a3.704 3.704 0 01-4.055-.036 1.704 1.704 0 00-1.89 0 3.704 3.704 0 01-4.11 0 1.704 1.704 0 00-1.89 0A3.704 3.704 0 012 14.868V17a1 1 0 001 1h14a1 1 0 001-1v-2.132zM9 3a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zm3 0a1 1 0 011-1h.01a1 1 0 110 2H13a1 1 0 01-1-1z",clipRule:"evenodd"}))})),S=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2H6zm1 2a1 1 0 000 2h6a1 1 0 100-2H7zm6 7a1 1 0 011 1v3a1 1 0 11-2 0v-3a1 1 0 011-1zm-3 3a1 1 0 100 2h.01a1 1 0 100-2H10zm-4 1a1 1 0 011-1h.01a1 1 0 110 2H7a1 1 0 01-1-1zm1-4a1 1 0 100 2h.01a1 1 0 100-2H7zm2 1a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zm4-4a1 1 0 100 2h.01a1 1 0 100-2H13zM9 9a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zM7 8a1 1 0 000 2h.01a1 1 0 000-2H7z",clipRule:"evenodd"}))})),D=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))})),W=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 5a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2V7a2 2 0 00-2-2h-1.586a1 1 0 01-.707-.293l-1.121-1.121A2 2 0 0011.172 3H8.828a2 2 0 00-1.414.586L6.293 4.707A1 1 0 015.586 5H4zm6 9a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"}))})),_=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z",clipRule:"evenodd"}))})),P=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),T=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 10a8 8 0 018-8v8h8a8 8 0 11-16 0z"}),n.createElement("path",{d:"M12 2.252A8.014 8.014 0 0117.748 8H12V2.252z"}))})),F=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 3a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V5a2 2 0 00-2-2H5zm9 4a1 1 0 10-2 0v6a1 1 0 102 0V7zm-3 2a1 1 0 10-2 0v4a1 1 0 102 0V9zm-3 3a1 1 0 10-2 0v1a1 1 0 102 0v-1z",clipRule:"evenodd"}))})),N=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 5a2 2 0 012-2h7a2 2 0 012 2v4a2 2 0 01-2 2H9l-3 3v-3H4a2 2 0 01-2-2V5z"}),n.createElement("path",{d:"M15 7v2a4 4 0 01-4 4H9.828l-1.766 1.767c.28.149.599.233.938.233h2l3 3v-3h2a2 2 0 002-2V9a2 2 0 00-2-2h-1z"}))})),U=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z",clipRule:"evenodd"}))})),$=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10c0 3.866-3.582 7-8 7a8.841 8.841 0 01-4.083-.98L2 17l1.338-3.123C2.493 12.767 2 11.434 2 10c0-3.866 3.582-7 8-7s8 3.134 8 7zM7 9H5v2h2V9zm8 0h-2v2h2V9zM9 9h2v2H9V9z",clipRule:"evenodd"}))})),K=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),G=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),q=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M15.707 4.293a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 011.414-1.414L10 8.586l4.293-4.293a1 1 0 011.414 0zm0 6a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 111.414-1.414L10 14.586l4.293-4.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),Q=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M15.707 15.707a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 010 1.414zm-6 0a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 011.414 1.414L5.414 10l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"}))})),Y=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 15.707a1 1 0 010-1.414L14.586 10l-4.293-4.293a1 1 0 111.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M4.293 15.707a1 1 0 010-1.414L8.586 10 4.293 5.707a1 1 0 011.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),X=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4.293 15.707a1 1 0 010-1.414l5-5a1 1 0 011.414 0l5 5a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414 0zm0-6a1 1 0 010-1.414l5-5a1 1 0 011.414 0l5 5a1 1 0 01-1.414 1.414L10 5.414 5.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),J=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Z=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))})),ee=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),te=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))})),re=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M13 7H7v6h6V7z"}),n.createElement("path",{fillRule:"evenodd",d:"M7 2a1 1 0 012 0v1h2V2a1 1 0 112 0v1h2a2 2 0 012 2v2h1a1 1 0 110 2h-1v2h1a1 1 0 110 2h-1v2a2 2 0 01-2 2h-2v1a1 1 0 11-2 0v-1H9v1a1 1 0 11-2 0v-1H5a2 2 0 01-2-2v-2H2a1 1 0 110-2h1V9H2a1 1 0 010-2h1V5a2 2 0 012-2h2V2zM5 5h10v10H5V5z",clipRule:"evenodd"}))})),ne=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"}),n.createElement("path",{fillRule:"evenodd",d:"M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm9.707 5.707a1 1 0 00-1.414-1.414L9 12.586l-1.293-1.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),ae=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8 2a1 1 0 000 2h2a1 1 0 100-2H8z"}),n.createElement("path",{d:"M3 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v6h-4.586l1.293-1.293a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L10.414 13H15v3a2 2 0 01-2 2H5a2 2 0 01-2-2V5zM15 11h2a1 1 0 110 2h-2v-2z"}))})),oe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"}),n.createElement("path",{fillRule:"evenodd",d:"M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm3 4a1 1 0 000 2h.01a1 1 0 100-2H7zm3 0a1 1 0 000 2h3a1 1 0 100-2h-3zm-3 4a1 1 0 100 2h.01a1 1 0 100-2H7zm3 0a1 1 0 100 2h3a1 1 0 100-2h-3z",clipRule:"evenodd"}))})),ie=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"}),n.createElement("path",{d:"M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"}))})),le=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z",clipRule:"evenodd"}))})),se=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2 9.5A3.5 3.5 0 005.5 13H9v2.586l-1.293-1.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 15.586V13h2.5a4.5 4.5 0 10-.616-8.958 4.002 4.002 0 10-7.753 1.977A3.5 3.5 0 002 9.5zm9 3.5H9V8a1 1 0 012 0v5z",clipRule:"evenodd"}))})),de=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5.5 13a3.5 3.5 0 01-.369-6.98 4 4 0 117.753-1.977A4.5 4.5 0 1113.5 13H11V9.413l1.293 1.293a1 1 0 001.414-1.414l-3-3a1 1 0 00-1.414 0l-3 3a1 1 0 001.414 1.414L9 9.414V13H5.5z"}),n.createElement("path",{d:"M9 13h2v5a1 1 0 11-2 0v-5z"}))})),ce=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5.5 16a3.5 3.5 0 01-.369-6.98 4 4 0 117.753-1.977A4.5 4.5 0 1113.5 16h-8z"}))})),ue=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),he=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"}))})),fe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M7 3a1 1 0 000 2h6a1 1 0 100-2H7zM4 7a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1zM2 11a2 2 0 012-2h12a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4z"}))})),we=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 2a2 2 0 00-2 2v11a3 3 0 106 0V4a2 2 0 00-2-2H4zm1 14a1 1 0 100-2 1 1 0 000 2zm5-1.757l4.9-4.9a2 2 0 000-2.828L13.485 5.1a2 2 0 00-2.828 0L10 5.757v8.486zM16 18H9.071l6-6H16a2 2 0 012 2v2a2 2 0 01-2 2z",clipRule:"evenodd"}))})),ve=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M4 4a2 2 0 00-2 2v1h16V6a2 2 0 00-2-2H4z"}),n.createElement("path",{fillRule:"evenodd",d:"M18 9H2v5a2 2 0 002 2h12a2 2 0 002-2V9zM4 13a1 1 0 011-1h1a1 1 0 110 2H5a1 1 0 01-1-1zm5-1a1 1 0 100 2h1a1 1 0 100-2H9z",clipRule:"evenodd"}))})),pe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.504 1.132a1 1 0 01.992 0l1.75 1a1 1 0 11-.992 1.736L10 3.152l-1.254.716a1 1 0 11-.992-1.736l1.75-1zM5.618 4.504a1 1 0 01-.372 1.364L5.016 6l.23.132a1 1 0 11-.992 1.736L4 7.723V8a1 1 0 01-2 0V6a.996.996 0 01.52-.878l1.734-.99a1 1 0 011.364.372zm8.764 0a1 1 0 011.364-.372l1.733.99A1.002 1.002 0 0118 6v2a1 1 0 11-2 0v-.277l-.254.145a1 1 0 11-.992-1.736l.23-.132-.23-.132a1 1 0 01-.372-1.364zm-7 4a1 1 0 011.364-.372L10 8.848l1.254-.716a1 1 0 11.992 1.736L11 10.58V12a1 1 0 11-2 0v-1.42l-1.246-.712a1 1 0 01-.372-1.364zM3 11a1 1 0 011 1v1.42l1.246.712a1 1 0 11-.992 1.736l-1.75-1A1 1 0 012 14v-2a1 1 0 011-1zm14 0a1 1 0 011 1v2a1 1 0 01-.504.868l-1.75 1a1 1 0 11-.992-1.736L16 13.42V12a1 1 0 011-1zm-9.618 5.504a1 1 0 011.364-.372l.254.145V16a1 1 0 112 0v.277l.254-.145a1 1 0 11.992 1.736l-1.735.992a.995.995 0 01-1.022 0l-1.735-.992a1 1 0 01-.372-1.364z",clipRule:"evenodd"}))})),me=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M11 17a1 1 0 001.447.894l4-2A1 1 0 0017 15V9.236a1 1 0 00-1.447-.894l-4 2a1 1 0 00-.553.894V17zM15.211 6.276a1 1 0 000-1.788l-4.764-2.382a1 1 0 00-.894 0L4.789 4.488a1 1 0 000 1.788l4.764 2.382a1 1 0 00.894 0l4.764-2.382zM4.447 8.342A1 1 0 003 9.236V15a1 1 0 00.553.894l4 2A1 1 0 009 17v-5.764a1 1 0 00-.553-.894l-4-2z"}))})),ge=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 4a1 1 0 000 2 1 1 0 011 1v1H7a1 1 0 000 2h1v3a3 3 0 106 0v-1a1 1 0 10-2 0v1a1 1 0 11-2 0v-3h3a1 1 0 100-2h-3V7a3 3 0 00-3-3z",clipRule:"evenodd"}))})),Ee=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"}),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd"}))})),xe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.736 6.979C9.208 6.193 9.696 6 10 6c.304 0 .792.193 1.264.979a1 1 0 001.715-1.029C12.279 4.784 11.232 4 10 4s-2.279.784-2.979 1.95c-.285.475-.507 1-.67 1.55H6a1 1 0 000 2h.013a9.358 9.358 0 000 1H6a1 1 0 100 2h.351c.163.55.385 1.075.67 1.55C7.721 15.216 8.768 16 10 16s2.279-.784 2.979-1.95a1 1 0 10-1.715-1.029c-.472.786-.96.979-1.264.979-.304 0-.792-.193-1.264-.979a4.265 4.265 0 01-.264-.521H10a1 1 0 100-2H8.017a7.36 7.36 0 010-1H10a1 1 0 100-2H8.472c.08-.185.167-.36.264-.521z",clipRule:"evenodd"}))})),Me=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-14a3 3 0 00-3 3v2H7a1 1 0 000 2h1v1a1 1 0 01-1 1 1 1 0 100 2h6a1 1 0 100-2H9.83c.11-.313.17-.65.17-1v-1h1a1 1 0 100-2h-1V7a1 1 0 112 0 1 1 0 102 0 3 3 0 00-3-3z",clipRule:"evenodd"}))})),ke=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 5a1 1 0 100 2h1a2 2 0 011.732 1H7a1 1 0 100 2h2.732A2 2 0 018 11H7a1 1 0 00-.707 1.707l3 3a1 1 0 001.414-1.414l-1.483-1.484A4.008 4.008 0 0011.874 10H13a1 1 0 100-2h-1.126a3.976 3.976 0 00-.41-1H13a1 1 0 100-2H7z",clipRule:"evenodd"}))})),Re=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7.858 5.485a1 1 0 00-1.715 1.03L7.633 9H7a1 1 0 100 2h1.834l.166.277V12H7a1 1 0 100 2h2v1a1 1 0 102 0v-1h2a1 1 0 100-2h-2v-.723l.166-.277H13a1 1 0 100-2h-.634l1.492-2.486a1 1 0 10-1.716-1.029L10.034 9h-.068L7.858 5.485z",clipRule:"evenodd"}))})),be=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6.672 1.911a1 1 0 10-1.932.518l.259.966a1 1 0 001.932-.518l-.26-.966zM2.429 4.74a1 1 0 10-.517 1.932l.966.259a1 1 0 00.517-1.932l-.966-.26zm8.814-.569a1 1 0 00-1.415-1.414l-.707.707a1 1 0 101.415 1.415l.707-.708zm-7.071 7.072l.707-.707A1 1 0 003.465 9.12l-.708.707a1 1 0 001.415 1.415zm3.2-5.171a1 1 0 00-1.3 1.3l4 10a1 1 0 001.823.075l1.38-2.759 3.018 3.02a1 1 0 001.414-1.415l-3.019-3.02 2.76-1.379a1 1 0 00-.076-1.822l-10-4z",clipRule:"evenodd"}))})),Ce=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3 12v3c0 1.657 3.134 3 7 3s7-1.343 7-3v-3c0 1.657-3.134 3-7 3s-7-1.343-7-3z"}),n.createElement("path",{d:"M3 7v3c0 1.657 3.134 3 7 3s7-1.343 7-3V7c0 1.657-3.134 3-7 3S3 8.657 3 7z"}),n.createElement("path",{d:"M17 5c0 1.657-3.134 3-7 3S3 6.657 3 5s3.134-3 7-3 7 1.343 7 3z"}))})),Le=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 012-2h10a2 2 0 012 2v8a2 2 0 01-2 2h-2.22l.123.489.804.804A1 1 0 0113 18H7a1 1 0 01-.707-1.707l.804-.804L7.22 15H5a2 2 0 01-2-2V5zm5.771 7H5V5h10v7H8.771z",clipRule:"evenodd"}))})),ze=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7 2a2 2 0 00-2 2v12a2 2 0 002 2h6a2 2 0 002-2V4a2 2 0 00-2-2H7zm3 14a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),je=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2H6zm4 14a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),Oe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm5 6a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V8z",clipRule:"evenodd"}))})),Ie=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm5 6a1 1 0 10-2 0v3.586l-1.293-1.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V8z",clipRule:"evenodd"}))})),Be=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 2a2 2 0 00-2 2v8a2 2 0 002 2h6a2 2 0 002-2V6.414A2 2 0 0016.414 5L14 2.586A2 2 0 0012.586 2H9z"}),n.createElement("path",{d:"M3 8a2 2 0 012-2v10h8a2 2 0 01-2 2H5a2 2 0 01-2-2V8z"}))})),Ve=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm1 8a1 1 0 100 2h6a1 1 0 100-2H7z",clipRule:"evenodd"}))})),He=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm2 10a1 1 0 10-2 0v3a1 1 0 102 0v-3zm2-3a1 1 0 011 1v5a1 1 0 11-2 0v-5a1 1 0 011-1zm4-1a1 1 0 10-2 0v7a1 1 0 102 0V8z",clipRule:"evenodd"}))})),Ae=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2h-1.528A6 6 0 004 9.528V4z"}),n.createElement("path",{fillRule:"evenodd",d:"M8 10a4 4 0 00-3.446 6.032l-1.261 1.26a1 1 0 101.414 1.415l1.261-1.261A4 4 0 108 10zm-2 4a2 2 0 114 0 2 2 0 01-4 0z",clipRule:"evenodd"}))})),ye=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 6a1 1 0 011-1h6a1 1 0 110 2H7a1 1 0 01-1-1zm1 3a1 1 0 100 2h6a1 1 0 100-2H7z",clipRule:"evenodd"}))})),Se=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z",clipRule:"evenodd"}))})),De=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 9H5v2h2V9zm8 0h-2v2h2V9zM9 9h2v2H9V9z",clipRule:"evenodd"}))})),We=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"}))})),_e=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"}))})),Pe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Te=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M7 9a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2H9a2 2 0 01-2-2V9z"}),n.createElement("path",{d:"M5 3a2 2 0 00-2 2v6a2 2 0 002 2V5h8a2 2 0 00-2-2H5z"}))})),Fe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zm-.464 5.535a1 1 0 10-1.415-1.414 3 3 0 01-4.242 0 1 1 0 00-1.415 1.414 5 5 0 007.072 0z",clipRule:"evenodd"}))})),Ne=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zm-7.536 5.879a1 1 0 001.415 0 3 3 0 014.242 0 1 1 0 001.415-1.415 5 5 0 00-7.072 0 1 1 0 000 1.415z",clipRule:"evenodd"}))})),Ue=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),$e=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),Ke=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),n.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}))})),Ge=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3.707 2.293a1 1 0 00-1.414 1.414l14 14a1 1 0 001.414-1.414l-1.473-1.473A10.014 10.014 0 0019.542 10C18.268 5.943 14.478 3 10 3a9.958 9.958 0 00-4.512 1.074l-1.78-1.781zm4.261 4.26l1.514 1.515a2.003 2.003 0 012.45 2.45l1.514 1.514a4 4 0 00-5.478-5.478z",clipRule:"evenodd"}),n.createElement("path",{d:"M12.454 16.697L9.75 13.992a4 4 0 01-3.742-3.741L2.335 6.578A9.98 9.98 0 00.458 10c1.274 4.057 5.065 7 9.542 7 .847 0 1.669-.105 2.454-.303z"}))})),qe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),n.createElement("path",{fillRule:"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",clipRule:"evenodd"}))})),Qe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M4.555 5.168A1 1 0 003 6v8a1 1 0 001.555.832L10 11.202V14a1 1 0 001.555.832l6-4a1 1 0 000-1.664l-6-4A1 1 0 0010 6v2.798l-5.445-3.63z"}))})),Ye=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm3 2h6v4H7V5zm8 8v2h1v-2h-1zm-2-2H7v4h6v-4zm2 0h1V9h-1v2zm1-4V5h-1v2h1zM5 5v2H4V5h1zm0 4H4v2h1V9zm-1 4h1v2H4v-2z",clipRule:"evenodd"}))})),Xe=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 3a1 1 0 011-1h12a1 1 0 011 1v3a1 1 0 01-.293.707L12 11.414V15a1 1 0 01-.293.707l-2 2A1 1 0 018 17v-5.586L3.293 6.707A1 1 0 013 6V3z",clipRule:"evenodd"}))})),Je=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M6.625 2.655A9 9 0 0119 11a1 1 0 11-2 0 7 7 0 00-9.625-6.492 1 1 0 11-.75-1.853zM4.662 4.959A1 1 0 014.75 6.37 6.97 6.97 0 003 11a1 1 0 11-2 0 8.97 8.97 0 012.25-5.953 1 1 0 011.412-.088z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M5 11a5 5 0 1110 0 1 1 0 11-2 0 3 3 0 10-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 11-1.838-.789A9.964 9.964 0 005 11zm8.921 2.012a1 1 0 01.831 1.145 19.86 19.86 0 01-.545 2.436 1 1 0 11-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 011.144-.83z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M10 10a1 1 0 011 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 01-1.838-.789A13.952 13.952 0 009 11a1 1 0 011-1z",clipRule:"evenodd"}))})),Ze=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z",clipRule:"evenodd"}))})),et=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 013-3h10a1 1 0 01.8 1.6L14.25 8l2.55 3.4A1 1 0 0116 13H6a1 1 0 00-1 1v3a1 1 0 11-2 0V6z",clipRule:"evenodd"}))})),tt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2V8a2 2 0 00-2-2h-5L9 4H4zm7 5a1 1 0 10-2 0v1H8a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V9z"}))})),rt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2V8a2 2 0 00-2-2h-5L9 4H4zm7 5a1 1 0 10-2 0v1.586l-.293-.293a1 1 0 10-1.414 1.414l2 2 .002.002a.997.997 0 001.41 0l.002-.002 2-2a1 1 0 00-1.414-1.414l-.293.293V9z"}))})),nt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2 6a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1H8a3 3 0 00-3 3v1.5a1.5 1.5 0 01-3 0V6z",clipRule:"evenodd"}),n.createElement("path",{d:"M6 12a2 2 0 012-2h8a2 2 0 012 2v2a2 2 0 01-2 2H2h2a2 2 0 002-2v-2z"}))})),at=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2V8a2 2 0 00-2-2h-5L9 4H4zm4 6a1 1 0 100 2h4a1 1 0 100-2H8z"}))})),ot=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 6a2 2 0 012-2h5l2 2h5a2 2 0 012 2v6a2 2 0 01-2 2H4a2 2 0 01-2-2V6z"}))})),it=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 5a3 3 0 015-2.236A3 3 0 0114.83 6H16a2 2 0 110 4h-5V9a1 1 0 10-2 0v1H4a2 2 0 110-4h1.17C5.06 5.687 5 5.35 5 5zm4 1V5a1 1 0 10-1 1h1zm3 0a1 1 0 10-1-1v1h1z",clipRule:"evenodd"}),n.createElement("path",{d:"M9 11H3v5a2 2 0 002 2h4v-7zM11 18h4a2 2 0 002-2v-5h-6v7z"}))})),lt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"}))})),st=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM4.332 8.027a6.012 6.012 0 011.912-2.706C6.512 5.73 6.974 6 7.5 6A1.5 1.5 0 019 7.5V8a2 2 0 004 0 2 2 0 011.523-1.943A5.977 5.977 0 0116 10c0 .34-.028.675-.083 1H15a2 2 0 00-2 2v2.197A5.973 5.973 0 0110 16v-2a2 2 0 00-2-2 2 2 0 01-2-2 2 2 0 00-1.668-1.973z",clipRule:"evenodd"}))})),dt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9 3a1 1 0 012 0v5.5a.5.5 0 001 0V4a1 1 0 112 0v4.5a.5.5 0 001 0V6a1 1 0 112 0v5a7 7 0 11-14 0V9a1 1 0 012 0v2.5a.5.5 0 001 0V4a1 1 0 012 0v4.5a.5.5 0 001 0V3z",clipRule:"evenodd"}))})),ct=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.243 3.03a1 1 0 01.727 1.213L9.53 6h2.94l.56-2.243a1 1 0 111.94.486L14.53 6H17a1 1 0 110 2h-2.97l-1 4H15a1 1 0 110 2h-2.47l-.56 2.242a1 1 0 11-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 11-1.94-.485L5.47 14H3a1 1 0 110-2h2.97l1-4H5a1 1 0 110-2h2.47l.56-2.243a1 1 0 011.213-.727zM9.03 8l-1 4h2.938l1-4H9.031z",clipRule:"evenodd"}))})),ut=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z",clipRule:"evenodd"}))})),ht=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"}))})),ft=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 2a1 1 0 00-1 1v1a1 1 0 002 0V3a1 1 0 00-1-1zM4 4h3a3 3 0 006 0h3a2 2 0 012 2v9a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm2.5 7a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm2.45 4a2.5 2.5 0 10-4.9 0h4.9zM12 9a1 1 0 100 2h3a1 1 0 100-2h-3zm-1 4a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z",clipRule:"evenodd"}))})),wt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8.707 7.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L11 7.586V3a1 1 0 10-2 0v4.586l-.293-.293z"}),n.createElement("path",{d:"M3 5a2 2 0 012-2h1a1 1 0 010 2H5v7h2l1 2h4l1-2h2V5h-1a1 1 0 110-2h1a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V5z"}))})),vt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 3a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V5a2 2 0 00-2-2H5zm0 2h10v7h-2l-1 2H8l-1-2H5V5z",clipRule:"evenodd"}))})),pt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))})),mt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 8a6 6 0 01-7.743 5.743L10 14l-1 1-1 1H6v2H2v-4l4.257-4.257A6 6 0 1118 8zm-6-4a1 1 0 100 2 2 2 0 012 2 1 1 0 102 0 4 4 0 00-4-4z",clipRule:"evenodd"}))})),gt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.496 2.132a1 1 0 00-.992 0l-7 4A1 1 0 003 8v7a1 1 0 100 2h14a1 1 0 100-2V8a1 1 0 00.496-1.868l-7-4zM6 9a1 1 0 00-1 1v3a1 1 0 102 0v-3a1 1 0 00-1-1zm3 1a1 1 0 012 0v3a1 1 0 11-2 0v-3zm5-1a1 1 0 00-1 1v3a1 1 0 102 0v-3a1 1 0 00-1-1z",clipRule:"evenodd"}))})),Et=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),xt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M11.3 1.046A1 1 0 0112 2v5h4a1 1 0 01.82 1.573l-7 10A1 1 0 018 18v-5H4a1 1 0 01-.82-1.573l7-10a1 1 0 011.12-.38z",clipRule:"evenodd"}))})),Mt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z",clipRule:"evenodd"}))})),kt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z",clipRule:"evenodd"}))})),Rt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),bt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10 2a5 5 0 00-5 5v2a2 2 0 00-2 2v5a2 2 0 002 2h10a2 2 0 002-2v-5a2 2 0 00-2-2H7V7a3 3 0 015.905-.75 1 1 0 001.937-.5A5.002 5.002 0 0010 2z"}))})),Ct=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 3a1 1 0 011 1v12a1 1 0 11-2 0V4a1 1 0 011-1zm7.707 3.293a1 1 0 010 1.414L9.414 9H17a1 1 0 110 2H9.414l1.293 1.293a1 1 0 01-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0z",clipRule:"evenodd"}))})),Lt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 3a1 1 0 00-1 1v12a1 1 0 102 0V4a1 1 0 00-1-1zm10.293 9.293a1 1 0 001.414 1.414l3-3a1 1 0 000-1.414l-3-3a1 1 0 10-1.414 1.414L14.586 9H7a1 1 0 100 2h7.586l-1.293 1.293z",clipRule:"evenodd"}))})),zt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2.94 6.412A2 2 0 002 8.108V16a2 2 0 002 2h12a2 2 0 002-2V8.108a2 2 0 00-.94-1.696l-6-3.75a2 2 0 00-2.12 0l-6 3.75zm2.615 2.423a1 1 0 10-1.11 1.664l5 3.333a1 1 0 001.11 0l5-3.333a1 1 0 00-1.11-1.664L10 11.798 5.555 8.835z",clipRule:"evenodd"}))})),jt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}),n.createElement("path",{d:"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"}))})),Ot=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12 1.586l-4 4v12.828l4-4V1.586zM3.707 3.293A1 1 0 002 4v10a1 1 0 00.293.707L6 18.414V5.586L3.707 3.293zM17.707 5.293L14 1.586v12.828l2.293 2.293A1 1 0 0018 16V6a1 1 0 00-.293-.707z",clipRule:"evenodd"}))})),It=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),Bt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),Vt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z",clipRule:"evenodd"}))})),Ht=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 7a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 13a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),At=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),yt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7 4a3 3 0 016 0v4a3 3 0 11-6 0V4zm4 10.93A7.001 7.001 0 0017 8a1 1 0 10-2 0A5 5 0 015 8a1 1 0 00-2 0 7.001 7.001 0 006 6.93V17H6a1 1 0 100 2h8a1 1 0 100-2h-3v-2.07z",clipRule:"evenodd"}))})),St=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z",clipRule:"evenodd"}))})),Dt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z",clipRule:"evenodd"}))})),Wt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),_t=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"}))})),Pt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M18 3a1 1 0 00-1.196-.98l-10 2A1 1 0 006 5v9.114A4.369 4.369 0 005 14c-1.657 0-3 .895-3 2s1.343 2 3 2 3-.895 3-2V7.82l8-1.6v5.894A4.37 4.37 0 0015 12c-1.657 0-3 .895-3 2s1.343 2 3 2 3-.895 3-2V3z"}))})),Tt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2 5a2 2 0 012-2h8a2 2 0 012 2v10a2 2 0 002 2H4a2 2 0 01-2-2V5zm3 1h6v4H5V6zm6 6H5v2h6v-2z",clipRule:"evenodd"}),n.createElement("path",{d:"M15 7h1a2 2 0 012 2v5.5a1.5 1.5 0 01-3 0V7z"}))})),Ft=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z",clipRule:"evenodd"}))})),Nt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z"}))})),Ut=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M8 4a3 3 0 00-3 3v4a5 5 0 0010 0V7a1 1 0 112 0v4a7 7 0 11-14 0V7a5 5 0 0110 0v4a3 3 0 11-6 0V7a1 1 0 012 0v4a1 1 0 102 0V7a3 3 0 00-3-3z",clipRule:"evenodd"}))})),$t=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zM7 8a1 1 0 012 0v4a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v4a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))})),Kt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z"}),n.createElement("path",{fillRule:"evenodd",d:"M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z",clipRule:"evenodd"}))})),Gt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),qt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M14.414 7l3.293-3.293a1 1 0 00-1.414-1.414L13 5.586V4a1 1 0 10-2 0v4.003a.996.996 0 00.617.921A.997.997 0 0012 9h4a1 1 0 100-2h-1.586z"}),n.createElement("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"}))})),Qt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"}),n.createElement("path",{d:"M16.707 3.293a1 1 0 010 1.414L15.414 6l1.293 1.293a1 1 0 01-1.414 1.414L14 7.414l-1.293 1.293a1 1 0 11-1.414-1.414L12.586 6l-1.293-1.293a1 1 0 011.414-1.414L14 4.586l1.293-1.293a1 1 0 011.414 0z"}))})),Yt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M17.924 2.617a.997.997 0 00-.215-.322l-.004-.004A.997.997 0 0017 2h-4a1 1 0 100 2h1.586l-3.293 3.293a1 1 0 001.414 1.414L16 5.414V7a1 1 0 102 0V3a.997.997 0 00-.076-.383z"}),n.createElement("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"}))})),Xt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"}))})),Jt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm12 12H4l4-8 3 6 2-4 3 6z",clipRule:"evenodd"}))})),Zt=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z",clipRule:"evenodd"}))})),er=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"}))})),tr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"}))})),rr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),nr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 3a1 1 0 000 2v8a2 2 0 002 2h2.586l-1.293 1.293a1 1 0 101.414 1.414L10 15.414l2.293 2.293a1 1 0 001.414-1.414L12.414 15H15a2 2 0 002-2V5a1 1 0 100-2H3zm11 4a1 1 0 10-2 0v4a1 1 0 102 0V7zm-3 1a1 1 0 10-2 0v3a1 1 0 102 0V8zM8 9a1 1 0 00-2 0v2a1 1 0 102 0V9z",clipRule:"evenodd"}))})),ar=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 3a1 1 0 000 2v8a2 2 0 002 2h2.586l-1.293 1.293a1 1 0 101.414 1.414L10 15.414l2.293 2.293a1 1 0 001.414-1.414L12.414 15H15a2 2 0 002-2V5a1 1 0 100-2H3zm11.707 4.707a1 1 0 00-1.414-1.414L10 9.586 8.707 8.293a1 1 0 00-1.414 0l-2 2a1 1 0 101.414 1.414L8 10.414l1.293 1.293a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),or=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 4v3H4a2 2 0 00-2 2v3a2 2 0 002 2h1v2a2 2 0 002 2h6a2 2 0 002-2v-2h1a2 2 0 002-2V9a2 2 0 00-2-2h-1V4a2 2 0 00-2-2H7a2 2 0 00-2 2zm8 0H7v3h6V4zm0 8H7v4h6v-4z",clipRule:"evenodd"}))})),ir=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M10 3.5a1.5 1.5 0 013 0V4a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-.5a1.5 1.5 0 000 3h.5a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-.5a1.5 1.5 0 00-3 0v.5a1 1 0 01-1 1H6a1 1 0 01-1-1v-3a1 1 0 00-1-1h-.5a1.5 1.5 0 010-3H4a1 1 0 001-1V6a1 1 0 011-1h3a1 1 0 001-1v-.5z"}))})),lr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 4a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1H4a1 1 0 01-1-1V4zm2 2V5h1v1H5zM3 13a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1H4a1 1 0 01-1-1v-3zm2 2v-1h1v1H5zM13 3a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1V4a1 1 0 00-1-1h-3zm1 2v1h1V5h-1z",clipRule:"evenodd"}),n.createElement("path",{d:"M11 4a1 1 0 10-2 0v1a1 1 0 002 0V4zM10 7a1 1 0 011 1v1h2a1 1 0 110 2h-3a1 1 0 01-1-1V8a1 1 0 011-1zM16 9a1 1 0 100 2 1 1 0 000-2zM9 13a1 1 0 011-1h1a1 1 0 110 2v2a1 1 0 11-2 0v-3zM7 11a1 1 0 100-2H4a1 1 0 100 2h3zM17 13a1 1 0 01-1 1h-2a1 1 0 110-2h2a1 1 0 011 1zM16 17a1 1 0 100-2h-3a1 1 0 100 2h3z"}))})),sr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),dr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 2a2 2 0 00-2 2v14l3.5-2 3.5 2 3.5-2 3.5 2V4a2 2 0 00-2-2H5zm4.707 3.707a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L8.414 9H10a3 3 0 013 3v1a1 1 0 102 0v-1a5 5 0 00-5-5H8.414l1.293-1.293z",clipRule:"evenodd"}))})),cr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 2a2 2 0 00-2 2v14l3.5-2 3.5 2 3.5-2 3.5 2V4a2 2 0 00-2-2H5zm2.5 3a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm6.207.293a1 1 0 00-1.414 0l-6 6a1 1 0 101.414 1.414l6-6a1 1 0 000-1.414zM12.5 10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",clipRule:"evenodd"}))})),ur=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"}))})),hr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))})),fr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8.445 14.832A1 1 0 0010 14v-2.798l5.445 3.63A1 1 0 0017 14V6a1 1 0 00-1.555-.832L10 8.798V6a1 1 0 00-1.555-.832l-6 4a1 1 0 000 1.664l6 4z"}))})),wr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 3a1 1 0 000 2c5.523 0 10 4.477 10 10a1 1 0 102 0C17 8.373 11.627 3 5 3z"}),n.createElement("path",{d:"M4 9a1 1 0 011-1 7 7 0 017 7 1 1 0 11-2 0 5 5 0 00-5-5 1 1 0 01-1-1zM3 15a2 2 0 114 0 2 2 0 01-4 0z"}))})),vr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9.707 7.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L13 8.586V5h3a2 2 0 012 2v5a2 2 0 01-2 2H8a2 2 0 01-2-2V7a2 2 0 012-2h3v3.586L9.707 7.293zM11 3a1 1 0 112 0v2h-2V3z"}),n.createElement("path",{d:"M4 9a2 2 0 00-2 2v5a2 2 0 002 2h8a2 2 0 002-2H4V9z"}))})),pr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z"}))})),mr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 2a1 1 0 011 1v1.323l3.954 1.582 1.599-.8a1 1 0 01.894 1.79l-1.233.616 1.738 5.42a1 1 0 01-.285 1.05A3.989 3.989 0 0115 15a3.989 3.989 0 01-2.667-1.019 1 1 0 01-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 110 2H7a1 1 0 110-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 01-.285 1.05A3.989 3.989 0 015 15a3.989 3.989 0 01-2.667-1.019 1 1 0 01-.285-1.05l1.738-5.42-1.233-.617a1 1 0 01.894-1.788l1.599.799L9 4.323V3a1 1 0 011-1zm-5 8.274l-.818 2.552c.25.112.526.174.818.174.292 0 .569-.062.818-.174L5 10.274zm10 0l-.818 2.552c.25.112.526.174.818.174.292 0 .569-.062.818-.174L15 10.274z",clipRule:"evenodd"}))})),gr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.5 2a3.5 3.5 0 101.665 6.58L8.585 10l-1.42 1.42a3.5 3.5 0 101.414 1.414l8.128-8.127a1 1 0 00-1.414-1.414L10 8.586l-1.42-1.42A3.5 3.5 0 005.5 2zM4 5.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm0 9a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z",clipRule:"evenodd"}),n.createElement("path",{d:"M12.828 11.414a1 1 0 00-1.414 1.414l3.879 3.88a1 1 0 001.414-1.415l-3.879-3.879z"}))})),Er=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 9a2 2 0 114 0 2 2 0 01-4 0z"}),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a4 4 0 00-3.446 6.032l-2.261 2.26a1 1 0 101.414 1.415l2.261-2.261A4 4 0 1011 5z",clipRule:"evenodd"}))})),xr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),Mr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),kr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2 5a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H4a2 2 0 01-2-2V5zm14 1a1 1 0 11-2 0 1 1 0 012 0zM2 13a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H4a2 2 0 01-2-2v-2zm14 1a1 1 0 11-2 0 1 1 0 012 0z",clipRule:"evenodd"}))})),Rr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),br=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),Cr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 1.944A11.954 11.954 0 012.166 5C2.056 5.649 2 6.319 2 7c0 5.225 3.34 9.67 8 11.317C14.66 16.67 18 12.225 18 7c0-.682-.057-1.35-.166-2.001A11.954 11.954 0 0110 1.944zM11 14a1 1 0 11-2 0 1 1 0 012 0zm0-7a1 1 0 10-2 0v3a1 1 0 102 0V7z",clipRule:"evenodd"}))})),Lr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 2a4 4 0 00-4 4v1H5a1 1 0 00-.994.89l-1 9A1 1 0 004 18h12a1 1 0 00.994-1.11l-1-9A1 1 0 0015 7h-1V6a4 4 0 00-4-4zm2 5V6a2 2 0 10-4 0v1h4zm-6 3a1 1 0 112 0 1 1 0 01-2 0zm7-1a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"}))})),zr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),jr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3 3a1 1 0 000 2h11a1 1 0 100-2H3zM3 7a1 1 0 000 2h5a1 1 0 000-2H3zM3 11a1 1 0 100 2h4a1 1 0 100-2H3zM13 16a1 1 0 102 0v-5.586l1.293 1.293a1 1 0 001.414-1.414l-3-3a1 1 0 00-1.414 0l-3 3a1 1 0 101.414 1.414L13 10.414V16z"}))})),Or=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3 3a1 1 0 000 2h11a1 1 0 100-2H3zM3 7a1 1 0 000 2h7a1 1 0 100-2H3zM3 11a1 1 0 100 2h4a1 1 0 100-2H3zM15 8a1 1 0 10-2 0v5.586l-1.293-1.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L15 13.586V8z"}))})),Ir=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z",clipRule:"evenodd"}))})),Br=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 3a1 1 0 00-1.447-.894L8.763 6H5a3 3 0 000 6h.28l1.771 5.316A1 1 0 008 18h1a1 1 0 001-1v-4.382l6.553 3.276A1 1 0 0018 15V3z",clipRule:"evenodd"}))})),Vr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),Hr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3.707 2.293a1 1 0 00-1.414 1.414l6.921 6.922c.05.062.105.118.168.167l6.91 6.911a1 1 0 001.415-1.414l-.675-.675a9.001 9.001 0 00-.668-11.982A1 1 0 1014.95 5.05a7.002 7.002 0 01.657 9.143l-1.435-1.435a5.002 5.002 0 00-.636-6.294A1 1 0 0012.12 7.88c.924.923 1.12 2.3.587 3.415l-1.992-1.992a.922.922 0 00-.018-.018l-6.99-6.991zM3.238 8.187a1 1 0 00-1.933-.516c-.8 3-.025 6.336 2.331 8.693a1 1 0 001.414-1.415 6.997 6.997 0 01-1.812-6.762zM7.4 11.5a1 1 0 10-1.73 1c.214.371.48.72.795 1.035a1 1 0 001.414-1.414c-.191-.191-.35-.4-.478-.622z"}))})),Ar=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.05 3.636a1 1 0 010 1.414 7 7 0 000 9.9 1 1 0 11-1.414 1.414 9 9 0 010-12.728 1 1 0 011.414 0zm9.9 0a1 1 0 011.414 0 9 9 0 010 12.728 1 1 0 11-1.414-1.414 7 7 0 000-9.9 1 1 0 010-1.414zM7.879 6.464a1 1 0 010 1.414 3 3 0 000 4.243 1 1 0 11-1.415 1.414 5 5 0 010-7.07 1 1 0 011.415 0zm4.242 0a1 1 0 011.415 0 5 5 0 010 7.072 1 1 0 01-1.415-1.415 3 3 0 000-4.242 1 1 0 010-1.415zM10 9a1 1 0 011 1v.01a1 1 0 11-2 0V10a1 1 0 011-1z",clipRule:"evenodd"}))})),yr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8 7a1 1 0 00-1 1v4a1 1 0 001 1h4a1 1 0 001-1V8a1 1 0 00-1-1H8z",clipRule:"evenodd"}))})),Sr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z",clipRule:"evenodd"}))})),Dr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-2 0c0 .993-.241 1.929-.668 2.754l-1.524-1.525a3.997 3.997 0 00.078-2.183l1.562-1.562C15.802 8.249 16 9.1 16 10zm-5.165 3.913l1.58 1.58A5.98 5.98 0 0110 16a5.976 5.976 0 01-2.516-.552l1.562-1.562a4.006 4.006 0 001.789.027zm-4.677-2.796a4.002 4.002 0 01-.041-2.08l-.08.08-1.53-1.533A5.98 5.98 0 004 10c0 .954.223 1.856.619 2.657l1.54-1.54zm1.088-6.45A5.974 5.974 0 0110 4c.954 0 1.856.223 2.657.619l-1.54 1.54a4.002 4.002 0 00-2.346.033L7.246 4.668zM12 10a2 2 0 11-4 0 2 2 0 014 0z",clipRule:"evenodd"}))})),Wr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8 5a1 1 0 100 2h5.586l-1.293 1.293a1 1 0 001.414 1.414l3-3a1 1 0 000-1.414l-3-3a1 1 0 10-1.414 1.414L13.586 5H8zM12 15a1 1 0 100-2H6.414l1.293-1.293a1 1 0 10-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L6.414 15H12z"}))})),_r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 12a1 1 0 102 0V6.414l1.293 1.293a1 1 0 001.414-1.414l-3-3a1 1 0 00-1.414 0l-3 3a1 1 0 001.414 1.414L5 6.414V12zM15 8a1 1 0 10-2 0v5.586l-1.293-1.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L15 13.586V8z"}))})),Pr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 4a3 3 0 00-3 3v6a3 3 0 003 3h10a3 3 0 003-3V7a3 3 0 00-3-3H5zm-1 9v-1h5v2H5a1 1 0 01-1-1zm7 1h4a1 1 0 001-1v-1h-5v2zm0-4h5V8h-5v2zM9 8H4v2h5V8z",clipRule:"evenodd"}))})),Tr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),Fr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M3 4a1 1 0 011-1h12a1 1 0 011 1v2a1 1 0 01-1 1H4a1 1 0 01-1-1V4zM3 10a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6zM14 9a1 1 0 00-1 1v6a1 1 0 001 1h2a1 1 0 001-1v-6a1 1 0 00-1-1h-2z"}))})),Nr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M2 5a2 2 0 012-2h12a2 2 0 012 2v10a2 2 0 01-2 2H4a2 2 0 01-2-2V5zm3.293 1.293a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 01-1.414-1.414L7.586 10 5.293 7.707a1 1 0 010-1.414zM11 12a1 1 0 100 2h3a1 1 0 100-2h-3z",clipRule:"evenodd"}))})),Ur=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M18 9.5a1.5 1.5 0 11-3 0v-6a1.5 1.5 0 013 0v6zM14 9.667v-5.43a2 2 0 00-1.105-1.79l-.05-.025A4 4 0 0011.055 2H5.64a2 2 0 00-1.962 1.608l-1.2 6A2 2 0 004.44 12H8v4a2 2 0 002 2 1 1 0 001-1v-.667a4 4 0 01.8-2.4l1.4-1.866a4 4 0 00.8-2.4z"}))})),$r=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"}))})),Kr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 6a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 100 4v2a2 2 0 01-2 2H4a2 2 0 01-2-2v-2a2 2 0 100-4V6z"}))})),Gr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M7 2a1 1 0 011 1v1h3a1 1 0 110 2H9.578a18.87 18.87 0 01-1.724 4.78c.29.354.596.696.914 1.026a1 1 0 11-1.44 1.389c-.188-.196-.373-.396-.554-.6a19.098 19.098 0 01-3.107 3.567 1 1 0 01-1.334-1.49 17.087 17.087 0 003.13-3.733 18.992 18.992 0 01-1.487-2.494 1 1 0 111.79-.89c.234.47.489.928.764 1.372.417-.934.752-1.913.997-2.927H3a1 1 0 110-2h3V3a1 1 0 011-1zm6 6a1 1 0 01.894.553l2.991 5.982a.869.869 0 01.02.037l.99 1.98a1 1 0 11-1.79.895L15.383 16h-4.764l-.724 1.447a1 1 0 11-1.788-.894l.99-1.98.019-.038 2.99-5.982A1 1 0 0113 8zm-1.382 6h2.764L13 11.236 11.618 14z",clipRule:"evenodd"}))})),qr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))})),Qr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12 13a1 1 0 100 2h5a1 1 0 001-1V9a1 1 0 10-2 0v2.586l-4.293-4.293a1 1 0 00-1.414 0L8 9.586 3.707 5.293a1 1 0 00-1.414 1.414l5 5a1 1 0 001.414 0L11 9.414 14.586 13H12z",clipRule:"evenodd"}))})),Yr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0V8.414l-4.293 4.293a1 1 0 01-1.414 0L8 10.414l-4.293 4.293a1 1 0 01-1.414-1.414l5-5a1 1 0 011.414 0L11 10.586 14.586 7H12z",clipRule:"evenodd"}))})),Xr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM15 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z"}),n.createElement("path",{d:"M3 4a1 1 0 00-1 1v10a1 1 0 001 1h1.05a2.5 2.5 0 014.9 0H10a1 1 0 001-1V5a1 1 0 00-1-1H3zM14 7a1 1 0 00-1 1v6.05A2.5 2.5 0 0115.95 16H17a1 1 0 001-1v-5a1 1 0 00-.293-.707l-2-2A1 1 0 0015 7h-1z"}))})),Jr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),Zr=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z"}))})),en=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z",clipRule:"evenodd"}))})),tn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"}))})),rn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M11 6a3 3 0 11-6 0 3 3 0 016 0zM14 17a6 6 0 00-12 0h12zM13 8a1 1 0 100 2h4a1 1 0 100-2h-4z"}))})),nn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"}))})),an=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M9 6a3 3 0 11-6 0 3 3 0 016 0zM17 6a3 3 0 11-6 0 3 3 0 016 0zM12.93 17c.046-.327.07-.66.07-1a6.97 6.97 0 00-1.5-4.33A5 5 0 0119 16v1h-6.07zM6 11a5 5 0 015 5v1H1v-1a5 5 0 015-5z"}))})),on=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4.649 3.084A1 1 0 015.163 4.4 13.95 13.95 0 004 10c0 1.993.416 3.886 1.164 5.6a1 1 0 01-1.832.8A15.95 15.95 0 012 10c0-2.274.475-4.44 1.332-6.4a1 1 0 011.317-.516zM12.96 7a3 3 0 00-2.342 1.126l-.328.41-.111-.279A2 2 0 008.323 7H8a1 1 0 000 2h.323l.532 1.33-1.035 1.295a1 1 0 01-.781.375H7a1 1 0 100 2h.039a3 3 0 002.342-1.126l.328-.41.111.279A2 2 0 0011.677 14H12a1 1 0 100-2h-.323l-.532-1.33 1.035-1.295A1 1 0 0112.961 9H13a1 1 0 100-2h-.039zm1.874-2.6a1 1 0 011.833-.8A15.95 15.95 0 0118 10c0 2.274-.475 4.44-1.332 6.4a1 1 0 11-1.832-.8A13.949 13.949 0 0016 10c0-1.993-.416-3.886-1.165-5.6z",clipRule:"evenodd"}))})),ln=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z"}))})),sn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M2 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V4zM8 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1H9a1 1 0 01-1-1V4zM15 3a1 1 0 00-1 1v12a1 1 0 001 1h2a1 1 0 001-1V4a1 1 0 00-1-1h-2z"}))})),dn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 3a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2V5a2 2 0 00-2-2H5zM5 11a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2v-2a2 2 0 00-2-2H5zM11 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V5zM14 11a1 1 0 011 1v1h1a1 1 0 110 2h-1v1a1 1 0 11-2 0v-1h-1a1 1 0 110-2h1v-1a1 1 0 011-1z"}))})),cn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 3a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2V5a2 2 0 00-2-2H5zM5 11a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2v-2a2 2 0 00-2-2H5zM11 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V5zM11 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"}))})),un=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M3 4a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm0 4a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm0 4a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm0 4a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))})),hn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0 011.09-.217zM12.293 7.293a1 1 0 011.414 0L15 8.586l1.293-1.293a1 1 0 111.414 1.414L16.414 10l1.293 1.293a1 1 0 01-1.414 1.414L15 11.414l-1.293 1.293a1 1 0 01-1.414-1.414L13.586 10l-1.293-1.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),fn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0 011.09-.217zM14.657 2.929a1 1 0 011.414 0A9.972 9.972 0 0119 10a9.972 9.972 0 01-2.929 7.071 1 1 0 01-1.414-1.414A7.971 7.971 0 0017 10c0-2.21-.894-4.208-2.343-5.657a1 1 0 010-1.414zm-2.829 2.828a1 1 0 011.415 0A5.983 5.983 0 0115 10a5.984 5.984 0 01-1.757 4.243 1 1 0 01-1.415-1.415A3.984 3.984 0 0013 10a3.983 3.983 0 00-1.172-2.828 1 1 0 010-1.415z",clipRule:"evenodd"}))})),wn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M17.778 8.222c-4.296-4.296-11.26-4.296-15.556 0A1 1 0 01.808 6.808c5.076-5.077 13.308-5.077 18.384 0a1 1 0 01-1.414 1.414zM14.95 11.05a7 7 0 00-9.9 0 1 1 0 01-1.414-1.414 9 9 0 0112.728 0 1 1 0 01-1.414 1.414zM12.12 13.88a3 3 0 00-4.242 0 1 1 0 01-1.415-1.415 5 5 0 017.072 0 1 1 0 01-1.415 1.415zM9 16a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1z",clipRule:"evenodd"}))})),vn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))})),pn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),mn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{d:"M5 8a1 1 0 011-1h1V6a1 1 0 012 0v1h1a1 1 0 110 2H9v1a1 1 0 11-2 0V9H6a1 1 0 01-1-1z"}),n.createElement("path",{fillRule:"evenodd",d:"M2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8zm6-4a4 4 0 100 8 4 4 0 000-8z",clipRule:"evenodd"}))})),gn=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M5 8a1 1 0 011-1h4a1 1 0 110 2H6a1 1 0 01-1-1z",clipRule:"evenodd"}))}))}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FixedWidthContainer",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"HelpTextWrapper",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"ModeSwitcher",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"SnippetEditor",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"SnippetPreview",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getDescriptionProgress",{enumerable:!0,get:function(){return d.getDescriptionProgress}}),Object.defineProperty(e,"getTitleProgress",{enumerable:!0,get:function(){return d.getTitleProgress}}),Object.defineProperty(e,"lengthProgressShape",{enumerable:!0,get:function(){return s.lengthProgressShape}});var t=c(r(12330)),a=c(r(78854)),o=c(r(64475)),i=c(r(90695)),l=c(r(24861)),s=r(95157),d=r(76990);function c(e){return e&&e.__esModule?e:{default:e}}})(),(window.yoast=window.yoast||{}).searchMetadataPreviews=n})(); dist/externals/aiFrontend.js 0000644 00002625716 15174677550 0012207 0 ustar 00 (()=>{var e={5340:function(e,t,r){var n;n=()=>(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AIGenerator:()=>Ct,AiClient:()=>D,ClientError:()=>L,ConsentModal:()=>Vr,ConsentRevokeConfirmModal:()=>Wr,ConsentSavedNotification:()=>ft,ErrorCode:()=>C,ErrorModal:()=>Pr,FacebookDescriptionGenerator:()=>Bt,FacebookTitleGenerator:()=>Ot,GradientButton:()=>Je,IntroModal:()=>Br,MIN_CONTENT_CHARACTERS_DEFAULT:()=>et,MIN_CONTENT_CHARACTERS_IRREGULAR:()=>tt,MoreContentTipNotification:()=>ut,PartnerVerifiedAccessTokenProvider:()=>Y,ReuseValidJWTProvider:()=>ce,ReuseValidSessionJWTProvider:()=>ve,SearchDescriptionGenerator:()=>er,SearchTitleGenerator:()=>$t,SparksLimitReachedNotification:()=>mt,ToastContent:()=>gt,ToastSkeleton:()=>wt,UsageCounter:()=>Ye,XDescriptionGenerator:()=>Nt,XTitleGenerator:()=>Wt,apiBaseURL:()=>ge,createErrorMessageFactory:()=>Qe,getErrorMessageWithMarkup:()=>Xe,getRecommendedMinimumContentLength:()=>nt,withLocalStorage:()=>ht});var n={};e.r(n),e.d(n,{cb:()=>tr,qS:()=>rr,u3:()=>nr,rf:()=>ar,qi:()=>or,Uo:()=>lr,wc:()=>ir,kv:()=>sr,qZ:()=>cr,Qs:()=>dr,Pw:()=>ur,ib:()=>hr,ng:()=>pr,e0:()=>mr,Kk:()=>fr,z0:()=>wr,WP:()=>vr,CU:()=>gr,wm:()=>br,iW:()=>Er,WC:()=>xr,Yh:()=>yr,Sz:()=>kr,Tw:()=>Mr,yl:()=>Ir,jT:()=>Rr,J1:()=>Cr,Yp:()=>Ar,DD:()=>Lr,cP:()=>Zr,Mn:()=>jr,Ki:()=>Or,vR:()=>Hr,H1:()=>Sr});const a=r(99196);var o=e.n(a);const l=r(85890);var i=e.n(l);const s=r(94184);var c=e.n(s);const d=r(18594),u=r(56730);function h(e){return h="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},h(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function f(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}function v(e,t,r){return t=y(t),function(e,t){if(t&&("object"==h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,E()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}function b(e){var t="function"==typeof Map?new Map:void 0;return b=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(E())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&x(a,r.prototype),a}(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),x(r,e)},b(e)}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function k(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function M(e,t){return e.get(R(e,t))}function I(e,t,r){return e.set(R(e,t),r),r}function R(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var C=Object.freeze({FAILED_TO_LOGIN:Symbol("failed to login"),NETWORK_ERROR:Symbol("network error"),UNAUTHORIZED:Symbol("unauthorized"),AI_CONTENT_FILTER:Symbol("ai content filter"),MISSING_LICENSE:Symbol("missing license"),UNCATEGORIZED:Symbol("uncategorized"),CONSENT_REVOKED:Symbol("consent revoked"),RATE_LIMITED:Symbol("rate limited"),REQUEST_TIMEOUT:Symbol("request timeout")}),A=new WeakMap,L=function(e){function t(e,r){var n;return p(this,t),k(n=v(this,t,[e]),A,void 0),I(A,n,r),n}return g(t,e),f(t,[{key:"code",get:function(){return M(A,this)}}])}(b(Error)),Z=new WeakMap,j=function(e){function t(e,r){var n;return p(this,t),k(n=v(this,t,[e,C.MISSING_LICENSE]),Z,void 0),I(Z,n,Array.from(r||[])),n}return g(t,e),f(t,[{key:"missingLicenses",get:function(){return M(Z,this)}}])}(L);function O(e){return O="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},O(e)}function H(){H=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,l=Object.create(o.prototype),i=new Z(n||[]);return a(l,"_invoke",{value:R(e,r,i)}),l}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",f="completed",w={};function v(){}function g(){}function b(){}var E={};c(E,l,(function(){return this}));var x=Object.getPrototypeOf,y=x&&x(x(j([])));y&&y!==r&&n.call(y,l)&&(E=y);var k=b.prototype=v.prototype=Object.create(E);function M(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(a,o,l,i){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==O(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,l,i)}),(function(e){r("throw",e,l,i)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,i)}))}i(s.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return o=o?o.then(a,a):a()}})}function R(t,r,n){var a=h;return function(o,l){if(a===m)throw Error("Generator is already running");if(a===f){if("throw"===o)throw l;return{value:e,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var s=C(i,n);if(s){if(s===w)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var c=u(t,r,n);if("normal"===c.type){if(a=n.done?f:p,c.arg===w)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=f,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var o=u(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,w;var l=o.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(O(t)+" is not iterable")}return g.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},M(I.prototype),c(I.prototype,i,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var l=new I(d(e,r,n,a),o);return t.isGeneratorFunction(r)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},M(k),c(k,s,"Generator"),c(k,l,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,Z.prototype={constructor:Z,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return a("end");if(l.tryLoc<=this.prev){var s=n.call(l,"catchLoc"),c=n.call(l,"finallyLoc");if(s&&c){if(this.prev<l.catchLoc)return a(l.catchLoc,!0);if(this.prev<l.finallyLoc)return a(l.finallyLoc)}else if(s){if(this.prev<l.catchLoc)return a(l.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return a(l.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var l=o?o.completion:{};return l.type=e,l.arg=t,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),w}},t}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){W(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r,n,a,o,l){try{var i=e[o](l),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function V(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function l(e){_(o,n,a,l,i,"next",e)}function i(e){_(o,n,a,l,i,"throw",e)}l(void 0)}))}}function W(e,t,r){return(t=T(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}function P(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var N=new WeakSet,D=function(){return e=function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,N),W(this,"_accessTokenProvider",void 0),W(this,"_apiBase",void 0),W(this,"_logger",void 0),this._accessTokenProvider=t,this._apiBase=r.trim().replace(/\/*$/,""),this._logger=n||console},t=[{key:"getSuggestions",value:(l=V(H().mark((function e(t,r){var n,a,o,l,i,s;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(N,this,U).call(this);case 2:return a=e.sent,delete(l=B(B({},r),{},{focus_keyphrase:null==r?void 0:r.focusKeyphrase})).focusKeyphrase,e.prev=5,e.next=8,fetch("".concat(this._apiBase,"/v1/openai/suggestions/").concat(t),{method:"POST",headers:{Authorization:"Bearer ".concat(a),"Content-Type":"application/json"},body:JSON.stringify({service:"openai",subject:l}),signal:AbortSignal.timeout(3e4)});case 8:o=e.sent,e.next=17;break;case 11:if(e.prev=11,e.t0=e.catch(5),this._logger.error("Failed to get suggestions",e.t0),"TimeoutError"!==e.t0.name){e.next=16;break}throw new L("A timeout occurred",C.REQUEST_TIMEOUT);case 16:throw new L("Failed to get suggestions",C.NETWORK_ERROR);case 17:return e.next=19,o.clone().json().then((function(e){return e})).catch(V(H().mark((function e(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.text();case 2:return e.t0=e.sent,e.abrupt("return",{message:e.t0});case 4:case"end":return e.stop()}}),e)}))));case 19:if(i=e.sent,200!==o.status&&P(N,this,F).call(this,o,i),0!==(s=(null==i||null===(n=i.choices)||void 0===n?void 0:n.map((function(e){return e.text})))||[]).length){e.next=24;break}throw new L("No suggestions found",C.UNCATEGORIZED);case 24:return e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t){return l.apply(this,arguments)})},{key:"getUsage",value:(o=V(H().mark((function e(t){var r,n,a;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(N,this,U).call(this);case 2:return r=e.sent,e.prev=3,e.next=6,fetch("".concat(this._apiBase,"/v1/usage/").concat(t),{method:"GET",headers:{Authorization:"Bearer ".concat(r),"Content-Type":"application/json"},signal:AbortSignal.timeout(3e4)});case 6:n=e.sent,e.next=15;break;case 9:if(e.prev=9,e.t0=e.catch(3),this._logger.error("Failed to get the usage stats",e.t0),"TimeoutError"!==e.t0.name){e.next=14;break}throw new L("A timeout occurred",C.REQUEST_TIMEOUT);case 14:throw new L("Failed to get the usage stats",C.NETWORK_ERROR);case 15:return e.next=17,n.clone().json().then((function(e){return e})).catch(V(H().mark((function e(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.text();case 2:return e.t0=e.sent,e.abrupt("return",{message:e.t0});case 4:case"end":return e.stop()}}),e)}))));case 17:return a=e.sent,200!==n.status&&P(N,this,F).call(this,n,a),e.abrupt("return",a.totalUsed);case 20:case"end":return e.stop()}}),e,this,[[3,9]])}))),function(e){return o.apply(this,arguments)})},{key:"grantConsent",value:(a=V(H().mark((function e(){var t,r,n;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(N,this,U).call(this);case 2:return t=e.sent,e.prev=3,e.next=6,fetch("".concat(this._apiBase,"/v1/user/consent"),{method:"POST",headers:{Authorization:"Bearer ".concat(t)},signal:AbortSignal.timeout(3e4)});case 6:r=e.sent,e.next=15;break;case 9:if(e.prev=9,e.t0=e.catch(3),this._logger.error("Failed to grant user consent for using Yoast AI",e.t0),"TimeoutError"!==e.t0.name){e.next=14;break}throw new L("A timeout occurred",C.REQUEST_TIMEOUT);case 14:throw new L("Failed to grant user consent for using Yoast AI",C.NETWORK_ERROR);case 15:return e.next=17,r.clone().json().then((function(e){return e})).catch(V(H().mark((function e(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.text();case 2:return e.t0=e.sent,e.abrupt("return",{message:e.t0});case 4:case"end":return e.stop()}}),e)}))));case 17:n=e.sent,200!==r.status&&P(N,this,F).call(this,r,n);case 19:case"end":return e.stop()}}),e,this,[[3,9]])}))),function(){return a.apply(this,arguments)})},{key:"revokeConsent",value:(n=V(H().mark((function e(){var t,r,n;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(N,this,U).call(this);case 2:return t=e.sent,e.prev=3,e.next=6,fetch("".concat(this._apiBase,"/v1/user/consent"),{method:"DELETE",headers:{Authorization:"Bearer ".concat(t)},signal:AbortSignal.timeout(3e4)});case 6:r=e.sent,e.next=15;break;case 9:if(e.prev=9,e.t0=e.catch(3),this._logger.error("Failed to revoke user consent for using Yoast AI",e.t0),"TimeoutError"!==e.t0.name){e.next=14;break}throw new L("A timeout occurred",C.REQUEST_TIMEOUT);case 14:throw new L("Failed to revoke user consent for using Yoast AI",C.NETWORK_ERROR);case 15:return e.next=17,r.clone().json().then((function(e){return e})).catch(V(H().mark((function e(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.text();case 2:return e.t0=e.sent,e.abrupt("return",{message:e.t0});case 4:case"end":return e.stop()}}),e)}))));case 17:n=e.sent,200!==r.status&&P(N,this,F).call(this,r,n);case 19:case"end":return e.stop()}}),e,this,[[3,9]])}))),function(){return n.apply(this,arguments)})},{key:"getTokenAsPartner",value:(r=V(H().mark((function e(t){var r,n,a;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(this._apiBase,"/v1/token/request-as-partner"),{method:"POST",headers:{Authorization:"Bearer ".concat(t),"Content-Type":"application/json"},signal:AbortSignal.timeout(3e4)});case 3:n=e.sent,e.next=12;break;case 6:if(e.prev=6,e.t0=e.catch(0),console.error("Failed to get partner token",e.t0),"TimeoutError"!==e.t0.name){e.next=11;break}throw new L("A timeout occurred",C.REQUEST_TIMEOUT);case 11:throw new L("Failed to get access token",C.NETWORK_ERROR);case 12:return e.next=14,n.clone().json().then((function(e){return e})).catch(V(H().mark((function e(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.text();case 2:return e.t0=e.sent,e.abrupt("return",{message:e.t0});case 4:case"end":return e.stop()}}),e)}))));case 14:if(a=e.sent,408!==n.status){e.next=17;break}throw new L(a.message||"Request timeout",C.REQUEST_TIMEOUT);case 17:if(429!==n.status){e.next=19;break}throw new L(a.message||"Rate limited",C.RATE_LIMITED);case 19:if(200===n.status&&"string"==typeof(null===(r=a.tokens)||void 0===r?void 0:r.access_token)){e.next=21;break}throw new L("Failed to get access token",C.FAILED_TO_LOGIN);case 21:return e.abrupt("return",a.tokens.access_token.trim());case 22:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return r.apply(this,arguments)})}],t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,T(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r,n,a,o,l}();function U(){return K.apply(this,arguments)}function K(){return(K=V(H().mark((function e(){var t;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._accessTokenProvider.getAccessToken();case 3:if((t=e.sent)&&"string"==typeof t&&0!==t.trim().length){e.next=6;break}throw new Error("No access token provided");case 6:return e.abrupt("return",t);case 9:if(e.prev=9,e.t0=e.catch(0),this._logger.error("Failed to get YoastAI access token",e.t0),!(e.t0 instanceof L&&Object.values(C).includes(e.t0.code))){e.next=14;break}throw e.t0;case 14:throw new L("Failed to get YoastAI access token",C.FAILED_TO_LOGIN);case 15:case"end":return e.stop()}}),e,this,[[0,9]])})))).apply(this,arguments)}function F(e,t){var r=(null==t?void 0:t.message)||"Unknown error";switch(e.status){case 400:if("AI_CONTENT_FILTER"===t.error_code)throw new L(r,C.AI_CONTENT_FILTER);throw new L(r,C.UNCATEGORIZED);case 401:throw new L(r,C.UNAUTHORIZED);case 402:throw new j(r,t.missingLicenses);case 403:throw new L(r,C.CONSENT_REVOKED);case 408:throw new L(r,C.REQUEST_TIMEOUT);case 429:throw new L(r,C.RATE_LIMITED);default:throw new L(r,C.UNCATEGORIZED)}}function J(e){return J="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},J(e)}function G(){G=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,l=Object.create(o.prototype),i=new Z(n||[]);return a(l,"_invoke",{value:R(e,r,i)}),l}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",f="completed",w={};function v(){}function g(){}function b(){}var E={};c(E,l,(function(){return this}));var x=Object.getPrototypeOf,y=x&&x(x(j([])));y&&y!==r&&n.call(y,l)&&(E=y);var k=b.prototype=v.prototype=Object.create(E);function M(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(a,o,l,i){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==J(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,l,i)}),(function(e){r("throw",e,l,i)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,i)}))}i(s.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return o=o?o.then(a,a):a()}})}function R(t,r,n){var a=h;return function(o,l){if(a===m)throw Error("Generator is already running");if(a===f){if("throw"===o)throw l;return{value:e,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var s=C(i,n);if(s){if(s===w)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var c=u(t,r,n);if("normal"===c.type){if(a=n.done?f:p,c.arg===w)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=f,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var o=u(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,w;var l=o.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(J(t)+" is not iterable")}return g.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},M(I.prototype),c(I.prototype,i,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var l=new I(d(e,r,n,a),o);return t.isGeneratorFunction(r)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},M(k),c(k,s,"Generator"),c(k,l,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,Z.prototype={constructor:Z,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return a("end");if(l.tryLoc<=this.prev){var s=n.call(l,"catchLoc"),c=n.call(l,"finallyLoc");if(s&&c){if(this.prev<l.catchLoc)return a(l.catchLoc,!0);if(this.prev<l.finallyLoc)return a(l.finallyLoc)}else if(s){if(this.prev<l.catchLoc)return a(l.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return a(l.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var l=o?o.completion:{};return l.type=e,l.arg=t,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),w}},t}function $(e,t,r,n,a,o,l){try{var i=e[o](l),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function q(e,t,r){return(t=z(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){var t=function(e,t){if("object"!=J(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}var Y=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),q(this,"_partnerTokenProvider",void 0),q(this,"_aiClient",void 0),this._partnerTokenProvider=t,this._aiClient=new D(null,r)},t=[{key:"getAccessToken",value:function(){var e,t=(e=G().mark((function e(){var t;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._partnerTokenProvider.getAccessToken();case 2:return t=e.sent,e.abrupt("return",this._aiClient.getTokenAsPartner(t));case 4:case"end":return e.stop()}}),e,this)})),function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function l(e){$(o,n,a,l,i,"next",e)}function i(e){$(o,n,a,l,i,"throw",e)}l(void 0)}))});return function(){return t.apply(this,arguments)}}()}],t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,z(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();const X=r(45014);function Q(e){return Q="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},Q(e)}function ee(){ee=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,l=Object.create(o.prototype),i=new Z(n||[]);return a(l,"_invoke",{value:R(e,r,i)}),l}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",f="completed",w={};function v(){}function g(){}function b(){}var E={};c(E,l,(function(){return this}));var x=Object.getPrototypeOf,y=x&&x(x(j([])));y&&y!==r&&n.call(y,l)&&(E=y);var k=b.prototype=v.prototype=Object.create(E);function M(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(a,o,l,i){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==Q(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,l,i)}),(function(e){r("throw",e,l,i)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,i)}))}i(s.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return o=o?o.then(a,a):a()}})}function R(t,r,n){var a=h;return function(o,l){if(a===m)throw Error("Generator is already running");if(a===f){if("throw"===o)throw l;return{value:e,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var s=C(i,n);if(s){if(s===w)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var c=u(t,r,n);if("normal"===c.type){if(a=n.done?f:p,c.arg===w)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=f,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var o=u(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,w;var l=o.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(Q(t)+" is not iterable")}return g.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},M(I.prototype),c(I.prototype,i,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var l=new I(d(e,r,n,a),o);return t.isGeneratorFunction(r)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},M(k),c(k,s,"Generator"),c(k,l,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,Z.prototype={constructor:Z,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return a("end");if(l.tryLoc<=this.prev){var s=n.call(l,"catchLoc"),c=n.call(l,"finallyLoc");if(s&&c){if(this.prev<l.catchLoc)return a(l.catchLoc,!0);if(this.prev<l.finallyLoc)return a(l.finallyLoc)}else if(s){if(this.prev<l.catchLoc)return a(l.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return a(l.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var l=o?o.completion:{};return l.type=e,l.arg=t,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),w}},t}function te(e,t,r,n,a,o,l){try{var i=e[o](l),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function re(e){var t=function(e,t){if("object"!=Q(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=Q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Q(t)?t:t+""}function ne(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function ae(e,t){return e.get(le(e,t))}function oe(e,t,r){return e.set(le(e,t),r),r}function le(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var ie=new WeakMap,se=new WeakMap,ce=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ne(this,ie,void 0),ne(this,se,void 0),oe(ie,this,t),oe(se,this,"")},t=[{key:"getAccessToken",value:function(){var e,t=(e=ee().mark((function e(){var t;return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(ae(se,this)&&(null===(t=(0,X.decodeJwt)(ae(se,this)))||void 0===t?void 0:t.exp)>Date.now()/1e3)){e.next=3;break}return e.abrupt("return",ae(se,this));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:return e.t1=oe,e.t2=se,e.t3=this,e.next=12,ae(ie,this).getAccessToken();case 12:return e.t4=e.sent,(0,e.t1)(e.t2,e.t3,e.t4),e.abrupt("return",ae(se,this));case 15:case"end":return e.stop()}}),e,this,[[0,5]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function l(e){te(o,n,a,l,i,"next",e)}function i(e){te(o,n,a,l,i,"throw",e)}l(void 0)}))});return function(){return t.apply(this,arguments)}}()}],t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,re(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function de(e){return de="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},de(e)}function ue(){ue=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,l=Object.create(o.prototype),i=new Z(n||[]);return a(l,"_invoke",{value:R(e,r,i)}),l}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",f="completed",w={};function v(){}function g(){}function b(){}var E={};c(E,l,(function(){return this}));var x=Object.getPrototypeOf,y=x&&x(x(j([])));y&&y!==r&&n.call(y,l)&&(E=y);var k=b.prototype=v.prototype=Object.create(E);function M(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(a,o,l,i){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==de(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,l,i)}),(function(e){r("throw",e,l,i)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return r("throw",e,l,i)}))}i(s.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return o=o?o.then(a,a):a()}})}function R(t,r,n){var a=h;return function(o,l){if(a===m)throw Error("Generator is already running");if(a===f){if("throw"===o)throw l;return{value:e,done:!0}}for(n.method=o,n.arg=l;;){var i=n.delegate;if(i){var s=C(i,n);if(s){if(s===w)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var c=u(t,r,n);if("normal"===c.type){if(a=n.done?f:p,c.arg===w)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=f,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var o=u(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,w;var l=o.arg;return l?l.done?(r[t.resultName]=l.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(de(t)+" is not iterable")}return g.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},M(I.prototype),c(I.prototype,i,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var l=new I(d(e,r,n,a),o);return t.isGeneratorFunction(r)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},M(k),c(k,s,"Generator"),c(k,l,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,Z.prototype={constructor:Z,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return a("end");if(l.tryLoc<=this.prev){var s=n.call(l,"catchLoc"),c=n.call(l,"finallyLoc");if(s&&c){if(this.prev<l.catchLoc)return a(l.catchLoc,!0);if(this.prev<l.finallyLoc)return a(l.finallyLoc)}else if(s){if(this.prev<l.catchLoc)return a(l.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return a(l.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var l=o?o.completion:{};return l.type=e,l.arg=t,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),w}},t}function he(e,t,r,n,a,o,l){try{var i=e[o](l),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function pe(e){var t=function(e,t){if("object"!=de(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=de(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==de(t)?t:t+""}function me(e,t){return e.get(fe(e,t))}function fe(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var we=new WeakMap,ve=function(){return e=function e(t){var r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,void 0)}(this,we),n=t,(r=we).set(fe(r,this),n)},t=[{key:"getAccessToken",value:function(){var e,t=(e=ue().mark((function e(){var t,r,n;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=sessionStorage.getItem("yoast/ai-frontend/accessToken"),e.prev=1,!(t&&(null===(r=(0,X.decodeJwt)(t))||void 0===r?void 0:r.exp)>Date.now()/1e3)){e.next=4;break}return e.abrupt("return",t);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),sessionStorage.removeItem("yoast/ai-frontend/accessToken");case 9:return e.next=11,me(we,this).getAccessToken();case 11:n=e.sent;try{sessionStorage.setItem("yoast/ai-frontend/accessToken",n)}catch(e){}return e.abrupt("return",n);case 14:case"end":return e.stop()}}),e,this,[[1,6]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function l(e){he(o,n,a,l,i,"next",e)}function i(e){he(o,n,a,l,i,"throw",e)}l(void 0)}))});return function(){return t.apply(this,arguments)}}()}],t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,pe(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),ge={production:"https://ai.yoa.st/api",staging:"https://ai-staging.yoa.st/api"};const be=r(65736),Ee=r(69307),xe=r(92819);var ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,be._n)(e,t,r,"wordpress-seo-premium")},ke=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(0,xe.isArray)(r[0])&&(r=r[0]);for(var a=[],o={},l=0;l<r.length;l++)a.push("<el".concat(l,">")),a.push("</el".concat(l,">")),o["el".concat(l)]=r[l];return(0,Ee.createInterpolateElement)(be.sprintf.apply(void 0,[e].concat(a)),o)},Me="styles-module__altColors--o1t8E",Ie="styles-module__bad--_XMc7",Re="styles-module__desktopPreview--KClpl",Ce="styles-module__emptyCircle--nibrZ",Ae="styles-module__good--Ueni9",Le="styles-module__mainTitle--hcBkm",Ze="styles-module__mainTitleSkeleton--CSk1Z",je="styles-module__mockedSelector--_0Gy5",Oe="styles-module__ok--RvqJ4",He="styles-module__preview--AMJ8q",Se="styles-module__previewSection--dQI7h",Be="styles-module__progressBar--y7Coy",_e="styles-module__social--I2bZ1",Ve="styles-module__titleProgress--BlLuI";function We(e){return We="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},We(e)}function Te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pe(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 Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Ne(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=We(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=We(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==We(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var De=function(e){var t=e.id,r=e.value,n=e.onChange,l=e.selected,i=e.children,s=e.isLoading,u=(0,a.useCallback)((function(){n(r)}),[n,r]);return o().createElement("label",{htmlFor:t,className:c()("styles-module__row--ioJoB",Ne({},"styles-module__selectedOption--hcd4O",l&&!s)),"data-testid":t},!s&&o().createElement("div",null,o().createElement(d.Radio,{id:t,label:"",name:"radio",value:"".concat(r),onChange:u,checked:l})),o().createElement("div",{className:"styles-module__optionLabel--kZshU"},i))};De.propTypes={id:i().string.isRequired,value:i().oneOfType([i().string,i().number]).isRequired,isLoading:i().bool,selected:i().bool,children:i().node,onChange:i().func};var Ue=function(e){var t=e.options,r=e.onChange,n=void 0===r?xe.noop:r,l=e.isLoading,i=void 0!==l&&l,s=e.selected,c=void 0===s?null:s,u=e.pageSize,h=void 0===u?5:u,p=e.suggestionRenderer,m=void 0===p?xe.identity:p,f=Te((0,a.useState)(c),2),w=f[0],v=f[1],g=Te((0,a.useState)(1),2),b=g[0],E=g[1],x=Math.max(h,1),y=Math.ceil(t.length/x);(0,a.useEffect)((function(){v(c)}),[c]);var k,M,I=(0,a.useCallback)((function(e){v(e),n(t[e],e)}),[t,n,v]);return(0,a.useEffect)((function(){E(y)}),[t]),o().createElement(d.Root,null,o().createElement("form",{className:"styles-module__suggestionList--CVXuA"},(k=x*(b-1),!(M=t.slice(k,k+x)).length&&i&&(M=Array(x).fill(null)),M.map((function(e,t){var r=t+x*(b-1),n=w===r;return o().createElement(De,{key:"option-".concat(r),id:"option-".concat(r),value:r,selected:n,onChange:I,isLoading:i},i?o().createElement("div",{className:"styles-module__loadingMock--Mr6WN","data-testid":"loading-mock"},o().createElement(d.SkeletonLoader,{className:"yst-h-3 yst-w-3 yst-rounded-full"}),o().createElement(d.SkeletonLoader,{className:"styles-module__labelMock--NITYK"})):m(e))}))),t.length>x?o().createElement("div",{className:"styles-module__pagination--FYqPO"},o().createElement(d.Pagination,{current:b,onNavigate:E,screenReaderTextNext:"Next",screenReaderTextPrevious:"Previous",variant:"text",total:y,"data-testid":"pagination"})):null))};Ue.propTypes={options:i().array.isRequired,isLoading:i().bool,selected:i().number,pageSize:i().number,onChange:i().func,suggestionRenderer:i().func};var Ke=function(e){var t=e.pressed,r=void 0!==t&&t,n=e.className,a=void 0===n?"":n,l="gradient-".concat(Math.random().toString(36).substring(2,9));return o().createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,"data-testid":"SparklesIcon"},o().createElement("path",{d:"M3.33284 2.96991V5.63658M1.99951 4.30324H4.66618M3.99951 12.3032V14.9699M2.66618 13.6366H5.33284M8.66618 2.96991L10.19 7.54134L13.9995 8.96991L10.19 10.3985L8.66618 14.9699L7.14237 10.3985L3.33284 8.96991L7.14237 7.54134L8.66618 2.96991Z",strokeLinecap:"round",strokeLinejoin:"round",stroke:r?"white":"url(#".concat(l,")"),style:{strokeWidth:"1.33333px"}}),o().createElement("defs",null,o().createElement("linearGradient",{id:l,x1:"1.99951",y1:"2.96991",x2:"15.3308",y2:"4.69764",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{offset:"0%",stopColor:"#A61E69"}),o().createElement("stop",{offset:"100%",stopColor:"#6366F1"}))))};function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fe.apply(null,arguments)}Ke.propTypes={pressed:i().bool,className:i().string};var Je=function(e){var t=e.onClick,r=e.children,n=e.isLoading,a=void 0!==n&&n;return o().createElement(d.Root,null,o().createElement("div",{className:"styles-module__gradientBorderButton--gGjJv"},o().createElement(d.Button,Fe({isLoading:a,variant:"secondary",size:"small",onClick:t},e),o().createElement(Ke,null),r)))};function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Je.propTypes={onClick:i().func.isRequired,children:i().node.isRequired,isLoading:i().bool};var $e=function(e){var t=e.title,r=e.isLoading,n=void 0===r||r,l=e.options,i=void 0===l?[]:l,s=e.requestMoreOptions,c=void 0===s?xe.noop:s,u=e.onChange,h=void 0===u?xe.noop:u,p=e.suggestionRenderer,m=void 0===p?xe.identity:p,f=e.canRequestMoreOptions,w=void 0===f||f,v=e.pageSize,g=void 0===v?5:v,b=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return Ge(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ge(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)(null)),E=b[0],x=b[1],y=(0,a.useCallback)((function(e,t){x(t),h(e)}),[h,x]);return(0,a.useEffect)((function(){if(i.length>0){var e=i.length-g;i.length%g!=0&&(e=Math.max(0,i.length-i.length%g)),(null===E||E<e)&&(x(e),h(i[e]))}}),[i]),o().createElement(d.Root,null,o().createElement("div",{className:"styles-module__header--mjkFl"},o().createElement("div",null,t),i.length>0&&o().createElement(Je,{isLoading:n,onClick:c,"data-testid":"requestButton",disabled:!w},ye("Generate 5 more"))),o().createElement("div",{className:"styles-module__suggestions--sUYxk"},o().createElement(Ue,{isLoading:n,options:i,onChange:y,selected:E,pageSize:g,suggestionRenderer:m}),o().createElement("div",{className:"styles-module__suggestionsNote--P23gI"},i.length>0&&ye("Text generated by AI may be offensive or inaccurate."))))};function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}$e.propTypes={title:i().node.isRequired,isLoading:i().bool,options:i().arrayOf(i().string),requestMoreOptions:i().func,onChange:i().func};var ze=function(e){var t,r=e.isVisible,n=e.requests,l=void 0===n?0:n,i=e.limit,s=void 0===i?0:i,c=e.mentionResetInTooltip,u=void 0===c||c,h=e.children,p=Math.max(s-l,0);t=u?-1===s?(0,be.__)("You have unlimited sparks left this month.","wordpress-seo-premium"):ke(/* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ /* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ (0,be._n)("You have %1$s%2$s spark left this month.","You have %1$s%2$s sparks left this month.",p,"wordpress-seo-premium"),[o().createElement("span",{key:"requests"},p)]):-1===s?(0,be.__)("You have unlimited sparks left.","wordpress-seo-premium"):ke(/* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ /* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ (0,be._n)("You have %1$s%2$s spark left.","You have %1$s%2$s sparks left.",p,"wordpress-seo-premium"),[o().createElement("span",{key:"requests"},p)]);var m=(0,a.useMemo)((function(){var e=new Date,t=new Date;return t.setUTCDate(1),t.setUTCMonth(e.getUTCMonth()+1),t.setUTCDate(0),t.getUTCDate()-e.getUTCDate()}),[]),f=ke(/* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */ /* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */ (0,be._n)("The next reset is in %1$s%2$s day.","The next reset is in %1$s%2$s days.",m,"wordpress-seo-premium"),[o().createElement("span",{key:"daysLeft"},m)]);return r?o().createElement(d.Tooltip,{counts:l,className:"yst-leading-4 yst-max-w-none","date-testid":"tooltip"},t," ",u&&f,h&&o().createElement(o().Fragment,null,o().createElement("br",null),h)):null};ze.propTypes={isVisible:i().bool.isRequired,requests:i().number,limit:i().number,mentionResetInTooltip:i().bool,children:i().node};var Ye=function(e){var t=e.requests,r=void 0===t?0:t,n=e.limit,a=void 0===n?0:n,l=e.className,i=void 0===l?"":l,s=e.isSkeleton,c=void 0!==s&&s,u=e.mentionBetaInTooltip,h=void 0===u||u,p=e.mentionResetInTooltip,m=void 0===p||p,f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),5!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return qe(e,5);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qe(e,5):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.useToggleState)(!1)),w=f[0],v=f[3],g=f[4],b=-1===a?(0,be.__)("unlimited","wordpress-seo-premium"):a;return o().createElement(d.Root,{"data-testid":"UsageCounter",className:i},o().createElement(ze,{isVisible:w,requests:r,limit:a,mentionResetInTooltip:m},h&&(0,be.__)("While this feature is in beta, you have unlimited sparks.","wordpress-seo-premium")),c?o().createElement(d.SkeletonLoader,{className:"yst-ai-counter-badge__skeleton yst-badge yst-badge--info yst-badge--small yst-absolute yst-w-[65px] yst-h-[18px]"}):o().createElement(d.Badge,{"data-testid":"badge",className:"styles-module__badge--rMVjT",size:"small",onMouseEnter:v,onMouseLeave:g},o().createElement(Ke,{className:"styles-module__icon--y4uAf"}),o().createElement("span",{className:"styles-module__data--C2k4_"},r)," / ",b))};function Xe(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.contactSupport,a=void 0===n?"https://yoa.st/shopify-support":n,l=r.rateLimitHelpArticle,i=void 0===l?"https://yoa.st/ai-generator-rate-limit-help":l,s=r.aiUsagePolicy,c=void 0===s?"https://openai.com/policies/usage-policies":s,u=r.commonErrorsHelpArticle,h=void 0===u?"https://yoa.st/ai-common-errors":u,p=o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("Something went wrong")),o().createElement("p",{className:"yst-mt-2"},(0,Ee.createInterpolateElement)((0,be.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ ye("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s."),"<a1>","</a1>","<a2>","</a2>"),{a1:o().createElement(d.Link,{variant:"error",href:h}),a2:o().createElement(d.Link,{variant:"error",href:a})}))),m=o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("You've reached the Yoast AI rate limit")),o().createElement("p",{className:"yst-mt-2"},ke(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ ye("You might have reached your Yoast AI rate limit for a specific time frame or your sparks limit for this month. If you have reached your rate limit, please reduce the frequency of your requests to continue using Yoast AI features. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow."),o().createElement(d.Link,{variant:"error",href:i}," "))));if(!e.code)return e.message;switch(e.code){case C.AI_CONTENT_FILTER:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("Usage policy violation")),o().createElement("p",{className:"yst-mt-2"},(0,Ee.createInterpolateElement)((0,be.sprintf)( /* translators: %1$s, %2$s, %3$s, %4$s are anchor tags. * %5$s expands to OpenAI. */ ye("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s."),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:o().createElement(d.Link,{variant:"error",href:c}," "),a2:o().createElement(d.Link,{variant:"error",href:a}," ")})));case C.MISSING_LICENSE:return null!==(t=e.missingLicenses)&&void 0!==t&&t.length?o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("Subscription required")),o().createElement("p",{className:"yst-mt-2"},(0,be.sprintf)( /** * translators: * %1$s expands to a comma-separated list of all but the last product names that the user is missing a license for. * %3$s expands to the last product name that the user is missing a license for. */ ye("To access this feature, you need an active %2$s subscription. Please activate your subscription or get a new subscription. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.","To access this feature, you need active %1$s and %2$s subscriptions. Please activate your subscriptions or get new subscriptions. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.",e.missingLicenses.length),e.missingLicenses.slice(0,-1).join(", "),e.missingLicenses.slice(-1)[0]))):p;case C.RATE_LIMITED:return m;case C.REQUEST_TIMEOUT:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("Connection timeout")),o().createElement("p",{className:"yst-mt-2"},(0,Ee.createInterpolateElement)((0,be.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ ye("It seems that a connection timeout has occurred. Please check your internet connection and try again later. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s."),"<a1>","</a1>","<a2>","</a2>"),{a1:o().createElement(d.Link,{variant:"error",href:h}," "),a2:o().createElement(d.Link,{variant:"error",href:a}," ")})));case C.NETWORK_ERROR:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},ye("Connection timeout")),o().createElement("p",{className:"yst-mt-2"},ye("It seems that a connection timeout has occurred. Please check your internet connection and try again later.")));case C.CONSENT_REVOKED:case C.FAILED_TO_LOGIN:case C.UNCATEGORIZED:case C.UNAUTHORIZED:default:return p}}function Qe(e){return function(t){return Xe(t,e)}}Ye.propTypes={requests:i().number,limit:i().number,className:i().string,isSkeleton:i().bool,mentionBetaInTooltip:i().bool,mentionResetInTooltip:i().bool};var et=300,tt=150,rt=["suggestions/product-seo-title","suggestions/product-meta-description","suggestions/taxonomy-seo-title","suggestions/taxonomy-meta-description"],nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return rt.includes(e)?tt:et};const at=r(94333),ot=JSON.parse('{"UU":"@yoast/ai-frontend"}');var lt="styles-module__buttonGroup--BqLdI",it="styles-module__skeleton--u4mld",st="styles-module__skeletonLoaderButtons--HkdNq";function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ct.apply(null,arguments)}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ut=function(e){var t=e.content,r=e.recommendedMinimumContentLength,n=e.promptType,l=e.size,i=void 0===l?"large":l,s=e.isPermanentlyDismissed,c=void 0!==s&&s,u=e.onDismiss,h=void 0===u?xe.noop:u,p=e.onDismissPermanently,m=void 0===p?xe.noop:p,f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),4!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return dt(e,4);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dt(e,4):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.useToggleState)(!1)),w=f[0],v=f[3],g=null!=n&&n.includes("meta-description")/* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */?ye("%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.") /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */:ye("%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page."),b=(0,a.useCallback)((function(){v(),h()}),[]),E=(0,a.useCallback)((function(){v(),m()}),[]);return c||w||t.length>r?null:o().createElement(d.Notifications.Notification,{id:"ai-generator-content-tip",variant:"info",size:i,dismissScreenReaderLabel:ye("Dismiss")},ke(g,o().createElement("span",{className:"yst-font-medium yst-text-slate-800"})),o().createElement("div",{className:lt},o().createElement(d.Button,{type:"button",variant:"tertiary",onClick:E},ye("Don’t show again")),o().createElement(d.Button,{type:"button",variant:"tertiary",className:"yst-text-slate-800",onClick:b},ye("Dismiss"))))},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ot.UU+"/more-content-tip";return(0,at.createHigherOrderComponent)((function(t){return function(r){var n="dismissed"===localStorage.getItem(e),l=(0,a.useCallback)((function(){try{localStorage.setItem(e,"dismissed")}catch(e){console.error("Could not permanently dismiss the notification.",e)}}),[e]);return o().createElement(t,ct({},r,{isPermanentlyDismissed:n,onDismissPermanently:l}))}}),"MoreContentTipWithLocalStorage")};function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var mt=function(e){var t=e.used,r=e.limit,n=e.size,a=void 0===n?"large":n,l=e.className,i=void 0===l?"":l,s=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),5!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return pt(e,5);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(e,5):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.useToggleState)(!1)),c=s[0],u=s[3],h=s[4];(0,Ee.useEffect)((function(){t===r&&r>0&&u()}),[t,r,u]);var p=(0,be.sprintf)(/* translators: %s is the number of the sparks allowed. */ ye("You've used %s spark this month!","You've used %s sparks this month!",r),r);return c&&o().createElement(d.Notifications.Notification,{id:"ai-sparks-limit",variant:"info",size:a,dismissScreenReaderLabel:ye("Got it!"),className:i,title:p},o().createElement("p",null,ye("As long as this is a beta feature, you get unlimited sparks.")),o().createElement("div",{className:lt},o().createElement(d.Button,{type:"button",variant:"tertiary",onClick:h},ye("Got it!"))))},ft=function(e){var t=e.granted,r=e.size,n=void 0===r?"large":r,a=e.autoDismiss,l=void 0===a?5e3:a,i=e.className,s=void 0===i?"":i,c=ye(t?"You now have access to Yoast AI features.":"You've revoked your consent for Yoast AI.");return o().createElement(d.Notifications.Notification,{id:"ai-consent-saved",variant:"success",size:n,title:ye("Changes successfully saved!"),dismissScreenReaderLabel:ye("Dismiss"),className:s,autoDismiss:l},o().createElement("p",null,c))},wt=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:"styles-module__skeletonWrapperTop--TovVH"},o().createElement(d.SkeletonLoader,{className:it}),o().createElement("div",{className:"styles-module__skeletonLoaderWrapper--HI7Rm"},o().createElement(d.SkeletonLoader,{className:"styles-module__skeletonLoader1--acDyN"}),o().createElement(d.SkeletonLoader,{className:"styles-module__skeletonLoader2--f4AbH"}),o().createElement(d.SkeletonLoader,{className:"styles-module__skeletonLoader3--pI6W5"}),o().createElement(d.SkeletonLoader,{className:"styles-module__skeletonLoader4--l4uCY"})),o().createElement(d.SkeletonLoader,{className:it}),o().createElement(d.SkeletonLoader,{className:it})),o().createElement("div",{className:"styles-module__skeletonWrapperBottom--HMog6"},o().createElement(d.SkeletonLoader,{className:st}),o().createElement(d.SkeletonLoader,{className:st})))};const vt=r(51042);var gt=function(e){var t=e.title,r=e.badgeText,n=e.description,l=e.learnMoreLink,i=e.learnMoreLinkText,s=void 0===i?(0,be.__)("Learn more about AI Optimize","wordpress-seo-premium"):i,c=e.handleDismiss,u=e.dismissButtonText,h=void 0===u?(0,be.__)("Dismiss","wordpress-seo-premium"):u,p=e.handleApply,m=e.applyButtonContent,f=void 0===m?(0,be.__)("Apply","wordpress-seo-premium"):m,w=(0,a.useCallback)((function(){null==p||p()}),[p]),v=(0,a.useCallback)((function(){null==c||c()}),[c]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"styles-module__toastContentWrapper--e321x"},o().createElement("span",{className:"".concat("styles-module__logo--JhJ6O"," yst-shrink-0")}),o().createElement("div",{className:"styles-module__toastContentContainer--UNMow"},o().createElement("div",{className:"styles-module__toastContentContainerHeader--L5Dw3"},o().createElement(d.Toast.Title,{title:t}),r&&o().createElement(d.Badge,{variant:"info",className:"yst-font-semibold",size:"small"},r)),o().createElement(d.Toast.Description,{description:n}),l&&o().createElement(d.Link,{href:l,className:"styles-module__toastContentLink--cZjl1",style:{textDecoration:"none"},variant:"primary",target:"_blank",rel:"noopener noreferrer"},s,o().createElement(vt.ArrowLongRightIcon,{className:"styles-module__toastContentArrow--xnqYS"}))),o().createElement(d.Toast.Close,{dismissScreenReaderLabel:(0,be.__)("Dismiss notification","wordpress-seo-premium"),onClick:v})),o().createElement("div",{className:"styles-module__toastContentButtonsWrapper--YHI5c"},o().createElement(o().Fragment,null,o().createElement(d.Button,{type:"button",variant:"tertiary",size:"small",onClick:v},h),o().createElement(d.Button,{type:"button",variant:"primary",size:"small",className:"styles-module__toastContentApplyButton--SlRYX",onClick:w},"string"==typeof f?o().createElement(o().Fragment,null,o().createElement(vt.CheckIcon,{className:"styles-module__buttonIcon--v49u_"}),o().createElement("span",{className:"styles-module__buttonText--ec2s0"},f)):f))))};function bt(e){return bt="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},bt(e)}function Et(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=bt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=bt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e){return function(e){if(Array.isArray(e))return Mt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kt(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 yt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||kt(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 kt(e,t){if(e){if("string"==typeof e)return Mt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mt(e,t):void 0}}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}gt.propTypes={title:i().string,badgeText:i().string,description:i().string.isRequired,learnMoreLink:i().string,learnMoreLinkText:i().string,handleDismiss:i().func,dismissButtonText:i().string,handleApply:i().func,applyButtonContent:i().oneOfType([i().string,i().element])};var It=function(){return o().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2},o().createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))},Rt=(0,at.compose)([ht()])(ut),Ct=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.subject,l=e.header,i=void 0===l?xe.noop:l,s=e.onChange,h=void 0===s?xe.noop:s,p=e.onAccept,m=e.onClose,f=void 0===m?xe.noop:m,w=e.onRequestConsent,v=void 0===w?xe.noop:w,g=e.onUsageLimitUpdated,b=void 0===g?xe.noop:g,E=e.resultListLabel,x=e.applyLabel,y=e.modal,k=e.enrichSuggestions,M=void 0===k?xe.identity:k,I=e.suggestionRenderer,R=void 0===I?xe.identity:I,A=e.getErrorMessage,L=void 0===A?Xe:A,Z=e.aiModalHelperLink,j=void 0===Z?"https://yoa.st/ai-generator-help-button-modal":Z,O=e.enableMoreContentTip,H=void 0===O||O,S=yt((0,a.useState)([]),2),B=S[0],_=S[1],V=yt((0,a.useState)(null),2),W=V[0],T=V[1],P=yt((0,a.useState)(null),2),N=P[0],D=P[1],U=yt((0,a.useState)(0),2),K=U[0],F=U[1],J=yt((0,a.useState)(0),2),G=J[0],$=J[1],q=(0,a.useMemo)((function(){return M(B)}),[B,M]),z=nt("suggestions/".concat(r)),Y=(0,a.useRef)(!1),X=yt((0,a.useState)(!1),2),Q=X[0],ee=X[1],te=(null==W?void 0:W.code)!==C.AI_CONTENT_FILTER,re=(0,a.useCallback)((function(){t.getUsage((new Date).toISOString().slice(0,7)).then((function(e){$(e.license),F(e.limit),b&&b(e)})).catch((function(e){T(e)}))}),[t,$,F,T,b]),ne=(0,a.useCallback)((function(){Y.current||(Y.current=!0,ee(!0),T(null),t.getSuggestions(r,n).then((function(e){_([].concat(xt(B),xt(e)))})).catch((function(e){T(e),e.code===C.CONSENT_REVOKED&&v&&v()})).finally((function(){ee(!1),Y.current=!1,re()})))}),[B,t,r,n,ee,T,Y,re]);(0,a.useEffect)(ne,[]);var ae=(0,a.useCallback)((function(e){D(e),h(e)}),[]),oe=(0,a.useCallback)((function(){p(N)}),[N]),le=function(){var e=!W&&0===q.length,t=!W||(null==q?void 0:q.length)>0;return o().createElement("div",{className:"styles-module__aiGenerator--Q4G7H"},t&&i&&i(e),W&&o().createElement("div",{className:c()("styles-module__errorBanner--Aynek",Et({},"styles-module__fullError--eTOfR",!t))},o().createElement(d.Alert,{variant:"error"},L(W))),t&&o().createElement($e,{isLoading:Q,onChange:ae,options:q,requestMoreOptions:ne,title:e?o().createElement(d.SkeletonLoader,{className:"styles-module__paginationTitleSkeleton--ePjfS"}):o().createElement(o().Fragment,null,E),suggestionRenderer:R,canRequestMoreOptions:!W||te}))},ie=function(){var e=!W||(null==q?void 0:q.length)>0,t=W&&0===(null==q?void 0:q.length);return o().createElement("div",{className:"styles-module__buttonArea--I6ND0"},f&&f!==xe.noop&&o().createElement(d.Button,{variant:"secondary",onClick:f},ye("Close")),e&&o().createElement(d.Button,{variant:"primary",disabled:!N,"data-testid":"acceptButton",onClick:oe},o().createElement(It,null),x||ye("Apply")),t&&te&&o().createElement(d.Button,{variant:"primary","data-testid":"retryButton",onClick:ne},ye("Try again")))};return y?o().createElement(d.Root,null,o().createElement(d.Modal,{onClose:f,position:"center",isOpen:!0,className:"styles-module__modal--quowq"},o().createElement(d.Modal.Panel,{className:"styles-module__modalContainer--DyT0w"},o().createElement(d.Modal.Container,null,o().createElement(d.Modal.Title,null,0!==K&&o().createElement("div",{className:"styles-module__floatingCounter--KzR9L"},o().createElement(Ye,{limit:K,requests:G})),o().createElement("div",{className:"styles-module__modalTitle--LTCoD"},o().createElement("span",{className:"styles-module__logo--gDbXB"}),o().createElement("span",null,y.title),o().createElement(d.Link,{id:"ai-modal-learn-more",href:j,variant:"primary",className:"styles-module__learnMore--mrUIw",target:"_blank",rel:"noopener","aria-label":ye("Learn more about AI (Opens in a new browser tab)")},o().createElement(u.QuestionMarkCircleIcon,null)),o().createElement(d.Badge,null,"Beta"))),o().createElement(d.Modal.Container.Content,{className:"styles-module__modalContent--uxbqo"},o().createElement("div",{className:c()(Et({},"styles-module__fadeOut--O2ZCu",!W||q.length>0))},le())),o().createElement(d.Modal.Container.Footer,null,ie())),o().createElement(d.Notifications,null,o().createElement(mt,{used:G,limit:K}),H&&o().createElement(Rt,{content:n.content,recommendedMinimumContentLength:z}))))):o().createElement(d.Root,null,o().createElement("div",{className:"styles-module__generatorContainer--jWKDs"},le(),ie()))};Ct.propTypes={subject:i().shape({content:i().string.isRequired,focusKeyphrase:i().string.isRequired,language:i().string.isRequired,platform:i().string.isRequired}),suggestionPromptType:i().string,onClose:i().func,onChange:i().func,onRequestConsent:i().func,onUsageLimitUpdated:i().func,onAccept:i().func.isRequired,aiClient:i().instanceOf(D).isRequired,header:i().func,resultListLabel:i().string.isRequired,applyLabel:i().string,modal:i().shape({title:i().node.isRequired}),suggestionRenderer:i().func,getErrorMessage:i().func,aiModalHelperLink:i().string,enableMoreContentTip:i().bool};const At=r(88198);var Lt=function(){return o().createElement(d.Root,null,o().createElement(d.Card,{className:"styles-module__skeletonPreview--QYdU8","data-testid":"skeletonPreview"},o().createElement("div",{className:"styles-module__header--vHY_T"},o().createElement("div",{className:"styles-module__firstColumn--dorvx"},o().createElement(d.SkeletonLoader,null)),o().createElement("div",{className:"styles-module__secondColumn--m5oLy"},o().createElement(d.SkeletonLoader,null),o().createElement(d.SkeletonLoader,null))),o().createElement("div",{className:"styles-module__content--cEMcn"},o().createElement(d.SkeletonLoader,null),o().createElement(d.SkeletonLoader,null),o().createElement(d.SkeletonLoader,null))))};function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zt.apply(null,arguments)}function jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Ot=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.enrichSelectionForPreview,v=void 0===w?xe.identity:w,g=e.enrichSuggestions,b=void 0===g?xe.identity:g,E=e.suggestionRenderer,x=void 0===E?xe.identity:E,y=e.getErrorMessage,k=void 0===y?Xe:y,M=e.enableMoreContentTip,I=void 0===M||M,R=e.aiModalHelperLink,C=void 0===R?"https://yoa.st/ai-generator-help-button-modal":R;l.platform=l.platform||"Facebook";var A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return jt(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)("")),L=A[0],Z=A[1],j=(0,a.useMemo)((function(){return v(L)}),[L,v]),O=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Social preview")),o().createElement("div",{className:c()(Se,_e)},o().createElement("div",{className:He},e?o().createElement(Lt,null):o().createElement(At.FacebookPreview,Zt({},n,{title:j||n.title})))))}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:Z,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated social titles"),applyLabel:ye("Apply social title"),modal:f,header:O,enrichSuggestions:b,suggestionRenderer:x,getErrorMessage:k,enableMoreContentTip:I,aiModalHelperLink:C,onUsageLimitUpdated:m})};function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ht.apply(null,arguments)}function St(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Bt=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.enrichSelectionForPreview,v=void 0===w?xe.identity:w,g=e.enrichSuggestions,b=void 0===g?xe.identity:g,E=e.suggestionRenderer,x=void 0===E?xe.identity:E,y=e.getErrorMessage,k=void 0===y?Xe:y,M=e.enableMoreContentTip,I=void 0===M||M,R=e.aiModalHelperLink,C=void 0===R?"https://yoa.st/ai-generator-help-button-modal":R;l.platform=l.platform||"Facebook";var A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return St(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?St(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)("")),L=A[0],Z=A[1],j=(0,a.useMemo)((function(){return v(L)}),[L,v]),O=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Social preview")),o().createElement("div",{className:c()(Se,_e)},o().createElement("div",{className:He},e?o().createElement(Lt,null):o().createElement(At.FacebookPreview,Ht({},n,{description:j||n.description})))))}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:Z,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated social descriptions"),applyLabel:ye("Apply social description"),modal:f,header:O,enrichSuggestions:b,suggestionRenderer:x,getErrorMessage:k,enableMoreContentTip:I,aiModalHelperLink:C,onUsageLimitUpdated:m})};function _t(){return _t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_t.apply(null,arguments)}function Vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Wt=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.enrichSelectionForPreview,v=void 0===w?xe.identity:w,g=e.enrichSuggestions,b=void 0===g?xe.identity:g,E=e.suggestionRenderer,x=void 0===E?xe.identity:E,y=e.getErrorMessage,k=void 0===y?Xe:y,M=e.enableMoreContentTip,I=void 0===M||M,R=e.aiModalHelperLink,C=void 0===R?"https://yoa.st/ai-generator-help-button-modal":R;l.platform=l.platform||"Twitter";var A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return Vt(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vt(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)("")),L=A[0],Z=A[1],j=(0,a.useMemo)((function(){return v(L)}),[L,v]),O=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Social preview")),o().createElement("div",{className:c()(Se,_e)},o().createElement("div",{className:He},e?o().createElement(Lt,null):o().createElement(At.TwitterPreview,_t({},n,{title:j||n.title})))))}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:Z,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated social titles"),applyLabel:ye("Apply social title"),modal:f,header:O,enrichSuggestions:b,suggestionRenderer:x,getErrorMessage:k,enableMoreContentTip:I,aiModalHelperLink:C,onUsageLimitUpdated:m})};function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tt.apply(null,arguments)}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Nt=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.enrichSelectionForPreview,v=void 0===w?xe.identity:w,g=e.enrichSuggestions,b=void 0===g?xe.identity:g,E=e.suggestionRenderer,x=void 0===E?xe.identity:E,y=e.getErrorMessage,k=void 0===y?Xe:y,M=e.enableMoreContentTip,I=void 0===M||M,R=e.aiModalHelperLink,C=void 0===R?"https://yoa.st/ai-generator-help-button-modal":R;l.platform=l.platform||"Twitter";var A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return Pt(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pt(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,a.useState)("")),L=A[0],Z=A[1],j=(0,a.useMemo)((function(){return v(L)}),[L,v]),O=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Social preview")),o().createElement("div",{className:c()(Se,_e)},o().createElement("div",{className:He},e?o().createElement(Lt,null):o().createElement(At.TwitterPreview,Tt({},n,{description:j||n.description})))))}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:Z,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated social descriptions"),applyLabel:ye("Apply social description"),modal:f,header:O,enrichSuggestions:b,suggestionRenderer:x,getErrorMessage:k,enableMoreContentTip:I,aiModalHelperLink:C,onUsageLimitUpdated:m})};const Dt=r(65995);function Ut(e){return Ut="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},Ut(e)}function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kt.apply(null,arguments)}function Ft(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=Ut(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=Ut(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ut(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gt(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 Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var $t=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.defaultPreviewMode,v=void 0===w?"desktop":w,g=e.enrichSelectionForPreview,b=void 0===g?xe.identity:g,E=e.enrichSuggestions,x=void 0===E?xe.identity:E,y=e.suggestionRenderer,k=void 0===y?xe.identity:y,M=e.getErrorMessage,I=void 0===M?Xe:M,R=e.altColors,C=void 0!==R&&R,A=e.enableMoreContentTip,L=void 0===A||A,Z=e.aiModalHelperLink,j=void 0===Z?"https://yoa.st/ai-generator-help-button-modal":Z;l.platform=l.platform||"Google";var O=Jt((0,a.useState)(""),2),H=O[0],S=O[1],B=Jt((0,a.useState)(v),2),_=B[0],V=B[1],W=(0,a.useMemo)((function(){return b(H)}),[H,b]),T=(0,a.useMemo)((function(){return b(H,"lengthCalculation")}),[H,b]),P=(0,a.useMemo)((function(){return(0,Dt.getTitleProgress)(T)}),[T]),N=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Google preview"),e?o().createElement("span",{className:je},o().createElement("span",{className:Ce}),o().createElement(d.SkeletonLoader,null),o().createElement("span",{className:Ce}),o().createElement(d.SkeletonLoader,null)):o().createElement(d.RadioGroup,{id:"typeSelector",onChange:V,value:_,options:[{label:ye("Mobile result"),value:"mobile",screenReaderLabel:"mobile"},{label:ye("Desktop result"),value:"desktop",screenReaderLabel:"desktop"}]})),o().createElement("div",{className:Se},o().createElement("div",{className:He},e?o().createElement(Lt,null):(r=o().createElement(Dt.SnippetPreview,Kt({onMouseUp:xe.noop,mode:_},n,{title:W||n.title})),"desktop"===_?o().createElement("div",{className:Re},r):r))),!e&&o().createElement("div",{className:Ve},o().createElement("span",null,ye("SEO title width")),o().createElement(d.ProgressBar,Kt({},(t=P.score)>=7?{className:c()(Be,Ae,Ft({},Me,C)),"data-testid":"progress-good"}:t>=5?{className:c()(Be,Oe,Ft({},Me,C)),"data-testid":"progress-ok"}:{className:c()(Be,Ie,Ft({},Me,C)),"data-testid":"progress-bad"},{progress:P.actual,min:0,max:P.max}))));var t,r}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:S,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated SEO titles"),applyLabel:ye("Apply SEO title"),modal:f,header:N,enrichSuggestions:x,suggestionRenderer:k,getErrorMessage:I,enableMoreContentTip:L,aiModalHelperLink:j,onUsageLimitUpdated:m})};function qt(e){return qt="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},qt(e)}function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zt.apply(null,arguments)}function Yt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=qt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=qt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qt(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 Qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var er=function(e){var t=e.aiClient,r=e.suggestionPromptType,n=e.previewData,l=e.subject,i=e.onAccept,s=e.onClose,u=e.onRequestConsent,h=void 0===u?xe.noop:u,p=e.onUsageLimitUpdated,m=void 0===p?xe.noop:p,f=e.modal,w=e.defaultPreviewMode,v=void 0===w?"desktop":w,g=e.enrichSelectionForPreview,b=void 0===g?xe.identity:g,E=e.enrichSuggestions,x=void 0===E?xe.identity:E,y=e.suggestionRenderer,k=void 0===y?xe.identity:y,M=e.getErrorMessage,I=void 0===M?Xe:M,R=e.altColors,C=void 0!==R&&R,A=e.enableMoreContentTip,L=void 0===A||A,Z=e.aiModalHelperLink,j=void 0===Z?"https://yoa.st/ai-generator-help-button-modal":Z;l.platform=l.platform||"Google";var O=Xt((0,a.useState)(""),2),H=O[0],S=O[1],B=Xt((0,a.useState)(v),2),_=B[0],V=B[1],W=(0,a.useMemo)((function(){return b(H)}),[H,b]),T=(0,a.useMemo)((function(){return b(H,"lengthCalculation")}),[H,b]),P=(0,a.useMemo)((function(){return(0,Dt.getDescriptionProgress)(T,n.date||"",n.isCornerstone||!1,n.isTaxonomy||!1,l.language)}),[T,n.date,n.isCornerstone,n.isTaxonomy,l.language]),N=(0,a.useCallback)((function(e){return o().createElement(o().Fragment,null,o().createElement("span",{className:Le},e?o().createElement(d.SkeletonLoader,{className:Ze}):ye("Google preview"),e?o().createElement("span",{className:je},o().createElement("span",{className:Ce}),o().createElement(d.SkeletonLoader,null),o().createElement("span",{className:Ce}),o().createElement(d.SkeletonLoader,null)):o().createElement(d.RadioGroup,{id:"typeSelector",onChange:V,value:_,options:[{label:ye("Mobile result"),value:"mobile",screenReaderLabel:"mobile"},{label:ye("Desktop result"),value:"desktop",screenReaderLabel:"desktop"}]})),o().createElement("div",{className:Se},o().createElement("div",{className:He},e?o().createElement(Lt,null):(r=o().createElement(Dt.SnippetPreview,zt({onMouseUp:xe.noop,mode:_},n,{description:W||n.description})),"desktop"===_?o().createElement("div",{className:Re},r):r))),!e&&o().createElement("div",{className:Ve},o().createElement("span",null,ye("Description width")),o().createElement(d.ProgressBar,zt({},(t=P.score)>=7?{className:c()(Be,Ae,Yt({},Me,C)),"data-testid":"progress-good"}:t>=5?{className:c()(Be,Oe,Yt({},Me,C)),"data-testid":"progress-ok"}:{className:c()(Be,Ie,Yt({},Me,C)),"data-testid":"progress-bad"},{progress:P.actual,min:0,max:P.max}))));var t,r}));return o().createElement(Ct,{subject:l,suggestionPromptType:r,aiClient:t,onChange:S,onAccept:i,onClose:s,onRequestConsent:h,resultListLabel:ye("Generated meta descriptions"),applyLabel:ye("Apply meta description"),modal:f,header:N,enrichSuggestions:x,suggestionRenderer:k,getErrorMessage:I,enableMoreContentTip:L,aiModalHelperLink:j,onUsageLimitUpdated:m})},tr="styles-module__aiErrorModalLink--WHw0z",rr="styles-module__badge--anxyN",nr="styles-module__bigModal--xut4N",ar="styles-module__body--c3lMd",or="styles-module__buttonSection--fA_Lt",lr="styles-module__buttons--Synlt",ir="styles-module__byline--eXZ9f",sr="styles-module__checkbox--BNgin",cr="styles-module__consentModal--A_0w0",dr="styles-module__content--s8aPG",ur="styles-module__contentIcon--aE3SN",hr="styles-module__errorModalContentWrapper--c24iV",pr="styles-module__errorModalHeader--_cNpd",mr="styles-module__errorModalTitle--vms_Y",fr="styles-module__icon--ap2v5",wr="styles-module__image--EZwCo",vr="styles-module__introModal--rMyze",gr="styles-module__learnMoreLink--ZdsMp",br="styles-module__logo--cl0TH",Er="styles-module__main--KD5ki",xr="styles-module__mainContentHeader--b2brO",yr="styles-module__mainContentSection--DEAYV",kr="styles-module__mainContentText--dnFSm",Mr="styles-module__mainVideo--jjRHv",Ir="styles-module__modal--CWdoh",Rr="styles-module__modalContainer--RcX43",Cr="styles-module__prompt--KATqc",Ar="styles-module__questionMarkCircle--rbmIj",Lr="styles-module__title--upMch",Zr="styles-module__titleSection--uRoF8",jr="styles-module__top--Jckd_",Or="styles-module__video--QfVLI",Hr="styles-module__warningIconContainer--NcQlL",Sr="styles-module__warningPrompt--FUbHc",Br=function(e){var t=e.onAccept,r=e.onCancel,n=e.learnMoreLink,l=e.video,i=e.modal,s=void 0===i||i,h=e.contentText,p=e.title,m=e.subtitle,f=(0,a.useRef)(null),w=(0,a.useCallback)((function(){t(!0)}),[t]),v=h||ke("Boost your search and social appearance in seconds! Generate high-quality titles and descriptions for your products, pages, and blog posts directly within your editor. %1$sLearn more %3$s%4$s%2$s",[o().createElement("a",{key:"link",target:"_blank","aria-label":ye("Learn More"),href:n,className:gr,rel:"noreferrer"}),o().createElement(u.ArrowLongRightIcon,{className:ur,key:"icon"})]),g=function(){return o().createElement(d.Root,null,o().createElement("div",{className:vr},o().createElement("div",{className:jr}),o().createElement("div",{className:Mr},o().createElement("div",{className:Or},l),o().createElement("div",{className:rr},o().createElement(d.Badge,{variant:"info"},"Beta"))),o().createElement("div",{className:Zr},o().createElement("span",{className:br}),o().createElement("span",{className:ir},p||ye("New to Yoast SEO"))),o().createElement("div",{className:yr},o().createElement("h3",{className:xr},m||ye("Use AI to write your titles & descriptions")),o().createElement("div",{className:kr},v)),o().createElement("div",{className:or},o().createElement(d.Button,{"data-testid":"acceptButton",as:"button",className:Er,size:"extra-large",onClick:w,ref:f},ye("Got it!")))))};return s?o().createElement(d.Root,null,o().createElement(d.Modal,{onClose:r,className:Ir,isOpen:!0,initialFocus:f},o().createElement(d.Modal.Panel,{className:c()(Rr,nr)},g()))):o().createElement(d.Root,null,g())};function _r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Br.propTypes={onAccept:i().func.isRequired,onCancel:i().func.isRequired,learnMoreLink:i().string.isRequired,video:i().node.isRequired,modal:i().bool,contentText:i().node,title:i().string,subtitle:i().string};var Vr=function(e){var t=e.modal,r=void 0===t||t,n=e.onGrant,l=e.onClose,i=e.learnMoreLink,s=e.privacyPolicyLink,c=e.termsOfServiceLink,u=e.imageUrl,h=e.badgeText,p=e.title,m=e.consentText,f=e.contentText,w=e.isLoading,v=void 0!==w&&w,g=(0,a.useRef)(null),b=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],s=!0,c=!1;try{for(o=(r=r.call(e)).next,0;!(s=(n=o.call(r)).done)&&(i.push(n.value),2!==i.length);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e)||function(e,t){if(e){if("string"==typeof e)return _r(e,2);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_r(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.useToggleState)(!1)),E=b[0],x=b[1],y=m||ke("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.",[o().createElement("a",{key:"termsOfServiceLink",target:"_blank",rel:"noopener noreferrer","aria-label":ye("terms of service link"),href:c}),o().createElement("a",{key:"privacyLink",target:"_blank",rel:"noopener noreferrer","aria-label":ye("privacy policy link"),href:s})]),k=p||ye("Grant consent for Yoast AI"),M=f||ke("Enable AI-powered SEO! Use all AI Generate and Optimize features to boost your efficiency. Just give us the green light. %1$sLearn more →%2$s",[o().createElement("a",{href:i,"aria-label":ye("Learn more link"),key:"learnMoreLink",target:"_blank",rel:"noopener noreferrer",className:gr})]),I=ye("Grant consent"),R=ye("Close"),C=function(){return o().createElement(d.Root,null,o().createElement("div",{className:cr},o().createElement("div",{className:jr}),o().createElement("div",{className:dr},o().createElement("div",{className:wr},o().createElement("img",{src:u,alt:"",className:"yst-w-full"}),h&&o().createElement("div",{className:rr},o().createElement(d.Badge,null,h))),o().createElement("h3",{className:Lr},k),o().createElement("p",{className:"yst-text-slate-600 yst-text-sm yst-font-normal yst-mt-2 yst-px-4"},M),o().createElement(d.Checkbox,{id:"is-ai-consent-checkbox",label:y,onChange:x,checked:E,disabled:v,value:"true",className:sr,name:"is-ai-consent","data-testid":"acceptCheckbox"}),o().createElement("div",{className:lr},o().createElement(d.Button,{isLoading:v,variant:"primary",ref:g,size:"extra-large",onClick:n,disabled:!E,"data-testid":"acceptButton"},I),o().createElement(d.Button,{variant:"tertiary",size:"large",onClick:l,"data-testid":"closeButton"},R)))))};return r?o().createElement(d.Root,null,o().createElement(d.Modal,{isOpen:!0,onClose:l,className:Ir,initialFocus:g},o().createElement(d.Modal.Panel,{className:Rr},C()))):o().createElement(d.Root,null,C())};function Wr(e){var t=e.onConfirm,r=e.onClose,n=void 0===r?xe.noop:r,a=e.modal,l=void 0===a||a,i=e.isOpen,s=void 0===i||i,c=e.isLoading,u=void 0!==c&&c,h=ye("Revoke AI consent"),p=(0,be.sprintf)( // translators: %1$s is replaced by "Yoast". ye("By revoking your consent, you will no longer have access to %1$s AI features. Are you sure you want to revoke your consent?"),"Yoast"),m=ye("Yes, revoke consent"),f=ye("Close"),w=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:Sr},o().createElement("div",{className:ar},o().createElement("div",{className:Hr},o().createElement(vt.ExclamationTriangleIcon,{className:fr,"aria-hidden":"true"})),o().createElement("div",{className:Cr},o().createElement(d.Title,{size:"2"},h),o().createElement("p",{className:dr},p))),o().createElement("div",{className:or},o().createElement(d.Button,{variant:"error",isLoading:u,disabled:u,onClick:t},m),n&&n!==xe.noop&&o().createElement(d.Button,{variant:"secondary",onClick:n},f))))};return l?o().createElement(d.Root,null,o().createElement(d.Modal,{isOpen:s,onClose:n},o().createElement(d.Modal.Panel,null,w()))):o().createElement(d.Root,null,w())}function Tr(){return Tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tr.apply(null,arguments)}Vr.propTypes={onGrant:i().func.isRequired,onClose:i().func.isRequired,isLoading:i().bool,learnMoreLink:i().string.isRequired,privacyPolicyLink:i().string.isRequired,termsOfServiceLink:i().string.isRequired,imageUrl:i().string.isRequired,modal:i().bool,badgeText:i().string,title:i().string,consentText:i().string,contentText:i().string};var Pr=function(e){var t=e.modal,r=void 0===t||t,a=e.aiModalHelperLink,l=e.onClose,i=void 0===l?function(){}:l,s=e.title,c=e.badgeText,h=e.isOpen,p=void 0===h||h,m=e.children,f=s,w=(0,d.useSvgAria)(),v=(0,be.__)("Close modal","wordpress-seo-premium"),g=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:pr},o().createElement("span",{className:br}),o().createElement(d.Title,{className:mr,as:"h1",size:"2"},f),o().createElement(d.Link,{variant:"primary",id:"ai-optimize-modal-learn-more",className:tr,href:a,"aria-label":(0,be.__)("Learn more about AI (Opens in a new browser tab)","wordpress-seo-premium"),target:"_blank",rel:"noopener noreferrer"},o().createElement(u.QuestionMarkCircleIcon,Tr({},w,{className:Ar}))),o().createElement(d.Badge,{variant:"info"},c)),o().createElement("hr",{className:"yst-mt-6 yst--mx-6"}),o().createElement("div",{className:n.modalContent},o().createElement("div",{className:hr},m)))};return r?o().createElement(d.Root,null,o().createElement(d.Modal,{isOpen:p,onClose:i},o().createElement(d.Modal.Panel,{style:{maxWidth:"48rem"},className:n.errorModalPanel,closeButtonScreenReaderText:v},o().createElement(d.Modal.Container,null,o().createElement(d.Modal.Container.Header,null,g()))))):o().createElement(d.Root,null,g())};return Pr.propTypes={modal:i().bool,aiModalHelperLink:i().string.isRequired,title:i().string.isRequired,badgeText:i().string,isOpen:i().bool,onclose:i().func,children:i().node},t})(),e.exports=n()},8346:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}))}const o=n.forwardRef(a);e.exports=o},26765:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"}))}const o=n.forwardRef(a);e.exports=o},9260:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"}))}const o=n.forwardRef(a);e.exports=o},93858:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0-3-3m3 3 3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},64502:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},89398:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m6 4.125 2.25 2.25m0 0 2.25 2.25M12 13.875l2.25-2.25M12 13.875l-2.25 2.25M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},38324:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 12.75 3 3m0 0 3-3m-3 3v-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},7995:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"}))}const o=n.forwardRef(a);e.exports=o},27318:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 4.5-15 15m0 0h11.25m-11.25 0V8.25"}))}const o=n.forwardRef(a);e.exports=o},45315:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25"}))}const o=n.forwardRef(a);e.exports=o},35101:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 7.5h-.75A2.25 2.25 0 0 0 4.5 9.75v7.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25v-7.5a2.25 2.25 0 0 0-2.25-2.25h-.75m-6 3.75 3 3m0 0 3-3m-3 3V1.5m6 9h.75a2.25 2.25 0 0 1 2.25 2.25v7.5a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-.75"}))}const o=n.forwardRef(a);e.exports=o},37460:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 4.5 15 15m0 0V8.25m0 11.25H8.25"}))}const o=n.forwardRef(a);e.exports=o},73969:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"}))}const o=n.forwardRef(a);e.exports=o},1167:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},45862:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"}))}const o=n.forwardRef(a);e.exports=o},46955:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const o=n.forwardRef(a);e.exports=o},7045:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"}))}const o=n.forwardRef(a);e.exports=o},49641:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"}))}const o=n.forwardRef(a);e.exports=o},3097:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25 12 21m0 0-3.75-3.75M12 21V3"}))}const o=n.forwardRef(a);e.exports=o},17017:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"}))}const o=n.forwardRef(a);e.exports=o},88917:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))}const o=n.forwardRef(a);e.exports=o},86236:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75 12 3m0 0 3.75 3.75M12 3v18"}))}const o=n.forwardRef(a);e.exports=o},60098:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}const o=n.forwardRef(a);e.exports=o},16603:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3"}))}const o=n.forwardRef(a);e.exports=o},49488:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},78212:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))}const o=n.forwardRef(a);e.exports=o},16120:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const o=n.forwardRef(a);e.exports=o},22768:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}const o=n.forwardRef(a);e.exports=o},34529:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}const o=n.forwardRef(a);e.exports=o},33104:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m0 0 6.75-6.75M12 19.5l-6.75-6.75"}))}const o=n.forwardRef(a);e.exports=o},78331:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15m0 0 6.75 6.75M4.5 12l6.75-6.75"}))}const o=n.forwardRef(a);e.exports=o},90268:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12h15m0 0-6.75-6.75M19.5 12l-6.75 6.75"}))}const o=n.forwardRef(a);e.exports=o},93828:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19.5v-15m0 0-6.75 6.75M12 4.5l6.75 6.75"}))}const o=n.forwardRef(a);e.exports=o},81149:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const o=n.forwardRef(a);e.exports=o},5799:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6 9 12.75l4.286-4.286a11.948 11.948 0 0 1 4.306 6.43l.776 2.898m0 0 3.182-5.511m-3.182 5.51-5.511-3.181"}))}const o=n.forwardRef(a);e.exports=o},66879:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"}))}const o=n.forwardRef(a);e.exports=o},57365:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.49 12-3.75 3.75m0 0 3.75 3.75m-3.75-3.75h16.5V4.499"}))}const o=n.forwardRef(a);e.exports=o},40309:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.49 12 3.75 3.75m0 0-3.75 3.75m3.75-3.75H3.74V4.499"}))}const o=n.forwardRef(a);e.exports=o},51257:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 16.5-3.75 3.75m0 0L4.49 16.5m3.75 3.75V3.75h11.25"}))}const o=n.forwardRef(a);e.exports=o},99630:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.99 7.5 8.24 3.75m0 0L4.49 7.5m3.75-3.75v16.499h11.25"}))}const o=n.forwardRef(a);e.exports=o},42161:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 16.5 3.75 3.75m0 0 3.75-3.75m-3.75 3.75V3.75H4.49"}))}const o=n.forwardRef(a);e.exports=o},85755:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 7.5 3.75-3.75m0 0 3.75 3.75m-3.75-3.75v16.499H4.49"}))}const o=n.forwardRef(a);e.exports=o},12885:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.49 12 3.74 8.248m0 0 3.75-3.75m-3.75 3.75h16.5V19.5"}))}const o=n.forwardRef(a);e.exports=o},41764:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.49 12 3.75-3.751m0 0-3.75-3.75m3.75 3.75H3.74V19.5"}))}const o=n.forwardRef(a);e.exports=o},48878:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 11.25-3-3m0 0-3 3m3-3v7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},29447:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))}const o=n.forwardRef(a);e.exports=o},88885:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 19.5-15-15m0 0v11.25m0-11.25h11.25"}))}const o=n.forwardRef(a);e.exports=o},33330:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15"}))}const o=n.forwardRef(a);e.exports=o},81930:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 7.5h-.75A2.25 2.25 0 0 0 4.5 9.75v7.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25v-7.5a2.25 2.25 0 0 0-2.25-2.25h-.75m0-3-3-3m0 0-3 3m3-3v11.25m6-2.25h.75a2.25 2.25 0 0 1 2.25 2.25v7.5a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-.75"}))}const o=n.forwardRef(a);e.exports=o},23703:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 19.5 15-15m0 0H8.25m11.25 0v11.25"}))}const o=n.forwardRef(a);e.exports=o},92912:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"}))}const o=n.forwardRef(a);e.exports=o},36818:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15-6 6m0 0-6-6m6 6V9a6 6 0 0 1 12 0v3"}))}const o=n.forwardRef(a);e.exports=o},29589:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"}))}const o=n.forwardRef(a);e.exports=o},10416:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15 6-6m0 0-6-6m6 6H9a6 6 0 0 0 0 12h3"}))}const o=n.forwardRef(a);e.exports=o},57025:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 9 6-6m0 0 6 6m-6-6v12a6 6 0 0 1-12 0v-3"}))}const o=n.forwardRef(a);e.exports=o},97537:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"}))}const o=n.forwardRef(a);e.exports=o},66351:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"}))}const o=n.forwardRef(a);e.exports=o},20839:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"}))}const o=n.forwardRef(a);e.exports=o},40067:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"}))}const o=n.forwardRef(a);e.exports=o},54036:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 1 0-2.636 6.364M16.5 12V8.25"}))}const o=n.forwardRef(a);e.exports=o},92279:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9.75 14.25 12m0 0 2.25 2.25M14.25 12l2.25-2.25M14.25 12 12 14.25m-2.58 4.92-6.374-6.375a1.125 1.125 0 0 1 0-1.59L9.42 4.83c.21-.211.497-.33.795-.33H19.5a2.25 2.25 0 0 1 2.25 2.25v10.5a2.25 2.25 0 0 1-2.25 2.25h-9.284c-.298 0-.585-.119-.795-.33Z"}))}const o=n.forwardRef(a);e.exports=o},21518:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061A1.125 1.125 0 0 1 21 8.689v8.122ZM11.25 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061a1.125 1.125 0 0 1 1.683.977v8.122Z"}))}const o=n.forwardRef(a);e.exports=o},98405:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"}))}const o=n.forwardRef(a);e.exports=o},93856:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9h16.5m-16.5 6.75h16.5"}))}const o=n.forwardRef(a);e.exports=o},75724:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const o=n.forwardRef(a);e.exports=o},21563:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5M12 17.25h8.25"}))}const o=n.forwardRef(a);e.exports=o},59007:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12H12m-8.25 5.25h16.5"}))}const o=n.forwardRef(a);e.exports=o},18510:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const o=n.forwardRef(a);e.exports=o},3654:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 5.25h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5"}))}const o=n.forwardRef(a);e.exports=o},47444:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"}))}const o=n.forwardRef(a);e.exports=o},1842:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12"}))}const o=n.forwardRef(a);e.exports=o},15581:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const o=n.forwardRef(a);e.exports=o},88866:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M4.5 10.5H18V15H4.5v-4.5ZM3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const o=n.forwardRef(a);e.exports=o},63728:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M4.5 10.5h6.75V15H4.5v-4.5ZM3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const o=n.forwardRef(a);e.exports=o},60489:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 3.104v5.714a2.25 2.25 0 0 1-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 0 1 4.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0 1 12 15a9.065 9.065 0 0 0-6.23-.693L5 14.5m14.8.8 1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0 1 12 21c-2.773 0-5.491-.235-8.135-.687-1.718-.293-2.3-2.379-1.067-3.61L5 14.5"}))}const o=n.forwardRef(a);e.exports=o},89947:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M3.124 7.5A8.969 8.969 0 0 1 5.292 3m13.416 0a8.969 8.969 0 0 1 2.168 4.5"}))}const o=n.forwardRef(a);e.exports=o},94115:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"}))}const o=n.forwardRef(a);e.exports=o},56061:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.143 17.082a24.248 24.248 0 0 0 3.844.148m-3.844-.148a23.856 23.856 0 0 1-5.455-1.31 8.964 8.964 0 0 0 2.3-5.542m3.155 6.852a3 3 0 0 0 5.667 1.97m1.965-2.277L21 21m-4.225-4.225a23.81 23.81 0 0 0 3.536-1.003A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6.53 6.53m10.245 10.245L6.53 6.53M3 3l3.53 3.53"}))}const o=n.forwardRef(a);e.exports=o},43015:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M10.5 8.25h3l-3 4.5h3"}))}const o=n.forwardRef(a);e.exports=o},37236:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinejoin:"round",d:"M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z"}))}const o=n.forwardRef(a);e.exports=o},53016:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))}const o=n.forwardRef(a);e.exports=o},27954:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.412 15.655 9.75 21.75l3.745-4.012M9.257 13.5H3.75l2.659-2.849m2.048-2.194L14.25 2.25 12 10.5h8.25l-4.707 5.043M8.457 8.457 3 3m5.457 5.457 7.086 7.086m0 0L21 21"}))}const o=n.forwardRef(a);e.exports=o},70594:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"}))}const o=n.forwardRef(a);e.exports=o},63977:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z"}))}const o=n.forwardRef(a);e.exports=o},64136:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3 3 1.664 1.664M21 21l-1.5-1.5m-5.485-1.242L12 17.25 4.5 21V8.742m.164-4.078a2.15 2.15 0 0 1 1.743-1.342 48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185V19.5M4.664 4.664 19.5 19.5"}))}const o=n.forwardRef(a);e.exports=o},79418:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0 1 20.25 6v12A2.25 2.25 0 0 1 18 20.25H6A2.25 2.25 0 0 1 3.75 18V6A2.25 2.25 0 0 1 6 3.75h1.5m9 0h-9"}))}const o=n.forwardRef(a);e.exports=o},49137:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 14.15v4.25c0 1.094-.787 2.036-1.872 2.18-2.087.277-4.216.42-6.378.42s-4.291-.143-6.378-.42c-1.085-.144-1.872-1.086-1.872-2.18v-4.25m16.5 0a2.18 2.18 0 0 0 .75-1.661V8.706c0-1.081-.768-2.015-1.837-2.175a48.114 48.114 0 0 0-3.413-.387m4.5 8.006c-.194.165-.42.295-.673.38A23.978 23.978 0 0 1 12 15.75c-2.648 0-5.195-.429-7.577-1.22a2.016 2.016 0 0 1-.673-.38m0 0A2.18 2.18 0 0 1 3 12.489V8.706c0-1.081.768-2.015 1.837-2.175a48.111 48.111 0 0 1 3.413-.387m7.5 0V5.25A2.25 2.25 0 0 0 13.5 3h-3a2.25 2.25 0 0 0-2.25 2.25v.894m7.5 0a48.667 48.667 0 0 0-7.5 0M12 12.75h.008v.008H12v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},62824:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 12.75c1.148 0 2.278.08 3.383.237 1.037.146 1.866.966 1.866 2.013 0 3.728-2.35 6.75-5.25 6.75S6.75 18.728 6.75 15c0-1.046.83-1.867 1.866-2.013A24.204 24.204 0 0 1 12 12.75Zm0 0c2.883 0 5.647.508 8.207 1.44a23.91 23.91 0 0 1-1.152 6.06M12 12.75c-2.883 0-5.647.508-8.208 1.44.125 2.104.52 4.136 1.153 6.06M12 12.75a2.25 2.25 0 0 0 2.248-2.354M12 12.75a2.25 2.25 0 0 1-2.248-2.354M12 8.25c.995 0 1.971-.08 2.922-.236.403-.066.74-.358.795-.762a3.778 3.778 0 0 0-.399-2.25M12 8.25c-.995 0-1.97-.08-2.922-.236-.402-.066-.74-.358-.795-.762a3.734 3.734 0 0 1 .4-2.253M12 8.25a2.25 2.25 0 0 0-2.248 2.146M12 8.25a2.25 2.25 0 0 1 2.248 2.146M8.683 5a6.032 6.032 0 0 1-1.155-1.002c.07-.63.27-1.222.574-1.747m.581 2.749A3.75 3.75 0 0 1 15.318 5m0 0c.427-.283.815-.62 1.155-.999a4.471 4.471 0 0 0-.575-1.752M4.921 6a24.048 24.048 0 0 0-.392 3.314c1.668.546 3.416.914 5.223 1.082M19.08 6c.205 1.08.337 2.187.392 3.314a23.882 23.882 0 0 1-5.223 1.082"}))}const o=n.forwardRef(a);e.exports=o},90403:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21v-8.25M15.75 21v-8.25M8.25 21v-8.25M3 9l9-6 9 6m-1.5 12V10.332A48.36 48.36 0 0 0 12 9.75c-2.551 0-5.056.2-7.5.582V21M3 21h18M12 6.75h.008v.008H12V6.75Z"}))}const o=n.forwardRef(a);e.exports=o},18249:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},37105:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"}))}const o=n.forwardRef(a);e.exports=o},92855:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))}const o=n.forwardRef(a);e.exports=o},13416:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871c1.355 0 2.697.056 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75-1.5.75a3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0L3 16.5m15-3.379a48.474 48.474 0 0 0-6-.371c-2.032 0-4.034.126-6 .371m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 0 1 6 13.12M12.265 3.11a.375.375 0 1 1-.53 0L12 2.845l.265.265Zm-3 0a.375.375 0 1 1-.53 0L9 2.845l.265.265Zm6 0a.375.375 0 1 1-.53 0L15 2.845l.265.265Z"}))}const o=n.forwardRef(a);e.exports=o},45842:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},51471:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 2.994v2.25m10.5-2.25v2.25m-14.252 13.5V7.491a2.25 2.25 0 0 1 2.25-2.25h13.5a2.25 2.25 0 0 1 2.25 2.25v11.251m-18 0a2.25 2.25 0 0 0 2.25 2.25h13.5a2.25 2.25 0 0 0 2.25-2.25m-18 0v-7.5a2.25 2.25 0 0 1 2.25-2.25h13.5a2.25 2.25 0 0 1 2.25 2.25v7.5m-6.75-6h2.25m-9 2.25h4.5m.002-2.25h.005v.006H12v-.006Zm-.001 4.5h.006v.006h-.006v-.005Zm-2.25.001h.005v.006H9.75v-.006Zm-2.25 0h.005v.005h-.006v-.005Zm6.75-2.247h.005v.005h-.005v-.005Zm0 2.247h.006v.006h-.006v-.006Zm2.25-2.248h.006V15H16.5v-.005Z"}))}const o=n.forwardRef(a);e.exports=o},24627:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))}const o=n.forwardRef(a);e.exports=o},29455:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))}const o=n.forwardRef(a);e.exports=o},48613:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z"}))}const o=n.forwardRef(a);e.exports=o},42801:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"}))}const o=n.forwardRef(a);e.exports=o},13840:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))}const o=n.forwardRef(a);e.exports=o},67863:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"}))}const o=n.forwardRef(a);e.exports=o},39932:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const o=n.forwardRef(a);e.exports=o},90529:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 0 1 .865-.501 48.172 48.172 0 0 0 3.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const o=n.forwardRef(a);e.exports=o},2041:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const o=n.forwardRef(a);e.exports=o},61352:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const o=n.forwardRef(a);e.exports=o},53211:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"}))}const o=n.forwardRef(a);e.exports=o},74656:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"}))}const o=n.forwardRef(a);e.exports=o},11696:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25S3 7.444 3 12c0 2.104.859 4.023 2.273 5.48.432.447.74 1.04.586 1.641a4.483 4.483 0 0 1-.923 1.785A5.969 5.969 0 0 0 6 21c1.282 0 2.47-.402 3.445-1.087.81.22 1.668.337 2.555.337Z"}))}const o=n.forwardRef(a);e.exports=o},49057:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"}))}const o=n.forwardRef(a);e.exports=o},37786:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},41555:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}const o=n.forwardRef(a);e.exports=o},58037:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 5.25 7.5 7.5 7.5-7.5m-15 6 7.5 7.5 7.5-7.5"}))}const o=n.forwardRef(a);e.exports=o},35261:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"}))}const o=n.forwardRef(a);e.exports=o},17163:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"}))}const o=n.forwardRef(a);e.exports=o},2188:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 18.75 7.5-7.5 7.5 7.5"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 7.5-7.5 7.5 7.5"}))}const o=n.forwardRef(a);e.exports=o},12119:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}const o=n.forwardRef(a);e.exports=o},54070:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))}const o=n.forwardRef(a);e.exports=o},50971:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const o=n.forwardRef(a);e.exports=o},88169:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"}))}const o=n.forwardRef(a);e.exports=o},93237:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))}const o=n.forwardRef(a);e.exports=o},71013:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))}const o=n.forwardRef(a);e.exports=o},98394:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"}))}const o=n.forwardRef(a);e.exports=o},47479:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},43768:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"}))}const o=n.forwardRef(a);e.exports=o},86322:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"}))}const o=n.forwardRef(a);e.exports=o},24056:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},75713:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9.75v6.75m0 0-3-3m3 3 3-3m-8.25 6a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const o=n.forwardRef(a);e.exports=o},58078:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const o=n.forwardRef(a);e.exports=o},4677:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15a4.5 4.5 0 0 0 4.5 4.5H18a3.75 3.75 0 0 0 1.332-7.257 3 3 0 0 0-3.758-3.848 5.25 5.25 0 0 0-10.233 2.33A4.502 4.502 0 0 0 2.25 15Z"}))}const o=n.forwardRef(a);e.exports=o},3769:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}))}const o=n.forwardRef(a);e.exports=o},32799:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75 16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))}const o=n.forwardRef(a);e.exports=o},39240:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o=n.forwardRef(a);e.exports=o},39195:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o=n.forwardRef(a);e.exports=o},82882:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}const o=n.forwardRef(a);e.exports=o},83243:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},48651:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"}))}const o=n.forwardRef(a);e.exports=o},63947:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))}const o=n.forwardRef(a);e.exports=o},18963:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const o=n.forwardRef(a);e.exports=o},90426:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))}const o=n.forwardRef(a);e.exports=o},69204:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"}))}const o=n.forwardRef(a);e.exports=o},34004:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 7.5.415-.207a.75.75 0 0 1 1.085.67V10.5m0 0h6m-6 0h-1.5m1.5 0v5.438c0 .354.161.697.473.865a3.751 3.751 0 0 0 5.452-2.553c.083-.409-.263-.75-.68-.75h-.745M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},79588:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},11239:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 7.756a4.5 4.5 0 1 0 0 8.488M7.5 10.5h5.25m-5.25 3h5.25M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},39311:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.121 7.629A3 3 0 0 0 9.017 9.43c-.023.212-.002.425.028.636l.506 3.541a4.5 4.5 0 0 1-.43 2.65L9 16.5l1.539-.513a2.25 2.25 0 0 1 1.422 0l.655.218a2.25 2.25 0 0 0 1.718-.122L15 15.75M8.25 12H12m9 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},1391:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 8.25H9m6 3H9m3 6-3-3h1.5a3 3 0 1 0 0-6M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},35954:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 7.5 3 4.5m0 0 3-4.5M12 12v5.25M15 12H9m6 3H9m12-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},52024:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.042 21.672 13.684 16.6m0 0-2.51 2.225.569-9.47 5.227 7.917-3.286-.672ZM12 2.25V4.5m5.834.166-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243-1.59-1.59"}))}const o=n.forwardRef(a);e.exports=o},93539:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.042 21.672 13.684 16.6m0 0-2.51 2.225.569-9.47 5.227 7.917-3.286-.672Zm-7.518-.267A8.25 8.25 0 1 1 20.25 10.5M8.288 14.212A5.25 5.25 0 1 1 17.25 10.5"}))}const o=n.forwardRef(a);e.exports=o},78107:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"}))}const o=n.forwardRef(a);e.exports=o},81224:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5h3m-6.75 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-15a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 4.5v15a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},93439:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.499 11.998h15m-7.5-6.75h.008v.008h-.008v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM12 18.751h.007v.007H12v-.007Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},96234:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},77856:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12-3-3m0 0-3 3m3-3v6m-1.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},30810:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25M9 16.5v.75m3-3v3M15 12v5.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},86366:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"}))}const o=n.forwardRef(a);e.exports=o},98476:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 8.25.22-.22a.75.75 0 0 1 1.28.53v6.441c0 .472.214.934.64 1.137a3.75 3.75 0 0 0 4.994-1.77c.205-.428-.152-.868-.627-.868h-.507m-6-2.25h7.5M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},9715:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v7.5m2.25-6.466a9.016 9.016 0 0 0-3.461-.203c-.536.072-.974.478-1.021 1.017a4.559 4.559 0 0 0-.018.402c0 .464.336.844.775.994l2.95 1.012c.44.15.775.53.775.994 0 .136-.006.27-.018.402-.047.539-.485.945-1.021 1.017a9.077 9.077 0 0 1-3.461-.203M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},9646:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 11.625h4.5m-4.5 2.25h4.5m2.121 1.527c-1.171 1.464-3.07 1.464-4.242 0-1.172-1.465-1.172-3.84 0-5.304 1.171-1.464 3.07-1.464 4.242 0M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},27229:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.621 9.879a3 3 0 0 0-5.02 2.897l.164.609a4.5 4.5 0 0 1-.108 2.676l-.157.439.44-.22a2.863 2.863 0 0 1 2.185-.155c.72.24 1.507.184 2.186-.155L15 18M8.25 15.75H12m-1.5-13.5H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},75191:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 9h3.75m-4.5 2.625h4.5M12 18.75 9.75 16.5h.375a2.625 2.625 0 0 0 0-5.25H9.75m.75-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},31223:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m1.5 9 2.25 3m0 0 2.25-3m-2.25 3v4.5M9.75 15h4.5m-4.5 2.25h4.5m-3.75-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},75881:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"}))}const o=n.forwardRef(a);e.exports=o},73247:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},29255:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Zm3.75 11.625a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}const o=n.forwardRef(a);e.exports=o},92287:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},73002:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},65609:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const o=n.forwardRef(a);e.exports=o},37229:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},50833:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},82799:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"}))}const o=n.forwardRef(a);e.exports=o},9416:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}const o=n.forwardRef(a);e.exports=o},30052:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 9v.906a2.25 2.25 0 0 1-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 0 0 1.183 1.981l6.478 3.488m8.839 2.51-4.66-2.51m0 0-1.023-.55a2.25 2.25 0 0 0-2.134 0l-1.022.55m0 0-4.661 2.51m16.5 1.615a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V8.844a2.25 2.25 0 0 1 1.183-1.981l7.5-4.039a2.25 2.25 0 0 1 2.134 0l7.5 4.039a2.25 2.25 0 0 1 1.183 1.98V19.5Z"}))}const o=n.forwardRef(a);e.exports=o},15571:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.499 8.248h15m-15 7.501h15"}))}const o=n.forwardRef(a);e.exports=o},27424:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},9539:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},50434:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 11.25 1.5 1.5.75-.75V8.758l2.276-.61a3 3 0 1 0-3.675-3.675l-.61 2.277H12l-.75.75 1.5 1.5M15 11.25l-8.47 8.47c-.34.34-.8.53-1.28.53s-.94.19-1.28.53l-.97.97-.75-.75.97-.97c.34-.34.53-.8.53-1.28s.19-.94.53-1.28L12.75 9M15 11.25 12.75 9"}))}const o=n.forwardRef(a);e.exports=o},48253:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o=n.forwardRef(a);e.exports=o},60155:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const o=n.forwardRef(a);e.exports=o},86570:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.182 16.318A4.486 4.486 0 0 0 12.016 15a4.486 4.486 0 0 0-3.198 1.318M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z"}))}const o=n.forwardRef(a);e.exports=o},79828:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.182 15.182a4.5 4.5 0 0 1-6.364 0M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z"}))}const o=n.forwardRef(a);e.exports=o},13633:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h1.5C5.496 19.5 6 18.996 6 18.375m-3.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-1.5A1.125 1.125 0 0 1 18 18.375M20.625 4.5H3.375m17.25 0c.621 0 1.125.504 1.125 1.125M20.625 4.5h-1.5C18.504 4.5 18 5.004 18 5.625m3.75 0v1.5c0 .621-.504 1.125-1.125 1.125M3.375 4.5c-.621 0-1.125.504-1.125 1.125M3.375 4.5h1.5C5.496 4.5 6 5.004 6 5.625m-3.75 0v1.5c0 .621.504 1.125 1.125 1.125m0 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m1.5-3.75C5.496 8.25 6 7.746 6 7.125v-1.5M4.875 8.25C5.496 8.25 6 8.754 6 9.375v1.5m0-5.25v5.25m0-5.25C6 5.004 6.504 4.5 7.125 4.5h9.75c.621 0 1.125.504 1.125 1.125m1.125 2.625h1.5m-1.5 0A1.125 1.125 0 0 1 18 7.125v-1.5m1.125 2.625c-.621 0-1.125.504-1.125 1.125v1.5m2.625-2.625c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125M18 5.625v5.25M7.125 12h9.75m-9.75 0A1.125 1.125 0 0 1 6 10.875M7.125 12C6.504 12 6 12.504 6 13.125m0-2.25C6 11.496 5.496 12 4.875 12M18 10.875c0 .621-.504 1.125-1.125 1.125M18 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m-12 5.25v-5.25m0 5.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125m-12 0v-1.5c0-.621-.504-1.125-1.125-1.125M18 18.375v-5.25m0 5.25v-1.5c0-.621.504-1.125 1.125-1.125M18 13.125v1.5c0 .621.504 1.125 1.125 1.125M18 13.125c0-.621.504-1.125 1.125-1.125M6 13.125v1.5c0 .621-.504 1.125-1.125 1.125M6 13.125C6 12.504 5.496 12 4.875 12m-1.5 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M19.125 12h1.5m0 0c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h1.5m14.25 0h1.5"}))}const o=n.forwardRef(a);e.exports=o},12193:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"}))}const o=n.forwardRef(a);e.exports=o},9421:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.362 5.214A8.252 8.252 0 0 1 12 21 8.25 8.25 0 0 1 6.038 7.047 8.287 8.287 0 0 0 9 9.601a8.983 8.983 0 0 1 3.361-6.867 8.21 8.21 0 0 0 3 2.48Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18a3.75 3.75 0 0 0 .495-7.468 5.99 5.99 0 0 0-1.925 3.547 5.975 5.975 0 0 1-2.133-1.001A3.75 3.75 0 0 0 12 18Z"}))}const o=n.forwardRef(a);e.exports=o},16359:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"}))}const o=n.forwardRef(a);e.exports=o},10890:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 13.5 3 3m0 0 3-3m-3 3v-6m1.06-4.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const o=n.forwardRef(a);e.exports=o},65876:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const o=n.forwardRef(a);e.exports=o},5632:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 13.5H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const o=n.forwardRef(a);e.exports=o},13971:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"}))}const o=n.forwardRef(a);e.exports=o},4746:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10.5v6m3-3H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const o=n.forwardRef(a);e.exports=o},339:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.689c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061A1.125 1.125 0 0 1 3 16.811V8.69ZM12.75 8.689c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061a1.125 1.125 0 0 1-1.683-.977V8.69Z"}))}const o=n.forwardRef(a);e.exports=o},18093:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))}const o=n.forwardRef(a);e.exports=o},61186:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 8.25v7.5m6-7.5h-3V12m0 0v3.75m0-3.75H18M9.75 9.348c-1.03-1.464-2.698-1.464-3.728 0-1.03 1.465-1.03 3.84 0 5.304 1.03 1.464 2.699 1.464 3.728 0V12h-1.5M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const o=n.forwardRef(a);e.exports=o},84207:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},27223:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3.75v16.5M2.25 12h19.5M6.375 17.25a4.875 4.875 0 0 0 4.875-4.875V12m6.375 5.25a4.875 4.875 0 0 1-4.875-4.875V12m-9 8.25h16.5a1.5 1.5 0 0 0 1.5-1.5V5.25a1.5 1.5 0 0 0-1.5-1.5H3.75a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5Zm12.621-9.44c-1.409 1.41-4.242 1.061-4.242 1.061s-.349-2.833 1.06-4.242a2.25 2.25 0 0 1 3.182 3.182ZM10.773 7.63c1.409 1.409 1.06 4.242 1.06 4.242S9 12.22 7.592 10.811a2.25 2.25 0 1 1 3.182-3.182Z"}))}const o=n.forwardRef(a);e.exports=o},28751:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))}const o=n.forwardRef(a);e.exports=o},35499:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.115 5.19.319 1.913A6 6 0 0 0 8.11 10.36L9.75 12l-.387.775c-.217.433-.132.956.21 1.298l1.348 1.348c.21.21.329.497.329.795v1.089c0 .426.24.815.622 1.006l.153.076c.433.217.956.132 1.298-.21l.723-.723a8.7 8.7 0 0 0 2.288-4.042 1.087 1.087 0 0 0-.358-1.099l-1.33-1.108c-.251-.21-.582-.299-.905-.245l-1.17.195a1.125 1.125 0 0 1-.98-.314l-.295-.295a1.125 1.125 0 0 1 0-1.591l.13-.132a1.125 1.125 0 0 1 1.3-.21l.603.302a.809.809 0 0 0 1.086-1.086L14.25 7.5l1.256-.837a4.5 4.5 0 0 0 1.528-1.732l.146-.292M6.115 5.19A9 9 0 1 0 17.18 4.64M6.115 5.19A8.965 8.965 0 0 1 12 3c1.929 0 3.716.607 5.18 1.64"}))}const o=n.forwardRef(a);e.exports=o},78144:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 3.03v.568c0 .334.148.65.405.864l1.068.89c.442.369.535 1.01.216 1.49l-.51.766a2.25 2.25 0 0 1-1.161.886l-.143.048a1.107 1.107 0 0 0-.57 1.664c.369.555.169 1.307-.427 1.605L9 13.125l.423 1.059a.956.956 0 0 1-1.652.928l-.679-.906a1.125 1.125 0 0 0-1.906.172L4.5 15.75l-.612.153M12.75 3.031a9 9 0 0 0-8.862 12.872M12.75 3.031a9 9 0 0 1 6.69 14.036m0 0-.177-.529A2.25 2.25 0 0 0 17.128 15H16.5l-.324-.324a1.453 1.453 0 0 0-2.328.377l-.036.073a1.586 1.586 0 0 1-.982.816l-.99.282c-.55.157-.894.702-.8 1.267l.073.438c.08.474.49.821.97.821.846 0 1.598.542 1.865 1.345l.215.643m5.276-3.67a9.012 9.012 0 0 1-5.276 3.67m0 0a9 9 0 0 1-10.275-4.835M15.75 9c0 .896-.393 1.7-1.016 2.25"}))}const o=n.forwardRef(a);e.exports=o},26669:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.893 13.393-1.135-1.135a2.252 2.252 0 0 1-.421-.585l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.212.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.655-.261a2.25 2.25 0 0 1-1.383-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.411-2.353a2.25 2.25 0 0 0 .286-.76m11.928 9.869A9 9 0 0 0 8.965 3.525m11.928 9.868A9 9 0 1 1 8.965 3.525"}))}const o=n.forwardRef(a);e.exports=o},89550:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501m4.501-8.627 2.25-1.5v10.126m0 0h-2.25m2.25 0h2.25"}))}const o=n.forwardRef(a);e.exports=o},6890:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 19.5H16.5v-1.609a2.25 2.25 0 0 1 1.244-2.012l2.89-1.445c.651-.326 1.116-.955 1.116-1.683 0-.498-.04-.987-.118-1.463-.135-.825-.835-1.422-1.668-1.489a15.202 15.202 0 0 0-3.464.12M2.243 4.492v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501"}))}const o=n.forwardRef(a);e.exports=o},10781:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.905 14.626a4.52 4.52 0 0 1 .738 3.603c-.154.695-.794 1.143-1.504 1.208a15.194 15.194 0 0 1-3.639-.104m4.405-4.707a4.52 4.52 0 0 0 .738-3.603c-.154-.696-.794-1.144-1.504-1.209a15.19 15.19 0 0 0-3.639.104m4.405 4.708H18M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501"}))}const o=n.forwardRef(a);e.exports=o},53321:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.05 4.575a1.575 1.575 0 1 0-3.15 0v3m3.15-3v-1.5a1.575 1.575 0 0 1 3.15 0v1.5m-3.15 0 .075 5.925m3.075.75V4.575m0 0a1.575 1.575 0 0 1 3.15 0V15M6.9 7.575a1.575 1.575 0 1 0-3.15 0v8.175a6.75 6.75 0 0 0 6.75 6.75h2.018a5.25 5.25 0 0 0 3.712-1.538l1.732-1.732a5.25 5.25 0 0 0 1.538-3.712l.003-2.024a.668.668 0 0 1 .198-.471 1.575 1.575 0 1 0-2.228-2.228 3.818 3.818 0 0 0-1.12 2.687M6.9 7.575V12m6.27 4.318A4.49 4.49 0 0 1 16.35 15m.002 0h-.002"}))}const o=n.forwardRef(a);e.exports=o},13960:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.498 15.25H4.372c-1.026 0-1.945-.694-2.054-1.715a12.137 12.137 0 0 1-.068-1.285c0-2.848.992-5.464 2.649-7.521C5.287 4.247 5.886 4 6.504 4h4.016a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23h1.294M7.498 15.25c.618 0 .991.724.725 1.282A7.471 7.471 0 0 0 7.5 19.75 2.25 2.25 0 0 0 9.75 22a.75.75 0 0 0 .75-.75v-.633c0-.573.11-1.14.322-1.672.304-.76.93-1.33 1.653-1.715a9.04 9.04 0 0 0 2.86-2.4c.498-.634 1.226-1.08 2.032-1.08h.384m-10.253 1.5H9.7m8.075-9.75c.01.05.027.1.05.148.593 1.2.925 2.55.925 3.977 0 1.487-.36 2.89-.999 4.125m.023-8.25c-.076-.365.183-.75.575-.75h.908c.889 0 1.713.518 1.972 1.368.339 1.11.521 2.287.521 3.507 0 1.553-.295 3.036-.831 4.398-.306.774-1.086 1.227-1.918 1.227h-1.053c-.472 0-.745-.556-.5-.96a8.95 8.95 0 0 0 .303-.54"}))}const o=n.forwardRef(a);e.exports=o},36118:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z"}))}const o=n.forwardRef(a);e.exports=o},80073:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"}))}const o=n.forwardRef(a);e.exports=o},99229:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))}const o=n.forwardRef(a);e.exports=o},64738:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))}const o=n.forwardRef(a);e.exports=o},30001:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"}))}const o=n.forwardRef(a);e.exports=o},89828:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"}))}const o=n.forwardRef(a);e.exports=o},51985:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3.75H6.912a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859M12 3v8.25m0 0-3-3m3 3 3-3"}))}const o=n.forwardRef(a);e.exports=o},86581:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859m-19.5.338V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H6.911a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661Z"}))}const o=n.forwardRef(a);e.exports=o},48530:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.875 14.25 1.214 1.942a2.25 2.25 0 0 0 1.908 1.058h2.006c.776 0 1.497-.4 1.908-1.058l1.214-1.942M2.41 9h4.636a2.25 2.25 0 0 1 1.872 1.002l.164.246a2.25 2.25 0 0 0 1.872 1.002h2.092a2.25 2.25 0 0 0 1.872-1.002l.164-.246A2.25 2.25 0 0 1 16.954 9h4.636M2.41 9a2.25 2.25 0 0 0-.16.832V12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 12V9.832c0-.287-.055-.57-.16-.832M2.41 9a2.25 2.25 0 0 1 .382-.632l3.285-3.832a2.25 2.25 0 0 1 1.708-.786h8.43c.657 0 1.281.287 1.709.786l3.284 3.832c.163.19.291.404.382.632M4.5 20.25h15A2.25 2.25 0 0 0 21.75 18v-2.625c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125V18a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},4223:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))}const o=n.forwardRef(a);e.exports=o},51856:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803"}))}const o=n.forwardRef(a);e.exports=o},46462:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))}const o=n.forwardRef(a);e.exports=o},23369:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))}const o=n.forwardRef(a);e.exports=o},73624:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.712 4.33a9.027 9.027 0 0 1 1.652 1.306c.51.51.944 1.064 1.306 1.652M16.712 4.33l-3.448 4.138m3.448-4.138a9.014 9.014 0 0 0-9.424 0M19.67 7.288l-4.138 3.448m4.138-3.448a9.014 9.014 0 0 1 0 9.424m-4.138-5.976a3.736 3.736 0 0 0-.88-1.388 3.737 3.737 0 0 0-1.388-.88m2.268 2.268a3.765 3.765 0 0 1 0 2.528m-2.268-4.796a3.765 3.765 0 0 0-2.528 0m4.796 4.796c-.181.506-.475.982-.88 1.388a3.736 3.736 0 0 1-1.388.88m2.268-2.268 4.138 3.448m0 0a9.027 9.027 0 0 1-1.306 1.652c-.51.51-1.064.944-1.652 1.306m0 0-3.448-4.138m3.448 4.138a9.014 9.014 0 0 1-9.424 0m5.976-4.138a3.765 3.765 0 0 1-2.528 0m0 0a3.736 3.736 0 0 1-1.388-.88 3.737 3.737 0 0 1-.88-1.388m2.268 2.268L7.288 19.67m0 0a9.024 9.024 0 0 1-1.652-1.306 9.027 9.027 0 0 1-1.306-1.652m0 0 4.138-3.448M4.33 16.712a9.014 9.014 0 0 1 0-9.424m4.138 5.976a3.765 3.765 0 0 1 0-2.528m0 0c.181-.506.475-.982.88-1.388a3.736 3.736 0 0 1 1.388-.88m-2.268 2.268L4.33 7.288m6.406 1.18L7.288 4.33m0 0a9.024 9.024 0 0 0-1.652 1.306A9.025 9.025 0 0 0 4.33 7.288"}))}const o=n.forwardRef(a);e.exports=o},49407:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))}const o=n.forwardRef(a);e.exports=o},76724:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))}const o=n.forwardRef(a);e.exports=o},87425:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.181 8.68a4.503 4.503 0 0 1 1.903 6.405m-9.768-2.782L3.56 14.06a4.5 4.5 0 0 0 6.364 6.365l3.129-3.129m5.614-5.615 1.757-1.757a4.5 4.5 0 0 0-6.364-6.365l-4.5 4.5c-.258.26-.479.541-.661.84m1.903 6.405a4.495 4.495 0 0 1-1.242-.88 4.483 4.483 0 0 1-1.062-1.683m6.587 2.345 5.907 5.907m-5.907-5.907L8.898 8.898M2.991 2.99 8.898 8.9"}))}const o=n.forwardRef(a);e.exports=o},14534:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},46041:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},39715:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},97898:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 15.75-2.489-2.489m0 0a3.375 3.375 0 1 0-4.773-4.773 3.375 3.375 0 0 0 4.774 4.774ZM21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},11020:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const o=n.forwardRef(a);e.exports=o},75269:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM13.5 10.5h-6"}))}const o=n.forwardRef(a);e.exports=o},39826:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6"}))}const o=n.forwardRef(a);e.exports=o},59176:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 6.75V15m6-6v8.25m.503 3.498 4.875-2.437c.381-.19.622-.58.622-1.006V4.82c0-.836-.88-1.38-1.628-1.006l-3.869 1.934c-.317.159-.69.159-1.006 0L9.503 3.252a1.125 1.125 0 0 0-1.006 0L3.622 5.689C3.24 5.88 3 6.27 3 6.695V19.18c0 .836.88 1.38 1.628 1.006l3.869-1.934c.317-.159.69-.159 1.006 0l4.994 2.497c.317.158.69.158 1.006 0Z"}))}const o=n.forwardRef(a);e.exports=o},92635:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"}))}const o=n.forwardRef(a);e.exports=o},49909:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46"}))}const o=n.forwardRef(a);e.exports=o},61394:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18.75a6 6 0 0 0 6-6v-1.5m-6 7.5a6 6 0 0 1-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 0 1-3-3V4.5a3 3 0 1 1 6 0v8.25a3 3 0 0 1-3 3Z"}))}const o=n.forwardRef(a);e.exports=o},65444:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},53910:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"}))}const o=n.forwardRef(a);e.exports=o},34817:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 12H6"}))}const o=n.forwardRef(a);e.exports=o},52515:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))}const o=n.forwardRef(a);e.exports=o},62572:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 9 10.5-3m0 6.553v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 1 1-.99-3.467l2.31-.66a2.25 2.25 0 0 0 1.632-2.163Zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 0 1-.99-3.467l2.31-.66A2.25 2.25 0 0 0 9 15.553Z"}))}const o=n.forwardRef(a);e.exports=o},69817:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"}))}const o=n.forwardRef(a);e.exports=o},32157:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))}const o=n.forwardRef(a);e.exports=o},13191:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.242 5.992h12m-12 6.003H20.24m-12 5.999h12M4.117 7.495v-3.75H2.99m1.125 3.75H2.99m1.125 0H5.24m-1.92 2.577a1.125 1.125 0 1 1 1.591 1.59l-1.83 1.83h2.16M2.99 15.745h1.125a1.125 1.125 0 0 1 0 2.25H3.74m0-.002h.375a1.125 1.125 0 0 1 0 2.25H2.99"}))}const o=n.forwardRef(a);e.exports=o},39664:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))}const o=n.forwardRef(a);e.exports=o},49429:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))}const o=n.forwardRef(a);e.exports=o},82207:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13"}))}const o=n.forwardRef(a);e.exports=o},34049:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9v6m-4.5 0V9M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},48913:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"}))}const o=n.forwardRef(a);e.exports=o},29860:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))}const o=n.forwardRef(a);e.exports=o},31701:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"}))}const o=n.forwardRef(a);e.exports=o},15640:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.99 14.993 6-6m6 3.001c0 1.268-.63 2.39-1.593 3.069a3.746 3.746 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043 3.745 3.745 0 0 1-3.068 1.593c-1.268 0-2.39-.63-3.068-1.593a3.745 3.745 0 0 1-3.296-1.043 3.746 3.746 0 0 1-1.043-3.297 3.746 3.746 0 0 1-1.593-3.068c0-1.268.63-2.39 1.593-3.068a3.746 3.746 0 0 1 1.043-3.297 3.745 3.745 0 0 1 3.296-1.042 3.745 3.745 0 0 1 3.068-1.594c1.268 0 2.39.63 3.068 1.593a3.745 3.745 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.297 3.746 3.746 0 0 1 1.593 3.068ZM9.74 9.743h.008v.007H9.74v-.007Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},31814:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75v-4.5m0 4.5h4.5m-4.5 0 6-6m-3 18c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const o=n.forwardRef(a);e.exports=o},19915:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 3.75v4.5m0-4.5h-4.5m4.5 0-6 6m3 12c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const o=n.forwardRef(a);e.exports=o},61093:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))}const o=n.forwardRef(a);e.exports=o},72670:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 3.75 18 6m0 0 2.25 2.25M18 6l2.25-2.25M18 6l-2.25 2.25m1.5 13.5c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const o=n.forwardRef(a);e.exports=o},20710:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},99147:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))}const o=n.forwardRef(a);e.exports=o},70807:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"}))}const o=n.forwardRef(a);e.exports=o},34827:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061A1.125 1.125 0 0 1 3 16.811Z"}))}const o=n.forwardRef(a);e.exports=o},67254:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},19011:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))}const o=n.forwardRef(a);e.exports=o},13708:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m6-6H6"}))}const o=n.forwardRef(a);e.exports=o},32706:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.636 5.636a9 9 0 1 0 12.728 0M12 3v9"}))}const o=n.forwardRef(a);e.exports=o},75254:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5M9 11.25v1.5M12 9v3.75m3-6v6"}))}const o=n.forwardRef(a);e.exports=o},64508:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5m.75-9 3-3 2.148 2.148A12.061 12.061 0 0 1 16.5 7.605"}))}const o=n.forwardRef(a);e.exports=o},25623:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0 1 10.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0 .229 2.523a1.125 1.125 0 0 1-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0 0 21 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 0 0-1.913-.247M6.34 18H5.25A2.25 2.25 0 0 1 3 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 0 1 1.913-.247m10.5 0a48.536 48.536 0 0 0-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5Zm-3 0h.008v.008H15V10.5Z"}))}const o=n.forwardRef(a);e.exports=o},80878:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"}))}const o=n.forwardRef(a);e.exports=o},69525:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))}const o=n.forwardRef(a);e.exports=o},4506:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},78583:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"}))}const o=n.forwardRef(a);e.exports=o},7535:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 7.5 16.5-4.125M12 6.75c-2.708 0-5.363.224-7.948.655C2.999 7.58 2.25 8.507 2.25 9.574v9.176A2.25 2.25 0 0 0 4.5 21h15a2.25 2.25 0 0 0 2.25-2.25V9.574c0-1.067-.75-1.994-1.802-2.169A48.329 48.329 0 0 0 12 6.75Zm-1.683 6.443-.005.005-.006-.005.006-.005.005.005Zm-.005 2.127-.005-.006.005-.005.005.005-.005.005Zm-2.116-.006-.005.006-.006-.006.005-.005.006.005Zm-.005-2.116-.006-.005.006-.005.005.005-.005.005ZM9.255 10.5v.008h-.008V10.5h.008Zm3.249 1.88-.007.004-.003-.007.006-.003.004.006Zm-1.38 5.126-.003-.006.006-.004.004.007-.006.003Zm.007-6.501-.003.006-.007-.003.004-.007.006.004Zm1.37 5.129-.007-.004.004-.006.006.003-.004.007Zm.504-1.877h-.008v-.007h.008v.007ZM9.255 18v.008h-.008V18h.008Zm-3.246-1.87-.007.004L6 16.127l.006-.003.004.006Zm1.366-5.119-.004-.006.006-.004.004.007-.006.003ZM7.38 17.5l-.003.006-.007-.003.004-.007.006.004Zm-1.376-5.116L6 12.38l.003-.007.007.004-.004.007Zm-.5 1.873h-.008v-.007h.008v.007ZM17.25 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Zm0 4.5a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"}))}const o=n.forwardRef(a);e.exports=o},3625:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},51710:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9.75h4.875a2.625 2.625 0 0 1 0 5.25H12M8.25 9.75 10.5 7.5M8.25 9.75 10.5 12m9-7.243V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185Z"}))}const o=n.forwardRef(a);e.exports=o},5707:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"}))}const o=n.forwardRef(a);e.exports=o},5136:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))}const o=n.forwardRef(a);e.exports=o},43562:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))}const o=n.forwardRef(a);e.exports=o},35489:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},47671:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0 0 12 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 0 1-2.031.352 5.988 5.988 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971Zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 0 1-2.031.352 5.989 5.989 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971Z"}))}const o=n.forwardRef(a);e.exports=o},6855:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.848 8.25 1.536.887M7.848 8.25a3 3 0 1 1-5.196-3 3 3 0 0 1 5.196 3Zm1.536.887a2.165 2.165 0 0 1 1.083 1.839c.005.351.054.695.14 1.024M9.384 9.137l2.077 1.199M7.848 15.75l1.536-.887m-1.536.887a3 3 0 1 1-5.196 3 3 3 0 0 1 5.196-3Zm1.536-.887a2.165 2.165 0 0 0 1.083-1.838c.005-.352.054-.695.14-1.025m-1.223 2.863 2.077-1.199m0-3.328a4.323 4.323 0 0 1 2.068-1.379l5.325-1.628a4.5 4.5 0 0 1 2.48-.044l.803.215-7.794 4.5m-2.882-1.664A4.33 4.33 0 0 0 10.607 12m3.736 0 7.794 4.5-.802.215a4.5 4.5 0 0 1-2.48-.043l-5.326-1.629a4.324 4.324 0 0 1-2.068-1.379M14.343 12l-2.882 1.664"}))}const o=n.forwardRef(a);e.exports=o},16392:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},59160:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 14.25h13.5m-13.5 0a3 3 0 0 1-3-3m3 3a3 3 0 1 0 0 6h13.5a3 3 0 1 0 0-6m-16.5-3a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3m-19.5 0a4.5 4.5 0 0 1 .9-2.7L5.737 5.1a3.375 3.375 0 0 1 2.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 0 1 .9 2.7m0 0a3 3 0 0 1-3 3m0 3h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Zm-3 6h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},19005:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.217 10.907a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z"}))}const o=n.forwardRef(a);e.exports=o},57932:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))}const o=n.forwardRef(a);e.exports=o},83642:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0-10.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286Zm0 13.036h.008v.008H12v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},28939:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},90657:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},96364:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.348 14.652a3.75 3.75 0 0 1 0-5.304m5.304 0a3.75 3.75 0 0 1 0 5.304m-7.425 2.121a6.75 6.75 0 0 1 0-9.546m9.546 0a6.75 6.75 0 0 1 0 9.546M5.106 18.894c-3.808-3.807-3.808-9.98 0-13.788m13.788 0c3.808 3.807 3.808 9.98 0 13.788M12 12h.008v.008H12V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const o=n.forwardRef(a);e.exports=o},81551:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3 3 8.735 8.735m0 0a.374.374 0 1 1 .53.53m-.53-.53.53.53m0 0L21 21M14.652 9.348a3.75 3.75 0 0 1 0 5.304m2.121-7.425a6.75 6.75 0 0 1 0 9.546m2.121-11.667c3.808 3.807 3.808 9.98 0 13.788m-9.546-4.242a3.733 3.733 0 0 1-1.06-2.122m-1.061 4.243a6.75 6.75 0 0 1-1.625-6.929m-.496 9.05c-3.068-3.067-3.664-7.67-1.79-11.334M12 12h.008v.008H12V12Z"}))}const o=n.forwardRef(a);e.exports=o},38238:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"}))}const o=n.forwardRef(a);e.exports=o},23070:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))}const o=n.forwardRef(a);e.exports=o},23381:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.114 5.636a9 9 0 0 1 0 12.728M16.463 8.288a5.25 5.25 0 0 1 0 7.424M6.75 8.25l4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}const o=n.forwardRef(a);e.exports=o},43665:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 9.75 19.5 12m0 0 2.25 2.25M19.5 12l2.25-2.25M19.5 12l-2.25 2.25m-10.5-6 4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}const o=n.forwardRef(a);e.exports=o},16044:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"}))}const o=n.forwardRef(a);e.exports=o},68575:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))}const o=n.forwardRef(a);e.exports=o},38744:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"}))}const o=n.forwardRef(a);e.exports=o},75719:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},49598:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"}))}const o=n.forwardRef(a);e.exports=o},30743:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 0 1 9 14.437V9.564Z"}))}const o=n.forwardRef(a);e.exports=o},72107:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 7.5A2.25 2.25 0 0 1 7.5 5.25h9a2.25 2.25 0 0 1 2.25 2.25v9a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-9Z"}))}const o=n.forwardRef(a);e.exports=o},14726:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 12a8.912 8.912 0 0 1-.318-.079c-1.585-.424-2.904-1.247-3.76-2.236-.873-1.009-1.265-2.19-.968-3.301.59-2.2 3.663-3.29 6.863-2.432A8.186 8.186 0 0 1 16.5 5.21M6.42 17.81c.857.99 2.176 1.812 3.761 2.237 3.2.858 6.274-.23 6.863-2.431.233-.868.044-1.779-.465-2.617M3.75 12h16.5"}))}const o=n.forwardRef(a);e.exports=o},87854:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},54398:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},68174:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5"}))}const o=n.forwardRef(a);e.exports=o},68431:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))}const o=n.forwardRef(a);e.exports=o},69343:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125H3.375Z"}))}const o=n.forwardRef(a);e.exports=o},82538:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))}const o=n.forwardRef(a);e.exports=o},3599:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 18.75h-9m9 0a3 3 0 0 1 3 3h-15a3 3 0 0 1 3-3m9 0v-3.375c0-.621-.503-1.125-1.125-1.125h-.871M7.5 18.75v-3.375c0-.621.504-1.125 1.125-1.125h.872m5.007 0H9.497m5.007 0a7.454 7.454 0 0 1-.982-3.172M9.497 14.25a7.454 7.454 0 0 0 .981-3.172M5.25 4.236c-.982.143-1.954.317-2.916.52A6.003 6.003 0 0 0 7.73 9.728M5.25 4.236V4.5c0 2.108.966 3.99 2.48 5.228M5.25 4.236V2.721C7.456 2.41 9.71 2.25 12 2.25c2.291 0 4.545.16 6.75.47v1.516M7.73 9.728a6.726 6.726 0 0 0 2.748 1.35m8.272-6.842V4.5c0 2.108-.966 3.99-2.48 5.228m2.48-5.492a46.32 46.32 0 0 1 2.916.52 6.003 6.003 0 0 1-5.395 4.972m0 0a6.726 6.726 0 0 1-2.749 1.35m0 0a6.772 6.772 0 0 1-3.044 0"}))}const o=n.forwardRef(a);e.exports=o},67571:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))}const o=n.forwardRef(a);e.exports=o},11767:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 20.25h12m-7.5-3v3m3-3v3m-10.125-3h17.25c.621 0 1.125-.504 1.125-1.125V4.875c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},67684:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.995 3.744v7.5a6 6 0 1 1-12 0v-7.5m-2.25 16.502h16.5"}))}const o=n.forwardRef(a);e.exports=o},9998:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o=n.forwardRef(a);e.exports=o},571:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},9753:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}const o=n.forwardRef(a);e.exports=o},15255:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M22 10.5h-6m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM4 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 10.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))}const o=n.forwardRef(a);e.exports=o},95970:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))}const o=n.forwardRef(a);e.exports=o},19217:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}const o=n.forwardRef(a);e.exports=o},16662:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.745 3A23.933 23.933 0 0 0 3 12c0 3.183.62 6.22 1.745 9M19.5 3c.967 2.78 1.5 5.817 1.5 9s-.533 6.22-1.5 9M8.25 8.885l1.444-.89a.75.75 0 0 1 1.105.402l2.402 7.206a.75.75 0 0 0 1.104.401l1.445-.889m-8.25.75.213.09a1.687 1.687 0 0 0 2.062-.617l4.45-6.676a1.688 1.688 0 0 1 2.062-.618l.213.09"}))}const o=n.forwardRef(a);e.exports=o},10921:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},59967:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M12 18.75H4.5a2.25 2.25 0 0 1-2.25-2.25V9m12.841 9.091L16.5 19.5m-1.409-1.409c.407-.407.659-.97.659-1.591v-9a2.25 2.25 0 0 0-2.25-2.25h-9c-.621 0-1.184.252-1.591.659m12.182 12.182L2.909 5.909M1.5 4.5l1.409 1.409"}))}const o=n.forwardRef(a);e.exports=o},29596:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"}))}const o=n.forwardRef(a);e.exports=o},19797:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 3.75H6A2.25 2.25 0 0 0 3.75 6v1.5M16.5 3.75H18A2.25 2.25 0 0 1 20.25 6v1.5m0 9V18A2.25 2.25 0 0 1 18 20.25h-1.5m-9 0H6A2.25 2.25 0 0 1 3.75 18v-1.5M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o=n.forwardRef(a);e.exports=o},35075:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))}const o=n.forwardRef(a);e.exports=o},94360:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.288 15.038a5.25 5.25 0 0 1 7.424 0M5.106 11.856c3.807-3.808 9.98-3.808 13.788 0M1.924 8.674c5.565-5.565 14.587-5.565 20.152 0M12.53 18.22l-.53.53-.53-.53a.75.75 0 0 1 1.06 0Z"}))}const o=n.forwardRef(a);e.exports=o},95096:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"}))}const o=n.forwardRef(a);e.exports=o},62125:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},28186:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"}))}const o=n.forwardRef(a);e.exports=o},75121:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=n.forwardRef(a);e.exports=o},38005:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const o=n.forwardRef(a);e.exports=o},51042:(e,t,r)=>{e.exports.AcademicCapIcon=r(8346),e.exports.AdjustmentsHorizontalIcon=r(26765),e.exports.AdjustmentsVerticalIcon=r(9260),e.exports.ArchiveBoxArrowDownIcon=r(93858),e.exports.ArchiveBoxXMarkIcon=r(89398),e.exports.ArchiveBoxIcon=r(64502),e.exports.ArrowDownCircleIcon=r(38324),e.exports.ArrowDownLeftIcon=r(27318),e.exports.ArrowDownOnSquareStackIcon=r(35101),e.exports.ArrowDownOnSquareIcon=r(45315),e.exports.ArrowDownRightIcon=r(37460),e.exports.ArrowDownTrayIcon=r(73969),e.exports.ArrowDownIcon=r(7995),e.exports.ArrowLeftCircleIcon=r(1167),e.exports.ArrowLeftEndOnRectangleIcon=r(45862),e.exports.ArrowLeftOnRectangleIcon=r(7045),e.exports.ArrowLeftStartOnRectangleIcon=r(49641),e.exports.ArrowLeftIcon=r(46955),e.exports.ArrowLongDownIcon=r(3097),e.exports.ArrowLongLeftIcon=r(17017),e.exports.ArrowLongRightIcon=r(88917),e.exports.ArrowLongUpIcon=r(86236),e.exports.ArrowPathRoundedSquareIcon=r(16603),e.exports.ArrowPathIcon=r(60098),e.exports.ArrowRightCircleIcon=r(49488),e.exports.ArrowRightEndOnRectangleIcon=r(78212),e.exports.ArrowRightOnRectangleIcon=r(22768),e.exports.ArrowRightStartOnRectangleIcon=r(34529),e.exports.ArrowRightIcon=r(16120),e.exports.ArrowSmallDownIcon=r(33104),e.exports.ArrowSmallLeftIcon=r(78331),e.exports.ArrowSmallRightIcon=r(90268),e.exports.ArrowSmallUpIcon=r(93828),e.exports.ArrowTopRightOnSquareIcon=r(81149),e.exports.ArrowTrendingDownIcon=r(5799),e.exports.ArrowTrendingUpIcon=r(66879),e.exports.ArrowTurnDownLeftIcon=r(57365),e.exports.ArrowTurnDownRightIcon=r(40309),e.exports.ArrowTurnLeftDownIcon=r(51257),e.exports.ArrowTurnLeftUpIcon=r(99630),e.exports.ArrowTurnRightDownIcon=r(42161),e.exports.ArrowTurnRightUpIcon=r(85755),e.exports.ArrowTurnUpLeftIcon=r(12885),e.exports.ArrowTurnUpRightIcon=r(41764),e.exports.ArrowUpCircleIcon=r(48878),e.exports.ArrowUpLeftIcon=r(88885),e.exports.ArrowUpOnSquareStackIcon=r(81930),e.exports.ArrowUpOnSquareIcon=r(33330),e.exports.ArrowUpRightIcon=r(23703),e.exports.ArrowUpTrayIcon=r(92912),e.exports.ArrowUpIcon=r(29447),e.exports.ArrowUturnDownIcon=r(36818),e.exports.ArrowUturnLeftIcon=r(29589),e.exports.ArrowUturnRightIcon=r(10416),e.exports.ArrowUturnUpIcon=r(57025),e.exports.ArrowsPointingInIcon=r(97537),e.exports.ArrowsPointingOutIcon=r(66351),e.exports.ArrowsRightLeftIcon=r(20839),e.exports.ArrowsUpDownIcon=r(40067),e.exports.AtSymbolIcon=r(54036),e.exports.BackspaceIcon=r(92279),e.exports.BackwardIcon=r(21518),e.exports.BanknotesIcon=r(98405),e.exports.Bars2Icon=r(93856),e.exports.Bars3BottomLeftIcon=r(75724),e.exports.Bars3BottomRightIcon=r(21563),e.exports.Bars3CenterLeftIcon=r(59007),e.exports.Bars3Icon=r(18510),e.exports.Bars4Icon=r(3654),e.exports.BarsArrowDownIcon=r(47444),e.exports.BarsArrowUpIcon=r(1842),e.exports.Battery0Icon=r(15581),e.exports.Battery100Icon=r(88866),e.exports.Battery50Icon=r(63728),e.exports.BeakerIcon=r(60489),e.exports.BellAlertIcon=r(89947),e.exports.BellSlashIcon=r(56061),e.exports.BellSnoozeIcon=r(43015),e.exports.BellIcon=r(94115),e.exports.BoldIcon=r(37236),e.exports.BoltSlashIcon=r(27954),e.exports.BoltIcon=r(53016),e.exports.BookOpenIcon=r(70594),e.exports.BookmarkSlashIcon=r(64136),e.exports.BookmarkSquareIcon=r(79418),e.exports.BookmarkIcon=r(63977),e.exports.BriefcaseIcon=r(49137),e.exports.BugAntIcon=r(62824),e.exports.BuildingLibraryIcon=r(90403),e.exports.BuildingOffice2Icon=r(18249),e.exports.BuildingOfficeIcon=r(37105),e.exports.BuildingStorefrontIcon=r(92855),e.exports.CakeIcon=r(13416),e.exports.CalculatorIcon=r(45842),e.exports.CalendarDateRangeIcon=r(51471),e.exports.CalendarDaysIcon=r(24627),e.exports.CalendarIcon=r(29455),e.exports.CameraIcon=r(48613),e.exports.ChartBarSquareIcon=r(13840),e.exports.ChartBarIcon=r(42801),e.exports.ChartPieIcon=r(67863),e.exports.ChatBubbleBottomCenterTextIcon=r(90529),e.exports.ChatBubbleBottomCenterIcon=r(39932),e.exports.ChatBubbleLeftEllipsisIcon=r(2041),e.exports.ChatBubbleLeftRightIcon=r(53211),e.exports.ChatBubbleLeftIcon=r(61352),e.exports.ChatBubbleOvalLeftEllipsisIcon=r(74656),e.exports.ChatBubbleOvalLeftIcon=r(11696),e.exports.CheckBadgeIcon=r(49057),e.exports.CheckCircleIcon=r(37786),e.exports.CheckIcon=r(41555),e.exports.ChevronDoubleDownIcon=r(58037),e.exports.ChevronDoubleLeftIcon=r(35261),e.exports.ChevronDoubleRightIcon=r(17163),e.exports.ChevronDoubleUpIcon=r(2188),e.exports.ChevronDownIcon=r(12119),e.exports.ChevronLeftIcon=r(54070),e.exports.ChevronRightIcon=r(50971),e.exports.ChevronUpDownIcon=r(88169),e.exports.ChevronUpIcon=r(93237),e.exports.CircleStackIcon=r(71013),e.exports.ClipboardDocumentCheckIcon=r(98394),e.exports.ClipboardDocumentListIcon=r(43768),e.exports.ClipboardDocumentIcon=r(47479),e.exports.ClipboardIcon=r(86322),e.exports.ClockIcon=r(24056),e.exports.CloudArrowDownIcon=r(75713),e.exports.CloudArrowUpIcon=r(58078),e.exports.CloudIcon=r(4677),e.exports.CodeBracketSquareIcon=r(32799),e.exports.CodeBracketIcon=r(3769),e.exports.Cog6ToothIcon=r(39240),e.exports.Cog8ToothIcon=r(39195),e.exports.CogIcon=r(82882),e.exports.CommandLineIcon=r(83243),e.exports.ComputerDesktopIcon=r(48651),e.exports.CpuChipIcon=r(63947),e.exports.CreditCardIcon=r(18963),e.exports.CubeTransparentIcon=r(69204),e.exports.CubeIcon=r(90426),e.exports.CurrencyBangladeshiIcon=r(34004),e.exports.CurrencyDollarIcon=r(79588),e.exports.CurrencyEuroIcon=r(11239),e.exports.CurrencyPoundIcon=r(39311),e.exports.CurrencyRupeeIcon=r(1391),e.exports.CurrencyYenIcon=r(35954),e.exports.CursorArrowRaysIcon=r(52024),e.exports.CursorArrowRippleIcon=r(93539),e.exports.DevicePhoneMobileIcon=r(78107),e.exports.DeviceTabletIcon=r(81224),e.exports.DivideIcon=r(93439),e.exports.DocumentArrowDownIcon=r(96234),e.exports.DocumentArrowUpIcon=r(77856),e.exports.DocumentChartBarIcon=r(30810),e.exports.DocumentCheckIcon=r(86366),e.exports.DocumentCurrencyBangladeshiIcon=r(98476),e.exports.DocumentCurrencyDollarIcon=r(9715),e.exports.DocumentCurrencyEuroIcon=r(9646),e.exports.DocumentCurrencyPoundIcon=r(27229),e.exports.DocumentCurrencyRupeeIcon=r(75191),e.exports.DocumentCurrencyYenIcon=r(31223),e.exports.DocumentDuplicateIcon=r(75881),e.exports.DocumentMagnifyingGlassIcon=r(29255),e.exports.DocumentMinusIcon=r(92287),e.exports.DocumentPlusIcon=r(73002),e.exports.DocumentTextIcon=r(65609),e.exports.DocumentIcon=r(73247),e.exports.EllipsisHorizontalCircleIcon=r(37229),e.exports.EllipsisHorizontalIcon=r(50833),e.exports.EllipsisVerticalIcon=r(82799),e.exports.EnvelopeOpenIcon=r(30052),e.exports.EnvelopeIcon=r(9416),e.exports.EqualsIcon=r(15571),e.exports.ExclamationCircleIcon=r(27424),e.exports.ExclamationTriangleIcon=r(9539),e.exports.EyeDropperIcon=r(50434),e.exports.EyeSlashIcon=r(60155),e.exports.EyeIcon=r(48253),e.exports.FaceFrownIcon=r(86570),e.exports.FaceSmileIcon=r(79828),e.exports.FilmIcon=r(13633),e.exports.FingerPrintIcon=r(12193),e.exports.FireIcon=r(9421),e.exports.FlagIcon=r(16359),e.exports.FolderArrowDownIcon=r(10890),e.exports.FolderMinusIcon=r(5632),e.exports.FolderOpenIcon=r(13971),e.exports.FolderPlusIcon=r(4746),e.exports.FolderIcon=r(65876),e.exports.ForwardIcon=r(339),e.exports.FunnelIcon=r(18093),e.exports.GifIcon=r(61186),e.exports.GiftTopIcon=r(27223),e.exports.GiftIcon=r(84207),e.exports.GlobeAltIcon=r(28751),e.exports.GlobeAmericasIcon=r(35499),e.exports.GlobeAsiaAustraliaIcon=r(78144),e.exports.GlobeEuropeAfricaIcon=r(26669),e.exports.H1Icon=r(89550),e.exports.H2Icon=r(6890),e.exports.H3Icon=r(10781),e.exports.HandRaisedIcon=r(53321),e.exports.HandThumbDownIcon=r(13960),e.exports.HandThumbUpIcon=r(36118),e.exports.HashtagIcon=r(80073),e.exports.HeartIcon=r(99229),e.exports.HomeModernIcon=r(30001),e.exports.HomeIcon=r(64738),e.exports.IdentificationIcon=r(89828),e.exports.InboxArrowDownIcon=r(51985),e.exports.InboxStackIcon=r(48530),e.exports.InboxIcon=r(86581),e.exports.InformationCircleIcon=r(4223),e.exports.ItalicIcon=r(51856),e.exports.KeyIcon=r(46462),e.exports.LanguageIcon=r(23369),e.exports.LifebuoyIcon=r(73624),e.exports.LightBulbIcon=r(49407),e.exports.LinkSlashIcon=r(87425),e.exports.LinkIcon=r(76724),e.exports.ListBulletIcon=r(14534),e.exports.LockClosedIcon=r(46041),e.exports.LockOpenIcon=r(39715),e.exports.MagnifyingGlassCircleIcon=r(97898),e.exports.MagnifyingGlassMinusIcon=r(75269),e.exports.MagnifyingGlassPlusIcon=r(39826),e.exports.MagnifyingGlassIcon=r(11020),e.exports.MapPinIcon=r(92635),e.exports.MapIcon=r(59176),e.exports.MegaphoneIcon=r(49909),e.exports.MicrophoneIcon=r(61394),e.exports.MinusCircleIcon=r(65444),e.exports.MinusSmallIcon=r(34817),e.exports.MinusIcon=r(53910),e.exports.MoonIcon=r(52515),e.exports.MusicalNoteIcon=r(62572),e.exports.NewspaperIcon=r(69817),e.exports.NoSymbolIcon=r(32157),e.exports.NumberedListIcon=r(13191),e.exports.PaintBrushIcon=r(39664),e.exports.PaperAirplaneIcon=r(49429),e.exports.PaperClipIcon=r(82207),e.exports.PauseCircleIcon=r(34049),e.exports.PauseIcon=r(48913),e.exports.PencilSquareIcon=r(31701),e.exports.PencilIcon=r(29860),e.exports.PercentBadgeIcon=r(15640),e.exports.PhoneArrowDownLeftIcon=r(31814),e.exports.PhoneArrowUpRightIcon=r(19915),e.exports.PhoneXMarkIcon=r(72670),e.exports.PhoneIcon=r(61093),e.exports.PhotoIcon=r(20710),e.exports.PlayCircleIcon=r(99147),e.exports.PlayPauseIcon=r(34827),e.exports.PlayIcon=r(70807),e.exports.PlusCircleIcon=r(67254),e.exports.PlusSmallIcon=r(13708),e.exports.PlusIcon=r(19011),e.exports.PowerIcon=r(32706),e.exports.PresentationChartBarIcon=r(75254),e.exports.PresentationChartLineIcon=r(64508),e.exports.PrinterIcon=r(25623),e.exports.PuzzlePieceIcon=r(80878),e.exports.QrCodeIcon=r(69525),e.exports.QuestionMarkCircleIcon=r(4506),e.exports.QueueListIcon=r(78583),e.exports.RadioIcon=r(7535),e.exports.ReceiptPercentIcon=r(3625),e.exports.ReceiptRefundIcon=r(51710),e.exports.RectangleGroupIcon=r(5707),e.exports.RectangleStackIcon=r(5136),e.exports.RocketLaunchIcon=r(43562),e.exports.RssIcon=r(35489),e.exports.ScaleIcon=r(47671),e.exports.ScissorsIcon=r(6855),e.exports.ServerStackIcon=r(59160),e.exports.ServerIcon=r(16392),e.exports.ShareIcon=r(19005),e.exports.ShieldCheckIcon=r(57932),e.exports.ShieldExclamationIcon=r(83642),e.exports.ShoppingBagIcon=r(28939),e.exports.ShoppingCartIcon=r(90657),e.exports.SignalSlashIcon=r(81551),e.exports.SignalIcon=r(96364),e.exports.SlashIcon=r(38238),e.exports.SparklesIcon=r(23070),e.exports.SpeakerWaveIcon=r(23381),e.exports.SpeakerXMarkIcon=r(43665),e.exports.Square2StackIcon=r(16044),e.exports.Square3Stack3DIcon=r(68575),e.exports.Squares2X2Icon=r(38744),e.exports.SquaresPlusIcon=r(75719),e.exports.StarIcon=r(49598),e.exports.StopCircleIcon=r(30743),e.exports.StopIcon=r(72107),e.exports.StrikethroughIcon=r(14726),e.exports.SunIcon=r(87854),e.exports.SwatchIcon=r(54398),e.exports.TableCellsIcon=r(68174),e.exports.TagIcon=r(68431),e.exports.TicketIcon=r(69343),e.exports.TrashIcon=r(82538),e.exports.TrophyIcon=r(3599),e.exports.TruckIcon=r(67571),e.exports.TvIcon=r(11767),e.exports.UnderlineIcon=r(67684),e.exports.UserCircleIcon=r(9998),e.exports.UserGroupIcon=r(571),e.exports.UserMinusIcon=r(15255),e.exports.UserPlusIcon=r(95970),e.exports.UserIcon=r(9753),e.exports.UsersIcon=r(19217),e.exports.VariableIcon=r(16662),e.exports.VideoCameraSlashIcon=r(59967),e.exports.VideoCameraIcon=r(10921),e.exports.ViewColumnsIcon=r(29596),e.exports.ViewfinderCircleIcon=r(19797),e.exports.WalletIcon=r(35075),e.exports.WifiIcon=r(94360),e.exports.WindowIcon=r(95096),e.exports.WrenchScrewdriverIcon=r(28186),e.exports.WrenchIcon=r(62125),e.exports.XCircleIcon=r(75121),e.exports.XMarkIcon=r(38005)},25778:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.7 2.805a.75.75 0 0 1 .6 0A60.65 60.65 0 0 1 22.83 8.72a.75.75 0 0 1-.231 1.337 49.948 49.948 0 0 0-9.902 3.912l-.003.002c-.114.06-.227.119-.34.18a.75.75 0 0 1-.707 0A50.88 50.88 0 0 0 7.5 12.173v-.224c0-.131.067-.248.172-.311a54.615 54.615 0 0 1 4.653-2.52.75.75 0 0 0-.65-1.352 56.123 56.123 0 0 0-4.78 2.589 1.858 1.858 0 0 0-.859 1.228 49.803 49.803 0 0 0-4.634-1.527.75.75 0 0 1-.231-1.337A60.653 60.653 0 0 1 11.7 2.805Z"}),n.createElement("path",{d:"M13.06 15.473a48.45 48.45 0 0 1 7.666-3.282c.134 1.414.22 2.843.255 4.284a.75.75 0 0 1-.46.711 47.87 47.87 0 0 0-8.105 4.342.75.75 0 0 1-.832 0 47.87 47.87 0 0 0-8.104-4.342.75.75 0 0 1-.461-.71c.035-1.442.121-2.87.255-4.286.921.304 1.83.634 2.726.99v1.27a1.5 1.5 0 0 0-.14 2.508c-.09.38-.222.753-.397 1.11.452.213.901.434 1.346.66a6.727 6.727 0 0 0 .551-1.607 1.5 1.5 0 0 0 .14-2.67v-.645a48.549 48.549 0 0 1 3.44 1.667 2.25 2.25 0 0 0 2.12 0Z"}),n.createElement("path",{d:"M4.462 19.462c.42-.419.753-.89 1-1.395.453.214.902.435 1.347.662a6.742 6.742 0 0 1-1.286 1.794.75.75 0 0 1-1.06-1.06Z"}))}const o=n.forwardRef(a);e.exports=o},30175:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M18.75 12.75h1.5a.75.75 0 0 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM12 6a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 6ZM12 18a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 18ZM3.75 6.75h1.5a.75.75 0 1 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM5.25 18.75h-1.5a.75.75 0 0 1 0-1.5h1.5a.75.75 0 0 1 0 1.5ZM3 12a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 3 12ZM9 3.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM12.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM9 15.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}))}const o=n.forwardRef(a);e.exports=o},7832:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M6 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 1 1 1.5 0v7.5A.75.75 0 0 1 6 12ZM18 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 18 12ZM6.75 20.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM18.75 18.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 1.5 0ZM12.75 5.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM12 21a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 12 21ZM3.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0ZM12 11.25a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM15.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0Z"}))}const o=n.forwardRef(a);e.exports=o},20052:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),n.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087ZM12 10.5a.75.75 0 0 1 .75.75v4.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72v-4.94a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},11638:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),n.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087Zm6.163 3.75A.75.75 0 0 1 10 12h4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},39375:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),n.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087Zm6.133 2.845a.75.75 0 0 1 1.06 0l1.72 1.72 1.72-1.72a.75.75 0 1 1 1.06 1.06l-1.72 1.72 1.72 1.72a.75.75 0 1 1-1.06 1.06L12 15.685l-1.72 1.72a.75.75 0 1 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},32254:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-.53 14.03a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V8.25a.75.75 0 0 0-1.5 0v5.69l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},90328:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.5 7.5a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 1 1 1.06-1.06l6.22 6.22V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},19383:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.03 3.97a.75.75 0 0 1 0 1.06L6.31 18.75h9.44a.75.75 0 0 1 0 1.5H4.5a.75.75 0 0 1-.75-.75V8.25a.75.75 0 0 1 1.5 0v9.44L18.97 3.97a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},46933:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 1.5a.75.75 0 0 1 .75.75V7.5h-1.5V2.25A.75.75 0 0 1 12 1.5ZM11.25 7.5v5.69l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V7.5h3.75a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h3.75Z"}))}const o=n.forwardRef(a);e.exports=o},897:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.75 6.75h-3a3 3 0 0 0-3 3v7.5a3 3 0 0 0 3 3h7.5a3 3 0 0 0 3-3v-7.5a3 3 0 0 0-3-3h-3V1.5a.75.75 0 0 0-1.5 0v5.25Zm0 0h1.5v5.69l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V6.75Z",clipRule:"evenodd"}),n.createElement("path",{d:"M7.151 21.75a2.999 2.999 0 0 0 2.599 1.5h7.5a3 3 0 0 0 3-3v-7.5c0-1.11-.603-2.08-1.5-2.599v7.099a4.5 4.5 0 0 1-4.5 4.5H7.151Z"}))}const o=n.forwardRef(a);e.exports=o},893:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.97 3.97a.75.75 0 0 1 1.06 0l13.72 13.72V8.25a.75.75 0 0 1 1.5 0V19.5a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1 0-1.5h9.44L3.97 5.03a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},69394:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .75-.75Zm-9 13.5a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},61775:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-4.28 9.22a.75.75 0 0 0 0 1.06l3 3a.75.75 0 1 0 1.06-1.06l-1.72-1.72h5.69a.75.75 0 0 0 0-1.5h-5.69l1.72-1.72a.75.75 0 0 0-1.06-1.06l-3 3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},98422:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm5.03 4.72a.75.75 0 0 1 0 1.06l-1.72 1.72h10.94a.75.75 0 0 1 0 1.5H10.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},46095:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},74599:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm5.03 4.72a.75.75 0 0 1 0 1.06l-1.72 1.72h10.94a.75.75 0 0 1 0 1.5H10.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},86132:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.5 3.75a1.5 1.5 0 0 1 1.5 1.5v13.5a1.5 1.5 0 0 1-1.5 1.5h-6a1.5 1.5 0 0 1-1.5-1.5V15a.75.75 0 0 0-1.5 0v3.75a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5.25a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3V9A.75.75 0 1 0 9 9V5.25a1.5 1.5 0 0 1 1.5-1.5h6ZM5.78 8.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06-1.06l-1.72-1.72H15a.75.75 0 0 0 0-1.5H4.06l1.72-1.72a.75.75 0 0 0 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},77323:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.47V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},99798:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.28 7.72a.75.75 0 0 1 0 1.06l-2.47 2.47H21a.75.75 0 0 1 0 1.5H4.81l2.47 2.47a.75.75 0 1 1-1.06 1.06l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},52985:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.72 7.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 1 1-1.06-1.06l2.47-2.47H3a.75.75 0 0 1 0-1.5h16.19l-2.47-2.47a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},22322:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06l-2.47-2.47V21a.75.75 0 0 1-1.5 0V4.81L8.78 7.28a.75.75 0 0 1-1.06-1.06l3.75-3.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},21619:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},96661:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 5.25c1.213 0 2.415.046 3.605.135a3.256 3.256 0 0 1 3.01 3.01c.044.583.077 1.17.1 1.759L17.03 8.47a.75.75 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 0 0-1.06-1.06l-1.752 1.751c-.023-.65-.06-1.296-.108-1.939a4.756 4.756 0 0 0-4.392-4.392 49.422 49.422 0 0 0-7.436 0A4.756 4.756 0 0 0 3.89 8.282c-.017.224-.033.447-.046.672a.75.75 0 1 0 1.497.092c.013-.217.028-.434.044-.651a3.256 3.256 0 0 1 3.01-3.01c1.19-.09 2.392-.135 3.605-.135Zm-6.97 6.22a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.752-1.751c.023.65.06 1.296.108 1.939a4.756 4.756 0 0 0 4.392 4.392 49.413 49.413 0 0 0 7.436 0 4.756 4.756 0 0 0 4.392-4.392c.017-.223.032-.447.046-.672a.75.75 0 0 0-1.497-.092c-.013.217-.028.434-.044.651a3.256 3.256 0 0 1-3.01 3.01 47.953 47.953 0 0 1-7.21 0 3.256 3.256 0 0 1-3.01-3.01 47.759 47.759 0 0 1-.1-1.759L6.97 15.53a.75.75 0 0 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},97775:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},87348:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.5 3.75a1.5 1.5 0 0 1 1.5 1.5v13.5a1.5 1.5 0 0 1-1.5 1.5h-6a1.5 1.5 0 0 1-1.5-1.5V15a.75.75 0 0 0-1.5 0v3.75a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5.25a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3V9A.75.75 0 1 0 9 9V5.25a1.5 1.5 0 0 1 1.5-1.5h6Zm-5.03 4.72a.75.75 0 0 0 0 1.06l1.72 1.72H2.25a.75.75 0 0 0 0 1.5h10.94l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},43312:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},98568:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},2698:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},95283:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v13.19l5.47-5.47a.75.75 0 1 1 1.06 1.06l-6.75 6.75a.75.75 0 0 1-1.06 0l-6.75-6.75a.75.75 0 1 1 1.06-1.06l5.47 5.47V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},94097:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.25 12a.75.75 0 0 1-.75.75H6.31l5.47 5.47a.75.75 0 1 1-1.06 1.06l-6.75-6.75a.75.75 0 0 1 0-1.06l6.75-6.75a.75.75 0 1 1 1.06 1.06l-5.47 5.47H19.5a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},37909:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 12a.75.75 0 0 1 .75-.75h13.19l-5.47-5.47a.75.75 0 0 1 1.06-1.06l6.75 6.75a.75.75 0 0 1 0 1.06l-6.75 6.75a.75.75 0 1 1-1.06-1.06l5.47-5.47H4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},50435:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 20.25a.75.75 0 0 1-.75-.75V6.31l-5.47 5.47a.75.75 0 0 1-1.06-1.06l6.75-6.75a.75.75 0 0 1 1.06 0l6.75 6.75a.75.75 0 1 1-1.06 1.06l-5.47-5.47V19.5a.75.75 0 0 1-.75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},87715:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},41476:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.72 5.47a.75.75 0 0 1 1.06 0L9 11.69l3.756-3.756a.75.75 0 0 1 .985-.066 12.698 12.698 0 0 1 4.575 6.832l.308 1.149 2.277-3.943a.75.75 0 1 1 1.299.75l-3.182 5.51a.75.75 0 0 1-1.025.275l-5.511-3.181a.75.75 0 0 1 .75-1.3l3.943 2.277-.308-1.149a11.194 11.194 0 0 0-3.528-5.617l-3.809 3.81a.75.75 0 0 1-1.06 0L1.72 6.53a.75.75 0 0 1 0-1.061Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12805:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.22 6.268a.75.75 0 0 1 .968-.431l5.942 2.28a.75.75 0 0 1 .431.97l-2.28 5.94a.75.75 0 1 1-1.4-.537l1.63-4.251-1.086.484a11.2 11.2 0 0 0-5.45 5.173.75.75 0 0 1-1.199.19L9 12.312l-6.22 6.22a.75.75 0 0 1-1.06-1.061l6.75-6.75a.75.75 0 0 1 1.06 0l3.606 3.606a12.695 12.695 0 0 1 5.68-4.974l1.086-.483-4.251-1.632a.75.75 0 0 1-.432-.97Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},79798:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.239 3.749a.75.75 0 0 0-.75.75V15H5.549l2.47-2.47a.75.75 0 0 0-1.06-1.06l-3.75 3.75a.75.75 0 0 0 0 1.06l3.75 3.75a.75.75 0 1 0 1.06-1.06L5.55 16.5h14.69a.75.75 0 0 0 .75-.75V4.5a.75.75 0 0 0-.75-.751Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},31332:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.74 3.749a.75.75 0 0 1 .75.75V15h13.938l-2.47-2.47a.75.75 0 0 1 1.061-1.06l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 0 1-1.06-1.06l2.47-2.47H3.738a.75.75 0 0 1-.75-.75V4.5a.75.75 0 0 1 .75-.751Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},59478:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.24 3.75a.75.75 0 0 1-.75.75H8.989v13.939l2.47-2.47a.75.75 0 1 1 1.06 1.061l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.751-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.469V3.75a.75.75 0 0 1 .75-.75H19.49a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},73191:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.24 20.249a.75.75 0 0 0-.75-.75H8.989V5.56l2.47 2.47a.75.75 0 0 0 1.06-1.061l-3.75-3.75a.75.75 0 0 0-1.06 0l-3.75 3.75a.75.75 0 1 0 1.06 1.06l2.47-2.469V20.25c0 .414.335.75.75.75h11.25a.75.75 0 0 0 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},51966:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.738 3.75c0 .414.336.75.75.75H14.99v13.939l-2.47-2.47a.75.75 0 0 0-1.06 1.061l3.75 3.75a.75.75 0 0 0 1.06 0l3.751-3.75a.75.75 0 0 0-1.06-1.06l-2.47 2.469V3.75a.75.75 0 0 0-.75-.75H4.487a.75.75 0 0 0-.75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},35309:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.738 20.249a.75.75 0 0 1 .75-.75H14.99V5.56l-2.47 2.47a.75.75 0 0 1-1.06-1.061l3.75-3.75a.75.75 0 0 1 1.06 0l3.751 3.75a.75.75 0 0 1-1.06 1.06L16.49 5.56V20.25a.75.75 0 0 1-.75.75H4.487a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},69644:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.239 20.25a.75.75 0 0 1-.75-.75V8.999H5.549l2.47 2.47a.75.75 0 0 1-1.06 1.06l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 1 1 1.06 1.06l-2.47 2.47h14.69a.75.75 0 0 1 .75.75V19.5a.75.75 0 0 1-.75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},68449:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.74 20.25a.75.75 0 0 0 .75-.75V8.999h13.938l-2.47 2.47a.75.75 0 0 0 1.061 1.06l3.75-3.75a.75.75 0 0 0 0-1.06l-3.75-3.75a.75.75 0 0 0-1.06 1.06l2.47 2.47H3.738a.75.75 0 0 0-.75.75V19.5c0 .414.336.75.75.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},84528:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm.53 5.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72v5.69a.75.75 0 0 0 1.5 0v-5.69l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},60066:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},82786:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.25 6.31v9.44a.75.75 0 0 1-1.5 0V4.5a.75.75 0 0 1 .75-.75h11.25a.75.75 0 0 1 0 1.5H6.31l13.72 13.72a.75.75 0 1 1-1.06 1.06L5.25 6.31Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12756:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.47 1.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1-1.06 1.06l-1.72-1.72V7.5h-1.5V4.06L9.53 5.78a.75.75 0 0 1-1.06-1.06l3-3ZM11.25 7.5V15a.75.75 0 0 0 1.5 0V7.5h3.75a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h3.75Z"}))}const o=n.forwardRef(a);e.exports=o},60802:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M9.97.97a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1-1.06 1.06l-1.72-1.72v3.44h-1.5V3.31L8.03 5.03a.75.75 0 0 1-1.06-1.06l3-3ZM9.75 6.75v6a.75.75 0 0 0 1.5 0v-6h3a3 3 0 0 1 3 3v7.5a3 3 0 0 1-3 3h-7.5a3 3 0 0 1-3-3v-7.5a3 3 0 0 1 3-3h3Z"}),n.createElement("path",{d:"M7.151 21.75a2.999 2.999 0 0 0 2.599 1.5h7.5a3 3 0 0 0 3-3v-7.5c0-1.11-.603-2.08-1.5-2.599v7.099a4.5 4.5 0 0 1-4.5 4.5H7.151Z"}))}const o=n.forwardRef(a);e.exports=o},77421:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.25 3.75H19.5a.75.75 0 0 1 .75.75v11.25a.75.75 0 0 1-1.5 0V6.31L5.03 20.03a.75.75 0 0 1-1.06-1.06L17.69 5.25H8.25a.75.75 0 0 1 0-1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},91861:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},41277:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15 3.75A5.25 5.25 0 0 0 9.75 9v10.19l4.72-4.72a.75.75 0 1 1 1.06 1.06l-6 6a.75.75 0 0 1-1.06 0l-6-6a.75.75 0 1 1 1.06-1.06l4.72 4.72V9a6.75 6.75 0 0 1 13.5 0v3a.75.75 0 0 1-1.5 0V9c0-2.9-2.35-5.25-5.25-5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},88527:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.53 2.47a.75.75 0 0 1 0 1.06L4.81 8.25H15a6.75 6.75 0 0 1 0 13.5h-3a.75.75 0 0 1 0-1.5h3a5.25 5.25 0 1 0 0-10.5H4.81l4.72 4.72a.75.75 0 1 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06l6-6a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},69163:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M14.47 2.47a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 1 1-1.06-1.06l4.72-4.72H9a5.25 5.25 0 1 0 0 10.5h3a.75.75 0 0 1 0 1.5H9a6.75 6.75 0 0 1 0-13.5h10.19l-4.72-4.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},92013:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M21.53 9.53a.75.75 0 0 1-1.06 0l-4.72-4.72V15a6.75 6.75 0 0 1-13.5 0v-3a.75.75 0 0 1 1.5 0v3a5.25 5.25 0 1 0 10.5 0V4.81L9.53 9.53a.75.75 0 0 1-1.06-1.06l6-6a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},46563:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.22 3.22a.75.75 0 0 1 1.06 0l3.97 3.97V4.5a.75.75 0 0 1 1.5 0V9a.75.75 0 0 1-.75.75H4.5a.75.75 0 0 1 0-1.5h2.69L3.22 4.28a.75.75 0 0 1 0-1.06Zm17.56 0a.75.75 0 0 1 0 1.06l-3.97 3.97h2.69a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75V4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0ZM3.75 15a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-2.69l-3.97 3.97a.75.75 0 0 1-1.06-1.06l3.97-3.97H4.5a.75.75 0 0 1-.75-.75Zm10.5 0a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-2.69l3.97 3.97a.75.75 0 1 1-1.06 1.06l-3.97-3.97v2.69a.75.75 0 0 1-1.5 0V15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},29503:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15 3.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0V5.56l-3.97 3.97a.75.75 0 1 1-1.06-1.06l3.97-3.97h-2.69a.75.75 0 0 1-.75-.75Zm-12 0A.75.75 0 0 1 3.75 3h4.5a.75.75 0 0 1 0 1.5H5.56l3.97 3.97a.75.75 0 0 1-1.06 1.06L4.5 5.56v2.69a.75.75 0 0 1-1.5 0v-4.5Zm11.47 11.78a.75.75 0 1 1 1.06-1.06l3.97 3.97v-2.69a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h2.69l-3.97-3.97Zm-4.94-1.06a.75.75 0 0 1 0 1.06L5.56 19.5h2.69a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},37587:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.97 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06l3.22-3.22H7.5a.75.75 0 0 1 0-1.5h11.69l-3.22-3.22a.75.75 0 0 1 0-1.06Zm-7.94 9a.75.75 0 0 1 0 1.06l-3.22 3.22H16.5a.75.75 0 0 1 0 1.5H4.81l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},64308:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.97 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06L8.25 4.81V16.5a.75.75 0 0 1-1.5 0V4.81L3.53 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5Zm9.53 4.28a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V7.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},83246:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M17.834 6.166a8.25 8.25 0 1 0 0 11.668.75.75 0 0 1 1.06 1.06c-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788 3.807-3.808 9.98-3.808 13.788 0A9.722 9.722 0 0 1 21.75 12c0 .975-.296 1.887-.809 2.571-.514.685-1.28 1.179-2.191 1.179-.904 0-1.666-.487-2.18-1.164a5.25 5.25 0 1 1-.82-6.26V8.25a.75.75 0 0 1 1.5 0V12c0 .682.208 1.27.509 1.671.3.401.659.579.991.579.332 0 .69-.178.991-.579.3-.4.509-.99.509-1.671a8.222 8.222 0 0 0-2.416-5.834ZM15.75 12a3.75 3.75 0 1 0-7.5 0 3.75 3.75 0 0 0 7.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},10348:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.515 10.674a1.875 1.875 0 0 0 0 2.652L8.89 19.7c.352.351.829.549 1.326.549H19.5a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-9.284c-.497 0-.974.198-1.326.55l-6.375 6.374ZM12.53 9.22a.75.75 0 1 0-1.06 1.06L13.19 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L15.31 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},42719:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M9.195 18.44c1.25.714 2.805-.189 2.805-1.629v-2.34l6.945 3.968c1.25.715 2.805-.188 2.805-1.628V8.69c0-1.44-1.555-2.343-2.805-1.628L12 11.029v-2.34c0-1.44-1.555-2.343-2.805-1.628l-7.108 4.061c-1.26.72-1.26 2.536 0 3.256l7.108 4.061Z"}))}const o=n.forwardRef(a);e.exports=o},20652:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 7.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}),n.createElement("path",{fillRule:"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 14.625v-9.75ZM8.25 9.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM18.75 9a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V9.75a.75.75 0 0 0-.75-.75h-.008ZM4.5 9.75A.75.75 0 0 1 5.25 9h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V9.75Z",clipRule:"evenodd"}),n.createElement("path",{d:"M2.25 18a.75.75 0 0 0 0 1.5c5.4 0 10.63.722 15.6 2.075 1.19.324 2.4-.558 2.4-1.82V18.75a.75.75 0 0 0-.75-.75H2.25Z"}))}const o=n.forwardRef(a);e.exports=o},66997:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 9a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 9Zm0 6.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},34326:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},30721:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm8.25 5.25a.75.75 0 0 1 .75-.75h8.25a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},66355:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},53664:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},39610:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 5.25Zm0 4.5A.75.75 0 0 1 3.75 9h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 9.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},267:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 4.5A.75.75 0 0 1 3 3.75h14.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Zm0 4.5A.75.75 0 0 1 3 8.25h9.75a.75.75 0 0 1 0 1.5H3A.75.75 0 0 1 2.25 9Zm15-.75A.75.75 0 0 1 18 9v10.19l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.47V9a.75.75 0 0 1 .75-.75Zm-15 5.25a.75.75 0 0 1 .75-.75h9.75a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},61923:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 4.5A.75.75 0 0 1 3 3.75h14.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Zm14.47 3.97a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 1 1-1.06 1.06L18 10.81V21a.75.75 0 0 1-1.5 0V10.81l-2.47 2.47a.75.75 0 1 1-1.06-1.06l3.75-3.75ZM2.25 9A.75.75 0 0 1 3 8.25h9.75a.75.75 0 0 1 0 1.5H3A.75.75 0 0 1 2.25 9Zm0 4.5a.75.75 0 0 1 .75-.75h5.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},14290:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M.75 9.75a3 3 0 0 1 3-3h15a3 3 0 0 1 3 3v.038c.856.173 1.5.93 1.5 1.837v2.25c0 .907-.644 1.664-1.5 1.838v.037a3 3 0 0 1-3 3h-15a3 3 0 0 1-3-3v-6Zm19.5 0a1.5 1.5 0 0 0-1.5-1.5h-15a1.5 1.5 0 0 0-1.5 1.5v6a1.5 1.5 0 0 0 1.5 1.5h15a1.5 1.5 0 0 0 1.5-1.5v-6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},57527:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 6.75a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-.037c.856-.174 1.5-.93 1.5-1.838v-2.25c0-.907-.644-1.664-1.5-1.837V9.75a3 3 0 0 0-3-3h-15Zm15 1.5a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-6a1.5 1.5 0 0 1 1.5-1.5h15ZM4.5 9.75a.75.75 0 0 0-.75.75V15c0 .414.336.75.75.75H18a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 0 0-.75-.75H4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},43484:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.5 9.75a.75.75 0 0 0-.75.75V15c0 .414.336.75.75.75h6.75A.75.75 0 0 0 12 15v-4.5a.75.75 0 0 0-.75-.75H4.5Z"}),n.createElement("path",{fillRule:"evenodd",d:"M3.75 6.75a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-.037c.856-.174 1.5-.93 1.5-1.838v-2.25c0-.907-.644-1.664-1.5-1.837V9.75a3 3 0 0 0-3-3h-15Zm15 1.5a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-6a1.5 1.5 0 0 1 1.5-1.5h15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58503:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.798v5.02a3 3 0 0 1-.879 2.121l-2.377 2.377a9.845 9.845 0 0 1 5.091 1.013 8.315 8.315 0 0 0 5.713.636l.285-.071-3.954-3.955a3 3 0 0 1-.879-2.121v-5.02a23.614 23.614 0 0 0-3 0Zm4.5.138a.75.75 0 0 0 .093-1.495A24.837 24.837 0 0 0 12 2.25a25.048 25.048 0 0 0-3.093.191A.75.75 0 0 0 9 3.936v4.882a1.5 1.5 0 0 1-.44 1.06l-6.293 6.294c-1.62 1.621-.903 4.475 1.471 4.88 2.686.46 5.447.698 8.262.698 2.816 0 5.576-.239 8.262-.697 2.373-.406 3.092-3.26 1.47-4.881L15.44 9.879A1.5 1.5 0 0 1 15 8.818V3.936Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},92608:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.85 3.5a.75.75 0 0 0-1.117-1 9.719 9.719 0 0 0-2.348 4.876.75.75 0 0 0 1.479.248A8.219 8.219 0 0 1 5.85 3.5ZM19.267 2.5a.75.75 0 1 0-1.118 1 8.22 8.22 0 0 1 1.987 4.124.75.75 0 0 0 1.48-.248A9.72 9.72 0 0 0 19.266 2.5Z"}),n.createElement("path",{fillRule:"evenodd",d:"M12 2.25A6.75 6.75 0 0 0 5.25 9v.75a8.217 8.217 0 0 1-2.119 5.52.75.75 0 0 0 .298 1.206c1.544.57 3.16.99 4.831 1.243a3.75 3.75 0 1 0 7.48 0 24.583 24.583 0 0 0 4.83-1.244.75.75 0 0 0 .298-1.205 8.217 8.217 0 0 1-2.118-5.52V9A6.75 6.75 0 0 0 12 2.25ZM9.75 18c0-.034 0-.067.002-.1a25.05 25.05 0 0 0 4.496 0l.002.1a2.25 2.25 0 1 1-4.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},83228:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.25 9a6.75 6.75 0 0 1 13.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 1 1-7.48 0 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},3986:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM20.57 16.476c-.223.082-.448.161-.674.238L7.319 4.137A6.75 6.75 0 0 1 18.75 9v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206Z"}),n.createElement("path",{fillRule:"evenodd",d:"M5.25 9c0-.184.007-.366.022-.546l10.384 10.384a3.751 3.751 0 0 1-7.396-1.119 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12644:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25A6.75 6.75 0 0 0 5.25 9v.75a8.217 8.217 0 0 1-2.119 5.52.75.75 0 0 0 .298 1.206c1.544.57 3.16.99 4.831 1.243a3.75 3.75 0 1 0 7.48 0 24.583 24.583 0 0 0 4.83-1.244.75.75 0 0 0 .298-1.205 8.217 8.217 0 0 1-2.118-5.52V9A6.75 6.75 0 0 0 12 2.25ZM9.75 18c0-.034 0-.067.002-.1a25.05 25.05 0 0 0 4.496 0l.002.1a2.25 2.25 0 1 1-4.5 0Zm.75-10.5a.75.75 0 0 0 0 1.5h1.599l-2.223 3.334A.75.75 0 0 0 10.5 13.5h3a.75.75 0 0 0 0-1.5h-1.599l2.223-3.334A.75.75 0 0 0 13.5 7.5h-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},14789:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.246 3.744a.75.75 0 0 1 .75-.75h7.125a4.875 4.875 0 0 1 3.346 8.422 5.25 5.25 0 0 1-2.97 9.58h-7.5a.75.75 0 0 1-.75-.75V3.744Zm7.125 6.75a2.625 2.625 0 0 0 0-5.25H8.246v5.25h4.125Zm-4.125 2.251v6h4.5a3 3 0 0 0 0-6h-4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78532:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},51845:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"m20.798 11.012-3.188 3.416L9.462 6.28l4.24-4.542a.75.75 0 0 1 1.272.71L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262ZM3.202 12.988 6.39 9.572l8.148 8.148-4.24 4.542a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262ZM3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18Z"}))}const o=n.forwardRef(a);e.exports=o},26948:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.25 4.533A9.707 9.707 0 0 0 6 3a9.735 9.735 0 0 0-3.25.555.75.75 0 0 0-.5.707v14.25a.75.75 0 0 0 1 .707A8.237 8.237 0 0 1 6 18.75c1.995 0 3.823.707 5.25 1.886V4.533ZM12.75 20.636A8.214 8.214 0 0 1 18 18.75c.966 0 1.89.166 2.75.47a.75.75 0 0 0 1-.708V4.262a.75.75 0 0 0-.5-.707A9.735 9.735 0 0 0 18 3a9.707 9.707 0 0 0-5.25 1.533v16.103Z"}))}const o=n.forwardRef(a);e.exports=o},68220:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.32 2.577a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V21a.75.75 0 0 1-1.085.67L12 18.089l-7.165 3.583A.75.75 0 0 1 3.75 21V5.507c0-1.47 1.073-2.756 2.57-2.93Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},94945:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM20.25 5.507v11.561L5.853 2.671c.15-.043.306-.075.467-.094a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93ZM3.75 21V6.932l14.063 14.063L12 18.088l-7.165 3.583A.75.75 0 0 1 3.75 21Z"}))}const o=n.forwardRef(a);e.exports=o},52929:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm1.5 1.5a.75.75 0 0 0-.75.75V16.5a.75.75 0 0 0 1.085.67L12 15.089l4.165 2.083a.75.75 0 0 0 1.085-.671V5.25a.75.75 0 0 0-.75-.75h-9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58065:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 5.25a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v.205c.933.085 1.857.197 2.774.334 1.454.218 2.476 1.483 2.476 2.917v3.033c0 1.211-.734 2.352-1.936 2.752A24.726 24.726 0 0 1 12 15.75c-2.73 0-5.357-.442-7.814-1.259-1.202-.4-1.936-1.541-1.936-2.752V8.706c0-1.434 1.022-2.7 2.476-2.917A48.814 48.814 0 0 1 7.5 5.455V5.25Zm7.5 0v.09a49.488 49.488 0 0 0-6 0v-.09a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5Zm-3 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}),n.createElement("path",{d:"M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"}))}const o=n.forwardRef(a);e.exports=o},3185:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.478 1.6a.75.75 0 0 1 .273 1.026 3.72 3.72 0 0 0-.425 1.121c.058.058.118.114.18.168A4.491 4.491 0 0 1 12 2.25c1.413 0 2.673.651 3.497 1.668.06-.054.12-.11.178-.167a3.717 3.717 0 0 0-.426-1.125.75.75 0 1 1 1.298-.752 5.22 5.22 0 0 1 .671 2.046.75.75 0 0 1-.187.582c-.241.27-.505.52-.787.749a4.494 4.494 0 0 1 .216 2.1c-.106.792-.753 1.295-1.417 1.403-.182.03-.364.057-.547.081.152.227.273.476.359.742a23.122 23.122 0 0 0 3.832-.803 23.241 23.241 0 0 0-.345-2.634.75.75 0 0 1 1.474-.28c.21 1.115.348 2.256.404 3.418a.75.75 0 0 1-.516.75c-1.527.499-3.119.854-4.76 1.049-.074.38-.22.735-.423 1.05 2.066.209 4.058.672 5.943 1.358a.75.75 0 0 1 .492.75 24.665 24.665 0 0 1-1.189 6.25.75.75 0 0 1-1.425-.47 23.14 23.14 0 0 0 1.077-5.306c-.5-.169-1.009-.32-1.524-.455.068.234.104.484.104.746 0 3.956-2.521 7.5-6 7.5-3.478 0-6-3.544-6-7.5 0-.262.037-.511.104-.746-.514.135-1.022.286-1.522.455.154 1.838.52 3.616 1.077 5.307a.75.75 0 1 1-1.425.468 24.662 24.662 0 0 1-1.19-6.25.75.75 0 0 1 .493-.749 24.586 24.586 0 0 1 4.964-1.24h.01c.321-.046.644-.085.969-.118a2.983 2.983 0 0 1-.424-1.05 24.614 24.614 0 0 1-4.76-1.05.75.75 0 0 1-.516-.75c.057-1.16.194-2.302.405-3.417a.75.75 0 0 1 1.474.28c-.164.862-.28 1.74-.345 2.634 1.237.371 2.517.642 3.832.803.085-.266.207-.515.359-.742a18.698 18.698 0 0 1-.547-.08c-.664-.11-1.311-.612-1.417-1.404a4.535 4.535 0 0 1 .217-2.103 6.788 6.788 0 0 1-.788-.751.75.75 0 0 1-.187-.583 5.22 5.22 0 0 1 .67-2.04.75.75 0 0 1 1.026-.273Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},15529:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.584 2.376a.75.75 0 0 1 .832 0l9 6a.75.75 0 1 1-.832 1.248L12 3.901 3.416 9.624a.75.75 0 0 1-.832-1.248l9-6Z"}),n.createElement("path",{fillRule:"evenodd",d:"M20.25 10.332v9.918H21a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1 0-1.5h.75v-9.918a.75.75 0 0 1 .634-.74A49.109 49.109 0 0 1 12 9c2.59 0 5.134.202 7.616.592a.75.75 0 0 1 .634.74Zm-7.5 2.418a.75.75 0 0 0-1.5 0v6.75a.75.75 0 0 0 1.5 0v-6.75Zm3-.75a.75.75 0 0 1 .75.75v6.75a.75.75 0 0 1-1.5 0v-6.75a.75.75 0 0 1 .75-.75ZM9 12.75a.75.75 0 0 0-1.5 0v6.75a.75.75 0 0 0 1.5 0v-6.75Z",clipRule:"evenodd"}),n.createElement("path",{d:"M12 7.875a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z"}))}const o=n.forwardRef(a);e.exports=o},17901:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5H15v-18a.75.75 0 0 0 0-1.5H3ZM6.75 19.5v-2.25a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 0 1.5h-.75A.75.75 0 0 1 6 6.75ZM6.75 9a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM6 12.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 6a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75Zm-.75 3.75A.75.75 0 0 1 10.5 9h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 12a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM16.5 6.75v15h5.25a.75.75 0 0 0 0-1.5H21v-12a.75.75 0 0 0 0-1.5h-4.5Zm1.5 4.5a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 2.25a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75h-.008ZM18 17.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},5032:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},73338:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.223 2.25c-.497 0-.974.198-1.325.55l-1.3 1.298A3.75 3.75 0 0 0 7.5 9.75c.627.47 1.406.75 2.25.75.844 0 1.624-.28 2.25-.75.626.47 1.406.75 2.25.75.844 0 1.623-.28 2.25-.75a3.75 3.75 0 0 0 4.902-5.652l-1.3-1.299a1.875 1.875 0 0 0-1.325-.549H5.223Z"}),n.createElement("path",{fillRule:"evenodd",d:"M3 20.25v-8.755c1.42.674 3.08.673 4.5 0A5.234 5.234 0 0 0 9.75 12c.804 0 1.568-.182 2.25-.506a5.234 5.234 0 0 0 2.25.506c.804 0 1.567-.182 2.25-.506 1.42.674 3.08.675 4.5.001v8.755h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3Zm3-6a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75v-3Zm8.25-.75a.75.75 0 0 0-.75.75v5.25c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-5.25a.75.75 0 0 0-.75-.75h-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12305:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"m15 1.784-.796.795a1.125 1.125 0 1 0 1.591 0L15 1.784ZM12 1.784l-.796.795a1.125 1.125 0 1 0 1.591 0L12 1.784ZM9 1.784l-.796.795a1.125 1.125 0 1 0 1.591 0L9 1.784ZM9.75 7.547c.498-.021.998-.035 1.5-.042V6.75a.75.75 0 0 1 1.5 0v.755c.502.007 1.002.021 1.5.042V6.75a.75.75 0 0 1 1.5 0v.88l.307.022c1.55.117 2.693 1.427 2.693 2.946v1.018a62.182 62.182 0 0 0-13.5 0v-1.018c0-1.519 1.143-2.829 2.693-2.946l.307-.022v-.88a.75.75 0 0 1 1.5 0v.797ZM12 12.75c-2.472 0-4.9.184-7.274.54-1.454.217-2.476 1.482-2.476 2.916v.384a4.104 4.104 0 0 1 2.585.364 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 3.67 0 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 3.67 0 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 2.585-.364v-.384c0-1.434-1.022-2.7-2.476-2.917A49.138 49.138 0 0 0 12 12.75ZM21.75 18.131a2.604 2.604 0 0 0-1.915.165 4.104 4.104 0 0 1-3.67 0 2.605 2.605 0 0 0-2.33 0 4.104 4.104 0 0 1-3.67 0 2.605 2.605 0 0 0-2.33 0 4.104 4.104 0 0 1-3.67 0 2.604 2.604 0 0 0-1.915-.165v2.494c0 1.035.84 1.875 1.875 1.875h15.75c1.035 0 1.875-.84 1.875-1.875v-2.494Z"}))}const o=n.forwardRef(a);e.exports=o},60474:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},77823:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 11.993a.75.75 0 0 0-.75.75v.006c0 .414.336.75.75.75h.006a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75H12ZM12 16.494a.75.75 0 0 0-.75.75v.005c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H12ZM8.999 17.244a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.006ZM7.499 16.494a.75.75 0 0 0-.75.75v.005c0 .414.336.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H7.5ZM13.499 14.997a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.005a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.005ZM14.25 16.494a.75.75 0 0 0-.75.75v.006c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75h-.005ZM15.75 14.995a.75.75 0 0 1 .75-.75h.005a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75H16.5a.75.75 0 0 1-.75-.75v-.006ZM13.498 12.743a.75.75 0 0 1 .75-.75h2.25a.75.75 0 1 1 0 1.5h-2.25a.75.75 0 0 1-.75-.75ZM6.748 14.993a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"}),n.createElement("path",{fillRule:"evenodd",d:"M18 2.993a.75.75 0 0 0-1.5 0v1.5h-9V2.994a.75.75 0 1 0-1.5 0v1.497h-.752a3 3 0 0 0-3 3v11.252a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3V7.492a3 3 0 0 0-3-3H18V2.993ZM3.748 18.743v-7.5a1.5 1.5 0 0 1 1.5-1.5h13.5a1.5 1.5 0 0 1 1.5 1.5v7.5a1.5 1.5 0 0 1-1.5 1.5h-13.5a1.5 1.5 0 0 1-1.5-1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},23921:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12.75 12.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.5 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM8.25 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM9.75 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM10.5 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM12.75 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM14.25 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM15 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM16.5 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM15 12.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM16.5 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"}),n.createElement("path",{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},26026:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},90210:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 9a3.75 3.75 0 1 0 0 7.5A3.75 3.75 0 0 0 12 9Z"}),n.createElement("path",{fillRule:"evenodd",d:"M9.344 3.071a49.52 49.52 0 0 1 5.312 0c.967.052 1.83.585 2.332 1.39l.821 1.317c.24.383.645.643 1.11.71.386.054.77.113 1.152.177 1.432.239 2.429 1.493 2.429 2.909V18a3 3 0 0 1-3 3h-15a3 3 0 0 1-3-3V9.574c0-1.416.997-2.67 2.429-2.909.382-.064.766-.123 1.151-.178a1.56 1.56 0 0 0 1.11-.71l.822-1.315a2.942 2.942 0 0 1 2.332-1.39ZM6.75 12.75a5.25 5.25 0 1 1 10.5 0 5.25 5.25 0 0 1-10.5 0Zm12-1.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},26080:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"}))}const o=n.forwardRef(a);e.exports=o},9282:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm4.5 7.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0v-2.25a.75.75 0 0 1 .75-.75Zm3.75-1.5a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V12Zm2.25-3a.75.75 0 0 1 .75.75v6.75a.75.75 0 0 1-1.5 0V9.75A.75.75 0 0 1 13.5 9Zm3.75-1.5a.75.75 0 0 0-1.5 0v9a.75.75 0 0 0 1.5 0v-9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},99149:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},67885:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},20396:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},525:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 0 0 1.28.53l4.184-4.183a.39.39 0 0 1 .266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0 0 12 2.25ZM8.25 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm2.625 1.125a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},8819:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97-1.94.284-3.916.455-5.922.505a.39.39 0 0 0-.266.112L8.78 21.53A.75.75 0 0 1 7.5 21v-3.955a48.842 48.842 0 0 1-2.652-.316c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},97387:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 0 0-1.032-.211 50.89 50.89 0 0 0-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 0 0 2.433 3.984L7.28 21.53A.75.75 0 0 1 6 21v-4.03a48.527 48.527 0 0 1-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979Z"}),n.createElement("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 0 0 1.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0 0 15.75 7.5Z"}))}const o=n.forwardRef(a);e.exports=o},55893:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.804 21.644A6.707 6.707 0 0 0 6 21.75a6.721 6.721 0 0 0 3.583-1.029c.774.182 1.584.279 2.417.279 5.322 0 9.75-3.97 9.75-9 0-5.03-4.428-9-9.75-9s-9.75 3.97-9.75 9c0 2.409 1.025 4.587 2.674 6.192.232.226.277.428.254.543a3.73 3.73 0 0 1-.814 1.686.75.75 0 0 0 .44 1.223ZM8.25 10.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25ZM10.875 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},88483:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.337 21.718a6.707 6.707 0 0 1-.533-.074.75.75 0 0 1-.44-1.223 3.73 3.73 0 0 0 .814-1.686c.023-.115-.022-.317-.254-.543C3.274 16.587 2.25 14.41 2.25 12c0-5.03 4.428-9 9.75-9s9.75 3.97 9.75 9c0 5.03-4.428 9-9.75 9-.833 0-1.643-.097-2.417-.279a6.721 6.721 0 0 1-4.246.997Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},95913:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},62950:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58661:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78421:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 13.28a.75.75 0 0 0 1.06 0l7.5-7.5a.75.75 0 0 0-1.06-1.06L12 11.69 5.03 4.72a.75.75 0 0 0-1.06 1.06l7.5 7.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M11.47 19.28a.75.75 0 0 0 1.06 0l7.5-7.5a.75.75 0 1 0-1.06-1.06L12 17.69l-6.97-6.97a.75.75 0 0 0-1.06 1.06l7.5 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},18388:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.72 11.47a.75.75 0 0 0 0 1.06l7.5 7.5a.75.75 0 1 0 1.06-1.06L12.31 12l6.97-6.97a.75.75 0 0 0-1.06-1.06l-7.5 7.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M4.72 11.47a.75.75 0 0 0 0 1.06l7.5 7.5a.75.75 0 1 0 1.06-1.06L6.31 12l6.97-6.97a.75.75 0 0 0-1.06-1.06l-7.5 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58760:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M13.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L11.69 12 4.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M19.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06L17.69 12l-6.97-6.97a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},64490:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 10.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 12.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M11.47 4.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 6.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},27786:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},77210:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},38815:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},36970:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 4.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 0 1-1.06-1.06l3.75-3.75Zm-3.75 9.75a.75.75 0 0 1 1.06 0L12 17.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},84294:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},10959:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M21 6.375c0 2.692-4.03 4.875-9 4.875S3 9.067 3 6.375 7.03 1.5 12 1.5s9 2.183 9 4.875Z"}),n.createElement("path",{d:"M12 12.75c2.685 0 5.19-.586 7.078-1.609a8.283 8.283 0 0 0 1.897-1.384c.016.121.025.244.025.368C21 12.817 16.97 15 12 15s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.285 8.285 0 0 0 1.897 1.384C6.809 12.164 9.315 12.75 12 12.75Z"}),n.createElement("path",{d:"M12 16.5c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 15.914 9.315 16.5 12 16.5Z"}),n.createElement("path",{d:"M12 20.25c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 19.664 9.315 20.25 12 20.25Z"}))}const o=n.forwardRef(a);e.exports=o},149:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375Zm9.586 4.594a.75.75 0 0 0-1.172-.938l-2.476 3.096-.908-.907a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.116-.062l3-3.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},50408:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M17.663 3.118c.225.015.45.032.673.05C19.876 3.298 21 4.604 21 6.109v9.642a3 3 0 0 1-3 3V16.5c0-5.922-4.576-10.775-10.384-11.217.324-1.132 1.3-2.01 2.548-2.114.224-.019.448-.036.673-.051A3 3 0 0 1 13.5 1.5H15a3 3 0 0 1 2.663 1.618ZM12 4.5A1.5 1.5 0 0 1 13.5 3H15a1.5 1.5 0 0 1 1.5 1.5H12Z",clipRule:"evenodd"}),n.createElement("path",{d:"M3 8.625c0-1.036.84-1.875 1.875-1.875h.375A3.75 3.75 0 0 1 9 10.5v1.875c0 1.036.84 1.875 1.875 1.875h1.875A3.75 3.75 0 0 1 16.5 18v2.625c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625v-12Z"}),n.createElement("path",{d:"M10.5 10.5a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963 5.23 5.23 0 0 0-3.434-1.279h-1.875a.375.375 0 0 1-.375-.375V10.5Z"}))}const o=n.forwardRef(a);e.exports=o},2865:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375ZM6 12a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V12Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM6 15a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V15Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM6 18a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V18Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},98534:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3A1.501 1.501 0 0 0 9 4.5h6A1.5 1.5 0 0 0 13.5 3h-3Zm-2.693.178A3 3 0 0 1 10.5 1.5h3a3 3 0 0 1 2.694 1.678c.497.042.992.092 1.486.15 1.497.173 2.57 1.46 2.57 2.929V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V6.257c0-1.47 1.073-2.756 2.57-2.93.493-.057.989-.107 1.487-.15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},51215:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 0 0 0-1.5h-3.75V6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},23906:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6 6 0 0 0-5.98 6.496A5.25 5.25 0 0 0 6.75 20.25H18a4.5 4.5 0 0 0 2.206-8.423 3.75 3.75 0 0 0-4.133-4.303A6.001 6.001 0 0 0 10.5 3.75Zm2.25 6a.75.75 0 0 0-1.5 0v4.94l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V9.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},61841:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6 6 0 0 0-5.98 6.496A5.25 5.25 0 0 0 6.75 20.25H18a4.5 4.5 0 0 0 2.206-8.423 3.75 3.75 0 0 0-4.133-4.303A6.001 6.001 0 0 0 10.5 3.75Zm2.03 5.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72v4.94a.75.75 0 0 0 1.5 0v-4.94l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},43880:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 9.75a6 6 0 0 1 11.573-2.226 3.75 3.75 0 0 1 4.133 4.303A4.5 4.5 0 0 1 18 20.25H6.75a5.25 5.25 0 0 1-2.23-10.004 6.072 6.072 0 0 1-.02-.496Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},97549:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M14.447 3.026a.75.75 0 0 1 .527.921l-4.5 16.5a.75.75 0 0 1-1.448-.394l4.5-16.5a.75.75 0 0 1 .921-.527ZM16.72 6.22a.75.75 0 0 1 1.06 0l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 1 1-1.06-1.06L21.44 12l-4.72-4.72a.75.75 0 0 1 0-1.06Zm-9.44 0a.75.75 0 0 1 0 1.06L2.56 12l4.72 4.72a.75.75 0 0 1-1.06 1.06L.97 12.53a.75.75 0 0 1 0-1.06l5.25-5.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},17450:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm14.25 6a.75.75 0 0 1-.22.53l-2.25 2.25a.75.75 0 1 1-1.06-1.06L15.44 12l-1.72-1.72a.75.75 0 1 1 1.06-1.06l2.25 2.25c.141.14.22.331.22.53Zm-10.28-.53a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06L8.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-2.25 2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},16375:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},98926:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.828 2.25c-.916 0-1.699.663-1.85 1.567l-.091.549a.798.798 0 0 1-.517.608 7.45 7.45 0 0 0-.478.198.798.798 0 0 1-.796-.064l-.453-.324a1.875 1.875 0 0 0-2.416.2l-.243.243a1.875 1.875 0 0 0-.2 2.416l.324.453a.798.798 0 0 1 .064.796 7.448 7.448 0 0 0-.198.478.798.798 0 0 1-.608.517l-.55.092a1.875 1.875 0 0 0-1.566 1.849v.344c0 .916.663 1.699 1.567 1.85l.549.091c.281.047.508.25.608.517.06.162.127.321.198.478a.798.798 0 0 1-.064.796l-.324.453a1.875 1.875 0 0 0 .2 2.416l.243.243c.648.648 1.67.733 2.416.2l.453-.324a.798.798 0 0 1 .796-.064c.157.071.316.137.478.198.267.1.47.327.517.608l.092.55c.15.903.932 1.566 1.849 1.566h.344c.916 0 1.699-.663 1.85-1.567l.091-.549a.798.798 0 0 1 .517-.608 7.52 7.52 0 0 0 .478-.198.798.798 0 0 1 .796.064l.453.324a1.875 1.875 0 0 0 2.416-.2l.243-.243c.648-.648.733-1.67.2-2.416l-.324-.453a.798.798 0 0 1-.064-.796c.071-.157.137-.316.198-.478.1-.267.327-.47.608-.517l.55-.091a1.875 1.875 0 0 0 1.566-1.85v-.344c0-.916-.663-1.699-1.567-1.85l-.549-.091a.798.798 0 0 1-.608-.517 7.507 7.507 0 0 0-.198-.478.798.798 0 0 1 .064-.796l.324-.453a1.875 1.875 0 0 0-.2-2.416l-.243-.243a1.875 1.875 0 0 0-2.416-.2l-.453.324a.798.798 0 0 1-.796.064 7.462 7.462 0 0 0-.478-.198.798.798 0 0 1-.517-.608l-.091-.55a1.875 1.875 0 0 0-1.85-1.566h-.344ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},18197:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M17.004 10.407c.138.435-.216.842-.672.842h-3.465a.75.75 0 0 1-.65-.375l-1.732-3c-.229-.396-.053-.907.393-1.004a5.252 5.252 0 0 1 6.126 3.537ZM8.12 8.464c.307-.338.838-.235 1.066.16l1.732 3a.75.75 0 0 1 0 .75l-1.732 3c-.229.397-.76.5-1.067.161A5.23 5.23 0 0 1 6.75 12a5.23 5.23 0 0 1 1.37-3.536ZM10.878 17.13c-.447-.098-.623-.608-.394-1.004l1.733-3.002a.75.75 0 0 1 .65-.375h3.465c.457 0 .81.407.672.842a5.252 5.252 0 0 1-6.126 3.539Z"}),n.createElement("path",{fillRule:"evenodd",d:"M21 12.75a.75.75 0 1 0 0-1.5h-.783a8.22 8.22 0 0 0-.237-1.357l.734-.267a.75.75 0 1 0-.513-1.41l-.735.268a8.24 8.24 0 0 0-.689-1.192l.6-.503a.75.75 0 1 0-.964-1.149l-.6.504a8.3 8.3 0 0 0-1.054-.885l.391-.678a.75.75 0 1 0-1.299-.75l-.39.676a8.188 8.188 0 0 0-1.295-.47l.136-.77a.75.75 0 0 0-1.477-.26l-.136.77a8.36 8.36 0 0 0-1.377 0l-.136-.77a.75.75 0 1 0-1.477.26l.136.77c-.448.121-.88.28-1.294.47l-.39-.676a.75.75 0 0 0-1.3.75l.392.678a8.29 8.29 0 0 0-1.054.885l-.6-.504a.75.75 0 1 0-.965 1.149l.6.503a8.243 8.243 0 0 0-.689 1.192L3.8 8.216a.75.75 0 1 0-.513 1.41l.735.267a8.222 8.222 0 0 0-.238 1.356h-.783a.75.75 0 0 0 0 1.5h.783c.042.464.122.917.238 1.356l-.735.268a.75.75 0 0 0 .513 1.41l.735-.268c.197.417.428.816.69 1.191l-.6.504a.75.75 0 0 0 .963 1.15l.601-.505c.326.323.679.62 1.054.885l-.392.68a.75.75 0 0 0 1.3.75l.39-.679c.414.192.847.35 1.294.471l-.136.77a.75.75 0 0 0 1.477.261l.137-.772a8.332 8.332 0 0 0 1.376 0l.136.772a.75.75 0 1 0 1.477-.26l-.136-.771a8.19 8.19 0 0 0 1.294-.47l.391.677a.75.75 0 0 0 1.3-.75l-.393-.679a8.29 8.29 0 0 0 1.054-.885l.601.504a.75.75 0 0 0 .964-1.15l-.6-.503c.261-.375.492-.774.69-1.191l.735.267a.75.75 0 1 0 .512-1.41l-.734-.267c.115-.439.195-.892.237-1.356h.784Zm-2.657-3.06a6.744 6.744 0 0 0-1.19-2.053 6.784 6.784 0 0 0-1.82-1.51A6.705 6.705 0 0 0 12 5.25a6.8 6.8 0 0 0-1.225.11 6.7 6.7 0 0 0-2.15.793 6.784 6.784 0 0 0-2.952 3.489.76.76 0 0 1-.036.098A6.74 6.74 0 0 0 5.251 12a6.74 6.74 0 0 0 3.366 5.842l.009.005a6.704 6.704 0 0 0 2.18.798l.022.003a6.792 6.792 0 0 0 2.368-.004 6.704 6.704 0 0 0 2.205-.811 6.785 6.785 0 0 0 1.762-1.484l.009-.01.009-.01a6.743 6.743 0 0 0 1.18-2.066c.253-.707.39-1.469.39-2.263a6.74 6.74 0 0 0-.408-2.309Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},76457:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm3.97.97a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06l-2.25 2.25a.75.75 0 0 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Zm4.28 4.28a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},90252:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 5.25a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3V15a3 3 0 0 1-3 3h-3v.257c0 .597.237 1.17.659 1.591l.621.622a.75.75 0 0 1-.53 1.28h-9a.75.75 0 0 1-.53-1.28l.621-.622a2.25 2.25 0 0 0 .659-1.59V18h-3a3 3 0 0 1-3-3V5.25Zm1.5 0v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},86271:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M16.5 7.5h-9v9h9v-9Z"}),n.createElement("path",{fillRule:"evenodd",d:"M8.25 2.25A.75.75 0 0 1 9 3v.75h2.25V3a.75.75 0 0 1 1.5 0v.75H15V3a.75.75 0 0 1 1.5 0v.75h.75a3 3 0 0 1 3 3v.75H21A.75.75 0 0 1 21 9h-.75v2.25H21a.75.75 0 0 1 0 1.5h-.75V15H21a.75.75 0 0 1 0 1.5h-.75v.75a3 3 0 0 1-3 3h-.75V21a.75.75 0 0 1-1.5 0v-.75h-2.25V21a.75.75 0 0 1-1.5 0v-.75H9V21a.75.75 0 0 1-1.5 0v-.75h-.75a3 3 0 0 1-3-3v-.75H3A.75.75 0 0 1 3 15h.75v-2.25H3a.75.75 0 0 1 0-1.5h.75V9H3a.75.75 0 0 1 0-1.5h.75v-.75a3 3 0 0 1 3-3h.75V3a.75.75 0 0 1 .75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V6.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},65902:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.5 3.75a3 3 0 0 0-3 3v.75h21v-.75a3 3 0 0 0-3-3h-15Z"}),n.createElement("path",{fillRule:"evenodd",d:"M22.5 9.75h-21v7.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-7.5Zm-18 3.75a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},23554:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12.378 1.602a.75.75 0 0 0-.756 0L3 6.632l9 5.25 9-5.25-8.622-5.03ZM21.75 7.93l-9 5.25v9l8.628-5.032a.75.75 0 0 0 .372-.648V7.93ZM11.25 22.18v-9l-9-5.25v8.57a.75.75 0 0 0 .372.648l8.628 5.033Z"}))}const o=n.forwardRef(a);e.exports=o},44376:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.622 1.602a.75.75 0 0 1 .756 0l2.25 1.313a.75.75 0 0 1-.756 1.295L12 3.118 10.128 4.21a.75.75 0 1 1-.756-1.295l2.25-1.313ZM5.898 5.81a.75.75 0 0 1-.27 1.025l-1.14.665 1.14.665a.75.75 0 1 1-.756 1.295L3.75 8.806v.944a.75.75 0 0 1-1.5 0V7.5a.75.75 0 0 1 .372-.648l2.25-1.312a.75.75 0 0 1 1.026.27Zm12.204 0a.75.75 0 0 1 1.026-.27l2.25 1.312a.75.75 0 0 1 .372.648v2.25a.75.75 0 0 1-1.5 0v-.944l-1.122.654a.75.75 0 1 1-.756-1.295l1.14-.665-1.14-.665a.75.75 0 0 1-.27-1.025Zm-9 5.25a.75.75 0 0 1 1.026-.27L12 11.882l1.872-1.092a.75.75 0 1 1 .756 1.295l-1.878 1.096V15a.75.75 0 0 1-1.5 0v-1.82l-1.878-1.095a.75.75 0 0 1-.27-1.025ZM3 13.5a.75.75 0 0 1 .75.75v1.82l1.878 1.095a.75.75 0 1 1-.756 1.295l-2.25-1.312a.75.75 0 0 1-.372-.648v-2.25A.75.75 0 0 1 3 13.5Zm18 0a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.372.648l-2.25 1.312a.75.75 0 1 1-.756-1.295l1.878-1.096V14.25a.75.75 0 0 1 .75-.75Zm-9 5.25a.75.75 0 0 1 .75.75v.944l1.122-.654a.75.75 0 1 1 .756 1.295l-2.25 1.313a.75.75 0 0 1-.756 0l-2.25-1.313a.75.75 0 1 1 .756-1.295l1.122.654V19.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},27095:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 21.75c5.385 0 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25 2.25 6.615 2.25 12s4.365 9.75 9.75 9.75ZM10.5 7.963a1.5 1.5 0 0 0-2.17-1.341l-.415.207a.75.75 0 0 0 .67 1.342L9 7.963V9.75h-.75a.75.75 0 1 0 0 1.5H9v4.688c0 .563.26 1.198.867 1.525A4.501 4.501 0 0 0 16.41 14.4c.199-.977-.636-1.649-1.415-1.649h-.745a.75.75 0 1 0 0 1.5h.656a3.002 3.002 0 0 1-4.327 1.893.113.113 0 0 1-.045-.051.336.336 0 0 1-.034-.154V11.25h5.25a.75.75 0 0 0 0-1.5H10.5V7.963Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},49157:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z"}),n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v.816a3.836 3.836 0 0 0-1.72.756c-.712.566-1.112 1.35-1.112 2.178 0 .829.4 1.612 1.113 2.178.502.4 1.102.647 1.719.756v2.978a2.536 2.536 0 0 1-.921-.421l-.879-.66a.75.75 0 0 0-.9 1.2l.879.66c.533.4 1.169.645 1.821.75V18a.75.75 0 0 0 1.5 0v-.81a4.124 4.124 0 0 0 1.821-.749c.745-.559 1.179-1.344 1.179-2.191 0-.847-.434-1.632-1.179-2.191a4.122 4.122 0 0 0-1.821-.75V8.354c.29.082.559.213.786.393l.415.33a.75.75 0 0 0 .933-1.175l-.415-.33a3.836 3.836 0 0 0-1.719-.755V6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58933:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.902 7.098a3.75 3.75 0 0 1 3.903-.884.75.75 0 1 0 .498-1.415A5.25 5.25 0 0 0 8.005 9.75H7.5a.75.75 0 0 0 0 1.5h.054a5.281 5.281 0 0 0 0 1.5H7.5a.75.75 0 0 0 0 1.5h.505a5.25 5.25 0 0 0 6.494 2.701.75.75 0 1 0-.498-1.415 3.75 3.75 0 0 1-4.252-1.286h3.001a.75.75 0 0 0 0-1.5H9.075a3.77 3.77 0 0 1 0-1.5h3.675a.75.75 0 0 0 0-1.5h-3c.105-.14.221-.274.348-.402Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},74690:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9.763 9.51a2.25 2.25 0 0 1 3.828-1.351.75.75 0 0 0 1.06-1.06 3.75 3.75 0 0 0-6.38 2.252c-.033.307 0 .595.032.822l.154 1.077H8.25a.75.75 0 0 0 0 1.5h.421l.138.964a3.75 3.75 0 0 1-.358 2.208l-.122.242a.75.75 0 0 0 .908 1.047l1.539-.512a1.5 1.5 0 0 1 .948 0l.655.218a3 3 0 0 0 2.29-.163l.666-.333a.75.75 0 1 0-.67-1.342l-.667.333a1.5 1.5 0 0 1-1.145.082l-.654-.218a3 3 0 0 0-1.898 0l-.06.02a5.25 5.25 0 0 0 .053-1.794l-.108-.752H12a.75.75 0 0 0 0-1.5H9.972l-.184-1.29a1.863 1.863 0 0 1-.025-.45Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},53906:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9 7.5A.75.75 0 0 0 9 9h1.5c.98 0 1.813.626 2.122 1.5H9A.75.75 0 0 0 9 12h3.622a2.251 2.251 0 0 1-2.122 1.5H9a.75.75 0 0 0-.53 1.28l3 3a.75.75 0 1 0 1.06-1.06L10.8 14.988A3.752 3.752 0 0 0 14.175 12H15a.75.75 0 0 0 0-1.5h-.825A3.733 3.733 0 0 0 13.5 9H15a.75.75 0 0 0 0-1.5H9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58170:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9.624 7.084a.75.75 0 0 0-1.248.832l2.223 3.334H9a.75.75 0 0 0 0 1.5h2.25v1.5H9a.75.75 0 0 0 0 1.5h2.25v1.5a.75.75 0 0 0 1.5 0v-1.5H15a.75.75 0 0 0 0-1.5h-2.25v-1.5H15a.75.75 0 0 0 0-1.5h-1.599l2.223-3.334a.75.75 0 1 0-1.248-.832L12 10.648 9.624 7.084Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},37292:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 1.5a.75.75 0 0 1 .75.75V4.5a.75.75 0 0 1-1.5 0V2.25A.75.75 0 0 1 12 1.5ZM5.636 4.136a.75.75 0 0 1 1.06 0l1.592 1.591a.75.75 0 0 1-1.061 1.06l-1.591-1.59a.75.75 0 0 1 0-1.061Zm12.728 0a.75.75 0 0 1 0 1.06l-1.591 1.592a.75.75 0 0 1-1.06-1.061l1.59-1.591a.75.75 0 0 1 1.061 0Zm-6.816 4.496a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68ZM3 10.5a.75.75 0 0 1 .75-.75H6a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 10.5Zm14.25 0a.75.75 0 0 1 .75-.75h2.25a.75.75 0 0 1 0 1.5H18a.75.75 0 0 1-.75-.75Zm-8.962 3.712a.75.75 0 0 1 0 1.061l-1.591 1.591a.75.75 0 1 1-1.061-1.06l1.591-1.592a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},97681:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M17.303 5.197A7.5 7.5 0 0 0 6.697 15.803a.75.75 0 0 1-1.061 1.061A9 9 0 1 1 21 10.5a.75.75 0 0 1-1.5 0c0-1.92-.732-3.839-2.197-5.303Zm-2.121 2.121a4.5 4.5 0 0 0-6.364 6.364.75.75 0 1 1-1.06 1.06A6 6 0 1 1 18 10.5a.75.75 0 0 1-1.5 0c0-1.153-.44-2.303-1.318-3.182Zm-3.634 1.314a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},19767:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M10.5 18.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),n.createElement("path",{fillRule:"evenodd",d:"M8.625.75A3.375 3.375 0 0 0 5.25 4.125v15.75a3.375 3.375 0 0 0 3.375 3.375h6.75a3.375 3.375 0 0 0 3.375-3.375V4.125A3.375 3.375 0 0 0 15.375.75h-6.75ZM7.5 4.125C7.5 3.504 8.004 3 8.625 3H9.75v.375c0 .621.504 1.125 1.125 1.125h2.25c.621 0 1.125-.504 1.125-1.125V3h1.125c.621 0 1.125.504 1.125 1.125v15.75c0 .621-.504 1.125-1.125 1.125h-6.75A1.125 1.125 0 0 1 7.5 19.875V4.125Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},3411:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M10.5 18a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),n.createElement("path",{fillRule:"evenodd",d:"M7.125 1.5A3.375 3.375 0 0 0 3.75 4.875v14.25A3.375 3.375 0 0 0 7.125 22.5h9.75a3.375 3.375 0 0 0 3.375-3.375V4.875A3.375 3.375 0 0 0 16.875 1.5h-9.75ZM6 4.875c0-.621.504-1.125 1.125-1.125h9.75c.621 0 1.125.504 1.125 1.125v14.25c0 .621-.504 1.125-1.125 1.125h-9.75A1.125 1.125 0 0 1 6 19.125V4.875Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},26121:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.874 5.248a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm-7.125 6.75a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75Zm7.125 6.753a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},14077:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm5.845 17.03a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V12a.75.75 0 0 0-1.5 0v4.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},71950:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm6.905 9.97a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V18a.75.75 0 0 0 1.5 0v-4.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},77569:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 17.25a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-.75Zm2.25-3a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 .75-.75Zm3.75-1.5a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-5.25Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},19513:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9 1.5H5.625c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5Zm6.61 10.936a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 14.47a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}),n.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const o=n.forwardRef(a);e.exports=o},45646:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.75 5.56c0-1.336-1.616-2.005-2.56-1.06l-.22.22a.75.75 0 0 0 1.06 1.06l.22-.22v1.94h-.75a.75.75 0 0 0 0 1.5H9v3c0 .671.307 1.453 1.068 1.815a4.5 4.5 0 0 0 5.993-2.123c.233-.487.14-1-.136-1.37A1.459 1.459 0 0 0 14.757 15h-.507a.75.75 0 0 0 0 1.5h.349a2.999 2.999 0 0 1-3.887 1.21c-.091-.043-.212-.186-.212-.46v-3h5.25a.75.75 0 1 0 0-1.5H10.5v-1.94Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},24737:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25ZM12 10.5a.75.75 0 0 1 .75.75v.028a9.727 9.727 0 0 1 1.687.28.75.75 0 1 1-.374 1.452 8.207 8.207 0 0 0-1.313-.226v1.68l.969.332c.67.23 1.281.85 1.281 1.704 0 .158-.007.314-.02.468-.083.931-.83 1.582-1.669 1.695a9.776 9.776 0 0 1-.561.059v.028a.75.75 0 0 1-1.5 0v-.029a9.724 9.724 0 0 1-1.687-.278.75.75 0 0 1 .374-1.453c.425.11.864.186 1.313.226v-1.68l-.968-.332C9.612 14.974 9 14.354 9 13.5c0-.158.007-.314.02-.468.083-.931.831-1.582 1.67-1.694.185-.025.372-.045.56-.06v-.028a.75.75 0 0 1 .75-.75Zm-1.11 2.324c.119-.016.239-.03.36-.04v1.166l-.482-.165c-.208-.072-.268-.211-.268-.285 0-.113.005-.225.015-.336.013-.146.14-.309.374-.34Zm1.86 4.392V16.05l.482.165c.208.072.268.211.268.285 0 .113-.005.225-.015.336-.012.146-.14.309-.374.34-.12.016-.24.03-.361.04Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},38600:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm7.464 9.442c.459-.573 1.019-.817 1.536-.817.517 0 1.077.244 1.536.817a.75.75 0 1 0 1.171-.937c-.713-.892-1.689-1.38-2.707-1.38-1.018 0-1.994.488-2.707 1.38a4.61 4.61 0 0 0-.705 1.245H8.25a.75.75 0 0 0 0 1.5h.763c-.017.25-.017.5 0 .75H8.25a.75.75 0 0 0 0 1.5h1.088c.17.449.406.87.705 1.245.713.892 1.689 1.38 2.707 1.38 1.018 0 1.994-.488 2.707-1.38a.75.75 0 0 0-1.171-.937c-.459.573-1.019.817-1.536.817-.517 0-1.077-.244-1.536-.817-.078-.098-.15-.2-.215-.308h1.751a.75.75 0 0 0 0-1.5h-2.232a3.965 3.965 0 0 1 0-.75h2.232a.75.75 0 0 0 0-1.5H11c.065-.107.136-.21.214-.308Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},79186:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.674 9.583a2.249 2.249 0 0 1 3.765-2.174.75.75 0 0 0 1.06-1.06A3.75 3.75 0 0 0 9.076 15H8.25a.75.75 0 0 0 0 1.5h1.156a3.75 3.75 0 0 1-.206 1.559l-.156.439a.75.75 0 0 0 1.042.923l.439-.22a2.113 2.113 0 0 1 1.613-.115 3.613 3.613 0 0 0 2.758-.196l.44-.22a.75.75 0 1 0-.671-1.341l-.44.22a2.113 2.113 0 0 1-1.613.114 3.612 3.612 0 0 0-1.745-.134c.048-.341.062-.686.042-1.029H12a.75.75 0 0 0 0-1.5h-1.379l-.045-.167Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78855:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-4.5 5.25a.75.75 0 0 0 0 1.5h.375c.769 0 1.43.463 1.719 1.125H9.75a.75.75 0 0 0 0 1.5h2.094a1.875 1.875 0 0 1-1.719 1.125H9.75a.75.75 0 0 0-.53 1.28l2.25 2.25a.75.75 0 0 0 1.06-1.06l-1.193-1.194a3.382 3.382 0 0 0 2.08-2.401h.833a.75.75 0 0 0 0-1.5h-.834A3.357 3.357 0 0 0 12.932 12h1.318a.75.75 0 0 0 0-1.5H10.5c-.04 0-.08.003-.12.01a3.425 3.425 0 0 0-.255-.01H9.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},13935:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.9 5.55a.75.75 0 0 0-1.2.9l1.912 2.55H9.75a.75.75 0 0 0 0 1.5h1.5v.75h-1.5a.75.75 0 0 0 0 1.5h1.5v.75a.75.75 0 1 0 1.5 0V18h1.5a.75.75 0 1 0 0-1.5h-1.5v-.75h1.5a.75.75 0 1 0 0-1.5h-1.313l1.913-2.55a.75.75 0 1 0-1.2-.9L12 13l-1.65-2.2Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},66308:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"}),n.createElement("path",{d:"M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"}))}const o=n.forwardRef(a);e.exports=o},6659:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625Z"}),n.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const o=n.forwardRef(a);e.exports=o},18048:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.625 16.5a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75Z"}),n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm6 16.5c.66 0 1.277-.19 1.797-.518l1.048 1.048a.75.75 0 0 0 1.06-1.06l-1.047-1.048A3.375 3.375 0 1 0 11.625 18Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},17803:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 14.25a.75.75 0 0 0 0 1.5H15a.75.75 0 0 0 0-1.5H9.75Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},77838:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V12Z",clipRule:"evenodd"}),n.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const o=n.forwardRef(a);e.exports=o},72313:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),n.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const o=n.forwardRef(a);e.exports=o},20101:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm0 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25ZM15.375 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 10.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},68079:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 12a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},17376:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},70524:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),n.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))}const o=n.forwardRef(a);e.exports=o},88407:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M19.5 22.5a3 3 0 0 0 3-3v-8.174l-6.879 4.022 3.485 1.876a.75.75 0 1 1-.712 1.321l-5.683-3.06a1.5 1.5 0 0 0-1.422 0l-5.683 3.06a.75.75 0 0 1-.712-1.32l3.485-1.877L1.5 11.326V19.5a3 3 0 0 0 3 3h15Z"}),n.createElement("path",{d:"M1.5 9.589v-.745a3 3 0 0 1 1.578-2.642l7.5-4.038a3 3 0 0 1 2.844 0l7.5 4.038A3 3 0 0 1 22.5 8.844v.745l-8.426 4.926-.652-.351a3 3 0 0 0-2.844 0l-.652.351L1.5 9.589Z"}))}const o=n.forwardRef(a);e.exports=o},69266:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.748 8.248a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75ZM3.748 15.75a.75.75 0 0 1 .75-.751h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},22903:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},32962:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},63237:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.098 2.598a3.75 3.75 0 1 1 3.622 6.275l-1.72.46V12a.75.75 0 0 1-.22.53l-.75.75a.75.75 0 0 1-1.06 0l-.97-.97-7.94 7.94a2.56 2.56 0 0 1-1.81.75 1.06 1.06 0 0 0-.75.31l-.97.97a.75.75 0 0 1-1.06 0l-.75-.75a.75.75 0 0 1 0-1.06l.97-.97a1.06 1.06 0 0 0 .31-.75c0-.68.27-1.33.75-1.81L11.69 9l-.97-.97a.75.75 0 0 1 0-1.06l.75-.75A.75.75 0 0 1 12 6h2.666l.461-1.72c.165-.617.49-1.2.971-1.682Zm-3.348 7.463L4.81 18a1.06 1.06 0 0 0-.31.75c0 .318-.06.63-.172.922a2.56 2.56 0 0 1 .922-.172c.281 0 .551-.112.75-.31l7.94-7.94-1.19-1.19Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},29707:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}),n.createElement("path",{fillRule:"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},26532:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"}),n.createElement("path",{d:"M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"}),n.createElement("path",{d:"M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"}))}const o=n.forwardRef(a);e.exports=o},90510:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-2.625 6c-.54 0-.828.419-.936.634a1.96 1.96 0 0 0-.189.866c0 .298.059.605.189.866.108.215.395.634.936.634.54 0 .828-.419.936-.634.13-.26.189-.568.189-.866 0-.298-.059-.605-.189-.866-.108-.215-.395-.634-.936-.634Zm4.314.634c.108-.215.395-.634.936-.634.54 0 .828.419.936.634.13.26.189.568.189.866 0 .298-.059.605-.189.866-.108.215-.395.634-.936.634-.54 0-.828-.419-.936-.634a1.96 1.96 0 0 1-.189-.866c0-.298.059-.605.189-.866Zm-4.34 7.964a.75.75 0 0 1-1.061-1.06 5.236 5.236 0 0 1 3.73-1.538 5.236 5.236 0 0 1 3.695 1.538.75.75 0 1 1-1.061 1.06 3.736 3.736 0 0 0-2.639-1.098 3.736 3.736 0 0 0-2.664 1.098Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},68561:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-2.625 6c-.54 0-.828.419-.936.634a1.96 1.96 0 0 0-.189.866c0 .298.059.605.189.866.108.215.395.634.936.634.54 0 .828-.419.936-.634.13-.26.189-.568.189-.866 0-.298-.059-.605-.189-.866-.108-.215-.395-.634-.936-.634Zm4.314.634c.108-.215.395-.634.936-.634.54 0 .828.419.936.634.13.26.189.568.189.866 0 .298-.059.605-.189.866-.108.215-.395.634-.936.634-.54 0-.828-.419-.936-.634a1.96 1.96 0 0 1-.189-.866c0-.298.059-.605.189-.866Zm2.023 6.828a.75.75 0 1 0-1.06-1.06 3.75 3.75 0 0 1-5.304 0 .75.75 0 0 0-1.06 1.06 5.25 5.25 0 0 0 7.424 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},99800:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 5.625c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v12.75c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 18.375V5.625Zm1.5 0v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5A.375.375 0 0 0 3 5.625Zm16.125-.375a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5A.375.375 0 0 0 21 7.125v-1.5a.375.375 0 0 0-.375-.375h-1.5ZM21 9.375A.375.375 0 0 0 20.625 9h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5ZM4.875 18.75a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5ZM3.375 15h1.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375Zm0-3.75h1.5a.375.375 0 0 0 .375-.375v-1.5A.375.375 0 0 0 4.875 9h-1.5A.375.375 0 0 0 3 9.375v1.5c0 .207.168.375.375.375Zm4.125 0a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 0-1.5h-9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},60738:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 3.75a6.715 6.715 0 0 0-3.722 1.118.75.75 0 1 1-.828-1.25 8.25 8.25 0 0 1 12.8 6.883c0 3.014-.574 5.897-1.62 8.543a.75.75 0 0 1-1.395-.551A21.69 21.69 0 0 0 18.75 10.5 6.75 6.75 0 0 0 12 3.75ZM6.157 5.739a.75.75 0 0 1 .21 1.04A6.715 6.715 0 0 0 5.25 10.5c0 1.613-.463 3.12-1.265 4.393a.75.75 0 0 1-1.27-.8A6.715 6.715 0 0 0 3.75 10.5c0-1.68.503-3.246 1.367-4.55a.75.75 0 0 1 1.04-.211ZM12 7.5a3 3 0 0 0-3 3c0 3.1-1.176 5.927-3.105 8.056a.75.75 0 1 1-1.112-1.008A10.459 10.459 0 0 0 7.5 10.5a4.5 4.5 0 1 1 9 0c0 .547-.022 1.09-.067 1.626a.75.75 0 0 1-1.495-.123c.041-.495.062-.996.062-1.503a3 3 0 0 0-3-3Zm0 2.25a.75.75 0 0 1 .75.75c0 3.908-1.424 7.485-3.781 10.238a.75.75 0 0 1-1.14-.975A14.19 14.19 0 0 0 11.25 10.5a.75.75 0 0 1 .75-.75Zm3.239 5.183a.75.75 0 0 1 .515.927 19.417 19.417 0 0 1-2.585 5.544.75.75 0 0 1-1.243-.84 17.915 17.915 0 0 0 2.386-5.116.75.75 0 0 1 .927-.515Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},25627:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.963 2.286a.75.75 0 0 0-1.071-.136 9.742 9.742 0 0 0-3.539 6.176 7.547 7.547 0 0 1-1.705-1.715.75.75 0 0 0-1.152-.082A9 9 0 1 0 15.68 4.534a7.46 7.46 0 0 1-2.717-2.248ZM15.75 14.25a3.75 3.75 0 1 1-7.313-1.172c.628.465 1.35.81 2.133 1a5.99 5.99 0 0 1 1.925-3.546 3.75 3.75 0 0 1 3.255 3.718Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},33349:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 2.25a.75.75 0 0 1 .75.75v.54l1.838-.46a9.75 9.75 0 0 1 6.725.738l.108.054A8.25 8.25 0 0 0 18 4.524l3.11-.732a.75.75 0 0 1 .917.81 47.784 47.784 0 0 0 .005 10.337.75.75 0 0 1-.574.812l-3.114.733a9.75 9.75 0 0 1-6.594-.77l-.108-.054a8.25 8.25 0 0 0-5.69-.625l-2.202.55V21a.75.75 0 0 1-1.5 0V3A.75.75 0 0 1 3 2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},29270:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15Zm-6.75-10.5a.75.75 0 0 0-1.5 0v4.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V10.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},74705:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M19.5 21a3 3 0 0 0 3-3v-4.5a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h15ZM1.5 10.146V6a3 3 0 0 1 3-3h5.379a2.25 2.25 0 0 1 1.59.659l2.122 2.121c.14.141.331.22.53.22H19.5a3 3 0 0 1 3 3v1.146A4.483 4.483 0 0 0 19.5 9h-15a4.483 4.483 0 0 0-3 1.146Z"}))}const o=n.forwardRef(a);e.exports=o},11341:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15ZM9 12.75a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5H9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},11149:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M19.906 9c.382 0 .749.057 1.094.162V9a3 3 0 0 0-3-3h-3.879a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H6a3 3 0 0 0-3 3v3.162A3.756 3.756 0 0 1 4.094 9h15.812ZM4.094 10.5a2.25 2.25 0 0 0-2.227 2.568l.857 6A2.25 2.25 0 0 0 4.951 21H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-2.227-2.568H4.094Z"}))}const o=n.forwardRef(a);e.exports=o},39399:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15Zm-6.75-10.5a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25v2.25a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V10.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},64230:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.055 7.06C3.805 6.347 2.25 7.25 2.25 8.69v8.122c0 1.44 1.555 2.343 2.805 1.628L12 14.471v2.34c0 1.44 1.555 2.343 2.805 1.628l7.108-4.061c1.26-.72 1.26-2.536 0-3.256l-7.108-4.061C13.555 6.346 12 7.249 12 8.689v2.34L5.055 7.061Z"}))}const o=n.forwardRef(a);e.exports=o},2198:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.792 2.938A49.069 49.069 0 0 1 12 2.25c2.797 0 5.54.236 8.209.688a1.857 1.857 0 0 1 1.541 1.836v1.044a3 3 0 0 1-.879 2.121l-6.182 6.182a1.5 1.5 0 0 0-.439 1.061v2.927a3 3 0 0 1-1.658 2.684l-1.757.878A.75.75 0 0 1 9.75 21v-5.818a1.5 1.5 0 0 0-.44-1.06L3.13 7.938a3 3 0 0 1-.879-2.121V4.774c0-.897.64-1.683 1.542-1.836Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},76104:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm9 4.5a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0v-7.5Zm1.5 0a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H16.5v2.25H18a.75.75 0 0 1 0 1.5h-1.5v3a.75.75 0 0 1-1.5 0v-7.5ZM6.636 9.78c.404-.575.867-.78 1.25-.78s.846.205 1.25.78a.75.75 0 0 0 1.228-.863C9.738 8.027 8.853 7.5 7.886 7.5c-.966 0-1.852.527-2.478 1.417-.62.882-.908 2-.908 3.083 0 1.083.288 2.201.909 3.083.625.89 1.51 1.417 2.477 1.417.967 0 1.852-.527 2.478-1.417a.75.75 0 0 0 .136-.431V12a.75.75 0 0 0-.75-.75h-1.5a.75.75 0 0 0 0 1.5H9v1.648c-.37.44-.774.602-1.114.602-.383 0-.846-.205-1.25-.78C6.226 13.638 6 12.837 6 12c0-.837.226-1.638.636-2.22Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},50423:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M9.375 3a1.875 1.875 0 0 0 0 3.75h1.875v4.5H3.375A1.875 1.875 0 0 1 1.5 9.375v-.75c0-1.036.84-1.875 1.875-1.875h3.193A3.375 3.375 0 0 1 12 2.753a3.375 3.375 0 0 1 5.432 3.997h3.943c1.035 0 1.875.84 1.875 1.875v.75c0 1.036-.84 1.875-1.875 1.875H12.75v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875V6.75h-1.5V4.875C11.25 3.839 10.41 3 9.375 3ZM11.25 12.75H3v6.75a2.25 2.25 0 0 0 2.25 2.25h6v-9ZM12.75 12.75v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75h-9Z"}))}const o=n.forwardRef(a);e.exports=o},30327:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.25 3v4.046a3 3 0 0 0-4.277 4.204H1.5v-6A2.25 2.25 0 0 1 3.75 3h7.5ZM12.75 3v4.011a3 3 0 0 1 4.239 4.239H22.5v-6A2.25 2.25 0 0 0 20.25 3h-7.5ZM22.5 12.75h-8.983a4.125 4.125 0 0 0 4.108 3.75.75.75 0 0 1 0 1.5 5.623 5.623 0 0 1-4.875-2.817V21h7.5a2.25 2.25 0 0 0 2.25-2.25v-6ZM11.25 21v-5.817A5.623 5.623 0 0 1 6.375 18a.75.75 0 0 1 0-1.5 4.126 4.126 0 0 0 4.108-3.75H1.5v6A2.25 2.25 0 0 0 3.75 21h7.5Z"}),n.createElement("path",{d:"M11.085 10.354c.03.297.038.575.036.805a7.484 7.484 0 0 1-.805-.036c-.833-.084-1.677-.325-2.195-.843a1.5 1.5 0 0 1 2.122-2.12c.517.517.759 1.36.842 2.194ZM12.877 10.354c-.03.297-.038.575-.036.805.23.002.508-.006.805-.036.833-.084 1.677-.325 2.195-.843A1.5 1.5 0 0 0 13.72 8.16c-.518.518-.76 1.362-.843 2.194Z"}))}const o=n.forwardRef(a);e.exports=o},70573:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))}const o=n.forwardRef(a);e.exports=o},62796:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM6.262 6.072a8.25 8.25 0 1 0 10.562-.766 4.5 4.5 0 0 1-1.318 1.357L14.25 7.5l.165.33a.809.809 0 0 1-1.086 1.085l-.604-.302a1.125 1.125 0 0 0-1.298.21l-.132.131c-.439.44-.439 1.152 0 1.591l.296.296c.256.257.622.374.98.314l1.17-.195c.323-.054.654.036.905.245l1.33 1.108c.32.267.46.694.358 1.1a8.7 8.7 0 0 1-2.288 4.04l-.723.724a1.125 1.125 0 0 1-1.298.21l-.153-.076a1.125 1.125 0 0 1-.622-1.006v-1.089c0-.298-.119-.585-.33-.796l-1.347-1.347a1.125 1.125 0 0 1-.21-1.298L9.75 12l-1.64-1.64a6 6 0 0 1-1.676-3.257l-.172-1.03Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},23129:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M15.75 8.25a.75.75 0 0 1 .75.75c0 1.12-.492 2.126-1.27 2.812a.75.75 0 1 1-.992-1.124A2.243 2.243 0 0 0 15 9a.75.75 0 0 1 .75-.75Z"}),n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM4.575 15.6a8.25 8.25 0 0 0 9.348 4.425 1.966 1.966 0 0 0-1.84-1.275.983.983 0 0 1-.97-.822l-.073-.437c-.094-.565.25-1.11.8-1.267l.99-.282c.427-.123.783-.418.982-.816l.036-.073a1.453 1.453 0 0 1 2.328-.377L16.5 15h.628a2.25 2.25 0 0 1 1.983 1.186 8.25 8.25 0 0 0-6.345-12.4c.044.262.18.503.389.676l1.068.89c.442.369.535 1.01.216 1.49l-.51.766a2.25 2.25 0 0 1-1.161.886l-.143.048a1.107 1.107 0 0 0-.57 1.664c.369.555.169 1.307-.427 1.605L9 13.125l.423 1.059a.956.956 0 0 1-1.652.928l-.679-.906a1.125 1.125 0 0 0-1.906.172L4.575 15.6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},20106:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM8.547 4.505a8.25 8.25 0 1 0 11.672 8.214l-.46-.46a2.252 2.252 0 0 1-.422-.586l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.211.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.654-.261a2.25 2.25 0 0 1-1.384-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.279-2.132Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78817:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.243 3.743a.75.75 0 0 1 .75.75v6.75h9v-6.75a.75.75 0 1 1 1.5 0v15.002a.75.75 0 1 1-1.5 0v-6.751h-9v6.75a.75.75 0 1 1-1.5 0v-15a.75.75 0 0 1 .75-.75Zm17.605 4.964a.75.75 0 0 1 .396.661v9.376h1.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h1.5V10.77l-1.084.722a.75.75 0 1 1-.832-1.248l2.25-1.5a.75.75 0 0 1 .77-.037Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58628:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.246 3.743a.75.75 0 0 1 .75.75v6.75h9v-6.75a.75.75 0 0 1 1.5 0v15.002a.75.75 0 1 1-1.5 0v-6.751h-9v6.75a.75.75 0 1 1-1.5 0v-15a.75.75 0 0 1 .75-.75ZM18.75 10.5c-.727 0-1.441.054-2.138.16a.75.75 0 1 1-.223-1.484 15.867 15.867 0 0 1 3.635-.125c1.149.092 2.153.923 2.348 2.115.084.516.128 1.045.128 1.584 0 1.065-.676 1.927-1.531 2.354l-2.89 1.445a1.5 1.5 0 0 0-.829 1.342v.86h4.5a.75.75 0 1 1 0 1.5H16.5a.75.75 0 0 1-.75-.75v-1.61a3 3 0 0 1 1.659-2.684l2.89-1.445c.447-.223.701-.62.701-1.012a8.32 8.32 0 0 0-.108-1.342c-.075-.457-.47-.82-.987-.862a14.45 14.45 0 0 0-1.155-.046Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},89954:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.749 3.743a.75.75 0 0 1 .75.75v15.002a.75.75 0 1 1-1.5 0v-6.75H2.997v6.75a.75.75 0 0 1-1.5 0V4.494a.75.75 0 1 1 1.5 0v6.75H12v-6.75a.75.75 0 0 1 .75-.75ZM18.75 10.5c-.727 0-1.441.055-2.139.16a.75.75 0 1 1-.223-1.483 15.87 15.87 0 0 1 3.82-.11c.95.088 1.926.705 2.168 1.794a5.265 5.265 0 0 1-.579 3.765 5.265 5.265 0 0 1 .578 3.765c-.24 1.088-1.216 1.706-2.167 1.793a15.942 15.942 0 0 1-3.82-.109.75.75 0 0 1 .223-1.483 14.366 14.366 0 0 0 3.46.099c.467-.043.773-.322.84-.624a3.768 3.768 0 0 0-.413-2.691H18a.75.75 0 0 1 0-1.5h2.498a3.768 3.768 0 0 0 .413-2.69c-.067-.303-.373-.582-.84-.625-.435-.04-.876-.06-1.321-.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78745:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M10.5 1.875a1.125 1.125 0 0 1 2.25 0v8.219c.517.162 1.02.382 1.5.659V3.375a1.125 1.125 0 0 1 2.25 0v10.937a4.505 4.505 0 0 0-3.25 2.373 8.963 8.963 0 0 1 4-.935A.75.75 0 0 0 18 15v-2.266a3.368 3.368 0 0 1 .988-2.37 1.125 1.125 0 0 1 1.591 1.59 1.118 1.118 0 0 0-.329.79v3.006h-.005a6 6 0 0 1-1.752 4.007l-1.736 1.736a6 6 0 0 1-4.242 1.757H10.5a7.5 7.5 0 0 1-7.5-7.5V6.375a1.125 1.125 0 0 1 2.25 0v5.519c.46-.452.965-.832 1.5-1.141V3.375a1.125 1.125 0 0 1 2.25 0v6.526c.495-.1.997-.151 1.5-.151V1.875Z"}))}const o=n.forwardRef(a);e.exports=o},20230:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M15.73 5.5h1.035A7.465 7.465 0 0 1 18 9.625a7.465 7.465 0 0 1-1.235 4.125h-.148c-.806 0-1.534.446-2.031 1.08a9.04 9.04 0 0 1-2.861 2.4c-.723.384-1.35.956-1.653 1.715a4.499 4.499 0 0 0-.322 1.672v.633A.75.75 0 0 1 9 22a2.25 2.25 0 0 1-2.25-2.25c0-1.152.26-2.243.723-3.218.266-.558-.107-1.282-.725-1.282H3.622c-1.026 0-1.945-.694-2.054-1.715A12.137 12.137 0 0 1 1.5 12.25c0-2.848.992-5.464 2.649-7.521C4.537 4.247 5.136 4 5.754 4H9.77a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23ZM21.669 14.023c.536-1.362.831-2.845.831-4.398 0-1.22-.182-2.398-.52-3.507-.26-.85-1.084-1.368-1.973-1.368H19.1c-.445 0-.72.498-.523.898.591 1.2.924 2.55.924 3.977a8.958 8.958 0 0 1-1.302 4.666c-.245.403.028.959.5.959h1.053c.832 0 1.612-.453 1.918-1.227Z"}))}const o=n.forwardRef(a);e.exports=o},99295:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M7.493 18.5c-.425 0-.82-.236-.975-.632A7.48 7.48 0 0 1 6 15.125c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75A.75.75 0 0 1 15 2a2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23h-.777ZM2.331 10.727a11.969 11.969 0 0 0-.831 4.398 12 12 0 0 0 .52 3.507C2.28 19.482 3.105 20 3.994 20H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 0 1-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227Z"}))}const o=n.forwardRef(a);e.exports=o},34810:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.097 1.515a.75.75 0 0 1 .589.882L10.666 7.5h4.47l1.079-5.397a.75.75 0 1 1 1.47.294L16.665 7.5h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.2 6h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103h-4.47l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103H3.75a.75.75 0 0 1 0-1.5h3.885l1.2-6H5.25a.75.75 0 0 1 0-1.5h3.885l1.08-5.397a.75.75 0 0 1 .882-.588ZM10.365 9l-1.2 6h4.47l1.2-6h-4.47Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},36823:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"}))}const o=n.forwardRef(a);e.exports=o},90238:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z"}),n.createElement("path",{d:"m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z"}))}const o=n.forwardRef(a);e.exports=o},72239:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M19.006 3.705a.75.75 0 1 0-.512-1.41L6 6.838V3a.75.75 0 0 0-.75-.75h-1.5A.75.75 0 0 0 3 3v4.93l-1.006.365a.75.75 0 0 0 .512 1.41l16.5-6Z"}),n.createElement("path",{fillRule:"evenodd",d:"M3.019 11.114 18 5.667v3.421l4.006 1.457a.75.75 0 1 1-.512 1.41l-.494-.18v8.475h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3v-9.129l.019-.007ZM18 20.25v-9.566l1.5.546v9.02H18Zm-9-6a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75V15a.75.75 0 0 0-.75-.75H9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},25272:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm4.125 3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.873 8.703a4.126 4.126 0 0 1 7.746 0 .75.75 0 0 1-.351.92 7.47 7.47 0 0 1-3.522.877 7.47 7.47 0 0 1-3.522-.877.75.75 0 0 1-.351-.92ZM15 8.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15ZM14.25 12a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},18203:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.478 5.559A1.5 1.5 0 0 1 6.912 4.5H9A.75.75 0 0 0 9 3H6.912a3 3 0 0 0-2.868 2.118l-2.411 7.838a3 3 0 0 0-.133.882V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-4.162c0-.299-.045-.596-.133-.882l-2.412-7.838A3 3 0 0 0 17.088 3H15a.75.75 0 0 0 0 1.5h2.088a1.5 1.5 0 0 1 1.434 1.059l2.213 7.191H17.89a3 3 0 0 0-2.684 1.658l-.256.513a1.5 1.5 0 0 1-1.342.829h-3.218a1.5 1.5 0 0 1-1.342-.83l-.256-.512a3 3 0 0 0-2.684-1.658H3.265l2.213-7.191Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v6.44l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 0 1 1.06-1.06l1.72 1.72V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},5651:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.912 3a3 3 0 0 0-2.868 2.118l-2.411 7.838a3 3 0 0 0-.133.882V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-4.162c0-.299-.045-.596-.133-.882l-2.412-7.838A3 3 0 0 0 17.088 3H6.912Zm13.823 9.75-2.213-7.191A1.5 1.5 0 0 0 17.088 4.5H6.912a1.5 1.5 0 0 0-1.434 1.059L3.265 12.75H6.11a3 3 0 0 1 2.684 1.658l.256.513a1.5 1.5 0 0 0 1.342.829h3.218a1.5 1.5 0 0 0 1.342-.83l.256-.512a3 3 0 0 1 2.684-1.658h2.844Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},30843:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 9.832v1.793c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875V9.832a3 3 0 0 0-.722-1.952l-3.285-3.832A3 3 0 0 0 16.215 3h-8.43a3 3 0 0 0-2.278 1.048L2.222 7.88A3 3 0 0 0 1.5 9.832ZM7.785 4.5a1.5 1.5 0 0 0-1.139.524L3.881 8.25h3.165a3 3 0 0 1 2.496 1.336l.164.246a1.5 1.5 0 0 0 1.248.668h2.092a1.5 1.5 0 0 0 1.248-.668l.164-.246a3 3 0 0 1 2.496-1.336h3.165l-2.765-3.226a1.5 1.5 0 0 0-1.139-.524h-8.43Z",clipRule:"evenodd"}),n.createElement("path",{d:"M2.813 15c-.725 0-1.313.588-1.313 1.313V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-1.688c0-.724-.588-1.312-1.313-1.312h-4.233a3 3 0 0 0-2.496 1.336l-.164.246a1.5 1.5 0 0 1-1.248.668h-2.092a1.5 1.5 0 0 1-1.248-.668l-.164-.246A3 3 0 0 0 7.046 15H2.812Z"}))}const o=n.forwardRef(a);e.exports=o},4515:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},2636:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.497 3.744a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-3.275l-5.357 15.002h2.632a.75.75 0 1 1 0 1.5h-7.5a.75.75 0 1 1 0-1.5h3.275l5.357-15.002h-2.632a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},62232:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.75 1.5a6.75 6.75 0 0 0-6.651 7.906c.067.39-.032.717-.221.906l-6.5 6.499a3 3 0 0 0-.878 2.121v2.818c0 .414.336.75.75.75H6a.75.75 0 0 0 .75-.75v-1.5h1.5A.75.75 0 0 0 9 19.5V18h1.5a.75.75 0 0 0 .53-.22l2.658-2.658c.19-.189.517-.288.906-.22A6.75 6.75 0 1 0 15.75 1.5Zm0 3a.75.75 0 0 0 0 1.5A2.25 2.25 0 0 1 18 8.25a.75.75 0 0 0 1.5 0 3.75 3.75 0 0 0-3.75-3.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},4722:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9 2.25a.75.75 0 0 1 .75.75v1.506a49.384 49.384 0 0 1 5.343.371.75.75 0 1 1-.186 1.489c-.66-.083-1.323-.151-1.99-.206a18.67 18.67 0 0 1-2.97 6.323c.318.384.65.753 1 1.107a.75.75 0 0 1-1.07 1.052A18.902 18.902 0 0 1 9 13.687a18.823 18.823 0 0 1-5.656 4.482.75.75 0 0 1-.688-1.333 17.323 17.323 0 0 0 5.396-4.353A18.72 18.72 0 0 1 5.89 8.598a.75.75 0 0 1 1.388-.568A17.21 17.21 0 0 0 9 11.224a17.168 17.168 0 0 0 2.391-5.165 48.04 48.04 0 0 0-8.298.307.75.75 0 0 1-.186-1.489 49.159 49.159 0 0 1 5.343-.371V3A.75.75 0 0 1 9 2.25ZM15.75 9a.75.75 0 0 1 .68.433l5.25 11.25a.75.75 0 1 1-1.36.634l-1.198-2.567h-6.744l-1.198 2.567a.75.75 0 0 1-1.36-.634l5.25-11.25A.75.75 0 0 1 15.75 9Zm-2.672 8.25h5.344l-2.672-5.726-2.672 5.726Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},59364:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.449 8.448 16.388 11a4.52 4.52 0 0 1 0 2.002l3.061 2.55a8.275 8.275 0 0 0 0-7.103ZM15.552 19.45 13 16.388a4.52 4.52 0 0 1-2.002 0l-2.55 3.061a8.275 8.275 0 0 0 7.103 0ZM4.55 15.552 7.612 13a4.52 4.52 0 0 1 0-2.002L4.551 8.45a8.275 8.275 0 0 0 0 7.103ZM8.448 4.55 11 7.612a4.52 4.52 0 0 1 2.002 0l2.55-3.061a8.275 8.275 0 0 0-7.103 0Zm8.657-.86a9.776 9.776 0 0 1 1.79 1.415 9.776 9.776 0 0 1 1.414 1.788 9.764 9.764 0 0 1 0 10.211 9.777 9.777 0 0 1-1.415 1.79 9.777 9.777 0 0 1-1.788 1.414 9.764 9.764 0 0 1-10.212 0 9.776 9.776 0 0 1-1.788-1.415 9.776 9.776 0 0 1-1.415-1.788 9.764 9.764 0 0 1 0-10.212 9.774 9.774 0 0 1 1.415-1.788A9.774 9.774 0 0 1 6.894 3.69a9.764 9.764 0 0 1 10.211 0ZM14.121 9.88a2.985 2.985 0 0 0-1.11-.704 3.015 3.015 0 0 0-2.022 0 2.985 2.985 0 0 0-1.11.704c-.326.325-.56.705-.704 1.11a3.015 3.015 0 0 0 0 2.022c.144.405.378.785.704 1.11.325.326.705.56 1.11.704.652.233 1.37.233 2.022 0a2.985 2.985 0 0 0 1.11-.704c.326-.325.56-.705.704-1.11a3.016 3.016 0 0 0 0-2.022 2.985 2.985 0 0 0-.704-1.11Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},31797:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 .75a8.25 8.25 0 0 0-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 0 0 .577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 0 1-.937-.171.75.75 0 1 1 .374-1.453 5.261 5.261 0 0 0 2.626 0 .75.75 0 1 1 .374 1.452 6.712 6.712 0 0 1-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 0 0 .577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0 0 12 .75Z"}),n.createElement("path",{fillRule:"evenodd",d:"M9.013 19.9a.75.75 0 0 1 .877-.597 11.319 11.319 0 0 0 4.22 0 .75.75 0 1 1 .28 1.473 12.819 12.819 0 0 1-4.78 0 .75.75 0 0 1-.597-.876ZM9.754 22.344a.75.75 0 0 1 .824-.668 13.682 13.682 0 0 0 2.844 0 .75.75 0 1 1 .156 1.492 15.156 15.156 0 0 1-3.156 0 .75.75 0 0 1-.668-.824Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},44726:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.902 4.098a3.75 3.75 0 0 0-5.304 0l-4.5 4.5a3.75 3.75 0 0 0 1.035 6.037.75.75 0 0 1-.646 1.353 5.25 5.25 0 0 1-1.449-8.45l4.5-4.5a5.25 5.25 0 1 1 7.424 7.424l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.757-1.757a3.75 3.75 0 0 0 0-5.304Zm-7.389 4.267a.75.75 0 0 1 1-.353 5.25 5.25 0 0 1 1.449 8.45l-4.5 4.5a5.25 5.25 0 1 1-7.424-7.424l1.757-1.757a.75.75 0 1 1 1.06 1.06l-1.757 1.757a3.75 3.75 0 1 0 5.304 5.304l4.5-4.5a3.75 3.75 0 0 0-1.035-6.037.75.75 0 0 1-.354-1Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12430:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.892 4.09a3.75 3.75 0 0 0-5.303 0l-4.5 4.5c-.074.074-.144.15-.21.229l4.965 4.966a3.75 3.75 0 0 0-1.986-4.428.75.75 0 0 1 .646-1.353 5.253 5.253 0 0 1 2.502 6.944l5.515 5.515a.75.75 0 0 1-1.061 1.06l-18-18.001A.75.75 0 0 1 3.521 2.46l5.294 5.295a5.31 5.31 0 0 1 .213-.227l4.5-4.5a5.25 5.25 0 1 1 7.425 7.425l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.756-1.757a3.75 3.75 0 0 0 0-5.304ZM5.846 11.773a.75.75 0 0 1 0 1.06l-1.757 1.758a3.75 3.75 0 0 0 5.303 5.304l3.129-3.13a.75.75 0 1 1 1.06 1.061l-3.128 3.13a5.25 5.25 0 1 1-7.425-7.426l1.757-1.757a.75.75 0 0 1 1.061 0Zm2.401.26a.75.75 0 0 1 .957.458c.18.512.474.992.885 1.403.31.311.661.555 1.035.733a.75.75 0 0 1-.647 1.354 5.244 5.244 0 0 1-1.449-1.026 5.232 5.232 0 0 1-1.24-1.965.75.75 0 0 1 .46-.957Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},43192:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.625 6.75a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0A.75.75 0 0 1 8.25 6h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.625 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12A.75.75 0 0 1 7.5 12Zm-4.875 5.25a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},880:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 1.5a5.25 5.25 0 0 0-5.25 5.25v3a3 3 0 0 0-3 3v6.75a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3v-6.75a3 3 0 0 0-3-3v-3c0-2.9-2.35-5.25-5.25-5.25Zm3.75 8.25v-3a3.75 3.75 0 1 0-7.5 0v3h7.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},45669:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M18 1.5c2.9 0 5.25 2.35 5.25 5.25v3.75a.75.75 0 0 1-1.5 0V6.75a3.75 3.75 0 1 0-7.5 0v3a3 3 0 0 1 3 3v6.75a3 3 0 0 1-3 3H3.75a3 3 0 0 1-3-3v-6.75a3 3 0 0 1 3-3h9v-3c0-2.9 2.35-5.25 5.25-5.25Z"}))}const o=n.forwardRef(a);e.exports=o},16779:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M8.25 10.875a2.625 2.625 0 1 1 5.25 0 2.625 2.625 0 0 1-5.25 0Z"}),n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.125 4.5a4.125 4.125 0 1 0 2.338 7.524l2.007 2.006a.75.75 0 1 0 1.06-1.06l-2.006-2.007a4.125 4.125 0 0 0-3.399-6.463Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},63493:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},18464:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Zm4.5 0a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},7705:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Zm8.25-3.75a.75.75 0 0 1 .75.75v2.25h2.25a.75.75 0 0 1 0 1.5h-2.25v2.25a.75.75 0 0 1-1.5 0v-2.25H7.5a.75.75 0 0 1 0-1.5h2.25V7.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},69152:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.161 2.58a1.875 1.875 0 0 1 1.678 0l4.993 2.498c.106.052.23.052.336 0l3.869-1.935A1.875 1.875 0 0 1 21.75 4.82v12.485c0 .71-.401 1.36-1.037 1.677l-4.875 2.437a1.875 1.875 0 0 1-1.676 0l-4.994-2.497a.375.375 0 0 0-.336 0l-3.868 1.935A1.875 1.875 0 0 1 2.25 19.18V6.695c0-.71.401-1.36 1.036-1.677l4.875-2.437ZM9 6a.75.75 0 0 1 .75.75V15a.75.75 0 0 1-1.5 0V6.75A.75.75 0 0 1 9 6Zm6.75 3a.75.75 0 0 0-1.5 0v8.25a.75.75 0 0 0 1.5 0V9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},75747:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},50197:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M16.881 4.345A23.112 23.112 0 0 1 8.25 6H7.5a5.25 5.25 0 0 0-.88 10.427 21.593 21.593 0 0 0 1.378 3.94c.464 1.004 1.674 1.32 2.582.796l.657-.379c.88-.508 1.165-1.593.772-2.468a17.116 17.116 0 0 1-.628-1.607c1.918.258 3.76.75 5.5 1.446A21.727 21.727 0 0 0 18 11.25c0-2.414-.393-4.735-1.119-6.905ZM18.26 3.74a23.22 23.22 0 0 1 1.24 7.51 23.22 23.22 0 0 1-1.41 7.992.75.75 0 1 0 1.409.516 24.555 24.555 0 0 0 1.415-6.43 2.992 2.992 0 0 0 .836-2.078c0-.807-.319-1.54-.836-2.078a24.65 24.65 0 0 0-1.415-6.43.75.75 0 1 0-1.409.516c.059.16.116.321.17.483Z"}))}const o=n.forwardRef(a);e.exports=o},74657:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M8.25 4.5a3.75 3.75 0 1 1 7.5 0v8.25a3.75 3.75 0 1 1-7.5 0V4.5Z"}),n.createElement("path",{d:"M6 10.5a.75.75 0 0 1 .75.75v1.5a5.25 5.25 0 1 0 10.5 0v-1.5a.75.75 0 0 1 1.5 0v1.5a6.751 6.751 0 0 1-6 6.709v2.291h3a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1 0-1.5h3v-2.291a6.751 6.751 0 0 1-6-6.709v-1.5A.75.75 0 0 1 6 10.5Z"}))}const o=n.forwardRef(a);e.exports=o},91072:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm3 10.5a.75.75 0 0 0 0-1.5H9a.75.75 0 0 0 0 1.5h6Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78315:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},20125:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.25 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},42948:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.528 1.718a.75.75 0 0 1 .162.819A8.97 8.97 0 0 0 9 6a9 9 0 0 0 9 9 8.97 8.97 0 0 0 3.463-.69.75.75 0 0 1 .981.98 10.503 10.503 0 0 1-9.694 6.46c-5.799 0-10.5-4.7-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 0 1 .818.162Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},84579:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.952 1.651a.75.75 0 0 1 .298.599V16.303a3 3 0 0 1-2.176 2.884l-1.32.377a2.553 2.553 0 1 1-1.403-4.909l2.311-.66a1.5 1.5 0 0 0 1.088-1.442V6.994l-9 2.572v9.737a3 3 0 0 1-2.176 2.884l-1.32.377a2.553 2.553 0 1 1-1.402-4.909l2.31-.66a1.5 1.5 0 0 0 1.088-1.442V5.25a.75.75 0 0 1 .544-.721l10.5-3a.75.75 0 0 1 .658.122Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},25189:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.125 3C3.089 3 2.25 3.84 2.25 4.875V18a3 3 0 0 0 3 3h15a3 3 0 0 1-3-3V4.875C17.25 3.839 16.41 3 15.375 3H4.125ZM12 9.75a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H12Zm-.75-2.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM6 12.75a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5H6Zm-.75 3.75a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75ZM6 6.75a.75.75 0 0 0-.75.75v3c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-3A.75.75 0 0 0 9 6.75H6Z",clipRule:"evenodd"}),n.createElement("path",{d:"M18.75 6.75h1.875c.621 0 1.125.504 1.125 1.125V18a1.5 1.5 0 0 1-3 0V6.75Z"}))}const o=n.forwardRef(a);e.exports=o},31091:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"m6.72 5.66 11.62 11.62A8.25 8.25 0 0 0 6.72 5.66Zm10.56 12.68L5.66 6.72a8.25 8.25 0 0 0 11.62 11.62ZM5.105 5.106c3.807-3.808 9.98-3.808 13.788 0 3.808 3.807 3.808 9.98 0 13.788-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},95341:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.491 5.992a.75.75 0 0 1 .75-.75h12a.75.75 0 1 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM7.49 11.995a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM7.491 17.994a.75.75 0 0 1 .75-.75h12a.75.75 0 1 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.24 3.745a.75.75 0 0 1 .75-.75h1.125a.75.75 0 0 1 .75.75v3h.375a.75.75 0 0 1 0 1.5H2.99a.75.75 0 0 1 0-1.5h.375v-2.25H2.99a.75.75 0 0 1-.75-.75ZM2.79 10.602a.75.75 0 0 1 0-1.06 1.875 1.875 0 1 1 2.652 2.651l-.55.55h.35a.75.75 0 0 1 0 1.5h-2.16a.75.75 0 0 1-.53-1.281l1.83-1.83a.375.375 0 0 0-.53-.53.75.75 0 0 1-1.062 0ZM2.24 15.745a.75.75 0 0 1 .75-.75h1.125a1.875 1.875 0 0 1 1.501 2.999 1.875 1.875 0 0 1-1.501 3H2.99a.75.75 0 0 1 0-1.501h1.125a.375.375 0 0 0 .036-.748H3.74a.75.75 0 0 1-.75-.75v-.002a.75.75 0 0 1 .75-.75h.411a.375.375 0 0 0-.036-.748H2.99a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},70077:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.599 1.5c-.376 0-.743.111-1.055.32l-5.08 3.385a18.747 18.747 0 0 0-3.471 2.987 10.04 10.04 0 0 1 4.815 4.815 18.748 18.748 0 0 0 2.987-3.472l3.386-5.079A1.902 1.902 0 0 0 20.599 1.5Zm-8.3 14.025a18.76 18.76 0 0 0 1.896-1.207 8.026 8.026 0 0 0-4.513-4.513A18.75 18.75 0 0 0 8.475 11.7l-.278.5a5.26 5.26 0 0 1 3.601 3.602l.502-.278ZM6.75 13.5A3.75 3.75 0 0 0 3 17.25a1.5 1.5 0 0 1-1.601 1.497.75.75 0 0 0-.7 1.123 5.25 5.25 0 0 0 9.8-2.62 3.75 3.75 0 0 0-3.75-3.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},1588:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"}))}const o=n.forwardRef(a);e.exports=o},38477:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M18.97 3.659a2.25 2.25 0 0 0-3.182 0l-10.94 10.94a3.75 3.75 0 1 0 5.304 5.303l7.693-7.693a.75.75 0 0 1 1.06 1.06l-7.693 7.693a5.25 5.25 0 1 1-7.424-7.424l10.939-10.94a3.75 3.75 0 1 1 5.303 5.304L9.097 18.835l-.008.008-.007.007-.002.002-.003.002A2.25 2.25 0 0 1 5.91 15.66l7.81-7.81a.75.75 0 0 1 1.061 1.06l-7.81 7.81a.75.75 0 0 0 1.054 1.068L18.97 6.84a2.25 2.25 0 0 0 0-3.182Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},47991:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM9 8.25a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h.75a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75H9Zm5.25 0a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75h-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58594:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},31731:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z"}))}const o=n.forwardRef(a);e.exports=o},24155:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"}),n.createElement("path",{d:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"}))}const o=n.forwardRef(a);e.exports=o},28328:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.99 2.243a4.49 4.49 0 0 0-3.398 1.55 4.49 4.49 0 0 0-3.497 1.306 4.491 4.491 0 0 0-1.307 3.498 4.491 4.491 0 0 0-1.548 3.397c0 1.357.6 2.573 1.548 3.397a4.491 4.491 0 0 0 1.307 3.498 4.49 4.49 0 0 0 3.498 1.307 4.49 4.49 0 0 0 3.397 1.549 4.49 4.49 0 0 0 3.397-1.549 4.49 4.49 0 0 0 3.497-1.307 4.491 4.491 0 0 0 1.306-3.497 4.491 4.491 0 0 0 1.55-3.398c0-1.357-.601-2.573-1.549-3.397a4.491 4.491 0 0 0-1.307-3.498 4.49 4.49 0 0 0-3.498-1.307 4.49 4.49 0 0 0-3.396-1.549Zm3.53 7.28a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06l6-6Zm-5.78-.905a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm4.5 4.5a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},49459:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.5 9.75a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 1.5 0v2.69l4.72-4.72a.75.75 0 1 1 1.06 1.06L16.06 9h2.69a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},10867:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15 3.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0V5.56l-4.72 4.72a.75.75 0 1 1-1.06-1.06l4.72-4.72h-2.69a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}),n.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},54717:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},31296:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.22 3.22a.75.75 0 0 1 1.06 0L18 4.94l1.72-1.72a.75.75 0 1 1 1.06 1.06L19.06 6l1.72 1.72a.75.75 0 0 1-1.06 1.06L18 7.06l-1.72 1.72a.75.75 0 1 1-1.06-1.06L16.94 6l-1.72-1.72a.75.75 0 0 1 0-1.06ZM1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},74150:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},60948:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm14.024-.983a1.125 1.125 0 0 1 0 1.966l-5.603 3.113A1.125 1.125 0 0 1 9 15.113V8.887c0-.857.921-1.4 1.671-.983l5.603 3.113Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},13241:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},70713:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M15 6.75a.75.75 0 0 0-.75.75V18a.75.75 0 0 0 .75.75h.75a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75H15ZM20.25 6.75a.75.75 0 0 0-.75.75V18c0 .414.336.75.75.75H21a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75h-.75ZM5.055 7.06C3.805 6.347 2.25 7.25 2.25 8.69v8.122c0 1.44 1.555 2.343 2.805 1.628l7.108-4.061c1.26-.72 1.26-2.536 0-3.256L5.055 7.061Z"}))}const o=n.forwardRef(a);e.exports=o},40048:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 9a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V15a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},70701:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},7613:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 5.25a.75.75 0 0 1 .75.75v5.25H18a.75.75 0 0 1 0 1.5h-5.25V18a.75.75 0 0 1-1.5 0v-5.25H6a.75.75 0 0 1 0-1.5h5.25V6a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},90760:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v9a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM6.166 5.106a.75.75 0 0 1 0 1.06 8.25 8.25 0 1 0 11.668 0 .75.75 0 1 1 1.06-1.06c3.808 3.807 3.808 9.98 0 13.788-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},70641:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 2.25a.75.75 0 0 0 0 1.5H3v10.5a3 3 0 0 0 3 3h1.21l-1.172 3.513a.75.75 0 0 0 1.424.474l.329-.987h8.418l.33.987a.75.75 0 0 0 1.422-.474l-1.17-3.513H18a3 3 0 0 0 3-3V3.75h.75a.75.75 0 0 0 0-1.5H2.25Zm6.04 16.5.5-1.5h6.42l.5 1.5H8.29Zm7.46-12a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0v-6Zm-3 2.25a.75.75 0 0 0-1.5 0v3.75a.75.75 0 0 0 1.5 0V9Zm-3 2.25a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0v-1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},1976:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 2.25a.75.75 0 0 0 0 1.5H3v10.5a3 3 0 0 0 3 3h1.21l-1.172 3.513a.75.75 0 0 0 1.424.474l.329-.987h8.418l.33.987a.75.75 0 0 0 1.422-.474l-1.17-3.513H18a3 3 0 0 0 3-3V3.75h.75a.75.75 0 0 0 0-1.5H2.25Zm6.54 15h6.42l.5 1.5H8.29l.5-1.5Zm8.085-8.995a.75.75 0 1 0-.75-1.299 12.81 12.81 0 0 0-3.558 3.05L11.03 8.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l2.47-2.47 1.617 1.618a.75.75 0 0 0 1.146-.102 11.312 11.312 0 0 1 3.612-3.321Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},24179:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 0 0 3 3h.27l-.155 1.705A1.875 1.875 0 0 0 7.232 22.5h9.536a1.875 1.875 0 0 0 1.867-2.045l-.155-1.705h.27a3 3 0 0 0 3-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0 0 18 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM16.5 6.205v-2.83A.375.375 0 0 0 16.125 3h-8.25a.375.375 0 0 0-.375.375v2.83a49.353 49.353 0 0 1 9 0Zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 0 1-.374.409H7.232a.375.375 0 0 1-.374-.409l.526-5.784a.373.373 0 0 1 .333-.337 41.741 41.741 0 0 1 8.566 0Zm.967-3.97a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H18a.75.75 0 0 1-.75-.75V10.5ZM15 9.75a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V10.5a.75.75 0 0 0-.75-.75H15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58417:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.25 5.337c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.036 1.007-1.875 2.25-1.875S15 2.34 15 3.375c0 .369-.128.713-.349 1.003-.215.283-.401.604-.401.959 0 .332.278.598.61.578 1.91-.114 3.79-.342 5.632-.676a.75.75 0 0 1 .878.645 49.17 49.17 0 0 1 .376 5.452.657.657 0 0 1-.66.664c-.354 0-.675-.186-.958-.401a1.647 1.647 0 0 0-1.003-.349c-1.035 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401.31 0 .557.262.534.571a48.774 48.774 0 0 1-.595 4.845.75.75 0 0 1-.61.61c-1.82.317-3.673.533-5.555.642a.58.58 0 0 1-.611-.581c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.035-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959a.641.641 0 0 1-.658.643 49.118 49.118 0 0 1-4.708-.36.75.75 0 0 1-.645-.878c.293-1.614.504-3.257.629-4.924A.53.53 0 0 0 5.337 15c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.036 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.369 0 .713.128 1.003.349.283.215.604.401.959.401a.656.656 0 0 0 .659-.663 47.703 47.703 0 0 0-.31-4.82.75.75 0 0 1 .83-.832c1.343.155 2.703.254 4.077.294a.64.64 0 0 0 .657-.642Z"}))}const o=n.forwardRef(a);e.exports=o},44547:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 4.875C3 3.839 3.84 3 4.875 3h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 9.375v-4.5ZM4.875 4.5a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875.375c0-1.036.84-1.875 1.875-1.875h4.5C20.16 3 21 3.84 21 4.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5a1.875 1.875 0 0 1-1.875-1.875v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75A.75.75 0 0 1 6 7.5v-.75Zm9.75 0A.75.75 0 0 1 16.5 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM3 14.625c0-1.036.84-1.875 1.875-1.875h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.035-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 19.125v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875-.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM6 16.5a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm9.75 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm-3 3a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},77481:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 0 1-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 0 1-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 0 1-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584ZM12 18a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},62987:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.625 3.75a2.625 2.625 0 1 0 0 5.25h12.75a2.625 2.625 0 0 0 0-5.25H5.625ZM3.75 11.25a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75ZM3 15.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75ZM3.75 18.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z"}))}const o=n.forwardRef(a);e.exports=o},11555:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M20.432 4.103a.75.75 0 0 0-.364-1.456L4.128 6.632l-.2.033C2.498 6.904 1.5 8.158 1.5 9.574v9.176a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V9.574c0-1.416-.997-2.67-2.429-2.909a49.017 49.017 0 0 0-7.255-.658l7.616-1.904Zm-9.585 8.56a.75.75 0 0 1 0 1.06l-.005.006a.75.75 0 0 1-1.06 0l-.006-.006a.75.75 0 0 1 0-1.06l.005-.005a.75.75 0 0 1 1.06 0l.006.005ZM9.781 15.85a.75.75 0 0 0 1.061 0l.005-.005a.75.75 0 0 0 0-1.061l-.005-.005a.75.75 0 0 0-1.06 0l-.006.005a.75.75 0 0 0 0 1.06l.005.006Zm-1.055-1.066a.75.75 0 0 1 0 1.06l-.005.006a.75.75 0 0 1-1.061 0l-.005-.005a.75.75 0 0 1 0-1.06l.005-.006a.75.75 0 0 1 1.06 0l.006.005ZM7.66 13.73a.75.75 0 0 0 1.061 0l.005-.006a.75.75 0 0 0 0-1.06l-.005-.006a.75.75 0 0 0-1.06 0l-.006.006a.75.75 0 0 0 0 1.06l.005.006ZM9.255 9.75a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75V10.5a.75.75 0 0 1 .75-.75h.008Zm3.624 3.28a.75.75 0 0 0 .275-1.025L13.15 12a.75.75 0 0 0-1.025-.275l-.006.004a.75.75 0 0 0-.275 1.024l.004.007a.75.75 0 0 0 1.025.274l.006-.003Zm-1.38 5.126a.75.75 0 0 1-1.024-.275l-.004-.006a.75.75 0 0 1 .275-1.025l.006-.004a.75.75 0 0 1 1.025.275l.004.007a.75.75 0 0 1-.275 1.024l-.006.004Zm.282-6.776a.75.75 0 0 0-.274-1.025l-.007-.003a.75.75 0 0 0-1.024.274l-.004.007a.75.75 0 0 0 .274 1.024l.007.004a.75.75 0 0 0 1.024-.275l.004-.006Zm1.369 5.129a.75.75 0 0 1-1.025.274l-.006-.004a.75.75 0 0 1-.275-1.024l.004-.007a.75.75 0 0 1 1.025-.274l.006.004a.75.75 0 0 1 .275 1.024l-.004.007Zm-.145-1.502a.75.75 0 0 0 .75-.75v-.007a.75.75 0 0 0-.75-.75h-.008a.75.75 0 0 0-.75.75v.007c0 .415.336.75.75.75h.008Zm-3.75 2.243a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75V18a.75.75 0 0 1 .75-.75h.008Zm-2.871-.47a.75.75 0 0 0 .274-1.025l-.003-.006a.75.75 0 0 0-1.025-.275l-.006.004a.75.75 0 0 0-.275 1.024l.004.007a.75.75 0 0 0 1.024.274l.007-.003Zm1.366-5.12a.75.75 0 0 1-1.025-.274l-.004-.006a.75.75 0 0 1 .275-1.025l.006-.004a.75.75 0 0 1 1.025.275l.004.006a.75.75 0 0 1-.275 1.025l-.006.004Zm.281 6.215a.75.75 0 0 0-.275-1.024l-.006-.004a.75.75 0 0 0-1.025.274l-.003.007a.75.75 0 0 0 .274 1.024l.007.004a.75.75 0 0 0 1.024-.274l.004-.007Zm-1.376-5.116a.75.75 0 0 1-1.025.274l-.006-.003a.75.75 0 0 1-.275-1.025l.004-.007a.75.75 0 0 1 1.025-.274l.006.004a.75.75 0 0 1 .275 1.024l-.004.007Zm-1.15 2.248a.75.75 0 0 0 .75-.75v-.007a.75.75 0 0 0-.75-.75h-.008a.75.75 0 0 0-.75.75v.007c0 .415.336.75.75.75h.008ZM17.25 10.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm1.5 6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},95003:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 1.5c-1.921 0-3.816.111-5.68.327-1.497.174-2.57 1.46-2.57 2.93V21.75a.75.75 0 0 0 1.029.696l3.471-1.388 3.472 1.388a.75.75 0 0 0 .556 0l3.472-1.388 3.471 1.388a.75.75 0 0 0 1.029-.696V4.757c0-1.47-1.073-2.756-2.57-2.93A49.255 49.255 0 0 0 12 1.5Zm3.53 7.28a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06l6-6ZM8.625 9a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm5.625 3.375a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},68910:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 1.5c-1.921 0-3.816.111-5.68.327-1.497.174-2.57 1.46-2.57 2.93V21.75a.75.75 0 0 0 1.029.696l3.471-1.388 3.472 1.388a.75.75 0 0 0 .556 0l3.472-1.388 3.471 1.388a.75.75 0 0 0 1.029-.696V4.757c0-1.47-1.073-2.756-2.57-2.93A49.255 49.255 0 0 0 12 1.5Zm-.97 6.53a.75.75 0 1 0-1.06-1.06L7.72 9.22a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06l-.97-.97h3.065a1.875 1.875 0 0 1 0 3.75H12a.75.75 0 0 0 0 1.5h1.125a3.375 3.375 0 1 0 0-6.75h-3.064l.97-.97Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},16307:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 7.125c0-1.036.84-1.875 1.875-1.875h6c1.036 0 1.875.84 1.875 1.875v3.75c0 1.036-.84 1.875-1.875 1.875h-6A1.875 1.875 0 0 1 1.5 10.875v-3.75Zm12 1.5c0-1.036.84-1.875 1.875-1.875h5.25c1.035 0 1.875.84 1.875 1.875v8.25c0 1.035-.84 1.875-1.875 1.875h-5.25a1.875 1.875 0 0 1-1.875-1.875v-8.25ZM3 16.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875v2.25c0 1.035-.84 1.875-1.875 1.875h-5.25A1.875 1.875 0 0 1 3 18.375v-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},51332:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.566 4.657A4.505 4.505 0 0 1 6.75 4.5h10.5c.41 0 .806.055 1.183.157A3 3 0 0 0 15.75 3h-7.5a3 3 0 0 0-2.684 1.657ZM2.25 12a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3v-6ZM5.25 7.5c-.41 0-.806.055-1.184.157A3 3 0 0 1 6.75 6h10.5a3 3 0 0 1 2.683 1.657A4.505 4.505 0 0 0 18.75 7.5H5.25Z"}))}const o=n.forwardRef(a);e.exports=o},30550:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.315 7.584C12.195 3.883 16.695 1.5 21.75 1.5a.75.75 0 0 1 .75.75c0 5.056-2.383 9.555-6.084 12.436A6.75 6.75 0 0 1 9.75 22.5a.75.75 0 0 1-.75-.75v-4.131A15.838 15.838 0 0 1 6.382 15H2.25a.75.75 0 0 1-.75-.75 6.75 6.75 0 0 1 7.815-6.666ZM15 6.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z",clipRule:"evenodd"}),n.createElement("path",{d:"M5.26 17.242a.75.75 0 1 0-.897-1.203 5.243 5.243 0 0 0-2.05 5.022.75.75 0 0 0 .625.627 5.243 5.243 0 0 0 5.022-2.051.75.75 0 1 0-1.202-.897 3.744 3.744 0 0 1-3.008 1.51c0-1.23.592-2.323 1.51-3.008Z"}))}const o=n.forwardRef(a);e.exports=o},13677:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 4.5a.75.75 0 0 1 .75-.75h.75c8.284 0 15 6.716 15 15v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75C18 11.708 12.292 6 5.25 6H4.5a.75.75 0 0 1-.75-.75V4.5Zm0 6.75a.75.75 0 0 1 .75-.75h.75a8.25 8.25 0 0 1 8.25 8.25v.75a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75v-.75a6 6 0 0 0-6-6H4.5a.75.75 0 0 1-.75-.75v-.75Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},75440:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},5275:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.128 9.155a3.751 3.751 0 1 1 .713-1.321l1.136.656a.75.75 0 0 1 .222 1.104l-.006.007a.75.75 0 0 1-1.032.157 1.421 1.421 0 0 0-.113-.072l-.92-.531Zm-4.827-3.53a2.25 2.25 0 0 1 3.994 2.063.756.756 0 0 0-.122.23 2.25 2.25 0 0 1-3.872-2.293ZM13.348 8.272a5.073 5.073 0 0 0-3.428 3.57 5.08 5.08 0 0 0-.165 1.202 1.415 1.415 0 0 1-.707 1.201l-.96.554a3.751 3.751 0 1 0 .734 1.309l13.729-7.926a.75.75 0 0 0-.181-1.374l-.803-.215a5.25 5.25 0 0 0-2.894.05l-5.325 1.629Zm-9.223 7.03a2.25 2.25 0 1 0 2.25 3.897 2.25 2.25 0 0 0-2.25-3.897ZM12 12.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}),n.createElement("path",{d:"M16.372 12.615a.75.75 0 0 1 .75 0l5.43 3.135a.75.75 0 0 1-.182 1.374l-.802.215a5.25 5.25 0 0 1-2.894-.051l-5.147-1.574a.75.75 0 0 1-.156-1.367l3-1.732Z"}))}const o=n.forwardRef(a);e.exports=o},35416:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.08 5.227A3 3 0 0 1 6.979 3H17.02a3 3 0 0 1 2.9 2.227l2.113 7.926A5.228 5.228 0 0 0 18.75 12H5.25a5.228 5.228 0 0 0-3.284 1.153L4.08 5.227Z"}),n.createElement("path",{fillRule:"evenodd",d:"M5.25 13.5a3.75 3.75 0 1 0 0 7.5h13.5a3.75 3.75 0 1 0 0-7.5H5.25Zm10.5 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm3.75-.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},81287:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.507 4.048A3 3 0 0 1 7.785 3h8.43a3 3 0 0 1 2.278 1.048l1.722 2.008A4.533 4.533 0 0 0 19.5 6h-15c-.243 0-.482.02-.715.056l1.722-2.008Z"}),n.createElement("path",{fillRule:"evenodd",d:"M1.5 10.5a3 3 0 0 1 3-3h15a3 3 0 1 1 0 6h-15a3 3 0 0 1-3-3Zm15 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm2.25.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM4.5 15a3 3 0 1 0 0 6h15a3 3 0 1 0 0-6h-15Zm11.25 3.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.5 18a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},96500:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},69769:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},35498:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.484 2.17a.75.75 0 0 1 1.032 0 11.209 11.209 0 0 0 7.877 3.08.75.75 0 0 1 .722.515 12.74 12.74 0 0 1 .635 3.985c0 5.942-4.064 10.933-9.563 12.348a.749.749 0 0 1-.374 0C6.314 20.683 2.25 15.692 2.25 9.75c0-1.39.223-2.73.635-3.985a.75.75 0 0 1 .722-.516l.143.001c2.996 0 5.718-1.17 7.734-3.08ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75ZM12 15a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75H12Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},58485:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 6v.75H5.513c-.96 0-1.764.724-1.865 1.679l-1.263 12A1.875 1.875 0 0 0 4.25 22.5h15.5a1.875 1.875 0 0 0 1.865-2.071l-1.263-12a1.875 1.875 0 0 0-1.865-1.679H16.5V6a4.5 4.5 0 1 0-9 0ZM12 3a3 3 0 0 0-3 3v.75h6V6a3 3 0 0 0-3-3Zm-3 8.25a3 3 0 1 0 6 0v-.75a.75.75 0 0 1 1.5 0v.75a4.5 4.5 0 1 1-9 0v-.75a.75.75 0 0 1 1.5 0v.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},45050:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M2.25 2.25a.75.75 0 0 0 0 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 0 0-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 0 0 0-1.5H5.378A2.25 2.25 0 0 1 7.5 15h11.218a.75.75 0 0 0 .674-.421 60.358 60.358 0 0 0 2.96-7.228.75.75 0 0 0-.525-.965A60.864 60.864 0 0 0 5.68 4.509l-.232-.867A1.875 1.875 0 0 0 3.636 2.25H2.25ZM3.75 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM16.5 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"}))}const o=n.forwardRef(a);e.exports=o},37305:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.636 4.575a.75.75 0 0 1 0 1.061 9 9 0 0 0 0 12.728.75.75 0 1 1-1.06 1.06c-4.101-4.1-4.101-10.748 0-14.849a.75.75 0 0 1 1.06 0Zm12.728 0a.75.75 0 0 1 1.06 0c4.101 4.1 4.101 10.75 0 14.85a.75.75 0 1 1-1.06-1.061 9 9 0 0 0 0-12.728.75.75 0 0 1 0-1.06ZM7.757 6.697a.75.75 0 0 1 0 1.06 6 6 0 0 0 0 8.486.75.75 0 0 1-1.06 1.06 7.5 7.5 0 0 1 0-10.606.75.75 0 0 1 1.06 0Zm8.486 0a.75.75 0 0 1 1.06 0 7.5 7.5 0 0 1 0 10.606.75.75 0 0 1-1.06-1.06 6 6 0 0 0 0-8.486.75.75 0 0 1 0-1.06ZM9.879 8.818a.75.75 0 0 1 0 1.06 3 3 0 0 0 0 4.243.75.75 0 1 1-1.061 1.061 4.5 4.5 0 0 1 0-6.364.75.75 0 0 1 1.06 0Zm4.242 0a.75.75 0 0 1 1.061 0 4.5 4.5 0 0 1 0 6.364.75.75 0 0 1-1.06-1.06 3 3 0 0 0 0-4.243.75.75 0 0 1 0-1.061ZM10.875 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},25526:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.47 2.47a.75.75 0 0 1 1.06 0l8.407 8.407a1.125 1.125 0 0 1 1.186 1.186l1.462 1.461a3.001 3.001 0 0 0-.464-3.645.75.75 0 1 1 1.061-1.061 4.501 4.501 0 0 1 .486 5.79l1.072 1.072a6.001 6.001 0 0 0-.497-7.923.75.75 0 0 1 1.06-1.06 7.501 7.501 0 0 1 .505 10.05l1.064 1.065a9 9 0 0 0-.508-12.176.75.75 0 0 1 1.06-1.06c3.923 3.922 4.093 10.175.512 14.3l1.594 1.594a.75.75 0 1 1-1.06 1.06l-2.106-2.105-2.121-2.122h-.001l-4.705-4.706a.747.747 0 0 1-.127-.126L2.47 3.53a.75.75 0 0 1 0-1.061Zm1.189 4.422a.75.75 0 0 1 .326 1.01 9.004 9.004 0 0 0 1.651 10.462.75.75 0 1 1-1.06 1.06C1.27 16.12.63 11.165 2.648 7.219a.75.75 0 0 1 1.01-.326ZM5.84 9.134a.75.75 0 0 1 .472.95 6 6 0 0 0 1.444 6.159.75.75 0 0 1-1.06 1.06A7.5 7.5 0 0 1 4.89 9.606a.75.75 0 0 1 .95-.472Zm2.341 2.653a.75.75 0 0 1 .848.638c.088.62.37 1.218.849 1.696a.75.75 0 0 1-1.061 1.061 4.483 4.483 0 0 1-1.273-2.546.75.75 0 0 1 .637-.848Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},38365:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M15.256 3.042a.75.75 0 0 1 .449.962l-6 16.5a.75.75 0 1 1-1.41-.513l6-16.5a.75.75 0 0 1 .961-.449Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},86631:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},59397:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM18.584 5.106a.75.75 0 0 1 1.06 0c3.808 3.807 3.808 9.98 0 13.788a.75.75 0 0 1-1.06-1.06 8.25 8.25 0 0 0 0-11.668.75.75 0 0 1 0-1.06Z"}),n.createElement("path",{d:"M15.932 7.757a.75.75 0 0 1 1.061 0 6 6 0 0 1 0 8.486.75.75 0 0 1-1.06-1.061 4.5 4.5 0 0 0 0-6.364.75.75 0 0 1 0-1.06Z"}))}const o=n.forwardRef(a);e.exports=o},8673:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM17.78 9.22a.75.75 0 1 0-1.06 1.06L18.44 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L20.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z"}))}const o=n.forwardRef(a);e.exports=o},60429:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M16.5 6a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v7.5a3 3 0 0 0 3 3v-6A4.5 4.5 0 0 1 10.5 6h6Z"}),n.createElement("path",{d:"M18 7.5a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-7.5a3 3 0 0 1-3-3v-7.5a3 3 0 0 1 3-3H18Z"}))}const o=n.forwardRef(a);e.exports=o},54288:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M11.644 1.59a.75.75 0 0 1 .712 0l9.75 5.25a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.712 0l-9.75-5.25a.75.75 0 0 1 0-1.32l9.75-5.25Z"}),n.createElement("path",{d:"m3.265 10.602 7.668 4.129a2.25 2.25 0 0 0 2.134 0l7.668-4.13 1.37.739a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.71 0l-9.75-5.25a.75.75 0 0 1 0-1.32l1.37-.738Z"}),n.createElement("path",{d:"m10.933 19.231-7.668-4.13-1.37.739a.75.75 0 0 0 0 1.32l9.75 5.25c.221.12.489.12.71 0l9.75-5.25a.75.75 0 0 0 0-1.32l-1.37-.738-7.668 4.13a2.25 2.25 0 0 1-2.134-.001Z"}))}const o=n.forwardRef(a);e.exports=o},52406:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3V6ZM3 15.75a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2.25Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3v-2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},54900:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M6 3a3 3 0 0 0-3 3v2.25a3 3 0 0 0 3 3h2.25a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6ZM15.75 3a3 3 0 0 0-3 3v2.25a3 3 0 0 0 3 3H18a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-2.25ZM6 12.75a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h2.25a3 3 0 0 0 3-3v-2.25a3 3 0 0 0-3-3H6ZM17.625 13.5a.75.75 0 0 0-1.5 0v2.625H13.5a.75.75 0 0 0 0 1.5h2.625v2.625a.75.75 0 0 0 1.5 0v-2.625h2.625a.75.75 0 0 0 0-1.5h-2.625V13.5Z"}))}const o=n.forwardRef(a);e.exports=o},89089:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},9783:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm6-2.438c0-.724.588-1.312 1.313-1.312h4.874c.725 0 1.313.588 1.313 1.313v4.874c0 .725-.588 1.313-1.313 1.313H9.564a1.312 1.312 0 0 1-1.313-1.313V9.564Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},79308:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M4.5 7.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},73994:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M9.657 4.728c-1.086.385-1.766 1.057-1.979 1.85-.214.8.046 1.733.81 2.616.746.862 1.93 1.612 3.388 2.003.07.019.14.037.21.053h8.163a.75.75 0 0 1 0 1.5h-8.24a.66.66 0 0 1-.02 0H3.75a.75.75 0 0 1 0-1.5h4.78a7.108 7.108 0 0 1-1.175-1.074C6.372 9.042 5.849 7.61 6.229 6.19c.377-1.408 1.528-2.38 2.927-2.876 1.402-.497 3.127-.55 4.855-.086A8.937 8.937 0 0 1 16.94 4.6a.75.75 0 0 1-.881 1.215 7.437 7.437 0 0 0-2.436-1.14c-1.473-.394-2.885-.331-3.966.052Zm6.533 9.632a.75.75 0 0 1 1.03.25c.592.974.846 2.094.55 3.2-.378 1.408-1.529 2.38-2.927 2.876-1.402.497-3.127.55-4.855.087-1.712-.46-3.168-1.354-4.134-2.47a.75.75 0 0 1 1.134-.982c.746.862 1.93 1.612 3.388 2.003 1.473.394 2.884.331 3.966-.052 1.085-.384 1.766-1.056 1.978-1.85.169-.628.046-1.33-.381-2.032a.75.75 0 0 1 .25-1.03Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},60223:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z"}))}const o=n.forwardRef(a);e.exports=o},61024:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 4.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875V17.25a4.5 4.5 0 1 1-9 0V4.125Zm4.5 14.25a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",clipRule:"evenodd"}),n.createElement("path",{d:"M10.719 21.75h9.156c1.036 0 1.875-.84 1.875-1.875v-5.25c0-1.036-.84-1.875-1.875-1.875h-.14l-8.742 8.743c-.09.089-.18.175-.274.257ZM12.738 17.625l6.474-6.474a1.875 1.875 0 0 0 0-2.651L15.5 4.787a1.875 1.875 0 0 0-2.651 0l-.1.099V17.25c0 .126-.003.251-.01.375Z"}))}const o=n.forwardRef(a);e.exports=o},63530:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 5.625c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v12.75c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 18.375V5.625ZM21 9.375A.375.375 0 0 0 20.625 9h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5ZM10.875 18.75a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5ZM3.375 15h7.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375Zm0-3.75h7.5a.375.375 0 0 0 .375-.375v-1.5A.375.375 0 0 0 10.875 9h-7.5A.375.375 0 0 0 3 9.375v1.5c0 .207.168.375.375.375Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},67728:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},73988:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.5 6.375c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v3.026a.75.75 0 0 1-.375.65 2.249 2.249 0 0 0 0 3.898.75.75 0 0 1 .375.65v3.026c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 17.625v-3.026a.75.75 0 0 1 .374-.65 2.249 2.249 0 0 0 0-3.898.75.75 0 0 1-.374-.65V6.375Zm15-1.125a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0v.75a.75.75 0 0 0 1.5 0v-.75Zm-.75 3a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0v-.75a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-.75ZM6 12a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 12Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},78191:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},11042:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 0 0-.584.859 6.753 6.753 0 0 0 6.138 5.6 6.73 6.73 0 0 0 2.743 1.346A6.707 6.707 0 0 1 9.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 0 0-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 0 1-1.112-3.173 6.73 6.73 0 0 0 2.743-1.347 6.753 6.753 0 0 0 6.139-5.6.75.75 0 0 0-.585-.858 47.077 47.077 0 0 0-3.07-.543V2.62a.75.75 0 0 0-.658-.744 49.22 49.22 0 0 0-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 0 0-.657.744Zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 0 1 3.16 5.337a45.6 45.6 0 0 1 2.006-.343v.256Zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 0 1-2.863 3.207 6.72 6.72 0 0 0 .857-3.294Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},81869:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M3.375 4.5C2.339 4.5 1.5 5.34 1.5 6.375V13.5h12V6.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM13.5 15h-12v2.625c0 1.035.84 1.875 1.875 1.875h.375a3 3 0 1 1 6 0h3a.75.75 0 0 0 .75-.75V15Z"}),n.createElement("path",{d:"M8.25 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM15.75 6.75a.75.75 0 0 0-.75.75v11.25c0 .087.015.17.042.248a3 3 0 0 1 5.958.464c.853-.175 1.522-.935 1.464-1.883a18.659 18.659 0 0 0-3.732-10.104 1.837 1.837 0 0 0-1.47-.725H15.75Z"}),n.createElement("path",{d:"M19.5 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z"}))}const o=n.forwardRef(a);e.exports=o},65923:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M19.5 6h-15v9h15V6Z"}),n.createElement("path",{fillRule:"evenodd",d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v11.25C1.5 17.16 2.34 18 3.375 18H9.75v1.5H6A.75.75 0 0 0 6 21h12a.75.75 0 0 0 0-1.5h-3.75V18h6.375c1.035 0 1.875-.84 1.875-1.875V4.875C22.5 3.839 21.66 3 20.625 3H3.375Zm0 13.5h17.25a.375.375 0 0 0 .375-.375V4.875a.375.375 0 0 0-.375-.375H3.375A.375.375 0 0 0 3 4.875v11.25c0 .207.168.375.375.375Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},12058:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.995 2.994a.75.75 0 0 1 .75.75v7.5a5.25 5.25 0 1 0 10.5 0v-7.5a.75.75 0 0 1 1.5 0v7.5a6.75 6.75 0 1 1-13.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-3 17.252a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5h-16.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},84448:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},47950:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.25 6.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM15.75 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM2.25 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM6.31 15.117A6.745 6.745 0 0 1 12 12a6.745 6.745 0 0 1 6.709 7.498.75.75 0 0 1-.372.568A12.696 12.696 0 0 1 12 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 0 1-.372-.568 6.787 6.787 0 0 1 1.019-4.38Z",clipRule:"evenodd"}),n.createElement("path",{d:"M5.082 14.254a8.287 8.287 0 0 0-1.308 5.135 9.687 9.687 0 0 1-1.764-.44l-.115-.04a.563.563 0 0 1-.373-.487l-.01-.121a3.75 3.75 0 0 1 3.57-4.047ZM20.226 19.389a8.287 8.287 0 0 0-1.308-5.135 3.75 3.75 0 0 1 3.57 4.047l-.01.121a.563.563 0 0 1-.373.486l-.115.04c-.567.2-1.156.349-1.764.441Z"}))}const o=n.forwardRef(a);e.exports=o},54460:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},64967:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M10.375 2.25a4.125 4.125 0 1 0 0 8.25 4.125 4.125 0 0 0 0-8.25ZM10.375 12a7.125 7.125 0 0 0-7.124 7.247.75.75 0 0 0 .363.63 13.067 13.067 0 0 0 6.761 1.873c2.472 0 4.786-.684 6.76-1.873a.75.75 0 0 0 .364-.63l.001-.12v-.002A7.125 7.125 0 0 0 10.375 12ZM16 9.75a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5h-6Z"}))}const o=n.forwardRef(a);e.exports=o},34575:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M5.25 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM2.25 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM18.75 7.5a.75.75 0 0 0-1.5 0v2.25H15a.75.75 0 0 0 0 1.5h2.25v2.25a.75.75 0 0 0 1.5 0v-2.25H21a.75.75 0 0 0 0-1.5h-2.25V7.5Z"}))}const o=n.forwardRef(a);e.exports=o},57914:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"}))}const o=n.forwardRef(a);e.exports=o},27685:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M19.253 2.292a.75.75 0 0 1 .955.461A28.123 28.123 0 0 1 21.75 12c0 3.266-.547 6.388-1.542 9.247a.75.75 0 1 1-1.416-.494c.94-2.7 1.458-5.654 1.458-8.753s-.519-6.054-1.458-8.754a.75.75 0 0 1 .461-.954Zm-14.227.013a.75.75 0 0 1 .414.976A23.183 23.183 0 0 0 3.75 12c0 3.085.6 6.027 1.69 8.718a.75.75 0 0 1-1.39.563c-1.161-2.867-1.8-6-1.8-9.281 0-3.28.639-6.414 1.8-9.281a.75.75 0 0 1 .976-.414Zm4.275 5.052a1.5 1.5 0 0 1 2.21.803l.716 2.148L13.6 8.246a2.438 2.438 0 0 1 2.978-.892l.213.09a.75.75 0 1 1-.584 1.381l-.214-.09a.937.937 0 0 0-1.145.343l-2.021 3.033 1.084 3.255 1.445-.89a.75.75 0 1 1 .786 1.278l-1.444.889a1.5 1.5 0 0 1-2.21-.803l-.716-2.148-1.374 2.062a2.437 2.437 0 0 1-2.978.892l-.213-.09a.75.75 0 0 1 .584-1.381l.214.09a.938.938 0 0 0 1.145-.344l2.021-3.032-1.084-3.255-1.445.89a.75.75 0 1 1-.786-1.278l1.444-.89Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},55691:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M4.5 4.5a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3h8.25a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H4.5ZM19.94 18.75l-2.69-2.69V7.94l2.69-2.69c.944-.945 2.56-.276 2.56 1.06v11.38c0 1.336-1.616 2.005-2.56 1.06Z"}))}const o=n.forwardRef(a);e.exports=o},95015:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M.97 3.97a.75.75 0 0 1 1.06 0l15 15a.75.75 0 1 1-1.06 1.06l-15-15a.75.75 0 0 1 0-1.06ZM17.25 16.06l2.69 2.69c.944.945 2.56.276 2.56-1.06V6.31c0-1.336-1.616-2.005-2.56-1.06l-2.69 2.69v8.12ZM15.75 7.5v8.068L4.682 4.5h8.068a3 3 0 0 1 3 3ZM1.5 16.5V7.682l11.773 11.773c-.17.03-.345.045-.523.045H4.5a3 3 0 0 1-3-3Z"}))}const o=n.forwardRef(a);e.exports=o},57958:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M15 3.75H9v16.5h6V3.75ZM16.5 20.25h3.375c1.035 0 1.875-.84 1.875-1.875V5.625c0-1.036-.84-1.875-1.875-1.875H16.5v16.5ZM4.125 3.75H7.5v16.5H4.125a1.875 1.875 0 0 1-1.875-1.875V5.625c0-1.036.84-1.875 1.875-1.875Z"}))}const o=n.forwardRef(a);e.exports=o},99203:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M6 3a3 3 0 0 0-3 3v1.5a.75.75 0 0 0 1.5 0V6A1.5 1.5 0 0 1 6 4.5h1.5a.75.75 0 0 0 0-1.5H6ZM16.5 3a.75.75 0 0 0 0 1.5H18A1.5 1.5 0 0 1 19.5 6v1.5a.75.75 0 0 0 1.5 0V6a3 3 0 0 0-3-3h-1.5ZM12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM4.5 16.5a.75.75 0 0 0-1.5 0V18a3 3 0 0 0 3 3h1.5a.75.75 0 0 0 0-1.5H6A1.5 1.5 0 0 1 4.5 18v-1.5ZM21 16.5a.75.75 0 0 0-1.5 0V18a1.5 1.5 0 0 1-1.5 1.5h-1.5a.75.75 0 0 0 0 1.5H18a3 3 0 0 0 3-3v-1.5Z"}))}const o=n.forwardRef(a);e.exports=o},27635:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{d:"M2.273 5.625A4.483 4.483 0 0 1 5.25 4.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 3H5.25a3 3 0 0 0-2.977 2.625ZM2.273 8.625A4.483 4.483 0 0 1 5.25 7.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 6H5.25a3 3 0 0 0-2.977 2.625ZM5.25 9a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3v-6a3 3 0 0 0-3-3H15a.75.75 0 0 0-.75.75 2.25 2.25 0 0 1-4.5 0A.75.75 0 0 0 9 9H5.25Z"}))}const o=n.forwardRef(a);e.exports=o},39974:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M1.371 8.143c5.858-5.857 15.356-5.857 21.213 0a.75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.06 0c-4.98-4.979-13.053-4.979-18.032 0a.75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.182 3.182c4.1-4.1 10.749-4.1 14.85 0a.75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.062 0 8.25 8.25 0 0 0-11.667 0 .75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.204 3.182a6 6 0 0 1 8.486 0 .75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.061 0 3.75 3.75 0 0 0-5.304 0 .75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.182 3.182a1.5 1.5 0 0 1 2.122 0 .75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.061 0l-.53-.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},34445:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm18 3H3.75v9a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V9Zm-15-3.75A.75.75 0 0 0 4.5 6v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V6a.75.75 0 0 0-.75-.75H5.25Zm1.5.75a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V6Zm3-.75A.75.75 0 0 0 9 6v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V6a.75.75 0 0 0-.75-.75H9.75Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},30324:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},56627:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}),n.createElement("path",{d:"m10.076 8.64-2.201-2.2V4.874a.75.75 0 0 0-.364-.643l-3.75-2.25a.75.75 0 0 0-.916.113l-.75.75a.75.75 0 0 0-.113.916l2.25 3.75a.75.75 0 0 0 .643.364h1.564l2.062 2.062 1.575-1.297Z"}),n.createElement("path",{fillRule:"evenodd",d:"m12.556 17.329 4.183 4.182a3.375 3.375 0 0 0 4.773-4.773l-3.306-3.305a6.803 6.803 0 0 1-1.53.043c-.394-.034-.682-.006-.867.042a.589.589 0 0 0-.167.063l-3.086 3.748Zm3.414-1.36a.75.75 0 0 1 1.06 0l1.875 1.876a.75.75 0 1 1-1.06 1.06L15.97 17.03a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},39984:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},76019:(e,t,r)=>{const n=r(99196);function a({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const o=n.forwardRef(a);e.exports=o},56730:(e,t,r)=>{e.exports.AcademicCapIcon=r(25778),e.exports.AdjustmentsHorizontalIcon=r(30175),e.exports.AdjustmentsVerticalIcon=r(7832),e.exports.ArchiveBoxArrowDownIcon=r(20052),e.exports.ArchiveBoxXMarkIcon=r(39375),e.exports.ArchiveBoxIcon=r(11638),e.exports.ArrowDownCircleIcon=r(32254),e.exports.ArrowDownLeftIcon=r(19383),e.exports.ArrowDownOnSquareStackIcon=r(897),e.exports.ArrowDownOnSquareIcon=r(46933),e.exports.ArrowDownRightIcon=r(893),e.exports.ArrowDownTrayIcon=r(69394),e.exports.ArrowDownIcon=r(90328),e.exports.ArrowLeftCircleIcon=r(61775),e.exports.ArrowLeftEndOnRectangleIcon=r(98422),e.exports.ArrowLeftOnRectangleIcon=r(74599),e.exports.ArrowLeftStartOnRectangleIcon=r(86132),e.exports.ArrowLeftIcon=r(46095),e.exports.ArrowLongDownIcon=r(77323),e.exports.ArrowLongLeftIcon=r(99798),e.exports.ArrowLongRightIcon=r(52985),e.exports.ArrowLongUpIcon=r(22322),e.exports.ArrowPathRoundedSquareIcon=r(96661),e.exports.ArrowPathIcon=r(21619),e.exports.ArrowRightCircleIcon=r(97775),e.exports.ArrowRightEndOnRectangleIcon=r(87348),e.exports.ArrowRightOnRectangleIcon=r(98568),e.exports.ArrowRightStartOnRectangleIcon=r(2698),e.exports.ArrowRightIcon=r(43312),e.exports.ArrowSmallDownIcon=r(95283),e.exports.ArrowSmallLeftIcon=r(94097),e.exports.ArrowSmallRightIcon=r(37909),e.exports.ArrowSmallUpIcon=r(50435),e.exports.ArrowTopRightOnSquareIcon=r(87715),e.exports.ArrowTrendingDownIcon=r(41476),e.exports.ArrowTrendingUpIcon=r(12805),e.exports.ArrowTurnDownLeftIcon=r(79798),e.exports.ArrowTurnDownRightIcon=r(31332),e.exports.ArrowTurnLeftDownIcon=r(59478),e.exports.ArrowTurnLeftUpIcon=r(73191),e.exports.ArrowTurnRightDownIcon=r(51966),e.exports.ArrowTurnRightUpIcon=r(35309),e.exports.ArrowTurnUpLeftIcon=r(69644),e.exports.ArrowTurnUpRightIcon=r(68449),e.exports.ArrowUpCircleIcon=r(84528),e.exports.ArrowUpLeftIcon=r(82786),e.exports.ArrowUpOnSquareStackIcon=r(60802),e.exports.ArrowUpOnSquareIcon=r(12756),e.exports.ArrowUpRightIcon=r(77421),e.exports.ArrowUpTrayIcon=r(91861),e.exports.ArrowUpIcon=r(60066),e.exports.ArrowUturnDownIcon=r(41277),e.exports.ArrowUturnLeftIcon=r(88527),e.exports.ArrowUturnRightIcon=r(69163),e.exports.ArrowUturnUpIcon=r(92013),e.exports.ArrowsPointingInIcon=r(46563),e.exports.ArrowsPointingOutIcon=r(29503),e.exports.ArrowsRightLeftIcon=r(37587),e.exports.ArrowsUpDownIcon=r(64308),e.exports.AtSymbolIcon=r(83246),e.exports.BackspaceIcon=r(10348),e.exports.BackwardIcon=r(42719),e.exports.BanknotesIcon=r(20652),e.exports.Bars2Icon=r(66997),e.exports.Bars3BottomLeftIcon=r(34326),e.exports.Bars3BottomRightIcon=r(30721),e.exports.Bars3CenterLeftIcon=r(66355),e.exports.Bars3Icon=r(53664),e.exports.Bars4Icon=r(39610),e.exports.BarsArrowDownIcon=r(267),e.exports.BarsArrowUpIcon=r(61923),e.exports.Battery0Icon=r(14290),e.exports.Battery100Icon=r(57527),e.exports.Battery50Icon=r(43484),e.exports.BeakerIcon=r(58503),e.exports.BellAlertIcon=r(92608),e.exports.BellSlashIcon=r(3986),e.exports.BellSnoozeIcon=r(12644),e.exports.BellIcon=r(83228),e.exports.BoldIcon=r(14789),e.exports.BoltSlashIcon=r(51845),e.exports.BoltIcon=r(78532),e.exports.BookOpenIcon=r(26948),e.exports.BookmarkSlashIcon=r(94945),e.exports.BookmarkSquareIcon=r(52929),e.exports.BookmarkIcon=r(68220),e.exports.BriefcaseIcon=r(58065),e.exports.BugAntIcon=r(3185),e.exports.BuildingLibraryIcon=r(15529),e.exports.BuildingOffice2Icon=r(17901),e.exports.BuildingOfficeIcon=r(5032),e.exports.BuildingStorefrontIcon=r(73338),e.exports.CakeIcon=r(12305),e.exports.CalculatorIcon=r(60474),e.exports.CalendarDateRangeIcon=r(77823),e.exports.CalendarDaysIcon=r(23921),e.exports.CalendarIcon=r(26026),e.exports.CameraIcon=r(90210),e.exports.ChartBarSquareIcon=r(9282),e.exports.ChartBarIcon=r(26080),e.exports.ChartPieIcon=r(99149),e.exports.ChatBubbleBottomCenterTextIcon=r(20396),e.exports.ChatBubbleBottomCenterIcon=r(67885),e.exports.ChatBubbleLeftEllipsisIcon=r(525),e.exports.ChatBubbleLeftRightIcon=r(97387),e.exports.ChatBubbleLeftIcon=r(8819),e.exports.ChatBubbleOvalLeftEllipsisIcon=r(55893),e.exports.ChatBubbleOvalLeftIcon=r(88483),e.exports.CheckBadgeIcon=r(95913),e.exports.CheckCircleIcon=r(62950),e.exports.CheckIcon=r(58661),e.exports.ChevronDoubleDownIcon=r(78421),e.exports.ChevronDoubleLeftIcon=r(18388),e.exports.ChevronDoubleRightIcon=r(58760),e.exports.ChevronDoubleUpIcon=r(64490),e.exports.ChevronDownIcon=r(27786),e.exports.ChevronLeftIcon=r(77210),e.exports.ChevronRightIcon=r(38815),e.exports.ChevronUpDownIcon=r(36970),e.exports.ChevronUpIcon=r(84294),e.exports.CircleStackIcon=r(10959),e.exports.ClipboardDocumentCheckIcon=r(149),e.exports.ClipboardDocumentListIcon=r(2865),e.exports.ClipboardDocumentIcon=r(50408),e.exports.ClipboardIcon=r(98534),e.exports.ClockIcon=r(51215),e.exports.CloudArrowDownIcon=r(23906),e.exports.CloudArrowUpIcon=r(61841),e.exports.CloudIcon=r(43880),e.exports.CodeBracketSquareIcon=r(17450),e.exports.CodeBracketIcon=r(97549),e.exports.Cog6ToothIcon=r(16375),e.exports.Cog8ToothIcon=r(98926),e.exports.CogIcon=r(18197),e.exports.CommandLineIcon=r(76457),e.exports.ComputerDesktopIcon=r(90252),e.exports.CpuChipIcon=r(86271),e.exports.CreditCardIcon=r(65902),e.exports.CubeTransparentIcon=r(44376),e.exports.CubeIcon=r(23554),e.exports.CurrencyBangladeshiIcon=r(27095),e.exports.CurrencyDollarIcon=r(49157),e.exports.CurrencyEuroIcon=r(58933),e.exports.CurrencyPoundIcon=r(74690),e.exports.CurrencyRupeeIcon=r(53906),e.exports.CurrencyYenIcon=r(58170),e.exports.CursorArrowRaysIcon=r(37292),e.exports.CursorArrowRippleIcon=r(97681),e.exports.DevicePhoneMobileIcon=r(19767),e.exports.DeviceTabletIcon=r(3411),e.exports.DivideIcon=r(26121),e.exports.DocumentArrowDownIcon=r(14077),e.exports.DocumentArrowUpIcon=r(71950),e.exports.DocumentChartBarIcon=r(77569),e.exports.DocumentCheckIcon=r(19513),e.exports.DocumentCurrencyBangladeshiIcon=r(45646),e.exports.DocumentCurrencyDollarIcon=r(24737),e.exports.DocumentCurrencyEuroIcon=r(38600),e.exports.DocumentCurrencyPoundIcon=r(79186),e.exports.DocumentCurrencyRupeeIcon=r(78855),e.exports.DocumentCurrencyYenIcon=r(13935),e.exports.DocumentDuplicateIcon=r(66308),e.exports.DocumentMagnifyingGlassIcon=r(18048),e.exports.DocumentMinusIcon=r(17803),e.exports.DocumentPlusIcon=r(77838),e.exports.DocumentTextIcon=r(72313),e.exports.DocumentIcon=r(6659),e.exports.EllipsisHorizontalCircleIcon=r(20101),e.exports.EllipsisHorizontalIcon=r(68079),e.exports.EllipsisVerticalIcon=r(17376),e.exports.EnvelopeOpenIcon=r(88407),e.exports.EnvelopeIcon=r(70524),e.exports.EqualsIcon=r(69266),e.exports.ExclamationCircleIcon=r(22903),e.exports.ExclamationTriangleIcon=r(32962),e.exports.EyeDropperIcon=r(63237),e.exports.EyeSlashIcon=r(26532),e.exports.EyeIcon=r(29707),e.exports.FaceFrownIcon=r(90510),e.exports.FaceSmileIcon=r(68561),e.exports.FilmIcon=r(99800),e.exports.FingerPrintIcon=r(60738),e.exports.FireIcon=r(25627),e.exports.FlagIcon=r(33349),e.exports.FolderArrowDownIcon=r(29270),e.exports.FolderMinusIcon=r(11341),e.exports.FolderOpenIcon=r(11149),e.exports.FolderPlusIcon=r(39399),e.exports.FolderIcon=r(74705),e.exports.ForwardIcon=r(64230),e.exports.FunnelIcon=r(2198),e.exports.GifIcon=r(76104),e.exports.GiftTopIcon=r(30327),e.exports.GiftIcon=r(50423),e.exports.GlobeAltIcon=r(70573),e.exports.GlobeAmericasIcon=r(62796),e.exports.GlobeAsiaAustraliaIcon=r(23129),e.exports.GlobeEuropeAfricaIcon=r(20106),e.exports.H1Icon=r(78817),e.exports.H2Icon=r(58628),e.exports.H3Icon=r(89954),e.exports.HandRaisedIcon=r(78745),e.exports.HandThumbDownIcon=r(20230),e.exports.HandThumbUpIcon=r(99295),e.exports.HashtagIcon=r(34810),e.exports.HeartIcon=r(36823),e.exports.HomeModernIcon=r(72239),e.exports.HomeIcon=r(90238),e.exports.IdentificationIcon=r(25272),e.exports.InboxArrowDownIcon=r(18203),e.exports.InboxStackIcon=r(30843),e.exports.InboxIcon=r(5651),e.exports.InformationCircleIcon=r(4515),e.exports.ItalicIcon=r(2636),e.exports.KeyIcon=r(62232),e.exports.LanguageIcon=r(4722),e.exports.LifebuoyIcon=r(59364),e.exports.LightBulbIcon=r(31797),e.exports.LinkSlashIcon=r(12430),e.exports.LinkIcon=r(44726),e.exports.ListBulletIcon=r(43192),e.exports.LockClosedIcon=r(880),e.exports.LockOpenIcon=r(45669),e.exports.MagnifyingGlassCircleIcon=r(16779),e.exports.MagnifyingGlassMinusIcon=r(18464),e.exports.MagnifyingGlassPlusIcon=r(7705),e.exports.MagnifyingGlassIcon=r(63493),e.exports.MapPinIcon=r(75747),e.exports.MapIcon=r(69152),e.exports.MegaphoneIcon=r(50197),e.exports.MicrophoneIcon=r(74657),e.exports.MinusCircleIcon=r(91072),e.exports.MinusSmallIcon=r(20125),e.exports.MinusIcon=r(78315),e.exports.MoonIcon=r(42948),e.exports.MusicalNoteIcon=r(84579),e.exports.NewspaperIcon=r(25189),e.exports.NoSymbolIcon=r(31091),e.exports.NumberedListIcon=r(95341),e.exports.PaintBrushIcon=r(70077),e.exports.PaperAirplaneIcon=r(1588),e.exports.PaperClipIcon=r(38477),e.exports.PauseCircleIcon=r(47991),e.exports.PauseIcon=r(58594),e.exports.PencilSquareIcon=r(24155),e.exports.PencilIcon=r(31731),e.exports.PercentBadgeIcon=r(28328),e.exports.PhoneArrowDownLeftIcon=r(49459),e.exports.PhoneArrowUpRightIcon=r(10867),e.exports.PhoneXMarkIcon=r(31296),e.exports.PhoneIcon=r(54717),e.exports.PhotoIcon=r(74150),e.exports.PlayCircleIcon=r(60948),e.exports.PlayPauseIcon=r(70713),e.exports.PlayIcon=r(13241),e.exports.PlusCircleIcon=r(40048),e.exports.PlusSmallIcon=r(7613),e.exports.PlusIcon=r(70701),e.exports.PowerIcon=r(90760),e.exports.PresentationChartBarIcon=r(70641),e.exports.PresentationChartLineIcon=r(1976),e.exports.PrinterIcon=r(24179),e.exports.PuzzlePieceIcon=r(58417),e.exports.QrCodeIcon=r(44547),e.exports.QuestionMarkCircleIcon=r(77481),e.exports.QueueListIcon=r(62987),e.exports.RadioIcon=r(11555),e.exports.ReceiptPercentIcon=r(95003),e.exports.ReceiptRefundIcon=r(68910),e.exports.RectangleGroupIcon=r(16307),e.exports.RectangleStackIcon=r(51332),e.exports.RocketLaunchIcon=r(30550),e.exports.RssIcon=r(13677),e.exports.ScaleIcon=r(75440),e.exports.ScissorsIcon=r(5275),e.exports.ServerStackIcon=r(81287),e.exports.ServerIcon=r(35416),e.exports.ShareIcon=r(96500),e.exports.ShieldCheckIcon=r(69769),e.exports.ShieldExclamationIcon=r(35498),e.exports.ShoppingBagIcon=r(58485),e.exports.ShoppingCartIcon=r(45050),e.exports.SignalSlashIcon=r(25526),e.exports.SignalIcon=r(37305),e.exports.SlashIcon=r(38365),e.exports.SparklesIcon=r(86631),e.exports.SpeakerWaveIcon=r(59397),e.exports.SpeakerXMarkIcon=r(8673),e.exports.Square2StackIcon=r(60429),e.exports.Square3Stack3DIcon=r(54288),e.exports.Squares2X2Icon=r(52406),e.exports.SquaresPlusIcon=r(54900),e.exports.StarIcon=r(89089),e.exports.StopCircleIcon=r(9783),e.exports.StopIcon=r(79308),e.exports.StrikethroughIcon=r(73994),e.exports.SunIcon=r(60223),e.exports.SwatchIcon=r(61024),e.exports.TableCellsIcon=r(63530),e.exports.TagIcon=r(67728),e.exports.TicketIcon=r(73988),e.exports.TrashIcon=r(78191),e.exports.TrophyIcon=r(11042),e.exports.TruckIcon=r(81869),e.exports.TvIcon=r(65923),e.exports.UnderlineIcon=r(12058),e.exports.UserCircleIcon=r(84448),e.exports.UserGroupIcon=r(47950),e.exports.UserMinusIcon=r(64967),e.exports.UserPlusIcon=r(34575),e.exports.UserIcon=r(54460),e.exports.UsersIcon=r(57914),e.exports.VariableIcon=r(27685),e.exports.VideoCameraSlashIcon=r(95015),e.exports.VideoCameraIcon=r(55691),e.exports.ViewColumnsIcon=r(57958),e.exports.ViewfinderCircleIcon=r(99203),e.exports.WalletIcon=r(27635),e.exports.WifiIcon=r(39974),e.exports.WindowIcon=r(34445),e.exports.WrenchScrewdriverIcon=r(56627),e.exports.WrenchIcon=r(30324),e.exports.XCircleIcon=r(39984),e.exports.XMarkIcon=r(76019)},72092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logOnce=t.createObjectWrapper=void 0;var n=r(92819);const a={};t.logOnce=(e,t,{log:r=console.warn}={})=>{a[e]||(a[e]=!0,r(t))},t.createObjectWrapper=(e,t=n.noop)=>{const r={};for(const n in e)Object.hasOwn(e,n)&&Object.defineProperty(r,n,{set:r=>{e[n]=r,t("set",n,r)},get:()=>(t("get",n),e[n])});return r}},57131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TWITTER_IMAGE_SIZES=t.FACEBOOK_IMAGE_SIZES=void 0,t.determineFacebookImageMode=function(e){(0,n.logOnce)("@yoast/social-metadata-previews/determineFacebookImageMode","[@yoast/social-metadata-previews] 'determineFacebookImageMode' is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.");const{largeThreshold:t}=a;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"};var n=r(72092);t.TWITTER_IMAGE_SIZES=(0,n.createObjectWrapper)({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>(0,n.logOnce)(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const a=t.FACEBOOK_IMAGE_SIZES=(0,n.createObjectWrapper)({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>(0,n.logOnce)(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)))},42921:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(81413),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),o=d(r(85890)),l=r(19275),i=d(r(96080)),s=d(r(88114)),c=r(10224);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}class h extends a.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?i.default:s.default,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:r,onRemoveImageClick:o,socialMediumName:i,imageWarnings:s,siteUrl:c,description:d,descriptionInputPlaceholder:u,descriptionPreviewFallback:h,imageUrl:p,imageFallbackUrl:m,alt:f,title:w,titleInputPlaceholder:v,titlePreviewFallback:g,replacementVariables:b,recommendedReplacementVariables:E,applyReplacementVariables:x,onReplacementVariableSearchChange:y,isPremium:k,isLarge:M,socialPreviewLabel:I,idSuffix:R,activeMetaTabId:C}=this.props,A=x({title:w||g,description:d||h});return a.default.createElement(a.default.Fragment,null,I&&a.default.createElement(n.SimulatedLabel,null,I),a.default.createElement(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:r,siteUrl:c,title:A.title,description:A.description,imageUrl:p,imageFallbackUrl:m,alt:f,isLarge:M,activeMetaTabId:C}),a.default.createElement(l.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:i,title:w,titleInputPlaceholder:v,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,imageFallbackUrl:m,onTitleChange:t,onSelectImageClick:r,description:d,descriptionInputPlaceholder:u,imageWarnings:s,replacementVariables:b,recommendedReplacementVariables:E,onReplacementVariableSearchChange:y,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:R}))}}h.propTypes={title:o.default.string.isRequired,onTitleChange:o.default.func.isRequired,description:o.default.string.isRequired,onDescriptionChange:o.default.func.isRequired,imageUrl:o.default.string.isRequired,imageFallbackUrl:o.default.string.isRequired,onSelectImageClick:o.default.func.isRequired,onRemoveImageClick:o.default.func.isRequired,socialMediumName:o.default.string.isRequired,alt:o.default.string,isPremium:o.default.bool,imageWarnings:o.default.array,isLarge:o.default.bool,siteUrl:o.default.string,descriptionInputPlaceholder:o.default.string,titleInputPlaceholder:o.default.string,descriptionPreviewFallback:o.default.string,titlePreviewFallback:o.default.string,replacementVariables:c.replacementVariablesShape,recommendedReplacementVariables:c.recommendedReplacementVariablesShape,applyReplacementVariables:o.default.func,onReplacementVariableSearchChange:o.default.func,socialPreviewLabel:o.default.string,idSuffix:o.default.string,activeMetaTabId:o.default.string},h.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""},t.default=h},19525:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const a=((n=r(98487))&&n.__esModule?n:{default:n}).default.p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `;t.default=a},38091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=h(r(98487)),o=h(r(85890)),l=r(65736),i=r(92819),s=r(19275),c=r(37188),d=r(89231),u=r(30685);function h(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}const m=a.default.div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${c.colors.$color_white}; `,f=a.default.div` box-sizing: border-box; max-width: ${s.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${s.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${c.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class w extends n.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await(0,u.handleImage)(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:s.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:s.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:s.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:s.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:s.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:s.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return n.default.createElement(f,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,l.__)("Select image","wordpress-seo"));const r=this.retrieveContainerDimensions(e.mode);return n.default.createElement(m,{mode:e.mode,dimensions:r,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},n.default.createElement(d.SocialImage,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:s.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}w.propTypes={src:o.default.string,alt:o.default.string,onImageLoaded:o.default.func,onImageClick:o.default.func,onMouseEnter:o.default.func,onMouseLeave:o.default.func},w.defaultProps={src:"",alt:"",onImageLoaded:i.noop,onImageClick:i.noop,onMouseEnter:i.noop,onMouseLeave:i.noop},t.default=w},96080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h(r(99196)),a=d(r(85890)),o=d(r(98487)),l=d(r(29650)),i=d(r(38091)),s=h(r(13647)),c=d(r(19525));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const p=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},m=o.default.div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,f=o.default.div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class w extends n.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=n.default.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/s.facebookTitleLineHeight}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,r="landscape"===e?2:5;r!==t&&this.setState({maxLineCount:r})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:r}=this.state,n=this.getTitleLineCount();let a=t-n;"portrait"===r&&(a=5===n?0:4),a!==e&&this.setState({descriptionLineCount:a})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:r}=this.state;return n.default.createElement(m,{id:"facebookPreview",mode:e},n.default.createElement(i.default,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),n.default.createElement(f,{mode:e},n.default.createElement(l.default,{siteUrl:this.props.siteUrl,mode:e}),n.default.createElement(s.default,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),r>0&&n.default.createElement(c.default,{maxWidth:p(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:r},this.props.description)))}}w.propTypes={siteUrl:a.default.string.isRequired,title:a.default.string.isRequired,description:a.default.string,imageUrl:a.default.string,imageFallbackUrl:a.default.string,alt:a.default.string,onSelect:a.default.func,onImageClick:a.default.func,onMouseHover:a.default.func},w.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}},t.default=w},29650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=l(r(98487)),o=l(r(85890));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}const s=a.default.p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,c=e=>{const{siteUrl:t}=e;return n.default.createElement(n.Fragment,null,n.default.createElement("span",{className:"screen-reader-text"},t),n.default.createElement(s,{"aria-hidden":"true"},n.default.createElement("span",null,t)))};c.propTypes={siteUrl:o.default.string.isRequired},t.default=c},13647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.facebookTitleLineHeight=t.default=void 0;var n,a=(n=r(98487))&&n.__esModule?n:{default:n};const o=t.facebookTitleLineHeight=20,l=a.default.span` line-height: ${o}px; min-height : ${o}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `;t.default=l},30685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateImageDimensions=i,t.calculateImageRatios=o,t.calculateLargestDimensions=l,t.determineImageProperties=s,t.handleImage=async function(e,t,r=!1){try{return{imageProperties:await s(e,t,r),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}},t.retrieveExpectedDimensions=a;var n=r(19275);function a(e){return"Twitter"===e?n.TWITTER_IMAGE_SIZES:n.FACEBOOK_IMAGE_SIZES}function o(e,t,r){return"landscape"===r?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===r?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function l(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function i(e,t,r){return"square"===r&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:l(t,o(e,t,r))}async function s(e,t,r=!1){const o=await function(e){return new Promise(((t,r)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=r,n.src=e}))}(e);let l=r?"landscape":"square";"Facebook"===t&&(l=(0,n.determineFacebookImageMode)(o));const s=i(a(t),o,l);return{mode:l,height:s.height,width:s.width}}},88198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FACEBOOK_IMAGE_SIZES",{enumerable:!0,get:function(){return l.FACEBOOK_IMAGE_SIZES}}),Object.defineProperty(t,"FacebookPreview",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SocialPreviewEditor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TWITTER_IMAGE_SIZES",{enumerable:!0,get:function(){return l.TWITTER_IMAGE_SIZES}}),Object.defineProperty(t,"TwitterPreview",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"determineFacebookImageMode",{enumerable:!0,get:function(){return l.determineFacebookImageMode}});var n=i(r(96080)),a=i(r(88114)),o=i(r(42921)),l=r(57131);function i(e){return e&&e.__esModule?e:{default:e}}},89231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialImage=void 0;var n=l(r(85890)),a=l(r(99196)),o=l(r(98487));function l(e){return e&&e.__esModule?e:{default:e}}const i=o.default.img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,s=o.default.img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,c=o.default.div` padding-bottom: ${e=>e.aspectRatio}%; `,d=({imageProps:e,width:t,height:r,imageMode:n="landscape"})=>"landscape"===n?a.default.createElement(c,{aspectRatio:e.aspectRatio},a.default.createElement(s,{src:e.src,alt:e.alt})):a.default.createElement(i,{src:e.src,alt:e.alt,width:t,height:r,imageProperties:e});t.SocialImage=d,d.propTypes={imageProps:n.default.shape({src:n.default.string.isRequired,alt:n.default.string.isRequired,aspectRatio:n.default.number.isRequired}).isRequired,width:n.default.number.isRequired,height:n.default.number.isRequired,imageMode:n.default.string}},69136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(19275);const o=((n=r(98487))&&n.__esModule?n:{default:n}).default.p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${a.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `;t.default=o},24570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),a=r(19275),o=r(92819),l=u(r(85890)),i=u(r(99196)),s=u(r(98487)),c=r(30685),d=r(89231);function u(e){return e&&e.__esModule?e:{default:e}}const h=(e,t=!0)=>e?`\n\t\t\tmax-width: ${a.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${a.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,p=s.default.div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>h(e.isLarge)} `,m=s.default.div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>h(e.isLarge,!1)} `,f=(0,s.default)(m)` ${e=>e.isLarge&&`height: ${a.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class w extends i.default.Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await(0,c.handleImage)(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?i.default.createElement(f,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,n.__)("Select image","wordpress-seo")):i.default.createElement(p,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},i.default.createElement(d.SocialImage,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:a.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}t.default=w,w.propTypes={isLarge:l.default.bool.isRequired,src:l.default.string,alt:l.default.string,onImageClick:l.default.func,onMouseEnter:l.default.func,onMouseLeave:l.default.func},w.defaultProps={src:"",alt:"",onMouseEnter:o.noop,onImageClick:o.noop,onMouseLeave:o.noop}},88114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(99196)),a=u(r(85890)),o=u(r(98487)),l=u(r(46497)),i=u(r(24570)),s=u(r(48279)),c=u(r(67132)),d=u(r(69136));function u(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}const p=o.default.div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,m=(0,o.default)(p)` flex-direction: column; max-height: 370px; `,f=(0,o.default)(p)` flex-direction: row; height: 125px; `;class w extends n.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:r,alt:a,title:o,description:u,siteUrl:h}=this.props,p=e?m:f;return n.default.createElement(p,{id:"twitterPreview"},n.default.createElement(i.default,{src:t||r,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),n.default.createElement(s.default,null,n.default.createElement(l.default,{siteUrl:h}),n.default.createElement(c.default,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},o),n.default.createElement(d.default,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},u)))}}w.propTypes={siteUrl:a.default.string.isRequired,title:a.default.string.isRequired,description:a.default.string,isLarge:a.default.bool,imageUrl:a.default.string,imageFallbackUrl:a.default.string,alt:a.default.string,onSelect:a.default.func,onImageClick:a.default.func,onMouseHover:a.default.func},w.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0},t.default=w},46497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(99196)),a=l(r(98487)),o=l(r(85890));function l(e){return e&&e.__esModule?e:{default:e}}const i=a.default.div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,s=e=>n.default.createElement(i,null,n.default.createElement("span",null,e.siteUrl));s.propTypes={siteUrl:o.default.string.isRequired},t.default=s},48279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(99196)),a=l(r(98487)),o=l(r(85890));function l(e){return e&&e.__esModule?e:{default:e}}const i=a.default.div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,s=e=>n.default.createElement(i,null,e.children);s.propTypes={children:o.default.array.isRequired},t.default=s},67132:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const a=((n=r(98487))&&n.__esModule?n:{default:n}).default.p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `;t.default=a},94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var l=a.apply(null,r);l&&e.push(l)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},99196:e=>{"use strict";e.exports=window.React},92819:e=>{"use strict";e.exports=window.lodash},94333:e=>{"use strict";e.exports=window.wp.compose},69307:e=>{"use strict";e.exports=window.wp.element},65736:e=>{"use strict";e.exports=window.wp.i18n},81413:e=>{"use strict";e.exports=window.yoast.componentsNew},85890:e=>{"use strict";e.exports=window.yoast.propTypes},10224:e=>{"use strict";e.exports=window.yoast.replacementVariableEditor},65995:e=>{"use strict";e.exports=window.yoast.searchMetadataPreviews},19275:e=>{"use strict";e.exports=window.yoast.socialMetadataForms},37188:e=>{"use strict";e.exports=window.yoast.styleGuide},98487:e=>{"use strict";e.exports=window.yoast.styledComponents},18594:e=>{"use strict";e.exports=window.yoast.uiLibrary},45014:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CompactEncrypt:()=>ft,CompactSign:()=>vt,EmbeddedJWK:()=>Ct,EncryptJWT:()=>kt,FlattenedEncrypt:()=>Qe,FlattenedSign:()=>wt,GeneralEncrypt:()=>tt,GeneralSign:()=>bt,SignJWT:()=>yt,UnsecuredJWT:()=>Wt,base64url:()=>a,calculateJwkThumbprint:()=>It,calculateJwkThumbprintUri:()=>Rt,compactDecrypt:()=>Fe,compactVerify:()=>lt,createLocalJWKSet:()=>Ot,createRemoteJWKSet:()=>_t,cryptoRuntime:()=>Jt,decodeJwt:()=>Dt,decodeProtectedHeader:()=>Nt,errors:()=>n,experimental_jwksCache:()=>Vt,exportJWK:()=>Ye,exportPKCS8:()=>ze,exportSPKI:()=>qe,flattenedDecrypt:()=>Ke,flattenedVerify:()=>ot,generalDecrypt:()=>Je,generalVerify:()=>it,generateKeyPair:()=>Kt,generateSecret:()=>Ft,importJWK:()=>Se,importPKCS8:()=>He,importSPKI:()=>je,importX509:()=>Oe,jwksCache:()=>St,jwtDecrypt:()=>mt,jwtVerify:()=>pt});var n={};r.r(n),r.d(n,{JOSEAlgNotAllowed:()=>k,JOSEError:()=>E,JOSENotSupported:()=>M,JWEDecryptionFailed:()=>I,JWEInvalid:()=>R,JWKInvalid:()=>L,JWKSInvalid:()=>Z,JWKSMultipleMatchingKeys:()=>O,JWKSNoMatchingKey:()=>j,JWKSTimeout:()=>H,JWSInvalid:()=>C,JWSSignatureVerificationFailed:()=>S,JWTClaimValidationFailed:()=>x,JWTExpired:()=>y,JWTInvalid:()=>A});var a={};r.r(a),r.d(a,{decode:()=>Pt,encode:()=>Tt});const o=crypto,l=e=>e instanceof CryptoKey,i=async(e,t)=>{const r=`SHA-${e.slice(-3)}`;return new Uint8Array(await o.subtle.digest(r,t))},s=new TextEncoder,c=new TextDecoder,d=2**32;function u(...e){const t=e.reduce(((e,{length:t})=>e+t),0),r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}function h(e,t,r){if(t<0||t>=d)throw new RangeError(`value must be >= 0 and <= ${d-1}. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,255&t],r)}function p(e){const t=Math.floor(e/d),r=e%d,n=new Uint8Array(8);return h(n,t,0),h(n,r,4),n}function m(e){const t=new Uint8Array(4);return h(t,e),t}function f(e){return u(m(e.length),e)}const w=e=>{let t=e;"string"==typeof t&&(t=s.encode(t));const r=[];for(let e=0;e<t.length;e+=32768)r.push(String.fromCharCode.apply(null,t.subarray(e,e+32768)));return btoa(r.join(""))},v=e=>w(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),g=e=>{const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r},b=e=>{let t=e;t instanceof Uint8Array&&(t=c.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return g(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class E extends Error{constructor(e,t){super(e,t),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}E.code="ERR_JOSE_GENERIC";class x extends E{constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=n,this.payload=t}}x.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class y extends E{constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=n,this.payload=t}}y.code="ERR_JWT_EXPIRED";class k extends E{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}k.code="ERR_JOSE_ALG_NOT_ALLOWED";class M extends E{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}M.code="ERR_JOSE_NOT_SUPPORTED";class I extends E{constructor(e="decryption operation failed",t){super(e,t),this.code="ERR_JWE_DECRYPTION_FAILED"}}I.code="ERR_JWE_DECRYPTION_FAILED";class R extends E{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}R.code="ERR_JWE_INVALID";class C extends E{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}C.code="ERR_JWS_INVALID";class A extends E{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}A.code="ERR_JWT_INVALID";class L extends E{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}L.code="ERR_JWK_INVALID";class Z extends E{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}Z.code="ERR_JWKS_INVALID";class j extends E{constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t),this.code="ERR_JWKS_NO_MATCHING_KEY"}}j.code="ERR_JWKS_NO_MATCHING_KEY";class O extends E{constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Symbol.asyncIterator,O.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class H extends E{constructor(e="request timed out",t){super(e,t),this.code="ERR_JWKS_TIMEOUT"}}H.code="ERR_JWKS_TIMEOUT";class S extends E{constructor(e="signature verification failed",t){super(e,t),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}S.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";const B=o.getRandomValues.bind(o);function _(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new M(`Unsupported JWE Algorithm: ${e}`)}}const V=(e,t)=>{if(t.length<<3!==_(e))throw new R("Invalid Initialization Vector length")},W=(e,t)=>{const r=e.byteLength<<3;if(r!==t)throw new R(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)};function T(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function P(e,t){return e.name===t}function N(e){return parseInt(e.name.slice(4),10)}function D(e,t){if(t.length&&!t.some((t=>e.usages.includes(t)))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const r=t.pop();e+=`one of ${t.join(", ")}, or ${r}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw new TypeError(e)}}function U(e,t,...r){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!P(e.algorithm,"AES-GCM"))throw T("AES-GCM");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw T(r,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!P(e.algorithm,"AES-KW"))throw T("AES-KW");const r=parseInt(t.slice(1,4),10);if(e.algorithm.length!==r)throw T(r,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw T("ECDH, X25519, or X448")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!P(e.algorithm,"PBKDF2"))throw T("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!P(e.algorithm,"RSA-OAEP"))throw T("RSA-OAEP");const r=parseInt(t.slice(9),10)||1;if(N(e.algorithm.hash)!==r)throw T(`SHA-${r}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}D(e,r)}function K(e,t,...r){if((r=r.filter(Boolean)).length>2){const t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}const F=(e,...t)=>K("Key must be ",e,...t);function J(e,t,...r){return K(`Key for the ${e} algorithm must be `,t,...r)}const G=e=>!!l(e)||"KeyObject"===e?.[Symbol.toStringTag],$=["CryptoKey"],q=async(e,t,r,n,a,i)=>{if(!(l(t)||t instanceof Uint8Array))throw new TypeError(F(t,...$,"Uint8Array"));if(!n)throw new R("JWE Initialization Vector missing");if(!a)throw new R("JWE Authentication Tag missing");switch(V(e,n),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&W(t,parseInt(e.slice(-3),10)),async function(e,t,r,n,a,l){if(!(t instanceof Uint8Array))throw new TypeError(F(t,"Uint8Array"));const i=parseInt(e.slice(1,4),10),s=await o.subtle.importKey("raw",t.subarray(i>>3),"AES-CBC",!1,["decrypt"]),c=await o.subtle.importKey("raw",t.subarray(0,i>>3),{hash:"SHA-"+(i<<1),name:"HMAC"},!1,["sign"]),d=u(l,n,r,p(l.length<<3)),h=new Uint8Array((await o.subtle.sign("HMAC",c,d)).slice(0,i>>3));let m,f;try{m=((e,t)=>{if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(t instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");if(e.length!==t.length)throw new TypeError("Input buffers must have the same length");const r=e.length;let n=0,a=-1;for(;++a<r;)n|=e[a]^t[a];return 0===n})(a,h)}catch{}if(!m)throw new I;try{f=new Uint8Array(await o.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}if(!f)throw new I;return f}(e,t,r,n,a,i);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&W(t,parseInt(e.slice(1,4),10)),async function(e,t,r,n,a,l){let i;t instanceof Uint8Array?i=await o.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(U(t,e,"decrypt"),i=t);try{return new Uint8Array(await o.subtle.decrypt({additionalData:l,iv:n,name:"AES-GCM",tagLength:128},i,u(r,a)))}catch{throw new I}}(e,t,r,n,a,i);default:throw new M("Unsupported JWE Content Encryption Algorithm")}},z=(...e)=>{const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let r;for(const e of t){const t=Object.keys(e);if(r&&0!==r.size)for(const e of t){if(r.has(e))return!1;r.add(e)}else r=new Set(t)}return!0};function Y(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let r=e;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}const X=[{hash:"SHA-256",name:"HMAC"},!0,["sign"]];function Q(e,t){if(e.algorithm.length!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function ee(e,t,r){if(l(e))return U(e,t,r),e;if(e instanceof Uint8Array)return o.subtle.importKey("raw",e,"AES-KW",!0,[r]);throw new TypeError(F(e,...$,"Uint8Array"))}const te=async(e,t,r)=>{const n=await ee(t,e,"wrapKey");Q(n,e);const a=await o.subtle.importKey("raw",r,...X);return new Uint8Array(await o.subtle.wrapKey("raw",a,n,"AES-KW"))},re=async(e,t,r)=>{const n=await ee(t,e,"unwrapKey");Q(n,e);const a=await o.subtle.unwrapKey("raw",r,n,"AES-KW",...X);return new Uint8Array(await o.subtle.exportKey("raw",a))};async function ne(e,t,r,n,a=new Uint8Array(0),c=new Uint8Array(0)){if(!l(e))throw new TypeError(F(e,...$));if(U(e,"ECDH"),!l(t))throw new TypeError(F(t,...$));U(t,"ECDH","deriveBits");const d=u(f(s.encode(r)),f(a),f(c),m(n));let h;return h="X25519"===e.algorithm.name?256:"X448"===e.algorithm.name?448:Math.ceil(parseInt(e.algorithm.namedCurve.substr(-3),10)/8)<<3,async function(e,t,r){const n=Math.ceil((t>>3)/32),a=new Uint8Array(32*n);for(let t=0;t<n;t++){const n=new Uint8Array(4+e.length+r.length);n.set(m(t+1)),n.set(e,4),n.set(r,4+e.length),a.set(await i("sha256",n),32*t)}return a.slice(0,t>>3)}(new Uint8Array(await o.subtle.deriveBits({name:e.algorithm.name,public:e},t,h)),n,d)}function ae(e){if(!l(e))throw new TypeError(F(e,...$));return["P-256","P-384","P-521"].includes(e.algorithm.namedCurve)||"X25519"===e.algorithm.name||"X448"===e.algorithm.name}async function oe(e,t,r,n){!function(e){if(!(e instanceof Uint8Array)||e.length<8)throw new R("PBES2 Salt Input must be 8 or more octets")}(e);const a=function(e,t){return u(s.encode(e),new Uint8Array([0]),t)}(t,e),i=parseInt(t.slice(13,16),10),c={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:a},d={length:i,name:"AES-KW"},h=await function(e,t){if(e instanceof Uint8Array)return o.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]);if(l(e))return U(e,t,"deriveBits","deriveKey"),e;throw new TypeError(F(e,...$,"Uint8Array"))}(n,t);if(h.usages.includes("deriveBits"))return new Uint8Array(await o.subtle.deriveBits(c,h,i));if(h.usages.includes("deriveKey"))return o.subtle.deriveKey(c,h,d,!1,["wrapKey","unwrapKey"]);throw new TypeError('PBKDF2 key "usages" must include "deriveBits" or "deriveKey"')}function le(e){switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new M(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}const ie=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function se(e){return Y(e)&&"string"==typeof e.kty}const ce=async e=>{if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new M('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new M('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"EdDSA":t={name:e.crv},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new M('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new M('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),n=[t,e.ext??!1,e.key_ops??r],a={...e};return delete a.alg,delete a.use,o.subtle.importKey("jwk",a,...n)},de=e=>b(e);let ue,he;const pe=e=>"KeyObject"===e?.[Symbol.toStringTag],me=async(e,t,r,n,a=!1)=>{let o=e.get(t);if(o?.[n])return o[n];const l=await ce({...r,alg:n});return a&&Object.freeze(t),o?o[n]=l:e.set(t,{[n]:l}),l},fe=(e,t)=>{if(pe(e)){let r=e.export({format:"jwk"});return delete r.d,delete r.dp,delete r.dq,delete r.p,delete r.q,delete r.qi,r.k?de(r.k):(he||(he=new WeakMap),me(he,e,r,t))}return se(e)?e.k?b(e.k):(he||(he=new WeakMap),me(he,e,e,t,!0)):e},we=(e,t)=>{if(pe(e)){let r=e.export({format:"jwk"});return r.k?de(r.k):(ue||(ue=new WeakMap),me(ue,e,r,t))}return se(e)?e.k?b(e.k):(ue||(ue=new WeakMap),me(ue,e,e,t,!0)):e};function ve(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new M(`Unsupported JWE Algorithm: ${e}`)}}const ge=e=>B(new Uint8Array(ve(e)>>3)),be=(e,t)=>`-----BEGIN ${t}-----\n${(e.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${t}-----`,Ee=async(e,t,r)=>{if(!l(r))throw new TypeError(F(r,...$));if(!r.extractable)throw new TypeError("CryptoKey is not extractable");if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return be(w(new Uint8Array(await o.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},xe=e=>Ee("public","spki",e),ye=e=>Ee("private","pkcs8",e),ke=(e,t,r=0)=>{0===r&&(t.unshift(t.length),t.unshift(6));const n=e.indexOf(t[0],r);if(-1===n)return!1;const a=e.subarray(n,n+t.length);return a.length===t.length&&(a.every(((e,r)=>e===t[r]))||ke(e,t,n+1))},Me=e=>{switch(!0){case ke(e,[42,134,72,206,61,3,1,7]):return"P-256";case ke(e,[43,129,4,0,34]):return"P-384";case ke(e,[43,129,4,0,35]):return"P-521";case ke(e,[43,101,110]):return"X25519";case ke(e,[43,101,111]):return"X448";case ke(e,[43,101,112]):return"Ed25519";case ke(e,[43,101,113]):return"Ed448";default:throw new M("Invalid or unsupported EC Key Curve or OKP Key Sub Type")}},Ie=async(e,t,r,n,a)=>{let l,i;const s=new Uint8Array(atob(r.replace(e,"")).split("").map((e=>e.charCodeAt(0)))),c="spki"===t;switch(n){case"PS256":case"PS384":case"PS512":l={name:"RSA-PSS",hash:`SHA-${n.slice(-3)}`},i=c?["verify"]:["sign"];break;case"RS256":case"RS384":case"RS512":l={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${n.slice(-3)}`},i=c?["verify"]:["sign"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":l={name:"RSA-OAEP",hash:`SHA-${parseInt(n.slice(-3),10)||1}`},i=c?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":l={name:"ECDSA",namedCurve:"P-256"},i=c?["verify"]:["sign"];break;case"ES384":l={name:"ECDSA",namedCurve:"P-384"},i=c?["verify"]:["sign"];break;case"ES512":l={name:"ECDSA",namedCurve:"P-521"},i=c?["verify"]:["sign"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{const e=Me(s);l=e.startsWith("P-")?{name:"ECDH",namedCurve:e}:{name:e},i=c?[]:["deriveBits"];break}case"Ed25519":l={name:"Ed25519"},i=c?["verify"]:["sign"];break;case"EdDSA":l={name:Me(s)},i=c?["verify"]:["sign"];break;default:throw new M('Invalid or unsupported "alg" (Algorithm) value')}return o.subtle.importKey(t,s,l,a?.extractable??!1,i)},Re=(e,t,r)=>Ie(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"pkcs8",e,t,r),Ce=(e,t,r)=>Ie(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,"spki",e,t,r);function Ae(e){const t=[];let r=0;for(;r<e.length;){const n=Le(e.subarray(r));t.push(n),r+=n.byteLength}return t}function Le(e){let t=0,r=31&e[0];if(t++,31===r){for(r=0;e[t]>=128;)r=128*r+e[t]-128,t++;r=128*r+e[t]-128,t++}let n=0;if(e[t]<128)n=e[t],t++;else{if(128===n){for(n=0;0!==e[t+n]||0!==e[t+n+1];){if(n>e.byteLength)throw new TypeError("invalid indefinite form length");n++}const r=t+n+2;return{byteLength:r,contents:e.subarray(t,t+n),raw:e.subarray(0,r)}}{const r=127&e[t];t++,n=0;for(let a=0;a<r;a++)n=256*n+e[t],t++}}const a=t+n;return{byteLength:a,contents:e.subarray(t,a),raw:e.subarray(0,a)}}const Ze=(e,t,r)=>{let n;try{n=function(e){const t=e.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,""),r=g(t);return be(function(e){const t=Ae(Ae(Le(e).contents)[0].contents);return w(t[160===t[0].raw[0]?6:5].raw)}(r),"PUBLIC KEY")}(e)}catch(e){throw new TypeError("Failed to parse the X.509 certificate",{cause:e})}return Ce(n,t,r)};async function je(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return Ce(e,t,r)}async function Oe(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return Ze(e,t,r)}async function He(e,t,r){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Re(e,t,r)}async function Se(e,t){if(!Y(e))throw new TypeError("JWK must be an object");switch(t||(t=e.alg),e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return b(e.k);case"RSA":if("oth"in e&&void 0!==e.oth)throw new M('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return ce({...e,alg:t});default:throw new M('Unsupported "kty" (Key Type) Parameter value')}}const Be=e=>e?.[Symbol.toStringTag],_e=(e,t,r)=>{if(void 0!==t.use&&"sig"!==t.use)throw new TypeError("Invalid key for this operation, when present its use must be sig");if(void 0!==t.key_ops&&!0!==t.key_ops.includes?.(r))throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${r}`);if(void 0!==t.alg&&t.alg!==e)throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);return!0};function Ve(e,t,r,n){t.startsWith("HS")||"dir"===t||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t)?((e,t,r,n)=>{if(!(t instanceof Uint8Array)){if(n&&se(t)){if(function(e){return se(e)&&"oct"===e.kty&&"string"==typeof e.k}(t)&&_e(e,t,r))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!G(t))throw new TypeError(J(e,t,...$,"Uint8Array",n?"JSON Web Key":null));if("secret"!==t.type)throw new TypeError(`${Be(t)} instances for symmetric algorithms must be of type "secret"`)}})(t,r,n,e):((e,t,r,n)=>{if(n&&se(t))switch(r){case"sign":if(function(e){return"oct"!==e.kty&&"string"==typeof e.d}(t)&&_e(e,t,r))return;throw new TypeError("JSON Web Key for this operation be a private JWK");case"verify":if(function(e){return"oct"!==e.kty&&void 0===e.d}(t)&&_e(e,t,r))return;throw new TypeError("JSON Web Key for this operation be a public JWK")}if(!G(t))throw new TypeError(J(e,t,...$,n?"JSON Web Key":null));if("secret"===t.type)throw new TypeError(`${Be(t)} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===r&&"public"===t.type)throw new TypeError(`${Be(t)} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===r&&"public"===t.type)throw new TypeError(`${Be(t)} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===r&&"private"===t.type)throw new TypeError(`${Be(t)} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===r&&"private"===t.type)throw new TypeError(`${Be(t)} instances for asymmetric algorithm encryption must be of type "public"`)})(t,r,n,e)}const We=Ve.bind(void 0,!1),Te=Ve.bind(void 0,!0),Pe=async(e,t,r,n,a)=>{if(!(l(r)||r instanceof Uint8Array))throw new TypeError(F(r,...$,"Uint8Array"));switch(n?V(e,n):n=B(new Uint8Array(_(e)>>3)),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r instanceof Uint8Array&&W(r,parseInt(e.slice(-3),10)),async function(e,t,r,n,a){if(!(r instanceof Uint8Array))throw new TypeError(F(r,"Uint8Array"));const l=parseInt(e.slice(1,4),10),i=await o.subtle.importKey("raw",r.subarray(l>>3),"AES-CBC",!1,["encrypt"]),s=await o.subtle.importKey("raw",r.subarray(0,l>>3),{hash:"SHA-"+(l<<1),name:"HMAC"},!1,["sign"]),c=new Uint8Array(await o.subtle.encrypt({iv:n,name:"AES-CBC"},i,t)),d=u(a,n,c,p(a.length<<3));return{ciphertext:c,tag:new Uint8Array((await o.subtle.sign("HMAC",s,d)).slice(0,l>>3)),iv:n}}(e,t,r,n,a);case"A128GCM":case"A192GCM":case"A256GCM":return r instanceof Uint8Array&&W(r,parseInt(e.slice(1,4),10)),async function(e,t,r,n,a){let l;r instanceof Uint8Array?l=await o.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(U(r,e,"encrypt"),l=r);const i=new Uint8Array(await o.subtle.encrypt({additionalData:a,iv:n,name:"AES-GCM",tagLength:128},l,t)),s=i.slice(-16);return{ciphertext:i.slice(0,-16),tag:s,iv:n}}(e,t,r,n,a);default:throw new M("Unsupported JWE Content Encryption Algorithm")}},Ne=async function(e,t,r,n,a){switch(We(e,t,"decrypt"),t=await(we?.(t,e))||t,e){case"dir":if(void 0!==r)throw new R("Encountered unexpected JWE Encrypted Key");return t;case"ECDH-ES":if(void 0!==r)throw new R("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Y(n.epk))throw new R('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!ae(t))throw new M("ECDH with the provided key is not allowed or not supported by your javascript runtime");const a=await Se(n.epk,e);let o,l;if(void 0!==n.apu){if("string"!=typeof n.apu)throw new R('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{o=b(n.apu)}catch{throw new R("Failed to base64url decode the apu")}}if(void 0!==n.apv){if("string"!=typeof n.apv)throw new R('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{l=b(n.apv)}catch{throw new R("Failed to base64url decode the apv")}}const i=await ne(a,t,"ECDH-ES"===e?n.enc:e,"ECDH-ES"===e?ve(n.enc):parseInt(e.slice(-5,-2),10),o,l);if("ECDH-ES"===e)return i;if(void 0===r)throw new R("JWE Encrypted Key missing");return re(e.slice(-6),i,r)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===r)throw new R("JWE Encrypted Key missing");return(async(e,t,r)=>{if(!l(t))throw new TypeError(F(t,...$));if(U(t,e,"decrypt","unwrapKey"),ie(e,t),t.usages.includes("decrypt"))return new Uint8Array(await o.subtle.decrypt(le(e),t,r));if(t.usages.includes("unwrapKey")){const n=await o.subtle.unwrapKey("raw",r,t,le(e),...X);return new Uint8Array(await o.subtle.exportKey("raw",n))}throw new TypeError('RSA-OAEP key "usages" must include "decrypt" or "unwrapKey" for this operation')})(e,t,r);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===r)throw new R("JWE Encrypted Key missing");if("number"!=typeof n.p2c)throw new R('JOSE Header "p2c" (PBES2 Count) missing or invalid');const o=a?.maxPBES2Count||1e4;if(n.p2c>o)throw new R('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof n.p2s)throw new R('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let l;try{l=b(n.p2s)}catch{throw new R("Failed to base64url decode the p2s")}return(async(e,t,r,n,a)=>{const o=await oe(a,e,n,t);return re(e.slice(-6),o,r)})(e,t,r,n.p2c,l)}case"A128KW":case"A192KW":case"A256KW":if(void 0===r)throw new R("JWE Encrypted Key missing");return re(e,t,r);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===r)throw new R("JWE Encrypted Key missing");if("string"!=typeof n.iv)throw new R('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof n.tag)throw new R('JOSE Header "tag" (Authentication Tag) missing or invalid');let a,o;try{a=b(n.iv)}catch{throw new R("Failed to base64url decode the iv")}try{o=b(n.tag)}catch{throw new R("Failed to base64url decode the tag")}return async function(e,t,r,n,a){const o=e.slice(0,7);return q(o,t,r,n,a,new Uint8Array(0))}(e,t,r,a,o)}default:throw new M('Invalid or unsupported "alg" (JWE Algorithm) header value')}},De=function(e,t,r,n,a){if(void 0!==a.crit&&void 0===n?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.crit.some((e=>"string"!=typeof e||0===e.length)))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o;o=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t;for(const t of n.crit){if(!o.has(t))throw new M(`Extension Header Parameter "${t}" is not recognized`);if(void 0===a[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(o.get(t)&&void 0===n[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(n.crit)},Ue=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some((e=>"string"!=typeof e))))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)};async function Ke(e,t,r){if(!Y(e))throw new R("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new R("JOSE Header missing");if(void 0!==e.iv&&"string"!=typeof e.iv)throw new R("JWE Initialization Vector incorrect type");if("string"!=typeof e.ciphertext)throw new R("JWE Ciphertext missing or incorrect type");if(void 0!==e.tag&&"string"!=typeof e.tag)throw new R("JWE Authentication Tag incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new R("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new R("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new R("JWE AAD incorrect type");if(void 0!==e.header&&!Y(e.header))throw new R("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!Y(e.unprotected))throw new R("JWE Per-Recipient Unprotected Header incorrect type");let n;if(e.protected)try{const t=b(e.protected);n=JSON.parse(c.decode(t))}catch{throw new R("JWE Protected Header is invalid")}if(!z(n,e.header,e.unprotected))throw new R("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const a={...n,...e.header,...e.unprotected};if(De(R,new Map,r?.crit,n,a),void 0!==a.zip)throw new M('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:o,enc:l}=a;if("string"!=typeof o||!o)throw new R("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof l||!l)throw new R("missing JWE Encryption Algorithm (enc) in JWE Header");const i=r&&Ue("keyManagementAlgorithms",r.keyManagementAlgorithms),d=r&&Ue("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(i&&!i.has(o)||!i&&o.startsWith("PBES2"))throw new k('"alg" (Algorithm) Header Parameter value not allowed');if(d&&!d.has(l))throw new k('"enc" (Encryption Algorithm) Header Parameter value not allowed');let h;if(void 0!==e.encrypted_key)try{h=b(e.encrypted_key)}catch{throw new R("Failed to base64url decode the encrypted_key")}let p,m,f,w=!1;"function"==typeof t&&(t=await t(n,e),w=!0);try{p=await Ne(o,t,h,a,r)}catch(e){if(e instanceof TypeError||e instanceof R||e instanceof M)throw e;p=ge(l)}if(void 0!==e.iv)try{m=b(e.iv)}catch{throw new R("Failed to base64url decode the iv")}if(void 0!==e.tag)try{f=b(e.tag)}catch{throw new R("Failed to base64url decode the tag")}const v=s.encode(e.protected??"");let g,E;g=void 0!==e.aad?u(v,s.encode("."),s.encode(e.aad)):v;try{E=b(e.ciphertext)}catch{throw new R("Failed to base64url decode the ciphertext")}const x={plaintext:await q(l,p,E,m,f,g)};if(void 0!==e.protected&&(x.protectedHeader=n),void 0!==e.aad)try{x.additionalAuthenticatedData=b(e.aad)}catch{throw new R("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(x.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(x.unprotectedHeader=e.header),w?{...x,key:t}:x}async function Fe(e,t,r){if(e instanceof Uint8Array&&(e=c.decode(e)),"string"!=typeof e)throw new R("Compact JWE must be a string or Uint8Array");const{0:n,1:a,2:o,3:l,4:i,length:s}=e.split(".");if(5!==s)throw new R("Invalid Compact JWE");const d=await Ke({ciphertext:l,iv:o||void 0,protected:n,tag:i||void 0,encrypted_key:a||void 0},t,r),u={plaintext:d.plaintext,protectedHeader:d.protectedHeader};return"function"==typeof t?{...u,key:d.key}:u}async function Je(e,t,r){if(!Y(e))throw new R("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(Y))throw new R("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new R("JWE Recipients has no members");for(const n of e.recipients)try{return await Ke({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:n.encrypted_key,header:n.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},t,r)}catch{}throw new I}const Ge=Symbol(),$e=async e=>{if(e instanceof Uint8Array)return{kty:"oct",k:v(e)};if(!l(e))throw new TypeError(F(e,...$,"Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:t,key_ops:r,alg:n,use:a,...i}=await o.subtle.exportKey("jwk",e);return i};async function qe(e){return xe(e)}async function ze(e){return ye(e)}async function Ye(e){return $e(e)}const Xe=async function(e,t,r,n,a={}){let i,s,c;switch(We(e,r,"encrypt"),r=await(fe?.(r,e))||r,e){case"dir":c=r;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!ae(r))throw new M("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:d,apv:u}=a;let{epk:h}=a;h||(h=(await async function(e){if(!l(e))throw new TypeError(F(e,...$));return o.subtle.generateKey(e.algorithm,!0,["deriveBits"])}(r)).privateKey);const{x:p,y:m,crv:f,kty:w}=await Ye(h),g=await ne(r,h,"ECDH-ES"===e?t:e,"ECDH-ES"===e?ve(t):parseInt(e.slice(-5,-2),10),d,u);if(s={epk:{x:p,crv:f,kty:w}},"EC"===w&&(s.epk.y=m),d&&(s.apu=v(d)),u&&(s.apv=v(u)),"ECDH-ES"===e){c=g;break}c=n||ge(t);const b=e.slice(-6);i=await te(b,g,c);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":c=n||ge(t),i=await(async(e,t,r)=>{if(!l(t))throw new TypeError(F(t,...$));if(U(t,e,"encrypt","wrapKey"),ie(e,t),t.usages.includes("encrypt"))return new Uint8Array(await o.subtle.encrypt(le(e),t,r));if(t.usages.includes("wrapKey")){const n=await o.subtle.importKey("raw",r,...X);return new Uint8Array(await o.subtle.wrapKey("raw",n,t,le(e)))}throw new TypeError('RSA-OAEP key "usages" must include "encrypt" or "wrapKey" for this operation')})(e,r,c);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{c=n||ge(t);const{p2c:o,p2s:l}=a;({encryptedKey:i,...s}=await(async(e,t,r,n=2048,a=B(new Uint8Array(16)))=>{const o=await oe(a,e,n,t);return{encryptedKey:await te(e.slice(-6),o,r),p2c:n,p2s:v(a)}})(e,r,c,o,l));break}case"A128KW":case"A192KW":case"A256KW":c=n||ge(t),i=await te(e,r,c);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{c=n||ge(t);const{iv:o}=a;({encryptedKey:i,...s}=await async function(e,t,r,n){const a=e.slice(0,7),o=await Pe(a,r,t,n,new Uint8Array(0));return{encryptedKey:o.ciphertext,iv:v(o.iv),tag:v(o.tag)}}(e,r,c,o));break}default:throw new M('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:c,encryptedKey:i,parameters:s}};class Qe{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this._plaintext=e}setKeyManagementParameters(e){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=e,this}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setSharedUnprotectedHeader(e){if(this._sharedUnprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}setAdditionalAuthenticatedData(e){return this._aad=e,this}setContentEncryptionKey(e){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=e,this}setInitializationVector(e){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=e,this}async encrypt(e,t){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new R("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!z(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new R("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if(De(R,new Map,t?.crit,this._protectedHeader,r),void 0!==r.zip)throw new M('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');const{alg:n,enc:a}=r;if("string"!=typeof n||!n)throw new R('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof a||!a)throw new R('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let o,l,i,d,h;if(this._cek&&("dir"===n||"ECDH-ES"===n))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${n}`);{let r;({cek:l,encryptedKey:o,parameters:r}=await Xe(n,a,e,this._cek,this._keyManagementParameters)),r&&(t&&Ge in t?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...r}:this.setUnprotectedHeader(r):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...r}:this.setProtectedHeader(r))}d=this._protectedHeader?s.encode(v(JSON.stringify(this._protectedHeader))):s.encode(""),this._aad?(h=v(this._aad),i=u(d,s.encode("."),s.encode(h))):i=d;const{ciphertext:p,tag:m,iv:f}=await Pe(a,this._plaintext,l,this._iv,i),w={ciphertext:v(p)};return f&&(w.iv=v(f)),m&&(w.tag=v(m)),o&&(w.encrypted_key=v(o)),h&&(w.aad=h),this._protectedHeader&&(w.protected=c.decode(d)),this._sharedUnprotectedHeader&&(w.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(w.header=this._unprotectedHeader),w}}class et{constructor(e,t,r){this.parent=e,this.key=t,this.options=r}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addRecipient(...e){return this.parent.addRecipient(...e)}encrypt(...e){return this.parent.encrypt(...e)}done(){return this.parent}}class tt{constructor(e){this._recipients=[],this._plaintext=e}addRecipient(e,t){const r=new et(this,e,{crit:t?.crit});return this._recipients.push(r),r}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setSharedUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}setAdditionalAuthenticatedData(e){return this._aad=e,this}async encrypt(){if(!this._recipients.length)throw new R("at least one recipient must be added");if(1===this._recipients.length){const[e]=this._recipients,t=await new Qe(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options}),r={ciphertext:t.ciphertext,iv:t.iv,recipients:[{}],tag:t.tag};return t.aad&&(r.aad=t.aad),t.protected&&(r.protected=t.protected),t.unprotected&&(r.unprotected=t.unprotected),t.encrypted_key&&(r.recipients[0].encrypted_key=t.encrypted_key),t.header&&(r.recipients[0].header=t.header),r}let e;for(let t=0;t<this._recipients.length;t++){const r=this._recipients[t];if(!z(this._protectedHeader,this._unprotectedHeader,r.unprotectedHeader))throw new R("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader,...r.unprotectedHeader},{alg:a}=n;if("string"!=typeof a||!a)throw new R('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===a||"ECDH-ES"===a)throw new R('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof n.enc||!n.enc)throw new R('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(e){if(e!==n.enc)throw new R('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else e=n.enc;if(De(R,new Map,r.options.crit,this._protectedHeader,n),void 0!==n.zip)throw new M('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}const t=ge(e),r={ciphertext:"",iv:"",recipients:[],tag:""};for(let n=0;n<this._recipients.length;n++){const a=this._recipients[n],o={};r.recipients.push(o);const l={...this._protectedHeader,...this._unprotectedHeader,...a.unprotectedHeader}.alg.startsWith("PBES2")?2048+n:void 0;if(0===n){const e=await new Qe(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(t).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(a.unprotectedHeader).setKeyManagementParameters({p2c:l}).encrypt(a.key,{...a.options,[Ge]:!0});r.ciphertext=e.ciphertext,r.iv=e.iv,r.tag=e.tag,e.aad&&(r.aad=e.aad),e.protected&&(r.protected=e.protected),e.unprotected&&(r.unprotected=e.unprotected),o.encrypted_key=e.encrypted_key,e.header&&(o.header=e.header);continue}const{encryptedKey:i,parameters:s}=await Xe(a.unprotectedHeader?.alg||this._protectedHeader?.alg||this._unprotectedHeader?.alg,e,a.key,t,{p2c:l});o.encrypted_key=v(i),(a.unprotectedHeader||s)&&(o.header={...a.unprotectedHeader,...s})}return r}}function rt(e,t){const r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":return{name:"Ed25519"};case"EdDSA":return{name:t.name};default:throw new M(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function nt(e,t,r){if("sign"===r&&(t=await we(t,e)),"verify"===r&&(t=await fe(t,e)),l(t))return function(e,t,...r){switch(t){case"HS256":case"HS384":case"HS512":{if(!P(e.algorithm,"HMAC"))throw T("HMAC");const r=parseInt(t.slice(2),10);if(N(e.algorithm.hash)!==r)throw T(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!P(e.algorithm,"RSASSA-PKCS1-v1_5"))throw T("RSASSA-PKCS1-v1_5");const r=parseInt(t.slice(2),10);if(N(e.algorithm.hash)!==r)throw T(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!P(e.algorithm,"RSA-PSS"))throw T("RSA-PSS");const r=parseInt(t.slice(2),10);if(N(e.algorithm.hash)!==r)throw T(`SHA-${r}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw T("Ed25519 or Ed448");break;case"Ed25519":if(!P(e.algorithm,"Ed25519"))throw T("Ed25519");break;case"ES256":case"ES384":case"ES512":{if(!P(e.algorithm,"ECDSA"))throw T("ECDSA");const r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw T(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}D(e,r)}(t,e,r),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(F(t,...$));return o.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}throw new TypeError(F(t,...$,"Uint8Array","JSON Web Key"))}const at=async(e,t,r,n)=>{const a=await nt(e,t,"verify");ie(e,a);const l=rt(e,a.algorithm);try{return await o.subtle.verify(l,a,r,n)}catch{return!1}};async function ot(e,t,r){if(!Y(e))throw new C("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new C('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new C("JWS Protected Header incorrect type");if(void 0===e.payload)throw new C("JWS Payload missing");if("string"!=typeof e.signature)throw new C("JWS Signature missing or incorrect type");if(void 0!==e.header&&!Y(e.header))throw new C("JWS Unprotected Header incorrect type");let n={};if(e.protected)try{const t=b(e.protected);n=JSON.parse(c.decode(t))}catch{throw new C("JWS Protected Header is invalid")}if(!z(n,e.header))throw new C("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const a={...n,...e.header};let o=!0;if(De(C,new Map([["b64",!0]]),r?.crit,n,a).has("b64")&&(o=n.b64,"boolean"!=typeof o))throw new C('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=a;if("string"!=typeof l||!l)throw new C('JWS "alg" (Algorithm) Header Parameter missing or invalid');const i=r&&Ue("algorithms",r.algorithms);if(i&&!i.has(l))throw new k('"alg" (Algorithm) Header Parameter value not allowed');if(o){if("string"!=typeof e.payload)throw new C("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new C("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof t?(t=await t(n,e),d=!0,Te(l,t,"verify"),se(t)&&(t=await Se(t,l))):Te(l,t,"verify");const h=u(s.encode(e.protected??""),s.encode("."),"string"==typeof e.payload?s.encode(e.payload):e.payload);let p,m;try{p=b(e.signature)}catch{throw new C("Failed to base64url decode the signature")}if(!await at(l,t,p,h))throw new S;if(o)try{m=b(e.payload)}catch{throw new C("Failed to base64url decode the payload")}else m="string"==typeof e.payload?s.encode(e.payload):e.payload;const f={payload:m};return void 0!==e.protected&&(f.protectedHeader=n),void 0!==e.header&&(f.unprotectedHeader=e.header),d?{...f,key:t}:f}async function lt(e,t,r){if(e instanceof Uint8Array&&(e=c.decode(e)),"string"!=typeof e)throw new C("Compact JWS must be a string or Uint8Array");const{0:n,1:a,2:o,length:l}=e.split(".");if(3!==l)throw new C("Invalid Compact JWS");const i=await ot({payload:a,protected:n,signature:o},t,r),s={payload:i.payload,protectedHeader:i.protectedHeader};return"function"==typeof t?{...s,key:i.key}:s}async function it(e,t,r){if(!Y(e))throw new C("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(Y))throw new C("JWS Signatures missing or incorrect type");for(const n of e.signatures)try{return await ot({header:n.header,payload:e.payload,protected:n.protected,signature:n.signature},t,r)}catch{}throw new S}const st=e=>Math.floor(e.getTime()/1e3),ct=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,dt=e=>{const t=ct.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const r=parseFloat(t[2]);let n;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":n=Math.round(r);break;case"minute":case"minutes":case"min":case"mins":case"m":n=Math.round(60*r);break;case"hour":case"hours":case"hr":case"hrs":case"h":n=Math.round(3600*r);break;case"day":case"days":case"d":n=Math.round(86400*r);break;case"week":case"weeks":case"w":n=Math.round(604800*r);break;default:n=Math.round(31557600*r)}return"-"===t[1]||"ago"===t[4]?-n:n},ut=e=>e.toLowerCase().replace(/^application\//,""),ht=(e,t,r={})=>{let n;try{n=JSON.parse(c.decode(t))}catch{}if(!Y(n))throw new A("JWT Claims Set must be a top-level JSON object");const{typ:a}=r;if(a&&("string"!=typeof e.typ||ut(e.typ)!==ut(a)))throw new x('unexpected "typ" JWT header value',n,"typ","check_failed");const{requiredClaims:o=[],issuer:l,subject:i,audience:s,maxTokenAge:d}=r,u=[...o];void 0!==d&&u.push("iat"),void 0!==s&&u.push("aud"),void 0!==i&&u.push("sub"),void 0!==l&&u.push("iss");for(const e of new Set(u.reverse()))if(!(e in n))throw new x(`missing required "${e}" claim`,n,e,"missing");if(l&&!(Array.isArray(l)?l:[l]).includes(n.iss))throw new x('unexpected "iss" claim value',n,"iss","check_failed");if(i&&n.sub!==i)throw new x('unexpected "sub" claim value',n,"sub","check_failed");if(s&&(p="string"==typeof s?[s]:s,!("string"==typeof(h=n.aud)?p.includes(h):Array.isArray(h)&&p.some(Set.prototype.has.bind(new Set(h))))))throw new x('unexpected "aud" claim value',n,"aud","check_failed");var h,p;let m;switch(typeof r.clockTolerance){case"string":m=dt(r.clockTolerance);break;case"number":m=r.clockTolerance;break;case"undefined":m=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:f}=r,w=st(f||new Date);if((void 0!==n.iat||d)&&"number"!=typeof n.iat)throw new x('"iat" claim must be a number',n,"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new x('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>w+m)throw new x('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new x('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=w-m)throw new y('"exp" claim timestamp check failed',n,"exp","check_failed")}if(d){const e=w-n.iat;if(e-m>("number"==typeof d?d:dt(d)))throw new y('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(e<0-m)throw new x('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n};async function pt(e,t,r){const n=await lt(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new A("JWTs MUST NOT use unencoded payload");const a={payload:ht(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...a,key:n.key}:a}async function mt(e,t,r){const n=await Fe(e,t,r),a=ht(n.protectedHeader,n.plaintext,r),{protectedHeader:o}=n;if(void 0!==o.iss&&o.iss!==a.iss)throw new x('replicated "iss" claim header parameter mismatch',a,"iss","mismatch");if(void 0!==o.sub&&o.sub!==a.sub)throw new x('replicated "sub" claim header parameter mismatch',a,"sub","mismatch");if(void 0!==o.aud&&JSON.stringify(o.aud)!==JSON.stringify(a.aud))throw new x('replicated "aud" claim header parameter mismatch',a,"aud","mismatch");const l={payload:a,protectedHeader:o};return"function"==typeof t?{...l,key:n.key}:l}class ft{constructor(e){this._flattened=new Qe(e)}setContentEncryptionKey(e){return this._flattened.setContentEncryptionKey(e),this}setInitializationVector(e){return this._flattened.setInitializationVector(e),this}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}setKeyManagementParameters(e){return this._flattened.setKeyManagementParameters(e),this}async encrypt(e,t){const r=await this._flattened.encrypt(e,t);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}class wt{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=e}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader)throw new C("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!z(this._protectedHeader,this._unprotectedHeader))throw new C("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader};let n=!0;if(De(C,new Map([["b64",!0]]),t?.crit,this._protectedHeader,r).has("b64")&&(n=this._protectedHeader.b64,"boolean"!=typeof n))throw new C('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:a}=r;if("string"!=typeof a||!a)throw new C('JWS "alg" (Algorithm) Header Parameter missing or invalid');Te(a,e,"sign");let l,i=this._payload;n&&(i=s.encode(v(i))),l=this._protectedHeader?s.encode(v(JSON.stringify(this._protectedHeader))):s.encode("");const d=u(l,s.encode("."),i),h=await(async(e,t,r)=>{const n=await nt(e,t,"sign");ie(e,n);const a=await o.subtle.sign(rt(e,n.algorithm),n,r);return new Uint8Array(a)})(a,e,d),p={signature:v(h),payload:""};return n&&(p.payload=c.decode(i)),this._unprotectedHeader&&(p.header=this._unprotectedHeader),this._protectedHeader&&(p.protected=c.decode(l)),p}}class vt{constructor(e){this._flattened=new wt(e)}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}async sign(e,t){const r=await this._flattened.sign(e,t);if(void 0===r.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${r.protected}.${r.payload}.${r.signature}`}}class gt{constructor(e,t,r){this.parent=e,this.key=t,this.options=r}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.parent.addSignature(...e)}sign(...e){return this.parent.sign(...e)}done(){return this.parent}}class bt{constructor(e){this._signatures=[],this._payload=e}addSignature(e,t){const r=new gt(this,e,t);return this._signatures.push(r),r}async sign(){if(!this._signatures.length)throw new C("at least one signature must be added");const e={signatures:[],payload:""};for(let t=0;t<this._signatures.length;t++){const r=this._signatures[t],n=new wt(this._payload);n.setProtectedHeader(r.protectedHeader),n.setUnprotectedHeader(r.unprotectedHeader);const{payload:a,...o}=await n.sign(r.key,r.options);if(0===t)e.payload=a;else if(e.payload!==a)throw new C("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(o)}return e}}function Et(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}class xt{constructor(e={}){if(!Y(e))throw new TypeError("JWT Claims Set MUST be an object");this._payload=e}setIssuer(e){return this._payload={...this._payload,iss:e},this}setSubject(e){return this._payload={...this._payload,sub:e},this}setAudience(e){return this._payload={...this._payload,aud:e},this}setJti(e){return this._payload={...this._payload,jti:e},this}setNotBefore(e){return"number"==typeof e?this._payload={...this._payload,nbf:Et("setNotBefore",e)}:e instanceof Date?this._payload={...this._payload,nbf:Et("setNotBefore",st(e))}:this._payload={...this._payload,nbf:st(new Date)+dt(e)},this}setExpirationTime(e){return"number"==typeof e?this._payload={...this._payload,exp:Et("setExpirationTime",e)}:e instanceof Date?this._payload={...this._payload,exp:Et("setExpirationTime",st(e))}:this._payload={...this._payload,exp:st(new Date)+dt(e)},this}setIssuedAt(e){return void 0===e?this._payload={...this._payload,iat:st(new Date)}:e instanceof Date?this._payload={...this._payload,iat:Et("setIssuedAt",st(e))}:this._payload="string"==typeof e?{...this._payload,iat:Et("setIssuedAt",st(new Date)+dt(e))}:{...this._payload,iat:Et("setIssuedAt",e)},this}}class yt extends xt{setProtectedHeader(e){return this._protectedHeader=e,this}async sign(e,t){const r=new vt(s.encode(JSON.stringify(this._payload)));if(r.setProtectedHeader(this._protectedHeader),Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new A("JWTs MUST NOT use unencoded payload");return r.sign(e,t)}}class kt extends xt{setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setKeyManagementParameters(e){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=e,this}setContentEncryptionKey(e){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=e,this}setInitializationVector(e){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=e,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(e,t){const r=new ft(s.encode(JSON.stringify(this._payload)));return this._replicateIssuerAsHeader&&(this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}),this._replicateSubjectAsHeader&&(this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}),this._replicateAudienceAsHeader&&(this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}),r.setProtectedHeader(this._protectedHeader),this._iv&&r.setInitializationVector(this._iv),this._cek&&r.setContentEncryptionKey(this._cek),this._keyManagementParameters&&r.setKeyManagementParameters(this._keyManagementParameters),r.encrypt(e,t)}}const Mt=(e,t)=>{if("string"!=typeof e||!e)throw new L(`${t} missing or invalid`)};async function It(e,t){if(!Y(e))throw new TypeError("JWK must be an object");if(t??(t="sha256"),"sha256"!==t&&"sha384"!==t&&"sha512"!==t)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let r;switch(e.kty){case"EC":Mt(e.crv,'"crv" (Curve) Parameter'),Mt(e.x,'"x" (X Coordinate) Parameter'),Mt(e.y,'"y" (Y Coordinate) Parameter'),r={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":Mt(e.crv,'"crv" (Subtype of Key Pair) Parameter'),Mt(e.x,'"x" (Public Key) Parameter'),r={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":Mt(e.e,'"e" (Exponent) Parameter'),Mt(e.n,'"n" (Modulus) Parameter'),r={e:e.e,kty:e.kty,n:e.n};break;case"oct":Mt(e.k,'"k" (Key Value) Parameter'),r={k:e.k,kty:e.kty};break;default:throw new M('"kty" (Key Type) Parameter missing or unsupported')}const n=s.encode(JSON.stringify(r));return v(await i(t,n))}async function Rt(e,t){t??(t="sha256");const r=await It(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}async function Ct(e,t){const r={...e,...t?.header};if(!Y(r.jwk))throw new C('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const n=await Se({...r.jwk,ext:!0},r.alg);if(n instanceof Uint8Array||"public"!==n.type)throw new C('"jwk" (JSON Web Key) Header Parameter must be a public key');return n}function At(e){return Y(e)}function Lt(e){return"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e))}class Zt{constructor(e){if(this._cached=new WeakMap,!function(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(At)}(e))throw new Z("JSON Web Key Set malformed");this._jwks=Lt(e)}async getKey(e,t){const{alg:r,kid:n}={...e,...t?.header},a=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new M('Unsupported "alg" value for a JSON Web Key Set')}}(r),o=this._jwks.keys.filter((e=>{let t=a===e.kty;if(t&&"string"==typeof n&&(t=n===e.kid),t&&"string"==typeof e.alg&&(t=r===e.alg),t&&"string"==typeof e.use&&(t="sig"===e.use),t&&Array.isArray(e.key_ops)&&(t=e.key_ops.includes("verify")),t)switch(r){case"ES256":t="P-256"===e.crv;break;case"ES256K":t="secp256k1"===e.crv;break;case"ES384":t="P-384"===e.crv;break;case"ES512":t="P-521"===e.crv;break;case"Ed25519":t="Ed25519"===e.crv;break;case"EdDSA":t="Ed25519"===e.crv||"Ed448"===e.crv}return t})),{0:l,length:i}=o;if(0===i)throw new j;if(1!==i){const e=new O,{_cached:t}=this;throw e[Symbol.asyncIterator]=async function*(){for(const e of o)try{yield await jt(t,e,r)}catch{}},e}return jt(this._cached,l,r)}}async function jt(e,t,r){const n=e.get(t)||e.set(t,{}).get(t);if(void 0===n[r]){const e=await Se({...t,ext:!0},r);if(e instanceof Uint8Array||"public"!==e.type)throw new Z("JSON Web Key Set members must be public keys");n[r]=e}return n[r]}function Ot(e){const t=new Zt(e),r=async(e,r)=>t.getKey(e,r);return Object.defineProperties(r,{jwks:{value:()=>Lt(t._jwks),enumerable:!0,configurable:!1,writable:!1}}),r}let Ht;"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(Ht="jose/v5.10.0");const St=Symbol();class Bt{constructor(e,t){if(!(e instanceof URL))throw new TypeError("url must be an instance of URL");var r,n;this._url=new URL(e.href),this._options={agent:t?.agent,headers:t?.headers},this._timeoutDuration="number"==typeof t?.timeoutDuration?t?.timeoutDuration:5e3,this._cooldownDuration="number"==typeof t?.cooldownDuration?t?.cooldownDuration:3e4,this._cacheMaxAge="number"==typeof t?.cacheMaxAge?t?.cacheMaxAge:6e5,void 0!==t?.[St]&&(this._cache=t?.[St],r=t?.[St],n=this._cacheMaxAge,"object"==typeof r&&null!==r&&"uat"in r&&"number"==typeof r.uat&&!(Date.now()-r.uat>=n)&&"jwks"in r&&Y(r.jwks)&&Array.isArray(r.jwks.keys)&&Array.prototype.every.call(r.jwks.keys,Y)&&(this._jwksTimestamp=this._cache.uat,this._local=Ot(this._cache.jwks)))}coolingDown(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cooldownDuration}fresh(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cacheMaxAge}async getKey(e,t){this._local&&this.fresh()||await this.reload();try{return await this._local(e,t)}catch(r){if(r instanceof j&&!1===this.coolingDown())return await this.reload(),this._local(e,t);throw r}}async reload(){this._pendingFetch&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this._pendingFetch=void 0);const e=new Headers(this._options.headers);Ht&&!e.has("User-Agent")&&(e.set("User-Agent",Ht),this._options.headers=Object.fromEntries(e.entries())),this._pendingFetch||(this._pendingFetch=(async(e,t,r)=>{let n,a,o=!1;"function"==typeof AbortController&&(n=new AbortController,a=setTimeout((()=>{o=!0,n.abort()}),t));const l=await fetch(e.href,{signal:n?n.signal:void 0,redirect:"manual",headers:r.headers}).catch((e=>{if(o)throw new H;throw e}));if(void 0!==a&&clearTimeout(a),200!==l.status)throw new E("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await l.json()}catch{throw new E("Failed to parse the JSON Web Key Set HTTP response as JSON")}})(this._url,this._timeoutDuration,this._options).then((e=>{this._local=Ot(e),this._cache&&(this._cache.uat=Date.now(),this._cache.jwks=e),this._jwksTimestamp=Date.now(),this._pendingFetch=void 0})).catch((e=>{throw this._pendingFetch=void 0,e}))),await this._pendingFetch}}function _t(e,t){const r=new Bt(e,t),n=async(e,t)=>r.getKey(e,t);return Object.defineProperties(n,{coolingDown:{get:()=>r.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>r.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>r.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>!!r._pendingFetch,enumerable:!0,configurable:!1},jwks:{value:()=>r._local?.jwks(),enumerable:!0,configurable:!1,writable:!1}}),n}const Vt=St;class Wt extends xt{encode(){return`${v(JSON.stringify({alg:"none"}))}.${v(JSON.stringify(this._payload))}.`}static decode(e,t){if("string"!=typeof e)throw new A("Unsecured JWT must be a string");const{0:r,1:n,2:a,length:o}=e.split(".");if(3!==o||""!==a)throw new A("Invalid Unsecured JWT");let l;try{if(l=JSON.parse(c.decode(b(r))),"none"!==l.alg)throw new Error}catch{throw new A("Invalid Unsecured JWT")}return{payload:ht(l,b(n),t),header:l}}}const Tt=v,Pt=b;function Nt(e){let t;if("string"==typeof e){const r=e.split(".");3!==r.length&&5!==r.length||([t]=r)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");t=e.protected}try{if("string"!=typeof t||!t)throw new Error;const e=JSON.parse(c.decode(Pt(t)));if(!Y(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}function Dt(e){if("string"!=typeof e)throw new A("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:r}=e.split(".");if(5===r)throw new A("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new A("Invalid JWT");if(!t)throw new A("JWTs must contain a payload");let n,a;try{n=Pt(t)}catch{throw new A("Failed to base64url decode the payload")}try{a=JSON.parse(c.decode(n))}catch{throw new A("Failed to parse the decoded payload as JSON")}if(!Y(a))throw new A("Invalid JWT Claims Set");return a}function Ut(e){const t=e?.modulusLength??2048;if("number"!=typeof t||t<2048)throw new M("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function Kt(e,t){return async function(e,t){let r,n;switch(e){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ut(t)},n=["sign","verify"];break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ut(t)},n=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ut(t)},n=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"},n=["sign","verify"];break;case"ES384":r={name:"ECDSA",namedCurve:"P-384"},n=["sign","verify"];break;case"ES512":r={name:"ECDSA",namedCurve:"P-521"},n=["sign","verify"];break;case"Ed25519":r={name:"Ed25519"},n=["sign","verify"];break;case"EdDSA":{n=["sign","verify"];const e=t?.crv??"Ed25519";switch(e){case"Ed25519":case"Ed448":r={name:e};break;default:throw new M("Invalid or unsupported crv option provided")}break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{n=["deriveKey","deriveBits"];const e=t?.crv??"P-256";switch(e){case"P-256":case"P-384":case"P-521":r={name:"ECDH",namedCurve:e};break;case"X25519":case"X448":r={name:e};break;default:throw new M("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}break}default:throw new M('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return o.subtle.generateKey(r,t?.extractable??!1,n)}(e,t)}async function Ft(e,t){return async function(e,t){let r,n,a;switch(e){case"HS256":case"HS384":case"HS512":r=parseInt(e.slice(-3),10),n={name:"HMAC",hash:`SHA-${r}`,length:r},a=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r=parseInt(e.slice(-3),10),B(new Uint8Array(r>>3));case"A128KW":case"A192KW":case"A256KW":r=parseInt(e.slice(1,4),10),n={name:"AES-KW",length:r},a=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":r=parseInt(e.slice(1,4),10),n={name:"AES-GCM",length:r},a=["encrypt","decrypt"];break;default:throw new M('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return o.subtle.generateKey(n,t?.extractable??!1,a)}(e,t)}const Jt="WebCryptoAPI"}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(5340);(window.yoast=window.yoast||{}).aiFrontend=n})(); dist/externals/replacementVariableEditor.js 0000644 00000573464 15174677550 0015232 0 ustar 00 (()=>{var t={37166:(t,e,n)=>{"use strict";n.r(e),n.d(e,{composeDecorators:()=>w,createEditorStateWithText:()=>b,default:()=>S});var r=n(7206),i=n(99196),o=n.n(i),s=n(85890),a=n.n(s),u=n(43393),c=n.n(u);function f(){return f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function h(t){var e=t.getCurrentContent().getBlockMap(),n=e.last().getKey(),i=e.last().getLength(),o=new r.SelectionState({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i});return r.EditorState.acceptSelection(t,o)}var p="-",d=function(){function t(t){this.decorators=void 0,this.decorators=c().List(t)}var e=t.prototype;return e.getDecorations=function(t,e){var n=new Array(t.getText().length).fill(null);return this.decorators.forEach((function(r,i){r.getDecorations(t,e).forEach((function(t,e){t&&(n[e]=i+p+t)}))})),c().List(n)},e.getComponentForKey=function(e){return this.getDecoratorForKey(e).getComponentForKey(t.getInnerKey(e))},e.getPropsForKey=function(e){return this.getDecoratorForKey(e).getPropsForKey(t.getInnerKey(e))},e.getDecoratorForKey=function(t){var e=t.split(p),n=Number(e[0]);return this.decorators.get(n)},t.getInnerKey=function(t){return t.split(p).slice(1).join(p)},t}(),v=function(t){return"function"==typeof t.getDecorations&&"function"==typeof t.getComponentForKey&&"function"==typeof t.getPropsForKey};function _(t){return(0,r.getDefaultKeyBinding)(t)}function y(t,e,n,i){var o,s=i.setEditorState;switch(t){case"backspace":case"backspace-word":case"backspace-to-start-of-line":o=r.RichUtils.onBackspace(e);break;case"delete":case"delete-word":case"delete-to-end-of-block":o=r.RichUtils.onDelete(e);break;default:return"not-handled"}return null!=o?(s(o),"handled"):"not-handled"}var g=function(t){var e,n;return null!=(null==t?void 0:t.decorators)?null==(e=t.decorators)?void 0:e.size:null!=(null==t?void 0:t._decorators)?null==(n=t._decorators)?void 0:n.length:void 0},m=function(t){var e,n;function i(e){var n;return(n=t.call(this,e)||this).editor=null,n.state={readOnly:!1},n.onChange=function(t){var e=t;n.resolvePlugins().forEach((function(t){t.onChange&&(e=t.onChange(e,n.getPluginMethods()))})),n.props.onChange&&n.props.onChange(e)},n.getPlugins=function(){return[].concat(n.props.plugins)},n.getProps=function(){return f({},n.props)},n.getReadOnly=function(){return n.props.readOnly||n.state.readOnly},n.setReadOnly=function(t){t!==n.state.readOnly&&n.setState({readOnly:t})},n.getEditorRef=function(){return n.editor},n.getEditorState=function(){return n.props.editorState},n.getPluginMethods=function(){return{getPlugins:n.getPlugins,getProps:n.getProps,setEditorState:n.onChange,getEditorState:n.getEditorState,getReadOnly:n.getReadOnly,setReadOnly:n.setReadOnly,getEditorRef:n.getEditorRef}},n.createPluginHooks=function(){return t=[n.props].concat(n.resolvePlugins()),e=n.getPluginMethods(),r={},i=new Set(["onChange"]),t.forEach((function(n){Object.keys(n).forEach((function(n){i.has(n)||(i.add(n),n.startsWith("on")?r[n]=function(t,e,n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.some((function(e){var r=e[t];return"function"==typeof r&&!0===r.apply(void 0,i.concat([n]))}))}}(n,t,e):n.startsWith("handle")?r[n]=function(t,e,n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.some((function(e){var r=e[t];return"function"==typeof r&&"handled"===r.apply(void 0,i.concat([n]))}))?"handled":"not-handled"}}(n,t,e):n.endsWith("Fn")&&("blockRendererFn"===n?r.blockRendererFn=function(t,e){return function(n){var r={props:{}};return t.forEach((function(t){if("function"==typeof t.blockRendererFn){var i=t.blockRendererFn(n,e);if(null!=i){var o=i.props,s=l(i,["props"]),a=r,u=a.props,c=l(a,["props"]);r=f({},c,s,{props:f({},u,o)})}}})),!!r.component&&r}}(t,e):"blockStyleFn"===n?r.blockStyleFn=function(t,e){return function(n){var r=[];return t.forEach((function(t){if("function"==typeof t.blockStyleFn){var i=t.blockStyleFn(n,e);null!=i&&r.push(i)}})),r.join(" ")}}(t,e):"customStyleFn"===n?r.customStyleFn=function(t,e){return function(n,r){var i;return t.some((function(t){return"function"==typeof t.customStyleFn&&void 0!==(i=t.customStyleFn(n,r,e))}))&&i?i:{}}}(t,e):"keyBindingFn"===n&&(r.keyBindingFn=function(t,e){return function(n){var r=null;return t.some((function(t){return"function"==typeof t.keyBindingFn&&void 0!==(r=t.keyBindingFn(n,e))}))?r:null}}(t,e))))}))})),r;var t,e,r,i},n.resolvePlugins=function(){var t=n.getPlugins();return!0===n.props.defaultKeyBindings&&t.push({keyBindingFn:_}),!0===n.props.defaultKeyCommands&&t.push({handleKeyCommand:y}),t},n.resolveCustomStyleMap=function(){return n.props.plugins.filter((function(t){return void 0!==t.customStyleMap})).map((function(t){return t.customStyleMap})).concat([n.props.customStyleMap]).reduce((function(t,e){return f({},t,e)}),{})},n.resolveblockRenderMap=function(){var t=n.props.plugins.filter((function(t){return void 0!==t.blockRenderMap})).reduce((function(t,e){return t.merge(e.blockRenderMap)}),(0,u.Map)({}));return n.props.defaultBlockRenderMap&&(t=r.DefaultDraftBlockRenderMap.merge(t)),n.props.blockRenderMap&&(t=t.merge(n.props.blockRenderMap)),t},n.resolveAccessibilityProps=function(){var t={};return n.resolvePlugins().forEach((function(e){if("function"==typeof e.getAccessibilityProps){var n=e.getAccessibilityProps(),r={};void 0===t.ariaHasPopup?r.ariaHasPopup=n.ariaHasPopup:"true"===n.ariaHasPopup&&(r.ariaHasPopup="true"),void 0===t.ariaExpanded?r.ariaExpanded=n.ariaExpanded:!0===n.ariaExpanded&&(r.ariaExpanded=!0),t=f({},t,n,r)}})),t},[n.props].concat(n.resolvePlugins()).forEach((function(t){t&&"function"==typeof t.initialize&&t.initialize(n.getPluginMethods())})),n}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.focus=function(){this.editor&&this.editor.focus()},s.blur=function(){this.editor&&this.editor.blur()},s.componentDidMount=function(){var t,e,n,i,s,a,c=(t=this.props,e=this.getEditorState,n=this.onChange,i=function(t){var e=t.decorators,n=t.plugins,r=void 0===n?[]:n;return(0,u.List)([{decorators:e}].concat(r)).filter((function(t){return void 0!==(null==t?void 0:t.decorators)})).flatMap((function(t){return null==t?void 0:t.decorators}))}(t),s=function(t,e,n){var i=(0,u.List)(t).map((function(t){var r=t.component;return f({},t,{component:function(t){return o().createElement(r,f({},t,{getEditorState:e,setEditorState:n}))}})})).toJS();return new r.CompositeDecorator(i)}(i.filter((function(t){return!v(t)})),e,n),a=i.filter((function(t){return v(t)})),new d(a.push(s))),l=r.EditorState.set(this.props.editorState,{decorator:c});this.onChange(h(l))},s.componentDidUpdate=function(t){var e=this.props,n=t.editorState.getDecorator(),i=e.editorState.getDecorator();if(n&&!(n===i||n&&i&&g(n)===g(i))){var o=r.EditorState.set(e.editorState,{decorator:n});this.onChange(h(o))}},s.componentWillUnmount=function(){var t=this;this.resolvePlugins().forEach((function(e){e.willUnmount&&e.willUnmount({getEditorState:t.getEditorState,setEditorState:t.onChange})}))},s.render=function(){var t=this,e=this.createPluginHooks(),n=this.resolveCustomStyleMap(),i=this.resolveAccessibilityProps(),s=this.resolveblockRenderMap(),a=this.props;a.keyBindingFn;var u=l(a,["keyBindingFn"]);return o().createElement(r.Editor,f({},u,i,e,{readOnly:this.props.readOnly||this.state.readOnly,customStyleMap:n,blockRenderMap:s,onChange:this.onChange,editorState:this.props.editorState,ref:function(e){t.editor=e}}))},i}(i.Component);m.propTypes={editorState:a().object.isRequired,onChange:a().func.isRequired,plugins:a().array,defaultKeyBindings:a().bool,defaultKeyCommands:a().bool,defaultBlockRenderMap:a().bool,customStyleMap:a().object,decorators:a().array},m.defaultProps={defaultBlockRenderMap:!0,defaultKeyBindings:!0,defaultKeyCommands:!0,customStyleMap:{},plugins:[],decorators:[]};var b=function(t){return r.EditorState.createWithText?r.EditorState.createWithText(t):r.EditorState.createWithContent(r.ContentState.createFromText(t))},w=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0===e.length)return function(t){return t};if(1===e.length)return e[0];var r=e[e.length-1];return function(){for(var t=r.apply(void 0,arguments),n=e.length-2;n>=0;n-=1)t=(0,e[n])(t);return t}};const S=m},99918:(t,e,n)=>{"use strict";n.r(e),n.d(e,{MentionSuggestions:()=>Qt,Popover:()=>Yt,addMention:()=>Ft,default:()=>oe,defaultSuggestionsFilter:()=>se,defaultTheme:()=>ee});var r=n(43393),i=n(99196),o=n.n(i);function s(t){var e,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=s(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}const a=function(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=s(t))&&(r&&(r+=" "),r+=e);return r};var u=n(7206),c=n(85890),f=n.n(c);const l=window.lodash.escapeRegExp;var h=n.n(l);const p=window.lodash.once;var d=n.n(p);const v=window.ReactDOM;function _(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function y(t){return t instanceof _(t).Element||t instanceof Element}function g(t){return t instanceof _(t).HTMLElement||t instanceof HTMLElement}function m(t){return"undefined"!=typeof ShadowRoot&&(t instanceof _(t).ShadowRoot||t instanceof ShadowRoot)}var b=Math.max,w=Math.min,S=Math.round;function E(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function O(){return!/^((?!chrome|android).)*safari/i.test(E())}function x(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&g(t)&&(i=t.offsetWidth>0&&S(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&S(r.height)/t.offsetHeight||1);var s=(y(t)?_(t):window).visualViewport,a=!O()&&n,u=(r.left+(a&&s?s.offsetLeft:0))/i,c=(r.top+(a&&s?s.offsetTop:0))/o,f=r.width/i,l=r.height/o;return{width:f,height:l,top:c,right:u+f,bottom:c+l,left:u,x:u,y:c}}function I(t){var e=_(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function z(t){return t?(t.nodeName||"").toLowerCase():null}function M(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function D(t){return x(M(t)).left+I(t).scrollLeft}function C(t){return _(t).getComputedStyle(t)}function k(t){var e=C(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function R(t,e,n){void 0===n&&(n=!1);var r,i,o=g(e),s=g(e)&&function(t){var e=t.getBoundingClientRect(),n=S(e.width)/t.offsetWidth||1,r=S(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),a=M(e),u=x(t,s,n),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==z(e)||k(a))&&(c=(r=e)!==_(r)&&g(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:I(r)),g(e)?((f=x(e,!0)).x+=e.clientLeft,f.y+=e.clientTop):a&&(f.x=D(a))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function A(t){var e=x(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function q(t){return"html"===z(t)?t:t.assignedSlot||t.parentNode||(m(t)?t.host:null)||M(t)}function j(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:g(t)&&k(t)?t:j(q(t))}function P(t,e){var n;void 0===e&&(e=[]);var r=j(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=_(r),s=i?[o].concat(o.visualViewport||[],k(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(P(q(s)))}function B(t){return["table","td","th"].indexOf(z(t))>=0}function T(t){return g(t)&&"fixed"!==C(t).position?t.offsetParent:null}function F(t){for(var e=_(t),n=T(t);n&&B(n)&&"static"===C(n).position;)n=T(n);return n&&("html"===z(n)||"body"===z(n)&&"static"===C(n).position)?e:n||function(t){var e=/firefox/i.test(E());if(/Trident/i.test(E())&&g(t)&&"fixed"===C(t).position)return null;var n=q(t);for(m(n)&&(n=n.host);g(n)&&["html","body"].indexOf(z(n))<0;){var r=C(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var K="top",V="bottom",L="right",U="left",W="auto",N=[K,V,L,U],H="start",J="end",$="viewport",Y="popper",X=N.reduce((function(t,e){return t.concat([e+"-"+H,e+"-"+J])}),[]),G=[].concat(N,[W]).reduce((function(t,e){return t.concat([e,e+"-"+H,e+"-"+J])}),[]),Q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Z(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?tt:i;return function(t,e,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],c=!1,f={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;l(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:y(t)?P(t):t.contextElement?P(t.contextElement):[],popper:P(e)};var s,c,h=function(t){var e=Z(t);return Q.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(r,a.options.modifiers),c=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=h.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:a,name:e,instance:f,options:r});u.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,n=t.popper;if(et(e,n)){a.rects={reference:R(e,F(n),"fixed"===a.options.strategy),popper:A(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var i=a.orderedModifiers[r],o=i.fn,s=i.options,u=void 0===s?{}:s,l=i.name;"function"==typeof o&&(a=o({state:a,options:u,name:l,instance:f})||a)}else a.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(i())}))}))),s}),destroy:function(){l(),c=!0}};if(!et(t,e))return f;function l(){u.forEach((function(t){return t()})),u=[]}return f.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var rt={passive:!0};function it(t){return t.split("-")[0]}function ot(t){return t.split("-")[1]}function st(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function at(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?it(i):null,s=i?ot(i):null,a=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case K:e={x:a,y:n.y-r.height};break;case V:e={x:a,y:n.y+n.height};break;case L:e={x:n.x+n.width,y:u};break;case U:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var c=o?st(o):null;if(null!=c){var f="y"===c?"height":"width";switch(s){case H:e[c]=e[c]-(n[f]/2-r[f]/2);break;case J:e[c]=e[c]+(n[f]/2-r[f]/2)}}return e}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,u=t.gpuAcceleration,c=t.adaptive,f=t.roundOffsets,l=t.isFixed,h=s.x,p=void 0===h?0:h,d=s.y,v=void 0===d?0:d,y="function"==typeof f?f({x:p,y:v}):{x:p,y:v};p=y.x,v=y.y;var g=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),b=U,w=K,E=window;if(c){var O=F(n),x="clientHeight",I="clientWidth";O===_(n)&&"static"!==C(O=M(n)).position&&"absolute"===a&&(x="scrollHeight",I="scrollWidth"),(i===K||(i===U||i===L)&&o===J)&&(w=V,v-=(l&&O===E&&E.visualViewport?E.visualViewport.height:O[x])-r.height,v*=u?1:-1),i!==U&&(i!==K&&i!==V||o!==J)||(b=L,p-=(l&&O===E&&E.visualViewport?E.visualViewport.width:O[I])-r.width,p*=u?1:-1)}var z,D=Object.assign({position:a},c&&ut),k=!0===f?function(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:S(n*i)/i||0,y:S(r*i)/i||0}}({x:p,y:v},_(n)):{x:p,y:v};return p=k.x,v=k.y,u?Object.assign({},D,((z={})[w]=m?"0":"",z[b]=g?"0":"",z.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",z)):Object.assign({},D,((e={})[w]=m?v+"px":"",e[b]=g?p+"px":"",e.transform="",e))}var ft={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(t){return t.replace(/left|right|bottom|top/g,(function(t){return ft[t]}))}var ht={start:"end",end:"start"};function pt(t){return t.replace(/start|end/g,(function(t){return ht[t]}))}function dt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&m(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function vt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _t(t,e,n){return e===$?vt(function(t,e){var n=_(t),r=M(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;var c=O();(c||!c&&"fixed"===e)&&(a=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:a+D(t),y:u}}(t,n)):y(e)?function(t,e){var n=x(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):vt(function(t){var e,n=M(t),r=I(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=b(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=b(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+D(t),u=-r.scrollTop;return"rtl"===C(i||n).direction&&(a+=b(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(M(t)))}function yt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function gt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function mt(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.strategy,s=void 0===o?t.strategy:o,a=n.boundary,u=void 0===a?"clippingParents":a,c=n.rootBoundary,f=void 0===c?$:c,l=n.elementContext,h=void 0===l?Y:l,p=n.altBoundary,d=void 0!==p&&p,v=n.padding,_=void 0===v?0:v,m=yt("number"!=typeof _?_:gt(_,N)),S=h===Y?"reference":Y,E=t.rects.popper,O=t.elements[d?S:h],I=function(t,e,n,r){var i="clippingParents"===e?function(t){var e=P(q(t)),n=["absolute","fixed"].indexOf(C(t).position)>=0&&g(t)?F(t):t;return y(n)?e.filter((function(t){return y(t)&&dt(t,n)&&"body"!==z(t)})):[]}(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce((function(e,n){var i=_t(t,n,r);return e.top=b(i.top,e.top),e.right=w(i.right,e.right),e.bottom=w(i.bottom,e.bottom),e.left=b(i.left,e.left),e}),_t(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(y(O)?O:O.contextElement||M(t.elements.popper),u,f,s),D=x(t.elements.reference),k=at({reference:D,element:E,strategy:"absolute",placement:i}),R=vt(Object.assign({},E,k)),A=h===Y?R:D,j={top:I.top-A.top+m.top,bottom:A.bottom-I.bottom+m.bottom,left:I.left-A.left+m.left,right:A.right-I.right+m.right},B=t.modifiersData.offset;if(h===Y&&B){var T=B[i];Object.keys(j).forEach((function(t){var e=[L,V].indexOf(t)>=0?1:-1,n=[K,V].indexOf(t)>=0?"y":"x";j[t]+=T[n]*e}))}return j}function bt(t,e,n){return b(t,w(e,n))}function wt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function St(t){return[K,L,V,U].some((function(e){return t[e]>=0}))}var Et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,u=_(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,rt)})),a&&u.addEventListener("resize",n.update,rt),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,rt)})),a&&u.removeEventListener("resize",n.update,rt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=at({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,c={placement:it(e.placement),variation:ot(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ct(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ct(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];g(i)&&z(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});g(r)&&z(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,s=G.reduce((function(t,n){return t[n]=function(t,e,n){var r=it(t),i=[U,K].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[U,L].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t}),{}),a=s[e.placement],u=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,u=n.fallbackPlacements,c=n.padding,f=n.boundary,l=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,d=void 0===p||p,v=n.allowedAutoPlacements,_=e.options.placement,y=it(_),g=u||(y!==_&&d?function(t){if(it(t)===W)return[];var e=lt(t);return[pt(t),e,pt(e)]}(_):[lt(_)]),m=[_].concat(g).reduce((function(t,n){return t.concat(it(n)===W?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?G:u,f=ot(r),l=f?a?X:X.filter((function(t){return ot(t)===f})):N,h=l.filter((function(t){return c.indexOf(t)>=0}));0===h.length&&(h=l);var p=h.reduce((function(e,n){return e[n]=mt(t,{placement:n,boundary:i,rootBoundary:o,padding:s})[it(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:f,rootBoundary:l,padding:c,flipVariations:d,allowedAutoPlacements:v}):n)}),[]),b=e.rects.reference,w=e.rects.popper,S=new Map,E=!0,O=m[0],x=0;x<m.length;x++){var I=m[x],z=it(I),M=ot(I)===H,D=[K,V].indexOf(z)>=0,C=D?"width":"height",k=mt(e,{placement:I,boundary:f,rootBoundary:l,altBoundary:h,padding:c}),R=D?M?L:U:M?V:K;b[C]>w[C]&&(R=lt(R));var A=lt(R),q=[];if(o&&q.push(k[z]<=0),a&&q.push(k[R]<=0,k[A]<=0),q.every((function(t){return t}))){O=I,E=!1;break}S.set(I,q)}if(E)for(var j=function(t){var e=m.find((function(e){var n=S.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},P=d?3:1;P>0&&"break"!==j(P);P--);e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,l=n.padding,h=n.tether,p=void 0===h||h,d=n.tetherOffset,v=void 0===d?0:d,_=mt(e,{boundary:u,rootBoundary:c,padding:l,altBoundary:f}),y=it(e.placement),g=ot(e.placement),m=!g,S=st(y),E="x"===S?"y":"x",O=e.modifiersData.popperOffsets,x=e.rects.reference,I=e.rects.popper,z="function"==typeof v?v(Object.assign({},e.rects,{placement:e.placement})):v,M="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(O){if(o){var k,R="y"===S?K:U,q="y"===S?V:L,j="y"===S?"height":"width",P=O[S],B=P+_[R],T=P-_[q],W=p?-I[j]/2:0,N=g===H?x[j]:I[j],J=g===H?-I[j]:-x[j],$=e.elements.arrow,Y=p&&$?A($):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=X[R],Q=X[q],Z=bt(0,x[j],Y[j]),tt=m?x[j]/2-W-Z-G-M.mainAxis:N-Z-G-M.mainAxis,et=m?-x[j]/2+W+Z+Q+M.mainAxis:J+Z+Q+M.mainAxis,nt=e.elements.arrow&&F(e.elements.arrow),rt=nt?"y"===S?nt.clientTop||0:nt.clientLeft||0:0,at=null!=(k=null==D?void 0:D[S])?k:0,ut=P+et-at,ct=bt(p?w(B,P+tt-at-rt):B,P,p?b(T,ut):T);O[S]=ct,C[S]=ct-P}if(a){var ft,lt="x"===S?K:U,ht="x"===S?V:L,pt=O[E],dt="y"===E?"height":"width",vt=pt+_[lt],_t=pt-_[ht],yt=-1!==[K,U].indexOf(y),gt=null!=(ft=null==D?void 0:D[E])?ft:0,wt=yt?vt:pt-x[dt]-I[dt]-gt+M.altAxis,St=yt?pt+x[dt]+I[dt]-gt-M.altAxis:_t,Et=p&&yt?function(t,e,n){var r=bt(t,e,n);return r>n?n:r}(wt,pt,St):bt(p?wt:vt,pt,p?St:_t);O[E]=Et,C[E]=Et-pt}e.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=it(n.placement),u=st(a),c=[U,L].indexOf(a)>=0?"height":"width";if(o&&s){var f=function(t,e){return yt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:gt(t,N))}(i.padding,n),l=A(o),h="y"===u?K:U,p="y"===u?V:L,d=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],v=s[u]-n.rects.reference[u],_=F(o),y=_?"y"===u?_.clientHeight||0:_.clientWidth||0:0,g=d/2-v/2,m=f[h],b=y-l[c]-f[p],w=y/2-l[c]/2+g,S=bt(m,w,b),E=u;n.modifiersData[r]=((e={})[E]=S,e.centerOffset=S-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&dt(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),u=wt(s,r),c=wt(a,i,o),f=St(u),l=St(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]}),Ot=n(69590),xt=n.n(Ot),It=function(t){return t.reduce((function(t,e){var n=e[0],r=e[1];return t[n]=r,t}),{})},zt="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,Mt=[],Dt=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Mt},s=i.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=s[0],u=s[1],c=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);v.flushSync((function(){u({styles:It(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:It(n.map((function(t){return[t,e.attributes[t]]})))})}))},requires:["computeStyles"]}}),[]),f=i.useMemo((function(){var t={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return xt()(r.current,t)?r.current||t:(r.current=t,t)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),l=i.useRef();return zt((function(){l.current&&l.current.setOptions(f)}),[f]),zt((function(){if(null!=t&&null!=e){var r=(n.createPopper||Et)(t,e,f);return l.current=r,function(){r.destroy(),l.current=null}}}),[t,e,n.createPopper]),{state:l.current?l.current.state:null,styles:a.styles,attributes:a.attributes,update:l.current?l.current.update:null,forceUpdate:l.current?l.current.forceUpdate:null}};function Ct(){return Ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ct.apply(this,arguments)}function kt(t,e){return kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},kt(t,e)}function Rt(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function At(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function qt(t){var e=t.mention,n=t.children,r=t.className;return o().createElement("a",{href:e.link,className:r,spellCheck:!1,"data-testid":"mentionLink"},n)}function jt(t){var e=t.children,n=t.className;return o().createElement("span",{className:n,spellCheck:!1,"data-testid":"mentionText"},e)}function Pt(t){var e=t.entityKey,n=t.theme,r=void 0===n?{}:n,i=t.mentionComponent,s=t.children,u=t.decoratedText,c=t.className,f=t.contentState,l=a(r.mention,c),h=f.getEntity(e).getData().mention,p=i||(h.link?qt:jt);return o().createElement(p,{entityKey:e,mention:h,theme:r,className:l,decoratedText:u},s)}var Bt=function(t,e,n){var r=e.getAnchorKey(),i=e.getAnchorOffset();return function(t,e,n){for(var r,i=t.substr(0,e),o=n.map((function(t){return h()(t)})).join("|"),s=new RegExp("(\\s|^)("+o+")","g"),a=0,u=0,c=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return At(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?At(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.matchAll(s));!(r=c()).done;){var f=r.value,l=f[1].length,p=f[2].length;u=(a=(f.index||0)+l)+p}var d=i.slice(u);return{begin:a,end:i.length,matchingString:d}}(t.getCurrentContent().getBlockForKey(r).getText(),i,n)};function Tt(t){return"@"===t?"mention":t+"mention"}function Ft(t,e,n,r,i){var o=t.getCurrentContent().createEntity(Tt(r),i,{mention:e}).getLastCreatedEntityKey(),s=t.getSelection(),a=Bt(t,s,[r]),c=a.begin,f=a.end,l=s.merge({anchorOffset:c,focusOffset:f}),h=u.Modifier.replaceText(t.getCurrentContent(),l,""+("string"==typeof n?n:n(r))+e.name,t.getCurrentInlineStyle(),o),p=l.getAnchorKey();t.getCurrentContent().getBlockForKey(p).getLength()===f&&(h=u.Modifier.insertText(h,h.getSelectionAfter()," "));var d=u.EditorState.push(t,h,"insert-fragment");return u.EditorState.forceSelection(d,h.getSelectionAfter())}function Kt(t){return void 0!==t}var Vt=function t(e){return e?"static"!==window.getComputedStyle(e).getPropertyValue("position")?e:t(e.parentElement):null};function Lt(t){var e,n=t.decoratorRect,r=t.popover,i=t.props,o=Vt(r.parentElement);if(o){var s=o.getBoundingClientRect();e={scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,left:n.left-s.left,top:n.bottom-s.top}}else e={scrollTop:window.pageYOffset||document.documentElement.scrollTop,scrollLeft:window.pageXOffset||document.documentElement.scrollLeft,top:n.bottom,left:n.left};var a,u,c=e.left+e.scrollLeft,f=e.top+e.scrollTop;return i.open&&(i.suggestions.length>0?(a="scale(1)",u="all 0.25s cubic-bezier(.3,1.2,.2,1)"):(a="scale(0)",u="all 0.35s cubic-bezier(.3,1,.2,1)")),{left:c+"px",top:f+"px",transform:a,transformOrigin:"1em 0%",transition:u}}var Ut=d()((function(t){}));function Wt(t){var e=t.mention,n=t.theme,r=void 0===n?{}:n;return e.avatar?o().createElement("img",{src:e.avatar,className:r.mentionSuggestionsEntryAvatar,role:"presentation"}):null}var Nt=["mention","theme","isFocused","searchValue","selectMention"];function Ht(t){var e=t.mention,n=t.theme,r=t.isFocused;t.searchValue,t.selectMention;var i=Rt(t,Nt);return o().createElement("div",Ct({},i,{"aria-selected":r}),o().createElement(Wt,{mention:e,theme:n}),o().createElement("span",{className:null==n?void 0:n.mentionSuggestionsEntryText},e.name))}var Jt=function(t){var e=t.onMentionSelect,n=t.mention,r=t.theme,s=t.index,a=t.onMentionFocus,u=t.isFocused,c=t.id,f=t.searchValue,l=t.entryComponent,h=(0,i.useRef)(!1),p=(0,i.useRef)(null);(0,i.useEffect)((function(){u&&requestAnimationFrame((function(){var t;return null==(t=p.current)?void 0:t.scrollIntoView({behavior:"smooth",block:"nearest"})}))}),[u]),(0,i.useEffect)((function(){h.current=!1}));var d=u?r.mentionSuggestionsEntryFocused:r.mentionSuggestionsEntry;return o().createElement("div",{ref:p},o().createElement(l,{className:d,onMouseDown:function(t){t.preventDefault(),h.current=!0},onMouseUp:function(){h.current&&(e(n),h.current=!1)},onMouseEnter:function(){a(s)},role:"option",id:c,"aria-selected":u?"true":void 0,theme:r,mention:n,isFocused:u,searchValue:f,selectMention:e}))};Jt.propTypes={entryComponent:f().any.isRequired,searchValue:f().string,onMentionSelect:f().func};var $t=Jt;function Yt(t){var e=t.store,n=t.children,r=t.theme,s=t.popperOptions,u=void 0===s?{placement:"bottom-start"}:s,c=(0,i.useState)((function(){return a(r.mentionSuggestions,r.mentionSuggestionsPopup)})),f=c[0],l=c[1],h=(0,i.useState)(null),p=h[0],d=h[1],v=Dt(e.getReferenceElement(),p,u),_=v.styles,y=v.attributes;return(0,i.useEffect)((function(){requestAnimationFrame((function(){return l(a(r.mentionSuggestions,r.mentionSuggestionsPopup,r.mentionSuggestionsPopupVisible))}))}),[r]),o().createElement("div",Ct({ref:d,style:_.popper},y.popper,{className:f,role:"listbox"}),n)}var Xt=["entryComponent","popoverComponent","popperOptions","popoverContainer","onOpenChange","onAddMention","onSearchChange","suggestions","ariaProps","callbacks","theme","store","entityMutability","positionSuggestions","mentionTriggers","mentionPrefix"],Gt=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).state={focusedOptionIndex:0},n.key=(0,u.genKey)(),n.lastActiveTrigger="",n.onEditorStateChange=function(t){var e=n.props.store.getAllSearches();if(0===e.size)return t;var r=function(t,e,n){var r=t.getSelection(),i=r.getAnchorKey(),o=r.getAnchorOffset();if(!r.isCollapsed()||!r.getHasFocus())return null;var s=e.map((function(t){return function(t){var e=t.split("-"),n=e[0],r=e[1],i=e[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(i,10)}}(t)})).filter((function(t){return t.blockKey===i})).map((function(e){return t.getBlockTree(e.blockKey).getIn([e.decoratorKey])}));if(s.every((function(t){return void 0===t})))return null;var a=t.getCurrentContent().getBlockForKey(i).getText(),u=s.filter(Kt).map((function(t){var e=t.start,r=t.end;return n.map((function(t){return 0===e&&o>=e+t.length&&a.substr(0,t.length)===t&&o<=r||n.length>1&&o>=e+t.length&&(a.substr(e+1,t.length)===t||a.substr(e,t.length)===t)&&o<=r||1===n.length&&o>=e+t.length&&o<=r?t:void 0})).filter(Kt)[0]})).filter(Kt);if(u.isEmpty())return null;var c=u.entrySeq().first();return{activeOffsetKey:c[0],activeTrigger:c[1]}}(t,e,n.props.mentionTriggers);if(!r)return n.props.store.resetEscapedSearch(),n.closeDropdown(),t;var i=n.activeOffsetKey;return n.activeOffsetKey=r.activeOffsetKey,n.onSearchChange(t,t.getSelection(),n.activeOffsetKey,i,r.activeTrigger),n.props.store.isEscaped(n.activeOffsetKey||"")||n.props.store.resetEscapedSearch(),n.props.open||n.props.store.isEscaped(n.activeOffsetKey||"")||n.openDropdown(),i!==n.activeOffsetKey&&n.setState({focusedOptionIndex:0}),t},n.onSearchChange=function(t,e,r,i,o){var s=Bt(t,e,[o]).matchingString;n.lastActiveTrigger===o&&n.lastSearchValue===s&&r===i||(n.lastActiveTrigger=o,n.lastSearchValue=s,n.props.onSearchChange({trigger:o,value:s}),n.setState({focusedOptionIndex:0}))},n.onDownArrow=function(t){t.preventDefault();var e=n.state.focusedOptionIndex+1;n.onMentionFocus(e>=n.props.suggestions.length?0:e)},n.onTab=function(t){t.preventDefault(),n.commitSelection()},n.onUpArrow=function(t){if(t.preventDefault(),n.props.suggestions.length>0){var e=n.state.focusedOptionIndex-1;n.onMentionFocus(e<0?n.props.suggestions.length-1:e)}},n.onEscape=function(t){t.preventDefault(),n.props.store.escapeSearch(n.activeOffsetKey||""),n.closeDropdown(),n.props.store.setEditorState(n.props.store.getEditorState())},n.onMentionSelect=function(t){if(t){n.props.onAddMention&&n.props.onAddMention(t),n.closeDropdown();var e=Ft(n.props.store.getEditorState(),t,n.props.mentionPrefix,n.lastActiveTrigger||"",n.props.entityMutability);n.props.store.setEditorState(e)}},n.onMentionFocus=function(t){var e="mention-option-"+n.key+"-"+t;n.props.ariaProps.ariaActiveDescendantID=e,n.setState({focusedOptionIndex:t}),n.props.store.setEditorState(n.props.store.getEditorState())},n.commitSelection=function(){var t=n.props.suggestions[n.state.focusedOptionIndex];return n.props.store.getIsOpened()&&t?(n.onMentionSelect(t),"handled"):"not-handled"},n.openDropdown=function(){n.props.callbacks.handleReturn=n.commitSelection,n.props.callbacks.keyBindingFn=function(t){40===t.keyCode&&n.onDownArrow(t),38===t.keyCode&&n.onUpArrow(t),27===t.keyCode&&n.onEscape(t),9===t.keyCode&&n.onTab(t)};var t="mention-option-"+n.key+"-"+n.state.focusedOptionIndex;n.props.ariaProps.ariaActiveDescendantID=t,n.props.ariaProps.ariaOwneeID="mentions-list-"+n.key,n.props.ariaProps.ariaHasPopup="true",n.props.ariaProps.ariaExpanded=!0,n.props.onOpenChange(!0)},n.closeDropdown=function(){n.props.callbacks.handleReturn=void 0,n.props.callbacks.keyBindingFn=void 0,n.props.ariaProps.ariaHasPopup="false",n.props.ariaProps.ariaExpanded=!1,n.props.ariaProps.ariaActiveDescendantID=void 0,n.props.ariaProps.ariaOwneeID=void 0,n.props.onOpenChange(!1)},n.props.callbacks.onChange=n.onEditorStateChange,n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,kt(e,n);var i=r.prototype;return i.componentDidUpdate=function(){if(this.popover){var t=this.props.suggestions.length;if(t>0&&this.state.focusedOptionIndex>=t&&this.setState({focusedOptionIndex:t-1}),!this.props.store.getAllSearches().has(this.activeOffsetKey))return;for(var e=this.props.store.getPortalClientRect(this.activeOffsetKey),n=(this.props.positionSuggestions||Lt)({decoratorRect:e,props:this.props,popover:this.popover}),r=0,i=Object.entries(n);r<i.length;r++){var o=i[r],s=o[0],a=o[1];this.popover.style[s]=a}}},i.componentWillUnmount=function(){this.props.callbacks.onChange=void 0},i.render=function(){var t=this;if(!this.props.open)return null;var e=this.props,n=e.entryComponent,r=e.popoverComponent,i=e.popperOptions,s=e.popoverContainer,a=void 0===s?Yt:s;e.onOpenChange,e.onAddMention,e.onSearchChange,e.suggestions,e.ariaProps,e.callbacks;var u=e.theme,c=void 0===u?{}:u;e.store,e.entityMutability;var f=e.positionSuggestions;e.mentionTriggers,e.mentionPrefix;var l=Rt(e,Xt);return r||f?(Ut("The properties `popoverComponent` and `positionSuggestions` are deprecated and will be removed in @draft-js-plugins/mentions 6.0 . Use `popperOptions` instead"),o().cloneElement(r||o().createElement("div",null),Ct({},l,{className:c.mentionSuggestions,role:"listbox",id:"mentions-list-"+this.key,ref:function(e){t.popover=e}}),this.props.suggestions.map((function(e,r){return o().createElement($t,{key:null!=e.id?e.id:e.name,onMentionSelect:t.onMentionSelect,onMentionFocus:t.onMentionFocus,isFocused:t.state.focusedOptionIndex===r,mention:e,index:r,id:"mention-option-"+t.key+"-"+r,theme:c,searchValue:t.lastSearchValue,entryComponent:n||Ht})})))):this.props.renderEmptyPopup||0!==this.props.suggestions.length?o().createElement(a,{store:this.props.store,popperOptions:i,theme:c},this.props.suggestions.map((function(e,r){return o().createElement($t,{key:null!=e.id?e.id:e.name,onMentionSelect:t.onMentionSelect,onMentionFocus:t.onMentionFocus,isFocused:t.state.focusedOptionIndex===r,mention:e,index:r,id:"mention-option-"+t.key+"-"+r,theme:c,searchValue:t.lastSearchValue,entryComponent:n||Ht})}))):null},r}(i.Component);Gt.propTypes={open:f().bool.isRequired,onOpenChange:f().func.isRequired,entityMutability:f().oneOf(["SEGMENTED","IMMUTABLE","MUTABLE"]),entryComponent:f().func,onAddMention:f().func,suggestions:f().array.isRequired};var Qt=Gt,Zt="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function te(t){var e=(0,i.useRef)(),n=function(t){t.store.updatePortalClientRect(t.offsetKey,(function(){return e.current.getBoundingClientRect()}))};return Zt((function(){return t.store.register(t.offsetKey),t.store.setIsOpened(!0),n(t),t.store.setEditorState(t.store.getEditorState()),function(){t.store.unregister(t.offsetKey),t.store.setIsOpened(!1),t.store.setReferenceElement(null)}}),[]),(0,i.useEffect)((function(){e.current&&t.store.setReferenceElement(e.current)}),[e.current]),(0,i.useEffect)((function(){n(t)})),o().createElement("span",{ref:function(n){e.current=n,t.store.setReferenceElement(n)}},t.children)}var ee={mention:"m6zwb4v",mentionSuggestions:"mnw6qvm",mentionSuggestionsPopup:"m1ymsnxd",mentionSuggestionsPopupVisible:"m126ak5t",mentionSuggestionsEntry:"mtiwdxc",mentionSuggestionsEntryFocused:"myz2dw1",mentionSuggestionsEntryText:"mpqdcgq",mentionSuggestionsEntryAvatar:"m1mfvffo"},ne=function(t){return function(e,n,r){e.findEntityRanges((function(e){var n=e.getEntity();return null!==n&&t.some((function(t){return r.getEntity(n).getType()===Tt(t)}))}),n)}},re=/\s/;function ie(t,e){return 0===e||re.test(t[e-1])}var oe=function(t){void 0===t&&(t={});var e,n,i,s,a,u,c,f={keyBindingFn:void 0,handleKeyCommand:void 0,handleReturn:void 0,onChange:void 0},l={ariaHasPopup:"false",ariaExpanded:!1,ariaOwneeID:void 0,ariaActiveDescendantID:void 0},p=(0,r.Map)(),d=(0,r.Map)(),v=!1,_={getEditorState:void 0,setEditorState:void 0,getPortalClientRect:function(t){return d.get(t)()},getAllSearches:function(){return p},isEscaped:function(t){return e===t},escapeSearch:function(t){e=t},resetEscapedSearch:function(){e=void 0},register:function(t){p=p.set(t,t)},updatePortalClientRect:function(t,e){d=d.set(t,e)},unregister:function(t){p=p.delete(t),d=d.delete(t)},getIsOpened:function(){return v},setIsOpened:function(t){v=t},getReferenceElement:function(){return n},setReferenceElement:function(t){n=t}},y=t,g=y.mentionPrefix,m=void 0===g?"":g,b=y.theme,w=void 0===b?ee:b,S=y.positionSuggestions,E=y.mentionComponent,O=y.mentionSuggestionsComponent,x=void 0===O?Qt:O,I=y.entityMutability,z=void 0===I?"SEGMENTED":I,M=y.mentionTrigger,D=void 0===M?"@":M,C=y.mentionRegExp,k=void 0===C?"[\\w-À-ÖØ-öø-ÿĀ-ňŊ-ſА-я々-〆-ゟ゠-ヿ-가-힣一-龥-ۿÀ-ỹ]":C,R=y.supportWhitespace,A=void 0!==R&&R,q=y.popperOptions,j="string"==typeof D?[D]:D,P={ariaProps:l,callbacks:f,theme:w,store:_,entityMutability:z,positionSuggestions:S,mentionTriggers:j,mentionPrefix:m,popperOptions:q};return{MentionSuggestions:function(t){return o().createElement(x,Ct({},t,P))},decorators:[{strategy:ne(j),component:function(t){return o().createElement(Pt,Ct({},t,{theme:w,mentionComponent:E}))}},{strategy:(i=j,s=A,a=k,u="("+i.map((function(t){return h()(t)})).join("|")+")",c=s?new RegExp(u+"("+a+"|\\s)*","g"):new RegExp("(\\s|^)"+u+a+"*","g"),function(t,e){!function(t,e,n,r){var i=e.getText();e.findEntityRanges((function(t){return!t.getEntity()}),(function(e,o){var s=i.slice(e,o);n?function(t,e,n,r){for(var i,o,s=t.lastIndex;null!==(i=t.exec(e))&&t.lastIndex!==s;){s=t.lastIndex;var a=(o=n+i.index)+i[0].length;ie(e,i.index)&&r(o,a)}}(t,s,e,r):function(t,e,n,r){for(var i,o,s=t.lastIndex;null!==(i=t.exec(e))&&t.lastIndex!==s;){s=t.lastIndex;var a=(o=n+i.index)+i[0].length;re.test(e[o])&&(o+=1),r(o,a)}}(t,s,e,r)}))}(c,t,s,e)}),component:function(t){return o().createElement(te,Ct({},t,{store:_}))}}],getAccessibilityProps:function(){return{role:"combobox",ariaAutoComplete:"list",ariaHasPopup:l.ariaHasPopup,ariaExpanded:l.ariaExpanded,ariaActiveDescendantID:l.ariaActiveDescendantID,ariaOwneeID:l.ariaOwneeID}},initialize:function(t){var e=t.getEditorState,n=t.setEditorState;_.getEditorState=e,_.setEditorState=n},keyBindingFn:function(t){return f.keyBindingFn&&f.keyBindingFn(t)},handleReturn:function(t){return f.handleReturn&&f.handleReturn(t)},onChange:function(t){return f.onChange?f.onChange(t):t}}},se=function(t,e,n){var r=t.toLowerCase(),i=(n&&!Array.isArray(e)?e[n]:e).filter((function(t){return!r||t.name.toLowerCase().indexOf(r)>-1})),o=i.length<5?i.length:5;return i.slice(0,o)}},82080:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mention=void 0;var r=a(n(99196)),i=a(n(98487)),o=a(n(85890)),s=a(n(94184));function a(t){return t&&t.__esModule?t:{default:t}}const u=i.default.span` color: rgb(15 23 42); background-color: rgb(226 232 240); padding: 0.125rem 0.5rem; margin: 0 0.125rem; border-radius: 17px; font-size: .75rem; font-weight: 500; line-height: 1.25; } &:hover { color: rgb(15 23 42); background-color: rgb(226 232 240); cursor: auto; } `,c=({children:t,className:e})=>r.default.createElement(u,{className:(0,s.default)("yst-replacevar__mention",e),spellCheck:!1},t);e.Mention=c,c.propTypes={children:o.default.node.isRequired,className:o.default.string.isRequired}},51381:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(92694),i=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=_(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&{}.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(99196)),o=v(n(85890)),s=v(n(12049)),a=n(65736),u=n(55609),c=n(18594),f=v(n(42578)),l=n(37188),h=n(32183),p=n(34353),d=n(81413);function v(t){return t&&t.__esModule?t:{default:t}}function _(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(_=function(t){return t?n:e})(t)}class y extends i.default.Component{constructor(t){super(t),this.uniqueId=(0,s.default)("replacement-variable-editor-field-"),"description"===t.type?this.InputContainer=h.DescriptionInputContainer:this.InputContainer=h.TitleInputContainer,t.withCaret&&(this.InputContainer=(0,l.withCaretStyles)(this.InputContainer)),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this)}triggerReplacementVariableSuggestions(){this.ref.triggerReplacementVariableSuggestions()}render(){const{label:t,onChange:e,content:n,onFocus:o,onBlur:s,isActive:l,isHovered:p,onSearchChange:v,replacementVariables:_,recommendedReplacementVariables:y,editorRef:g,placeholder:m,fieldId:b,onMouseEnter:w,onMouseLeave:S,hasNewBadge:E,isDisabled:O,hasPremiumBadge:x,type:I}=this.props,z=this.InputContainer,M=(0,r.applyFilters)("yoast.replacementVariableEditor.additionalButtons",[],{fieldId:b,type:I});return i.default.createElement(h.FormSection,{className:["yst-replacevar yst-justify-between",O&&"yst-replacevar--disabled"].filter(Boolean).join(" "),onMouseEnter:w,onMouseLeave:S},i.default.createElement(d.SimulatedLabel,{className:"yst-replacevar__label",id:this.uniqueId,onClick:o},t),x&&i.default.createElement(d.PremiumBadge,{inLabel:!0}),E&&i.default.createElement(d.NewBadge,{inLabel:!0}),i.default.createElement(c.Root,null,i.default.createElement(h.ButtonsContainer,{className:"yst-replacevar__buttons"},i.default.createElement(u.Slot,{key:`PluginComponent-${b}`,name:`PluginComponent-${b}`}),i.default.createElement(c.Button,{className:"yst-replacevar__button-insert yst-h-7",onClick:this.triggerReplacementVariableSuggestions,disabled:O,variant:"secondary",size:"small"},(0,a.__)("Insert variable","wordpress-seo")),i.default.createElement(u.Slot,{name:`yoast.replacementVariableEditor.additionalButtons.${b}`}),M.map(((t,e)=>i.default.createElement(i.Fragment,{key:`additional-button-${e}-${b}`},t))))),i.default.createElement(z,{className:"yst-replacevar__editor",onClick:o,isActive:l&&!O,isHovered:p},i.default.createElement(f.default,{fieldId:b,placeholder:m,content:n,onChange:e,onFocus:o,onBlur:s,onSearchChange:v,replacementVariables:_,recommendedReplacementVariables:y,ref:t=>{this.ref=t,g(t)},ariaLabelledBy:this.uniqueId,isDisabled:O})))}}y.propTypes={editorRef:o.default.func,content:o.default.string.isRequired,onChange:o.default.func.isRequired,onBlur:o.default.func,onSearchChange:o.default.func,replacementVariables:p.replacementVariablesShape,recommendedReplacementVariables:p.recommendedReplacementVariablesShape,isActive:o.default.bool,isHovered:o.default.bool,withCaret:o.default.bool,onFocus:o.default.func,label:o.default.string,placeholder:o.default.string,type:o.default.oneOf(["title","description"]).isRequired,fieldId:o.default.string,onMouseEnter:o.default.func,onMouseLeave:o.default.func,hasNewBadge:o.default.bool,isDisabled:o.default.bool,hasPremiumBadge:o.default.bool},y.defaultProps={onFocus:()=>{},onBlur:()=>{},onSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],fieldId:"",placeholder:"",label:"",withCaret:!1,isHovered:!1,isActive:!1,editorRef:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=y},42578:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ReplacementVariableEditorStandaloneInnerComponent=void 0;var r=E(n(99196)),i=E(n(37166)),o=E(n(99918)),s=E(n(60940)),a=E(n(25853)),u=E(n(66366)),c=E(n(1843)),f=E(n(16965)),l=E(n(18491)),h=E(n(85890)),p=n(25158),d=n(92694),v=n(65736),_=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=S(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&{}.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(98487)),y=n(34353),g=n(82080),m=n(31689),b=n(17481),w=n(45608);function S(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(S=function(t){return t?n:e})(t)}function E(t){return t&&t.__esModule?t:{default:t}}const O=_.default.div` div { z-index: 10995; } > div { max-height: 450px; overflow-y: auto; } `,x=new RegExp("(?:\\p{RI}\\p{RI}|\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*)","gu");class I extends r.default.Component{constructor(t){super(t);const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,i=(0,m.unserializeEditor)(e,n),o=this.determineCurrentReplacementVariables(n,r);this.state={editorState:i,searchValue:"",isSuggestionsOpen:!1,editorKey:this.props.fieldId,suggestions:this.mapReplacementVariablesToSuggestions(o)},this._serializedContent=e,this.initializeBinds(),this.initializeDraftJsPlugins()}initializeBinds(){this.onChange=this.onChange.bind(this),this.handleKeyCommand=this.handleKeyCommand.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=(0,a.default)(p.speak.bind(this),500),this.onSuggestionsOpenChange=this.onSuggestionsOpenChange.bind(this)}initializeDraftJsPlugins(){const t=(0,o.default)({mentionTrigger:"%",entityMutability:"IMMUTABLE",mentionComponent:g.Mention}),e=(0,s.default)({stripEntities:!1});this.pluginList={mentionsPlugin:t,singleLinePlugin:{...e,handleReturn:()=>{}}},this.pluginList=(0,d.applyFilters)("yoast.replacementVariableEditor.pluginList",this.pluginList)}serializeContent(t){const e=(0,m.serializeEditor)(t.getCurrentContent());this._serializedContent!==e&&(this._serializedContent=e,this.props.onChange(this._serializedContent))}onChange(t){return new Promise((e=>{t=(0,m.replaceReplacementVariables)(t,this.props.replacementVariables),t=(0,w.selectReplacementVariables)(t,this.state.editorState),this.setState({editorState:t},(()=>{this.serializeContent(t),e()}))}))}handleKeyCommand(t){if("backspace"!==t&&"delete"!==t)return"not-handled";let e=(0,b.removeSelectedText)(this.state.editorState);const n=e.getCurrentContent(),r=e.getSelection();if(!r.isCollapsed())return"not-handled";const i=r.getStartOffset();if(i<0)return"not-handled";const o=n.getBlockForKey(r.getStartKey()).getText(),s="backspace"===t?i-1:i+1;if((o.codePointAt(s)||0)<=127)return"not-handled";let a;return a="backspace"===t?this.getBackwardMatch(o,i):this.getForwardMatch(o,i),a?(e=(0,b.removeEmojiCompletely)(e,a,t),this.onChange(e).then((()=>this.focus())),"handled"):"not-handled"}getForwardMatch(t,e){let n=1;return[2,3,4,5,6,7,8,9,10,11,12,13,14].every((r=>{const i=t.slice(e,e+r);return!(null===i.match(x)||i.match(x).length>1||(n=r,0))})),t.slice(e,e+n).match(x)}getBackwardMatch(t,e){return t.slice(0,e).match(x)}mapReplacementVariablesToSuggestions(t){return t.map((t=>({...t,name:t.label,replaceName:t.name})))}suggestionsFilter(t,e){const n=t.toLowerCase();return e.filter((function(t){return!(t.hidden||n&&0!==t.name.toLowerCase().indexOf(n))}))}determineCurrentReplacementVariables(t,e,n=""){if(""===n&&!(0,u.default)(e)){const n=(0,c.default)(t,(t=>(0,f.default)(e,t.name)));if(0!==n.length)return n}return t}onSearchChange({value:t}){this.props.onSearchChange&&this.props.onSearchChange(t);const e=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,t),n=this.mapReplacementVariablesToSuggestions(e);this.setState({searchValue:t,suggestions:this.suggestionsFilter(t,n)}),setTimeout((()=>{this.announceSearchResults()}))}onSuggestionsOpenChange(t){this.setState({isSuggestionsOpen:t})}announceSearchResults(){const{suggestions:t}=this.state;t.length?this.debouncedA11ySpeak((0,v.sprintf)(/* translators: %d expands to the number of results found. */ (0,v._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",t.length,"wordpress-seo"),t.length),"assertive"):this.debouncedA11ySpeak((0,v.__)("No results","wordpress-seo"),"assertive")}focus(){this.editor.focus()}setEditorRef(t){this.editor=t}setEditorFieldId(){(0,l.default)(this.editor,"editor.editor").id=this.props.fieldId}triggerReplacementVariableSuggestions(){let t=(0,b.removeSelectedText)(this.state.editorState);const e=t.getSelection(),n=t.getCurrentContent(),r=(0,b.getAnchorBlock)(n,e).getText(),i=(0,b.getCaretOffset)(e),o=!(0,b.hasWhitespaceAt)(r,i-1),s=!(0,b.hasWhitespaceAt)(r,i),a=(0,b.getTrigger)(o,s);if(t=(0,b.insertText)(t,a),s){const e=i+a.length-1;t=(0,b.moveCaret)(t,e)}this.onChange(t).then((()=>this.focus()))}componentDidUpdate(t,e){const{content:n,replacementVariables:r,recommendedReplacementVariables:i}=t,{searchValue:o}=this.state,s={},a=this.props,u=a.content!==this._serializedContent&&a.content!==n,c=a.replacementVariables!==r,f=a.replacementVariables.map((t=>t.name)).filter((t=>!r.map((t=>t.name)).includes(t))).some((t=>n.includes("%%"+t+"%%")));if(u&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),!u&&c&&f&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),c){const t=this.determineCurrentReplacementVariables(a.replacementVariables,i,o);s.suggestions=this.suggestionsFilter(o,this.mapReplacementVariablesToSuggestions(t))}(c||u)&&this.setState({...e,...s})}handleCopyCutEvent(t){const{editorState:e}=this.state,n=e.getSelection();if(n.getHasFocus())try{const r=t.clipboardData,i=e.getCurrentContent(),o=(0,m.serializeSelection)(i,n);r.setData("text/plain",o),t.preventDefault()}catch(t){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",t)}}componentDidMount(){document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}componentWillUnmount(){this.debouncedA11ySpeak.cancel(),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}render(){const{MentionSuggestions:t}=this.pluginList.mentionsPlugin,{onFocus:e,onBlur:n,ariaLabelledBy:o,placeholder:s,theme:a,isDisabled:u,fieldId:c}=this.props,{editorState:f,suggestions:l,isSuggestionsOpen:h}=this.state;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{key:this.state.editorKey,textDirectionality:a.isRtl?"RTL":"LTR",editorState:f,handleKeyCommand:this.handleKeyCommand,onChange:this.onChange,onFocus:e,onBlur:n,plugins:Object.values(this.pluginList),ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:o,placeholder:s,spellCheck:!0,readOnly:u}),(0,d.applyFilters)("yoast.replacementVariableEditor.additionalPlugins",r.default.createElement(r.default.Fragment,null),this.pluginList,c),r.default.createElement(O,null,r.default.createElement(t,{onSearchChange:this.onSearchChange,suggestions:l,onOpenChange:this.onSuggestionsOpenChange,open:h})))}}e.ReplacementVariableEditorStandaloneInnerComponent=I,I.propTypes={content:h.default.string.isRequired,replacementVariables:y.replacementVariablesShape.isRequired,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,ariaLabelledBy:h.default.string.isRequired,onSearchChange:h.default.func,onChange:h.default.func.isRequired,onFocus:h.default.func,onBlur:h.default.func,theme:h.default.object,placeholder:h.default.string,fieldId:h.default.string.isRequired,isDisabled:h.default.bool},I.defaultProps={onSearchChange:null,onFocus:()=>{},onBlur:()=>{},placeholder:"",theme:{isRtl:!1},recommendedReplacementVariables:[],isDisabled:!1},e.default=(0,_.withTheme)(I)},26895:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(n(99196)),i=u(n(85890)),o=n(81413),s=u(n(9283)),a=n(34353);function u(t){return t&&t.__esModule?t:{default:t}}class c extends r.default.Component{constructor(t){super(t),this.state={activeField:null,hoveredField:null},this.setFieldFocus=this.setFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this)}handleChange(t,e){this.props.onChange(t,e)}setFieldFocus(t){this.setState({activeField:t})}onBlur(){this.setState({activeField:null})}onClick(t){this.setFieldFocus(t)}render(){const{data:t,replacementVariables:e,recommendedReplacementVariables:n,descriptionEditorFieldPlaceholder:i,hasPaperStyle:a,fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}=this.props,{activeField:p,hoveredField:d}=this.state;return r.default.createElement(o.ErrorBoundary,null,r.default.createElement(s.default,{descriptionEditorFieldPlaceholder:i,data:t,activeField:p,hoveredField:d,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:e,recommendedReplacementVariables:n,containerPadding:a?"0 20px":"0",fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}))}}c.propTypes={replacementVariables:a.replacementVariablesShape,recommendedReplacementVariables:a.recommendedReplacementVariablesShape,data:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,onChange:i.default.func.isRequired,descriptionEditorFieldPlaceholder:i.default.string,hasPaperStyle:i.default.bool,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},c.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0,descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=c},9283:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StyledEditor=void 0;var r=c(n(99196)),i=c(n(85890)),o=n(65736),s=c(n(98487)),a=c(n(51381)),u=n(34353);function c(t){return t&&t.__esModule?t:{default:t}}const f=e.StyledEditor=s.default.section` padding: ${t=>t.padding?t.padding:"0 20px"}; `;class l extends r.default.Component{constructor(t){super(t),this.elements={title:null,description:null},this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(t,e){this.elements[t]=e}setTitleRef(t){this.setRef("title",t)}setDescriptionRef(t){this.setRef("description",t)}componentDidUpdate(t){this.focusOnActiveFieldChange(t.activeField)}focusOnActiveFieldChange(t){const{activeField:e}=this.props;e&&e!==t&&this.elements[e].focus()}triggerReplacementVariableSuggestions(t){this.elements[t].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(t){this.props.onChange("title",t)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(t){this.props.onChange("description",t)}render(){const{descriptionEditorFieldPlaceholder:t,activeField:e,hoveredField:n,replacementVariables:i,recommendedReplacementVariables:s,onBlur:u,data:{title:c,description:l},containerPadding:h,fieldIds:p,labels:d,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}=this.props;return r.default.createElement(f,{padding:h},r.default.createElement(a.default,{type:"title",label:d.title||(0,o.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:u,isActive:"title"===e,isHovered:"title"===n,editorRef:this.setTitleRef,replacementVariables:i,recommendedReplacementVariables:s,content:c,onChange:this.onChangeTitle,fieldId:p.title,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}),r.default.createElement(a.default,{type:"description",placeholder:t,label:d.description||(0,o.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:u,isActive:"description"===e,isHovered:"description"===n,editorRef:this.setDescriptionRef,replacementVariables:i,recommendedReplacementVariables:s,content:l,onChange:this.onChangeDescription,fieldId:p.description,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}))}}l.propTypes={replacementVariables:u.replacementVariablesShape,recommendedReplacementVariables:u.recommendedReplacementVariablesShape,onChange:i.default.func.isRequired,onFocus:i.default.func,onBlur:i.default.func,data:i.default.shape({title:i.default.string,description:i.default.string}).isRequired,activeField:i.default.oneOf(["title","description"]),hoveredField:i.default.oneOf(["title","description"]),descriptionEditorFieldPlaceholder:i.default.string,containerPadding:i.default.string,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},l.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},containerPadding:"0 20px",descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,activeField:"",hoveredField:""},e.default=l},34353:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.replacementVariablesShape=e.recommendedReplacementVariablesShape=void 0;var r,i=(r=n(85890))&&r.__esModule?r:{default:r};e.replacementVariablesShape=i.default.arrayOf(i.default.shape({name:i.default.string.isRequired,value:i.default.string.isRequired,label:i.default.string,description:i.default.string,hidden:i.default.bool})),e.recommendedReplacementVariablesShape=i.default.arrayOf(i.default.string)},17481:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSelectedText=e.removeEmojiCompletely=e.moveCaret=e.insertText=e.hasWhitespaceAt=e.getTrigger=e.getCaretOffset=e.getAnchorBlock=void 0;var r=n(7206);e.getTrigger=(t,e)=>{let n="%";return t&&(n=" "+n),e&&(n+=" "),n},e.hasWhitespaceAt=(t,e)=>{const n=t.charAt(e);return 0===n.length||/\s/.test(n)},e.getCaretOffset=t=>t.getIsBackward()?t.getEndOffset():t.getStartOffset();const i=(t,e)=>{const n=e.getAnchorKey();return t.getBlockForKey(n)};e.getAnchorBlock=i,e.insertText=(t,e)=>{const n=t.getCurrentContent(),i=t.getSelection();if(!i.isCollapsed())return t;const o=r.Modifier.insertText(n,i,e);return r.EditorState.push(t,o,"insert-characters")},e.removeSelectedText=t=>{const e=t.getCurrentContent(),n=t.getSelection(),i=r.Modifier.removeRange(e,n,"backward");return r.EditorState.push(t,i,"remove-range")},e.moveCaret=(t,e,n="")=>{const o=t.getCurrentContent(),s=t.getSelection();""===n&&(n=i(o,s).getKey());const a=r.SelectionState.createEmpty(n).merge({anchorOffset:e,focusOffset:e});return r.EditorState.acceptSelection(t,a)},e.removeEmojiCompletely=(t,e,n)=>{const i=t.getSelection(),o=t.getCurrentContent(),s=i.getStartOffset(),a=o.getBlockForKey(i.getStartKey()),u=e[e.length-1].length,c="backspace"===n?s-u:s+u,f=new r.SelectionState({anchorOffset:c,anchorKey:a.getKey(),focusOffset:s,focusKey:a.getKey(),isBackward:"delete"===n,hasFocus:i.getHasFocus()});return r.EditorState.push(t,r.Modifier.replaceText(o,f,""),"remove-range")}},45608:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEntityAtPosition=o,e.getEntityRange=i,e.selectReplacementVariables=function(t,e){const n=t.getSelection(),u=e.getSelection(),c=t.getCurrentContent();if(n===u)return t;const f=function(t,e,n){const r=t.getStartOffset(),u=t.getStartKey(),c=t.getEndOffset(),f=t.getEndKey(),{startOffsetProperty:l,endOffsetProperty:h}=s(t.getIsBackward()),p=o(n,u,r);if(null!==p){const r=i(n,u,p),{start:o,end:s}=r;t=a(e,r)?t.merge({[l]:s}):t.merge({[l]:o})}const d=o(n,f,c);if(null!==d){const r=i(n,u,d),{start:o,end:s}=r;t=a(e,r)?t.merge({[h]:o}):t.merge({[h]:s})}return t}(n,u,c);return f!==n&&(t=r.EditorState.forceSelection(t,f)),t};var r=n(7206);function i(t,e,n){const r=t.getBlockForKey(e);let i=null;return r.findEntityRanges((t=>t.getEntity()===n),((t,e)=>{i={start:t,end:e}})),i}function o(t,e,n){const r=t.getBlockForKey(e).getEntityAt(n),o=i(t,e,r);return null===o||o.start===n?null:r}const s=function(t){let e="anchorOffset",n="focusOffset";return t&&(e="focusOffset",n="anchorOffset"),{startOffsetProperty:e,endOffsetProperty:n}};function a(t,e){const{start:n,end:r}=e;return t.getStartOffset()<=n&&t.getEndOffset()>=r}},31689:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addLabel=v,e.addPositionInformation=_,e.createEntityInContent=g,e.findReplacementVariables=d,e.getReplacementVariableLabel=p,e.getSelectedText=b,e.moveSelectionAfterReplacement=y,e.replaceByPosition=f,e.replaceReplacementVariables=w,e.replaceVariableWithEntity=m,e.serializeBlock=h,e.serializeEditor=function(t,e=" "){return t.getBlockMap().map((e=>h(e,(e=>t.getEntity(e))))).join(e)},e.serializeSelection=function(t,e,n=" "){const r=e.getStartKey(),i=e.getEndKey(),o=t.getBlockMap();let s=!1;return o.skipUntil((function(t){return t.getKey()===r})).takeUntil((function(t){const e=s;return t.getKey()===i&&(s=!0),e})).map((function(n){const o=n.getKey(),s={};return o===r&&(s.start=e.getStartOffset()),o===i&&(s.end=e.getEndOffset()),h(n,(e=>t.getEntity(e)),s)})).join(n)},e.serializeVariable=c,e.unserializeEditor=function(t,e){return w(r.EditorState.createWithContent(r.ContentState.createFromText(t)),e)};var r=n(7206),i=n(23695);const o="%%",s=/%%([A-Za-z0-9_]+)%%/g,a="%mention",u="IMMUTABLE";function c(t){return o+t+o}function f(t,e=[]){return[...e].reverse().forEach((e=>{const{start:n,end:r,replacementText:i}=e,o=t.slice(0,n),s=t.slice(r,t.length);t=o+i+s})),t}function l(t,e,n){return t>=e&&t<=n}function h(t,e,{start:n=0,end:r=t.getText().length}={}){const i=t.getText().slice(n,r),o=[];return t.findEntityRanges((t=>!!t.getEntity()),((i,s)=>{if(l(i,n,r)&&l(s,n,r)){const r=e(t.getEntityAt(i));r.data.mention&&o.push({start:i-n,end:s-n,replacementText:c(r.data.mention.replaceName)})}})),f(i,o)}function p(t,e){let n=e;return t.forEach((t=>{t.name===e&&t.label&&(n=t.label)})),n}function d(t){const e=[];let n;for(;n=s.exec(t);){const[t,r]=n;e.push({name:r,start:n.index,length:t.length})}return e}function v(t,e){return{...t,label:p(e,t.name)}}function _(t){return{...t,start:t.start,end:t.start+t.length,delta:t.label.length-t.length}}function y(t,e,n){const{start:r,end:i,delta:o}=n;if(t.hasEdgeWithin(e,r,i)){const e=i+o;t=t.merge({anchorOffset:e,focusOffset:e})}else t.focusOffset>i&&(t=t.merge({anchorOffset:t.anchorOffset+o,focusOffset:t.focusOffset+o}));return t}function g(t,e){const n={mention:{replaceName:e.name}};return t.createEntity(a,u,n)}function m(t,e,n){let i=t.getCurrentContent();const o=r.SelectionState.createEmpty(n).merge({anchorOffset:e.start,focusOffset:e.end});i=g(i,e);const s=r.Modifier.replaceText(i,o,e.label,null,i.getLastCreatedEntityKey());return r.EditorState.push(t,s,"apply-entity")}function b(t,e){const n=e.getAnchorKey(),r=t.getCurrentContent().getBlockForKey(n),i=e.getStartOffset(),o=e.getEndOffset();return r.getText().slice(i,o)}function w(t,e){const n=t.getCurrentContent().getBlockMap();let o=t;return n.forEach((t=>{const{text:n,key:s}=t;[...d(n)].reverse().forEach((t=>{t=_(t=v(t,e));let n=o.getSelection();n=y(n,s,t);const a=function(t,e,n,o){const s=t.getCurrentContent(),a=b(t,r.SelectionState.createEmpty(n).merge({anchorOffset:o.end,focusOffset:o.end+1}));if(!(0,i.getWordBoundaries)().includes(a)){const i=r.SelectionState.createEmpty(n).merge({anchorOffset:o.end,focusOffset:o.end}),a=r.Modifier.insertText(s,i," ");t=r.EditorState.push(t,a,"insert-characters"),e.getAnchorOffset()>=o.start&&(e=e.merge({anchorOffset:e.getAnchorOffset()+1,focusOffset:e.getFocusOffset()+1}))}return{editorState:t,selection:e}}(o,n,s,t);o=m(a.editorState,t,s),o=r.EditorState.acceptSelection(o,a.selection)}))})),o}},32183:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerReplacementVariableSuggestionsButton=e.TitleInputContainer=e.StandardButton=e.FormSection=e.DescriptionInputContainer=e.ButtonsContainer=void 0;var r,i=(r=n(98487))&&r.__esModule?r:{default:r},o=n(23695),s=n(37188),a=n(81413);const u="#707070",c=(e.TitleInputContainer=(0,i.default)(a.VariableEditorInputContainer)` .public-DraftStyleDefault-block { line-height: 1.85714285; // 26px based on 14px font-size } .public-DraftEditorPlaceholder-root { color: ${u}; line-height: 1.85714285; // 26px based on 14px font-size } .public-DraftEditorPlaceholder-hasFocus { color: ${u}; } `,e.DescriptionInputContainer=(0,i.default)(a.VariableEditorInputContainer)` min-height: 72px; padding: 4px 5px; line-height: 1.85714285; // 26px based on 14px font-size .public-DraftEditorPlaceholder-root { color: ${u}; position: absolute; line-height: 1.85714285; // 26px based on 14px font-size } .public-DraftEditorPlaceholder-hasFocus { color: ${u}; position: absolute; } `,e.FormSection=i.default.div` display: flex; flex-wrap: wrap; align-items: center; margin: 16px 0 0 0; `,e.StandardButton=(0,i.default)(a.Button)` color: #303030; box-sizing: border-box; border-radius: 4px; box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.1); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; padding: 4px; border: 1px solid #dbdbdb; font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 5px; max-width: 200px; padding: 0 0.5em; `);e.TriggerReplacementVariableSuggestionsButton=(0,i.default)(c)` font-size: 13px; margin-bottom: 0; /* Override StandardButton margin instead of changing that. */ & svg { ${(0,o.getDirectionalStyle)("margin-right","margin-left")}: 7px; fill: ${s.colors.$color_grey_dark}; } `,e.ButtonsContainer=i.default.div` display: inline-flex; gap: 0.5em; margin-inline-start: auto; margin-bottom: 5px; `},94184:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&t.push(s)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){t.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&t.push(a)}}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},60940:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(66581),i=n(7206),o=/\n/g;function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return t.replace(o,e)}function a(t){return t.set("entity",null)}var u={stripEntities:!0};const c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=Object.assign({},u,t),{blockRenderMap:(0,r.Map)({unstyled:{element:"div"}}),onChange:function(e){var n=e.getCurrentContent().getBlocksAsArray();if(n.length>1)e=function(t,e,n){e=e||t.getCurrentContent().getBlocksAsArray();var o=(0,r.List)(),u=(0,r.List)();e.forEach((function(t){"atomic"!==t.getType()&&(o=o.push(s(t.getText())),u=u.concat(t.getCharacterList()))})),n.stripEntities&&(u=u.map(a));var c=new i.ContentBlock({key:(0,i.genKey)(),text:o.join(""),type:"unstyled",characterList:u,depth:0}),f=i.ContentState.createFromBlockArray([c]);return t=i.EditorState.push(t,f,"remove-range"),i.EditorState.moveFocusToEnd(t)}(e,n,t);else{var u=n[0],c=u.getText(),f=u.getCharacterList(),l=t.stripEntities&&function(t){var e=!1;return t.forEach((function(t){null!==t.get("entity")&&(e=!0)})),e}(f);if(o.test(c)||l){c=s(c),t.stripEntities&&(f=f.map(a)),u=new i.ContentBlock({key:(0,i.genKey)(),text:c,type:"unstyled",characterList:f,depth:0});var h=i.ContentState.createFromBlockArray([u]);e=i.EditorState.push(e,h,"insert-characters")}}return e},handleReturn:function(t){return"handled"}}}},66581:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return s(t)?t:J(t)}function r(t){return a(t)?t:$(t)}function i(t){return u(t)?t:Y(t)}function o(t){return s(t)&&!c(t)?t:X(t)}function s(t){return!(!t||!t[l])}function a(t){return!(!t||!t[h])}function u(t){return!(!t||!t[p])}function c(t){return a(t)||u(t)}function f(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=s,n.isKeyed=a,n.isIndexed=u,n.isAssociative=c,n.isOrdered=f,n.Keyed=r,n.Indexed=i,n.Set=o;var l="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",v="delete",_=5,y=1<<_,g=y-1,m={},b={value:!1},w={value:!1};function S(t){return t.value=!1,t}function E(t){t&&(t.value=!0)}function O(){}function x(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function I(t){return void 0===t.size&&(t.size=t.__iterate(M)),t.size}function z(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?I(t)+e:e}function M(){return!0}function D(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function C(t,e){return R(t,e,0)}function k(t,e){return R(t,e,e)}function R(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var A=0,q=1,j=2,P="function"==typeof Symbol&&Symbol.iterator,B="@@iterator",T=P||B;function F(t){this.next=t}function K(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function V(){return{value:void 0,done:!0}}function L(t){return!!N(t)}function U(t){return t&&"function"==typeof t.next}function W(t){var e=N(t);return e&&e.call(t)}function N(t){var e=t&&(P&&t[P]||t[B]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function J(t){return null==t?st():s(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function $(t){return null==t?st().toKeyedSeq():s(t)?a(t)?t.toSeq():t.fromEntrySeq():at(t)}function Y(t){return null==t?st():s(t)?a(t)?t.entrySeq():t.toIndexedSeq():ut(t)}function X(t){return(null==t?st():s(t)?a(t)?t.entrySeq():t:ut(t)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=q,F.ENTRIES=j,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[T]=function(){return this},e(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},J.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e($,J),$.prototype.toKeyedSeq=function(){return this},e(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},Y.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(X,J),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},J.isSeq=ot,J.Keyed=$,J.Set=X,J.Indexed=Y;var G,Q,Z,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function st(){return G||(G=new et([]))}function at(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():U(t)?new it(t).fromEntrySeq():L(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ut(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return H(t)?new et(t):U(t)?new it(t):L(t)?new rt(t):void 0}function ft(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function lt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new F((function(){var t=i[n?o-s:s];return s++>o?{value:void 0,done:!0}:K(e,r?t[0]:s-1,t[1])}))}return t.__iteratorUncached(e,n)}function ht(t,e){return e?pt(e,t,"",{"":t}):dt(t)}function pt(t,e,n,r){return Array.isArray(e)?t.call(r,n,Y(e).map((function(n,r){return pt(t,n,r,e)}))):vt(e)?t.call(r,n,$(e).map((function(n,r){return pt(t,n,r,e)}))):e}function dt(t){return Array.isArray(t)?Y(t).map(dt).toList():vt(t)?$(t).map(dt).toMap():t}function vt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function _t(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function yt(t,e){if(t===e)return!0;if(!s(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||u(t)!==u(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(f(t)){var r=t.entries();return e.every((function(t,e){var i=r.next().value;return i&&_t(i[1],t)&&(n||_t(i[0],e))}))&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var l=!0,h=e.__iterate((function(e,r){if(n?!t.has(e):i?!_t(e,t.get(r,m)):!_t(t.get(r,m),e))return l=!1,!1}));return l&&t.size===h}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function mt(t,e){if(!t)throw new Error(e)}function bt(t,e,n){if(!(this instanceof bt))return new bt(t,e,n);if(mt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function wt(){throw TypeError("Abstract")}function St(){}function Et(){}function Ot(){}J.prototype[tt]=!0,e(et,Y),et.prototype.get=function(t,e){return this.has(t)?this._array[z(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new F((function(){return i>r?{value:void 0,done:!0}:K(t,i,n[e?r-i++:i++])}))},e(nt,$),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var s=r[e?i-o:o];if(!1===t(n[s],s,this))return o+1}return o},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new F((function(){var s=r[e?i-o:o];return o++>i?{value:void 0,done:!0}:K(t,s,n[s])}))},nt.prototype[d]=!0,e(rt,Y),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=W(this._iterable),r=0;if(U(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=W(this._iterable);if(!U(n))return new F(V);var r=0;return new F((function(){var e=n.next();return e.done?e:K(t,r++,e.value)}))},e(it,Y),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var s=n.value;if(i[o]=s,!1===t(s,o++,this))break}return o},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new F((function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return K(t,i,r[i++])}))},e(gt,Y),gt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},gt.prototype.get=function(t,e){return this.has(t)?this._value:e},gt.prototype.includes=function(t){return _t(this._value,t)},gt.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:new gt(this._value,k(e,n)-C(t,n))},gt.prototype.reverse=function(){return this},gt.prototype.indexOf=function(t){return _t(this._value,t)?0:-1},gt.prototype.lastIndexOf=function(t){return _t(this._value,t)?this.size:-1},gt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},gt.prototype.__iterator=function(t,e){var n=this,r=0;return new F((function(){return r<n.size?K(t,r++,n._value):{value:void 0,done:!0}}))},gt.prototype.equals=function(t){return t instanceof gt?_t(this._value,t._value):yt(t)},e(bt,Y),bt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},bt.prototype.get=function(t,e){return this.has(t)?this._start+z(this,t)*this._step:e},bt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},bt.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=C(t,this.size),(e=k(e,this.size))<=t?new bt(0,0):new bt(this.get(t,this._end),this.get(e,this._end),this._step))},bt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},bt.prototype.lastIndexOf=function(t){return this.indexOf(t)},bt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},bt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new F((function(){var s=i;return i+=e?-r:r,o>n?{value:void 0,done:!0}:K(t,o++,s)}))},bt.prototype.equals=function(t){return t instanceof bt?this._start===t._start&&this._end===t._end&&this._step===t._step:yt(this,t)},e(wt,n),e(St,wt),e(Et,wt),e(Ot,wt),wt.Keyed=St,wt.Indexed=Et,wt.Set=Ot;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function It(t){return t>>>1&1073741824|3221225471&t}function zt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return It(n)}if("string"===e)return t.length>jt?function(t){var e=Tt[t];return void 0===e&&(e=Mt(t),Bt===Pt&&(Bt=0,Tt={}),Bt++,Tt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Rt&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[qt]))return e;if(!Ct){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[qt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++At,1073741824&At&&(At=0),Rt)kt.set(t,e);else{if(void 0!==Dt&&!1===Dt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ct)Object.defineProperty(t,qt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[qt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[qt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return It(e)}var Dt=Object.isExtensible,Ct=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Rt="function"==typeof WeakMap;Rt&&(kt=new WeakMap);var At=0,qt="__immutablehash__";"function"==typeof Symbol&&(qt=Symbol(qt));var jt=16,Pt=255,Bt=0,Tt={};function Ft(t){mt(t!==1/0,"Cannot perform this action with an infinite size.")}function Kt(t){return null==t?te():Vt(t)&&!f(t)?t:te().withMutations((function(e){var n=r(t);Ft(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Vt(t){return!(!t||!t[Ut])}e(Kt,St),Kt.of=function(){var e=t.call(arguments,0);return te().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},Kt.prototype.toString=function(){return this.__toString("Map {","}")},Kt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Kt.prototype.set=function(t,e){return ee(this,t,e)},Kt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Kt.prototype.remove=function(t){return ee(this,t,m)},Kt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Kt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Kt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ce(this,sn(t),e,n);return r===m?void 0:r},Kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Kt.prototype.merge=function(){return oe(this,void 0,arguments)},Kt.prototype.mergeWith=function(e){return oe(this,e,t.call(arguments,1))},Kt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Kt.prototype.mergeDeep=function(){return oe(this,se,arguments)},Kt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return oe(this,ae(e),n)},Kt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Kt.prototype.sort=function(t){return Re($e(this,t))},Kt.prototype.sortBy=function(t,e){return Re($e(this,e,t))},Kt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Kt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new O)},Kt.prototype.asImmutable=function(){return this.__ensureOwner()},Kt.prototype.wasAltered=function(){return this.__altered},Kt.prototype.__iterator=function(t,e){return new Xt(this,t,e)},Kt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Kt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Kt.isMap=Vt;var Lt,Ut="@@__IMMUTABLE_MAP__@@",Wt=Kt.prototype;function Nt(t,e){this.ownerID=t,this.entries=e}function Ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Jt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function $t(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Xt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Gt(t,e){return K(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var i=Object.create(Wt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function te(){return Lt||(Lt=Zt(0))}function ee(t,e,n){var r,i;if(t._root){var o=S(b),s=S(w);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,o,s),!s.value)return t;i=t.size+(o.value?n===m?-1:1:0)}else{if(n===m)return t;i=1,r=new Nt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(i,r):te()}function ne(t,e,n,r,i,o,s,a){return t?t.update(e,n,r,i,o,s,a):o===m?t:(E(a),E(s),new Yt(e,r,[i,o]))}function re(t){return t.constructor===Yt||t.constructor===$t}function ie(t,e,n,r,i){if(t.keyHash===r)return new $t(e,r,[t.entry,i]);var o,s=(0===n?t.keyHash:t.keyHash>>>n)&g,a=(0===n?r:r>>>n)&g;return new Ht(e,1<<s|1<<a,s===a?[ie(t,e,n+_,r,i)]:(o=new Yt(e,r,i),s<a?[t,o]:[o,t]))}function oe(t,e,n){for(var i=[],o=0;o<n.length;o++){var a=n[o],u=r(a);s(a)||(u=u.map((function(t){return ht(t)}))),i.push(u)}return ue(t,e,i)}function se(t,e,n){return t&&t.mergeDeep&&s(e)?t.mergeDeep(e):_t(t,e)?t:e}function ae(t){return function(e,n,r){if(e&&e.mergeDeepWith&&s(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return _t(e,i)?e:i}}function ue(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)})):t.constructor(n[0])}function ce(t,e,n,r){var i=t===m,o=e.next();if(o.done){var s=i?n:t,a=r(s);return a===s?t:a}mt(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?m:t.get(u,m),f=ce(c,e,n,r);return f===c?t:f===m?t.remove(u):(i?te():t).set(u,f)}function fe(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function le(t,e,n,r){var i=r?t:x(t);return i[e]=n,i}Wt[Ut]=!0,Wt[v]=Wt.remove,Wt.removeIn=Wt.deleteIn,Nt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(_t(n,i[o][0]))return i[o][1];return r},Nt.prototype.update=function(t,e,n,r,i,o,s){for(var a=i===m,u=this.entries,c=0,f=u.length;c<f&&!_t(r,u[c][0]);c++);var l=c<f;if(l?u[c][1]===i:a)return this;if(E(s),(a||!l)&&E(o),!a||1!==u.length){if(!l&&!a&&u.length>=he)return function(t,e,n,r){t||(t=new O);for(var i=new Yt(t,zt(n),[n,r]),o=0;o<e.length;o++){var s=e[o];i=i.update(t,0,void 0,s[0],s[1])}return i}(t,u,r,i);var h=t&&t===this.ownerID,p=h?u:x(u);return l?a?c===f-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),h?(this.entries=p,this):new Nt(t,p)}},Ht.prototype.get=function(t,e,n,r){void 0===e&&(e=zt(n));var i=1<<((0===t?e:e>>>t)&g),o=this.bitmap;return 0==(o&i)?r:this.nodes[fe(o&i-1)].get(t+_,e,n,r)},Ht.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=(0===e?n:n>>>e)&g,u=1<<a,c=this.bitmap,f=0!=(c&u);if(!f&&i===m)return this;var l=fe(c&u-1),h=this.nodes,p=f?h[l]:void 0,d=ne(p,t,e+_,n,r,i,o,s);if(d===p)return this;if(!f&&d&&h.length>=pe)return function(t,e,n,r,i){for(var o=0,s=new Array(y),a=0;0!==n;a++,n>>>=1)s[a]=1&n?e[o++]:void 0;return s[r]=i,new Jt(t,o+1,s)}(t,h,c,a,d);if(f&&!d&&2===h.length&&re(h[1^l]))return h[1^l];if(f&&d&&1===h.length&&re(d))return d;var v=t&&t===this.ownerID,b=f?d?c:c^u:c|u,w=f?d?le(h,l,d,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,s=0;s<r;s++)s===e&&(o=1),i[s]=t[s+o];return i}(h,l,v):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),s=0,a=0;a<i;a++)a===e?(o[a]=n,s=-1):o[a]=t[a+s];return o}(h,l,d,v);return v?(this.bitmap=b,this.nodes=w,this):new Ht(t,b,w)},Jt.prototype.get=function(t,e,n,r){void 0===e&&(e=zt(n));var i=(0===t?e:e>>>t)&g,o=this.nodes[i];return o?o.get(t+_,e,n,r):r},Jt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=(0===e?n:n>>>e)&g,u=i===m,c=this.nodes,f=c[a];if(u&&!f)return this;var l=ne(f,t,e+_,n,r,i,o,s);if(l===f)return this;var h=this.count;if(f){if(!l&&--h<de)return function(t,e,n,r){for(var i=0,o=0,s=new Array(n),a=0,u=1,c=e.length;a<c;a++,u<<=1){var f=e[a];void 0!==f&&a!==r&&(i|=u,s[o++]=f)}return new Ht(t,i,s)}(t,c,h,a)}else h++;var p=t&&t===this.ownerID,d=le(c,a,l,p);return p?(this.count=h,this.nodes=d,this):new Jt(t,h,d)},$t.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(_t(n,i[o][0]))return i[o][1];return r},$t.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=i===m;if(n!==this.keyHash)return a?this:(E(s),E(o),ie(this,t,e,n,[r,i]));for(var u=this.entries,c=0,f=u.length;c<f&&!_t(r,u[c][0]);c++);var l=c<f;if(l?u[c][1]===i:a)return this;if(E(s),(a||!l)&&E(o),a&&2===f)return new Yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,p=h?u:x(u);return l?a?c===f-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),h?(this.entries=p,this):new $t(t,this.keyHash,p)},Yt.prototype.get=function(t,e,n,r){return _t(n,this.entry[0])?this.entry[1]:r},Yt.prototype.update=function(t,e,n,r,i,o,s){var a=i===m,u=_t(r,this.entry[0]);return(u?i===this.entry[1]:a)?this:(E(s),a?void E(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Yt(t,this.keyHash,[r,i]):(E(o),ie(this,t,e,zt(r),[r,i])))},Nt.prototype.iterate=$t.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Ht.prototype.iterate=Jt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Yt.prototype.iterate=function(t,e){return t(this.entry)},e(Xt,F),Xt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return Gt(t,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Gt(t,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Gt(t,o.entry);e=this._stack=Qt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var he=y/4,pe=y/2,de=y/4;function ve(t){var e=xe();if(null==t)return e;if(_e(t))return t;var n=i(t),r=n.size;return 0===r?e:(Ft(r),r>0&&r<y?Oe(0,r,_,null,new me(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function _e(t){return!(!t||!t[ye])}e(ve,Et),ve.of=function(){return this(arguments)},ve.prototype.toString=function(){return this.__toString("List [","]")},ve.prototype.get=function(t,e){if((t=z(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},ve.prototype.set=function(t,e){return function(t,e,n){if((e=z(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?De(t,e).set(0,n):De(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,i=t._root,o=S(w);return e>=ke(t._capacity)?r=Ie(r,t.__ownerID,0,e,n,o):i=Ie(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Oe(t._origin,t._capacity,t._level,i,r):t}(this,t,e)},ve.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ve.prototype.insert=function(t,e){return this.splice(t,0,e)},ve.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xe()},ve.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){De(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ve.prototype.pop=function(){return De(this,0,-1)},ve.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){De(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ve.prototype.shift=function(){return De(this,1)},ve.prototype.merge=function(){return Ce(this,void 0,arguments)},ve.prototype.mergeWith=function(e){return Ce(this,e,t.call(arguments,1))},ve.prototype.mergeDeep=function(){return Ce(this,se,arguments)},ve.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Ce(this,ae(e),n)},ve.prototype.setSize=function(t){return De(this,0,t)},ve.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:De(this,C(t,n),k(e,n))},ve.prototype.__iterator=function(t,e){var n=0,r=Ee(this,e);return new F((function(){var e=r();return e===Se?{value:void 0,done:!0}:K(t,n++,e)}))},ve.prototype.__iterate=function(t,e){for(var n,r=0,i=Ee(this,e);(n=i())!==Se&&!1!==t(n,r++,this););return r},ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Oe(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ve.isList=_e;var ye="@@__IMMUTABLE_LIST__@@",ge=ve.prototype;function me(t,e){this.array=t,this.ownerID=e}ge[ye]=!0,ge[v]=ge.remove,ge.setIn=Wt.setIn,ge.deleteIn=ge.removeIn=Wt.removeIn,ge.update=Wt.update,ge.updateIn=Wt.updateIn,ge.mergeIn=Wt.mergeIn,ge.mergeDeepIn=Wt.mergeDeepIn,ge.withMutations=Wt.withMutations,ge.asMutable=Wt.asMutable,ge.asImmutable=Wt.asImmutable,ge.wasAltered=Wt.wasAltered,me.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new me([],t);var i,o=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-_,n))===s&&o)return this}if(o&&!i)return this;var a=ze(this,t);if(!o)for(var u=0;u<r;u++)a.array[u]=void 0;return i&&(a.array[r]=i),a},me.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&g;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-_,n))===o&&i===this.array.length-1)return this}var s=ze(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var be,we,Se={};function Ee(t,e){var n=t._origin,r=t._capacity,i=ke(r),o=t._tail;return s(t._root,t._level,0);function s(t,a,u){return 0===a?function(t,s){var a=s===i?o&&o.array:t&&t.array,u=s>n?0:n-s,c=r-s;return c>y&&(c=y),function(){if(u===c)return Se;var t=e?--c:u++;return a&&a[t]}}(t,u):function(t,i,o){var a,u=t&&t.array,c=o>n?0:n-o>>i,f=1+(r-o>>i);return f>y&&(f=y),function(){for(;;){if(a){var t=a();if(t!==Se)return t;a=null}if(c===f)return Se;var n=e?--f:c++;a=s(u&&u[n],i-_,o+(n<<i))}}}(t,a,u)}}function Oe(t,e,n,r,i,o,s){var a=Object.create(ge);return a.size=e-t,a._origin=t,a._capacity=e,a._level=n,a._root=r,a._tail=i,a.__ownerID=o,a.__hash=s,a.__altered=!1,a}function xe(){return be||(be=Oe(0,0,_))}function Ie(t,e,n,r,i,o){var s,a=r>>>n&g,u=t&&a<t.array.length;if(!u&&void 0===i)return t;if(n>0){var c=t&&t.array[a],f=Ie(c,e,n-_,r,i,o);return f===c?t:((s=ze(t,e)).array[a]=f,s)}return u&&t.array[a]===i?t:(E(o),s=ze(t,e),void 0===i&&a===s.array.length-1?s.array.pop():s.array[a]=i,s)}function ze(t,e){return e&&t&&e===t.ownerID?t:new me(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+_){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=_;return n}}function De(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new O,i=t._origin,o=t._capacity,s=i+e,a=void 0===n?o:n<0?o+n:i+n;if(s===i&&a===o)return t;if(s>=a)return t.clear();for(var u=t._level,c=t._root,f=0;s+f<0;)c=new me(c&&c.array.length?[void 0,c]:[],r),f+=1<<(u+=_);f&&(s+=f,i+=f,a+=f,o+=f);for(var l=ke(o),h=ke(a);h>=1<<u+_;)c=new me(c&&c.array.length?[c]:[],r),u+=_;var p=t._tail,d=h<l?Me(t,a-1):h>l?new me([],r):p;if(p&&h>l&&s<o&&p.array.length){for(var v=c=ze(c,r),y=u;y>_;y-=_){var m=l>>>y&g;v=v.array[m]=ze(v.array[m],r)}v.array[l>>>_&g]=p}if(a<o&&(d=d&&d.removeAfter(r,0,a)),s>=h)s-=h,a-=h,u=_,c=null,d=d&&d.removeBefore(r,0,s);else if(s>i||h<l){for(f=0;c;){var b=s>>>u&g;if(b!==h>>>u&g)break;b&&(f+=(1<<u)*b),u-=_,c=c.array[b]}c&&s>i&&(c=c.removeBefore(r,u,s-f)),c&&h<l&&(c=c.removeAfter(r,u,h-f)),f&&(s-=f,a-=f)}return t.__ownerID?(t.size=a-s,t._origin=s,t._capacity=a,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):Oe(s,a,u,c,d)}function Ce(t,e,n){for(var r=[],o=0,a=0;a<n.length;a++){var u=n[a],c=i(u);c.size>o&&(o=c.size),s(u)||(c=c.map((function(t){return ht(t)}))),r.push(c)}return o>t.size&&(t=t.setSize(o)),ue(t,e,r)}function ke(t){return t<y?0:t-1>>>_<<_}function Re(t){return null==t?je():Ae(t)?t:je().withMutations((function(e){var n=r(t);Ft(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ae(t){return Vt(t)&&f(t)}function qe(t,e,n,r){var i=Object.create(Re.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function je(){return we||(we=qe(te(),xe()))}function Pe(t,e,n){var r,i,o=t._map,s=t._list,a=o.get(e),u=void 0!==a;if(n===m){if(!u)return t;s.size>=y&&s.size>=2*o.size?(r=(i=s.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return t;r=o,i=s.set(a,[e,n])}else r=o.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):qe(r,i)}function Be(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function Fe(t){this._iter=t,this.size=t.size}function Ke(t){this._iter=t,this.size=t.size}function Ve(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===j){var r=t.__iterator(e,n);return new F((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===q?A:q,n)},e}function Le(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,m);return o===m?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate((function(t,i,s){return!1!==r(e.call(n,t,i,s),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(j,i);return new F((function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return K(r,a,e.call(n,s[1],a,t),i)}))},r}function Ue(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Ve(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function We(t,e,n,r){var i=nn(t);return r&&(i.has=function(r){var i=t.get(r,m);return i!==m&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,m);return o!==m&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return t.__iterate((function(t,o,u){if(e.call(n,t,o,u))return a++,i(t,r?o:a-1,s)}),o),a},i.__iteratorUncached=function(i,o){var s=t.__iterator(j,o),a=0;return new F((function(){for(;;){var o=s.next();if(o.done)return o;var u=o.value,c=u[0],f=u[1];if(e.call(n,f,c,t))return K(i,r?c:a++,f,o)}}))},i}function Ne(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),D(e,n,i))return t;var o=C(e,i),s=k(n,i);if(o!=o||s!=s)return Ne(t.toSeq().cacheResult(),e,n,r);var a,u=s-o;u==u&&(a=u<0?0:u);var c=nn(t);return c.size=0===a?a:t.size&&a||void 0,!r&&ot(t)&&a>=0&&(c.get=function(e,n){return(e=z(this,e))>=0&&e<a?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(e,n);var s=0,u=!0,c=0;return t.__iterate((function(t,n){if(!u||!(u=s++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,n){if(0!==a&&n)return this.cacheResult().__iterator(e,n);var i=0!==a&&t.__iterator(e,n),s=0,u=0;return new F((function(){for(;s++<o;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return r||e===q?t:K(e,u-1,e===A?void 0:t.value[1],t)}))},c}function He(t,e,n,r){var i=nn(t);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,u=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,s)})),u},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(j,o),u=!0,c=0;return new F((function(){var t,o,f;do{if((t=a.next()).done)return r||i===q?t:K(i,c++,i===A?void 0:t.value[1],t);var l=t.value;o=l[0],f=l[1],u&&(u=e.call(n,f,o,s))}while(u);return i===j?t:K(i,o,f,t)}))},i}function Je(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,i){var o=0,a=!1;return function t(u,c){var f=this;u.__iterate((function(i,u){return(!e||c<e)&&s(i)?t(i,c+1):!1===r(i,n?u:o++,f)&&(a=!0),!a}),i)}(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),a=[],u=0;return new F((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(r===j&&(c=c[1]),e&&!(a.length<e)||!s(c))return n?t:K(r,u++,c,t);a.push(o),o=c.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function $e(t,e,n){e||(e=on);var r=a(t),i=0,o=t.toSeq().map((function(e,r){return[r,e,i++,n?n(e,r,t):e]})).toArray();return o.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?$(o):u(t)?Y(o):X(o)}function Ye(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Xe(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Xe(e,t,n)?n:t}))}function Xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ge(t,e,r){var i=nn(t);return i.size=new et(r).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(q,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map((function(t){return t=n(t),W(i?t.reverse():t)})),s=0,a=!1;return new F((function(){var n;return a||(n=o.map((function(t){return t.next()})),a=n.some((function(t){return t.done}))),a?{value:void 0,done:!0}:K(t,s++,e.apply(null,n.map((function(t){return t.value}))))}))},i}function Qe(t,e){return ot(t)?e:t.constructor(e)}function Ze(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Ft(t.size),I(t)}function en(t){return a(t)?r:u(t)?i:o}function nn(t){return Object.create((a(t)?$:u(t)?Y:X).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function sn(t){var e=W(t);if(!e){if(!H(t))throw new TypeError("Expected iterable or array-like: "+t);e=W(n(t))}return e}function an(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(t);(function(t,e){try{e.forEach(ln.bind(void 0,t))}catch(t){}})(i,s),i.size=s.length,i._name=e,i._keys=s,i._defaultValues=t}this._map=Kt(o)},i=r.prototype=Object.create(un);return i.constructor=r,r}e(Re,Kt),Re.of=function(){return this(arguments)},Re.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Re.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Re.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):je()},Re.prototype.set=function(t,e){return Pe(this,t,e)},Re.prototype.remove=function(t){return Pe(this,t,m)},Re.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Re.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Re.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?qe(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Re.isOrderedMap=Ae,Re.prototype[d]=!0,Re.prototype[v]=Re.prototype.remove,e(Be,$),Be.prototype.get=function(t,e){return this._iter.get(t,e)},Be.prototype.has=function(t){return this._iter.has(t)},Be.prototype.valueSeq=function(){return this._iter.valueSeq()},Be.prototype.reverse=function(){var t=this,e=Ue(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Be.prototype.map=function(t,e){var n=this,r=Le(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Be.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Be.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(q,e),r=e?tn(this):0;return new F((function(){var i=n.next();return i.done?i:K(t,e?--r:r++,i.value,i)}))},Be.prototype[d]=!0,e(Te,Y),Te.prototype.includes=function(t){return this._iter.includes(t)},Te.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e),r=0;return new F((function(){var e=n.next();return e.done?e:K(t,r++,e.value,e)}))},e(Fe,X),Fe.prototype.has=function(t){return this._iter.includes(t)},Fe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Fe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e);return new F((function(){var e=n.next();return e.done?e:K(t,e.value,e.value,e)}))},e(Ke,$),Ke.prototype.entrySeq=function(){return this._iter.toSeq()},Ke.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ze(e);var r=s(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ke.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e);return new F((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ze(r);var i=s(r);return K(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}}))},Te.prototype.cacheResult=Be.prototype.cacheResult=Fe.prototype.cacheResult=Ke.prototype.cacheResult=rn,e(an,St),an.prototype.toString=function(){return this.__toString(fn(this)+" {","}")},an.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},an.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},an.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=cn(this,te()))},an.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+fn(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:cn(this,n)},an.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:cn(this,e)},an.prototype.wasAltered=function(){return this._map.wasAltered()},an.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},an.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},an.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?cn(this,e,t):(this.__ownerID=t,this._map=e,this)};var un=an.prototype;function cn(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function fn(t){return t._name||t.constructor.name||"Record"}function ln(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){mt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function hn(t){return null==t?bn():pn(t)&&!f(t)?t:bn().withMutations((function(e){var n=o(t);Ft(n.size),n.forEach((function(t){return e.add(t)}))}))}function pn(t){return!(!t||!t[vn])}un[v]=un.remove,un.deleteIn=un.removeIn=Wt.removeIn,un.merge=Wt.merge,un.mergeWith=Wt.mergeWith,un.mergeIn=Wt.mergeIn,un.mergeDeep=Wt.mergeDeep,un.mergeDeepWith=Wt.mergeDeepWith,un.mergeDeepIn=Wt.mergeDeepIn,un.setIn=Wt.setIn,un.update=Wt.update,un.updateIn=Wt.updateIn,un.withMutations=Wt.withMutations,un.asMutable=Wt.asMutable,un.asImmutable=Wt.asImmutable,e(hn,Ot),hn.of=function(){return this(arguments)},hn.fromKeys=function(t){return this(r(t).keySeq())},hn.prototype.toString=function(){return this.__toString("Set {","}")},hn.prototype.has=function(t){return this._map.has(t)},hn.prototype.add=function(t){return gn(this,this._map.set(t,!0))},hn.prototype.remove=function(t){return gn(this,this._map.remove(t))},hn.prototype.clear=function(){return gn(this,this._map.clear())},hn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},hn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},hn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},hn.prototype.merge=function(){return this.union.apply(this,arguments)},hn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},hn.prototype.sort=function(t){return wn($e(this,t))},hn.prototype.sortBy=function(t,e){return wn($e(this,e,t))},hn.prototype.wasAltered=function(){return this._map.wasAltered()},hn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},hn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},hn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},hn.isSet=pn;var dn,vn="@@__IMMUTABLE_SET__@@",yn=hn.prototype;function gn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function mn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return dn||(dn=mn(te()))}function wn(t){return null==t?In():Sn(t)?t:In().withMutations((function(e){var n=o(t);Ft(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return pn(t)&&f(t)}yn[vn]=!0,yn[v]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=Wt.withMutations,yn.asMutable=Wt.asMutable,yn.asImmutable=Wt.asImmutable,yn.__empty=bn,yn.__make=mn,e(wn,hn),wn.of=function(){return this(arguments)},wn.fromKeys=function(t){return this(r(t).keySeq())},wn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},wn.isOrderedSet=Sn;var En,On=wn.prototype;function xn(t,e){var n=Object.create(On);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function In(){return En||(En=xn(je()))}function zn(t){return null==t?An():Mn(t)?t:An().unshiftAll(t)}function Mn(t){return!(!t||!t[Cn])}On[d]=!0,On.__empty=In,On.__make=xn,e(zn,Et),zn.of=function(){return this(arguments)},zn.prototype.toString=function(){return this.__toString("Stack [","]")},zn.prototype.get=function(t,e){var n=this._head;for(t=z(this,t);n&&t--;)n=n.next;return n?n.value:e},zn.prototype.peek=function(){return this._head&&this._head.value},zn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Rn(t,e)},zn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Ft(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Rn(e,n)},zn.prototype.pop=function(){return this.slice(1)},zn.prototype.unshift=function(){return this.push.apply(this,arguments)},zn.prototype.unshiftAll=function(t){return this.pushAll(t)},zn.prototype.shift=function(){return this.pop.apply(this,arguments)},zn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},zn.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var n=C(t,this.size);if(k(e,this.size)!==this.size)return Et.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Rn(r,i)},zn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Rn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},zn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},zn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new F((function(){if(r){var e=r.value;return r=r.next,K(t,n++,e)}return{value:void 0,done:!0}}))},zn.isStack=Mn;var Dn,Cn="@@__IMMUTABLE_STACK__@@",kn=zn.prototype;function Rn(t,e,n,r){var i=Object.create(kn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function An(){return Dn||(Dn=Rn(0))}function qn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[Cn]=!0,kn.withMutations=Wt.withMutations,kn.asMutable=Wt.asMutable,kn.asImmutable=Wt.asImmutable,kn.wasAltered=Wt.wasAltered,n.Iterator=F,qn(n,{toArray:function(){Ft(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Te(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Be(this,!0)},toMap:function(){return Kt(this.toKeyedSeq())},toObject:function(){Ft(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Re(this.toKeyedSeq())},toOrderedSet:function(){return wn(a(this)?this.valueSeq():this)},toSet:function(){return hn(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Fe(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return zn(a(this)?this.valueSeq():this)},toList:function(){return ve(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Qe(this,function(t,e){var n=a(t),i=[t].concat(e).map((function(t){return s(t)?n&&(t=r(t)):t=n?at(t):ut(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&a(o)||u(t)&&u(o))return o}var c=new et(i);return n?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return _t(e,t)}))},entries:function(){return this.__iterator(j)},every:function(t,e){Ft(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1})),n},filter:function(t,e){return Qe(this,We(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Ft(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Ft(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(A)},map:function(t,e){return Qe(this,Le(this,t,e))},reduce:function(t,e,n){var r,i;return Ft(this.size),arguments.length<2?i=!0:r=e,this.__iterate((function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Qe(this,Ue(this,!0))},slice:function(t,e){return Qe(this,Ne(this,t,e,!0))},some:function(t,e){return!this.every(Fn(t),e)},sort:function(t){return Qe(this,$e(this,t))},values:function(){return this.__iterator(q)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return I(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Kt().asMutable();return t.__iterate((function(i,o){r.update(e.call(n,i,o,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return yt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Tn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Fn(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(M)},flatMap:function(t,e){return Qe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(i,o){return r(e.call(n,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Qe(this,Je(this,t,!0))},fromEntrySeq:function(){return new Ke(this)},get:function(t,e){return this.find((function(e,n){return _t(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,i=sn(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=a(t),i=(f(t)?Re():Kt()).asMutable();t.__iterate((function(o,s){i.update(e.call(n,o,s,t),(function(t){return(t=t||[]).push(r?[s,o]:o),t}))}));var o=en(t);return i.map((function(e){return Qe(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return _t(e,t)}))},keySeq:function(){return this.toSeq().map(Bn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Kn(t):Un)},minBy:function(t,e){return Ye(this,e?Kn(e):Un,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Qe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Qe(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Fn(t),e)},sortBy:function(t,e){return Qe(this,$e(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Qe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Qe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var s=0;return t.__iterate((function(t,i,a){return e.call(n,t,i,a)&&++s&&r(t,i,o)})),s},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(j,i),a=!0;return new F((function(){if(!a)return{value:void 0,done:!0};var t=s.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===j?t:K(r,u,c,t):(a=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Fn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),n=a(t),r=e?1:0;return function(t,e){return e=xt(e,3432918353),e=xt(e<<15|e>>>-15,461845907),e=xt(e<<13|e>>>-13,5),e=xt((e=(e+3864292196|0)^t)^e>>>16,2246822507),It((e=xt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Wn(zt(t),zt(e))|0}:function(t,e){r=r+Wn(zt(t),zt(e))|0}:e?function(t){r=31*r+zt(t)|0}:function(t){r=r+zt(t)|0}),r)}(this))}});var jn=n.prototype;jn[l]=!0,jn[T]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=Vn,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,qn(r,{flip:function(){return Qe(this,Ve(this))},mapEntries:function(t,e){var n=this,r=0;return Qe(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Qe(this,this.toSeq().flip().map((function(r,i){return t.call(e,r,i,n)})).flip())}});var Pn=r.prototype;function Bn(t,e){return e}function Tn(t,e){return[e,t]}function Fn(t){return function(){return!t.apply(this,arguments)}}function Kn(t){return function(){return-t.apply(this,arguments)}}function Vn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Ln(){return x(arguments)}function Un(t,e){return t<e?1:t>e?-1:0}function Wn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Pn[h]=!0,Pn[T]=jn.entries,Pn.__toJS=jn.toObject,Pn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Vn(t)},qn(i,{toKeyedSeq:function(){return new Be(this,!1)},filter:function(t,e){return Qe(this,We(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Qe(this,Ue(this,!1))},slice:function(t,e){return Qe(this,Ne(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=C(t,t<0?this.count():this.size);var r=this.slice(0,t);return Qe(this,1===n?r:r.concat(x(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Qe(this,Je(this,t,!1))},get:function(t,e){return(t=z(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=z(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Qe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate((function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(q,r),s=0;return new F((function(){return(!i||s%2)&&(i=o.next()).done?i:s%2?K(n,s++,e):K(n,s++,i.value,i)}))},n}(this,t))},interleave:function(){var t=[this].concat(x(arguments)),e=Ge(this.toSeq(),Y.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Qe(this,n)},keySeq:function(){return bt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Qe(this,He(this,t,e,!1))},zip:function(){return Qe(this,Ge(this,Ln,[this].concat(x(arguments))))},zipWith:function(t){var e=x(arguments);return e[0]=this,Qe(this,Ge(this,t,e))}}),i.prototype[p]=!0,i.prototype[d]=!0,qn(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=jn.includes,o.prototype.contains=o.prototype.includes,qn($,r.prototype),qn(Y,i.prototype),qn(X,o.prototype),qn(St,r.prototype),qn(Et,i.prototype),qn(Ot,o.prototype),{Iterable:n,Seq:J,Collection:wt,Map:Kt,OrderedMap:Re,List:ve,Stack:zn,Set:hn,OrderedSet:wn,Record:an,Range:bt,Repeat:gt,is:_t,fromJS:ht}}()},43393:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return s(t)?t:J(t)}function r(t){return a(t)?t:$(t)}function i(t){return u(t)?t:Y(t)}function o(t){return s(t)&&!c(t)?t:X(t)}function s(t){return!(!t||!t[l])}function a(t){return!(!t||!t[h])}function u(t){return!(!t||!t[p])}function c(t){return a(t)||u(t)}function f(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=s,n.isKeyed=a,n.isIndexed=u,n.isAssociative=c,n.isOrdered=f,n.Keyed=r,n.Indexed=i,n.Set=o;var l="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",v="delete",_=5,y=1<<_,g=y-1,m={},b={value:!1},w={value:!1};function S(t){return t.value=!1,t}function E(t){t&&(t.value=!0)}function O(){}function x(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function I(t){return void 0===t.size&&(t.size=t.__iterate(M)),t.size}function z(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?I(t)+e:e}function M(){return!0}function D(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function C(t,e){return R(t,e,0)}function k(t,e){return R(t,e,e)}function R(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var A=0,q=1,j=2,P="function"==typeof Symbol&&Symbol.iterator,B="@@iterator",T=P||B;function F(t){this.next=t}function K(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function V(){return{value:void 0,done:!0}}function L(t){return!!N(t)}function U(t){return t&&"function"==typeof t.next}function W(t){var e=N(t);return e&&e.call(t)}function N(t){var e=t&&(P&&t[P]||t[B]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function J(t){return null==t?st():s(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function $(t){return null==t?st().toKeyedSeq():s(t)?a(t)?t.toSeq():t.fromEntrySeq():at(t)}function Y(t){return null==t?st():s(t)?a(t)?t.entrySeq():t.toIndexedSeq():ut(t)}function X(t){return(null==t?st():s(t)?a(t)?t.entrySeq():t:ut(t)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=A,F.VALUES=q,F.ENTRIES=j,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[T]=function(){return this},e(J,n),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},J.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e($,J),$.prototype.toKeyedSeq=function(){return this},e(Y,J),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},Y.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(X,J),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},J.isSeq=ot,J.Keyed=$,J.Set=X,J.Indexed=Y;var G,Q,Z,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function st(){return G||(G=new et([]))}function at(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():U(t)?new it(t).fromEntrySeq():L(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ut(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return H(t)?new et(t):U(t)?new it(t):L(t)?new rt(t):void 0}function ft(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function lt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new F((function(){var t=i[n?o-s:s];return s++>o?{value:void 0,done:!0}:K(e,r?t[0]:s-1,t[1])}))}return t.__iteratorUncached(e,n)}function ht(t,e){return e?pt(e,t,"",{"":t}):dt(t)}function pt(t,e,n,r){return Array.isArray(e)?t.call(r,n,Y(e).map((function(n,r){return pt(t,n,r,e)}))):vt(e)?t.call(r,n,$(e).map((function(n,r){return pt(t,n,r,e)}))):e}function dt(t){return Array.isArray(t)?Y(t).map(dt).toList():vt(t)?$(t).map(dt).toMap():t}function vt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function _t(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function yt(t,e){if(t===e)return!0;if(!s(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||u(t)!==u(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(f(t)){var r=t.entries();return e.every((function(t,e){var i=r.next().value;return i&&_t(i[1],t)&&(n||_t(i[0],e))}))&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var l=!0,h=e.__iterate((function(e,r){if(n?!t.has(e):i?!_t(e,t.get(r,m)):!_t(t.get(r,m),e))return l=!1,!1}));return l&&t.size===h}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function mt(t,e){if(!t)throw new Error(e)}function bt(t,e,n){if(!(this instanceof bt))return new bt(t,e,n);if(mt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function wt(){throw TypeError("Abstract")}function St(){}function Et(){}function Ot(){}J.prototype[tt]=!0,e(et,Y),et.prototype.get=function(t,e){return this.has(t)?this._array[z(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new F((function(){return i>r?{value:void 0,done:!0}:K(t,i,n[e?r-i++:i++])}))},e(nt,$),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var s=r[e?i-o:o];if(!1===t(n[s],s,this))return o+1}return o},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new F((function(){var s=r[e?i-o:o];return o++>i?{value:void 0,done:!0}:K(t,s,n[s])}))},nt.prototype[d]=!0,e(rt,Y),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=W(this._iterable),r=0;if(U(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=W(this._iterable);if(!U(n))return new F(V);var r=0;return new F((function(){var e=n.next();return e.done?e:K(t,r++,e.value)}))},e(it,Y),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var s=n.value;if(i[o]=s,!1===t(s,o++,this))break}return o},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new F((function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return K(t,i,r[i++])}))},e(gt,Y),gt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},gt.prototype.get=function(t,e){return this.has(t)?this._value:e},gt.prototype.includes=function(t){return _t(this._value,t)},gt.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:new gt(this._value,k(e,n)-C(t,n))},gt.prototype.reverse=function(){return this},gt.prototype.indexOf=function(t){return _t(this._value,t)?0:-1},gt.prototype.lastIndexOf=function(t){return _t(this._value,t)?this.size:-1},gt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},gt.prototype.__iterator=function(t,e){var n=this,r=0;return new F((function(){return r<n.size?K(t,r++,n._value):{value:void 0,done:!0}}))},gt.prototype.equals=function(t){return t instanceof gt?_t(this._value,t._value):yt(t)},e(bt,Y),bt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},bt.prototype.get=function(t,e){return this.has(t)?this._start+z(this,t)*this._step:e},bt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},bt.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=C(t,this.size),(e=k(e,this.size))<=t?new bt(0,0):new bt(this.get(t,this._end),this.get(e,this._end),this._step))},bt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},bt.prototype.lastIndexOf=function(t){return this.indexOf(t)},bt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},bt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new F((function(){var s=i;return i+=e?-r:r,o>n?{value:void 0,done:!0}:K(t,o++,s)}))},bt.prototype.equals=function(t){return t instanceof bt?this._start===t._start&&this._end===t._end&&this._step===t._step:yt(this,t)},e(wt,n),e(St,wt),e(Et,wt),e(Ot,wt),wt.Keyed=St,wt.Indexed=Et,wt.Set=Ot;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function It(t){return t>>>1&1073741824|3221225471&t}function zt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return It(n)}if("string"===e)return t.length>jt?function(t){var e=Tt[t];return void 0===e&&(e=Mt(t),Bt===Pt&&(Bt=0,Tt={}),Bt++,Tt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Rt&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[qt]))return e;if(!Ct){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[qt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++At,1073741824&At&&(At=0),Rt)kt.set(t,e);else{if(void 0!==Dt&&!1===Dt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ct)Object.defineProperty(t,qt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[qt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[qt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return It(e)}var Dt=Object.isExtensible,Ct=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Rt="function"==typeof WeakMap;Rt&&(kt=new WeakMap);var At=0,qt="__immutablehash__";"function"==typeof Symbol&&(qt=Symbol(qt));var jt=16,Pt=255,Bt=0,Tt={};function Ft(t){mt(t!==1/0,"Cannot perform this action with an infinite size.")}function Kt(t){return null==t?te():Vt(t)&&!f(t)?t:te().withMutations((function(e){var n=r(t);Ft(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Vt(t){return!(!t||!t[Ut])}e(Kt,St),Kt.prototype.toString=function(){return this.__toString("Map {","}")},Kt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Kt.prototype.set=function(t,e){return ee(this,t,e)},Kt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Kt.prototype.remove=function(t){return ee(this,t,m)},Kt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Kt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Kt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ce(this,sn(t),e,n);return r===m?void 0:r},Kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Kt.prototype.merge=function(){return oe(this,void 0,arguments)},Kt.prototype.mergeWith=function(e){return oe(this,e,t.call(arguments,1))},Kt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Kt.prototype.mergeDeep=function(){return oe(this,se,arguments)},Kt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return oe(this,ae(e),n)},Kt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Kt.prototype.sort=function(t){return Re($e(this,t))},Kt.prototype.sortBy=function(t,e){return Re($e(this,e,t))},Kt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Kt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new O)},Kt.prototype.asImmutable=function(){return this.__ensureOwner()},Kt.prototype.wasAltered=function(){return this.__altered},Kt.prototype.__iterator=function(t,e){return new Xt(this,t,e)},Kt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Kt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Kt.isMap=Vt;var Lt,Ut="@@__IMMUTABLE_MAP__@@",Wt=Kt.prototype;function Nt(t,e){this.ownerID=t,this.entries=e}function Ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Jt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function $t(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Xt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Gt(t,e){return K(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var i=Object.create(Wt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function te(){return Lt||(Lt=Zt(0))}function ee(t,e,n){var r,i;if(t._root){var o=S(b),s=S(w);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,o,s),!s.value)return t;i=t.size+(o.value?n===m?-1:1:0)}else{if(n===m)return t;i=1,r=new Nt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(i,r):te()}function ne(t,e,n,r,i,o,s,a){return t?t.update(e,n,r,i,o,s,a):o===m?t:(E(a),E(s),new Yt(e,r,[i,o]))}function re(t){return t.constructor===Yt||t.constructor===$t}function ie(t,e,n,r,i){if(t.keyHash===r)return new $t(e,r,[t.entry,i]);var o,s=(0===n?t.keyHash:t.keyHash>>>n)&g,a=(0===n?r:r>>>n)&g;return new Ht(e,1<<s|1<<a,s===a?[ie(t,e,n+_,r,i)]:(o=new Yt(e,r,i),s<a?[t,o]:[o,t]))}function oe(t,e,n){for(var i=[],o=0;o<n.length;o++){var a=n[o],u=r(a);s(a)||(u=u.map((function(t){return ht(t)}))),i.push(u)}return ue(t,e,i)}function se(t,e,n){return t&&t.mergeDeep&&s(e)?t.mergeDeep(e):_t(t,e)?t:e}function ae(t){return function(e,n,r){if(e&&e.mergeDeepWith&&s(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return _t(e,i)?e:i}}function ue(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)})):t.constructor(n[0])}function ce(t,e,n,r){var i=t===m,o=e.next();if(o.done){var s=i?n:t,a=r(s);return a===s?t:a}mt(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?m:t.get(u,m),f=ce(c,e,n,r);return f===c?t:f===m?t.remove(u):(i?te():t).set(u,f)}function fe(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function le(t,e,n,r){var i=r?t:x(t);return i[e]=n,i}Wt[Ut]=!0,Wt[v]=Wt.remove,Wt.removeIn=Wt.deleteIn,Nt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(_t(n,i[o][0]))return i[o][1];return r},Nt.prototype.update=function(t,e,n,r,i,o,s){for(var a=i===m,u=this.entries,c=0,f=u.length;c<f&&!_t(r,u[c][0]);c++);var l=c<f;if(l?u[c][1]===i:a)return this;if(E(s),(a||!l)&&E(o),!a||1!==u.length){if(!l&&!a&&u.length>=he)return function(t,e,n,r){t||(t=new O);for(var i=new Yt(t,zt(n),[n,r]),o=0;o<e.length;o++){var s=e[o];i=i.update(t,0,void 0,s[0],s[1])}return i}(t,u,r,i);var h=t&&t===this.ownerID,p=h?u:x(u);return l?a?c===f-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),h?(this.entries=p,this):new Nt(t,p)}},Ht.prototype.get=function(t,e,n,r){void 0===e&&(e=zt(n));var i=1<<((0===t?e:e>>>t)&g),o=this.bitmap;return 0==(o&i)?r:this.nodes[fe(o&i-1)].get(t+_,e,n,r)},Ht.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=(0===e?n:n>>>e)&g,u=1<<a,c=this.bitmap,f=0!=(c&u);if(!f&&i===m)return this;var l=fe(c&u-1),h=this.nodes,p=f?h[l]:void 0,d=ne(p,t,e+_,n,r,i,o,s);if(d===p)return this;if(!f&&d&&h.length>=pe)return function(t,e,n,r,i){for(var o=0,s=new Array(y),a=0;0!==n;a++,n>>>=1)s[a]=1&n?e[o++]:void 0;return s[r]=i,new Jt(t,o+1,s)}(t,h,c,a,d);if(f&&!d&&2===h.length&&re(h[1^l]))return h[1^l];if(f&&d&&1===h.length&&re(d))return d;var v=t&&t===this.ownerID,b=f?d?c:c^u:c|u,w=f?d?le(h,l,d,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,s=0;s<r;s++)s===e&&(o=1),i[s]=t[s+o];return i}(h,l,v):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),s=0,a=0;a<i;a++)a===e?(o[a]=n,s=-1):o[a]=t[a+s];return o}(h,l,d,v);return v?(this.bitmap=b,this.nodes=w,this):new Ht(t,b,w)},Jt.prototype.get=function(t,e,n,r){void 0===e&&(e=zt(n));var i=(0===t?e:e>>>t)&g,o=this.nodes[i];return o?o.get(t+_,e,n,r):r},Jt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=(0===e?n:n>>>e)&g,u=i===m,c=this.nodes,f=c[a];if(u&&!f)return this;var l=ne(f,t,e+_,n,r,i,o,s);if(l===f)return this;var h=this.count;if(f){if(!l&&--h<de)return function(t,e,n,r){for(var i=0,o=0,s=new Array(n),a=0,u=1,c=e.length;a<c;a++,u<<=1){var f=e[a];void 0!==f&&a!==r&&(i|=u,s[o++]=f)}return new Ht(t,i,s)}(t,c,h,a)}else h++;var p=t&&t===this.ownerID,d=le(c,a,l,p);return p?(this.count=h,this.nodes=d,this):new Jt(t,h,d)},$t.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(_t(n,i[o][0]))return i[o][1];return r},$t.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=zt(r));var a=i===m;if(n!==this.keyHash)return a?this:(E(s),E(o),ie(this,t,e,n,[r,i]));for(var u=this.entries,c=0,f=u.length;c<f&&!_t(r,u[c][0]);c++);var l=c<f;if(l?u[c][1]===i:a)return this;if(E(s),(a||!l)&&E(o),a&&2===f)return new Yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,p=h?u:x(u);return l?a?c===f-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),h?(this.entries=p,this):new $t(t,this.keyHash,p)},Yt.prototype.get=function(t,e,n,r){return _t(n,this.entry[0])?this.entry[1]:r},Yt.prototype.update=function(t,e,n,r,i,o,s){var a=i===m,u=_t(r,this.entry[0]);return(u?i===this.entry[1]:a)?this:(E(s),a?void E(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Yt(t,this.keyHash,[r,i]):(E(o),ie(this,t,e,zt(r),[r,i])))},Nt.prototype.iterate=$t.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Ht.prototype.iterate=Jt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Yt.prototype.iterate=function(t,e){return t(this.entry)},e(Xt,F),Xt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return Gt(t,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Gt(t,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Gt(t,o.entry);e=this._stack=Qt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var he=y/4,pe=y/2,de=y/4;function ve(t){var e=xe();if(null==t)return e;if(_e(t))return t;var n=i(t),r=n.size;return 0===r?e:(Ft(r),r>0&&r<y?Oe(0,r,_,null,new me(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function _e(t){return!(!t||!t[ye])}e(ve,Et),ve.of=function(){return this(arguments)},ve.prototype.toString=function(){return this.__toString("List [","]")},ve.prototype.get=function(t,e){if((t=z(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},ve.prototype.set=function(t,e){return function(t,e,n){if((e=z(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?De(t,e).set(0,n):De(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,i=t._root,o=S(w);return e>=ke(t._capacity)?r=Ie(r,t.__ownerID,0,e,n,o):i=Ie(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Oe(t._origin,t._capacity,t._level,i,r):t}(this,t,e)},ve.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ve.prototype.insert=function(t,e){return this.splice(t,0,e)},ve.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xe()},ve.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){De(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ve.prototype.pop=function(){return De(this,0,-1)},ve.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){De(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ve.prototype.shift=function(){return De(this,1)},ve.prototype.merge=function(){return Ce(this,void 0,arguments)},ve.prototype.mergeWith=function(e){return Ce(this,e,t.call(arguments,1))},ve.prototype.mergeDeep=function(){return Ce(this,se,arguments)},ve.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Ce(this,ae(e),n)},ve.prototype.setSize=function(t){return De(this,0,t)},ve.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:De(this,C(t,n),k(e,n))},ve.prototype.__iterator=function(t,e){var n=0,r=Ee(this,e);return new F((function(){var e=r();return e===Se?{value:void 0,done:!0}:K(t,n++,e)}))},ve.prototype.__iterate=function(t,e){for(var n,r=0,i=Ee(this,e);(n=i())!==Se&&!1!==t(n,r++,this););return r},ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Oe(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ve.isList=_e;var ye="@@__IMMUTABLE_LIST__@@",ge=ve.prototype;function me(t,e){this.array=t,this.ownerID=e}ge[ye]=!0,ge[v]=ge.remove,ge.setIn=Wt.setIn,ge.deleteIn=ge.removeIn=Wt.removeIn,ge.update=Wt.update,ge.updateIn=Wt.updateIn,ge.mergeIn=Wt.mergeIn,ge.mergeDeepIn=Wt.mergeDeepIn,ge.withMutations=Wt.withMutations,ge.asMutable=Wt.asMutable,ge.asImmutable=Wt.asImmutable,ge.wasAltered=Wt.wasAltered,me.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new me([],t);var i,o=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-_,n))===s&&o)return this}if(o&&!i)return this;var a=ze(this,t);if(!o)for(var u=0;u<r;u++)a.array[u]=void 0;return i&&(a.array[r]=i),a},me.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&g;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-_,n))===o&&i===this.array.length-1)return this}var s=ze(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var be,we,Se={};function Ee(t,e){var n=t._origin,r=t._capacity,i=ke(r),o=t._tail;return s(t._root,t._level,0);function s(t,a,u){return 0===a?function(t,s){var a=s===i?o&&o.array:t&&t.array,u=s>n?0:n-s,c=r-s;return c>y&&(c=y),function(){if(u===c)return Se;var t=e?--c:u++;return a&&a[t]}}(t,u):function(t,i,o){var a,u=t&&t.array,c=o>n?0:n-o>>i,f=1+(r-o>>i);return f>y&&(f=y),function(){for(;;){if(a){var t=a();if(t!==Se)return t;a=null}if(c===f)return Se;var n=e?--f:c++;a=s(u&&u[n],i-_,o+(n<<i))}}}(t,a,u)}}function Oe(t,e,n,r,i,o,s){var a=Object.create(ge);return a.size=e-t,a._origin=t,a._capacity=e,a._level=n,a._root=r,a._tail=i,a.__ownerID=o,a.__hash=s,a.__altered=!1,a}function xe(){return be||(be=Oe(0,0,_))}function Ie(t,e,n,r,i,o){var s,a=r>>>n&g,u=t&&a<t.array.length;if(!u&&void 0===i)return t;if(n>0){var c=t&&t.array[a],f=Ie(c,e,n-_,r,i,o);return f===c?t:((s=ze(t,e)).array[a]=f,s)}return u&&t.array[a]===i?t:(E(o),s=ze(t,e),void 0===i&&a===s.array.length-1?s.array.pop():s.array[a]=i,s)}function ze(t,e){return e&&t&&e===t.ownerID?t:new me(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+_){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=_;return n}}function De(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new O,i=t._origin,o=t._capacity,s=i+e,a=void 0===n?o:n<0?o+n:i+n;if(s===i&&a===o)return t;if(s>=a)return t.clear();for(var u=t._level,c=t._root,f=0;s+f<0;)c=new me(c&&c.array.length?[void 0,c]:[],r),f+=1<<(u+=_);f&&(s+=f,i+=f,a+=f,o+=f);for(var l=ke(o),h=ke(a);h>=1<<u+_;)c=new me(c&&c.array.length?[c]:[],r),u+=_;var p=t._tail,d=h<l?Me(t,a-1):h>l?new me([],r):p;if(p&&h>l&&s<o&&p.array.length){for(var v=c=ze(c,r),y=u;y>_;y-=_){var m=l>>>y&g;v=v.array[m]=ze(v.array[m],r)}v.array[l>>>_&g]=p}if(a<o&&(d=d&&d.removeAfter(r,0,a)),s>=h)s-=h,a-=h,u=_,c=null,d=d&&d.removeBefore(r,0,s);else if(s>i||h<l){for(f=0;c;){var b=s>>>u&g;if(b!==h>>>u&g)break;b&&(f+=(1<<u)*b),u-=_,c=c.array[b]}c&&s>i&&(c=c.removeBefore(r,u,s-f)),c&&h<l&&(c=c.removeAfter(r,u,h-f)),f&&(s-=f,a-=f)}return t.__ownerID?(t.size=a-s,t._origin=s,t._capacity=a,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):Oe(s,a,u,c,d)}function Ce(t,e,n){for(var r=[],o=0,a=0;a<n.length;a++){var u=n[a],c=i(u);c.size>o&&(o=c.size),s(u)||(c=c.map((function(t){return ht(t)}))),r.push(c)}return o>t.size&&(t=t.setSize(o)),ue(t,e,r)}function ke(t){return t<y?0:t-1>>>_<<_}function Re(t){return null==t?je():Ae(t)?t:je().withMutations((function(e){var n=r(t);Ft(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ae(t){return Vt(t)&&f(t)}function qe(t,e,n,r){var i=Object.create(Re.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function je(){return we||(we=qe(te(),xe()))}function Pe(t,e,n){var r,i,o=t._map,s=t._list,a=o.get(e),u=void 0!==a;if(n===m){if(!u)return t;s.size>=y&&s.size>=2*o.size?(r=(i=s.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return t;r=o,i=s.set(a,[e,n])}else r=o.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):qe(r,i)}function Be(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function Fe(t){this._iter=t,this.size=t.size}function Ke(t){this._iter=t,this.size=t.size}function Ve(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===j){var r=t.__iterator(e,n);return new F((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===q?A:q,n)},e}function Le(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,m);return o===m?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate((function(t,i,s){return!1!==r(e.call(n,t,i,s),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(j,i);return new F((function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return K(r,a,e.call(n,s[1],a,t),i)}))},r}function Ue(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Ve(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function We(t,e,n,r){var i=nn(t);return r&&(i.has=function(r){var i=t.get(r,m);return i!==m&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,m);return o!==m&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return t.__iterate((function(t,o,u){if(e.call(n,t,o,u))return a++,i(t,r?o:a-1,s)}),o),a},i.__iteratorUncached=function(i,o){var s=t.__iterator(j,o),a=0;return new F((function(){for(;;){var o=s.next();if(o.done)return o;var u=o.value,c=u[0],f=u[1];if(e.call(n,f,c,t))return K(i,r?c:a++,f,o)}}))},i}function Ne(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),D(e,n,i))return t;var o=C(e,i),s=k(n,i);if(o!=o||s!=s)return Ne(t.toSeq().cacheResult(),e,n,r);var a,u=s-o;u==u&&(a=u<0?0:u);var c=nn(t);return c.size=0===a?a:t.size&&a||void 0,!r&&ot(t)&&a>=0&&(c.get=function(e,n){return(e=z(this,e))>=0&&e<a?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(e,n);var s=0,u=!0,c=0;return t.__iterate((function(t,n){if(!u||!(u=s++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,n){if(0!==a&&n)return this.cacheResult().__iterator(e,n);var i=0!==a&&t.__iterator(e,n),s=0,u=0;return new F((function(){for(;s++<o;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return r||e===q?t:K(e,u-1,e===A?void 0:t.value[1],t)}))},c}function He(t,e,n,r){var i=nn(t);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,u=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,s)})),u},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(j,o),u=!0,c=0;return new F((function(){var t,o,f;do{if((t=a.next()).done)return r||i===q?t:K(i,c++,i===A?void 0:t.value[1],t);var l=t.value;o=l[0],f=l[1],u&&(u=e.call(n,f,o,s))}while(u);return i===j?t:K(i,o,f,t)}))},i}function Je(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,i){var o=0,a=!1;return function t(u,c){var f=this;u.__iterate((function(i,u){return(!e||c<e)&&s(i)?t(i,c+1):!1===r(i,n?u:o++,f)&&(a=!0),!a}),i)}(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),a=[],u=0;return new F((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(r===j&&(c=c[1]),e&&!(a.length<e)||!s(c))return n?t:K(r,u++,c,t);a.push(o),o=c.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function $e(t,e,n){e||(e=on);var r=a(t),i=0,o=t.toSeq().map((function(e,r){return[r,e,i++,n?n(e,r,t):e]})).toArray();return o.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?$(o):u(t)?Y(o):X(o)}function Ye(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Xe(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Xe(e,t,n)?n:t}))}function Xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ge(t,e,r){var i=nn(t);return i.size=new et(r).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(q,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map((function(t){return t=n(t),W(i?t.reverse():t)})),s=0,a=!1;return new F((function(){var n;return a||(n=o.map((function(t){return t.next()})),a=n.some((function(t){return t.done}))),a?{value:void 0,done:!0}:K(t,s++,e.apply(null,n.map((function(t){return t.value}))))}))},i}function Qe(t,e){return ot(t)?e:t.constructor(e)}function Ze(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Ft(t.size),I(t)}function en(t){return a(t)?r:u(t)?i:o}function nn(t){return Object.create((a(t)?$:u(t)?Y:X).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function sn(t){var e=W(t);if(!e){if(!H(t))throw new TypeError("Expected iterable or array-like: "+t);e=W(n(t))}return e}function an(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(t);(function(t,e){try{e.forEach(ln.bind(void 0,t))}catch(t){}})(i,s),i.size=s.length,i._name=e,i._keys=s,i._defaultValues=t}this._map=Kt(o)},i=r.prototype=Object.create(un);return i.constructor=r,r}e(Re,Kt),Re.of=function(){return this(arguments)},Re.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Re.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Re.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):je()},Re.prototype.set=function(t,e){return Pe(this,t,e)},Re.prototype.remove=function(t){return Pe(this,t,m)},Re.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Re.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Re.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?qe(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Re.isOrderedMap=Ae,Re.prototype[d]=!0,Re.prototype[v]=Re.prototype.remove,e(Be,$),Be.prototype.get=function(t,e){return this._iter.get(t,e)},Be.prototype.has=function(t){return this._iter.has(t)},Be.prototype.valueSeq=function(){return this._iter.valueSeq()},Be.prototype.reverse=function(){var t=this,e=Ue(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Be.prototype.map=function(t,e){var n=this,r=Le(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Be.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Be.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(q,e),r=e?tn(this):0;return new F((function(){var i=n.next();return i.done?i:K(t,e?--r:r++,i.value,i)}))},Be.prototype[d]=!0,e(Te,Y),Te.prototype.includes=function(t){return this._iter.includes(t)},Te.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e),r=0;return new F((function(){var e=n.next();return e.done?e:K(t,r++,e.value,e)}))},e(Fe,X),Fe.prototype.has=function(t){return this._iter.includes(t)},Fe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Fe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e);return new F((function(){var e=n.next();return e.done?e:K(t,e.value,e.value,e)}))},e(Ke,$),Ke.prototype.entrySeq=function(){return this._iter.toSeq()},Ke.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ze(e);var r=s(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ke.prototype.__iterator=function(t,e){var n=this._iter.__iterator(q,e);return new F((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ze(r);var i=s(r);return K(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}}))},Te.prototype.cacheResult=Be.prototype.cacheResult=Fe.prototype.cacheResult=Ke.prototype.cacheResult=rn,e(an,St),an.prototype.toString=function(){return this.__toString(fn(this)+" {","}")},an.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},an.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},an.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=cn(this,te()))},an.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+fn(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:cn(this,n)},an.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:cn(this,e)},an.prototype.wasAltered=function(){return this._map.wasAltered()},an.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},an.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},an.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?cn(this,e,t):(this.__ownerID=t,this._map=e,this)};var un=an.prototype;function cn(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function fn(t){return t._name||t.constructor.name||"Record"}function ln(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){mt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function hn(t){return null==t?bn():pn(t)&&!f(t)?t:bn().withMutations((function(e){var n=o(t);Ft(n.size),n.forEach((function(t){return e.add(t)}))}))}function pn(t){return!(!t||!t[vn])}un[v]=un.remove,un.deleteIn=un.removeIn=Wt.removeIn,un.merge=Wt.merge,un.mergeWith=Wt.mergeWith,un.mergeIn=Wt.mergeIn,un.mergeDeep=Wt.mergeDeep,un.mergeDeepWith=Wt.mergeDeepWith,un.mergeDeepIn=Wt.mergeDeepIn,un.setIn=Wt.setIn,un.update=Wt.update,un.updateIn=Wt.updateIn,un.withMutations=Wt.withMutations,un.asMutable=Wt.asMutable,un.asImmutable=Wt.asImmutable,e(hn,Ot),hn.of=function(){return this(arguments)},hn.fromKeys=function(t){return this(r(t).keySeq())},hn.prototype.toString=function(){return this.__toString("Set {","}")},hn.prototype.has=function(t){return this._map.has(t)},hn.prototype.add=function(t){return gn(this,this._map.set(t,!0))},hn.prototype.remove=function(t){return gn(this,this._map.remove(t))},hn.prototype.clear=function(){return gn(this,this._map.clear())},hn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},hn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},hn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},hn.prototype.merge=function(){return this.union.apply(this,arguments)},hn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},hn.prototype.sort=function(t){return wn($e(this,t))},hn.prototype.sortBy=function(t,e){return wn($e(this,e,t))},hn.prototype.wasAltered=function(){return this._map.wasAltered()},hn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},hn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},hn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},hn.isSet=pn;var dn,vn="@@__IMMUTABLE_SET__@@",yn=hn.prototype;function gn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function mn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return dn||(dn=mn(te()))}function wn(t){return null==t?In():Sn(t)?t:In().withMutations((function(e){var n=o(t);Ft(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return pn(t)&&f(t)}yn[vn]=!0,yn[v]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=Wt.withMutations,yn.asMutable=Wt.asMutable,yn.asImmutable=Wt.asImmutable,yn.__empty=bn,yn.__make=mn,e(wn,hn),wn.of=function(){return this(arguments)},wn.fromKeys=function(t){return this(r(t).keySeq())},wn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},wn.isOrderedSet=Sn;var En,On=wn.prototype;function xn(t,e){var n=Object.create(On);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function In(){return En||(En=xn(je()))}function zn(t){return null==t?An():Mn(t)?t:An().unshiftAll(t)}function Mn(t){return!(!t||!t[Cn])}On[d]=!0,On.__empty=In,On.__make=xn,e(zn,Et),zn.of=function(){return this(arguments)},zn.prototype.toString=function(){return this.__toString("Stack [","]")},zn.prototype.get=function(t,e){var n=this._head;for(t=z(this,t);n&&t--;)n=n.next;return n?n.value:e},zn.prototype.peek=function(){return this._head&&this._head.value},zn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Rn(t,e)},zn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Ft(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Rn(e,n)},zn.prototype.pop=function(){return this.slice(1)},zn.prototype.unshift=function(){return this.push.apply(this,arguments)},zn.prototype.unshiftAll=function(t){return this.pushAll(t)},zn.prototype.shift=function(){return this.pop.apply(this,arguments)},zn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},zn.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var n=C(t,this.size);if(k(e,this.size)!==this.size)return Et.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Rn(r,i)},zn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Rn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},zn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},zn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new F((function(){if(r){var e=r.value;return r=r.next,K(t,n++,e)}return{value:void 0,done:!0}}))},zn.isStack=Mn;var Dn,Cn="@@__IMMUTABLE_STACK__@@",kn=zn.prototype;function Rn(t,e,n,r){var i=Object.create(kn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function An(){return Dn||(Dn=Rn(0))}function qn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[Cn]=!0,kn.withMutations=Wt.withMutations,kn.asMutable=Wt.asMutable,kn.asImmutable=Wt.asImmutable,kn.wasAltered=Wt.wasAltered,n.Iterator=F,qn(n,{toArray:function(){Ft(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Te(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Be(this,!0)},toMap:function(){return Kt(this.toKeyedSeq())},toObject:function(){Ft(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Re(this.toKeyedSeq())},toOrderedSet:function(){return wn(a(this)?this.valueSeq():this)},toSet:function(){return hn(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Fe(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return zn(a(this)?this.valueSeq():this)},toList:function(){return ve(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Qe(this,function(t,e){var n=a(t),i=[t].concat(e).map((function(t){return s(t)?n&&(t=r(t)):t=n?at(t):ut(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&a(o)||u(t)&&u(o))return o}var c=new et(i);return n?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return _t(e,t)}))},entries:function(){return this.__iterator(j)},every:function(t,e){Ft(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1})),n},filter:function(t,e){return Qe(this,We(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Ft(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Ft(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(A)},map:function(t,e){return Qe(this,Le(this,t,e))},reduce:function(t,e,n){var r,i;return Ft(this.size),arguments.length<2?i=!0:r=e,this.__iterate((function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Qe(this,Ue(this,!0))},slice:function(t,e){return Qe(this,Ne(this,t,e,!0))},some:function(t,e){return!this.every(Fn(t),e)},sort:function(t){return Qe(this,$e(this,t))},values:function(){return this.__iterator(q)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return I(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Kt().asMutable();return t.__iterate((function(i,o){r.update(e.call(n,i,o,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return yt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Tn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Fn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(M)},flatMap:function(t,e){return Qe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(i,o){return r(e.call(n,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Qe(this,Je(this,t,!0))},fromEntrySeq:function(){return new Ke(this)},get:function(t,e){return this.find((function(e,n){return _t(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,i=sn(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=a(t),i=(f(t)?Re():Kt()).asMutable();t.__iterate((function(o,s){i.update(e.call(n,o,s,t),(function(t){return(t=t||[]).push(r?[s,o]:o),t}))}));var o=en(t);return i.map((function(e){return Qe(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Bn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Kn(t):Un)},minBy:function(t,e){return Ye(this,e?Kn(e):Un,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Qe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Qe(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Fn(t),e)},sortBy:function(t,e){return Qe(this,$e(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Qe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Qe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var s=0;return t.__iterate((function(t,i,a){return e.call(n,t,i,a)&&++s&&r(t,i,o)})),s},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(j,i),a=!0;return new F((function(){if(!a)return{value:void 0,done:!0};var t=s.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===j?t:K(r,u,c,t):(a=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Fn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),n=a(t),r=e?1:0;return function(t,e){return e=xt(e,3432918353),e=xt(e<<15|e>>>-15,461845907),e=xt(e<<13|e>>>-13,5),e=xt((e=(e+3864292196|0)^t)^e>>>16,2246822507),It((e=xt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Wn(zt(t),zt(e))|0}:function(t,e){r=r+Wn(zt(t),zt(e))|0}:e?function(t){r=31*r+zt(t)|0}:function(t){r=r+zt(t)|0}),r)}(this))}});var jn=n.prototype;jn[l]=!0,jn[T]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=Vn,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,function(){try{Object.defineProperty(jn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),qn(r,{flip:function(){return Qe(this,Ve(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return _t(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return _t(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Qe(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Qe(this,this.toSeq().flip().map((function(r,i){return t.call(e,r,i,n)})).flip())}});var Pn=r.prototype;function Bn(t,e){return e}function Tn(t,e){return[e,t]}function Fn(t){return function(){return!t.apply(this,arguments)}}function Kn(t){return function(){return-t.apply(this,arguments)}}function Vn(t){return"string"==typeof t?JSON.stringify(t):t}function Ln(){return x(arguments)}function Un(t,e){return t<e?1:t>e?-1:0}function Wn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Pn[h]=!0,Pn[T]=jn.entries,Pn.__toJS=jn.toObject,Pn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Vn(t)},qn(i,{toKeyedSeq:function(){return new Be(this,!1)},filter:function(t,e){return Qe(this,We(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Qe(this,Ue(this,!1))},slice:function(t,e){return Qe(this,Ne(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=C(t,t<0?this.count():this.size);var r=this.slice(0,t);return Qe(this,1===n?r:r.concat(x(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Qe(this,Je(this,t,!1))},get:function(t,e){return(t=z(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=z(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Qe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate((function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(q,r),s=0;return new F((function(){return(!i||s%2)&&(i=o.next()).done?i:s%2?K(n,s++,e):K(n,s++,i.value,i)}))},n}(this,t))},interleave:function(){var t=[this].concat(x(arguments)),e=Ge(this.toSeq(),Y.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Qe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Qe(this,He(this,t,e,!1))},zip:function(){return Qe(this,Ge(this,Ln,[this].concat(x(arguments))))},zipWith:function(t){var e=x(arguments);return e[0]=this,Qe(this,Ge(this,t,e))}}),i.prototype[p]=!0,i.prototype[d]=!0,qn(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=jn.includes,qn($,r.prototype),qn(Y,i.prototype),qn(X,o.prototype),qn(St,r.prototype),qn(Et,i.prototype),qn(Ot,o.prototype),{Iterable:n,Seq:J,Collection:wt,Map:Kt,OrderedMap:Re,List:ve,Stack:zn,Set:hn,OrderedSet:wn,Record:an,Range:bt,Repeat:gt,is:_t,fromJS:ht}}()},69590:t=>{var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var a,u,c,f;if(Array.isArray(t)){if((a=t.length)!=s.length)return!1;for(u=a;0!=u--;)if(!o(t[u],s[u]))return!1;return!0}if(n&&t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(f=t.entries();!(u=f.next()).done;)if(!s.has(u.value[0]))return!1;for(f=t.entries();!(u=f.next()).done;)if(!o(u.value[1],s.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(f=t.entries();!(u=f.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if((a=t.length)!=s.length)return!1;for(u=a;0!=u--;)if(t[u]!==s[u])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((a=(c=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(u=a;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,c[u]))return!1;if(e&&t instanceof Element)return!1;for(u=a;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],s[c[u]]))return!1;return!0}return t!=t&&s!=s}t.exports=function(t,e){try{return o(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},99196:t=>{"use strict";t.exports=window.React},25853:t=>{"use strict";t.exports=window.lodash.debounce},1843:t=>{"use strict";t.exports=window.lodash.filter},18491:t=>{"use strict";t.exports=window.lodash.get},16965:t=>{"use strict";t.exports=window.lodash.includes},66366:t=>{"use strict";t.exports=window.lodash.isEmpty},12049:t=>{"use strict";t.exports=window.lodash.uniqueId},25158:t=>{"use strict";t.exports=window.wp.a11y},55609:t=>{"use strict";t.exports=window.wp.components},92694:t=>{"use strict";t.exports=window.wp.hooks},65736:t=>{"use strict";t.exports=window.wp.i18n},81413:t=>{"use strict";t.exports=window.yoast.componentsNew},7206:t=>{"use strict";t.exports=window.yoast.draftJs},23695:t=>{"use strict";t.exports=window.yoast.helpers},85890:t=>{"use strict";t.exports=window.yoast.propTypes},37188:t=>{"use strict";t.exports=window.yoast.styleGuide},98487:t=>{"use strict";t.exports=window.yoast.styledComponents},18594:t=>{"use strict";t.exports=window.yoast.uiLibrary}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";var t=r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReplacementVariableEditor",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"ReplacementVariableEditorStandalone",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SettingsSnippetEditor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"StandardButton",{enumerable:!0,get:function(){return a.StandardButton}}),Object.defineProperty(t,"StyledEditor",{enumerable:!0,get:function(){return s.StyledEditor}}),Object.defineProperty(t,"TriggerReplacementVariableSuggestionsButton",{enumerable:!0,get:function(){return a.TriggerReplacementVariableSuggestionsButton}}),Object.defineProperty(t,"recommendedReplacementVariablesShape",{enumerable:!0,get:function(){return u.recommendedReplacementVariablesShape}}),Object.defineProperty(t,"replacementVariablesShape",{enumerable:!0,get:function(){return u.replacementVariablesShape}});var e=c(n(51381)),i=c(n(42578)),o=c(n(26895)),s=n(9283),a=n(32183),u=n(34353);function c(t){return t&&t.__esModule?t:{default:t}}})(),(window.yoast=window.yoast||{}).replacementVariableEditor=r})(); dist/externals/reduxJsToolkit.js 0000644 00000107370 15174677550 0013075 0 ustar 00 (()=>{"use strict";var e={65139:(e,t,n)=>{function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}n.d(t,{Z:()=>o});var i=r();i.withExtraArgument=r;const o=i},20573:(e,t,n)=>{n.d(t,{P1:()=>a});var r="NOT_FOUND",i=function(e,t){return e===t};function o(e,t){var n,o,u="object"==typeof t?t:{equalityCheck:t},a=u.equalityCheck,c=void 0===a?i:a,f=u.maxSize,l=void 0===f?1:f,s=u.resultEqualityCheck,d=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}(c),p=1===l?(n=d,{get:function(e){return o&&n(o.key,e)?o.value:r},put:function(e,t){o={key:e,value:t}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}):function(e,t){var n=[];function i(e){var i=n.findIndex((function(n){return t(e,n.key)}));if(i>-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return r}return{get:i,put:function(t,o){i(t)===r&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,d);function v(){var t=p.get(arguments);if(t===r){if(t=e.apply(null,arguments),s){var n=p.getEntries().find((function(e){return s(e.value,t)}));n&&(t=n.value)}p.put(arguments,t)}return t}return v.clearCache=function(){return p.clear()},v}function u(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o,u=0,a={memoizeOptions:void 0},c=r.pop();if("object"==typeof c&&(a=c,c=r.pop()),"function"!=typeof c)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var f=a.memoizeOptions,l=void 0===f?n:f,s=Array.isArray(l)?l:[l],d=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),p=e.apply(void 0,[function(){return u++,c.apply(null,arguments)}].concat(s)),v=e((function(){for(var e=[],t=d.length,n=0;n<t;n++)e.push(d[n].apply(null,arguments));return o=p.apply(null,e)}));return Object.assign(v,{resultFunc:c,memoizedResultFunc:p,dependencies:d,lastResult:function(){return o},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),v}}var a=u(o)},7185:e=>{e.exports=window.yoast.redux},12902:(e,t,n)=>{function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[K]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===B}(e)||Array.isArray(e)||!!e[Z]||!!e.constructor[Z]||d(e)||p(e))}function u(e){return i(e)||r(23,e),e[K].t}function a(e,t,n){void 0===n&&(n=!1),0===c(e)?(n?Object.keys:J)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function c(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function f(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,n){var r=c(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function s(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return N&&e instanceof Map}function p(e){return W&&e instanceof Set}function v(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$(e);delete t[K];for(var n=J(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function h(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(c(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return h(t,!0)}),!0)),e}function g(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function m(e){var t=G[e];return t||r(18,e),t}function w(){return F}function O(e,t){t&&(m("Patches"),e.u=[],e.s=[],e.v=t)}function P(e){j(e),e.p.forEach(S),e.p=null}function j(e){e===F&&(F=e.l)}function A(e){return F={p:[],l:F,h:e,m:!0,_:0}}function S(e){var t=e[K];0===t.i||1===t.i?t.j():t.O=!0}function E(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.g||m("ES5").S(t,e,i),i?(n[K].P&&(P(t),r(4)),o(e)&&(e=k(t,e),t.l||x(t,e)),t.u&&m("Patches").M(n[K].t,e,t.u,t.s)):e=k(t,n,[]),P(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function k(e,t,n){if(b(t))return t;var r=t[K];if(!r)return a(t,(function(i,o){return _(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return x(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=y(r.k):r.o;a(3===r.i?new Set(i):i,(function(t,o){return _(e,r,i,t,o,n)})),x(e,i,!1),n&&e.u&&m("Patches").R(r,n,e.u,e.s)}return r.o}function _(e,t,n,r,u,a){if(i(u)){var c=k(e,u,a&&t&&3!==t.i&&!f(t.D,r)?a.concat(r):void 0);if(l(n,r,c),!i(c))return;e.m=!1}if(o(u)&&!b(u)){if(!e.h.F&&e._<1)return;k(e,u),t&&t.A.l||x(e,u)}}function x(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&h(t,n)}function I(e,t){var n=e[K];return(n?v(n):e)[t]}function M(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function D(e){e.P||(e.P=!0,e.l&&D(e.l))}function T(e){e.o||(e.o=y(e.t))}function R(e,t,n){var r=d(t)?m("MapSet").N(t,n):p(t)?m("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=H;n&&(i=[r],o=Q);var u=Proxy.revocable(i,o),a=u.revoke,c=u.proxy;return r.k=c,r.j=a,c}(t,n):m("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function C(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[K],i=c(t);if(r){if(!r.P&&(r.i<4||!m("ES5").K(r)))return r.t;r.I=!0,n=z(t,i),r.I=!1}else n=z(t,i);return a(n,(function(t,i){r&&function(e,t){return 2===c(e)?e.get(t):e[t]}(r.t,t)===i||l(n,t,e(i))})),3===i?new Set(n):n}(e)}function z(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function L(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[K];return H.get(t,e)},set:function(t){var n=this[K];H.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][K];if(!i.P)switch(i.i){case 5:r(i)&&D(i);break;case 4:n(i)&&D(i)}}}function n(e){for(var t=e.t,n=e.k,r=J(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==K){var u=t[o];if(void 0===u&&!f(t,o))return!0;var a=n[o],c=a&&a[K];if(c?c.t!==u:!s(a,u))return!0}}var l=!!t[K];return r.length!==J(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){G[e]||(G[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=$(n);delete o[K];for(var u=J(o),a=0;a<u.length;a++){var c=u[a];o[c]=e(c,t||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:w(),P:!1,I:!1,D:{},l:n,t,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,K,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[K].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var i=n.t,o=n.k,u=n.D,c=n.i;if(4===c)a(o,(function(t){t!==K&&(void 0!==i[t]||f(i,t)?u[t]||e(o[t]):(u[t]=!0,D(n)))})),a(i,(function(e){void 0!==o[e]||f(o,e)||(u[e]=!1,D(n))}));else if(5===c){if(r(n)&&(D(n),u.length=!0),o.length<i.length)for(var l=o.length;l<i.length;l++)u[l]=!1;else for(var s=i.length;s<o.length;s++)u[s]=!0;for(var d=Math.min(o.length,i.length),p=0;p<d;p++)o.hasOwnProperty(p)||(u[p]=!0),void 0===u[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{Js:()=>u,Vk:()=>C,ZP:()=>ne,mv:()=>i,o$:()=>o,pV:()=>L,vV:()=>h});var V,F,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),N="undefined"!=typeof Map,W="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=q?Symbol.for("immer-nothing"):((V={})["immer-nothing"]=!0,V),Z=q?Symbol.for("immer-draftable"):"__$immer_draftable",K=q?Symbol.for("immer-state"):"__$immer_state",B=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),J="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(e){var t={};return J(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},G={},H={get:function(e,t){if(t===K)return e;var n=v(e);if(!f(n,t))return function(e,t,n){var r,i=M(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===I(e.t,t)?(T(e),e.o[t]=R(e.A.h,r,e)):r},has:function(e,t){return t in v(e)},ownKeys:function(e){return Reflect.ownKeys(v(e))},set:function(e,t,n){var r=M(v(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=I(v(e),t),o=null==i?void 0:i[K];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(s(n,i)&&(void 0!==n||f(e.t,t)))return!0;T(e),D(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==I(e.t,t)||t in e.t?(e.D[t]=!1,T(e),D(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=v(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Q={};a(H,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return H.set.call(this,e[0],t,n,e[0])};var Y=function(){function e(e){var t=this;this.g=U,this.F=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var u=n;n=e;var a=t;return function(e){var t=this;void 0===e&&(e=u);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return a.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))}))}}var c;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var f=A(t),l=R(t,e,void 0),s=!0;try{c=n(l),s=!1}finally{s?P(f):j(f)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return O(f,i),E(e,f)}),(function(e){throw P(f),e})):(O(f,i),E(c,f))}if(!e||"object"!=typeof e){if(void 0===(c=n(e))&&(c=e),c===X&&(c=void 0),t.F&&h(c,!0),i){var d=[],p=[];m("Patches").M(e,c,d,p),i(d,p)}return c}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))};var r,i,o=t.produce(e,n,(function(e,t){r=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,i]})):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=C(e));var t=A(this),n=R(this,e,void 0);return n[K].C=!0,j(t),n},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return O(n,t),E(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!U&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=m("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),ee=new Y,te=ee.produce;ee.produceWithPatches.bind(ee),ee.setAutoFreeze.bind(ee),ee.setUseProxies.bind(ee),ee.applyPatches.bind(ee),ee.createDraft.bind(ee),ee.finishDraft.bind(ee);const ne=te}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{MiddlewareArray:()=>A,TaskAbortError:()=>Oe,addListener:()=>Ce,clearAllListeners:()=>ze,configureStore:()=>T,createAction:()=>R,createAsyncThunk:()=>H,createDraftSafeSelector:()=>O,createEntityAdapter:()=>Z,createImmutableStateInvariantMiddleware:()=>k,createListenerMiddleware:()=>qe,createNextState:()=>e.ZP,createReducer:()=>V,createSelector:()=>u.P1,createSerializableStateInvariantMiddleware:()=>I,createSlice:()=>F,current:()=>e.Vk,findNonSerializableValue:()=>x,freeze:()=>e.vV,getDefaultMiddleware:()=>M,getType:()=>z,isAllOf:()=>te,isAnyOf:()=>ee,isAsyncThunkAction:()=>ce,isDraft:()=>e.mv,isFulfilled:()=>ae,isImmutableDefault:()=>E,isPending:()=>ie,isPlain:()=>_,isPlainObject:()=>j,isRejected:()=>oe,isRejectedWithValue:()=>ue,miniSerializeError:()=>G,nanoid:()=>K,original:()=>e.Js,removeListener:()=>Le,unwrapResult:()=>Q});var e=n(12902),t=n(7185),i={};for(const e in t)["default","MiddlewareArray","TaskAbortError","addListener","clearAllListeners","configureStore","createAction","createAsyncThunk","createDraftSafeSelector","createEntityAdapter","createImmutableStateInvariantMiddleware","createListenerMiddleware","createNextState","createReducer","createSelector","createSerializableStateInvariantMiddleware","createSlice","current","findNonSerializableValue","freeze","getDefaultMiddleware","getType","isAllOf","isAnyOf","isAsyncThunkAction","isDraft","isFulfilled","isImmutableDefault","isPending","isPlain","isPlainObject","isRejected","isRejectedWithValue","miniSerializeError","nanoid","original","removeListener","unwrapResult"].indexOf(e)<0&&(i[e]=()=>t[e]);n.d(r,i);var o,u=n(20573),a=n(65139),c=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),f=function(e,t){var n,r,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((i=(i=u.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},l=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},s=Object.defineProperty,d=Object.defineProperties,p=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,g=function(e,t,n){return t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))y.call(t,n)&&g(e,n,t[n]);if(v)for(var r=0,i=v(t);r<i.length;r++)n=i[r],h.call(t,n)&&g(e,n,t[n]);return e},m=function(e,t){return d(e,p(t))},w=function(e,t,n){return new Promise((function(r,i){var o=function(e){try{a(n.next(e))}catch(e){i(e)}},u=function(e){try{a(n.throw(e))}catch(e){i(e)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};a((n=n.apply(e,t)).next())}))},O=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=u.P1.apply(void 0,t);return function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return r.apply(void 0,l([(0,e.mv)(t)?(0,e.Vk)(t):t],n))}},P="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?t.compose:t.compose.apply(null,arguments)};function j(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var A=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return c(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,l([void 0],e[0].concat(this)))):new(t.bind.apply(t,l([void 0],e.concat(this))))},t}(Array);function S(t){return(0,e.o$)(t)?(0,e.ZP)(t,(function(){})):t}function E(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function k(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function _(e){var t=typeof e;return"undefined"===t||null===e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||j(e)}function x(e,t,n,r,i){var o;if(void 0===t&&(t=""),void 0===n&&(n=_),void 0===i&&(i=[]),!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e)return!1;for(var u=null!=r?r(e):Object.entries(e),a=i.length>0,c=0,f=u;c<f.length;c++){var l=f[c],s=l[0],d=l[1],p=t?t+"."+s:s;if(!(a&&i.indexOf(p)>=0)){if(!n(d))return{keyPath:p,value:d};if("object"==typeof d&&(o=x(d,p,n,r,i)))return o}}return!1}function I(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function M(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new A);return n&&("boolean"==typeof n?r.push(a.Z):r.push(a.Z.withExtraArgument(n.extraArgument))),r}var D=!0;function T(e){var n,r=function(e){return M(e)},i=e||{},o=i.reducer,u=void 0===o?void 0:o,a=i.middleware,c=void 0===a?r():a,f=i.devTools,s=void 0===f||f,d=i.preloadedState,p=void 0===d?void 0:d,v=i.enhancers,y=void 0===v?void 0:v;if("function"==typeof u)n=u;else{if(!j(u))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');n=(0,t.combineReducers)(u)}var h=c;if("function"==typeof h&&(h=h(r),!D&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!D&&h.some((function(e){return"function"!=typeof e})))throw new Error("each middleware provided to configureStore must be a function");var g=t.applyMiddleware.apply(void 0,h),m=t.compose;s&&(m=P(b({trace:!D},"object"==typeof s&&s)));var w=[g];Array.isArray(y)?w=l([g],y):"function"==typeof y&&(w=y(w));var O=m.apply(void 0,w);return(0,t.createStore)(n,p,O)}function R(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return b(b({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function C(e){return["type","payload","error","meta"].indexOf(e)>-1}function z(e){return""+e}function L(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function V(t,n,r,i){void 0===r&&(r=[]);var o,u="function"==typeof n?L(n):[n,r,i],a=u[0],c=u[1],f=u[2];if("function"==typeof t)o=function(){return S(t())};else{var s=S(t);o=function(){return s}}function d(t,n){void 0===t&&(t=o());var r=l([a[n.type]],c.filter((function(e){return(0,e.matcher)(n)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[f]),r.reduce((function(t,r){if(r){var i;if((0,e.mv)(t))return void 0===(i=r(t,n))?t:i;if((0,e.o$)(t))return(0,e.ZP)(t,(function(e){return r(e,n)}));if(void 0===(i=r(t,n))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return d.getInitialState=o,d}function F(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:S(e.initialState),i=e.reducers||{},o=Object.keys(i),u={},a={},c={};function f(){var t="function"==typeof e.extraReducers?L(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,o=t[1],u=void 0===o?[]:o,c=t[2],f=void 0===c?void 0:c,l=b(b({},i),a);return V(r,l,u,f)}return o.forEach((function(e){var n,r,o=i[e],f=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,u[e]=n,a[f]=n,c[e]=r?R(f,r):R(f)})),{name:t,reducer:function(e,t){return n||(n=f()),n(e,t)},actions:c,caseReducers:u,getInitialState:function(){return n||(n=f()),n.getInitialState()}}}function q(t){return function(n,r){var i=function(e){var n;j(n=r)&&"string"==typeof n.type&&Object.keys(n).every(C)?t(r.payload,e):t(r,e)};return(0,e.mv)(n)?(i(n),n):(0,e.ZP)(n,i)}}function N(e,t){return t(e)}function W(e){return Array.isArray(e)||(e=Object.values(e)),e}function U(e,t,n){for(var r=[],i=[],o=0,u=e=W(e);o<u.length;o++){var a=u[o],c=N(a,t);c in n.entities?i.push({id:c,changes:a}):r.push(a)}return[r,i]}function X(e){function t(t,n){var r=N(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){for(var r=0,i=e=W(e);r<i.length;r++)t(i[r],n)}function r(t,n){var r=N(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function i(e,t){var n=!1;e.forEach((function(e){e in t.entities&&(delete t.entities[e],n=!0)})),n&&(t.ids=t.ids.filter((function(e){return e in t.entities})))}function o(t,n){var r={},i={};if(t.forEach((function(e){e.id in n.entities&&(i[e.id]={id:e.id,changes:b(b({},i[e.id]?i[e.id].changes:null),e.changes)})})),(t=Object.values(i)).length>0){var o=t.filter((function(t){return function(t,n,r){var i=r.entities[n.id],o=Object.assign({},i,n.changes),u=N(o,e),a=u!==n.id;return a&&(t[n.id]=u,delete r.entities[n.id]),r.entities[u]=o,a}(r,t,n)})).length>0;o&&(n.ids=n.ids.map((function(e){return r[e]||e})))}}function u(t,r){var i=U(t,e,r),u=i[0];o(i[1],r),n(u,r)}return{removeAll:(a=function(e){Object.assign(e,{ids:[],entities:{}})},c=q((function(e,t){return a(t)})),function(e){return c(e,void 0)}),addOne:q(t),addMany:q(n),setOne:q(r),setMany:q((function(e,t){for(var n=0,i=e=W(e);n<i.length;n++)r(i[n],t)})),setAll:q((function(e,t){e=W(e),t.ids=[],t.entities={},n(e,t)})),updateOne:q((function(e,t){return o([e],t)})),updateMany:q(o),upsertOne:q((function(e,t){return u([e],t)})),upsertMany:q(u),removeOne:q((function(e,t){return i([e],t)})),removeMany:q(i)};var a,c}function Z(e){void 0===e&&(e={});var t=b({sortComparer:!1,selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer,i={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},o={getSelectors:function(e){var t=function(e){return e.ids},n=function(e){return e.entities},r=O(t,n,(function(e,t){return e.map((function(e){return t[e]}))})),i=function(e,t){return t},o=function(e,t){return e[t]},u=O(t,(function(e){return e.length}));if(!e)return{selectIds:t,selectEntities:n,selectAll:r,selectTotal:u,selectById:O(n,i,o)};var a=O(e,n);return{selectIds:O(e,t),selectEntities:a,selectAll:O(e,r),selectTotal:O(e,u),selectById:O(a,i,o)}}},u=r?function(e,t){var n=X(e);function r(t,n){var r=(t=W(t)).filter((function(t){return!(N(t,e)in n.entities)}));0!==r.length&&a(r,n)}function i(e,t){0!==(e=W(e)).length&&a(e,t)}function o(t,n){for(var r=!1,i=0,o=t;i<o.length;i++){var u=o[i],a=n.entities[u.id];if(a){r=!0,Object.assign(a,u.changes);var f=e(a);u.id!==f&&(delete n.entities[u.id],n.entities[f]=a)}}r&&c(n)}function u(t,n){var i=U(t,e,n),u=i[0];o(i[1],n),r(u,n)}function a(t,n){t.forEach((function(t){n.entities[e(t)]=t})),c(n)}function c(n){var r=Object.values(n.entities);r.sort(t);var i=r.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(n.ids,i)||(n.ids=i)}return{removeOne:n.removeOne,removeMany:n.removeMany,removeAll:n.removeAll,addOne:q((function(e,t){return r([e],t)})),updateOne:q((function(e,t){return o([e],t)})),upsertOne:q((function(e,t){return u([e],t)})),setOne:q((function(e,t){return i([e],t)})),setMany:q(i),setAll:q((function(e,t){e=W(e),t.entities={},t.ids=[],r(e,t)})),addMany:q(r),updateMany:q(o),upsertMany:q(u)}}(n,r):X(n);return b(b(b({selectId:n,sortComparer:r},i),o),u)}var K=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},B=["name","message","stack","code"],J=function(e,t){this.payload=e,this.meta=t},$=function(e,t){this.payload=e,this.meta=t},G=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=B;n<r.length;n++){var i=r[n];"string"==typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}};function H(e,t,n){var r=R(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:m(b({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),i=R(e+"/pending",(function(e,t,n){return{payload:void 0,meta:m(b({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),o=R(e+"/rejected",(function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||G)(e||"Rejected"),meta:m(b({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),u="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(a,c,l){var s,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):K(),p=new u,v=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:s||"Aborted"})}))})),y=!1,h=function(){return w(this,null,(function(){var u,s,h,g,b;return f(this,(function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),null===(m=g=null==(u=null==n?void 0:n.condition)?void 0:u.call(n,e,{getState:c,extra:l}))||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,g];case 1:g=f.sent(),f.label=2;case 2:if(!1===g)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=!0,a(i(d,e,null==(s=null==n?void 0:n.getPendingMeta)?void 0:s.call(n,{requestId:d,arg:e},{getState:c,extra:l}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:a,getState:c,extra:l,requestId:d,signal:p.signal,rejectWithValue:function(e,t){return new J(e,t)},fulfillWithValue:function(e,t){return new $(e,t)}})).then((function(t){if(t instanceof J)throw t;return t instanceof $?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return h=f.sent(),[3,5];case 4:return b=f.sent(),h=b instanceof J?o(null,d,e,b.payload,b.meta):o(b,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(h)&&h.meta.condition||a(h),[2,h]}var m}))}))}();return Object.assign(h,{abort:function(e){y&&(s=e,p.abort())},requestId:d,arg:e,unwrap:function(){return h.then(Q)}})}}),{pending:i,rejected:o,fulfilled:r,typePrefix:e})}function Q(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var Y=function(e,t){return(n=e)&&"function"==typeof n.match?e.match(t):e(t);var n};function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return Y(e,t)}))}}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every((function(e){return Y(e,t)}))}}function ne(e,t){if(!e||!e.meta)return!1;var n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function re(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["pending"])}:re(e)?function(t){var n=e.map((function(e){return e.pending}));return ee.apply(void 0,n)(t)}:ie()(e[0])}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["rejected"])}:re(e)?function(t){var n=e.map((function(e){return e.rejected}));return ee.apply(void 0,n)(t)}:oe()(e[0])}function ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||re(e)?function(t){return te(oe.apply(void 0,e),n)(t)}:ue()(e[0])}function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["fulfilled"])}:re(e)?function(t){var n=e.map((function(e){return e.fulfilled}));return ee.apply(void 0,n)(t)}:ae()(e[0])}function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return ne(e,["pending","fulfilled","rejected"])}:re(e)?function(t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push(o.pending,o.rejected,o.fulfilled)}return ee.apply(void 0,n)(t)}:ce()(e[0])}var fe=function(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function")},le=function(){},se=function(e,t){return void 0===t&&(t=le),e.catch(t),e},de=function(e,t){e.addEventListener("abort",t,{once:!0})},pe=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},ve="listener",ye="completed",he="cancelled",ge="task-"+he,be="task-"+ye,me=ve+"-"+he,we=ve+"-"+ye,Oe=function(e){this.code=e,this.name="TaskAbortError",this.message="task "+he+" (reason: "+e+")"},Pe=function(e){if(e.aborted)throw new Oe(e.reason)},je=function(e){return se(new Promise((function(t,n){var r=function(){return n(new Oe(e.reason))};e.aborted?r():de(e,r)})))},Ae=function(e){return function(t){return se(Promise.race([je(e),t]).then((function(t){return Pe(e),t})))}},Se=function(e){var t=Ae(e);return function(e){return t(new Promise((function(t){return setTimeout(t,e)})))}},Ee=Object.assign,ke={},_e="listenerMiddleware",xe=function(e){return function(t){fe(t,"taskExecutor");var n,r=new AbortController;n=r,de(e,(function(){return pe(n,e.reason)}));var i,o,u=(i=function(){return w(void 0,null,(function(){var n;return f(this,(function(i){switch(i.label){case 0:return Pe(e),Pe(r.signal),[4,t({pause:Ae(r.signal),delay:Se(r.signal),signal:r.signal})];case 1:return n=i.sent(),Pe(r.signal),[2,n]}}))}))},o=function(){return pe(r,be)},w(void 0,null,(function(){var e;return f(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,i()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof Oe?"cancelled":"rejected",error:e}];case 4:return null==o||o(),[7];case 5:return[2]}}))})));return{result:Ae(e)(u),cancel:function(){pe(r,ge)}}}},Ie=function(e,t){return function(n,r){return se(function(n,r){return w(void 0,null,(function(){var i,o,u,a;return f(this,(function(c){switch(c.label){case 0:Pe(t),i=function(){},o=new Promise((function(t){i=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}})})),u=[je(t),o],null!=r&&u.push(new Promise((function(e){return setTimeout(e,r,null)}))),c.label=1;case 1:return c.trys.push([1,,3,4]),[4,Promise.race(u)];case 2:return a=c.sent(),Pe(t),[2,a];case 3:return i(),[7];case 4:return[2]}}))}))}(n,r))}},Me=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,i=e.predicate,o=e.effect;if(t)i=R(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return fe(o,"options.listener"),{predicate:i,type:t,effect:o}},De=function(e){var t=Me(e),n=t.type,r=t.predicate,i=t.effect;return{id:K(),effect:i,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},Te=function(e){return function(){e.forEach(Fe),e.clear()}},Re=function(e,t,n){try{e(t,n)}catch(e){setTimeout((function(){throw e}),0)}},Ce=R(_e+"/add"),ze=R(_e+"/removeAll"),Le=R(_e+"/remove"),Ve=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,l([_e+"/error"],e))},Fe=function(e){e.pending.forEach((function(e){pe(e,me)}))};function qe(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,i=e.onError,o=void 0===i?Ve:i;fe(o,"onError");var u=function(e){for(var t=0,r=Array.from(n.values());t<r.length;t++){var i=r[t];if(e(i))return i}},a=function(e){var t=u((function(t){return t.effect===e.effect}));return t||(t=De(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&Fe(e)}}(t)},c=function(e){var t=Me(e),n=t.type,r=t.effect,i=t.predicate,o=u((function(e){return("string"==typeof n?e.type===n:e.predicate===i)&&e.effect===r}));return o&&(o.unsubscribe(),e.cancelActive&&Fe(o)),!!o},l=function(e,i,u,c){return w(t,null,(function(){var t,l,s;return f(this,(function(f){switch(f.label){case 0:t=new AbortController,l=Ie(a,t.signal),f.label=1;case 1:return f.trys.push([1,3,4,5]),e.pending.add(t),[4,Promise.resolve(e.effect(i,Ee({},u,{getOriginalState:c,condition:function(e,t){return l(e,t).then(Boolean)},take:l,delay:Se(t.signal),pause:Ae(t.signal),extra:r,signal:t.signal,fork:xe(t.signal),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,r){e!==t&&(pe(e,me),r.delete(e))}))}})))];case 2:return f.sent(),[3,5];case 3:return(s=f.sent())instanceof Oe||Re(o,s,{raisedBy:"effect"}),[3,5];case 4:return pe(t,we),e.pending.delete(t),[7];case 5:return[2]}}))}))},s=Te(n);return{middleware:function(e){return function(t){return function(r){if(Ce.match(r))return a(r.payload);if(!ze.match(r)){if(Le.match(r))return c(r.payload);var i,u=e.getState(),f=function(){if(u===ke)throw new Error(_e+": getOriginalState can only be called synchronously");return u};try{if(i=t(r),n.size>0)for(var d=e.getState(),p=Array.from(n.values()),v=0,y=p;v<y.length;v++){var h=y[v],g=!1;try{g=h.predicate(r,d,u)}catch(e){g=!1,Re(o,e,{raisedBy:"predicate"})}g&&l(h,r,e,f)}}finally{u=ke}return i}s()}}},startListening:a,stopListening:c,clearListeners:s}}(0,e.pV)()})(),(window.yoast=window.yoast||{}).reduxJsToolkit=r})(); dist/externals/helpers.js 0000644 00000153215 15174677550 0011544 0 ustar 00 (()=>{var e={61117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(57147);const r=(e,t)=>{const n=((e,t)=>{for(const n in t)Object.hasOwn(t,n)&&(void 0!==e[n]&&""!==e[n]||(e[n]=t[n]));return e})(e,{dataType:"json",method:"POST",contentType:"application/json"});return void 0===n.headers&&""===n.headers||((e,t)=>{"jquery"===e&&Object.assign(t,{beforeSend:e=>{jQuery.each(t.headers,((t,n)=>{e.setRequestHeader(t,n)}))}}),"fetch"===e&&"json"===t.dataType&&Object.assign(t.headers,{Accepts:"application/json","Content-Type":"application/json"})})(t,n),"json"===n.dataType&&(n.data=JSON.stringify(n.data)),"fetch"===t&&Object.assign(n,{body:n.data}),n};t.default=(e,t)=>"undefined"!=typeof jQuery&&jQuery&&jQuery.ajax?((e,t)=>(Object.assign(t,{url:e}),new Promise(((e,n)=>{jQuery.ajax(t).done((t=>{e(t)})).fail((()=>{n("Wrong request")}))}))))(e,r(t,"jquery")):((e,t)=>{const n=fetch(e,t);return new Promise(((e,t)=>{n.then((n=>200===n.status?e(n.json()):t("Response status is not 200"))).catch((()=>t("Wrong request")))}))})(e,r(t,"fetch"))},70636:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StyledSvg=void 0;var r=s(n(85890)),o=s(n(99196)),i=s(n(98487)),a=n(92819);function s(e){return e&&e.__esModule?e:{default:e}}const u=t.StyledSvg=i.default.svg` width: ${e=>e.size}; height: ${e=>e.size}; flex: none; `;class l extends o.default.Component{render(){const{iconSet:e,icon:t,className:n,color:r,size:i}=this.props,s=e[t];if(!s)return console.warn(`Invalid icon name ("${t}") passed to the SvgIcon component.`),null;const l=s.path,c=s.viewbox,f=["yoast-svg-icon","yoast-svg-icon-"+t,n].filter(Boolean).join(" "),d=s.CustomComponent?s.CustomComponent:u;return o.default.createElement(d,{"aria-hidden":!0,role:"img",focusable:"false",size:i,className:f,xmlns:"http://www.w3.org/2000/svg",viewBox:c,fill:r},(0,a.isArray)(l)?l:o.default.createElement("path",{d:l}))}}l.propTypes={icon:r.default.string.isRequired,iconSet:r.default.object.isRequired,color:r.default.string,size:r.default.string,className:r.default.string},l.defaultProps={size:"16px",color:"currentColor",className:""},t.default=e=>{const t=({icon:t,className:n="",color:r="currentColor",size:i="16px"})=>o.default.createElement(l,{iconSet:e,icon:t,className:n,color:r,size:i});return t.propTypes={icon:r.default.string.isRequired,color:r.default.string,size:r.default.string,className:r.default.string},t}},47305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t,i)};var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56362));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function i(e,t,n){const o={};return o.id=(0,r.getXPathText)("child::content:slug",e,t,n),o.title=(0,r.getXPathText)("child::title",e,t),o.link=(0,r.getXPathText)("child::link",e,t),o.content=(0,r.getXPathText)("child::content:encoded",e,t,n),o.image=(0,r.getXPathText)("child::content:image",e,t,n),o.ctaButtonCopy=(0,r.getXPathText)("child::content:cta_button_copy",e,t,n),o.ctaButtonType=(0,r.getXPathText)("child::content:cta_button_type",e,t,n),o.ctaButtonUrl=(0,r.getXPathText)("child::content:cta_button_url",e,t,n),o.readMoreLinkText=(0,r.getXPathText)("child::content:read_more_link_text",e,t,n),o.isFree=(0,r.getXPathText)("child::content:is_free",e,t,n),o.isBundle=(0,r.getXPathText)("child::content:is_bundle",e,t,n),o}},56362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=0,n=i.parseFeedItem){return fetch(e).then((function(e){return e.text()})).then((function(e){return s(e,t,n)}))},t.getXPathText=a,t.parseFeed=s;var r,o=(r=n(22932))&&r.__esModule?r:{default:r},i=n(93435);function a(e,t,n=null,r=null){if(0===t.evaluate("count("+e+")",n||t,r,XPathResult.ANY_TYPE,null).numberValue)return;const o=t.evaluate(e,n||t,r,XPathResult.STRING_TYPE,null);return o.stringValue?o.stringValue:null}function s(e,t=0,n=i.parseFeedItem){return new Promise((function(r,i){try{"evaluate"in document==0&&o.default.install();const i=(new DOMParser).parseFromString(e,"application/xml"),s=i.createNSResolver(i.documentElement),u=function(e){const t={};return t.title=a("/rss/channel/title",e),t.description=a("/rss/channel/description",e),t.link=a("/rss/channel/link",e),t}(i);u.items=function(e,t,n,r){const o=function(e,t,n=null,r=null){return t.evaluate(e,n||t,r,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null)}("/rss/channel/item",e);let i=o.snapshotLength;const a=[];0!==n&&(i=Math.min(i,n));for(let n=0;n<i;n++){const i=o.snapshotItem(n);a.push(r(e,i,t))}return a}(i,s,t,n),r(u)}catch(e){i(e)}}))}},93435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t,i)},t.parseFeedItem=i;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56362));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function i(e,t,n){const o={};return o.title=(0,r.getXPathText)("child::title",e,t),o.link=(0,r.getXPathText)("child::link",e,t),o.content=(0,r.getXPathText)("child::content:encoded",e,t,n),o.description=(0,r.getXPathText)("child::description",e,t),o.creator=(0,r.getXPathText)("child::dc:creator",e,t,n),o.date=(0,r.getXPathText)("child::pubDate",e,t),o}},5878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValueFromHiddenInput=t.curryUpdateToHiddenInput=void 0;const n=e=>document.querySelector(e);t.curryUpdateToHiddenInput=(e,t=null)=>r=>{const o=n(e);if(o){const e=Array.isArray(r)?r.join(","):r;o.value=e}t&&t(r)},t.getValueFromHiddenInput=e=>{const t=n(e);return t?t.value:null}},59956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineElements=t.getBlocks=t.default=t.blockElements=void 0,t.isBlockElement=E,t.isInlineElement=_;var r,o,i=n(92819),a=(r=n(14429))&&r.__esModule?r:{default:r},s=t.blockElements=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],u=t.inlineElements=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],l=new RegExp("^("+s.join("|")+")$","i"),c=new RegExp("^("+u.join("|")+")$","i"),f=new RegExp("^<("+s.join("|")+")[^>]*?>$","i"),d=new RegExp("^</("+s.join("|")+")[^>]*?>$","i"),p=new RegExp("^<("+u.join("|")+")[^>]*>$","i"),h=new RegExp("^</("+u.join("|")+")[^>]*>$","i"),y=/^<([^>\s/]+)[^>]*>$/,g=/^<\/([^>\s]+)[^>]*>$/,b=/^[^<]+$/,m=/^<[^><]*$/,v=/<!--(.|[\r\n])*?-->/g,w=[];function E(e){return l.test(e)}function _(e){return c.test(e)}const x=t.getBlocks=(0,i.memoize)((function(e){var t=[],n=0,r="",s="",u="";return e=e.replace(v,""),w=[],(o=(0,a.default)((function(e){w.push(e)}))).addRule(b,"content"),o.addRule(m,"greater-than-sign-content"),o.addRule(f,"block-start"),o.addRule(d,"block-end"),o.addRule(p,"inline-start"),o.addRule(h,"inline-end"),o.addRule(y,"other-element-start"),o.addRule(g,"other-element-end"),o.onText(e),o.end(),(0,i.forEach)(w,(function(e,o){var i=w[o+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==n||"block-start"!==i.type&&"block-end"!==i.type)?s+=e.src:(s+=e.src,t.push(s),r="",s="",u="");break;case"block-start":0!==n&&(""!==s.trim()&&t.push(s),s="",u=""),n++,r=e.src;break;case"block-end":n--,u=e.src,""!==r&&""!==u?t.push(r+s+u):""!==s.trim()&&t.push(s),r="",s="",u=""}n<0&&(n=0)})),t}));t.default={blockElements:s,inlineElements:u,isBlockElement:E,isInlineElement:_,getBlocks:x}},29938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=e=>{var t=document.createElement("textarea");return t.innerHTML=e,t.value}},56101:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getDirectionalStyle:!0,sendRequest:!0,decodeHTML:!0,getFeed:!0,getCourseFeed:!0,getPostFeed:!0,createSvgIconComponent:!0,getWordBoundaries:!0,strings:!0,join:!0,makeOutboundLink:!0,validateFacebookImage:!0,validateTwitterImage:!0};Object.defineProperty(t,"createSvgIconComponent",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"getCourseFeed",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"getDirectionalStyle",{enumerable:!0,get:function(){return o.getDirectionalStyle}}),Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getPostFeed",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"getWordBoundaries",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"makeOutboundLink",{enumerable:!0,get:function(){return h.makeOutboundLink}}),Object.defineProperty(t,"sendRequest",{enumerable:!0,get:function(){return i.default}}),t.strings=void 0,Object.defineProperty(t,"validateFacebookImage",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"validateTwitterImage",{enumerable:!0,get:function(){return g.default}});var o=n(79124),i=v(n(61117)),a=v(n(29938)),s=v(n(56362)),u=v(n(47305)),l=v(n(93435)),c=v(n(70636)),f=v(n(93988)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(80292));t.strings=d;var p=v(n(15421)),h=n(5850),y=v(n(11192)),g=v(n(69871)),b=n(5878);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))}))},15421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="-"){return e.filter(Boolean).join(t)}},5850:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeOutboundLink=void 0;var r=s(n(99196)),o=s(n(85890)),i=n(65736),a=n(1571);function s(e){return e&&e.__esModule?e:{default:e}}t.makeOutboundLink=(e="a")=>{class t extends r.default.Component{constructor(e){super(e),this.isYoastLink=this.isYoastLink.bind(this)}isYoastLink(e){return/yoast\.com|yoast\.test|yoa\.st/.test(e)}render(){if(!this.props.href)return null;const t=this.isYoastLink(this.props.href),n=Object.assign({},this.props,{target:"_blank",rel:t?this.props.rel:"noopener"});return r.default.createElement(e,n,this.props.children,r.default.createElement(a.A11yNotice,null,/* translators: Hidden accessibility text. */ (0,i.__)("(Opens in a new browser tab)","wordpress-seo")))}}return t.propTypes={children:o.default.oneOfType([o.default.node]),href:o.default.string,rel:o.default.string},t.defaultProps={children:null,href:null,rel:null},t}},11192:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateType=t.validateSize=t.default=void 0;var r,o=n(65736),i=(r=n(59994))&&r.__esModule?r:{default:r};const a=e=>{const{width:t,height:n}=e,r=(0,o.sprintf)(/* Translators: %1$d expands to the minimum width, %2$d expands to the minimum height */ (0,o.__)("Your image dimensions are not suitable. The minimum dimensions are %1$dx%2$d pixels.","wordpress-seo"),200,200);return!(t<200||n<200)||r};t.validateSize=a;const s=e=>{const{type:t}=e,n=(0,o.sprintf)( /* Translators: %1$s expands to the jpg format, %2$s expands to the png format, %3$s expands to the webp format, %4$s expands to the gif format. */ (0,o.__)("The format of the uploaded image is not supported. The supported formats are: %1$s, %2$s, %3$s and %4$s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","png","gif","jpeg","webp"].includes(t)||n};t.validateType=s;const u=(0,i.default)([a,s]);t.default=u},69871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validatesBytes=t.validateType=t.validateSize=t.default=void 0;var r,o=n(65736),i=(r=n(59994))&&r.__esModule?r:{default:r};const a=4096,s=4096,u=(e,t)=>{const{width:n,height:r}=e,i=(0,o.__)("Your image dimensions are not suitable. The minimum dimensions are %1$dx%2$d pixels. The maximum dimensions are %3$dx%4$d pixels.","wordpress-seo"),u=n>a||r>s; /* Translators: %1$d expands to the minimum width, %2$d expands to the minimum height, %3$d expands to the maximum width, %4$d expands to the maximum height. */return t&&(n<300||r<157||u)?(0,o.sprintf)(i,300,157,a,s):!(n<200||r<200||u)||(0,o.sprintf)(i,200,200,a,s)};t.validateSize=u;const l=e=>{const{type:t}=e,n=(0,o.sprintf)(/* Translators: %1$s expands to the gif format, %2$s expands to the gif format. */ (0,o.__)("You have uploaded a %1$s. Please note that, if it’s an animated %2$s, only the first frame will be used.","wordpress-seo"),"GIF","GIF"),r=(0,o.sprintf)( /* Translators: %1$s expands to the jpg format, %2$s expands to the png format, %3$s expands to the webp format, %4$s expands to the gif format. */ (0,o.__)("The format of the uploaded image is not supported. The supported formats are: %1$s, %2$s, %3$s and %4$s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","jpeg","png","webp"].includes(t)||("gif"===t?n:r)};t.validateType=l;const c=e=>{const{bytes:t}=e,n=(0,o.sprintf)(/* translators: %1$s expands to X, %2$s expands to the 5MB size. */ (0,o.__)("The file size of the uploaded image is too large for %1$s. File size must be less than %2$s.","wordpress-seo"),"X","5MB");return!(t>=5)||n};t.validatesBytes=c;const f=(0,i.default)([u,l,c]);t.default=f},59994:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=e=>t=>e.map((e=>e(t))).filter((e=>!0!==e))},80292:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"stripHTMLTags",{enumerable:!0,get:function(){return o.stripFullTags}}),Object.defineProperty(t,"stripSpaces",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"stripTagsFromHtmlString",{enumerable:!0,get:function(){return a.stripTagsFromHtmlString}});var r,o=n(49583),i=(r=n(15008))&&r.__esModule?r:{default:r},a=n(57427)},49583:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var r,o=(r=n(15008))&&r.__esModule?r:{default:r},i=n(59956),a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),s=new RegExp("</("+i.blockElements.join("|")+")[^>]*?>$","i"),u=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=u;var l=function(e){return(e=e.replace(a,"")).replace(s,"")};t.stripBlockTagsAtStartEnd=l;var c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,o.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:u,stripBlockTagsAtStartEnd:l}},15008:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")}},57427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTagsFromHtmlString=void 0;const n=["script","style"],r=[":","https:","http:"],o={a:["href","target","rel"]},i=(e,t,a)=>{const s=[];e.forEach((e=>{if(e.nodeType!==Node.ELEMENT_NODE)return;const u=e.nodeName.toLowerCase();n.includes(u)?e.remove():(i(e.childNodes,t,a),t.includes(u)?((e,t)=>{e.getAttributeNames().forEach((n=>{t.includes(n)?"href"===n&&"a"===e.nodeName.toLowerCase()&&(r.includes(e.protocol)||e.removeAttribute(n)):e.removeAttribute(n)}))})(e,a[u]||o[u]||[]):s.push(e))})),s.forEach((e=>e.replaceWith(...e.childNodes)))};t.stripTagsFromHtmlString=(e,t=[],n={})=>{const r=(new DOMParser).parseFromString(e,"text/html");return i(r.body.childNodes,t,n),r.body.innerHTML}},79124:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDirectionalStyle=function(e,t){return n=>n.theme.isRtl?t:e}},1571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yNotice=void 0;var r,o=(r=n(98487))&&r.__esModule?r:{default:r};t.A11yNotice=o.default.span` border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; // Safari+VoiceOver bug see PR 308 and My Yoast issues 445, 712 and PR 715. transform: translateY(1em); `},93988:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[" ","\\n","\\r","\\t"," "," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">"]}},14429:e=>{var t=function(e,t){var n;for(n=0;n<e.length;n++)if(e[n].regex.test(t))return e[n]},n=function(e,n){var r,o,i;for(r=0;r<n.length;r++)if(o=t(e,n.substring(0,r+1)))i=o;else if(i)return{max_index:r,rule:i};return i?{max_index:n.length,rule:i}:void 0};e.exports=function(e){var r="",o=[],i=1,a=1,s=function(t,n){e({type:n,src:t,line:i,col:a});var r=t.split("\n");i+=r.length-1,a=(r.length>1?1:a)+r[r.length-1].length};return{addRule:function(e,t){o.push({regex:e,type:t})},onText:function(e){for(var t=r+e,i=n(o,t);i&&i.max_index!==t.length;)s(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=n(o,t);r=t},end:function(){if(0!==r.length){var e=t(o,r);if(!e){var n=new Error("unable to tokenize");throw n.tokenizer2={buffer:r,line:i,col:a},n}s(r,e.type)}}}}},57147:function(){!function(e){"use strict";if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,i="ArrayBuffer"in e;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(e){return e&&DataView.prototype.isPrototypeOf(e)},u=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};h.prototype.append=function(e,t){e=f(e),t=d(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},h.prototype.delete=function(e){delete this.map[f(e)]},h.prototype.get=function(e){var t=this.map[f(e)];return t?t[0]:null},h.prototype.getAll=function(e){return this.map[f(e)]||[]},h.prototype.has=function(e){return this.map.hasOwnProperty(f(e))},h.prototype.set=function(e,t){this.map[f(e)]=[d(t)]},h.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach((function(n){this.map[n].forEach((function(r){e.call(t,r,n,this)}),this)}),this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},n&&(h.prototype[Symbol.iterator]=h.prototype.entries);var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},v.call(w.prototype),v.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var c=[301,302,303,307,308];_.redirect=function(e,t){if(-1===c.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},e.Headers=h,e.Request=w,e.Response=_,e.fetch=function(e,t){return new Promise((function(n,o){var i=new w(e,t),a=new XMLHttpRequest;a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new h,e.split("\r\n").forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new _(o,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function f(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function y(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(i&&r&&s(e))this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(e)&&!u(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=m(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var e,t,n,r=y(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=g(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function w(e,t){var n,r,o=(t=t||{}).body;if("string"==typeof e)this.url=e;else{if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),l.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function E(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function _(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},22932:(e,t,n)=>{(function(){"use strict";var t=this;function n(e){return"string"==typeof e}function r(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function i(e,t,n){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:o).apply(null,arguments)}function a(e){var t=ae;function n(){}n.prototype=t.prototype,e.G=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.F=function(e,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return t.prototype[n].apply(e,o)}}var s=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function u(e,t){return-1!=e.indexOf(t)}function l(e,t){return e<t?-1:e>t?1:0}var c,f=Array.prototype.indexOf?function(e,t,n){return Array.prototype.indexOf.call(e,t,n)}:function(e,t,r){if(r=null==r?0:0>r?Math.max(0,e.length+r):r,n(e))return n(t)&&1==t.length?e.indexOf(t,r):-1;for(;r<e.length;r++)if(r in e&&e[r]===t)return r;return-1},d=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(e,t,r){for(var o=e.length,i=n(e)?e.split(""):e,a=0;a<o;a++)a in i&&t.call(r,i[a],a,e)},p=Array.prototype.filter?function(e,t,n){return Array.prototype.filter.call(e,t,n)}:function(e,t,r){for(var o=e.length,i=[],a=0,s=n(e)?e.split(""):e,u=0;u<o;u++)if(u in s){var l=s[u];t.call(r,l,u,e)&&(i[a++]=l)}return i},h=Array.prototype.reduce?function(e,t,n,r){return r&&(t=i(t,r)),Array.prototype.reduce.call(e,t,n)}:function(e,t,n,r){var o=n;return d(e,(function(n,i){o=t.call(r,o,n,i,e)})),o},y=Array.prototype.some?function(e,t,n){return Array.prototype.some.call(e,t,n)}:function(e,t,r){for(var o=e.length,i=n(e)?e.split(""):e,a=0;a<o;a++)if(a in i&&t.call(r,i[a],a,e))return!0;return!1};e:{var g=t.navigator;if(g){var b=g.userAgent;if(b){c=b;break e}}c=""}var m,v,w=u(c,"Opera")||u(c,"OPR"),E=u(c,"Trident")||u(c,"MSIE"),_=u(c,"Edge"),x=u(c,"Gecko")&&!(u(c.toLowerCase(),"webkit")&&!u(c,"Edge"))&&!(u(c,"Trident")||u(c,"MSIE"))&&!u(c,"Edge"),T=u(c.toLowerCase(),"webkit")&&!u(c,"Edge");function P(){var e=t.document;return e?e.documentMode:void 0}e:{var O="",N=(v=c,x?/rv\:([^\);]+)(\)|;)/.exec(v):_?/Edge\/([\d\.]+)/.exec(v):E?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(v):T?/WebKit\/(\S+)/.exec(v):w?/(?:Version)[ \/]?(\S+)/.exec(v):void 0);if(N&&(O=N?N[1]:""),E){var j=P();if(null!=j&&j>parseFloat(O)){m=String(j);break e}}m=O}var S={};function A(e){if(!S[e]){for(var t=0,n=s(String(m)).split("."),r=s(String(e)).split("."),o=Math.max(n.length,r.length),i=0;0==t&&i<o;i++){var a=n[i]||"",u=r[i]||"",c=/(\d*)(\D*)/g,f=/(\d*)(\D*)/g;do{var d=c.exec(a)||["","",""],p=f.exec(u)||["","",""];if(0==d[0].length&&0==p[0].length)break;t=l(0==d[1].length?0:parseInt(d[1],10),0==p[1].length?0:parseInt(p[1],10))||l(0==d[2].length,0==p[2].length)||l(d[2],p[2])}while(0==t)}S[e]=0<=t}}var R=t.document,k=R&&E?P()||("CSS1Compat"==R.compatMode?parseInt(m,10):5):void 0,I=E&&!(9<=Number(k)),D=E&&!(8<=Number(k));function M(e,t,n,r){this.a=e,this.nodeName=n,this.nodeValue=r,this.nodeType=2,this.parentNode=this.ownerElement=t}function B(e,t){var n=D&&"href"==t.nodeName?e.getAttribute(t.nodeName,2):t.nodeValue;return new M(t,e,t.nodeName,n)}function F(e){var t=null;if(1==(n=e.nodeType)&&(t=null==(t=null==(t=e.textContent)||null==t?e.innerText:t)||null==t?"":t),"string"!=typeof t)if(I&&"title"==e.nodeName.toLowerCase()&&1==n)t=e.text;else if(9==n||1==n){e=9==n?e.documentElement:e.firstChild;var n=0,r=[];for(t="";e;){do{1!=e.nodeType&&(t+=e.nodeValue),I&&"title"==e.nodeName.toLowerCase()&&(t+=e.text),r[n++]=e}while(e=e.firstChild);for(;n&&!(e=r[--n].nextSibling););}}else t=e.nodeValue;return""+t}function C(e,t,n){if(null===t)return!0;try{if(!e.getAttribute)return!1}catch(e){return!1}return D&&"class"==t&&(t="className"),null==n?!!e.getAttribute(t):e.getAttribute(t,2)==n}function U(e,t,r,o,i){return(I?L:$).call(null,e,t,n(r)?r:null,n(o)?o:null,i||new Q)}function L(e,t,n,r,o){if(e instanceof De||8==e.b||n&&null===e.b){var i=t.all;if(!i)return o;if("*"!=(e=q(e))&&!(i=t.getElementsByTagName(e)))return o;if(n){for(var a=[],s=0;t=i[s++];)C(t,n,r)&&a.push(t);i=a}for(s=0;t=i[s++];)"*"==e&&"!"==t.tagName||ee(o,t);return o}return H(e,t,n,r,o),o}function $(e,t,n,r,o){return t.getElementsByName&&r&&"name"==n&&!E?(t=t.getElementsByName(r),d(t,(function(t){e.a(t)&&ee(o,t)}))):t.getElementsByClassName&&r&&"class"==n?(t=t.getElementsByClassName(r),d(t,(function(t){t.className==r&&e.a(t)&&ee(o,t)}))):e instanceof Pe?H(e,t,n,r,o):t.getElementsByTagName&&(t=t.getElementsByTagName(e.f()),d(t,(function(e){C(e,n,r)&&ee(o,e)}))),o}function Y(e,t,n,r,o){var i;if((e instanceof De||8==e.b||n&&null===e.b)&&(i=t.childNodes)){var a=q(e);return"*"==a||(i=p(i,(function(e){return e.tagName&&e.tagName.toLowerCase()==a})),i)?(n&&(i=p(i,(function(e){return C(e,n,r)}))),d(i,(function(e){"*"==a&&("!"==e.tagName||"*"==a&&1!=e.nodeType)||ee(o,e)})),o):o}return X(e,t,n,r,o)}function X(e,t,n,r,o){for(t=t.firstChild;t;t=t.nextSibling)C(t,n,r)&&e.a(t)&&ee(o,t);return o}function H(e,t,n,r,o){for(t=t.firstChild;t;t=t.nextSibling)C(t,n,r)&&e.a(t)&&ee(o,t),H(e,t,n,r,o)}function q(e){if(e instanceof Pe){if(8==e.b)return"!";if(null===e.b)return"*"}return e.f()}function z(e,t){if(!e||!t)return!1;if(e.contains&&1==t.nodeType)return e==t||e.contains(t);if(void 0!==e.compareDocumentPosition)return e==t||!!(16&e.compareDocumentPosition(t));for(;t&&e!=t;)t=t.parentNode;return t==e}function V(e,n){if(e==n)return 0;if(e.compareDocumentPosition)return 2&e.compareDocumentPosition(n)?1:-1;if(E&&!(9<=Number(k))){if(9==e.nodeType)return-1;if(9==n.nodeType)return 1}if("sourceIndex"in e||e.parentNode&&"sourceIndex"in e.parentNode){var r=1==e.nodeType,o=1==n.nodeType;if(r&&o)return e.sourceIndex-n.sourceIndex;var i=e.parentNode,a=n.parentNode;return i==a?G(e,n):!r&&z(i,n)?-1*W(e,n):!o&&z(a,e)?W(n,e):(r?e.sourceIndex:i.sourceIndex)-(o?n.sourceIndex:a.sourceIndex)}return(r=(o=9==e.nodeType?e:e.ownerDocument||e.document).createRange()).selectNode(e),r.collapse(!0),(o=o.createRange()).selectNode(n),o.collapse(!0),r.compareBoundaryPoints(t.Range.START_TO_END,o)}function W(e,t){var n=e.parentNode;if(n==t)return-1;for(var r=t;r.parentNode!=n;)r=r.parentNode;return G(r,e)}function G(e,t){for(var n=t;n=n.previousSibling;)if(n==e)return-1;return 1}function Q(){this.b=this.a=null,this.l=0}function J(e){this.node=e,this.a=this.b=null}function K(e,t){if(!e.a)return t;if(!t.a)return e;for(var n=e.a,r=t.a,o=null,i=null,a=0;n&&r;){i=n.node;var s=r.node;i==s||i instanceof M&&s instanceof M&&i.a==s.a?(i=n,n=n.a,r=r.a):0<V(n.node,r.node)?(i=r,r=r.a):(i=n,n=n.a),(i.b=o)?o.a=i:e.a=i,o=i,a++}for(i=n||r;i;)i.b=o,o=o.a=i,a++,i=i.a;return e.b=o,e.l=a,e}function Z(e,t){var n=new J(t);n.a=e.a,e.b?e.a.b=n:e.a=e.b=n,e.a=n,e.l++}function ee(e,t){var n=new J(t);n.b=e.b,e.a?e.b.a=n:e.a=e.b=n,e.b=n,e.l++}function te(e){return(e=e.a)?e.node:null}function ne(e){return(e=te(e))?F(e):""}function re(e,t){return new oe(e,!!t)}function oe(e,t){this.f=e,this.b=(this.c=t)?e.b:e.a,this.a=null}function ie(e){var t=e.b;if(null==t)return null;var n=e.a=t;return e.b=e.c?t.b:t.a,n.node}function ae(e){this.i=e,this.b=this.g=!1,this.f=null}function se(e){return"\n "+e.toString().split("\n").join("\n ")}function ue(e,t){e.g=t}function le(e,t){e.b=t}function ce(e,t){var n=e.a(t);return n instanceof Q?+ne(n):+n}function fe(e,t){var n=e.a(t);return n instanceof Q?ne(n):""+n}function de(e,t){var n=e.a(t);return n instanceof Q?!!n.l:!!n}function pe(e,t,n){ae.call(this,e.i),this.c=e,this.h=t,this.o=n,this.g=t.g||n.g,this.b=t.b||n.b,this.c==me&&(n.b||n.g||4==n.i||0==n.i||!t.f?t.b||t.g||4==t.i||0==t.i||!n.f||(this.f={name:n.f.name,s:t}):this.f={name:t.f.name,s:n})}function he(e,t,n,r,o){var i;if(t=t.a(r),n=n.a(r),t instanceof Q&&n instanceof Q){for(r=ie(t=re(t));r;r=ie(t))for(i=ie(o=re(n));i;i=ie(o))if(e(F(r),F(i)))return!0;return!1}if(t instanceof Q||n instanceof Q){t instanceof Q?(o=t,r=n):(o=n,r=t);for(var a=typeof r,s=ie(i=re(o));s;s=ie(i)){switch(a){case"number":s=+F(s);break;case"boolean":s=!!F(s);break;case"string":s=F(s);break;default:throw Error("Illegal primitive type for comparison.")}if(o==t&&e(s,r)||o==n&&e(r,s))return!0}return!1}return o?"boolean"==typeof t||"boolean"==typeof n?e(!!t,!!n):"number"==typeof t||"number"==typeof n?e(+t,+n):e(t,n):e(+t,+n)}function ye(e,t,n,r){this.a=e,this.w=t,this.i=n,this.m=r}!x&&!E||E&&9<=Number(k)||x&&A("1.9.1"),E&&A("9"),a(pe),pe.prototype.a=function(e){return this.c.m(this.h,this.o,e)},pe.prototype.toString=function(){return"Binary Expression: "+this.c+se(this.h)+se(this.o)},ye.prototype.toString=function(){return this.a};var ge={};function be(e,t,n,r){if(ge.hasOwnProperty(e))throw Error("Binary operator already created: "+e);return e=new ye(e,t,n,r),ge[e.toString()]=e}be("div",6,1,(function(e,t,n){return ce(e,n)/ce(t,n)})),be("mod",6,1,(function(e,t,n){return ce(e,n)%ce(t,n)})),be("*",6,1,(function(e,t,n){return ce(e,n)*ce(t,n)})),be("+",5,1,(function(e,t,n){return ce(e,n)+ce(t,n)})),be("-",5,1,(function(e,t,n){return ce(e,n)-ce(t,n)})),be("<",4,2,(function(e,t,n){return he((function(e,t){return e<t}),e,t,n)})),be(">",4,2,(function(e,t,n){return he((function(e,t){return e>t}),e,t,n)})),be("<=",4,2,(function(e,t,n){return he((function(e,t){return e<=t}),e,t,n)})),be(">=",4,2,(function(e,t,n){return he((function(e,t){return e>=t}),e,t,n)}));var me=be("=",3,2,(function(e,t,n){return he((function(e,t){return e==t}),e,t,n,!0)}));function ve(e,t,n){this.a=e,this.b=t||1,this.f=n||1}function we(e,t){if(t.a.length&&4!=e.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");ae.call(this,e.i),this.c=e,this.h=t,this.g=e.g,this.b=e.b}function Ee(e,t){if(t.length<e.A)throw Error("Function "+e.j+" expects at least"+e.A+" arguments, "+t.length+" given");if(null!==e.v&&t.length>e.v)throw Error("Function "+e.j+" expects at most "+e.v+" arguments, "+t.length+" given");e.B&&d(t,(function(t,n){if(4!=t.i)throw Error("Argument "+n+" to function "+e.j+" is not of type Nodeset: "+t)})),ae.call(this,e.i),this.h=e,this.c=t,ue(this,e.g||y(t,(function(e){return e.g}))),le(this,e.D&&!t.length||e.C&&!!t.length||y(t,(function(e){return e.b})))}function _e(e,t,n,r,o,i,a,s,u){this.j=e,this.i=t,this.g=n,this.D=r,this.C=o,this.m=i,this.A=a,this.v=void 0!==s?s:a,this.B=!!u}be("!=",3,2,(function(e,t,n){return he((function(e,t){return e!=t}),e,t,n,!0)})),be("and",2,2,(function(e,t,n){return de(e,n)&&de(t,n)})),be("or",1,2,(function(e,t,n){return de(e,n)||de(t,n)})),a(we),we.prototype.a=function(e){return e=this.c.a(e),$e(this.h,e)},we.prototype.toString=function(){return"Filter:"+se(this.c)+se(this.h)},a(Ee),Ee.prototype.a=function(e){return this.h.m.apply(null,function(e){return Array.prototype.concat.apply(Array.prototype,arguments)}(e,this.c))},Ee.prototype.toString=function(){var e="Function: "+this.h;if(this.c.length){var t=h(this.c,(function(e,t){return e+se(t)}),"Arguments:");e+=se(t)}return e},_e.prototype.toString=function(){return this.j};var xe={};function Te(e,t,n,r,o,i,a,s){if(xe.hasOwnProperty(e))throw Error("Function already created: "+e+".");xe[e]=new _e(e,t,n,r,!1,o,i,a,s)}function Pe(e,t){switch(this.h=e,this.c=void 0!==t?t:null,this.b=null,e){case"comment":this.b=8;break;case"text":this.b=3;break;case"processing-instruction":this.b=7;break;case"node":break;default:throw Error("Unexpected argument")}}function Oe(e){return"comment"==e||"text"==e||"processing-instruction"==e||"node"==e}function Ne(e){this.b=e,this.a=0}Te("boolean",2,!1,!1,(function(e,t){return de(t,e)}),1),Te("ceiling",1,!1,!1,(function(e,t){return Math.ceil(ce(t,e))}),1),Te("concat",3,!1,!1,(function(e,t){return h(function(e,t,n){return 2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,n)}(arguments,1),(function(t,n){return t+fe(n,e)}),"")}),2,null),Te("contains",2,!1,!1,(function(e,t,n){return u(fe(t,e),fe(n,e))}),2),Te("count",1,!1,!1,(function(e,t){return t.a(e).l}),1,1,!0),Te("false",2,!1,!1,(function(){return!1}),0),Te("floor",1,!1,!1,(function(e,t){return Math.floor(ce(t,e))}),1),Te("id",4,!1,!1,(function(e,t){var r=9==(o=e.a).nodeType?o:o.ownerDocument,o=fe(t,e).split(/\s+/),i=[];d(o,(function(e){!(e=function(e){if(I){var t=r.all[e];if(t){if(t.nodeType&&e==t.id)return t;if(t.length)return function(e,t){var r;e:{r=e.length;for(var o=n(e)?e.split(""):e,i=0;i<r;i++)if(i in o&&t.call(void 0,o[i],i,e)){r=i;break e}r=-1}return 0>r?null:n(e)?e.charAt(r):e[r]}(t,(function(t){return e==t.id}))}return null}return r.getElementById(e)}(e))||0<=f(i,e)||i.push(e)})),i.sort(V);var a=new Q;return d(i,(function(e){ee(a,e)})),a}),1),Te("lang",2,!1,!1,(function(){return!1}),1),Te("last",1,!0,!1,(function(e){if(1!=arguments.length)throw Error("Function last expects ()");return e.f}),0),Te("local-name",3,!1,!0,(function(e,t){var n=t?te(t.a(e)):e.a;return n?n.localName||n.nodeName.toLowerCase():""}),0,1,!0),Te("name",3,!1,!0,(function(e,t){var n=t?te(t.a(e)):e.a;return n?n.nodeName.toLowerCase():""}),0,1,!0),Te("namespace-uri",3,!0,!1,(function(){return""}),0,1,!0),Te("normalize-space",3,!1,!0,(function(e,t){return(t?fe(t,e):F(e.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}),0,1),Te("not",2,!1,!1,(function(e,t){return!de(t,e)}),1),Te("number",1,!1,!0,(function(e,t){return t?ce(t,e):+F(e.a)}),0,1),Te("position",1,!0,!1,(function(e){return e.b}),0),Te("round",1,!1,!1,(function(e,t){return Math.round(ce(t,e))}),1),Te("starts-with",2,!1,!1,(function(e,t,n){return t=fe(t,e),e=fe(n,e),0==t.lastIndexOf(e,0)}),2),Te("string",3,!1,!0,(function(e,t){return t?fe(t,e):F(e.a)}),0,1),Te("string-length",1,!1,!0,(function(e,t){return(t?fe(t,e):F(e.a)).length}),0,1),Te("substring",3,!1,!1,(function(e,t,n,r){if(n=ce(n,e),isNaN(n)||1/0==n||-1/0==n)return"";if(r=r?ce(r,e):1/0,isNaN(r)||-1/0===r)return"";n=Math.round(n)-1;var o=Math.max(n,0);return e=fe(t,e),1/0==r?e.substring(o):e.substring(o,n+Math.round(r))}),2,3),Te("substring-after",3,!1,!1,(function(e,t,n){return t=fe(t,e),e=fe(n,e),-1==(n=t.indexOf(e))?"":t.substring(n+e.length)}),2),Te("substring-before",3,!1,!1,(function(e,t,n){return t=fe(t,e),e=fe(n,e),-1==(e=t.indexOf(e))?"":t.substring(0,e)}),2),Te("sum",1,!1,!1,(function(e,t){for(var n=re(t.a(e)),r=0,o=ie(n);o;o=ie(n))r+=+F(o);return r}),1,1,!0),Te("translate",3,!1,!1,(function(e,t,n,r){t=fe(t,e),n=fe(n,e);var o=fe(r,e);for(e={},r=0;r<n.length;r++){var i=n.charAt(r);i in e||(e[i]=o.charAt(r))}for(n="",r=0;r<t.length;r++)n+=(i=t.charAt(r))in e?e[i]:i;return n}),3),Te("true",2,!1,!1,(function(){return!0}),0),Pe.prototype.a=function(e){return null===this.b||this.b==e.nodeType},Pe.prototype.f=function(){return this.h},Pe.prototype.toString=function(){var e="Kind Test: "+this.h;return null===this.c||(e+=se(this.c)),e};var je=/\$?(?:(?![0-9-\.])(?:\*|[\w-\.]+):)?(?![0-9-\.])(?:\*|[\w-\.]+)|\/\/|\.\.|::|\d+(?:\.\d*)?|\.\d+|"[^"]*"|'[^']*'|[!<>]=|\s+|./g,Se=/^\s/;function Ae(e,t){return e.b[e.a+(t||0)]}function Re(e){return e.b[e.a++]}function ke(e){return e.b.length<=e.a}function Ie(e){ae.call(this,3),this.c=e.substring(1,e.length-1)}function De(e,t){var n;this.j=e.toLowerCase(),n="*"==this.j?"*":"http://www.w3.org/1999/xhtml",this.c=t?t.toLowerCase():n}function Me(e,t){if(ae.call(this,e.i),this.h=e,this.c=t,this.g=e.g,this.b=e.b,1==this.c.length){var n=this.c[0];n.u||n.c!=ze||"*"!=(n=n.o).f()&&(this.f={name:n.f(),s:null})}}function Be(){ae.call(this,4)}function Fe(){ae.call(this,4)}function Ce(e){return"/"==e||"//"==e}function Ue(e){ae.call(this,4),this.c=e,ue(this,y(this.c,(function(e){return e.g}))),le(this,y(this.c,(function(e){return e.b})))}function Le(e,t){this.a=e,this.b=!!t}function $e(e,t,n){for(n=n||0;n<e.a.length;n++)for(var r,o=e.a[n],i=re(t),a=t.l,s=0;r=ie(i);s++){var u=e.b?a-s:s+1;if("number"==typeof(r=o.a(new ve(r,u,a))))u=u==r;else if("string"==typeof r||"boolean"==typeof r)u=!!r;else{if(!(r instanceof Q))throw Error("Predicate.evaluate returned an unexpected type.");u=0<r.l}if(!u){if(r=(u=i).f,!(c=u.a))throw Error("Next must be called at least once before remove.");var l=c.b,c=c.a;l?l.a=c:r.a=c,c?c.b=l:r.b=l,r.l--,u.a=null}}return t}function Ye(e,t,n,r){ae.call(this,4),this.c=e,this.o=t,this.h=n||new Le([]),this.u=!!r,t=0<(t=this.h).a.length?t.a[0].f:null,e.b&&t&&(e=t.name,e=I?e.toLowerCase():e,this.f={name:e,s:t.s});e:{for(e=this.h,t=0;t<e.a.length;t++)if((n=e.a[t]).g||1==n.i||0==n.i){e=!0;break e}e=!1}this.g=e}function Xe(e,t,n,r){this.j=e,this.f=t,this.a=n,this.b=r}a(Ie),Ie.prototype.a=function(){return this.c},Ie.prototype.toString=function(){return"Literal: "+this.c},De.prototype.a=function(e){var t=e.nodeType;return!(1!=t&&2!=t||(t=void 0!==e.localName?e.localName:e.nodeName,"*"!=this.j&&this.j!=t.toLowerCase()||"*"!=this.c&&this.c!=(e.namespaceURI?e.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")))},De.prototype.f=function(){return this.j},De.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.c?"":this.c+":")+this.j},a(Me),a(Be),Be.prototype.a=function(e){var t=new Q;return 9==(e=e.a).nodeType?ee(t,e):ee(t,e.ownerDocument),t},Be.prototype.toString=function(){return"Root Helper Expression"},a(Fe),Fe.prototype.a=function(e){var t=new Q;return ee(t,e.a),t},Fe.prototype.toString=function(){return"Context Helper Expression"},Me.prototype.a=function(e){var t=this.h.a(e);if(!(t instanceof Q))throw Error("Filter expression must evaluate to nodeset.");for(var n=0,r=(e=this.c).length;n<r&&t.l;n++){var o,i=e[n],a=re(t,i.c.a);if(i.g||i.c!=Ge)if(i.g||i.c!=Je)for(o=ie(a),t=i.a(new ve(o));null!=(o=ie(a));)t=K(t,o=i.a(new ve(o)));else o=ie(a),t=i.a(new ve(o));else{for(o=ie(a);(t=ie(a))&&(!o.contains||o.contains(t))&&8&t.compareDocumentPosition(o);o=t);t=i.a(new ve(o))}}return t},Me.prototype.toString=function(){var e;if(e="Path Expression:"+se(this.h),this.c.length){var t=h(this.c,(function(e,t){return e+se(t)}),"Steps:");e+=se(t)}return e},a(Ue),Ue.prototype.a=function(e){var t=new Q;return d(this.c,(function(n){if(!((n=n.a(e))instanceof Q))throw Error("Path expression must evaluate to NodeSet.");t=K(t,n)})),t},Ue.prototype.toString=function(){return h(this.c,(function(e,t){return e+se(t)}),"Union Expression:")},Le.prototype.toString=function(){return h(this.a,(function(e,t){return e+se(t)}),"Predicates:")},a(Ye),Ye.prototype.a=function(e){var t=e.a,n=null,r=null,o=null,i=0;if((n=this.f)&&(r=n.name,o=n.s?fe(n.s,e):null,i=1),this.u)if(this.g||this.c!=Ve)if(t=ie(e=re(new Ye(We,new Pe("node")).a(e))))for(n=this.m(t,r,o,i);null!=(t=ie(e));)n=K(n,this.m(t,r,o,i));else n=new Q;else n=U(this.o,t,r,o),n=$e(this.h,n,i);else n=this.m(e.a,r,o,i);return n},Ye.prototype.m=function(e,t,n,r){return e=this.c.f(this.o,e,t,n),$e(this.h,e,r)},Ye.prototype.toString=function(){var e;if(e="Step:"+se("Operator: "+(this.u?"//":"/")),this.c.j&&(e+=se("Axis: "+this.c)),e+=se(this.o),this.h.a.length){var t=h(this.h.a,(function(e,t){return e+se(t)}),"Predicates:");e+=se(t)}return e},Xe.prototype.toString=function(){return this.j};var He={};function qe(e,t,n,r){if(He.hasOwnProperty(e))throw Error("Axis already created: "+e);return t=new Xe(e,t,n,!!r),He[e]=t}qe("ancestor",(function(e,t){for(var n=new Q,r=t;r=r.parentNode;)e.a(r)&&Z(n,r);return n}),!0),qe("ancestor-or-self",(function(e,t){var n=new Q,r=t;do{e.a(r)&&Z(n,r)}while(r=r.parentNode);return n}),!0);var ze=qe("attribute",(function(e,t){var n=new Q;if("style"==(i=e.f())&&I&&t.style)return ee(n,new M(t.style,t,"style",t.style.cssText)),n;var r=t.attributes;if(r)if(e instanceof Pe&&null===e.b||"*"==i)for(var o,i=0;o=r[i];i++)I?o.nodeValue&&ee(n,B(t,o)):ee(n,o);else(o=r.getNamedItem(i))&&(I?o.nodeValue&&ee(n,B(t,o)):ee(n,o));return n}),!1),Ve=qe("child",(function(e,t,r,o,i){return(I?Y:X).call(null,e,t,n(r)?r:null,n(o)?o:null,i||new Q)}),!1,!0);qe("descendant",U,!1,!0);var We=qe("descendant-or-self",(function(e,t,n,r){var o=new Q;return C(t,n,r)&&e.a(t)&&ee(o,t),U(e,t,n,r,o)}),!1,!0),Ge=qe("following",(function(e,t,n,r){var o=new Q;do{for(var i=t;i=i.nextSibling;)C(i,n,r)&&e.a(i)&&ee(o,i),o=U(e,i,n,r,o)}while(t=t.parentNode);return o}),!1,!0);qe("following-sibling",(function(e,t){for(var n=new Q,r=t;r=r.nextSibling;)e.a(r)&&ee(n,r);return n}),!1),qe("namespace",(function(){return new Q}),!1);var Qe=qe("parent",(function(e,t){var n=new Q;if(9==t.nodeType)return n;if(2==t.nodeType)return ee(n,t.ownerElement),n;var r=t.parentNode;return e.a(r)&&ee(n,r),n}),!1),Je=qe("preceding",(function(e,t,n,r){var o=new Q,i=[];do{i.unshift(t)}while(t=t.parentNode);for(var a=1,s=i.length;a<s;a++){var u=[];for(t=i[a];t=t.previousSibling;)u.unshift(t);for(var l=0,c=u.length;l<c;l++)C(t=u[l],n,r)&&e.a(t)&&ee(o,t),o=U(e,t,n,r,o)}return o}),!0,!0);qe("preceding-sibling",(function(e,t){for(var n=new Q,r=t;r=r.previousSibling;)e.a(r)&&Z(n,r);return n}),!0);var Ke=qe("self",(function(e,t){var n=new Q;return e.a(t)&&ee(n,t),n}),!1);function Ze(e){ae.call(this,1),this.c=e,this.g=e.g,this.b=e.b}function et(e){ae.call(this,1),this.c=e}function tt(e,t){this.a=e,this.b=t}function nt(e){for(var t,n=[];;){rt(e,"Missing right hand side of binary expression."),t=ct(e);var r=Re(e.a);if(!r)break;var o=(r=ge[r]||null)&&r.w;if(!o){e.a.a--;break}for(;n.length&&o<=n[n.length-1].w;)t=new pe(n.pop(),n.pop(),t);n.push(t,r)}for(;n.length;)t=new pe(n.pop(),n.pop(),t);return t}function rt(e,t){if(ke(e.a))throw Error(t)}function ot(e,t){var n=Re(e.a);if(n!=t)throw Error("Bad token, expected: "+t+" got: "+n)}function it(e){if(")"!=(e=Re(e.a)))throw Error("Bad token: "+e)}function at(e){if(2>(e=Re(e.a)).length)throw Error("Unclosed literal string");return new Ie(e)}function st(e){var t,n,r=[];if(Ce(Ae(e.a))){if(t=Re(e.a),n=Ae(e.a),"/"==t&&(ke(e.a)||"."!=n&&".."!=n&&"@"!=n&&"*"!=n&&!/(?![0-9])[\w]/.test(n)))return new Be;n=new Be,rt(e,"Missing next location step."),t=ut(e,t),r.push(t)}else{e:{switch(n=(t=Ae(e.a)).charAt(0)){case"$":throw Error("Variable reference not allowed in HTML XPath");case"(":Re(e.a),t=nt(e),rt(e,'unclosed "("'),ot(e,")");break;case'"':case"'":t=at(e);break;default:if(isNaN(+t)){if(Oe(t)||!/(?![0-9])[\w]/.test(n)||"("!=Ae(e.a,1)){t=null;break e}for(t=Re(e.a),t=xe[t]||null,Re(e.a),n=[];")"!=Ae(e.a)&&(rt(e,"Missing function argument list."),n.push(nt(e)),","==Ae(e.a));)Re(e.a);rt(e,"Unclosed function argument list."),it(e),t=new Ee(t,n)}else t=new et(+Re(e.a))}"["==Ae(e.a)&&(t=new we(t,n=new Le(lt(e))))}if(t){if(!Ce(Ae(e.a)))return t;n=t}else t=ut(e,"/"),n=new Fe,r.push(t)}for(;Ce(Ae(e.a));)t=Re(e.a),rt(e,"Missing next location step."),t=ut(e,t),r.push(t);return new Me(n,r)}function ut(e,t){var n,r,o,i;if("/"!=t&&"//"!=t)throw Error('Step op should be "/" or "//"');if("."==Ae(e.a))return r=new Ye(Ke,new Pe("node")),Re(e.a),r;if(".."==Ae(e.a))return r=new Ye(Qe,new Pe("node")),Re(e.a),r;if("@"==Ae(e.a))i=ze,Re(e.a),rt(e,"Missing attribute name");else if("::"==Ae(e.a,1)){if(!/(?![0-9])[\w]/.test(Ae(e.a).charAt(0)))throw Error("Bad token: "+Re(e.a));if(n=Re(e.a),!(i=He[n]||null))throw Error("No axis with name: "+n);Re(e.a),rt(e,"Missing node name")}else i=Ve;if(n=Ae(e.a),!/(?![0-9])[\w\*]/.test(n.charAt(0)))throw Error("Bad token: "+Re(e.a));if("("==Ae(e.a,1)){if(!Oe(n))throw Error("Invalid node type: "+n);if(!Oe(n=Re(e.a)))throw Error("Invalid type name: "+n);ot(e,"("),rt(e,"Bad nodetype");var a=null;'"'!=(o=Ae(e.a).charAt(0))&&"'"!=o||(a=at(e)),rt(e,"Bad nodetype"),it(e),n=new Pe(n,a)}else if(-1==(o=(n=Re(e.a)).indexOf(":")))n=new De(n);else{var s;if("*"==(a=n.substring(0,o)))s="*";else if(!(s=e.b(a)))throw Error("Namespace prefix not declared: "+a);n=new De(n=n.substr(o+1),s)}return o=new Le(lt(e),i.a),r||new Ye(i,n,o,"//"==t)}function lt(e){for(var t=[];"["==Ae(e.a);){Re(e.a),rt(e,"Missing predicate expression.");var n=nt(e);t.push(n),rt(e,"Unclosed predicate expression."),ot(e,"]")}return t}function ct(e){if("-"==Ae(e.a))return Re(e.a),new Ze(ct(e));var t=st(e);if("|"!=Ae(e.a))e=t;else{for(t=[t];"|"==Re(e.a);)rt(e,"Missing next union location path."),t.push(st(e));e.a.a--,e=new Ue(t)}return e}function ft(e){switch(e.nodeType){case 1:return function(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}(pt,e);case 9:return ft(e.documentElement);case 11:case 10:case 6:case 12:return dt;default:return e.parentNode?ft(e.parentNode):dt}}function dt(){return null}function pt(e,t){if(e.prefix==t)return e.namespaceURI||"http://www.w3.org/1999/xhtml";var n=e.getAttributeNode("xmlns:"+t);return n&&n.specified?n.value||null:e.parentNode&&9!=e.parentNode.nodeType?pt(e.parentNode,t):null}function ht(e,t){if(!e.length)throw Error("Empty XPath expression.");var n=function(e){e=e.match(je);for(var t=0;t<e.length;t++)Se.test(e[t])&&e.splice(t,1);return new Ne(e)}(e);if(ke(n))throw Error("Invalid XPath expression.");t?"function"==function(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t}(t)||(t=i(t.lookupNamespaceURI,t)):t=function(){return null};var r=nt(new tt(n,t));if(!ke(n))throw Error("Bad token: "+Re(n));this.evaluate=function(e,t){return new yt(r.a(new ve(e)),t)}}function yt(e,t){if(0==t)if(e instanceof Q)t=4;else if("string"==typeof e)t=2;else if("number"==typeof e)t=1;else{if("boolean"!=typeof e)throw Error("Unexpected evaluation result.");t=3}if(2!=t&&1!=t&&3!=t&&!(e instanceof Q))throw Error("value could not be converted to the specified type");var n;switch(this.resultType=t,t){case 2:this.stringValue=e instanceof Q?ne(e):""+e;break;case 1:this.numberValue=e instanceof Q?+ne(e):+e;break;case 3:this.booleanValue=e instanceof Q?0<e.l:!!e;break;case 4:case 5:case 6:case 7:var r=re(e);n=[];for(var o=ie(r);o;o=ie(r))n.push(o instanceof M?o.a:o);this.snapshotLength=e.l,this.invalidIteratorState=!1;break;case 8:case 9:r=te(e),this.singleNodeValue=r instanceof M?r.a:r;break;default:throw Error("Unknown XPathResult type.")}var i=0;this.iterateNext=function(){if(4!=t&&5!=t)throw Error("iterateNext called with wrong result type");return i>=n.length?null:n[i++]},this.snapshotItem=function(e){if(6!=t&&7!=t)throw Error("snapshotItem called with wrong result type");return e>=n.length||0>e?null:n[e]}}function gt(e){this.lookupNamespaceURI=ft(e)}function bt(e,n){var r=e||t,o=r.Document&&r.Document.prototype||r.document;o.evaluate&&!n||(r.XPathResult=yt,o.evaluate=function(e,t,n,r){return new ht(e,n).evaluate(t,r)},o.createExpression=function(e,t){return new ht(e,t)},o.createNSResolver=function(e){return new gt(e)})}a(Ze),Ze.prototype.a=function(e){return-ce(this.c,e)},Ze.prototype.toString=function(){return"Unary Expression: -"+se(this.c)},a(et),et.prototype.a=function(){return this.c},et.prototype.toString=function(){return"Number: "+this.c},yt.ANY_TYPE=0,yt.NUMBER_TYPE=1,yt.STRING_TYPE=2,yt.BOOLEAN_TYPE=3,yt.UNORDERED_NODE_ITERATOR_TYPE=4,yt.ORDERED_NODE_ITERATOR_TYPE=5,yt.UNORDERED_NODE_SNAPSHOT_TYPE=6,yt.ORDERED_NODE_SNAPSHOT_TYPE=7,yt.ANY_UNORDERED_NODE_TYPE=8,yt.FIRST_ORDERED_NODE_TYPE=9;var mt,vt=["wgxpath","install"],wt=t;vt[0]in wt||!wt.execScript||wt.execScript("var "+vt[0]);for(;vt.length&&(mt=vt.shift());)vt.length||void 0===bt?wt=wt[mt]?wt[mt]:wt[mt]={}:wt[mt]=bt;e.exports.install=bt,e.exports.XPathResultType={ANY_TYPE:0,NUMBER_TYPE:1,STRING_TYPE:2,BOOLEAN_TYPE:3,UNORDERED_NODE_ITERATOR_TYPE:4,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6,ORDERED_NODE_SNAPSHOT_TYPE:7,ANY_UNORDERED_NODE_TYPE:8,FIRST_ORDERED_NODE_TYPE:9}}).call(n.g)},99196:e=>{"use strict";e.exports=window.React},92819:e=>{"use strict";e.exports=window.lodash},65736:e=>{"use strict";e.exports=window.wp.i18n},85890:e=>{"use strict";e.exports=window.yoast.propTypes},98487:e=>{"use strict";e.exports=window.yoast.styledComponents}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var r=n(56101);(window.yoast=window.yoast||{}).helpers=r})(); dist/externals/socialMetadataForms.js 0000644 00000032660 15174677550 0014024 0 ustar 00 (()=>{"use strict";var e={17966:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.withCaretStyle=t.default=void 0;var r=i(65736),o=f(i(36250)),a=i(23695),n=i(10224),l=i(37188),s=i(92819),d=f(i(85890)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(t);if(i&&i.has(e))return i.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var n=o?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(r,a,n):r[a]=e[a]}return r.default=e,i&&i.set(e,r),r}(i(99196)),u=f(i(98487));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const g=e=>e?l.colors.$color_snippet_focus:l.colors.$color_snippet_hover,m=u.default.div` position: relative; margin-top: 1.7em; margin-bottom: 1.7em; `,_=u.default.div` display: ${e=>e.isActive||e.isHovered?"block":"none"}; ::before { position: absolute; top: -2px; ${(0,a.getDirectionalStyle)("left","right")}: -25px; width: 24px; height: 24px; background-image: url( ${e=>(0,a.getDirectionalStyle)((0,l.angleRight)(g(e.isActive)),(0,l.angleLeft)(g(e.isActive)))} ); color: ${e=>g(e.isActive)}; background-size: 24px; background-repeat: no-repeat; background-position: center; content: ""; } `;_.propTypes={isActive:d.default.bool,isHovered:d.default.bool},_.defaultProps={isActive:!1,isHovered:!1};const E=e=>{function t({isActive:t,isHovered:i,...r}){return c.default.createElement(m,null,c.default.createElement(_,{isActive:t,isHovered:i}),c.default.createElement(e,r))}return t.propTypes={isActive:d.default.bool.isRequired,isHovered:d.default.bool.isRequired},t};t.withCaretStyle=E;const S=E(o.default);class I extends c.Component{constructor(e){super(e),this.onImageEnter=e.onMouseHover.bind(this,"image"),this.onTitleEnter=e.onMouseHover.bind(this,"title"),this.onDescriptionEnter=e.onMouseHover.bind(this,"description"),this.onLeave=e.onMouseHover.bind(this,""),this.onImageSelectBlur=e.onSelect.bind(this,""),this.onSelectTitleEditor=this.onSelectEditor.bind(this,"title"),this.onSelectDescriptionEditor=this.onSelectEditor.bind(this,"description"),this.onDeselectEditor=this.onSelectEditor.bind(this,""),this.onTitleEditorRef=this.onSetEditorRef.bind(this,"title"),this.onDescriptionEditorRef=this.onSetEditorRef.bind(this,"description")}onSelectEditor(e){this.props.onSelect(e)}onSetEditorRef(e,t){this.props.setEditorRef(e,t)}getFieldsTitles(e){return"Twitter"===e?{imageSelectTitle:(0,r.__)("Twitter image","wordpress-seo"),titleEditorTitle:(0,r.__)("Twitter title","wordpress-seo"),descEditorTitle:(0,r.__)("Twitter description","wordpress-seo")}:"X"===e?{imageSelectTitle:(0,r.__)("X image","wordpress-seo"),titleEditorTitle:(0,r.__)("X title","wordpress-seo"),descEditorTitle:(0,r.__)("X description","wordpress-seo")}:{imageSelectTitle:(0,r.__)("Social image","wordpress-seo"),titleEditorTitle:(0,r.__)("Social title","wordpress-seo"),descEditorTitle:(0,r.__)("Social description","wordpress-seo")}}render(){const{socialMediumName:e,onSelectImageClick:t,onRemoveImageClick:i,title:r,titleInputPlaceholder:o,description:l,descriptionInputPlaceholder:s,onTitleChange:d,onDescriptionChange:u,onReplacementVariableSearchChange:p,hoveredField:f,activeField:g,isPremium:m,replacementVariables:_,recommendedReplacementVariables:E,imageWarnings:I,imageUrl:h,imageFallbackUrl:v,imageAltText:b,idSuffix:T}=this.props,w=this.getFieldsTitles(e),y=!!h,A=w.imageSelectTitle,O=w.titleEditorTitle,M=w.descEditorTitle,C=e.toLowerCase();return c.default.createElement(c.Fragment,null,c.default.createElement(S,{label:A,onClick:t,onRemoveImageClick:i,warnings:I,imageSelected:y,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave,isActive:"image"===g,isHovered:"image"===f,imageUrl:h,usingFallback:!h&&""!==v,imageAltText:b,hasPreview:!m,id:(0,a.join)([C,"image-select",T])}),c.default.createElement(n.ReplacementVariableEditor,{onChange:d,content:r,placeholder:o,replacementVariables:_,recommendedReplacementVariables:E,type:"title",fieldId:(0,a.join)([C,"title-input",T]),label:O,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onSearchChange:p,isActive:"title"===g,isHovered:"title"===f,withCaret:!0,onFocus:this.onSelectTitleEditor,onBlur:this.onDeselectEditor,editorRef:this.onTitleEditorRef}),c.default.createElement(n.ReplacementVariableEditor,{onChange:u,content:l,placeholder:s,replacementVariables:_,recommendedReplacementVariables:E,type:"description",fieldId:(0,a.join)([C,"description-input",T]),label:M,onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onSearchChange:p,isActive:"description"===g,isHovered:"description"===f,withCaret:!0,onFocus:this.onSelectDescriptionEditor,onBlur:this.onDeselectEditor,editorRef:this.onDescriptionEditorRef}))}}I.propTypes={socialMediumName:d.default.oneOf(["Twitter","X","Social"]).isRequired,onSelectImageClick:d.default.func.isRequired,onRemoveImageClick:d.default.func.isRequired,title:d.default.string.isRequired,description:d.default.string.isRequired,onTitleChange:d.default.func.isRequired,onDescriptionChange:d.default.func.isRequired,onReplacementVariableSearchChange:d.default.func,isPremium:d.default.bool,hoveredField:d.default.string,activeField:d.default.string,onSelect:d.default.func,replacementVariables:n.replacementVariablesShape,recommendedReplacementVariables:d.default.arrayOf(d.default.string),imageWarnings:d.default.array,imageUrl:d.default.string,imageFallbackUrl:d.default.string,imageAltText:d.default.string,titleInputPlaceholder:d.default.string,descriptionInputPlaceholder:d.default.string,setEditorRef:d.default.func,onMouseHover:d.default.func,idSuffix:d.default.string},I.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],imageWarnings:[],hoveredField:"",activeField:"",onSelect:s.noop,onReplacementVariableSearchChange:null,imageUrl:"",imageFallbackUrl:"",imageAltText:"",titleInputPlaceholder:"",descriptionInputPlaceholder:"",isPremium:!1,setEditorRef:s.noop,onMouseHover:s.noop,idSuffix:""},t.default=I},36250:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(65736),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(t);if(i&&i.has(e))return i.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var n=o?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(r,a,n):r[a]=e[a]}return r.default=e,i&&i.set(e,r),r}(i(99196)),a=i(92819),n=i(18594);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:t})(e)}t.default=function({imageAltText:e="",hasPreview:t,usingFallback:i=!1,imageUrl:l="",defaultImageUrl:s="",warnings:d=[],onClick:c=a.noop,onRemoveImageClick:u=a.noop,isDisabled:p=!1,onMouseEnter:f=a.noop,onMouseLeave:g=a.noop,label:m,id:_}){const E=!1===i&&""!==l,S=l||s||"",I=d.length>0&&(E||i),h=(0,o.useCallback)((e=>{var t;null===(t=e.target.previousElementSibling)||void 0===t||t.focus(),u()}),[u]);return o.default.createElement("div",{onMouseEnter:f,onMouseLeave:g},o.default.createElement(n.Root,null,o.default.createElement(n.ImageSelect,{label:m,imageUrl:S,selectButtonLabel:(0,r.__)("Select image","wordpress-seo"),replaceButtonLabel:(0,r.__)("Replace image","wordpress-seo"),onSelectImage:c,isDisabled:p,id:_},t&&o.default.createElement(n.ImageSelect.Preview,{imageAltText:e}),I&&o.default.createElement("div",{role:"alert",className:"yst-mt-4"},d.map(((e,t)=>o.default.createElement(n.Alert,{key:`warning${t}`,variant:"warning"},e)))),o.default.createElement(n.ImageSelect.Buttons,{removeLabel:(0,r.__)("Remove image","wordpress-seo"),onRemoveImage:h}))))}},62815:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TWITTER_IMAGE_SIZES=t.FACEBOOK_IMAGE_SIZES=void 0,t.TWITTER_IMAGE_SIZES={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},t.FACEBOOK_IMAGE_SIZES={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}}},60015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(62815);t.default=function(e){const{largeThreshold:t}=r.FACEBOOK_IMAGE_SIZES;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}},31357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSocialPreviewTitle=t.setSocialPreviewImageUrl=t.setSocialPreviewImageType=t.setSocialPreviewImageId=t.setSocialPreviewImage=t.setSocialPreviewDescription=t.clearSocialPreviewImage=t.SET_SOCIAL_TITLE=t.SET_SOCIAL_IMAGE_URL=t.SET_SOCIAL_IMAGE_TYPE=t.SET_SOCIAL_IMAGE_ID=t.SET_SOCIAL_IMAGE=t.SET_SOCIAL_DESCRIPTION=t.CLEAR_SOCIAL_IMAGE=void 0;const i=t.SET_SOCIAL_TITLE="SET_SOCIAL_TITLE",r=t.SET_SOCIAL_DESCRIPTION="SET_SOCIAL_DESCRIPTION",o=t.SET_SOCIAL_IMAGE_URL="SET_SOCIAL_IMAGE_URL",a=t.SET_SOCIAL_IMAGE_TYPE="SET_SOCIAL_IMAGE_TYPE",n=t.SET_SOCIAL_IMAGE_ID="SET_SOCIAL_IMAGE_ID",l=t.SET_SOCIAL_IMAGE="SET_SOCIAL_IMAGE",s=t.CLEAR_SOCIAL_IMAGE="CLEAR_SOCIAL_IMAGE";t.setSocialPreviewTitle=(e,t)=>({type:i,platform:t,title:e}),t.setSocialPreviewDescription=(e,t)=>({type:r,platform:t,description:e}),t.setSocialPreviewImageUrl=(e,t)=>({type:o,platform:t,imageUrl:e}),t.setSocialPreviewImageType=(e,t)=>({type:a,platform:t,imageType:e}),t.setSocialPreviewImageId=(e,t)=>({type:n,platform:t,imageId:e}),t.setSocialPreviewImage=(e,t)=>({type:l,platform:t,image:e}),t.clearSocialPreviewImage=e=>({type:s,platform:e})},1499:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(7185),o=i(31357);const a={title:"",description:"",warnings:[],image:{bytes:null,type:null,height:null,width:null,url:"",id:null,alt:""}};function n(e=a,t){switch(t.type){case o.SET_SOCIAL_TITLE:return{...e,title:t.title};case o.SET_SOCIAL_DESCRIPTION:return{...e,description:t.description};case o.SET_SOCIAL_IMAGE:return{...e,image:{...t.image}};case o.SET_SOCIAL_IMAGE_URL:return{...e,image:{...e.image,url:t.imageUrl}};case o.SET_SOCIAL_IMAGE_TYPE:return{...e,image:{...e.image,type:t.imageType}};case o.SET_SOCIAL_IMAGE_ID:return{...e,image:{...e.image,id:t.imageId}};case o.CLEAR_SOCIAL_IMAGE:return{...e,image:{bytes:null,type:null,height:null,width:null,url:"",id:null,alt:""}};default:return e}}function l(e,t){return(i,r)=>{const{platform:o}=r;return void 0===i?a:o!==t?i:e(i,r)}}const s=(0,r.combineReducers)({facebook:l(n,"facebook"),twitter:l(n,"twitter")});t.default=s},38166:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"socialReducer",{enumerable:!0,get:function(){return o.default}});var r,o=(r=i(1499))&&r.__esModule?r:{default:r}},31715:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(92819);t.default=e=>{const t={getFacebookData:t=>(0,r.get)(t,`${e}.facebook`,{}),getFacebookTitle:e=>t.getFacebookData(e).title,getFacebookDescription:e=>t.getFacebookData(e).description,getFacebookImageUrl:e=>t.getFacebookData(e).image.url,getFacebookImageType:e=>t.getFacebookData(e).image.type,getTwitterData:t=>(0,r.get)(t,`${e}.twitter`,{}),getTwitterTitle:e=>t.getTwitterData(e).title,getTwitterDescription:e=>t.getTwitterData(e).description,getTwitterImageUrl:e=>t.getTwitterData(e).image.url,getTwitterImageType:e=>t.getTwitterData(e).image.type};return t}},99196:e=>{e.exports=window.React},92819:e=>{e.exports=window.lodash},65736:e=>{e.exports=window.wp.i18n},23695:e=>{e.exports=window.yoast.helpers},85890:e=>{e.exports=window.yoast.propTypes},7185:e=>{e.exports=window.yoast.redux},10224:e=>{e.exports=window.yoast.replacementVariableEditor},37188:e=>{e.exports=window.yoast.styleGuide},98487:e=>{e.exports=window.yoast.styledComponents},18594:e=>{e.exports=window.yoast.uiLibrary}},t={};function i(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,i),a.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FACEBOOK_IMAGE_SIZES",{enumerable:!0,get:function(){return a.FACEBOOK_IMAGE_SIZES}}),Object.defineProperty(e,"SocialMetadataPreviewForm",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"TWITTER_IMAGE_SIZES",{enumerable:!0,get:function(){return a.TWITTER_IMAGE_SIZES}}),e.actions=void 0,Object.defineProperty(e,"determineFacebookImageMode",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"selectorsFactory",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"socialReducer",{enumerable:!0,get:function(){return l.socialReducer}});var t=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(t);if(i&&i.has(e))return i.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var n=o?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(r,a,n):r[a]=e[a]}return r.default=e,i&&i.set(e,r),r}(i(31357));e.actions=t;var o=d(i(31715)),a=i(62815),n=d(i(60015)),l=i(38166),s=d(i(17966));function d(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:t})(e)}})(),(window.yoast=window.yoast||{}).socialMetadataForms=r})(); dist/faq-block.js 0000644 00000151144 15174677550 0007733 0 ustar 00 (()=>{var e={885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},8276:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,d=(e=(0,r.escapeSpecialCharacters)(e)).match(a),h=d&&d[1]?d[1].toLowerCase():"";switch(h){case i:var f=p(e);return l.test(e)||null===(t=null==(g=f.querySelector(o))?void 0:g.parentNode)||void 0===t||t.removeChild(g),c.test(e)||null===(n=null==(g=f.querySelector(s))?void 0:g.parentNode)||void 0===n||n.removeChild(g),f.querySelectorAll(i);case o:case s:var y=u(e).querySelectorAll(h);return c.test(e)&&l.test(e)?y[0].parentNode.childNodes:y;default:return m?m(e):(g=u(e,s).querySelector(s)).childNodes;var g}};var r=n(1507),i="html",o="head",s="body",a=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var h=new d;u=p=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=f.documentElement.querySelector(t);return n&&(n.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var m,y="object"==typeof document&&document.createElement("template");y&&y.content&&(m=function(e){return y.innerHTML=e,y.content.childNodes})},4152:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),n=t?t[1]:void 0;return(0,o.formatDOM)((0,i.default)(e),null,n)};var i=r(n(8276)),o=n(1507),s=/<(![a-zA-Z\s]+)>/},1507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=o,t.escapeSpecialCharacters=function(e){return e.replace(i.CARRIAGE_RETURN_REGEX,i.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,n,i){void 0===n&&(n=null);for(var l,c=[],u=0,p=t.length;u<p;u++){var d=t[u];switch(d.nodeType){case 1:var h=s(d.nodeName);(l=new r.Element(h,o(d.attributes))).children=e("template"===h?d.content.childNodes:d.childNodes,l);break;case 3:l=new r.Text(a(d.nodeValue));break;case 8:l=new r.Comment(d.nodeValue);break;default:continue}var f=c[u-1]||null;f&&(f.next=l),l.parent=n,l.prev=f,l.next=null,c.push(l)}return i&&((l=new r.ProcessingInstruction(i.substring(0,i.indexOf(" ")).toLowerCase(),i)).next=c[0]||null,l.parent=n,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var r=n(4584),i=n(885);function o(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return function(e){return i.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function a(e){return e.replace(i.CARRIAGE_RETURN_PLACEHOLDER_REGEX,i.CARRIAGE_RETURN)}},1953:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},4584:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(1953),s=n(1642);i(n(1642),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},1642:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(1953),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=s.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=f;var m=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function y(e){return(0,s.isTag)(e)}function g(e){return e.type===s.ElementType.CDATA}function v(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(y(e)){var r=t?T(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?T(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?T(e.children):[];var a=new f(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=y,t.isCDATA=g,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&a[e.type]);for(var u in e){var p=e[u];if((0,r.isCustomAttribute)(u))n[u]=p;else{var d=u.toLowerCase(),h=l(d);if(h){var f=(0,r.getPropertyInfo)(h);switch(o.includes(h)&&s.includes(t)&&!c&&(h=l("default"+d)),n[h]=p,f&&f.type){case r.BOOLEAN:n[h]=!0;break;case r.OVERLOADED_BOOLEAN:""===p&&(n[h]=!0)}}else i.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=p)}}return(0,i.setStyleProp)(e.style,n),n};var r=n(5726),i=n(4606),o=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},3670:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],i="function"==typeof n.replace,c=n.transform||s.returnFirstArg,u=n.library||a,p=u.cloneElement,d=u.createElement,h=u.isValidElement,f=t.length,m=0;m<f;m++){var y=t[m];if(i){var g=n.replace(y,m);if(h(g)){f>1&&(g=p(g,{key:g.key||m})),r.push(c(g,y,m));continue}}if("text"!==y.type){var v=y,b={};l(v)?((0,s.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,o.default)(v.attribs,v.name));var x=void 0;switch(y.type){case"script":case"style":y.children[0]&&(b.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?b.defaultValue=y.children[0].data:y.children&&y.children.length&&(x=e(y.children,n));break;default:continue}f>1&&(b.key=m),r.push(c(d(y.name,b,x),y,m))}else{var w=!y.data.trim().length;if(w&&y.parent&&!(0,s.canTextBeChildOfNode)(y.parent))continue;if(n.trim&&w)continue;r.push(c(y.data,y,m))}}return 1===r.length?r[0]:r};var i=n(9196),o=r(n(484)),s=n(4606),a={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},3426:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,i.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var i=r(n(4152));t.htmlToDOM=i.default;var o=r(n(484));t.attributesToProps=o.default;var s=r(n(3670));t.domToReact=s.default;var a=n(7384);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var l={lowerCaseAttributeNames:!1}},4606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,o.default)(e,a)}catch(e){t.style={}}else t.style={}};var i=n(9196),o=r(n(1476)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},8908:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},7384:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(8908),s=n(5079);i(n(5079),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},5079:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(8908),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=s.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=f;var m=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function y(e){return(0,s.isTag)(e)}function g(e){return e.type===s.ElementType.CDATA}function v(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(y(e)){var r=t?T(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?T(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?T(e.children):[];var a=new f(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=y,t.isCDATA=g,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},5321:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function h(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:p,column:d};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}function y(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function v(){g(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=f(),n=g(i);if(n){if(x(),!g(o))return y("property missing ':'");var r=g(s),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return g(a),l}}return m.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},5726:(e,t,n)=>{"use strict";function r(e,t,n,r,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}const i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{i[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{i[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{i[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{i[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{i[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{i[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{i[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{i[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{i[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const o=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(o,s);i[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(o,s);i[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(o,s);i[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{i[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),i.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{i[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:a,SAME:l,possibleStandardNames:c}=n(8229),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(c).reduce(((e,t)=>{const n=c[t];return n===l?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=p},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},1476:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(5174)),i=n(6678);function o(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)})),n):n}o.default=o,e.exports=o},6678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(o,l)).replace(r,a))}},5174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const r=(0,i.default)(e),o="function"==typeof t;return r.forEach((e=>{if("declaration"!==e.type)return;const{property:r,value:i}=e;o?t(r,i,e):i&&(n=n||{},n[r]=i)})),n};const i=r(n(5321))},9196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{legacySave:()=>N,migrateToStringFormat:()=>k,needsMigration:()=>S});const t=window.wp.blockEditor,r=window.wp.blocks,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.7","name":"yoast/faq-block","title":"Yoast FAQ","description":"List your Frequently Asked Questions in an SEO-friendly way.","category":"yoast-structured-data-blocks","icon":"editor-ul","keywords":["FAQ","Frequently Asked Questions","Schema","SEO","Structured Data"],"textdomain":"wordpress-seo","attributes":{"questions":{"type":"array"},"additionalListCssClasses":{"type":"string"}},"example":{"attributes":{"questions":[{"id":"faq-question-1","question":"","answer":"","images":[]},{"id":"faq-question-2","question":"","answer":"","images":[]}]}},"editorScript":"yoast-seo-faq-block","editorStyle":"yoast-seo-structured-data-blocks"}'),o=window.yoast.propTypes;var s=n.n(o);const a=window.wp.i18n,l=window.wp.a11y,c=window.wp.isShallowEqual,u=window.wp.element,p=window.wp.components,d=window.ReactJSXRuntime,h=function(e){return class extends u.Component{render(){return(0,d.jsxs)(u.Fragment,{children:[(0,d.jsx)(e,{...this.props})," "]})}}},f=e=>Array.isArray(e)?e.map((e=>e?"string"==typeof e?e:(0,u.renderToString)(e):"")).join(""):e;var m=n(3426);const y=m.default||m,g=e=>{if("string"!=typeof e||!e.includes("<img"))return[];const t=[...e.matchAll(/<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/gi)],n=[];return t.forEach((e=>{const t=e[0],r=y(t);n.push(r)})),n},v=h(t.RichText.Content);class b extends u.Component{constructor(e){super(e),this.onSelectImage=this.onSelectImage.bind(this),this.onFocusAnswer=this.onFocusAnswer.bind(this),this.onFocusQuestion=this.onFocusQuestion.bind(this),this.onChangeAnswer=this.onChangeAnswer.bind(this),this.onChangeQuestion=this.onChangeQuestion.bind(this),this.onInsertQuestion=this.onInsertQuestion.bind(this),this.onRemoveQuestion=this.onRemoveQuestion.bind(this),this.onMoveDown=this.onMoveDown.bind(this),this.onMoveUp=this.onMoveUp.bind(this)}getMediaUploadButton(e){return(0,d.jsx)(p.Button,{className:"schema-faq-section-button faq-section-add-media",icon:"insert",onClick:e.open,children:(0,a.__)("Add image","wordpress-seo")})}onFocusQuestion(){this.props.onFocus("question",this.props.index)}onFocusAnswer(){this.props.onFocus("answer",this.props.index)}onChangeQuestion(e){const{index:t,onChange:n,attributes:{answer:r,question:i}}=this.props;n(e,r,i,r,t)}onChangeAnswer(e){const{index:t,onChange:n,attributes:{answer:r,question:i}}=this.props;n(i,e,i,r,t)}onInsertQuestion(){this.props.insertQuestion(this.props.index)}onRemoveQuestion(){this.props.removeQuestion(this.props.index)}onMoveUp(){this.props.isFirst||this.props.onMoveUp(this.props.index)}onMoveDown(){this.props.isLast||this.props.onMoveDown(this.props.index)}getButtons(){const{attributes:e}=this.props;return(0,d.jsxs)("div",{className:"schema-faq-section-button-container",children:[(0,d.jsx)(t.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),(0,d.jsx)(p.Button,{className:"schema-faq-section-button",icon:"trash",label:(0,a.__)("Delete question","wordpress-seo"),onClick:this.onRemoveQuestion}),(0,d.jsx)(p.Button,{className:"schema-faq-section-button",icon:"insert",label:(0,a.__)("Insert question","wordpress-seo"),onClick:this.onInsertQuestion})]})}getMover(){return(0,d.jsxs)("div",{className:"schema-faq-section-mover",children:[(0,d.jsx)(p.Button,{className:"editor-block-mover__control",onClick:this.onMoveUp,icon:"arrow-up-alt2",label:(0,a.__)("Move question up","wordpress-seo"),"aria-disabled":this.props.isFirst}),(0,d.jsx)(p.Button,{className:"editor-block-mover__control",onClick:this.onMoveDown,icon:"arrow-down-alt2",label:(0,a.__)("Move question down","wordpress-seo"),"aria-disabled":this.props.isLast})]})}onSelectImage(e){const{attributes:{answer:t,question:n},index:r}=this.props,i=(0,d.jsx)("img",{className:`wp-image-${e.id}`,alt:e.alt||"",src:e.url,style:{maxWidth:"100%"}}),o=(t||"")+(0,u.renderToString)(i);this.props.onChange(n,o,n,t,r)}static Content(e){const t=Array.isArray(e.question)?f(e.question):e.question,n=Array.isArray(e.answer)?f(e.answer):e.answer;return(0,d.jsxs)("div",{className:"schema-faq-section",id:e.id,children:[(0,d.jsx)(v,{tagName:"strong",className:"schema-faq-question",value:t},e.id+"-question"),(0,d.jsx)(v,{tagName:"p",className:"schema-faq-answer",value:n},e.id+"-answer")]},e.id)}shouldComponentUpdate(e){return!(0,c.isShallowEqualObjects)(e,this.props)}render(){const{attributes:e,isSelected:n}=this.props,{id:r,question:i,answer:o}=e;return(0,d.jsxs)("div",{className:"schema-faq-section",children:[(0,d.jsx)(t.RichText,{identifier:r+"-question",className:"schema-faq-question",tagName:"p",value:i,onChange:this.onChangeQuestion,onFocus:this.onFocusQuestion,placeholder:(0,a.__)("Enter a question","wordpress-seo"),allowedFormats:["core/italic","core/strikethrough","core/link","core/annotation"]},r+"-question"),(0,d.jsx)(t.RichText,{identifier:r+"-answer",className:"schema-faq-answer",tagName:"p",value:o,onChange:this.onChangeAnswer,onFocus:this.onFocusAnswer,placeholder:(0,a.__)("Enter the answer to the question","wordpress-seo")},r+"-answer"),n&&(0,d.jsxs)("div",{className:"schema-faq-section-controls-container",children:[this.getMover(),this.getButtons()]})]},r)}}b.propTypes={index:s().number.isRequired,attributes:s().object.isRequired,onChange:s().func.isRequired,insertQuestion:s().func.isRequired,removeQuestion:s().func.isRequired,onFocus:s().func.isRequired,onMoveUp:s().func.isRequired,onMoveDown:s().func.isRequired,isSelected:s().bool.isRequired,isFirst:s().bool.isRequired,isLast:s().bool.isRequired};const x=h(b.Content);class w extends u.Component{constructor(e){super(e),this.state={focus:""},this.changeQuestion=this.changeQuestion.bind(this),this.insertQuestion=this.insertQuestion.bind(this),this.removeQuestion=this.removeQuestion.bind(this),this.swapQuestions=this.swapQuestions.bind(this),this.moveQuestionDown=this.moveQuestionDown.bind(this),this.moveQuestionUp=this.moveQuestionUp.bind(this),this.setFocus=this.setFocus.bind(this),this.onAddQuestionButtonClick=this.onAddQuestionButtonClick.bind(this)}static generateId(e=""){return`${e}-${(new Date).getTime()}`}onAddQuestionButtonClick(){this.insertQuestion(null,"","",[],!1)}changeQuestion(e,t,n,r,i){const o=this.props.attributes.questions?this.props.attributes.questions.slice():[];if(i>=o.length)return;if(o[i].question!==n||o[i].answer!==r)return;o[i]={id:o[i].id,question:e,answer:t,jsonQuestion:e,jsonAnswer:t},o[i].images=g(t);const s=(e=>{if(Array.isArray(e))return(e=>{var t;const n=e.find((e=>"img"===(null==e?void 0:e.type)));return(null==n||null===(t=n.props)||void 0===t?void 0:t.src)||!1})(e);if("string"==typeof e){var t;const n=g(e);return 0!==n.length&&((null===(t=n[0].props)||void 0===t?void 0:t.src)||!1)}return!1})(t);s&&(o[i].jsonImageSrc=s),this.props.setAttributes({questions:o})}insertQuestion(e=null,t="",n="",r=[],i=!0){const o=this.props.attributes.questions?this.props.attributes.questions.slice():[];null===e&&(e=o.length-1),o.splice(e+1,0,{id:w.generateId("faq-question"),question:t,answer:n,images:r,jsonQuestion:"",jsonAnswer:""}),this.props.setAttributes({questions:o}),i?setTimeout(this.setFocus.bind(this,"question",e)):(0,l.speak)((0,a.__)("New question added","wordpress-seo"))}swapQuestions(e,t){const n=this.props.attributes.questions?this.props.attributes.questions.slice():[],r=n[e];n[e]=n[t],n[t]=r,this.props.setAttributes({questions:n});const[i,o]=this.state.focus.split(":");i===`${e}`?this.setFocus(o,t):i===`${t}`&&this.setFocus(o,e)}moveQuestionUp(e){this.swapQuestions(e,e-1)}moveQuestionDown(e){this.swapQuestions(e,e+1)}removeQuestion(e){const t=this.props.attributes.questions?this.props.attributes.questions.slice():[];t.splice(e,1),this.props.setAttributes({questions:t});let n=0;t[e]?n=e:t[e-1]&&(n=e-1),this.setFocus("question",n)}setFocus(e,t){const n=`${t}:${e}`;n!==this.state.focus&&this.setState({focus:n})}getAddQuestionButton(){return(0,d.jsx)(p.Button,{icon:"insert",onClick:this.onAddQuestionButtonClick,className:"schema-faq-add-question",children:(0,a.__)("Add question","wordpress-seo")})}getQuestions(){const{attributes:e}=this.props;if(!e.questions)return null;const[t]=this.state.focus.split(":");return e.questions.map(((n,r)=>(0,d.jsx)(b,{index:r,attributes:n,insertQuestion:this.insertQuestion,removeQuestion:this.removeQuestion,onChange:this.changeQuestion,onFocus:this.setFocus,isSelected:t===`${r}`,onMoveUp:this.moveQuestionUp,onMoveDown:this.moveQuestionDown,isFirst:0===r,isLast:r===e.questions.length-1},n.id)))}static Content(e){const{questions:t,className:n}=e,r=t?t.map(((e,t)=>(0,d.jsx)(x,{...e},t))):null,i=["schema-faq",n].filter((e=>e)).join(" ");return(0,d.jsx)("div",{className:i,children:r})}render(){const{className:e}=this.props,t=["schema-faq",e].filter((e=>e)).join(" ");return(0,d.jsxs)("div",{className:t,children:[(0,d.jsx)("div",{children:this.getQuestions()}),(0,d.jsx)("div",{className:"schema-faq-buttons",children:this.getAddQuestionButton()})]})}}function E(e){const n=h(t.RichText.Content);return(0,d.jsxs)("div",{className:"schema-faq-section",children:[(0,d.jsx)(n,{tagName:"strong",className:"schema-faq-question",value:e.question},e.id+"-question"),(0,d.jsx)(n,{tagName:"p",className:"schema-faq-answer",value:e.answer},e.id+"-answer")]},e.id)}function T(e){const{questions:t,className:n}=e.attributes,r=h(E),i=t?t.map(((e,t)=>(0,d.jsx)(r,{...e},t))):null,o=["schema-faq",n].filter((e=>e)).join(" ");return(0,d.jsx)("div",{className:o,children:i})}w.propTypes={attributes:s().object.isRequired,setAttributes:s().func.isRequired,className:s().string},w.defaultProps={className:""},T.propTypes={attributes:s().object.isRequired};const C=window.lodash,A=e=>{if(!e)return"";if("string"==typeof e)return e;if(Array.isArray(e))try{return(0,u.renderToString)(e)}catch(t){return e.map((e=>"string"==typeof e?e:e&&e.props?(0,u.renderToString)(e):"")).join("")}return""},_=e=>{const{key:t,props:n={}}=e,{src:r="",alt:i="",className:o="",style:s=""}=n;return{type:"img",key:t,props:{src:r,alt:i,className:o,style:s}}},k=e=>{if(!e.questions)return e;const t=e.questions.map((e=>{const t=((e,t)=>{var n;return Array.isArray(t)&&0===e.length&&(n=t,e=Array.isArray(n)?n.filter((e=>e&&e.type&&"img"===e.type)).map(_):[]),e})(e.images||[],e.answer),n=A(e.question),r=A(e.answer);let i=e.jsonImageSrc||"";return!i&&t.length>0&&t[0].props.src&&(i=t[0].props.src),{id:e.id,question:n,answer:r,images:t,jsonQuestion:n,jsonAnswer:r,jsonImageSrc:i}})),n={...e,questions:t};return(0,C.pickBy)(n,(e=>void 0!==e))},S=e=>!(!e.questions||!Array.isArray(e.questions))&&e.questions.some((e=>Array.isArray(e.question)||Array.isArray(e.answer)||!e.images&&Array.isArray(e.answer))),N=({attributes:e})=>{const n=t.useBlockProps.save(e);return(0,d.jsx)(w.Content,{...n})},R={v13_1:T,v27_0:e};(0,r.registerBlockType)(i,{edit:({attributes:e,setAttributes:n,className:r})=>{const i=(0,t.useBlockProps)();return e.questions&&0!==e.questions.length||(e.questions=[{id:w.generateId("faq-question"),question:"",answer:"",images:[]}]),(0,d.jsx)("div",{...i,children:(0,d.jsx)(w,{attributes:e,setAttributes:n,className:r})})},save:({attributes:e})=>{const n=t.useBlockProps.save(e);return(0,d.jsx)(w.Content,{...n})},deprecated:[{attributes:i.attributes,save:R.v27_0.legacySave,migrate:R.v27_0.migrateToStringFormat,isEligible:R.v27_0.needsMigration},{attributes:i.attributes,save:R.v13_1}]})})()})(); dist/quick-edit-handler.js 0000644 00000001675 15174677550 0011551 0 ustar 00 jQuery(function(t){const n=t(location).attr("pathname").split("/").pop(),i="edit-tags.php"===n?"slug":"post_name",e=t(".wrap").children().eq(0);let o=0;const a=[];function r(n){a.includes(n)||(a.push(n),t(n).insertAfter(e))}function c(){t.post(ajaxurl,{action:"yoast_get_notifications",version:2},(function(t){""!==t&&(o=0,JSON.parse(t).map(r)),o<20&&""===t&&(o++,setTimeout(c,500))}))}function u(){const n=t("tr.inline-editor"),e=function(t){return 0===t.length||""===t?"":t.attr("id").replace("edit-","")}(n),o=function(n){return t("#inline_"+n).find("."+i).html()}(e);return o!==n.find("input[name="+i+"]").val()}["edit.php","edit-tags.php"].includes(n)&&(t("#inline-edit input").on("keydown",(function(t){13===t.which&&u()&&c()})),t(".button-primary").on("click",(function(n){"save-order"!==t(n.target).attr("id")&&u()&&c()}))),"edit-tags.php"===n&&t(document).on("ajaxComplete",(function(t,n,i){i.data.indexOf("action=delete-tag")>-1&&c()}))}(jQuery)); dist/api-client.js 0000644 00000001103 15174677550 0010106 0 ustar 00 !function(t,e){window.wpseoApi={get:function(t,e,n,o){this.request("GET",t,e,n,o)},post:function(t,e,n,o){this.request("POST",t,e,n,o)},put:function(t,e,n,o){this.request("PUT",t,e,n,o)},patch:function(t,e,n,o){this.request("PATCH",t,e,n,o)},delete:function(t,e,n,o){this.request("DELETE",t,e,n,o)},request:function(n,o,i,u,s){"function"==typeof i&&void 0===s&&(s=u,u=i,i={}),"POST"!==n&&"GET"!==n&&(i._method=n,n="POST"),t.ajax({url:e.root+"yoast/v1/"+o,method:n,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",e.nonce)},data:i}).done(u).fail(s)}}}(jQuery,wpApiSettings); dist/externals-components.js 0000644 00000435753 15174677550 0012277 0 ustar 00 (()=>{var e={4184:(e,s)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],s=0;s<arguments.length;s++){var t=arguments[s];if(t){var i=typeof t;if("string"===i||"number"===i)e.push(t);else if(Array.isArray(t)){if(t.length){var n=o.apply(null,t);n&&e.push(n)}}else if("object"===i){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var a in t)r.call(t,a)&&t[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(t=function(){return o}.apply(s,[]))||(e.exports=t)}()}},s={};function t(r){var o=s[r];if(void 0!==o)return o.exports;var i=s[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),(()=>{"use strict";const e=window.wp.components,s=window.wp.i18n,r=window.yoast.componentsNew,o=window.yoast.helpers,i=window.lodash,n=window.yoast.propTypes;var a=t.n(n);const l=window.wp.element,c=window.yoast.styledComponents;var d=t.n(c);const u=window.ReactJSXRuntime,p=d().div` display: flex; margin-top: 8px; `;class h extends l.Component{render(){return(0,u.jsx)(p,{children:(0,u.jsx)(r.Toggle,{id:this.props.id,labelText:(0,s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled})})}}h.propTypes={id:a().string,isEnabled:a().bool,onToggle:a().func,onToggleDisabled:a().func},h.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:()=>{},onToggleDisabled:()=>{}};const m=h,g=d()(r.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; &:hover { background-color: #f0f0f0; } } div[class^="collapsible_content"] { padding: 24px 0; margin: 0 24px; border-top: 1px solid rgba(0,0,0,0.2); } `,y=e=>(0,u.jsx)(g,{hasPadding:!0,hasSeparator:!0,...e}),x=({title:e,children:s,prefixIcon:t=null,subTitle:o="",hasBetaBadgeLabel:i=!1,hasNewBadgeLabel:n=!1,buttonId:a=null,renderNewBadgeLabel:c=(()=>{})})=>{const[d,p]=(0,l.useState)(!1),h=(0,l.useCallback)((()=>{p((e=>!e))}),[p]);return(0,u.jsxs)("div",{className:"yoast components-panel__body "+(d?"is-opened":""),children:[(0,u.jsx)("h2",{className:"components-panel__body-title",children:(0,u.jsxs)("button",{onClick:h,className:"components-button components-panel__body-toggle",type:"button",id:a,children:[(0,u.jsx)("span",{className:"yoast-icon-span",style:{fill:`${t&&t.color||""}`},children:t&&(0,u.jsx)(r.SvgIcon,{icon:t.icon,color:t.color,size:t.size})}),!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("span",{className:"yoast-title-container",children:[(0,u.jsx)("div",{className:"yoast-title",children:e}),o&&(0,u.jsx)("div",{className:"yoast-subtitle",children:o})]}),i&&(0,u.jsx)(r.BetaBadge,{})]}),n&&(0,u.jsxs)("div",{className:"yst-flex-grow yst-flex yst-items-center yst-gap-2",children:[(0,u.jsxs)("span",{className:"yst-overflow-x-hidden yst-leading-normal",children:[(0,u.jsx)("div",{className:"yoast-title",children:e}),o&&(0,u.jsx)("div",{className:"yoast-subtitle",children:o})]}),c()]}),(0,u.jsx)("span",{className:"yoast-chevron","aria-hidden":"true"})]})}),d&&s]})},w=x;x.propTypes={title:a().string.isRequired,children:a().oneOfType([a().node,a().arrayOf(a().node)]).isRequired,prefixIcon:a().object,subTitle:a().string,hasBetaBadgeLabel:a().bool,hasNewBadgeLabel:a().bool,buttonId:a().string,renderNewBadgeLabel:a().func};const b=(0,o.makeOutboundLink)();function f({isCornerstone:t=!0,onChange:n=i.noop,learnMoreUrl:a,location:l=""}){const c="metabox"===l?y:w;return(0,u.jsxs)(c,{id:(0,o.join)(["yoast-cornerstone-collapsible",l]),title:(0,s.__)("Cornerstone content","wordpress-seo"),children:[(0,u.jsxs)(r.HelpText,{children:[(0,s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",(0,u.jsx)(b,{href:a,children:(0,s.__)("Learn more about Cornerstone Content.","wordpress-seo")})]}),(0,u.jsx)(m,{id:(0,o.join)(["yoast-cornerstone",l]),isEnabled:t,onToggle:n}),(0,u.jsx)(e.Slot,{name:"YoastAfterCornerstoneToggle"})]})}f.propTypes={isCornerstone:a().bool,onChange:a().func,learnMoreUrl:a().string.isRequired,location:a().string};const v=window.wp.compose,k=window.wp.data,_=window.yoast.externals.contexts,j=window.wp.url,S=window.wp.apiFetch;var C=t.n(S);const E=window.yoast.uiLibrary,R=window.yoast.relatedKeyphraseSuggestions;class L extends l.Component{constructor(e){super(e),this.onModalOpen=this.onModalOpen.bind(this),this.onLinkClick=this.onLinkClick.bind(this),this.listenToMessages=this.listenToMessages.bind(this)}onModalOpen(){const{keyphrase:e,onOpenWithNoKeyphrase:s,onOpen:t,location:r,newRequest:o,countryCode:i}=this.props;e.trim()?(t(r),o(i,e)):s()}onLinkClick(e){if(e.preventDefault(),!this.props.keyphrase.trim())return void this.props.onOpenWithNoKeyphrase();const s=e.target.href,t=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(s,"SEMrush_login",t.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}async listenToMessages(e){const{data:s,source:t,origin:r}=e;"https://oauth.semrush.com"===r&&this.popup===t&&("semrush:oauth:success"===s.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),await this.performAuthenticationRequest(s)),"semrush:oauth:denied"===s.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1)))}async performAuthenticationRequest(e){try{const s=new URL(e.url).searchParams.get("code"),t=await C()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:s}});200===t.status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(t.error)}catch(e){console.error(e.message)}}render(){const{keyphrase:t,location:r,whichModalOpen:o,isLoggedIn:i,onClose:n,countryCode:a,learnMoreLink:l}=this.props,c=new URL("https://www.semrush.com/analytics/keywordoverview/");return c.searchParams.append("q",t),c.searchParams.append("db",a),(0,u.jsxs)(E.Root,{children:[i&&(0,u.jsx)("div",{className:"yoast",children:(0,u.jsx)(E.Button,{variant:"secondary",id:`yoast-get-related-keyphrases-${r}`,onClick:this.onModalOpen,children:(0,s.__)("Get related keyphrases","wordpress-seo")})}),(0,u.jsx)(R.Modal,{isOpen:Boolean(t)&&o===r,onClose:n,insightsLink:c.toString(),learnMoreLink:l,children:(0,u.jsx)(e.Slot,{name:"YoastRelatedKeyphrases"})}),!i&&(0,u.jsx)("div",{className:"yoast",children:(0,u.jsxs)(E.Button,{as:"a",variant:"secondary",id:`yoast-get-related-keyphrases-${r}`,href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick,children:[(0,s.__)("Get related keyphrases","wordpress-seo"),(0,u.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,s.__)("(Opens in a new browser tab)","wordpress-seo")})]})})]})}}L.propTypes={keyphrase:a().string,location:a().string,whichModalOpen:a().oneOf(["none","metabox","sidebar"]),isLoggedIn:a().bool,onOpen:a().func.isRequired,onOpenWithNoKeyphrase:a().func.isRequired,onClose:a().func.isRequired,onAuthentication:a().func.isRequired,countryCode:a().string,learnMoreLink:a().string,newRequest:a().func.isRequired},L.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1,countryCode:"en_US",learnMoreLink:""};const N=L,M=(0,v.compose)([(0,k.withSelect)((e=>{const{getSEMrushModalOpen:s,getSEMrushLoginStatus:t,getSEMrushSelectedCountry:r,getPreference:o,selectLinkParams:i,getFocusKeyphrase:n}=e("yoast-seo/editor");return{whichModalOpen:s(),isLoggedIn:t(),countryCode:r(),isRtl:o("isRtl",!1),learnMoreLink:(0,j.addQueryArgs)("https://yoa.st/3-v",i()),keyphrase:n()}})),(0,k.withDispatch)((e=>{const{setSEMrushNoKeyphraseMessage:s,setSEMrushOpenModal:t,setSEMrushDismissModal:r,setSEMrushLoginStatus:o,setSEMrushNewRequest:i}=e("yoast-seo/editor");return{onOpenWithNoKeyphrase:()=>{s()},onOpen:e=>{t(e)},onClose:()=>{r()},onAuthentication:e=>{o(e)},newRequest:(e,s)=>{i(e,s)}}}))])(N),I=window.yoast.styleGuide,T=(0,o.makeOutboundLink)(d().a` display: inline-block; position: relative; outline: none; text-decoration: none; border-radius: 100%; width: 24px; height: 24px; margin: -4px 0; vertical-align: middle; color: ${I.colors.$color_help_text}; &:hover, &:focus { color: ${I.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { color: ${I.colors.$color_help_text}; } &::before { position: absolute; top: 0; left: 0; padding: 2px; content: "\f223"; } `),P=I.colors.$color_bad,A=I.colors.$palette_error_background,B=I.colors.$color_grey_text_light,O=I.colors.$palette_error_text,F=d().div` display: flex; flex-direction: column; `,$=d().label` font-size: var(--yoast-font-size-default); font-weight: var(--yoast-font-weight-bold); ${(0,o.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")}; `,q=d().span` margin-bottom: 0.5em; `,U=d()(r.InputField)` flex: 1 !important; box-sizing: border-box; max-width: 100%; margin: 0; // Reset margins inherited from WordPress. // Hide native X in Edge and IE11. &::-ms-clear { display: none; } &.has-error { border-color: ${P} !important; background-color: ${A} !important; &:focus { box-shadow: 0 0 2px ${P} !important; } } `,W=d().ul` color: ${O}; list-style-type: disc; list-style-position: outside; margin: 0; margin-left: 1.2em; `,H=d().li` color: ${O}; margin: 0 0 0.5em 0; `,z=(0,r.addFocusStyle)(d().button` border: 1px solid transparent; box-shadow: none; background: none; flex: 0 0 32px; height: 32px; max-width: 32px; padding: 0; cursor: pointer; `);z.propTypes={type:a().string,focusColor:a().string,focusBackgroundColor:a().string,focusBorderColor:a().string},z.defaultProps={type:"button",focusColor:I.colors.$color_button_text_hover,focusBackgroundColor:"transparent",focusBorderColor:I.colors.$color_blue};const D=d()(r.SvgIcon)` margin-top: 4px; `,K=d().div` display: flex; flex-direction: row; align-items: center; &.has-remove-keyword-button { ${U} { ${(0,o.getDirectionalStyle)("padding-right: 40px","padding-left: 40px")}; } ${z} { ${(0,o.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")}; } } `;class G extends l.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:s,helpLink:t}=this.props;return(0,u.jsxs)(q,{children:[(0,u.jsx)($,{htmlFor:e,children:s}),t]})}renderErrorMessages(){const e=[...this.props.errorMessages];return!(0,i.isEmpty)(e)&&(0,u.jsx)(W,{children:e.map(((e,s)=>(0,u.jsx)(H,{children:(0,u.jsx)("span",{role:"alert",children:e})},s)))})}render(){const{id:e,showLabel:s,keyword:t,onRemoveKeyword:r,onBlurKeyword:o,onFocusKeyword:n,hasError:a}=this.props,l=!s,c=r!==i.noop;return(0,u.jsxs)(F,{children:[s&&this.renderLabel(),a&&this.renderErrorMessages(),(0,u.jsxs)(K,{className:c?"has-remove-keyword-button":null,children:[(0,u.jsx)(U,{"aria-label":l?this.props.label:null,type:"text",id:e,className:a?"has-error":null,onChange:this.handleChange,onFocus:n,onBlur:o,value:t,autoComplete:"off"}),c&&(0,u.jsx)(z,{onClick:r,focusBoxShadowColor:"#084A67",children:(0,u.jsx)(D,{size:"18px",icon:"times-circle",color:B})})]})]})}}G.propTypes={id:a().string.isRequired,showLabel:a().bool,keyword:a().string,onChange:a().func.isRequired,onRemoveKeyword:a().func,onBlurKeyword:a().func,onFocusKeyword:a().func,label:a().string.isRequired,helpLink:a().node,hasError:a().bool,errorMessages:a().arrayOf(a().string)},G.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:i.noop,onBlurKeyword:i.noop,onFocusKeyword:i.noop,helpLink:null,hasError:!1,errorMessages:[]};const Y=G,V=d().div` padding: 16px; /* Necessary to compensate negative top margin of the collapsible after the keyword input. */ border-bottom: 1px solid transparent; `;class Z extends l.Component{constructor(e){super(e),this.validate=this.validate.bind(this)}static renderHelpLink(){return(0,u.jsx)(T,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons",children:(0,u.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,s.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")})})}validate(){const e=[...this.props.errors];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),0===this.props.keyword.trim().length&&this.props.displayNoKeyphrasForTrackingMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to track keyphrase performance","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,s.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,s.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}render(){const t=this.validate();return(0,u.jsx)(_.LocationConsumer,{children:r=>(0,u.jsxs)("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{},children:[(0,u.jsxs)(V,{location:r,children:[(0,u.jsx)(Y,{id:`focus-keyword-input-${r}`,onChange:this.props.onFocusKeywordChange,keyword:this.props.keyword,label:(0,s.__)("Focus keyphrase","wordpress-seo"),helpLink:Z.renderHelpLink(),onBlurKeyword:this.props.onBlurKeyword,onFocusKeyword:this.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),this.props.isSEMrushIntegrationActive&&(0,u.jsx)(M,{location:r,keyphrase:this.props.keyword})]}),(0,u.jsx)(e.Slot,{name:`YoastAfterKeywordInput${r.charAt(0).toUpperCase()+r.slice(1)}`})]})})}}Z.propTypes={keyword:a().string,onFocusKeywordChange:a().func.isRequired,onFocusKeyword:a().func.isRequired,onBlurKeyword:a().func.isRequired,isSEMrushIntegrationActive:a().bool,displayNoKeyphraseMessage:a().bool,displayNoKeyphrasForTrackingMessage:a().bool,errors:a().arrayOf(a().string)},Z.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1,displayNoKeyphrasForTrackingMessage:!1,errors:[]};const Q=(0,v.compose)([(0,k.withSelect)((e=>{const{getFocusKeyphrase:s,getSEMrushNoKeyphraseMessage:t,hasWincherNoKeyphrase:r,getFocusKeyphraseErrors:o}=e("yoast-seo/editor");return{keyword:s(),displayNoKeyphraseMessage:t(),displayNoKeyphrasForTrackingMessage:r(),errors:o()}})),(0,k.withDispatch)((e=>{const{setFocusKeyword:s,setMarkerPauseStatus:t}=e("yoast-seo/editor");return{onFocusKeywordChange:s,onFocusKeyword:()=>t(!0),onBlurKeyword:()=>t(!1)}}))])(Z);function J(e){return J="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},J(e)}function X(e,s,t){return(s=function(e){var s=function(e,s){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=J(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(s)?s:s+""}(s))in e?Object.defineProperty(e,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[s]=t,e}const ee=window.yoast.analysis;function se(e,s=""){const t=e.getIdentifier(),r={score:e.score,rating:ee.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:t,text:e.text,markerId:s.length>0?`${s}:${t}`:t,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),hasAIFixes:e.hasAIFixes(),editFieldName:e.editFieldName,editFieldAriaLabel:e.editFieldAriaLabel};return"ok"===r.rating&&(r.rating="OK"),r}function te(e,s){switch(e.rating){case"error":s.errorsResults.push(e);break;case"feedback":s.considerationsResults.push(e);break;case"bad":s.problemsResults.push(e);break;case"OK":s.improvementsResults.push(e);break;case"good":s.goodResults.push(e)}return s}function re(e){switch(e){case"loading":return{icon:"loading-spinner",color:I.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:I.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:I.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:I.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:I.colors.$color_ok};default:return{icon:"seo-score-bad",color:I.colors.$color_red}}}function oe(e,s=""){let t={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return t;for(let r=0;r<e.length;r++){const o=e[r];o.text&&(t=te(se(o,s),t))}return t}function ie({target:e,children:s}){let t=e;return"string"==typeof e&&(t=document.getElementById(e)),t?(0,l.createPortal)(s,t):null}ie.propTypes={target:a().oneOfType([a().string,a().object]).isRequired,children:a().node.isRequired};const ne=({target:e,scoreIndicator:s})=>(0,u.jsx)(ie,{target:e,children:(0,u.jsx)(r.SvgIcon,{...re(s)})});ne.propTypes={target:a().string.isRequired,scoreIndicator:a().string.isRequired};const ae=ne,le=window.yoast.analysisReport,ce=window.React;var de=t.n(ce);const ue=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),pe=window.wp.hooks,he=(e,s)=>{try{return(0,l.createInterpolateElement)(e,s)}catch(s){return console.error("Error in translation for:",e,s),e}};var me,ge;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ye.apply(null,arguments)}const xe=e=>ce.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),me||(me=ce.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),ge||(ge=ce.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),we=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),be=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{d:"M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"}))})),fe=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));var ve=t(4184),ke=t.n(ve);const _e=({isOpen:e,onClose:t,id:r,upsellLink:o,title:i="",description:n="",benefits:a=[],note:c="",ctbId:d="",modalTitle:p})=>{const{isBlackFriday:h,isWooCommerceActive:m,isProductEntity:g,isWooSEOActive:y}=(0,k.useSelect)((e=>{const s=e("yoast-seo/editor");return{isProductEntity:s.getIsProductEntity(),isWooCommerceActive:s.getIsWooCommerceActive(),isBlackFriday:s.isPromotionActive("black-friday-promotion"),isWooSEOActive:s.getIsWooSeoActive()}}),[]),x=(0,l.useMemo)((()=>m&&g),[m,g]),w=(0,l.useRef)(null);return(0,u.jsx)(E.Modal,{isOpen:e,onClose:t,id:r,initialFocus:w,children:(0,u.jsx)(E.Modal.Panel,{className:"yst-max-w-md yst-p-0",hasCloseButton:!1,children:(0,u.jsxs)(E.Modal.Container,{children:[(0,u.jsxs)(E.Modal.Container.Header,{className:"yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex yst-justify-start yst-gap-3 yst-items-center",children:[x?(0,u.jsx)(be,{className:"yst-text-woo-light yst-w-6 yst-h-6 yst-scale-x-[-1]"}):(0,u.jsx)(xe,{className:"yst-fill-primary-500 yst-w-5 yst-h-5"}),(0,u.jsx)(E.Modal.Title,{as:"h3",className:ke()(x?"yst-text-woo-light":"yst-text-primary-500","yst-text-base yst-font-normal"),children:p}),(0,u.jsx)(E.Modal.CloseButton,{className:"yst-top-2",onClick:t,screenReaderText:(0,s.__)("Close modal","wordpress-seo")})]}),(0,u.jsxs)(E.Modal.Container.Content,{className:"yst-p-0",children:[h&&(0,u.jsx)("div",{className:"yst-flex yst-font-semibold yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6",children:(0,u.jsx)("div",{className:"yst-mx-auto",children:(0,s.__)("BLACK FRIDAY | 30% OFF","wordpress-seo")})}),(0,u.jsxs)("div",{className:"yst-py-6 yst-px-12",children:[(0,u.jsx)(E.Title,{as:"h3",className:"yst-mb-1 yst-leading-5 yst-text-sm yst-font-medium yst-text-slate-800",children:i}),(0,u.jsx)("p",{className:"yst-mb-2",children:n}),Array.isArray(a)&&a.length>0&&(0,u.jsx)("ul",{className:"yst-my-2",children:a.map(((e,s)=>(0,u.jsxs)("li",{className:"yst-flex yst-gap-1 yst-mb-2",children:[(0,u.jsx)(fe,{className:"yst-mr-1 yst-text-green-500 yst-w-[19.5px] yst-h-[19.5px] yst-flex-shrink-0"}),(0,u.jsx)("p",{className:"yst-text-slate-600",children:e})]},`${r}-upsell-benefit-${s}`)))}),"function"==typeof a&&a(),(0,u.jsxs)("div",{className:"yst-text-center",children:[(0,u.jsxs)(E.Button,{as:"a",variant:"upsell",className:"yst-my-2 yst-gap-1.5 yst-w-full",href:o,target:"_blank","data-action":"load-nfd-ctb","data-ctb-id":d,ref:w,children:[(0,u.jsx)(we,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-shrink-0"}),(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium' or 'Yoast Woocommerce SEO'. */ (0,s.__)("Explore %s","wordpress-seo"),x&&!y?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,u.jsx)("span",{className:"yst-sr-only",children:(0,s.__)("Opens in a new tab","wordpress-seo")})]}),(0,u.jsx)("div",{className:"yst-italic yst-text-slate-500 yst-mt-1",children:c})]})]})]})]})})})},je=({isOpen:e,closeModal:t,id:r,upsellLink:o})=>{const{locationContext:i}=(0,_.useRootContext)(),n=(0,j.addQueryArgs)(wpseoAdminL10n[o],{context:i}),a=[he((0,s.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,s.__)("%1$sKeyphrase distribution:%2$s See if your keywords are spread evenly so search engines understand your topic","wordpress-seo"),"<span>","</span>"),{span:(0,u.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),he((0,s.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,s.__)("%1$sTitle check:%2$s Instantly spot missing titles and fix them for better click-through rates","wordpress-seo"),"<span>","</span>"),{span:(0,u.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),he((0,s.sprintf)(/* translators: %1$s and %2$s are opening and closing span tags. */ (0,s.__)("%1$sSynonyms:%2$s Include synonyms of your keyphrase for a more natural flow and smarter suggestions","wordpress-seo"),"<span>","</span>"),{span:(0,u.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})})];return(0,u.jsx)(_e,{isOpen:e,onClose:t,id:r,modalTitle:(0,s.__)("Get deeper SEO insights with Premium","wordpress-seo"),title:(0,s.__)("Find new ways to grow your rankings.","wordpress-seo"),description:(0,s.__)("Premium gives you advanced content checks that reveal new ranking opportunities and help you reach more readers.","wordpress-seo"),upsellLink:n,benefits:a,note:(0,s.__)("Upgrade to optimize with precision","wordpress-seo"),ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})};je.propTypes={isOpen:a().bool.isRequired,closeModal:a().func.isRequired,id:a().string.isRequired,upsellLink:a().string.isRequired};class Se extends l.Component{constructor(e){super(e);const s=this.props.results;this.state={mappedResults:{}},null!==s&&(this.state={mappedResults:oe(s,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:oe(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:s,className:t,status:o,onClick:i,isPressed:n}){return(0,u.jsxs)(l.Fragment,{children:[(0,u.jsx)(r.IconButtonToggle,{marksButtonStatus:o,className:t,onClick:i,id:s,icon:"eye",pressed:n,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsx)(E.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--end-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell",children:(0,u.jsx)(ue,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1})})})]})}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,s){this.props.setActiveMarker(e),s()}handleMarkButtonClick(e,s){const t=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;this.props.activeAIFixesButton&&this.props.setActiveAIFixesButton(null),t===this.props.activeMarker?this.deactivateMarker():this.activateMarker(t,s)}handleResultsChange(e,s,t){const r=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;r===this.props.activeMarker&&(t?(0,i.isUndefined)(s)||this.activateMarker(r,s):this.deactivateMarker())}focusOnKeyphraseField(e){const s=this.props.keywordKey,t=""===s?"focus-keyword-input-"+e:"yoast-keyword-input-"+s+"-"+e,r=document.getElementById(t);r.focus(),r.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,s){const t=document.getElementById("yoast-google-preview-"+e+"-"+s);t.focus(),t.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e,s){var t;null==s||null===(t=s.currentTarget)||void 0===t||t.blur();const r=this.props.location;"keyphrase"!==e?(["description","title","slug"].includes(e)&&this.handleGooglePreviewFocus(r,e),(0,pe.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(r)}handleGooglePreviewFocus(e,s){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(s,"modal")),500);else{const t=document.getElementById("yoast-snippet-editor-metabox");t&&"false"===t.getAttribute("aria-expanded")?(t.click(),setTimeout((()=>this.focusOnGooglePreviewField(s,e)),100)):this.focusOnGooglePreviewField(s,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new ee.Paper("",{}),[])}renderHighlightingUpsell(e,t){const r=(0,s.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return(0,u.jsx)(je,{isOpen:e,closeModal:t,id:"yoast-premium-seo-analysis-highlighting-modal",upsellLink:this.props.highlightingUpsellLink,description:r})}render(){const{mappedResults:e}=this.state,{errorsResults:t,improvementsResults:r,goodResults:o,considerationsResults:i,problemsResults:n}=e,{upsellResults:a,resultCategoryLabels:c}=this.props,d={errors:(0,s.__)("Errors","wordpress-seo"),problems:(0,s.__)("Problems","wordpress-seo"),improvements:(0,s.__)("Improvements","wordpress-seo"),considerations:(0,s.__)("Considerations","wordpress-seo"),goodResults:(0,s.__)("Good results","wordpress-seo")},p=Object.assign(d,c);let h=this.props.marksButtonStatus;return"enabled"===h&&this.props.shortcodesForParsing.length>0&&(h="disabled"),(0,u.jsx)(l.Fragment,{children:(0,u.jsx)(le.ContentAnalysis,{errorsResults:t,problemsResults:n,upsellResults:a,improvementsResults:r,considerationsResults:i,goodResults:o,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:h,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:p,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderAIOptimizeButton:this.props.renderAIOptimizeButton,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton})})}}Se.propTypes={results:a().array,upsellResults:a().array,marksButtonClassName:a().string,editButtonClassName:a().string,marksButtonStatus:a().oneOf(["enabled","disabled","hidden"]),setActiveMarker:a().func.isRequired,setMarkerPauseStatus:a().func.isRequired,setActiveAIFixesButton:a().func.isRequired,activeMarker:a().string,activeAIFixesButton:a().string,keywordKey:a().string,location:a().string,isPremium:a().bool,resultCategoryLabels:a().shape({errors:a().string,problems:a().string,improvements:a().string,considerations:a().string,goodResults:a().string}),shortcodesForParsing:a().array,shouldUpsellHighlighting:a().bool,highlightingUpsellLink:a().string,renderAIOptimizeButton:a().func},Se.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,activeAIFixesButton:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:"",renderAIOptimizeButton:()=>{}};const Ce=Se,Ee=(0,v.compose)([(0,k.withSelect)((e=>{const{getActiveMarker:s,getIsPremium:t,getShortcodesForParsing:r,getActiveAIFixesButton:o}=e("yoast-seo/editor");return{activeMarker:s(),isPremium:t(),shortcodesForParsing:r(),activeAIFixesButton:o()}})),(0,k.withDispatch)((e=>{const{setActiveMarker:s,setMarkerPauseStatus:t,setActiveAIFixesButton:r}=e("yoast-seo/editor");return{setActiveMarker:s,setMarkerPauseStatus:t,setActiveAIFixesButton:r}}))])(Ce);function Re(e){return(0,i.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,s.__)("Not available","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Not available","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Not available","wordpress-seo")};case"bad":return{className:"bad",screenReaderText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,s.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,s.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(ee.interpreters.scoreToRating(e))}function Le({target:e,children:s}){return(0,u.jsx)(ie,{target:e,children:s})}function Ne(){return(0,i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}Le.propTypes={target:a().string.isRequired,children:a().node.isRequired};const Me=()=>(0,l.useContext)(_.LocationContext),Ie="yoast-seo/ai-generator",Te="yoast-seo/editor",Pe="google",Ae="social",Be="twitter",Oe="title",Fe="description",$e="post",qe="term",Ue={post:"title",term:"term_title"},We=(0,i.mapValues)(Ue,(e=>`%%${e}%%`)),He={idle:"idle",loading:"loading",success:"success",error:"error"},ze="success",De="error",Ke="abort";window.wp.sanitize;const{stripHTMLTags:Ge}=o.strings;let Ye,Ve=!1;const Ze=["_formal","_informal","_ao90"],Qe=e=>{for(const s of Ze)if(e.endsWith(s))return e.slice(0,-s.length);return e},Je="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>";Je.split(""),new RegExp("^["+Je+"]+"),new RegExp("["+Je+"]+$");new RegExp("["+Je+"#$%&*+/=@^`{|}~ -¿–-⁊ -₠-⃀]","g");const Xe=e=>{const s={...e};return""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(s.value="%%"+e.name+"%%"),s.badge=`<badge>${e.label}</badge>`,s},es=()=>{const e=(0,k.useSelect)((e=>e(Te).getReplaceVars()),[]),s=(0,l.useMemo)((()=>e.map(Xe)),[e]);return(0,l.useCallback)(((e,{key:t="value",overrides:r={},applyPluggable:o=!0,editType:n=Oe,contentType:a=$e}={})=>{for(const o of s)e=e.replace(new RegExp("%%"+(0,i.escapeRegExp)(o.name)+"%%","g"),(0,i.get)(r,o.name,o[t]));return a===qe&&(e=e.replace(" Archives","")),o?((e,s=Oe)=>{const t=function(e){const s=(0,i.get)(window,["YoastSEO","app","pluggable"],!1);if(!s||!(0,i.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const s=(0,i.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],i.identity);return{url:e.url,title:Ge(s(e.title)),description:Ge(s(e.description)),filteredSEOTitle:e.filteredSEOTitle?Ge(s(e.filteredSEOTitle)):""}}(e);const t=s._applyModifications.bind(s);return{url:e.url,title:Ge(t("data_page_title",e.title)),description:Ge(t("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Ge(t("data_page_title",e.filteredSEOTitle)):""}}({title:"",description:"",[s]:ee.languageProcessing.stripSpaces(e)});return(0,i.get)(t,s,e)})(e,n):e}),[s])},ss={editType:Oe,previewType:Pe,postType:"post",contentType:$e},ts=(0,l.createContext)(ss),rs=(ts.Provider,()=>(0,l.useContext)(ts)),os=e=>{const s=(0,l.useRef)(null);return(0,l.useCallback)((t=>{(0,i.attempt)((()=>s.current&&s.current.disconnect())),null!==t&&(s.current=new ResizeObserver((s=>{(0,i.forEach)(s,(s=>e(s)))})),s.current.observe(t))}),[e])},is=(ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),window.yoast.aiFrontend,"error"),ns="loading",as="showPlay",ls="askPermission",cs="isPlaying",ds=window.yoast.reduxJsToolkit,us="usageCount",ps="fetchUsageCount",hs=`${ps}/success`,ms={errorCode:null,errorIdentifier:null,errorMessage:null},gs=(0,ds.createSlice)({name:us,initialState:{status:"idle",count:0,limit:10,endpoint:"yoast/v1/ai_generator/get_usage",error:ms},reducers:{addUsageCount:(e,{payload:s=1})=>{e.count+=s},setUsageCount:(e,{payload:s})=>{e.count=s},setUsageCountEndpoint:(e,{payload:s})=>{e.endpoint=s},setUsageCountLimit:(e,{payload:s})=>{e.limit=s}},extraReducers:e=>{e.addCase(`${ps}/request`,(e=>{e.status=ns,e.error=ms})),e.addCase(hs,((e,{payload:s})=>{e.status="success",e.count=s.count,e.limit=s.limit,e.error=ms})),e.addCase(`${ps}/${is}`,((e,{payload:s})=>{e.status="error",e.error={errorCode:502,...s}}))}}),ys=(gs.getInitialState,{selectUsageCountStatus:e=>(0,i.get)(e,[us,"status"],gs.getInitialState()),selectUsageCount:e=>(0,i.get)(e,[us,"count"],gs.getInitialState().count),selectUsageCountLimit:e=>(0,i.get)(e,[us,"limit"],gs.getInitialState().limit),selectUsageCountEndpoint:e=>(0,i.get)(e,[us,"endpoint"],gs.getInitialState().endpoint),selectUsageCountError:e=>(0,i.get)(e,[us,"error"],gs.getInitialState().error)});ys.selectUsageCountRemaining=(0,ds.createSelector)([ys.selectUsageCount,ys.selectUsageCountLimit],((e,s)=>Math.max(s-e,0))),ys.isUsageCountLimitReached=(0,ds.createSelector)([ys.selectUsageCount,ys.selectUsageCountLimit,ys.selectUsageCountError],((e,s,t)=>429===t.errorCode||e>=s)),gs.actions,gs.reducer;ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));a().string.isRequired;const xs=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),ws=({learnMoreLink:e,thumbnail:t,wistiaEmbedPermission:r,upsellLink:o,upsellLabel:i=(0,s.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,s.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),newToText:n="Yoast SEO Premium",ctbId:a="f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})=>{const{onClose:l,initialFocus:c}=(0,E.useModalContext)(),d={a:(0,u.jsx)(Is,{href:e,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,u.jsx)(xs,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,u.jsx)("br",{})};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,u.jsxs)("div",{className:"yst-relative yst-w-full",children:[(0,u.jsx)(Os,{videoId:"vun9z1dpfh",thumbnail:t,wistiaEmbedPermission:r}),(0,u.jsx)(E.Badge,{className:"yst-absolute yst-end-4 yst-text-center yst-justify-center",variant:"info",style:{top:"-8px"},children:(0,s.__)("Beta","wordpress-seo")})]}),(0,u.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,u.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,u.jsx)("span",{className:"yst-logo-icon"}),n]})})]}),(0,u.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,u.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,u.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,s.sprintf)(/* translators: %s: Expands to "Yoast AI" */ (0,s.__)("Optimize your SEO content with %s","wordpress-seo"),"Yoast AI")}),(0,u.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:he((0,s.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tags; %4$s is the arrow icon. */ (0,s.__)("Make content editing a breeze! Optimize your SEO content with quick, actionable suggestions at the click of a button.%1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),d)})]}),(0,u.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,u.jsxs)(E.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:o,target:"_blank",ref:c,"data-action":"load-nfd-ctb","data-ctb-id":a,children:[(0,u.jsx)(we,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),i,(0,u.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,s.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,u.jsx)(E.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:l,children:(0,s.__)("Close","wordpress-seo")})]})]})};ws.propTypes={learnMoreLink:a().string.isRequired,upsellLink:a().string.isRequired,thumbnail:a().shape({src:a().string.isRequired,width:a().string,height:a().string}).isRequired,wistiaEmbedPermission:a().shape({value:a().bool.isRequired,status:a().string.isRequired,set:a().func.isRequired}).isRequired,upsellLabel:a().string,newToText:a().string,ctbId:a().string};const bs=({handleRefreshClick:e,supportLink:t})=>(0,u.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,u.jsx)(E.Button,{onClick:e,children:(0,s.__)("Refresh this page","wordpress-seo")}),(0,u.jsx)(E.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,s.__)("Contact support","wordpress-seo")})]});bs.propTypes={handleRefreshClick:a().func.isRequired,supportLink:a().string.isRequired};const fs=({handleRefreshClick:e,supportLink:t})=>(0,u.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,u.jsx)(E.Button,{className:"yst-order-last",onClick:e,children:(0,s.__)("Refresh this page","wordpress-seo")}),(0,u.jsx)(E.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,s.__)("Contact support","wordpress-seo")})]});fs.propTypes={handleRefreshClick:a().func.isRequired,supportLink:a().string.isRequired};const vs=({error:e,children:t=null})=>(0,u.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,u.jsx)(E.Title,{children:(0,s.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,u.jsx)("p",{children:(0,s.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,u.jsx)(E.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,s.__)("Undefined error message.","wordpress-seo")}),(0,u.jsx)("p",{children:(0,s.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});vs.propTypes={error:a().object.isRequired,children:a().node},vs.VerticalButtons=fs,vs.HorizontalButtons=bs;a().string,a().node.isRequired,a().node.isRequired,a().node,a().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));const ks=window.ReactDOM;var _s,js,Ss;(js=_s||(_s={})).Pop="POP",js.Push="PUSH",js.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Ss||(Ss={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const Cs=["post","put","patch","delete"],Es=(new Set(Cs),["get",...Cs]);new Set(Es),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),ce.Component,ce.startTransition,new Promise((()=>{})),ce.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var Rs,Ls,Ns,Ms;new Map,ce.startTransition,ks.flushSync,ce.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(Ms=Rs||(Rs={})).UseScrollRestoration="useScrollRestoration",Ms.UseSubmit="useSubmit",Ms.UseSubmitFetcher="useSubmitFetcher",Ms.UseFetcher="useFetcher",Ms.useViewTransitionState="useViewTransitionState",(Ns=Ls||(Ls={})).UseFetcher="useFetcher",Ns.UseFetchers="useFetchers",Ns.UseScrollRestoration="useScrollRestoration",a().string.isRequired,a().string;const Is=({href:e,children:t=null,...r})=>(0,u.jsxs)(E.Link,{target:"_blank",rel:"noopener noreferrer",...r,href:e,children:[t,(0,u.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,s.__)("(Opens in a new browser tab)","wordpress-seo")})]});Is.propTypes={href:a().string.isRequired,children:a().node};(0,s.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,s.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,s.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,s.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,s.__)("Add product details to help your listings stand out","wordpress-seo"),(0,s.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,s.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,s.__)("Receive clear SEO and readability guidance to optimize your products","wordpress-seo"),(0,s.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,s.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,s.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,s.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,s.__)("Internal links and redirect management, easy","wordpress-seo"),(0,s.__)("Access to friendly help when you need it, day or night","wordpress-seo");var Ts;function Ps(){return Ps=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ps.apply(null,arguments)}a().string.isRequired,a().object.isRequired,a().func.isRequired,ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));const As=e=>ce.createElement("svg",Ps({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},e),Ts||(Ts=ce.createElement("path",{fill:"#CD82AB",d:"M10.989 6.74 7.885.98v.002L7.882.98 4.778 6.74 0 3.32l1.126 7.702H14.64l1.126-7.703L10.99 6.74Z"})));a().string.isRequired,a().object,a().func.isRequired,a().bool.isRequired,a().string.isRequired,a().object.isRequired,a().string.isRequired,a().func.isRequired,a().bool.isRequired,ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),a().bool.isRequired,a().func,a().func,a().string.isRequired,a().string.isRequired,a().string.isRequired,a().string.isRequired;const Bs=window.yoast.reactHelmet,Os=({videoId:e,thumbnail:t,wistiaEmbedPermission:r,className:o=""})=>{const[i,n]=(0,l.useState)(r.value?cs:as),a=(0,l.useCallback)((()=>n(cs)),[n]),c=(0,l.useCallback)((()=>{r.value?a():n(ls)}),[r.value,a,n]),d=(0,l.useCallback)((()=>n(as)),[n]),p=(0,l.useCallback)((()=>{r.set(!0),a()}),[r.set,a]);return(0,u.jsxs)(u.Fragment,{children:[r.value&&(0,u.jsx)(Bs.Helmet,{children:(0,u.jsx)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})}),(0,u.jsxs)("div",{className:ke()("yst-relative yst-w-full yst-h-0 yst-pt-[47.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white",o),children:[i===as&&(0,u.jsx)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:c,children:(0,u.jsx)("img",{className:"yst-w-full yst-h-auto yst-object-contain",alt:"",loading:"lazy",decoding:"async",...t})}),i===ls&&(0,u.jsxs)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white",children:[(0,u.jsxs)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center",children:[r.status===ns&&(0,u.jsx)(E.Spinner,{}),r.status!==ns&&(0,s.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ (0,s.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")]}),(0,u.jsxs)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4",children:[(0,u.jsx)(E.Button,{type:"button",variant:"secondary",onClick:d,disabled:r.status===ns,children:(0,s.__)("Deny","wordpress-seo")}),(0,u.jsx)(E.Button,{type:"button",variant:"primary",onClick:p,disabled:r.status===ns,children:(0,s.__)("Allow","wordpress-seo")})]})]}),r.value&&i===cs&&(0,u.jsxs)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-right-0",children:[null===e&&(0,u.jsx)(E.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,u.jsx)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`})]})]})]})};Os.propTypes={videoId:a().string.isRequired,thumbnail:a().shape({src:a().string.isRequired,width:a().string,height:a().string}).isRequired,wistiaEmbedPermission:a().shape({value:a().bool.isRequired,status:a().string.isRequired,set:a().func.isRequired}).isRequired,hasPadding:a().bool},ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),a().bool.isRequired,a().func.isRequired,a().func,a().string;const Fs=({onGiveConsent:e,learnMoreLink:t,privacyPolicyLink:r,termsOfServiceLink:o,imageLink:i})=>{const{onClose:n,initialFocus:a}=(0,E.useModalContext)(),[c,d]=(0,E.useToggleState)(!1),p=(0,l.useMemo)((()=>({src:i,width:"432",height:"244"})),[i]),h=he((0,s.sprintf)(/* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */ (0,s.__)("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,u.jsx)(Is,{href:o}),a2:(0,u.jsx)(Is,{href:r})}),[m,g]=(0,E.useToggleState)(!1),y=(0,l.useCallback)((async()=>{g(),await e(),g()}),[e]);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:(0,u.jsx)("div",{className:"yst-relative yst-w-full",children:(0,u.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:"",loading:"lazy",decoding:"async",...p})})}),(0,u.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,u.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,u.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,s.sprintf)(/* translators: %s expands to Yoast AI. */ (0,s.__)("Grant consent for %s","wordpress-seo"),"Yoast AI")}),(0,u.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:he((0,s.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */ (0,s.__)("Enable AI-powered SEO! Use all Yoast AI features to boost your efficiency. Just give us the green light. %1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),{a:(0,u.jsx)(Is,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,u.jsx)(xs,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,u.jsx)("br",{})})})]}),(0,u.jsx)("div",{className:"yst-flex yst-w-full yst-mt-6",children:(0,u.jsx)("hr",{className:"yst-w-full yst-text-gray-200"})}),(0,u.jsxs)("div",{className:"yst-flex yst-items-start yst-mt-4",children:[(0,u.jsx)("input",{type:"checkbox",id:"yst-ai-consent-checkbox",name:"yst-ai-consent-checkbox",checked:c,value:c?"true":"false",onChange:d,className:"yst-checkbox__input",ref:a}),(0,u.jsx)("label",{htmlFor:"yst-ai-consent-checkbox",className:"yst-label yst-checkbox__label yst-text-xs yst-font-normal yst-text-slate-500",children:h})]}),(0,u.jsx)("div",{className:"yst-w-full yst-flex yst-mt-4",children:(0,u.jsxs)(E.Button,{as:"button",className:"yst-grow",size:"large",disabled:!c,onClick:y,children:[m&&(0,u.jsx)(E.Spinner,{className:"yst-me-2"}),(0,s.__)("Grant consent","wordpress-seo")]})}),(0,u.jsx)(E.Button,{as:"button",className:"yst-mt-4",variant:"tertiary",onClick:n,children:(0,s.__)("Close","wordpress-seo")})]})]})};Fs.propTypes={onGiveConsent:a().func.isRequired,learnMoreLink:a().string.isRequired,privacyPolicyLink:a().string.isRequired,termsOfServiceLink:a().string.isRequired,imageLink:a().string.isRequired};const $s=()=>{const e=(0,k.useSelect)((e=>e(Te).selectLink("https://yoa.st/ai-common-errors")),[]),t=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Something went wrong","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,s.__)("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,u.jsx)(Is,{variant:"error",href:e}),a2:(0,u.jsx)(Is,{variant:"error",href:t})})})]})},qs=()=>{const e=(0,k.useSelect)((e=>e(Te).selectLink("https://yoa.st/ai-common-errors")),[]),t=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Not enough content","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,s.__)("Please add more content to ensure a valuable AI suggestion. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,u.jsx)(Is,{variant:"error",href:e}),a2:(0,u.jsx)(Is,{variant:"error",href:t})})})]})},Us=()=>{const e=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_settings#/site-features#card-wpseo-keyword_analysis_active")),[]),t=(0,l.useCallback)((()=>{window.location.reload()}),[]),{onClose:r}=(0,E.useModalContext)();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("SEO analysis required","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)( /** * translators: * %1$s expands to Yoast SEO. * %2$s and %3$s expand to an opening and closing anchor tag, respectively, that links to the settings page. * %4$s expands to Yoast AI. */ (0,s.__)("%4$s requires the SEO analysis to be enabled. To enable it, please navigate to %2$sSite features%3$s in %1$s, turn on the SEO analysis, and click 'Save changes'. If it's disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.","wordpress-seo"),"Yoast SEO","<a>","</a>","Yoast AI"),{a:(0,u.jsx)(Is,{variant:"error",href:e})})})]}),(0,u.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,u.jsx)(E.Button,{variant:"secondary",onClick:r,children:(0,s.__)("Close","wordpress-seo")}),(0,u.jsx)(E.Button,{className:"yst-revoke-button",variant:"primary",onClick:t,children:(0,s.__)("Refresh page","wordpress-seo")})]})]})},Ws=()=>{const e=(0,k.useSelect)((e=>e(Te).selectLink("https://yoa.st/ai-generator-rate-limit-help")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("You've reached the Yoast AI rate limit","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,s.__)("You might have reached your Yoast AI rate limit for a specific time frame or your sparks limit for this month. If you have reached your rate limit, please reduce the frequency of your requests to continue using Yoast AI features. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.","wordpress-seo"),"<a>","</a>"),{a:(0,u.jsx)(Is,{variant:"error",href:e})})})]})},Hs=({invalidSubscriptions:e=[]})=>{const{newYoastWooLink:t,activateYoastWooLink:r,newPremiumLink:o,activatePremiumLink:i}=(0,k.useSelect)((e=>{const s=e(Te);return{newYoastWooLink:s.selectLink("https://yoa.st/ai-generator-new-yoast-woocommerce"),activateYoastWooLink:s.selectLink("https://yoa.st/ai-generator-activate-yoast-woocommerce"),newPremiumLink:s.selectLink("https://yoa.st/ai-generator-new-premium"),activatePremiumLink:s.selectLink("https://yoa.st/ai-generator-activate-premium")}}),[]),{onClose:n}=(0,E.useModalContext)(),a=(0,l.useCallback)((async()=>{try{await C()({path:"yoast/v1/ai_generator/bust_subscription_cache",method:"POST",parse:!1})}catch(e){console.error(e)}window.location.reload()}),[]);let c,d,p;return e.includes("Yoast WooCommerce SEO")?(c="Yoast WooCommerce SEO",d=r,p=t):e.includes("Yoast SEO Premium")&&(c="Yoast SEO Premium",d=i,p=o),(0,u.jsxs)(l.Fragment,{children:[(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Subscription required","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)( /** * translators: * %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. * %2$s expands to MyYoast. * %3$s and %4$s expand to an opening and closing anchor tag, respectively, to activate your subscription. * %5$s and %6$s expand to an opening and closing anchor tag, respectively, to get a new subscription. **/ (0,s.__)("To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.","wordpress-seo"),c,"MyYoast","<Activate>","</Activate>","<New>","</New>"),{Activate:(0,u.jsx)(Is,{variant:"error",href:d}),New:(0,u.jsx)(Is,{variant:"error",href:p})})})]}),(0,u.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,u.jsx)(E.Button,{variant:"secondary",onClick:n,children:(0,s.__)("Close","wordpress-seo")}),(0,u.jsx)(E.Button,{variant:"primary",onClick:a,children:(0,s.__)("Refresh page","wordpress-seo")})]})]})};Hs.propTypes={invalidSubscriptions:a().arrayOf(a().string)};const zs=()=>{const e=(0,k.useSelect)((e=>e(Te).selectLink("https://yoa.st/ai-common-errors")),[]),t=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Connection timeout","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,s.__)("It seems that a connection timeout has occurred. Please check your internet connection and try again later. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,u.jsx)(Is,{variant:"error",href:e}),a2:(0,u.jsx)(Is,{variant:"error",href:t})})})]})},Ds=()=>{const e=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Usage policy violation","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)( /* translators: %1$s, %2$s, %3$s, %4$s are anchor tags. * %5$s expands to OpenAI. */ (0,s.__)("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:(0,u.jsx)(Is,{variant:"error",href:"https://openai.com/policies/usage-policies"}),a2:(0,u.jsx)(Is,{variant:"error",href:e})})})]})},Ks=({errorMessage:e=""})=>{const t=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Something went wrong","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:(0,s.sprintf)(/* translators: %s is the error response of the request. */ (0,s.__)("The request came back with the following error: '%s'.","wordpress-seo"),e)}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,s.__)("Please try again later. If the issue persists, please %1$scontact our support team%2$s.","wordpress-seo"),"<a>","</a>"),{a:(0,u.jsx)(Is,{variant:"error",href:t})})})]})};Ks.propTypes={errorMessage:a().string};const Gs=()=>{const e=(0,k.useSelect)((e=>e(Te).selectAdminLink("plugins.php")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Something went wrong","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. %2$s expands to an opening link tag. %3$s expands to a closing link tag. */ (0,s.__)("The version of %1$s is outdated. Please upgrade %1$s %2$shere%3$s!","wordpress-seo"),"Yoast SEO Premium","<a>","</a>"),{a:(0,u.jsx)(Is,{variant:"error",href:e})})})]})},Ys=()=>{const e=(0,k.useSelect)((e=>e(Te).selectLink("https://yoa.st/ai-common-errors")),[]),t=(0,k.useSelect)((e=>e(Te).selectAdminLink("?page=wpseo_page_support")),[]);return(0,u.jsxs)(E.Alert,{variant:"error",children:[(0,u.jsx)("span",{className:"yst-block yst-font-medium",children:(0,s.__)("Yoast AI cannot reach your site","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-mt-2",children:he((0,s.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ (0,s.__)("To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,u.jsx)(Is,{variant:"error",href:e}),a2:(0,u.jsx)(Is,{variant:"error",href:t})})})]})},Vs=({errorCode:e,errorIdentifier:s="",errorMessage:t=""})=>{switch(e){case 400:switch(s){case"SITE_UNREACHABLE":return(0,u.jsx)(Ys,{});case"WP_HTTP_REQUEST_ERROR":return(0,u.jsx)(Ks,{errorMessage:t});default:return(0,u.jsx)($s,{})}case 429:return(0,u.jsx)(Ws,{});default:return(0,u.jsx)($s,{})}};Vs.propTypes={errorCode:a().number.isRequired,errorIdentifier:a().string,errorMessage:a().string};const Zs=({currentSubscriptions:e,isSeoAnalysisActive:s=!0})=>{const{isPremium:t,usageCountStatus:r,usageCountError:o,isWooProductEntity:i,isWooSeoActive:n}=(0,k.useSelect)((e=>{const s=e(Te);return{isPremium:s.getIsPremium(),usageCountStatus:e(Ie).selectUsageCountStatus(),usageCountError:e(Ie).selectUsageCountError(),isWooProductEntity:s.getIsWooProductEntity(),isWooSeoActive:s.getIsWooSeoActive()}}),[]),a=(0,l.useMemo)((()=>!e.wooCommerceSubscription&&i),[e.wooCommerceSubscription]),c=(0,l.useMemo)((()=>{const s=[];return!t&&!i||e.premiumSubscription||s.push("Yoast SEO Premium"),a&&n&&s.push("Yoast WooCommerce SEO"),s}),[t,e.premiumSubscription,a,n,i]);return c.length>0?(0,u.jsx)(Hs,{invalidSubscriptions:c}):s?r===He.error?(0,u.jsx)(Vs,{...o}):void 0:(0,u.jsx)(Us,{})};Zs.propTypes={currentSubscriptions:a().object.isRequired,isSeoAnalysisActive:a().bool};const Qs=({onStartGenerating:e})=>{const{termsOfServiceLink:s,privacyPolicyLink:t,learnMoreLink:r,imageLink:o,consentEndpoint:i}=(0,k.useSelect)((e=>({termsOfServiceLink:e(Te).selectLink("https://yoa.st/ai-generator-terms-of-service"),privacyPolicyLink:e(Te).selectLink("https://yoa.st/ai-generator-privacy-policy"),learnMoreLink:e(Te).selectLink("https://yoa.st/ai-generator-learn-more"),imageLink:e(Te).selectImageLink("ai-consent.png"),consentEndpoint:e(Ie).selectAiGeneratorConsentEndpoint()})),[]),{storeAiGeneratorConsent:n}=(0,k.useDispatch)(Ie),a=(0,l.useCallback)((async()=>{await n(!0,i),e()}),[n,e,i]);return(0,u.jsx)(Fs,{termsOfServiceLink:s,privacyPolicyLink:t,learnMoreLink:r,imageLink:o,onGiveConsent:a})};Qs.propTypes={onStartGenerating:a().func.isRequired};const Js=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),Xs=e=>{var s,t;const r=null===(s=(0,k.useDispatch)("core/edit-post"))||void 0===s?void 0:s.openGeneralSidebar,o=null===(t=(0,k.useDispatch)("core/editor"))||void 0===t?void 0:t.closePublishSidebar,{openEditorModal:i}=(0,k.useDispatch)("yoast-seo/editor");return(0,l.useCallback)((()=>{o(),r("yoast-seo/seo-sidebar"),e&&i("yoast-search-appearance-modal")}),[o,r,i])},et=/(?<start><\/badge>|^(?!<badge>))(?<wrap>[\s\S]+?)(?<end><badge>|$)/g,st=({total:e,current:t,onNavigate:r,disabled:o=!1,...i})=>(0,u.jsxs)("div",{className:"yst-flex yst-justify-between yst-gap-x-2 yst-items-start",children:[(0,u.jsx)("p",{className:"yst-text-slate-500 yst-text-xxs yst-mt-1",children:(0,s.__)("Text generated by AI may be offensive or inaccurate.","wordpress-seo")}),e>1&&(0,u.jsx)(E.Pagination,{className:"yst-shrink-0",current:t,total:e,onNavigate:r,disabled:o,variant:"text" /* translators: Hidden accessibility text. */,screenReaderTextPrevious:(0,s.__)("Previous","wordpress-seo") /* translators: Hidden accessibility text. */,screenReaderTextNext:(0,s.__)("Next","wordpress-seo"),...i})]}),tt=({height:e})=>{const[t,r]=(0,l.useState)(""),{onClose:o}=(0,E.useModalContext)(),{editType:n,previewType:a,contentType:c}=rs(),d=(()=>{const{editType:e,previewType:t}=rs();let r="SEO";switch(t){case Ae:r="social";break;case Be:r="X"}switch(e){case Oe:return(0,s.sprintf)(/* translators: %s is the type of title. */ (0,s.__)("Generated %s titles","wordpress-seo"),r);case Fe:return t===Pe&&(r="meta"),(0,s.sprintf)(/* translators: %s is the type of description. */ (0,s.__)("Generated %s descriptions","wordpress-seo"),r)}})(),p=(()=>{const{editType:e,previewType:t}=rs();let r="SEO";switch(t){case Ae:r="social";break;case Be:r="X"}switch(e){case Oe:return(0,s.sprintf)(/* translators: %s is the type of title. */ (0,s.__)("Apply %s title","wordpress-seo"),r);case Fe:return t===Pe&&(r="meta"),(0,s.sprintf)(/* translators: %s is the type of description. */ (0,s.__)("Apply %s description","wordpress-seo"),r)}})(),h=Me(),{suggestions:m,fetchSuggestions:g,setSelectedSuggestion:y}=Sr(),x=vr(),{addAppliedSuggestion:w,addUsageCount:b}=(0,k.useDispatch)(Ie),{isUsageCountLimitReached:f,isWooProductEntity:v,hasValidPremiumSubscription:_,hasValidWooSubscription:j}=(0,k.useSelect)((e=>{const s=e(Ie),t=e(Te);return{isUsageCountLimitReached:s.isUsageCountLimitReached(),isPremium:t.getIsPremium(),isWooProductEntity:t.getIsWooProductEntity(),isWooSeoActive:t.getIsWooSeoActive(),hasValidPremiumSubscription:s.selectPremiumSubscription(),hasValidWooSubscription:s.selectWooCommerceSubscription()}}),[]),S=(0,l.useMemo)((()=>m.status===He.loading||!(j||!f||!v)||!(_||!f)),[_,f,m.status,v,j]),C=(0,E.usePrevious)(e),R=m.status===He.success?e:C,L=`calc(${0===R?"50%":R/2+"px"} - 40vh)`,[N,M]=(0,l.useState)(!1),I=(0,l.useCallback)((e=>{M(e.target.offsetHeight!==e.target.scrollHeight)}),[M]),T=os(I),P=Er(),A=(()=>{const e=(()=>{const{previewType:e}=rs();return(0,l.useMemo)((()=>{switch(e){case Pe:return()=>(0,k.select)(Te).getSnippetEditorData().description;case Ae:return(0,k.select)(Te).getFacebookDescriptionOrFallback;case Be:return(0,k.select)(Te).getTwitterDescriptionOrFallback;default:return(0,i.constant)("")}}),[e])})();return(0,l.useMemo)(e,[e])})(),B=es(),O=(0,l.useMemo)((()=>n===Oe?{[Ue[c]]:m.selected}:{}),[n,c,m.selected]),F=(0,l.useMemo)((()=>B(P,{overrides:O,contentType:c})),[B,P,n,c,m.selected]),$=(0,l.useMemo)((()=>B(P,{overrides:{...O,sep:"",sitename:""},contentType:c})),[B,P,n,c,m.selected]),q=(0,l.useMemo)((()=>n===Fe?m.selected:B(A,{editType:Fe})),[B,A,n,m.selected]),U=(0,l.useCallback)((e=>B(P,{overrides:{[Ue[c]]:e},key:"badge",applyPluggable:!1,contentType:c})),[B,P,c]),{currentPage:W,setCurrentPage:H,isOnLastPage:z,totalPages:D,getItemsOnCurrentPage:K}=(({totalItems:e=0,perPage:s=5})=>{const[t,r]=(0,l.useState)(1),o=(0,l.useMemo)((()=>Math.ceil(e/s)),[e,s]),n=(0,l.useMemo)((()=>t*s),[t,s]),a=(0,l.useMemo)((()=>n-s),[n,s]),c=(0,l.useMemo)((()=>1===t),[t]),d=(0,l.useMemo)((()=>t===o),[t,o]),u=(0,l.useCallback)((()=>{t>1&&r(t-1)}),[t,r]),p=(0,l.useCallback)((()=>{t<o&&r(t+1)}),[t,r,o]),h=(0,l.useCallback)((e=>(0,i.slice)(e,a,n)),[a,n]);return{currentPage:t,setCurrentPage:r,totalPages:o,isOnFirstPage:c,isOnLastPage:d,previousPage:u,nextPage:p,firstOnPage:a,lastOnPage:n,getItemsOnCurrentPage:h}})({totalItems:m.status===He.loading||m.status===He.error?m.entities.length+5:m.entities.length,perPage:5}),G=(0,l.useMemo)((()=>(0,i.map)(K(m.entities),(e=>{let s=e;return n===Oe&&(s=U(e),s=s.replace(et,((e,s,t,r,o,i,{start:n,wrap:a,end:l})=>{const c=a.trim();return 0===c.length?`${n}${a}${l}`:`${n}<span>${c}</span>${l}`})),s=he(s,{badge:(0,u.jsx)(E.Badge,{className:"yst-me-2 last:yst-me-0",variant:"plain",children:" "}),span:(0,u.jsx)("span",{className:"yst-flex yst-items-center yst-me-2 last:yst-me-0"})})),{value:e,label:s}}))),[m.entities,K,n,U]),Y=(0,l.useMemo)((()=>m.status!==He.error||m.status===He.error&&!z),[m.status,z]),V=(0,l.useMemo)((()=>m.status===He.loading&&z),[m.status,z]),Z=(0,l.useMemo)((()=>m.status===He.error&&z),[m.status,z]),Q=(0,l.useCallback)((()=>{S||(H(m.status===He.error?D:D+1),g().then((e=>{e===ze&&b()})))}),[g,m.status,D,H,y,f]),J=(0,l.useCallback)((()=>r("")),[r]),X=kr(),ee=Xs(!0),se=(0,l.useCallback)((()=>{const e=n===Oe?P.replace(new RegExp(We[c]+"( Archives)?"),m.selected):m.selected;X(e),w({editType:n,previewType:a,suggestion:m.selected}),o(),"pre-publish"===h&&ee()}),[X,n,a,m.selected,P,o,w,ee,h]);return((e,s=[])=>{const t=(0,l.useRef)(!1);(0,l.useEffect)((()=>{t.current||(t.current=!0,e().finally((()=>{t.current=!1})))}),[e,s])})((()=>""===t?g().then((e=>{r(e),e===ze&&b()})):Promise.resolve()),[t,b,g]),t===De||m.status===He.error&&402===m.error.code?(0,u.jsx)("div",{className:"yst-flex yst-flex-col yst-space-y-6 yst-mt-6",children:(0,u.jsx)(ir,{errorCode:m.error.code,errorIdentifier:m.error.errorIdentifier,invalidSubscriptions:m.error.missingLicenses,showActions:!0,onRetry:J,errorMessage:m.error.message})}):(0,u.jsxs)(l.Fragment,{children:[(0,u.jsxs)(E.Modal.Container.Content,{ref:T,className:"yst-flex yst-flex-col yst-py-6 yst-space-y-2",children:[(0,u.jsx)(x,{title:F,description:q,status:m.status,titleForLength:$,showPreviewSkeleton:""===t,showLengthProgress:!V}),Y&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"yst-flex yst-space-y-4",children:[(0,u.jsx)(E.Label,{as:"span",className:"yst-flex-grow yst-cursor-default yst-mt-auto",children:d}),(0,u.jsx)(E.Button,{variant:"ai-secondary",size:"small",onClick:m.status===He.loading?i.noop:Q,isLoading:m.status===He.loading,disabled:S,children:(0,s.__)("Generate 5 more","wordpress-seo")})]}),V?(0,u.jsx)(dr,{idSuffix:h,suggestionClassNames:n===Oe?[["yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-8/12"]]:void 0}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(lr,{idSuffix:h,suggestions:G,selected:m.selected,onChange:y}),(0,u.jsx)(st,{current:W,total:D,onNavigate:H,disabled:m.status===He.loading||Z})]})]}),m.status===He.error&&z&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"yst-mt-8"}),(0,u.jsx)(ir,{errorCode:m.error.code,errorIdentifier:m.error.errorIdentifier,invalidSubscriptions:m.error.missingLicenses,errorMessage:m.error.message}),(0,u.jsx)(st,{current:W,total:D,onNavigate:H,disabled:m.status===He.loading})]})]}),(0,u.jsxs)(E.Modal.Container.Footer,{children:[N&&(0,u.jsx)("div",{className:"yst-absolute yst-inset-x-0 yst--mt-10 yst-me-[calc(2.5rem-1px)] yst-h-10 yst-pointer-events-none yst-bg-gradient-to-t yst-from-slate-50"}),(0,u.jsx)("hr",{className:"yst-mb-6 yst--mx-6"}),(0,u.jsxs)("div",{className:"sm:yst-flex sm:yst-justify-end sm:yst-space-x-2 sm:rtl:yst-space-x-reverse",children:[(0,u.jsx)("div",{className:"yst-hidden sm:yst-inline",children:(0,u.jsx)(E.Button,{variant:"secondary",onClick:o,children:(0,s.__)("Close","wordpress-seo")})}),(0,u.jsx)("div",{className:"yst-block sm:yst-inline",children:(0,u.jsxs)(E.Button,{className:"yst-w-full sm:yst-w-auto",variant:"primary",onClick:se,disabled:""===m.selected||m.status===He.loading||Z,children:[(0,u.jsx)(Js,{className:"yst--ms-1 yst-me-1 yst-h-4 yst-w-4 yst-text-white"}),p]})}),(0,u.jsx)("div",{className:"yst-mt-3 sm:yst-hidden",children:(0,u.jsx)(E.Button,{variant:"secondary",onClick:o,className:"yst-w-full sm:yst-w-auto",children:(0,s.__)("Close","wordpress-seo")})})]})]}),(0,u.jsxs)(E.Notifications,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all",style:{marginTop:L},position:"bottom-left",children:[m.status!==He.loading&&(0,u.jsx)(fr,{className:"yst-mx-[calc(50%-50vw)] yst-transition-all"}),(m.status===He.success||m.status===He.loading)&&(0,u.jsx)(pr,{})]})]})};tt.propTypes={height:a().number.isRequired};a().func.isRequired;const rt=window.yoast.searchMetadataPreviews,ot=({title:e,description:t,status:r,titleForLength:o,showPreviewSkeleton:i,showLengthProgress:n})=>{const a=(0,k.useSelect)((e=>e(Te).getSnippetEditorMode()),[]),[c,d]=(0,l.useState)(a),{editType:p}=rs(),h=Me(),m=Cr({editType:p,title:o,description:t});return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(rt.ModeSwitcher,{onChange:d,active:c,id:`yst-ai-google-preview-mode-switcher-${h}`,disabled:r===He.loading}),i?(0,u.jsx)(at,{}):(0,u.jsx)(nt,{mode:c,title:e,description:t}),(0,u.jsxs)("div",{className:"yst-pt-4",children:[(0,u.jsx)(E.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:p===Oe?(0,s.__)("SEO title width","wordpress-seo"):(0,s.__)("Meta description length","wordpress-seo")}),(0,u.jsx)(lt,{className:"yst-mt-2",progress:n?m.actual:0,min:0,max:m.max,score:m.score})]})]})};ot.propTypes={title:a().string.isRequired,description:a().string.isRequired,status:a().oneOf(Object.keys(He)).isRequired,titleForLength:a().string.isRequired,showPreviewSkeleton:a().bool.isRequired,showLengthProgress:a().bool.isRequired};const it=/mobi/i,nt=({mode:e,title:s,description:t})=>{var r,o;const n=(0,k.useSelect)((e=>e(Te).getBaseUrlFromSettings()),[]),a=(0,k.useSelect)((e=>e(Te).getSnippetEditorData().slug||""),[]),c=(0,k.useSelect)((e=>e(Te).getDateFromSettings()),[]),d=(0,k.useSelect)((e=>e(Te).getFocusKeyphrase()),[]),p=(0,k.useSelect)((e=>e(Te).getSnippetEditorPreviewImageUrl()),[]),h=(0,k.useSelect)((e=>e(Te).getSiteIconUrlFromSettings()),[]),m=(0,k.useSelect)((e=>e(Te).getShoppingData()),[]),g=(0,k.useSelect)((e=>e(Te).getSnippetEditorWordsToHighlight()),[]),y=(0,k.useSelect)((e=>e(Te).getSiteName()),[]),x=(0,k.useSelect)((e=>e(Te).getContentLocale()),[]),w=(0,l.useMemo)((()=>n+a),[n,a]),b=(0,l.useMemo)((()=>{var e,s;return it.test(null===(e=window)||void 0===e||null===(s=e.navigator)||void 0===s?void 0:s.userAgent)}),[null===(r=window)||void 0===r||null===(o=r.navigator)||void 0===o?void 0:o.userAgent]);return(0,u.jsx)("div",{className:`yst-ai-generator-preview-section ${e}${b?" yst-user-agent__mobile":""}`,children:(0,u.jsx)(rt.SnippetPreview,{title:s,description:t,mode:e,url:w,keyword:d,date:c,faviconSrc:h,mobileImageSrc:p,wordsToHighlight:g,siteName:y,locale:x,shoppingData:m,onMouseUp:i.noop})})};nt.propTypes={mode:a().oneOf(Object.keys({mobile:"mobile",desktop:"desktop"})).isRequired,title:a().string.isRequired,description:a().string.isRequired};const at=()=>(0,u.jsxs)("div",{className:"yst-max-w-[400px] yst-py-4 yst-px-3 yst-border yst-rounded-lg yst-w-full yst-mx-auto",children:[(0,u.jsxs)("div",{className:"yst-flex yst-gap-x-3",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-flex-shrink-0 yst-h-7 yst-w-7 yst-rounded-full"}),(0,u.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-full yst-gap-y-1",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-2.5 yst-w-10/12"})]})]}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-4 yst-w-full yst-mt-6 yst-mb-4"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-full"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-10/12 yst-mt-2.5"})]}),lt=({className:e="",progress:s,max:t,score:r})=>{const o=(0,l.useMemo)((()=>(e=>e>=7?"yst-score-good":e>=5?"yst-score-ok":"yst-score-bad")(r)),[r]);return(0,u.jsx)(E.ProgressBar,{className:ke()("yst-length-progress-bar",o,e),progress:s,min:0,max:t})};lt.propTypes={className:a().string,progress:a().number.isRequired,max:a().number.isRequired,score:a().number.isRequired};const ct=({title:e,description:t,showPreviewSkeleton:r})=>(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,u.jsx)(E.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,s.__)("Social preview","wordpress-seo")})}),r?(0,u.jsx)(rr,{}):(0,u.jsx)(tr,{title:e,description:t})]});ct.propTypes={title:a().string.isRequired,description:a().string.isRequired,showPreviewSkeleton:a().bool.isRequired};const dt=d().p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,ut=e=>{const{siteUrl:s}=e;return(0,u.jsxs)(ce.Fragment,{children:[(0,u.jsx)("span",{className:"screen-reader-text",children:s}),(0,u.jsx)(dt,{"aria-hidden":"true",children:(0,u.jsx)("span",{children:s})})]})};ut.propTypes={siteUrl:a().string.isRequired};const pt=ut,ht=window.yoast.socialMetadataForms,mt=d().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,gt=d().img` && { height: 100%; position: absolute; width: 100%; object-fit: cover; } `,yt=d().div` padding-bottom: ${e=>e.aspectRatio}%; `,xt=({imageProps:e,width:s,height:t,imageMode:r="landscape"})=>"landscape"===r?(0,u.jsx)(yt,{aspectRatio:e.aspectRatio,children:(0,u.jsx)(gt,{src:e.src,alt:e.alt})}):(0,u.jsx)(mt,{src:e.src,alt:e.alt,width:s,height:t,imageProperties:e});function wt(e,s,t){return"landscape"===t?{widthRatio:s.width/e.landscapeWidth,heightRatio:s.height/e.landscapeHeight}:"portrait"===t?{widthRatio:s.width/e.portraitWidth,heightRatio:s.height/e.portraitHeight}:{widthRatio:s.width/e.squareWidth,heightRatio:s.height/e.squareHeight}}function bt(e,s){return s.widthRatio<=s.heightRatio?{width:Math.round(e.width/s.widthRatio),height:Math.round(e.height/s.widthRatio)}:{width:Math.round(e.width/s.heightRatio),height:Math.round(e.height/s.heightRatio)}}async function ft(e,s,t=!1){const r=await function(e){return new Promise(((s,t)=>{const r=new Image;r.onload=()=>{s({width:r.width,height:r.height})},r.onerror=t,r.src=e}))}(e);let o=t?"landscape":"square";"Facebook"===s&&(o=(0,ht.determineFacebookImageMode)(r));const i=function(e){return"Twitter"===e?ht.TWITTER_IMAGE_SIZES:ht.FACEBOOK_IMAGE_SIZES}(s),n=function(e,s,t){return"square"===t&&s.width===s.height?{width:e.squareWidth,height:e.squareHeight}:bt(s,wt(e,s,t))}(i,r,o);return{mode:o,height:n.height,width:n.width}}async function vt(e,s,t=!1){try{return{imageProperties:await ft(e,s,t),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}xt.propTypes={imageProps:a().shape({src:a().string.isRequired,alt:a().string.isRequired,aspectRatio:a().number.isRequired}).isRequired,width:a().number.isRequired,height:a().number.isRequired,imageMode:a().string};const kt=d().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${I.colors.$color_white}; `,_t=d().div` box-sizing: border-box; max-width: ${ht.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; height: ${ht.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${I.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; display: flex; justify-content: center; align-items: center; text-decoration: underline; font-size: 14px; cursor: pointer; `;class jt extends ce.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await vt(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:ht.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:ht.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:ht.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:ht.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:ht.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:ht.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,u.jsx)(_t,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,s.__)("Select image","wordpress-seo")});const r=this.retrieveContainerDimensions(e.mode);return(0,u.jsx)(kt,{mode:e.mode,dimensions:r,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick,children:(0,u.jsx)(xt,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:ht.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode})})}}jt.propTypes={src:a().string,alt:a().string,onImageLoaded:a().func,onImageClick:a().func,onMouseEnter:a().func,onMouseLeave:a().func},jt.defaultProps={src:"",alt:"",onImageLoaded:i.noop,onImageClick:i.noop,onMouseEnter:i.noop,onMouseLeave:i.noop};const St=jt,Ct=d().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,Et=d().p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `,Rt=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},Lt=d().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,Nt=d().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class Mt extends ce.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=de().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:s}=this.state,t="landscape"===e?2:5;t!==s&&this.setState({maxLineCount:t})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:s,imageMode:t}=this.state,r=this.getTitleLineCount();let o=s-r;"portrait"===t&&(o=5===r?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:s,descriptionLineCount:t}=this.state;return(0,u.jsxs)(Lt,{id:"facebookPreview",mode:e,children:[(0,u.jsx)(St,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,u.jsxs)(Nt,{mode:e,children:[(0,u.jsx)(pt,{siteUrl:this.props.siteUrl,mode:e}),(0,u.jsx)(Ct,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:s,children:this.props.title}),t>0&&(0,u.jsx)(Et,{maxWidth:Rt(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:t,children:this.props.description})]})]})}}Mt.propTypes={siteUrl:a().string.isRequired,title:a().string.isRequired,description:a().string,imageUrl:a().string,imageFallbackUrl:a().string,alt:a().string,onSelect:a().func,onImageClick:a().func,onMouseHover:a().func},Mt.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const It=Mt,Tt=d().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,Pt=e=>(0,u.jsx)(Tt,{children:(0,u.jsx)("span",{children:e.siteUrl})});Pt.propTypes={siteUrl:a().string.isRequired};const At=Pt,Bt=(e,s=!0)=>e?`\n\t\t\tmax-width: ${ht.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${s?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${ht.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${s?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Ot=d().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>Bt(e.isLarge)} `,Ft=d().div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>Bt(e.isLarge,!1)} `,$t=d()(Ft)` ${e=>e.isLarge&&`height: ${ht.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. color: #006DAC; // We're not using standard colors to increase contrast for accessibility. background-color: #f1f1f1; text-decoration: underline; font-size: 14px; cursor: pointer; `;class qt extends de().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await vt(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,u.jsx)($t,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,s.__)("Select image","wordpress-seo")}):(0,u.jsx)(Ot,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,children:(0,u.jsx)(xt,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:ht.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode})})}}qt.propTypes={isLarge:a().bool.isRequired,src:a().string,alt:a().string,onImageClick:a().func,onMouseEnter:a().func,onMouseLeave:a().func},qt.defaultProps={src:"",alt:"",onMouseEnter:i.noop,onImageClick:i.noop,onMouseLeave:i.noop};const Ut=d().div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,Wt=e=>(0,u.jsx)(Ut,{children:e.children});Wt.propTypes={children:a().array.isRequired};const Ht=Wt,zt=d().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,Dt=d().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${ht.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } `,Kt=d().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,Gt=d()(Kt)` flex-direction: column; max-height: 370px; `,Yt=d()(Kt)` flex-direction: row; height: 125px; `;class Vt extends ce.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:s,imageFallbackUrl:t,alt:r,title:o,description:i,siteUrl:n}=this.props,a=e?Gt:Yt;return(0,u.jsxs)(a,{id:"twitterPreview",children:[(0,u.jsx)(qt,{src:s||t,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,u.jsxs)(Ht,{children:[(0,u.jsx)(At,{siteUrl:n}),(0,u.jsx)(zt,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,children:o}),(0,u.jsx)(Dt,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,children:i})]})]})}}Vt.propTypes={siteUrl:a().string.isRequired,title:a().string.isRequired,description:a().string,isLarge:a().bool,imageUrl:a().string,imageFallbackUrl:a().string,alt:a().string,onSelect:a().func,onImageClick:a().func,onMouseHover:a().func},Vt.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Zt=Vt,Qt=window.yoast.replacementVariableEditor;class Jt extends ce.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?It:Zt,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,s){switch(e){case"title":this.titleEditorRef=s;break;case"description":this.descriptionEditorRef=s}}render(){const{onDescriptionChange:e,onTitleChange:s,onSelectImageClick:t,onRemoveImageClick:o,socialMediumName:i,imageWarnings:n,siteUrl:a,description:l,descriptionInputPlaceholder:c,descriptionPreviewFallback:d,imageUrl:p,imageFallbackUrl:h,alt:m,title:g,titleInputPlaceholder:y,titlePreviewFallback:x,replacementVariables:w,recommendedReplacementVariables:b,applyReplacementVariables:f,onReplacementVariableSearchChange:v,isPremium:k,isLarge:_,socialPreviewLabel:j,idSuffix:S,activeMetaTabId:C}=this.props,E=f({title:g||x,description:l||d});return(0,u.jsxs)(de().Fragment,{children:[j&&(0,u.jsx)(r.SimulatedLabel,{children:j}),(0,u.jsx)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:t,siteUrl:a,title:E.title,description:E.description,imageUrl:p,imageFallbackUrl:h,alt:m,isLarge:_,activeMetaTabId:C}),(0,u.jsx)(ht.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:i,title:g,titleInputPlaceholder:y,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,imageFallbackUrl:h,onTitleChange:s,onSelectImageClick:t,description:l,descriptionInputPlaceholder:c,imageWarnings:n,replacementVariables:w,recommendedReplacementVariables:b,onReplacementVariableSearchChange:v,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:S})]})}}Jt.propTypes={title:a().string.isRequired,onTitleChange:a().func.isRequired,description:a().string.isRequired,onDescriptionChange:a().func.isRequired,imageUrl:a().string.isRequired,imageFallbackUrl:a().string.isRequired,onSelectImageClick:a().func.isRequired,onRemoveImageClick:a().func.isRequired,socialMediumName:a().string.isRequired,alt:a().string,isPremium:a().bool,imageWarnings:a().array,isLarge:a().bool,siteUrl:a().string,descriptionInputPlaceholder:a().string,titleInputPlaceholder:a().string,descriptionPreviewFallback:a().string,titlePreviewFallback:a().string,replacementVariables:Qt.replacementVariablesShape,recommendedReplacementVariables:Qt.recommendedReplacementVariablesShape,applyReplacementVariables:a().func,onReplacementVariableSearchChange:a().func,socialPreviewLabel:a().string,idSuffix:a().string,activeMetaTabId:a().string},Jt.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Xt={},er=(e,s,{log:t=console.warn}={})=>{Xt[e]||(Xt[e]=!0,t(s))},sr=(e,s=i.noop)=>{const t={};for(const r in e)Object.hasOwn(e,r)&&Object.defineProperty(t,r,{set:t=>{e[r]=t,s("set",r,t)},get:()=>(s("get",r),e[r])});return t};sr({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,s)=>er(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${s}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${s}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),sr({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,s)=>er(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${s}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${s}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const tr=({title:e,description:s})=>{const t=(0,k.useSelect)((e=>e(Te).getSiteUrl()),[]),r=(0,k.useSelect)((e=>e(Te).getFacebookImageUrl()),[]),o=(0,k.useSelect)((e=>e(Te).getEditorDataImageFallback()),[]),n=(0,k.useSelect)((e=>e(Te).getFacebookAltText()),[]);return(0,u.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,u.jsx)(It,{title:e,description:s,siteUrl:t,imageUrl:r,imageFallbackUrl:o,alt:n,onSelect:i.noop,onImageClick:i.noop,onMouseHover:i.noop})})};tr.propTypes={title:a().string.isRequired,description:a().string.isRequired};const rr=()=>(0,u.jsxs)("div",{className:"yst-flex yst-flex-col yst-w-[527px] yst-border yst-mx-auto",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-[273px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,u.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),or=({children:e,onRetry:t})=>{const{onClose:r}=(0,E.useModalContext)();return(0,u.jsxs)(l.Fragment,{children:[e,(0,u.jsxs)("div",{className:"yst-mt-6 yst-mb-1 yst-flex yst-space-x-3 rtl:yst-space-x-reverse yst-place-content-end",children:[(0,u.jsx)(E.Button,{variant:"secondary",onClick:r,children:(0,s.__)("Close","wordpress-seo")}),(0,u.jsx)(E.Button,{variant:"primary",onClick:t,children:(0,s.__)("Try again","wordpress-seo")})]})]})};or.propTypes={children:a().node.isRequired,onRetry:a().func.isRequired};const ir=({errorCode:e,errorIdentifier:s,invalidSubscriptions:t=[],showActions:r=!1,onRetry:o=i.noop,errorMessage:n=""})=>{switch(e){case 400:switch(s){case"AI_CONTENT_FILTER":return(0,u.jsx)(Ds,{});case"NOT_ENOUGH_CONTENT":return(0,u.jsx)(qs,{});case"SITE_UNREACHABLE":return(0,u.jsx)(Ys,{});case"WP_HTTP_REQUEST_ERROR":return r?(0,u.jsx)(or,{onRetry:o,children:(0,u.jsx)(Ks,{errorMessage:n})}):(0,u.jsx)(Ks,{errorMessage:n});default:return r?(0,u.jsx)(or,{onRetry:o,children:(0,u.jsx)($s,{})}):(0,u.jsx)($s,{})}case 402:return(0,u.jsx)(Hs,{invalidSubscriptions:t});case 408:return r?(0,u.jsx)(or,{onRetry:o,children:(0,u.jsx)(zs,{})}):(0,u.jsx)(zs,{});case 429:return"USAGE_LIMIT_REACHED"===s?(0,u.jsx)(Hs,{invalidSubscriptions:t}):(0,u.jsx)(Ws,{});case 410:return(0,u.jsx)(Gs,{});default:return r?(0,u.jsx)(or,{onRetry:o,children:(0,u.jsx)($s,{})}):(0,u.jsx)($s,{})}};ir.propTypes={errorCode:a().number.isRequired,errorIdentifier:a().string.isRequired,invalidSubscriptions:a().array,showActions:a().bool,onRetry:a().func,errorMessage:a().string};const nr=a().shape({value:a().string.isRequired,label:a().node.isRequired}),ar=({id:e,name:s,suggestion:t,isChecked:r,onChange:o})=>{const i=(0,l.useCallback)((()=>o(t.value)),[t,o]);return(0,u.jsxs)("label",{htmlFor:e,className:ke()("yst-flex yst-p-4 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",r&&"yst-z-10 yst-border-primary-500"),children:[(0,u.jsx)("input",{type:"radio",id:e,name:s,className:"yst-radio__input",value:t.value,checked:r,onChange:i}),(0,u.jsx)("div",{className:ke()("yst-label yst-radio__label yst-flex yst-flex-wrap yst-items-center",!r&&"yst-text-slate-600"),children:t.label})]})};ar.propTypes={id:a().string.isRequired,name:a().string.isRequired,suggestion:nr.isRequired,isChecked:a().bool.isRequired,onChange:a().func.isRequired};const lr=({idSuffix:e,suggestions:s,selected:t,onChange:r})=>(0,u.jsx)("div",{children:(0,u.jsx)(E.RadioGroup,{className:"yst-suggestions-radio-group yst-flex yst-flex-col",id:`yst-ai-suggestions-radio-group__${e}`,children:s.map(((s,o)=>(0,u.jsx)(ar,{id:`yst-ai-suggestions-radio-${e}__${o}`,name:`ai-suggestion__${e}`,isChecked:s.value===t,onChange:r,suggestion:s},`yst-ai-suggestions-radio-${e}__${o}`)))})});lr.propTypes={idSuffix:a().string.isRequired,suggestions:a().arrayOf(nr).isRequired,selected:a().string.isRequired,onChange:a().func.isRequired};const cr=[["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-9/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-7/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-10/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-11/12"],["yst-h-3 yst-w-full","yst-mt-2.5 yst-h-3 yst-w-8/12"]],dr=({suggestionClassNames:e=cr})=>(0,u.jsx)("div",{className:"yst-flex yst-flex-col yst--space-y-[1px]",children:e.map(((e,s)=>(0,u.jsxs)("div",{className:"yst-flex yst-p-4 yst-gap-x-3 yst-items-center yst-border first:yst-rounded-t-md last:yst-rounded-b-md",children:[(0,u.jsx)("input",{type:"radio",disabled:!0,className:"yst-my-0.5"}),(0,u.jsx)("div",{className:"yst-flex yst-flex-col yst-w-full",children:e.map(((e,t)=>(0,u.jsx)(E.SkeletonLoader,{className:e},`yst-ai-suggestion-radio-skeleton-${s}__${t}`)))})]},`yst-ai-suggestion-radio-skeleton__${s}`)))});dr.propTypes={suggestionClassNames:a().arrayOf(a().arrayOf(a().string))};const ur="ai_generator_tip_notification",pr=()=>{const e=(0,k.useSelect)((e=>e(Te).isAlertDismissed(ur)),[]),t=(0,k.useSelect)((e=>e(Te).getEditorDataContent()),[]),r=(0,k.useSelect)((e=>e(Te).getIsWooProductEntity()),[]),[o,,,i]=(0,E.useToggleState)(!1),{editType:n,contentType:a}=rs(),{dismissAlert:c}=(0,k.useDispatch)(Te),d=(0,l.useCallback)((()=>{c(ur)}),[c]),p=(0,l.useMemo)((()=>n===Fe?(0,s.__)("%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.","wordpress-seo"):(0,s.__)("%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.","wordpress-seo") /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */),[n]),h=(0,l.useMemo)((()=>((e,s)=>e||s===qe?150:300)(r,a)),[a,r]);return e||o||t.length>h?null:(0,u.jsxs)(E.Notifications.Notification,{id:"ai-generator-content-tip",variant:"info",dismissScreenReaderLabel:(0,s.__)("Dismiss","wordpress-seo"),children:[he((0,s.sprintf)(p,"<span>","</span>"),{span:(0,u.jsx)("span",{className:"yst-font-medium yst-text-slate-800"})}),(0,u.jsxs)("div",{className:"yst-flex yst-mt-3 yst--ms-3 yst-gap-1",children:[(0,u.jsx)(E.Button,{type:"button",variant:"tertiary",onClick:d,children:(0,s.__)("Don’t show again","wordpress-seo")}),(0,u.jsx)(E.Button,{type:"button",variant:"tertiary",className:"yst-text-slate-800",onClick:i,children:(0,s.__)("Dismiss","wordpress-seo")})]})]})},hr=({title:e,description:t,showPreviewSkeleton:r})=>(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{className:"yst-flex yst-mb-6",children:(0,u.jsx)(E.Label,{as:"span",className:"yst-flex-grow yst-cursor-default",children:(0,s.__)("X preview","wordpress-seo")})}),r?(0,u.jsx)(gr,{}):(0,u.jsx)(mr,{title:e,description:t})]});hr.propTypes={title:a().string.isRequired,description:a().string.isRequired,showPreviewSkeleton:a().bool.isRequired};const mr=({title:e,description:s})=>{const t=(0,k.useSelect)((e=>e(Te).getSiteUrl()),[]),r=(0,k.useSelect)((e=>e(Te).getTwitterImageUrl()),[]),o=(0,k.useSelect)((e=>e(Te).getFacebookImageUrl()),[]),n=(0,k.useSelect)((e=>e(Te).getEditorDataImageFallback()),[]),a=(0,k.useSelect)((e=>e(Te).getTwitterImageType()),[]),l=(0,k.useSelect)((e=>e(Te).getTwitterAltText()),[]);return(0,u.jsx)("div",{className:"yst-ai-generator-preview-section",children:(0,u.jsx)(Zt,{title:e,description:s,siteUrl:t,imageUrl:r,imageFallbackUrl:o||n,isLarge:"summary"!==a,alt:l,onSelect:i.noop,onImageClick:i.noop,onMouseHover:i.noop})})};mr.propTypes={title:a().string.isRequired,description:a().string.isRequired};const gr=()=>(0,u.jsxs)("div",{className:"yst-flex yst-flex-col yst-max-h-[370px] yst-w-[507px] yst-border yst-rounded-t-[14px] yst-overflow-hidden yst-mx-auto",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-[265px] yst-w-full yst-rounded-none yst-border yst-border-dashed"}),(0,u.jsxs)("div",{className:"yst-w-full yst-p-4 yst-space-y-1",children:[(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-1/3"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-5 yst-w-10/12"}),(0,u.jsx)(E.SkeletonLoader,{className:"yst-h-3 yst-w-full"})]})]}),yr="yst-mt-1 yst-mb-3",xr="yst-flex yst-justify-end yst--me-8 yst-gap-3 yst--ms-2",wr=({onClose:e})=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("p",{className:yr,children:(0,s.__)("As long as this is a beta feature, you get unlimited sparks.","wordpress-seo")}),(0,u.jsx)("div",{className:xr,children:(0,u.jsx)(E.Button,{type:"button",variant:"primary",size:"small",onClick:e,children:(0,s.__)("Got it!","wordpress-seo")})})]}),br=({onClose:e,upsellLink:t,isWooProductEntity:r=!1,ctbId:o="f6a84663-465f-4cb5-8ba5-f7a6d72224b2"})=>{const i=(0,E.useSvgAria)();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("p",{className:yr,children:(0,s.sprintf)(/* translators: %s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,s.__)("Keep the momentum going, unlock unlimited sparks with %s!","wordpress-seo"),r?"Yoast WooCommerce SEO":"Yoast SEO Premium")}),(0,u.jsxs)("div",{className:xr,children:[(0,u.jsx)(E.Button,{type:"button",variant:"tertiary",size:"small",onClick:e,children:(0,s.__)("Close","wordpress-seo")}),(0,u.jsxs)(E.Button,{as:"a",size:"small",variant:"upsell",href:t,target:"_blank",rel:"noopener noreferrer","data-action":"load-nfd-ctb","data-ctb-id":o,children:[(0,u.jsx)(we,{className:"yst-w-4 yst-h-4 yst--ms-1 yst-me-2 yst-shrink-0",...i}),(0,s.sprintf)(/* translators: %1$s expands to Yoast SEO Premium or Yoast WooCommerce SEO. */ (0,s.__)("Unlock with %1$s","wordpress-seo"),r?"Yoast WooCommerce SEO":"Yoast SEO Premium"),(0,u.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,s.__)("(Opens in a new browser tab)","wordpress-seo")})]})]})]})},fr=({className:e=""})=>{const{isUsageCountLimitReached:t,usageCount:r,usageCountLimit:o,premiumUpsellLink:i,wooUpsellLink:n,isWooProductEntity:a,hasValidPremiumSubscription:c,hasValidWooSubscription:d}=(0,k.useSelect)((e=>{const s=e(Ie),t=e(Te);return{isUsageCountLimitReached:s.isUsageCountLimitReached(),usageCount:s.selectUsageCount(),usageCountLimit:s.selectUsageCountLimit(),premiumUpsellLink:t.selectLink("https://yoa.st/ai-toast-out-of-free-sparks"),wooUpsellLink:t.selectLink("https://yoa.st/ai-toast-out-of-free-sparks-woo"),isWooProductEntity:t.getIsWooProductEntity(),hasValidPremiumSubscription:s.selectPremiumSubscription(),hasValidWooSubscription:s.selectWooCommerceSubscription()}}),[]),p=(0,l.useMemo)((()=>c&&!a||a&&d&&c),[c,a,d]),[h,,m,,g]=(0,E.useToggleState)(r===o);(0,l.useEffect)((()=>{m(p&&r===o||!p&&t)}),[r,o,p,t]);const y=(0,l.useMemo)((()=>a?n:i),[a,n,i]),x=(0,l.useMemo)((()=>a&&!d),[a,d]);return h&&(0,u.jsx)(E.Notifications.Notification,{id:"ai-sparks-limit",className:e,variant:"info",dismissScreenReaderLabel:(0,s.__)("Close","wordpress-seo"),title:p?(0,s.sprintf)(/* translators: %s is the number of the sparks. */ (0,s._n)("You've used %s spark this month.","You've used %s sparks this month.",o,"wordpress-seo"),o):(0,s.__)("You're out of free sparks!","wordpress-seo"),size:p?"default":"large",children:p?(0,u.jsx)(wr,{onClose:g}):(0,u.jsx)(br,{onClose:g,upsellLink:y,isWooUpsell:x})})},vr=()=>{const{previewType:e}=rs();switch(e){case Ae:return ct;case Be:return hr;default:return ot}},kr=()=>{const{editType:e}=rs();switch(e){case Oe:return(()=>{const{previewType:e}=rs(),{updateData:s,setFacebookPreviewTitle:t,setTwitterPreviewTitle:r}=(0,k.useDispatch)(Te);return(0,l.useMemo)((()=>{switch(e){case Pe:return e=>s({title:e});case Ae:return t;case Be:return r;default:return i.noop}}),[e,s,t,r])})();case Fe:return(()=>{const{previewType:e}=rs(),{updateData:s,setFacebookPreviewDescription:t,setTwitterPreviewDescription:r}=(0,k.useDispatch)(Te);return(0,l.useMemo)((()=>{switch(e){case Pe:return e=>s({description:e});case Ae:return t;case Be:return r;default:return i.noop}}),[e,s,t,r])})();default:return i.noop}},_r=(0,ds.createSlice)({name:"suggestions",initialState:{status:He.loading,error:{code:200,message:""},entities:[],selected:""},reducers:{setLoading:e=>{e.status=He.loading},setSuccess:(e,{payload:s})=>{e.status=He.success,e.selected=s[0],e.entities.push(...s)},setError:(e,{payload:s})=>{e.status=He.error,e.error=s},setSelected:(e,{payload:s})=>{e.selected=s}}}),jr=e=>{switch(e){case Ae:return"Facebook";case Be:return"Twitter";default:return"Google"}},Sr=()=>{const[e,s]=(0,l.useReducer)(_r.reducer,_r.getInitialState()),{editType:t,previewType:r,postType:o,contentType:n}=rs(),a=(0,k.useSelect)((e=>e(Ie).selectPromptContent()),[]),{contentLocale:c,focusKeyphrase:d,isWooCommerceActive:u,isGutenberg:p,isElementor:h}=(0,k.useSelect)((e=>({contentLocale:e(Te).getContentLocale(),focusKeyphrase:e(Te).getFocusKeyphrase(),isWooCommerceActive:e(Te).getIsWooCommerceActive(),isGutenberg:e(Te).getIsBlockEditor(),isElementor:e(Te).getIsElementorEditor()})),[]);let m,g=ee.languageProcessing.helpers.processExactMatchRequest(d).keyphrase;g.length>191&&(g=g.slice(0,191)),m=h?"elementor":p?"gutenberg":"classic";const y=((e,s,t,r)=>{const o=e===Fe?"meta-description":"seo-title";let i=((e,s)=>{if(e)switch(s){case"product":return"product-";case"product_cat":case"product_tag":return"product-taxonomy-"}return""})(s,t);return i&&s||r!==qe||(i="taxonomy-"),`${i}${o}`})(t,u,o,n);return{suggestions:e,fetchSuggestions:(0,l.useCallback)((async(e=!0)=>{s(_r.actions.setLoading());const{status:t,payload:o}=await(async({endpoint:e,data:s})=>{let t;const r=1e3*(0,i.get)(window,"wpseoAiGenerator.requestTimeout",30);try{Ye&&Ye.abort(),Ye=new AbortController,Ve=!1,t=setTimeout((()=>{Ve=!0,Ye.abort()}),r);const o=await C()({path:e,method:"POST",data:s,parse:!1,signal:Ye.signal}),i=await o.json();return{status:ze,payload:i}}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return Ve?{status:De,payload:{message:"timeout",code:408}}:{status:Ke};const{message:s,missingLicenses:t,errorIdentifier:r}=await(async e=>{try{const s=e.body.getReader(),{value:t}=await s.read(),r=new TextDecoder("utf-8").decode(t);return console.error(r),JSON.parse(r)}catch(e){return{message:"Unknown"}}})(e);return{status:De,payload:{message:s,code:e.status||500,missingLicenses:t,errorIdentifier:r}}}finally{clearTimeout(t)}})({endpoint:"yoast/v1/ai_generator/get_suggestions/",canAbort:e,data:{type:y,prompt_content:a,focus_keyphrase:g,platform:jr(r),language:Qe(c).replace("_","-"),editor:m}});switch(t){case Ke:break;case De:s(_r.actions.setError(o));break;case ze:s(_r.actions.setSuccess(o))}return t}),[s]),setSelectedSuggestion:(0,l.useCallback)((e=>s(_r.actions.setSelected(e))),[s])}},Cr=({editType:e,title:s,description:t})=>{const r=(0,k.useSelect)((e=>e(Te).getDateFromSettings()),[]),o=(0,k.useSelect)((e=>e(Te).getContentLocale()),[]),i=(0,k.useSelect)((e=>e(Te).isCornerstoneContent()),[]),n=(0,k.useSelect)((e=>e(Te).getIsTerm()),[]);return(0,l.useMemo)((()=>e===Fe?(0,rt.getDescriptionProgress)(t,r,i,n,o):(0,rt.getTitleProgress)(s)),[e,s,t,r,i,n,o])},Er=()=>{const{editType:e,previewType:s,contentType:t}=rs(),r=(()=>{const{previewType:e}=rs();return(0,l.useMemo)((()=>{switch(e){case Pe:return()=>(0,k.select)(Te).getSnippetEditorData().title;case Ae:return(0,k.select)(Te).getFacebookTitleOrFallback;case Be:return(0,k.select)(Te).getTwitterTitleOrFallback;default:return(0,i.constant)("")}}),[e])})(),o=(0,k.useSelect)((t=>t(Ie).selectAppliedSuggestionFor({editType:e,previewType:s})),[e,s]);return(0,l.useMemo)((()=>{let s=r();return e===Fe?s:(o&&(s=s.replace(o,We[t])),((e,s)=>e.includes(We[s])?e:We[s])(s,t))}),[e,r])},Rr=e=>{const{isWooProductEntity:t,isProductPost:r,hasValidWooSubscription:o}=(0,k.useSelect)((e=>{const s=e(Te),t=e(Ie);return{isWooProductEntity:s.getIsWooProductEntity(),isProductPost:s.getIsProduct(),hasValidWooSubscription:t.selectWooCommerceSubscription()}}),[]);return(0,l.useMemo)((()=>{const i={upsellLink:e.premium,upsellLabel:(0,s.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,s.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),newToText:"Yoast SEO Premium",ctbId:"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",title:(0,s.__)("Use AI to generate your titles & descriptions!","wordpress-seo")};return t&&(r&&(i.title=(0,s.__)("Generate product titles & descriptions with AI!","wordpress-seo")),o||(i.newToText="Yoast WooCommerce SEO",i.upsellLabel=(0,s.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ (0,s.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),i.upsellLink=e.woo,i.ctbId="5b32250e-e6f0-44ae-ad74-3cefc8e427f9")),i}),[t,r,e.premium,e.woo])},Lr=()=>{const{premiumUpsellLink:e,wooUpsellLink:s,learnMoreLink:t,imageLink:r,wistiaEmbedPermissionValue:o,wistiaEmbedPermissionStatus:i}=(0,k.useSelect)((e=>{const s=e(Te);return{premiumUpsellLink:s.selectLink("https://yoa.st/ai-fix-assessments-upsell"),wooUpsellLink:s.selectLink("https://yoa.st/ai-fix-assessments-upsell-woo-seo"),learnMoreLink:s.selectLink("https://yoa.st/ai-fix-assessments-upsell-learn-more"),imageLink:s.selectImageLink("ai-fix-assessments-thumbnail.png"),wistiaEmbedPermissionValue:s.selectWistiaEmbedPermissionValue(),wistiaEmbedPermissionStatus:s.selectWistiaEmbedPermissionStatus()}}),[]),n=Rr({premium:e,woo:s}),a=(0,l.useMemo)((()=>({src:r,width:"432",height:"244"})),[r]),{setWistiaEmbedPermission:c}=(0,k.useDispatch)(Te),d=(0,l.useMemo)((()=>({value:o,status:i,set:c})),[o,i,c]);return(0,u.jsx)(ws,{learnMoreLink:t,thumbnail:a,wistiaEmbedPermission:d,...n})},Nr=e=>{let s=[...e];return e.forEach((e=>{e.innerBlocks&&e.innerBlocks.length>0&&(s=[...s,...Nr(e.innerBlocks)])})),s};i.noop,i.noop,i.noop,window.yoast.externals.redux;const Mr=({id:e,isPremium:t=!1})=>{const r=Me(),o=(0,l.useRef)(),n=e+"AIFixes",[a,,,c,d]=(0,E.useToggleState)(!1),{activeMarker:p,activeAIButtonId:h,editorType:m,isWooSeoUpsellPost:g,keyphrase:y,focusAIButtonId:x}=(0,k.useSelect)((e=>({activeMarker:e("yoast-seo/editor").getActiveMarker(),activeAIButtonId:e("yoast-seo/editor").getActiveAIFixesButton(),focusAIButtonId:e("yoast-seo/editor").getFocusAIFixesButtonId(),editorType:e("yoast-seo/editor").getEditorType(),isWooSeoUpsellPost:e("yoast-seo/editor").getIsWooSeoUpsell(),keyphrase:e("yoast-seo/editor").getFocusKeyphrase()})),[]),w=(()=>{const e=(0,k.useSelect)((e=>e("yoast-seo/editor").getEditorType()),[]);return"blockEditor"===e?(0,k.useSelect)((e=>e("core/edit-post").getEditorMode()),[]):"classicEditor"===e?function(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}()?"text":"visual":""})(),b=!t||g,{setActiveAIFixesButton:f,setActiveMarker:v,setMarkerPauseStatus:_,setMarkerStatus:j,setFocusAIFixesButtonId:S}=(0,k.useDispatch)("yoast-seo/editor"),C=(0,l.useRef)(null),[R,,,L,N]=(0,E.useToggleState)(!1),M=(0,s.__)("Optimize with AI","wordpress-seo"),I=(0,s.__)("Please switch to the visual editor to optimize with AI.","wordpress-seo"),T=h===n,{isEnabled:P,ariaLabel:A}=(0,k.useSelect)((t=>{if(b){if("blockEditor"===m){const e=Nr(t("core/editor").getEditorBlocks()),s="visual"===w&&e.every((e=>"visual"===t("core/block-editor").getBlockMode(e.clientId)));return{isEnabled:s,ariaLabel:s?M:I}}return{isEnabled:"visual"===w,ariaLabel:"visual"===w?M:I}}if("visual"!==w)return{isEnabled:!1,ariaLabel:I};if("blockEditor"===m&&!Nr(t("core/editor").getEditorBlocks()).every((e=>"visual"===t("core/block-editor").getBlockMode(e.clientId))))return{isEnabled:!1,ariaLabel:I};if(["introductionKeyword","keyphraseDensity","keyphraseDistribution"].includes(e)){const e=!!y&&y.trim().length>0,t=(0,i.get)(window,"YoastSEO.analysis.collectData",!1),r=t?t():{},o=((null==r?void 0:r._text)||"").trim().length>0;if(!e||!o)return{isEnabled:!1,ariaLabel:(0,s.__)("Please add both a keyphrase and some text to your content.","wordpress-seo")}}const r=t("yoast-seo/editor").getDisabledAIFixesButtons();if(Object.keys(r).includes(n))return{isEnabled:!1,ariaLabel:r[n]};const o=t("yoast-seo/editor").getActiveAIFixesButton();return o&&o!==n?{isEnabled:!1,ariaLabel:(0,s.__)("Please apply or discard the current AI suggestion.","wordpress-seo")}:{isEnabled:!0,ariaLabel:M}}),[T,h,w,e,y]),B=()=>{p&&(v(null),_(!1),window.YoastSEO.analysis.applyMarks(new ee.Paper("",{}),[])),S(`${n}-${r}`),n===h?(f(null),j("enabled")):(f(n),j("disabled")),N()},O=(0,l.useCallback)((()=>{b?c():(B(),(0,pe.doAction)("yoast.ai.fixAssessments",n))}),[b,n,B,c]),F=(0,l.useCallback)((()=>{S(null)}),[S]);return(0,l.useLayoutEffect)((()=>{o.current&&x===`${n}-${r}`&&n!==h&&o.current.focus()}),[x,h,n,r]),(0,u.jsxs)(E.Root,{children:[(0,u.jsxs)("div",{className:"yst-relative yst-inline-flex",children:[(0,u.jsx)(E.Button,{onClick:O,id:`${n}-${r}`,"data-id":n,disabled:!P,ref:o,onBlur:F,onPointerEnter:L,onPointerLeave:N,variant:T?"ai-primary":"ai-secondary",size:"small","aria-label":A,className:"yst-px-2",children:b&&(0,u.jsx)(ue,{className:"yst-fixes-button__lock-icon yst-text-amber-900"})}),R&&!T&&(0,u.jsx)(E.Tooltip,{position:P?"left":"top-left",className:"yst-max-w-[13.5rem] yst-text-center yst-py-1.5",children:A})]}),(0,u.jsx)(E.Modal,{className:"yst-introduction-modal",isOpen:a,onClose:d,initialFocus:C,children:(0,u.jsx)(E.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl yst-introduction-modal-panel",children:(0,u.jsx)(Lr,{onClose:d,focusElementRef:C})})})]})};Mr.propTypes={id:a().string.isRequired,isPremium:a().bool};const Ir=Mr,Tr=(e,s,t)=>{const r=document.body.classList.contains("elementor-editor-active");return e&&!s&&!r&&!t},Pr=d().span` font-size: 1em; font-weight: bold; margin: 0 0 8px; display: block; `,Ar=d().div` padding: 16px; `,Br=d()(T)` margin: -8px 0 -4px 4px; `;class Or extends l.Component{constructor(...e){super(...e),X(this,"renderAIOptimizeButton",((e,s)=>{const{isElementor:t,isAiFeatureEnabled:r,isTerm:o}=this.props,i=Ne().isPremium;if(!i||r)return Tr(e,t,o)&&(0,u.jsx)(Ir,{id:s,isPremium:i})}))}renderResults(e){return(0,u.jsxs)(l.Fragment,{children:[(0,u.jsxs)(Pr,{children:[(0,s.__)("Analysis results","wordpress-seo"),(0,u.jsx)(Br,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons",children:(0,u.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ (0,s.__)("Learn more about the readability analysis","wordpress-seo")})})]}),(0,u.jsx)(Ee,{results:this.props.results,upsellResults:e,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_readability_analysis",shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderAIOptimizeButton:this.renderAIOptimizeButton})]})}getUpsellResults(e,t){let r=wpseoAdminL10n["shortlinks.upsell.metabox.word_complexity"];return"sidebar"===e&&(r=wpseoAdminL10n["shortlinks.upsell.sidebar.word_complexity"]),r=(0,j.addQueryArgs)(r,{context:t}),function(){const e=ee.helpers.getLanguagesWithWordComplexity(),s=window.wpseoScriptData.metabox.contentLocale,t=ee.languageProcessing.getLanguage(s);return e.includes(t)}()?[{score:0,rating:"upsell",hasMarks:!1,id:"wordComplexity",text:(0,s.sprintf)( /* Translators: %1$s is a span tag that adds styling to 'Word complexity', %2$s is a closing span tag. %3$s is an anchor tag with a link to yoast.com, %4$s is a closing anchor tag.*/ (0,s.__)("%1$sWord complexity%2$s: Is your vocabulary suited for a larger audience? %3$sYoast SEO Premium will tell you!%4$s","wordpress-seo"),"<span style='text-decoration: underline'>","</span>",`<a href="${r}" data-action="load-nfd-ctb" data-ctb-id="f6a84663-465f-4cb5-8ba5-f7a6d72224b2" target="_blank">`,"</a>"),markerId:"wordComplexity"}]:[]}render(){const e=Re(this.props.overallScore);return(0,i.isNil)(this.props.overallScore)&&(e.className="loading"),(0,u.jsx)(_.LocationConsumer,{children:t=>(0,u.jsx)(_.RootContext.Consumer,{children:({locationContext:r})=>{let o=[];return this.props.shouldUpsell&&(o=this.getUpsellResults(t,r)),"sidebar"===t?(0,u.jsx)(w,{title:(0,s.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:re(e.className),prefixIconCollapsed:re(e.className),id:`yoast-readability-analysis-collapsible-${t}`,children:this.renderResults(o)}):"metabox"===t?(0,u.jsx)(Le,{target:"wpseo-metabox-readability-root",children:(0,u.jsxs)(Ar,{children:[(0,u.jsx)(ae,{target:"wpseo-readability-score-icon",scoreIndicator:e.className}),this.renderResults(o)]})}):void 0}})})}}Or.propTypes={results:a().array.isRequired,marksButtonStatus:a().string.isRequired,overallScore:a().number,shouldUpsell:a().bool,shouldUpsellHighlighting:a().bool,isAiFeatureEnabled:a().bool,isElementor:a().bool,isTerm:a().bool},Or.defaultProps={overallScore:null,shouldUpsell:!1,shouldUpsellHighlighting:!1,isAiFeatureEnabled:!1,isElementor:!1,isTerm:!1};const Fr=(0,k.withSelect)((e=>{const{getReadabilityResults:s,getMarkButtonStatus:t,getIsElementorEditor:r,getIsAiFeatureEnabled:o,getIsTerm:i}=e("yoast-seo/editor");return{...s(),marksButtonStatus:t(),isElementor:r(),isAiFeatureEnabled:o(),isTerm:i()}}))(Or);function $r({location:s}){return(0,u.jsx)(e.Slot,{name:`yoast-synonyms-${s}`})}$r.propTypes={location:a().string.isRequired};const qr=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Ur=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"}))})),Wr=ce.forwardRef((function(e,s){return ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2"}))})),Hr="yoast-seo/editor",zr=({location:e})=>{const t=(0,E.useSvgAria)(),r=[{icon:qr,text:(0,s.__)("Image alt attributes","wordpress-seo")},{icon:Ur,text:(0,s.__)("Product identifiers","wordpress-seo")},{icon:Wr,text:(0,s.__)("SKUs","wordpress-seo")}],{metaboxUrl:o,sidebarUrl:i,elementorUrl:n,isElementorEditor:a,isWooSEOActive:l}=(0,k.useSelect)((e=>{const{selectLink:s}=e(Hr);return{metaboxUrl:s("https://yoa.st/seo-analysis-metabox-woocommerce"),sidebarUrl:s("https://yoa.st/seo-analysis-sidebar-woocommerce"),elementorUrl:s("https://yoa.st/seo-analysis-woocommerce-elementor"),isElementorEditor:e(Hr).getIsElementorEditor(),isWooSEOActive:e(Hr).getIsWooSeoActive()}}),[]),c={metabox:o,sidebar:i,elementor:n},d=Kr(e,a);return(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)("div",{id:`woo-seo-analysis-upsell-ad-${d}`,className:"yst-border yst-border-woo-light yst-rounded-lg yst-shadow-md yst-p-4 yst-mt-2 yst-border-opacity-30",children:[(0,u.jsxs)(E.Title,{as:"h3",variant:"h3",className:"yst-text-woo-light yst-text-base yst-font-medium yst-mb-2 yst-flex yst-gap-2 yst-capitalize",children:[(0,s.__)("Premium SEO Analysis","wordpress-seo"),(0,u.jsx)(be,{className:"yst-w-5 yst-scale-x-[-1]",...t})]}),(0,u.jsx)("p",{children:(0,s.__)("Benefit from all premium SEO analyses, plus product-specific checks like:","wordpress-seo")}),(0,u.jsx)("div",{className:"yst-pt-2 yst-mb-1",children:(0,u.jsx)("ul",{className:"yst-font-semibold",children:r.map((e=>(0,u.jsxs)("li",{className:"yst-flex yst-items-center yst-gap-2 yst-mb-1",children:[(0,u.jsx)(e.icon,{className:"yst-w-4 yst-text-slate-400"}),e.text]},e.text)))})}),(0,u.jsxs)(E.Button,{variant:"upsell",as:"a",href:c[d],target:"_blank",rel:"noopener noreferrer",className:"yst-mt-2","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:[(0,u.jsx)(we,{className:"yst-w-4 yst-me-1.5",...t}),l?(0,s.__)("Unlock with Premium","wordpress-seo"):(0,s.sprintf)(/* translators: WooCommerce SEO */ (0,s.__)("Get %s","wordpress-seo"),"WooCommerce SEO")]})]})})},Dr="yoast-seo/editor",Kr=(e,s)=>s?"elementor":e,Gr=({location:e})=>{const{metaboxUrl:t,sidebarUrl:r,elementorUrl:o,isElementorEditor:i,isWooCommerceActive:n,isProductEntity:a}=(0,k.useSelect)((e=>{const{selectLink:s}=e(Dr);return{metaboxUrl:s("https://yoa.st/premium-seo-analysis-metabox"),sidebarUrl:s("https://yoa.st/premium-seo-analysis-sidebar"),elementorUrl:s("https://yoa.st/premium-seo-analysis-elementor"),isElementorEditor:e(Dr).getIsElementorEditor(),isWooCommerceActive:e(Dr).getIsWooCommerceActive(),isProductEntity:e(Dr).getIsProductEntity()}}),[]);if(n&&a)return(0,u.jsx)(zr,{location:e});const l=(0,E.useSvgAria)(),c=Kr(e,i),d={metabox:t,sidebar:r,elementor:o};return(0,u.jsx)("div",{className:"yst-root",children:(0,u.jsxs)("div",{id:`premium-seo-analysis-upsell-ad-${c}`,className:"yst-border yst-border-primary-200 yst-rounded-lg yst-shadow-md yst-p-4 yst-mt-2",children:[(0,u.jsxs)(E.Title,{as:"h3",variant:"h3",className:"yst-text-primary-500 yst-text-base yst-font-medium yst-mb-2 yst-flex yst-gap-2 yst-capitalize",children:[(0,s.__)("Premium SEO Analysis","wordpress-seo"),(0,u.jsx)(As,{className:"yst-w-4",...l})]}),(0,u.jsx)("p",{children:(0,s.__)("Get deeper keyphrase insights and stronger headlines","wordpress-seo")}),(0,u.jsx)("div",{className:"yst-py-2 yst-ps-6",children:(0,u.jsxs)("ul",{className:"yst-list-disc yst-list-outside marker:yst-mr-0",children:[(0,u.jsx)("li",{className:"yst-mb-2 yst-list-item",children:he((0,s.sprintf)(/* translators: 1: Bold open tag, 2: Bold close tag */ (0,s.__)("%1$sSynonyms & word form recognition:%2$s Write more natural, flowing content.","wordpress-seo"),"<strong>","</strong>"),{strong:(0,u.jsx)("strong",{})})}),(0,u.jsx)("li",{className:"yst-list-item",children:he((0,s.sprintf)(/* translators: 1: Bold open tag, 2: Bold close tag */ (0,s.__)("%1$sExtra SEO assessments:%2$s See additional recommendation to improve your content.","wordpress-seo"),"<strong>","</strong>"),{strong:(0,u.jsx)("strong",{})})})]})}),(0,u.jsxs)(E.Button,{variant:"upsell",as:"a",href:d[c],target:"_blank",rel:"noopener noreferrer",className:"yst-mt-2","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",children:[(0,u.jsx)(we,{className:"yst-w-4 yst-me-1.5",...l}),(0,s.__)("Unlock with Premium","wordpress-seo")]})]})})},Yr=d().span` font-size: 1em; font-weight: bold; margin: 1.5em 0 1em; display: block; `;class Vr extends l.Component{constructor(...e){super(...e),X(this,"renderAIOptimizeButton",((e,s)=>{const{isElementor:t,isAiFeatureEnabled:r,isPremium:o,isTerm:i}=this.props;if(!o||r)return Tr(e,t,i)&&(0,u.jsx)(Ir,{id:s,isPremium:o})}))}renderTabIcon(e,s){return"metabox"!==e?null:(0,u.jsx)(ae,{target:"wpseo-seo-score-icon",scoreIndicator:s})}render(){const e=Re(this.props.overallScore),{isPremium:t}=this.props;return"loading"!==e.className&&""===this.props.keyword&&(e.className="na",e.screenReaderReadabilityText=(0,s.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),(0,u.jsx)(_.LocationConsumer,{children:r=>(0,u.jsx)(_.RootContext.Consumer,{children:()=>{const o="metabox"===r?y:w;return(0,u.jsxs)(l.Fragment,{children:[(0,u.jsxs)(o,{title:t?(0,s.__)("Premium SEO analysis","wordpress-seo"):(0,s.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:re(e.className),prefixIconCollapsed:re(e.className),subTitle:this.props.keyword,id:`yoast-seo-analysis-collapsible-${r}`,children:[(0,u.jsx)($r,{location:r}),this.props.shouldUpsell&&(0,u.jsx)(Gr,{location:r}),(0,u.jsx)(Yr,{children:(0,s.__)("Analysis results","wordpress-seo")}),(0,u.jsx)(Ee,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",editButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,location:r,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_seo_analysis",renderAIOptimizeButton:this.renderAIOptimizeButton})]}),this.renderTabIcon(r,e.className)]})}})})}}Vr.propTypes={results:a().array,marksButtonStatus:a().string,keyword:a().string,shouldUpsell:a().bool,overallScore:a().number,shouldUpsellHighlighting:a().bool,isElementor:a().bool,isAiFeatureEnabled:a().bool,isPremium:a().bool,isTerm:a().bool},Vr.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,overallScore:null,shouldUpsellHighlighting:!1,isElementor:!1,isAiFeatureEnabled:!1,isPremium:!1,isTerm:!1};const Zr=(0,k.withSelect)(((e,s)=>{const{getFocusKeyphrase:t,getMarksButtonStatus:r,getResultsForKeyword:o,getIsElementorEditor:i,getIsPremium:n,getIsAiFeatureEnabled:a,getIsTerm:l}=e("yoast-seo/editor"),c=t();return{...o(c),marksButtonStatus:s.hideMarksButtons?"disabled":r(),keyword:c,isElementor:i(),isPremium:n(),isAiFeatureEnabled:a(),isTerm:l()}}))(Vr);function Qr(){const e=Ne();return(0,i.get)(e,"